@cnamts/synapse 0.0.11-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 (315) hide show
  1. package/dist/design-system-v3.js +5394 -3813
  2. package/dist/design-system-v3.umd.cjs +1 -1
  3. package/dist/src/components/Amelipro/types/types.d.ts +38 -0
  4. package/dist/src/components/CookieBanner/CookieBanner.d.ts +1 -1
  5. package/dist/src/components/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
  6. package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +31 -23
  7. package/dist/src/components/Customs/SyTextField/types.d.ts +1 -0
  8. package/dist/src/components/DatePicker/DatePicker.d.ts +105 -102
  9. package/dist/src/components/DatePicker/DateTextInput.d.ts +82 -74
  10. package/dist/src/components/ErrorPage/ErrorPage.d.ts +1 -1
  11. package/dist/src/components/FileList/FileList.d.ts +1 -0
  12. package/dist/src/components/FileList/UploadItem/UploadItem.d.ts +1 -1
  13. package/dist/src/components/FilterInline/AccessibiliteItems.d.ts +30 -0
  14. package/dist/src/components/FilterInline/constants/ExpertiseLevelEnum.d.ts +4 -0
  15. package/dist/src/components/FilterSideBar/AccessibiliteItems.d.ts +29 -0
  16. package/dist/src/components/FilterSideBar/FilterSideBar.d.ts +31 -0
  17. package/dist/src/components/FilterSideBar/constants/ExpertiseLevelEnum.d.ts +4 -0
  18. package/dist/src/components/FilterSideBar/locales.d.ts +7 -0
  19. package/dist/src/components/LangBtn/LangBtn.d.ts +2 -2
  20. package/dist/src/components/NirField/NirField.d.ts +952 -0
  21. package/dist/src/components/NotificationBar/NotificationBar.d.ts +6 -6
  22. package/dist/src/components/PasswordField/PasswordField.d.ts +42 -8
  23. package/dist/src/components/PeriodField/PeriodField.d.ts +259 -235
  24. package/dist/src/components/PhoneField/PhoneField.d.ts +33 -3
  25. package/dist/src/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +1 -1
  26. package/dist/src/components/RatingPicker/NumberPicker/NumberPicker.d.ts +1 -1
  27. package/dist/src/components/RatingPicker/StarsPicker/StarsPicker.d.ts +1 -1
  28. package/dist/src/components/UploadWorkflow/AccessibiliteItems.d.ts +29 -0
  29. package/dist/src/components/UploadWorkflow/config.d.ts +29 -0
  30. package/dist/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.d.ts +4 -0
  31. package/dist/src/components/UploadWorkflow/locales.d.ts +7 -0
  32. package/dist/src/components/UploadWorkflow/types.d.ts +19 -0
  33. package/dist/src/components/UploadWorkflow/useFileList.d.ts +10 -0
  34. package/dist/src/components/UploadWorkflow/useFileUploadJourney.d.ts +9 -0
  35. package/dist/src/components/Usages/Usages.d.ts +10 -0
  36. package/dist/src/components/index.d.ts +5 -0
  37. package/dist/src/composables/date/tests/useDateFormat.spec.d.ts +1 -0
  38. package/dist/src/composables/date/tests/useDateInitialization.spec.d.ts +1 -0
  39. package/dist/src/composables/date/tests/useDatePickerAccessibility.spec.d.ts +1 -0
  40. package/dist/src/composables/date/useDateFormat.d.ts +26 -0
  41. package/dist/src/composables/date/useDateInitialization.d.ts +18 -0
  42. package/dist/src/composables/date/useDatePickerAccessibility.d.ts +8 -0
  43. package/dist/src/composables/rules/useFieldValidation.d.ts +1 -0
  44. package/dist/src/composables/useFilterable/useFilterable.d.ts +1 -1
  45. package/dist/src/composables/validation/tests/useValidation.spec.d.ts +1 -0
  46. package/dist/src/composables/validation/useValidation.d.ts +40 -0
  47. package/dist/src/designTokens/index.d.ts +3 -1
  48. package/dist/src/main.d.ts +1 -0
  49. package/dist/src/utils/formatDate/index.d.ts +3 -0
  50. package/dist/src/utils/formatDate/tests/formatDate.spec.d.ts +1 -0
  51. package/dist/src/utils/functions/validation/isDateAfter/index.d.ts +2 -0
  52. package/dist/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.d.ts +1 -0
  53. package/dist/src/utils/functions/validation/isDateBefore/index.d.ts +2 -0
  54. package/dist/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.d.ts +1 -0
  55. package/dist/src/utils/functions/validation/isDateInRange/index.d.ts +3 -0
  56. package/dist/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.d.ts +1 -0
  57. package/dist/src/utils/functions/validation/isDateValid/index.d.ts +9 -0
  58. package/dist/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  59. package/dist/src/utils/functions/validation/isEmailValid/tests/isEmailValid.spec.d.ts +1 -0
  60. package/dist/src/utils/functions/validation/isWeekend/index.d.ts +3 -0
  61. package/dist/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.d.ts +1 -0
  62. package/dist/src/utils/parseDate/index.d.ts +3 -0
  63. package/dist/src/utils/parseDate/tests/parseDate.spec.d.ts +1 -0
  64. package/dist/src/utils/rules/doMatchPattern/index.d.ts +3 -0
  65. package/dist/src/utils/rules/doMatchPattern/tests/matchPattern.spec.d.ts +1 -0
  66. package/dist/src/utils/rules/index.d.ts +11 -0
  67. package/dist/src/utils/rules/isDateValid/index.d.ts +4 -0
  68. package/dist/src/utils/rules/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  69. package/dist/src/utils/rules/isExactLength/index.d.ts +3 -0
  70. package/dist/src/utils/rules/isExactLength/locales.d.ts +2 -0
  71. package/dist/src/utils/rules/isExactLength/tests/exactLength.spec.d.ts +1 -0
  72. package/dist/src/utils/rules/isMaxLength/index.d.ts +3 -0
  73. package/dist/src/utils/rules/isMaxLength/locales.d.ts +2 -0
  74. package/dist/src/utils/rules/isMaxLength/tests/isMaxLength.spec.d.ts +1 -0
  75. package/dist/src/utils/rules/isMinLength/index.d.ts +3 -0
  76. package/dist/src/utils/rules/isMinLength/locales.d.ts +2 -0
  77. package/dist/src/utils/rules/isMinLength/tests/isMinLength.spec.d.ts +1 -0
  78. package/dist/src/utils/rules/isNotAfterDate/index.d.ts +3 -0
  79. package/dist/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.d.ts +1 -0
  80. package/dist/src/utils/rules/isNotAfterToday/index.d.ts +4 -0
  81. package/dist/src/utils/rules/isNotAfterToday/locales.d.ts +2 -0
  82. package/dist/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.d.ts +1 -0
  83. package/dist/src/utils/rules/isNotBeforeDate/index.d.ts +3 -0
  84. package/dist/src/utils/rules/isNotBeforeDate/locales.d.ts +2 -0
  85. package/dist/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.d.ts +1 -0
  86. package/dist/src/utils/rules/isNotBeforeToday/index.d.ts +4 -0
  87. package/dist/src/utils/rules/isNotBeforeToday/locales.d.ts +2 -0
  88. package/dist/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.d.ts +1 -0
  89. package/dist/src/utils/rules/isRequired/index.d.ts +4 -0
  90. package/dist/src/utils/rules/isRequired/locales.d.ts +2 -0
  91. package/dist/src/utils/rules/isRequired/tests/isRequred.spec.d.ts +1 -0
  92. package/dist/src/utils/rules/isValidEmail/index.d.ts +4 -0
  93. package/dist/src/utils/rules/isValidEmail/locales.d.ts +2 -0
  94. package/dist/src/utils/rules/isValidEmail/tests/isValidEmail.spec.d.ts +1 -0
  95. package/dist/src/vuetifyConfig.d.ts +81 -0
  96. package/dist/style.css +1 -1
  97. package/package.json +3 -1
  98. package/src/assets/_elevations.scss +89 -0
  99. package/src/assets/_fonts.scss +6 -0
  100. package/src/assets/_radius.scss +92 -0
  101. package/src/assets/_spacers.scss +149 -0
  102. package/src/assets/settings.scss +15 -3
  103. package/src/assets/tokens.scss +32 -29
  104. package/src/components/Amelipro/types/types.ts +40 -0
  105. package/src/components/ChipList/ChipList.stories.ts +26 -27
  106. package/src/components/ChipList/ChipList.vue +5 -1
  107. package/src/components/ChipList/config.ts +1 -0
  108. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -2
  109. package/src/components/Customs/SyBtnSelect/SyBtnSelect.mdx +1 -1
  110. package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +1 -1
  111. package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +65 -0
  112. package/src/components/Customs/SyInputSelect/SyInputSelect.vue +13 -3
  113. package/src/components/Customs/SySelect/SySelect.mdx +1 -1
  114. package/src/components/Customs/SySelect/SySelect.stories.ts +88 -5
  115. package/src/components/Customs/SySelect/SySelect.vue +55 -14
  116. package/src/components/Customs/SySelect/tests/SySelect.spec.ts +135 -2
  117. package/src/components/Customs/SyTextField/SyTextField.mdx +2 -2
  118. package/src/components/Customs/SyTextField/SyTextField.stories.ts +809 -79
  119. package/src/components/Customs/SyTextField/SyTextField.vue +135 -104
  120. package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +190 -38
  121. package/src/components/Customs/SyTextField/types.d.ts +1 -0
  122. package/src/components/DatePicker/DatePicker.stories.ts +177 -5
  123. package/src/components/DatePicker/DatePicker.vue +302 -233
  124. package/src/components/DatePicker/DateTextInput.vue +101 -246
  125. package/src/components/DatePicker/tests/DatePicker.spec.ts +123 -60
  126. package/src/components/DatePicker/tests/DateTextInput.spec.ts +202 -6
  127. package/src/components/FileList/Accessibilite.stories.ts +1 -1
  128. package/src/components/FileList/AccessibiliteItems.ts +22 -0
  129. package/src/components/FileList/FileList.vue +2 -1
  130. package/src/components/FileList/UploadItem/UploadItem.vue +10 -0
  131. package/src/components/FileUpload/FileUpload.stories.ts +93 -7
  132. package/src/components/FileUpload/FileUpload.vue +1 -0
  133. package/src/components/FileUpload/tests/FileUpload.spec.ts +4 -4
  134. package/src/components/FilterInline/Accessibilite.mdx +14 -0
  135. package/src/components/FilterInline/Accessibilite.stories.ts +216 -0
  136. package/src/components/FilterInline/AccessibiliteItems.ts +132 -0
  137. package/src/components/FilterInline/FilterInline.mdx +180 -34
  138. package/src/components/FilterInline/FilterInline.stories.ts +363 -6
  139. package/src/components/FilterInline/constants/ExpertiseLevelEnum.ts +4 -0
  140. package/src/components/FilterSideBar/Accessibilite.mdx +14 -0
  141. package/src/components/FilterSideBar/Accessibilite.stories.ts +216 -0
  142. package/src/components/FilterSideBar/AccessibiliteItems.ts +153 -0
  143. package/src/components/FilterSideBar/FilterSideBar.mdx +237 -0
  144. package/src/components/FilterSideBar/FilterSideBar.stories.ts +798 -0
  145. package/src/components/FilterSideBar/FilterSideBar.vue +193 -0
  146. package/src/components/FilterSideBar/constants/ExpertiseLevelEnum.ts +4 -0
  147. package/src/components/FilterSideBar/locales.ts +8 -0
  148. package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +305 -0
  149. package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +39 -0
  150. package/src/components/HeaderBar/Usages.mdx +1 -1
  151. package/src/components/NirField/NirField.stories.ts +738 -29
  152. package/src/components/NirField/NirField.vue +401 -359
  153. package/src/components/NirField/examples//342/200/257dataset/342/200/257.md +12 -0
  154. package/src/components/NirField/tests/NirField.spec.ts +88 -52
  155. package/src/components/NirField/tests/config.spec.ts +65 -0
  156. package/src/components/NotificationBar/Accessibilite.stories.ts +4 -0
  157. package/src/components/NotificationBar/NotificationBar.mdx +2 -2
  158. package/src/components/NotificationBar/NotificationBar.stories.ts +66 -13
  159. package/src/components/NotificationBar/NotificationBar.vue +42 -114
  160. package/src/components/NotificationBar/tests/NotificationBar.spec.ts +28 -33
  161. package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +1 -1
  162. package/src/components/PaginatedTable/PaginatedTable.vue +6 -10
  163. package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +4 -4
  164. package/src/components/PasswordField/PasswordField.mdx +129 -47
  165. package/src/components/PasswordField/PasswordField.stories.ts +1111 -120
  166. package/src/components/PasswordField/PasswordField.vue +212 -99
  167. package/src/components/PasswordField/tests/PasswordField.spec.ts +138 -9
  168. package/src/components/PeriodField/PeriodField.stories.ts +214 -118
  169. package/src/components/PeriodField/PeriodField.vue +238 -190
  170. package/src/components/PeriodField/tests/PeriodField.spec.ts +146 -0
  171. package/src/components/PhoneField/PhoneField.stories.ts +170 -0
  172. package/src/components/PhoneField/PhoneField.vue +76 -17
  173. package/src/components/PhoneField/indicatifs.ts +1 -1
  174. package/src/components/PhoneField/tests/PhoneField.spec.ts +40 -0
  175. package/src/components/RatingPicker/RatingPicker.stories.ts +7 -7
  176. package/src/components/SearchListField/SearchListField.stories.ts +1 -1
  177. package/src/components/UploadWorkflow/Accessibilite.mdx +14 -0
  178. package/src/components/UploadWorkflow/Accessibilite.stories.ts +216 -0
  179. package/src/components/UploadWorkflow/AccessibiliteItems.ts +192 -0
  180. package/src/components/UploadWorkflow/UploadWorkflow.mdx +75 -0
  181. package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +943 -0
  182. package/src/components/UploadWorkflow/UploadWorkflow.vue +230 -0
  183. package/src/components/UploadWorkflow/config.ts +29 -0
  184. package/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.ts +4 -0
  185. package/src/components/UploadWorkflow/locales.ts +8 -0
  186. package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +257 -0
  187. package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +54 -0
  188. package/src/components/UploadWorkflow/types.ts +21 -0
  189. package/src/components/UploadWorkflow/useFileList.ts +84 -0
  190. package/src/components/UploadWorkflow/useFileUploadJourney.ts +18 -0
  191. package/src/components/Usages/tests/Usages.spec.ts +183 -0
  192. package/src/components/index.ts +5 -0
  193. package/src/composables/date/tests/useDateFormat.spec.ts +67 -0
  194. package/src/composables/date/tests/useDateInitialization.spec.ts +89 -0
  195. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +102 -0
  196. package/src/composables/date/useDateFormat.ts +94 -0
  197. package/src/composables/date/useDateInitialization.ts +92 -0
  198. package/src/composables/date/useDatePickerAccessibility.ts +78 -0
  199. package/src/composables/rules/tests/useFieldValidation.spec.ts +385 -4
  200. package/src/composables/rules/useFieldValidation.ts +5 -2
  201. package/src/composables/useFilterable/useFilterable.ts +5 -4
  202. package/src/composables/validation/tests/useValidation.spec.ts +154 -0
  203. package/src/composables/validation/useValidation.ts +180 -0
  204. package/src/designTokens/index.ts +4 -0
  205. package/src/main.ts +1 -0
  206. package/src/stories/Accessibilite/Aculturation/AuditDesignSystem.mdx +28 -0
  207. package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +2 -2
  208. package/src/stories/Accessibilite/Audit/RGAA.mdx +6 -6
  209. package/src/stories/Accessibilite/Introduction.mdx +2 -1
  210. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +1 -1
  211. package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +1 -1
  212. package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +8 -11
  213. package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +77 -0
  214. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +9 -3
  215. package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +2 -2
  216. package/src/stories/Demarrer/Accueil.mdx +1 -1
  217. package/src/stories/Demarrer/Introduction.stories.ts +3 -3
  218. package/src/stories/Demarrer/Releases.mdx +8 -0
  219. package/src/stories/Demarrer/Releases.stories.ts +66 -0
  220. package/src/stories/DesignTokens/Conteneurs.stories.ts +3 -3
  221. package/src/stories/DesignTokens/ThemePA.mdx +4 -30
  222. package/src/stories/GuideDuDev/LesBreackingChanges.mdx +36 -0
  223. package/src/stories/GuideDuDev/UtiliserLesRules.mdx +321 -78
  224. package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
  225. package/src/utils/formatDate/index.ts +6 -0
  226. package/src/utils/formatDate/tests/formatDate.spec.ts +18 -0
  227. package/src/utils/functions/validation/isDateAfter/index.ts +9 -0
  228. package/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.ts +18 -0
  229. package/src/utils/functions/validation/isDateBefore/index.ts +9 -0
  230. package/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.ts +23 -0
  231. package/src/utils/functions/validation/isDateInRange/index.ts +22 -0
  232. package/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.ts +28 -0
  233. package/src/utils/functions/validation/isDateValid/index.ts +67 -0
  234. package/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.ts +46 -0
  235. package/src/utils/functions/validation/isEmailValid/index.ts +9 -0
  236. package/src/utils/functions/validation/isWeekend/index.ts +10 -0
  237. package/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.ts +16 -0
  238. package/src/utils/parseDate/index.ts +29 -0
  239. package/src/utils/parseDate/tests/parseDate.spec.ts +52 -0
  240. package/src/utils/rules/Rules.mdx +16 -0
  241. package/src/utils/rules/doMatchPattern/DoMachPattern.mdx +66 -0
  242. package/src/utils/rules/doMatchPattern/DoMatchPattern.stories.ts +106 -0
  243. package/src/utils/rules/doMatchPattern/index.ts +28 -0
  244. package/src/utils/rules/doMatchPattern/locales.ts +5 -0
  245. package/src/utils/rules/doMatchPattern/tests/matchPattern.spec.ts +38 -0
  246. package/src/utils/rules/index.ts +11 -0
  247. package/src/utils/rules/isDateValid/IsDateValid.mdx +87 -0
  248. package/src/utils/rules/isDateValid/IsDateValid.stories.ts +113 -0
  249. package/src/utils/rules/isDateValid/index.ts +32 -0
  250. package/src/utils/rules/isDateValid/locales.ts +10 -0
  251. package/src/utils/rules/isDateValid/tests/isDateValid.spec.ts +27 -0
  252. package/src/utils/rules/isExactLength/IsExactLenght.mdx +68 -0
  253. package/src/utils/rules/isExactLength/IsExactLength.stories.ts +151 -0
  254. package/src/utils/rules/{exactLength → isExactLength}/index.ts +2 -4
  255. package/src/utils/rules/isExactLength/tests/exactLength.spec.ts +48 -0
  256. package/src/utils/rules/isMaxLength/IsMaxLength.mdx +68 -0
  257. package/src/utils/rules/isMaxLength/IsMaxLength.stories.ts +152 -0
  258. package/src/utils/rules/isMaxLength/index.ts +30 -0
  259. package/src/utils/rules/isMaxLength/locales.ts +6 -0
  260. package/src/utils/rules/isMaxLength/tests/isMaxLength.spec.ts +42 -0
  261. package/src/utils/rules/isMinLength/IsMinLength.mdx +68 -0
  262. package/src/utils/rules/isMinLength/IsMinLength.stories.ts +152 -0
  263. package/src/utils/rules/isMinLength/index.ts +30 -0
  264. package/src/utils/rules/isMinLength/locales.ts +6 -0
  265. package/src/utils/rules/isMinLength/tests/isMinLength.spec.ts +42 -0
  266. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.mdx +68 -0
  267. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.stories.ts +109 -0
  268. package/src/utils/rules/isNotAfterDate/index.ts +25 -0
  269. package/src/utils/rules/isNotAfterDate/locales.ts +6 -0
  270. package/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.ts +25 -0
  271. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.mdx +83 -0
  272. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.stories.ts +110 -0
  273. package/src/utils/rules/isNotAfterToday/index.ts +28 -0
  274. package/src/utils/rules/isNotAfterToday/locales.ts +5 -0
  275. package/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.ts +30 -0
  276. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.mdx +68 -0
  277. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.stories.ts +114 -0
  278. package/src/utils/rules/isNotBeforeDate/index.ts +25 -0
  279. package/src/utils/rules/isNotBeforeDate/locales.ts +6 -0
  280. package/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.ts +25 -0
  281. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.mdx +83 -0
  282. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.stories.ts +110 -0
  283. package/src/utils/rules/isNotBeforeToday/index.ts +28 -0
  284. package/src/utils/rules/isNotBeforeToday/locales.ts +5 -0
  285. package/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.ts +36 -0
  286. package/src/utils/rules/isRequired/IsRequired.mdx +81 -0
  287. package/src/utils/rules/isRequired/IsRequired.stories.ts +101 -0
  288. package/src/utils/rules/{required → isRequired}/index.ts +3 -3
  289. package/src/utils/rules/{required/tests/index.spec.ts → isRequired/tests/isRequred.spec.ts} +9 -9
  290. package/src/utils/rules/isValidEmail/IsValidEmail.mdx +81 -0
  291. package/src/utils/rules/isValidEmail/IsValidEmail.stories.ts +101 -0
  292. package/src/utils/rules/{email → isValidEmail}/index.ts +3 -5
  293. package/src/utils/rules/{email/tests/email.spec.ts → isValidEmail/tests/isValidEmail.spec.ts} +5 -5
  294. package/src/vuetifyConfig.ts +61 -0
  295. package/dist/src/utils/rules/email/index.d.ts +0 -4
  296. package/dist/src/utils/rules/exactLength/index.d.ts +0 -4
  297. package/dist/src/utils/rules/required/index.d.ts +0 -4
  298. package/dist/src/utils/rules/required/ruleMessageHelper.d.ts +0 -3
  299. package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +0 -58
  300. package/src/composables/useFilterable/__snapshots__/useFilterable.spec.ts.snap +0 -3
  301. package/src/utils/functions/isEmailValid/index.ts +0 -8
  302. package/src/utils/rules/required/ruleMessageHelper.ts +0 -14
  303. package/src/utils/rules/required/tests/rulesMessageHelper.spec.ts +0 -22
  304. /package/dist/src/{utils/functions/isEmailValid/tests/isEmailValid.spec.d.ts → components/FilterSideBar/tests/FilterSideBar.spec.d.ts} +0 -0
  305. /package/dist/src/{utils/rules/email/tests/email.spec.d.ts → components/NirField/tests/config.spec.d.ts} +0 -0
  306. /package/dist/src/{utils/rules/required/tests/index.spec.d.ts → components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts} +0 -0
  307. /package/dist/src/{utils/rules/required/tests/rulesMessageHelper.spec.d.ts → components/Usages/tests/Usages.spec.d.ts} +0 -0
  308. /package/dist/src/utils/functions/{isEmailValid → validation/isEmailValid}/index.d.ts +0 -0
  309. /package/dist/src/utils/rules/{exactLength → doMatchPattern}/locales.d.ts +0 -0
  310. /package/dist/src/utils/rules/{email → isDateValid}/locales.d.ts +0 -0
  311. /package/dist/src/utils/rules/{required → isNotAfterDate}/locales.d.ts +0 -0
  312. /package/src/utils/functions/{isEmailValid → validation/isEmailValid}/tests/isEmailValid.spec.ts +0 -0
  313. /package/src/utils/rules/{exactLength → isExactLength}/locales.ts +0 -0
  314. /package/src/utils/rules/{required → isRequired}/locales.ts +0 -0
  315. /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,10 +87,12 @@ 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<{
93
+ "onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
91
94
  onBlur?: (() => any) | undefined;
92
95
  onFocus?: (() => any) | undefined;
93
- "onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
94
96
  onClosed?: (() => any) | undefined;
95
97
  }>, {
96
98
  validateOnSubmit: () => any;
@@ -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, {} & {
107
+ "update:modelValue": (value: import('../../composables/date/useDateInitialization').DateValue) => any;
103
108
  blur: () => any;
104
109
  focus: () => any;
105
- "update:modelValue": (value: string | [string, string] | null) => 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,27 +150,23 @@ 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
- "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
158
159
  onBlur?: (() => any) | undefined;
159
160
  onFocus?: (() => any) | undefined;
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, {} & {
165
- "update:model-value": (value: string | null) => any;
166
167
  blur: () => any;
167
168
  focus: () => any;
169
+ "update:model-value": (value: string | null) => any;
168
170
  }, import('vue').PublicProps, {
169
171
  required: boolean;
170
172
  modelValue: string | null;
@@ -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;
@@ -197,6 +195,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
197
195
  readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
198
196
  readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
199
197
  readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
198
+ readonly prependTooltip?: string | undefined;
199
+ readonly appendTooltip?: string | undefined;
200
+ readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
200
201
  readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
201
202
  readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
202
203
  readonly isClearable?: boolean | undefined;
@@ -247,17 +248,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
247
248
  readonly width?: string | number | undefined;
248
249
  readonly displayAsterisk?: boolean | undefined;
249
250
  readonly noIcon?: boolean | undefined;
250
- readonly customRules?: {
251
- type: string;
252
- options: RuleOptions;
253
- }[] | undefined;
254
- readonly customWarningRules?: {
255
- type: string;
256
- options: RuleOptions;
257
- }[] | undefined;
251
+ readonly customRules?: ValidationRule[] | undefined;
252
+ readonly customWarningRules?: ValidationRule[] | undefined;
253
+ readonly customSuccessRules?: ValidationRule[] | undefined;
258
254
  readonly showSuccessMessages?: boolean | undefined;
255
+ readonly isValidateOnBlur?: boolean | undefined;
256
+ readonly disableErrorHandling?: boolean | undefined;
257
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
259
258
  readonly onClear?: ((...args: any[]) => any) | undefined;
260
- readonly "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
261
259
  readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
262
260
  readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
263
261
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -273,7 +271,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
273
271
  $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
274
272
  $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
275
273
  $host: Element | null;
276
- $emit: ((event: "clear", ...args: any[]) => void) & ((event: "update:model-value", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
274
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
277
275
  $el: any;
278
276
  $options: import('vue').ComponentOptionsBase<Readonly<{
279
277
  modelValue?: string | number | null | undefined;
@@ -281,6 +279,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
281
279
  appendIcon?: import('../Customs/SyTextField/types').IconType;
282
280
  prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
283
281
  appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
282
+ prependTooltip?: string | undefined;
283
+ appendTooltip?: string | undefined;
284
+ tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
284
285
  variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
285
286
  color?: import('../Customs/SyTextField/types').ColorType | undefined;
286
287
  isClearable?: boolean | undefined;
@@ -331,29 +332,34 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
331
332
  width?: string | number | undefined;
332
333
  displayAsterisk?: boolean | undefined;
333
334
  noIcon?: boolean | undefined;
334
- customRules?: {
335
- type: string;
336
- options: RuleOptions;
337
- }[] | undefined;
338
- customWarningRules?: {
339
- type: string;
340
- options: RuleOptions;
341
- }[] | undefined;
335
+ customRules?: ValidationRule[] | undefined;
336
+ customWarningRules?: ValidationRule[] | undefined;
337
+ customSuccessRules?: ValidationRule[] | undefined;
342
338
  showSuccessMessages?: boolean | undefined;
339
+ isValidateOnBlur?: boolean | undefined;
340
+ disableErrorHandling?: boolean | undefined;
343
341
  }> & Readonly<{
342
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
344
343
  onClear?: ((...args: any[]) => any) | undefined;
345
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
346
344
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
347
345
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
348
346
  }>, {
349
- appendInnerIconColor: import('vue').ComputedRef<"error" | "warning" | "success" | "black">;
347
+ validation: {
348
+ errors: import('vue').Ref<string[], string[]>;
349
+ warnings: import('vue').Ref<string[], string[]>;
350
+ successes: import('vue').Ref<string[], string[]>;
351
+ hasError: import('vue').ComputedRef<boolean>;
352
+ hasWarning: import('vue').ComputedRef<boolean>;
353
+ hasSuccess: import('vue').ComputedRef<boolean>;
354
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
355
+ validateOnSubmit: () => Promise<boolean>;
356
+ clearValidation: () => void;
357
+ };
350
358
  validateOnSubmit: () => boolean;
351
- errors: import('vue').Ref<string[], string[]>;
352
- warnings: import('vue').Ref<string[], string[]>;
353
- successes: import('vue').Ref<string[], string[]>;
359
+ checkErrorOnBlur: () => void;
354
360
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
361
+ "update:modelValue": (...args: any[]) => void;
355
362
  clear: (...args: any[]) => void;
356
- "update:model-value": (...args: any[]) => void;
357
363
  "prepend-icon-click": (...args: any[]) => void;
358
364
  "append-icon-click": (...args: any[]) => void;
359
365
  }, string, {
@@ -362,6 +368,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
362
368
  appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
363
369
  prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
364
370
  appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
371
+ prependTooltip: string;
372
+ appendTooltip: string;
373
+ tooltipLocation: "top" | "bottom" | "start" | "end";
365
374
  variantStyle: import('../Customs/SyTextField/types').VariantStyle;
366
375
  color: import('../Customs/SyTextField/types').ColorType;
367
376
  isClearable: boolean;
@@ -410,15 +419,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
410
419
  width: string | number;
411
420
  displayAsterisk: boolean;
412
421
  noIcon: boolean;
413
- customRules: {
414
- type: string;
415
- options: RuleOptions;
416
- }[];
417
- customWarningRules: {
418
- type: string;
419
- options: RuleOptions;
420
- }[];
422
+ customRules: ValidationRule[];
423
+ customWarningRules: ValidationRule[];
424
+ customSuccessRules: ValidationRule[];
421
425
  showSuccessMessages: boolean;
426
+ isValidateOnBlur: boolean;
427
+ disableErrorHandling: boolean;
422
428
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
423
429
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
424
430
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -445,6 +451,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
445
451
  appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
446
452
  prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
447
453
  appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
454
+ prependTooltip: string;
455
+ appendTooltip: string;
456
+ tooltipLocation: "top" | "bottom" | "start" | "end";
448
457
  variantStyle: import('../Customs/SyTextField/types').VariantStyle;
449
458
  color: import('../Customs/SyTextField/types').ColorType;
450
459
  isClearable: boolean;
@@ -493,21 +502,21 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
493
502
  width: string | number;
494
503
  displayAsterisk: boolean;
495
504
  noIcon: boolean;
496
- customRules: {
497
- type: string;
498
- options: RuleOptions;
499
- }[];
500
- customWarningRules: {
501
- type: string;
502
- options: RuleOptions;
503
- }[];
505
+ customRules: ValidationRule[];
506
+ customWarningRules: ValidationRule[];
507
+ customSuccessRules: ValidationRule[];
504
508
  showSuccessMessages: boolean;
509
+ isValidateOnBlur: boolean;
510
+ disableErrorHandling: boolean;
505
511
  }> & Omit<Readonly<{
506
512
  modelValue?: string | number | null | undefined;
507
513
  prependIcon?: import('../Customs/SyTextField/types').IconType;
508
514
  appendIcon?: import('../Customs/SyTextField/types').IconType;
509
515
  prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
510
516
  appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
517
+ prependTooltip?: string | undefined;
518
+ appendTooltip?: string | undefined;
519
+ tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
511
520
  variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
512
521
  color?: import('../Customs/SyTextField/types').ColorType | undefined;
513
522
  isClearable?: boolean | undefined;
@@ -558,26 +567,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
558
567
  width?: string | number | undefined;
559
568
  displayAsterisk?: boolean | undefined;
560
569
  noIcon?: boolean | undefined;
561
- customRules?: {
562
- type: string;
563
- options: RuleOptions;
564
- }[] | undefined;
565
- customWarningRules?: {
566
- type: string;
567
- options: RuleOptions;
568
- }[] | undefined;
570
+ customRules?: ValidationRule[] | undefined;
571
+ customWarningRules?: ValidationRule[] | undefined;
572
+ customSuccessRules?: ValidationRule[] | undefined;
569
573
  showSuccessMessages?: boolean | undefined;
574
+ isValidateOnBlur?: boolean | undefined;
575
+ disableErrorHandling?: boolean | undefined;
570
576
  }> & Readonly<{
577
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
571
578
  onClear?: ((...args: any[]) => any) | undefined;
572
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
573
579
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
574
580
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
575
- }>, "appendInnerIconColor" | "validateOnSubmit" | "errors" | "warnings" | "successes" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "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" | "showSuccessMessages")> & import('vue').ShallowUnwrapRef<{
576
- appendInnerIconColor: import('vue').ComputedRef<"error" | "warning" | "success" | "black">;
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<{
582
+ validation: {
583
+ errors: import('vue').Ref<string[], string[]>;
584
+ warnings: import('vue').Ref<string[], string[]>;
585
+ successes: import('vue').Ref<string[], string[]>;
586
+ hasError: import('vue').ComputedRef<boolean>;
587
+ hasWarning: import('vue').ComputedRef<boolean>;
588
+ hasSuccess: import('vue').ComputedRef<boolean>;
589
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
590
+ validateOnSubmit: () => Promise<boolean>;
591
+ clearValidation: () => void;
592
+ };
577
593
  validateOnSubmit: () => boolean;
578
- errors: import('vue').Ref<string[], string[]>;
579
- warnings: import('vue').Ref<string[], string[]>;
580
- successes: import('vue').Ref<string[], string[]>;
594
+ checkErrorOnBlur: () => void;
581
595
  }> & {} & import('vue').ComponentCustomProperties & {} & {
582
596
  $slots: {
583
597
  prepend?(_: {}): any;
@@ -607,21 +621,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
607
621
  displayIcon?: boolean | undefined;
608
622
  displayAppendIcon?: boolean | undefined;
609
623
  noIcon?: boolean | undefined;
610
- customRules?: {
611
- type: string;
612
- options: RuleOptions;
613
- }[] | undefined;
614
- customWarningRules?: {
615
- type: string;
616
- options: RuleOptions;
617
- }[] | undefined;
624
+ customRules?: ValidationRule[] | undefined;
625
+ customWarningRules?: ValidationRule[] | undefined;
618
626
  displayPrependIcon?: boolean | undefined;
627
+ disableErrorHandling?: boolean | undefined;
628
+ showSuccessMessages?: boolean | undefined;
619
629
  }> & Readonly<{
620
- "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
621
630
  onBlur?: (() => any) | undefined;
622
631
  onFocus?: (() => any) | undefined;
632
+ "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
623
633
  }>, {
624
- validateOnSubmit: () => boolean;
634
+ validateOnSubmit: () => Promise<boolean>;
625
635
  focus: () => void;
626
636
  blur: () => void;
627
637
  }, {}, {}, {}, {
@@ -632,14 +642,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
632
642
  isDisabled: boolean;
633
643
  placeholder: string;
634
644
  noIcon: boolean;
635
- customRules: {
636
- type: string;
637
- options: RuleOptions;
638
- }[];
639
- customWarningRules: {
640
- type: string;
641
- options: RuleOptions;
642
- }[];
645
+ customRules: ValidationRule[];
646
+ customWarningRules: ValidationRule[];
647
+ showSuccessMessages: boolean;
648
+ disableErrorHandling: boolean;
643
649
  format: string;
644
650
  dateFormatReturn: string;
645
651
  isOutlined: boolean;
@@ -655,7 +661,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
655
661
  M: {};
656
662
  Defaults: {};
657
663
  }, Readonly<{
658
- modelValue?: (string | object | string[] | null) | undefined;
664
+ modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
659
665
  placeholder?: string | undefined;
660
666
  format?: string | undefined;
661
667
  dateFormatReturn?: string | undefined;
@@ -668,11 +674,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
668
674
  displayPrependIcon?: boolean | undefined;
669
675
  customRules?: {
670
676
  type: string;
671
- options: RuleOptions;
677
+ options: any;
672
678
  }[] | undefined;
673
679
  customWarningRules?: {
674
680
  type: string;
675
- options: RuleOptions;
681
+ options: any;
676
682
  }[] | undefined;
677
683
  isDisabled?: boolean | undefined;
678
684
  noIcon?: boolean | undefined;
@@ -680,10 +686,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
680
686
  isOutlined?: boolean | undefined;
681
687
  isReadOnly?: boolean | undefined;
682
688
  width?: string | undefined;
689
+ disableErrorHandling?: boolean | undefined;
690
+ showSuccessMessages?: boolean | undefined;
683
691
  }> & Readonly<{
692
+ "onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
684
693
  onBlur?: (() => any) | undefined;
685
694
  onFocus?: (() => any) | undefined;
686
- "onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
687
695
  onClosed?: (() => any) | undefined;
688
696
  }>, {
689
697
  validateOnSubmit: () => any;
@@ -691,10 +699,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
691
699
  selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
692
700
  errorMessages: import('vue').Ref<string[], string[]>;
693
701
  handleClickOutside: (event: MouseEvent) => void;
694
- 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;
695
705
  }, {}, {}, {}, {
696
706
  required: boolean;
697
- modelValue: string | object | string[] | null;
707
+ modelValue: import('../../composables/date/useDateInitialization').DateInput;
698
708
  isReadOnly: boolean;
699
709
  isDisabled: boolean;
700
710
  placeholder: string;
@@ -702,12 +712,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
702
712
  noIcon: boolean;
703
713
  customRules: {
704
714
  type: string;
705
- options: RuleOptions;
715
+ options: any;
706
716
  }[];
707
717
  customWarningRules: {
708
718
  type: string;
709
- options: RuleOptions;
719
+ options: any;
710
720
  }[];
721
+ showSuccessMessages: boolean;
722
+ disableErrorHandling: boolean;
711
723
  format: string;
712
724
  dateFormatReturn: string;
713
725
  isOutlined: boolean;
@@ -720,7 +732,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
720
732
  noCalendar: boolean;
721
733
  }> | null;
722
734
  toDateRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
723
- modelValue?: (string | object | string[] | null) | undefined;
735
+ modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
724
736
  placeholder?: string | undefined;
725
737
  format?: string | undefined;
726
738
  dateFormatReturn?: string | undefined;
@@ -733,11 +745,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
733
745
  displayPrependIcon?: boolean | undefined;
734
746
  customRules?: {
735
747
  type: string;
736
- options: RuleOptions;
748
+ options: any;
737
749
  }[] | undefined;
738
750
  customWarningRules?: {
739
751
  type: string;
740
- options: RuleOptions;
752
+ options: any;
741
753
  }[] | undefined;
742
754
  isDisabled?: boolean | undefined;
743
755
  noIcon?: boolean | undefined;
@@ -745,10 +757,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
745
757
  isOutlined?: boolean | undefined;
746
758
  isReadOnly?: boolean | undefined;
747
759
  width?: string | undefined;
760
+ disableErrorHandling?: boolean | undefined;
761
+ showSuccessMessages?: boolean | undefined;
748
762
  }> & Readonly<{
763
+ "onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
749
764
  onBlur?: (() => any) | undefined;
750
765
  onFocus?: (() => any) | undefined;
751
- "onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
752
766
  onClosed?: (() => any) | undefined;
753
767
  }>, {
754
768
  validateOnSubmit: () => any;
@@ -756,15 +770,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
756
770
  selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
757
771
  errorMessages: import('vue').Ref<string[], string[]>;
758
772
  handleClickOutside: (event: MouseEvent) => void;
759
- 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;
760
776
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
777
+ "update:modelValue": (value: import('../../composables/date/useDateInitialization').DateValue) => any;
761
778
  blur: () => any;
762
779
  focus: () => any;
763
- "update:modelValue": (value: string | [string, string] | null) => any;
764
780
  closed: () => any;
765
781
  }, import('vue').PublicProps, {
766
782
  required: boolean;
767
- modelValue: string | object | string[] | null;
783
+ modelValue: import('../../composables/date/useDateInitialization').DateInput;
768
784
  isReadOnly: boolean;
769
785
  isDisabled: boolean;
770
786
  placeholder: string;
@@ -772,12 +788,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
772
788
  noIcon: boolean;
773
789
  customRules: {
774
790
  type: string;
775
- options: RuleOptions;
791
+ options: any;
776
792
  }[];
777
793
  customWarningRules: {
778
794
  type: string;
779
- options: RuleOptions;
795
+ options: any;
780
796
  }[];
797
+ showSuccessMessages: boolean;
798
+ disableErrorHandling: boolean;
781
799
  format: string;
782
800
  dateFormatReturn: string;
783
801
  isOutlined: boolean;
@@ -802,27 +820,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
802
820
  displayIcon?: boolean | undefined;
803
821
  displayAppendIcon?: boolean | undefined;
804
822
  noIcon?: boolean | undefined;
805
- customRules?: {
806
- type: string;
807
- options: RuleOptions;
808
- }[] | undefined;
809
- customWarningRules?: {
810
- type: string;
811
- options: RuleOptions;
812
- }[] | undefined;
823
+ customRules?: ValidationRule[] | undefined;
824
+ customWarningRules?: ValidationRule[] | undefined;
813
825
  displayPrependIcon?: boolean | undefined;
826
+ disableErrorHandling?: boolean | undefined;
827
+ showSuccessMessages?: boolean | undefined;
814
828
  }> & Readonly<{
815
- "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
816
829
  onBlur?: (() => any) | undefined;
817
830
  onFocus?: (() => any) | undefined;
831
+ "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
818
832
  }>, {
819
- validateOnSubmit: () => boolean;
833
+ validateOnSubmit: () => Promise<boolean>;
820
834
  focus: () => void;
821
835
  blur: () => void;
822
836
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
823
- "update:model-value": (value: string | null) => any;
824
837
  blur: () => any;
825
838
  focus: () => any;
839
+ "update:model-value": (value: string | null) => any;
826
840
  }, import('vue').PublicProps, {
827
841
  required: boolean;
828
842
  modelValue: string | null;
@@ -831,14 +845,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
831
845
  isDisabled: boolean;
832
846
  placeholder: string;
833
847
  noIcon: boolean;
834
- customRules: {
835
- type: string;
836
- options: RuleOptions;
837
- }[];
838
- customWarningRules: {
839
- type: string;
840
- options: RuleOptions;
841
- }[];
848
+ customRules: ValidationRule[];
849
+ customWarningRules: ValidationRule[];
850
+ showSuccessMessages: boolean;
851
+ disableErrorHandling: boolean;
842
852
  format: string;
843
853
  dateFormatReturn: string;
844
854
  isOutlined: boolean;
@@ -855,6 +865,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
855
865
  readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
856
866
  readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
857
867
  readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
868
+ readonly prependTooltip?: string | undefined;
869
+ readonly appendTooltip?: string | undefined;
870
+ readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
858
871
  readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
859
872
  readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
860
873
  readonly isClearable?: boolean | undefined;
@@ -905,17 +918,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
905
918
  readonly width?: string | number | undefined;
906
919
  readonly displayAsterisk?: boolean | undefined;
907
920
  readonly noIcon?: boolean | undefined;
908
- readonly customRules?: {
909
- type: string;
910
- options: RuleOptions;
911
- }[] | undefined;
912
- readonly customWarningRules?: {
913
- type: string;
914
- options: RuleOptions;
915
- }[] | undefined;
921
+ readonly customRules?: ValidationRule[] | undefined;
922
+ readonly customWarningRules?: ValidationRule[] | undefined;
923
+ readonly customSuccessRules?: ValidationRule[] | undefined;
916
924
  readonly showSuccessMessages?: boolean | undefined;
925
+ readonly isValidateOnBlur?: boolean | undefined;
926
+ readonly disableErrorHandling?: boolean | undefined;
927
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
917
928
  readonly onClear?: ((...args: any[]) => any) | undefined;
918
- readonly "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
919
929
  readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
920
930
  readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
921
931
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -931,7 +941,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
931
941
  $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
932
942
  $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
933
943
  $host: Element | null;
934
- $emit: ((event: "clear", ...args: any[]) => void) & ((event: "update:model-value", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
944
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
935
945
  $el: any;
936
946
  $options: import('vue').ComponentOptionsBase<Readonly<{
937
947
  modelValue?: string | number | null | undefined;
@@ -939,6 +949,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
939
949
  appendIcon?: import('../Customs/SyTextField/types').IconType;
940
950
  prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
941
951
  appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
952
+ prependTooltip?: string | undefined;
953
+ appendTooltip?: string | undefined;
954
+ tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
942
955
  variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
943
956
  color?: import('../Customs/SyTextField/types').ColorType | undefined;
944
957
  isClearable?: boolean | undefined;
@@ -989,29 +1002,34 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
989
1002
  width?: string | number | undefined;
990
1003
  displayAsterisk?: boolean | undefined;
991
1004
  noIcon?: boolean | undefined;
992
- customRules?: {
993
- type: string;
994
- options: RuleOptions;
995
- }[] | undefined;
996
- customWarningRules?: {
997
- type: string;
998
- options: RuleOptions;
999
- }[] | undefined;
1005
+ customRules?: ValidationRule[] | undefined;
1006
+ customWarningRules?: ValidationRule[] | undefined;
1007
+ customSuccessRules?: ValidationRule[] | undefined;
1000
1008
  showSuccessMessages?: boolean | undefined;
1009
+ isValidateOnBlur?: boolean | undefined;
1010
+ disableErrorHandling?: boolean | undefined;
1001
1011
  }> & Readonly<{
1012
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1002
1013
  onClear?: ((...args: any[]) => any) | undefined;
1003
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
1004
1014
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1005
1015
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1006
1016
  }>, {
1007
- appendInnerIconColor: import('vue').ComputedRef<"error" | "warning" | "success" | "black">;
1017
+ validation: {
1018
+ errors: import('vue').Ref<string[], string[]>;
1019
+ warnings: import('vue').Ref<string[], string[]>;
1020
+ successes: import('vue').Ref<string[], string[]>;
1021
+ hasError: import('vue').ComputedRef<boolean>;
1022
+ hasWarning: import('vue').ComputedRef<boolean>;
1023
+ hasSuccess: import('vue').ComputedRef<boolean>;
1024
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
1025
+ validateOnSubmit: () => Promise<boolean>;
1026
+ clearValidation: () => void;
1027
+ };
1008
1028
  validateOnSubmit: () => boolean;
1009
- errors: import('vue').Ref<string[], string[]>;
1010
- warnings: import('vue').Ref<string[], string[]>;
1011
- successes: import('vue').Ref<string[], string[]>;
1029
+ checkErrorOnBlur: () => void;
1012
1030
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1031
+ "update:modelValue": (...args: any[]) => void;
1013
1032
  clear: (...args: any[]) => void;
1014
- "update:model-value": (...args: any[]) => void;
1015
1033
  "prepend-icon-click": (...args: any[]) => void;
1016
1034
  "append-icon-click": (...args: any[]) => void;
1017
1035
  }, string, {
@@ -1020,6 +1038,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1020
1038
  appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
1021
1039
  prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
1022
1040
  appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
1041
+ prependTooltip: string;
1042
+ appendTooltip: string;
1043
+ tooltipLocation: "top" | "bottom" | "start" | "end";
1023
1044
  variantStyle: import('../Customs/SyTextField/types').VariantStyle;
1024
1045
  color: import('../Customs/SyTextField/types').ColorType;
1025
1046
  isClearable: boolean;
@@ -1068,15 +1089,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1068
1089
  width: string | number;
1069
1090
  displayAsterisk: boolean;
1070
1091
  noIcon: boolean;
1071
- customRules: {
1072
- type: string;
1073
- options: RuleOptions;
1074
- }[];
1075
- customWarningRules: {
1076
- type: string;
1077
- options: RuleOptions;
1078
- }[];
1092
+ customRules: ValidationRule[];
1093
+ customWarningRules: ValidationRule[];
1094
+ customSuccessRules: ValidationRule[];
1079
1095
  showSuccessMessages: boolean;
1096
+ isValidateOnBlur: boolean;
1097
+ disableErrorHandling: boolean;
1080
1098
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1081
1099
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1082
1100
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -1103,6 +1121,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1103
1121
  appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
1104
1122
  prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
1105
1123
  appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
1124
+ prependTooltip: string;
1125
+ appendTooltip: string;
1126
+ tooltipLocation: "top" | "bottom" | "start" | "end";
1106
1127
  variantStyle: import('../Customs/SyTextField/types').VariantStyle;
1107
1128
  color: import('../Customs/SyTextField/types').ColorType;
1108
1129
  isClearable: boolean;
@@ -1151,21 +1172,21 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1151
1172
  width: string | number;
1152
1173
  displayAsterisk: boolean;
1153
1174
  noIcon: boolean;
1154
- customRules: {
1155
- type: string;
1156
- options: RuleOptions;
1157
- }[];
1158
- customWarningRules: {
1159
- type: string;
1160
- options: RuleOptions;
1161
- }[];
1175
+ customRules: ValidationRule[];
1176
+ customWarningRules: ValidationRule[];
1177
+ customSuccessRules: ValidationRule[];
1162
1178
  showSuccessMessages: boolean;
1179
+ isValidateOnBlur: boolean;
1180
+ disableErrorHandling: boolean;
1163
1181
  }> & Omit<Readonly<{
1164
1182
  modelValue?: string | number | null | undefined;
1165
1183
  prependIcon?: import('../Customs/SyTextField/types').IconType;
1166
1184
  appendIcon?: import('../Customs/SyTextField/types').IconType;
1167
1185
  prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
1168
1186
  appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
1187
+ prependTooltip?: string | undefined;
1188
+ appendTooltip?: string | undefined;
1189
+ tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
1169
1190
  variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
1170
1191
  color?: import('../Customs/SyTextField/types').ColorType | undefined;
1171
1192
  isClearable?: boolean | undefined;
@@ -1216,26 +1237,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1216
1237
  width?: string | number | undefined;
1217
1238
  displayAsterisk?: boolean | undefined;
1218
1239
  noIcon?: boolean | undefined;
1219
- customRules?: {
1220
- type: string;
1221
- options: RuleOptions;
1222
- }[] | undefined;
1223
- customWarningRules?: {
1224
- type: string;
1225
- options: RuleOptions;
1226
- }[] | undefined;
1240
+ customRules?: ValidationRule[] | undefined;
1241
+ customWarningRules?: ValidationRule[] | undefined;
1242
+ customSuccessRules?: ValidationRule[] | undefined;
1227
1243
  showSuccessMessages?: boolean | undefined;
1244
+ isValidateOnBlur?: boolean | undefined;
1245
+ disableErrorHandling?: boolean | undefined;
1228
1246
  }> & Readonly<{
1247
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1229
1248
  onClear?: ((...args: any[]) => any) | undefined;
1230
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
1231
1249
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1232
1250
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1233
- }>, "appendInnerIconColor" | "validateOnSubmit" | "errors" | "warnings" | "successes" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "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" | "showSuccessMessages")> & import('vue').ShallowUnwrapRef<{
1234
- appendInnerIconColor: import('vue').ComputedRef<"error" | "warning" | "success" | "black">;
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<{
1252
+ validation: {
1253
+ errors: import('vue').Ref<string[], string[]>;
1254
+ warnings: import('vue').Ref<string[], string[]>;
1255
+ successes: import('vue').Ref<string[], string[]>;
1256
+ hasError: import('vue').ComputedRef<boolean>;
1257
+ hasWarning: import('vue').ComputedRef<boolean>;
1258
+ hasSuccess: import('vue').ComputedRef<boolean>;
1259
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
1260
+ validateOnSubmit: () => Promise<boolean>;
1261
+ clearValidation: () => void;
1262
+ };
1235
1263
  validateOnSubmit: () => boolean;
1236
- errors: import('vue').Ref<string[], string[]>;
1237
- warnings: import('vue').Ref<string[], string[]>;
1238
- successes: import('vue').Ref<string[], string[]>;
1264
+ checkErrorOnBlur: () => void;
1239
1265
  }> & {} & import('vue').ComponentCustomProperties & {} & {
1240
1266
  $slots: {
1241
1267
  prepend?(_: {}): any;
@@ -1265,21 +1291,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1265
1291
  displayIcon?: boolean | undefined;
1266
1292
  displayAppendIcon?: boolean | undefined;
1267
1293
  noIcon?: boolean | undefined;
1268
- customRules?: {
1269
- type: string;
1270
- options: RuleOptions;
1271
- }[] | undefined;
1272
- customWarningRules?: {
1273
- type: string;
1274
- options: RuleOptions;
1275
- }[] | undefined;
1294
+ customRules?: ValidationRule[] | undefined;
1295
+ customWarningRules?: ValidationRule[] | undefined;
1276
1296
  displayPrependIcon?: boolean | undefined;
1297
+ disableErrorHandling?: boolean | undefined;
1298
+ showSuccessMessages?: boolean | undefined;
1277
1299
  }> & Readonly<{
1278
- "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
1279
1300
  onBlur?: (() => any) | undefined;
1280
1301
  onFocus?: (() => any) | undefined;
1302
+ "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
1281
1303
  }>, {
1282
- validateOnSubmit: () => boolean;
1304
+ validateOnSubmit: () => Promise<boolean>;
1283
1305
  focus: () => void;
1284
1306
  blur: () => void;
1285
1307
  }, {}, {}, {}, {
@@ -1290,14 +1312,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1290
1312
  isDisabled: boolean;
1291
1313
  placeholder: string;
1292
1314
  noIcon: boolean;
1293
- customRules: {
1294
- type: string;
1295
- options: RuleOptions;
1296
- }[];
1297
- customWarningRules: {
1298
- type: string;
1299
- options: RuleOptions;
1300
- }[];
1315
+ customRules: ValidationRule[];
1316
+ customWarningRules: ValidationRule[];
1317
+ showSuccessMessages: boolean;
1318
+ disableErrorHandling: boolean;
1301
1319
  format: string;
1302
1320
  dateFormatReturn: string;
1303
1321
  isOutlined: boolean;
@@ -1313,7 +1331,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1313
1331
  M: {};
1314
1332
  Defaults: {};
1315
1333
  }, Readonly<{
1316
- modelValue?: (string | object | string[] | null) | undefined;
1334
+ modelValue?: import('../../composables/date/useDateInitialization').DateInput | undefined;
1317
1335
  placeholder?: string | undefined;
1318
1336
  format?: string | undefined;
1319
1337
  dateFormatReturn?: string | undefined;
@@ -1326,11 +1344,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1326
1344
  displayPrependIcon?: boolean | undefined;
1327
1345
  customRules?: {
1328
1346
  type: string;
1329
- options: RuleOptions;
1347
+ options: any;
1330
1348
  }[] | undefined;
1331
1349
  customWarningRules?: {
1332
1350
  type: string;
1333
- options: RuleOptions;
1351
+ options: any;
1334
1352
  }[] | undefined;
1335
1353
  isDisabled?: boolean | undefined;
1336
1354
  noIcon?: boolean | undefined;
@@ -1338,10 +1356,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1338
1356
  isOutlined?: boolean | undefined;
1339
1357
  isReadOnly?: boolean | undefined;
1340
1358
  width?: string | undefined;
1359
+ disableErrorHandling?: boolean | undefined;
1360
+ showSuccessMessages?: boolean | undefined;
1341
1361
  }> & Readonly<{
1362
+ "onUpdate:modelValue"?: ((value: import('../../composables/date/useDateInitialization').DateValue) => any) | undefined;
1342
1363
  onBlur?: (() => any) | undefined;
1343
1364
  onFocus?: (() => any) | undefined;
1344
- "onUpdate:modelValue"?: ((value: string | [string, string] | null) => any) | undefined;
1345
1365
  onClosed?: (() => any) | undefined;
1346
1366
  }>, {
1347
1367
  validateOnSubmit: () => any;
@@ -1349,10 +1369,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1349
1369
  selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
1350
1370
  errorMessages: import('vue').Ref<string[], string[]>;
1351
1371
  handleClickOutside: (event: MouseEvent) => void;
1352
- 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;
1353
1375
  }, {}, {}, {}, {
1354
1376
  required: boolean;
1355
- modelValue: string | object | string[] | null;
1377
+ modelValue: import('../../composables/date/useDateInitialization').DateInput;
1356
1378
  isReadOnly: boolean;
1357
1379
  isDisabled: boolean;
1358
1380
  placeholder: string;
@@ -1360,12 +1382,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1360
1382
  noIcon: boolean;
1361
1383
  customRules: {
1362
1384
  type: string;
1363
- options: RuleOptions;
1385
+ options: any;
1364
1386
  }[];
1365
1387
  customWarningRules: {
1366
1388
  type: string;
1367
- options: RuleOptions;
1389
+ options: any;
1368
1390
  }[];
1391
+ showSuccessMessages: boolean;
1392
+ disableErrorHandling: boolean;
1369
1393
  format: string;
1370
1394
  dateFormatReturn: string;
1371
1395
  isOutlined: boolean;