1 line
2.6 KiB
Text
1 line
2.6 KiB
Text
|
{"version":3,"file":"card.module.min.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/card/script/card/card-download.js","../../../src/component/card/script/card/card-selector.js","../../../src/component/card/index.js","../../../src/component/card/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 CardDownload extends api.core.Instance {\n static get instanceClassName () {\n return 'CardDownload';\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 { CardDownload };\n","import api from '../../api.js';\n\nexport const CardSelector = {\n DOWNLOAD: api.internals.ns.selector('card--download'),\n DOWNLOAD_DETAIL: `${api.internals.ns.selector('card--download')} ${api.internals.ns.selector('card__end')} ${api.internals.ns.selector('card__detail')}`\n};\n","import api from './api.js';\nimport { CardDownload } from './script/card/card-download.js';\nimport { CardSelector } from './script/card/card-selector.js';\n\napi.card = {\n CardSelector: CardSelector,\n CardDownload: CardDownload\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.card.CardSelector.DOWNLOAD, api.card.CardDownload);\napi.internals.register(api.card.CardSelector.DOWNLOAD_DETAIL, api.core.AssessDetail);\n\nexport default api;\n"],"names":["api","window","CardDownload","core","Instance","instanceClassName","init","this","addAscent","AssessEmission","UPDATE","details","descend","ADDED","CardSelector","DOWNLOAD","internals","ns","selector","DOWNLOAD_DETAIL","card","register","AssessDetail"],"mappings":";AAAA,MCCMA,EAAMC,OAAuB,KCCnC,MAAMC,UAAqBF,EAAIG,KAAKC,SACvBC,+BACT,MAAO,eAGTC,OACEC,KAAKC,UAAUR,EAAIG,KAAKM,eAAeC,QAAQC,IAC7CJ,KAAKK,QAAQZ,EAAIG,KAAKM,eAAeC,OAAQC,EAAQ,IAEvDJ,KAAKC,UAAUR,EAAIG,KAAKM,eAAeI,OAAO,KAC5CN,KAAKK,QAAQZ,EAAIG,KAAKM,eAAeI,MAAM,KCV1C,MAAMC,EAAe,CAC1BC,SAAUf,EAAIgB,UAAUC,GAAGC,SAAS,kBACpCC,gBAAiB,GAAGnB,EAAIgB,UAAUC,GAAGC,SAAS,qBAAqBlB,EAAIgB,UAAUC,GAAGC,SAAS,gBAAgBlB,EAAIgB,UAAUC,GAAGC,SAAS,mBCAzIlB,EAAIoB,KAAO,CACTN,aAAcA,EACdZ,aAAcA,GCJhBF,EAAIgB,UAAUK,SAASrB,EAAIoB,KAAKN,aAAaC,SAAUf,EAAIoB,KAAKlB,cAChEF,EAAIgB,UAAUK,SAASrB,EAAIoB,KAAKN,aAAaK,gBAAiBnB,EAAIG,KAAKmB"}
|