@mgdis/mg-components 6.14.0 → 6.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-DzBkSgSK.js → index-BGxkpQwi.js} +7 -1
- package/dist/cjs/{index-DUJwxnoi.js → index-CpENFzEo.js} +2 -2
- package/dist/cjs/{index-CwjAofQ1.js → index-iUZvsp-F.js} +55 -31
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mg-action-more_37.cjs.entry.js +431 -208
- package/dist/cjs/mg-alert.cjs.entry.js +4 -4
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-input-combobox.cjs.entry.js +145 -81
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +1248 -16004
- package/dist/cjs/{mg-input.conf-WTsvDfpC.js → mg-input.conf-CwjEAih3.js} +7 -0
- package/dist/cjs/mg-input.utils-D-ASK4ua.js +49 -0
- package/dist/cjs/mg-loader.cjs.entry.js +4 -4
- package/dist/cjs/mg-progress.cjs.entry.js +3 -3
- package/dist/collection/assets/icons/index.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/atoms/mg-icon/mg-icon.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 +93 -22
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.utils.js +21 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +49 -106
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +123 -48
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +140 -56
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +6 -1
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +63 -10
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +54 -6
- 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 +142 -9
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +1 -1
- 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-details/mg-details.js +1 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js +1 -1
- 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 +2 -2
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +1 -1
- package/dist/collection/locales/en/messages.json +23 -14
- package/dist/collection/locales/fr/messages.json +24 -15
- package/dist/components/index2.js +3 -3
- package/dist/components/index3.js +55 -31
- package/dist/components/mg-action-more.js +2 -2
- package/dist/components/mg-alert.js +2 -2
- package/dist/components/mg-badge2.js +1 -1
- package/dist/components/mg-button2.js +1 -1
- package/dist/components/mg-card2.js +1 -1
- package/dist/components/mg-character-left2.js +1 -1
- package/dist/components/mg-details.js +1 -97
- package/dist/components/mg-details2.js +99 -0
- package/dist/components/mg-divider2.js +1 -1
- package/dist/components/mg-form.js +2 -2
- package/dist/components/mg-icon2.js +1 -1
- package/dist/components/mg-illustrated-message.js +2 -2
- package/dist/components/mg-input-checkbox-paginated2.js +43 -124
- package/dist/components/mg-input-checkbox.js +136 -62
- package/dist/components/mg-input-combobox.js +135 -63
- package/dist/components/mg-input-date.js +9 -3
- package/dist/components/mg-input-numeric.js +14 -3
- package/dist/components/mg-input-password.js +10 -4
- package/dist/components/mg-input-radio.js +54 -13
- package/dist/components/mg-input-rich-text-editor.js +1266 -16016
- package/dist/components/mg-input-select2.js +45 -9
- package/dist/components/mg-input-text2.js +10 -4
- package/dist/components/mg-input-textarea.js +10 -4
- package/dist/components/mg-input-title2.js +1 -1
- package/dist/components/mg-input-toggle.js +97 -12
- package/dist/components/mg-input.utils.js +24 -0
- package/dist/components/mg-input2.js +100 -23
- package/dist/components/mg-item-more2.js +2 -2
- package/dist/components/mg-loader2.js +2 -2
- package/dist/components/mg-menu-item2.js +1 -1
- package/dist/components/mg-message2.js +3 -3
- package/dist/components/mg-modal.js +3 -3
- package/dist/components/mg-pagination.js +233 -1
- package/dist/components/mg-panel.js +14 -8
- package/dist/components/mg-popover-content2.js +2 -2
- package/dist/components/mg-popover2.js +2 -2
- package/dist/components/mg-progress.js +2 -2
- package/dist/components/mg-skip-links.js +2 -2
- package/dist/components/mg-table.js +3 -3
- package/dist/components/mg-tabs.js +1 -311
- package/dist/components/mg-tabs2.js +313 -0
- package/dist/components/mg-tag.js +1 -1
- package/dist/components/mg-tooltip-content2.js +1 -1
- package/dist/components/mg-tooltip2.js +2 -2
- package/dist/esm/{index-Bv7NHR-W.js → index-CKB-AnCZ.js} +55 -31
- package/dist/esm/{index-Degtjvph.js → index-DhAOnZJn.js} +7 -1
- package/dist/esm/{index-Dr7GYvIz.js → index-WtiuOkLj.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mg-action-more_37.entry.js +426 -203
- package/dist/esm/mg-alert.entry.js +4 -4
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-input-combobox.entry.js +125 -61
- package/dist/esm/mg-input-rich-text-editor.entry.js +1249 -16005
- package/dist/esm/{mg-input.conf-CNgv8hc5.js → mg-input.conf-BAUTlb6r.js} +7 -1
- package/dist/esm/mg-input.utils-BYI03zSi.js +46 -0
- package/dist/esm/mg-loader.entry.js +4 -4
- package/dist/esm/mg-progress.entry.js +3 -3
- package/dist/mg-components/locales/en/messages.json +23 -14
- package/dist/mg-components/locales/fr/messages.json +24 -15
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/p-31856cff.entry.js +1 -0
- package/dist/mg-components/{p-056ba467.entry.js → p-420daa1e.entry.js} +1 -1
- package/dist/mg-components/{p-d13a6fdc.entry.js → p-47e19783.entry.js} +1 -1
- package/dist/mg-components/p-67af6274.entry.js +1 -0
- package/dist/mg-components/p-698dfc6c.entry.js +1 -0
- package/dist/mg-components/p-BAUTlb6r.js +1 -0
- package/dist/mg-components/p-CKB-AnCZ.js +1 -0
- package/dist/mg-components/p-DhAOnZJn.js +2 -0
- package/dist/mg-components/p-PuX-pdL4.js +1 -0
- package/dist/mg-components/p-WtiuOkLj.js +1 -0
- package/dist/mg-components/p-a0fa44cf.entry.js +1 -0
- package/dist/types/assets/icons/index.d.ts +6 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +13 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +15 -4
- package/dist/types/components/molecules/inputs/mg-input/mg-input.utils.d.ts +8 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +17 -40
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +1 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +36 -9
- package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.d.ts +17 -3
- package/dist/types/components/molecules/inputs/mg-input-radio/mg-input-radio.d.ts +18 -0
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +18 -0
- package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +40 -4
- package/dist/types/components.d.ts +69 -40
- package/ide/intellij/web-types.json +148 -22
- package/ide/vscode/html-custom-data.json +143 -9
- package/package.json +15 -15
- package/dist/cjs/events.utils-D5SAtkpQ.js +0 -25
- package/dist/components/mg-pagination2.js +0 -229
- package/dist/esm/events.utils-yMGqY8YG.js +0 -23
- package/dist/mg-components/p-625c463c.entry.js +0 -1
- package/dist/mg-components/p-Bv7NHR-W.js +0 -1
- package/dist/mg-components/p-CNgv8hc5.js +0 -1
- package/dist/mg-components/p-Degtjvph.js +0 -2
- package/dist/mg-components/p-Dr7GYvIz.js +0 -1
- package/dist/mg-components/p-c522f3c1.entry.js +0 -1
- package/dist/mg-components/p-cac23bd7.entry.js +0 -1
- package/dist/mg-components/p-e75f5383.entry.js +0 -10
- package/dist/mg-components/p-yMGqY8YG.js +0 -1
|
@@ -13,8 +13,8 @@ import { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
|
|
|
13
13
|
import { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
|
|
14
14
|
import { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
15
15
|
import { IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
|
|
16
|
-
import { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
17
|
-
import { CheckboxItem, CheckboxType, CheckboxValue
|
|
16
|
+
import { ErrorMessageDetailsType, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
17
|
+
import { CheckboxItem, CheckboxType, CheckboxValue } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
|
|
18
18
|
import { Direction, Option } from "./types";
|
|
19
19
|
import { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
|
|
20
20
|
import { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
@@ -45,8 +45,8 @@ export { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
|
|
|
45
45
|
export { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
|
|
46
46
|
export { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
47
47
|
export { IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
|
|
48
|
-
export { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
49
|
-
export { CheckboxItem, CheckboxType, CheckboxValue
|
|
48
|
+
export { ErrorMessageDetailsType, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
49
|
+
export { CheckboxItem, CheckboxType, CheckboxValue } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
|
|
50
50
|
export { Direction, Option } from "./types";
|
|
51
51
|
export { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
|
|
52
52
|
export { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
@@ -319,7 +319,7 @@ export namespace Components {
|
|
|
319
319
|
/**
|
|
320
320
|
* Define error message to display
|
|
321
321
|
*/
|
|
322
|
-
"errorMessage"?: string;
|
|
322
|
+
"errorMessage"?: string | ErrorMessageDetailsType;
|
|
323
323
|
/**
|
|
324
324
|
* Define help text to display
|
|
325
325
|
*/
|
|
@@ -375,7 +375,7 @@ export namespace Components {
|
|
|
375
375
|
/**
|
|
376
376
|
* Overwrite default "edit" button message
|
|
377
377
|
*/
|
|
378
|
-
"editButtonMessage"
|
|
378
|
+
"editButtonMessage"?: string;
|
|
379
379
|
/**
|
|
380
380
|
* Add a help text under the input, usually expected data format and example
|
|
381
381
|
*/
|
|
@@ -412,6 +412,10 @@ export namespace Components {
|
|
|
412
412
|
* @default this.identifier
|
|
413
413
|
*/
|
|
414
414
|
"name": string;
|
|
415
|
+
/**
|
|
416
|
+
* Define no value error detail
|
|
417
|
+
*/
|
|
418
|
+
"noValueErrorDetail"?: string;
|
|
415
419
|
/**
|
|
416
420
|
* Define if mg-input-checkbox is readonly
|
|
417
421
|
* @default false
|
|
@@ -429,7 +433,7 @@ export namespace Components {
|
|
|
429
433
|
/**
|
|
430
434
|
* Overwrite default "select" button message
|
|
431
435
|
*/
|
|
432
|
-
"selectButtonMessage"
|
|
436
|
+
"selectButtonMessage"?: string;
|
|
433
437
|
/**
|
|
434
438
|
* Set an error and display a custom error message. This method can be used to set the component's error state from its context by passing a boolean value to the `valid` parameter. It must be paired with an error message to display for the given context. When used to set validity to `false`, you should use this method again to reset the validity to `true`.
|
|
435
439
|
* @param valid - value indicating the validity
|
|
@@ -443,7 +447,7 @@ export namespace Components {
|
|
|
443
447
|
/**
|
|
444
448
|
* Overwrite default "show" button message
|
|
445
449
|
*/
|
|
446
|
-
"showButtonMessage"
|
|
450
|
+
"showButtonMessage"?: string;
|
|
447
451
|
/**
|
|
448
452
|
* Add a tooltip message next to the input
|
|
449
453
|
*/
|
|
@@ -472,14 +476,8 @@ export namespace Components {
|
|
|
472
476
|
interface MgInputCheckboxPaginated {
|
|
473
477
|
/**
|
|
474
478
|
* Define checkboxes to paginate
|
|
475
|
-
* @default []
|
|
476
479
|
*/
|
|
477
480
|
"checkboxes": CheckboxItem[];
|
|
478
|
-
/**
|
|
479
|
-
* Current page
|
|
480
|
-
* @default 1
|
|
481
|
-
*/
|
|
482
|
-
"currentPage": number;
|
|
483
481
|
/**
|
|
484
482
|
* Define if mg-input-checkbox-list is disabled
|
|
485
483
|
* @default false
|
|
@@ -502,6 +500,10 @@ export namespace Components {
|
|
|
502
500
|
* @default false
|
|
503
501
|
*/
|
|
504
502
|
"readonly": boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Method to reset limit
|
|
505
|
+
*/
|
|
506
|
+
"resetLimit": () => Promise<void>;
|
|
505
507
|
}
|
|
506
508
|
interface MgInputCombobox {
|
|
507
509
|
/**
|
|
@@ -574,6 +576,10 @@ export namespace Components {
|
|
|
574
576
|
* @default this.identifier
|
|
575
577
|
*/
|
|
576
578
|
"name": string;
|
|
579
|
+
/**
|
|
580
|
+
* Define no value error detail
|
|
581
|
+
*/
|
|
582
|
+
"noValueErrorDetail"?: string;
|
|
577
583
|
/**
|
|
578
584
|
* Define input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help combobox.
|
|
579
585
|
*/
|
|
@@ -991,6 +997,10 @@ export namespace Components {
|
|
|
991
997
|
* @default this.identifier
|
|
992
998
|
*/
|
|
993
999
|
"name": string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Define no value error detail
|
|
1002
|
+
*/
|
|
1003
|
+
"noValueErrorDetail"?: string;
|
|
994
1004
|
/**
|
|
995
1005
|
* Define if input is readonly
|
|
996
1006
|
* @default false
|
|
@@ -1192,6 +1202,10 @@ export namespace Components {
|
|
|
1192
1202
|
* @default this.identifier
|
|
1193
1203
|
*/
|
|
1194
1204
|
"name": string;
|
|
1205
|
+
/**
|
|
1206
|
+
* Define no value error detail
|
|
1207
|
+
*/
|
|
1208
|
+
"noValueErrorDetail"?: string;
|
|
1195
1209
|
/**
|
|
1196
1210
|
* Input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help text.
|
|
1197
1211
|
*/
|
|
@@ -1524,6 +1538,10 @@ export namespace Components {
|
|
|
1524
1538
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
1525
1539
|
*/
|
|
1526
1540
|
"identifier": string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Define input invalid state
|
|
1543
|
+
*/
|
|
1544
|
+
"invalid": boolean;
|
|
1527
1545
|
/**
|
|
1528
1546
|
* Define if toggle display icon
|
|
1529
1547
|
* @default false
|
|
@@ -1557,6 +1575,10 @@ export namespace Components {
|
|
|
1557
1575
|
* @default this.identifier
|
|
1558
1576
|
*/
|
|
1559
1577
|
"name": string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Define no value error detail
|
|
1580
|
+
*/
|
|
1581
|
+
"noValueErrorDetail"?: string;
|
|
1560
1582
|
/**
|
|
1561
1583
|
* Define if input is readonly
|
|
1562
1584
|
* @default false
|
|
@@ -1585,6 +1607,10 @@ export namespace Components {
|
|
|
1585
1607
|
* @default 'input'
|
|
1586
1608
|
*/
|
|
1587
1609
|
"tooltipPosition": TooltipPosition;
|
|
1610
|
+
/**
|
|
1611
|
+
* Define input valid state
|
|
1612
|
+
*/
|
|
1613
|
+
"valid": boolean;
|
|
1588
1614
|
/**
|
|
1589
1615
|
* Component value
|
|
1590
1616
|
*/
|
|
@@ -1965,10 +1991,6 @@ export interface MgInputCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
1965
1991
|
detail: T;
|
|
1966
1992
|
target: HTMLMgInputCheckboxElement;
|
|
1967
1993
|
}
|
|
1968
|
-
export interface MgInputCheckboxPaginatedCustomEvent<T> extends CustomEvent<T> {
|
|
1969
|
-
detail: T;
|
|
1970
|
-
target: HTMLMgInputCheckboxPaginatedElement;
|
|
1971
|
-
}
|
|
1972
1994
|
export interface MgInputComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
1973
1995
|
detail: T;
|
|
1974
1996
|
target: HTMLMgInputComboboxElement;
|
|
@@ -2180,21 +2202,10 @@ declare global {
|
|
|
2180
2202
|
prototype: HTMLMgInputCheckboxElement;
|
|
2181
2203
|
new (): HTMLMgInputCheckboxElement;
|
|
2182
2204
|
};
|
|
2183
|
-
interface HTMLMgInputCheckboxPaginatedElementEventMap {
|
|
2184
|
-
"mass-action": SectionKindType;
|
|
2185
|
-
}
|
|
2186
2205
|
/**
|
|
2187
2206
|
* Internal component use to manage sections instances
|
|
2188
2207
|
*/
|
|
2189
2208
|
interface HTMLMgInputCheckboxPaginatedElement extends Components.MgInputCheckboxPaginated, HTMLStencilElement {
|
|
2190
|
-
addEventListener<K extends keyof HTMLMgInputCheckboxPaginatedElementEventMap>(type: K, listener: (this: HTMLMgInputCheckboxPaginatedElement, ev: MgInputCheckboxPaginatedCustomEvent<HTMLMgInputCheckboxPaginatedElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2191
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2192
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2193
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2194
|
-
removeEventListener<K extends keyof HTMLMgInputCheckboxPaginatedElementEventMap>(type: K, listener: (this: HTMLMgInputCheckboxPaginatedElement, ev: MgInputCheckboxPaginatedCustomEvent<HTMLMgInputCheckboxPaginatedElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2195
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2196
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2197
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2198
2209
|
}
|
|
2199
2210
|
var HTMLMgInputCheckboxPaginatedElement: {
|
|
2200
2211
|
prototype: HTMLMgInputCheckboxPaginatedElement;
|
|
@@ -2908,7 +2919,7 @@ declare namespace LocalJSX {
|
|
|
2908
2919
|
/**
|
|
2909
2920
|
* Define error message to display
|
|
2910
2921
|
*/
|
|
2911
|
-
"errorMessage"?: string;
|
|
2922
|
+
"errorMessage"?: string | ErrorMessageDetailsType;
|
|
2912
2923
|
/**
|
|
2913
2924
|
* Define help text to display
|
|
2914
2925
|
*/
|
|
@@ -2997,6 +3008,10 @@ declare namespace LocalJSX {
|
|
|
2997
3008
|
* @default this.identifier
|
|
2998
3009
|
*/
|
|
2999
3010
|
"name"?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* Define no value error detail
|
|
3013
|
+
*/
|
|
3014
|
+
"noValueErrorDetail"?: string;
|
|
3000
3015
|
/**
|
|
3001
3016
|
* Emited event when checking validity
|
|
3002
3017
|
*/
|
|
@@ -3051,14 +3066,8 @@ declare namespace LocalJSX {
|
|
|
3051
3066
|
interface MgInputCheckboxPaginated {
|
|
3052
3067
|
/**
|
|
3053
3068
|
* Define checkboxes to paginate
|
|
3054
|
-
* @default []
|
|
3055
3069
|
*/
|
|
3056
3070
|
"checkboxes"?: CheckboxItem[];
|
|
3057
|
-
/**
|
|
3058
|
-
* Current page
|
|
3059
|
-
* @default 1
|
|
3060
|
-
*/
|
|
3061
|
-
"currentPage"?: number;
|
|
3062
3071
|
/**
|
|
3063
3072
|
* Define if mg-input-checkbox-list is disabled
|
|
3064
3073
|
* @default false
|
|
@@ -3076,10 +3085,6 @@ declare namespace LocalJSX {
|
|
|
3076
3085
|
* Define mg-input-checkbox input name
|
|
3077
3086
|
*/
|
|
3078
3087
|
"name"?: string;
|
|
3079
|
-
/**
|
|
3080
|
-
* Emit 'mass-action' event used to informe that select-all/unselect-all button listner is triggered
|
|
3081
|
-
*/
|
|
3082
|
-
"onMass-action"?: (event: MgInputCheckboxPaginatedCustomEvent<SectionKindType>) => void;
|
|
3083
3088
|
/**
|
|
3084
3089
|
* Define if mg-input-checkbox-list is readonly
|
|
3085
3090
|
* @default false
|
|
@@ -3153,6 +3158,10 @@ declare namespace LocalJSX {
|
|
|
3153
3158
|
* @default this.identifier
|
|
3154
3159
|
*/
|
|
3155
3160
|
"name"?: string;
|
|
3161
|
+
/**
|
|
3162
|
+
* Define no value error detail
|
|
3163
|
+
*/
|
|
3164
|
+
"noValueErrorDetail"?: string;
|
|
3156
3165
|
/**
|
|
3157
3166
|
* Emited event when fetch API throw an error
|
|
3158
3167
|
*/
|
|
@@ -3542,6 +3551,10 @@ declare namespace LocalJSX {
|
|
|
3542
3551
|
* @default this.identifier
|
|
3543
3552
|
*/
|
|
3544
3553
|
"name"?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* Define no value error detail
|
|
3556
|
+
*/
|
|
3557
|
+
"noValueErrorDetail"?: string;
|
|
3545
3558
|
/**
|
|
3546
3559
|
* Emited event when checking validity
|
|
3547
3560
|
*/
|
|
@@ -3713,6 +3726,10 @@ declare namespace LocalJSX {
|
|
|
3713
3726
|
* @default this.identifier
|
|
3714
3727
|
*/
|
|
3715
3728
|
"name"?: string;
|
|
3729
|
+
/**
|
|
3730
|
+
* Define no value error detail
|
|
3731
|
+
*/
|
|
3732
|
+
"noValueErrorDetail"?: string;
|
|
3716
3733
|
/**
|
|
3717
3734
|
* Emited event when checking validity
|
|
3718
3735
|
*/
|
|
@@ -4019,6 +4036,10 @@ declare namespace LocalJSX {
|
|
|
4019
4036
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
4020
4037
|
*/
|
|
4021
4038
|
"identifier": string;
|
|
4039
|
+
/**
|
|
4040
|
+
* Define input invalid state
|
|
4041
|
+
*/
|
|
4042
|
+
"invalid"?: boolean;
|
|
4022
4043
|
/**
|
|
4023
4044
|
* Define if toggle display icon
|
|
4024
4045
|
* @default false
|
|
@@ -4052,6 +4073,10 @@ declare namespace LocalJSX {
|
|
|
4052
4073
|
* @default this.identifier
|
|
4053
4074
|
*/
|
|
4054
4075
|
"name"?: string;
|
|
4076
|
+
/**
|
|
4077
|
+
* Define no value error detail
|
|
4078
|
+
*/
|
|
4079
|
+
"noValueErrorDetail"?: string;
|
|
4055
4080
|
/**
|
|
4056
4081
|
* Emited event when checking validity
|
|
4057
4082
|
*/
|
|
@@ -4074,6 +4099,10 @@ declare namespace LocalJSX {
|
|
|
4074
4099
|
* @default 'input'
|
|
4075
4100
|
*/
|
|
4076
4101
|
"tooltipPosition"?: TooltipPosition;
|
|
4102
|
+
/**
|
|
4103
|
+
* Define input valid state
|
|
4104
|
+
*/
|
|
4105
|
+
"valid"?: boolean;
|
|
4077
4106
|
/**
|
|
4078
4107
|
* Component value
|
|
4079
4108
|
*/
|