@adyen/bento-vue2 2.0.0-rc.5 → 2.0.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 (364) hide show
  1. package/README.md +0 -38
  2. package/dist/@types/index.d.ts +148 -56
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/ai-tag.css +1 -1
  11. package/dist/assets/anchor-scroller.css +1 -1
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/code-snippet.css +1 -1
  19. package/dist/assets/data-grid-template.css +1 -1
  20. package/dist/assets/data-grid.css +1 -1
  21. package/dist/assets/date-picker.css +1 -1
  22. package/dist/assets/date-range-picker.css +1 -1
  23. package/dist/assets/dialog-page.css +1 -1
  24. package/dist/assets/drawer.css +1 -1
  25. package/dist/assets/dropdown.css +1 -1
  26. package/dist/assets/file-uploader.css +1 -1
  27. package/dist/assets/filter-bar.css +1 -1
  28. package/dist/assets/header-with-views.css +1 -1
  29. package/dist/assets/header.css +1 -1
  30. package/dist/assets/info-icon-with-popover.css +1 -0
  31. package/dist/assets/input-field-password.css +1 -1
  32. package/dist/assets/input-field.css +1 -1
  33. package/dist/assets/inspector.css +1 -1
  34. package/dist/assets/link.css +1 -1
  35. package/dist/assets/modal-fullscreen.css +1 -1
  36. package/dist/assets/navigation-menu-group.css +1 -1
  37. package/dist/assets/pagination.css +1 -1
  38. package/dist/assets/popper-container.css +1 -1
  39. package/dist/assets/progress-bar.css +1 -1
  40. package/dist/assets/promo-banner.css +1 -1
  41. package/dist/assets/radio-group.css +1 -1
  42. package/dist/assets/rich-text-editor.css +1 -1
  43. package/dist/assets/secondary-nav.css +1 -1
  44. package/dist/assets/segmented-control.css +1 -1
  45. package/dist/assets/selection-card-group.css +1 -1
  46. package/dist/assets/sidepanel.css +1 -1
  47. package/dist/assets/tab.css +1 -1
  48. package/dist/assets/table-of-contents.css +1 -1
  49. package/dist/assets/tag.css +1 -1
  50. package/dist/assets/textarea.css +1 -1
  51. package/dist/assets/timeline-item.css +1 -1
  52. package/dist/assets/title-details.css +1 -0
  53. package/dist/assets/toggle.css +1 -1
  54. package/dist/button.js +3 -3
  55. package/dist/card.js +1 -1
  56. package/dist/checkbox.js +2 -2
  57. package/dist/chip.js +1 -1
  58. package/dist/chunks/{accordion-item.V3zpgTzM.js → accordion-item.DOj7vqeL.js} +2 -2
  59. package/dist/chunks/accordion-item.DOj7vqeL.js.map +1 -0
  60. package/dist/chunks/{action-bar.Br6mamx3.js → action-bar.BsXW7BI2.js} +77 -67
  61. package/dist/chunks/action-bar.BsXW7BI2.js.map +1 -0
  62. package/dist/chunks/{ai-button.CeT3y12R.js → ai-button.BnFk5CzK.js} +2 -2
  63. package/dist/chunks/{ai-button.CeT3y12R.js.map → ai-button.BnFk5CzK.js.map} +1 -1
  64. package/dist/chunks/{ai-tag.DtngkeLj.js → ai-tag.D2Q0xhFK.js} +3 -3
  65. package/dist/chunks/ai-tag.D2Q0xhFK.js.map +1 -0
  66. package/dist/chunks/{alert.DrGpzkQI.js → alert.DJDHwVeR.js} +2 -2
  67. package/dist/chunks/{alert.DrGpzkQI.js.map → alert.DJDHwVeR.js.map} +1 -1
  68. package/dist/chunks/{anchor-scroller.DT7QZd5b.js → anchor-scroller.BbvghQxZ.js} +8 -8
  69. package/dist/chunks/anchor-scroller.BbvghQxZ.js.map +1 -0
  70. package/dist/chunks/{base-button.edpjvY15.js → base-button.DOhHyU7x.js} +2 -2
  71. package/dist/chunks/{base-button.edpjvY15.js.map → base-button.DOhHyU7x.js.map} +1 -1
  72. package/dist/chunks/{base-modal.DsqIEM0p.js → base-modal.CcmoTJdc.js} +90 -82
  73. package/dist/chunks/base-modal.CcmoTJdc.js.map +1 -0
  74. package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js → button-actions-with-menu.BY394ars.js} +2 -2
  75. package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js.map → button-actions-with-menu.BY394ars.js.map} +1 -1
  76. package/dist/chunks/{button-actions.CFOxzahr.js → button-actions.bkcLUE1G.js} +51 -50
  77. package/dist/chunks/button-actions.bkcLUE1G.js.map +1 -0
  78. package/dist/chunks/{button.CBqJGWy5.js → button.DII5Ifwa.js} +2 -2
  79. package/dist/chunks/{button.CBqJGWy5.js.map → button.DII5Ifwa.js.map} +1 -1
  80. package/dist/chunks/{calendar.Bi7oa397.js → calendar.CXdLEeN4.js} +8 -8
  81. package/dist/chunks/calendar.CXdLEeN4.js.map +1 -0
  82. package/dist/chunks/card.b9PEJ7hm.js +139 -0
  83. package/dist/chunks/card.b9PEJ7hm.js.map +1 -0
  84. package/dist/chunks/{checkbox-group.FlQJn1Zm.js → checkbox-group.UYN1ljai.js} +7 -7
  85. package/dist/chunks/checkbox-group.UYN1ljai.js.map +1 -0
  86. package/dist/chunks/{checkbox.D7kTrRAJ.js → checkbox.Co4HoHKF.js} +15 -15
  87. package/dist/chunks/checkbox.Co4HoHKF.js.map +1 -0
  88. package/dist/chunks/{chip.CCBRXSGa.js → chip.DRsJylWl.js} +2 -2
  89. package/dist/chunks/{chip.CCBRXSGa.js.map → chip.DRsJylWl.js.map} +1 -1
  90. package/dist/chunks/{code-snippet.DOtmgwGx.js → code-snippet.CnThWqVb.js} +73 -74
  91. package/dist/chunks/code-snippet.CnThWqVb.js.map +1 -0
  92. package/dist/chunks/constructNow.Dl44Mvpp.js +8 -0
  93. package/dist/chunks/{constructNow.DyOJDyZZ.js.map → constructNow.Dl44Mvpp.js.map} +1 -1
  94. package/dist/chunks/{controls-group.C1YlswQH.js → controls-group.fdGc6epa.js} +2 -2
  95. package/dist/chunks/{controls-group.C1YlswQH.js.map → controls-group.fdGc6epa.js.map} +1 -1
  96. package/dist/chunks/{copy.DIRgGox4.js → copy.CSk1rCRo.js} +4 -4
  97. package/dist/chunks/{copy.DIRgGox4.js.map → copy.CSk1rCRo.js.map} +1 -1
  98. package/dist/chunks/{cross-circle-fill-small.Doaiq7Wx.js → cross-circle-fill-small.CZN966bc.js} +2 -2
  99. package/dist/chunks/cross-circle-fill-small.CZN966bc.js.map +1 -0
  100. package/dist/chunks/{dashboard-section.DvYJk8aj.js → dashboard-section.CYEoNH9Q.js} +3 -3
  101. package/dist/chunks/{dashboard-section.DvYJk8aj.js.map → dashboard-section.CYEoNH9Q.js.map} +1 -1
  102. package/dist/chunks/{dashed-underline.D3YXHh-k.js → dashed-underline.CzKc-fJW.js} +3 -3
  103. package/dist/chunks/{dashed-underline.D3YXHh-k.js.map → dashed-underline.CzKc-fJW.js.map} +1 -1
  104. package/dist/chunks/{data-grid-template.ZZNd2LWk.js → data-grid-template.DCwzh2G7.js} +4 -4
  105. package/dist/chunks/{data-grid-template.ZZNd2LWk.js.map → data-grid-template.DCwzh2G7.js.map} +1 -1
  106. package/dist/chunks/{data-grid.4_JJV1_Z.js → data-grid.B1lI07ze.js} +24 -24
  107. package/dist/chunks/data-grid.B1lI07ze.js.map +1 -0
  108. package/dist/chunks/{date-picker.EuvvrhtF.js → date-picker.gDsw8bn1.js} +8 -8
  109. package/dist/chunks/date-picker.gDsw8bn1.js.map +1 -0
  110. package/dist/chunks/{date-range-picker.Bi5j0eED.js → date-range-picker.CqixIJxG.js} +278 -275
  111. package/dist/chunks/{date-range-picker.Bi5j0eED.js.map → date-range-picker.CqixIJxG.js.map} +1 -1
  112. package/dist/chunks/{date-time-picker.DinENKL0.js → date-time-picker.Bktntun4.js} +6 -6
  113. package/dist/chunks/{date-time-picker.DinENKL0.js.map → date-time-picker.Bktntun4.js.map} +1 -1
  114. package/dist/chunks/{de.ctR_lBqr.js → de.D953eFBg.js} +2 -2
  115. package/dist/chunks/{de.ctR_lBqr.js.map → de.D953eFBg.js.map} +1 -1
  116. package/dist/chunks/{dialog-page.DM6imlbn.js → dialog-page.Bct3zOQO.js} +44 -44
  117. package/dist/chunks/dialog-page.Bct3zOQO.js.map +1 -0
  118. package/dist/chunks/{differenceInMonths.yz4Dfe-b.js → differenceInMonths.CPDkGea3.js} +2 -2
  119. package/dist/chunks/{differenceInMonths.yz4Dfe-b.js.map → differenceInMonths.CPDkGea3.js.map} +1 -1
  120. package/dist/chunks/{draggable-handle.UmaDf-G4.js → draggable-handle.DgVdGC1V.js} +2 -2
  121. package/dist/chunks/{draggable-handle.UmaDf-G4.js.map → draggable-handle.DgVdGC1V.js.map} +1 -1
  122. package/dist/chunks/{draggable.3Uuc40QN.js → draggable.DYKdXdbj.js} +2 -2
  123. package/dist/chunks/{draggable.3Uuc40QN.js.map → draggable.DYKdXdbj.js.map} +1 -1
  124. package/dist/chunks/{dropdown-tag.3mltTUPq.js → dropdown-tag.Dk7SooVv.js} +3 -3
  125. package/dist/chunks/{dropdown-tag.3mltTUPq.js.map → dropdown-tag.Dk7SooVv.js.map} +1 -1
  126. package/dist/chunks/{dropdown.BdfmQmO_.js → dropdown.Bnq4kP7k.js} +12 -12
  127. package/dist/chunks/dropdown.Bnq4kP7k.js.map +1 -0
  128. package/dist/chunks/{empty-state.DWnWb0jM.js → empty-state.C2wjdE3y.js} +3 -3
  129. package/dist/chunks/{empty-state.DWnWb0jM.js.map → empty-state.C2wjdE3y.js.map} +1 -1
  130. package/dist/chunks/{en-GB.BsQNm5GT.js → en-GB.DRXS-7tU.js} +2 -2
  131. package/dist/chunks/{en-GB.BsQNm5GT.js.map → en-GB.DRXS-7tU.js.map} +1 -1
  132. package/dist/chunks/{en-US.BR6y7foR.js → en-US.C412g-7U.js} +3 -3
  133. package/dist/chunks/{en-US.BR6y7foR.js.map → en-US.C412g-7U.js.map} +1 -1
  134. package/dist/chunks/{es.DxqH-QhP.js → es.DieAs0jD.js} +2 -2
  135. package/dist/chunks/{es.DxqH-QhP.js.map → es.DieAs0jD.js.map} +1 -1
  136. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  137. package/dist/chunks/{field-label.DsNcfZ6m.js → field-label.C7BCsofY.js} +2 -2
  138. package/dist/chunks/{field-label.DsNcfZ6m.js.map → field-label.C7BCsofY.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.D1xDlbsu.js → file-uploader.DllKBmP8.js} +8 -8
  140. package/dist/chunks/file-uploader.DllKBmP8.js.map +1 -0
  141. package/dist/chunks/{filter-bar.DlSyWQQ0.js → filter-bar.DXpLhnxG.js} +1050 -974
  142. package/dist/chunks/filter-bar.DXpLhnxG.js.map +1 -0
  143. package/dist/chunks/{fixed-scroller.QHqymN36.js → fixed-scroller.YC4bZifw.js} +2 -2
  144. package/dist/chunks/{fixed-scroller.QHqymN36.js.map → fixed-scroller.YC4bZifw.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.DK6-TX-N.js → focus-trap.fd6_d2EW.js} +3 -3
  146. package/dist/chunks/{focus-trap.DK6-TX-N.js.map → focus-trap.fd6_d2EW.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.cJxmP0fK.js → footer-actions.C9STwwcv.js} +3 -3
  148. package/dist/chunks/{footer-actions.cJxmP0fK.js.map → footer-actions.C9STwwcv.js.map} +1 -1
  149. package/dist/chunks/{form-layout-title.CCsmZ9E8.js → form-layout-title.C0lwzPZz.js} +2 -2
  150. package/dist/chunks/{form-layout-title.CCsmZ9E8.js.map → form-layout-title.C0lwzPZz.js.map} +1 -1
  151. package/dist/chunks/{fr.DJtn8ron.js → fr.ChY2aIns.js} +2 -2
  152. package/dist/chunks/{fr.DJtn8ron.js.map → fr.ChY2aIns.js.map} +1 -1
  153. package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
  154. package/dist/chunks/{header-with-views.D8XDYW5N.js → header-with-views.HwbE278X.js} +671 -666
  155. package/dist/chunks/{header-with-views.D8XDYW5N.js.map → header-with-views.HwbE278X.js.map} +1 -1
  156. package/dist/chunks/{header.BLhATjz3.js → header.CmyqVXuG.js} +14 -13
  157. package/dist/chunks/header.CmyqVXuG.js.map +1 -0
  158. package/dist/chunks/info-icon-with-popover.BvYyGm4D.js +65 -0
  159. package/dist/chunks/info-icon-with-popover.BvYyGm4D.js.map +1 -0
  160. package/dist/chunks/{info-icon.-3-LB8Zq.js → info-icon.B-FAeceD.js} +3 -3
  161. package/dist/chunks/{info-icon.-3-LB8Zq.js.map → info-icon.B-FAeceD.js.map} +1 -1
  162. package/dist/chunks/{input-field-password.KgSx3KDe.js → input-field-password.9bWhLud0.js} +6 -6
  163. package/dist/chunks/input-field-password.9bWhLud0.js.map +1 -0
  164. package/dist/chunks/{input-field-phone-number.DE9XpiFH.js → input-field-phone-number.CCn1N9St.js} +2 -2
  165. package/dist/chunks/{input-field-phone-number.DE9XpiFH.js.map → input-field-phone-number.CCn1N9St.js.map} +1 -1
  166. package/dist/chunks/{input-field.Dz8yVBEl.js → input-field.D912rZS_.js} +4 -4
  167. package/dist/chunks/input-field.D912rZS_.js.map +1 -0
  168. package/dist/chunks/{input-time.Bc50jTCQ.js → input-time.CXMuvF9N.js} +3 -3
  169. package/dist/chunks/{input-time.Bc50jTCQ.js.map → input-time.CXMuvF9N.js.map} +1 -1
  170. package/dist/chunks/{inspector-page.BwPtRsaZ.js → inspector-page.BRC_7uro.js} +3 -3
  171. package/dist/chunks/{inspector-page.BwPtRsaZ.js.map → inspector-page.BRC_7uro.js.map} +1 -1
  172. package/dist/chunks/inspector.IOtNex1r.js +142 -0
  173. package/dist/chunks/inspector.IOtNex1r.js.map +1 -0
  174. package/dist/chunks/isSameWeek.CcrBd5ov.js +14 -0
  175. package/dist/chunks/{isSameWeek.CieN9XgL.js.map → isSameWeek.CcrBd5ov.js.map} +1 -1
  176. package/dist/chunks/{it.keS7oN5l.js → it.9ITe-tO1.js} +3 -3
  177. package/dist/chunks/{it.keS7oN5l.js.map → it.9ITe-tO1.js.map} +1 -1
  178. package/dist/chunks/{ja.cLwacUE6.js → ja.D1PTbbq5.js} +2 -2
  179. package/dist/chunks/{ja.cLwacUE6.js.map → ja.D1PTbbq5.js.map} +1 -1
  180. package/dist/chunks/{link.BzIDMKgE.js → link.Cls8XShm.js} +4 -4
  181. package/dist/chunks/link.Cls8XShm.js.map +1 -0
  182. package/dist/chunks/{list-item.CKKEar92.js → list-item.HjabBEb8.js} +3 -3
  183. package/dist/chunks/{list-item.CKKEar92.js.map → list-item.HjabBEb8.js.map} +1 -1
  184. package/dist/chunks/{listbox-option-tag.CQ7jWrle.js → listbox-option-tag.DhNxvqRO.js} +2 -2
  185. package/dist/chunks/{listbox-option-tag.CQ7jWrle.js.map → listbox-option-tag.DhNxvqRO.js.map} +1 -1
  186. package/dist/chunks/{modal-fullscreen.BMGoNT7r.js → modal-fullscreen.Bi1bQs4Z.js} +9 -9
  187. package/dist/chunks/modal-fullscreen.Bi1bQs4Z.js.map +1 -0
  188. package/dist/chunks/{modal.BNqEbVvC.js → modal.B3-pmL5s.js} +5 -5
  189. package/dist/chunks/{modal.BNqEbVvC.js.map → modal.B3-pmL5s.js.map} +1 -1
  190. package/dist/chunks/{navigation-menu-group.uRQvdRyU.js → navigation-menu-group.B-AV49Bn.js} +7 -7
  191. package/dist/chunks/navigation-menu-group.B-AV49Bn.js.map +1 -0
  192. package/dist/chunks/{pagination.QuT_65w4.js → pagination.cI_pc6oE.js} +5 -5
  193. package/dist/chunks/pagination.cI_pc6oE.js.map +1 -0
  194. package/dist/chunks/popover.types.DvIwSAAp.js +6 -0
  195. package/dist/chunks/{popover.types.hyPD5Kv1.js.map → popover.types.DvIwSAAp.js.map} +1 -1
  196. package/dist/chunks/{popper-container.scV0X0nk.js → popper-container.Cj3AWXSd.js} +355 -338
  197. package/dist/chunks/{popper-container.scV0X0nk.js.map → popper-container.Cj3AWXSd.js.map} +1 -1
  198. package/dist/chunks/{progress-bar.C2EFmk8E.js → progress-bar.RlF3a0Gb.js} +3 -3
  199. package/dist/chunks/progress-bar.RlF3a0Gb.js.map +1 -0
  200. package/dist/chunks/{promo-banner.BzTq9SMT.js → promo-banner.B5szTysj.js} +7 -7
  201. package/dist/chunks/{promo-banner.BzTq9SMT.js.map → promo-banner.B5szTysj.js.map} +1 -1
  202. package/dist/chunks/{pt-BR.ChPOra5s.js → pt-BR.DmEVD7V-.js} +2 -2
  203. package/dist/chunks/{pt-BR.ChPOra5s.js.map → pt-BR.DmEVD7V-.js.map} +1 -1
  204. package/dist/chunks/{radio-group.77fvFrmz.js → radio-group.CvsQDlHi.js} +5 -5
  205. package/dist/chunks/radio-group.CvsQDlHi.js.map +1 -0
  206. package/dist/chunks/{rich-text-editor.DL6h2H5r.js → rich-text-editor.DNmVJilP.js} +7 -7
  207. package/dist/chunks/{rich-text-editor.DL6h2H5r.js.map → rich-text-editor.DNmVJilP.js.map} +1 -1
  208. package/dist/chunks/{search-bar.CiEKUPNX.js → search-bar.--4KVNkf.js} +3 -3
  209. package/dist/chunks/{search-bar.CiEKUPNX.js.map → search-bar.--4KVNkf.js.map} +1 -1
  210. package/dist/chunks/{secondary-nav.ekia7NO0.js → secondary-nav.CXtDQAay.js} +50 -50
  211. package/dist/chunks/secondary-nav.CXtDQAay.js.map +1 -0
  212. package/dist/chunks/{segmented-control.qykQS10o.js → segmented-control.nYpRQTGc.js} +3 -3
  213. package/dist/chunks/segmented-control.nYpRQTGc.js.map +1 -0
  214. package/dist/chunks/{selection-card-group.BEjddn7D.js → selection-card-group.DjFWMqVZ.js} +22 -22
  215. package/dist/chunks/selection-card-group.DjFWMqVZ.js.map +1 -0
  216. package/dist/chunks/{set-time-in-date.BVfkl8K8.js → set-time-in-date.B3K4C7CB.js} +2 -2
  217. package/dist/chunks/{set-time-in-date.BVfkl8K8.js.map → set-time-in-date.B3K4C7CB.js.map} +1 -1
  218. package/dist/chunks/{sidepanel.DeX_rFk7.js → sidepanel.CntIcmx-.js} +7 -7
  219. package/dist/chunks/sidepanel.CntIcmx-.js.map +1 -0
  220. package/dist/chunks/{startOfWeek.muMEhS7U.js → startOfWeek.CzdYFzXX.js} +2 -2
  221. package/dist/chunks/{startOfWeek.muMEhS7U.js.map → startOfWeek.CzdYFzXX.js.map} +1 -1
  222. package/dist/chunks/{step.DWC-MMij.js → step.BCa9IOWB.js} +2 -2
  223. package/dist/chunks/{step.DWC-MMij.js.map → step.BCa9IOWB.js.map} +1 -1
  224. package/dist/chunks/{structured-list-item.Bfn0A2G8.js → structured-list-item.Bhe0CH1M.js} +5 -5
  225. package/dist/chunks/{structured-list-item.Bfn0A2G8.js.map → structured-list-item.Bhe0CH1M.js.map} +1 -1
  226. package/dist/chunks/{summary-grid.types.B4WEQPEz.js → summary-grid.types.C70ED6WD.js} +5 -5
  227. package/dist/chunks/{summary-grid.types.B4WEQPEz.js.map → summary-grid.types.C70ED6WD.js.map} +1 -1
  228. package/dist/chunks/{tab.DCLrEYwn.js → tab.BK1sIJAJ.js} +45 -45
  229. package/dist/chunks/tab.BK1sIJAJ.js.map +1 -0
  230. package/dist/chunks/{table-of-contents.f_6G1qFS.js → table-of-contents.BTy95Rrs.js} +2 -2
  231. package/dist/chunks/table-of-contents.BTy95Rrs.js.map +1 -0
  232. package/dist/chunks/tag.Dz1FQSZb.js +56 -0
  233. package/dist/chunks/tag.Dz1FQSZb.js.map +1 -0
  234. package/dist/chunks/{textarea.OTgZOHYu.js → textarea.CcV9U3I7.js} +5 -5
  235. package/dist/chunks/textarea.CcV9U3I7.js.map +1 -0
  236. package/dist/chunks/{timeline-item.Be0xWRey.js → timeline-item.BG2by0xf.js} +10 -10
  237. package/dist/chunks/{timeline-item.Be0xWRey.js.map → timeline-item.BG2by0xf.js.map} +1 -1
  238. package/dist/chunks/title-details.ChwPP7C5.js +119 -0
  239. package/dist/chunks/title-details.ChwPP7C5.js.map +1 -0
  240. package/dist/chunks/{toast.DL_9zlHB.js → toast.CO6ByH3n.js} +2 -2
  241. package/dist/chunks/{toast.DL_9zlHB.js.map → toast.CO6ByH3n.js.map} +1 -1
  242. package/dist/chunks/{toggle.BkTeqKsx.js → toggle.Dgh7aw1D.js} +2 -2
  243. package/dist/chunks/toggle.Dgh7aw1D.js.map +1 -0
  244. package/dist/chunks/{tooltip.BwD3JuFl.js → tooltip.DFYc5NKM.js} +11 -11
  245. package/dist/chunks/tooltip.DFYc5NKM.js.map +1 -0
  246. package/dist/chunks/{tutorial.BrKSt9Sb.js → tutorial.K0aOQWIg.js} +4 -4
  247. package/dist/chunks/{tutorial.BrKSt9Sb.js.map → tutorial.K0aOQWIg.js.map} +1 -1
  248. package/dist/chunks/use-bento-toast-controller.A5xraVqa.js.map +1 -1
  249. package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js → use-date-input-formatter.MgbFwUqJ.js} +4 -4
  250. package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js.map → use-date-input-formatter.MgbFwUqJ.js.map} +1 -1
  251. package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js +39 -0
  252. package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js.map +1 -0
  253. package/dist/chunks/{zh-CN.ZG6obniO.js → zh-CN.C-da5IoS.js} +3 -3
  254. package/dist/chunks/{zh-CN.ZG6obniO.js.map → zh-CN.C-da5IoS.js.map} +1 -1
  255. package/dist/code-snippet.js +1 -1
  256. package/dist/dashboard-template.js +1 -1
  257. package/dist/dashed-underline.js +1 -1
  258. package/dist/data-grid-template.js +1 -1
  259. package/dist/data-grid.js +1 -1
  260. package/dist/date-picker.js +2 -2
  261. package/dist/date-range-picker.js +2 -2
  262. package/dist/date-time-picker.js +1 -1
  263. package/dist/draggable.js +2 -2
  264. package/dist/dropdown.js +2 -2
  265. package/dist/empty-state.js +1 -1
  266. package/dist/file-uploader.js +1 -1
  267. package/dist/filter-bar.js +1 -1
  268. package/dist/focus-trap.js +1 -1
  269. package/dist/form-layout.js +1 -1
  270. package/dist/header-with-views.js +1 -1
  271. package/dist/header.js +1 -1
  272. package/dist/index.js +67 -67
  273. package/dist/info-icon.js +1 -1
  274. package/dist/input-field-password.js +1 -1
  275. package/dist/input-field-phone-number.js +1 -1
  276. package/dist/input-field.js +1 -1
  277. package/dist/input-time.js +1 -1
  278. package/dist/inspector.js +2 -2
  279. package/dist/internal.js +25 -24
  280. package/dist/internal.js.map +1 -1
  281. package/dist/link.js +1 -1
  282. package/dist/list.js +1 -1
  283. package/dist/menu.js +1 -1
  284. package/dist/modal-fullscreen.js +3 -3
  285. package/dist/modal.js +2 -2
  286. package/dist/navigation-menu.js +1 -1
  287. package/dist/pagination.js +1 -1
  288. package/dist/popover.js +2 -2
  289. package/dist/popper-container.js +1 -1
  290. package/dist/progress-bar.js +1 -1
  291. package/dist/promo-banner.js +1 -1
  292. package/dist/radio-group.js +1 -1
  293. package/dist/rich-text-editor.js +1 -1
  294. package/dist/search-bar.js +2 -2
  295. package/dist/secondary-nav.js +1 -1
  296. package/dist/segmented-control.js +1 -1
  297. package/dist/selection-card.js +1 -1
  298. package/dist/sidepanel.js +1 -1
  299. package/dist/stepper.js +1 -1
  300. package/dist/structured-list.js +1 -1
  301. package/dist/styles/bento-dark.css +3 -3
  302. package/dist/styles/bento-light.css +4 -4
  303. package/dist/styles/bento.css +4 -4
  304. package/dist/styles/legacy.css +4 -4
  305. package/dist/styles/styleguide.css +4 -4
  306. package/dist/styles/utility.css +4 -4
  307. package/dist/summary-grid.js +1 -1
  308. package/dist/table-of-contents.js +1 -1
  309. package/dist/tabs.js +1 -1
  310. package/dist/tag.js +1 -1
  311. package/dist/textarea.js +1 -1
  312. package/dist/timeline.js +1 -1
  313. package/dist/toast.js +1 -1
  314. package/dist/toggle.js +1 -1
  315. package/dist/tutorial.js +1 -1
  316. package/dist/web-types.json +381 -48
  317. package/package.json +6 -6
  318. package/dist/assets/header-meta.css +0 -1
  319. package/dist/chunks/accordion-item.V3zpgTzM.js.map +0 -1
  320. package/dist/chunks/action-bar.Br6mamx3.js.map +0 -1
  321. package/dist/chunks/ai-tag.DtngkeLj.js.map +0 -1
  322. package/dist/chunks/anchor-scroller.DT7QZd5b.js.map +0 -1
  323. package/dist/chunks/base-modal.DsqIEM0p.js.map +0 -1
  324. package/dist/chunks/button-actions.CFOxzahr.js.map +0 -1
  325. package/dist/chunks/calendar.Bi7oa397.js.map +0 -1
  326. package/dist/chunks/card.B2rIoYTV.js +0 -124
  327. package/dist/chunks/card.B2rIoYTV.js.map +0 -1
  328. package/dist/chunks/checkbox-group.FlQJn1Zm.js.map +0 -1
  329. package/dist/chunks/checkbox.D7kTrRAJ.js.map +0 -1
  330. package/dist/chunks/code-snippet.DOtmgwGx.js.map +0 -1
  331. package/dist/chunks/constructNow.DyOJDyZZ.js +0 -8
  332. package/dist/chunks/cross-circle-fill-small.Doaiq7Wx.js.map +0 -1
  333. package/dist/chunks/data-grid.4_JJV1_Z.js.map +0 -1
  334. package/dist/chunks/date-picker.EuvvrhtF.js.map +0 -1
  335. package/dist/chunks/dialog-page.DM6imlbn.js.map +0 -1
  336. package/dist/chunks/dropdown.BdfmQmO_.js.map +0 -1
  337. package/dist/chunks/file-uploader.D1xDlbsu.js.map +0 -1
  338. package/dist/chunks/filter-bar.DlSyWQQ0.js.map +0 -1
  339. package/dist/chunks/header-meta.C5Ojlg8H.js +0 -206
  340. package/dist/chunks/header-meta.C5Ojlg8H.js.map +0 -1
  341. package/dist/chunks/header.BLhATjz3.js.map +0 -1
  342. package/dist/chunks/input-field-password.KgSx3KDe.js.map +0 -1
  343. package/dist/chunks/input-field.Dz8yVBEl.js.map +0 -1
  344. package/dist/chunks/inspector.CUJSQfsX.js +0 -128
  345. package/dist/chunks/inspector.CUJSQfsX.js.map +0 -1
  346. package/dist/chunks/isSameWeek.CieN9XgL.js +0 -14
  347. package/dist/chunks/link.BzIDMKgE.js.map +0 -1
  348. package/dist/chunks/modal-fullscreen.BMGoNT7r.js.map +0 -1
  349. package/dist/chunks/navigation-menu-group.uRQvdRyU.js.map +0 -1
  350. package/dist/chunks/pagination.QuT_65w4.js.map +0 -1
  351. package/dist/chunks/popover.types.hyPD5Kv1.js +0 -6
  352. package/dist/chunks/progress-bar.C2EFmk8E.js.map +0 -1
  353. package/dist/chunks/radio-group.77fvFrmz.js.map +0 -1
  354. package/dist/chunks/secondary-nav.ekia7NO0.js.map +0 -1
  355. package/dist/chunks/segmented-control.qykQS10o.js.map +0 -1
  356. package/dist/chunks/selection-card-group.BEjddn7D.js.map +0 -1
  357. package/dist/chunks/sidepanel.DeX_rFk7.js.map +0 -1
  358. package/dist/chunks/tab.DCLrEYwn.js.map +0 -1
  359. package/dist/chunks/table-of-contents.f_6G1qFS.js.map +0 -1
  360. package/dist/chunks/tag.Bm-widp9.js +0 -50
  361. package/dist/chunks/tag.Bm-widp9.js.map +0 -1
  362. package/dist/chunks/textarea.OTgZOHYu.js.map +0 -1
  363. package/dist/chunks/toggle.BkTeqKsx.js.map +0 -1
  364. package/dist/chunks/tooltip.BwD3JuFl.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"dashed-underline.D3YXHh-k.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.CzKc-fJW.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.BLhATjz3.js";
3
- import { B } from "./inspector.CUJSQfsX.js";
4
- import { a as x, B as A } from "./tab.DCLrEYwn.js";
2
+ import { B as h } from "./header.CmyqVXuG.js";
3
+ import { B } from "./inspector.IOtNex1r.js";
4
+ import { a as x, B as A } from "./tab.BK1sIJAJ.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.ZZNd2LWk.js.map
102
+ //# sourceMappingURL=data-grid-template.DCwzh2G7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-grid-template.ZZNd2LWk.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.DCwzh2G7.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.DrGpzkQI.js";
3
+ import { W as Tn } from "./alert.DJDHwVeR.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.scV0X0nk.js";
9
- import { E as W, b as vt, B as In, T as Nn } from "./tooltip.BwD3JuFl.js";
10
- import { B as Dn } from "./dashed-underline.D3YXHh-k.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.DFYc5NKM.js";
10
+ import { B as Dn } from "./dashed-underline.CzKc-fJW.js";
11
11
  import { B as pe, p as pt } from "./typography.D1OZJbEa.js";
12
12
  import { u as me } from "./index.CPOlyau9.js";
13
- import { B as Mn } from "./tag.Bm-widp9.js";
14
- import { B as xn } from "./action-bar.Br6mamx3.js";
15
- import { B as Fn } from "./pagination.QuT_65w4.js";
13
+ import { B as Mn } from "./tag.Dz1FQSZb.js";
14
+ import { B as xn } from "./action-bar.BsXW7BI2.js";
15
+ import { B as Fn } from "./pagination.cI_pc6oE.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.DlSyWQQ0.js";
21
- import { B as Bn } from "./empty-state.DWnWb0jM.js";
20
+ import { a as zn } from "./filter-bar.DXpLhnxG.js";
21
+ import { B as Bn } from "./empty-state.C2wjdE3y.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 { b as bt } from "./focus-trap.DK6-TX-N.js";
28
- import { B as wt } from "./checkbox.D7kTrRAJ.js";
29
- import { B as St } from "./button.CBqJGWy5.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.CFOxzahr.js";
31
- import { E as lt } from "./link.BzIDMKgE.js";
32
- import { C as at } from "./copy.DIRgGox4.js";
27
+ import { g as bt } from "./focus-trap.fd6_d2EW.js";
28
+ import { B as wt } from "./checkbox.Co4HoHKF.js";
29
+ import { B as St } from "./button.DII5Ifwa.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.bkcLUE1G.js";
31
+ import { E as lt } from "./link.Cls8XShm.js";
32
+ import { C as at } from "./copy.CSk1rCRo.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.Bdd9hQwq.js";
36
- import { B as Kn } from "./info-icon.-3-LB8Zq.js";
37
- import { j as Yn, f as Xn } from "./dropdown.BdfmQmO_.js";
38
- import { B as it } from "./popover.types.hyPD5Kv1.js";
36
+ import { B as Kn } from "./info-icon.B-FAeceD.js";
37
+ import { j as Yn, f as Xn } from "./dropdown.Bnq4kP7k.js";
38
+ import { B as it } from "./popover.types.DvIwSAAp.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
- import { B as At } from "./toggle.BkTeqKsx.js";
44
- import { B as no } from "./search-bar.CiEKUPNX.js";
43
+ import { B as At } from "./toggle.Dgh7aw1D.js";
44
+ import { B as no } from "./search-bar.--4KVNkf.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";
@@ -1341,7 +1341,7 @@ var ps = function() {
1341
1341
  hs,
1342
1342
  !1,
1343
1343
  null,
1344
- "0e477266"
1344
+ "6aa10b79"
1345
1345
  );
1346
1346
  const ws = bs.exports, Tt = {
1347
1347
  "de-DE": { filterBar: "Filter", gettingYourData: "Ihre Daten werden abgerufen", loading: "Laden", noResults: "Keine Ergebnisse", pagination: "Paginierung", selectRow: "Zeile auswählen", showMore: "Mehr anzeigen", sortAscending: "{field} aufsteigend sortieren", sortDescending: "{field} absteigend sortieren", sortInactive: "{field} Sortierung inaktiv" },
@@ -2401,7 +2401,7 @@ var qs = function() {
2401
2401
  Ks,
2402
2402
  !1,
2403
2403
  null,
2404
- "4c57a740"
2404
+ "93233429"
2405
2405
  );
2406
2406
  const Xs = Ys.exports, Js = {
2407
2407
  __name: "warning-circle-fill",
@@ -3249,7 +3249,7 @@ var Bl = function() {
3249
3249
  Ul,
3250
3250
  !1,
3251
3251
  null,
3252
- "b804a5d7"
3252
+ "5a91b708"
3253
3253
  );
3254
3254
  const za = kl.exports;
3255
3255
  export {
@@ -3264,4 +3264,4 @@ export {
3264
3264
  ve as h,
3265
3265
  ae as i
3266
3266
  };
3267
- //# sourceMappingURL=data-grid.4_JJV1_Z.js.map
3267
+ //# sourceMappingURL=data-grid.B1lI07ze.js.map