@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
|
@@ -88,9 +88,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
88
88
|
isReadOnly?: boolean | undefined;
|
|
89
89
|
width?: string | undefined;
|
|
90
90
|
}> & Readonly<{
|
|
91
|
+
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
91
92
|
onBlur?: (() => any) | undefined;
|
|
92
93
|
onFocus?: (() => any) | undefined;
|
|
93
|
-
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
94
94
|
onClosed?: (() => any) | undefined;
|
|
95
95
|
}>, {
|
|
96
96
|
validateOnSubmit: () => any;
|
|
@@ -100,9 +100,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
100
100
|
handleClickOutside: (event: MouseEvent) => void;
|
|
101
101
|
initializeSelectedDates: (modelValue: string | object | string[] | null) => Date | Date[] | null;
|
|
102
102
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
103
|
+
"update:modelValue": (value: string | [string, string] | null) => any;
|
|
103
104
|
blur: () => any;
|
|
104
105
|
focus: () => any;
|
|
105
|
-
"update:modelValue": (value: string | [string, string] | null) => any;
|
|
106
106
|
closed: () => any;
|
|
107
107
|
}, import('vue').PublicProps, {
|
|
108
108
|
required: boolean;
|
|
@@ -154,17 +154,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
displayPrependIcon?: boolean | undefined;
|
|
156
156
|
}> & Readonly<{
|
|
157
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
158
157
|
onBlur?: (() => any) | undefined;
|
|
159
158
|
onFocus?: (() => any) | undefined;
|
|
159
|
+
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
160
160
|
}>, {
|
|
161
161
|
validateOnSubmit: () => boolean;
|
|
162
162
|
focus: () => void;
|
|
163
163
|
blur: () => void;
|
|
164
164
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
165
|
-
"update:model-value": (value: string | null) => any;
|
|
166
165
|
blur: () => any;
|
|
167
166
|
focus: () => any;
|
|
167
|
+
"update:model-value": (value: string | null) => any;
|
|
168
168
|
}, import('vue').PublicProps, {
|
|
169
169
|
required: boolean;
|
|
170
170
|
modelValue: string | null;
|
|
@@ -197,6 +197,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
197
197
|
readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
198
198
|
readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
199
199
|
readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
200
|
+
readonly prependTooltip?: string | undefined;
|
|
201
|
+
readonly appendTooltip?: string | undefined;
|
|
202
|
+
readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
200
203
|
readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
201
204
|
readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
202
205
|
readonly isClearable?: boolean | undefined;
|
|
@@ -247,17 +250,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
247
250
|
readonly width?: string | number | undefined;
|
|
248
251
|
readonly displayAsterisk?: boolean | undefined;
|
|
249
252
|
readonly noIcon?: boolean | undefined;
|
|
250
|
-
readonly customRules?:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}[] | undefined;
|
|
254
|
-
readonly customWarningRules?: {
|
|
255
|
-
type: string;
|
|
256
|
-
options: RuleOptions;
|
|
257
|
-
}[] | undefined;
|
|
253
|
+
readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
254
|
+
readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
255
|
+
readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
258
256
|
readonly showSuccessMessages?: boolean | undefined;
|
|
257
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
258
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
259
259
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
260
|
-
readonly "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
261
260
|
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
262
261
|
readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
263
262
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -273,7 +272,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
273
272
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
274
273
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
275
274
|
$host: Element | null;
|
|
276
|
-
$emit: ((event: "
|
|
275
|
+
$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);
|
|
277
276
|
$el: any;
|
|
278
277
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
279
278
|
modelValue?: string | number | null | undefined;
|
|
@@ -281,6 +280,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
281
280
|
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
282
281
|
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
283
282
|
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
283
|
+
prependTooltip?: string | undefined;
|
|
284
|
+
appendTooltip?: string | undefined;
|
|
285
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
284
286
|
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
285
287
|
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
286
288
|
isClearable?: boolean | undefined;
|
|
@@ -331,29 +333,33 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
331
333
|
width?: string | number | undefined;
|
|
332
334
|
displayAsterisk?: boolean | undefined;
|
|
333
335
|
noIcon?: boolean | undefined;
|
|
334
|
-
customRules?:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}[] | undefined;
|
|
338
|
-
customWarningRules?: {
|
|
339
|
-
type: string;
|
|
340
|
-
options: RuleOptions;
|
|
341
|
-
}[] | undefined;
|
|
336
|
+
customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
337
|
+
customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
338
|
+
customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
342
339
|
showSuccessMessages?: boolean | undefined;
|
|
340
|
+
isValidateOnBlur?: boolean | undefined;
|
|
343
341
|
}> & Readonly<{
|
|
342
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
344
343
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
345
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
346
344
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
347
345
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
348
346
|
}>, {
|
|
349
|
-
|
|
347
|
+
validation: {
|
|
348
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
349
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
350
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
351
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
352
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
353
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
354
|
+
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;
|
|
355
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
356
|
+
clearValidation: () => void;
|
|
357
|
+
};
|
|
350
358
|
validateOnSubmit: () => boolean;
|
|
351
|
-
|
|
352
|
-
warnings: import('vue').Ref<string[], string[]>;
|
|
353
|
-
successes: import('vue').Ref<string[], string[]>;
|
|
359
|
+
checkErrorOnBlur: () => void;
|
|
354
360
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
361
|
+
"update:modelValue": (...args: any[]) => void;
|
|
355
362
|
clear: (...args: any[]) => void;
|
|
356
|
-
"update:model-value": (...args: any[]) => void;
|
|
357
363
|
"prepend-icon-click": (...args: any[]) => void;
|
|
358
364
|
"append-icon-click": (...args: any[]) => void;
|
|
359
365
|
}, string, {
|
|
@@ -362,6 +368,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
362
368
|
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
363
369
|
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
364
370
|
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
371
|
+
prependTooltip: string;
|
|
372
|
+
appendTooltip: string;
|
|
373
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
365
374
|
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
366
375
|
color: import('../Customs/SyTextField/types').ColorType;
|
|
367
376
|
isClearable: boolean;
|
|
@@ -410,15 +419,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
410
419
|
width: string | number;
|
|
411
420
|
displayAsterisk: boolean;
|
|
412
421
|
noIcon: boolean;
|
|
413
|
-
customRules:
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}[];
|
|
417
|
-
customWarningRules: {
|
|
418
|
-
type: string;
|
|
419
|
-
options: RuleOptions;
|
|
420
|
-
}[];
|
|
422
|
+
customRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
423
|
+
customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
424
|
+
customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
421
425
|
showSuccessMessages: boolean;
|
|
426
|
+
isValidateOnBlur: boolean;
|
|
422
427
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
423
428
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
424
429
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -445,6 +450,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
445
450
|
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
446
451
|
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
447
452
|
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
453
|
+
prependTooltip: string;
|
|
454
|
+
appendTooltip: string;
|
|
455
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
448
456
|
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
449
457
|
color: import('../Customs/SyTextField/types').ColorType;
|
|
450
458
|
isClearable: boolean;
|
|
@@ -493,21 +501,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
493
501
|
width: string | number;
|
|
494
502
|
displayAsterisk: boolean;
|
|
495
503
|
noIcon: boolean;
|
|
496
|
-
customRules:
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}[];
|
|
500
|
-
customWarningRules: {
|
|
501
|
-
type: string;
|
|
502
|
-
options: RuleOptions;
|
|
503
|
-
}[];
|
|
504
|
+
customRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
505
|
+
customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
506
|
+
customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
504
507
|
showSuccessMessages: boolean;
|
|
508
|
+
isValidateOnBlur: boolean;
|
|
505
509
|
}> & Omit<Readonly<{
|
|
506
510
|
modelValue?: string | number | null | undefined;
|
|
507
511
|
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
508
512
|
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
509
513
|
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
510
514
|
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
515
|
+
prependTooltip?: string | undefined;
|
|
516
|
+
appendTooltip?: string | undefined;
|
|
517
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
511
518
|
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
512
519
|
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
513
520
|
isClearable?: boolean | undefined;
|
|
@@ -558,26 +565,30 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
558
565
|
width?: string | number | undefined;
|
|
559
566
|
displayAsterisk?: boolean | undefined;
|
|
560
567
|
noIcon?: boolean | undefined;
|
|
561
|
-
customRules?:
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}[] | undefined;
|
|
565
|
-
customWarningRules?: {
|
|
566
|
-
type: string;
|
|
567
|
-
options: RuleOptions;
|
|
568
|
-
}[] | undefined;
|
|
568
|
+
customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
569
|
+
customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
570
|
+
customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
569
571
|
showSuccessMessages?: boolean | undefined;
|
|
572
|
+
isValidateOnBlur?: boolean | undefined;
|
|
570
573
|
}> & Readonly<{
|
|
574
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
571
575
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
572
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
573
576
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
574
577
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
575
|
-
}>, "
|
|
576
|
-
|
|
578
|
+
}>, "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<{
|
|
579
|
+
validation: {
|
|
580
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
581
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
582
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
583
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
584
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
585
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
586
|
+
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;
|
|
587
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
588
|
+
clearValidation: () => void;
|
|
589
|
+
};
|
|
577
590
|
validateOnSubmit: () => boolean;
|
|
578
|
-
|
|
579
|
-
warnings: import('vue').Ref<string[], string[]>;
|
|
580
|
-
successes: import('vue').Ref<string[], string[]>;
|
|
591
|
+
checkErrorOnBlur: () => void;
|
|
581
592
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
582
593
|
$slots: {
|
|
583
594
|
prepend?(_: {}): any;
|
|
@@ -617,9 +628,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
617
628
|
}[] | undefined;
|
|
618
629
|
displayPrependIcon?: boolean | undefined;
|
|
619
630
|
}> & Readonly<{
|
|
620
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
621
631
|
onBlur?: (() => any) | undefined;
|
|
622
632
|
onFocus?: (() => any) | undefined;
|
|
633
|
+
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
623
634
|
}>, {
|
|
624
635
|
validateOnSubmit: () => boolean;
|
|
625
636
|
focus: () => void;
|
|
@@ -681,9 +692,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
681
692
|
isReadOnly?: boolean | undefined;
|
|
682
693
|
width?: string | undefined;
|
|
683
694
|
}> & Readonly<{
|
|
695
|
+
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
684
696
|
onBlur?: (() => any) | undefined;
|
|
685
697
|
onFocus?: (() => any) | undefined;
|
|
686
|
-
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
687
698
|
onClosed?: (() => any) | undefined;
|
|
688
699
|
}>, {
|
|
689
700
|
validateOnSubmit: () => any;
|
|
@@ -746,9 +757,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
746
757
|
isReadOnly?: boolean | undefined;
|
|
747
758
|
width?: string | undefined;
|
|
748
759
|
}> & Readonly<{
|
|
760
|
+
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
749
761
|
onBlur?: (() => any) | undefined;
|
|
750
762
|
onFocus?: (() => any) | undefined;
|
|
751
|
-
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
752
763
|
onClosed?: (() => any) | undefined;
|
|
753
764
|
}>, {
|
|
754
765
|
validateOnSubmit: () => any;
|
|
@@ -758,9 +769,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
758
769
|
handleClickOutside: (event: MouseEvent) => void;
|
|
759
770
|
initializeSelectedDates: (modelValue: string | object | string[] | null) => Date | Date[] | null;
|
|
760
771
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
772
|
+
"update:modelValue": (value: string | [string, string] | null) => any;
|
|
761
773
|
blur: () => any;
|
|
762
774
|
focus: () => any;
|
|
763
|
-
"update:modelValue": (value: string | [string, string] | null) => any;
|
|
764
775
|
closed: () => any;
|
|
765
776
|
}, import('vue').PublicProps, {
|
|
766
777
|
required: boolean;
|
|
@@ -812,17 +823,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
812
823
|
}[] | undefined;
|
|
813
824
|
displayPrependIcon?: boolean | undefined;
|
|
814
825
|
}> & Readonly<{
|
|
815
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
816
826
|
onBlur?: (() => any) | undefined;
|
|
817
827
|
onFocus?: (() => any) | undefined;
|
|
828
|
+
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
818
829
|
}>, {
|
|
819
830
|
validateOnSubmit: () => boolean;
|
|
820
831
|
focus: () => void;
|
|
821
832
|
blur: () => void;
|
|
822
833
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
823
|
-
"update:model-value": (value: string | null) => any;
|
|
824
834
|
blur: () => any;
|
|
825
835
|
focus: () => any;
|
|
836
|
+
"update:model-value": (value: string | null) => any;
|
|
826
837
|
}, import('vue').PublicProps, {
|
|
827
838
|
required: boolean;
|
|
828
839
|
modelValue: string | null;
|
|
@@ -855,6 +866,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
855
866
|
readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
856
867
|
readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
857
868
|
readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
869
|
+
readonly prependTooltip?: string | undefined;
|
|
870
|
+
readonly appendTooltip?: string | undefined;
|
|
871
|
+
readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
858
872
|
readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
859
873
|
readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
860
874
|
readonly isClearable?: boolean | undefined;
|
|
@@ -905,17 +919,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
905
919
|
readonly width?: string | number | undefined;
|
|
906
920
|
readonly displayAsterisk?: boolean | undefined;
|
|
907
921
|
readonly noIcon?: boolean | undefined;
|
|
908
|
-
readonly customRules?:
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}[] | undefined;
|
|
912
|
-
readonly customWarningRules?: {
|
|
913
|
-
type: string;
|
|
914
|
-
options: RuleOptions;
|
|
915
|
-
}[] | undefined;
|
|
922
|
+
readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
923
|
+
readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
924
|
+
readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
916
925
|
readonly showSuccessMessages?: boolean | undefined;
|
|
926
|
+
readonly isValidateOnBlur?: boolean | undefined;
|
|
927
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
917
928
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
918
|
-
readonly "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
919
929
|
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
920
930
|
readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
921
931
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -931,7 +941,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
931
941
|
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
932
942
|
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
933
943
|
$host: Element | null;
|
|
934
|
-
$emit: ((event: "
|
|
944
|
+
$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);
|
|
935
945
|
$el: any;
|
|
936
946
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
937
947
|
modelValue?: string | number | null | undefined;
|
|
@@ -939,6 +949,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
939
949
|
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
940
950
|
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
941
951
|
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
952
|
+
prependTooltip?: string | undefined;
|
|
953
|
+
appendTooltip?: string | undefined;
|
|
954
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
942
955
|
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
943
956
|
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
944
957
|
isClearable?: boolean | undefined;
|
|
@@ -989,29 +1002,33 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
989
1002
|
width?: string | number | undefined;
|
|
990
1003
|
displayAsterisk?: boolean | undefined;
|
|
991
1004
|
noIcon?: boolean | undefined;
|
|
992
|
-
customRules?:
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
}[] | undefined;
|
|
996
|
-
customWarningRules?: {
|
|
997
|
-
type: string;
|
|
998
|
-
options: RuleOptions;
|
|
999
|
-
}[] | undefined;
|
|
1005
|
+
customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
1006
|
+
customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
1007
|
+
customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
1000
1008
|
showSuccessMessages?: boolean | undefined;
|
|
1009
|
+
isValidateOnBlur?: boolean | undefined;
|
|
1001
1010
|
}> & Readonly<{
|
|
1011
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1002
1012
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
1003
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
1004
1013
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
1005
1014
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
1006
1015
|
}>, {
|
|
1007
|
-
|
|
1016
|
+
validation: {
|
|
1017
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
1018
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
1019
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
1020
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
1021
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
1022
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
1023
|
+
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;
|
|
1024
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
1025
|
+
clearValidation: () => void;
|
|
1026
|
+
};
|
|
1008
1027
|
validateOnSubmit: () => boolean;
|
|
1009
|
-
|
|
1010
|
-
warnings: import('vue').Ref<string[], string[]>;
|
|
1011
|
-
successes: import('vue').Ref<string[], string[]>;
|
|
1028
|
+
checkErrorOnBlur: () => void;
|
|
1012
1029
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1030
|
+
"update:modelValue": (...args: any[]) => void;
|
|
1013
1031
|
clear: (...args: any[]) => void;
|
|
1014
|
-
"update:model-value": (...args: any[]) => void;
|
|
1015
1032
|
"prepend-icon-click": (...args: any[]) => void;
|
|
1016
1033
|
"append-icon-click": (...args: any[]) => void;
|
|
1017
1034
|
}, string, {
|
|
@@ -1020,6 +1037,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1020
1037
|
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
1021
1038
|
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
1022
1039
|
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
1040
|
+
prependTooltip: string;
|
|
1041
|
+
appendTooltip: string;
|
|
1042
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
1023
1043
|
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
1024
1044
|
color: import('../Customs/SyTextField/types').ColorType;
|
|
1025
1045
|
isClearable: boolean;
|
|
@@ -1068,15 +1088,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1068
1088
|
width: string | number;
|
|
1069
1089
|
displayAsterisk: boolean;
|
|
1070
1090
|
noIcon: boolean;
|
|
1071
|
-
customRules:
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
}[];
|
|
1075
|
-
customWarningRules: {
|
|
1076
|
-
type: string;
|
|
1077
|
-
options: RuleOptions;
|
|
1078
|
-
}[];
|
|
1091
|
+
customRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
1092
|
+
customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
1093
|
+
customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
1079
1094
|
showSuccessMessages: boolean;
|
|
1095
|
+
isValidateOnBlur: boolean;
|
|
1080
1096
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1081
1097
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1082
1098
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1103,6 +1119,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1103
1119
|
appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
1104
1120
|
prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
1105
1121
|
appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
|
|
1122
|
+
prependTooltip: string;
|
|
1123
|
+
appendTooltip: string;
|
|
1124
|
+
tooltipLocation: "top" | "bottom" | "start" | "end";
|
|
1106
1125
|
variantStyle: import('../Customs/SyTextField/types').VariantStyle;
|
|
1107
1126
|
color: import('../Customs/SyTextField/types').ColorType;
|
|
1108
1127
|
isClearable: boolean;
|
|
@@ -1151,21 +1170,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1151
1170
|
width: string | number;
|
|
1152
1171
|
displayAsterisk: boolean;
|
|
1153
1172
|
noIcon: boolean;
|
|
1154
|
-
customRules:
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
}[];
|
|
1158
|
-
customWarningRules: {
|
|
1159
|
-
type: string;
|
|
1160
|
-
options: RuleOptions;
|
|
1161
|
-
}[];
|
|
1173
|
+
customRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
1174
|
+
customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
1175
|
+
customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
|
|
1162
1176
|
showSuccessMessages: boolean;
|
|
1177
|
+
isValidateOnBlur: boolean;
|
|
1163
1178
|
}> & Omit<Readonly<{
|
|
1164
1179
|
modelValue?: string | number | null | undefined;
|
|
1165
1180
|
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
1166
1181
|
appendIcon?: import('../Customs/SyTextField/types').IconType;
|
|
1167
1182
|
prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
1168
1183
|
appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
|
|
1184
|
+
prependTooltip?: string | undefined;
|
|
1185
|
+
appendTooltip?: string | undefined;
|
|
1186
|
+
tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
|
|
1169
1187
|
variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
|
|
1170
1188
|
color?: import('../Customs/SyTextField/types').ColorType | undefined;
|
|
1171
1189
|
isClearable?: boolean | undefined;
|
|
@@ -1216,26 +1234,30 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1216
1234
|
width?: string | number | undefined;
|
|
1217
1235
|
displayAsterisk?: boolean | undefined;
|
|
1218
1236
|
noIcon?: boolean | undefined;
|
|
1219
|
-
customRules?:
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
}[] | undefined;
|
|
1223
|
-
customWarningRules?: {
|
|
1224
|
-
type: string;
|
|
1225
|
-
options: RuleOptions;
|
|
1226
|
-
}[] | undefined;
|
|
1237
|
+
customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
1238
|
+
customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
1239
|
+
customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
|
|
1227
1240
|
showSuccessMessages?: boolean | undefined;
|
|
1241
|
+
isValidateOnBlur?: boolean | undefined;
|
|
1228
1242
|
}> & Readonly<{
|
|
1243
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1229
1244
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
1230
|
-
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
1231
1245
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
1232
1246
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
1233
|
-
}>, "
|
|
1234
|
-
|
|
1247
|
+
}>, "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<{
|
|
1248
|
+
validation: {
|
|
1249
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
1250
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
1251
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
1252
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
1253
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
1254
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
1255
|
+
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;
|
|
1256
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
1257
|
+
clearValidation: () => void;
|
|
1258
|
+
};
|
|
1235
1259
|
validateOnSubmit: () => boolean;
|
|
1236
|
-
|
|
1237
|
-
warnings: import('vue').Ref<string[], string[]>;
|
|
1238
|
-
successes: import('vue').Ref<string[], string[]>;
|
|
1260
|
+
checkErrorOnBlur: () => void;
|
|
1239
1261
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1240
1262
|
$slots: {
|
|
1241
1263
|
prepend?(_: {}): any;
|
|
@@ -1275,9 +1297,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1275
1297
|
}[] | undefined;
|
|
1276
1298
|
displayPrependIcon?: boolean | undefined;
|
|
1277
1299
|
}> & Readonly<{
|
|
1278
|
-
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
1279
1300
|
onBlur?: (() => any) | undefined;
|
|
1280
1301
|
onFocus?: (() => any) | undefined;
|
|
1302
|
+
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
1281
1303
|
}>, {
|
|
1282
1304
|
validateOnSubmit: () => boolean;
|
|
1283
1305
|
focus: () => void;
|
|
@@ -1339,9 +1361,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1339
1361
|
isReadOnly?: boolean | undefined;
|
|
1340
1362
|
width?: string | undefined;
|
|
1341
1363
|
}> & Readonly<{
|
|
1364
|
+
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
1342
1365
|
onBlur?: (() => any) | undefined;
|
|
1343
1366
|
onFocus?: (() => any) | undefined;
|
|
1344
|
-
"onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
|
|
1345
1367
|
onClosed?: (() => any) | undefined;
|
|
1346
1368
|
}>, {
|
|
1347
1369
|
validateOnSubmit: () => any;
|
|
@@ -52,6 +52,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
displayAsterisk: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
55
59
|
}>, {
|
|
56
60
|
computedValue: import('vue').ComputedRef<string>;
|
|
57
61
|
dialCode: import('vue').Ref<string | Record<string, any>, string | Record<string, any>>;
|
|
@@ -61,8 +65,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
65
|
phoneNumber: import('vue').Ref<string, string>;
|
|
62
66
|
mergedDialCodes: import('vue').ComputedRef<Indicatif[]>;
|
|
63
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
-
change: (...args: any[]) => void;
|
|
65
68
|
"update:modelValue": (...args: any[]) => void;
|
|
69
|
+
change: (...args: any[]) => void;
|
|
66
70
|
"update:selectedDialCode": (...args: any[]) => void;
|
|
67
71
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
68
72
|
modelValue: {
|
|
@@ -109,14 +113,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
109
113
|
type: BooleanConstructor;
|
|
110
114
|
default: boolean;
|
|
111
115
|
};
|
|
116
|
+
displayAsterisk: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
112
120
|
}>> & Readonly<{
|
|
113
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
114
121
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
115
123
|
"onUpdate:selectedDialCode"?: ((...args: any[]) => any) | undefined;
|
|
116
124
|
}>, {
|
|
117
125
|
required: boolean;
|
|
118
126
|
outlined: boolean;
|
|
119
127
|
modelValue: string;
|
|
128
|
+
displayAsterisk: boolean;
|
|
120
129
|
dialCodeModel: string | Record<string, any>;
|
|
121
130
|
outlinedIndicatif: boolean;
|
|
122
131
|
withCountryCode: boolean;
|
|
@@ -49,9 +49,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
49
49
|
}>> & Readonly<{
|
|
50
50
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
|
+
length: number;
|
|
52
53
|
modelValue: number;
|
|
53
54
|
label: string | null;
|
|
54
|
-
length: number;
|
|
55
55
|
readonly: boolean;
|
|
56
56
|
itemLabels: string[];
|
|
57
57
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>, {
|
|
@@ -47,9 +47,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
47
47
|
}>> & Readonly<{
|
|
48
48
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
+
length: number;
|
|
50
51
|
modelValue: number;
|
|
51
52
|
label: string | undefined;
|
|
52
|
-
length: number;
|
|
53
53
|
readonly: boolean;
|
|
54
54
|
itemLabels: string[];
|
|
55
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>, {
|