@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,41 +1,36 @@
1
1
  import { nextTick } from 'vue';
2
- import { ValidationRule, ValidationResult } from '../../../composables/validation/useValidation';
2
+ import { ValidationRule } from '../../../composables/validation/useValidation';
3
3
  import { DateValue } from '../../../composables/date/useDateInitializationDayjs';
4
- /**
5
- * =====================
6
- * Props / Emits
7
- * =====================
8
- */
9
4
  type __VLS_Props = {
10
- modelValue?: DateValue;
11
- placeholder?: string;
12
- format?: string;
5
+ autoClamp?: boolean;
6
+ bgColor?: string;
7
+ customRules?: ValidationRule[];
8
+ customWarningRules?: ValidationRule[];
13
9
  dateFormatReturn?: string;
14
- label: string;
15
- required?: boolean;
10
+ density?: 'default' | 'comfortable' | 'compact';
11
+ disableErrorHandling?: boolean;
16
12
  disabled?: boolean;
17
- readonly?: boolean;
18
- title?: string | false;
19
- isOutlined?: boolean;
20
- displayIcon?: boolean;
21
13
  displayAppendIcon?: boolean;
22
- noIcon?: boolean;
23
- customRules?: ValidationRule[];
24
- customWarningRules?: ValidationRule[];
14
+ displayIcon?: boolean;
25
15
  displayPrependIcon?: boolean;
26
- disableErrorHandling?: boolean;
27
- showSuccessMessages?: boolean;
28
- bgColor?: string;
29
16
  displayRange?: boolean;
30
- autoClamp?: boolean;
31
- isValidateOnBlur?: boolean;
32
- density?: 'default' | 'comfortable' | 'compact';
17
+ externalErrorMessages?: string[];
18
+ format?: string;
33
19
  hint?: string;
20
+ isOutlined?: boolean;
21
+ isValidateOnBlur?: boolean;
22
+ label: string;
23
+ modelValue?: DateValue;
24
+ noIcon?: boolean;
34
25
  persistentHint?: boolean;
35
- externalErrorMessages?: string[];
26
+ placeholder?: string;
27
+ readonly?: boolean;
28
+ required?: boolean;
29
+ showSuccessMessages?: boolean;
30
+ title?: string | false;
36
31
  };
37
32
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
38
- validateOnSubmit: () => boolean;
33
+ validateOnSubmit: () => Promise<boolean>;
39
34
  reset: () => void;
40
35
  focus(): void;
41
36
  blur(): void;
@@ -60,29 +55,29 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
60
55
  modelValue: DateValue;
61
56
  bgColor: string;
62
57
  required: boolean;
58
+ showSuccessMessages: boolean;
59
+ disableErrorHandling: boolean;
63
60
  hint: string;
64
61
  noIcon: boolean;
62
+ isValidateOnBlur: boolean;
65
63
  customRules: ValidationRule[];
66
64
  customWarningRules: ValidationRule[];
67
- showSuccessMessages: boolean;
68
- isValidateOnBlur: boolean;
69
- disableErrorHandling: boolean;
70
65
  persistentHint: boolean;
71
66
  format: string;
72
67
  autoClamp: boolean;
73
68
  displayRange: boolean;
74
69
  dateFormatReturn: string;
75
- isOutlined: boolean;
76
- displayIcon: boolean;
77
70
  displayAppendIcon: boolean;
71
+ displayIcon: boolean;
78
72
  displayPrependIcon: boolean;
79
73
  externalErrorMessages: string[];
74
+ isOutlined: boolean;
80
75
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
81
76
  inputRef: ({
82
77
  $: import('vue').ComponentInternalInstance;
83
78
  $data: {};
84
79
  $props: {
85
- readonly modelValue?: string | number | null | undefined;
80
+ readonly modelValue?: string | number | null | undefined | undefined;
86
81
  readonly prependIcon?: import('../../../types/vuetifyTypes').IconType;
87
82
  readonly appendIcon?: import('../../../types/vuetifyTypes').IconType;
88
83
  readonly prependInnerIcon?: import('../../../types/vuetifyTypes').IconType;
@@ -94,11 +89,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
94
89
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
95
90
  readonly isClearable?: boolean | undefined;
96
91
  readonly showDivider?: boolean | undefined;
97
- readonly label?: string | undefined;
98
- readonly required?: boolean | undefined;
99
- readonly errorMessages?: string[] | null | undefined;
100
- readonly warningMessages?: string[] | null | undefined;
101
- readonly successMessages?: string[] | null | undefined;
92
+ readonly label: string;
102
93
  readonly readonly?: boolean | undefined;
103
94
  readonly isActive?: boolean | undefined;
104
95
  readonly baseColor?: string | undefined;
@@ -118,7 +109,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
118
109
  readonly hint?: string | undefined;
119
110
  readonly id?: string | undefined;
120
111
  readonly loading?: string | boolean | undefined;
121
- readonly maxErrors?: string | number | undefined;
122
112
  readonly maxWidth?: string | number | undefined;
123
113
  readonly messages?: string | string[] | undefined;
124
114
  readonly minWidth?: string | number | undefined;
@@ -132,9 +122,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
132
122
  readonly isReversed?: boolean | undefined;
133
123
  readonly role?: string | undefined;
134
124
  readonly rounded?: string | number | boolean | undefined;
135
- readonly hasError?: boolean | undefined;
136
- readonly hasWarning?: boolean | undefined;
137
- readonly hasSuccess?: boolean | undefined;
138
125
  readonly isOnSingleLine?: boolean | undefined;
139
126
  readonly suffix?: string | undefined;
140
127
  readonly theme?: string | undefined;
@@ -143,18 +130,30 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
143
130
  readonly width?: string | number | undefined;
144
131
  readonly displayAsterisk?: boolean | undefined;
145
132
  readonly noIcon?: boolean | undefined;
146
- readonly customRules?: ValidationRule[] | undefined;
147
- readonly customWarningRules?: ValidationRule[] | undefined;
148
- readonly customSuccessRules?: ValidationRule[] | undefined;
149
- readonly showSuccessMessages?: boolean | undefined;
150
- readonly isValidateOnBlur?: boolean | undefined;
151
- readonly disableErrorHandling?: boolean | undefined;
152
133
  readonly disableClickButton?: boolean | undefined;
153
134
  readonly autocomplete?: string | undefined;
154
135
  readonly helpText?: string | undefined;
155
136
  readonly maxlength?: string | number | undefined;
156
137
  readonly title?: string | false | undefined;
138
+ readonly required?: boolean | undefined;
139
+ readonly isValidateOnBlur?: boolean | undefined;
140
+ readonly showSuccessMessages?: boolean | undefined;
141
+ readonly disableErrorHandling?: boolean | undefined;
142
+ readonly useVuetifyValidation?: boolean | undefined;
143
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
144
+ readonly customRules?: ValidationRule[] | undefined;
145
+ readonly customWarningRules?: ValidationRule[] | undefined;
146
+ readonly customSuccessRules?: ValidationRule[] | undefined;
147
+ readonly errorMessages?: string[] | null | undefined;
148
+ readonly warningMessages?: string[] | null | undefined;
149
+ readonly successMessages?: string[] | null | undefined;
150
+ readonly hasError?: boolean | undefined;
151
+ readonly hasWarning?: boolean | undefined;
152
+ readonly hasSuccess?: boolean | undefined;
153
+ readonly maxErrors?: number | undefined;
157
154
  readonly onInput?: ((...args: any[]) => any) | undefined;
155
+ readonly onBlur?: ((...args: any[]) => any) | undefined;
156
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
158
157
  readonly onKeydown?: ((...args: any[]) => any) | undefined;
159
158
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
160
159
  readonly onClear?: ((...args: any[]) => any) | undefined;
@@ -376,9 +375,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
376
375
  details?: ((arg: import('vuetify/lib/components/VInput/VInput.mjs').VInputSlot) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
377
376
  [key: string]: any;
378
377
  }>[]) | undefined;
379
- message? /**
380
- * Safe validate utility
381
- */: ((arg: import('vuetify/lib/components/VMessages/VMessages.mjs').VMessageSlot) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
378
+ message?: ((arg: import('vuetify/lib/components/VMessages/VMessages.mjs').VMessageSlot) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
382
379
  [key: string]: any;
383
380
  }>[]) | undefined;
384
381
  }>;
@@ -537,16 +534,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
537
534
  hint?: string | undefined;
538
535
  "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
539
536
  "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
540
- }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "errorMessages" | "centerAffix" | "direction" | "maxErrors" | "messages" | "rules" | "isValid" | "resetValidation" | "validate" | "focused" | "glow" | "hideSpinButtons" | "persistentHint"> & import('vue').ShallowUnwrapRef<{
537
+ }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "validate" | "errorMessages" | "focused" | "maxErrors" | "rules" | "centerAffix" | "direction" | "messages" | "isValid" | "resetValidation" | "glow" | "hideSpinButtons" | "persistentHint"> & {
541
538
  reset: () => Promise<void>;
542
539
  resetValidation: () => Promise<void>;
543
540
  validate: (silent?: boolean) => Promise<string[]>;
544
- isValid: import('vue').ComputedRef<boolean | null>;
545
- errorMessages: import('vue').ComputedRef<string[]>;
546
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
541
+ isValid: boolean | null;
542
+ errorMessages: string[];
543
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
547
544
  modelValue?: unknown;
548
545
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
549
- }, 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<{
546
+ }, 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<{
550
547
  $: import('vue').ComponentInternalInstance;
551
548
  $data: {};
552
549
  $props: Partial<{
@@ -804,13 +801,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
804
801
  labelId?: string | undefined;
805
802
  } & {
806
803
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
807
- }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "centerAffix" | "focused" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & import('vue').ShallowUnwrapRef<{
808
- controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
809
- fieldIconColor: import('vue').ComputedRef<string | undefined>;
810
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
804
+ }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "focused" | "centerAffix" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & {
805
+ controlRef: HTMLElement | undefined;
806
+ fieldIconColor: string | undefined;
807
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
811
808
  modelValue?: unknown;
812
809
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
813
- }, 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}`> & {
810
+ }, 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}`> & {
814
811
  _allExposed: {
815
812
  reset: () => Promise<void>;
816
813
  resetValidation: () => Promise<void>;
@@ -1274,16 +1271,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1274
1271
  hint?: string | undefined;
1275
1272
  "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
1276
1273
  "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
1277
- }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "errorMessages" | "centerAffix" | "direction" | "maxErrors" | "messages" | "rules" | "isValid" | "resetValidation" | "validate" | "focused" | "glow" | "hideSpinButtons" | "persistentHint"> & import('vue').ShallowUnwrapRef<{
1274
+ }, "style" | "disabled" | "density" | "readonly" | "error" | "reset" | "validate" | "errorMessages" | "focused" | "maxErrors" | "rules" | "centerAffix" | "direction" | "messages" | "isValid" | "resetValidation" | "glow" | "hideSpinButtons" | "persistentHint"> & {
1278
1275
  reset: () => Promise<void>;
1279
1276
  resetValidation: () => Promise<void>;
1280
1277
  validate: (silent?: boolean) => Promise<string[]>;
1281
- isValid: import('vue').ComputedRef<boolean | null>;
1282
- errorMessages: import('vue').ComputedRef<string[]>;
1283
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1278
+ isValid: boolean | null;
1279
+ errorMessages: string[];
1280
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1284
1281
  modelValue?: unknown;
1285
1282
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
1286
- }, 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<{
1283
+ }, 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<{
1287
1284
  $: import('vue').ComponentInternalInstance;
1288
1285
  $data: {};
1289
1286
  $props: Partial<{
@@ -1541,13 +1538,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1541
1538
  labelId?: string | undefined;
1542
1539
  } & {
1543
1540
  "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1544
- }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "centerAffix" | "focused" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & import('vue').ShallowUnwrapRef<{
1545
- controlRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
1546
- fieldIconColor: import('vue').ComputedRef<string | undefined>;
1547
- }> & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1541
+ }, "reverse" | "flat" | "details" | "style" | "disabled" | "rounded" | "tile" | "variant" | "active" | "error" | "focused" | "centerAffix" | "glow" | "controlRef" | "fieldIconColor" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine"> & {
1542
+ controlRef: HTMLElement | undefined;
1543
+ fieldIconColor: string | undefined;
1544
+ } & import('vue').ComponentCustomProperties & import('vuetify/lib/util/defineComponent.mjs').GenericProps<{
1548
1545
  modelValue?: unknown;
1549
1546
  "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
1550
- }, 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}`> & {
1547
+ }, 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}`> & {
1551
1548
  _allExposed: {
1552
1549
  reset: () => Promise<void>;
1553
1550
  resetValidation: () => Promise<void>;
@@ -1596,10 +1593,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1596
1593
  $root: import('vue').ComponentPublicInstance | null;
1597
1594
  $parent: import('vue').ComponentPublicInstance | null;
1598
1595
  $host: Element | null;
1599
- $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);
1596
+ $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);
1600
1597
  $el: any;
1601
1598
  $options: import('vue').ComponentOptionsBase<Readonly<{
1602
- modelValue?: string | number | null;
1599
+ modelValue?: string | number | null | undefined;
1603
1600
  prependIcon?: import('../../../types/vuetifyTypes').IconType;
1604
1601
  appendIcon?: import('../../../types/vuetifyTypes').IconType;
1605
1602
  prependInnerIcon?: import('../../../types/vuetifyTypes').IconType;
@@ -1612,10 +1609,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1612
1609
  isClearable?: boolean;
1613
1610
  showDivider?: boolean;
1614
1611
  label?: string;
1615
- required?: boolean;
1616
- errorMessages?: string[] | null;
1617
- warningMessages?: string[] | null;
1618
- successMessages?: string[] | null;
1619
1612
  readonly?: boolean;
1620
1613
  isActive?: boolean;
1621
1614
  baseColor?: string;
@@ -1635,7 +1628,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1635
1628
  hint?: string;
1636
1629
  id?: string;
1637
1630
  loading?: string | boolean;
1638
- maxErrors?: string | number;
1639
1631
  maxWidth?: string | number;
1640
1632
  messages?: string | string[];
1641
1633
  minWidth?: string | number;
@@ -1649,9 +1641,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1649
1641
  isReversed?: boolean;
1650
1642
  role?: string;
1651
1643
  rounded?: string | number | boolean;
1652
- hasError?: boolean;
1653
- hasWarning?: boolean;
1654
- hasSuccess?: boolean;
1655
1644
  isOnSingleLine?: boolean;
1656
1645
  suffix?: string;
1657
1646
  theme?: string;
@@ -1660,40 +1649,26 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1660
1649
  width?: string | number;
1661
1650
  displayAsterisk?: boolean;
1662
1651
  noIcon?: boolean;
1663
- customRules?: ValidationRule[];
1664
- customWarningRules?: ValidationRule[];
1665
- customSuccessRules?: ValidationRule[];
1666
- showSuccessMessages?: boolean;
1667
- isValidateOnBlur?: boolean;
1668
- disableErrorHandling?: boolean;
1669
1652
  disableClickButton?: boolean;
1670
1653
  autocomplete?: string;
1671
1654
  helpText?: string;
1672
1655
  maxlength?: string | number;
1673
1656
  title?: string | false;
1674
- }> & Readonly<{
1657
+ } & import('../../../composables/unifyValidation/useValidation').FieldValidationProps> & Readonly<{
1675
1658
  onInput?: ((...args: any[]) => any) | undefined;
1659
+ onBlur?: ((...args: any[]) => any) | undefined;
1660
+ onFocus?: ((...args: any[]) => any) | undefined;
1676
1661
  onKeydown?: ((...args: any[]) => any) | undefined;
1677
1662
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1678
1663
  onClear?: ((...args: any[]) => any) | undefined;
1679
1664
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1680
1665
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1681
1666
  }>, {
1682
- validation: {
1683
- errors: import('vue').Ref<string[], string[]>;
1684
- warnings: import('vue').Ref<string[], string[]>;
1685
- successes: import('vue').Ref<string[], string[]>;
1686
- hasError: import('vue').ComputedRef<boolean>;
1687
- hasWarning: import('vue').ComputedRef<boolean>;
1688
- hasSuccess: import('vue').ComputedRef<boolean>;
1689
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => ValidationResult;
1690
- validateOnSubmit: () => Promise<boolean>;
1691
- clearValidation: () => void;
1692
- };
1693
- validateOnSubmit: () => boolean;
1694
- checkErrorOnBlur: () => void;
1667
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
1695
1668
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1696
1669
  input: (...args: any[]) => void;
1670
+ blur: (...args: any[]) => void;
1671
+ focus: (...args: any[]) => void;
1697
1672
  keydown: (...args: any[]) => void;
1698
1673
  "update:modelValue": (...args: any[]) => void;
1699
1674
  clear: (...args: any[]) => void;
@@ -1723,7 +1698,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1723
1698
  modelValue: string | number | null;
1724
1699
  bgColor: string;
1725
1700
  isActive: boolean;
1701
+ required: boolean;
1726
1702
  prefix: string;
1703
+ showSuccessMessages: boolean;
1704
+ disableErrorHandling: boolean;
1705
+ errorMessages: string[] | null;
1706
+ maxErrors: number;
1727
1707
  prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1728
1708
  appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1729
1709
  prependTooltip: string;
@@ -1731,9 +1711,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1731
1711
  tooltipLocation: "top" | "bottom" | "start" | "end";
1732
1712
  variantStyle: import('../../../types/vuetifyTypes').VariantStyle;
1733
1713
  isClearable: boolean;
1734
- errorMessages: string[] | null;
1735
- warningMessages: string[] | null;
1736
- successMessages: string[] | null;
1737
1714
  centerAffix: boolean;
1738
1715
  counter: string | number | boolean;
1739
1716
  counterValue: number | ((value: any) => number);
@@ -1745,30 +1722,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1745
1722
  areDetailsHidden: boolean | "auto";
1746
1723
  areSpinButtonsHidden: boolean;
1747
1724
  hint: string;
1748
- maxErrors: string | number;
1749
1725
  messages: string | string[];
1750
1726
  displayPersistentClear: boolean;
1751
1727
  displayPersistentCounter: boolean;
1752
1728
  displayPersistentHint: boolean;
1753
1729
  displayPersistentPlaceholder: boolean;
1754
1730
  isReversed: boolean;
1755
- hasError: boolean;
1756
- hasWarning: boolean;
1757
1731
  isOnSingleLine: boolean;
1758
1732
  suffix: string;
1759
1733
  isTiled: boolean;
1760
1734
  displayAsterisk: boolean;
1761
1735
  noIcon: boolean;
1762
- customRules: ValidationRule[];
1763
- customWarningRules: ValidationRule[];
1764
- customSuccessRules: ValidationRule[];
1765
- showSuccessMessages: boolean;
1766
- isValidateOnBlur: boolean;
1767
- disableErrorHandling: boolean;
1768
1736
  disableClickButton: boolean;
1769
1737
  autocomplete: string;
1770
1738
  helpText: string;
1771
1739
  maxlength: string | number;
1740
+ isValidateOnBlur: boolean;
1741
+ useVuetifyValidation: boolean;
1742
+ customRules: ValidationRule[];
1743
+ customWarningRules: ValidationRule[];
1744
+ customSuccessRules: ValidationRule[];
1745
+ warningMessages: string[] | null;
1746
+ successMessages: string[] | null;
1747
+ hasError: boolean;
1748
+ hasWarning: boolean;
1749
+ hasSuccess: boolean;
1772
1750
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1773
1751
  beforeCreate?: (() => void) | (() => void)[];
1774
1752
  created?: (() => void) | (() => void)[];
@@ -1813,7 +1791,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1813
1791
  modelValue: string | number | null;
1814
1792
  bgColor: string;
1815
1793
  isActive: boolean;
1794
+ required: boolean;
1816
1795
  prefix: string;
1796
+ showSuccessMessages: boolean;
1797
+ disableErrorHandling: boolean;
1798
+ errorMessages: string[] | null;
1799
+ maxErrors: number;
1817
1800
  prependInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1818
1801
  appendInnerIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
1819
1802
  prependTooltip: string;
@@ -1821,9 +1804,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1821
1804
  tooltipLocation: "top" | "bottom" | "start" | "end";
1822
1805
  variantStyle: import('../../../types/vuetifyTypes').VariantStyle;
1823
1806
  isClearable: boolean;
1824
- errorMessages: string[] | null;
1825
- warningMessages: string[] | null;
1826
- successMessages: string[] | null;
1827
1807
  centerAffix: boolean;
1828
1808
  counter: string | number | boolean;
1829
1809
  counterValue: number | ((value: any) => number);
@@ -1835,32 +1815,33 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1835
1815
  areDetailsHidden: boolean | "auto";
1836
1816
  areSpinButtonsHidden: boolean;
1837
1817
  hint: string;
1838
- maxErrors: string | number;
1839
1818
  messages: string | string[];
1840
1819
  displayPersistentClear: boolean;
1841
1820
  displayPersistentCounter: boolean;
1842
1821
  displayPersistentHint: boolean;
1843
1822
  displayPersistentPlaceholder: boolean;
1844
1823
  isReversed: boolean;
1845
- hasError: boolean;
1846
- hasWarning: boolean;
1847
1824
  isOnSingleLine: boolean;
1848
1825
  suffix: string;
1849
1826
  isTiled: boolean;
1850
1827
  displayAsterisk: boolean;
1851
1828
  noIcon: boolean;
1852
- customRules: ValidationRule[];
1853
- customWarningRules: ValidationRule[];
1854
- customSuccessRules: ValidationRule[];
1855
- showSuccessMessages: boolean;
1856
- isValidateOnBlur: boolean;
1857
- disableErrorHandling: boolean;
1858
1829
  disableClickButton: boolean;
1859
1830
  autocomplete: string;
1860
1831
  helpText: string;
1861
1832
  maxlength: string | number;
1833
+ isValidateOnBlur: boolean;
1834
+ useVuetifyValidation: boolean;
1835
+ customRules: ValidationRule[];
1836
+ customWarningRules: ValidationRule[];
1837
+ customSuccessRules: ValidationRule[];
1838
+ warningMessages: string[] | null;
1839
+ successMessages: string[] | null;
1840
+ hasError: boolean;
1841
+ hasWarning: boolean;
1842
+ hasSuccess: boolean;
1862
1843
  }> & Omit<Readonly<{
1863
- modelValue?: string | number | null;
1844
+ modelValue?: string | number | null | undefined;
1864
1845
  prependIcon?: import('../../../types/vuetifyTypes').IconType;
1865
1846
  appendIcon?: import('../../../types/vuetifyTypes').IconType;
1866
1847
  prependInnerIcon?: import('../../../types/vuetifyTypes').IconType;
@@ -1873,10 +1854,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1873
1854
  isClearable?: boolean;
1874
1855
  showDivider?: boolean;
1875
1856
  label?: string;
1876
- required?: boolean;
1877
- errorMessages?: string[] | null;
1878
- warningMessages?: string[] | null;
1879
- successMessages?: string[] | null;
1880
1857
  readonly?: boolean;
1881
1858
  isActive?: boolean;
1882
1859
  baseColor?: string;
@@ -1896,7 +1873,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1896
1873
  hint?: string;
1897
1874
  id?: string;
1898
1875
  loading?: string | boolean;
1899
- maxErrors?: string | number;
1900
1876
  maxWidth?: string | number;
1901
1877
  messages?: string | string[];
1902
1878
  minWidth?: string | number;
@@ -1910,9 +1886,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1910
1886
  isReversed?: boolean;
1911
1887
  role?: string;
1912
1888
  rounded?: string | number | boolean;
1913
- hasError?: boolean;
1914
- hasWarning?: boolean;
1915
- hasSuccess?: boolean;
1916
1889
  isOnSingleLine?: boolean;
1917
1890
  suffix?: string;
1918
1891
  theme?: string;
@@ -1921,39 +1894,23 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1921
1894
  width?: string | number;
1922
1895
  displayAsterisk?: boolean;
1923
1896
  noIcon?: boolean;
1924
- customRules?: ValidationRule[];
1925
- customWarningRules?: ValidationRule[];
1926
- customSuccessRules?: ValidationRule[];
1927
- showSuccessMessages?: boolean;
1928
- isValidateOnBlur?: boolean;
1929
- disableErrorHandling?: boolean;
1930
1897
  disableClickButton?: boolean;
1931
1898
  autocomplete?: string;
1932
1899
  helpText?: string;
1933
1900
  maxlength?: string | number;
1934
1901
  title?: string | false;
1935
- }> & Readonly<{
1902
+ } & import('../../../composables/unifyValidation/useValidation').FieldValidationProps> & Readonly<{
1936
1903
  onInput?: ((...args: any[]) => any) | undefined;
1904
+ onBlur?: ((...args: any[]) => any) | undefined;
1905
+ onFocus?: ((...args: any[]) => any) | undefined;
1937
1906
  onKeydown?: ((...args: any[]) => any) | undefined;
1938
1907
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1939
1908
  onClear?: ((...args: any[]) => any) | undefined;
1940
1909
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1941
1910
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1942
- }>, "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<{
1943
- validation: {
1944
- errors: import('vue').Ref<string[], string[]>;
1945
- warnings: import('vue').Ref<string[], string[]>;
1946
- successes: import('vue').Ref<string[], string[]>;
1947
- hasError: import('vue').ComputedRef<boolean>;
1948
- hasWarning: import('vue').ComputedRef<boolean>;
1949
- hasSuccess: import('vue').ComputedRef<boolean>;
1950
- validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => ValidationResult;
1951
- validateOnSubmit: () => Promise<boolean>;
1952
- clearValidation: () => void;
1953
- };
1954
- validateOnSubmit: () => boolean;
1955
- checkErrorOnBlur: () => void;
1956
- }> & {} & import('vue').ComponentCustomProperties & {} & {
1911
+ }>, "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")> & {
1912
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
1913
+ } & {} & import('vue').ComponentCustomProperties & {} & {
1957
1914
  $slots: {
1958
1915
  prepend?(_: {}): any;
1959
1916
  append?(_: {}): any;
@@ -17,4 +17,5 @@ export { useMonthButtonCustomization } from './useMonthButtonCustomization';
17
17
  export { useAsteriskDisplay } from './useAsteriskDisplay';
18
18
  export { useDatePickerState } from './useDatePickerState';
19
19
  export { useHolidayHighlighting } from './useHolidayHighlighting';
20
+ export { useDatePickerFocusTrap } from './useDatePickerFocusTrap';
20
21
  export * from './useCalendarKeyboardNavigation';
@@ -0,0 +1,11 @@
1
+ import { Ref, ComponentPublicInstance } from 'vue';
2
+ interface UseDatePickerFocusTrapOptions {
3
+ isDatePickerVisible: Ref<boolean>;
4
+ datePickerRef: Ref<ComponentPublicInstance | null>;
5
+ onClose?: () => void;
6
+ restoreFocus?: () => void;
7
+ }
8
+ export declare function useDatePickerFocusTrap(options: UseDatePickerFocusTrapOptions): {
9
+ handleMenuKeydown: (event: KeyboardEvent) => void;
10
+ };
11
+ export {};
@@ -15,13 +15,13 @@ export interface UseDateTextFieldManualValidationOptions {
15
15
  };
16
16
  isDateComplete: (value: string) => boolean;
17
17
  parseDate: (dateStr: string, format: string) => Date | null;
18
- validateField: (value: unknown, rules?: any[], warningRules?: any[]) => ValidationResult;
18
+ validateField: (value: unknown, rules?: any[], warningRules?: any[]) => Promise<ValidationResult>;
19
19
  }
20
20
  export interface UseDateTextFieldSubmitOptions {
21
21
  isValidating: Ref<boolean>;
22
22
  hasInteracted: Ref<boolean>;
23
23
  inputValue: Ref<string>;
24
- runRules: (value: string) => boolean;
24
+ runRules: (value: string) => Promise<boolean>;
25
25
  }
26
26
  export interface UseDateTextFieldResetOptions {
27
27
  clearValidation: () => void;
@@ -54,8 +54,8 @@ export interface UseDateTextFieldOptions {
54
54
  */
55
55
  export declare const useDateTextField: (options: UseDateTextFieldOptions) => {
56
56
  clampIfNeeded: (raw: string) => string;
57
- validateManualInput: (value: string) => boolean;
58
- validateOnSubmit: () => boolean;
57
+ validateManualInput: (value: string) => boolean | Promise<boolean>;
58
+ validateOnSubmit: () => Promise<boolean>;
59
59
  reset: () => void;
60
60
  };
61
61
  export default useDateTextField;
@@ -31,11 +31,11 @@ export declare const useDateValidation: (options: {
31
31
  currentRangeIsValid: Ref<boolean>;
32
32
  getRangeValidationError: Ref<string>;
33
33
  clearValidation: () => void;
34
- validateField: (value: any, rules?: any[], warningRules?: any[]) => ValidationResult;
34
+ validateField: (value: any, rules?: any[], warningRules?: any[]) => ValidationResult | Promise<ValidationResult>;
35
35
  errors: Ref<string[]>;
36
36
  warnings: Ref<string[]>;
37
37
  successes: Ref<string[]>;
38
38
  }) => {
39
- validateDates: (forceValidation?: boolean) => ValidationResult;
40
- validateOnSubmit: () => ValidationResult;
39
+ validateDates: (forceValidation?: boolean) => ValidationResult | Promise<ValidationResult>;
40
+ validateOnSubmit: () => ValidationResult | Promise<ValidationResult>;
41
41
  };