@mgdis/mg-components 6.15.0 → 6.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/events.utils-D5SAtkpQ.js +25 -0
- package/dist/cjs/{index-BGxkpQwi.js → index-T3-qWqFE.js} +2 -2
- package/dist/cjs/{index-iUZvsp-F.js → index-YM1EJx9X.js} +8 -20
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mg-action-more_37.cjs.entry.js +68 -305
- package/dist/cjs/mg-alert.cjs.entry.js +2 -2
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-input-combobox.cjs.entry.js +78 -140
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +3 -3
- package/dist/cjs/{mg-input.conf-CwjEAih3.js → mg-input.conf-WTsvDfpC.js} +0 -7
- package/dist/cjs/mg-loader.cjs.entry.js +2 -2
- package/dist/cjs/mg-progress.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +0 -6
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +22 -93
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +1 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +13 -69
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +54 -136
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +10 -63
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +6 -54
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +9 -142
- package/dist/collection/locales/en/messages.json +3 -8
- package/dist/collection/locales/fr/messages.json +3 -8
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +8 -20
- package/dist/components/mg-details.js +97 -1
- package/dist/components/mg-input-checkbox-paginated2.js +1 -2
- package/dist/components/mg-input-checkbox.js +19 -63
- package/dist/components/mg-input-combobox.js +60 -130
- package/dist/components/mg-input-date.js +1 -7
- package/dist/components/mg-input-numeric.js +1 -7
- package/dist/components/mg-input-password.js +2 -8
- package/dist/components/mg-input-radio.js +12 -53
- package/dist/components/mg-input-rich-text-editor.js +1 -7
- package/dist/components/mg-input-select2.js +8 -44
- package/dist/components/mg-input-text2.js +2 -8
- package/dist/components/mg-input-textarea.js +2 -8
- package/dist/components/mg-input-toggle.js +11 -96
- package/dist/components/mg-input2.js +22 -99
- package/dist/components/mg-pagination.js +2 -8
- package/dist/components/mg-panel.js +7 -13
- package/dist/esm/events.utils-yMGqY8YG.js +23 -0
- package/dist/esm/{index-CKB-AnCZ.js → index-Bab8_u8S.js} +8 -20
- package/dist/esm/{index-DhAOnZJn.js → index-JHj_9FSs.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mg-action-more_37.entry.js +64 -301
- package/dist/esm/mg-alert.entry.js +2 -2
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-input-combobox.entry.js +59 -121
- package/dist/esm/mg-input-rich-text-editor.entry.js +3 -3
- package/dist/esm/{mg-input.conf-BAUTlb6r.js → mg-input.conf-CNgv8hc5.js} +1 -7
- package/dist/esm/mg-loader.entry.js +2 -2
- package/dist/esm/mg-progress.entry.js +1 -1
- package/dist/mg-components/locales/en/messages.json +3 -8
- package/dist/mg-components/locales/fr/messages.json +3 -8
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/{p-420daa1e.entry.js → p-42a90251.entry.js} +1 -1
- package/dist/mg-components/p-54156253.entry.js +1 -0
- package/dist/mg-components/{p-47e19783.entry.js → p-658f828c.entry.js} +1 -1
- package/dist/mg-components/{p-67af6274.entry.js → p-82455ac7.entry.js} +1 -1
- package/dist/mg-components/p-Bab8_u8S.js +1 -0
- package/dist/mg-components/p-CNgv8hc5.js +1 -0
- package/dist/mg-components/{p-DhAOnZJn.js → p-JHj_9FSs.js} +1 -1
- package/dist/mg-components/p-abbd151c.entry.js +1 -0
- package/dist/mg-components/{p-a0fa44cf.entry.js → p-c85b5d10.entry.js} +1 -1
- package/dist/mg-components/p-yMGqY8YG.js +1 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +0 -13
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +4 -15
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +3 -21
- package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.d.ts +2 -16
- package/dist/types/components/molecules/inputs/mg-input-radio/mg-input-radio.d.ts +0 -18
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +0 -18
- package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +4 -40
- package/dist/types/components.d.ts +7 -63
- package/ide/intellij/web-types.json +10 -136
- package/ide/vscode/html-custom-data.json +6 -104
- package/package.json +20 -20
- package/dist/cjs/mg-input.utils-D-ASK4ua.js +0 -49
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.utils.js +0 -21
- package/dist/components/mg-details2.js +0 -99
- package/dist/components/mg-input.utils.js +0 -24
- package/dist/esm/mg-input.utils-BYI03zSi.js +0 -46
- package/dist/mg-components/p-31856cff.entry.js +0 -1
- package/dist/mg-components/p-698dfc6c.entry.js +0 -1
- package/dist/mg-components/p-BAUTlb6r.js +0 -1
- package/dist/mg-components/p-CKB-AnCZ.js +0 -1
- package/dist/mg-components/p-PuX-pdL4.js +0 -1
- package/dist/types/components/molecules/inputs/mg-input/mg-input.utils.d.ts +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const E={TAB:"Tab",ENTER:"Enter",DOWN:"Down",UP:"Up",LEFT:"Left",RIGHT:"Right",ARROWDOWN:"ArrowDown",ARROWUP:"ArrowUp",ARROWRIGHT:"ArrowRight",ARROWLEFT:"ArrowLeft",HOME:"Home",END:"End",ESC:"Esc",ESCAPE:"Escape",NUMPADENTER:"NumpadEnter",SPACE:"Space"};export{E as K}
|
|
@@ -31,17 +31,4 @@ export declare const classFieldset = "mg-c-input--fieldset";
|
|
|
31
31
|
export declare const classDisabled = "mg-c-input--disabled";
|
|
32
32
|
export declare const classReadonly = "mg-c-input--readonly";
|
|
33
33
|
export declare const classVerticalList = "mg-c-input--vertical-list";
|
|
34
|
-
/**
|
|
35
|
-
* Define MgInput['errorMessage'] Details type
|
|
36
|
-
*/
|
|
37
|
-
export type ErrorMessageDetailsType = {
|
|
38
|
-
summary: string;
|
|
39
|
-
details: string;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Define cutom errors
|
|
43
|
-
*/
|
|
44
|
-
export declare const CustomError: {
|
|
45
|
-
readonly NoValue: "noValue";
|
|
46
|
-
};
|
|
47
34
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type TooltipPosition
|
|
1
|
+
import { type TooltipPosition } from './mg-input.conf';
|
|
2
2
|
/**
|
|
3
3
|
* @slot - Input content
|
|
4
4
|
*/
|
|
@@ -6,13 +6,10 @@ export declare class MgInput {
|
|
|
6
6
|
/************
|
|
7
7
|
* Internal *
|
|
8
8
|
************/
|
|
9
|
-
private messages;
|
|
10
9
|
private helpTextId;
|
|
11
10
|
private helpTextErrorId;
|
|
12
11
|
private readonly slotLabel;
|
|
13
12
|
private readonly slotError;
|
|
14
|
-
private readonly slotSummary;
|
|
15
|
-
private readonly slotDetails;
|
|
16
13
|
private readonly slotHelpText;
|
|
17
14
|
private errorMessageSlotElement;
|
|
18
15
|
private helptextMessageSlotElement;
|
|
@@ -61,7 +58,7 @@ export declare class MgInput {
|
|
|
61
58
|
/**
|
|
62
59
|
* Define error message to display
|
|
63
60
|
*/
|
|
64
|
-
errorMessage?: string
|
|
61
|
+
errorMessage?: string;
|
|
65
62
|
watchErrorMessage(newValue: MgInput['errorMessage']): void;
|
|
66
63
|
/**
|
|
67
64
|
* Define help text to display
|
|
@@ -105,17 +102,9 @@ export declare class MgInput {
|
|
|
105
102
|
*/
|
|
106
103
|
private renderLabel;
|
|
107
104
|
/**
|
|
108
|
-
* Render error message
|
|
105
|
+
* Render error message
|
|
109
106
|
*/
|
|
110
|
-
private
|
|
111
|
-
/**
|
|
112
|
-
* Render error message element
|
|
113
|
-
*/
|
|
114
|
-
private renderErrorStringMessage;
|
|
115
|
-
/**
|
|
116
|
-
* Render error message slot element
|
|
117
|
-
*/
|
|
118
|
-
private renderErrorMessageSlot;
|
|
107
|
+
private renderErrorMessage;
|
|
119
108
|
/**
|
|
120
109
|
* Render help text message
|
|
121
110
|
*/
|
|
@@ -112,19 +112,15 @@ export declare class MgInputCheckbox implements Omit<MgInputCheckboxListProps, '
|
|
|
112
112
|
/**
|
|
113
113
|
* Overwrite default "edit" button message
|
|
114
114
|
*/
|
|
115
|
-
editButtonMessage
|
|
115
|
+
editButtonMessage: string;
|
|
116
116
|
/**
|
|
117
117
|
* Overwrite default "show" button message
|
|
118
118
|
*/
|
|
119
|
-
showButtonMessage
|
|
119
|
+
showButtonMessage: string;
|
|
120
120
|
/**
|
|
121
121
|
* Overwrite default "select" button message
|
|
122
122
|
*/
|
|
123
|
-
selectButtonMessage
|
|
124
|
-
/**
|
|
125
|
-
* Define no value error detail
|
|
126
|
-
*/
|
|
127
|
-
noValueErrorDetail?: string;
|
|
123
|
+
selectButtonMessage: string;
|
|
128
124
|
/**
|
|
129
125
|
* Component classes
|
|
130
126
|
*/
|
|
@@ -252,16 +248,6 @@ export declare class MgInputCheckbox implements Omit<MgInputCheckboxListProps, '
|
|
|
252
248
|
* Check if input is valid
|
|
253
249
|
*/
|
|
254
250
|
private checkValidity;
|
|
255
|
-
/**
|
|
256
|
-
* Test if component has items
|
|
257
|
-
* @returns truthy if component has items
|
|
258
|
-
*/
|
|
259
|
-
private hasInputValue;
|
|
260
|
-
/**
|
|
261
|
-
* Test if component has no value error message displayed
|
|
262
|
-
* @returns truthy if compent display no value error message
|
|
263
|
-
*/
|
|
264
|
-
private hasNoValueErrorMessageDisplay;
|
|
265
251
|
/**
|
|
266
252
|
* Set button text locale key
|
|
267
253
|
*/
|
|
@@ -277,10 +263,6 @@ export declare class MgInputCheckbox implements Omit<MgInputCheckboxListProps, '
|
|
|
277
263
|
* @param errorMessage - errorMessage override
|
|
278
264
|
*/
|
|
279
265
|
private setErrorMessage;
|
|
280
|
-
/**
|
|
281
|
-
* Reset error message
|
|
282
|
-
*/
|
|
283
|
-
private resetErrorMessage;
|
|
284
266
|
/**
|
|
285
267
|
* Method to get mg-popover identifier
|
|
286
268
|
* @returns MgPopover identifier
|
|
@@ -13,7 +13,6 @@ export declare class MgInputCombobox {
|
|
|
13
13
|
private popoverId;
|
|
14
14
|
private messages;
|
|
15
15
|
private hasDisplayedError;
|
|
16
|
-
private customError;
|
|
17
16
|
private handlerInProgress;
|
|
18
17
|
private loadingAction;
|
|
19
18
|
private debounce;
|
|
@@ -153,10 +152,6 @@ export declare class MgInputCombobox {
|
|
|
153
152
|
response: ResponseMappingType;
|
|
154
153
|
};
|
|
155
154
|
watchFetchMappings(newValue: MgInputCombobox['fetchmappings']): void;
|
|
156
|
-
/**
|
|
157
|
-
* Define no value error detail
|
|
158
|
-
*/
|
|
159
|
-
noValueErrorDetail?: string;
|
|
160
155
|
/**
|
|
161
156
|
* Define input valid state
|
|
162
157
|
*/
|
|
@@ -293,15 +288,9 @@ export declare class MgInputCombobox {
|
|
|
293
288
|
* @returns value title
|
|
294
289
|
*/
|
|
295
290
|
private getValueTitle;
|
|
296
|
-
/**
|
|
297
|
-
* Test if component has no value error message displayed
|
|
298
|
-
* @returns truthy if compent display no value error message
|
|
299
|
-
*/
|
|
300
|
-
private hasNoValueError;
|
|
301
291
|
/**
|
|
302
292
|
* Method to set validity values
|
|
303
|
-
* @param
|
|
304
|
-
* @param customErrorMessage - custom error message
|
|
293
|
+
* @param newValue - valid new value
|
|
305
294
|
*/
|
|
306
295
|
private setValidity;
|
|
307
296
|
/**
|
|
@@ -310,12 +299,9 @@ export declare class MgInputCombobox {
|
|
|
310
299
|
private checkValidity;
|
|
311
300
|
/**
|
|
312
301
|
* Set input error message
|
|
302
|
+
* @param errorMessage - errorMessage override
|
|
313
303
|
*/
|
|
314
304
|
private setErrorMessage;
|
|
315
|
-
/**
|
|
316
|
-
* Reset error message
|
|
317
|
-
*/
|
|
318
|
-
private resetErrorMessage;
|
|
319
305
|
/**
|
|
320
306
|
* Get filtered options from `filter` input value
|
|
321
307
|
* @returns filtered options
|
|
@@ -81,10 +81,6 @@ export declare class MgInputRadio {
|
|
|
81
81
|
* Add a help text under the input, usually expected data format and example
|
|
82
82
|
*/
|
|
83
83
|
helpText?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Define no value error detail
|
|
86
|
-
*/
|
|
87
|
-
noValueErrorDetail?: string;
|
|
88
84
|
/**
|
|
89
85
|
* Define input valid state
|
|
90
86
|
*/
|
|
@@ -152,16 +148,6 @@ export declare class MgInputRadio {
|
|
|
152
148
|
* Handle blur event
|
|
153
149
|
*/
|
|
154
150
|
private handleBlur;
|
|
155
|
-
/**
|
|
156
|
-
* Test if component has items
|
|
157
|
-
* @returns truthy if component has items
|
|
158
|
-
*/
|
|
159
|
-
private hasInputValue;
|
|
160
|
-
/**
|
|
161
|
-
* Test if component has no value error message displayed
|
|
162
|
-
* @returns truthy if compent display no value error message
|
|
163
|
-
*/
|
|
164
|
-
private hasNoValueErrorMessageDisplay;
|
|
165
151
|
/**
|
|
166
152
|
* Check if input is valid
|
|
167
153
|
*/
|
|
@@ -171,10 +157,6 @@ export declare class MgInputRadio {
|
|
|
171
157
|
* @param errorMessage - errorMessage override
|
|
172
158
|
*/
|
|
173
159
|
private setErrorMessage;
|
|
174
|
-
/**
|
|
175
|
-
* Reset error message
|
|
176
|
-
*/
|
|
177
|
-
private resetErrorMessage;
|
|
178
160
|
/**
|
|
179
161
|
* get invalid element
|
|
180
162
|
* @returns element
|
|
@@ -93,10 +93,6 @@ export declare class MgInputSelect {
|
|
|
93
93
|
* Add a help text under the input, usually expected data format and example
|
|
94
94
|
*/
|
|
95
95
|
helpText?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Define no value error detail
|
|
98
|
-
*/
|
|
99
|
-
noValueErrorDetail?: string;
|
|
100
96
|
/**
|
|
101
97
|
* Define input valid state
|
|
102
98
|
*/
|
|
@@ -170,16 +166,6 @@ export declare class MgInputSelect {
|
|
|
170
166
|
* @returns truthy if input.value is an item
|
|
171
167
|
*/
|
|
172
168
|
private isInputValue;
|
|
173
|
-
/**
|
|
174
|
-
* Test if component has items
|
|
175
|
-
* @returns truthy if component has items
|
|
176
|
-
*/
|
|
177
|
-
private hasInputValue;
|
|
178
|
-
/**
|
|
179
|
-
* Test if component has no value error message displayed
|
|
180
|
-
* @returns truthy if compent display no value error message
|
|
181
|
-
*/
|
|
182
|
-
private hasNoValueErrorMessageDisplay;
|
|
183
169
|
/**
|
|
184
170
|
* Handle blur event
|
|
185
171
|
*/
|
|
@@ -198,10 +184,6 @@ export declare class MgInputSelect {
|
|
|
198
184
|
* @param errorMessage - errorMessage override
|
|
199
185
|
*/
|
|
200
186
|
private setErrorMessage;
|
|
201
|
-
/**
|
|
202
|
-
* Reset error message
|
|
203
|
-
*/
|
|
204
|
-
private resetErrorMessage;
|
|
205
187
|
/*************
|
|
206
188
|
* Lifecycle *
|
|
207
189
|
*************/
|
|
@@ -11,7 +11,6 @@ export declare class MgInputToggle {
|
|
|
11
11
|
* Internal *
|
|
12
12
|
************/
|
|
13
13
|
private button;
|
|
14
|
-
private messages;
|
|
15
14
|
private readonly classIsActive;
|
|
16
15
|
private readonly classOnOff;
|
|
17
16
|
private readonly classIcon;
|
|
@@ -85,18 +84,6 @@ export declare class MgInputToggle {
|
|
|
85
84
|
* Add a help text under the input, usually expected data format and example
|
|
86
85
|
*/
|
|
87
86
|
helpText?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Define no value error detail
|
|
90
|
-
*/
|
|
91
|
-
noValueErrorDetail?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Define input valid state
|
|
94
|
-
*/
|
|
95
|
-
valid: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Define input invalid state
|
|
98
|
-
*/
|
|
99
|
-
invalid: boolean;
|
|
100
87
|
/**
|
|
101
88
|
* Component classes
|
|
102
89
|
*/
|
|
@@ -109,6 +96,10 @@ export declare class MgInputToggle {
|
|
|
109
96
|
* Error message to display
|
|
110
97
|
*/
|
|
111
98
|
errorMessage: string;
|
|
99
|
+
/**
|
|
100
|
+
* Define input valid state
|
|
101
|
+
*/
|
|
102
|
+
valid: boolean;
|
|
112
103
|
/**
|
|
113
104
|
* Checked internal value
|
|
114
105
|
*/
|
|
@@ -139,33 +130,6 @@ export declare class MgInputToggle {
|
|
|
139
130
|
* Reset value, validity, error and visual state
|
|
140
131
|
*/
|
|
141
132
|
reset(): Promise<void>;
|
|
142
|
-
/**
|
|
143
|
-
* Display input error if it exists.
|
|
144
|
-
*/
|
|
145
|
-
private displayError;
|
|
146
|
-
/**
|
|
147
|
-
* Check if input is valid
|
|
148
|
-
*/
|
|
149
|
-
private checkValidity;
|
|
150
|
-
/**
|
|
151
|
-
* Method to set validity values
|
|
152
|
-
* @param newValue - valid new value
|
|
153
|
-
*/
|
|
154
|
-
private setValidity;
|
|
155
|
-
/**
|
|
156
|
-
* Reset error message
|
|
157
|
-
*/
|
|
158
|
-
private resetErrorMessage;
|
|
159
|
-
/**
|
|
160
|
-
* Test if component has items
|
|
161
|
-
* @returns truthy if component has items
|
|
162
|
-
*/
|
|
163
|
-
private hasInputItems;
|
|
164
|
-
/**
|
|
165
|
-
* Test if component has no value error message displayed
|
|
166
|
-
* @returns truthy if compent display no value error message
|
|
167
|
-
*/
|
|
168
|
-
private hasNoValueErrorMessageDisplay;
|
|
169
133
|
/**
|
|
170
134
|
* Set input error message
|
|
171
135
|
* @param errorMessage - errorMessage override
|
|
@@ -13,7 +13,7 @@ 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 {
|
|
16
|
+
import { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
17
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";
|
|
@@ -45,7 +45,7 @@ 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 {
|
|
48
|
+
export { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
49
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";
|
|
@@ -319,7 +319,7 @@ export namespace Components {
|
|
|
319
319
|
/**
|
|
320
320
|
* Define error message to display
|
|
321
321
|
*/
|
|
322
|
-
"errorMessage"?: string
|
|
322
|
+
"errorMessage"?: string;
|
|
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,10 +412,6 @@ 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;
|
|
419
415
|
/**
|
|
420
416
|
* Define if mg-input-checkbox is readonly
|
|
421
417
|
* @default false
|
|
@@ -433,7 +429,7 @@ export namespace Components {
|
|
|
433
429
|
/**
|
|
434
430
|
* Overwrite default "select" button message
|
|
435
431
|
*/
|
|
436
|
-
"selectButtonMessage"
|
|
432
|
+
"selectButtonMessage": string;
|
|
437
433
|
/**
|
|
438
434
|
* 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`.
|
|
439
435
|
* @param valid - value indicating the validity
|
|
@@ -447,7 +443,7 @@ export namespace Components {
|
|
|
447
443
|
/**
|
|
448
444
|
* Overwrite default "show" button message
|
|
449
445
|
*/
|
|
450
|
-
"showButtonMessage"
|
|
446
|
+
"showButtonMessage": string;
|
|
451
447
|
/**
|
|
452
448
|
* Add a tooltip message next to the input
|
|
453
449
|
*/
|
|
@@ -576,10 +572,6 @@ export namespace Components {
|
|
|
576
572
|
* @default this.identifier
|
|
577
573
|
*/
|
|
578
574
|
"name": string;
|
|
579
|
-
/**
|
|
580
|
-
* Define no value error detail
|
|
581
|
-
*/
|
|
582
|
-
"noValueErrorDetail"?: string;
|
|
583
575
|
/**
|
|
584
576
|
* 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.
|
|
585
577
|
*/
|
|
@@ -997,10 +989,6 @@ export namespace Components {
|
|
|
997
989
|
* @default this.identifier
|
|
998
990
|
*/
|
|
999
991
|
"name": string;
|
|
1000
|
-
/**
|
|
1001
|
-
* Define no value error detail
|
|
1002
|
-
*/
|
|
1003
|
-
"noValueErrorDetail"?: string;
|
|
1004
992
|
/**
|
|
1005
993
|
* Define if input is readonly
|
|
1006
994
|
* @default false
|
|
@@ -1202,10 +1190,6 @@ export namespace Components {
|
|
|
1202
1190
|
* @default this.identifier
|
|
1203
1191
|
*/
|
|
1204
1192
|
"name": string;
|
|
1205
|
-
/**
|
|
1206
|
-
* Define no value error detail
|
|
1207
|
-
*/
|
|
1208
|
-
"noValueErrorDetail"?: string;
|
|
1209
1193
|
/**
|
|
1210
1194
|
* 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.
|
|
1211
1195
|
*/
|
|
@@ -1538,10 +1522,6 @@ export namespace Components {
|
|
|
1538
1522
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
1539
1523
|
*/
|
|
1540
1524
|
"identifier": string;
|
|
1541
|
-
/**
|
|
1542
|
-
* Define input invalid state
|
|
1543
|
-
*/
|
|
1544
|
-
"invalid": boolean;
|
|
1545
1525
|
/**
|
|
1546
1526
|
* Define if toggle display icon
|
|
1547
1527
|
* @default false
|
|
@@ -1575,10 +1555,6 @@ export namespace Components {
|
|
|
1575
1555
|
* @default this.identifier
|
|
1576
1556
|
*/
|
|
1577
1557
|
"name": string;
|
|
1578
|
-
/**
|
|
1579
|
-
* Define no value error detail
|
|
1580
|
-
*/
|
|
1581
|
-
"noValueErrorDetail"?: string;
|
|
1582
1558
|
/**
|
|
1583
1559
|
* Define if input is readonly
|
|
1584
1560
|
* @default false
|
|
@@ -1607,10 +1583,6 @@ export namespace Components {
|
|
|
1607
1583
|
* @default 'input'
|
|
1608
1584
|
*/
|
|
1609
1585
|
"tooltipPosition": TooltipPosition;
|
|
1610
|
-
/**
|
|
1611
|
-
* Define input valid state
|
|
1612
|
-
*/
|
|
1613
|
-
"valid": boolean;
|
|
1614
1586
|
/**
|
|
1615
1587
|
* Component value
|
|
1616
1588
|
*/
|
|
@@ -2919,7 +2891,7 @@ declare namespace LocalJSX {
|
|
|
2919
2891
|
/**
|
|
2920
2892
|
* Define error message to display
|
|
2921
2893
|
*/
|
|
2922
|
-
"errorMessage"?: string
|
|
2894
|
+
"errorMessage"?: string;
|
|
2923
2895
|
/**
|
|
2924
2896
|
* Define help text to display
|
|
2925
2897
|
*/
|
|
@@ -3008,10 +2980,6 @@ declare namespace LocalJSX {
|
|
|
3008
2980
|
* @default this.identifier
|
|
3009
2981
|
*/
|
|
3010
2982
|
"name"?: string;
|
|
3011
|
-
/**
|
|
3012
|
-
* Define no value error detail
|
|
3013
|
-
*/
|
|
3014
|
-
"noValueErrorDetail"?: string;
|
|
3015
2983
|
/**
|
|
3016
2984
|
* Emited event when checking validity
|
|
3017
2985
|
*/
|
|
@@ -3158,10 +3126,6 @@ declare namespace LocalJSX {
|
|
|
3158
3126
|
* @default this.identifier
|
|
3159
3127
|
*/
|
|
3160
3128
|
"name"?: string;
|
|
3161
|
-
/**
|
|
3162
|
-
* Define no value error detail
|
|
3163
|
-
*/
|
|
3164
|
-
"noValueErrorDetail"?: string;
|
|
3165
3129
|
/**
|
|
3166
3130
|
* Emited event when fetch API throw an error
|
|
3167
3131
|
*/
|
|
@@ -3551,10 +3515,6 @@ declare namespace LocalJSX {
|
|
|
3551
3515
|
* @default this.identifier
|
|
3552
3516
|
*/
|
|
3553
3517
|
"name"?: string;
|
|
3554
|
-
/**
|
|
3555
|
-
* Define no value error detail
|
|
3556
|
-
*/
|
|
3557
|
-
"noValueErrorDetail"?: string;
|
|
3558
3518
|
/**
|
|
3559
3519
|
* Emited event when checking validity
|
|
3560
3520
|
*/
|
|
@@ -3726,10 +3686,6 @@ declare namespace LocalJSX {
|
|
|
3726
3686
|
* @default this.identifier
|
|
3727
3687
|
*/
|
|
3728
3688
|
"name"?: string;
|
|
3729
|
-
/**
|
|
3730
|
-
* Define no value error detail
|
|
3731
|
-
*/
|
|
3732
|
-
"noValueErrorDetail"?: string;
|
|
3733
3689
|
/**
|
|
3734
3690
|
* Emited event when checking validity
|
|
3735
3691
|
*/
|
|
@@ -4036,10 +3992,6 @@ declare namespace LocalJSX {
|
|
|
4036
3992
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
4037
3993
|
*/
|
|
4038
3994
|
"identifier": string;
|
|
4039
|
-
/**
|
|
4040
|
-
* Define input invalid state
|
|
4041
|
-
*/
|
|
4042
|
-
"invalid"?: boolean;
|
|
4043
3995
|
/**
|
|
4044
3996
|
* Define if toggle display icon
|
|
4045
3997
|
* @default false
|
|
@@ -4073,10 +4025,6 @@ declare namespace LocalJSX {
|
|
|
4073
4025
|
* @default this.identifier
|
|
4074
4026
|
*/
|
|
4075
4027
|
"name"?: string;
|
|
4076
|
-
/**
|
|
4077
|
-
* Define no value error detail
|
|
4078
|
-
*/
|
|
4079
|
-
"noValueErrorDetail"?: string;
|
|
4080
4028
|
/**
|
|
4081
4029
|
* Emited event when checking validity
|
|
4082
4030
|
*/
|
|
@@ -4099,10 +4047,6 @@ declare namespace LocalJSX {
|
|
|
4099
4047
|
* @default 'input'
|
|
4100
4048
|
*/
|
|
4101
4049
|
"tooltipPosition"?: TooltipPosition;
|
|
4102
|
-
/**
|
|
4103
|
-
* Define input valid state
|
|
4104
|
-
*/
|
|
4105
|
-
"valid"?: boolean;
|
|
4106
4050
|
/**
|
|
4107
4051
|
* Component value
|
|
4108
4052
|
*/
|