@cnamts/synapse 1.0.25 → 1.0.26

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 (211) hide show
  1. package/dist/{AutocompleteFilter-D7qBuCAP.js → AutocompleteFilter-BPR-a55G.js} +1 -1
  2. package/dist/{DateFilter-BitMWrMU.js → DateFilter-CknrJWs2.js} +2 -2
  3. package/dist/{NumberFilter-BTLUxw0a.js → NumberFilter-DJ-yNlzv.js} +1 -1
  4. package/dist/{PeriodFilter-B5rUIPAC.js → PeriodFilter-CiB5Oa9Z.js} +1 -1
  5. package/dist/{SelectFilter-l4QnRcuk.js → SelectFilter-EiafX97M.js} +1 -1
  6. package/dist/{TextFilter-C9hj6Qrp.js → TextFilter-BzOmpdxj.js} +1 -1
  7. package/dist/{apLightTheme-DnIM24Lv.js → apLightTheme-DS0Uy44H.js} +20 -16
  8. package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +4 -2
  9. package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +60 -289
  10. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +1 -0
  11. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +1 -0
  12. package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +1 -0
  13. package/dist/components/Customs/SyTextField/SyTextField.d.ts +2 -4
  14. package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +50 -49
  15. package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +29 -28
  16. package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +8 -8
  17. package/dist/components/DatePicker/composables/useDatePickerState.d.ts +3 -3
  18. package/dist/components/DatePicker/composables/useDateTextField.d.ts +2 -2
  19. package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
  20. package/dist/components/DatePicker/types.d.ts +1 -2
  21. package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +1 -0
  22. package/dist/components/MonthPicker/MonthPicker.d.ts +1 -1
  23. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +1 -1
  24. package/dist/components/NirField/NirField.d.ts +8 -4
  25. package/dist/components/NirField/useNirValidation.d.ts +6 -2
  26. package/dist/components/PeriodField/PeriodField.d.ts +102 -102
  27. package/dist/components/PhoneField/PhoneField.d.ts +11 -1
  28. package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +0 -3
  29. package/dist/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +3 -1
  30. package/dist/components/RatingPicker/NumberPicker/NumberPicker.d.ts +4 -3
  31. package/dist/components/RatingPicker/RatingPicker.d.ts +18 -5
  32. package/dist/components/RatingPicker/StarsPicker/StarsPicker.d.ts +3 -1
  33. package/dist/components/RatingPicker/tests/RatingPicker.a11y.spect.d.ts +1 -0
  34. package/dist/components/RatingPicker/useRatingFocus.d.ts +18 -0
  35. package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +4 -4
  36. package/dist/components/Tables/SyTable/SyTable.d.ts +4 -4
  37. package/dist/components/Tables/common/SyTablePagination.d.ts +152 -364
  38. package/dist/components/Tables/common/TableHeader.d.ts +1 -1
  39. package/dist/components/Tables/common/filters/DateFilter.d.ts +4 -4
  40. package/dist/composables/date/useDateInitializationDayjs.d.ts +3 -1
  41. package/dist/composables/unifyValidation/useCustomValidation.d.ts +3 -1
  42. package/dist/composables/unifyValidation/useValidation.d.ts +12 -6
  43. package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +1 -1
  44. package/dist/composables/validation/useValidation.d.ts +1 -0
  45. package/dist/design-system-v3.js +2 -2
  46. package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +2 -0
  47. package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +2 -0
  48. package/dist/{main-Cpx8Co6H.js → main-BsJ9ec3i.js} +9103 -9018
  49. package/dist/synapse.css +1 -1
  50. package/dist/vuetifyConfig.js +1 -1
  51. package/package.json +8 -7
  52. package/src/assets/overrides/_icons.scss +0 -13
  53. package/src/assets/overrides/_otp.scss +0 -1
  54. package/src/components/Accordion/Accordion.vue +2 -0
  55. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -1
  56. package/src/components/CookiesSelection/CookiesSelection.vue +2 -1
  57. package/src/components/CopyBtn/CopyBtn.vue +9 -0
  58. package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +1 -1
  59. package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +413 -96
  60. package/src/components/Customs/Selects/SySelect/SySelect.vue +270 -225
  61. package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +245 -6
  62. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +3 -3
  63. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +23 -2
  64. package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +23 -5
  65. package/src/components/Customs/SyTabs/SyTabs.stories.ts +5 -5
  66. package/src/components/Customs/SyTabs/config.ts +3 -3
  67. package/src/components/Customs/SyTextField/SyTextField.vue +31 -4
  68. package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +1 -1
  69. package/src/components/DatePicker/CalendarMode/DatePicker.vue +17 -14
  70. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +1 -1
  71. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +8 -7
  72. package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +1 -1
  73. package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +1 -1
  74. package/src/components/DatePicker/DateTextInput/DateTextInput.vue +57 -23
  75. package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +1 -1
  76. package/src/components/DatePicker/composables/useDatePickerState.ts +33 -14
  77. package/src/components/DatePicker/composables/useDateRangeInput.ts +2 -1
  78. package/src/components/DatePicker/composables/useDateSelection.ts +2 -1
  79. package/src/components/DatePicker/composables/useDateTextField.ts +2 -2
  80. package/src/components/DatePicker/composables/useInputBlurHandler.ts +2 -2
  81. package/src/components/DatePicker/types.ts +1 -2
  82. package/src/components/DialogBox/DialogBox.stories.ts +8 -8
  83. package/src/components/DialogBox/accessibilite/Accessibility.mdx +86 -22
  84. package/src/components/FilterSideBar/FilterSideBar.vue +2 -1
  85. package/src/components/LangBtn/LangBtn.vue +2 -1
  86. package/src/components/NotificationBar/Notification/Notification.vue +2 -2
  87. package/src/components/PaginatedTable/PaginatedTable.vue +1 -1
  88. package/src/components/PaginatedTable/Pagination.vue +1 -1
  89. package/src/components/PasswordField/PasswordField.vue +7 -3
  90. package/src/components/PhoneField/PhoneField.vue +4 -2
  91. package/src/components/RangeField/RangeSlider/RangeSlider.vue +11 -18
  92. package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +32 -48
  93. package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +5 -0
  94. package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +48 -53
  95. package/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.ts +2 -1
  96. package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +40 -13
  97. package/src/components/RatingPicker/RatingPicker.stories.ts +65 -88
  98. package/src/components/RatingPicker/RatingPicker.vue +71 -15
  99. package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +28 -37
  100. package/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.ts +1 -1
  101. package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +5 -0
  102. package/src/components/RatingPicker/accessibilite/Accessibility.mdx +137 -9
  103. package/src/components/RatingPicker/tests/RatingPicker.a11y.spect.ts +123 -0
  104. package/src/components/RatingPicker/tests/RatingPicker.spec.ts +3 -2
  105. package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +40 -11
  106. package/src/components/RatingPicker/useRatingFocus.ts +97 -0
  107. package/src/components/SyTextArea/SyTextArea.vue +32 -1
  108. package/src/components/Tables/SyServerTable/SyServerTable.vue +1 -1
  109. package/src/components/Tables/SyTable/SyTable.vue +1 -1
  110. package/src/components/Tables/common/SyTableFilter.vue +4 -4
  111. package/src/components/Tables/common/SyTablePagination.vue +1 -0
  112. package/src/components/Tables/common/TableHeader.vue +1 -1
  113. package/src/components/Tables/common/filters/DateFilter.vue +2 -2
  114. package/src/composables/date/tests/useDateFormatDayjs.spec.ts +81 -0
  115. package/src/composables/date/tests/{useDateInitialization.spec.ts → useDateInitializationDayjs.spec.ts} +39 -3
  116. package/src/composables/date/useDateInitializationDayjs.ts +4 -1
  117. package/src/composables/unifyValidation/documentationValidationProps.ts +7 -7
  118. package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +2 -1
  119. package/src/composables/unifyValidation/tests/useValidation.spec.ts +22 -0
  120. package/src/composables/unifyValidation/useCustomValidation.ts +16 -4
  121. package/src/composables/unifyValidation/useValidation.ts +46 -15
  122. package/src/composables/unifyValidation/useVuetifyValidation.ts +2 -2
  123. package/src/composables/useFormFieldErrorHandling.ts +4 -1
  124. package/src/composables/validation/tests/useValidation.spec.ts +2 -2
  125. package/src/composables/validation/useValidation.ts +15 -3
  126. package/src/composantsVuetify/VCard/VCard.mdx +59 -0
  127. package/src/composantsVuetify/VCard/v-card.stories.ts +279 -0
  128. package/src/designTokens/tokens/amelipro/apColors2026.ts +1 -1
  129. package/src/designTokens/tokens/amelipro/apLightTheme.ts +3 -0
  130. package/src/designTokens/tokens/cnam/cnamLightTheme.ts +3 -0
  131. package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +61 -91
  132. package/src/stories/Accessibilite/AuditDesignSystem.mdx +5 -8
  133. package/src/stories/Accessibilite/AuditEtContreAudit/Exemptions-derogations.mdx +1 -1
  134. package/src/stories/Accessibilite/AuditEtContreAudit/Introduction.mdx +11 -8
  135. package/src/stories/Accessibilite/AuditEtContreAudit/RGAA.mdx +6 -7
  136. package/src/stories/Accessibilite/Introduction.mdx +30 -30
  137. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +168 -78
  138. package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +13 -6
  139. package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +66 -45
  140. package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +23 -49
  141. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.stories.ts +6 -0
  142. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/Utilisation.mdx +7 -19
  143. package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +18 -20
  144. package/src/stories/Components/Components.stories.ts +52 -3
  145. package/dist/AutocompleteFilter-Df9i5mAl.cjs +0 -1
  146. package/dist/DateFilter-BJD6FMev.cjs +0 -1
  147. package/dist/NumberFilter-DGCzCXzI.cjs +0 -1
  148. package/dist/PeriodFilter-DO_ecTZW.cjs +0 -1
  149. package/dist/SelectFilter-CGwcKWLm.cjs +0 -1
  150. package/dist/TextFilter-B8nf7xoK.cjs +0 -1
  151. package/dist/apLightTheme-CEK4iY3f.cjs +0 -1
  152. package/dist/composables/date/useDateFormat.d.ts +0 -26
  153. package/dist/composables/date/useDateInitialization.d.ts +0 -18
  154. package/dist/design-system-v3.umd.cjs +0 -1
  155. package/dist/main-ByDPHpae.cjs +0 -1067
  156. package/dist/tooth-11-D3sLWv2n.cjs +0 -1
  157. package/dist/tooth-12-CXrLuH03.cjs +0 -1
  158. package/dist/tooth-13-BSfo5fpT.cjs +0 -1
  159. package/dist/tooth-14-DMzulx0h.cjs +0 -1
  160. package/dist/tooth-15-BKRFVi-9.cjs +0 -1
  161. package/dist/tooth-16-CpuxAbuM.cjs +0 -1
  162. package/dist/tooth-17-BPoahUdg.cjs +0 -1
  163. package/dist/tooth-18-DhHJz8sy.cjs +0 -1
  164. package/dist/tooth-21-Dgd5hn_X.cjs +0 -1
  165. package/dist/tooth-22-C2Tn19sB.cjs +0 -1
  166. package/dist/tooth-23-C9uaaSGb.cjs +0 -1
  167. package/dist/tooth-24-BrK9UGpf.cjs +0 -1
  168. package/dist/tooth-25-CE_EfGNp.cjs +0 -1
  169. package/dist/tooth-26-Ctv4i9Fy.cjs +0 -1
  170. package/dist/tooth-27-C5J7JkWM.cjs +0 -1
  171. package/dist/tooth-28-Z9oWqjo0.cjs +0 -1
  172. package/dist/tooth-31-BrYqmkTi.cjs +0 -1
  173. package/dist/tooth-32-BNNR0oCZ.cjs +0 -1
  174. package/dist/tooth-33-DuxvqO2J.cjs +0 -1
  175. package/dist/tooth-34-BCSCXMB6.cjs +0 -1
  176. package/dist/tooth-35-BLUXkX88.cjs +0 -1
  177. package/dist/tooth-36-IrKHYqlA.cjs +0 -1
  178. package/dist/tooth-37-BYqpdMwo.cjs +0 -1
  179. package/dist/tooth-38-B_eNXXdu.cjs +0 -1
  180. package/dist/tooth-41-Ddva4Ot8.cjs +0 -1
  181. package/dist/tooth-42-szcDqlM0.cjs +0 -1
  182. package/dist/tooth-43-B3ka6rQm.cjs +0 -1
  183. package/dist/tooth-44-CazyQucj.cjs +0 -1
  184. package/dist/tooth-45-B4HQtc8n.cjs +0 -1
  185. package/dist/tooth-46-BPM40gbG.cjs +0 -1
  186. package/dist/tooth-47-Dvr20dlh.cjs +0 -1
  187. package/dist/tooth-48-Bd8ljGsF.cjs +0 -1
  188. package/dist/tooth-51-OBpwCOF3.cjs +0 -1
  189. package/dist/tooth-52-aKxyHcmq.cjs +0 -1
  190. package/dist/tooth-53-vCwJjTOc.cjs +0 -1
  191. package/dist/tooth-54-DsWu2iFy.cjs +0 -1
  192. package/dist/tooth-55-BxC1X2Dn.cjs +0 -1
  193. package/dist/tooth-61-BbLvxMQi.cjs +0 -1
  194. package/dist/tooth-62-CmTkWczP.cjs +0 -1
  195. package/dist/tooth-63-DI7l_2qI.cjs +0 -1
  196. package/dist/tooth-64-B21sOsJh.cjs +0 -1
  197. package/dist/tooth-65-D2ZC2VEr.cjs +0 -1
  198. package/dist/tooth-71-D473PPO5.cjs +0 -1
  199. package/dist/tooth-72-Drh1wnNu.cjs +0 -1
  200. package/dist/tooth-73-DzlwYI23.cjs +0 -1
  201. package/dist/tooth-74-8aGvcZPg.cjs +0 -1
  202. package/dist/tooth-75-BFK7At_r.cjs +0 -1
  203. package/dist/tooth-81-BZmR-I0M.cjs +0 -1
  204. package/dist/tooth-82-euVfUUZV.cjs +0 -1
  205. package/dist/tooth-83-KV010j64.cjs +0 -1
  206. package/dist/tooth-84-BBg1RjhZ.cjs +0 -1
  207. package/dist/tooth-85-Cr-kc1wM.cjs +0 -1
  208. package/dist/vuetifyConfig.umd.cjs +0 -1
  209. package/src/composables/date/tests/useDateFormat.spec.ts +0 -67
  210. package/src/composables/date/useDateFormat.ts +0 -110
  211. package/src/composables/date/useDateInitialization.ts +0 -92
@@ -1,9 +1,10 @@
1
1
  import { nextTick, ComponentPublicInstance, Ref } from 'vue';
2
2
  import { ValidationResult, ValidationRule } from '../../../composables/validation/useValidation';
3
- import { DateValue, DateInput } from '../../../composables/date/useDateInitializationDayjs';
3
+ import { DateModelValue, DateInput } from '../../../composables/date/useDateInitializationDayjs';
4
4
  type __VLS_Props = {
5
5
  autoClamp?: boolean;
6
6
  bgColor?: string;
7
+ /** @deprecated Utilisez isBirthDate à la place */
7
8
  birthDate?: boolean;
8
9
  customRules?: {
9
10
  type: string;
@@ -63,18 +64,18 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
63
64
  updateSelectedDates: (input: Date | Date[] | string | string[] | null | undefined) => void;
64
65
  handleSelectToday: () => void;
65
66
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
66
- input: (value: DateValue) => any;
67
+ input: (value: DateModelValue) => any;
67
68
  blur: () => any;
68
69
  focus: () => any;
69
- "update:modelValue": (value: DateValue) => any;
70
- "date-selected": (value: DateValue) => any;
70
+ "update:modelValue": (value: DateModelValue) => any;
71
+ "date-selected": (value: DateModelValue) => any;
71
72
  closed: () => any;
72
73
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
73
- onInput?: ((value: DateValue) => any) | undefined;
74
+ onInput?: ((value: DateModelValue) => any) | undefined;
74
75
  onBlur?: (() => any) | undefined;
75
76
  onFocus?: (() => any) | undefined;
76
- "onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
77
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
77
+ "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
78
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
78
79
  onClosed?: (() => any) | undefined;
79
80
  }>, {
80
81
  title: string | false;
@@ -144,7 +145,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
144
145
  isOutlined?: boolean;
145
146
  isValidateOnBlur?: boolean;
146
147
  label: string;
147
- modelValue?: DateValue;
148
+ modelValue?: DateModelValue;
148
149
  noIcon?: boolean;
149
150
  persistentHint?: boolean;
150
151
  placeholder?: string;
@@ -156,8 +157,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
156
157
  onInput?: ((value: string) => any) | undefined;
157
158
  onBlur?: (() => any) | undefined;
158
159
  onFocus?: (() => any) | undefined;
159
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
160
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
160
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
161
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
161
162
  }>, {
162
163
  validateOnSubmit: () => Promise<boolean>;
163
164
  reset: () => void;
@@ -167,15 +168,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
167
168
  input: (value: string) => any;
168
169
  blur: () => any;
169
170
  focus: () => any;
170
- "update:model-value": (value: DateValue) => any;
171
- "date-selected": (value: DateValue) => any;
171
+ "update:model-value": (value: DateModelValue) => any;
172
+ "date-selected": (value: DateModelValue) => any;
172
173
  }, import('vue').PublicProps, {
173
174
  title: string | false;
174
175
  disabled: boolean;
175
176
  placeholder: string;
176
177
  density: "default" | "comfortable" | "compact";
177
178
  readonly: boolean;
178
- modelValue: DateValue;
179
+ modelValue: DateModelValue;
179
180
  bgColor: string;
180
181
  required: boolean;
181
182
  showSuccessMessages: boolean;
@@ -212,7 +213,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
212
213
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
213
214
  readonly isClearable?: boolean | undefined;
214
215
  readonly showDivider?: boolean | undefined;
215
- readonly label: string;
216
+ readonly label?: string | undefined;
216
217
  readonly readonly?: boolean | undefined;
217
218
  readonly isActive?: boolean | undefined;
218
219
  readonly baseColor?: string | undefined;
@@ -2064,7 +2065,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2064
2065
  isOutlined?: boolean;
2065
2066
  isValidateOnBlur?: boolean;
2066
2067
  label: string;
2067
- modelValue?: DateValue;
2068
+ modelValue?: DateModelValue;
2068
2069
  noIcon?: boolean;
2069
2070
  persistentHint?: boolean;
2070
2071
  placeholder?: string;
@@ -2076,8 +2077,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2076
2077
  onInput?: ((value: string) => any) | undefined;
2077
2078
  onBlur?: (() => any) | undefined;
2078
2079
  onFocus?: (() => any) | undefined;
2079
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
2080
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
2080
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
2081
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
2081
2082
  }>, {
2082
2083
  validateOnSubmit: () => Promise<boolean>;
2083
2084
  reset: () => void;
@@ -2089,7 +2090,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2089
2090
  placeholder: string;
2090
2091
  density: "default" | "comfortable" | "compact";
2091
2092
  readonly: boolean;
2092
- modelValue: DateValue;
2093
+ modelValue: DateModelValue;
2093
2094
  bgColor: string;
2094
2095
  required: boolean;
2095
2096
  showSuccessMessages: boolean;
@@ -2161,8 +2162,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2161
2162
  onInput?: ((value: string) => any) | undefined;
2162
2163
  onBlur?: (() => any) | undefined;
2163
2164
  onFocus?: (() => any) | undefined;
2164
- "onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
2165
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
2165
+ "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
2166
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
2166
2167
  onClosed?: (() => any) | undefined;
2167
2168
  }>, {
2168
2169
  validateOnSubmit: () => Promise<boolean>;
@@ -2191,15 +2192,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2191
2192
  message: string;
2192
2193
  };
2193
2194
  displayFormattedDate: Ref<string, string>;
2194
- handleDateSelected: (value: DateValue) => void;
2195
+ handleDateSelected: (value: DateModelValue) => void;
2195
2196
  resetViewMode: () => void;
2196
2197
  reset: () => void;
2197
2198
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2198
2199
  input: (value: string) => any;
2199
2200
  blur: () => any;
2200
2201
  focus: () => any;
2201
- "update:modelValue": (value: DateValue) => any;
2202
- "date-selected": (value: DateValue) => any;
2202
+ "update:modelValue": (value: DateModelValue) => any;
2203
+ "date-selected": (value: DateModelValue) => any;
2203
2204
  closed: () => any;
2204
2205
  }, import('vue').PublicProps, {
2205
2206
  title: string | false;
@@ -2268,7 +2269,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2268
2269
  isOutlined?: boolean;
2269
2270
  isValidateOnBlur?: boolean;
2270
2271
  label: string;
2271
- modelValue?: DateValue;
2272
+ modelValue?: DateModelValue;
2272
2273
  noIcon?: boolean;
2273
2274
  persistentHint?: boolean;
2274
2275
  placeholder?: string;
@@ -2280,8 +2281,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2280
2281
  onInput?: ((value: string) => any) | undefined;
2281
2282
  onBlur?: (() => any) | undefined;
2282
2283
  onFocus?: (() => any) | undefined;
2283
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
2284
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
2284
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
2285
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
2285
2286
  }>, {
2286
2287
  validateOnSubmit: () => Promise<boolean>;
2287
2288
  reset: () => void;
@@ -2291,15 +2292,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2291
2292
  input: (value: string) => any;
2292
2293
  blur: () => any;
2293
2294
  focus: () => any;
2294
- "update:model-value": (value: DateValue) => any;
2295
- "date-selected": (value: DateValue) => any;
2295
+ "update:model-value": (value: DateModelValue) => any;
2296
+ "date-selected": (value: DateModelValue) => any;
2296
2297
  }, import('vue').PublicProps, {
2297
2298
  title: string | false;
2298
2299
  disabled: boolean;
2299
2300
  placeholder: string;
2300
2301
  density: "default" | "comfortable" | "compact";
2301
2302
  readonly: boolean;
2302
- modelValue: DateValue;
2303
+ modelValue: DateModelValue;
2303
2304
  bgColor: string;
2304
2305
  required: boolean;
2305
2306
  showSuccessMessages: boolean;
@@ -2336,7 +2337,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2336
2337
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
2337
2338
  readonly isClearable?: boolean | undefined;
2338
2339
  readonly showDivider?: boolean | undefined;
2339
- readonly label: string;
2340
+ readonly label?: string | undefined;
2340
2341
  readonly readonly?: boolean | undefined;
2341
2342
  readonly isActive?: boolean | undefined;
2342
2343
  readonly baseColor?: string | undefined;
@@ -4188,7 +4189,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4188
4189
  isOutlined?: boolean;
4189
4190
  isValidateOnBlur?: boolean;
4190
4191
  label: string;
4191
- modelValue?: DateValue;
4192
+ modelValue?: DateModelValue;
4192
4193
  noIcon?: boolean;
4193
4194
  persistentHint?: boolean;
4194
4195
  placeholder?: string;
@@ -4200,8 +4201,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4200
4201
  onInput?: ((value: string) => any) | undefined;
4201
4202
  onBlur?: (() => any) | undefined;
4202
4203
  onFocus?: (() => any) | undefined;
4203
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
4204
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
4204
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
4205
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
4205
4206
  }>, {
4206
4207
  validateOnSubmit: () => Promise<boolean>;
4207
4208
  reset: () => void;
@@ -4213,7 +4214,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4213
4214
  placeholder: string;
4214
4215
  density: "default" | "comfortable" | "compact";
4215
4216
  readonly: boolean;
4216
- modelValue: DateValue;
4217
+ modelValue: DateModelValue;
4217
4218
  bgColor: string;
4218
4219
  required: boolean;
4219
4220
  showSuccessMessages: boolean;
@@ -4254,7 +4255,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4254
4255
  isOutlined?: boolean;
4255
4256
  isValidateOnBlur?: boolean;
4256
4257
  label: string;
4257
- modelValue?: DateValue;
4258
+ modelValue?: DateModelValue;
4258
4259
  noIcon?: boolean;
4259
4260
  persistentHint?: boolean;
4260
4261
  placeholder?: string;
@@ -4266,8 +4267,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4266
4267
  onInput?: ((value: string) => any) | undefined;
4267
4268
  onBlur?: (() => any) | undefined;
4268
4269
  onFocus?: (() => any) | undefined;
4269
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
4270
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
4270
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
4271
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
4271
4272
  }>, {
4272
4273
  validateOnSubmit: () => Promise<boolean>;
4273
4274
  reset: () => void;
@@ -4277,15 +4278,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4277
4278
  input: (value: string) => any;
4278
4279
  blur: () => any;
4279
4280
  focus: () => any;
4280
- "update:model-value": (value: DateValue) => any;
4281
- "date-selected": (value: DateValue) => any;
4281
+ "update:model-value": (value: DateModelValue) => any;
4282
+ "date-selected": (value: DateModelValue) => any;
4282
4283
  }, import('vue').PublicProps, {
4283
4284
  title: string | false;
4284
4285
  disabled: boolean;
4285
4286
  placeholder: string;
4286
4287
  density: "default" | "comfortable" | "compact";
4287
4288
  readonly: boolean;
4288
- modelValue: DateValue;
4289
+ modelValue: DateModelValue;
4289
4290
  bgColor: string;
4290
4291
  required: boolean;
4291
4292
  showSuccessMessages: boolean;
@@ -4322,7 +4323,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4322
4323
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
4323
4324
  readonly isClearable?: boolean | undefined;
4324
4325
  readonly showDivider?: boolean | undefined;
4325
- readonly label: string;
4326
+ readonly label?: string | undefined;
4326
4327
  readonly readonly?: boolean | undefined;
4327
4328
  readonly isActive?: boolean | undefined;
4328
4329
  readonly baseColor?: string | undefined;
@@ -6174,7 +6175,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6174
6175
  isOutlined?: boolean;
6175
6176
  isValidateOnBlur?: boolean;
6176
6177
  label: string;
6177
- modelValue?: DateValue;
6178
+ modelValue?: DateModelValue;
6178
6179
  noIcon?: boolean;
6179
6180
  persistentHint?: boolean;
6180
6181
  placeholder?: string;
@@ -6186,8 +6187,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6186
6187
  onInput?: ((value: string) => any) | undefined;
6187
6188
  onBlur?: (() => any) | undefined;
6188
6189
  onFocus?: (() => any) | undefined;
6189
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
6190
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
6190
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
6191
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
6191
6192
  }>, {
6192
6193
  validateOnSubmit: () => Promise<boolean>;
6193
6194
  reset: () => void;
@@ -6199,7 +6200,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6199
6200
  placeholder: string;
6200
6201
  density: "default" | "comfortable" | "compact";
6201
6202
  readonly: boolean;
6202
- modelValue: DateValue;
6203
+ modelValue: DateModelValue;
6203
6204
  bgColor: string;
6204
6205
  required: boolean;
6205
6206
  showSuccessMessages: boolean;
@@ -6719,8 +6720,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6719
6720
  onInput?: ((value: string) => any) | undefined;
6720
6721
  onBlur?: (() => any) | undefined;
6721
6722
  onFocus?: (() => any) | undefined;
6722
- "onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
6723
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
6723
+ "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
6724
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
6724
6725
  onClosed?: (() => any) | undefined;
6725
6726
  }>, {
6726
6727
  validateOnSubmit: () => Promise<boolean>;
@@ -6749,7 +6750,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6749
6750
  message: string;
6750
6751
  };
6751
6752
  displayFormattedDate: Ref<string, string>;
6752
- handleDateSelected: (value: DateValue) => void;
6753
+ handleDateSelected: (value: DateModelValue) => void;
6753
6754
  resetViewMode: () => void;
6754
6755
  reset: () => void;
6755
6756
  }, {}, {}, {}, {
@@ -6815,7 +6816,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6815
6816
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
6816
6817
  readonly isClearable?: boolean | undefined;
6817
6818
  readonly showDivider?: boolean | undefined;
6818
- readonly label: string;
6819
+ readonly label?: string | undefined;
6819
6820
  readonly readonly?: boolean | undefined;
6820
6821
  readonly isActive?: boolean | undefined;
6821
6822
  readonly baseColor?: string | undefined;
@@ -1,8 +1,9 @@
1
1
  import { nextTick, ComponentPublicInstance, Ref } from 'vue';
2
- import { DateInput, DateValue } from '../../../composables/date/useDateInitializationDayjs';
2
+ import { DateInput, DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
3
3
  type __VLS_Props = {
4
4
  autoClamp?: boolean;
5
5
  bgColor?: string;
6
+ /** @deprecated Utilisez isBirthDate à la place */
6
7
  birthDate?: boolean;
7
8
  customRules?: {
8
9
  type: string;
@@ -75,22 +76,22 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
75
76
  message: string;
76
77
  };
77
78
  displayFormattedDate: Ref<string, string>;
78
- handleDateSelected: (value: DateValue) => void;
79
+ handleDateSelected: (value: DateModelValue) => void;
79
80
  resetViewMode: () => void;
80
81
  reset: () => void;
81
82
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
82
83
  input: (value: string) => any;
83
84
  blur: () => any;
84
85
  focus: () => any;
85
- "update:modelValue": (value: DateValue) => any;
86
- "date-selected": (value: DateValue) => any;
86
+ "update:modelValue": (value: DateModelValue) => any;
87
+ "date-selected": (value: DateModelValue) => any;
87
88
  closed: () => any;
88
89
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
89
90
  onInput?: ((value: string) => any) | undefined;
90
91
  onBlur?: (() => any) | undefined;
91
92
  onFocus?: (() => any) | undefined;
92
- "onUpdate:modelValue"?: ((value: DateValue) => any) | undefined;
93
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
93
+ "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
94
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
94
95
  onClosed?: (() => any) | undefined;
95
96
  }>, {
96
97
  title: string | false;
@@ -159,7 +160,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
159
160
  isOutlined?: boolean;
160
161
  isValidateOnBlur?: boolean;
161
162
  label: string;
162
- modelValue?: DateValue;
163
+ modelValue?: DateModelValue;
163
164
  noIcon?: boolean;
164
165
  persistentHint?: boolean;
165
166
  placeholder?: string;
@@ -171,8 +172,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
171
172
  onInput?: ((value: string) => any) | undefined;
172
173
  onBlur?: (() => any) | undefined;
173
174
  onFocus?: (() => any) | undefined;
174
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
175
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
175
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
176
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
176
177
  }>, {
177
178
  validateOnSubmit: () => Promise<boolean>;
178
179
  reset: () => void;
@@ -182,15 +183,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
182
183
  input: (value: string) => any;
183
184
  blur: () => any;
184
185
  focus: () => any;
185
- "update:model-value": (value: DateValue) => any;
186
- "date-selected": (value: DateValue) => any;
186
+ "update:model-value": (value: DateModelValue) => any;
187
+ "date-selected": (value: DateModelValue) => any;
187
188
  }, import('vue').PublicProps, {
188
189
  title: string | false;
189
190
  disabled: boolean;
190
191
  placeholder: string;
191
192
  density: "default" | "comfortable" | "compact";
192
193
  readonly: boolean;
193
- modelValue: DateValue;
194
+ modelValue: DateModelValue;
194
195
  bgColor: string;
195
196
  required: boolean;
196
197
  showSuccessMessages: boolean;
@@ -227,7 +228,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
227
228
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
228
229
  readonly isClearable?: boolean | undefined;
229
230
  readonly showDivider?: boolean | undefined;
230
- readonly label: string;
231
+ readonly label?: string | undefined;
231
232
  readonly readonly?: boolean | undefined;
232
233
  readonly isActive?: boolean | undefined;
233
234
  readonly baseColor?: string | undefined;
@@ -2079,7 +2080,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2079
2080
  isOutlined?: boolean;
2080
2081
  isValidateOnBlur?: boolean;
2081
2082
  label: string;
2082
- modelValue?: DateValue;
2083
+ modelValue?: DateModelValue;
2083
2084
  noIcon?: boolean;
2084
2085
  persistentHint?: boolean;
2085
2086
  placeholder?: string;
@@ -2091,8 +2092,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2091
2092
  onInput?: ((value: string) => any) | undefined;
2092
2093
  onBlur?: (() => any) | undefined;
2093
2094
  onFocus?: (() => any) | undefined;
2094
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
2095
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
2095
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
2096
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
2096
2097
  }>, {
2097
2098
  validateOnSubmit: () => Promise<boolean>;
2098
2099
  reset: () => void;
@@ -2104,7 +2105,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2104
2105
  placeholder: string;
2105
2106
  density: "default" | "comfortable" | "compact";
2106
2107
  readonly: boolean;
2107
- modelValue: DateValue;
2108
+ modelValue: DateModelValue;
2108
2109
  bgColor: string;
2109
2110
  required: boolean;
2110
2111
  showSuccessMessages: boolean;
@@ -2145,7 +2146,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2145
2146
  isOutlined?: boolean;
2146
2147
  isValidateOnBlur?: boolean;
2147
2148
  label: string;
2148
- modelValue?: DateValue;
2149
+ modelValue?: DateModelValue;
2149
2150
  noIcon?: boolean;
2150
2151
  persistentHint?: boolean;
2151
2152
  placeholder?: string;
@@ -2157,8 +2158,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2157
2158
  onInput?: ((value: string) => any) | undefined;
2158
2159
  onBlur?: (() => any) | undefined;
2159
2160
  onFocus?: (() => any) | undefined;
2160
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
2161
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
2161
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
2162
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
2162
2163
  }>, {
2163
2164
  validateOnSubmit: () => Promise<boolean>;
2164
2165
  reset: () => void;
@@ -2168,15 +2169,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2168
2169
  input: (value: string) => any;
2169
2170
  blur: () => any;
2170
2171
  focus: () => any;
2171
- "update:model-value": (value: DateValue) => any;
2172
- "date-selected": (value: DateValue) => any;
2172
+ "update:model-value": (value: DateModelValue) => any;
2173
+ "date-selected": (value: DateModelValue) => any;
2173
2174
  }, import('vue').PublicProps, {
2174
2175
  title: string | false;
2175
2176
  disabled: boolean;
2176
2177
  placeholder: string;
2177
2178
  density: "default" | "comfortable" | "compact";
2178
2179
  readonly: boolean;
2179
- modelValue: DateValue;
2180
+ modelValue: DateModelValue;
2180
2181
  bgColor: string;
2181
2182
  required: boolean;
2182
2183
  showSuccessMessages: boolean;
@@ -2213,7 +2214,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
2213
2214
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
2214
2215
  readonly isClearable?: boolean | undefined;
2215
2216
  readonly showDivider?: boolean | undefined;
2216
- readonly label: string;
2217
+ readonly label?: string | undefined;
2217
2218
  readonly readonly?: boolean | undefined;
2218
2219
  readonly isActive?: boolean | undefined;
2219
2220
  readonly baseColor?: string | undefined;
@@ -4065,7 +4066,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4065
4066
  isOutlined?: boolean;
4066
4067
  isValidateOnBlur?: boolean;
4067
4068
  label: string;
4068
- modelValue?: DateValue;
4069
+ modelValue?: DateModelValue;
4069
4070
  noIcon?: boolean;
4070
4071
  persistentHint?: boolean;
4071
4072
  placeholder?: string;
@@ -4077,8 +4078,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4077
4078
  onInput?: ((value: string) => any) | undefined;
4078
4079
  onBlur?: (() => any) | undefined;
4079
4080
  onFocus?: (() => any) | undefined;
4080
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
4081
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
4081
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
4082
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
4082
4083
  }>, {
4083
4084
  validateOnSubmit: () => Promise<boolean>;
4084
4085
  reset: () => void;
@@ -4090,7 +4091,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
4090
4091
  placeholder: string;
4091
4092
  density: "default" | "comfortable" | "compact";
4092
4093
  readonly: boolean;
4093
- modelValue: DateValue;
4094
+ modelValue: DateModelValue;
4094
4095
  bgColor: string;
4095
4096
  required: boolean;
4096
4097
  showSuccessMessages: boolean;
@@ -1,6 +1,6 @@
1
1
  import { nextTick } from 'vue';
2
2
  import { ValidationRule } from '../../../composables/validation/useValidation';
3
- import { DateValue } from '../../../composables/date/useDateInitializationDayjs';
3
+ import { DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
4
4
  type __VLS_Props = {
5
5
  autoClamp?: boolean;
6
6
  bgColor?: string;
@@ -20,7 +20,7 @@ type __VLS_Props = {
20
20
  isOutlined?: boolean;
21
21
  isValidateOnBlur?: boolean;
22
22
  label: string;
23
- modelValue?: DateValue;
23
+ modelValue?: DateModelValue;
24
24
  noIcon?: boolean;
25
25
  persistentHint?: boolean;
26
26
  placeholder?: string;
@@ -38,21 +38,21 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
38
38
  input: (value: string) => any;
39
39
  blur: () => any;
40
40
  focus: () => any;
41
- "update:model-value": (value: DateValue) => any;
42
- "date-selected": (value: DateValue) => any;
41
+ "update:model-value": (value: DateModelValue) => any;
42
+ "date-selected": (value: DateModelValue) => any;
43
43
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
44
44
  onInput?: ((value: string) => any) | undefined;
45
45
  onBlur?: (() => any) | undefined;
46
46
  onFocus?: (() => any) | undefined;
47
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
48
- "onDate-selected"?: ((value: DateValue) => any) | undefined;
47
+ "onUpdate:model-value"?: ((value: DateModelValue) => any) | undefined;
48
+ "onDate-selected"?: ((value: DateModelValue) => any) | undefined;
49
49
  }>, {
50
50
  title: string | false;
51
51
  disabled: boolean;
52
52
  placeholder: string;
53
53
  density: "default" | "comfortable" | "compact";
54
54
  readonly: boolean;
55
- modelValue: DateValue;
55
+ modelValue: DateModelValue;
56
56
  bgColor: string;
57
57
  required: boolean;
58
58
  showSuccessMessages: boolean;
@@ -89,7 +89,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
89
89
  readonly color?: import('../../../types/vuetifyTypes').ColorType | undefined;
90
90
  readonly isClearable?: boolean | undefined;
91
91
  readonly showDivider?: boolean | undefined;
92
- readonly label: string;
92
+ readonly label?: string | undefined;
93
93
  readonly readonly?: boolean | undefined;
94
94
  readonly isActive?: boolean | undefined;
95
95
  readonly baseColor?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Ref, ComputedRef } from 'vue';
2
- import { DateInput, DateValue } from '../../../composables/date/useDateInitializationDayjs';
2
+ import { DateInput, DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
3
3
  export interface UseDatePickerStateOptions {
4
4
  selectedDates: Ref<Date | (Date | null)[] | null>;
5
5
  rangeBoundaryDates?: Ref<[Date | null, Date | null] | null>;
@@ -10,7 +10,7 @@ export interface UseDatePickerStateOptions {
10
10
  formatDate: (date: Date | null, format: string) => string;
11
11
  initializeSelectedDates: (value: DateInput | null, format: string, dateFormatReturn?: string) => Date | (Date | null)[] | null;
12
12
  validateDates: (forceValidation?: boolean) => void;
13
- updateModel: (value: DateValue) => void;
13
+ updateModel: (value: DateModelValue) => void;
14
14
  generateDateRange?: (start: Date, end: Date) => Date[];
15
15
  }
16
16
  export interface UseDatePickerStateResult {
@@ -18,7 +18,7 @@ export interface UseDatePickerStateResult {
18
18
  rangeBoundaryDates?: Ref<[Date | null, Date | null] | null>;
19
19
  textInputValue: Ref<string>;
20
20
  displayFormattedDate: Ref<string>;
21
- formattedDate: Ref<DateValue>;
21
+ formattedDate: Ref<DateModelValue>;
22
22
  displayFormattedFromSelectedDates: ComputedRef<string | null>;
23
23
  syncFromModelValue: (newValue: DateInput | undefined) => void;
24
24
  syncTextInputFromSelection: () => void;
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { ValidationResult } from '../../../composables/validation/useValidation';
3
- import { DateValue } from '../../../composables/date/useDateInitializationDayjs';
3
+ import { DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
4
4
  export interface UseDateTextFieldManualValidationOptions {
5
5
  required: boolean;
6
6
  disableErrorHandling: boolean;
@@ -33,7 +33,7 @@ export interface UseDateTextFieldResetOptions {
33
33
  inputValue: Ref<string>;
34
34
  selectedDates: Ref<unknown>;
35
35
  resetState: () => void;
36
- emitModel: (value: DateValue) => void;
36
+ emitModel: (value: DateModelValue) => void;
37
37
  }
38
38
  export interface UseDateTextFieldOptions {
39
39
  autoClamp: boolean;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { DateValue } from '../../../composables/date/useDateInitializationDayjs';
2
+ import { DateModelValue } from '../../../composables/date/useDateInitializationDayjs';
3
3
  import { DateObjectValue } from '../types';
4
4
  /**
5
5
  * Composable pour gérer le comportement lors de la perte de focus d'un champ de date
@@ -23,7 +23,7 @@ export declare const useInputBlurHandler: (options: {
23
23
  };
24
24
  parseDate: (dateStr: string, format: string) => Date | null;
25
25
  formatDate: (date: Date, format: string) => string;
26
- updateModel: (value: DateValue) => void;
26
+ updateModel: (value: DateModelValue) => void;
27
27
  validateManualInput: (value: string) => boolean | Promise<boolean>;
28
28
  emitBlur: () => void;
29
29
  }) => {
@@ -7,7 +7,6 @@
7
7
  */
8
8
  export type DateObjectValue = Date | (Date | null)[] | null;
9
9
  /**
10
- * Alias pour maintenir la compatibilité avec le code existant
11
- * @deprecated Utilisez DateObjectValue pour les objets Date ou importez DateValue depuis useDateInitializationDayjs pour les chaînes
10
+ * @deprecated Utilisez DateObjectValue pour les objets Date ou importez DateModelValue depuis useDateInitializationDayjs pour les chaînes
12
11
  */
13
12
  export type DateValue = DateObjectValue;
@@ -4,6 +4,7 @@ export declare function useLunarCalendarValidation(modelValue: ComputedRef<strin
4
4
  errors: import('vue').Ref<string[], string[]>;
5
5
  warnings: import('vue').Ref<string[], string[]>;
6
6
  successes: import('vue').Ref<string[], string[]>;
7
+ displaySuccesses: ComputedRef<string[]>;
7
8
  hasError: ComputedRef<boolean>;
8
9
  hasWarning: ComputedRef<boolean>;
9
10
  hasSuccess: ComputedRef<boolean>;
@@ -53,7 +53,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
53
53
  readonly color?: import('../../types/vuetifyTypes').ColorType | undefined;
54
54
  readonly isClearable?: boolean | undefined;
55
55
  readonly showDivider?: boolean | undefined;
56
- readonly label: string;
56
+ readonly label?: string | undefined;
57
57
  readonly readonly?: boolean | undefined;
58
58
  readonly isActive?: boolean | undefined;
59
59
  readonly baseColor?: string | undefined;