@cnamts/synapse 0.0.11-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 (315) hide show
  1. package/dist/design-system-v3.js +5394 -3813
  2. package/dist/design-system-v3.umd.cjs +1 -1
  3. package/dist/src/components/Amelipro/types/types.d.ts +38 -0
  4. package/dist/src/components/CookieBanner/CookieBanner.d.ts +1 -1
  5. package/dist/src/components/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
  6. package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +31 -23
  7. package/dist/src/components/Customs/SyTextField/types.d.ts +1 -0
  8. package/dist/src/components/DatePicker/DatePicker.d.ts +105 -102
  9. package/dist/src/components/DatePicker/DateTextInput.d.ts +82 -74
  10. package/dist/src/components/ErrorPage/ErrorPage.d.ts +1 -1
  11. package/dist/src/components/FileList/FileList.d.ts +1 -0
  12. package/dist/src/components/FileList/UploadItem/UploadItem.d.ts +1 -1
  13. package/dist/src/components/FilterInline/AccessibiliteItems.d.ts +30 -0
  14. package/dist/src/components/FilterInline/constants/ExpertiseLevelEnum.d.ts +4 -0
  15. package/dist/src/components/FilterSideBar/AccessibiliteItems.d.ts +29 -0
  16. package/dist/src/components/FilterSideBar/FilterSideBar.d.ts +31 -0
  17. package/dist/src/components/FilterSideBar/constants/ExpertiseLevelEnum.d.ts +4 -0
  18. package/dist/src/components/FilterSideBar/locales.d.ts +7 -0
  19. package/dist/src/components/LangBtn/LangBtn.d.ts +2 -2
  20. package/dist/src/components/NirField/NirField.d.ts +952 -0
  21. package/dist/src/components/NotificationBar/NotificationBar.d.ts +6 -6
  22. package/dist/src/components/PasswordField/PasswordField.d.ts +42 -8
  23. package/dist/src/components/PeriodField/PeriodField.d.ts +259 -235
  24. package/dist/src/components/PhoneField/PhoneField.d.ts +33 -3
  25. package/dist/src/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +1 -1
  26. package/dist/src/components/RatingPicker/NumberPicker/NumberPicker.d.ts +1 -1
  27. package/dist/src/components/RatingPicker/StarsPicker/StarsPicker.d.ts +1 -1
  28. package/dist/src/components/UploadWorkflow/AccessibiliteItems.d.ts +29 -0
  29. package/dist/src/components/UploadWorkflow/config.d.ts +29 -0
  30. package/dist/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.d.ts +4 -0
  31. package/dist/src/components/UploadWorkflow/locales.d.ts +7 -0
  32. package/dist/src/components/UploadWorkflow/types.d.ts +19 -0
  33. package/dist/src/components/UploadWorkflow/useFileList.d.ts +10 -0
  34. package/dist/src/components/UploadWorkflow/useFileUploadJourney.d.ts +9 -0
  35. package/dist/src/components/Usages/Usages.d.ts +10 -0
  36. package/dist/src/components/index.d.ts +5 -0
  37. package/dist/src/composables/date/tests/useDateFormat.spec.d.ts +1 -0
  38. package/dist/src/composables/date/tests/useDateInitialization.spec.d.ts +1 -0
  39. package/dist/src/composables/date/tests/useDatePickerAccessibility.spec.d.ts +1 -0
  40. package/dist/src/composables/date/useDateFormat.d.ts +26 -0
  41. package/dist/src/composables/date/useDateInitialization.d.ts +18 -0
  42. package/dist/src/composables/date/useDatePickerAccessibility.d.ts +8 -0
  43. package/dist/src/composables/rules/useFieldValidation.d.ts +1 -0
  44. package/dist/src/composables/useFilterable/useFilterable.d.ts +1 -1
  45. package/dist/src/composables/validation/tests/useValidation.spec.d.ts +1 -0
  46. package/dist/src/composables/validation/useValidation.d.ts +40 -0
  47. package/dist/src/designTokens/index.d.ts +3 -1
  48. package/dist/src/main.d.ts +1 -0
  49. package/dist/src/utils/formatDate/index.d.ts +3 -0
  50. package/dist/src/utils/formatDate/tests/formatDate.spec.d.ts +1 -0
  51. package/dist/src/utils/functions/validation/isDateAfter/index.d.ts +2 -0
  52. package/dist/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.d.ts +1 -0
  53. package/dist/src/utils/functions/validation/isDateBefore/index.d.ts +2 -0
  54. package/dist/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.d.ts +1 -0
  55. package/dist/src/utils/functions/validation/isDateInRange/index.d.ts +3 -0
  56. package/dist/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.d.ts +1 -0
  57. package/dist/src/utils/functions/validation/isDateValid/index.d.ts +9 -0
  58. package/dist/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  59. package/dist/src/utils/functions/validation/isEmailValid/tests/isEmailValid.spec.d.ts +1 -0
  60. package/dist/src/utils/functions/validation/isWeekend/index.d.ts +3 -0
  61. package/dist/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.d.ts +1 -0
  62. package/dist/src/utils/parseDate/index.d.ts +3 -0
  63. package/dist/src/utils/parseDate/tests/parseDate.spec.d.ts +1 -0
  64. package/dist/src/utils/rules/doMatchPattern/index.d.ts +3 -0
  65. package/dist/src/utils/rules/doMatchPattern/tests/matchPattern.spec.d.ts +1 -0
  66. package/dist/src/utils/rules/index.d.ts +11 -0
  67. package/dist/src/utils/rules/isDateValid/index.d.ts +4 -0
  68. package/dist/src/utils/rules/isDateValid/tests/isDateValid.spec.d.ts +1 -0
  69. package/dist/src/utils/rules/isExactLength/index.d.ts +3 -0
  70. package/dist/src/utils/rules/isExactLength/locales.d.ts +2 -0
  71. package/dist/src/utils/rules/isExactLength/tests/exactLength.spec.d.ts +1 -0
  72. package/dist/src/utils/rules/isMaxLength/index.d.ts +3 -0
  73. package/dist/src/utils/rules/isMaxLength/locales.d.ts +2 -0
  74. package/dist/src/utils/rules/isMaxLength/tests/isMaxLength.spec.d.ts +1 -0
  75. package/dist/src/utils/rules/isMinLength/index.d.ts +3 -0
  76. package/dist/src/utils/rules/isMinLength/locales.d.ts +2 -0
  77. package/dist/src/utils/rules/isMinLength/tests/isMinLength.spec.d.ts +1 -0
  78. package/dist/src/utils/rules/isNotAfterDate/index.d.ts +3 -0
  79. package/dist/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.d.ts +1 -0
  80. package/dist/src/utils/rules/isNotAfterToday/index.d.ts +4 -0
  81. package/dist/src/utils/rules/isNotAfterToday/locales.d.ts +2 -0
  82. package/dist/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.d.ts +1 -0
  83. package/dist/src/utils/rules/isNotBeforeDate/index.d.ts +3 -0
  84. package/dist/src/utils/rules/isNotBeforeDate/locales.d.ts +2 -0
  85. package/dist/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.d.ts +1 -0
  86. package/dist/src/utils/rules/isNotBeforeToday/index.d.ts +4 -0
  87. package/dist/src/utils/rules/isNotBeforeToday/locales.d.ts +2 -0
  88. package/dist/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.d.ts +1 -0
  89. package/dist/src/utils/rules/isRequired/index.d.ts +4 -0
  90. package/dist/src/utils/rules/isRequired/locales.d.ts +2 -0
  91. package/dist/src/utils/rules/isRequired/tests/isRequred.spec.d.ts +1 -0
  92. package/dist/src/utils/rules/isValidEmail/index.d.ts +4 -0
  93. package/dist/src/utils/rules/isValidEmail/locales.d.ts +2 -0
  94. package/dist/src/utils/rules/isValidEmail/tests/isValidEmail.spec.d.ts +1 -0
  95. package/dist/src/vuetifyConfig.d.ts +81 -0
  96. package/dist/style.css +1 -1
  97. package/package.json +3 -1
  98. package/src/assets/_elevations.scss +89 -0
  99. package/src/assets/_fonts.scss +6 -0
  100. package/src/assets/_radius.scss +92 -0
  101. package/src/assets/_spacers.scss +149 -0
  102. package/src/assets/settings.scss +15 -3
  103. package/src/assets/tokens.scss +32 -29
  104. package/src/components/Amelipro/types/types.ts +40 -0
  105. package/src/components/ChipList/ChipList.stories.ts +26 -27
  106. package/src/components/ChipList/ChipList.vue +5 -1
  107. package/src/components/ChipList/config.ts +1 -0
  108. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -2
  109. package/src/components/Customs/SyBtnSelect/SyBtnSelect.mdx +1 -1
  110. package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +1 -1
  111. package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +65 -0
  112. package/src/components/Customs/SyInputSelect/SyInputSelect.vue +13 -3
  113. package/src/components/Customs/SySelect/SySelect.mdx +1 -1
  114. package/src/components/Customs/SySelect/SySelect.stories.ts +88 -5
  115. package/src/components/Customs/SySelect/SySelect.vue +55 -14
  116. package/src/components/Customs/SySelect/tests/SySelect.spec.ts +135 -2
  117. package/src/components/Customs/SyTextField/SyTextField.mdx +2 -2
  118. package/src/components/Customs/SyTextField/SyTextField.stories.ts +809 -79
  119. package/src/components/Customs/SyTextField/SyTextField.vue +135 -104
  120. package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +190 -38
  121. package/src/components/Customs/SyTextField/types.d.ts +1 -0
  122. package/src/components/DatePicker/DatePicker.stories.ts +177 -5
  123. package/src/components/DatePicker/DatePicker.vue +302 -233
  124. package/src/components/DatePicker/DateTextInput.vue +101 -246
  125. package/src/components/DatePicker/tests/DatePicker.spec.ts +123 -60
  126. package/src/components/DatePicker/tests/DateTextInput.spec.ts +202 -6
  127. package/src/components/FileList/Accessibilite.stories.ts +1 -1
  128. package/src/components/FileList/AccessibiliteItems.ts +22 -0
  129. package/src/components/FileList/FileList.vue +2 -1
  130. package/src/components/FileList/UploadItem/UploadItem.vue +10 -0
  131. package/src/components/FileUpload/FileUpload.stories.ts +93 -7
  132. package/src/components/FileUpload/FileUpload.vue +1 -0
  133. package/src/components/FileUpload/tests/FileUpload.spec.ts +4 -4
  134. package/src/components/FilterInline/Accessibilite.mdx +14 -0
  135. package/src/components/FilterInline/Accessibilite.stories.ts +216 -0
  136. package/src/components/FilterInline/AccessibiliteItems.ts +132 -0
  137. package/src/components/FilterInline/FilterInline.mdx +180 -34
  138. package/src/components/FilterInline/FilterInline.stories.ts +363 -6
  139. package/src/components/FilterInline/constants/ExpertiseLevelEnum.ts +4 -0
  140. package/src/components/FilterSideBar/Accessibilite.mdx +14 -0
  141. package/src/components/FilterSideBar/Accessibilite.stories.ts +216 -0
  142. package/src/components/FilterSideBar/AccessibiliteItems.ts +153 -0
  143. package/src/components/FilterSideBar/FilterSideBar.mdx +237 -0
  144. package/src/components/FilterSideBar/FilterSideBar.stories.ts +798 -0
  145. package/src/components/FilterSideBar/FilterSideBar.vue +193 -0
  146. package/src/components/FilterSideBar/constants/ExpertiseLevelEnum.ts +4 -0
  147. package/src/components/FilterSideBar/locales.ts +8 -0
  148. package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +305 -0
  149. package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +39 -0
  150. package/src/components/HeaderBar/Usages.mdx +1 -1
  151. package/src/components/NirField/NirField.stories.ts +738 -29
  152. package/src/components/NirField/NirField.vue +401 -359
  153. package/src/components/NirField/examples//342/200/257dataset/342/200/257.md +12 -0
  154. package/src/components/NirField/tests/NirField.spec.ts +88 -52
  155. package/src/components/NirField/tests/config.spec.ts +65 -0
  156. package/src/components/NotificationBar/Accessibilite.stories.ts +4 -0
  157. package/src/components/NotificationBar/NotificationBar.mdx +2 -2
  158. package/src/components/NotificationBar/NotificationBar.stories.ts +66 -13
  159. package/src/components/NotificationBar/NotificationBar.vue +42 -114
  160. package/src/components/NotificationBar/tests/NotificationBar.spec.ts +28 -33
  161. package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +1 -1
  162. package/src/components/PaginatedTable/PaginatedTable.vue +6 -10
  163. package/src/components/PaginatedTable/tests/__snapshots__/PaginatedTable.spec.ts.snap +4 -4
  164. package/src/components/PasswordField/PasswordField.mdx +129 -47
  165. package/src/components/PasswordField/PasswordField.stories.ts +1111 -120
  166. package/src/components/PasswordField/PasswordField.vue +212 -99
  167. package/src/components/PasswordField/tests/PasswordField.spec.ts +138 -9
  168. package/src/components/PeriodField/PeriodField.stories.ts +214 -118
  169. package/src/components/PeriodField/PeriodField.vue +238 -190
  170. package/src/components/PeriodField/tests/PeriodField.spec.ts +146 -0
  171. package/src/components/PhoneField/PhoneField.stories.ts +170 -0
  172. package/src/components/PhoneField/PhoneField.vue +76 -17
  173. package/src/components/PhoneField/indicatifs.ts +1 -1
  174. package/src/components/PhoneField/tests/PhoneField.spec.ts +40 -0
  175. package/src/components/RatingPicker/RatingPicker.stories.ts +7 -7
  176. package/src/components/SearchListField/SearchListField.stories.ts +1 -1
  177. package/src/components/UploadWorkflow/Accessibilite.mdx +14 -0
  178. package/src/components/UploadWorkflow/Accessibilite.stories.ts +216 -0
  179. package/src/components/UploadWorkflow/AccessibiliteItems.ts +192 -0
  180. package/src/components/UploadWorkflow/UploadWorkflow.mdx +75 -0
  181. package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +943 -0
  182. package/src/components/UploadWorkflow/UploadWorkflow.vue +230 -0
  183. package/src/components/UploadWorkflow/config.ts +29 -0
  184. package/src/components/UploadWorkflow/constants/ExpertiseLevelEnum.ts +4 -0
  185. package/src/components/UploadWorkflow/locales.ts +8 -0
  186. package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +257 -0
  187. package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +54 -0
  188. package/src/components/UploadWorkflow/types.ts +21 -0
  189. package/src/components/UploadWorkflow/useFileList.ts +84 -0
  190. package/src/components/UploadWorkflow/useFileUploadJourney.ts +18 -0
  191. package/src/components/Usages/tests/Usages.spec.ts +183 -0
  192. package/src/components/index.ts +5 -0
  193. package/src/composables/date/tests/useDateFormat.spec.ts +67 -0
  194. package/src/composables/date/tests/useDateInitialization.spec.ts +89 -0
  195. package/src/composables/date/tests/useDatePickerAccessibility.spec.ts +102 -0
  196. package/src/composables/date/useDateFormat.ts +94 -0
  197. package/src/composables/date/useDateInitialization.ts +92 -0
  198. package/src/composables/date/useDatePickerAccessibility.ts +78 -0
  199. package/src/composables/rules/tests/useFieldValidation.spec.ts +385 -4
  200. package/src/composables/rules/useFieldValidation.ts +5 -2
  201. package/src/composables/useFilterable/useFilterable.ts +5 -4
  202. package/src/composables/validation/tests/useValidation.spec.ts +154 -0
  203. package/src/composables/validation/useValidation.ts +180 -0
  204. package/src/designTokens/index.ts +4 -0
  205. package/src/main.ts +1 -0
  206. package/src/stories/Accessibilite/Aculturation/AuditDesignSystem.mdx +28 -0
  207. package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +2 -2
  208. package/src/stories/Accessibilite/Audit/RGAA.mdx +6 -6
  209. package/src/stories/Accessibilite/Introduction.mdx +2 -1
  210. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +1 -1
  211. package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +1 -1
  212. package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +8 -11
  213. package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +77 -0
  214. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru.mdx +9 -3
  215. package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +2 -2
  216. package/src/stories/Demarrer/Accueil.mdx +1 -1
  217. package/src/stories/Demarrer/Introduction.stories.ts +3 -3
  218. package/src/stories/Demarrer/Releases.mdx +8 -0
  219. package/src/stories/Demarrer/Releases.stories.ts +66 -0
  220. package/src/stories/DesignTokens/Conteneurs.stories.ts +3 -3
  221. package/src/stories/DesignTokens/ThemePA.mdx +4 -30
  222. package/src/stories/GuideDuDev/LesBreackingChanges.mdx +36 -0
  223. package/src/stories/GuideDuDev/UtiliserLesRules.mdx +321 -78
  224. package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
  225. package/src/utils/formatDate/index.ts +6 -0
  226. package/src/utils/formatDate/tests/formatDate.spec.ts +18 -0
  227. package/src/utils/functions/validation/isDateAfter/index.ts +9 -0
  228. package/src/utils/functions/validation/isDateAfter/tests/isDateAfter.spec.ts +18 -0
  229. package/src/utils/functions/validation/isDateBefore/index.ts +9 -0
  230. package/src/utils/functions/validation/isDateBefore/tests/isDateBefore.spec.ts +23 -0
  231. package/src/utils/functions/validation/isDateInRange/index.ts +22 -0
  232. package/src/utils/functions/validation/isDateInRange/tests/isDateInRange.spec.ts +28 -0
  233. package/src/utils/functions/validation/isDateValid/index.ts +67 -0
  234. package/src/utils/functions/validation/isDateValid/tests/isDateValid.spec.ts +46 -0
  235. package/src/utils/functions/validation/isEmailValid/index.ts +9 -0
  236. package/src/utils/functions/validation/isWeekend/index.ts +10 -0
  237. package/src/utils/functions/validation/isWeekend/tests/isWeekend.spec.ts +16 -0
  238. package/src/utils/parseDate/index.ts +29 -0
  239. package/src/utils/parseDate/tests/parseDate.spec.ts +52 -0
  240. package/src/utils/rules/Rules.mdx +16 -0
  241. package/src/utils/rules/doMatchPattern/DoMachPattern.mdx +66 -0
  242. package/src/utils/rules/doMatchPattern/DoMatchPattern.stories.ts +106 -0
  243. package/src/utils/rules/doMatchPattern/index.ts +28 -0
  244. package/src/utils/rules/doMatchPattern/locales.ts +5 -0
  245. package/src/utils/rules/doMatchPattern/tests/matchPattern.spec.ts +38 -0
  246. package/src/utils/rules/index.ts +11 -0
  247. package/src/utils/rules/isDateValid/IsDateValid.mdx +87 -0
  248. package/src/utils/rules/isDateValid/IsDateValid.stories.ts +113 -0
  249. package/src/utils/rules/isDateValid/index.ts +32 -0
  250. package/src/utils/rules/isDateValid/locales.ts +10 -0
  251. package/src/utils/rules/isDateValid/tests/isDateValid.spec.ts +27 -0
  252. package/src/utils/rules/isExactLength/IsExactLenght.mdx +68 -0
  253. package/src/utils/rules/isExactLength/IsExactLength.stories.ts +151 -0
  254. package/src/utils/rules/{exactLength → isExactLength}/index.ts +2 -4
  255. package/src/utils/rules/isExactLength/tests/exactLength.spec.ts +48 -0
  256. package/src/utils/rules/isMaxLength/IsMaxLength.mdx +68 -0
  257. package/src/utils/rules/isMaxLength/IsMaxLength.stories.ts +152 -0
  258. package/src/utils/rules/isMaxLength/index.ts +30 -0
  259. package/src/utils/rules/isMaxLength/locales.ts +6 -0
  260. package/src/utils/rules/isMaxLength/tests/isMaxLength.spec.ts +42 -0
  261. package/src/utils/rules/isMinLength/IsMinLength.mdx +68 -0
  262. package/src/utils/rules/isMinLength/IsMinLength.stories.ts +152 -0
  263. package/src/utils/rules/isMinLength/index.ts +30 -0
  264. package/src/utils/rules/isMinLength/locales.ts +6 -0
  265. package/src/utils/rules/isMinLength/tests/isMinLength.spec.ts +42 -0
  266. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.mdx +68 -0
  267. package/src/utils/rules/isNotAfterDate/IsNotAfterDate.stories.ts +109 -0
  268. package/src/utils/rules/isNotAfterDate/index.ts +25 -0
  269. package/src/utils/rules/isNotAfterDate/locales.ts +6 -0
  270. package/src/utils/rules/isNotAfterDate/tests/isNotAfterDate.spec.ts +25 -0
  271. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.mdx +83 -0
  272. package/src/utils/rules/isNotAfterToday/IsNotAfterToday.stories.ts +110 -0
  273. package/src/utils/rules/isNotAfterToday/index.ts +28 -0
  274. package/src/utils/rules/isNotAfterToday/locales.ts +5 -0
  275. package/src/utils/rules/isNotAfterToday/tests/isNotAfterToday.spec.ts +30 -0
  276. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.mdx +68 -0
  277. package/src/utils/rules/isNotBeforeDate/IsNotBeforeDate.stories.ts +114 -0
  278. package/src/utils/rules/isNotBeforeDate/index.ts +25 -0
  279. package/src/utils/rules/isNotBeforeDate/locales.ts +6 -0
  280. package/src/utils/rules/isNotBeforeDate/tests/IsNotBeforeDate.spec.ts +25 -0
  281. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.mdx +83 -0
  282. package/src/utils/rules/isNotBeforeToday/IsNotBeforeToday.stories.ts +110 -0
  283. package/src/utils/rules/isNotBeforeToday/index.ts +28 -0
  284. package/src/utils/rules/isNotBeforeToday/locales.ts +5 -0
  285. package/src/utils/rules/isNotBeforeToday/tests/notBeforeToday.spec.ts +36 -0
  286. package/src/utils/rules/isRequired/IsRequired.mdx +81 -0
  287. package/src/utils/rules/isRequired/IsRequired.stories.ts +101 -0
  288. package/src/utils/rules/{required → isRequired}/index.ts +3 -3
  289. package/src/utils/rules/{required/tests/index.spec.ts → isRequired/tests/isRequred.spec.ts} +9 -9
  290. package/src/utils/rules/isValidEmail/IsValidEmail.mdx +81 -0
  291. package/src/utils/rules/isValidEmail/IsValidEmail.stories.ts +101 -0
  292. package/src/utils/rules/{email → isValidEmail}/index.ts +3 -5
  293. package/src/utils/rules/{email/tests/email.spec.ts → isValidEmail/tests/isValidEmail.spec.ts} +5 -5
  294. package/src/vuetifyConfig.ts +61 -0
  295. package/dist/src/utils/rules/email/index.d.ts +0 -4
  296. package/dist/src/utils/rules/exactLength/index.d.ts +0 -4
  297. package/dist/src/utils/rules/required/index.d.ts +0 -4
  298. package/dist/src/utils/rules/required/ruleMessageHelper.d.ts +0 -3
  299. package/src/components/Customs/SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap +0 -58
  300. package/src/composables/useFilterable/__snapshots__/useFilterable.spec.ts.snap +0 -3
  301. package/src/utils/functions/isEmailValid/index.ts +0 -8
  302. package/src/utils/rules/required/ruleMessageHelper.ts +0 -14
  303. package/src/utils/rules/required/tests/rulesMessageHelper.spec.ts +0 -22
  304. /package/dist/src/{utils/functions/isEmailValid/tests/isEmailValid.spec.d.ts → components/FilterSideBar/tests/FilterSideBar.spec.d.ts} +0 -0
  305. /package/dist/src/{utils/rules/email/tests/email.spec.d.ts → components/NirField/tests/config.spec.d.ts} +0 -0
  306. /package/dist/src/{utils/rules/required/tests/index.spec.d.ts → components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts} +0 -0
  307. /package/dist/src/{utils/rules/required/tests/rulesMessageHelper.spec.d.ts → components/Usages/tests/Usages.spec.d.ts} +0 -0
  308. /package/dist/src/utils/functions/{isEmailValid → validation/isEmailValid}/index.d.ts +0 -0
  309. /package/dist/src/utils/rules/{exactLength → doMatchPattern}/locales.d.ts +0 -0
  310. /package/dist/src/utils/rules/{email → isDateValid}/locales.d.ts +0 -0
  311. /package/dist/src/utils/rules/{required → isNotAfterDate}/locales.d.ts +0 -0
  312. /package/src/utils/functions/{isEmailValid → validation/isEmailValid}/tests/isEmailValid.spec.ts +0 -0
  313. /package/src/utils/rules/{exactLength → isExactLength}/locales.ts +0 -0
  314. /package/src/utils/rules/{required → isRequired}/locales.ts +0 -0
  315. /package/src/utils/rules/{email → isValidEmail}/locales.ts +0 -0
@@ -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,28 +14,24 @@ 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, {} & {
32
- "update:model-value": (value: DateValue) => any;
33
28
  blur: () => any;
34
29
  focus: () => any;
30
+ "update:model-value": (value: DateValue) => any;
35
31
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
36
- "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
37
32
  onBlur?: (() => any) | undefined;
38
33
  onFocus?: (() => any) | undefined;
34
+ "onUpdate:model-value"?: ((value: DateValue) => any) | undefined;
39
35
  }>, {
40
36
  required: boolean;
41
37
  modelValue: DateValue;
@@ -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;
@@ -68,6 +60,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
68
60
  readonly appendIcon?: import('../Customs/SyTextField/types').IconType;
69
61
  readonly prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
70
62
  readonly appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
63
+ readonly prependTooltip?: string | undefined;
64
+ readonly appendTooltip?: string | undefined;
65
+ readonly tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
71
66
  readonly variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
72
67
  readonly color?: import('../Customs/SyTextField/types').ColorType | undefined;
73
68
  readonly isClearable?: boolean | undefined;
@@ -118,17 +113,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
118
113
  readonly width?: string | number | undefined;
119
114
  readonly displayAsterisk?: boolean | undefined;
120
115
  readonly noIcon?: boolean | undefined;
121
- readonly customRules?: {
122
- type: string;
123
- options: RuleOptions;
124
- }[] | undefined;
125
- readonly customWarningRules?: {
126
- type: string;
127
- options: RuleOptions;
128
- }[] | undefined;
116
+ readonly customRules?: ValidationRule[] | undefined;
117
+ readonly customWarningRules?: ValidationRule[] | undefined;
118
+ readonly customSuccessRules?: ValidationRule[] | undefined;
129
119
  readonly showSuccessMessages?: boolean | undefined;
120
+ readonly isValidateOnBlur?: boolean | undefined;
121
+ readonly disableErrorHandling?: boolean | undefined;
122
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
130
123
  readonly onClear?: ((...args: any[]) => any) | undefined;
131
- readonly "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
132
124
  readonly "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
133
125
  readonly "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
134
126
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -144,7 +136,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
144
136
  $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
145
137
  $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
146
138
  $host: Element | null;
147
- $emit: ((event: "clear", ...args: any[]) => void) & ((event: "update:model-value", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
139
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "prepend-icon-click", ...args: any[]) => void) & ((event: "append-icon-click", ...args: any[]) => void);
148
140
  $el: any;
149
141
  $options: import('vue').ComponentOptionsBase<Readonly<{
150
142
  modelValue?: string | number | null | undefined;
@@ -152,6 +144,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
152
144
  appendIcon?: import('../Customs/SyTextField/types').IconType;
153
145
  prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
154
146
  appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
147
+ prependTooltip?: string | undefined;
148
+ appendTooltip?: string | undefined;
149
+ tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
155
150
  variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
156
151
  color?: import('../Customs/SyTextField/types').ColorType | undefined;
157
152
  isClearable?: boolean | undefined;
@@ -202,29 +197,34 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
202
197
  width?: string | number | undefined;
203
198
  displayAsterisk?: boolean | undefined;
204
199
  noIcon?: boolean | undefined;
205
- customRules?: {
206
- type: string;
207
- options: RuleOptions;
208
- }[] | undefined;
209
- customWarningRules?: {
210
- type: string;
211
- options: RuleOptions;
212
- }[] | undefined;
200
+ customRules?: ValidationRule[] | undefined;
201
+ customWarningRules?: ValidationRule[] | undefined;
202
+ customSuccessRules?: ValidationRule[] | undefined;
213
203
  showSuccessMessages?: boolean | undefined;
204
+ isValidateOnBlur?: boolean | undefined;
205
+ disableErrorHandling?: boolean | undefined;
214
206
  }> & Readonly<{
207
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
215
208
  onClear?: ((...args: any[]) => any) | undefined;
216
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
217
209
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
218
210
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
219
211
  }>, {
220
- appendInnerIconColor: import('vue').ComputedRef<"error" | "warning" | "success" | "black">;
212
+ validation: {
213
+ errors: import('vue').Ref<string[], string[]>;
214
+ warnings: import('vue').Ref<string[], string[]>;
215
+ successes: import('vue').Ref<string[], string[]>;
216
+ hasError: import('vue').ComputedRef<boolean>;
217
+ hasWarning: import('vue').ComputedRef<boolean>;
218
+ hasSuccess: import('vue').ComputedRef<boolean>;
219
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
220
+ validateOnSubmit: () => Promise<boolean>;
221
+ clearValidation: () => void;
222
+ };
221
223
  validateOnSubmit: () => boolean;
222
- errors: import('vue').Ref<string[], string[]>;
223
- warnings: import('vue').Ref<string[], string[]>;
224
- successes: import('vue').Ref<string[], string[]>;
224
+ checkErrorOnBlur: () => void;
225
225
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
226
+ "update:modelValue": (...args: any[]) => void;
226
227
  clear: (...args: any[]) => void;
227
- "update:model-value": (...args: any[]) => void;
228
228
  "prepend-icon-click": (...args: any[]) => void;
229
229
  "append-icon-click": (...args: any[]) => void;
230
230
  }, string, {
@@ -233,6 +233,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
233
233
  appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
234
234
  prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
235
235
  appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
236
+ prependTooltip: string;
237
+ appendTooltip: string;
238
+ tooltipLocation: "top" | "bottom" | "start" | "end";
236
239
  variantStyle: import('../Customs/SyTextField/types').VariantStyle;
237
240
  color: import('../Customs/SyTextField/types').ColorType;
238
241
  isClearable: boolean;
@@ -281,15 +284,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
281
284
  width: string | number;
282
285
  displayAsterisk: boolean;
283
286
  noIcon: boolean;
284
- customRules: {
285
- type: string;
286
- options: RuleOptions;
287
- }[];
288
- customWarningRules: {
289
- type: string;
290
- options: RuleOptions;
291
- }[];
287
+ customRules: ValidationRule[];
288
+ customWarningRules: ValidationRule[];
289
+ customSuccessRules: ValidationRule[];
292
290
  showSuccessMessages: boolean;
291
+ isValidateOnBlur: boolean;
292
+ disableErrorHandling: boolean;
293
293
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
294
294
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
295
295
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -316,6 +316,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
316
316
  appendIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
317
317
  prependInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
318
318
  appendInnerIcon: "error" | "warning" | "info" | "success" | "close" | "calendar";
319
+ prependTooltip: string;
320
+ appendTooltip: string;
321
+ tooltipLocation: "top" | "bottom" | "start" | "end";
319
322
  variantStyle: import('../Customs/SyTextField/types').VariantStyle;
320
323
  color: import('../Customs/SyTextField/types').ColorType;
321
324
  isClearable: boolean;
@@ -364,21 +367,21 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
364
367
  width: string | number;
365
368
  displayAsterisk: boolean;
366
369
  noIcon: boolean;
367
- customRules: {
368
- type: string;
369
- options: RuleOptions;
370
- }[];
371
- customWarningRules: {
372
- type: string;
373
- options: RuleOptions;
374
- }[];
370
+ customRules: ValidationRule[];
371
+ customWarningRules: ValidationRule[];
372
+ customSuccessRules: ValidationRule[];
375
373
  showSuccessMessages: boolean;
374
+ isValidateOnBlur: boolean;
375
+ disableErrorHandling: boolean;
376
376
  }> & Omit<Readonly<{
377
377
  modelValue?: string | number | null | undefined;
378
378
  prependIcon?: import('../Customs/SyTextField/types').IconType;
379
379
  appendIcon?: import('../Customs/SyTextField/types').IconType;
380
380
  prependInnerIcon?: import('../Customs/SyTextField/types').IconType;
381
381
  appendInnerIcon?: import('../Customs/SyTextField/types').IconType;
382
+ prependTooltip?: string | undefined;
383
+ appendTooltip?: string | undefined;
384
+ tooltipLocation?: "top" | "bottom" | "start" | "end" | undefined;
382
385
  variantStyle?: import('../Customs/SyTextField/types').VariantStyle | undefined;
383
386
  color?: import('../Customs/SyTextField/types').ColorType | undefined;
384
387
  isClearable?: boolean | undefined;
@@ -429,26 +432,31 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
429
432
  width?: string | number | undefined;
430
433
  displayAsterisk?: boolean | undefined;
431
434
  noIcon?: boolean | undefined;
432
- customRules?: {
433
- type: string;
434
- options: RuleOptions;
435
- }[] | undefined;
436
- customWarningRules?: {
437
- type: string;
438
- options: RuleOptions;
439
- }[] | undefined;
435
+ customRules?: ValidationRule[] | undefined;
436
+ customWarningRules?: ValidationRule[] | undefined;
437
+ customSuccessRules?: ValidationRule[] | undefined;
440
438
  showSuccessMessages?: boolean | undefined;
439
+ isValidateOnBlur?: boolean | undefined;
440
+ disableErrorHandling?: boolean | undefined;
441
441
  }> & Readonly<{
442
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
442
443
  onClear?: ((...args: any[]) => any) | undefined;
443
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
444
444
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
445
445
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
446
- }>, "appendInnerIconColor" | "validateOnSubmit" | "errors" | "warnings" | "successes" | ("modelValue" | "prependIcon" | "appendIcon" | "prependInnerIcon" | "appendInnerIcon" | "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" | "showSuccessMessages")> & import('vue').ShallowUnwrapRef<{
447
- appendInnerIconColor: import('vue').ComputedRef<"error" | "warning" | "success" | "black">;
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<{
447
+ validation: {
448
+ errors: import('vue').Ref<string[], string[]>;
449
+ warnings: import('vue').Ref<string[], string[]>;
450
+ successes: import('vue').Ref<string[], string[]>;
451
+ hasError: import('vue').ComputedRef<boolean>;
452
+ hasWarning: import('vue').ComputedRef<boolean>;
453
+ hasSuccess: import('vue').ComputedRef<boolean>;
454
+ validateField: (value: unknown, rules?: ValidationRule[], warningRules?: ValidationRule[], successRules?: ValidationRule[]) => import('../../composables/validation/useValidation').ValidationResult;
455
+ validateOnSubmit: () => Promise<boolean>;
456
+ clearValidation: () => void;
457
+ };
448
458
  validateOnSubmit: () => boolean;
449
- errors: import('vue').Ref<string[], string[]>;
450
- warnings: import('vue').Ref<string[], string[]>;
451
- successes: import('vue').Ref<string[], string[]>;
459
+ checkErrorOnBlur: () => void;
452
460
  }> & {} & import('vue').ComponentCustomProperties & {} & {
453
461
  $slots: {
454
462
  prepend?(_: {}): any;
@@ -10,8 +10,8 @@ type __VLS_Props = {
10
10
  hideBtn?: boolean;
11
11
  };
12
12
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
- message: string;
14
13
  code: string;
14
+ message: string;
15
15
  pageTitle: string;
16
16
  codeErrorText: string;
17
17
  btnText: string;
@@ -1,5 +1,6 @@
1
1
  import { Widthable } from '../../composables/widthable';
2
2
  import { locales as defaultLocales } from './UploadItem/locales';
3
+ export type FileState = 'initial' | 'success' | 'error' | 'loading';
3
4
  export interface Item {
4
5
  id: string;
5
6
  title: string;
@@ -23,8 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
23
23
  onUpload?: ((item: string) => any) | undefined;
24
24
  onPreview?: ((item: string) => any) | undefined;
25
25
  }>, {
26
- message: string;
27
26
  progress: number;
27
+ message: string;
28
28
  tag: string;
29
29
  locales: {
30
30
  optionalDocument: string;
@@ -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,31 @@
1
+ import { locales as defaultLocales } from './locales';
2
+ import { FilterProp } from '../../composables/useFilterable/useFilterable';
3
+ type __VLS_Props = {
4
+ modelValue?: FilterProp;
5
+ locales?: typeof defaultLocales;
6
+ };
7
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": () => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ "onUpdate:modelValue"?: (() => any) | undefined;
11
+ }>, {
12
+ modelValue: FilterProp;
13
+ locales: {
14
+ readonly filterBtnLabel: "Filtres";
15
+ readonly badgeLabel: (count: number) => string;
16
+ readonly reset: "Réinitialiser";
17
+ readonly close: "Fermer";
18
+ readonly apply: "Appliquer";
19
+ };
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Partial<Record<string, (_: {
21
+ props: {
22
+ modelValue: unknown;
23
+ 'onUpdate:modelValue': (value: unknown) => unknown;
24
+ };
25
+ }) => any>>>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum ExpertiseLevelEnum {
2
+ DEV = "dev",
3
+ DESIGN = "design"
4
+ }
@@ -0,0 +1,7 @@
1
+ export declare const locales: {
2
+ readonly filterBtnLabel: "Filtres";
3
+ readonly badgeLabel: (count: number) => string;
4
+ readonly reset: "Réinitialiser";
5
+ readonly close: "Fermer";
6
+ readonly apply: "Appliquer";
7
+ };
@@ -16,11 +16,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
16
16
  updateLang: typeof updateLang;
17
17
  selectedLanguage: import('vue').Ref<string, string>;
18
18
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- change: (...args: any[]) => void;
20
19
  "update:modelValue": (...args: any[]) => void;
20
+ change: (...args: any[]) => void;
21
21
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onChange?: ((...args: any[]) => any) | undefined;
23
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ onChange?: ((...args: any[]) => any) | undefined;
24
24
  }>, {
25
25
  modelValue: string;
26
26
  ariaLabel: string;