@mgdis/mg-components 6.13.1 → 6.14.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/dist/cjs/events.utils-D5SAtkpQ.js +0 -3
- package/dist/cjs/index-CwjAofQ1.js +0 -3
- package/dist/cjs/index-DUJwxnoi.js +0 -3
- package/dist/cjs/{index-CATFkm3O.js → index-DzBkSgSK.js} +224 -122
- package/dist/cjs/index.cjs.js +0 -3
- package/dist/cjs/loader.cjs.js +3 -7
- package/dist/cjs/mg-action-more_37.cjs.entry.js +141 -75
- package/dist/cjs/mg-alert.cjs.entry.js +5 -8
- package/dist/cjs/mg-components.cjs.js +4 -8
- package/dist/cjs/mg-input-combobox.cjs.entry.js +7 -10
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +3 -6
- package/dist/cjs/mg-input.conf-WTsvDfpC.js +0 -3
- package/dist/cjs/mg-loader.cjs.entry.js +1 -4
- package/dist/cjs/mg-progress.cjs.entry.js +1 -4
- package/dist/collection/assets/icons/index.js +0 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +3 -4
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +4 -5
- package/dist/collection/components/atoms/mg-badge/mg-badge.conf.js +0 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +4 -5
- package/dist/collection/components/atoms/mg-button/mg-button.conf.js +0 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +9 -10
- package/dist/collection/components/atoms/mg-card/mg-card.conf.js +4 -0
- package/dist/collection/components/atoms/mg-card/mg-card.js +104 -2
- package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -2
- package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js +0 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +6 -7
- package/dist/collection/components/atoms/mg-tag/mg-tag.conf.js +0 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +3 -4
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -2
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.conf.js +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +5 -6
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +33 -18
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +7 -6
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +21 -21
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +22 -20
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +17 -18
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +26 -27
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +18 -19
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +17 -17
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +18 -18
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +38 -32
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +25 -25
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +23 -24
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +15 -15
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.conf.js +0 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +4 -3
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +4 -4
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.conf.js +0 -1
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +5 -6
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js +0 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +5 -3
- package/dist/collection/components/molecules/mg-alert/mg-alert.conf.js +0 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +7 -8
- package/dist/collection/components/molecules/mg-details/mg-details.js +4 -5
- package/dist/collection/components/molecules/mg-form/mg-form.conf.js +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js +9 -10
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.js +0 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +2 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +2 -3
- package/dist/collection/components/molecules/mg-message/mg-message.conf.js +0 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +4 -5
- package/dist/collection/components/molecules/mg-modal/mg-modal.conf.js +0 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +6 -7
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.conf.js +0 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +7 -7
- package/dist/collection/components/molecules/mg-panel/mg-panel.conf.js +0 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +34 -11
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +2 -3
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +6 -7
- package/dist/collection/components/molecules/mg-progress/mg-progress.conf.js +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +5 -6
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.conf.js +0 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +5 -4
- package/dist/collection/components/molecules/mg-table/mg-table.conf.js +0 -1
- package/dist/collection/components/molecules/mg-table/mg-table.js +4 -4
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +6 -6
- package/dist/collection/index.js +0 -1
- package/dist/collection/locales/index.conf.js +0 -1
- package/dist/collection/locales/index.js +0 -1
- package/dist/collection/types/index.js +0 -1
- package/dist/collection/utils/behaviors.utils.js +0 -1
- package/dist/collection/utils/events.utils.js +0 -1
- package/dist/collection/utils/playwright.fixture.js +0 -1
- package/dist/collection/utils/unit.test.utils.js +0 -1
- package/dist/components/events.utils.js +0 -3
- package/dist/components/index.js +1 -4
- package/dist/components/index2.js +0 -3
- package/dist/components/index3.js +0 -3
- package/dist/components/mg-action-more.js +0 -3
- package/dist/components/mg-alert.js +4 -7
- package/dist/components/mg-badge.js +0 -3
- package/dist/components/mg-badge2.js +0 -3
- package/dist/components/mg-button.js +0 -3
- package/dist/components/mg-button2.js +0 -3
- package/dist/components/mg-card.js +0 -3
- package/dist/components/mg-card2.js +55 -6
- package/dist/components/mg-character-left.js +0 -3
- package/dist/components/mg-character-left2.js +0 -3
- package/dist/components/mg-details.js +0 -3
- package/dist/components/mg-divider.js +0 -3
- package/dist/components/mg-divider2.js +0 -3
- package/dist/components/mg-form.js +0 -3
- package/dist/components/mg-icon.js +0 -3
- package/dist/components/mg-icon2.js +0 -3
- package/dist/components/mg-illustrated-message.js +0 -3
- package/dist/components/mg-input-checkbox-paginated.js +0 -3
- package/dist/components/mg-input-checkbox-paginated2.js +0 -3
- package/dist/components/mg-input-checkbox.js +1 -4
- package/dist/components/mg-input-combobox.js +1 -4
- package/dist/components/mg-input-date.js +1 -4
- package/dist/components/mg-input-numeric.js +1 -4
- package/dist/components/mg-input-password.js +1 -4
- package/dist/components/mg-input-radio.js +1 -4
- package/dist/components/mg-input-rich-text-editor.js +0 -3
- package/dist/components/mg-input-select.js +0 -3
- package/dist/components/mg-input-select2.js +18 -15
- package/dist/components/mg-input-text.js +0 -3
- package/dist/components/mg-input-text2.js +1 -4
- package/dist/components/mg-input-textarea.js +1 -4
- package/dist/components/mg-input-title.js +0 -3
- package/dist/components/mg-input-title2.js +0 -3
- package/dist/components/mg-input-toggle.js +1 -4
- package/dist/components/mg-input.js +0 -3
- package/dist/components/mg-input2.js +16 -6
- package/dist/components/mg-item-more.js +0 -3
- package/dist/components/mg-item-more2.js +0 -3
- package/dist/components/mg-loader.js +0 -3
- package/dist/components/mg-loader2.js +0 -3
- package/dist/components/mg-menu-item.js +0 -3
- package/dist/components/mg-menu-item2.js +0 -3
- package/dist/components/mg-menu.js +0 -3
- package/dist/components/mg-message.js +0 -3
- package/dist/components/mg-message2.js +2 -5
- package/dist/components/mg-modal.js +1 -4
- package/dist/components/mg-pagination.js +0 -3
- package/dist/components/mg-pagination2.js +0 -3
- package/dist/components/mg-panel.js +7 -5
- package/dist/components/mg-popover-content.js +0 -3
- package/dist/components/mg-popover-content2.js +1 -4
- package/dist/components/mg-popover.js +0 -3
- package/dist/components/mg-popover2.js +0 -3
- package/dist/components/mg-progress.js +0 -3
- package/dist/components/mg-skip-links.js +4 -6
- package/dist/components/mg-table.js +1 -4
- package/dist/components/mg-tabs.js +1 -4
- package/dist/components/mg-tag.js +0 -3
- package/dist/components/mg-tooltip-content.js +0 -3
- package/dist/components/mg-tooltip-content2.js +0 -3
- package/dist/components/mg-tooltip.js +0 -3
- package/dist/components/mg-tooltip2.js +0 -3
- package/dist/components/popper.js +0 -3
- package/dist/esm/events.utils-yMGqY8YG.js +0 -3
- package/dist/esm/index-Bv7NHR-W.js +0 -3
- package/dist/esm/{index-CAuxALt5.js → index-Degtjvph.js} +205 -122
- package/dist/esm/index-Dr7GYvIz.js +0 -3
- package/dist/esm/index.js +0 -3
- package/dist/esm/loader.js +3 -7
- package/dist/esm/mg-action-more_37.entry.js +141 -75
- package/dist/esm/mg-alert.entry.js +5 -8
- package/dist/esm/mg-components.js +4 -8
- package/dist/esm/mg-input-combobox.entry.js +7 -10
- package/dist/esm/mg-input-rich-text-editor.entry.js +3 -6
- package/dist/esm/mg-input.conf-CNgv8hc5.js +0 -3
- package/dist/esm/mg-loader.entry.js +1 -4
- package/dist/esm/mg-progress.entry.js +1 -4
- package/dist/mg-components/index.esm.js +0 -2
- package/dist/mg-components/mg-components.css +1 -1
- package/dist/mg-components/mg-components.esm.js +1 -2
- package/dist/mg-components/p-056ba467.entry.js +1 -0
- package/dist/mg-components/p-625c463c.entry.js +1 -0
- package/dist/mg-components/p-Bv7NHR-W.js +1 -2
- package/dist/mg-components/p-CNgv8hc5.js +1 -2
- package/dist/mg-components/p-Degtjvph.js +2 -0
- package/dist/mg-components/p-Dr7GYvIz.js +1 -2
- package/dist/mg-components/p-c522f3c1.entry.js +1 -0
- package/dist/mg-components/p-cac23bd7.entry.js +1 -0
- package/dist/mg-components/p-d13a6fdc.entry.js +1 -0
- package/dist/mg-components/p-e75f5383.entry.js +10 -0
- package/dist/mg-components/p-yMGqY8YG.js +1 -2
- package/dist/types/components/atoms/mg-card/mg-card.conf.d.ts +9 -0
- package/dist/types/components/atoms/mg-card/mg-card.d.ts +20 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +1 -1
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +5 -4
- package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +4 -0
- package/dist/types/components.d.ts +406 -3
- package/dist/types/stencil-public-runtime.d.ts +34 -6
- package/ide/intellij/web-types.json +263 -35
- package/ide/vscode/css-custom-data.json +3 -3
- package/ide/vscode/html-custom-data.json +88 -34
- package/package.json +16 -16
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/events.utils-D5SAtkpQ.js.map +0 -1
- package/dist/cjs/index-CATFkm3O.js.map +0 -1
- package/dist/cjs/index-CwjAofQ1.js.map +0 -1
- package/dist/cjs/index-DUJwxnoi.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/mg-action-more_37.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-alert.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-components.cjs.js.map +0 -1
- package/dist/cjs/mg-input-combobox.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-input-combobox.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-input-rich-text-editor.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-input.conf-WTsvDfpC.js.map +0 -1
- package/dist/cjs/mg-loader.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-loader.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-progress.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-progress.entry.cjs.js.map +0 -1
- package/dist/collection/assets/icons/index.js.map +0 -1
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js.map +0 -1
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js.map +0 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +0 -1
- package/dist/collection/components/atoms/mg-button/mg-button.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js.map +0 -1
- package/dist/collection/components/atoms/mg-card/mg-card.js.map +0 -1
- package/dist/collection/components/atoms/mg-divider/mg-divider.js.map +0 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js.map +0 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js.map +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +0 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.conf.js.map +0 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.conf.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js.map +0 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +0 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.js.map +0 -1
- package/dist/collection/components/molecules/mg-details/mg-details.js.map +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js.map +0 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js.map +0 -1
- package/dist/collection/components/molecules/mg-loader/mg-loader.js.map +0 -1
- package/dist/collection/components/molecules/mg-message/mg-message.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js.map +0 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.js.map +0 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +0 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +0 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js.map +0 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.js.map +0 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js.map +0 -1
- package/dist/collection/components/molecules/mg-table/mg-table.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-table/mg-table.js.map +0 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/locales/index.conf.js.map +0 -1
- package/dist/collection/locales/index.js.map +0 -1
- package/dist/collection/types/index.js.map +0 -1
- package/dist/collection/utils/behaviors.utils.js.map +0 -1
- package/dist/collection/utils/events.utils.js.map +0 -1
- package/dist/collection/utils/playwright.fixture.js.map +0 -1
- package/dist/collection/utils/unit.test.utils.js.map +0 -1
- package/dist/components/events.utils.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/index3.js.map +0 -1
- package/dist/components/mg-action-more.js.map +0 -1
- package/dist/components/mg-alert.js.map +0 -1
- package/dist/components/mg-badge.js.map +0 -1
- package/dist/components/mg-badge2.js.map +0 -1
- package/dist/components/mg-button.js.map +0 -1
- package/dist/components/mg-button2.js.map +0 -1
- package/dist/components/mg-card.js.map +0 -1
- package/dist/components/mg-card2.js.map +0 -1
- package/dist/components/mg-character-left.js.map +0 -1
- package/dist/components/mg-character-left2.js.map +0 -1
- package/dist/components/mg-details.js.map +0 -1
- package/dist/components/mg-divider.js.map +0 -1
- package/dist/components/mg-divider2.js.map +0 -1
- package/dist/components/mg-form.js.map +0 -1
- package/dist/components/mg-icon.js.map +0 -1
- package/dist/components/mg-icon2.js.map +0 -1
- package/dist/components/mg-illustrated-message.js.map +0 -1
- package/dist/components/mg-input-checkbox-paginated.js.map +0 -1
- package/dist/components/mg-input-checkbox-paginated2.js.map +0 -1
- package/dist/components/mg-input-checkbox.js.map +0 -1
- package/dist/components/mg-input-combobox.js.map +0 -1
- package/dist/components/mg-input-date.js.map +0 -1
- package/dist/components/mg-input-numeric.js.map +0 -1
- package/dist/components/mg-input-password.js.map +0 -1
- package/dist/components/mg-input-radio.js.map +0 -1
- package/dist/components/mg-input-rich-text-editor.js.map +0 -1
- package/dist/components/mg-input-select.js.map +0 -1
- package/dist/components/mg-input-select2.js.map +0 -1
- package/dist/components/mg-input-text.js.map +0 -1
- package/dist/components/mg-input-text2.js.map +0 -1
- package/dist/components/mg-input-textarea.js.map +0 -1
- package/dist/components/mg-input-title.js.map +0 -1
- package/dist/components/mg-input-title2.js.map +0 -1
- package/dist/components/mg-input-toggle.js.map +0 -1
- package/dist/components/mg-input.js.map +0 -1
- package/dist/components/mg-input2.js.map +0 -1
- package/dist/components/mg-item-more.js.map +0 -1
- package/dist/components/mg-item-more2.js.map +0 -1
- package/dist/components/mg-loader.js.map +0 -1
- package/dist/components/mg-loader2.js.map +0 -1
- package/dist/components/mg-menu-item.js.map +0 -1
- package/dist/components/mg-menu-item2.js.map +0 -1
- package/dist/components/mg-menu.js.map +0 -1
- package/dist/components/mg-message.js.map +0 -1
- package/dist/components/mg-message2.js.map +0 -1
- package/dist/components/mg-modal.js.map +0 -1
- package/dist/components/mg-pagination.js.map +0 -1
- package/dist/components/mg-pagination2.js.map +0 -1
- package/dist/components/mg-panel.js.map +0 -1
- package/dist/components/mg-popover-content.js.map +0 -1
- package/dist/components/mg-popover-content2.js.map +0 -1
- package/dist/components/mg-popover.js.map +0 -1
- package/dist/components/mg-popover2.js.map +0 -1
- package/dist/components/mg-progress.js.map +0 -1
- package/dist/components/mg-skip-links.js.map +0 -1
- package/dist/components/mg-table.js.map +0 -1
- package/dist/components/mg-tabs.js.map +0 -1
- package/dist/components/mg-tag.js.map +0 -1
- package/dist/components/mg-tooltip-content.js.map +0 -1
- package/dist/components/mg-tooltip-content2.js.map +0 -1
- package/dist/components/mg-tooltip.js.map +0 -1
- package/dist/components/mg-tooltip2.js.map +0 -1
- package/dist/components/popper.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -6
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/events.utils-yMGqY8YG.js.map +0 -1
- package/dist/esm/index-Bv7NHR-W.js.map +0 -1
- package/dist/esm/index-CAuxALt5.js.map +0 -1
- package/dist/esm/index-Dr7GYvIz.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/mg-action-more_37.entry.js.map +0 -1
- package/dist/esm/mg-alert.entry.js.map +0 -1
- package/dist/esm/mg-components.js.map +0 -1
- package/dist/esm/mg-input-combobox.entry.js.map +0 -1
- package/dist/esm/mg-input-rich-text-editor.entry.js.map +0 -1
- package/dist/esm/mg-input.conf-CNgv8hc5.js.map +0 -1
- package/dist/esm/mg-loader.entry.js.map +0 -1
- package/dist/esm/mg-progress.entry.js.map +0 -1
- package/dist/mg-components/index.esm.js.map +0 -1
- package/dist/mg-components/loader.esm.js.map +0 -1
- package/dist/mg-components/mg-alert.entry.esm.js.map +0 -1
- package/dist/mg-components/mg-components.esm.js.map +0 -1
- package/dist/mg-components/mg-input-combobox.entry.esm.js.map +0 -1
- package/dist/mg-components/mg-input-rich-text-editor.entry.esm.js.map +0 -1
- package/dist/mg-components/mg-loader.entry.esm.js.map +0 -1
- package/dist/mg-components/mg-progress.entry.esm.js.map +0 -1
- package/dist/mg-components/p-19cbc6e6.entry.js +0 -11
- package/dist/mg-components/p-19cbc6e6.entry.js.map +0 -1
- package/dist/mg-components/p-269e2a80.entry.js +0 -2
- package/dist/mg-components/p-269e2a80.entry.js.map +0 -1
- package/dist/mg-components/p-2dea7d37.entry.js +0 -2
- package/dist/mg-components/p-2dea7d37.entry.js.map +0 -1
- package/dist/mg-components/p-415f14fb.entry.js +0 -2
- package/dist/mg-components/p-415f14fb.entry.js.map +0 -1
- package/dist/mg-components/p-Bv7NHR-W.js.map +0 -1
- package/dist/mg-components/p-CAuxALt5.js +0 -3
- package/dist/mg-components/p-CAuxALt5.js.map +0 -1
- package/dist/mg-components/p-CNgv8hc5.js.map +0 -1
- package/dist/mg-components/p-DQuL1Twl.js +0 -2
- package/dist/mg-components/p-DQuL1Twl.js.map +0 -1
- package/dist/mg-components/p-Dr7GYvIz.js.map +0 -1
- package/dist/mg-components/p-fe974d2b.entry.js +0 -2
- package/dist/mg-components/p-fe974d2b.entry.js.map +0 -1
- package/dist/mg-components/p-fea46548.entry.js +0 -2
- package/dist/mg-components/p-fea46548.entry.js.map +0 -1
- package/dist/mg-components/p-yMGqY8YG.js.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
3
|
-
|
|
4
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { getAssetPath, render, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -406,6 +406,3 @@ const getChildWindows = (localWindow, windows = []) => {
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
export { ClassList as C, Paginate as P, isValideID as a, isTagName as b, createID as c, allItemsAreString as d, cleanString as e, formatID as f, getWindows as g, Cursor as h, isValidString as i, Page as j, getObjectValueFromKey as k, isObject as l, focusableElements as m, nextTick as n, dateRegExp as o, dateToString as p, isValidNumber as q, toString as t };
|
|
409
|
-
//# sourceMappingURL=index2.js.map
|
|
410
|
-
|
|
411
|
-
//# sourceMappingURL=index2.js.map
|
|
@@ -462,6 +462,3 @@ const messages = { en, fr };
|
|
|
462
462
|
const initLocales = defineLocales(messages, defaultLocale);
|
|
463
463
|
|
|
464
464
|
export { localeDatePattern as a, localeNumber as b, localeUnit as c, localePercent as d, localeCurrency as e, initLocales as i, localeDate as l };
|
|
465
|
-
//# sourceMappingURL=index3.js.map
|
|
466
|
-
|
|
467
|
-
//# sourceMappingURL=index3.js.map
|
|
@@ -22,9 +22,9 @@ const MgAlert$1 = /*@__PURE__*/ proxyCustomElement(class MgAlert extends HTMLEle
|
|
|
22
22
|
super();
|
|
23
23
|
this.__registerHost();
|
|
24
24
|
this.__attachShadow();
|
|
25
|
-
this.componentShow = createEvent(this, "component-show",
|
|
26
|
-
this.componentHide = createEvent(this, "component-hide",
|
|
27
|
-
this.componentClose = createEvent(this, "component-close",
|
|
25
|
+
this.componentShow = createEvent(this, "component-show", 3);
|
|
26
|
+
this.componentHide = createEvent(this, "component-hide", 3);
|
|
27
|
+
this.componentClose = createEvent(this, "component-close", 3);
|
|
28
28
|
/************
|
|
29
29
|
* Internal *
|
|
30
30
|
************/
|
|
@@ -159,7 +159,7 @@ const MgAlert$1 = /*@__PURE__*/ proxyCustomElement(class MgAlert extends HTMLEle
|
|
|
159
159
|
* @returns HTML Element
|
|
160
160
|
*/
|
|
161
161
|
render() {
|
|
162
|
-
return (h("mg-message", { key: '
|
|
162
|
+
return (h("mg-message", { key: '397a9a25b825bc75479d4562bff61dedc8ddc891', class: this.classCollection.join(), role: ['info', 'success'].includes(this.variant) ? 'status' : 'alert', variant: this.variant, variantStyle: this.variantStyle }, h("slot", { key: '793fb1e88b5d68bd41598f020748ea2fb02d7f3b' }), this.hasActions ? (h("span", { slot: "actions" }, h("slot", { name: "actions" }))) : (h("span", { class: "mg-c-alert__close-button" }, h("mg-button", { "is-icon": true, variant: "flat", label: this.messages.alert.closeButton, onClick: this.handleClose }, h("mg-icon", { icon: "cross" }))))));
|
|
163
163
|
}
|
|
164
164
|
get element() { return this; }
|
|
165
165
|
static get watchers() { return {
|
|
@@ -220,6 +220,3 @@ const MgAlert = MgAlert$1;
|
|
|
220
220
|
const defineCustomElement = defineCustomElement$1;
|
|
221
221
|
|
|
222
222
|
export { MgAlert, defineCustomElement };
|
|
223
|
-
//# sourceMappingURL=mg-alert.js.map
|
|
224
|
-
|
|
225
|
-
//# sourceMappingURL=mg-alert.js.map
|
|
@@ -1,25 +1,77 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { C as ClassList } from './index2.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* List of all possibles radius size
|
|
6
|
+
*/
|
|
7
|
+
const radiusSizes = ['xsmall', 'small', 'medium'];
|
|
8
|
+
|
|
9
|
+
const mgCardCss = "/*!\n * @prop --mg-c-card-overflow: Defines the overflow property for the card. Unset by default, fallback on `--mg-c-card-overflow-default`.\n * @prop --mg-c-card-overflow-default: Defines the default overflow property for the card. Unset by default.\n * @prop --mg-c-card-min-width: Defines the min-width property for the card. Unset by default.\n * @prop --mg-c-card-max-width: Defines the max-width property for the card. Unset by default.\n * @prop --mg-c-card-spacing: Defines the padding property for the card. Unset by default, fallback on `--mg-c-card-spacing-default`.\n * @prop --mg-c-card-spacing-default: Defines the default padding property for the card. Default value: `--mg-b-size-16`.\n * @prop --mg-c-card-border: Defines the border property for the card. Unset by default, fallback on `--mg-c-card-border-default`.\n * @prop --mg-c-card-border-default: Defines the default border property for the card. Default value: `var(--mg-b-size-border) solid var(--mg-b-color-neutral-30)`.\n * @prop --mg-c-card-border-radius: Defines the border radius property for the card. Unset by default, fallback on `--mg-c-card-border-radius-default`.\n * @prop --mg-c-card-border-radius-default: Defines the default border radius property for the card. Default value: `--mg-b-size-12`.\n * @prop --mg-c-card-color-background: Defines the background property for the card. Unset by default, fallback on `--mg-c-card-color-background-default`.\n * @prop --mg-c-card-color-background-default: Defines the default background property for the card. Default value: `--mg-b-color-light`.\n * @prop --mg-c-card-box-shadow: Defines the box shadow property for the card. Unset by default, fallback on `--mg-c-card-box-shadow-default`.\n * @prop --mg-c-card-box-shadow-default: Defines the default box shadow property for the card. Default value: `--mg-b-box-shadow`.\n */.mg-c-card{position:relative;z-index:inherit;overflow:var(--mg-c-card-overflow, var(--mg-c-card-overflow-default));width:100%;min-width:var(--mg-c-card-min-width);max-width:var(--mg-c-card-max-width);box-sizing:border-box;padding:var(--mg-c-card-spacing, var(--mg-c-card-spacing-default));border:var(--mg-c-card-border, var(--mg-c-card-border-default));border-radius:var(--mg-c-card-border-radius, var(--mg-c-card-border-radius-default));background:var(--mg-c-card-color-background, var(--mg-c-card-color-background-default))}.mg-c-card ::slotted(*:not(mg-panel,mg-message,mg-modal)){--mg-c-card-border:var(--mg-c-card-border-default);--mg-c-card-spacing:var(--mg-c-card-spacing-default);--mg-c-card-border-radius:var(--mg-c-card-border-radius-default);--mg-c-card-color-background:var(--mg-c-card-color-background-default);--mg-c-card-box-shadow:var(--mg-c-card-box-shadow-default);--mg-c-card-max-width:unset;--mg-c-card-min-width:unset}.mg-c-card.mg-c-card--shadow{--mg-c-card-border:var(--mg-b-color-neutral-20);box-shadow:var(--mg-c-card-box-shadow, var(--mg-c-card-box-shadow-default))}.mg-c-card.mg-c-card--radius-xsmall{--mg-c-card-border-radius:var(--mg-b-size-4)}.mg-c-card.mg-c-card--radius-small{--mg-c-card-border-radius:var(--mg-b-size-8)}";
|
|
4
10
|
|
|
5
11
|
const MgCard = /*@__PURE__*/ proxyCustomElement(class MgCard extends HTMLElement {
|
|
6
12
|
constructor() {
|
|
7
13
|
super();
|
|
8
14
|
this.__registerHost();
|
|
9
15
|
this.__attachShadow();
|
|
16
|
+
/**
|
|
17
|
+
* Add box-shadow style
|
|
18
|
+
*/
|
|
19
|
+
this.shadow = false;
|
|
20
|
+
/**
|
|
21
|
+
* Define the border radius size
|
|
22
|
+
*/
|
|
23
|
+
this.radiusSize = 'medium';
|
|
24
|
+
/**
|
|
25
|
+
* Component classes
|
|
26
|
+
*/
|
|
27
|
+
this.classCollection = new ClassList(['mg-c-card']);
|
|
28
|
+
}
|
|
29
|
+
watchShadow(newValue) {
|
|
30
|
+
if (newValue) {
|
|
31
|
+
this.classCollection.add('mg-c-card--shadow');
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.classCollection.delete('mg-c-card--shadow');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
watchRadiusSize(newValue, oldValue) {
|
|
38
|
+
if (oldValue !== undefined && radiusSizes.includes(oldValue)) {
|
|
39
|
+
this.classCollection.delete(`mg-c-card--radius-${oldValue}`);
|
|
40
|
+
}
|
|
41
|
+
if (radiusSizes.includes(newValue)) {
|
|
42
|
+
this.classCollection.add(`mg-c-card--radius-${newValue}`);
|
|
43
|
+
}
|
|
10
44
|
}
|
|
11
45
|
/*************
|
|
12
46
|
* Lifecycle *
|
|
13
47
|
*************/
|
|
48
|
+
/**
|
|
49
|
+
* Check if component props are well configured on init
|
|
50
|
+
*/
|
|
51
|
+
componentWillLoad() {
|
|
52
|
+
this.watchShadow(this.shadow);
|
|
53
|
+
this.watchRadiusSize(this.radiusSize);
|
|
54
|
+
}
|
|
14
55
|
/**
|
|
15
56
|
* Render
|
|
16
57
|
* @returns HTML Element
|
|
17
58
|
*/
|
|
18
59
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '6f83c5f7f9e0aacf502e407450cfdf039635a1f1', class: this.classCollection.join() }, h("slot", { key: '6bf8c02d3c3c9d0719e45af96b41f54289e31961' })));
|
|
20
61
|
}
|
|
62
|
+
static get watchers() { return {
|
|
63
|
+
"shadow": ["watchShadow"],
|
|
64
|
+
"radiusSize": ["watchRadiusSize"]
|
|
65
|
+
}; }
|
|
21
66
|
static get style() { return mgCardCss; }
|
|
22
|
-
}, [1, "mg-card"
|
|
67
|
+
}, [1, "mg-card", {
|
|
68
|
+
"shadow": [4],
|
|
69
|
+
"radiusSize": [1, "radius-size"],
|
|
70
|
+
"classCollection": [32]
|
|
71
|
+
}, undefined, {
|
|
72
|
+
"shadow": ["watchShadow"],
|
|
73
|
+
"radiusSize": ["watchRadiusSize"]
|
|
74
|
+
}]);
|
|
23
75
|
function defineCustomElement() {
|
|
24
76
|
if (typeof customElements === "undefined") {
|
|
25
77
|
return;
|
|
@@ -36,6 +88,3 @@ function defineCustomElement() {
|
|
|
36
88
|
defineCustomElement();
|
|
37
89
|
|
|
38
90
|
export { MgCard as M, defineCustomElement as d };
|
|
39
|
-
//# sourceMappingURL=mg-card2.js.map
|
|
40
|
-
|
|
41
|
-
//# sourceMappingURL=mg-card2.js.map
|
|
@@ -125,6 +125,3 @@ const MgIllustratedMessage = MgIllustratedMessage$1;
|
|
|
125
125
|
const defineCustomElement = defineCustomElement$1;
|
|
126
126
|
|
|
127
127
|
export { MgIllustratedMessage, defineCustomElement };
|
|
128
|
-
//# sourceMappingURL=mg-illustrated-message.js.map
|
|
129
|
-
|
|
130
|
-
//# sourceMappingURL=mg-illustrated-message.js.map
|
|
@@ -4,6 +4,3 @@ const MgInputCheckboxPaginated = MgInputCheckboxPaginated$1;
|
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
6
|
export { MgInputCheckboxPaginated, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=mg-input-checkbox-paginated.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=mg-input-checkbox-paginated.js.map
|
|
@@ -215,6 +215,3 @@ function defineCustomElement() {
|
|
|
215
215
|
defineCustomElement();
|
|
216
216
|
|
|
217
217
|
export { MgInputCheckboxPaginated as M, SectionKind as S, MgInputCheckboxList as a, checkboxTypes as c, defineCustomElement as d };
|
|
218
|
-
//# sourceMappingURL=mg-input-checkbox-paginated2.js.map
|
|
219
|
-
|
|
220
|
-
//# sourceMappingURL=mg-input-checkbox-paginated2.js.map
|
|
@@ -566,7 +566,7 @@ const MgInputCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class MgInputCheckbox
|
|
|
566
566
|
else {
|
|
567
567
|
inputContent = this.renderCheckboxMulti();
|
|
568
568
|
}
|
|
569
|
-
return (h("mg-input", { key: '
|
|
569
|
+
return (h("mg-input", { key: 'a6afc33b5c437000945fca2d825526123a7c4fdf', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: !this.readonly ? this.required : undefined, tooltip: this.tooltip, tooltipPosition: this.readonly && readonlyValue.length === 0 ? 'label' : this.tooltipPosition, helpText: !this.readonly ? this.helpText : undefined, errorMessage: !this.readonly ? this.errorMessage : undefined }, inputContent));
|
|
570
570
|
}
|
|
571
571
|
get element() { return this; }
|
|
572
572
|
static get watchers() { return {
|
|
@@ -715,6 +715,3 @@ const MgInputCheckbox = MgInputCheckbox$1;
|
|
|
715
715
|
const defineCustomElement = defineCustomElement$1;
|
|
716
716
|
|
|
717
717
|
export { MgInputCheckbox, defineCustomElement };
|
|
718
|
-
//# sourceMappingURL=mg-input-checkbox.js.map
|
|
719
|
-
|
|
720
|
-
//# sourceMappingURL=mg-input-checkbox.js.map
|
|
@@ -759,7 +759,7 @@ const MgInputCombobox$1 = /*@__PURE__*/ proxyCustomElement(class MgInputCombobox
|
|
|
759
759
|
else {
|
|
760
760
|
activeDescendant = (_e = this.value) === null || _e === void 0 ? void 0 : _e.value;
|
|
761
761
|
}
|
|
762
|
-
return (h("mg-input", { key: '
|
|
762
|
+
return (h("mg-input", { key: '08016aeb2db2bd5c700faa5951166a39d14dc045', label: this.label, identifier: this.identifier, class: this.classCollection.classes.join(' '), ariaDescribedbyIDs: popoverContent && popoverContent !== 'list' ? popoverContent : undefined, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, readonlyValue)) : (h("mg-popover", { identifier: this.popoverId, placement: "bottom-start", display: this.popoverDisplay, "arrow-hide": true, style: {
|
|
763
763
|
'--mg-c-input-list-width': Boolean((_f = this.input) === null || _f === void 0 ? void 0 : _f.offsetWidth) ? `${this.input.offsetWidth}px` : undefined,
|
|
764
764
|
}, "data-fallback-placement": "bottom-end", "onDisplay-change": this.handlePopoverDisplay }, h("div", { class: "mg-c-input__input-group-container" }, h("mg-icon", { icon: "magnifying-glass" }), h("input", { type: "text", role: "combobox", class: "mg-c-input__box mg-c-input__box--width", value: this.filter, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.popoverDisplay.toString(), "aria-controls": listId, "aria-invalid": (this.invalid === true).toString(), "aria-activedescendant": formatID(activeDescendant), onInput: this.handleFilterInput, onBlur: this.handleFilterBlur, onFocus: this.handleFilterFocus, onKeyDown: this.handleFilterKeydown, ref: (el) => {
|
|
765
765
|
if (el !== null)
|
|
@@ -917,6 +917,3 @@ const MgInputCombobox = MgInputCombobox$1;
|
|
|
917
917
|
const defineCustomElement = defineCustomElement$1;
|
|
918
918
|
|
|
919
919
|
export { MgInputCombobox, defineCustomElement };
|
|
920
|
-
//# sourceMappingURL=mg-input-combobox.js.map
|
|
921
|
-
|
|
922
|
-
//# sourceMappingURL=mg-input-combobox.js.map
|
|
@@ -374,7 +374,7 @@ const MgInputDate$1 = /*@__PURE__*/ proxyCustomElement(class MgInputDate extends
|
|
|
374
374
|
* @returns HTML Element
|
|
375
375
|
*/
|
|
376
376
|
render() {
|
|
377
|
-
return (h("mg-input", { key: '
|
|
377
|
+
return (h("mg-input", { key: '1c9a935b76acf5c3ca6a2f53904f31508d265b49', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === null ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly ? (this.value && h("b", { class: "mg-c-input__readonly-value" }, localeDate(this.value, this.locale))) : (h("input", { type: "date", class: "mg-c-input__box", min: this.min, max: this.max, value: this.value, id: this.identifier, name: this.name, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
378
378
|
if (el !== null)
|
|
379
379
|
this.input = el;
|
|
380
380
|
} }))));
|
|
@@ -464,6 +464,3 @@ const MgInputDate = MgInputDate$1;
|
|
|
464
464
|
const defineCustomElement = defineCustomElement$1;
|
|
465
465
|
|
|
466
466
|
export { MgInputDate, defineCustomElement };
|
|
467
|
-
//# sourceMappingURL=mg-input-date.js.map
|
|
468
|
-
|
|
469
|
-
//# sourceMappingURL=mg-input-date.js.map
|
|
@@ -470,7 +470,7 @@ const MgInputNumeric$1 = /*@__PURE__*/ proxyCustomElement(class MgInputNumeric e
|
|
|
470
470
|
* @returns HTML Element
|
|
471
471
|
*/
|
|
472
472
|
render() {
|
|
473
|
-
return (h("mg-input", { key: '
|
|
473
|
+
return (h("mg-input", { key: '61da1f6ccfcb9932895dc79e7e189fca7083a4ee', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly
|
|
474
474
|
? this.readonlyValue && this.renderReadonly()
|
|
475
475
|
: [
|
|
476
476
|
h("input", { key: "input", type: "text", class: "mg-c-input__box mg-c-input__box--width", value: this.displayValue(), id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
|
|
@@ -585,6 +585,3 @@ const MgInputNumeric = MgInputNumeric$1;
|
|
|
585
585
|
const defineCustomElement = defineCustomElement$1;
|
|
586
586
|
|
|
587
587
|
export { MgInputNumeric, defineCustomElement };
|
|
588
|
-
//# sourceMappingURL=mg-input-numeric.js.map
|
|
589
|
-
|
|
590
|
-
//# sourceMappingURL=mg-input-numeric.js.map
|
|
@@ -250,7 +250,7 @@ const MgInputPassword$1 = /*@__PURE__*/ proxyCustomElement(class MgInputPassword
|
|
|
250
250
|
* @returns HTML Element
|
|
251
251
|
*/
|
|
252
252
|
render() {
|
|
253
|
-
return (h("mg-input", { key: '
|
|
253
|
+
return (h("mg-input", { key: 'b10f4e1d629bc56d0505739d19047a2b73c6baaa', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value !== undefined && h("b", { class: "mg-c-input__readonly-value" }, '•'.repeat(this.value.length))) : (h("span", { class: "mg-c-input__input-group" }, h("input", { type: this.displayPassword ? 'text' : 'password', class: "mg-c-input__box mg-c-input__box--width", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, maxlength: this.maxlength, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
|
|
254
254
|
if (el !== null)
|
|
255
255
|
this.input = el;
|
|
256
256
|
} }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: this.displayPassword ? 'eye-slash' : 'eye' }))))));
|
|
@@ -345,6 +345,3 @@ const MgInputPassword = MgInputPassword$1;
|
|
|
345
345
|
const defineCustomElement = defineCustomElement$1;
|
|
346
346
|
|
|
347
347
|
export { MgInputPassword, defineCustomElement };
|
|
348
|
-
//# sourceMappingURL=mg-input-password.js.map
|
|
349
|
-
|
|
350
|
-
//# sourceMappingURL=mg-input-password.js.map
|
|
@@ -284,7 +284,7 @@ const MgInputRadio$1 = /*@__PURE__*/ proxyCustomElement(class MgInputRadio exten
|
|
|
284
284
|
* @returns HTML Element
|
|
285
285
|
*/
|
|
286
286
|
render() {
|
|
287
|
-
return (h("mg-input", { key: '
|
|
287
|
+
return (h("mg-input", { key: '704aded91c21206a8b8ccced19a1a9c1ad55745e', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && !this.value ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, this.readonlyValue)) : (h("ul", { class: "mg-c-input__input-group-container", role: "list" }, this.options.map((input, index) => (h("li", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
|
|
288
288
|
if (el !== null)
|
|
289
289
|
this.inputs[index] = el;
|
|
290
290
|
} }), h("label", { htmlFor: this.identifier + '_' + index }, input.title))))))));
|
|
@@ -376,6 +376,3 @@ const MgInputRadio = MgInputRadio$1;
|
|
|
376
376
|
const defineCustomElement = defineCustomElement$1;
|
|
377
377
|
|
|
378
378
|
export { MgInputRadio, defineCustomElement };
|
|
379
|
-
//# sourceMappingURL=mg-input-radio.js.map
|
|
380
|
-
|
|
381
|
-
//# sourceMappingURL=mg-input-radio.js.map
|
|
@@ -31540,6 +31540,3 @@ const MgInputRichTextEditor = MgInputRichTextEditor$1;
|
|
|
31540
31540
|
const defineCustomElement = defineCustomElement$1;
|
|
31541
31541
|
|
|
31542
31542
|
export { MgInputRichTextEditor, defineCustomElement };
|
|
31543
|
-
//# sourceMappingURL=mg-input-rich-text-editor.js.map
|
|
31544
|
-
|
|
31545
|
-
//# sourceMappingURL=mg-input-rich-text-editor.js.map
|
|
@@ -101,6 +101,22 @@ const MgInputSelect = /*@__PURE__*/ proxyCustomElement(class MgInputSelect exten
|
|
|
101
101
|
* Component classes
|
|
102
102
|
*/
|
|
103
103
|
this.classCollection = new ClassList(['mg-c-input--select']);
|
|
104
|
+
/**
|
|
105
|
+
* Method to get readonly value from value
|
|
106
|
+
* @returns readonly value
|
|
107
|
+
*/
|
|
108
|
+
this.getReadonlyValue = () => {
|
|
109
|
+
var _a;
|
|
110
|
+
if (allItemsAreString(this.items) && typeof this.value === 'string') {
|
|
111
|
+
return this.items.find(item => item === this.value);
|
|
112
|
+
}
|
|
113
|
+
else if (allItemsAreOptions(this.items)) {
|
|
114
|
+
return (_a = this.items.find(item => item.value === this.value)) === null || _a === void 0 ? void 0 : _a.title;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
104
120
|
/**
|
|
105
121
|
* Handle input event
|
|
106
122
|
*/
|
|
@@ -174,16 +190,6 @@ const MgInputSelect = /*@__PURE__*/ proxyCustomElement(class MgInputSelect exten
|
|
|
174
190
|
this.renderOption = (option) => (h("option", { key: option.title, value: option.title, selected: JSON.stringify(this.value) === JSON.stringify(option.value), disabled: option.disabled }, option.title));
|
|
175
191
|
}
|
|
176
192
|
validateValue(newValue) {
|
|
177
|
-
var _a, _b;
|
|
178
|
-
if (allItemsAreString(this.items) && typeof newValue === 'string') {
|
|
179
|
-
this.readonlyValue = ((_a = this.input) === null || _a === void 0 ? void 0 : _a.value) !== undefined ? this.input.value : newValue;
|
|
180
|
-
}
|
|
181
|
-
else if (allItemsAreOptions(this.items)) {
|
|
182
|
-
this.readonlyValue = (_b = this.items.find(item => item.value === newValue)) === null || _b === void 0 ? void 0 : _b.title;
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
this.readonlyValue = null;
|
|
186
|
-
}
|
|
187
193
|
setTimeout(() => {
|
|
188
194
|
this.checkValidity();
|
|
189
195
|
if (this.hasDisplayedError) {
|
|
@@ -365,7 +371,8 @@ const MgInputSelect = /*@__PURE__*/ proxyCustomElement(class MgInputSelect exten
|
|
|
365
371
|
* @returns HTML Element
|
|
366
372
|
*/
|
|
367
373
|
render() {
|
|
368
|
-
|
|
374
|
+
const readonlyValue = this.getReadonlyValue();
|
|
375
|
+
return (h("mg-input", { key: '2a0599578526b7c110b8f8e01dcb233ed2d523cf', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && readonlyValue === null ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, readonlyValue)) : (h("select", { class: "mg-c-input__box", id: this.identifier, name: this.name, title: this.placeholder, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
|
|
369
376
|
if (el !== null)
|
|
370
377
|
this.input = el;
|
|
371
378
|
} }, (!this.placeholderHide || !this.valueExist) && ( // In case passed value does not match any option we display the placeholder
|
|
@@ -405,7 +412,6 @@ const MgInputSelect = /*@__PURE__*/ proxyCustomElement(class MgInputSelect exten
|
|
|
405
412
|
"errorMessage": [32],
|
|
406
413
|
"options": [32],
|
|
407
414
|
"valueExist": [32],
|
|
408
|
-
"readonlyValue": [32],
|
|
409
415
|
"setFocus": [64],
|
|
410
416
|
"displayError": [64],
|
|
411
417
|
"setError": [64],
|
|
@@ -459,6 +465,3 @@ function defineCustomElement() {
|
|
|
459
465
|
defineCustomElement();
|
|
460
466
|
|
|
461
467
|
export { MgInputSelect as M, defineCustomElement as d };
|
|
462
|
-
//# sourceMappingURL=mg-input-select2.js.map
|
|
463
|
-
|
|
464
|
-
//# sourceMappingURL=mg-input-select2.js.map
|
|
@@ -382,7 +382,7 @@ const MgInputText = /*@__PURE__*/ proxyCustomElement(class MgInputText extends H
|
|
|
382
382
|
* @returns HTML Element
|
|
383
383
|
*/
|
|
384
384
|
render() {
|
|
385
|
-
return (h("mg-input", { key: '
|
|
385
|
+
return (h("mg-input", { key: 'e8249550f7077c38f87b768ef68837dec35cd08e', label: this.label, identifier: this.identifier, class: this.classCollection.join(), ariaDescribedbyIDs: this.characterLeftId, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly
|
|
386
386
|
? this.value && this.renderReadonly()
|
|
387
387
|
: [
|
|
388
388
|
h("div", { key: "input", class: "mg-c-input__with-character-left", style: {
|
|
@@ -498,6 +498,3 @@ function defineCustomElement() {
|
|
|
498
498
|
defineCustomElement();
|
|
499
499
|
|
|
500
500
|
export { MgInputText as M, defineCustomElement as d };
|
|
501
|
-
//# sourceMappingURL=mg-input-text2.js.map
|
|
502
|
-
|
|
503
|
-
//# sourceMappingURL=mg-input-text2.js.map
|
|
@@ -302,7 +302,7 @@ const MgInputTextarea$1 = /*@__PURE__*/ proxyCustomElement(class MgInputTextarea
|
|
|
302
302
|
* @returns HTML Element
|
|
303
303
|
*/
|
|
304
304
|
render() {
|
|
305
|
-
return (h("mg-input", { key: '
|
|
305
|
+
return (h("mg-input", { key: 'b52470b9b12c35a62d656609ea345a0545d2429b', label: this.label, identifier: this.identifier, class: this.classCollection.join(), ariaDescribedbyIDs: this.characterLeftId, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value && h("b", { class: "mg-c-input__readonly-value" }, this.value)) : (h("div", { class: "mg-c-input__with-character-left" }, h("textarea", { class: {
|
|
306
306
|
'mg-c-input__box': true,
|
|
307
307
|
'mg-c-input__box--width': true,
|
|
308
308
|
'mg-c-input__box--resizable': this.resizable === 'both',
|
|
@@ -413,6 +413,3 @@ const MgInputTextarea = MgInputTextarea$1;
|
|
|
413
413
|
const defineCustomElement = defineCustomElement$1;
|
|
414
414
|
|
|
415
415
|
export { MgInputTextarea, defineCustomElement };
|
|
416
|
-
//# sourceMappingURL=mg-input-textarea.js.map
|
|
417
|
-
|
|
418
|
-
//# sourceMappingURL=mg-input-textarea.js.map
|
|
@@ -265,7 +265,7 @@ const MgInputToggle$1 = /*@__PURE__*/ proxyCustomElement(class MgInputToggle ext
|
|
|
265
265
|
*/
|
|
266
266
|
render() {
|
|
267
267
|
const checkedItem = this.getCheckedItem(this.checked);
|
|
268
|
-
return (h("mg-input", { key: '
|
|
268
|
+
return (h("mg-input", { key: '3cfa56cd1d8fdaba4e505027db7fae0385bac941', label: this.label, helpText: this.helpText, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: undefined, tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, errorMessage: this.errorMessage }, this.readonly ? (checkedItem && h("b", { class: "mg-c-input__readonly-value" }, checkedItem.title)) : (h("button", { type: "button", role: "switch", "aria-checked": this.checked.toString(), "aria-readonly": this.disabled || this.readonly, id: this.identifier, class: "mg-c-input__button-toggle", disabled: this.disabled || this.readonly, onClick: this.toggleChecked, ref: el => {
|
|
269
269
|
if (el !== null)
|
|
270
270
|
this.button = el;
|
|
271
271
|
} }, h("span", { "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { name: "item-1" })), h("span", { "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { name: "item-2" }))))));
|
|
@@ -357,6 +357,3 @@ const MgInputToggle = MgInputToggle$1;
|
|
|
357
357
|
const defineCustomElement = defineCustomElement$1;
|
|
358
358
|
|
|
359
359
|
export { MgInputToggle, defineCustomElement };
|
|
360
|
-
//# sourceMappingURL=mg-input-toggle.js.map
|
|
361
|
-
|
|
362
|
-
//# sourceMappingURL=mg-input-toggle.js.map
|