@cnamts/synapse 0.0.8-alpha → 0.0.9-alpha
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/design-system-v3.d.ts +584 -128
- package/dist/design-system-v3.js +4176 -2694
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/settings.scss +1 -1
- package/src/components/ContextualMenu/Accessibilite.mdx +14 -0
- package/src/components/ContextualMenu/Accessibilite.stories.ts +191 -0
- package/src/components/ContextualMenu/AccessibiliteItems.ts +89 -0
- package/src/components/ContextualMenu/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/Customs/SySelect/SySelect.stories.ts +7 -7
- package/src/components/Customs/SySelect/SySelect.vue +9 -4
- package/src/components/Customs/SySelect/tests/SySelect.spec.ts +2 -2
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +187 -2
- package/src/components/Customs/SyTextField/SyTextField.vue +185 -16
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +2 -4
- package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +18 -16
- package/src/components/Customs/SyTextField/types.d.ts +2 -2
- package/src/components/DatePicker/DatePicker.mdx +191 -0
- package/src/components/DatePicker/DatePicker.stories.ts +787 -0
- package/src/components/DatePicker/DatePicker.vue +560 -0
- package/src/components/DatePicker/DateTextInput.vue +409 -0
- package/src/components/DatePicker/tests/DatePicker.spec.ts +266 -0
- package/src/components/DialogBox/DialogBox.stories.ts +1 -1
- package/src/components/ExternalLinks/Accessibilite.mdx +14 -0
- package/src/components/ExternalLinks/Accessibilite.stories.ts +191 -0
- package/src/components/ExternalLinks/AccessibiliteItems.ts +197 -0
- package/src/components/ExternalLinks/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/ExternalLinks/tests/__snapshots__/ExternalLinks.spec.ts.snap +9 -9
- package/src/components/FileUpload/FileUpload.mdx +165 -0
- package/src/components/FileUpload/FileUpload.stories.ts +429 -0
- package/src/components/FileUpload/FileUpload.vue +195 -0
- package/src/components/FileUpload/FileUploadContent.vue +109 -0
- package/src/components/FileUpload/locales.ts +10 -0
- package/src/components/FileUpload/tests/FileUpload.spec.ts +332 -0
- package/src/components/FileUpload/tests/__snapshots__/FileUpload.spec.ts.snap +7 -0
- package/src/components/FileUpload/useFileDrop.ts +23 -0
- package/src/components/FileUpload/validateFiles.ts +39 -0
- package/src/components/NirField/NirField.stories.ts +1 -1
- package/src/components/NirField/NirField.vue +2 -1
- package/src/components/PasswordField/Accessibilite.mdx +14 -0
- package/src/components/PasswordField/Accessibilite.stories.ts +191 -0
- package/src/components/PasswordField/AccessibiliteItems.ts +184 -0
- package/src/components/PasswordField/PasswordField.vue +3 -3
- package/src/components/PasswordField/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/PhoneField/PhoneField.vue +44 -60
- package/src/components/PhoneField/tests/PhoneField.spec.ts +0 -15
- package/src/components/RangeField/RangeField.mdx +54 -0
- package/src/components/RangeField/RangeField.stories.ts +189 -0
- package/src/components/RangeField/RangeField.vue +157 -0
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +387 -0
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +64 -0
- package/src/components/RangeField/RangeSlider/tests/__snapshots__/rangeSlider.spec.ts.snap +27 -0
- package/src/components/RangeField/RangeSlider/tests/rangeSlider.spec.ts +100 -0
- package/src/components/RangeField/RangeSlider/tests/useDoubleSlider.spec.ts +246 -0
- package/src/components/RangeField/RangeSlider/tests/useMouseSlide.spec.ts +204 -0
- package/src/components/RangeField/RangeSlider/tests/useThumb.spec.ts +22 -0
- package/src/components/RangeField/RangeSlider/tests/useThumbKeyboard.spec.ts +233 -0
- package/src/components/RangeField/RangeSlider/tests/useTooltipsNudge.spec.ts +150 -0
- package/src/components/RangeField/RangeSlider/tests/useTrack.spec.ts +314 -0
- package/src/components/RangeField/RangeSlider/tests/vAnimateClick.spec.ts +32 -0
- package/src/components/RangeField/RangeSlider/types.ts +15 -0
- package/src/components/RangeField/RangeSlider/useMouseSlide.ts +109 -0
- package/src/components/RangeField/RangeSlider/useRangeSlider.ts +126 -0
- package/src/components/RangeField/RangeSlider/useThumb.ts +18 -0
- package/src/components/RangeField/RangeSlider/useThumbKeyboard.ts +84 -0
- package/src/components/RangeField/RangeSlider/useTooltipsNudge.ts +92 -0
- package/src/components/RangeField/RangeSlider/useTrack.ts +116 -0
- package/src/components/RangeField/RangeSlider/vAnimateClick.ts +19 -0
- package/src/components/RangeField/config.ts +7 -0
- package/src/components/RangeField/locales.ts +4 -0
- package/src/components/RangeField/tests/RangeField.spec.ts +224 -0
- package/src/components/RangeField/tests/__snapshots__/RangeField.spec.ts.snap +379 -0
- package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +205 -0
- package/src/components/RatingPicker/EmotionPicker/locales.ts +3 -0
- package/src/components/RatingPicker/EmotionPicker/tests/EmotionPicker.spec.ts +104 -0
- package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +66 -0
- package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +159 -0
- package/src/components/RatingPicker/NumberPicker/locales.ts +4 -0
- package/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.ts +73 -0
- package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +105 -0
- package/src/components/RatingPicker/Rating.ts +45 -0
- package/src/components/RatingPicker/RatingPicker.mdx +56 -0
- package/src/components/RatingPicker/RatingPicker.stories.ts +515 -0
- package/src/components/RatingPicker/RatingPicker.vue +122 -0
- package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +116 -0
- package/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.ts +95 -0
- package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +36 -0
- package/src/components/RatingPicker/locales.ts +3 -0
- package/src/components/RatingPicker/tests/Rating.spec.ts +104 -0
- package/src/components/RatingPicker/tests/RatingPicker.spec.ts +187 -0
- package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +108 -0
- package/src/components/SearchListField/SearchListField.mdx +74 -0
- package/src/components/SearchListField/SearchListField.stories.ts +126 -0
- package/src/components/SearchListField/SearchListField.vue +194 -0
- package/src/components/SearchListField/locales.ts +5 -0
- package/src/components/SearchListField/tests/SearchListField.spec.ts +323 -0
- package/src/components/SearchListField/types.d.ts +4 -0
- package/src/components/SelectBtnField/SelectBtnField.mdx +50 -0
- package/src/components/SelectBtnField/SelectBtnField.stories.ts +763 -0
- package/src/components/SelectBtnField/SelectBtnField.vue +283 -0
- package/src/components/SelectBtnField/config.ts +11 -0
- package/src/components/SelectBtnField/tests/SelectBtnField.spec.ts +327 -0
- package/src/components/SelectBtnField/tests/__snapshots__/SelectBtnField.spec.ts.snap +125 -0
- package/src/components/SelectBtnField/types.d.ts +11 -0
- package/src/components/index.ts +8 -1
- package/src/composables/rules/useFieldValidation.ts +172 -44
- package/src/designTokens/index.ts +3 -3
- package/src/stories/Fondamentaux/CustomisationEtThemes.mdx +52 -2
- package/src/utils/calcHumanFileSize/index.ts +12 -0
- package/src/utils/calcHumanFileSize/tests/calcHumanFileSize.spec.ts +21 -0
|
@@ -29,6 +29,8 @@ import { RouteLocationAsPathGeneric } from 'vue-router';
|
|
|
29
29
|
import { RouteLocationAsRelativeGeneric } from 'vue-router';
|
|
30
30
|
import { RouteLocationRaw } from 'vue-router';
|
|
31
31
|
import { RouteRecordRaw } from 'vue-router';
|
|
32
|
+
import { SelectBtnItem } from './types';
|
|
33
|
+
import { SelectBtnValue } from './types';
|
|
32
34
|
import { SelectItem } from './types';
|
|
33
35
|
import { SocialMediaLink } from '../SocialMediaLinks/types';
|
|
34
36
|
import { SocialMediaLink as SocialMediaLink_2 } from './types';
|
|
@@ -36,11 +38,44 @@ import { default as SySelect } from './Customs/SySelect/SySelect.vue';
|
|
|
36
38
|
import { VariantStyle } from './types';
|
|
37
39
|
|
|
38
40
|
declare type __VLS_Props = {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
modelValue?: DateInput;
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
format?: string;
|
|
44
|
+
dateFormatReturn?: string;
|
|
45
|
+
isBirthDate?: boolean;
|
|
46
|
+
showWeekNumber?: boolean;
|
|
47
|
+
required?: boolean;
|
|
48
|
+
displayRange?: boolean;
|
|
49
|
+
displayIcon?: boolean;
|
|
50
|
+
displayAppendIcon?: boolean;
|
|
51
|
+
customRules?: {
|
|
52
|
+
type: string;
|
|
53
|
+
options: RuleOptions;
|
|
54
|
+
}[];
|
|
55
|
+
customWarningRules?: {
|
|
56
|
+
type: string;
|
|
57
|
+
options: RuleOptions;
|
|
58
|
+
}[];
|
|
59
|
+
isDisabled?: boolean;
|
|
60
|
+
noIcon?: boolean;
|
|
61
|
+
noCalendar?: boolean;
|
|
62
|
+
isOutlined?: boolean;
|
|
41
63
|
};
|
|
42
64
|
|
|
43
|
-
declare type __VLS_Props_10 = {
|
|
65
|
+
declare type __VLS_Props_10 = CustomizableOptions & {
|
|
66
|
+
modelValue?: Record<string, unknown> | string | null;
|
|
67
|
+
items?: Record<string, unknown>[] | string[];
|
|
68
|
+
textKey?: string;
|
|
69
|
+
valueKey?: string;
|
|
70
|
+
label?: string;
|
|
71
|
+
outlined?: boolean;
|
|
72
|
+
required?: boolean;
|
|
73
|
+
errorMessages?: string | string[];
|
|
74
|
+
isHeaderToolbar?: boolean;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
declare type __VLS_Props_11 = {
|
|
78
|
+
modelValue?: string | number | null;
|
|
44
79
|
prependIcon?: IconType;
|
|
45
80
|
appendIcon?: IconType;
|
|
46
81
|
prependInnerIcon?: IconType;
|
|
@@ -51,10 +86,51 @@ declare type __VLS_Props_10 = {
|
|
|
51
86
|
showDivider?: boolean;
|
|
52
87
|
label?: string;
|
|
53
88
|
required?: boolean;
|
|
54
|
-
errorMessages?: string[];
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
89
|
+
errorMessages?: string[] | null;
|
|
90
|
+
isReadOnly?: boolean;
|
|
91
|
+
isActive?: boolean;
|
|
92
|
+
baseColor?: string;
|
|
93
|
+
bgColor?: string;
|
|
94
|
+
centerAffix?: boolean;
|
|
95
|
+
counter?: string | number | boolean;
|
|
96
|
+
counterValue?: number | ((value: any) => number);
|
|
97
|
+
density?: 'default' | 'comfortable' | 'compact';
|
|
98
|
+
direction?: 'horizontal' | 'vertical';
|
|
99
|
+
isDirty?: boolean;
|
|
100
|
+
isDisabled?: boolean;
|
|
101
|
+
isOnError?: boolean;
|
|
102
|
+
isFlat?: boolean;
|
|
103
|
+
isFocused?: boolean;
|
|
104
|
+
areDetailsHidden?: boolean | 'auto';
|
|
105
|
+
areSpinButtonsHidden?: boolean;
|
|
106
|
+
hint?: string;
|
|
107
|
+
id?: string;
|
|
108
|
+
loading?: string | boolean;
|
|
109
|
+
maxErrors?: string | number;
|
|
110
|
+
maxWidth?: string | number;
|
|
111
|
+
messages?: string | string[];
|
|
112
|
+
minWidth?: string | number;
|
|
113
|
+
name?: string;
|
|
114
|
+
displayPersistentClear?: boolean;
|
|
115
|
+
displayPersistentCounter?: boolean;
|
|
116
|
+
displayPersistentHint?: boolean;
|
|
117
|
+
displayPersistentPlaceholder?: boolean;
|
|
118
|
+
placeholder?: string;
|
|
119
|
+
prefix?: string;
|
|
120
|
+
isReversed?: boolean;
|
|
121
|
+
role?: string;
|
|
122
|
+
rounded?: string | number | boolean;
|
|
123
|
+
isOnSingleLine?: boolean;
|
|
124
|
+
suffix?: string;
|
|
125
|
+
theme?: string;
|
|
126
|
+
isTiled?: boolean;
|
|
127
|
+
type?: string;
|
|
128
|
+
width?: string | number;
|
|
129
|
+
displayAsterisk?: boolean;
|
|
130
|
+
noIcon?: boolean;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
declare type __VLS_Props_12 = CustomizableOptions & {
|
|
58
134
|
label: string;
|
|
59
135
|
value?: string | number;
|
|
60
136
|
action?: string;
|
|
@@ -65,9 +141,9 @@ declare type __VLS_Props_11 = CustomizableOptions & {
|
|
|
65
141
|
renderHtmlValue?: boolean;
|
|
66
142
|
};
|
|
67
143
|
|
|
68
|
-
declare type
|
|
144
|
+
declare type __VLS_Props_13 = Props_2 & CustomizableOptions;
|
|
69
145
|
|
|
70
|
-
declare type
|
|
146
|
+
declare type __VLS_Props_14 = {
|
|
71
147
|
pageTitle?: string;
|
|
72
148
|
message?: string;
|
|
73
149
|
code?: string;
|
|
@@ -78,7 +154,7 @@ declare type __VLS_Props_13 = {
|
|
|
78
154
|
hideBtn?: boolean;
|
|
79
155
|
};
|
|
80
156
|
|
|
81
|
-
declare type
|
|
157
|
+
declare type __VLS_Props_15 = CustomizableOptions & {
|
|
82
158
|
items: Array<{
|
|
83
159
|
text: string;
|
|
84
160
|
href: string;
|
|
@@ -92,7 +168,17 @@ declare type __VLS_Props_14 = CustomizableOptions & {
|
|
|
92
168
|
ariaOwns?: string;
|
|
93
169
|
};
|
|
94
170
|
|
|
95
|
-
declare type
|
|
171
|
+
declare type __VLS_Props_16 = {
|
|
172
|
+
modelValue: File[];
|
|
173
|
+
disabled?: boolean;
|
|
174
|
+
multiple?: boolean;
|
|
175
|
+
fileSizeMax?: number;
|
|
176
|
+
fileSizeUnits?: Array<string>;
|
|
177
|
+
allowedExtensions?: Array<string>;
|
|
178
|
+
locales?: typeof locales;
|
|
179
|
+
} & Widthable;
|
|
180
|
+
|
|
181
|
+
declare type __VLS_Props_17 = CustomizableOptions & {
|
|
96
182
|
a11yCompliance?: string;
|
|
97
183
|
linkItems?: LinkItem[] | null;
|
|
98
184
|
items?: LinkItem[] | null;
|
|
@@ -113,13 +199,13 @@ declare type __VLS_Props_15 = CustomizableOptions & {
|
|
|
113
199
|
light?: boolean;
|
|
114
200
|
};
|
|
115
201
|
|
|
116
|
-
declare type
|
|
202
|
+
declare type __VLS_Props_18 = {
|
|
117
203
|
href: string;
|
|
118
204
|
isConnectPlus?: boolean;
|
|
119
205
|
dark?: boolean;
|
|
120
206
|
};
|
|
121
207
|
|
|
122
|
-
declare type
|
|
208
|
+
declare type __VLS_Props_19 = {
|
|
123
209
|
/** Keep the header visible */
|
|
124
210
|
sticky?: boolean;
|
|
125
211
|
/**
|
|
@@ -134,11 +220,16 @@ declare type __VLS_Props_17 = {
|
|
|
134
220
|
};
|
|
135
221
|
} & LogoProps;
|
|
136
222
|
|
|
137
|
-
declare type
|
|
223
|
+
declare type __VLS_Props_2 = {
|
|
224
|
+
hideBackIcon?: boolean;
|
|
225
|
+
dark?: boolean;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
declare type __VLS_Props_20 = {
|
|
138
229
|
title?: string;
|
|
139
230
|
};
|
|
140
231
|
|
|
141
|
-
declare type
|
|
232
|
+
declare type __VLS_Props_21 = {
|
|
142
233
|
ariaLabel?: string;
|
|
143
234
|
serviceTitle?: string;
|
|
144
235
|
serviceSubtitle?: string;
|
|
@@ -149,9 +240,7 @@ declare type __VLS_Props_19 = {
|
|
|
149
240
|
};
|
|
150
241
|
};
|
|
151
242
|
|
|
152
|
-
declare type
|
|
153
|
-
|
|
154
|
-
declare type __VLS_Props_20 = CustomizableOptions & {
|
|
243
|
+
declare type __VLS_Props_22 = CustomizableOptions & {
|
|
155
244
|
homeAriaLabel?: string;
|
|
156
245
|
serviceTitle?: string;
|
|
157
246
|
serviceSubtitle?: string;
|
|
@@ -178,7 +267,7 @@ declare type __VLS_Props_20 = CustomizableOptions & {
|
|
|
178
267
|
items?: NavigationItem[];
|
|
179
268
|
};
|
|
180
269
|
|
|
181
|
-
declare type
|
|
270
|
+
declare type __VLS_Props_23 = CustomizableOptions & {
|
|
182
271
|
modelValue?: string;
|
|
183
272
|
hideDownArrow?: boolean;
|
|
184
273
|
ariaLabel?: string;
|
|
@@ -186,7 +275,7 @@ declare type __VLS_Props_21 = CustomizableOptions & {
|
|
|
186
275
|
availableLanguages?: string[] | AllLanguagesChar;
|
|
187
276
|
};
|
|
188
277
|
|
|
189
|
-
declare type
|
|
278
|
+
declare type __VLS_Props_24 = {
|
|
190
279
|
theme?: Theme;
|
|
191
280
|
serviceTitle?: string;
|
|
192
281
|
serviceSubTitle?: string;
|
|
@@ -199,31 +288,59 @@ declare type __VLS_Props_22 = {
|
|
|
199
288
|
};
|
|
200
289
|
};
|
|
201
290
|
|
|
202
|
-
declare type
|
|
291
|
+
declare type __VLS_Props_25 = {
|
|
203
292
|
btnText?: string;
|
|
204
293
|
btnHref?: string;
|
|
205
294
|
btnLink?: RouteRecordRaw | string;
|
|
206
295
|
hideBtn?: boolean;
|
|
207
296
|
};
|
|
208
297
|
|
|
209
|
-
declare type
|
|
298
|
+
declare type __VLS_Props_26 = CustomizableOptions & {
|
|
210
299
|
closeBtnText?: string;
|
|
211
300
|
rounded?: 0 | 1 | 2 | 3 | 4 | 'xs' | 'sm' | true | 'lg' | 'xl' | 'pill' | 'circle' | 'shaped';
|
|
212
301
|
bottom?: true | false;
|
|
213
302
|
};
|
|
214
303
|
|
|
215
|
-
declare type
|
|
304
|
+
declare type __VLS_Props_27 = {
|
|
216
305
|
size?: 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
217
306
|
spacing?: 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
218
307
|
color?: string;
|
|
219
308
|
};
|
|
220
309
|
|
|
221
|
-
declare type
|
|
310
|
+
declare type __VLS_Props_28 = {
|
|
311
|
+
modelValue?: string | null;
|
|
312
|
+
outlined?: boolean;
|
|
313
|
+
required?: boolean;
|
|
314
|
+
isValidateOnBlur?: boolean;
|
|
315
|
+
customRules?: any;
|
|
316
|
+
} & CustomizableOptions;
|
|
317
|
+
|
|
318
|
+
declare type __VLS_Props_29 = CustomizableOptions & {
|
|
319
|
+
min?: number;
|
|
320
|
+
max?: number;
|
|
321
|
+
step?: number;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
declare type __VLS_Props_3 = Props & CustomizableOptions;
|
|
325
|
+
|
|
326
|
+
declare type __VLS_Props_30 = CustomizableOptions & {
|
|
327
|
+
modelValue?: SelectBtnValue;
|
|
328
|
+
items?: SelectBtnItem[];
|
|
329
|
+
label?: string;
|
|
330
|
+
multiple?: boolean;
|
|
331
|
+
inline?: boolean;
|
|
332
|
+
hint?: string;
|
|
333
|
+
error?: boolean;
|
|
334
|
+
errorMessages?: string[];
|
|
335
|
+
readonly?: boolean;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
declare type __VLS_Props_31 = {
|
|
222
339
|
label?: string;
|
|
223
340
|
target?: string;
|
|
224
341
|
};
|
|
225
342
|
|
|
226
|
-
declare type
|
|
343
|
+
declare type __VLS_Props_32 = CustomizableOptions & Widthable & {
|
|
227
344
|
hideBackBtn?: boolean;
|
|
228
345
|
backBtnText?: string;
|
|
229
346
|
titleText?: string;
|
|
@@ -233,13 +350,13 @@ declare type __VLS_Props_27 = CustomizableOptions & Widthable & {
|
|
|
233
350
|
renderHtmlValue?: boolean;
|
|
234
351
|
};
|
|
235
352
|
|
|
236
|
-
declare type
|
|
353
|
+
declare type __VLS_Props_33 = {
|
|
237
354
|
type?: 'success' | 'info' | 'warning' | 'error';
|
|
238
355
|
closable?: boolean;
|
|
239
356
|
variant?: 'tonal' | 'outlined';
|
|
240
357
|
};
|
|
241
358
|
|
|
242
|
-
declare type
|
|
359
|
+
declare type __VLS_Props_34 = CustomizableOptions & {
|
|
243
360
|
menuItems?: MenuItem_3[];
|
|
244
361
|
additionalInformation?: string;
|
|
245
362
|
fullName?: string;
|
|
@@ -248,37 +365,29 @@ declare type __VLS_Props_29 = CustomizableOptions & {
|
|
|
248
365
|
hideUserIcon?: boolean;
|
|
249
366
|
};
|
|
250
367
|
|
|
251
|
-
declare type
|
|
368
|
+
declare type __VLS_Props_4 = {
|
|
252
369
|
listTitle: string | null;
|
|
253
370
|
items: ListItem[];
|
|
254
371
|
};
|
|
255
372
|
|
|
256
|
-
declare type
|
|
257
|
-
modelValue?: string | null;
|
|
258
|
-
outlined?: boolean;
|
|
259
|
-
required?: boolean;
|
|
260
|
-
isValidateOnBlur?: boolean;
|
|
261
|
-
customRules?: any;
|
|
262
|
-
} & CustomizableOptions;
|
|
263
|
-
|
|
264
|
-
declare type __VLS_Props_4 = {
|
|
373
|
+
declare type __VLS_Props_5 = {
|
|
265
374
|
items: MenuItem[];
|
|
266
375
|
};
|
|
267
376
|
|
|
268
|
-
declare type
|
|
377
|
+
declare type __VLS_Props_6 = CustomizableOptions & {
|
|
269
378
|
items?: CookiesItems;
|
|
270
379
|
};
|
|
271
380
|
|
|
272
|
-
declare type
|
|
381
|
+
declare type __VLS_Props_7 = {
|
|
273
382
|
type: CookieTypes;
|
|
274
383
|
tableItems: Cookie[];
|
|
275
384
|
};
|
|
276
385
|
|
|
277
|
-
declare type
|
|
386
|
+
declare type __VLS_Props_8 = {
|
|
278
387
|
items: Cookie[];
|
|
279
388
|
};
|
|
280
389
|
|
|
281
|
-
declare type
|
|
390
|
+
declare type __VLS_Props_9 = CustomizableOptions & {
|
|
282
391
|
ariaLabel?: string;
|
|
283
392
|
ariaOwns?: string;
|
|
284
393
|
textToCopy: (() => string) | string;
|
|
@@ -286,29 +395,17 @@ declare type __VLS_Props_8 = CustomizableOptions & {
|
|
|
286
395
|
tooltipDuration?: number;
|
|
287
396
|
};
|
|
288
397
|
|
|
289
|
-
declare type __VLS_Props_9 = CustomizableOptions & {
|
|
290
|
-
modelValue?: Record<string, unknown> | string | null;
|
|
291
|
-
items?: Record<string, unknown>[] | string[];
|
|
292
|
-
textKey?: string;
|
|
293
|
-
valueKey?: string;
|
|
294
|
-
label?: string;
|
|
295
|
-
outlined?: boolean;
|
|
296
|
-
required?: boolean;
|
|
297
|
-
errorMessages?: string | string[];
|
|
298
|
-
isHeaderToolbar?: boolean;
|
|
299
|
-
};
|
|
300
|
-
|
|
301
398
|
declare type __VLS_PublicProps = {
|
|
302
399
|
modelValue?: string | null;
|
|
303
|
-
} &
|
|
400
|
+
} & __VLS_Props_5;
|
|
304
401
|
|
|
305
402
|
declare type __VLS_PublicProps_2 = {
|
|
306
403
|
modelValue?: typeof active['value'];
|
|
307
|
-
} &
|
|
404
|
+
} & __VLS_Props_6;
|
|
308
405
|
|
|
309
406
|
declare type __VLS_PublicProps_3 = {
|
|
310
407
|
modelValue?: boolean | undefined;
|
|
311
|
-
} &
|
|
408
|
+
} & __VLS_Props_7;
|
|
312
409
|
|
|
313
410
|
declare type __VLS_PublicProps_4 = {
|
|
314
411
|
modelValue?: boolean;
|
|
@@ -320,15 +417,19 @@ declare type __VLS_PublicProps_5 = {
|
|
|
320
417
|
|
|
321
418
|
declare type __VLS_PublicProps_6 = {
|
|
322
419
|
'burgerMenu'?: boolean;
|
|
323
|
-
} &
|
|
420
|
+
} & __VLS_Props_22;
|
|
324
421
|
|
|
325
422
|
declare type __VLS_PublicProps_7 = {
|
|
326
|
-
modelValue?:
|
|
327
|
-
} &
|
|
423
|
+
modelValue?: Array<number>;
|
|
424
|
+
} & __VLS_Props_29;
|
|
328
425
|
|
|
329
426
|
declare type __VLS_PublicProps_8 = {
|
|
427
|
+
modelValue?: boolean;
|
|
428
|
+
} & __VLS_Props_33;
|
|
429
|
+
|
|
430
|
+
declare type __VLS_PublicProps_9 = {
|
|
330
431
|
modelValue?: MenuItem_3 | null;
|
|
331
|
-
} &
|
|
432
|
+
} & __VLS_Props_34;
|
|
332
433
|
|
|
333
434
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
334
435
|
new (): {
|
|
@@ -456,12 +557,24 @@ declare type __VLS_WithTemplateSlots_28<T, S> = T & {
|
|
|
456
557
|
};
|
|
457
558
|
};
|
|
458
559
|
|
|
560
|
+
declare type __VLS_WithTemplateSlots_29<T, S> = T & {
|
|
561
|
+
new (): {
|
|
562
|
+
$slots: S;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
|
|
459
566
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
460
567
|
new (): {
|
|
461
568
|
$slots: S;
|
|
462
569
|
};
|
|
463
570
|
};
|
|
464
571
|
|
|
572
|
+
declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
573
|
+
new (): {
|
|
574
|
+
$slots: S;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
|
|
465
578
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
466
579
|
new (): {
|
|
467
580
|
$slots: S;
|
|
@@ -500,12 +613,12 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
500
613
|
|
|
501
614
|
declare const active: ModelRef<boolean, string, boolean, boolean>;
|
|
502
615
|
|
|
503
|
-
export declare const BackBtn: __VLS_WithTemplateSlots<DefineComponent<
|
|
616
|
+
export declare const BackBtn: __VLS_WithTemplateSlots<DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
504
617
|
icon?(_: {}): any;
|
|
505
618
|
default?(_: {}): any;
|
|
506
619
|
}>;
|
|
507
620
|
|
|
508
|
-
export declare const BackToTopBtn: __VLS_WithTemplateSlots_2<DefineComponent<
|
|
621
|
+
export declare const BackToTopBtn: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
|
|
509
622
|
target: string;
|
|
510
623
|
threshold: number;
|
|
511
624
|
nudgeRight: string | number;
|
|
@@ -517,7 +630,7 @@ nudgeBottom: string | number;
|
|
|
517
630
|
|
|
518
631
|
export declare function checkNIR(nir: string): boolean;
|
|
519
632
|
|
|
520
|
-
export declare const CollapsibleList: DefineComponent<
|
|
633
|
+
export declare const CollapsibleList: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
521
634
|
|
|
522
635
|
declare type ComponentsProps = Record<string, PropsList>;
|
|
523
636
|
|
|
@@ -543,8 +656,8 @@ customize: (...args: any[]) => void;
|
|
|
543
656
|
"update:modelValue": (value: boolean) => void;
|
|
544
657
|
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
545
658
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
546
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
547
659
|
onAccept?: ((...args: any[]) => any) | undefined;
|
|
660
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
548
661
|
onReject?: ((...args: any[]) => any) | undefined;
|
|
549
662
|
onCustomize?: ((...args: any[]) => any) | undefined;
|
|
550
663
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, any>;
|
|
@@ -561,7 +674,7 @@ declare type CookiesItems = {
|
|
|
561
674
|
|
|
562
675
|
export { CookiesSelection }
|
|
563
676
|
|
|
564
|
-
export declare const CookiesTable: __VLS_WithTemplateSlots_5<DefineComponent<
|
|
677
|
+
export declare const CookiesTable: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Partial<Record<string, (_: {
|
|
565
678
|
cookie: Cookie;
|
|
566
679
|
}) => any>>>;
|
|
567
680
|
|
|
@@ -569,10 +682,10 @@ declare type CookieTypes = 'essentials' | 'functional' | 'analytics';
|
|
|
569
682
|
|
|
570
683
|
declare function copy(): void;
|
|
571
684
|
|
|
572
|
-
export declare const CopyBtn: __VLS_WithTemplateSlots_6<DefineComponent<
|
|
685
|
+
export declare const CopyBtn: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_Props_9, {
|
|
573
686
|
copy: typeof copy;
|
|
574
687
|
tooltip: Ref<boolean, boolean>;
|
|
575
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
688
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
576
689
|
ariaLabel: string;
|
|
577
690
|
ariaOwns: string;
|
|
578
691
|
textToCopy: string | (() => string);
|
|
@@ -701,9 +814,9 @@ default: undefined;
|
|
|
701
814
|
loading: boolean;
|
|
702
815
|
maxWidth: string;
|
|
703
816
|
minWidth: string;
|
|
817
|
+
placeholder: string;
|
|
704
818
|
width: string;
|
|
705
819
|
listTitle: string;
|
|
706
|
-
placeholder: string;
|
|
707
820
|
row: boolean;
|
|
708
821
|
renderHtmlValue: boolean;
|
|
709
822
|
icons: DataListIcons | undefined;
|
|
@@ -767,16 +880,16 @@ itemWidth: string;
|
|
|
767
880
|
icons: DataListIcons_2 | undefined;
|
|
768
881
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
769
882
|
|
|
770
|
-
export declare const DataListItem: __VLS_WithTemplateSlots_10<DefineComponent<
|
|
883
|
+
export declare const DataListItem: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
771
884
|
"click:action": (...args: any[]) => void;
|
|
772
|
-
}, string, PublicProps, Readonly<
|
|
885
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
773
886
|
"onClick:action"?: ((...args: any[]) => any) | undefined;
|
|
774
887
|
}>, {
|
|
775
|
-
icon: string;
|
|
776
|
-
value: string | number;
|
|
777
888
|
label: string;
|
|
778
|
-
action: string;
|
|
779
889
|
placeholder: string;
|
|
890
|
+
value: string | number;
|
|
891
|
+
icon: string;
|
|
892
|
+
action: string;
|
|
780
893
|
chip: boolean;
|
|
781
894
|
row: boolean;
|
|
782
895
|
renderHtmlValue: boolean;
|
|
@@ -788,6 +901,127 @@ renderHtmlValue: boolean;
|
|
|
788
901
|
action?(_: {}): any;
|
|
789
902
|
}>;
|
|
790
903
|
|
|
904
|
+
declare type DateInput = string | string[];
|
|
905
|
+
|
|
906
|
+
export declare const DatePicker: DefineComponent<__VLS_Props, {
|
|
907
|
+
validateOnSubmit: () => any;
|
|
908
|
+
isDatePickerVisible: Ref<boolean, boolean>;
|
|
909
|
+
selectedDates: Ref<Date | Date[] | null, Date | Date[] | null>;
|
|
910
|
+
errorMessages: Ref<string[], string[]>;
|
|
911
|
+
handleClickOutside: (event: MouseEvent) => void;
|
|
912
|
+
initializeSelectedDates: typeof initializeSelectedDates;
|
|
913
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
914
|
+
"update:model-value": (value: DateValue) => any;
|
|
915
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
916
|
+
"onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
|
|
917
|
+
}>, {
|
|
918
|
+
modelValue: DateInput;
|
|
919
|
+
required: boolean;
|
|
920
|
+
isDisabled: boolean;
|
|
921
|
+
placeholder: string;
|
|
922
|
+
noIcon: boolean;
|
|
923
|
+
format: string;
|
|
924
|
+
dateFormatReturn: string;
|
|
925
|
+
isBirthDate: boolean;
|
|
926
|
+
showWeekNumber: boolean;
|
|
927
|
+
displayRange: boolean;
|
|
928
|
+
displayIcon: boolean;
|
|
929
|
+
displayAppendIcon: boolean;
|
|
930
|
+
customRules: {
|
|
931
|
+
type: string;
|
|
932
|
+
options: RuleOptions;
|
|
933
|
+
}[];
|
|
934
|
+
customWarningRules: {
|
|
935
|
+
type: string;
|
|
936
|
+
options: RuleOptions;
|
|
937
|
+
}[];
|
|
938
|
+
noCalendar: boolean;
|
|
939
|
+
isOutlined: boolean;
|
|
940
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
941
|
+
dateTextInputRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
942
|
+
modelValue?: (string | [string, string]) | undefined;
|
|
943
|
+
displayFormat?: string | undefined;
|
|
944
|
+
returnFormat?: string | undefined;
|
|
945
|
+
range?: boolean | undefined;
|
|
946
|
+
placeholder?: string | undefined;
|
|
947
|
+
rules?: {
|
|
948
|
+
type: string;
|
|
949
|
+
options: RuleOptions;
|
|
950
|
+
}[] | undefined;
|
|
951
|
+
warningRules?: {
|
|
952
|
+
type: string;
|
|
953
|
+
options: RuleOptions;
|
|
954
|
+
}[] | undefined;
|
|
955
|
+
required?: boolean | undefined;
|
|
956
|
+
}> & Readonly<{
|
|
957
|
+
"onUpdate:modelValue"?: ((value: string | [string, string]) => any) | undefined;
|
|
958
|
+
}>, {
|
|
959
|
+
validate: () => void;
|
|
960
|
+
validateOnSubmit: () => boolean;
|
|
961
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
962
|
+
"update:modelValue": (value: string | [string, string]) => any;
|
|
963
|
+
}, PublicProps, {
|
|
964
|
+
modelValue: string | [string, string];
|
|
965
|
+
required: boolean;
|
|
966
|
+
placeholder: string;
|
|
967
|
+
rules: {
|
|
968
|
+
type: string;
|
|
969
|
+
options: RuleOptions;
|
|
970
|
+
}[];
|
|
971
|
+
displayFormat: string;
|
|
972
|
+
returnFormat: string;
|
|
973
|
+
range: boolean;
|
|
974
|
+
warningRules: {
|
|
975
|
+
type: string;
|
|
976
|
+
options: RuleOptions;
|
|
977
|
+
}[];
|
|
978
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
979
|
+
P: {};
|
|
980
|
+
B: {};
|
|
981
|
+
D: {};
|
|
982
|
+
C: {};
|
|
983
|
+
M: {};
|
|
984
|
+
Defaults: {};
|
|
985
|
+
}, Readonly<{
|
|
986
|
+
modelValue?: (string | [string, string]) | undefined;
|
|
987
|
+
displayFormat?: string | undefined;
|
|
988
|
+
returnFormat?: string | undefined;
|
|
989
|
+
range?: boolean | undefined;
|
|
990
|
+
placeholder?: string | undefined;
|
|
991
|
+
rules?: {
|
|
992
|
+
type: string;
|
|
993
|
+
options: RuleOptions;
|
|
994
|
+
}[] | undefined;
|
|
995
|
+
warningRules?: {
|
|
996
|
+
type: string;
|
|
997
|
+
options: RuleOptions;
|
|
998
|
+
}[] | undefined;
|
|
999
|
+
required?: boolean | undefined;
|
|
1000
|
+
}> & Readonly<{
|
|
1001
|
+
"onUpdate:modelValue"?: ((value: string | [string, string]) => any) | undefined;
|
|
1002
|
+
}>, {
|
|
1003
|
+
validate: () => void;
|
|
1004
|
+
validateOnSubmit: () => boolean;
|
|
1005
|
+
}, {}, {}, {}, {
|
|
1006
|
+
modelValue: string | [string, string];
|
|
1007
|
+
required: boolean;
|
|
1008
|
+
placeholder: string;
|
|
1009
|
+
rules: {
|
|
1010
|
+
type: string;
|
|
1011
|
+
options: RuleOptions;
|
|
1012
|
+
}[];
|
|
1013
|
+
displayFormat: string;
|
|
1014
|
+
returnFormat: string;
|
|
1015
|
+
range: boolean;
|
|
1016
|
+
warningRules: {
|
|
1017
|
+
type: string;
|
|
1018
|
+
options: RuleOptions;
|
|
1019
|
+
}[];
|
|
1020
|
+
}> | null;
|
|
1021
|
+
}, HTMLDivElement>;
|
|
1022
|
+
|
|
1023
|
+
declare type DateValue = string | [string, string];
|
|
1024
|
+
|
|
791
1025
|
export { DialogBox }
|
|
792
1026
|
|
|
793
1027
|
declare function dismissAlert(): void;
|
|
@@ -796,14 +1030,14 @@ declare type DisplayFormat = 'code' | 'code-abbreviation' | 'code-country' | 'co
|
|
|
796
1030
|
|
|
797
1031
|
declare function download(): Promise<void>;
|
|
798
1032
|
|
|
799
|
-
export declare const DownloadBtn: __VLS_WithTemplateSlots_11<DefineComponent<
|
|
1033
|
+
export declare const DownloadBtn: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_Props_13, {
|
|
800
1034
|
getFileInfo: typeof getFileInfo;
|
|
801
1035
|
download: typeof download;
|
|
802
1036
|
state: Ref<State, State>;
|
|
803
1037
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
804
1038
|
success: (...args: any[]) => void;
|
|
805
1039
|
error: (...args: any[]) => void;
|
|
806
|
-
}, string, PublicProps, Readonly<
|
|
1040
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
807
1041
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
808
1042
|
onError?: ((...args: any[]) => any) | undefined;
|
|
809
1043
|
}>, {
|
|
@@ -813,9 +1047,9 @@ fallbackFilename: string;
|
|
|
813
1047
|
default?(_: {}): any;
|
|
814
1048
|
}>;
|
|
815
1049
|
|
|
816
|
-
export declare const ErrorPage: __VLS_WithTemplateSlots_12<DefineComponent<
|
|
817
|
-
message: string;
|
|
1050
|
+
export declare const ErrorPage: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
818
1051
|
code: string;
|
|
1052
|
+
message: string;
|
|
819
1053
|
pageTitle: string;
|
|
820
1054
|
codeErrorText: string;
|
|
821
1055
|
btnText: string;
|
|
@@ -828,11 +1062,11 @@ hideBtn: boolean;
|
|
|
828
1062
|
illustration?(_: {}): any;
|
|
829
1063
|
}>;
|
|
830
1064
|
|
|
831
|
-
export declare const ExternalLinks: __VLS_WithTemplateSlots_13<DefineComponent<
|
|
832
|
-
position: "top left" | "top right" | "bottom left" | "bottom right";
|
|
1065
|
+
export declare const ExternalLinks: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
833
1066
|
fixed: boolean;
|
|
834
|
-
nudgeBottom: string | number;
|
|
835
1067
|
ariaLabel: string;
|
|
1068
|
+
position: "top left" | "top right" | "bottom left" | "bottom right";
|
|
1069
|
+
nudgeBottom: string | number;
|
|
836
1070
|
ariaOwns: string;
|
|
837
1071
|
btnText: string;
|
|
838
1072
|
nudgeTop: string | number;
|
|
@@ -845,11 +1079,51 @@ declare interface FileInfo {
|
|
|
845
1079
|
type: string;
|
|
846
1080
|
}
|
|
847
1081
|
|
|
1082
|
+
export declare const FileUpload: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_Props_16, {
|
|
1083
|
+
fileInput: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
1084
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1085
|
+
error: (value: string[]) => any;
|
|
1086
|
+
"update:modelValue": (value: File[]) => any;
|
|
1087
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
1088
|
+
onError?: ((value: string[]) => any) | undefined;
|
|
1089
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
1090
|
+
}>, {
|
|
1091
|
+
disabled: boolean;
|
|
1092
|
+
multiple: boolean;
|
|
1093
|
+
locales: {
|
|
1094
|
+
or: string;
|
|
1095
|
+
chooseFile: (multiple: boolean) => "Choisir des fichiers" | "Choisir un fichier";
|
|
1096
|
+
infoText: (max: string, ext: string[]) => string;
|
|
1097
|
+
fileSizeUnits: string[];
|
|
1098
|
+
dropFilesHere: (multiple: boolean) => string;
|
|
1099
|
+
errorSize: (fileName: string, max: string) => string;
|
|
1100
|
+
errorExtension: (fileName: string, ext: string[]) => string;
|
|
1101
|
+
};
|
|
1102
|
+
allowedExtensions: string[];
|
|
1103
|
+
fileSizeUnits: string[];
|
|
1104
|
+
fileSizeMax: number;
|
|
1105
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1106
|
+
dropZone: HTMLLabelElement;
|
|
1107
|
+
fileInput: HTMLInputElement;
|
|
1108
|
+
}, HTMLLabelElement>, Readonly<{
|
|
1109
|
+
default(): void;
|
|
1110
|
+
} & FileUploadContentSlots> & {
|
|
1111
|
+
default(): void;
|
|
1112
|
+
} & FileUploadContentSlots>;
|
|
1113
|
+
|
|
1114
|
+
declare interface FileUploadContentSlots {
|
|
1115
|
+
'icon'(): void;
|
|
1116
|
+
'action-text'(): void;
|
|
1117
|
+
'or'(): void;
|
|
1118
|
+
'button-text'(): void;
|
|
1119
|
+
'info-text'(): void;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
848
1122
|
declare function focus_2(): void;
|
|
849
1123
|
|
|
850
|
-
export declare const FooterBar:
|
|
1124
|
+
export declare const FooterBar: __VLS_WithTemplateSlots_15<DefineComponent<__VLS_Props_17, {
|
|
851
1125
|
logoSize: ComputedRef<"small" | "normal">;
|
|
852
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1126
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
|
|
853
1127
|
light: boolean;
|
|
854
1128
|
items: LinkItem[] | null;
|
|
855
1129
|
a11yCompliance: string;
|
|
@@ -875,7 +1149,7 @@ socialMediaLinks: SocialMediaLink[];
|
|
|
875
1149
|
append?(_: {}): any;
|
|
876
1150
|
}>;
|
|
877
1151
|
|
|
878
|
-
export declare const FranceConnectBtn: DefineComponent<
|
|
1152
|
+
export declare const FranceConnectBtn: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
|
|
879
1153
|
dark: boolean;
|
|
880
1154
|
isConnectPlus: boolean;
|
|
881
1155
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -885,7 +1159,7 @@ isConnectPlus: boolean;
|
|
|
885
1159
|
*/
|
|
886
1160
|
declare function getFileInfo(header: Record<string, string>): FileInfo;
|
|
887
1161
|
|
|
888
|
-
export declare const HeaderBar:
|
|
1162
|
+
export declare const HeaderBar: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
|
|
889
1163
|
sticky: boolean;
|
|
890
1164
|
serviceTitle: string;
|
|
891
1165
|
serviceSubtitle: string;
|
|
@@ -919,7 +1193,7 @@ headerSticky: HTMLDivElement;
|
|
|
919
1193
|
'header-side': (props: SlotProps) => unknown;
|
|
920
1194
|
}>;
|
|
921
1195
|
|
|
922
|
-
export declare const HeaderBurgerMenu:
|
|
1196
|
+
export declare const HeaderBurgerMenu: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
923
1197
|
"update:modelValue": (value: boolean) => any;
|
|
924
1198
|
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
925
1199
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -997,11 +1271,11 @@ type: StringConstructor;
|
|
|
997
1271
|
default: string;
|
|
998
1272
|
};
|
|
999
1273
|
}>> & Readonly<{}>, {
|
|
1000
|
-
height: string;
|
|
1001
1274
|
width: string;
|
|
1275
|
+
height: string;
|
|
1002
1276
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1003
1277
|
|
|
1004
|
-
export declare const HeaderLogo:
|
|
1278
|
+
export declare const HeaderLogo: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
|
|
1005
1279
|
ariaLabel: string;
|
|
1006
1280
|
serviceTitle: string;
|
|
1007
1281
|
serviceSubtitle: string;
|
|
@@ -1026,16 +1300,16 @@ focus: typeof focus_2;
|
|
|
1026
1300
|
btn: HTMLButtonElement;
|
|
1027
1301
|
}, HTMLButtonElement>;
|
|
1028
1302
|
|
|
1029
|
-
export declare const HeaderMenuItem:
|
|
1303
|
+
export declare const HeaderMenuItem: __VLS_WithTemplateSlots_18<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLLIElement>, {
|
|
1030
1304
|
default?(_: {}): any;
|
|
1031
1305
|
}>;
|
|
1032
1306
|
|
|
1033
|
-
export declare const HeaderMenuSection:
|
|
1307
|
+
export declare const HeaderMenuSection: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
1034
1308
|
title?(_: {}): any;
|
|
1035
1309
|
default?(_: {}): any;
|
|
1036
1310
|
}>;
|
|
1037
1311
|
|
|
1038
|
-
export declare const HeaderNavigationBar:
|
|
1312
|
+
export declare const HeaderNavigationBar: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1039
1313
|
"update:burgerMenu": (value: boolean) => any;
|
|
1040
1314
|
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
1041
1315
|
"onUpdate:burgerMenu"?: ((value: boolean) => any) | undefined;
|
|
@@ -1074,12 +1348,12 @@ maxHorizontalMenuItems: number;
|
|
|
1074
1348
|
'navigation-menu-content': (props: SlotProps_2) => unknown;
|
|
1075
1349
|
}>;
|
|
1076
1350
|
|
|
1077
|
-
export declare const HeaderSubMenu:
|
|
1351
|
+
export declare const HeaderSubMenu: __VLS_WithTemplateSlots_20<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
1078
1352
|
title?(_: {}): any;
|
|
1079
1353
|
default?(_: {}): any;
|
|
1080
1354
|
}>;
|
|
1081
1355
|
|
|
1082
|
-
export declare const HeaderToolbar:
|
|
1356
|
+
export declare const HeaderToolbar: __VLS_WithTemplateSlots_23<DefineComponent<ExtractPropTypes< {
|
|
1083
1357
|
leftMenu: {
|
|
1084
1358
|
type: PropType<MenuItem_2[]>;
|
|
1085
1359
|
default: () => ({
|
|
@@ -1183,13 +1457,15 @@ declare type Indicatif = {
|
|
|
1183
1457
|
phoneLength: number;
|
|
1184
1458
|
};
|
|
1185
1459
|
|
|
1460
|
+
declare function initializeSelectedDates(modelValue: DateInput | null): Date | Date[] | null;
|
|
1461
|
+
|
|
1186
1462
|
export declare function isNIRKeyValid(nir: string): boolean;
|
|
1187
1463
|
|
|
1188
1464
|
declare type Item = string | Record<string, unknown>;
|
|
1189
1465
|
|
|
1190
1466
|
export declare const KEY_LENGTH = 2;
|
|
1191
1467
|
|
|
1192
|
-
export declare const LangBtn: DefineComponent<
|
|
1468
|
+
export declare const LangBtn: DefineComponent<__VLS_Props_23, {
|
|
1193
1469
|
currentLangData: ComputedRef< {
|
|
1194
1470
|
name: string;
|
|
1195
1471
|
label: string;
|
|
@@ -1199,7 +1475,7 @@ selectedLanguage: Ref<string, string>;
|
|
|
1199
1475
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1200
1476
|
change: (...args: any[]) => void;
|
|
1201
1477
|
"update:modelValue": (...args: any[]) => void;
|
|
1202
|
-
}, string, PublicProps, Readonly<
|
|
1478
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
1203
1479
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1204
1480
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1205
1481
|
}>, {
|
|
@@ -1210,6 +1486,16 @@ hideDownArrow: boolean;
|
|
|
1210
1486
|
availableLanguages: string[] | "*";
|
|
1211
1487
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1212
1488
|
|
|
1489
|
+
declare const locales: {
|
|
1490
|
+
or: string;
|
|
1491
|
+
chooseFile: (multiple: boolean) => "Choisir des fichiers" | "Choisir un fichier";
|
|
1492
|
+
infoText: (max: string, ext: string[]) => string;
|
|
1493
|
+
fileSizeUnits: string[];
|
|
1494
|
+
dropFilesHere: (multiple: boolean) => string;
|
|
1495
|
+
errorSize: (fileName: string, max: string) => string;
|
|
1496
|
+
errorExtension: (fileName: string, ext: string[]) => string;
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1213
1499
|
export declare const Logo: DefineComponent<ExtractPropTypes< {
|
|
1214
1500
|
hideSignature: {
|
|
1215
1501
|
type: BooleanConstructor;
|
|
@@ -1271,16 +1557,16 @@ default: "normal";
|
|
|
1271
1557
|
validator: (value: string) => boolean;
|
|
1272
1558
|
};
|
|
1273
1559
|
}>> & Readonly<{}>, {
|
|
1274
|
-
dark: boolean;
|
|
1275
1560
|
size: "small" | "x-small" | "normal";
|
|
1276
1561
|
ariaLabel: string;
|
|
1562
|
+
dark: boolean;
|
|
1277
1563
|
avatar: boolean;
|
|
1278
1564
|
hideSignature: boolean;
|
|
1279
1565
|
hideOrganism: boolean;
|
|
1280
1566
|
risquePro: boolean;
|
|
1281
1567
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1282
1568
|
|
|
1283
|
-
export declare const LogoBrandSection:
|
|
1569
|
+
export declare const LogoBrandSection: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
1284
1570
|
theme: Theme;
|
|
1285
1571
|
serviceTitle: string;
|
|
1286
1572
|
homeLink: {
|
|
@@ -1338,7 +1624,7 @@ declare interface NavigationItem {
|
|
|
1338
1624
|
|
|
1339
1625
|
export { NirField }
|
|
1340
1626
|
|
|
1341
|
-
export declare const NotFoundPage: DefineComponent<
|
|
1627
|
+
export declare const NotFoundPage: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {
|
|
1342
1628
|
btnText: string;
|
|
1343
1629
|
btnHref: string;
|
|
1344
1630
|
btnLink: string | RouteRecordRaw;
|
|
@@ -1354,7 +1640,7 @@ declare interface Notification_2 {
|
|
|
1354
1640
|
}
|
|
1355
1641
|
export { Notification_2 as Notification }
|
|
1356
1642
|
|
|
1357
|
-
export declare const NotificationBar:
|
|
1643
|
+
export declare const NotificationBar: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_Props_26, {
|
|
1358
1644
|
openNotification: (notification: Notification_2) => void;
|
|
1359
1645
|
handleClearNotification: () => void;
|
|
1360
1646
|
showNextNotification: () => void;
|
|
@@ -1371,7 +1657,7 @@ contentColor: string;
|
|
|
1371
1657
|
}>;
|
|
1372
1658
|
smallCloseBtn: ComputedRef<boolean>;
|
|
1373
1659
|
isVertical: ComputedRef<boolean>;
|
|
1374
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1660
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {
|
|
1375
1661
|
rounded: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xl" | "lg" | "sm" | "xs" | "shaped";
|
|
1376
1662
|
bottom: boolean;
|
|
1377
1663
|
closeBtnText: string;
|
|
@@ -1389,10 +1675,10 @@ export declare const NUMBER_LENGTH = 13;
|
|
|
1389
1675
|
|
|
1390
1676
|
export declare type NumberOrNumberString = string | number | undefined;
|
|
1391
1677
|
|
|
1392
|
-
export declare const PageContainer:
|
|
1678
|
+
export declare const PageContainer: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_Props_27, {
|
|
1393
1679
|
spacingClass: ComputedRef<string>;
|
|
1394
1680
|
containerSize: ComputedRef<number>;
|
|
1395
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1681
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
|
|
1396
1682
|
color: string;
|
|
1397
1683
|
size: "xl" | "lg" | "md" | "sm" | "xs";
|
|
1398
1684
|
spacing: "xl" | "lg" | "md" | "sm" | "xs";
|
|
@@ -1400,20 +1686,20 @@ spacing: "xl" | "lg" | "md" | "sm" | "xs";
|
|
|
1400
1686
|
default?(_: {}): any;
|
|
1401
1687
|
}>;
|
|
1402
1688
|
|
|
1403
|
-
export declare const PasswordField: DefineComponent<
|
|
1689
|
+
export declare const PasswordField: DefineComponent<__VLS_Props_28, {
|
|
1404
1690
|
validateOnSubmit: typeof validateOnSubmit;
|
|
1405
1691
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1406
1692
|
submit: (...args: any[]) => void;
|
|
1407
1693
|
"update:modelValue": (...args: any[]) => void;
|
|
1408
|
-
}, string, PublicProps, Readonly<
|
|
1694
|
+
}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
|
|
1409
1695
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1410
1696
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1411
1697
|
}>, {
|
|
1412
1698
|
outlined: boolean;
|
|
1413
1699
|
modelValue: string | null;
|
|
1414
1700
|
required: boolean;
|
|
1415
|
-
isValidateOnBlur: boolean;
|
|
1416
1701
|
customRules: any;
|
|
1702
|
+
isValidateOnBlur: boolean;
|
|
1417
1703
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1418
1704
|
|
|
1419
1705
|
export declare const PhoneField: DefineComponent<ExtractPropTypes< {
|
|
@@ -1526,11 +1812,11 @@ onChange?: ((...args: any[]) => any) | undefined;
|
|
|
1526
1812
|
outlined: boolean;
|
|
1527
1813
|
modelValue: string;
|
|
1528
1814
|
required: boolean;
|
|
1815
|
+
displayFormat: DisplayFormat;
|
|
1529
1816
|
dialCodeModel: string | Record<string, any>;
|
|
1530
1817
|
outlinedIndicatif: boolean;
|
|
1531
1818
|
withCountryCode: boolean;
|
|
1532
1819
|
countryCodeRequired: boolean;
|
|
1533
|
-
displayFormat: DisplayFormat;
|
|
1534
1820
|
customIndicatifs: Indicatif[];
|
|
1535
1821
|
useCustomIndicatifsOnly: boolean;
|
|
1536
1822
|
isValidatedOnBlur: boolean;
|
|
@@ -1550,21 +1836,130 @@ declare interface Props_2 {
|
|
|
1550
1836
|
|
|
1551
1837
|
declare type PropsList = Record<string, unknown>;
|
|
1552
1838
|
|
|
1553
|
-
declare
|
|
1554
|
-
|
|
1839
|
+
export declare const RangeField: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1840
|
+
"update:modelValue": (value: number[]) => any;
|
|
1841
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
|
|
1842
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
1843
|
+
}>, {
|
|
1844
|
+
max: number;
|
|
1845
|
+
min: number;
|
|
1846
|
+
step: number;
|
|
1847
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1848
|
+
|
|
1849
|
+
export declare const RatingPicker: __VLS_WithTemplateSlots_27<DefineComponent<ExtractPropTypes< {
|
|
1850
|
+
type: {
|
|
1851
|
+
type: StringConstructor;
|
|
1852
|
+
required: true;
|
|
1853
|
+
validator: (value: string) => boolean;
|
|
1854
|
+
};
|
|
1855
|
+
label: {
|
|
1856
|
+
type: PropType<string | null>;
|
|
1857
|
+
default: null;
|
|
1858
|
+
};
|
|
1859
|
+
readonly: {
|
|
1860
|
+
type: BooleanConstructor;
|
|
1861
|
+
default: boolean;
|
|
1862
|
+
};
|
|
1863
|
+
itemLabels: {
|
|
1864
|
+
type: PropType<string[]>;
|
|
1865
|
+
default: null;
|
|
1866
|
+
};
|
|
1867
|
+
twoEmotions: {
|
|
1868
|
+
type: BooleanConstructor;
|
|
1869
|
+
default: boolean;
|
|
1870
|
+
};
|
|
1871
|
+
hideAlert: {
|
|
1872
|
+
type: BooleanConstructor;
|
|
1873
|
+
default: boolean;
|
|
1874
|
+
};
|
|
1875
|
+
modelValue: {
|
|
1876
|
+
type: NumberConstructor;
|
|
1877
|
+
default: number;
|
|
1878
|
+
};
|
|
1879
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1880
|
+
"update:modelValue": (...args: any[]) => void;
|
|
1881
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1882
|
+
type: {
|
|
1883
|
+
type: StringConstructor;
|
|
1884
|
+
required: true;
|
|
1885
|
+
validator: (value: string) => boolean;
|
|
1886
|
+
};
|
|
1887
|
+
label: {
|
|
1888
|
+
type: PropType<string | null>;
|
|
1889
|
+
default: null;
|
|
1890
|
+
};
|
|
1891
|
+
readonly: {
|
|
1892
|
+
type: BooleanConstructor;
|
|
1893
|
+
default: boolean;
|
|
1894
|
+
};
|
|
1895
|
+
itemLabels: {
|
|
1896
|
+
type: PropType<string[]>;
|
|
1897
|
+
default: null;
|
|
1898
|
+
};
|
|
1899
|
+
twoEmotions: {
|
|
1900
|
+
type: BooleanConstructor;
|
|
1901
|
+
default: boolean;
|
|
1902
|
+
};
|
|
1903
|
+
hideAlert: {
|
|
1904
|
+
type: BooleanConstructor;
|
|
1905
|
+
default: boolean;
|
|
1906
|
+
};
|
|
1907
|
+
modelValue: {
|
|
1908
|
+
type: NumberConstructor;
|
|
1909
|
+
default: number;
|
|
1910
|
+
};
|
|
1911
|
+
}>> & Readonly<{
|
|
1912
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1913
|
+
}>, {
|
|
1914
|
+
modelValue: number;
|
|
1915
|
+
label: string | null;
|
|
1916
|
+
readonly: boolean;
|
|
1917
|
+
itemLabels: string[];
|
|
1918
|
+
twoEmotions: boolean;
|
|
1919
|
+
hideAlert: boolean;
|
|
1920
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
1921
|
+
label?(_: {}): any;
|
|
1922
|
+
default?(_: {}): any;
|
|
1923
|
+
}>;
|
|
1924
|
+
|
|
1925
|
+
export declare type RuleOptions = {
|
|
1555
1926
|
message?: string;
|
|
1556
1927
|
successMessage?: string;
|
|
1928
|
+
warningMessage?: string;
|
|
1929
|
+
fieldName?: string;
|
|
1930
|
+
fieldIdentifier?: string;
|
|
1931
|
+
value?: any;
|
|
1557
1932
|
length?: number;
|
|
1558
|
-
value?: number;
|
|
1559
1933
|
pattern?: RegExp;
|
|
1560
1934
|
ignoreSpace?: boolean;
|
|
1561
|
-
|
|
1935
|
+
isWarning?: boolean;
|
|
1562
1936
|
validate?: (value: any) => boolean | string;
|
|
1937
|
+
date?: string | Date;
|
|
1563
1938
|
};
|
|
1564
1939
|
|
|
1565
|
-
export declare const
|
|
1566
|
-
|
|
1940
|
+
export declare const SelectBtnField: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1941
|
+
"update:modelValue": (...args: any[]) => void;
|
|
1942
|
+
"update:error": (...args: any[]) => void;
|
|
1943
|
+
"update:error-messages": (...args: any[]) => void;
|
|
1944
|
+
}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{
|
|
1945
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1946
|
+
"onUpdate:error"?: ((...args: any[]) => any) | undefined;
|
|
1947
|
+
"onUpdate:error-messages"?: ((...args: any[]) => any) | undefined;
|
|
1948
|
+
}>, {
|
|
1949
|
+
error: boolean;
|
|
1950
|
+
modelValue: SelectBtnValue;
|
|
1951
|
+
label: string;
|
|
1952
|
+
errorMessages: string[];
|
|
1953
|
+
hint: string;
|
|
1954
|
+
readonly: boolean;
|
|
1955
|
+
multiple: boolean;
|
|
1956
|
+
items: SelectBtnItem[];
|
|
1957
|
+
inline: boolean;
|
|
1958
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1959
|
+
|
|
1960
|
+
export declare const SkipLink: __VLS_WithTemplateSlots_28<DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {
|
|
1567
1961
|
label: string;
|
|
1962
|
+
target: string;
|
|
1568
1963
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1569
1964
|
skipLinkSpan: HTMLSpanElement;
|
|
1570
1965
|
}, HTMLDivElement>, {
|
|
@@ -1595,10 +1990,10 @@ links: SocialMediaLink_2[];
|
|
|
1595
1990
|
|
|
1596
1991
|
declare type State = 'idle' | 'loading' | 'success' | 'error';
|
|
1597
1992
|
|
|
1598
|
-
export declare const SubHeader:
|
|
1993
|
+
export declare const SubHeader: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1599
1994
|
"click:list-item": (...args: any[]) => void;
|
|
1600
1995
|
back: (...args: any[]) => void;
|
|
1601
|
-
}, string, PublicProps, Readonly<
|
|
1996
|
+
}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
|
|
1602
1997
|
"onClick:list-item"?: ((...args: any[]) => any) | undefined;
|
|
1603
1998
|
onBack?: ((...args: any[]) => any) | undefined;
|
|
1604
1999
|
}>, {
|
|
@@ -1618,12 +2013,12 @@ dataListGroupItems: DataListGroupItems_2;
|
|
|
1618
2013
|
'right-content'?(_: {}): any;
|
|
1619
2014
|
}>;
|
|
1620
2015
|
|
|
1621
|
-
export declare const SyAlert:
|
|
2016
|
+
export declare const SyAlert: __VLS_WithTemplateSlots_30<DefineComponent<__VLS_PublicProps_8, {
|
|
1622
2017
|
prependIcon: ComputedRef<string>;
|
|
1623
2018
|
dismissAlert: typeof dismissAlert;
|
|
1624
2019
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1625
2020
|
"update:modelValue": (value: boolean) => any;
|
|
1626
|
-
}, string, PublicProps, Readonly<
|
|
2021
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
|
|
1627
2022
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1628
2023
|
}>, {
|
|
1629
2024
|
type: "info" | "success" | "warning" | "error";
|
|
@@ -1767,10 +2162,10 @@ list: {};
|
|
|
1767
2162
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1768
2163
|
onLogout?: ((...args: any[]) => any) | undefined;
|
|
1769
2164
|
}>, {
|
|
1770
|
-
options: Record<string, any>;
|
|
1771
|
-
label: string;
|
|
1772
2165
|
modelValue: string | Record<string, any> | null;
|
|
2166
|
+
label: string;
|
|
1773
2167
|
required: boolean;
|
|
2168
|
+
options: Record<string, any>;
|
|
1774
2169
|
menuItems: Item[];
|
|
1775
2170
|
menuId: string;
|
|
1776
2171
|
textKey: string;
|
|
@@ -1791,7 +2186,7 @@ buttonRef: HTMLDivElement;
|
|
|
1791
2186
|
'footer-list-item'?(_: {}): any;
|
|
1792
2187
|
}>;
|
|
1793
2188
|
|
|
1794
|
-
export declare const SyInputSelect: DefineComponent<
|
|
2189
|
+
export declare const SyInputSelect: DefineComponent<__VLS_Props_10, {
|
|
1795
2190
|
isOpen: Ref<boolean, boolean>;
|
|
1796
2191
|
closeList: () => void;
|
|
1797
2192
|
selectItem: (item: any) => void;
|
|
@@ -1799,15 +2194,15 @@ selectedItem: Ref<string | Record<string, unknown> | null, string | Record<strin
|
|
|
1799
2194
|
getItemText: (item: unknown) => any;
|
|
1800
2195
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1801
2196
|
"update:modelValue": (...args: any[]) => void;
|
|
1802
|
-
}, string, PublicProps, Readonly<
|
|
2197
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
1803
2198
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1804
2199
|
}>, {
|
|
1805
2200
|
outlined: boolean;
|
|
1806
|
-
label: string;
|
|
1807
|
-
items: string[] | Record<string, unknown>[];
|
|
1808
2201
|
modelValue: string | Record<string, unknown> | null;
|
|
2202
|
+
label: string;
|
|
1809
2203
|
required: boolean;
|
|
1810
2204
|
errorMessages: string | string[];
|
|
2205
|
+
items: string[] | Record<string, unknown>[];
|
|
1811
2206
|
textKey: string;
|
|
1812
2207
|
valueKey: string;
|
|
1813
2208
|
isHeaderToolbar: boolean;
|
|
@@ -1817,10 +2212,70 @@ menu: HTMLDivElement;
|
|
|
1817
2212
|
|
|
1818
2213
|
export { SySelect }
|
|
1819
2214
|
|
|
1820
|
-
export declare const SyTextField: __VLS_WithTemplateSlots_8<DefineComponent<
|
|
1821
|
-
appendInnerIconColor: ComputedRef<"success" | "error" | "black">;
|
|
1822
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2215
|
+
export declare const SyTextField: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Props_11, {
|
|
2216
|
+
appendInnerIconColor: ComputedRef<"success" | "warning" | "error" | "black">;
|
|
2217
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2218
|
+
"update:model-value": (...args: any[]) => void;
|
|
2219
|
+
clear: (...args: any[]) => void;
|
|
2220
|
+
"prepend-icon-click": (...args: any[]) => void;
|
|
2221
|
+
"append-icon-click": (...args: any[]) => void;
|
|
2222
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
2223
|
+
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
2224
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
2225
|
+
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
2226
|
+
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
2227
|
+
}>, {
|
|
2228
|
+
modelValue: string | number | null;
|
|
2229
|
+
prependIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
|
|
2230
|
+
appendIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
|
|
2231
|
+
prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
|
|
2232
|
+
appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
|
|
1823
2233
|
variantStyle: VariantStyle;
|
|
2234
|
+
color: ColorType;
|
|
2235
|
+
isClearable: boolean;
|
|
2236
|
+
label: string;
|
|
2237
|
+
errorMessages: string[] | null;
|
|
2238
|
+
isReadOnly: boolean;
|
|
2239
|
+
isActive: boolean;
|
|
2240
|
+
baseColor: string;
|
|
2241
|
+
bgColor: string;
|
|
2242
|
+
centerAffix: boolean;
|
|
2243
|
+
counter: string | number | boolean;
|
|
2244
|
+
counterValue: number | ((value: any) => number);
|
|
2245
|
+
density: "default" | "comfortable" | "compact";
|
|
2246
|
+
direction: "horizontal" | "vertical";
|
|
2247
|
+
isDirty: boolean;
|
|
2248
|
+
isDisabled: boolean;
|
|
2249
|
+
isOnError: boolean;
|
|
2250
|
+
isFlat: boolean;
|
|
2251
|
+
isFocused: boolean;
|
|
2252
|
+
areDetailsHidden: boolean | "auto";
|
|
2253
|
+
areSpinButtonsHidden: boolean;
|
|
2254
|
+
hint: string;
|
|
2255
|
+
id: string;
|
|
2256
|
+
loading: string | boolean;
|
|
2257
|
+
maxErrors: string | number;
|
|
2258
|
+
maxWidth: string | number;
|
|
2259
|
+
messages: string | string[];
|
|
2260
|
+
minWidth: string | number;
|
|
2261
|
+
name: string;
|
|
2262
|
+
displayPersistentClear: boolean;
|
|
2263
|
+
displayPersistentCounter: boolean;
|
|
2264
|
+
displayPersistentHint: boolean;
|
|
2265
|
+
displayPersistentPlaceholder: boolean;
|
|
2266
|
+
placeholder: string;
|
|
2267
|
+
prefix: string;
|
|
2268
|
+
isReversed: boolean;
|
|
2269
|
+
role: string;
|
|
2270
|
+
rounded: string | number | boolean;
|
|
2271
|
+
isOnSingleLine: boolean;
|
|
2272
|
+
suffix: string;
|
|
2273
|
+
theme: string;
|
|
2274
|
+
isTiled: boolean;
|
|
2275
|
+
type: string;
|
|
2276
|
+
width: string | number;
|
|
2277
|
+
displayAsterisk: boolean;
|
|
2278
|
+
noIcon: boolean;
|
|
1824
2279
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1825
2280
|
prepend?(_: {}): any;
|
|
1826
2281
|
append?(_: {}): any;
|
|
@@ -1859,10 +2314,10 @@ export declare function useNotificationService(): {
|
|
|
1859
2314
|
clearQueue: () => void;
|
|
1860
2315
|
};
|
|
1861
2316
|
|
|
1862
|
-
export declare const UserMenuBtn: DefineComponent<
|
|
2317
|
+
export declare const UserMenuBtn: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1863
2318
|
logout: (...args: any[]) => void;
|
|
1864
2319
|
"update:modelValue": (value: MenuItem_3 | null) => void;
|
|
1865
|
-
}, string, PublicProps, Readonly<
|
|
2320
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
|
|
1866
2321
|
"onUpdate:modelValue"?: ((value: MenuItem_3 | null) => any) | undefined;
|
|
1867
2322
|
onLogout?: ((...args: any[]) => any) | undefined;
|
|
1868
2323
|
}>, {
|
|
@@ -1884,12 +2339,13 @@ export declare function useWidthable(props: {
|
|
|
1884
2339
|
|
|
1885
2340
|
declare function validateOnSubmit(): boolean;
|
|
1886
2341
|
|
|
1887
|
-
declare type ValidationResult = {
|
|
2342
|
+
export declare type ValidationResult = {
|
|
1888
2343
|
success?: string;
|
|
1889
2344
|
error?: string;
|
|
2345
|
+
warning?: string;
|
|
1890
2346
|
};
|
|
1891
2347
|
|
|
1892
|
-
declare type ValidationRule = (value: any) => ValidationResult;
|
|
2348
|
+
export declare type ValidationRule = (value: any) => ValidationResult;
|
|
1893
2349
|
|
|
1894
2350
|
export declare interface Widthable {
|
|
1895
2351
|
maxWidth?: NumberOrNumberString;
|