@adyen/bento-vue2 1.84.2 → 1.85.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 (339) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +244 -130
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +5 -0
  5. package/dist/ai-tag.js.map +1 -0
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/ai-tag.css +1 -0
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button-actions.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/checkbox.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-range-picker.css +1 -1
  15. package/dist/assets/dialog-page.css +1 -1
  16. package/dist/assets/draggable-handle.css +1 -0
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/form-layout-title.css +1 -1
  20. package/dist/assets/inspector.css +1 -1
  21. package/dist/assets/layout-row.css +1 -1
  22. package/dist/assets/modal-fullscreen.css +1 -1
  23. package/dist/assets/radio-group.css +1 -1
  24. package/dist/assets/sidepanel.css +1 -1
  25. package/dist/assets/use-cached-selected-values.css +1 -1
  26. package/dist/button.js +2 -2
  27. package/dist/card.js +1 -1
  28. package/dist/checkbox.js +2 -2
  29. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
  30. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
  31. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
  32. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
  33. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
  34. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
  35. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
  36. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
  37. package/dist/chunks/accordion-item.DeV8s0oW.js.map +1 -1
  38. package/dist/chunks/action-bar.rgLdy6Bu.js +163 -0
  39. package/dist/chunks/action-bar.rgLdy6Bu.js.map +1 -0
  40. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
  41. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
  42. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
  43. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
  44. package/dist/chunks/ai-button.ggEcDV08.js +50 -0
  45. package/dist/chunks/ai-button.ggEcDV08.js.map +1 -0
  46. package/dist/chunks/ai-tag.DKMGiQcJ.js +74 -0
  47. package/dist/chunks/ai-tag.DKMGiQcJ.js.map +1 -0
  48. package/dist/chunks/alert.B3Pdp02a.js.map +1 -1
  49. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  50. package/dist/chunks/arrow-left.CRREfabP.js +24 -0
  51. package/dist/chunks/arrow-left.CRREfabP.js.map +1 -0
  52. package/dist/chunks/arrow-right.Dn3AYpUP.js +24 -0
  53. package/dist/chunks/arrow-right.Dn3AYpUP.js.map +1 -0
  54. package/dist/chunks/artificial-intelligence-ai-filled.C6TMsiHK.js +24 -0
  55. package/dist/chunks/artificial-intelligence-ai-filled.C6TMsiHK.js.map +1 -0
  56. package/dist/chunks/avatar.CUCH3CTc.js.map +1 -1
  57. package/dist/chunks/base-button.IN4bpcds.js.map +1 -1
  58. package/dist/chunks/{base-modal.KYkLKswF.js → base-modal.QsjzGei_.js} +5 -5
  59. package/dist/chunks/{base-modal.KYkLKswF.js.map → base-modal.QsjzGei_.js.map} +1 -1
  60. package/dist/chunks/{button-actions-with-menu.B5mKwc-F.js → button-actions-with-menu.PL45aAcI.js} +3 -3
  61. package/dist/chunks/{button-actions-with-menu.B5mKwc-F.js.map → button-actions-with-menu.PL45aAcI.js.map} +1 -1
  62. package/dist/chunks/{button-actions.D9n7MxWe.js → button-actions.JRDi9PFT.js} +2 -2
  63. package/dist/chunks/{button-actions.D9n7MxWe.js.map → button-actions.JRDi9PFT.js.map} +1 -1
  64. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  65. package/dist/chunks/button.DIU6m9wD.js.map +1 -1
  66. package/dist/chunks/{calendar.C8DpZ4Sr.js → calendar.B0SmuooF.js} +95 -89
  67. package/dist/chunks/{calendar.C8DpZ4Sr.js.map → calendar.B0SmuooF.js.map} +1 -1
  68. package/dist/chunks/{card.CLX0RGG6.js → card.CVkEg8m1.js} +2 -2
  69. package/dist/chunks/{card.CLX0RGG6.js.map → card.CVkEg8m1.js.map} +1 -1
  70. package/dist/chunks/{checkbox-group.BCnhjQie.js → checkbox-group.DPZJjcdT.js} +4 -4
  71. package/dist/chunks/{checkbox-group.BCnhjQie.js.map → checkbox-group.DPZJjcdT.js.map} +1 -1
  72. package/dist/chunks/{checkbox.CU5ierOq.js → checkbox.D3D1I22O.js} +3 -3
  73. package/dist/chunks/{checkbox.CU5ierOq.js.map → checkbox.D3D1I22O.js.map} +1 -1
  74. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -1
  75. package/dist/chunks/{code-snippet.9MwDHp50.js → code-snippet.BN5P-KQo.js} +4 -4
  76. package/dist/chunks/{code-snippet.9MwDHp50.js.map → code-snippet.BN5P-KQo.js.map} +1 -1
  77. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -1
  78. package/dist/chunks/constructNow.B8T1ljs6.js +8 -0
  79. package/dist/chunks/{constructNow.DuaJst0D.js.map → constructNow.B8T1ljs6.js.map} +1 -1
  80. package/dist/chunks/{controls-group.D4eW9DtP.js → controls-group.BwXz0UYr.js} +2 -2
  81. package/dist/chunks/{controls-group.D4eW9DtP.js.map → controls-group.BwXz0UYr.js.map} +1 -1
  82. package/dist/chunks/{copy.C0q7xgXs.js → copy.BIh04KTY.js} +3 -3
  83. package/dist/chunks/{copy.C0q7xgXs.js.map → copy.BIh04KTY.js.map} +1 -1
  84. package/dist/chunks/country.types.DaVCMxk-.js.map +1 -1
  85. package/dist/chunks/currency.DYZr_RDk.js.map +1 -1
  86. package/dist/chunks/{dashboard-section.B83FdC0Z.js → dashboard-section.BvFMd9CQ.js} +3 -3
  87. package/dist/chunks/{dashboard-section.B83FdC0Z.js.map → dashboard-section.BvFMd9CQ.js.map} +1 -1
  88. package/dist/chunks/{dashed-underline.DQGVy5T2.js → dashed-underline.CXyMT-cF.js} +3 -3
  89. package/dist/chunks/{dashed-underline.DQGVy5T2.js.map → dashed-underline.CXyMT-cF.js.map} +1 -1
  90. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
  91. package/dist/chunks/{data-grid-template.BTEFoEwf.js → data-grid-template.wWWI3FE3.js} +3 -3
  92. package/dist/chunks/{data-grid-template.BTEFoEwf.js.map → data-grid-template.wWWI3FE3.js.map} +1 -1
  93. package/dist/chunks/{data-grid.Bk7_6Z0F.js → data-grid.Dcj_tU8q.js} +426 -419
  94. package/dist/chunks/data-grid.Dcj_tU8q.js.map +1 -0
  95. package/dist/chunks/date-input.BbZqj10S.js.map +1 -1
  96. package/dist/chunks/{date-picker.CnsC_UMG.js → date-picker.Dh3-TgPT.js} +4 -4
  97. package/dist/chunks/{date-picker.CnsC_UMG.js.map → date-picker.Dh3-TgPT.js.map} +1 -1
  98. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  99. package/dist/chunks/date-range-picker.BOn_Xjkr.js +897 -0
  100. package/dist/chunks/date-range-picker.BOn_Xjkr.js.map +1 -0
  101. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  102. package/dist/chunks/date.DBWzp0So.js.map +1 -1
  103. package/dist/chunks/de.DvtL0g75.js.map +1 -1
  104. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  105. package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
  106. package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
  107. package/dist/chunks/dialog-page.BegXhP0L.js +118 -0
  108. package/dist/chunks/dialog-page.BegXhP0L.js.map +1 -0
  109. package/dist/chunks/{differenceInMonths.DcFDl4eH.js → differenceInMonths.BR4Z2HIa.js} +2 -2
  110. package/dist/chunks/{differenceInMonths.DcFDl4eH.js.map → differenceInMonths.BR4Z2HIa.js.map} +1 -1
  111. package/dist/chunks/directive.Cbdox5VL.js.map +1 -1
  112. package/dist/chunks/divider.DX5gwN7p.js.map +1 -1
  113. package/dist/chunks/dropdown-default-textbox.Cq68tN9F.js.map +1 -1
  114. package/dist/chunks/{dropdown-tag.HBM0wrEV.js → dropdown-tag.C7Buz72U.js} +3 -3
  115. package/dist/chunks/{dropdown-tag.HBM0wrEV.js.map → dropdown-tag.C7Buz72U.js.map} +1 -1
  116. package/dist/chunks/{dropdown.C2pXf8Li.js → dropdown.ByH2zHxF.js} +5 -5
  117. package/dist/chunks/{dropdown.C2pXf8Li.js.map → dropdown.ByH2zHxF.js.map} +1 -1
  118. package/dist/chunks/empty-state.DpBnqAxu.js.map +1 -1
  119. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -1
  120. package/dist/chunks/en-US.BZii9jNW.js.map +1 -1
  121. package/dist/chunks/es.bz0mzkMq.js.map +1 -1
  122. package/dist/chunks/es6.C1DXQV6f.js.map +1 -1
  123. package/dist/chunks/events.BQOQSSb7.js.map +1 -1
  124. package/dist/chunks/{field-label.CEkJnsiL.js → field-label.BKxm8ehO.js} +2 -2
  125. package/dist/chunks/{field-label.CEkJnsiL.js.map → field-label.BKxm8ehO.js.map} +1 -1
  126. package/dist/chunks/{file-uploader.CnOqfuI-.js → file-uploader.U7YUrGoM.js} +4 -4
  127. package/dist/chunks/file-uploader.U7YUrGoM.js.map +1 -0
  128. package/dist/chunks/filter-bar.BRE0djRy.js +3313 -0
  129. package/dist/chunks/filter-bar.BRE0djRy.js.map +1 -0
  130. package/dist/chunks/{focus-trap.CNIU5jOz.js → focus-trap.Ed8RY9cJ.js} +2 -2
  131. package/dist/chunks/{focus-trap.CNIU5jOz.js.map → focus-trap.Ed8RY9cJ.js.map} +1 -1
  132. package/dist/chunks/{footer-actions.BOiN47Xd.js → footer-actions.mS3IiJg7.js} +2 -2
  133. package/dist/chunks/{footer-actions.BOiN47Xd.js.map → footer-actions.mS3IiJg7.js.map} +1 -1
  134. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
  135. package/dist/chunks/{form-layout-title.CdC1T4gs.js → form-layout-title.C3uKS3GA.js} +2 -2
  136. package/dist/chunks/{form-layout-title.CdC1T4gs.js.map → form-layout-title.C3uKS3GA.js.map} +1 -1
  137. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
  138. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -1
  139. package/dist/chunks/fr.Dj7wEToe.js.map +1 -1
  140. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  141. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
  142. package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js} +3 -3
  143. package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map} +1 -1
  144. package/dist/chunks/grab.BxiVZ1RZ.js +24 -0
  145. package/dist/chunks/grab.BxiVZ1RZ.js.map +1 -0
  146. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -1
  147. package/dist/chunks/{header-meta.D_oAu2S9.js → header-meta.CQTfyEJR.js} +8 -8
  148. package/dist/chunks/{header-meta.D_oAu2S9.js.map → header-meta.CQTfyEJR.js.map} +1 -1
  149. package/dist/chunks/{header-with-views.Dc9LUYNY.js → header-with-views.-PRI2W3p.js} +383 -400
  150. package/dist/chunks/header-with-views.-PRI2W3p.js.map +1 -0
  151. package/dist/chunks/{header.BmtlQmPs.js → header.DDwoZ8fF.js} +3 -3
  152. package/dist/chunks/{header.BmtlQmPs.js.map → header.DDwoZ8fF.js.map} +1 -1
  153. package/dist/chunks/image.C2D2hKat.js.map +1 -1
  154. package/dist/chunks/index.B6WW_F-J.js.map +1 -1
  155. package/dist/chunks/{index.BDK4hwK_.js → index.Zfd79j1_.js} +3 -3
  156. package/dist/chunks/{index.BDK4hwK_.js.map → index.Zfd79j1_.js.map} +1 -1
  157. package/dist/chunks/{info-icon.BEyxQgD6.js → info-icon.gUcRjEyG.js} +3 -3
  158. package/dist/chunks/{info-icon.BEyxQgD6.js.map → info-icon.gUcRjEyG.js.map} +1 -1
  159. package/dist/chunks/{input-field-password.D23H_RvO.js → input-field-password.BO3EMjVD.js} +6 -6
  160. package/dist/chunks/{input-field-password.D23H_RvO.js.map → input-field-password.BO3EMjVD.js.map} +1 -1
  161. package/dist/chunks/{input-field-phone-number.Bvk2Pvec.js → input-field-phone-number.DDQIkRdm.js} +3 -3
  162. package/dist/chunks/{input-field-phone-number.Bvk2Pvec.js.map → input-field-phone-number.DDQIkRdm.js.map} +1 -1
  163. package/dist/chunks/{input-field.hf0_ALq0.js → input-field.BRIDLPBn.js} +3 -3
  164. package/dist/chunks/{input-field.hf0_ALq0.js.map → input-field.BRIDLPBn.js.map} +1 -1
  165. package/dist/chunks/{inspector.C0iAxxoz.js → inspector.DCda4tku.js} +3 -3
  166. package/dist/chunks/{inspector.C0iAxxoz.js.map → inspector.DCda4tku.js.map} +1 -1
  167. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
  168. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
  169. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
  170. package/dist/chunks/isSameWeek.5sjhTHiU.js +14 -0
  171. package/dist/chunks/{isSameWeek.CUD7czUN.js.map → isSameWeek.5sjhTHiU.js.map} +1 -1
  172. package/dist/chunks/{it.Oaj6BklL.js → it.DEniTaO2.js} +2 -2
  173. package/dist/chunks/{it.Oaj6BklL.js.map → it.DEniTaO2.js.map} +1 -1
  174. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -1
  175. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
  176. package/dist/chunks/ko.Ceaof6EP.js.map +1 -1
  177. package/dist/chunks/{layout-row.BPX00mio.js → layout-row.BtCzzLTz.js} +3 -3
  178. package/dist/chunks/layout-row.BtCzzLTz.js.map +1 -0
  179. package/dist/chunks/link.PsTSQjK3.js.map +1 -1
  180. package/dist/chunks/{listbox-option-tag.BlDz7oXK.js → listbox-option-tag.B63aT5Sq.js} +2 -2
  181. package/dist/chunks/{listbox-option-tag.BlDz7oXK.js.map → listbox-option-tag.B63aT5Sq.js.map} +1 -1
  182. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -1
  183. package/dist/chunks/match.CMBZxEs9.js.map +1 -1
  184. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
  185. package/dist/chunks/{modal-fullscreen.B1gltlxA.js → modal-fullscreen.CRLZX72M.js} +4 -4
  186. package/dist/chunks/{modal-fullscreen.B1gltlxA.js.map → modal-fullscreen.CRLZX72M.js.map} +1 -1
  187. package/dist/chunks/{modal.e3EQ6Kex.js → modal.BnAZ8Nj1.js} +4 -4
  188. package/dist/chunks/{modal.e3EQ6Kex.js.map → modal.BnAZ8Nj1.js.map} +1 -1
  189. package/dist/chunks/nl.B6vCf2B9.js.map +1 -1
  190. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
  191. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
  192. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
  193. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
  194. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  195. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
  196. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
  197. package/dist/chunks/{pagination.BcFt2FqK.js → pagination.spAA5CX0.js} +2 -2
  198. package/dist/chunks/{pagination.BcFt2FqK.js.map → pagination.spAA5CX0.js.map} +1 -1
  199. package/dist/chunks/payment-method.BKXLPDC9.js.map +1 -1
  200. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  201. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
  202. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
  203. package/dist/chunks/popover.types.Zm8nugBw.js +6 -0
  204. package/dist/chunks/{popover.types.WDh5ggr3.js.map → popover.types.Zm8nugBw.js.map} +1 -1
  205. package/dist/chunks/{popper-container.Cdokz_NE.js → popper-container.CXUG6v_U.js} +2 -2
  206. package/dist/chunks/{popper-container.Cdokz_NE.js.map → popper-container.CXUG6v_U.js.map} +1 -1
  207. package/dist/chunks/{promo-banner.yfBorKj7.js → promo-banner.BkLMZH66.js} +2 -2
  208. package/dist/chunks/{promo-banner.yfBorKj7.js.map → promo-banner.BkLMZH66.js.map} +1 -1
  209. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -1
  210. package/dist/chunks/{radio-group.CtTnfkYg.js → radio-group.B6-Fd_kH.js} +4 -4
  211. package/dist/chunks/{radio-group.CtTnfkYg.js.map → radio-group.B6-Fd_kH.js.map} +1 -1
  212. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -1
  213. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
  214. package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
  215. package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
  216. package/dist/chunks/{rich-text-editor.Dq2CFGOu.js → rich-text-editor.DeywBxSb.js} +4 -4
  217. package/dist/chunks/{rich-text-editor.Dq2CFGOu.js.map → rich-text-editor.DeywBxSb.js.map} +1 -1
  218. package/dist/chunks/{search-bar.B0SdQBnY.js → search-bar.BKRppqyI.js} +3 -3
  219. package/dist/chunks/{search-bar.B0SdQBnY.js.map → search-bar.BKRppqyI.js.map} +1 -1
  220. package/dist/chunks/{secondary-nav.BPGpxd0p.js → secondary-nav.RQ5eRpPH.js} +3 -3
  221. package/dist/chunks/{secondary-nav.BPGpxd0p.js.map → secondary-nav.RQ5eRpPH.js.map} +1 -1
  222. package/dist/chunks/{segmented-control.BtWFda0P.js → segmented-control.BomURsCq.js} +2 -2
  223. package/dist/chunks/{segmented-control.BtWFda0P.js.map → segmented-control.BomURsCq.js.map} +1 -1
  224. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  225. package/dist/chunks/{selection-card-group.BryV14qP.js → selection-card-group.gh-fMA9T.js} +4 -4
  226. package/dist/chunks/{selection-card-group.BryV14qP.js.map → selection-card-group.gh-fMA9T.js.map} +1 -1
  227. package/dist/chunks/{sidepanel.NFyZGE57.js → sidepanel.B80Mujpk.js} +5 -5
  228. package/dist/chunks/{sidepanel.NFyZGE57.js.map → sidepanel.B80Mujpk.js.map} +1 -1
  229. package/dist/chunks/{startOfWeek.Dxw2MhGp.js → startOfWeek.CM1KIrNi.js} +2 -2
  230. package/dist/chunks/{startOfWeek.Dxw2MhGp.js.map → startOfWeek.CM1KIrNi.js.map} +1 -1
  231. package/dist/chunks/status.types.Cv5XN4zL.js.map +1 -1
  232. package/dist/chunks/step.BLFXvHL6.js.map +1 -1
  233. package/dist/chunks/{structured-list-item.CptOCpHP.js → structured-list-item.DCEKBtbT.js} +4 -4
  234. package/dist/chunks/{structured-list-item.CptOCpHP.js.map → structured-list-item.DCEKBtbT.js.map} +1 -1
  235. package/dist/chunks/success.DhioLvPD.js.map +1 -1
  236. package/dist/chunks/success.nNwxJRBS.js.map +1 -1
  237. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
  238. package/dist/chunks/{summary-grid.types.B1T8_k1m.js → summary-grid.types.BV8FDXGv.js} +5 -5
  239. package/dist/chunks/{summary-grid.types.B1T8_k1m.js.map → summary-grid.types.BV8FDXGv.js.map} +1 -1
  240. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -1
  241. package/dist/chunks/tab.FUMpPsBP.js.map +1 -1
  242. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
  243. package/dist/chunks/{tag.B1Ywhgvc.js → tag.CroNYKsL.js} +2 -2
  244. package/dist/chunks/{tag.B1Ywhgvc.js.map → tag.CroNYKsL.js.map} +1 -1
  245. package/dist/chunks/{textarea.riUt0BiI.js → textarea.CtTdhV_G.js} +2 -2
  246. package/dist/chunks/{textarea.riUt0BiI.js.map → textarea.CtTdhV_G.js.map} +1 -1
  247. package/dist/chunks/{timeline-item.CFfW1DoD.js → timeline-item.DCWllef8.js} +6 -6
  248. package/dist/chunks/{timeline-item.CFfW1DoD.js.map → timeline-item.DCWllef8.js.map} +1 -1
  249. package/dist/chunks/toggle.227XgEc7.js.map +1 -1
  250. package/dist/chunks/{tooltip.C6YCavPw.js → tooltip.DxJQHsuI.js} +2 -2
  251. package/dist/chunks/{tooltip.C6YCavPw.js.map → tooltip.DxJQHsuI.js.map} +1 -1
  252. package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
  253. package/dist/chunks/{tutorial.D18LwXVy.js → tutorial.O_vT6Q2b.js} +7 -7
  254. package/dist/chunks/{tutorial.D18LwXVy.js.map → tutorial.O_vT6Q2b.js.map} +1 -1
  255. package/dist/chunks/typography.Bq-EGj9y.js.map +1 -1
  256. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
  257. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
  258. package/dist/chunks/use-bento-toast-controller.MmyZXtME.js.map +1 -1
  259. package/dist/chunks/{use-cached-selected-values.gDWGi5Nk.js → use-cached-selected-values.3YqO69wz.js} +14 -14
  260. package/dist/chunks/{use-cached-selected-values.gDWGi5Nk.js.map → use-cached-selected-values.3YqO69wz.js.map} +1 -1
  261. package/dist/chunks/use-country-items.ClS_So5N.js.map +1 -1
  262. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  263. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
  264. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  265. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
  266. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
  267. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
  268. package/dist/chunks/{zh-CN.BzH0fIXr.js → zh-CN.CgIooHto.js} +2 -2
  269. package/dist/chunks/{zh-CN.BzH0fIXr.js.map → zh-CN.CgIooHto.js.map} +1 -1
  270. package/dist/code-snippet.js +1 -1
  271. package/dist/dashboard-template.js +1 -1
  272. package/dist/dashed-underline.js +1 -1
  273. package/dist/data-grid-template.js +1 -1
  274. package/dist/data-grid.js +6 -5
  275. package/dist/date-picker.js +2 -2
  276. package/dist/date-range-picker.js +2 -2
  277. package/dist/draggable-handle.js +157 -0
  278. package/dist/draggable-handle.js.map +1 -0
  279. package/dist/dropdown.js +3 -3
  280. package/dist/file-uploader.js +1 -1
  281. package/dist/filter-bar.js +1 -1
  282. package/dist/focus-trap.js +1 -1
  283. package/dist/form-layout.js +1 -1
  284. package/dist/header-with-views.js +1 -1
  285. package/dist/header.js +1 -1
  286. package/dist/index.js +325 -321
  287. package/dist/index.js.map +1 -1
  288. package/dist/info-icon.js +1 -1
  289. package/dist/input-field-password.js +1 -1
  290. package/dist/input-field-phone-number.js +1 -1
  291. package/dist/input-field.js +1 -1
  292. package/dist/inspector.js +1 -1
  293. package/dist/internal.js +11 -11
  294. package/dist/layout.js +1 -1
  295. package/dist/menu.js +1 -1
  296. package/dist/modal-fullscreen.js +1 -1
  297. package/dist/modal.js +2 -2
  298. package/dist/pagination.js +1 -1
  299. package/dist/popover.js +2 -2
  300. package/dist/popper-container.js +1 -1
  301. package/dist/promo-banner.js +1 -1
  302. package/dist/radio-group.js +1 -1
  303. package/dist/rich-text-editor.js +1 -1
  304. package/dist/search-bar.js +2 -2
  305. package/dist/secondary-nav.js +1 -1
  306. package/dist/segmented-control.js +1 -1
  307. package/dist/selection-card.js +1 -1
  308. package/dist/sidepanel.js +1 -1
  309. package/dist/structured-list.js +1 -1
  310. package/dist/styles/bento-dark.css +5 -0
  311. package/dist/styles/bento-light.css +5 -0
  312. package/dist/styles/bento.css +5 -0
  313. package/dist/styles/legacy.css +5 -0
  314. package/dist/styles/styleguide.css +5 -0
  315. package/dist/summary-grid.js +1 -1
  316. package/dist/tag.js +1 -1
  317. package/dist/textarea.js +1 -1
  318. package/dist/timeline.js +1 -1
  319. package/dist/tutorial.js +1 -1
  320. package/dist/use-form-v4.js.map +1 -1
  321. package/dist/web-types.json +212 -6
  322. package/package.json +8 -8
  323. package/dist/chunks/action-bar.y4tcdk7R.js +0 -162
  324. package/dist/chunks/action-bar.y4tcdk7R.js.map +0 -1
  325. package/dist/chunks/ai-button.BEy4Gly-.js +0 -67
  326. package/dist/chunks/ai-button.BEy4Gly-.js.map +0 -1
  327. package/dist/chunks/constructNow.DuaJst0D.js +0 -8
  328. package/dist/chunks/data-grid.Bk7_6Z0F.js.map +0 -1
  329. package/dist/chunks/date-range-picker.B6GSRjjK.js +0 -1693
  330. package/dist/chunks/date-range-picker.B6GSRjjK.js.map +0 -1
  331. package/dist/chunks/dialog-page.QpRiNPyx.js +0 -137
  332. package/dist/chunks/dialog-page.QpRiNPyx.js.map +0 -1
  333. package/dist/chunks/file-uploader.CnOqfuI-.js.map +0 -1
  334. package/dist/chunks/filter-bar.CnJAxz9B.js +0 -2559
  335. package/dist/chunks/filter-bar.CnJAxz9B.js.map +0 -1
  336. package/dist/chunks/header-with-views.Dc9LUYNY.js.map +0 -1
  337. package/dist/chunks/isSameWeek.CUD7czUN.js +0 -14
  338. package/dist/chunks/layout-row.BPX00mio.js.map +0 -1
  339. package/dist/chunks/popover.types.WDh5ggr3.js +0 -6
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "1.84.2",
4
+ "version": "1.85.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -121,12 +121,12 @@
121
121
  },
122
122
  {
123
123
  "name": "itemCounter",
124
- "required": true,
125
- "description": "Show how many items are selected",
124
+ "description": "Show how many items are selected.\nWhen omitted in the `confirmation` variant, a generic \"Unsaved changes\" label is displayed.",
126
125
  "value": {
127
126
  "kind": "expression",
128
127
  "type": "number"
129
- }
128
+ },
129
+ "default": "null"
130
130
  },
131
131
  {
132
132
  "name": "selectionLabel",
@@ -251,6 +251,78 @@
251
251
  "symbol": "default"
252
252
  }
253
253
  },
254
+ {
255
+ "name": "ai-tag",
256
+ "description": "",
257
+ "attributes": [
258
+ {
259
+ "name": "title",
260
+ "required": true,
261
+ "description": "The team-provided headline describing the specific AI action.",
262
+ "value": {
263
+ "kind": "expression",
264
+ "type": "string"
265
+ }
266
+ },
267
+ {
268
+ "name": "description",
269
+ "required": true,
270
+ "description": "The team-provided, plain-language explanation of what the AI did, why, or its limitations.",
271
+ "value": {
272
+ "kind": "expression",
273
+ "type": "string"
274
+ }
275
+ },
276
+ {
277
+ "name": "influencedValue",
278
+ "required": false,
279
+ "description": "AI influenced value shown for context.",
280
+ "value": {
281
+ "kind": "expression",
282
+ "type": "string"
283
+ },
284
+ "default": "undefined"
285
+ },
286
+ {
287
+ "name": "toggled",
288
+ "required": false,
289
+ "description": "Whether the AI tag popover is open.",
290
+ "value": {
291
+ "kind": "expression",
292
+ "type": "boolean"
293
+ },
294
+ "default": "false"
295
+ },
296
+ {
297
+ "name": "action",
298
+ "required": false,
299
+ "description": "A call-to-action link or button for users to learn more, manage settings, or provide feedback.\nThe `title` property in the `BentoButtonActionObject` will be used as the button text.",
300
+ "value": {
301
+ "kind": "expression",
302
+ "type": "BentoButtonActionObject"
303
+ },
304
+ "default": "undefined"
305
+ }
306
+ ],
307
+ "events": [
308
+ {
309
+ "name": "update:toggled",
310
+ "description": "Triggered when the popover is toggled"
311
+ }
312
+ ],
313
+ "source": {
314
+ "module": "./src/components/ai-tag/ai-tag.vue",
315
+ "symbol": "default"
316
+ }
317
+ },
318
+ {
319
+ "name": "ai-tag-default",
320
+ "description": "",
321
+ "source": {
322
+ "module": "./src/components/ai-tag/__tests__/ai-tag-default.vue",
323
+ "symbol": "default"
324
+ }
325
+ },
254
326
  {
255
327
  "name": "alert",
256
328
  "description": "",
@@ -5269,6 +5341,50 @@
5269
5341
  "symbol": "default"
5270
5342
  }
5271
5343
  },
5344
+ {
5345
+ "name": "data-grid-tag-with-text-cell",
5346
+ "description": "",
5347
+ "attributes": [
5348
+ {
5349
+ "name": "tag",
5350
+ "required": true,
5351
+ "description": "The tag to display. {@see BentoTagProps}",
5352
+ "value": {
5353
+ "kind": "expression",
5354
+ "type": "BentoTagProps"
5355
+ }
5356
+ },
5357
+ {
5358
+ "name": "value",
5359
+ "required": true,
5360
+ "description": "The text to display next to the tag.",
5361
+ "value": {
5362
+ "kind": "expression",
5363
+ "type": "string"
5364
+ }
5365
+ }
5366
+ ],
5367
+ "source": {
5368
+ "module": "./src/components/data-grid/components/data-grid-tag-with-text-cell/data-grid-tag-with-text-cell.vue",
5369
+ "symbol": "default"
5370
+ }
5371
+ },
5372
+ {
5373
+ "name": "data-grid-tag-with-text-cell-default-example",
5374
+ "description": "",
5375
+ "source": {
5376
+ "module": "./src/components/data-grid/components/data-grid-tag-with-text-cell/__tests__/data-grid-tag-with-text-cell-default-example.vue",
5377
+ "symbol": "default"
5378
+ }
5379
+ },
5380
+ {
5381
+ "name": "data-grid-tag-with-text-cell-example",
5382
+ "description": "",
5383
+ "source": {
5384
+ "module": "./src/components/data-grid/__tests__/data-grid-tag-with-text-cell-example.vue",
5385
+ "symbol": "default"
5386
+ }
5387
+ },
5272
5388
  {
5273
5389
  "name": "data-grid-trend-cell",
5274
5390
  "description": "",
@@ -6114,6 +6230,89 @@
6114
6230
  "symbol": "default"
6115
6231
  }
6116
6232
  },
6233
+ {
6234
+ "name": "draggable-handle",
6235
+ "description": "",
6236
+ "attributes": [
6237
+ {
6238
+ "name": "condensed",
6239
+ "required": false,
6240
+ "description": "Reduces the size of the handle",
6241
+ "value": {
6242
+ "kind": "expression",
6243
+ "type": "TSIndexedAccessType"
6244
+ },
6245
+ "default": "false"
6246
+ },
6247
+ {
6248
+ "name": "disabledMenus",
6249
+ "required": false,
6250
+ "description": "Allows to disable the menus individually",
6251
+ "value": {
6252
+ "kind": "expression",
6253
+ "type": "{\n bottom?: boolean;\n down?: boolean;\n left?: boolean;\n right?: boolean;\n top?: boolean;\n up?: boolean;\n}"
6254
+ },
6255
+ "default": "() => ({})"
6256
+ },
6257
+ {
6258
+ "name": "label",
6259
+ "required": true,
6260
+ "description": "Title or label used to describe the element being dragged.\nUsed for accessibility.",
6261
+ "value": {
6262
+ "kind": "expression",
6263
+ "type": "string"
6264
+ }
6265
+ },
6266
+ {
6267
+ "name": "variant",
6268
+ "required": false,
6269
+ "description": "Determines the set of directional actions available in the handle's context menu.\n\n- `'all-directions'`: Includes 'Move up', 'Move down', 'Move left', 'Move right', 'Move to top', and 'Move to bottom'.\n- `'up-and-down'`: Includes 'Move up', 'Move down', 'Move to top', and 'Move to bottom'.",
6270
+ "value": {
6271
+ "kind": "expression",
6272
+ "type": "union"
6273
+ },
6274
+ "default": "'up-and-down'"
6275
+ }
6276
+ ],
6277
+ "events": [
6278
+ {
6279
+ "name": "move-bottom",
6280
+ "description": "Emitted when the \"Move to bottom\" action is fired."
6281
+ },
6282
+ {
6283
+ "name": "move-down",
6284
+ "description": "Emitted when the \"Move down\" action is fired."
6285
+ },
6286
+ {
6287
+ "name": "move-left",
6288
+ "description": "Emitted when the \"Move left\" action is fired. (Only in `all-directions` variant)"
6289
+ },
6290
+ {
6291
+ "name": "move-right",
6292
+ "description": "Emitted when the \"Move right\" action is fired. (Only in `all-directions` variant)"
6293
+ },
6294
+ {
6295
+ "name": "move-top",
6296
+ "description": "Emitted when the \"Move to top\" action is fired."
6297
+ },
6298
+ {
6299
+ "name": "move-up",
6300
+ "description": "Emitted when the \"Move up\" action is fired."
6301
+ }
6302
+ ],
6303
+ "source": {
6304
+ "module": "./src/components/draggable-handle/draggable-handle.vue",
6305
+ "symbol": "default"
6306
+ }
6307
+ },
6308
+ {
6309
+ "name": "draggable-handle-default-example",
6310
+ "description": "",
6311
+ "source": {
6312
+ "module": "./src/components/draggable-handle/__tests__/draggable-handle-default-example.vue",
6313
+ "symbol": "default"
6314
+ }
6315
+ },
6117
6316
  {
6118
6317
  "name": "dropdown",
6119
6318
  "description": "",
@@ -9156,7 +9355,7 @@
9156
9355
  },
9157
9356
  {
9158
9357
  "name": "reorder:view",
9159
- "description": "Emitted when the user reorganises the order of the views.\nNo `targetViewLabel` is emitted as the views are reordered as a whole."
9358
+ "description": "Emitted when the user reorganizes the order of the views.\nNo `targetViewLabel` is emitted as the views are reordered as a whole."
9160
9359
  },
9161
9360
  {
9162
9361
  "name": "restore:view",
@@ -9393,7 +9592,7 @@
9393
9592
  },
9394
9593
  {
9395
9594
  "name": "reorder:view",
9396
- "description": "Emitted when the user reorganises the order of the views.\nNo `targetViewLabel` is emitted as the views are reordered as a whole."
9595
+ "description": "Emitted when the user reorganizes the order of the views.\nNo `targetViewLabel` is emitted as the views are reordered as a whole."
9397
9596
  },
9398
9597
  {
9399
9598
  "name": "restore:view",
@@ -12707,6 +12906,13 @@
12707
12906
  "type": "BentoPopover.props.position"
12708
12907
  }
12709
12908
  },
12909
+ {
12910
+ "name": "fallbackPosition",
12911
+ "value": {
12912
+ "kind": "expression",
12913
+ "type": "BentoPopover.props.fallbackPosition"
12914
+ }
12915
+ },
12710
12916
  {
12711
12917
  "name": "small",
12712
12918
  "value": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.84.2",
3
+ "version": "1.85.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,6 +37,7 @@
37
37
  "@floating-ui/vue": "1.0.7",
38
38
  "@lezer/highlight": "1.2.1",
39
39
  "@types/mdast": "3.0.15",
40
+ "@types/sortablejs": "1.15.9",
40
41
  "@types/unist": "2.0.11",
41
42
  "@vueuse/core": "11.3.0",
42
43
  "date-fns": "4.1.0",
@@ -46,10 +47,11 @@
46
47
  "mime": "4.0.6",
47
48
  "remark-gfm-old": "npm:remark-gfm@3.0.1",
48
49
  "remark-parse": "10.0.2",
50
+ "sortablejs": "1.15.6",
49
51
  "unified": "11.0.5",
50
52
  "uuid": "11.0.5",
51
53
  "vue-demi": "0.14.10",
52
- "@adyen/bento-design-tokens": "1.84.2"
54
+ "@adyen/bento-design-tokens": "1.85.0"
53
55
  },
54
56
  "dependenciesMeta": {
55
57
  "@adyen/bento-vue-i18n-demi": {
@@ -125,7 +127,7 @@
125
127
  "typescript": "5.6.3",
126
128
  "vite": "5.4.21",
127
129
  "vite-plugin-dynamic-import": "1.5.0",
128
- "vite-plugin-static-copy": "0.15.0",
130
+ "vite-plugin-static-copy": "3.2.0",
129
131
  "vitest": "2.1.9",
130
132
  "vue": "2.7.16",
131
133
  "vue-demi": "0.14.10",
@@ -135,13 +137,11 @@
135
137
  "vue-template-compiler": "2.7.16",
136
138
  "vue-tsc": "1.0.24",
137
139
  "zod": "3.25.35",
138
- "@adyen/bento-cli": "0.9.0",
139
140
  "@adyen/bento-core": "0.0.1",
140
- "@adyen/bento-mcp": "0.1.0",
141
- "@adyen/bento-tailwind": "0.10.1",
141
+ "@adyen/bento-cli": "0.9.1",
142
142
  "@adyen/bento-vue-i18n-demi": "0.1.0",
143
- "@adyen/ui-assets-icons-16": "7.6.0",
144
- "@adyen/ui-assets-payment-method-icons": "10.6.0"
143
+ "@adyen/ui-assets-icons-16": "7.7.0",
144
+ "@adyen/ui-assets-payment-method-icons": "10.6.1"
145
145
  },
146
146
  "optionalDependencies": {
147
147
  "vue-router": "~3.6"
@@ -1,162 +0,0 @@
1
- import { defineComponent as O, computed as c, ref as b, toRefs as P, watch as g, provide as V, nextTick as B } from "vue";
2
- import { B as R } from "./button.DIU6m9wD.js";
3
- import { B as F } from "./typography.Bq-EGj9y.js";
4
- import { B as W } from "./button-actions-with-menu.B5mKwc-F.js";
5
- import { C as L } from "./cross.CC_B-vG-.js";
6
- import { u as k } from "./index.B6WW_F-J.js";
7
- import { u as M } from "./index.BDK4hwK_.js";
8
- import { P as U, B as z } from "./button-actions.D9n7MxWe.js";
9
- import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
10
- import "../assets/action-bar.css";
11
- const G = {
12
- "en-US": {
13
- actionBar: "Action bar",
14
- cancel: "Cancel",
15
- close: "Close",
16
- save: "Save",
17
- selected: "selected",
18
- unsavedChanges: "unsaved change | unsaved changes"
19
- },
20
- "ja-JP": {
21
- actionBar: "アクションバー",
22
- cancel: "キャンセル",
23
- close: "閉じる",
24
- save: "保存",
25
- selected: "選択済み",
26
- unsavedChanges: "未保存の変更 | 未保存の変更"
27
- },
28
- "pt-BR": {
29
- actionBar: "Barra de ação",
30
- cancel: "Cancelar",
31
- close: "Fechar",
32
- save: "Salvar",
33
- selected: "Selecionado",
34
- unsavedChanges: "alteração não salva | alterações não salvas"
35
- }
36
- }, J = {
37
- i18n: { messages: G }
38
- }, K = /* @__PURE__ */ O({
39
- ...J,
40
- __name: "action-bar",
41
- props: {
42
- /**
43
- * List of actions that will be used to render the buttons.
44
- * Required and used for the `default` variant.
45
- *
46
- * Each object in the list should have a `title`, an `event` and,
47
- * optionally, an `icon`.
48
- *
49
- * The component will display 4 actions and the hide the rest inside a menu.
50
- *
51
- * @see BentoButton for a list of all the other props supported by each button action.
52
- */
53
- actions: {
54
- type: Array,
55
- default: () => []
56
- },
57
- /**
58
- * How many actions should be visible outside the menu, cannot be more than 4
59
- */
60
- visibleActions: {
61
- type: Number,
62
- default: 4,
63
- validator: (o) => o > 0 && o <= 4
64
- },
65
- /**
66
- * Use when there are sticky elements at the bottom, like sticky pagination
67
- */
68
- extraBottomSpacing: {
69
- type: Boolean,
70
- default: !1
71
- },
72
- /**
73
- * Show how many items are selected
74
- */
75
- itemCounter: {
76
- type: Number,
77
- required: !0
78
- },
79
- /**
80
- * Label for the selection, e.g. 'selected'/'changed'
81
- */
82
- selectionLabel: {
83
- type: String,
84
- default: null
85
- },
86
- /**
87
- * Variant for the action bar
88
- * @values default, confirmation
89
- */
90
- variant: {
91
- type: String,
92
- default: "default"
93
- }
94
- },
95
- emits: ["close", "cancel", "save"],
96
- setup(o, { emit: e }) {
97
- const a = o, t = 100, v = 7, C = 500, d = 32, { t: r, tc: S, n: E } = k(), I = c(() => a.selectionLabel ? a.selectionLabel : r("selected")), l = b(null), { extraBottomSpacing: y, visibleActions: h } = P(a), { width: i } = M(), n = b(null), u = b(null), A = c(() => a.variant === "confirmation");
98
- g(
99
- () => h.value,
100
- (s) => {
101
- u.value = s <= 4 ? s : 4, n.value = u.value;
102
- },
103
- { immediate: !0 }
104
- );
105
- const T = c(() => ({
106
- "b-action-bar--extra-spacing": y.value,
107
- "b-action-bar--confirmation": A.value
108
- }));
109
- V(U, v);
110
- const N = c(() => {
111
- const s = a.actions.map((x) => ({
112
- ...x,
113
- variant: "secondary"
114
- })), _ = s.slice(0, n.value).reverse(), f = s.slice(n.value);
115
- return [..._, ...f];
116
- }), w = c(() => [
117
- {
118
- title: r("save"),
119
- event: () => e("save")
120
- },
121
- {
122
- title: r("cancel"),
123
- variant: "secondary",
124
- event: () => e("cancel")
125
- }
126
- ]), m = async () => {
127
- await B(), i.value > l.value.clientWidth + d + t && n.value < u.value && (n.value += 1, m());
128
- }, p = async () => {
129
- await B(), i.value < l.value.clientWidth + d && n.value > 0 && (n.value -= 1, p());
130
- };
131
- return g(
132
- () => i.value,
133
- async (s, _) => {
134
- if (await B(), !l.value)
135
- return;
136
- const f = s > _;
137
- i.value < C ? n.value = 0 : f ? m() : p();
138
- },
139
- { immediate: !0 }
140
- ), { __sfc: !0, AVERAGE_BUTTON_SIZE: t, MENU_OFFSET: v, RESPONSIVE_BREAKPOINT: C, SPACING: d, props: a, emit: e, t: r, tc: S, n: E, label: I, actionBar: l, extraBottomSpacing: y, visibleActions: h, width: i, internalDisplayedActions: n, internalVisibleActions: u, isConfirmationVariant: A, conditionalClasses: T, actionsInternal: N, confirmationActions: w, showActions: m, hideActions: p, BentoButton: R, BentoButtonActions: z, BentoTypography: F, ButtonActionsWithMenu: W, CrossIcon: L };
141
- }
142
- });
143
- var j = function() {
144
- var e = this, a = e._self._c, t = e._self._setupProxy;
145
- return a("Transition", { attrs: { name: "b-action-bar__animation", appear: "" } }, [a("section", { staticClass: "b-action-bar", class: t.conditionalClasses, attrs: { "aria-label": t.t("actionBar") } }, [a("div", { ref: "actionBar", staticClass: "b-action-bar__container" }, [t.isConfirmationVariant ? e._e() : a("div", { staticClass: "b-action-bar__close-button" }, [a(t.BentoButton, { attrs: { variant: "tertiary", inverse: "", "aria-label": t.t("close") }, on: { click: function(v) {
146
- return t.emit("close");
147
- } }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
148
- return [a(t.CrossIcon, { attrs: { "aria-hidden": !0 } })];
149
- }, proxy: !0 }], null, !1, 4214210411) })], 1), a(t.BentoTypography, { staticClass: "b-action-bar__selection", attrs: { el: "span", stronger: "" } }, [e._v(" " + e._s(t.n(e.itemCounter)) + " " + e._s(t.isConfirmationVariant ? t.tc("unsavedChanges", e.itemCounter) : t.label) + " ")]), t.isConfirmationVariant ? a(t.BentoButtonActions, { staticClass: "b-action-bar__actions", attrs: { actions: t.confirmationActions, inverse: "" } }) : a(t.ButtonActionsWithMenu, { staticClass: "b-action-bar__actions", attrs: { actions: t.actionsInternal, "displayed-actions": t.internalDisplayedActions, "menu-position": "top-end", "disable-responsive-behavior": "", inverse: "" } })], 1)])]);
150
- }, q = [], Y = /* @__PURE__ */ D(
151
- K,
152
- j,
153
- q,
154
- !1,
155
- null,
156
- "08a7f661"
157
- );
158
- const st = Y.exports;
159
- export {
160
- st as B
161
- };
162
- //# sourceMappingURL=action-bar.y4tcdk7R.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-bar.y4tcdk7R.js","sources":["../../src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section class=\"b-action-bar\" :class=\"conditionalClasses\" :aria-label=\"t('actionBar')\">\n <div ref=\"actionBar\" class=\"b-action-bar__container\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n {{ n(itemCounter) }}\n {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n disable-responsive-behavior\n inverse\n />\n </div>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, type PropType, provide, ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions, type BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n\n import { type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected\n */\n itemCounter: {\n type: Number,\n required: true,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits([\"close\", \"cancel\", \"save\"]);\n\n const { t, tc, n } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","AVERAGE_BUTTON_SIZE","MENU_OFFSET","RESPONSIVE_BREAKPOINT","SPACING","t","tc","n","useI18n","label","computed","props","actionBar","ref","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","emit","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgPIA,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/LAC,IAAA,KACAC,IAAA,GACAC,IAAA,KACAC,IAAA,IA2DA,EAAA,GAAAC,GAAA,IAAAC,GAAA,GAAAC,EAAA,IAAAC,EAAA,GACAC,IAAAC,EAAA,MAAAC,EAAA,iBAAAA,EAAA,iBAAAN,EAAA,UAAA,CAAA,GAGAO,IAAAC,EAAA,IAAA,GACA,EAAA,oBAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAL,CAAA,GACA,EAAA,OAAAM,EAAA,IAAAC,EAAA,GACAC,IAAAN,EAAA,IAAA,GACAO,IAAAP,EAAA,IAAA,GAEAQ,IAAAX,EAAA,MAAAC,EAAA,YAAA,cAAA;AAEA,IAAAW;AAAA,MAAA,MAAAP,EAAA;AAAA,MACyB,CAAAQ,MAAA;AAEjB,QAAAH,EAAA,QAAAG,KAAA,IAAAA,IAAA,GACAJ,EAAA,QAAAC,EAAA;AAAA,MAAwD;AAAA,MAC5D,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAI,IAAAd,EAAA,OAAA;AAAA,MAA2C,+BAAAI,EAAA;AAAA,MACW,8BAAAO,EAAA;AAAA,IACE,EAAA;AAIxD,IAAAI,EAAAC,GAAAxB,CAAA;AAGA,UAAAyB,IAAAjB,EAAA,MAAA;AAEI,YAAAkB,IAAAjB,EAAA,QAAA,IAAA,CAAAkB,OAAA;AAAA,QAA6C,GAAAA;AAAA,QACtC,SAAA;AAAA,MACM,EAAA,GAGbC,IAAAF,EAAA,MAAA,GAAAT,EAAA,KAAA,EAAA,QAAA,GACAY,IAAAH,EAAA,MAAAT,EAAA,KAAA;AAEA,aAAA,CAAA,GAAAW,GAAA,GAAAC,CAAA;AAAA,IAAyC,CAAA,GAG7CC,IAAAtB,EAAA,MAAA;AAAA,MAAmE;AAAA,QAC/D,OAAAL,EAAA,MAAA;AAAA,QACmB,OAAA,MAAA4B,EAAA,MAAA;AAAA,MACS;AAAA,MAC5B;AAAA,QACA,OAAA5B,EAAA,QAAA;AAAA,QACqB,SAAA;AAAA,QACR,OAAA,MAAA4B,EAAA,QAAA;AAAA,MACiB;AAAA,IAC9B,CAAA,GAIJC,IAAA,YAAA;AACI,YAAAC,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAR,IAAAH,KAAAkB,EAAA,QAAAC,EAAA,UAIID,EAAA,SAAA,GACAe,EAAA;AAAA,IACJ,GAGJE,IAAA,YAAA;AACI,YAAAD,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAR,KAAAe,EAAA,QAAA,MACIA,EAAA,SAAA,GACAiB,EAAA;AAAA,IACJ;AAIJ,WAAAd;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,OAAAoB,GAAAC,MAAA;AAGR,YADA,MAAAH,EAAA,GACA,CAAAvB,EAAA;AACI;AAEJ,cAAA2B,IAAAF,IAAAC;AACA,QAAArB,EAAA,QAAAd,IACIgB,EAAA,QAAA,IAAiCoB,IAEjCL,EAAA,IAEAE,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;"}
@@ -1,67 +0,0 @@
1
- import { defineComponent as u, useSlots as _, computed as d, onMounted as f } from "vue";
2
- import { B as p } from "./button.DIU6m9wD.js";
3
- /* empty css */
4
- import { n as l } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
- import { u as m } from "./use-has-slot.C9lQZ6nz.js";
6
- import { p as b } from "./typography.Bq-EGj9y.js";
7
- import "../assets/ai-button.css";
8
- let o = 0;
9
- const v = {
10
- beforeCreate() {
11
- this.uuid = o.toString(), o += 1;
12
- }
13
- };
14
- var g = function() {
15
- var t = this, s = t._self._c;
16
- return s("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? s("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), s("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-artificial_intelligence_ai_filled__a" + t.uuid + ")" } }, [s("path", { attrs: { fill: "#001222", d: "M8.75 2.75C8.75 5.23579 10.7642 7.25 13.25 7.25H15.5V8.75H13.25C10.7642 8.75 8.75 10.7642 8.75 13.25V15.5H7.25V13.25C7.25 10.7642 5.23579 8.75 2.75 8.75H0.5V7.25H2.75C5.23579 7.25 7.25 5.23579 7.25 2.75V0.5H8.75V2.75Z" } })]), s("defs", [s("clipPath", { attrs: { id: "uia-ui-assets/icons-16-artificial_intelligence_ai_filled__a" + t.uuid } }, [s("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
17
- }, C = [], h = /* @__PURE__ */ l(
18
- v,
19
- g,
20
- C,
21
- !1,
22
- null,
23
- null
24
- );
25
- const y = h.exports, B = {
26
- name: "bento-ai-button"
27
- }, k = /* @__PURE__ */ u({
28
- ...B,
29
- props: {
30
- condensed: { type: Boolean, default: !1 },
31
- disabled: { type: Boolean, default: !1 },
32
- inverse: { type: Boolean, default: !1 },
33
- link: { default: void 0 },
34
- type: { default: "button" }
35
- },
36
- emits: ["click"],
37
- setup(i, { emit: t }) {
38
- const s = i, n = _(), e = m(n), r = d(() => ({
39
- "b-ai-button--disabled": s.disabled
40
- })), c = (a) => {
41
- a.stopPropagation(), t("click", a);
42
- };
43
- return f(() => {
44
- e("default") || b("An icon-only button cannot be a AI button");
45
- }), { __sfc: !0, props: s, emit: t, slots: n, hasSlot: e, conditionalClass: r, onClick: c, BentoButton: p, AiFilledIcon: y };
46
- }
47
- });
48
- var H = function() {
49
- var t = this, s = t._self._c, n = t._self._setupProxy;
50
- return s("div", { staticClass: "b-ai-button", class: n.conditionalClass }, [s("div", { staticClass: "b-ai-button__animation" }), s(n.BentoButton, { staticClass: "b-ai-button__button", attrs: { condensed: t.condensed, disabled: t.disabled, inverse: t.inverse, variant: "secondary" }, on: { "!click": function(e) {
51
- return e.stopPropagation(), n.onClick.apply(null, arguments);
52
- } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
53
- return [s(n.AiFilledIcon, { staticClass: "b-ai-button__icon", attrs: { "aria-hidden": "true" } })];
54
- }, proxy: !0 }]) }, [t._t("default")], 2)], 1);
55
- }, $ = [], w = /* @__PURE__ */ l(
56
- k,
57
- H,
58
- $,
59
- !1,
60
- null,
61
- "d7320b14"
62
- );
63
- const I = w.exports;
64
- export {
65
- I as a
66
- };
67
- //# sourceMappingURL=ai-button.BEy4Gly-.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ai-button.BEy4Gly-.js","sources":["../../../ui-assets/icons-16/dist/vue/artificial-intelligence-ai-filled.vue","../../src/components/button/components/ai-button/ai-button.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-artificial_intelligence_ai_filled__a' + uuid + ')'\"><path fill=\"#001222\" d=\"M8.75 2.75C8.75 5.23579 10.7642 7.25 13.25 7.25H15.5V8.75H13.25C10.7642 8.75 8.75 10.7642 8.75 13.25V15.5H7.25V13.25C7.25 10.7642 5.23579 8.75 2.75 8.75H0.5V7.25H2.75C5.23579 7.25 7.25 5.23579 7.25 2.75V0.5H8.75V2.75Z\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-artificial_intelligence_ai_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div class=\"b-ai-button\" :class=\"conditionalClass\">\n <div class=\"b-ai-button__animation\" />\n\n <bento-button\n class=\"b-ai-button__button\"\n :condensed=\"condensed\"\n :disabled=\"disabled\"\n :inverse=\"inverse\"\n variant=\"secondary\"\n @click.capture.stop=\"onClick\"\n >\n <template #iconLeft>\n <ai-filled-icon aria-hidden=\"true\" class=\"b-ai-button__icon\" />\n </template>\n\n <slot></slot>\n </bento-button>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n import BentoButton from '../../button.vue';\n import AiFilledIcon from '@adyen/ui-assets-icons-16/vue/artificial-intelligence-ai-filled';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\n import { type BentoAiButtonProps } from './ai-button.types';\n\n const props = defineProps({\n condensed: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n inverse: { type: Boolean, default: false },\n link: { default: undefined },\n type: { default: 'button' }\n});\n\n const emit = defineEmits([\"click\"]);\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const conditionalClass = computed(() => ({\n 'b-ai-button--disabled': props.disabled,\n }));\n\n const onClick = (e: MouseEvent) => {\n // Prevent Vue3 from triggering event twice\n e.stopPropagation();\n\n emit('click', e);\n };\n\n onMounted(() => {\n if (!hasSlot('default')) {\n printDevelopmentWarning('An icon-only button cannot be a AI button');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * AI Button component is used for cases where pressing a button starts an AI-related action.\n *\n * @example\n * import { BentoAiButton } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAiButton },\n * template: `\n * <bento-ai-button @click=\"onClick\">Generate with AI</bento-ai-button>\n * `\n * }\n */\n export default {\n name: 'bento-ai-button',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./ai-button.scss\" />\n"],"names":["uuid","_sfc_main$1","__default__","slots","useSlots","hasSlot","useHasSlot","conditionalClass","computed","props","onClick","e","emit","onMounted","printDevelopmentWarning"],"mappings":";;;;;;;AAOA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;qBC4DIE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;iBArCAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,OAAA;AAAA,MAAyC,yBAAAC,EAAA;AAAA,IACN,EAAA,GAGnCC,IAAA,CAAAC,MAAA;AAEI,MAAAA,EAAA,gBAAA,GAEAC,EAAA,SAAAD,CAAA;AAAA,IAAe;AAGnB,WAAAE,EAAA,MAAA;AACI,MAAAR,EAAA,SAAA,KACIS,EAAA,2CAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +0,0 @@
1
- import { c as t } from "./getTimezoneOffsetInMilliseconds.C-aIpRfB.js";
2
- function c(o) {
3
- return t(o, Date.now());
4
- }
5
- export {
6
- c
7
- };
8
- //# sourceMappingURL=constructNow.DuaJst0D.js.map