@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.
Files changed (250) hide show
  1. package/dist/design-system-v3.js +4913 -4021
  2. package/dist/design-system-v3.umd.cjs +1 -1
  3. package/dist/src/components/Amelipro/types/types.d.ts +30 -57
  4. package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +2 -0
  5. package/dist/src/components/DatePicker/DatePicker.d.ts +36 -44
  6. package/dist/src/components/DatePicker/DateTextInput.d.ts +33 -36
  7. package/dist/src/components/FilterInline/AccessibiliteItems.d.ts +30 -0
  8. package/dist/src/components/FilterInline/constants/ExpertiseLevelEnum.d.ts +4 -0
  9. package/dist/src/components/FilterSideBar/AccessibiliteItems.d.ts +29 -0
  10. package/dist/src/components/FilterSideBar/constants/ExpertiseLevelEnum.d.ts +4 -0
  11. package/dist/src/components/NirField/NirField.d.ts +14 -2
  12. package/dist/src/components/NotificationBar/NotificationBar.d.ts +5 -5
  13. package/dist/src/components/PasswordField/PasswordField.d.ts +2 -0
  14. package/dist/src/components/PeriodField/PeriodField.d.ts +159 -157
  15. package/dist/src/components/PhoneField/PhoneField.d.ts +22 -1
  16. package/dist/src/components/UploadWorkflow/AccessibiliteItems.d.ts +29 -0
  17. package/dist/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.d.ts +4 -0
  18. package/dist/src/components/Usages/Usages.d.ts +10 -0
  19. package/dist/src/components/index.d.ts +3 -0
  20. package/dist/src/composables/date/tests/useDatePickerAccessibility.spec.d.ts +1 -0
  21. package/dist/src/composables/date/useDateFormat.d.ts +26 -0
  22. package/dist/src/composables/date/useDateInitialization.d.ts +18 -0
  23. package/dist/src/composables/date/useDatePickerAccessibility.d.ts +8 -0
  24. package/dist/src/composables/useFilterable/useFilterable.d.ts +1 -1
  25. package/dist/src/composables/validation/useValidation.d.ts +1 -0
  26. package/dist/src/main.d.ts +1 -0
  27. package/dist/src/utils/formatDate/index.d.ts +3 -0
  28. package/dist/src/utils/formatDate/tests/formatDate.spec.d.ts +1 -0
  29. package/dist/src/utils/functions/validation/isDateAfter/index.d.ts +2 -0
  30. package/dist/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.d.ts +1 -0
  31. package/dist/src/utils/functions/validation/isDateBefore/index.d.ts +2 -0
  32. package/dist/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.d.ts +1 -0
  33. package/dist/src/utils/functions/validation/isDateInRange/index.d.ts +3 -0
  34. package/dist/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.d.ts +1 -0
  35. package/dist/src/utils/functions/validation/isDateValid/index.d.ts +9 -0
  36. package/dist/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  37. package/dist/src/utils/functions/validation/isEmailValid/tests/isEmailValid.spec.d.ts +1 -0
  38. package/dist/src/utils/functions/validation/isWeekend/index.d.ts +3 -0
  39. package/dist/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.d.ts +1 -0
  40. package/dist/src/utils/parseDate/index.d.ts +3 -0
  41. package/dist/src/utils/parseDate/tests/parseDate.spec.d.ts +1 -0
  42. package/dist/src/utils/rules/doMatchPattern/index.d.ts +3 -0
  43. package/dist/src/utils/rules/doMatchPattern/tests/matchPattern.spec.d.ts +1 -0
  44. package/dist/src/utils/rules/index.d.ts +11 -0
  45. package/dist/src/utils/rules/isDateValid/index.d.ts +4 -0
  46. package/dist/src/utils/rules/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  47. package/dist/src/utils/rules/isExactLength/index.d.ts +3 -0
  48. package/dist/src/utils/rules/isExactLength/locales.d.ts +2 -0
  49. package/dist/src/utils/rules/isExactLength/tests/exactLength.spec.d.ts +1 -0
  50. package/dist/src/utils/rules/isMaxLength/index.d.ts +3 -0
  51. package/dist/src/utils/rules/isMaxLength/locales.d.ts +2 -0
  52. package/dist/src/utils/rules/isMaxLength/tests/isMaxLength.spec.d.ts +1 -0
  53. package/dist/src/utils/rules/isMinLength/index.d.ts +3 -0
  54. package/dist/src/utils/rules/isMinLength/locales.d.ts +2 -0
  55. package/dist/src/utils/rules/isMinLength/tests/isMinLength.spec.d.ts +1 -0
  56. package/dist/src/utils/rules/isNotAfterDate/index.d.ts +3 -0
  57. package/dist/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.d.ts +1 -0
  58. package/dist/src/utils/rules/isNotAfterToday/index.d.ts +4 -0
  59. package/dist/src/utils/rules/isNotAfterToday/locales.d.ts +2 -0
  60. package/dist/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.d.ts +1 -0
  61. package/dist/src/utils/rules/isNotBeforeDate/index.d.ts +3 -0
  62. package/dist/src/utils/rules/isNotBeforeDate/locales.d.ts +2 -0
  63. package/dist/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.d.ts +1 -0
  64. package/dist/src/utils/rules/isNotBeforeToday/index.d.ts +4 -0
  65. package/dist/src/utils/rules/isNotBeforeToday/locales.d.ts +2 -0
  66. package/dist/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.d.ts +1 -0
  67. package/dist/src/utils/rules/isRequired/index.d.ts +4 -0
  68. package/dist/src/utils/rules/isRequired/locales.d.ts +2 -0
  69. package/dist/src/utils/rules/isRequired/tests/isRequred.spec.d.ts +1 -0
  70. package/dist/src/utils/rules/isValidEmail/index.d.ts +4 -0
  71. package/dist/src/utils/rules/isValidEmail/locales.d.ts +2 -0
  72. package/dist/src/utils/rules/isValidEmail/tests/isValidEmail.spec.d.ts +1 -0
  73. package/dist/style.css +1 -1
  74. package/package.json +3 -1
  75. package/src/assets/_radius.scss +12 -6
  76. package/src/assets/settings.scss +8 -0
  77. package/src/components/Amelipro/types/types.ts +40 -0
  78. package/src/components/ChipList/ChipList.stories.ts +26 -27
  79. package/src/components/ChipList/ChipList.vue +5 -1
  80. package/src/components/ChipList/config.ts +1 -0
  81. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -2
  82. package/src/components/Customs/SyBtnSelect/SyBtnSelect.mdx +1 -1
  83. package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +1 -1
  84. package/src/components/Customs/SySelect/SySelect.mdx +1 -1
  85. package/src/components/Customs/SySelect/SySelect.vue +19 -4
  86. package/src/components/Customs/SyTextField/SyTextField.mdx +2 -2
  87. package/src/components/Customs/SyTextField/SyTextField.stories.ts +239 -0
  88. package/src/components/Customs/SyTextField/SyTextField.vue +3 -0
  89. package/src/components/DatePicker/DatePicker.stories.ts +177 -5
  90. package/src/components/DatePicker/DatePicker.vue +148 -347
  91. package/src/components/DatePicker/DateTextInput.vue +91 -251
  92. package/src/components/DatePicker/tests/DatePicker.spec.ts +118 -48
  93. package/src/components/DatePicker/tests/DateTextInput.spec.ts +202 -6
  94. package/src/components/FileList/Accessibilite.stories.ts +1 -1
  95. package/src/components/FileList/AccessibiliteItems.ts +22 -0
  96. package/src/components/FileUpload/FileUpload.stories.ts +9 -7
  97. package/src/components/FilterInline/Accessibilite.mdx +14 -0
  98. package/src/components/FilterInline/Accessibilite.stories.ts +216 -0
  99. package/src/components/FilterInline/AccessibiliteItems.ts +132 -0
  100. package/src/components/FilterInline/constants/ExpertiseLevelEnum.ts +4 -0
  101. package/src/components/FilterSideBar/Accessibilite.mdx +14 -0
  102. package/src/components/FilterSideBar/Accessibilite.stories.ts +216 -0
  103. package/src/components/FilterSideBar/AccessibiliteItems.ts +153 -0
  104. package/src/components/FilterSideBar/constants/ExpertiseLevelEnum.ts +4 -0
  105. package/src/components/NirField/NirField.stories.ts +165 -0
  106. package/src/components/NirField/NirField.vue +6 -2
  107. package/src/components/NirField/tests/config.spec.ts +65 -0
  108. package/src/components/NotificationBar/NotificationBar.mdx +2 -2
  109. package/src/components/NotificationBar/NotificationBar.stories.ts +59 -11
  110. package/src/components/NotificationBar/NotificationBar.vue +42 -114
  111. package/src/components/NotificationBar/tests/NotificationBar.spec.ts +28 -33
  112. package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +1 -1
  113. package/src/components/PaginatedTable/PaginatedTable.vue +6 -10
  114. package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +4 -4
  115. package/src/components/PasswordField/PasswordField.stories.ts +191 -4
  116. package/src/components/PasswordField/PasswordField.vue +3 -0
  117. package/src/components/PeriodField/PeriodField.stories.ts +214 -118
  118. package/src/components/PeriodField/PeriodField.vue +195 -148
  119. package/src/components/PeriodField/tests/PeriodField.spec.ts +146 -0
  120. package/src/components/PhoneField/PhoneField.stories.ts +101 -0
  121. package/src/components/PhoneField/PhoneField.vue +73 -17
  122. package/src/components/PhoneField/tests/PhoneField.spec.ts +40 -0
  123. package/src/components/RatingPicker/RatingPicker.stories.ts +7 -7
  124. package/src/components/SearchListField/SearchListField.stories.ts +1 -1
  125. package/src/components/UploadWorkflow/Accessibilite.mdx +14 -0
  126. package/src/components/UploadWorkflow/Accessibilite.stories.ts +216 -0
  127. package/src/components/UploadWorkflow/AccessibiliteItems.ts +192 -0
  128. package/src/components/UploadWorkflow/UploadWorkflow.vue +2 -2
  129. package/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.ts +4 -0
  130. package/src/components/Usages/tests/Usages.spec.ts +183 -0
  131. package/src/components/index.ts +3 -0
  132. package/src/composables/date/tests/useDateFormat.spec.ts +67 -0
  133. package/src/composables/date/tests/useDateInitialization.spec.ts +89 -0
  134. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +102 -0
  135. package/src/composables/date/useDateFormat.ts +94 -0
  136. package/src/composables/date/useDateInitialization.ts +92 -0
  137. package/src/composables/date/useDatePickerAccessibility.ts +78 -0
  138. package/src/composables/rules/tests/useFieldValidation.spec.ts +385 -4
  139. package/src/composables/useFilterable/useFilterable.ts +5 -4
  140. package/src/composables/validation/useValidation.ts +15 -0
  141. package/src/main.ts +1 -0
  142. package/src/stories/Accessibilite/Aculturation/AuditDesignSystem.mdx +28 -0
  143. package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +2 -2
  144. package/src/stories/Accessibilite/Audit/RGAA.mdx +6 -6
  145. package/src/stories/Accessibilite/Introduction.mdx +2 -1
  146. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +1 -1
  147. package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +1 -1
  148. package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +8 -11
  149. package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +77 -0
  150. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +9 -3
  151. package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +2 -2
  152. package/src/stories/Demarrer/Introduction.stories.ts +3 -3
  153. package/src/stories/Demarrer/Releases.mdx +8 -0
  154. package/src/stories/Demarrer/Releases.stories.ts +66 -0
  155. package/src/stories/DesignTokens/Conteneurs.stories.ts +3 -3
  156. package/src/stories/GuideDuDev/LesBreackingChanges.mdx +36 -0
  157. package/src/stories/GuideDuDev/UtiliserLesRules.mdx +2 -2
  158. package/src/utils/formatDate/index.ts +6 -0
  159. package/src/utils/formatDate/tests/formatDate.spec.ts +18 -0
  160. package/src/utils/functions/validation/isDateAfter/index.ts +9 -0
  161. package/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.ts +18 -0
  162. package/src/utils/functions/validation/isDateBefore/index.ts +9 -0
  163. package/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.ts +23 -0
  164. package/src/utils/functions/validation/isDateInRange/index.ts +22 -0
  165. package/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.ts +28 -0
  166. package/src/utils/functions/validation/isDateValid/index.ts +67 -0
  167. package/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.ts +46 -0
  168. package/src/utils/functions/validation/isEmailValid/index.ts +9 -0
  169. package/src/utils/functions/validation/isWeekend/index.ts +10 -0
  170. package/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.ts +16 -0
  171. package/src/utils/parseDate/index.ts +29 -0
  172. package/src/utils/parseDate/tests/parseDate.spec.ts +52 -0
  173. package/src/utils/rules/Rules.mdx +16 -0
  174. package/src/utils/rules/doMatchPattern/DoMachPattern.mdx +66 -0
  175. package/src/utils/rules/doMatchPattern/DoMatchPattern.stories.ts +106 -0
  176. package/src/utils/rules/doMatchPattern/index.ts +28 -0
  177. package/src/utils/rules/doMatchPattern/locales.ts +5 -0
  178. package/src/utils/rules/doMatchPattern/tests/matchPattern.spec.ts +38 -0
  179. package/src/utils/rules/index.ts +11 -0
  180. package/src/utils/rules/isDateValid/IsDateValid.mdx +87 -0
  181. package/src/utils/rules/isDateValid/IsDateValid.stories.ts +113 -0
  182. package/src/utils/rules/isDateValid/index.ts +32 -0
  183. package/src/utils/rules/isDateValid/locales.ts +10 -0
  184. package/src/utils/rules/isDateValid/tests/isDateValid.spec.ts +27 -0
  185. package/src/utils/rules/isExactLength/IsExactLenght.mdx +68 -0
  186. package/src/utils/rules/isExactLength/IsExactLength.stories.ts +151 -0
  187. package/src/utils/rules/{exactLength → isExactLength}/index.ts +2 -4
  188. package/src/utils/rules/isExactLength/tests/exactLength.spec.ts +48 -0
  189. package/src/utils/rules/isMaxLength/IsMaxLength.mdx +68 -0
  190. package/src/utils/rules/isMaxLength/IsMaxLength.stories.ts +152 -0
  191. package/src/utils/rules/isMaxLength/index.ts +30 -0
  192. package/src/utils/rules/isMaxLength/locales.ts +6 -0
  193. package/src/utils/rules/isMaxLength/tests/isMaxLength.spec.ts +42 -0
  194. package/src/utils/rules/isMinLength/IsMinLength.mdx +68 -0
  195. package/src/utils/rules/isMinLength/IsMinLength.stories.ts +152 -0
  196. package/src/utils/rules/isMinLength/index.ts +30 -0
  197. package/src/utils/rules/isMinLength/locales.ts +6 -0
  198. package/src/utils/rules/isMinLength/tests/isMinLength.spec.ts +42 -0
  199. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.mdx +68 -0
  200. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.stories.ts +109 -0
  201. package/src/utils/rules/isNotAfterDate/index.ts +25 -0
  202. package/src/utils/rules/isNotAfterDate/locales.ts +6 -0
  203. package/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.ts +25 -0
  204. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.mdx +83 -0
  205. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.stories.ts +110 -0
  206. package/src/utils/rules/isNotAfterToday/index.ts +28 -0
  207. package/src/utils/rules/isNotAfterToday/locales.ts +5 -0
  208. package/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.ts +30 -0
  209. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.mdx +68 -0
  210. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.stories.ts +114 -0
  211. package/src/utils/rules/isNotBeforeDate/index.ts +25 -0
  212. package/src/utils/rules/isNotBeforeDate/locales.ts +6 -0
  213. package/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.ts +25 -0
  214. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.mdx +83 -0
  215. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.stories.ts +110 -0
  216. package/src/utils/rules/isNotBeforeToday/index.ts +28 -0
  217. package/src/utils/rules/isNotBeforeToday/locales.ts +5 -0
  218. package/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.ts +36 -0
  219. package/src/utils/rules/isRequired/IsRequired.mdx +81 -0
  220. package/src/utils/rules/isRequired/IsRequired.stories.ts +101 -0
  221. package/src/utils/rules/{required → isRequired}/index.ts +3 -3
  222. package/src/utils/rules/{required/tests/index.spec.ts → isRequired/tests/isRequred.spec.ts} +9 -9
  223. package/src/utils/rules/isValidEmail/IsValidEmail.mdx +81 -0
  224. package/src/utils/rules/isValidEmail/IsValidEmail.stories.ts +101 -0
  225. package/src/utils/rules/{email → isValidEmail}/index.ts +3 -5
  226. package/src/utils/rules/{email/tests/email.spec.ts → isValidEmail/tests/isValidEmail.spec.ts} +5 -5
  227. package/dist/src/components/Amelipro/types/languages.d.ts +0 -6
  228. package/dist/src/utils/rules/email/index.d.ts +0 -4
  229. package/dist/src/utils/rules/exactLength/index.d.ts +0 -4
  230. package/dist/src/utils/rules/required/index.d.ts +0 -4
  231. package/dist/src/utils/rules/required/ruleMessageHelper.d.ts +0 -3
  232. package/src/components/Amelipro/types/languages.d.ts +0 -6
  233. package/src/components/Amelipro/types/types.d.ts +0 -65
  234. package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +0 -58
  235. package/src/utils/functions/isEmailValid/index.ts +0 -8
  236. package/src/utils/rules/required/ruleMessageHelper.ts +0 -14
  237. package/src/utils/rules/required/tests/rulesMessageHelper.spec.ts +0 -22
  238. /package/dist/src/{utils/functions/isEmailValid/tests/isEmailValid.spec.d.ts → components/NirField/tests/config.spec.d.ts} +0 -0
  239. /package/dist/src/{utils/rules/email/tests/email.spec.d.ts → components/Usages/tests/Usages.spec.d.ts} +0 -0
  240. /package/dist/src/{utils/rules/required/tests/index.spec.d.ts → composables/date/tests/useDateFormat.spec.d.ts} +0 -0
  241. /package/dist/src/{utils/rules/required/tests/rulesMessageHelper.spec.d.ts → composables/date/tests/useDateInitialization.spec.d.ts} +0 -0
  242. /package/dist/src/utils/functions/{isEmailValid → validation/isEmailValid}/index.d.ts +0 -0
  243. /package/dist/src/utils/rules/{exactLength → doMatchPattern}/locales.d.ts +0 -0
  244. /package/dist/src/utils/rules/{email → isDateValid}/locales.d.ts +0 -0
  245. /package/dist/src/utils/rules/{required → isNotAfterDate}/locales.d.ts +0 -0
  246. /package/src/components/NirField/{tests → examples}//342/200/257dataset/342/200/257.md" +0 -0
  247. /package/src/utils/functions/{isEmailValid → validation/isEmailValid}/tests/isEmailValid.spec.ts +0 -0
  248. /package/src/utils/rules/{exactLength → isExactLength}/locales.ts +0 -0
  249. /package/src/utils/rules/{required → isRequired}/locales.ts +0 -0
  250. /package/src/utils/rules/{email → isValidEmail}/locales.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { RuleOptions } from '../../composables';
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
- type: string;
24
- options: RuleOptions;
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: import('vue').Ref<string[], string[]>;
34
- successes: import('vue').Ref<string[], string[]>;
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
- type: string;
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?: (string | object | string[] | null) | undefined;
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: RuleOptions;
78
+ options: any;
79
79
  }[] | undefined;
80
80
  customWarningRules?: {
81
81
  type: string;
82
- options: RuleOptions;
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: string | [string, string] | null) => any) | undefined;
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: string | object | string[] | null) => Date | Date[] | null;
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: string | [string, string] | null) => any;
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: string | object | string[] | null;
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: RuleOptions;
121
+ options: any;
118
122
  }[];
119
123
  customWarningRules: {
120
124
  type: string;
121
- options: RuleOptions;
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
- type: string;
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
- type: string;
178
- options: RuleOptions;
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?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
254
- readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
255
- readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
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?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
337
- customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
338
- customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
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?: import('../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../composables/validation/useValidation').ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
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: import('../../composables/validation/useValidation').ValidationRule[];
423
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
424
- customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
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: import('../../composables/validation/useValidation').ValidationRule[];
505
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
506
- customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
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?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
569
- customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
570
- customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
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?: import('../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../composables/validation/useValidation').ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
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
- type: string;
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
- type: string;
648
- options: RuleOptions;
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?: (string | object | string[] | null) | undefined;
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: RuleOptions;
677
+ options: any;
683
678
  }[] | undefined;
684
679
  customWarningRules?: {
685
680
  type: string;
686
- options: RuleOptions;
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: string | [string, string] | null) => any) | undefined;
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: string | object | string[] | null) => Date | Date[] | null;
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: string | object | string[] | null;
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: RuleOptions;
715
+ options: any;
717
716
  }[];
718
717
  customWarningRules: {
719
718
  type: string;
720
- options: RuleOptions;
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?: (string | object | string[] | null) | undefined;
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: RuleOptions;
748
+ options: any;
748
749
  }[] | undefined;
749
750
  customWarningRules?: {
750
751
  type: string;
751
- options: RuleOptions;
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: string | [string, string] | null) => any) | undefined;
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: string | object | string[] | null) => Date | Date[] | null;
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: string | [string, string] | null) => any;
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: string | object | string[] | null;
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: RuleOptions;
791
+ options: any;
787
792
  }[];
788
793
  customWarningRules: {
789
794
  type: string;
790
- options: RuleOptions;
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
- type: string;
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
- type: string;
847
- options: RuleOptions;
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?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
923
- readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
924
- readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
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?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
1006
- customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
1007
- customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
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?: import('../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../composables/validation/useValidation').ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
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: import('../../composables/validation/useValidation').ValidationRule[];
1092
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1093
- customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
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: import('../../composables/validation/useValidation').ValidationRule[];
1174
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1175
- customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
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?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
1238
- customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
1239
- customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
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?: import('../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../composables/validation/useValidation').ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
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
- type: string;
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
- type: string;
1317
- options: RuleOptions;
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?: (string | object | string[] | null) | undefined;
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: RuleOptions;
1347
+ options: any;
1352
1348
  }[] | undefined;
1353
1349
  customWarningRules?: {
1354
1350
  type: string;
1355
- options: RuleOptions;
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: string | [string, string] | null) => any) | undefined;
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: string | object | string[] | null) => Date | Date[] | null;
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: string | object | string[] | null;
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: RuleOptions;
1385
+ options: any;
1386
1386
  }[];
1387
1387
  customWarningRules: {
1388
1388
  type: string;
1389
- options: RuleOptions;
1389
+ options: any;
1390
1390
  }[];
1391
+ showSuccessMessages: boolean;
1392
+ disableErrorHandling: boolean;
1391
1393
  format: string;
1392
1394
  dateFormatReturn: string;
1393
1395
  isOutlined: boolean;