@cnamts/synapse 0.0.4-alpha → 0.0.6-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 (322) hide show
  1. package/dist/design-system-v3.d.ts +1277 -499
  2. package/dist/design-system-v3.js +4193 -1573
  3. package/dist/design-system-v3.umd.cjs +8 -8
  4. package/dist/style.css +1 -1
  5. package/package.json +18 -17
  6. package/src/assets/settings.scss +3 -0
  7. package/src/assets/tokens.scss +16 -17
  8. package/src/components/BackBtn/Accessibilite.mdx +14 -0
  9. package/src/components/BackBtn/Accessibilite.stories.ts +166 -0
  10. package/src/components/BackBtn/AccessibiliteItems.ts +102 -0
  11. package/src/components/BackBtn/BackBtn.mdx +1 -1
  12. package/src/components/BackBtn/BackBtn.stories.ts +8 -8
  13. package/src/components/BackBtn/BackBtn.vue +0 -1
  14. package/src/components/BackBtn/constants/ExpertiseLevelEnum.ts +4 -0
  15. package/src/components/BackToTopBtn/Accessibilite.mdx +14 -0
  16. package/src/components/BackToTopBtn/Accessibilite.stories.ts +166 -0
  17. package/src/components/BackToTopBtn/AccessibiliteItems.ts +52 -0
  18. package/src/components/BackToTopBtn/BackToTopBtn.mdx +1 -1
  19. package/src/components/BackToTopBtn/constants/ExpertiseLevelEnum.ts +4 -0
  20. package/src/components/CollapsibleList/Accessibilite.mdx +14 -0
  21. package/src/components/CollapsibleList/Accessibilite.stories.ts +170 -0
  22. package/src/components/CollapsibleList/AccessibiliteItems.ts +122 -0
  23. package/src/components/CollapsibleList/CollapsibleList.stories.ts +1 -1
  24. package/src/components/CollapsibleList/constants/ExpertiseLevelEnum.ts +4 -0
  25. package/src/components/CookieBanner/Accessibilite.mdx +14 -0
  26. package/src/components/CookieBanner/Accessibilite.stories.ts +219 -0
  27. package/src/components/CookieBanner/AccessibiliteItems.ts +356 -0
  28. package/src/components/CookieBanner/CookieBanner.mdx +219 -0
  29. package/src/components/CookieBanner/CookieBanner.stories.ts +678 -0
  30. package/src/components/CookieBanner/CookieBanner.vue +225 -0
  31. package/src/components/CookieBanner/config.ts +38 -0
  32. package/src/components/CookieBanner/constants/ExpertiseLevelEnum.ts +4 -0
  33. package/src/components/CookieBanner/locales.ts +12 -0
  34. package/src/components/CookieBanner/tests/CookieBanner.spec.ts +129 -0
  35. package/src/components/CookieBanner/tests/__snapshots__/CookieBanner.spec.ts.snap +197 -0
  36. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +123 -0
  37. package/src/components/CookiesSelection/CookiesInformation/locales.ts +21 -0
  38. package/src/components/CookiesSelection/CookiesInformation/tests/CookiesInformation.spec.ts +121 -0
  39. package/src/components/CookiesSelection/CookiesSelection.vue +127 -0
  40. package/src/components/CookiesSelection/CookiesTable/CookiesTable.vue +47 -0
  41. package/src/components/CookiesSelection/CookiesTable/headers.ts +14 -0
  42. package/src/components/CookiesSelection/CookiesTable/tests/CookiesTable.spec.ts +30 -0
  43. package/src/components/CookiesSelection/CookiesTable/tests/__snapshots__/CookiesTable.spec.ts.snap +3 -0
  44. package/src/components/CookiesSelection/locales.ts +10 -0
  45. package/src/components/CookiesSelection/tests/CookiesSelection.spec.ts +184 -0
  46. package/src/components/CookiesSelection/tests/__snapshots__/CookiesSelection.spec.ts.snap +192 -0
  47. package/src/components/CookiesSelection/types.ts +15 -0
  48. package/src/components/CopyBtn/Accessibilite.mdx +14 -0
  49. package/src/components/CopyBtn/Accessibilite.stories.ts +166 -0
  50. package/src/components/CopyBtn/AccessibiliteItems.ts +105 -0
  51. package/src/components/CopyBtn/CopyBtn.mdx +1 -1
  52. package/src/components/CopyBtn/CopyBtn.stories.ts +4 -4
  53. package/src/components/CopyBtn/CopyBtn.vue +0 -1
  54. package/src/components/CopyBtn/config.ts +2 -0
  55. package/src/components/CopyBtn/constants/ExpertiseLevelEnum.ts +4 -0
  56. package/src/components/Customs/SyBtnSelect/Accessibilite.mdx +14 -0
  57. package/src/components/Customs/SyBtnSelect/Accessibilite.stories.ts +193 -0
  58. package/src/components/Customs/SyBtnSelect/AccessibiliteItems.ts +139 -0
  59. package/src/components/Customs/SyBtnSelect/SyBtnSelect.mdx +45 -0
  60. package/src/components/Customs/SyBtnSelect/SyBtnSelect.stories.ts +662 -0
  61. package/src/components/Customs/SyBtnSelect/SyBtnSelect.vue +254 -0
  62. package/src/components/Customs/SyBtnSelect/constants/ExpertiseLevelEnum.ts +4 -0
  63. package/src/components/Customs/SyBtnSelect/tests/SyBtnSelect.spec.ts +168 -0
  64. package/src/components/Customs/SyInputSelect/Accessibilite.mdx +14 -0
  65. package/src/components/Customs/SyInputSelect/Accessibilite.stories.ts +166 -0
  66. package/src/components/Customs/SyInputSelect/AccessibiliteItems.ts +96 -0
  67. package/src/components/Customs/SyInputSelect/SyInputSelect.mdx +41 -0
  68. package/src/components/Customs/{CustomInputSelect/CustomInputSelect.stories.ts → SyInputSelect/SyInputSelect.stories.ts} +30 -83
  69. package/src/components/Customs/{CustomInputSelect/CustomInputSelect.vue → SyInputSelect/SyInputSelect.vue} +46 -6
  70. package/src/components/Customs/SyInputSelect/constants/ExpertiseLevelEnum.ts +4 -0
  71. package/src/components/Customs/SyInputSelect/tests/SyInputSelect.spec.ts +140 -0
  72. package/src/components/Customs/SySelect/Accessibilite.mdx +14 -0
  73. package/src/components/Customs/SySelect/Accessibilite.stories.ts +217 -0
  74. package/src/components/Customs/SySelect/AccessibiliteItems.ts +173 -0
  75. package/src/components/Customs/{CustomSelect/CustomSelect.mdx → SySelect/SySelect.mdx} +9 -8
  76. package/src/components/Customs/{CustomSelect/CustomSelect.stories.ts → SySelect/SySelect.stories.ts} +25 -79
  77. package/src/components/Customs/{CustomSelect/CustomSelect.vue → SySelect/SySelect.vue} +44 -13
  78. package/src/components/Customs/SySelect/constants/ExpertiseLevelEnum.ts +4 -0
  79. package/src/components/Customs/{CustomInputSelect/tests/CustomInputSelect.spec.ts → SySelect/tests/SySelect.spec.ts} +48 -71
  80. package/src/components/Customs/SyTextField/Accessibilite.mdx +14 -0
  81. package/src/components/Customs/SyTextField/Accessibilite.stories.ts +224 -0
  82. package/src/components/Customs/SyTextField/AccessibiliteItems.ts +198 -0
  83. package/src/components/Customs/SyTextField/SyTextField.mdx +44 -0
  84. package/src/components/Customs/{CustomTextField/CustomTextField.stories.ts → SyTextField/SyTextField.stories.ts} +145 -34
  85. package/src/components/Customs/{CustomTextField/CustomTextField.vue → SyTextField/SyTextField.vue} +27 -7
  86. package/src/components/Customs/SyTextField/constants/ExpertiseLevelEnum.ts +4 -0
  87. package/src/components/Customs/{CustomTextField/tests/CustomTextField.spec.ts → SyTextField/tests/SyTextField.spec.ts} +3 -3
  88. package/src/components/Customs/{CustomTextField/tests/__snapshots__/CustomTextField.spec.ts.snap → SyTextField/tests/__snapshots__/SyTextField.spec.ts.snap} +5 -6
  89. package/src/components/DataList/Accessibilite.mdx +14 -0
  90. package/src/components/DataList/Accessibilite.stories.ts +166 -0
  91. package/src/components/DataList/AccessibiliteItems.ts +47 -0
  92. package/src/components/DataList/DataList.mdx +1 -1
  93. package/src/components/DataList/DataList.stories.ts +10 -10
  94. package/src/components/DataList/constants/ExpertiseLevelEnum.ts +4 -0
  95. package/src/components/DataListGroup/Accessibilite.mdx +14 -0
  96. package/src/components/DataListGroup/Accessibilite.stories.ts +225 -0
  97. package/src/components/DataListGroup/AccessibiliteItems.ts +79 -0
  98. package/src/components/DataListGroup/DataListGroup.mdx +1 -1
  99. package/src/components/DataListGroup/DataListGroup.stories.ts +7 -7
  100. package/src/components/DataListGroup/constants/ExpertiseLevelEnum.ts +4 -0
  101. package/src/components/DialogBox/Accessibilite.mdx +14 -0
  102. package/src/components/DialogBox/Accessibilite.stories.ts +189 -0
  103. package/src/components/DialogBox/AccessibiliteItems.ts +167 -0
  104. package/src/components/DialogBox/DialogBox.mdx +14 -0
  105. package/src/components/DialogBox/DialogBox.stories.ts +798 -0
  106. package/src/components/DialogBox/DialogBox.vue +181 -0
  107. package/src/components/DialogBox/config.ts +25 -0
  108. package/src/components/DialogBox/constants/ExpertiseLevelEnum.ts +4 -0
  109. package/src/components/DialogBox/locales.ts +5 -0
  110. package/src/components/DialogBox/tests/DialogBox.spec.ts +329 -0
  111. package/src/components/DialogBox/tests/__snapshots__/DialogBox.spec.ts.snap +46 -0
  112. package/src/components/DownloadBtn/AccessibiliteItems.ts +1 -31
  113. package/src/components/DownloadBtn/DownloadBtn.mdx +3 -3
  114. package/src/components/DownloadBtn/DownloadBtn.stories.ts +6 -6
  115. package/src/components/ErrorPage/Accessibilite.mdx +14 -0
  116. package/src/components/ErrorPage/Accessibilite.stories.ts +189 -0
  117. package/src/components/ErrorPage/AccessibiliteItems.ts +205 -0
  118. package/src/components/ErrorPage/ErrorPage.mdx +21 -0
  119. package/src/components/ErrorPage/ErrorPage.stories.ts +133 -0
  120. package/src/components/ErrorPage/ErrorPage.vue +93 -0
  121. package/src/components/ErrorPage/constants/ExpertiseLevelEnum.ts +4 -0
  122. package/src/components/ErrorPage/locales.ts +5 -0
  123. package/src/components/ErrorPage/tests/ErrorPage.spec.ts +40 -0
  124. package/src/components/ErrorPage/tests/__snapshots__/ErrorPage.spec.ts.snap +78 -0
  125. package/src/components/FooterBar/Accessibilite.mdx +14 -0
  126. package/src/components/FooterBar/Accessibilite.stories.ts +223 -0
  127. package/src/components/FooterBar/AccessibiliteItems.ts +257 -0
  128. package/src/components/FooterBar/FooterBar.mdx +2 -2
  129. package/src/components/FooterBar/FooterBar.stories.ts +556 -8
  130. package/src/components/FooterBar/FooterBar.vue +80 -73
  131. package/src/components/FooterBar/config.ts +2 -3
  132. package/src/components/FooterBar/constants/ExpertiseLevelEnum.ts +4 -0
  133. package/src/components/FooterBar/tests/FooterBar.spec.ts +1 -1
  134. package/src/components/FooterBar/tests/FooterBarConfig.spec.ts +1 -1
  135. package/src/components/FooterBar/tests/__snapshots__/FooterBar.spec.ts.snap +24 -22
  136. package/src/components/FranceConnectBtn/Accessibilite.mdx +14 -0
  137. package/src/components/FranceConnectBtn/Accessibilite.stories.ts +194 -0
  138. package/src/components/FranceConnectBtn/AccessibiliteItems.ts +169 -0
  139. package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +1 -1
  140. package/src/components/FranceConnectBtn/FranceConnectBtn.stories.ts +3 -3
  141. package/src/components/FranceConnectBtn/constants/ExpertiseLevelEnum.ts +4 -0
  142. package/src/components/HeaderBar/Accessibilite.mdx +14 -0
  143. package/src/components/HeaderBar/Accessibilite.stories.ts +223 -0
  144. package/src/components/HeaderBar/AccessibiliteItems.ts +194 -0
  145. package/src/components/HeaderBar/HeaderBar.stories.ts +60 -2
  146. package/src/components/HeaderBar/HeaderBar.vue +1 -9
  147. package/src/components/HeaderBar/HeaderBurgerMenu/Accessibilite.mdx +14 -0
  148. package/src/components/HeaderBar/HeaderBurgerMenu/Accessibilite.stories.ts +223 -0
  149. package/src/components/HeaderBar/HeaderBurgerMenu/AccessibiliteItems.ts +174 -0
  150. package/src/components/HeaderBar/HeaderBurgerMenu/constants/ExpertiseLevelEnum.ts +4 -0
  151. package/src/components/HeaderBar/constants/ExpertiseLevelEnum.ts +4 -0
  152. package/src/components/HeaderBar/tests/__snapshots__/HeaderBar.spec.ts.snap +1 -1
  153. package/src/components/HeaderLoading/Accessibilite.mdx +14 -0
  154. package/src/components/HeaderLoading/Accessibilite.stories.ts +167 -0
  155. package/src/components/HeaderLoading/AccessibiliteItems.ts +29 -0
  156. package/src/components/HeaderLoading/HeaderLoading.mdx +1 -1
  157. package/src/components/HeaderLoading/HeaderLoading.stories.ts +1 -1
  158. package/src/components/HeaderLoading/constants/ExpertiseLevelEnum.ts +4 -0
  159. package/src/components/HeaderNavigationBar/HeaderNavigationBar.mdx +6 -6
  160. package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +35 -33
  161. package/src/components/HeaderNavigationBar/tests/HeaderNavigationBar.spec.ts +1 -1
  162. package/src/components/HeaderToolbar/Accessibilite.mdx +14 -0
  163. package/src/components/HeaderToolbar/Accessibilite.stories.ts +203 -0
  164. package/src/components/HeaderToolbar/AccessibiliteItems.ts +200 -0
  165. package/src/components/HeaderToolbar/HeaderToolbar.mdx +1 -1
  166. package/src/components/HeaderToolbar/HeaderToolbar.stories.ts +2 -2
  167. package/src/components/HeaderToolbar/HeaderToolbar.vue +3 -2
  168. package/src/components/HeaderToolbar/constants/ExpertiseLevelEnum.ts +4 -0
  169. package/src/components/HeaderToolbar/tests/HeaderToolbar.spec.ts +36 -2
  170. package/src/components/LangBtn/Accessibilite.mdx +14 -0
  171. package/src/components/LangBtn/Accessibilite.stories.ts +168 -0
  172. package/src/components/LangBtn/AccessibiliteItems.ts +101 -0
  173. package/src/components/LangBtn/LangBtn.mdx +1 -1
  174. package/src/components/LangBtn/LangBtn.stories.ts +4 -4
  175. package/src/components/LangBtn/LangBtn.vue +3 -2
  176. package/src/components/LangBtn/constants/ExpertiseLevelEnum.ts +4 -0
  177. package/src/components/LangBtn/tests/LangBtn.spec.ts +1 -1
  178. package/src/components/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap +1 -1
  179. package/src/components/Logo/Accessibilite.mdx +14 -0
  180. package/src/components/Logo/Accessibilite.stories.ts +223 -0
  181. package/src/components/Logo/AccessibiliteItems.ts +155 -0
  182. package/src/components/Logo/Logo.mdx +1 -1
  183. package/src/components/Logo/Logo.stories.ts +8 -8
  184. package/src/components/Logo/constants/ExpertiseLevelEnum.ts +4 -0
  185. package/src/components/LogoBrandSection/Accessibilite.mdx +14 -0
  186. package/src/components/LogoBrandSection/Accessibilite.stories.ts +223 -0
  187. package/src/components/LogoBrandSection/AccessibiliteItems.ts +194 -0
  188. package/src/components/LogoBrandSection/constants/ExpertiseLevelEnum.ts +4 -0
  189. package/src/components/MaintenancePage/Accessibilite.mdx +14 -0
  190. package/src/components/MaintenancePage/Accessibilite.stories.ts +189 -0
  191. package/src/components/MaintenancePage/AccessibiliteItems.ts +173 -0
  192. package/src/components/MaintenancePage/MaintenancePage.mdx +11 -0
  193. package/src/components/MaintenancePage/MaintenancePage.stories.ts +41 -0
  194. package/src/components/MaintenancePage/MaintenancePage.vue +25 -0
  195. package/src/components/MaintenancePage/assets/maintenance.svg +1 -0
  196. package/src/components/MaintenancePage/constants/ExpertiseLevelEnum.ts +4 -0
  197. package/src/components/MaintenancePage/index.ts +3 -0
  198. package/src/components/MaintenancePage/locales.ts +5 -0
  199. package/src/components/MaintenancePage/tests/MaintenancePage.spec.ts +12 -0
  200. package/src/components/MaintenancePage/tests/__snapshots__/MaintenancePage.spec.ts.snap +3 -0
  201. package/src/components/NirField/Accessibilite.mdx +14 -0
  202. package/src/components/NirField/Accessibilite.stories.ts +214 -0
  203. package/src/components/NirField/AccessibiliteItems.ts +243 -0
  204. package/src/components/NirField/NirField.mdx +216 -0
  205. package/src/components/NirField/NirField.stories.ts +359 -0
  206. package/src/components/NirField/NirField.vue +450 -0
  207. package/src/components/NirField/config.ts +16 -0
  208. package/src/components/NirField/constants/ExpertiseLevelEnum.ts +4 -0
  209. package/src/components/NirField/locales.ts +12 -0
  210. package/src/components/NirField/nirValidation.ts +42 -0
  211. package/src/components/NirField/tests/NirField.spec.ts +119 -0
  212. package/src/components/NotFoundPage/Accessibilite.mdx +14 -0
  213. package/src/components/NotFoundPage/Accessibilite.stories.ts +190 -0
  214. package/src/components/NotFoundPage/AccessibiliteItems.ts +205 -0
  215. package/src/components/NotFoundPage/NotFoundPage.mdx +19 -0
  216. package/src/components/NotFoundPage/NotFoundPage.stories.ts +76 -0
  217. package/src/components/NotFoundPage/NotFoundPage.vue +52 -0
  218. package/src/components/NotFoundPage/assets/not-found.svg +1 -0
  219. package/src/components/NotFoundPage/constants/ExpertiseLevelEnum.ts +4 -0
  220. package/src/components/NotFoundPage/locales.ts +6 -0
  221. package/src/components/NotFoundPage/tests/NotFoundPage.spec.ts +38 -0
  222. package/src/components/NotFoundPage/tests/__snapshots__/NotFoundPage.spec.ts.snap +76 -0
  223. package/src/components/NotificationBar/Accessibilite.mdx +14 -0
  224. package/src/components/NotificationBar/Accessibilite.stories.ts +166 -0
  225. package/src/components/NotificationBar/AccessibiliteItems.ts +144 -0
  226. package/src/components/NotificationBar/NotificationBar.mdx +1 -1
  227. package/src/components/NotificationBar/constants/ExpertiseLevelEnum.ts +4 -0
  228. package/src/components/NotificationBar/options.ts +1 -0
  229. package/src/components/PageContainer/Accessibilite.mdx +14 -0
  230. package/src/components/PageContainer/Accessibilite.stories.ts +166 -0
  231. package/src/components/PageContainer/AccessibiliteItems.ts +52 -0
  232. package/src/components/PageContainer/PageContainer.mdx +1 -1
  233. package/src/components/PageContainer/PageContainer.stories.ts +4 -4
  234. package/src/components/PageContainer/PageContainer.vue +16 -15
  235. package/src/components/PageContainer/constants/ExpertiseLevelEnum.ts +4 -0
  236. package/src/components/PageContainer/tests/PageContainer.spec.ts +1 -1
  237. package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +2 -2
  238. package/src/components/PhoneField/Accessibilite.mdx +14 -0
  239. package/src/components/PhoneField/Accessibilite.stories.ts +216 -0
  240. package/src/components/PhoneField/AccessibiliteItems.ts +238 -0
  241. package/src/components/PhoneField/PhoneField.mdx +1 -1
  242. package/src/components/PhoneField/PhoneField.stories.ts +2 -2
  243. package/src/components/PhoneField/PhoneField.vue +5 -6
  244. package/src/components/PhoneField/constants/ExpertiseLevelEnum.ts +4 -0
  245. package/src/components/PhoneField/tests/PhoneField.spec.ts +3 -3
  246. package/src/components/SkipLink/Accessibilite.mdx +14 -0
  247. package/src/components/SkipLink/Accessibilite.stories.ts +167 -0
  248. package/src/components/SkipLink/AccessibiliteItems.ts +77 -0
  249. package/src/components/SkipLink/SkipLink.stories.ts +2 -2
  250. package/src/components/SkipLink/constants/ExpertiseLevelEnum.ts +4 -0
  251. package/src/components/SocialMediaLinks/Accessibilite.mdx +14 -0
  252. package/src/components/SocialMediaLinks/Accessibilite.stories.ts +170 -0
  253. package/src/components/SocialMediaLinks/AccessibiliteItems.ts +160 -0
  254. package/src/components/SocialMediaLinks/SocialMediaLinks.mdx +18 -14
  255. package/src/components/SocialMediaLinks/SocialMediaLinks.stories.ts +3 -2
  256. package/src/components/SocialMediaLinks/constants/ExpertiseLevelEnum.ts +4 -0
  257. package/src/components/SocialMediaLinks/tests/SocialMediaLinks.spec.ts +1 -1
  258. package/src/components/SocialMediaLinks/tests/__snapshots__/SocialMediaLinks.spec.ts.snap +2 -2
  259. package/src/components/SubHeader/Accessibilite.mdx +14 -0
  260. package/src/components/SubHeader/Accessibilite.stories.ts +166 -0
  261. package/src/components/SubHeader/AccessibiliteItems.ts +146 -0
  262. package/src/components/SubHeader/SubHeader.mdx +1 -1
  263. package/src/components/SubHeader/SubHeader.stories.ts +11 -11
  264. package/src/components/SubHeader/SubHeader.vue +1 -1
  265. package/src/components/SubHeader/constants/ExpertiseLevelEnum.ts +4 -0
  266. package/src/components/SyAlert/Accessibilite.mdx +14 -0
  267. package/src/components/SyAlert/Accessibilite.stories.ts +166 -0
  268. package/src/components/SyAlert/AccessibiliteItems.ts +122 -0
  269. package/src/components/{Alert/Alert.mdx → SyAlert/SyAlert.mdx} +9 -9
  270. package/src/components/{Alert/Alert.stories.ts → SyAlert/SyAlert.stories.ts} +22 -22
  271. package/src/components/SyAlert/constants/ExpertiseLevelEnum.ts +4 -0
  272. package/src/components/{Alert/tests/Alert.spec.ts → SyAlert/tests/SyAlert.spec.ts} +5 -5
  273. package/src/components/{Alert/tests/__snapshots__/Alert.spec.ts.snap → SyAlert/tests/__snapshots__/SyAlert.spec.ts.snap} +2 -2
  274. package/src/components/UserMenuBtn/Accessibilite.mdx +14 -0
  275. package/src/components/UserMenuBtn/Accessibilite.stories.ts +189 -0
  276. package/src/components/UserMenuBtn/AccessibiliteItems.ts +155 -0
  277. package/src/components/UserMenuBtn/UserMenuBtn.mdx +35 -0
  278. package/src/components/UserMenuBtn/UserMenuBtn.stories.ts +540 -0
  279. package/src/components/UserMenuBtn/UserMenuBtn.vue +101 -0
  280. package/src/components/UserMenuBtn/config.ts +24 -0
  281. package/src/components/UserMenuBtn/constants/ExpertiseLevelEnum.ts +4 -0
  282. package/src/components/UserMenuBtn/tests/UserMenuBtn.spec.ts +125 -0
  283. package/src/components/index.ts +19 -4
  284. package/src/composables/index.ts +8 -0
  285. package/src/composables/rules/tests/useFieldValidation.spec.ts +84 -0
  286. package/src/composables/rules/useFieldValidation.ts +90 -0
  287. package/src/designTokens/index.ts +2 -0
  288. package/src/designTokens/tokens/cnam/cnamDarkTheme.ts +5 -0
  289. package/src/designTokens/tokens/cnam/cnamLightTheme.ts +1 -0
  290. package/src/main.ts +3 -0
  291. package/src/stories/Fondamentaux/Arrondis.mdx +24 -0
  292. package/src/stories/{Guidelines → Fondamentaux}/Colors.mdx +1 -1
  293. package/src/stories/Fondamentaux/Conteneurs.mdx +7 -0
  294. package/src/stories/Fondamentaux/CustomisationEtThemes.mdx +7 -0
  295. package/src/stories/Fondamentaux/Elevations.mdx +14 -0
  296. package/src/stories/Fondamentaux/Espacements.mdx +29 -0
  297. package/src/stories/{Guidelines → Fondamentaux}/Introduction.mdx +1 -1
  298. package/src/stories/Fondamentaux/StylesTypographiques.mdx +33 -0
  299. package/src/stories/Fondamentaux/Typographie.mdx +58 -0
  300. package/src/stories/GuideDuDev/CommentUtiliserLesRules.mdx +120 -0
  301. package/src/stories/GuideDuDev/components.stories.ts +5 -5
  302. package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
  303. package/src/stories/{Fondamentaux → Guidelines}/Accessibilite/Accessibilite.stories.ts +1 -1
  304. package/src/stories/{Fondamentaux → Guidelines}/EcoConception/Econception.stories.ts +2 -2
  305. package/src/stories/Guidelines/Vuetify/Vuetify.mdx +11 -0
  306. package/src/stories/Guidelines/Vuetify/Vuetify.stories.ts +138 -0
  307. package/src/stories/Guidelines/Vuetify/VuetifyItems.ts +350 -0
  308. package/src/components/Customs/CustomInputSelect/CustomInputSelect.mdx +0 -40
  309. package/src/components/Customs/CustomSelect/tests/CustomSelect.spec.ts +0 -236
  310. package/src/components/Customs/CustomTextField/CustomTextField.mdx +0 -44
  311. package/src/stories/Guidelines/CustomisationEtThemes.mdx +0 -3
  312. package/src/stories/Guidelines/Typo.mdx +0 -53
  313. /package/src/components/Customs/{CustomInputSelect → SyInputSelect}/config.ts +0 -0
  314. /package/src/components/Customs/{CustomTextField → SyTextField}/types.d.ts +0 -0
  315. /package/src/components/{Alert/Alert.vue → SyAlert/SyAlert.vue} +0 -0
  316. /package/src/components/{Alert → SyAlert}/locales.ts +0 -0
  317. /package/src/stories/{Fondamentaux → Guidelines}/Accessibilite/Accessibilite.mdx +0 -0
  318. /package/src/stories/{Fondamentaux → Guidelines}/Accessibilite/AccessibiliteItems.ts +0 -0
  319. /package/src/stories/{Fondamentaux → Guidelines}/Accessibilite/constants/ExpertiseLevelEnum.ts +0 -0
  320. /package/src/stories/{Fondamentaux → Guidelines}/Accessibilite/constants/RGAALevelEnum.ts +0 -0
  321. /package/src/stories/{Fondamentaux → Guidelines}/EcoConception/EcoConception.mdx +0 -0
  322. /package/src/stories/{Fondamentaux → Guidelines}/EcoConception/ecoDesignItems.ts +0 -0
@@ -1,3 +1,4 @@
1
+ import { AllLanguagesChar } from './types';
1
2
  import { AxiosResponse } from 'axios';
2
3
  import { ColorType } from './types';
3
4
  import { ComponentOptionsMixin } from 'vue';
@@ -7,36 +8,314 @@ import { DataListGroupItems } from './types';
7
8
  import { DataListGroupItems as DataListGroupItems_2 } from '../DataListGroup/types';
8
9
  import { DataListIcons } from './types';
9
10
  import { DataListIcons as DataListIcons_2 } from '../DataList/types';
10
- import { DataListItem } from './types';
11
+ import { DataListItem as DataListItem_2 } from './types';
11
12
  import { DefineComponent } from 'vue';
12
13
  import { ExtractPropTypes } from 'vue';
13
14
  import { IconType } from './types';
14
15
  import { LinkItem } from './types';
15
16
  import { ListItem } from './types';
17
+ import { MenuItem } from './types';
18
+ import { ModelRef } from 'vue';
16
19
  import { PropType } from 'vue';
17
20
  import { PublicProps } from 'vue';
18
21
  import { Ref } from 'vue';
19
22
  import { RouteLocationAsPathGeneric } from 'vue-router';
20
23
  import { RouteLocationAsRelativeGeneric } from 'vue-router';
21
24
  import { RouteLocationRaw } from 'vue-router';
25
+ import { RouteRecordRaw } from 'vue-router';
26
+ import { SelectItem } from './types';
22
27
  import { SocialMediaLink } from '../SocialMediaLinks/types';
23
28
  import { SocialMediaLink as SocialMediaLink_2 } from './types';
24
29
  import { VariantStyle } from './types';
25
30
 
31
+ declare type __VLS_Props = {
32
+ type?: 'success' | 'info' | 'warning' | 'error';
33
+ closable?: boolean;
34
+ variant?: 'tonal' | 'outlined';
35
+ };
36
+
37
+ declare type __VLS_Props_10 = Props_2 & CustomizableOptions;
38
+
39
+ declare type __VLS_Props_11 = {
40
+ pageTitle?: string;
41
+ message?: string;
42
+ code?: string;
43
+ codeErrorText?: string;
44
+ btnText?: string;
45
+ btnHref?: string;
46
+ btnLink?: RouteRecordRaw | string;
47
+ hideBtn?: boolean;
48
+ };
49
+
50
+ declare type __VLS_Props_12 = CustomizableOptions & {
51
+ a11yCompliance?: string;
52
+ linkItems?: LinkItem[] | null;
53
+ items?: LinkItem[] | null;
54
+ sitemapRoute?: RouteLocationRaw;
55
+ cguRoute?: RouteLocationRaw;
56
+ cookiesRoute?: RouteLocationRaw;
57
+ legalNoticeRoute?: RouteLocationRaw;
58
+ a11yStatementRoute?: RouteLocationRaw;
59
+ hideSitemapLink?: boolean;
60
+ hideCguLink?: boolean;
61
+ hideCookiesLink?: boolean;
62
+ hideLegalNoticeLink?: boolean;
63
+ hideA11yLink?: boolean;
64
+ version?: string | undefined;
65
+ hideLogo?: boolean;
66
+ hideSocialMediaLinks?: boolean;
67
+ socialMediaLinks?: SocialMediaLink[];
68
+ light?: boolean;
69
+ };
70
+
71
+ declare type __VLS_Props_13 = {
72
+ href: string;
73
+ isConnectPlus?: boolean;
74
+ dark?: boolean;
75
+ };
76
+
77
+ declare type __VLS_Props_14 = {
78
+ /** Keep the header visible */
79
+ sticky?: boolean;
80
+ /**
81
+ * Show the header at sticky only when the user scroll up in mobile
82
+ * Need 'sticky' at true,
83
+ */
84
+ hideWhenDown?: boolean;
85
+ homeLink?: {
86
+ ariaLabel?: string;
87
+ to?: RouteLocationRaw;
88
+ href?: string;
89
+ };
90
+ } & LogoProps;
91
+
92
+ declare type __VLS_Props_15 = {
93
+ title?: string;
94
+ };
95
+
96
+ declare type __VLS_Props_16 = {
97
+ ariaLabel?: string;
98
+ serviceTitle?: string;
99
+ serviceSubtitle?: string;
100
+ homeLink?: {
101
+ ariaLabel?: string;
102
+ to?: RouteLocationRaw;
103
+ href?: string;
104
+ };
105
+ };
106
+
107
+ declare type __VLS_Props_17 = CustomizableOptions & {
108
+ homeAriaLabel?: string;
109
+ serviceTitle?: string;
110
+ serviceSubtitle?: string;
111
+ homeLink?: {
112
+ ariaLabel?: string;
113
+ to?: RouteLocationRaw;
114
+ href?: string;
115
+ };
116
+ /** Keep the header visible */
117
+ sticky?: boolean;
118
+ /**
119
+ * Show the header at sticky only when the user scroll up in mobile
120
+ * Need 'sticky' at true,
121
+ */
122
+ hideWhenDown?: boolean;
123
+ /**
124
+ * The number of item to shown in the horizontal menu before using
125
+ * the Burger menu (default: 6)
126
+ */
127
+ maxHorizontalMenuItems?: number;
128
+ /**
129
+ * The items to show in the horizontal menu
130
+ */
131
+ items?: NavigationItem[];
132
+ };
133
+
134
+ declare type __VLS_Props_18 = CustomizableOptions & {
135
+ modelValue?: string;
136
+ hideDownArrow?: boolean;
137
+ ariaLabel?: string;
138
+ ariaOwns?: string;
139
+ availableLanguages?: string[] | AllLanguagesChar;
140
+ };
141
+
142
+ declare type __VLS_Props_19 = {
143
+ theme?: Theme;
144
+ serviceTitle?: string;
145
+ serviceSubTitle?: string;
146
+ mobileVersion?: boolean;
147
+ reduceLogo?: boolean;
148
+ homeLink?: {
149
+ ariaLabel?: string;
150
+ to?: RouteLocationRaw;
151
+ href?: string;
152
+ };
153
+ };
154
+
155
+ declare type __VLS_Props_2 = {
156
+ hideBackIcon?: boolean;
157
+ dark?: boolean;
158
+ };
159
+
160
+ declare type __VLS_Props_20 = CustomizableOptions & {
161
+ modelValue?: string | undefined;
162
+ outlined?: boolean;
163
+ required?: boolean;
164
+ nirTooltip?: string;
165
+ keyTooltip?: string;
166
+ numberLabel?: string;
167
+ keyLabel?: string;
168
+ displayKey?: boolean;
169
+ customNumberRules?: any;
170
+ customKeyRules?: any;
171
+ };
172
+
173
+ declare type __VLS_Props_21 = CustomizableOptions & {
174
+ closeBtnText?: string;
175
+ rounded?: 0 | 1 | 2 | 3 | 4 | 'xs' | 'sm' | true | 'lg' | 'xl' | 'pill' | 'circle' | 'shaped';
176
+ bottom?: true | false;
177
+ };
178
+
179
+ declare type __VLS_Props_22 = {
180
+ size?: 'xl' | 'l' | 'm' | 's';
181
+ spacing?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
182
+ color?: string;
183
+ };
184
+
185
+ declare type __VLS_Props_23 = {
186
+ label?: string;
187
+ target?: string;
188
+ };
189
+
190
+ declare type __VLS_Props_24 = CustomizableOptions & Widthable & {
191
+ hideBackBtn?: boolean;
192
+ backBtnText?: string;
193
+ titleText?: string;
194
+ subTitleText?: string;
195
+ dataListGroupItems?: DataListGroupItems_2 | undefined;
196
+ loading?: boolean;
197
+ renderHtmlValue?: boolean;
198
+ };
199
+
200
+ declare type __VLS_Props_25 = CustomizableOptions & {
201
+ menuItems?: MenuItem_2[];
202
+ additionalInformation?: string;
203
+ fullName?: string;
204
+ hideLogoutBtn?: boolean;
205
+ isMobileView?: boolean;
206
+ hideUserIcon?: boolean;
207
+ };
208
+
209
+ declare type __VLS_Props_26 = CustomizableOptions & {
210
+ items?: CookiesItems;
211
+ };
212
+
213
+ declare type __VLS_Props_27 = {
214
+ items: CookiesItems;
215
+ };
216
+
217
+ declare type __VLS_Props_28 = {
218
+ type: CookieTypes;
219
+ tableItems: Cookie[];
220
+ };
221
+
222
+ declare type __VLS_Props_29 = {
223
+ items: Cookie[];
224
+ };
225
+
226
+ declare type __VLS_Props_3 = Props & CustomizableOptions;
227
+
228
+ declare type __VLS_Props_4 = {
229
+ listTitle: string | null;
230
+ items: ListItem[];
231
+ };
232
+
233
+ declare type __VLS_Props_5 = CustomizableOptions & {
234
+ ariaLabel?: string;
235
+ ariaOwns?: string;
236
+ textToCopy: (() => string) | string;
237
+ hideTooltip?: boolean;
238
+ tooltipDuration?: number;
239
+ };
240
+
241
+ declare type __VLS_Props_6 = CustomizableOptions & {
242
+ modelValue?: Record<string, unknown> | string | null;
243
+ items?: Record<string, unknown>[] | string[];
244
+ textKey?: string;
245
+ valueKey?: string;
246
+ label?: string;
247
+ outlined?: boolean;
248
+ required?: boolean;
249
+ errorMessages?: string | string[];
250
+ isHeaderToolbar?: boolean;
251
+ };
252
+
253
+ declare type __VLS_Props_7 = {
254
+ prependIcon?: IconType;
255
+ appendIcon?: IconType;
256
+ prependInnerIcon?: IconType;
257
+ appendInnerIcon?: IconType;
258
+ variantStyle?: VariantStyle;
259
+ color?: ColorType;
260
+ isClearable?: boolean;
261
+ showDivider?: boolean;
262
+ label?: string;
263
+ required?: boolean;
264
+ errorMessages?: string[];
265
+ };
266
+
267
+ declare type __VLS_Props_8 = CustomizableOptions & {
268
+ label: string;
269
+ value?: string | number;
270
+ action?: string;
271
+ placeholder?: string;
272
+ chip?: boolean;
273
+ icon?: string;
274
+ row?: boolean;
275
+ renderHtmlValue?: boolean;
276
+ };
277
+
278
+ declare type __VLS_Props_9 = {
279
+ title?: string;
280
+ width?: string;
281
+ cancelBtnText?: string;
282
+ confirmBtnText?: string;
283
+ hideActions?: boolean;
284
+ persistent?: boolean;
285
+ } & CustomizableOptions;
286
+
26
287
  declare type __VLS_PublicProps = {
27
288
  modelValue?: boolean;
28
- } & typeof __VLS_typeProps;
289
+ } & __VLS_Props;
29
290
 
30
291
  declare type __VLS_PublicProps_2 = {
31
292
  modelValue?: boolean;
293
+ } & __VLS_Props_9;
294
+
295
+ declare type __VLS_PublicProps_3 = {
296
+ modelValue?: boolean;
32
297
  };
33
298
 
34
- declare let __VLS_typeProps: {
35
- type?: 'success' | 'info' | 'warning' | 'error';
36
- closable?: boolean;
37
- variant?: 'tonal' | 'outlined';
299
+ declare type __VLS_PublicProps_4 = {
300
+ modelValue?: boolean;
38
301
  };
39
302
 
303
+ declare type __VLS_PublicProps_5 = {
304
+ 'burgerMenu'?: boolean;
305
+ } & __VLS_Props_17;
306
+
307
+ declare type __VLS_PublicProps_6 = {
308
+ modelValue?: MenuItem_2 | null;
309
+ } & __VLS_Props_25;
310
+
311
+ declare type __VLS_PublicProps_7 = {
312
+ modelValue?: typeof active['value'];
313
+ } & __VLS_Props_26;
314
+
315
+ declare type __VLS_PublicProps_8 = {
316
+ modelValue?: boolean | undefined;
317
+ } & __VLS_Props_28;
318
+
40
319
  declare type __VLS_WithTemplateSlots<T, S> = T & {
41
320
  new (): {
42
321
  $slots: S;
@@ -109,12 +388,78 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
109
388
  };
110
389
  };
111
390
 
391
+ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
392
+ new (): {
393
+ $slots: S;
394
+ };
395
+ };
396
+
397
+ declare type __VLS_WithTemplateSlots_21<T, S> = T & {
398
+ new (): {
399
+ $slots: S;
400
+ };
401
+ };
402
+
403
+ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
404
+ new (): {
405
+ $slots: S;
406
+ };
407
+ };
408
+
409
+ declare type __VLS_WithTemplateSlots_23<T, S> = T & {
410
+ new (): {
411
+ $slots: S;
412
+ };
413
+ };
414
+
415
+ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
416
+ new (): {
417
+ $slots: S;
418
+ };
419
+ };
420
+
421
+ declare type __VLS_WithTemplateSlots_25<T, S> = T & {
422
+ new (): {
423
+ $slots: S;
424
+ };
425
+ };
426
+
427
+ declare type __VLS_WithTemplateSlots_26<T, S> = T & {
428
+ new (): {
429
+ $slots: S;
430
+ };
431
+ };
432
+
433
+ declare type __VLS_WithTemplateSlots_27<T, S> = T & {
434
+ new (): {
435
+ $slots: S;
436
+ };
437
+ };
438
+
439
+ declare type __VLS_WithTemplateSlots_28<T, S> = T & {
440
+ new (): {
441
+ $slots: S;
442
+ };
443
+ };
444
+
445
+ declare type __VLS_WithTemplateSlots_29<T, S> = T & {
446
+ new (): {
447
+ $slots: S;
448
+ };
449
+ };
450
+
112
451
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
113
452
  new (): {
114
453
  $slots: S;
115
454
  };
116
455
  };
117
456
 
457
+ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
458
+ new (): {
459
+ $slots: S;
460
+ };
461
+ };
462
+
118
463
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
119
464
  new (): {
120
465
  $slots: S;
@@ -151,34 +496,14 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
151
496
  };
152
497
  };
153
498
 
154
- export declare const Alert: __VLS_WithTemplateSlots<DefineComponent<__VLS_PublicProps, {
155
- prependIcon: ComputedRef<string>;
156
- dismissAlert: typeof dismissAlert;
157
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
158
- "update:modelValue": (modelValue: boolean) => any;
159
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
160
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
161
- }>, {
162
- type: "error" | "success" | "info" | "warning";
163
- closable: boolean;
164
- variant: "tonal" | "outlined";
165
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
166
- icon?(_: {}): any;
167
- default?(_: {}): any;
168
- }>;
499
+ declare const active: ModelRef<boolean, string, boolean, boolean>;
169
500
 
170
- export declare const BackBtn: __VLS_WithTemplateSlots_2<DefineComponent< {
171
- hideBackIcon?: boolean | undefined;
172
- dark?: boolean | undefined;
173
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
174
- hideBackIcon?: boolean | undefined;
175
- dark?: boolean | undefined;
176
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
501
+ export declare const BackBtn: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
177
502
  icon?(_: {}): any;
178
503
  default?(_: {}): any;
179
504
  }>;
180
505
 
181
- export declare const BackToTopBtn: __VLS_WithTemplateSlots_3<DefineComponent<Props & CustomizableOptions, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props & CustomizableOptions> & Readonly<{}>, {
506
+ export declare const BackToTopBtn: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
182
507
  target: string;
183
508
  threshold: number;
184
509
  nudgeRight: string | number;
@@ -188,289 +513,171 @@ nudgeBottom: string | number;
188
513
  icon?(_: {}): any;
189
514
  }>;
190
515
 
191
- export declare const CollapsibleList: DefineComponent< {
192
- listTitle: string | null;
193
- items: ListItem[];
194
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
195
- listTitle: string | null;
196
- items: ListItem[];
197
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
516
+ export declare function checkNIR(nir: string): boolean;
517
+
518
+ export declare const CollapsibleList: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
198
519
 
199
520
  declare type ComponentsProps = Record<string, PropsList>;
200
521
 
522
+ export declare function computeNIRKey(nir: string): string;
523
+
524
+ declare interface Cookie {
525
+ name: string;
526
+ description?: string;
527
+ conservation: string;
528
+ }
529
+
530
+ export declare const CookieBanner: __VLS_WithTemplateSlots_27<DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
531
+ submit: (...args: any[]) => void;
532
+ accept: (...args: any[]) => void;
533
+ reject: (...args: any[]) => void;
534
+ customize: (...args: any[]) => void;
535
+ "update:modelValue": (value: boolean) => void;
536
+ }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
537
+ onSubmit?: ((...args: any[]) => any) | undefined;
538
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
539
+ onAccept?: ((...args: any[]) => any) | undefined;
540
+ onReject?: ((...args: any[]) => any) | undefined;
541
+ onCustomize?: ((...args: any[]) => any) | undefined;
542
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<string | number>, (_: {
543
+ cookie: Cookie;
544
+ }) => any>> & {
545
+ default?(_: {}): any;
546
+ }>;
547
+
548
+ export declare const CookiesInformation: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
549
+ "update:modelValue": (value: boolean | undefined) => any;
550
+ }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
551
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
552
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, Partial<Record<NonNullable<string | number>, (_: {
553
+ cookie: Cookie;
554
+ }) => any>>>;
555
+
556
+ declare type CookiesItems = {
557
+ [key in CookieTypes]?: Cookie[];
558
+ };
559
+
560
+ export declare const CookiesSelection: __VLS_WithTemplateSlots_28<DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
561
+ submit: (preferences: Partial<Preferences>) => any;
562
+ }, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
563
+ onSubmit?: ((preferences: Partial<Preferences>) => any) | undefined;
564
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<string | number>, (_: {
565
+ cookie: Cookie;
566
+ }) => any>>>;
567
+
568
+ export declare const CookiesTable: __VLS_WithTemplateSlots_30<DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Partial<Record<string, (_: {
569
+ cookie: Cookie;
570
+ }) => any>>>;
571
+
572
+ declare type CookieTypes = 'essentials' | 'functional' | 'analytics';
573
+
201
574
  declare function copy(): void;
202
575
 
203
- export declare const CopyBtn: __VLS_WithTemplateSlots_4<DefineComponent<CustomizableOptions & {
204
- ariaLabel?: string | undefined;
205
- ariaOwns?: string | undefined;
206
- textToCopy: string | (() => string);
207
- hideTooltip?: boolean | undefined;
208
- tooltipDuration?: number | undefined;
209
- }, {
576
+ export declare const CopyBtn: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_Props_5, {
210
577
  copy: typeof copy;
211
578
  tooltip: Ref<boolean, boolean>;
212
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomizableOptions & {
213
- ariaLabel?: string | undefined;
214
- ariaOwns?: string | undefined;
215
- textToCopy: string | (() => string);
216
- hideTooltip?: boolean | undefined;
217
- tooltipDuration?: number | undefined;
218
- }> & Readonly<{}>, {
579
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
219
580
  ariaLabel: string;
220
581
  ariaOwns: string;
221
582
  textToCopy: string | (() => string);
222
583
  hideTooltip: boolean;
223
584
  tooltipDuration: number;
224
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
585
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
225
586
  icon?(_: {}): any;
226
587
  tooltip?(_: {}): any;
227
588
  }>;
228
589
 
229
- export declare const CustomInputSelect: DefineComponent<CustomizableOptions & {
230
- modelValue?: string | Record<string, unknown> | null | undefined;
231
- items?: string[] | Record<string, unknown>[] | undefined;
232
- textKey?: string | undefined;
233
- valueKey?: string | undefined;
234
- label?: string | undefined;
235
- outlined?: boolean | undefined;
236
- required?: boolean | undefined;
237
- errorMessages?: string | string[] | undefined;
238
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
239
- "update:modelValue": (...args: any[]) => void;
240
- }, string, PublicProps, Readonly<CustomizableOptions & {
241
- modelValue?: string | Record<string, unknown> | null | undefined;
242
- items?: string[] | Record<string, unknown>[] | undefined;
243
- textKey?: string | undefined;
244
- valueKey?: string | undefined;
245
- label?: string | undefined;
246
- outlined?: boolean | undefined;
247
- required?: boolean | undefined;
248
- errorMessages?: string | string[] | undefined;
249
- }> & Readonly<{
250
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
251
- }>, {
252
- outlined: boolean;
253
- modelValue: string | Record<string, unknown> | null;
254
- label: string;
255
- items: string[] | Record<string, unknown>[];
256
- required: boolean;
257
- textKey: string;
258
- valueKey: string;
259
- errorMessages: string | string[];
260
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
261
-
262
- declare interface CustomizableOptions {
590
+ export declare interface CustomizableOptions {
263
591
  vuetifyOptions?: ComponentsProps;
264
592
  }
265
593
 
266
- export declare const CustomSelect: DefineComponent<ExtractPropTypes< {
267
- modelValue: {
268
- type: (ObjectConstructor | StringConstructor)[];
269
- default: null;
270
- };
594
+ export declare const DataList: __VLS_WithTemplateSlots_7<DefineComponent<ExtractPropTypes< {
271
595
  items: {
272
- type: ArrayConstructor;
273
- default: () => never[];
596
+ type: PropType<DataListItem_2[]>;
597
+ required: true;
274
598
  };
275
- label: {
599
+ icons: {
600
+ type: PropType<DataListIcons | undefined>;
601
+ default: undefined;
602
+ };
603
+ listTitle: {
276
604
  type: StringConstructor;
277
- default: string;
605
+ default: undefined;
278
606
  };
279
- errorMessages: {
280
- type: PropType<string | readonly string[]>;
281
- default: () => never[];
607
+ titleClass: {
608
+ type: StringConstructor;
609
+ default: string;
282
610
  };
283
- required: {
611
+ row: {
284
612
  type: BooleanConstructor;
285
613
  default: boolean;
286
614
  };
287
- menuId: {
615
+ placeholder: {
288
616
  type: StringConstructor;
289
- default: string;
617
+ default: undefined;
290
618
  };
291
- outlined: {
619
+ loading: {
292
620
  type: BooleanConstructor;
293
621
  default: boolean;
294
622
  };
295
- textKey: {
623
+ itemsNumberLoading: {
624
+ type: NumberConstructor;
625
+ default: number;
626
+ };
627
+ headingLoading: {
628
+ type: BooleanConstructor;
629
+ default: boolean;
630
+ };
631
+ renderHtmlValue: {
632
+ type: BooleanConstructor;
633
+ default: boolean;
634
+ };
635
+ maxWidth: {
296
636
  type: StringConstructor;
297
- default: string;
637
+ default: undefined;
298
638
  };
299
- valueKey: {
639
+ minWidth: {
300
640
  type: StringConstructor;
301
- default: string;
641
+ default: undefined;
642
+ };
643
+ width: {
644
+ type: StringConstructor;
645
+ default: undefined;
302
646
  };
303
647
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
304
- "update:modelValue": (...args: any[]) => void;
648
+ "click:item-action": (...args: any[]) => void;
305
649
  }, string, PublicProps, Readonly<ExtractPropTypes< {
306
- modelValue: {
307
- type: (ObjectConstructor | StringConstructor)[];
308
- default: null;
309
- };
310
650
  items: {
311
- type: ArrayConstructor;
312
- default: () => never[];
651
+ type: PropType<DataListItem_2[]>;
652
+ required: true;
313
653
  };
314
- label: {
654
+ icons: {
655
+ type: PropType<DataListIcons | undefined>;
656
+ default: undefined;
657
+ };
658
+ listTitle: {
315
659
  type: StringConstructor;
316
- default: string;
660
+ default: undefined;
317
661
  };
318
- errorMessages: {
319
- type: PropType<string | readonly string[]>;
320
- default: () => never[];
662
+ titleClass: {
663
+ type: StringConstructor;
664
+ default: string;
321
665
  };
322
- required: {
666
+ row: {
323
667
  type: BooleanConstructor;
324
668
  default: boolean;
325
669
  };
326
- menuId: {
670
+ placeholder: {
327
671
  type: StringConstructor;
328
- default: string;
672
+ default: undefined;
329
673
  };
330
- outlined: {
674
+ loading: {
331
675
  type: BooleanConstructor;
332
676
  default: boolean;
333
677
  };
334
- textKey: {
335
- type: StringConstructor;
336
- default: string;
337
- };
338
- valueKey: {
339
- type: StringConstructor;
340
- default: string;
341
- };
342
- }>> & Readonly<{
343
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
344
- }>, {
345
- outlined: boolean;
346
- modelValue: string | Record<string, any>;
347
- label: string;
348
- items: unknown[];
349
- required: boolean;
350
- textKey: string;
351
- valueKey: string;
352
- errorMessages: string | readonly string[];
353
- menuId: string;
354
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
355
-
356
- export declare const CustomTextField: __VLS_WithTemplateSlots_5<DefineComponent< {
357
- prependIcon?: IconType | undefined;
358
- appendIcon?: IconType | undefined;
359
- prependInnerIcon?: IconType | undefined;
360
- appendInnerIcon?: IconType | undefined;
361
- variantStyle?: VariantStyle | undefined;
362
- color?: ColorType | undefined;
363
- isClearable?: boolean | undefined;
364
- showDivider?: boolean | undefined;
365
- label?: string | undefined;
366
- }, {
367
- appendInnerIconColor: ComputedRef<"error" | "success" | "black">;
368
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
369
- prependIcon?: IconType | undefined;
370
- appendIcon?: IconType | undefined;
371
- prependInnerIcon?: IconType | undefined;
372
- appendInnerIcon?: IconType | undefined;
373
- variantStyle?: VariantStyle | undefined;
374
- color?: ColorType | undefined;
375
- isClearable?: boolean | undefined;
376
- showDivider?: boolean | undefined;
377
- label?: string | undefined;
378
- }> & Readonly<{}>, {
379
- variantStyle: VariantStyle;
380
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
381
- prepend?(_: {}): any;
382
- append?(_: {}): any;
383
- "prepend-inner"?(_: {}): any;
384
- "append-inner"?(_: {}): any;
385
- }>;
386
-
387
- export declare const DataList: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes< {
388
- items: {
389
- type: PropType<DataListItem[]>;
390
- required: true;
391
- };
392
- icons: {
393
- type: PropType<DataListIcons | undefined>;
394
- default: undefined;
395
- };
396
- listTitle: {
397
- type: StringConstructor;
398
- default: undefined;
399
- };
400
- titleClass: {
401
- type: StringConstructor;
402
- default: string;
403
- };
404
- row: {
405
- type: BooleanConstructor;
406
- default: boolean;
407
- };
408
- placeholder: {
409
- type: StringConstructor;
410
- default: undefined;
411
- };
412
- loading: {
413
- type: BooleanConstructor;
414
- default: boolean;
415
- };
416
- itemsNumberLoading: {
417
- type: NumberConstructor;
418
- default: number;
419
- };
420
- headingLoading: {
421
- type: BooleanConstructor;
422
- default: boolean;
423
- };
424
- renderHtmlValue: {
425
- type: BooleanConstructor;
426
- default: boolean;
427
- };
428
- maxWidth: {
429
- type: StringConstructor;
430
- default: undefined;
431
- };
432
- minWidth: {
433
- type: StringConstructor;
434
- default: undefined;
435
- };
436
- width: {
437
- type: StringConstructor;
438
- default: undefined;
439
- };
440
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
441
- "click:item-action": (...args: any[]) => void;
442
- }, string, PublicProps, Readonly<ExtractPropTypes< {
443
- items: {
444
- type: PropType<DataListItem[]>;
445
- required: true;
446
- };
447
- icons: {
448
- type: PropType<DataListIcons | undefined>;
449
- default: undefined;
450
- };
451
- listTitle: {
452
- type: StringConstructor;
453
- default: undefined;
454
- };
455
- titleClass: {
456
- type: StringConstructor;
457
- default: string;
458
- };
459
- row: {
460
- type: BooleanConstructor;
461
- default: boolean;
462
- };
463
- placeholder: {
464
- type: StringConstructor;
465
- default: undefined;
466
- };
467
- loading: {
468
- type: BooleanConstructor;
469
- default: boolean;
470
- };
471
- itemsNumberLoading: {
472
- type: NumberConstructor;
473
- default: number;
678
+ itemsNumberLoading: {
679
+ type: NumberConstructor;
680
+ default: number;
474
681
  };
475
682
  headingLoading: {
476
683
  type: BooleanConstructor;
@@ -507,7 +714,7 @@ icons: DataListIcons | undefined;
507
714
  titleClass: string;
508
715
  itemsNumberLoading: number;
509
716
  headingLoading: boolean;
510
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
717
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
511
718
  title?(_: {}): any;
512
719
  }>;
513
720
 
@@ -562,20 +769,68 @@ loading: boolean;
562
769
  renderHtmlValue: boolean;
563
770
  itemWidth: string;
564
771
  icons: DataListIcons_2 | undefined;
565
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
772
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
773
+
774
+ export declare const DataListItem: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
775
+ "click:action": (...args: any[]) => void;
776
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
777
+ "onClick:action"?: ((...args: any[]) => any) | undefined;
778
+ }>, {
779
+ icon: string;
780
+ label: string;
781
+ value: string | number;
782
+ placeholder: string;
783
+ action: string;
784
+ chip: boolean;
785
+ row: boolean;
786
+ renderHtmlValue: boolean;
787
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLIElement>, {
788
+ icon?(_: {}): any;
789
+ value?(_: {
790
+ itemValue: string;
791
+ }): any;
792
+ action?(_: {}): any;
793
+ }>;
794
+
795
+ export declare const DialogBox: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
796
+ cancel: (...args: any[]) => void;
797
+ "update:modelValue": (...args: any[]) => void;
798
+ confirm: (...args: any[]) => void;
799
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
800
+ onCancel?: ((...args: any[]) => any) | undefined;
801
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
802
+ onConfirm?: ((...args: any[]) => any) | undefined;
803
+ }>, {
804
+ width: string;
805
+ title: string;
806
+ hideActions: boolean;
807
+ persistent: boolean;
808
+ cancelBtnText: string;
809
+ confirmBtnText: string;
810
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
811
+ default?: (() => undefined) | undefined;
812
+ title?: (() => undefined) | undefined;
813
+ actions?: (() => undefined) | undefined;
814
+ }> & {
815
+ default?: (() => undefined) | undefined;
816
+ title?: (() => undefined) | undefined;
817
+ actions?: (() => undefined) | undefined;
818
+ }>;
566
819
 
567
820
  declare function dismissAlert(): void;
568
821
 
822
+ declare type DisplayFormat = 'code' | 'code-abbreviation' | 'code-country' | 'country' | 'abbreviation';
823
+
569
824
  declare function download(): Promise<void>;
570
825
 
571
- export declare const DownloadBtn: __VLS_WithTemplateSlots_7<DefineComponent<Props_2 & CustomizableOptions, {
826
+ export declare const DownloadBtn: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_Props_10, {
572
827
  getFileInfo: typeof getFileInfo;
573
828
  download: typeof download;
574
829
  state: Ref<State, State>;
575
830
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
576
831
  error: (...args: any[]) => void;
577
832
  success: (...args: any[]) => void;
578
- }, string, PublicProps, Readonly<Props_2 & CustomizableOptions> & Readonly<{
833
+ }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
579
834
  onError?: ((...args: any[]) => any) | undefined;
580
835
  onSuccess?: ((...args: any[]) => any) | undefined;
581
836
  }>, {
@@ -585,6 +840,21 @@ fallbackFilename: string;
585
840
  default?(_: {}): any;
586
841
  }>;
587
842
 
843
+ export declare const ErrorPage: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
844
+ code: string;
845
+ message: string;
846
+ pageTitle: string;
847
+ codeErrorText: string;
848
+ btnText: string;
849
+ btnHref: string;
850
+ btnLink: string | RouteRecordRaw;
851
+ hideBtn: boolean;
852
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
853
+ "additional-content"?(_: {}): any;
854
+ action?(_: {}): any;
855
+ illustration?(_: {}): any;
856
+ }>;
857
+
588
858
  declare interface FileInfo {
589
859
  name: string;
590
860
  type: string;
@@ -592,47 +862,9 @@ declare interface FileInfo {
592
862
 
593
863
  declare function focus_2(): void;
594
864
 
595
- export declare const FooterBar: __VLS_WithTemplateSlots_8<DefineComponent<CustomizableOptions & {
596
- a11yCompliance?: string | undefined;
597
- linkItems?: LinkItem[] | null | undefined;
598
- items?: LinkItem[] | null | undefined;
599
- sitemapRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
600
- cguRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
601
- cookiesRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
602
- legalNoticeRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
603
- a11yStatementRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
604
- hideSitemapLink?: boolean | undefined;
605
- hideCguLink?: boolean | undefined;
606
- hideCookiesLink?: boolean | undefined;
607
- hideLegalNoticeLink?: boolean | undefined;
608
- hideA11yLink?: boolean | undefined;
609
- version?: string | undefined;
610
- hideLogo?: boolean | undefined;
611
- hideSocialMediaLinks?: boolean | undefined;
612
- socialMediaLinks?: SocialMediaLink[] | undefined;
613
- light?: boolean | undefined;
614
- }, {
865
+ export declare const FooterBar: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_Props_12, {
615
866
  logoSize: ComputedRef<"small" | "normal">;
616
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomizableOptions & {
617
- a11yCompliance?: string | undefined;
618
- linkItems?: LinkItem[] | null | undefined;
619
- items?: LinkItem[] | null | undefined;
620
- sitemapRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
621
- cguRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
622
- cookiesRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
623
- legalNoticeRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
624
- a11yStatementRoute?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
625
- hideSitemapLink?: boolean | undefined;
626
- hideCguLink?: boolean | undefined;
627
- hideCookiesLink?: boolean | undefined;
628
- hideLegalNoticeLink?: boolean | undefined;
629
- hideA11yLink?: boolean | undefined;
630
- version?: string | undefined;
631
- hideLogo?: boolean | undefined;
632
- hideSocialMediaLinks?: boolean | undefined;
633
- socialMediaLinks?: SocialMediaLink[] | undefined;
634
- light?: boolean | undefined;
635
- }> & Readonly<{}>, {
867
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {
636
868
  light: boolean;
637
869
  items: LinkItem[] | null;
638
870
  a11yCompliance: string;
@@ -658,47 +890,32 @@ socialMediaLinks: SocialMediaLink[];
658
890
  append?(_: {}): any;
659
891
  }>;
660
892
 
661
- export declare const FranceConnectBtn: DefineComponent< {
662
- href: string;
663
- isConnectPlus?: boolean | undefined;
664
- dark?: boolean | undefined;
665
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
666
- href: string;
667
- isConnectPlus?: boolean | undefined;
668
- dark?: boolean | undefined;
669
- }> & Readonly<{}>, {
893
+ export declare const FranceConnectBtn: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
670
894
  dark: boolean;
671
895
  isConnectPlus: boolean;
672
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
896
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
673
897
 
674
898
  /**
675
899
  * Get filename and content type from headers
676
900
  */
677
901
  declare function getFileInfo(header: Record<string, string>): FileInfo;
678
902
 
679
- export declare const HeaderBar: __VLS_WithTemplateSlots_9<DefineComponent< {
680
- /** Keep the header visible */
681
- sticky?: boolean | undefined;
682
- /**
683
- * Show the header at sticky only when the user scroll up in mobile
684
- * Need 'sticky' at true,
685
- */
686
- hideWhenDown?: boolean | undefined;
687
- } & LogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
688
- /** Keep the header visible */
689
- sticky?: boolean | undefined;
690
- /**
691
- * Show the header at sticky only when the user scroll up in mobile
692
- * Need 'sticky' at true,
693
- */
694
- hideWhenDown?: boolean | undefined;
695
- } & LogoProps> & Readonly<{}>, {
903
+ export declare const HeaderBar: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
696
904
  sticky: boolean;
697
905
  serviceTitle: string;
698
906
  serviceSubtitle: string;
907
+ homeLink: {
908
+ ariaLabel?: string | undefined;
909
+ to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
910
+ href?: string | undefined;
911
+ } & {
912
+ ariaLabel?: string | undefined;
913
+ to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
914
+ href?: string | undefined;
915
+ };
699
916
  hideWhenDown: boolean;
700
917
  homeAriaLabel: string;
701
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
918
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>, Readonly<{
702
919
  prepend: (props: SlotProps) => unknown;
703
920
  append: (props: SlotProps) => unknown;
704
921
  menu: (props: SlotProps) => unknown;
@@ -714,7 +931,11 @@ homeAriaLabel: string;
714
931
  'header-side': (props: SlotProps) => unknown;
715
932
  }>;
716
933
 
717
- export declare const HeaderBurgerMenu: __VLS_WithTemplateSlots_10<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
934
+ export declare const HeaderBurgerMenu: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
935
+ "update:modelValue": (value: boolean) => any;
936
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
937
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
938
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
718
939
  default?(_: {}): any;
719
940
  }>;
720
941
 
@@ -741,92 +962,56 @@ height: string;
741
962
  width: string;
742
963
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
743
964
 
744
- export declare const HeaderLogo: __VLS_WithTemplateSlots_14<DefineComponent< {
745
- ariaLabel?: string | undefined;
746
- serviceTitle?: string | undefined;
747
- serviceSubtitle?: string | undefined;
748
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
749
- ariaLabel?: string | undefined;
750
- serviceTitle?: string | undefined;
751
- serviceSubtitle?: string | undefined;
752
- }> & Readonly<{}>, {
965
+ export declare const HeaderLogo: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
753
966
  ariaLabel: string;
754
967
  serviceTitle: string;
755
968
  serviceSubtitle: string;
969
+ homeLink: {
970
+ ariaLabel?: string | undefined;
971
+ to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
972
+ href?: string | undefined;
973
+ };
756
974
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
757
975
  'brand-content'?(): void;
758
976
  }> & {
759
977
  'brand-content'?(): void;
760
978
  }>;
761
979
 
762
- export declare const HeaderMenuBtn: DefineComponent<__VLS_PublicProps_2, {
980
+ export declare const HeaderMenuBtn: DefineComponent<__VLS_PublicProps_4, {
763
981
  focus: typeof focus_2;
764
982
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
765
- "update:modelValue": (modelValue: boolean) => any;
766
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
767
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
768
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
983
+ "update:modelValue": (value: boolean) => any;
984
+ }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
985
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
986
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
769
987
 
770
- export declare const HeaderMenuItem: __VLS_WithTemplateSlots_11<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
988
+ export declare const HeaderMenuItem: __VLS_WithTemplateSlots_15<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLLIElement>, {
771
989
  default?(_: {}): any;
772
990
  }>;
773
991
 
774
- export declare const HeaderMenuSection: __VLS_WithTemplateSlots_12<DefineComponent< {
775
- title?: string | undefined;
776
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
777
- title?: string | undefined;
778
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
992
+ export declare const HeaderMenuSection: __VLS_WithTemplateSlots_16<DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
993
+ title?(_: {}): any;
779
994
  default?(_: {}): any;
780
995
  }>;
781
996
 
782
- export declare const HeaderNavbar: __VLS_WithTemplateSlots_15<DefineComponent< {
783
- homeAriaLabel?: string | undefined;
784
- serviceTitle?: string | undefined;
785
- serviceSubtitle?: string | undefined;
786
- /** Keep the header visible */
787
- sticky?: boolean | undefined;
788
- /**
789
- * Show the header at sticky only when the user scroll up in mobile
790
- * Need 'sticky' at true,
791
- */
792
- hideWhenDown?: boolean | undefined;
793
- /**
794
- * The number of item to shown in the horizontal menu before using
795
- * the Burger menu (default: 6)
796
- */
797
- maxHorizontalMenuItems?: number | undefined;
798
- /**
799
- * The items to show in the horizontal menu
800
- */
801
- items?: NavigationItem[] | undefined;
802
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
803
- homeAriaLabel?: string | undefined;
804
- serviceTitle?: string | undefined;
805
- serviceSubtitle?: string | undefined;
806
- /** Keep the header visible */
807
- sticky?: boolean | undefined;
808
- /**
809
- * Show the header at sticky only when the user scroll up in mobile
810
- * Need 'sticky' at true,
811
- */
812
- hideWhenDown?: boolean | undefined;
813
- /**
814
- * The number of item to shown in the horizontal menu before using
815
- * the Burger menu (default: 6)
816
- */
817
- maxHorizontalMenuItems?: number | undefined;
818
- /**
819
- * The items to show in the horizontal menu
820
- */
821
- items?: NavigationItem[] | undefined;
822
- }> & Readonly<{}>, {
997
+ export declare const HeaderNavigationBar: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
998
+ "update:burgerMenu": (value: boolean) => any;
999
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
1000
+ "onUpdate:burgerMenu"?: ((value: boolean) => any) | undefined;
1001
+ }>, {
1002
+ sticky: boolean;
823
1003
  items: NavigationItem[];
824
1004
  serviceTitle: string;
825
1005
  serviceSubtitle: string;
1006
+ homeLink: {
1007
+ ariaLabel?: string | undefined;
1008
+ to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
1009
+ href?: string | undefined;
1010
+ };
826
1011
  hideWhenDown: boolean;
827
1012
  homeAriaLabel: string;
828
1013
  maxHorizontalMenuItems: number;
829
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
1014
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>, Readonly<{
830
1015
  logo: (props: SlotProps_2 & LogoProps_2) => unknown;
831
1016
  'logo-brand-content': (props: SlotProps_2 & LogoProps_2) => unknown;
832
1017
  'header-side': (props: SlotProps_2) => unknown;
@@ -848,18 +1033,122 @@ maxHorizontalMenuItems: number;
848
1033
  'navigation-menu-content': (props: SlotProps_2) => unknown;
849
1034
  }>;
850
1035
 
851
- export declare const HeaderSubMenu: __VLS_WithTemplateSlots_13<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
1036
+ export declare const HeaderSubMenu: __VLS_WithTemplateSlots_17<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
852
1037
  title?(_: {}): any;
853
1038
  default?(_: {}): any;
854
1039
  }>;
855
1040
 
856
- export declare const LangBtn: DefineComponent<CustomizableOptions & {
857
- modelValue?: string | undefined;
858
- hideDownArrow?: boolean | undefined;
859
- ariaLabel?: string | undefined;
860
- ariaOwns?: string | undefined;
861
- availableLanguages?: string[] | "*" | undefined;
862
- }, {
1041
+ export declare const HeaderToolbar: __VLS_WithTemplateSlots_20<DefineComponent<ExtractPropTypes< {
1042
+ leftMenu: {
1043
+ type: PropType<MenuItem[]>;
1044
+ default: () => ({
1045
+ title: string;
1046
+ href: string;
1047
+ openInNewTab: boolean;
1048
+ } | {
1049
+ title: string;
1050
+ href?: undefined;
1051
+ openInNewTab?: undefined;
1052
+ })[];
1053
+ };
1054
+ rightMenu: {
1055
+ type: PropType<MenuItem[]>;
1056
+ default: () => {
1057
+ title: string;
1058
+ href: string;
1059
+ openInNewTab: boolean;
1060
+ }[];
1061
+ };
1062
+ itemsSelectMenu: {
1063
+ type: PropType<SelectItem[]>;
1064
+ default: () => {
1065
+ text: string;
1066
+ value: string;
1067
+ href: string;
1068
+ openInNewTab: boolean;
1069
+ }[];
1070
+ };
1071
+ ariaLeftMenu: {
1072
+ type: StringConstructor;
1073
+ default: string;
1074
+ };
1075
+ ariaRightMenu: {
1076
+ type: StringConstructor;
1077
+ default: string;
1078
+ };
1079
+ }>, {
1080
+ hideOverlay: () => void;
1081
+ handleLink: (index: number) => void;
1082
+ checkActiveLink: (index: number) => void;
1083
+ deleteActiveLink: () => void;
1084
+ activeIndex: Ref<number | null, number | null>;
1085
+ highlightMenu: Ref<boolean, boolean>;
1086
+ showOverlay: Ref<boolean, boolean>;
1087
+ getLinkComponent: (item: MenuItem) => string;
1088
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1089
+ leftMenu: {
1090
+ type: PropType<MenuItem[]>;
1091
+ default: () => ({
1092
+ title: string;
1093
+ href: string;
1094
+ openInNewTab: boolean;
1095
+ } | {
1096
+ title: string;
1097
+ href?: undefined;
1098
+ openInNewTab?: undefined;
1099
+ })[];
1100
+ };
1101
+ rightMenu: {
1102
+ type: PropType<MenuItem[]>;
1103
+ default: () => {
1104
+ title: string;
1105
+ href: string;
1106
+ openInNewTab: boolean;
1107
+ }[];
1108
+ };
1109
+ itemsSelectMenu: {
1110
+ type: PropType<SelectItem[]>;
1111
+ default: () => {
1112
+ text: string;
1113
+ value: string;
1114
+ href: string;
1115
+ openInNewTab: boolean;
1116
+ }[];
1117
+ };
1118
+ ariaLeftMenu: {
1119
+ type: StringConstructor;
1120
+ default: string;
1121
+ };
1122
+ ariaRightMenu: {
1123
+ type: StringConstructor;
1124
+ default: string;
1125
+ };
1126
+ }>> & Readonly<{}>, {
1127
+ leftMenu: MenuItem[];
1128
+ rightMenu: MenuItem[];
1129
+ itemsSelectMenu: SelectItem[];
1130
+ ariaLeftMenu: string;
1131
+ ariaRightMenu: string;
1132
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
1133
+ "left-menu"?(_: {}): any;
1134
+ "right-menu"?(_: {}): any;
1135
+ }>;
1136
+
1137
+ declare type Indicatif = {
1138
+ code: string;
1139
+ abbreviation: string;
1140
+ country: string;
1141
+ mask?: string;
1142
+ phoneLength: number;
1143
+ };
1144
+
1145
+ export declare function isNIRKeyValid(nir: string): boolean;
1146
+
1147
+ declare type Item = string | Record<string, unknown>;
1148
+
1149
+ export declare const KEY_LENGTH = 2;
1150
+
1151
+ export declare const LangBtn: DefineComponent<__VLS_Props_18, {
863
1152
  currentLangData: ComputedRef< {
864
1153
  name: string;
865
1154
  label: string;
@@ -869,13 +1158,7 @@ selectedLanguage: Ref<string, string>;
869
1158
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
870
1159
  change: (...args: any[]) => void;
871
1160
  "update:modelValue": (...args: any[]) => void;
872
- }, string, PublicProps, Readonly<CustomizableOptions & {
873
- modelValue?: string | undefined;
874
- hideDownArrow?: boolean | undefined;
875
- ariaLabel?: string | undefined;
876
- ariaOwns?: string | undefined;
877
- availableLanguages?: string[] | "*" | undefined;
878
- }> & Readonly<{
1161
+ }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
879
1162
  onChange?: ((...args: any[]) => any) | undefined;
880
1163
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
881
1164
  }>, {
@@ -884,7 +1167,7 @@ ariaLabel: string;
884
1167
  ariaOwns: string;
885
1168
  hideDownArrow: boolean;
886
1169
  availableLanguages: string[] | "*";
887
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1170
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
888
1171
 
889
1172
  export declare const Logo: DefineComponent<ExtractPropTypes< {
890
1173
  hideSignature: {
@@ -954,12 +1237,36 @@ avatar: boolean;
954
1237
  hideSignature: boolean;
955
1238
  hideOrganism: boolean;
956
1239
  risquePro: boolean;
957
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1240
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
1241
+
1242
+ export declare const LogoBrandSection: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
1243
+ theme: Theme;
1244
+ serviceTitle: string;
1245
+ homeLink: {
1246
+ ariaLabel?: string | undefined;
1247
+ to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined;
1248
+ href?: string | undefined;
1249
+ };
1250
+ serviceSubTitle: string;
1251
+ mobileVersion: boolean;
1252
+ reduceLogo: boolean;
1253
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<{
1254
+ default(): unknown;
1255
+ 'brand-content'(): unknown;
1256
+ }> & {
1257
+ default(): unknown;
1258
+ 'brand-content'(): unknown;
1259
+ }>;
958
1260
 
959
1261
  declare type LogoProps = {
960
1262
  homeAriaLabel?: string;
961
1263
  serviceTitle?: string;
962
1264
  serviceSubtitle?: string;
1265
+ homeLink?: {
1266
+ ariaLabel?: string;
1267
+ to?: RouteLocationRaw;
1268
+ href?: string;
1269
+ };
963
1270
  };
964
1271
 
965
1272
  declare type LogoProps_2 = {
@@ -968,12 +1275,44 @@ declare type LogoProps_2 = {
968
1275
  serviceSubtitle?: string;
969
1276
  };
970
1277
 
1278
+ export declare const MaintenancePage: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1279
+
1280
+ declare type MenuItem_2 = {
1281
+ text: string;
1282
+ value: string;
1283
+ link?: string;
1284
+ };
1285
+
971
1286
  declare interface NavigationItem {
972
1287
  label: string;
973
1288
  href?: string;
974
1289
  to?: RouteLocationRaw;
975
1290
  }
976
1291
 
1292
+ export declare const NirField: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_Props_20, {
1293
+ validateOnSubmit: typeof validateOnSubmit;
1294
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1295
+ "update:modelValue": (...args: any[]) => void;
1296
+ }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
1297
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1298
+ }>, {
1299
+ outlined: boolean;
1300
+ modelValue: string;
1301
+ required: boolean;
1302
+ nirTooltip: string;
1303
+ keyTooltip: string;
1304
+ numberLabel: string;
1305
+ keyLabel: string;
1306
+ displayKey: boolean;
1307
+ customNumberRules: any;
1308
+ customKeyRules: any;
1309
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
1310
+ nirTooltip?(_: {}): any;
1311
+ keyTooltip?(_: {}): any;
1312
+ }>;
1313
+
1314
+ export declare const NotFoundPage: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1315
+
977
1316
  declare interface Notification_2 {
978
1317
  id: string;
979
1318
  message: string;
@@ -983,11 +1322,7 @@ declare interface Notification_2 {
983
1322
  }
984
1323
  export { Notification_2 as Notification }
985
1324
 
986
- export declare const NotificationBar: __VLS_WithTemplateSlots_16<DefineComponent<CustomizableOptions & {
987
- closeBtnText?: string | undefined;
988
- rounded?: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xs" | "sm" | "lg" | "xl" | "shaped" | undefined;
989
- bottom?: boolean | undefined;
990
- }, {
1325
+ export declare const NotificationBar: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_Props_21, {
991
1326
  openNotification: (notification: Notification_2) => void;
992
1327
  handleClearNotification: () => void;
993
1328
  showNextNotification: () => void;
@@ -1004,12 +1339,8 @@ contentColor: string;
1004
1339
  }>;
1005
1340
  smallCloseBtn: ComputedRef<boolean>;
1006
1341
  isVertical: ComputedRef<boolean>;
1007
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomizableOptions & {
1008
- closeBtnText?: string | undefined;
1009
- rounded?: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xs" | "sm" | "lg" | "xl" | "shaped" | undefined;
1010
- bottom?: boolean | undefined;
1011
- }> & Readonly<{}>, {
1012
- rounded: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xs" | "sm" | "lg" | "xl" | "shaped";
1342
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
1343
+ rounded: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xl" | "xs" | "sm" | "lg" | "shaped";
1013
1344
  bottom: boolean;
1014
1345
  closeBtnText: string;
1015
1346
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
@@ -1022,98 +1353,206 @@ export declare namespace NotificationService {
1022
1353
  }
1023
1354
  }
1024
1355
 
1025
- declare type NumberOrNumberString = string | number | undefined;
1356
+ export declare const NUMBER_LENGTH = 13;
1026
1357
 
1027
- export declare const PageContainer: __VLS_WithTemplateSlots_17<DefineComponent< {
1028
- size?: "s" | "xl" | "l" | "m" | undefined;
1029
- spacing?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1030
- color?: string | undefined;
1031
- }, {
1358
+ export declare type NumberOrNumberString = string | number | undefined;
1359
+
1360
+ export declare const PageContainer: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_Props_22, {
1032
1361
  spacingClass: ComputedRef<string>;
1033
1362
  containerSize: ComputedRef<number>;
1034
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
1035
- size?: "s" | "xl" | "l" | "m" | undefined;
1036
- spacing?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1037
- color?: string | undefined;
1038
- }> & Readonly<{}>, {
1363
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
1039
1364
  color: string;
1040
1365
  size: "s" | "xl" | "l" | "m";
1041
- spacing: "xs" | "sm" | "md" | "lg" | "xl";
1042
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1043
- default?(_: {}): any;
1044
- }>;
1045
-
1046
- declare interface Props {
1047
- threshold?: number;
1048
- nudgeRight?: string | number;
1049
- nudgeBottom?: string | number;
1050
- target?: string;
1051
- }
1052
-
1053
- declare interface Props_2 {
1054
- filePromise: () => Promise<AxiosResponse<Blob>>;
1055
- fallbackFilename?: string;
1056
- }
1057
-
1058
- declare type PropsList = Record<string, unknown>;
1059
-
1060
- export declare const SkipLink: __VLS_WithTemplateSlots_18<DefineComponent< {
1061
- label?: string | undefined;
1062
- target?: string | undefined;
1063
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
1064
- label?: string | undefined;
1065
- target?: string | undefined;
1066
- }> & Readonly<{}>, {
1067
- label: string;
1068
- target: string;
1069
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1366
+ spacing: "xl" | "xs" | "sm" | "md" | "lg";
1367
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
1070
1368
  default?(_: {}): any;
1071
1369
  }>;
1072
1370
 
1073
- declare type SlotProps = {
1074
- menuOpen: boolean | undefined;
1075
- };
1076
-
1077
- declare type SlotProps_2 = {
1078
- menuOpen: boolean | undefined;
1371
+ export declare const PhoneField: DefineComponent<ExtractPropTypes< {
1372
+ modelValue: {
1373
+ type: StringConstructor;
1374
+ default: string;
1079
1375
  };
1080
-
1081
- export declare const SocialMediaLinks: DefineComponent<ExtractPropTypes< {
1082
- links: {
1083
- type: PropType<SocialMediaLink_2[]>;
1084
- default: null;
1376
+ dialCodeModel: {
1377
+ type: PropType<string | Record<string, any>>;
1378
+ default: string;
1085
1379
  };
1086
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1087
- links: {
1088
- type: PropType<SocialMediaLink_2[]>;
1089
- default: null;
1380
+ required: {
1381
+ type: BooleanConstructor;
1382
+ default: boolean;
1383
+ };
1384
+ outlined: {
1385
+ type: BooleanConstructor;
1386
+ default: boolean;
1387
+ };
1388
+ outlinedIndicatif: {
1389
+ type: BooleanConstructor;
1390
+ default: boolean;
1391
+ };
1392
+ withCountryCode: {
1393
+ type: BooleanConstructor;
1394
+ default: boolean;
1395
+ };
1396
+ countryCodeRequired: {
1397
+ type: BooleanConstructor;
1398
+ default: boolean;
1399
+ };
1400
+ displayFormat: {
1401
+ type: PropType<DisplayFormat>;
1402
+ default: string;
1403
+ };
1404
+ customIndicatifs: {
1405
+ type: PropType<Indicatif[]>;
1406
+ default: () => never[];
1407
+ };
1408
+ useCustomIndicatifsOnly: {
1409
+ type: BooleanConstructor;
1410
+ default: boolean;
1411
+ };
1412
+ isValidatedOnBlur: {
1413
+ type: BooleanConstructor;
1414
+ default: boolean;
1415
+ };
1416
+ }>, {
1417
+ computedValue: ComputedRef<string>;
1418
+ dialCode: Ref<string | Record<string, any>, string | Record<string, any>>;
1419
+ phoneMask: Ref<string, string>;
1420
+ counter: Ref<number, number>;
1421
+ hasError: Ref<boolean, boolean>;
1422
+ phoneNumber: Ref<string, string>;
1423
+ mergedDialCodes: ComputedRef<Indicatif[]>;
1424
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1425
+ change: (...args: any[]) => void;
1426
+ "update:modelValue": (...args: any[]) => void;
1427
+ "update:selectedDialCode": (...args: any[]) => void;
1428
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1429
+ modelValue: {
1430
+ type: StringConstructor;
1431
+ default: string;
1432
+ };
1433
+ dialCodeModel: {
1434
+ type: PropType<string | Record<string, any>>;
1435
+ default: string;
1436
+ };
1437
+ required: {
1438
+ type: BooleanConstructor;
1439
+ default: boolean;
1440
+ };
1441
+ outlined: {
1442
+ type: BooleanConstructor;
1443
+ default: boolean;
1444
+ };
1445
+ outlinedIndicatif: {
1446
+ type: BooleanConstructor;
1447
+ default: boolean;
1448
+ };
1449
+ withCountryCode: {
1450
+ type: BooleanConstructor;
1451
+ default: boolean;
1452
+ };
1453
+ countryCodeRequired: {
1454
+ type: BooleanConstructor;
1455
+ default: boolean;
1456
+ };
1457
+ displayFormat: {
1458
+ type: PropType<DisplayFormat>;
1459
+ default: string;
1460
+ };
1461
+ customIndicatifs: {
1462
+ type: PropType<Indicatif[]>;
1463
+ default: () => never[];
1464
+ };
1465
+ useCustomIndicatifsOnly: {
1466
+ type: BooleanConstructor;
1467
+ default: boolean;
1468
+ };
1469
+ isValidatedOnBlur: {
1470
+ type: BooleanConstructor;
1471
+ default: boolean;
1472
+ };
1473
+ }>> & Readonly<{
1474
+ onChange?: ((...args: any[]) => any) | undefined;
1475
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1476
+ "onUpdate:selectedDialCode"?: ((...args: any[]) => any) | undefined;
1477
+ }>, {
1478
+ outlined: boolean;
1479
+ modelValue: string;
1480
+ required: boolean;
1481
+ dialCodeModel: string | Record<string, any>;
1482
+ outlinedIndicatif: boolean;
1483
+ withCountryCode: boolean;
1484
+ countryCodeRequired: boolean;
1485
+ displayFormat: DisplayFormat;
1486
+ customIndicatifs: Indicatif[];
1487
+ useCustomIndicatifsOnly: boolean;
1488
+ isValidatedOnBlur: boolean;
1489
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1490
+
1491
+ declare type Preferences = {
1492
+ [key in CookieTypes]: boolean | undefined;
1493
+ };
1494
+
1495
+ declare interface Props {
1496
+ threshold?: number;
1497
+ nudgeRight?: string | number;
1498
+ nudgeBottom?: string | number;
1499
+ target?: string;
1500
+ }
1501
+
1502
+ declare interface Props_2 {
1503
+ filePromise: () => Promise<AxiosResponse<Blob>>;
1504
+ fallbackFilename?: string;
1505
+ }
1506
+
1507
+ declare type PropsList = Record<string, unknown>;
1508
+
1509
+ declare type RuleOptions = {
1510
+ fieldName?: string;
1511
+ message?: string;
1512
+ successMessage?: string;
1513
+ length?: number;
1514
+ value?: number;
1515
+ pattern?: RegExp;
1516
+ ignoreSpace?: boolean;
1517
+ fieldIdentifier?: string;
1518
+ validate?: (value: any) => boolean | string;
1519
+ };
1520
+
1521
+ export declare const SkipLink: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
1522
+ target: string;
1523
+ label: string;
1524
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
1525
+ default?(_: {}): any;
1526
+ }>;
1527
+
1528
+ declare type SlotProps = {
1529
+ menuOpen: boolean | undefined;
1530
+ };
1531
+
1532
+ declare type SlotProps_2 = {
1533
+ menuOpen: boolean | undefined;
1534
+ };
1535
+
1536
+ export declare const SocialMediaLinks: DefineComponent<ExtractPropTypes< {
1537
+ links: {
1538
+ type: PropType<SocialMediaLink_2[]>;
1539
+ default: null;
1540
+ };
1541
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1542
+ links: {
1543
+ type: PropType<SocialMediaLink_2[]>;
1544
+ default: null;
1090
1545
  };
1091
1546
  }>> & Readonly<{}>, {
1092
1547
  links: SocialMediaLink_2[];
1093
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1548
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1094
1549
 
1095
1550
  declare type State = 'idle' | 'loading' | 'success' | 'error';
1096
1551
 
1097
- export declare const SubHeader: __VLS_WithTemplateSlots_19<DefineComponent<CustomizableOptions & Widthable & {
1098
- hideBackBtn: boolean;
1099
- backBtnText?: string | undefined;
1100
- titleText?: string | undefined;
1101
- subTitleText?: string | undefined;
1102
- dataListGroupItems?: DataListGroupItems_2 | undefined;
1103
- loading?: boolean | undefined;
1104
- renderHtmlValue?: boolean | undefined;
1105
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1552
+ export declare const SubHeader: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1106
1553
  "click:list-item": (...args: any[]) => void;
1107
1554
  back: (...args: any[]) => void;
1108
- }, string, PublicProps, Readonly<CustomizableOptions & Widthable & {
1109
- hideBackBtn: boolean;
1110
- backBtnText?: string | undefined;
1111
- titleText?: string | undefined;
1112
- subTitleText?: string | undefined;
1113
- dataListGroupItems?: DataListGroupItems_2 | undefined;
1114
- loading?: boolean | undefined;
1115
- renderHtmlValue?: boolean | undefined;
1116
- }> & Readonly<{
1555
+ }, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
1117
1556
  "onClick:list-item"?: ((...args: any[]) => any) | undefined;
1118
1557
  onBack?: ((...args: any[]) => any) | undefined;
1119
1558
  }>, {
@@ -1133,8 +1572,315 @@ dataListGroupItems: DataListGroupItems_2;
1133
1572
  "right-content"?(_: {}): any;
1134
1573
  }>;
1135
1574
 
1575
+ export declare const SyAlert: __VLS_WithTemplateSlots<DefineComponent<__VLS_PublicProps, {
1576
+ prependIcon: ComputedRef<string>;
1577
+ dismissAlert: typeof dismissAlert;
1578
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1579
+ "update:modelValue": (value: boolean) => any;
1580
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
1581
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1582
+ }>, {
1583
+ type: "error" | "success" | "info" | "warning";
1584
+ closable: boolean;
1585
+ variant: "tonal" | "outlined";
1586
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1587
+ icon?(_: {}): any;
1588
+ default?(_: {}): any;
1589
+ }>;
1590
+
1591
+ export declare const SyBtnSelect: __VLS_WithTemplateSlots_5<DefineComponent<ExtractPropTypes< {
1592
+ modelValue: {
1593
+ type: (ObjectConstructor | StringConstructor | null)[];
1594
+ default: null;
1595
+ };
1596
+ menuItems: {
1597
+ type: PropType<Item[]>;
1598
+ default: () => never[];
1599
+ };
1600
+ label: {
1601
+ type: StringConstructor;
1602
+ default: string;
1603
+ };
1604
+ required: {
1605
+ type: BooleanConstructor;
1606
+ default: boolean;
1607
+ };
1608
+ menuId: {
1609
+ type: StringConstructor;
1610
+ default: string;
1611
+ };
1612
+ textKey: {
1613
+ type: StringConstructor;
1614
+ default: string;
1615
+ };
1616
+ valueKey: {
1617
+ type: StringConstructor;
1618
+ default: string;
1619
+ };
1620
+ primaryInfo: {
1621
+ type: StringConstructor;
1622
+ default: string;
1623
+ };
1624
+ secondaryInfo: {
1625
+ type: StringConstructor;
1626
+ default: undefined;
1627
+ };
1628
+ hideIcon: {
1629
+ type: BooleanConstructor;
1630
+ default: boolean;
1631
+ };
1632
+ hideLogoutBtn: {
1633
+ type: BooleanConstructor;
1634
+ default: boolean;
1635
+ };
1636
+ isMobileView: {
1637
+ type: BooleanConstructor;
1638
+ default: boolean;
1639
+ };
1640
+ iconOnly: {
1641
+ type: BooleanConstructor;
1642
+ default: boolean;
1643
+ };
1644
+ options: {
1645
+ type: ObjectConstructor;
1646
+ default: () => {
1647
+ menu: {};
1648
+ btn: {};
1649
+ list: {};
1650
+ };
1651
+ };
1652
+ }>, {
1653
+ isOpen: Ref<boolean, boolean>;
1654
+ formattedItems: ComputedRef<Record<string, unknown>[]>;
1655
+ selectedItem: Ref<string | Record<string, unknown> | null, string | Record<string, unknown> | null>;
1656
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1657
+ "update:modelValue": (...args: any[]) => void;
1658
+ logout: (...args: any[]) => void;
1659
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1660
+ modelValue: {
1661
+ type: (ObjectConstructor | StringConstructor | null)[];
1662
+ default: null;
1663
+ };
1664
+ menuItems: {
1665
+ type: PropType<Item[]>;
1666
+ default: () => never[];
1667
+ };
1668
+ label: {
1669
+ type: StringConstructor;
1670
+ default: string;
1671
+ };
1672
+ required: {
1673
+ type: BooleanConstructor;
1674
+ default: boolean;
1675
+ };
1676
+ menuId: {
1677
+ type: StringConstructor;
1678
+ default: string;
1679
+ };
1680
+ textKey: {
1681
+ type: StringConstructor;
1682
+ default: string;
1683
+ };
1684
+ valueKey: {
1685
+ type: StringConstructor;
1686
+ default: string;
1687
+ };
1688
+ primaryInfo: {
1689
+ type: StringConstructor;
1690
+ default: string;
1691
+ };
1692
+ secondaryInfo: {
1693
+ type: StringConstructor;
1694
+ default: undefined;
1695
+ };
1696
+ hideIcon: {
1697
+ type: BooleanConstructor;
1698
+ default: boolean;
1699
+ };
1700
+ hideLogoutBtn: {
1701
+ type: BooleanConstructor;
1702
+ default: boolean;
1703
+ };
1704
+ isMobileView: {
1705
+ type: BooleanConstructor;
1706
+ default: boolean;
1707
+ };
1708
+ iconOnly: {
1709
+ type: BooleanConstructor;
1710
+ default: boolean;
1711
+ };
1712
+ options: {
1713
+ type: ObjectConstructor;
1714
+ default: () => {
1715
+ menu: {};
1716
+ btn: {};
1717
+ list: {};
1718
+ };
1719
+ };
1720
+ }>> & Readonly<{
1721
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1722
+ onLogout?: ((...args: any[]) => any) | undefined;
1723
+ }>, {
1724
+ modelValue: string | Record<string, any> | null;
1725
+ label: string;
1726
+ options: Record<string, any>;
1727
+ required: boolean;
1728
+ menuItems: Item[];
1729
+ menuId: string;
1730
+ textKey: string;
1731
+ valueKey: string;
1732
+ primaryInfo: string;
1733
+ secondaryInfo: string;
1734
+ hideIcon: boolean;
1735
+ hideLogoutBtn: boolean;
1736
+ isMobileView: boolean;
1737
+ iconOnly: boolean;
1738
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
1739
+ "prepend-icon"?(_: {}): any;
1740
+ "append-icon"?(_: {}): any;
1741
+ content?(_: {}): any;
1742
+ default?(_: {}): any;
1743
+ "footer-list-item"?(_: {}): any;
1744
+ }>;
1745
+
1746
+ export declare const SyInputSelect: DefineComponent<__VLS_Props_6, {
1747
+ isOpen: Ref<boolean, boolean>;
1748
+ closeList: () => void;
1749
+ selectItem: (item: any) => void;
1750
+ selectedItem: Ref<string | Record<string, unknown> | null, string | Record<string, unknown> | null>;
1751
+ getItemText: (item: unknown) => any;
1752
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1753
+ "update:modelValue": (...args: any[]) => void;
1754
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
1755
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1756
+ }>, {
1757
+ outlined: boolean;
1758
+ modelValue: string | Record<string, unknown> | null;
1759
+ label: string;
1760
+ items: string[] | Record<string, unknown>[];
1761
+ required: boolean;
1762
+ textKey: string;
1763
+ valueKey: string;
1764
+ errorMessages: string | string[];
1765
+ isHeaderToolbar: boolean;
1766
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1767
+
1768
+ export declare const SySelect: DefineComponent<ExtractPropTypes< {
1769
+ modelValue: {
1770
+ type: (ObjectConstructor | StringConstructor)[];
1771
+ default: null;
1772
+ };
1773
+ items: {
1774
+ type: ArrayConstructor;
1775
+ default: () => never[];
1776
+ };
1777
+ label: {
1778
+ type: StringConstructor;
1779
+ default: string;
1780
+ };
1781
+ errorMessages: {
1782
+ type: PropType<string | readonly string[]>;
1783
+ default: () => never[];
1784
+ };
1785
+ required: {
1786
+ type: BooleanConstructor;
1787
+ default: boolean;
1788
+ };
1789
+ menuId: {
1790
+ type: StringConstructor;
1791
+ default: string;
1792
+ };
1793
+ outlined: {
1794
+ type: BooleanConstructor;
1795
+ default: boolean;
1796
+ };
1797
+ textKey: {
1798
+ type: StringConstructor;
1799
+ default: string;
1800
+ };
1801
+ valueKey: {
1802
+ type: StringConstructor;
1803
+ default: string;
1804
+ };
1805
+ }>, {
1806
+ isOpen: Ref<boolean, boolean>;
1807
+ closeList: () => void;
1808
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1809
+ "update:modelValue": (...args: any[]) => void;
1810
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1811
+ modelValue: {
1812
+ type: (ObjectConstructor | StringConstructor)[];
1813
+ default: null;
1814
+ };
1815
+ items: {
1816
+ type: ArrayConstructor;
1817
+ default: () => never[];
1818
+ };
1819
+ label: {
1820
+ type: StringConstructor;
1821
+ default: string;
1822
+ };
1823
+ errorMessages: {
1824
+ type: PropType<string | readonly string[]>;
1825
+ default: () => never[];
1826
+ };
1827
+ required: {
1828
+ type: BooleanConstructor;
1829
+ default: boolean;
1830
+ };
1831
+ menuId: {
1832
+ type: StringConstructor;
1833
+ default: string;
1834
+ };
1835
+ outlined: {
1836
+ type: BooleanConstructor;
1837
+ default: boolean;
1838
+ };
1839
+ textKey: {
1840
+ type: StringConstructor;
1841
+ default: string;
1842
+ };
1843
+ valueKey: {
1844
+ type: StringConstructor;
1845
+ default: string;
1846
+ };
1847
+ }>> & Readonly<{
1848
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1849
+ }>, {
1850
+ outlined: boolean;
1851
+ modelValue: string | Record<string, any>;
1852
+ label: string;
1853
+ items: unknown[];
1854
+ required: boolean;
1855
+ menuId: string;
1856
+ textKey: string;
1857
+ valueKey: string;
1858
+ errorMessages: string | readonly string[];
1859
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1860
+
1861
+ export declare const SyTextField: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_Props_7, {
1862
+ appendInnerIconColor: ComputedRef<"error" | "success" | "black">;
1863
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
1864
+ variantStyle: VariantStyle;
1865
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
1866
+ prepend?(_: {}): any;
1867
+ append?(_: {}): any;
1868
+ "prepend-inner"?(_: {}): any;
1869
+ "append-inner"?(_: {}): any;
1870
+ details?(_: {}): any;
1871
+ }>;
1872
+
1873
+ declare type Theme = 'ameli' | 'ameli-pro' | 'cnam' | 'compte-ameli' | 'compte-entreprise' | 'default' | 'risque-pro';
1874
+
1136
1875
  declare function updateLang(lang: string): void;
1137
1876
 
1877
+ export declare function useFieldValidation(): {
1878
+ generateRules: (fieldRules: Array<{
1879
+ type: string;
1880
+ options?: RuleOptions;
1881
+ }>) => ValidationRule[];
1882
+ };
1883
+
1138
1884
  declare function useNotificationService(): {
1139
1885
  notificationQueue: Ref< {
1140
1886
  id: string;
@@ -1154,7 +1900,39 @@ declare function useNotificationService(): {
1154
1900
  clearQueue: () => void;
1155
1901
  };
1156
1902
 
1157
- declare interface Widthable {
1903
+ export declare const UserMenuBtn: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1904
+ logout: (...args: any[]) => void;
1905
+ "update:modelValue": (value: MenuItem_2 | null) => void;
1906
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
1907
+ "onUpdate:modelValue"?: ((value: MenuItem_2 | null) => any) | undefined;
1908
+ onLogout?: ((...args: any[]) => any) | undefined;
1909
+ }>, {
1910
+ menuItems: MenuItem_2[];
1911
+ hideLogoutBtn: boolean;
1912
+ isMobileView: boolean;
1913
+ additionalInformation: string;
1914
+ fullName: string;
1915
+ hideUserIcon: boolean;
1916
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1917
+
1918
+ export declare function useWidthable(props: {
1919
+ maxWidth?: NumberOrNumberString;
1920
+ minWidth?: NumberOrNumberString;
1921
+ width?: NumberOrNumberString;
1922
+ }): {
1923
+ widthStyles: ComputedRef<Record<string, string | undefined>>;
1924
+ };
1925
+
1926
+ declare function validateOnSubmit(): boolean;
1927
+
1928
+ declare type ValidationResult = {
1929
+ success?: string;
1930
+ error?: string;
1931
+ };
1932
+
1933
+ declare type ValidationRule = (value: any) => ValidationResult;
1934
+
1935
+ export declare interface Widthable {
1158
1936
  maxWidth?: NumberOrNumberString;
1159
1937
  minWidth?: NumberOrNumberString;
1160
1938
  width?: NumberOrNumberString;