@adyen/bento-vue2 2.1.0 → 2.2.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 (258) hide show
  1. package/dist/@types/index.d.ts +67 -10
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/anchor-scroller.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/alert.css +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button-actions.css +1 -1
  11. package/dist/assets/button.css +1 -1
  12. package/dist/assets/card.css +1 -1
  13. package/dist/assets/checkbox-input.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-filter.css +1 -0
  16. package/dist/assets/date-range-filter.css +1 -0
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/draggable-handle.css +1 -1
  19. package/dist/assets/dropdown.css +1 -1
  20. package/dist/assets/file-uploader.css +1 -1
  21. package/dist/assets/filter-bar.css +1 -1
  22. package/dist/assets/fixed-scroller.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/grid-layout.css +1 -1
  25. package/dist/assets/input-field.css +1 -1
  26. package/dist/assets/input-with-dropdown-filter.css +1 -0
  27. package/dist/assets/inspector.css +1 -1
  28. package/dist/assets/modal-fullscreen.css +1 -1
  29. package/dist/assets/navigation-menu-group.css +1 -1
  30. package/dist/assets/secondary-nav.css +1 -1
  31. package/dist/assets/sidepanel.css +1 -1
  32. package/dist/assets/table-of-contents.css +1 -1
  33. package/dist/assets/textarea.css +1 -1
  34. package/dist/assets/timeline-item.css +1 -1
  35. package/dist/assets/toggle.css +1 -1
  36. package/dist/button.js +1 -1
  37. package/dist/card.js +1 -1
  38. package/dist/checkbox.js +2 -2
  39. package/dist/chunks/{action-bar.D29UQHoA.js → action-bar.DCknEWYe.js} +3 -3
  40. package/dist/chunks/{action-bar.D29UQHoA.js.map → action-bar.DCknEWYe.js.map} +1 -1
  41. package/dist/chunks/{ai-tag.BLi-Xoh_.js → ai-tag.DfnRfKPR.js} +2 -2
  42. package/dist/chunks/{ai-tag.BLi-Xoh_.js.map → ai-tag.DfnRfKPR.js.map} +1 -1
  43. package/dist/chunks/{alert.BddJPWMN.js → alert.DNS4RH4N.js} +52 -70
  44. package/dist/chunks/alert.DNS4RH4N.js.map +1 -0
  45. package/dist/chunks/{anchor-scroller.Clb_9RNz.js → anchor-scroller.BQc3CyTV.js} +2 -2
  46. package/dist/chunks/{anchor-scroller.Clb_9RNz.js.map → anchor-scroller.BQc3CyTV.js.map} +1 -1
  47. package/dist/chunks/{base-modal._-Cc6jfi.js → base-modal.BDLjv1Nd.js} +5 -5
  48. package/dist/chunks/{base-modal._-Cc6jfi.js.map → base-modal.BDLjv1Nd.js.map} +1 -1
  49. package/dist/chunks/{button-actions-with-menu.1vZJWN1K.js → button-actions-with-menu.DnzDde3w.js} +2 -2
  50. package/dist/chunks/{button-actions-with-menu.1vZJWN1K.js.map → button-actions-with-menu.DnzDde3w.js.map} +1 -1
  51. package/dist/chunks/{button-actions.CdetBz3J.js → button-actions.B332AjJp.js} +2 -2
  52. package/dist/chunks/button-actions.B332AjJp.js.map +1 -0
  53. package/dist/chunks/{calendar.BalfhApP.js → calendar.BZDISQai.js} +18 -18
  54. package/dist/chunks/{calendar.BalfhApP.js.map → calendar.BZDISQai.js.map} +1 -1
  55. package/dist/chunks/{card.BhhC01dV.js → card.CW8CUymm.js} +3 -3
  56. package/dist/chunks/{card.BhhC01dV.js.map → card.CW8CUymm.js.map} +1 -1
  57. package/dist/chunks/{checkbox-group.C-1v4X3c.js → checkbox-group.4OUTLAFJ.js} +3 -3
  58. package/dist/chunks/{checkbox-group.C-1v4X3c.js.map → checkbox-group.4OUTLAFJ.js.map} +1 -1
  59. package/dist/chunks/{checkbox.CnuIUi4-.js → checkbox.D-S3f_zM.js} +2 -2
  60. package/dist/chunks/{checkbox.CnuIUi4-.js.map → checkbox.D-S3f_zM.js.map} +1 -1
  61. package/dist/chunks/{code-snippet.Bkd8R0vf.js → code-snippet.D9BVc5mO.js} +4 -4
  62. package/dist/chunks/{code-snippet.Bkd8R0vf.js.map → code-snippet.D9BVc5mO.js.map} +1 -1
  63. package/dist/chunks/{controls-group.Bku83Fm_.js → controls-group.Bj-gJZ6W.js} +2 -2
  64. package/dist/chunks/{controls-group.Bku83Fm_.js.map → controls-group.Bj-gJZ6W.js.map} +1 -1
  65. package/dist/chunks/{copy.B12-P_8A.js → copy.Cmu6Z-5X.js} +3 -3
  66. package/dist/chunks/{copy.B12-P_8A.js.map → copy.Cmu6Z-5X.js.map} +1 -1
  67. package/dist/chunks/{dashboard-section.yS2FNoIV.js → dashboard-section.BJGzt3yh.js} +3 -3
  68. package/dist/chunks/{dashboard-section.yS2FNoIV.js.map → dashboard-section.BJGzt3yh.js.map} +1 -1
  69. package/dist/chunks/{dashed-underline.RcRbre03.js → dashed-underline.CCGmjCty.js} +3 -3
  70. package/dist/chunks/{dashed-underline.RcRbre03.js.map → dashed-underline.CCGmjCty.js.map} +1 -1
  71. package/dist/chunks/{data-grid-template.B5A9whlD.js → data-grid-template.BMdKtfXm.js} +4 -4
  72. package/dist/chunks/{data-grid-template.B5A9whlD.js.map → data-grid-template.BMdKtfXm.js.map} +1 -1
  73. package/dist/chunks/{data-grid.Pg5iM8CJ.js → data-grid.DP4IQ00C.js} +20 -20
  74. package/dist/chunks/{data-grid.Pg5iM8CJ.js.map → data-grid.DP4IQ00C.js.map} +1 -1
  75. package/dist/chunks/date-filter.DbgzfI2t.js +117 -0
  76. package/dist/chunks/date-filter.DbgzfI2t.js.map +1 -0
  77. package/dist/chunks/{date-picker.RFus1MVJ.js → date-picker.DxcdtoNh.js} +7 -7
  78. package/dist/chunks/{date-picker.RFus1MVJ.js.map → date-picker.DxcdtoNh.js.map} +1 -1
  79. package/dist/chunks/date-range-filter.DNYsTcZy.js +869 -0
  80. package/dist/chunks/date-range-filter.DNYsTcZy.js.map +1 -0
  81. package/dist/chunks/{date-range-picker.B2B4hO6R.js → date-range-picker.Pz5NFYCO.js} +34 -34
  82. package/dist/chunks/{date-range-picker.B2B4hO6R.js.map → date-range-picker.Pz5NFYCO.js.map} +1 -1
  83. package/dist/chunks/{date-time-picker.DJxDa81N.js → date-time-picker.DfE8jCuG.js} +5 -5
  84. package/dist/chunks/{date-time-picker.DJxDa81N.js.map → date-time-picker.DfE8jCuG.js.map} +1 -1
  85. package/dist/chunks/{draggable-handle.BM07OVdH.js → draggable-handle.De5DnjDK.js} +2 -2
  86. package/dist/chunks/{draggable-handle.BM07OVdH.js.map → draggable-handle.De5DnjDK.js.map} +1 -1
  87. package/dist/chunks/{draggable.BczXedk7.js → draggable.B1opQncT.js} +2 -2
  88. package/dist/chunks/{draggable.BczXedk7.js.map → draggable.B1opQncT.js.map} +1 -1
  89. package/dist/chunks/{dropdown-tag.BmUNKoNw.js → dropdown-tag.B5vttt56.js} +3 -3
  90. package/dist/chunks/{dropdown-tag.BmUNKoNw.js.map → dropdown-tag.B5vttt56.js.map} +1 -1
  91. package/dist/chunks/{dropdown.CpZQYisR.js → dropdown.Dd8RNGXv.js} +963 -918
  92. package/dist/chunks/dropdown.Dd8RNGXv.js.map +1 -0
  93. package/dist/chunks/{empty-state.L3DTfiY7.js → empty-state.jbVOuwyN.js} +2 -2
  94. package/dist/chunks/{empty-state.L3DTfiY7.js.map → empty-state.jbVOuwyN.js.map} +1 -1
  95. package/dist/chunks/{field-label.BQaDr37D.js → field-label.Bz2PGQ-8.js} +2 -2
  96. package/dist/chunks/{field-label.BQaDr37D.js.map → field-label.Bz2PGQ-8.js.map} +1 -1
  97. package/dist/chunks/{file-uploader.Bo17jWtf.js → file-uploader.DmSy3J1u.js} +7 -6
  98. package/dist/chunks/{file-uploader.Bo17jWtf.js.map → file-uploader.DmSy3J1u.js.map} +1 -1
  99. package/dist/chunks/filter-bar.U5VrFM6-.js +1865 -0
  100. package/dist/chunks/filter-bar.U5VrFM6-.js.map +1 -0
  101. package/dist/chunks/{fixed-scroller.CHmrgoTQ.js → fixed-scroller.CkoOFRzH.js} +3 -3
  102. package/dist/chunks/{fixed-scroller.CHmrgoTQ.js.map → fixed-scroller.CkoOFRzH.js.map} +1 -1
  103. package/dist/chunks/{focus-trap.fd6_d2EW.js → focus-trap.BDpcWIxI.js} +1 -2
  104. package/dist/chunks/{focus-trap.fd6_d2EW.js.map → focus-trap.BDpcWIxI.js.map} +1 -1
  105. package/dist/chunks/{footer-actions.B8f-gEQV.js → footer-actions.CQYJ8Xvw.js} +2 -2
  106. package/dist/chunks/{footer-actions.B8f-gEQV.js.map → footer-actions.CQYJ8Xvw.js.map} +1 -1
  107. package/dist/chunks/{form-layout-title.b2BMYjnl.js → form-layout-title.MjuCRO9t.js} +2 -2
  108. package/dist/chunks/{form-layout-title.b2BMYjnl.js.map → form-layout-title.MjuCRO9t.js.map} +1 -1
  109. package/dist/chunks/grid-layout.m-5ySv9K.js +77 -0
  110. package/dist/chunks/grid-layout.m-5ySv9K.js.map +1 -0
  111. package/dist/chunks/{header-with-views.BJCjvhem.js → header-with-views.CvcWBdKH.js} +209 -209
  112. package/dist/chunks/{header-with-views.BJCjvhem.js.map → header-with-views.CvcWBdKH.js.map} +1 -1
  113. package/dist/chunks/{header.CDiold9n.js → header.CVKe-1fx.js} +4 -4
  114. package/dist/chunks/{header.CDiold9n.js.map → header.CVKe-1fx.js.map} +1 -1
  115. package/dist/chunks/{info-icon-with-popover.BzGVcMqy.js → info-icon-with-popover.BtholUjs.js} +3 -3
  116. package/dist/chunks/{info-icon-with-popover.BzGVcMqy.js.map → info-icon-with-popover.BtholUjs.js.map} +1 -1
  117. package/dist/chunks/{info-icon.D11usblr.js → info-icon.D_VTjUV3.js} +3 -3
  118. package/dist/chunks/{info-icon.D11usblr.js.map → info-icon.D_VTjUV3.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.D4Jn2yCi.js → input-field-password.DhFP1D1o.js} +4 -4
  120. package/dist/chunks/{input-field-password.D4Jn2yCi.js.map → input-field-password.DhFP1D1o.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.lV7yePoJ.js → input-field-phone-number.BRxttmou.js} +2 -2
  122. package/dist/chunks/{input-field-phone-number.lV7yePoJ.js.map → input-field-phone-number.BRxttmou.js.map} +1 -1
  123. package/dist/chunks/{input-field.90DWNO1a.js → input-field.FsFuEZ1l.js} +3 -3
  124. package/dist/chunks/{input-field.90DWNO1a.js.map → input-field.FsFuEZ1l.js.map} +1 -1
  125. package/dist/chunks/{input-time.D7IsprlH.js → input-time.DMBL8dyh.js} +3 -3
  126. package/dist/chunks/{input-time.D7IsprlH.js.map → input-time.DMBL8dyh.js.map} +1 -1
  127. package/dist/chunks/input-with-dropdown-filter.DtYX8oGX.js +80 -0
  128. package/dist/chunks/input-with-dropdown-filter.DtYX8oGX.js.map +1 -0
  129. package/dist/chunks/{inspector-page.IoC9naSV.js → inspector-page.DvS0wYuG.js} +2 -2
  130. package/dist/chunks/{inspector-page.IoC9naSV.js.map → inspector-page.DvS0wYuG.js.map} +1 -1
  131. package/dist/chunks/{inspector.BwtV4rE9.js → inspector.DZau1W4j.js} +2 -2
  132. package/dist/chunks/{inspector.BwtV4rE9.js.map → inspector.DZau1W4j.js.map} +1 -1
  133. package/dist/chunks/{list-item.ByyA5h1d.js → list-item.DTHD5vRf.js} +3 -3
  134. package/dist/chunks/{list-item.ByyA5h1d.js.map → list-item.DTHD5vRf.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cp_W_p4z.js → listbox-option-tag.JQxyZV07.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cp_W_p4z.js.map → listbox-option-tag.JQxyZV07.js.map} +1 -1
  137. package/dist/chunks/{modal-fullscreen.DG8Q-jHL.js → modal-fullscreen.DdlC1oF4.js} +3 -3
  138. package/dist/chunks/{modal-fullscreen.DG8Q-jHL.js.map → modal-fullscreen.DdlC1oF4.js.map} +1 -1
  139. package/dist/chunks/{modal.UkzON4bz.js → modal.CcyPb4mE.js} +4 -4
  140. package/dist/chunks/{modal.UkzON4bz.js.map → modal.CcyPb4mE.js.map} +1 -1
  141. package/dist/chunks/{navigation-menu-group.BzKRuhrd.js → navigation-menu-group.Syx9ckwd.js} +2 -2
  142. package/dist/chunks/{navigation-menu-group.BzKRuhrd.js.map → navigation-menu-group.Syx9ckwd.js.map} +1 -1
  143. package/dist/chunks/{pagination.DZEVT-CA.js → pagination.BVGAPUhn.js} +2 -2
  144. package/dist/chunks/{pagination.DZEVT-CA.js.map → pagination.BVGAPUhn.js.map} +1 -1
  145. package/dist/chunks/popover.types.CoDfZgDc.js +6 -0
  146. package/dist/chunks/{popover.types.DvIwSAAp.js.map → popover.types.CoDfZgDc.js.map} +1 -1
  147. package/dist/chunks/{popper-container.Cj3AWXSd.js → popper-container.Co4j6qME.js} +2 -2
  148. package/dist/chunks/{popper-container.Cj3AWXSd.js.map → popper-container.Co4j6qME.js.map} +1 -1
  149. package/dist/chunks/{progress-bar.CaurNYsc.js → progress-bar.BVQrgM_5.js} +2 -2
  150. package/dist/chunks/{progress-bar.CaurNYsc.js.map → progress-bar.BVQrgM_5.js.map} +1 -1
  151. package/dist/chunks/promo-banner.CcYpFY9b.js.map +1 -1
  152. package/dist/chunks/{radio-group.CLbYlzD7.js → radio-group.Do6wZ8p5.js} +3 -3
  153. package/dist/chunks/{radio-group.CLbYlzD7.js.map → radio-group.Do6wZ8p5.js.map} +1 -1
  154. package/dist/chunks/{rich-text-editor.5SMm2BbC.js → rich-text-editor.CTJGGcFd.js} +5 -5
  155. package/dist/chunks/{rich-text-editor.5SMm2BbC.js.map → rich-text-editor.CTJGGcFd.js.map} +1 -1
  156. package/dist/chunks/{search-bar.DrIwlAQj.js → search-bar.DFvrkNTD.js} +3 -3
  157. package/dist/chunks/{search-bar.DrIwlAQj.js.map → search-bar.DFvrkNTD.js.map} +1 -1
  158. package/dist/chunks/{secondary-nav.DRs5yAve.js → secondary-nav.BMsZqzdr.js} +3 -3
  159. package/dist/chunks/{secondary-nav.DRs5yAve.js.map → secondary-nav.BMsZqzdr.js.map} +1 -1
  160. package/dist/chunks/{segmented-control.CcQoBTfT.js → segmented-control.CgQbt9HC.js} +2 -2
  161. package/dist/chunks/{segmented-control.CcQoBTfT.js.map → segmented-control.CgQbt9HC.js.map} +1 -1
  162. package/dist/chunks/select-avatar-filter.DzuDTc_M.js +51 -0
  163. package/dist/chunks/select-avatar-filter.DzuDTc_M.js.map +1 -0
  164. package/dist/chunks/select-country-filter.DfLRX6oH.js +55 -0
  165. package/dist/chunks/select-country-filter.DfLRX6oH.js.map +1 -0
  166. package/dist/chunks/select-currency-filter.DZdYgqq3.js +89 -0
  167. package/dist/chunks/select-currency-filter.DZdYgqq3.js.map +1 -0
  168. package/dist/chunks/select-payment-method-filter.8NdbJiG5.js +51 -0
  169. package/dist/chunks/select-payment-method-filter.8NdbJiG5.js.map +1 -0
  170. package/dist/chunks/select-tag-filter.CTiPiXzG.js +59 -0
  171. package/dist/chunks/select-tag-filter.CTiPiXzG.js.map +1 -0
  172. package/dist/chunks/{selection-card-group.BYBAG8ig.js → selection-card-group.BhbzoA3X.js} +3 -3
  173. package/dist/chunks/{selection-card-group.BYBAG8ig.js.map → selection-card-group.BhbzoA3X.js.map} +1 -1
  174. package/dist/chunks/{sidepanel.CLbVkH7v.js → sidepanel.CbFGBFMX.js} +8 -8
  175. package/dist/chunks/sidepanel.CbFGBFMX.js.map +1 -0
  176. package/dist/chunks/{structured-list-item.BgcR0XlO.js → structured-list-item.C-9xk326.js} +4 -4
  177. package/dist/chunks/{structured-list-item.BgcR0XlO.js.map → structured-list-item.C-9xk326.js.map} +1 -1
  178. package/dist/chunks/{summary-grid.types.Do2PZQGm.js → summary-grid.types.C4-lY9Xr.js} +6 -6
  179. package/dist/chunks/{summary-grid.types.Do2PZQGm.js.map → summary-grid.types.C4-lY9Xr.js.map} +1 -1
  180. package/dist/chunks/{tab.zeRxc-3T.js → tab.BHaKwojJ.js} +3 -3
  181. package/dist/chunks/{tab.zeRxc-3T.js.map → tab.BHaKwojJ.js.map} +1 -1
  182. package/dist/chunks/{tag.CgsX8v2m.js → tag.DSyMRETc.js} +2 -2
  183. package/dist/chunks/{tag.CgsX8v2m.js.map → tag.DSyMRETc.js.map} +1 -1
  184. package/dist/chunks/{textarea.DMBnJaB1.js → textarea.DFKus3jR.js} +2 -2
  185. package/dist/chunks/{textarea.DMBnJaB1.js.map → textarea.DFKus3jR.js.map} +1 -1
  186. package/dist/chunks/{timeline-item.CS7TCdoU.js → timeline-item.bXwmfW79.js} +80 -68
  187. package/dist/chunks/timeline-item.bXwmfW79.js.map +1 -0
  188. package/dist/chunks/{title-details.BhR2nis-.js → title-details.cMpPBjrP.js} +2 -2
  189. package/dist/chunks/{title-details.BhR2nis-.js.map → title-details.cMpPBjrP.js.map} +1 -1
  190. package/dist/chunks/{tooltip.BOe7LOfD.js → tooltip.BeDzwoCN.js} +3 -3
  191. package/dist/chunks/{tooltip.BOe7LOfD.js.map → tooltip.BeDzwoCN.js.map} +1 -1
  192. package/dist/chunks/{tutorial.DSbBx_2h.js → tutorial.C8ApuHSy.js} +4 -4
  193. package/dist/chunks/{tutorial.DSbBx_2h.js.map → tutorial.C8ApuHSy.js.map} +1 -1
  194. package/dist/chunks/typography.Cd386LC_.js.map +1 -1
  195. package/dist/chunks/{use-date-input-formatter.CouOE5tF.js → use-date-input-formatter.DgTh6Zx4.js} +2 -2
  196. package/dist/chunks/{use-date-input-formatter.CouOE5tF.js.map → use-date-input-formatter.DgTh6Zx4.js.map} +1 -1
  197. package/dist/chunks/warning-filled.DI6aB6vH.js +26 -0
  198. package/dist/chunks/warning-filled.DI6aB6vH.js.map +1 -0
  199. package/dist/code-snippet.js +1 -1
  200. package/dist/dashboard-template.js +1 -1
  201. package/dist/dashed-underline.js +1 -1
  202. package/dist/data-grid-template.js +1 -1
  203. package/dist/data-grid.js +1 -1
  204. package/dist/date-picker.js +2 -2
  205. package/dist/date-range-picker.js +2 -2
  206. package/dist/date-time-picker.js +1 -1
  207. package/dist/draggable.js +2 -2
  208. package/dist/dropdown.js +2 -2
  209. package/dist/empty-state.js +1 -1
  210. package/dist/file-uploader.js +1 -1
  211. package/dist/filter-bar.js +1 -1
  212. package/dist/focus-trap.js +1 -1
  213. package/dist/form-layout.js +1 -1
  214. package/dist/header-with-views.js +1 -1
  215. package/dist/header.js +1 -1
  216. package/dist/index.js +57 -57
  217. package/dist/info-icon.js +1 -1
  218. package/dist/input-field-password.js +1 -1
  219. package/dist/input-field-phone-number.js +1 -1
  220. package/dist/input-field.js +1 -1
  221. package/dist/input-time.js +1 -1
  222. package/dist/inspector.js +2 -2
  223. package/dist/internal.js +13 -13
  224. package/dist/list.js +1 -1
  225. package/dist/menu.js +1 -1
  226. package/dist/modal-fullscreen.js +1 -1
  227. package/dist/modal.js +2 -2
  228. package/dist/navigation-menu.js +1 -1
  229. package/dist/pagination.js +1 -1
  230. package/dist/popover.js +2 -2
  231. package/dist/popper-container.js +1 -1
  232. package/dist/progress-bar.js +1 -1
  233. package/dist/radio-group.js +1 -1
  234. package/dist/rich-text-editor.js +1 -1
  235. package/dist/search-bar.js +2 -2
  236. package/dist/secondary-nav.js +1 -1
  237. package/dist/segmented-control.js +1 -1
  238. package/dist/selection-card.js +1 -1
  239. package/dist/sidepanel.js +1 -1
  240. package/dist/structured-list.js +1 -1
  241. package/dist/summary-grid.js +1 -1
  242. package/dist/tabs.js +1 -1
  243. package/dist/tag.js +1 -1
  244. package/dist/textarea.js +1 -1
  245. package/dist/timeline.js +1 -1
  246. package/dist/tutorial.js +1 -1
  247. package/dist/web-types.json +74 -10
  248. package/package.json +7 -7
  249. package/dist/chunks/alert.BddJPWMN.js.map +0 -1
  250. package/dist/chunks/button-actions.CdetBz3J.js.map +0 -1
  251. package/dist/chunks/dropdown.CpZQYisR.js.map +0 -1
  252. package/dist/chunks/filter-bar.Bio9nf9V.js +0 -3132
  253. package/dist/chunks/filter-bar.Bio9nf9V.js.map +0 -1
  254. package/dist/chunks/grid-layout.BeCrjPgT.js +0 -75
  255. package/dist/chunks/grid-layout.BeCrjPgT.js.map +0 -1
  256. package/dist/chunks/popover.types.DvIwSAAp.js +0 -6
  257. package/dist/chunks/sidepanel.CLbVkH7v.js.map +0 -1
  258. package/dist/chunks/timeline-item.CS7TCdoU.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-section.yS2FNoIV.js","sources":["../../src/templates/dashboard-template/dashboard-template.vue","../../src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue"],"sourcesContent":["<template>\n <main class=\"b-dashboard-template\">\n <bento-header v-bind=\"header\" variant=\"page\" class=\"b-dashboard-template__header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n <div class=\"b-dashboard-template__top-section\" :class=\"dashboardTopSectionConditionalClasses\">\n <div\n v-if=\"hasSlot('filters')\"\n ref=\"filtersRef\"\n class=\"b-dashboard-template__filters\"\n :class=\"dashboardFiltersConditionalClasses\"\n data-testid=\"filters\"\n >\n <slot name=\"filters\" />\n </div>\n\n <bento-tabs\n v-if=\"tabsSlots.length > 1\"\n ref=\"tabsRef\"\n :active-tab-index=\"tabs.activeTabIndex\"\n :sticky=\"stickyTabs\"\n :sticky-options=\"computedTabsOptions\"\n data-testid=\"tabs\"\n >\n <bento-tab v-for=\"(_item, index) in tabsSlots\" :key=\"`tab-${index}`\" :title=\"getTabTitle(index)\">\n <div class=\"b-dashboard-template__container b-dashboard-template__container--tabs\">\n <slot :name=\"`tab-${index + 1}`\" />\n </div>\n </bento-tab>\n </bento-tabs>\n <div v-else class=\"b-dashboard-template__container\">\n <slot />\n </div>\n </div>\n </main>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onUnmounted, ref, useSlots, watch } from 'vue';\n import { BentoHeader } from '@/components/header';\n import { BentoTab, BentoTabs } from '@/components/tabs';\n import { useWindowScroll } from '@vueuse/core';\n import { observeSizeOfElement } from '@/utils/ts/resize';\n import { useHasSlot } from '@/composables';\n import type { BentoDashboardTemplateHeader, BentoDashboardTemplateTabs } from './dashboard-template.types';\n\n const props = defineProps({\n header: null,\n tabs: { default: undefined },\n stickyTabs: { type: Boolean, default: false },\n stickyFilters: { type: Boolean, default: false }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const tabsRef = ref<InstanceType<typeof BentoTabs>>();\n const filtersRef = ref<HTMLDivElement>(null);\n const isFiltersPinned = ref(false);\n let filtersElementObserver: ResizeObserver | null = null;\n const tabsPosition = ref(0);\n\n const hasStickyFilters = computed(() => filtersRef.value && props.stickyFilters);\n const hasStickyTabs = computed(() => tabsRef.value && props.stickyTabs);\n\n const dashboardFiltersConditionalClasses = computed(() => ({\n 'b-dashboard-template__filters--sticky': props.stickyFilters,\n 'b-dashboard-template__filters--show-border':\n hasStickyFilters.value && !hasStickyTabs.value && isFiltersPinned.value,\n }));\n\n const dashboardTopSectionConditionalClasses = computed(() => ({\n 'b-dashboard-template__top-section--sticky': props.stickyTabs || props.stickyFilters,\n }));\n\n const tabsSlots = computed(() => Object.keys(slots).filter(el => el?.includes('tab-')));\n\n const getTabTitle = (index: number) => props?.tabs.tabs?.[index]?.title ?? `Tab ${index + 1}`;\n\n const computedTabsOptions = computed(() => (tabsPosition.value ? { top: tabsPosition.value } : undefined));\n\n const { y } = useWindowScroll();\n\n watch(\n () => filtersRef.value,\n () => {\n if (!filtersElementObserver && filtersRef.value) {\n filtersElementObserver = observeSizeOfElement(filtersRef.value, () => {\n if (filtersRef.value && hasStickyTabs.value) {\n const filtersHeight = filtersRef.value.offsetHeight;\n tabsPosition.value = hasStickyFilters.value ? filtersHeight : 0;\n }\n });\n }\n }\n );\n\n watch(\n () => y.value,\n () => {\n if (hasStickyFilters.value) {\n isFiltersPinned.value = filtersRef.value?.getBoundingClientRect().top === 0;\n }\n }\n );\n\n onUnmounted(() => {\n filtersElementObserver?.disconnect();\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Dashboard template is a full page template used to visualize data on pages such as data dashboards and reports.\n *\n * @example\n * import { BentoDashboardTemplate, BentoDashboardSection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashboardTemplate, BentoDashboardSection },\n * template: `\n * <bento-dashboard-template :header=\"{ title: 'Dashboard'}\" :tabs=\"tabs: [{ title: 'Tab 1' }, { title: 'Tab 2' }]\" sticky-tabs sticky-filters>\n * <template #tab-1>\n * <bento-dashboard-section :header=\"{ title: 'Section'}\">\n * <template #controls>\n * // Add your controls here\n * </template>\n * // Add your content here\n * </bento-dashboard-section>\n * </template>\n * <template #tab-2>\n * <bento-dashboard-section :header=\"{ title: 'Section'}\">\n * // Add your content here\n * </bento-dashboard-section>\n * </template>\n * </bento-dashboard-template>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashboard-template.scss\" />\n","<template>\n <div class=\"b-dashboard-section\" :class=\"conditionalClasses\">\n <bento-header v-bind=\"header\" variant=\"component\" class=\"b-dashboard-template__header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n <div v-if=\"hasSlot('controls')\" class=\"b-dashboard-section__controls\">\n <slot name=\"controls\"></slot>\n </div>\n <div v-if=\"!hasSlot('content-col-1') && !hasSlot('content-col-2')\" class=\"b-dashboard-section__content\">\n <slot name=\"default\"></slot>\n </div>\n <div v-else class=\"b-dashboard-section__columns\">\n <div class=\"b-dashboard-section__content\"><slot name=\"content-col-1\"></slot></div>\n <div class=\"b-dashboard-section__content\"><slot name=\"content-col-2\"></slot></div>\n </div>\n <bento-divider class=\"b-dashboard-section__divider\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n import { BentoHeader } from '@/components/header';\n import { BentoDivider } from '@/components/divider';\n import { useHasSlot } from '@/composables';\n import type { BentoDashboardTemplateHeader } from '../../dashboard-template.types';\n\n const props = defineProps({\n header: null,\n halfWidth: { type: Boolean, default: false }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const conditionalClasses = computed(() => ({\n 'b-dashboard-section--half-width': props.halfWidth,\n }));\n\n onMounted(() => {\n if ((hasSlot('content-col-1') || hasSlot('content-col-2')) && props.halfWidth) {\n throw new Error('`content-col-1` and `content-col-2` cannot be used with half-width prop');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Dashboard section is subcomponent of Dashboard template meant to be used to create the different sections within the page.\n *\n * @example\n * import { BentoDashboardSection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashboardSection },\n * template: `\n * <bento-dashboard-section :header=\"{ title: 'Section' }\" half-width>\n * <template #controls>\n * // Add your controls here\n * </template>\n * // You can render content with two cols\n * <template #content-col-1>\n * // Add your content here\n * </template>\n * <template #content-col-2>\n * // Add your content here\n * </template>\n * // Or you can render full width content by using default slot\n * // Add your content here\n * </bento-dashboard-section>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashboard-section.scss\" />\n"],"names":["__default__$1","slots","useSlots","hasSlot","useHasSlot","tabsRef","ref","filtersRef","isFiltersPinned","filtersElementObserver","tabsPosition","hasStickyFilters","computed","props","hasStickyTabs","dashboardFiltersConditionalClasses","dashboardTopSectionConditionalClasses","tabsSlots","el","getTabTitle","index","computedTabsOptions","y","useWindowScroll","watch","observeSizeOfElement","filtersHeight","onUnmounted","__default__","conditionalClasses","onMounted"],"mappings":";;;;;;;;;AA6II,MAAAA,IAAA,CAAA;;;;;;;;;;iBAtFAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,GACAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,EAAA;AACA,QAAAG,IAAA;AACA,UAAAC,IAAAJ,EAAA,CAAA,GAEAK,IAAAC,EAAA,MAAAL,EAAA,SAAAM,EAAA,aAAA,GACAC,IAAAF,EAAA,MAAAP,EAAA,SAAAQ,EAAA,UAAA,GAEAE,IAAAH,EAAA,OAAA;AAAA,MAA2D,yCAAAC,EAAA;AAAA,MACR,8CAAAF,EAAA,SAAA,CAAAG,EAAA,SAAAN,EAAA;AAAA,IAEuB,EAAA,GAG1EQ,IAAAJ,EAAA,OAAA;AAAA,MAA8D,6CAAAC,EAAA,cAAAA,EAAA;AAAA,IACa,EAAA,GAG3EI,IAAAL,EAAA,MAAA,OAAA,KAAAX,CAAA,EAAA,OAAA,CAAAiB,MAAAA,GAAA,SAAA,MAAA,CAAA,CAAA,GAEAC,IAAA,CAAAC,MAAAP,GAAA,KAAA,OAAAO,CAAA,GAAA,SAAA,OAAAA,IAAA,CAAA,IAEAC,IAAAT,EAAA,MAAAF,EAAA,QAAA,EAAA,KAAAA,EAAA,MAAA,IAAA,MAAA,GAEA,EAAA,GAAAY,EAAA,IAAAC,EAAA;AAEA,WAAAC;AAAA,MAAA,MAAAjB,EAAA;AAAA,MACqB,MAAA;AAEb,QAAA,CAAAE,KAAAF,EAAA,UACIE,IAAAgB,EAAAlB,EAAA,OAAA,MAAA;AACI,cAAAA,EAAA,SAAAO,EAAA,OAAA;AACI,kBAAAY,IAAAnB,EAAA,MAAA;AACA,YAAAG,EAAA,QAAAC,EAAA,QAAAe,IAAA;AAAA,UAA8D;AAAA,QAClE,CAAA;AAAA,MAER;AAAA,IACJ,GAGJF;AAAA,MAAA,MAAAF,EAAA;AAAA,MACY,MAAA;AAEJ,QAAAX,EAAA,UACIH,EAAA,QAAAD,EAAA,OAAA,sBAAA,EAAA,QAAA;AAAA,MACJ;AAAA,IACJ,GAGJoB,EAAA,MAAA;AACI,MAAAlB,GAAA,WAAA;AAAA,IAAmC,CAAA;;;;;;;;;;;;;;;;;;qBCnCvCmB,IAAA,CAAA;;;;;;;;iBAzCA3B,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEA4B,IAAAjB,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;AAG7C,WAAAiB,EAAA,MAAA;AACI,WAAA3B,EAAA,eAAA,KAAAA,EAAA,eAAA,MAAAU,EAAA;AACI,cAAA,IAAA,MAAA,yEAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"dashboard-section.BJGzt3yh.js","sources":["../../src/templates/dashboard-template/dashboard-template.vue","../../src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue"],"sourcesContent":["<template>\n <main class=\"b-dashboard-template\">\n <bento-header v-bind=\"header\" variant=\"page\" class=\"b-dashboard-template__header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n <div class=\"b-dashboard-template__top-section\" :class=\"dashboardTopSectionConditionalClasses\">\n <div\n v-if=\"hasSlot('filters')\"\n ref=\"filtersRef\"\n class=\"b-dashboard-template__filters\"\n :class=\"dashboardFiltersConditionalClasses\"\n data-testid=\"filters\"\n >\n <slot name=\"filters\" />\n </div>\n\n <bento-tabs\n v-if=\"tabsSlots.length > 1\"\n ref=\"tabsRef\"\n :active-tab-index=\"tabs.activeTabIndex\"\n :sticky=\"stickyTabs\"\n :sticky-options=\"computedTabsOptions\"\n data-testid=\"tabs\"\n >\n <bento-tab v-for=\"(_item, index) in tabsSlots\" :key=\"`tab-${index}`\" :title=\"getTabTitle(index)\">\n <div class=\"b-dashboard-template__container b-dashboard-template__container--tabs\">\n <slot :name=\"`tab-${index + 1}`\" />\n </div>\n </bento-tab>\n </bento-tabs>\n <div v-else class=\"b-dashboard-template__container\">\n <slot />\n </div>\n </div>\n </main>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onUnmounted, ref, useSlots, watch } from 'vue';\n import { BentoHeader } from '@/components/header';\n import { BentoTab, BentoTabs } from '@/components/tabs';\n import { useWindowScroll } from '@vueuse/core';\n import { observeSizeOfElement } from '@/utils/ts/resize';\n import { useHasSlot } from '@/composables';\n import type { BentoDashboardTemplateHeader, BentoDashboardTemplateTabs } from './dashboard-template.types';\n\n const props = defineProps({\n header: null,\n tabs: { default: undefined },\n stickyTabs: { type: Boolean, default: false },\n stickyFilters: { type: Boolean, default: false }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const tabsRef = ref<InstanceType<typeof BentoTabs>>();\n const filtersRef = ref<HTMLDivElement>(null);\n const isFiltersPinned = ref(false);\n let filtersElementObserver: ResizeObserver | null = null;\n const tabsPosition = ref(0);\n\n const hasStickyFilters = computed(() => filtersRef.value && props.stickyFilters);\n const hasStickyTabs = computed(() => tabsRef.value && props.stickyTabs);\n\n const dashboardFiltersConditionalClasses = computed(() => ({\n 'b-dashboard-template__filters--sticky': props.stickyFilters,\n 'b-dashboard-template__filters--show-border':\n hasStickyFilters.value && !hasStickyTabs.value && isFiltersPinned.value,\n }));\n\n const dashboardTopSectionConditionalClasses = computed(() => ({\n 'b-dashboard-template__top-section--sticky': props.stickyTabs || props.stickyFilters,\n }));\n\n const tabsSlots = computed(() => Object.keys(slots).filter(el => el?.includes('tab-')));\n\n const getTabTitle = (index: number) => props?.tabs.tabs?.[index]?.title ?? `Tab ${index + 1}`;\n\n const computedTabsOptions = computed(() => (tabsPosition.value ? { top: tabsPosition.value } : undefined));\n\n const { y } = useWindowScroll();\n\n watch(\n () => filtersRef.value,\n () => {\n if (!filtersElementObserver && filtersRef.value) {\n filtersElementObserver = observeSizeOfElement(filtersRef.value, () => {\n if (filtersRef.value && hasStickyTabs.value) {\n const filtersHeight = filtersRef.value.offsetHeight;\n tabsPosition.value = hasStickyFilters.value ? filtersHeight : 0;\n }\n });\n }\n }\n );\n\n watch(\n () => y.value,\n () => {\n if (hasStickyFilters.value) {\n isFiltersPinned.value = filtersRef.value?.getBoundingClientRect().top === 0;\n }\n }\n );\n\n onUnmounted(() => {\n filtersElementObserver?.disconnect();\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Dashboard template is a full page template used to visualize data on pages such as data dashboards and reports.\n *\n * @example\n * import { BentoDashboardTemplate, BentoDashboardSection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashboardTemplate, BentoDashboardSection },\n * template: `\n * <bento-dashboard-template :header=\"{ title: 'Dashboard'}\" :tabs=\"tabs: [{ title: 'Tab 1' }, { title: 'Tab 2' }]\" sticky-tabs sticky-filters>\n * <template #tab-1>\n * <bento-dashboard-section :header=\"{ title: 'Section'}\">\n * <template #controls>\n * // Add your controls here\n * </template>\n * // Add your content here\n * </bento-dashboard-section>\n * </template>\n * <template #tab-2>\n * <bento-dashboard-section :header=\"{ title: 'Section'}\">\n * // Add your content here\n * </bento-dashboard-section>\n * </template>\n * </bento-dashboard-template>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashboard-template.scss\" />\n","<template>\n <div class=\"b-dashboard-section\" :class=\"conditionalClasses\">\n <bento-header v-bind=\"header\" variant=\"component\" class=\"b-dashboard-template__header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n <div v-if=\"hasSlot('controls')\" class=\"b-dashboard-section__controls\">\n <slot name=\"controls\"></slot>\n </div>\n <div v-if=\"!hasSlot('content-col-1') && !hasSlot('content-col-2')\" class=\"b-dashboard-section__content\">\n <slot name=\"default\"></slot>\n </div>\n <div v-else class=\"b-dashboard-section__columns\">\n <div class=\"b-dashboard-section__content\"><slot name=\"content-col-1\"></slot></div>\n <div class=\"b-dashboard-section__content\"><slot name=\"content-col-2\"></slot></div>\n </div>\n <bento-divider class=\"b-dashboard-section__divider\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n import { BentoHeader } from '@/components/header';\n import { BentoDivider } from '@/components/divider';\n import { useHasSlot } from '@/composables';\n import type { BentoDashboardTemplateHeader } from '../../dashboard-template.types';\n\n const props = defineProps({\n header: null,\n halfWidth: { type: Boolean, default: false }\n});\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const conditionalClasses = computed(() => ({\n 'b-dashboard-section--half-width': props.halfWidth,\n }));\n\n onMounted(() => {\n if ((hasSlot('content-col-1') || hasSlot('content-col-2')) && props.halfWidth) {\n throw new Error('`content-col-1` and `content-col-2` cannot be used with half-width prop');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Dashboard section is subcomponent of Dashboard template meant to be used to create the different sections within the page.\n *\n * @example\n * import { BentoDashboardSection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashboardSection },\n * template: `\n * <bento-dashboard-section :header=\"{ title: 'Section' }\" half-width>\n * <template #controls>\n * // Add your controls here\n * </template>\n * // You can render content with two cols\n * <template #content-col-1>\n * // Add your content here\n * </template>\n * <template #content-col-2>\n * // Add your content here\n * </template>\n * // Or you can render full width content by using default slot\n * // Add your content here\n * </bento-dashboard-section>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashboard-section.scss\" />\n"],"names":["__default__$1","slots","useSlots","hasSlot","useHasSlot","tabsRef","ref","filtersRef","isFiltersPinned","filtersElementObserver","tabsPosition","hasStickyFilters","computed","props","hasStickyTabs","dashboardFiltersConditionalClasses","dashboardTopSectionConditionalClasses","tabsSlots","el","getTabTitle","index","computedTabsOptions","y","useWindowScroll","watch","observeSizeOfElement","filtersHeight","onUnmounted","__default__","conditionalClasses","onMounted"],"mappings":";;;;;;;;;AA6II,MAAAA,IAAA,CAAA;;;;;;;;;;iBAtFAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,GACAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,EAAA;AACA,QAAAG,IAAA;AACA,UAAAC,IAAAJ,EAAA,CAAA,GAEAK,IAAAC,EAAA,MAAAL,EAAA,SAAAM,EAAA,aAAA,GACAC,IAAAF,EAAA,MAAAP,EAAA,SAAAQ,EAAA,UAAA,GAEAE,IAAAH,EAAA,OAAA;AAAA,MAA2D,yCAAAC,EAAA;AAAA,MACR,8CAAAF,EAAA,SAAA,CAAAG,EAAA,SAAAN,EAAA;AAAA,IAEuB,EAAA,GAG1EQ,IAAAJ,EAAA,OAAA;AAAA,MAA8D,6CAAAC,EAAA,cAAAA,EAAA;AAAA,IACa,EAAA,GAG3EI,IAAAL,EAAA,MAAA,OAAA,KAAAX,CAAA,EAAA,OAAA,CAAAiB,MAAAA,GAAA,SAAA,MAAA,CAAA,CAAA,GAEAC,IAAA,CAAAC,MAAAP,GAAA,KAAA,OAAAO,CAAA,GAAA,SAAA,OAAAA,IAAA,CAAA,IAEAC,IAAAT,EAAA,MAAAF,EAAA,QAAA,EAAA,KAAAA,EAAA,MAAA,IAAA,MAAA,GAEA,EAAA,GAAAY,EAAA,IAAAC,EAAA;AAEA,WAAAC;AAAA,MAAA,MAAAjB,EAAA;AAAA,MACqB,MAAA;AAEb,QAAA,CAAAE,KAAAF,EAAA,UACIE,IAAAgB,EAAAlB,EAAA,OAAA,MAAA;AACI,cAAAA,EAAA,SAAAO,EAAA,OAAA;AACI,kBAAAY,IAAAnB,EAAA,MAAA;AACA,YAAAG,EAAA,QAAAC,EAAA,QAAAe,IAAA;AAAA,UAA8D;AAAA,QAClE,CAAA;AAAA,MAER;AAAA,IACJ,GAGJF;AAAA,MAAA,MAAAF,EAAA;AAAA,MACY,MAAA;AAEJ,QAAAX,EAAA,UACIH,EAAA,QAAAD,EAAA,OAAA,sBAAA,EAAA,QAAA;AAAA,MACJ;AAAA,IACJ,GAGJoB,EAAA,MAAA;AACI,MAAAlB,GAAA,WAAA;AAAA,IAAmC,CAAA;;;;;;;;;;;;;;;;;;qBCnCvCmB,IAAA,CAAA;;;;;;;;iBAzCA3B,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEA4B,IAAAjB,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;AAG7C,WAAAiB,EAAA,MAAA;AACI,WAAA3B,EAAA,eAAA,KAAAA,EAAA,eAAA,MAAAU,EAAA;AACI,cAAA,IAAA,MAAA,yEAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as v, useSlots as u, ref as c, computed as i, watch as f } from "vue";
2
- import { e as m, h as _ } from "./button-actions.CdetBz3J.js";
2
+ import { e as m, h as _ } from "./button-actions.B332AjJp.js";
3
3
  import { u as h } from "./use-has-slot.C9lQZ6nz.js";
4
4
  import { B as T } from "./typography.Cd386LC_.js";
5
- import { b as B } from "./tooltip.BOe7LOfD.js";
5
+ import { b as B } from "./tooltip.BeDzwoCN.js";
6
6
  import { u as b } from "./use-bento-delayed-hover.D6QjSugc.js";
7
7
  import { n as x } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
8
8
  import "../assets/dashed-underline.css";
@@ -51,4 +51,4 @@ const k = w.exports;
51
51
  export {
52
52
  k as B
53
53
  };
54
- //# sourceMappingURL=dashed-underline.RcRbre03.js.map
54
+ //# sourceMappingURL=dashed-underline.CCGmjCty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashed-underline.RcRbre03.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 v-on=\"hoverEvents\"\n >\n <span class=\"b-dashed-underline__content\">\n <slot></slot>\n </span>\n <bento-teleport v-if=\"element && hasPopover\" :disabled=\"teleport?.disabled\" :to=\"teleport?.to\">\n <span v-on=\"hoverEvents\">\n <bento-popover\n :open=\"isOpen\"\n :target-element=\"element\"\n :position=\"popoverPosition\"\n role=\"tooltip\"\n :fit-content=\"popoverSize === 'fit-content' || undefined\"\n :large=\"popoverSize === 'large' || undefined\"\n :small=\"popoverSize === 'small' || undefined\"\n :title=\"popoverTitle\"\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 </bento-teleport>\n </span>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, ref, useSlots, watch } from 'vue';\n import { BentoPopover } from '@/components/popover';\n import { useBentoDelayedHover } from '@/composables';\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives/tooltip/index';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { BentoTeleport } from '@/internal';\n import { type BentoDashedUnderlineProps } from './dashed-underline.types';\n\n const props = defineProps({\n popoverText: { default: null },\n popoverTitle: { default: null },\n popoverPosition: { default: 'top' },\n popoverSize: { default: 'fit-content' },\n teleport: { default: () => ({\n disabled: true,\n }) },\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\n const { isOpen, hoverEvents } = useBentoDelayedHover();\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 * Provides a dashed underline to text, indicating that more information is available on\n * hover or focus. The additional information is displayed in a tooltip or a popover.\n *\n * @example\n * import { BentoDashedUnderline } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashedUnderline },\n * template: `\n * <p>\n * This is some <bento-dashed-underline tooltip-text=\"A short explanation\">annotated text</bento-dashed-underline>.\n * </p>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashed-underline.scss\" />\n"],"names":["__default__","slots","useSlots","hasSlot","useHasSlot","element","ref","isOpen","hoverEvents","useBentoDelayedHover","hasPopover","computed","props","shouldShowTooltipPopoverError","watch","value"],"mappings":";;;;;;;;AAkGI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;iBAzCAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,IAAA,GAEA,EAAA,QAAAC,GAAA,aAAAC,EAAA,IAAAC,EAAA,GAEAC,IAAAC,EAAA,MAAAC,EAAA,eAAAT,EAAA,iBAAA,CAAA,GAEAU,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.CCGmjCty.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 v-on=\"hoverEvents\"\n >\n <span class=\"b-dashed-underline__content\">\n <slot></slot>\n </span>\n <bento-teleport v-if=\"element && hasPopover\" :disabled=\"teleport?.disabled\" :to=\"teleport?.to\">\n <span v-on=\"hoverEvents\">\n <bento-popover\n :open=\"isOpen\"\n :target-element=\"element\"\n :position=\"popoverPosition\"\n role=\"tooltip\"\n :fit-content=\"popoverSize === 'fit-content' || undefined\"\n :large=\"popoverSize === 'large' || undefined\"\n :small=\"popoverSize === 'small' || undefined\"\n :title=\"popoverTitle\"\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 </bento-teleport>\n </span>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, ref, useSlots, watch } from 'vue';\n import { BentoPopover } from '@/components/popover';\n import { useBentoDelayedHover } from '@/composables';\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives/tooltip/index';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { BentoTeleport } from '@/internal';\n import { type BentoDashedUnderlineProps } from './dashed-underline.types';\n\n const props = defineProps({\n popoverText: { default: null },\n popoverTitle: { default: null },\n popoverPosition: { default: 'top' },\n popoverSize: { default: 'fit-content' },\n teleport: { default: () => ({\n disabled: true,\n }) },\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\n const { isOpen, hoverEvents } = useBentoDelayedHover();\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 * Provides a dashed underline to text, indicating that more information is available on\n * hover or focus. The additional information is displayed in a tooltip or a popover.\n *\n * @example\n * import { BentoDashedUnderline } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashedUnderline },\n * template: `\n * <p>\n * This is some <bento-dashed-underline tooltip-text=\"A short explanation\">annotated text</bento-dashed-underline>.\n * </p>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashed-underline.scss\" />\n"],"names":["__default__","slots","useSlots","hasSlot","useHasSlot","element","ref","isOpen","hoverEvents","useBentoDelayedHover","hasPopover","computed","props","shouldShowTooltipPopoverError","watch","value"],"mappings":";;;;;;;;AAkGI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;iBAzCAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,IAAA,GAEA,EAAA,QAAAC,GAAA,aAAAC,EAAA,IAAAC,EAAA,GAEAC,IAAAC,EAAA,MAAAC,EAAA,eAAAT,EAAA,iBAAA,CAAA,GAEAU,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,7 +1,7 @@
1
1
  import { defineComponent as R, useSlots as S, ref as r, computed as s, provide as I, toRef as u } from "vue";
2
- import { B as h } from "./header.CDiold9n.js";
3
- import { B } from "./inspector.BwtV4rE9.js";
4
- import { a as x, B as A } from "./tab.zeRxc-3T.js";
2
+ import { B as h } from "./header.CVKe-1fx.js";
3
+ import { B } from "./inspector.DZau1W4j.js";
4
+ import { a as x, B as A } from "./tab.BHaKwojJ.js";
5
5
  import { u as E } from "./use-has-slot.C9lQZ6nz.js";
6
6
  import { D } from "./data-grid-template.keys.VezYtHtM.js";
7
7
  import { n as G } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
@@ -99,4 +99,4 @@ const q = $.exports;
99
99
  export {
100
100
  q as d
101
101
  };
102
- //# sourceMappingURL=data-grid-template.B5A9whlD.js.map
102
+ //# sourceMappingURL=data-grid-template.BMdKtfXm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-grid-template.B5A9whlD.js","sources":["../../src/templates/data-grid-template/data-grid-template.vue"],"sourcesContent":["<template>\n <main class=\"b-data-grid-template\">\n <bento-inspector v-bind=\"computedInspectorProps\" ref=\"inspectorRef\" v-on=\"inspectorEvents\">\n <template #page>\n <div class=\"b-data-grid-template__header\">\n <slot name=\"header\">\n <bento-header v-bind=\"header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n </slot>\n </div>\n\n <div\n v-if=\"hasSlot('additionalContent')\"\n ref=\"additionalContentRef\"\n class=\"b-data-grid-template__additional-content\"\n :class=\"additionalContentConditionalClasses\"\n >\n <slot name=\"additionalContent\" />\n </div>\n\n <bento-tabs\n v-if=\"tabsSlots.length > 1\"\n ref=\"tabsRef\"\n :active-tab-index=\"tabs.activeTabIndex\"\n :sticky=\"stickyTabs\"\n :sticky-options=\"stickyAdditionalContent ? { top: computedStickyAdditionalContentHeight } : null\"\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\n <slot v-else />\n </template>\n\n <template #content>\n <slot name=\"inspector-content\" />\n </template>\n </bento-inspector>\n </main>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoHeader } from '@/components/header';\n import { BentoInspector } from '@/components/inspector';\n import { BentoTab, BentoTabs } from '@/components/tabs';\n import { useHasSlot } from '@/composables';\n import { computed, type PropType, provide, type Ref, ref, toRef, type UnwrapRef, useSlots } from 'vue';\n import { DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY } from './data-grid-template.keys';\n import type {\n BentoDataGridTemplateDataGrid,\n BentoDataGridTemplateHeader,\n BentoDataGridTemplateInspector,\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 default: undefined,\n },\n\n /**\n * All the tab properties that can be set on the inner tab components.\n * - tabs.activeTabIndex: the currenly 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 additional content slot with a sticky positioning\n */\n stickyAdditionalContent: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Renders the tabs with a sticky positioning\n */\n stickyTabs: {\n type: Boolean,\n default: false,\n },\n\n /**\n * All the inspector properties that can be set on the inner inspector component.\n */\n inspector: {\n type: Object as PropType<BentoDataGridTemplateInspector>,\n default: undefined,\n },\n });\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"update:tabs\", \"update:is-open:inspector\", \"update:active-page:inspector\", \"expand:inspector\"]);\n\n const tabsRef = ref(null);\n const additionalContentRef = ref(null);\n const inspectorRef = ref(null);\n\n const additionalContentConditionalClasses = computed(() => ({\n 'b-data-grid-template__additional-content--sticky': props.stickyAdditionalContent,\n }));\n\n const computedInspectorProps = computed(() => ({\n title: '',\n ...props.inspector,\n }));\n\n const computedStickyAdditionalContentHeight = computed(() => additionalContentRef?.value?.offsetHeight);\n\n const computedTabsRef = computed(() => tabsRef.value?.$refs?.tablistwrapper);\n\n const tabsSlots = computed(() => Object.keys(slots).filter(el => el?.includes('tab-')));\n\n const inspectorEvents = computed(() => ({\n 'update:is-open': (value: boolean) => emit('update:is-open:inspector', value),\n 'update:active-page': (value: string) => emit('update:active-page:inspector', value),\n expand: (value: boolean) => emit('expand:inspector', value),\n }));\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 stickyAdditionalContent: Ref<boolean> = toRef(props, 'stickyAdditionalContent');\n const tabsRef: Ref<UnwrapRef<HTMLDivElement>> | null = computedTabsRef;\n const additionalContentSlotRef: Ref<UnwrapRef<HTMLDivElement>> | null = additionalContentRef;\n\n // return values to the Tab component\n return {\n isDataGridTemplate,\n stickyTabs,\n tabsRef,\n stickyAdditionalContent,\n additionalContentSlotRef,\n };\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","additionalContentRef","inspectorRef","additionalContentConditionalClasses","computed","props","computedInspectorProps","computedStickyAdditionalContentHeight","computedTabsRef","tabsSlots","el","inspectorEvents","value","emit","emitTabs","newActiveTabIndex","getTabTitle","index","registerDatagridInDataGridTemplate","stickyTabs","toRef","stickyAdditionalContent","provide","DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY"],"mappings":";;;;;;;;AAuLI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAhFAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAIAI,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,IAAA,GAEAG,IAAAC,EAAA,OAAA;AAAA,MAA4D,oDAAAC,EAAA;AAAA,IACE,EAAA,GAG9DC,IAAAF,EAAA,OAAA;AAAA,MAA+C,OAAA;AAAA,MACpC,GAAAC,EAAA;AAAA,IACE,EAAA,GAGbE,IAAAH,EAAA,MAAAH,GAAA,OAAA,YAAA,GAEAO,IAAAJ,EAAA,MAAAL,EAAA,OAAA,OAAA,cAAA,GAEAU,IAAAL,EAAA,MAAA,OAAA,KAAAT,CAAA,EAAA,OAAA,CAAAe,MAAAA,GAAA,SAAA,MAAA,CAAA,CAAA,GAEAC,IAAAP,EAAA,OAAA;AAAA,MAAwC,kBAAA,CAAAQ,MAAAC,EAAA,4BAAAD,CAAA;AAAA,MACwC,sBAAA,CAAAA,MAAAC,EAAA,gCAAAD,CAAA;AAAA,MACO,QAAA,CAAAA,MAAAC,EAAA,oBAAAD,CAAA;AAAA,IACzB,EAAA,GAG9DE,IAAA,CAAAC,MAAA;AACI,MAAAF,EAAA,eAAA,EAAA,GAAAR,EAAA,MAAA,gBAAAU,EAAA,CAAA;AAAA,IAAwE,GAG5EC,IAAA,CAAAC,MAAAZ,GAAA,KAAA,OAAAY,CAAA,GAAA,SAAA,OAAAA,IAAA,CAAA,IAEAC,IAAA,MAAA;AAEI,YAAAC,IAAAC,EAAAf,GAAA,YAAA,GACAgB,IAAAD,EAAAf,GAAA,yBAAA;AAKA,aAAA;AAAA,QAAO;AAAA,QACH,YAAAc;AAAA,QACA,SANJX;AAAA,QAOI,yBAAAa;AAAA,QACA,0BAPJpB;AAAA,MAQI;AAAA,IACJ;AAGJ,WAAAqB,EAAAC,GAAAL,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"data-grid-template.BMdKtfXm.js","sources":["../../src/templates/data-grid-template/data-grid-template.vue"],"sourcesContent":["<template>\n <main class=\"b-data-grid-template\">\n <bento-inspector v-bind=\"computedInspectorProps\" ref=\"inspectorRef\" v-on=\"inspectorEvents\">\n <template #page>\n <div class=\"b-data-grid-template__header\">\n <slot name=\"header\">\n <bento-header v-bind=\"header\">\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #infoIconTooltipContent>\n <slot name=\"infoIconTooltipContent\" />\n </template>\n </bento-header>\n </slot>\n </div>\n\n <div\n v-if=\"hasSlot('additionalContent')\"\n ref=\"additionalContentRef\"\n class=\"b-data-grid-template__additional-content\"\n :class=\"additionalContentConditionalClasses\"\n >\n <slot name=\"additionalContent\" />\n </div>\n\n <bento-tabs\n v-if=\"tabsSlots.length > 1\"\n ref=\"tabsRef\"\n :active-tab-index=\"tabs.activeTabIndex\"\n :sticky=\"stickyTabs\"\n :sticky-options=\"stickyAdditionalContent ? { top: computedStickyAdditionalContentHeight } : null\"\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\n <slot v-else />\n </template>\n\n <template #content>\n <slot name=\"inspector-content\" />\n </template>\n </bento-inspector>\n </main>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoHeader } from '@/components/header';\n import { BentoInspector } from '@/components/inspector';\n import { BentoTab, BentoTabs } from '@/components/tabs';\n import { useHasSlot } from '@/composables';\n import { computed, type PropType, provide, type Ref, ref, toRef, type UnwrapRef, useSlots } from 'vue';\n import { DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY } from './data-grid-template.keys';\n import type {\n BentoDataGridTemplateDataGrid,\n BentoDataGridTemplateHeader,\n BentoDataGridTemplateInspector,\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 default: undefined,\n },\n\n /**\n * All the tab properties that can be set on the inner tab components.\n * - tabs.activeTabIndex: the currenly 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 additional content slot with a sticky positioning\n */\n stickyAdditionalContent: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Renders the tabs with a sticky positioning\n */\n stickyTabs: {\n type: Boolean,\n default: false,\n },\n\n /**\n * All the inspector properties that can be set on the inner inspector component.\n */\n inspector: {\n type: Object as PropType<BentoDataGridTemplateInspector>,\n default: undefined,\n },\n });\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"update:tabs\", \"update:is-open:inspector\", \"update:active-page:inspector\", \"expand:inspector\"]);\n\n const tabsRef = ref(null);\n const additionalContentRef = ref(null);\n const inspectorRef = ref(null);\n\n const additionalContentConditionalClasses = computed(() => ({\n 'b-data-grid-template__additional-content--sticky': props.stickyAdditionalContent,\n }));\n\n const computedInspectorProps = computed(() => ({\n title: '',\n ...props.inspector,\n }));\n\n const computedStickyAdditionalContentHeight = computed(() => additionalContentRef?.value?.offsetHeight);\n\n const computedTabsRef = computed(() => tabsRef.value?.$refs?.tablistwrapper);\n\n const tabsSlots = computed(() => Object.keys(slots).filter(el => el?.includes('tab-')));\n\n const inspectorEvents = computed(() => ({\n 'update:is-open': (value: boolean) => emit('update:is-open:inspector', value),\n 'update:active-page': (value: string) => emit('update:active-page:inspector', value),\n expand: (value: boolean) => emit('expand:inspector', value),\n }));\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 stickyAdditionalContent: Ref<boolean> = toRef(props, 'stickyAdditionalContent');\n const tabsRef: Ref<UnwrapRef<HTMLDivElement>> | null = computedTabsRef;\n const additionalContentSlotRef: Ref<UnwrapRef<HTMLDivElement>> | null = additionalContentRef;\n\n // return values to the Tab component\n return {\n isDataGridTemplate,\n stickyTabs,\n tabsRef,\n stickyAdditionalContent,\n additionalContentSlotRef,\n };\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","additionalContentRef","inspectorRef","additionalContentConditionalClasses","computed","props","computedInspectorProps","computedStickyAdditionalContentHeight","computedTabsRef","tabsSlots","el","inspectorEvents","value","emit","emitTabs","newActiveTabIndex","getTabTitle","index","registerDatagridInDataGridTemplate","stickyTabs","toRef","stickyAdditionalContent","provide","DATA_GRID_REGISTER_TEMPLATE_INJECTION_KEY"],"mappings":";;;;;;;;AAuLI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAhFAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAIAI,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,IAAA,GAEAG,IAAAC,EAAA,OAAA;AAAA,MAA4D,oDAAAC,EAAA;AAAA,IACE,EAAA,GAG9DC,IAAAF,EAAA,OAAA;AAAA,MAA+C,OAAA;AAAA,MACpC,GAAAC,EAAA;AAAA,IACE,EAAA,GAGbE,IAAAH,EAAA,MAAAH,GAAA,OAAA,YAAA,GAEAO,IAAAJ,EAAA,MAAAL,EAAA,OAAA,OAAA,cAAA,GAEAU,IAAAL,EAAA,MAAA,OAAA,KAAAT,CAAA,EAAA,OAAA,CAAAe,MAAAA,GAAA,SAAA,MAAA,CAAA,CAAA,GAEAC,IAAAP,EAAA,OAAA;AAAA,MAAwC,kBAAA,CAAAQ,MAAAC,EAAA,4BAAAD,CAAA;AAAA,MACwC,sBAAA,CAAAA,MAAAC,EAAA,gCAAAD,CAAA;AAAA,MACO,QAAA,CAAAA,MAAAC,EAAA,oBAAAD,CAAA;AAAA,IACzB,EAAA,GAG9DE,IAAA,CAAAC,MAAA;AACI,MAAAF,EAAA,eAAA,EAAA,GAAAR,EAAA,MAAA,gBAAAU,EAAA,CAAA;AAAA,IAAwE,GAG5EC,IAAA,CAAAC,MAAAZ,GAAA,KAAA,OAAAY,CAAA,GAAA,SAAA,OAAAA,IAAA,CAAA,IAEAC,IAAA,MAAA;AAEI,YAAAC,IAAAC,EAAAf,GAAA,YAAA,GACAgB,IAAAD,EAAAf,GAAA,yBAAA;AAKA,aAAA;AAAA,QAAO;AAAA,QACH,YAAAc;AAAA,QACA,SANJX;AAAA,QAOI,yBAAAa;AAAA,QACA,0BAPJpB;AAAA,MAQI;AAAA,IACJ;AAGJ,WAAAqB,EAAAC,GAAAL,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,47 +1,47 @@
1
1
  import { ref as _, onMounted as be, nextTick as q, watch as ee, onUnmounted as _t, reactive as ke, toRefs as $e, computed as f, watchEffect as En, onBeforeUpdate as yn, getCurrentInstance as re, defineComponent as te, inject as ie, toRef as Be, useSlots as We, provide as ye } from "vue";
2
2
  import { C as Ln } from "./checkmark-circle-fill.Ds9Mwqpi.js";
3
- import { W as Tn } from "./alert.BddJPWMN.js";
3
+ import { W as Tn } from "./warning-filled.DI6aB6vH.js";
4
4
  /* empty css */
5
5
  import { n as V } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
6
  import { C as Ct } from "./cross.szJ_ZUTI.js";
7
7
  import { N as ot } from "./minus-small.CAycYt5H.js";
8
- import { b as On } from "./popper-container.Cj3AWXSd.js";
9
- import { E as W, b as vt, B as In, T as Nn } from "./tooltip.BOe7LOfD.js";
10
- import { B as Dn } from "./dashed-underline.RcRbre03.js";
8
+ import { b as On } from "./popper-container.Co4j6qME.js";
9
+ import { E as W, b as vt, B as In, T as Nn } from "./tooltip.BeDzwoCN.js";
10
+ import { B as Dn } from "./dashed-underline.CCGmjCty.js";
11
11
  import { B as pe, p as pt } from "./typography.Cd386LC_.js";
12
12
  import { u as me } from "./index.CPOlyau9.js";
13
- import { B as Mn } from "./tag.CgsX8v2m.js";
14
- import { B as xn } from "./action-bar.D29UQHoA.js";
15
- import { B as Fn } from "./pagination.DZEVT-CA.js";
13
+ import { B as Mn } from "./tag.DSyMRETc.js";
14
+ import { B as xn } from "./action-bar.DCknEWYe.js";
15
+ import { B as Fn } from "./pagination.BVGAPUhn.js";
16
16
  import { B as Ge } from "./loading-indicator.PxbRzshH.js";
17
17
  import { u as Ve } from "./use-has-slot.C9lQZ6nz.js";
18
18
  import { u as Pn } from "./use-touch-device.DTqFAbXh.js";
19
19
  import { g as Te } from "./generate-uid.DBWe4g6T.js";
20
- import { a as zn } from "./filter-bar.Bio9nf9V.js";
21
- import { B as Bn } from "./empty-state.L3DTfiY7.js";
20
+ import { a as zn } from "./filter-bar.U5VrFM6-.js";
21
+ import { B as Bn } from "./empty-state.jbVOuwyN.js";
22
22
  import { E as Un } from "./tabs.keys.B4qGhjp2.js";
23
23
  import { D as kn } from "./data-grid-template.keys.VezYtHtM.js";
24
24
  import { h as $n } from "./index.CL3TXc0a.js";
25
25
  import { o as ht } from "./resize.Bqks3WUm.js";
26
26
  import "./index.Cl4_42j5.js";
27
- import { g as bt } from "./focus-trap.fd6_d2EW.js";
28
- import { B as wt } from "./checkbox.CnuIUi4-.js";
27
+ import { g as bt } from "./focus-trap.BDpcWIxI.js";
28
+ import { B as wt } from "./checkbox.D-S3f_zM.js";
29
29
  import { B as St } from "./button.tsTeQRcP.js";
30
- import { c as He, f as Rt, h as Wn, b as Gn, a as Vn, O as st, D as Hn } from "./button-actions.CdetBz3J.js";
30
+ import { c as He, f as Rt, h as Wn, b as Gn, a as Vn, O as st, D as Hn } from "./button-actions.B332AjJp.js";
31
31
  import { E as lt } from "./link.iNnolG9W.js";
32
- import { C as at } from "./copy.B12-P_8A.js";
32
+ import { C as at } from "./copy.Cmu6Z-5X.js";
33
33
  import { C as Zn } from "./chevron-down.B_QiVCoO.js";
34
34
  import { C as jn } from "./chevron-up.YQRo8uKs.js";
35
35
  import { u as qn } from "./use-expandable-content-height.DmFeas9-.js";
36
- import { B as Kn } from "./info-icon.D11usblr.js";
37
- import { j as Yn, f as Xn } from "./dropdown.CpZQYisR.js";
38
- import { B as it } from "./popover.types.DvIwSAAp.js";
36
+ import { B as Kn } from "./info-icon.D_VTjUV3.js";
37
+ import { j as Yn, f as Xn } from "./dropdown.Dd8RNGXv.js";
38
+ import { B as it } from "./popover.types.CoDfZgDc.js";
39
39
  import { A as Jn } from "./arrow-left.BBflhjQa.js";
40
40
  import { A as Qn } from "./arrow-right.2jTnMmVP.js";
41
41
  import { H as eo, S as to } from "./show.Cs2jT9TJ.js";
42
42
  import { l as rt } from "./events.BQOQSSb7.js";
43
43
  import { B as At } from "./toggle.BL_w2xUm.js";
44
- import { B as no } from "./search-bar.DrIwlAQj.js";
44
+ import { B as no } from "./search-bar.DFvrkNTD.js";
45
45
  import { S as oo } from "./search.Bzm6F8rR.js";
46
46
  import { B as so } from "./directive.D1-d-C2K.js";
47
47
  import "../assets/data-grid.css";
@@ -2065,7 +2065,7 @@ const Hs = Vs.exports, Zs = {
2065
2065
  default: !1
2066
2066
  },
2067
2067
  /**
2068
- * Enables the nested content slot functionality.
2068
+ * Enables the nested rows functionality.
2069
2069
  */
2070
2070
  hasNestedRows: {
2071
2071
  type: Boolean,
@@ -2401,7 +2401,7 @@ var qs = function() {
2401
2401
  Ks,
2402
2402
  !1,
2403
2403
  null,
2404
- "93233429"
2404
+ "a7f556cd"
2405
2405
  );
2406
2406
  const Xs = Ys.exports, Js = {
2407
2407
  __name: "warning-circle-fill",
@@ -3264,4 +3264,4 @@ export {
3264
3264
  ve as h,
3265
3265
  ae as i
3266
3266
  };
3267
- //# sourceMappingURL=data-grid.Pg5iM8CJ.js.map
3267
+ //# sourceMappingURL=data-grid.DP4IQ00C.js.map