@mgdis/mg-components 6.13.0 → 6.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/events.utils-D5SAtkpQ.js +0 -3
- package/dist/cjs/{index-DyUB3KmT.js → index-CwjAofQ1.js} +1 -4
- package/dist/cjs/index-DUJwxnoi.js +0 -3
- package/dist/cjs/{index-CATFkm3O.js → index-DzBkSgSK.js} +224 -122
- package/dist/cjs/index.cjs.js +0 -3
- package/dist/cjs/loader.cjs.js +3 -7
- package/dist/cjs/mg-action-more_37.cjs.entry.js +160 -88
- package/dist/cjs/mg-alert.cjs.entry.js +6 -9
- package/dist/cjs/mg-components.cjs.js +4 -8
- package/dist/cjs/mg-input-combobox.cjs.entry.js +9 -12
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +5 -8
- package/dist/cjs/mg-input.conf-WTsvDfpC.js +0 -3
- package/dist/cjs/mg-loader.cjs.entry.js +2 -5
- package/dist/cjs/mg-progress.cjs.entry.js +1 -4
- package/dist/collection/assets/icons/index.js +0 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +3 -4
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +4 -5
- package/dist/collection/components/atoms/mg-badge/mg-badge.conf.js +0 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +4 -5
- package/dist/collection/components/atoms/mg-button/mg-button.conf.js +0 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +9 -10
- package/dist/collection/components/atoms/mg-card/mg-card.conf.js +4 -0
- package/dist/collection/components/atoms/mg-card/mg-card.js +104 -2
- package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -2
- package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js +0 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +6 -7
- package/dist/collection/components/atoms/mg-tag/mg-tag.conf.js +0 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +3 -4
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -2
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.conf.js +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +5 -6
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +33 -18
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +7 -6
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +28 -22
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +22 -20
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +17 -18
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +26 -27
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +18 -19
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +17 -17
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +18 -18
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +38 -32
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +25 -25
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +23 -24
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.js +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +15 -15
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.conf.js +0 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +4 -3
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +4 -4
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.conf.js +0 -1
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +5 -6
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js +0 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +5 -3
- package/dist/collection/components/molecules/mg-alert/mg-alert.conf.js +0 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +7 -8
- package/dist/collection/components/molecules/mg-details/mg-details.js +4 -5
- package/dist/collection/components/molecules/mg-form/mg-form.conf.js +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js +9 -10
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.js +0 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +2 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +2 -3
- package/dist/collection/components/molecules/mg-message/mg-message.conf.js +0 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +4 -5
- package/dist/collection/components/molecules/mg-modal/mg-modal.conf.js +0 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +6 -7
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.conf.js +0 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +7 -7
- package/dist/collection/components/molecules/mg-panel/mg-panel.conf.js +0 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +34 -11
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +2 -3
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +6 -7
- package/dist/collection/components/molecules/mg-progress/mg-progress.conf.js +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +5 -6
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.conf.js +0 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +5 -4
- package/dist/collection/components/molecules/mg-table/mg-table.conf.js +0 -1
- package/dist/collection/components/molecules/mg-table/mg-table.js +4 -4
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +6 -6
- package/dist/collection/index.js +0 -1
- package/dist/collection/locales/index.conf.js +0 -1
- package/dist/collection/locales/index.js +0 -1
- package/dist/collection/types/index.js +0 -1
- package/dist/collection/utils/behaviors.utils.js +0 -1
- package/dist/collection/utils/events.utils.js +0 -1
- package/dist/collection/utils/playwright.fixture.js +0 -1
- package/dist/collection/utils/unit.test.utils.js +0 -1
- package/dist/components/events.utils.js +0 -3
- package/dist/components/index.js +1 -4
- package/dist/components/index2.js +0 -3
- package/dist/components/index3.js +1 -4
- package/dist/components/mg-action-more.js +0 -3
- package/dist/components/mg-alert.js +4 -7
- package/dist/components/mg-badge.js +0 -3
- package/dist/components/mg-badge2.js +0 -3
- package/dist/components/mg-button.js +0 -3
- package/dist/components/mg-button2.js +0 -3
- package/dist/components/mg-card.js +0 -3
- package/dist/components/mg-card2.js +55 -6
- package/dist/components/mg-character-left.js +0 -3
- package/dist/components/mg-character-left2.js +0 -3
- package/dist/components/mg-details.js +0 -3
- package/dist/components/mg-divider.js +0 -3
- package/dist/components/mg-divider2.js +0 -3
- package/dist/components/mg-form.js +0 -3
- package/dist/components/mg-icon.js +0 -3
- package/dist/components/mg-icon2.js +0 -3
- package/dist/components/mg-illustrated-message.js +0 -3
- package/dist/components/mg-input-checkbox-paginated.js +0 -3
- package/dist/components/mg-input-checkbox-paginated2.js +0 -3
- package/dist/components/mg-input-checkbox.js +9 -6
- package/dist/components/mg-input-combobox.js +2 -5
- package/dist/components/mg-input-date.js +2 -5
- package/dist/components/mg-input-numeric.js +2 -5
- package/dist/components/mg-input-password.js +2 -5
- package/dist/components/mg-input-radio.js +2 -5
- package/dist/components/mg-input-rich-text-editor.js +1 -4
- package/dist/components/mg-input-select.js +0 -3
- package/dist/components/mg-input-select2.js +19 -16
- package/dist/components/mg-input-text.js +0 -3
- package/dist/components/mg-input-text2.js +2 -5
- package/dist/components/mg-input-textarea.js +2 -5
- package/dist/components/mg-input-title.js +0 -3
- package/dist/components/mg-input-title2.js +0 -3
- package/dist/components/mg-input-toggle.js +2 -5
- package/dist/components/mg-input.js +0 -3
- package/dist/components/mg-input2.js +16 -6
- package/dist/components/mg-item-more.js +0 -3
- package/dist/components/mg-item-more2.js +0 -3
- package/dist/components/mg-loader.js +0 -3
- package/dist/components/mg-loader2.js +0 -3
- package/dist/components/mg-menu-item.js +0 -3
- package/dist/components/mg-menu-item2.js +0 -3
- package/dist/components/mg-menu.js +0 -3
- package/dist/components/mg-message.js +0 -3
- package/dist/components/mg-message2.js +2 -5
- package/dist/components/mg-modal.js +1 -4
- package/dist/components/mg-pagination.js +0 -3
- package/dist/components/mg-pagination2.js +0 -3
- package/dist/components/mg-panel.js +7 -5
- package/dist/components/mg-popover-content.js +0 -3
- package/dist/components/mg-popover-content2.js +2 -5
- package/dist/components/mg-popover.js +0 -3
- package/dist/components/mg-popover2.js +0 -3
- package/dist/components/mg-progress.js +0 -3
- package/dist/components/mg-skip-links.js +4 -6
- package/dist/components/mg-table.js +2 -5
- package/dist/components/mg-tabs.js +1 -4
- package/dist/components/mg-tag.js +0 -3
- package/dist/components/mg-tooltip-content.js +0 -3
- package/dist/components/mg-tooltip-content2.js +0 -3
- package/dist/components/mg-tooltip.js +0 -3
- package/dist/components/mg-tooltip2.js +0 -3
- package/dist/components/popper.js +0 -3
- package/dist/esm/events.utils-yMGqY8YG.js +0 -3
- package/dist/esm/{index-CwZ2wzxw.js → index-Bv7NHR-W.js} +1 -4
- package/dist/esm/{index-CAuxALt5.js → index-Degtjvph.js} +205 -122
- package/dist/esm/index-Dr7GYvIz.js +0 -3
- package/dist/esm/index.js +0 -3
- package/dist/esm/loader.js +3 -7
- package/dist/esm/mg-action-more_37.entry.js +160 -88
- package/dist/esm/mg-alert.entry.js +6 -9
- package/dist/esm/mg-components.js +4 -8
- package/dist/esm/mg-input-combobox.entry.js +9 -12
- package/dist/esm/mg-input-rich-text-editor.entry.js +5 -8
- package/dist/esm/mg-input.conf-CNgv8hc5.js +0 -3
- package/dist/esm/mg-loader.entry.js +2 -5
- package/dist/esm/mg-progress.entry.js +1 -4
- package/dist/mg-components/index.esm.js +0 -2
- package/dist/mg-components/mg-components.css +1 -1
- package/dist/mg-components/mg-components.esm.js +1 -2
- package/dist/mg-components/p-056ba467.entry.js +1 -0
- package/dist/mg-components/p-625c463c.entry.js +1 -0
- package/dist/mg-components/p-Bv7NHR-W.js +1 -0
- package/dist/mg-components/p-CNgv8hc5.js +1 -2
- package/dist/mg-components/p-Degtjvph.js +2 -0
- package/dist/mg-components/p-Dr7GYvIz.js +1 -2
- package/dist/mg-components/p-c522f3c1.entry.js +1 -0
- package/dist/mg-components/p-cac23bd7.entry.js +1 -0
- package/dist/mg-components/p-d13a6fdc.entry.js +1 -0
- package/dist/mg-components/p-e75f5383.entry.js +10 -0
- package/dist/mg-components/p-yMGqY8YG.js +1 -2
- package/dist/types/components/atoms/mg-card/mg-card.conf.d.ts +9 -0
- package/dist/types/components/atoms/mg-card/mg-card.d.ts +20 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +1 -1
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +5 -4
- package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +4 -0
- package/dist/types/components.d.ts +406 -3
- package/dist/types/stencil-public-runtime.d.ts +34 -6
- package/ide/intellij/web-types.json +263 -35
- package/ide/vscode/css-custom-data.json +3 -3
- package/ide/vscode/html-custom-data.json +88 -34
- package/package.json +17 -22
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/events.utils-D5SAtkpQ.js.map +0 -1
- package/dist/cjs/index-CATFkm3O.js.map +0 -1
- package/dist/cjs/index-DUJwxnoi.js.map +0 -1
- package/dist/cjs/index-DyUB3KmT.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/mg-action-more_37.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-alert.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-components.cjs.js.map +0 -1
- package/dist/cjs/mg-input-combobox.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-input-combobox.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-input-rich-text-editor.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-input.conf-WTsvDfpC.js.map +0 -1
- package/dist/cjs/mg-loader.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-loader.entry.cjs.js.map +0 -1
- package/dist/cjs/mg-progress.cjs.entry.js.map +0 -1
- package/dist/cjs/mg-progress.entry.cjs.js.map +0 -1
- package/dist/collection/assets/icons/index.js.map +0 -1
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js.map +0 -1
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js.map +0 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +0 -1
- package/dist/collection/components/atoms/mg-button/mg-button.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js.map +0 -1
- package/dist/collection/components/atoms/mg-card/mg-card.js.map +0 -1
- package/dist/collection/components/atoms/mg-divider/mg-divider.js.map +0 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js.map +0 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js.map +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.conf.js.map +0 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +0 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.conf.js.map +0 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.conf.js.map +0 -1
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js.map +0 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +0 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-alert/mg-alert.js.map +0 -1
- package/dist/collection/components/molecules/mg-details/mg-details.js.map +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js.map +0 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js.map +0 -1
- package/dist/collection/components/molecules/mg-loader/mg-loader.js.map +0 -1
- package/dist/collection/components/molecules/mg-message/mg-message.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js.map +0 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.js.map +0 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +0 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +0 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js.map +0 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.js.map +0 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js.map +0 -1
- package/dist/collection/components/molecules/mg-table/mg-table.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-table/mg-table.js.map +0 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js.map +0 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/locales/index.conf.js.map +0 -1
- package/dist/collection/locales/index.js.map +0 -1
- package/dist/collection/types/index.js.map +0 -1
- package/dist/collection/utils/behaviors.utils.js.map +0 -1
- package/dist/collection/utils/events.utils.js.map +0 -1
- package/dist/collection/utils/playwright.fixture.js.map +0 -1
- package/dist/collection/utils/unit.test.utils.js.map +0 -1
- package/dist/components/events.utils.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/index3.js.map +0 -1
- package/dist/components/mg-action-more.js.map +0 -1
- package/dist/components/mg-alert.js.map +0 -1
- package/dist/components/mg-badge.js.map +0 -1
- package/dist/components/mg-badge2.js.map +0 -1
- package/dist/components/mg-button.js.map +0 -1
- package/dist/components/mg-button2.js.map +0 -1
- package/dist/components/mg-card.js.map +0 -1
- package/dist/components/mg-card2.js.map +0 -1
- package/dist/components/mg-character-left.js.map +0 -1
- package/dist/components/mg-character-left2.js.map +0 -1
- package/dist/components/mg-details.js.map +0 -1
- package/dist/components/mg-divider.js.map +0 -1
- package/dist/components/mg-divider2.js.map +0 -1
- package/dist/components/mg-form.js.map +0 -1
- package/dist/components/mg-icon.js.map +0 -1
- package/dist/components/mg-icon2.js.map +0 -1
- package/dist/components/mg-illustrated-message.js.map +0 -1
- package/dist/components/mg-input-checkbox-paginated.js.map +0 -1
- package/dist/components/mg-input-checkbox-paginated2.js.map +0 -1
- package/dist/components/mg-input-checkbox.js.map +0 -1
- package/dist/components/mg-input-combobox.js.map +0 -1
- package/dist/components/mg-input-date.js.map +0 -1
- package/dist/components/mg-input-numeric.js.map +0 -1
- package/dist/components/mg-input-password.js.map +0 -1
- package/dist/components/mg-input-radio.js.map +0 -1
- package/dist/components/mg-input-rich-text-editor.js.map +0 -1
- package/dist/components/mg-input-select.js.map +0 -1
- package/dist/components/mg-input-select2.js.map +0 -1
- package/dist/components/mg-input-text.js.map +0 -1
- package/dist/components/mg-input-text2.js.map +0 -1
- package/dist/components/mg-input-textarea.js.map +0 -1
- package/dist/components/mg-input-title.js.map +0 -1
- package/dist/components/mg-input-title2.js.map +0 -1
- package/dist/components/mg-input-toggle.js.map +0 -1
- package/dist/components/mg-input.js.map +0 -1
- package/dist/components/mg-input2.js.map +0 -1
- package/dist/components/mg-item-more.js.map +0 -1
- package/dist/components/mg-item-more2.js.map +0 -1
- package/dist/components/mg-loader.js.map +0 -1
- package/dist/components/mg-loader2.js.map +0 -1
- package/dist/components/mg-menu-item.js.map +0 -1
- package/dist/components/mg-menu-item2.js.map +0 -1
- package/dist/components/mg-menu.js.map +0 -1
- package/dist/components/mg-message.js.map +0 -1
- package/dist/components/mg-message2.js.map +0 -1
- package/dist/components/mg-modal.js.map +0 -1
- package/dist/components/mg-pagination.js.map +0 -1
- package/dist/components/mg-pagination2.js.map +0 -1
- package/dist/components/mg-panel.js.map +0 -1
- package/dist/components/mg-popover-content.js.map +0 -1
- package/dist/components/mg-popover-content2.js.map +0 -1
- package/dist/components/mg-popover.js.map +0 -1
- package/dist/components/mg-popover2.js.map +0 -1
- package/dist/components/mg-progress.js.map +0 -1
- package/dist/components/mg-skip-links.js.map +0 -1
- package/dist/components/mg-table.js.map +0 -1
- package/dist/components/mg-tabs.js.map +0 -1
- package/dist/components/mg-tag.js.map +0 -1
- package/dist/components/mg-tooltip-content.js.map +0 -1
- package/dist/components/mg-tooltip-content2.js.map +0 -1
- package/dist/components/mg-tooltip.js.map +0 -1
- package/dist/components/mg-tooltip2.js.map +0 -1
- package/dist/components/popper.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -6
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/events.utils-yMGqY8YG.js.map +0 -1
- package/dist/esm/index-CAuxALt5.js.map +0 -1
- package/dist/esm/index-CwZ2wzxw.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-3e92299a.entry.js +0 -2
- package/dist/mg-components/p-3e92299a.entry.js.map +0 -1
- package/dist/mg-components/p-CAuxALt5.js +0 -3
- package/dist/mg-components/p-CAuxALt5.js.map +0 -1
- package/dist/mg-components/p-CNgv8hc5.js.map +0 -1
- package/dist/mg-components/p-CwZ2wzxw.js +0 -2
- package/dist/mg-components/p-CwZ2wzxw.js.map +0 -1
- package/dist/mg-components/p-DQuL1Twl.js +0 -2
- package/dist/mg-components/p-DQuL1Twl.js.map +0 -1
- package/dist/mg-components/p-Dr7GYvIz.js.map +0 -1
- package/dist/mg-components/p-c907ddac.entry.js +0 -2
- package/dist/mg-components/p-c907ddac.entry.js.map +0 -1
- package/dist/mg-components/p-d711941b.entry.js +0 -2
- package/dist/mg-components/p-d711941b.entry.js.map +0 -1
- package/dist/mg-components/p-da1e7950.entry.js +0 -2
- package/dist/mg-components/p-da1e7950.entry.js.map +0 -1
- package/dist/mg-components/p-e7a7c651.entry.js +0 -11
- package/dist/mg-components/p-e7a7c651.entry.js.map +0 -1
- package/dist/mg-components/p-fea46548.entry.js +0 -2
- package/dist/mg-components/p-fea46548.entry.js.map +0 -1
- package/dist/mg-components/p-yMGqY8YG.js.map +0 -1
|
@@ -9,6 +9,7 @@ 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";
|
|
@@ -40,6 +41,7 @@ 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";
|
|
@@ -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,18 +301,21 @@ 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
|
*/
|
|
@@ -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,6 +369,7 @@ 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
|
/**
|
|
@@ -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,27 @@ 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;
|
|
368
415
|
/**
|
|
369
416
|
* Define if mg-input-checkbox is readonly
|
|
417
|
+
* @default false
|
|
370
418
|
*/
|
|
371
419
|
"readonly": boolean;
|
|
372
420
|
/**
|
|
373
421
|
* Define if mg-input-checkbox is required
|
|
422
|
+
* @default false
|
|
374
423
|
*/
|
|
375
424
|
"required": boolean;
|
|
376
425
|
/**
|
|
@@ -401,6 +450,7 @@ export namespace Components {
|
|
|
401
450
|
"tooltip"?: string;
|
|
402
451
|
/**
|
|
403
452
|
* Define tooltip position
|
|
453
|
+
* @default 'input'
|
|
404
454
|
*/
|
|
405
455
|
"tooltipPosition": TooltipPosition;
|
|
406
456
|
/**
|
|
@@ -422,14 +472,17 @@ export namespace Components {
|
|
|
422
472
|
interface MgInputCheckboxPaginated {
|
|
423
473
|
/**
|
|
424
474
|
* Define checkboxes to paginate
|
|
475
|
+
* @default []
|
|
425
476
|
*/
|
|
426
477
|
"checkboxes": CheckboxItem[];
|
|
427
478
|
/**
|
|
428
479
|
* Current page
|
|
480
|
+
* @default 1
|
|
429
481
|
*/
|
|
430
482
|
"currentPage": number;
|
|
431
483
|
/**
|
|
432
484
|
* Define if mg-input-checkbox-list is disabled
|
|
485
|
+
* @default false
|
|
433
486
|
*/
|
|
434
487
|
"disabled": boolean;
|
|
435
488
|
/**
|
|
@@ -446,12 +499,14 @@ export namespace Components {
|
|
|
446
499
|
"name"?: string;
|
|
447
500
|
/**
|
|
448
501
|
* Define if mg-input-checkbox-list is readonly
|
|
502
|
+
* @default false
|
|
449
503
|
*/
|
|
450
504
|
"readonly": boolean;
|
|
451
505
|
}
|
|
452
506
|
interface MgInputCombobox {
|
|
453
507
|
/**
|
|
454
508
|
* Define if input is disabled
|
|
509
|
+
* @default false
|
|
455
510
|
*/
|
|
456
511
|
"disabled": boolean;
|
|
457
512
|
/**
|
|
@@ -501,18 +556,22 @@ export namespace Components {
|
|
|
501
556
|
"label": string;
|
|
502
557
|
/**
|
|
503
558
|
* Define if label is visible
|
|
559
|
+
* @default false
|
|
504
560
|
*/
|
|
505
561
|
"labelHide": boolean;
|
|
506
562
|
/**
|
|
507
563
|
* Define if label is displayed on top
|
|
564
|
+
* @default false
|
|
508
565
|
*/
|
|
509
566
|
"labelOnTop": boolean;
|
|
510
567
|
/**
|
|
511
568
|
* Define input width
|
|
569
|
+
* @default 'full'
|
|
512
570
|
*/
|
|
513
571
|
"mgWidth": Width;
|
|
514
572
|
/**
|
|
515
573
|
* Input name If not set the value equals the identifier
|
|
574
|
+
* @default this.identifier
|
|
516
575
|
*/
|
|
517
576
|
"name": string;
|
|
518
577
|
/**
|
|
@@ -521,10 +580,12 @@ export namespace Components {
|
|
|
521
580
|
"placeholder"?: string;
|
|
522
581
|
/**
|
|
523
582
|
* Define if input is readonly
|
|
583
|
+
* @default false
|
|
524
584
|
*/
|
|
525
585
|
"readonly": boolean;
|
|
526
586
|
/**
|
|
527
587
|
* Define if input is required
|
|
588
|
+
* @default false
|
|
528
589
|
*/
|
|
529
590
|
"required": boolean;
|
|
530
591
|
/**
|
|
@@ -547,6 +608,7 @@ export namespace Components {
|
|
|
547
608
|
"tooltip"?: string;
|
|
548
609
|
/**
|
|
549
610
|
* Define tooltip position
|
|
611
|
+
* @default 'input'
|
|
550
612
|
*/
|
|
551
613
|
"tooltipPosition": TooltipPosition;
|
|
552
614
|
/**
|
|
@@ -561,6 +623,7 @@ export namespace Components {
|
|
|
561
623
|
interface MgInputDate {
|
|
562
624
|
/**
|
|
563
625
|
* Define if input is disabled
|
|
626
|
+
* @default false
|
|
564
627
|
*/
|
|
565
628
|
"disabled": boolean;
|
|
566
629
|
/**
|
|
@@ -585,14 +648,17 @@ export namespace Components {
|
|
|
585
648
|
"label": string;
|
|
586
649
|
/**
|
|
587
650
|
* Define if label is visible
|
|
651
|
+
* @default false
|
|
588
652
|
*/
|
|
589
653
|
"labelHide": boolean;
|
|
590
654
|
/**
|
|
591
655
|
* Define if label is displayed on top
|
|
656
|
+
* @default false
|
|
592
657
|
*/
|
|
593
658
|
"labelOnTop": boolean;
|
|
594
659
|
/**
|
|
595
660
|
* Define input maximum date format: yyyy-mm-dd
|
|
661
|
+
* @default '9999-12-31'
|
|
596
662
|
*/
|
|
597
663
|
"max"?: string;
|
|
598
664
|
/**
|
|
@@ -601,14 +667,17 @@ export namespace Components {
|
|
|
601
667
|
"min"?: string;
|
|
602
668
|
/**
|
|
603
669
|
* Input name If not set the value equals the identifier
|
|
670
|
+
* @default this.identifier
|
|
604
671
|
*/
|
|
605
672
|
"name": string;
|
|
606
673
|
/**
|
|
607
674
|
* Define if input is readonly
|
|
675
|
+
* @default false
|
|
608
676
|
*/
|
|
609
677
|
"readonly": boolean;
|
|
610
678
|
/**
|
|
611
679
|
* Define if input is required
|
|
680
|
+
* @default false
|
|
612
681
|
*/
|
|
613
682
|
"required": boolean;
|
|
614
683
|
/**
|
|
@@ -631,6 +700,7 @@ export namespace Components {
|
|
|
631
700
|
"tooltip"?: string;
|
|
632
701
|
/**
|
|
633
702
|
* Define tooltip position
|
|
703
|
+
* @default 'input'
|
|
634
704
|
*/
|
|
635
705
|
"tooltipPosition": TooltipPosition;
|
|
636
706
|
/**
|
|
@@ -645,14 +715,17 @@ export namespace Components {
|
|
|
645
715
|
interface MgInputNumeric {
|
|
646
716
|
/**
|
|
647
717
|
* Define currency
|
|
718
|
+
* @default 'EUR'
|
|
648
719
|
*/
|
|
649
720
|
"currency": string;
|
|
650
721
|
/**
|
|
651
722
|
* Override decimal length decimal is the number after the decimal point
|
|
723
|
+
* @default 2
|
|
652
724
|
*/
|
|
653
725
|
"decimalLength": number;
|
|
654
726
|
/**
|
|
655
727
|
* Define if input is disabled
|
|
728
|
+
* @default false
|
|
656
729
|
*/
|
|
657
730
|
"disabled": boolean;
|
|
658
731
|
/**
|
|
@@ -661,6 +734,7 @@ export namespace Components {
|
|
|
661
734
|
"displayError": () => Promise<void>;
|
|
662
735
|
/**
|
|
663
736
|
* Set local formatting. Numbers are formatted based on the locale.
|
|
737
|
+
* @default 'number'
|
|
664
738
|
*/
|
|
665
739
|
"format": Format;
|
|
666
740
|
/**
|
|
@@ -673,6 +747,7 @@ export namespace Components {
|
|
|
673
747
|
"identifier": string;
|
|
674
748
|
/**
|
|
675
749
|
* Override integer length integer is the number before the decimal point
|
|
750
|
+
* @default 13
|
|
676
751
|
*/
|
|
677
752
|
"integerLength": number;
|
|
678
753
|
/**
|
|
@@ -685,10 +760,12 @@ export namespace Components {
|
|
|
685
760
|
"label": string;
|
|
686
761
|
/**
|
|
687
762
|
* Define if label is visible
|
|
763
|
+
* @default false
|
|
688
764
|
*/
|
|
689
765
|
"labelHide": boolean;
|
|
690
766
|
/**
|
|
691
767
|
* Define if label is displayed on top
|
|
768
|
+
* @default false
|
|
692
769
|
*/
|
|
693
770
|
"labelOnTop": boolean;
|
|
694
771
|
/**
|
|
@@ -705,6 +782,7 @@ export namespace Components {
|
|
|
705
782
|
"min"?: number;
|
|
706
783
|
/**
|
|
707
784
|
* Input name If not set the value equals the identifier
|
|
785
|
+
* @default this.identifier
|
|
708
786
|
*/
|
|
709
787
|
"name": string;
|
|
710
788
|
/**
|
|
@@ -713,10 +791,12 @@ export namespace Components {
|
|
|
713
791
|
"placeholder"?: string;
|
|
714
792
|
/**
|
|
715
793
|
* Define if input is readonly
|
|
794
|
+
* @default false
|
|
716
795
|
*/
|
|
717
796
|
"readonly": boolean;
|
|
718
797
|
/**
|
|
719
798
|
* Define if input is required
|
|
799
|
+
* @default false
|
|
720
800
|
*/
|
|
721
801
|
"required": boolean;
|
|
722
802
|
/**
|
|
@@ -739,10 +819,12 @@ export namespace Components {
|
|
|
739
819
|
"tooltip"?: string;
|
|
740
820
|
/**
|
|
741
821
|
* Define tooltip position
|
|
822
|
+
* @default 'input'
|
|
742
823
|
*/
|
|
743
824
|
"tooltipPosition": TooltipPosition;
|
|
744
825
|
/**
|
|
745
826
|
* Define numeric type
|
|
827
|
+
* @default 'decimal'
|
|
746
828
|
*/
|
|
747
829
|
"type": NumericType;
|
|
748
830
|
/**
|
|
@@ -751,6 +833,7 @@ export namespace Components {
|
|
|
751
833
|
"unit"?: Intl.NumberFormatOptions['unit'];
|
|
752
834
|
/**
|
|
753
835
|
* Define unit display format ('short', 'long', 'narrow')
|
|
836
|
+
* @default 'short'
|
|
754
837
|
*/
|
|
755
838
|
"unitDisplay": Intl.NumberFormatOptions['unitDisplay'];
|
|
756
839
|
/**
|
|
@@ -765,6 +848,7 @@ export namespace Components {
|
|
|
765
848
|
interface MgInputPassword {
|
|
766
849
|
/**
|
|
767
850
|
* Define if input is disabled
|
|
851
|
+
* @default false
|
|
768
852
|
*/
|
|
769
853
|
"disabled": boolean;
|
|
770
854
|
/**
|
|
@@ -789,10 +873,12 @@ export namespace Components {
|
|
|
789
873
|
"label": string;
|
|
790
874
|
/**
|
|
791
875
|
* Define if label is visible
|
|
876
|
+
* @default false
|
|
792
877
|
*/
|
|
793
878
|
"labelHide": boolean;
|
|
794
879
|
/**
|
|
795
880
|
* Define if label is displayed on top
|
|
881
|
+
* @default false
|
|
796
882
|
*/
|
|
797
883
|
"labelOnTop": boolean;
|
|
798
884
|
/**
|
|
@@ -801,10 +887,12 @@ export namespace Components {
|
|
|
801
887
|
"maxlength"?: number;
|
|
802
888
|
/**
|
|
803
889
|
* Define input width
|
|
890
|
+
* @default 'full'
|
|
804
891
|
*/
|
|
805
892
|
"mgWidth": Width;
|
|
806
893
|
/**
|
|
807
894
|
* Input name If not set the value equals the identifier
|
|
895
|
+
* @default this.identifier
|
|
808
896
|
*/
|
|
809
897
|
"name": string;
|
|
810
898
|
/**
|
|
@@ -813,10 +901,12 @@ export namespace Components {
|
|
|
813
901
|
"placeholder"?: string;
|
|
814
902
|
/**
|
|
815
903
|
* Define if input is readonly
|
|
904
|
+
* @default false
|
|
816
905
|
*/
|
|
817
906
|
"readonly": boolean;
|
|
818
907
|
/**
|
|
819
908
|
* Define if input is required
|
|
909
|
+
* @default false
|
|
820
910
|
*/
|
|
821
911
|
"required": boolean;
|
|
822
912
|
/**
|
|
@@ -839,6 +929,7 @@ export namespace Components {
|
|
|
839
929
|
"tooltip"?: string;
|
|
840
930
|
/**
|
|
841
931
|
* Define tooltip position
|
|
932
|
+
* @default 'input'
|
|
842
933
|
*/
|
|
843
934
|
"tooltipPosition": TooltipPosition;
|
|
844
935
|
/**
|
|
@@ -853,6 +944,7 @@ export namespace Components {
|
|
|
853
944
|
interface MgInputRadio {
|
|
854
945
|
/**
|
|
855
946
|
* Define if input is disabled
|
|
947
|
+
* @default false
|
|
856
948
|
*/
|
|
857
949
|
"disabled": boolean;
|
|
858
950
|
/**
|
|
@@ -869,6 +961,7 @@ export namespace Components {
|
|
|
869
961
|
"identifier": string;
|
|
870
962
|
/**
|
|
871
963
|
* Define if inputs are display verticaly
|
|
964
|
+
* @default false
|
|
872
965
|
*/
|
|
873
966
|
"inputVerticalList": boolean;
|
|
874
967
|
/**
|
|
@@ -885,22 +978,27 @@ export namespace Components {
|
|
|
885
978
|
"label": string;
|
|
886
979
|
/**
|
|
887
980
|
* Define if label is visible
|
|
981
|
+
* @default false
|
|
888
982
|
*/
|
|
889
983
|
"labelHide": boolean;
|
|
890
984
|
/**
|
|
891
985
|
* Define if label is displayed on top
|
|
986
|
+
* @default false
|
|
892
987
|
*/
|
|
893
988
|
"labelOnTop": boolean;
|
|
894
989
|
/**
|
|
895
990
|
* Input name If not set the value equals the identifier
|
|
991
|
+
* @default this.identifier
|
|
896
992
|
*/
|
|
897
993
|
"name": string;
|
|
898
994
|
/**
|
|
899
995
|
* Define if input is readonly
|
|
996
|
+
* @default false
|
|
900
997
|
*/
|
|
901
998
|
"readonly": boolean;
|
|
902
999
|
/**
|
|
903
1000
|
* Define if input is required
|
|
1001
|
+
* @default false
|
|
904
1002
|
*/
|
|
905
1003
|
"required": boolean;
|
|
906
1004
|
/**
|
|
@@ -923,6 +1021,7 @@ export namespace Components {
|
|
|
923
1021
|
"tooltip"?: string;
|
|
924
1022
|
/**
|
|
925
1023
|
* Define tooltip position
|
|
1024
|
+
* @default 'input'
|
|
926
1025
|
*/
|
|
927
1026
|
"tooltipPosition": TooltipPosition;
|
|
928
1027
|
/**
|
|
@@ -937,6 +1036,7 @@ export namespace Components {
|
|
|
937
1036
|
interface MgInputRichTextEditor {
|
|
938
1037
|
/**
|
|
939
1038
|
* Define if input is disabled
|
|
1039
|
+
* @default false
|
|
940
1040
|
*/
|
|
941
1041
|
"disabled": boolean;
|
|
942
1042
|
/**
|
|
@@ -971,10 +1071,12 @@ export namespace Components {
|
|
|
971
1071
|
"label": string;
|
|
972
1072
|
/**
|
|
973
1073
|
* Define if label is visible
|
|
1074
|
+
* @default false
|
|
974
1075
|
*/
|
|
975
1076
|
"labelHide": boolean;
|
|
976
1077
|
/**
|
|
977
1078
|
* Define if label is displayed on top
|
|
1079
|
+
* @default false
|
|
978
1080
|
*/
|
|
979
1081
|
"labelOnTop": boolean;
|
|
980
1082
|
/**
|
|
@@ -995,10 +1097,12 @@ export namespace Components {
|
|
|
995
1097
|
"placeholder"?: string;
|
|
996
1098
|
/**
|
|
997
1099
|
* Define if the editor is readonly
|
|
1100
|
+
* @default false
|
|
998
1101
|
*/
|
|
999
1102
|
"readonly": boolean;
|
|
1000
1103
|
/**
|
|
1001
1104
|
* Define if input is required
|
|
1105
|
+
* @default false
|
|
1002
1106
|
*/
|
|
1003
1107
|
"required": boolean;
|
|
1004
1108
|
/**
|
|
@@ -1007,6 +1111,7 @@ export namespace Components {
|
|
|
1007
1111
|
"reset": () => Promise<void>;
|
|
1008
1112
|
/**
|
|
1009
1113
|
* Define the number of visible text lines for the control
|
|
1114
|
+
* @default 5
|
|
1010
1115
|
*/
|
|
1011
1116
|
"rows": number;
|
|
1012
1117
|
/**
|
|
@@ -1025,6 +1130,7 @@ export namespace Components {
|
|
|
1025
1130
|
"tooltip"?: string;
|
|
1026
1131
|
/**
|
|
1027
1132
|
* Define tooltip position
|
|
1133
|
+
* @default 'input'
|
|
1028
1134
|
*/
|
|
1029
1135
|
"tooltipPosition": TooltipPosition;
|
|
1030
1136
|
/**
|
|
@@ -1033,12 +1139,14 @@ export namespace Components {
|
|
|
1033
1139
|
"valid": boolean;
|
|
1034
1140
|
/**
|
|
1035
1141
|
* Define the value of the editor Can be either HTML string or plain text
|
|
1142
|
+
* @default ''
|
|
1036
1143
|
*/
|
|
1037
1144
|
"value": string;
|
|
1038
1145
|
}
|
|
1039
1146
|
interface MgInputSelect {
|
|
1040
1147
|
/**
|
|
1041
1148
|
* Define if input is disabled
|
|
1149
|
+
* @default false
|
|
1042
1150
|
*/
|
|
1043
1151
|
"disabled": boolean;
|
|
1044
1152
|
/**
|
|
@@ -1067,10 +1175,12 @@ export namespace Components {
|
|
|
1067
1175
|
"label": string;
|
|
1068
1176
|
/**
|
|
1069
1177
|
* Define if label is visible
|
|
1178
|
+
* @default false
|
|
1070
1179
|
*/
|
|
1071
1180
|
"labelHide": boolean;
|
|
1072
1181
|
/**
|
|
1073
1182
|
* Define if label is displayed on top
|
|
1183
|
+
* @default false
|
|
1074
1184
|
*/
|
|
1075
1185
|
"labelOnTop": boolean;
|
|
1076
1186
|
/**
|
|
@@ -1079,6 +1189,7 @@ export namespace Components {
|
|
|
1079
1189
|
"mgWidth": Width;
|
|
1080
1190
|
/**
|
|
1081
1191
|
* Input name If not set the value equals the identifier
|
|
1192
|
+
* @default this.identifier
|
|
1082
1193
|
*/
|
|
1083
1194
|
"name": string;
|
|
1084
1195
|
/**
|
|
@@ -1087,18 +1198,22 @@ export namespace Components {
|
|
|
1087
1198
|
"placeholder": string;
|
|
1088
1199
|
/**
|
|
1089
1200
|
* Option to disable placeholder
|
|
1201
|
+
* @default false
|
|
1090
1202
|
*/
|
|
1091
1203
|
"placeholderDisabled": boolean;
|
|
1092
1204
|
/**
|
|
1093
1205
|
* Option to remove placeholder
|
|
1206
|
+
* @default false
|
|
1094
1207
|
*/
|
|
1095
1208
|
"placeholderHide": boolean;
|
|
1096
1209
|
/**
|
|
1097
1210
|
* Define if input is readonly
|
|
1211
|
+
* @default false
|
|
1098
1212
|
*/
|
|
1099
1213
|
"readonly": boolean;
|
|
1100
1214
|
/**
|
|
1101
1215
|
* Define if input is required
|
|
1216
|
+
* @default false
|
|
1102
1217
|
*/
|
|
1103
1218
|
"required": boolean;
|
|
1104
1219
|
/**
|
|
@@ -1121,6 +1236,7 @@ export namespace Components {
|
|
|
1121
1236
|
"tooltip"?: string;
|
|
1122
1237
|
/**
|
|
1123
1238
|
* Define tooltip position
|
|
1239
|
+
* @default 'input'
|
|
1124
1240
|
*/
|
|
1125
1241
|
"tooltipPosition": TooltipPosition;
|
|
1126
1242
|
/**
|
|
@@ -1135,6 +1251,7 @@ export namespace Components {
|
|
|
1135
1251
|
interface MgInputText {
|
|
1136
1252
|
/**
|
|
1137
1253
|
* Define if component should display character left
|
|
1254
|
+
* @default false
|
|
1138
1255
|
*/
|
|
1139
1256
|
"characterLeftHide": boolean;
|
|
1140
1257
|
/**
|
|
@@ -1143,6 +1260,7 @@ export namespace Components {
|
|
|
1143
1260
|
"datalistoptions": string[] | OptionType[];
|
|
1144
1261
|
/**
|
|
1145
1262
|
* Define if input is disabled
|
|
1263
|
+
* @default false
|
|
1146
1264
|
*/
|
|
1147
1265
|
"disabled": boolean;
|
|
1148
1266
|
/**
|
|
@@ -1171,22 +1289,27 @@ export namespace Components {
|
|
|
1171
1289
|
"label": string;
|
|
1172
1290
|
/**
|
|
1173
1291
|
* Define if label is visible
|
|
1292
|
+
* @default false
|
|
1174
1293
|
*/
|
|
1175
1294
|
"labelHide": boolean;
|
|
1176
1295
|
/**
|
|
1177
1296
|
* Define if label is displayed on top
|
|
1297
|
+
* @default false
|
|
1178
1298
|
*/
|
|
1179
1299
|
"labelOnTop": boolean;
|
|
1180
1300
|
/**
|
|
1181
1301
|
* Input max length
|
|
1302
|
+
* @default 400
|
|
1182
1303
|
*/
|
|
1183
1304
|
"maxlength": number;
|
|
1184
1305
|
/**
|
|
1185
1306
|
* Define input width
|
|
1307
|
+
* @default 'full'
|
|
1186
1308
|
*/
|
|
1187
1309
|
"mgWidth": Width;
|
|
1188
1310
|
/**
|
|
1189
1311
|
* Input name If not set the value equals the identifier
|
|
1312
|
+
* @default this.identifier
|
|
1190
1313
|
*/
|
|
1191
1314
|
"name": string;
|
|
1192
1315
|
/**
|
|
@@ -1203,10 +1326,12 @@ export namespace Components {
|
|
|
1203
1326
|
"placeholder"?: string;
|
|
1204
1327
|
/**
|
|
1205
1328
|
* Define if input is readonly
|
|
1329
|
+
* @default false
|
|
1206
1330
|
*/
|
|
1207
1331
|
"readonly": boolean;
|
|
1208
1332
|
/**
|
|
1209
1333
|
* Define if input is required
|
|
1334
|
+
* @default false
|
|
1210
1335
|
*/
|
|
1211
1336
|
"required": boolean;
|
|
1212
1337
|
/**
|
|
@@ -1229,10 +1354,12 @@ export namespace Components {
|
|
|
1229
1354
|
"tooltip"?: string;
|
|
1230
1355
|
/**
|
|
1231
1356
|
* Define tooltip position
|
|
1357
|
+
* @default 'input'
|
|
1232
1358
|
*/
|
|
1233
1359
|
"tooltipPosition": TooltipPosition;
|
|
1234
1360
|
/**
|
|
1235
1361
|
* Input type
|
|
1362
|
+
* @default 'text'
|
|
1236
1363
|
*/
|
|
1237
1364
|
"type": TextType;
|
|
1238
1365
|
/**
|
|
@@ -1247,10 +1374,12 @@ export namespace Components {
|
|
|
1247
1374
|
interface MgInputTextarea {
|
|
1248
1375
|
/**
|
|
1249
1376
|
* Define if component should display character left
|
|
1377
|
+
* @default false
|
|
1250
1378
|
*/
|
|
1251
1379
|
"characterLeftHide": boolean;
|
|
1252
1380
|
/**
|
|
1253
1381
|
* Define if input is disabled
|
|
1382
|
+
* @default false
|
|
1254
1383
|
*/
|
|
1255
1384
|
"disabled": boolean;
|
|
1256
1385
|
/**
|
|
@@ -1275,22 +1404,27 @@ export namespace Components {
|
|
|
1275
1404
|
"label": string;
|
|
1276
1405
|
/**
|
|
1277
1406
|
* Define if label is visible
|
|
1407
|
+
* @default false
|
|
1278
1408
|
*/
|
|
1279
1409
|
"labelHide": boolean;
|
|
1280
1410
|
/**
|
|
1281
1411
|
* Define if label is displayed on top
|
|
1412
|
+
* @default false
|
|
1282
1413
|
*/
|
|
1283
1414
|
"labelOnTop": boolean;
|
|
1284
1415
|
/**
|
|
1285
1416
|
* Input max length
|
|
1417
|
+
* @default 4000
|
|
1286
1418
|
*/
|
|
1287
1419
|
"maxlength": number;
|
|
1288
1420
|
/**
|
|
1289
1421
|
* Define input width
|
|
1422
|
+
* @default 'full'
|
|
1290
1423
|
*/
|
|
1291
1424
|
"mgWidth": Width;
|
|
1292
1425
|
/**
|
|
1293
1426
|
* Input name If not set the value equals the identifier
|
|
1427
|
+
* @default this.identifier
|
|
1294
1428
|
*/
|
|
1295
1429
|
"name": string;
|
|
1296
1430
|
/**
|
|
@@ -1307,10 +1441,12 @@ export namespace Components {
|
|
|
1307
1441
|
"placeholder"?: string;
|
|
1308
1442
|
/**
|
|
1309
1443
|
* Define if input is readonly
|
|
1444
|
+
* @default false
|
|
1310
1445
|
*/
|
|
1311
1446
|
"readonly": boolean;
|
|
1312
1447
|
/**
|
|
1313
1448
|
* Define if input is required
|
|
1449
|
+
* @default false
|
|
1314
1450
|
*/
|
|
1315
1451
|
"required": boolean;
|
|
1316
1452
|
/**
|
|
@@ -1319,10 +1455,12 @@ export namespace Components {
|
|
|
1319
1455
|
"reset": () => Promise<void>;
|
|
1320
1456
|
/**
|
|
1321
1457
|
* Define if input is resizable
|
|
1458
|
+
* @default 'none'
|
|
1322
1459
|
*/
|
|
1323
1460
|
"resizable": 'none' | 'both' | 'horizontal' | 'vertical';
|
|
1324
1461
|
/**
|
|
1325
1462
|
* Define the number of visible text lines for the control
|
|
1463
|
+
* @default 3
|
|
1326
1464
|
*/
|
|
1327
1465
|
"rows": number;
|
|
1328
1466
|
/**
|
|
@@ -1341,6 +1479,7 @@ export namespace Components {
|
|
|
1341
1479
|
"tooltip"?: string;
|
|
1342
1480
|
/**
|
|
1343
1481
|
* Define tooltip position
|
|
1482
|
+
* @default 'input'
|
|
1344
1483
|
*/
|
|
1345
1484
|
"tooltipPosition": TooltipPosition;
|
|
1346
1485
|
/**
|
|
@@ -1359,6 +1498,7 @@ export namespace Components {
|
|
|
1359
1498
|
"identifier": string;
|
|
1360
1499
|
/**
|
|
1361
1500
|
* Switch from label to fieldset sementic
|
|
1501
|
+
* @default false
|
|
1362
1502
|
*/
|
|
1363
1503
|
"isLegend": boolean;
|
|
1364
1504
|
/**
|
|
@@ -1373,6 +1513,7 @@ export namespace Components {
|
|
|
1373
1513
|
interface MgInputToggle {
|
|
1374
1514
|
/**
|
|
1375
1515
|
* Define if input is disabled
|
|
1516
|
+
* @default false
|
|
1376
1517
|
*/
|
|
1377
1518
|
"disabled": boolean;
|
|
1378
1519
|
/**
|
|
@@ -1385,10 +1526,12 @@ export namespace Components {
|
|
|
1385
1526
|
"identifier": string;
|
|
1386
1527
|
/**
|
|
1387
1528
|
* Define if toggle display icon
|
|
1529
|
+
* @default false
|
|
1388
1530
|
*/
|
|
1389
1531
|
"isIcon": boolean;
|
|
1390
1532
|
/**
|
|
1391
1533
|
* Define if toggle have on/off style
|
|
1534
|
+
* @default false
|
|
1392
1535
|
*/
|
|
1393
1536
|
"isOnOff": boolean;
|
|
1394
1537
|
/**
|
|
@@ -1401,18 +1544,22 @@ export namespace Components {
|
|
|
1401
1544
|
"label": string;
|
|
1402
1545
|
/**
|
|
1403
1546
|
* Define if label is visible
|
|
1547
|
+
* @default false
|
|
1404
1548
|
*/
|
|
1405
1549
|
"labelHide": boolean;
|
|
1406
1550
|
/**
|
|
1407
1551
|
* Define if label is displayed on top
|
|
1552
|
+
* @default false
|
|
1408
1553
|
*/
|
|
1409
1554
|
"labelOnTop": boolean;
|
|
1410
1555
|
/**
|
|
1411
1556
|
* Input name If not set the value equals the identifier
|
|
1557
|
+
* @default this.identifier
|
|
1412
1558
|
*/
|
|
1413
1559
|
"name": string;
|
|
1414
1560
|
/**
|
|
1415
1561
|
* Define if input is readonly
|
|
1562
|
+
* @default false
|
|
1416
1563
|
*/
|
|
1417
1564
|
"readonly": boolean;
|
|
1418
1565
|
/**
|
|
@@ -1435,6 +1582,7 @@ export namespace Components {
|
|
|
1435
1582
|
"tooltip"?: string;
|
|
1436
1583
|
/**
|
|
1437
1584
|
* Define tooltip position
|
|
1585
|
+
* @default 'input'
|
|
1438
1586
|
*/
|
|
1439
1587
|
"tooltipPosition": TooltipPosition;
|
|
1440
1588
|
/**
|
|
@@ -1445,6 +1593,7 @@ export namespace Components {
|
|
|
1445
1593
|
interface MgItemMore {
|
|
1446
1594
|
/**
|
|
1447
1595
|
* Define icon
|
|
1596
|
+
* @default { icon: 'ellipsis-vertical' }
|
|
1448
1597
|
*/
|
|
1449
1598
|
"icon"?: IconType2;
|
|
1450
1599
|
/**
|
|
@@ -1453,6 +1602,7 @@ export namespace Components {
|
|
|
1453
1602
|
"size"?: SizeType1;
|
|
1454
1603
|
/**
|
|
1455
1604
|
* Define slot label element
|
|
1605
|
+
* @default { display: false }
|
|
1456
1606
|
*/
|
|
1457
1607
|
"slotlabel"?: SlotLabelType;
|
|
1458
1608
|
}
|
|
@@ -1463,12 +1613,14 @@ export namespace Components {
|
|
|
1463
1613
|
"message"?: string;
|
|
1464
1614
|
/**
|
|
1465
1615
|
* Hide message
|
|
1616
|
+
* @default false
|
|
1466
1617
|
*/
|
|
1467
1618
|
"messageHide": boolean;
|
|
1468
1619
|
}
|
|
1469
1620
|
interface MgMenu {
|
|
1470
1621
|
/**
|
|
1471
1622
|
* Component display direction.
|
|
1623
|
+
* @default 'horizontal'
|
|
1472
1624
|
*/
|
|
1473
1625
|
"direction": Direction;
|
|
1474
1626
|
/**
|
|
@@ -1481,12 +1633,14 @@ export namespace Components {
|
|
|
1481
1633
|
"label": string;
|
|
1482
1634
|
/**
|
|
1483
1635
|
* Define mg-menu size
|
|
1636
|
+
* @default 'medium'
|
|
1484
1637
|
*/
|
|
1485
1638
|
"size": MenuSizeType;
|
|
1486
1639
|
}
|
|
1487
1640
|
interface MgMenuItem {
|
|
1488
1641
|
/**
|
|
1489
1642
|
* Define menu-item content expanded.
|
|
1643
|
+
* @default false
|
|
1490
1644
|
*/
|
|
1491
1645
|
"expanded"?: boolean;
|
|
1492
1646
|
/**
|
|
@@ -1495,10 +1649,12 @@ export namespace Components {
|
|
|
1495
1649
|
"href"?: string;
|
|
1496
1650
|
/**
|
|
1497
1651
|
* Identifier is used to control mg-popover
|
|
1652
|
+
* @default createID('mg-menu-item')
|
|
1498
1653
|
*/
|
|
1499
1654
|
"identifier": string;
|
|
1500
1655
|
/**
|
|
1501
1656
|
* Define menu-item status.
|
|
1657
|
+
* @default 'visible'
|
|
1502
1658
|
*/
|
|
1503
1659
|
"status"?: MgMenuStatusType;
|
|
1504
1660
|
/**
|
|
@@ -1509,24 +1665,29 @@ export namespace Components {
|
|
|
1509
1665
|
interface MgMessage {
|
|
1510
1666
|
/**
|
|
1511
1667
|
* Define variant
|
|
1668
|
+
* @default 'info'
|
|
1512
1669
|
*/
|
|
1513
1670
|
"variant": VariantType2;
|
|
1514
1671
|
/**
|
|
1515
1672
|
* Define variant style
|
|
1673
|
+
* @default 'bar-left'
|
|
1516
1674
|
*/
|
|
1517
1675
|
"variantStyle": VariantStyleType1;
|
|
1518
1676
|
}
|
|
1519
1677
|
interface MgModal {
|
|
1520
1678
|
/**
|
|
1521
1679
|
* Define if modal has a cross button
|
|
1680
|
+
* @default false
|
|
1522
1681
|
*/
|
|
1523
1682
|
"closeButton": boolean;
|
|
1524
1683
|
/**
|
|
1525
1684
|
* Modal dialog role.
|
|
1685
|
+
* @default 'dialog'
|
|
1526
1686
|
*/
|
|
1527
1687
|
"dialogRole": DialogRoleType;
|
|
1528
1688
|
/**
|
|
1529
1689
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1690
|
+
* @default createID('mg-modal')
|
|
1530
1691
|
*/
|
|
1531
1692
|
"identifier": string;
|
|
1532
1693
|
/**
|
|
@@ -1535,24 +1696,29 @@ export namespace Components {
|
|
|
1535
1696
|
"modalTitle": string;
|
|
1536
1697
|
/**
|
|
1537
1698
|
* Define if modal is open
|
|
1699
|
+
* @default false
|
|
1538
1700
|
*/
|
|
1539
1701
|
"open": boolean;
|
|
1540
1702
|
}
|
|
1541
1703
|
interface MgPagination {
|
|
1542
1704
|
/**
|
|
1543
1705
|
* Component current page
|
|
1706
|
+
* @default 1
|
|
1544
1707
|
*/
|
|
1545
1708
|
"currentPage": number;
|
|
1546
1709
|
/**
|
|
1547
1710
|
* Hide navigation label
|
|
1711
|
+
* @default false
|
|
1548
1712
|
*/
|
|
1549
1713
|
"hideNavigationLabels": boolean;
|
|
1550
1714
|
/**
|
|
1551
1715
|
* Hide select input
|
|
1716
|
+
* @default false
|
|
1552
1717
|
*/
|
|
1553
1718
|
"hidePageCount": boolean;
|
|
1554
1719
|
/**
|
|
1555
1720
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1721
|
+
* @default createID('mg-pagination')
|
|
1556
1722
|
*/
|
|
1557
1723
|
"identifier": string;
|
|
1558
1724
|
/**
|
|
@@ -1565,32 +1731,43 @@ export namespace Components {
|
|
|
1565
1731
|
"messages": PaginationMessagesType;
|
|
1566
1732
|
/**
|
|
1567
1733
|
* Component total pages
|
|
1734
|
+
* @default 1
|
|
1568
1735
|
*/
|
|
1569
1736
|
"totalPages": number;
|
|
1570
1737
|
}
|
|
1571
1738
|
interface MgPanel {
|
|
1572
1739
|
/**
|
|
1573
1740
|
* Disable possibility to toggle expand
|
|
1741
|
+
* @default false
|
|
1574
1742
|
*/
|
|
1575
1743
|
"expandToggleDisabled": boolean;
|
|
1576
1744
|
/**
|
|
1577
1745
|
* Define expand toggle button display
|
|
1746
|
+
* @default 'text'
|
|
1578
1747
|
*/
|
|
1579
1748
|
"expandToggleDisplay": ExpandToggleDisplayType;
|
|
1580
1749
|
/**
|
|
1581
1750
|
* Panel is opened
|
|
1751
|
+
* @default false
|
|
1582
1752
|
*/
|
|
1583
1753
|
"expanded": boolean;
|
|
1584
1754
|
/**
|
|
1585
1755
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1756
|
+
* @default createID('mg-panel')
|
|
1586
1757
|
*/
|
|
1587
1758
|
"identifier": string;
|
|
1588
1759
|
/**
|
|
1589
1760
|
* Panel title
|
|
1590
1761
|
*/
|
|
1591
1762
|
"panelTitle": string;
|
|
1763
|
+
/**
|
|
1764
|
+
* Add box-shadow style
|
|
1765
|
+
* @default false
|
|
1766
|
+
*/
|
|
1767
|
+
"shadow": boolean;
|
|
1592
1768
|
/**
|
|
1593
1769
|
* Define if panel title is editable
|
|
1770
|
+
* @default false
|
|
1594
1771
|
*/
|
|
1595
1772
|
"titleEditable": boolean;
|
|
1596
1773
|
/**
|
|
@@ -1603,44 +1780,53 @@ export namespace Components {
|
|
|
1603
1780
|
"titlePatternErrorMessage"?: string;
|
|
1604
1781
|
/**
|
|
1605
1782
|
* Define title position
|
|
1783
|
+
* @default 'left'
|
|
1606
1784
|
*/
|
|
1607
1785
|
"titlePosition": TitlePositionType;
|
|
1608
1786
|
}
|
|
1609
1787
|
interface MgPopover {
|
|
1610
1788
|
/**
|
|
1611
1789
|
* Hide popover arrow
|
|
1790
|
+
* @default false
|
|
1612
1791
|
*/
|
|
1613
1792
|
"arrowHide": boolean;
|
|
1614
1793
|
/**
|
|
1615
1794
|
* Define if popover has a cross button
|
|
1795
|
+
* @default false
|
|
1616
1796
|
*/
|
|
1617
1797
|
"closeButton": boolean;
|
|
1618
1798
|
/**
|
|
1619
1799
|
* Disable popover
|
|
1800
|
+
* @default false
|
|
1620
1801
|
*/
|
|
1621
1802
|
"disabled": boolean;
|
|
1622
1803
|
/**
|
|
1623
1804
|
* Display popover
|
|
1805
|
+
* @default false
|
|
1624
1806
|
*/
|
|
1625
1807
|
"display": boolean;
|
|
1626
1808
|
/**
|
|
1627
1809
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
1810
|
+
* @default createID('mg-popover')
|
|
1628
1811
|
*/
|
|
1629
1812
|
"identifier": string;
|
|
1630
1813
|
/**
|
|
1631
1814
|
* Popover placement
|
|
1815
|
+
* @default 'bottom'
|
|
1632
1816
|
*/
|
|
1633
1817
|
"placement": Placement;
|
|
1634
1818
|
}
|
|
1635
1819
|
interface MgPopoverContent {
|
|
1636
1820
|
/**
|
|
1637
1821
|
* Define if popover has a cross button
|
|
1822
|
+
* @default false
|
|
1638
1823
|
*/
|
|
1639
1824
|
"closeButton": boolean;
|
|
1640
1825
|
}
|
|
1641
1826
|
interface MgProgress {
|
|
1642
1827
|
/**
|
|
1643
1828
|
* 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
|
|
1829
|
+
* @default 'progressbar'
|
|
1644
1830
|
*/
|
|
1645
1831
|
"ariaRole"?: AriaRoleType1;
|
|
1646
1832
|
/**
|
|
@@ -1649,14 +1835,17 @@ export namespace Components {
|
|
|
1649
1835
|
"label": string;
|
|
1650
1836
|
/**
|
|
1651
1837
|
* Define the maximum value in the range
|
|
1838
|
+
* @default 100
|
|
1652
1839
|
*/
|
|
1653
1840
|
"max"?: number;
|
|
1654
1841
|
/**
|
|
1655
1842
|
* Define the minimum value in the range
|
|
1843
|
+
* @default 0
|
|
1656
1844
|
*/
|
|
1657
1845
|
"min"?: number;
|
|
1658
1846
|
/**
|
|
1659
1847
|
* 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.
|
|
1848
|
+
* @default 0
|
|
1660
1849
|
*/
|
|
1661
1850
|
"value"?: number;
|
|
1662
1851
|
}
|
|
@@ -1673,10 +1862,12 @@ export namespace Components {
|
|
|
1673
1862
|
"columns": ColumnsType;
|
|
1674
1863
|
/**
|
|
1675
1864
|
* Define if table fits its parent element
|
|
1865
|
+
* @default false
|
|
1676
1866
|
*/
|
|
1677
1867
|
"fullWidth": boolean;
|
|
1678
1868
|
/**
|
|
1679
1869
|
* Define table size
|
|
1870
|
+
* @default 'medium'
|
|
1680
1871
|
*/
|
|
1681
1872
|
"size": TableSizeType;
|
|
1682
1873
|
}
|
|
@@ -1687,6 +1878,7 @@ export namespace Components {
|
|
|
1687
1878
|
"activeTab": number;
|
|
1688
1879
|
/**
|
|
1689
1880
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1881
|
+
* @default createID('mg-tabs')
|
|
1690
1882
|
*/
|
|
1691
1883
|
"identifier": string;
|
|
1692
1884
|
/**
|
|
@@ -1699,34 +1891,41 @@ export namespace Components {
|
|
|
1699
1891
|
"label": string;
|
|
1700
1892
|
/**
|
|
1701
1893
|
* Define tabs size
|
|
1894
|
+
* @default 'medium'
|
|
1702
1895
|
*/
|
|
1703
1896
|
"size": SizeType2;
|
|
1704
1897
|
}
|
|
1705
1898
|
interface MgTag {
|
|
1706
1899
|
/**
|
|
1707
1900
|
* Define if tag is using outline style
|
|
1901
|
+
* @default false
|
|
1708
1902
|
*/
|
|
1709
1903
|
"outline": boolean;
|
|
1710
1904
|
/**
|
|
1711
1905
|
* Define if tag is using soft style
|
|
1906
|
+
* @default false
|
|
1712
1907
|
*/
|
|
1713
1908
|
"soft": boolean;
|
|
1714
1909
|
/**
|
|
1715
1910
|
* Define tag variant
|
|
1911
|
+
* @default 'primary'
|
|
1716
1912
|
*/
|
|
1717
1913
|
"variant": TagVariantType;
|
|
1718
1914
|
}
|
|
1719
1915
|
interface MgTooltip {
|
|
1720
1916
|
/**
|
|
1721
1917
|
* Disable tooltip
|
|
1918
|
+
* @default false
|
|
1722
1919
|
*/
|
|
1723
1920
|
"disabled": boolean;
|
|
1724
1921
|
/**
|
|
1725
1922
|
* Display tooltip
|
|
1923
|
+
* @default false
|
|
1726
1924
|
*/
|
|
1727
1925
|
"display": boolean;
|
|
1728
1926
|
/**
|
|
1729
1927
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
1928
|
+
* @default createID('mg-tooltip')
|
|
1730
1929
|
*/
|
|
1731
1930
|
"identifier": string;
|
|
1732
1931
|
/**
|
|
@@ -1735,6 +1934,7 @@ export namespace Components {
|
|
|
1735
1934
|
"message": string;
|
|
1736
1935
|
/**
|
|
1737
1936
|
* Tooltip placement
|
|
1937
|
+
* @default 'bottom'
|
|
1738
1938
|
*/
|
|
1739
1939
|
"placement": Placement;
|
|
1740
1940
|
}
|
|
@@ -2097,7 +2297,12 @@ declare global {
|
|
|
2097
2297
|
"input-valid": boolean;
|
|
2098
2298
|
"value-change": string;
|
|
2099
2299
|
}
|
|
2100
|
-
interface HTMLMgInputRichTextEditorElement extends Components.MgInputRichTextEditor, HTMLStencilElement {
|
|
2300
|
+
interface HTMLMgInputRichTextEditorElement extends Omit<Components.MgInputRichTextEditor, "getHTML">, HTMLStencilElement {
|
|
2301
|
+
/**
|
|
2302
|
+
* Get editor content as HTML
|
|
2303
|
+
* @returns HTML content of the editor
|
|
2304
|
+
*/
|
|
2305
|
+
"getHTML": () => Promise<string>;
|
|
2101
2306
|
addEventListener<K extends keyof HTMLMgInputRichTextEditorElementEventMap>(type: K, listener: (this: HTMLMgInputRichTextEditorElement, ev: MgInputRichTextEditorCustomEvent<HTMLMgInputRichTextEditorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2102
2307
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2103
2308
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2433,10 +2638,12 @@ declare namespace LocalJSX {
|
|
|
2433
2638
|
interface MgActionMore {
|
|
2434
2639
|
/**
|
|
2435
2640
|
* Define button properties
|
|
2641
|
+
* @default { variant: 'flat', isIcon: true }
|
|
2436
2642
|
*/
|
|
2437
2643
|
"button"?: MgActionMoreButtonType;
|
|
2438
2644
|
/**
|
|
2439
2645
|
* Define if chevron is display
|
|
2646
|
+
* @default false
|
|
2440
2647
|
*/
|
|
2441
2648
|
"displayChevron"?: boolean;
|
|
2442
2649
|
/**
|
|
@@ -2467,10 +2674,12 @@ declare namespace LocalJSX {
|
|
|
2467
2674
|
"onComponent-show"?: (event: MgAlertCustomEvent<void>) => void;
|
|
2468
2675
|
/**
|
|
2469
2676
|
* Define variant
|
|
2677
|
+
* @default 'info'
|
|
2470
2678
|
*/
|
|
2471
2679
|
"variant"?: VariantType;
|
|
2472
2680
|
/**
|
|
2473
2681
|
* Define variant style
|
|
2682
|
+
* @default 'bar-left'
|
|
2474
2683
|
*/
|
|
2475
2684
|
"variantStyle"?: VariantStyleType;
|
|
2476
2685
|
}
|
|
@@ -2481,6 +2690,7 @@ declare namespace LocalJSX {
|
|
|
2481
2690
|
"label": string;
|
|
2482
2691
|
/**
|
|
2483
2692
|
* Define if button is using outline style
|
|
2693
|
+
* @default false
|
|
2484
2694
|
*/
|
|
2485
2695
|
"outline"?: boolean;
|
|
2486
2696
|
/**
|
|
@@ -2489,12 +2699,14 @@ declare namespace LocalJSX {
|
|
|
2489
2699
|
"value": string | number;
|
|
2490
2700
|
/**
|
|
2491
2701
|
* Define badge variant
|
|
2702
|
+
* @default 'info'
|
|
2492
2703
|
*/
|
|
2493
2704
|
"variant"?: BadgeVariantType;
|
|
2494
2705
|
}
|
|
2495
2706
|
interface MgButton {
|
|
2496
2707
|
/**
|
|
2497
2708
|
* 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.
|
|
2709
|
+
* @default false
|
|
2498
2710
|
*/
|
|
2499
2711
|
"disableOnClick"?: boolean;
|
|
2500
2712
|
/**
|
|
@@ -2507,10 +2719,12 @@ declare namespace LocalJSX {
|
|
|
2507
2719
|
"form"?: string;
|
|
2508
2720
|
/**
|
|
2509
2721
|
* Set button to full-width
|
|
2722
|
+
* @default false
|
|
2510
2723
|
*/
|
|
2511
2724
|
"fullWidth"?: boolean;
|
|
2512
2725
|
/**
|
|
2513
2726
|
* Define if button is round. Used for icon button.
|
|
2727
|
+
* @default false
|
|
2514
2728
|
*/
|
|
2515
2729
|
"isIcon"?: boolean;
|
|
2516
2730
|
/**
|
|
@@ -2523,6 +2737,7 @@ declare namespace LocalJSX {
|
|
|
2523
2737
|
"onDisabled-change"?: (event: MgButtonCustomEvent<HTMLMgButtonElement['disabled']>) => void;
|
|
2524
2738
|
/**
|
|
2525
2739
|
* Define button size
|
|
2740
|
+
* @default 'medium'
|
|
2526
2741
|
*/
|
|
2527
2742
|
"size"?: SizeType;
|
|
2528
2743
|
/**
|
|
@@ -2531,14 +2746,26 @@ declare namespace LocalJSX {
|
|
|
2531
2746
|
"type"?: ButtonType;
|
|
2532
2747
|
/**
|
|
2533
2748
|
* Define button variant
|
|
2749
|
+
* @default 'primary'
|
|
2534
2750
|
*/
|
|
2535
2751
|
"variant"?: VariantType1;
|
|
2536
2752
|
}
|
|
2537
2753
|
interface MgCard {
|
|
2754
|
+
/**
|
|
2755
|
+
* Define the border radius size
|
|
2756
|
+
* @default 'medium'
|
|
2757
|
+
*/
|
|
2758
|
+
"radiusSize"?: RadiusSizeType;
|
|
2759
|
+
/**
|
|
2760
|
+
* Add box-shadow style
|
|
2761
|
+
* @default false
|
|
2762
|
+
*/
|
|
2763
|
+
"shadow"?: boolean;
|
|
2538
2764
|
}
|
|
2539
2765
|
interface MgCharacterLeft {
|
|
2540
2766
|
/**
|
|
2541
2767
|
* Sets the characters to count
|
|
2768
|
+
* @default ''
|
|
2542
2769
|
*/
|
|
2543
2770
|
"characters"?: string;
|
|
2544
2771
|
/**
|
|
@@ -2553,10 +2780,12 @@ declare namespace LocalJSX {
|
|
|
2553
2780
|
interface MgDetails {
|
|
2554
2781
|
/**
|
|
2555
2782
|
* Define if details are diplayed
|
|
2783
|
+
* @default false
|
|
2556
2784
|
*/
|
|
2557
2785
|
"expanded"?: boolean;
|
|
2558
2786
|
/**
|
|
2559
2787
|
* Hide summary element
|
|
2788
|
+
* @default false
|
|
2560
2789
|
*/
|
|
2561
2790
|
"hideSummary"?: boolean;
|
|
2562
2791
|
/**
|
|
@@ -2575,6 +2804,7 @@ declare namespace LocalJSX {
|
|
|
2575
2804
|
interface MgDivider {
|
|
2576
2805
|
/**
|
|
2577
2806
|
* Define component size
|
|
2807
|
+
* @default false
|
|
2578
2808
|
*/
|
|
2579
2809
|
"fullWidth"?: boolean;
|
|
2580
2810
|
}
|
|
@@ -2585,10 +2815,12 @@ declare namespace LocalJSX {
|
|
|
2585
2815
|
"ariaRole"?: AriaRoleType;
|
|
2586
2816
|
/**
|
|
2587
2817
|
* Define if form is disabled
|
|
2818
|
+
* @default false
|
|
2588
2819
|
*/
|
|
2589
2820
|
"disabled"?: boolean;
|
|
2590
2821
|
/**
|
|
2591
2822
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
2823
|
+
* @default createID('mg-form')
|
|
2592
2824
|
*/
|
|
2593
2825
|
"identifier"?: string;
|
|
2594
2826
|
/**
|
|
@@ -2597,10 +2829,12 @@ declare namespace LocalJSX {
|
|
|
2597
2829
|
"invalid"?: boolean;
|
|
2598
2830
|
/**
|
|
2599
2831
|
* Define if slotted mg-component's label are displayed on top
|
|
2832
|
+
* @default false
|
|
2600
2833
|
*/
|
|
2601
2834
|
"labelOnTop"?: boolean;
|
|
2602
2835
|
/**
|
|
2603
2836
|
* Input name If not set the value equals the identifier
|
|
2837
|
+
* @default this.identifier
|
|
2604
2838
|
*/
|
|
2605
2839
|
"name"?: string;
|
|
2606
2840
|
/**
|
|
@@ -2617,6 +2851,7 @@ declare namespace LocalJSX {
|
|
|
2617
2851
|
"onForm-valid"?: (event: MgFormCustomEvent<HTMLMgFormElement['valid']>) => void;
|
|
2618
2852
|
/**
|
|
2619
2853
|
* Define if form is readonly
|
|
2854
|
+
* @default false
|
|
2620
2855
|
*/
|
|
2621
2856
|
"readonly"?: boolean;
|
|
2622
2857
|
/**
|
|
@@ -2635,10 +2870,12 @@ declare namespace LocalJSX {
|
|
|
2635
2870
|
"icon": IconType;
|
|
2636
2871
|
/**
|
|
2637
2872
|
* Define icon size
|
|
2873
|
+
* @default 'medium'
|
|
2638
2874
|
*/
|
|
2639
2875
|
"size"?: IconSizeType;
|
|
2640
2876
|
/**
|
|
2641
2877
|
* Make the icon spin
|
|
2878
|
+
* @default false
|
|
2642
2879
|
*/
|
|
2643
2880
|
"spin"?: boolean;
|
|
2644
2881
|
/**
|
|
@@ -2653,18 +2890,21 @@ declare namespace LocalJSX {
|
|
|
2653
2890
|
interface MgIllustratedMessage {
|
|
2654
2891
|
/**
|
|
2655
2892
|
* Define component orientation
|
|
2893
|
+
* @default 'vertical'
|
|
2656
2894
|
*/
|
|
2657
2895
|
"direction"?: IllustratedMessageDirectionType;
|
|
2658
2896
|
/**
|
|
2659
2897
|
* Define illustration size
|
|
2898
|
+
* @default 'medium'
|
|
2660
2899
|
*/
|
|
2661
2900
|
"size"?: IllustratedMessageSizeType;
|
|
2662
2901
|
}
|
|
2663
2902
|
interface MgInput {
|
|
2664
2903
|
/**
|
|
2665
2904
|
* Define aria-describedby ids to link with
|
|
2905
|
+
* @default []
|
|
2666
2906
|
*/
|
|
2667
|
-
"ariaDescribedbyIDs"?: string[];
|
|
2907
|
+
"ariaDescribedbyIDs"?: string[] | string;
|
|
2668
2908
|
/**
|
|
2669
2909
|
* Define error message to display
|
|
2670
2910
|
*/
|
|
@@ -2683,14 +2923,17 @@ declare namespace LocalJSX {
|
|
|
2683
2923
|
"label": string;
|
|
2684
2924
|
/**
|
|
2685
2925
|
* Define if label is visible
|
|
2926
|
+
* @default false
|
|
2686
2927
|
*/
|
|
2687
2928
|
"labelHide"?: boolean;
|
|
2688
2929
|
/**
|
|
2689
2930
|
* Define if label is displayed on top
|
|
2931
|
+
* @default false
|
|
2690
2932
|
*/
|
|
2691
2933
|
"labelOnTop"?: boolean;
|
|
2692
2934
|
/**
|
|
2693
2935
|
* Define if input is required
|
|
2936
|
+
* @default false
|
|
2694
2937
|
*/
|
|
2695
2938
|
"required"?: boolean;
|
|
2696
2939
|
/**
|
|
@@ -2699,16 +2942,19 @@ declare namespace LocalJSX {
|
|
|
2699
2942
|
"tooltip"?: string;
|
|
2700
2943
|
/**
|
|
2701
2944
|
* Define tooltip position
|
|
2945
|
+
* @default 'input'
|
|
2702
2946
|
*/
|
|
2703
2947
|
"tooltipPosition"?: TooltipPosition;
|
|
2704
2948
|
}
|
|
2705
2949
|
interface MgInputCheckbox {
|
|
2706
2950
|
/**
|
|
2707
2951
|
* Define if input is disabled
|
|
2952
|
+
* @default false
|
|
2708
2953
|
*/
|
|
2709
2954
|
"disabled"?: boolean;
|
|
2710
2955
|
/**
|
|
2711
2956
|
* 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.
|
|
2957
|
+
* @default false
|
|
2712
2958
|
*/
|
|
2713
2959
|
"displaySelectedValues"?: boolean;
|
|
2714
2960
|
/**
|
|
@@ -2725,6 +2971,7 @@ declare namespace LocalJSX {
|
|
|
2725
2971
|
"identifier": string;
|
|
2726
2972
|
/**
|
|
2727
2973
|
* Define if inputs are display verticaly
|
|
2974
|
+
* @default false
|
|
2728
2975
|
*/
|
|
2729
2976
|
"inputVerticalList"?: boolean;
|
|
2730
2977
|
/**
|
|
@@ -2737,14 +2984,17 @@ declare namespace LocalJSX {
|
|
|
2737
2984
|
"label": string;
|
|
2738
2985
|
/**
|
|
2739
2986
|
* Define if label is visible
|
|
2987
|
+
* @default false
|
|
2740
2988
|
*/
|
|
2741
2989
|
"labelHide"?: boolean;
|
|
2742
2990
|
/**
|
|
2743
2991
|
* Define if label is displayed on top
|
|
2992
|
+
* @default false
|
|
2744
2993
|
*/
|
|
2745
2994
|
"labelOnTop"?: boolean;
|
|
2746
2995
|
/**
|
|
2747
2996
|
* Define input name If not set the value equals the identifier
|
|
2997
|
+
* @default this.identifier
|
|
2748
2998
|
*/
|
|
2749
2999
|
"name"?: string;
|
|
2750
3000
|
/**
|
|
@@ -2757,10 +3007,12 @@ declare namespace LocalJSX {
|
|
|
2757
3007
|
"onValue-change"?: (event: MgInputCheckboxCustomEvent<HTMLMgInputCheckboxElement['value']>) => void;
|
|
2758
3008
|
/**
|
|
2759
3009
|
* Define if mg-input-checkbox is readonly
|
|
3010
|
+
* @default false
|
|
2760
3011
|
*/
|
|
2761
3012
|
"readonly"?: boolean;
|
|
2762
3013
|
/**
|
|
2763
3014
|
* Define if mg-input-checkbox is required
|
|
3015
|
+
* @default false
|
|
2764
3016
|
*/
|
|
2765
3017
|
"required"?: boolean;
|
|
2766
3018
|
/**
|
|
@@ -2777,6 +3029,7 @@ declare namespace LocalJSX {
|
|
|
2777
3029
|
"tooltip"?: string;
|
|
2778
3030
|
/**
|
|
2779
3031
|
* Define tooltip position
|
|
3032
|
+
* @default 'input'
|
|
2780
3033
|
*/
|
|
2781
3034
|
"tooltipPosition"?: TooltipPosition;
|
|
2782
3035
|
/**
|
|
@@ -2798,14 +3051,17 @@ declare namespace LocalJSX {
|
|
|
2798
3051
|
interface MgInputCheckboxPaginated {
|
|
2799
3052
|
/**
|
|
2800
3053
|
* Define checkboxes to paginate
|
|
3054
|
+
* @default []
|
|
2801
3055
|
*/
|
|
2802
3056
|
"checkboxes"?: CheckboxItem[];
|
|
2803
3057
|
/**
|
|
2804
3058
|
* Current page
|
|
3059
|
+
* @default 1
|
|
2805
3060
|
*/
|
|
2806
3061
|
"currentPage"?: number;
|
|
2807
3062
|
/**
|
|
2808
3063
|
* Define if mg-input-checkbox-list is disabled
|
|
3064
|
+
* @default false
|
|
2809
3065
|
*/
|
|
2810
3066
|
"disabled"?: boolean;
|
|
2811
3067
|
/**
|
|
@@ -2826,12 +3082,14 @@ declare namespace LocalJSX {
|
|
|
2826
3082
|
"onMass-action"?: (event: MgInputCheckboxPaginatedCustomEvent<SectionKindType>) => void;
|
|
2827
3083
|
/**
|
|
2828
3084
|
* Define if mg-input-checkbox-list is readonly
|
|
3085
|
+
* @default false
|
|
2829
3086
|
*/
|
|
2830
3087
|
"readonly"?: boolean;
|
|
2831
3088
|
}
|
|
2832
3089
|
interface MgInputCombobox {
|
|
2833
3090
|
/**
|
|
2834
3091
|
* Define if input is disabled
|
|
3092
|
+
* @default false
|
|
2835
3093
|
*/
|
|
2836
3094
|
"disabled"?: boolean;
|
|
2837
3095
|
/**
|
|
@@ -2877,18 +3135,22 @@ declare namespace LocalJSX {
|
|
|
2877
3135
|
"label": string;
|
|
2878
3136
|
/**
|
|
2879
3137
|
* Define if label is visible
|
|
3138
|
+
* @default false
|
|
2880
3139
|
*/
|
|
2881
3140
|
"labelHide"?: boolean;
|
|
2882
3141
|
/**
|
|
2883
3142
|
* Define if label is displayed on top
|
|
3143
|
+
* @default false
|
|
2884
3144
|
*/
|
|
2885
3145
|
"labelOnTop"?: boolean;
|
|
2886
3146
|
/**
|
|
2887
3147
|
* Define input width
|
|
3148
|
+
* @default 'full'
|
|
2888
3149
|
*/
|
|
2889
3150
|
"mgWidth"?: Width;
|
|
2890
3151
|
/**
|
|
2891
3152
|
* Input name If not set the value equals the identifier
|
|
3153
|
+
* @default this.identifier
|
|
2892
3154
|
*/
|
|
2893
3155
|
"name"?: string;
|
|
2894
3156
|
/**
|
|
@@ -2917,10 +3179,12 @@ declare namespace LocalJSX {
|
|
|
2917
3179
|
"placeholder"?: string;
|
|
2918
3180
|
/**
|
|
2919
3181
|
* Define if input is readonly
|
|
3182
|
+
* @default false
|
|
2920
3183
|
*/
|
|
2921
3184
|
"readonly"?: boolean;
|
|
2922
3185
|
/**
|
|
2923
3186
|
* Define if input is required
|
|
3187
|
+
* @default false
|
|
2924
3188
|
*/
|
|
2925
3189
|
"required"?: boolean;
|
|
2926
3190
|
/**
|
|
@@ -2929,6 +3193,7 @@ declare namespace LocalJSX {
|
|
|
2929
3193
|
"tooltip"?: string;
|
|
2930
3194
|
/**
|
|
2931
3195
|
* Define tooltip position
|
|
3196
|
+
* @default 'input'
|
|
2932
3197
|
*/
|
|
2933
3198
|
"tooltipPosition"?: TooltipPosition;
|
|
2934
3199
|
/**
|
|
@@ -2943,6 +3208,7 @@ declare namespace LocalJSX {
|
|
|
2943
3208
|
interface MgInputDate {
|
|
2944
3209
|
/**
|
|
2945
3210
|
* Define if input is disabled
|
|
3211
|
+
* @default false
|
|
2946
3212
|
*/
|
|
2947
3213
|
"disabled"?: boolean;
|
|
2948
3214
|
/**
|
|
@@ -2963,14 +3229,17 @@ declare namespace LocalJSX {
|
|
|
2963
3229
|
"label": string;
|
|
2964
3230
|
/**
|
|
2965
3231
|
* Define if label is visible
|
|
3232
|
+
* @default false
|
|
2966
3233
|
*/
|
|
2967
3234
|
"labelHide"?: boolean;
|
|
2968
3235
|
/**
|
|
2969
3236
|
* Define if label is displayed on top
|
|
3237
|
+
* @default false
|
|
2970
3238
|
*/
|
|
2971
3239
|
"labelOnTop"?: boolean;
|
|
2972
3240
|
/**
|
|
2973
3241
|
* Define input maximum date format: yyyy-mm-dd
|
|
3242
|
+
* @default '9999-12-31'
|
|
2974
3243
|
*/
|
|
2975
3244
|
"max"?: string;
|
|
2976
3245
|
/**
|
|
@@ -2979,6 +3248,7 @@ declare namespace LocalJSX {
|
|
|
2979
3248
|
"min"?: string;
|
|
2980
3249
|
/**
|
|
2981
3250
|
* Input name If not set the value equals the identifier
|
|
3251
|
+
* @default this.identifier
|
|
2982
3252
|
*/
|
|
2983
3253
|
"name"?: string;
|
|
2984
3254
|
/**
|
|
@@ -2991,10 +3261,12 @@ declare namespace LocalJSX {
|
|
|
2991
3261
|
"onValue-change"?: (event: MgInputDateCustomEvent<HTMLMgInputDateElement['value']>) => void;
|
|
2992
3262
|
/**
|
|
2993
3263
|
* Define if input is readonly
|
|
3264
|
+
* @default false
|
|
2994
3265
|
*/
|
|
2995
3266
|
"readonly"?: boolean;
|
|
2996
3267
|
/**
|
|
2997
3268
|
* Define if input is required
|
|
3269
|
+
* @default false
|
|
2998
3270
|
*/
|
|
2999
3271
|
"required"?: boolean;
|
|
3000
3272
|
/**
|
|
@@ -3003,6 +3275,7 @@ declare namespace LocalJSX {
|
|
|
3003
3275
|
"tooltip"?: string;
|
|
3004
3276
|
/**
|
|
3005
3277
|
* Define tooltip position
|
|
3278
|
+
* @default 'input'
|
|
3006
3279
|
*/
|
|
3007
3280
|
"tooltipPosition"?: TooltipPosition;
|
|
3008
3281
|
/**
|
|
@@ -3017,18 +3290,22 @@ declare namespace LocalJSX {
|
|
|
3017
3290
|
interface MgInputNumeric {
|
|
3018
3291
|
/**
|
|
3019
3292
|
* Define currency
|
|
3293
|
+
* @default 'EUR'
|
|
3020
3294
|
*/
|
|
3021
3295
|
"currency"?: string;
|
|
3022
3296
|
/**
|
|
3023
3297
|
* Override decimal length decimal is the number after the decimal point
|
|
3298
|
+
* @default 2
|
|
3024
3299
|
*/
|
|
3025
3300
|
"decimalLength"?: number;
|
|
3026
3301
|
/**
|
|
3027
3302
|
* Define if input is disabled
|
|
3303
|
+
* @default false
|
|
3028
3304
|
*/
|
|
3029
3305
|
"disabled"?: boolean;
|
|
3030
3306
|
/**
|
|
3031
3307
|
* Set local formatting. Numbers are formatted based on the locale.
|
|
3308
|
+
* @default 'number'
|
|
3032
3309
|
*/
|
|
3033
3310
|
"format"?: Format;
|
|
3034
3311
|
/**
|
|
@@ -3041,6 +3318,7 @@ declare namespace LocalJSX {
|
|
|
3041
3318
|
"identifier": string;
|
|
3042
3319
|
/**
|
|
3043
3320
|
* Override integer length integer is the number before the decimal point
|
|
3321
|
+
* @default 13
|
|
3044
3322
|
*/
|
|
3045
3323
|
"integerLength"?: number;
|
|
3046
3324
|
/**
|
|
@@ -3053,10 +3331,12 @@ declare namespace LocalJSX {
|
|
|
3053
3331
|
"label": string;
|
|
3054
3332
|
/**
|
|
3055
3333
|
* Define if label is visible
|
|
3334
|
+
* @default false
|
|
3056
3335
|
*/
|
|
3057
3336
|
"labelHide"?: boolean;
|
|
3058
3337
|
/**
|
|
3059
3338
|
* Define if label is displayed on top
|
|
3339
|
+
* @default false
|
|
3060
3340
|
*/
|
|
3061
3341
|
"labelOnTop"?: boolean;
|
|
3062
3342
|
/**
|
|
@@ -3073,6 +3353,7 @@ declare namespace LocalJSX {
|
|
|
3073
3353
|
"min"?: number;
|
|
3074
3354
|
/**
|
|
3075
3355
|
* Input name If not set the value equals the identifier
|
|
3356
|
+
* @default this.identifier
|
|
3076
3357
|
*/
|
|
3077
3358
|
"name"?: string;
|
|
3078
3359
|
/**
|
|
@@ -3089,10 +3370,12 @@ declare namespace LocalJSX {
|
|
|
3089
3370
|
"placeholder"?: string;
|
|
3090
3371
|
/**
|
|
3091
3372
|
* Define if input is readonly
|
|
3373
|
+
* @default false
|
|
3092
3374
|
*/
|
|
3093
3375
|
"readonly"?: boolean;
|
|
3094
3376
|
/**
|
|
3095
3377
|
* Define if input is required
|
|
3378
|
+
* @default false
|
|
3096
3379
|
*/
|
|
3097
3380
|
"required"?: boolean;
|
|
3098
3381
|
/**
|
|
@@ -3101,10 +3384,12 @@ declare namespace LocalJSX {
|
|
|
3101
3384
|
"tooltip"?: string;
|
|
3102
3385
|
/**
|
|
3103
3386
|
* Define tooltip position
|
|
3387
|
+
* @default 'input'
|
|
3104
3388
|
*/
|
|
3105
3389
|
"tooltipPosition"?: TooltipPosition;
|
|
3106
3390
|
/**
|
|
3107
3391
|
* Define numeric type
|
|
3392
|
+
* @default 'decimal'
|
|
3108
3393
|
*/
|
|
3109
3394
|
"type"?: NumericType;
|
|
3110
3395
|
/**
|
|
@@ -3113,6 +3398,7 @@ declare namespace LocalJSX {
|
|
|
3113
3398
|
"unit"?: Intl.NumberFormatOptions['unit'];
|
|
3114
3399
|
/**
|
|
3115
3400
|
* Define unit display format ('short', 'long', 'narrow')
|
|
3401
|
+
* @default 'short'
|
|
3116
3402
|
*/
|
|
3117
3403
|
"unitDisplay"?: Intl.NumberFormatOptions['unitDisplay'];
|
|
3118
3404
|
/**
|
|
@@ -3127,6 +3413,7 @@ declare namespace LocalJSX {
|
|
|
3127
3413
|
interface MgInputPassword {
|
|
3128
3414
|
/**
|
|
3129
3415
|
* Define if input is disabled
|
|
3416
|
+
* @default false
|
|
3130
3417
|
*/
|
|
3131
3418
|
"disabled"?: boolean;
|
|
3132
3419
|
/**
|
|
@@ -3147,10 +3434,12 @@ declare namespace LocalJSX {
|
|
|
3147
3434
|
"label": string;
|
|
3148
3435
|
/**
|
|
3149
3436
|
* Define if label is visible
|
|
3437
|
+
* @default false
|
|
3150
3438
|
*/
|
|
3151
3439
|
"labelHide"?: boolean;
|
|
3152
3440
|
/**
|
|
3153
3441
|
* Define if label is displayed on top
|
|
3442
|
+
* @default false
|
|
3154
3443
|
*/
|
|
3155
3444
|
"labelOnTop"?: boolean;
|
|
3156
3445
|
/**
|
|
@@ -3159,10 +3448,12 @@ declare namespace LocalJSX {
|
|
|
3159
3448
|
"maxlength"?: number;
|
|
3160
3449
|
/**
|
|
3161
3450
|
* Define input width
|
|
3451
|
+
* @default 'full'
|
|
3162
3452
|
*/
|
|
3163
3453
|
"mgWidth"?: Width;
|
|
3164
3454
|
/**
|
|
3165
3455
|
* Input name If not set the value equals the identifier
|
|
3456
|
+
* @default this.identifier
|
|
3166
3457
|
*/
|
|
3167
3458
|
"name"?: string;
|
|
3168
3459
|
/**
|
|
@@ -3179,10 +3470,12 @@ declare namespace LocalJSX {
|
|
|
3179
3470
|
"placeholder"?: string;
|
|
3180
3471
|
/**
|
|
3181
3472
|
* Define if input is readonly
|
|
3473
|
+
* @default false
|
|
3182
3474
|
*/
|
|
3183
3475
|
"readonly"?: boolean;
|
|
3184
3476
|
/**
|
|
3185
3477
|
* Define if input is required
|
|
3478
|
+
* @default false
|
|
3186
3479
|
*/
|
|
3187
3480
|
"required"?: boolean;
|
|
3188
3481
|
/**
|
|
@@ -3191,6 +3484,7 @@ declare namespace LocalJSX {
|
|
|
3191
3484
|
"tooltip"?: string;
|
|
3192
3485
|
/**
|
|
3193
3486
|
* Define tooltip position
|
|
3487
|
+
* @default 'input'
|
|
3194
3488
|
*/
|
|
3195
3489
|
"tooltipPosition"?: TooltipPosition;
|
|
3196
3490
|
/**
|
|
@@ -3205,6 +3499,7 @@ declare namespace LocalJSX {
|
|
|
3205
3499
|
interface MgInputRadio {
|
|
3206
3500
|
/**
|
|
3207
3501
|
* Define if input is disabled
|
|
3502
|
+
* @default false
|
|
3208
3503
|
*/
|
|
3209
3504
|
"disabled"?: boolean;
|
|
3210
3505
|
/**
|
|
@@ -3217,6 +3512,7 @@ declare namespace LocalJSX {
|
|
|
3217
3512
|
"identifier": string;
|
|
3218
3513
|
/**
|
|
3219
3514
|
* Define if inputs are display verticaly
|
|
3515
|
+
* @default false
|
|
3220
3516
|
*/
|
|
3221
3517
|
"inputVerticalList"?: boolean;
|
|
3222
3518
|
/**
|
|
@@ -3233,14 +3529,17 @@ declare namespace LocalJSX {
|
|
|
3233
3529
|
"label": string;
|
|
3234
3530
|
/**
|
|
3235
3531
|
* Define if label is visible
|
|
3532
|
+
* @default false
|
|
3236
3533
|
*/
|
|
3237
3534
|
"labelHide"?: boolean;
|
|
3238
3535
|
/**
|
|
3239
3536
|
* Define if label is displayed on top
|
|
3537
|
+
* @default false
|
|
3240
3538
|
*/
|
|
3241
3539
|
"labelOnTop"?: boolean;
|
|
3242
3540
|
/**
|
|
3243
3541
|
* Input name If not set the value equals the identifier
|
|
3542
|
+
* @default this.identifier
|
|
3244
3543
|
*/
|
|
3245
3544
|
"name"?: string;
|
|
3246
3545
|
/**
|
|
@@ -3253,10 +3552,12 @@ declare namespace LocalJSX {
|
|
|
3253
3552
|
"onValue-change"?: (event: MgInputRadioCustomEvent<HTMLMgInputRadioElement['value']>) => void;
|
|
3254
3553
|
/**
|
|
3255
3554
|
* Define if input is readonly
|
|
3555
|
+
* @default false
|
|
3256
3556
|
*/
|
|
3257
3557
|
"readonly"?: boolean;
|
|
3258
3558
|
/**
|
|
3259
3559
|
* Define if input is required
|
|
3560
|
+
* @default false
|
|
3260
3561
|
*/
|
|
3261
3562
|
"required"?: boolean;
|
|
3262
3563
|
/**
|
|
@@ -3265,6 +3566,7 @@ declare namespace LocalJSX {
|
|
|
3265
3566
|
"tooltip"?: string;
|
|
3266
3567
|
/**
|
|
3267
3568
|
* Define tooltip position
|
|
3569
|
+
* @default 'input'
|
|
3268
3570
|
*/
|
|
3269
3571
|
"tooltipPosition"?: TooltipPosition;
|
|
3270
3572
|
/**
|
|
@@ -3279,6 +3581,7 @@ declare namespace LocalJSX {
|
|
|
3279
3581
|
interface MgInputRichTextEditor {
|
|
3280
3582
|
/**
|
|
3281
3583
|
* Define if input is disabled
|
|
3584
|
+
* @default false
|
|
3282
3585
|
*/
|
|
3283
3586
|
"disabled"?: boolean;
|
|
3284
3587
|
/**
|
|
@@ -3299,10 +3602,12 @@ declare namespace LocalJSX {
|
|
|
3299
3602
|
"label": string;
|
|
3300
3603
|
/**
|
|
3301
3604
|
* Define if label is visible
|
|
3605
|
+
* @default false
|
|
3302
3606
|
*/
|
|
3303
3607
|
"labelHide"?: boolean;
|
|
3304
3608
|
/**
|
|
3305
3609
|
* Define if label is displayed on top
|
|
3610
|
+
* @default false
|
|
3306
3611
|
*/
|
|
3307
3612
|
"labelOnTop"?: boolean;
|
|
3308
3613
|
/**
|
|
@@ -3331,14 +3636,17 @@ declare namespace LocalJSX {
|
|
|
3331
3636
|
"placeholder"?: string;
|
|
3332
3637
|
/**
|
|
3333
3638
|
* Define if the editor is readonly
|
|
3639
|
+
* @default false
|
|
3334
3640
|
*/
|
|
3335
3641
|
"readonly"?: boolean;
|
|
3336
3642
|
/**
|
|
3337
3643
|
* Define if input is required
|
|
3644
|
+
* @default false
|
|
3338
3645
|
*/
|
|
3339
3646
|
"required"?: boolean;
|
|
3340
3647
|
/**
|
|
3341
3648
|
* Define the number of visible text lines for the control
|
|
3649
|
+
* @default 5
|
|
3342
3650
|
*/
|
|
3343
3651
|
"rows"?: number;
|
|
3344
3652
|
/**
|
|
@@ -3347,6 +3655,7 @@ declare namespace LocalJSX {
|
|
|
3347
3655
|
"tooltip"?: string;
|
|
3348
3656
|
/**
|
|
3349
3657
|
* Define tooltip position
|
|
3658
|
+
* @default 'input'
|
|
3350
3659
|
*/
|
|
3351
3660
|
"tooltipPosition"?: TooltipPosition;
|
|
3352
3661
|
/**
|
|
@@ -3355,12 +3664,14 @@ declare namespace LocalJSX {
|
|
|
3355
3664
|
"valid"?: boolean;
|
|
3356
3665
|
/**
|
|
3357
3666
|
* Define the value of the editor Can be either HTML string or plain text
|
|
3667
|
+
* @default ''
|
|
3358
3668
|
*/
|
|
3359
3669
|
"value"?: string;
|
|
3360
3670
|
}
|
|
3361
3671
|
interface MgInputSelect {
|
|
3362
3672
|
/**
|
|
3363
3673
|
* Define if input is disabled
|
|
3674
|
+
* @default false
|
|
3364
3675
|
*/
|
|
3365
3676
|
"disabled"?: boolean;
|
|
3366
3677
|
/**
|
|
@@ -3385,10 +3696,12 @@ declare namespace LocalJSX {
|
|
|
3385
3696
|
"label": string;
|
|
3386
3697
|
/**
|
|
3387
3698
|
* Define if label is visible
|
|
3699
|
+
* @default false
|
|
3388
3700
|
*/
|
|
3389
3701
|
"labelHide"?: boolean;
|
|
3390
3702
|
/**
|
|
3391
3703
|
* Define if label is displayed on top
|
|
3704
|
+
* @default false
|
|
3392
3705
|
*/
|
|
3393
3706
|
"labelOnTop"?: boolean;
|
|
3394
3707
|
/**
|
|
@@ -3397,6 +3710,7 @@ declare namespace LocalJSX {
|
|
|
3397
3710
|
"mgWidth"?: Width;
|
|
3398
3711
|
/**
|
|
3399
3712
|
* Input name If not set the value equals the identifier
|
|
3713
|
+
* @default this.identifier
|
|
3400
3714
|
*/
|
|
3401
3715
|
"name"?: string;
|
|
3402
3716
|
/**
|
|
@@ -3413,18 +3727,22 @@ declare namespace LocalJSX {
|
|
|
3413
3727
|
"placeholder"?: string;
|
|
3414
3728
|
/**
|
|
3415
3729
|
* Option to disable placeholder
|
|
3730
|
+
* @default false
|
|
3416
3731
|
*/
|
|
3417
3732
|
"placeholderDisabled"?: boolean;
|
|
3418
3733
|
/**
|
|
3419
3734
|
* Option to remove placeholder
|
|
3735
|
+
* @default false
|
|
3420
3736
|
*/
|
|
3421
3737
|
"placeholderHide"?: boolean;
|
|
3422
3738
|
/**
|
|
3423
3739
|
* Define if input is readonly
|
|
3740
|
+
* @default false
|
|
3424
3741
|
*/
|
|
3425
3742
|
"readonly"?: boolean;
|
|
3426
3743
|
/**
|
|
3427
3744
|
* Define if input is required
|
|
3745
|
+
* @default false
|
|
3428
3746
|
*/
|
|
3429
3747
|
"required"?: boolean;
|
|
3430
3748
|
/**
|
|
@@ -3433,6 +3751,7 @@ declare namespace LocalJSX {
|
|
|
3433
3751
|
"tooltip"?: string;
|
|
3434
3752
|
/**
|
|
3435
3753
|
* Define tooltip position
|
|
3754
|
+
* @default 'input'
|
|
3436
3755
|
*/
|
|
3437
3756
|
"tooltipPosition"?: TooltipPosition;
|
|
3438
3757
|
/**
|
|
@@ -3447,6 +3766,7 @@ declare namespace LocalJSX {
|
|
|
3447
3766
|
interface MgInputText {
|
|
3448
3767
|
/**
|
|
3449
3768
|
* Define if component should display character left
|
|
3769
|
+
* @default false
|
|
3450
3770
|
*/
|
|
3451
3771
|
"characterLeftHide"?: boolean;
|
|
3452
3772
|
/**
|
|
@@ -3455,6 +3775,7 @@ declare namespace LocalJSX {
|
|
|
3455
3775
|
"datalistoptions"?: string[] | OptionType[];
|
|
3456
3776
|
/**
|
|
3457
3777
|
* Define if input is disabled
|
|
3778
|
+
* @default false
|
|
3458
3779
|
*/
|
|
3459
3780
|
"disabled"?: boolean;
|
|
3460
3781
|
/**
|
|
@@ -3479,22 +3800,27 @@ declare namespace LocalJSX {
|
|
|
3479
3800
|
"label": string;
|
|
3480
3801
|
/**
|
|
3481
3802
|
* Define if label is visible
|
|
3803
|
+
* @default false
|
|
3482
3804
|
*/
|
|
3483
3805
|
"labelHide"?: boolean;
|
|
3484
3806
|
/**
|
|
3485
3807
|
* Define if label is displayed on top
|
|
3808
|
+
* @default false
|
|
3486
3809
|
*/
|
|
3487
3810
|
"labelOnTop"?: boolean;
|
|
3488
3811
|
/**
|
|
3489
3812
|
* Input max length
|
|
3813
|
+
* @default 400
|
|
3490
3814
|
*/
|
|
3491
3815
|
"maxlength"?: number;
|
|
3492
3816
|
/**
|
|
3493
3817
|
* Define input width
|
|
3818
|
+
* @default 'full'
|
|
3494
3819
|
*/
|
|
3495
3820
|
"mgWidth"?: Width;
|
|
3496
3821
|
/**
|
|
3497
3822
|
* Input name If not set the value equals the identifier
|
|
3823
|
+
* @default this.identifier
|
|
3498
3824
|
*/
|
|
3499
3825
|
"name"?: string;
|
|
3500
3826
|
/**
|
|
@@ -3519,10 +3845,12 @@ declare namespace LocalJSX {
|
|
|
3519
3845
|
"placeholder"?: string;
|
|
3520
3846
|
/**
|
|
3521
3847
|
* Define if input is readonly
|
|
3848
|
+
* @default false
|
|
3522
3849
|
*/
|
|
3523
3850
|
"readonly"?: boolean;
|
|
3524
3851
|
/**
|
|
3525
3852
|
* Define if input is required
|
|
3853
|
+
* @default false
|
|
3526
3854
|
*/
|
|
3527
3855
|
"required"?: boolean;
|
|
3528
3856
|
/**
|
|
@@ -3531,10 +3859,12 @@ declare namespace LocalJSX {
|
|
|
3531
3859
|
"tooltip"?: string;
|
|
3532
3860
|
/**
|
|
3533
3861
|
* Define tooltip position
|
|
3862
|
+
* @default 'input'
|
|
3534
3863
|
*/
|
|
3535
3864
|
"tooltipPosition"?: TooltipPosition;
|
|
3536
3865
|
/**
|
|
3537
3866
|
* Input type
|
|
3867
|
+
* @default 'text'
|
|
3538
3868
|
*/
|
|
3539
3869
|
"type"?: TextType;
|
|
3540
3870
|
/**
|
|
@@ -3549,10 +3879,12 @@ declare namespace LocalJSX {
|
|
|
3549
3879
|
interface MgInputTextarea {
|
|
3550
3880
|
/**
|
|
3551
3881
|
* Define if component should display character left
|
|
3882
|
+
* @default false
|
|
3552
3883
|
*/
|
|
3553
3884
|
"characterLeftHide"?: boolean;
|
|
3554
3885
|
/**
|
|
3555
3886
|
* Define if input is disabled
|
|
3887
|
+
* @default false
|
|
3556
3888
|
*/
|
|
3557
3889
|
"disabled"?: boolean;
|
|
3558
3890
|
/**
|
|
@@ -3573,22 +3905,27 @@ declare namespace LocalJSX {
|
|
|
3573
3905
|
"label": string;
|
|
3574
3906
|
/**
|
|
3575
3907
|
* Define if label is visible
|
|
3908
|
+
* @default false
|
|
3576
3909
|
*/
|
|
3577
3910
|
"labelHide"?: boolean;
|
|
3578
3911
|
/**
|
|
3579
3912
|
* Define if label is displayed on top
|
|
3913
|
+
* @default false
|
|
3580
3914
|
*/
|
|
3581
3915
|
"labelOnTop"?: boolean;
|
|
3582
3916
|
/**
|
|
3583
3917
|
* Input max length
|
|
3918
|
+
* @default 4000
|
|
3584
3919
|
*/
|
|
3585
3920
|
"maxlength"?: number;
|
|
3586
3921
|
/**
|
|
3587
3922
|
* Define input width
|
|
3923
|
+
* @default 'full'
|
|
3588
3924
|
*/
|
|
3589
3925
|
"mgWidth"?: Width;
|
|
3590
3926
|
/**
|
|
3591
3927
|
* Input name If not set the value equals the identifier
|
|
3928
|
+
* @default this.identifier
|
|
3592
3929
|
*/
|
|
3593
3930
|
"name"?: string;
|
|
3594
3931
|
/**
|
|
@@ -3613,18 +3950,22 @@ declare namespace LocalJSX {
|
|
|
3613
3950
|
"placeholder"?: string;
|
|
3614
3951
|
/**
|
|
3615
3952
|
* Define if input is readonly
|
|
3953
|
+
* @default false
|
|
3616
3954
|
*/
|
|
3617
3955
|
"readonly"?: boolean;
|
|
3618
3956
|
/**
|
|
3619
3957
|
* Define if input is required
|
|
3958
|
+
* @default false
|
|
3620
3959
|
*/
|
|
3621
3960
|
"required"?: boolean;
|
|
3622
3961
|
/**
|
|
3623
3962
|
* Define if input is resizable
|
|
3963
|
+
* @default 'none'
|
|
3624
3964
|
*/
|
|
3625
3965
|
"resizable"?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
3626
3966
|
/**
|
|
3627
3967
|
* Define the number of visible text lines for the control
|
|
3968
|
+
* @default 3
|
|
3628
3969
|
*/
|
|
3629
3970
|
"rows"?: number;
|
|
3630
3971
|
/**
|
|
@@ -3633,6 +3974,7 @@ declare namespace LocalJSX {
|
|
|
3633
3974
|
"tooltip"?: string;
|
|
3634
3975
|
/**
|
|
3635
3976
|
* Define tooltip position
|
|
3977
|
+
* @default 'input'
|
|
3636
3978
|
*/
|
|
3637
3979
|
"tooltipPosition"?: TooltipPosition;
|
|
3638
3980
|
/**
|
|
@@ -3651,6 +3993,7 @@ declare namespace LocalJSX {
|
|
|
3651
3993
|
"identifier": string;
|
|
3652
3994
|
/**
|
|
3653
3995
|
* Switch from label to fieldset sementic
|
|
3996
|
+
* @default false
|
|
3654
3997
|
*/
|
|
3655
3998
|
"isLegend"?: boolean;
|
|
3656
3999
|
/**
|
|
@@ -3665,6 +4008,7 @@ declare namespace LocalJSX {
|
|
|
3665
4008
|
interface MgInputToggle {
|
|
3666
4009
|
/**
|
|
3667
4010
|
* Define if input is disabled
|
|
4011
|
+
* @default false
|
|
3668
4012
|
*/
|
|
3669
4013
|
"disabled"?: boolean;
|
|
3670
4014
|
/**
|
|
@@ -3677,10 +4021,12 @@ declare namespace LocalJSX {
|
|
|
3677
4021
|
"identifier": string;
|
|
3678
4022
|
/**
|
|
3679
4023
|
* Define if toggle display icon
|
|
4024
|
+
* @default false
|
|
3680
4025
|
*/
|
|
3681
4026
|
"isIcon"?: boolean;
|
|
3682
4027
|
/**
|
|
3683
4028
|
* Define if toggle have on/off style
|
|
4029
|
+
* @default false
|
|
3684
4030
|
*/
|
|
3685
4031
|
"isOnOff"?: boolean;
|
|
3686
4032
|
/**
|
|
@@ -3693,14 +4039,17 @@ declare namespace LocalJSX {
|
|
|
3693
4039
|
"label": string;
|
|
3694
4040
|
/**
|
|
3695
4041
|
* Define if label is visible
|
|
4042
|
+
* @default false
|
|
3696
4043
|
*/
|
|
3697
4044
|
"labelHide"?: boolean;
|
|
3698
4045
|
/**
|
|
3699
4046
|
* Define if label is displayed on top
|
|
4047
|
+
* @default false
|
|
3700
4048
|
*/
|
|
3701
4049
|
"labelOnTop"?: boolean;
|
|
3702
4050
|
/**
|
|
3703
4051
|
* Input name If not set the value equals the identifier
|
|
4052
|
+
* @default this.identifier
|
|
3704
4053
|
*/
|
|
3705
4054
|
"name"?: string;
|
|
3706
4055
|
/**
|
|
@@ -3713,6 +4062,7 @@ declare namespace LocalJSX {
|
|
|
3713
4062
|
"onValue-change"?: (event: MgInputToggleCustomEvent<HTMLMgInputToggleElement['value']>) => void;
|
|
3714
4063
|
/**
|
|
3715
4064
|
* Define if input is readonly
|
|
4065
|
+
* @default false
|
|
3716
4066
|
*/
|
|
3717
4067
|
"readonly"?: boolean;
|
|
3718
4068
|
/**
|
|
@@ -3721,6 +4071,7 @@ declare namespace LocalJSX {
|
|
|
3721
4071
|
"tooltip"?: string;
|
|
3722
4072
|
/**
|
|
3723
4073
|
* Define tooltip position
|
|
4074
|
+
* @default 'input'
|
|
3724
4075
|
*/
|
|
3725
4076
|
"tooltipPosition"?: TooltipPosition;
|
|
3726
4077
|
/**
|
|
@@ -3731,6 +4082,7 @@ declare namespace LocalJSX {
|
|
|
3731
4082
|
interface MgItemMore {
|
|
3732
4083
|
/**
|
|
3733
4084
|
* Define icon
|
|
4085
|
+
* @default { icon: 'ellipsis-vertical' }
|
|
3734
4086
|
*/
|
|
3735
4087
|
"icon"?: IconType2;
|
|
3736
4088
|
/**
|
|
@@ -3739,6 +4091,7 @@ declare namespace LocalJSX {
|
|
|
3739
4091
|
"size"?: SizeType1;
|
|
3740
4092
|
/**
|
|
3741
4093
|
* Define slot label element
|
|
4094
|
+
* @default { display: false }
|
|
3742
4095
|
*/
|
|
3743
4096
|
"slotlabel"?: SlotLabelType;
|
|
3744
4097
|
}
|
|
@@ -3749,12 +4102,14 @@ declare namespace LocalJSX {
|
|
|
3749
4102
|
"message"?: string;
|
|
3750
4103
|
/**
|
|
3751
4104
|
* Hide message
|
|
4105
|
+
* @default false
|
|
3752
4106
|
*/
|
|
3753
4107
|
"messageHide"?: boolean;
|
|
3754
4108
|
}
|
|
3755
4109
|
interface MgMenu {
|
|
3756
4110
|
/**
|
|
3757
4111
|
* Component display direction.
|
|
4112
|
+
* @default 'horizontal'
|
|
3758
4113
|
*/
|
|
3759
4114
|
"direction"?: Direction;
|
|
3760
4115
|
/**
|
|
@@ -3767,12 +4122,14 @@ declare namespace LocalJSX {
|
|
|
3767
4122
|
"label": string;
|
|
3768
4123
|
/**
|
|
3769
4124
|
* Define mg-menu size
|
|
4125
|
+
* @default 'medium'
|
|
3770
4126
|
*/
|
|
3771
4127
|
"size"?: MenuSizeType;
|
|
3772
4128
|
}
|
|
3773
4129
|
interface MgMenuItem {
|
|
3774
4130
|
/**
|
|
3775
4131
|
* Define menu-item content expanded.
|
|
4132
|
+
* @default false
|
|
3776
4133
|
*/
|
|
3777
4134
|
"expanded"?: boolean;
|
|
3778
4135
|
/**
|
|
@@ -3781,6 +4138,7 @@ declare namespace LocalJSX {
|
|
|
3781
4138
|
"href"?: string;
|
|
3782
4139
|
/**
|
|
3783
4140
|
* Identifier is used to control mg-popover
|
|
4141
|
+
* @default createID('mg-menu-item')
|
|
3784
4142
|
*/
|
|
3785
4143
|
"identifier"?: string;
|
|
3786
4144
|
/**
|
|
@@ -3793,6 +4151,7 @@ declare namespace LocalJSX {
|
|
|
3793
4151
|
"onItem-updated"?: (event: MgMenuItemCustomEvent<void>) => void;
|
|
3794
4152
|
/**
|
|
3795
4153
|
* Define menu-item status.
|
|
4154
|
+
* @default 'visible'
|
|
3796
4155
|
*/
|
|
3797
4156
|
"status"?: MgMenuStatusType;
|
|
3798
4157
|
/**
|
|
@@ -3803,24 +4162,29 @@ declare namespace LocalJSX {
|
|
|
3803
4162
|
interface MgMessage {
|
|
3804
4163
|
/**
|
|
3805
4164
|
* Define variant
|
|
4165
|
+
* @default 'info'
|
|
3806
4166
|
*/
|
|
3807
4167
|
"variant"?: VariantType2;
|
|
3808
4168
|
/**
|
|
3809
4169
|
* Define variant style
|
|
4170
|
+
* @default 'bar-left'
|
|
3810
4171
|
*/
|
|
3811
4172
|
"variantStyle"?: VariantStyleType1;
|
|
3812
4173
|
}
|
|
3813
4174
|
interface MgModal {
|
|
3814
4175
|
/**
|
|
3815
4176
|
* Define if modal has a cross button
|
|
4177
|
+
* @default false
|
|
3816
4178
|
*/
|
|
3817
4179
|
"closeButton"?: boolean;
|
|
3818
4180
|
/**
|
|
3819
4181
|
* Modal dialog role.
|
|
4182
|
+
* @default 'dialog'
|
|
3820
4183
|
*/
|
|
3821
4184
|
"dialogRole"?: DialogRoleType;
|
|
3822
4185
|
/**
|
|
3823
4186
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4187
|
+
* @default createID('mg-modal')
|
|
3824
4188
|
*/
|
|
3825
4189
|
"identifier"?: string;
|
|
3826
4190
|
/**
|
|
@@ -3841,24 +4205,29 @@ declare namespace LocalJSX {
|
|
|
3841
4205
|
"onComponent-show"?: (event: MgModalCustomEvent<void>) => void;
|
|
3842
4206
|
/**
|
|
3843
4207
|
* Define if modal is open
|
|
4208
|
+
* @default false
|
|
3844
4209
|
*/
|
|
3845
4210
|
"open"?: boolean;
|
|
3846
4211
|
}
|
|
3847
4212
|
interface MgPagination {
|
|
3848
4213
|
/**
|
|
3849
4214
|
* Component current page
|
|
4215
|
+
* @default 1
|
|
3850
4216
|
*/
|
|
3851
4217
|
"currentPage"?: number;
|
|
3852
4218
|
/**
|
|
3853
4219
|
* Hide navigation label
|
|
4220
|
+
* @default false
|
|
3854
4221
|
*/
|
|
3855
4222
|
"hideNavigationLabels"?: boolean;
|
|
3856
4223
|
/**
|
|
3857
4224
|
* Hide select input
|
|
4225
|
+
* @default false
|
|
3858
4226
|
*/
|
|
3859
4227
|
"hidePageCount"?: boolean;
|
|
3860
4228
|
/**
|
|
3861
4229
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4230
|
+
* @default createID('mg-pagination')
|
|
3862
4231
|
*/
|
|
3863
4232
|
"identifier"?: string;
|
|
3864
4233
|
/**
|
|
@@ -3875,24 +4244,29 @@ declare namespace LocalJSX {
|
|
|
3875
4244
|
"onCurrent-page-change"?: (event: MgPaginationCustomEvent<number>) => void;
|
|
3876
4245
|
/**
|
|
3877
4246
|
* Component total pages
|
|
4247
|
+
* @default 1
|
|
3878
4248
|
*/
|
|
3879
4249
|
"totalPages"?: number;
|
|
3880
4250
|
}
|
|
3881
4251
|
interface MgPanel {
|
|
3882
4252
|
/**
|
|
3883
4253
|
* Disable possibility to toggle expand
|
|
4254
|
+
* @default false
|
|
3884
4255
|
*/
|
|
3885
4256
|
"expandToggleDisabled"?: boolean;
|
|
3886
4257
|
/**
|
|
3887
4258
|
* Define expand toggle button display
|
|
4259
|
+
* @default 'text'
|
|
3888
4260
|
*/
|
|
3889
4261
|
"expandToggleDisplay"?: ExpandToggleDisplayType;
|
|
3890
4262
|
/**
|
|
3891
4263
|
* Panel is opened
|
|
4264
|
+
* @default false
|
|
3892
4265
|
*/
|
|
3893
4266
|
"expanded"?: boolean;
|
|
3894
4267
|
/**
|
|
3895
4268
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4269
|
+
* @default createID('mg-panel')
|
|
3896
4270
|
*/
|
|
3897
4271
|
"identifier"?: string;
|
|
3898
4272
|
/**
|
|
@@ -3907,8 +4281,14 @@ declare namespace LocalJSX {
|
|
|
3907
4281
|
* Panel title
|
|
3908
4282
|
*/
|
|
3909
4283
|
"panelTitle": string;
|
|
4284
|
+
/**
|
|
4285
|
+
* Add box-shadow style
|
|
4286
|
+
* @default false
|
|
4287
|
+
*/
|
|
4288
|
+
"shadow"?: boolean;
|
|
3910
4289
|
/**
|
|
3911
4290
|
* Define if panel title is editable
|
|
4291
|
+
* @default false
|
|
3912
4292
|
*/
|
|
3913
4293
|
"titleEditable"?: boolean;
|
|
3914
4294
|
/**
|
|
@@ -3921,28 +4301,34 @@ declare namespace LocalJSX {
|
|
|
3921
4301
|
"titlePatternErrorMessage"?: string;
|
|
3922
4302
|
/**
|
|
3923
4303
|
* Define title position
|
|
4304
|
+
* @default 'left'
|
|
3924
4305
|
*/
|
|
3925
4306
|
"titlePosition"?: TitlePositionType;
|
|
3926
4307
|
}
|
|
3927
4308
|
interface MgPopover {
|
|
3928
4309
|
/**
|
|
3929
4310
|
* Hide popover arrow
|
|
4311
|
+
* @default false
|
|
3930
4312
|
*/
|
|
3931
4313
|
"arrowHide"?: boolean;
|
|
3932
4314
|
/**
|
|
3933
4315
|
* Define if popover has a cross button
|
|
4316
|
+
* @default false
|
|
3934
4317
|
*/
|
|
3935
4318
|
"closeButton"?: boolean;
|
|
3936
4319
|
/**
|
|
3937
4320
|
* Disable popover
|
|
4321
|
+
* @default false
|
|
3938
4322
|
*/
|
|
3939
4323
|
"disabled"?: boolean;
|
|
3940
4324
|
/**
|
|
3941
4325
|
* Display popover
|
|
4326
|
+
* @default false
|
|
3942
4327
|
*/
|
|
3943
4328
|
"display"?: boolean;
|
|
3944
4329
|
/**
|
|
3945
4330
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
4331
|
+
* @default createID('mg-popover')
|
|
3946
4332
|
*/
|
|
3947
4333
|
"identifier"?: string;
|
|
3948
4334
|
/**
|
|
@@ -3955,12 +4341,14 @@ declare namespace LocalJSX {
|
|
|
3955
4341
|
"onDisplay-change"?: (event: MgPopoverCustomEvent<HTMLMgPopoverElement['display']>) => void;
|
|
3956
4342
|
/**
|
|
3957
4343
|
* Popover placement
|
|
4344
|
+
* @default 'bottom'
|
|
3958
4345
|
*/
|
|
3959
4346
|
"placement"?: Placement;
|
|
3960
4347
|
}
|
|
3961
4348
|
interface MgPopoverContent {
|
|
3962
4349
|
/**
|
|
3963
4350
|
* Define if popover has a cross button
|
|
4351
|
+
* @default false
|
|
3964
4352
|
*/
|
|
3965
4353
|
"closeButton"?: boolean;
|
|
3966
4354
|
/**
|
|
@@ -3971,6 +4359,7 @@ declare namespace LocalJSX {
|
|
|
3971
4359
|
interface MgProgress {
|
|
3972
4360
|
/**
|
|
3973
4361
|
* 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
|
|
4362
|
+
* @default 'progressbar'
|
|
3974
4363
|
*/
|
|
3975
4364
|
"ariaRole"?: AriaRoleType1;
|
|
3976
4365
|
/**
|
|
@@ -3979,14 +4368,17 @@ declare namespace LocalJSX {
|
|
|
3979
4368
|
"label": string;
|
|
3980
4369
|
/**
|
|
3981
4370
|
* Define the maximum value in the range
|
|
4371
|
+
* @default 100
|
|
3982
4372
|
*/
|
|
3983
4373
|
"max"?: number;
|
|
3984
4374
|
/**
|
|
3985
4375
|
* Define the minimum value in the range
|
|
4376
|
+
* @default 0
|
|
3986
4377
|
*/
|
|
3987
4378
|
"min"?: number;
|
|
3988
4379
|
/**
|
|
3989
4380
|
* 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.
|
|
4381
|
+
* @default 0
|
|
3990
4382
|
*/
|
|
3991
4383
|
"value"?: number;
|
|
3992
4384
|
}
|
|
@@ -4007,10 +4399,12 @@ declare namespace LocalJSX {
|
|
|
4007
4399
|
"columns"?: ColumnsType;
|
|
4008
4400
|
/**
|
|
4009
4401
|
* Define if table fits its parent element
|
|
4402
|
+
* @default false
|
|
4010
4403
|
*/
|
|
4011
4404
|
"fullWidth"?: boolean;
|
|
4012
4405
|
/**
|
|
4013
4406
|
* Define table size
|
|
4407
|
+
* @default 'medium'
|
|
4014
4408
|
*/
|
|
4015
4409
|
"size"?: TableSizeType;
|
|
4016
4410
|
}
|
|
@@ -4021,6 +4415,7 @@ declare namespace LocalJSX {
|
|
|
4021
4415
|
"activeTab"?: number;
|
|
4022
4416
|
/**
|
|
4023
4417
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
4418
|
+
* @default createID('mg-tabs')
|
|
4024
4419
|
*/
|
|
4025
4420
|
"identifier"?: string;
|
|
4026
4421
|
/**
|
|
@@ -4037,34 +4432,41 @@ declare namespace LocalJSX {
|
|
|
4037
4432
|
"onActive-tab-change"?: (event: MgTabsCustomEvent<HTMLMgTabsElement['activeTab']>) => void;
|
|
4038
4433
|
/**
|
|
4039
4434
|
* Define tabs size
|
|
4435
|
+
* @default 'medium'
|
|
4040
4436
|
*/
|
|
4041
4437
|
"size"?: SizeType2;
|
|
4042
4438
|
}
|
|
4043
4439
|
interface MgTag {
|
|
4044
4440
|
/**
|
|
4045
4441
|
* Define if tag is using outline style
|
|
4442
|
+
* @default false
|
|
4046
4443
|
*/
|
|
4047
4444
|
"outline"?: boolean;
|
|
4048
4445
|
/**
|
|
4049
4446
|
* Define if tag is using soft style
|
|
4447
|
+
* @default false
|
|
4050
4448
|
*/
|
|
4051
4449
|
"soft"?: boolean;
|
|
4052
4450
|
/**
|
|
4053
4451
|
* Define tag variant
|
|
4452
|
+
* @default 'primary'
|
|
4054
4453
|
*/
|
|
4055
4454
|
"variant"?: TagVariantType;
|
|
4056
4455
|
}
|
|
4057
4456
|
interface MgTooltip {
|
|
4058
4457
|
/**
|
|
4059
4458
|
* Disable tooltip
|
|
4459
|
+
* @default false
|
|
4060
4460
|
*/
|
|
4061
4461
|
"disabled"?: boolean;
|
|
4062
4462
|
/**
|
|
4063
4463
|
* Display tooltip
|
|
4464
|
+
* @default false
|
|
4064
4465
|
*/
|
|
4065
4466
|
"display"?: boolean;
|
|
4066
4467
|
/**
|
|
4067
4468
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
4469
|
+
* @default createID('mg-tooltip')
|
|
4068
4470
|
*/
|
|
4069
4471
|
"identifier"?: string;
|
|
4070
4472
|
/**
|
|
@@ -4073,6 +4475,7 @@ declare namespace LocalJSX {
|
|
|
4073
4475
|
"message": string;
|
|
4074
4476
|
/**
|
|
4075
4477
|
* Tooltip placement
|
|
4478
|
+
* @default 'bottom'
|
|
4076
4479
|
*/
|
|
4077
4480
|
"placement"?: Placement;
|
|
4078
4481
|
}
|