@cnamts/synapse 0.0.12-alpha → 0.0.13-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/dist/design-system-v3.js +4913 -4021
  2. package/dist/design-system-v3.umd.cjs +1 -1
  3. package/dist/src/components/Amelipro/types/types.d.ts +30 -57
  4. package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +2 -0
  5. package/dist/src/components/DatePicker/DatePicker.d.ts +36 -44
  6. package/dist/src/components/DatePicker/DateTextInput.d.ts +33 -36
  7. package/dist/src/components/FilterInline/AccessibiliteItems.d.ts +30 -0
  8. package/dist/src/components/FilterInline/constants/ExpertiseLevelEnum.d.ts +4 -0
  9. package/dist/src/components/FilterSideBar/AccessibiliteItems.d.ts +29 -0
  10. package/dist/src/components/FilterSideBar/constants/ExpertiseLevelEnum.d.ts +4 -0
  11. package/dist/src/components/NirField/NirField.d.ts +14 -2
  12. package/dist/src/components/NotificationBar/NotificationBar.d.ts +5 -5
  13. package/dist/src/components/PasswordField/PasswordField.d.ts +2 -0
  14. package/dist/src/components/PeriodField/PeriodField.d.ts +159 -157
  15. package/dist/src/components/PhoneField/PhoneField.d.ts +22 -1
  16. package/dist/src/components/UploadWorkflow/AccessibiliteItems.d.ts +29 -0
  17. package/dist/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.d.ts +4 -0
  18. package/dist/src/components/Usages/Usages.d.ts +10 -0
  19. package/dist/src/components/index.d.ts +3 -0
  20. package/dist/src/composables/date/tests/useDatePickerAccessibility.spec.d.ts +1 -0
  21. package/dist/src/composables/date/useDateFormat.d.ts +26 -0
  22. package/dist/src/composables/date/useDateInitialization.d.ts +18 -0
  23. package/dist/src/composables/date/useDatePickerAccessibility.d.ts +8 -0
  24. package/dist/src/composables/useFilterable/useFilterable.d.ts +1 -1
  25. package/dist/src/composables/validation/useValidation.d.ts +1 -0
  26. package/dist/src/main.d.ts +1 -0
  27. package/dist/src/utils/formatDate/index.d.ts +3 -0
  28. package/dist/src/utils/formatDate/tests/formatDate.spec.d.ts +1 -0
  29. package/dist/src/utils/functions/validation/isDateAfter/index.d.ts +2 -0
  30. package/dist/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.d.ts +1 -0
  31. package/dist/src/utils/functions/validation/isDateBefore/index.d.ts +2 -0
  32. package/dist/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.d.ts +1 -0
  33. package/dist/src/utils/functions/validation/isDateInRange/index.d.ts +3 -0
  34. package/dist/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.d.ts +1 -0
  35. package/dist/src/utils/functions/validation/isDateValid/index.d.ts +9 -0
  36. package/dist/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  37. package/dist/src/utils/functions/validation/isEmailValid/tests/isEmailValid.spec.d.ts +1 -0
  38. package/dist/src/utils/functions/validation/isWeekend/index.d.ts +3 -0
  39. package/dist/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.d.ts +1 -0
  40. package/dist/src/utils/parseDate/index.d.ts +3 -0
  41. package/dist/src/utils/parseDate/tests/parseDate.spec.d.ts +1 -0
  42. package/dist/src/utils/rules/doMatchPattern/index.d.ts +3 -0
  43. package/dist/src/utils/rules/doMatchPattern/tests/matchPattern.spec.d.ts +1 -0
  44. package/dist/src/utils/rules/index.d.ts +11 -0
  45. package/dist/src/utils/rules/isDateValid/index.d.ts +4 -0
  46. package/dist/src/utils/rules/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  47. package/dist/src/utils/rules/isExactLength/index.d.ts +3 -0
  48. package/dist/src/utils/rules/isExactLength/locales.d.ts +2 -0
  49. package/dist/src/utils/rules/isExactLength/tests/exactLength.spec.d.ts +1 -0
  50. package/dist/src/utils/rules/isMaxLength/index.d.ts +3 -0
  51. package/dist/src/utils/rules/isMaxLength/locales.d.ts +2 -0
  52. package/dist/src/utils/rules/isMaxLength/tests/isMaxLength.spec.d.ts +1 -0
  53. package/dist/src/utils/rules/isMinLength/index.d.ts +3 -0
  54. package/dist/src/utils/rules/isMinLength/locales.d.ts +2 -0
  55. package/dist/src/utils/rules/isMinLength/tests/isMinLength.spec.d.ts +1 -0
  56. package/dist/src/utils/rules/isNotAfterDate/index.d.ts +3 -0
  57. package/dist/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.d.ts +1 -0
  58. package/dist/src/utils/rules/isNotAfterToday/index.d.ts +4 -0
  59. package/dist/src/utils/rules/isNotAfterToday/locales.d.ts +2 -0
  60. package/dist/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.d.ts +1 -0
  61. package/dist/src/utils/rules/isNotBeforeDate/index.d.ts +3 -0
  62. package/dist/src/utils/rules/isNotBeforeDate/locales.d.ts +2 -0
  63. package/dist/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.d.ts +1 -0
  64. package/dist/src/utils/rules/isNotBeforeToday/index.d.ts +4 -0
  65. package/dist/src/utils/rules/isNotBeforeToday/locales.d.ts +2 -0
  66. package/dist/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.d.ts +1 -0
  67. package/dist/src/utils/rules/isRequired/index.d.ts +4 -0
  68. package/dist/src/utils/rules/isRequired/locales.d.ts +2 -0
  69. package/dist/src/utils/rules/isRequired/tests/isRequred.spec.d.ts +1 -0
  70. package/dist/src/utils/rules/isValidEmail/index.d.ts +4 -0
  71. package/dist/src/utils/rules/isValidEmail/locales.d.ts +2 -0
  72. package/dist/src/utils/rules/isValidEmail/tests/isValidEmail.spec.d.ts +1 -0
  73. package/dist/style.css +1 -1
  74. package/package.json +3 -1
  75. package/src/assets/_radius.scss +12 -6
  76. package/src/assets/settings.scss +8 -0
  77. package/src/components/Amelipro/types/types.ts +40 -0
  78. package/src/components/ChipList/ChipList.stories.ts +26 -27
  79. package/src/components/ChipList/ChipList.vue +5 -1
  80. package/src/components/ChipList/config.ts +1 -0
  81. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -2
  82. package/src/components/Customs/SyBtnSelect/SyBtnSelect.mdx +1 -1
  83. package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +1 -1
  84. package/src/components/Customs/SySelect/SySelect.mdx +1 -1
  85. package/src/components/Customs/SySelect/SySelect.vue +19 -4
  86. package/src/components/Customs/SyTextField/SyTextField.mdx +2 -2
  87. package/src/components/Customs/SyTextField/SyTextField.stories.ts +239 -0
  88. package/src/components/Customs/SyTextField/SyTextField.vue +3 -0
  89. package/src/components/DatePicker/DatePicker.stories.ts +177 -5
  90. package/src/components/DatePicker/DatePicker.vue +148 -347
  91. package/src/components/DatePicker/DateTextInput.vue +91 -251
  92. package/src/components/DatePicker/tests/DatePicker.spec.ts +118 -48
  93. package/src/components/DatePicker/tests/DateTextInput.spec.ts +202 -6
  94. package/src/components/FileList/Accessibilite.stories.ts +1 -1
  95. package/src/components/FileList/AccessibiliteItems.ts +22 -0
  96. package/src/components/FileUpload/FileUpload.stories.ts +9 -7
  97. package/src/components/FilterInline/Accessibilite.mdx +14 -0
  98. package/src/components/FilterInline/Accessibilite.stories.ts +216 -0
  99. package/src/components/FilterInline/AccessibiliteItems.ts +132 -0
  100. package/src/components/FilterInline/constants/ExpertiseLevelEnum.ts +4 -0
  101. package/src/components/FilterSideBar/Accessibilite.mdx +14 -0
  102. package/src/components/FilterSideBar/Accessibilite.stories.ts +216 -0
  103. package/src/components/FilterSideBar/AccessibiliteItems.ts +153 -0
  104. package/src/components/FilterSideBar/constants/ExpertiseLevelEnum.ts +4 -0
  105. package/src/components/NirField/NirField.stories.ts +165 -0
  106. package/src/components/NirField/NirField.vue +6 -2
  107. package/src/components/NirField/tests/config.spec.ts +65 -0
  108. package/src/components/NotificationBar/NotificationBar.mdx +2 -2
  109. package/src/components/NotificationBar/NotificationBar.stories.ts +59 -11
  110. package/src/components/NotificationBar/NotificationBar.vue +42 -114
  111. package/src/components/NotificationBar/tests/NotificationBar.spec.ts +28 -33
  112. package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +1 -1
  113. package/src/components/PaginatedTable/PaginatedTable.vue +6 -10
  114. package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +4 -4
  115. package/src/components/PasswordField/PasswordField.stories.ts +191 -4
  116. package/src/components/PasswordField/PasswordField.vue +3 -0
  117. package/src/components/PeriodField/PeriodField.stories.ts +214 -118
  118. package/src/components/PeriodField/PeriodField.vue +195 -148
  119. package/src/components/PeriodField/tests/PeriodField.spec.ts +146 -0
  120. package/src/components/PhoneField/PhoneField.stories.ts +101 -0
  121. package/src/components/PhoneField/PhoneField.vue +73 -17
  122. package/src/components/PhoneField/tests/PhoneField.spec.ts +40 -0
  123. package/src/components/RatingPicker/RatingPicker.stories.ts +7 -7
  124. package/src/components/SearchListField/SearchListField.stories.ts +1 -1
  125. package/src/components/UploadWorkflow/Accessibilite.mdx +14 -0
  126. package/src/components/UploadWorkflow/Accessibilite.stories.ts +216 -0
  127. package/src/components/UploadWorkflow/AccessibiliteItems.ts +192 -0
  128. package/src/components/UploadWorkflow/UploadWorkflow.vue +2 -2
  129. package/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.ts +4 -0
  130. package/src/components/Usages/tests/Usages.spec.ts +183 -0
  131. package/src/components/index.ts +3 -0
  132. package/src/composables/date/tests/useDateFormat.spec.ts +67 -0
  133. package/src/composables/date/tests/useDateInitialization.spec.ts +89 -0
  134. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +102 -0
  135. package/src/composables/date/useDateFormat.ts +94 -0
  136. package/src/composables/date/useDateInitialization.ts +92 -0
  137. package/src/composables/date/useDatePickerAccessibility.ts +78 -0
  138. package/src/composables/rules/tests/useFieldValidation.spec.ts +385 -4
  139. package/src/composables/useFilterable/useFilterable.ts +5 -4
  140. package/src/composables/validation/useValidation.ts +15 -0
  141. package/src/main.ts +1 -0
  142. package/src/stories/Accessibilite/Aculturation/AuditDesignSystem.mdx +28 -0
  143. package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +2 -2
  144. package/src/stories/Accessibilite/Audit/RGAA.mdx +6 -6
  145. package/src/stories/Accessibilite/Introduction.mdx +2 -1
  146. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +1 -1
  147. package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +1 -1
  148. package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +8 -11
  149. package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +77 -0
  150. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +9 -3
  151. package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +2 -2
  152. package/src/stories/Demarrer/Introduction.stories.ts +3 -3
  153. package/src/stories/Demarrer/Releases.mdx +8 -0
  154. package/src/stories/Demarrer/Releases.stories.ts +66 -0
  155. package/src/stories/DesignTokens/Conteneurs.stories.ts +3 -3
  156. package/src/stories/GuideDuDev/LesBreackingChanges.mdx +36 -0
  157. package/src/stories/GuideDuDev/UtiliserLesRules.mdx +2 -2
  158. package/src/utils/formatDate/index.ts +6 -0
  159. package/src/utils/formatDate/tests/formatDate.spec.ts +18 -0
  160. package/src/utils/functions/validation/isDateAfter/index.ts +9 -0
  161. package/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.ts +18 -0
  162. package/src/utils/functions/validation/isDateBefore/index.ts +9 -0
  163. package/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.ts +23 -0
  164. package/src/utils/functions/validation/isDateInRange/index.ts +22 -0
  165. package/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.ts +28 -0
  166. package/src/utils/functions/validation/isDateValid/index.ts +67 -0
  167. package/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.ts +46 -0
  168. package/src/utils/functions/validation/isEmailValid/index.ts +9 -0
  169. package/src/utils/functions/validation/isWeekend/index.ts +10 -0
  170. package/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.ts +16 -0
  171. package/src/utils/parseDate/index.ts +29 -0
  172. package/src/utils/parseDate/tests/parseDate.spec.ts +52 -0
  173. package/src/utils/rules/Rules.mdx +16 -0
  174. package/src/utils/rules/doMatchPattern/DoMachPattern.mdx +66 -0
  175. package/src/utils/rules/doMatchPattern/DoMatchPattern.stories.ts +106 -0
  176. package/src/utils/rules/doMatchPattern/index.ts +28 -0
  177. package/src/utils/rules/doMatchPattern/locales.ts +5 -0
  178. package/src/utils/rules/doMatchPattern/tests/matchPattern.spec.ts +38 -0
  179. package/src/utils/rules/index.ts +11 -0
  180. package/src/utils/rules/isDateValid/IsDateValid.mdx +87 -0
  181. package/src/utils/rules/isDateValid/IsDateValid.stories.ts +113 -0
  182. package/src/utils/rules/isDateValid/index.ts +32 -0
  183. package/src/utils/rules/isDateValid/locales.ts +10 -0
  184. package/src/utils/rules/isDateValid/tests/isDateValid.spec.ts +27 -0
  185. package/src/utils/rules/isExactLength/IsExactLenght.mdx +68 -0
  186. package/src/utils/rules/isExactLength/IsExactLength.stories.ts +151 -0
  187. package/src/utils/rules/{exactLength → isExactLength}/index.ts +2 -4
  188. package/src/utils/rules/isExactLength/tests/exactLength.spec.ts +48 -0
  189. package/src/utils/rules/isMaxLength/IsMaxLength.mdx +68 -0
  190. package/src/utils/rules/isMaxLength/IsMaxLength.stories.ts +152 -0
  191. package/src/utils/rules/isMaxLength/index.ts +30 -0
  192. package/src/utils/rules/isMaxLength/locales.ts +6 -0
  193. package/src/utils/rules/isMaxLength/tests/isMaxLength.spec.ts +42 -0
  194. package/src/utils/rules/isMinLength/IsMinLength.mdx +68 -0
  195. package/src/utils/rules/isMinLength/IsMinLength.stories.ts +152 -0
  196. package/src/utils/rules/isMinLength/index.ts +30 -0
  197. package/src/utils/rules/isMinLength/locales.ts +6 -0
  198. package/src/utils/rules/isMinLength/tests/isMinLength.spec.ts +42 -0
  199. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.mdx +68 -0
  200. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.stories.ts +109 -0
  201. package/src/utils/rules/isNotAfterDate/index.ts +25 -0
  202. package/src/utils/rules/isNotAfterDate/locales.ts +6 -0
  203. package/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.ts +25 -0
  204. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.mdx +83 -0
  205. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.stories.ts +110 -0
  206. package/src/utils/rules/isNotAfterToday/index.ts +28 -0
  207. package/src/utils/rules/isNotAfterToday/locales.ts +5 -0
  208. package/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.ts +30 -0
  209. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.mdx +68 -0
  210. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.stories.ts +114 -0
  211. package/src/utils/rules/isNotBeforeDate/index.ts +25 -0
  212. package/src/utils/rules/isNotBeforeDate/locales.ts +6 -0
  213. package/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.ts +25 -0
  214. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.mdx +83 -0
  215. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.stories.ts +110 -0
  216. package/src/utils/rules/isNotBeforeToday/index.ts +28 -0
  217. package/src/utils/rules/isNotBeforeToday/locales.ts +5 -0
  218. package/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.ts +36 -0
  219. package/src/utils/rules/isRequired/IsRequired.mdx +81 -0
  220. package/src/utils/rules/isRequired/IsRequired.stories.ts +101 -0
  221. package/src/utils/rules/{required → isRequired}/index.ts +3 -3
  222. package/src/utils/rules/{required/tests/index.spec.ts → isRequired/tests/isRequred.spec.ts} +9 -9
  223. package/src/utils/rules/isValidEmail/IsValidEmail.mdx +81 -0
  224. package/src/utils/rules/isValidEmail/IsValidEmail.stories.ts +101 -0
  225. package/src/utils/rules/{email → isValidEmail}/index.ts +3 -5
  226. package/src/utils/rules/{email/tests/email.spec.ts → isValidEmail/tests/isValidEmail.spec.ts} +5 -5
  227. package/dist/src/components/Amelipro/types/languages.d.ts +0 -6
  228. package/dist/src/utils/rules/email/index.d.ts +0 -4
  229. package/dist/src/utils/rules/exactLength/index.d.ts +0 -4
  230. package/dist/src/utils/rules/required/index.d.ts +0 -4
  231. package/dist/src/utils/rules/required/ruleMessageHelper.d.ts +0 -3
  232. package/src/components/Amelipro/types/languages.d.ts +0 -6
  233. package/src/components/Amelipro/types/types.d.ts +0 -65
  234. package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +0 -58
  235. package/src/utils/functions/isEmailValid/index.ts +0 -8
  236. package/src/utils/rules/required/ruleMessageHelper.ts +0 -14
  237. package/src/utils/rules/required/tests/rulesMessageHelper.spec.ts +0 -22
  238. /package/dist/src/{utils/functions/isEmailValid/tests/isEmailValid.spec.d.ts → components/NirField/tests/config.spec.d.ts} +0 -0
  239. /package/dist/src/{utils/rules/email/tests/email.spec.d.ts → components/Usages/tests/Usages.spec.d.ts} +0 -0
  240. /package/dist/src/{utils/rules/required/tests/index.spec.d.ts → composables/date/tests/useDateFormat.spec.d.ts} +0 -0
  241. /package/dist/src/{utils/rules/required/tests/rulesMessageHelper.spec.d.ts → composables/date/tests/useDateInitialization.spec.d.ts} +0 -0
  242. /package/dist/src/utils/functions/{isEmailValid → validation/isEmailValid}/index.d.ts +0 -0
  243. /package/dist/src/utils/rules/{exactLength → doMatchPattern}/locales.d.ts +0 -0
  244. /package/dist/src/utils/rules/{email → isDateValid}/locales.d.ts +0 -0
  245. /package/dist/src/utils/rules/{required → isNotAfterDate}/locales.d.ts +0 -0
  246. /package/src/components/NirField/{tests → examples}//342/200/257dataset/342/200/257.md" +0 -0
  247. /package/src/utils/functions/{isEmailValid → validation/isEmailValid}/tests/isEmailValid.spec.ts +0 -0
  248. /package/src/utils/rules/{exactLength → isExactLength}/locales.ts +0 -0
  249. /package/src/utils/rules/{required → isRequired}/locales.ts +0 -0
  250. /package/src/utils/rules/{email → isValidEmail}/locales.ts +0 -0
@@ -1,65 +1,38 @@
1
- export interface Link {
2
- id: number
3
- url: string
4
- name: string
5
- }
6
-
7
1
  export interface IndexedObject<T = string> {
8
- [key: string]: T
9
- }
10
-
11
- export type Refs<T extends Record<string, unknown>> = Vue['$refs'] & T
12
-
13
- export type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'smAndDown' | 'smAndUp' | 'mdAndDown' | 'mdAndUp' | 'lgAndDown' | 'lgAndUp' | 'xlAndDown'
14
-
15
- export interface IDataListItem {
16
- id: number
17
- [key: string]: string | number | undefined
18
- accordionTitle?: string
2
+ [key: string]: T;
19
3
  }
20
-
21
4
  export interface Theme {
22
- primary: string
23
- secondary: string
24
- info: string
25
- warning: string
26
- error: string
27
- success: string
28
- }
29
-
30
- export interface VuetifyTheme extends Theme {
31
- [key: string]: string
5
+ primary: string;
6
+ secondary: string;
7
+ info: string;
8
+ warning: string;
9
+ error: string;
10
+ success: string;
32
11
  }
33
-
34
12
  export interface Color {
35
- darken1?: string
36
- darken2?: string
37
- darken3?: string
38
- darken4?: string
39
- darken5?: string
40
- darken6?: string
41
- base: string
42
- lighten1?: string
43
- lighten2?: string
44
- lighten3?: string
45
- lighten4?: string
46
- lighten5?: string
47
- lighten6?: string
13
+ darken1?: string;
14
+ darken2?: string;
15
+ darken3?: string;
16
+ darken4?: string;
17
+ darken5?: string;
18
+ darken6?: string;
19
+ base: string;
20
+ lighten1?: string;
21
+ lighten2?: string;
22
+ lighten3?: string;
23
+ lighten4?: string;
24
+ lighten5?: string;
25
+ lighten6?: string;
48
26
  }
49
-
50
27
  export interface Palette {
51
- apBlue: Color
52
- apGrey: Color
53
- apWhite: Color
54
- apBlack: Color
55
- apYellow: Color
56
- apGreen: Color
57
- apRed: Color
58
- apTurquoise: Color
59
- apParme: Color
60
- apPink: Color
28
+ apBlue: Color;
29
+ apGrey: Color;
30
+ apWhite: Color;
31
+ apBlack: Color;
32
+ apYellow: Color;
33
+ apGreen: Color;
34
+ apRed: Color;
35
+ apTurquoise: Color;
36
+ apParme: Color;
37
+ apPink: Color;
61
38
  }
62
-
63
- export type Colors = Theme & Palette
64
-
65
- export type ValidateOn = 'lazy' | ('input' | 'blur' | 'submit') | 'input lazy' | 'blur lazy' | 'submit lazy' | 'lazy input' | 'lazy blur' | 'lazy submit' | undefined
@@ -64,6 +64,7 @@ type __VLS_Props = {
64
64
  customSuccessRules?: ValidationRule[];
65
65
  showSuccessMessages?: boolean;
66
66
  isValidateOnBlur?: boolean;
67
+ disableErrorHandling?: boolean;
67
68
  };
68
69
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {
69
70
  validation: {
@@ -151,6 +152,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
151
152
  customSuccessRules: ValidationRule[];
152
153
  showSuccessMessages: boolean;
153
154
  isValidateOnBlur: boolean;
155
+ disableErrorHandling: boolean;
154
156
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
155
157
  prepend?(_: {}): any;
156
158
  append?(_: {}): any;
@@ -1,7 +1,5 @@
1
1
  import { nextTick } from 'vue';
2
- import { RuleOptions } from '../../composables/rules/useFieldValidation';
3
- type DateValue = string | [string, string] | null;
4
- type DateInput = string | string[] | null | object;
2
+ import { DateValue, DateInput } from '../../composables/date/useDateInitialization';
5
3
  type __VLS_Props = {
6
4
  modelValue?: DateInput;
7
5
  placeholder?: string;
@@ -16,11 +14,11 @@ type __VLS_Props = {
16
14
  displayPrependIcon?: boolean;
17
15
  customRules?: {
18
16
  type: string;
19
- options: RuleOptions;
17
+ options: any;
20
18
  }[];
21
19
  customWarningRules?: {
22
20
  type: string;
23
- options: RuleOptions;
21
+ options: any;
24
22
  }[];
25
23
  isDisabled?: boolean;
26
24
  noIcon?: boolean;
@@ -28,15 +26,18 @@ type __VLS_Props = {
28
26
  isOutlined?: boolean;
29
27
  isReadOnly?: boolean;
30
28
  width?: string;
29
+ disableErrorHandling?: boolean;
30
+ showSuccessMessages?: boolean;
31
31
  };
32
- declare function initializeSelectedDates(modelValue: DateInput | null): Date | Date[] | null;
33
32
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
34
33
  validateOnSubmit: () => any;
35
34
  isDatePickerVisible: import('vue').Ref<boolean, boolean>;
36
35
  selectedDates: import('vue').Ref<Date | Date[] | null, Date | Date[] | null>;
37
36
  errorMessages: import('vue').Ref<string[], string[]>;
38
37
  handleClickOutside: (event: MouseEvent) => void;
39
- initializeSelectedDates: typeof initializeSelectedDates;
38
+ initializeSelectedDates: (modelValue: DateInput, displayFormat: string, returnFormat?: string) => Date | Date[] | null;
39
+ updateAccessibility: () => Promise<void>;
40
+ openDatePicker: () => void;
40
41
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
41
42
  "update:modelValue": (value: DateValue) => any;
42
43
  blur: () => any;
@@ -57,12 +58,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
57
58
  noIcon: boolean;
58
59
  customRules: {
59
60
  type: string;
60
- options: RuleOptions;
61
+ options: any;
61
62
  }[];
62
63
  customWarningRules: {
63
64
  type: string;
64
- options: RuleOptions;
65
+ options: any;
65
66
  }[];
67
+ showSuccessMessages: boolean;
68
+ disableErrorHandling: boolean;
66
69
  format: string;
67
70
  dateFormatReturn: string;
68
71
  isOutlined: boolean;
@@ -87,21 +90,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
87
90
  displayIcon?: boolean | undefined;
88
91
  displayAppendIcon?: boolean | undefined;
89
92
  noIcon?: boolean | undefined;
90
- customRules?: {
91
- type: string;
92
- options: RuleOptions;
93
- }[] | undefined;
94
- customWarningRules?: {
95
- type: string;
96
- options: RuleOptions;
97
- }[] | undefined;
93
+ customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
94
+ customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
98
95
  displayPrependIcon?: boolean | undefined;
96
+ disableErrorHandling?: boolean | undefined;
97
+ showSuccessMessages?: boolean | undefined;
99
98
  }> & Readonly<{
100
99
  onBlur?: (() => any) | undefined;
101
100
  onFocus?: (() => any) | undefined;
102
101
  "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
103
102
  }>, {
104
- validateOnSubmit: () => boolean;
103
+ validateOnSubmit: () => Promise<boolean>;
105
104
  focus: () => void;
106
105
  blur: () => void;
107
106
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -116,14 +115,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
116
115
  isDisabled: boolean;
117
116
  placeholder: string;
118
117
  noIcon: boolean;
119
- customRules: {
120
- type: string;
121
- options: RuleOptions;
122
- }[];
123
- customWarningRules: {
124
- type: string;
125
- options: RuleOptions;
126
- }[];
118
+ customRules: import('../../composables/validation/useValidation').ValidationRule[];
119
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
120
+ showSuccessMessages: boolean;
121
+ disableErrorHandling: boolean;
127
122
  format: string;
128
123
  dateFormatReturn: string;
129
124
  isOutlined: boolean;
@@ -198,6 +193,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
198
193
  readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
199
194
  readonly showSuccessMessages?: boolean | undefined;
200
195
  readonly isValidateOnBlur?: boolean | undefined;
196
+ readonly disableErrorHandling?: boolean | undefined;
201
197
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
202
198
  readonly onClear?: ((...args: any[]) => any) | undefined;
203
199
  readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
@@ -281,6 +277,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
281
277
  customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
282
278
  showSuccessMessages?: boolean | undefined;
283
279
  isValidateOnBlur?: boolean | undefined;
280
+ disableErrorHandling?: boolean | undefined;
284
281
  }> & Readonly<{
285
282
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
286
283
  onClear?: ((...args: any[]) => any) | undefined;
@@ -367,6 +364,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
367
364
  customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
368
365
  showSuccessMessages: boolean;
369
366
  isValidateOnBlur: boolean;
367
+ disableErrorHandling: boolean;
370
368
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
371
369
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
372
370
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -449,6 +447,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
449
447
  customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
450
448
  showSuccessMessages: boolean;
451
449
  isValidateOnBlur: boolean;
450
+ disableErrorHandling: boolean;
452
451
  }> & Omit<Readonly<{
453
452
  modelValue?: string | number | null | undefined;
454
453
  prependIcon?: import('../Customs/SyTextField/types').IconType;
@@ -513,12 +512,13 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
513
512
  customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
514
513
  showSuccessMessages?: boolean | undefined;
515
514
  isValidateOnBlur?: boolean | undefined;
515
+ disableErrorHandling?: boolean | undefined;
516
516
  }> & Readonly<{
517
517
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
518
518
  onClear?: ((...args: any[]) => any) | undefined;
519
519
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
520
520
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
521
- }>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur")> & import('vue').ShallowUnwrapRef<{
521
+ }>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur" | "disableErrorHandling")> & import('vue').ShallowUnwrapRef<{
522
522
  validation: {
523
523
  errors: import('vue').Ref<string[], string[]>;
524
524
  warnings: import('vue').Ref<string[], string[]>;
@@ -561,21 +561,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
561
561
  displayIcon?: boolean | undefined;
562
562
  displayAppendIcon?: boolean | undefined;
563
563
  noIcon?: boolean | undefined;
564
- customRules?: {
565
- type: string;
566
- options: RuleOptions;
567
- }[] | undefined;
568
- customWarningRules?: {
569
- type: string;
570
- options: RuleOptions;
571
- }[] | undefined;
564
+ customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
565
+ customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
572
566
  displayPrependIcon?: boolean | undefined;
567
+ disableErrorHandling?: boolean | undefined;
568
+ showSuccessMessages?: boolean | undefined;
573
569
  }> & Readonly<{
574
570
  onBlur?: (() => any) | undefined;
575
571
  onFocus?: (() => any) | undefined;
576
572
  "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
577
573
  }>, {
578
- validateOnSubmit: () => boolean;
574
+ validateOnSubmit: () => Promise<boolean>;
579
575
  focus: () => void;
580
576
  blur: () => void;
581
577
  }, {}, {}, {}, {
@@ -586,14 +582,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
586
582
  isDisabled: boolean;
587
583
  placeholder: string;
588
584
  noIcon: boolean;
589
- customRules: {
590
- type: string;
591
- options: RuleOptions;
592
- }[];
593
- customWarningRules: {
594
- type: string;
595
- options: RuleOptions;
596
- }[];
585
+ customRules: import('../../composables/validation/useValidation').ValidationRule[];
586
+ customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
587
+ showSuccessMessages: boolean;
588
+ disableErrorHandling: boolean;
597
589
  format: string;
598
590
  dateFormatReturn: string;
599
591
  isOutlined: boolean;
@@ -1,5 +1,5 @@
1
1
  import { nextTick } from 'vue';
2
- import { RuleOptions } from '../../composables/rules/useFieldValidation';
2
+ import { ValidationRule } from '../../composables/validation/useValidation';
3
3
  type DateValue = string | null;
4
4
  type __VLS_Props = {
5
5
  modelValue?: DateValue;
@@ -14,18 +14,14 @@ type __VLS_Props = {
14
14
  displayIcon?: boolean;
15
15
  displayAppendIcon?: boolean;
16
16
  noIcon?: boolean;
17
- customRules?: {
18
- type: string;
19
- options: RuleOptions;
20
- }[];
21
- customWarningRules?: {
22
- type: string;
23
- options: RuleOptions;
24
- }[];
17
+ customRules?: ValidationRule[];
18
+ customWarningRules?: ValidationRule[];
25
19
  displayPrependIcon?: boolean;
20
+ disableErrorHandling?: boolean;
21
+ showSuccessMessages?: boolean;
26
22
  };
27
23
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
28
- validateOnSubmit: () => boolean;
24
+ validateOnSubmit: () => Promise<boolean>;
29
25
  focus: () => void;
30
26
  blur: () => void;
31
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -44,14 +40,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
44
40
  isDisabled: boolean;
45
41
  placeholder: string;
46
42
  noIcon: boolean;
47
- customRules: {
48
- type: string;
49
- options: RuleOptions;
50
- }[];
51
- customWarningRules: {
52
- type: string;
53
- options: RuleOptions;
54
- }[];
43
+ customRules: ValidationRule[];
44
+ customWarningRules: ValidationRule[];
45
+ showSuccessMessages: boolean;
46
+ disableErrorHandling: boolean;
55
47
  format: string;
56
48
  dateFormatReturn: string;
57
49
  isOutlined: boolean;
@@ -121,11 +113,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
121
113
  readonly width?: string | number | undefined;
122
114
  readonly displayAsterisk?: boolean | undefined;
123
115
  readonly noIcon?: boolean | undefined;
124
- readonly customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
125
- readonly customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
126
- readonly customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
116
+ readonly customRules?: ValidationRule[] | undefined;
117
+ readonly customWarningRules?: ValidationRule[] | undefined;
118
+ readonly customSuccessRules?: ValidationRule[] | undefined;
127
119
  readonly showSuccessMessages?: boolean | undefined;
128
120
  readonly isValidateOnBlur?: boolean | undefined;
121
+ readonly disableErrorHandling?: boolean | undefined;
129
122
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
130
123
  readonly onClear?: ((...args: any[]) => any) | undefined;
131
124
  readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
@@ -204,11 +197,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
204
197
  width?: string | number | undefined;
205
198
  displayAsterisk?: boolean | undefined;
206
199
  noIcon?: boolean | undefined;
207
- customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
208
- customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
209
- customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
200
+ customRules?: ValidationRule[] | undefined;
201
+ customWarningRules?: ValidationRule[] | undefined;
202
+ customSuccessRules?: ValidationRule[] | undefined;
210
203
  showSuccessMessages?: boolean | undefined;
211
204
  isValidateOnBlur?: boolean | undefined;
205
+ disableErrorHandling?: boolean | undefined;
212
206
  }> & Readonly<{
213
207
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
214
208
  onClear?: ((...args: any[]) => any) | undefined;
@@ -222,7 +216,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
222
216
  hasError: import('vue').ComputedRef<boolean>;
223
217
  hasWarning: import('vue').ComputedRef<boolean>;
224
218
  hasSuccess: import('vue').ComputedRef<boolean>;
225
- 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;
219
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
226
220
  validateOnSubmit: () => Promise<boolean>;
227
221
  clearValidation: () => void;
228
222
  };
@@ -290,11 +284,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
290
284
  width: string | number;
291
285
  displayAsterisk: boolean;
292
286
  noIcon: boolean;
293
- customRules: import('../../composables/validation/useValidation').ValidationRule[];
294
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
295
- customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
287
+ customRules: ValidationRule[];
288
+ customWarningRules: ValidationRule[];
289
+ customSuccessRules: ValidationRule[];
296
290
  showSuccessMessages: boolean;
297
291
  isValidateOnBlur: boolean;
292
+ disableErrorHandling: boolean;
298
293
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
299
294
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
300
295
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -372,11 +367,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
372
367
  width: string | number;
373
368
  displayAsterisk: boolean;
374
369
  noIcon: boolean;
375
- customRules: import('../../composables/validation/useValidation').ValidationRule[];
376
- customWarningRules: import('../../composables/validation/useValidation').ValidationRule[];
377
- customSuccessRules: import('../../composables/validation/useValidation').ValidationRule[];
370
+ customRules: ValidationRule[];
371
+ customWarningRules: ValidationRule[];
372
+ customSuccessRules: ValidationRule[];
378
373
  showSuccessMessages: boolean;
379
374
  isValidateOnBlur: boolean;
375
+ disableErrorHandling: boolean;
380
376
  }> & Omit<Readonly<{
381
377
  modelValue?: string | number | null | undefined;
382
378
  prependIcon?: import('../Customs/SyTextField/types').IconType;
@@ -436,17 +432,18 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
436
432
  width?: string | number | undefined;
437
433
  displayAsterisk?: boolean | undefined;
438
434
  noIcon?: boolean | undefined;
439
- customRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
440
- customWarningRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
441
- customSuccessRules?: import('../../composables/validation/useValidation').ValidationRule[] | undefined;
435
+ customRules?: ValidationRule[] | undefined;
436
+ customWarningRules?: ValidationRule[] | undefined;
437
+ customSuccessRules?: ValidationRule[] | undefined;
442
438
  showSuccessMessages?: boolean | undefined;
443
439
  isValidateOnBlur?: boolean | undefined;
440
+ disableErrorHandling?: boolean | undefined;
444
441
  }> & Readonly<{
445
442
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
446
443
  onClear?: ((...args: any[]) => any) | undefined;
447
444
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
448
445
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
449
- }>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur")> & import('vue').ShallowUnwrapRef<{
446
+ }>, "validation" | "validateOnSubmit" | "checkErrorOnBlur" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "prependTooltip" | "appendTooltip" | "tooltipLocation" | "variantStyle" | "color" | "isClearable" | "label" | "errorMessages" | "warningMessages" | "successMessages" | "isReadOnly" | "isActive" | "baseColor" | "bgColor" | "centerAffix" | "counter" | "counterValue" | "density" | "direction" | "isDirty" | "isDisabled" | "isOnError" | "isFlat" | "isFocused" | "areDetailsHidden" | "areSpinButtonsHidden" | "hint" | "id" | "loading" | "maxErrors" | "maxWidth" | "messages" | "minWidth" | "name" | "displayPersistentClear" | "displayPersistentCounter" | "displayPersistentHint" | "displayPersistentPlaceholder" | "placeholder" | "prefix" | "isReversed" | "role" | "rounded" | "isOnSingleLine" | "suffix" | "theme" | "isTiled" | "type" | "width" | "displayAsterisk" | "noIcon" | "customRules" | "customWarningRules" | "customSuccessRules" | "showSuccessMessages" | "isValidateOnBlur" | "disableErrorHandling")> & import('vue').ShallowUnwrapRef<{
450
447
  validation: {
451
448
  errors: import('vue').Ref<string[], string[]>;
452
449
  warnings: import('vue').Ref<string[], string[]>;
@@ -454,7 +451,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
454
451
  hasError: import('vue').ComputedRef<boolean>;
455
452
  hasWarning: import('vue').ComputedRef<boolean>;
456
453
  hasSuccess: import('vue').ComputedRef<boolean>;
457
- 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;
454
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
458
455
  validateOnSubmit: () => Promise<boolean>;
459
456
  clearValidation: () => void;
460
457
  };
@@ -0,0 +1,30 @@
1
+ import { ExpertiseLevelEnum } from './constants/ExpertiseLevelEnum';
2
+ export declare const AccessibiliteItemsIndeterminate: {
3
+ title: string;
4
+ subtitle: string;
5
+ items: {
6
+ subtitle: string;
7
+ precision: string;
8
+ link: string;
9
+ solution: {
10
+ info1: string;
11
+ info2: string;
12
+ info3: string;
13
+ }[];
14
+ expertise: ExpertiseLevelEnum;
15
+ }[];
16
+ }[];
17
+ export declare const AccessibiliteItemsValidated: {
18
+ title: string;
19
+ subtitle: string;
20
+ items: {
21
+ precision: string;
22
+ link: string;
23
+ solution: {
24
+ info1: string;
25
+ info2: string;
26
+ info3: string;
27
+ }[];
28
+ expertise: ExpertiseLevelEnum;
29
+ }[];
30
+ }[];
@@ -0,0 +1,4 @@
1
+ export declare enum ExpertiseLevelEnum {
2
+ DEV = "dev",
3
+ DESIGN = "design"
4
+ }
@@ -0,0 +1,29 @@
1
+ import { ExpertiseLevelEnum } from './constants/ExpertiseLevelEnum';
2
+ export declare const AccessibiliteItemsIndeterminate: {
3
+ title: string;
4
+ subtitle: string;
5
+ items: {
6
+ precision: string;
7
+ link: string;
8
+ solution: {
9
+ info1: string;
10
+ info2: string;
11
+ info3: string;
12
+ }[];
13
+ expertise: ExpertiseLevelEnum;
14
+ }[];
15
+ }[];
16
+ export declare const AccessibiliteItemsValidated: {
17
+ title: string;
18
+ subtitle: string;
19
+ items: {
20
+ precision: string;
21
+ link: string;
22
+ solution: {
23
+ info1: string;
24
+ info2: string;
25
+ info3: string;
26
+ }[];
27
+ expertise: ExpertiseLevelEnum;
28
+ }[];
29
+ }[];
@@ -0,0 +1,4 @@
1
+ export declare enum ExpertiseLevelEnum {
2
+ DEV = "dev",
3
+ DESIGN = "design"
4
+ }