1 line
No EOL
2.8 KiB
Text
1 line
No EOL
2.8 KiB
Text
{"version":3,"file":"transcription.nomodule.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/transcription/script/accordion/transcription-selector.js","../../../src/component/transcription/script/accordion/transcription.js","../../../src/component/transcription/index.js","../../../src/component/transcription/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\nconst TRANSCRIPTION = api.internals.ns.selector('transcription');\n\nexport const TranscriptionSelector = {\n TRANSCRIPTION: TRANSCRIPTION,\n BUTTON: `${TRANSCRIPTION}__btn`\n};\n","import api from '../../api.js';\nimport { TranscriptionSelector } from './transcription-selector';\n\nclass Transcription extends api.core.Instance {\n static get instanceClassName () {\n return 'Transcription';\n }\n\n get collapsePrimary () {\n const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(TranscriptionSelector.BUTTON));\n return buttons[0];\n }\n}\n\nexport { Transcription };\n","import api from './api.js';\nimport { Transcription } from './script/accordion/transcription';\nimport { TranscriptionSelector } from './script/accordion/transcription-selector.js';\n\napi.transcription = {\n Transcription: Transcription,\n TranscriptionSelector: TranscriptionSelector\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.transcription.TranscriptionSelector.TRANSCRIPTION, api.transcription.Transcription);\n\nexport default api;\n"],"names":["const"],"mappings":";;;;;EAAAA,IAAM,MAAM,GAAG;EACf,EAAE,MAAM,EAAE,IAAI;EACd,EAAE,SAAS,EAAE,MAAM;EACnB,EAAE,YAAY,EAAE,SAAS;EACzB,EAAE,OAAO,EAAE,QAAQ;EACnB,CAAC;;ECJDA,IAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;;ECCpCA,IAAM,aAAa,GAAG,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;AACjE;EACOA,IAAM,qBAAqB,GAAG;EACrC,EAAE,aAAa,EAAE,aAAa;EAC9B,EAAE,MAAM,GAAK,aAAa,WAAO;EACjC,CAAC;;ECJD,IAAM,aAAa;;;;;;;;;;;;IACjB,gBAAW,oCAAqB;EAClC,IAAI,OAAO,eAAe,CAAC;EAC3B,IAAG;AACH;EACA,EAAE,mBAAI,kCAAmB;EACzB,IAAIA,IAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,WAAC,gBAAS,KAAK,CAAC,WAAW,CAAC,gBAAgB,IAAC,CAAC,CAAC,MAAM,WAAC,iBAAU,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,MAAM,IAAC,CAAC,CAAC;EAC/K,IAAI,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;EACtB;;;;;;IAR4B,GAAG,CAAC,IAAI,CAAC;;ECCrC,GAAG,CAAC,aAAa,GAAG;EACpB,EAAE,aAAa,EAAE,aAAa;EAC9B,EAAE,qBAAqB,EAAE,qBAAqB;EAC9C,CAAC;;ECLD,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,qBAAqB,CAAC,aAAa,EAAE,GAAG,CAAC,aAAa,CAAC,aAAa,CAAC;;"} |