@adyen/bento-vue2 1.49.0 → 1.51.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 (303) hide show
  1. package/dist/@types/index.d.ts +441 -657
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/alert.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox-input.css +1 -1
  11. package/dist/assets/copy.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-range-picker.css +1 -1
  14. package/dist/assets/dialog-page.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/filter-bar.css +1 -1
  18. package/dist/assets/header.css +1 -1
  19. package/dist/assets/input-field-password.css +1 -1
  20. package/dist/assets/input-field.css +1 -1
  21. package/dist/assets/inspector.css +1 -1
  22. package/dist/assets/link.css +1 -1
  23. package/dist/assets/menu.css +1 -1
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/pagination.css +1 -1
  26. package/dist/assets/payment-method.css +1 -1
  27. package/dist/assets/popover.css +1 -1
  28. package/dist/assets/search-bar.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/assets/timeline-item.css +1 -1
  31. package/dist/assets/toggle-button.css +1 -1
  32. package/dist/assets/tutorial.css +1 -1
  33. package/dist/assets/use-cached-selected-values.css +1 -1
  34. package/dist/button.js +3 -3
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +3 -3
  37. package/dist/chip.js +1 -1
  38. package/dist/chunks/{accordion-item.CTxrEQEW.js → accordion-item.C4tyRMCt.js} +2 -2
  39. package/dist/chunks/{accordion-item.CTxrEQEW.js.map → accordion-item.C4tyRMCt.js.map} +1 -1
  40. package/dist/chunks/{action-bar.pYOeP8WX.js → action-bar.DGhojWpe.js} +6 -6
  41. package/dist/chunks/{action-bar.pYOeP8WX.js.map → action-bar.DGhojWpe.js.map} +1 -1
  42. package/dist/chunks/{alert.hiTIDSeX.js → alert.BSBLkXkM.js} +9 -8
  43. package/dist/chunks/alert.BSBLkXkM.js.map +1 -0
  44. package/dist/chunks/{base-modal.8kcvtFRx.js → base-modal.Dan5WQin.js} +5 -5
  45. package/dist/chunks/{base-modal.8kcvtFRx.js.map → base-modal.Dan5WQin.js.map} +1 -1
  46. package/dist/chunks/{button-actions-with-menu.BxWulRXh.js → button-actions-with-menu.B5gcSgRQ.js} +4 -4
  47. package/dist/chunks/{button-actions-with-menu.BxWulRXh.js.map → button-actions-with-menu.B5gcSgRQ.js.map} +1 -1
  48. package/dist/chunks/{button-actions.BovYBINL.js → button-actions.GhdYBSwt.js} +4 -4
  49. package/dist/chunks/{button-actions.BovYBINL.js.map → button-actions.GhdYBSwt.js.map} +1 -1
  50. package/dist/chunks/{button.CdAFZa4V.js → button.D-3uUhuG.js} +2 -2
  51. package/dist/chunks/{button.CdAFZa4V.js.map → button.D-3uUhuG.js.map} +1 -1
  52. package/dist/chunks/{calendar.Bb0-Svhx.js → calendar.YJTNpmzh.js} +3 -3
  53. package/dist/chunks/{calendar.Bb0-Svhx.js.map → calendar.YJTNpmzh.js.map} +1 -1
  54. package/dist/chunks/{card.D-w9c3-n.js → card.Csazj5Qz.js} +3 -3
  55. package/dist/chunks/{card.D-w9c3-n.js.map → card.Csazj5Qz.js.map} +1 -1
  56. package/dist/chunks/{checkbox-group.4TiIcnc7.js → checkbox-group.DcJ31aLq.js} +4 -4
  57. package/dist/chunks/{checkbox-group.4TiIcnc7.js.map → checkbox-group.DcJ31aLq.js.map} +1 -1
  58. package/dist/chunks/{checkbox-input.Bo4NxNOh.js → checkbox-input.B4A_gL2b.js} +10 -9
  59. package/dist/chunks/checkbox-input.B4A_gL2b.js.map +1 -0
  60. package/dist/chunks/{checkbox.CE9NdY0R.js → checkbox.BpF0HY7C.js} +17 -17
  61. package/dist/chunks/{checkbox.CE9NdY0R.js.map → checkbox.BpF0HY7C.js.map} +1 -1
  62. package/dist/chunks/{checkmark-circle-fill.Cn7JN_Tk.js → checkmark-circle-fill.C46dV1Rf.js} +4 -4
  63. package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js.map +1 -0
  64. package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.C8T8ISN6.js} +4 -4
  65. package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
  66. package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.DOMTgGel.js} +6 -6
  67. package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
  68. package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.CSVyoaTy.js} +6 -6
  69. package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
  70. package/dist/chunks/{chip.HNUA9VZl.js → chip.BeK9uqmW.js} +24 -21
  71. package/dist/chunks/chip.BeK9uqmW.js.map +1 -0
  72. package/dist/chunks/{code-snippet.DSsZWtwa.js → code-snippet.z_G2UXVT.js} +7 -7
  73. package/dist/chunks/{code-snippet.DSsZWtwa.js.map → code-snippet.z_G2UXVT.js.map} +1 -1
  74. package/dist/chunks/{controls-group.BnDPMaGI.js → controls-group.ghJ7a8PY.js} +2 -2
  75. package/dist/chunks/{controls-group.BnDPMaGI.js.map → controls-group.ghJ7a8PY.js.map} +1 -1
  76. package/dist/chunks/{copy.DMlIj53I.js → copy.BNOiinIt.js} +7 -6
  77. package/dist/chunks/copy.BNOiinIt.js.map +1 -0
  78. package/dist/chunks/{cross-circle-fill-small.Oj6lPaDy.js → cross-circle-fill-small.YhLgeipP.js} +4 -4
  79. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
  80. package/dist/chunks/{cross-circle-fill.CnYH4R_h.js → cross-circle-fill.BawVYNw7.js} +4 -4
  81. package/dist/chunks/cross-circle-fill.BawVYNw7.js.map +1 -0
  82. package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.CZqsjZDz.js} +4 -4
  83. package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
  84. package/dist/chunks/{cross.CsUPDmaA.js → cross.CJ5EEL2c.js} +4 -4
  85. package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
  86. package/dist/chunks/{dashboard-section.DzMn8yDZ.js → dashboard-section.Db_E382r.js} +3 -3
  87. package/dist/chunks/{dashboard-section.DzMn8yDZ.js.map → dashboard-section.Db_E382r.js.map} +1 -1
  88. package/dist/chunks/{dashed-underline.COTMts4l.js → dashed-underline.CAhDrAG_.js} +3 -3
  89. package/dist/chunks/{dashed-underline.COTMts4l.js.map → dashed-underline.CAhDrAG_.js.map} +1 -1
  90. package/dist/chunks/{data-grid-template.BPBneEHq.js → data-grid-template.DG5IWdLG.js} +3 -3
  91. package/dist/chunks/{data-grid-template.BPBneEHq.js.map → data-grid-template.DG5IWdLG.js.map} +1 -1
  92. package/dist/chunks/{data-grid.iqFUbiZy.js → data-grid.CHV-FvBB.js} +33 -32
  93. package/dist/chunks/data-grid.CHV-FvBB.js.map +1 -0
  94. package/dist/chunks/{date-picker.C68IAqHR.js → date-picker.CMj5-RQl.js} +15 -15
  95. package/dist/chunks/{date-picker.C68IAqHR.js.map → date-picker.CMj5-RQl.js.map} +1 -1
  96. package/dist/chunks/{date-range-picker.dcQRDNS7.js → date-range-picker.Jysfo6h3.js} +150 -149
  97. package/dist/chunks/date-range-picker.Jysfo6h3.js.map +1 -0
  98. package/dist/chunks/{dialog-page.Bf07JxdG.js → dialog-page.BfF5_hmG.js} +5 -4
  99. package/dist/chunks/dialog-page.BfF5_hmG.js.map +1 -0
  100. package/dist/chunks/{dot.BCX4w7eT.js → dot.CnkXzRn3.js} +4 -4
  101. package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
  102. package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js → dropdown-default-textbox.DzPBw4CV.js} +4 -4
  103. package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js.map → dropdown-default-textbox.DzPBw4CV.js.map} +1 -1
  104. package/dist/chunks/{dropdown-tag.DhENnOHT.js → dropdown-tag.K4idCLeu.js} +4 -4
  105. package/dist/chunks/{dropdown-tag.DhENnOHT.js.map → dropdown-tag.K4idCLeu.js.map} +1 -1
  106. package/dist/chunks/{dropdown.BBHNOorv.js → dropdown.DFEGHxjw.js} +278 -270
  107. package/dist/chunks/dropdown.DFEGHxjw.js.map +1 -0
  108. package/dist/chunks/{empty-state.BnHTBgKG.js → empty-state.JbgxSrnv.js} +2 -2
  109. package/dist/chunks/{empty-state.BnHTBgKG.js.map → empty-state.JbgxSrnv.js.map} +1 -1
  110. package/dist/chunks/{error-message.xTNEaNn8.js → error-message.B3oWB_HM.js} +3 -3
  111. package/dist/chunks/{error-message.xTNEaNn8.js.map → error-message.B3oWB_HM.js.map} +1 -1
  112. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  113. package/dist/chunks/{expand.CwwKq7Uc.js → expand.C263WARj.js} +4 -4
  114. package/dist/chunks/expand.C263WARj.js.map +1 -0
  115. package/dist/chunks/{file-uploader.mLUYQnz1.js → file-uploader.DaBMZSsB.js} +249 -252
  116. package/dist/chunks/file-uploader.DaBMZSsB.js.map +1 -0
  117. package/dist/chunks/{filter-bar.CFcu6P8H.js → filter-bar.DClIG9aP.js} +577 -636
  118. package/dist/chunks/filter-bar.DClIG9aP.js.map +1 -0
  119. package/dist/chunks/{fixed-scroller.DX2YUuoU.js → fixed-scroller.BwvXYzE6.js} +3 -3
  120. package/dist/chunks/{fixed-scroller.DX2YUuoU.js.map → fixed-scroller.BwvXYzE6.js.map} +1 -1
  121. package/dist/chunks/{footer-actions.BsoofCrv.js → footer-actions.D0SuJroc.js} +3 -3
  122. package/dist/chunks/{footer-actions.BsoofCrv.js.map → footer-actions.D0SuJroc.js.map} +1 -1
  123. package/dist/chunks/{form-layout-title.CJbgfh3P.js → form-layout-title.C1n2S73_.js} +2 -2
  124. package/dist/chunks/{form-layout-title.CJbgfh3P.js.map → form-layout-title.C1n2S73_.js.map} +1 -1
  125. package/dist/chunks/{header.BeS6ktqU.js → header.CRlxEGHb.js} +50 -50
  126. package/dist/chunks/{header.BeS6ktqU.js.map → header.CRlxEGHb.js.map} +1 -1
  127. package/dist/chunks/{info-icon-with-popover.yeIoJzhj.js → info-icon-with-popover.C29aZ1Vh.js} +3 -3
  128. package/dist/chunks/{info-icon-with-popover.yeIoJzhj.js.map → info-icon-with-popover.C29aZ1Vh.js.map} +1 -1
  129. package/dist/chunks/{info-icon.C4_l0WAf.js → info-icon.bXR5eo6I.js} +4 -4
  130. package/dist/chunks/{info-icon.C4_l0WAf.js.map → info-icon.bXR5eo6I.js.map} +1 -1
  131. package/dist/chunks/{info.CyeBsLgt.js → info.D4SG-AIm.js} +4 -4
  132. package/dist/chunks/info.D4SG-AIm.js.map +1 -0
  133. package/dist/chunks/{input-field-password.Dez8haIj.js → input-field-password.DsIpkc_9.js} +15 -15
  134. package/dist/chunks/input-field-password.DsIpkc_9.js.map +1 -0
  135. package/dist/chunks/{input-field-phone-number.CPTonsjM.js → input-field-phone-number.Bmugk7fI.js} +2 -2
  136. package/dist/chunks/{input-field-phone-number.CPTonsjM.js.map → input-field-phone-number.Bmugk7fI.js.map} +1 -1
  137. package/dist/chunks/{input-field.lEMEBT7J.js → input-field.Dl2lXZda.js} +49 -139
  138. package/dist/chunks/input-field.Dl2lXZda.js.map +1 -0
  139. package/dist/chunks/{inspector.types.BtgXpTC7.js → inspector.types.C9Oc8FgA.js} +4 -4
  140. package/dist/chunks/{inspector.types.BtgXpTC7.js.map → inspector.types.C9Oc8FgA.js.map} +1 -1
  141. package/dist/chunks/{link.DZlbzVSB.js → link.BH3eB_7E.js} +4 -3
  142. package/dist/chunks/link.BH3eB_7E.js.map +1 -0
  143. package/dist/chunks/{listbox-option-tag.BJBWnC2r.js → listbox-option-tag.bPRcATJK.js} +2 -2
  144. package/dist/chunks/{listbox-option-tag.BJBWnC2r.js.map → listbox-option-tag.bPRcATJK.js.map} +1 -1
  145. package/dist/chunks/{menu.lbODB0y3.js → menu.CzbkunwY.js} +226 -193
  146. package/dist/chunks/menu.CzbkunwY.js.map +1 -0
  147. package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js → modal-fullscreen.C4D3Rkdg.js} +5 -5
  148. package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js.map → modal-fullscreen.C4D3Rkdg.js.map} +1 -1
  149. package/dist/chunks/{modal.DV55hSPn.js → modal.DgCmKjQC.js} +5 -5
  150. package/dist/chunks/{modal.DV55hSPn.js.map → modal.DgCmKjQC.js.map} +1 -1
  151. package/dist/chunks/{pagination.CuJ-P2bO.js → pagination.CdOxfZW2.js} +6 -5
  152. package/dist/chunks/pagination.CdOxfZW2.js.map +1 -0
  153. package/dist/chunks/payment-method.BudFG3aC.js +76 -0
  154. package/dist/chunks/payment-method.BudFG3aC.js.map +1 -0
  155. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
  156. package/dist/chunks/{popover.BQGNMbQN.js → popover.3sHql3nd.js} +39 -31
  157. package/dist/chunks/popover.3sHql3nd.js.map +1 -0
  158. package/dist/chunks/{popper-container.CsW4R0-t.js → popper-container.Bqy3oVj6.js} +356 -352
  159. package/dist/chunks/popper-container.Bqy3oVj6.js.map +1 -0
  160. package/dist/chunks/{promo-banner.BNXfyv3h.js → promo-banner.BIICM7FC.js} +2 -2
  161. package/dist/chunks/{promo-banner.BNXfyv3h.js.map → promo-banner.BIICM7FC.js.map} +1 -1
  162. package/dist/chunks/{radio-group.CUgib4vp.js → radio-group.L-XokgwC.js} +4 -4
  163. package/dist/chunks/{radio-group.CUgib4vp.js.map → radio-group.L-XokgwC.js.map} +1 -1
  164. package/dist/chunks/{refresh.BKI9WwKh.js → refresh.Bc9FzGjJ.js} +4 -4
  165. package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
  166. package/dist/chunks/{search-bar.Dk-GuqgF.js → search-bar.CDTWPjG1.js} +28 -46
  167. package/dist/chunks/search-bar.CDTWPjG1.js.map +1 -0
  168. package/dist/chunks/{search.CBKhp7zB.js → search.pVu-JVAN.js} +4 -4
  169. package/dist/chunks/search.pVu-JVAN.js.map +1 -0
  170. package/dist/chunks/{secondary-nav.DC2GrGaQ.js → secondary-nav.BwmBTvl5.js} +2 -2
  171. package/dist/chunks/{secondary-nav.DC2GrGaQ.js.map → secondary-nav.BwmBTvl5.js.map} +1 -1
  172. package/dist/chunks/{segmented-control.BxCcPbKd.js → segmented-control.CW6v1rDg.js} +2 -2
  173. package/dist/chunks/{segmented-control.BxCcPbKd.js.map → segmented-control.CW6v1rDg.js.map} +1 -1
  174. package/dist/chunks/{selection-card-group.B-YY-iKp.js → selection-card-group.CURxGbd9.js} +10 -10
  175. package/dist/chunks/{selection-card-group.B-YY-iKp.js.map → selection-card-group.CURxGbd9.js.map} +1 -1
  176. package/dist/chunks/{show.IEAxtCB7.js → show.e4LEpZKG.js} +6 -6
  177. package/dist/chunks/show.e4LEpZKG.js.map +1 -0
  178. package/dist/chunks/{sidepanel.Dp6dKRnq.js → sidepanel.MBArfd4a.js} +5 -5
  179. package/dist/chunks/{sidepanel.Dp6dKRnq.js.map → sidepanel.MBArfd4a.js.map} +1 -1
  180. package/dist/chunks/{step.DrP2Frvn.js → step.CuOpi-Ye.js} +3 -3
  181. package/dist/chunks/{step.DrP2Frvn.js.map → step.CuOpi-Ye.js.map} +1 -1
  182. package/dist/chunks/{structured-list-item.DrY71Ndc.js → structured-list-item.CYYZ1Fil.js} +6 -6
  183. package/dist/chunks/{structured-list-item.DrY71Ndc.js.map → structured-list-item.CYYZ1Fil.js.map} +1 -1
  184. package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js → summary-grid-item-custom.CVEhwKNM.js} +4 -4
  185. package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js.map → summary-grid-item-custom.CVEhwKNM.js.map} +1 -1
  186. package/dist/chunks/{tabs.5zgaD1k3.js → tabs.UFoTqvew.js} +2 -2
  187. package/dist/chunks/{tabs.5zgaD1k3.js.map → tabs.UFoTqvew.js.map} +1 -1
  188. package/dist/chunks/{tag.CevG31iQ.js → tag.BxmageRW.js} +2 -2
  189. package/dist/chunks/{tag.CevG31iQ.js.map → tag.BxmageRW.js.map} +1 -1
  190. package/dist/chunks/{textarea.DHbXaxdU.js → textarea.DmjhRupr.js} +4 -4
  191. package/dist/chunks/{textarea.DHbXaxdU.js.map → textarea.DmjhRupr.js.map} +1 -1
  192. package/dist/chunks/{timeline-item.C4HOsaEG.js → timeline-item.CLbS-cEf.js} +12 -11
  193. package/dist/chunks/timeline-item.CLbS-cEf.js.map +1 -0
  194. package/dist/chunks/{toast.C5I7Wsfa.js → toast.DqSWycRO.js} +3 -3
  195. package/dist/chunks/{toast.C5I7Wsfa.js.map → toast.DqSWycRO.js.map} +1 -1
  196. package/dist/chunks/{toggle-button.BX_9vB0d.js → toggle-button.DgSFugBP.js} +6 -6
  197. package/dist/chunks/toggle-button.DgSFugBP.js.map +1 -0
  198. package/dist/chunks/{toggle.CyaY0U0K.js → toggle.Q52IIKfi.js} +2 -2
  199. package/dist/chunks/{toggle.CyaY0U0K.js.map → toggle.Q52IIKfi.js.map} +1 -1
  200. package/dist/chunks/{tooltip.Bu8o7uyZ.js → tooltip.Vgoc41cI.js} +2 -2
  201. package/dist/chunks/{tooltip.Bu8o7uyZ.js.map → tooltip.Vgoc41cI.js.map} +1 -1
  202. package/dist/chunks/{tutorial.BWWTUI9f.js → tutorial.CmLMgXDK.js} +45 -44
  203. package/dist/chunks/tutorial.CmLMgXDK.js.map +1 -0
  204. package/dist/chunks/use-cached-selected-values.DVcpkFV3.js +1164 -0
  205. package/dist/chunks/use-cached-selected-values.DVcpkFV3.js.map +1 -0
  206. package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.Cd0kVWwa.js} +4 -4
  207. package/dist/chunks/warning-filled.Cd0kVWwa.js.map +1 -0
  208. package/dist/code-snippet.js +1 -1
  209. package/dist/dashboard-template.js +1 -1
  210. package/dist/dashed-underline.js +1 -1
  211. package/dist/data-grid-template.js +1 -1
  212. package/dist/data-grid.js +1 -1
  213. package/dist/date-picker.js +2 -2
  214. package/dist/date-range-picker.js +2 -2
  215. package/dist/dropdown.js +4 -4
  216. package/dist/empty-state.js +1 -1
  217. package/dist/file-uploader.js +1 -1
  218. package/dist/filter-bar.js +1 -1
  219. package/dist/form-layout.js +1 -1
  220. package/dist/header.js +1 -1
  221. package/dist/index.js +59 -59
  222. package/dist/info-icon.js +1 -1
  223. package/dist/input-field-password.js +1 -1
  224. package/dist/input-field-phone-number.js +1 -1
  225. package/dist/input-field.js +1 -1
  226. package/dist/inspector.js +1 -1
  227. package/dist/internal.js +12 -12
  228. package/dist/link.js +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/modal-fullscreen.js +1 -1
  231. package/dist/modal.js +2 -2
  232. package/dist/pagination.js +1 -1
  233. package/dist/payment-method.js +1 -1
  234. package/dist/popover.js +1 -1
  235. package/dist/popper-container.js +1 -1
  236. package/dist/promo-banner.js +1 -1
  237. package/dist/radio-group.js +1 -1
  238. package/dist/search-bar.js +2 -2
  239. package/dist/secondary-nav.js +1 -1
  240. package/dist/segmented-control.js +1 -1
  241. package/dist/selection-card.js +1 -1
  242. package/dist/sidepanel.js +1 -1
  243. package/dist/stepper.js +1 -1
  244. package/dist/structured-list.js +1 -1
  245. package/dist/styles/bento-dark.css +5 -5
  246. package/dist/styles/bento-light.css +5 -5
  247. package/dist/styles/bento.css +5 -5
  248. package/dist/styles/legacy.css +6 -4
  249. package/dist/styles/styleguide.css +5 -5
  250. package/dist/styles/utility.css +2 -2
  251. package/dist/summary-grid.js +1 -1
  252. package/dist/tabs.js +1 -1
  253. package/dist/tag.js +1 -1
  254. package/dist/textarea.js +1 -1
  255. package/dist/timeline.js +1 -1
  256. package/dist/toast.js +1 -1
  257. package/dist/toggle.js +1 -1
  258. package/dist/tutorial.js +1 -1
  259. package/dist/web-types.json +179 -144
  260. package/package.json +6 -6
  261. package/dist/chunks/alert.hiTIDSeX.js.map +0 -1
  262. package/dist/chunks/checkbox-input.Bo4NxNOh.js.map +0 -1
  263. package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js.map +0 -1
  264. package/dist/chunks/checkmark-small.BtF8b2gE.js.map +0 -1
  265. package/dist/chunks/chevron-left.PIu6yPqe.js.map +0 -1
  266. package/dist/chunks/chevron-up.DVfo78kV.js.map +0 -1
  267. package/dist/chunks/chip.HNUA9VZl.js.map +0 -1
  268. package/dist/chunks/copy.DMlIj53I.js.map +0 -1
  269. package/dist/chunks/cross-circle-fill-small.Oj6lPaDy.js.map +0 -1
  270. package/dist/chunks/cross-circle-fill.CnYH4R_h.js.map +0 -1
  271. package/dist/chunks/cross-small.BLUwtRB-.js.map +0 -1
  272. package/dist/chunks/cross.CsUPDmaA.js.map +0 -1
  273. package/dist/chunks/data-grid.iqFUbiZy.js.map +0 -1
  274. package/dist/chunks/date-range-picker.dcQRDNS7.js.map +0 -1
  275. package/dist/chunks/dialog-page.Bf07JxdG.js.map +0 -1
  276. package/dist/chunks/dot.BCX4w7eT.js.map +0 -1
  277. package/dist/chunks/dropdown.BBHNOorv.js.map +0 -1
  278. package/dist/chunks/expand.CwwKq7Uc.js.map +0 -1
  279. package/dist/chunks/file-uploader.mLUYQnz1.js.map +0 -1
  280. package/dist/chunks/filter-bar.CFcu6P8H.js.map +0 -1
  281. package/dist/chunks/info.CyeBsLgt.js.map +0 -1
  282. package/dist/chunks/input-field-password.Dez8haIj.js.map +0 -1
  283. package/dist/chunks/input-field.lEMEBT7J.js.map +0 -1
  284. package/dist/chunks/link.DZlbzVSB.js.map +0 -1
  285. package/dist/chunks/menu.lbODB0y3.js.map +0 -1
  286. package/dist/chunks/pagination.CuJ-P2bO.js.map +0 -1
  287. package/dist/chunks/payment-method.BKr_q5cZ.js +0 -84
  288. package/dist/chunks/payment-method.BKr_q5cZ.js.map +0 -1
  289. package/dist/chunks/popover.BQGNMbQN.js.map +0 -1
  290. package/dist/chunks/popper-container.CsW4R0-t.js.map +0 -1
  291. package/dist/chunks/refresh.BKI9WwKh.js.map +0 -1
  292. package/dist/chunks/search-bar.Dk-GuqgF.js.map +0 -1
  293. package/dist/chunks/search.CBKhp7zB.js.map +0 -1
  294. package/dist/chunks/show.IEAxtCB7.js.map +0 -1
  295. package/dist/chunks/timeline-item.C4HOsaEG.js.map +0 -1
  296. package/dist/chunks/toggle-button.BX_9vB0d.js.map +0 -1
  297. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  298. package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
  299. package/dist/chunks/tutorial.BWWTUI9f.js.map +0 -1
  300. package/dist/chunks/use-cached-selected-values.C5gHa-dC.js +0 -1301
  301. package/dist/chunks/use-cached-selected-values.C5gHa-dC.js.map +0 -1
  302. package/dist/chunks/warning-filled.CLKRzGMT.js.map +0 -1
  303. /package/dist/assets/{cross.css → main.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"dashed-underline.COTMts4l.js","sources":["../../src/components/dashed-underline/dashed-underline.vue"],"sourcesContent":["<template>\n <span\n ref=\"element\"\n v-bento-tooltip-directive:[tooltipPosition]=\"tooltipText\"\n class=\"b-dashed-underline\"\n tabindex=\"0\"\n @mouseenter=\"openPopover\"\n @mouseleave=\"closePopover\"\n @focus=\"infoIconOnFocus\"\n @focusout=\"infoIconOnFocusOut\"\n >\n <slot></slot>\n <bento-popover\n v-if=\"element && hasPopover\"\n :open=\"isOpen\"\n :target-element=\"element\"\n :position=\"popoverPosition\"\n role=\"tooltip\"\n fit-content\n disable-focus-trap\n >\n <slot name=\"popover-content\">\n <bento-typography>\n {{ popoverText }}\n </bento-typography>\n </slot>\n </bento-popover>\n </span>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, ref, useSlots, watch } from 'vue';\n import { BentoPopover, type BentoPopoverPositions } from '@/components/popover';\n import {\n type BentoTooltipPosition,\n BentoTooltipDirective as vBentoTooltipDirective,\n } from '@/directives/tooltip/index';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const CLOSING_POPOVER_DELAY_MS = 200;\n\n const props = defineProps({\n popoverText: { default: null },\n popoverPosition: { default: 'top' },\n tooltipText: { default: null },\n tooltipPosition: { default: 'top' }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const element = ref<HTMLSpanElement>(null);\n const isOpen = ref(false);\n\n const closingTimeOutId = ref();\n\n const openPopover = () => {\n isOpen.value = true;\n if (closingTimeOutId.value) {\n clearTimeout(closingTimeOutId.value);\n }\n };\n\n const closePopover = () => {\n // We want to delay closing for a couple of seconds so\n // it doesn't flicker if a user hovers over the icon and then inside the popover.\n const timeOutId = setTimeout(() => {\n isOpen.value = false;\n }, CLOSING_POPOVER_DELAY_MS);\n closingTimeOutId.value = timeOutId;\n };\n\n const infoIconOnFocus = () => {\n openPopover();\n };\n\n /**\n * Only close popover on blur if the newly focus element is not a child of this element\n * @param e - the event that contains the newly focused element\n */\n const infoIconOnFocusOut = (e: FocusEvent) => {\n if (!element.value || !(e?.relatedTarget instanceof Element) || !element.value.contains(e.relatedTarget)) {\n closePopover();\n }\n };\n\n const hasPopover = computed(() => props.popoverText || hasSlot('popover-content'));\n\n const shouldShowTooltipPopoverError = computed(() => !props.tooltipText && !hasPopover.value);\n\n watch(\n shouldShowTooltipPopoverError,\n value => {\n if (value) {\n throw new Error(\n 'BentoDashedUnderline requires either a tooltip or a popover to be configured. Check the docs for more info.'\n );\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The dashed underline serves as a visual cue to indicate that additional information is available for\n * a specific word or phrase without adding an icon.\n *\n * @example\n * import { BentoDashedUnderline } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashedUnderline },\n * template: `\n * <bento-dashed-underline>\n * annotated text\n * </bento-dashed-underline>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashed-underline.scss\" />\n"],"names":["__default__","CLOSING_POPOVER_DELAY_MS","slots","useSlots","hasSlot","useHasSlot","element","ref","isOpen","closingTimeOutId","openPopover","closePopover","timeOutId","infoIconOnFocus","infoIconOnFocusOut","e","hasPopover","computed","props","shouldShowTooltipPopoverError","watch","value"],"mappings":";;;;;;;AAyHI,MAAAA,IAAA,CAAA;;;;;;;;;;iBAjFAC,IAAA,KASAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,EAAA,GAEAE,IAAAF,EAAA,GAEAG,IAAA,MAAA;AACI,MAAAF,EAAA,QAAA,IACAC,EAAA,SACI,aAAAA,EAAA,KAAA;AAAA,IACJ,GAGJE,IAAA,MAAA;AAGI,YAAAC,IAAA,WAAA,MAAA;AACI,QAAAJ,EAAA,QAAA;AAAA,MAAe,GAAAP,CAAA;AAEnB,MAAAQ,EAAA,QAAAG;AAAA,IAAyB,GAG7BC,IAAA,MAAA;AACI,MAAAH,EAAA;AAAA,IAAY,GAOhBI,IAAA,CAAAC,MAAA;AACI,OAAA,CAAAT,EAAA,SAAA,GAAAS,KAAA,gBAAAA,EAAA,0BAAA,YAAA,CAAAT,EAAA,MAAA,SAAAS,EAAA,aAAA,MACIJ,EAAA;AAAA,IACJ,GAGJK,IAAAC,EAAA,MAAAC,EAAA,eAAAd,EAAA,iBAAA,CAAA,GAEAe,IAAAF,EAAA,MAAA,CAAAC,EAAA,eAAA,CAAAF,EAAA,KAAA;AAEA,WAAAI;AAAA,MAAAD;AAAA,MACI,CAAAE,MAAA;AAEI,YAAAA;AACI,gBAAA,IAAA;AAAA,YAAU;AAAA,UACN;AAAA,MAER;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"dashed-underline.CAhDrAG_.js","sources":["../../src/components/dashed-underline/dashed-underline.vue"],"sourcesContent":["<template>\n <span\n ref=\"element\"\n v-bento-tooltip-directive:[tooltipPosition]=\"tooltipText\"\n class=\"b-dashed-underline\"\n tabindex=\"0\"\n @mouseenter=\"openPopover\"\n @mouseleave=\"closePopover\"\n @focus=\"infoIconOnFocus\"\n @focusout=\"infoIconOnFocusOut\"\n >\n <slot></slot>\n <bento-popover\n v-if=\"element && hasPopover\"\n :open=\"isOpen\"\n :target-element=\"element\"\n :position=\"popoverPosition\"\n role=\"tooltip\"\n fit-content\n disable-focus-trap\n >\n <slot name=\"popover-content\">\n <bento-typography>\n {{ popoverText }}\n </bento-typography>\n </slot>\n </bento-popover>\n </span>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, ref, useSlots, watch } from 'vue';\n import { BentoPopover, type BentoPopoverPositions } from '@/components/popover';\n import {\n type BentoTooltipPosition,\n BentoTooltipDirective as vBentoTooltipDirective,\n } from '@/directives/tooltip/index';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const CLOSING_POPOVER_DELAY_MS = 200;\n\n const props = defineProps({\n popoverText: { default: null },\n popoverPosition: { default: 'top' },\n tooltipText: { default: null },\n tooltipPosition: { default: 'top' }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const element = ref<HTMLSpanElement>(null);\n const isOpen = ref(false);\n\n const closingTimeOutId = ref();\n\n const openPopover = () => {\n isOpen.value = true;\n if (closingTimeOutId.value) {\n clearTimeout(closingTimeOutId.value);\n }\n };\n\n const closePopover = () => {\n // We want to delay closing for a couple of seconds so\n // it doesn't flicker if a user hovers over the icon and then inside the popover.\n const timeOutId = setTimeout(() => {\n isOpen.value = false;\n }, CLOSING_POPOVER_DELAY_MS);\n closingTimeOutId.value = timeOutId;\n };\n\n const infoIconOnFocus = () => {\n openPopover();\n };\n\n /**\n * Only close popover on blur if the newly focus element is not a child of this element\n * @param e - the event that contains the newly focused element\n */\n const infoIconOnFocusOut = (e: FocusEvent) => {\n if (!element.value || !(e?.relatedTarget instanceof Element) || !element.value.contains(e.relatedTarget)) {\n closePopover();\n }\n };\n\n const hasPopover = computed(() => props.popoverText || hasSlot('popover-content'));\n\n const shouldShowTooltipPopoverError = computed(() => !props.tooltipText && !hasPopover.value);\n\n watch(\n shouldShowTooltipPopoverError,\n value => {\n if (value) {\n throw new Error(\n 'BentoDashedUnderline requires either a tooltip or a popover to be configured. Check the docs for more info.'\n );\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The dashed underline serves as a visual cue to indicate that additional information is available for\n * a specific word or phrase without adding an icon.\n *\n * @example\n * import { BentoDashedUnderline } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashedUnderline },\n * template: `\n * <bento-dashed-underline>\n * annotated text\n * </bento-dashed-underline>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashed-underline.scss\" />\n"],"names":["__default__","CLOSING_POPOVER_DELAY_MS","slots","useSlots","hasSlot","useHasSlot","element","ref","isOpen","closingTimeOutId","openPopover","closePopover","timeOutId","infoIconOnFocus","infoIconOnFocusOut","e","hasPopover","computed","props","shouldShowTooltipPopoverError","watch","value"],"mappings":";;;;;;;AAyHI,MAAAA,IAAA,CAAA;;;;;;;;;;iBAjFAC,IAAA,KASAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,EAAA,GAEAE,IAAAF,EAAA,GAEAG,IAAA,MAAA;AACI,MAAAF,EAAA,QAAA,IACAC,EAAA,SACI,aAAAA,EAAA,KAAA;AAAA,IACJ,GAGJE,IAAA,MAAA;AAGI,YAAAC,IAAA,WAAA,MAAA;AACI,QAAAJ,EAAA,QAAA;AAAA,MAAe,GAAAP,CAAA;AAEnB,MAAAQ,EAAA,QAAAG;AAAA,IAAyB,GAG7BC,IAAA,MAAA;AACI,MAAAH,EAAA;AAAA,IAAY,GAOhBI,IAAA,CAAAC,MAAA;AACI,OAAA,CAAAT,EAAA,SAAA,GAAAS,KAAA,gBAAAA,EAAA,0BAAA,YAAA,CAAAT,EAAA,MAAA,SAAAS,EAAA,aAAA,MACIJ,EAAA;AAAA,IACJ,GAGJK,IAAAC,EAAA,MAAAC,EAAA,eAAAd,EAAA,iBAAA,CAAA,GAEAe,IAAAF,EAAA,MAAA,CAAAC,EAAA,eAAA,CAAAF,EAAA,KAAA;AAEA,WAAAI;AAAA,MAAAD;AAAA,MACI,CAAAE,MAAA;AAEI,YAAAA;AACI,gBAAA,IAAA;AAAA,YAAU;AAAA,UACN;AAAA,MAER;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, useSlots as u, ref as T, computed as b, provide as v, toRef as y } from "vue";
2
- import { B as C } from "./header.BeS6ktqU.js";
3
- import { a as g, B as R } from "./tabs.5zgaD1k3.js";
2
+ import { B as C } from "./header.CRlxEGHb.js";
3
+ import { a as g, B as R } from "./tabs.UFoTqvew.js";
4
4
  import { u as I } from "./use-has-slot.C9lQZ6nz.js";
5
5
  import { D as S } from "./data-grid-template.keys.2_AkxuNT.js";
6
6
  import { n as h } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
@@ -66,4 +66,4 @@ const N = G.exports;
66
66
  export {
67
67
  N as d
68
68
  };
69
- //# sourceMappingURL=data-grid-template.BPBneEHq.js.map
69
+ //# sourceMappingURL=data-grid-template.DG5IWdLG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-grid-template.BPBneEHq.js","sources":["../../src/templates/data-grid-template/data-grid-template.vue"],"sourcesContent":["<template>\n <main class=\"b-data-grid-template b-data-grid-template--sticky-tabs\">\n <bento-header v-bind=\"header\" variant=\"component\" class=\"b-data-grid-template__header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n <div v-if=\"hasSlot('additionalContent')\" class=\"b-data-grid-template__additional-content\">\n <slot name=\"additionalContent\" />\n </div>\n <bento-tabs\n v-if=\"tabsSlots.length > 1\"\n ref=\"tabsRef\"\n :active-tab-index=\"tabs.activeTabIndex\"\n class=\"b-data-grid-template__tabs\"\n @update:active-tab-index=\"emitTabs\"\n >\n <bento-tab v-for=\"(_item, index) in tabsSlots\" :key=\"`tab-${index}`\" :title=\"getTabTitle(index)\">\n <slot :name=\"`tab-${index + 1}`\" />\n </bento-tab>\n </bento-tabs>\n <slot v-else />\n </main>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, provide, Ref, ref, toRef, UnwrapRef, useSlots } from 'vue';\n import { BentoHeader } from '@/components/header';\n import { BentoTab, BentoTabs } from '@/components/tabs';\n import { useHasSlot } from '@/composables';\n import { DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY } from './data-grid-template.keys';\n import type {\n BentoDataGridTemplateDataGrid,\n BentoDataGridTemplateHeader,\n BentoDataGridTemplateTabs,\n } from './data-grid-template.types';\n\n const props = defineProps({\n /**\n * The header that goes to the top of the template\n */\n header: {\n type: Object as PropType<BentoDataGridTemplateHeader>,\n required: true,\n },\n\n /**\n * All the tab properties that can be set on the inner tab components.\n * - tabs.activeTabIndex: the currently active tab index.\n * - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.\n */\n tabs: {\n type: Object as PropType<BentoDataGridTemplateTabs>,\n default: undefined,\n },\n\n /**\n * Renders the tabs with a sticky positioning\n */\n stickyTabs: {\n type: Boolean,\n default: false,\n },\n });\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"update:tabs\"]);\n\n const tabsRef = ref(null);\n\n const computedTabsRef = computed(() => tabsRef.value?.$refs?.tablist);\n\n const tabsSlots = computed(() => Object.keys(slots).filter(el => el?.includes('tab-')));\n\n const emitTabs = (newActiveTabIndex: number) => {\n emit('update:tabs', { ...props.tabs, activeTabIndex: newActiveTabIndex });\n };\n\n const getTabTitle = (index: number) => props?.tabs.tabs?.[index]?.title ?? `Tab ${index + 1}`;\n\n const registerDatagridInDataGridTemplate: BentoDataGridTemplateDataGrid = () => {\n const isDataGridTemplate = true;\n const stickyTabs: Ref<boolean> = toRef(props, 'stickyTabs');\n const tabsRef: Ref<UnwrapRef<HTMLDivElement>> | null = computedTabsRef;\n\n // return values to the Tab component\n return { isDataGridTemplate, stickyTabs, tabsRef };\n };\n\n provide(DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY, registerDatagridInDataGridTemplate);\n</script>\n\n<script lang=\"ts\">\n /**\n * The data grid template is a restrictive, full-page data grid used to display information from a data set.\n * You can use this data grid template when your user needs a clear overview of data or a way of organizing and analyzing the data in their own way.\n * This data grid template shouldn’t be confused with the data grid.\n *\n * @example\n * import { BentoDataGridTemplate } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDataGridTemplate },\n * template: `\n * // If you want to display multiple data grids in the same page (they will be rendered in different tabs)\n * <bento-data-grid-template>\n * <template #tab-1><bento-data-grid v-bind=\"your-data-grid-args\" title=\"Title for tab 1\"/></template>\n * <template #tab-2><bento-data-grid v-bind=\"your-data-grid-args\" title=\"Title for tab 2\"/></template>\n * </bento-data-grid-template>\n * // Alternatively, if you only want to pass one data grid to your template:\n * <bento-data-grid-template>\n * <template #default><bento-data-grid v-bind=\"your-data-grid-args\"/></template>\n * </bento-data-grid-template>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./data-grid-template.scss\" />\n"],"names":["__default__","slots","useSlots","hasSlot","useHasSlot","tabsRef","ref","computedTabsRef","computed","_b","_a","tabsSlots","el","emitTabs","newActiveTabIndex","emit","props","getTabTitle","index","registerDatagridInDataGridTemplate","toRef","provide","DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY"],"mappings":";;;;;;;AAqHI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBArDAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAIAI,IAAAC,EAAA,IAAA,GAEAC,IAAAC,EAAA,MAAA;;AAAA,cAAAC,KAAAC,IAAAL,EAAA,UAAA,gBAAAK,EAAA,UAAA,gBAAAD,EAAA;AAAA,KAAA,GAEAE,IAAAH,EAAA,MAAA,OAAA,KAAAP,CAAA,EAAA,OAAA,CAAAW,MAAAA,KAAA,gBAAAA,EAAA,SAAA,OAAA,CAAA,GAEAC,IAAA,CAAAC,MAAA;AACI,MAAAC,EAAA,eAAA,EAAA,GAAAC,EAAA,MAAA,gBAAAF,EAAA,CAAA;AAAA,IAAwE,GAG5EG,IAAA,CAAAC,MAAA;;AAAA,eAAAT,KAAAC,IAAAM,KAAA,gBAAAA,EAAA,KAAA,SAAA,gBAAAN,EAAAQ,OAAA,gBAAAT,EAAA,UAAA,OAAAS,IAAA,CAAA;AAAA,OAEAC,IAAA,OAMI,EAAA,wBAAA,YAJAC,EAAAJ,GAAA,YAAA,GAIA,SAHAT,EAGA;AAGJ,WAAAc,EAAAC,GAAAH,CAAA;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"data-grid-template.DG5IWdLG.js","sources":["../../src/templates/data-grid-template/data-grid-template.vue"],"sourcesContent":["<template>\n <main class=\"b-data-grid-template b-data-grid-template--sticky-tabs\">\n <bento-header v-bind=\"header\" variant=\"component\" class=\"b-data-grid-template__header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n <div v-if=\"hasSlot('additionalContent')\" class=\"b-data-grid-template__additional-content\">\n <slot name=\"additionalContent\" />\n </div>\n <bento-tabs\n v-if=\"tabsSlots.length > 1\"\n ref=\"tabsRef\"\n :active-tab-index=\"tabs.activeTabIndex\"\n class=\"b-data-grid-template__tabs\"\n @update:active-tab-index=\"emitTabs\"\n >\n <bento-tab v-for=\"(_item, index) in tabsSlots\" :key=\"`tab-${index}`\" :title=\"getTabTitle(index)\">\n <slot :name=\"`tab-${index + 1}`\" />\n </bento-tab>\n </bento-tabs>\n <slot v-else />\n </main>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, provide, Ref, ref, toRef, UnwrapRef, useSlots } from 'vue';\n import { BentoHeader } from '@/components/header';\n import { BentoTab, BentoTabs } from '@/components/tabs';\n import { useHasSlot } from '@/composables';\n import { DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY } from './data-grid-template.keys';\n import type {\n BentoDataGridTemplateDataGrid,\n BentoDataGridTemplateHeader,\n BentoDataGridTemplateTabs,\n } from './data-grid-template.types';\n\n const props = defineProps({\n /**\n * The header that goes to the top of the template\n */\n header: {\n type: Object as PropType<BentoDataGridTemplateHeader>,\n required: true,\n },\n\n /**\n * All the tab properties that can be set on the inner tab components.\n * - tabs.activeTabIndex: the currently active tab index.\n * - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.\n */\n tabs: {\n type: Object as PropType<BentoDataGridTemplateTabs>,\n default: undefined,\n },\n\n /**\n * Renders the tabs with a sticky positioning\n */\n stickyTabs: {\n type: Boolean,\n default: false,\n },\n });\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"update:tabs\"]);\n\n const tabsRef = ref(null);\n\n const computedTabsRef = computed(() => tabsRef.value?.$refs?.tablist);\n\n const tabsSlots = computed(() => Object.keys(slots).filter(el => el?.includes('tab-')));\n\n const emitTabs = (newActiveTabIndex: number) => {\n emit('update:tabs', { ...props.tabs, activeTabIndex: newActiveTabIndex });\n };\n\n const getTabTitle = (index: number) => props?.tabs.tabs?.[index]?.title ?? `Tab ${index + 1}`;\n\n const registerDatagridInDataGridTemplate: BentoDataGridTemplateDataGrid = () => {\n const isDataGridTemplate = true;\n const stickyTabs: Ref<boolean> = toRef(props, 'stickyTabs');\n const tabsRef: Ref<UnwrapRef<HTMLDivElement>> | null = computedTabsRef;\n\n // return values to the Tab component\n return { isDataGridTemplate, stickyTabs, tabsRef };\n };\n\n provide(DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY, registerDatagridInDataGridTemplate);\n</script>\n\n<script lang=\"ts\">\n /**\n * The data grid template is a restrictive, full-page data grid used to display information from a data set.\n * You can use this data grid template when your user needs a clear overview of data or a way of organizing and analyzing the data in their own way.\n * This data grid template shouldn’t be confused with the data grid.\n *\n * @example\n * import { BentoDataGridTemplate } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDataGridTemplate },\n * template: `\n * // If you want to display multiple data grids in the same page (they will be rendered in different tabs)\n * <bento-data-grid-template>\n * <template #tab-1><bento-data-grid v-bind=\"your-data-grid-args\" title=\"Title for tab 1\"/></template>\n * <template #tab-2><bento-data-grid v-bind=\"your-data-grid-args\" title=\"Title for tab 2\"/></template>\n * </bento-data-grid-template>\n * // Alternatively, if you only want to pass one data grid to your template:\n * <bento-data-grid-template>\n * <template #default><bento-data-grid v-bind=\"your-data-grid-args\"/></template>\n * </bento-data-grid-template>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./data-grid-template.scss\" />\n"],"names":["__default__","slots","useSlots","hasSlot","useHasSlot","tabsRef","ref","computedTabsRef","computed","_b","_a","tabsSlots","el","emitTabs","newActiveTabIndex","emit","props","getTabTitle","index","registerDatagridInDataGridTemplate","toRef","provide","DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY"],"mappings":";;;;;;;AAqHI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBArDAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAIAI,IAAAC,EAAA,IAAA,GAEAC,IAAAC,EAAA,MAAA;;AAAA,cAAAC,KAAAC,IAAAL,EAAA,UAAA,gBAAAK,EAAA,UAAA,gBAAAD,EAAA;AAAA,KAAA,GAEAE,IAAAH,EAAA,MAAA,OAAA,KAAAP,CAAA,EAAA,OAAA,CAAAW,MAAAA,KAAA,gBAAAA,EAAA,SAAA,OAAA,CAAA,GAEAC,IAAA,CAAAC,MAAA;AACI,MAAAC,EAAA,eAAA,EAAA,GAAAC,EAAA,MAAA,gBAAAF,EAAA,CAAA;AAAA,IAAwE,GAG5EG,IAAA,CAAAC,MAAA;;AAAA,eAAAT,KAAAC,IAAAM,KAAA,gBAAAA,EAAA,KAAA,SAAA,gBAAAN,EAAAQ,OAAA,gBAAAT,EAAA,UAAA,OAAAS,IAAA,CAAA;AAAA,OAEAC,IAAA,OAMI,EAAA,wBAAA,YAJAC,EAAAJ,GAAA,YAAA,GAIA,SAHAT,EAGA;AAGJ,WAAAc,EAAAC,GAAAH,CAAA;;;;;;;;;;;;;;;;;;;"}
@@ -1,44 +1,45 @@
1
1
  import { ref as b, reactive as be, toRefs as Oe, computed as L, watchEffect as on, watch as Y, onMounted as Ae, nextTick as K, onUnmounted as st, onBeforeUpdate as ln, defineComponent as Q, toRef as we, useSlots as Te, provide as ot, inject as Ee } from "vue";
2
- import { C as an } from "./checkmark-circle-fill.Cn7JN_Tk.js";
3
- import { W as rn } from "./warning-filled.CLKRzGMT.js";
2
+ import { C as an } from "./checkmark-circle-fill.C46dV1Rf.js";
3
+ import { W as rn } from "./warning-filled.Cd0kVWwa.js";
4
+ /* empty css */
4
5
  import { n as V } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
- import { C as lt } from "./cross.CsUPDmaA.js";
6
- import { N as Ge } from "./checkbox-input.Bo4NxNOh.js";
7
- import { d as dn } from "./popper-container.CsW4R0-t.js";
8
- import { K as te, B as cn } from "./tooltip.Bu8o7uyZ.js";
9
- import { B as un } from "./action-bar.pYOeP8WX.js";
10
- import { B as fn } from "./pagination.CuJ-P2bO.js";
6
+ import { C as lt } from "./cross.CJ5EEL2c.js";
7
+ import { N as Ge } from "./checkbox-input.B4A_gL2b.js";
8
+ import { d as dn } from "./popper-container.Bqy3oVj6.js";
9
+ import { K as te, B as cn } from "./tooltip.Vgoc41cI.js";
10
+ import { B as un } from "./action-bar.DGhojWpe.js";
11
+ import { B as fn } from "./pagination.CdOxfZW2.js";
11
12
  import { B as Ne } from "./loading-indicator.z8COalOc.js";
12
13
  import { B as he, p as at } from "./typography.J1v_SPG3.js";
13
14
  import { u as Ie } from "./use-has-slot.C9lQZ6nz.js";
14
15
  import { u as gn } from "./aria-label.CaUURpnB.js";
15
16
  import { g as _n } from "./get-slot-text.BQS5Olxm.js";
16
17
  import { u as ie } from "./i18n.BQkEbtPM.js";
17
- import { B as Le } from "./filter-bar.CFcu6P8H.js";
18
- import { B as vn } from "./empty-state.BnHTBgKG.js";
18
+ import { B as Le } from "./filter-bar.DClIG9aP.js";
19
+ import { B as vn } from "./empty-state.JbgxSrnv.js";
19
20
  import { E as Cn } from "./tabs.keys.Bc2pSKRw.js";
20
21
  import { D as hn } from "./data-grid-template.keys.2_AkxuNT.js";
21
22
  import { o as De } from "./resize.Bqks3WUm.js";
22
23
  import "./index.Cl4_42j5.js";
23
24
  import { u as mn } from "./use-expandable-content-height.GkjjbmPy.js";
24
25
  import { g as Re } from "./generate-uid.NJ8tVoha.js";
25
- import { B as it } from "./checkbox.CE9NdY0R.js";
26
- import { B as rt } from "./button.CdAFZa4V.js";
27
- import { B as dt, O as pn, D as Sn } from "./menu.lbODB0y3.js";
28
- import { E as Ln } from "./link.DZlbzVSB.js";
29
- import { C as wn } from "./copy.DMlIj53I.js";
30
- import { C as En, a as Rn } from "./chevron-up.DVfo78kV.js";
31
- import { B as Fe } from "./toggle-button.BX_9vB0d.js";
32
- import { e as yn, d as bn } from "./button-actions.BovYBINL.js";
33
- import { B as On } from "./info-icon.C4_l0WAf.js";
34
- import { a as We, B as An } from "./popover.BQGNMbQN.js";
35
- import { A as Tn } from "./dialog-page.Bf07JxdG.js";
36
- import { H as Nn, S as In } from "./show.IEAxtCB7.js";
26
+ import { B as it } from "./checkbox.BpF0HY7C.js";
27
+ import { B as rt } from "./button.D-3uUhuG.js";
28
+ import { B as dt, O as pn, D as Sn } from "./menu.CzbkunwY.js";
29
+ import { E as Ln } from "./link.BH3eB_7E.js";
30
+ import { C as wn } from "./copy.BNOiinIt.js";
31
+ import { C as En, a as Rn } from "./chevron-up.CSVyoaTy.js";
32
+ import { B as Fe } from "./toggle-button.DgSFugBP.js";
33
+ import { e as yn, d as bn } from "./button-actions.GhdYBSwt.js";
34
+ import { B as On } from "./info-icon.bXR5eo6I.js";
35
+ import { a as We, B as An } from "./popover.3sHql3nd.js";
36
+ import { A as Tn } from "./dialog-page.BfF5_hmG.js";
37
+ import { H as Nn, S as In } from "./show.e4LEpZKG.js";
37
38
  import { l as He } from "./events.CMzGybJJ.js";
38
- import { B as ct } from "./toggle.CyaY0U0K.js";
39
- import { B as Dn } from "./search-bar.Dk-GuqgF.js";
40
- import { u as Fn } from "./dropdown.BBHNOorv.js";
41
- import { S as xn } from "./search.CBKhp7zB.js";
39
+ import { B as ct } from "./toggle.Q52IIKfi.js";
40
+ import { B as Dn } from "./search-bar.CDTWPjG1.js";
41
+ import { u as Fn } from "./dropdown.DFEGHxjw.js";
42
+ import { S as xn } from "./search.pVu-JVAN.js";
42
43
  import { B as Mn } from "./directive.O3yEdalv.js";
43
44
  import "../assets/data-grid.css";
44
45
  var ye = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(ye || {}), se = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s))(se || {}), ae = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(ae || {}), A = /* @__PURE__ */ ((s) => (s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(A || {}), Ce = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(Ce || {}), k = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(k || {});
@@ -327,7 +328,7 @@ const Bn = (s, t) => {
327
328
  return ((h = u == null ? void 0 : u.children) == null ? void 0 : h.length) > 0 ? u.children.map((p) => e(p)).filter((p) => !a.value.includes(p)) : [];
328
329
  }
329
330
  );
330
- f([...a.value, ...d]), _();
331
+ (d == null ? void 0 : d.length) > 0 ? (f([...a.value, ...d]), _()) : f(a.value);
331
332
  }
332
333
  ), { onAllRowSelect: m, onRowSelect: c, onNestedRowSelect: l, allItemsSelectedState: i, selectedItems: a };
333
334
  }, Yn = (s, t, n) => ({ isSorting: (i) => s.value.some((C) => C.field === i), getSortingDirection: (i) => {
@@ -2092,7 +2093,7 @@ var Uo = function() {
2092
2093
  null,
2093
2094
  "f8532817"
2094
2095
  );
2095
- const Bl = Go.exports, Wo = {
2096
+ const Pl = Go.exports, Wo = {
2096
2097
  i18n: { messages: gt },
2097
2098
  name: "bento-data-grid"
2098
2099
  }, Ho = /* @__PURE__ */ Q({
@@ -2554,14 +2555,14 @@ var Vo = function() {
2554
2555
  null,
2555
2556
  "1a51db9c"
2556
2557
  );
2557
- const Pl = jo.exports;
2558
+ const zl = jo.exports;
2558
2559
  export {
2559
2560
  ye as B,
2560
- Bl as a,
2561
+ Pl as a,
2561
2562
  se as b,
2562
2563
  ae as c,
2563
- Pl as d,
2564
+ zl as d,
2564
2565
  A as e,
2565
2566
  Ce as f
2566
2567
  };
2567
- //# sourceMappingURL=data-grid.iqFUbiZy.js.map
2568
+ //# sourceMappingURL=data-grid.CHV-FvBB.js.map