@adyen/bento-vue3 1.73.0 → 1.74.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 (325) hide show
  1. package/dist/@types/components.d.ts +2 -10
  2. package/dist/@types/index.d.ts +1527 -1712
  3. package/dist/@types/use-form-v4.d.ts +1 -1
  4. package/dist/accordion.js +1 -1
  5. package/dist/action-bar.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.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.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/country.css +1 -1
  16. package/dist/assets/currency.css +1 -1
  17. package/dist/assets/data-grid.css +1 -1
  18. package/dist/assets/date-picker.css +1 -1
  19. package/dist/assets/date-range-picker.css +1 -1
  20. package/dist/assets/dialog-page.css +1 -1
  21. package/dist/assets/dropdown-default-textbox.css +1 -1
  22. package/dist/assets/dropdown-tag.css +1 -1
  23. package/dist/assets/dropdown.css +1 -1
  24. package/dist/assets/file-uploader.css +1 -1
  25. package/dist/assets/filter-bar.css +1 -1
  26. package/dist/assets/header-meta.css +1 -1
  27. package/dist/assets/header-with-views.css +1 -1
  28. package/dist/assets/input-field-password.css +1 -1
  29. package/dist/assets/input-field-phone-number.css +1 -1
  30. package/dist/assets/input-field.css +1 -1
  31. package/dist/assets/inspector.css +1 -1
  32. package/dist/assets/listbox-option-tag.css +1 -1
  33. package/dist/assets/loading-indicator.css +1 -1
  34. package/dist/assets/modal-fullscreen.css +1 -1
  35. package/dist/assets/pagination.css +1 -1
  36. package/dist/assets/popper-container.css +1 -1
  37. package/dist/assets/radio-group.css +1 -1
  38. package/dist/assets/secondary-nav.css +1 -1
  39. package/dist/assets/segmented-control.css +1 -1
  40. package/dist/assets/selection-card-group.css +1 -1
  41. package/dist/assets/sidepanel.css +1 -1
  42. package/dist/assets/step.css +1 -1
  43. package/dist/assets/tab.css +1 -1
  44. package/dist/assets/textarea.css +1 -1
  45. package/dist/assets/timeline-item.css +1 -1
  46. package/dist/assets/toggle.css +1 -1
  47. package/dist/assets/tooltip.css +1 -1
  48. package/dist/assets/tutorial.css +1 -1
  49. package/dist/assets/use-cached-selected-values.css +1 -1
  50. package/dist/avatar.js +1 -1
  51. package/dist/button.js +3 -3
  52. package/dist/card.js +1 -1
  53. package/dist/checkbox.js +2 -2
  54. package/dist/chip.js +1 -1
  55. package/dist/chunks/{accordion-item.6etqAJV9.js → accordion-item.Bd3v6erb.js} +2 -2
  56. package/dist/chunks/{accordion-item.6etqAJV9.js.map → accordion-item.Bd3v6erb.js.map} +1 -1
  57. package/dist/chunks/{action-bar.DDLTN9TB.js → action-bar.BZ04Y7Yi.js} +5 -5
  58. package/dist/chunks/{action-bar.DDLTN9TB.js.map → action-bar.BZ04Y7Yi.js.map} +1 -1
  59. package/dist/chunks/{ai-button.DsNrcgpK.js → ai-button.DaRuea3x.js} +2 -2
  60. package/dist/chunks/{ai-button.DsNrcgpK.js.map → ai-button.DaRuea3x.js.map} +1 -1
  61. package/dist/chunks/{alert.Dzx5MzgE.js → alert.C2pusd-_.js} +3 -3
  62. package/dist/chunks/{alert.Dzx5MzgE.js.map → alert.C2pusd-_.js.map} +1 -1
  63. package/dist/chunks/{avatar.Dq59yj6m.js → avatar.P2Fkz2I6.js} +27 -26
  64. package/dist/chunks/avatar.P2Fkz2I6.js.map +1 -0
  65. package/dist/chunks/{base-modal.Djw4pVal.js → base-modal.UA93s_8c.js} +7 -7
  66. package/dist/chunks/base-modal.UA93s_8c.js.map +1 -0
  67. package/dist/chunks/{button-actions-with-menu.DaKPEgPd.js → button-actions-with-menu.BeQ-j1bv.js} +2 -2
  68. package/dist/chunks/{button-actions-with-menu.DaKPEgPd.js.map → button-actions-with-menu.BeQ-j1bv.js.map} +1 -1
  69. package/dist/chunks/{button-actions.D1eBtYgZ.js → button-actions.BQ3AFQqt.js} +13 -16
  70. package/dist/chunks/button-actions.BQ3AFQqt.js.map +1 -0
  71. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  72. package/dist/chunks/{button.C-MAa6ut.js → button.DhcxX2GJ.js} +2 -2
  73. package/dist/chunks/button.DhcxX2GJ.js.map +1 -0
  74. package/dist/chunks/{calendar.B1a_mV-Q.js → calendar.Cqjyxc69.js} +314 -310
  75. package/dist/chunks/calendar.Cqjyxc69.js.map +1 -0
  76. package/dist/chunks/{card.B9lWURmF.js → card.GxkxfBoV.js} +23 -23
  77. package/dist/chunks/card.GxkxfBoV.js.map +1 -0
  78. package/dist/chunks/{checkbox-group.DdflEpl9.js → checkbox-group.8ebmaHsA.js} +4 -4
  79. package/dist/chunks/{checkbox-group.DdflEpl9.js.map → checkbox-group.8ebmaHsA.js.map} +1 -1
  80. package/dist/chunks/{checkbox.C8g1CvTm.js → checkbox.BI0dqARY.js} +18 -18
  81. package/dist/chunks/{checkbox.C8g1CvTm.js.map → checkbox.BI0dqARY.js.map} +1 -1
  82. package/dist/chunks/{chip.CUwVpPVo.js → chip.DuLyhNCy.js} +2 -2
  83. package/dist/chunks/{chip.CUwVpPVo.js.map → chip.DuLyhNCy.js.map} +1 -1
  84. package/dist/chunks/{code-snippet.CrLlNrvo.js → code-snippet.CO78Nfj0.js} +7 -7
  85. package/dist/chunks/{code-snippet.CrLlNrvo.js.map → code-snippet.CO78Nfj0.js.map} +1 -1
  86. package/dist/chunks/{controls-group.CdTg-WDi.js → controls-group.cbGiHr7n.js} +2 -2
  87. package/dist/chunks/{controls-group.CdTg-WDi.js.map → controls-group.cbGiHr7n.js.map} +1 -1
  88. package/dist/chunks/{copy.Da1OGFTr.js → copy.ClKnDjMI.js} +5 -5
  89. package/dist/chunks/{copy.Da1OGFTr.js.map → copy.ClKnDjMI.js.map} +1 -1
  90. package/dist/chunks/country.DmnN9YIW.js +69 -0
  91. package/dist/chunks/country.DmnN9YIW.js.map +1 -0
  92. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
  93. package/dist/chunks/{currency.CN4UnCx8.js → currency.CBZMwm21.js} +55 -38
  94. package/dist/chunks/currency.CBZMwm21.js.map +1 -0
  95. package/dist/chunks/{dashboard-section.BXE7_Y9R.js → dashboard-section.CVttsom5.js} +3 -3
  96. package/dist/chunks/{dashboard-section.BXE7_Y9R.js.map → dashboard-section.CVttsom5.js.map} +1 -1
  97. package/dist/chunks/{dashed-underline.28J-9i5D.js → dashed-underline.r62L_XBr.js} +3 -3
  98. package/dist/chunks/{dashed-underline.28J-9i5D.js.map → dashed-underline.r62L_XBr.js.map} +1 -1
  99. package/dist/chunks/{data-grid-template.B13OrA1T.js → data-grid-template.CFt1NV_4.js} +4 -4
  100. package/dist/chunks/{data-grid-template.B13OrA1T.js.map → data-grid-template.CFt1NV_4.js.map} +1 -1
  101. package/dist/chunks/{data-grid.DreajC_w.js → data-grid.BjPdbx50.js} +729 -727
  102. package/dist/chunks/data-grid.BjPdbx50.js.map +1 -0
  103. package/dist/chunks/{date-input.BqBdAO1E.js → date-format.B8RU7D42.js} +6 -6
  104. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  105. package/dist/chunks/date-picker.DSkvT_CA.js +234 -0
  106. package/dist/chunks/date-picker.DSkvT_CA.js.map +1 -0
  107. package/dist/chunks/date-range-picker.cmg75lC-.js +1117 -0
  108. package/dist/chunks/date-range-picker.cmg75lC-.js.map +1 -0
  109. package/dist/chunks/{date.4GAXrgy5.js → date.DZvVL-uz.js} +3 -3
  110. package/dist/chunks/{date.4GAXrgy5.js.map → date.DZvVL-uz.js.map} +1 -1
  111. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  112. package/dist/chunks/{dialog-page.1ZVnUqpT.js → dialog-page.zWrBSgBD.js} +3 -3
  113. package/dist/chunks/dialog-page.zWrBSgBD.js.map +1 -0
  114. package/dist/chunks/{dropdown-default-textbox.CGsOngY1.js → dropdown-default-textbox.MkU0tMf1.js} +29 -29
  115. package/dist/chunks/dropdown-default-textbox.MkU0tMf1.js.map +1 -0
  116. package/dist/chunks/{dropdown-tag.fEWQOFYE.js → dropdown-tag.DvQQIJsw.js} +134 -122
  117. package/dist/chunks/dropdown-tag.DvQQIJsw.js.map +1 -0
  118. package/dist/chunks/{dropdown.DGpN3WNH.js → dropdown.bLsoTZbw.js} +233 -226
  119. package/dist/chunks/dropdown.bLsoTZbw.js.map +1 -0
  120. package/dist/chunks/{empty-state.BsKJ-1pT.js → empty-state.Be6M8ivH.js} +2 -2
  121. package/dist/chunks/{empty-state.BsKJ-1pT.js.map → empty-state.Be6M8ivH.js.map} +1 -1
  122. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  123. package/dist/chunks/{field-label.DSeawpYh.js → field-label.C97CrBI_.js} +3 -3
  124. package/dist/chunks/{field-label.DSeawpYh.js.map → field-label.C97CrBI_.js.map} +1 -1
  125. package/dist/chunks/{file-uploader.DELe6_NM.js → file-uploader.By0MTfKk.js} +87 -88
  126. package/dist/chunks/file-uploader.By0MTfKk.js.map +1 -0
  127. package/dist/chunks/filter-bar.nX73NKNC.js +2948 -0
  128. package/dist/chunks/filter-bar.nX73NKNC.js.map +1 -0
  129. package/dist/chunks/{fixed-scroller.BASYH576.js → fixed-scroller.Dmg8r9QP.js} +3 -3
  130. package/dist/chunks/{fixed-scroller.BASYH576.js.map → fixed-scroller.Dmg8r9QP.js.map} +1 -1
  131. package/dist/chunks/focus-trap.CpNGD7PH.js.map +1 -1
  132. package/dist/chunks/{footer-actions.Bqn-Jp0p.js → footer-actions.BO52wpv-.js} +3 -3
  133. package/dist/chunks/{footer-actions.Bqn-Jp0p.js.map → footer-actions.BO52wpv-.js.map} +1 -1
  134. package/dist/chunks/{form-layout-title.DzwxO39t.js → form-layout-title.61ESsGAY.js} +2 -2
  135. package/dist/chunks/{form-layout-title.DzwxO39t.js.map → form-layout-title.61ESsGAY.js.map} +1 -1
  136. package/dist/chunks/get-slot-text.DQlZEsId.js.map +1 -1
  137. package/dist/chunks/{header-meta.BXOpbsSR.js → header-meta.C4iaUsfq.js} +13 -10
  138. package/dist/chunks/{header-meta.BXOpbsSR.js.map → header-meta.C4iaUsfq.js.map} +1 -1
  139. package/dist/chunks/{header-with-views.Dav18t9C.js → header-with-views.BLW817ZC.js} +207 -207
  140. package/dist/chunks/header-with-views.BLW817ZC.js.map +1 -0
  141. package/dist/chunks/{header.9kRuPR3K.js → header.DARVAeE9.js} +3 -3
  142. package/dist/chunks/{header.9kRuPR3K.js.map → header.DARVAeE9.js.map} +1 -1
  143. package/dist/chunks/index.pdBj0KQU.js +15 -0
  144. package/dist/chunks/index.pdBj0KQU.js.map +1 -0
  145. package/dist/chunks/{info-icon.CRnO5lpq.js → info-icon.BhOm72U4.js} +3 -3
  146. package/dist/chunks/{info-icon.CRnO5lpq.js.map → info-icon.BhOm72U4.js.map} +1 -1
  147. package/dist/chunks/{input-field-password.L64foAS-.js → input-field-password.BtM3-txc.js} +8 -8
  148. package/dist/chunks/input-field-password.BtM3-txc.js.map +1 -0
  149. package/dist/chunks/{input-field-phone-number.DoJXn0mQ.js → input-field-phone-number.oaNB69nM.js} +499 -502
  150. package/dist/chunks/{input-field-phone-number.DoJXn0mQ.js.map → input-field-phone-number.oaNB69nM.js.map} +1 -1
  151. package/dist/chunks/{input-field.CDtTOgw7.js → input-field.D_tADgPG.js} +5 -5
  152. package/dist/chunks/input-field.D_tADgPG.js.map +1 -0
  153. package/dist/chunks/{inspector.C-yVhM15.js → inspector.BKP15cx6.js} +4 -4
  154. package/dist/chunks/inspector.BKP15cx6.js.map +1 -0
  155. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
  156. package/dist/chunks/{listbox-option-tag.CtJUykfB.js → listbox-option-tag.uHSB7MO6.js} +9 -9
  157. package/dist/chunks/listbox-option-tag.uHSB7MO6.js.map +1 -0
  158. package/dist/chunks/loading-indicator.Db794TT5.js +33 -0
  159. package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -0
  160. package/dist/chunks/{modal-fullscreen.CIxazX33.js → modal-fullscreen.DTT-5rQX.js} +6 -6
  161. package/dist/chunks/{modal-fullscreen.CIxazX33.js.map → modal-fullscreen.DTT-5rQX.js.map} +1 -1
  162. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.D4TJY7o_.js → modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js} +6 -6
  163. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.D4TJY7o_.js.map → modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js.map} +1 -1
  164. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  165. package/dist/chunks/{pagination.CmOEkbVb.js → pagination.D1Gdo5to.js} +5 -5
  166. package/dist/chunks/pagination.D1Gdo5to.js.map +1 -0
  167. package/dist/chunks/popover.types.BFFy1ChU.js +6 -0
  168. package/dist/chunks/{popover.types.Bp97CGc4.js.map → popover.types.BFFy1ChU.js.map} +1 -1
  169. package/dist/chunks/{popper-container.5cq-eu41.js → popper-container.Uod3yjsR.js} +2 -2
  170. package/dist/chunks/{popper-container.5cq-eu41.js.map → popper-container.Uod3yjsR.js.map} +1 -1
  171. package/dist/chunks/{promo-banner.ChT2zKkO.js → promo-banner.B-TLTLEd.js} +3 -3
  172. package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -0
  173. package/dist/chunks/radio-group.DWNqrkZ3.js +277 -0
  174. package/dist/chunks/radio-group.DWNqrkZ3.js.map +1 -0
  175. package/dist/chunks/{rich-text-editor.Cjb5BGaV.js → rich-text-editor.BK9AivIm.js} +6 -6
  176. package/dist/chunks/{rich-text-editor.Cjb5BGaV.js.map → rich-text-editor.BK9AivIm.js.map} +1 -1
  177. package/dist/chunks/{search-bar.DP713Pmh.js → search-bar.BD_R-vgA.js} +4 -4
  178. package/dist/chunks/{search-bar.DP713Pmh.js.map → search-bar.BD_R-vgA.js.map} +1 -1
  179. package/dist/chunks/{secondary-nav.B1R_oNdP.js → secondary-nav.Du2PL7Ok.js} +5 -5
  180. package/dist/chunks/secondary-nav.Du2PL7Ok.js.map +1 -0
  181. package/dist/chunks/{segmented-control.D0SoqGlC.js → segmented-control.BCHGDSrf.js} +47 -45
  182. package/dist/chunks/segmented-control.BCHGDSrf.js.map +1 -0
  183. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  184. package/dist/chunks/{selection-card-group.Bo3xkW0P.js → selection-card-group._RgLiMyQ.js} +12 -12
  185. package/dist/chunks/selection-card-group._RgLiMyQ.js.map +1 -0
  186. package/dist/chunks/{sidepanel.CyPW8jxA.js → sidepanel.CS9CfAWZ.js} +19 -19
  187. package/dist/chunks/{sidepanel.CyPW8jxA.js.map → sidepanel.CS9CfAWZ.js.map} +1 -1
  188. package/dist/chunks/{step.Ci-e1V9E.js → step.CoSuGK16.js} +4 -4
  189. package/dist/chunks/step.CoSuGK16.js.map +1 -0
  190. package/dist/chunks/{structured-list-item.CSkcduKn.js → structured-list-item.BTPh7SPj.js} +6 -6
  191. package/dist/chunks/{structured-list-item.CSkcduKn.js.map → structured-list-item.BTPh7SPj.js.map} +1 -1
  192. package/dist/chunks/{summary-grid.types.C-gcwqwB.js → summary-grid.types.ByQ4u19J.js} +6 -6
  193. package/dist/chunks/{summary-grid.types.C-gcwqwB.js.map → summary-grid.types.ByQ4u19J.js.map} +1 -1
  194. package/dist/chunks/{tab.8bEkiAkk.js → tab.CD5Eu6ql.js} +3 -3
  195. package/dist/chunks/tab.CD5Eu6ql.js.map +1 -0
  196. package/dist/chunks/{tag.BFYNxO6t.js → tag.CEmpyuYX.js} +2 -2
  197. package/dist/chunks/{tag.BFYNxO6t.js.map → tag.CEmpyuYX.js.map} +1 -1
  198. package/dist/chunks/textarea.C1jkfowf.js +246 -0
  199. package/dist/chunks/textarea.C1jkfowf.js.map +1 -0
  200. package/dist/chunks/{timeline-item.BiivSMPD.js → timeline-item.C8PA_w7m.js} +9 -9
  201. package/dist/chunks/timeline-item.C8PA_w7m.js.map +1 -0
  202. package/dist/chunks/{toast.DIhABAW8.js → toast.6oJx7SNq.js} +3 -3
  203. package/dist/chunks/{toast.DIhABAW8.js.map → toast.6oJx7SNq.js.map} +1 -1
  204. package/dist/chunks/toggle.Dd_NA8eH.js +143 -0
  205. package/dist/chunks/toggle.Dd_NA8eH.js.map +1 -0
  206. package/dist/chunks/tooltip.Dp9_ESm_.js +202 -0
  207. package/dist/chunks/tooltip.Dp9_ESm_.js.map +1 -0
  208. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BDCDB169.js → tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js} +6 -6
  209. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js.map +1 -0
  210. package/dist/chunks/{use-cached-selected-values.CBOWMI4O.js → use-cached-selected-values.C32tjNKy.js} +114 -114
  211. package/dist/chunks/use-cached-selected-values.C32tjNKy.js.map +1 -0
  212. package/dist/chunks/{use-country-items.D_kamcYy.js → use-country-items.Dzbl2UsO.js} +7 -7
  213. package/dist/chunks/use-country-items.Dzbl2UsO.js.map +1 -0
  214. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  215. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -1
  216. package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
  217. package/dist/code-snippet.js +1 -1
  218. package/dist/country.js +1 -1
  219. package/dist/currency.js +1 -1
  220. package/dist/dashboard-template.js +1 -1
  221. package/dist/dashed-underline.js +1 -1
  222. package/dist/data-grid-template.js +1 -1
  223. package/dist/data-grid.js +1 -1
  224. package/dist/date-picker.js +5 -4
  225. package/dist/date-range-picker.js +5 -4
  226. package/dist/date.js +1 -1
  227. package/dist/dropdown.js +4 -4
  228. package/dist/empty-state.js +1 -1
  229. package/dist/file-uploader.js +1 -1
  230. package/dist/filter-bar.js +5 -4
  231. package/dist/form-layout.js +1 -1
  232. package/dist/header-with-views.js +1 -1
  233. package/dist/header.js +1 -1
  234. package/dist/index.js +405 -329
  235. package/dist/index.js.map +1 -1
  236. package/dist/info-icon.js +1 -1
  237. package/dist/input-field-password.js +1 -1
  238. package/dist/input-field-phone-number.js +1 -1
  239. package/dist/input-field.js +1 -1
  240. package/dist/inspector.js +1 -1
  241. package/dist/internal.js +12 -12
  242. package/dist/loading-indicator.js +1 -1
  243. package/dist/menu.js +1 -1
  244. package/dist/modal-fullscreen.js +1 -1
  245. package/dist/modal.js +2 -2
  246. package/dist/pagination.js +1 -1
  247. package/dist/popover.js +2 -2
  248. package/dist/popper-container.js +1 -1
  249. package/dist/promo-banner.js +1 -1
  250. package/dist/radio-group.js +1 -1
  251. package/dist/rich-text-editor.js +1 -1
  252. package/dist/search-bar.js +2 -2
  253. package/dist/secondary-nav.js +1 -1
  254. package/dist/segmented-control.js +1 -1
  255. package/dist/selection-card.js +1 -1
  256. package/dist/sidepanel.js +1 -1
  257. package/dist/stepper.js +1 -1
  258. package/dist/structured-list.js +1 -1
  259. package/dist/styles/bento-dark.css +5 -2
  260. package/dist/styles/bento-light.css +5 -2
  261. package/dist/styles/bento.css +5 -2
  262. package/dist/styles/legacy.css +5 -2
  263. package/dist/styles/styleguide.css +5 -2
  264. package/dist/summary-grid.js +1 -1
  265. package/dist/tabs.js +1 -1
  266. package/dist/tag.js +1 -1
  267. package/dist/textarea.js +1 -1
  268. package/dist/timeline.js +1 -1
  269. package/dist/toast.js +1 -1
  270. package/dist/toggle.js +1 -1
  271. package/dist/tutorial.js +1 -1
  272. package/dist/use-form-v4.js.map +1 -1
  273. package/dist/web-types.json +1 -1
  274. package/package.json +13 -11
  275. package/dist/chunks/avatar.Dq59yj6m.js.map +0 -1
  276. package/dist/chunks/base-modal.Djw4pVal.js.map +0 -1
  277. package/dist/chunks/button-actions.D1eBtYgZ.js.map +0 -1
  278. package/dist/chunks/button.C-MAa6ut.js.map +0 -1
  279. package/dist/chunks/calendar.B1a_mV-Q.js.map +0 -1
  280. package/dist/chunks/card.B9lWURmF.js.map +0 -1
  281. package/dist/chunks/country.RVvsGwuV.js +0 -99
  282. package/dist/chunks/country.RVvsGwuV.js.map +0 -1
  283. package/dist/chunks/currency.CN4UnCx8.js.map +0 -1
  284. package/dist/chunks/data-grid.DreajC_w.js.map +0 -1
  285. package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
  286. package/dist/chunks/date-picker.Dwx2Q5hg.js +0 -319
  287. package/dist/chunks/date-picker.Dwx2Q5hg.js.map +0 -1
  288. package/dist/chunks/date-range-picker.6mEJDgNr.js +0 -1174
  289. package/dist/chunks/date-range-picker.6mEJDgNr.js.map +0 -1
  290. package/dist/chunks/dialog-page.1ZVnUqpT.js.map +0 -1
  291. package/dist/chunks/dropdown-default-textbox.CGsOngY1.js.map +0 -1
  292. package/dist/chunks/dropdown-tag.fEWQOFYE.js.map +0 -1
  293. package/dist/chunks/dropdown.DGpN3WNH.js.map +0 -1
  294. package/dist/chunks/file-uploader.DELe6_NM.js.map +0 -1
  295. package/dist/chunks/filter-bar.DajTlHPO.js +0 -3005
  296. package/dist/chunks/filter-bar.DajTlHPO.js.map +0 -1
  297. package/dist/chunks/header-with-views.Dav18t9C.js.map +0 -1
  298. package/dist/chunks/i18n.B6g5VX0q.js +0 -3131
  299. package/dist/chunks/i18n.B6g5VX0q.js.map +0 -1
  300. package/dist/chunks/input-field-password.L64foAS-.js.map +0 -1
  301. package/dist/chunks/input-field.CDtTOgw7.js.map +0 -1
  302. package/dist/chunks/inspector.C-yVhM15.js.map +0 -1
  303. package/dist/chunks/listbox-option-tag.CtJUykfB.js.map +0 -1
  304. package/dist/chunks/loading-indicator.VHi5tbZa.js +0 -44
  305. package/dist/chunks/loading-indicator.VHi5tbZa.js.map +0 -1
  306. package/dist/chunks/pagination.CmOEkbVb.js.map +0 -1
  307. package/dist/chunks/popover.types.Bp97CGc4.js +0 -6
  308. package/dist/chunks/promo-banner.ChT2zKkO.js.map +0 -1
  309. package/dist/chunks/radio-group.CX9lqMeM.js +0 -331
  310. package/dist/chunks/radio-group.CX9lqMeM.js.map +0 -1
  311. package/dist/chunks/secondary-nav.B1R_oNdP.js.map +0 -1
  312. package/dist/chunks/segmented-control.D0SoqGlC.js.map +0 -1
  313. package/dist/chunks/selection-card-group.Bo3xkW0P.js.map +0 -1
  314. package/dist/chunks/step.Ci-e1V9E.js.map +0 -1
  315. package/dist/chunks/tab.8bEkiAkk.js.map +0 -1
  316. package/dist/chunks/textarea.C7RmLKEx.js +0 -295
  317. package/dist/chunks/textarea.C7RmLKEx.js.map +0 -1
  318. package/dist/chunks/timeline-item.BiivSMPD.js.map +0 -1
  319. package/dist/chunks/toggle.C8k7NQ7y.js +0 -161
  320. package/dist/chunks/toggle.C8k7NQ7y.js.map +0 -1
  321. package/dist/chunks/tooltip.CEHc6lzU.js +0 -211
  322. package/dist/chunks/tooltip.CEHc6lzU.js.map +0 -1
  323. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.BDCDB169.js.map +0 -1
  324. package/dist/chunks/use-cached-selected-values.CBOWMI4O.js.map +0 -1
  325. package/dist/chunks/use-country-items.D_kamcYy.js.map +0 -1
@@ -9,7 +9,6 @@ import { ComputedRef } from 'vue';
9
9
  import { CountryCode } from 'libphonenumber-js/types';
10
10
  import { CountryCode as CountryCode_2 } from 'libphonenumber-js';
11
11
  import { DeepReadonly } from 'vue';
12
- import { default as default_2 } from 'vue-i18n';
13
12
  import { DefaultKeys } from 'vue/types/v3-component-props';
14
13
  import { DefineComponent } from 'vue';
15
14
  import { DirectiveBinding } from 'vue';
@@ -18,6 +17,7 @@ import { ExtractComputedReturns } from 'vue/types/v3-component-options';
18
17
  import { ExtractPropTypes } from 'vue';
19
18
  import { HTMLAttributes } from 'vue';
20
19
  import type { MaybeElementRef as MaybeElementRef_2 } from '@/types/elements';
20
+ import type { OmitStrict as OmitStrict_2 } from '@/types/omit-strict';
21
21
  import type { Options } from 'focus-trap/index';
22
22
  import type { Placement } from '@floating-ui/vue';
23
23
  import type { Plugin } from 'vue';
@@ -136,8 +136,22 @@ declare type __VLS_NonUndefinedable_54<T> = T extends undefined ? never : T;
136
136
 
137
137
  declare type __VLS_NonUndefinedable_55<T> = T extends undefined ? never : T;
138
138
 
139
+ declare type __VLS_NonUndefinedable_56<T> = T extends undefined ? never : T;
140
+
141
+ declare type __VLS_NonUndefinedable_57<T> = T extends undefined ? never : T;
142
+
143
+ declare type __VLS_NonUndefinedable_58<T> = T extends undefined ? never : T;
144
+
145
+ declare type __VLS_NonUndefinedable_59<T> = T extends undefined ? never : T;
146
+
139
147
  declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
140
148
 
149
+ declare type __VLS_NonUndefinedable_60<T> = T extends undefined ? never : T;
150
+
151
+ declare type __VLS_NonUndefinedable_61<T> = T extends undefined ? never : T;
152
+
153
+ declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
154
+
141
155
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
142
156
 
143
157
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
@@ -603,6 +617,42 @@ declare type __VLS_TypePropsToRuntimeProps_55<T> = {
603
617
  };
604
618
  };
605
619
 
620
+ declare type __VLS_TypePropsToRuntimeProps_56<T> = {
621
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
622
+ type: PropType<__VLS_NonUndefinedable_56<T[K]>>;
623
+ } : {
624
+ type: PropType<T[K]>;
625
+ required: true;
626
+ };
627
+ };
628
+
629
+ declare type __VLS_TypePropsToRuntimeProps_57<T> = {
630
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
631
+ type: PropType<__VLS_NonUndefinedable_57<T[K]>>;
632
+ } : {
633
+ type: PropType<T[K]>;
634
+ required: true;
635
+ };
636
+ };
637
+
638
+ declare type __VLS_TypePropsToRuntimeProps_58<T> = {
639
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
640
+ type: PropType<__VLS_NonUndefinedable_58<T[K]>>;
641
+ } : {
642
+ type: PropType<T[K]>;
643
+ required: true;
644
+ };
645
+ };
646
+
647
+ declare type __VLS_TypePropsToRuntimeProps_59<T> = {
648
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
649
+ type: PropType<__VLS_NonUndefinedable_59<T[K]>>;
650
+ } : {
651
+ type: PropType<T[K]>;
652
+ required: true;
653
+ };
654
+ };
655
+
606
656
  declare type __VLS_TypePropsToRuntimeProps_6<T> = {
607
657
  [K in keyof T]-?: {} extends Pick<T, K> ? {
608
658
  type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
@@ -612,6 +662,33 @@ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
612
662
  };
613
663
  };
614
664
 
665
+ declare type __VLS_TypePropsToRuntimeProps_60<T> = {
666
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
667
+ type: PropType<__VLS_NonUndefinedable_60<T[K]>>;
668
+ } : {
669
+ type: PropType<T[K]>;
670
+ required: true;
671
+ };
672
+ };
673
+
674
+ declare type __VLS_TypePropsToRuntimeProps_61<T> = {
675
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
676
+ type: PropType<__VLS_NonUndefinedable_61<T[K]>>;
677
+ } : {
678
+ type: PropType<T[K]>;
679
+ required: true;
680
+ };
681
+ };
682
+
683
+ declare type __VLS_TypePropsToRuntimeProps_62<T> = {
684
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
685
+ type: PropType<__VLS_NonUndefinedable_62<T[K]>>;
686
+ } : {
687
+ type: PropType<T[K]>;
688
+ required: true;
689
+ };
690
+ };
691
+
615
692
  declare type __VLS_TypePropsToRuntimeProps_7<T> = {
616
693
  [K in keyof T]-?: {} extends Pick<T, K> ? {
617
694
  type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
@@ -927,6 +1004,48 @@ declare type __VLS_WithDefaults_52<P, D> = {
927
1004
  } : P[K];
928
1005
  };
929
1006
 
1007
+ declare type __VLS_WithDefaults_53<P, D> = {
1008
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1009
+ default: D[K];
1010
+ } : P[K];
1011
+ };
1012
+
1013
+ declare type __VLS_WithDefaults_54<P, D> = {
1014
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1015
+ default: D[K];
1016
+ } : P[K];
1017
+ };
1018
+
1019
+ declare type __VLS_WithDefaults_55<P, D> = {
1020
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1021
+ default: D[K];
1022
+ } : P[K];
1023
+ };
1024
+
1025
+ declare type __VLS_WithDefaults_56<P, D> = {
1026
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1027
+ default: D[K];
1028
+ } : P[K];
1029
+ };
1030
+
1031
+ declare type __VLS_WithDefaults_57<P, D> = {
1032
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1033
+ default: D[K];
1034
+ } : P[K];
1035
+ };
1036
+
1037
+ declare type __VLS_WithDefaults_58<P, D> = {
1038
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1039
+ default: D[K];
1040
+ } : P[K];
1041
+ };
1042
+
1043
+ declare type __VLS_WithDefaults_59<P, D> = {
1044
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1045
+ default: D[K];
1046
+ } : P[K];
1047
+ };
1048
+
930
1049
  declare type __VLS_WithDefaults_6<P, D> = {
931
1050
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
932
1051
  default: D[K];
@@ -1251,6 +1370,18 @@ declare type __VLS_WithTemplateSlots_54<T, S> = T & {
1251
1370
  };
1252
1371
  };
1253
1372
 
1373
+ declare type __VLS_WithTemplateSlots_55<T, S> = T & {
1374
+ new (): {
1375
+ $slots: S;
1376
+ };
1377
+ };
1378
+
1379
+ declare type __VLS_WithTemplateSlots_56<T, S> = T & {
1380
+ new (): {
1381
+ $slots: S;
1382
+ };
1383
+ };
1384
+
1254
1385
  declare type __VLS_WithTemplateSlots_6<T, S> = T & {
1255
1386
  new (): {
1256
1387
  $slots: S;
@@ -1284,7 +1415,19 @@ export declare type allKeys<T> = T extends any ? keyof T : never;
1284
1415
  /**
1285
1416
  * Any function
1286
1417
  */
1287
- export declare type AnyFn<T> = (...args: T[]) => T;
1418
+ export declare type AnyFn<T> = (...args: Array<T>) => T;
1419
+
1420
+ /**
1421
+ * Private
1422
+ */
1423
+ declare enum BaseFilterEvent {
1424
+ APPLY = "apply",
1425
+ CLEAR = "clear",
1426
+ OPEN = "open",
1427
+ CLOSE = "close",
1428
+ RESET = "reset",
1429
+ CANCEL = "cancel"
1430
+ }
1288
1431
 
1289
1432
  declare interface BaseSummaryGridItemProps {
1290
1433
  /**
@@ -1619,7 +1762,7 @@ declare interface BentoActionButton_2 extends BentoButtonActionBase_2, BentoButt
1619
1762
  /**
1620
1763
  * Type for the Menus passed as objects to Button Actions
1621
1764
  */
1622
- declare type BentoActionMenu = BentoButtonActionBase & OmitStrict_2<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
1765
+ declare type BentoActionMenu = BentoButtonActionBase & OmitStrict<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
1623
1766
 
1624
1767
  /**
1625
1768
  * Type for the Menus passed as objects to Button Actions
@@ -1842,64 +1985,344 @@ export declare type BentoAvatarListboxOptionItem = Omit<BentoListboxOptionItem,
1842
1985
  src?: string;
1843
1986
  };
1844
1987
 
1845
- export declare type BentoAvatarListboxOptions = BentoAvatarListboxOptionItem[];
1988
+ export declare type BentoAvatarListboxOptions = Array<BentoAvatarListboxOptionItem>;
1846
1989
 
1847
- export declare type BentoBooleanFilterOption = {
1848
- label: string;
1849
- value: string | boolean;
1850
- };
1990
+ export declare const BentoBaseFilter: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
1991
+ appliedFiltersCount: any;
1992
+ buttonLabel: any;
1993
+ buttonSecondaryLabel: any;
1994
+ disabled: boolean;
1995
+ defaultValue: any;
1996
+ onlySlot: boolean;
1997
+ controlled: boolean;
1998
+ disableApplyButton: boolean;
1999
+ disableSecondaryButton: boolean;
2000
+ fitContent: any;
2001
+ tooltipText: any;
2002
+ tooltipPosition: any;
2003
+ value: any;
2004
+ }>, {
2005
+ closePopover: () => void;
2006
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BaseFilterEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
2007
+ appliedFiltersCount: any;
2008
+ buttonLabel: any;
2009
+ buttonSecondaryLabel: any;
2010
+ disabled: boolean;
2011
+ defaultValue: any;
2012
+ onlySlot: boolean;
2013
+ controlled: boolean;
2014
+ disableApplyButton: boolean;
2015
+ disableSecondaryButton: boolean;
2016
+ fitContent: any;
2017
+ tooltipText: any;
2018
+ tooltipPosition: any;
2019
+ value: any;
2020
+ }>>>, {
2021
+ value: BentoFilterBarValue;
2022
+ disabled: boolean;
2023
+ fitContent: boolean;
2024
+ tooltipPosition: `${BentoTooltipPosition_3}`;
2025
+ tooltipText: string;
2026
+ appliedFiltersCount: string | number;
2027
+ buttonLabel: string;
2028
+ buttonSecondaryLabel: string;
2029
+ defaultValue: BentoFilterBarValue;
2030
+ onlySlot: boolean;
2031
+ controlled: boolean;
2032
+ disableApplyButton: boolean;
2033
+ disableSecondaryButton: boolean;
2034
+ }>, {
2035
+ default: (_: {}) => any;
2036
+ }>;
1851
2037
 
1852
- export declare type BentoBooleanFilterOptions = {
1853
- positiveOption?: BentoBooleanFilterOption;
1854
- negativeOption?: BentoBooleanFilterOption;
1855
- tooltipText?: string;
1856
- tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
1857
- };
2038
+ /**
2039
+ * Defines the mandatory emits that need to be defined by the implementation of any filter
2040
+ *
2041
+ * @template CustomValue Defines the type of the value being passed to the emit. Same as the type set in `BentoBaseFilterProps`
2042
+ *
2043
+ * @example
2044
+ * Using the interface
2045
+ *
2046
+ * ```typescript
2047
+ * import { type BentoBaseFilterEvents } from '@adyen/bento-vue2'
2048
+ *
2049
+ * defineEmits<BentoBaseFilterEvents<string>>()
2050
+ * ```
2051
+ *
2052
+ * @example
2053
+ * Using the object
2054
+ *
2055
+ * ```typescript
2056
+ * import { BentoBaseFilterEvents } from '@adyen/bento-vue2'
2057
+ *
2058
+ * defineEmits(BentoBaseFilterEvents)
2059
+ * ```
2060
+ */
2061
+ export declare interface BentoBaseFilterEvents<CustomValue> {
2062
+ /**
2063
+ * Used in the All filters modal
2064
+ */
2065
+ (e: 'input', newFilterValue: CustomValue): void;
2066
+ /**
2067
+ * Used in the Filter Bar
2068
+ */
2069
+ (e: 'update', newFilterValue: CustomValue): void;
2070
+ }
1858
2071
 
1859
- export declare type BentoBooleanFilterValue = string | null;
2072
+ export declare const BentoBaseFilterEvents: string[];
1860
2073
 
1861
2074
  /**
1862
- * Button component for all the various types of bento buttons.
2075
+ * Defines the props used by `bento-base-filter` that must be implemented
2076
+ * on every filter as `defineProps`.
1863
2077
  *
1864
- * @example
1865
- * import { BentoButton } from '@adyen/bento-vue2';
1866
- * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
2078
+ * The interface can be extended if new values are required.
2079
+ * The object can be extended if new values are required.
1867
2080
  *
1868
- * export default {
1869
- * components: { BentoButton },
1870
- * template: `
1871
- * <bento-button
1872
- * disabled
1873
- * variant="secondary"
1874
- * >
1875
- * <template #iconLeft>
1876
- * <check-mark svg-title="checked" />
1877
- * </template>
2081
+ * @template CustomValue Defines the type of the `value` and `defaultValue` props.
2082
+ * @template CustomOptions Defines the type of the options used by the filter (default: `undefined`).
1878
2083
  *
1879
- * Button text
2084
+ * @example
2085
+ * Using the interface
1880
2086
  *
1881
- * <template #iconRight>
1882
- * <check-mark svg-title="checked" />
1883
- * </template>
1884
- * </bento-button>
1885
- * `,
2087
+ * ```typescript
2088
+ * import { type BentoBaseFilterProps } from '@adyen/bento-vue2'
2089
+ *
2090
+ * interface CustomOptions {
2091
+ * option: string;
1886
2092
  * }
2093
+ *
2094
+ * withDefaults(defineProps<BentoBaseFilterProps<string, CustomOptions>>(), {
2095
+ * defaultValue: undefined,
2096
+ * })
2097
+ * ```
2098
+ *
2099
+ * @example
2100
+ * Using the object
2101
+ *
2102
+ * ```typescript
2103
+ * import { BentoBaseFilterProps } from '@adyen/bento-vue2'
2104
+ *
2105
+ * defineProps({
2106
+ * ...BentoBaseFilterProps,
2107
+ * options: {
2108
+ * type: Object,
2109
+ * default: () => ({
2110
+ * option: null
2111
+ * })
2112
+ * }
2113
+ * })
2114
+ * ```
1887
2115
  */
1888
- export declare const BentoButton: __VLS_WithTemplateSlots_4<DefineComponent< {
1889
- /**
1890
- * Reduces sizing of button
1891
- */
1892
- condensed: {
1893
- type: BooleanConstructor;
1894
- default: boolean;
1895
- };
1896
- /**
1897
- * Displays button as critical
1898
- */
1899
- critical: {
1900
- type: BooleanConstructor;
1901
- default: boolean;
1902
- };
2116
+ export declare interface BentoBaseFilterProps<CustomValue, CustomOptions = undefined> {
2117
+ /**
2118
+ * Disables the filter from being interacted with.
2119
+ */
2120
+ disabled?: boolean;
2121
+ /**
2122
+ * Default value of the filter to reset to.
2123
+ */
2124
+ defaultValue?: CustomValue;
2125
+ /**
2126
+ * Filter name/key referencing the actual property name in the data set.
2127
+ * Should be unique per filter bar.
2128
+ */
2129
+ field: string;
2130
+ /**
2131
+ * Label text to be displayed
2132
+ */
2133
+ label: string;
2134
+ /**
2135
+ * Renders the base filter's slot content only - leaving out the button and the popover.
2136
+ * Used for the allFiltersModal component.
2137
+ */
2138
+ onlySlot?: boolean;
2139
+ /**
2140
+ * List of options that are needed to setup the filter
2141
+ * Available options:
2142
+ * - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
2143
+ * - isDateDisabled: Indicate if a date should be disabled or not
2144
+ * - tooltipPosition: The position of the tooltip attached to the filter button
2145
+ * - tooltipText: The content of the tooltip attached to the filter button
2146
+ */
2147
+ options?: CustomOptions;
2148
+ /**
2149
+ * Current value of the filter
2150
+ */
2151
+ value: CustomValue;
2152
+ }
2153
+
2154
+ export declare const BentoBaseFilterProps: Readonly<{
2155
+ /**
2156
+ * Disables the filter from being interacted with.
2157
+ */
2158
+ disabled: {
2159
+ type: BooleanConstructor;
2160
+ default: boolean;
2161
+ };
2162
+ /**
2163
+ * Default value of the filter to reset to.
2164
+ */
2165
+ defaultValue: {
2166
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
2167
+ default: any;
2168
+ };
2169
+ /**
2170
+ * Filter name/key referencing the actual property name in the data set.
2171
+ * Should be unique per filter bar.
2172
+ */
2173
+ field: {
2174
+ type: StringConstructor;
2175
+ required: boolean;
2176
+ };
2177
+ /**
2178
+ * Label text to be displayed
2179
+ */
2180
+ label: {
2181
+ type: StringConstructor;
2182
+ required: boolean;
2183
+ };
2184
+ /**
2185
+ * Renders the base filter's slot content only - leaving out the button and the popover.
2186
+ * Used for the allFiltersModal component.
2187
+ */
2188
+ onlySlot: {
2189
+ type: BooleanConstructor;
2190
+ default: boolean;
2191
+ };
2192
+ /**
2193
+ * The current value of the filter, used for v-model.
2194
+ */
2195
+ value: {
2196
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
2197
+ default: any;
2198
+ };
2199
+ }>;
2200
+
2201
+ /**
2202
+ * Public
2203
+ */
2204
+ declare interface BentoBaseFilterProps_2<Value, Field> {
2205
+ /**
2206
+ * Total count of applied filters
2207
+ */
2208
+ appliedFiltersCount?: string | number;
2209
+ /**
2210
+ * Overrides the label of the popover visibility toggle button text.
2211
+ */
2212
+ buttonLabel?: string;
2213
+ /**
2214
+ * Sets the secondary label text of the popover visibility toggle button text.
2215
+ */
2216
+ buttonSecondaryLabel?: string;
2217
+ /**
2218
+ * Disables the filter from being interacted with.
2219
+ */
2220
+ disabled?: boolean;
2221
+ /**
2222
+ * Default value of the filter to reset to.
2223
+ */
2224
+ defaultValue?: Value;
2225
+ /**
2226
+ * Renders the base filter's slot content only - leaving out the button and the popover.
2227
+ * Used for the allFiltersModal component.
2228
+ */
2229
+ onlySlot?: boolean;
2230
+ /**
2231
+ * Allows to handle the controls (apply/clear) from outside
2232
+ * of the component
2233
+ */
2234
+ controlled?: boolean;
2235
+ /**
2236
+ * Disable the "apply" button
2237
+ */
2238
+ disableApplyButton?: boolean;
2239
+ /**
2240
+ * Disable the secondary button action.
2241
+ */
2242
+ disableSecondaryButton?: boolean;
2243
+ /**
2244
+ * Filter name/key referencing the actual property name in the data set.
2245
+ * Should be unique per filter bar.
2246
+ */
2247
+ field: Field;
2248
+ /**
2249
+ * Label text to be displayed
2250
+ */
2251
+ label: string;
2252
+ /**
2253
+ * Sets the size of the container to fit its content
2254
+ */
2255
+ fitContent?: boolean;
2256
+ /**
2257
+ * Attaches a `BentoTooltip` if present. Text showed in the tooltip on hover.
2258
+ */
2259
+ tooltipText?: string;
2260
+ /**
2261
+ * Position the tooltip should take if space is available.
2262
+ */
2263
+ tooltipPosition?: `${BentoTooltipPosition}`;
2264
+ /**
2265
+ * The current value of the filter, used for v-model.
2266
+ */
2267
+ value?: Value;
2268
+ }
2269
+
2270
+ export declare type BentoBooleanFilterOption = {
2271
+ label: string;
2272
+ value: string | boolean;
2273
+ };
2274
+
2275
+ export declare type BentoBooleanFilterOptions = {
2276
+ positiveOption?: BentoBooleanFilterOption;
2277
+ negativeOption?: BentoBooleanFilterOption;
2278
+ tooltipText?: string;
2279
+ tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
2280
+ };
2281
+
2282
+ export declare type BentoBooleanFilterValue = string | null;
2283
+
2284
+ /**
2285
+ * Button component for all the various types of bento buttons.
2286
+ *
2287
+ * @example
2288
+ * import { BentoButton } from '@adyen/bento-vue2';
2289
+ * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
2290
+ *
2291
+ * export default {
2292
+ * components: { BentoButton },
2293
+ * template: `
2294
+ * <bento-button
2295
+ * disabled
2296
+ * variant="secondary"
2297
+ * >
2298
+ * <template #iconLeft>
2299
+ * <check-mark svg-title="checked" />
2300
+ * </template>
2301
+ *
2302
+ * Button text
2303
+ *
2304
+ * <template #iconRight>
2305
+ * <check-mark svg-title="checked" />
2306
+ * </template>
2307
+ * </bento-button>
2308
+ * `,
2309
+ * }
2310
+ */
2311
+ export declare const BentoButton: __VLS_WithTemplateSlots_4<DefineComponent< {
2312
+ /**
2313
+ * Reduces sizing of button
2314
+ */
2315
+ condensed: {
2316
+ type: BooleanConstructor;
2317
+ default: boolean;
2318
+ };
2319
+ /**
2320
+ * Displays button as critical
2321
+ */
2322
+ critical: {
2323
+ type: BooleanConstructor;
2324
+ default: boolean;
2325
+ };
1903
2326
  /**
1904
2327
  * Disables button functionality
1905
2328
  */
@@ -2403,9 +2826,9 @@ disabled: boolean;
2403
2826
  background: BentoCardBackground | `${BentoCardBackground}`;
2404
2827
  actions: BentoButtonActionsList;
2405
2828
  actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
2829
+ clickable: boolean;
2406
2830
  closed: boolean;
2407
2831
  expandable: boolean;
2408
- clickable: boolean;
2409
2832
  }>, {
2410
2833
  image: (_: {}) => any;
2411
2834
  default: (_: {}) => any;
@@ -2562,7 +2985,7 @@ style: HTMLAttributes["style"];
2562
2985
  hasSlot: (name: string) => boolean;
2563
2986
  onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
2564
2987
  getAriaHidden: (attributes: HTMLAttributes) => boolean | "true" | "false";
2565
- t: (key: "required" | "optional" | "checkbox", values?: default_2.Values) => string;
2988
+ t: (key: "required" | "optional" | "checkbox", ...args: Array<any>) => string;
2566
2989
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<ExtractPropTypes< {
2567
2990
  /**
2568
2991
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -2663,10 +3086,10 @@ tag: any;
2663
3086
  optional: boolean;
2664
3087
  readonly: boolean;
2665
3088
  ariaLabel: string;
2666
- errorMessage: string;
2667
3089
  indeterminate: boolean;
2668
3090
  hasError: boolean;
2669
3091
  modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
3092
+ errorMessage: string;
2670
3093
  }>;
2671
3094
 
2672
3095
  export declare enum BentoCheckboxEvent {
@@ -2948,11 +3371,11 @@ required: boolean;
2948
3371
  disabled: boolean;
2949
3372
  optional: boolean;
2950
3373
  readonly: boolean;
2951
- tooltipText: string;
2952
- hideLabel: boolean;
2953
- errorMessage: string;
2954
3374
  hasError: boolean;
2955
3375
  modelValue: (string | number)[];
3376
+ errorMessage: string;
3377
+ tooltipText: string;
3378
+ hideLabel: boolean;
2956
3379
  formId: string;
2957
3380
  }>;
2958
3381
 
@@ -3009,7 +3432,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
3009
3432
  * `
3010
3433
  * }
3011
3434
  */
3012
- export declare const BentoChip: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoChipProps>, {
3435
+ export declare const BentoChip: DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoChipProps>, {
3013
3436
  disabled: boolean;
3014
3437
  readonly: boolean;
3015
3438
  error: boolean;
@@ -3017,7 +3440,7 @@ condensed: boolean;
3017
3440
  characterLimit: any;
3018
3441
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3019
3442
  click: () => void;
3020
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoChipProps>, {
3443
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoChipProps>, {
3021
3444
  disabled: boolean;
3022
3445
  readonly: boolean;
3023
3446
  error: boolean;
@@ -3099,7 +3522,7 @@ export declare const BentoClickOutsideDirective: {
3099
3522
  * `
3100
3523
  * }
3101
3524
  */
3102
- export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCodeSnippetProps>, {
3525
+ export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCodeSnippetProps>, {
3103
3526
  actionable: boolean;
3104
3527
  actionableText: any;
3105
3528
  content: string;
@@ -3109,7 +3532,7 @@ lang: BentoCodeSnippetSupportedLanguage;
3109
3532
  langLabel: any;
3110
3533
  loading: boolean;
3111
3534
  variant: BentoCodeSnippetVariant;
3112
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCodeSnippetProps>, {
3535
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCodeSnippetProps>, {
3113
3536
  actionable: boolean;
3114
3537
  actionableText: any;
3115
3538
  content: string;
@@ -3227,7 +3650,7 @@ declare type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'varian
3227
3650
  event?: BentoColumnCellActionEvent;
3228
3651
  isShort?: true;
3229
3652
  variant?: BentoColumnCellActionVariant;
3230
- menuData?: BentoColumnCellActionMenuItem[];
3653
+ menuData?: Array<BentoColumnCellActionMenuItem>;
3231
3654
  getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
3232
3655
  };
3233
3656
 
@@ -3241,7 +3664,7 @@ declare type BentoColumnCellActionMenuItem = {
3241
3664
  event?: BentoColumnCellActionEvent;
3242
3665
  } & OmitStrict<BentoMenuItem, 'handler'>;
3243
3666
 
3244
- declare type BentoColumnCellActions = BentoColumnCellAction[];
3667
+ declare type BentoColumnCellActions = Array<BentoColumnCellAction>;
3245
3668
 
3246
3669
  declare type BentoColumnCellActionsByCellDataFn = (rowDataItem: BentoDatagridDataItem, columnKey: string) => BentoColumnCellActions;
3247
3670
 
@@ -3264,7 +3687,7 @@ export declare interface BentoColumnWidthOverridesLookup {
3264
3687
  * A component to display a country's label.
3265
3688
  * The label comes in four variates: iso code, country name, phone number code or capital city.
3266
3689
  *
3267
- * @example
3690
+ * @usage
3268
3691
  * import { BentoCountry, BentoCountryCode } from '@adyen/bento-vue2';
3269
3692
  *
3270
3693
  * export default {
@@ -3274,64 +3697,18 @@ export declare interface BentoColumnWidthOverridesLookup {
3274
3697
  * `
3275
3698
  * }
3276
3699
  */
3277
- export declare const BentoCountry: DefineComponent< {
3278
- /**
3279
- * Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3280
- */
3281
- code: {
3282
- type: PropType<BentoCountryCode | `${BentoCountryCode}`>;
3283
- default: BentoCountryCode;
3284
- validator: (value: BentoCountryCode) => boolean;
3285
- };
3286
- /**
3287
- * Custom label text.
3288
- */
3289
- label: {
3290
- type: StringConstructor;
3291
- default: any;
3292
- };
3293
- /**
3294
- * Which label variant to display.
3295
- * @values iso, name, phone_code, capital
3296
- */
3297
- variant: {
3298
- type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
3299
- default: BentoCountryVariant;
3300
- validator: (value: BentoCountryVariant) => boolean;
3301
- };
3302
- }, {
3303
- countryName: ComputedRef<string>;
3304
- countryLabel: Ref<string>;
3305
- isSummaryGridLayout: boolean;
3306
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
3307
- /**
3308
- * Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3309
- */
3310
- code: {
3311
- type: PropType<BentoCountryCode | `${BentoCountryCode}`>;
3312
- default: BentoCountryCode;
3313
- validator: (value: BentoCountryCode) => boolean;
3314
- };
3315
- /**
3316
- * Custom label text.
3317
- */
3318
- label: {
3319
- type: StringConstructor;
3320
- default: any;
3321
- };
3322
- /**
3323
- * Which label variant to display.
3324
- * @values iso, name, phone_code, capital
3325
- */
3326
- variant: {
3327
- type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
3328
- default: BentoCountryVariant;
3329
- validator: (value: BentoCountryVariant) => boolean;
3330
- };
3331
- }>>, {
3332
- code: "MM" | "BD" | "BE" | "BF" | "BG" | "BA" | "BB" | "WF" | "BL" | "BM" | "BN" | "BO" | "BH" | "BI" | "BJ" | "BT" | "JM" | "BV" | "BW" | "WS" | "BQ" | "BR" | "BS" | "JE" | "BY" | "BZ" | "RU" | "RW" | "RS" | "TL" | "RE" | "TM" | "TJ" | "RO" | "TK" | "GW" | "GU" | "GT" | "GS" | "GR" | "GQ" | "GP" | "JP" | "GY" | "GG" | "GF" | "GE" | "GD" | "GB" | "GA" | "SV" | "GN" | "GM" | "GL" | "GI" | "GH" | "OM" | "TN" | "JO" | "HR" | "HT" | "HU" | "HK" | "HN" | "HM" | "VE" | "PR" | "PS" | "PW" | "PT" | "SJ" | "PY" | "IQ" | "PA" | "PF" | "PG" | "PE" | "PK" | "PH" | "PN" | "PL" | "PM" | "ZM" | "EH" | "EE" | "EG" | "ZA" | "EC" | "IT" | "VN" | "SB" | "ET" | "SO" | "ZW" | "SA" | "ES" | "ER" | "ME" | "MD" | "MG" | "MF" | "MA" | "MC" | "UZ" | "ML" | "MO" | "MN" | "MH" | "MK" | "MU" | "MT" | "MW" | "MV" | "MQ" | "MP" | "MS" | "MR" | "IM" | "UG" | "TZ" | "MY" | "MX" | "IL" | "FR" | "IO" | "SH" | "FI" | "FJ" | "FK" | "FM" | "FO" | "NI" | "NL" | "NO" | "NA" | "VU" | "NC" | "NE" | "NF" | "NG" | "NZ" | "NP" | "NR" | "NU" | "CK" | "XK" | "CI" | "CH" | "CO" | "CN" | "CM" | "CL" | "CC" | "CA" | "CG" | "CF" | "CD" | "CZ" | "CY" | "CX" | "CR" | "CW" | "CV" | "CU" | "SZ" | "SY" | "SX" | "KG" | "KE" | "SS" | "SR" | "KI" | "KH" | "KN" | "KM" | "ST" | "SK" | "KR" | "SI" | "KP" | "KW" | "SN" | "SM" | "SL" | "SC" | "KZ" | "KY" | "SG" | "SE" | "SD" | "DO" | "DM" | "DJ" | "DK" | "VG" | "DE" | "YE" | "DZ" | "US" | "UY" | "YT" | "UM" | "LB" | "LC" | "LA" | "TV" | "TW" | "TT" | "TR" | "LK" | "LI" | "LV" | "TO" | "LT" | "LU" | "LR" | "LS" | "TH" | "TF" | "TG" | "TD" | "TC" | "LY" | "VA" | "VC" | "AE" | "AD" | "AG" | "AF" | "AI" | "VI" | "IS" | "IR" | "AM" | "AL" | "AO" | "AQ" | "AS" | "AR" | "AU" | "AT" | "AW" | "IN" | "AX" | "AZ" | "IE" | "ID" | "UA" | "QA" | "MZ" | "ZZ" | BentoCountryCode;
3700
+ export declare const BentoCountry: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCountryProps>, {
3701
+ code: BentoCountryCode;
3702
+ label: any;
3703
+ variant: BentoCountryVariant;
3704
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCountryProps>, {
3705
+ code: BentoCountryCode;
3706
+ label: any;
3707
+ variant: BentoCountryVariant;
3708
+ }>>>, {
3709
+ code: BentoCountryCode | `${BentoCountryCode}`;
3333
3710
  label: string;
3334
- variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
3711
+ variant: BentoCountryVariant | `${BentoCountryVariant}`;
3335
3712
  }>;
3336
3713
 
3337
3714
  export declare enum BentoCountryCode {
@@ -3594,7 +3971,23 @@ export declare type BentoCountryListboxOptionItem = OmitStrict<BentoListboxOptio
3594
3971
  label?: string;
3595
3972
  };
3596
3973
 
3597
- export declare type BentoCountryListboxOptions = BentoCountryListboxOptionItem[];
3974
+ export declare type BentoCountryListboxOptions = Array<BentoCountryListboxOptionItem>;
3975
+
3976
+ export declare interface BentoCountryProps {
3977
+ /**
3978
+ * Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3979
+ */
3980
+ code?: BentoCountryCode | `${BentoCountryCode}`;
3981
+ /**
3982
+ * Custom label text.
3983
+ */
3984
+ label?: string;
3985
+ /**
3986
+ * Which label variant to display.
3987
+ * @values iso, name, phone_code, capital
3988
+ */
3989
+ variant?: BentoCountryVariant | `${BentoCountryVariant}`;
3990
+ }
3598
3991
 
3599
3992
  /**
3600
3993
  * @deprecated for usage with properties since version 2.0. Use the string literal instead.
@@ -3624,13 +4017,13 @@ export declare enum BentoCountryVariant {
3624
4017
  * `
3625
4018
  * }
3626
4019
  */
3627
- export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCurrencyProps>, {
4020
+ export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoCurrencyProps>, {
3628
4021
  currency: BentoCurrencyISOCode;
3629
4022
  disableTypography: boolean;
3630
4023
  majorUnits: boolean;
3631
4024
  value: any;
3632
4025
  currencySign: string;
3633
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCurrencyProps>, {
4026
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoCurrencyProps>, {
3634
4027
  currency: BentoCurrencyISOCode;
3635
4028
  disableTypography: boolean;
3636
4029
  majorUnits: boolean;
@@ -3639,8 +4032,8 @@ currencySign: string;
3639
4032
  }>>>, {
3640
4033
  value: number;
3641
4034
  disableTypography: boolean;
3642
- currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
3643
4035
  currencySign: Intl.NumberFormatOptions["currencySign"];
4036
+ currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
3644
4037
  majorUnits: boolean;
3645
4038
  }>;
3646
4039
 
@@ -3820,7 +4213,7 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
3820
4213
  value: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
3821
4214
  };
3822
4215
 
3823
- export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem[];
4216
+ export declare type BentoCurrencyListboxOptions = Array<BentoCurrencyListboxOptionItem>;
3824
4217
 
3825
4218
  export declare interface BentoCurrencyProps {
3826
4219
  /**
@@ -3877,7 +4270,7 @@ export declare interface BentoCurrencyProps {
3877
4270
  * `
3878
4271
  * }
3879
4272
  */
3880
- export declare const BentoDashboardSection: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<{
4273
+ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_55<DefineComponent<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
3881
4274
  /**
3882
4275
  * The header of the section
3883
4276
  */
@@ -3888,7 +4281,7 @@ header: BentoDashboardTemplateHeader;
3888
4281
  halfWidth?: boolean;
3889
4282
  }>, {
3890
4283
  halfWidth: boolean;
3891
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<{
4284
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
3892
4285
  /**
3893
4286
  * The header of the section
3894
4287
  */
@@ -3936,7 +4329,7 @@ halfWidth: boolean;
3936
4329
  * `
3937
4330
  * }
3938
4331
  */
3939
- export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_52<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<{
4332
+ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_54<DefineComponent<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
3940
4333
  /**
3941
4334
  * The header that goes to the top of the template
3942
4335
  */
@@ -3959,7 +4352,7 @@ stickyFilters?: boolean;
3959
4352
  tabs: any;
3960
4353
  stickyTabs: boolean;
3961
4354
  stickyFilters: boolean;
3962
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<{
4355
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
3963
4356
  /**
3964
4357
  * The header that goes to the top of the template
3965
4358
  */
@@ -3998,7 +4391,7 @@ export declare type BentoDashboardTemplateTab = InstanceType<typeof BentoTab>['$
3998
4391
 
3999
4392
  export declare type BentoDashboardTemplateTabs = {
4000
4393
  activeTabIndex?: number;
4001
- tabs: BentoDashboardTemplateTab[];
4394
+ tabs: Array<BentoDashboardTemplateTab>;
4002
4395
  };
4003
4396
 
4004
4397
  /**
@@ -4117,7 +4510,7 @@ declare interface BentoDashedUnderlineProps_2 {
4117
4510
  /**
4118
4511
  * Position the tooltip should take if space is available.
4119
4512
  */
4120
- tooltipPosition?: BentoTooltipPosition_3 | `${BentoTooltipPosition_3}`;
4513
+ tooltipPosition?: BentoTooltipPosition_4 | `${BentoTooltipPosition_4}`;
4121
4514
  }
4122
4515
 
4123
4516
  export declare type BentoDashedUnderlineTeleport = BentoTeleportProps;
@@ -4187,7 +4580,7 @@ default: boolean;
4187
4580
  * Column definitions using 'key' to relate to data object.
4188
4581
  */
4189
4582
  columns: {
4190
- type: PropType<BentoColumn[]>;
4583
+ type: PropType<Array<BentoColumn>>;
4191
4584
  required: true;
4192
4585
  };
4193
4586
  /**
@@ -4320,7 +4713,7 @@ default: boolean;
4320
4713
  * Highlighted items
4321
4714
  */
4322
4715
  highlightedRows: {
4323
- type: PropType<BentoDatagridDataItemId[]>;
4716
+ type: PropType<Array<BentoDatagridDataItemId>>;
4324
4717
  default: () => any[];
4325
4718
  };
4326
4719
  /**
@@ -4419,7 +4812,7 @@ default: boolean;
4419
4812
  * Selected items
4420
4813
  */
4421
4814
  selection: {
4422
- type: PropType<BentoDatagridDataItemId[]>;
4815
+ type: PropType<Array<BentoDatagridDataItemId>>;
4423
4816
  default: () => any[];
4424
4817
  };
4425
4818
  /**
@@ -4441,7 +4834,7 @@ default: (_item: BentoDatagridDataItem) => true;
4441
4834
  * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
4442
4835
  */
4443
4836
  sortBy: {
4444
- type: PropType<BentoDatagridSortByColumn[]>;
4837
+ type: PropType<Array<BentoDatagridSortByColumn>>;
4445
4838
  default: () => any[];
4446
4839
  };
4447
4840
  /**
@@ -4507,7 +4900,7 @@ default: boolean;
4507
4900
  * Column definitions using 'key' to relate to data object.
4508
4901
  */
4509
4902
  columns: {
4510
- type: PropType<BentoColumn[]>;
4903
+ type: PropType<Array<BentoColumn>>;
4511
4904
  required: true;
4512
4905
  };
4513
4906
  /**
@@ -4640,7 +5033,7 @@ default: boolean;
4640
5033
  * Highlighted items
4641
5034
  */
4642
5035
  highlightedRows: {
4643
- type: PropType<BentoDatagridDataItemId[]>;
5036
+ type: PropType<Array<BentoDatagridDataItemId>>;
4644
5037
  default: () => any[];
4645
5038
  };
4646
5039
  /**
@@ -4739,7 +5132,7 @@ default: boolean;
4739
5132
  * Selected items
4740
5133
  */
4741
5134
  selection: {
4742
- type: PropType<BentoDatagridDataItemId[]>;
5135
+ type: PropType<Array<BentoDatagridDataItemId>>;
4743
5136
  default: () => any[];
4744
5137
  };
4745
5138
  /**
@@ -4761,7 +5154,7 @@ default: (_item: BentoDatagridDataItem) => true;
4761
5154
  * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
4762
5155
  */
4763
5156
  sortBy: {
4764
- type: PropType<BentoDatagridSortByColumn[]>;
5157
+ type: PropType<Array<BentoDatagridSortByColumn>>;
4765
5158
  default: () => any[];
4766
5159
  };
4767
5160
  /**
@@ -4841,17 +5234,17 @@ export declare enum BentoDatagridAriaSortValue {
4841
5234
  NONE = "none"
4842
5235
  }
4843
5236
 
4844
- export declare type BentoDatagridData = BentoDatagridDataItem[];
5237
+ export declare type BentoDatagridData = Array<BentoDatagridDataItem>;
4845
5238
 
4846
5239
  export declare interface BentoDatagridDataItem {
4847
5240
  id?: BentoDatagridDataItemId;
4848
- children?: BentoDatagridDataItem[];
5241
+ children?: Array<BentoDatagridDataItem>;
4849
5242
  [fieldName: string]: unknown;
4850
5243
  }
4851
5244
 
4852
5245
  export declare type BentoDatagridDataItemId = string | number;
4853
5246
 
4854
- export declare type BentoDatagridEmptyStateProps = InstanceType<typeof BentoEmptyState>['$props'];
5247
+ export declare type BentoDatagridEmptyStateProps = BentoEmptyStateProps;
4855
5248
 
4856
5249
  export declare enum BentoDatagridEvent {
4857
5250
  COLUMNS = "columns",
@@ -4888,7 +5281,7 @@ declare type BentoDataGridRowActionsFn = (rowDataItem: BentoDatagridDataItem) =>
4888
5281
 
4889
5282
  declare type BentoDataGridRowActionsProp = BentoColumnCellActions | BentoDataGridRowActionsFn;
4890
5283
 
4891
- export declare type BentoDatagridSelection = BentoDatagridDataItemId[];
5284
+ export declare type BentoDatagridSelection = Array<BentoDatagridDataItemId>;
4892
5285
 
4893
5286
  export declare type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;
4894
5287
 
@@ -4917,7 +5310,7 @@ export declare enum BentoDatagridSortDirection {
4917
5310
  * `
4918
5311
  * }
4919
5312
  */
4920
- export declare const BentoDataGridStaticIcon: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
5313
+ export declare const BentoDataGridStaticIcon: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
4921
5314
  /**
4922
5315
  * Renderes the icon with color.
4923
5316
  */
@@ -4933,7 +5326,7 @@ variant?: BentoDataGridStaticIconVariant;
4933
5326
  }>, {
4934
5327
  variant: string;
4935
5328
  colored: boolean;
4936
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
5329
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
4937
5330
  /**
4938
5331
  * Renderes the icon with color.
4939
5332
  */
@@ -4983,11 +5376,11 @@ export declare enum BentoDatagridStyleState {
4983
5376
  * `
4984
5377
  * }
4985
5378
  */
4986
- export declare const BentoDataGridSummaryCell: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDataGridSummaryCellProps>, {
5379
+ export declare const BentoDataGridSummaryCell: DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<BentoDataGridSummaryCellProps>, {
4987
5380
  dashedUnderline: () => {};
4988
5381
  searchTerm: string;
4989
5382
  tooltipText: any;
4990
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDataGridSummaryCellProps>, {
5383
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<BentoDataGridSummaryCellProps>, {
4991
5384
  dashedUnderline: () => {};
4992
5385
  searchTerm: string;
4993
5386
  tooltipText: any;
@@ -5007,7 +5400,7 @@ declare interface BentoDataGridSummaryCellProps {
5007
5400
  * An array of strings to display. If there is only one item, it will be displayed as plain text.
5008
5401
  * If there are multiple items, they will be displayed in a popover.
5009
5402
  */
5010
- items: string[];
5403
+ items: Array<string>;
5011
5404
  /**
5012
5405
  * Props to pass to the underlying `BentoDashedUnderline` component, allowing for customization of the popover.
5013
5406
  */
@@ -5045,7 +5438,7 @@ declare interface BentoDataGridSummaryCellProps {
5045
5438
  * `
5046
5439
  * }
5047
5440
  */
5048
- export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_54<DefineComponent< {
5441
+ export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_56<DefineComponent< {
5049
5442
  /**
5050
5443
  * The header that goes to the top of the template
5051
5444
  */
@@ -5248,7 +5641,7 @@ export declare type BentoDataGridTemplateTab = InstanceType<typeof BentoTab>['$p
5248
5641
 
5249
5642
  export declare type BentoDataGridTemplateTabs = {
5250
5643
  activeTabIndex?: number;
5251
- tabs: BentoDataGridTemplateTab[];
5644
+ tabs: Array<BentoDataGridTemplateTab>;
5252
5645
  };
5253
5646
 
5254
5647
  /**
@@ -5264,11 +5657,11 @@ export declare type BentoDataGridTemplateTabs = {
5264
5657
  * `
5265
5658
  * }
5266
5659
  */
5267
- export declare const BentoDate: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoDateProps>, {
5660
+ export declare const BentoDate: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDateProps>, {
5268
5661
  date: any;
5269
5662
  format: BentoDateFormat;
5270
5663
  disableTypography: boolean;
5271
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoDateProps>, {
5664
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDateProps>, {
5272
5665
  date: any;
5273
5666
  format: BentoDateFormat;
5274
5667
  disableTypography: boolean;
@@ -5335,271 +5728,100 @@ export declare enum BentoDateFormat {
5335
5728
  * }
5336
5729
  * }
5337
5730
  */
5338
- export declare const BentoDatePicker: DefineComponent< {
5339
- /**
5340
- * Descriptive supporting text visbile underneath the dropdown.
5341
- */
5342
- description: {
5343
- type: StringConstructor;
5344
- default: any;
5345
- };
5346
- /**
5347
- * Disables dropdown functionality.
5348
- */
5349
- disabled: {
5350
- type: BooleanConstructor;
5351
- default: boolean;
5352
- };
5353
- /**
5354
- * Displays component in an error state with an error message
5355
- */
5356
- errorMessage: {
5357
- type: StringConstructor;
5358
- default: any;
5359
- };
5360
- /**
5361
- * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5362
- */
5363
- firstDayOfWeek: {
5364
- type: PropType<CalendarMonthFirstDayOfWeek>;
5365
- default: CalendarMonthFirstDayOfWeek;
5366
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5367
- };
5368
- /**
5369
- * Indicate if a date should be disabled or not
5370
- */
5371
- isDateDisabled: {
5372
- type: PropType<CalendarMonthIsDateDisabled>;
5373
- default: any;
5374
- };
5375
- /**
5376
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5377
- */
5378
- min: {
5379
- type: DateConstructor;
5380
- default: any;
5381
- };
5382
- /**
5383
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5384
- */
5385
- max: {
5386
- type: DateConstructor;
5387
- default: any;
5388
- };
5389
- /**
5390
- * Text that is displayed as a label above the element.
5391
- */
5392
- label: {
5393
- type: StringConstructor;
5394
- default: any;
5395
- };
5396
- /**
5397
- * Highlights the dropdown is optional.
5398
- */
5399
- optional: {
5400
- type: BooleanConstructor;
5401
- default: boolean;
5402
- };
5403
- /**
5404
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
5405
- */
5406
- readonly: {
5407
- type: BooleanConstructor;
5408
- default: boolean;
5409
- };
5410
- /**
5411
- * Highlights the dropdown is required.
5412
- */
5413
- required: {
5414
- type: BooleanConstructor;
5415
- default: boolean;
5416
- };
5417
- /**
5418
- * Adds a info icon next to the label to display the passed tooltip message.
5419
- */
5420
- tooltipText: {
5421
- type: StringConstructor;
5422
- default: any;
5423
- };
5424
- /**
5425
- * Selected date
5426
- */
5427
- value: {
5428
- type: PropType<BentoDatePickerValue>;
5429
- default: any;
5430
- };
5431
- /**
5432
- * The type of calendar to display. Defaults to showing days.
5433
- */
5434
- variant: {
5435
- type: PropType<`${CalendarVariant}`>;
5436
- default: any;
5437
- };
5438
- /**
5439
- * Default start date for the calendar pane
5440
- */
5441
- defaultDisplayMonth: {
5442
- type: StringConstructor;
5443
- default: any;
5444
- validator: (value: string) => boolean;
5445
- };
5446
- }, {
5447
- inputContainerRef: any;
5448
- calendarContainerRef: any;
5449
- dateDisplayValue: ComputedRef<string>;
5450
- datePickerContainerId: string;
5451
- descriptionConditionalClasses: ComputedRef< {
5452
- 'b-date-picker__description--error': string;
5453
- }>;
5454
- isDateIncorrect: Ref<boolean>;
5455
- isDatePickerOpen: Ref<boolean>;
5456
- isReadOnly: ComputedRef<boolean>;
5457
- dateErrorText: ComputedRef<string>;
5458
- labelId: string;
5459
- descriptionId: string;
5460
- errorId: string;
5461
- dateErrorId: string;
5462
- popoverAriaLabel: ComputedRef<string>;
5463
- ariaDescribedBy: ComputedRef<string>;
5464
- textInputValue: Ref<string>;
5465
- initialFocusOnDatePickerOpen: any;
5466
- closeDatePicker: () => void;
5467
- clearDatePickerValue: () => Promise<void>;
5468
- onDateSelected: (selectedDate: Date) => void;
5469
- openDatePicker: () => void;
5470
- onDateKeyDown: (event: KeyboardEvent) => void;
5471
- onDateInputChange: (stringDate: string) => void;
5472
- onSpaceBarOrEnter: (event: KeyboardEvent) => Promise<void>;
5473
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes< {
5474
- /**
5475
- * Descriptive supporting text visbile underneath the dropdown.
5476
- */
5477
- description: {
5478
- type: StringConstructor;
5479
- default: any;
5480
- };
5481
- /**
5482
- * Disables dropdown functionality.
5483
- */
5484
- disabled: {
5485
- type: BooleanConstructor;
5486
- default: boolean;
5487
- };
5488
- /**
5489
- * Displays component in an error state with an error message
5490
- */
5491
- errorMessage: {
5492
- type: StringConstructor;
5493
- default: any;
5494
- };
5495
- /**
5496
- * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5497
- */
5498
- firstDayOfWeek: {
5499
- type: PropType<CalendarMonthFirstDayOfWeek>;
5500
- default: CalendarMonthFirstDayOfWeek;
5501
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5502
- };
5503
- /**
5504
- * Indicate if a date should be disabled or not
5505
- */
5506
- isDateDisabled: {
5507
- type: PropType<CalendarMonthIsDateDisabled>;
5508
- default: any;
5509
- };
5510
- /**
5511
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5512
- */
5513
- min: {
5514
- type: DateConstructor;
5515
- default: any;
5516
- };
5517
- /**
5518
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5519
- */
5520
- max: {
5521
- type: DateConstructor;
5522
- default: any;
5523
- };
5524
- /**
5525
- * Text that is displayed as a label above the element.
5526
- */
5527
- label: {
5528
- type: StringConstructor;
5529
- default: any;
5530
- };
5531
- /**
5532
- * Highlights the dropdown is optional.
5533
- */
5534
- optional: {
5535
- type: BooleanConstructor;
5536
- default: boolean;
5537
- };
5538
- /**
5539
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
5540
- */
5541
- readonly: {
5542
- type: BooleanConstructor;
5543
- default: boolean;
5544
- };
5545
- /**
5546
- * Highlights the dropdown is required.
5547
- */
5548
- required: {
5549
- type: BooleanConstructor;
5550
- default: boolean;
5551
- };
5552
- /**
5553
- * Adds a info icon next to the label to display the passed tooltip message.
5554
- */
5555
- tooltipText: {
5556
- type: StringConstructor;
5557
- default: any;
5558
- };
5559
- /**
5560
- * Selected date
5561
- */
5562
- value: {
5563
- type: PropType<BentoDatePickerValue>;
5564
- default: any;
5565
- };
5566
- /**
5567
- * The type of calendar to display. Defaults to showing days.
5568
- */
5569
- variant: {
5570
- type: PropType<`${CalendarVariant}`>;
5571
- default: any;
5572
- };
5573
- /**
5574
- * Default start date for the calendar pane
5575
- */
5576
- defaultDisplayMonth: {
5577
- type: StringConstructor;
5578
- default: any;
5579
- validator: (value: string) => boolean;
5580
- };
5581
- }>>, {
5582
- value: Date;
5731
+ export declare const BentoDatePicker: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
5732
+ defaultDisplayMonth: any;
5733
+ description: any;
5734
+ disabled: boolean;
5735
+ errorMessage: any;
5736
+ firstDayOfWeek: number;
5737
+ isDateDisabled: any;
5738
+ label: any;
5739
+ max: any;
5740
+ min: any;
5741
+ optional: boolean;
5742
+ placeholder: any;
5743
+ readonly: boolean;
5744
+ required: boolean;
5745
+ tooltipText: any;
5746
+ value: any;
5747
+ variant: any;
5748
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
5749
+ defaultDisplayMonth: any;
5750
+ description: any;
5751
+ disabled: boolean;
5752
+ errorMessage: any;
5753
+ firstDayOfWeek: number;
5754
+ isDateDisabled: any;
5755
+ label: any;
5756
+ max: any;
5757
+ min: any;
5758
+ optional: boolean;
5759
+ placeholder: any;
5760
+ readonly: boolean;
5761
+ required: boolean;
5762
+ tooltipText: any;
5763
+ value: any;
5764
+ variant: any;
5765
+ }>>>, {
5766
+ value: BentoDatePickerValue | null;
5583
5767
  description: string;
5584
5768
  label: string;
5585
- variant: "day" | "month";
5769
+ variant: `${CalendarVariant}`;
5586
5770
  required: boolean;
5587
5771
  disabled: boolean;
5588
5772
  optional: boolean;
5589
5773
  readonly: boolean;
5774
+ errorMessage: string;
5775
+ tooltipText: string;
5590
5776
  isDateDisabled: CalendarMonthIsDateDisabled;
5591
5777
  firstDayOfWeek: CalendarMonthFirstDayOfWeek;
5592
- min: Date;
5593
- max: Date;
5594
- defaultDisplayMonth: string;
5595
- tooltipText: string;
5596
- errorMessage: string;
5778
+ min: Date | null;
5779
+ max: Date | null;
5780
+ defaultDisplayMonth: string | null;
5781
+ placeholder: string;
5597
5782
  }>;
5598
5783
 
5599
5784
  export declare enum BentoDatePickerEvent {
5600
5785
  INPUT = "input"
5601
5786
  }
5602
5787
 
5788
+ export declare interface BentoDatePickerProps extends FormField {
5789
+ /**
5790
+ * Default start date for the calendar pane.
5791
+ * Expected format: YYYY-MM-DD
5792
+ * @default null
5793
+ */
5794
+ defaultDisplayMonth?: string | null;
5795
+ /**
5796
+ * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5797
+ * @default 1
5798
+ */
5799
+ firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
5800
+ /**
5801
+ * Indicate if a date should be disabled or not
5802
+ */
5803
+ isDateDisabled?: CalendarMonthIsDateDisabled;
5804
+ /**
5805
+ * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5806
+ * @default null
5807
+ */
5808
+ min?: Date | null;
5809
+ /**
5810
+ * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5811
+ * @default null
5812
+ */
5813
+ max?: Date | null;
5814
+ /**
5815
+ * Selected date
5816
+ * @default null
5817
+ */
5818
+ value?: BentoDatePickerValue | null;
5819
+ /**
5820
+ * The type of calendar to display. Defaults to showing days.
5821
+ */
5822
+ variant?: `${CalendarVariant}`;
5823
+ }
5824
+
5603
5825
  export declare type BentoDatePickerValue = Date;
5604
5826
 
5605
5827
  export declare interface BentoDateProps {
@@ -5633,376 +5855,99 @@ export declare interface BentoDateRangeFilterOptions {
5633
5855
  quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems | boolean;
5634
5856
  variant?: `${CalendarVariant}`;
5635
5857
  tooltipText?: string;
5636
- tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
5637
- }
5638
-
5639
- export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
5640
-
5641
- /**
5642
- * Date range picker selector.
5643
- *
5644
- * @example
5645
- * import { BentoDateRangePicker } from '@adyen/bento-vue2';
5646
- *
5647
- * export default {
5648
- * components: { BentoDateRangePicker },
5649
- * template: `
5650
- * <bento-date-range-picker
5651
- * label="Label"
5652
- * description="Supporting text"
5653
- * required
5654
- * optional
5655
- * disabled
5656
- * @input="onDateChanged"
5657
- * v-model="selectedDate"
5658
- * />
5659
- * `,
5660
- * setup() {
5661
- * const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
5662
- * return {
5663
- * selectedDate,
5664
- * }
5665
- * }
5666
- * }
5667
- */
5668
- export declare const BentoDateRangePicker: DefineComponent< {
5669
- /**
5670
- * Allows user to enter time values in the form
5671
- */
5672
- allowTimeInput: {
5673
- type: BooleanConstructor;
5674
- default: boolean;
5675
- };
5676
- /**
5677
- * Descriptive supporting text visbile underneath the dropdown.
5678
- */
5679
- description: {
5680
- type: StringConstructor;
5681
- default: any;
5682
- };
5683
- /**
5684
- * Disables dropdown functionality.
5685
- */
5686
- disabled: {
5687
- type: BooleanConstructor;
5688
- default: boolean;
5689
- };
5690
- /**
5691
- * Displays component in an error state with an error message
5692
- */
5693
- errorMessage: {
5694
- type: StringConstructor;
5695
- default: any;
5696
- };
5697
- /**
5698
- * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5699
- */
5700
- firstDayOfWeek: {
5701
- type: PropType<CalendarMonthFirstDayOfWeek>;
5702
- default: CalendarMonthFirstDayOfWeek;
5703
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5704
- };
5705
- /**
5706
- * A list of available granularities.
5707
- * If present, the date picker will display a segmented control to change granularity.
5708
- */
5709
- granularities: {
5710
- type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
5711
- default: any;
5712
- };
5713
- /**
5714
- * Indicate if a date should be disabled or not
5715
- */
5716
- isDateDisabled: {
5717
- type: PropType<CalendarMonthIsDateDisabled>;
5718
- default: any;
5719
- };
5720
- /**
5721
- * Text that is displayed as a label above the element.
5722
- */
5723
- label: {
5724
- type: StringConstructor;
5725
- default: any;
5726
- };
5727
- /**
5728
- * Upon opening date range picker, end date's month will be pre-selected.
5729
- */
5730
- showEndDateOnOpen: {
5731
- type: BooleanConstructor;
5732
- default: boolean;
5733
- };
5734
- /**
5735
- * Highlights the dropdown is optional.
5736
- */
5737
- optional: {
5738
- type: BooleanConstructor;
5739
- default: boolean;
5740
- };
5741
- /**
5742
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
5743
- */
5744
- readonly: {
5745
- type: BooleanConstructor;
5746
- default: boolean;
5747
- };
5748
- /**
5749
- * Highlights the dropdown is required.
5750
- */
5751
- required: {
5752
- type: BooleanConstructor;
5753
- default: boolean;
5754
- };
5755
- /**
5756
- * Adds a info icon next to the label to display the passed tooltip message.
5757
- */
5758
- tooltipText: {
5759
- type: StringConstructor;
5760
- default: any;
5761
- };
5762
- /**
5763
- * Enables the range selector.
5764
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
5765
- * `label` - label of custom range item.
5766
- * `value` - a unique key of the custom range item.
5767
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
5768
- */
5769
- quickSelectRanges: {
5770
- type: PropType<DateRangePickerCalendarRangeSelectorItems>;
5771
- default: any;
5772
- };
5773
- /**
5774
- * Set a maximum number of dates to be selectable by the range.
5775
- */
5776
- maxRange: {
5777
- type: NumberConstructor;
5778
- default: any;
5779
- validator: (value: number) => boolean;
5780
- };
5781
- /**
5782
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5783
- */
5784
- min: {
5785
- type: DateConstructor;
5786
- default: any;
5787
- };
5788
- /**
5789
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5790
- */
5791
- max: {
5792
- type: DateConstructor;
5793
- default: any;
5794
- };
5795
- /**
5796
- * Number of months rendered on pane
5797
- */
5798
- numberOfMonths: {
5799
- type: NumberConstructor;
5800
- default: number;
5801
- validator: (n: number) => boolean;
5802
- };
5803
- /**
5804
- * Selected date
5805
- */
5806
- value: {
5807
- type: PropType<BentoDateRangePickerValue>;
5808
- default: any;
5809
- };
5810
- /**
5811
- * The type of calendar to display. Defaults to showing days.
5812
- */
5813
- variant: {
5814
- type: PropType<`${CalendarVariant}`>;
5815
- default: any;
5816
- };
5817
- /**
5818
- * Enables the date picker selection to persist until it is explicitly applied.
5819
- * Displays a set of buttons: Apply and Cancel.
5820
- *
5821
- * @deprecated This will be the default behaviour in v2.0.0.
5822
- */
5823
- hasActions: {
5824
- type: BooleanConstructor;
5825
- default: boolean;
5826
- };
5827
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
5828
- /**
5829
- * Allows user to enter time values in the form
5830
- */
5831
- allowTimeInput: {
5832
- type: BooleanConstructor;
5833
- default: boolean;
5834
- };
5835
- /**
5836
- * Descriptive supporting text visbile underneath the dropdown.
5837
- */
5838
- description: {
5839
- type: StringConstructor;
5840
- default: any;
5841
- };
5842
- /**
5843
- * Disables dropdown functionality.
5844
- */
5845
- disabled: {
5846
- type: BooleanConstructor;
5847
- default: boolean;
5848
- };
5849
- /**
5850
- * Displays component in an error state with an error message
5851
- */
5852
- errorMessage: {
5853
- type: StringConstructor;
5854
- default: any;
5855
- };
5856
- /**
5857
- * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5858
- */
5859
- firstDayOfWeek: {
5860
- type: PropType<CalendarMonthFirstDayOfWeek>;
5861
- default: CalendarMonthFirstDayOfWeek;
5862
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5863
- };
5864
- /**
5865
- * A list of available granularities.
5866
- * If present, the date picker will display a segmented control to change granularity.
5867
- */
5868
- granularities: {
5869
- type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
5870
- default: any;
5871
- };
5872
- /**
5873
- * Indicate if a date should be disabled or not
5874
- */
5875
- isDateDisabled: {
5876
- type: PropType<CalendarMonthIsDateDisabled>;
5877
- default: any;
5878
- };
5879
- /**
5880
- * Text that is displayed as a label above the element.
5881
- */
5882
- label: {
5883
- type: StringConstructor;
5884
- default: any;
5885
- };
5886
- /**
5887
- * Upon opening date range picker, end date's month will be pre-selected.
5888
- */
5889
- showEndDateOnOpen: {
5890
- type: BooleanConstructor;
5891
- default: boolean;
5892
- };
5893
- /**
5894
- * Highlights the dropdown is optional.
5895
- */
5896
- optional: {
5897
- type: BooleanConstructor;
5898
- default: boolean;
5899
- };
5900
- /**
5901
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
5902
- */
5903
- readonly: {
5904
- type: BooleanConstructor;
5905
- default: boolean;
5906
- };
5907
- /**
5908
- * Highlights the dropdown is required.
5909
- */
5910
- required: {
5911
- type: BooleanConstructor;
5912
- default: boolean;
5913
- };
5914
- /**
5915
- * Adds a info icon next to the label to display the passed tooltip message.
5916
- */
5917
- tooltipText: {
5918
- type: StringConstructor;
5919
- default: any;
5920
- };
5921
- /**
5922
- * Enables the range selector.
5923
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
5924
- * `label` - label of custom range item.
5925
- * `value` - a unique key of the custom range item.
5926
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
5927
- */
5928
- quickSelectRanges: {
5929
- type: PropType<DateRangePickerCalendarRangeSelectorItems>;
5930
- default: any;
5931
- };
5932
- /**
5933
- * Set a maximum number of dates to be selectable by the range.
5934
- */
5935
- maxRange: {
5936
- type: NumberConstructor;
5937
- default: any;
5938
- validator: (value: number) => boolean;
5939
- };
5940
- /**
5941
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5942
- */
5943
- min: {
5944
- type: DateConstructor;
5945
- default: any;
5946
- };
5947
- /**
5948
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5949
- */
5950
- max: {
5951
- type: DateConstructor;
5952
- default: any;
5953
- };
5954
- /**
5955
- * Number of months rendered on pane
5956
- */
5957
- numberOfMonths: {
5958
- type: NumberConstructor;
5959
- default: number;
5960
- validator: (n: number) => boolean;
5961
- };
5962
- /**
5963
- * Selected date
5964
- */
5965
- value: {
5966
- type: PropType<BentoDateRangePickerValue>;
5967
- default: any;
5968
- };
5969
- /**
5970
- * The type of calendar to display. Defaults to showing days.
5971
- */
5972
- variant: {
5973
- type: PropType<`${CalendarVariant}`>;
5974
- default: any;
5975
- };
5858
+ tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
5859
+ }
5860
+
5861
+ export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
5862
+
5976
5863
  /**
5977
- * Enables the date picker selection to persist until it is explicitly applied.
5978
- * Displays a set of buttons: Apply and Cancel.
5979
- *
5980
- * @deprecated This will be the default behaviour in v2.0.0.
5981
- */
5982
- hasActions: {
5983
- type: BooleanConstructor;
5984
- default: boolean;
5985
- };
5986
- }>>, {
5987
- value: BentoDateRangePickerValue;
5864
+ * Date range picker selector.
5865
+ *
5866
+ * @example
5867
+ * import { BentoDateRangePicker } from '@adyen/bento-vue2';
5868
+ *
5869
+ * export default {
5870
+ * components: { BentoDateRangePicker },
5871
+ * template: `
5872
+ * <bento-date-range-picker
5873
+ * label="Label"
5874
+ * description="Supporting text"
5875
+ * required
5876
+ * optional
5877
+ * disabled
5878
+ * @input="onDateChanged"
5879
+ * v-model="selectedDate"
5880
+ * />
5881
+ * `,
5882
+ * setup() {
5883
+ * const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
5884
+ * return {
5885
+ * selectedDate,
5886
+ * }
5887
+ * }
5888
+ * }
5889
+ */
5890
+ export declare const BentoDateRangePicker: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
5891
+ description: any;
5892
+ disabled: boolean;
5893
+ errorMessage: any;
5894
+ firstDayOfWeek: number;
5895
+ hasActions: boolean;
5896
+ isDateDisabled: any;
5897
+ label: any;
5898
+ max: any;
5899
+ maxRange: any;
5900
+ min: any;
5901
+ numberOfMonths: any;
5902
+ optional: boolean;
5903
+ placeholder: any;
5904
+ quickSelectRanges: any;
5905
+ readonly: boolean;
5906
+ required: boolean;
5907
+ showEndDateOnOpen: boolean;
5908
+ tooltipText: any;
5909
+ value: any;
5910
+ variant: any;
5911
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
5912
+ description: any;
5913
+ disabled: boolean;
5914
+ errorMessage: any;
5915
+ firstDayOfWeek: number;
5916
+ hasActions: boolean;
5917
+ isDateDisabled: any;
5918
+ label: any;
5919
+ max: any;
5920
+ maxRange: any;
5921
+ min: any;
5922
+ numberOfMonths: any;
5923
+ optional: boolean;
5924
+ placeholder: any;
5925
+ quickSelectRanges: any;
5926
+ readonly: boolean;
5927
+ required: boolean;
5928
+ showEndDateOnOpen: boolean;
5929
+ tooltipText: any;
5930
+ value: any;
5931
+ variant: any;
5932
+ }>>>, {
5933
+ value: BentoDateRangePickerValue | null;
5988
5934
  description: string;
5989
5935
  label: string;
5990
- variant: "day" | "month";
5936
+ variant: `${CalendarVariant}`;
5991
5937
  required: boolean;
5992
5938
  disabled: boolean;
5993
5939
  optional: boolean;
5994
5940
  readonly: boolean;
5941
+ errorMessage: string;
5942
+ tooltipText: string;
5995
5943
  isDateDisabled: CalendarMonthIsDateDisabled;
5996
- firstDayOfWeek: CalendarMonthFirstDayOfWeek;
5944
+ firstDayOfWeek: CalendarMonthFirstDayOfWeek | number;
5997
5945
  min: Date;
5998
5946
  max: Date;
5999
5947
  maxRange: number;
6000
5948
  numberOfMonths: number;
6001
5949
  showEndDateOnOpen: boolean;
6002
- tooltipText: string;
6003
- errorMessage: string;
6004
- allowTimeInput: boolean;
6005
- granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
5950
+ placeholder: string;
6006
5951
  quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
6007
5952
  hasActions: boolean;
6008
5953
  }>;
@@ -6018,6 +5963,69 @@ export declare interface BentoDateRangePickerGranularityConfig<T extends Calenda
6018
5963
  disabled?: boolean;
6019
5964
  }
6020
5965
 
5966
+ export declare interface BentoDateRangePickerProps extends FormField {
5967
+ /**
5968
+ * Allows user to enter time values in the form
5969
+ * @default false
5970
+ */
5971
+ allowTimeInput?: boolean;
5972
+ /**
5973
+ * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5974
+ * @default 1
5975
+ */
5976
+ firstDayOfWeek?: CalendarMonthFirstDayOfWeek | number;
5977
+ /**
5978
+ * A list of available granularities.
5979
+ * If present, the date picker will display a segmented control to change granularity.
5980
+ */
5981
+ granularities?: Array<BentoDateRangePickerGranularityConfig>;
5982
+ /**
5983
+ * Indicate if a date should be disabled or not
5984
+ */
5985
+ isDateDisabled?: CalendarMonthIsDateDisabled;
5986
+ /**
5987
+ * Upon opening date range picker, end date's month will be pre-selected.
5988
+ * @default false
5989
+ */
5990
+ showEndDateOnOpen?: boolean;
5991
+ /**
5992
+ * Enables the range selector.
5993
+ * If provided, must be an array that sets the custom range dropdown items.
5994
+ */
5995
+ quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems;
5996
+ /**
5997
+ * Set a maximum number of dates to be selectable by the range.
5998
+ */
5999
+ maxRange?: number;
6000
+ /**
6001
+ * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
6002
+ */
6003
+ min?: Date;
6004
+ /**
6005
+ * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
6006
+ */
6007
+ max?: Date;
6008
+ /**
6009
+ * Number of months rendered on pane
6010
+ */
6011
+ numberOfMonths?: number;
6012
+ /**
6013
+ * Selected date
6014
+ */
6015
+ value?: BentoDateRangePickerValue | null;
6016
+ /**
6017
+ * The type of calendar to display. Defaults to showing days.
6018
+ */
6019
+ variant?: `${CalendarVariant}`;
6020
+ /**
6021
+ * Enables the date picker selection to persist until it is explicitly applied.
6022
+ * Displays a set of buttons: Apply and Cancel.
6023
+ * @deprecated This will be the default behaviour in v2.0.0.
6024
+ * @default false
6025
+ */
6026
+ hasActions?: boolean;
6027
+ }
6028
+
6021
6029
  export declare interface BentoDateRangePickerValue {
6022
6030
  startDate: Date;
6023
6031
  endDate: Date;
@@ -6036,9 +6044,9 @@ export declare interface BentoDateRangePickerValue {
6036
6044
  * template: `<bento-divider />`
6037
6045
  * }
6038
6046
  */
6039
- export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDividerProps>, {
6047
+ export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDividerProps>, {
6040
6048
  variant: BentoDividerVariant;
6041
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDividerProps>, {
6049
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDividerProps>, {
6042
6050
  variant: BentoDividerVariant;
6043
6051
  }>>>, {
6044
6052
  variant: `${BentoDividerVariant}`;
@@ -6092,7 +6100,7 @@ declare enum BentoDividerVariant {
6092
6100
  * }
6093
6101
  * }
6094
6102
  */
6095
- export declare const BentoDropdown: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<BentoDropdownProps>, {
6103
+ export declare const BentoDropdown: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
6096
6104
  ariaLabel: any;
6097
6105
  condensed: boolean;
6098
6106
  emptyState: any;
@@ -6127,7 +6135,9 @@ focus: () => void;
6127
6135
  input: (selectedValue: any) => void;
6128
6136
  } & {
6129
6137
  "show-more": () => void;
6130
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<BentoDropdownProps>, {
6138
+ } & {
6139
+ open: () => void;
6140
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
6131
6141
  ariaLabel: any;
6132
6142
  condensed: boolean;
6133
6143
  emptyState: any;
@@ -6171,9 +6181,9 @@ readonly: boolean;
6171
6181
  size: BentoDropdownSize | `${BentoDropdownSize}`;
6172
6182
  multiple: boolean;
6173
6183
  ariaLabel: string;
6174
- tooltipText: string;
6175
- errorMessage: string;
6176
6184
  items: BentoListboxOptions;
6185
+ errorMessage: string;
6186
+ tooltipText: string;
6177
6187
  isOptionDisabled: BentoListboxIsOptionDisabled;
6178
6188
  staticCategories: boolean;
6179
6189
  hasMoreItems: boolean;
@@ -6183,8 +6193,8 @@ componentLoading: boolean;
6183
6193
  virtualScroll: BentoListboxVirtulisationOptions;
6184
6194
  dynamicFiltering: boolean;
6185
6195
  showSlotContentInMultiple: boolean;
6186
- placeholder: string;
6187
6196
  enableValueLabelPair: boolean;
6197
+ placeholder: string;
6188
6198
  }>, Record<string, (_: any) => any> & Record<string, (_: any) => any> & {
6189
6199
  description: (_: {}) => any;
6190
6200
  }>;
@@ -6217,11 +6227,15 @@ enableValueLabelPair: boolean;
6217
6227
  * }
6218
6228
  * }
6219
6229
  */
6220
- export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownAvatarProps>, {
6230
+ export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
6221
6231
  items: () => any[];
6222
6232
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6223
6233
  input: (selectedValue: BentoListboxSelectedValue) => void;
6224
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownAvatarProps>, {
6234
+ } & {
6235
+ "show-more": () => void;
6236
+ } & {
6237
+ open: () => void;
6238
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
6225
6239
  items: () => any[];
6226
6240
  }>>>, {
6227
6241
  items: BentoAvatarListboxOptions;
@@ -6356,12 +6370,12 @@ type: PropType<string>;
6356
6370
  } & {
6357
6371
  default: any;
6358
6372
  };
6359
- tooltipText: {
6373
+ errorMessage: {
6360
6374
  type: PropType<string>;
6361
6375
  } & {
6362
6376
  default: any;
6363
6377
  };
6364
- errorMessage: {
6378
+ tooltipText: {
6365
6379
  type: PropType<string>;
6366
6380
  } & {
6367
6381
  default: any;
@@ -6411,18 +6425,22 @@ type: PropType<boolean>;
6411
6425
  } & {
6412
6426
  default: boolean;
6413
6427
  };
6414
- placeholder: {
6415
- type: PropType<string>;
6416
- } & {
6417
- default: any;
6418
- };
6419
6428
  enableValueLabelPair: {
6420
6429
  type: PropType<boolean>;
6421
6430
  } & {
6422
6431
  default: boolean;
6423
6432
  };
6433
+ placeholder: {
6434
+ type: PropType<string>;
6435
+ } & {
6436
+ default: any;
6437
+ };
6424
6438
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6425
6439
  input: (selectedValue: BentoListboxSelectedValue) => void;
6440
+ } & {
6441
+ "show-more": () => void;
6442
+ } & {
6443
+ open: () => void;
6426
6444
  }, string, Readonly<ExtractPropTypes< {
6427
6445
  /**
6428
6446
  * The option elements to populate the country dropdown with.
@@ -6513,12 +6531,12 @@ type: PropType<string>;
6513
6531
  } & {
6514
6532
  default: any;
6515
6533
  };
6516
- tooltipText: {
6534
+ errorMessage: {
6517
6535
  type: PropType<string>;
6518
6536
  } & {
6519
6537
  default: any;
6520
6538
  };
6521
- errorMessage: {
6539
+ tooltipText: {
6522
6540
  type: PropType<string>;
6523
6541
  } & {
6524
6542
  default: any;
@@ -6568,16 +6586,16 @@ type: PropType<boolean>;
6568
6586
  } & {
6569
6587
  default: boolean;
6570
6588
  };
6571
- placeholder: {
6572
- type: PropType<string>;
6573
- } & {
6574
- default: any;
6575
- };
6576
6589
  enableValueLabelPair: {
6577
6590
  type: PropType<boolean>;
6578
6591
  } & {
6579
6592
  default: boolean;
6580
6593
  };
6594
+ placeholder: {
6595
+ type: PropType<string>;
6596
+ } & {
6597
+ default: any;
6598
+ };
6581
6599
  }>>, {
6582
6600
  search: BentoListboxSearchOptions;
6583
6601
  value: BentoListboxSelectedValue;
@@ -6594,9 +6612,9 @@ readonly: boolean;
6594
6612
  size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
6595
6613
  multiple: boolean;
6596
6614
  ariaLabel: string;
6597
- tooltipText: string;
6598
- errorMessage: string;
6599
6615
  items: BentoCountryListboxOptions;
6616
+ errorMessage: string;
6617
+ tooltipText: string;
6600
6618
  isOptionDisabled: BentoListboxIsOptionDisabled;
6601
6619
  staticCategories: boolean;
6602
6620
  hasMoreItems: boolean;
@@ -6606,8 +6624,8 @@ componentLoading: boolean;
6606
6624
  virtualScroll: BentoListboxVirtulisationOptions;
6607
6625
  dynamicFiltering: boolean;
6608
6626
  showSlotContentInMultiple: boolean;
6609
- placeholder: string;
6610
6627
  enableValueLabelPair: boolean;
6628
+ placeholder: string;
6611
6629
  }>;
6612
6630
 
6613
6631
  /**
@@ -6638,11 +6656,15 @@ enableValueLabelPair: boolean;
6638
6656
  * }
6639
6657
  * }
6640
6658
  */
6641
- export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownCurrencyProps>, {
6659
+ export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
6642
6660
  items: () => any[];
6643
6661
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6644
6662
  input: (selectedValue: BentoListboxSelectedValue) => void;
6645
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownCurrencyProps>, {
6663
+ } & {
6664
+ "show-more": () => void;
6665
+ } & {
6666
+ open: () => void;
6667
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
6646
6668
  items: () => any[];
6647
6669
  }>>>, {
6648
6670
  items: BentoCurrencyListboxOptions;
@@ -6686,11 +6708,15 @@ export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
6686
6708
  * }
6687
6709
  * }
6688
6710
  */
6689
- export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownPaymentMethodProps>, {
6711
+ export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
6690
6712
  items: () => any[];
6691
6713
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6692
6714
  input: (selectedValue: BentoListboxSelectedValue) => void;
6693
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownPaymentMethodProps>, {
6715
+ } & {
6716
+ "show-more": () => void;
6717
+ } & {
6718
+ open: () => void;
6719
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
6694
6720
  items: () => any[];
6695
6721
  }>>>, {
6696
6722
  items: BentoPaymentMethodListboxOptions;
@@ -6706,7 +6732,7 @@ export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownPr
6706
6732
  items?: BentoPaymentMethodListboxOptions;
6707
6733
  }
6708
6734
 
6709
- export declare interface BentoDropdownProps {
6735
+ export declare interface BentoDropdownProps extends FormField {
6710
6736
  /**
6711
6737
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
6712
6738
  * Defines a string value that labels an interactive element.
@@ -6720,10 +6746,6 @@ export declare interface BentoDropdownProps {
6720
6746
  * Empty state props used with the inner empty state component which is displayed when no search results are found.
6721
6747
  */
6722
6748
  emptyState?: BentoListboxEmptyStateProps;
6723
- /**
6724
- * Disables dropdown functionality.
6725
- */
6726
- disabled?: boolean;
6727
6749
  /**
6728
6750
  * Sets the possibility to type into the textbox.
6729
6751
  */
@@ -6733,14 +6755,6 @@ export declare interface BentoDropdownProps {
6733
6755
  * @deprecated Use "errorMessage" prop instead
6734
6756
  */
6735
6757
  error?: boolean;
6736
- /**
6737
- * Highlights the dropdown in an erroneous state with an error message.
6738
- */
6739
- errorMessage?: string;
6740
- /**
6741
- * Descriptive supporting text visbile underneath the dropdown.
6742
- */
6743
- description?: string;
6744
6758
  /**
6745
6759
  * Indicates whether there are more items to load
6746
6760
  */
@@ -6761,10 +6775,6 @@ export declare interface BentoDropdownProps {
6761
6775
  * @property value.value - Value of the option
6762
6776
  */
6763
6777
  items?: BentoListboxOptions;
6764
- /**
6765
- * Text that is displayed as a label above the element.
6766
- */
6767
- label?: string;
6768
6778
  /**
6769
6779
  * Indicates if new options are lazy loading.
6770
6780
  */
@@ -6783,22 +6793,6 @@ export declare interface BentoDropdownProps {
6783
6793
  * If enabled, the user will be able to select multiple items.
6784
6794
  */
6785
6795
  multiple?: boolean;
6786
- /**
6787
- * Highlights the dropdown is optional.
6788
- */
6789
- optional?: boolean;
6790
- /**
6791
- * Text that appears in the form control when it has no value set
6792
- */
6793
- placeholder?: string;
6794
- /**
6795
- * Sets the dropdown to readonly state
6796
- */
6797
- readonly?: boolean;
6798
- /**
6799
- * Highlights the dropdown is required.
6800
- */
6801
- required?: boolean;
6802
6796
  /**
6803
6797
  * Dropdown search options and events.
6804
6798
  * @see BentoDropdownSearchOptions
@@ -6816,10 +6810,6 @@ export declare interface BentoDropdownProps {
6816
6810
  * If enabled, dropdown will display non-selectable, static categories
6817
6811
  */
6818
6812
  staticCategories?: boolean;
6819
- /**
6820
- * Adds a info icon next to the label to display the passed tooltip message.
6821
- */
6822
- tooltipText?: string;
6823
6813
  /**
6824
6814
  * The `input` value.
6825
6815
  * Providing an empty string will select no options.
@@ -6889,11 +6879,15 @@ declare enum BentoDropdownSize_2 {
6889
6879
  * }
6890
6880
  * }
6891
6881
  */
6892
- export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownTagProps>, {
6882
+ export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
6893
6883
  items: () => any[];
6894
6884
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6895
6885
  input: (selectedValue: BentoListboxSelectedValue) => void;
6896
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownTagProps>, {
6886
+ } & {
6887
+ "show-more": () => void;
6888
+ } & {
6889
+ open: () => void;
6890
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
6897
6891
  items: () => any[];
6898
6892
  }>>>, {
6899
6893
  items: BentoTagListboxOptions;
@@ -6934,14 +6928,14 @@ export declare interface BentoDropdownTagProps extends BentoDropdownProps {
6934
6928
  * `
6935
6929
  * }
6936
6930
  */
6937
- export declare const BentoEmptyState: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoEmptyStateProps>, {
6931
+ export declare const BentoEmptyState: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
6938
6932
  action: any;
6939
6933
  description: any;
6940
6934
  headingEl: any;
6941
6935
  image: any;
6942
6936
  title: string;
6943
6937
  variant: string;
6944
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoEmptyStateProps>, {
6938
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
6945
6939
  action: any;
6946
6940
  description: any;
6947
6941
  headingEl: any;
@@ -7054,7 +7048,7 @@ export declare enum BentoEmptyStateVariant {
7054
7048
  * }
7055
7049
  * }
7056
7050
  */
7057
- export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoFileUploaderProps>, {
7051
+ export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
7058
7052
  accept: any;
7059
7053
  description: any;
7060
7054
  errorMessage: any;
@@ -7071,7 +7065,7 @@ input: (value?: FileList) => void;
7071
7065
  "update:modelValue": (value?: FileList) => void;
7072
7066
  } & {
7073
7067
  "error:upload": (value: boolean) => void;
7074
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoFileUploaderProps>, {
7068
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
7075
7069
  accept: any;
7076
7070
  description: any;
7077
7071
  errorMessage: any;
@@ -7082,9 +7076,9 @@ modelValue: any;
7082
7076
  tooltipText: any;
7083
7077
  }>>>, {
7084
7078
  description: string;
7085
- tooltipText: string;
7086
- errorMessage: string;
7087
7079
  modelValue: BentoFileUploaderValue;
7080
+ errorMessage: string;
7081
+ tooltipText: string;
7088
7082
  accept: HTMLInputElement["accept"];
7089
7083
  maxCount: number;
7090
7084
  maxDimensions: any;
@@ -7176,7 +7170,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
7176
7170
  * `
7177
7171
  * }
7178
7172
  */
7179
- export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoFilterBarProps>, {
7173
+ export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
7180
7174
  config: () => any[];
7181
7175
  filterValues: () => any[];
7182
7176
  containerSizeLayout: () => {
@@ -7193,7 +7187,7 @@ isClearAllVisible: ComputedRef<boolean>;
7193
7187
  clearAllFilters: () => void;
7194
7188
  isResetAllVisible: ComputedRef<boolean>;
7195
7189
  resetAllFilters: () => void;
7196
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoFilterBarProps>, {
7190
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
7197
7191
  config: () => any[];
7198
7192
  filterValues: () => any[];
7199
7193
  containerSizeLayout: () => {
@@ -7208,7 +7202,7 @@ filterValuesObject: any;
7208
7202
  }>>>, {
7209
7203
  search: BentoFilterBarSearchBarProps;
7210
7204
  value: BentoFilterBarModel;
7211
- config: BentoFilterBarModel;
7205
+ config: BentoFilterBarModel<undefined>;
7212
7206
  searchTerm: BentoFilterBarSearchTerm;
7213
7207
  filterValues: BentoFilterValues;
7214
7208
  containerSizeLayout: {
@@ -7216,7 +7210,7 @@ medium: string;
7216
7210
  small: string;
7217
7211
  };
7218
7212
  showAppliedHiddenFilters: boolean;
7219
- filterValuesObject: BentoFilterValueObject;
7213
+ filterValuesObject: any;
7220
7214
  }>;
7221
7215
 
7222
7216
  export declare interface BentoFilterBarContainerSizeLayout {
@@ -7236,9 +7230,9 @@ export declare enum BentoFilterBarEvent {
7236
7230
  UPDATE_FILTER_VALUES_ARRAY = "update:filter-values"
7237
7231
  }
7238
7232
 
7239
- export declare type BentoFilterBarModel = Array<BentoFilterModel>;
7233
+ export declare type BentoFilterBarModel<CustomOptions = undefined> = Array<BentoFilterModel<CustomOptions>>;
7240
7234
 
7241
- export declare interface BentoFilterBarProps {
7235
+ export declare interface BentoFilterBarProps<CustomValue = BentoFilterBarValue | any, CustomOptions = undefined> {
7242
7236
  /**
7243
7237
  * Array of filters based on @see {@link BentoFilterBarModel}.
7244
7238
  * Each one of the elements in the array correspond to a filter that will
@@ -7255,7 +7249,7 @@ export declare interface BentoFilterBarProps {
7255
7249
  * type: FilterType.TEXT,
7256
7250
  * }]
7257
7251
  */
7258
- config?: BentoFilterBarModel;
7252
+ config?: BentoFilterBarModel<CustomOptions>;
7259
7253
  /**
7260
7254
  * An array of the values for each filter in the filter bar.
7261
7255
  * @see {@link BentoFilterValues}
@@ -7331,7 +7325,7 @@ export declare interface BentoFilterBarProps {
7331
7325
  * 'name': 'some text'
7332
7326
  * },
7333
7327
  */
7334
- filterValuesObject?: BentoFilterValueObject;
7328
+ filterValuesObject?: BentoFilterValueObject<string, CustomValue>;
7335
7329
  }
7336
7330
 
7337
7331
  export declare type BentoFilterBarScreenOptionsLayout = 'one-line' | 'multi-line';
@@ -7362,14 +7356,20 @@ export declare enum BentoFilterItemType {
7362
7356
  DATE_RANGE = "BentoDateRangeFilter"
7363
7357
  }
7364
7358
 
7365
- export declare interface BentoFilterModel extends BentoFilterValue {
7359
+ export declare interface BentoFilterModel<CustomOptions = undefined> extends BentoFilterValue {
7366
7360
  label: string;
7367
7361
  description?: string;
7368
- type: BentoFilterItemType;
7369
- options?: BentoFilterOptions;
7362
+ options?: BentoFilterOptions | CustomOptions;
7370
7363
  disabled?: boolean;
7371
7364
  defaultValue?: BentoFilterBarValue;
7372
7365
  visible?: boolean;
7366
+ /**
7367
+ * Defines the filter to be used.
7368
+ *
7369
+ * Can be one filter defined in the {@link BentoFilterItemType} enum or a
7370
+ * custom filter component defined as a {@link VueNodeElement}
7371
+ */
7372
+ type: BentoFilterItemType | VueNodeElement;
7373
7373
  /**
7374
7374
  * @deprecated This property will be removed in version 2.0, please use `config` & `filter-values` properties.
7375
7375
  */
@@ -7383,7 +7383,7 @@ export declare interface BentoFilterValue {
7383
7383
  value?: BentoFilterBarValue;
7384
7384
  }
7385
7385
 
7386
- export declare type BentoFilterValueObject<T extends PropertyKey = string> = Record<T, BentoFilterBarValue>;
7386
+ export declare type BentoFilterValueObject<T extends PropertyKey = string, CustomValue = BentoFilterBarValue> = Record<T, CustomValue>;
7387
7387
 
7388
7388
  export declare type BentoFilterValues = Array<BentoFilterValue>;
7389
7389
 
@@ -7422,7 +7422,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
7422
7422
  * `
7423
7423
  * }
7424
7424
  */
7425
- export declare const BentoFormLayout: __VLS_WithTemplateSlots_14<DefineComponent< {
7425
+ export declare const BentoFormLayout: __VLS_WithTemplateSlots_15<DefineComponent< {
7426
7426
  /**
7427
7427
  * Renders the form layout as an HTML `form`
7428
7428
  */
@@ -7488,7 +7488,7 @@ loading: boolean;
7488
7488
  * </bento-form-layout-field-tip>
7489
7489
  * `
7490
7490
  */
7491
- export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_15<DefineComponent< {
7491
+ export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_16<DefineComponent< {
7492
7492
  /**
7493
7493
  * Type of a alert; set a distinctive icon and color. Defaults to highlight.
7494
7494
  * @values highlight, success, critical, warning
@@ -7552,7 +7552,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
7552
7552
  * `
7553
7553
  * }
7554
7554
  */
7555
- export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_17<DefineComponent< {
7555
+ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_18<DefineComponent< {
7556
7556
  /**
7557
7557
  * The layout of the pair group of components.
7558
7558
  * This will render the components within the width of the proportions.
@@ -7638,7 +7638,7 @@ layout: BentoLayoutGroupProportions;
7638
7638
  * `
7639
7639
  * }
7640
7640
  */
7641
- export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_16<DefineComponent< {
7641
+ export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_17<DefineComponent< {
7642
7642
  /**
7643
7643
  * Defines if the Form Layout title is
7644
7644
  * a "section" or a "subsection".
@@ -7874,7 +7874,7 @@ declare enum BentoHeaderVariant {
7874
7874
  * `
7875
7875
  * };
7876
7876
  */
7877
- export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoHeaderWithViewsProps>, {
7877
+ export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
7878
7878
  actions: () => any[];
7879
7879
  additionalViewSetting: any;
7880
7880
  title: any;
@@ -7900,7 +7900,7 @@ views: () => any[];
7900
7900
  "update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
7901
7901
  } & {
7902
7902
  "update:skip-unsaved-changes": (value: boolean) => void;
7903
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoHeaderWithViewsProps>, {
7903
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
7904
7904
  actions: () => any[];
7905
7905
  additionalViewSetting: any;
7906
7906
  title: any;
@@ -7918,7 +7918,7 @@ lastUpdated: Date | number;
7918
7918
  reloadButton: HeaderMetaProps["reloadButton"];
7919
7919
  infoIconTooltipText: string;
7920
7920
  additionalViewSetting: BentoHeaderWithViewsItemAdditionalConfig;
7921
- views: BentoHeaderWithViewsItem[];
7921
+ views: Array<BentoHeaderWithViewsItem>;
7922
7922
  disableCustomization: boolean;
7923
7923
  }>, {
7924
7924
  infoIconTooltipContent: (_: {}) => any;
@@ -8013,8 +8013,8 @@ declare enum BentoHeaderWithViewsItemIconEnum {
8013
8013
  }
8014
8014
 
8015
8015
  export declare interface BentoHeaderWithViewsItemUpdate {
8016
- newViews: BentoHeaderWithViewsItem[];
8017
- oldViews: BentoHeaderWithViewsItem[];
8016
+ newViews: Array<BentoHeaderWithViewsItem>;
8017
+ oldViews: Array<BentoHeaderWithViewsItem>;
8018
8018
  targetViewLabel: BentoHeaderWithViewsItem['label'];
8019
8019
  }
8020
8020
 
@@ -8041,7 +8041,7 @@ export declare interface BentoHeaderWithViewsProps {
8041
8041
  * - `additionalViewSetting` (BentoHeaderWithViewsItemAdditionalConfig, optional): Optional configuration for an additional view setting.
8042
8042
  * - `isFixed` (boolean, optional): Indicates if this view can be edited or deleted. * @see {@link BentoHeaderWithViewsItem}
8043
8043
  */
8044
- views?: BentoHeaderWithViewsItem[];
8044
+ views?: Array<BentoHeaderWithViewsItem>;
8045
8045
  /**
8046
8046
  * Optional configuration for an additional view setting, such as a filter or option.
8047
8047
  * Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
@@ -8101,10 +8101,10 @@ export declare interface BentoHeaderWithViewsProps {
8101
8101
  * `
8102
8102
  * }
8103
8103
  */
8104
- export declare const BentoImage: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoImageProps>, {
8104
+ export declare const BentoImage: DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
8105
8105
  aspectRatio: any;
8106
8106
  objectFit: any;
8107
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoImageProps>, {
8107
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
8108
8108
  aspectRatio: any;
8109
8109
  objectFit: any;
8110
8110
  }>>>, {
@@ -8154,11 +8154,11 @@ export declare interface BentoImageProps {
8154
8154
  * import { BentoInfoIcon } from '@adyen/bento-vue2';
8155
8155
  * </scrip>
8156
8156
  */
8157
- export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInfoIconProps>, {
8157
+ export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
8158
8158
  tooltipPosition: PopperContainerPositionExtended;
8159
8159
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8160
8160
  mouseenter: (event: MouseEvent) => void;
8161
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInfoIconProps>, {
8161
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
8162
8162
  tooltipPosition: PopperContainerPositionExtended;
8163
8163
  }>>>, {
8164
8164
  tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
@@ -8216,7 +8216,7 @@ export declare type BentoInputDropdownProps = {
8216
8216
  * >
8217
8217
  * }
8218
8218
  */
8219
- export declare const BentoInputField: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldProps>, {
8219
+ export declare const BentoInputField: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
8220
8220
  ariaHidden: boolean;
8221
8221
  ariaLabel: any;
8222
8222
  condensed: boolean;
@@ -8257,7 +8257,7 @@ keydown: (event: KeyboardEvent) => void;
8257
8257
  keyup: (event: KeyboardEvent) => void;
8258
8258
  } & {
8259
8259
  input: (inputValue: string) => void;
8260
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldProps>, {
8260
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
8261
8261
  ariaHidden: boolean;
8262
8262
  ariaLabel: any;
8263
8263
  condensed: boolean;
@@ -8288,8 +8288,8 @@ error: boolean;
8288
8288
  optional: boolean;
8289
8289
  readonly: boolean;
8290
8290
  ariaLabel: string;
8291
- tooltipText: string;
8292
8291
  errorMessage: string;
8292
+ tooltipText: string;
8293
8293
  placeholder: string;
8294
8294
  slashedZero: boolean;
8295
8295
  dropdown: BentoInputDropdownProps;
@@ -8358,7 +8358,7 @@ export declare enum BentoInputFieldEvent {
8358
8358
  * `
8359
8359
  * }
8360
8360
  */
8361
- export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInputFieldPasswordProps>, {
8361
+ export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
8362
8362
  condensed: boolean;
8363
8363
  debounceTime: number;
8364
8364
  disabled: boolean;
@@ -8380,7 +8380,7 @@ focus: () => void;
8380
8380
  "input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
8381
8381
  } & {
8382
8382
  input: (value: BentoInputFieldValue) => void;
8383
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInputFieldPasswordProps>, {
8383
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
8384
8384
  condensed: boolean;
8385
8385
  debounceTime: number;
8386
8386
  disabled: boolean;
@@ -8481,7 +8481,7 @@ export declare interface BentoInputFieldPasswordValidation {
8481
8481
  title?: string;
8482
8482
  suggestion?: string;
8483
8483
  extendDefaultValidation?: boolean;
8484
- list: BentoInputFieldPasswordValidationListItem[];
8484
+ list: Array<BentoInputFieldPasswordValidationListItem>;
8485
8485
  }
8486
8486
 
8487
8487
  /**
@@ -8490,8 +8490,8 @@ export declare interface BentoInputFieldPasswordValidation {
8490
8490
  export declare interface BentoInputFieldPasswordValidationListItem {
8491
8491
  label?: string;
8492
8492
  key?: BentoInputFieldPasswordDefaultRuleKeys | string;
8493
- validate?: (value: BentoInputFieldValue, ...args: any[]) => boolean;
8494
- additionalArgs?: any[];
8493
+ validate?: (value: BentoInputFieldValue, ...args: Array<any>) => boolean;
8494
+ additionalArgs?: Array<any>;
8495
8495
  disabled?: boolean;
8496
8496
  }
8497
8497
 
@@ -8513,7 +8513,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
8513
8513
  * `
8514
8514
  * }
8515
8515
  */
8516
- export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoInputFieldPhoneNumberProps>, {
8516
+ export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
8517
8517
  countries: () => CountryCode_2[];
8518
8518
  description: any;
8519
8519
  dynamicFiltering: boolean;
@@ -8525,14 +8525,14 @@ input: (value: string) => void;
8525
8525
  "update:selected-country": (country: CountryCode_2) => void;
8526
8526
  } & {
8527
8527
  "input:valid": (value: boolean) => void;
8528
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoInputFieldPhoneNumberProps>, {
8528
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
8529
8529
  countries: () => CountryCode_2[];
8530
8530
  description: any;
8531
8531
  dynamicFiltering: boolean;
8532
8532
  }>>>, {
8533
8533
  description: string;
8534
8534
  dynamicFiltering: boolean;
8535
- countries: CountryCode[];
8535
+ countries: Array<CountryCode>;
8536
8536
  }>, {
8537
8537
  default: (_: {}) => any;
8538
8538
  description: (_: {}) => any;
@@ -8549,7 +8549,7 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
8549
8549
  /**
8550
8550
  * Array of country codes to show on the dropdown
8551
8551
  */
8552
- countries?: CountryCode[];
8552
+ countries?: Array<CountryCode>;
8553
8553
  /**
8554
8554
  * Dropdown props for the small selectable dropdown menu.
8555
8555
  * Properties supported:
@@ -8570,6 +8570,10 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
8570
8570
  * Selected country code
8571
8571
  */
8572
8572
  selectedCountry?: CountryCode;
8573
+ /**
8574
+ * The current value of the field.
8575
+ */
8576
+ value?: string | number;
8573
8577
  }
8574
8578
 
8575
8579
  export declare interface BentoInputFieldProps {
@@ -8809,7 +8813,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
8809
8813
  * `
8810
8814
  * }
8811
8815
  */
8812
- export declare const BentoInspector: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInspectorProps>, {
8816
+ export declare const BentoInspector: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
8813
8817
  activePage: string;
8814
8818
  expandable: boolean;
8815
8819
  isOpen: boolean;
@@ -8823,7 +8827,7 @@ pageFocusAnchor: any;
8823
8827
  "update:active-page": (value: string) => void;
8824
8828
  } & {
8825
8829
  expand: () => void;
8826
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInspectorProps>, {
8830
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
8827
8831
  activePage: string;
8828
8832
  expandable: boolean;
8829
8833
  isOpen: boolean;
@@ -8835,8 +8839,8 @@ pageFocusAnchor: any;
8835
8839
  isOpen: boolean;
8836
8840
  loading: boolean;
8837
8841
  size: BentoInspectorSize;
8838
- activePage: string;
8839
8842
  expandable: boolean;
8843
+ activePage: string;
8840
8844
  relativeLayout: BentoInspectorRelativeLayout;
8841
8845
  pageFocusAnchor: HTMLElement;
8842
8846
  }>, {
@@ -8939,10 +8943,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
8939
8943
  * `
8940
8944
  * }
8941
8945
  */
8942
- export declare const BentoLayout: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLayoutProps>, {
8946
+ export declare const BentoLayout: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
8943
8947
  size: string;
8944
8948
  variant: string;
8945
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLayoutProps>, {
8949
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
8946
8950
  size: string;
8947
8951
  variant: string;
8948
8952
  }>>>, {
@@ -8985,9 +8989,9 @@ export declare interface BentoLayoutProps {
8985
8989
  * `
8986
8990
  * }
8987
8991
  */
8988
- export declare const BentoLayoutRow: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoLayoutRowProps>, {
8992
+ export declare const BentoLayoutRow: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
8989
8993
  columnsLayout: string;
8990
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoLayoutRowProps>, {
8994
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
8991
8995
  columnsLayout: string;
8992
8996
  }>>>, {
8993
8997
  columnsLayout: BentoLayoutRowColumnLayout;
@@ -9019,10 +9023,10 @@ declare const BentoLayoutVariantOptions: readonly ["page", "component"];
9019
9023
 
9020
9024
  export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
9021
9025
 
9022
- export declare const BentoLink: __VLS_WithTemplateSlots_24<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoLinkProps>, {
9026
+ export declare const BentoLink: __VLS_WithTemplateSlots_25<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
9023
9027
  target: any;
9024
9028
  variant: BentoLinkVariant;
9025
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoLinkProps>, {
9029
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
9026
9030
  target: any;
9027
9031
  variant: BentoLinkVariant;
9028
9032
  }>>> & Readonly<{
@@ -9056,7 +9060,7 @@ declare type BentoListboxEmptyStateProps = {
9056
9060
  action: {
9057
9061
  icon?: any;
9058
9062
  } & BentoButtonActionObject;
9059
- } & OmitStrict_2<BentoEmptyStateProps, 'variant' | 'image' | 'description'>;
9063
+ } & OmitStrict<BentoEmptyStateProps, 'variant' | 'image' | 'description'>;
9060
9064
  export { BentoListboxEmptyStateProps as BentoDropdownEmptyStateProps }
9061
9065
  export { BentoListboxEmptyStateProps }
9062
9066
 
@@ -9088,7 +9092,7 @@ declare enum BentoListboxLazyLoadType {
9088
9092
  export { BentoListboxLazyLoadType as BentoDropdownLazyLoadType }
9089
9093
  export { BentoListboxLazyLoadType }
9090
9094
 
9091
- export declare type BentoListboxMultiSelectValue = BentoListboxValue[];
9095
+ export declare type BentoListboxMultiSelectValue = Array<BentoListboxValue>;
9092
9096
 
9093
9097
  export declare interface BentoListboxOptionItem extends BentoSearchBarItem {
9094
9098
  data?: unknown;
@@ -9267,57 +9271,32 @@ declare enum BentoLoadingButtonState_2 {
9267
9271
  FAIL = 'fail',
9268
9272
  }
9269
9273
 
9270
- export declare const BentoLoadingIndicator: DefineComponent< {
9271
- /**
9272
- * Displays the loading indicator in a small size
9273
- */
9274
- small: {
9275
- type: BooleanConstructor;
9276
- default: boolean;
9277
- };
9278
- /**
9279
- * Displays the loading indicator in a large size
9280
- */
9281
- large: {
9282
- type: BooleanConstructor;
9283
- default: boolean;
9284
- };
9285
- /**
9286
- * Displays the loading indicator in a white variant
9287
- */
9288
- inverse: {
9289
- type: BooleanConstructor;
9290
- default: boolean;
9291
- };
9292
- }, {
9293
- conditionalClasses: ComputedRef< {
9294
- 'b-loading-indicator--inverse': boolean;
9295
- 'b-loading-indicator--small': boolean;
9296
- 'b-loading-indicator--large': boolean;
9297
- }>;
9298
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoLoadingIndicatorEvent[], string, Readonly<ExtractPropTypes< {
9299
- /**
9300
- * Displays the loading indicator in a small size
9301
- */
9302
- small: {
9303
- type: BooleanConstructor;
9304
- default: boolean;
9305
- };
9306
- /**
9307
- * Displays the loading indicator in a large size
9308
- */
9309
- large: {
9310
- type: BooleanConstructor;
9311
- default: boolean;
9312
- };
9313
9274
  /**
9314
- * Displays the loading indicator in a white variant
9315
- */
9316
- inverse: {
9317
- type: BooleanConstructor;
9318
- default: boolean;
9319
- };
9320
- }>>, {
9275
+ * A loading indicator component that displays a spinning animation.
9276
+ *
9277
+ * @usage
9278
+ * import { BentoLoadingIndicator } from '@adyen/bento-vue2';
9279
+ *
9280
+ * export default {
9281
+ * components: { BentoLoadingIndicator },
9282
+ * template: `
9283
+ * <bento-loading-indicator :small="true" />
9284
+ * `
9285
+ * };
9286
+ */
9287
+ export declare const BentoLoadingIndicator: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
9288
+ small: boolean;
9289
+ large: boolean;
9290
+ inverse: boolean;
9291
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9292
+ "loading-start": () => void;
9293
+ } & {
9294
+ "loading-end": () => void;
9295
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
9296
+ small: boolean;
9297
+ large: boolean;
9298
+ inverse: boolean;
9299
+ }>>>, {
9321
9300
  small: boolean;
9322
9301
  large: boolean;
9323
9302
  inverse: boolean;
@@ -9328,6 +9307,21 @@ export declare enum BentoLoadingIndicatorEvent {
9328
9307
  END = "loading-end"
9329
9308
  }
9330
9309
 
9310
+ export declare interface BentoLoadingIndicatorProps {
9311
+ /**
9312
+ * Displays the loading indicator in a small size
9313
+ */
9314
+ small?: boolean;
9315
+ /**
9316
+ * Displays the loading indicator in a large size
9317
+ */
9318
+ large?: boolean;
9319
+ /**
9320
+ * Displays the loading indicator in a white variant
9321
+ */
9322
+ inverse?: boolean;
9323
+ }
9324
+
9331
9325
  /**
9332
9326
  * Menu component to render a series of buttons. Csan render nested submenus.
9333
9327
  *
@@ -9345,7 +9339,7 @@ export declare enum BentoLoadingIndicatorEvent {
9345
9339
  * />
9346
9340
  * }
9347
9341
  */
9348
- export declare const BentoMenu: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoMenuProps>, {
9342
+ export declare const BentoMenu: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
9349
9343
  button: () => BentoMenuButtonProps;
9350
9344
  closeMenuOnItemSelect: boolean;
9351
9345
  disableArrowDownOpeningMenu: boolean;
@@ -9368,7 +9362,7 @@ open: () => void;
9368
9362
  "menu-item-click": () => void;
9369
9363
  } & {
9370
9364
  "click-outside": () => void;
9371
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoMenuProps>, {
9365
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
9372
9366
  button: () => BentoMenuButtonProps;
9373
9367
  closeMenuOnItemSelect: boolean;
9374
9368
  disableArrowDownOpeningMenu: boolean;
@@ -9484,7 +9478,7 @@ export declare interface BentoMenuProps {
9484
9478
  /**
9485
9479
  * The data to be displayed in the list
9486
9480
  */
9487
- data: BentoMenuItem[];
9481
+ data: Array<BentoMenuItem>;
9488
9482
  /**
9489
9483
  * Disables opening the menu when the down arrow key is pressed.
9490
9484
  */
@@ -9535,7 +9529,7 @@ declare interface BentoMenuProps_2 {
9535
9529
  /**
9536
9530
  * The data to be displayed in the list
9537
9531
  */
9538
- data: BentoMenuItem_2[];
9532
+ data: Array<BentoMenuItem_2>;
9539
9533
  /**
9540
9534
  * Disables opening the menu when the down arrow key is pressed.
9541
9535
  */
@@ -9593,7 +9587,7 @@ declare interface BentoMenuProps_2 {
9593
9587
  * `
9594
9588
  * };
9595
9589
  */
9596
- export declare const BentoModal: __VLS_WithTemplateSlots_26<DefineComponent< {
9590
+ export declare const BentoModal: __VLS_WithTemplateSlots_27<DefineComponent< {
9597
9591
  /**
9598
9592
  * List of actions that will be used to render the buttons.
9599
9593
  * First element in the list will be rendered as "primary".
@@ -9931,7 +9925,7 @@ export declare enum BentoModalEvent {
9931
9925
  * `
9932
9926
  * }
9933
9927
  */
9934
- export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_28<DefineComponent< {
9928
+ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_29<DefineComponent< {
9935
9929
  /**
9936
9930
  * List of actions that will be used to render the buttons.
9937
9931
  * First element in the list will be rendered as "primary".
@@ -10073,7 +10067,7 @@ contextualLabel: string;
10073
10067
  * `
10074
10068
  * }
10075
10069
  */
10076
- export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_29<DefineComponent< {
10070
+ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_30<DefineComponent< {
10077
10071
  /**
10078
10072
  * List of actions that will be used to render the buttons.
10079
10073
  * First element in the list will be rendered as "primary".
@@ -10215,7 +10209,7 @@ contextualLabel: string;
10215
10209
  * `
10216
10210
  * }
10217
10211
  */
10218
- export declare const BentoModalPage: __VLS_WithTemplateSlots_27<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoModalPageProps>, {
10212
+ export declare const BentoModalPage: __VLS_WithTemplateSlots_28<DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
10219
10213
  actions: any;
10220
10214
  actionsLabel: any;
10221
10215
  columnsSize: BentoModalColumnLayoutVariant;
@@ -10224,7 +10218,7 @@ destructiveActions: boolean;
10224
10218
  withColumnLayout: boolean;
10225
10219
  pageId: any;
10226
10220
  previousPage: any;
10227
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoModalPageProps>, {
10221
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
10228
10222
  actions: any;
10229
10223
  actionsLabel: any;
10230
10224
  columnsSize: BentoModalColumnLayoutVariant;
@@ -10372,7 +10366,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
10372
10366
  * `,
10373
10367
  * }
10374
10368
  */
10375
- export declare const BentoPagination: __VLS_WithTemplateSlots_30<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPaginationProps>, {
10369
+ export declare const BentoPagination: __VLS_WithTemplateSlots_31<DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
10376
10370
  ariaLabel: any;
10377
10371
  hasNext: any;
10378
10372
  hidePageSize: boolean;
@@ -10388,7 +10382,7 @@ navigate: (page: number, items?: number) => void;
10388
10382
  "update:page": (page: number) => void;
10389
10383
  } & {
10390
10384
  "update:size": (size: number) => void;
10391
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPaginationProps>, {
10385
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
10392
10386
  ariaLabel: any;
10393
10387
  hasNext: any;
10394
10388
  hidePageSize: boolean;
@@ -10454,10 +10448,10 @@ export declare interface BentoPaginationProps {
10454
10448
  * `
10455
10449
  * }
10456
10450
  */
10457
- export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPaymentMethodProps>, {
10451
+ export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
10458
10452
  type: string;
10459
10453
  small: boolean;
10460
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPaymentMethodProps>, {
10454
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
10461
10455
  type: string;
10462
10456
  small: boolean;
10463
10457
  }>>>, {
@@ -10469,7 +10463,7 @@ export declare type BentoPaymentMethodListboxOptionItem = OmitStrict<BentoListbo
10469
10463
  value: string;
10470
10464
  };
10471
10465
 
10472
- export declare type BentoPaymentMethodListboxOptions = BentoPaymentMethodListboxOptionItem[];
10466
+ export declare type BentoPaymentMethodListboxOptions = Array<BentoPaymentMethodListboxOptionItem>;
10473
10467
 
10474
10468
  export declare interface BentoPaymentMethodProps {
10475
10469
  /**
@@ -11649,7 +11643,7 @@ export declare enum BentoPaymentMethodType {
11649
11643
  * `
11650
11644
  * }
11651
11645
  */
11652
- export declare const BentoPopover: __VLS_WithTemplateSlots_31<DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoPopoverProps>, {
11646
+ export declare const BentoPopover: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
11653
11647
  actions: any;
11654
11648
  actionsLayout: string;
11655
11649
  ariaLabel: any;
@@ -11673,7 +11667,7 @@ overflowVisible: boolean;
11673
11667
  dismiss: () => void;
11674
11668
  } & {
11675
11669
  placement: (placement: Placement) => void;
11676
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoPopoverProps>, {
11670
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
11677
11671
  actions: any;
11678
11672
  actionsLayout: string;
11679
11673
  ariaLabel: any;
@@ -11701,7 +11695,7 @@ open: boolean;
11701
11695
  position: BentoPopoverPositions | `${BentoPopoverPositions}`;
11702
11696
  trapAll: boolean;
11703
11697
  trapAllOptions: any;
11704
- fallbackPosition: Placement[];
11698
+ fallbackPosition: Array<Placement>;
11705
11699
  fixedPositioning: boolean;
11706
11700
  ariaLabel: string;
11707
11701
  actions: BentoButtonActionsList_2;
@@ -11710,7 +11704,7 @@ divider: boolean;
11710
11704
  disableFocusTrap: boolean;
11711
11705
  dismissible: boolean;
11712
11706
  fitContent: boolean;
11713
- modifiers: unknown[];
11707
+ modifiers: Array<unknown>;
11714
11708
  withoutSpace: boolean;
11715
11709
  overflowVisible: boolean;
11716
11710
  }>, {
@@ -11808,7 +11802,7 @@ export declare interface BentoPopoverProps {
11808
11802
  * Useful when not using auto as starting placement.
11809
11803
  * https://floating-ui.com/docs/flip#fallbackplacements
11810
11804
  */
11811
- fallbackPosition?: Placement[];
11805
+ fallbackPosition?: Array<Placement>;
11812
11806
  /**
11813
11807
  * Sets the size of the container to fit its content
11814
11808
  */
@@ -11831,7 +11825,7 @@ export declare interface BentoPopoverProps {
11831
11825
  * @deprecated
11832
11826
  * NOTE: This property no longer functions since moving to the floating-ui framework.
11833
11827
  */
11834
- modifiers?: unknown[];
11828
+ modifiers?: Array<unknown>;
11835
11829
  /**
11836
11830
  * Popover's position relative to the target element.
11837
11831
  * Possible values are:
@@ -11892,7 +11886,7 @@ export declare interface BentoPopoverProps {
11892
11886
  * `
11893
11887
  * };
11894
11888
  */
11895
- export declare const BentoPromoBanner: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoPromoBannerProps>, {
11889
+ export declare const BentoPromoBanner: __VLS_WithTemplateSlots_33<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
11896
11890
  actions: any;
11897
11891
  color: BentoPromoBannerColor;
11898
11892
  isDismissible: boolean;
@@ -11900,7 +11894,7 @@ dismissButtonText: any;
11900
11894
  layout: BentoPromoBannerLayout;
11901
11895
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11902
11896
  dismiss: () => void;
11903
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoPromoBannerProps>, {
11897
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
11904
11898
  actions: any;
11905
11899
  color: BentoPromoBannerColor;
11906
11900
  isDismissible: boolean;
@@ -11909,7 +11903,7 @@ layout: BentoPromoBannerLayout;
11909
11903
  }>>>, {
11910
11904
  color: `${BentoPromoBannerColor}`;
11911
11905
  layout: `${BentoPromoBannerLayout}`;
11912
- actions: BentoPromoBannerAction[];
11906
+ actions: Array<BentoPromoBannerAction>;
11913
11907
  isDismissible: boolean;
11914
11908
  dismissButtonText: string;
11915
11909
  }>, {
@@ -11966,7 +11960,7 @@ export declare interface BentoPromoBannerProps {
11966
11960
  * }]
11967
11961
  * ```
11968
11962
  */
11969
- actions?: BentoPromoBannerAction[];
11963
+ actions?: Array<BentoPromoBannerAction>;
11970
11964
  /**
11971
11965
  * Defines the color of banner's background
11972
11966
  */
@@ -12039,66 +12033,7 @@ export declare interface BentoPromoBannerProps {
12039
12033
  * }
12040
12034
  * }
12041
12035
  */
12042
- export declare const BentoRadioButton: __VLS_WithTemplateSlots_34<DefineComponent< {
12043
- /**
12044
- * Disable the radio button (optional)
12045
- */
12046
- disabled: {
12047
- type: BooleanConstructor;
12048
- default: boolean;
12049
- };
12050
- /**
12051
- * Shows bento-radio-button in error state (optional)
12052
- */
12053
- hasError: {
12054
- type: BooleanConstructor;
12055
- default: boolean;
12056
- };
12057
- /**
12058
- * This property should not be used directly.
12059
- * It will be used by v-model directive on radio component.
12060
- */
12061
- modelValue: {
12062
- type: PropType<BentoRadioButtonValue>;
12063
- default: any;
12064
- };
12065
- /**
12066
- * Sets the radio button to readonly (optional)
12067
- */
12068
- readonly: {
12069
- type: BooleanConstructor;
12070
- default: boolean;
12071
- };
12072
- /**
12073
- * Sets the properties of the BentoTag component that is placed next to the label.
12074
- * {@see BentoTag}
12075
- */
12076
- tag: {
12077
- type: PropType<BentoRadioButtonTag>;
12078
- default: any;
12079
- };
12080
- /**
12081
- * Indicates the value of the input that will be returned when it's checked
12082
- */
12083
- value: {
12084
- type: PropType<BentoRadioButtonValue>;
12085
- required: true;
12086
- };
12087
- /**
12088
- * Sets the name of the radio input.
12089
- * Used for differentiating radio groups or accessing input via form submission.
12090
- */
12091
- name: {
12092
- type: StringConstructor;
12093
- default: any;
12094
- };
12095
- }, {
12096
- focus: () => void;
12097
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12098
- input: (value: BentoRadioButtonValue) => void;
12099
- } & {
12100
- "update:model-value": (value: BentoRadioButtonValue) => void;
12101
- }, string, Readonly<ExtractPropTypes< {
12036
+ export declare const BentoRadioButton: __VLS_WithTemplateSlots_35<DefineComponent< {
12102
12037
  /**
12103
12038
  * Disable the radio button (optional)
12104
12039
  */
@@ -12151,274 +12086,153 @@ name: {
12151
12086
  type: StringConstructor;
12152
12087
  default: any;
12153
12088
  };
12154
- }>>, {
12155
- name: string;
12156
- disabled: boolean;
12157
- tag: any;
12158
- readonly: boolean;
12159
- hasError: boolean;
12160
- modelValue: BentoRadioButtonValue;
12161
- }>, {
12162
- default: (_: {}) => any;
12163
- description: (_: {}) => any;
12164
- content: (_: {}) => any;
12165
- }>;
12166
-
12167
- export declare enum BentoRadioButtonStateClass {
12168
- DISABLED = "disabled",
12169
- READONLY = "readonly",
12170
- ERROR = "error"
12171
- }
12172
-
12173
- export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
12174
-
12175
- export declare type BentoRadioButtonValue = string | number;
12176
-
12177
- /**
12178
- * A radio group component should be used whenever it is necessary to use a set of radio buttons
12179
- * This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
12180
- *
12181
- * import { BentoRadioGroup } from '@adyen/bento-vue2/';
12182
- *
12183
- * export default {
12184
- * components: { BentoRadioGroup },
12185
- * template: `
12186
- * <bento-radio-group
12187
- * label="Your group label"
12188
- * :items="[
12189
- * { value: 1, label: 'Your label' },
12190
- * { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
12191
- * ]"
12192
- * variant="horizontal"
12193
- * />
12194
- * `
12195
- * };
12196
- */
12197
- export declare const BentoRadioGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
12198
- /**
12199
- * Descriptive supporting text visbile underneath the label.
12200
- */
12201
- description: {
12202
- type: StringConstructor;
12203
- default: any;
12204
- };
12205
- /**
12206
- * If set to true, renders all bento-radio-buttons in the group in a disabled state.
12207
- */
12208
- disabled: {
12209
- type: BooleanConstructor;
12210
- default: boolean;
12211
- };
12212
- /**
12213
- * If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
12214
- */
12215
- errorMessage: {
12216
- type: StringConstructor;
12217
- default: any;
12218
- };
12219
- /**
12220
- * The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
12221
- */
12222
- formId: {
12223
- type: StringConstructor;
12224
- default: any;
12225
- };
12226
- /**
12227
- * If set to true, renders all bento-radio-buttons in the group in an error state.
12228
- *
12229
- * @deprecated Use "errorMessage" prop instead
12230
- */
12231
- hasError: {
12232
- type: BooleanConstructor;
12233
- default: boolean;
12234
- };
12235
- /**
12236
- * Shows/hides the group label.
12237
- */
12238
- hideLabel: {
12239
- type: BooleanConstructor;
12240
- default: any;
12241
- };
12242
- /**
12243
- * The radio group's items.
12244
- */
12245
- items: {
12246
- type: PropType<BentoRadioGroupItems>;
12247
- required: true;
12248
- };
12249
- /**
12250
- * The name associated with the group. Required for accessibility purposes.
12251
- */
12252
- label: {
12253
- type: StringConstructor;
12254
- required: true;
12255
- };
12256
- /**
12257
- * Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
12258
- * Defaults to no value selected.
12259
- */
12260
- modelValue: {
12261
- type: PropType<BentoRadioGroupValue>;
12262
- default: any;
12263
- };
12264
- /**
12265
- * Indicates the field is optional.
12266
- */
12267
- optional: {
12268
- type: BooleanConstructor;
12269
- default: boolean;
12270
- };
12271
- /**
12272
- * If set to true, renders all bento-radio-button in the group in a readonly state.
12273
- */
12274
- readonly: {
12275
- type: BooleanConstructor;
12276
- default: boolean;
12277
- };
12278
- /**
12279
- * Indicates the field is required.
12280
- */
12281
- required: {
12282
- type: BooleanConstructor;
12283
- default: boolean;
12284
- };
12285
- /**
12286
- * Tooltip message.
12287
- */
12288
- tooltipText: {
12289
- type: StringConstructor;
12290
- default: any;
12291
- };
12292
- /**
12293
- * The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
12294
- */
12295
- variant: {
12296
- type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
12297
- default: BentoRadioGroupVariant;
12298
- validator: (value: BentoRadioGroupVariant) => boolean;
12299
- };
12300
12089
  }, {
12301
12090
  focus: () => void;
12302
12091
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12303
12092
  input: (value: BentoRadioButtonValue) => void;
12304
12093
  } & {
12305
12094
  "update:model-value": (value: BentoRadioButtonValue) => void;
12306
- }, string, Readonly<ExtractPropTypes< {
12307
- /**
12308
- * Descriptive supporting text visbile underneath the label.
12309
- */
12310
- description: {
12311
- type: StringConstructor;
12312
- default: any;
12313
- };
12314
- /**
12315
- * If set to true, renders all bento-radio-buttons in the group in a disabled state.
12316
- */
12317
- disabled: {
12318
- type: BooleanConstructor;
12319
- default: boolean;
12320
- };
12321
- /**
12322
- * If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
12323
- */
12324
- errorMessage: {
12325
- type: StringConstructor;
12326
- default: any;
12327
- };
12328
- /**
12329
- * The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
12330
- */
12331
- formId: {
12332
- type: StringConstructor;
12333
- default: any;
12334
- };
12335
- /**
12336
- * If set to true, renders all bento-radio-buttons in the group in an error state.
12337
- *
12338
- * @deprecated Use "errorMessage" prop instead
12339
- */
12340
- hasError: {
12341
- type: BooleanConstructor;
12342
- default: boolean;
12343
- };
12344
- /**
12345
- * Shows/hides the group label.
12346
- */
12347
- hideLabel: {
12348
- type: BooleanConstructor;
12349
- default: any;
12350
- };
12095
+ }, string, Readonly<ExtractPropTypes< {
12351
12096
  /**
12352
- * The radio group's items.
12097
+ * Disable the radio button (optional)
12353
12098
  */
12354
- items: {
12355
- type: PropType<BentoRadioGroupItems>;
12356
- required: true;
12099
+ disabled: {
12100
+ type: BooleanConstructor;
12101
+ default: boolean;
12357
12102
  };
12358
12103
  /**
12359
- * The name associated with the group. Required for accessibility purposes.
12104
+ * Shows bento-radio-button in error state (optional)
12360
12105
  */
12361
- label: {
12362
- type: StringConstructor;
12363
- required: true;
12106
+ hasError: {
12107
+ type: BooleanConstructor;
12108
+ default: boolean;
12364
12109
  };
12365
12110
  /**
12366
- * Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
12367
- * Defaults to no value selected.
12111
+ * This property should not be used directly.
12112
+ * It will be used by v-model directive on radio component.
12368
12113
  */
12369
12114
  modelValue: {
12370
- type: PropType<BentoRadioGroupValue>;
12115
+ type: PropType<BentoRadioButtonValue>;
12371
12116
  default: any;
12372
12117
  };
12373
12118
  /**
12374
- * Indicates the field is optional.
12119
+ * Sets the radio button to readonly (optional)
12375
12120
  */
12376
- optional: {
12121
+ readonly: {
12377
12122
  type: BooleanConstructor;
12378
12123
  default: boolean;
12379
12124
  };
12380
12125
  /**
12381
- * If set to true, renders all bento-radio-button in the group in a readonly state.
12126
+ * Sets the properties of the BentoTag component that is placed next to the label.
12127
+ * {@see BentoTag}
12382
12128
  */
12383
- readonly: {
12384
- type: BooleanConstructor;
12385
- default: boolean;
12129
+ tag: {
12130
+ type: PropType<BentoRadioButtonTag>;
12131
+ default: any;
12386
12132
  };
12387
12133
  /**
12388
- * Indicates the field is required.
12134
+ * Indicates the value of the input that will be returned when it's checked
12389
12135
  */
12390
- required: {
12391
- type: BooleanConstructor;
12392
- default: boolean;
12136
+ value: {
12137
+ type: PropType<BentoRadioButtonValue>;
12138
+ required: true;
12393
12139
  };
12394
12140
  /**
12395
- * Tooltip message.
12141
+ * Sets the name of the radio input.
12142
+ * Used for differentiating radio groups or accessing input via form submission.
12396
12143
  */
12397
- tooltipText: {
12144
+ name: {
12398
12145
  type: StringConstructor;
12399
12146
  default: any;
12400
12147
  };
12401
- /**
12402
- * The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
12403
- */
12404
- variant: {
12405
- type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
12406
- default: BentoRadioGroupVariant;
12407
- validator: (value: BentoRadioGroupVariant) => boolean;
12408
- };
12409
12148
  }>>, {
12149
+ name: string;
12150
+ disabled: boolean;
12151
+ tag: any;
12152
+ readonly: boolean;
12153
+ hasError: boolean;
12154
+ modelValue: BentoRadioButtonValue;
12155
+ }>, {
12156
+ default: (_: {}) => any;
12157
+ description: (_: {}) => any;
12158
+ content: (_: {}) => any;
12159
+ }>;
12160
+
12161
+ export declare enum BentoRadioButtonStateClass {
12162
+ DISABLED = "disabled",
12163
+ READONLY = "readonly",
12164
+ ERROR = "error"
12165
+ }
12166
+
12167
+ export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
12168
+
12169
+ export declare type BentoRadioButtonValue = string | number;
12170
+
12171
+ /**
12172
+ * A radio group component should be used whenever it is necessary to use a set of radio buttons
12173
+ * This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
12174
+ *
12175
+ * import { BentoRadioGroup } from '@adyen/bento-vue2/';
12176
+ *
12177
+ * export default {
12178
+ * components: { BentoRadioGroup },
12179
+ * template: `
12180
+ * <bento-radio-group
12181
+ * label="Your group label"
12182
+ * :items="[
12183
+ * { value: 1, label: 'Your label' },
12184
+ * { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
12185
+ * ]"
12186
+ * variant="horizontal"
12187
+ * />
12188
+ * `
12189
+ * };
12190
+ */
12191
+ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_34<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
12192
+ description: any;
12193
+ disabled: boolean;
12194
+ errorMessage: any;
12195
+ formId: any;
12196
+ hasError: boolean;
12197
+ hideLabel: any;
12198
+ modelValue: any;
12199
+ optional: boolean;
12200
+ readonly: boolean;
12201
+ required: boolean;
12202
+ tooltipText: any;
12203
+ variant: BentoRadioGroupVariant;
12204
+ }>, {
12205
+ focus: () => void;
12206
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12207
+ input: (value: BentoRadioButtonValue) => void;
12208
+ } & {
12209
+ "update:model-value": (value: BentoRadioButtonValue) => void;
12210
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
12211
+ description: any;
12212
+ disabled: boolean;
12213
+ errorMessage: any;
12214
+ formId: any;
12215
+ hasError: boolean;
12216
+ hideLabel: any;
12217
+ modelValue: any;
12218
+ optional: boolean;
12219
+ readonly: boolean;
12220
+ required: boolean;
12221
+ tooltipText: any;
12222
+ variant: BentoRadioGroupVariant;
12223
+ }>>>, {
12410
12224
  description: string;
12411
- variant: "horizontal" | "vertical" | BentoRadioGroupVariant;
12225
+ variant: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
12412
12226
  required: boolean;
12413
12227
  disabled: boolean;
12414
12228
  optional: boolean;
12415
12229
  readonly: boolean;
12416
- tooltipText: string;
12417
- hideLabel: boolean;
12418
- errorMessage: string;
12419
12230
  hasError: boolean;
12420
- modelValue: BentoRadioButtonValue;
12421
- formId: string;
12231
+ modelValue: BentoRadioGroupValue | null;
12232
+ errorMessage: string;
12233
+ tooltipText: string;
12234
+ hideLabel: boolean | null;
12235
+ formId: string | null;
12422
12236
  }>, {
12423
12237
  content: (_: {}) => any;
12424
12238
  description: (_: {}) => any;
@@ -12436,6 +12250,46 @@ export declare interface BentoRadioGroupItem {
12436
12250
 
12437
12251
  export declare type BentoRadioGroupItems = Array<BentoRadioGroupItem>;
12438
12252
 
12253
+ export declare interface BentoRadioGroupProps extends FormField {
12254
+ /**
12255
+ * The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
12256
+ * @default null
12257
+ */
12258
+ formId?: string | null;
12259
+ /**
12260
+ * If set to true, renders all bento-radio-buttons in the group in an error state.
12261
+ * @deprecated Use "errorMessage" prop instead
12262
+ * @default false
12263
+ */
12264
+ hasError?: boolean;
12265
+ /**
12266
+ * Shows/hides the group label.
12267
+ * @default null
12268
+ */
12269
+ hideLabel?: boolean | null;
12270
+ /**
12271
+ * The radio group's items.
12272
+ * Required.
12273
+ */
12274
+ items: BentoRadioGroupItems;
12275
+ /**
12276
+ * The name associated with the group. Required for accessibility purposes.
12277
+ * Required.
12278
+ */
12279
+ label: string;
12280
+ /**
12281
+ * Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
12282
+ * Defaults to no value selected.
12283
+ * @default null
12284
+ */
12285
+ modelValue?: BentoRadioGroupValue | null;
12286
+ /**
12287
+ * The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
12288
+ * @default BentoRadioGroupVariant.VERTICAL
12289
+ */
12290
+ variant?: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
12291
+ }
12292
+
12439
12293
  export declare type BentoRadioGroupValue = BentoRadioButtonValue;
12440
12294
 
12441
12295
  /**
@@ -12470,7 +12324,7 @@ export declare type BentoRangeFilterOptions = {
12470
12324
  * `
12471
12325
  * }
12472
12326
  */
12473
- export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoRichTextEditorProps>, {
12327
+ export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
12474
12328
  description: any;
12475
12329
  disabled: boolean;
12476
12330
  errorMessage: any;
@@ -12482,7 +12336,7 @@ tooltipText: any;
12482
12336
  value: any;
12483
12337
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12484
12338
  input: (value: string) => void;
12485
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoRichTextEditorProps>, {
12339
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
12486
12340
  description: any;
12487
12341
  disabled: boolean;
12488
12342
  errorMessage: any;
@@ -12498,9 +12352,9 @@ description: string;
12498
12352
  label: string;
12499
12353
  required: boolean;
12500
12354
  disabled: boolean;
12355
+ errorMessage: string;
12501
12356
  tooltipText: string;
12502
12357
  hideLabel: boolean;
12503
- errorMessage: string;
12504
12358
  mode: BentoRichTextEditorMode;
12505
12359
  }>;
12506
12360
 
@@ -12594,7 +12448,7 @@ export declare interface BentoRichTextEditorProps {
12594
12448
  * }
12595
12449
  * }
12596
12450
  */
12597
- export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoSearchBarProps>, {
12451
+ export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
12598
12452
  condensed: boolean;
12599
12453
  debounceTime: number;
12600
12454
  disabled: boolean;
@@ -12616,7 +12470,7 @@ clear: () => void;
12616
12470
  blur: () => void;
12617
12471
  } & {
12618
12472
  focus: () => void;
12619
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoSearchBarProps>, {
12473
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
12620
12474
  condensed: boolean;
12621
12475
  debounceTime: number;
12622
12476
  disabled: boolean;
@@ -12705,7 +12559,7 @@ export declare interface BentoSearchBarProps {
12705
12559
  * }
12706
12560
  * }
12707
12561
  */
12708
- export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_41<{
12562
+ export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_47<{
12709
12563
  /**
12710
12564
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
12711
12565
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -12718,7 +12572,7 @@ items: BentoSecondaryNavItems;
12718
12572
  value?: string;
12719
12573
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12720
12574
  change: (category: string) => void;
12721
- }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_41<{
12575
+ }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_47<{
12722
12576
  /**
12723
12577
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
12724
12578
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -12735,7 +12589,7 @@ export declare type BentoSecondaryNavItems = Array<BentoSecondaryNavItemsItem |
12735
12589
 
12736
12590
  export declare interface BentoSecondaryNavItemsCategory {
12737
12591
  label: string;
12738
- items: BentoSecondaryNavItemsItem[];
12592
+ items: Array<BentoSecondaryNavItemsItem>;
12739
12593
  }
12740
12594
 
12741
12595
  export declare interface BentoSecondaryNavItemsItem {
@@ -12763,7 +12617,7 @@ export declare interface BentoSecondaryNavState {
12763
12617
  * `
12764
12618
  * }
12765
12619
  */
12766
- export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_42<BentoSegmentedControlProps>, {
12620
+ export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
12767
12621
  ariaLabel: any;
12768
12622
  fullWidth: boolean;
12769
12623
  wrap: boolean;
@@ -12772,7 +12626,7 @@ modelValue: any;
12772
12626
  "update:model-value": (value: any) => void;
12773
12627
  } & {
12774
12628
  input: (value: BentoSegmentedControlValue) => void;
12775
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_42<BentoSegmentedControlProps>, {
12629
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
12776
12630
  ariaLabel: any;
12777
12631
  fullWidth: boolean;
12778
12632
  wrap: boolean;
@@ -12810,7 +12664,7 @@ export declare interface BentoSegmentedControlProps {
12810
12664
  /**
12811
12665
  * Items that will populate the segmented control.
12812
12666
  */
12813
- items: BentoSegmentedControlItem[];
12667
+ items: Array<BentoSegmentedControlItem>;
12814
12668
  /**
12815
12669
  * Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
12816
12670
  */
@@ -12872,6 +12726,10 @@ export declare interface BentoSelectFilterOptions {
12872
12726
  * when the select filter has all items selected.
12873
12727
  */
12874
12728
  messagesPersistentButtonLabelAllSelectedKey?: string;
12729
+ /**
12730
+ * The event fire when the filter is opened.
12731
+ */
12732
+ onOpen?: () => void;
12875
12733
  lazy?: {
12876
12734
  /**
12877
12735
  * Indicates whether there are more items to load
@@ -12936,6 +12794,11 @@ export declare interface BentoSelectFilterOptions {
12936
12794
  * @default false
12937
12795
  */
12938
12796
  enableValueLabelPair?: boolean;
12797
+ /**
12798
+ * Enables a search bar that dynamically filters values
12799
+ * @default true
12800
+ */
12801
+ dynamicFiltering?: boolean;
12939
12802
  }
12940
12803
 
12941
12804
  export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
@@ -12958,7 +12821,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
12958
12821
  * `
12959
12822
  * }
12960
12823
  */
12961
- export declare const BentoSelectionCard: __VLS_WithTemplateSlots_35<DefineComponent< {
12824
+ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_36<DefineComponent< {
12962
12825
  /**
12963
12826
  * The description of the selection card
12964
12827
  */
@@ -13151,7 +13014,7 @@ fullyClickable: boolean;
13151
13014
  * `,
13152
13015
  * }
13153
13016
  */
13154
- export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_36<DefineComponent< {
13017
+ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_37<DefineComponent< {
13155
13018
  /**
13156
13019
  * Descriptive supporting text visbile underneath the label.
13157
13020
  */
@@ -13206,7 +13069,7 @@ default: string;
13206
13069
  * The selection card group's items.
13207
13070
  */
13208
13071
  items: {
13209
- type: PropType<BentoSelectionCardItem[]>;
13072
+ type: PropType<Array<BentoSelectionCardItem>>;
13210
13073
  required: true;
13211
13074
  };
13212
13075
  /**
@@ -13319,7 +13182,7 @@ default: string;
13319
13182
  * The selection card group's items.
13320
13183
  */
13321
13184
  items: {
13322
- type: PropType<BentoSelectionCardItem[]>;
13185
+ type: PropType<Array<BentoSelectionCardItem>>;
13323
13186
  required: true;
13324
13187
  };
13325
13188
  /**
@@ -13381,10 +13244,10 @@ disabled: boolean;
13381
13244
  optional: boolean;
13382
13245
  readonly: boolean;
13383
13246
  layout: BentoSelectionCardGroupLayout;
13247
+ modelValue: BentoSelectionCardModelValue;
13248
+ errorMessage: string;
13384
13249
  tooltipText: string;
13385
13250
  hideLabel: boolean;
13386
- errorMessage: string;
13387
- modelValue: BentoSelectionCardModelValue;
13388
13251
  formId: string;
13389
13252
  itemsPerRow: GridLayoutColumnWidth;
13390
13253
  }>, {
@@ -13467,7 +13330,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
13467
13330
  * `
13468
13331
  * }
13469
13332
  */
13470
- export declare const BentoSidepanel: __VLS_WithTemplateSlots_38<DefineComponent< {
13333
+ export declare const BentoSidepanel: __VLS_WithTemplateSlots_39<DefineComponent< {
13471
13334
  /**
13472
13335
  * The id of the current active page
13473
13336
  * Should be the same id as the BentoSidepanelPage to be displayed
@@ -13595,7 +13458,7 @@ export declare enum BentoSidepanelEvent {
13595
13458
  * `
13596
13459
  * }
13597
13460
  */
13598
- export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_37<DefineComponent< {
13461
+ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_38<DefineComponent< {
13599
13462
  /**
13600
13463
  * List of actions that will be used to render the buttons.
13601
13464
  * First element in the list will be rendered as "primary".
@@ -13738,7 +13601,7 @@ destructiveActions: boolean;
13738
13601
  * `
13739
13602
  * }
13740
13603
  */
13741
- export declare const BentoStatus: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_TypePropsToRuntimeProps_43<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_43<BentoStatusProps>>>, {}>, {
13604
+ export declare const BentoStatus: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>>>, {}>, {
13742
13605
  default: (_: {}) => any;
13743
13606
  }>;
13744
13607
 
@@ -13783,7 +13646,7 @@ export declare enum BentoStatusVariant {
13783
13646
  * `
13784
13647
  * }
13785
13648
  */
13786
- export declare const BentoStep: __VLS_WithTemplateSlots_41<DefineComponent< {
13649
+ export declare const BentoStep: __VLS_WithTemplateSlots_42<DefineComponent< {
13787
13650
  /**
13788
13651
  * Completed status. Used on non-linear steppers to indicate if the step is completed.
13789
13652
  */
@@ -13840,7 +13703,7 @@ substepIndex: number;
13840
13703
  * `
13841
13704
  * }
13842
13705
  */
13843
- export declare const BentoStepper: __VLS_WithTemplateSlots_40<DefineComponent< {
13706
+ export declare const BentoStepper: __VLS_WithTemplateSlots_41<DefineComponent< {
13844
13707
  /**
13845
13708
  * Type of stepper; defines how the stepper should behave. Default: linear
13846
13709
  * @values linear, non-linear
@@ -13903,7 +13766,7 @@ export declare type BentoStepperState = Ref<{
13903
13766
  latestActiveStep: number;
13904
13767
  type: `${BentoStepperTypeOption}`;
13905
13768
  variant: `${BentoStepperVariantOption}`;
13906
- steps: HTMLElement[];
13769
+ steps: Array<HTMLElement>;
13907
13770
  isParentStep?: boolean;
13908
13771
  navigateToStep: (index: number) => void;
13909
13772
  registerStep: (stepState: BentoStepperStepExposeState) => void;
@@ -13912,7 +13775,7 @@ export declare type BentoStepperState = Ref<{
13912
13775
 
13913
13776
  export declare interface BentoStepperStepExposeState {
13914
13777
  buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;
13915
- substeps: BentoStepperStepExposeState[] | Ref<BentoStepperStepExposeState[]>;
13778
+ substeps: Array<BentoStepperStepExposeState> | Ref<Array<BentoStepperStepExposeState>>;
13916
13779
  stepContent: string | ComputedRef<string>;
13917
13780
  }
13918
13781
 
@@ -13954,7 +13817,7 @@ declare interface BentoStickyTabsOptions {
13954
13817
  * `
13955
13818
  * }
13956
13819
  */
13957
- export declare const BentoStructuredList: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
13820
+ export declare const BentoStructuredList: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
13958
13821
  /**
13959
13822
  * Width of the labels container, in pixels. Overrides layout prop.
13960
13823
  */
@@ -13978,7 +13841,7 @@ layout?: BentoStructuredListLayoutOptions;
13978
13841
  }>, {
13979
13842
  labelsWidth: any;
13980
13843
  layout: string;
13981
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
13844
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
13982
13845
  /**
13983
13846
  * Width of the labels container, in pixels. Overrides layout prop.
13984
13847
  */
@@ -14032,7 +13895,7 @@ labelsWidth: number;
14032
13895
  * `
14033
13896
  * }
14034
13897
  */
14035
- export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_TypePropsToRuntimeProps_45<{
13898
+ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_TypePropsToRuntimeProps_51<{
14036
13899
  /**
14037
13900
  * Label to display for the value
14038
13901
  */
@@ -14059,7 +13922,7 @@ searchTooltip?: string;
14059
13922
  truncate?: boolean;
14060
13923
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14061
13924
  copy: (value: string) => void;
14062
- }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_45<{
13925
+ }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_51<{
14063
13926
  /**
14064
13927
  * Label to display for the value
14065
13928
  */
@@ -14114,10 +13977,10 @@ declare const BentoStructuredListLayoutOptions: string[];
14114
13977
  * `
14115
13978
  * }
14116
13979
  */
14117
- export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridProps>, {
13980
+ export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
14118
13981
  columnWidth: any;
14119
13982
  slashedZero: boolean;
14120
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridProps>, {
13983
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
14121
13984
  columnWidth: any;
14122
13985
  slashedZero: boolean;
14123
13986
  }>>>, {
@@ -14152,7 +14015,7 @@ export declare interface BentoSummaryGridColumnWidth {
14152
14015
  * `
14153
14016
  * }
14154
14017
  */
14155
- export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemAmountProps>, {
14018
+ export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
14156
14019
  copy: any;
14157
14020
  fitContent: boolean;
14158
14021
  infoIconTooltipText: any;
@@ -14169,7 +14032,7 @@ underlineTooltipText: any;
14169
14032
  "copy-click": (event: MouseEvent) => void;
14170
14033
  } & {
14171
14034
  "info-icon-mouseenter": (event: MouseEvent) => void;
14172
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemAmountProps>, {
14035
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
14173
14036
  copy: any;
14174
14037
  fitContent: boolean;
14175
14038
  infoIconTooltipText: any;
@@ -14229,7 +14092,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
14229
14092
  * `
14230
14093
  * }
14231
14094
  */
14232
- export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<BentoSummaryGridItemCustomProps>, {
14095
+ export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
14233
14096
  copy: any;
14234
14097
  infoIconTooltipText: any;
14235
14098
  fitContent: boolean;
@@ -14239,7 +14102,7 @@ underlineTooltipText: any;
14239
14102
  "copy-click": (event: MouseEvent) => void;
14240
14103
  } & {
14241
14104
  "info-icon-mouseenter": (event: MouseEvent) => void;
14242
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<BentoSummaryGridItemCustomProps>, {
14105
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
14243
14106
  copy: any;
14244
14107
  infoIconTooltipText: any;
14245
14108
  fitContent: boolean;
@@ -14303,7 +14166,7 @@ export declare interface BentoSummaryGridItemCustomProps {
14303
14166
  * `
14304
14167
  * }
14305
14168
  */
14306
- export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemNumericProps>, {
14169
+ export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
14307
14170
  copy: any;
14308
14171
  fitContent: boolean;
14309
14172
  infoIconTooltipText: any;
@@ -14319,7 +14182,7 @@ underlineTooltipText: any;
14319
14182
  "copy-click": (event: MouseEvent) => void;
14320
14183
  } & {
14321
14184
  "info-icon-mouseenter": (event: MouseEvent) => void;
14322
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemNumericProps>, {
14185
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
14323
14186
  copy: any;
14324
14187
  fitContent: boolean;
14325
14188
  infoIconTooltipText: any;
@@ -14378,7 +14241,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
14378
14241
  * `
14379
14242
  * }
14380
14243
  */
14381
- export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemPercentageProps>, {
14244
+ export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
14382
14245
  copy: any;
14383
14246
  fitContent: boolean;
14384
14247
  infoIconTooltipText: any;
@@ -14394,7 +14257,7 @@ underlineTooltipText: any;
14394
14257
  "copy-click": (event: MouseEvent) => void;
14395
14258
  } & {
14396
14259
  "info-icon-mouseenter": (event: MouseEvent) => void;
14397
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemPercentageProps>, {
14260
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
14398
14261
  copy: any;
14399
14262
  fitContent: boolean;
14400
14263
  infoIconTooltipText: any;
@@ -14468,7 +14331,7 @@ declare enum BentoSummaryGridItemSize_2 {
14468
14331
  * `
14469
14332
  * }
14470
14333
  */
14471
- export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoSummaryGridItemTextProps>, {
14334
+ export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
14472
14335
  copy: any;
14473
14336
  fitContent: boolean;
14474
14337
  infoIconTooltipText: any;
@@ -14478,7 +14341,7 @@ underlineTooltipText: any;
14478
14341
  "copy-click": (event: MouseEvent) => void;
14479
14342
  } & {
14480
14343
  "info-icon-mouseenter": (event: MouseEvent) => void;
14481
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoSummaryGridItemTextProps>, {
14344
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
14482
14345
  copy: any;
14483
14346
  fitContent: boolean;
14484
14347
  infoIconTooltipText: any;
@@ -14579,12 +14442,12 @@ export declare interface BentoSummaryGridProps {
14579
14442
  * </bento-tabs>
14580
14443
  * </template>
14581
14444
  */
14582
- export declare const BentoTab: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoTabProps>, {
14445
+ export declare const BentoTab: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
14583
14446
  counter: any;
14584
14447
  disabled: boolean;
14585
14448
  hidden: boolean;
14586
14449
  withNotificationIndicator: boolean;
14587
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoTabProps>, {
14450
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
14588
14451
  counter: any;
14589
14452
  disabled: boolean;
14590
14453
  hidden: boolean;
@@ -14606,7 +14469,7 @@ declare interface BentoTab_2 {
14606
14469
  disabled: Ref<boolean>;
14607
14470
  hidden: Ref<boolean>;
14608
14471
  id: string;
14609
- title: MaybeRef<string>;
14472
+ title: MaybeRef_2<string>;
14610
14473
  withNotificationIndicator: Ref<boolean>;
14611
14474
  }
14612
14475
 
@@ -14733,11 +14596,11 @@ declare enum BentoTabsEvent {
14733
14596
  ACTIVE_TAB_INDEX = "update:active-tab-index"
14734
14597
  }
14735
14598
 
14736
- export declare const BentoTag: DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoTagProps>, {
14599
+ export declare const BentoTag: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
14737
14600
  label: any;
14738
14601
  truncate: any;
14739
14602
  variant: BentoTagVariant;
14740
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoTagProps>, {
14603
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
14741
14604
  label: any;
14742
14605
  truncate: any;
14743
14606
  variant: BentoTagVariant;
@@ -14751,7 +14614,7 @@ export declare type BentoTagListboxOptionItem = OmitStrict<BentoListboxOptionIte
14751
14614
  variant: BentoTagVariant | `${BentoTagVariant}`;
14752
14615
  };
14753
14616
 
14754
- export declare type BentoTagListboxOptions = BentoTagListboxOptionItem[];
14617
+ export declare type BentoTagListboxOptions = Array<BentoTagListboxOptionItem>;
14755
14618
 
14756
14619
  export declare interface BentoTagProps {
14757
14620
  /**
@@ -14811,114 +14674,23 @@ declare interface BentoTeleportProps_2 {
14811
14674
  // NOTE: "where" is not added as it doesn't exist in Vue3
14812
14675
  }
14813
14676
 
14814
- export declare const BentoTextarea: DefineComponent< {
14815
- /**
14816
- * Text that labels an the input element
14817
- */
14818
- ariaLabel: {
14819
- type: StringConstructor;
14820
- default: any;
14821
- };
14822
- /**
14823
- * Text that shows number of characters in textarea
14824
- */
14825
- characterLimit: {
14826
- type: NumberConstructor;
14827
- default: any;
14828
- };
14829
- /**
14830
- * Text displayed as the help text of the textarea
14831
- */
14832
- description: {
14833
- type: StringConstructor;
14834
- default: string;
14835
- };
14836
- /**
14837
- * Disables the possibility of changing value in the textarea
14838
- */
14839
- disabled: {
14840
- type: BooleanConstructor;
14841
- default: boolean;
14842
- };
14843
- /**
14844
- * If set to true, shows a button to clear all the text
14845
- */
14846
- clearable: {
14847
- type: BooleanConstructor;
14848
- default: boolean;
14849
- };
14850
- /**
14851
- * Adds error text
14852
- */
14853
- errorMessage: {
14854
- type: StringConstructor;
14855
- default: string;
14856
- };
14857
- /**
14858
- * Sets the height of the textarea, e.g 200px OR 20vh
14859
- */
14860
- height: {
14861
- type: StringConstructor;
14862
- default: any;
14863
- };
14864
- /**
14865
- * Text displayed as the label of the textarea
14866
- */
14867
- label: {
14868
- type: StringConstructor;
14869
- default: string;
14870
- };
14871
- /**
14872
- * Highlights the textarea is optional.
14873
- */
14874
- optional: {
14875
- type: BooleanConstructor;
14876
- default: boolean;
14877
- };
14878
- /**
14879
- * Text displayed as the placeholder of the textarea
14880
- */
14881
- placeholder: {
14882
- type: StringConstructor;
14883
- default: string;
14884
- };
14885
- /**
14886
- * Set the textarea to read only state.
14887
- */
14888
- readonly: {
14889
- type: BooleanConstructor;
14890
- default: boolean;
14891
- };
14892
- /**
14893
- * Indicates the possibility of resize the textarea
14894
- */
14895
- resizable: {
14896
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
14897
- default: BentoTextareaResizeOption;
14898
- validator: (value: BentoTextareaResizeOption) => boolean;
14899
- };
14900
- /**
14901
- * Highlights the textarea is required.
14902
- */
14903
- required: {
14904
- type: BooleanConstructor;
14905
- default: boolean;
14906
- };
14907
- /**
14908
- * Adds a info icon next to the label to display the passed tooltip message.
14909
- */
14910
- tooltipText: {
14911
- type: StringConstructor;
14912
- default: any;
14913
- };
14914
- /**
14915
- * Text displayed as the value of the textarea
14916
- */
14917
- value: {
14918
- type: StringConstructor;
14919
- default: string;
14920
- };
14921
- }, {
14677
+ export declare const BentoTextarea: DefineComponent<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
14678
+ ariaLabel: any;
14679
+ characterLimit: any;
14680
+ description: string;
14681
+ disabled: boolean;
14682
+ clearable: boolean;
14683
+ errorMessage: string;
14684
+ height: any;
14685
+ label: string;
14686
+ optional: boolean;
14687
+ placeholder: string;
14688
+ readonly: boolean;
14689
+ resizable: string;
14690
+ required: boolean;
14691
+ tooltipText: any;
14692
+ value: string;
14693
+ }>, {
14922
14694
  focus: () => void;
14923
14695
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14924
14696
  blur: () => void;
@@ -14936,114 +14708,23 @@ input: (value: string) => void;
14936
14708
  keydown: (event: KeyboardEvent) => void;
14937
14709
  } & {
14938
14710
  keyup: (event: KeyboardEvent) => void;
14939
- }, string, Readonly<ExtractPropTypes< {
14940
- /**
14941
- * Text that labels an the input element
14942
- */
14943
- ariaLabel: {
14944
- type: StringConstructor;
14945
- default: any;
14946
- };
14947
- /**
14948
- * Text that shows number of characters in textarea
14949
- */
14950
- characterLimit: {
14951
- type: NumberConstructor;
14952
- default: any;
14953
- };
14954
- /**
14955
- * Text displayed as the help text of the textarea
14956
- */
14957
- description: {
14958
- type: StringConstructor;
14959
- default: string;
14960
- };
14961
- /**
14962
- * Disables the possibility of changing value in the textarea
14963
- */
14964
- disabled: {
14965
- type: BooleanConstructor;
14966
- default: boolean;
14967
- };
14968
- /**
14969
- * If set to true, shows a button to clear all the text
14970
- */
14971
- clearable: {
14972
- type: BooleanConstructor;
14973
- default: boolean;
14974
- };
14975
- /**
14976
- * Adds error text
14977
- */
14978
- errorMessage: {
14979
- type: StringConstructor;
14980
- default: string;
14981
- };
14982
- /**
14983
- * Sets the height of the textarea, e.g 200px OR 20vh
14984
- */
14985
- height: {
14986
- type: StringConstructor;
14987
- default: any;
14988
- };
14989
- /**
14990
- * Text displayed as the label of the textarea
14991
- */
14992
- label: {
14993
- type: StringConstructor;
14994
- default: string;
14995
- };
14996
- /**
14997
- * Highlights the textarea is optional.
14998
- */
14999
- optional: {
15000
- type: BooleanConstructor;
15001
- default: boolean;
15002
- };
15003
- /**
15004
- * Text displayed as the placeholder of the textarea
15005
- */
15006
- placeholder: {
15007
- type: StringConstructor;
15008
- default: string;
15009
- };
15010
- /**
15011
- * Set the textarea to read only state.
15012
- */
15013
- readonly: {
15014
- type: BooleanConstructor;
15015
- default: boolean;
15016
- };
15017
- /**
15018
- * Indicates the possibility of resize the textarea
15019
- */
15020
- resizable: {
15021
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15022
- default: BentoTextareaResizeOption;
15023
- validator: (value: BentoTextareaResizeOption) => boolean;
15024
- };
15025
- /**
15026
- * Highlights the textarea is required.
15027
- */
15028
- required: {
15029
- type: BooleanConstructor;
15030
- default: boolean;
15031
- };
15032
- /**
15033
- * Adds a info icon next to the label to display the passed tooltip message.
15034
- */
15035
- tooltipText: {
15036
- type: StringConstructor;
15037
- default: any;
15038
- };
15039
- /**
15040
- * Text displayed as the value of the textarea
15041
- */
15042
- value: {
15043
- type: StringConstructor;
15044
- default: string;
15045
- };
15046
- }>>, {
14711
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
14712
+ ariaLabel: any;
14713
+ characterLimit: any;
14714
+ description: string;
14715
+ disabled: boolean;
14716
+ clearable: boolean;
14717
+ errorMessage: string;
14718
+ height: any;
14719
+ label: string;
14720
+ optional: boolean;
14721
+ placeholder: string;
14722
+ readonly: boolean;
14723
+ resizable: string;
14724
+ required: boolean;
14725
+ tooltipText: any;
14726
+ value: string;
14727
+ }>>>, {
15047
14728
  value: string;
15048
14729
  description: string;
15049
14730
  label: string;
@@ -15051,16 +14732,49 @@ required: boolean;
15051
14732
  disabled: boolean;
15052
14733
  optional: boolean;
15053
14734
  readonly: boolean;
15054
- height: string;
14735
+ height: string | null;
15055
14736
  ariaLabel: string;
15056
- tooltipText: string;
15057
14737
  errorMessage: string;
14738
+ tooltipText: string;
15058
14739
  characterLimit: number;
15059
14740
  placeholder: string;
15060
14741
  clearable: boolean;
15061
- resizable: "none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption;
14742
+ resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
15062
14743
  }>;
15063
14744
 
14745
+ declare interface BentoTextareaProps extends FormField {
14746
+ /**
14747
+ * Text that labels the input element
14748
+ * @default undefined
14749
+ */
14750
+ ariaLabel?: string;
14751
+ /**
14752
+ * Text that shows number of characters in textarea
14753
+ * @default undefined
14754
+ */
14755
+ characterLimit?: number;
14756
+ /**
14757
+ * If set to true, shows a button to clear all the text
14758
+ * @default false
14759
+ */
14760
+ clearable?: boolean;
14761
+ /**
14762
+ * Sets the height of the textarea, e.g 200px OR 20vh
14763
+ * @default null
14764
+ */
14765
+ height?: string | null;
14766
+ /**
14767
+ * Indicates the possibility of resize the textarea.
14768
+ * Accepts the Enum or the string literal version.
14769
+ * @default BentoTextareaResizeOption.BOTH
14770
+ */
14771
+ resizable?: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
14772
+ /**
14773
+ * Text displayed as the value of the textarea
14774
+ */
14775
+ value?: string;
14776
+ }
14777
+
15064
14778
  /**
15065
14779
  * @deprecated for usage with properties since version 2.0. Use the string literal instead.
15066
14780
  */
@@ -15153,127 +14867,155 @@ updateNoteContent: (newTimelineNoteContent: string) => void;
15153
14867
  addNoteToTimeline: () => void;
15154
14868
  showAddNoteTextArea: Ref<boolean>;
15155
14869
  addNoteTextareaRef: Ref<Vue3Instance< {}, Readonly<ExtractPropTypes< {
15156
- ariaLabel: {
15157
- type: StringConstructor;
15158
- default: any;
15159
- };
15160
- characterLimit: {
15161
- type: NumberConstructor;
15162
- default: any;
14870
+ value: {
14871
+ type: PropType<string>;
14872
+ } & {
14873
+ default: string;
15163
14874
  };
15164
14875
  description: {
15165
- type: StringConstructor;
14876
+ type: PropType<string>;
14877
+ } & {
14878
+ default: string;
14879
+ };
14880
+ label: {
14881
+ type: PropType<string>;
14882
+ } & {
15166
14883
  default: string;
15167
14884
  };
14885
+ required: {
14886
+ type: PropType<boolean>;
14887
+ } & {
14888
+ default: boolean;
14889
+ };
15168
14890
  disabled: {
15169
- type: BooleanConstructor;
14891
+ type: PropType<boolean>;
14892
+ } & {
15170
14893
  default: boolean;
15171
14894
  };
15172
- clearable: {
15173
- type: BooleanConstructor;
14895
+ optional: {
14896
+ type: PropType<boolean>;
14897
+ } & {
15174
14898
  default: boolean;
15175
14899
  };
15176
- errorMessage: {
15177
- type: StringConstructor;
15178
- default: string;
14900
+ readonly: {
14901
+ type: PropType<boolean>;
14902
+ } & {
14903
+ default: boolean;
15179
14904
  };
15180
14905
  height: {
15181
- type: StringConstructor;
14906
+ type: PropType<string>;
14907
+ } & {
15182
14908
  default: any;
15183
14909
  };
15184
- label: {
15185
- type: StringConstructor;
14910
+ ariaLabel: {
14911
+ type: PropType<string>;
14912
+ } & {
14913
+ default: any;
14914
+ };
14915
+ errorMessage: {
14916
+ type: PropType<string>;
14917
+ } & {
15186
14918
  default: string;
15187
14919
  };
15188
- optional: {
15189
- type: BooleanConstructor;
15190
- default: boolean;
14920
+ tooltipText: {
14921
+ type: PropType<string>;
14922
+ } & {
14923
+ default: any;
14924
+ };
14925
+ characterLimit: {
14926
+ type: PropType<number>;
14927
+ } & {
14928
+ default: any;
15191
14929
  };
15192
14930
  placeholder: {
15193
- type: StringConstructor;
14931
+ type: PropType<string>;
14932
+ } & {
15194
14933
  default: string;
15195
14934
  };
15196
- readonly: {
15197
- type: BooleanConstructor;
14935
+ clearable: {
14936
+ type: PropType<boolean>;
14937
+ } & {
15198
14938
  default: boolean;
15199
14939
  };
15200
14940
  resizable: {
15201
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15202
- default: BentoTextareaResizeOption;
15203
- validator: (value: BentoTextareaResizeOption) => boolean;
15204
- };
15205
- required: {
15206
- type: BooleanConstructor;
15207
- default: boolean;
15208
- };
15209
- tooltipText: {
15210
- type: StringConstructor;
15211
- default: any;
15212
- };
15213
- value: {
15214
- type: StringConstructor;
14941
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
14942
+ } & {
15215
14943
  default: string;
15216
14944
  };
15217
14945
  }>>, Readonly<ExtractPropTypes< {
15218
- ariaLabel: {
15219
- type: StringConstructor;
15220
- default: any;
15221
- };
15222
- characterLimit: {
15223
- type: NumberConstructor;
15224
- default: any;
14946
+ value: {
14947
+ type: PropType<string>;
14948
+ } & {
14949
+ default: string;
15225
14950
  };
15226
14951
  description: {
15227
- type: StringConstructor;
14952
+ type: PropType<string>;
14953
+ } & {
15228
14954
  default: string;
15229
14955
  };
14956
+ label: {
14957
+ type: PropType<string>;
14958
+ } & {
14959
+ default: string;
14960
+ };
14961
+ required: {
14962
+ type: PropType<boolean>;
14963
+ } & {
14964
+ default: boolean;
14965
+ };
15230
14966
  disabled: {
15231
- type: BooleanConstructor;
14967
+ type: PropType<boolean>;
14968
+ } & {
15232
14969
  default: boolean;
15233
14970
  };
15234
- clearable: {
15235
- type: BooleanConstructor;
14971
+ optional: {
14972
+ type: PropType<boolean>;
14973
+ } & {
14974
+ default: boolean;
14975
+ };
14976
+ readonly: {
14977
+ type: PropType<boolean>;
14978
+ } & {
15236
14979
  default: boolean;
15237
14980
  };
14981
+ height: {
14982
+ type: PropType<string>;
14983
+ } & {
14984
+ default: any;
14985
+ };
14986
+ ariaLabel: {
14987
+ type: PropType<string>;
14988
+ } & {
14989
+ default: any;
14990
+ };
15238
14991
  errorMessage: {
15239
- type: StringConstructor;
14992
+ type: PropType<string>;
14993
+ } & {
15240
14994
  default: string;
15241
14995
  };
15242
- height: {
15243
- type: StringConstructor;
14996
+ tooltipText: {
14997
+ type: PropType<string>;
14998
+ } & {
15244
14999
  default: any;
15245
15000
  };
15246
- label: {
15247
- type: StringConstructor;
15248
- default: string;
15249
- };
15250
- optional: {
15251
- type: BooleanConstructor;
15252
- default: boolean;
15001
+ characterLimit: {
15002
+ type: PropType<number>;
15003
+ } & {
15004
+ default: any;
15253
15005
  };
15254
15006
  placeholder: {
15255
- type: StringConstructor;
15007
+ type: PropType<string>;
15008
+ } & {
15256
15009
  default: string;
15257
15010
  };
15258
- readonly: {
15259
- type: BooleanConstructor;
15011
+ clearable: {
15012
+ type: PropType<boolean>;
15013
+ } & {
15260
15014
  default: boolean;
15261
15015
  };
15262
15016
  resizable: {
15263
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15264
- default: BentoTextareaResizeOption;
15265
- validator: (value: BentoTextareaResizeOption) => boolean;
15266
- };
15267
- required: {
15268
- type: BooleanConstructor;
15269
- default: boolean;
15270
- };
15271
- tooltipText: {
15272
- type: StringConstructor;
15273
- default: any;
15274
- };
15275
- value: {
15276
- type: StringConstructor;
15017
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
15018
+ } & {
15277
15019
  default: string;
15278
15020
  };
15279
15021
  }>>, {
@@ -15300,138 +15042,166 @@ required: boolean;
15300
15042
  disabled: boolean;
15301
15043
  optional: boolean;
15302
15044
  readonly: boolean;
15303
- height: string;
15045
+ height: string | null;
15304
15046
  ariaLabel: string;
15305
- tooltipText: string;
15306
15047
  errorMessage: string;
15048
+ tooltipText: string;
15307
15049
  characterLimit: number;
15308
15050
  placeholder: string;
15309
15051
  clearable: boolean;
15310
- resizable: "none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption;
15052
+ resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
15311
15053
  }, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {
15312
- ariaLabel: {
15313
- type: StringConstructor;
15314
- default: any;
15315
- };
15316
- characterLimit: {
15317
- type: NumberConstructor;
15318
- default: any;
15054
+ value: {
15055
+ type: PropType<string>;
15056
+ } & {
15057
+ default: string;
15319
15058
  };
15320
15059
  description: {
15321
- type: StringConstructor;
15060
+ type: PropType<string>;
15061
+ } & {
15062
+ default: string;
15063
+ };
15064
+ label: {
15065
+ type: PropType<string>;
15066
+ } & {
15322
15067
  default: string;
15323
15068
  };
15069
+ required: {
15070
+ type: PropType<boolean>;
15071
+ } & {
15072
+ default: boolean;
15073
+ };
15324
15074
  disabled: {
15325
- type: BooleanConstructor;
15075
+ type: PropType<boolean>;
15076
+ } & {
15326
15077
  default: boolean;
15327
15078
  };
15328
- clearable: {
15329
- type: BooleanConstructor;
15079
+ optional: {
15080
+ type: PropType<boolean>;
15081
+ } & {
15330
15082
  default: boolean;
15331
15083
  };
15332
- errorMessage: {
15333
- type: StringConstructor;
15334
- default: string;
15084
+ readonly: {
15085
+ type: PropType<boolean>;
15086
+ } & {
15087
+ default: boolean;
15335
15088
  };
15336
15089
  height: {
15337
- type: StringConstructor;
15090
+ type: PropType<string>;
15091
+ } & {
15338
15092
  default: any;
15339
15093
  };
15340
- label: {
15341
- type: StringConstructor;
15094
+ ariaLabel: {
15095
+ type: PropType<string>;
15096
+ } & {
15097
+ default: any;
15098
+ };
15099
+ errorMessage: {
15100
+ type: PropType<string>;
15101
+ } & {
15342
15102
  default: string;
15343
15103
  };
15344
- optional: {
15345
- type: BooleanConstructor;
15346
- default: boolean;
15104
+ tooltipText: {
15105
+ type: PropType<string>;
15106
+ } & {
15107
+ default: any;
15108
+ };
15109
+ characterLimit: {
15110
+ type: PropType<number>;
15111
+ } & {
15112
+ default: any;
15347
15113
  };
15348
15114
  placeholder: {
15349
- type: StringConstructor;
15115
+ type: PropType<string>;
15116
+ } & {
15350
15117
  default: string;
15351
15118
  };
15352
- readonly: {
15353
- type: BooleanConstructor;
15119
+ clearable: {
15120
+ type: PropType<boolean>;
15121
+ } & {
15354
15122
  default: boolean;
15355
15123
  };
15356
15124
  resizable: {
15357
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15358
- default: BentoTextareaResizeOption;
15359
- validator: (value: BentoTextareaResizeOption) => boolean;
15360
- };
15361
- required: {
15362
- type: BooleanConstructor;
15363
- default: boolean;
15364
- };
15365
- tooltipText: {
15366
- type: StringConstructor;
15367
- default: any;
15368
- };
15369
- value: {
15370
- type: StringConstructor;
15125
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
15126
+ } & {
15371
15127
  default: string;
15372
15128
  };
15373
15129
  }>>> & ShallowUnwrapRef< {
15374
15130
  focus: () => void;
15375
15131
  }> & ExtractComputedReturns< {}> & ComponentCustomProperties & Readonly<ExtractPropTypes< {
15376
- ariaLabel: {
15377
- type: StringConstructor;
15378
- default: any;
15379
- };
15380
- characterLimit: {
15381
- type: NumberConstructor;
15382
- default: any;
15132
+ value: {
15133
+ type: PropType<string>;
15134
+ } & {
15135
+ default: string;
15383
15136
  };
15384
15137
  description: {
15385
- type: StringConstructor;
15138
+ type: PropType<string>;
15139
+ } & {
15140
+ default: string;
15141
+ };
15142
+ label: {
15143
+ type: PropType<string>;
15144
+ } & {
15386
15145
  default: string;
15387
15146
  };
15147
+ required: {
15148
+ type: PropType<boolean>;
15149
+ } & {
15150
+ default: boolean;
15151
+ };
15388
15152
  disabled: {
15389
- type: BooleanConstructor;
15153
+ type: PropType<boolean>;
15154
+ } & {
15390
15155
  default: boolean;
15391
15156
  };
15392
- clearable: {
15393
- type: BooleanConstructor;
15157
+ optional: {
15158
+ type: PropType<boolean>;
15159
+ } & {
15394
15160
  default: boolean;
15395
15161
  };
15396
- errorMessage: {
15397
- type: StringConstructor;
15398
- default: string;
15162
+ readonly: {
15163
+ type: PropType<boolean>;
15164
+ } & {
15165
+ default: boolean;
15399
15166
  };
15400
15167
  height: {
15401
- type: StringConstructor;
15168
+ type: PropType<string>;
15169
+ } & {
15402
15170
  default: any;
15403
15171
  };
15404
- label: {
15405
- type: StringConstructor;
15172
+ ariaLabel: {
15173
+ type: PropType<string>;
15174
+ } & {
15175
+ default: any;
15176
+ };
15177
+ errorMessage: {
15178
+ type: PropType<string>;
15179
+ } & {
15406
15180
  default: string;
15407
15181
  };
15408
- optional: {
15409
- type: BooleanConstructor;
15410
- default: boolean;
15182
+ tooltipText: {
15183
+ type: PropType<string>;
15184
+ } & {
15185
+ default: any;
15186
+ };
15187
+ characterLimit: {
15188
+ type: PropType<number>;
15189
+ } & {
15190
+ default: any;
15411
15191
  };
15412
15192
  placeholder: {
15413
- type: StringConstructor;
15193
+ type: PropType<string>;
15194
+ } & {
15414
15195
  default: string;
15415
15196
  };
15416
- readonly: {
15417
- type: BooleanConstructor;
15197
+ clearable: {
15198
+ type: PropType<boolean>;
15199
+ } & {
15418
15200
  default: boolean;
15419
15201
  };
15420
15202
  resizable: {
15421
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15422
- default: BentoTextareaResizeOption;
15423
- validator: (value: BentoTextareaResizeOption) => boolean;
15424
- };
15425
- required: {
15426
- type: BooleanConstructor;
15427
- default: boolean;
15428
- };
15429
- tooltipText: {
15430
- type: StringConstructor;
15431
- default: any;
15432
- };
15433
- value: {
15434
- type: StringConstructor;
15203
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
15204
+ } & {
15435
15205
  default: string;
15436
15206
  };
15437
15207
  }>>>;
@@ -15613,9 +15383,9 @@ export declare interface BentoTimelineConfigData {
15613
15383
  showAll: Ref<boolean>;
15614
15384
  showMoreIndex: Ref<number>;
15615
15385
  hiddenItems: Ref<number>;
15616
- visibleIndexes: Ref<number[]>;
15386
+ visibleIndexes: Ref<Array<number>>;
15617
15387
  timegapLimit: Ref<BentoTimelineGapObject>;
15618
- timelineEntries: Ref<BentoTimelineEntry[]>;
15388
+ timelineEntries: Ref<Array<BentoTimelineEntry>>;
15619
15389
  }
15620
15390
 
15621
15391
  export declare type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
@@ -15759,7 +15529,7 @@ timegapAriaLabel: ComputedRef<string>;
15759
15529
  isLastItem: ComputedRef<boolean>;
15760
15530
  generateUid: (value: string) => string;
15761
15531
  hasSlot: (name: string) => boolean;
15762
- t: (key: "showMore" | "showLess" | "timegap", values?: default_2.Values) => string;
15532
+ t: (key: "showMore" | "showLess" | "timegap", ...args: Array<any>) => string;
15763
15533
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
15764
15534
  /**
15765
15535
  * Additional timestamp of the event
@@ -15935,7 +15705,7 @@ export declare type BentoToastItemsList = Array<BentoToastItem>;
15935
15705
  * `,
15936
15706
  * }
15937
15707
  */
15938
- export declare const BentoToggle: DefineComponent< {
15708
+ export declare const BentoToggle: __VLS_WithTemplateSlots_52<DefineComponent< {
15939
15709
  /**
15940
15710
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
15941
15711
  */
@@ -15976,20 +15746,9 @@ value: {
15976
15746
  type: BooleanConstructor;
15977
15747
  default: boolean;
15978
15748
  };
15979
- }, {
15980
- toggleInput: Ref<boolean>;
15981
- computedAriaLabel: ComputedRef<string>;
15982
- computedDescription: ComputedRef<string>;
15983
- defaultSlotValue: string;
15984
- descriptionSlotValue: string;
15985
- conditionalClasses: ComputedRef< {
15986
- [key: string]: boolean;
15987
- }>;
15988
- descriptionId: string;
15989
- hasSlot: (name: string) => boolean;
15990
- onChange: (event: Event) => void;
15991
- onClick: (event: Event) => void;
15992
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], string, Readonly<ExtractPropTypes< {
15749
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15750
+ input: (value: boolean) => void;
15751
+ }, string, Readonly<ExtractPropTypes< {
15993
15752
  /**
15994
15753
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
15995
15754
  */
@@ -16036,6 +15795,9 @@ disabled: boolean;
16036
15795
  readonly: boolean;
16037
15796
  ariaLabel: string;
16038
15797
  labelPosition: "after" | "before" | BentoToggleLabelPosition;
15798
+ }>, {
15799
+ default: (_: {}) => any;
15800
+ description: (_: {}) => any;
16039
15801
  }>;
16040
15802
 
16041
15803
  /**
@@ -16216,6 +15978,10 @@ declare const BentoTooltipPosition_3 = { ...PopperContainerPositionBasic };
16216
15978
 
16217
15979
  declare type BentoTooltipPosition_3 = PopperContainerPositionBasic_2;
16218
15980
 
15981
+ declare const BentoTooltipPosition_4 = { ...PopperContainerPositionBasic };
15982
+
15983
+ declare type BentoTooltipPosition_4 = PopperContainerPositionBasic_2;
15984
+
16219
15985
  export declare enum BentoTooltipState {
16220
15986
  HIDDEN = "hidden"
16221
15987
  }
@@ -16267,9 +16033,9 @@ default: any;
16267
16033
  *
16268
16034
  */
16269
16035
  steps: {
16270
- type: PropType<BentoTutorialStep[]>;
16036
+ type: PropType<Array<BentoTutorialStep>>;
16271
16037
  required: true;
16272
- validator: (value: BentoTutorialStep[]) => boolean;
16038
+ validator: (value: Array<BentoTutorialStep>) => boolean;
16273
16039
  };
16274
16040
  /**
16275
16041
  * Options to control the scroll into view behavior.
@@ -16295,9 +16061,9 @@ default: any;
16295
16061
  *
16296
16062
  */
16297
16063
  steps: {
16298
- type: PropType<BentoTutorialStep[]>;
16064
+ type: PropType<Array<BentoTutorialStep>>;
16299
16065
  required: true;
16300
- validator: (value: BentoTutorialStep[]) => boolean;
16066
+ validator: (value: Array<BentoTutorialStep>) => boolean;
16301
16067
  };
16302
16068
  /**
16303
16069
  * Options to control the scroll into view behavior.
@@ -16342,7 +16108,7 @@ export declare interface BentoTutorialStep {
16342
16108
  * `
16343
16109
  * }
16344
16110
  */
16345
- export declare const BentoTypography: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
16111
+ export declare const BentoTypography: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
16346
16112
  /**
16347
16113
  * Sets the HTML DOM element.
16348
16114
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -16390,7 +16156,7 @@ stronger: boolean;
16390
16156
  strongest: boolean;
16391
16157
  variant: BentoTypographyVariant;
16392
16158
  wide: boolean;
16393
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
16159
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
16394
16160
  /**
16395
16161
  * Sets the HTML DOM element.
16396
16162
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -16557,7 +16323,7 @@ declare interface DateRangePickerCalendarRangeSelectorItem {
16557
16323
 
16558
16324
  declare type DateRangePickerCalendarRangeSelectorItems = Array<DateRangePickerCalendarRangeSelectorItem>;
16559
16325
 
16560
- declare type DropdownProps = InstanceType<typeof BentoDropdown>['$props'];
16326
+ declare type DropdownProps = BentoDropdownProps;
16561
16327
 
16562
16328
  declare type Element_2 = HTMLElement & {
16563
16329
  __onClickOutside_stop?: () => void;
@@ -16582,56 +16348,43 @@ export declare type Expand<T> = T extends infer O ? {
16582
16348
  */
16583
16349
  export declare type Fn = () => void;
16584
16350
 
16585
- declare interface FormField {
16351
+ export declare interface FormField {
16586
16352
  /**
16587
16353
  * If set, displays a description text for the input.
16588
16354
  */
16589
16355
  description?: string;
16590
-
16591
16356
  /**
16592
16357
  * If true, disables user interaction with the field.
16593
16358
  */
16594
16359
  disabled?: boolean;
16595
-
16596
16360
  /**
16597
16361
  * If set, displays an error message and applies error styling to the field.
16598
16362
  */
16599
16363
  errorMessage?: string;
16600
-
16601
16364
  /**
16602
16365
  * The text label displayed for the field.
16603
16366
  */
16604
16367
  label?: string;
16605
-
16606
16368
  /**
16607
16369
  * If true, indicates that the field is optional.
16608
16370
  */
16609
16371
  optional?: boolean;
16610
-
16611
16372
  /**
16612
16373
  * The placeholder text displayed when the field is empty.
16613
16374
  */
16614
16375
  placeholder?: string;
16615
-
16616
16376
  /**
16617
16377
  * If true, makes the field's value readonly, preventing user modification.
16618
16378
  */
16619
16379
  readonly?: boolean;
16620
-
16621
16380
  /**
16622
16381
  * If true, indicates that the field is required.
16623
16382
  */
16624
16383
  required?: boolean;
16625
-
16626
16384
  /**
16627
16385
  * If set, displays an info icon with this tooltip message next to the label.
16628
16386
  */
16629
16387
  tooltipText?: string;
16630
-
16631
- /**
16632
- * The current value of the field.
16633
- */
16634
- value?: string | number;
16635
16388
  }
16636
16389
 
16637
16390
  declare interface GridLayoutColumnWidth {
@@ -16793,6 +16546,13 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
16793
16546
  */
16794
16547
  export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
16795
16548
 
16549
+ /**
16550
+ * As recommmended by the vue community to use this type when you are not sure
16551
+ * if the argument is a ref.
16552
+ * Source: https://github.com/vueuse/vueuse/blob/main/packages/shared/utils/types.ts#L28
16553
+ */
16554
+ declare type MaybeRef_2<T> = T | Ref<T>;
16555
+
16796
16556
  /**
16797
16557
  * Validates if the length of the provided value is greater than or equal to the specified length.
16798
16558
  *
@@ -16804,15 +16564,13 @@ export declare function minLength(value: BentoInputFieldValue, length?: number):
16804
16564
 
16805
16565
  export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
16806
16566
 
16807
- declare type OmitStrict_2<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
16808
-
16809
16567
  declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
16810
16568
 
16811
16569
  declare interface OnClickOutsideOptions {
16812
16570
  /**
16813
16571
  * List of elements that should not trigger the event.
16814
16572
  */
16815
- ignore?: (MaybeElementRef | string)[];
16573
+ ignore?: Array<MaybeElementRef | string>;
16816
16574
  /**
16817
16575
  * Use capturing phase for internal event listener.
16818
16576
  * @default true
@@ -16830,7 +16588,7 @@ declare interface OnClickOutsideOptions_2 {
16830
16588
  /**
16831
16589
  * List of elements that should not trigger the event.
16832
16590
  */
16833
- ignore?: (MaybeElementRef_2 | string)[];
16591
+ ignore?: Array<MaybeElementRef_2 | string>;
16834
16592
  /**
16835
16593
  * Use capturing phase for internal event listener.
16836
16594
  * @default true
@@ -16976,6 +16734,63 @@ export declare interface ToastStack {
16976
16734
  */
16977
16735
  export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
16978
16736
 
16737
+ /**
16738
+ * A composable to wire the `bento-base-filter` component for the mandatory fields and events.
16739
+ *
16740
+ * @usage
16741
+ * ```vue
16742
+ * <template>
16743
+ * <bento-base-filter
16744
+ * :disable-apply-button="isApplyButtonDisabled"
16745
+ * :disable-secondary-button="isSecondaryButtonDisabled"
16746
+ * @ apply="updateFilter"
16747
+ * @ clear="clearFilter(updateFilter)"
16748
+ * @ open="openFilter"
16749
+ * @ reset="resetFilter(updateFilter)"
16750
+ * >
16751
+ * <!-- CONTENT HERE -->
16752
+ * </bento-base-filter>
16753
+ * </template>
16754
+ * <script>
16755
+ * import { ref } from 'vue'
16756
+ * import { useBentoBaseFilter, BentoBaseFilter, BentoBaseFilterProps } from '@adyen/bento-vue2'
16757
+ *
16758
+ * type CustomFilterValue = boolean
16759
+ * const props = defineProps<BentoBaseFilterProps<CustomFilterValue>>();
16760
+ *
16761
+ * const {
16762
+ * // Values
16763
+ * internalFilterValue,
16764
+ * isSecondaryButtonDisabled,
16765
+ * isApplyButtonDisabled,
16766
+ *
16767
+ * // Methods
16768
+ * clearFilter,
16769
+ * resetFilter,
16770
+ * openFilter,
16771
+ * } = useBentoBaseFilter<CustomFilterValue>(toRef(props, 'value'), toRef(props, 'defaultValue'));
16772
+ * </script>
16773
+ * ```
16774
+ *
16775
+ * @param appliedFilter The currently applied filter value.
16776
+ * @param defaultFilter The default filter value (if available).
16777
+ * @returns An object containing refs and functions:
16778
+ * - `internalFilterValue`: The temporary state of the filter before it's applied.
16779
+ * - `isSecondaryButtonDisabled`: `true` if the secondary (clear/reset) button should be disabled.
16780
+ * - `isApplyButtonDisabled`: `true` if the apply button should be disabled.
16781
+ * - `clearFilter`: Clears the filter to its initial or default state.
16782
+ * - `resetFilter`: Resets the filter to its default state.
16783
+ * - `openFilter`: Syncs the internal state with the applied filter.
16784
+ */
16785
+ export declare function useBentoBaseFilter<T>(appliedFilter: Ref<T>, defaultFilter: Ref<T>): {
16786
+ internalFilterValue: Ref<T>;
16787
+ isSecondaryButtonDisabled: ComputedRef<boolean>;
16788
+ isApplyButtonDisabled: ComputedRef<boolean>;
16789
+ clearFilter: (callback?: (newValue: T) => void) => void;
16790
+ resetFilter: (callback?: (newValue: T) => void) => void;
16791
+ openFilter: (callback?: (newValue: T) => void) => void;
16792
+ };
16793
+
16979
16794
  export declare interface UseBentoTheme {
16980
16795
  getTheme: () => string;
16981
16796
  setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
@@ -17021,14 +16836,14 @@ export declare const useClickOutside: <T extends OnClickOutsideOptions>(target:
17021
16836
  *
17022
16837
  * @returns a translated country name
17023
16838
  */
17024
- export declare const useCountryCapital: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => ComputedRef<string>;
16839
+ export declare const useCountryCapital: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
17025
16840
 
17026
16841
  /**
17027
16842
  * Maps an ISO code to it's translated country name.
17028
16843
  *
17029
16844
  * @returns a translated country name
17030
16845
  */
17031
- export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => ComputedRef<string>;
16846
+ export declare const useCountryName: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
17032
16847
 
17033
16848
  /**
17034
16849
  * Retrieves a country's phone number code.
@@ -17036,7 +16851,7 @@ export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<s
17036
16851
  * @param countryCode 2 character code in ISO 3166-1 alpha-2 format
17037
16852
  * @returns Country's phone code
17038
16853
  */
17039
- export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => ComputedRef<string>;
16854
+ export declare const useCountryPhoneCode: (countryCode: MaybeRef_2<string>) => ComputedRef<string>;
17040
16855
 
17041
16856
  /**
17042
16857
  * useForm composable configuration object
@@ -17091,7 +16906,7 @@ export declare interface UseForm<T> {
17091
16906
  */
17092
16907
  export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseForm<T>): {
17093
16908
  errorBag: Ref<{
17094
- [P in allKeys<(typeof validationSchema)['_type']>]?: string[];
16909
+ [P in allKeys<(typeof validationSchema)['_type']>]?: Array<string>;
17095
16910
  }>;
17096
16911
  errors: Ref<{
17097
16912
  [P in allKeys<(typeof validationSchema)['_type']>]?: string;
@@ -17110,7 +16925,7 @@ export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseF
17110
16925
  * @returns {Ref<BentoSearchBarData>} New instance of the array filtered by the {@param searchTerm} text
17111
16926
  * @param {Ref<Boolean>} ignoreGroups - Boolean that determines if search returns items with subitems
17112
16927
  */
17113
- export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<T[]>, searchEvent?: (searchValue: string) => void, ignoreGroups?: Ref<boolean>): ComputedRef<any>;
16928
+ export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<Array<T>>, searchEvent?: (searchValue: string) => void, ignoreGroups?: Ref<boolean>): ComputedRef<any>;
17114
16929
 
17115
16930
  declare type UseVirtualListItemHeight = number | ((index: number) => number);
17116
16931
 
@@ -17123,6 +16938,6 @@ export declare type VueInstance = ComponentPublicInstance;
17123
16938
  * type Vue | Element | (Vue | Element)[] | undefined
17124
16939
  * ```
17125
16940
  */
17126
- export declare type VueNodeElement = Component | Element | (Component | Element)[] | undefined;
16941
+ export declare type VueNodeElement = Component | Element | Array<Component | Element> | undefined;
17127
16942
 
17128
16943
  export { }