@mgdis/mg-components 6.20.0 → 6.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-TUElr4Wv.js → index-BxB20_Vw.js} +54 -0
- package/dist/cjs/{index-Bp6wZzau.js → index-C2viYwrR.js} +1761 -80
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mg-action-more_37.cjs.entry.js +761 -371
- package/dist/cjs/mg-alert.cjs.entry.js +17 -9
- package/dist/cjs/mg-breadcrumb.cjs.entry.js +63 -0
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-fieldset.cjs.entry.js +24 -7
- package/dist/cjs/mg-input-combobox.cjs.entry.js +49 -19
- package/dist/cjs/mg-input-file.cjs.entry.js +384 -0
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +40096 -15821
- package/dist/cjs/{mg-input.conf-D7jmj_lh.js → mg-input.conf-BNpeATnq.js} +7 -0
- package/dist/cjs/mg-loader.cjs.entry.js +8 -6
- package/dist/cjs/mg-progress.cjs.entry.js +19 -9
- package/dist/collection/assets/icons/index.js +1 -1
- package/dist/collection/collection-manifest.json +5 -3
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +1 -1
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +1 -1
- package/dist/collection/components/atoms/mg-card/mg-card.js +1 -1
- package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +2 -2
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +1 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +6 -0
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-file/mg-input-file.js +877 -0
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +212 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.js +1 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +300 -94
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.js +29 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +163 -53
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +1 -1
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +3 -36
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -4
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +21 -43
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +65 -38
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +2 -2
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +1 -1
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.js +1 -0
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.js +92 -0
- package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
- package/dist/collection/components/molecules/mg-fieldset/mg-fieldset.js +12 -3
- package/dist/collection/components/molecules/mg-form/mg-form.js +12 -2
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +1 -1
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +1 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +2 -2
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +2 -2
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +1 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +1 -1
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +1 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +1 -1
- package/dist/collection/components/molecules/mg-table/mg-table.js +37 -0
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -4
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +13 -33
- package/dist/collection/locales/en/messages.json +14 -0
- package/dist/collection/locales/fr/messages.json +14 -0
- package/dist/components/events.utils.js +1 -23
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -408
- package/dist/components/index3.js +1 -476
- package/dist/components/mg-action-more.js +1 -254
- package/dist/components/mg-alert.js +1 -224
- package/dist/components/mg-badge.js +1 -6
- package/dist/components/mg-badge2.js +1 -113
- package/dist/components/mg-breadcrumb.d.ts +11 -0
- package/dist/components/mg-breadcrumb.js +1 -0
- package/dist/components/mg-button.js +1 -6
- package/dist/components/mg-button2.js +1 -275
- package/dist/components/mg-card.js +1 -6
- package/dist/components/mg-card2.js +1 -92
- package/dist/components/mg-character-left.js +1 -6
- package/dist/components/mg-character-left2.js +1 -75
- package/dist/components/mg-details.js +1 -104
- package/dist/components/mg-divider.js +1 -6
- package/dist/components/mg-divider2.js +1 -49
- package/dist/components/mg-fieldset.js +1 -209
- package/dist/components/mg-form.js +1 -302
- package/dist/components/mg-icon.js +1 -6
- package/dist/components/mg-icon2.js +1 -188
- package/dist/components/mg-illustrated-message.js +1 -129
- package/dist/components/mg-input-checkbox-paginated.js +1 -6
- package/dist/components/mg-input-checkbox-paginated2.js +1 -135
- package/dist/components/mg-input-checkbox.js +1 -762
- package/dist/components/mg-input-combobox.js +1 -940
- package/dist/components/mg-input-date.js +1 -463
- package/dist/components/mg-input-file.d.ts +11 -0
- package/dist/components/mg-input-file.js +1 -0
- package/dist/components/mg-input-numeric.js +1 -592
- package/dist/components/mg-input-password.js +1 -360
- package/dist/components/mg-input-radio.js +1 -392
- package/dist/components/mg-input-rich-text-editor.js +1663 -16797
- package/dist/components/mg-input-select.js +1 -6
- package/dist/components/mg-input-select2.js +1 -481
- package/dist/components/mg-input-text.js +1 -6
- package/dist/components/mg-input-text2.js +1 -514
- package/dist/components/mg-input-textarea.js +1 -412
- package/dist/components/mg-input-title.js +1 -6
- package/dist/components/mg-input-title2.js +1 -81
- package/dist/components/mg-input-toggle.js +1 -371
- package/dist/components/mg-input.conf.js +1 -0
- package/dist/components/mg-input.js +1 -6
- package/dist/components/mg-input2.js +1 -459
- package/dist/components/mg-item-more.js +1 -6
- package/dist/components/mg-item-more2.js +1 -505
- package/dist/components/mg-loader.js +1 -6
- package/dist/components/mg-loader2.js +1 -74
- package/dist/components/mg-menu-item.js +1 -6
- package/dist/components/mg-menu-item2.js +1 -485
- package/dist/components/mg-menu.js +1 -6
- package/dist/components/mg-message.js +1 -6
- package/dist/components/mg-message2.js +1 -146
- package/dist/components/mg-modal.js +1 -184
- package/dist/components/mg-pagination.js +1 -234
- package/dist/components/mg-panel.js +1 -350
- package/dist/components/mg-popover-content.js +1 -6
- package/dist/components/mg-popover-content2.js +1 -96
- package/dist/components/mg-popover.js +1 -6
- package/dist/components/mg-popover2.js +1 -312
- package/dist/components/mg-progress.js +1 -123
- package/dist/components/mg-skip-links.js +1 -78
- package/dist/components/mg-table.js +1 -319
- package/dist/components/mg-tabs.js +1 -6
- package/dist/components/mg-tabs2.js +1 -315
- package/dist/components/mg-tag.js +1 -133
- package/dist/components/mg-tooltip-content.js +1 -6
- package/dist/components/mg-tooltip-content2.js +1 -42
- package/dist/components/mg-tooltip.js +1 -6
- package/dist/components/mg-tooltip2.js +1 -421
- package/dist/components/popper.js +1 -1790
- package/dist/esm/{index-BluNKQ3L.js → index-DFwaH2hS.js} +1761 -80
- package/dist/esm/{index-CNX6lq0x.js → index-DSEloqPn.js} +54 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mg-action-more_37.entry.js +761 -371
- package/dist/esm/mg-alert.entry.js +17 -9
- package/dist/esm/mg-breadcrumb.entry.js +61 -0
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-fieldset.entry.js +24 -7
- package/dist/esm/mg-input-combobox.entry.js +49 -19
- package/dist/esm/mg-input-file.entry.js +382 -0
- package/dist/esm/mg-input-rich-text-editor.entry.js +40083 -15808
- package/dist/esm/{mg-input.conf-DDnrE1hD.js → mg-input.conf-C9rmNQIL.js} +7 -1
- package/dist/esm/mg-loader.entry.js +8 -6
- package/dist/esm/mg-progress.entry.js +19 -9
- package/dist/mg-components/locales/en/messages.json +14 -0
- package/dist/mg-components/locales/fr/messages.json +14 -0
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/p-0482eb9f.entry.js +1 -0
- package/dist/mg-components/{p-7132bca1.entry.js → p-2ee92f38.entry.js} +1 -1
- package/dist/mg-components/{p-916dfb6d.entry.js → p-3b653226.entry.js} +1 -1
- package/dist/mg-components/p-5745fbea.entry.js +1 -0
- package/dist/mg-components/p-C9rmNQIL.js +1 -0
- package/dist/mg-components/p-DFwaH2hS.js +2 -0
- package/dist/mg-components/p-DSEloqPn.js +1 -0
- package/dist/mg-components/p-adec7fcc.entry.js +1 -0
- package/dist/mg-components/p-c63f97f0.entry.js +1658 -0
- package/dist/mg-components/p-c8c8cfc1.entry.js +1 -0
- package/dist/mg-components/p-cc793586.entry.js +1 -0
- package/dist/mg-components/p-d5e69c95.entry.js +1 -0
- package/dist/types/assets/icons/index.d.ts +2 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +7 -1
- package/dist/types/components/molecules/inputs/mg-input-file/mg-input-file.d.ts +210 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.d.ts +17 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/index.d.ts +27 -19
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.d.ts +3 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +50 -16
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +0 -5
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.d.ts +1 -6
- package/dist/types/components/molecules/menus/mg-menu/mg-menu.conf.d.ts +2 -10
- package/dist/types/components/molecules/menus/mg-menu/mg-menu.d.ts +7 -7
- package/dist/types/components/molecules/menus/mg-menu-item/mg-menu-item.d.ts +12 -8
- package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.d.ts +18 -0
- package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.d.ts +34 -0
- package/dist/types/components/molecules/mg-table/mg-table.d.ts +6 -0
- package/dist/types/components/molecules/mg-tabs/mg-tabs.conf.d.ts +1 -9
- package/dist/types/components/molecules/mg-tabs/mg-tabs.d.ts +4 -4
- package/dist/types/components.d.ts +302 -46
- package/dist/types/stencil-public-runtime.d.ts +76 -12
- package/ide/intellij/web-types.json +483 -51
- package/ide/vscode/css-custom-data.json +10 -2
- package/ide/vscode/html-custom-data.json +445 -104
- package/package.json +24 -23
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.scss +0 -1
- package/dist/mg-components/p-016bd291.entry.js +0 -1
- package/dist/mg-components/p-186a6139.entry.js +0 -1
- package/dist/mg-components/p-BluNKQ3L.js +0 -2
- package/dist/mg-components/p-CNX6lq0x.js +0 -1
- package/dist/mg-components/p-DDnrE1hD.js +0 -1
- package/dist/mg-components/p-cd061b38.entry.js +0 -1
- package/dist/mg-components/p-d2c72f09.entry.js +0 -1
- package/dist/mg-components/p-d5a276eb.entry.js +0 -1
- package/ide/vscode/custom.css-data.json +0 -425
|
@@ -8,6 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType, MgActionMoreItemType } from "./components/molecules/mg-action-more/mg-action-more.conf";
|
|
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
|
+
import { BreadcrumbItemType } from "./components/molecules/mg-breadcrumb/mg-breadcrumb.conf";
|
|
11
12
|
import { ButtonType, SizeType, VariantType as VariantType1 } from "./components/atoms/mg-button/mg-button.conf";
|
|
12
13
|
import { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
|
|
13
14
|
import { labelHeading, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
@@ -19,12 +20,13 @@ import { Direction, Option, Option as ToggleOption } from "./types";
|
|
|
19
20
|
import { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
|
|
20
21
|
import { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
21
22
|
import { RadioOption } from "./components/molecules/inputs/mg-input-radio/mg-input-radio.conf";
|
|
22
|
-
import {
|
|
23
|
+
import { ButtonsOption } from "./components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf";
|
|
24
|
+
import { SanitizerOptions } from "@mgdis/sanitize-html";
|
|
23
25
|
import { SelectOption } from "./components/molecules/inputs/mg-input-select/mg-input-select.conf";
|
|
24
26
|
import { OptionType, TextType } from "./components/molecules/inputs/mg-input-text/mg-input-text.conf";
|
|
25
27
|
import { IconType as IconType1 } from "./components";
|
|
26
|
-
import { IconType as IconType2,
|
|
27
|
-
import { ItemMoreType
|
|
28
|
+
import { IconType as IconType2, SlotLabelType } from "./components/molecules/internals/mg-item-more/mg-item-more.conf";
|
|
29
|
+
import { ItemMoreType } from "./components/molecules/menus/mg-menu/mg-menu.conf";
|
|
28
30
|
import { MgMenuStatusType, TargetType } from "./components/molecules/menus/mg-menu-item/mg-menu-item.conf";
|
|
29
31
|
import { VariantStyleType as VariantStyleType1, VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
|
|
30
32
|
import { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
|
|
@@ -34,11 +36,12 @@ import { Placement } from "@popperjs/core";
|
|
|
34
36
|
import { AriaRoleType as AriaRoleType1 } from "./components/molecules/mg-progress/mg-progress.conf";
|
|
35
37
|
import { SkipLink } from "./components/molecules/mg-skip-links/mg-skip-links.conf";
|
|
36
38
|
import { ColumnsType, TableSizeType } from "./components/molecules/mg-table/mg-table.conf";
|
|
37
|
-
import {
|
|
39
|
+
import { TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
|
|
38
40
|
import { TagVariantType } from "./components/atoms/mg-tag/mg-tag.conf";
|
|
39
41
|
export { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType, MgActionMoreItemType } from "./components/molecules/mg-action-more/mg-action-more.conf";
|
|
40
42
|
export { VariantStyleType, VariantType } from "./components/molecules/mg-alert/mg-alert.conf";
|
|
41
43
|
export { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
|
|
44
|
+
export { BreadcrumbItemType } from "./components/molecules/mg-breadcrumb/mg-breadcrumb.conf";
|
|
42
45
|
export { ButtonType, SizeType, VariantType as VariantType1 } from "./components/atoms/mg-button/mg-button.conf";
|
|
43
46
|
export { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
|
|
44
47
|
export { labelHeading, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
@@ -50,12 +53,13 @@ export { Direction, Option, Option as ToggleOption } from "./types";
|
|
|
50
53
|
export { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
|
|
51
54
|
export { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
52
55
|
export { RadioOption } from "./components/molecules/inputs/mg-input-radio/mg-input-radio.conf";
|
|
53
|
-
export {
|
|
56
|
+
export { ButtonsOption } from "./components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf";
|
|
57
|
+
export { SanitizerOptions } from "@mgdis/sanitize-html";
|
|
54
58
|
export { SelectOption } from "./components/molecules/inputs/mg-input-select/mg-input-select.conf";
|
|
55
59
|
export { OptionType, TextType } from "./components/molecules/inputs/mg-input-text/mg-input-text.conf";
|
|
56
60
|
export { IconType as IconType1 } from "./components";
|
|
57
|
-
export { IconType as IconType2,
|
|
58
|
-
export { ItemMoreType
|
|
61
|
+
export { IconType as IconType2, SlotLabelType } from "./components/molecules/internals/mg-item-more/mg-item-more.conf";
|
|
62
|
+
export { ItemMoreType } from "./components/molecules/menus/mg-menu/mg-menu.conf";
|
|
59
63
|
export { MgMenuStatusType, TargetType } from "./components/molecules/menus/mg-menu-item/mg-menu-item.conf";
|
|
60
64
|
export { VariantStyleType as VariantStyleType1, VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
|
|
61
65
|
export { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
|
|
@@ -65,7 +69,7 @@ export { Placement } from "@popperjs/core";
|
|
|
65
69
|
export { AriaRoleType as AriaRoleType1 } from "./components/molecules/mg-progress/mg-progress.conf";
|
|
66
70
|
export { SkipLink } from "./components/molecules/mg-skip-links/mg-skip-links.conf";
|
|
67
71
|
export { ColumnsType, TableSizeType } from "./components/molecules/mg-table/mg-table.conf";
|
|
68
|
-
export {
|
|
72
|
+
export { TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
|
|
69
73
|
export { TagVariantType } from "./components/atoms/mg-tag/mg-tag.conf";
|
|
70
74
|
export namespace Components {
|
|
71
75
|
interface MgActionMore {
|
|
@@ -124,6 +128,12 @@ export namespace Components {
|
|
|
124
128
|
*/
|
|
125
129
|
"variant"?: BadgeVariantType;
|
|
126
130
|
}
|
|
131
|
+
interface MgBreadcrumb {
|
|
132
|
+
/**
|
|
133
|
+
* Breadcrumb items (hierarchical order: root → current page).
|
|
134
|
+
*/
|
|
135
|
+
"items": BreadcrumbItemType[];
|
|
136
|
+
}
|
|
127
137
|
interface MgButton {
|
|
128
138
|
/**
|
|
129
139
|
* 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.
|
|
@@ -781,6 +791,102 @@ export namespace Components {
|
|
|
781
791
|
*/
|
|
782
792
|
"value": string;
|
|
783
793
|
}
|
|
794
|
+
interface MgInputFile {
|
|
795
|
+
/**
|
|
796
|
+
* Define file accept format The accept property is an attribute of the file `<input>` type that defines the file types the file input should accept (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept).
|
|
797
|
+
*/
|
|
798
|
+
"accept"?: string;
|
|
799
|
+
/**
|
|
800
|
+
* Define input capture attribute The capture attribute is a Boolean attribute that specifies if the device's camera or microphone should be used to capture media directly, instead of choosing an existing file. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#capture).
|
|
801
|
+
*/
|
|
802
|
+
"capture"?: 'user' | 'environment' | '';
|
|
803
|
+
/**
|
|
804
|
+
* Define if input is disabled
|
|
805
|
+
* @default false
|
|
806
|
+
*/
|
|
807
|
+
"disabled": boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Display input error if it exists.
|
|
810
|
+
*/
|
|
811
|
+
"displayError": () => Promise<void>;
|
|
812
|
+
/**
|
|
813
|
+
* Add a help text under the input, usually expected data format and example
|
|
814
|
+
*/
|
|
815
|
+
"helpText"?: string;
|
|
816
|
+
/**
|
|
817
|
+
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
818
|
+
*/
|
|
819
|
+
"identifier": string;
|
|
820
|
+
/**
|
|
821
|
+
* Define input invalid state
|
|
822
|
+
*/
|
|
823
|
+
"invalid": boolean;
|
|
824
|
+
/**
|
|
825
|
+
* Input label
|
|
826
|
+
*/
|
|
827
|
+
"label": string;
|
|
828
|
+
/**
|
|
829
|
+
* Define if label is visible
|
|
830
|
+
* @default false
|
|
831
|
+
*/
|
|
832
|
+
"labelHide": boolean;
|
|
833
|
+
/**
|
|
834
|
+
* Define if label is displayed on top
|
|
835
|
+
* @default false
|
|
836
|
+
*/
|
|
837
|
+
"labelOnTop": boolean;
|
|
838
|
+
/**
|
|
839
|
+
* Define max file size (in octets)
|
|
840
|
+
*/
|
|
841
|
+
"maxSize"?: number;
|
|
842
|
+
/**
|
|
843
|
+
* Define multiple files When the multiple Boolean attribute is specified, the file input allows the user to select more than one file. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple).
|
|
844
|
+
* @default false
|
|
845
|
+
*/
|
|
846
|
+
"multiple": boolean;
|
|
847
|
+
/**
|
|
848
|
+
* Input name If not set the value equals the identifier
|
|
849
|
+
* @default this.identifier
|
|
850
|
+
*/
|
|
851
|
+
"name": string;
|
|
852
|
+
/**
|
|
853
|
+
* Define if input is required
|
|
854
|
+
* @default false
|
|
855
|
+
*/
|
|
856
|
+
"required": boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Reset value, validity and error state
|
|
859
|
+
*/
|
|
860
|
+
"reset": () => Promise<void>;
|
|
861
|
+
/**
|
|
862
|
+
* Set an error and display a custom error message. This method can be used to set the component's error state from its context by passing a boolean value to the `valid` parameter. It must be paired with an error message to display for the given context. When used to set validity to `false`, you should use this method again to reset the validity to `true`.
|
|
863
|
+
* @param valid - value indicating the validity
|
|
864
|
+
* @param errorMessage - the error message to display
|
|
865
|
+
* @param errorMessageLock - lock the error message and validity state
|
|
866
|
+
*/
|
|
867
|
+
"setError": (valid: MgInputFile["valid"], errorMessage?: string, errorMessageLock?: boolean) => Promise<void>;
|
|
868
|
+
/**
|
|
869
|
+
* Set focus on input add file button
|
|
870
|
+
*/
|
|
871
|
+
"setFocus": () => Promise<void>;
|
|
872
|
+
/**
|
|
873
|
+
* Add a tooltip message next to the input
|
|
874
|
+
*/
|
|
875
|
+
"tooltip"?: string;
|
|
876
|
+
/**
|
|
877
|
+
* Define tooltip position
|
|
878
|
+
* @default 'input'
|
|
879
|
+
*/
|
|
880
|
+
"tooltipPosition": TooltipPosition;
|
|
881
|
+
/**
|
|
882
|
+
* Define input valid state
|
|
883
|
+
*/
|
|
884
|
+
"valid": boolean;
|
|
885
|
+
/**
|
|
886
|
+
* Component value
|
|
887
|
+
*/
|
|
888
|
+
"value": any;
|
|
889
|
+
}
|
|
784
890
|
interface MgInputNumeric {
|
|
785
891
|
/**
|
|
786
892
|
* Define currency
|
|
@@ -1117,14 +1223,14 @@ export namespace Components {
|
|
|
1117
1223
|
"displayError": () => Promise<void>;
|
|
1118
1224
|
/**
|
|
1119
1225
|
* Get editor content as HTML
|
|
1120
|
-
* @returns HTML content of the editor
|
|
1226
|
+
* @returns HTML content of the editor (sanitized)
|
|
1121
1227
|
*/
|
|
1122
|
-
"
|
|
1228
|
+
"getEditorHTML": () => Promise<string>;
|
|
1123
1229
|
/**
|
|
1124
|
-
* Get editor content
|
|
1230
|
+
* Get editor content in plain text format
|
|
1125
1231
|
* @returns Plain text content of the editor
|
|
1126
1232
|
*/
|
|
1127
|
-
"
|
|
1233
|
+
"getEditorText": () => Promise<string>;
|
|
1128
1234
|
/**
|
|
1129
1235
|
* Add a help text under the input, usually expected data format and example
|
|
1130
1236
|
*/
|
|
@@ -1152,9 +1258,14 @@ export namespace Components {
|
|
|
1152
1258
|
*/
|
|
1153
1259
|
"labelOnTop": boolean;
|
|
1154
1260
|
/**
|
|
1155
|
-
* Editor modules configuration
|
|
1261
|
+
* Editor modules configuration. Must be passed as an array (e.g. modules=['bold', 'italic', '|', 'ul', 'ol']). Use `|` for a separator/divider in the toolbar. Available modules: - **Text formatting**: `bold`, `italic`, `underline`, `strikethrough`, `eraser` - **Lists**: `ul` (unordered list), `ol` (ordered list) - **Text positioning**: `superscript`, `subscript` - **Colors**: `brush` (text color/background) - **Media**: `link`, `image`, `file` - **Tables**: `table` - **History**: `undo`, `redo` - **Other**: `print`, `source` (HTML source editor)
|
|
1262
|
+
*/
|
|
1263
|
+
"modules"?: ButtonsOption;
|
|
1264
|
+
/**
|
|
1265
|
+
* Input name If not set the value equals the identifier
|
|
1266
|
+
* @default this.identifier
|
|
1156
1267
|
*/
|
|
1157
|
-
"
|
|
1268
|
+
"name": string;
|
|
1158
1269
|
/**
|
|
1159
1270
|
* Define input pattern to validate Please refer to the Pattern section in the input documentation for detailed information on using regular expressions in components.
|
|
1160
1271
|
*/
|
|
@@ -1182,10 +1293,14 @@ export namespace Components {
|
|
|
1182
1293
|
*/
|
|
1183
1294
|
"reset": () => Promise<void>;
|
|
1184
1295
|
/**
|
|
1185
|
-
* Define the number of visible text lines for the
|
|
1296
|
+
* Define the number of visible text lines for the editor. Impacts the editor height. Content can grow beyond this minimum.
|
|
1186
1297
|
* @default 5
|
|
1187
1298
|
*/
|
|
1188
1299
|
"rows": number;
|
|
1300
|
+
/**
|
|
1301
|
+
* Sanitizer configuration in native format. Use disallowTags (array of tag names) and/or disallowAttributes (object mapping tag names to string arrays). Use "*" as tag key to disallow attributes on all tags.
|
|
1302
|
+
*/
|
|
1303
|
+
"sanitizerOptions"?: SanitizerOptions;
|
|
1189
1304
|
/**
|
|
1190
1305
|
* Set an error and display a custom error message. This method can be used to set the component's error state from its context by passing a boolean value to the `valid` parameter. It must be paired with an error message to display for the given context. When used to set validity to `false`, you should use this method again to reset the validity to `true`.
|
|
1191
1306
|
* @param valid - value indicating the validity
|
|
@@ -1672,10 +1787,6 @@ export namespace Components {
|
|
|
1672
1787
|
* @default { icon: 'ellipsis-vertical' }
|
|
1673
1788
|
*/
|
|
1674
1789
|
"icon"?: IconType2;
|
|
1675
|
-
/**
|
|
1676
|
-
* Define component child menu size.
|
|
1677
|
-
*/
|
|
1678
|
-
"size"?: SizeType1;
|
|
1679
1790
|
/**
|
|
1680
1791
|
* Define slot label element
|
|
1681
1792
|
* @default { display: false }
|
|
@@ -1700,7 +1811,7 @@ export namespace Components {
|
|
|
1700
1811
|
*/
|
|
1701
1812
|
"direction": Direction;
|
|
1702
1813
|
/**
|
|
1703
|
-
* Customize "mg-item-more" element Used with direction: '
|
|
1814
|
+
* Customize "mg-item-more" element Used with direction: 'horizontal' to manage overflow
|
|
1704
1815
|
*/
|
|
1705
1816
|
"itemmore"?: ItemMoreType;
|
|
1706
1817
|
/**
|
|
@@ -1708,10 +1819,10 @@ export namespace Components {
|
|
|
1708
1819
|
*/
|
|
1709
1820
|
"label": string;
|
|
1710
1821
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
* @
|
|
1822
|
+
* Size of the menu items
|
|
1823
|
+
* @deprecated this prop is deprecated and will be removed in future releases
|
|
1713
1824
|
*/
|
|
1714
|
-
"size":
|
|
1825
|
+
"size": never;
|
|
1715
1826
|
}
|
|
1716
1827
|
interface MgMenuItem {
|
|
1717
1828
|
/**
|
|
@@ -1728,6 +1839,11 @@ export namespace Components {
|
|
|
1728
1839
|
* @default createID('mg-menu-item')
|
|
1729
1840
|
*/
|
|
1730
1841
|
"identifier": string;
|
|
1842
|
+
/**
|
|
1843
|
+
* Define menu-item isIcon style.
|
|
1844
|
+
* @default false
|
|
1845
|
+
*/
|
|
1846
|
+
"isIcon"?: boolean;
|
|
1731
1847
|
/**
|
|
1732
1848
|
* Define menu-item status.
|
|
1733
1849
|
* @default 'visible'
|
|
@@ -1932,6 +2048,11 @@ export namespace Components {
|
|
|
1932
2048
|
"links": SkipLink[];
|
|
1933
2049
|
}
|
|
1934
2050
|
interface MgTable {
|
|
2051
|
+
/**
|
|
2052
|
+
* Define if table has no outer border
|
|
2053
|
+
* @default false
|
|
2054
|
+
*/
|
|
2055
|
+
"borderHide": boolean;
|
|
1935
2056
|
/**
|
|
1936
2057
|
* Define column properties
|
|
1937
2058
|
*/
|
|
@@ -1966,10 +2087,10 @@ export namespace Components {
|
|
|
1966
2087
|
*/
|
|
1967
2088
|
"label": string;
|
|
1968
2089
|
/**
|
|
1969
|
-
*
|
|
1970
|
-
* @
|
|
2090
|
+
* Size of the tabs items.
|
|
2091
|
+
* @deprecated this prop is deprecated and will be removed in future releases. Please use CSS custom properties to set the size of tabs items.
|
|
1971
2092
|
*/
|
|
1972
|
-
"size":
|
|
2093
|
+
"size": never;
|
|
1973
2094
|
}
|
|
1974
2095
|
interface MgTag {
|
|
1975
2096
|
/**
|
|
@@ -2049,6 +2170,10 @@ export interface MgInputDateCustomEvent<T> extends CustomEvent<T> {
|
|
|
2049
2170
|
detail: T;
|
|
2050
2171
|
target: HTMLMgInputDateElement;
|
|
2051
2172
|
}
|
|
2173
|
+
export interface MgInputFileCustomEvent<T> extends CustomEvent<T> {
|
|
2174
|
+
detail: T;
|
|
2175
|
+
target: HTMLMgInputFileElement;
|
|
2176
|
+
}
|
|
2052
2177
|
export interface MgInputNumericCustomEvent<T> extends CustomEvent<T> {
|
|
2053
2178
|
detail: T;
|
|
2054
2179
|
target: HTMLMgInputNumericElement;
|
|
@@ -2145,6 +2270,12 @@ declare global {
|
|
|
2145
2270
|
prototype: HTMLMgBadgeElement;
|
|
2146
2271
|
new (): HTMLMgBadgeElement;
|
|
2147
2272
|
};
|
|
2273
|
+
interface HTMLMgBreadcrumbElement extends Components.MgBreadcrumb, HTMLStencilElement {
|
|
2274
|
+
}
|
|
2275
|
+
var HTMLMgBreadcrumbElement: {
|
|
2276
|
+
prototype: HTMLMgBreadcrumbElement;
|
|
2277
|
+
new (): HTMLMgBreadcrumbElement;
|
|
2278
|
+
};
|
|
2148
2279
|
interface HTMLMgButtonElementEventMap {
|
|
2149
2280
|
"disabled-change": HTMLMgButtonElement['disabled'];
|
|
2150
2281
|
}
|
|
@@ -2306,6 +2437,24 @@ declare global {
|
|
|
2306
2437
|
prototype: HTMLMgInputDateElement;
|
|
2307
2438
|
new (): HTMLMgInputDateElement;
|
|
2308
2439
|
};
|
|
2440
|
+
interface HTMLMgInputFileElementEventMap {
|
|
2441
|
+
"value-change": HTMLMgInputFileElement['value'];
|
|
2442
|
+
"input-valid": HTMLMgInputFileElement['valid'];
|
|
2443
|
+
}
|
|
2444
|
+
interface HTMLMgInputFileElement extends Components.MgInputFile, HTMLStencilElement {
|
|
2445
|
+
addEventListener<K extends keyof HTMLMgInputFileElementEventMap>(type: K, listener: (this: HTMLMgInputFileElement, ev: MgInputFileCustomEvent<HTMLMgInputFileElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2446
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2447
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2448
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2449
|
+
removeEventListener<K extends keyof HTMLMgInputFileElementEventMap>(type: K, listener: (this: HTMLMgInputFileElement, ev: MgInputFileCustomEvent<HTMLMgInputFileElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2450
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2451
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2452
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2453
|
+
}
|
|
2454
|
+
var HTMLMgInputFileElement: {
|
|
2455
|
+
prototype: HTMLMgInputFileElement;
|
|
2456
|
+
new (): HTMLMgInputFileElement;
|
|
2457
|
+
};
|
|
2309
2458
|
interface HTMLMgInputNumericElementEventMap {
|
|
2310
2459
|
"value-change": number;
|
|
2311
2460
|
"input-valid": HTMLMgInputNumericElement['valid'];
|
|
@@ -2364,12 +2513,7 @@ declare global {
|
|
|
2364
2513
|
"input-valid": boolean;
|
|
2365
2514
|
"value-change": string;
|
|
2366
2515
|
}
|
|
2367
|
-
interface HTMLMgInputRichTextEditorElement extends
|
|
2368
|
-
/**
|
|
2369
|
-
* Get editor content as HTML
|
|
2370
|
-
* @returns HTML content of the editor
|
|
2371
|
-
*/
|
|
2372
|
-
"getHTML": () => Promise<string>;
|
|
2516
|
+
interface HTMLMgInputRichTextEditorElement extends Components.MgInputRichTextEditor, HTMLStencilElement {
|
|
2373
2517
|
addEventListener<K extends keyof HTMLMgInputRichTextEditorElementEventMap>(type: K, listener: (this: HTMLMgInputRichTextEditorElement, ev: MgInputRichTextEditorCustomEvent<HTMLMgInputRichTextEditorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2374
2518
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2375
2519
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2660,6 +2804,7 @@ declare global {
|
|
|
2660
2804
|
"mg-action-more": HTMLMgActionMoreElement;
|
|
2661
2805
|
"mg-alert": HTMLMgAlertElement;
|
|
2662
2806
|
"mg-badge": HTMLMgBadgeElement;
|
|
2807
|
+
"mg-breadcrumb": HTMLMgBreadcrumbElement;
|
|
2663
2808
|
"mg-button": HTMLMgButtonElement;
|
|
2664
2809
|
"mg-card": HTMLMgCardElement;
|
|
2665
2810
|
"mg-character-left": HTMLMgCharacterLeftElement;
|
|
@@ -2674,6 +2819,7 @@ declare global {
|
|
|
2674
2819
|
"mg-input-checkbox-paginated": HTMLMgInputCheckboxPaginatedElement;
|
|
2675
2820
|
"mg-input-combobox": HTMLMgInputComboboxElement;
|
|
2676
2821
|
"mg-input-date": HTMLMgInputDateElement;
|
|
2822
|
+
"mg-input-file": HTMLMgInputFileElement;
|
|
2677
2823
|
"mg-input-numeric": HTMLMgInputNumericElement;
|
|
2678
2824
|
"mg-input-password": HTMLMgInputPasswordElement;
|
|
2679
2825
|
"mg-input-radio": HTMLMgInputRadioElement;
|
|
@@ -2771,6 +2917,12 @@ declare namespace LocalJSX {
|
|
|
2771
2917
|
*/
|
|
2772
2918
|
"variant"?: BadgeVariantType;
|
|
2773
2919
|
}
|
|
2920
|
+
interface MgBreadcrumb {
|
|
2921
|
+
/**
|
|
2922
|
+
* Breadcrumb items (hierarchical order: root → current page).
|
|
2923
|
+
*/
|
|
2924
|
+
"items": BreadcrumbItemType[];
|
|
2925
|
+
}
|
|
2774
2926
|
interface MgButton {
|
|
2775
2927
|
/**
|
|
2776
2928
|
* 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.
|
|
@@ -3406,6 +3558,91 @@ declare namespace LocalJSX {
|
|
|
3406
3558
|
*/
|
|
3407
3559
|
"value"?: string;
|
|
3408
3560
|
}
|
|
3561
|
+
interface MgInputFile {
|
|
3562
|
+
/**
|
|
3563
|
+
* Define file accept format The accept property is an attribute of the file `<input>` type that defines the file types the file input should accept (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept).
|
|
3564
|
+
*/
|
|
3565
|
+
"accept"?: string;
|
|
3566
|
+
/**
|
|
3567
|
+
* Define input capture attribute The capture attribute is a Boolean attribute that specifies if the device's camera or microphone should be used to capture media directly, instead of choosing an existing file. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#capture).
|
|
3568
|
+
*/
|
|
3569
|
+
"capture"?: 'user' | 'environment' | '';
|
|
3570
|
+
/**
|
|
3571
|
+
* Define if input is disabled
|
|
3572
|
+
* @default false
|
|
3573
|
+
*/
|
|
3574
|
+
"disabled"?: boolean;
|
|
3575
|
+
/**
|
|
3576
|
+
* Add a help text under the input, usually expected data format and example
|
|
3577
|
+
*/
|
|
3578
|
+
"helpText"?: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
3581
|
+
*/
|
|
3582
|
+
"identifier": string;
|
|
3583
|
+
/**
|
|
3584
|
+
* Define input invalid state
|
|
3585
|
+
*/
|
|
3586
|
+
"invalid"?: boolean;
|
|
3587
|
+
/**
|
|
3588
|
+
* Input label
|
|
3589
|
+
*/
|
|
3590
|
+
"label": string;
|
|
3591
|
+
/**
|
|
3592
|
+
* Define if label is visible
|
|
3593
|
+
* @default false
|
|
3594
|
+
*/
|
|
3595
|
+
"labelHide"?: boolean;
|
|
3596
|
+
/**
|
|
3597
|
+
* Define if label is displayed on top
|
|
3598
|
+
* @default false
|
|
3599
|
+
*/
|
|
3600
|
+
"labelOnTop"?: boolean;
|
|
3601
|
+
/**
|
|
3602
|
+
* Define max file size (in octets)
|
|
3603
|
+
*/
|
|
3604
|
+
"maxSize"?: number;
|
|
3605
|
+
/**
|
|
3606
|
+
* Define multiple files When the multiple Boolean attribute is specified, the file input allows the user to select more than one file. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple).
|
|
3607
|
+
* @default false
|
|
3608
|
+
*/
|
|
3609
|
+
"multiple"?: boolean;
|
|
3610
|
+
/**
|
|
3611
|
+
* Input name If not set the value equals the identifier
|
|
3612
|
+
* @default this.identifier
|
|
3613
|
+
*/
|
|
3614
|
+
"name"?: string;
|
|
3615
|
+
/**
|
|
3616
|
+
* Emitted event when checking validity
|
|
3617
|
+
*/
|
|
3618
|
+
"onInput-valid"?: (event: MgInputFileCustomEvent<HTMLMgInputFileElement['valid']>) => void;
|
|
3619
|
+
/**
|
|
3620
|
+
* Emitted event when value change
|
|
3621
|
+
*/
|
|
3622
|
+
"onValue-change"?: (event: MgInputFileCustomEvent<HTMLMgInputFileElement['value']>) => void;
|
|
3623
|
+
/**
|
|
3624
|
+
* Define if input is required
|
|
3625
|
+
* @default false
|
|
3626
|
+
*/
|
|
3627
|
+
"required"?: boolean;
|
|
3628
|
+
/**
|
|
3629
|
+
* Add a tooltip message next to the input
|
|
3630
|
+
*/
|
|
3631
|
+
"tooltip"?: string;
|
|
3632
|
+
/**
|
|
3633
|
+
* Define tooltip position
|
|
3634
|
+
* @default 'input'
|
|
3635
|
+
*/
|
|
3636
|
+
"tooltipPosition"?: TooltipPosition;
|
|
3637
|
+
/**
|
|
3638
|
+
* Define input valid state
|
|
3639
|
+
*/
|
|
3640
|
+
"valid"?: boolean;
|
|
3641
|
+
/**
|
|
3642
|
+
* Component value
|
|
3643
|
+
*/
|
|
3644
|
+
"value"?: any;
|
|
3645
|
+
}
|
|
3409
3646
|
interface MgInputNumeric {
|
|
3410
3647
|
/**
|
|
3411
3648
|
* Define currency
|
|
@@ -3730,9 +3967,14 @@ declare namespace LocalJSX {
|
|
|
3730
3967
|
*/
|
|
3731
3968
|
"labelOnTop"?: boolean;
|
|
3732
3969
|
/**
|
|
3733
|
-
* Editor modules configuration
|
|
3970
|
+
* Editor modules configuration. Must be passed as an array (e.g. modules=['bold', 'italic', '|', 'ul', 'ol']). Use `|` for a separator/divider in the toolbar. Available modules: - **Text formatting**: `bold`, `italic`, `underline`, `strikethrough`, `eraser` - **Lists**: `ul` (unordered list), `ol` (ordered list) - **Text positioning**: `superscript`, `subscript` - **Colors**: `brush` (text color/background) - **Media**: `link`, `image`, `file` - **Tables**: `table` - **History**: `undo`, `redo` - **Other**: `print`, `source` (HTML source editor)
|
|
3734
3971
|
*/
|
|
3735
|
-
"modules"?:
|
|
3972
|
+
"modules"?: ButtonsOption;
|
|
3973
|
+
/**
|
|
3974
|
+
* Input name If not set the value equals the identifier
|
|
3975
|
+
* @default this.identifier
|
|
3976
|
+
*/
|
|
3977
|
+
"name"?: string;
|
|
3736
3978
|
/**
|
|
3737
3979
|
* Emited event when checking validity
|
|
3738
3980
|
*/
|
|
@@ -3764,10 +4006,14 @@ declare namespace LocalJSX {
|
|
|
3764
4006
|
*/
|
|
3765
4007
|
"required"?: boolean;
|
|
3766
4008
|
/**
|
|
3767
|
-
* Define the number of visible text lines for the
|
|
4009
|
+
* Define the number of visible text lines for the editor. Impacts the editor height. Content can grow beyond this minimum.
|
|
3768
4010
|
* @default 5
|
|
3769
4011
|
*/
|
|
3770
4012
|
"rows"?: number;
|
|
4013
|
+
/**
|
|
4014
|
+
* Sanitizer configuration in native format. Use disallowTags (array of tag names) and/or disallowAttributes (object mapping tag names to string arrays). Use "*" as tag key to disallow attributes on all tags.
|
|
4015
|
+
*/
|
|
4016
|
+
"sanitizerOptions"?: SanitizerOptions;
|
|
3771
4017
|
/**
|
|
3772
4018
|
* Add a tooltip message next to the input
|
|
3773
4019
|
*/
|
|
@@ -4204,10 +4450,6 @@ declare namespace LocalJSX {
|
|
|
4204
4450
|
* @default { icon: 'ellipsis-vertical' }
|
|
4205
4451
|
*/
|
|
4206
4452
|
"icon"?: IconType2;
|
|
4207
|
-
/**
|
|
4208
|
-
* Define component child menu size.
|
|
4209
|
-
*/
|
|
4210
|
-
"size"?: SizeType1;
|
|
4211
4453
|
/**
|
|
4212
4454
|
* Define slot label element
|
|
4213
4455
|
* @default { display: false }
|
|
@@ -4232,7 +4474,7 @@ declare namespace LocalJSX {
|
|
|
4232
4474
|
*/
|
|
4233
4475
|
"direction"?: Direction;
|
|
4234
4476
|
/**
|
|
4235
|
-
* Customize "mg-item-more" element Used with direction: '
|
|
4477
|
+
* Customize "mg-item-more" element Used with direction: 'horizontal' to manage overflow
|
|
4236
4478
|
*/
|
|
4237
4479
|
"itemmore"?: ItemMoreType;
|
|
4238
4480
|
/**
|
|
@@ -4240,10 +4482,10 @@ declare namespace LocalJSX {
|
|
|
4240
4482
|
*/
|
|
4241
4483
|
"label": string;
|
|
4242
4484
|
/**
|
|
4243
|
-
*
|
|
4244
|
-
* @
|
|
4485
|
+
* Size of the menu items
|
|
4486
|
+
* @deprecated this prop is deprecated and will be removed in future releases
|
|
4245
4487
|
*/
|
|
4246
|
-
"size"?:
|
|
4488
|
+
"size"?: never;
|
|
4247
4489
|
}
|
|
4248
4490
|
interface MgMenuItem {
|
|
4249
4491
|
/**
|
|
@@ -4260,6 +4502,11 @@ declare namespace LocalJSX {
|
|
|
4260
4502
|
* @default createID('mg-menu-item')
|
|
4261
4503
|
*/
|
|
4262
4504
|
"identifier"?: string;
|
|
4505
|
+
/**
|
|
4506
|
+
* Define menu-item isIcon style.
|
|
4507
|
+
* @default false
|
|
4508
|
+
*/
|
|
4509
|
+
"isIcon"?: boolean;
|
|
4263
4510
|
/**
|
|
4264
4511
|
* Emited event when item is loaded
|
|
4265
4512
|
*/
|
|
@@ -4512,6 +4759,11 @@ declare namespace LocalJSX {
|
|
|
4512
4759
|
"onGo-to-anchor"?: (event: MgSkipLinksCustomEvent<string>) => void;
|
|
4513
4760
|
}
|
|
4514
4761
|
interface MgTable {
|
|
4762
|
+
/**
|
|
4763
|
+
* Define if table has no outer border
|
|
4764
|
+
* @default false
|
|
4765
|
+
*/
|
|
4766
|
+
"borderHide"?: boolean;
|
|
4515
4767
|
/**
|
|
4516
4768
|
* Define column properties
|
|
4517
4769
|
*/
|
|
@@ -4550,10 +4802,10 @@ declare namespace LocalJSX {
|
|
|
4550
4802
|
*/
|
|
4551
4803
|
"onActive-tab-change"?: (event: MgTabsCustomEvent<HTMLMgTabsElement['activeTab']>) => void;
|
|
4552
4804
|
/**
|
|
4553
|
-
*
|
|
4554
|
-
* @
|
|
4805
|
+
* Size of the tabs items.
|
|
4806
|
+
* @deprecated this prop is deprecated and will be removed in future releases. Please use CSS custom properties to set the size of tabs items.
|
|
4555
4807
|
*/
|
|
4556
|
-
"size"?:
|
|
4808
|
+
"size"?: never;
|
|
4557
4809
|
}
|
|
4558
4810
|
interface MgTag {
|
|
4559
4811
|
/**
|
|
@@ -4608,6 +4860,7 @@ declare namespace LocalJSX {
|
|
|
4608
4860
|
"mg-action-more": MgActionMore;
|
|
4609
4861
|
"mg-alert": MgAlert;
|
|
4610
4862
|
"mg-badge": MgBadge;
|
|
4863
|
+
"mg-breadcrumb": MgBreadcrumb;
|
|
4611
4864
|
"mg-button": MgButton;
|
|
4612
4865
|
"mg-card": MgCard;
|
|
4613
4866
|
"mg-character-left": MgCharacterLeft;
|
|
@@ -4622,6 +4875,7 @@ declare namespace LocalJSX {
|
|
|
4622
4875
|
"mg-input-checkbox-paginated": MgInputCheckboxPaginated;
|
|
4623
4876
|
"mg-input-combobox": MgInputCombobox;
|
|
4624
4877
|
"mg-input-date": MgInputDate;
|
|
4878
|
+
"mg-input-file": MgInputFile;
|
|
4625
4879
|
"mg-input-numeric": MgInputNumeric;
|
|
4626
4880
|
"mg-input-password": MgInputPassword;
|
|
4627
4881
|
"mg-input-radio": MgInputRadio;
|
|
@@ -4657,6 +4911,7 @@ declare module "@stencil/core" {
|
|
|
4657
4911
|
"mg-action-more": LocalJSX.MgActionMore & JSXBase.HTMLAttributes<HTMLMgActionMoreElement>;
|
|
4658
4912
|
"mg-alert": LocalJSX.MgAlert & JSXBase.HTMLAttributes<HTMLMgAlertElement>;
|
|
4659
4913
|
"mg-badge": LocalJSX.MgBadge & JSXBase.HTMLAttributes<HTMLMgBadgeElement>;
|
|
4914
|
+
"mg-breadcrumb": LocalJSX.MgBreadcrumb & JSXBase.HTMLAttributes<HTMLMgBreadcrumbElement>;
|
|
4660
4915
|
"mg-button": LocalJSX.MgButton & JSXBase.HTMLAttributes<HTMLMgButtonElement>;
|
|
4661
4916
|
"mg-card": LocalJSX.MgCard & JSXBase.HTMLAttributes<HTMLMgCardElement>;
|
|
4662
4917
|
"mg-character-left": LocalJSX.MgCharacterLeft & JSXBase.HTMLAttributes<HTMLMgCharacterLeftElement>;
|
|
@@ -4674,6 +4929,7 @@ declare module "@stencil/core" {
|
|
|
4674
4929
|
"mg-input-checkbox-paginated": LocalJSX.MgInputCheckboxPaginated & JSXBase.HTMLAttributes<HTMLMgInputCheckboxPaginatedElement>;
|
|
4675
4930
|
"mg-input-combobox": LocalJSX.MgInputCombobox & JSXBase.HTMLAttributes<HTMLMgInputComboboxElement>;
|
|
4676
4931
|
"mg-input-date": LocalJSX.MgInputDate & JSXBase.HTMLAttributes<HTMLMgInputDateElement>;
|
|
4932
|
+
"mg-input-file": LocalJSX.MgInputFile & JSXBase.HTMLAttributes<HTMLMgInputFileElement>;
|
|
4677
4933
|
"mg-input-numeric": LocalJSX.MgInputNumeric & JSXBase.HTMLAttributes<HTMLMgInputNumericElement>;
|
|
4678
4934
|
"mg-input-password": LocalJSX.MgInputPassword & JSXBase.HTMLAttributes<HTMLMgInputPasswordElement>;
|
|
4679
4935
|
"mg-input-radio": LocalJSX.MgInputRadio & JSXBase.HTMLAttributes<HTMLMgInputRadioElement>;
|