@mgdis/mg-components 5.11.0 → 5.12.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/loader.cjs.js +1 -1
- package/dist/cjs/mg-action-more_31.cjs.entry.js +294 -249
- package/dist/cjs/mg-components.cjs.js +1 -1
- package/dist/cjs/mg-item-more.cjs.entry.js +1 -1
- package/dist/cjs/{mg-menu.conf-05ec32a3.js → mg-menu.conf-79f0c761.js} +12 -2
- package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js +0 -218
- package/dist/collection/components/atoms/mg-icon/mg-icon.css +0 -7
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +6 -9
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.css +34 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +159 -17
- package/dist/collection/components/molecules/mg-details/mg-details.css +20 -3
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +4 -4
- package/dist/collection/locales/en/messages.json +6 -1
- package/dist/collection/locales/fr/messages.json +6 -1
- package/dist/collection/styles/a11y.scss +5 -1
- package/dist/collection/styles/typography.scss +7 -0
- package/dist/collection/variables.css +8 -0
- package/dist/components/index2.js +12 -2
- package/dist/components/mg-details.js +1 -1
- package/dist/components/mg-icon2.js +157 -227
- package/dist/components/mg-input-checkbox.js +170 -26
- package/dist/components/mg-pagination.js +1 -170
- package/dist/components/mg-pagination2.js +172 -0
- package/dist/components/mg-popover2.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mg-action-more_31.entry.js +294 -249
- package/dist/esm/mg-components.js +1 -1
- package/dist/esm/mg-item-more.entry.js +1 -1
- package/dist/esm/{mg-menu.conf-c8aa56ce.js → mg-menu.conf-850d4c6e.js} +12 -2
- package/dist/mg-components/locales/en/messages.json +6 -1
- package/dist/mg-components/locales/fr/messages.json +6 -1
- package/dist/mg-components/mg-components.css +1 -1
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/p-60b7afd9.entry.js +1 -0
- package/dist/mg-components/{p-d3ed97d3.entry.js → p-67ba5d05.entry.js} +1 -1
- package/dist/mg-components/p-689503fc.js +1 -0
- package/dist/mg-components/styles/a11y.scss +5 -1
- package/dist/mg-components/styles/typography.scss +7 -0
- package/dist/mg-components/variables.css +8 -0
- package/dist/types/components/atoms/mg-icon/mg-icon.conf.d.ts +0 -4
- package/dist/types/components/atoms/mg-icon/mg-icon.d.ts +0 -5
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +4 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +79 -2
- package/dist/types/components/molecules/mg-popover/mg-popover.d.ts +1 -1
- package/dist/types/components.d.ts +8 -0
- package/dist/types/locales/index.d.ts +10 -0
- package/package.json +7 -5
- package/dist/mg-components/p-51c2def3.entry.js +0 -1
- package/dist/mg-components/p-b14be68b.js +0 -1
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as createID } from './components.utils.js';
|
|
3
|
+
import { i as initLocales } from './index2.js';
|
|
4
|
+
import { d as defineCustomElement$5 } from './mg-button2.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './mg-icon2.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './mg-input-select2.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './mg-input-title2.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './mg-tooltip2.js';
|
|
9
|
+
|
|
10
|
+
var NavigationAction;
|
|
11
|
+
(function (NavigationAction) {
|
|
12
|
+
NavigationAction["NEXT"] = "next";
|
|
13
|
+
NavigationAction["PREVIOUS"] = "previous";
|
|
14
|
+
})(NavigationAction || (NavigationAction = {}));
|
|
15
|
+
|
|
16
|
+
const mgPaginationCss = ".sr-only{border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}*:focus:not(:focus-visible){outline:none}@media (prefers-reduced-motion){.mg-a11y-animation{animation:none !important;transition:none !important}}.mg-pagination{display:flex;align-items:center;flex-direction:row}.mg-pagination mg-input-select{margin-right:0.5rem}.mg-pagination mg-button{display:flex}.mg-pagination mg-button:first-of-type{margin-right:1rem}.mg-pagination mg-button:last-of-type{margin-left:1rem}";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Range generator
|
|
20
|
+
*
|
|
21
|
+
* ```
|
|
22
|
+
* start by get the range length, add "+ 1" to include last value, ex: Math.ceil((3 + 1 - 1) / 1) => 3
|
|
23
|
+
* then with Array(Math.ceil...) we get the final array with empty values, ex: Array(Math.ceil(2 + 1 - 1) / 1)) => [empty, empty, empty]
|
|
24
|
+
* then with Array(Math.ceil...).keys() we get the Array Iterator from empty values
|
|
25
|
+
* then with Array.from(Array(...)) we get the complete array with "index" values instead of "empty" values
|
|
26
|
+
* ex: Array.from(Array(Math.ceil((2 + 1 - 1) / 1) || 1).keys()) => [0, 1, 2]
|
|
27
|
+
* finaly we map values from "start" range and apply the "step" coefficiant,
|
|
28
|
+
* ex: Array.from(Array(Math.ceil((2 + 1 - 1) / 1) || 1).keys()).map(x => 1 + x * 1) => [1, 2, 3]
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* range(1, 1) = [1]
|
|
32
|
+
* range(1, 5) = [1, 2, 3, 4, 5]
|
|
33
|
+
* range(10, 20, 2) = [10, 12, 14, 16, 18, 20]
|
|
34
|
+
* @param start - start range
|
|
35
|
+
* @param end - start end
|
|
36
|
+
* @param step - step size
|
|
37
|
+
* @returns range numbers
|
|
38
|
+
*/
|
|
39
|
+
const range = (start, end, step = 1) => Array.from(Array(Math.ceil((end + 1 - start) / step)).keys()).map(x => start + x * step);
|
|
40
|
+
const MgPagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
41
|
+
constructor() {
|
|
42
|
+
super();
|
|
43
|
+
this.__registerHost();
|
|
44
|
+
this.__attachShadow();
|
|
45
|
+
this.currentPageChange = createEvent(this, "current-page-change", 7);
|
|
46
|
+
/**
|
|
47
|
+
* Change current page from target
|
|
48
|
+
* @param target - target page
|
|
49
|
+
*/
|
|
50
|
+
this.goToPage = (target) => {
|
|
51
|
+
this.currentPage = target;
|
|
52
|
+
};
|
|
53
|
+
/************
|
|
54
|
+
* Handlers *
|
|
55
|
+
************/
|
|
56
|
+
/**
|
|
57
|
+
* select handler
|
|
58
|
+
* @param event - value change event
|
|
59
|
+
*/
|
|
60
|
+
this.handleSelect = (event) => {
|
|
61
|
+
const to = Number(event.target.value);
|
|
62
|
+
this.goToPage(to > 0 ? to : 1);
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Go to 'previous/next' page button handler
|
|
66
|
+
* @param action - navigation action
|
|
67
|
+
* @param disabled - button disable state
|
|
68
|
+
*/
|
|
69
|
+
this.handleGoToPage = (action, disabled) => {
|
|
70
|
+
!disabled && this.goToPage(action === NavigationAction.NEXT ? this.currentPage + 1 : this.currentPage - 1);
|
|
71
|
+
};
|
|
72
|
+
this.identifier = createID('mg-pagination');
|
|
73
|
+
this.label = undefined;
|
|
74
|
+
this.hideNavigationLabels = undefined;
|
|
75
|
+
this.totalPages = 1;
|
|
76
|
+
this.currentPage = 1;
|
|
77
|
+
}
|
|
78
|
+
validateTotalPages(newValue) {
|
|
79
|
+
if (newValue < 1) {
|
|
80
|
+
throw new Error('<mg-pagination> prop "totalPages" must be greater than 0');
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
validateCurrentPage(newValue) {
|
|
84
|
+
if (newValue < 1) {
|
|
85
|
+
throw new Error('<mg-pagination> prop "currentPage" must be greater than 0');
|
|
86
|
+
}
|
|
87
|
+
else if (newValue > this.totalPages) {
|
|
88
|
+
throw new Error('<mg-pagination> prop "currentPage" can not be greater than total page');
|
|
89
|
+
}
|
|
90
|
+
this.currentPageChange.emit(newValue);
|
|
91
|
+
}
|
|
92
|
+
/*************
|
|
93
|
+
* Lifecycle *
|
|
94
|
+
*************/
|
|
95
|
+
/**
|
|
96
|
+
* Check if props are well configured on init
|
|
97
|
+
*/
|
|
98
|
+
componentWillLoad() {
|
|
99
|
+
// Get locales
|
|
100
|
+
this.messages = initLocales(this.element).messages;
|
|
101
|
+
// Validate
|
|
102
|
+
this.validateTotalPages(this.totalPages);
|
|
103
|
+
this.validateCurrentPage(this.currentPage);
|
|
104
|
+
// Set default label
|
|
105
|
+
if (this.label === undefined || this.label === '') {
|
|
106
|
+
this.label = this.messages.pagination.label;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Render
|
|
111
|
+
* @returns HTML Element
|
|
112
|
+
*/
|
|
113
|
+
render() {
|
|
114
|
+
const navigationActionButton = (disabled, action) => (h("mg-button", { identifier: `${this.identifier}-button-${action}`, label: this.messages.pagination[`${action}Page`],
|
|
115
|
+
// eslint-disable-next-line react/jsx-no-bind
|
|
116
|
+
onClick: () => this.handleGoToPage(action, disabled), disabled: disabled, variant: "flat", isIcon: this.hideNavigationLabels }, action === NavigationAction.PREVIOUS && h("mg-icon", { icon: "chevron-left" }), !this.hideNavigationLabels && this.messages.general[action], action === NavigationAction.NEXT && h("mg-icon", { icon: "chevron-right" })));
|
|
117
|
+
return (h("nav", { "aria-label": this.label, id: this.identifier, class: "mg-pagination" }, navigationActionButton(this.currentPage <= 1, NavigationAction.PREVIOUS), h("mg-input-select", { identifier: `${this.identifier}-select`, items: range(1, this.totalPages).map(page => page.toString()), label: this.messages.pagination.selectPage, "label-hide": true, "on-value-change": this.handleSelect, value: this.currentPage.toString(), "placeholder-hide": true }), h("span", { class: "sr-only" }, this.messages.pagination.page, " ", this.currentPage), h("span", null, "/ ", this.totalPages, " ", this.totalPages > 1 ? this.messages.pagination.pages : this.messages.pagination.page), navigationActionButton(this.currentPage >= this.totalPages, NavigationAction.NEXT)));
|
|
118
|
+
}
|
|
119
|
+
get element() { return this; }
|
|
120
|
+
static get watchers() { return {
|
|
121
|
+
"totalPages": ["validateTotalPages"],
|
|
122
|
+
"currentPage": ["validateCurrentPage"]
|
|
123
|
+
}; }
|
|
124
|
+
static get style() { return mgPaginationCss; }
|
|
125
|
+
}, [1, "mg-pagination", {
|
|
126
|
+
"identifier": [1],
|
|
127
|
+
"label": [1025],
|
|
128
|
+
"hideNavigationLabels": [4, "hide-navigation-labels"],
|
|
129
|
+
"totalPages": [2, "total-pages"],
|
|
130
|
+
"currentPage": [1538, "current-page"]
|
|
131
|
+
}]);
|
|
132
|
+
function defineCustomElement() {
|
|
133
|
+
if (typeof customElements === "undefined") {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
const components = ["mg-pagination", "mg-button", "mg-icon", "mg-input-select", "mg-input-title", "mg-tooltip"];
|
|
137
|
+
components.forEach(tagName => { switch (tagName) {
|
|
138
|
+
case "mg-pagination":
|
|
139
|
+
if (!customElements.get(tagName)) {
|
|
140
|
+
customElements.define(tagName, MgPagination);
|
|
141
|
+
}
|
|
142
|
+
break;
|
|
143
|
+
case "mg-button":
|
|
144
|
+
if (!customElements.get(tagName)) {
|
|
145
|
+
defineCustomElement$5();
|
|
146
|
+
}
|
|
147
|
+
break;
|
|
148
|
+
case "mg-icon":
|
|
149
|
+
if (!customElements.get(tagName)) {
|
|
150
|
+
defineCustomElement$4();
|
|
151
|
+
}
|
|
152
|
+
break;
|
|
153
|
+
case "mg-input-select":
|
|
154
|
+
if (!customElements.get(tagName)) {
|
|
155
|
+
defineCustomElement$3();
|
|
156
|
+
}
|
|
157
|
+
break;
|
|
158
|
+
case "mg-input-title":
|
|
159
|
+
if (!customElements.get(tagName)) {
|
|
160
|
+
defineCustomElement$2();
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
case "mg-tooltip":
|
|
164
|
+
if (!customElements.get(tagName)) {
|
|
165
|
+
defineCustomElement$1();
|
|
166
|
+
}
|
|
167
|
+
break;
|
|
168
|
+
} });
|
|
169
|
+
}
|
|
170
|
+
defineCustomElement();
|
|
171
|
+
|
|
172
|
+
export { MgPagination as M, defineCustomElement as d };
|
|
@@ -34,7 +34,7 @@ const MgPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
34
34
|
*/
|
|
35
35
|
this.show = () => {
|
|
36
36
|
// Make the popover visible
|
|
37
|
-
this.
|
|
37
|
+
this.mgPopover.dataset.show = '';
|
|
38
38
|
// Enable the event listeners
|
|
39
39
|
this.popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [...options.modifiers, { name: 'eventListeners', enabled: true }] })));
|
|
40
40
|
// hide when click outside
|
|
@@ -50,7 +50,7 @@ const MgPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
50
50
|
*/
|
|
51
51
|
this.hide = () => {
|
|
52
52
|
// Hide the popover
|
|
53
|
-
this.
|
|
53
|
+
this.mgPopover.removeAttribute('data-show');
|
|
54
54
|
// Disable the event listeners
|
|
55
55
|
this.popper.setOptions(options => (Object.assign(Object.assign({}, options), { modifiers: [...options.modifiers, { name: 'eventListeners', enabled: false }] })));
|
|
56
56
|
// Remove event listener
|
|
@@ -120,14 +120,14 @@ const MgPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
120
120
|
this.closeButtonId = `${this.identifier}-close-button`;
|
|
121
121
|
}
|
|
122
122
|
// Get popover content
|
|
123
|
-
this.
|
|
123
|
+
this.mgPopover = this.element.shadowRoot.getElementById(this.identifier);
|
|
124
124
|
//Get interactive element (first element without slot attribute)
|
|
125
125
|
const interactiveElement = this.element.querySelector(':not([slot])');
|
|
126
126
|
// Add aria attributes
|
|
127
127
|
interactiveElement.setAttribute('aria-controls', this.identifier);
|
|
128
128
|
interactiveElement.setAttribute('aria-expanded', `${this.display}`);
|
|
129
129
|
// Create popperjs popover
|
|
130
|
-
this.popper = createPopper(interactiveElement, this.
|
|
130
|
+
this.popper = createPopper(interactiveElement, this.mgPopover, {
|
|
131
131
|
placement: this.placement,
|
|
132
132
|
strategy: 'fixed',
|
|
133
133
|
modifiers: [
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["mg-action-more_31",[[1,"mg-
|
|
14
|
+
return bootstrapLazy([["mg-action-more_31",[[1,"mg-input-checkbox",{"value":[1040],"type":[1025],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"inputVerticalList":[4,"input-vertical-list"],"required":[4],"readonly":[4],"displaySelectedValues":[4,"display-selected-values"],"disabled":[4],"tooltip":[1],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"classCollection":[32],"errorMessage":[32],"checkboxItems":[32],"displaySearchInput":[32],"currentSearchPage":[32],"searchValue":[32],"searchResults":[32],"displayError":[64]}],[1,"mg-action-more",{"icon":[16],"button":[16],"items":[16],"displayChevron":[4,"display-chevron"],"expanded":[32]}],[1,"mg-panel",{"identifier":[1],"panelTitle":[1025,"panel-title"],"titlePattern":[1,"title-pattern"],"titlePatternErrorMessage":[1,"title-pattern-error-message"],"expanded":[1028],"expandToggleDisabled":[4,"expand-toggle-disabled"],"titleEditable":[4,"title-editable"],"classCollection":[32],"isEditing":[32],"updatedPanelTitle":[32]}],[1,"mg-input-textarea",{"value":[1537],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"placeholder":[1],"maxlength":[2],"required":[4],"readonly":[4],"disabled":[4],"mgWidth":[8,"mg-width"],"pattern":[1],"patternErrorMessage":[1,"pattern-error-message"],"rows":[2],"tooltip":[1],"displayCharacterLeft":[4,"display-character-left"],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"resizable":[1],"classCollection":[32],"errorMessage":[32],"displayError":[64]}],[1,"mg-input-date",{"value":[1537],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"required":[4],"readonly":[4],"disabled":[4],"tooltip":[1],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"min":[1],"max":[1],"classCollection":[32],"errorMessage":[32],"displayError":[64]}],[1,"mg-input-numeric",{"value":[1537],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"placeholder":[1],"required":[4],"readonly":[4],"disabled":[4],"mgWidth":[8,"mg-width"],"tooltip":[1],"helpText":[1,"help-text"],"type":[1],"currency":[1],"max":[2],"min":[2],"integerLength":[2,"integer-length"],"decimalLength":[2,"decimal-length"],"valid":[1028],"invalid":[1028],"classCollection":[32],"errorMessage":[32],"hasFocus":[32],"displayError":[64]}],[1,"mg-input-password",{"value":[1537],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"placeholder":[1],"required":[4],"readonly":[4],"disabled":[4],"mgWidth":[8,"mg-width"],"tooltip":[1],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"classCollection":[32],"errorMessage":[32],"displayError":[64]}],[1,"mg-input-radio",{"value":[1032],"items":[16],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"inputVerticalList":[4,"input-vertical-list"],"required":[4],"readonly":[4],"disabled":[4],"tooltip":[1],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"classCollection":[32],"errorMessage":[32],"options":[32],"displayError":[64]}],[1,"mg-input-toggle",{"value":[1032],"items":[16],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"isOnOff":[4,"is-on-off"],"isIcon":[4,"is-icon"],"readonly":[4],"disabled":[4],"tooltip":[1],"helpText":[1,"help-text"],"classCollection":[32],"options":[32],"checked":[32]}],[1,"mg-message",{"identifier":[1],"delay":[2],"variant":[1],"closeButton":[1028,"close-button"],"hide":[1028],"classCollection":[32],"hasActions":[32]}],[1,"mg-modal",{"identifier":[1],"modalTitle":[1,"modal-title"],"closeButton":[4,"close-button"],"hide":[1028],"hasActions":[32],"hasContent":[32],"classCollection":[32]},[[8,"keydown","handleKeyDown"]]],[1,"mg-tabs",{"identifier":[1],"label":[1],"size":[1],"items":[16],"activeTab":[1538,"active-tab"],"tabs":[32],"classCollection":[32]}],[1,"mg-details",{"toggleClosed":[1,"toggle-closed"],"toggleOpened":[1,"toggle-opened"],"hideSummary":[4,"hide-summary"],"expanded":[1028]}],[1,"mg-divider",{"size":[1]}],[1,"mg-form",{"identifier":[1],"name":[1],"readonly":[4],"disabled":[4],"valid":[1028],"invalid":[1028],"classCollection":[32],"requiredMessage":[32],"displayError":[64]}],[1,"mg-illustrated-message",{"size":[1],"direction":[1]}],[1,"mg-skip-links",{"links":[16]}],[1,"mg-tag",{"variant":[1],"outline":[4],"soft":[4],"classCollection":[32]}],[1,"mg-pagination",{"identifier":[1],"label":[1025],"hideNavigationLabels":[4,"hide-navigation-labels"],"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"]}],[1,"mg-menu-item",{"identifier":[1],"href":[1],"status":[1537],"expanded":[1028],"size":[32],"navigationButtonClassList":[32],"direction":[32],"isInMainMenu":[32],"isItemMore":[32],"hasChildren":[32],"displayNotificationBadge":[32]}],[1,"mg-input-text",{"value":[1537],"identifier":[1],"name":[1],"label":[1],"type":[1],"icon":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"placeholder":[1],"maxlength":[2],"required":[4],"readonly":[4],"disabled":[4],"mgWidth":[8,"mg-width"],"pattern":[1],"patternErrorMessage":[1,"pattern-error-message"],"tooltip":[1],"displayCharacterLeft":[4,"display-character-left"],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"classCollection":[32],"errorMessage":[32],"setFocus":[64],"displayError":[64]}],[1,"mg-input-select",{"value":[1032],"items":[16],"identifier":[1],"name":[1],"label":[1],"labelOnTop":[4,"label-on-top"],"labelHide":[4,"label-hide"],"placeholder":[1025],"placeholderHide":[4,"placeholder-hide"],"placeholderDisabled":[4,"placeholder-disabled"],"required":[4],"readonly":[4],"disabled":[4],"mgWidth":[8,"mg-width"],"tooltip":[1],"helpText":[1,"help-text"],"valid":[1028],"invalid":[1028],"classCollection":[32],"errorMessage":[32],"options":[32],"valueExist":[32],"readonlyValue":[32],"displayError":[64]}],[1,"mg-menu",{"label":[1],"direction":[513],"itemmore":[16],"size":[1],"isChildMenu":[32]}],[1,"mg-popover",{"identifier":[1],"placement":[1],"arrowHide":[4,"arrow-hide"],"closeButton":[4,"close-button"],"display":[1028],"disabled":[4],"classCollection":[32]}],[1,"mg-badge",{"value":[8],"label":[1],"variant":[1],"outline":[4],"classCollection":[32]}],[2,"mg-character-left",{"identifier":[1],"characters":[1],"maxlength":[2]}],[1,"mg-card",{"variant":[1],"variantStyle":[1025,"variant-style"],"classCollection":[32]}],[1,"mg-button",{"variant":[1],"identifier":[1],"label":[1],"type":[1],"fullWidth":[4,"full-width"],"form":[1],"disabled":[1028],"isIcon":[4,"is-icon"],"disableOnClick":[4,"disable-on-click"],"loading":[32],"classCollection":[32]}],[6,"mg-input-title",{"identifier":[1],"required":[4],"isLegend":[4,"is-legend"],"tagName":[32]}],[1,"mg-tooltip",{"identifier":[1],"message":[1],"placement":[1],"display":[1028],"disabled":[4]}],[1,"mg-icon",{"icon":[1],"size":[1],"variant":[1],"variantStyle":[1025,"variant-style"],"spin":[4],"classCollection":[32]}]]],["mg-item-more",[[1,"mg-item-more",{"icon":[16],"slotlabel":[16],"size":[1],"parentMenu":[32]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|