@mgdis/mg-components 6.13.1 → 6.15.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/{index-CATFkm3O.js → index-BGxkpQwi.js} +230 -122
- package/dist/cjs/{index-DUJwxnoi.js → index-CpENFzEo.js} +2 -5
- package/dist/cjs/{index-CwjAofQ1.js → index-iUZvsp-F.js} +55 -34
- 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 +553 -264
- package/dist/cjs/mg-alert.cjs.entry.js +7 -10
- package/dist/cjs/mg-components.cjs.js +4 -8
- package/dist/cjs/mg-input-combobox.cjs.entry.js +149 -88
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +1264 -16023
- package/dist/cjs/{mg-input.conf-WTsvDfpC.js → mg-input.conf-CwjEAih3.js} +7 -3
- package/dist/cjs/mg-input.utils-D-ASK4ua.js +49 -0
- package/dist/cjs/mg-loader.cjs.entry.js +4 -7
- package/dist/cjs/mg-progress.cjs.entry.js +3 -6
- package/dist/collection/assets/icons/index.js +1 -2
- package/dist/collection/collection-manifest.json +2 -2
- 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 +6 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +125 -39
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.utils.js +21 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +55 -111
- 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 +143 -68
- 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 +161 -75
- 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 +31 -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 +79 -26
- 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 +19 -19
- 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 +91 -37
- 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 +156 -23
- 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 +6 -4
- 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 +5 -6
- package/dist/collection/components/molecules/mg-form/mg-form.conf.js +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js +10 -11
- 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 +3 -4
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +3 -4
- 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 +7 -8
- 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 +7 -8
- package/dist/collection/components/molecules/mg-progress/mg-progress.conf.js +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +6 -7
- 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 +6 -6
- 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/en/messages.json +23 -14
- package/dist/collection/locales/fr/messages.json +24 -15
- 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 +3 -6
- package/dist/components/index3.js +55 -34
- package/dist/components/mg-action-more.js +2 -5
- package/dist/components/mg-alert.js +5 -8
- package/dist/components/mg-badge.js +0 -3
- package/dist/components/mg-badge2.js +1 -4
- package/dist/components/mg-button.js +0 -3
- package/dist/components/mg-button2.js +1 -4
- 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 +1 -4
- package/dist/components/mg-details.js +1 -100
- package/dist/components/mg-details2.js +99 -0
- package/dist/components/mg-divider.js +0 -3
- package/dist/components/mg-divider2.js +1 -4
- package/dist/components/mg-form.js +2 -5
- package/dist/components/mg-icon.js +0 -3
- package/dist/components/mg-icon2.js +1 -4
- package/dist/components/mg-illustrated-message.js +2 -5
- package/dist/components/mg-input-checkbox-paginated.js +0 -3
- package/dist/components/mg-input-checkbox-paginated2.js +43 -127
- package/dist/components/mg-input-checkbox.js +136 -65
- package/dist/components/mg-input-combobox.js +135 -66
- package/dist/components/mg-input-date.js +9 -6
- package/dist/components/mg-input-numeric.js +14 -6
- package/dist/components/mg-input-password.js +10 -7
- package/dist/components/mg-input-radio.js +54 -16
- package/dist/components/mg-input-rich-text-editor.js +1265 -16018
- package/dist/components/mg-input-select.js +0 -3
- package/dist/components/mg-input-select2.js +62 -23
- package/dist/components/mg-input-text.js +0 -3
- package/dist/components/mg-input-text2.js +10 -7
- package/dist/components/mg-input-textarea.js +10 -7
- package/dist/components/mg-input-title.js +0 -3
- package/dist/components/mg-input-title2.js +1 -4
- package/dist/components/mg-input-toggle.js +97 -15
- package/dist/components/mg-input.js +0 -3
- package/dist/components/mg-input.utils.js +24 -0
- package/dist/components/mg-input2.js +115 -28
- package/dist/components/mg-item-more.js +0 -3
- package/dist/components/mg-item-more2.js +2 -5
- package/dist/components/mg-loader.js +0 -3
- package/dist/components/mg-loader2.js +2 -5
- package/dist/components/mg-menu-item.js +0 -3
- package/dist/components/mg-menu-item2.js +1 -4
- package/dist/components/mg-menu.js +0 -3
- package/dist/components/mg-message.js +0 -3
- package/dist/components/mg-message2.js +3 -6
- package/dist/components/mg-modal.js +3 -6
- package/dist/components/mg-pagination.js +233 -4
- package/dist/components/mg-panel.js +20 -12
- package/dist/components/mg-popover-content.js +0 -3
- package/dist/components/mg-popover-content2.js +2 -5
- package/dist/components/mg-popover.js +0 -3
- package/dist/components/mg-popover2.js +2 -5
- package/dist/components/mg-progress.js +2 -5
- package/dist/components/mg-skip-links.js +5 -7
- package/dist/components/mg-table.js +4 -7
- package/dist/components/mg-tabs.js +1 -314
- package/dist/components/mg-tabs2.js +313 -0
- package/dist/components/mg-tag.js +1 -4
- package/dist/components/mg-tooltip-content.js +0 -3
- package/dist/components/mg-tooltip-content2.js +1 -4
- package/dist/components/mg-tooltip.js +0 -3
- package/dist/components/mg-tooltip2.js +2 -5
- package/dist/components/popper.js +0 -3
- package/dist/esm/{index-Bv7NHR-W.js → index-CKB-AnCZ.js} +55 -34
- package/dist/esm/{index-CAuxALt5.js → index-DhAOnZJn.js} +211 -122
- package/dist/esm/{index-Dr7GYvIz.js → index-WtiuOkLj.js} +2 -5
- package/dist/esm/index.js +0 -3
- package/dist/esm/loader.js +3 -7
- package/dist/esm/mg-action-more_37.entry.js +548 -259
- package/dist/esm/mg-alert.entry.js +7 -10
- package/dist/esm/mg-components.js +4 -8
- package/dist/esm/mg-input-combobox.entry.js +129 -68
- package/dist/esm/mg-input-rich-text-editor.entry.js +1265 -16024
- package/dist/esm/{mg-input.conf-CNgv8hc5.js → mg-input.conf-BAUTlb6r.js} +7 -4
- package/dist/esm/mg-input.utils-BYI03zSi.js +46 -0
- package/dist/esm/mg-loader.entry.js +4 -7
- package/dist/esm/mg-progress.entry.js +3 -6
- package/dist/mg-components/index.esm.js +0 -2
- package/dist/mg-components/locales/en/messages.json +23 -14
- package/dist/mg-components/locales/fr/messages.json +24 -15
- package/dist/mg-components/mg-components.css +1 -1
- package/dist/mg-components/mg-components.esm.js +1 -2
- package/dist/mg-components/p-31856cff.entry.js +1 -0
- package/dist/mg-components/p-420daa1e.entry.js +1 -0
- package/dist/mg-components/p-47e19783.entry.js +1 -0
- package/dist/mg-components/p-67af6274.entry.js +1 -0
- package/dist/mg-components/p-698dfc6c.entry.js +1 -0
- package/dist/mg-components/p-BAUTlb6r.js +1 -0
- package/dist/mg-components/p-CKB-AnCZ.js +1 -0
- package/dist/mg-components/p-DhAOnZJn.js +2 -0
- package/dist/mg-components/p-PuX-pdL4.js +1 -0
- package/dist/mg-components/p-WtiuOkLj.js +1 -0
- package/dist/mg-components/p-a0fa44cf.entry.js +1 -0
- package/dist/types/assets/icons/index.d.ts +6 -0
- 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.conf.d.ts +13 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +16 -5
- package/dist/types/components/molecules/inputs/mg-input/mg-input.utils.d.ts +8 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +17 -40
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +1 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +36 -9
- package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.d.ts +17 -3
- package/dist/types/components/molecules/inputs/mg-input-radio/mg-input-radio.d.ts +18 -0
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +23 -4
- package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +40 -4
- package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +4 -0
- package/dist/types/components.d.ts +471 -39
- package/dist/types/stencil-public-runtime.d.ts +34 -6
- package/ide/intellij/web-types.json +393 -39
- package/ide/vscode/css-custom-data.json +3 -3
- package/ide/vscode/html-custom-data.json +223 -35
- package/package.json +19 -19
- 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 +0 -28
- 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 +0 -232
- 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 +0 -26
- 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 +0 -2
- 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 +0 -2
- 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 +0 -2
- 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 +0 -2
- package/dist/mg-components/p-yMGqY8YG.js.map +0 -1
|
@@ -9,11 +9,12 @@ import { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType,
|
|
|
9
9
|
import { VariantStyleType, VariantType } from "./components/molecules/mg-alert/mg-alert.conf";
|
|
10
10
|
import { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
|
|
11
11
|
import { ButtonType, SizeType, VariantType as VariantType1 } from "./components/atoms/mg-button/mg-button.conf";
|
|
12
|
+
import { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
|
|
12
13
|
import { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
|
|
13
14
|
import { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
14
15
|
import { IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
|
|
15
|
-
import { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
16
|
-
import { CheckboxItem, CheckboxType, CheckboxValue
|
|
16
|
+
import { ErrorMessageDetailsType, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
17
|
+
import { CheckboxItem, CheckboxType, CheckboxValue } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
|
|
17
18
|
import { Direction, Option } from "./types";
|
|
18
19
|
import { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
|
|
19
20
|
import { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
@@ -40,11 +41,12 @@ export { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType,
|
|
|
40
41
|
export { VariantStyleType, VariantType } from "./components/molecules/mg-alert/mg-alert.conf";
|
|
41
42
|
export { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
|
|
42
43
|
export { ButtonType, SizeType, VariantType as VariantType1 } from "./components/atoms/mg-button/mg-button.conf";
|
|
44
|
+
export { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
|
|
43
45
|
export { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
|
|
44
46
|
export { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
45
47
|
export { IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
|
|
46
|
-
export { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
47
|
-
export { CheckboxItem, CheckboxType, CheckboxValue
|
|
48
|
+
export { ErrorMessageDetailsType, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
49
|
+
export { CheckboxItem, CheckboxType, CheckboxValue } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
|
|
48
50
|
export { Direction, Option } from "./types";
|
|
49
51
|
export { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
|
|
50
52
|
export { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
@@ -71,10 +73,12 @@ export namespace Components {
|
|
|
71
73
|
interface MgActionMore {
|
|
72
74
|
/**
|
|
73
75
|
* Define button properties
|
|
76
|
+
* @default { variant: 'flat', isIcon: true }
|
|
74
77
|
*/
|
|
75
78
|
"button"?: MgActionMoreButtonType;
|
|
76
79
|
/**
|
|
77
80
|
* Define if chevron is display
|
|
81
|
+
* @default false
|
|
78
82
|
*/
|
|
79
83
|
"displayChevron": boolean;
|
|
80
84
|
/**
|
|
@@ -93,10 +97,12 @@ export namespace Components {
|
|
|
93
97
|
"delay"?: number;
|
|
94
98
|
/**
|
|
95
99
|
* Define variant
|
|
100
|
+
* @default 'info'
|
|
96
101
|
*/
|
|
97
102
|
"variant"?: VariantType;
|
|
98
103
|
/**
|
|
99
104
|
* Define variant style
|
|
105
|
+
* @default 'bar-left'
|
|
100
106
|
*/
|
|
101
107
|
"variantStyle"?: VariantStyleType;
|
|
102
108
|
}
|
|
@@ -107,6 +113,7 @@ export namespace Components {
|
|
|
107
113
|
"label": string;
|
|
108
114
|
/**
|
|
109
115
|
* Define if button is using outline style
|
|
116
|
+
* @default false
|
|
110
117
|
*/
|
|
111
118
|
"outline"?: boolean;
|
|
112
119
|
/**
|
|
@@ -115,12 +122,14 @@ export namespace Components {
|
|
|
115
122
|
"value": string | number;
|
|
116
123
|
/**
|
|
117
124
|
* Define badge variant
|
|
125
|
+
* @default 'info'
|
|
118
126
|
*/
|
|
119
127
|
"variant"?: BadgeVariantType;
|
|
120
128
|
}
|
|
121
129
|
interface MgButton {
|
|
122
130
|
/**
|
|
123
131
|
* Option to set input disable on click, in order to prevent multi-click. Parent component have to remove the attribute 'disabled' when the process ends.
|
|
132
|
+
* @default false
|
|
124
133
|
*/
|
|
125
134
|
"disableOnClick": boolean;
|
|
126
135
|
/**
|
|
@@ -133,10 +142,12 @@ export namespace Components {
|
|
|
133
142
|
"form"?: string;
|
|
134
143
|
/**
|
|
135
144
|
* Set button to full-width
|
|
145
|
+
* @default false
|
|
136
146
|
*/
|
|
137
147
|
"fullWidth": boolean;
|
|
138
148
|
/**
|
|
139
149
|
* Define if button is round. Used for icon button.
|
|
150
|
+
* @default false
|
|
140
151
|
*/
|
|
141
152
|
"isIcon": boolean;
|
|
142
153
|
/**
|
|
@@ -145,6 +156,7 @@ export namespace Components {
|
|
|
145
156
|
"label"?: string;
|
|
146
157
|
/**
|
|
147
158
|
* Define button size
|
|
159
|
+
* @default 'medium'
|
|
148
160
|
*/
|
|
149
161
|
"size": SizeType;
|
|
150
162
|
/**
|
|
@@ -153,14 +165,26 @@ export namespace Components {
|
|
|
153
165
|
"type"?: ButtonType;
|
|
154
166
|
/**
|
|
155
167
|
* Define button variant
|
|
168
|
+
* @default 'primary'
|
|
156
169
|
*/
|
|
157
170
|
"variant": VariantType1;
|
|
158
171
|
}
|
|
159
172
|
interface MgCard {
|
|
173
|
+
/**
|
|
174
|
+
* Define the border radius size
|
|
175
|
+
* @default 'medium'
|
|
176
|
+
*/
|
|
177
|
+
"radiusSize": RadiusSizeType;
|
|
178
|
+
/**
|
|
179
|
+
* Add box-shadow style
|
|
180
|
+
* @default false
|
|
181
|
+
*/
|
|
182
|
+
"shadow": boolean;
|
|
160
183
|
}
|
|
161
184
|
interface MgCharacterLeft {
|
|
162
185
|
/**
|
|
163
186
|
* Sets the characters to count
|
|
187
|
+
* @default ''
|
|
164
188
|
*/
|
|
165
189
|
"characters": string;
|
|
166
190
|
/**
|
|
@@ -175,10 +199,12 @@ export namespace Components {
|
|
|
175
199
|
interface MgDetails {
|
|
176
200
|
/**
|
|
177
201
|
* Define if details are diplayed
|
|
202
|
+
* @default false
|
|
178
203
|
*/
|
|
179
204
|
"expanded": boolean;
|
|
180
205
|
/**
|
|
181
206
|
* Hide summary element
|
|
207
|
+
* @default false
|
|
182
208
|
*/
|
|
183
209
|
"hideSummary": boolean;
|
|
184
210
|
/**
|
|
@@ -193,6 +219,7 @@ export namespace Components {
|
|
|
193
219
|
interface MgDivider {
|
|
194
220
|
/**
|
|
195
221
|
* Define component size
|
|
222
|
+
* @default false
|
|
196
223
|
*/
|
|
197
224
|
"fullWidth": boolean;
|
|
198
225
|
}
|
|
@@ -203,6 +230,7 @@ export namespace Components {
|
|
|
203
230
|
"ariaRole"?: AriaRoleType;
|
|
204
231
|
/**
|
|
205
232
|
* Define if form is disabled
|
|
233
|
+
* @default false
|
|
206
234
|
*/
|
|
207
235
|
"disabled": boolean;
|
|
208
236
|
/**
|
|
@@ -211,6 +239,7 @@ export namespace Components {
|
|
|
211
239
|
"displayError": () => Promise<void>;
|
|
212
240
|
/**
|
|
213
241
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
242
|
+
* @default createID('mg-form')
|
|
214
243
|
*/
|
|
215
244
|
"identifier": string;
|
|
216
245
|
/**
|
|
@@ -219,14 +248,17 @@ export namespace Components {
|
|
|
219
248
|
"invalid": boolean;
|
|
220
249
|
/**
|
|
221
250
|
* Define if slotted mg-component's label are displayed on top
|
|
251
|
+
* @default false
|
|
222
252
|
*/
|
|
223
253
|
"labelOnTop": boolean;
|
|
224
254
|
/**
|
|
225
255
|
* Input name If not set the value equals the identifier
|
|
256
|
+
* @default this.identifier
|
|
226
257
|
*/
|
|
227
258
|
"name": string;
|
|
228
259
|
/**
|
|
229
260
|
* Define if form is readonly
|
|
261
|
+
* @default false
|
|
230
262
|
*/
|
|
231
263
|
"readonly": boolean;
|
|
232
264
|
/**
|
|
@@ -249,10 +281,12 @@ export namespace Components {
|
|
|
249
281
|
"icon": IconType;
|
|
250
282
|
/**
|
|
251
283
|
* Define icon size
|
|
284
|
+
* @default 'medium'
|
|
252
285
|
*/
|
|
253
286
|
"size": IconSizeType;
|
|
254
287
|
/**
|
|
255
288
|
* Make the icon spin
|
|
289
|
+
* @default false
|
|
256
290
|
*/
|
|
257
291
|
"spin": boolean;
|
|
258
292
|
/**
|
|
@@ -267,22 +301,25 @@ export namespace Components {
|
|
|
267
301
|
interface MgIllustratedMessage {
|
|
268
302
|
/**
|
|
269
303
|
* Define component orientation
|
|
304
|
+
* @default 'vertical'
|
|
270
305
|
*/
|
|
271
306
|
"direction": IllustratedMessageDirectionType;
|
|
272
307
|
/**
|
|
273
308
|
* Define illustration size
|
|
309
|
+
* @default 'medium'
|
|
274
310
|
*/
|
|
275
311
|
"size": IllustratedMessageSizeType;
|
|
276
312
|
}
|
|
277
313
|
interface MgInput {
|
|
278
314
|
/**
|
|
279
315
|
* Define aria-describedby ids to link with
|
|
316
|
+
* @default []
|
|
280
317
|
*/
|
|
281
|
-
"ariaDescribedbyIDs"
|
|
318
|
+
"ariaDescribedbyIDs"?: string[] | string;
|
|
282
319
|
/**
|
|
283
320
|
* Define error message to display
|
|
284
321
|
*/
|
|
285
|
-
"errorMessage"?: string;
|
|
322
|
+
"errorMessage"?: string | ErrorMessageDetailsType;
|
|
286
323
|
/**
|
|
287
324
|
* Define help text to display
|
|
288
325
|
*/
|
|
@@ -297,14 +334,17 @@ export namespace Components {
|
|
|
297
334
|
"label": string;
|
|
298
335
|
/**
|
|
299
336
|
* Define if label is visible
|
|
337
|
+
* @default false
|
|
300
338
|
*/
|
|
301
339
|
"labelHide": boolean;
|
|
302
340
|
/**
|
|
303
341
|
* Define if label is displayed on top
|
|
342
|
+
* @default false
|
|
304
343
|
*/
|
|
305
344
|
"labelOnTop": boolean;
|
|
306
345
|
/**
|
|
307
346
|
* Define if input is required
|
|
347
|
+
* @default false
|
|
308
348
|
*/
|
|
309
349
|
"required": boolean;
|
|
310
350
|
/**
|
|
@@ -313,12 +353,14 @@ export namespace Components {
|
|
|
313
353
|
"tooltip"?: string;
|
|
314
354
|
/**
|
|
315
355
|
* Define tooltip position
|
|
356
|
+
* @default 'input'
|
|
316
357
|
*/
|
|
317
358
|
"tooltipPosition": TooltipPosition;
|
|
318
359
|
}
|
|
319
360
|
interface MgInputCheckbox {
|
|
320
361
|
/**
|
|
321
362
|
* Define if input is disabled
|
|
363
|
+
* @default false
|
|
322
364
|
*/
|
|
323
365
|
"disabled": boolean;
|
|
324
366
|
/**
|
|
@@ -327,12 +369,13 @@ export namespace Components {
|
|
|
327
369
|
"displayError": () => Promise<void>;
|
|
328
370
|
/**
|
|
329
371
|
* Display selected values list in "multi" type This prop is only applied with prop type "multi" or when an "unset" mode render a "multi" type.
|
|
372
|
+
* @default false
|
|
330
373
|
*/
|
|
331
374
|
"displaySelectedValues": boolean;
|
|
332
375
|
/**
|
|
333
376
|
* Overwrite default "edit" button message
|
|
334
377
|
*/
|
|
335
|
-
"editButtonMessage"
|
|
378
|
+
"editButtonMessage"?: string;
|
|
336
379
|
/**
|
|
337
380
|
* Add a help text under the input, usually expected data format and example
|
|
338
381
|
*/
|
|
@@ -343,6 +386,7 @@ export namespace Components {
|
|
|
343
386
|
"identifier": string;
|
|
344
387
|
/**
|
|
345
388
|
* Define if inputs are display verticaly
|
|
389
|
+
* @default false
|
|
346
390
|
*/
|
|
347
391
|
"inputVerticalList": boolean;
|
|
348
392
|
/**
|
|
@@ -355,22 +399,31 @@ export namespace Components {
|
|
|
355
399
|
"label": string;
|
|
356
400
|
/**
|
|
357
401
|
* Define if label is visible
|
|
402
|
+
* @default false
|
|
358
403
|
*/
|
|
359
404
|
"labelHide": boolean;
|
|
360
405
|
/**
|
|
361
406
|
* Define if label is displayed on top
|
|
407
|
+
* @default false
|
|
362
408
|
*/
|
|
363
409
|
"labelOnTop": boolean;
|
|
364
410
|
/**
|
|
365
411
|
* Define input name If not set the value equals the identifier
|
|
412
|
+
* @default this.identifier
|
|
366
413
|
*/
|
|
367
414
|
"name": string;
|
|
415
|
+
/**
|
|
416
|
+
* Define no value error detail
|
|
417
|
+
*/
|
|
418
|
+
"noValueErrorDetail"?: string;
|
|
368
419
|
/**
|
|
369
420
|
* Define if mg-input-checkbox is readonly
|
|
421
|
+
* @default false
|
|
370
422
|
*/
|
|
371
423
|
"readonly": boolean;
|
|
372
424
|
/**
|
|
373
425
|
* Define if mg-input-checkbox is required
|
|
426
|
+
* @default false
|
|
374
427
|
*/
|
|
375
428
|
"required": boolean;
|
|
376
429
|
/**
|
|
@@ -380,7 +433,7 @@ export namespace Components {
|
|
|
380
433
|
/**
|
|
381
434
|
* Overwrite default "select" button message
|
|
382
435
|
*/
|
|
383
|
-
"selectButtonMessage"
|
|
436
|
+
"selectButtonMessage"?: string;
|
|
384
437
|
/**
|
|
385
438
|
* Set an error and display a custom error message. This method can be used to set the component's error state from its context by passing a boolean value to the `valid` parameter. It must be paired with an error message to display for the given context. When used to set validity to `false`, you should use this method again to reset the validity to `true`.
|
|
386
439
|
* @param valid - value indicating the validity
|
|
@@ -394,13 +447,14 @@ export namespace Components {
|
|
|
394
447
|
/**
|
|
395
448
|
* Overwrite default "show" button message
|
|
396
449
|
*/
|
|
397
|
-
"showButtonMessage"
|
|
450
|
+
"showButtonMessage"?: string;
|
|
398
451
|
/**
|
|
399
452
|
* Add a tooltip message next to the input
|
|
400
453
|
*/
|
|
401
454
|
"tooltip"?: string;
|
|
402
455
|
/**
|
|
403
456
|
* Define tooltip position
|
|
457
|
+
* @default 'input'
|
|
404
458
|
*/
|
|
405
459
|
"tooltipPosition": TooltipPosition;
|
|
406
460
|
/**
|
|
@@ -424,12 +478,9 @@ export namespace Components {
|
|
|
424
478
|
* Define checkboxes to paginate
|
|
425
479
|
*/
|
|
426
480
|
"checkboxes": CheckboxItem[];
|
|
427
|
-
/**
|
|
428
|
-
* Current page
|
|
429
|
-
*/
|
|
430
|
-
"currentPage": number;
|
|
431
481
|
/**
|
|
432
482
|
* Define if mg-input-checkbox-list is disabled
|
|
483
|
+
* @default false
|
|
433
484
|
*/
|
|
434
485
|
"disabled": boolean;
|
|
435
486
|
/**
|
|
@@ -446,12 +497,18 @@ export namespace Components {
|
|
|
446
497
|
"name"?: string;
|
|
447
498
|
/**
|
|
448
499
|
* Define if mg-input-checkbox-list is readonly
|
|
500
|
+
* @default false
|
|
449
501
|
*/
|
|
450
502
|
"readonly": boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Method to reset limit
|
|
505
|
+
*/
|
|
506
|
+
"resetLimit": () => Promise<void>;
|
|
451
507
|
}
|
|
452
508
|
interface MgInputCombobox {
|
|
453
509
|
/**
|
|
454
510
|
* Define if input is disabled
|
|
511
|
+
* @default false
|
|
455
512
|
*/
|
|
456
513
|
"disabled": boolean;
|
|
457
514
|
/**
|
|
@@ -501,30 +558,40 @@ export namespace Components {
|
|
|
501
558
|
"label": string;
|
|
502
559
|
/**
|
|
503
560
|
* Define if label is visible
|
|
561
|
+
* @default false
|
|
504
562
|
*/
|
|
505
563
|
"labelHide": boolean;
|
|
506
564
|
/**
|
|
507
565
|
* Define if label is displayed on top
|
|
566
|
+
* @default false
|
|
508
567
|
*/
|
|
509
568
|
"labelOnTop": boolean;
|
|
510
569
|
/**
|
|
511
570
|
* Define input width
|
|
571
|
+
* @default 'full'
|
|
512
572
|
*/
|
|
513
573
|
"mgWidth": Width;
|
|
514
574
|
/**
|
|
515
575
|
* Input name If not set the value equals the identifier
|
|
576
|
+
* @default this.identifier
|
|
516
577
|
*/
|
|
517
578
|
"name": string;
|
|
579
|
+
/**
|
|
580
|
+
* Define no value error detail
|
|
581
|
+
*/
|
|
582
|
+
"noValueErrorDetail"?: string;
|
|
518
583
|
/**
|
|
519
584
|
* Define input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help combobox.
|
|
520
585
|
*/
|
|
521
586
|
"placeholder"?: string;
|
|
522
587
|
/**
|
|
523
588
|
* Define if input is readonly
|
|
589
|
+
* @default false
|
|
524
590
|
*/
|
|
525
591
|
"readonly": boolean;
|
|
526
592
|
/**
|
|
527
593
|
* Define if input is required
|
|
594
|
+
* @default false
|
|
528
595
|
*/
|
|
529
596
|
"required": boolean;
|
|
530
597
|
/**
|
|
@@ -547,6 +614,7 @@ export namespace Components {
|
|
|
547
614
|
"tooltip"?: string;
|
|
548
615
|
/**
|
|
549
616
|
* Define tooltip position
|
|
617
|
+
* @default 'input'
|
|
550
618
|
*/
|
|
551
619
|
"tooltipPosition": TooltipPosition;
|
|
552
620
|
/**
|
|
@@ -561,6 +629,7 @@ export namespace Components {
|
|
|
561
629
|
interface MgInputDate {
|
|
562
630
|
/**
|
|
563
631
|
* Define if input is disabled
|
|
632
|
+
* @default false
|
|
564
633
|
*/
|
|
565
634
|
"disabled": boolean;
|
|
566
635
|
/**
|
|
@@ -585,14 +654,17 @@ export namespace Components {
|
|
|
585
654
|
"label": string;
|
|
586
655
|
/**
|
|
587
656
|
* Define if label is visible
|
|
657
|
+
* @default false
|
|
588
658
|
*/
|
|
589
659
|
"labelHide": boolean;
|
|
590
660
|
/**
|
|
591
661
|
* Define if label is displayed on top
|
|
662
|
+
* @default false
|
|
592
663
|
*/
|
|
593
664
|
"labelOnTop": boolean;
|
|
594
665
|
/**
|
|
595
666
|
* Define input maximum date format: yyyy-mm-dd
|
|
667
|
+
* @default '9999-12-31'
|
|
596
668
|
*/
|
|
597
669
|
"max"?: string;
|
|
598
670
|
/**
|
|
@@ -601,14 +673,17 @@ export namespace Components {
|
|
|
601
673
|
"min"?: string;
|
|
602
674
|
/**
|
|
603
675
|
* Input name If not set the value equals the identifier
|
|
676
|
+
* @default this.identifier
|
|
604
677
|
*/
|
|
605
678
|
"name": string;
|
|
606
679
|
/**
|
|
607
680
|
* Define if input is readonly
|
|
681
|
+
* @default false
|
|
608
682
|
*/
|
|
609
683
|
"readonly": boolean;
|
|
610
684
|
/**
|
|
611
685
|
* Define if input is required
|
|
686
|
+
* @default false
|
|
612
687
|
*/
|
|
613
688
|
"required": boolean;
|
|
614
689
|
/**
|
|
@@ -631,6 +706,7 @@ export namespace Components {
|
|
|
631
706
|
"tooltip"?: string;
|
|
632
707
|
/**
|
|
633
708
|
* Define tooltip position
|
|
709
|
+
* @default 'input'
|
|
634
710
|
*/
|
|
635
711
|
"tooltipPosition": TooltipPosition;
|
|
636
712
|
/**
|
|
@@ -645,14 +721,17 @@ export namespace Components {
|
|
|
645
721
|
interface MgInputNumeric {
|
|
646
722
|
/**
|
|
647
723
|
* Define currency
|
|
724
|
+
* @default 'EUR'
|
|
648
725
|
*/
|
|
649
726
|
"currency": string;
|
|
650
727
|
/**
|
|
651
728
|
* Override decimal length decimal is the number after the decimal point
|
|
729
|
+
* @default 2
|
|
652
730
|
*/
|
|
653
731
|
"decimalLength": number;
|
|
654
732
|
/**
|
|
655
733
|
* Define if input is disabled
|
|
734
|
+
* @default false
|
|
656
735
|
*/
|
|
657
736
|
"disabled": boolean;
|
|
658
737
|
/**
|
|
@@ -661,6 +740,7 @@ export namespace Components {
|
|
|
661
740
|
"displayError": () => Promise<void>;
|
|
662
741
|
/**
|
|
663
742
|
* Set local formatting. Numbers are formatted based on the locale.
|
|
743
|
+
* @default 'number'
|
|
664
744
|
*/
|
|
665
745
|
"format": Format;
|
|
666
746
|
/**
|
|
@@ -673,6 +753,7 @@ export namespace Components {
|
|
|
673
753
|
"identifier": string;
|
|
674
754
|
/**
|
|
675
755
|
* Override integer length integer is the number before the decimal point
|
|
756
|
+
* @default 13
|
|
676
757
|
*/
|
|
677
758
|
"integerLength": number;
|
|
678
759
|
/**
|
|
@@ -685,10 +766,12 @@ export namespace Components {
|
|
|
685
766
|
"label": string;
|
|
686
767
|
/**
|
|
687
768
|
* Define if label is visible
|
|
769
|
+
* @default false
|
|
688
770
|
*/
|
|
689
771
|
"labelHide": boolean;
|
|
690
772
|
/**
|
|
691
773
|
* Define if label is displayed on top
|
|
774
|
+
* @default false
|
|
692
775
|
*/
|
|
693
776
|
"labelOnTop": boolean;
|
|
694
777
|
/**
|
|
@@ -705,6 +788,7 @@ export namespace Components {
|
|
|
705
788
|
"min"?: number;
|
|
706
789
|
/**
|
|
707
790
|
* Input name If not set the value equals the identifier
|
|
791
|
+
* @default this.identifier
|
|
708
792
|
*/
|
|
709
793
|
"name": string;
|
|
710
794
|
/**
|
|
@@ -713,10 +797,12 @@ export namespace Components {
|
|
|
713
797
|
"placeholder"?: string;
|
|
714
798
|
/**
|
|
715
799
|
* Define if input is readonly
|
|
800
|
+
* @default false
|
|
716
801
|
*/
|
|
717
802
|
"readonly": boolean;
|
|
718
803
|
/**
|
|
719
804
|
* Define if input is required
|
|
805
|
+
* @default false
|
|
720
806
|
*/
|
|
721
807
|
"required": boolean;
|
|
722
808
|
/**
|
|
@@ -739,10 +825,12 @@ export namespace Components {
|
|
|
739
825
|
"tooltip"?: string;
|
|
740
826
|
/**
|
|
741
827
|
* Define tooltip position
|
|
828
|
+
* @default 'input'
|
|
742
829
|
*/
|
|
743
830
|
"tooltipPosition": TooltipPosition;
|
|
744
831
|
/**
|
|
745
832
|
* Define numeric type
|
|
833
|
+
* @default 'decimal'
|
|
746
834
|
*/
|
|
747
835
|
"type": NumericType;
|
|
748
836
|
/**
|
|
@@ -751,6 +839,7 @@ export namespace Components {
|
|
|
751
839
|
"unit"?: Intl.NumberFormatOptions['unit'];
|
|
752
840
|
/**
|
|
753
841
|
* Define unit display format ('short', 'long', 'narrow')
|
|
842
|
+
* @default 'short'
|
|
754
843
|
*/
|
|
755
844
|
"unitDisplay": Intl.NumberFormatOptions['unitDisplay'];
|
|
756
845
|
/**
|
|
@@ -765,6 +854,7 @@ export namespace Components {
|
|
|
765
854
|
interface MgInputPassword {
|
|
766
855
|
/**
|
|
767
856
|
* Define if input is disabled
|
|
857
|
+
* @default false
|
|
768
858
|
*/
|
|
769
859
|
"disabled": boolean;
|
|
770
860
|
/**
|
|
@@ -789,10 +879,12 @@ export namespace Components {
|
|
|
789
879
|
"label": string;
|
|
790
880
|
/**
|
|
791
881
|
* Define if label is visible
|
|
882
|
+
* @default false
|
|
792
883
|
*/
|
|
793
884
|
"labelHide": boolean;
|
|
794
885
|
/**
|
|
795
886
|
* Define if label is displayed on top
|
|
887
|
+
* @default false
|
|
796
888
|
*/
|
|
797
889
|
"labelOnTop": boolean;
|
|
798
890
|
/**
|
|
@@ -801,10 +893,12 @@ export namespace Components {
|
|
|
801
893
|
"maxlength"?: number;
|
|
802
894
|
/**
|
|
803
895
|
* Define input width
|
|
896
|
+
* @default 'full'
|
|
804
897
|
*/
|
|
805
898
|
"mgWidth": Width;
|
|
806
899
|
/**
|
|
807
900
|
* Input name If not set the value equals the identifier
|
|
901
|
+
* @default this.identifier
|
|
808
902
|
*/
|
|
809
903
|
"name": string;
|
|
810
904
|
/**
|
|
@@ -813,10 +907,12 @@ export namespace Components {
|
|
|
813
907
|
"placeholder"?: string;
|
|
814
908
|
/**
|
|
815
909
|
* Define if input is readonly
|
|
910
|
+
* @default false
|
|
816
911
|
*/
|
|
817
912
|
"readonly": boolean;
|
|
818
913
|
/**
|
|
819
914
|
* Define if input is required
|
|
915
|
+
* @default false
|
|
820
916
|
*/
|
|
821
917
|
"required": boolean;
|
|
822
918
|
/**
|
|
@@ -839,6 +935,7 @@ export namespace Components {
|
|
|
839
935
|
"tooltip"?: string;
|
|
840
936
|
/**
|
|
841
937
|
* Define tooltip position
|
|
938
|
+
* @default 'input'
|
|
842
939
|
*/
|
|
843
940
|
"tooltipPosition": TooltipPosition;
|
|
844
941
|
/**
|
|
@@ -853,6 +950,7 @@ export namespace Components {
|
|
|
853
950
|
interface MgInputRadio {
|
|
854
951
|
/**
|
|
855
952
|
* Define if input is disabled
|
|
953
|
+
* @default false
|
|
856
954
|
*/
|
|
857
955
|
"disabled": boolean;
|
|
858
956
|
/**
|
|
@@ -869,6 +967,7 @@ export namespace Components {
|
|
|
869
967
|
"identifier": string;
|
|
870
968
|
/**
|
|
871
969
|
* Define if inputs are display verticaly
|
|
970
|
+
* @default false
|
|
872
971
|
*/
|
|
873
972
|
"inputVerticalList": boolean;
|
|
874
973
|
/**
|
|
@@ -885,22 +984,31 @@ export namespace Components {
|
|
|
885
984
|
"label": string;
|
|
886
985
|
/**
|
|
887
986
|
* Define if label is visible
|
|
987
|
+
* @default false
|
|
888
988
|
*/
|
|
889
989
|
"labelHide": boolean;
|
|
890
990
|
/**
|
|
891
991
|
* Define if label is displayed on top
|
|
992
|
+
* @default false
|
|
892
993
|
*/
|
|
893
994
|
"labelOnTop": boolean;
|
|
894
995
|
/**
|
|
895
996
|
* Input name If not set the value equals the identifier
|
|
997
|
+
* @default this.identifier
|
|
896
998
|
*/
|
|
897
999
|
"name": string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Define no value error detail
|
|
1002
|
+
*/
|
|
1003
|
+
"noValueErrorDetail"?: string;
|
|
898
1004
|
/**
|
|
899
1005
|
* Define if input is readonly
|
|
1006
|
+
* @default false
|
|
900
1007
|
*/
|
|
901
1008
|
"readonly": boolean;
|
|
902
1009
|
/**
|
|
903
1010
|
* Define if input is required
|
|
1011
|
+
* @default false
|
|
904
1012
|
*/
|
|
905
1013
|
"required": boolean;
|
|
906
1014
|
/**
|
|
@@ -923,6 +1031,7 @@ export namespace Components {
|
|
|
923
1031
|
"tooltip"?: string;
|
|
924
1032
|
/**
|
|
925
1033
|
* Define tooltip position
|
|
1034
|
+
* @default 'input'
|
|
926
1035
|
*/
|
|
927
1036
|
"tooltipPosition": TooltipPosition;
|
|
928
1037
|
/**
|
|
@@ -937,6 +1046,7 @@ export namespace Components {
|
|
|
937
1046
|
interface MgInputRichTextEditor {
|
|
938
1047
|
/**
|
|
939
1048
|
* Define if input is disabled
|
|
1049
|
+
* @default false
|
|
940
1050
|
*/
|
|
941
1051
|
"disabled": boolean;
|
|
942
1052
|
/**
|
|
@@ -971,10 +1081,12 @@ export namespace Components {
|
|
|
971
1081
|
"label": string;
|
|
972
1082
|
/**
|
|
973
1083
|
* Define if label is visible
|
|
1084
|
+
* @default false
|
|
974
1085
|
*/
|
|
975
1086
|
"labelHide": boolean;
|
|
976
1087
|
/**
|
|
977
1088
|
* Define if label is displayed on top
|
|
1089
|
+
* @default false
|
|
978
1090
|
*/
|
|
979
1091
|
"labelOnTop": boolean;
|
|
980
1092
|
/**
|
|
@@ -995,10 +1107,12 @@ export namespace Components {
|
|
|
995
1107
|
"placeholder"?: string;
|
|
996
1108
|
/**
|
|
997
1109
|
* Define if the editor is readonly
|
|
1110
|
+
* @default false
|
|
998
1111
|
*/
|
|
999
1112
|
"readonly": boolean;
|
|
1000
1113
|
/**
|
|
1001
1114
|
* Define if input is required
|
|
1115
|
+
* @default false
|
|
1002
1116
|
*/
|
|
1003
1117
|
"required": boolean;
|
|
1004
1118
|
/**
|
|
@@ -1007,6 +1121,7 @@ export namespace Components {
|
|
|
1007
1121
|
"reset": () => Promise<void>;
|
|
1008
1122
|
/**
|
|
1009
1123
|
* Define the number of visible text lines for the control
|
|
1124
|
+
* @default 5
|
|
1010
1125
|
*/
|
|
1011
1126
|
"rows": number;
|
|
1012
1127
|
/**
|
|
@@ -1025,6 +1140,7 @@ export namespace Components {
|
|
|
1025
1140
|
"tooltip"?: string;
|
|
1026
1141
|
/**
|
|
1027
1142
|
* Define tooltip position
|
|
1143
|
+
* @default 'input'
|
|
1028
1144
|
*/
|
|
1029
1145
|
"tooltipPosition": TooltipPosition;
|
|
1030
1146
|
/**
|
|
@@ -1033,12 +1149,14 @@ export namespace Components {
|
|
|
1033
1149
|
"valid": boolean;
|
|
1034
1150
|
/**
|
|
1035
1151
|
* Define the value of the editor Can be either HTML string or plain text
|
|
1152
|
+
* @default ''
|
|
1036
1153
|
*/
|
|
1037
1154
|
"value": string;
|
|
1038
1155
|
}
|
|
1039
1156
|
interface MgInputSelect {
|
|
1040
1157
|
/**
|
|
1041
1158
|
* Define if input is disabled
|
|
1159
|
+
* @default false
|
|
1042
1160
|
*/
|
|
1043
1161
|
"disabled": boolean;
|
|
1044
1162
|
/**
|
|
@@ -1067,10 +1185,12 @@ export namespace Components {
|
|
|
1067
1185
|
"label": string;
|
|
1068
1186
|
/**
|
|
1069
1187
|
* Define if label is visible
|
|
1188
|
+
* @default false
|
|
1070
1189
|
*/
|
|
1071
1190
|
"labelHide": boolean;
|
|
1072
1191
|
/**
|
|
1073
1192
|
* Define if label is displayed on top
|
|
1193
|
+
* @default false
|
|
1074
1194
|
*/
|
|
1075
1195
|
"labelOnTop": boolean;
|
|
1076
1196
|
/**
|
|
@@ -1079,26 +1199,35 @@ export namespace Components {
|
|
|
1079
1199
|
"mgWidth": Width;
|
|
1080
1200
|
/**
|
|
1081
1201
|
* Input name If not set the value equals the identifier
|
|
1202
|
+
* @default this.identifier
|
|
1082
1203
|
*/
|
|
1083
1204
|
"name": string;
|
|
1205
|
+
/**
|
|
1206
|
+
* Define no value error detail
|
|
1207
|
+
*/
|
|
1208
|
+
"noValueErrorDetail"?: string;
|
|
1084
1209
|
/**
|
|
1085
1210
|
* Input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help text.
|
|
1086
1211
|
*/
|
|
1087
1212
|
"placeholder": string;
|
|
1088
1213
|
/**
|
|
1089
1214
|
* Option to disable placeholder
|
|
1215
|
+
* @default false
|
|
1090
1216
|
*/
|
|
1091
1217
|
"placeholderDisabled": boolean;
|
|
1092
1218
|
/**
|
|
1093
1219
|
* Option to remove placeholder
|
|
1220
|
+
* @default false
|
|
1094
1221
|
*/
|
|
1095
1222
|
"placeholderHide": boolean;
|
|
1096
1223
|
/**
|
|
1097
1224
|
* Define if input is readonly
|
|
1225
|
+
* @default false
|
|
1098
1226
|
*/
|
|
1099
1227
|
"readonly": boolean;
|
|
1100
1228
|
/**
|
|
1101
1229
|
* Define if input is required
|
|
1230
|
+
* @default false
|
|
1102
1231
|
*/
|
|
1103
1232
|
"required": boolean;
|
|
1104
1233
|
/**
|
|
@@ -1121,6 +1250,7 @@ export namespace Components {
|
|
|
1121
1250
|
"tooltip"?: string;
|
|
1122
1251
|
/**
|
|
1123
1252
|
* Define tooltip position
|
|
1253
|
+
* @default 'input'
|
|
1124
1254
|
*/
|
|
1125
1255
|
"tooltipPosition": TooltipPosition;
|
|
1126
1256
|
/**
|
|
@@ -1135,6 +1265,7 @@ export namespace Components {
|
|
|
1135
1265
|
interface MgInputText {
|
|
1136
1266
|
/**
|
|
1137
1267
|
* Define if component should display character left
|
|
1268
|
+
* @default false
|
|
1138
1269
|
*/
|
|
1139
1270
|
"characterLeftHide": boolean;
|
|
1140
1271
|
/**
|
|
@@ -1143,6 +1274,7 @@ export namespace Components {
|
|
|
1143
1274
|
"datalistoptions": string[] | OptionType[];
|
|
1144
1275
|
/**
|
|
1145
1276
|
* Define if input is disabled
|
|
1277
|
+
* @default false
|
|
1146
1278
|
*/
|
|
1147
1279
|
"disabled": boolean;
|
|
1148
1280
|
/**
|
|
@@ -1171,22 +1303,27 @@ export namespace Components {
|
|
|
1171
1303
|
"label": string;
|
|
1172
1304
|
/**
|
|
1173
1305
|
* Define if label is visible
|
|
1306
|
+
* @default false
|
|
1174
1307
|
*/
|
|
1175
1308
|
"labelHide": boolean;
|
|
1176
1309
|
/**
|
|
1177
1310
|
* Define if label is displayed on top
|
|
1311
|
+
* @default false
|
|
1178
1312
|
*/
|
|
1179
1313
|
"labelOnTop": boolean;
|
|
1180
1314
|
/**
|
|
1181
1315
|
* Input max length
|
|
1316
|
+
* @default 400
|
|
1182
1317
|
*/
|
|
1183
1318
|
"maxlength": number;
|
|
1184
1319
|
/**
|
|
1185
1320
|
* Define input width
|
|
1321
|
+
* @default 'full'
|
|
1186
1322
|
*/
|
|
1187
1323
|
"mgWidth": Width;
|
|
1188
1324
|
/**
|
|
1189
1325
|
* Input name If not set the value equals the identifier
|
|
1326
|
+
* @default this.identifier
|
|
1190
1327
|
*/
|
|
1191
1328
|
"name": string;
|
|
1192
1329
|
/**
|
|
@@ -1203,10 +1340,12 @@ export namespace Components {
|
|
|
1203
1340
|
"placeholder"?: string;
|
|
1204
1341
|
/**
|
|
1205
1342
|
* Define if input is readonly
|
|
1343
|
+
* @default false
|
|
1206
1344
|
*/
|
|
1207
1345
|
"readonly": boolean;
|
|
1208
1346
|
/**
|
|
1209
1347
|
* Define if input is required
|
|
1348
|
+
* @default false
|
|
1210
1349
|
*/
|
|
1211
1350
|
"required": boolean;
|
|
1212
1351
|
/**
|
|
@@ -1229,10 +1368,12 @@ export namespace Components {
|
|
|
1229
1368
|
"tooltip"?: string;
|
|
1230
1369
|
/**
|
|
1231
1370
|
* Define tooltip position
|
|
1371
|
+
* @default 'input'
|
|
1232
1372
|
*/
|
|
1233
1373
|
"tooltipPosition": TooltipPosition;
|
|
1234
1374
|
/**
|
|
1235
1375
|
* Input type
|
|
1376
|
+
* @default 'text'
|
|
1236
1377
|
*/
|
|
1237
1378
|
"type": TextType;
|
|
1238
1379
|
/**
|
|
@@ -1247,10 +1388,12 @@ export namespace Components {
|
|
|
1247
1388
|
interface MgInputTextarea {
|
|
1248
1389
|
/**
|
|
1249
1390
|
* Define if component should display character left
|
|
1391
|
+
* @default false
|
|
1250
1392
|
*/
|
|
1251
1393
|
"characterLeftHide": boolean;
|
|
1252
1394
|
/**
|
|
1253
1395
|
* Define if input is disabled
|
|
1396
|
+
* @default false
|
|
1254
1397
|
*/
|
|
1255
1398
|
"disabled": boolean;
|
|
1256
1399
|
/**
|
|
@@ -1275,22 +1418,27 @@ export namespace Components {
|
|
|
1275
1418
|
"label": string;
|
|
1276
1419
|
/**
|
|
1277
1420
|
* Define if label is visible
|
|
1421
|
+
* @default false
|
|
1278
1422
|
*/
|
|
1279
1423
|
"labelHide": boolean;
|
|
1280
1424
|
/**
|
|
1281
1425
|
* Define if label is displayed on top
|
|
1426
|
+
* @default false
|
|
1282
1427
|
*/
|
|
1283
1428
|
"labelOnTop": boolean;
|
|
1284
1429
|
/**
|
|
1285
1430
|
* Input max length
|
|
1431
|
+
* @default 4000
|
|
1286
1432
|
*/
|
|
1287
1433
|
"maxlength": number;
|
|
1288
1434
|
/**
|
|
1289
1435
|
* Define input width
|
|
1436
|
+
* @default 'full'
|
|
1290
1437
|
*/
|
|
1291
1438
|
"mgWidth": Width;
|
|
1292
1439
|
/**
|
|
1293
1440
|
* Input name If not set the value equals the identifier
|
|
1441
|
+
* @default this.identifier
|
|
1294
1442
|
*/
|
|
1295
1443
|
"name": string;
|
|
1296
1444
|
/**
|
|
@@ -1307,10 +1455,12 @@ export namespace Components {
|
|
|
1307
1455
|
"placeholder"?: string;
|
|
1308
1456
|
/**
|
|
1309
1457
|
* Define if input is readonly
|
|
1458
|
+
* @default false
|
|
1310
1459
|
*/
|
|
1311
1460
|
"readonly": boolean;
|
|
1312
1461
|
/**
|
|
1313
1462
|
* Define if input is required
|
|
1463
|
+
* @default false
|
|
1314
1464
|
*/
|
|
1315
1465
|
"required": boolean;
|
|
1316
1466
|
/**
|
|
@@ -1319,10 +1469,12 @@ export namespace Components {
|
|
|
1319
1469
|
"reset": () => Promise<void>;
|
|
1320
1470
|
/**
|
|
1321
1471
|
* Define if input is resizable
|
|
1472
|
+
* @default 'none'
|
|
1322
1473
|
*/
|
|
1323
1474
|
"resizable": 'none' | 'both' | 'horizontal' | 'vertical';
|
|
1324
1475
|
/**
|
|
1325
1476
|
* Define the number of visible text lines for the control
|
|
1477
|
+
* @default 3
|
|
1326
1478
|
*/
|
|
1327
1479
|
"rows": number;
|
|
1328
1480
|
/**
|
|
@@ -1341,6 +1493,7 @@ export namespace Components {
|
|
|
1341
1493
|
"tooltip"?: string;
|
|
1342
1494
|
/**
|
|
1343
1495
|
* Define tooltip position
|
|
1496
|
+
* @default 'input'
|
|
1344
1497
|
*/
|
|
1345
1498
|
"tooltipPosition": TooltipPosition;
|
|
1346
1499
|
/**
|
|
@@ -1359,6 +1512,7 @@ export namespace Components {
|
|
|
1359
1512
|
"identifier": string;
|
|
1360
1513
|
/**
|
|
1361
1514
|
* Switch from label to fieldset sementic
|
|
1515
|
+
* @default false
|
|
1362
1516
|
*/
|
|
1363
1517
|
"isLegend": boolean;
|
|
1364
1518
|
/**
|
|
@@ -1373,6 +1527,7 @@ export namespace Components {
|
|
|
1373
1527
|
interface MgInputToggle {
|
|
1374
1528
|
/**
|
|
1375
1529
|
* Define if input is disabled
|
|
1530
|
+
* @default false
|
|
1376
1531
|
*/
|
|
1377
1532
|
"disabled": boolean;
|
|
1378
1533
|
/**
|
|
@@ -1383,12 +1538,18 @@ export namespace Components {
|
|
|
1383
1538
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
1384
1539
|
*/
|
|
1385
1540
|
"identifier": string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Define input invalid state
|
|
1543
|
+
*/
|
|
1544
|
+
"invalid": boolean;
|
|
1386
1545
|
/**
|
|
1387
1546
|
* Define if toggle display icon
|
|
1547
|
+
* @default false
|
|
1388
1548
|
*/
|
|
1389
1549
|
"isIcon": boolean;
|
|
1390
1550
|
/**
|
|
1391
1551
|
* Define if toggle have on/off style
|
|
1552
|
+
* @default false
|
|
1392
1553
|
*/
|
|
1393
1554
|
"isOnOff": boolean;
|
|
1394
1555
|
/**
|
|
@@ -1401,18 +1562,26 @@ export namespace Components {
|
|
|
1401
1562
|
"label": string;
|
|
1402
1563
|
/**
|
|
1403
1564
|
* Define if label is visible
|
|
1565
|
+
* @default false
|
|
1404
1566
|
*/
|
|
1405
1567
|
"labelHide": boolean;
|
|
1406
1568
|
/**
|
|
1407
1569
|
* Define if label is displayed on top
|
|
1570
|
+
* @default false
|
|
1408
1571
|
*/
|
|
1409
1572
|
"labelOnTop": boolean;
|
|
1410
1573
|
/**
|
|
1411
1574
|
* Input name If not set the value equals the identifier
|
|
1575
|
+
* @default this.identifier
|
|
1412
1576
|
*/
|
|
1413
1577
|
"name": string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Define no value error detail
|
|
1580
|
+
*/
|
|
1581
|
+
"noValueErrorDetail"?: string;
|
|
1414
1582
|
/**
|
|
1415
1583
|
* Define if input is readonly
|
|
1584
|
+
* @default false
|
|
1416
1585
|
*/
|
|
1417
1586
|
"readonly": boolean;
|
|
1418
1587
|
/**
|
|
@@ -1435,8 +1604,13 @@ export namespace Components {
|
|
|
1435
1604
|
"tooltip"?: string;
|
|
1436
1605
|
/**
|
|
1437
1606
|
* Define tooltip position
|
|
1607
|
+
* @default 'input'
|
|
1438
1608
|
*/
|
|
1439
1609
|
"tooltipPosition": TooltipPosition;
|
|
1610
|
+
/**
|
|
1611
|
+
* Define input valid state
|
|
1612
|
+
*/
|
|
1613
|
+
"valid": boolean;
|
|
1440
1614
|
/**
|
|
1441
1615
|
* Component value
|
|
1442
1616
|
*/
|
|
@@ -1445,6 +1619,7 @@ export namespace Components {
|
|
|
1445
1619
|
interface MgItemMore {
|
|
1446
1620
|
/**
|
|
1447
1621
|
* Define icon
|
|
1622
|
+
* @default { icon: 'ellipsis-vertical' }
|
|
1448
1623
|
*/
|
|
1449
1624
|
"icon"?: IconType2;
|
|
1450
1625
|
/**
|
|
@@ -1453,6 +1628,7 @@ export namespace Components {
|
|
|
1453
1628
|
"size"?: SizeType1;
|
|
1454
1629
|
/**
|
|
1455
1630
|
* Define slot label element
|
|
1631
|
+
* @default { display: false }
|
|
1456
1632
|
*/
|
|
1457
1633
|
"slotlabel"?: SlotLabelType;
|
|
1458
1634
|
}
|
|
@@ -1463,12 +1639,14 @@ export namespace Components {
|
|
|
1463
1639
|
"message"?: string;
|
|
1464
1640
|
/**
|
|
1465
1641
|
* Hide message
|
|
1642
|
+
* @default false
|
|
1466
1643
|
*/
|
|
1467
1644
|
"messageHide": boolean;
|
|
1468
1645
|
}
|
|
1469
1646
|
interface MgMenu {
|
|
1470
1647
|
/**
|
|
1471
1648
|
* Component display direction.
|
|
1649
|
+
* @default 'horizontal'
|
|
1472
1650
|
*/
|
|
1473
1651
|
"direction": Direction;
|
|
1474
1652
|
/**
|
|
@@ -1481,12 +1659,14 @@ export namespace Components {
|
|
|
1481
1659
|
"label": string;
|
|
1482
1660
|
/**
|
|
1483
1661
|
* Define mg-menu size
|
|
1662
|
+
* @default 'medium'
|
|
1484
1663
|
*/
|
|
1485
1664
|
"size": MenuSizeType;
|
|
1486
1665
|
}
|
|
1487
1666
|
interface MgMenuItem {
|
|
1488
1667
|
/**
|
|
1489
1668
|
* Define menu-item content expanded.
|
|
1669
|
+
* @default false
|
|
1490
1670
|
*/
|
|
1491
1671
|
"expanded"?: boolean;
|
|
1492
1672
|
/**
|
|
@@ -1495,10 +1675,12 @@ export namespace Components {
|
|
|
1495
1675
|
"href"?: string;
|
|
1496
1676
|
/**
|
|
1497
1677
|
* Identifier is used to control mg-popover
|
|
1678
|
+
* @default createID('mg-menu-item')
|
|
1498
1679
|
*/
|
|
1499
1680
|
"identifier": string;
|
|
1500
1681
|
/**
|
|
1501
1682
|
* Define menu-item status.
|
|
1683
|
+
* @default 'visible'
|
|
1502
1684
|
*/
|
|
1503
1685
|
"status"?: MgMenuStatusType;
|
|
1504
1686
|
/**
|
|
@@ -1509,24 +1691,29 @@ export namespace Components {
|
|
|
1509
1691
|
interface MgMessage {
|
|
1510
1692
|
/**
|
|
1511
1693
|
* Define variant
|
|
1694
|
+
* @default 'info'
|
|
1512
1695
|
*/
|
|
1513
1696
|
"variant": VariantType2;
|
|
1514
1697
|
/**
|
|
1515
1698
|
* Define variant style
|
|
1699
|
+
* @default 'bar-left'
|
|
1516
1700
|
*/
|
|
1517
1701
|
"variantStyle": VariantStyleType1;
|
|
1518
1702
|
}
|
|
1519
1703
|
interface MgModal {
|
|
1520
1704
|
/**
|
|
1521
1705
|
* Define if modal has a cross button
|
|
1706
|
+
* @default false
|
|
1522
1707
|
*/
|
|
1523
1708
|
"closeButton": boolean;
|
|
1524
1709
|
/**
|
|
1525
1710
|
* Modal dialog role.
|
|
1711
|
+
* @default 'dialog'
|
|
1526
1712
|
*/
|
|
1527
1713
|
"dialogRole": DialogRoleType;
|
|
1528
1714
|
/**
|
|
1529
1715
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1716
|
+
* @default createID('mg-modal')
|
|
1530
1717
|
*/
|
|
1531
1718
|
"identifier": string;
|
|
1532
1719
|
/**
|
|
@@ -1535,24 +1722,29 @@ export namespace Components {
|
|
|
1535
1722
|
"modalTitle": string;
|
|
1536
1723
|
/**
|
|
1537
1724
|
* Define if modal is open
|
|
1725
|
+
* @default false
|
|
1538
1726
|
*/
|
|
1539
1727
|
"open": boolean;
|
|
1540
1728
|
}
|
|
1541
1729
|
interface MgPagination {
|
|
1542
1730
|
/**
|
|
1543
1731
|
* Component current page
|
|
1732
|
+
* @default 1
|
|
1544
1733
|
*/
|
|
1545
1734
|
"currentPage": number;
|
|
1546
1735
|
/**
|
|
1547
1736
|
* Hide navigation label
|
|
1737
|
+
* @default false
|
|
1548
1738
|
*/
|
|
1549
1739
|
"hideNavigationLabels": boolean;
|
|
1550
1740
|
/**
|
|
1551
1741
|
* Hide select input
|
|
1742
|
+
* @default false
|
|
1552
1743
|
*/
|
|
1553
1744
|
"hidePageCount": boolean;
|
|
1554
1745
|
/**
|
|
1555
1746
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1747
|
+
* @default createID('mg-pagination')
|
|
1556
1748
|
*/
|
|
1557
1749
|
"identifier": string;
|
|
1558
1750
|
/**
|
|
@@ -1565,32 +1757,43 @@ export namespace Components {
|
|
|
1565
1757
|
"messages": PaginationMessagesType;
|
|
1566
1758
|
/**
|
|
1567
1759
|
* Component total pages
|
|
1760
|
+
* @default 1
|
|
1568
1761
|
*/
|
|
1569
1762
|
"totalPages": number;
|
|
1570
1763
|
}
|
|
1571
1764
|
interface MgPanel {
|
|
1572
1765
|
/**
|
|
1573
1766
|
* Disable possibility to toggle expand
|
|
1767
|
+
* @default false
|
|
1574
1768
|
*/
|
|
1575
1769
|
"expandToggleDisabled": boolean;
|
|
1576
1770
|
/**
|
|
1577
1771
|
* Define expand toggle button display
|
|
1772
|
+
* @default 'text'
|
|
1578
1773
|
*/
|
|
1579
1774
|
"expandToggleDisplay": ExpandToggleDisplayType;
|
|
1580
1775
|
/**
|
|
1581
1776
|
* Panel is opened
|
|
1777
|
+
* @default false
|
|
1582
1778
|
*/
|
|
1583
1779
|
"expanded": boolean;
|
|
1584
1780
|
/**
|
|
1585
1781
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1782
|
+
* @default createID('mg-panel')
|
|
1586
1783
|
*/
|
|
1587
1784
|
"identifier": string;
|
|
1588
1785
|
/**
|
|
1589
1786
|
* Panel title
|
|
1590
1787
|
*/
|
|
1591
1788
|
"panelTitle": string;
|
|
1789
|
+
/**
|
|
1790
|
+
* Add box-shadow style
|
|
1791
|
+
* @default false
|
|
1792
|
+
*/
|
|
1793
|
+
"shadow": boolean;
|
|
1592
1794
|
/**
|
|
1593
1795
|
* Define if panel title is editable
|
|
1796
|
+
* @default false
|
|
1594
1797
|
*/
|
|
1595
1798
|
"titleEditable": boolean;
|
|
1596
1799
|
/**
|
|
@@ -1603,44 +1806,53 @@ export namespace Components {
|
|
|
1603
1806
|
"titlePatternErrorMessage"?: string;
|
|
1604
1807
|
/**
|
|
1605
1808
|
* Define title position
|
|
1809
|
+
* @default 'left'
|
|
1606
1810
|
*/
|
|
1607
1811
|
"titlePosition": TitlePositionType;
|
|
1608
1812
|
}
|
|
1609
1813
|
interface MgPopover {
|
|
1610
1814
|
/**
|
|
1611
1815
|
* Hide popover arrow
|
|
1816
|
+
* @default false
|
|
1612
1817
|
*/
|
|
1613
1818
|
"arrowHide": boolean;
|
|
1614
1819
|
/**
|
|
1615
1820
|
* Define if popover has a cross button
|
|
1821
|
+
* @default false
|
|
1616
1822
|
*/
|
|
1617
1823
|
"closeButton": boolean;
|
|
1618
1824
|
/**
|
|
1619
1825
|
* Disable popover
|
|
1826
|
+
* @default false
|
|
1620
1827
|
*/
|
|
1621
1828
|
"disabled": boolean;
|
|
1622
1829
|
/**
|
|
1623
1830
|
* Display popover
|
|
1831
|
+
* @default false
|
|
1624
1832
|
*/
|
|
1625
1833
|
"display": boolean;
|
|
1626
1834
|
/**
|
|
1627
1835
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
1836
|
+
* @default createID('mg-popover')
|
|
1628
1837
|
*/
|
|
1629
1838
|
"identifier": string;
|
|
1630
1839
|
/**
|
|
1631
1840
|
* Popover placement
|
|
1841
|
+
* @default 'bottom'
|
|
1632
1842
|
*/
|
|
1633
1843
|
"placement": Placement;
|
|
1634
1844
|
}
|
|
1635
1845
|
interface MgPopoverContent {
|
|
1636
1846
|
/**
|
|
1637
1847
|
* Define if popover has a cross button
|
|
1848
|
+
* @default false
|
|
1638
1849
|
*/
|
|
1639
1850
|
"closeButton": boolean;
|
|
1640
1851
|
}
|
|
1641
1852
|
interface MgProgress {
|
|
1642
1853
|
/**
|
|
1643
1854
|
* Define progress role - `progressbar` to indicate a progress, such as loading or percent completion of a task - `meter` to indicate a graphical display of a numeric value that varies within a defined range
|
|
1855
|
+
* @default 'progressbar'
|
|
1644
1856
|
*/
|
|
1645
1857
|
"ariaRole"?: AriaRoleType1;
|
|
1646
1858
|
/**
|
|
@@ -1649,14 +1861,17 @@ export namespace Components {
|
|
|
1649
1861
|
"label": string;
|
|
1650
1862
|
/**
|
|
1651
1863
|
* Define the maximum value in the range
|
|
1864
|
+
* @default 100
|
|
1652
1865
|
*/
|
|
1653
1866
|
"max"?: number;
|
|
1654
1867
|
/**
|
|
1655
1868
|
* Define the minimum value in the range
|
|
1869
|
+
* @default 0
|
|
1656
1870
|
*/
|
|
1657
1871
|
"min"?: number;
|
|
1658
1872
|
/**
|
|
1659
1873
|
* Define current value By default, it will be displayed as a percentage value. If you don’t specify the min and max props, the value should be a number within the range of 0 to 100.
|
|
1874
|
+
* @default 0
|
|
1660
1875
|
*/
|
|
1661
1876
|
"value"?: number;
|
|
1662
1877
|
}
|
|
@@ -1673,10 +1888,12 @@ export namespace Components {
|
|
|
1673
1888
|
"columns": ColumnsType;
|
|
1674
1889
|
/**
|
|
1675
1890
|
* Define if table fits its parent element
|
|
1891
|
+
* @default false
|
|
1676
1892
|
*/
|
|
1677
1893
|
"fullWidth": boolean;
|
|
1678
1894
|
/**
|
|
1679
1895
|
* Define table size
|
|
1896
|
+
* @default 'medium'
|
|
1680
1897
|
*/
|
|
1681
1898
|
"size": TableSizeType;
|
|
1682
1899
|
}
|
|
@@ -1687,6 +1904,7 @@ export namespace Components {
|
|
|
1687
1904
|
"activeTab": number;
|
|
1688
1905
|
/**
|
|
1689
1906
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1907
|
+
* @default createID('mg-tabs')
|
|
1690
1908
|
*/
|
|
1691
1909
|
"identifier": string;
|
|
1692
1910
|
/**
|
|
@@ -1699,34 +1917,41 @@ export namespace Components {
|
|
|
1699
1917
|
"label": string;
|
|
1700
1918
|
/**
|
|
1701
1919
|
* Define tabs size
|
|
1920
|
+
* @default 'medium'
|
|
1702
1921
|
*/
|
|
1703
1922
|
"size": SizeType2;
|
|
1704
1923
|
}
|
|
1705
1924
|
interface MgTag {
|
|
1706
1925
|
/**
|
|
1707
1926
|
* Define if tag is using outline style
|
|
1927
|
+
* @default false
|
|
1708
1928
|
*/
|
|
1709
1929
|
"outline": boolean;
|
|
1710
1930
|
/**
|
|
1711
1931
|
* Define if tag is using soft style
|
|
1932
|
+
* @default false
|
|
1712
1933
|
*/
|
|
1713
1934
|
"soft": boolean;
|
|
1714
1935
|
/**
|
|
1715
1936
|
* Define tag variant
|
|
1937
|
+
* @default 'primary'
|
|
1716
1938
|
*/
|
|
1717
1939
|
"variant": TagVariantType;
|
|
1718
1940
|
}
|
|
1719
1941
|
interface MgTooltip {
|
|
1720
1942
|
/**
|
|
1721
1943
|
* Disable tooltip
|
|
1944
|
+
* @default false
|
|
1722
1945
|
*/
|
|
1723
1946
|
"disabled": boolean;
|
|
1724
1947
|
/**
|
|
1725
1948
|
* Display tooltip
|
|
1949
|
+
* @default false
|
|
1726
1950
|
*/
|
|
1727
1951
|
"display": boolean;
|
|
1728
1952
|
/**
|
|
1729
1953
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
1954
|
+
* @default createID('mg-tooltip')
|
|
1730
1955
|
*/
|
|
1731
1956
|
"identifier": string;
|
|
1732
1957
|
/**
|
|
@@ -1735,6 +1960,7 @@ export namespace Components {
|
|
|
1735
1960
|
"message": string;
|
|
1736
1961
|
/**
|
|
1737
1962
|
* Tooltip placement
|
|
1963
|
+
* @default 'bottom'
|
|
1738
1964
|
*/
|
|
1739
1965
|
"placement": Placement;
|
|
1740
1966
|
}
|
|
@@ -1765,10 +1991,6 @@ export interface MgInputCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
1765
1991
|
detail: T;
|
|
1766
1992
|
target: HTMLMgInputCheckboxElement;
|
|
1767
1993
|
}
|
|
1768
|
-
export interface MgInputCheckboxPaginatedCustomEvent<T> extends CustomEvent<T> {
|
|
1769
|
-
detail: T;
|
|
1770
|
-
target: HTMLMgInputCheckboxPaginatedElement;
|
|
1771
|
-
}
|
|
1772
1994
|
export interface MgInputComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
1773
1995
|
detail: T;
|
|
1774
1996
|
target: HTMLMgInputComboboxElement;
|
|
@@ -1980,21 +2202,10 @@ declare global {
|
|
|
1980
2202
|
prototype: HTMLMgInputCheckboxElement;
|
|
1981
2203
|
new (): HTMLMgInputCheckboxElement;
|
|
1982
2204
|
};
|
|
1983
|
-
interface HTMLMgInputCheckboxPaginatedElementEventMap {
|
|
1984
|
-
"mass-action": SectionKindType;
|
|
1985
|
-
}
|
|
1986
2205
|
/**
|
|
1987
2206
|
* Internal component use to manage sections instances
|
|
1988
2207
|
*/
|
|
1989
2208
|
interface HTMLMgInputCheckboxPaginatedElement extends Components.MgInputCheckboxPaginated, HTMLStencilElement {
|
|
1990
|
-
addEventListener<K extends keyof HTMLMgInputCheckboxPaginatedElementEventMap>(type: K, listener: (this: HTMLMgInputCheckboxPaginatedElement, ev: MgInputCheckboxPaginatedCustomEvent<HTMLMgInputCheckboxPaginatedElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1991
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1992
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1993
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1994
|
-
removeEventListener<K extends keyof HTMLMgInputCheckboxPaginatedElementEventMap>(type: K, listener: (this: HTMLMgInputCheckboxPaginatedElement, ev: MgInputCheckboxPaginatedCustomEvent<HTMLMgInputCheckboxPaginatedElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1995
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1996
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1997
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1998
2209
|
}
|
|
1999
2210
|
var HTMLMgInputCheckboxPaginatedElement: {
|
|
2000
2211
|
prototype: HTMLMgInputCheckboxPaginatedElement;
|
|
@@ -2097,7 +2308,12 @@ declare global {
|
|
|
2097
2308
|
"input-valid": boolean;
|
|
2098
2309
|
"value-change": string;
|
|
2099
2310
|
}
|
|
2100
|
-
interface HTMLMgInputRichTextEditorElement extends Components.MgInputRichTextEditor, HTMLStencilElement {
|
|
2311
|
+
interface HTMLMgInputRichTextEditorElement extends Omit<Components.MgInputRichTextEditor, "getHTML">, HTMLStencilElement {
|
|
2312
|
+
/**
|
|
2313
|
+
* Get editor content as HTML
|
|
2314
|
+
* @returns HTML content of the editor
|
|
2315
|
+
*/
|
|
2316
|
+
"getHTML": () => Promise<string>;
|
|
2101
2317
|
addEventListener<K extends keyof HTMLMgInputRichTextEditorElementEventMap>(type: K, listener: (this: HTMLMgInputRichTextEditorElement, ev: MgInputRichTextEditorCustomEvent<HTMLMgInputRichTextEditorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2102
2318
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2103
2319
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2433,10 +2649,12 @@ declare namespace LocalJSX {
|
|
|
2433
2649
|
interface MgActionMore {
|
|
2434
2650
|
/**
|
|
2435
2651
|
* Define button properties
|
|
2652
|
+
* @default { variant: 'flat', isIcon: true }
|
|
2436
2653
|
*/
|
|
2437
2654
|
"button"?: MgActionMoreButtonType;
|
|
2438
2655
|
/**
|
|
2439
2656
|
* Define if chevron is display
|
|
2657
|
+
* @default false
|
|
2440
2658
|
*/
|
|
2441
2659
|
"displayChevron"?: boolean;
|
|
2442
2660
|
/**
|
|
@@ -2467,10 +2685,12 @@ declare namespace LocalJSX {
|
|
|
2467
2685
|
"onComponent-show"?: (event: MgAlertCustomEvent<void>) => void;
|
|
2468
2686
|
/**
|
|
2469
2687
|
* Define variant
|
|
2688
|
+
* @default 'info'
|
|
2470
2689
|
*/
|
|
2471
2690
|
"variant"?: VariantType;
|
|
2472
2691
|
/**
|
|
2473
2692
|
* Define variant style
|
|
2693
|
+
* @default 'bar-left'
|
|
2474
2694
|
*/
|
|
2475
2695
|
"variantStyle"?: VariantStyleType;
|
|
2476
2696
|
}
|
|
@@ -2481,6 +2701,7 @@ declare namespace LocalJSX {
|
|
|
2481
2701
|
"label": string;
|
|
2482
2702
|
/**
|
|
2483
2703
|
* Define if button is using outline style
|
|
2704
|
+
* @default false
|
|
2484
2705
|
*/
|
|
2485
2706
|
"outline"?: boolean;
|
|
2486
2707
|
/**
|
|
@@ -2489,12 +2710,14 @@ declare namespace LocalJSX {
|
|
|
2489
2710
|
"value": string | number;
|
|
2490
2711
|
/**
|
|
2491
2712
|
* Define badge variant
|
|
2713
|
+
* @default 'info'
|
|
2492
2714
|
*/
|
|
2493
2715
|
"variant"?: BadgeVariantType;
|
|
2494
2716
|
}
|
|
2495
2717
|
interface MgButton {
|
|
2496
2718
|
/**
|
|
2497
2719
|
* Option to set input disable on click, in order to prevent multi-click. Parent component have to remove the attribute 'disabled' when the process ends.
|
|
2720
|
+
* @default false
|
|
2498
2721
|
*/
|
|
2499
2722
|
"disableOnClick"?: boolean;
|
|
2500
2723
|
/**
|
|
@@ -2507,10 +2730,12 @@ declare namespace LocalJSX {
|
|
|
2507
2730
|
"form"?: string;
|
|
2508
2731
|
/**
|
|
2509
2732
|
* Set button to full-width
|
|
2733
|
+
* @default false
|
|
2510
2734
|
*/
|
|
2511
2735
|
"fullWidth"?: boolean;
|
|
2512
2736
|
/**
|
|
2513
2737
|
* Define if button is round. Used for icon button.
|
|
2738
|
+
* @default false
|
|
2514
2739
|
*/
|
|
2515
2740
|
"isIcon"?: boolean;
|
|
2516
2741
|
/**
|
|
@@ -2523,6 +2748,7 @@ declare namespace LocalJSX {
|
|
|
2523
2748
|
"onDisabled-change"?: (event: MgButtonCustomEvent<HTMLMgButtonElement['disabled']>) => void;
|
|
2524
2749
|
/**
|
|
2525
2750
|
* Define button size
|
|
2751
|
+
* @default 'medium'
|
|
2526
2752
|
*/
|
|
2527
2753
|
"size"?: SizeType;
|
|
2528
2754
|
/**
|
|
@@ -2531,14 +2757,26 @@ declare namespace LocalJSX {
|
|
|
2531
2757
|
"type"?: ButtonType;
|
|
2532
2758
|
/**
|
|
2533
2759
|
* Define button variant
|
|
2760
|
+
* @default 'primary'
|
|
2534
2761
|
*/
|
|
2535
2762
|
"variant"?: VariantType1;
|
|
2536
2763
|
}
|
|
2537
2764
|
interface MgCard {
|
|
2765
|
+
/**
|
|
2766
|
+
* Define the border radius size
|
|
2767
|
+
* @default 'medium'
|
|
2768
|
+
*/
|
|
2769
|
+
"radiusSize"?: RadiusSizeType;
|
|
2770
|
+
/**
|
|
2771
|
+
* Add box-shadow style
|
|
2772
|
+
* @default false
|
|
2773
|
+
*/
|
|
2774
|
+
"shadow"?: boolean;
|
|
2538
2775
|
}
|
|
2539
2776
|
interface MgCharacterLeft {
|
|
2540
2777
|
/**
|
|
2541
2778
|
* Sets the characters to count
|
|
2779
|
+
* @default ''
|
|
2542
2780
|
*/
|
|
2543
2781
|
"characters"?: string;
|
|
2544
2782
|
/**
|
|
@@ -2553,10 +2791,12 @@ declare namespace LocalJSX {
|
|
|
2553
2791
|
interface MgDetails {
|
|
2554
2792
|
/**
|
|
2555
2793
|
* Define if details are diplayed
|
|
2794
|
+
* @default false
|
|
2556
2795
|
*/
|
|
2557
2796
|
"expanded"?: boolean;
|
|
2558
2797
|
/**
|
|
2559
2798
|
* Hide summary element
|
|
2799
|
+
* @default false
|
|
2560
2800
|
*/
|
|
2561
2801
|
"hideSummary"?: boolean;
|
|
2562
2802
|
/**
|
|
@@ -2575,6 +2815,7 @@ declare namespace LocalJSX {
|
|
|
2575
2815
|
interface MgDivider {
|
|
2576
2816
|
/**
|
|
2577
2817
|
* Define component size
|
|
2818
|
+
* @default false
|
|
2578
2819
|
*/
|
|
2579
2820
|
"fullWidth"?: boolean;
|
|
2580
2821
|
}
|
|
@@ -2585,10 +2826,12 @@ declare namespace LocalJSX {
|
|
|
2585
2826
|
"ariaRole"?: AriaRoleType;
|
|
2586
2827
|
/**
|
|
2587
2828
|
* Define if form is disabled
|
|
2829
|
+
* @default false
|
|
2588
2830
|
*/
|
|
2589
2831
|
"disabled"?: boolean;
|
|
2590
2832
|
/**
|
|
2591
2833
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
2834
|
+
* @default createID('mg-form')
|
|
2592
2835
|
*/
|
|
2593
2836
|
"identifier"?: string;
|
|
2594
2837
|
/**
|
|
@@ -2597,10 +2840,12 @@ declare namespace LocalJSX {
|
|
|
2597
2840
|
"invalid"?: boolean;
|
|
2598
2841
|
/**
|
|
2599
2842
|
* Define if slotted mg-component's label are displayed on top
|
|
2843
|
+
* @default false
|
|
2600
2844
|
*/
|
|
2601
2845
|
"labelOnTop"?: boolean;
|
|
2602
2846
|
/**
|
|
2603
2847
|
* Input name If not set the value equals the identifier
|
|
2848
|
+
* @default this.identifier
|
|
2604
2849
|
*/
|
|
2605
2850
|
"name"?: string;
|
|
2606
2851
|
/**
|
|
@@ -2617,6 +2862,7 @@ declare namespace LocalJSX {
|
|
|
2617
2862
|
"onForm-valid"?: (event: MgFormCustomEvent<HTMLMgFormElement['valid']>) => void;
|
|
2618
2863
|
/**
|
|
2619
2864
|
* Define if form is readonly
|
|
2865
|
+
* @default false
|
|
2620
2866
|
*/
|
|
2621
2867
|
"readonly"?: boolean;
|
|
2622
2868
|
/**
|
|
@@ -2635,10 +2881,12 @@ declare namespace LocalJSX {
|
|
|
2635
2881
|
"icon": IconType;
|
|
2636
2882
|
/**
|
|
2637
2883
|
* Define icon size
|
|
2884
|
+
* @default 'medium'
|
|
2638
2885
|
*/
|
|
2639
2886
|
"size"?: IconSizeType;
|
|
2640
2887
|
/**
|
|
2641
2888
|
* Make the icon spin
|
|
2889
|
+
* @default false
|
|
2642
2890
|
*/
|
|
2643
2891
|
"spin"?: boolean;
|
|
2644
2892
|
/**
|
|
@@ -2653,22 +2901,25 @@ declare namespace LocalJSX {
|
|
|
2653
2901
|
interface MgIllustratedMessage {
|
|
2654
2902
|
/**
|
|
2655
2903
|
* Define component orientation
|
|
2904
|
+
* @default 'vertical'
|
|
2656
2905
|
*/
|
|
2657
2906
|
"direction"?: IllustratedMessageDirectionType;
|
|
2658
2907
|
/**
|
|
2659
2908
|
* Define illustration size
|
|
2909
|
+
* @default 'medium'
|
|
2660
2910
|
*/
|
|
2661
2911
|
"size"?: IllustratedMessageSizeType;
|
|
2662
2912
|
}
|
|
2663
2913
|
interface MgInput {
|
|
2664
2914
|
/**
|
|
2665
2915
|
* Define aria-describedby ids to link with
|
|
2916
|
+
* @default []
|
|
2666
2917
|
*/
|
|
2667
|
-
"ariaDescribedbyIDs"?: string[];
|
|
2918
|
+
"ariaDescribedbyIDs"?: string[] | string;
|
|
2668
2919
|
/**
|
|
2669
2920
|
* Define error message to display
|
|
2670
2921
|
*/
|
|
2671
|
-
"errorMessage"?: string;
|
|
2922
|
+
"errorMessage"?: string | ErrorMessageDetailsType;
|
|
2672
2923
|
/**
|
|
2673
2924
|
* Define help text to display
|
|
2674
2925
|
*/
|
|
@@ -2683,14 +2934,17 @@ declare namespace LocalJSX {
|
|
|
2683
2934
|
"label": string;
|
|
2684
2935
|
/**
|
|
2685
2936
|
* Define if label is visible
|
|
2937
|
+
* @default false
|
|
2686
2938
|
*/
|
|
2687
2939
|
"labelHide"?: boolean;
|
|
2688
2940
|
/**
|
|
2689
2941
|
* Define if label is displayed on top
|
|
2942
|
+
* @default false
|
|
2690
2943
|
*/
|
|
2691
2944
|
"labelOnTop"?: boolean;
|
|
2692
2945
|
/**
|
|
2693
2946
|
* Define if input is required
|
|
2947
|
+
* @default false
|
|
2694
2948
|
*/
|
|
2695
2949
|
"required"?: boolean;
|
|
2696
2950
|
/**
|
|
@@ -2699,16 +2953,19 @@ declare namespace LocalJSX {
|
|
|
2699
2953
|
"tooltip"?: string;
|
|
2700
2954
|
/**
|
|
2701
2955
|
* Define tooltip position
|
|
2956
|
+
* @default 'input'
|
|
2702
2957
|
*/
|
|
2703
2958
|
"tooltipPosition"?: TooltipPosition;
|
|
2704
2959
|
}
|
|
2705
2960
|
interface MgInputCheckbox {
|
|
2706
2961
|
/**
|
|
2707
2962
|
* Define if input is disabled
|
|
2963
|
+
* @default false
|
|
2708
2964
|
*/
|
|
2709
2965
|
"disabled"?: boolean;
|
|
2710
2966
|
/**
|
|
2711
2967
|
* Display selected values list in "multi" type This prop is only applied with prop type "multi" or when an "unset" mode render a "multi" type.
|
|
2968
|
+
* @default false
|
|
2712
2969
|
*/
|
|
2713
2970
|
"displaySelectedValues"?: boolean;
|
|
2714
2971
|
/**
|
|
@@ -2725,6 +2982,7 @@ declare namespace LocalJSX {
|
|
|
2725
2982
|
"identifier": string;
|
|
2726
2983
|
/**
|
|
2727
2984
|
* Define if inputs are display verticaly
|
|
2985
|
+
* @default false
|
|
2728
2986
|
*/
|
|
2729
2987
|
"inputVerticalList"?: boolean;
|
|
2730
2988
|
/**
|
|
@@ -2737,16 +2995,23 @@ declare namespace LocalJSX {
|
|
|
2737
2995
|
"label": string;
|
|
2738
2996
|
/**
|
|
2739
2997
|
* Define if label is visible
|
|
2998
|
+
* @default false
|
|
2740
2999
|
*/
|
|
2741
3000
|
"labelHide"?: boolean;
|
|
2742
3001
|
/**
|
|
2743
3002
|
* Define if label is displayed on top
|
|
3003
|
+
* @default false
|
|
2744
3004
|
*/
|
|
2745
3005
|
"labelOnTop"?: boolean;
|
|
2746
3006
|
/**
|
|
2747
3007
|
* Define input name If not set the value equals the identifier
|
|
3008
|
+
* @default this.identifier
|
|
2748
3009
|
*/
|
|
2749
3010
|
"name"?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* Define no value error detail
|
|
3013
|
+
*/
|
|
3014
|
+
"noValueErrorDetail"?: string;
|
|
2750
3015
|
/**
|
|
2751
3016
|
* Emited event when checking validity
|
|
2752
3017
|
*/
|
|
@@ -2757,10 +3022,12 @@ declare namespace LocalJSX {
|
|
|
2757
3022
|
"onValue-change"?: (event: MgInputCheckboxCustomEvent<HTMLMgInputCheckboxElement['value']>) => void;
|
|
2758
3023
|
/**
|
|
2759
3024
|
* Define if mg-input-checkbox is readonly
|
|
3025
|
+
* @default false
|
|
2760
3026
|
*/
|
|
2761
3027
|
"readonly"?: boolean;
|
|
2762
3028
|
/**
|
|
2763
3029
|
* Define if mg-input-checkbox is required
|
|
3030
|
+
* @default false
|
|
2764
3031
|
*/
|
|
2765
3032
|
"required"?: boolean;
|
|
2766
3033
|
/**
|
|
@@ -2777,6 +3044,7 @@ declare namespace LocalJSX {
|
|
|
2777
3044
|
"tooltip"?: string;
|
|
2778
3045
|
/**
|
|
2779
3046
|
* Define tooltip position
|
|
3047
|
+
* @default 'input'
|
|
2780
3048
|
*/
|
|
2781
3049
|
"tooltipPosition"?: TooltipPosition;
|
|
2782
3050
|
/**
|
|
@@ -2800,12 +3068,9 @@ declare namespace LocalJSX {
|
|
|
2800
3068
|
* Define checkboxes to paginate
|
|
2801
3069
|
*/
|
|
2802
3070
|
"checkboxes"?: CheckboxItem[];
|
|
2803
|
-
/**
|
|
2804
|
-
* Current page
|
|
2805
|
-
*/
|
|
2806
|
-
"currentPage"?: number;
|
|
2807
3071
|
/**
|
|
2808
3072
|
* Define if mg-input-checkbox-list is disabled
|
|
3073
|
+
* @default false
|
|
2809
3074
|
*/
|
|
2810
3075
|
"disabled"?: boolean;
|
|
2811
3076
|
/**
|
|
@@ -2820,18 +3085,16 @@ declare namespace LocalJSX {
|
|
|
2820
3085
|
* Define mg-input-checkbox input name
|
|
2821
3086
|
*/
|
|
2822
3087
|
"name"?: string;
|
|
2823
|
-
/**
|
|
2824
|
-
* Emit 'mass-action' event used to informe that select-all/unselect-all button listner is triggered
|
|
2825
|
-
*/
|
|
2826
|
-
"onMass-action"?: (event: MgInputCheckboxPaginatedCustomEvent<SectionKindType>) => void;
|
|
2827
3088
|
/**
|
|
2828
3089
|
* Define if mg-input-checkbox-list is readonly
|
|
3090
|
+
* @default false
|
|
2829
3091
|
*/
|
|
2830
3092
|
"readonly"?: boolean;
|
|
2831
3093
|
}
|
|
2832
3094
|
interface MgInputCombobox {
|
|
2833
3095
|
/**
|
|
2834
3096
|
* Define if input is disabled
|
|
3097
|
+
* @default false
|
|
2835
3098
|
*/
|
|
2836
3099
|
"disabled"?: boolean;
|
|
2837
3100
|
/**
|
|
@@ -2877,20 +3140,28 @@ declare namespace LocalJSX {
|
|
|
2877
3140
|
"label": string;
|
|
2878
3141
|
/**
|
|
2879
3142
|
* Define if label is visible
|
|
3143
|
+
* @default false
|
|
2880
3144
|
*/
|
|
2881
3145
|
"labelHide"?: boolean;
|
|
2882
3146
|
/**
|
|
2883
3147
|
* Define if label is displayed on top
|
|
3148
|
+
* @default false
|
|
2884
3149
|
*/
|
|
2885
3150
|
"labelOnTop"?: boolean;
|
|
2886
3151
|
/**
|
|
2887
3152
|
* Define input width
|
|
3153
|
+
* @default 'full'
|
|
2888
3154
|
*/
|
|
2889
3155
|
"mgWidth"?: Width;
|
|
2890
3156
|
/**
|
|
2891
3157
|
* Input name If not set the value equals the identifier
|
|
3158
|
+
* @default this.identifier
|
|
2892
3159
|
*/
|
|
2893
3160
|
"name"?: string;
|
|
3161
|
+
/**
|
|
3162
|
+
* Define no value error detail
|
|
3163
|
+
*/
|
|
3164
|
+
"noValueErrorDetail"?: string;
|
|
2894
3165
|
/**
|
|
2895
3166
|
* Emited event when fetch API throw an error
|
|
2896
3167
|
*/
|
|
@@ -2917,10 +3188,12 @@ declare namespace LocalJSX {
|
|
|
2917
3188
|
"placeholder"?: string;
|
|
2918
3189
|
/**
|
|
2919
3190
|
* Define if input is readonly
|
|
3191
|
+
* @default false
|
|
2920
3192
|
*/
|
|
2921
3193
|
"readonly"?: boolean;
|
|
2922
3194
|
/**
|
|
2923
3195
|
* Define if input is required
|
|
3196
|
+
* @default false
|
|
2924
3197
|
*/
|
|
2925
3198
|
"required"?: boolean;
|
|
2926
3199
|
/**
|
|
@@ -2929,6 +3202,7 @@ declare namespace LocalJSX {
|
|
|
2929
3202
|
"tooltip"?: string;
|
|
2930
3203
|
/**
|
|
2931
3204
|
* Define tooltip position
|
|
3205
|
+
* @default 'input'
|
|
2932
3206
|
*/
|
|
2933
3207
|
"tooltipPosition"?: TooltipPosition;
|
|
2934
3208
|
/**
|
|
@@ -2943,6 +3217,7 @@ declare namespace LocalJSX {
|
|
|
2943
3217
|
interface MgInputDate {
|
|
2944
3218
|
/**
|
|
2945
3219
|
* Define if input is disabled
|
|
3220
|
+
* @default false
|
|
2946
3221
|
*/
|
|
2947
3222
|
"disabled"?: boolean;
|
|
2948
3223
|
/**
|
|
@@ -2963,14 +3238,17 @@ declare namespace LocalJSX {
|
|
|
2963
3238
|
"label": string;
|
|
2964
3239
|
/**
|
|
2965
3240
|
* Define if label is visible
|
|
3241
|
+
* @default false
|
|
2966
3242
|
*/
|
|
2967
3243
|
"labelHide"?: boolean;
|
|
2968
3244
|
/**
|
|
2969
3245
|
* Define if label is displayed on top
|
|
3246
|
+
* @default false
|
|
2970
3247
|
*/
|
|
2971
3248
|
"labelOnTop"?: boolean;
|
|
2972
3249
|
/**
|
|
2973
3250
|
* Define input maximum date format: yyyy-mm-dd
|
|
3251
|
+
* @default '9999-12-31'
|
|
2974
3252
|
*/
|
|
2975
3253
|
"max"?: string;
|
|
2976
3254
|
/**
|
|
@@ -2979,6 +3257,7 @@ declare namespace LocalJSX {
|
|
|
2979
3257
|
"min"?: string;
|
|
2980
3258
|
/**
|
|
2981
3259
|
* Input name If not set the value equals the identifier
|
|
3260
|
+
* @default this.identifier
|
|
2982
3261
|
*/
|
|
2983
3262
|
"name"?: string;
|
|
2984
3263
|
/**
|
|
@@ -2991,10 +3270,12 @@ declare namespace LocalJSX {
|
|
|
2991
3270
|
"onValue-change"?: (event: MgInputDateCustomEvent<HTMLMgInputDateElement['value']>) => void;
|
|
2992
3271
|
/**
|
|
2993
3272
|
* Define if input is readonly
|
|
3273
|
+
* @default false
|
|
2994
3274
|
*/
|
|
2995
3275
|
"readonly"?: boolean;
|
|
2996
3276
|
/**
|
|
2997
3277
|
* Define if input is required
|
|
3278
|
+
* @default false
|
|
2998
3279
|
*/
|
|
2999
3280
|
"required"?: boolean;
|
|
3000
3281
|
/**
|
|
@@ -3003,6 +3284,7 @@ declare namespace LocalJSX {
|
|
|
3003
3284
|
"tooltip"?: string;
|
|
3004
3285
|
/**
|
|
3005
3286
|
* Define tooltip position
|
|
3287
|
+
* @default 'input'
|
|
3006
3288
|
*/
|
|
3007
3289
|
"tooltipPosition"?: TooltipPosition;
|
|
3008
3290
|
/**
|
|
@@ -3017,18 +3299,22 @@ declare namespace LocalJSX {
|
|
|
3017
3299
|
interface MgInputNumeric {
|
|
3018
3300
|
/**
|
|
3019
3301
|
* Define currency
|
|
3302
|
+
* @default 'EUR'
|
|
3020
3303
|
*/
|
|
3021
3304
|
"currency"?: string;
|
|
3022
3305
|
/**
|
|
3023
3306
|
* Override decimal length decimal is the number after the decimal point
|
|
3307
|
+
* @default 2
|
|
3024
3308
|
*/
|
|
3025
3309
|
"decimalLength"?: number;
|
|
3026
3310
|
/**
|
|
3027
3311
|
* Define if input is disabled
|
|
3312
|
+
* @default false
|
|
3028
3313
|
*/
|
|
3029
3314
|
"disabled"?: boolean;
|
|
3030
3315
|
/**
|
|
3031
3316
|
* Set local formatting. Numbers are formatted based on the locale.
|
|
3317
|
+
* @default 'number'
|
|
3032
3318
|
*/
|
|
3033
3319
|
"format"?: Format;
|
|
3034
3320
|
/**
|
|
@@ -3041,6 +3327,7 @@ declare namespace LocalJSX {
|
|
|
3041
3327
|
"identifier": string;
|
|
3042
3328
|
/**
|
|
3043
3329
|
* Override integer length integer is the number before the decimal point
|
|
3330
|
+
* @default 13
|
|
3044
3331
|
*/
|
|
3045
3332
|
"integerLength"?: number;
|
|
3046
3333
|
/**
|
|
@@ -3053,10 +3340,12 @@ declare namespace LocalJSX {
|
|
|
3053
3340
|
"label": string;
|
|
3054
3341
|
/**
|
|
3055
3342
|
* Define if label is visible
|
|
3343
|
+
* @default false
|
|
3056
3344
|
*/
|
|
3057
3345
|
"labelHide"?: boolean;
|
|
3058
3346
|
/**
|
|
3059
3347
|
* Define if label is displayed on top
|
|
3348
|
+
* @default false
|
|
3060
3349
|
*/
|
|
3061
3350
|
"labelOnTop"?: boolean;
|
|
3062
3351
|
/**
|
|
@@ -3073,6 +3362,7 @@ declare namespace LocalJSX {
|
|
|
3073
3362
|
"min"?: number;
|
|
3074
3363
|
/**
|
|
3075
3364
|
* Input name If not set the value equals the identifier
|
|
3365
|
+
* @default this.identifier
|
|
3076
3366
|
*/
|
|
3077
3367
|
"name"?: string;
|
|
3078
3368
|
/**
|
|
@@ -3089,10 +3379,12 @@ declare namespace LocalJSX {
|
|
|
3089
3379
|
"placeholder"?: string;
|
|
3090
3380
|
/**
|
|
3091
3381
|
* Define if input is readonly
|
|
3382
|
+
* @default false
|
|
3092
3383
|
*/
|
|
3093
3384
|
"readonly"?: boolean;
|
|
3094
3385
|
/**
|
|
3095
3386
|
* Define if input is required
|
|
3387
|
+
* @default false
|
|
3096
3388
|
*/
|
|
3097
3389
|
"required"?: boolean;
|
|
3098
3390
|
/**
|
|
@@ -3101,10 +3393,12 @@ declare namespace LocalJSX {
|
|
|
3101
3393
|
"tooltip"?: string;
|
|
3102
3394
|
/**
|
|
3103
3395
|
* Define tooltip position
|
|
3396
|
+
* @default 'input'
|
|
3104
3397
|
*/
|
|
3105
3398
|
"tooltipPosition"?: TooltipPosition;
|
|
3106
3399
|
/**
|
|
3107
3400
|
* Define numeric type
|
|
3401
|
+
* @default 'decimal'
|
|
3108
3402
|
*/
|
|
3109
3403
|
"type"?: NumericType;
|
|
3110
3404
|
/**
|
|
@@ -3113,6 +3407,7 @@ declare namespace LocalJSX {
|
|
|
3113
3407
|
"unit"?: Intl.NumberFormatOptions['unit'];
|
|
3114
3408
|
/**
|
|
3115
3409
|
* Define unit display format ('short', 'long', 'narrow')
|
|
3410
|
+
* @default 'short'
|
|
3116
3411
|
*/
|
|
3117
3412
|
"unitDisplay"?: Intl.NumberFormatOptions['unitDisplay'];
|
|
3118
3413
|
/**
|
|
@@ -3127,6 +3422,7 @@ declare namespace LocalJSX {
|
|
|
3127
3422
|
interface MgInputPassword {
|
|
3128
3423
|
/**
|
|
3129
3424
|
* Define if input is disabled
|
|
3425
|
+
* @default false
|
|
3130
3426
|
*/
|
|
3131
3427
|
"disabled"?: boolean;
|
|
3132
3428
|
/**
|
|
@@ -3147,10 +3443,12 @@ declare namespace LocalJSX {
|
|
|
3147
3443
|
"label": string;
|
|
3148
3444
|
/**
|
|
3149
3445
|
* Define if label is visible
|
|
3446
|
+
* @default false
|
|
3150
3447
|
*/
|
|
3151
3448
|
"labelHide"?: boolean;
|
|
3152
3449
|
/**
|
|
3153
3450
|
* Define if label is displayed on top
|
|
3451
|
+
* @default false
|
|
3154
3452
|
*/
|
|
3155
3453
|
"labelOnTop"?: boolean;
|
|
3156
3454
|
/**
|
|
@@ -3159,10 +3457,12 @@ declare namespace LocalJSX {
|
|
|
3159
3457
|
"maxlength"?: number;
|
|
3160
3458
|
/**
|
|
3161
3459
|
* Define input width
|
|
3460
|
+
* @default 'full'
|
|
3162
3461
|
*/
|
|
3163
3462
|
"mgWidth"?: Width;
|
|
3164
3463
|
/**
|
|
3165
3464
|
* Input name If not set the value equals the identifier
|
|
3465
|
+
* @default this.identifier
|
|
3166
3466
|
*/
|
|
3167
3467
|
"name"?: string;
|
|
3168
3468
|
/**
|
|
@@ -3179,10 +3479,12 @@ declare namespace LocalJSX {
|
|
|
3179
3479
|
"placeholder"?: string;
|
|
3180
3480
|
/**
|
|
3181
3481
|
* Define if input is readonly
|
|
3482
|
+
* @default false
|
|
3182
3483
|
*/
|
|
3183
3484
|
"readonly"?: boolean;
|
|
3184
3485
|
/**
|
|
3185
3486
|
* Define if input is required
|
|
3487
|
+
* @default false
|
|
3186
3488
|
*/
|
|
3187
3489
|
"required"?: boolean;
|
|
3188
3490
|
/**
|
|
@@ -3191,6 +3493,7 @@ declare namespace LocalJSX {
|
|
|
3191
3493
|
"tooltip"?: string;
|
|
3192
3494
|
/**
|
|
3193
3495
|
* Define tooltip position
|
|
3496
|
+
* @default 'input'
|
|
3194
3497
|
*/
|
|
3195
3498
|
"tooltipPosition"?: TooltipPosition;
|
|
3196
3499
|
/**
|
|
@@ -3205,6 +3508,7 @@ declare namespace LocalJSX {
|
|
|
3205
3508
|
interface MgInputRadio {
|
|
3206
3509
|
/**
|
|
3207
3510
|
* Define if input is disabled
|
|
3511
|
+
* @default false
|
|
3208
3512
|
*/
|
|
3209
3513
|
"disabled"?: boolean;
|
|
3210
3514
|
/**
|
|
@@ -3217,6 +3521,7 @@ declare namespace LocalJSX {
|
|
|
3217
3521
|
"identifier": string;
|
|
3218
3522
|
/**
|
|
3219
3523
|
* Define if inputs are display verticaly
|
|
3524
|
+
* @default false
|
|
3220
3525
|
*/
|
|
3221
3526
|
"inputVerticalList"?: boolean;
|
|
3222
3527
|
/**
|
|
@@ -3233,16 +3538,23 @@ declare namespace LocalJSX {
|
|
|
3233
3538
|
"label": string;
|
|
3234
3539
|
/**
|
|
3235
3540
|
* Define if label is visible
|
|
3541
|
+
* @default false
|
|
3236
3542
|
*/
|
|
3237
3543
|
"labelHide"?: boolean;
|
|
3238
3544
|
/**
|
|
3239
3545
|
* Define if label is displayed on top
|
|
3546
|
+
* @default false
|
|
3240
3547
|
*/
|
|
3241
3548
|
"labelOnTop"?: boolean;
|
|
3242
3549
|
/**
|
|
3243
3550
|
* Input name If not set the value equals the identifier
|
|
3551
|
+
* @default this.identifier
|
|
3244
3552
|
*/
|
|
3245
3553
|
"name"?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* Define no value error detail
|
|
3556
|
+
*/
|
|
3557
|
+
"noValueErrorDetail"?: string;
|
|
3246
3558
|
/**
|
|
3247
3559
|
* Emited event when checking validity
|
|
3248
3560
|
*/
|
|
@@ -3253,10 +3565,12 @@ declare namespace LocalJSX {
|
|
|
3253
3565
|
"onValue-change"?: (event: MgInputRadioCustomEvent<HTMLMgInputRadioElement['value']>) => void;
|
|
3254
3566
|
/**
|
|
3255
3567
|
* Define if input is readonly
|
|
3568
|
+
* @default false
|
|
3256
3569
|
*/
|
|
3257
3570
|
"readonly"?: boolean;
|
|
3258
3571
|
/**
|
|
3259
3572
|
* Define if input is required
|
|
3573
|
+
* @default false
|
|
3260
3574
|
*/
|
|
3261
3575
|
"required"?: boolean;
|
|
3262
3576
|
/**
|
|
@@ -3265,6 +3579,7 @@ declare namespace LocalJSX {
|
|
|
3265
3579
|
"tooltip"?: string;
|
|
3266
3580
|
/**
|
|
3267
3581
|
* Define tooltip position
|
|
3582
|
+
* @default 'input'
|
|
3268
3583
|
*/
|
|
3269
3584
|
"tooltipPosition"?: TooltipPosition;
|
|
3270
3585
|
/**
|
|
@@ -3279,6 +3594,7 @@ declare namespace LocalJSX {
|
|
|
3279
3594
|
interface MgInputRichTextEditor {
|
|
3280
3595
|
/**
|
|
3281
3596
|
* Define if input is disabled
|
|
3597
|
+
* @default false
|
|
3282
3598
|
*/
|
|
3283
3599
|
"disabled"?: boolean;
|
|
3284
3600
|
/**
|
|
@@ -3299,10 +3615,12 @@ declare namespace LocalJSX {
|
|
|
3299
3615
|
"label": string;
|
|
3300
3616
|
/**
|
|
3301
3617
|
* Define if label is visible
|
|
3618
|
+
* @default false
|
|
3302
3619
|
*/
|
|
3303
3620
|
"labelHide"?: boolean;
|
|
3304
3621
|
/**
|
|
3305
3622
|
* Define if label is displayed on top
|
|
3623
|
+
* @default false
|
|
3306
3624
|
*/
|
|
3307
3625
|
"labelOnTop"?: boolean;
|
|
3308
3626
|
/**
|
|
@@ -3331,14 +3649,17 @@ declare namespace LocalJSX {
|
|
|
3331
3649
|
"placeholder"?: string;
|
|
3332
3650
|
/**
|
|
3333
3651
|
* Define if the editor is readonly
|
|
3652
|
+
* @default false
|
|
3334
3653
|
*/
|
|
3335
3654
|
"readonly"?: boolean;
|
|
3336
3655
|
/**
|
|
3337
3656
|
* Define if input is required
|
|
3657
|
+
* @default false
|
|
3338
3658
|
*/
|
|
3339
3659
|
"required"?: boolean;
|
|
3340
3660
|
/**
|
|
3341
3661
|
* Define the number of visible text lines for the control
|
|
3662
|
+
* @default 5
|
|
3342
3663
|
*/
|
|
3343
3664
|
"rows"?: number;
|
|
3344
3665
|
/**
|
|
@@ -3347,6 +3668,7 @@ declare namespace LocalJSX {
|
|
|
3347
3668
|
"tooltip"?: string;
|
|
3348
3669
|
/**
|
|
3349
3670
|
* Define tooltip position
|
|
3671
|
+
* @default 'input'
|
|
3350
3672
|
*/
|
|
3351
3673
|
"tooltipPosition"?: TooltipPosition;
|
|
3352
3674
|
/**
|
|
@@ -3355,12 +3677,14 @@ declare namespace LocalJSX {
|
|
|
3355
3677
|
"valid"?: boolean;
|
|
3356
3678
|
/**
|
|
3357
3679
|
* Define the value of the editor Can be either HTML string or plain text
|
|
3680
|
+
* @default ''
|
|
3358
3681
|
*/
|
|
3359
3682
|
"value"?: string;
|
|
3360
3683
|
}
|
|
3361
3684
|
interface MgInputSelect {
|
|
3362
3685
|
/**
|
|
3363
3686
|
* Define if input is disabled
|
|
3687
|
+
* @default false
|
|
3364
3688
|
*/
|
|
3365
3689
|
"disabled"?: boolean;
|
|
3366
3690
|
/**
|
|
@@ -3385,10 +3709,12 @@ declare namespace LocalJSX {
|
|
|
3385
3709
|
"label": string;
|
|
3386
3710
|
/**
|
|
3387
3711
|
* Define if label is visible
|
|
3712
|
+
* @default false
|
|
3388
3713
|
*/
|
|
3389
3714
|
"labelHide"?: boolean;
|
|
3390
3715
|
/**
|
|
3391
3716
|
* Define if label is displayed on top
|
|
3717
|
+
* @default false
|
|
3392
3718
|
*/
|
|
3393
3719
|
"labelOnTop"?: boolean;
|
|
3394
3720
|
/**
|
|
@@ -3397,8 +3723,13 @@ declare namespace LocalJSX {
|
|
|
3397
3723
|
"mgWidth"?: Width;
|
|
3398
3724
|
/**
|
|
3399
3725
|
* Input name If not set the value equals the identifier
|
|
3726
|
+
* @default this.identifier
|
|
3400
3727
|
*/
|
|
3401
3728
|
"name"?: string;
|
|
3729
|
+
/**
|
|
3730
|
+
* Define no value error detail
|
|
3731
|
+
*/
|
|
3732
|
+
"noValueErrorDetail"?: string;
|
|
3402
3733
|
/**
|
|
3403
3734
|
* Emited event when checking validity
|
|
3404
3735
|
*/
|
|
@@ -3413,18 +3744,22 @@ declare namespace LocalJSX {
|
|
|
3413
3744
|
"placeholder"?: string;
|
|
3414
3745
|
/**
|
|
3415
3746
|
* Option to disable placeholder
|
|
3747
|
+
* @default false
|
|
3416
3748
|
*/
|
|
3417
3749
|
"placeholderDisabled"?: boolean;
|
|
3418
3750
|
/**
|
|
3419
3751
|
* Option to remove placeholder
|
|
3752
|
+
* @default false
|
|
3420
3753
|
*/
|
|
3421
3754
|
"placeholderHide"?: boolean;
|
|
3422
3755
|
/**
|
|
3423
3756
|
* Define if input is readonly
|
|
3757
|
+
* @default false
|
|
3424
3758
|
*/
|
|
3425
3759
|
"readonly"?: boolean;
|
|
3426
3760
|
/**
|
|
3427
3761
|
* Define if input is required
|
|
3762
|
+
* @default false
|
|
3428
3763
|
*/
|
|
3429
3764
|
"required"?: boolean;
|
|
3430
3765
|
/**
|
|
@@ -3433,6 +3768,7 @@ declare namespace LocalJSX {
|
|
|
3433
3768
|
"tooltip"?: string;
|
|
3434
3769
|
/**
|
|
3435
3770
|
* Define tooltip position
|
|
3771
|
+
* @default 'input'
|
|
3436
3772
|
*/
|
|
3437
3773
|
"tooltipPosition"?: TooltipPosition;
|
|
3438
3774
|
/**
|
|
@@ -3447,6 +3783,7 @@ declare namespace LocalJSX {
|
|
|
3447
3783
|
interface MgInputText {
|
|
3448
3784
|
/**
|
|
3449
3785
|
* Define if component should display character left
|
|
3786
|
+
* @default false
|
|
3450
3787
|
*/
|
|
3451
3788
|
"characterLeftHide"?: boolean;
|
|
3452
3789
|
/**
|
|
@@ -3455,6 +3792,7 @@ declare namespace LocalJSX {
|
|
|
3455
3792
|
"datalistoptions"?: string[] | OptionType[];
|
|
3456
3793
|
/**
|
|
3457
3794
|
* Define if input is disabled
|
|
3795
|
+
* @default false
|
|
3458
3796
|
*/
|
|
3459
3797
|
"disabled"?: boolean;
|
|
3460
3798
|
/**
|
|
@@ -3479,22 +3817,27 @@ declare namespace LocalJSX {
|
|
|
3479
3817
|
"label": string;
|
|
3480
3818
|
/**
|
|
3481
3819
|
* Define if label is visible
|
|
3820
|
+
* @default false
|
|
3482
3821
|
*/
|
|
3483
3822
|
"labelHide"?: boolean;
|
|
3484
3823
|
/**
|
|
3485
3824
|
* Define if label is displayed on top
|
|
3825
|
+
* @default false
|
|
3486
3826
|
*/
|
|
3487
3827
|
"labelOnTop"?: boolean;
|
|
3488
3828
|
/**
|
|
3489
3829
|
* Input max length
|
|
3830
|
+
* @default 400
|
|
3490
3831
|
*/
|
|
3491
3832
|
"maxlength"?: number;
|
|
3492
3833
|
/**
|
|
3493
3834
|
* Define input width
|
|
3835
|
+
* @default 'full'
|
|
3494
3836
|
*/
|
|
3495
3837
|
"mgWidth"?: Width;
|
|
3496
3838
|
/**
|
|
3497
3839
|
* Input name If not set the value equals the identifier
|
|
3840
|
+
* @default this.identifier
|
|
3498
3841
|
*/
|
|
3499
3842
|
"name"?: string;
|
|
3500
3843
|
/**
|
|
@@ -3519,10 +3862,12 @@ declare namespace LocalJSX {
|
|
|
3519
3862
|
"placeholder"?: string;
|
|
3520
3863
|
/**
|
|
3521
3864
|
* Define if input is readonly
|
|
3865
|
+
* @default false
|
|
3522
3866
|
*/
|
|
3523
3867
|
"readonly"?: boolean;
|
|
3524
3868
|
/**
|
|
3525
3869
|
* Define if input is required
|
|
3870
|
+
* @default false
|
|
3526
3871
|
*/
|
|
3527
3872
|
"required"?: boolean;
|
|
3528
3873
|
/**
|
|
@@ -3531,10 +3876,12 @@ declare namespace LocalJSX {
|
|
|
3531
3876
|
"tooltip"?: string;
|
|
3532
3877
|
/**
|
|
3533
3878
|
* Define tooltip position
|
|
3879
|
+
* @default 'input'
|
|
3534
3880
|
*/
|
|
3535
3881
|
"tooltipPosition"?: TooltipPosition;
|
|
3536
3882
|
/**
|
|
3537
3883
|
* Input type
|
|
3884
|
+
* @default 'text'
|
|
3538
3885
|
*/
|
|
3539
3886
|
"type"?: TextType;
|
|
3540
3887
|
/**
|
|
@@ -3549,10 +3896,12 @@ declare namespace LocalJSX {
|
|
|
3549
3896
|
interface MgInputTextarea {
|
|
3550
3897
|
/**
|
|
3551
3898
|
* Define if component should display character left
|
|
3899
|
+
* @default false
|
|
3552
3900
|
*/
|
|
3553
3901
|
"characterLeftHide"?: boolean;
|
|
3554
3902
|
/**
|
|
3555
3903
|
* Define if input is disabled
|
|
3904
|
+
* @default false
|
|
3556
3905
|
*/
|
|
3557
3906
|
"disabled"?: boolean;
|
|
3558
3907
|
/**
|
|
@@ -3573,22 +3922,27 @@ declare namespace LocalJSX {
|
|
|
3573
3922
|
"label": string;
|
|
3574
3923
|
/**
|
|
3575
3924
|
* Define if label is visible
|
|
3925
|
+
* @default false
|
|
3576
3926
|
*/
|
|
3577
3927
|
"labelHide"?: boolean;
|
|
3578
3928
|
/**
|
|
3579
3929
|
* Define if label is displayed on top
|
|
3930
|
+
* @default false
|
|
3580
3931
|
*/
|
|
3581
3932
|
"labelOnTop"?: boolean;
|
|
3582
3933
|
/**
|
|
3583
3934
|
* Input max length
|
|
3935
|
+
* @default 4000
|
|
3584
3936
|
*/
|
|
3585
3937
|
"maxlength"?: number;
|
|
3586
3938
|
/**
|
|
3587
3939
|
* Define input width
|
|
3940
|
+
* @default 'full'
|
|
3588
3941
|
*/
|
|
3589
3942
|
"mgWidth"?: Width;
|
|
3590
3943
|
/**
|
|
3591
3944
|
* Input name If not set the value equals the identifier
|
|
3945
|
+
* @default this.identifier
|
|
3592
3946
|
*/
|
|
3593
3947
|
"name"?: string;
|
|
3594
3948
|
/**
|
|
@@ -3613,18 +3967,22 @@ declare namespace LocalJSX {
|
|
|
3613
3967
|
"placeholder"?: string;
|
|
3614
3968
|
/**
|
|
3615
3969
|
* Define if input is readonly
|
|
3970
|
+
* @default false
|
|
3616
3971
|
*/
|
|
3617
3972
|
"readonly"?: boolean;
|
|
3618
3973
|
/**
|
|
3619
3974
|
* Define if input is required
|
|
3975
|
+
* @default false
|
|
3620
3976
|
*/
|
|
3621
3977
|
"required"?: boolean;
|
|
3622
3978
|
/**
|
|
3623
3979
|
* Define if input is resizable
|
|
3980
|
+
* @default 'none'
|
|
3624
3981
|
*/
|
|
3625
3982
|
"resizable"?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
3626
3983
|
/**
|
|
3627
3984
|
* Define the number of visible text lines for the control
|
|
3985
|
+
* @default 3
|
|
3628
3986
|
*/
|
|
3629
3987
|
"rows"?: number;
|
|
3630
3988
|
/**
|
|
@@ -3633,6 +3991,7 @@ declare namespace LocalJSX {
|
|
|
3633
3991
|
"tooltip"?: string;
|
|
3634
3992
|
/**
|
|
3635
3993
|
* Define tooltip position
|
|
3994
|
+
* @default 'input'
|
|
3636
3995
|
*/
|
|
3637
3996
|
"tooltipPosition"?: TooltipPosition;
|
|
3638
3997
|
/**
|
|
@@ -3651,6 +4010,7 @@ declare namespace LocalJSX {
|
|
|
3651
4010
|
"identifier": string;
|
|
3652
4011
|
/**
|
|
3653
4012
|
* Switch from label to fieldset sementic
|
|
4013
|
+
* @default false
|
|
3654
4014
|
*/
|
|
3655
4015
|
"isLegend"?: boolean;
|
|
3656
4016
|
/**
|
|
@@ -3665,6 +4025,7 @@ declare namespace LocalJSX {
|
|
|
3665
4025
|
interface MgInputToggle {
|
|
3666
4026
|
/**
|
|
3667
4027
|
* Define if input is disabled
|
|
4028
|
+
* @default false
|
|
3668
4029
|
*/
|
|
3669
4030
|
"disabled"?: boolean;
|
|
3670
4031
|
/**
|
|
@@ -3675,12 +4036,18 @@ declare namespace LocalJSX {
|
|
|
3675
4036
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
3676
4037
|
*/
|
|
3677
4038
|
"identifier": string;
|
|
4039
|
+
/**
|
|
4040
|
+
* Define input invalid state
|
|
4041
|
+
*/
|
|
4042
|
+
"invalid"?: boolean;
|
|
3678
4043
|
/**
|
|
3679
4044
|
* Define if toggle display icon
|
|
4045
|
+
* @default false
|
|
3680
4046
|
*/
|
|
3681
4047
|
"isIcon"?: boolean;
|
|
3682
4048
|
/**
|
|
3683
4049
|
* Define if toggle have on/off style
|
|
4050
|
+
* @default false
|
|
3684
4051
|
*/
|
|
3685
4052
|
"isOnOff"?: boolean;
|
|
3686
4053
|
/**
|
|
@@ -3693,16 +4060,23 @@ declare namespace LocalJSX {
|
|
|
3693
4060
|
"label": string;
|
|
3694
4061
|
/**
|
|
3695
4062
|
* Define if label is visible
|
|
4063
|
+
* @default false
|
|
3696
4064
|
*/
|
|
3697
4065
|
"labelHide"?: boolean;
|
|
3698
4066
|
/**
|
|
3699
4067
|
* Define if label is displayed on top
|
|
4068
|
+
* @default false
|
|
3700
4069
|
*/
|
|
3701
4070
|
"labelOnTop"?: boolean;
|
|
3702
4071
|
/**
|
|
3703
4072
|
* Input name If not set the value equals the identifier
|
|
4073
|
+
* @default this.identifier
|
|
3704
4074
|
*/
|
|
3705
4075
|
"name"?: string;
|
|
4076
|
+
/**
|
|
4077
|
+
* Define no value error detail
|
|
4078
|
+
*/
|
|
4079
|
+
"noValueErrorDetail"?: string;
|
|
3706
4080
|
/**
|
|
3707
4081
|
* Emited event when checking validity
|
|
3708
4082
|
*/
|
|
@@ -3713,6 +4087,7 @@ declare namespace LocalJSX {
|
|
|
3713
4087
|
"onValue-change"?: (event: MgInputToggleCustomEvent<HTMLMgInputToggleElement['value']>) => void;
|
|
3714
4088
|
/**
|
|
3715
4089
|
* Define if input is readonly
|
|
4090
|
+
* @default false
|
|
3716
4091
|
*/
|
|
3717
4092
|
"readonly"?: boolean;
|
|
3718
4093
|
/**
|
|
@@ -3721,8 +4096,13 @@ declare namespace LocalJSX {
|
|
|
3721
4096
|
"tooltip"?: string;
|
|
3722
4097
|
/**
|
|
3723
4098
|
* Define tooltip position
|
|
4099
|
+
* @default 'input'
|
|
3724
4100
|
*/
|
|
3725
4101
|
"tooltipPosition"?: TooltipPosition;
|
|
4102
|
+
/**
|
|
4103
|
+
* Define input valid state
|
|
4104
|
+
*/
|
|
4105
|
+
"valid"?: boolean;
|
|
3726
4106
|
/**
|
|
3727
4107
|
* Component value
|
|
3728
4108
|
*/
|
|
@@ -3731,6 +4111,7 @@ declare namespace LocalJSX {
|
|
|
3731
4111
|
interface MgItemMore {
|
|
3732
4112
|
/**
|
|
3733
4113
|
* Define icon
|
|
4114
|
+
* @default { icon: 'ellipsis-vertical' }
|
|
3734
4115
|
*/
|
|
3735
4116
|
"icon"?: IconType2;
|
|
3736
4117
|
/**
|
|
@@ -3739,6 +4120,7 @@ declare namespace LocalJSX {
|
|
|
3739
4120
|
"size"?: SizeType1;
|
|
3740
4121
|
/**
|
|
3741
4122
|
* Define slot label element
|
|
4123
|
+
* @default { display: false }
|
|
3742
4124
|
*/
|
|
3743
4125
|
"slotlabel"?: SlotLabelType;
|
|
3744
4126
|
}
|
|
@@ -3749,12 +4131,14 @@ declare namespace LocalJSX {
|
|
|
3749
4131
|
"message"?: string;
|
|
3750
4132
|
/**
|
|
3751
4133
|
* Hide message
|
|
4134
|
+
* @default false
|
|
3752
4135
|
*/
|
|
3753
4136
|
"messageHide"?: boolean;
|
|
3754
4137
|
}
|
|
3755
4138
|
interface MgMenu {
|
|
3756
4139
|
/**
|
|
3757
4140
|
* Component display direction.
|
|
4141
|
+
* @default 'horizontal'
|
|
3758
4142
|
*/
|
|
3759
4143
|
"direction"?: Direction;
|
|
3760
4144
|
/**
|
|
@@ -3767,12 +4151,14 @@ declare namespace LocalJSX {
|
|
|
3767
4151
|
"label": string;
|
|
3768
4152
|
/**
|
|
3769
4153
|
* Define mg-menu size
|
|
4154
|
+
* @default 'medium'
|
|
3770
4155
|
*/
|
|
3771
4156
|
"size"?: MenuSizeType;
|
|
3772
4157
|
}
|
|
3773
4158
|
interface MgMenuItem {
|
|
3774
4159
|
/**
|
|
3775
4160
|
* Define menu-item content expanded.
|
|
4161
|
+
* @default false
|
|
3776
4162
|
*/
|
|
3777
4163
|
"expanded"?: boolean;
|
|
3778
4164
|
/**
|
|
@@ -3781,6 +4167,7 @@ declare namespace LocalJSX {
|
|
|
3781
4167
|
"href"?: string;
|
|
3782
4168
|
/**
|
|
3783
4169
|
* Identifier is used to control mg-popover
|
|
4170
|
+
* @default createID('mg-menu-item')
|
|
3784
4171
|
*/
|
|
3785
4172
|
"identifier"?: string;
|
|
3786
4173
|
/**
|
|
@@ -3793,6 +4180,7 @@ declare namespace LocalJSX {
|
|
|
3793
4180
|
"onItem-updated"?: (event: MgMenuItemCustomEvent<void>) => void;
|
|
3794
4181
|
/**
|
|
3795
4182
|
* Define menu-item status.
|
|
4183
|
+
* @default 'visible'
|
|
3796
4184
|
*/
|
|
3797
4185
|
"status"?: MgMenuStatusType;
|
|
3798
4186
|
/**
|
|
@@ -3803,24 +4191,29 @@ declare namespace LocalJSX {
|
|
|
3803
4191
|
interface MgMessage {
|
|
3804
4192
|
/**
|
|
3805
4193
|
* Define variant
|
|
4194
|
+
* @default 'info'
|
|
3806
4195
|
*/
|
|
3807
4196
|
"variant"?: VariantType2;
|
|
3808
4197
|
/**
|
|
3809
4198
|
* Define variant style
|
|
4199
|
+
* @default 'bar-left'
|
|
3810
4200
|
*/
|
|
3811
4201
|
"variantStyle"?: VariantStyleType1;
|
|
3812
4202
|
}
|
|
3813
4203
|
interface MgModal {
|
|
3814
4204
|
/**
|
|
3815
4205
|
* Define if modal has a cross button
|
|
4206
|
+
* @default false
|
|
3816
4207
|
*/
|
|
3817
4208
|
"closeButton"?: boolean;
|
|
3818
4209
|
/**
|
|
3819
4210
|
* Modal dialog role.
|
|
4211
|
+
* @default 'dialog'
|
|
3820
4212
|
*/
|
|
3821
4213
|
"dialogRole"?: DialogRoleType;
|
|
3822
4214
|
/**
|
|
3823
4215
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4216
|
+
* @default createID('mg-modal')
|
|
3824
4217
|
*/
|
|
3825
4218
|
"identifier"?: string;
|
|
3826
4219
|
/**
|
|
@@ -3841,24 +4234,29 @@ declare namespace LocalJSX {
|
|
|
3841
4234
|
"onComponent-show"?: (event: MgModalCustomEvent<void>) => void;
|
|
3842
4235
|
/**
|
|
3843
4236
|
* Define if modal is open
|
|
4237
|
+
* @default false
|
|
3844
4238
|
*/
|
|
3845
4239
|
"open"?: boolean;
|
|
3846
4240
|
}
|
|
3847
4241
|
interface MgPagination {
|
|
3848
4242
|
/**
|
|
3849
4243
|
* Component current page
|
|
4244
|
+
* @default 1
|
|
3850
4245
|
*/
|
|
3851
4246
|
"currentPage"?: number;
|
|
3852
4247
|
/**
|
|
3853
4248
|
* Hide navigation label
|
|
4249
|
+
* @default false
|
|
3854
4250
|
*/
|
|
3855
4251
|
"hideNavigationLabels"?: boolean;
|
|
3856
4252
|
/**
|
|
3857
4253
|
* Hide select input
|
|
4254
|
+
* @default false
|
|
3858
4255
|
*/
|
|
3859
4256
|
"hidePageCount"?: boolean;
|
|
3860
4257
|
/**
|
|
3861
4258
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4259
|
+
* @default createID('mg-pagination')
|
|
3862
4260
|
*/
|
|
3863
4261
|
"identifier"?: string;
|
|
3864
4262
|
/**
|
|
@@ -3875,24 +4273,29 @@ declare namespace LocalJSX {
|
|
|
3875
4273
|
"onCurrent-page-change"?: (event: MgPaginationCustomEvent<number>) => void;
|
|
3876
4274
|
/**
|
|
3877
4275
|
* Component total pages
|
|
4276
|
+
* @default 1
|
|
3878
4277
|
*/
|
|
3879
4278
|
"totalPages"?: number;
|
|
3880
4279
|
}
|
|
3881
4280
|
interface MgPanel {
|
|
3882
4281
|
/**
|
|
3883
4282
|
* Disable possibility to toggle expand
|
|
4283
|
+
* @default false
|
|
3884
4284
|
*/
|
|
3885
4285
|
"expandToggleDisabled"?: boolean;
|
|
3886
4286
|
/**
|
|
3887
4287
|
* Define expand toggle button display
|
|
4288
|
+
* @default 'text'
|
|
3888
4289
|
*/
|
|
3889
4290
|
"expandToggleDisplay"?: ExpandToggleDisplayType;
|
|
3890
4291
|
/**
|
|
3891
4292
|
* Panel is opened
|
|
4293
|
+
* @default false
|
|
3892
4294
|
*/
|
|
3893
4295
|
"expanded"?: boolean;
|
|
3894
4296
|
/**
|
|
3895
4297
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4298
|
+
* @default createID('mg-panel')
|
|
3896
4299
|
*/
|
|
3897
4300
|
"identifier"?: string;
|
|
3898
4301
|
/**
|
|
@@ -3907,8 +4310,14 @@ declare namespace LocalJSX {
|
|
|
3907
4310
|
* Panel title
|
|
3908
4311
|
*/
|
|
3909
4312
|
"panelTitle": string;
|
|
4313
|
+
/**
|
|
4314
|
+
* Add box-shadow style
|
|
4315
|
+
* @default false
|
|
4316
|
+
*/
|
|
4317
|
+
"shadow"?: boolean;
|
|
3910
4318
|
/**
|
|
3911
4319
|
* Define if panel title is editable
|
|
4320
|
+
* @default false
|
|
3912
4321
|
*/
|
|
3913
4322
|
"titleEditable"?: boolean;
|
|
3914
4323
|
/**
|
|
@@ -3921,28 +4330,34 @@ declare namespace LocalJSX {
|
|
|
3921
4330
|
"titlePatternErrorMessage"?: string;
|
|
3922
4331
|
/**
|
|
3923
4332
|
* Define title position
|
|
4333
|
+
* @default 'left'
|
|
3924
4334
|
*/
|
|
3925
4335
|
"titlePosition"?: TitlePositionType;
|
|
3926
4336
|
}
|
|
3927
4337
|
interface MgPopover {
|
|
3928
4338
|
/**
|
|
3929
4339
|
* Hide popover arrow
|
|
4340
|
+
* @default false
|
|
3930
4341
|
*/
|
|
3931
4342
|
"arrowHide"?: boolean;
|
|
3932
4343
|
/**
|
|
3933
4344
|
* Define if popover has a cross button
|
|
4345
|
+
* @default false
|
|
3934
4346
|
*/
|
|
3935
4347
|
"closeButton"?: boolean;
|
|
3936
4348
|
/**
|
|
3937
4349
|
* Disable popover
|
|
4350
|
+
* @default false
|
|
3938
4351
|
*/
|
|
3939
4352
|
"disabled"?: boolean;
|
|
3940
4353
|
/**
|
|
3941
4354
|
* Display popover
|
|
4355
|
+
* @default false
|
|
3942
4356
|
*/
|
|
3943
4357
|
"display"?: boolean;
|
|
3944
4358
|
/**
|
|
3945
4359
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
4360
|
+
* @default createID('mg-popover')
|
|
3946
4361
|
*/
|
|
3947
4362
|
"identifier"?: string;
|
|
3948
4363
|
/**
|
|
@@ -3955,12 +4370,14 @@ declare namespace LocalJSX {
|
|
|
3955
4370
|
"onDisplay-change"?: (event: MgPopoverCustomEvent<HTMLMgPopoverElement['display']>) => void;
|
|
3956
4371
|
/**
|
|
3957
4372
|
* Popover placement
|
|
4373
|
+
* @default 'bottom'
|
|
3958
4374
|
*/
|
|
3959
4375
|
"placement"?: Placement;
|
|
3960
4376
|
}
|
|
3961
4377
|
interface MgPopoverContent {
|
|
3962
4378
|
/**
|
|
3963
4379
|
* Define if popover has a cross button
|
|
4380
|
+
* @default false
|
|
3964
4381
|
*/
|
|
3965
4382
|
"closeButton"?: boolean;
|
|
3966
4383
|
/**
|
|
@@ -3971,6 +4388,7 @@ declare namespace LocalJSX {
|
|
|
3971
4388
|
interface MgProgress {
|
|
3972
4389
|
/**
|
|
3973
4390
|
* Define progress role - `progressbar` to indicate a progress, such as loading or percent completion of a task - `meter` to indicate a graphical display of a numeric value that varies within a defined range
|
|
4391
|
+
* @default 'progressbar'
|
|
3974
4392
|
*/
|
|
3975
4393
|
"ariaRole"?: AriaRoleType1;
|
|
3976
4394
|
/**
|
|
@@ -3979,14 +4397,17 @@ declare namespace LocalJSX {
|
|
|
3979
4397
|
"label": string;
|
|
3980
4398
|
/**
|
|
3981
4399
|
* Define the maximum value in the range
|
|
4400
|
+
* @default 100
|
|
3982
4401
|
*/
|
|
3983
4402
|
"max"?: number;
|
|
3984
4403
|
/**
|
|
3985
4404
|
* Define the minimum value in the range
|
|
4405
|
+
* @default 0
|
|
3986
4406
|
*/
|
|
3987
4407
|
"min"?: number;
|
|
3988
4408
|
/**
|
|
3989
4409
|
* Define current value By default, it will be displayed as a percentage value. If you don’t specify the min and max props, the value should be a number within the range of 0 to 100.
|
|
4410
|
+
* @default 0
|
|
3990
4411
|
*/
|
|
3991
4412
|
"value"?: number;
|
|
3992
4413
|
}
|
|
@@ -4007,10 +4428,12 @@ declare namespace LocalJSX {
|
|
|
4007
4428
|
"columns"?: ColumnsType;
|
|
4008
4429
|
/**
|
|
4009
4430
|
* Define if table fits its parent element
|
|
4431
|
+
* @default false
|
|
4010
4432
|
*/
|
|
4011
4433
|
"fullWidth"?: boolean;
|
|
4012
4434
|
/**
|
|
4013
4435
|
* Define table size
|
|
4436
|
+
* @default 'medium'
|
|
4014
4437
|
*/
|
|
4015
4438
|
"size"?: TableSizeType;
|
|
4016
4439
|
}
|
|
@@ -4021,6 +4444,7 @@ declare namespace LocalJSX {
|
|
|
4021
4444
|
"activeTab"?: number;
|
|
4022
4445
|
/**
|
|
4023
4446
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4447
|
+
* @default createID('mg-tabs')
|
|
4024
4448
|
*/
|
|
4025
4449
|
"identifier"?: string;
|
|
4026
4450
|
/**
|
|
@@ -4037,34 +4461,41 @@ declare namespace LocalJSX {
|
|
|
4037
4461
|
"onActive-tab-change"?: (event: MgTabsCustomEvent<HTMLMgTabsElement['activeTab']>) => void;
|
|
4038
4462
|
/**
|
|
4039
4463
|
* Define tabs size
|
|
4464
|
+
* @default 'medium'
|
|
4040
4465
|
*/
|
|
4041
4466
|
"size"?: SizeType2;
|
|
4042
4467
|
}
|
|
4043
4468
|
interface MgTag {
|
|
4044
4469
|
/**
|
|
4045
4470
|
* Define if tag is using outline style
|
|
4471
|
+
* @default false
|
|
4046
4472
|
*/
|
|
4047
4473
|
"outline"?: boolean;
|
|
4048
4474
|
/**
|
|
4049
4475
|
* Define if tag is using soft style
|
|
4476
|
+
* @default false
|
|
4050
4477
|
*/
|
|
4051
4478
|
"soft"?: boolean;
|
|
4052
4479
|
/**
|
|
4053
4480
|
* Define tag variant
|
|
4481
|
+
* @default 'primary'
|
|
4054
4482
|
*/
|
|
4055
4483
|
"variant"?: TagVariantType;
|
|
4056
4484
|
}
|
|
4057
4485
|
interface MgTooltip {
|
|
4058
4486
|
/**
|
|
4059
4487
|
* Disable tooltip
|
|
4488
|
+
* @default false
|
|
4060
4489
|
*/
|
|
4061
4490
|
"disabled"?: boolean;
|
|
4062
4491
|
/**
|
|
4063
4492
|
* Display tooltip
|
|
4493
|
+
* @default false
|
|
4064
4494
|
*/
|
|
4065
4495
|
"display"?: boolean;
|
|
4066
4496
|
/**
|
|
4067
4497
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
4498
|
+
* @default createID('mg-tooltip')
|
|
4068
4499
|
*/
|
|
4069
4500
|
"identifier"?: string;
|
|
4070
4501
|
/**
|
|
@@ -4073,6 +4504,7 @@ declare namespace LocalJSX {
|
|
|
4073
4504
|
"message": string;
|
|
4074
4505
|
/**
|
|
4075
4506
|
* Tooltip placement
|
|
4507
|
+
* @default 'bottom'
|
|
4076
4508
|
*/
|
|
4077
4509
|
"placement"?: Placement;
|
|
4078
4510
|
}
|