@cnamts/synapse 1.0.23 → 1.0.24

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 (292) hide show
  1. package/dist/AutocompleteFilter-BWLR3U7W.js +114 -0
  2. package/dist/AutocompleteFilter-D9jzRzAL.cjs +1 -0
  3. package/dist/{DateFilter-Dc-gSGwk.js → DateFilter-BpwFexzi.js} +1 -1
  4. package/dist/DateFilter-DTUl8hb1.cjs +1 -0
  5. package/dist/{NumberFilter-vP38Wp6j.js → NumberFilter-Bz_NTdX9.js} +3 -3
  6. package/dist/NumberFilter-MAEojdk0.cjs +1 -0
  7. package/dist/PeriodFilter-CC4WgIhl.cjs +1 -0
  8. package/dist/{PeriodFilter-Ba1uYUnT.js → PeriodFilter-DX_wy9g-.js} +1 -1
  9. package/dist/SelectFilter-BR3fvl-a.cjs +1 -0
  10. package/dist/SelectFilter-xqiPtPgX.js +135 -0
  11. package/dist/{TextFilter-B84dpnoq.js → TextFilter-BBl3JFqK.js} +7 -7
  12. package/dist/TextFilter-CCfYFl5F.cjs +1 -0
  13. package/dist/apLightTheme-CFSRrjv2.cjs +1 -0
  14. package/dist/apLightTheme-D1P4jcD0.js +1231 -0
  15. package/dist/components/Amelipro/AmeliproAutoCompleteField/AmeliproAutoCompleteField.d.ts +7022 -9616
  16. package/dist/components/Amelipro/AmeliproCarousel/AmeliproCarousel.d.ts +2 -2
  17. package/dist/components/Amelipro/AmeliproIconBtn/AmeliproIconBtn.d.ts +2 -2
  18. package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressCityRow/AmeliproPostalAddressCityRow.d.ts +40 -40
  19. package/dist/components/Amelipro/AmeliproPostalAddressField/AmeliproPostalAddressField.d.ts +60 -60
  20. package/dist/components/Amelipro/AmeliproSelect/AmeliproSelect.d.ts +7168 -9762
  21. package/dist/components/Amelipro/AmeliproStepper/AmeliproStepper.d.ts +2 -2
  22. package/dist/components/Amelipro/AmeliproTabs/AmeliproTabs.d.ts +7501 -10095
  23. package/dist/components/Amelipro/AmeliproTextArea/AmeliproTextArea.d.ts +21 -21
  24. package/dist/components/Amelipro/AmeliproTextField/AmeliproTextField.d.ts +41 -41
  25. package/dist/components/Amelipro/StructureMenu/StructureTabs/StructureTabs.d.ts +2 -2
  26. package/dist/components/CookiesSelection/CookiesInformation/CookiesInformation.d.ts +20 -498
  27. package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +108 -146
  28. package/dist/components/Customs/Selects/SyInputSelect/SyInputSelect.d.ts +5 -5
  29. package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +12 -16
  30. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +8 -8
  31. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +28 -506
  32. package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +28 -506
  33. package/dist/components/Customs/SyTextField/SyTextField.d.ts +65 -85
  34. package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +627 -771
  35. package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +315 -402
  36. package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +112 -155
  37. package/dist/components/DatePicker/composables/index.d.ts +1 -0
  38. package/dist/components/DatePicker/composables/useDatePickerFocusTrap.d.ts +11 -0
  39. package/dist/components/DatePicker/composables/useDateTextField.d.ts +4 -4
  40. package/dist/components/DatePicker/composables/useDateValidation.d.ts +3 -3
  41. package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
  42. package/dist/components/DatePicker/composables/useManualDateValidation.d.ts +2 -2
  43. package/dist/components/HeaderNavigationBar/HeaderNavigationBar.d.ts +4 -4
  44. package/dist/components/HeaderToolbar/HeaderToolbar.d.ts +20 -28
  45. package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +3 -3
  46. package/dist/components/MonthPicker/MonthPicker.d.ts +86 -122
  47. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +85 -121
  48. package/dist/components/NirField/NirField.d.ts +206 -270
  49. package/dist/components/NirField/locales.d.ts +10 -10
  50. package/dist/components/NirField/useNirValidation.d.ts +64 -0
  51. package/dist/components/PasswordField/PasswordField.d.ts +8 -9
  52. package/dist/components/PeriodField/PeriodField.d.ts +1352 -1640
  53. package/dist/components/PhoneField/PhoneField.d.ts +88 -124
  54. package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +12 -12
  55. package/dist/components/SyTextArea/SyTextArea.d.ts +34 -14
  56. package/dist/components/SyTextArea/useDefaultValidationRules.d.ts +11 -0
  57. package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +9 -6
  58. package/dist/components/Tables/SyTable/SyTable.d.ts +9 -6
  59. package/dist/components/Tables/common/SyTableFilter.d.ts +2 -3
  60. package/dist/components/Tables/common/SyTablePagination.d.ts +17 -19
  61. package/dist/components/Tables/common/filters/AutocompleteFilter.d.ts +120 -0
  62. package/dist/components/Tables/common/filters/locales.d.ts +0 -1
  63. package/dist/components/Tables/common/types.d.ts +19 -3
  64. package/dist/components/Tables/common/useClickableTableRow.d.ts +17 -0
  65. package/dist/components/Tables/common/usePagination.d.ts +3 -1
  66. package/dist/components/Tables/common/usePinnedColumns.d.ts +31 -0
  67. package/dist/components/Tables/common/useTableHeaders.d.ts +2 -0
  68. package/dist/components/Tables/common/useTableRowCheckboxAccessibility.d.ts +5 -0
  69. package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +6 -6
  70. package/dist/composables/date/useDatePickerAccessibility.d.ts +1 -1
  71. package/dist/composables/rules/useFieldValidation.d.ts +4 -4
  72. package/dist/composables/unifyValidation/useCustomValidation.d.ts +8 -0
  73. package/dist/composables/unifyValidation/useValidation.d.ts +102 -0
  74. package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +18 -0
  75. package/dist/composables/useFormFieldErrorHandling.d.ts +2 -2
  76. package/dist/composables/validation/useFormValidation.d.ts +11 -2
  77. package/dist/composables/validation/useValidation.d.ts +15 -9
  78. package/dist/design-system-v3.d.ts +2 -0
  79. package/dist/design-system-v3.js +186 -187
  80. package/dist/design-system-v3.umd.cjs +1 -1066
  81. package/dist/{main-aLKwdMi1.js → main-BtTqyn4z.js} +16434 -15672
  82. package/dist/main-C1e3eoxd.cjs +1067 -0
  83. package/dist/main.d.ts +0 -1
  84. package/dist/synapse.css +1 -0
  85. package/dist/tooth-11-D3sLWv2n.cjs +1 -0
  86. package/dist/tooth-12-CXrLuH03.cjs +1 -0
  87. package/dist/tooth-13-BSfo5fpT.cjs +1 -0
  88. package/dist/tooth-14-DMzulx0h.cjs +1 -0
  89. package/dist/tooth-15-BKRFVi-9.cjs +1 -0
  90. package/dist/tooth-16-CpuxAbuM.cjs +1 -0
  91. package/dist/tooth-17-BPoahUdg.cjs +1 -0
  92. package/dist/tooth-18-DhHJz8sy.cjs +1 -0
  93. package/dist/tooth-21-Dgd5hn_X.cjs +1 -0
  94. package/dist/tooth-22-C2Tn19sB.cjs +1 -0
  95. package/dist/tooth-23-C9uaaSGb.cjs +1 -0
  96. package/dist/tooth-24-BrK9UGpf.cjs +1 -0
  97. package/dist/tooth-25-CE_EfGNp.cjs +1 -0
  98. package/dist/tooth-26-Ctv4i9Fy.cjs +1 -0
  99. package/dist/tooth-27-C5J7JkWM.cjs +1 -0
  100. package/dist/tooth-28-Z9oWqjo0.cjs +1 -0
  101. package/dist/tooth-31-BrYqmkTi.cjs +1 -0
  102. package/dist/tooth-32-BNNR0oCZ.cjs +1 -0
  103. package/dist/tooth-33-DuxvqO2J.cjs +1 -0
  104. package/dist/tooth-34-BCSCXMB6.cjs +1 -0
  105. package/dist/tooth-35-BLUXkX88.cjs +1 -0
  106. package/dist/tooth-36-IrKHYqlA.cjs +1 -0
  107. package/dist/tooth-37-BYqpdMwo.cjs +1 -0
  108. package/dist/tooth-38-B_eNXXdu.cjs +1 -0
  109. package/dist/tooth-41-Ddva4Ot8.cjs +1 -0
  110. package/dist/tooth-42-szcDqlM0.cjs +1 -0
  111. package/dist/tooth-43-B3ka6rQm.cjs +1 -0
  112. package/dist/tooth-44-CazyQucj.cjs +1 -0
  113. package/dist/tooth-45-B4HQtc8n.cjs +1 -0
  114. package/dist/tooth-46-BPM40gbG.cjs +1 -0
  115. package/dist/tooth-47-Dvr20dlh.cjs +1 -0
  116. package/dist/tooth-48-Bd8ljGsF.cjs +1 -0
  117. package/dist/tooth-51-OBpwCOF3.cjs +1 -0
  118. package/dist/tooth-52-aKxyHcmq.cjs +1 -0
  119. package/dist/tooth-53-vCwJjTOc.cjs +1 -0
  120. package/dist/tooth-54-DsWu2iFy.cjs +1 -0
  121. package/dist/tooth-55-BxC1X2Dn.cjs +1 -0
  122. package/dist/tooth-61-BbLvxMQi.cjs +1 -0
  123. package/dist/tooth-62-CmTkWczP.cjs +1 -0
  124. package/dist/tooth-63-DI7l_2qI.cjs +1 -0
  125. package/dist/tooth-64-B21sOsJh.cjs +1 -0
  126. package/dist/tooth-65-D2ZC2VEr.cjs +1 -0
  127. package/dist/tooth-71-D473PPO5.cjs +1 -0
  128. package/dist/tooth-72-Drh1wnNu.cjs +1 -0
  129. package/dist/tooth-73-DzlwYI23.cjs +1 -0
  130. package/dist/tooth-74-8aGvcZPg.cjs +1 -0
  131. package/dist/tooth-75-BFK7At_r.cjs +1 -0
  132. package/dist/tooth-81-BZmR-I0M.cjs +1 -0
  133. package/dist/tooth-82-euVfUUZV.cjs +1 -0
  134. package/dist/tooth-83-KV010j64.cjs +1 -0
  135. package/dist/tooth-84-BBg1RjhZ.cjs +1 -0
  136. package/dist/tooth-85-Cr-kc1wM.cjs +1 -0
  137. package/dist/vuetifyConfig.js +561 -0
  138. package/dist/vuetifyConfig.umd.cjs +1 -0
  139. package/package.json +10 -4
  140. package/src/assets/overrides/_btns.scss +0 -6
  141. package/src/assets/overrides/_icons.scss +9 -1
  142. package/src/assets/overrides/_typography.scss +0 -10
  143. package/src/components/Amelipro/AmeliproAutoCompleteField/__tests__/__snapshots__/AmeliproAutoCompleteField.spec.ts.snap +2 -2
  144. package/src/components/Amelipro/AmeliproHeader/AmeliproHeaderBar/AmeliproHeaderBrandSection/__tests__/__snapshots__/AmeliproHeaderBrandSection.spec.ts.snap +1 -1
  145. package/src/components/Amelipro/AmeliproTextArea/__tests__/__snapshots__/AmeliproTextArea.spec.ts.snap +2 -2
  146. package/src/components/Captcha/accessibilite/Accessibility.mdx +86 -8
  147. package/src/components/Captcha/tests/__snapshots__/Captcha.spec.ts.snap +12 -12
  148. package/src/components/ChipList/ChipList.stories.ts +0 -15
  149. package/src/components/ChipList/ChipList.vue +5 -1
  150. package/src/components/ChipList/accessibilite/Accessibility.mdx +83 -10
  151. package/src/components/ChipList/tests/ChipList.a11y.spec.ts +41 -0
  152. package/src/components/Customs/Selects/SelectBtnField/accessibilite/Accessibility.mdx +0 -9
  153. package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +22 -5
  154. package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +143 -0
  155. package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +14 -10
  156. package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.stories.ts +4 -4
  157. package/src/components/Customs/Selects/SyInputSelect/SyInputSelect.vue +8 -9
  158. package/src/components/Customs/Selects/SyInputSelect/tests/SyInputSelect.spec.ts +10 -10
  159. package/src/components/Customs/Selects/SySelect/SySelect.vue +14 -11
  160. package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +54 -0
  161. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +6 -9
  162. package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +10 -16
  163. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +16 -11
  164. package/src/components/Customs/SyCheckbox/accessibilite/Accessibility.mdx +35 -0
  165. package/src/components/Customs/SyCheckbox/tests/SyCheckbox.a11y.spec.ts +134 -2
  166. package/src/components/Customs/SyForm/SyForm.stories.ts +31 -5
  167. package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +4 -7
  168. package/src/components/Customs/SyTextField/SyTextField.mdx +1 -1
  169. package/src/components/Customs/SyTextField/SyTextField.stories.ts +29 -27
  170. package/src/components/Customs/SyTextField/SyTextField.vue +154 -157
  171. package/src/components/Customs/SyTextField/tests/SyTextField.a11y.spec.ts +32 -0
  172. package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +120 -11
  173. package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +62 -58
  174. package/src/components/DatePicker/CalendarMode/DatePicker.vue +330 -223
  175. package/src/components/DatePicker/CalendarMode/accessibilite/Accessibility.mdx +82 -0
  176. package/src/components/DatePicker/CalendarMode/tests/DatePicker.a11y.spec.ts +141 -0
  177. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +2 -56
  178. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +195 -159
  179. package/src/components/DatePicker/ComplexDatePicker/accessibilite/Accessibility.mdx +76 -0
  180. package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +10 -10
  181. package/src/components/DatePicker/DatePickerValidationExample/CalendarMode.stories.ts +8 -8
  182. package/src/components/DatePicker/DatePickerValidationExample/ComplexDatePicker.stories.ts +106 -8
  183. package/src/components/DatePicker/DatePickerValidationExample/DateTextInput.stories.ts +12 -11
  184. package/src/components/DatePicker/DatePickerValidationExample/MultiMode.stories.ts +12 -12
  185. package/src/components/DatePicker/DateTextInput/DateRange.stories.ts +0 -12
  186. package/src/components/DatePicker/DateTextInput/DateTextInput.vue +63 -57
  187. package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +3 -0
  188. package/src/components/DatePicker/DateTextInput/accessibilite/Accessibility.mdx +66 -0
  189. package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +52 -1
  190. package/src/components/DatePicker/composables/index.ts +1 -0
  191. package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +109 -65
  192. package/src/components/DatePicker/composables/tests/useDatePickerFocusTrap.spec.ts +138 -0
  193. package/src/components/DatePicker/composables/tests/useDateValidation.spec.ts +74 -18
  194. package/src/components/DatePicker/composables/tests/useInputBlurHandler.spec.ts +39 -0
  195. package/src/components/DatePicker/composables/tests/useManualDateValidation.spec.ts +91 -0
  196. package/src/components/DatePicker/composables/useCalendarKeyboardNavigation.ts +442 -36
  197. package/src/components/DatePicker/composables/useDatePickerFocusTrap.ts +92 -0
  198. package/src/components/DatePicker/composables/useDateTextField.ts +7 -6
  199. package/src/components/DatePicker/composables/useDateValidation.ts +36 -35
  200. package/src/components/DatePicker/composables/useInputBlurHandler.ts +3 -3
  201. package/src/components/DatePicker/composables/useManualDateValidation.ts +6 -2
  202. package/src/components/DiacriticPicker/accessibilite/Accessibility.mdx +76 -8
  203. package/src/components/HeaderBar/HeaderBar.stories.ts +14 -2
  204. package/src/components/Logo/accessibilite/Accessibility.mdx +73 -11
  205. package/src/components/LogoBrandSection/accessibilite/Accessibility.mdx +85 -9
  206. package/src/components/LunarCalendar/tests/LunarCalendar.spec.ts +3 -1
  207. package/src/components/LunarCalendar/useLunarCalendarValidation.ts +4 -5
  208. package/src/components/MonthPicker/tests/MonthPicker.spec.ts +2 -1
  209. package/src/components/MonthPicker/tests/__snapshots__/MonthPicker.spec.ts.snap +7 -7
  210. package/src/components/NirField/NirField.stories.ts +4 -0
  211. package/src/components/NirField/NirField.vue +64 -260
  212. package/src/components/NirField/accessibilite/Accessibility.mdx +2 -2
  213. package/src/components/NirField/locales.ts +1 -1
  214. package/src/components/NirField/tests/NirField.spec.ts +6 -0
  215. package/src/components/NirField/useNirValidation.ts +271 -0
  216. package/src/components/PasswordField/PasswordField.stories.ts +4 -4
  217. package/src/components/PasswordField/PasswordField.vue +18 -24
  218. package/src/components/PasswordField/tests/PasswordField.spec.ts +6 -3
  219. package/src/components/PeriodField/PeriodField.stories.ts +4 -4
  220. package/src/components/PeriodField/PeriodField.vue +57 -57
  221. package/src/components/PeriodField/__tests__/PeriodField.async.spec.ts +32 -0
  222. package/src/components/PeriodField/accessibilite/Accessibility.mdx +68 -8
  223. package/src/components/PeriodField/tests/PeriodField.spec.ts +28 -2
  224. package/src/components/PhoneField/PhoneField.vue +5 -6
  225. package/src/components/PhoneField/tests/PhoneField.spec.ts +1 -0
  226. package/src/components/RangeField/RangeField.vue +6 -0
  227. package/src/components/SyTextArea/SyTextArea.stories.ts +138 -2
  228. package/src/components/SyTextArea/SyTextArea.vue +53 -23
  229. package/src/components/SyTextArea/tests/SyTextArea.spec.ts +126 -3
  230. package/src/components/SyTextArea/useDefaultValidationRules.ts +74 -0
  231. package/src/components/Tables/SyServerTable/SyServerTable.mdx +25 -0
  232. package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +673 -1
  233. package/src/components/Tables/SyServerTable/SyServerTable.vue +148 -91
  234. package/src/components/Tables/SyServerTable/tests/SyServerTable.a11y.spec.ts +58 -0
  235. package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +122 -0
  236. package/src/components/Tables/SyTable/SyTable.mdx +25 -0
  237. package/src/components/Tables/SyTable/SyTable.stories.ts +452 -1
  238. package/src/components/Tables/SyTable/SyTable.vue +130 -56
  239. package/src/components/Tables/SyTable/tests/SyTable.a11y.spec.ts +57 -0
  240. package/src/components/Tables/SyTable/tests/SyTable.spec.ts +108 -0
  241. package/src/components/Tables/common/SyTableFilter.vue +22 -2
  242. package/src/components/Tables/common/TableHeader.vue +5 -1
  243. package/src/components/Tables/common/filters/AutocompleteFilter.vue +160 -0
  244. package/src/components/Tables/common/filters/NumberFilter.vue +1 -1
  245. package/src/components/Tables/common/filters/SelectFilter.vue +10 -11
  246. package/src/components/Tables/common/filters/TextFilter.vue +1 -1
  247. package/src/components/Tables/common/filters/getFilterComponent.ts +8 -1
  248. package/src/components/Tables/common/filters/locales.ts +0 -1
  249. package/src/components/Tables/common/filters/tests/AutocompleteFilter.a11y.spec.ts +110 -0
  250. package/src/components/Tables/common/filters/tests/AutocompleteFilter.spec.ts +203 -0
  251. package/src/components/Tables/common/filters/tests/SelectFilter.a11y.spec.ts +104 -0
  252. package/src/components/Tables/common/filters/tests/SelectFilter.spec.ts +152 -16
  253. package/src/components/Tables/common/tableFilterUtils.ts +3 -0
  254. package/src/components/Tables/common/tableStyles.scss +48 -4
  255. package/src/components/Tables/common/tests/filterByRange.spec.ts +2 -1
  256. package/src/components/Tables/common/types.ts +13 -4
  257. package/src/components/Tables/common/useClickableTableRow.ts +103 -0
  258. package/src/components/Tables/common/usePagination.ts +13 -0
  259. package/src/components/Tables/common/usePinnedColumns.ts +237 -0
  260. package/src/components/Tables/common/useTableHeaders.ts +3 -3
  261. package/src/components/Tables/common/useTableRowCheckboxAccessibility.ts +41 -0
  262. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +2 -6
  263. package/src/composables/date/useDatePickerAccessibility.ts +42 -207
  264. package/src/composables/rules/tests/useFieldValidation.spec.ts +120 -120
  265. package/src/composables/rules/useFieldValidation.ts +34 -17
  266. package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +601 -0
  267. package/src/composables/unifyValidation/tests/useValidation.spec.ts +2048 -0
  268. package/src/composables/unifyValidation/tests/useVuetifyValidation.spec.ts +184 -0
  269. package/src/composables/unifyValidation/useCustomValidation.ts +95 -0
  270. package/src/composables/unifyValidation/useValidation.ts +190 -0
  271. package/src/composables/unifyValidation/useVuetifyValidation.ts +54 -0
  272. package/src/composables/useFormFieldErrorHandling.ts +4 -7
  273. package/src/composables/validation/tests/useFormValidation.spec.ts +14 -0
  274. package/src/composables/validation/tests/useValidation.spec.ts +116 -21
  275. package/src/composables/validation/useFormValidation.ts +20 -13
  276. package/src/composables/validation/useValidatable.ts +8 -1
  277. package/src/composables/validation/useValidation.ts +135 -99
  278. package/src/composantsVuetify/Introduction.mdx +48 -0
  279. package/src/composantsVuetify/VBtn/VBtn.mdx +72 -0
  280. package/src/composantsVuetify/VBtn/v-btn.stories.ts +121 -0
  281. package/src/composantsVuetify/VTooltip/VTooltip.mdx +32 -0
  282. package/src/composantsVuetify/VTooltip/v-tooltip.stories.ts +95 -0
  283. package/src/designTokens/tokens/cnam/cnamSemantic.ts +2 -2
  284. package/src/main.ts +0 -2
  285. package/src/stories/Components/Components.stories.ts +74 -9
  286. package/src/stories/Demarrer/Accueil.stories.ts +3 -3
  287. package/src/stories/GuideDuDev/Amelipro.mdx +15 -0
  288. package/src/stories/GuideDuDev/Amelipro.stories.ts +209 -0
  289. package/src/stories/GuideDuDev/vuetifyOptions.mdx +3 -3
  290. package/dist/SelectFilter-BioGT6Nn.js +0 -136
  291. package/dist/style.css +0 -1
  292. package/src/components/DatePicker/Accessibilite.mdx +0 -14
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue';
2
2
  import { locales } from './locales';
3
- import { ValidationRule } from '../../composables/validation/useValidation';
3
+ import { NirValidationProps } from './useNirValidation';
4
4
  type __VLS_Props = {
5
5
  modelValue?: string | undefined | null;
6
6
  label?: string;
@@ -11,22 +11,13 @@ type __VLS_Props = {
11
11
  keyTooltip?: string;
12
12
  nirTooltipPosition?: 'prepend' | 'append';
13
13
  keyTooltipPosition?: 'prepend' | 'append';
14
- required?: boolean;
15
14
  displayAsterisk?: boolean;
16
- customNumberRules?: ValidationRule[];
17
- customKeyRules?: ValidationRule[];
18
- customNumberWarningRules?: ValidationRule[];
19
- customKeyWarningRules?: ValidationRule[];
20
- customRulesPrecedence?: boolean;
21
- showSuccessMessages?: boolean;
22
15
  width?: string;
23
16
  bgColor?: string;
24
- disabled?: boolean;
25
17
  density?: 'default' | 'comfortable' | 'compact';
26
18
  hideDetails?: boolean | 'auto';
27
19
  hideSpinButtons?: boolean;
28
20
  placeholder?: string;
29
- readonly?: boolean;
30
21
  variant?: 'filled' | 'outlined' | 'plain' | 'underlined' | 'solo';
31
22
  clearable?: boolean;
32
23
  counter?: boolean | number | string;
@@ -37,8 +28,8 @@ type __VLS_Props = {
37
28
  disableErrorHandling?: boolean;
38
29
  nirType?: 'simple' | 'complexe';
39
30
  withoutFieldset?: boolean;
40
- customLocale?: Partial<Record<keyof typeof locales, string>>;
41
- };
31
+ customLocale?: Record<keyof typeof locales, string>;
32
+ } & NirValidationProps;
42
33
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
43
34
  validateOnSubmit: () => Promise<boolean>;
44
35
  numberMask: {
@@ -69,9 +60,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
69
60
  hasError: import('vue').ComputedRef<boolean>;
70
61
  hasWarning: import('vue').ComputedRef<boolean>;
71
62
  hasSuccess: import('vue').ComputedRef<boolean>;
72
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
73
- validateOnSubmit: () => Promise<boolean>;
74
- clearValidation: () => void;
63
+ validate: () => Promise<boolean>;
64
+ } | {
65
+ errors: import('vue').ComputedRef<string[]>;
66
+ warnings: import('vue').ComputedRef<string[]>;
67
+ successes: import('vue').ComputedRef<string[]>;
68
+ hasError: import('vue').ComputedRef<boolean | undefined>;
69
+ hasWarning: import('vue').ComputedRef<boolean | undefined>;
70
+ hasSuccess: import('vue').ComputedRef<boolean | undefined>;
71
+ validate: () => Promise<boolean>;
75
72
  };
76
73
  keyValidation: {
77
74
  errors: import('vue').Ref<string[], string[]>;
@@ -80,9 +77,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
80
77
  hasError: import('vue').ComputedRef<boolean>;
81
78
  hasWarning: import('vue').ComputedRef<boolean>;
82
79
  hasSuccess: import('vue').ComputedRef<boolean>;
83
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
84
- validateOnSubmit: () => Promise<boolean>;
85
- clearValidation: () => void;
80
+ validate: () => Promise<boolean>;
81
+ } | {
82
+ errors: import('vue').ComputedRef<string[]>;
83
+ warnings: import('vue').ComputedRef<string[]>;
84
+ successes: import('vue').ComputedRef<string[]>;
85
+ hasError: import('vue').ComputedRef<boolean | undefined>;
86
+ hasWarning: import('vue').ComputedRef<boolean | undefined>;
87
+ hasSuccess: import('vue').ComputedRef<boolean | undefined>;
88
+ validate: () => Promise<boolean>;
86
89
  };
87
90
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
88
91
  "update:modelValue": (...args: any[]) => void;
@@ -99,10 +102,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
99
102
  modelValue: string | null;
100
103
  bgColor: string;
101
104
  required: boolean;
102
- counter: boolean | number | string;
103
- displayAsterisk: boolean;
104
105
  showSuccessMessages: boolean;
105
106
  disableErrorHandling: boolean;
107
+ counter: boolean | number | string;
108
+ displayAsterisk: boolean;
109
+ isValidateOnBlur: boolean;
106
110
  hideSpinButtons: boolean;
107
111
  persistentHint: boolean;
108
112
  hideDetails: boolean | "auto";
@@ -117,21 +121,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
117
121
  keyTooltip: string;
118
122
  nirTooltipPosition: "prepend" | "append";
119
123
  keyTooltipPosition: "prepend" | "append";
120
- customNumberRules: ValidationRule[];
121
- customKeyRules: ValidationRule[];
122
- customNumberWarningRules: ValidationRule[];
123
- customKeyWarningRules: ValidationRule[];
124
- customRulesPrecedence: boolean;
125
124
  nirType: "simple" | "complexe";
126
125
  withoutFieldset: boolean;
127
- customLocale: Partial<Record<keyof typeof locales, string>>;
126
+ customLocale: Record<keyof typeof locales, string>;
127
+ customKeyRules: import('../../composables/validation/useValidation').ValidationRule[];
128
+ customKeyWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
129
+ customNumberRules: import('../../composables/validation/useValidation').ValidationRule[];
130
+ customNumberWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
131
+ customRulesPrecedence: boolean;
132
+ keyRules: import('vuetify').ValidationRule[];
133
+ numberRules: import('vuetify').ValidationRule[];
128
134
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
129
135
  container: unknown;
130
136
  numberField: ({
131
137
  $: import('vue').ComponentInternalInstance;
132
138
  $data: {};
133
139
  $props: {
134
- readonly modelValue?: string | number | null | undefined;
140
+ readonly modelValue?: string | number | null | undefined | undefined;
135
141
  readonly prependIcon?: import('../../types/vuetifyTypes').IconType;
136
142
  readonly appendIcon?: import('../../types/vuetifyTypes').IconType;
137
143
  readonly prependInnerIcon?: import('../../types/vuetifyTypes').IconType;
@@ -143,11 +149,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
143
149
  readonly color?: import('../../types/vuetifyTypes').ColorType | undefined;
144
150
  readonly isClearable?: boolean | undefined;
145
151
  readonly showDivider?: boolean | undefined;
146
- readonly label?: string | undefined;
147
- readonly required?: boolean | undefined;
148
- readonly errorMessages?: string[] | null | undefined;
149
- readonly warningMessages?: string[] | null | undefined;
150
- readonly successMessages?: string[] | null | undefined;
152
+ readonly label: string;
151
153
  readonly readonly?: boolean | undefined;
152
154
  readonly isActive?: boolean | undefined;
153
155
  readonly baseColor?: string | undefined;
@@ -167,7 +169,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
167
169
  readonly hint?: string | undefined;
168
170
  readonly id?: string | undefined;
169
171
  readonly loading?: string | boolean | undefined;
170
- readonly maxErrors?: string | number | undefined;
171
172
  readonly maxWidth?: string | number | undefined;
172
173
  readonly messages?: string | string[] | undefined;
173
174
  readonly minWidth?: string | number | undefined;
@@ -181,9 +182,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
181
182
  readonly isReversed?: boolean | undefined;
182
183
  readonly role?: string | undefined;
183
184
  readonly rounded?: string | number | boolean | undefined;
184
- readonly hasError?: boolean | undefined;
185
- readonly hasWarning?: boolean | undefined;
186
- readonly hasSuccess?: boolean | undefined;
187
185
  readonly isOnSingleLine?: boolean | undefined;
188
186
  readonly suffix?: string | undefined;
189
187
  readonly theme?: string | undefined;
@@ -192,18 +190,30 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
192
190
  readonly width?: string | number | undefined;
193
191
  readonly displayAsterisk?: boolean | undefined;
194
192
  readonly noIcon?: boolean | undefined;
195
- readonly customRules?: ValidationRule[] | undefined;
196
- readonly customWarningRules?: ValidationRule[] | undefined;
197
- readonly customSuccessRules?: ValidationRule[] | undefined;
198
- readonly showSuccessMessages?: boolean | undefined;
199
- readonly isValidateOnBlur?: boolean | undefined;
200
- readonly disableErrorHandling?: boolean | undefined;
201
193
  readonly disableClickButton?: boolean | undefined;
202
194
  readonly autocomplete?: string | undefined;
203
195
  readonly helpText?: string | undefined;
204
196
  readonly maxlength?: string | number | undefined;
205
197
  readonly title?: string | false | undefined;
198
+ readonly required?: boolean | undefined;
199
+ readonly isValidateOnBlur?: boolean | undefined;
200
+ readonly showSuccessMessages?: boolean | undefined;
201
+ readonly disableErrorHandling?: boolean | undefined;
202
+ readonly useVuetifyValidation?: boolean | undefined;
203
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
204
+ readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
205
+ readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
206
+ readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
207
+ readonly errorMessages?: string[] | null | undefined;
208
+ readonly warningMessages?: string[] | null | undefined;
209
+ readonly successMessages?: string[] | null | undefined;
210
+ readonly hasError?: boolean | undefined;
211
+ readonly hasWarning?: boolean | undefined;
212
+ readonly hasSuccess?: boolean | undefined;
213
+ readonly maxErrors?: number | undefined;
206
214
  readonly onInput?: ((...args: any[]) => any) | undefined;
215
+ readonly onBlur?: ((...args: any[]) => any) | undefined;
216
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
207
217
  readonly onKeydown?: ((...args: any[]) => any) | undefined;
208
218
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
209
219
  readonly onClear?: ((...args: any[]) => any) | undefined;
@@ -316,7 +326,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
316
326
  }) => import('vue').VNodeChild) | undefined;
317
327
  "prepend-inner"?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot) => import('vue').VNodeChild) | undefined;
318
328
  "append-inner"?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot) => import('vue').VNodeChild) | undefined;
319
- label?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot & {
329
+ label
330
+ /** @type { typeof __VLS_ctx.numberField } */ ?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot & {
320
331
  label: string | undefined;
321
332
  props: Record<string, any>;
322
333
  }) => import('vue').VNodeChild) | undefined;
@@ -584,16 +595,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
584
595
  hint?: string | undefined;
585
596
  "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
586
597
  "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
587
- }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "errorMessages" | "centerAffix" | "direction" | "maxErrors" | "messages" | "rules" | "isValid" | "resetValidation" | "validate" | "focused" | "glow" | "hideSpinButtons" | "persistentHint"> & import('vue').ShallowUnwrapRef<{
598
+ }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "validate" | "errorMessages" | "focused" | "maxErrors" | "rules" | "centerAffix" | "direction" | "messages" | "isValid" | "resetValidation" | "glow" | "hideSpinButtons" | "persistentHint"> & {
588
599
  reset: () => Promise<void>;
589
600
  resetValidation: () => Promise<void>;
590
601
  validate: (silent?: boolean) => Promise<string[]>;
591
- isValid: import('vue').ComputedRef<boolean | null>;
592
- errorMessages: import('vue').ComputedRef<string[]>;
593
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
602
+ isValid: boolean | null;
603
+ errorMessages: string[];
604
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
594
605
  modelValue?: unknown;
595
606
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
596
- }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "centerAffix" | "direction" | "hint" | "maxErrors" | "messages" | "rules" | "focused" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "validateOn" | "validationValue" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
607
+ }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "focused" | "maxErrors" | "rules" | "validateOn" | "validationValue" | "centerAffix" | "direction" | "hint" | "messages" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
597
608
  $: import('vue').ComponentInternalInstance;
598
609
  $data: {};
599
610
  $props: Partial<{
@@ -851,13 +862,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
851
862
  labelId?: string | undefined;
852
863
  } & {
853
864
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
854
- }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "centerAffix" | "focused" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & import('vue').ShallowUnwrapRef<{
855
- controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
856
- fieldIconColor: import('vue').ComputedRef<string | undefined>;
857
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
865
+ }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "focused" | "centerAffix" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & {
866
+ controlRef: HTMLElement | undefined;
867
+ fieldIconColor: string | undefined;
868
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
858
869
  modelValue?: unknown;
859
870
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
860
- }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "focused" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
871
+ }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "focused" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
861
872
  _allExposed: {
862
873
  reset: () => Promise<void>;
863
874
  resetValidation: () => Promise<void>;
@@ -1321,16 +1332,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1321
1332
  hint?: string | undefined;
1322
1333
  "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
1323
1334
  "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
1324
- }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "errorMessages" | "centerAffix" | "direction" | "maxErrors" | "messages" | "rules" | "isValid" | "resetValidation" | "validate" | "focused" | "glow" | "hideSpinButtons" | "persistentHint"> & import('vue').ShallowUnwrapRef<{
1335
+ }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "validate" | "errorMessages" | "focused" | "maxErrors" | "rules" | "centerAffix" | "direction" | "messages" | "isValid" | "resetValidation" | "glow" | "hideSpinButtons" | "persistentHint"> & {
1325
1336
  reset: () => Promise<void>;
1326
1337
  resetValidation: () => Promise<void>;
1327
1338
  validate: (silent?: boolean) => Promise<string[]>;
1328
- isValid: import('vue').ComputedRef<boolean | null>;
1329
- errorMessages: import('vue').ComputedRef<string[]>;
1330
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1339
+ isValid: boolean | null;
1340
+ errorMessages: string[];
1341
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1331
1342
  modelValue?: unknown;
1332
1343
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
1333
- }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "centerAffix" | "direction" | "hint" | "maxErrors" | "messages" | "rules" | "focused" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "validateOn" | "validationValue" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
1344
+ }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "focused" | "maxErrors" | "rules" | "validateOn" | "validationValue" | "centerAffix" | "direction" | "hint" | "messages" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
1334
1345
  $: import('vue').ComponentInternalInstance;
1335
1346
  $data: {};
1336
1347
  $props: Partial<{
@@ -1588,13 +1599,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1588
1599
  labelId?: string | undefined;
1589
1600
  } & {
1590
1601
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1591
- }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "centerAffix" | "focused" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & import('vue').ShallowUnwrapRef<{
1592
- controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
1593
- fieldIconColor: import('vue').ComputedRef<string | undefined>;
1594
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1602
+ }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "focused" | "centerAffix" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & {
1603
+ controlRef: HTMLElement | undefined;
1604
+ fieldIconColor: string | undefined;
1605
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1595
1606
  modelValue?: unknown;
1596
1607
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
1597
- }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "focused" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
1608
+ }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "focused" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
1598
1609
  _allExposed: {
1599
1610
  reset: () => Promise<void>;
1600
1611
  resetValidation: () => Promise<void>;
@@ -1643,10 +1654,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1643
1654
  $root: import('vue').ComponentPublicInstance | null;
1644
1655
  $parent: import('vue').ComponentPublicInstance | null;
1645
1656
  $host: Element | null;
1646
- $emit: ((event: "input", ...args: any[]) => void) & ((event: "keydown", ...args: any[]) => void) & ((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);
1657
+ $emit: ((event: "input", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "keydown", ...args: any[]) => void) & ((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);
1647
1658
  $el: any;
1648
1659
  $options: import('vue').ComponentOptionsBase<Readonly<{
1649
- modelValue?: string | number | null;
1660
+ modelValue?: string | number | null | undefined;
1650
1661
  prependIcon?: import('../../types/vuetifyTypes').IconType;
1651
1662
  appendIcon?: import('../../types/vuetifyTypes').IconType;
1652
1663
  prependInnerIcon?: import('../../types/vuetifyTypes').IconType;
@@ -1659,10 +1670,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1659
1670
  isClearable?: boolean;
1660
1671
  showDivider?: boolean;
1661
1672
  label?: string;
1662
- required?: boolean;
1663
- errorMessages?: string[] | null;
1664
- warningMessages?: string[] | null;
1665
- successMessages?: string[] | null;
1666
1673
  readonly?: boolean;
1667
1674
  isActive?: boolean;
1668
1675
  baseColor?: string;
@@ -1682,7 +1689,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1682
1689
  hint?: string;
1683
1690
  id?: string;
1684
1691
  loading?: string | boolean;
1685
- maxErrors?: string | number;
1686
1692
  maxWidth?: string | number;
1687
1693
  messages?: string | string[];
1688
1694
  minWidth?: string | number;
@@ -1696,9 +1702,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1696
1702
  isReversed?: boolean;
1697
1703
  role?: string;
1698
1704
  rounded?: string | number | boolean;
1699
- hasError?: boolean;
1700
- hasWarning?: boolean;
1701
- hasSuccess?: boolean;
1702
1705
  isOnSingleLine?: boolean;
1703
1706
  suffix?: string;
1704
1707
  theme?: string;
@@ -1707,40 +1710,26 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1707
1710
  width?: string | number;
1708
1711
  displayAsterisk?: boolean;
1709
1712
  noIcon?: boolean;
1710
- customRules?: ValidationRule[];
1711
- customWarningRules?: ValidationRule[];
1712
- customSuccessRules?: ValidationRule[];
1713
- showSuccessMessages?: boolean;
1714
- isValidateOnBlur?: boolean;
1715
- disableErrorHandling?: boolean;
1716
1713
  disableClickButton?: boolean;
1717
1714
  autocomplete?: string;
1718
1715
  helpText?: string;
1719
1716
  maxlength?: string | number;
1720
1717
  title?: string | false;
1721
- }> & Readonly<{
1718
+ } & import('../../composables/unifyValidation/useValidation').FieldValidationProps> & Readonly<{
1722
1719
  onInput?: ((...args: any[]) => any) | undefined;
1720
+ onBlur?: ((...args: any[]) => any) | undefined;
1721
+ onFocus?: ((...args: any[]) => any) | undefined;
1723
1722
  onKeydown?: ((...args: any[]) => any) | undefined;
1724
1723
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1725
1724
  onClear?: ((...args: any[]) => any) | undefined;
1726
1725
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1727
1726
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1728
1727
  }>, {
1729
- validation: {
1730
- errors: import('vue').Ref<string[], string[]>;
1731
- warnings: import('vue').Ref<string[], string[]>;
1732
- successes: import('vue').Ref<string[], string[]>;
1733
- hasError: import('vue').ComputedRef<boolean>;
1734
- hasWarning: import('vue').ComputedRef<boolean>;
1735
- hasSuccess: import('vue').ComputedRef<boolean>;
1736
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
1737
- validateOnSubmit: () => Promise<boolean>;
1738
- clearValidation: () => void;
1739
- };
1740
- validateOnSubmit: () => boolean;
1741
- checkErrorOnBlur: () => void;
1728
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
1742
1729
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1743
1730
  input: (...args: any[]) => void;
1731
+ blur: (...args: any[]) => void;
1732
+ focus: (...args: any[]) => void;
1744
1733
  keydown: (...args: any[]) => void;
1745
1734
  "update:modelValue": (...args: any[]) => void;
1746
1735
  clear: (...args: any[]) => void;
@@ -1770,7 +1759,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1770
1759
  modelValue: string | number | null;
1771
1760
  bgColor: string;
1772
1761
  isActive: boolean;
1762
+ required: boolean;
1773
1763
  prefix: string;
1764
+ showSuccessMessages: boolean;
1765
+ disableErrorHandling: boolean;
1766
+ errorMessages: string[] | null;
1767
+ maxErrors: number;
1774
1768
  prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1775
1769
  appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1776
1770
  prependTooltip: string;
@@ -1778,9 +1772,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1778
1772
  tooltipLocation: "top" | "bottom" | "start" | "end";
1779
1773
  variantStyle: import('../../types/vuetifyTypes').VariantStyle;
1780
1774
  isClearable: boolean;
1781
- errorMessages: string[] | null;
1782
- warningMessages: string[] | null;
1783
- successMessages: string[] | null;
1784
1775
  centerAffix: boolean;
1785
1776
  counter: string | number | boolean;
1786
1777
  counterValue: number | ((value: any) => number);
@@ -1792,30 +1783,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1792
1783
  areDetailsHidden: boolean | "auto";
1793
1784
  areSpinButtonsHidden: boolean;
1794
1785
  hint: string;
1795
- maxErrors: string | number;
1796
1786
  messages: string | string[];
1797
1787
  displayPersistentClear: boolean;
1798
1788
  displayPersistentCounter: boolean;
1799
1789
  displayPersistentHint: boolean;
1800
1790
  displayPersistentPlaceholder: boolean;
1801
1791
  isReversed: boolean;
1802
- hasError: boolean;
1803
- hasWarning: boolean;
1804
1792
  isOnSingleLine: boolean;
1805
1793
  suffix: string;
1806
1794
  isTiled: boolean;
1807
1795
  displayAsterisk: boolean;
1808
1796
  noIcon: boolean;
1809
- customRules: ValidationRule[];
1810
- customWarningRules: ValidationRule[];
1811
- customSuccessRules: ValidationRule[];
1812
- showSuccessMessages: boolean;
1813
- isValidateOnBlur: boolean;
1814
- disableErrorHandling: boolean;
1815
1797
  disableClickButton: boolean;
1816
1798
  autocomplete: string;
1817
1799
  helpText: string;
1818
1800
  maxlength: string | number;
1801
+ isValidateOnBlur: boolean;
1802
+ useVuetifyValidation: boolean;
1803
+ customRules: import('../../composables/validation/useValidation').ValidationRule[];
1804
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1805
+ customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
1806
+ warningMessages: string[] | null;
1807
+ successMessages: string[] | null;
1808
+ hasError: boolean;
1809
+ hasWarning: boolean;
1810
+ hasSuccess: boolean;
1819
1811
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1820
1812
  beforeCreate?: (() => void) | (() => void)[];
1821
1813
  created?: (() => void) | (() => void)[];
@@ -1860,7 +1852,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1860
1852
  modelValue: string | number | null;
1861
1853
  bgColor: string;
1862
1854
  isActive: boolean;
1855
+ required: boolean;
1863
1856
  prefix: string;
1857
+ showSuccessMessages: boolean;
1858
+ disableErrorHandling: boolean;
1859
+ errorMessages: string[] | null;
1860
+ maxErrors: number;
1864
1861
  prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1865
1862
  appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1866
1863
  prependTooltip: string;
@@ -1868,9 +1865,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1868
1865
  tooltipLocation: "top" | "bottom" | "start" | "end";
1869
1866
  variantStyle: import('../../types/vuetifyTypes').VariantStyle;
1870
1867
  isClearable: boolean;
1871
- errorMessages: string[] | null;
1872
- warningMessages: string[] | null;
1873
- successMessages: string[] | null;
1874
1868
  centerAffix: boolean;
1875
1869
  counter: string | number | boolean;
1876
1870
  counterValue: number | ((value: any) => number);
@@ -1882,32 +1876,33 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1882
1876
  areDetailsHidden: boolean | "auto";
1883
1877
  areSpinButtonsHidden: boolean;
1884
1878
  hint: string;
1885
- maxErrors: string | number;
1886
1879
  messages: string | string[];
1887
1880
  displayPersistentClear: boolean;
1888
1881
  displayPersistentCounter: boolean;
1889
1882
  displayPersistentHint: boolean;
1890
1883
  displayPersistentPlaceholder: boolean;
1891
1884
  isReversed: boolean;
1892
- hasError: boolean;
1893
- hasWarning: boolean;
1894
1885
  isOnSingleLine: boolean;
1895
1886
  suffix: string;
1896
1887
  isTiled: boolean;
1897
1888
  displayAsterisk: boolean;
1898
1889
  noIcon: boolean;
1899
- customRules: ValidationRule[];
1900
- customWarningRules: ValidationRule[];
1901
- customSuccessRules: ValidationRule[];
1902
- showSuccessMessages: boolean;
1903
- isValidateOnBlur: boolean;
1904
- disableErrorHandling: boolean;
1905
1890
  disableClickButton: boolean;
1906
1891
  autocomplete: string;
1907
1892
  helpText: string;
1908
1893
  maxlength: string | number;
1894
+ isValidateOnBlur: boolean;
1895
+ useVuetifyValidation: boolean;
1896
+ customRules: import('../../composables/validation/useValidation').ValidationRule[];
1897
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1898
+ customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
1899
+ warningMessages: string[] | null;
1900
+ successMessages: string[] | null;
1901
+ hasError: boolean;
1902
+ hasWarning: boolean;
1903
+ hasSuccess: boolean;
1909
1904
  }> & Omit<Readonly<{
1910
- modelValue?: string | number | null;
1905
+ modelValue?: string | number | null | undefined;
1911
1906
  prependIcon?: import('../../types/vuetifyTypes').IconType;
1912
1907
  appendIcon?: import('../../types/vuetifyTypes').IconType;
1913
1908
  prependInnerIcon?: import('../../types/vuetifyTypes').IconType;
@@ -1920,10 +1915,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1920
1915
  isClearable?: boolean;
1921
1916
  showDivider?: boolean;
1922
1917
  label?: string;
1923
- required?: boolean;
1924
- errorMessages?: string[] | null;
1925
- warningMessages?: string[] | null;
1926
- successMessages?: string[] | null;
1927
1918
  readonly?: boolean;
1928
1919
  isActive?: boolean;
1929
1920
  baseColor?: string;
@@ -1943,7 +1934,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1943
1934
  hint?: string;
1944
1935
  id?: string;
1945
1936
  loading?: string | boolean;
1946
- maxErrors?: string | number;
1947
1937
  maxWidth?: string | number;
1948
1938
  messages?: string | string[];
1949
1939
  minWidth?: string | number;
@@ -1957,9 +1947,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1957
1947
  isReversed?: boolean;
1958
1948
  role?: string;
1959
1949
  rounded?: string | number | boolean;
1960
- hasError?: boolean;
1961
- hasWarning?: boolean;
1962
- hasSuccess?: boolean;
1963
1950
  isOnSingleLine?: boolean;
1964
1951
  suffix?: string;
1965
1952
  theme?: string;
@@ -1968,39 +1955,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1968
1955
  width?: string | number;
1969
1956
  displayAsterisk?: boolean;
1970
1957
  noIcon?: boolean;
1971
- customRules?: ValidationRule[];
1972
- customWarningRules?: ValidationRule[];
1973
- customSuccessRules?: ValidationRule[];
1974
- showSuccessMessages?: boolean;
1975
- isValidateOnBlur?: boolean;
1976
- disableErrorHandling?: boolean;
1977
1958
  disableClickButton?: boolean;
1978
1959
  autocomplete?: string;
1979
1960
  helpText?: string;
1980
1961
  maxlength?: string | number;
1981
1962
  title?: string | false;
1982
- }> & Readonly<{
1963
+ } & import('../../composables/unifyValidation/useValidation').FieldValidationProps> & Readonly<{
1983
1964
  onInput?: ((...args: any[]) => any) | undefined;
1965
+ onBlur?: ((...args: any[]) => any) | undefined;
1966
+ onFocus?: ((...args: any[]) => any) | undefined;
1984
1967
  onKeydown?: ((...args: any[]) => any) | undefined;
1985
1968
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1986
1969
  onClear?: ((...args: any[]) => any) | undefined;
1987
1970
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1988
1971
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1989
- }>, "validateOnSubmit" | "validation" | "checkErrorOnBlur" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "prefix" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "errorMessages" | "warningMessages" | "successMessages" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "maxErrors" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "hasError" | "hasWarning" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur" | "disableErrorHandling" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength")> & import('vue').ShallowUnwrapRef<{
1990
- validation: {
1991
- errors: import('vue').Ref<string[], string[]>;
1992
- warnings: import('vue').Ref<string[], string[]>;
1993
- successes: import('vue').Ref<string[], string[]>;
1994
- hasError: import('vue').ComputedRef<boolean>;
1995
- hasWarning: import('vue').ComputedRef<boolean>;
1996
- hasSuccess: import('vue').ComputedRef<boolean>;
1997
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
1998
- validateOnSubmit: () => Promise<boolean>;
1999
- clearValidation: () => void;
2000
- };
2001
- validateOnSubmit: () => boolean;
2002
- checkErrorOnBlur: () => void;
2003
- }> & {} & import('vue').ComponentCustomProperties & {} & {
1972
+ }>, "validateOnSubmit" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "required" | "prefix" | "showSuccessMessages" | "disableErrorHandling" | "errorMessages" | "maxErrors" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "isValidateOnBlur" | "useVuetifyValidation" | "customRules" | "customWarningRules" | "customSuccessRules" | "warningMessages" | "successMessages" | "hasError" | "hasWarning" | "hasSuccess")> & {
1973
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
1974
+ } & {} & import('vue').ComponentCustomProperties & {} & {
2004
1975
  $slots: {
2005
1976
  prepend?(_: {}): any;
2006
1977
  append?(_: {}): any;
@@ -2014,7 +1985,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2014
1985
  $: import('vue').ComponentInternalInstance;
2015
1986
  $data: {};
2016
1987
  $props: {
2017
- readonly modelValue?: string | number | null | undefined;
1988
+ readonly modelValue?: string | number | null | undefined | undefined;
2018
1989
  readonly prependIcon?: import('../../types/vuetifyTypes').IconType;
2019
1990
  readonly appendIcon?: import('../../types/vuetifyTypes').IconType;
2020
1991
  readonly prependInnerIcon?: import('../../types/vuetifyTypes').IconType;
@@ -2026,11 +1997,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2026
1997
  readonly color?: import('../../types/vuetifyTypes').ColorType | undefined;
2027
1998
  readonly isClearable?: boolean | undefined;
2028
1999
  readonly showDivider?: boolean | undefined;
2029
- readonly label?: string | undefined;
2030
- readonly required?: boolean | undefined;
2031
- readonly errorMessages?: string[] | null | undefined;
2032
- readonly warningMessages?: string[] | null | undefined;
2033
- readonly successMessages?: string[] | null | undefined;
2000
+ readonly label: string;
2034
2001
  readonly readonly?: boolean | undefined;
2035
2002
  readonly isActive?: boolean | undefined;
2036
2003
  readonly baseColor?: string | undefined;
@@ -2050,7 +2017,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2050
2017
  readonly hint?: string | undefined;
2051
2018
  readonly id?: string | undefined;
2052
2019
  readonly loading?: string | boolean | undefined;
2053
- readonly maxErrors?: string | number | undefined;
2054
2020
  readonly maxWidth?: string | number | undefined;
2055
2021
  readonly messages?: string | string[] | undefined;
2056
2022
  readonly minWidth?: string | number | undefined;
@@ -2064,9 +2030,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2064
2030
  readonly isReversed?: boolean | undefined;
2065
2031
  readonly role?: string | undefined;
2066
2032
  readonly rounded?: string | number | boolean | undefined;
2067
- readonly hasError?: boolean | undefined;
2068
- readonly hasWarning?: boolean | undefined;
2069
- readonly hasSuccess?: boolean | undefined;
2070
2033
  readonly isOnSingleLine?: boolean | undefined;
2071
2034
  readonly suffix?: string | undefined;
2072
2035
  readonly theme?: string | undefined;
@@ -2075,18 +2038,30 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2075
2038
  readonly width?: string | number | undefined;
2076
2039
  readonly displayAsterisk?: boolean | undefined;
2077
2040
  readonly noIcon?: boolean | undefined;
2078
- readonly customRules?: ValidationRule[] | undefined;
2079
- readonly customWarningRules?: ValidationRule[] | undefined;
2080
- readonly customSuccessRules?: ValidationRule[] | undefined;
2081
- readonly showSuccessMessages?: boolean | undefined;
2082
- readonly isValidateOnBlur?: boolean | undefined;
2083
- readonly disableErrorHandling?: boolean | undefined;
2084
2041
  readonly disableClickButton?: boolean | undefined;
2085
2042
  readonly autocomplete?: string | undefined;
2086
2043
  readonly helpText?: string | undefined;
2087
2044
  readonly maxlength?: string | number | undefined;
2088
2045
  readonly title?: string | false | undefined;
2046
+ readonly required?: boolean | undefined;
2047
+ readonly isValidateOnBlur?: boolean | undefined;
2048
+ readonly showSuccessMessages?: boolean | undefined;
2049
+ readonly disableErrorHandling?: boolean | undefined;
2050
+ readonly useVuetifyValidation?: boolean | undefined;
2051
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
2052
+ readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
2053
+ readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
2054
+ readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
2055
+ readonly errorMessages?: string[] | null | undefined;
2056
+ readonly warningMessages?: string[] | null | undefined;
2057
+ readonly successMessages?: string[] | null | undefined;
2058
+ readonly hasError?: boolean | undefined;
2059
+ readonly hasWarning?: boolean | undefined;
2060
+ readonly hasSuccess?: boolean | undefined;
2061
+ readonly maxErrors?: number | undefined;
2089
2062
  readonly onInput?: ((...args: any[]) => any) | undefined;
2063
+ readonly onBlur?: ((...args: any[]) => any) | undefined;
2064
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
2090
2065
  readonly onKeydown?: ((...args: any[]) => any) | undefined;
2091
2066
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2092
2067
  readonly onClear?: ((...args: any[]) => any) | undefined;
@@ -2199,7 +2174,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2199
2174
  }) => import('vue').VNodeChild) | undefined;
2200
2175
  "prepend-inner"?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot) => import('vue').VNodeChild) | undefined;
2201
2176
  "append-inner"?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot) => import('vue').VNodeChild) | undefined;
2202
- label?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot & {
2177
+ label
2178
+ /** @type { typeof __VLS_ctx.numberField } */ ?: false | ((arg: import('vuetify/lib/components/VField/VField.mjs').DefaultInputSlot & {
2203
2179
  label: string | undefined;
2204
2180
  props: Record<string, any>;
2205
2181
  }) => import('vue').VNodeChild) | undefined;
@@ -2467,16 +2443,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2467
2443
  hint?: string | undefined;
2468
2444
  "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
2469
2445
  "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
2470
- }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "errorMessages" | "centerAffix" | "direction" | "maxErrors" | "messages" | "rules" | "isValid" | "resetValidation" | "validate" | "focused" | "glow" | "hideSpinButtons" | "persistentHint"> & import('vue').ShallowUnwrapRef<{
2446
+ }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "validate" | "errorMessages" | "focused" | "maxErrors" | "rules" | "centerAffix" | "direction" | "messages" | "isValid" | "resetValidation" | "glow" | "hideSpinButtons" | "persistentHint"> & {
2471
2447
  reset: () => Promise<void>;
2472
2448
  resetValidation: () => Promise<void>;
2473
2449
  validate: (silent?: boolean) => Promise<string[]>;
2474
- isValid: import('vue').ComputedRef<boolean | null>;
2475
- errorMessages: import('vue').ComputedRef<string[]>;
2476
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
2450
+ isValid: boolean | null;
2451
+ errorMessages: string[];
2452
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
2477
2453
  modelValue?: unknown;
2478
2454
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
2479
- }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "centerAffix" | "direction" | "hint" | "maxErrors" | "messages" | "rules" | "focused" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "validateOn" | "validationValue" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
2455
+ }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "focused" | "maxErrors" | "rules" | "validateOn" | "validationValue" | "centerAffix" | "direction" | "hint" | "messages" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
2480
2456
  $: import('vue').ComponentInternalInstance;
2481
2457
  $data: {};
2482
2458
  $props: Partial<{
@@ -2734,13 +2710,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2734
2710
  labelId?: string | undefined;
2735
2711
  } & {
2736
2712
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
2737
- }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "centerAffix" | "focused" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & import('vue').ShallowUnwrapRef<{
2738
- controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
2739
- fieldIconColor: import('vue').ComputedRef<string | undefined>;
2740
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
2713
+ }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "focused" | "centerAffix" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & {
2714
+ controlRef: HTMLElement | undefined;
2715
+ fieldIconColor: string | undefined;
2716
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
2741
2717
  modelValue?: unknown;
2742
2718
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
2743
- }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "focused" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
2719
+ }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "focused" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
2744
2720
  _allExposed: {
2745
2721
  reset: () => Promise<void>;
2746
2722
  resetValidation: () => Promise<void>;
@@ -3204,16 +3180,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3204
3180
  hint?: string | undefined;
3205
3181
  "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
3206
3182
  "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
3207
- }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "errorMessages" | "centerAffix" | "direction" | "maxErrors" | "messages" | "rules" | "isValid" | "resetValidation" | "validate" | "focused" | "glow" | "hideSpinButtons" | "persistentHint"> & import('vue').ShallowUnwrapRef<{
3183
+ }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "validate" | "errorMessages" | "focused" | "maxErrors" | "rules" | "centerAffix" | "direction" | "messages" | "isValid" | "resetValidation" | "glow" | "hideSpinButtons" | "persistentHint"> & {
3208
3184
  reset: () => Promise<void>;
3209
3185
  resetValidation: () => Promise<void>;
3210
3186
  validate: (silent?: boolean) => Promise<string[]>;
3211
- isValid: import('vue').ComputedRef<boolean | null>;
3212
- errorMessages: import('vue').ComputedRef<string[]>;
3213
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
3187
+ isValid: boolean | null;
3188
+ errorMessages: string[];
3189
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
3214
3190
  modelValue?: unknown;
3215
3191
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
3216
- }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "centerAffix" | "direction" | "hint" | "maxErrors" | "messages" | "rules" | "focused" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "validateOn" | "validationValue" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
3192
+ }, import('vuetify/lib/components/VInput/VInput.mjs').VInputSlots>, "label" | "style" | "width" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "density" | "maxWidth" | "minWidth" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "v-slot:append" | "v-slot:prepend" | "id" | "error" | "name" | "modelValue" | "onUpdate:modelValue" | "iconColor" | "errorMessages" | "focused" | "maxErrors" | "rules" | "validateOn" | "validationValue" | "centerAffix" | "direction" | "hint" | "messages" | "glow" | "hideSpinButtons" | "persistentHint" | "onUpdate:focused" | "hideDetails" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit<Omit<{
3217
3193
  $: import('vue').ComponentInternalInstance;
3218
3194
  $data: {};
3219
3195
  $props: Partial<{
@@ -3471,13 +3447,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3471
3447
  labelId?: string | undefined;
3472
3448
  } & {
3473
3449
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
3474
- }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "centerAffix" | "focused" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & import('vue').ShallowUnwrapRef<{
3475
- controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
3476
- fieldIconColor: import('vue').ComputedRef<string | undefined>;
3477
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
3450
+ }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "focused" | "centerAffix" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & {
3451
+ controlRef: HTMLElement | undefined;
3452
+ fieldIconColor: string | undefined;
3453
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
3478
3454
  modelValue?: unknown;
3479
3455
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
3480
- }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "focused" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
3456
+ }, import('vuetify/lib/components/VField/VField.mjs').VFieldSlots>, "reverse" | "flat" | "label" | "details" | "style" | "color" | "theme" | "class" | "disabled" | "$children" | "v-slots" | "v-slot:default" | keyof import('vue').VNodeProps | "rounded" | "tile" | "variant" | "loading" | "active" | "baseColor" | "v-slot:loader" | "id" | "error" | "modelValue" | "onUpdate:modelValue" | "bgColor" | "v-slot:label" | "iconColor" | "focused" | "prependInnerIcon" | "appendInnerIcon" | "centerAffix" | "glow" | "onUpdate:focused" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "labelId" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:prepend-inner">, `$${any}`> & {
3481
3457
  _allExposed: {
3482
3458
  reset: () => Promise<void>;
3483
3459
  resetValidation: () => Promise<void>;
@@ -3526,10 +3502,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3526
3502
  $root: import('vue').ComponentPublicInstance | null;
3527
3503
  $parent: import('vue').ComponentPublicInstance | null;
3528
3504
  $host: Element | null;
3529
- $emit: ((event: "input", ...args: any[]) => void) & ((event: "keydown", ...args: any[]) => void) & ((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);
3505
+ $emit: ((event: "input", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "keydown", ...args: any[]) => void) & ((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);
3530
3506
  $el: any;
3531
3507
  $options: import('vue').ComponentOptionsBase<Readonly<{
3532
- modelValue?: string | number | null;
3508
+ modelValue?: string | number | null | undefined;
3533
3509
  prependIcon?: import('../../types/vuetifyTypes').IconType;
3534
3510
  appendIcon?: import('../../types/vuetifyTypes').IconType;
3535
3511
  prependInnerIcon?: import('../../types/vuetifyTypes').IconType;
@@ -3542,10 +3518,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3542
3518
  isClearable?: boolean;
3543
3519
  showDivider?: boolean;
3544
3520
  label?: string;
3545
- required?: boolean;
3546
- errorMessages?: string[] | null;
3547
- warningMessages?: string[] | null;
3548
- successMessages?: string[] | null;
3549
3521
  readonly?: boolean;
3550
3522
  isActive?: boolean;
3551
3523
  baseColor?: string;
@@ -3565,7 +3537,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3565
3537
  hint?: string;
3566
3538
  id?: string;
3567
3539
  loading?: string | boolean;
3568
- maxErrors?: string | number;
3569
3540
  maxWidth?: string | number;
3570
3541
  messages?: string | string[];
3571
3542
  minWidth?: string | number;
@@ -3579,9 +3550,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3579
3550
  isReversed?: boolean;
3580
3551
  role?: string;
3581
3552
  rounded?: string | number | boolean;
3582
- hasError?: boolean;
3583
- hasWarning?: boolean;
3584
- hasSuccess?: boolean;
3585
3553
  isOnSingleLine?: boolean;
3586
3554
  suffix?: string;
3587
3555
  theme?: string;
@@ -3590,40 +3558,26 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3590
3558
  width?: string | number;
3591
3559
  displayAsterisk?: boolean;
3592
3560
  noIcon?: boolean;
3593
- customRules?: ValidationRule[];
3594
- customWarningRules?: ValidationRule[];
3595
- customSuccessRules?: ValidationRule[];
3596
- showSuccessMessages?: boolean;
3597
- isValidateOnBlur?: boolean;
3598
- disableErrorHandling?: boolean;
3599
3561
  disableClickButton?: boolean;
3600
3562
  autocomplete?: string;
3601
3563
  helpText?: string;
3602
3564
  maxlength?: string | number;
3603
3565
  title?: string | false;
3604
- }> & Readonly<{
3566
+ } & import('../../composables/unifyValidation/useValidation').FieldValidationProps> & Readonly<{
3605
3567
  onInput?: ((...args: any[]) => any) | undefined;
3568
+ onBlur?: ((...args: any[]) => any) | undefined;
3569
+ onFocus?: ((...args: any[]) => any) | undefined;
3606
3570
  onKeydown?: ((...args: any[]) => any) | undefined;
3607
3571
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
3608
3572
  onClear?: ((...args: any[]) => any) | undefined;
3609
3573
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
3610
3574
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
3611
3575
  }>, {
3612
- validation: {
3613
- errors: import('vue').Ref<string[], string[]>;
3614
- warnings: import('vue').Ref<string[], string[]>;
3615
- successes: import('vue').Ref<string[], string[]>;
3616
- hasError: import('vue').ComputedRef<boolean>;
3617
- hasWarning: import('vue').ComputedRef<boolean>;
3618
- hasSuccess: import('vue').ComputedRef<boolean>;
3619
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
3620
- validateOnSubmit: () => Promise<boolean>;
3621
- clearValidation: () => void;
3622
- };
3623
- validateOnSubmit: () => boolean;
3624
- checkErrorOnBlur: () => void;
3576
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
3625
3577
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3626
3578
  input: (...args: any[]) => void;
3579
+ blur: (...args: any[]) => void;
3580
+ focus: (...args: any[]) => void;
3627
3581
  keydown: (...args: any[]) => void;
3628
3582
  "update:modelValue": (...args: any[]) => void;
3629
3583
  clear: (...args: any[]) => void;
@@ -3653,7 +3607,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3653
3607
  modelValue: string | number | null;
3654
3608
  bgColor: string;
3655
3609
  isActive: boolean;
3610
+ required: boolean;
3656
3611
  prefix: string;
3612
+ showSuccessMessages: boolean;
3613
+ disableErrorHandling: boolean;
3614
+ errorMessages: string[] | null;
3615
+ maxErrors: number;
3657
3616
  prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
3658
3617
  appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
3659
3618
  prependTooltip: string;
@@ -3661,9 +3620,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3661
3620
  tooltipLocation: "top" | "bottom" | "start" | "end";
3662
3621
  variantStyle: import('../../types/vuetifyTypes').VariantStyle;
3663
3622
  isClearable: boolean;
3664
- errorMessages: string[] | null;
3665
- warningMessages: string[] | null;
3666
- successMessages: string[] | null;
3667
3623
  centerAffix: boolean;
3668
3624
  counter: string | number | boolean;
3669
3625
  counterValue: number | ((value: any) => number);
@@ -3675,30 +3631,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3675
3631
  areDetailsHidden: boolean | "auto";
3676
3632
  areSpinButtonsHidden: boolean;
3677
3633
  hint: string;
3678
- maxErrors: string | number;
3679
3634
  messages: string | string[];
3680
3635
  displayPersistentClear: boolean;
3681
3636
  displayPersistentCounter: boolean;
3682
3637
  displayPersistentHint: boolean;
3683
3638
  displayPersistentPlaceholder: boolean;
3684
3639
  isReversed: boolean;
3685
- hasError: boolean;
3686
- hasWarning: boolean;
3687
3640
  isOnSingleLine: boolean;
3688
3641
  suffix: string;
3689
3642
  isTiled: boolean;
3690
3643
  displayAsterisk: boolean;
3691
3644
  noIcon: boolean;
3692
- customRules: ValidationRule[];
3693
- customWarningRules: ValidationRule[];
3694
- customSuccessRules: ValidationRule[];
3695
- showSuccessMessages: boolean;
3696
- isValidateOnBlur: boolean;
3697
- disableErrorHandling: boolean;
3698
3645
  disableClickButton: boolean;
3699
3646
  autocomplete: string;
3700
3647
  helpText: string;
3701
3648
  maxlength: string | number;
3649
+ isValidateOnBlur: boolean;
3650
+ useVuetifyValidation: boolean;
3651
+ customRules: import('../../composables/validation/useValidation').ValidationRule[];
3652
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
3653
+ customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
3654
+ warningMessages: string[] | null;
3655
+ successMessages: string[] | null;
3656
+ hasError: boolean;
3657
+ hasWarning: boolean;
3658
+ hasSuccess: boolean;
3702
3659
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
3703
3660
  beforeCreate?: (() => void) | (() => void)[];
3704
3661
  created?: (() => void) | (() => void)[];
@@ -3743,7 +3700,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3743
3700
  modelValue: string | number | null;
3744
3701
  bgColor: string;
3745
3702
  isActive: boolean;
3703
+ required: boolean;
3746
3704
  prefix: string;
3705
+ showSuccessMessages: boolean;
3706
+ disableErrorHandling: boolean;
3707
+ errorMessages: string[] | null;
3708
+ maxErrors: number;
3747
3709
  prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
3748
3710
  appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
3749
3711
  prependTooltip: string;
@@ -3751,9 +3713,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3751
3713
  tooltipLocation: "top" | "bottom" | "start" | "end";
3752
3714
  variantStyle: import('../../types/vuetifyTypes').VariantStyle;
3753
3715
  isClearable: boolean;
3754
- errorMessages: string[] | null;
3755
- warningMessages: string[] | null;
3756
- successMessages: string[] | null;
3757
3716
  centerAffix: boolean;
3758
3717
  counter: string | number | boolean;
3759
3718
  counterValue: number | ((value: any) => number);
@@ -3765,32 +3724,33 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3765
3724
  areDetailsHidden: boolean | "auto";
3766
3725
  areSpinButtonsHidden: boolean;
3767
3726
  hint: string;
3768
- maxErrors: string | number;
3769
3727
  messages: string | string[];
3770
3728
  displayPersistentClear: boolean;
3771
3729
  displayPersistentCounter: boolean;
3772
3730
  displayPersistentHint: boolean;
3773
3731
  displayPersistentPlaceholder: boolean;
3774
3732
  isReversed: boolean;
3775
- hasError: boolean;
3776
- hasWarning: boolean;
3777
3733
  isOnSingleLine: boolean;
3778
3734
  suffix: string;
3779
3735
  isTiled: boolean;
3780
3736
  displayAsterisk: boolean;
3781
3737
  noIcon: boolean;
3782
- customRules: ValidationRule[];
3783
- customWarningRules: ValidationRule[];
3784
- customSuccessRules: ValidationRule[];
3785
- showSuccessMessages: boolean;
3786
- isValidateOnBlur: boolean;
3787
- disableErrorHandling: boolean;
3788
3738
  disableClickButton: boolean;
3789
3739
  autocomplete: string;
3790
3740
  helpText: string;
3791
3741
  maxlength: string | number;
3742
+ isValidateOnBlur: boolean;
3743
+ useVuetifyValidation: boolean;
3744
+ customRules: import('../../composables/validation/useValidation').ValidationRule[];
3745
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
3746
+ customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
3747
+ warningMessages: string[] | null;
3748
+ successMessages: string[] | null;
3749
+ hasError: boolean;
3750
+ hasWarning: boolean;
3751
+ hasSuccess: boolean;
3792
3752
  }> & Omit<Readonly<{
3793
- modelValue?: string | number | null;
3753
+ modelValue?: string | number | null | undefined;
3794
3754
  prependIcon?: import('../../types/vuetifyTypes').IconType;
3795
3755
  appendIcon?: import('../../types/vuetifyTypes').IconType;
3796
3756
  prependInnerIcon?: import('../../types/vuetifyTypes').IconType;
@@ -3803,10 +3763,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3803
3763
  isClearable?: boolean;
3804
3764
  showDivider?: boolean;
3805
3765
  label?: string;
3806
- required?: boolean;
3807
- errorMessages?: string[] | null;
3808
- warningMessages?: string[] | null;
3809
- successMessages?: string[] | null;
3810
3766
  readonly?: boolean;
3811
3767
  isActive?: boolean;
3812
3768
  baseColor?: string;
@@ -3826,7 +3782,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3826
3782
  hint?: string;
3827
3783
  id?: string;
3828
3784
  loading?: string | boolean;
3829
- maxErrors?: string | number;
3830
3785
  maxWidth?: string | number;
3831
3786
  messages?: string | string[];
3832
3787
  minWidth?: string | number;
@@ -3840,9 +3795,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3840
3795
  isReversed?: boolean;
3841
3796
  role?: string;
3842
3797
  rounded?: string | number | boolean;
3843
- hasError?: boolean;
3844
- hasWarning?: boolean;
3845
- hasSuccess?: boolean;
3846
3798
  isOnSingleLine?: boolean;
3847
3799
  suffix?: string;
3848
3800
  theme?: string;
@@ -3851,39 +3803,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3851
3803
  width?: string | number;
3852
3804
  displayAsterisk?: boolean;
3853
3805
  noIcon?: boolean;
3854
- customRules?: ValidationRule[];
3855
- customWarningRules?: ValidationRule[];
3856
- customSuccessRules?: ValidationRule[];
3857
- showSuccessMessages?: boolean;
3858
- isValidateOnBlur?: boolean;
3859
- disableErrorHandling?: boolean;
3860
3806
  disableClickButton?: boolean;
3861
3807
  autocomplete?: string;
3862
3808
  helpText?: string;
3863
3809
  maxlength?: string | number;
3864
3810
  title?: string | false;
3865
- }> & Readonly<{
3811
+ } & import('../../composables/unifyValidation/useValidation').FieldValidationProps> & Readonly<{
3866
3812
  onInput?: ((...args: any[]) => any) | undefined;
3813
+ onBlur?: ((...args: any[]) => any) | undefined;
3814
+ onFocus?: ((...args: any[]) => any) | undefined;
3867
3815
  onKeydown?: ((...args: any[]) => any) | undefined;
3868
3816
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
3869
3817
  onClear?: ((...args: any[]) => any) | undefined;
3870
3818
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
3871
3819
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
3872
- }>, "validateOnSubmit" | "validation" | "checkErrorOnBlur" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "prefix" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "errorMessages" | "warningMessages" | "successMessages" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "maxErrors" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "hasError" | "hasWarning" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur" | "disableErrorHandling" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength")> & import('vue').ShallowUnwrapRef<{
3873
- validation: {
3874
- errors: import('vue').Ref<string[], string[]>;
3875
- warnings: import('vue').Ref<string[], string[]>;
3876
- successes: import('vue').Ref<string[], string[]>;
3877
- hasError: import('vue').ComputedRef<boolean>;
3878
- hasWarning: import('vue').ComputedRef<boolean>;
3879
- hasSuccess: import('vue').ComputedRef<boolean>;
3880
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
3881
- validateOnSubmit: () => Promise<boolean>;
3882
- clearValidation: () => void;
3883
- };
3884
- validateOnSubmit: () => boolean;
3885
- checkErrorOnBlur: () => void;
3886
- }> & {} & import('vue').ComponentCustomProperties & {} & {
3820
+ }>, "validateOnSubmit" | ("type" | "label" | "title" | "width" | "role" | "color" | "theme" | "disabled" | "placeholder" | "density" | "rounded" | "maxWidth" | "minWidth" | "loading" | "baseColor" | "prependIcon" | "appendIcon" | "readonly" | "id" | "name" | "modelValue" | "bgColor" | "isActive" | "required" | "prefix" | "showSuccessMessages" | "disableErrorHandling" | "errorMessages" | "maxErrors" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "isClearable" | "centerAffix" | "counter" | "counterValue" | "direction" | "isDirty" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "isValidateOnBlur" | "useVuetifyValidation" | "customRules" | "customWarningRules" | "customSuccessRules" | "warningMessages" | "successMessages" | "hasError" | "hasWarning" | "hasSuccess")> & {
3821
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
3822
+ } & {} & import('vue').ComponentCustomProperties & {} & {
3887
3823
  $slots: {
3888
3824
  prepend?(_: {}): any;
3889
3825
  append?(_: {}): any;