1 line
2.6 KiB
Text
1 line
2.6 KiB
Text
|
{"version":3,"file":"card.nomodule.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":["const","api","window","CardDownload","staticAccessors","instanceClassName","init","this","addAscent","core","AssessEmission","UPDATE","details","descend","ADDED","Instance","CardSelector","DOWNLOAD","internals","ns","selector","DOWNLOAD_DETAIL","card","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,iBAAgBnB,EAAIiB,UAAUC,GAAGC,SAAS,iBCAzInB,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"}
|