1 line
No EOL
2.6 KiB
Text
1 line
No EOL
2.6 KiB
Text
{"version":3,"file":"tile.nomodule.min.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/tile/script/tile/tile-download.js","../../../src/component/tile/script/tile/tile-selector.js","../../../src/component/tile/index.js","../../../src/component/tile/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nclass TileDownload extends api.core.Instance {\n static get instanceClassName () {\n return 'TileDownload';\n }\n\n init () {\n this.addAscent(api.core.AssessEmission.UPDATE, details => {\n this.descend(api.core.AssessEmission.UPDATE, details);\n });\n this.addAscent(api.core.AssessEmission.ADDED, () => {\n this.descend(api.core.AssessEmission.ADDED);\n });\n }\n}\n\nexport { TileDownload };\n","import api from '../../api.js';\n\nexport const TileSelector = {\n DOWNLOAD: api.internals.ns.selector('tile--download'),\n DOWNLOAD_DETAIL: `${api.internals.ns.selector('tile--download')} ${api.internals.ns.selector('tile__detail')}`\n};\n","import api from './api.js';\nimport { TileDownload } from './script/tile/tile-download.js';\nimport { TileSelector } from './script/tile/tile-selector.js';\n\napi.tile = {\n TileSelector: TileSelector,\n TileDownload: TileDownload\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.tile.TileSelector.DOWNLOAD, api.tile.TileDownload);\napi.internals.register(api.tile.TileSelector.DOWNLOAD_DETAIL, api.core.AssessDetail);\n\nexport default api;\n"],"names":["const","api","window","TileDownload","staticAccessors","instanceClassName","init","this","addAscent","core","AssessEmission","UPDATE","details","descend","ADDED","Instance","TileSelector","DOWNLOAD","internals","ns","selector","DOWNLOAD_DETAIL","tile","register","AssessDetail"],"mappings":";yBAAAA,ICCMC,EAAMC,OAAuB,KCC7BC,6LACJC,EAAWC,iCACT,MAAO,4BAGTC,2BACEC,KAAKC,UAAUP,EAAIQ,KAAKC,eAAeC,iBAAQC,GAC7CL,EAAKM,QAAQZ,EAAIQ,KAAKC,eAAeC,OAAQC,MAE/CL,KAAKC,UAAUP,EAAIQ,KAAKC,eAAeI,kBACrCP,EAAKM,QAAQZ,EAAIQ,KAAKC,eAAeI,2CAVhBb,EAAIQ,KAAKM,UCAvBC,EAAe,CAC1BC,SAAUhB,EAAIiB,UAAUC,GAAGC,SAAS,kBACpCC,gBAAoBpB,EAAIiB,UAAUC,GAAGC,SAAS,sBAAqBnB,EAAIiB,UAAUC,GAAGC,SAAS,iBCA/FnB,EAAIqB,KAAO,CACTN,aAAcA,EACdb,aAAcA,GCJhBF,EAAIiB,UAAUK,SAAStB,EAAIqB,KAAKN,aAAaC,SAAUhB,EAAIqB,KAAKnB,cAChEF,EAAIiB,UAAUK,SAAStB,EAAIqB,KAAKN,aAAaK,gBAAiBpB,EAAIQ,KAAKe"} |