@mgdis/mg-components 6.7.0 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -78
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{index-1a5a1081.js → index-CATFkm3O.js} +244 -196
- package/dist/cjs/index-CATFkm3O.js.map +1 -0
- package/dist/cjs/{index-b7923724.js → index-CTU2m-sy.js} +87 -42
- package/dist/cjs/index-CTU2m-sy.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/index.es-jXqiN1uw.js +152 -0
- package/dist/cjs/index.es-jXqiN1uw.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{mg-action-more_36.cjs.entry.js → mg-action-more_37.cjs.entry.js} +842 -826
- package/dist/cjs/mg-action-more_37.cjs.entry.js.map +1 -0
- package/dist/cjs/mg-alert.cjs.entry.js +21 -15
- package/dist/cjs/mg-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/mg-alert.entry.cjs.js.map +1 -0
- package/dist/cjs/mg-components.cjs.js +8 -7
- package/dist/cjs/mg-components.cjs.js.map +1 -1
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +21524 -6868
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/mg-input-rich-text-editor.entry.cjs.js.map +1 -0
- package/dist/cjs/{mg-input.conf-5bbcea79.js → mg-input.conf-WTsvDfpC.js} +2 -1
- package/dist/cjs/mg-input.conf-WTsvDfpC.js.map +1 -0
- package/dist/cjs/mg-loader.cjs.entry.js +12 -10
- package/dist/cjs/mg-loader.cjs.entry.js.map +1 -1
- package/dist/cjs/mg-loader.entry.cjs.js.map +1 -0
- package/dist/cjs/mg-progress.cjs.entry.js +13 -15
- package/dist/cjs/mg-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/mg-progress.entry.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +9 -4
- package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +1 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +14 -14
- package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +21 -6
- package/dist/collection/components/atoms/mg-icon/mg-icon.js.map +1 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +17 -7
- package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +1 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +1 -2
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +12 -8
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +19 -6
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +16 -5
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +53 -21
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +64 -30
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +12 -7
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +44 -39
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +8 -3
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js +7 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +89 -53
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +28 -23
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +8 -3
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +1 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.conf.js.map +1 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +2 -2
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js.map +1 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js.map +1 -0
- package/dist/collection/components/molecules/{menu → menus}/mg-menu/mg-menu.js +9 -9
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js.map +1 -0
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.conf.js.map +1 -0
- package/dist/collection/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.js +7 -7
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js.map +1 -0
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js.map +1 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +9 -4
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +1 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +13 -3
- package/dist/collection/components/molecules/mg-alert/mg-alert.js.map +1 -1
- package/dist/collection/components/molecules/mg-details/mg-details.js +3 -2
- package/dist/collection/components/molecules/mg-details/mg-details.js.map +1 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js +8 -3
- package/dist/collection/components/molecules/mg-form/mg-form.js.map +1 -1
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +10 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js.map +1 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +4 -4
- package/dist/collection/components/molecules/mg-modal/mg-modal.js.map +1 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +17 -7
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +1 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +12 -7
- package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +1 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +2 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +1 -1
- package/dist/collection/components/molecules/mg-table/mg-table.conf.js +13 -0
- package/dist/collection/components/molecules/mg-table/mg-table.conf.js.map +1 -0
- package/dist/collection/components/molecules/mg-table/mg-table.js +364 -0
- package/dist/collection/components/molecules/mg-table/mg-table.js.map +1 -0
- package/dist/collection/locales/en/messages.json +37 -16
- package/dist/collection/locales/fr/messages.json +40 -19
- package/dist/collection/utils/playwright.fixture.js +2 -3
- package/dist/collection/utils/playwright.fixture.js.map +1 -1
- package/dist/components/floating-ui.utils.js +2 -421
- package/dist/components/floating-ui.utils.js.map +1 -1
- package/dist/components/index.es.js +68 -67
- package/dist/components/index.es.js.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index2.js +86 -41
- package/dist/components/index2.js.map +1 -1
- package/dist/components/mg-action-more.js +13 -9
- package/dist/components/mg-action-more.js.map +1 -1
- package/dist/components/mg-alert.js +16 -8
- package/dist/components/mg-alert.js.map +1 -1
- package/dist/components/mg-badge.js +1 -0
- package/dist/components/mg-badge2.js +14 -10
- package/dist/components/mg-badge2.js.map +1 -1
- package/dist/components/mg-button.js +1 -0
- package/dist/components/mg-button2.js +19 -19
- package/dist/components/mg-button2.js.map +1 -1
- package/dist/components/mg-card.js +1 -0
- package/dist/components/mg-card2.js +2 -2
- package/dist/components/mg-card2.js.map +1 -1
- package/dist/components/mg-character-left.js +1 -0
- package/dist/components/mg-character-left2.js +6 -6
- package/dist/components/mg-character-left2.js.map +1 -1
- package/dist/components/mg-details.js +7 -6
- package/dist/components/mg-details.js.map +1 -1
- package/dist/components/mg-divider.js +1 -0
- package/dist/components/mg-divider2.js +2 -2
- package/dist/components/mg-divider2.js.map +1 -1
- package/dist/components/mg-form.js +14 -10
- package/dist/components/mg-form.js.map +1 -1
- package/dist/components/mg-icon.js +1 -0
- package/dist/components/mg-icon2.js +29 -14
- package/dist/components/mg-icon2.js.map +1 -1
- package/dist/components/mg-illustrated-message.js +7 -7
- package/dist/components/mg-illustrated-message.js.map +1 -1
- package/dist/components/mg-input-checkbox-paginated.js +2 -1
- package/dist/components/mg-input-checkbox-paginated2.js +15 -3
- package/dist/components/mg-input-checkbox-paginated2.js.map +1 -1
- package/dist/components/mg-input-checkbox.js +23 -14
- package/dist/components/mg-input-checkbox.js.map +1 -1
- package/dist/components/mg-input-date.js +64 -32
- package/dist/components/mg-input-date.js.map +1 -1
- package/dist/components/mg-input-numeric.js +76 -43
- package/dist/components/mg-input-numeric.js.map +1 -1
- package/dist/components/mg-input-password.js +12 -8
- package/dist/components/mg-input-password.js.map +1 -1
- package/dist/components/mg-input-radio.js +10 -10
- package/dist/components/mg-input-radio.js.map +1 -1
- package/dist/components/mg-input-rich-text-editor.js +21525 -6867
- package/dist/components/mg-input-rich-text-editor.js.map +1 -1
- package/dist/components/mg-input-select.js +1 -0
- package/dist/components/mg-input-select2.js +15 -11
- package/dist/components/mg-input-select2.js.map +1 -1
- package/dist/components/mg-input-text.js +1 -0
- package/dist/components/mg-input-text2.js +67 -27
- package/dist/components/mg-input-text2.js.map +1 -1
- package/dist/components/mg-input-textarea.js +16 -12
- package/dist/components/mg-input-textarea.js.map +1 -1
- package/dist/components/mg-input-title.js +1 -0
- package/dist/components/mg-input-title2.js +6 -6
- package/dist/components/mg-input-title2.js.map +1 -1
- package/dist/components/mg-input-toggle.js +14 -10
- package/dist/components/mg-input-toggle.js.map +1 -1
- package/dist/components/mg-input.js +1 -0
- package/dist/components/mg-input2.js +20 -14
- package/dist/components/mg-input2.js.map +1 -1
- package/dist/components/mg-item-more.js +2 -1
- package/dist/components/mg-item-more2.js +18 -19
- package/dist/components/mg-item-more2.js.map +1 -1
- package/dist/components/mg-loader.js +10 -6
- package/dist/components/mg-loader.js.map +1 -1
- package/dist/components/mg-menu-item.js +1 -0
- package/dist/components/mg-menu-item2.js +16 -16
- package/dist/components/mg-menu-item2.js.map +1 -1
- package/dist/components/mg-menu.js +2 -1
- package/dist/components/mg-message.js +1 -0
- package/dist/components/mg-message2.js +6 -6
- package/dist/components/mg-message2.js.map +1 -1
- package/dist/components/mg-modal.js +13 -13
- package/dist/components/mg-modal.js.map +1 -1
- package/dist/components/mg-pagination.js +1 -0
- package/dist/components/mg-pagination2.js +19 -11
- package/dist/components/mg-pagination2.js.map +1 -1
- package/dist/components/mg-panel.js +18 -14
- package/dist/components/mg-panel.js.map +1 -1
- package/dist/components/mg-popover-content.js +1 -0
- package/dist/components/mg-popover-content2.js +5 -5
- package/dist/components/mg-popover-content2.js.map +1 -1
- package/dist/components/mg-popover.js +1 -0
- package/dist/components/mg-popover2.js +9 -9
- package/dist/components/mg-popover2.js.map +1 -1
- package/dist/components/mg-progress.js +12 -12
- package/dist/components/mg-progress.js.map +1 -1
- package/dist/components/mg-skip-links.js +4 -4
- package/dist/components/mg-skip-links.js.map +1 -1
- package/dist/components/mg-table.d.ts +11 -0
- package/dist/components/mg-table.js +320 -0
- package/dist/components/mg-table.js.map +1 -0
- package/dist/components/mg-tabs.js +14 -14
- package/dist/components/mg-tabs.js.map +1 -1
- package/dist/components/mg-tag.js +16 -8
- package/dist/components/mg-tag.js.map +1 -1
- package/dist/components/mg-tooltip-content.js +1 -0
- package/dist/components/mg-tooltip-content2.js +2 -2
- package/dist/components/mg-tooltip-content2.js.map +1 -1
- package/dist/components/mg-tooltip.js +1 -0
- package/dist/components/mg-tooltip2.js +13 -13
- package/dist/components/mg-tooltip2.js.map +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{index-5059254f.js → index-CAuxALt5.js} +242 -174
- package/dist/esm/index-CAuxALt5.js.map +1 -0
- package/dist/esm/{index-a58f8b91.js → index-SQlkEaXW.js} +87 -42
- package/dist/esm/index-SQlkEaXW.js.map +1 -0
- package/dist/esm/index.es-DDBtzymI.js +130 -0
- package/dist/esm/index.es-DDBtzymI.js.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +5 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{mg-action-more_36.entry.js → mg-action-more_37.entry.js} +842 -825
- package/dist/esm/mg-action-more_37.entry.js.map +1 -0
- package/dist/esm/mg-alert.entry.js +21 -13
- package/dist/esm/mg-alert.entry.js.map +1 -1
- package/dist/esm/mg-components.js +7 -5
- package/dist/esm/mg-components.js.map +1 -1
- package/dist/esm/mg-input-rich-text-editor.entry.js +21527 -6869
- package/dist/esm/mg-input-rich-text-editor.entry.js.map +1 -1
- package/dist/esm/{mg-input.conf-712c7bb6.js → mg-input.conf-BtkqaBXm.js} +2 -1
- package/dist/esm/mg-input.conf-BtkqaBXm.js.map +1 -0
- package/dist/esm/mg-loader.entry.js +12 -8
- package/dist/esm/mg-loader.entry.js.map +1 -1
- package/dist/esm/mg-progress.entry.js +13 -13
- package/dist/esm/mg-progress.entry.js.map +1 -1
- package/dist/mg-components/index.esm.js.map +1 -1
- package/dist/mg-components/loader.esm.js.map +1 -0
- package/dist/mg-components/locales/en/messages.json +37 -16
- package/dist/mg-components/locales/fr/messages.json +40 -19
- package/dist/mg-components/mg-alert.entry.esm.js.map +1 -0
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/mg-components.esm.js.map +1 -1
- package/dist/mg-components/mg-input-rich-text-editor.entry.esm.js.map +1 -0
- package/dist/mg-components/mg-loader.entry.esm.js.map +1 -0
- package/dist/mg-components/mg-progress.entry.esm.js.map +1 -0
- package/dist/mg-components/p-583b3769.entry.js +2 -0
- package/dist/mg-components/p-583b3769.entry.js.map +1 -0
- package/dist/mg-components/p-650d6986.entry.js +11 -0
- package/dist/mg-components/p-650d6986.entry.js.map +1 -0
- package/dist/mg-components/p-680948e3.entry.js +2 -0
- package/dist/mg-components/p-680948e3.entry.js.map +1 -0
- package/dist/mg-components/p-9acc6504.entry.js +2 -0
- package/dist/mg-components/p-9acc6504.entry.js.map +1 -0
- package/dist/mg-components/{p-2884f369.js → p-BtkqaBXm.js} +1 -1
- package/dist/mg-components/p-BtkqaBXm.js.map +1 -0
- package/dist/mg-components/p-CAuxALt5.js +3 -0
- package/dist/mg-components/p-CAuxALt5.js.map +1 -0
- package/dist/mg-components/p-CqGbLOnN.js +2 -0
- package/dist/mg-components/p-CqGbLOnN.js.map +1 -0
- package/dist/mg-components/p-DDBtzymI.js +2 -0
- package/dist/mg-components/p-DDBtzymI.js.map +1 -0
- package/dist/mg-components/p-DQuL1Twl.js +2 -0
- package/dist/mg-components/p-DQuL1Twl.js.map +1 -0
- package/dist/mg-components/p-c0fb6f62.entry.js +2 -0
- package/dist/mg-components/p-c0fb6f62.entry.js.map +1 -0
- package/dist/types/components/atoms/mg-button/mg-button.d.ts +1 -1
- package/dist/types/components/atoms/mg-tag/mg-tag.d.ts +2 -2
- package/dist/types/components/atoms/mg-tooltip/mg-tooltip.d.ts +0 -1
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +1 -4
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input-date/mg-input-date.conf.d.ts +1 -0
- package/dist/types/components/molecules/inputs/mg-input-date/mg-input-date.d.ts +1 -1
- package/dist/types/components/molecules/inputs/mg-input-numeric/mg-input-numeric.d.ts +7 -6
- package/dist/types/components/molecules/inputs/mg-input-password/mg-input-password.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +9 -9
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +1 -1
- package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.conf.d.ts +4 -2
- package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.d.ts +16 -10
- package/dist/types/components/molecules/inputs/mg-input-textarea/mg-input-textarea.d.ts +5 -5
- package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +1 -1
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +1 -1
- package/dist/types/components/molecules/mg-action-more/mg-action-more.conf.d.ts +1 -1
- package/dist/types/components/molecules/mg-action-more/mg-action-more.d.ts +1 -1
- package/dist/types/components/molecules/mg-form/mg-form.d.ts +1 -1
- package/dist/types/components/molecules/mg-loader/mg-loader.d.ts +1 -1
- package/dist/types/components/molecules/mg-pagination/mg-pagination.d.ts +2 -2
- package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +1 -1
- package/dist/types/components/molecules/mg-popover/mg-popover.d.ts +1 -0
- package/dist/types/components/molecules/mg-table/mg-table.conf.d.ts +19 -0
- package/dist/types/components/molecules/mg-table/mg-table.d.ts +58 -0
- package/dist/types/components.d.ts +66 -27
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/ide/intellij/web-types.json +157 -49
- package/ide/vscode/html-custom-data.json +111 -27
- package/package.json +25 -25
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/index-1a5a1081.js.map +0 -1
- package/dist/cjs/index-b7923724.js.map +0 -1
- package/dist/cjs/index.es-903492c5.js +0 -151
- package/dist/cjs/index.es-903492c5.js.map +0 -1
- package/dist/cjs/mg-action-more_36.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-input.conf-5bbcea79.js.map +0 -1
- package/dist/collection/components/molecules/menu/mg-menu/mg-menu.conf.js.map +0 -1
- package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js.map +0 -1
- package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.conf.js.map +0 -1
- package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/index-5059254f.js.map +0 -1
- package/dist/esm/index-a58f8b91.js.map +0 -1
- package/dist/esm/index.es-b80b758c.js +0 -129
- package/dist/esm/index.es-b80b758c.js.map +0 -1
- package/dist/esm/mg-action-more_36.entry.js.map +0 -1
- package/dist/esm/mg-input.conf-712c7bb6.js.map +0 -1
- package/dist/mg-components/p-2884f369.js.map +0 -1
- package/dist/mg-components/p-2a633b29.entry.js +0 -2
- package/dist/mg-components/p-2a633b29.entry.js.map +0 -1
- package/dist/mg-components/p-361cc090.entry.js +0 -2
- package/dist/mg-components/p-361cc090.entry.js.map +0 -1
- package/dist/mg-components/p-3afebdab.entry.js +0 -2
- package/dist/mg-components/p-3afebdab.entry.js.map +0 -1
- package/dist/mg-components/p-3c6710be.js +0 -2
- package/dist/mg-components/p-3c6710be.js.map +0 -1
- package/dist/mg-components/p-ac8a5083.js +0 -2
- package/dist/mg-components/p-ac8a5083.js.map +0 -1
- package/dist/mg-components/p-bc6ec847.entry.js +0 -2
- package/dist/mg-components/p-bc6ec847.entry.js.map +0 -1
- package/dist/mg-components/p-e1255160.js +0 -2
- package/dist/mg-components/p-e1255160.js.map +0 -1
- package/dist/mg-components/p-e39791fa.js +0 -3
- package/dist/mg-components/p-e39791fa.js.map +0 -1
- package/dist/mg-components/p-f2e6e7ae.entry.js +0 -2
- package/dist/mg-components/p-f2e6e7ae.entry.js.map +0 -1
- package/loader/package.json +0 -11
- /package/dist/collection/components/molecules/{menu → menus}/mg-menu/mg-menu.conf.js +0 -0
- /package/dist/collection/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.conf.js +0 -0
- /package/dist/types/components/molecules/{menu → menus}/mg-menu/mg-menu.conf.d.ts +0 -0
- /package/dist/types/components/molecules/{menu → menus}/mg-menu/mg-menu.d.ts +0 -0
- /package/dist/types/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.conf.d.ts +0 -0
- /package/dist/types/components/molecules/{menu → menus}/mg-menu-item/mg-menu-item.d.ts +0 -0
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var index_es = require('./index.es-jXqiN1uw.js');
|
|
4
4
|
|
|
5
5
|
const errors$1 = {
|
|
6
|
-
required: "This field is required."
|
|
7
|
-
date: {
|
|
8
|
-
badInput: "The date is incorrect, the format must be {pattern}",
|
|
9
|
-
min: "The date cannot be earlier than {min}",
|
|
10
|
-
max: "The date cannot be later than {max}",
|
|
11
|
-
minMax: "The date must be between {min} and {max}"
|
|
12
|
-
},
|
|
13
|
-
numeric: {
|
|
14
|
-
min: "The value cannot be less than {min}",
|
|
15
|
-
max: "The value cannot be greater than {max}",
|
|
16
|
-
minMax: "The value must be between {min} and {max}"
|
|
17
|
-
}
|
|
6
|
+
required: "This field is required."
|
|
18
7
|
};
|
|
19
8
|
const nbCharLeft$1 = "{counter} characters left.";
|
|
20
9
|
const input$1 = {
|
|
@@ -35,29 +24,58 @@ const input$1 = {
|
|
|
35
24
|
sections: {
|
|
36
25
|
selected: {
|
|
37
26
|
title: "Selected",
|
|
38
|
-
|
|
27
|
+
titlePlural: "Selected",
|
|
39
28
|
action: "Unselect all",
|
|
40
29
|
tooltip: "Unselect all current search results"
|
|
41
30
|
},
|
|
42
31
|
notSelected: {
|
|
43
32
|
title: "Not selected",
|
|
44
|
-
|
|
33
|
+
titlePlural: "Not selected",
|
|
45
34
|
action: "Select all",
|
|
46
35
|
tooltip: "Select all current search results"
|
|
47
36
|
}
|
|
48
37
|
}
|
|
49
38
|
},
|
|
50
39
|
date: {
|
|
51
|
-
helpText: "Expected format: {pattern} (ex: {date})",
|
|
52
40
|
pattern: {
|
|
53
41
|
dd: "dd",
|
|
54
42
|
mm: "mm",
|
|
55
43
|
yyyy: "yyyy"
|
|
44
|
+
},
|
|
45
|
+
helpText: {
|
|
46
|
+
expectedFormat: "Expected format: {pattern} (ex: {date})",
|
|
47
|
+
min: "The date must be after {min}",
|
|
48
|
+
max: "The date must be before {max}",
|
|
49
|
+
minMax: "The date must be between {min} and {max}"
|
|
50
|
+
},
|
|
51
|
+
error: {
|
|
52
|
+
badInput: "The date is inexistent or incorrect, the expected format is {pattern} (ex: {date})"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
numeric: {
|
|
56
|
+
helpText: {
|
|
57
|
+
min: "The value must be greater than {min}",
|
|
58
|
+
max: "The value must be less than {max}",
|
|
59
|
+
minMax: "The value must be between {min} and {max}"
|
|
56
60
|
}
|
|
57
61
|
},
|
|
58
62
|
password: {
|
|
59
63
|
display: "Display password value",
|
|
60
64
|
hide: "Hide password value"
|
|
65
|
+
},
|
|
66
|
+
text: {
|
|
67
|
+
helpText: {
|
|
68
|
+
email: "Expected format: name@example.com",
|
|
69
|
+
emails: "Expected format: first@example.com, second@example.com",
|
|
70
|
+
url: "Expected format: https://example.com"
|
|
71
|
+
},
|
|
72
|
+
errors: {
|
|
73
|
+
typeMismatch: {
|
|
74
|
+
email: "The value is incorrect, the expected format is name@example.com",
|
|
75
|
+
emails: "The value is incorrect, the expected format is first@example.com, second@example.com",
|
|
76
|
+
url: "The value is incorrect, the expected format is https://example.com"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
61
79
|
}
|
|
62
80
|
};
|
|
63
81
|
const form$1 = {
|
|
@@ -104,9 +122,12 @@ const actionMore$1 = {
|
|
|
104
122
|
label: "Actions"
|
|
105
123
|
};
|
|
106
124
|
const loader$1 = {
|
|
107
|
-
|
|
125
|
+
inProgress: "Loading in progress…"
|
|
126
|
+
};
|
|
127
|
+
const table$1 = {
|
|
128
|
+
sortableCaption: "(column headers with buttons are sortable)"
|
|
108
129
|
};
|
|
109
|
-
|
|
130
|
+
var en = {
|
|
110
131
|
errors: errors$1,
|
|
111
132
|
nbCharLeft: nbCharLeft$1,
|
|
112
133
|
input: input$1,
|
|
@@ -120,22 +141,12 @@ const en = {
|
|
|
120
141
|
menuItem: menuItem$1,
|
|
121
142
|
itemMore: itemMore$1,
|
|
122
143
|
actionMore: actionMore$1,
|
|
123
|
-
loader: loader$1
|
|
144
|
+
loader: loader$1,
|
|
145
|
+
table: table$1
|
|
124
146
|
};
|
|
125
147
|
|
|
126
148
|
const errors = {
|
|
127
|
-
required: "Ce champ est obligatoire."
|
|
128
|
-
date: {
|
|
129
|
-
badInput: "La date est incorrecte, le format doit être du type {pattern}",
|
|
130
|
-
min: "La date ne peut pas être antérieure au {min}",
|
|
131
|
-
max: "La date ne peut pas être postérieure au {max}",
|
|
132
|
-
minMax: "La date doit être comprise entre le {min} et le {max}"
|
|
133
|
-
},
|
|
134
|
-
numeric: {
|
|
135
|
-
min: "La valeur ne peut pas être inférieure à {min}",
|
|
136
|
-
max: "La valeur ne peut pas être supérieure à {max}",
|
|
137
|
-
minMax: "La valeur doit être comprise entre {min} et {max}"
|
|
138
|
-
}
|
|
149
|
+
required: "Ce champ est obligatoire."
|
|
139
150
|
};
|
|
140
151
|
const nbCharLeft = "{counter} caractères disponibles.";
|
|
141
152
|
const input = {
|
|
@@ -143,42 +154,71 @@ const input = {
|
|
|
143
154
|
placeholder: "Sélectionnez une valeur"
|
|
144
155
|
},
|
|
145
156
|
checkbox: {
|
|
146
|
-
selectedValues: "{nb} valeurs
|
|
147
|
-
selectedValue: "{nb} valeur
|
|
157
|
+
selectedValues: "{nb} valeurs sélectionnées",
|
|
158
|
+
selectedValue: "{nb} valeur sélectionnée",
|
|
148
159
|
editButton: "Modifier",
|
|
149
160
|
selectButton: "Sélectionner des valeurs",
|
|
150
161
|
showButton: "Voir",
|
|
151
162
|
label: "Saisissez une valeur",
|
|
152
163
|
result: "résultat",
|
|
153
164
|
results: "résultats",
|
|
154
|
-
searchResults: "
|
|
165
|
+
searchResults: "Liste de résultat(s) de la recherche.",
|
|
155
166
|
noResult: "Aucun résultat.",
|
|
156
167
|
sections: {
|
|
157
168
|
selected: {
|
|
158
169
|
title: "Sélectionné",
|
|
159
|
-
|
|
170
|
+
titlePlural: "Sélectionnés",
|
|
160
171
|
action: "Tout désélectionner",
|
|
161
172
|
tooltip: "Désélectionne tous les résultats de la recherche en cours"
|
|
162
173
|
},
|
|
163
174
|
notSelected: {
|
|
164
175
|
title: "Non sélectionné",
|
|
165
|
-
|
|
176
|
+
titlePlural: "Non sélectionnés",
|
|
166
177
|
action: "Tout sélectionner",
|
|
167
178
|
tooltip: "Sélectionne tous les résultats de la recherche en cours"
|
|
168
179
|
}
|
|
169
180
|
}
|
|
170
181
|
},
|
|
171
182
|
date: {
|
|
172
|
-
helpText: "Format attendu : {pattern} (ex : {date})",
|
|
173
183
|
pattern: {
|
|
174
184
|
dd: "jj",
|
|
175
185
|
mm: "mm",
|
|
176
186
|
yyyy: "aaaa"
|
|
187
|
+
},
|
|
188
|
+
helpText: {
|
|
189
|
+
expectedFormat: "Format attendu : {pattern} (ex : {date})",
|
|
190
|
+
min: "La date doit être postérieure au {min}",
|
|
191
|
+
max: "La date doit être antérieure au {max}",
|
|
192
|
+
minMax: "La date doit être comprise entre le {min} et le {max}"
|
|
193
|
+
},
|
|
194
|
+
error: {
|
|
195
|
+
badInput: "La date est inexistante ou incorrecte, le format attendu est {pattern} (ex : {date})"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
numeric: {
|
|
199
|
+
helpText: {
|
|
200
|
+
min: "La valeur doit être supérieure à {min}",
|
|
201
|
+
max: "La valeur doit être inférieure à {max}",
|
|
202
|
+
minMax: "La valeur doit être comprise entre {min} et {max}"
|
|
177
203
|
}
|
|
178
204
|
},
|
|
179
205
|
password: {
|
|
180
206
|
display: "Afficher le mot de passe",
|
|
181
207
|
hide: "Masquer le mot de passe"
|
|
208
|
+
},
|
|
209
|
+
text: {
|
|
210
|
+
helpText: {
|
|
211
|
+
email: "Format attendu : nom@exemple.fr",
|
|
212
|
+
emails: "Format attendu : premier@exemple.fr, second@exemple.fr",
|
|
213
|
+
url: "Format attendu : https://exemple.fr"
|
|
214
|
+
},
|
|
215
|
+
errors: {
|
|
216
|
+
typeMismatch: {
|
|
217
|
+
email: "La valeur est incorrecte, le format attendu est nom@exemple.fr",
|
|
218
|
+
emails: "La valeur est incorrecte, le format attendu est premier@exemple.fr, second@exemple.fr",
|
|
219
|
+
url: "La valeur est incorrecte, le format attendu est https://exemple.fr"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
182
222
|
}
|
|
183
223
|
};
|
|
184
224
|
const form = {
|
|
@@ -225,9 +265,12 @@ const actionMore = {
|
|
|
225
265
|
label: "Actions"
|
|
226
266
|
};
|
|
227
267
|
const loader = {
|
|
228
|
-
|
|
268
|
+
inProgress: "Chargement en cours…"
|
|
269
|
+
};
|
|
270
|
+
const table = {
|
|
271
|
+
sortableCaption: "(les en-têtes de colonnes avec des boutons peuvent être triés)"
|
|
229
272
|
};
|
|
230
|
-
|
|
273
|
+
var fr = {
|
|
231
274
|
errors: errors,
|
|
232
275
|
nbCharLeft: nbCharLeft,
|
|
233
276
|
input: input,
|
|
@@ -241,7 +284,8 @@ const fr = {
|
|
|
241
284
|
menuItem: menuItem,
|
|
242
285
|
itemMore: itemMore,
|
|
243
286
|
actionMore: actionMore,
|
|
244
|
-
loader: loader
|
|
287
|
+
loader: loader,
|
|
288
|
+
table: table
|
|
245
289
|
};
|
|
246
290
|
|
|
247
291
|
const defaultLocale = 'en';
|
|
@@ -251,8 +295,9 @@ const messages = { en, fr };
|
|
|
251
295
|
* @param element - element we need to get the language
|
|
252
296
|
* @returns messages object
|
|
253
297
|
*/
|
|
254
|
-
const initLocales = index_es.
|
|
298
|
+
const initLocales = index_es.Jt(messages, defaultLocale);
|
|
255
299
|
|
|
256
300
|
exports.initLocales = initLocales;
|
|
301
|
+
//# sourceMappingURL=index-CTU2m-sy.js.map
|
|
257
302
|
|
|
258
|
-
//# sourceMappingURL=index-
|
|
303
|
+
//# sourceMappingURL=index-CTU2m-sy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CTU2m-sy.js","sources":["src/locales/index.ts"],"sourcesContent":["import en from './en/messages.json';\nimport fr from './fr/messages.json';\nimport { defineLocales } from '@mgdis/stencil-helpers';\n\nconst defaultLocale = 'en';\nconst messages = { en, fr };\n\n/**\n * Get Intl object\n * @param element - element we need to get the language\n * @returns messages object\n */\nexport const initLocales = defineLocales(messages, defaultLocale);\n"],"names":["defineLocales"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,aAAa,GAAG,IAAI;AAC1B,MAAM,QAAQ,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE;AAE3B;;;;AAIG;AACU,MAAA,WAAW,GAAGA,WAAa,CAAC,QAAQ,EAAE,aAAa;;;;"}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"index.cjs.js","
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Re = Object.defineProperty;
|
|
4
|
+
var ze = (e, t, r) => t in e ? Re(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
|
|
5
|
+
var d = (e, t, r) => ze(e, typeof t != "symbol" ? t + "" : t, r);
|
|
6
|
+
const xt = (e = "", t = 10) => {
|
|
7
|
+
const r = new Uint8Array(t);
|
|
8
|
+
crypto.getRandomValues(r);
|
|
9
|
+
const s = Array.from(r).map((n) => n.toString(16).padStart(2, "0")).join("").slice(0, t);
|
|
10
|
+
return e !== "" ? `${e}-${s}` : s;
|
|
11
|
+
}, Ot = (e) => Le(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null;
|
|
12
|
+
class kt {
|
|
13
|
+
constructor(t = []) {
|
|
14
|
+
/**
|
|
15
|
+
* Available classes
|
|
16
|
+
*/
|
|
17
|
+
d(this, "classes");
|
|
18
|
+
/**
|
|
19
|
+
* Add class
|
|
20
|
+
* @param className - class name to add
|
|
21
|
+
*/
|
|
22
|
+
d(this, "add", (t) => {
|
|
23
|
+
this.has(t) || this.classes.push(t);
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* Delete class
|
|
27
|
+
* @param className - class name to delete
|
|
28
|
+
*/
|
|
29
|
+
d(this, "delete", (t) => {
|
|
30
|
+
const r = this.classes.indexOf(t);
|
|
31
|
+
r > -1 && this.classes.splice(r, 1);
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Check if class exist in list
|
|
35
|
+
* @param className - class name to check
|
|
36
|
+
* @returns class name is in the list
|
|
37
|
+
*/
|
|
38
|
+
d(this, "has", (t) => this.classes.includes(t));
|
|
39
|
+
/**
|
|
40
|
+
* Join classes seperated by spaces
|
|
41
|
+
* @returns joined values
|
|
42
|
+
*/
|
|
43
|
+
d(this, "join", () => this.classes.join(" "));
|
|
44
|
+
this.classes = t;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const At = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), Tt = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), jt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [identifier], mg-button', Rt = (e) => {
|
|
48
|
+
const t = ge(e), r = pe(e);
|
|
49
|
+
return [e, ...t, ...r];
|
|
50
|
+
}, ge = (e, t = []) => {
|
|
51
|
+
if (e.self !== e.top)
|
|
52
|
+
try {
|
|
53
|
+
const r = e.parent;
|
|
54
|
+
return r ? (t.push(r), ge(r, t)) : t;
|
|
55
|
+
} catch (r) {
|
|
56
|
+
return console.error("Different hosts between iframes:", r), t;
|
|
57
|
+
}
|
|
58
|
+
return t;
|
|
59
|
+
}, pe = (e, t = []) => {
|
|
60
|
+
if (e.frames.length > 0)
|
|
61
|
+
for (const r of Array.from(e.frames))
|
|
62
|
+
t.push(r), pe(r, t);
|
|
63
|
+
return t;
|
|
64
|
+
}, Le = (e) => typeof e == "string" && e.trim() !== "", zt = (e) => typeof e == "object" ? JSON.stringify(e) : `${e}`, Nt = (e) => typeof e == "number" && !Number.isNaN(e), Lt = (e) => typeof e == "string" ? e.toLocaleLowerCase().normalize("NFD").replaceAll(/[\u0300-\u036f]/g, "") : e, Mt = async (e) => e();
|
|
65
|
+
var Me = Object.defineProperty, Fe = (e, t) => {
|
|
66
|
+
for (var r in t)
|
|
67
|
+
Me(e, r, { get: t[r], enumerable: true });
|
|
68
|
+
}, De = {};
|
|
69
|
+
Fe(De, {
|
|
70
|
+
err: () => de,
|
|
71
|
+
map: () => Ze,
|
|
72
|
+
ok: () => W,
|
|
73
|
+
unwrap: () => qe,
|
|
74
|
+
unwrapErr: () => Be
|
|
75
|
+
});
|
|
76
|
+
var W = (e) => ({
|
|
77
|
+
isOk: true,
|
|
78
|
+
isErr: false,
|
|
79
|
+
value: e
|
|
80
|
+
}), de = (e) => ({
|
|
81
|
+
isOk: false,
|
|
82
|
+
isErr: true,
|
|
83
|
+
value: e
|
|
84
|
+
});
|
|
85
|
+
function Ze(e, t) {
|
|
86
|
+
if (e.isOk) {
|
|
87
|
+
const r = t(e.value);
|
|
88
|
+
return r instanceof Promise ? r.then((s) => W(s)) : W(r);
|
|
89
|
+
}
|
|
90
|
+
if (e.isErr) {
|
|
91
|
+
const r = e.value;
|
|
92
|
+
return de(r);
|
|
93
|
+
}
|
|
94
|
+
throw "should never get here";
|
|
95
|
+
}
|
|
96
|
+
var qe = (e) => {
|
|
97
|
+
if (e.isOk)
|
|
98
|
+
return e.value;
|
|
99
|
+
throw e.value;
|
|
100
|
+
}, Be = (e) => {
|
|
101
|
+
if (e.isErr)
|
|
102
|
+
return e.value;
|
|
103
|
+
throw e.value;
|
|
104
|
+
};
|
|
105
|
+
const Bt = (e) => {
|
|
106
|
+
const t = { value: "2023", pattern: "yyyy" }, r = { value: "12", pattern: "mm" }, s = { value: "24", pattern: "dd" };
|
|
107
|
+
return Et([t.value, r.value, s.value].join("-"), e, { timeZone: "UTC" }).replace(t.value, t.pattern).replace(r.value, r.pattern).replace(s.value, s.pattern);
|
|
108
|
+
}, Ht = (e) => e.toISOString().split("T")[0], _t = (e, t, r) => {
|
|
109
|
+
const s = e.closest("[lang]"), n = Intl.NumberFormat.supportedLocalesOf(s == null ? void 0 : s.lang), i = n.length > 0 && typeof n[0] == "string" ? n[0] : navigator.language || r, o = i.split("-").shift();
|
|
110
|
+
return Object.keys(t).length === 0 ? {
|
|
111
|
+
locale: i,
|
|
112
|
+
messages: { lang: r }
|
|
113
|
+
} : {
|
|
114
|
+
locale: i,
|
|
115
|
+
messages: t[o] || t[r] || { lang: r }
|
|
116
|
+
};
|
|
117
|
+
}, Pt = (e, t, r) => new Intl.NumberFormat(t, { style: "currency", currency: r }).format(e), Gt = (e, t, r = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: r }).format(Number(e)), Wt = (e, t, r = 0) => new Intl.NumberFormat(t, {
|
|
118
|
+
style: "percent",
|
|
119
|
+
minimumFractionDigits: r,
|
|
120
|
+
maximumFractionDigits: r
|
|
121
|
+
}).format(e), Xt = (e, t, r, s = "short", n = 0) => new Intl.NumberFormat(t, {
|
|
122
|
+
style: "unit",
|
|
123
|
+
unit: r,
|
|
124
|
+
unitDisplay: s,
|
|
125
|
+
minimumFractionDigits: n,
|
|
126
|
+
maximumFractionDigits: n
|
|
127
|
+
}).format(e), wt = /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/, Et = (e, t, r) => typeof e != "string" || e === "" || !wt.test(e) ? "" : new Intl.DateTimeFormat(t, r).format(new Date(e)), Jt = (e, t) => (r) => _t(r, e, t);
|
|
128
|
+
|
|
129
|
+
exports.At = At;
|
|
130
|
+
exports.Bt = Bt;
|
|
131
|
+
exports.Et = Et;
|
|
132
|
+
exports.Gt = Gt;
|
|
133
|
+
exports.Ht = Ht;
|
|
134
|
+
exports.Jt = Jt;
|
|
135
|
+
exports.Le = Le;
|
|
136
|
+
exports.Lt = Lt;
|
|
137
|
+
exports.Mt = Mt;
|
|
138
|
+
exports.Nt = Nt;
|
|
139
|
+
exports.Ot = Ot;
|
|
140
|
+
exports.Pt = Pt;
|
|
141
|
+
exports.Rt = Rt;
|
|
142
|
+
exports.Tt = Tt;
|
|
143
|
+
exports.Wt = Wt;
|
|
144
|
+
exports.Xt = Xt;
|
|
145
|
+
exports.jt = jt;
|
|
146
|
+
exports.kt = kt;
|
|
147
|
+
exports.wt = wt;
|
|
148
|
+
exports.xt = xt;
|
|
149
|
+
exports.zt = zt;
|
|
150
|
+
//# sourceMappingURL=index.es-jXqiN1uw.js.map
|
|
151
|
+
|
|
152
|
+
//# sourceMappingURL=index.es-jXqiN1uw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es-jXqiN1uw.js","sources":["../stencil-helpers/dist/index.es.js"],"sourcesContent":["var Re = Object.defineProperty;\nvar ne = (e) => {\n throw TypeError(e);\n};\nvar ze = (e, t, r) => t in e ? Re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;\nvar d = (e, t, r) => ze(e, typeof t != \"symbol\" ? t + \"\" : t, r), Ne = (e, t, r) => t.has(e) || ne(\"Cannot \" + r);\nvar O = (e, t, r) => (Ne(e, t, \"read from private field\"), r ? r.call(e) : t.get(e)), G = (e, t, r) => t.has(e) ? ne(\"Cannot add the same private member more than once\") : t instanceof WeakSet ? t.add(e) : t.set(e, r);\nconst xt = (e = \"\", t = 10) => {\n const r = new Uint8Array(t);\n crypto.getRandomValues(r);\n const s = Array.from(r).map((n) => n.toString(16).padStart(2, \"0\")).join(\"\").slice(0, t);\n return e !== \"\" ? `${e}-${s}` : s;\n}, Ot = (e) => Le(e) && /^([a-z][a-z0-9]*)(-[a-z0-9]+)*$/.exec(e) !== null;\nclass kt {\n constructor(t = []) {\n /**\n * Available classes\n */\n d(this, \"classes\");\n /**\n * Add class\n * @param className - class name to add\n */\n d(this, \"add\", (t) => {\n this.has(t) || this.classes.push(t);\n });\n /**\n * Delete class\n * @param className - class name to delete\n */\n d(this, \"delete\", (t) => {\n const r = this.classes.indexOf(t);\n r > -1 && this.classes.splice(r, 1);\n });\n /**\n * Check if class exist in list\n * @param className - class name to check\n * @returns class name is in the list\n */\n d(this, \"has\", (t) => this.classes.includes(t));\n /**\n * Join classes seperated by spaces\n * @returns joined values\n */\n d(this, \"join\", () => this.classes.join(\" \"));\n this.classes = t;\n }\n}\nconst At = (e) => Array.isArray(e) && e.every((t) => typeof t == \"string\"), Tt = (e, t) => t.includes(e == null ? void 0 : e.tagName.toLowerCase()), jt = 'a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"]), [identifier], mg-button', Rt = (e) => {\n const t = ge(e), r = pe(e);\n return [e, ...t, ...r];\n}, ge = (e, t = []) => {\n if (e.self !== e.top)\n try {\n const r = e.parent;\n return r ? (t.push(r), ge(r, t)) : t;\n } catch (r) {\n return console.error(\"Different hosts between iframes:\", r), t;\n }\n return t;\n}, pe = (e, t = []) => {\n if (e.frames.length > 0)\n for (const r of Array.from(e.frames))\n t.push(r), pe(r, t);\n return t;\n}, Le = (e) => typeof e == \"string\" && e.trim() !== \"\", zt = (e) => typeof e == \"object\" ? JSON.stringify(e) : `${e}`, Nt = (e) => typeof e == \"number\" && !Number.isNaN(e), Lt = (e) => typeof e == \"string\" ? e.toLocaleLowerCase().normalize(\"NFD\").replaceAll(/[\\u0300-\\u036f]/g, \"\") : e, Mt = async (e) => e();\nvar B = {\n updatable: !0,\n slotRelocation: !0,\n // TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior\n experimentalSlotFixes: !1\n}, Me = Object.defineProperty, Fe = (e, t) => {\n for (var r in t)\n Me(e, r, { get: t[r], enumerable: !0 });\n}, Ie = \"http://www.w3.org/2000/svg\", Ce = \"http://www.w3.org/1999/xhtml\", ie = (e, t) => t in e, oe = \"http://www.w3.org/1999/xlink\", S = typeof window < \"u\" ? window : {}, T = {\n $flags$: 0,\n $resourcesUrl$: \"\",\n jmp: (e) => e(),\n raf: (e) => requestAnimationFrame(e),\n ael: (e, t, r, s) => e.addEventListener(t, r, s),\n rel: (e, t, r, s) => e.removeEventListener(t, r, s),\n ce: (e, t) => new CustomEvent(e, t)\n}, Ue = (e) => e != null && e !== void 0, $e = (e) => (e = typeof e, e === \"object\" || e === \"function\"), De = {};\nFe(De, {\n err: () => de,\n map: () => Ze,\n ok: () => W,\n unwrap: () => qe,\n unwrapErr: () => Be\n});\nvar W = (e) => ({\n isOk: !0,\n isErr: !1,\n value: e\n}), de = (e) => ({\n isOk: !1,\n isErr: !0,\n value: e\n});\nfunction Ze(e, t) {\n if (e.isOk) {\n const r = t(e.value);\n return r instanceof Promise ? r.then((s) => W(s)) : W(r);\n }\n if (e.isErr) {\n const r = e.value;\n return de(r);\n }\n throw \"should never get here\";\n}\nvar qe = (e) => {\n if (e.isOk)\n return e.value;\n throw e.value;\n}, Be = (e) => {\n if (e.isErr)\n return e.value;\n throw e.value;\n}, ye = (e) => {\n const t = le(e, \"childNodes\");\n e.tagName && e.tagName.includes(\"-\") && e[\"s-cr\"] && e.tagName !== \"SLOT-FB\" && be(t, e.tagName).forEach((s) => {\n s.nodeType === 1 && s.tagName === \"SLOT-FB\" && (Pe(s, ee(s), !1).length ? s.hidden = !0 : s.hidden = !1);\n });\n let r = 0;\n for (r = 0; r < t.length; r++) {\n const s = t[r];\n s.nodeType === 1 && le(s, \"childNodes\").length && ye(s);\n }\n}, He = (e) => {\n const t = [];\n for (let r = 0; r < e.length; r++) {\n const s = e[r][\"s-nr\"] || void 0;\n s && s.isConnected && t.push(s);\n }\n return t;\n};\nfunction be(e, t, r) {\n let s = 0, n = [], i;\n for (; s < e.length; s++)\n i = e[s], i[\"s-sr\"] && (!t || i[\"s-hn\"] === t) && r === void 0 && n.push(i), n = [...n, ...be(i.childNodes, t, r)];\n return n;\n}\nvar Pe = (e, t, r = !0) => {\n const s = [];\n (r && e[\"s-sr\"] || !e[\"s-sr\"]) && s.push(e);\n let n = e;\n for (; n = n.nextSibling; )\n ee(n) === t && (r || !n[\"s-sr\"]) && s.push(n);\n return s;\n}, ae = (e, t) => e.nodeType === 1 ? e.getAttribute(\"slot\") === null && t === \"\" || e.getAttribute(\"slot\") === t : e[\"s-sn\"] === t ? !0 : t === \"\", ee = (e) => typeof e[\"s-sn\"] == \"string\" ? e[\"s-sn\"] : e.nodeType === 1 && e.getAttribute(\"slot\") || void 0;\nfunction Ge(e) {\n if (e.assignedElements || e.assignedNodes || !e[\"s-sr\"]) return;\n const t = (r) => (function(s) {\n const n = [], i = this[\"s-sn\"];\n s != null && s.flatten && console.error(`\n Flattening is not supported for Stencil non-shadow slots. \n You can use \\`.childNodes\\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `);\n const o = this[\"s-cr\"].parentElement;\n return (o.__childNodes ? o.childNodes : He(o.childNodes)).forEach((l) => {\n i === ee(l) && n.push(l);\n }), r ? n.filter(\n (l) => l.nodeType === 1\n /* ElementNode */\n ) : n;\n }).bind(e);\n e.assignedElements = t(!0), e.assignedNodes = t(!1);\n}\nfunction le(e, t) {\n if (\"__\" + t in e) {\n const r = e[\"__\" + t];\n return typeof r != \"function\" ? r : r.bind(e);\n } else\n return typeof e[t] != \"function\" ? e[t] : e[t].bind(e);\n}\nvar We = (e, t, ...r) => {\n let s = null, n = null, i = null, o = !1, f = !1;\n const l = [], c = (a) => {\n for (let p = 0; p < a.length; p++)\n s = a[p], Array.isArray(s) ? c(s) : s != null && typeof s != \"boolean\" && ((o = !$e(s)) && (s = String(s)), o && f ? l[l.length - 1].$text$ += s : l.push(o ? X(null, s) : s), f = o);\n };\n c(r);\n const g = X(e, null);\n return g.$attrs$ = t, l.length > 0 && (g.$children$ = l), g.$key$ = n, g.$name$ = i, g;\n}, X = (e, t) => {\n const r = {\n $flags$: 0,\n $tag$: e,\n $text$: t,\n $elm$: null,\n $children$: null\n };\n return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;\n}, Xe = {}, Je = (e) => e && e.$tag$ === Xe, ce = (e, t, r, s, n, i, o) => {\n if (r === s)\n return;\n let f = ie(e, t), l = t.toLowerCase();\n if (t === \"class\") {\n const c = e.classList, g = fe(r);\n let a = fe(s);\n c.remove(...g.filter((p) => p && !a.includes(p))), c.add(...a.filter((p) => p && !g.includes(p)));\n } else if (t === \"style\") {\n for (const c in r)\n (!s || s[c] == null) && (c.includes(\"-\") ? e.style.removeProperty(c) : e.style[c] = \"\");\n for (const c in s)\n (!r || s[c] !== r[c]) && (c.includes(\"-\") ? e.style.setProperty(c, s[c]) : e.style[c] = s[c]);\n } else if (t !== \"key\") if (t === \"ref\")\n s && s(e);\n else if (!e.__lookupSetter__(t) && t[0] === \"o\" && t[1] === \"n\") {\n if (t[2] === \"-\" ? t = t.slice(3) : ie(S, l) ? t = l.slice(2) : t = l[2] + t.slice(3), r || s) {\n const c = t.endsWith(ve);\n t = t.replace(Ke, \"\"), r && T.rel(e, t, r, c), s && T.ael(e, t, s, c);\n }\n } else {\n const c = $e(s);\n if ((f || c && s !== null) && !n)\n try {\n if (e.tagName.includes(\"-\"))\n e[t] !== s && (e[t] = s);\n else {\n const a = s ?? \"\";\n t === \"list\" ? f = !1 : (r == null || e[t] != a) && (typeof e.__lookupSetter__(t) == \"function\" ? e[t] = a : e.setAttribute(t, a));\n }\n } catch {\n }\n let g = !1;\n l !== (l = l.replace(/^xlink\\:?/, \"\")) && (t = l, g = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === \"\") && (g ? e.removeAttributeNS(oe, t) : e.removeAttribute(t)) : (!f || i & 4 || n) && !c && e.nodeType === 1 && (s = s === !0 ? \"\" : s, g ? e.setAttributeNS(oe, t, s) : e.setAttribute(t, s));\n }\n}, Ye = /\\s/, fe = (e) => (typeof e == \"object\" && e && \"baseVal\" in e && (e = e.baseVal), !e || typeof e != \"string\" ? [] : e.split(Ye)), ve = \"Capture\", Ke = new RegExp(ve + \"$\"), J = (e, t, r, s) => {\n const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, o = t.$attrs$ || {};\n for (const f of ue(Object.keys(i)))\n f in o || ce(\n n,\n f,\n i[f],\n void 0,\n r,\n t.$flags$\n );\n for (const f of ue(Object.keys(o)))\n ce(\n n,\n f,\n i[f],\n o[f],\n r,\n t.$flags$\n );\n};\nfunction ue(e) {\n return e.includes(\"ref\") ? (\n // we need to sort these to ensure that `'ref'` is the last attr\n [...e.filter((t) => t !== \"ref\"), \"ref\"]\n ) : (\n // no need to sort, return the original array\n e\n );\n}\nvar F, C, j, Y = !1, U = !1, te = !1, b = !1, D = (e, t, r) => {\n var s;\n const n = t.$children$[r];\n let i = 0, o, f, l;\n if (Y || (te = !0, n.$tag$ === \"slot\" && (n.$flags$ |= n.$children$ ? (\n // slot element has fallback content\n // still create an element that \"mocks\" the slot element\n 2\n ) : (\n // slot element does not have fallback content\n // create an html comment we'll use to always reference\n // where actual slot content should sit next to\n 1\n ))), n.$text$ !== null)\n o = n.$elm$ = S.document.createTextNode(n.$text$);\n else if (n.$flags$ & 1)\n o = n.$elm$ = S.document.createTextNode(\"\"), J(null, n, b);\n else {\n if (b || (b = n.$tag$ === \"svg\"), !S.document)\n throw new Error(\n \"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.\"\n );\n if (o = n.$elm$ = S.document.createElementNS(\n b ? Ie : Ce,\n !Y && B.slotRelocation && n.$flags$ & 2 ? \"slot-fb\" : n.$tag$\n ), b && n.$tag$ === \"foreignObject\" && (b = !1), J(null, n, b), Ue(F) && o[\"s-si\"] !== F && o.classList.add(o[\"s-si\"] = F), n.$children$)\n for (i = 0; i < n.$children$.length; ++i)\n f = D(e, n, i), f && o.appendChild(f);\n n.$tag$ === \"svg\" ? b = !1 : o.tagName === \"foreignObject\" && (b = !0);\n }\n return o[\"s-hn\"] = j, n.$flags$ & 3 && (o[\"s-sr\"] = !0, o[\"s-cr\"] = C, o[\"s-sn\"] = n.$name$ || \"\", o[\"s-rf\"] = (s = n.$attrs$) == null ? void 0 : s.ref, Ge(o), l = e && e.$children$ && e.$children$[r], l && l.$tag$ === n.$tag$ && e.$elm$ && R(e.$elm$, !1), Se(C, o, t.$elm$, e == null ? void 0 : e.$elm$)), o;\n}, R = (e, t) => {\n T.$flags$ |= 1;\n const r = Array.from(e.__childNodes || e.childNodes);\n e[\"s-sr\"] && B.experimentalSlotFixes;\n for (let s = r.length - 1; s >= 0; s--) {\n const n = r[s];\n n[\"s-hn\"] !== j && n[\"s-ol\"] && (x(z(n).parentNode, n, z(n)), n[\"s-ol\"].remove(), n[\"s-ol\"] = void 0, n[\"s-sh\"] = void 0, te = !0), t && R(n, t);\n }\n T.$flags$ &= -2;\n}, he = (e, t, r, s, n, i) => {\n let o = e[\"s-cr\"] && e[\"s-cr\"].parentNode || e, f;\n for (o.shadowRoot && o.tagName === j && (o = o.shadowRoot); n <= i; ++n)\n s[n] && (f = D(null, r, n), f && (s[n].$elm$ = f, x(o, f, z(t))));\n}, _e = (e, t, r) => {\n for (let s = t; s <= r; ++s) {\n const n = e[s];\n if (n) {\n const i = n.$elm$;\n Ee(n), i && (U = !0, i[\"s-ol\"] ? i[\"s-ol\"].remove() : R(i, !0), i.remove());\n }\n }\n}, Qe = (e, t, r, s, n = !1) => {\n let i = 0, o = 0, f = 0, l = 0, c = t.length - 1, g = t[0], a = t[c], p = s.length - 1, u = s[0], $ = s[p], h, v;\n for (; i <= c && o <= p; )\n if (g == null)\n g = t[++i];\n else if (a == null)\n a = t[--c];\n else if (u == null)\n u = s[++o];\n else if ($ == null)\n $ = s[--p];\n else if (M(g, u, n))\n k(g, u, n), g = t[++i], u = s[++o];\n else if (M(a, $, n))\n k(a, $, n), a = t[--c], $ = s[--p];\n else if (M(g, $, n))\n (g.$tag$ === \"slot\" || $.$tag$ === \"slot\") && R(g.$elm$.parentNode, !1), k(g, $, n), x(e, g.$elm$, a.$elm$.nextSibling), g = t[++i], $ = s[--p];\n else if (M(a, u, n))\n (g.$tag$ === \"slot\" || $.$tag$ === \"slot\") && R(a.$elm$.parentNode, !1), k(a, u, n), x(e, a.$elm$, g.$elm$), a = t[--c], u = s[++o];\n else {\n for (f = -1, l = i; l <= c; ++l)\n if (t[l] && t[l].$key$ !== null && t[l].$key$ === u.$key$) {\n f = l;\n break;\n }\n f >= 0 ? (v = t[f], v.$tag$ !== u.$tag$ ? h = D(t && t[o], r, f) : (k(v, u, n), t[f] = void 0, h = v.$elm$), u = s[++o]) : (h = D(t && t[o], r, o), u = s[++o]), h && x(\n z(g.$elm$).parentNode,\n h,\n z(g.$elm$)\n );\n }\n i > c ? he(\n e,\n s[p + 1] == null ? null : s[p + 1].$elm$,\n r,\n s,\n o,\n p\n ) : o > p && _e(t, i, c);\n}, M = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === \"slot\" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, z = (e) => e && e[\"s-ol\"] || e, k = (e, t, r = !1) => {\n const s = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, o = t.$tag$, f = t.$text$;\n let l;\n f === null ? (b = o === \"svg\" ? !0 : o === \"foreignObject\" ? !1 : b, J(e, t, b), n !== null && i !== null ? Qe(s, n, t, i, r) : i !== null ? (e.$text$ !== null && (s.textContent = \"\"), he(s, null, t, i, 0, i.length - 1)) : (\n // don't do this on initial render as it can cause non-hydrated content to be removed\n !r && B.updatable && n !== null && _e(n, 0, n.length - 1)\n ), b && o === \"svg\" && (b = !1)) : (l = s[\"s-cr\"]) ? l.parentNode.textContent = f : e.$text$ !== f && (s.data = f);\n}, E = [], we = (e) => {\n let t, r, s;\n const n = e.__childNodes || e.childNodes;\n for (const i of n) {\n if (i[\"s-sr\"] && (t = i[\"s-cr\"]) && t.parentNode) {\n r = t.parentNode.__childNodes || t.parentNode.childNodes;\n const o = i[\"s-sn\"];\n for (s = r.length - 1; s >= 0; s--)\n if (t = r[s], !t[\"s-cn\"] && !t[\"s-nr\"] && t[\"s-hn\"] !== i[\"s-hn\"])\n if (ae(t, o)) {\n let f = E.find((l) => l.$nodeToRelocate$ === t);\n U = !0, t[\"s-sn\"] = t[\"s-sn\"] || o, f ? (f.$nodeToRelocate$[\"s-sh\"] = i[\"s-hn\"], f.$slotRefNode$ = i) : (t[\"s-sh\"] = i[\"s-hn\"], E.push({\n $slotRefNode$: i,\n $nodeToRelocate$: t\n })), t[\"s-sr\"] && E.map((l) => {\n ae(l.$nodeToRelocate$, t[\"s-sn\"]) && (f = E.find((c) => c.$nodeToRelocate$ === t), f && !l.$slotRefNode$ && (l.$slotRefNode$ = f.$slotRefNode$));\n });\n } else E.some((f) => f.$nodeToRelocate$ === t) || E.push({\n $nodeToRelocate$: t\n });\n }\n i.nodeType === 1 && we(i);\n }\n}, Ee = (e) => {\n e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Ee);\n}, x = (e, t, r) => (typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && t[\"s-cr\"] && Se(t[\"s-cr\"], t, e, t.parentElement), e == null ? void 0 : e.insertBefore(t, r));\nfunction Se(e, t, r, s) {\n var n, i;\n let o;\n if (e && typeof t[\"s-sn\"] == \"string\" && t[\"s-sr\"] && e.parentNode && e.parentNode[\"s-sc\"] && (o = t[\"s-si\"] || e.parentNode[\"s-sc\"])) {\n const f = t[\"s-sn\"], l = t[\"s-hn\"];\n if ((n = r.classList) == null || n.add(o + \"-s\"), s && ((i = s.classList) != null && i.contains(o + \"-s\"))) {\n let c = (s.__childNodes || s.childNodes)[0], g = !1;\n for (; c; ) {\n if (c[\"s-sn\"] !== f && c[\"s-hn\"] === l && c[\"s-sr\"]) {\n g = !0;\n break;\n }\n c = c.nextSibling;\n }\n g || s.classList.remove(o + \"-s\");\n }\n }\n}\nvar Ve = (e, t, r = !1) => {\n var s, n, i, o, f;\n const l = e.$hostElement$, c = e.$cmpMeta$, g = e.$vnode$ || X(null, null), a = Je(t) ? t : We(null, null, t);\n if (j = l.tagName, c.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, c.$attrsToReflect$.map(\n ([p, u]) => a.$attrs$[u] = l[p]\n )), r && a.$attrs$)\n for (const p of Object.keys(a.$attrs$))\n l.hasAttribute(p) && ![\"key\", \"ref\", \"style\", \"class\"].includes(p) && (a.$attrs$[p] = l[p]);\n a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = g.$elm$ = l.shadowRoot || l, F = l[\"s-sc\"], Y = !!(c.$flags$ & 1) && !(c.$flags$ & 128), C = l[\"s-cr\"], U = !1, k(g, a, r);\n {\n if (T.$flags$ |= 1, te) {\n we(a.$elm$);\n for (const p of E) {\n const u = p.$nodeToRelocate$;\n if (!u[\"s-ol\"] && S.document) {\n const $ = S.document.createTextNode(\"\");\n $[\"s-nr\"] = u, x(u.parentNode, u[\"s-ol\"] = $, u);\n }\n }\n for (const p of E) {\n const u = p.$nodeToRelocate$, $ = p.$slotRefNode$;\n if ($) {\n const h = $.parentNode;\n let v = $.nextSibling;\n {\n let _ = (s = u[\"s-ol\"]) == null ? void 0 : s.previousSibling;\n for (; _; ) {\n let y = (n = _[\"s-nr\"]) != null ? n : null;\n if (y && y[\"s-sn\"] === u[\"s-sn\"] && h === (y.__parentNode || y.parentNode)) {\n for (y = y.nextSibling; y === u || y != null && y[\"s-sr\"]; )\n y = y == null ? void 0 : y.nextSibling;\n if (!y || !y[\"s-nr\"]) {\n v = y;\n break;\n }\n }\n _ = _.previousSibling;\n }\n }\n const N = u.__parentNode || u.parentNode, L = u.__nextSibling || u.nextSibling;\n (!v && h !== N || L !== v) && u !== v && (!u[\"s-hn\"] && u[\"s-ol\"] && (u[\"s-hn\"] = u[\"s-ol\"].parentNode.nodeName), x(h, u, v), u.nodeType === 1 && u.tagName !== \"SLOT-FB\" && (u.hidden = (i = u[\"s-ih\"]) != null ? i : !1)), u && typeof $[\"s-rf\"] == \"function\" && $[\"s-rf\"]($);\n } else\n u.nodeType === 1 && (r && (u[\"s-ih\"] = (o = u.hidden) != null ? o : !1), u.hidden = !0);\n }\n }\n U && ye(a.$elm$), T.$flags$ &= -2, E.length = 0;\n }\n if (B.experimentalScopedSlotChanges && c.$flags$ & 2) {\n const p = a.$elm$.__childNodes || a.$elm$.childNodes;\n for (const u of p)\n u[\"s-hn\"] !== j && !u[\"s-sh\"] && (r && u[\"s-ih\"] == null && (u[\"s-ih\"] = (f = u.hidden) != null ? f : !1), u.hidden = !0);\n }\n C = void 0;\n};\nconst K = {\n ignore: [],\n ignore_with: \"_!i-£___£%_\",\n strict: !1,\n tab_size: 2,\n tag_wrap: !1,\n tag_wrap_width: 80,\n trim: []\n}, w = \"!i-£___£%_\", me = [\n \"area\",\n \"base\",\n \"br\",\n \"col\",\n \"embed\",\n \"hr\",\n \"img\",\n \"input\",\n \"link\",\n \"meta\",\n \"param\",\n \"source\",\n \"track\",\n \"wbr\"\n], re = (e) => /<(?:[A-Za-z]+[A-Za-z0-9]*)(?:\\s+.*?)*?\\/{0,1}>/.test(e) || /<(?<Element>(?:[A-Za-z]+[A-Za-z0-9]*:)?(?:[A-Za-z]+[A-Za-z0-9]*))(?:\\s+.*?)*?>(?:.|\\n)*?<\\/{1}\\k<Element>>/.test(e) || /<(?<Element>(?:[a-z][a-z0-9._]*:)?[a-z][a-z0-9._]*-[a-z0-9._-]+)(?:\\s+.*?)*?>(?:.|\\n)*?<\\/{1}\\k<Element>>/.test(e), xe = (e, t) => {\n if (!e || !t)\n throw new Error(\"Both 'current' and 'updates' must be passed-in to mergeObjects()\");\n let r;\n if (Array.isArray(e))\n r = structuredClone(e).concat(t);\n else if (typeof e == \"object\") {\n r = { ...e };\n for (let s of Object.keys(t))\n typeof t[s] != \"object\" ? r[s] = t[s] : r[s] = xe(r[s] || {}, t[s]);\n }\n return r;\n}, et = (e, t) => xe(structuredClone(e), t), tt = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*[^\\/])>/g, (t, r) => t.replace(r, (s) => s.replace(/\\n/g, w + \"nl!\").replace(/\\r/g, w + \"cr!\").replace(/\\s/g, w + \"ws!\"))), e), rt = (e) => {\n const t = /<([A-Za-z][A-Za-z0-9]*|[a-z][a-z0-9._]*-[a-z0-9._-]+)((?:\\s+[A-Za-z0-9_-]+=\"[^\"]*\"|\\s*[a-z]*)*)>/g;\n return e = e.replace(t, (r, s, n) => r.replace(n, (i) => i.replace(/</g, w + \"lt!\").replace(/>/g, w + \"gt!\"))), e;\n}, st = (e, t) => {\n const r = t.ignore, s = t.ignore_with;\n for (let n = 0; n < r.length; n++) {\n const i = new RegExp(`<${r[n]}[^>]*>((.|\n)*?)</${r[n]}>`, \"g\");\n e = e.replace(i, (o, f) => o.replace(f, (l) => l.replace(/</g, \"-\" + s + \"lt-\").replace(/>/g, \"-\" + s + \"gt-\").replace(/\\n/g, \"-\" + s + \"nl-\").replace(/\\r/g, \"-\" + s + \"cr-\").replace(/\\s/g, \"-\" + s + \"ws-\")));\n }\n return e;\n}, nt = (e, t) => {\n for (let r = 0; r < t.length; r++) {\n const s = new RegExp(`(<${t[r]}[^>]*>)\\\\s+`, \"g\"), n = new RegExp(`\\\\s+(</${t[r]}>)`, \"g\");\n e = e.replace(s, \"$1\").replace(n, \"$1\");\n }\n return e;\n}, it = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*[^\\/])>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(w + \"nl!\", \"g\"), `\n`).replace(new RegExp(w + \"cr!\", \"g\"), \"\\r\").replace(new RegExp(w + \"ws!\", \"g\"), \" \"))), e), ot = (e) => (e = e.replace(/<[\\w:\\-]+([^>]*)>/g, (t, r) => t.replace(r, (s) => s.replace(new RegExp(w + \"lt!\", \"g\"), \"<\").replace(new RegExp(w + \"gt!\", \"g\"), \">\"))), e), at = (e, t) => {\n const r = t.ignore, s = t.ignore_with;\n for (let n = 0; n < r.length; n++) {\n const i = new RegExp(`<${r[n]}[^>]*>((.|\n)*?)</${r[n]}>`, \"g\");\n e = e.replace(i, (o, f) => o.replace(f, (l) => l.replace(new RegExp(\"-\" + s + \"lt-\", \"g\"), \"<\").replace(new RegExp(\"-\" + s + \"gt-\", \"g\"), \">\").replace(new RegExp(\"-\" + s + \"nl-\", \"g\"), `\n`).replace(new RegExp(\"-\" + s + \"cr-\", \"g\"), \"\\r\").replace(new RegExp(\"-\" + s + \"ws-\", \"g\"), \" \")));\n }\n return e;\n}, lt = (e) => {\n var s, n;\n if (typeof e != \"object\") throw new Error(\"Config must be an object.\");\n if (!(Object.hasOwn(e, \"ignore\") || Object.hasOwn(e, \"ignore_with\") || Object.hasOwn(e, \"strict\") || Object.hasOwn(e, \"tab_size\") || Object.hasOwn(e, \"tag_wrap\") || Object.hasOwn(e, \"tag_wrap_width\") || Object.hasOwn(e, \"trim\"))) return K;\n let r = e.tab_size;\n if (r) {\n if (typeof r != \"number\") throw new Error(`tab_size must be a number, not ${typeof e.tab_size}.`);\n if (!Number.isSafeInteger(r)) throw new Error(`Tab size ${r} is not safe. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger for more info.`);\n if (r = Math.floor(r), r < 1 || r > 16) throw new Error(\"Tab size out of range. Expecting 1 to 16.\");\n e.tab_size = r;\n }\n if (Object.hasOwn(e, \"ignore\") && (!Array.isArray(e.ignore) || !((s = e.ignore) != null && s.every((i) => typeof i == \"string\"))))\n throw new Error(\"Ignore config must be an array of strings.\");\n if (Object.hasOwn(e, \"ignore_with\") && typeof e.ignore_with != \"string\")\n throw new Error(`Ignore_with config must be a string, not ${typeof e.ignore_with}.`);\n if (Object.hasOwn(e, \"strict\") && typeof e.strict != \"boolean\")\n throw new Error(`Strict config must be a boolean, not ${typeof e.strict}.`);\n if (Object.hasOwn(e, \"tag_wrap\") && typeof e.tag_wrap != \"boolean\")\n throw new Error(`tag_wrap config must be a boolean, not ${typeof e.tag_wrap}.`);\n if (Object.hasOwn(e, \"tag_wrap_width\") && typeof e.tag_wrap_width != \"number\")\n throw new Error(`tag_wrap_width config must be a number, not ${typeof e.tag_wrap_width}.`);\n if (Object.hasOwn(e, \"trim\") && (!Array.isArray(e.trim) || !((n = e.trim) != null && n.every((i) => typeof i == \"string\"))))\n throw new Error(\"Trim config must be an array of strings.\");\n return et(K, e);\n}, ct = (e, t = !0) => t && !re(e) ? e : e.replace(/<([a-zA-Z\\-0-9:]+)[^>]*>/g, (r, s) => me.indexOf(s) > -1 ? `${r.substring(0, r.length - 1)} />`.replace(/\\/\\s\\//g, \"/\") : r.replace(/[\\s]?\\/>/g, `></${s}>`)), ft = (e, t = !1) => (e = e.replace(/<textarea[^>]*>((.|\\n)*?)<\\/textarea>/g, (r, s) => r.replace(s, (n) => n.replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(/\\n/g, \" \").replace(/\\r/g, \" \").replace(/\\s/g, \" \"))), t && (e = e.replace(/<textarea[^>]*>((.|\\n)*?)<\\/textarea>/g, (r, s) => (r = r.replace(s, (n) => n.replace(/\\n|\\t/g, \"\").replace(/[a-z]+=\"\\s*\"/ig, \"\").replace(/>\\s+</g, \"><\").replace(/\\s+/g, \" \")), r = r.replace(/\\s+/g, \" \").replace(/\\s>/g, \">\").replace(/>\\s/g, \">\").replace(/\\s</g, \"<\").replace(/class=[\"']\\s/g, (n) => n.replace(/\\s/g, \"\")).replace(/(class=.*)\\s([\"'])/g, \"$1$2\"), r))), e), ut = (e, t = !0) => t && !re(e) ? e : (e = ft(e), e.replace(/\\n|\\t/g, \"\").replace(/>\\s+</g, \"><\").replace(/\\s+/g, \" \").replace(/(.+=)\"\\s+\"/ig, '$1\"\"').replace(/(.+=)'\\s+'/ig, \"$1''\").replace(/\\s>/g, \">\").replace(/<\\s\\//g, \"</\").replace(/class=[\"']\\s/g, (r) => r.replace(/\\s/g, \"\")).replace(/(class=.*)\\s([\"'])/g, \"$1$2\"));\nlet I, Q;\nconst A = {\n line: []\n}, gt = (e) => {\n A.line = [];\n let t = -1;\n const r = /(<[^>]+>)|([^<]+)/g;\n return e = e.replace(r, (s, n, i) => (n ? A.line.push({ type: \"tag\", value: s }) : i && i.trim().length > 0 && A.line.push({ type: \"text\", value: s }), t++, `\n[#-# : ${t} : ${s} : #-#]\n`)), e;\n}, pt = (e) => (e = ct(e, !1), Q.length > 0 && (e = nt(e, Q)), e = ut(e, !1), e = gt(e), e), $t = (e, t) => {\n const r = t.tab_size, s = t.tag_wrap, n = t.tag_wrap_width;\n let i = \"\";\n A.line.forEach((l, c) => {\n e = e.replace(/\\n+/g, `\n`).replace(`[#-# : ${c} : ${l.value} : #-#]`, (g) => {\n var v, N;\n let a = 0;\n const p = `[#-# : ${c - 1} : ${(v = A.line[c - 1]) == null ? void 0 : v.value} : #-#]`;\n i += \"0\", c === 0 && a++, g.indexOf(`#-# : ${c} : </`) > -1 && a++, p.indexOf(\"<!doctype\") > -1 && a++, p.indexOf(\"<!--\") > -1 && a++, p.indexOf(\"/> : #-#\") > -1 && a++, p.indexOf(`#-# : ${c - 1} : </`) > -1 && a++, ((N = A.line[c - 1]) == null ? void 0 : N.type) === \"text\" && a++;\n const u = i.length - a;\n if (i = i.substring(0, u), I && g.indexOf(\"<!--\") > -1) return \"\";\n const $ = g.replace(`[#-# : ${c} : `, \"\").replace(\" : #-#]\", \"\");\n if (s && /<[A-Za-z]+\\b[^>]*(?:.|\\n)*?\\/?>/g.test(l.value) && l.value.length > n) {\n const L = /\\s{1}[A-Za-z-]+(?:=\".*?\")?/g, _ = l.value.split(L).filter(Boolean), y = l.value.matchAll(L), H = r * u, Ae = H + r;\n let P = _[0].padStart(_[0].length + H) + `\n`;\n for (const se of y) {\n const je = se[0].trim().padStart(se[0].trim().length + Ae) + `\n`;\n P += je;\n }\n const Te = _[1].padStart(\n _[1].trim().length + H + (I && me.includes(_[0].slice(1)) ? 1 : 0)\n );\n return P += Te, P;\n } else\n return $.padStart($.length + r * u);\n });\n }), s && (e = tt(e)), e = e.replace(\n /<(?<Element>.+).*>[^<]*?[^><\\/\\s][^<]*?<\\/{1}\\k<Element>|<script[^>]*>\\s+<\\/script>|<(\\w+)>\\s+<\\/(\\w+)|<(?:([\\w:\\._-]+)|([\\w:\\._-]+)[^>]*[^\\/])>\\s+<\\/([\\w:\\._-]+)>/g,\n (l) => l.replace(/\\n|\\t|\\s{2,}/g, \"\")\n ), s && (e = it(e)), I && (e = e.replace(/\\s\\/>|\\/>/g, \">\"));\n const o = e.substring(0, 1), f = e.substring(e.length - 1);\n return o === `\n` && (e = e.substring(1, e.length)), f === `\n` && (e = e.substring(0, e.length - 1)), e;\n}, dt = (e, t) => {\n if (!re(e)) return e;\n const r = t ? lt(t) : K;\n I = r.strict;\n const s = r.ignore.length > 0;\n return Q = r.trim, s && (e = st(e, r)), e = rt(e), e = pt(e), e = $t(e, r), e = ot(e), s && (e = at(e, r)), e;\n}, yt = (e, t, r) => {\n [null, void 0, \"\", !1].includes(r) || [\"innerHTML\", \"style\", \"\"].includes(t) || e.setAttribute(t, [\"object\", \"function\"].includes(typeof r) ? \"⚠️ Property must be set through a script or a framework-specific syntax.\" : r);\n}, Oe = (e, t, r, s, n) => {\n if (t && typeof t == \"string\") {\n const i = document.createElement(t);\n Object.keys(r || {}).forEach((o) => {\n yt(i, o, r[o]);\n }), s == null || s.forEach((o) => {\n Oe(i, o.$tag$, o.$attrs$, o.$children$, o.$text$);\n }), r != null && r.innerHTML && (i.innerHTML = r.innerHTML), e.appendChild(i);\n }\n n && (e.innerHTML = n);\n}, Ft = (e, t, r = []) => {\n const s = {};\n if (typeof e != \"object\")\n throw new Error(\"filterArgs - args isn't an object.\");\n for (const n in e)\n if (!r.includes(n)) {\n const i = e[n], o = n.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n (!t || !Object.keys(t).includes(n) || t[n] !== i) && (s[o] = i);\n }\n return s;\n}, It = (e, t) => {\n var s, n;\n const r = document.getElementById(\"storybook-root\");\n if (r !== null)\n return (n = document.querySelector(\"[lang]\")) == null || n.setAttribute(\"lang\", ((s = t.globals) == null ? void 0 : s.locale) || \"en\"), Ve(\n {\n $cmpMeta$: {\n $flags$: 0,\n $tagName$: r.tagName\n },\n $hostElement$: r\n },\n e(t)\n ), r.children[r.children.length - 1];\n}, Ct = ({ $tag$: e, $attrs$: t, $children$: r, $text$: s }) => {\n const n = document.createElement(\"div\");\n return Oe(n, e, t, r, s), dt(n.innerHTML, { tag_wrap: !0 }).replace(/=\"true\"/g, \"\");\n}, Z = (e, t) => {\n if (!t)\n return;\n const r = t.split(\"/\");\n return `${e}${r.slice(2, r.length - 1).join(\"-\")}--docs`;\n};\nvar m, q;\nclass Ut {\n constructor(t) {\n /**\n * JsonDocs\n */\n d(this, \"jsonDoc\");\n /**\n * Get component data from the jsonDoc\n * @param tagName - tag name we want to get the data from\n * @returns component data\n */\n G(this, m, (t) => this.jsonDoc.components.find((r) => r.tag === t));\n /**\n * Get the control for the given prop\n * Based on https://storybook.js.org/docs/api/arg-types#controltype\n * @param prop - prop to get control for\n * @returns control type and options if applicable\n */\n G(this, q, (t) => {\n const r = t.type.replace(/\"([^\"]+)\"/g, \"$1\").replace(/\\s/g, \"\").replace(/\\(.*?\\)/g, (s) => s.replace(/\\|/g, \" OR \")).split(\"|\").map((s) => s.trim().replace(/ OR /g, \"|\"));\n return t.type === \"string\" ? { control: { type: \"text\" } } : t.type === \"number\" ? { control: { type: \"number\" } } : t.type === \"boolean\" ? { control: { type: \"boolean\" } } : t.type.startsWith(\"{\") && t.type.endsWith(\"}\") ? { control: { type: \"object\" } } : r.length > 1 ? r.includes(\"string\") ? { control: { type: \"text\" } } : r.every((s) => s == null ? void 0 : s.includes(\"[]\")) ? { control: { type: \"object\" } } : (r.unshift(void 0), { control: { type: \"select\" }, options: r }) : { control: { type: \"object\" } };\n });\n /**\n * Extract component arg types from the component data\n * @param tagName - tag name we want to extract the arg types from\n * @returns component arg types\n */\n d(this, \"extractArgTypes\", (t) => {\n const r = O(this, m).call(this, t), s = r == null ? void 0 : r.props.reduce((g, a) => {\n const { control: p, options: u } = O(this, q).call(this, a);\n return {\n ...g,\n [a.name]: {\n name: a.attr || a.name,\n description: a.docs,\n type: { required: a.required },\n table: {\n category: \"props\",\n type: { summary: a.type },\n defaultValue: { summary: a.default }\n },\n control: p,\n options: u\n }\n };\n }, {}), n = r == null ? void 0 : r.events.reduce(\n (g, a) => ({\n ...g,\n [a.event]: {\n name: a.event,\n description: a.docs,\n table: {\n category: \"events\",\n type: { summary: a.detail }\n }\n }\n }),\n {}\n ), i = r == null ? void 0 : r.methods.reduce(\n (g, a) => ({\n ...g,\n [a.name]: {\n name: a.name,\n description: a.docs,\n table: {\n category: \"methods\",\n type: { summary: a.signature }\n }\n }\n }),\n {}\n ), o = r == null ? void 0 : r.slots.reduce(\n (g, a) => ({\n ...g,\n [a.name]: {\n name: a.name !== \"\" ? a.name : \"default\",\n // default slot are unnamed\n description: a.docs,\n table: {\n category: \"slots\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), f = r == null ? void 0 : r.styles.reduce(\n (g, a) => ({\n ...g,\n [a.name]: {\n name: a.name,\n description: a.docs,\n table: {\n category: \"custom properties\",\n type: { summary: void 0 }\n }\n }\n }),\n {}\n ), l = r == null ? void 0 : r.dependencies.reduce((g, a) => {\n const p = O(this, m).call(this, a);\n return p ? {\n ...g,\n [a]: {\n name: a,\n description: `<a href=\"./?path=/docs/${Z(\"\", p == null ? void 0 : p.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"depends on\",\n type: { summary: void 0 }\n }\n }\n } : g;\n }, {}), c = r == null ? void 0 : r.dependents.reduce((g, a) => {\n const p = O(this, m).call(this, a);\n return p ? {\n ...g,\n [a]: {\n name: a,\n description: `<a href=\"./?path=/docs/${Z(\"\", p == null ? void 0 : p.filePath)}\">View Component Documentation</a>`,\n table: {\n category: \"used by\",\n type: { summary: void 0 }\n }\n }\n } : g;\n }, {});\n return {\n ...s,\n ...n,\n ...i,\n ...o,\n ...f,\n ...l,\n ...c\n };\n });\n /**\n * Extract component description from the component data\n * @param tagName - tag name we want to extract the description from\n * @returns component description\n */\n d(this, \"extractComponentDescription\", (t) => {\n const r = O(this, m).call(this, t);\n return (r == null ? void 0 : r.readme) || (r == null ? void 0 : r.docs);\n });\n this.jsonDoc = t;\n }\n}\nm = new WeakMap(), q = new WeakMap();\nconst bt = (e, t) => {\n if (t)\n return `${e}${t}`;\n}, ke = (e) => {\n let t = e.overview ? `${e.overview}\n\n` : \"\";\n const r = e.props.filter(({ attr: n }) => n !== void 0);\n r.length && (t += `Attributes:\n`, t += r.map(({ attr: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`);\n const s = e.props.filter(({ attr: n }) => n === void 0);\n return s.length && (t += `Properties:\n`, t += s.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.methods.length && (t += `Methods:\n`, t += e.methods.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.events.length && (t += `Events:\n`, t += e.events.map(({ event: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), e.listeners.length && (t += `Listeners:\n`, t += e.listeners.map(({ event: n }) => `- \\`${n}\\`\n`).join(\"\"), t += `\n`), e.slots.length && (t += `Slots:\n`, t += e.slots.map(({ name: n, docs: i }) => `- \\`${n}\\`: ${i}\n`).join(\"\"), t += `\n`), t;\n}, V = (e) => `${e.docs}\n\nType: \\`${e.type}\\``, Dt = (e, t, r, s) => ({\n $schema: \"https://json.schemastore.org/web-types\",\n name: e,\n version: t,\n \"description-markup\": \"markdown\",\n contributions: {\n html: {\n elements: r.components.map((n) => {\n const i = Z(s, n.filePath);\n return {\n name: n.tag,\n description: ke(n),\n \"doc-url\": i,\n attributes: n.props.filter((o) => o.attr).map((o) => ({\n name: o.attr,\n description: V(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n js: {\n properties: n.props.map((o) => ({\n name: o.name,\n description: V(o),\n \"doc-url\": i,\n value: {\n type: o.type,\n default: o.default,\n required: o.required\n }\n })),\n events: n.events.map((o) => ({\n name: o.event,\n description: o.docs\n }))\n },\n css: {\n properties: n.styles.map((o) => ({\n name: o.name,\n description: o.docs\n }))\n }\n };\n })\n }\n }\n}), vt = (e, t, r) => [\n { name: \"Storybook\", url: Z(e, r) },\n { name: \"Sources\", url: bt(t, r) }\n], ht = (e) => {\n if (!e.values.some(({ value: t }) => t === void 0))\n return e.values.map(({ value: t }) => ({ name: t }));\n}, Zt = (e, t, r) => ({\n version: 1.1,\n tags: e.components.map((s) => {\n const n = vt(t, r, s.filePath);\n return {\n name: s.tag,\n description: ke(s),\n attributes: s.props.map((i) => ({\n name: i.attr || i.name,\n description: V(i),\n values: ht(i),\n references: n\n })),\n references: n\n };\n }),\n globalAttributes: [],\n valueSets: []\n}), qt = (e) => ({\n version: 1.1,\n properties: e.components.flatMap(\n (t) => t.styles.map((r) => ({\n name: r.name,\n description: r.docs\n }))\n )\n}), Bt = (e) => {\n const t = { value: \"2023\", pattern: \"yyyy\" }, r = { value: \"12\", pattern: \"mm\" }, s = { value: \"24\", pattern: \"dd\" };\n return Et([t.value, r.value, s.value].join(\"-\"), e, { timeZone: \"UTC\" }).replace(t.value, t.pattern).replace(r.value, r.pattern).replace(s.value, s.pattern);\n}, Ht = (e) => e.toISOString().split(\"T\")[0], _t = (e, t, r) => {\n const s = e.closest(\"[lang]\"), n = Intl.NumberFormat.supportedLocalesOf(s == null ? void 0 : s.lang), i = n.length > 0 && typeof n[0] == \"string\" ? n[0] : navigator.language || r, o = i.split(\"-\").shift();\n return Object.keys(t).length === 0 ? {\n locale: i,\n messages: { lang: r }\n } : {\n locale: i,\n messages: t[o] || t[r] || { lang: r }\n };\n}, Pt = (e, t, r) => new Intl.NumberFormat(t, { style: \"currency\", currency: r }).format(e), Gt = (e, t, r = 0) => new Intl.NumberFormat(t, { minimumFractionDigits: r }).format(Number(e)), Wt = (e, t, r = 0) => new Intl.NumberFormat(t, {\n style: \"percent\",\n minimumFractionDigits: r,\n maximumFractionDigits: r\n}).format(e), Xt = (e, t, r, s = \"short\", n = 0) => new Intl.NumberFormat(t, {\n style: \"unit\",\n unit: r,\n unitDisplay: s,\n minimumFractionDigits: n,\n maximumFractionDigits: n\n}).format(e), wt = /^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$/, Et = (e, t, r) => typeof e != \"string\" || e === \"\" || !wt.test(e) ? \"\" : new Intl.DateTimeFormat(t, r).format(new Date(e)), Jt = (e, t) => (r) => _t(r, e, t), Yt = ({ disconnect: e, observe: t, takeRecords: r }) => {\n class s {\n constructor(i) {\n /**\n *\n */\n d(this, \"disconnect\", e);\n /**\n *\n */\n d(this, \"observe\", t);\n /**\n *\n */\n d(this, \"takeRecords\", r);\n /**\n *\n */\n d(this, \"cb\");\n this.cb = i;\n }\n }\n return [window, global].forEach((n) => {\n Object.defineProperty(n, \"MutationObserver\", {\n writable: !0,\n configurable: !0,\n value: s\n });\n }), s;\n}, Kt = ({ disconnect: e, observe: t }) => {\n class r {\n constructor(n) {\n /**\n *\n */\n d(this, \"disconnect\", e);\n /**\n *\n */\n d(this, \"observe\", t);\n /**\n *\n */\n d(this, \"unobserve\");\n /**\n *\n */\n d(this, \"cb\");\n this.cb = n;\n }\n }\n return [window, global].forEach((s) => {\n Object.defineProperty(s, \"ResizeObserver\", {\n writable: !0,\n configurable: !0,\n value: r\n });\n }), r;\n};\nclass St extends Event {\n constructor() {\n super(...arguments);\n /**\n *\n */\n d(this, \"detail\");\n }\n // eslint-disable-line @typescript-eslint/no-explicit-any\n}\nconst Qt = () => {\n class e extends St {\n }\n return [window, global].forEach((t) => {\n Object.defineProperty(t, \"SubmitEvent\", {\n writable: !0,\n configurable: !0,\n value: e\n });\n }), e;\n}, Vt = (e) => {\n const t = (r) => (setTimeout(r, 1), e(), 0);\n return [window, global].forEach((r) => {\n Object.defineProperty(r, \"requestAnimationFrame\", {\n writable: !0,\n configurable: !0,\n value: t\n });\n }), t;\n};\nexport {\n kt as ClassList,\n Ut as StorybookPreview,\n At as allItemsAreString,\n Lt as cleanString,\n xt as createID,\n wt as dateRegExp,\n Ht as dateToString,\n Jt as defineLocales,\n Ft as filterArgs,\n jt as focusableElements,\n Bt as getLocaleDatePattern,\n ge as getParentWindows,\n Ct as getStoryHTML,\n Z as getStorybookUrl,\n Rt as getWindows,\n Tt as isTagName,\n Nt as isValidNumber,\n Le as isValidString,\n Ot as isValideID,\n Pt as localeCurrency,\n Et as localeDate,\n Gt as localeNumber,\n Wt as localePercent,\n Xt as localeUnit,\n Mt as nextTick,\n Vt as setUpRequestAnimationFrameMock,\n Yt as setupMutationObserverMock,\n Kt as setupResizeObserverMock,\n Qt as setupSubmitEventMock,\n It as stencilWrapper,\n zt as toString,\n qt as vsCodeCssGenerator,\n Zt as vsCodeGenerator,\n Dt as webTypesGenerator\n};\n//# sourceMappingURL=index.es.js.map\n"],"names":[],"mappings":";;AAAA,IAAI,EAAE,GAAG,MAAM,CAAC,cAAc;AAI9B,IAAI,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,IAAE,EAAE,YAAY,EAAE,IAAE,EAAE,QAAQ,EAAE,IAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAC7G,IAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,IAAI,QAAQ,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAE3D,MAAC,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,KAAK;AAC/B,EAAE,MAAM,CAAC,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC;AAC7B,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;AAC3B,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,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