@cnamts/synapse 0.0.12-alpha → 0.0.13-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 +4913 -4021
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/src/components/Amelipro/types/types.d.ts +30 -57
- package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +2 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +36 -44
- package/dist/src/components/DatePicker/DateTextInput.d.ts +33 -36
- package/dist/src/components/FilterInline/AccessibiliteItems.d.ts +30 -0
- package/dist/src/components/FilterInline/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/FilterSideBar/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/FilterSideBar/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/NirField/NirField.d.ts +14 -2
- package/dist/src/components/NotificationBar/NotificationBar.d.ts +5 -5
- package/dist/src/components/PasswordField/PasswordField.d.ts +2 -0
- package/dist/src/components/PeriodField/PeriodField.d.ts +159 -157
- package/dist/src/components/PhoneField/PhoneField.d.ts +22 -1
- package/dist/src/components/UploadWorkflow/AccessibiliteItems.d.ts +29 -0
- package/dist/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.d.ts +4 -0
- package/dist/src/components/Usages/Usages.d.ts +10 -0
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/composables/date/tests/useDatePickerAccessibility.spec.d.ts +1 -0
- package/dist/src/composables/date/useDateFormat.d.ts +26 -0
- package/dist/src/composables/date/useDateInitialization.d.ts +18 -0
- package/dist/src/composables/date/useDatePickerAccessibility.d.ts +8 -0
- package/dist/src/composables/useFilterable/useFilterable.d.ts +1 -1
- package/dist/src/composables/validation/useValidation.d.ts +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/formatDate/index.d.ts +3 -0
- package/dist/src/utils/formatDate/tests/formatDate.spec.d.ts +1 -0
- package/dist/src/utils/functions/validation/isDateAfter/index.d.ts +2 -0
- package/dist/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.d.ts +1 -0
- package/dist/src/utils/functions/validation/isDateBefore/index.d.ts +2 -0
- package/dist/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.d.ts +1 -0
- package/dist/src/utils/functions/validation/isDateInRange/index.d.ts +3 -0
- package/dist/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.d.ts +1 -0
- package/dist/src/utils/functions/validation/isDateValid/index.d.ts +9 -0
- package/dist/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.d.ts +1 -0
- package/dist/src/utils/functions/validation/isEmailValid/tests/isEmailValid.spec.d.ts +1 -0
- package/dist/src/utils/functions/validation/isWeekend/index.d.ts +3 -0
- package/dist/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.d.ts +1 -0
- package/dist/src/utils/parseDate/index.d.ts +3 -0
- package/dist/src/utils/parseDate/tests/parseDate.spec.d.ts +1 -0
- package/dist/src/utils/rules/doMatchPattern/index.d.ts +3 -0
- package/dist/src/utils/rules/doMatchPattern/tests/matchPattern.spec.d.ts +1 -0
- package/dist/src/utils/rules/index.d.ts +11 -0
- package/dist/src/utils/rules/isDateValid/index.d.ts +4 -0
- package/dist/src/utils/rules/isDateValid/tests/isDateValid.spec.d.ts +1 -0
- package/dist/src/utils/rules/isExactLength/index.d.ts +3 -0
- package/dist/src/utils/rules/isExactLength/locales.d.ts +2 -0
- package/dist/src/utils/rules/isExactLength/tests/exactLength.spec.d.ts +1 -0
- package/dist/src/utils/rules/isMaxLength/index.d.ts +3 -0
- package/dist/src/utils/rules/isMaxLength/locales.d.ts +2 -0
- package/dist/src/utils/rules/isMaxLength/tests/isMaxLength.spec.d.ts +1 -0
- package/dist/src/utils/rules/isMinLength/index.d.ts +3 -0
- package/dist/src/utils/rules/isMinLength/locales.d.ts +2 -0
- package/dist/src/utils/rules/isMinLength/tests/isMinLength.spec.d.ts +1 -0
- package/dist/src/utils/rules/isNotAfterDate/index.d.ts +3 -0
- package/dist/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.d.ts +1 -0
- package/dist/src/utils/rules/isNotAfterToday/index.d.ts +4 -0
- package/dist/src/utils/rules/isNotAfterToday/locales.d.ts +2 -0
- package/dist/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.d.ts +1 -0
- package/dist/src/utils/rules/isNotBeforeDate/index.d.ts +3 -0
- package/dist/src/utils/rules/isNotBeforeDate/locales.d.ts +2 -0
- package/dist/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.d.ts +1 -0
- package/dist/src/utils/rules/isNotBeforeToday/index.d.ts +4 -0
- package/dist/src/utils/rules/isNotBeforeToday/locales.d.ts +2 -0
- package/dist/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.d.ts +1 -0
- package/dist/src/utils/rules/isRequired/index.d.ts +4 -0
- package/dist/src/utils/rules/isRequired/locales.d.ts +2 -0
- package/dist/src/utils/rules/isRequired/tests/isRequred.spec.d.ts +1 -0
- package/dist/src/utils/rules/isValidEmail/index.d.ts +4 -0
- package/dist/src/utils/rules/isValidEmail/locales.d.ts +2 -0
- package/dist/src/utils/rules/isValidEmail/tests/isValidEmail.spec.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +3 -1
- package/src/assets/_radius.scss +12 -6
- package/src/assets/settings.scss +8 -0
- package/src/components/Amelipro/types/types.ts +40 -0
- package/src/components/ChipList/ChipList.stories.ts +26 -27
- package/src/components/ChipList/ChipList.vue +5 -1
- package/src/components/ChipList/config.ts +1 -0
- package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -2
- package/src/components/Customs/SyBtnSelect/SyBtnSelect.mdx +1 -1
- package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +1 -1
- package/src/components/Customs/SySelect/SySelect.mdx +1 -1
- package/src/components/Customs/SySelect/SySelect.vue +19 -4
- package/src/components/Customs/SyTextField/SyTextField.mdx +2 -2
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +239 -0
- package/src/components/Customs/SyTextField/SyTextField.vue +3 -0
- package/src/components/DatePicker/DatePicker.stories.ts +177 -5
- package/src/components/DatePicker/DatePicker.vue +148 -347
- package/src/components/DatePicker/DateTextInput.vue +91 -251
- package/src/components/DatePicker/tests/DatePicker.spec.ts +118 -48
- package/src/components/DatePicker/tests/DateTextInput.spec.ts +202 -6
- package/src/components/FileList/Accessibilite.stories.ts +1 -1
- package/src/components/FileList/AccessibiliteItems.ts +22 -0
- package/src/components/FileUpload/FileUpload.stories.ts +9 -7
- package/src/components/FilterInline/Accessibilite.mdx +14 -0
- package/src/components/FilterInline/Accessibilite.stories.ts +216 -0
- package/src/components/FilterInline/AccessibiliteItems.ts +132 -0
- package/src/components/FilterInline/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/FilterSideBar/Accessibilite.mdx +14 -0
- package/src/components/FilterSideBar/Accessibilite.stories.ts +216 -0
- package/src/components/FilterSideBar/AccessibiliteItems.ts +153 -0
- package/src/components/FilterSideBar/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/NirField/NirField.stories.ts +165 -0
- package/src/components/NirField/NirField.vue +6 -2
- package/src/components/NirField/tests/config.spec.ts +65 -0
- package/src/components/NotificationBar/NotificationBar.mdx +2 -2
- package/src/components/NotificationBar/NotificationBar.stories.ts +59 -11
- package/src/components/NotificationBar/NotificationBar.vue +42 -114
- package/src/components/NotificationBar/tests/NotificationBar.spec.ts +28 -33
- package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +1 -1
- package/src/components/PaginatedTable/PaginatedTable.vue +6 -10
- package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +4 -4
- package/src/components/PasswordField/PasswordField.stories.ts +191 -4
- package/src/components/PasswordField/PasswordField.vue +3 -0
- package/src/components/PeriodField/PeriodField.stories.ts +214 -118
- package/src/components/PeriodField/PeriodField.vue +195 -148
- package/src/components/PeriodField/tests/PeriodField.spec.ts +146 -0
- package/src/components/PhoneField/PhoneField.stories.ts +101 -0
- package/src/components/PhoneField/PhoneField.vue +73 -17
- package/src/components/PhoneField/tests/PhoneField.spec.ts +40 -0
- package/src/components/RatingPicker/RatingPicker.stories.ts +7 -7
- package/src/components/SearchListField/SearchListField.stories.ts +1 -1
- package/src/components/UploadWorkflow/Accessibilite.mdx +14 -0
- package/src/components/UploadWorkflow/Accessibilite.stories.ts +216 -0
- package/src/components/UploadWorkflow/AccessibiliteItems.ts +192 -0
- package/src/components/UploadWorkflow/UploadWorkflow.vue +2 -2
- package/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.ts +4 -0
- package/src/components/Usages/tests/Usages.spec.ts +183 -0
- package/src/components/index.ts +3 -0
- package/src/composables/date/tests/useDateFormat.spec.ts +67 -0
- package/src/composables/date/tests/useDateInitialization.spec.ts +89 -0
- package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +102 -0
- package/src/composables/date/useDateFormat.ts +94 -0
- package/src/composables/date/useDateInitialization.ts +92 -0
- package/src/composables/date/useDatePickerAccessibility.ts +78 -0
- package/src/composables/rules/tests/useFieldValidation.spec.ts +385 -4
- package/src/composables/useFilterable/useFilterable.ts +5 -4
- package/src/composables/validation/useValidation.ts +15 -0
- package/src/main.ts +1 -0
- package/src/stories/Accessibilite/Aculturation/AuditDesignSystem.mdx +28 -0
- package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +2 -2
- package/src/stories/Accessibilite/Audit/RGAA.mdx +6 -6
- package/src/stories/Accessibilite/Introduction.mdx +2 -1
- package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +1 -1
- package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +1 -1
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +8 -11
- package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +77 -0
- package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +9 -3
- package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +2 -2
- package/src/stories/Demarrer/Introduction.stories.ts +3 -3
- package/src/stories/Demarrer/Releases.mdx +8 -0
- package/src/stories/Demarrer/Releases.stories.ts +66 -0
- package/src/stories/DesignTokens/Conteneurs.stories.ts +3 -3
- package/src/stories/GuideDuDev/LesBreackingChanges.mdx +36 -0
- package/src/stories/GuideDuDev/UtiliserLesRules.mdx +2 -2
- package/src/utils/formatDate/index.ts +6 -0
- package/src/utils/formatDate/tests/formatDate.spec.ts +18 -0
- package/src/utils/functions/validation/isDateAfter/index.ts +9 -0
- package/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.ts +18 -0
- package/src/utils/functions/validation/isDateBefore/index.ts +9 -0
- package/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.ts +23 -0
- package/src/utils/functions/validation/isDateInRange/index.ts +22 -0
- package/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.ts +28 -0
- package/src/utils/functions/validation/isDateValid/index.ts +67 -0
- package/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.ts +46 -0
- package/src/utils/functions/validation/isEmailValid/index.ts +9 -0
- package/src/utils/functions/validation/isWeekend/index.ts +10 -0
- package/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.ts +16 -0
- package/src/utils/parseDate/index.ts +29 -0
- package/src/utils/parseDate/tests/parseDate.spec.ts +52 -0
- package/src/utils/rules/Rules.mdx +16 -0
- package/src/utils/rules/doMatchPattern/DoMachPattern.mdx +66 -0
- package/src/utils/rules/doMatchPattern/DoMatchPattern.stories.ts +106 -0
- package/src/utils/rules/doMatchPattern/index.ts +28 -0
- package/src/utils/rules/doMatchPattern/locales.ts +5 -0
- package/src/utils/rules/doMatchPattern/tests/matchPattern.spec.ts +38 -0
- package/src/utils/rules/index.ts +11 -0
- package/src/utils/rules/isDateValid/IsDateValid.mdx +87 -0
- package/src/utils/rules/isDateValid/IsDateValid.stories.ts +113 -0
- package/src/utils/rules/isDateValid/index.ts +32 -0
- package/src/utils/rules/isDateValid/locales.ts +10 -0
- package/src/utils/rules/isDateValid/tests/isDateValid.spec.ts +27 -0
- package/src/utils/rules/isExactLength/IsExactLenght.mdx +68 -0
- package/src/utils/rules/isExactLength/IsExactLength.stories.ts +151 -0
- package/src/utils/rules/{exactLength → isExactLength}/index.ts +2 -4
- package/src/utils/rules/isExactLength/tests/exactLength.spec.ts +48 -0
- package/src/utils/rules/isMaxLength/IsMaxLength.mdx +68 -0
- package/src/utils/rules/isMaxLength/IsMaxLength.stories.ts +152 -0
- package/src/utils/rules/isMaxLength/index.ts +30 -0
- package/src/utils/rules/isMaxLength/locales.ts +6 -0
- package/src/utils/rules/isMaxLength/tests/isMaxLength.spec.ts +42 -0
- package/src/utils/rules/isMinLength/IsMinLength.mdx +68 -0
- package/src/utils/rules/isMinLength/IsMinLength.stories.ts +152 -0
- package/src/utils/rules/isMinLength/index.ts +30 -0
- package/src/utils/rules/isMinLength/locales.ts +6 -0
- package/src/utils/rules/isMinLength/tests/isMinLength.spec.ts +42 -0
- package/src/utils/rules/isNotAfterDate/IsNotAfterDate.mdx +68 -0
- package/src/utils/rules/isNotAfterDate/IsNotAfterDate.stories.ts +109 -0
- package/src/utils/rules/isNotAfterDate/index.ts +25 -0
- package/src/utils/rules/isNotAfterDate/locales.ts +6 -0
- package/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.ts +25 -0
- package/src/utils/rules/isNotAfterToday/IsNotAfterToday.mdx +83 -0
- package/src/utils/rules/isNotAfterToday/IsNotAfterToday.stories.ts +110 -0
- package/src/utils/rules/isNotAfterToday/index.ts +28 -0
- package/src/utils/rules/isNotAfterToday/locales.ts +5 -0
- package/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.ts +30 -0
- package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.mdx +68 -0
- package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.stories.ts +114 -0
- package/src/utils/rules/isNotBeforeDate/index.ts +25 -0
- package/src/utils/rules/isNotBeforeDate/locales.ts +6 -0
- package/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.ts +25 -0
- package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.mdx +83 -0
- package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.stories.ts +110 -0
- package/src/utils/rules/isNotBeforeToday/index.ts +28 -0
- package/src/utils/rules/isNotBeforeToday/locales.ts +5 -0
- package/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.ts +36 -0
- package/src/utils/rules/isRequired/IsRequired.mdx +81 -0
- package/src/utils/rules/isRequired/IsRequired.stories.ts +101 -0
- package/src/utils/rules/{required → isRequired}/index.ts +3 -3
- package/src/utils/rules/{required/tests/index.spec.ts → isRequired/tests/isRequred.spec.ts} +9 -9
- package/src/utils/rules/isValidEmail/IsValidEmail.mdx +81 -0
- package/src/utils/rules/isValidEmail/IsValidEmail.stories.ts +101 -0
- package/src/utils/rules/{email → isValidEmail}/index.ts +3 -5
- package/src/utils/rules/{email/tests/email.spec.ts → isValidEmail/tests/isValidEmail.spec.ts} +5 -5
- package/dist/src/components/Amelipro/types/languages.d.ts +0 -6
- package/dist/src/utils/rules/email/index.d.ts +0 -4
- package/dist/src/utils/rules/exactLength/index.d.ts +0 -4
- package/dist/src/utils/rules/required/index.d.ts +0 -4
- package/dist/src/utils/rules/required/ruleMessageHelper.d.ts +0 -3
- package/src/components/Amelipro/types/languages.d.ts +0 -6
- package/src/components/Amelipro/types/types.d.ts +0 -65
- package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +0 -58
- package/src/utils/functions/isEmailValid/index.ts +0 -8
- package/src/utils/rules/required/ruleMessageHelper.ts +0 -14
- package/src/utils/rules/required/tests/rulesMessageHelper.spec.ts +0 -22
- /package/dist/src/{utils/functions/isEmailValid/tests/isEmailValid.spec.d.ts → components/NirField/tests/config.spec.d.ts} +0 -0
- /package/dist/src/{utils/rules/email/tests/email.spec.d.ts → components/Usages/tests/Usages.spec.d.ts} +0 -0
- /package/dist/src/{utils/rules/required/tests/index.spec.d.ts → composables/date/tests/useDateFormat.spec.d.ts} +0 -0
- /package/dist/src/{utils/rules/required/tests/rulesMessageHelper.spec.d.ts → composables/date/tests/useDateInitialization.spec.d.ts} +0 -0
- /package/dist/src/utils/functions/{isEmailValid → validation/isEmailValid}/index.d.ts +0 -0
- /package/dist/src/utils/rules/{exactLength → doMatchPattern}/locales.d.ts +0 -0
- /package/dist/src/utils/rules/{email → isDateValid}/locales.d.ts +0 -0
- /package/dist/src/utils/rules/{required → isNotAfterDate}/locales.d.ts +0 -0
- /package/src/components/NirField/{tests → examples}//342/200/257dataset/342/200/257.md" +0 -0
- /package/src/utils/functions/{isEmailValid → validation/isEmailValid}/tests/isEmailValid.spec.ts +0 -0
- /package/src/utils/rules/{exactLength → isExactLength}/locales.ts +0 -0
- /package/src/utils/rules/{required → isRequired}/locales.ts +0 -0
- /package/src/utils/rules/{email → isValidEmail}/locales.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValidationRule } from '../../composables/validation/useValidation';
|
|
2
2
|
type DateInput = string | null;
|
|
3
3
|
type PeriodValue = {
|
|
4
4
|
from: DateInput;
|
|
@@ -19,19 +19,24 @@ type __VLS_Props = {
|
|
|
19
19
|
noCalendar?: boolean;
|
|
20
20
|
isOutlined?: boolean;
|
|
21
21
|
showSuccessMessages?: boolean;
|
|
22
|
-
customRules?:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}[];
|
|
26
|
-
customWarningRules?: {
|
|
27
|
-
type: string;
|
|
28
|
-
options: RuleOptions;
|
|
29
|
-
}[];
|
|
22
|
+
customRules?: ValidationRule[];
|
|
23
|
+
customWarningRules?: ValidationRule[];
|
|
24
|
+
disableErrorHandling?: boolean;
|
|
30
25
|
};
|
|
31
26
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
32
27
|
validateOnSubmit: () => boolean;
|
|
33
|
-
errors:
|
|
34
|
-
|
|
28
|
+
errors: {
|
|
29
|
+
fromDate: import('vue').Ref<string[], string[]>;
|
|
30
|
+
toDate: import('vue').Ref<string[], string[]>;
|
|
31
|
+
};
|
|
32
|
+
successes: {
|
|
33
|
+
fromDate: import('vue').Ref<string[], string[]>;
|
|
34
|
+
toDate: import('vue').Ref<string[], string[]>;
|
|
35
|
+
};
|
|
36
|
+
warnings: {
|
|
37
|
+
fromDate: import('vue').Ref<string[], string[]>;
|
|
38
|
+
toDate: import('vue').Ref<string[], string[]>;
|
|
39
|
+
};
|
|
35
40
|
isValid: import('vue').ComputedRef<boolean>;
|
|
36
41
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
42
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -42,15 +47,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
42
47
|
modelValue: PeriodValue;
|
|
43
48
|
isDisabled: boolean;
|
|
44
49
|
noIcon: boolean;
|
|
45
|
-
customRules:
|
|
46
|
-
|
|
47
|
-
options: RuleOptions;
|
|
48
|
-
}[];
|
|
49
|
-
customWarningRules: {
|
|
50
|
-
type: string;
|
|
51
|
-
options: RuleOptions;
|
|
52
|
-
}[];
|
|
50
|
+
customRules: ValidationRule[];
|
|
51
|
+
customWarningRules: ValidationRule[];
|
|
53
52
|
showSuccessMessages: boolean;
|
|
53
|
+
disableErrorHandling: boolean;
|
|
54
54
|
format: string;
|
|
55
55
|
dateFormatReturn: string;
|
|
56
56
|
isOutlined: boolean;
|
|
@@ -62,7 +62,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
62
62
|
placeholderTo: string;
|
|
63
63
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
64
64
|
fromDateRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
65
|
-
modelValue?: (
|
|
65
|
+
modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
|
|
66
66
|
placeholder?: string | undefined;
|
|
67
67
|
format?: string | undefined;
|
|
68
68
|
dateFormatReturn?: string | undefined;
|
|
@@ -75,11 +75,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
75
75
|
displayPrependIcon?: boolean | undefined;
|
|
76
76
|
customRules?: {
|
|
77
77
|
type: string;
|
|
78
|
-
options:
|
|
78
|
+
options: any;
|
|
79
79
|
}[] | undefined;
|
|
80
80
|
customWarningRules?: {
|
|
81
81
|
type: string;
|
|
82
|
-
options:
|
|
82
|
+
options: any;
|
|
83
83
|
}[] | undefined;
|
|
84
84
|
isDisabled?: boolean | undefined;
|
|
85
85
|
noIcon?: boolean | undefined;
|
|
@@ -87,8 +87,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
87
87
|
isOutlined?: boolean | undefined;
|
|
88
88
|
isReadOnly?: boolean | undefined;
|
|
89
89
|
width?: string | undefined;
|
|
90
|
+
disableErrorHandling?: boolean | undefined;
|
|
91
|
+
showSuccessMessages?: boolean | undefined;
|
|
90
92
|
}> & Readonly<{
|
|
91
|
-
"onUpdate:modelValue"?: ((value:
|
|
93
|
+
"onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
|
|
92
94
|
onBlur?: (() => any) | undefined;
|
|
93
95
|
onFocus?: (() => any) | undefined;
|
|
94
96
|
onClosed?: (() => any) | undefined;
|
|
@@ -98,15 +100,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
98
100
|
selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
|
|
99
101
|
errorMessages: import('vue').Ref<string[], string[]>;
|
|
100
102
|
handleClickOutside: (event: MouseEvent) => void;
|
|
101
|
-
initializeSelectedDates: (modelValue:
|
|
103
|
+
initializeSelectedDates: (modelValue: import('../../composables/date/useDateInitialization').DateInput, displayFormat: string, returnFormat?: string) => Date | Date[] | null;
|
|
104
|
+
updateAccessibility: () => Promise<void>;
|
|
105
|
+
openDatePicker: () => void;
|
|
102
106
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
103
|
-
"update:modelValue": (value:
|
|
107
|
+
"update:modelValue": (value: import('../../composables/date/useDateInitialization').DateValue) => any;
|
|
104
108
|
blur: () => any;
|
|
105
109
|
focus: () => any;
|
|
106
110
|
closed: () => any;
|
|
107
111
|
}, import('vue').PublicProps, {
|
|
108
112
|
required: boolean;
|
|
109
|
-
modelValue:
|
|
113
|
+
modelValue: import('../../composables/date/useDateInitialization').DateInput;
|
|
110
114
|
isReadOnly: boolean;
|
|
111
115
|
isDisabled: boolean;
|
|
112
116
|
placeholder: string;
|
|
@@ -114,12 +118,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
114
118
|
noIcon: boolean;
|
|
115
119
|
customRules: {
|
|
116
120
|
type: string;
|
|
117
|
-
options:
|
|
121
|
+
options: any;
|
|
118
122
|
}[];
|
|
119
123
|
customWarningRules: {
|
|
120
124
|
type: string;
|
|
121
|
-
options:
|
|
125
|
+
options: any;
|
|
122
126
|
}[];
|
|
127
|
+
showSuccessMessages: boolean;
|
|
128
|
+
disableErrorHandling: boolean;
|
|
123
129
|
format: string;
|
|
124
130
|
dateFormatReturn: string;
|
|
125
131
|
isOutlined: boolean;
|
|
@@ -144,21 +150,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
144
150
|
displayIcon?: boolean | undefined;
|
|
145
151
|
displayAppendIcon?: boolean | undefined;
|
|
146
152
|
noIcon?: boolean | undefined;
|
|
147
|
-
customRules?:
|
|
148
|
-
|
|
149
|
-
options: RuleOptions;
|
|
150
|
-
}[] | undefined;
|
|
151
|
-
customWarningRules?: {
|
|
152
|
-
type: string;
|
|
153
|
-
options: RuleOptions;
|
|
154
|
-
}[] | undefined;
|
|
153
|
+
customRules?: ValidationRule[] | undefined;
|
|
154
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
155
155
|
displayPrependIcon?: boolean | undefined;
|
|
156
|
+
disableErrorHandling?: boolean | undefined;
|
|
157
|
+
showSuccessMessages?: boolean | undefined;
|
|
156
158
|
}> & Readonly<{
|
|
157
159
|
onBlur?: (() => any) | undefined;
|
|
158
160
|
onFocus?: (() => any) | undefined;
|
|
159
161
|
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
160
162
|
}>, {
|
|
161
|
-
validateOnSubmit: () => boolean
|
|
163
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
162
164
|
focus: () => void;
|
|
163
165
|
blur: () => void;
|
|
164
166
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -173,14 +175,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
173
175
|
isDisabled: boolean;
|
|
174
176
|
placeholder: string;
|
|
175
177
|
noIcon: boolean;
|
|
176
|
-
customRules:
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
customWarningRules: {
|
|
181
|
-
type: string;
|
|
182
|
-
options: RuleOptions;
|
|
183
|
-
}[];
|
|
178
|
+
customRules: ValidationRule[];
|
|
179
|
+
customWarningRules: ValidationRule[];
|
|
180
|
+
showSuccessMessages: boolean;
|
|
181
|
+
disableErrorHandling: boolean;
|
|
184
182
|
format: string;
|
|
185
183
|
dateFormatReturn: string;
|
|
186
184
|
isOutlined: boolean;
|
|
@@ -250,11 +248,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
250
248
|
readonly width?: string | number | undefined;
|
|
251
249
|
readonly displayAsterisk?: boolean | undefined;
|
|
252
250
|
readonly noIcon?: boolean | undefined;
|
|
253
|
-
readonly customRules?:
|
|
254
|
-
readonly customWarningRules?:
|
|
255
|
-
readonly customSuccessRules?:
|
|
251
|
+
readonly customRules?: ValidationRule[] | undefined;
|
|
252
|
+
readonly customWarningRules?: ValidationRule[] | undefined;
|
|
253
|
+
readonly customSuccessRules?: ValidationRule[] | undefined;
|
|
256
254
|
readonly showSuccessMessages?: boolean | undefined;
|
|
257
255
|
readonly isValidateOnBlur?: boolean | undefined;
|
|
256
|
+
readonly disableErrorHandling?: boolean | undefined;
|
|
258
257
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
259
258
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
260
259
|
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -333,11 +332,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
333
332
|
width?: string | number | undefined;
|
|
334
333
|
displayAsterisk?: boolean | undefined;
|
|
335
334
|
noIcon?: boolean | undefined;
|
|
336
|
-
customRules?:
|
|
337
|
-
customWarningRules?:
|
|
338
|
-
customSuccessRules?:
|
|
335
|
+
customRules?: ValidationRule[] | undefined;
|
|
336
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
337
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
339
338
|
showSuccessMessages?: boolean | undefined;
|
|
340
339
|
isValidateOnBlur?: boolean | undefined;
|
|
340
|
+
disableErrorHandling?: boolean | undefined;
|
|
341
341
|
}> & Readonly<{
|
|
342
342
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
343
343
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
@@ -351,7 +351,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
351
351
|
hasError: import('vue').ComputedRef<boolean>;
|
|
352
352
|
hasWarning: import('vue').ComputedRef<boolean>;
|
|
353
353
|
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
354
|
-
validateField: (value: unknown, rules?:
|
|
354
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
355
355
|
validateOnSubmit: () => Promise<boolean>;
|
|
356
356
|
clearValidation: () => void;
|
|
357
357
|
};
|
|
@@ -419,11 +419,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
419
419
|
width: string | number;
|
|
420
420
|
displayAsterisk: boolean;
|
|
421
421
|
noIcon: boolean;
|
|
422
|
-
customRules:
|
|
423
|
-
customWarningRules:
|
|
424
|
-
customSuccessRules:
|
|
422
|
+
customRules: ValidationRule[];
|
|
423
|
+
customWarningRules: ValidationRule[];
|
|
424
|
+
customSuccessRules: ValidationRule[];
|
|
425
425
|
showSuccessMessages: boolean;
|
|
426
426
|
isValidateOnBlur: boolean;
|
|
427
|
+
disableErrorHandling: boolean;
|
|
427
428
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
428
429
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
429
430
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -501,11 +502,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
501
502
|
width: string | number;
|
|
502
503
|
displayAsterisk: boolean;
|
|
503
504
|
noIcon: boolean;
|
|
504
|
-
customRules:
|
|
505
|
-
customWarningRules:
|
|
506
|
-
customSuccessRules:
|
|
505
|
+
customRules: ValidationRule[];
|
|
506
|
+
customWarningRules: ValidationRule[];
|
|
507
|
+
customSuccessRules: ValidationRule[];
|
|
507
508
|
showSuccessMessages: boolean;
|
|
508
509
|
isValidateOnBlur: boolean;
|
|
510
|
+
disableErrorHandling: boolean;
|
|
509
511
|
}> & Omit<Readonly<{
|
|
510
512
|
modelValue?: string | number | null | undefined;
|
|
511
513
|
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
@@ -565,17 +567,18 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
565
567
|
width?: string | number | undefined;
|
|
566
568
|
displayAsterisk?: boolean | undefined;
|
|
567
569
|
noIcon?: boolean | undefined;
|
|
568
|
-
customRules?:
|
|
569
|
-
customWarningRules?:
|
|
570
|
-
customSuccessRules?:
|
|
570
|
+
customRules?: ValidationRule[] | undefined;
|
|
571
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
572
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
571
573
|
showSuccessMessages?: boolean | undefined;
|
|
572
574
|
isValidateOnBlur?: boolean | undefined;
|
|
575
|
+
disableErrorHandling?: boolean | undefined;
|
|
573
576
|
}> & Readonly<{
|
|
574
577
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
575
578
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
576
579
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
577
580
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
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<{
|
|
581
|
+
}>, "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" | "disableErrorHandling")> & import('vue').ShallowUnwrapRef<{
|
|
579
582
|
validation: {
|
|
580
583
|
errors: import('vue').Ref<string[], string[]>;
|
|
581
584
|
warnings: import('vue').Ref<string[], string[]>;
|
|
@@ -583,7 +586,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
583
586
|
hasError: import('vue').ComputedRef<boolean>;
|
|
584
587
|
hasWarning: import('vue').ComputedRef<boolean>;
|
|
585
588
|
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
586
|
-
validateField: (value: unknown, rules?:
|
|
589
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
587
590
|
validateOnSubmit: () => Promise<boolean>;
|
|
588
591
|
clearValidation: () => void;
|
|
589
592
|
};
|
|
@@ -618,21 +621,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
618
621
|
displayIcon?: boolean | undefined;
|
|
619
622
|
displayAppendIcon?: boolean | undefined;
|
|
620
623
|
noIcon?: boolean | undefined;
|
|
621
|
-
customRules?:
|
|
622
|
-
|
|
623
|
-
options: RuleOptions;
|
|
624
|
-
}[] | undefined;
|
|
625
|
-
customWarningRules?: {
|
|
626
|
-
type: string;
|
|
627
|
-
options: RuleOptions;
|
|
628
|
-
}[] | undefined;
|
|
624
|
+
customRules?: ValidationRule[] | undefined;
|
|
625
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
629
626
|
displayPrependIcon?: boolean | undefined;
|
|
627
|
+
disableErrorHandling?: boolean | undefined;
|
|
628
|
+
showSuccessMessages?: boolean | undefined;
|
|
630
629
|
}> & Readonly<{
|
|
631
630
|
onBlur?: (() => any) | undefined;
|
|
632
631
|
onFocus?: (() => any) | undefined;
|
|
633
632
|
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
634
633
|
}>, {
|
|
635
|
-
validateOnSubmit: () => boolean
|
|
634
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
636
635
|
focus: () => void;
|
|
637
636
|
blur: () => void;
|
|
638
637
|
}, {}, {}, {}, {
|
|
@@ -643,14 +642,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
643
642
|
isDisabled: boolean;
|
|
644
643
|
placeholder: string;
|
|
645
644
|
noIcon: boolean;
|
|
646
|
-
customRules:
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
customWarningRules: {
|
|
651
|
-
type: string;
|
|
652
|
-
options: RuleOptions;
|
|
653
|
-
}[];
|
|
645
|
+
customRules: ValidationRule[];
|
|
646
|
+
customWarningRules: ValidationRule[];
|
|
647
|
+
showSuccessMessages: boolean;
|
|
648
|
+
disableErrorHandling: boolean;
|
|
654
649
|
format: string;
|
|
655
650
|
dateFormatReturn: string;
|
|
656
651
|
isOutlined: boolean;
|
|
@@ -666,7 +661,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
666
661
|
M: {};
|
|
667
662
|
Defaults: {};
|
|
668
663
|
}, Readonly<{
|
|
669
|
-
modelValue?: (
|
|
664
|
+
modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
|
|
670
665
|
placeholder?: string | undefined;
|
|
671
666
|
format?: string | undefined;
|
|
672
667
|
dateFormatReturn?: string | undefined;
|
|
@@ -679,11 +674,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
679
674
|
displayPrependIcon?: boolean | undefined;
|
|
680
675
|
customRules?: {
|
|
681
676
|
type: string;
|
|
682
|
-
options:
|
|
677
|
+
options: any;
|
|
683
678
|
}[] | undefined;
|
|
684
679
|
customWarningRules?: {
|
|
685
680
|
type: string;
|
|
686
|
-
options:
|
|
681
|
+
options: any;
|
|
687
682
|
}[] | undefined;
|
|
688
683
|
isDisabled?: boolean | undefined;
|
|
689
684
|
noIcon?: boolean | undefined;
|
|
@@ -691,8 +686,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
691
686
|
isOutlined?: boolean | undefined;
|
|
692
687
|
isReadOnly?: boolean | undefined;
|
|
693
688
|
width?: string | undefined;
|
|
689
|
+
disableErrorHandling?: boolean | undefined;
|
|
690
|
+
showSuccessMessages?: boolean | undefined;
|
|
694
691
|
}> & Readonly<{
|
|
695
|
-
"onUpdate:modelValue"?: ((value:
|
|
692
|
+
"onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
|
|
696
693
|
onBlur?: (() => any) | undefined;
|
|
697
694
|
onFocus?: (() => any) | undefined;
|
|
698
695
|
onClosed?: (() => any) | undefined;
|
|
@@ -702,10 +699,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
702
699
|
selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
|
|
703
700
|
errorMessages: import('vue').Ref<string[], string[]>;
|
|
704
701
|
handleClickOutside: (event: MouseEvent) => void;
|
|
705
|
-
initializeSelectedDates: (modelValue:
|
|
702
|
+
initializeSelectedDates: (modelValue: import('../../composables/date/useDateInitialization').DateInput, displayFormat: string, returnFormat?: string) => Date | Date[] | null;
|
|
703
|
+
updateAccessibility: () => Promise<void>;
|
|
704
|
+
openDatePicker: () => void;
|
|
706
705
|
}, {}, {}, {}, {
|
|
707
706
|
required: boolean;
|
|
708
|
-
modelValue:
|
|
707
|
+
modelValue: import('../../composables/date/useDateInitialization').DateInput;
|
|
709
708
|
isReadOnly: boolean;
|
|
710
709
|
isDisabled: boolean;
|
|
711
710
|
placeholder: string;
|
|
@@ -713,12 +712,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
713
712
|
noIcon: boolean;
|
|
714
713
|
customRules: {
|
|
715
714
|
type: string;
|
|
716
|
-
options:
|
|
715
|
+
options: any;
|
|
717
716
|
}[];
|
|
718
717
|
customWarningRules: {
|
|
719
718
|
type: string;
|
|
720
|
-
options:
|
|
719
|
+
options: any;
|
|
721
720
|
}[];
|
|
721
|
+
showSuccessMessages: boolean;
|
|
722
|
+
disableErrorHandling: boolean;
|
|
722
723
|
format: string;
|
|
723
724
|
dateFormatReturn: string;
|
|
724
725
|
isOutlined: boolean;
|
|
@@ -731,7 +732,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
731
732
|
noCalendar: boolean;
|
|
732
733
|
}> | null;
|
|
733
734
|
toDateRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
734
|
-
modelValue?: (
|
|
735
|
+
modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
|
|
735
736
|
placeholder?: string | undefined;
|
|
736
737
|
format?: string | undefined;
|
|
737
738
|
dateFormatReturn?: string | undefined;
|
|
@@ -744,11 +745,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
744
745
|
displayPrependIcon?: boolean | undefined;
|
|
745
746
|
customRules?: {
|
|
746
747
|
type: string;
|
|
747
|
-
options:
|
|
748
|
+
options: any;
|
|
748
749
|
}[] | undefined;
|
|
749
750
|
customWarningRules?: {
|
|
750
751
|
type: string;
|
|
751
|
-
options:
|
|
752
|
+
options: any;
|
|
752
753
|
}[] | undefined;
|
|
753
754
|
isDisabled?: boolean | undefined;
|
|
754
755
|
noIcon?: boolean | undefined;
|
|
@@ -756,8 +757,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
756
757
|
isOutlined?: boolean | undefined;
|
|
757
758
|
isReadOnly?: boolean | undefined;
|
|
758
759
|
width?: string | undefined;
|
|
760
|
+
disableErrorHandling?: boolean | undefined;
|
|
761
|
+
showSuccessMessages?: boolean | undefined;
|
|
759
762
|
}> & Readonly<{
|
|
760
|
-
"onUpdate:modelValue"?: ((value:
|
|
763
|
+
"onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
|
|
761
764
|
onBlur?: (() => any) | undefined;
|
|
762
765
|
onFocus?: (() => any) | undefined;
|
|
763
766
|
onClosed?: (() => any) | undefined;
|
|
@@ -767,15 +770,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
767
770
|
selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
|
|
768
771
|
errorMessages: import('vue').Ref<string[], string[]>;
|
|
769
772
|
handleClickOutside: (event: MouseEvent) => void;
|
|
770
|
-
initializeSelectedDates: (modelValue:
|
|
773
|
+
initializeSelectedDates: (modelValue: import('../../composables/date/useDateInitialization').DateInput, displayFormat: string, returnFormat?: string) => Date | Date[] | null;
|
|
774
|
+
updateAccessibility: () => Promise<void>;
|
|
775
|
+
openDatePicker: () => void;
|
|
771
776
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
772
|
-
"update:modelValue": (value:
|
|
777
|
+
"update:modelValue": (value: import('../../composables/date/useDateInitialization').DateValue) => any;
|
|
773
778
|
blur: () => any;
|
|
774
779
|
focus: () => any;
|
|
775
780
|
closed: () => any;
|
|
776
781
|
}, import('vue').PublicProps, {
|
|
777
782
|
required: boolean;
|
|
778
|
-
modelValue:
|
|
783
|
+
modelValue: import('../../composables/date/useDateInitialization').DateInput;
|
|
779
784
|
isReadOnly: boolean;
|
|
780
785
|
isDisabled: boolean;
|
|
781
786
|
placeholder: string;
|
|
@@ -783,12 +788,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
783
788
|
noIcon: boolean;
|
|
784
789
|
customRules: {
|
|
785
790
|
type: string;
|
|
786
|
-
options:
|
|
791
|
+
options: any;
|
|
787
792
|
}[];
|
|
788
793
|
customWarningRules: {
|
|
789
794
|
type: string;
|
|
790
|
-
options:
|
|
795
|
+
options: any;
|
|
791
796
|
}[];
|
|
797
|
+
showSuccessMessages: boolean;
|
|
798
|
+
disableErrorHandling: boolean;
|
|
792
799
|
format: string;
|
|
793
800
|
dateFormatReturn: string;
|
|
794
801
|
isOutlined: boolean;
|
|
@@ -813,21 +820,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
813
820
|
displayIcon?: boolean | undefined;
|
|
814
821
|
displayAppendIcon?: boolean | undefined;
|
|
815
822
|
noIcon?: boolean | undefined;
|
|
816
|
-
customRules?:
|
|
817
|
-
|
|
818
|
-
options: RuleOptions;
|
|
819
|
-
}[] | undefined;
|
|
820
|
-
customWarningRules?: {
|
|
821
|
-
type: string;
|
|
822
|
-
options: RuleOptions;
|
|
823
|
-
}[] | undefined;
|
|
823
|
+
customRules?: ValidationRule[] | undefined;
|
|
824
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
824
825
|
displayPrependIcon?: boolean | undefined;
|
|
826
|
+
disableErrorHandling?: boolean | undefined;
|
|
827
|
+
showSuccessMessages?: boolean | undefined;
|
|
825
828
|
}> & Readonly<{
|
|
826
829
|
onBlur?: (() => any) | undefined;
|
|
827
830
|
onFocus?: (() => any) | undefined;
|
|
828
831
|
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
829
832
|
}>, {
|
|
830
|
-
validateOnSubmit: () => boolean
|
|
833
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
831
834
|
focus: () => void;
|
|
832
835
|
blur: () => void;
|
|
833
836
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -842,14 +845,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
842
845
|
isDisabled: boolean;
|
|
843
846
|
placeholder: string;
|
|
844
847
|
noIcon: boolean;
|
|
845
|
-
customRules:
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
customWarningRules: {
|
|
850
|
-
type: string;
|
|
851
|
-
options: RuleOptions;
|
|
852
|
-
}[];
|
|
848
|
+
customRules: ValidationRule[];
|
|
849
|
+
customWarningRules: ValidationRule[];
|
|
850
|
+
showSuccessMessages: boolean;
|
|
851
|
+
disableErrorHandling: boolean;
|
|
853
852
|
format: string;
|
|
854
853
|
dateFormatReturn: string;
|
|
855
854
|
isOutlined: boolean;
|
|
@@ -919,11 +918,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
919
918
|
readonly width?: string | number | undefined;
|
|
920
919
|
readonly displayAsterisk?: boolean | undefined;
|
|
921
920
|
readonly noIcon?: boolean | undefined;
|
|
922
|
-
readonly customRules?:
|
|
923
|
-
readonly customWarningRules?:
|
|
924
|
-
readonly customSuccessRules?:
|
|
921
|
+
readonly customRules?: ValidationRule[] | undefined;
|
|
922
|
+
readonly customWarningRules?: ValidationRule[] | undefined;
|
|
923
|
+
readonly customSuccessRules?: ValidationRule[] | undefined;
|
|
925
924
|
readonly showSuccessMessages?: boolean | undefined;
|
|
926
925
|
readonly isValidateOnBlur?: boolean | undefined;
|
|
926
|
+
readonly disableErrorHandling?: boolean | undefined;
|
|
927
927
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
928
928
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
929
929
|
readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1002,11 +1002,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1002
1002
|
width?: string | number | undefined;
|
|
1003
1003
|
displayAsterisk?: boolean | undefined;
|
|
1004
1004
|
noIcon?: boolean | undefined;
|
|
1005
|
-
customRules?:
|
|
1006
|
-
customWarningRules?:
|
|
1007
|
-
customSuccessRules?:
|
|
1005
|
+
customRules?: ValidationRule[] | undefined;
|
|
1006
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
1007
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
1008
1008
|
showSuccessMessages?: boolean | undefined;
|
|
1009
1009
|
isValidateOnBlur?: boolean | undefined;
|
|
1010
|
+
disableErrorHandling?: boolean | undefined;
|
|
1010
1011
|
}> & Readonly<{
|
|
1011
1012
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1012
1013
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
@@ -1020,7 +1021,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1020
1021
|
hasError: import('vue').ComputedRef<boolean>;
|
|
1021
1022
|
hasWarning: import('vue').ComputedRef<boolean>;
|
|
1022
1023
|
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
1023
|
-
validateField: (value: unknown, rules?:
|
|
1024
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
1024
1025
|
validateOnSubmit: () => Promise<boolean>;
|
|
1025
1026
|
clearValidation: () => void;
|
|
1026
1027
|
};
|
|
@@ -1088,11 +1089,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1088
1089
|
width: string | number;
|
|
1089
1090
|
displayAsterisk: boolean;
|
|
1090
1091
|
noIcon: boolean;
|
|
1091
|
-
customRules:
|
|
1092
|
-
customWarningRules:
|
|
1093
|
-
customSuccessRules:
|
|
1092
|
+
customRules: ValidationRule[];
|
|
1093
|
+
customWarningRules: ValidationRule[];
|
|
1094
|
+
customSuccessRules: ValidationRule[];
|
|
1094
1095
|
showSuccessMessages: boolean;
|
|
1095
1096
|
isValidateOnBlur: boolean;
|
|
1097
|
+
disableErrorHandling: boolean;
|
|
1096
1098
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1097
1099
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1098
1100
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1170,11 +1172,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1170
1172
|
width: string | number;
|
|
1171
1173
|
displayAsterisk: boolean;
|
|
1172
1174
|
noIcon: boolean;
|
|
1173
|
-
customRules:
|
|
1174
|
-
customWarningRules:
|
|
1175
|
-
customSuccessRules:
|
|
1175
|
+
customRules: ValidationRule[];
|
|
1176
|
+
customWarningRules: ValidationRule[];
|
|
1177
|
+
customSuccessRules: ValidationRule[];
|
|
1176
1178
|
showSuccessMessages: boolean;
|
|
1177
1179
|
isValidateOnBlur: boolean;
|
|
1180
|
+
disableErrorHandling: boolean;
|
|
1178
1181
|
}> & Omit<Readonly<{
|
|
1179
1182
|
modelValue?: string | number | null | undefined;
|
|
1180
1183
|
prependIcon?: import('../Customs/SyTextField/types').IconType;
|
|
@@ -1234,17 +1237,18 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1234
1237
|
width?: string | number | undefined;
|
|
1235
1238
|
displayAsterisk?: boolean | undefined;
|
|
1236
1239
|
noIcon?: boolean | undefined;
|
|
1237
|
-
customRules?:
|
|
1238
|
-
customWarningRules?:
|
|
1239
|
-
customSuccessRules?:
|
|
1240
|
+
customRules?: ValidationRule[] | undefined;
|
|
1241
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
1242
|
+
customSuccessRules?: ValidationRule[] | undefined;
|
|
1240
1243
|
showSuccessMessages?: boolean | undefined;
|
|
1241
1244
|
isValidateOnBlur?: boolean | undefined;
|
|
1245
|
+
disableErrorHandling?: boolean | undefined;
|
|
1242
1246
|
}> & Readonly<{
|
|
1243
1247
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1244
1248
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
1245
1249
|
"onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
1246
1250
|
"onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
|
|
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<{
|
|
1251
|
+
}>, "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" | "disableErrorHandling")> & import('vue').ShallowUnwrapRef<{
|
|
1248
1252
|
validation: {
|
|
1249
1253
|
errors: import('vue').Ref<string[], string[]>;
|
|
1250
1254
|
warnings: import('vue').Ref<string[], string[]>;
|
|
@@ -1252,7 +1256,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1252
1256
|
hasError: import('vue').ComputedRef<boolean>;
|
|
1253
1257
|
hasWarning: import('vue').ComputedRef<boolean>;
|
|
1254
1258
|
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
1255
|
-
validateField: (value: unknown, rules?:
|
|
1259
|
+
validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
|
|
1256
1260
|
validateOnSubmit: () => Promise<boolean>;
|
|
1257
1261
|
clearValidation: () => void;
|
|
1258
1262
|
};
|
|
@@ -1287,21 +1291,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1287
1291
|
displayIcon?: boolean | undefined;
|
|
1288
1292
|
displayAppendIcon?: boolean | undefined;
|
|
1289
1293
|
noIcon?: boolean | undefined;
|
|
1290
|
-
customRules?:
|
|
1291
|
-
|
|
1292
|
-
options: RuleOptions;
|
|
1293
|
-
}[] | undefined;
|
|
1294
|
-
customWarningRules?: {
|
|
1295
|
-
type: string;
|
|
1296
|
-
options: RuleOptions;
|
|
1297
|
-
}[] | undefined;
|
|
1294
|
+
customRules?: ValidationRule[] | undefined;
|
|
1295
|
+
customWarningRules?: ValidationRule[] | undefined;
|
|
1298
1296
|
displayPrependIcon?: boolean | undefined;
|
|
1297
|
+
disableErrorHandling?: boolean | undefined;
|
|
1298
|
+
showSuccessMessages?: boolean | undefined;
|
|
1299
1299
|
}> & Readonly<{
|
|
1300
1300
|
onBlur?: (() => any) | undefined;
|
|
1301
1301
|
onFocus?: (() => any) | undefined;
|
|
1302
1302
|
"onUpdate:model-value"?: ((value: string | null) => any) | undefined;
|
|
1303
1303
|
}>, {
|
|
1304
|
-
validateOnSubmit: () => boolean
|
|
1304
|
+
validateOnSubmit: () => Promise<boolean>;
|
|
1305
1305
|
focus: () => void;
|
|
1306
1306
|
blur: () => void;
|
|
1307
1307
|
}, {}, {}, {}, {
|
|
@@ -1312,14 +1312,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1312
1312
|
isDisabled: boolean;
|
|
1313
1313
|
placeholder: string;
|
|
1314
1314
|
noIcon: boolean;
|
|
1315
|
-
customRules:
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
customWarningRules: {
|
|
1320
|
-
type: string;
|
|
1321
|
-
options: RuleOptions;
|
|
1322
|
-
}[];
|
|
1315
|
+
customRules: ValidationRule[];
|
|
1316
|
+
customWarningRules: ValidationRule[];
|
|
1317
|
+
showSuccessMessages: boolean;
|
|
1318
|
+
disableErrorHandling: boolean;
|
|
1323
1319
|
format: string;
|
|
1324
1320
|
dateFormatReturn: string;
|
|
1325
1321
|
isOutlined: boolean;
|
|
@@ -1335,7 +1331,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1335
1331
|
M: {};
|
|
1336
1332
|
Defaults: {};
|
|
1337
1333
|
}, Readonly<{
|
|
1338
|
-
modelValue?: (
|
|
1334
|
+
modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
|
|
1339
1335
|
placeholder?: string | undefined;
|
|
1340
1336
|
format?: string | undefined;
|
|
1341
1337
|
dateFormatReturn?: string | undefined;
|
|
@@ -1348,11 +1344,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1348
1344
|
displayPrependIcon?: boolean | undefined;
|
|
1349
1345
|
customRules?: {
|
|
1350
1346
|
type: string;
|
|
1351
|
-
options:
|
|
1347
|
+
options: any;
|
|
1352
1348
|
}[] | undefined;
|
|
1353
1349
|
customWarningRules?: {
|
|
1354
1350
|
type: string;
|
|
1355
|
-
options:
|
|
1351
|
+
options: any;
|
|
1356
1352
|
}[] | undefined;
|
|
1357
1353
|
isDisabled?: boolean | undefined;
|
|
1358
1354
|
noIcon?: boolean | undefined;
|
|
@@ -1360,8 +1356,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1360
1356
|
isOutlined?: boolean | undefined;
|
|
1361
1357
|
isReadOnly?: boolean | undefined;
|
|
1362
1358
|
width?: string | undefined;
|
|
1359
|
+
disableErrorHandling?: boolean | undefined;
|
|
1360
|
+
showSuccessMessages?: boolean | undefined;
|
|
1363
1361
|
}> & Readonly<{
|
|
1364
|
-
"onUpdate:modelValue"?: ((value:
|
|
1362
|
+
"onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
|
|
1365
1363
|
onBlur?: (() => any) | undefined;
|
|
1366
1364
|
onFocus?: (() => any) | undefined;
|
|
1367
1365
|
onClosed?: (() => any) | undefined;
|
|
@@ -1371,10 +1369,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1371
1369
|
selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
|
|
1372
1370
|
errorMessages: import('vue').Ref<string[], string[]>;
|
|
1373
1371
|
handleClickOutside: (event: MouseEvent) => void;
|
|
1374
|
-
initializeSelectedDates: (modelValue:
|
|
1372
|
+
initializeSelectedDates: (modelValue: import('../../composables/date/useDateInitialization').DateInput, displayFormat: string, returnFormat?: string) => Date | Date[] | null;
|
|
1373
|
+
updateAccessibility: () => Promise<void>;
|
|
1374
|
+
openDatePicker: () => void;
|
|
1375
1375
|
}, {}, {}, {}, {
|
|
1376
1376
|
required: boolean;
|
|
1377
|
-
modelValue:
|
|
1377
|
+
modelValue: import('../../composables/date/useDateInitialization').DateInput;
|
|
1378
1378
|
isReadOnly: boolean;
|
|
1379
1379
|
isDisabled: boolean;
|
|
1380
1380
|
placeholder: string;
|
|
@@ -1382,12 +1382,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1382
1382
|
noIcon: boolean;
|
|
1383
1383
|
customRules: {
|
|
1384
1384
|
type: string;
|
|
1385
|
-
options:
|
|
1385
|
+
options: any;
|
|
1386
1386
|
}[];
|
|
1387
1387
|
customWarningRules: {
|
|
1388
1388
|
type: string;
|
|
1389
|
-
options:
|
|
1389
|
+
options: any;
|
|
1390
1390
|
}[];
|
|
1391
|
+
showSuccessMessages: boolean;
|
|
1392
|
+
disableErrorHandling: boolean;
|
|
1391
1393
|
format: string;
|
|
1392
1394
|
dateFormatReturn: string;
|
|
1393
1395
|
isOutlined: boolean;
|