@cnamts/synapse 0.0.11-alpha → 0.0.12-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.js +3878 -3189
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/src/components/Amelipro/types/languages.d.ts +6 -0
- package/dist/src/components/Amelipro/types/types.d.ts +65 -0
- package/dist/src/components/CookieBanner/CookieBanner.d.ts +1 -1
- package/dist/src/components/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
- package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +29 -23
- package/dist/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +70 -59
- package/dist/src/components/DatePicker/DateTextInput.d.ts +67 -56
- package/dist/src/components/ErrorPage/ErrorPage.d.ts +1 -1
- package/dist/src/components/FileList/FileList.d.ts +1 -0
- package/dist/src/components/FileList/UploadItem/UploadItem.d.ts +1 -1
- package/dist/src/components/FilterSideBar/FilterSideBar.d.ts +31 -0
- package/dist/src/components/FilterSideBar/locales.d.ts +7 -0
- package/dist/src/components/FilterSideBar/tests/FilterSideBar.spec.d.ts +1 -0
- package/dist/src/components/LangBtn/LangBtn.d.ts +2 -2
- package/dist/src/components/NirField/NirField.d.ts +940 -0
- package/dist/src/components/NotificationBar/NotificationBar.d.ts +1 -1
- package/dist/src/components/PasswordField/PasswordField.d.ts +40 -8
- package/dist/src/components/PeriodField/PeriodField.d.ts +142 -120
- package/dist/src/components/PhoneField/PhoneField.d.ts +11 -2
- package/dist/src/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +1 -1
- package/dist/src/components/RatingPicker/NumberPicker/NumberPicker.d.ts +1 -1
- package/dist/src/components/RatingPicker/StarsPicker/StarsPicker.d.ts +1 -1
- package/dist/src/components/UploadWorkflow/config.d.ts +29 -0
- package/dist/src/components/UploadWorkflow/locales.d.ts +7 -0
- package/dist/src/components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts +1 -0
- package/dist/src/components/UploadWorkflow/types.d.ts +19 -0
- package/dist/src/components/UploadWorkflow/useFileList.d.ts +10 -0
- package/dist/src/components/UploadWorkflow/useFileUploadJourney.d.ts +9 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/composables/rules/useFieldValidation.d.ts +1 -0
- package/dist/src/composables/validation/tests/useValidation.spec.d.ts +1 -0
- package/dist/src/composables/validation/useValidation.d.ts +39 -0
- package/dist/src/designTokens/index.d.ts +3 -1
- package/dist/src/vuetifyConfig.d.ts +81 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/_elevations.scss +89 -0
- package/src/assets/_fonts.scss +6 -0
- package/src/assets/_radius.scss +86 -0
- package/src/assets/_spacers.scss +149 -0
- package/src/assets/settings.scss +7 -3
- package/src/assets/tokens.scss +32 -29
- package/src/components/Amelipro/types/languages.d.ts +6 -0
- package/src/components/Amelipro/types/types.d.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.vue +13 -3
- package/src/components/Customs/SySelect/SySelect.stories.ts +88 -5
- package/src/components/Customs/SySelect/SySelect.vue +36 -10
- package/src/components/Customs/SySelect/tests/SySelect.spec.ts +135 -2
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +576 -85
- package/src/components/Customs/SyTextField/SyTextField.vue +132 -104
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +190 -38
- package/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/src/components/DatePicker/DatePicker.vue +405 -137
- package/src/components/DatePicker/DateTextInput.vue +15 -0
- package/src/components/DatePicker/tests/DatePicker.spec.ts +8 -15
- package/src/components/FileList/FileList.vue +2 -1
- package/src/components/FileList/UploadItem/UploadItem.vue +10 -0
- package/src/components/FileUpload/FileUpload.stories.ts +84 -0
- package/src/components/FileUpload/FileUpload.vue +1 -0
- package/src/components/FileUpload/tests/FileUpload.spec.ts +4 -4
- package/src/components/FilterInline/FilterInline.mdx +180 -34
- package/src/components/FilterInline/FilterInline.stories.ts +363 -6
- package/src/components/FilterSideBar/FilterSideBar.mdx +237 -0
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +798 -0
- package/src/components/FilterSideBar/FilterSideBar.vue +193 -0
- package/src/components/FilterSideBar/locales.ts +8 -0
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +305 -0
- package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +39 -0
- package/src/components/HeaderBar/Usages.mdx +1 -1
- package/src/components/NirField/NirField.stories.ts +573 -29
- package/src/components/NirField/NirField.vue +397 -359
- package/src/components/NirField/tests/NirField.spec.ts +88 -52
- package/src/components/NirField/tests//342/200/257dataset/342/200/257.md +12 -0
- package/src/components/NotificationBar/Accessibilite.stories.ts +4 -0
- package/src/components/NotificationBar/NotificationBar.stories.ts +18 -13
- package/src/components/PasswordField/PasswordField.mdx +129 -47
- package/src/components/PasswordField/PasswordField.stories.ts +924 -120
- package/src/components/PasswordField/PasswordField.vue +209 -99
- package/src/components/PasswordField/tests/PasswordField.spec.ts +138 -9
- package/src/components/PeriodField/PeriodField.vue +55 -54
- package/src/components/PhoneField/PhoneField.stories.ts +69 -0
- package/src/components/PhoneField/PhoneField.vue +3 -0
- package/src/components/PhoneField/indicatifs.ts +1 -1
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +75 -0
- package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +943 -0
- package/src/components/UploadWorkflow/UploadWorkflow.vue +230 -0
- package/src/components/UploadWorkflow/config.ts +29 -0
- package/src/components/UploadWorkflow/locales.ts +8 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +257 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +54 -0
- package/src/components/UploadWorkflow/types.ts +21 -0
- package/src/components/UploadWorkflow/useFileList.ts +84 -0
- package/src/components/UploadWorkflow/useFileUploadJourney.ts +18 -0
- package/src/components/index.ts +2 -0
- package/src/composables/rules/useFieldValidation.ts +5 -2
- package/src/composables/validation/tests/useValidation.spec.ts +154 -0
- package/src/composables/validation/useValidation.ts +165 -0
- package/src/designTokens/index.ts +4 -0
- package/src/stories/Demarrer/Accueil.mdx +1 -1
- package/src/stories/DesignTokens/ThemePA.mdx +4 -30
- package/src/stories/GuideDuDev/UtiliserLesRules.mdx +319 -76
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
- package/src/vuetifyConfig.ts +61 -0
- package/src/composables/useFilterable/__snapshots__/useFilterable.spec.ts.snap +0 -3
|
@@ -29,13 +29,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
29
29
|
focus: () => void;
|
|
30
30
|
blur: () => void;
|
|
31
31
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
-
"update:model-value": (value: DateValue) => any;
|
|
33
32
|
blur: () => any;
|
|
34
33
|
focus: () => any;
|
|
34
|
+
"update:model-value": (value: DateValue) => any;
|
|
35
35
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
-
"onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
|
|
37
36
|
onBlur?: (() => any) | undefined;
|
|
38
37
|
onFocus?: (() => any) | undefined;
|
|
38
|
+
"onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
required: boolean;
|
|
41
41
|
modelValue: DateValue;
|
|
@@ -68,6 +68,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
68
68
|
readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
69
69
|
readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
70
70
|
readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
71
|
+
readonly prependTooltip?: string | undefined;
|
|
72
|
+
readonly appendTooltip?: string | undefined;
|
|
73
|
+
readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
71
74
|
readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
72
75
|
readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
73
76
|
readonly isClearable?: boolean | undefined;
|
|
@@ -118,17 +121,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
118
121
|
readonly width?: string | number | undefined;
|
|
119
122
|
readonly displayAsterisk?: boolean | undefined;
|
|
120
123
|
readonly noIcon?: boolean | undefined;
|
|
121
|
-
readonly customRules?:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}[] | undefined;
|
|
125
|
-
readonly customWarningRules?: {
|
|
126
|
-
type: string;
|
|
127
|
-
options: RuleOptions;
|
|
128
|
-
}[] | undefined;
|
|
124
|
+
readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
125
|
+
readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
126
|
+
readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
129
127
|
readonly showSuccessMessages?: boolean | undefined;
|
|
128
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
129
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
130
130
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
readonly "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
132
131
|
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
133
132
|
readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
134
133
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -144,7 +143,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
144
143
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
145
144
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
146
145
|
$host: Element | null;
|
|
147
|
-
$emit: ((event: "
|
|
146
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
|
|
148
147
|
$el: any;
|
|
149
148
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
150
149
|
modelValue?: string | number | null | undefined;
|
|
@@ -152,6 +151,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
152
151
|
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
153
152
|
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
154
153
|
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
154
|
+
prependTooltip?: string | undefined;
|
|
155
|
+
appendTooltip?: string | undefined;
|
|
156
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
155
157
|
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
156
158
|
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
157
159
|
isClearable?: boolean | undefined;
|
|
@@ -202,29 +204,33 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
202
204
|
width?: string | number | undefined;
|
|
203
205
|
displayAsterisk?: boolean | undefined;
|
|
204
206
|
noIcon?: boolean | undefined;
|
|
205
|
-
customRules?:
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}[] | undefined;
|
|
209
|
-
customWarningRules?: {
|
|
210
|
-
type: string;
|
|
211
|
-
options: RuleOptions;
|
|
212
|
-
}[] | undefined;
|
|
207
|
+
customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
208
|
+
customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
209
|
+
customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
213
210
|
showSuccessMessages?: boolean | undefined;
|
|
211
|
+
isValidateOnBlur?: boolean | undefined;
|
|
214
212
|
}> & Readonly<{
|
|
213
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
215
214
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
216
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
217
215
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
218
216
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
219
217
|
}>, {
|
|
220
|
-
|
|
218
|
+
validation: {
|
|
219
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
220
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
221
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
222
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
223
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
224
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
225
|
+
validateField: (value: unknown, rules?: import('../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../composables/validation/useValidation').ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
226
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
227
|
+
clearValidation: () => void;
|
|
228
|
+
};
|
|
221
229
|
validateOnSubmit: () => boolean;
|
|
222
|
-
|
|
223
|
-
warnings: import('vue').Ref<string[], string[]>;
|
|
224
|
-
successes: import('vue').Ref<string[], string[]>;
|
|
230
|
+
checkErrorOnBlur: () => void;
|
|
225
231
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
232
|
+
"update:modelValue": (...args: any[]) => void;
|
|
226
233
|
clear: (...args: any[]) => void;
|
|
227
|
-
"update:model-value": (...args: any[]) => void;
|
|
228
234
|
"prepend-icon-click": (...args: any[]) => void;
|
|
229
235
|
"append-icon-click": (...args: any[]) => void;
|
|
230
236
|
}, string, {
|
|
@@ -233,6 +239,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
233
239
|
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
234
240
|
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
235
241
|
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
242
|
+
prependTooltip: string;
|
|
243
|
+
appendTooltip: string;
|
|
244
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
236
245
|
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
237
246
|
color: import('../Customs/SyTextField/types').ColorType;
|
|
238
247
|
isClearable: boolean;
|
|
@@ -281,15 +290,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
281
290
|
width: string | number;
|
|
282
291
|
displayAsterisk: boolean;
|
|
283
292
|
noIcon: boolean;
|
|
284
|
-
customRules:
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}[];
|
|
288
|
-
customWarningRules: {
|
|
289
|
-
type: string;
|
|
290
|
-
options: RuleOptions;
|
|
291
|
-
}[];
|
|
293
|
+
customRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
294
|
+
customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
295
|
+
customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
292
296
|
showSuccessMessages: boolean;
|
|
297
|
+
isValidateOnBlur: boolean;
|
|
293
298
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
294
299
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
295
300
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -316,6 +321,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
316
321
|
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
317
322
|
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
318
323
|
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
324
|
+
prependTooltip: string;
|
|
325
|
+
appendTooltip: string;
|
|
326
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
319
327
|
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
320
328
|
color: import('../Customs/SyTextField/types').ColorType;
|
|
321
329
|
isClearable: boolean;
|
|
@@ -364,21 +372,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
364
372
|
width: string | number;
|
|
365
373
|
displayAsterisk: boolean;
|
|
366
374
|
noIcon: boolean;
|
|
367
|
-
customRules:
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
}[];
|
|
371
|
-
customWarningRules: {
|
|
372
|
-
type: string;
|
|
373
|
-
options: RuleOptions;
|
|
374
|
-
}[];
|
|
375
|
+
customRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
376
|
+
customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
377
|
+
customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
375
378
|
showSuccessMessages: boolean;
|
|
379
|
+
isValidateOnBlur: boolean;
|
|
376
380
|
}> & Omit<Readonly<{
|
|
377
381
|
modelValue?: string | number | null | undefined;
|
|
378
382
|
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
379
383
|
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
380
384
|
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
381
385
|
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
386
|
+
prependTooltip?: string | undefined;
|
|
387
|
+
appendTooltip?: string | undefined;
|
|
388
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
382
389
|
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
383
390
|
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
384
391
|
isClearable?: boolean | undefined;
|
|
@@ -429,26 +436,30 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
429
436
|
width?: string | number | undefined;
|
|
430
437
|
displayAsterisk?: boolean | undefined;
|
|
431
438
|
noIcon?: boolean | undefined;
|
|
432
|
-
customRules?:
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}[] | undefined;
|
|
436
|
-
customWarningRules?: {
|
|
437
|
-
type: string;
|
|
438
|
-
options: RuleOptions;
|
|
439
|
-
}[] | undefined;
|
|
439
|
+
customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
440
|
+
customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
441
|
+
customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
440
442
|
showSuccessMessages?: boolean | undefined;
|
|
443
|
+
isValidateOnBlur?: boolean | undefined;
|
|
441
444
|
}> & Readonly<{
|
|
445
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
442
446
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
443
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
444
447
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
445
448
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
446
|
-
}>, "
|
|
447
|
-
|
|
449
|
+
}>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur")> & import('vue').ShallowUnwrapRef<{
|
|
450
|
+
validation: {
|
|
451
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
452
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
453
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
454
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
455
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
456
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
457
|
+
validateField: (value: unknown, rules?: import('../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../composables/validation/useValidation').ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
458
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
459
|
+
clearValidation: () => void;
|
|
460
|
+
};
|
|
448
461
|
validateOnSubmit: () => boolean;
|
|
449
|
-
|
|
450
|
-
warnings: import('vue').Ref<string[], string[]>;
|
|
451
|
-
successes: import('vue').Ref<string[], string[]>;
|
|
462
|
+
checkErrorOnBlur: () => void;
|
|
452
463
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
453
464
|
$slots: {
|
|
454
465
|
prepend?(_: {}): any;
|
|
@@ -10,8 +10,8 @@ type __VLS_Props = {
|
|
|
10
10
|
hideBtn?: boolean;
|
|
11
11
|
};
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
message: string;
|
|
14
13
|
code: string;
|
|
14
|
+
message: string;
|
|
15
15
|
pageTitle: string;
|
|
16
16
|
codeErrorText: string;
|
|
17
17
|
btnText: string;
|
|
@@ -23,8 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
23
23
|
onUpload?: ((item: string) => any) | undefined;
|
|
24
24
|
onPreview?: ((item: string) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
message: string;
|
|
27
26
|
progress: number;
|
|
27
|
+
message: string;
|
|
28
28
|
tag: string;
|
|
29
29
|
locales: {
|
|
30
30
|
optionalDocument: string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { locales as defaultLocales } from './locales';
|
|
2
|
+
import { FilterProp } from '../../composables/useFilterable/useFilterable';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue?: FilterProp;
|
|
5
|
+
locales?: typeof defaultLocales;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: (() => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
modelValue: FilterProp;
|
|
13
|
+
locales: {
|
|
14
|
+
readonly filterBtnLabel: "Filtres";
|
|
15
|
+
readonly badgeLabel: (count: number) => string;
|
|
16
|
+
readonly reset: "Réinitialiser";
|
|
17
|
+
readonly close: "Fermer";
|
|
18
|
+
readonly apply: "Appliquer";
|
|
19
|
+
};
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Partial<Record<string, (_: {
|
|
21
|
+
props: {
|
|
22
|
+
modelValue: unknown;
|
|
23
|
+
'onUpdate:modelValue': (value: unknown) => unknown;
|
|
24
|
+
};
|
|
25
|
+
}) => any>>>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -16,11 +16,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
16
16
|
updateLang: typeof updateLang;
|
|
17
17
|
selectedLanguage: import('vue').Ref<string, string>;
|
|
18
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
change: (...args: any[]) => void;
|
|
20
19
|
"update:modelValue": (...args: any[]) => void;
|
|
20
|
+
change: (...args: any[]) => void;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
22
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
modelValue: string;
|
|
26
26
|
ariaLabel: string;
|