@ds-autonomie/web-components 2.5.0 → 2.6.0

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 (575) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/cdn/chunks/{chunk.MJMSFEEL.js → chunk.2HSB4FKT.js} +4 -4
  3. package/cdn/chunks/{chunk.JEOLRBU6.js → chunk.2UZFU2XH.js} +5 -7
  4. package/cdn/chunks/{chunk.T4PQY3SD.js → chunk.3THCO5QR.js} +35 -32
  5. package/cdn/chunks/{chunk.DRUKNJJ5.js → chunk.3WNNAMF2.js} +1 -1
  6. package/cdn/chunks/{chunk.3KJHZGAI.js → chunk.47JEFO44.js} +7 -7
  7. package/cdn/chunks/{chunk.PQNNELEM.js → chunk.4B6C6RKU.js} +1 -1
  8. package/cdn/chunks/{chunk.WQLZJXIF.js → chunk.4DYMQADB.js} +4 -4
  9. package/cdn/chunks/{chunk.CMRQV2SO.js → chunk.4QI5ENGU.js} +18 -3
  10. package/cdn/chunks/{chunk.3OSWL542.js → chunk.53DHJKYL.js} +0 -6
  11. package/cdn/chunks/{chunk.YAK3QGTM.js → chunk.5C4NDUFI.js} +9 -9
  12. package/cdn/chunks/{chunk.3AT66TOX.js → chunk.6G4K7SN3.js} +6 -6
  13. package/cdn/chunks/{chunk.5BQ2BGS6.js → chunk.6KSC4CRL.js} +1 -0
  14. package/{dist/chunks/chunk.HJU52GCK.js → cdn/chunks/chunk.6SKKEPNG.js} +1 -0
  15. package/cdn/chunks/{chunk.LZCR7P7U.js → chunk.7GLHOALV.js} +9 -135
  16. package/cdn/chunks/{chunk.D5IL5KN6.js → chunk.7LXBRZAC.js} +7 -7
  17. package/cdn/chunks/{chunk.NUMKSKYJ.js → chunk.7SRBGGAF.js} +1 -1
  18. package/cdn/chunks/{chunk.URME4YZI.js → chunk.7VV4KNYL.js} +7 -124
  19. package/cdn/chunks/{chunk.UM64ZD3C.js → chunk.AS6BETKF.js} +11 -11
  20. package/cdn/chunks/{chunk.JVTWZUNG.js → chunk.AXDWT6FB.js} +2 -2
  21. package/cdn/chunks/{chunk.BKVL3A5I.js → chunk.AZM34DOK.js} +10 -6
  22. package/cdn/chunks/{chunk.5UVKMYSG.js → chunk.B4XPUIDA.js} +21 -15
  23. package/cdn/chunks/{chunk.NYK3GS67.js → chunk.BITEAHXV.js} +1 -1
  24. package/cdn/chunks/{chunk.RRVYERI6.js → chunk.BW3UYZN7.js} +1 -1
  25. package/cdn/chunks/{chunk.H2OEFMQC.js → chunk.BWYI3OOJ.js} +0 -6
  26. package/cdn/chunks/{chunk.4UMO5YHQ.js → chunk.CJDBO3CO.js} +10 -10
  27. package/cdn/chunks/{chunk.YX277NFA.js → chunk.CTDFVSOP.js} +15 -8
  28. package/cdn/chunks/{chunk.WLND36JK.js → chunk.CWYABWVW.js} +52 -14
  29. package/cdn/chunks/{chunk.SMJWBG6U.js → chunk.DJR3ADR4.js} +1 -1
  30. package/cdn/chunks/{chunk.5B3X2KU4.js → chunk.E2P76T2G.js} +9 -9
  31. package/cdn/chunks/{chunk.57V66KCM.js → chunk.E45KUAKX.js} +1 -1
  32. package/cdn/chunks/{chunk.LIJWOM2P.js → chunk.EBZUYY3T.js} +4 -4
  33. package/cdn/chunks/{chunk.BMQ5WSY7.js → chunk.EM2CIX7W.js} +4 -0
  34. package/cdn/chunks/{chunk.BBWKTDH3.js → chunk.EVSGVQEL.js} +4 -4
  35. package/cdn/chunks/{chunk.4Q4LBN6D.js → chunk.F46SOIMF.js} +8 -19
  36. package/cdn/chunks/{chunk.TY7NQYTC.js → chunk.FEKXPEIL.js} +64 -150
  37. package/cdn/chunks/{chunk.JNYFWYEK.js → chunk.FF5FOREV.js} +5 -1
  38. package/cdn/chunks/{chunk.HOIWGDVX.js → chunk.G43R3KET.js} +4 -4
  39. package/cdn/chunks/chunk.G5XJFGB7.js +299 -0
  40. package/cdn/chunks/{chunk.6SV5RDDG.js → chunk.GDIEIS6B.js} +4 -4
  41. package/cdn/chunks/{chunk.Z3BBDSTK.js → chunk.GQ32IEJJ.js} +13 -10
  42. package/cdn/chunks/{chunk.UYGSA2IW.js → chunk.GQX7M5AG.js} +4 -4
  43. package/cdn/chunks/{chunk.YSKD4LUA.js → chunk.GZC77QJ2.js} +4 -4
  44. package/cdn/chunks/{chunk.373WDEVW.js → chunk.H6OWTQYW.js} +7 -1
  45. package/cdn/chunks/{chunk.3YELONZ5.js → chunk.HDRKPRUA.js} +1 -1
  46. package/cdn/chunks/{chunk.2S3446TB.js → chunk.HHCBFRDK.js} +4 -4
  47. package/cdn/chunks/{chunk.Y2RQJPXD.js → chunk.HPRHLYFN.js} +7 -7
  48. package/cdn/chunks/chunk.I5IKEQES.js +17 -0
  49. package/cdn/chunks/{chunk.NOI6NFVL.js → chunk.IITHS63H.js} +2 -2
  50. package/cdn/chunks/{chunk.NMVBZ537.js → chunk.IJXVW3NO.js} +1 -1
  51. package/cdn/chunks/{chunk.I6WQAXU3.js → chunk.IMC5I6EI.js} +4 -4
  52. package/cdn/chunks/{chunk.XGOXFBM5.js → chunk.JX2MFFJA.js} +1 -1
  53. package/cdn/chunks/{chunk.JG2GJKT5.js → chunk.KCXGUZTZ.js} +2 -2
  54. package/cdn/chunks/{chunk.Y4XSMWCI.js → chunk.KFT3VHUN.js} +4 -4
  55. package/cdn/chunks/{chunk.KQJPZZKZ.js → chunk.LECF7BRI.js} +11 -1
  56. package/cdn/chunks/{chunk.BNLQUWBO.js → chunk.LVFCBYOP.js} +3 -3
  57. package/cdn/chunks/{chunk.EF2VOGBL.js → chunk.LYIECKOK.js} +1 -1
  58. package/cdn/chunks/{chunk.PA2DSNXY.js → chunk.LYYAJ64E.js} +7 -0
  59. package/cdn/chunks/{chunk.SUXMTZZQ.js → chunk.M5YV2KJW.js} +1 -1
  60. package/cdn/chunks/{chunk.SDRL7END.js → chunk.M7VINMMA.js} +1 -1
  61. package/cdn/chunks/{chunk.Z3VIP662.js → chunk.ME4WWFWF.js} +1 -1
  62. package/cdn/chunks/{chunk.6EZUQLDJ.js → chunk.MORE7UFO.js} +1 -1
  63. package/cdn/chunks/{chunk.6UY5XC7A.js → chunk.MPVVJ3AS.js} +4 -4
  64. package/cdn/chunks/{chunk.LEW43Y6P.js → chunk.MZO2DOUP.js} +4 -4
  65. package/cdn/chunks/{chunk.7WXOGHV7.js → chunk.NABVM26Z.js} +1 -1
  66. package/cdn/chunks/{chunk.AJFNFADL.js → chunk.NEXIJNSX.js} +1 -1
  67. package/cdn/chunks/{chunk.WSY5WWRS.js → chunk.NIHWWUIR.js} +8 -1
  68. package/cdn/chunks/chunk.NON7TU3E.js +15 -0
  69. package/cdn/chunks/{chunk.BKSVKEYX.js → chunk.O63JMJPQ.js} +4 -4
  70. package/cdn/chunks/{chunk.L3ZYNSI3.js → chunk.OCDDQJHV.js} +3 -3
  71. package/{dist/chunks/chunk.CAYHSQZJ.js → cdn/chunks/chunk.OG5RS3BX.js} +1 -1
  72. package/cdn/chunks/{chunk.EYKHHWR5.js → chunk.OP5J3PRS.js} +7 -7
  73. package/cdn/chunks/{chunk.2N65UIM6.js → chunk.P3WP3KVE.js} +29 -7
  74. package/cdn/chunks/{chunk.N74GMZQD.js → chunk.PCHTHBWD.js} +7 -7
  75. package/cdn/chunks/{chunk.SS3GSU3M.js → chunk.PU3TNGX6.js} +6 -6
  76. package/cdn/chunks/{chunk.BQ3SI4TM.js → chunk.Q3F37NRE.js} +6 -6
  77. package/cdn/chunks/chunk.QRMLW4M6.js +126 -0
  78. package/cdn/chunks/{chunk.QYS7Y562.js → chunk.QTE3EE2M.js} +2 -2
  79. package/cdn/chunks/{chunk.XYXJQSTL.js → chunk.QV27SQPK.js} +4 -4
  80. package/cdn/chunks/{chunk.PRP4B2TV.js → chunk.QYVAWZ5T.js} +21 -10
  81. package/cdn/chunks/{chunk.J5KWVZHL.js → chunk.R5RWEWJW.js} +29 -121
  82. package/cdn/chunks/{chunk.4GWNV3R4.js → chunk.ROY6JYYV.js} +80 -18
  83. package/cdn/chunks/{chunk.RNF5H43X.js → chunk.RUX5DD2U.js} +5 -0
  84. package/cdn/chunks/{chunk.PZQUQ6DG.js → chunk.SIWIVWB6.js} +3 -3
  85. package/cdn/chunks/{chunk.KNKNPTGU.js → chunk.SQJSODCD.js} +4 -4
  86. package/cdn/chunks/{chunk.SPK4CXKV.js → chunk.TGBPUFCG.js} +1 -1
  87. package/cdn/chunks/{chunk.3XMYYR4P.js → chunk.TWSC46MA.js} +4 -4
  88. package/cdn/chunks/{chunk.DBJLSCQP.js → chunk.U553QLEV.js} +4 -4
  89. package/cdn/chunks/{chunk.2YVHHVLG.js → chunk.UORXHDBJ.js} +3 -2
  90. package/cdn/chunks/{chunk.M4YRRHEL.js → chunk.USMQGM2L.js} +4 -4
  91. package/cdn/chunks/chunk.USMVUNJX.js +21 -0
  92. package/cdn/chunks/{chunk.7ZJHGFQH.js → chunk.WADUVBS7.js} +4 -4
  93. package/cdn/chunks/chunk.WGEMCKGP.js +336 -0
  94. package/cdn/chunks/{chunk.HG4TPK7J.js → chunk.WMYZCWFM.js} +23 -161
  95. package/cdn/chunks/{chunk.2FF44G4Y.js → chunk.WWI5IYQY.js} +3 -3
  96. package/cdn/chunks/{chunk.RHJUPBW2.js → chunk.XYLKN7CI.js} +42 -26
  97. package/cdn/chunks/{chunk.JOVZPGCQ.js → chunk.YB5PFWRG.js} +6 -6
  98. package/cdn/chunks/chunk.YGJ3KERC.js +290 -0
  99. package/cdn/chunks/{chunk.BDPH2MRN.js → chunk.Z3BBWYGS.js} +6 -6
  100. package/cdn/chunks/{chunk.VRC57YIG.js → chunk.Z7KKR6AK.js} +4 -4
  101. package/cdn/chunks/{chunk.BLJRNU3Y.js → chunk.ZNEIDC5S.js} +1 -1
  102. package/cdn/chunks/{chunk.A5QRPK4Q.js → chunk.ZWNQFLCW.js} +21 -1
  103. package/cdn/components/accordion/accordion.d.ts +4 -0
  104. package/cdn/components/accordion/accordion.js +10 -10
  105. package/cdn/components/accordion/accordion.styles.js +1 -1
  106. package/cdn/components/accordion-group/accordion-group.d.ts +37 -0
  107. package/cdn/components/accordion-group/accordion-group.js +34 -0
  108. package/cdn/components/accordion-group/accordion-group.styles.js +9 -0
  109. package/cdn/components/alert/alert.js +13 -13
  110. package/cdn/components/anchor-tag/anchor-tag.js +3 -3
  111. package/cdn/components/avatar/avatar.js +8 -8
  112. package/cdn/components/breadcrumb/breadcrumb.js +8 -8
  113. package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
  114. package/cdn/components/button/button.js +10 -10
  115. package/cdn/components/calendar/calendar.js +3 -3
  116. package/cdn/components/callout/callout.d.ts +1 -1
  117. package/cdn/components/callout/callout.js +9 -9
  118. package/cdn/components/card/card.js +2 -2
  119. package/cdn/components/card-content/card-content.d.ts +1 -1
  120. package/cdn/components/card-content/card-content.js +10 -10
  121. package/cdn/components/card-content/card-content.styles.js +1 -1
  122. package/cdn/components/card-nav/card-nav.d.ts +1 -1
  123. package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +1 -1
  124. package/cdn/components/card-nav-accordion/card-nav-accordion.js +9 -9
  125. package/cdn/components/card-nav-item/card-nav-item.d.ts +1 -1
  126. package/cdn/components/card-nav-item/card-nav-item.js +8 -8
  127. package/cdn/components/checkbox/checkbox.js +13 -13
  128. package/cdn/components/checkbox-button/checkbox-button.js +10 -10
  129. package/cdn/components/checkbox-card/checkbox-card.js +10 -10
  130. package/cdn/components/checkbox-group/checkbox-group.js +8 -8
  131. package/cdn/components/combobox/combobox.js +15 -15
  132. package/cdn/components/dialog/dialog.js +12 -12
  133. package/cdn/components/download-card/download-card.js +6 -6
  134. package/cdn/components/download-link/download-link.js +6 -6
  135. package/cdn/components/drawer/drawer.js +13 -13
  136. package/cdn/components/dropdown/dropdown.js +3 -3
  137. package/cdn/components/error-message-panel/error-message-panel.js +2 -2
  138. package/cdn/components/error-text/error-text.js +6 -6
  139. package/cdn/components/fieldset/fieldset.js +2 -2
  140. package/cdn/components/file-upload/file-upload.d.ts +3 -0
  141. package/cdn/components/file-upload/file-upload.js +10 -10
  142. package/cdn/components/file-upload-item/file-upload-item.js +9 -9
  143. package/cdn/components/filter-base/filter-base.js +10 -10
  144. package/cdn/components/filter-base/filter-base.styles.js +1 -1
  145. package/cdn/components/filter-button/filter-button.js +9 -9
  146. package/cdn/components/filter-counter/filter-counter.js +35 -32
  147. package/cdn/components/filter-counter/filter-counter.styles.js +2 -2
  148. package/cdn/components/filter-date/filter-date.d.ts +3 -1
  149. package/cdn/components/filter-date/filter-date.js +22 -22
  150. package/cdn/components/filter-date/filter-date.styles.js +2 -2
  151. package/cdn/components/filter-range/filter-range.js +38 -34
  152. package/cdn/components/filter-range/filter-range.styles.js +2 -2
  153. package/cdn/components/filter-select/filter-select.js +36 -33
  154. package/cdn/components/filter-select/filter-select.styles.js +2 -2
  155. package/cdn/components/footer/footer.js +2 -2
  156. package/cdn/components/footer-sitemap/footer-sitemap.d.ts +2 -0
  157. package/cdn/components/footer-sitemap/footer-sitemap.js +2 -2
  158. package/cdn/components/footer-sitemap/footer-sitemap.styles.js +1 -1
  159. package/cdn/components/format-bytes/format-bytes.js +2 -2
  160. package/cdn/components/format-date/format-date.js +2 -2
  161. package/cdn/components/format-number/format-number.js +2 -2
  162. package/cdn/components/header/header.js +3 -3
  163. package/cdn/components/header-search/header-search.js +13 -13
  164. package/cdn/components/icon/icon.js +6 -6
  165. package/cdn/components/icon/library.js +2 -2
  166. package/cdn/components/icon/library.system.js +1 -1
  167. package/cdn/components/icon-button/icon-button.js +9 -9
  168. package/cdn/components/input/input.d.ts +14 -77
  169. package/cdn/components/input/input.js +27 -24
  170. package/cdn/components/input-date/input-date.d.ts +5 -42
  171. package/cdn/components/input-date/input-date.js +19 -18
  172. package/cdn/components/input-date/input-date.styles.js +2 -2
  173. package/cdn/components/input-mask/input-mask.d.ts +3 -50
  174. package/cdn/components/input-mask/input-mask.js +12 -11
  175. package/cdn/components/input-native/input-native.d.ts +57 -0
  176. package/cdn/components/input-native/input-native.js +43 -0
  177. package/cdn/components/{input/input.styles.js → input-native/input-native.styles.js} +4 -3
  178. package/cdn/components/{input/input.utils.d.ts → input-native/input-native.utils.d.ts} +1 -1
  179. package/cdn/components/{input/input.utils.js → input-native/input-native.utils.js} +1 -1
  180. package/cdn/components/input-otp/input-otp.d.ts +7 -51
  181. package/cdn/components/input-otp/input-otp.js +12 -11
  182. package/cdn/components/input-phone/input-phone.d.ts +5 -36
  183. package/cdn/components/input-phone/input-phone.js +20 -19
  184. package/cdn/components/input-time/input-time.d.ts +5 -54
  185. package/cdn/components/input-time/input-time.js +18 -17
  186. package/cdn/components/input-time/input-time.styles.js +2 -2
  187. package/cdn/components/menu-accordion/menu-accordion.d.ts +1 -1
  188. package/cdn/components/menu-accordion/menu-accordion.js +9 -9
  189. package/cdn/components/menu-item/menu-item.js +9 -9
  190. package/cdn/components/menu-item/menu-item.styles.js +1 -1
  191. package/cdn/components/menu-navigation/menu-navigation.d.ts +1 -1
  192. package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -1
  193. package/cdn/components/navbar/navbar.d.ts +1 -1
  194. package/cdn/components/navbar-link/navbar-link.d.ts +3 -1
  195. package/cdn/components/navbar-link/navbar-link.js +9 -8
  196. package/cdn/components/navbar-link/navbar-link.styles.js +1 -1
  197. package/cdn/components/navbar-menu/navbar-menu.d.ts +1 -1
  198. package/cdn/components/navbar-menu/navbar-menu.js +10 -10
  199. package/cdn/components/navbar-menu/navbar-menu.styles.js +1 -1
  200. package/cdn/components/option/option.js +8 -8
  201. package/cdn/components/page-header/page-header.d.ts +1 -1
  202. package/cdn/components/pagination/pagination.js +30 -27
  203. package/cdn/components/profile-button/profile-button.js +11 -11
  204. package/cdn/components/progress-bar/progress-bar.js +4 -4
  205. package/cdn/components/progress-ring/progress-ring.js +2 -2
  206. package/cdn/components/quote/quote.d.ts +1 -1
  207. package/cdn/components/quote/quote.js +9 -9
  208. package/cdn/components/radio/radio.js +8 -8
  209. package/cdn/components/radio-button/radio-button.js +10 -10
  210. package/cdn/components/radio-card/radio-card.js +12 -12
  211. package/cdn/components/radio-group/radio-group.js +8 -8
  212. package/cdn/components/range-slider/range-slider.js +3 -3
  213. package/cdn/components/relative-time/relative-time.d.ts +1 -1
  214. package/cdn/components/relative-time/relative-time.js +2 -2
  215. package/cdn/components/resize-observer/resize-observer.d.ts +1 -1
  216. package/cdn/components/select/select.js +13 -13
  217. package/cdn/components/skip-links/skip-links.js +2 -2
  218. package/cdn/components/spinner/spinner.js +2 -2
  219. package/cdn/components/split-panel/split-panel.d.ts +1 -1
  220. package/cdn/components/split-panel/split-panel.js +8 -8
  221. package/cdn/components/step/step.js +10 -10
  222. package/cdn/components/stepper/stepper.js +2 -2
  223. package/cdn/components/switch/switch.d.ts +1 -1
  224. package/cdn/components/switch/switch.js +8 -8
  225. package/cdn/components/tab/tab.js +11 -11
  226. package/cdn/components/tab-group/tab-group.d.ts +7 -1
  227. package/cdn/components/tab-group/tab-group.js +12 -11
  228. package/cdn/components/tab-panel/tab-panel.js +2 -2
  229. package/cdn/components/table/table.d.ts +1 -0
  230. package/cdn/components/table/table.js +2 -2
  231. package/cdn/components/table/table.styles.js +1 -1
  232. package/cdn/components/table-action/table-action.js +2 -2
  233. package/cdn/components/table-body/table-body.js +3 -3
  234. package/cdn/components/table-caption/table-caption.js +3 -3
  235. package/cdn/components/table-cell/table-cell.js +1 -1
  236. package/cdn/components/table-container/table-container.js +3 -3
  237. package/cdn/components/table-head/table-head.js +3 -3
  238. package/cdn/components/table-header-cell/table-header-cell.js +8 -8
  239. package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
  240. package/cdn/components/table-header-row/table-header-row.js +20 -20
  241. package/cdn/components/table-of-contents/table-of-contents.d.ts +1 -1
  242. package/cdn/components/table-of-contents/table-of-contents.js +3 -3
  243. package/cdn/components/table-row/table-row.js +16 -16
  244. package/cdn/components/tag/tag.js +11 -11
  245. package/cdn/components/tag-button/tag-button.js +2 -2
  246. package/cdn/components/textarea/textarea.js +10 -10
  247. package/cdn/components/tooltip/tooltip.js +3 -3
  248. package/cdn/components/tree/tree.js +18 -18
  249. package/cdn/components/tree-item/tree-item.js +17 -17
  250. package/cdn/custom-elements.json +1166 -2356
  251. package/cdn/design-system.d.ts +1 -0
  252. package/cdn/design-system.js +261 -252
  253. package/cdn/internal/components/checkbox-box/checkbox-box.styles.js +0 -6
  254. package/cdn/internal/components/date-field/date-field.d.ts +11 -0
  255. package/cdn/internal/components/date-field/date-field.js +23 -1
  256. package/cdn/internal/components/input-base/input-base.d.ts +118 -0
  257. package/cdn/internal/components/input-base/input-base.js +313 -0
  258. package/cdn/internal/components/input-base/input-base.styles.d.ts +2 -0
  259. package/cdn/internal/components/input-base/input-base.styles.js +302 -0
  260. package/cdn/internal/components/input-base/input-base.utils.d.ts +1 -0
  261. package/cdn/internal/components/input-base/input-base.utils.js +1 -0
  262. package/cdn/internal/components/radio-icon/radio-icon.styles.js +0 -6
  263. package/cdn/themes/dsa-wc-theme.css +23 -7
  264. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  265. package/cdn/themes/dsa-wc-theme.styles.js +23 -7
  266. package/cdn/translations/en-gb.js +1 -1
  267. package/cdn/translations/en.js +1 -1
  268. package/cdn/translations/fr.js +1 -1
  269. package/cdn/utilities/icon-library.js +2 -2
  270. package/cdn/utilities/localize.d.ts +2 -0
  271. package/cdn/utilities/localize.js +1 -1
  272. package/cdn/vscode.html-custom-data.json +63 -319
  273. package/cdn/web-types.json +579 -1406
  274. package/dist/chunks/{chunk.YCRHX2XL.js → chunk.233PXUXE.js} +1 -1
  275. package/dist/chunks/{chunk.VDYAE3MB.js → chunk.24M2N3DZ.js} +1 -1
  276. package/dist/chunks/{chunk.XVFPRM26.js → chunk.2IYNHZTZ.js} +2 -2
  277. package/dist/chunks/{chunk.OOZC4AR2.js → chunk.2Q5YPHWE.js} +1 -1
  278. package/dist/chunks/{chunk.H7ZLX7SO.js → chunk.2QXYMNBB.js} +18 -3
  279. package/dist/chunks/{chunk.P2LEUT2Q.js → chunk.2T63OXZQ.js} +6 -123
  280. package/dist/chunks/{chunk.3DQTD6B2.js → chunk.37LS7J2I.js} +13 -10
  281. package/dist/chunks/chunk.3B7QLYUC.js +325 -0
  282. package/dist/chunks/{chunk.SJN7BDOD.js → chunk.3HG52QSF.js} +7 -7
  283. package/dist/chunks/{chunk.G5ZFFB2V.js → chunk.3VBHRND2.js} +4 -4
  284. package/dist/chunks/{chunk.ERN34WYC.js → chunk.3VRHTVWV.js} +4 -4
  285. package/dist/chunks/{chunk.QFC4API2.js → chunk.4R7M4F5N.js} +2 -2
  286. package/dist/chunks/{chunk.DZVHKOGO.js → chunk.4TZQFWYO.js} +1 -1
  287. package/dist/chunks/{chunk.PWVYG6XN.js → chunk.4ZAABSYS.js} +0 -6
  288. package/dist/chunks/{chunk.DISFQ7ZU.js → chunk.574BP5Q2.js} +1 -1
  289. package/dist/chunks/{chunk.DFBKUH2U.js → chunk.57LY4OTF.js} +3 -3
  290. package/dist/chunks/{chunk.ARDX2RVR.js → chunk.5TY2UQ4A.js} +41 -25
  291. package/dist/chunks/{chunk.AATHH5ZK.js → chunk.6PKHRHXE.js} +1 -1
  292. package/{cdn/chunks/chunk.HJU52GCK.js → dist/chunks/chunk.6SKKEPNG.js} +1 -0
  293. package/dist/chunks/{chunk.RS4S7SAD.js → chunk.6ZZKMZXV.js} +10 -10
  294. package/dist/chunks/chunk.77CG6NAN.js +291 -0
  295. package/dist/chunks/{chunk.3ZF3W6DC.js → chunk.7EXBKGNH.js} +4 -4
  296. package/dist/chunks/{chunk.OWV6XZFR.js → chunk.7QLR3F26.js} +1 -1
  297. package/dist/chunks/{chunk.Y3I7GUNB.js → chunk.A6QMMCE7.js} +21 -1
  298. package/dist/chunks/{chunk.EQDAZLA2.js → chunk.BS4SLBMG.js} +7 -7
  299. package/dist/chunks/{chunk.SGVMH2WK.js → chunk.BVHC4RYT.js} +4 -4
  300. package/dist/chunks/{chunk.WODSQYKQ.js → chunk.BZTMQKB3.js} +1 -1
  301. package/dist/chunks/{chunk.YGRXSNFC.js → chunk.CFYQUX72.js} +1 -1
  302. package/dist/chunks/{chunk.CPBWQ6BE.js → chunk.CSB67RRY.js} +1 -1
  303. package/dist/chunks/{chunk.SV6UZ7XX.js → chunk.CU62O7MI.js} +1 -1
  304. package/dist/chunks/{chunk.2RDTQ7RT.js → chunk.CZPEHPWO.js} +7 -1
  305. package/dist/chunks/{chunk.6AKP5BRZ.js → chunk.D5NED4A7.js} +1 -1
  306. package/dist/chunks/{chunk.SW6R5A3O.js → chunk.DDVVYJES.js} +4 -4
  307. package/dist/chunks/{chunk.OHDR6G6J.js → chunk.DMIXIORN.js} +3 -3
  308. package/dist/chunks/{chunk.Z2A5AEMU.js → chunk.DXRDCCL4.js} +1 -1
  309. package/dist/chunks/{chunk.2655IKKL.js → chunk.ECEBZG4J.js} +1 -1
  310. package/dist/chunks/{chunk.XODWG3UJ.js → chunk.EUAQCNT2.js} +1 -1
  311. package/dist/chunks/{chunk.EWOJ3XVB.js → chunk.FURDO6CT.js} +2 -2
  312. package/dist/chunks/{chunk.B7LEFGX4.js → chunk.G5UGZLXK.js} +1 -1
  313. package/dist/chunks/{chunk.I4XFUHWM.js → chunk.GCYENPC4.js} +1 -1
  314. package/dist/chunks/{chunk.62WXVS5Q.js → chunk.GCZLWK6W.js} +10 -6
  315. package/dist/chunks/{chunk.K4XU6L7E.js → chunk.GXDSHB6M.js} +1 -1
  316. package/dist/chunks/chunk.HLW42LP2.js +121 -0
  317. package/dist/chunks/{chunk.SWWPGGIS.js → chunk.HSMAEOMJ.js} +1 -1
  318. package/dist/chunks/chunk.I5IKEQES.js +17 -0
  319. package/dist/chunks/{chunk.FWVIQUG4.js → chunk.IGYB77FH.js} +4 -4
  320. package/dist/chunks/{chunk.ETG5DAHF.js → chunk.IXC4PES2.js} +1 -1
  321. package/dist/chunks/{chunk.EY2LRNGD.js → chunk.J4OSBZ7R.js} +61 -147
  322. package/dist/chunks/{chunk.LGV7OXTA.js → chunk.JRNQCQZ6.js} +33 -30
  323. package/dist/chunks/{chunk.DY7O23OC.js → chunk.JVIWPP43.js} +7 -0
  324. package/dist/chunks/{chunk.2GAMN72N.js → chunk.KCCJOS36.js} +1 -1
  325. package/dist/chunks/{chunk.6XCFILBM.js → chunk.KDLBY67V.js} +2 -4
  326. package/dist/chunks/{chunk.MF7KW7MX.js → chunk.KF3RQTZS.js} +1 -1
  327. package/dist/chunks/{chunk.JQS5RPAK.js → chunk.KT2VQ7UP.js} +1 -1
  328. package/dist/chunks/{chunk.54CFE45F.js → chunk.L2B7WMWE.js} +3 -3
  329. package/dist/chunks/{chunk.AJCLNOPZ.js → chunk.MIYT3FL6.js} +1 -1
  330. package/dist/chunks/{chunk.IICLN6L3.js → chunk.MIZCSRX3.js} +19 -157
  331. package/dist/chunks/{chunk.ADUUYLJY.js → chunk.MTE4ETST.js} +1 -1
  332. package/dist/chunks/{chunk.IE7IGJZB.js → chunk.MZ2WOF7B.js} +27 -5
  333. package/dist/chunks/chunk.N54TKSON.js +18 -0
  334. package/dist/chunks/{chunk.VYYQ6KPE.js → chunk.N6NGPIR3.js} +5 -1
  335. package/dist/chunks/{chunk.XAF7DDXJ.js → chunk.NTZRDWUL.js} +4 -4
  336. package/dist/chunks/{chunk.2JRGVS6D.js → chunk.NZK2GET6.js} +7 -7
  337. package/{cdn/chunks/chunk.CAYHSQZJ.js → dist/chunks/chunk.OG5RS3BX.js} +1 -1
  338. package/dist/chunks/{chunk.LXS4P57X.js → chunk.OW7LY6Q4.js} +19 -8
  339. package/dist/chunks/{chunk.RURHQSLF.js → chunk.OXYSNELC.js} +1 -1
  340. package/dist/chunks/{chunk.ORWJR56M.js → chunk.P4RIY6RD.js} +1 -1
  341. package/dist/chunks/{chunk.7XUPS5FG.js → chunk.PHSUFADX.js} +1 -0
  342. package/dist/chunks/{chunk.6NGHRQYD.js → chunk.PSLQI77G.js} +4 -4
  343. package/dist/chunks/{chunk.DRFXWCPL.js → chunk.PU3G2J4O.js} +6 -132
  344. package/dist/chunks/{chunk.NZEV2R75.js → chunk.Q5LSLQYU.js} +5 -0
  345. package/dist/chunks/chunk.QFO2VDJ3.js +286 -0
  346. package/dist/chunks/{chunk.QJIY2G7A.js → chunk.QNSYKNEY.js} +10 -10
  347. package/dist/chunks/{chunk.WDLYTTNO.js → chunk.R7OI2TAU.js} +15 -8
  348. package/dist/chunks/{chunk.OMUELARQ.js → chunk.RBFGDR3F.js} +26 -118
  349. package/dist/chunks/{chunk.3RMSYRZA.js → chunk.RRF5FP5T.js} +1 -1
  350. package/dist/chunks/{chunk.YXCCM5NC.js → chunk.RSGMJZGX.js} +80 -18
  351. package/dist/chunks/{chunk.LRBVQHKX.js → chunk.S3JXNHCY.js} +1 -1
  352. package/dist/chunks/{chunk.ZRW5L2NC.js → chunk.SGKW2DOH.js} +3 -2
  353. package/dist/chunks/{chunk.QADAWCTI.js → chunk.SK3KWU2I.js} +4 -0
  354. package/dist/chunks/{chunk.SDT5BB26.js → chunk.SQKLY4C5.js} +11 -1
  355. package/dist/chunks/{chunk.QLT366CP.js → chunk.SQN6J7NO.js} +1 -1
  356. package/dist/chunks/{chunk.3SMOVUNI.js → chunk.TFIXTW2V.js} +1 -1
  357. package/dist/chunks/{chunk.6KMLQCBG.js → chunk.TMEVQJFZ.js} +1 -1
  358. package/dist/chunks/{chunk.4JZFGBJP.js → chunk.TSGEM2N5.js} +8 -21
  359. package/dist/chunks/{chunk.AB7T3PSN.js → chunk.TZTE7NZH.js} +1 -1
  360. package/dist/chunks/{chunk.Q3II5ELV.js → chunk.UCONR7YO.js} +6 -6
  361. package/dist/chunks/chunk.ULPMZDTP.js +13 -0
  362. package/dist/chunks/{chunk.2BZBH3CX.js → chunk.URDP5HQR.js} +0 -6
  363. package/dist/chunks/{chunk.YT4ZDRKX.js → chunk.WDFUZTK2.js} +4 -4
  364. package/dist/chunks/{chunk.IR5ZDNLY.js → chunk.WHHOMKN3.js} +4 -4
  365. package/dist/chunks/{chunk.L7SZMI27.js → chunk.WJVUWDD3.js} +1 -1
  366. package/dist/chunks/{chunk.NJNQX6FX.js → chunk.WQ2FYG4C.js} +3 -3
  367. package/dist/chunks/{chunk.OKUA77L4.js → chunk.XZ6X7G47.js} +21 -15
  368. package/dist/chunks/{chunk.ORLKMJIV.js → chunk.Y7VJKTZ3.js} +49 -11
  369. package/dist/chunks/{chunk.54XEUZ55.js → chunk.YP3DBGDD.js} +1 -1
  370. package/dist/chunks/{chunk.QGPBBIGJ.js → chunk.Z3INQBDQ.js} +4 -4
  371. package/dist/chunks/{chunk.QS6BH5AW.js → chunk.Z5NDJTMI.js} +8 -1
  372. package/dist/chunks/{chunk.STKBEBVL.js → chunk.ZCC67O7A.js} +5 -5
  373. package/dist/chunks/{chunk.4VHQEXSY.js → chunk.ZPKQZGFW.js} +4 -4
  374. package/dist/components/accordion/accordion.d.ts +4 -0
  375. package/dist/components/accordion/accordion.js +9 -9
  376. package/dist/components/accordion/accordion.styles.js +1 -1
  377. package/dist/components/accordion-group/accordion-group.d.ts +37 -0
  378. package/dist/components/accordion-group/accordion-group.js +27 -0
  379. package/dist/components/accordion-group/accordion-group.styles.d.ts +2 -0
  380. package/dist/components/accordion-group/accordion-group.styles.js +7 -0
  381. package/dist/components/alert/alert.js +10 -10
  382. package/dist/components/anchor-tag/anchor-tag.js +3 -3
  383. package/dist/components/avatar/avatar.js +7 -7
  384. package/dist/components/breadcrumb/breadcrumb.js +7 -7
  385. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  386. package/dist/components/button/button.js +9 -9
  387. package/dist/components/calendar/calendar.js +2 -2
  388. package/dist/components/callout/callout.d.ts +1 -1
  389. package/dist/components/callout/callout.js +8 -8
  390. package/dist/components/card-content/card-content.d.ts +1 -1
  391. package/dist/components/card-content/card-content.js +9 -9
  392. package/dist/components/card-content/card-content.styles.js +1 -1
  393. package/dist/components/card-nav/card-nav.d.ts +1 -1
  394. package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +1 -1
  395. package/dist/components/card-nav-accordion/card-nav-accordion.js +8 -8
  396. package/dist/components/card-nav-item/card-nav-item.d.ts +1 -1
  397. package/dist/components/card-nav-item/card-nav-item.js +7 -7
  398. package/dist/components/checkbox/checkbox.js +12 -12
  399. package/dist/components/checkbox-button/checkbox-button.js +9 -9
  400. package/dist/components/checkbox-card/checkbox-card.js +7 -7
  401. package/dist/components/checkbox-group/checkbox-group.js +7 -7
  402. package/dist/components/combobox/combobox.js +13 -13
  403. package/dist/components/dialog/dialog.js +10 -10
  404. package/dist/components/download-card/download-card.js +5 -5
  405. package/dist/components/download-link/download-link.js +5 -5
  406. package/dist/components/drawer/drawer.js +11 -11
  407. package/dist/components/dropdown/dropdown.js +2 -2
  408. package/dist/components/error-message-panel/error-message-panel.js +2 -2
  409. package/dist/components/error-text/error-text.js +5 -5
  410. package/dist/components/fieldset/fieldset.js +2 -2
  411. package/dist/components/file-upload/file-upload.d.ts +3 -0
  412. package/dist/components/file-upload/file-upload.js +9 -9
  413. package/dist/components/file-upload-item/file-upload-item.js +8 -8
  414. package/dist/components/filter-base/filter-base.js +9 -9
  415. package/dist/components/filter-base/filter-base.styles.js +1 -1
  416. package/dist/components/filter-button/filter-button.js +8 -8
  417. package/dist/components/filter-counter/filter-counter.js +32 -29
  418. package/dist/components/filter-counter/filter-counter.styles.js +2 -2
  419. package/dist/components/filter-date/filter-date.d.ts +3 -1
  420. package/dist/components/filter-date/filter-date.js +19 -19
  421. package/dist/components/filter-date/filter-date.styles.js +2 -2
  422. package/dist/components/filter-range/filter-range.js +35 -31
  423. package/dist/components/filter-range/filter-range.styles.js +2 -2
  424. package/dist/components/filter-select/filter-select.js +33 -30
  425. package/dist/components/filter-select/filter-select.styles.js +2 -2
  426. package/dist/components/footer/footer.js +2 -2
  427. package/dist/components/footer-sitemap/footer-sitemap.d.ts +2 -0
  428. package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
  429. package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
  430. package/dist/components/format-bytes/format-bytes.js +2 -2
  431. package/dist/components/format-date/format-date.js +2 -2
  432. package/dist/components/format-number/format-number.js +2 -2
  433. package/dist/components/header/header.js +2 -2
  434. package/dist/components/header-search/header-search.js +12 -12
  435. package/dist/components/icon/icon.js +5 -5
  436. package/dist/components/icon/library.js +2 -2
  437. package/dist/components/icon/library.system.js +1 -1
  438. package/dist/components/icon-button/icon-button.js +8 -8
  439. package/dist/components/input/input.d.ts +14 -77
  440. package/dist/components/input/input.js +24 -21
  441. package/dist/components/input-date/input-date.d.ts +5 -42
  442. package/dist/components/input-date/input-date.js +16 -15
  443. package/dist/components/input-date/input-date.styles.js +2 -2
  444. package/dist/components/input-mask/input-mask.d.ts +3 -50
  445. package/dist/components/input-mask/input-mask.js +10 -9
  446. package/dist/components/input-native/input-native.d.ts +57 -0
  447. package/dist/components/input-native/input-native.js +35 -0
  448. package/dist/components/input-native/input-native.styles.d.ts +2 -0
  449. package/dist/components/input-native/input-native.styles.js +10 -0
  450. package/dist/components/{input/input.utils.d.ts → input-native/input-native.utils.d.ts} +1 -1
  451. package/dist/components/{input/input.utils.js → input-native/input-native.utils.js} +1 -1
  452. package/dist/components/input-otp/input-otp.d.ts +7 -51
  453. package/dist/components/input-otp/input-otp.js +10 -9
  454. package/dist/components/input-phone/input-phone.d.ts +5 -36
  455. package/dist/components/input-phone/input-phone.js +17 -16
  456. package/dist/components/input-time/input-time.d.ts +5 -54
  457. package/dist/components/input-time/input-time.js +15 -14
  458. package/dist/components/input-time/input-time.styles.js +2 -2
  459. package/dist/components/menu-accordion/menu-accordion.d.ts +1 -1
  460. package/dist/components/menu-accordion/menu-accordion.js +8 -8
  461. package/dist/components/menu-item/menu-item.js +8 -8
  462. package/dist/components/menu-item/menu-item.styles.js +1 -1
  463. package/dist/components/menu-navigation/menu-navigation.d.ts +1 -1
  464. package/dist/components/mutation-observer/mutation-observer.d.ts +1 -1
  465. package/dist/components/navbar/navbar.d.ts +1 -1
  466. package/dist/components/navbar-link/navbar-link.d.ts +3 -1
  467. package/dist/components/navbar-link/navbar-link.js +8 -7
  468. package/dist/components/navbar-link/navbar-link.styles.js +1 -1
  469. package/dist/components/navbar-menu/navbar-menu.d.ts +1 -1
  470. package/dist/components/navbar-menu/navbar-menu.js +9 -9
  471. package/dist/components/navbar-menu/navbar-menu.styles.js +1 -1
  472. package/dist/components/option/option.js +7 -7
  473. package/dist/components/page-header/page-header.d.ts +1 -1
  474. package/dist/components/pagination/pagination.js +27 -24
  475. package/dist/components/profile-button/profile-button.js +10 -10
  476. package/dist/components/progress-bar/progress-bar.js +3 -3
  477. package/dist/components/progress-ring/progress-ring.js +2 -2
  478. package/dist/components/quote/quote.d.ts +1 -1
  479. package/dist/components/quote/quote.js +8 -8
  480. package/dist/components/radio/radio.js +6 -6
  481. package/dist/components/radio-button/radio-button.js +9 -9
  482. package/dist/components/radio-card/radio-card.js +10 -10
  483. package/dist/components/radio-group/radio-group.js +7 -7
  484. package/dist/components/range-slider/range-slider.js +3 -3
  485. package/dist/components/relative-time/relative-time.d.ts +1 -1
  486. package/dist/components/relative-time/relative-time.js +2 -2
  487. package/dist/components/resize-observer/resize-observer.d.ts +1 -1
  488. package/dist/components/select/select.js +11 -11
  489. package/dist/components/skip-links/skip-links.js +2 -2
  490. package/dist/components/spinner/spinner.js +2 -2
  491. package/dist/components/split-panel/split-panel.d.ts +1 -1
  492. package/dist/components/split-panel/split-panel.js +7 -7
  493. package/dist/components/step/step.js +9 -9
  494. package/dist/components/switch/switch.d.ts +1 -1
  495. package/dist/components/switch/switch.js +7 -7
  496. package/dist/components/tab/tab.js +10 -10
  497. package/dist/components/tab-group/tab-group.d.ts +7 -1
  498. package/dist/components/tab-group/tab-group.js +11 -10
  499. package/dist/components/table/table.d.ts +1 -0
  500. package/dist/components/table/table.js +2 -2
  501. package/dist/components/table/table.styles.js +1 -1
  502. package/dist/components/table-action/table-action.js +2 -2
  503. package/dist/components/table-body/table-body.js +3 -3
  504. package/dist/components/table-caption/table-caption.js +2 -2
  505. package/dist/components/table-container/table-container.js +2 -2
  506. package/dist/components/table-head/table-head.js +3 -3
  507. package/dist/components/table-header-cell/table-header-cell.js +7 -7
  508. package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
  509. package/dist/components/table-header-row/table-header-row.js +19 -19
  510. package/dist/components/table-of-contents/table-of-contents.d.ts +1 -1
  511. package/dist/components/table-of-contents/table-of-contents.js +2 -2
  512. package/dist/components/table-row/table-row.js +15 -15
  513. package/dist/components/tag/tag.js +10 -10
  514. package/dist/components/tag-button/tag-button.js +2 -2
  515. package/dist/components/textarea/textarea.js +8 -8
  516. package/dist/components/tooltip/tooltip.js +2 -2
  517. package/dist/components/tree/tree.js +16 -16
  518. package/dist/components/tree-item/tree-item.js +15 -15
  519. package/dist/custom-elements.json +1166 -2356
  520. package/dist/design-system.d.ts +1 -0
  521. package/dist/design-system.js +249 -240
  522. package/dist/internal/components/checkbox-box/checkbox-box.styles.js +0 -6
  523. package/dist/internal/components/date-field/date-field.d.ts +11 -0
  524. package/dist/internal/components/date-field/date-field.js +23 -1
  525. package/dist/internal/components/input-base/input-base.d.ts +118 -0
  526. package/dist/internal/components/input-base/input-base.js +313 -0
  527. package/dist/internal/components/input-base/input-base.styles.d.ts +2 -0
  528. package/dist/internal/components/input-base/input-base.styles.js +302 -0
  529. package/dist/internal/components/input-base/input-base.utils.d.ts +1 -0
  530. package/dist/internal/components/input-base/input-base.utils.js +1 -0
  531. package/dist/internal/components/radio-icon/radio-icon.styles.js +0 -6
  532. package/dist/themes/dsa-wc-theme.css +23 -7
  533. package/dist/themes/dsa-wc-theme.min.css +1 -1
  534. package/dist/themes/dsa-wc-theme.styles.js +23 -7
  535. package/dist/translations/en-gb.js +1 -1
  536. package/dist/translations/en.js +1 -1
  537. package/dist/translations/fr.js +1 -1
  538. package/dist/utilities/icon-library.js +2 -2
  539. package/dist/utilities/localize.d.ts +2 -0
  540. package/dist/utilities/localize.js +1 -1
  541. package/dist/vscode.html-custom-data.json +63 -319
  542. package/dist/web-types.json +579 -1406
  543. package/package.json +18 -18
  544. package/cdn/chunks/chunk.5F7AUS4F.js +0 -703
  545. package/dist/chunks/chunk.JJT6FP7U.js +0 -690
  546. package/dist/components/input/input.styles.js +0 -9
  547. package/cdn/chunks/{chunk.3PDDINNE.js → chunk.2ZOYRU5M.js} +5 -5
  548. package/cdn/chunks/{chunk.GVTFDL2C.js → chunk.4CAAOFHW.js} +3 -3
  549. package/cdn/chunks/{chunk.HNGA66FR.js → chunk.4ZFSZJZI.js} +5 -5
  550. package/cdn/chunks/{chunk.BPP37CID.js → chunk.6TPY7I7N.js} +3 -3
  551. package/cdn/chunks/{chunk.QHU2DUDS.js → chunk.CJNB57EY.js} +6 -6
  552. package/cdn/chunks/{chunk.NEMJUCMZ.js → chunk.DEG7473C.js} +3 -3
  553. package/cdn/chunks/{chunk.NBAUIHQ4.js → chunk.EB3FXLYQ.js} +3 -3
  554. package/cdn/chunks/{chunk.ZYAFL7BC.js → chunk.G4O22KO7.js} +3 -3
  555. package/cdn/chunks/{chunk.3XJMTCX6.js → chunk.HAD6WIKN.js} +4 -4
  556. package/cdn/chunks/{chunk.BGP2ITQD.js → chunk.KKJM4B7K.js} +6 -6
  557. package/cdn/chunks/{chunk.5QJ7KDER.js → chunk.PVLM5W2M.js} +3 -3
  558. package/cdn/chunks/{chunk.6BPVPY42.js → chunk.SW5XVMTS.js} +3 -3
  559. package/cdn/chunks/{chunk.EZAK6TIK.js → chunk.T5ZFLLFL.js} +1 -1
  560. package/cdn/chunks/{chunk.ATHVFSQX.js → chunk.TR7NAESK.js} +3 -3
  561. package/cdn/chunks/{chunk.F6BCRVNV.js → chunk.WY4UKTES.js} +3 -3
  562. package/cdn/chunks/{chunk.A747OEHH.js → chunk.ZVFNHET6.js} +3 -3
  563. package/cdn/components/{input/input.styles.d.ts → accordion-group/accordion-group.styles.d.ts} +0 -0
  564. package/{dist/components/input/input.styles.d.ts → cdn/components/input-native/input-native.styles.d.ts} +0 -0
  565. package/dist/chunks/{chunk.2EO2NJQJ.js → chunk.2IZN2PB2.js} +3 -3
  566. package/dist/chunks/{chunk.GFXISORD.js → chunk.6Z2BY6Y7.js} +3 -3
  567. package/dist/chunks/{chunk.37I5GPBX.js → chunk.BMVQEF7N.js} +3 -3
  568. package/dist/chunks/{chunk.WCJ3TXH5.js → chunk.BUYU5USK.js} +3 -3
  569. package/dist/chunks/{chunk.KNPGT6SV.js → chunk.IBBMS6BU.js} +3 -3
  570. package/dist/chunks/{chunk.6MWXS55V.js → chunk.MF7A7AFT.js} +3 -3
  571. package/dist/chunks/{chunk.JG4PBHLV.js → chunk.ODUHVMOZ.js} +4 -4
  572. package/dist/chunks/{chunk.GLJ65Z2P.js → chunk.QZQO5YY7.js} +1 -1
  573. package/dist/chunks/{chunk.KFBHQJJP.js → chunk.TR26WJPX.js} +5 -5
  574. package/dist/chunks/{chunk.2TYHIVTN.js → chunk.WCGWBVEZ.js} +3 -3
  575. package/dist/chunks/{chunk.VZHVRVYC.js → chunk.YGWSCW2R.js} +3 -3
@@ -112,6 +112,28 @@
112
112
  "attribute": "icon",
113
113
  "reflects": true
114
114
  },
115
+ {
116
+ "kind": "field",
117
+ "name": "variant",
118
+ "type": {
119
+ "text": "'outlined' | 'filled'"
120
+ },
121
+ "default": "'outlined'",
122
+ "description": "The card's style variant.",
123
+ "attribute": "variant",
124
+ "reflects": true
125
+ },
126
+ {
127
+ "kind": "field",
128
+ "name": "size",
129
+ "type": {
130
+ "text": "'small' | 'medium'"
131
+ },
132
+ "default": "'medium'",
133
+ "description": "The card's size.",
134
+ "attribute": "size",
135
+ "reflects": true
136
+ },
115
137
  {
116
138
  "kind": "method",
117
139
  "name": "handleSummaryClick",
@@ -206,6 +228,24 @@
206
228
  "default": "'chevron'",
207
229
  "description": "The accordion's expand/collapse icon variant",
208
230
  "fieldName": "icon"
231
+ },
232
+ {
233
+ "name": "variant",
234
+ "type": {
235
+ "text": "'outlined' | 'filled'"
236
+ },
237
+ "default": "'outlined'",
238
+ "description": "The card's style variant.",
239
+ "fieldName": "variant"
240
+ },
241
+ {
242
+ "name": "size",
243
+ "type": {
244
+ "text": "'small' | 'medium'"
245
+ },
246
+ "default": "'medium'",
247
+ "description": "The card's size.",
248
+ "fieldName": "size"
209
249
  }
210
250
  ],
211
251
  "superclass": {
@@ -240,6 +280,171 @@
240
280
  }
241
281
  ]
242
282
  },
283
+ {
284
+ "kind": "javascript-module",
285
+ "path": "components/accordion-group/accordion-group.js",
286
+ "declarations": [
287
+ {
288
+ "kind": "class",
289
+ "description": "",
290
+ "name": "DSAAccordionGroup",
291
+ "slots": [
292
+ {
293
+ "description": "The accordion group's content - only works with `dsa-accordion`",
294
+ "name": ""
295
+ }
296
+ ],
297
+ "members": [
298
+ {
299
+ "kind": "field",
300
+ "name": "defaultSlot",
301
+ "type": {
302
+ "text": "HTMLSlotElement"
303
+ }
304
+ },
305
+ {
306
+ "kind": "field",
307
+ "name": "localize",
308
+ "privacy": "private",
309
+ "readonly": true,
310
+ "default": "new LocalizeController(this)"
311
+ },
312
+ {
313
+ "kind": "field",
314
+ "name": "isToggleButtonInCloseMode",
315
+ "type": {
316
+ "text": "boolean"
317
+ },
318
+ "privacy": "private",
319
+ "default": "false"
320
+ },
321
+ {
322
+ "kind": "field",
323
+ "name": "singleOpen",
324
+ "type": {
325
+ "text": "boolean"
326
+ },
327
+ "default": "false",
328
+ "description": "Allows only one accordion to be opened simultaneously.",
329
+ "attribute": "single-open"
330
+ },
331
+ {
332
+ "kind": "field",
333
+ "name": "toggleButton",
334
+ "type": {
335
+ "text": "boolean"
336
+ },
337
+ "default": "false",
338
+ "description": "Defines which grouped accordion opening or closing button will be displayed. Can only be used when single-open is set to false",
339
+ "attribute": "toggle-button"
340
+ },
341
+ {
342
+ "kind": "method",
343
+ "name": "getAllAccordions",
344
+ "privacy": "private"
345
+ },
346
+ {
347
+ "kind": "method",
348
+ "name": "openAll"
349
+ },
350
+ {
351
+ "kind": "method",
352
+ "name": "closeAll"
353
+ },
354
+ {
355
+ "kind": "method",
356
+ "name": "updateToggleButtonMode",
357
+ "privacy": "private"
358
+ },
359
+ {
360
+ "kind": "method",
361
+ "name": "handleAccordionOpenEvent",
362
+ "privacy": "private",
363
+ "parameters": [
364
+ {
365
+ "name": "e",
366
+ "type": {
367
+ "text": "DSAShowEvent"
368
+ }
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "kind": "method",
374
+ "name": "handleAccordionCloseEvent",
375
+ "privacy": "private",
376
+ "parameters": [
377
+ {
378
+ "name": "e",
379
+ "type": {
380
+ "text": "DSAHideEvent"
381
+ }
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "kind": "method",
387
+ "name": "handleToggleButtonClick",
388
+ "privacy": "private"
389
+ },
390
+ {
391
+ "kind": "method",
392
+ "name": "handleSlotChange",
393
+ "privacy": "private"
394
+ }
395
+ ],
396
+ "attributes": [
397
+ {
398
+ "name": "single-open",
399
+ "type": {
400
+ "text": "boolean"
401
+ },
402
+ "default": "false",
403
+ "description": "Allows only one accordion to be opened simultaneously.",
404
+ "fieldName": "singleOpen"
405
+ },
406
+ {
407
+ "name": "toggle-button",
408
+ "type": {
409
+ "text": "boolean"
410
+ },
411
+ "default": "false",
412
+ "description": "Defines which grouped accordion opening or closing button will be displayed. Can only be used when single-open is set to false",
413
+ "fieldName": "toggleButton"
414
+ }
415
+ ],
416
+ "superclass": {
417
+ "name": "ShoelaceElement",
418
+ "module": "/src/internal/shoelace-element"
419
+ },
420
+ "summary": "The accordion-group displays accordions in a grouped style\nTODO Update with doc link",
421
+ "documentation": "undefined",
422
+ "dependencies": [
423
+ "dsa-button"
424
+ ],
425
+ "tagName": "dsa-accordion-group",
426
+ "customElement": true
427
+ }
428
+ ],
429
+ "exports": [
430
+ {
431
+ "kind": "js",
432
+ "name": "default",
433
+ "declaration": {
434
+ "name": "DSAAccordionGroup",
435
+ "module": "components/accordion-group/accordion-group.js"
436
+ }
437
+ },
438
+ {
439
+ "kind": "custom-element-definition",
440
+ "name": "dsa-accordion-group",
441
+ "declaration": {
442
+ "name": "DSAAccordionGroup",
443
+ "module": "components/accordion-group/accordion-group.js"
444
+ }
445
+ }
446
+ ]
447
+ },
243
448
  {
244
449
  "kind": "javascript-module",
245
450
  "path": "components/alert/alert.js",
@@ -2702,7 +2907,7 @@
2702
2907
  "module": "/src/internal/shoelace-element"
2703
2908
  },
2704
2909
  "summary": "The callout component is used to highlight important information.",
2705
- "documentation": "undefined",
2910
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/callout-mise-en-avant/web-rqRA05qV-rqRA05qV",
2706
2911
  "tagName": "dsa-callout",
2707
2912
  "customElement": true
2708
2913
  }
@@ -3074,7 +3279,7 @@
3074
3279
  "module": "/src/internal/shoelace-element"
3075
3280
  },
3076
3281
  "summary": "Card content can be used for rich content cards.",
3077
- "documentation": "undefined",
3282
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/card-content-carte-edito/web-N4f7Bajj",
3078
3283
  "dependencies": [
3079
3284
  "dsa-icon"
3080
3285
  ],
@@ -3145,7 +3350,7 @@
3145
3350
  "module": "/src/internal/shoelace-element"
3146
3351
  },
3147
3352
  "summary": "Card nav can be used to group navigation items in a card.",
3148
- "documentation": "undefined",
3353
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/card-nav-carte-de-navigation/web-UaT6ppPp",
3149
3354
  "tagName": "dsa-card-nav",
3150
3355
  "customElement": true
3151
3356
  }
@@ -3338,7 +3543,7 @@
3338
3543
  "module": "/src/internal/shoelace-element"
3339
3544
  },
3340
3545
  "summary": "Card Nav Accordion show a brief summary and expand to show additional navigation option in a Card nav.",
3341
- "documentation": "undefined",
3546
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/card-nav-carte-de-navigation/web-UaT6ppPp",
3342
3547
  "dependencies": [
3343
3548
  "dsa-icon"
3344
3549
  ],
@@ -3492,7 +3697,7 @@
3492
3697
  "module": "/src/internal/shoelace-element"
3493
3698
  },
3494
3699
  "summary": "Card nav item can be used to provide navigation options in a Card nav.",
3495
- "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/carte-card/web-jwmkAZjE",
3700
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/card-nav-carte-de-navigation/web-UaT6ppPp",
3496
3701
  "dependencies": [
3497
3702
  "dsa-icon"
3498
3703
  ],
@@ -7371,6 +7576,10 @@
7371
7576
  "description": "The file-upload's label. Alternatively, you can use the `label` attribute.",
7372
7577
  "name": "label"
7373
7578
  },
7579
+ {
7580
+ "description": "The file-upload's button label. Alternatively, you can use the `button-label` attribute. If both are left empty, a predefined label will be displayed.",
7581
+ "name": "button-label"
7582
+ },
7374
7583
  {
7375
7584
  "description": "The file-upload's description. Alternatively, you can use the `description` attribute.",
7376
7585
  "name": "description"
@@ -7386,7 +7595,7 @@
7386
7595
  "name": "hasSlotController",
7387
7596
  "privacy": "private",
7388
7597
  "readonly": true,
7389
- "default": "new HasSlotController( this, 'help-text', 'label', 'description' )"
7598
+ "default": "new HasSlotController( this, 'help-text', 'label', 'button-label', 'description' )"
7390
7599
  },
7391
7600
  {
7392
7601
  "kind": "field",
@@ -7436,6 +7645,16 @@
7436
7645
  "description": "The file-upload's label. If you need to display HTML, use the `label` slot instead.",
7437
7646
  "attribute": "label"
7438
7647
  },
7648
+ {
7649
+ "kind": "field",
7650
+ "name": "buttonLabel",
7651
+ "type": {
7652
+ "text": "string"
7653
+ },
7654
+ "default": "''",
7655
+ "description": "The file-upload's button label. If you need to display HTML, use the `button-label` slot instead. If both are left empty, a predefined label will be displayed.",
7656
+ "attribute": "button-label"
7657
+ },
7439
7658
  {
7440
7659
  "kind": "field",
7441
7660
  "name": "description",
@@ -7646,6 +7865,15 @@
7646
7865
  "description": "The file-upload's label. If you need to display HTML, use the `label` slot instead.",
7647
7866
  "fieldName": "label"
7648
7867
  },
7868
+ {
7869
+ "name": "button-label",
7870
+ "type": {
7871
+ "text": "string"
7872
+ },
7873
+ "default": "''",
7874
+ "description": "The file-upload's button label. If you need to display HTML, use the `button-label` slot instead. If both are left empty, a predefined label will be displayed.",
7875
+ "fieldName": "buttonLabel"
7876
+ },
7649
7877
  {
7650
7878
  "name": "description",
7651
7879
  "type": {
@@ -9306,6 +9534,15 @@
9306
9534
  },
9307
9535
  "attribute": "calendar-start-date"
9308
9536
  },
9537
+ {
9538
+ "kind": "field",
9539
+ "name": "hideCalendarButton",
9540
+ "type": {
9541
+ "text": "boolean"
9542
+ },
9543
+ "default": "false",
9544
+ "attribute": "hide-calendar-button"
9545
+ },
9309
9546
  {
9310
9547
  "kind": "method",
9311
9548
  "name": "handleSelectedDate",
@@ -9409,6 +9646,10 @@
9409
9646
  "kind": "method",
9410
9647
  "name": "handleLangChange"
9411
9648
  },
9649
+ {
9650
+ "kind": "method",
9651
+ "name": "handleHideCalendarButtonChange"
9652
+ },
9412
9653
  {
9413
9654
  "kind": "method",
9414
9655
  "name": "renderTrigger",
@@ -9826,6 +10067,14 @@
9826
10067
  },
9827
10068
  "fieldName": "calendarStartDate"
9828
10069
  },
10070
+ {
10071
+ "name": "hide-calendar-button",
10072
+ "type": {
10073
+ "text": "boolean"
10074
+ },
10075
+ "default": "false",
10076
+ "fieldName": "hideCalendarButton"
10077
+ },
9829
10078
  {
9830
10079
  "name": "label",
9831
10080
  "type": {
@@ -9918,7 +10167,7 @@
9918
10167
  "module": "/src/components/filter-base/filter-base"
9919
10168
  },
9920
10169
  "summary": "Filter date allow you to pick a date to filter.",
9921
- "documentation": "undefined",
10170
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/filter-filtre/filter-date-filtre-date/web-Zftw6qGi",
9922
10171
  "dependencies": [
9923
10172
  "dsa-popup",
9924
10173
  "dsa-icon-button",
@@ -11959,6 +12208,16 @@
11959
12208
  "description": "Draws the sitemap in a vertical orientation.",
11960
12209
  "attribute": "vertical",
11961
12210
  "reflects": true
12211
+ },
12212
+ {
12213
+ "kind": "field",
12214
+ "name": "alignLinks",
12215
+ "type": {
12216
+ "text": "'left' | 'center' | 'right'"
12217
+ },
12218
+ "default": "'left'",
12219
+ "description": "Defines the links alignment.",
12220
+ "attribute": "align-links"
11962
12221
  }
11963
12222
  ],
11964
12223
  "attributes": [
@@ -11970,6 +12229,15 @@
11970
12229
  "default": "false",
11971
12230
  "description": "Draws the sitemap in a vertical orientation.",
11972
12231
  "fieldName": "vertical"
12232
+ },
12233
+ {
12234
+ "name": "align-links",
12235
+ "type": {
12236
+ "text": "'left' | 'center' | 'right'"
12237
+ },
12238
+ "default": "'left'",
12239
+ "description": "Defines the links alignment.",
12240
+ "fieldName": "alignLinks"
11973
12241
  }
11974
12242
  ],
11975
12243
  "superclass": {
@@ -14006,252 +14274,36 @@
14006
14274
  "members": [
14007
14275
  {
14008
14276
  "kind": "field",
14009
- "name": "formControlController",
14010
- "privacy": "private",
14011
- "readonly": true,
14012
- "default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input'], })"
14013
- },
14014
- {
14015
- "kind": "field",
14016
- "name": "localize",
14017
- "privacy": "private",
14018
- "readonly": true,
14019
- "default": "new LocalizeController(this)"
14020
- },
14021
- {
14022
- "kind": "field",
14023
- "name": "input",
14277
+ "name": "inputElement",
14024
14278
  "type": {
14025
- "text": "HTMLInputElement | DSAInputDate | DSAInputTime"
14026
- },
14027
- "privacy": "private"
14279
+ "text": "| DSAInputNative\n | DSAInputDate\n | DSAInputTime"
14280
+ }
14028
14281
  },
14029
14282
  {
14030
14283
  "kind": "field",
14031
- "name": "standardInput",
14284
+ "name": "lang",
14032
14285
  "type": {
14033
- "text": "HTMLInputElement"
14286
+ "text": "string"
14034
14287
  },
14035
- "privacy": "private"
14288
+ "description": "Input date specific properties",
14289
+ "attribute": "lang"
14036
14290
  },
14037
14291
  {
14038
14292
  "kind": "field",
14039
- "name": "dateInput",
14293
+ "name": "calendarStartDate",
14040
14294
  "type": {
14041
- "text": "DSAInputDate"
14295
+ "text": "string"
14042
14296
  },
14043
- "privacy": "private"
14297
+ "attribute": "calendar-start-date"
14044
14298
  },
14045
14299
  {
14046
14300
  "kind": "field",
14047
- "name": "timeInput",
14301
+ "name": "hideCalendarButton",
14048
14302
  "type": {
14049
- "text": "DSAInputTime"
14303
+ "text": "boolean"
14050
14304
  },
14051
- "privacy": "private"
14052
- },
14053
- {
14054
- "kind": "field",
14055
- "name": "hasFocus",
14056
- "type": {
14057
- "text": "boolean"
14058
- },
14059
- "privacy": "private",
14060
- "default": "false"
14061
- },
14062
- {
14063
- "kind": "field",
14064
- "name": "type",
14065
- "type": {
14066
- "text": "DSAInputTypes"
14067
- },
14068
- "default": "'text'",
14069
- "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
14070
- "attribute": "type",
14071
- "reflects": true
14072
- },
14073
- {
14074
- "kind": "field",
14075
- "name": "value",
14076
- "type": {
14077
- "text": "string"
14078
- },
14079
- "default": "''",
14080
- "description": "The current value of the input, submitted as a name/value pair with form data.",
14081
- "attribute": "value"
14082
- },
14083
- {
14084
- "kind": "field",
14085
- "name": "defaultValue",
14086
- "type": {
14087
- "text": "string"
14088
- },
14089
- "default": "''",
14090
- "description": "The default value of the form control. Primarily used for resetting the form control."
14091
- },
14092
- {
14093
- "kind": "field",
14094
- "name": "clearable",
14095
- "type": {
14096
- "text": "boolean"
14097
- },
14098
- "default": "false",
14099
- "description": "Adds a clear button when the input is not empty.",
14100
- "attribute": "clearable"
14101
- },
14102
- {
14103
- "kind": "field",
14104
- "name": "lang",
14105
- "type": {
14106
- "text": "string"
14107
- },
14108
- "attribute": "lang"
14109
- },
14110
- {
14111
- "kind": "field",
14112
- "name": "passwordVisible",
14113
- "type": {
14114
- "text": "boolean"
14115
- },
14116
- "default": "false",
14117
- "description": "Determines whether or not the password is currently visible. Only applies to password input types.",
14118
- "attribute": "password-visible"
14119
- },
14120
- {
14121
- "kind": "field",
14122
- "name": "pattern",
14123
- "type": {
14124
- "text": "string"
14125
- },
14126
- "description": "A regular expression pattern to validate input against.",
14127
- "attribute": "pattern"
14128
- },
14129
- {
14130
- "kind": "field",
14131
- "name": "minlength",
14132
- "type": {
14133
- "text": "number"
14134
- },
14135
- "description": "The minimum length of input that will be considered valid.",
14136
- "attribute": "minlength"
14137
- },
14138
- {
14139
- "kind": "field",
14140
- "name": "maxlength",
14141
- "type": {
14142
- "text": "number"
14143
- },
14144
- "description": "The maximum length of input that will be considered valid.",
14145
- "attribute": "maxlength"
14146
- },
14147
- {
14148
- "kind": "field",
14149
- "name": "counter",
14150
- "type": {
14151
- "text": "boolean"
14152
- },
14153
- "default": "false",
14154
- "description": "Display the counter if maxlength is provided",
14155
- "attribute": "counter"
14156
- },
14157
- {
14158
- "kind": "field",
14159
- "name": "min",
14160
- "type": {
14161
- "text": "number | string"
14162
- },
14163
- "description": "The input's minimum value. Only applies to date and number input types.",
14164
- "attribute": "min"
14165
- },
14166
- {
14167
- "kind": "field",
14168
- "name": "max",
14169
- "type": {
14170
- "text": "number | string"
14171
- },
14172
- "description": "The input's maximum value. Only applies to date and number input types.",
14173
- "attribute": "max"
14174
- },
14175
- {
14176
- "kind": "field",
14177
- "name": "calendarStartDate",
14178
- "type": {
14179
- "text": "string"
14180
- },
14181
- "attribute": "calendar-start-date"
14182
- },
14183
- {
14184
- "kind": "field",
14185
- "name": "step",
14186
- "type": {
14187
- "text": "number | 'any'"
14188
- },
14189
- "description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
14190
- "attribute": "step"
14191
- },
14192
- {
14193
- "kind": "field",
14194
- "name": "autocapitalize",
14195
- "type": {
14196
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
14197
- },
14198
- "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
14199
- "attribute": "autocapitalize"
14200
- },
14201
- {
14202
- "kind": "field",
14203
- "name": "autocorrect",
14204
- "type": {
14205
- "text": "'off' | 'on'"
14206
- },
14207
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
14208
- "attribute": "autocorrect"
14209
- },
14210
- {
14211
- "kind": "field",
14212
- "name": "autocomplete",
14213
- "type": {
14214
- "text": "string"
14215
- },
14216
- "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
14217
- "attribute": "autocomplete"
14218
- },
14219
- {
14220
- "kind": "field",
14221
- "name": "autofocus",
14222
- "type": {
14223
- "text": "boolean"
14224
- },
14225
- "description": "Indicates that the input should receive focus on page load.",
14226
- "attribute": "autofocus"
14227
- },
14228
- {
14229
- "kind": "field",
14230
- "name": "enterkeyhint",
14231
- "type": {
14232
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
14233
- },
14234
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
14235
- "attribute": "enterkeyhint"
14236
- },
14237
- {
14238
- "kind": "field",
14239
- "name": "spellcheck",
14240
- "type": {
14241
- "text": "boolean"
14242
- },
14243
- "default": "true",
14244
- "description": "Enables spell checking on the input.",
14245
- "attribute": "spellcheck"
14246
- },
14247
- {
14248
- "kind": "field",
14249
- "name": "inputmode",
14250
- "type": {
14251
- "text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
14252
- },
14253
- "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
14254
- "attribute": "inputmode"
14305
+ "default": "false",
14306
+ "attribute": "hide-calendar-button"
14255
14307
  },
14256
14308
  {
14257
14309
  "kind": "field",
@@ -14277,540 +14329,586 @@
14277
14329
  },
14278
14330
  {
14279
14331
  "kind": "method",
14280
- "name": "handleBlur",
14281
- "privacy": "private",
14282
- "parameters": [
14283
- {
14284
- "name": "event",
14285
- "type": {
14286
- "text": "Event"
14287
- }
14288
- }
14289
- ]
14332
+ "name": "handleChange",
14333
+ "privacy": "protected"
14290
14334
  },
14291
14335
  {
14292
14336
  "kind": "method",
14293
- "name": "handleChange",
14294
- "privacy": "private",
14337
+ "name": "handleInput",
14338
+ "privacy": "protected"
14339
+ },
14340
+ {
14341
+ "kind": "method",
14342
+ "name": "handleStepChange"
14343
+ },
14344
+ {
14345
+ "kind": "method",
14346
+ "name": "focus",
14295
14347
  "parameters": [
14296
14348
  {
14297
- "name": "event",
14349
+ "name": "options",
14350
+ "optional": true,
14298
14351
  "type": {
14299
- "text": "Event"
14352
+ "text": "FocusOptions"
14300
14353
  }
14301
14354
  }
14302
- ]
14355
+ ],
14356
+ "description": "Sets focus on the input."
14303
14357
  },
14304
14358
  {
14305
14359
  "kind": "method",
14306
- "name": "handleAmountChange",
14307
- "privacy": "private"
14360
+ "name": "blur",
14361
+ "description": "Removes focus from the input."
14308
14362
  },
14309
14363
  {
14310
14364
  "kind": "method",
14311
- "name": "handleClearClick",
14312
- "privacy": "private",
14365
+ "name": "select",
14366
+ "description": "Selects all the text in the input."
14367
+ },
14368
+ {
14369
+ "kind": "method",
14370
+ "name": "setSelectionRange",
14313
14371
  "parameters": [
14314
14372
  {
14315
- "name": "event",
14373
+ "name": "selectionStart",
14316
14374
  "type": {
14317
- "text": "MouseEvent"
14375
+ "text": "number"
14376
+ }
14377
+ },
14378
+ {
14379
+ "name": "selectionEnd",
14380
+ "type": {
14381
+ "text": "number"
14382
+ }
14383
+ },
14384
+ {
14385
+ "name": "selectionDirection",
14386
+ "default": "'none'",
14387
+ "type": {
14388
+ "text": "'forward' | 'backward' | 'none'"
14318
14389
  }
14319
14390
  }
14320
- ]
14391
+ ],
14392
+ "description": "Sets the start and end positions of the text selection (0-based)."
14321
14393
  },
14322
14394
  {
14323
14395
  "kind": "method",
14324
- "name": "handleFocus",
14325
- "privacy": "private",
14396
+ "name": "setRangeText",
14326
14397
  "parameters": [
14327
14398
  {
14328
- "name": "event",
14399
+ "name": "replacement",
14329
14400
  "type": {
14330
- "text": "Event"
14401
+ "text": "string"
14402
+ }
14403
+ },
14404
+ {
14405
+ "name": "start",
14406
+ "type": {
14407
+ "text": "number"
14408
+ }
14409
+ },
14410
+ {
14411
+ "name": "end",
14412
+ "type": {
14413
+ "text": "number"
14414
+ }
14415
+ },
14416
+ {
14417
+ "name": "selectMode",
14418
+ "optional": true,
14419
+ "type": {
14420
+ "text": "'select' | 'start' | 'end' | 'preserve'"
14331
14421
  }
14332
14422
  }
14333
- ]
14423
+ ],
14424
+ "description": "Replaces a range of text with a new string."
14334
14425
  },
14335
14426
  {
14336
14427
  "kind": "method",
14337
- "name": "handleInput",
14338
- "privacy": "private",
14428
+ "name": "showTimePicker"
14429
+ },
14430
+ {
14431
+ "kind": "method",
14432
+ "name": "hideTimePicker"
14433
+ },
14434
+ {
14435
+ "kind": "method",
14436
+ "name": "showDatepicker"
14437
+ },
14438
+ {
14439
+ "kind": "method",
14440
+ "name": "hideDatepicker"
14441
+ },
14442
+ {
14443
+ "kind": "method",
14444
+ "name": "stepUp",
14339
14445
  "parameters": [
14340
14446
  {
14341
- "name": "event",
14447
+ "name": "stepNumber",
14448
+ "optional": true,
14342
14449
  "type": {
14343
- "text": "InputEvent"
14450
+ "text": "number"
14344
14451
  }
14345
14452
  }
14346
- ]
14453
+ ],
14454
+ "description": "Increments the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter."
14347
14455
  },
14348
14456
  {
14349
14457
  "kind": "method",
14350
- "name": "handleInvalid",
14351
- "privacy": "private",
14458
+ "name": "stepDown",
14352
14459
  "parameters": [
14353
14460
  {
14354
- "name": "event",
14461
+ "name": "stepNumber",
14462
+ "optional": true,
14355
14463
  "type": {
14356
- "text": "Event"
14464
+ "text": "number"
14357
14465
  }
14358
14466
  }
14359
- ]
14467
+ ],
14468
+ "description": "Decrements the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter."
14360
14469
  },
14361
14470
  {
14362
14471
  "kind": "method",
14363
- "name": "handleKeyDown",
14364
- "privacy": "private",
14365
- "parameters": [
14366
- {
14367
- "name": "event",
14368
- "type": {
14369
- "text": "KeyboardEvent"
14370
- }
14472
+ "name": "checkValidity",
14473
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
14474
+ },
14475
+ {
14476
+ "kind": "method",
14477
+ "name": "getForm",
14478
+ "return": {
14479
+ "type": {
14480
+ "text": "HTMLFormElement | null"
14371
14481
  }
14372
- ]
14482
+ },
14483
+ "description": "Gets the associated form, if one exists."
14373
14484
  },
14374
14485
  {
14375
14486
  "kind": "method",
14376
- "name": "handleAmountKeydown",
14377
- "privacy": "private",
14487
+ "name": "reportValidity",
14488
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
14489
+ },
14490
+ {
14491
+ "kind": "method",
14492
+ "name": "setCustomValidity",
14378
14493
  "parameters": [
14379
14494
  {
14380
- "name": "event",
14495
+ "name": "message",
14381
14496
  "type": {
14382
- "text": "KeyboardEvent"
14497
+ "text": "string"
14383
14498
  }
14384
14499
  }
14385
- ]
14500
+ ],
14501
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
14386
14502
  },
14387
14503
  {
14388
14504
  "kind": "method",
14389
- "name": "getSafeStep",
14390
- "privacy": "private"
14505
+ "name": "getUpdateComplete",
14506
+ "return": {
14507
+ "type": {
14508
+ "text": "Promise<boolean>"
14509
+ }
14510
+ }
14511
+ }
14512
+ ],
14513
+ "events": [
14514
+ {
14515
+ "description": "Emitted when the control loses focus.",
14516
+ "name": "dsa-blur"
14391
14517
  },
14392
14518
  {
14393
- "kind": "method",
14394
- "name": "handlePasswordToggle",
14395
- "privacy": "private"
14519
+ "description": "Emitted when an alteration to the control's value is committed by the user.",
14520
+ "name": "dsa-change"
14396
14521
  },
14397
14522
  {
14398
- "kind": "method",
14399
- "name": "getDescriptionIds",
14400
- "privacy": "private"
14523
+ "description": "Emitted when the clear button is activated.",
14524
+ "name": "dsa-clear"
14401
14525
  },
14402
14526
  {
14403
- "kind": "method",
14404
- "name": "handleDisabledChange"
14527
+ "description": "Emitted when the control gains focus.",
14528
+ "name": "dsa-focus"
14529
+ },
14530
+ {
14531
+ "description": "Emitted when the control receives input.",
14532
+ "name": "dsa-input"
14533
+ },
14534
+ {
14535
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
14536
+ "name": "dsa-invalid"
14537
+ }
14538
+ ],
14539
+ "attributes": [
14540
+ {
14541
+ "name": "lang",
14542
+ "type": {
14543
+ "text": "string"
14544
+ },
14545
+ "description": "Input date specific properties",
14546
+ "fieldName": "lang"
14547
+ },
14548
+ {
14549
+ "name": "calendar-start-date",
14550
+ "type": {
14551
+ "text": "string"
14552
+ },
14553
+ "fieldName": "calendarStartDate"
14554
+ },
14555
+ {
14556
+ "name": "hide-calendar-button",
14557
+ "type": {
14558
+ "text": "boolean"
14559
+ },
14560
+ "default": "false",
14561
+ "fieldName": "hideCalendarButton"
14562
+ }
14563
+ ],
14564
+ "superclass": {
14565
+ "name": "InputBase",
14566
+ "module": "/src/internal/components/input-base/input-base"
14567
+ },
14568
+ "summary": "Inputs collect data from the user.",
14569
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/champ-de-saisie-input/web-wEUo4qY5",
14570
+ "dependencies": [
14571
+ "dsa-icon",
14572
+ "dsa-icon-button",
14573
+ "dsa-input-date",
14574
+ "dsa-input-time",
14575
+ "dsa-input-native",
14576
+ "dsa-error-text"
14577
+ ],
14578
+ "tagName": "dsa-input",
14579
+ "customElement": true
14580
+ }
14581
+ ],
14582
+ "exports": [
14583
+ {
14584
+ "kind": "js",
14585
+ "name": "default",
14586
+ "declaration": {
14587
+ "name": "DSAInput",
14588
+ "module": "components/input/input.js"
14589
+ }
14590
+ },
14591
+ {
14592
+ "kind": "custom-element-definition",
14593
+ "name": "dsa-input",
14594
+ "declaration": {
14595
+ "name": "DSAInput",
14596
+ "module": "components/input/input.js"
14597
+ }
14598
+ }
14599
+ ]
14600
+ },
14601
+ {
14602
+ "kind": "javascript-module",
14603
+ "path": "components/input-date/input-date.js",
14604
+ "declarations": [
14605
+ {
14606
+ "kind": "class",
14607
+ "description": "",
14608
+ "name": "DSAInputDate",
14609
+ "slots": [
14610
+ {
14611
+ "description": "The input's label. Alternatively, you can use the `label` attribute.",
14612
+ "name": "label"
14613
+ },
14614
+ {
14615
+ "description": "Used to prepend a presentational icon or similar element to the input.",
14616
+ "name": "prefix"
14617
+ },
14618
+ {
14619
+ "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
14620
+ "name": "help-text"
14621
+ },
14622
+ {
14623
+ "description": "The tooltip slot allows additional information to be passed along the label.",
14624
+ "name": "tooltip"
14625
+ }
14626
+ ],
14627
+ "members": [
14628
+ {
14629
+ "kind": "field",
14630
+ "name": "localize",
14631
+ "privacy": "private",
14632
+ "readonly": true,
14633
+ "default": "new LocalizeController(this)"
14634
+ },
14635
+ {
14636
+ "kind": "field",
14637
+ "name": "input",
14638
+ "type": {
14639
+ "text": "DSAInternalDateField"
14640
+ }
14641
+ },
14642
+ {
14643
+ "kind": "field",
14644
+ "name": "popup",
14645
+ "type": {
14646
+ "text": "DSAPopup"
14647
+ }
14648
+ },
14649
+ {
14650
+ "kind": "field",
14651
+ "name": "datepickerButton",
14652
+ "type": {
14653
+ "text": "DSAIconButton"
14654
+ }
14655
+ },
14656
+ {
14657
+ "kind": "field",
14658
+ "name": "isDatepickerOpen",
14659
+ "type": {
14660
+ "text": "boolean"
14661
+ },
14662
+ "privacy": "private",
14663
+ "default": "false"
14405
14664
  },
14406
14665
  {
14407
- "kind": "method",
14408
- "name": "handleStepChange"
14666
+ "kind": "field",
14667
+ "name": "lang",
14668
+ "type": {
14669
+ "text": "string"
14670
+ },
14671
+ "attribute": "lang"
14409
14672
  },
14410
14673
  {
14411
- "kind": "method",
14412
- "name": "handleValueChange"
14674
+ "kind": "field",
14675
+ "name": "calendarStartDate",
14676
+ "type": {
14677
+ "text": "string"
14678
+ },
14679
+ "attribute": "calendar-start-date"
14413
14680
  },
14414
14681
  {
14415
- "kind": "method",
14416
- "name": "focus",
14417
- "parameters": [
14418
- {
14419
- "name": "options",
14420
- "optional": true,
14421
- "type": {
14422
- "text": "FocusOptions"
14423
- }
14424
- }
14425
- ],
14426
- "description": "Sets focus on the input."
14682
+ "kind": "field",
14683
+ "name": "hideCalendarButton",
14684
+ "type": {
14685
+ "text": "boolean"
14686
+ },
14687
+ "default": "false",
14688
+ "attribute": "hide-calendar-button"
14427
14689
  },
14428
14690
  {
14429
14691
  "kind": "method",
14430
- "name": "blur",
14431
- "description": "Removes focus from the input."
14692
+ "name": "addOpenListeners",
14693
+ "privacy": "private"
14432
14694
  },
14433
14695
  {
14434
14696
  "kind": "method",
14435
- "name": "select",
14436
- "description": "Selects all the text in the input."
14697
+ "name": "removeOpenListeners",
14698
+ "privacy": "private"
14437
14699
  },
14438
14700
  {
14439
14701
  "kind": "method",
14440
- "name": "setSelectionRange",
14702
+ "name": "handleSelectedDate",
14703
+ "privacy": "private",
14441
14704
  "parameters": [
14442
14705
  {
14443
- "name": "selectionStart",
14444
- "type": {
14445
- "text": "number"
14446
- }
14447
- },
14448
- {
14449
- "name": "selectionEnd",
14450
- "type": {
14451
- "text": "number"
14452
- }
14453
- },
14454
- {
14455
- "name": "selectionDirection",
14456
- "default": "'none'",
14706
+ "name": "event",
14457
14707
  "type": {
14458
- "text": "'forward' | 'backward' | 'none'"
14708
+ "text": "DSADateSelected"
14459
14709
  }
14460
14710
  }
14461
- ],
14462
- "description": "Sets the start and end positions of the text selection (0-based)."
14711
+ ]
14463
14712
  },
14464
14713
  {
14465
14714
  "kind": "method",
14466
- "name": "setRangeText",
14715
+ "name": "handleDocumentFocusIn",
14716
+ "privacy": "private",
14467
14717
  "parameters": [
14468
14718
  {
14469
- "name": "replacement",
14470
- "type": {
14471
- "text": "string"
14472
- }
14473
- },
14474
- {
14475
- "name": "start",
14476
- "type": {
14477
- "text": "number"
14478
- }
14479
- },
14480
- {
14481
- "name": "end",
14482
- "type": {
14483
- "text": "number"
14484
- }
14485
- },
14486
- {
14487
- "name": "selectMode",
14488
- "optional": true,
14719
+ "name": "event",
14489
14720
  "type": {
14490
- "text": "'select' | 'start' | 'end' | 'preserve'"
14721
+ "text": "FocusEvent"
14491
14722
  }
14492
14723
  }
14493
- ],
14494
- "description": "Replaces a range of text with a new string."
14495
- },
14496
- {
14497
- "kind": "method",
14498
- "name": "showTimePicker"
14499
- },
14500
- {
14501
- "kind": "method",
14502
- "name": "hideTimePicker"
14503
- },
14504
- {
14505
- "kind": "method",
14506
- "name": "showDatepicker"
14507
- },
14508
- {
14509
- "kind": "method",
14510
- "name": "hideDatepicker"
14724
+ ]
14511
14725
  },
14512
14726
  {
14513
14727
  "kind": "method",
14514
- "name": "adjustAmountValue",
14728
+ "name": "handleDocumentMouseDown",
14515
14729
  "privacy": "private",
14516
14730
  "parameters": [
14517
14731
  {
14518
- "name": "direction",
14732
+ "name": "event",
14519
14733
  "type": {
14520
- "text": "'up' | 'down'"
14734
+ "text": "MouseEvent"
14521
14735
  }
14522
14736
  }
14523
14737
  ]
14524
14738
  },
14525
14739
  {
14526
14740
  "kind": "method",
14527
- "name": "stepUp",
14741
+ "name": "handleDocumentKeyDown",
14742
+ "privacy": "private",
14528
14743
  "parameters": [
14529
14744
  {
14530
- "name": "stepNumber",
14531
- "optional": true,
14745
+ "name": "event",
14532
14746
  "type": {
14533
- "text": "number"
14747
+ "text": "KeyboardEvent"
14534
14748
  }
14535
14749
  }
14536
- ],
14537
- "description": "Increments the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter."
14750
+ ]
14538
14751
  },
14539
14752
  {
14540
14753
  "kind": "method",
14541
- "name": "stepDown",
14754
+ "name": "handleDateFieldKeydown",
14755
+ "privacy": "private",
14542
14756
  "parameters": [
14543
14757
  {
14544
- "name": "stepNumber",
14545
- "optional": true,
14758
+ "name": "event",
14546
14759
  "type": {
14547
- "text": "number"
14760
+ "text": "KeyboardEvent"
14548
14761
  }
14549
14762
  }
14550
- ],
14551
- "description": "Decrements the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter."
14763
+ ]
14552
14764
  },
14553
14765
  {
14554
14766
  "kind": "method",
14555
- "name": "checkValidity",
14556
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
14767
+ "name": "handleDateFieldChange",
14768
+ "privacy": "private"
14557
14769
  },
14558
14770
  {
14559
14771
  "kind": "method",
14560
- "name": "getForm",
14561
- "return": {
14562
- "type": {
14563
- "text": "HTMLFormElement | null"
14564
- }
14565
- },
14566
- "description": "Gets the associated form, if one exists."
14772
+ "name": "handleDateFieldFocus",
14773
+ "privacy": "private"
14567
14774
  },
14568
14775
  {
14569
14776
  "kind": "method",
14570
- "name": "reportValidity",
14571
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
14777
+ "name": "handleDateFieldBlur",
14778
+ "privacy": "private"
14572
14779
  },
14573
14780
  {
14574
14781
  "kind": "method",
14575
- "name": "checkAmountValidity",
14782
+ "name": "getDateFieldDescription",
14576
14783
  "privacy": "private"
14577
14784
  },
14578
14785
  {
14579
14786
  "kind": "method",
14580
- "name": "setCustomValidity",
14787
+ "name": "shouldDisableDate",
14788
+ "privacy": "private",
14581
14789
  "parameters": [
14582
14790
  {
14583
- "name": "message",
14791
+ "name": "date",
14584
14792
  "type": {
14585
- "text": "string"
14793
+ "text": "Date"
14586
14794
  }
14587
14795
  }
14588
- ],
14589
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
14796
+ ]
14590
14797
  },
14591
14798
  {
14592
14799
  "kind": "method",
14593
- "name": "getUpdateComplete",
14594
- "return": {
14595
- "type": {
14596
- "text": "Promise<boolean>"
14597
- }
14598
- }
14800
+ "name": "handleOpenChange"
14599
14801
  },
14600
14802
  {
14601
14803
  "kind": "method",
14602
- "name": "renderInput"
14804
+ "name": "showDatepicker",
14805
+ "description": "Displays the dsa-calendar picker for an input element."
14603
14806
  },
14604
14807
  {
14605
14808
  "kind": "method",
14606
- "name": "renderCounter"
14607
- }
14608
- ],
14609
- "events": [
14610
- {
14611
- "description": "Emitted when the control loses focus.",
14612
- "name": "dsa-blur"
14613
- },
14614
- {
14615
- "description": "Emitted when an alteration to the control's value is committed by the user.",
14616
- "name": "dsa-change"
14617
- },
14618
- {
14619
- "description": "Emitted when the clear button is activated.",
14620
- "name": "dsa-clear"
14621
- },
14622
- {
14623
- "description": "Emitted when the control gains focus.",
14624
- "name": "dsa-focus"
14625
- },
14626
- {
14627
- "description": "Emitted when the control receives input.",
14628
- "name": "dsa-input"
14629
- },
14630
- {
14631
- "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
14632
- "name": "dsa-invalid"
14633
- }
14634
- ],
14635
- "attributes": [
14636
- {
14637
- "name": "type",
14638
- "type": {
14639
- "text": "DSAInputTypes"
14640
- },
14641
- "default": "'text'",
14642
- "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
14643
- "fieldName": "type"
14644
- },
14645
- {
14646
- "name": "value",
14647
- "type": {
14648
- "text": "string"
14649
- },
14650
- "default": "''",
14651
- "description": "The current value of the input, submitted as a name/value pair with form data.",
14652
- "fieldName": "value"
14653
- },
14654
- {
14655
- "name": "clearable",
14656
- "type": {
14657
- "text": "boolean"
14658
- },
14659
- "default": "false",
14660
- "description": "Adds a clear button when the input is not empty.",
14661
- "fieldName": "clearable"
14662
- },
14663
- {
14664
- "name": "lang",
14665
- "type": {
14666
- "text": "string"
14667
- },
14668
- "fieldName": "lang"
14669
- },
14670
- {
14671
- "name": "password-visible",
14672
- "type": {
14673
- "text": "boolean"
14674
- },
14675
- "default": "false",
14676
- "description": "Determines whether or not the password is currently visible. Only applies to password input types.",
14677
- "fieldName": "passwordVisible"
14809
+ "name": "hideDatepicker",
14810
+ "description": "Hides dsa-calendar."
14678
14811
  },
14679
14812
  {
14680
- "name": "pattern",
14681
- "type": {
14682
- "text": "string"
14683
- },
14684
- "description": "A regular expression pattern to validate input against.",
14685
- "fieldName": "pattern"
14813
+ "kind": "method",
14814
+ "name": "getUpdateComplete",
14815
+ "return": {
14816
+ "type": {
14817
+ "text": "Promise<boolean>"
14818
+ }
14819
+ }
14686
14820
  },
14687
14821
  {
14688
- "name": "minlength",
14689
- "type": {
14690
- "text": "number"
14691
- },
14692
- "description": "The minimum length of input that will be considered valid.",
14693
- "fieldName": "minlength"
14822
+ "kind": "method",
14823
+ "name": "handleLabelClick",
14824
+ "privacy": "protected",
14825
+ "return": {
14826
+ "type": {
14827
+ "text": "void"
14828
+ }
14829
+ }
14694
14830
  },
14695
14831
  {
14696
- "name": "maxlength",
14697
- "type": {
14698
- "text": "number"
14699
- },
14700
- "description": "The maximum length of input that will be considered valid.",
14701
- "fieldName": "maxlength"
14702
- },
14832
+ "kind": "method",
14833
+ "name": "renderInput"
14834
+ }
14835
+ ],
14836
+ "events": [
14703
14837
  {
14704
- "name": "counter",
14705
- "type": {
14706
- "text": "boolean"
14707
- },
14708
- "default": "false",
14709
- "description": "Display the counter if maxlength is provided",
14710
- "fieldName": "counter"
14838
+ "description": "Emitted when the control loses focus.",
14839
+ "name": "dsa-blur"
14711
14840
  },
14712
14841
  {
14713
- "name": "min",
14714
- "type": {
14715
- "text": "number | string"
14716
- },
14717
- "description": "The input's minimum value. Only applies to date and number input types.",
14718
- "fieldName": "min"
14842
+ "description": "Emitted when an alteration to the control's value is committed by the user.",
14843
+ "name": "dsa-change"
14719
14844
  },
14720
14845
  {
14721
- "name": "max",
14722
- "type": {
14723
- "text": "number | string"
14724
- },
14725
- "description": "The input's maximum value. Only applies to date and number input types.",
14726
- "fieldName": "max"
14846
+ "description": "Emitted when the clear button is activated.",
14847
+ "name": "dsa-clear"
14727
14848
  },
14728
14849
  {
14729
- "name": "calendar-start-date",
14730
- "type": {
14731
- "text": "string"
14732
- },
14733
- "fieldName": "calendarStartDate"
14850
+ "description": "Emitted when the control gains focus.",
14851
+ "name": "dsa-focus"
14734
14852
  },
14735
14853
  {
14736
- "name": "step",
14737
- "type": {
14738
- "text": "number | 'any'"
14739
- },
14740
- "description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
14741
- "fieldName": "step"
14854
+ "description": "Emitted when the control receives input.",
14855
+ "name": "dsa-input"
14742
14856
  },
14743
14857
  {
14744
- "name": "autocapitalize",
14745
- "type": {
14746
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
14747
- },
14748
- "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
14749
- "fieldName": "autocapitalize"
14858
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
14859
+ "name": "dsa-invalid"
14750
14860
  },
14751
14861
  {
14752
- "name": "autocorrect",
14753
- "type": {
14754
- "text": "'off' | 'on'"
14755
- },
14756
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
14757
- "fieldName": "autocorrect"
14862
+ "description": "Emitted when the picker opens.",
14863
+ "name": "dsa-show"
14758
14864
  },
14759
14865
  {
14760
- "name": "autocomplete",
14761
- "type": {
14762
- "text": "string"
14763
- },
14764
- "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
14765
- "fieldName": "autocomplete"
14866
+ "description": "Emitted after the picker opens and all animations are complete.",
14867
+ "name": "dsa-after-show"
14766
14868
  },
14767
14869
  {
14768
- "name": "autofocus",
14769
- "type": {
14770
- "text": "boolean"
14771
- },
14772
- "description": "Indicates that the input should receive focus on page load.",
14773
- "fieldName": "autofocus"
14870
+ "description": "Emitted when the picker closes.",
14871
+ "name": "dsa-hide"
14774
14872
  },
14775
14873
  {
14776
- "name": "enterkeyhint",
14874
+ "description": "Emitted after the picker closes and all animations are complete.",
14875
+ "name": "dsa-after-hide"
14876
+ }
14877
+ ],
14878
+ "attributes": [
14879
+ {
14880
+ "name": "lang",
14777
14881
  "type": {
14778
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
14882
+ "text": "string"
14779
14883
  },
14780
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
14781
- "fieldName": "enterkeyhint"
14884
+ "fieldName": "lang"
14782
14885
  },
14783
14886
  {
14784
- "name": "spellcheck",
14887
+ "name": "calendar-start-date",
14785
14888
  "type": {
14786
- "text": "boolean"
14889
+ "text": "string"
14787
14890
  },
14788
- "default": "true",
14789
- "description": "Enables spell checking on the input.",
14790
- "fieldName": "spellcheck"
14891
+ "fieldName": "calendarStartDate"
14791
14892
  },
14792
14893
  {
14793
- "name": "inputmode",
14894
+ "name": "hide-calendar-button",
14794
14895
  "type": {
14795
- "text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
14896
+ "text": "boolean"
14796
14897
  },
14797
- "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
14798
- "fieldName": "inputmode"
14898
+ "default": "false",
14899
+ "fieldName": "hideCalendarButton"
14799
14900
  }
14800
14901
  ],
14801
14902
  "superclass": {
14802
- "name": "FormControlLayout",
14803
- "module": "/src/internal/components/form-control/form-control-layout"
14903
+ "name": "InputBase",
14904
+ "module": "/src/internal/components/input-base/input-base"
14804
14905
  },
14805
- "summary": "Inputs collect data from the user.",
14806
- "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/champ-de-saisie-input/web-wEUo4qY5",
14906
+ "summary": "(Internal) Input-date collect date data from the user.",
14807
14907
  "dependencies": [
14808
- "dsa-icon",
14809
14908
  "dsa-icon-button",
14810
- "dsa-input-date",
14811
14909
  "dsa-error-text"
14812
14910
  ],
14813
- "tagName": "dsa-input",
14911
+ "tagName": "dsa-input-date",
14814
14912
  "customElement": true
14815
14913
  }
14816
14914
  ],
@@ -14819,167 +14917,87 @@
14819
14917
  "kind": "js",
14820
14918
  "name": "default",
14821
14919
  "declaration": {
14822
- "name": "DSAInput",
14823
- "module": "components/input/input.js"
14920
+ "name": "DSAInputDate",
14921
+ "module": "components/input-date/input-date.js"
14824
14922
  }
14825
14923
  },
14826
14924
  {
14827
14925
  "kind": "custom-element-definition",
14828
- "name": "dsa-input",
14926
+ "name": "dsa-input-date",
14829
14927
  "declaration": {
14830
- "name": "DSAInput",
14831
- "module": "components/input/input.js"
14928
+ "name": "DSAInputDate",
14929
+ "module": "components/input-date/input-date.js"
14832
14930
  }
14833
14931
  }
14834
14932
  ]
14835
14933
  },
14836
14934
  {
14837
14935
  "kind": "javascript-module",
14838
- "path": "components/input/input.utils.js",
14936
+ "path": "components/input-mask/input-mask.configs.js",
14839
14937
  "declarations": [
14840
14938
  {
14841
- "kind": "function",
14842
- "name": "isPrefixIconOverriden",
14843
- "return": {
14844
- "type": {
14845
- "text": "type is DSAInputOverridenPrefixIconTypes"
14846
- }
14939
+ "kind": "variable",
14940
+ "name": "IBANConfig",
14941
+ "type": {
14942
+ "text": "DSAMaskConfig"
14847
14943
  },
14848
- "parameters": [
14849
- {
14850
- "name": "type",
14851
- "type": {
14852
- "text": "DSAInputTypes"
14853
- }
14854
- }
14855
- ]
14856
- },
14857
- {
14858
- "kind": "function",
14859
- "name": "getOverridenIconDetails",
14860
- "parameters": [
14861
- {
14862
- "name": "type",
14863
- "type": {
14864
- "text": "DSAInputOverridenPrefixIconTypes"
14865
- }
14866
- }
14867
- ]
14868
- },
14869
- {
14870
- "kind": "function",
14871
- "name": "isInvalidAmountKey",
14872
- "parameters": [
14873
- {
14874
- "name": "event",
14875
- "type": {
14876
- "text": "KeyboardEvent"
14877
- }
14878
- }
14879
- ]
14880
- },
14881
- {
14882
- "kind": "function",
14883
- "name": "parseFrAmount",
14884
- "parameters": [
14885
- {
14886
- "name": "value",
14887
- "type": {
14888
- "text": "string"
14889
- }
14890
- }
14891
- ]
14892
- },
14893
- {
14894
- "kind": "function",
14895
- "name": "numberToFrAmount",
14896
- "parameters": [
14897
- {
14898
- "name": "value",
14899
- "type": {
14900
- "text": "number | string"
14901
- }
14902
- }
14903
- ]
14904
- },
14905
- {
14906
- "kind": "function",
14907
- "name": "roundToStep",
14908
- "parameters": [
14909
- {
14910
- "name": "value",
14911
- "type": {
14912
- "text": "number"
14913
- }
14914
- },
14915
- {
14916
- "name": "step",
14917
- "type": {
14918
- "text": "number | 'any'"
14919
- }
14920
- }
14921
- ]
14922
- }
14923
- ],
14924
- "exports": [
14925
- {
14926
- "kind": "js",
14927
- "name": "isPrefixIconOverriden",
14928
- "declaration": {
14929
- "name": "isPrefixIconOverriden",
14930
- "module": "components/input/input.utils.js"
14931
- }
14944
+ "default": "{ placeholder: '____ ____ ____ ____ ____ ____ ____ ___', mask: 'LL__ ____ ____ ____ ____ ____ ____ ___', pattern: '^(?:((?:IT|SM)\\\\d{2}[A-Z]{1}\\\\d{22})|(NL\\\\d{2}[A-Z]{4}\\\\d{10})|(LV\\\\d{2}[A-Z]{4}\\\\d{13})|((?:BG|GB|IE)\\\\d{2}[A-Z]{4}\\\\d{14})|(GI\\\\d{2}[A-Z]{4}\\\\d{15})|(RO\\\\d{2}[A-Z]{4}\\\\d{16})|(MT\\\\d{2}[A-Z]{4}\\\\d{23})|(NO\\\\d{13})|((?:DK|FI)\\\\d{16})|((?:SI)\\\\d{17})|((?:AT|EE|LU|LT)\\\\d{18})|((?:HR|LI|CH)\\\\d{19})|((?:DE|VA)\\\\d{20})|((?:AD|CZ|ES|MD|SK|SE)\\\\d{22})|(PT\\\\d{23})|((?:IS)\\\\d{24})|((?:BE)\\\\d{14})|((?:FR|MC|GR)\\\\d{25})|((?:PL|HU|CY)\\\\d{26}))$', 'help-text': `Indicatif pays en 2 lettres majuscules suivi de 10 à 31 charactères numériques`, }",
14945
+ "description": "Input Mask configuration for IBAN from countries within the SEPA area."
14932
14946
  },
14933
14947
  {
14934
- "kind": "js",
14935
- "name": "getOverridenIconDetails",
14936
- "declaration": {
14937
- "name": "getOverridenIconDetails",
14938
- "module": "components/input/input.utils.js"
14939
- }
14948
+ "kind": "variable",
14949
+ "name": "BICConfig",
14950
+ "type": {
14951
+ "text": "DSAMaskConfig"
14952
+ },
14953
+ "default": "{ placeholder: '____ __ __ ___', pattern: `([a-zA-Z]{4})([a-zA-Z]{2})(([2-9a-zA-Z]{1})([0-9a-np-zA-NP-Z]{1}))((([0-9a-wy-zA-WY-Z]{1})([0-9a-zA-Z]{2}))|([xX]{3})|)`, 'help-text': '8 ou 11 charactères', }",
14954
+ "description": "Input Mask configuration for BIC/Swift. Pattern compatible the 100 principal banks of France."
14940
14955
  },
14941
14956
  {
14942
- "kind": "js",
14943
- "name": "isInvalidAmountKey",
14944
- "declaration": {
14945
- "name": "isInvalidAmountKey",
14946
- "module": "components/input/input.utils.js"
14947
- }
14948
- },
14957
+ "kind": "variable",
14958
+ "name": "NIRConfig",
14959
+ "type": {
14960
+ "text": "DSAMaskConfig"
14961
+ },
14962
+ "default": "{ placeholder: '_ __ __ __ ___ ___ __', mask: '# ## ## ## ### ### ##', pattern: `[12][0-9]{2}(0[1-9]|1[0-2])(2[AB]|[0-9]{2})[0-9]{3}[0-9]{3}([0-9]{2})`, 'help-text': '15 charactères', }",
14963
+ "description": "Input Mask configuration for NIR"
14964
+ }
14965
+ ],
14966
+ "exports": [
14949
14967
  {
14950
14968
  "kind": "js",
14951
- "name": "parseFrAmount",
14969
+ "name": "IBANConfig",
14952
14970
  "declaration": {
14953
- "name": "parseFrAmount",
14954
- "module": "components/input/input.utils.js"
14971
+ "name": "IBANConfig",
14972
+ "module": "components/input-mask/input-mask.configs.js"
14955
14973
  }
14956
14974
  },
14957
14975
  {
14958
14976
  "kind": "js",
14959
- "name": "numberToFrAmount",
14977
+ "name": "BICConfig",
14960
14978
  "declaration": {
14961
- "name": "numberToFrAmount",
14962
- "module": "components/input/input.utils.js"
14979
+ "name": "BICConfig",
14980
+ "module": "components/input-mask/input-mask.configs.js"
14963
14981
  }
14964
14982
  },
14965
14983
  {
14966
14984
  "kind": "js",
14967
- "name": "roundToStep",
14985
+ "name": "NIRConfig",
14968
14986
  "declaration": {
14969
- "name": "roundToStep",
14970
- "module": "components/input/input.utils.js"
14987
+ "name": "NIRConfig",
14988
+ "module": "components/input-mask/input-mask.configs.js"
14971
14989
  }
14972
14990
  }
14973
14991
  ]
14974
14992
  },
14975
14993
  {
14976
14994
  "kind": "javascript-module",
14977
- "path": "components/input-date/input-date.js",
14995
+ "path": "components/input-mask/input-mask.js",
14978
14996
  "declarations": [
14979
14997
  {
14980
14998
  "kind": "class",
14981
14999
  "description": "",
14982
- "name": "DSAInputDate",
15000
+ "name": "DSAInputMask",
14983
15001
  "slots": [
14984
15002
  {
14985
15003
  "description": "The input's label. Alternatively, you can use the `label` attribute.",
@@ -14989,6 +15007,10 @@
14989
15007
  "description": "Used to prepend a presentational icon or similar element to the input.",
14990
15008
  "name": "prefix"
14991
15009
  },
15010
+ {
15011
+ "description": "Used to postpend a presentational icon or similar element to the input.",
15012
+ "name": "suffix"
15013
+ },
14992
15014
  {
14993
15015
  "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
14994
15016
  "name": "help-text"
@@ -14999,13 +15021,6 @@
14999
15021
  }
15000
15022
  ],
15001
15023
  "members": [
15002
- {
15003
- "kind": "field",
15004
- "name": "formControlController",
15005
- "privacy": "private",
15006
- "readonly": true,
15007
- "default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input', 'dsa-change'], })"
15008
- },
15009
15024
  {
15010
15025
  "kind": "field",
15011
15026
  "name": "localize",
@@ -15013,13 +15028,6 @@
15013
15028
  "readonly": true,
15014
15029
  "default": "new LocalizeController(this)"
15015
15030
  },
15016
- {
15017
- "kind": "field",
15018
- "name": "dateField",
15019
- "type": {
15020
- "text": "DSAInternalDateField"
15021
- }
15022
- },
15023
15031
  {
15024
15032
  "kind": "field",
15025
15033
  "name": "input",
@@ -15029,343 +15037,109 @@
15029
15037
  },
15030
15038
  {
15031
15039
  "kind": "field",
15032
- "name": "popup",
15033
- "type": {
15034
- "text": "DSAPopup"
15035
- }
15036
- },
15037
- {
15038
- "kind": "field",
15039
- "name": "datepickerButton",
15040
- "type": {
15041
- "text": "DSAIconButton"
15042
- }
15043
- },
15044
- {
15045
- "kind": "field",
15046
- "name": "isDatepickerOpen",
15040
+ "name": "maskedValue",
15047
15041
  "type": {
15048
- "text": "boolean"
15042
+ "text": "string"
15049
15043
  },
15050
15044
  "privacy": "private",
15051
- "default": "false"
15045
+ "default": "''"
15052
15046
  },
15053
15047
  {
15054
15048
  "kind": "field",
15055
- "name": "dateFieldHasFocus",
15049
+ "name": "inputmode",
15056
15050
  "type": {
15057
- "text": "boolean"
15051
+ "text": "'none' | 'text' | 'decimal' | 'numeric' | 'search'"
15058
15052
  },
15059
- "privacy": "private",
15060
- "default": "false"
15053
+ "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
15054
+ "attribute": "inputmode"
15061
15055
  },
15062
15056
  {
15063
15057
  "kind": "field",
15064
- "name": "value",
15058
+ "name": "pattern",
15065
15059
  "type": {
15066
15060
  "text": "string"
15067
15061
  },
15068
15062
  "default": "''",
15069
- "description": "The current value of the input, submitted as a name/value pair with form data.",
15070
- "attribute": "value"
15063
+ "description": "A regular expression pattern to validate input against.",
15064
+ "attribute": "pattern"
15071
15065
  },
15072
15066
  {
15073
15067
  "kind": "field",
15074
- "name": "defaultValue",
15068
+ "name": "mask",
15075
15069
  "type": {
15076
15070
  "text": "string"
15077
15071
  },
15078
15072
  "default": "''",
15079
- "description": "The default value of the form control. Primarily used for resetting the form control."
15080
- },
15081
- {
15082
- "kind": "field",
15083
- "name": "clearable",
15084
- "type": {
15085
- "text": "boolean"
15086
- },
15087
- "default": "false",
15088
- "description": "Adds a clear button when the input is not empty.",
15089
- "attribute": "clearable"
15090
- },
15091
- {
15092
- "kind": "field",
15093
- "name": "lang",
15094
- "type": {
15095
- "text": "string"
15096
- },
15097
- "attribute": "lang"
15098
- },
15099
- {
15100
- "kind": "field",
15101
- "name": "min",
15102
- "type": {
15103
- "text": "number | string"
15104
- },
15105
- "description": "The input's minimum value. Only applies to date and number input types.",
15106
- "attribute": "min"
15107
- },
15108
- {
15109
- "kind": "field",
15110
- "name": "max",
15111
- "type": {
15112
- "text": "number | string"
15113
- },
15114
- "description": "The input's maximum value. Only applies to date and number input types.",
15115
- "attribute": "max"
15116
- },
15117
- {
15118
- "kind": "field",
15119
- "name": "calendarStartDate",
15120
- "type": {
15121
- "text": "string"
15122
- },
15123
- "attribute": "calendar-start-date"
15124
- },
15125
- {
15126
- "kind": "field",
15127
- "name": "autofocus",
15128
- "type": {
15129
- "text": "boolean"
15130
- },
15131
- "description": "Indicates that the input should receive focus on page load.",
15132
- "attribute": "autofocus"
15133
- },
15134
- {
15135
- "kind": "field",
15136
- "name": "enterkeyhint",
15137
- "type": {
15138
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
15139
- },
15140
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
15141
- "attribute": "enterkeyhint"
15142
- },
15143
- {
15144
- "kind": "field",
15145
- "name": "valueAsDate",
15146
- "description": "Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted."
15073
+ "description": "Used to define the allowed or expected characters within a string or data input. It specifies the permissible characters that can be present at specific positions within a sequence.\nIt should follow the format defined by the placeholder, but with its own permissible characters.\n\n- all characters: includes any character, whether it's a letter, number.\n```ts\n'_'\n```\n- numeric characters: specifies numeric values that can be included.\n```ts\n'#dDmMyYaA09'\n```\n- letter characters: denotes alphabetic characters allowed in the sequence.\n```ts\n'?LaA'\n```\n\n- example including only numeric values\n```html\n<dsa-input-mask placeholder=\"dd/mm/yy\" mask=\"##/##/##\" />\n```",
15074
+ "attribute": "mask",
15075
+ "reflects": true
15147
15076
  },
15148
15077
  {
15149
15078
  "kind": "field",
15150
15079
  "name": "validity",
15151
- "description": "Gets the validity state object",
15152
- "readonly": true
15153
- },
15154
- {
15155
- "kind": "field",
15156
- "name": "validationMessage",
15157
- "description": "Gets the validation message",
15158
- "readonly": true
15159
- },
15160
- {
15161
- "kind": "method",
15162
- "name": "addOpenListeners",
15163
- "privacy": "private"
15164
- },
15165
- {
15166
- "kind": "method",
15167
- "name": "removeOpenListeners",
15168
- "privacy": "private"
15169
- },
15170
- {
15171
- "kind": "method",
15172
- "name": "handleSelectedDate",
15173
- "privacy": "private",
15174
- "parameters": [
15175
- {
15176
- "name": "event",
15177
- "type": {
15178
- "text": "DSADateSelected"
15179
- }
15180
- }
15181
- ]
15182
- },
15183
- {
15184
- "kind": "method",
15185
- "name": "handleDocumentFocusIn",
15186
- "privacy": "private",
15187
- "parameters": [
15188
- {
15189
- "name": "event",
15190
- "type": {
15191
- "text": "FocusEvent"
15192
- }
15193
- }
15194
- ]
15195
- },
15196
- {
15197
- "kind": "method",
15198
- "name": "handleDocumentMouseDown",
15199
- "privacy": "private",
15200
- "parameters": [
15201
- {
15202
- "name": "event",
15203
- "type": {
15204
- "text": "MouseEvent"
15205
- }
15206
- }
15207
- ]
15208
- },
15209
- {
15210
- "kind": "method",
15211
- "name": "handleDocumentKeyDown",
15212
- "privacy": "private",
15213
- "parameters": [
15214
- {
15215
- "name": "event",
15216
- "type": {
15217
- "text": "KeyboardEvent"
15218
- }
15219
- }
15220
- ]
15221
- },
15222
- {
15223
- "kind": "method",
15224
- "name": "handleDateFieldChange",
15225
- "privacy": "private"
15226
- },
15227
- {
15228
- "kind": "method",
15229
- "name": "handleDateFieldFocus",
15230
- "privacy": "private"
15231
- },
15232
- {
15233
- "kind": "method",
15234
- "name": "handleDateFieldBlur",
15235
- "privacy": "private"
15236
- },
15237
- {
15238
- "kind": "method",
15239
- "name": "handleClearClick",
15240
- "privacy": "private",
15241
- "parameters": [
15242
- {
15243
- "name": "event",
15244
- "type": {
15245
- "text": "MouseEvent"
15246
- }
15247
- }
15248
- ]
15249
- },
15250
- {
15251
- "kind": "method",
15252
- "name": "handleInvalid",
15253
- "privacy": "private",
15254
- "parameters": [
15255
- {
15256
- "name": "event",
15257
- "type": {
15258
- "text": "Event"
15259
- }
15260
- }
15261
- ]
15080
+ "description": "Gets the validity state object",
15081
+ "readonly": true
15262
15082
  },
15263
15083
  {
15264
15084
  "kind": "method",
15265
- "name": "getDateFieldDescription",
15085
+ "name": "handleDocumentKeyUp",
15266
15086
  "privacy": "private"
15267
15087
  },
15268
15088
  {
15269
15089
  "kind": "method",
15270
- "name": "shouldDisableDate",
15090
+ "name": "rawValueToMaskedValue",
15271
15091
  "privacy": "private",
15272
15092
  "parameters": [
15273
15093
  {
15274
- "name": "date",
15094
+ "name": "inputValue",
15275
15095
  "type": {
15276
- "text": "Date"
15096
+ "text": "string"
15277
15097
  }
15278
15098
  }
15279
15099
  ]
15280
15100
  },
15281
15101
  {
15282
15102
  "kind": "method",
15283
- "name": "handleDisabledChange"
15103
+ "name": "handleChange",
15104
+ "privacy": "protected"
15284
15105
  },
15285
15106
  {
15286
15107
  "kind": "method",
15287
- "name": "handleOpenChange"
15108
+ "name": "handleValueChange"
15288
15109
  },
15289
15110
  {
15290
15111
  "kind": "method",
15291
- "name": "focus",
15112
+ "name": "setRangeText",
15292
15113
  "parameters": [
15293
15114
  {
15294
- "name": "options",
15115
+ "name": "replacement",
15116
+ "type": {
15117
+ "text": "string"
15118
+ }
15119
+ },
15120
+ {
15121
+ "name": "start",
15295
15122
  "optional": true,
15296
15123
  "type": {
15297
- "text": "FocusOptions"
15124
+ "text": "number"
15298
15125
  }
15299
- }
15300
- ],
15301
- "description": "Sets focus on the input."
15302
- },
15303
- {
15304
- "kind": "method",
15305
- "name": "blur",
15306
- "description": "Removes focus from the input."
15307
- },
15308
- {
15309
- "kind": "method",
15310
- "name": "showDatepicker",
15311
- "description": "Displays the dsa-calendar picker for an input element."
15312
- },
15313
- {
15314
- "kind": "method",
15315
- "name": "hideDatepicker",
15316
- "description": "Hides dsa-calendar."
15317
- },
15318
- {
15319
- "kind": "method",
15320
- "name": "checkValidity",
15321
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
15322
- },
15323
- {
15324
- "kind": "method",
15325
- "name": "getForm",
15326
- "return": {
15327
- "type": {
15328
- "text": "HTMLFormElement | null"
15329
- }
15330
- },
15331
- "description": "Gets the associated form, if one exists."
15332
- },
15333
- {
15334
- "kind": "method",
15335
- "name": "reportValidity",
15336
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
15337
- },
15338
- {
15339
- "kind": "method",
15340
- "name": "setCustomValidity",
15341
- "parameters": [
15126
+ },
15342
15127
  {
15343
- "name": "message",
15128
+ "name": "end",
15129
+ "optional": true,
15344
15130
  "type": {
15345
- "text": "string"
15131
+ "text": "number"
15132
+ }
15133
+ },
15134
+ {
15135
+ "name": "selectMode",
15136
+ "optional": true,
15137
+ "type": {
15138
+ "text": "'select' | 'start' | 'end' | 'preserve'"
15346
15139
  }
15347
15140
  }
15348
15141
  ],
15349
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
15350
- },
15351
- {
15352
- "kind": "method",
15353
- "name": "getUpdateComplete",
15354
- "return": {
15355
- "type": {
15356
- "text": "Promise<boolean>"
15357
- }
15358
- }
15359
- },
15360
- {
15361
- "kind": "method",
15362
- "name": "handleLabelClick",
15363
- "privacy": "protected",
15364
- "return": {
15365
- "type": {
15366
- "text": "void"
15367
- }
15368
- }
15142
+ "description": "Replaces a range of text with a new string."
15369
15143
  },
15370
15144
  {
15371
15145
  "kind": "method",
@@ -15396,100 +15170,47 @@
15396
15170
  {
15397
15171
  "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
15398
15172
  "name": "dsa-invalid"
15399
- },
15400
- {
15401
- "description": "Emitted when the picker opens.",
15402
- "name": "dsa-show"
15403
- },
15404
- {
15405
- "description": "Emitted after the picker opens and all animations are complete.",
15406
- "name": "dsa-after-show"
15407
- },
15408
- {
15409
- "description": "Emitted when the picker closes.",
15410
- "name": "dsa-hide"
15411
- },
15412
- {
15413
- "description": "Emitted after the picker closes and all animations are complete.",
15414
- "name": "dsa-after-hide"
15415
15173
  }
15416
15174
  ],
15417
15175
  "attributes": [
15418
15176
  {
15419
- "name": "value",
15420
- "type": {
15421
- "text": "string"
15422
- },
15423
- "default": "''",
15424
- "description": "The current value of the input, submitted as a name/value pair with form data.",
15425
- "fieldName": "value"
15426
- },
15427
- {
15428
- "name": "clearable",
15177
+ "name": "inputmode",
15429
15178
  "type": {
15430
- "text": "boolean"
15179
+ "text": "'none' | 'text' | 'decimal' | 'numeric' | 'search'"
15431
15180
  },
15432
- "default": "false",
15433
- "description": "Adds a clear button when the input is not empty.",
15434
- "fieldName": "clearable"
15181
+ "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
15182
+ "fieldName": "inputmode"
15435
15183
  },
15436
15184
  {
15437
- "name": "lang",
15185
+ "name": "pattern",
15438
15186
  "type": {
15439
15187
  "text": "string"
15440
15188
  },
15441
- "fieldName": "lang"
15442
- },
15443
- {
15444
- "name": "min",
15445
- "type": {
15446
- "text": "number | string"
15447
- },
15448
- "description": "The input's minimum value. Only applies to date and number input types.",
15449
- "fieldName": "min"
15450
- },
15451
- {
15452
- "name": "max",
15453
- "type": {
15454
- "text": "number | string"
15455
- },
15456
- "description": "The input's maximum value. Only applies to date and number input types.",
15457
- "fieldName": "max"
15189
+ "default": "''",
15190
+ "description": "A regular expression pattern to validate input against.",
15191
+ "fieldName": "pattern"
15458
15192
  },
15459
15193
  {
15460
- "name": "calendar-start-date",
15194
+ "name": "mask",
15461
15195
  "type": {
15462
15196
  "text": "string"
15463
15197
  },
15464
- "fieldName": "calendarStartDate"
15465
- },
15466
- {
15467
- "name": "autofocus",
15468
- "type": {
15469
- "text": "boolean"
15470
- },
15471
- "description": "Indicates that the input should receive focus on page load.",
15472
- "fieldName": "autofocus"
15473
- },
15474
- {
15475
- "name": "enterkeyhint",
15476
- "type": {
15477
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
15478
- },
15479
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
15480
- "fieldName": "enterkeyhint"
15198
+ "default": "''",
15199
+ "description": "Used to define the allowed or expected characters within a string or data input. It specifies the permissible characters that can be present at specific positions within a sequence.\nIt should follow the format defined by the placeholder, but with its own permissible characters.\n\n- all characters: includes any character, whether it's a letter, number.\n```ts\n'_'\n```\n- numeric characters: specifies numeric values that can be included.\n```ts\n'#dDmMyYaA09'\n```\n- letter characters: denotes alphabetic characters allowed in the sequence.\n```ts\n'?LaA'\n```\n\n- example including only numeric values\n```html\n<dsa-input-mask placeholder=\"dd/mm/yy\" mask=\"##/##/##\" />\n```",
15200
+ "fieldName": "mask"
15481
15201
  }
15482
15202
  ],
15483
15203
  "superclass": {
15484
- "name": "FormControlLayout",
15485
- "module": "/src/internal/components/form-control/form-control-layout"
15204
+ "name": "InputBase",
15205
+ "module": "/src/internal/components/input-base/input-base"
15486
15206
  },
15487
- "summary": "(Internal) Input-date collect date data from the user.",
15207
+ "summary": "Input Masks collect data from the user in a masked fashion.",
15208
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/input-mask/web-hTyf0FvL",
15488
15209
  "dependencies": [
15489
- "dsa-icon-button",
15490
- "dsa-error-text"
15210
+ "dsa-error-text",
15211
+ "dsa-icon"
15491
15212
  ],
15492
- "tagName": "dsa-input-date",
15213
+ "tagName": "dsa-input-mask",
15493
15214
  "customElement": true
15494
15215
  }
15495
15216
  ],
@@ -15498,87 +15219,198 @@
15498
15219
  "kind": "js",
15499
15220
  "name": "default",
15500
15221
  "declaration": {
15501
- "name": "DSAInputDate",
15502
- "module": "components/input-date/input-date.js"
15222
+ "name": "DSAInputMask",
15223
+ "module": "components/input-mask/input-mask.js"
15503
15224
  }
15504
15225
  },
15505
15226
  {
15506
15227
  "kind": "custom-element-definition",
15507
- "name": "dsa-input-date",
15228
+ "name": "dsa-input-mask",
15508
15229
  "declaration": {
15509
- "name": "DSAInputDate",
15510
- "module": "components/input-date/input-date.js"
15230
+ "name": "DSAInputMask",
15231
+ "module": "components/input-mask/input-mask.js"
15511
15232
  }
15512
15233
  }
15513
15234
  ]
15514
15235
  },
15515
15236
  {
15516
15237
  "kind": "javascript-module",
15517
- "path": "components/input-mask/input-mask.configs.js",
15238
+ "path": "components/input-mask/input-mask.utils.js",
15518
15239
  "declarations": [
15519
15240
  {
15520
15241
  "kind": "variable",
15521
- "name": "IBANConfig",
15242
+ "name": "specialCharPattern",
15243
+ "default": "/[^a-zA-Z0-9#?_]+/g"
15244
+ },
15245
+ {
15246
+ "kind": "variable",
15247
+ "name": "normalCharPattern",
15248
+ "default": "/^[_A-z0-9]*((-)*[_A-z0-9])*$/"
15249
+ },
15250
+ {
15251
+ "kind": "variable",
15252
+ "name": "maskOptions",
15253
+ "type": {
15254
+ "text": "{\n allChar: '_',\n numericChar: '#dDmMyYaA09',\n alphaChar: '?LaA',\n}"
15255
+ },
15256
+ "default": "{ allChar: '_', numericChar: '#dDmMyYaA09', alphaChar: '?LaA', }"
15257
+ },
15258
+ {
15259
+ "kind": "function",
15260
+ "name": "stripSpecialChars",
15261
+ "parameters": [
15262
+ {
15263
+ "name": "word",
15264
+ "type": {
15265
+ "text": "string"
15266
+ }
15267
+ }
15268
+ ]
15269
+ },
15270
+ {
15271
+ "kind": "function",
15272
+ "name": "rawValueToMaskedValue",
15273
+ "parameters": [
15274
+ {
15275
+ "name": "rawValue",
15276
+ "type": {
15277
+ "text": "string"
15278
+ }
15279
+ },
15280
+ {
15281
+ "name": "mask",
15282
+ "type": {
15283
+ "text": "string"
15284
+ }
15285
+ }
15286
+ ]
15287
+ },
15288
+ {
15289
+ "kind": "function",
15290
+ "name": "maskedValueToRawValue",
15291
+ "parameters": [
15292
+ {
15293
+ "name": "value",
15294
+ "type": {
15295
+ "text": "string"
15296
+ }
15297
+ },
15298
+ {
15299
+ "name": "mask",
15300
+ "type": {
15301
+ "text": "string"
15302
+ }
15303
+ }
15304
+ ]
15305
+ },
15306
+ {
15307
+ "kind": "variable",
15308
+ "name": "IBANTestValues",
15522
15309
  "type": {
15523
- "text": "DSAMaskConfig"
15310
+ "text": "array"
15524
15311
  },
15525
- "default": "{ placeholder: '____ ____ ____ ____ ____ ____ ____ ___', mask: 'LL__ ____ ____ ____ ____ ____ ____ ___', pattern: '^(?:((?:IT|SM)\\\\d{2}[A-Z]{1}\\\\d{22})|(NL\\\\d{2}[A-Z]{4}\\\\d{10})|(LV\\\\d{2}[A-Z]{4}\\\\d{13})|((?:BG|GB|IE)\\\\d{2}[A-Z]{4}\\\\d{14})|(GI\\\\d{2}[A-Z]{4}\\\\d{15})|(RO\\\\d{2}[A-Z]{4}\\\\d{16})|(MT\\\\d{2}[A-Z]{4}\\\\d{23})|(NO\\\\d{13})|((?:DK|FI)\\\\d{16})|((?:SI)\\\\d{17})|((?:AT|EE|LU|LT)\\\\d{18})|((?:HR|LI|CH)\\\\d{19})|((?:DE|VA)\\\\d{20})|((?:AD|CZ|ES|MD|SK|SE)\\\\d{22})|(PT\\\\d{23})|((?:IS)\\\\d{24})|((?:BE)\\\\d{14})|((?:FR|MC|GR)\\\\d{25})|((?:PL|HU|CY)\\\\d{26}))$', 'help-text': `Indicatif pays en 2 lettres majuscules suivi de 10 à 31 charactères numériques`, }",
15526
- "description": "Input Mask configuration for IBAN from countries within the SEPA area."
15312
+ "default": "[ 'AD1400080001001234567890', 'AT483200000012345864', 'BE71096123456769', 'BG18RZBB91550123456789', 'HR1723600001101234565', 'CY21002001950000357001234567', 'CZ5508000000001234567899', 'DK9520000123456789', 'EE471000001020145685', 'FI1410093000123458', 'FR7630006000011234567890189', 'DE75512108001245126199', 'GI04BARC000001234567890', 'GR9608100010000001234567890', 'HU93116000060000000012345676', 'IS750001121234563108962099', 'IE64IRCE92050112345678', 'IT60X0542811101000000123456', 'LV97HABA0012345678910', 'LI7408806123456789012', 'LT601010012345678901', 'LU120010001234567891', 'MT31MALT01100000000000000000123', 'MC5810096180790123456789085', 'NL02ABNA0123456789', 'NO8330001234567', 'PL10105000997603123456789123', 'PT50002700000001234567833', 'RO09BCYP0000001234567890', 'SM76P0854009812123456789123', 'SK8975000000000012345671', 'SI56192001234567892', 'ES7921000813610123456789', 'SE7280000810340009783242', 'CH5604835012345678009', 'GB33BUKB20201555555555', 'VA59001123000012345678', ]"
15527
15313
  },
15528
15314
  {
15529
15315
  "kind": "variable",
15530
- "name": "BICConfig",
15316
+ "name": "BICTestValues",
15531
15317
  "type": {
15532
- "text": "DSAMaskConfig"
15318
+ "text": "array"
15533
15319
  },
15534
- "default": "{ placeholder: '____ __ __ ___', pattern: `([a-zA-Z]{4})([a-zA-Z]{2})(([2-9a-zA-Z]{1})([0-9a-np-zA-NP-Z]{1}))((([0-9a-wy-zA-WY-Z]{1})([0-9a-zA-Z]{2}))|([xX]{3})|)`, 'help-text': '8 ou 11 charactères', }",
15535
- "description": "Input Mask configuration for BIC/Swift. Pattern compatible the 100 principal banks of France."
15320
+ "default": "[ 'DEKTDE7GXXX', 'GEBABEBB', 'BKAUATWW', 'COBADEFF060', 'UCJAES2MXXX', 'ESSEDE5F100', 'CMCIFRPP', 'CHASFIHHXXX', 'PBNKDEFF100', 'ZUNOCZPP', 'ABNACHZ8XXX', 'DNBANOKK', 'DEUTDEDB101', 'ARSPBE22', 'DXIADEBBXXX', 'SOGEFRPP', // Société générale 'BNPAFRPPXXX', //BNP 'CMCIFR2AXXX', // Crédit Mutuel 'CMCIFRPPXXX', //CIC banque 'PSSTFRPPPAR', //Banque postale 'PSSTFRPPLIL', 'PSSTFRPPSCE', 'PSSTFRPPMAR', 'CMBRFR2BXXX', //credit mutuelle 'CEPAFRPP627', //caise d'epargne 'PSSTFRPPCNE', 'CEPAFRPP751', 'AGRIFRPP867', 'AGRIFRPP878', 'PSSTFRPPBOR', 'CEPAFRPP382', 'PSSTFRPPLYO', 'AGRIFRPP887', 'AGRIFRPP891', 'CEPAFRPP444', 'PSSTFRPPMON', 'AGRIFRPP882', 'AGRIFRPP835', 'CEPAFRPP513', 'CEPAFRPP333', 'PSSTFRPPTOU', 'AGRIFRPP833', 'AGRIFRPP802', 'CEPAFRPP131', 'AGRIFRPP868', 'PSSTFRPPROU', 'CEPAFRPP142', 'AGRIFRPP847', 'AGRIFRPP866', 'CEPAFRPP313', 'AGRIFRPP879', 'CEPAFRPP348', 'AGRIFRPP813', 'CCBPFRPPGRE', 'PSSTFRPPNTE', 'AGRIFRPP848', 'CEPAFRPP213', 'CCBPFRPPDJN', 'AGRIFRPP810', 'AGRIFRPP881', 'PSSTFRPPDIJ', 'AGRIFRPP839', 'AGRIFRPP883', 'CCBPFRPPBDX', 'CEPAFRPP450', 'BREDFRPPXXX', 'PSSTFRPPLIM', 'CCBPFRPPMTZ', 'AGRIFRPP869', 'PSSTFRPPCLE', 'AGRIFRPP812', 'CCBPFRPPNAN', 'CCBPFRPPTLS', 'PSSTFRPPCHA', 'PSSTFRPPNCY', 'PSSTFRPPGRE', 'CEPAFRPP831', 'CCBPFRPPMTG', 'AGRIFRPP825', 'AGRIFRPP845', 'PSSTFRPPREN', 'CEPAFRPP871', 'AGRIFRPP831', 'CEPAFRPP426', 'AGRIFRPP861', 'AGRIFRPP836', 'AGRIFRPP817', 'AGRIFRPP894', 'CCBPFRPPPPG', 'SOAPFR22XXX', 'CCBPFRPPVER', 'AGRIFRPP829', 'AGRIFRPP824', 'CCBPFRPPMAR', 'AGRIFRPP871', 'AGRIFRPP822', 'AGRIFRPP844', 'AGRIFRPP872', 'CCBPFRPPLIL', 'AGRIFRPP895', 'AGRIFRPP860', 'PSSTFRPPSDR', 'AXABFRPPXXX', 'PSSTFRPPSTR', 'CCOPFRPPXXX', 'SORMFR2NXXX', 'CCBPFRPPREN', 'PSSTFRPPBTE', 'GPBAFRPPXXX', 'PSSTFRPPCAY', 'PRNSFRP1XXX', 'CMCIFRP1MON', 'FTNOFRP1XXX', 'PSSTFRPPFDF', 'CEPAFRPP670', 'CMBRFR2BARK', ]"
15536
15321
  },
15537
15322
  {
15538
15323
  "kind": "variable",
15539
- "name": "NIRConfig",
15324
+ "name": "NIRTestValues",
15540
15325
  "type": {
15541
- "text": "DSAMaskConfig"
15326
+ "text": "array"
15542
15327
  },
15543
- "default": "{ placeholder: '_ __ __ __ ___ ___ __', mask: '# ## ## ## ### ### ##', pattern: `[12][0-9]{2}(0[1-9]|1[0-2])(2[AB]|[0-9]{2})[0-9]{3}[0-9]{3}([0-9]{2})`, 'help-text': '15 charactères', }",
15544
- "description": "Input Mask configuration for NIR"
15328
+ "default": "['187089932132113']"
15545
15329
  }
15546
15330
  ],
15547
15331
  "exports": [
15548
15332
  {
15549
15333
  "kind": "js",
15550
- "name": "IBANConfig",
15334
+ "name": "specialCharPattern",
15551
15335
  "declaration": {
15552
- "name": "IBANConfig",
15553
- "module": "components/input-mask/input-mask.configs.js"
15336
+ "name": "specialCharPattern",
15337
+ "module": "components/input-mask/input-mask.utils.js"
15554
15338
  }
15555
15339
  },
15556
15340
  {
15557
15341
  "kind": "js",
15558
- "name": "BICConfig",
15342
+ "name": "normalCharPattern",
15559
15343
  "declaration": {
15560
- "name": "BICConfig",
15561
- "module": "components/input-mask/input-mask.configs.js"
15344
+ "name": "normalCharPattern",
15345
+ "module": "components/input-mask/input-mask.utils.js"
15562
15346
  }
15563
15347
  },
15564
15348
  {
15565
15349
  "kind": "js",
15566
- "name": "NIRConfig",
15350
+ "name": "maskOptions",
15567
15351
  "declaration": {
15568
- "name": "NIRConfig",
15569
- "module": "components/input-mask/input-mask.configs.js"
15352
+ "name": "maskOptions",
15353
+ "module": "components/input-mask/input-mask.utils.js"
15354
+ }
15355
+ },
15356
+ {
15357
+ "kind": "js",
15358
+ "name": "stripSpecialChars",
15359
+ "declaration": {
15360
+ "name": "stripSpecialChars",
15361
+ "module": "components/input-mask/input-mask.utils.js"
15362
+ }
15363
+ },
15364
+ {
15365
+ "kind": "js",
15366
+ "name": "rawValueToMaskedValue",
15367
+ "declaration": {
15368
+ "name": "rawValueToMaskedValue",
15369
+ "module": "components/input-mask/input-mask.utils.js"
15370
+ }
15371
+ },
15372
+ {
15373
+ "kind": "js",
15374
+ "name": "maskedValueToRawValue",
15375
+ "declaration": {
15376
+ "name": "maskedValueToRawValue",
15377
+ "module": "components/input-mask/input-mask.utils.js"
15378
+ }
15379
+ },
15380
+ {
15381
+ "kind": "js",
15382
+ "name": "IBANTestValues",
15383
+ "declaration": {
15384
+ "name": "IBANTestValues",
15385
+ "module": "components/input-mask/input-mask.utils.js"
15386
+ }
15387
+ },
15388
+ {
15389
+ "kind": "js",
15390
+ "name": "BICTestValues",
15391
+ "declaration": {
15392
+ "name": "BICTestValues",
15393
+ "module": "components/input-mask/input-mask.utils.js"
15394
+ }
15395
+ },
15396
+ {
15397
+ "kind": "js",
15398
+ "name": "NIRTestValues",
15399
+ "declaration": {
15400
+ "name": "NIRTestValues",
15401
+ "module": "components/input-mask/input-mask.utils.js"
15570
15402
  }
15571
15403
  }
15572
15404
  ]
15573
15405
  },
15574
15406
  {
15575
15407
  "kind": "javascript-module",
15576
- "path": "components/input-mask/input-mask.js",
15408
+ "path": "components/input-native/input-native.js",
15577
15409
  "declarations": [
15578
15410
  {
15579
15411
  "kind": "class",
15580
15412
  "description": "",
15581
- "name": "DSAInputMask",
15413
+ "name": "DSAInputNative",
15582
15414
  "slots": [
15583
15415
  {
15584
15416
  "description": "The input's label. Alternatively, you can use the `label` attribute.",
@@ -15602,223 +15434,57 @@
15602
15434
  }
15603
15435
  ],
15604
15436
  "members": [
15605
- {
15606
- "kind": "field",
15607
- "name": "formControlController",
15608
- "privacy": "private",
15609
- "readonly": true,
15610
- "default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input'], })"
15611
- },
15612
- {
15613
- "kind": "field",
15614
- "name": "localize",
15615
- "privacy": "private",
15616
- "readonly": true,
15617
- "default": "new LocalizeController(this)"
15618
- },
15619
- {
15620
- "kind": "field",
15621
- "name": "input",
15622
- "type": {
15623
- "text": "HTMLInputElement"
15624
- }
15625
- },
15626
- {
15627
- "kind": "field",
15628
- "name": "hasFocus",
15629
- "type": {
15630
- "text": "boolean"
15631
- },
15632
- "privacy": "private",
15633
- "default": "false"
15634
- },
15635
- {
15636
- "kind": "field",
15637
- "name": "maskedValue",
15638
- "type": {
15639
- "text": "string"
15640
- },
15641
- "privacy": "private",
15642
- "default": "''"
15643
- },
15644
- {
15645
- "kind": "field",
15646
- "name": "value",
15647
- "type": {
15648
- "text": "string"
15649
- },
15650
- "default": "''",
15651
- "description": "The current value of the input, submitted as a name/value pair with form data.",
15652
- "attribute": "value"
15653
- },
15654
- {
15655
- "kind": "field",
15656
- "name": "defaultValue",
15657
- "type": {
15658
- "text": "string"
15659
- },
15660
- "default": "''",
15661
- "description": "The default value of the form control. Primarily used for resetting the form control."
15662
- },
15663
- {
15664
- "kind": "field",
15665
- "name": "clearable",
15666
- "type": {
15667
- "text": "boolean"
15668
- },
15669
- "default": "false",
15670
- "description": "Adds a clear button when the input is not empty.",
15671
- "attribute": "clearable"
15672
- },
15673
- {
15674
- "kind": "field",
15675
- "name": "inputmode",
15676
- "type": {
15677
- "text": "'none' | 'text' | 'decimal' | 'numeric' | 'search'"
15678
- },
15679
- "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
15680
- "attribute": "inputmode"
15681
- },
15682
- {
15683
- "kind": "field",
15684
- "name": "pattern",
15685
- "type": {
15686
- "text": "string"
15687
- },
15688
- "default": "''",
15689
- "description": "A regular expression pattern to validate input against.",
15690
- "attribute": "pattern"
15691
- },
15692
- {
15693
- "kind": "field",
15694
- "name": "minlength",
15695
- "type": {
15696
- "text": "number"
15697
- },
15698
- "description": "The minimum length of input that will be considered valid.",
15699
- "attribute": "minlength"
15700
- },
15701
- {
15702
- "kind": "field",
15703
- "name": "autocorrect",
15704
- "type": {
15705
- "text": "'off' | 'on'"
15706
- },
15707
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
15708
- "attribute": "autocorrect"
15709
- },
15710
- {
15711
- "kind": "field",
15712
- "name": "autocomplete",
15713
- "type": {
15714
- "text": "string"
15715
- },
15716
- "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
15717
- "attribute": "autocomplete"
15718
- },
15719
- {
15720
- "kind": "field",
15721
- "name": "autofocus",
15722
- "type": {
15723
- "text": "boolean"
15724
- },
15725
- "description": "Indicates that the input should receive focus on page load.",
15726
- "attribute": "autofocus"
15727
- },
15728
- {
15729
- "kind": "field",
15730
- "name": "enterkeyhint",
15731
- "type": {
15732
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
15733
- },
15734
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
15735
- "attribute": "enterkeyhint"
15736
- },
15737
- {
15738
- "kind": "field",
15739
- "name": "mask",
15740
- "type": {
15741
- "text": "string"
15742
- },
15743
- "default": "''",
15744
- "description": "Used to define the allowed or expected characters within a string or data input. It specifies the permissible characters that can be present at specific positions within a sequence.\nIt should follow the format defined by the placeholder, but with its own permissible characters.\n\n- all characters: includes any character, whether it's a letter, number.\n```ts\n'_'\n```\n- numeric characters: specifies numeric values that can be included.\n```ts\n'#dDmMyYaA09'\n```\n- letter characters: denotes alphabetic characters allowed in the sequence.\n```ts\n'?LaA'\n```\n\n- example including only numeric values\n```html\n<dsa-input-mask placeholder=\"dd/mm/yy\" mask=\"##/##/##\" />\n```",
15745
- "attribute": "mask",
15746
- "reflects": true
15747
- },
15748
- {
15749
- "kind": "field",
15750
- "name": "validity",
15751
- "description": "Gets the validity state object",
15752
- "readonly": true
15753
- },
15754
- {
15755
- "kind": "field",
15756
- "name": "validationMessage",
15757
- "description": "Gets the validation message",
15758
- "readonly": true
15759
- },
15760
- {
15761
- "kind": "method",
15762
- "name": "handleDocumentKeyUp",
15763
- "privacy": "private"
15437
+ {
15438
+ "kind": "field",
15439
+ "name": "localize",
15440
+ "privacy": "private",
15441
+ "readonly": true,
15442
+ "default": "new LocalizeController(this)"
15764
15443
  },
15765
15444
  {
15766
- "kind": "method",
15767
- "name": "handleBlur",
15768
- "privacy": "private"
15445
+ "kind": "field",
15446
+ "name": "input",
15447
+ "type": {
15448
+ "text": "HTMLInputElement"
15449
+ },
15450
+ "privacy": "protected"
15769
15451
  },
15770
15452
  {
15771
- "kind": "method",
15772
- "name": "rawValueToMaskedValue",
15773
- "privacy": "private",
15774
- "parameters": [
15775
- {
15776
- "name": "inputValue",
15777
- "type": {
15778
- "text": "string"
15779
- }
15780
- }
15781
- ]
15453
+ "kind": "field",
15454
+ "name": "valueAsNumber",
15455
+ "description": "Gets or sets the current value as a number. Returns `NaN` if the value can't be converted."
15782
15456
  },
15783
15457
  {
15784
15458
  "kind": "method",
15785
- "name": "handleClearClick",
15786
- "privacy": "private",
15787
- "parameters": [
15788
- {
15789
- "name": "event",
15790
- "type": {
15791
- "text": "MouseEvent"
15792
- }
15793
- }
15794
- ]
15459
+ "name": "handleChange",
15460
+ "privacy": "protected"
15795
15461
  },
15796
15462
  {
15797
15463
  "kind": "method",
15798
- "name": "handleFocus",
15464
+ "name": "handleAmountChange",
15799
15465
  "privacy": "private"
15800
15466
  },
15801
15467
  {
15802
15468
  "kind": "method",
15803
- "name": "handleChange",
15804
- "privacy": "private"
15469
+ "name": "handleInput",
15470
+ "privacy": "protected"
15805
15471
  },
15806
15472
  {
15807
15473
  "kind": "method",
15808
- "name": "handleInvalid",
15809
- "privacy": "private",
15474
+ "name": "handleKeyDown",
15475
+ "privacy": "protected",
15810
15476
  "parameters": [
15811
15477
  {
15812
15478
  "name": "event",
15813
15479
  "type": {
15814
- "text": "Event"
15480
+ "text": "KeyboardEvent"
15815
15481
  }
15816
15482
  }
15817
15483
  ]
15818
15484
  },
15819
15485
  {
15820
15486
  "kind": "method",
15821
- "name": "handleKeyDown",
15487
+ "name": "handleAmountKeydown",
15822
15488
  "privacy": "private",
15823
15489
  "parameters": [
15824
15490
  {
@@ -15831,116 +15497,60 @@
15831
15497
  },
15832
15498
  {
15833
15499
  "kind": "method",
15834
- "name": "getDescriptionIds",
15500
+ "name": "getSafeStep",
15835
15501
  "privacy": "private"
15836
15502
  },
15837
15503
  {
15838
15504
  "kind": "method",
15839
- "name": "handleDisabledChange"
15840
- },
15841
- {
15842
- "kind": "method",
15843
- "name": "handleValueChange"
15505
+ "name": "handlePasswordToggle",
15506
+ "privacy": "private"
15844
15507
  },
15845
15508
  {
15846
15509
  "kind": "method",
15847
- "name": "focus",
15510
+ "name": "adjustAmountValue",
15511
+ "privacy": "private",
15848
15512
  "parameters": [
15849
15513
  {
15850
- "name": "options",
15851
- "optional": true,
15514
+ "name": "direction",
15852
15515
  "type": {
15853
- "text": "FocusOptions"
15516
+ "text": "'up' | 'down'"
15854
15517
  }
15855
15518
  }
15856
- ],
15857
- "description": "Sets focus on the input."
15858
- },
15859
- {
15860
- "kind": "method",
15861
- "name": "blur",
15862
- "description": "Removes focus from the input."
15863
- },
15864
- {
15865
- "kind": "method",
15866
- "name": "select",
15867
- "description": "Selects all the text in the input."
15519
+ ]
15868
15520
  },
15869
15521
  {
15870
15522
  "kind": "method",
15871
- "name": "setSelectionRange",
15523
+ "name": "stepUp",
15872
15524
  "parameters": [
15873
15525
  {
15874
- "name": "selectionStart",
15875
- "type": {
15876
- "text": "number"
15877
- }
15878
- },
15879
- {
15880
- "name": "selectionEnd",
15526
+ "name": "stepNumber",
15527
+ "optional": true,
15881
15528
  "type": {
15882
15529
  "text": "number"
15883
15530
  }
15884
- },
15885
- {
15886
- "name": "selectionDirection",
15887
- "default": "'none'",
15888
- "type": {
15889
- "text": "'forward' | 'backward' | 'none'"
15890
- }
15891
15531
  }
15892
15532
  ],
15893
- "description": "Sets the start and end positions of the text selection (0-based)."
15533
+ "description": "Increments the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter."
15894
15534
  },
15895
15535
  {
15896
15536
  "kind": "method",
15897
- "name": "setRangeText",
15537
+ "name": "stepDown",
15898
15538
  "parameters": [
15899
15539
  {
15900
- "name": "replacement",
15901
- "type": {
15902
- "text": "string"
15903
- }
15904
- },
15905
- {
15906
- "name": "start",
15907
- "optional": true,
15908
- "type": {
15909
- "text": "number"
15910
- }
15911
- },
15912
- {
15913
- "name": "end",
15540
+ "name": "stepNumber",
15914
15541
  "optional": true,
15915
15542
  "type": {
15916
15543
  "text": "number"
15917
15544
  }
15918
- },
15919
- {
15920
- "name": "selectMode",
15921
- "optional": true,
15922
- "type": {
15923
- "text": "'select' | 'start' | 'end' | 'preserve'"
15924
- }
15925
15545
  }
15926
15546
  ],
15927
- "description": "Replaces a range of text with a new string."
15547
+ "description": "Decrements the value of a numeric or time input type by the value of the step attribute, multiplied by an optional number parameter."
15928
15548
  },
15929
15549
  {
15930
15550
  "kind": "method",
15931
15551
  "name": "checkValidity",
15932
15552
  "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
15933
15553
  },
15934
- {
15935
- "kind": "method",
15936
- "name": "getForm",
15937
- "return": {
15938
- "type": {
15939
- "text": "HTMLFormElement | null"
15940
- }
15941
- },
15942
- "description": "Gets the associated form, if one exists."
15943
- },
15944
15554
  {
15945
15555
  "kind": "method",
15946
15556
  "name": "reportValidity",
@@ -15948,20 +15558,16 @@
15948
15558
  },
15949
15559
  {
15950
15560
  "kind": "method",
15951
- "name": "setCustomValidity",
15952
- "parameters": [
15953
- {
15954
- "name": "message",
15955
- "type": {
15956
- "text": "string"
15957
- }
15958
- }
15959
- ],
15960
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
15561
+ "name": "checkAmountValidity",
15562
+ "privacy": "private"
15961
15563
  },
15962
15564
  {
15963
15565
  "kind": "method",
15964
15566
  "name": "renderInput"
15567
+ },
15568
+ {
15569
+ "kind": "method",
15570
+ "name": "renderCounter"
15965
15571
  }
15966
15572
  ],
15967
15573
  "events": [
@@ -15990,103 +15596,17 @@
15990
15596
  "name": "dsa-invalid"
15991
15597
  }
15992
15598
  ],
15993
- "attributes": [
15994
- {
15995
- "name": "value",
15996
- "type": {
15997
- "text": "string"
15998
- },
15999
- "default": "''",
16000
- "description": "The current value of the input, submitted as a name/value pair with form data.",
16001
- "fieldName": "value"
16002
- },
16003
- {
16004
- "name": "clearable",
16005
- "type": {
16006
- "text": "boolean"
16007
- },
16008
- "default": "false",
16009
- "description": "Adds a clear button when the input is not empty.",
16010
- "fieldName": "clearable"
16011
- },
16012
- {
16013
- "name": "inputmode",
16014
- "type": {
16015
- "text": "'none' | 'text' | 'decimal' | 'numeric' | 'search'"
16016
- },
16017
- "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
16018
- "fieldName": "inputmode"
16019
- },
16020
- {
16021
- "name": "pattern",
16022
- "type": {
16023
- "text": "string"
16024
- },
16025
- "default": "''",
16026
- "description": "A regular expression pattern to validate input against.",
16027
- "fieldName": "pattern"
16028
- },
16029
- {
16030
- "name": "minlength",
16031
- "type": {
16032
- "text": "number"
16033
- },
16034
- "description": "The minimum length of input that will be considered valid.",
16035
- "fieldName": "minlength"
16036
- },
16037
- {
16038
- "name": "autocorrect",
16039
- "type": {
16040
- "text": "'off' | 'on'"
16041
- },
16042
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
16043
- "fieldName": "autocorrect"
16044
- },
16045
- {
16046
- "name": "autocomplete",
16047
- "type": {
16048
- "text": "string"
16049
- },
16050
- "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
16051
- "fieldName": "autocomplete"
16052
- },
16053
- {
16054
- "name": "autofocus",
16055
- "type": {
16056
- "text": "boolean"
16057
- },
16058
- "description": "Indicates that the input should receive focus on page load.",
16059
- "fieldName": "autofocus"
16060
- },
16061
- {
16062
- "name": "enterkeyhint",
16063
- "type": {
16064
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
16065
- },
16066
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
16067
- "fieldName": "enterkeyhint"
16068
- },
16069
- {
16070
- "name": "mask",
16071
- "type": {
16072
- "text": "string"
16073
- },
16074
- "default": "''",
16075
- "description": "Used to define the allowed or expected characters within a string or data input. It specifies the permissible characters that can be present at specific positions within a sequence.\nIt should follow the format defined by the placeholder, but with its own permissible characters.\n\n- all characters: includes any character, whether it's a letter, number.\n```ts\n'_'\n```\n- numeric characters: specifies numeric values that can be included.\n```ts\n'#dDmMyYaA09'\n```\n- letter characters: denotes alphabetic characters allowed in the sequence.\n```ts\n'?LaA'\n```\n\n- example including only numeric values\n```html\n<dsa-input-mask placeholder=\"dd/mm/yy\" mask=\"##/##/##\" />\n```",
16076
- "fieldName": "mask"
16077
- }
16078
- ],
16079
15599
  "superclass": {
16080
- "name": "FormControlLayout",
16081
- "module": "/src/internal/components/form-control/form-control-layout"
15600
+ "name": "InputBase",
15601
+ "module": "/src/internal/components/input-base/input-base"
16082
15602
  },
16083
- "summary": "Input Masks collect data from the user in a masked fashion.",
16084
- "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/input-mask/web-hTyf0FvL",
15603
+ "summary": "(Internal) Inputs with native browser behavior.\n*",
16085
15604
  "dependencies": [
16086
- "dsa-error-text",
16087
- "dsa-icon"
15605
+ "dsa-icon",
15606
+ "dsa-icon-button",
15607
+ "dsa-error-text"
16088
15608
  ],
16089
- "tagName": "dsa-input-mask",
15609
+ "tagName": "dsa-input-native",
16090
15610
  "customElement": true
16091
15611
  }
16092
15612
  ],
@@ -16095,186 +15615,155 @@
16095
15615
  "kind": "js",
16096
15616
  "name": "default",
16097
15617
  "declaration": {
16098
- "name": "DSAInputMask",
16099
- "module": "components/input-mask/input-mask.js"
15618
+ "name": "DSAInputNative",
15619
+ "module": "components/input-native/input-native.js"
16100
15620
  }
16101
15621
  },
16102
15622
  {
16103
15623
  "kind": "custom-element-definition",
16104
- "name": "dsa-input-mask",
15624
+ "name": "dsa-input-native",
16105
15625
  "declaration": {
16106
- "name": "DSAInputMask",
16107
- "module": "components/input-mask/input-mask.js"
15626
+ "name": "DSAInputNative",
15627
+ "module": "components/input-native/input-native.js"
16108
15628
  }
16109
15629
  }
16110
15630
  ]
16111
15631
  },
16112
15632
  {
16113
15633
  "kind": "javascript-module",
16114
- "path": "components/input-mask/input-mask.utils.js",
15634
+ "path": "components/input-native/input-native.utils.js",
16115
15635
  "declarations": [
16116
15636
  {
16117
- "kind": "variable",
16118
- "name": "specialCharPattern",
16119
- "default": "/[^a-zA-Z0-9#?_]+/g"
16120
- },
16121
- {
16122
- "kind": "variable",
16123
- "name": "normalCharPattern",
16124
- "default": "/^[_A-z0-9]*((-)*[_A-z0-9])*$/"
15637
+ "kind": "function",
15638
+ "name": "isPrefixIconOverriden",
15639
+ "return": {
15640
+ "type": {
15641
+ "text": "type is DSAInputOverridenPrefixIconTypes"
15642
+ }
15643
+ },
15644
+ "parameters": [
15645
+ {
15646
+ "name": "type",
15647
+ "type": {
15648
+ "text": "DSAInputTypes"
15649
+ }
15650
+ }
15651
+ ]
16125
15652
  },
16126
15653
  {
16127
- "kind": "variable",
16128
- "name": "maskOptions",
16129
- "type": {
16130
- "text": "{\n allChar: '_',\n numericChar: '#dDmMyYaA09',\n alphaChar: '?LaA',\n}"
16131
- },
16132
- "default": "{ allChar: '_', numericChar: '#dDmMyYaA09', alphaChar: '?LaA', }"
15654
+ "kind": "function",
15655
+ "name": "getOverridenIconDetails",
15656
+ "parameters": [
15657
+ {
15658
+ "name": "type",
15659
+ "type": {
15660
+ "text": "DSAInputOverridenPrefixIconTypes"
15661
+ }
15662
+ }
15663
+ ]
16133
15664
  },
16134
15665
  {
16135
15666
  "kind": "function",
16136
- "name": "stripSpecialChars",
15667
+ "name": "isInvalidAmountKey",
16137
15668
  "parameters": [
16138
15669
  {
16139
- "name": "word",
15670
+ "name": "event",
16140
15671
  "type": {
16141
- "text": "string"
15672
+ "text": "KeyboardEvent"
16142
15673
  }
16143
15674
  }
16144
15675
  ]
16145
15676
  },
16146
15677
  {
16147
15678
  "kind": "function",
16148
- "name": "rawValueToMaskedValue",
15679
+ "name": "parseFrAmount",
16149
15680
  "parameters": [
16150
15681
  {
16151
- "name": "rawValue",
15682
+ "name": "value",
16152
15683
  "type": {
16153
15684
  "text": "string"
16154
15685
  }
16155
- },
15686
+ }
15687
+ ]
15688
+ },
15689
+ {
15690
+ "kind": "function",
15691
+ "name": "numberToFrAmount",
15692
+ "parameters": [
16156
15693
  {
16157
- "name": "mask",
15694
+ "name": "value",
16158
15695
  "type": {
16159
- "text": "string"
15696
+ "text": "number | string"
16160
15697
  }
16161
15698
  }
16162
15699
  ]
16163
15700
  },
16164
15701
  {
16165
15702
  "kind": "function",
16166
- "name": "maskedValueToRawValue",
15703
+ "name": "roundToStep",
16167
15704
  "parameters": [
16168
15705
  {
16169
15706
  "name": "value",
16170
15707
  "type": {
16171
- "text": "string"
15708
+ "text": "number"
16172
15709
  }
16173
15710
  },
16174
15711
  {
16175
- "name": "mask",
15712
+ "name": "step",
16176
15713
  "type": {
16177
- "text": "string"
15714
+ "text": "number | 'any'"
16178
15715
  }
16179
15716
  }
16180
15717
  ]
16181
- },
16182
- {
16183
- "kind": "variable",
16184
- "name": "IBANTestValues",
16185
- "type": {
16186
- "text": "array"
16187
- },
16188
- "default": "[ 'AD1400080001001234567890', 'AT483200000012345864', 'BE71096123456769', 'BG18RZBB91550123456789', 'HR1723600001101234565', 'CY21002001950000357001234567', 'CZ5508000000001234567899', 'DK9520000123456789', 'EE471000001020145685', 'FI1410093000123458', 'FR7630006000011234567890189', 'DE75512108001245126199', 'GI04BARC000001234567890', 'GR9608100010000001234567890', 'HU93116000060000000012345676', 'IS750001121234563108962099', 'IE64IRCE92050112345678', 'IT60X0542811101000000123456', 'LV97HABA0012345678910', 'LI7408806123456789012', 'LT601010012345678901', 'LU120010001234567891', 'MT31MALT01100000000000000000123', 'MC5810096180790123456789085', 'NL02ABNA0123456789', 'NO8330001234567', 'PL10105000997603123456789123', 'PT50002700000001234567833', 'RO09BCYP0000001234567890', 'SM76P0854009812123456789123', 'SK8975000000000012345671', 'SI56192001234567892', 'ES7921000813610123456789', 'SE7280000810340009783242', 'CH5604835012345678009', 'GB33BUKB20201555555555', 'VA59001123000012345678', ]"
16189
- },
16190
- {
16191
- "kind": "variable",
16192
- "name": "BICTestValues",
16193
- "type": {
16194
- "text": "array"
16195
- },
16196
- "default": "[ 'DEKTDE7GXXX', 'GEBABEBB', 'BKAUATWW', 'COBADEFF060', 'UCJAES2MXXX', 'ESSEDE5F100', 'CMCIFRPP', 'CHASFIHHXXX', 'PBNKDEFF100', 'ZUNOCZPP', 'ABNACHZ8XXX', 'DNBANOKK', 'DEUTDEDB101', 'ARSPBE22', 'DXIADEBBXXX', 'SOGEFRPP', // Société générale 'BNPAFRPPXXX', //BNP 'CMCIFR2AXXX', // Crédit Mutuel 'CMCIFRPPXXX', //CIC banque 'PSSTFRPPPAR', //Banque postale 'PSSTFRPPLIL', 'PSSTFRPPSCE', 'PSSTFRPPMAR', 'CMBRFR2BXXX', //credit mutuelle 'CEPAFRPP627', //caise d'epargne 'PSSTFRPPCNE', 'CEPAFRPP751', 'AGRIFRPP867', 'AGRIFRPP878', 'PSSTFRPPBOR', 'CEPAFRPP382', 'PSSTFRPPLYO', 'AGRIFRPP887', 'AGRIFRPP891', 'CEPAFRPP444', 'PSSTFRPPMON', 'AGRIFRPP882', 'AGRIFRPP835', 'CEPAFRPP513', 'CEPAFRPP333', 'PSSTFRPPTOU', 'AGRIFRPP833', 'AGRIFRPP802', 'CEPAFRPP131', 'AGRIFRPP868', 'PSSTFRPPROU', 'CEPAFRPP142', 'AGRIFRPP847', 'AGRIFRPP866', 'CEPAFRPP313', 'AGRIFRPP879', 'CEPAFRPP348', 'AGRIFRPP813', 'CCBPFRPPGRE', 'PSSTFRPPNTE', 'AGRIFRPP848', 'CEPAFRPP213', 'CCBPFRPPDJN', 'AGRIFRPP810', 'AGRIFRPP881', 'PSSTFRPPDIJ', 'AGRIFRPP839', 'AGRIFRPP883', 'CCBPFRPPBDX', 'CEPAFRPP450', 'BREDFRPPXXX', 'PSSTFRPPLIM', 'CCBPFRPPMTZ', 'AGRIFRPP869', 'PSSTFRPPCLE', 'AGRIFRPP812', 'CCBPFRPPNAN', 'CCBPFRPPTLS', 'PSSTFRPPCHA', 'PSSTFRPPNCY', 'PSSTFRPPGRE', 'CEPAFRPP831', 'CCBPFRPPMTG', 'AGRIFRPP825', 'AGRIFRPP845', 'PSSTFRPPREN', 'CEPAFRPP871', 'AGRIFRPP831', 'CEPAFRPP426', 'AGRIFRPP861', 'AGRIFRPP836', 'AGRIFRPP817', 'AGRIFRPP894', 'CCBPFRPPPPG', 'SOAPFR22XXX', 'CCBPFRPPVER', 'AGRIFRPP829', 'AGRIFRPP824', 'CCBPFRPPMAR', 'AGRIFRPP871', 'AGRIFRPP822', 'AGRIFRPP844', 'AGRIFRPP872', 'CCBPFRPPLIL', 'AGRIFRPP895', 'AGRIFRPP860', 'PSSTFRPPSDR', 'AXABFRPPXXX', 'PSSTFRPPSTR', 'CCOPFRPPXXX', 'SORMFR2NXXX', 'CCBPFRPPREN', 'PSSTFRPPBTE', 'GPBAFRPPXXX', 'PSSTFRPPCAY', 'PRNSFRP1XXX', 'CMCIFRP1MON', 'FTNOFRP1XXX', 'PSSTFRPPFDF', 'CEPAFRPP670', 'CMBRFR2BARK', ]"
16197
- },
16198
- {
16199
- "kind": "variable",
16200
- "name": "NIRTestValues",
16201
- "type": {
16202
- "text": "array"
16203
- },
16204
- "default": "['187089932132113']"
16205
15718
  }
16206
15719
  ],
16207
15720
  "exports": [
16208
15721
  {
16209
15722
  "kind": "js",
16210
- "name": "specialCharPattern",
16211
- "declaration": {
16212
- "name": "specialCharPattern",
16213
- "module": "components/input-mask/input-mask.utils.js"
16214
- }
16215
- },
16216
- {
16217
- "kind": "js",
16218
- "name": "normalCharPattern",
16219
- "declaration": {
16220
- "name": "normalCharPattern",
16221
- "module": "components/input-mask/input-mask.utils.js"
16222
- }
16223
- },
16224
- {
16225
- "kind": "js",
16226
- "name": "maskOptions",
16227
- "declaration": {
16228
- "name": "maskOptions",
16229
- "module": "components/input-mask/input-mask.utils.js"
16230
- }
16231
- },
16232
- {
16233
- "kind": "js",
16234
- "name": "stripSpecialChars",
15723
+ "name": "isPrefixIconOverriden",
16235
15724
  "declaration": {
16236
- "name": "stripSpecialChars",
16237
- "module": "components/input-mask/input-mask.utils.js"
15725
+ "name": "isPrefixIconOverriden",
15726
+ "module": "components/input-native/input-native.utils.js"
16238
15727
  }
16239
15728
  },
16240
15729
  {
16241
15730
  "kind": "js",
16242
- "name": "rawValueToMaskedValue",
15731
+ "name": "getOverridenIconDetails",
16243
15732
  "declaration": {
16244
- "name": "rawValueToMaskedValue",
16245
- "module": "components/input-mask/input-mask.utils.js"
15733
+ "name": "getOverridenIconDetails",
15734
+ "module": "components/input-native/input-native.utils.js"
16246
15735
  }
16247
15736
  },
16248
15737
  {
16249
15738
  "kind": "js",
16250
- "name": "maskedValueToRawValue",
15739
+ "name": "isInvalidAmountKey",
16251
15740
  "declaration": {
16252
- "name": "maskedValueToRawValue",
16253
- "module": "components/input-mask/input-mask.utils.js"
15741
+ "name": "isInvalidAmountKey",
15742
+ "module": "components/input-native/input-native.utils.js"
16254
15743
  }
16255
15744
  },
16256
15745
  {
16257
15746
  "kind": "js",
16258
- "name": "IBANTestValues",
15747
+ "name": "parseFrAmount",
16259
15748
  "declaration": {
16260
- "name": "IBANTestValues",
16261
- "module": "components/input-mask/input-mask.utils.js"
15749
+ "name": "parseFrAmount",
15750
+ "module": "components/input-native/input-native.utils.js"
16262
15751
  }
16263
15752
  },
16264
15753
  {
16265
15754
  "kind": "js",
16266
- "name": "BICTestValues",
15755
+ "name": "numberToFrAmount",
16267
15756
  "declaration": {
16268
- "name": "BICTestValues",
16269
- "module": "components/input-mask/input-mask.utils.js"
15757
+ "name": "numberToFrAmount",
15758
+ "module": "components/input-native/input-native.utils.js"
16270
15759
  }
16271
15760
  },
16272
15761
  {
16273
15762
  "kind": "js",
16274
- "name": "NIRTestValues",
15763
+ "name": "roundToStep",
16275
15764
  "declaration": {
16276
- "name": "NIRTestValues",
16277
- "module": "components/input-mask/input-mask.utils.js"
15765
+ "name": "roundToStep",
15766
+ "module": "components/input-native/input-native.utils.js"
16278
15767
  }
16279
15768
  }
16280
15769
  ]
@@ -16302,152 +15791,49 @@
16302
15791
  }
16303
15792
  ],
16304
15793
  "members": [
16305
- {
16306
- "kind": "field",
16307
- "name": "formControlController",
16308
- "privacy": "private",
16309
- "readonly": true,
16310
- "default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input'], })"
16311
- },
16312
15794
  {
16313
15795
  "kind": "field",
16314
15796
  "name": "input",
16315
15797
  "type": {
16316
15798
  "text": "HTMLInputElement"
16317
- },
16318
- "privacy": "private"
16319
- },
16320
- {
16321
- "kind": "field",
16322
- "name": "hasFocus",
16323
- "type": {
16324
- "text": "boolean"
16325
- },
16326
- "privacy": "private",
16327
- "default": "false"
15799
+ }
16328
15800
  },
16329
15801
  {
16330
15802
  "kind": "field",
16331
15803
  "name": "currentIndex",
16332
15804
  "type": {
16333
15805
  "text": "number"
16334
- },
16335
- "privacy": "private",
16336
- "default": "0"
16337
- },
16338
- {
16339
- "kind": "field",
16340
- "name": "patternRegexp",
16341
- "type": {
16342
- "text": "RegExp"
16343
- },
16344
- "privacy": "private"
16345
- },
16346
- {
16347
- "kind": "field",
16348
- "name": "value",
16349
- "type": {
16350
- "text": "string"
16351
- },
16352
- "default": "''",
16353
- "description": "The current value of the input, submitted as a name/value pair with form data.",
16354
- "attribute": "value"
16355
- },
16356
- {
16357
- "kind": "field",
16358
- "name": "defaultValue",
16359
- "type": {
16360
- "text": "string"
16361
- },
16362
- "default": "''",
16363
- "description": "The default value of the form control. Primarily used for resetting the form control."
16364
- },
16365
- {
16366
- "kind": "field",
16367
- "name": "pattern",
16368
- "type": {
16369
- "text": "string"
16370
- },
16371
- "description": "A regular expression pattern to validate input against.",
16372
- "attribute": "pattern"
16373
- },
16374
- {
16375
- "kind": "field",
16376
- "name": "length",
16377
- "type": {
16378
- "text": "number"
16379
- },
16380
- "default": "6",
16381
- "description": "The length of input that will be considered valid.",
16382
- "attribute": "length"
16383
- },
16384
- {
16385
- "kind": "field",
16386
- "name": "autocapitalize",
16387
- "type": {
16388
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
16389
- },
16390
- "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
16391
- "attribute": "autocapitalize"
16392
- },
16393
- {
16394
- "kind": "field",
16395
- "name": "autofocus",
16396
- "type": {
16397
- "text": "boolean"
16398
- },
16399
- "description": "Indicates that the input should receive focus on page load.",
16400
- "attribute": "autofocus"
16401
- },
16402
- {
16403
- "kind": "field",
16404
- "name": "enterkeyhint",
16405
- "type": {
16406
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
16407
- },
16408
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
16409
- "attribute": "enterkeyhint"
16410
- },
16411
- {
16412
- "kind": "field",
16413
- "name": "inputmode",
16414
- "type": {
16415
- "text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
16416
- },
16417
- "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
16418
- "attribute": "inputmode"
16419
- },
16420
- {
16421
- "kind": "field",
16422
- "name": "validity",
16423
- "description": "Gets the validity state object",
16424
- "readonly": true
15806
+ },
15807
+ "privacy": "private",
15808
+ "default": "0"
16425
15809
  },
16426
15810
  {
16427
15811
  "kind": "field",
16428
- "name": "validationMessage",
16429
- "description": "Gets the validation message",
16430
- "readonly": true
16431
- },
16432
- {
16433
- "kind": "method",
16434
- "name": "handleBlur",
15812
+ "name": "patternRegexp",
15813
+ "type": {
15814
+ "text": "RegExp"
15815
+ },
16435
15816
  "privacy": "private"
16436
15817
  },
16437
15818
  {
16438
- "kind": "method",
16439
- "name": "handleChange",
16440
- "privacy": "private"
15819
+ "kind": "field",
15820
+ "name": "length",
15821
+ "type": {
15822
+ "text": "number"
15823
+ },
15824
+ "default": "6",
15825
+ "description": "The length of input that will be considered valid.",
15826
+ "attribute": "length"
16441
15827
  },
16442
15828
  {
16443
15829
  "kind": "method",
16444
15830
  "name": "handleFocus",
16445
- "privacy": "private"
15831
+ "privacy": "protected"
16446
15832
  },
16447
15833
  {
16448
15834
  "kind": "method",
16449
15835
  "name": "handleInput",
16450
- "privacy": "private",
15836
+ "privacy": "protected",
16451
15837
  "parameters": [
16452
15838
  {
16453
15839
  "name": "event",
@@ -16462,23 +15848,10 @@
16462
15848
  "name": "handleSelect",
16463
15849
  "privacy": "private"
16464
15850
  },
16465
- {
16466
- "kind": "method",
16467
- "name": "handleInvalid",
16468
- "privacy": "private",
16469
- "parameters": [
16470
- {
16471
- "name": "event",
16472
- "type": {
16473
- "text": "Event"
16474
- }
16475
- }
16476
- ]
16477
- },
16478
15851
  {
16479
15852
  "kind": "method",
16480
15853
  "name": "handleKeyDown",
16481
- "privacy": "private",
15854
+ "privacy": "protected",
16482
15855
  "parameters": [
16483
15856
  {
16484
15857
  "name": "event",
@@ -16506,84 +15879,14 @@
16506
15879
  "name": "getLastIndex",
16507
15880
  "privacy": "private"
16508
15881
  },
16509
- {
16510
- "kind": "method",
16511
- "name": "getDescriptionIds",
16512
- "privacy": "private"
16513
- },
16514
15882
  {
16515
15883
  "kind": "method",
16516
15884
  "name": "handleCurrentIndexChange"
16517
15885
  },
16518
- {
16519
- "kind": "method",
16520
- "name": "handleDisabledChange"
16521
- },
16522
- {
16523
- "kind": "method",
16524
- "name": "handleValueChange"
16525
- },
16526
15886
  {
16527
15887
  "kind": "method",
16528
15888
  "name": "handlePatterChange"
16529
15889
  },
16530
- {
16531
- "kind": "method",
16532
- "name": "blur",
16533
- "description": "Removes focus from the input."
16534
- },
16535
- {
16536
- "kind": "method",
16537
- "name": "checkValidity",
16538
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
16539
- },
16540
- {
16541
- "kind": "method",
16542
- "name": "focus",
16543
- "parameters": [
16544
- {
16545
- "name": "options",
16546
- "optional": true,
16547
- "type": {
16548
- "text": "FocusOptions"
16549
- }
16550
- }
16551
- ],
16552
- "description": "Sets focus on the input."
16553
- },
16554
- {
16555
- "kind": "method",
16556
- "name": "getForm",
16557
- "return": {
16558
- "type": {
16559
- "text": "HTMLFormElement | null"
16560
- }
16561
- },
16562
- "description": "Gets the associated form, if one exists."
16563
- },
16564
- {
16565
- "kind": "method",
16566
- "name": "reportValidity",
16567
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
16568
- },
16569
- {
16570
- "kind": "method",
16571
- "name": "select",
16572
- "description": "Selects all the text in the input."
16573
- },
16574
- {
16575
- "kind": "method",
16576
- "name": "setCustomValidity",
16577
- "parameters": [
16578
- {
16579
- "name": "message",
16580
- "type": {
16581
- "text": "string"
16582
- }
16583
- }
16584
- ],
16585
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
16586
- },
16587
15890
  {
16588
15891
  "kind": "method",
16589
15892
  "name": "getUpdateComplete",
@@ -16634,23 +15937,6 @@
16634
15937
  }
16635
15938
  ],
16636
15939
  "attributes": [
16637
- {
16638
- "name": "value",
16639
- "type": {
16640
- "text": "string"
16641
- },
16642
- "default": "''",
16643
- "description": "The current value of the input, submitted as a name/value pair with form data.",
16644
- "fieldName": "value"
16645
- },
16646
- {
16647
- "name": "pattern",
16648
- "type": {
16649
- "text": "string"
16650
- },
16651
- "description": "A regular expression pattern to validate input against.",
16652
- "fieldName": "pattern"
16653
- },
16654
15940
  {
16655
15941
  "name": "length",
16656
15942
  "type": {
@@ -16659,46 +15945,14 @@
16659
15945
  "default": "6",
16660
15946
  "description": "The length of input that will be considered valid.",
16661
15947
  "fieldName": "length"
16662
- },
16663
- {
16664
- "name": "autocapitalize",
16665
- "type": {
16666
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
16667
- },
16668
- "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
16669
- "fieldName": "autocapitalize"
16670
- },
16671
- {
16672
- "name": "autofocus",
16673
- "type": {
16674
- "text": "boolean"
16675
- },
16676
- "description": "Indicates that the input should receive focus on page load.",
16677
- "fieldName": "autofocus"
16678
- },
16679
- {
16680
- "name": "enterkeyhint",
16681
- "type": {
16682
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
16683
- },
16684
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
16685
- "fieldName": "enterkeyhint"
16686
- },
16687
- {
16688
- "name": "inputmode",
16689
- "type": {
16690
- "text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
16691
- },
16692
- "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
16693
- "fieldName": "inputmode"
16694
15948
  }
16695
15949
  ],
16696
15950
  "superclass": {
16697
- "name": "FormControlLayout",
16698
- "module": "/src/internal/components/form-control/form-control-layout"
15951
+ "name": "InputBase",
15952
+ "module": "/src/internal/components/input-base/input-base"
16699
15953
  },
16700
15954
  "summary": "The OTP input is used for MFA procedure of authenticating users by a one-time password.",
16701
- "documentation": "undefined",
15955
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/input-champ-de-saisie/input-otp-code-mfa/web-p6oWJZn2",
16702
15956
  "dependencies": [
16703
15957
  "dsa-error-text"
16704
15958
  ],
@@ -16841,13 +16095,6 @@
16841
16095
  }
16842
16096
  ],
16843
16097
  "members": [
16844
- {
16845
- "kind": "field",
16846
- "name": "formControlController",
16847
- "privacy": "private",
16848
- "readonly": true,
16849
- "default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input'], })"
16850
- },
16851
16098
  {
16852
16099
  "kind": "field",
16853
16100
  "name": "localize",
@@ -16857,7 +16104,7 @@
16857
16104
  },
16858
16105
  {
16859
16106
  "kind": "field",
16860
- "name": "inputEl",
16107
+ "name": "input",
16861
16108
  "type": {
16862
16109
  "text": "HTMLInputElement"
16863
16110
  }
@@ -16869,15 +16116,6 @@
16869
16116
  "text": "DSASelect"
16870
16117
  }
16871
16118
  },
16872
- {
16873
- "kind": "field",
16874
- "name": "hasFocus",
16875
- "type": {
16876
- "text": "boolean"
16877
- },
16878
- "privacy": "private",
16879
- "default": "false"
16880
- },
16881
16119
  {
16882
16120
  "kind": "field",
16883
16121
  "name": "maskedNumber",
@@ -16939,25 +16177,6 @@
16939
16177
  "default": "''",
16940
16178
  "description": "The current value of the phone number without its prefix"
16941
16179
  },
16942
- {
16943
- "kind": "field",
16944
- "name": "defaultValue",
16945
- "type": {
16946
- "text": "string"
16947
- },
16948
- "default": "''",
16949
- "description": "The default value of the form control. Primarily used for resetting the form control."
16950
- },
16951
- {
16952
- "kind": "field",
16953
- "name": "clearable",
16954
- "type": {
16955
- "text": "boolean"
16956
- },
16957
- "default": "false",
16958
- "description": "Adds a clear button when the input is not empty.",
16959
- "attribute": "clearable"
16960
- },
16961
16180
  {
16962
16181
  "kind": "field",
16963
16182
  "name": "inputPrefix",
@@ -16968,24 +16187,6 @@
16968
16187
  "description": "Optional input prefix to help the user understand the first digit is not needed",
16969
16188
  "attribute": "input-prefix"
16970
16189
  },
16971
- {
16972
- "kind": "field",
16973
- "name": "autofocus",
16974
- "type": {
16975
- "text": "boolean"
16976
- },
16977
- "description": "Indicates that the input should receive focus on page load.",
16978
- "attribute": "autofocus"
16979
- },
16980
- {
16981
- "kind": "field",
16982
- "name": "enterkeyhint",
16983
- "type": {
16984
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
16985
- },
16986
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
16987
- "attribute": "enterkeyhint"
16988
- },
16989
16190
  {
16990
16191
  "kind": "field",
16991
16192
  "name": "placement",
@@ -17003,12 +16204,6 @@
17003
16204
  "description": "Gets the validity state object",
17004
16205
  "readonly": true
17005
16206
  },
17006
- {
17007
- "kind": "field",
17008
- "name": "validationMessage",
17009
- "description": "Gets the validation message",
17010
- "readonly": true
17011
- },
17012
16207
  {
17013
16208
  "kind": "method",
17014
16209
  "name": "handleDocumentKeyUp",
@@ -17016,75 +16211,39 @@
17016
16211
  },
17017
16212
  {
17018
16213
  "kind": "method",
17019
- "name": "setPhoneFromValue",
17020
- "privacy": "private",
17021
- "parameters": [
17022
- {
17023
- "name": "value",
17024
- "type": {
17025
- "text": "string"
17026
- }
17027
- }
17028
- ]
17029
- },
17030
- {
17031
- "kind": "method",
17032
- "name": "updateValue",
17033
- "privacy": "private"
17034
- },
17035
- {
17036
- "kind": "method",
17037
- "name": "handlePhonePrefixChange",
17038
- "privacy": "private",
17039
- "parameters": [
17040
- {
17041
- "name": "event",
17042
- "type": {
17043
- "text": "DSAChangeEvent"
17044
- }
17045
- }
17046
- ]
17047
- },
17048
- {
17049
- "kind": "method",
17050
- "name": "handleChange",
16214
+ "name": "setPhoneFromValue",
17051
16215
  "privacy": "private",
17052
16216
  "parameters": [
17053
16217
  {
17054
- "name": "event",
16218
+ "name": "value",
17055
16219
  "type": {
17056
- "text": "Event"
16220
+ "text": "string"
17057
16221
  }
17058
16222
  }
17059
16223
  ]
17060
16224
  },
17061
16225
  {
17062
16226
  "kind": "method",
17063
- "name": "handleKeyDown",
16227
+ "name": "updateValue",
16228
+ "privacy": "private"
16229
+ },
16230
+ {
16231
+ "kind": "method",
16232
+ "name": "handlePhonePrefixChange",
17064
16233
  "privacy": "private",
17065
16234
  "parameters": [
17066
16235
  {
17067
16236
  "name": "event",
17068
16237
  "type": {
17069
- "text": "KeyboardEvent"
16238
+ "text": "DSAChangeEvent"
17070
16239
  }
17071
16240
  }
17072
16241
  ]
17073
16242
  },
17074
16243
  {
17075
16244
  "kind": "method",
17076
- "name": "handleFocus",
17077
- "privacy": "private"
17078
- },
17079
- {
17080
- "kind": "method",
17081
- "name": "handleBlur",
17082
- "privacy": "private"
17083
- },
17084
- {
17085
- "kind": "method",
17086
- "name": "handleInvalid",
17087
- "privacy": "private",
16245
+ "name": "handleChange",
16246
+ "privacy": "protected",
17088
16247
  "parameters": [
17089
16248
  {
17090
16249
  "name": "event",
@@ -17110,7 +16269,7 @@
17110
16269
  {
17111
16270
  "kind": "method",
17112
16271
  "name": "getDescriptionIds",
17113
- "privacy": "private"
16272
+ "privacy": "protected"
17114
16273
  },
17115
16274
  {
17116
16275
  "kind": "method",
@@ -17128,123 +16287,16 @@
17128
16287
  "kind": "method",
17129
16288
  "name": "handlePhoneChange"
17130
16289
  },
17131
- {
17132
- "kind": "method",
17133
- "name": "focus",
17134
- "parameters": [
17135
- {
17136
- "name": "options",
17137
- "optional": true,
17138
- "type": {
17139
- "text": "FocusOptions"
17140
- }
17141
- }
17142
- ],
17143
- "description": "Sets focus on the input."
17144
- },
17145
- {
17146
- "kind": "method",
17147
- "name": "blur",
17148
- "description": "Removes focus from the input."
17149
- },
17150
- {
17151
- "kind": "method",
17152
- "name": "select",
17153
- "description": "Selects all the text in the input."
17154
- },
17155
- {
17156
- "kind": "method",
17157
- "name": "setSelectionRange",
17158
- "parameters": [
17159
- {
17160
- "name": "selectionStart",
17161
- "type": {
17162
- "text": "number"
17163
- }
17164
- },
17165
- {
17166
- "name": "selectionEnd",
17167
- "type": {
17168
- "text": "number"
17169
- }
17170
- },
17171
- {
17172
- "name": "selectionDirection",
17173
- "default": "'none'",
17174
- "type": {
17175
- "text": "'forward' | 'backward' | 'none'"
17176
- }
17177
- }
17178
- ],
17179
- "description": "Sets the start and end positions of the text selection (0-based)."
17180
- },
17181
- {
17182
- "kind": "method",
17183
- "name": "setRangeText",
17184
- "parameters": [
17185
- {
17186
- "name": "replacement",
17187
- "type": {
17188
- "text": "string"
17189
- }
17190
- },
17191
- {
17192
- "name": "start",
17193
- "optional": true,
17194
- "type": {
17195
- "text": "number"
17196
- }
17197
- },
17198
- {
17199
- "name": "end",
17200
- "optional": true,
17201
- "type": {
17202
- "text": "number"
17203
- }
17204
- },
17205
- {
17206
- "name": "selectMode",
17207
- "optional": true,
17208
- "type": {
17209
- "text": "'select' | 'start' | 'end' | 'preserve'"
17210
- }
17211
- }
17212
- ],
17213
- "description": "Replaces a range of text with a new string."
17214
- },
17215
16290
  {
17216
16291
  "kind": "method",
17217
16292
  "name": "checkValidity",
17218
16293
  "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
17219
16294
  },
17220
- {
17221
- "kind": "method",
17222
- "name": "getForm",
17223
- "return": {
17224
- "type": {
17225
- "text": "HTMLFormElement | null"
17226
- }
17227
- },
17228
- "description": "Gets the associated form, if one exists."
17229
- },
17230
16295
  {
17231
16296
  "kind": "method",
17232
16297
  "name": "reportValidity",
17233
16298
  "description": "Checks for validity and shows the browser's validation message if the control is invalid."
17234
16299
  },
17235
- {
17236
- "kind": "method",
17237
- "name": "setCustomValidity",
17238
- "parameters": [
17239
- {
17240
- "name": "message",
17241
- "type": {
17242
- "text": "string"
17243
- }
17244
- }
17245
- ],
17246
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
17247
- },
17248
16300
  {
17249
16301
  "kind": "method",
17250
16302
  "name": "renderInput"
@@ -17286,15 +16338,6 @@
17286
16338
  "description": "The current phone number value in the E.164 format, submitted as a name/value pair with form data.",
17287
16339
  "fieldName": "value"
17288
16340
  },
17289
- {
17290
- "name": "clearable",
17291
- "type": {
17292
- "text": "boolean"
17293
- },
17294
- "default": "false",
17295
- "description": "Adds a clear button when the input is not empty.",
17296
- "fieldName": "clearable"
17297
- },
17298
16341
  {
17299
16342
  "name": "input-prefix",
17300
16343
  "type": {
@@ -17304,22 +16347,6 @@
17304
16347
  "description": "Optional input prefix to help the user understand the first digit is not needed",
17305
16348
  "fieldName": "inputPrefix"
17306
16349
  },
17307
- {
17308
- "name": "autofocus",
17309
- "type": {
17310
- "text": "boolean"
17311
- },
17312
- "description": "Indicates that the input should receive focus on page load.",
17313
- "fieldName": "autofocus"
17314
- },
17315
- {
17316
- "name": "enterkeyhint",
17317
- "type": {
17318
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
17319
- },
17320
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
17321
- "fieldName": "enterkeyhint"
17322
- },
17323
16350
  {
17324
16351
  "name": "placement",
17325
16352
  "type": {
@@ -17331,8 +16358,8 @@
17331
16358
  }
17332
16359
  ],
17333
16360
  "superclass": {
17334
- "name": "FormControlLayout",
17335
- "module": "/src/internal/components/form-control/form-control-layout"
16361
+ "name": "InputBase",
16362
+ "module": "/src/internal/components/input-base/input-base"
17336
16363
  },
17337
16364
  "summary": "Inputs collect data from the user.",
17338
16365
  "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/champs-de-saisie/input-phone/web-LwXd33D5",
@@ -17437,13 +16464,6 @@
17437
16464
  }
17438
16465
  ],
17439
16466
  "members": [
17440
- {
17441
- "kind": "field",
17442
- "name": "formControlController",
17443
- "privacy": "private",
17444
- "readonly": true,
17445
- "default": "new FormControlController(this, { assumeInteractionOn: ['dsa-blur', 'dsa-input'], })"
17446
- },
17447
16467
  {
17448
16468
  "kind": "field",
17449
16469
  "name": "localize",
@@ -17451,14 +16471,6 @@
17451
16471
  "readonly": true,
17452
16472
  "default": "new LocalizeController(this)"
17453
16473
  },
17454
- {
17455
- "kind": "field",
17456
- "name": "nativeInput",
17457
- "type": {
17458
- "text": "HTMLInputElement"
17459
- },
17460
- "privacy": "private"
17461
- },
17462
16474
  {
17463
16475
  "kind": "field",
17464
16476
  "name": "timePickerButton",
@@ -17482,44 +16494,6 @@
17482
16494
  "privacy": "private",
17483
16495
  "default": "false"
17484
16496
  },
17485
- {
17486
- "kind": "field",
17487
- "name": "hasFocus",
17488
- "type": {
17489
- "text": "boolean"
17490
- },
17491
- "privacy": "private",
17492
- "default": "false"
17493
- },
17494
- {
17495
- "kind": "field",
17496
- "name": "value",
17497
- "type": {
17498
- "text": "string"
17499
- },
17500
- "default": "''",
17501
- "description": "The current value of the input, submitted as a name/value pair with form data.",
17502
- "attribute": "value"
17503
- },
17504
- {
17505
- "kind": "field",
17506
- "name": "defaultValue",
17507
- "type": {
17508
- "text": "string"
17509
- },
17510
- "default": "''",
17511
- "description": "The default value of the form control. Primarily used for resetting the form control."
17512
- },
17513
- {
17514
- "kind": "field",
17515
- "name": "clearable",
17516
- "type": {
17517
- "text": "boolean"
17518
- },
17519
- "default": "false",
17520
- "description": "Adds a clear button when the input is not empty.",
17521
- "attribute": "clearable"
17522
- },
17523
16497
  {
17524
16498
  "kind": "field",
17525
16499
  "name": "min",
@@ -17542,52 +16516,13 @@
17542
16516
  },
17543
16517
  {
17544
16518
  "kind": "field",
17545
- "name": "step",
17546
- "type": {
17547
- "text": "number"
17548
- },
17549
- "default": "60",
17550
- "description": "Allows the implementation of steps between each possible value, in seconds. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/step) for more information.",
17551
- "attribute": "step"
17552
- },
17553
- {
17554
- "kind": "field",
17555
- "name": "autocomplete",
17556
- "type": {
17557
- "text": "string"
17558
- },
17559
- "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
17560
- "attribute": "autocomplete"
17561
- },
17562
- {
17563
- "kind": "field",
17564
- "name": "autofocus",
17565
- "type": {
17566
- "text": "boolean"
17567
- },
17568
- "description": "Indicates that the input should receive focus on page load.",
17569
- "attribute": "autofocus"
17570
- },
17571
- {
17572
- "kind": "field",
17573
- "name": "enterkeyhint",
17574
- "type": {
17575
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
17576
- },
17577
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
17578
- "attribute": "enterkeyhint"
17579
- },
17580
- {
17581
- "kind": "field",
17582
- "name": "validity",
17583
- "description": "Gets the validity state object",
17584
- "readonly": true
17585
- },
17586
- {
17587
- "kind": "field",
17588
- "name": "validationMessage",
17589
- "description": "Gets the validation message",
17590
- "readonly": true
16519
+ "name": "step",
16520
+ "type": {
16521
+ "text": "number"
16522
+ },
16523
+ "default": "60",
16524
+ "description": "Allows the implementation of steps between each possible value, in seconds. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/step) for more information.",
16525
+ "attribute": "step"
17591
16526
  },
17592
16527
  {
17593
16528
  "kind": "method",
@@ -17640,54 +16575,8 @@
17640
16575
  },
17641
16576
  {
17642
16577
  "kind": "method",
17643
- "name": "handleInputBlur",
17644
- "privacy": "private"
17645
- },
17646
- {
17647
- "kind": "method",
17648
- "name": "handleInputChange",
17649
- "privacy": "private"
17650
- },
17651
- {
17652
- "kind": "method",
17653
- "name": "handleInputClearClick",
17654
- "privacy": "private",
17655
- "parameters": [
17656
- {
17657
- "name": "event",
17658
- "type": {
17659
- "text": "MouseEvent"
17660
- }
17661
- }
17662
- ]
17663
- },
17664
- {
17665
- "kind": "method",
17666
- "name": "handleInputFocus",
17667
- "privacy": "private"
17668
- },
17669
- {
17670
- "kind": "method",
17671
- "name": "handleInputInput",
17672
- "privacy": "private"
17673
- },
17674
- {
17675
- "kind": "method",
17676
- "name": "handleInputInvalid",
17677
- "privacy": "private",
17678
- "parameters": [
17679
- {
17680
- "name": "event",
17681
- "type": {
17682
- "text": "Event"
17683
- }
17684
- }
17685
- ]
17686
- },
17687
- {
17688
- "kind": "method",
17689
- "name": "handleInputKeyDown",
17690
- "privacy": "private",
16578
+ "name": "handleKeyDown",
16579
+ "privacy": "protected",
17691
16580
  "parameters": [
17692
16581
  {
17693
16582
  "name": "event",
@@ -17700,15 +16589,7 @@
17700
16589
  {
17701
16590
  "kind": "method",
17702
16591
  "name": "getDescriptionIds",
17703
- "privacy": "private"
17704
- },
17705
- {
17706
- "kind": "method",
17707
- "name": "handleDisabledChange"
17708
- },
17709
- {
17710
- "kind": "method",
17711
- "name": "handleStepChange"
16592
+ "privacy": "protected"
17712
16593
  },
17713
16594
  {
17714
16595
  "kind": "method",
@@ -17718,30 +16599,6 @@
17718
16599
  "kind": "method",
17719
16600
  "name": "handleOpenChange"
17720
16601
  },
17721
- {
17722
- "kind": "method",
17723
- "name": "focus",
17724
- "parameters": [
17725
- {
17726
- "name": "options",
17727
- "optional": true,
17728
- "type": {
17729
- "text": "FocusOptions"
17730
- }
17731
- }
17732
- ],
17733
- "description": "Sets focus on the input."
17734
- },
17735
- {
17736
- "kind": "method",
17737
- "name": "blur",
17738
- "description": "Removes focus from the input."
17739
- },
17740
- {
17741
- "kind": "method",
17742
- "name": "select",
17743
- "description": "Selects all the text in the input."
17744
- },
17745
16602
  {
17746
16603
  "kind": "method",
17747
16604
  "name": "toggleTimePicker",
@@ -17758,67 +16615,6 @@
17758
16615
  "name": "hideTimePicker",
17759
16616
  "description": "Hides the time picker"
17760
16617
  },
17761
- {
17762
- "kind": "method",
17763
- "name": "stepUp",
17764
- "parameters": [
17765
- {
17766
- "name": "stepNumber",
17767
- "optional": true,
17768
- "type": {
17769
- "text": "number"
17770
- }
17771
- }
17772
- ],
17773
- "description": "Passes the stepUp method to the native input element"
17774
- },
17775
- {
17776
- "kind": "method",
17777
- "name": "stepDown",
17778
- "parameters": [
17779
- {
17780
- "name": "stepNumber",
17781
- "optional": true,
17782
- "type": {
17783
- "text": "number"
17784
- }
17785
- }
17786
- ],
17787
- "description": "Passes the stepDown method to the native input element"
17788
- },
17789
- {
17790
- "kind": "method",
17791
- "name": "checkValidity",
17792
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
17793
- },
17794
- {
17795
- "kind": "method",
17796
- "name": "getForm",
17797
- "return": {
17798
- "type": {
17799
- "text": "HTMLFormElement | null"
17800
- }
17801
- },
17802
- "description": "Gets the associated form, if one exists."
17803
- },
17804
- {
17805
- "kind": "method",
17806
- "name": "reportValidity",
17807
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
17808
- },
17809
- {
17810
- "kind": "method",
17811
- "name": "setCustomValidity",
17812
- "parameters": [
17813
- {
17814
- "name": "message",
17815
- "type": {
17816
- "text": "string"
17817
- }
17818
- }
17819
- ],
17820
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
17821
- },
17822
16618
  {
17823
16619
  "kind": "method",
17824
16620
  "name": "scrollSelectedTimeUnitsIntoView",
@@ -17840,7 +16636,7 @@
17840
16636
  {
17841
16637
  "kind": "method",
17842
16638
  "name": "handlePanelKeydown",
17843
- "privacy": "private",
16639
+ "privacy": "protected",
17844
16640
  "parameters": [
17845
16641
  {
17846
16642
  "name": "event",
@@ -17935,24 +16731,6 @@
17935
16731
  }
17936
16732
  ],
17937
16733
  "attributes": [
17938
- {
17939
- "name": "value",
17940
- "type": {
17941
- "text": "string"
17942
- },
17943
- "default": "''",
17944
- "description": "The current value of the input, submitted as a name/value pair with form data.",
17945
- "fieldName": "value"
17946
- },
17947
- {
17948
- "name": "clearable",
17949
- "type": {
17950
- "text": "boolean"
17951
- },
17952
- "default": "false",
17953
- "description": "Adds a clear button when the input is not empty.",
17954
- "fieldName": "clearable"
17955
- },
17956
16734
  {
17957
16735
  "name": "min",
17958
16736
  "type": {
@@ -17979,35 +16757,11 @@
17979
16757
  "default": "60",
17980
16758
  "description": "Allows the implementation of steps between each possible value, in seconds. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/step) for more information.",
17981
16759
  "fieldName": "step"
17982
- },
17983
- {
17984
- "name": "autocomplete",
17985
- "type": {
17986
- "text": "string"
17987
- },
17988
- "description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
17989
- "fieldName": "autocomplete"
17990
- },
17991
- {
17992
- "name": "autofocus",
17993
- "type": {
17994
- "text": "boolean"
17995
- },
17996
- "description": "Indicates that the input should receive focus on page load.",
17997
- "fieldName": "autofocus"
17998
- },
17999
- {
18000
- "name": "enterkeyhint",
18001
- "type": {
18002
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
18003
- },
18004
- "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
18005
- "fieldName": "enterkeyhint"
18006
16760
  }
18007
16761
  ],
18008
16762
  "superclass": {
18009
- "name": "FormControlLayout",
18010
- "module": "/src/internal/components/form-control/form-control-layout"
16763
+ "name": "InputBase",
16764
+ "module": "/src/internal/components/input-base/input-base"
18011
16765
  },
18012
16766
  "summary": "(Internal) Inputs time collect time data from the user.",
18013
16767
  "dependencies": [
@@ -18330,7 +17084,7 @@
18330
17084
  "module": "/src/internal/shoelace-element"
18331
17085
  },
18332
17086
  "summary": "Menus Accordion show a brief summary and expand to show additional content in a menu.",
18333
- "documentation": "undefined",
17087
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/menu/menu-accordion-menu-accordeon/web-IhrYVKWY",
18334
17088
  "dependencies": [
18335
17089
  "dsa-icon"
18336
17090
  ],
@@ -18718,7 +17472,7 @@
18718
17472
  "module": "/src/internal/shoelace-element"
18719
17473
  },
18720
17474
  "summary": "Menus Navigation provide a list of links for the user to choose from.",
18721
- "documentation": "undefined",
17475
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/menu/menu-navigation-menu-de-navigation/web-b627L8Uo",
18722
17476
  "tagName": "dsa-menu-navigation",
18723
17477
  "customElement": true
18724
17478
  }
@@ -18931,7 +17685,7 @@
18931
17685
  "module": "/src/internal/shoelace-element"
18932
17686
  },
18933
17687
  "summary": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).",
18934
- "documentation": "undefined",
17688
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/utilitaires/mutation-observer-observateur-de-mutations/web-knSJy0Dt",
18935
17689
  "tagName": "dsa-mutation-observer",
18936
17690
  "customElement": true
18937
17691
  }
@@ -19081,7 +17835,7 @@
19081
17835
  "module": "/src/internal/shoelace-element"
19082
17836
  },
19083
17837
  "summary": "Navigation bar provide menus and links for user navigation.",
19084
- "documentation": "undefined",
17838
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/navbar-barre-de-navigation/web-tfBwwgHF",
19085
17839
  "tagName": "dsa-navbar",
19086
17840
  "customElement": true
19087
17841
  }
@@ -19167,6 +17921,15 @@
19167
17921
  "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
19168
17922
  "attribute": "rel"
19169
17923
  },
17924
+ {
17925
+ "kind": "field",
17926
+ "name": "current",
17927
+ "type": {
17928
+ "text": "string | undefined"
17929
+ },
17930
+ "description": "Sets the link aria-current attribute and adds specific styles",
17931
+ "attribute": "current"
17932
+ },
19170
17933
  {
19171
17934
  "kind": "method",
19172
17935
  "name": "handleFocus",
@@ -19213,6 +17976,14 @@
19213
17976
  "default": "'noreferrer noopener'",
19214
17977
  "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
19215
17978
  "fieldName": "rel"
17979
+ },
17980
+ {
17981
+ "name": "current",
17982
+ "type": {
17983
+ "text": "string | undefined"
17984
+ },
17985
+ "description": "Sets the link aria-current attribute and adds specific styles",
17986
+ "fieldName": "current"
19216
17987
  }
19217
17988
  ],
19218
17989
  "superclass": {
@@ -19220,7 +17991,7 @@
19220
17991
  "module": "/src/internal/shoelace-element"
19221
17992
  },
19222
17993
  "summary": "Navbar links are used insed a navbar.",
19223
- "documentation": "undefined",
17994
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/navbar-barre-de-navigation/web-tfBwwgHF",
19224
17995
  "tagName": "dsa-navbar-link",
19225
17996
  "customElement": true
19226
17997
  }
@@ -19480,7 +18251,7 @@
19480
18251
  "module": "/src/internal/shoelace-element"
19481
18252
  },
19482
18253
  "summary": "Navbar Menu provides a button that toggles the visibility of a list of links.",
19483
- "documentation": "undefined",
18254
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/navbar-barre-de-navigation/web-tfBwwgHF",
19484
18255
  "dependencies": [
19485
18256
  "dsa-icon",
19486
18257
  "dsa-popup"
@@ -19874,7 +18645,7 @@
19874
18645
  "module": "/src/internal/shoelace-element"
19875
18646
  },
19876
18647
  "summary": "The page header offers elements of information on the page (title, actions, etc.).",
19877
- "documentation": "undefined",
18648
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/page-header-en-tete-de-page/web-oVV81GIE",
19878
18649
  "tagName": "dsa-page-header",
19879
18650
  "customElement": true
19880
18651
  }
@@ -21503,7 +20274,7 @@
21503
20274
  "module": "/src/internal/shoelace-element"
21504
20275
  },
21505
20276
  "summary": "The quote component indicates that the enclosed text is an extended quotation.",
21506
- "documentation": "undefined",
20277
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/quote-citation/web-3w6JfUrH",
21507
20278
  "tagName": "dsa-quote",
21508
20279
  "customElement": true
21509
20280
  }
@@ -23000,7 +21771,7 @@
23000
21771
  "module": "/src/internal/shoelace-element"
23001
21772
  },
23002
21773
  "summary": "Outputs a localized time phrase relative to the current date and time.",
23003
- "documentation": "undefined",
21774
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/utilitaires/relative-time-temps-relatif/web-iYRbnqTi",
23004
21775
  "tagName": "dsa-relative-time",
23005
21776
  "customElement": true
23006
21777
  }
@@ -23112,7 +21883,7 @@
23112
21883
  "module": "/src/internal/shoelace-element"
23113
21884
  },
23114
21885
  "summary": "The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).",
23115
- "documentation": "undefined",
21886
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/utilitaires/resize-observer-observateur-de-redimensionnement/web-QVCpF66M",
23116
21887
  "tagName": "dsa-resize-observer",
23117
21888
  "customElement": true
23118
21889
  }
@@ -24482,7 +23253,7 @@
24482
23253
  "module": "/src/internal/shoelace-element"
24483
23254
  },
24484
23255
  "summary": "Split panels display two adjacent panels, allowing the user to reposition them.",
24485
- "documentation": "undefined",
23256
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/split-panel-panneau-fractionne/web-26fpFxUI",
24486
23257
  "dependencies": [
24487
23258
  "dsa-icon"
24488
23259
  ],
@@ -25299,7 +24070,7 @@
25299
24070
  "module": "/src/internal/shoelace-element"
25300
24071
  },
25301
24072
  "summary": "Switches allow the user to toggle an option on or off.",
25302
- "documentation": "undefined",
24073
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/switch-interrupteur/web-QfQYREPu",
25303
24074
  "dependencies": [
25304
24075
  "dsa-icon"
25305
24076
  ],
@@ -25659,6 +24430,24 @@
25659
24430
  "privacy": "private",
25660
24431
  "default": "false"
25661
24432
  },
24433
+ {
24434
+ "kind": "field",
24435
+ "name": "isStartScrollButtonDisabled",
24436
+ "type": {
24437
+ "text": "boolean"
24438
+ },
24439
+ "privacy": "private",
24440
+ "default": "false"
24441
+ },
24442
+ {
24443
+ "kind": "field",
24444
+ "name": "isEndScrollButtonDisabled",
24445
+ "type": {
24446
+ "text": "boolean"
24447
+ },
24448
+ "privacy": "private",
24449
+ "default": "false"
24450
+ },
25662
24451
  {
25663
24452
  "kind": "field",
25664
24453
  "name": "placement",
@@ -25689,6 +24478,11 @@
25689
24478
  "description": "Whether the tab group is below the page header",
25690
24479
  "attribute": "below-page-header"
25691
24480
  },
24481
+ {
24482
+ "kind": "method",
24483
+ "name": "awaitAllElementsDefined",
24484
+ "privacy": "private"
24485
+ },
25692
24486
  {
25693
24487
  "kind": "method",
25694
24488
  "name": "getAllTabs",
@@ -25749,6 +24543,11 @@
25749
24543
  "name": "handleScrollToEnd",
25750
24544
  "privacy": "private"
25751
24545
  },
24546
+ {
24547
+ "kind": "method",
24548
+ "name": "handleNavScroll",
24549
+ "privacy": "private"
24550
+ },
25752
24551
  {
25753
24552
  "kind": "method",
25754
24553
  "name": "setActiveTab",
@@ -25786,7 +24585,18 @@
25786
24585
  },
25787
24586
  {
25788
24587
  "kind": "method",
25789
- "name": "updateScrollControls"
24588
+ "name": "handleSlotChange",
24589
+ "privacy": "private"
24590
+ },
24591
+ {
24592
+ "kind": "method",
24593
+ "name": "updateScrollControls",
24594
+ "privacy": "private"
24595
+ },
24596
+ {
24597
+ "kind": "method",
24598
+ "name": "updateScrollButtonsStates",
24599
+ "privacy": "private"
25790
24600
  },
25791
24601
  {
25792
24602
  "kind": "method",
@@ -28040,7 +26850,7 @@
28040
26850
  "module": "/src/internal/shoelace-element"
28041
26851
  },
28042
26852
  "summary": "Table of Contents provide a way to navigate through the content of a page.",
28043
- "documentation": "undefined",
26853
+ "documentation": "https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/table-of-content-sommaire/web-I2vxxyKp",
28044
26854
  "dependencies": [
28045
26855
  "dsa-icon"
28046
26856
  ],
@@ -30479,7 +29289,7 @@
30479
29289
  ],
30480
29290
  "package": {
30481
29291
  "name": "@ds-autonomie/web-components",
30482
- "version": "2.5.0",
29292
+ "version": "2.6.0",
30483
29293
  "author": "CNSA",
30484
29294
  "homepage": "https://dsa.service-public-autonomie.fr",
30485
29295
  "license": "MIT"