@adyen/bento-vue2 1.83.0 → 1.84.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 (408) hide show
  1. package/README.md +5 -5
  2. package/dist/@types/index.d.ts +1299 -1235
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/ai-button.css +1 -1
  8. package/dist/assets/alert.css +1 -1
  9. package/dist/assets/avatar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions-with-menu.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox-input.css +1 -1
  18. package/dist/assets/checkbox.css +1 -1
  19. package/dist/assets/chip.css +1 -1
  20. package/dist/assets/code-snippet.css +1 -1
  21. package/dist/assets/controls-group.css +1 -1
  22. package/dist/assets/country.css +1 -1
  23. package/dist/assets/currency.css +1 -1
  24. package/dist/assets/dashboard-section.css +1 -1
  25. package/dist/assets/dashed-underline.css +1 -1
  26. package/dist/assets/data-grid-template.css +1 -1
  27. package/dist/assets/data-grid.css +1 -1
  28. package/dist/assets/date-picker.css +1 -1
  29. package/dist/assets/date-range-picker.css +1 -1
  30. package/dist/assets/date.css +1 -1
  31. package/dist/assets/dialog-page.css +1 -1
  32. package/dist/assets/divider.css +1 -1
  33. package/dist/assets/dropdown-default-textbox.css +1 -1
  34. package/dist/assets/dropdown-tag.css +1 -1
  35. package/dist/assets/dropdown.css +1 -1
  36. package/dist/assets/empty-state.css +1 -1
  37. package/dist/assets/field-label.css +1 -1
  38. package/dist/assets/file-uploader.css +1 -1
  39. package/dist/assets/filter-bar.css +1 -1
  40. package/dist/assets/fixed-scroller.css +1 -1
  41. package/dist/assets/footer-actions.css +1 -1
  42. package/dist/assets/form-layout-title.css +1 -1
  43. package/dist/assets/grid-layout.css +1 -1
  44. package/dist/assets/header-meta.css +1 -1
  45. package/dist/assets/header-with-views.css +1 -1
  46. package/dist/assets/header.css +1 -1
  47. package/dist/assets/index.css +1 -1
  48. package/dist/assets/info-icon.css +1 -1
  49. package/dist/assets/input-field-password.css +1 -1
  50. package/dist/assets/input-field.css +1 -1
  51. package/dist/assets/inspector.css +1 -1
  52. package/dist/assets/layout-row.css +1 -1
  53. package/dist/assets/link.css +1 -1
  54. package/dist/assets/listbox-option-tag.css +1 -1
  55. package/dist/assets/loading-indicator.css +1 -1
  56. package/dist/assets/modal-fullscreen.css +1 -1
  57. package/dist/assets/pagination.css +1 -1
  58. package/dist/assets/payment-method.css +1 -1
  59. package/dist/assets/popper-container.css +1 -1
  60. package/dist/assets/promo-banner.css +1 -1
  61. package/dist/assets/radio-group.css +1 -1
  62. package/dist/assets/radio-input.css +1 -1
  63. package/dist/assets/rich-text-editor.css +1 -1
  64. package/dist/assets/secondary-nav.css +1 -1
  65. package/dist/assets/segmented-control.css +1 -1
  66. package/dist/assets/selection-card-group.css +1 -1
  67. package/dist/assets/sidepanel.css +1 -1
  68. package/dist/assets/status.css +1 -1
  69. package/dist/assets/step.css +1 -1
  70. package/dist/assets/structured-list-item.css +1 -1
  71. package/dist/assets/summary-grid.css +1 -1
  72. package/dist/assets/tab.css +1 -1
  73. package/dist/assets/tag.css +1 -1
  74. package/dist/assets/textarea.css +1 -1
  75. package/dist/assets/timeline-item.css +1 -1
  76. package/dist/assets/toast.css +1 -1
  77. package/dist/assets/toggle.css +1 -1
  78. package/dist/assets/tooltip.css +1 -1
  79. package/dist/assets/tutorial.css +1 -1
  80. package/dist/assets/use-cached-selected-values.css +1 -1
  81. package/dist/button.js +3 -3
  82. package/dist/card.js +1 -1
  83. package/dist/checkbox.js +2 -2
  84. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
  85. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
  86. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
  87. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
  88. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
  89. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
  90. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
  91. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
  92. package/dist/chunks/accordion-item.DeV8s0oW.js.map +1 -1
  93. package/dist/chunks/{action-bar.C2GnRugW.js → action-bar.y4tcdk7R.js} +8 -6
  94. package/dist/chunks/{action-bar.C2GnRugW.js.map → action-bar.y4tcdk7R.js.map} +1 -1
  95. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
  96. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
  97. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
  98. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
  99. package/dist/chunks/{ai-button.C9Uc6vBY.js → ai-button.BEy4Gly-.js} +2 -2
  100. package/dist/chunks/{ai-button.C9Uc6vBY.js.map → ai-button.BEy4Gly-.js.map} +1 -1
  101. package/dist/chunks/{alert.BlJBrD8c.js → alert.B3Pdp02a.js} +29 -21
  102. package/dist/chunks/{alert.BlJBrD8c.js.map → alert.B3Pdp02a.js.map} +1 -1
  103. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  104. package/dist/chunks/avatar.CUCH3CTc.js.map +1 -1
  105. package/dist/chunks/base-button.IN4bpcds.js.map +1 -1
  106. package/dist/chunks/{base-modal.L39wmqVD.js → base-modal.KYkLKswF.js} +20 -18
  107. package/dist/chunks/{base-modal.L39wmqVD.js.map → base-modal.KYkLKswF.js.map} +1 -1
  108. package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js → button-actions-with-menu.B5mKwc-F.js} +2 -2
  109. package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js.map → button-actions-with-menu.B5mKwc-F.js.map} +1 -1
  110. package/dist/chunks/{button-actions.BWVq6OZQ.js → button-actions.D9n7MxWe.js} +270 -239
  111. package/dist/chunks/{button-actions.BWVq6OZQ.js.map → button-actions.D9n7MxWe.js.map} +1 -1
  112. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  113. package/dist/chunks/{button.C5GvPqe5.js → button.DIU6m9wD.js} +2 -2
  114. package/dist/chunks/{button.C5GvPqe5.js.map → button.DIU6m9wD.js.map} +1 -1
  115. package/dist/chunks/calendar.C8DpZ4Sr.js +1101 -0
  116. package/dist/chunks/calendar.C8DpZ4Sr.js.map +1 -0
  117. package/dist/chunks/{card.CktheSva.js → card.CLX0RGG6.js} +2 -2
  118. package/dist/chunks/{card.CktheSva.js.map → card.CLX0RGG6.js.map} +1 -1
  119. package/dist/chunks/{checkbox-group.DKkaWwMI.js → checkbox-group.BCnhjQie.js} +4 -4
  120. package/dist/chunks/{checkbox-group.DKkaWwMI.js.map → checkbox-group.BCnhjQie.js.map} +1 -1
  121. package/dist/chunks/{checkbox-input.B0NsfSNR.js → checkbox-input.08E9BNeF.js} +45 -40
  122. package/dist/chunks/checkbox-input.08E9BNeF.js.map +1 -0
  123. package/dist/chunks/{checkbox.B_W1TGP2.js → checkbox.CU5ierOq.js} +16 -16
  124. package/dist/chunks/{checkbox.B_W1TGP2.js.map → checkbox.CU5ierOq.js.map} +1 -1
  125. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -1
  126. package/dist/chunks/{code-snippet.1_edHDaZ.js → code-snippet.9MwDHp50.js} +62 -60
  127. package/dist/chunks/code-snippet.9MwDHp50.js.map +1 -0
  128. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -1
  129. package/dist/chunks/constructNow.DuaJst0D.js +8 -0
  130. package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
  131. package/dist/chunks/{controls-group.BqPxnEl3.js → controls-group.D4eW9DtP.js} +2 -2
  132. package/dist/chunks/{controls-group.BqPxnEl3.js.map → controls-group.D4eW9DtP.js.map} +1 -1
  133. package/dist/chunks/{copy.I2GvwCvt.js → copy.C0q7xgXs.js} +19 -17
  134. package/dist/chunks/{copy.I2GvwCvt.js.map → copy.C0q7xgXs.js.map} +1 -1
  135. package/dist/chunks/{country.BPrh4fXO.js → country.DyrDj95W.js} +2 -2
  136. package/dist/chunks/{country.BPrh4fXO.js.map → country.DyrDj95W.js.map} +1 -1
  137. package/dist/chunks/country.types.DaVCMxk-.js +773 -0
  138. package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
  139. package/dist/chunks/currency.DYZr_RDk.js.map +1 -1
  140. package/dist/chunks/{dashboard-section.B4bHrFIl.js → dashboard-section.B83FdC0Z.js} +3 -3
  141. package/dist/chunks/{dashboard-section.B4bHrFIl.js.map → dashboard-section.B83FdC0Z.js.map} +1 -1
  142. package/dist/chunks/{dashed-underline.ByK3QxFJ.js → dashed-underline.DQGVy5T2.js} +2 -2
  143. package/dist/chunks/{dashed-underline.ByK3QxFJ.js.map → dashed-underline.DQGVy5T2.js.map} +1 -1
  144. package/dist/chunks/{data-grid-template.CvZbOkih.js → data-grid-template.BTEFoEwf.js} +4 -4
  145. package/dist/chunks/{data-grid-template.CvZbOkih.js.map → data-grid-template.BTEFoEwf.js.map} +1 -1
  146. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
  147. package/dist/chunks/{data-grid.CVjZ1tKw.js → data-grid.BPG1GPIl.js} +922 -838
  148. package/dist/chunks/{data-grid.CVjZ1tKw.js.map → data-grid.BPG1GPIl.js.map} +1 -1
  149. package/dist/chunks/date-input.BbZqj10S.js +15 -0
  150. package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
  151. package/dist/chunks/{date-picker.-a_TXwjx.js → date-picker.CnsC_UMG.js} +78 -74
  152. package/dist/chunks/date-picker.CnsC_UMG.js.map +1 -0
  153. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  154. package/dist/chunks/date-range-picker.B6GSRjjK.js +1693 -0
  155. package/dist/chunks/date-range-picker.B6GSRjjK.js.map +1 -0
  156. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  157. package/dist/chunks/date.DBWzp0So.js.map +1 -1
  158. package/dist/chunks/de.DvtL0g75.js +478 -0
  159. package/dist/chunks/de.DvtL0g75.js.map +1 -0
  160. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  161. package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
  162. package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
  163. package/dist/chunks/{dialog-page.Dn-WbcxU.js → dialog-page.QpRiNPyx.js} +29 -23
  164. package/dist/chunks/{dialog-page.Dn-WbcxU.js.map → dialog-page.QpRiNPyx.js.map} +1 -1
  165. package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
  166. package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
  167. package/dist/chunks/directive.Cbdox5VL.js.map +1 -1
  168. package/dist/chunks/divider.DX5gwN7p.js.map +1 -1
  169. package/dist/chunks/dropdown-default-textbox.Cq68tN9F.js.map +1 -1
  170. package/dist/chunks/{dropdown-tag.AYIB0ec5.js → dropdown-tag.HBM0wrEV.js} +4 -4
  171. package/dist/chunks/{dropdown-tag.AYIB0ec5.js.map → dropdown-tag.HBM0wrEV.js.map} +1 -1
  172. package/dist/chunks/{dropdown.Dt0_ZUBn.js → dropdown.C2pXf8Li.js} +85 -81
  173. package/dist/chunks/{dropdown.Dt0_ZUBn.js.map → dropdown.C2pXf8Li.js.map} +1 -1
  174. package/dist/chunks/{empty-state.jVTWhJW7.js → empty-state.DpBnqAxu.js} +2 -2
  175. package/dist/chunks/{empty-state.jVTWhJW7.js.map → empty-state.DpBnqAxu.js.map} +1 -1
  176. package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
  177. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
  178. package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
  179. package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
  180. package/dist/chunks/es.bz0mzkMq.js +374 -0
  181. package/dist/chunks/es.bz0mzkMq.js.map +1 -0
  182. package/dist/chunks/es6.C1DXQV6f.js +12 -0
  183. package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
  184. package/dist/chunks/events.BQOQSSb7.js.map +1 -1
  185. package/dist/chunks/{field-label.BpeaR4Qc.js → field-label.CEkJnsiL.js} +5 -5
  186. package/dist/chunks/{field-label.BpeaR4Qc.js.map → field-label.CEkJnsiL.js.map} +1 -1
  187. package/dist/chunks/{file-uploader.G6mr6RuA.js → file-uploader.CnOqfuI-.js} +299 -253
  188. package/dist/chunks/{file-uploader.G6mr6RuA.js.map → file-uploader.CnOqfuI-.js.map} +1 -1
  189. package/dist/chunks/filter-bar.CnJAxz9B.js +2559 -0
  190. package/dist/chunks/filter-bar.CnJAxz9B.js.map +1 -0
  191. package/dist/chunks/fixed-scroller.Bp4-iO80.js +114 -0
  192. package/dist/chunks/{fixed-scroller.Ca1ujamx.js.map → fixed-scroller.Bp4-iO80.js.map} +1 -1
  193. package/dist/chunks/focus-trap.CNIU5jOz.js.map +1 -1
  194. package/dist/chunks/{footer-actions.3JdT8b0p.js → footer-actions.BOiN47Xd.js} +3 -3
  195. package/dist/chunks/{footer-actions.3JdT8b0p.js.map → footer-actions.BOiN47Xd.js.map} +1 -1
  196. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
  197. package/dist/chunks/{form-layout-title.D9GJQfF9.js → form-layout-title.CdC1T4gs.js} +2 -2
  198. package/dist/chunks/{form-layout-title.D9GJQfF9.js.map → form-layout-title.CdC1T4gs.js.map} +1 -1
  199. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
  200. package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
  201. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
  202. package/dist/chunks/fr.Dj7wEToe.js +47 -0
  203. package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
  204. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  205. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
  206. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
  207. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
  208. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -1
  209. package/dist/chunks/header-meta.D_oAu2S9.js +212 -0
  210. package/dist/chunks/header-meta.D_oAu2S9.js.map +1 -0
  211. package/dist/chunks/{header-with-views.3fF_V6F9.js → header-with-views.Dc9LUYNY.js} +379 -315
  212. package/dist/chunks/{header-with-views.3fF_V6F9.js.map → header-with-views.Dc9LUYNY.js.map} +1 -1
  213. package/dist/chunks/{header.D76MKCdS.js → header.BmtlQmPs.js} +3 -3
  214. package/dist/chunks/{header.D76MKCdS.js.map → header.BmtlQmPs.js.map} +1 -1
  215. package/dist/chunks/image.C2D2hKat.js.map +1 -1
  216. package/dist/chunks/index.B6WW_F-J.js.map +1 -1
  217. package/dist/chunks/index.BDK4hwK_.js.map +1 -1
  218. package/dist/chunks/{input-field-password.C7zjyp7f.js → input-field-password.D23H_RvO.js} +48 -42
  219. package/dist/chunks/{input-field-password.C7zjyp7f.js.map → input-field-password.D23H_RvO.js.map} +1 -1
  220. package/dist/chunks/{input-field-phone-number.DwuTziSU.js → input-field-phone-number.Bvk2Pvec.js} +9 -3
  221. package/dist/chunks/{input-field-phone-number.DwuTziSU.js.map → input-field-phone-number.Bvk2Pvec.js.map} +1 -1
  222. package/dist/chunks/{input-field.DsT4AWXC.js → input-field.hf0_ALq0.js} +37 -29
  223. package/dist/chunks/{input-field.DsT4AWXC.js.map → input-field.hf0_ALq0.js.map} +1 -1
  224. package/dist/chunks/{inspector.2A5vWUou.js → inspector.C0iAxxoz.js} +40 -34
  225. package/dist/chunks/{inspector.2A5vWUou.js.map → inspector.C0iAxxoz.js.map} +1 -1
  226. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
  227. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
  228. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
  229. package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
  230. package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
  231. package/dist/chunks/it.Oaj6BklL.js +392 -0
  232. package/dist/chunks/it.Oaj6BklL.js.map +1 -0
  233. package/dist/chunks/ja.Cm9tJMi2.js +367 -0
  234. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
  235. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
  236. package/dist/chunks/ko.Ceaof6EP.js +348 -0
  237. package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
  238. package/dist/chunks/layout-row.BPX00mio.js.map +1 -1
  239. package/dist/chunks/{link.BoDUCYmM.js → link.PsTSQjK3.js} +27 -21
  240. package/dist/chunks/{link.BoDUCYmM.js.map → link.PsTSQjK3.js.map} +1 -1
  241. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -1
  242. package/dist/chunks/match.CMBZxEs9.js +302 -0
  243. package/dist/chunks/match.CMBZxEs9.js.map +1 -0
  244. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
  245. package/dist/chunks/{modal-fullscreen.CcvZBUoF.js → modal-fullscreen.B1gltlxA.js} +5 -5
  246. package/dist/chunks/{modal-fullscreen.CcvZBUoF.js.map → modal-fullscreen.B1gltlxA.js.map} +1 -1
  247. package/dist/chunks/{modal.6hFEbnZM.js → modal.e3EQ6Kex.js} +5 -5
  248. package/dist/chunks/{modal.6hFEbnZM.js.map → modal.e3EQ6Kex.js.map} +1 -1
  249. package/dist/chunks/nl.B6vCf2B9.js +327 -0
  250. package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
  251. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
  252. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
  253. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
  254. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
  255. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  256. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
  257. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
  258. package/dist/chunks/{pagination.BSyshRGH.js → pagination.BcFt2FqK.js} +6 -6
  259. package/dist/chunks/{pagination.BSyshRGH.js.map → pagination.BcFt2FqK.js.map} +1 -1
  260. package/dist/chunks/payment-method.BKXLPDC9.js.map +1 -1
  261. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  262. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
  263. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
  264. package/dist/chunks/popover.types.WDh5ggr3.js.map +1 -1
  265. package/dist/chunks/popper-container.Cdokz_NE.js.map +1 -1
  266. package/dist/chunks/{promo-banner.D3aG5wnp.js → promo-banner.yfBorKj7.js} +2 -2
  267. package/dist/chunks/{promo-banner.D3aG5wnp.js.map → promo-banner.yfBorKj7.js.map} +1 -1
  268. package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
  269. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
  270. package/dist/chunks/{radio-group.DTZwsfwW.js → radio-group.CtTnfkYg.js} +3 -3
  271. package/dist/chunks/{radio-group.DTZwsfwW.js.map → radio-group.CtTnfkYg.js.map} +1 -1
  272. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -1
  273. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
  274. package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
  275. package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
  276. package/dist/chunks/{rich-text-editor.BbvfrqHl.js → rich-text-editor.Dq2CFGOu.js} +5 -5
  277. package/dist/chunks/{rich-text-editor.BbvfrqHl.js.map → rich-text-editor.Dq2CFGOu.js.map} +1 -1
  278. package/dist/chunks/{search-bar.Bpk-PuYT.js → search-bar.B0SdQBnY.js} +3 -3
  279. package/dist/chunks/{search-bar.Bpk-PuYT.js.map → search-bar.B0SdQBnY.js.map} +1 -1
  280. package/dist/chunks/{secondary-nav.BGOYJrsB.js → secondary-nav.BPGpxd0p.js} +35 -29
  281. package/dist/chunks/{secondary-nav.BGOYJrsB.js.map → secondary-nav.BPGpxd0p.js.map} +1 -1
  282. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  283. package/dist/chunks/{selection-card-group.BWLjFcea.js → selection-card-group.BryV14qP.js} +13 -13
  284. package/dist/chunks/{selection-card-group.BWLjFcea.js.map → selection-card-group.BryV14qP.js.map} +1 -1
  285. package/dist/chunks/{sidepanel.C5SvJNMR.js → sidepanel.NFyZGE57.js} +5 -5
  286. package/dist/chunks/{sidepanel.C5SvJNMR.js.map → sidepanel.NFyZGE57.js.map} +1 -1
  287. package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
  288. package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
  289. package/dist/chunks/status.types.Cv5XN4zL.js.map +1 -1
  290. package/dist/chunks/step.BLFXvHL6.js +223 -0
  291. package/dist/chunks/step.BLFXvHL6.js.map +1 -0
  292. package/dist/chunks/{structured-list-item.CbXDKwsF.js → structured-list-item.CptOCpHP.js} +3 -3
  293. package/dist/chunks/{structured-list-item.CbXDKwsF.js.map → structured-list-item.CptOCpHP.js.map} +1 -1
  294. package/dist/chunks/success.DhioLvPD.js.map +1 -1
  295. package/dist/chunks/success.nNwxJRBS.js.map +1 -1
  296. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
  297. package/dist/chunks/{summary-grid.types.haWi7oaf.js → summary-grid.types.B1T8_k1m.js} +3 -3
  298. package/dist/chunks/{summary-grid.types.haWi7oaf.js.map → summary-grid.types.B1T8_k1m.js.map} +1 -1
  299. package/dist/chunks/sv.f8EfZjMZ.js +377 -0
  300. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
  301. package/dist/chunks/{tab.ZQfGp_FP.js → tab.FUMpPsBP.js} +2 -2
  302. package/dist/chunks/{tab.ZQfGp_FP.js.map → tab.FUMpPsBP.js.map} +1 -1
  303. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
  304. package/dist/chunks/tag.B1Ywhgvc.js.map +1 -1
  305. package/dist/chunks/{textarea.DfR2o1lz.js → textarea.riUt0BiI.js} +31 -31
  306. package/dist/chunks/textarea.riUt0BiI.js.map +1 -0
  307. package/dist/chunks/{timeline-item.rLqeBsyz.js → timeline-item.CFfW1DoD.js} +16 -15
  308. package/dist/chunks/{timeline-item.rLqeBsyz.js.map → timeline-item.CFfW1DoD.js.map} +1 -1
  309. package/dist/chunks/{toast.C7lu_NsX.js → toast.Csv6tMyT.js} +2 -2
  310. package/dist/chunks/{toast.C7lu_NsX.js.map → toast.Csv6tMyT.js.map} +1 -1
  311. package/dist/chunks/toggle.227XgEc7.js.map +1 -1
  312. package/dist/chunks/tooltip.C6YCavPw.js.map +1 -1
  313. package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
  314. package/dist/chunks/{tutorial.DdRGxTC5.js → tutorial.D18LwXVy.js} +5 -5
  315. package/dist/chunks/{tutorial.DdRGxTC5.js.map → tutorial.D18LwXVy.js.map} +1 -1
  316. package/dist/chunks/typography.Bq-EGj9y.js.map +1 -1
  317. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
  318. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
  319. package/dist/chunks/use-bento-toast-controller.MmyZXtME.js.map +1 -1
  320. package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js → use-cached-selected-values.gDWGi5Nk.js} +240 -231
  321. package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js.map → use-cached-selected-values.gDWGi5Nk.js.map} +1 -1
  322. package/dist/chunks/{use-country-items.B3Cd3Tdo.js → use-country-items.ClS_So5N.js} +2 -2
  323. package/dist/chunks/{use-country-items.B3Cd3Tdo.js.map → use-country-items.ClS_So5N.js.map} +1 -1
  324. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  325. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
  326. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  327. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
  328. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
  329. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
  330. package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
  331. package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
  332. package/dist/code-snippet.js +1 -1
  333. package/dist/country.js +2 -2
  334. package/dist/dashboard-template.js +1 -1
  335. package/dist/dashed-underline.js +1 -1
  336. package/dist/data-grid-template.js +1 -1
  337. package/dist/data-grid.js +1 -1
  338. package/dist/date-picker.js +2 -2
  339. package/dist/date-range-picker.js +2 -2
  340. package/dist/dropdown.js +3 -3
  341. package/dist/empty-state.js +1 -1
  342. package/dist/file-uploader.js +1 -1
  343. package/dist/filter-bar.js +1 -1
  344. package/dist/form-layout.js +1 -1
  345. package/dist/header-with-views.js +1 -1
  346. package/dist/header.js +1 -1
  347. package/dist/index.js +250 -251
  348. package/dist/index.js.map +1 -1
  349. package/dist/input-field-password.js +1 -1
  350. package/dist/input-field-phone-number.js +1 -1
  351. package/dist/input-field.js +1 -1
  352. package/dist/inspector.js +1 -1
  353. package/dist/internal.js +10 -10
  354. package/dist/link.js +1 -1
  355. package/dist/menu.js +1 -1
  356. package/dist/modal-fullscreen.js +1 -1
  357. package/dist/modal.js +2 -2
  358. package/dist/pagination.js +1 -1
  359. package/dist/popover.js +1 -1
  360. package/dist/promo-banner.js +1 -1
  361. package/dist/radio-group.js +1 -1
  362. package/dist/rich-text-editor.js +1 -1
  363. package/dist/search-bar.js +2 -2
  364. package/dist/secondary-nav.js +1 -1
  365. package/dist/selection-card.js +1 -1
  366. package/dist/sidepanel.js +1 -1
  367. package/dist/stepper.js +1 -1
  368. package/dist/structured-list.js +1 -1
  369. package/dist/styles/bento-dark.css +0 -1829
  370. package/dist/styles/bento-light.css +0 -1829
  371. package/dist/styles/bento.css +0 -1829
  372. package/dist/styles/legacy.css +0 -1829
  373. package/dist/styles/styleguide.css +0 -1829
  374. package/dist/summary-grid.js +1 -1
  375. package/dist/tabs.js +1 -1
  376. package/dist/textarea.js +1 -1
  377. package/dist/timeline.js +1 -1
  378. package/dist/toast.js +1 -1
  379. package/dist/tutorial.js +1 -1
  380. package/dist/use-form-v4.js.map +1 -1
  381. package/package.json +15 -26
  382. package/dist/@types/components.d.ts +0 -196
  383. package/dist/@types/use-form-v4.d.ts +0 -86
  384. package/dist/chunks/calendar.DCLyThOl.js +0 -1832
  385. package/dist/chunks/calendar.DCLyThOl.js.map +0 -1
  386. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +0 -1
  387. package/dist/chunks/code-snippet.1_edHDaZ.js.map +0 -1
  388. package/dist/chunks/constructNow.BhymNmy5.js +0 -8
  389. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  390. package/dist/chunks/date-format.B8RU7D42.js +0 -17
  391. package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
  392. package/dist/chunks/date-picker.-a_TXwjx.js.map +0 -1
  393. package/dist/chunks/date-range-picker.Bw1yPTu-.js +0 -906
  394. package/dist/chunks/date-range-picker.Bw1yPTu-.js.map +0 -1
  395. package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
  396. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
  397. package/dist/chunks/es6.MoTTyETW.js +0 -12
  398. package/dist/chunks/es6.MoTTyETW.js.map +0 -1
  399. package/dist/chunks/filter-bar.CgJA4tIt.js +0 -2472
  400. package/dist/chunks/filter-bar.CgJA4tIt.js.map +0 -1
  401. package/dist/chunks/fixed-scroller.Ca1ujamx.js +0 -106
  402. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
  403. package/dist/chunks/header-meta.C8_W0j_p.js +0 -170
  404. package/dist/chunks/header-meta.C8_W0j_p.js.map +0 -1
  405. package/dist/chunks/step.mqn8E6dm.js +0 -217
  406. package/dist/chunks/step.mqn8E6dm.js.map +0 -1
  407. package/dist/chunks/textarea.DfR2o1lz.js.map +0 -1
  408. package/dist/web-types.json +0 -17280
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.83.0",
3
+ "version": "1.84.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -49,7 +49,7 @@
49
49
  "unified": "11.0.5",
50
50
  "uuid": "11.0.5",
51
51
  "vue-demi": "0.14.10",
52
- "@adyen/bento-design-tokens": "1.83.0"
52
+ "@adyen/bento-design-tokens": "1.84.0"
53
53
  },
54
54
  "dependenciesMeta": {
55
55
  "@adyen/bento-vue-i18n-demi": {
@@ -79,6 +79,7 @@
79
79
  "@codemirror/language-data": "6.4.0",
80
80
  "@codemirror/state": "6.4.0",
81
81
  "@codemirror/view": "6.36.1",
82
+ "@nx/vite": "22.4.0",
82
83
  "@playwright/experimental-ct-vue2": "1.42.1",
83
84
  "@playwright/test": "1.42.1",
84
85
  "@storybook/addon-a11y": "7.6.21",
@@ -93,6 +94,7 @@
93
94
  "@storybook/theming": "7.6.21",
94
95
  "@storybook/vue": "7.6.21",
95
96
  "@storybook/vue-vite": "7.6.21",
97
+ "@swc/core": "1.15.11",
96
98
  "@testing-library/dom": "10.4.1",
97
99
  "@testing-library/jest-dom": "5.16.5",
98
100
  "@testing-library/user-event": "14.4.3",
@@ -131,38 +133,25 @@
131
133
  "vue-router": "3.6.4",
132
134
  "vue-style-loader": "4.1.3",
133
135
  "vue-template-compiler": "2.7.16",
134
- "vue-tsc": "2.2.10",
136
+ "vue-tsc": "1.0.24",
135
137
  "zod": "3.25.35",
136
- "@adyen/bento-cli": "0.8.3",
137
- "@adyen/bento-core": "0.0.1",
138
+ "@adyen/bento-cli": "0.9.0",
139
+ "@adyen/bento-mcp": "0.1.0",
140
+ "@adyen/bento-tailwind": "0.10.0",
138
141
  "@adyen/bento-vue-i18n-demi": "0.1.0",
139
- "@adyen/ui-assets-icons-16": "7.5.1",
140
- "@adyen/bento-tailwind": "0.9.1",
141
- "@adyen/ui-assets-payment-method-icons": "10.5.3"
142
+ "@adyen/bento-core": "0.0.1",
143
+ "@adyen/ui-assets-icons-16": "7.6.0",
144
+ "@adyen/ui-assets-payment-method-icons": "10.6.0"
142
145
  },
143
146
  "optionalDependencies": {
144
147
  "vue-router": "~3.6"
145
148
  },
146
149
  "generators": "./generators.json",
147
150
  "scripts": {
148
- "build": "pnpm run build:prod && pnpm run build:storybook",
149
- "build:lib": "vite --config vite.production.config.mts build",
150
- "build:dev": "NODE_ENV=development pnpm run clean:build && pnpm run build:lib --mode development build && pnpm run build:types && pnpm run build:webtypes",
151
- "build:watch": "NODE_ENV=development pnpm run build:lib --mode development --watch",
152
- "build:prod": "pnpm run clean:build && pnpm run build:type-check && pnpm run build:lib && pnpm run build:types && pnpm run build:webtypes",
153
- "build:prod:plugin": "pnpm run clean:build && vue-tsc -p ../core/tsconfig.json && pnpm run build:lib && pnpm run build:types && pnpm run build:webtypes",
154
- "build:type-check": "vue-tsc --noEmit -p ./tsconfig.build.json",
155
- "build:types": "vue-tsc -p ./tsconfig.d.json && tsc-alias -p ./tsconfig.d.json && pnpm run build:types:api-extractor && pnpm run build:types:use-form && pnpm run copy-components-defs",
156
- "build:types:api-extractor": "api-extractor run --local --verbose && pnpm prettier dist/@types/index.d.ts -w && rm -rf dist/@types/packages",
157
- "build:types:use-form": "vue-tsc --skipLibCheck src/composables/use-form-validate-zod-4/index.ts --declaration --emitDeclarationOnly --declarationDir dist/@types/use-form-v4 && api-extractor run -c api-extractor.use-form.json --local && rm -rf dist/@types/use-form-v4/",
158
- "copy-components-defs": "cp src/components.d.ts dist/@types",
159
- "build:webtypes": "vue-docgen-web-types --outFile=./dist/web-types.json",
160
- "build:storybook": "storybook build -c .storybook -o ../../public/packages/vue2",
151
+ "build:dev": "nx build vue2 -c development",
152
+ "build:watch": "nx build:lib vue2 -c development",
153
+ "build:prod": "nx build vue2 -c production",
161
154
  "component:create": "bento-cli component create",
162
- "clean": "pnpm run clean:build && pnpm run clean:storybook",
163
- "clean:build": "rm -rf ./dist",
164
- "clean:storybook": "rm -rf ./storybook-static",
165
- "dev": "storybook dev -p 8112 -c .storybook",
166
155
  "test": "TZ='Europe/Paris' vitest run --config ./vitest.config.mts",
167
156
  "test:changed": "TZ='Europe/Paris' vitest run --changed origin/main",
168
157
  "test:coverage": "pnpm run test --coverage",
@@ -177,6 +166,6 @@
177
166
  "e2e:report": "playwright show-report playwright-report",
178
167
  "e2e:ci": "pnpm run e2e:clean && playwright test -c ./playwright.integration.config.mts",
179
168
  "e2e:ci:update": "pnpm run e2e:clean && playwright test -c playwright.integration.config.mts --update-snapshots --project chromium*",
180
- "netlify": "pnpm run --filter @adyen/bento-design-tokens build:dev && pnpm run --filter @adyen/bento-tailwind build && pnpm run build:storybook && pnpm run --filter @adyen/bento-storybook-ai build"
169
+ "netlify": "pnpm run --filter @adyen/bento-design-tokens build:dev && pnpm run --filter @adyen/bento-tailwind build && pnpm nx build:storybook vue2 && pnpm run --filter @adyen/bento-storybook-ai build"
181
170
  }
182
171
  }
@@ -1,196 +0,0 @@
1
- /* eslint-disable @typescript-eslint/consistent-type-imports */
2
- import {
3
- BentoAccordion,
4
- BentoAccordionItem,
5
- BentoActionBar,
6
- BentoAlert,
7
- BentoAvatar,
8
- BentoBaseFilter,
9
- BentoButton,
10
- BentoButtonActions,
11
- BentoCard,
12
- BentoCheckbox,
13
- BentoCheckboxGroup,
14
- BentoChip,
15
- BentoClickOutside,
16
- BentoCodeSnippet,
17
- BentoCountry,
18
- BentoCurrency,
19
- BentoDashboardSection,
20
- BentoDashboardTemplate,
21
- BentoDashedUnderline,
22
- BentoDataGrid,
23
- BentoDataGridStaticIcon,
24
- BentoDataGridTemplate,
25
- BentoDataGridTrendCell,
26
- BentoDate,
27
- BentoDatePicker,
28
- BentoDateRangePicker,
29
- BentoDivider,
30
- BentoDropdown,
31
- BentoDropdownAvatar,
32
- BentoDropdownCountry,
33
- BentoDropdownCurrency,
34
- BentoDropdownPaymentMethod,
35
- BentoDropdownTag,
36
- BentoEmptyState,
37
- BentoFileUploader,
38
- BentoFilterBar,
39
- BentoFormLayout,
40
- BentoFormLayoutFieldTip,
41
- BentoFormLayoutGroup,
42
- BentoFormLayoutTitle,
43
- BentoHeader,
44
- BentoHeaderWithViews,
45
- BentoImage,
46
- BentoInfoIcon,
47
- BentoInputField,
48
- BentoInputFieldPassword,
49
- BentoInputFieldPhoneNumber,
50
- BentoInspector,
51
- BentoLayout,
52
- BentoLayoutRow,
53
- BentoLink,
54
- BentoLoadingButton,
55
- BentoLoadingIndicator,
56
- BentoMenu,
57
- BentoModal,
58
- BentoModalFullscreen,
59
- BentoModalFullscreenPage,
60
- BentoModalPage,
61
- BentoPagination,
62
- BentoPaymentMethod,
63
- BentoPopover,
64
- BentoPromoBanner,
65
- BentoRadioButton,
66
- BentoRadioGroup,
67
- BentoRichTextEditor,
68
- BentoSearchBar,
69
- BentoSecondaryNav,
70
- BentoSegmentedControl,
71
- BentoSelectionCard,
72
- BentoSelectionCardGroup,
73
- BentoSidepanel,
74
- BentoSidepanelPage,
75
- BentoStatus,
76
- BentoStep,
77
- BentoStepper,
78
- BentoStructuredList,
79
- BentoStructuredListItem,
80
- BentoSummaryGrid,
81
- BentoSummaryGridItemAmount,
82
- BentoSummaryGridItemCustom,
83
- BentoSummaryGridItemNumeric,
84
- BentoSummaryGridItemPercentage,
85
- BentoSummaryGridItemText,
86
- BentoTab,
87
- BentoTabs,
88
- BentoTag,
89
- BentoTextarea,
90
- BentoTimeline,
91
- BentoTimelineItem,
92
- BentoToast,
93
- BentoToggle,
94
- BentoToggleButton,
95
- BentoTutorial,
96
- BentoTypography,
97
- } from './index';
98
-
99
- declare module 'vue' {
100
- export interface GlobalComponents {
101
- BentoAccordion: typeof BentoAccordion;
102
- BentoAccordionItem: typeof BentoAccordionItem;
103
- BentoActionBar: typeof BentoActionBar;
104
- BentoAlert: typeof BentoAlert;
105
- BentoAvatar: typeof BentoAvatar;
106
- BentoBaseFilter: typeof BentoBaseFilter;
107
- BentoButton: typeof BentoButton;
108
- BentoButtonActions: typeof BentoButtonActions;
109
- BentoCard: typeof BentoCard;
110
- BentoCheckbox: typeof BentoCheckbox;
111
- BentoCheckboxGroup: typeof BentoCheckboxGroup;
112
- BentoChip: typeof BentoChip;
113
- BentoClickOutside: typeof BentoClickOutside;
114
- BentoCountry: typeof BentoCountry;
115
- BentoCodeSnippet: typeof BentoCodeSnippet;
116
- BentoCurrency: typeof BentoCurrency;
117
- BentoDashboardSection: typeof BentoDashboardSection;
118
- BentoDashboardTemplate: typeof BentoDashboardTemplate;
119
- BentoDashedUnderline: typeof BentoDashedUnderline;
120
- BentoDataGrid: typeof BentoDataGrid;
121
- BentoDataGridStaticIcon: typeof BentoDataGridStaticIcon;
122
- BentoDataGridTemplate: typeof BentoDataGridTemplate;
123
- BentoDataGridTrendCell: typeof BentoDataGridTrendCell;
124
- BentoDate: typeof BentoDate;
125
- BentoDatePicker: typeof BentoDatePicker;
126
- BentoDateRangePicker: typeof BentoDateRangePicker;
127
- BentoDivider: typeof BentoDivider;
128
- BentoDropdown: typeof BentoDropdown;
129
- BentoDropdownAvatar: typeof BentoDropdownAvatar;
130
- BentoDropdownCountry: typeof BentoDropdownCountry;
131
- BentoEmptyState: typeof BentoEmptyState;
132
- BentoFileUploader: typeof BentoFileUploader;
133
- BentoFilterBar: typeof BentoFilterBar;
134
- BentoFormLayout: typeof BentoFormLayout;
135
- BentoFormLayoutFieldTip: typeof BentoFormLayoutFieldTip;
136
- BentoFormLayoutGroup: typeof BentoFormLayoutGroup;
137
- BentoFormLayoutTitle: typeof BentoFormLayoutTitle;
138
- BentoHeader: typeof BentoHeader;
139
- BentoHeaderWithViews: typeof BentoHeaderWithViews;
140
- BentoImage: typeof BentoImage;
141
- BentoInfoIcon: typeof BentoInfoIcon;
142
- BentoInspector: typeof BentoInspector;
143
- BentoLayout: typeof BentoLayout;
144
- BentoLayoutRow: typeof BentoLayoutRow;
145
- BentoDropdownCurrency: typeof BentoDropdownCurrency;
146
- BentoDropdownPaymentMethod: typeof BentoDropdownPaymentMethod;
147
- BentoDropdownTag: typeof BentoDropdownTag;
148
- BentoInputField: typeof BentoInputField;
149
- BentoInputFieldPassword: typeof BentoInputFieldPassword;
150
- BentoInputFieldPhoneNumber: typeof BentoInputFieldPhoneNumber;
151
- BentoLink: typeof BentoLink;
152
- BentoLoadingButton: typeof BentoLoadingButton;
153
- BentoLoadingIndicator: typeof BentoLoadingIndicator;
154
- BentoMenu: typeof BentoMenu;
155
- BentoModal: typeof BentoModal;
156
- BentoModalFullscreen: typeof BentoModalFullscreen;
157
- BentoModalFullscreenPage: typeof BentoModalFullscreenPage;
158
- BentoModalPage: typeof BentoModalPage;
159
- BentoPagination: typeof BentoPagination;
160
- BentoPaymentMethod: typeof BentoPaymentMethod;
161
- BentoPopover: typeof BentoPopover;
162
- BentoPromoBanner: typeof BentoPromoBanner;
163
- BentoRadioButton: typeof BentoRadioButton;
164
- BentoRadioGroup: typeof BentoRadioGroup;
165
- BentoRichTextEditor: typeof BentoRichTextEditor;
166
- BentoSearchBar: typeof BentoSearchBar;
167
- BentoSecondaryNav: typeof BentoSecondaryNav;
168
- BentoSegmentedControl: typeof BentoSegmentedControl;
169
- BentoSelectionCard: typeof BentoSelectionCard;
170
- BentoSelectionCardGroup: typeof BentoSelectionCardGroup;
171
- BentoSidepanel: typeof BentoSidepanel;
172
- BentoSidepanelPage: typeof BentoSidepanelPage;
173
- BentoStatus: typeof BentoStatus;
174
- BentoStep: typeof BentoStep;
175
- BentoStepper: typeof BentoStepper;
176
- BentoStructuredList: typeof BentoStructuredList;
177
- BentoStructuredListItem: typeof BentoStructuredListItem;
178
- BentoSummaryGrid: typeof BentoSummaryGrid;
179
- BentoSummaryGridItemAmount: typeof BentoSummaryGridItemAmount;
180
- BentoSummaryGridItemCustom: typeof BentoSummaryGridItemCustom;
181
- BentoSummaryGridItemPercentage: typeof BentoSummaryGridItemPercentage;
182
- BentoSummaryGridItemNumeric: typeof BentoSummaryGridItemNumeric;
183
- BentoSummaryGridItemText: typeof BentoSummaryGridItemText;
184
- BentoTab: typeof BentoTab;
185
- BentoTabs: typeof BentoTabs;
186
- BentoTag: typeof BentoTag;
187
- BentoTimeline: typeof BentoTimeline;
188
- BentoTimelineItem: typeof BentoTimelineItem;
189
- BentoToast: typeof BentoToast;
190
- BentoToggle: typeof BentoToggle;
191
- BentoToggleButton: typeof BentoToggleButton;
192
- BentoTutorial: typeof BentoTutorial;
193
- BentoTypography: typeof BentoTypography;
194
- BentoTextarea: typeof BentoTextarea;
195
- }
196
- }
@@ -1,86 +0,0 @@
1
- import { Ref } from 'vue';
2
- import type { typeToFlattenedError } from 'zod';
3
- import type { ZodType } from 'zod/v4';
4
-
5
- /**
6
- * Extracts all the keys from a type
7
- */
8
- export declare type allKeys<T> = T extends any ? keyof T : never;
9
-
10
- /**
11
- * Object of all the form field props with their respective list of errors
12
- */
13
- export declare type ErrorBag<T> = typeToFlattenedError<T, string>['fieldErrors'];
14
-
15
- /**
16
- * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.
17
- *
18
- * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.
19
- * Function that transform Zod’s schemas into something that can be understood by vee-validate
20
- *
21
- * @param {T extends ZodSchema} formSchema Zod schema to be transformed into a `vee-validate` schema
22
- * @returns {UseForm<T>} schema Schema transformed
23
- */
24
- export declare function toTypedSchema<T extends ZodType>(formSchema: T): T;
25
-
26
- /**
27
- * useForm composable configuration object
28
- */
29
- export declare interface UseForm<T> {
30
- validationSchema: T;
31
- }
32
-
33
- /**
34
- * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout
35
- * to ease the migration to Vue3.
36
- *
37
- * For Vue3 implementations use Vee-Validate.
38
- *
39
- * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.
40
- * It returns reactive values that can be used directly in form input elements with 'v-model' alongside
41
- * with functions to "reset" the data (sets values to default value) and a function to execute the
42
- * successful form validation process (through a callback).
43
- *
44
- * @param props Form configuration object
45
- * @param props.validationSchema Zod typed validation schema
46
- * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data
47
- * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value
48
- * @returns response.errors Object with all the form values and the first error found for that field (if any)
49
- * @returns response.values Object with all the form values and their current value
50
- * @returns response.handleReset Resets the form values to default (initial values) when it gets called
51
- * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.
52
- * When the validation is successful it calls the callback so the submit process can continue
53
- *
54
- * @example
55
- * const validationSchema = toTypedSchema(
56
- * z.object({
57
- * name: z
58
- * .string()
59
- * .min(3, { message: 'Name is required' })
60
- * .startsWith('Jane')
61
- * .max(4, { message: 'Name cannot be longer than 4 characters' })
62
- * .default('Joe'),
63
- * })
64
- * );
65
- *
66
- * const { values, errors, errorBag, submitForm, handleReset } = useForm({
67
- * validationSchema
68
- * });
69
- * const handleSubmit = submitForm(() => {
70
- * // Send data to API here
71
- * })
72
- *
73
- */
74
- export declare function useForm<T extends ZodType>({ validationSchema, }: UseForm<T>): {
75
- errorBag: Ref<{
76
- [P in allKeys<(typeof validationSchema)['_output']>]?: Array<string>;
77
- }>;
78
- errors: Ref<{
79
- [P in allKeys<(typeof validationSchema)['_output']>]?: string;
80
- }>;
81
- values: Ref<(typeof validationSchema)['_output']>;
82
- handleReset: () => void;
83
- submitForm: (submitted: any) => () => void;
84
- };
85
-
86
- export { }