@cnamts/synapse 1.0.26 → 1.0.27

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 (253) hide show
  1. package/dist/{AutocompleteFilter-BPR-a55G.js → AutocompleteFilter-C9eLKyW8.js} +3 -3
  2. package/dist/{DateFilter-CknrJWs2.js → DateFilter-y-GLkAkn.js} +8 -8
  3. package/dist/{NumberFilter-DJ-yNlzv.js → NumberFilter-DN6hIBS7.js} +1 -1
  4. package/dist/{PeriodFilter-CiB5Oa9Z.js → PeriodFilter-MoUUp9qS.js} +1 -1
  5. package/dist/{SelectFilter-EiafX97M.js → SelectFilter-bCbrdLmu.js} +1 -1
  6. package/dist/{TextFilter-BzOmpdxj.js → TextFilter-CvjgEaoM.js} +4 -4
  7. package/dist/apLightTheme2026-ug4Y23ns.js +611 -0
  8. package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +2369 -353
  9. package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +18 -0
  10. package/dist/components/Customs/Selects/SyAutocomplete/utils/ariaManager.d.ts +1 -1
  11. package/dist/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.d.ts +3 -1
  12. package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +9 -10
  13. package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +1 -0
  14. package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +15 -0
  15. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +3 -3
  16. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +3 -3
  17. package/dist/components/Customs/SyIconButton/SyIconButton.d.ts +18 -0
  18. package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +20 -38
  19. package/dist/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.d.ts +50 -0
  20. package/dist/components/Customs/SyTextField/SyTextField.d.ts +6 -6
  21. package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +147 -136
  22. package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +62 -54
  23. package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +27 -24
  24. package/dist/components/DatePicker/composables/index.d.ts +1 -0
  25. package/dist/components/DatePicker/composables/useDatePickerValidationBridge.d.ts +51 -0
  26. package/dist/components/MonthPicker/MonthPicker.d.ts +23 -23
  27. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +23 -23
  28. package/dist/components/NirField/NirField.d.ts +56 -56
  29. package/dist/components/PasswordField/PasswordField.d.ts +3 -3
  30. package/dist/components/PeriodField/PeriodField.d.ts +236 -212
  31. package/dist/components/PhoneField/PhoneField.d.ts +23 -23
  32. package/dist/components/SyTextArea/SyTextArea.d.ts +25 -15
  33. package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +20 -0
  34. package/dist/components/SyTextArea/locales.d.ts +1 -0
  35. package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +1 -0
  36. package/dist/components/Tables/SyTable/SyTable.d.ts +1 -0
  37. package/dist/components/Tables/common/SyTablePagination.d.ts +25 -25
  38. package/dist/components/Tables/common/types.d.ts +2 -0
  39. package/dist/components/index.d.ts +1 -0
  40. package/dist/composables/unifyValidation/documentationValidationProps.d.ts +160 -160
  41. package/dist/composables/unifyValidation/useValidation.d.ts +16 -14
  42. package/dist/design-system-v3.js +81 -80
  43. package/dist/designTokens/tokens/amelipro/apContextual.d.ts +6 -6
  44. package/dist/designTokens/tokens/amelipro/apDarkTheme.d.ts +3 -1
  45. package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +53 -100
  46. package/dist/designTokens/tokens/baseContextualTokens.d.ts +0 -6
  47. package/dist/designTokens/tokens/baseTokens.d.ts +232 -0
  48. package/dist/designTokens/tokens/cnam/cnamContextual.d.ts +6 -6
  49. package/dist/designTokens/tokens/cnam/cnamDarkTheme.d.ts +1 -1
  50. package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +57 -101
  51. package/dist/designTokens/tokens/pa/paContextual.d.ts +0 -6
  52. package/dist/designTokens/tokens/pa/paDarkTheme.d.ts +1 -1
  53. package/dist/designTokens/tokens/pa/paLightTheme.d.ts +53 -97
  54. package/dist/designTokens/tokens/pa/paSemantic.d.ts +1 -0
  55. package/dist/designTokens/tokens/semanticTokens.d.ts +112 -0
  56. package/dist/main-CI6Q9nmO.js +39234 -0
  57. package/dist/synapse.css +1 -1
  58. package/dist/vuetifyConfig.js +208 -72
  59. package/package.json +4 -2
  60. package/src/assets/overrides/_icons.scss +5 -4
  61. package/src/assets/overrides/_otp.scss +4 -4
  62. package/src/assets/overrides/_typography.scss +2 -1
  63. package/src/assets/overrides/_utilities.scss +1 -42
  64. package/src/components/ChipList/ChipList.vue +30 -18
  65. package/src/components/ChipList/tests/chipList.spec.ts +4 -4
  66. package/src/components/CopyBtn/CopyBtn.vue +2 -2
  67. package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +4 -0
  68. package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +7 -6
  69. package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +223 -0
  70. package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.stories.ts +283 -351
  71. package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +182 -218
  72. package/src/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.ts +101 -0
  73. package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +761 -1
  74. package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +3 -1
  75. package/src/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.ts +79 -5
  76. package/src/components/Customs/Selects/SyAutocomplete/validation/Validation.stories.ts +1029 -0
  77. package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +9 -491
  78. package/src/components/Customs/Selects/SySelect/SySelect.vue +46 -79
  79. package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +3 -0
  80. package/src/components/Customs/Selects/SySelect/composables/useSySelectValidation.ts +64 -0
  81. package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +196 -0
  82. package/src/components/Customs/Selects/SySelect/validation/Validation.stories.ts +1026 -0
  83. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +18 -7
  84. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +2 -2
  85. package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +8 -8
  86. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +8 -8
  87. package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +1 -1
  88. package/src/components/Customs/SyIcon/accessibilite/Accessibility.mdx +0 -6
  89. package/src/components/Customs/SyIcon/utils/tests/iconUtils.spec.ts +107 -0
  90. package/src/components/Customs/SyRadioGroup/SyRadioGroup.mdx +2 -2
  91. package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +395 -200
  92. package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +82 -127
  93. package/src/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.ts +127 -0
  94. package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.a11y.spec.ts +93 -1
  95. package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.spec.ts +146 -9
  96. package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.visual.cy.ts +165 -0
  97. package/src/components/Customs/SyRadioGroup/validation/Validation.stories.ts +773 -0
  98. package/src/components/Customs/SyTabs/config.ts +3 -3
  99. package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +265 -0
  100. package/src/components/Customs/SyTabs/tests/useTabTransition.spec.ts +188 -0
  101. package/src/components/Customs/SyTextField/SyTextField.stories.ts +10 -29
  102. package/src/components/Customs/SyTextField/SyTextField.vue +23 -15
  103. package/src/components/DataList/DataList.stories.ts +1 -1
  104. package/src/components/DataListItem/tests/DataListItem.spec.ts +3 -1
  105. package/src/components/DatePicker/CalendarMode/DatePicker.vue +37 -142
  106. package/src/components/DatePicker/CalendarMode/tests/DatePicker.coverage.spec.ts +156 -0
  107. package/src/components/DatePicker/CalendarMode/tests/DatePicker.spec.ts +495 -4
  108. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +47 -66
  109. package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +206 -0
  110. package/src/components/DatePicker/ComplexDatePicker/tests/bridge-integration.regression.spec.ts +210 -0
  111. package/src/components/DatePicker/ComplexDatePicker/tests/calendar-navigation.regression.spec.ts +214 -0
  112. package/src/components/DatePicker/ComplexDatePicker/tests/validation-cross.regression.spec.ts +194 -0
  113. package/src/components/DatePicker/ComplexDatePicker/tests/validation-success-messages.regression.spec.ts +83 -0
  114. package/src/components/DatePicker/DateTextInput/DateTextInput.vue +129 -54
  115. package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +320 -0
  116. package/src/components/DatePicker/composables/index.ts +1 -0
  117. package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +360 -0
  118. package/src/components/DatePicker/composables/tests/useDatePickerValidationBridge.spec.ts +129 -0
  119. package/src/components/DatePicker/composables/useDatePickerValidationBridge.ts +205 -0
  120. package/src/components/DatePicker/docExamples/BidirectionalComplexValidation.vue +1 -1
  121. package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +1 -1
  122. package/src/components/DatePicker/tests/exposed-methods.coverage.spec.ts +75 -0
  123. package/src/components/DialogBox/DialogBox.vue +1 -1
  124. package/src/components/FileList/UploadItem/UploadItem.vue +4 -4
  125. package/src/components/FileUpload/FileUpload.vue +2 -2
  126. package/src/components/FileUpload/FileUploadContent.vue +1 -1
  127. package/src/components/FilterInline/FilterInline.mdx +2 -2
  128. package/src/components/FilterSideBar/FilterSideBar.stories.ts +1 -1
  129. package/src/components/FilterSideBar/FilterSideBar.vue +2 -2
  130. package/src/components/FooterBar/FooterBar.vue +7 -7
  131. package/src/components/FranceConnectBtn/FranceConnectBtn.vue +1 -1
  132. package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +2 -2
  133. package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +7 -7
  134. package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +2 -2
  135. package/src/components/HeaderLoading/tests/HeaderLoading.spec.ts +87 -8
  136. package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +3 -3
  137. package/src/components/HeaderNavigationBar/HorizontalNavbar/tests/HorizontalNavbar.spec.ts +589 -0
  138. package/src/components/HeaderToolbar/tests/HeaderToolBar.spec.ts +153 -1
  139. package/src/components/HeaderToolbar/tests/useMobileRightMenu.spec.ts +258 -0
  140. package/src/components/LogoBrandSection/tests/LogoBrandSection.spec.ts +2 -2
  141. package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +1 -1
  142. package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +184 -0
  143. package/src/components/MonthPicker/MonthPickerVisual/MonthSelector.vue +3 -3
  144. package/src/components/MonthPicker/MonthPickerVisual/VisualPickerFooter.vue +1 -1
  145. package/src/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.vue +2 -2
  146. package/src/components/MonthPicker/MonthPickerVisual/YearSelector.vue +1 -1
  147. package/src/components/NirField/NirField.vue +3 -3
  148. package/src/components/NotificationBar/Notification/Notification.vue +12 -12
  149. package/src/components/NotificationBar/NotificationBar.stories.ts +8 -8
  150. package/src/components/PaginatedTable/Pagination.vue +2 -2
  151. package/src/components/PasswordField/PasswordField.vue +8 -8
  152. package/src/components/PasswordField/tests/PasswordField.spec.ts +3 -3
  153. package/src/components/RangeField/RangeSlider/RangeSlider.vue +2 -2
  154. package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -1
  155. package/src/components/StatusPage/tests/StatusPage.spec.ts +149 -0
  156. package/src/components/SubHeader/SubHeader.vue +1 -1
  157. package/src/components/SyAlert/SyAlert.vue +23 -23
  158. package/src/components/SyTextArea/SyTextArea.stories.ts +177 -131
  159. package/src/components/SyTextArea/SyTextArea.vue +235 -83
  160. package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +81 -0
  161. package/src/components/SyTextArea/locales.ts +1 -0
  162. package/src/components/SyTextArea/tests/SyTextArea.spec.ts +449 -1
  163. package/src/components/SyTextArea/useDefaultValidationRules.ts +2 -7
  164. package/src/components/SyTextArea/validation/Validation.stories.ts +856 -0
  165. package/src/components/TableToolbar/TableToolbar.vue +6 -6
  166. package/src/components/TableToolbar/accessibilite/Accessibility.mdx +81 -7
  167. package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +163 -0
  168. package/src/components/Tables/SyServerTable/SyServerTable.vue +2 -1
  169. package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
  170. package/src/components/Tables/SyTable/SyTable.stories.ts +94 -0
  171. package/src/components/Tables/SyTable/SyTable.vue +2 -1
  172. package/src/components/Tables/SyTable/tests/SyTable.spec.ts +64 -0
  173. package/src/components/Tables/common/TableHeader.vue +2 -2
  174. package/src/components/Tables/common/filters/logics/tests/NumberFilterLogic.spec.ts +176 -0
  175. package/src/components/Tables/common/filters/logics/tests/SelectFilterLogic.spec.ts +111 -0
  176. package/src/components/Tables/common/tableStyles.scss +6 -6
  177. package/src/components/Tables/common/types.ts +2 -0
  178. package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +2 -0
  179. package/src/components/index.ts +1 -0
  180. package/src/composables/date/tests/useDateFormatDayjs.spec.ts +31 -0
  181. package/src/composables/date/tests/useHolidayDay.spec.ts +109 -0
  182. package/src/composables/rules/tests/useFieldValidation.spec.ts +374 -0
  183. package/src/composables/tests/useError.spec.ts +30 -0
  184. package/src/composables/tests/useFormFieldErrorHandling.spec.ts +234 -0
  185. package/src/composables/unifyValidation/documentationValidationProps.ts +5 -5
  186. package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +177 -0
  187. package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +30 -0
  188. package/src/composables/unifyValidation/tests/useValidation.spec.ts +6 -2
  189. package/src/composables/unifyValidation/useCustomValidation.ts +19 -9
  190. package/src/composables/unifyValidation/useValidation.ts +18 -21
  191. package/src/composables/useFilterable/useFilterable.spec.ts +42 -0
  192. package/src/composables/useFilterable/useFilterable.ts +11 -7
  193. package/src/composables/useFormFieldErrorHandling.ts +2 -2
  194. package/src/composantsVuetify/VBtn/VBtn.mdx +9 -39
  195. package/src/composantsVuetify/VBtn/v-btn.stories.ts +26 -86
  196. package/src/designTokens/tokens/amelipro/apContextual.ts +6 -0
  197. package/src/designTokens/tokens/amelipro/apDarkTheme.ts +2 -2
  198. package/src/designTokens/tokens/amelipro/apLightTheme.ts +72 -103
  199. package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
  200. package/src/designTokens/tokens/baseContextualTokens.ts +1 -6
  201. package/src/designTokens/tokens/baseTokens.ts +232 -0
  202. package/src/designTokens/tokens/cnam/cnamContextual.ts +6 -0
  203. package/src/designTokens/tokens/cnam/cnamDarkTheme.ts +2 -2
  204. package/src/designTokens/tokens/cnam/cnamLightTheme.ts +76 -104
  205. package/src/designTokens/tokens/pa/paDarkTheme.ts +2 -2
  206. package/src/designTokens/tokens/pa/paLightTheme.ts +73 -99
  207. package/src/designTokens/tokens/pa/paSemantic.ts +2 -0
  208. package/src/designTokens/tokens/semanticTokens.ts +114 -0
  209. package/src/stories/Components/Components.stories.ts +7 -3
  210. package/src/stories/DesignTokens/ColorIntegrationExample.vue +2 -3
  211. package/src/stories/DesignTokens/Colors.mdx +6 -8
  212. package/src/stories/DesignTokens/colors.stories.ts +244 -1081
  213. package/src/utils/amelipro/toKebabCase/tests/toKebabCase.spec.ts +52 -0
  214. package/src/utils/formatNir/tests/formatNir.spec.ts +34 -0
  215. package/src/utils/tests/insertAt.spec.ts +44 -0
  216. package/dist/apLightTheme-DS0Uy44H.js +0 -954
  217. package/dist/components/RatingPicker/tests/RatingPicker.a11y.spect.d.ts +0 -1
  218. package/dist/main-BsJ9ec3i.js +0 -38954
  219. package/src/components/BackBtn/tests/__snapshots__/back-btn-custom-bg.snap.png +0 -0
  220. package/src/components/BackBtn/tests/__snapshots__/back-btn-dark-mode.snap.png +0 -0
  221. package/src/components/BackBtn/tests/__snapshots__/back-btn-default.snap.png +0 -0
  222. package/src/components/BackBtn/tests/__snapshots__/back-btn-no-icon.snap.png +0 -0
  223. package/src/components/DatePicker/CalendarMode/tests/DatePicker.events.spec.ts +0 -178
  224. package/src/components/DialogBox/tests/__snapshots__/dialog-box-custom-texts.snap.png +0 -0
  225. package/src/components/DialogBox/tests/__snapshots__/dialog-box-default.snap.png +0 -0
  226. package/src/components/DialogBox/tests/__snapshots__/dialog-box-no-actions.snap.png +0 -0
  227. package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated-submenu-open.snap.png +0 -0
  228. package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated.snap.png +0 -0
  229. package/src/components/HeaderBar/tests/__snapshots__/header-bar-custom-width.snap.png +0 -0
  230. package/src/components/HeaderBar/tests/__snapshots__/header-bar-default.snap.png +0 -0
  231. package/src/components/HeaderBar/tests/__snapshots__/header-bar-no-sticky.snap.png +0 -0
  232. package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-prepend.snap.png +0 -0
  233. package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-side.snap.png +0 -0
  234. package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-subtitle.snap.png +0 -0
  235. package/src/components/Logo/tests/__snapshots__/logo-avatar.snap.png +0 -0
  236. package/src/components/Logo/tests/__snapshots__/logo-dark.snap.png +0 -0
  237. package/src/components/Logo/tests/__snapshots__/logo-default.snap.png +0 -0
  238. package/src/components/Logo/tests/__snapshots__/logo-no-organism.snap.png +0 -0
  239. package/src/components/Logo/tests/__snapshots__/logo-no-signature.snap.png +0 -0
  240. package/src/components/Logo/tests/__snapshots__/logo-risque-pro.snap.png +0 -0
  241. package/src/components/RangeField/tests/__snapshots__/range-field-custom-bg.snap.png +0 -0
  242. package/src/components/RangeField/tests/__snapshots__/range-field-custom-range.snap.png +0 -0
  243. package/src/components/RangeField/tests/__snapshots__/range-field-default.snap.png +0 -0
  244. package/src/components/RangeField/tests/__snapshots__/range-field-step.snap.png +0 -0
  245. package/src/components/RangeField/tests/__snapshots__/range-field-with-label.snap.png +0 -0
  246. package/src/components/SyAlert/tests/__snapshots__/sy-alert-closable.snap.png +0 -0
  247. package/src/components/SyAlert/tests/__snapshots__/sy-alert-error.snap.png +0 -0
  248. package/src/components/SyAlert/tests/__snapshots__/sy-alert-info.snap.png +0 -0
  249. package/src/components/SyAlert/tests/__snapshots__/sy-alert-success.snap.png +0 -0
  250. package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-outlined.snap.png +0 -0
  251. package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-tonal.snap.png +0 -0
  252. package/src/components/SyAlert/tests/__snapshots__/sy-alert-warning.snap.png +0 -0
  253. /package/src/components/RatingPicker/tests/{RatingPicker.a11y.spect.ts → RatingPicker.a11y.spec.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { nextTick, ComponentPublicInstance, Ref } from 'vue';
1
+ import { ComponentPublicInstance, nextTick, Ref } from 'vue';
2
2
  import { DateInput, DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
3
3
  type __VLS_Props = {
4
4
  autoClamp?: boolean;
@@ -63,9 +63,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
63
63
  currentMonth: Ref<string | null, string | null>;
64
64
  currentMonthName: Ref<string | null, string | null>;
65
65
  toggleDatePicker: () => void;
66
- validateField: (value: unknown, rules?: import('../../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../../composables/validation/useValidation').ValidationRule[]) => import('../../../composables/validation/useValidation').ValidationResult | Promise<import('../../../composables/validation/useValidation').ValidationResult>;
66
+ validateField: (value: unknown, rules?: import('../../../composables/validation/useValidation').ValidationRule[], warningRules?: import('../../../composables/validation/useValidation').ValidationRule[], successRules?: import('../../../composables/validation/useValidation').ValidationRule[]) => Promise<import('../../../composables/validation/useValidation').ValidationResult> | import('../../../composables/validation/useValidation').ValidationResult;
67
67
  clearValidation: () => void;
68
- validateDates: (forceValidation?: boolean) => import('../../../composables/validation/useValidation').ValidationResult | Promise<import('../../../composables/validation/useValidation').ValidationResult>;
68
+ validateDates: (forceValidation?: boolean) => import('../../../composables/validation/useValidation').ValidationResult | Promise<import('../../../composables/validation/useValidation').ValidationResult | undefined>;
69
69
  formatDateInput: (input: string, cursorPosition?: number) => {
70
70
  formatted: string;
71
71
  cursorPos: number;
@@ -109,7 +109,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
109
109
  hint: string;
110
110
  displayAsterisk: boolean;
111
111
  noIcon: boolean;
112
- isValidateOnBlur: boolean;
113
112
  customRules: {
114
113
  type: string;
115
114
  options: any;
@@ -118,6 +117,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
118
117
  type: string;
119
118
  options: any;
120
119
  }[];
120
+ isValidateOnBlur: boolean;
121
121
  persistentHint: boolean;
122
122
  format: string;
123
123
  autoClamp: boolean;
@@ -168,6 +168,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
168
168
  required?: boolean;
169
169
  showSuccessMessages?: boolean;
170
170
  title?: string | false;
171
+ skipInternalValidation?: boolean;
171
172
  }> & Readonly<{
172
173
  onInput?: ((value: string) => any) | undefined;
173
174
  onBlur?: (() => any) | undefined;
@@ -198,9 +199,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
198
199
  disableErrorHandling: boolean;
199
200
  hint: string;
200
201
  noIcon: boolean;
201
- isValidateOnBlur: boolean;
202
202
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
203
203
  customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
204
+ isValidateOnBlur: boolean;
204
205
  persistentHint: boolean;
205
206
  format: string;
206
207
  autoClamp: boolean;
@@ -211,6 +212,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
211
212
  displayPrependIcon: boolean;
212
213
  externalErrorMessages: string[];
213
214
  isOutlined: boolean;
215
+ skipInternalValidation: boolean;
214
216
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
215
217
  inputRef: ({
216
218
  $: import('vue').ComponentInternalInstance;
@@ -273,22 +275,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
273
275
  readonly helpText?: string | undefined;
274
276
  readonly maxlength?: string | number | undefined;
275
277
  readonly title?: string | false | undefined;
276
- readonly required?: boolean | undefined;
277
- readonly isValidateOnBlur?: boolean | undefined;
278
- readonly showSuccessMessages?: boolean | undefined;
279
- readonly disableErrorHandling?: boolean | undefined;
280
- readonly useVuetifyValidation?: boolean | undefined;
281
- readonly rules?: import('vuetify').ValidationRule[] | undefined;
282
278
  readonly customRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
283
- readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
284
279
  readonly customSuccessRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
280
+ readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
281
+ readonly disableErrorHandling?: boolean | undefined;
285
282
  readonly errorMessages?: string[] | null | undefined;
286
- readonly warningMessages?: string[] | null | undefined;
287
- readonly successMessages?: string[] | null | undefined;
288
283
  readonly hasError?: boolean | undefined;
289
- readonly hasWarning?: boolean | undefined;
290
284
  readonly hasSuccess?: boolean | undefined;
285
+ readonly hasWarning?: boolean | undefined;
286
+ readonly isValidateOnBlur?: boolean | undefined;
291
287
  readonly maxErrors?: number | undefined;
288
+ readonly required?: boolean | undefined;
289
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
290
+ readonly showSuccessMessages?: boolean | undefined;
291
+ readonly successMessages?: string[] | null | undefined;
292
+ readonly useVuetifyValidation?: boolean | undefined;
293
+ readonly warningMessages?: string[] | null | undefined;
292
294
  readonly onInput?: ((...args: any[]) => any) | undefined;
293
295
  readonly onBlur?: ((...args: any[]) => any) | undefined;
294
296
  readonly onFocus?: ((...args: any[]) => any) | undefined;
@@ -1873,16 +1875,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1873
1875
  autocomplete: string;
1874
1876
  helpText: string;
1875
1877
  maxlength: string | number;
1876
- isValidateOnBlur: boolean;
1877
- useVuetifyValidation: boolean;
1878
1878
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
1879
- customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
1880
1879
  customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
1881
- warningMessages: string[] | null;
1882
- successMessages: string[] | null;
1880
+ customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
1883
1881
  hasError: boolean;
1884
- hasWarning: boolean;
1885
1882
  hasSuccess: boolean;
1883
+ hasWarning: boolean;
1884
+ isValidateOnBlur: boolean;
1885
+ successMessages: string[] | null;
1886
+ useVuetifyValidation: boolean;
1887
+ warningMessages: string[] | null;
1886
1888
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1887
1889
  beforeCreate?: (() => void) | (() => void)[];
1888
1890
  created?: (() => void) | (() => void)[];
@@ -1965,16 +1967,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1965
1967
  autocomplete: string;
1966
1968
  helpText: string;
1967
1969
  maxlength: string | number;
1968
- isValidateOnBlur: boolean;
1969
- useVuetifyValidation: boolean;
1970
1970
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
1971
- customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
1972
1971
  customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
1973
- warningMessages: string[] | null;
1974
- successMessages: string[] | null;
1972
+ customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
1975
1973
  hasError: boolean;
1976
- hasWarning: boolean;
1977
1974
  hasSuccess: boolean;
1975
+ hasWarning: boolean;
1976
+ isValidateOnBlur: boolean;
1977
+ successMessages: string[] | null;
1978
+ useVuetifyValidation: boolean;
1979
+ warningMessages: string[] | null;
1978
1980
  }> & Omit<Readonly<{
1979
1981
  modelValue?: string | number | null | undefined;
1980
1982
  prependIcon?: import('../../../types/vuetifyTypes').IconType;
@@ -2042,7 +2044,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2042
2044
  onClear?: ((...args: any[]) => any) | undefined;
2043
2045
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
2044
2046
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
2045
- }>, "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" | "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")> & {
2047
+ }>, "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" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "customRules" | "customSuccessRules" | "customWarningRules" | "hasError" | "hasSuccess" | "hasWarning" | "isValidateOnBlur" | "successMessages" | "useVuetifyValidation" | "warningMessages")> & {
2046
2048
  validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
2047
2049
  } & {} & import('vue').ComponentCustomProperties & {} & {
2048
2050
  $slots: {
@@ -2088,6 +2090,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2088
2090
  required?: boolean;
2089
2091
  showSuccessMessages?: boolean;
2090
2092
  title?: string | false;
2093
+ skipInternalValidation?: boolean;
2091
2094
  }> & Readonly<{
2092
2095
  onInput?: ((value: string) => any) | undefined;
2093
2096
  onBlur?: (() => any) | undefined;
@@ -2112,9 +2115,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2112
2115
  disableErrorHandling: boolean;
2113
2116
  hint: string;
2114
2117
  noIcon: boolean;
2115
- isValidateOnBlur: boolean;
2116
2118
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
2117
2119
  customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
2120
+ isValidateOnBlur: boolean;
2118
2121
  persistentHint: boolean;
2119
2122
  format: string;
2120
2123
  autoClamp: boolean;
@@ -2125,6 +2128,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2125
2128
  displayPrependIcon: boolean;
2126
2129
  externalErrorMessages: string[];
2127
2130
  isOutlined: boolean;
2131
+ skipInternalValidation: boolean;
2128
2132
  }> | null;
2129
2133
  menuActivatorRef: HTMLDivElement;
2130
2134
  dateCalendarTextInputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
@@ -2154,6 +2158,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2154
2158
  required?: boolean;
2155
2159
  showSuccessMessages?: boolean;
2156
2160
  title?: string | false;
2161
+ skipInternalValidation?: boolean;
2157
2162
  }> & Readonly<{
2158
2163
  onInput?: ((value: string) => any) | undefined;
2159
2164
  onBlur?: (() => any) | undefined;
@@ -2184,9 +2189,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2184
2189
  disableErrorHandling: boolean;
2185
2190
  hint: string;
2186
2191
  noIcon: boolean;
2187
- isValidateOnBlur: boolean;
2188
2192
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
2189
2193
  customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
2194
+ isValidateOnBlur: boolean;
2190
2195
  persistentHint: boolean;
2191
2196
  format: string;
2192
2197
  autoClamp: boolean;
@@ -2197,6 +2202,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2197
2202
  displayPrependIcon: boolean;
2198
2203
  externalErrorMessages: string[];
2199
2204
  isOutlined: boolean;
2205
+ skipInternalValidation: boolean;
2200
2206
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
2201
2207
  inputRef: ({
2202
2208
  $: import('vue').ComponentInternalInstance;
@@ -2259,22 +2265,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2259
2265
  readonly helpText?: string | undefined;
2260
2266
  readonly maxlength?: string | number | undefined;
2261
2267
  readonly title?: string | false | undefined;
2262
- readonly required?: boolean | undefined;
2263
- readonly isValidateOnBlur?: boolean | undefined;
2264
- readonly showSuccessMessages?: boolean | undefined;
2265
- readonly disableErrorHandling?: boolean | undefined;
2266
- readonly useVuetifyValidation?: boolean | undefined;
2267
- readonly rules?: import('vuetify').ValidationRule[] | undefined;
2268
2268
  readonly customRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
2269
- readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
2270
2269
  readonly customSuccessRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
2270
+ readonly customWarningRules?: import('../../../composables/validation/useValidation').ValidationRule[] | undefined;
2271
+ readonly disableErrorHandling?: boolean | undefined;
2271
2272
  readonly errorMessages?: string[] | null | undefined;
2272
- readonly warningMessages?: string[] | null | undefined;
2273
- readonly successMessages?: string[] | null | undefined;
2274
2273
  readonly hasError?: boolean | undefined;
2275
- readonly hasWarning?: boolean | undefined;
2276
2274
  readonly hasSuccess?: boolean | undefined;
2275
+ readonly hasWarning?: boolean | undefined;
2276
+ readonly isValidateOnBlur?: boolean | undefined;
2277
2277
  readonly maxErrors?: number | undefined;
2278
+ readonly required?: boolean | undefined;
2279
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
2280
+ readonly showSuccessMessages?: boolean | undefined;
2281
+ readonly successMessages?: string[] | null | undefined;
2282
+ readonly useVuetifyValidation?: boolean | undefined;
2283
+ readonly warningMessages?: string[] | null | undefined;
2278
2284
  readonly onInput?: ((...args: any[]) => any) | undefined;
2279
2285
  readonly onBlur?: ((...args: any[]) => any) | undefined;
2280
2286
  readonly onFocus?: ((...args: any[]) => any) | undefined;
@@ -3859,16 +3865,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3859
3865
  autocomplete: string;
3860
3866
  helpText: string;
3861
3867
  maxlength: string | number;
3862
- isValidateOnBlur: boolean;
3863
- useVuetifyValidation: boolean;
3864
3868
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
3865
- customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
3866
3869
  customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
3867
- warningMessages: string[] | null;
3868
- successMessages: string[] | null;
3870
+ customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
3869
3871
  hasError: boolean;
3870
- hasWarning: boolean;
3871
3872
  hasSuccess: boolean;
3873
+ hasWarning: boolean;
3874
+ isValidateOnBlur: boolean;
3875
+ successMessages: string[] | null;
3876
+ useVuetifyValidation: boolean;
3877
+ warningMessages: string[] | null;
3872
3878
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
3873
3879
  beforeCreate?: (() => void) | (() => void)[];
3874
3880
  created?: (() => void) | (() => void)[];
@@ -3951,16 +3957,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
3951
3957
  autocomplete: string;
3952
3958
  helpText: string;
3953
3959
  maxlength: string | number;
3954
- isValidateOnBlur: boolean;
3955
- useVuetifyValidation: boolean;
3956
3960
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
3957
- customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
3958
3961
  customSuccessRules: import('../../../composables/validation/useValidation').ValidationRule[];
3959
- warningMessages: string[] | null;
3960
- successMessages: string[] | null;
3962
+ customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
3961
3963
  hasError: boolean;
3962
- hasWarning: boolean;
3963
3964
  hasSuccess: boolean;
3965
+ hasWarning: boolean;
3966
+ isValidateOnBlur: boolean;
3967
+ successMessages: string[] | null;
3968
+ useVuetifyValidation: boolean;
3969
+ warningMessages: string[] | null;
3964
3970
  }> & Omit<Readonly<{
3965
3971
  modelValue?: string | number | null | undefined;
3966
3972
  prependIcon?: import('../../../types/vuetifyTypes').IconType;
@@ -4028,7 +4034,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4028
4034
  onClear?: ((...args: any[]) => any) | undefined;
4029
4035
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
4030
4036
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
4031
- }>, "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" | "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")> & {
4037
+ }>, "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" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "customRules" | "customSuccessRules" | "customWarningRules" | "hasError" | "hasSuccess" | "hasWarning" | "isValidateOnBlur" | "successMessages" | "useVuetifyValidation" | "warningMessages")> & {
4032
4038
  validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
4033
4039
  } & {} & import('vue').ComponentCustomProperties & {} & {
4034
4040
  $slots: {
@@ -4074,6 +4080,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4074
4080
  required?: boolean;
4075
4081
  showSuccessMessages?: boolean;
4076
4082
  title?: string | false;
4083
+ skipInternalValidation?: boolean;
4077
4084
  }> & Readonly<{
4078
4085
  onInput?: ((value: string) => any) | undefined;
4079
4086
  onBlur?: (() => any) | undefined;
@@ -4098,9 +4105,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4098
4105
  disableErrorHandling: boolean;
4099
4106
  hint: string;
4100
4107
  noIcon: boolean;
4101
- isValidateOnBlur: boolean;
4102
4108
  customRules: import('../../../composables/validation/useValidation').ValidationRule[];
4103
4109
  customWarningRules: import('../../../composables/validation/useValidation').ValidationRule[];
4110
+ isValidateOnBlur: boolean;
4104
4111
  persistentHint: boolean;
4105
4112
  format: string;
4106
4113
  autoClamp: boolean;
@@ -4111,6 +4118,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4111
4118
  displayPrependIcon: boolean;
4112
4119
  externalErrorMessages: string[];
4113
4120
  isOutlined: boolean;
4121
+ skipInternalValidation: boolean;
4114
4122
  }> | null;
4115
4123
  datePickerRef: ({
4116
4124
  $: import('vue').ComponentInternalInstance;
@@ -28,6 +28,8 @@ type __VLS_Props = {
28
28
  required?: boolean;
29
29
  showSuccessMessages?: boolean;
30
30
  title?: string | false;
31
+ /** @internal Désactive la validation interne quand utilisé dans un parent avec validation */
32
+ skipInternalValidation?: boolean;
31
33
  };
32
34
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
33
35
  validateOnSubmit: () => Promise<boolean>;
@@ -59,9 +61,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
59
61
  disableErrorHandling: boolean;
60
62
  hint: string;
61
63
  noIcon: boolean;
62
- isValidateOnBlur: boolean;
63
64
  customRules: ValidationRule[];
64
65
  customWarningRules: ValidationRule[];
66
+ isValidateOnBlur: boolean;
65
67
  persistentHint: boolean;
66
68
  format: string;
67
69
  autoClamp: boolean;
@@ -72,6 +74,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
72
74
  displayPrependIcon: boolean;
73
75
  externalErrorMessages: string[];
74
76
  isOutlined: boolean;
77
+ skipInternalValidation: boolean;
75
78
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
76
79
  inputRef: ({
77
80
  $: import('vue').ComponentInternalInstance;
@@ -134,22 +137,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
134
137
  readonly helpText?: string | undefined;
135
138
  readonly maxlength?: string | number | undefined;
136
139
  readonly title?: string | false | undefined;
137
- readonly required?: boolean | undefined;
138
- readonly isValidateOnBlur?: boolean | undefined;
139
- readonly showSuccessMessages?: boolean | undefined;
140
- readonly disableErrorHandling?: boolean | undefined;
141
- readonly useVuetifyValidation?: boolean | undefined;
142
- readonly rules?: import('vuetify').ValidationRule[] | undefined;
143
140
  readonly customRules?: ValidationRule[] | undefined;
144
- readonly customWarningRules?: ValidationRule[] | undefined;
145
141
  readonly customSuccessRules?: ValidationRule[] | undefined;
142
+ readonly customWarningRules?: ValidationRule[] | undefined;
143
+ readonly disableErrorHandling?: boolean | undefined;
146
144
  readonly errorMessages?: string[] | null | undefined;
147
- readonly warningMessages?: string[] | null | undefined;
148
- readonly successMessages?: string[] | null | undefined;
149
145
  readonly hasError?: boolean | undefined;
150
- readonly hasWarning?: boolean | undefined;
151
146
  readonly hasSuccess?: boolean | undefined;
147
+ readonly hasWarning?: boolean | undefined;
148
+ readonly isValidateOnBlur?: boolean | undefined;
152
149
  readonly maxErrors?: number | undefined;
150
+ readonly required?: boolean | undefined;
151
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
152
+ readonly showSuccessMessages?: boolean | undefined;
153
+ readonly successMessages?: string[] | null | undefined;
154
+ readonly useVuetifyValidation?: boolean | undefined;
155
+ readonly warningMessages?: string[] | null | undefined;
153
156
  readonly onInput?: ((...args: any[]) => any) | undefined;
154
157
  readonly onBlur?: ((...args: any[]) => any) | undefined;
155
158
  readonly onFocus?: ((...args: any[]) => any) | undefined;
@@ -1734,16 +1737,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1734
1737
  autocomplete: string;
1735
1738
  helpText: string;
1736
1739
  maxlength: string | number;
1737
- isValidateOnBlur: boolean;
1738
- useVuetifyValidation: boolean;
1739
1740
  customRules: ValidationRule[];
1740
- customWarningRules: ValidationRule[];
1741
1741
  customSuccessRules: ValidationRule[];
1742
- warningMessages: string[] | null;
1743
- successMessages: string[] | null;
1742
+ customWarningRules: ValidationRule[];
1744
1743
  hasError: boolean;
1745
- hasWarning: boolean;
1746
1744
  hasSuccess: boolean;
1745
+ hasWarning: boolean;
1746
+ isValidateOnBlur: boolean;
1747
+ successMessages: string[] | null;
1748
+ useVuetifyValidation: boolean;
1749
+ warningMessages: string[] | null;
1747
1750
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1748
1751
  beforeCreate?: (() => void) | (() => void)[];
1749
1752
  created?: (() => void) | (() => void)[];
@@ -1826,16 +1829,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1826
1829
  autocomplete: string;
1827
1830
  helpText: string;
1828
1831
  maxlength: string | number;
1829
- isValidateOnBlur: boolean;
1830
- useVuetifyValidation: boolean;
1831
1832
  customRules: ValidationRule[];
1832
- customWarningRules: ValidationRule[];
1833
1833
  customSuccessRules: ValidationRule[];
1834
- warningMessages: string[] | null;
1835
- successMessages: string[] | null;
1834
+ customWarningRules: ValidationRule[];
1836
1835
  hasError: boolean;
1837
- hasWarning: boolean;
1838
1836
  hasSuccess: boolean;
1837
+ hasWarning: boolean;
1838
+ isValidateOnBlur: boolean;
1839
+ successMessages: string[] | null;
1840
+ useVuetifyValidation: boolean;
1841
+ warningMessages: string[] | null;
1839
1842
  }> & Omit<Readonly<{
1840
1843
  modelValue?: string | number | null | undefined;
1841
1844
  prependIcon?: import('../../../types/vuetifyTypes').IconType;
@@ -1903,7 +1906,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
1903
1906
  onClear?: ((...args: any[]) => any) | undefined;
1904
1907
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1905
1908
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1906
- }>, "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" | "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")> & {
1909
+ }>, "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" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "customRules" | "customSuccessRules" | "customWarningRules" | "hasError" | "hasSuccess" | "hasWarning" | "isValidateOnBlur" | "successMessages" | "useVuetifyValidation" | "warningMessages")> & {
1907
1910
  validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
1908
1911
  } & {} & import('vue').ComponentCustomProperties & {} & {
1909
1912
  $slots: {
@@ -4,6 +4,7 @@ export { useDateAutoClamp } from './useDateAutoClamp';
4
4
  export { useDateTextField } from './useDateTextField';
5
5
  export { useDateSelection } from './useDateSelection';
6
6
  export { useDateValidation } from './useDateValidation';
7
+ export { useDatePickerValidationBridge } from './useDatePickerValidationBridge';
7
8
  export { useDateFormatValidation } from './useDateFormatValidation';
8
9
  export { useDateRangeValidation } from './useDateRangeValidation';
9
10
  export { useManualDateValidation } from './useManualDateValidation';
@@ -0,0 +1,51 @@
1
+ import { Ref } from 'vue';
2
+ import { ValidationResult, ValidationRule } from '../../../composables/validation/useValidation';
3
+ import { DateObjectValue } from '../types';
4
+ export type DatePickerValidationRule = {
5
+ type: string;
6
+ options: any;
7
+ };
8
+ export type DatePickerValidationBridgeOptions = {
9
+ showSuccessMessages: boolean;
10
+ disableErrorHandling: boolean;
11
+ noCalendar: boolean;
12
+ required: boolean;
13
+ displayRange: boolean;
14
+ customRules: Ref<DatePickerValidationRule[]>;
15
+ customWarningRules: Ref<DatePickerValidationRule[]>;
16
+ selectedDates: Ref<DateObjectValue>;
17
+ isUpdatingFromInternal: Ref<boolean>;
18
+ currentRangeIsValid: Ref<boolean>;
19
+ getRangeValidationError: Ref<string>;
20
+ readonly?: Ref<boolean>;
21
+ skipValidationWhenReadonly?: boolean;
22
+ useCalendarModeRequiredFlow?: boolean;
23
+ isInitialValidation?: Ref<boolean>;
24
+ isValidateOnBlur?: Ref<boolean>;
25
+ onblur?: Ref<boolean>;
26
+ fieldIdentifier?: string;
27
+ revalidateOnCustomRulesChange?: boolean;
28
+ };
29
+ export declare function useDatePickerValidationBridge(options: DatePickerValidationBridgeOptions): {
30
+ validation: {
31
+ errors: Ref<string[], string[]>;
32
+ warnings: Ref<string[], string[]>;
33
+ successes: Ref<string[], string[]>;
34
+ displaySuccesses: import('vue').ComputedRef<string[]>;
35
+ hasError: import('vue').ComputedRef<boolean>;
36
+ hasWarning: import('vue').ComputedRef<boolean>;
37
+ hasSuccess: import('vue').ComputedRef<boolean>;
38
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => ValidationResult | Promise<ValidationResult>;
39
+ validateOnSubmit: () => boolean;
40
+ clearValidation: () => void;
41
+ };
42
+ errors: Ref<string[], string[]>;
43
+ warnings: Ref<string[], string[]>;
44
+ successes: Ref<string[], string[]>;
45
+ errorMessages: Ref<string[], string[]>;
46
+ warningMessages: Ref<string[], string[]>;
47
+ successMessages: import('vue').ComputedRef<string[]>;
48
+ clearValidation: () => void;
49
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => Promise<ValidationResult> | ValidationResult;
50
+ validateDates: (forceValidation?: boolean) => ValidationResult | Promise<ValidationResult | undefined>;
51
+ };
@@ -98,22 +98,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
98
98
  readonly helpText?: string | undefined;
99
99
  readonly maxlength?: string | number | undefined;
100
100
  readonly title?: string | false | undefined;
101
- readonly required?: boolean | undefined;
102
- readonly isValidateOnBlur?: boolean | undefined;
103
- readonly showSuccessMessages?: boolean | undefined;
104
- readonly disableErrorHandling?: boolean | undefined;
105
- readonly useVuetifyValidation?: boolean | undefined;
106
- readonly rules?: import('vuetify').ValidationRule[] | undefined;
107
101
  readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
108
- readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
109
102
  readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
103
+ readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
104
+ readonly disableErrorHandling?: boolean | undefined;
110
105
  readonly errorMessages?: string[] | null | undefined;
111
- readonly warningMessages?: string[] | null | undefined;
112
- readonly successMessages?: string[] | null | undefined;
113
106
  readonly hasError?: boolean | undefined;
114
- readonly hasWarning?: boolean | undefined;
115
107
  readonly hasSuccess?: boolean | undefined;
108
+ readonly hasWarning?: boolean | undefined;
109
+ readonly isValidateOnBlur?: boolean | undefined;
116
110
  readonly maxErrors?: number | undefined;
111
+ readonly required?: boolean | undefined;
112
+ readonly rules?: import('vuetify').ValidationRule[] | undefined;
113
+ readonly showSuccessMessages?: boolean | undefined;
114
+ readonly successMessages?: string[] | null | undefined;
115
+ readonly useVuetifyValidation?: boolean | undefined;
116
+ readonly warningMessages?: string[] | null | undefined;
117
117
  readonly onInput?: ((...args: any[]) => any) | undefined;
118
118
  readonly onBlur?: ((...args: any[]) => any) | undefined;
119
119
  readonly onFocus?: ((...args: any[]) => any) | undefined;
@@ -1698,16 +1698,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1698
1698
  autocomplete: string;
1699
1699
  helpText: string;
1700
1700
  maxlength: string | number;
1701
- isValidateOnBlur: boolean;
1702
- useVuetifyValidation: boolean;
1703
1701
  customRules: import('../../composables/validation/useValidation').ValidationRule[];
1704
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1705
1702
  customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
1706
- warningMessages: string[] | null;
1707
- successMessages: string[] | null;
1703
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1708
1704
  hasError: boolean;
1709
- hasWarning: boolean;
1710
1705
  hasSuccess: boolean;
1706
+ hasWarning: boolean;
1707
+ isValidateOnBlur: boolean;
1708
+ successMessages: string[] | null;
1709
+ useVuetifyValidation: boolean;
1710
+ warningMessages: string[] | null;
1711
1711
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1712
1712
  beforeCreate?: (() => void) | (() => void)[];
1713
1713
  created?: (() => void) | (() => void)[];
@@ -1790,16 +1790,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1790
1790
  autocomplete: string;
1791
1791
  helpText: string;
1792
1792
  maxlength: string | number;
1793
- isValidateOnBlur: boolean;
1794
- useVuetifyValidation: boolean;
1795
1793
  customRules: import('../../composables/validation/useValidation').ValidationRule[];
1796
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1797
1794
  customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
1798
- warningMessages: string[] | null;
1799
- successMessages: string[] | null;
1795
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
1800
1796
  hasError: boolean;
1801
- hasWarning: boolean;
1802
1797
  hasSuccess: boolean;
1798
+ hasWarning: boolean;
1799
+ isValidateOnBlur: boolean;
1800
+ successMessages: string[] | null;
1801
+ useVuetifyValidation: boolean;
1802
+ warningMessages: string[] | null;
1803
1803
  }> & Omit<Readonly<{
1804
1804
  modelValue?: string | number | null | undefined;
1805
1805
  prependIcon?: import('../../types/vuetifyTypes').IconType;
@@ -1867,7 +1867,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
1867
1867
  onClear?: ((...args: any[]) => any) | undefined;
1868
1868
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
1869
1869
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
1870
- }>, "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" | "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")> & {
1870
+ }>, "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" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "messages" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "isReversed" | "isOnSingleLine" | "suffix" | "isTiled" | "displayAsterisk" | "noIcon" | "disableClickButton" | "autocomplete" | "helpText" | "maxlength" | "customRules" | "customSuccessRules" | "customWarningRules" | "hasError" | "hasSuccess" | "hasWarning" | "isValidateOnBlur" | "successMessages" | "useVuetifyValidation" | "warningMessages")> & {
1871
1871
  validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
1872
1872
  } & {} & import('vue').ComponentCustomProperties & {} & {
1873
1873
  $slots: {