@adyen/bento-vue3 1.89.2 → 1.90.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 (243) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +403 -298
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.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/card.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/file-uploader.css +1 -1
  17. package/dist/assets/input-time.css +1 -0
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/secondary-nav.css +1 -1
  21. package/dist/assets/sidepanel.css +1 -1
  22. package/dist/button.js +1 -1
  23. package/dist/card.js +1 -1
  24. package/dist/checkbox.js +2 -2
  25. package/dist/chip.js +1 -1
  26. package/dist/chunks/accordion-item.CZIxxSsH.js +141 -0
  27. package/dist/chunks/{accordion-item.BX1KrLMl.js.map → accordion-item.CZIxxSsH.js.map} +1 -1
  28. package/dist/chunks/action-bar.Pe_hvtja.js +336 -0
  29. package/dist/chunks/{action-bar.DLMaIUWW.js.map → action-bar.Pe_hvtja.js.map} +1 -1
  30. package/dist/chunks/ai-tag.BSlc78DU.js +137 -0
  31. package/dist/chunks/{ai-tag.DK63ExDc.js.map → ai-tag.BSlc78DU.js.map} +1 -1
  32. package/dist/chunks/{alert.C_8-VNi_.js → alert.CFWN2E0b.js} +86 -79
  33. package/dist/chunks/{alert.C_8-VNi_.js.map → alert.CFWN2E0b.js.map} +1 -1
  34. package/dist/chunks/anchor-scroller.DSfXK6vK.js +214 -0
  35. package/dist/chunks/{anchor-scroller.NhjLDBZI.js.map → anchor-scroller.DSfXK6vK.js.map} +1 -1
  36. package/dist/chunks/{base-modal.C2-JyHC_.js → base-modal.BjjDrx0z.js} +132 -125
  37. package/dist/chunks/{base-modal.C2-JyHC_.js.map → base-modal.BjjDrx0z.js.map} +1 -1
  38. package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js → button-actions-with-menu.DvkS16ur.js} +2 -2
  39. package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js.map → button-actions-with-menu.DvkS16ur.js.map} +1 -1
  40. package/dist/chunks/{button-actions.cMQWyZne.js → button-actions.Bh_PZ_fV.js} +202 -188
  41. package/dist/chunks/{button-actions.cMQWyZne.js.map → button-actions.Bh_PZ_fV.js.map} +1 -1
  42. package/dist/chunks/{calendar.DcCqkSNJ.js → calendar.CH-1Vgeb.js} +343 -329
  43. package/dist/chunks/{calendar.DcCqkSNJ.js.map → calendar.CH-1Vgeb.js.map} +1 -1
  44. package/dist/chunks/card.BzCGCCzH.js +223 -0
  45. package/dist/chunks/{card.CoxQ_L0w.js.map → card.BzCGCCzH.js.map} +1 -1
  46. package/dist/chunks/{checkbox-group.96n9Cc3W.js → checkbox-group.D_fN6Glu.js} +4 -4
  47. package/dist/chunks/{checkbox-group.96n9Cc3W.js.map → checkbox-group.D_fN6Glu.js.map} +1 -1
  48. package/dist/chunks/{checkbox.C6ATh8f5.js → checkbox.BlAhQl9N.js} +78 -71
  49. package/dist/chunks/{checkbox.C6ATh8f5.js.map → checkbox.BlAhQl9N.js.map} +1 -1
  50. package/dist/chunks/chip.DFldnqfz.js +72 -0
  51. package/dist/chunks/{chip.CdgpQyXN.js.map → chip.DFldnqfz.js.map} +1 -1
  52. package/dist/chunks/{code-snippet.DgAuuZF5.js → code-snippet.BePxxR3q.js} +113 -106
  53. package/dist/chunks/{code-snippet.DgAuuZF5.js.map → code-snippet.BePxxR3q.js.map} +1 -1
  54. package/dist/chunks/{controls-group.C7hOE1F4.js → controls-group.Cxk-0fCy.js} +2 -2
  55. package/dist/chunks/{controls-group.C7hOE1F4.js.map → controls-group.Cxk-0fCy.js.map} +1 -1
  56. package/dist/chunks/copy.CL893i9-.js +114 -0
  57. package/dist/chunks/{copy.C2kQ1PbI.js.map → copy.CL893i9-.js.map} +1 -1
  58. package/dist/chunks/{country.CaGc08Ps.js → country.15m_ATbO.js} +3 -3
  59. package/dist/chunks/{country.CaGc08Ps.js.map → country.15m_ATbO.js.map} +1 -1
  60. package/dist/chunks/country.types.6a7xxZIR.js +26 -0
  61. package/dist/chunks/{country.types.DjpMGz7a.js.map → country.types.6a7xxZIR.js.map} +1 -1
  62. package/dist/chunks/{dashboard-section.UafHRkMa.js → dashboard-section.CiNDItU2.js} +3 -3
  63. package/dist/chunks/{dashboard-section.UafHRkMa.js.map → dashboard-section.CiNDItU2.js.map} +1 -1
  64. package/dist/chunks/{dashed-underline.CcDV2Aks.js → dashed-underline.CwdpUz76.js} +3 -3
  65. package/dist/chunks/{dashed-underline.CcDV2Aks.js.map → dashed-underline.CwdpUz76.js.map} +1 -1
  66. package/dist/chunks/{data-grid-template.CnC4TQvk.js → data-grid-template.nXn1dLCw.js} +4 -4
  67. package/dist/chunks/{data-grid-template.CnC4TQvk.js.map → data-grid-template.nXn1dLCw.js.map} +1 -1
  68. package/dist/chunks/data-grid.CXWaoqzi.js +4242 -0
  69. package/dist/chunks/data-grid.CXWaoqzi.js.map +1 -0
  70. package/dist/chunks/date-picker.DPjCROIP.js +238 -0
  71. package/dist/chunks/{date-picker.dlzZ_-5f.js.map → date-picker.DPjCROIP.js.map} +1 -1
  72. package/dist/chunks/date-range-picker.fyrfFd04.js +998 -0
  73. package/dist/chunks/date-range-picker.fyrfFd04.js.map +1 -0
  74. package/dist/chunks/dialog-page.Bh-7RAwX.js +163 -0
  75. package/dist/chunks/{dialog-page.COfKqjT-.js.map → dialog-page.Bh-7RAwX.js.map} +1 -1
  76. package/dist/chunks/{dropdown-default-textbox.bq9AlGzJ.js → dropdown-default-textbox.aYsTZDZ7.js} +69 -62
  77. package/dist/chunks/{dropdown-default-textbox.bq9AlGzJ.js.map → dropdown-default-textbox.aYsTZDZ7.js.map} +1 -1
  78. package/dist/chunks/{dropdown-tag.Ysrac5GN.js → dropdown-tag.B7OA_Yv9.js} +5 -5
  79. package/dist/chunks/{dropdown-tag.Ysrac5GN.js.map → dropdown-tag.B7OA_Yv9.js.map} +1 -1
  80. package/dist/chunks/{dropdown.MhmX1P9o.js → dropdown.Do-mZiI6.js} +285 -271
  81. package/dist/chunks/{dropdown.MhmX1P9o.js.map → dropdown.Do-mZiI6.js.map} +1 -1
  82. package/dist/chunks/error-message.849uzpkq.js +157 -0
  83. package/dist/chunks/{error-message.DCgo8q20.js.map → error-message.849uzpkq.js.map} +1 -1
  84. package/dist/chunks/{file-uploader.Bfd1uUMe.js → file-uploader.BUvDU_cn.js} +604 -583
  85. package/dist/chunks/{file-uploader.Bfd1uUMe.js.map → file-uploader.BUvDU_cn.js.map} +1 -1
  86. package/dist/chunks/{filter-bar.CkAjLQol.js → filter-bar.fowl40RS.js} +998 -928
  87. package/dist/chunks/{filter-bar.CkAjLQol.js.map → filter-bar.fowl40RS.js.map} +1 -1
  88. package/dist/chunks/fixed-scroller.yVsaQzy5.js +157 -0
  89. package/dist/chunks/{fixed-scroller.DtkaGyMD.js.map → fixed-scroller.yVsaQzy5.js.map} +1 -1
  90. package/dist/chunks/{footer-actions.BcYSsoUg.js → footer-actions.uoNbOGAQ.js} +2 -2
  91. package/dist/chunks/{footer-actions.BcYSsoUg.js.map → footer-actions.uoNbOGAQ.js.map} +1 -1
  92. package/dist/chunks/form-layout-title.Cr3wdpK_.js +239 -0
  93. package/dist/chunks/{form-layout-title.DW5Kg1rh.js.map → form-layout-title.Cr3wdpK_.js.map} +1 -1
  94. package/dist/chunks/{header-meta.Bym9AlQm.js → header-meta.CmH6SnjE.js} +98 -84
  95. package/dist/chunks/{header-meta.Bym9AlQm.js.map → header-meta.CmH6SnjE.js.map} +1 -1
  96. package/dist/chunks/{header-with-views.Djba6iol.js → header-with-views.B2pPBcTf.js} +1091 -1070
  97. package/dist/chunks/{header-with-views.Djba6iol.js.map → header-with-views.B2pPBcTf.js.map} +1 -1
  98. package/dist/chunks/{header.o-7SyHtU.js → header.BVM8Usdi.js} +3 -3
  99. package/dist/chunks/{header.o-7SyHtU.js.map → header.BVM8Usdi.js.map} +1 -1
  100. package/dist/chunks/{info-icon.BUala_wq.js → info-icon.B3MDsjMu.js} +2 -2
  101. package/dist/chunks/{info-icon.BUala_wq.js.map → info-icon.B3MDsjMu.js.map} +1 -1
  102. package/dist/chunks/input-field-password.CHb2Ros_.js +353 -0
  103. package/dist/chunks/{input-field-password.DZytmp_p.js.map → input-field-password.CHb2Ros_.js.map} +1 -1
  104. package/dist/chunks/{input-field-phone-number.CxblrmaU.js → input-field-phone-number.DM2rmZkQ.js} +12 -5
  105. package/dist/chunks/{input-field-phone-number.CxblrmaU.js.map → input-field-phone-number.DM2rmZkQ.js.map} +1 -1
  106. package/dist/chunks/{input-field.CfU0ZKtL.js → input-field.DnYjM6yy.js} +118 -111
  107. package/dist/chunks/{input-field.CfU0ZKtL.js.map → input-field.DnYjM6yy.js.map} +1 -1
  108. package/dist/chunks/input-time.DeJ8lDio.js +103 -0
  109. package/dist/chunks/input-time.DeJ8lDio.js.map +1 -0
  110. package/dist/chunks/{inspector.B9k4tJWe.js → inspector.DMhKNW1K.js} +70 -63
  111. package/dist/chunks/{inspector.B9k4tJWe.js.map → inspector.DMhKNW1K.js.map} +1 -1
  112. package/dist/chunks/{list-item.DO5uULke.js → list-item.BHvXpqaS.js} +2 -2
  113. package/dist/chunks/{list-item.DO5uULke.js.map → list-item.BHvXpqaS.js.map} +1 -1
  114. package/dist/chunks/{listbox-option-tag.Cvplth7d.js → listbox-option-tag.CVxaZqbc.js} +2 -2
  115. package/dist/chunks/{listbox-option-tag.Cvplth7d.js.map → listbox-option-tag.CVxaZqbc.js.map} +1 -1
  116. package/dist/chunks/{modal-fullscreen.CuKVyTWb.js → modal-fullscreen.9CSTqFQc.js} +54 -47
  117. package/dist/chunks/{modal-fullscreen.CuKVyTWb.js.map → modal-fullscreen.9CSTqFQc.js.map} +1 -1
  118. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js → modal.vue_vue_type_script_setup_true_lang.BAxTkaQM.js} +48 -41
  119. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map → modal.vue_vue_type_script_setup_true_lang.BAxTkaQM.js.map} +1 -1
  120. package/dist/chunks/pagination.DL-h8OLF.js +413 -0
  121. package/dist/chunks/{pagination.dpVc6Yt0.js.map → pagination.DL-h8OLF.js.map} +1 -1
  122. package/dist/chunks/{promo-banner.BzveHNOI.js → promo-banner.-H4r_cwj.js} +39 -32
  123. package/dist/chunks/{promo-banner.BzveHNOI.js.map → promo-banner.-H4r_cwj.js.map} +1 -1
  124. package/dist/chunks/{radio-group.Cuiq4mxy.js → radio-group.DzhQgXv9.js} +4 -4
  125. package/dist/chunks/{radio-group.Cuiq4mxy.js.map → radio-group.DzhQgXv9.js.map} +1 -1
  126. package/dist/chunks/{rich-text-editor.DLMiT4f5.js → rich-text-editor.Ij2t4pyI.js} +418 -411
  127. package/dist/chunks/{rich-text-editor.DLMiT4f5.js.map → rich-text-editor.Ij2t4pyI.js.map} +1 -1
  128. package/dist/chunks/search-bar.DfNwnjes.js +114 -0
  129. package/dist/chunks/{search-bar.CsFyP0_I.js.map → search-bar.DfNwnjes.js.map} +1 -1
  130. package/dist/chunks/secondary-nav.CvipTDRh.js +285 -0
  131. package/dist/chunks/secondary-nav.CvipTDRh.js.map +1 -0
  132. package/dist/chunks/{segmented-control.KeQ5kuR1.js → segmented-control.CQWOO1-J.js} +2 -2
  133. package/dist/chunks/{segmented-control.KeQ5kuR1.js.map → segmented-control.CQWOO1-J.js.map} +1 -1
  134. package/dist/chunks/{selection-card-group.XM11Kk-4.js → selection-card-group.CcOWQAUC.js} +11 -11
  135. package/dist/chunks/{selection-card-group.XM11Kk-4.js.map → selection-card-group.CcOWQAUC.js.map} +1 -1
  136. package/dist/chunks/{sidepanel.b2QZ1Jsx.js → sidepanel.BObSv8UU.js} +56 -49
  137. package/dist/chunks/{sidepanel.b2QZ1Jsx.js.map → sidepanel.BObSv8UU.js.map} +1 -1
  138. package/dist/chunks/step.AsX2jAeL.js +268 -0
  139. package/dist/chunks/{step.BlwoLfdw.js.map → step.AsX2jAeL.js.map} +1 -1
  140. package/dist/chunks/structured-list-item.CgJR_ufh.js +112 -0
  141. package/dist/chunks/{structured-list-item.e-8kRleh.js.map → structured-list-item.CgJR_ufh.js.map} +1 -1
  142. package/dist/chunks/{summary-grid.types.CcvOC03H.js → summary-grid.types.DKPhtHw3.js} +5 -5
  143. package/dist/chunks/{summary-grid.types.CcvOC03H.js.map → summary-grid.types.DKPhtHw3.js.map} +1 -1
  144. package/dist/chunks/{tab.mR5uUSdp.js → tab.9nyNZiGw.js} +2 -2
  145. package/dist/chunks/{tab.mR5uUSdp.js.map → tab.9nyNZiGw.js.map} +1 -1
  146. package/dist/chunks/{tag.DujMVFh-.js → tag.YN2r-Pp3.js} +2 -2
  147. package/dist/chunks/{tag.DujMVFh-.js.map → tag.YN2r-Pp3.js.map} +1 -1
  148. package/dist/chunks/textarea.C-sBemuo.js +256 -0
  149. package/dist/chunks/{textarea.CHV6Z8nt.js.map → textarea.C-sBemuo.js.map} +1 -1
  150. package/dist/chunks/timeline-item.CHk8wXeT.js +433 -0
  151. package/dist/chunks/{timeline-item.CaGcRZbt.js.map → timeline-item.CHk8wXeT.js.map} +1 -1
  152. package/dist/chunks/{toast.C2oehk9P.js → toast.De4MTkiH.js} +64 -57
  153. package/dist/chunks/{toast.C2oehk9P.js.map → toast.De4MTkiH.js.map} +1 -1
  154. package/dist/chunks/{tooltip.CbADa_4p.js → tooltip.DHfG2aRt.js} +40 -38
  155. package/dist/chunks/tooltip.DHfG2aRt.js.map +1 -0
  156. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js → tutorial.vue_vue_type_script_setup_true_lang.CUDeriBU.js} +120 -113
  157. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map → tutorial.vue_vue_type_script_setup_true_lang.CUDeriBU.js.map} +1 -1
  158. package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js → use-cached-selected-values.DIbfa5F1.js} +381 -360
  159. package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js.map → use-cached-selected-values.DIbfa5F1.js.map} +1 -1
  160. package/dist/chunks/{use-country-items.D_3LBe2I.js → use-country-items.Dp7X1r2e.js} +3 -3
  161. package/dist/chunks/{use-country-items.D_3LBe2I.js.map → use-country-items.Dp7X1r2e.js.map} +1 -1
  162. package/dist/chunks/{use-country-phon-code.DoqTGkNr.js → use-country-phon-code.BzcawGpE.js} +107 -104
  163. package/dist/chunks/{use-country-phon-code.DoqTGkNr.js.map → use-country-phon-code.BzcawGpE.js.map} +1 -1
  164. package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js → use-date-input-formatter.BiIraXZZ.js} +2 -2
  165. package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js.map → use-date-input-formatter.BiIraXZZ.js.map} +1 -1
  166. package/dist/code-snippet.js +1 -1
  167. package/dist/country.js +3 -3
  168. package/dist/dashboard-template.js +1 -1
  169. package/dist/dashed-underline.js +1 -1
  170. package/dist/data-grid-template.js +1 -1
  171. package/dist/data-grid.js +1 -1
  172. package/dist/date-picker.js +2 -2
  173. package/dist/date-range-picker.js +2 -2
  174. package/dist/draggable-handle.js +51 -44
  175. package/dist/draggable-handle.js.map +1 -1
  176. package/dist/dropdown.js +4 -4
  177. package/dist/file-uploader.js +1 -1
  178. package/dist/filter-bar.js +1 -1
  179. package/dist/form-layout.js +1 -1
  180. package/dist/header-with-views.js +1 -1
  181. package/dist/header.js +1 -1
  182. package/dist/index.js +205 -203
  183. package/dist/index.js.map +1 -1
  184. package/dist/info-icon.js +1 -1
  185. package/dist/input-field-password.js +1 -1
  186. package/dist/input-field-phone-number.js +1 -1
  187. package/dist/input-field.js +1 -1
  188. package/dist/input-time.js +5 -0
  189. package/dist/input-time.js.map +1 -0
  190. package/dist/inspector.js +1 -1
  191. package/dist/internal.js +12 -12
  192. package/dist/list.js +1 -1
  193. package/dist/menu.js +1 -1
  194. package/dist/modal-fullscreen.js +1 -1
  195. package/dist/modal.js +2 -2
  196. package/dist/pagination.js +1 -1
  197. package/dist/popover.js +1 -1
  198. package/dist/promo-banner.js +1 -1
  199. package/dist/radio-group.js +1 -1
  200. package/dist/rich-text-editor.js +1 -1
  201. package/dist/search-bar.js +2 -2
  202. package/dist/secondary-nav.js +1 -1
  203. package/dist/segmented-control.js +1 -1
  204. package/dist/selection-card.js +1 -1
  205. package/dist/sidepanel.js +1 -1
  206. package/dist/stepper.js +1 -1
  207. package/dist/structured-list.js +1 -1
  208. package/dist/summary-grid.js +1 -1
  209. package/dist/tabs.js +1 -1
  210. package/dist/tag.js +1 -1
  211. package/dist/textarea.js +1 -1
  212. package/dist/timeline.js +1 -1
  213. package/dist/toast.js +1 -1
  214. package/dist/tutorial.js +1 -1
  215. package/dist/web-types.json +1 -1
  216. package/package.json +4 -4
  217. package/dist/chunks/accordion-item.BX1KrLMl.js +0 -134
  218. package/dist/chunks/action-bar.DLMaIUWW.js +0 -329
  219. package/dist/chunks/ai-tag.DK63ExDc.js +0 -130
  220. package/dist/chunks/anchor-scroller.NhjLDBZI.js +0 -207
  221. package/dist/chunks/card.CoxQ_L0w.js +0 -216
  222. package/dist/chunks/chip.CdgpQyXN.js +0 -65
  223. package/dist/chunks/copy.C2kQ1PbI.js +0 -107
  224. package/dist/chunks/country.types.DjpMGz7a.js +0 -19
  225. package/dist/chunks/data-grid.BSIXLRm7.js +0 -4014
  226. package/dist/chunks/data-grid.BSIXLRm7.js.map +0 -1
  227. package/dist/chunks/date-picker.dlzZ_-5f.js +0 -231
  228. package/dist/chunks/date-range-picker.DC6CK0As.js +0 -995
  229. package/dist/chunks/date-range-picker.DC6CK0As.js.map +0 -1
  230. package/dist/chunks/dialog-page.COfKqjT-.js +0 -156
  231. package/dist/chunks/error-message.DCgo8q20.js +0 -143
  232. package/dist/chunks/fixed-scroller.DtkaGyMD.js +0 -150
  233. package/dist/chunks/form-layout-title.DW5Kg1rh.js +0 -230
  234. package/dist/chunks/input-field-password.DZytmp_p.js +0 -346
  235. package/dist/chunks/pagination.dpVc6Yt0.js +0 -401
  236. package/dist/chunks/search-bar.CsFyP0_I.js +0 -107
  237. package/dist/chunks/secondary-nav.CLBdq98c.js +0 -138
  238. package/dist/chunks/secondary-nav.CLBdq98c.js.map +0 -1
  239. package/dist/chunks/step.BlwoLfdw.js +0 -259
  240. package/dist/chunks/structured-list-item.e-8kRleh.js +0 -105
  241. package/dist/chunks/textarea.CHV6Z8nt.js +0 -247
  242. package/dist/chunks/timeline-item.CaGcRZbt.js +0 -419
  243. package/dist/chunks/tooltip.CbADa_4p.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { c as n, B as o, a as p, b as a } from "./chunks/code-snippet.DgAuuZF5.js";
1
+ import { c as n, B as o, a as p, b as a } from "./chunks/code-snippet.BePxxR3q.js";
2
2
  export {
3
3
  n as BentoCodeSnippet,
4
4
  o as BentoCodeSnippetEvent,
package/dist/country.js CHANGED
@@ -1,6 +1,6 @@
1
- import { c as a } from "./chunks/country.CaGc08Ps.js";
2
- import { B as r, a as n, u } from "./chunks/country.types.DjpMGz7a.js";
3
- import { u as C, a as y } from "./chunks/use-country-phon-code.DoqTGkNr.js";
1
+ import { c as a } from "./chunks/country.15m_ATbO.js";
2
+ import { B as r, a as n, u } from "./chunks/country.types.6a7xxZIR.js";
3
+ import { u as C, a as y } from "./chunks/use-country-phon-code.BzcawGpE.js";
4
4
  export {
5
5
  a as BentoCountry,
6
6
  r as BentoCountryCode,
@@ -1,4 +1,4 @@
1
- import { d as e, a as t } from "./chunks/dashboard-section.UafHRkMa.js";
1
+ import { d as e, a as t } from "./chunks/dashboard-section.CiNDItU2.js";
2
2
  export {
3
3
  e as BentoDashboardSection,
4
4
  t as BentoDashboardTemplate
@@ -1,4 +1,4 @@
1
- import { B as o } from "./chunks/dashed-underline.CcDV2Aks.js";
1
+ import { B as o } from "./chunks/dashed-underline.CwdpUz76.js";
2
2
  export {
3
3
  o as BentoDashedUnderline
4
4
  };
@@ -1,4 +1,4 @@
1
- import { d as t } from "./chunks/data-grid-template.CnC4TQvk.js";
1
+ import { d as t } from "./chunks/data-grid-template.nXn1dLCw.js";
2
2
  export {
3
3
  t as BentoDataGridTemplate
4
4
  };
package/dist/data-grid.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e, d as o, a as r, b as i, c as n, e as d, f as B, g as l, h as s, i as D } from "./chunks/data-grid.BSIXLRm7.js";
1
+ import { B as e, d as o, a as r, b as i, c as n, e as d, f as B, g as l, h as s, i as D } from "./chunks/data-grid.CXWaoqzi.js";
2
2
  export {
3
3
  e as BentoColumnOverflow,
4
4
  o as BentoDataGrid,
@@ -1,6 +1,6 @@
1
- import { B as a } from "./chunks/date-picker.dlzZ_-5f.js";
1
+ import { B as a } from "./chunks/date-picker.DPjCROIP.js";
2
2
  import { B as o } from "./chunks/date-picker.types.Ckt7zxGy.js";
3
- import { C as n, a as B } from "./chunks/calendar.DcCqkSNJ.js";
3
+ import { C as n, a as B } from "./chunks/calendar.CH-1Vgeb.js";
4
4
  export {
5
5
  a as BentoDatePicker,
6
6
  o as BentoDatePickerEvent,
@@ -1,6 +1,6 @@
1
- import { B as t } from "./chunks/date-range-picker.DC6CK0As.js";
1
+ import { B as t } from "./chunks/date-range-picker.fyrfFd04.js";
2
2
  import { B as n } from "./chunks/date-range-picker.types.Ckt7zxGy.js";
3
- import { C as i, a as B } from "./chunks/calendar.DcCqkSNJ.js";
3
+ import { C as i, a as B } from "./chunks/calendar.CH-1Vgeb.js";
4
4
  export {
5
5
  t as BentoDateRangePicker,
6
6
  n as BentoDateRangePickerEvent,
@@ -1,64 +1,71 @@
1
- import { openBlock as s, createElementBlock as d, mergeProps as f, toDisplayString as g, createCommentVNode as w, createElementVNode as l, defineComponent as M, computed as p, createBlock as T, unref as v, withCtx as $, createVNode as B } from "vue";
2
- import { f as x } from "./chunks/button-actions.cMQWyZne.js";
3
- import { u as D } from "./chunks/index.B875RXHM.js";
4
- import { G as R } from "./chunks/grab.DJYL4kBq.js";
1
+ import { openBlock as i, createElementBlock as m, mergeProps as T, toDisplayString as f, createCommentVNode as g, createElementVNode as s, defineComponent as w, computed as v, createBlock as _, unref as p, withCtx as D, createVNode as R } from "vue";
2
+ import { f as B } from "./chunks/button-actions.Bh_PZ_fV.js";
3
+ import { u as $ } from "./chunks/index.B875RXHM.js";
4
+ import { G as U } from "./chunks/grab.DJYL4kBq.js";
5
5
  /* empty css */
6
- import { _ as m } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
- import { A as I } from "./chunks/arrow-left.C6UiqO-c.js";
8
- import { A } from "./chunks/arrow-right.fSdLV_ho.js";
6
+ import { _ as d } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
+ import { A as S } from "./chunks/arrow-left.C6UiqO-c.js";
8
+ import { A as N } from "./chunks/arrow-right.fSdLV_ho.js";
9
9
  import "./assets/draggable-handle.css";
10
- let u = 0;
11
- const C = {
10
+ let h = 0;
11
+ const x = {
12
12
  beforeCreate() {
13
- this.uuid = u.toString(), u += 1;
13
+ this.uuid = h.toString(), h += 1;
14
14
  }
15
- }, U = { key: 0 };
16
- function k(t, n, a, e, r, i) {
17
- return s(), d("svg", f({ role: "img" }, t.$attrs, {
15
+ }, I = { key: 0 };
16
+ function C(t, n, a, e, r, l) {
17
+ return i(), m("svg", T({ role: "img" }, t.$attrs, {
18
18
  class: "ui-assets-icons-16",
19
19
  xmlns: "http://www.w3.org/2000/svg",
20
20
  width: "16",
21
21
  height: "16",
22
22
  fill: "none"
23
23
  }), [
24
- t.$attrs["svg-title"] ? (s(), d("title", U, g(t.$attrs["svg-title"]), 1)) : w("", !0),
25
- n[0] || (n[0] = l("path", {
24
+ t.$attrs["svg-title"] ? (i(), m("title", I, f(t.$attrs["svg-title"]), 1)) : g("", !0),
25
+ n[0] || (n[0] = s("path", {
26
26
  fill: "#001222",
27
27
  d: "M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z"
28
28
  }, null, -1))
29
29
  ], 16);
30
30
  }
31
- const c = /* @__PURE__ */ m(C, [["render", k]]);
32
- let b = 0;
33
- const y = {
31
+ const c = /* @__PURE__ */ d(x, [["render", C]]);
32
+ let u = 0;
33
+ const k = {
34
34
  beforeCreate() {
35
- this.uuid = b.toString(), b += 1;
35
+ this.uuid = u.toString(), u += 1;
36
36
  }
37
- }, S = { key: 0 };
38
- function V(t, n, a, e, r, i) {
39
- return s(), d("svg", f({ role: "img" }, t.$attrs, {
37
+ }, A = { key: 0 };
38
+ function y(t, n, a, e, r, l) {
39
+ return i(), m("svg", T({ role: "img" }, t.$attrs, {
40
40
  class: "ui-assets-icons-16",
41
41
  xmlns: "http://www.w3.org/2000/svg",
42
42
  width: "16",
43
43
  height: "16",
44
44
  fill: "none"
45
45
  }), [
46
- t.$attrs["svg-title"] ? (s(), d("title", S, g(t.$attrs["svg-title"]), 1)) : w("", !0),
47
- n[0] || (n[0] = l("path", {
46
+ t.$attrs["svg-title"] ? (i(), m("title", A, f(t.$attrs["svg-title"]), 1)) : g("", !0),
47
+ n[0] || (n[0] = s("path", {
48
48
  fill: "#001222",
49
49
  d: "M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z"
50
50
  }, null, -1))
51
51
  ], 16);
52
52
  }
53
- const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
53
+ const b = /* @__PURE__ */ d(k, [["render", y]]), M = {
54
+ "de-DE": { moveDown: "Nach unten", moveLeft: "Nach links", moveRight: "Nach rechts bewegen", moveToTheBottom: "Nach unten", moveToTheTop: "Nach oben", moveUp: "Nach oben", reorderLabel: "{label} neu anordnen" },
55
+ "en-GB": { moveDown: "Move down", moveLeft: "Move left", moveRight: "Move right", moveToTheBottom: "Move to the bottom", moveToTheTop: "Move to the top", moveUp: "Move up", reorderLabel: "Reorder {label}" },
54
56
  "en-US": { moveDown: "Move down", moveLeft: "Move left", moveRight: "Move right", moveToTheBottom: "Move to the bottom", moveToTheTop: "Move to the top", moveUp: "Move up", reorderLabel: "Reorder {label}" },
57
+ "es-ES": { moveDown: "Mover hacia abajo", moveLeft: "Mover a la izquierda", moveRight: "Mover a la derecha", moveToTheBottom: "Mover a la parte inferior", moveToTheTop: "Mover a la parte superior", moveUp: "Mover hacia arriba", reorderLabel: "Reordenar {label}" },
58
+ "es-MX": { moveDown: "Mover hacia abajo", moveLeft: "Mover a la izquierda", moveRight: "Mover a la derecha", moveToTheBottom: "Mover a la parte inferior", moveToTheTop: "Mover a la parte superior", moveUp: "Mover hacia arriba", reorderLabel: "Reordenar {label}" },
59
+ "fr-FR": { moveDown: "Déplacer vers le bas", moveLeft: "Déplacer à gauche", moveRight: "Déplacer à droite", moveToTheBottom: "Déplacer tout en bas", moveToTheTop: "Déplacer tout en haut", moveUp: "Déplacer vers le haut", reorderLabel: "Réorganiser {label}" },
60
+ "it-IT": { moveDown: "Sposta giù", moveLeft: "Sposta a sinistra", moveRight: "Sposta a destra", moveToTheBottom: "Sposta in fondo", moveToTheTop: "Sposta in cima", moveUp: "Sposta in alto", reorderLabel: "Riordina {label}" },
55
61
  "ja-JP": { moveDown: "下に移動", moveLeft: "左に移動", moveRight: "右に移動", moveToTheBottom: "一番下に移動", moveToTheTop: "一番上に移動", moveUp: "上に移動", reorderLabel: "{label}を並べ替え" },
56
- "pt-BR": { moveDown: "Mover para baixo", moveLeft: "Mover para a esquerda", moveRight: "Mover para a direita", moveToTheBottom: "Mover para embaixo", moveToTheTop: "Mover para o topo", moveUp: "Mover para cima", reorderLabel: "Reordenar {label}" }
57
- }, N = { class: "b-draggable-handle__icon" }, E = {
58
- i18n: { messages: L },
62
+ "pt-BR": { moveDown: "Mover para baixo", moveLeft: "Mover para a esquerda", moveRight: "Mover para a direita", moveToTheBottom: "Mover para embaixo", moveToTheTop: "Mover para o topo", moveUp: "Mover para cima", reorderLabel: "Reordenar {label}" },
63
+ "zh-CN": { moveDown: "下移", moveLeft: "左移", moveRight: "右移", moveToTheBottom: "移至底部", moveToTheTop: "移至顶部", moveUp: "上移", reorderLabel: "重新排序 {label}" }
64
+ }, E = { class: "b-draggable-handle__icon" }, V = {
65
+ i18n: { messages: M },
59
66
  name: "bento-draggable-handle"
60
- }, H = /* @__PURE__ */ M({
61
- ...E,
67
+ }, j = /* @__PURE__ */ w({
68
+ ...V,
62
69
  props: {
63
70
  condensed: { type: Boolean, default: !1 },
64
71
  disabledMenus: { default: () => ({}) },
@@ -67,13 +74,13 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
67
74
  },
68
75
  emits: ["move-bottom", "move-down", "move-left", "move-right", "move-top", "move-up"],
69
76
  setup(t, { emit: n }) {
70
- const { t: a } = D({ messages: L }), e = t, r = n, i = p(
77
+ const { t: a } = $({ messages: M }), e = t, r = n, l = v(
71
78
  () => ({
72
79
  "aria-label": a("reorderLabel", { label: e.label }),
73
80
  condensed: e.condensed,
74
81
  variant: "tertiary"
75
82
  })
76
- ), _ = p(() => {
83
+ ), L = v(() => {
77
84
  const o = {
78
85
  up: {
79
86
  text: a("moveUp"),
@@ -85,19 +92,19 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
85
92
  text: a("moveDown"),
86
93
  handler: () => r("move-down"),
87
94
  disabled: e.disabledMenus.down,
88
- icon: h
95
+ icon: b
89
96
  },
90
97
  left: {
91
98
  text: a("moveLeft"),
92
99
  handler: () => r("move-left"),
93
100
  disabled: e.disabledMenus.left,
94
- icon: I
101
+ icon: S
95
102
  },
96
103
  right: {
97
104
  text: a("moveRight"),
98
105
  handler: () => r("move-right"),
99
106
  disabled: e.disabledMenus.right,
100
- icon: A
107
+ icon: N
101
108
  },
102
109
  top: {
103
110
  text: a("moveToTheTop"),
@@ -109,7 +116,7 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
109
116
  text: a("moveToTheBottom"),
110
117
  handler: () => r("move-bottom"),
111
118
  disabled: e.disabledMenus.bottom,
112
- icon: h
119
+ icon: b
113
120
  }
114
121
  };
115
122
  return e.variant === "up-and-down" ? [
@@ -134,22 +141,22 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
134
141
  o.bottom
135
142
  ];
136
143
  });
137
- return (o, P) => (s(), T(v(x), {
144
+ return (o, q) => (i(), _(p(B), {
138
145
  class: "b-draggable-handle",
139
- data: _.value,
146
+ data: L.value,
140
147
  "menu-width": 250,
141
- button: i.value
148
+ button: l.value
142
149
  }, {
143
- iconLeft: $(() => [
144
- l("span", N, [
145
- B(v(R), { "aria-hidden": "true" })
150
+ iconLeft: D(() => [
151
+ s("span", E, [
152
+ R(p(U), { "aria-hidden": "true" })
146
153
  ])
147
154
  ]),
148
155
  _: 1
149
156
  }, 8, ["data", "button"]));
150
157
  }
151
- }), O = /* @__PURE__ */ m(H, [["__scopeId", "data-v-5e65c9c5"]]);
158
+ }), K = /* @__PURE__ */ d(j, [["__scopeId", "data-v-5e65c9c5"]]);
152
159
  export {
153
- O as BentoDraggableHandle
160
+ K as BentoDraggableHandle
154
161
  };
155
162
  //# sourceMappingURL=draggable-handle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"draggable-handle.js","sources":["../../ui-assets/icons-16/dist/vue/arrow-top.vue","../../ui-assets/icons-16/dist/vue/arrow-bottom.vue","../../vue2/src/components/draggable-handle/draggable-handle.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><path fill=\"#001222\" d=\"M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z\"/></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","\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><path fill=\"#001222\" d=\"M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z\"/></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 <bento-menu class=\"b-draggable-handle\" :data=\"menuData\" :menu-width=\"250\" :button=\"buttonComputedProps\">\n <template #iconLeft>\n <span class=\"b-draggable-handle__icon\">\n <grab-icon aria-hidden=\"true\" />\n </span>\n </template>\n </bento-menu>\n</template>\n\n<script setup lang=\"ts\">\n import { computed } from 'vue';\n import { BentoMenu, type BentoMenuItem, type BentoMenuProps } from '@/components/menu';\n import { type BentoDraggableHandleProps } from './draggable-handle.types';\n import { useI18n } from '@/utils/ts/i18n';\n import GrabIcon from '@adyen/ui-assets-icons-16/vue/grab';\n import ArrowTopIcon from '@adyen/ui-assets-icons-16/vue/arrow-top';\n import ArrowLeftIcon from '@adyen/ui-assets-icons-16/vue/arrow-left';\n import ArrowRightIcon from '@adyen/ui-assets-icons-16/vue/arrow-right';\n import ArrowBottomIcon from '@adyen/ui-assets-icons-16/vue/arrow-bottom';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = withDefaults(defineProps<BentoDraggableHandleProps>(), {\n condensed: false,\n disabledMenus: () => ({}),\n variant: 'up-and-down',\n });\n const emit = defineEmits<{\n /**\n * Emitted when the \"Move to bottom\" action is fired.\n */\n (e: 'move-bottom'): void;\n /**\n * Emitted when the \"Move down\" action is fired.\n */\n (e: 'move-down'): void;\n /**\n * Emitted when the \"Move left\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-left'): void;\n /**\n * Emitted when the \"Move right\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-right'): void;\n /**\n * Emitted when the \"Move to top\" action is fired.\n */\n (e: 'move-top'): void;\n /**\n * Emitted when the \"Move up\" action is fired.\n */\n (e: 'move-up'): void;\n }>();\n\n const buttonComputedProps = computed(\n () =>\n ({\n 'aria-label': t('reorderLabel', { label: props.label }),\n condensed: props.condensed,\n variant: 'tertiary',\n }) as BentoMenuProps['button']\n );\n\n /**\n * Renders the menus for the draggable handle.\n */\n const menuData = computed(() => {\n const MENUS: {\n [key: string]: BentoMenuItem;\n } = {\n up: {\n text: t('moveUp'),\n handler: () => emit('move-up'),\n disabled: props.disabledMenus.up,\n icon: ArrowTopIcon,\n },\n down: {\n text: t('moveDown'),\n handler: () => emit('move-down'),\n disabled: props.disabledMenus.down,\n icon: ArrowBottomIcon,\n },\n left: {\n text: t('moveLeft'),\n handler: () => emit('move-left'),\n disabled: props.disabledMenus.left,\n icon: ArrowLeftIcon,\n },\n right: {\n text: t('moveRight'),\n handler: () => emit('move-right'),\n disabled: props.disabledMenus.right,\n icon: ArrowRightIcon,\n },\n top: {\n text: t('moveToTheTop'),\n handler: () => emit('move-top'),\n disabled: props.disabledMenus.top,\n icon: ArrowTopIcon,\n },\n bottom: {\n text: t('moveToTheBottom'),\n handler: () => emit('move-bottom'),\n disabled: props.disabledMenus.bottom,\n icon: ArrowBottomIcon,\n },\n };\n\n // Render the menus and dividers according to the variant\n return props.variant === 'up-and-down'\n ? [\n MENUS.up,\n // Divider added after \"Move down\"\n {\n ...MENUS.down,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ]\n : [\n MENUS.up,\n MENUS.down,\n MENUS.left,\n // Divider added after \"Move right\"\n {\n ...MENUS.right,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ];\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Bento drag and drop handle component.\n *\n * @example\n * import { BentoDraggableHandle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDraggableHandle },\n * template: `\n * <bento-draggable-handle\n * bottom\n * condensed\n * down\n * left\n * right\n * top\n * up\n * \\@move-bottom=\"moveBottom(index)\"\n * \\@move-down=\"moveDown(index)\"\n * \\@move-left=\"moveLeft(index)\"\n * \\@move-right=\"moveRight(index)\"\n * \\@move-top=\"moveTop(index)\"\n * \\@move-up=\"moveUp(index)\"\n * />\n * `,\n * setup() {\n * const moveBottom = () => {}\n * const moveDown = () => {}\n * const moveLeft = () => {}\n * const moveRight = () => {}\n * const moveTop = () => {}\n * const moveUp = () => {}\n * }\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-draggable-handle',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./draggable-handle.scss\" />\n"],"names":["uuid$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","uuid","__default__","messages","t","useI18n","props","__props","emit","__emit","buttonComputedProps","computed","menuData","MENUS","ArrowTopIcon","ArrowBottomIcon","ArrowLeftIcon","ArrowRightIcon"],"mappings":";;;;;;;;;AAOI,IAAAA,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;ACKzN,IAAAC,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAL,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;;;;8CC6KzNE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;;AA1JA,UAAA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAF,EAAA,CAAA,GAEAG,IAAAC,GAKAC,IAAAC,GA2BAC,IAAAC;AAAA,MAA4B,OAAA;AAAA,QAEnB,cAAAP,EAAA,gBAAA,EAAA,OAAAE,EAAA,MAAA,CAAA;AAAA,QACyD,WAAAA,EAAA;AAAA,QACrC,SAAA;AAAA,MACR;AAAA,IACb,GAMRM,IAAAD,EAAA,MAAA;AACI,YAAAE,IAAA;AAAA,QAEI,IAAA;AAAA,UACI,MAAAT,EAAA,QAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,SAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACC,MAAAQ;AAAA,QACxB;AAAA,QACV,MAAA;AAAA,UACM,MAAAV,EAAA,UAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,WAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACD,MAAAS;AAAA,QACxB;AAAA,QACV,MAAA;AAAA,UACM,MAAAX,EAAA,UAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,WAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACD,MAAAU;AAAA,QACxB;AAAA,QACV,OAAA;AAAA,UACO,MAAAZ,EAAA,WAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,YAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACF,MAAAW;AAAA,QACxB;AAAA,QACV,KAAA;AAAA,UACK,MAAAb,EAAA,cAAA;AAAA,UACqB,SAAA,MAAAI,EAAA,UAAA;AAAA,UACQ,UAAAF,EAAA,cAAA;AAAA,UACA,MAAAQ;AAAA,QACxB;AAAA,QACV,QAAA;AAAA,UACQ,MAAAV,EAAA,iBAAA;AAAA,UACqB,SAAA,MAAAI,EAAA,aAAA;AAAA,UACQ,UAAAF,EAAA,cAAA;AAAA,UACH,MAAAS;AAAA,QACxB;AAAA,MACV;AAIJ,aAAAT,EAAA,YAAA,gBAAA;AAAA,QACMO,EAAA;AAAA;AAAA,QACU;AAAA,UAEN,GAAAA,EAAA;AAAA,UACa,YAAA;AAAA,QACG;AAAA,QAChBA,EAAA;AAAA,QACMA,EAAA;AAAA,MACA,IAAA;AAAA,QAEVA,EAAA;AAAA,QACUA,EAAA;AAAA,QACAA,EAAA;AAAA;AAAA,QACA;AAAA,UAEN,GAAAA,EAAA;AAAA,UACa,YAAA;AAAA,QACG;AAAA,QAChBA,EAAA;AAAA,QACMA,EAAA;AAAA,MACA;AAAA,IACV,CAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"draggable-handle.js","sources":["../../ui-assets/icons-16/dist/vue/arrow-top.vue","../../ui-assets/icons-16/dist/vue/arrow-bottom.vue","../../vue2/src/components/draggable-handle/draggable-handle.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><path fill=\"#001222\" d=\"M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z\"/></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","\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><path fill=\"#001222\" d=\"M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z\"/></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 <bento-menu class=\"b-draggable-handle\" :data=\"menuData\" :menu-width=\"250\" :button=\"buttonComputedProps\">\n <template #iconLeft>\n <span class=\"b-draggable-handle__icon\">\n <grab-icon aria-hidden=\"true\" />\n </span>\n </template>\n </bento-menu>\n</template>\n\n<script setup lang=\"ts\">\n import { computed } from 'vue';\n import { BentoMenu, type BentoMenuItem, type BentoMenuProps } from '@/components/menu';\n import { type BentoDraggableHandleProps } from './draggable-handle.types';\n import { useI18n } from '@/utils/ts/i18n';\n import GrabIcon from '@adyen/ui-assets-icons-16/vue/grab';\n import ArrowTopIcon from '@adyen/ui-assets-icons-16/vue/arrow-top';\n import ArrowLeftIcon from '@adyen/ui-assets-icons-16/vue/arrow-left';\n import ArrowRightIcon from '@adyen/ui-assets-icons-16/vue/arrow-right';\n import ArrowBottomIcon from '@adyen/ui-assets-icons-16/vue/arrow-bottom';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = withDefaults(defineProps<BentoDraggableHandleProps>(), {\n condensed: false,\n disabledMenus: () => ({}),\n variant: 'up-and-down',\n });\n const emit = defineEmits<{\n /**\n * Emitted when the \"Move to bottom\" action is fired.\n */\n (e: 'move-bottom'): void;\n /**\n * Emitted when the \"Move down\" action is fired.\n */\n (e: 'move-down'): void;\n /**\n * Emitted when the \"Move left\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-left'): void;\n /**\n * Emitted when the \"Move right\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-right'): void;\n /**\n * Emitted when the \"Move to top\" action is fired.\n */\n (e: 'move-top'): void;\n /**\n * Emitted when the \"Move up\" action is fired.\n */\n (e: 'move-up'): void;\n }>();\n\n const buttonComputedProps = computed(\n () =>\n ({\n 'aria-label': t('reorderLabel', { label: props.label }),\n condensed: props.condensed,\n variant: 'tertiary',\n }) as BentoMenuProps['button']\n );\n\n /**\n * Renders the menus for the draggable handle.\n */\n const menuData = computed(() => {\n const MENUS: {\n [key: string]: BentoMenuItem;\n } = {\n up: {\n text: t('moveUp'),\n handler: () => emit('move-up'),\n disabled: props.disabledMenus.up,\n icon: ArrowTopIcon,\n },\n down: {\n text: t('moveDown'),\n handler: () => emit('move-down'),\n disabled: props.disabledMenus.down,\n icon: ArrowBottomIcon,\n },\n left: {\n text: t('moveLeft'),\n handler: () => emit('move-left'),\n disabled: props.disabledMenus.left,\n icon: ArrowLeftIcon,\n },\n right: {\n text: t('moveRight'),\n handler: () => emit('move-right'),\n disabled: props.disabledMenus.right,\n icon: ArrowRightIcon,\n },\n top: {\n text: t('moveToTheTop'),\n handler: () => emit('move-top'),\n disabled: props.disabledMenus.top,\n icon: ArrowTopIcon,\n },\n bottom: {\n text: t('moveToTheBottom'),\n handler: () => emit('move-bottom'),\n disabled: props.disabledMenus.bottom,\n icon: ArrowBottomIcon,\n },\n };\n\n // Render the menus and dividers according to the variant\n return props.variant === 'up-and-down'\n ? [\n MENUS.up,\n // Divider added after \"Move down\"\n {\n ...MENUS.down,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ]\n : [\n MENUS.up,\n MENUS.down,\n MENUS.left,\n // Divider added after \"Move right\"\n {\n ...MENUS.right,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ];\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Bento drag and drop handle component.\n *\n * @example\n * import { BentoDraggableHandle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDraggableHandle },\n * template: `\n * <bento-draggable-handle\n * bottom\n * condensed\n * down\n * left\n * right\n * top\n * up\n * \\@move-bottom=\"moveBottom(index)\"\n * \\@move-down=\"moveDown(index)\"\n * \\@move-left=\"moveLeft(index)\"\n * \\@move-right=\"moveRight(index)\"\n * \\@move-top=\"moveTop(index)\"\n * \\@move-up=\"moveUp(index)\"\n * />\n * `,\n * setup() {\n * const moveBottom = () => {}\n * const moveDown = () => {}\n * const moveLeft = () => {}\n * const moveRight = () => {}\n * const moveTop = () => {}\n * const moveUp = () => {}\n * }\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-draggable-handle',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./draggable-handle.scss\" />\n"],"names":["uuid$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","uuid","__default__","messages","t","useI18n","props","__props","emit","__emit","buttonComputedProps","computed","menuData","MENUS","ArrowTopIcon","ArrowBottomIcon","ArrowLeftIcon","ArrowRightIcon"],"mappings":";;;;;;;;;AAOI,IAAAA,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;ACKzN,IAAAC,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAL,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;;;;;;;;;;;8CC6KzNE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;;AA1JA,UAAA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAF,EAAA,CAAA,GAEAG,IAAAC,GAKAC,IAAAC,GA2BAC,IAAAC;AAAA,MAA4B,OAAA;AAAA,QAEnB,cAAAP,EAAA,gBAAA,EAAA,OAAAE,EAAA,MAAA,CAAA;AAAA,QACyD,WAAAA,EAAA;AAAA,QACrC,SAAA;AAAA,MACR;AAAA,IACb,GAMRM,IAAAD,EAAA,MAAA;AACI,YAAAE,IAAA;AAAA,QAEI,IAAA;AAAA,UACI,MAAAT,EAAA,QAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,SAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACC,MAAAQ;AAAA,QACxB;AAAA,QACV,MAAA;AAAA,UACM,MAAAV,EAAA,UAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,WAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACD,MAAAS;AAAA,QACxB;AAAA,QACV,MAAA;AAAA,UACM,MAAAX,EAAA,UAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,WAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACD,MAAAU;AAAA,QACxB;AAAA,QACV,OAAA;AAAA,UACO,MAAAZ,EAAA,WAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,YAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACF,MAAAW;AAAA,QACxB;AAAA,QACV,KAAA;AAAA,UACK,MAAAb,EAAA,cAAA;AAAA,UACqB,SAAA,MAAAI,EAAA,UAAA;AAAA,UACQ,UAAAF,EAAA,cAAA;AAAA,UACA,MAAAQ;AAAA,QACxB;AAAA,QACV,QAAA;AAAA,UACQ,MAAAV,EAAA,iBAAA;AAAA,UACqB,SAAA,MAAAI,EAAA,aAAA;AAAA,UACQ,UAAAF,EAAA,cAAA;AAAA,UACH,MAAAS;AAAA,QACxB;AAAA,MACV;AAIJ,aAAAT,EAAA,YAAA,gBAAA;AAAA,QACMO,EAAA;AAAA;AAAA,QACU;AAAA,UAEN,GAAAA,EAAA;AAAA,UACa,YAAA;AAAA,QACG;AAAA,QAChBA,EAAA;AAAA,QACMA,EAAA;AAAA,MACA,IAAA;AAAA,QAEVA,EAAA;AAAA,QACUA,EAAA;AAAA,QACAA,EAAA;AAAA;AAAA,QACA;AAAA,UAEN,GAAAA,EAAA;AAAA,UACa,YAAA;AAAA,QACG;AAAA,QAChBA,EAAA;AAAA,QACMA,EAAA;AAAA,MACA;AAAA,IACV,CAAA;;;;;;;;;;;;;;;;"}
package/dist/dropdown.js CHANGED
@@ -1,7 +1,7 @@
1
- import { B as r } from "./chunks/dropdown.MhmX1P9o.js";
2
- import { B as t } from "./chunks/dropdown-default-textbox.bq9AlGzJ.js";
3
- import { _ as p, a as d, b as B, d as s, c as w } from "./chunks/dropdown-tag.Ysrac5GN.js";
4
- import { B as m, a as y } from "./chunks/use-cached-selected-values.ClEJRFAd.js";
1
+ import { B as r } from "./chunks/dropdown.Do-mZiI6.js";
2
+ import { B as t } from "./chunks/dropdown-default-textbox.aYsTZDZ7.js";
3
+ import { _ as p, a as d, b as B, d as s, c as w } from "./chunks/dropdown-tag.B7OA_Yv9.js";
4
+ import { B as m, a as y } from "./chunks/use-cached-selected-values.DIbfa5F1.js";
5
5
  export {
6
6
  r as BentoDropdown,
7
7
  p as BentoDropdownAvatar,
@@ -1,4 +1,4 @@
1
- import { f as r } from "./chunks/file-uploader.Bfd1uUMe.js";
1
+ import { f as r } from "./chunks/file-uploader.BUvDU_cn.js";
2
2
  export {
3
3
  r as BentoFileUploader
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as a, a as r, b as B, c as n, d as o } from "./chunks/filter-bar.CkAjLQol.js";
1
+ import { B as a, a as r, b as B, c as n, d as o } from "./chunks/filter-bar.fowl40RS.js";
2
2
  export {
3
3
  a as BentoBaseFilter,
4
4
  r as BentoFilterBar,
@@ -1,4 +1,4 @@
1
- import { f as a, a as e, b as r, c as m } from "./chunks/form-layout-title.DW5Kg1rh.js";
1
+ import { f as a, a as e, b as r, c as m } from "./chunks/form-layout-title.Cr3wdpK_.js";
2
2
  export {
3
3
  a as BentoFormLayout,
4
4
  e as BentoFormLayoutFieldTip,
@@ -1,4 +1,4 @@
1
- import { h as r } from "./chunks/header-with-views.Djba6iol.js";
1
+ import { h as r } from "./chunks/header-with-views.B2pPBcTf.js";
2
2
  export {
3
3
  r as BentoHeaderWithViews
4
4
  };
package/dist/header.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as r } from "./chunks/header.o-7SyHtU.js";
1
+ import { B as r } from "./chunks/header.BVM8Usdi.js";
2
2
  export {
3
3
  r as BentoHeader
4
4
  };