@adyen/bento-vue2 1.102.0 → 1.103.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 (399) hide show
  1. package/dist/@types/index.d.ts +20 -3
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/anchor-scroller.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/ai-button.css +1 -1
  10. package/dist/assets/anchor-scroller.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/empty-state.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/index.css +1 -1
  23. package/dist/assets/input-field-password.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/modal-fullscreen.css +1 -1
  26. package/dist/assets/navigation-menu-group.css +1 -1
  27. package/dist/assets/pagination.css +1 -1
  28. package/dist/assets/radio-input.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/selection-card-group.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/typography.css +1 -1
  34. package/dist/avatar.js +1 -1
  35. package/dist/button.js +3 -3
  36. package/dist/card.js +1 -1
  37. package/dist/checkbox.js +2 -2
  38. package/dist/chip.js +1 -1
  39. package/dist/chunks/{accordion-item.C0va5Mbv.js → accordion-item.CrVVFIHa.js} +16 -49
  40. package/dist/chunks/{accordion-item.C0va5Mbv.js.map → accordion-item.CrVVFIHa.js.map} +1 -1
  41. package/dist/chunks/{action-bar.-kzjjAuX.js → action-bar.BC1fWyHX.js} +18 -150
  42. package/dist/chunks/{action-bar.-kzjjAuX.js.map → action-bar.BC1fWyHX.js.map} +1 -1
  43. package/dist/chunks/{ai-button.ChLXOu7p.js → ai-button.CP6Bu7PB.js} +3 -3
  44. package/dist/chunks/{ai-button.ChLXOu7p.js.map → ai-button.CP6Bu7PB.js.map} +1 -1
  45. package/dist/chunks/{ai-tag.DhBjifex.js → ai-tag.wYWc7yOx.js} +16 -49
  46. package/dist/chunks/{ai-tag.DhBjifex.js.map → ai-tag.wYWc7yOx.js.map} +1 -1
  47. package/dist/chunks/{alert.CDP-LTh5.js → alert.Dj57zB88.js} +15 -81
  48. package/dist/chunks/{alert.CDP-LTh5.js.map → alert.Dj57zB88.js.map} +1 -1
  49. package/dist/chunks/anchor-scroller.Bhgy748g.js +120 -0
  50. package/dist/chunks/anchor-scroller.Bhgy748g.js.map +1 -0
  51. package/dist/chunks/{avatar.rwWPYJnt.js → avatar.D__jLgjI.js} +2 -2
  52. package/dist/chunks/{avatar.rwWPYJnt.js.map → avatar.D__jLgjI.js.map} +1 -1
  53. package/dist/chunks/{base-button.BPRPrO0p.js → base-button.D5C9VIYP.js} +20 -23
  54. package/dist/chunks/{base-button.BPRPrO0p.js.map → base-button.D5C9VIYP.js.map} +1 -1
  55. package/dist/chunks/{base-modal.BagJ8weI.js → base-modal.DlD_Lj4Y.js} +100 -141
  56. package/dist/chunks/{base-modal.BagJ8weI.js.map → base-modal.DlD_Lj4Y.js.map} +1 -1
  57. package/dist/chunks/button-actions-with-menu.CTgggEw2.js +77 -0
  58. package/dist/chunks/{button-actions-with-menu.DNYoFmV4.js.map → button-actions-with-menu.CTgggEw2.js.map} +1 -1
  59. package/dist/chunks/{button-actions.Dpbx0xf3.js → button-actions.CxX7lK7z.js} +362 -442
  60. package/dist/chunks/{button-actions.Dpbx0xf3.js.map → button-actions.CxX7lK7z.js.map} +1 -1
  61. package/dist/chunks/{button.CKS_V3p5.js → button.C4kKejsg.js} +34 -37
  62. package/dist/chunks/{button.CKS_V3p5.js.map → button.C4kKejsg.js.map} +1 -1
  63. package/dist/chunks/calendar.BoFWdxN7.js +1143 -0
  64. package/dist/chunks/{calendar.CvHJ3Geq.js.map → calendar.BoFWdxN7.js.map} +1 -1
  65. package/dist/chunks/{card.DqMECGcj.js → card.B70qRHOi.js} +34 -70
  66. package/dist/chunks/{card.DqMECGcj.js.map → card.B70qRHOi.js.map} +1 -1
  67. package/dist/chunks/{checkbox-group.YnXz1Hl2.js → checkbox-group.D1zzKsdi.js} +6 -6
  68. package/dist/chunks/{checkbox-group.YnXz1Hl2.js.map → checkbox-group.D1zzKsdi.js.map} +1 -1
  69. package/dist/chunks/{checkbox-input.08E9BNeF.js → checkbox-input.kfxcyjfd.js} +28 -31
  70. package/dist/chunks/{checkbox-input.08E9BNeF.js.map → checkbox-input.kfxcyjfd.js.map} +1 -1
  71. package/dist/chunks/{checkbox.BUc2332d.js → checkbox.Ca0mu2lE.js} +58 -91
  72. package/dist/chunks/{checkbox.BUc2332d.js.map → checkbox.Ca0mu2lE.js.map} +1 -1
  73. package/dist/chunks/{chip.DHmRHsL2.js → chip.wgEnbEPw.js} +16 -38
  74. package/dist/chunks/{chip.DHmRHsL2.js.map → chip.wgEnbEPw.js.map} +1 -1
  75. package/dist/chunks/click-outside.B0whuTUU.js +20 -0
  76. package/dist/chunks/{click-outside.BG01Sm0A.js.map → click-outside.B0whuTUU.js.map} +1 -1
  77. package/dist/chunks/{code-snippet.Cha3wHUL.js → code-snippet.BglbQWRB.js} +19 -74
  78. package/dist/chunks/{code-snippet.Cha3wHUL.js.map → code-snippet.BglbQWRB.js.map} +1 -1
  79. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  80. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  81. package/dist/chunks/constructNow.DyOJDyZZ.js +8 -0
  82. package/dist/chunks/{constructNow.CK0ryPil.js.map → constructNow.DyOJDyZZ.js.map} +1 -1
  83. package/dist/chunks/{controls-group.BomXFNvi.js → controls-group.DPLAJjbv.js} +3 -3
  84. package/dist/chunks/{controls-group.BomXFNvi.js.map → controls-group.DPLAJjbv.js.map} +1 -1
  85. package/dist/chunks/{copy.BlyhTDSU.js → copy.CsKQJlen.js} +16 -60
  86. package/dist/chunks/{copy.BlyhTDSU.js.map → copy.CsKQJlen.js.map} +1 -1
  87. package/dist/chunks/{country.DySY9sbA.js → country.D8ncVjcm.js} +5 -5
  88. package/dist/chunks/{country.DySY9sbA.js.map → country.D8ncVjcm.js.map} +1 -1
  89. package/dist/chunks/country.types.BUW49nQx.js +27 -0
  90. package/dist/chunks/country.types.BUW49nQx.js.map +1 -0
  91. package/dist/chunks/currency.POwX-Trj.js +124 -0
  92. package/dist/chunks/{currency.Dvy9Qjjf.js.map → currency.POwX-Trj.js.map} +1 -1
  93. package/dist/chunks/dashboard-section.Bmu65OHg.js +98 -0
  94. package/dist/chunks/{dashboard-section.D2yqhERq.js.map → dashboard-section.Bmu65OHg.js.map} +1 -1
  95. package/dist/chunks/{dashed-underline.ByPcIHNe.js → dashed-underline.CbzCYKrk.js} +11 -12
  96. package/dist/chunks/{dashed-underline.ByPcIHNe.js.map → dashed-underline.CbzCYKrk.js.map} +1 -1
  97. package/dist/chunks/data-grid-template.BvBHJ0sH.js +102 -0
  98. package/dist/chunks/{data-grid-template.Ifn423Ot.js.map → data-grid-template.BvBHJ0sH.js.map} +1 -1
  99. package/dist/chunks/data-grid.DPh8BSnM.js +3266 -0
  100. package/dist/chunks/{data-grid.BDXQ_kKQ.js.map → data-grid.DPh8BSnM.js.map} +1 -1
  101. package/dist/chunks/date-picker.DutUBQbH.js +183 -0
  102. package/dist/chunks/{date-picker.CXZfCxwP.js.map → date-picker.DutUBQbH.js.map} +1 -1
  103. package/dist/chunks/date-range-picker.5bvgs49h.js +924 -0
  104. package/dist/chunks/{date-range-picker.BzVQsYk4.js.map → date-range-picker.5bvgs49h.js.map} +1 -1
  105. package/dist/chunks/date-time-picker.DUWWGlOX.js +127 -0
  106. package/dist/chunks/{date-time-picker.DaLATfJp.js.map → date-time-picker.DUWWGlOX.js.map} +1 -1
  107. package/dist/chunks/{date.C1HnIyOv.js → date.CPo8t1n9.js} +25 -25
  108. package/dist/chunks/{date.C1HnIyOv.js.map → date.CPo8t1n9.js.map} +1 -1
  109. package/dist/chunks/{de.pvjpUJ1o.js → de.ctR_lBqr.js} +18 -18
  110. package/dist/chunks/{de.pvjpUJ1o.js.map → de.ctR_lBqr.js.map} +1 -1
  111. package/dist/chunks/{dialog-page.B_LwIWgK.js → dialog-page.CPorblJc.js} +16 -38
  112. package/dist/chunks/{dialog-page.B_LwIWgK.js.map → dialog-page.CPorblJc.js.map} +1 -1
  113. package/dist/chunks/differenceInMonths.yz4Dfe-b.js +44 -0
  114. package/dist/chunks/{differenceInMonths.CpwVtHZX.js.map → differenceInMonths.yz4Dfe-b.js.map} +1 -1
  115. package/dist/chunks/{directive.BBWhsNtO.js → directive.D1-d-C2K.js} +2 -2
  116. package/dist/chunks/{directive.BBWhsNtO.js.map → directive.D1-d-C2K.js.map} +1 -1
  117. package/dist/chunks/{draggable-handle.kBP4prVO.js → draggable-handle.g2BFN3G1.js} +18 -114
  118. package/dist/chunks/{draggable-handle.kBP4prVO.js.map → draggable-handle.g2BFN3G1.js.map} +1 -1
  119. package/dist/chunks/draggable.iIsQLiOa.js +168 -0
  120. package/dist/chunks/{draggable.rTa1jcHI.js.map → draggable.iIsQLiOa.js.map} +1 -1
  121. package/dist/chunks/{drawer.DVJxDGw3.js → drawer.CnxX1zZ6.js} +14 -36
  122. package/dist/chunks/{drawer.DVJxDGw3.js.map → drawer.CnxX1zZ6.js.map} +1 -1
  123. package/dist/chunks/{dropdown-tag.CaLA2NLd.js → dropdown-tag.BFnfCah8.js} +77 -81
  124. package/dist/chunks/{dropdown-tag.CaLA2NLd.js.map → dropdown-tag.BFnfCah8.js.map} +1 -1
  125. package/dist/chunks/{dropdown.DIqgVVXB.js → dropdown.Ce2P9MZ-.js} +1131 -1466
  126. package/dist/chunks/{dropdown.DIqgVVXB.js.map → dropdown.Ce2P9MZ-.js.map} +1 -1
  127. package/dist/chunks/empty-state.fziM-yAC.js +102 -0
  128. package/dist/chunks/empty-state.fziM-yAC.js.map +1 -0
  129. package/dist/chunks/{en-GB.-Q7Oq-nY.js → en-GB.BsQNm5GT.js} +2 -2
  130. package/dist/chunks/{en-GB.-Q7Oq-nY.js.map → en-GB.BsQNm5GT.js.map} +1 -1
  131. package/dist/chunks/{en-US.BK5uiAND.js → en-US.BR6y7foR.js} +30 -30
  132. package/dist/chunks/{en-US.BK5uiAND.js.map → en-US.BR6y7foR.js.map} +1 -1
  133. package/dist/chunks/{error-message.Hqp_VvD3.js → error-message.BEHBfjmn.js} +14 -36
  134. package/dist/chunks/{error-message.Hqp_VvD3.js.map → error-message.BEHBfjmn.js.map} +1 -1
  135. package/dist/chunks/{es.2H4LvTyV.js → es.DxqH-QhP.js} +14 -14
  136. package/dist/chunks/{es.2H4LvTyV.js.map → es.DxqH-QhP.js.map} +1 -1
  137. package/dist/chunks/{field-label.DjJ7wdFi.js → field-label.CgdTst2l.js} +15 -37
  138. package/dist/chunks/{field-label.DjJ7wdFi.js.map → field-label.CgdTst2l.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.2rIfQ2jb.js → file-uploader.BG89SLkG.js} +317 -630
  140. package/dist/chunks/{file-uploader.2rIfQ2jb.js.map → file-uploader.BG89SLkG.js.map} +1 -1
  141. package/dist/chunks/filter-bar.BMO8wTzb.js +3087 -0
  142. package/dist/chunks/{filter-bar.qlViDZPY.js.map → filter-bar.BMO8wTzb.js.map} +1 -1
  143. package/dist/chunks/fixed-scroller.oObE3f7m.js +117 -0
  144. package/dist/chunks/{fixed-scroller.04EUUgD_.js.map → fixed-scroller.oObE3f7m.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.oRKjDFzf.js → focus-trap.l-wwtCHi.js} +69 -85
  146. package/dist/chunks/{focus-trap.oRKjDFzf.js.map → focus-trap.l-wwtCHi.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.DXyJtVip.js → footer-actions.Dn9KYoqB.js} +4 -4
  148. package/dist/chunks/{footer-actions.DXyJtVip.js.map → footer-actions.Dn9KYoqB.js.map} +1 -1
  149. package/dist/chunks/{form-layout-group.DnjoLZZM.js → form-layout-group.C_0b8u-g.js} +2 -2
  150. package/dist/chunks/{form-layout-group.DnjoLZZM.js.map → form-layout-group.C_0b8u-g.js.map} +1 -1
  151. package/dist/chunks/{form-layout-title.Bt5bP9r3.js → form-layout-title.YhZCVtoc.js} +15 -37
  152. package/dist/chunks/{form-layout-title.Bt5bP9r3.js.map → form-layout-title.YhZCVtoc.js.map} +1 -1
  153. package/dist/chunks/{fr.Cu0IIfBP.js → fr.DJtn8ron.js} +16 -16
  154. package/dist/chunks/{fr.Cu0IIfBP.js.map → fr.DJtn8ron.js.map} +1 -1
  155. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  156. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  157. package/dist/chunks/get-slot-text.DM_NdrUC.js +6 -0
  158. package/dist/chunks/{get-slot-text.Bjb9dTSV.js.map → get-slot-text.DM_NdrUC.js.map} +1 -1
  159. package/dist/chunks/{grid-layout.1aIiz2N_.js → grid-layout.BeCrjPgT.js} +16 -17
  160. package/dist/chunks/{grid-layout.1aIiz2N_.js.map → grid-layout.BeCrjPgT.js.map} +1 -1
  161. package/dist/chunks/header-meta.mDdMmFUA.js +206 -0
  162. package/dist/chunks/{header-meta.CCQVPDU8.js.map → header-meta.mDdMmFUA.js.map} +1 -1
  163. package/dist/chunks/{header-with-views.CEU6WrV9.js → header-with-views.Dp6SyiPu.js} +791 -1270
  164. package/dist/chunks/{header-with-views.CEU6WrV9.js.map → header-with-views.Dp6SyiPu.js.map} +1 -1
  165. package/dist/chunks/{header.BoNOTATn.js → header.DUAxdw_d.js} +4 -4
  166. package/dist/chunks/{header.BoNOTATn.js.map → header.DUAxdw_d.js.map} +1 -1
  167. package/dist/chunks/{index.C7m7gI5w.js → index.CL3TXc0a.js} +154 -160
  168. package/dist/chunks/{index.C7m7gI5w.js.map → index.CL3TXc0a.js.map} +1 -1
  169. package/dist/chunks/{index.B6WW_F-J.js → index.CPOlyau9.js} +5 -5
  170. package/dist/chunks/index.CPOlyau9.js.map +1 -0
  171. package/dist/chunks/{info-icon.BnLYUTzI.js → info-icon.BRnbXunj.js} +3 -3
  172. package/dist/chunks/{info-icon.BnLYUTzI.js.map → info-icon.BRnbXunj.js.map} +1 -1
  173. package/dist/chunks/input-field-password.C9_o6Kg2.js +230 -0
  174. package/dist/chunks/input-field-password.C9_o6Kg2.js.map +1 -0
  175. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js → input-field-phone-number.zRjd8HPi.js} +724 -756
  176. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js.map → input-field-phone-number.zRjd8HPi.js.map} +1 -1
  177. package/dist/chunks/{input-field.BEV5lhwO.js → input-field.BTt1ORWU.js} +22 -58
  178. package/dist/chunks/{input-field.BEV5lhwO.js.map → input-field.BTt1ORWU.js.map} +1 -1
  179. package/dist/chunks/{input-time.En4O4DRD.js → input-time.BfJIDgaH.js} +15 -48
  180. package/dist/chunks/{input-time.En4O4DRD.js.map → input-time.BfJIDgaH.js.map} +1 -1
  181. package/dist/chunks/{inspector-page.OKPf0I4k.js → inspector-page.i8bVjo9U.js} +4 -4
  182. package/dist/chunks/{inspector-page.OKPf0I4k.js.map → inspector-page.i8bVjo9U.js.map} +1 -1
  183. package/dist/chunks/{inspector.DoQPHzCc.js → inspector.Aet0jTC2.js} +39 -106
  184. package/dist/chunks/{inspector.DoQPHzCc.js.map → inspector.Aet0jTC2.js.map} +1 -1
  185. package/dist/chunks/isSameWeek.CieN9XgL.js +14 -0
  186. package/dist/chunks/{isSameWeek.TrpUOIn5.js.map → isSameWeek.CieN9XgL.js.map} +1 -1
  187. package/dist/chunks/{it.B65snrJA.js → it.keS7oN5l.js} +8 -8
  188. package/dist/chunks/{it.B65snrJA.js.map → it.keS7oN5l.js.map} +1 -1
  189. package/dist/chunks/{ja.xGVfFSzL.js → ja.cLwacUE6.js} +27 -27
  190. package/dist/chunks/{ja.xGVfFSzL.js.map → ja.cLwacUE6.js.map} +1 -1
  191. package/dist/chunks/{layout-row.CPFK9Bg7.js → layout-row.HslYnPgn.js} +34 -35
  192. package/dist/chunks/{layout-row.CPFK9Bg7.js.map → layout-row.HslYnPgn.js.map} +1 -1
  193. package/dist/chunks/{link.Cejg8jB6.js → link.CscSbaXa.js} +15 -37
  194. package/dist/chunks/{link.Cejg8jB6.js.map → link.CscSbaXa.js.map} +1 -1
  195. package/dist/chunks/list-item.Cngxa9qN.js +166 -0
  196. package/dist/chunks/{list-item.BiJMHR7b.js.map → list-item.Cngxa9qN.js.map} +1 -1
  197. package/dist/chunks/{listbox-option-tag.DnvECZQC.js → listbox-option-tag.BaoiH-Ku.js} +3 -3
  198. package/dist/chunks/{listbox-option-tag.DnvECZQC.js.map → listbox-option-tag.BaoiH-Ku.js.map} +1 -1
  199. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js → modal-fullscreen.Cg1Q6ERf.js} +64 -93
  200. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js.map → modal-fullscreen.Cg1Q6ERf.js.map} +1 -1
  201. package/dist/chunks/{modal.CClQItuJ.js → modal.u-t1CvBr.js} +81 -105
  202. package/dist/chunks/{modal.CClQItuJ.js.map → modal.u-t1CvBr.js.map} +1 -1
  203. package/dist/chunks/{navigation-menu-group.p1-x06nS.js → navigation-menu-group.gNMP4tW4.js} +80 -129
  204. package/dist/chunks/{navigation-menu-group.p1-x06nS.js.map → navigation-menu-group.gNMP4tW4.js.map} +1 -1
  205. package/dist/chunks/{on-click-outside.Cy1eFULD.js → on-click-outside.BgIzQ2G1.js} +32 -33
  206. package/dist/chunks/{on-click-outside.Cy1eFULD.js.map → on-click-outside.BgIzQ2G1.js.map} +1 -1
  207. package/dist/chunks/{pagination.CZVdaeqE.js → pagination.D81XgMQ7.js} +73 -192
  208. package/dist/chunks/pagination.D81XgMQ7.js.map +1 -0
  209. package/dist/chunks/{payment-method.B3CkgsAY.js → payment-method.Clm5dEYh.js} +2 -2
  210. package/dist/chunks/{payment-method.B3CkgsAY.js.map → payment-method.Clm5dEYh.js.map} +1 -1
  211. package/dist/chunks/popover.types.H5Y0rC1r.js +6 -0
  212. package/dist/chunks/{popover.types.BfnJIpII.js.map → popover.types.H5Y0rC1r.js.map} +1 -1
  213. package/dist/chunks/{popper-container.Cb9wuFId.js → popper-container.D08eTt4B.js} +245 -252
  214. package/dist/chunks/{popper-container.Cb9wuFId.js.map → popper-container.D08eTt4B.js.map} +1 -1
  215. package/dist/chunks/{promo-banner.DZ0gerRx.js → promo-banner.BX47zMKh.js} +17 -39
  216. package/dist/chunks/{promo-banner.DZ0gerRx.js.map → promo-banner.BX47zMKh.js.map} +1 -1
  217. package/dist/chunks/{pt-BR.D9FuAQZm.js → pt-BR.ChPOra5s.js} +14 -14
  218. package/dist/chunks/{pt-BR.D9FuAQZm.js.map → pt-BR.ChPOra5s.js.map} +1 -1
  219. package/dist/chunks/{radio-group.DUW2dya4.js → radio-group.Dtx5hOkQ.js} +23 -23
  220. package/dist/chunks/{radio-group.DUW2dya4.js.map → radio-group.Dtx5hOkQ.js.map} +1 -1
  221. package/dist/chunks/{rich-text-editor.CuCPLzUh.js → rich-text-editor.CmVsFJjh.js} +1364 -1416
  222. package/dist/chunks/{rich-text-editor.CuCPLzUh.js.map → rich-text-editor.CmVsFJjh.js.map} +1 -1
  223. package/dist/chunks/scroll-to-section.DhW8SFy0.js +101 -0
  224. package/dist/chunks/scroll-to-section.DhW8SFy0.js.map +1 -0
  225. package/dist/chunks/{search-bar.8iDkgmjw.js → search-bar.CRfYCmkl.js} +15 -48
  226. package/dist/chunks/{search-bar.8iDkgmjw.js.map → search-bar.CRfYCmkl.js.map} +1 -1
  227. package/dist/chunks/secondary-nav.B1Tj7MAA.js +192 -0
  228. package/dist/chunks/{secondary-nav.CmvSHxvS.js.map → secondary-nav.B1Tj7MAA.js.map} +1 -1
  229. package/dist/chunks/{segmented-control.Bkp2Y95s.js → segmented-control.CBc-wx0m.js} +44 -48
  230. package/dist/chunks/{segmented-control.Bkp2Y95s.js.map → segmented-control.CBc-wx0m.js.map} +1 -1
  231. package/dist/chunks/{selection-card-group.EGigQJOW.js → selection-card-group.BaK3Rt4K.js} +91 -96
  232. package/dist/chunks/{selection-card-group.EGigQJOW.js.map → selection-card-group.BaK3Rt4K.js.map} +1 -1
  233. package/dist/chunks/set-time-in-date.BVfkl8K8.js +27 -0
  234. package/dist/chunks/{set-time-in-date.CU7HeZLY.js.map → set-time-in-date.BVfkl8K8.js.map} +1 -1
  235. package/dist/chunks/{sidepanel.yB7YuzVt.js → sidepanel.DeIREn9l.js} +55 -78
  236. package/dist/chunks/{sidepanel.yB7YuzVt.js.map → sidepanel.DeIREn9l.js.map} +1 -1
  237. package/dist/chunks/startOfWeek.muMEhS7U.js +9 -0
  238. package/dist/chunks/{startOfWeek.Br5KM4z_.js.map → startOfWeek.muMEhS7U.js.map} +1 -1
  239. package/dist/chunks/{status.CKb07vxI.js → status.DJ1Dfh5s.js} +2 -2
  240. package/dist/chunks/{status.CKb07vxI.js.map → status.DJ1Dfh5s.js.map} +1 -1
  241. package/dist/chunks/step.DfI11Din.js +221 -0
  242. package/dist/chunks/{step.CIfxl8Wm.js.map → step.DfI11Din.js.map} +1 -1
  243. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js → structured-list-item._7YG2L3a.js} +18 -40
  244. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js.map → structured-list-item._7YG2L3a.js.map} +1 -1
  245. package/dist/chunks/{summary-grid.types.BcIlkfVO.js → summary-grid.types.B_gUEQ0c.js} +45 -50
  246. package/dist/chunks/{summary-grid.types.BcIlkfVO.js.map → summary-grid.types.B_gUEQ0c.js.map} +1 -1
  247. package/dist/chunks/tab.DFk4K9cq.js +229 -0
  248. package/dist/chunks/{tab.N0xGWsfO.js.map → tab.DFk4K9cq.js.map} +1 -1
  249. package/dist/chunks/table-of-contents.CoEnQ9g7.js +104 -0
  250. package/dist/chunks/{table-of-contents.Cf-IrdZl.js.map → table-of-contents.CoEnQ9g7.js.map} +1 -1
  251. package/dist/chunks/{tag.BAyLm485.js → tag.BC7FFENr.js} +4 -4
  252. package/dist/chunks/{tag.BAyLm485.js.map → tag.BC7FFENr.js.map} +1 -1
  253. package/dist/chunks/textarea.Z-VYFZVq.js +176 -0
  254. package/dist/chunks/{textarea.BDRR1zE0.js.map → textarea.Z-VYFZVq.js.map} +1 -1
  255. package/dist/chunks/{timeline-item.QEEIwYMy.js → timeline-item.BGHi_lOY.js} +114 -193
  256. package/dist/chunks/{timeline-item.QEEIwYMy.js.map → timeline-item.BGHi_lOY.js.map} +1 -1
  257. package/dist/chunks/{toast.XPG0vaQB.js → toast.D-jat1Xw.js} +64 -86
  258. package/dist/chunks/{toast.XPG0vaQB.js.map → toast.D-jat1Xw.js.map} +1 -1
  259. package/dist/chunks/{toggle.Ca-MM3dt.js → toggle.BqHWIhqD.js} +4 -4
  260. package/dist/chunks/{toggle.Ca-MM3dt.js.map → toggle.BqHWIhqD.js.map} +1 -1
  261. package/dist/chunks/{tooltip.7ct8WxCl.js → tooltip.D_XsoD_u.js} +68 -70
  262. package/dist/chunks/{tooltip.7ct8WxCl.js.map → tooltip.D_XsoD_u.js.map} +1 -1
  263. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  264. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  265. package/dist/chunks/{tutorial.bROv3HSx.js → tutorial.BtxKW4ac.js} +80 -173
  266. package/dist/chunks/{tutorial.bROv3HSx.js.map → tutorial.BtxKW4ac.js.map} +1 -1
  267. package/dist/chunks/typography.D1OZJbEa.js +90 -0
  268. package/dist/chunks/typography.D1OZJbEa.js.map +1 -0
  269. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js → use-bento-delayed-hover.D6QjSugc.js} +2 -2
  270. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js.map → use-bento-delayed-hover.D6QjSugc.js.map} +1 -1
  271. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js → use-bento-toast-controller.A5xraVqa.js} +14 -15
  272. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js.map → use-bento-toast-controller.A5xraVqa.js.map} +1 -1
  273. package/dist/chunks/use-country-items.B1KhLbqM.js +30 -0
  274. package/dist/chunks/{use-country-items.CmCRY7QX.js.map → use-country-items.B1KhLbqM.js.map} +1 -1
  275. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js +291 -0
  276. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js.map +1 -0
  277. package/dist/chunks/use-date-input-formatter.DXwvH7B0.js +1629 -0
  278. package/dist/chunks/{use-date-input-formatter.DfQk8_Dw.js.map → use-date-input-formatter.DXwvH7B0.js.map} +1 -1
  279. package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +34 -0
  280. package/dist/chunks/{use-expandable-content-height.2WJLCL-R.js.map → use-expandable-content-height.Bdd9hQwq.js.map} +1 -1
  281. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  282. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  283. package/dist/chunks/{zh-CN.Be4pa3-g.js → zh-CN.ZG6obniO.js} +28 -28
  284. package/dist/chunks/{zh-CN.Be4pa3-g.js.map → zh-CN.ZG6obniO.js.map} +1 -1
  285. package/dist/click-outside.js +1 -1
  286. package/dist/code-snippet.js +1 -1
  287. package/dist/country.js +3 -3
  288. package/dist/currency.js +1 -1
  289. package/dist/dashboard-template.js +1 -1
  290. package/dist/dashed-underline.js +1 -1
  291. package/dist/data-grid-template.js +1 -1
  292. package/dist/data-grid.js +1 -1
  293. package/dist/date-picker.js +2 -2
  294. package/dist/date-range-picker.js +2 -2
  295. package/dist/date-time-picker.js +1 -1
  296. package/dist/date.js +1 -1
  297. package/dist/draggable.js +2 -2
  298. package/dist/drawer.js +1 -1
  299. package/dist/dropdown.js +2 -2
  300. package/dist/empty-state.js +1 -1
  301. package/dist/file-uploader.js +1 -1
  302. package/dist/filter-bar.js +1 -1
  303. package/dist/focus-trap.js +1 -1
  304. package/dist/form-layout.js +2 -2
  305. package/dist/header-with-views.js +1 -1
  306. package/dist/header.js +1 -1
  307. package/dist/index.js +144 -149
  308. package/dist/index.js.map +1 -1
  309. package/dist/info-icon.js +1 -1
  310. package/dist/input-field-password.js +1 -1
  311. package/dist/input-field-phone-number.js +1 -1
  312. package/dist/input-field.js +1 -1
  313. package/dist/input-time.js +1 -1
  314. package/dist/inspector.js +2 -2
  315. package/dist/internal.js +14 -14
  316. package/dist/layout.js +1 -1
  317. package/dist/link.js +1 -1
  318. package/dist/list.js +1 -1
  319. package/dist/menu.js +1 -1
  320. package/dist/modal-fullscreen.js +1 -1
  321. package/dist/modal.js +2 -2
  322. package/dist/navigation-menu.js +1 -1
  323. package/dist/pagination.js +1 -1
  324. package/dist/payment-method.js +1 -1
  325. package/dist/popover.js +2 -2
  326. package/dist/popper-container.js +1 -1
  327. package/dist/promo-banner.js +1 -1
  328. package/dist/radio-group.js +1 -1
  329. package/dist/rich-text-editor.js +1 -1
  330. package/dist/search-bar.js +2 -2
  331. package/dist/secondary-nav.js +1 -1
  332. package/dist/segmented-control.js +1 -1
  333. package/dist/selection-card.js +1 -1
  334. package/dist/sidepanel.js +1 -1
  335. package/dist/status.js +1 -1
  336. package/dist/stepper.js +1 -1
  337. package/dist/structured-list.js +1 -1
  338. package/dist/summary-grid.js +1 -1
  339. package/dist/table-of-contents.js +1 -1
  340. package/dist/tabs.js +1 -1
  341. package/dist/tag.js +1 -1
  342. package/dist/textarea.js +1 -1
  343. package/dist/timeline.js +1 -1
  344. package/dist/toast.js +1 -1
  345. package/dist/toggle.js +1 -1
  346. package/dist/tutorial.js +1 -1
  347. package/dist/typography.js +1 -1
  348. package/dist/use-form-v4.js +331 -341
  349. package/dist/use-form-v4.js.map +1 -1
  350. package/dist/web-types.json +32 -2
  351. package/package.json +11 -11
  352. package/dist/chunks/anchor-scroller.DgC74yeM.js +0 -141
  353. package/dist/chunks/anchor-scroller.DgC74yeM.js.map +0 -1
  354. package/dist/chunks/button-actions-with-menu.DNYoFmV4.js +0 -85
  355. package/dist/chunks/calendar.CvHJ3Geq.js +0 -1247
  356. package/dist/chunks/click-outside.BG01Sm0A.js +0 -23
  357. package/dist/chunks/constructNow.CK0ryPil.js +0 -8
  358. package/dist/chunks/country.types.8GCHsdGN.js +0 -2789
  359. package/dist/chunks/country.types.8GCHsdGN.js.map +0 -1
  360. package/dist/chunks/currency.Dvy9Qjjf.js +0 -126
  361. package/dist/chunks/dashboard-section.D2yqhERq.js +0 -102
  362. package/dist/chunks/data-grid-template.Ifn423Ot.js +0 -111
  363. package/dist/chunks/data-grid.BDXQ_kKQ.js +0 -4121
  364. package/dist/chunks/date-picker.CXZfCxwP.js +0 -252
  365. package/dist/chunks/date-range-picker.BzVQsYk4.js +0 -1295
  366. package/dist/chunks/date-time-picker.DaLATfJp.js +0 -202
  367. package/dist/chunks/differenceInMonths.CpwVtHZX.js +0 -44
  368. package/dist/chunks/draggable.rTa1jcHI.js +0 -196
  369. package/dist/chunks/empty-state.DSVU1vU8.js +0 -106
  370. package/dist/chunks/empty-state.DSVU1vU8.js.map +0 -1
  371. package/dist/chunks/filter-bar.qlViDZPY.js +0 -3754
  372. package/dist/chunks/fixed-scroller.04EUUgD_.js +0 -152
  373. package/dist/chunks/get-slot-text.Bjb9dTSV.js +0 -12
  374. package/dist/chunks/header-meta.CCQVPDU8.js +0 -250
  375. package/dist/chunks/index.B6WW_F-J.js.map +0 -1
  376. package/dist/chunks/input-field-password.Bri9q5EV.js +0 -395
  377. package/dist/chunks/input-field-password.Bri9q5EV.js.map +0 -1
  378. package/dist/chunks/isSameWeek.TrpUOIn5.js +0 -14
  379. package/dist/chunks/list-item.BiJMHR7b.js +0 -226
  380. package/dist/chunks/pagination.CZVdaeqE.js.map +0 -1
  381. package/dist/chunks/popover.types.BfnJIpII.js +0 -6
  382. package/dist/chunks/scroll-to-section.CC5g-HBX.js +0 -111
  383. package/dist/chunks/scroll-to-section.CC5g-HBX.js.map +0 -1
  384. package/dist/chunks/secondary-nav.CmvSHxvS.js +0 -266
  385. package/dist/chunks/set-time-in-date.CU7HeZLY.js +0 -27
  386. package/dist/chunks/startOfWeek.Br5KM4z_.js +0 -10
  387. package/dist/chunks/step.CIfxl8Wm.js +0 -253
  388. package/dist/chunks/tab.N0xGWsfO.js +0 -259
  389. package/dist/chunks/table-of-contents.Cf-IrdZl.js +0 -129
  390. package/dist/chunks/textarea.BDRR1zE0.js +0 -224
  391. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  392. package/dist/chunks/typography.C8lPlsbD.js +0 -87
  393. package/dist/chunks/typography.C8lPlsbD.js.map +0 -1
  394. package/dist/chunks/use-country-items.CmCRY7QX.js +0 -30
  395. package/dist/chunks/use-country-phon-code.BWkb546s.js +0 -6641
  396. package/dist/chunks/use-country-phon-code.BWkb546s.js.map +0 -1
  397. package/dist/chunks/use-date-input-formatter.DfQk8_Dw.js +0 -1732
  398. package/dist/chunks/use-expandable-content-height.2WJLCL-R.js +0 -35
  399. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -1,98 +1,65 @@
1
- import { defineComponent as g, useSlots as T, computed as m, onMounted as M, onUnmounted as j, useAttrs as ie, inject as k, ref as f, toRefs as re, watch as G, nextTick as P, toRef as Y, provide as le } from "vue";
2
- import { B as h } from "./button.CKS_V3p5.js";
3
- import { B as ue } from "./loading-indicator.PxbRzshH.js";
4
- import { C as ce } from "./cross-circle-fill.DTDtgLMf.js";
5
- import { C as de } from "./checkmark-circle-fill.BttTCjrM.js";
6
- import { u as D } from "./use-has-slot.C9lQZ6nz.js";
7
- import { u as J } from "./index.B6WW_F-J.js";
8
- import { n as C } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
- import { i as H } from "./index.Cl4_42j5.js";
10
- import { B as z, D as fe } from "./divider.DX5gwN7p.js";
11
- import { C as pe } from "./cross.CC_B-vG-.js";
12
- import { B as X, c as $, p as me } from "./typography.C8lPlsbD.js";
13
- import { a as _e, P as ve, b as ye } from "./popper-container.Cb9wuFId.js";
14
- import { u as be } from "./aria-label.CaUURpnB.js";
15
- import { o as he } from "./on-click-outside.Cy1eFULD.js";
16
- import { g as ge } from "./generate-uid.NJ8tVoha.js";
17
- import { C as Ce } from "./chevron-down.eYtgv5ly.js";
1
+ import { defineComponent as h, useSlots as L, computed as f, onMounted as M, onUnmounted as V, useAttrs as oe, inject as C, ref as c, toRefs as ae, watch as K, nextTick as N, toRef as j, provide as ie } from "vue";
2
+ import { B as b } from "./button.C4kKejsg.js";
3
+ import { B as re } from "./loading-indicator.PxbRzshH.js";
4
+ import { C as le } from "./cross-circle-fill.DTDtgLMf.js";
5
+ import { C as ue } from "./checkmark-circle-fill.BttTCjrM.js";
6
+ import { u as P } from "./use-has-slot.C9lQZ6nz.js";
7
+ import { u as G } from "./index.CPOlyau9.js";
8
+ import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
+ import { i as Y } from "./index.Cl4_42j5.js";
10
+ import { B as J, D as ce } from "./divider.DX5gwN7p.js";
11
+ import { C as de } from "./cross.CC_B-vG-.js";
12
+ import { B as H, c as D, p as fe } from "./typography.D1OZJbEa.js";
13
+ import { a as pe, P as me, b as _e } from "./popper-container.D08eTt4B.js";
14
+ import { u as ve } from "./aria-label.CaUURpnB.js";
15
+ import { o as ye } from "./on-click-outside.BgIzQ2G1.js";
16
+ import { g as be } from "./generate-uid.DBWe4g6T.js";
17
+ import { C as he } from "./chevron-down.eYtgv5ly.js";
18
18
  /* empty css */
19
- import { C as ke, a as U } from "./chevron-left.BS24hEFa.js";
20
- import { a as V, B as Ie } from "./base-button.BPRPrO0p.js";
21
- import { t as Be } from "./truncate.BfIl_-71.js";
22
- import { o as Oe } from "./resize.Bqks3WUm.js";
23
- import { g as Se } from "./es6.Cu3DYUPA.js";
19
+ import { C as ge, a as F } from "./chevron-left.BS24hEFa.js";
20
+ import { a as $, B as Ce } from "./base-button.D5C9VIYP.js";
21
+ import { t as ke } from "./truncate.DmCXQmeb.js";
22
+ import { o as Ie } from "./resize.Bqks3WUm.js";
23
+ import { g as Be } from "./es6.Cu3DYUPA.js";
24
24
  import "../assets/button-actions.css";
25
- var B = /* @__PURE__ */ ((o) => (o.START = "start", o.LOADING = "loading", o.SUCCESS = "success", o.FAIL = "fail", o))(B || {});
26
- const xe = {
27
- "de-DE": {
28
- failed: "Fehlgeschlagen",
29
- succeded: "Erfolgreich"
30
- },
31
- "en-GB": {
32
- failed: "Failed",
33
- succeded: "Succeeded"
34
- },
35
- "en-US": {
36
- failed: "Failed",
37
- succeded: "Succeded"
38
- },
39
- "es-419": {
40
- failed: "Fallo",
41
- succeded: "Correcto"
42
- },
43
- "es-ES": {
44
- failed: "Error",
45
- succeded: "Correcto"
46
- },
47
- "es-MX": {
48
- failed: "Fallido",
49
- succeded: "Correcto"
50
- },
51
- "fr-FR": {
52
- failed: "Échec",
53
- succeded: "Réussite"
54
- },
55
- "it-IT": {
56
- failed: "Operazione non riuscita",
57
- succeded: "Operazione riuscita"
58
- },
59
- "ja-JP": {
60
- failed: "失敗",
61
- succeded: "成功"
62
- },
63
- "pt-BR": {
64
- failed: "Falhou",
65
- succeded: "Bem-sucedido"
66
- },
67
- "zh-CN": {
68
- failed: "失败",
69
- succeded: "成功"
70
- }
71
- }, Ee = {
72
- i18n: { messages: xe }
73
- }, Le = /* @__PURE__ */ g({
74
- ...Ee,
25
+ var k = /* @__PURE__ */ ((o) => (o.START = "start", o.LOADING = "loading", o.SUCCESS = "success", o.FAIL = "fail", o))(k || {});
26
+ const Oe = {
27
+ "de-DE": { failed: "Fehlgeschlagen", succeded: "Erfolgreich" },
28
+ "en-GB": { failed: "Failed", succeded: "Succeeded" },
29
+ "en-US": { failed: "Failed", succeded: "Succeded" },
30
+ "es-419": { failed: "Fallo", succeded: "Correcto" },
31
+ "es-ES": { failed: "Error", succeded: "Correcto" },
32
+ "es-MX": { failed: "Fallido", succeded: "Correcto" },
33
+ "fr-FR": { failed: "Échec", succeded: "Réussite" },
34
+ "it-IT": { failed: "Operazione non riuscita", succeded: "Operazione riuscita" },
35
+ "ja-JP": { failed: "失敗", succeded: "成功" },
36
+ "pt-BR": { failed: "Falhou", succeded: "Bem-sucedido" },
37
+ "zh-CN": { failed: "失败", succeded: "成功" }
38
+ }, Se = {
39
+ i18n: { messages: Oe }
40
+ }, xe = /* @__PURE__ */ h({
41
+ ...Se,
75
42
  __name: "loading-button",
76
43
  props: {
77
44
  /**
78
45
  * Reduces sizing of button
79
46
  */
80
47
  condensed: {
81
- type: h.props.condensed.type,
48
+ type: b.props.condensed.type,
82
49
  default: !1
83
50
  },
84
51
  /**
85
52
  * Displays loading-button as critical
86
53
  */
87
54
  critical: {
88
- type: h.props.critical.type,
55
+ type: b.props.critical.type,
89
56
  default: !1
90
57
  },
91
58
  /**
92
59
  * Disables button functonality
93
60
  */
94
61
  disabled: {
95
- type: h.props.disabled.type,
62
+ type: b.props.disabled.type,
96
63
  default: !1
97
64
  },
98
65
  /**
@@ -108,36 +75,36 @@ const xe = {
108
75
  */
109
76
  state: {
110
77
  type: String,
111
- default: B.START,
112
- validator: (o) => Object.values(B).includes(o)
78
+ default: k.START,
79
+ validator: (o) => Object.values(k).includes(o)
113
80
  },
114
81
  /**
115
82
  * Types of flavour of Button
116
83
  */
117
84
  variant: {
118
- type: h.props.variant.type,
85
+ type: b.props.variant.type,
119
86
  default: "primary",
120
- validator: h.props.variant.validator
87
+ validator: b.props.variant.validator
121
88
  }
122
89
  },
123
90
  emits: ["click"],
124
91
  setup(o, { emit: e }) {
125
- const n = o, t = T(), s = D(t), { t: i } = J(), p = m(() => ({
126
- [`b-loading-button--${n.variant}-${B.LOADING}`]: n.state === B.LOADING && !n.disabled,
127
- "b-loading-button--loading": n.state === B.LOADING && !n.disabled,
128
- [`b-loading-button--${n.variant}-${B.SUCCESS}`]: n.state === B.SUCCESS,
92
+ const n = o, t = L(), s = P(t), { t: a } = G(), p = f(() => ({
93
+ [`b-loading-button--${n.variant}-${k.LOADING}`]: n.state === k.LOADING && !n.disabled,
94
+ "b-loading-button--loading": n.state === k.LOADING && !n.disabled,
95
+ [`b-loading-button--${n.variant}-${k.SUCCESS}`]: n.state === k.SUCCESS,
129
96
  "b-loading-button--inverse": n.inverse
130
- })), l = m(
97
+ })), u = f(
131
98
  () => n.variant === "primary" && !n.inverse || n.variant !== "primary" && n.inverse
132
- ), u = m(
133
- () => n.critical && n.state === B.START || n.state === B.FAIL
99
+ ), d = f(
100
+ () => n.critical && n.state === k.START || n.state === k.FAIL
134
101
  );
135
- return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: p, isInverseLoadingIndicator: l, isCritical: u, onClick: (r) => {
136
- r.stopPropagation(), n.state !== B.LOADING && e("click", r);
137
- }, BentoLoadingIndicator: ue, BentoButton: h, Cross: ce, Checkmark: de };
102
+ return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: a, conditionalClasses: p, isInverseLoadingIndicator: u, isCritical: d, onClick: (r) => {
103
+ r.stopPropagation(), n.state !== k.LOADING && e("click", r);
104
+ }, BentoLoadingIndicator: re, BentoButton: b, Cross: le, Checkmark: ue };
138
105
  }
139
106
  });
140
- var Te = function() {
107
+ var Ee = function() {
141
108
  var e = this, n = e._self._c, t = e._self._setupProxy;
142
109
  return n(t.BentoButton, { staticClass: "b-loading-button", class: t.conditionalClasses, attrs: { critical: t.isCritical, variant: e.variant, condensed: e.condensed, disabled: e.disabled, inverse: e.inverse }, on: { "!click": function(s) {
143
110
  return s.stopPropagation(), t.onClick.apply(null, arguments);
@@ -146,30 +113,30 @@ var Te = function() {
146
113
  }, proxy: !0 } : e.state !== "start" ? { key: "iconLeft", fn: function() {
147
114
  return [n("span", { staticClass: "b-loading-button__icon", attrs: { "data-testid": "loading-button-rotating-icon" } }, [e.state === "fail" ? n(t.Cross, { attrs: { "svg-title": t.t("failed") } }) : e.state === "success" ? n(t.Checkmark, { attrs: { "svg-title": t.t("succeded") } }) : e.state === "loading" ? n(t.BentoLoadingIndicator, { attrs: { small: "", inverse: t.isInverseLoadingIndicator } }) : e._e()], 1)];
148
115
  }, proxy: !0 } : null], null, !0) }, [e._t("default")], 2);
149
- }, Me = [], we = /* @__PURE__ */ C(
116
+ }, Le = [], Me = /* @__PURE__ */ g(
117
+ xe,
118
+ Ee,
150
119
  Le,
151
- Te,
152
- Me,
153
120
  !1,
154
121
  null,
155
122
  "bc74b2f7"
156
123
  );
157
- const Re = we.exports, Ae = {}, Ne = /* @__PURE__ */ g({
158
- ...Ae,
124
+ const Te = Me.exports, we = {}, Re = /* @__PURE__ */ h({
125
+ ...we,
159
126
  __name: "toggle-button",
160
127
  props: {
161
128
  /**
162
129
  * Reduces sizing of button
163
130
  */
164
131
  condensed: {
165
- type: h.props.condensed.type,
132
+ type: b.props.condensed.type,
166
133
  default: !1
167
134
  },
168
135
  /**
169
136
  * Disables button functonality
170
137
  */
171
138
  disabled: {
172
- type: h.props.disabled.type,
139
+ type: b.props.disabled.type,
173
140
  default: !1
174
141
  },
175
142
  /**
@@ -184,9 +151,9 @@ const Re = we.exports, Ae = {}, Ne = /* @__PURE__ */ g({
184
151
  * @values primary, secondary, tertiary
185
152
  */
186
153
  variant: {
187
- type: h.props.variant.type,
154
+ type: b.props.variant.type,
188
155
  default: "primary",
189
- validator: h.props.variant.validator
156
+ validator: b.props.variant.validator
190
157
  },
191
158
  /**
192
159
  * The state of the button whether it is toggled or not.
@@ -198,38 +165,38 @@ const Re = we.exports, Ae = {}, Ne = /* @__PURE__ */ g({
198
165
  },
199
166
  emits: ["click", "update:toggled"],
200
167
  setup(o, { emit: e }) {
201
- const n = o, t = m(
168
+ const n = o, t = f(
202
169
  () => n.variant === "tertiary" ? "tertiary-with-background" : n.variant
203
- ), s = m(() => ({
204
- "b-toggle-button--condensed": n == null ? void 0 : n.condensed,
170
+ ), s = f(() => ({
171
+ "b-toggle-button--condensed": n?.condensed,
205
172
  [`b-toggle-button--${t.value}-toggled`]: n.toggled,
206
173
  "b-toggle-button--inverse": n.inverse
207
- })), i = (u) => {
208
- u.stopPropagation(), n != null && n.disabled || (e("click", u), e("update:toggled", !n.toggled));
209
- }, p = T();
210
- return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: i, slots: p, getSlotKeyIfVue3: (u) => ({}), BentoButton: h };
174
+ })), a = (d) => {
175
+ d.stopPropagation(), n?.disabled || (e("click", d), e("update:toggled", !n.toggled));
176
+ }, p = L();
177
+ return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: a, slots: p, getSlotKeyIfVue3: (d) => ({}), BentoButton: b };
211
178
  }
212
179
  });
213
- var Pe = function() {
180
+ var Ae = function() {
214
181
  var e = this, n = e._self._c, t = e._self._setupProxy;
215
182
  return n(t.BentoButton, e._b({ staticClass: "b-toggle-button", class: t.conditionalClasses, attrs: { "aria-expanded": `${e.toggled}`, "aria-pressed": `${e.toggled}`, condensed: e.condensed, disabled: e.disabled, inverse: e.inverse, variant: t.computedVariant }, on: { "!click": function(s) {
216
183
  return s.stopPropagation(), t.onClick.apply(null, arguments);
217
- } }, scopedSlots: e._u([e._l(t.slots, function(s, i) {
218
- return { key: i, fn: function() {
219
- return [e._t(i, null, null, t.getSlotKeyIfVue3(i))];
184
+ } }, scopedSlots: e._u([e._l(t.slots, function(s, a) {
185
+ return { key: a, fn: function() {
186
+ return [e._t(a, null, null, t.getSlotKeyIfVue3(a))];
220
187
  }, proxy: !0 };
221
188
  })], null, !0) }, "bento-button", e.$attrs, !1));
222
- }, De = [], Fe = /* @__PURE__ */ C(
189
+ }, Ne = [], Pe = /* @__PURE__ */ g(
190
+ Re,
191
+ Ae,
223
192
  Ne,
224
- Pe,
225
- De,
226
193
  !1,
227
194
  null,
228
195
  "0bc368c9"
229
196
  );
230
- const $e = Fe.exports, Ue = g({
197
+ const De = Pe.exports, Fe = h({
231
198
  name: "bento-popover-dismiss-button",
232
- components: { BentoButton: h, CrossIcon: pe },
199
+ components: { BentoButton: b, CrossIcon: de },
233
200
  props: {
234
201
  onImage: {
235
202
  type: Boolean,
@@ -239,27 +206,27 @@ const $e = Fe.exports, Ue = g({
239
206
  setup(o) {
240
207
  return {
241
208
  // Values
242
- conditionalClass: m(() => ({ "b-popover-dismiss-button--on-image": o.onImage }))
209
+ conditionalClass: f(() => ({ "b-popover-dismiss-button--on-image": o.onImage }))
243
210
  };
244
211
  }
245
212
  });
246
- var Ve = function() {
213
+ var $e = function() {
247
214
  var e = this, n = e._self._c;
248
215
  return e._self._setupProxy, n("bento-button", { class: e.conditionalClass, attrs: { variant: "tertiary" }, on: { click: function(t) {
249
216
  return e.$emit("click");
250
217
  } }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
251
218
  return [n("cross-icon", { attrs: { "svg-title": "dismiss" } })];
252
219
  }, proxy: !0 }]) });
253
- }, We = [], Ke = /* @__PURE__ */ C(
254
- Ue,
255
- Ve,
220
+ }, We = [], Ue = /* @__PURE__ */ g(
221
+ Fe,
222
+ $e,
256
223
  We,
257
224
  !1,
258
225
  null,
259
226
  "4c18828f"
260
227
  );
261
- const je = Ke.exports, Ge = g({
262
- components: { BentoTypography: X },
228
+ const Ve = Ue.exports, Ke = h({
229
+ components: { BentoTypography: H },
263
230
  props: {
264
231
  /**
265
232
  * Indicates if the popover contains an image.
@@ -271,8 +238,8 @@ const je = Ke.exports, Ge = g({
271
238
  title: { type: String, default: null }
272
239
  },
273
240
  setup(o) {
274
- const e = m(() => !o.isImageTitle), n = m(
275
- () => o.isImageTitle ? $.SUBTITLE : $.BODY
241
+ const e = f(() => !o.isImageTitle), n = f(
242
+ () => o.isImageTitle ? D.SUBTITLE : D.BODY
276
243
  );
277
244
  return {
278
245
  // Values
@@ -281,26 +248,26 @@ const je = Ke.exports, Ge = g({
281
248
  };
282
249
  }
283
250
  });
284
- var Ye = function() {
251
+ var je = function() {
285
252
  var e = this, n = e._self._c;
286
253
  return e._self._setupProxy, n("bento-typography", { attrs: { strongest: e.isStrongest, variant: e.titleVariant, el: "span" } }, [e._v(" " + e._s(e.title) + " ")]);
287
- }, Je = [], He = /* @__PURE__ */ C(
254
+ }, Ge = [], Ye = /* @__PURE__ */ g(
255
+ Ke,
256
+ je,
288
257
  Ge,
289
- Ye,
290
- Je,
291
258
  !1,
292
259
  null,
293
260
  null
294
261
  );
295
- const ze = He.exports, Xe = (o, e, n = {}) => {
262
+ const Je = Ye.exports, He = (o, e, n = {}) => {
296
263
  let t;
297
264
  M(() => {
298
- t = he(o, e, n);
299
- }), j(() => {
265
+ t = ye(o, e, n);
266
+ }), V(() => {
300
267
  t && (t(), t = null);
301
268
  });
302
- }, qe = /* @__PURE__ */ Symbol("input field popover injection key"), Ze = /* @__PURE__ */ Symbol("input field popover injection key"), Qe = /* @__PURE__ */ Symbol("popover offset injection key"), et = {}, tt = /* @__PURE__ */ g({
303
- ...et,
269
+ }, ze = /* @__PURE__ */ Symbol("input field popover injection key"), Xe = /* @__PURE__ */ Symbol("input field popover injection key"), qe = /* @__PURE__ */ Symbol("popover offset injection key"), Ze = {}, Qe = /* @__PURE__ */ h({
270
+ ...Ze,
304
271
  __name: "popover",
305
272
  props: {
306
273
  actions: { default: void 0 },
@@ -326,44 +293,41 @@ const ze = He.exports, Xe = (o, e, n = {}) => {
326
293
  },
327
294
  emits: ["dismiss", "placement"],
328
295
  setup(o, { emit: e }) {
329
- const n = o, t = 2, s = T(), i = ie(), p = m(() => {
330
- var O;
331
- return {
332
- id: (O = i.id) == null ? void 0 : O.toString(),
333
- role: (i == null ? void 0 : i.role) === null ? void 0 : _e.POPOVER
334
- };
335
- }), l = k(Qe, t), u = f(i["aria-label"]), { ariaLabel: a, title: r } = re(n), c = be({
336
- ariaLabel: u.value,
296
+ const n = o, t = 2, s = L(), a = oe(), p = f(() => ({
297
+ id: a.id?.toString(),
298
+ role: a?.role === null ? void 0 : pe.POPOVER
299
+ })), u = C(qe, t), d = c(a["aria-label"]), { ariaLabel: i, title: r } = ae(n), l = ve({
300
+ ariaLabel: d.value,
337
301
  // TODO: take this line away when the aria-label props is removed
338
- label: a,
302
+ label: i,
339
303
  defaultFallback: r
340
- }), d = k(Ze, !1) || k(qe, !1), _ = m(() => ({
304
+ }), v = C(Xe, !1) || C(ze, !1), _ = f(() => ({
341
305
  "b-popover--small": n.small && !n.large,
342
306
  "b-popover--with-divider": !!n.divider,
343
307
  "b-popover--large": n.large && !n.small,
344
308
  "b-popover--fit-content": n.fitContent,
345
309
  "b-popover--without-space": n.withoutSpace,
346
- "b-popover--overflow-visible": n.overflowVisible || d
347
- })), y = m(() => ({
310
+ "b-popover--overflow-visible": n.overflowVisible || v
311
+ })), y = f(() => ({
348
312
  "b-popover__content--with-title": !!n.title
349
- })), I = () => e("dismiss"), E = D(s);
350
- return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: p, offset: l, ariaLabelAttribute: u, ariaLabel: a, title: r, computedAriaLabel: c, isOverflowVisible: d, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: I, hasSlot: E, BentoPopoverDismissButton: je, BentoPopoverTitle: ze, BentoButtonActions: Qt, PopperContainer: ve };
313
+ })), B = () => e("dismiss"), E = P(s);
314
+ return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: a, computedAttributes: p, offset: u, ariaLabelAttribute: d, ariaLabel: i, title: r, computedAriaLabel: l, isOverflowVisible: v, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: B, hasSlot: E, BentoPopoverDismissButton: Ve, BentoPopoverTitle: Je, BentoButtonActions: qt, PopperContainer: me };
351
315
  }
352
316
  });
353
- var nt = function() {
317
+ var et = function() {
354
318
  var e = this, n = e._self._c, t = e._self._setupProxy;
355
319
  return n("Transition", { attrs: { name: "b-popover__animation" } }, [e.open ? n(t.PopperContainer, { staticClass: "b-popover", class: t.conditionalClasses, attrs: { id: t.computedAttributes.id, "aria-role": t.computedAttributes.role, "aria-label": t.computedAriaLabel, arrow: { classes: ["b-popover__arrow"] }, "disabled-focus-trap": e.disableFocusTrap, "trap-all": e.trapAll, "trap-all-options": e.trapAllOptions, "fallback-position": e.fallbackPosition, "fixed-positioning": e.fixedPositioning, offset: [0, t.offset], position: e.position, "target-element": e.targetElement }, on: { placement: function(s) {
356
320
  return e.$emit("placement", s);
357
321
  } } }, [t.hasSlot("image") ? n("div", { staticClass: "b-popover__image" }, [e.dismissible ? n("div", { staticClass: "b-popover__image-dismiss-button" }, [n(t.BentoPopoverDismissButton, { attrs: { "on-image": "" }, on: { click: t.dismissPopover } })], 1) : e._e(), e._t("image")], 2) : e._e(), t.title ? n("div", { staticClass: "b-popover__header" }, [n("div", { staticClass: "b-popover__header-title" }, [t.hasSlot("headerIcon") ? e._t("headerIcon") : e._e(), n(t.BentoPopoverTitle, { attrs: { title: t.title, "is-image-title": !!t.hasSlot("image") } })], 2), e.dismissible && !t.hasSlot("image") ? n("div", [n(t.BentoPopoverDismissButton, { on: { click: t.dismissPopover } })], 1) : e._e()]) : e._e(), t.hasSlot("default") ? n("div", { staticClass: "b-popover__content", class: t.contentConditionalClasses }, [e._t("default")], 2) : e._e(), e.actions ? n("div", { staticClass: "b-popover__footer" }, [n(t.BentoButtonActions, { attrs: { actions: e.actions, layout: e.actionsLayout } })], 1) : e._e()]) : e._e()], 1);
358
- }, st = [], ot = /* @__PURE__ */ C(
322
+ }, tt = [], nt = /* @__PURE__ */ g(
323
+ Qe,
324
+ et,
359
325
  tt,
360
- nt,
361
- st,
362
326
  !1,
363
327
  null,
364
328
  "2de66a7e"
365
329
  );
366
- const at = ot.exports, q = /* @__PURE__ */ Symbol("modal injection key"), Z = /* @__PURE__ */ Symbol("sidepanel children element injection key"), Q = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), Bn = /* @__PURE__ */ Symbol("modal fullscreen title id injection key"), On = /* @__PURE__ */ Symbol("modal fullscreen close injection key"), it = g({
330
+ const st = nt.exports, z = /* @__PURE__ */ Symbol("modal injection key"), X = /* @__PURE__ */ Symbol("sidepanel children element injection key"), q = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), kn = /* @__PURE__ */ Symbol("modal fullscreen title id injection key"), In = /* @__PURE__ */ Symbol("modal fullscreen close injection key"), ot = h({
367
331
  name: "teleport",
368
332
  props: {
369
333
  to: {
@@ -382,7 +346,7 @@ const at = ot.exports, q = /* @__PURE__ */ Symbol("modal injection key"), Z = /*
382
346
  waiting: !1,
383
347
  observer: null,
384
348
  parent: null,
385
- isVue2: H
349
+ isVue2: Y
386
350
  }),
387
351
  computed: {
388
352
  classes() {
@@ -401,7 +365,7 @@ const at = ot.exports, q = /* @__PURE__ */ Symbol("modal injection key"), Z = /*
401
365
  defaultTo() {
402
366
  if (this.to)
403
367
  return this.to;
404
- const o = k(q, "") || k(Q, "") || k(Z, "");
368
+ const o = C(z, "") || C(q, "") || C(X, "");
405
369
  return o ? `#${o}` : "body";
406
370
  }
407
371
  },
@@ -444,7 +408,7 @@ const at = ot.exports, q = /* @__PURE__ */ Symbol("modal injection key"), Z = /*
444
408
  let e = !1;
445
409
  for (let n = 0; n < o.length; n++) {
446
410
  const t = o[n], s = Array.from(t.addedNodes).filter(
447
- (i) => !this.nodes.includes(i)
411
+ (a) => !this.nodes.includes(a)
448
412
  );
449
413
  Array.from(t.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && s.length > 0 && (e = !0);
450
414
  }
@@ -472,48 +436,48 @@ const at = ot.exports, q = /* @__PURE__ */ Symbol("modal injection key"), Z = /*
472
436
  return this.$vnode.componentOptions.children.map((o) => o.elm).filter((o) => o);
473
437
  }
474
438
  }
475
- }), rt = /* @__PURE__ */ g({
476
- ...it,
439
+ }), at = /* @__PURE__ */ h({
440
+ ...ot,
477
441
  setup(o) {
478
- const e = k(q, ""), n = k(Q, ""), t = k(Z, ""), s = m(() => {
479
- const i = e || n || t;
480
- return i ? `#${i}` : "body";
442
+ const e = C(z, ""), n = C(q, ""), t = C(X, ""), s = f(() => {
443
+ const a = e || n || t;
444
+ return a ? `#${a}` : "body";
481
445
  });
482
- return { __sfc: !0, injectedModalKey: e, injectedModalFullscreenKey: n, injectedSidepanelKey: t, teleportTarget: s, isVue2: H };
446
+ return { __sfc: !0, injectedModalKey: e, injectedModalFullscreenKey: n, injectedSidepanelKey: t, teleportTarget: s, isVue2: Y };
483
447
  }
484
448
  });
485
- var lt = function() {
449
+ var it = function() {
486
450
  var e = this, n = e._self._c, t = e._self._setupProxy;
487
451
  return t.isVue2 ? n("div", { class: e.classes }, [e._t("default")], 2) : n("Teleport", { attrs: { to: e.to || t.teleportTarget, disabled: e.disabled } }, [e._t("default")], 2);
488
- }, ut = [], ct = /* @__PURE__ */ C(
452
+ }, rt = [], lt = /* @__PURE__ */ g(
453
+ at,
454
+ it,
489
455
  rt,
490
- lt,
491
- ut,
492
456
  !1,
493
457
  null,
494
458
  "4755b0e0"
495
459
  );
496
- const dt = ct.exports;
460
+ const ut = lt.exports;
497
461
  let W = 0;
498
- const ft = {
462
+ const ct = {
499
463
  beforeCreate() {
500
464
  this.uuid = W.toString(), W += 1;
501
465
  }
502
466
  };
503
- var pt = function() {
467
+ var dt = function() {
504
468
  var e = this, n = e._self._c;
505
469
  return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#001222", d: "M8 4C8.29667 4 8.58668 3.91203 8.83335 3.74721C9.08003 3.58238 9.27229 3.34811 9.38582 3.07403C9.49935 2.79994 9.52906 2.49834 9.47118 2.20737C9.4133 1.91639 9.27044 1.64912 9.06066 1.43934C8.85088 1.22956 8.58361 1.0867 8.29264 1.02882C8.00167 0.970945 7.70006 1.00065 7.42598 1.11418C7.15189 1.22771 6.91762 1.41997 6.7528 1.66665C6.58797 1.91332 6.5 2.20333 6.5 2.5C6.5 2.89783 6.65803 3.27936 6.93934 3.56066C7.22064 3.84197 7.60218 4 8 4Z" } }), n("path", { attrs: { fill: "#001222", d: "M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00167 11.9709 7.70006 12.0007 7.42598 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65803 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z" } }), n("path", { attrs: { fill: "#001222", d: "M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65803 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42598 6.61418C7.70006 6.50065 8.00167 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z" } })]);
506
- }, mt = [], _t = /* @__PURE__ */ C(
470
+ }, ft = [], pt = /* @__PURE__ */ g(
471
+ ct,
472
+ dt,
507
473
  ft,
508
- pt,
509
- mt,
510
474
  !1,
511
475
  null,
512
476
  null
513
477
  );
514
- const vt = _t.exports, yt = g({
478
+ const mt = pt.exports, _t = h({
515
479
  name: "menu-item",
516
- components: { BaseButton: Ie, BentoTypography: X, ChevronRightIcon: ke },
480
+ components: { BaseButton: Ce, BentoTypography: H, ChevronRightIcon: ge },
517
481
  props: {
518
482
  /**
519
483
  * menu-item text that gets displayed as the main label
@@ -581,24 +545,24 @@ const vt = _t.exports, yt = g({
581
545
  default: !1
582
546
  }
583
547
  },
584
- emits: [V.CLICK],
548
+ emits: [$.CLICK],
585
549
  setup(o, { emit: e }) {
586
- const t = m(() => ({
550
+ const t = f(() => ({
587
551
  "b-menu-item--critical": o.critical,
588
552
  "b-menu-item--indent": o.indent
589
- })), s = m(() => Be(o.secondaryText, 10));
553
+ })), s = f(() => ke(o.secondaryText, 10));
590
554
  return {
591
555
  // Values
592
556
  conditionalClasses: t,
593
557
  computedSecondaryText: s,
594
558
  // Methods
595
559
  onClick: (p) => {
596
- p.stopPropagation(), o.handler(), e(V.CLICK);
560
+ p.stopPropagation(), o.handler(), e($.CLICK);
597
561
  }
598
562
  };
599
563
  }
600
564
  });
601
- var bt = function() {
565
+ var vt = function() {
602
566
  var e = this, n = e._self._c;
603
567
  return e._self._setupProxy, n("base-button", { staticClass: "b-menu-item", class: e.conditionalClasses, attrs: { role: "menuitem", disabled: e.disabled, tabindex: "-1" }, on: { click: e.onClick }, scopedSlots: e._u([e.icon ? { key: "iconLeft", fn: function() {
604
568
  return [n(e.icon, { tag: "component", staticClass: "b-menu-item__icon-left", attrs: { "aria-hidden": "true" } })];
@@ -607,92 +571,59 @@ var bt = function() {
607
571
  }, proxy: !0 }, e.chevron ? { key: "iconRight", fn: function() {
608
572
  return [n("chevron-right-icon", { attrs: { "aria-hidden": "true" } })];
609
573
  }, proxy: !0 } : null], null, !0) });
610
- }, ht = [], gt = /* @__PURE__ */ C(
574
+ }, yt = [], bt = /* @__PURE__ */ g(
575
+ _t,
576
+ vt,
611
577
  yt,
612
- bt,
613
- ht,
614
578
  !1,
615
579
  null,
616
580
  "a173cbf5"
617
581
  );
618
- const ee = gt.exports;
619
- ({ ...ye });
620
- var S = /* @__PURE__ */ ((o) => (o.BACK = "back", o.CLOSE = "close", o.OPEN = "open", o))(S || {});
621
- const Ct = /* @__PURE__ */ Symbol("menu registering injection key"), kt = {
582
+ const Z = bt.exports;
583
+ ({ ..._e });
584
+ var I = /* @__PURE__ */ ((o) => (o.BACK = "back", o.CLOSE = "close", o.OPEN = "open", o))(I || {});
585
+ const ht = /* @__PURE__ */ Symbol("menu registering injection key"), gt = {
622
586
  name: "bento-menu-list-container"
623
- }, It = /* @__PURE__ */ g({
624
- ...kt,
587
+ }, Ct = /* @__PURE__ */ h({
588
+ ...gt,
625
589
  setup(o) {
626
- const e = f(), n = f({}), t = k(Ct, !1);
590
+ const e = c(), n = c({}), t = C(ht, !1);
627
591
  if (t) {
628
592
  const { registerMenuContainerElement: s } = t;
629
593
  s(e), n.value = {
630
- mouseleave: t == null ? void 0 : t.menuMouseLeave
594
+ mouseleave: t?.menuMouseLeave
631
595
  };
632
596
  }
633
597
  return { __sfc: !0, menuListContainerRef: e, menuListContainerEvents: n, registeringAndMousingOut: t };
634
598
  }
635
599
  });
636
- var Bt = function() {
600
+ var kt = function() {
637
601
  var e = this, n = e._self._c, t = e._self._setupProxy;
638
602
  return n("div", e._g({ ref: "menuListContainerRef", staticClass: "b-menu-list-container", attrs: { "data-testid": "menu-list-container" } }, t.menuListContainerEvents), [e._t("default")], 2);
639
- }, Ot = [], St = /* @__PURE__ */ C(
603
+ }, It = [], Bt = /* @__PURE__ */ g(
604
+ Ct,
605
+ kt,
640
606
  It,
641
- Bt,
642
- Ot,
643
607
  !1,
644
608
  null,
645
609
  "1669d56a"
646
610
  );
647
- const te = St.exports, ne = {
648
- "de-DE": {
649
- backButton: "Zurück",
650
- menuButton: "Menü öffnen"
651
- },
652
- "en-GB": {
653
- backButton: "Go back",
654
- menuButton: "Open menu"
655
- },
656
- "en-US": {
657
- backButton: "Go back",
658
- menuButton: "Open menu"
659
- },
660
- "es-419": {
661
- backButton: "Volver",
662
- menuButton: "Abrir menú"
663
- },
664
- "es-ES": {
665
- backButton: "Volver atrás",
666
- menuButton: "Abrir menú"
667
- },
668
- "es-MX": {
669
- backButton: "Volver",
670
- menuButton: "Abrir menú"
671
- },
672
- "fr-FR": {
673
- backButton: "Retour",
674
- menuButton: "Ouvrir le menu"
675
- },
676
- "it-IT": {
677
- backButton: "Torna indietro",
678
- menuButton: "Apri menu"
679
- },
680
- "ja-JP": {
681
- backButton: "戻る",
682
- menuButton: "メニューを開く"
683
- },
684
- "pt-BR": {
685
- backButton: "Voltar",
686
- menuButton: "Abrir menu"
687
- },
688
- "zh-CN": {
689
- backButton: "返回",
690
- menuButton: "打开菜单"
691
- }
692
- }, xt = g({
693
- i18n: { messages: ne },
611
+ const Q = Bt.exports, ee = {
612
+ "de-DE": { backButton: "Zurück", menuButton: "Menü öffnen" },
613
+ "en-GB": { backButton: "Go back", menuButton: "Open menu" },
614
+ "en-US": { backButton: "Go back", menuButton: "Open menu" },
615
+ "es-419": { backButton: "Volver", menuButton: "Abrir menú" },
616
+ "es-ES": { backButton: "Volver atrás", menuButton: "Abrir menú" },
617
+ "es-MX": { backButton: "Volver", menuButton: "Abrir menú" },
618
+ "fr-FR": { backButton: "Retour", menuButton: "Ouvrir le menu" },
619
+ "it-IT": { backButton: "Torna indietro", menuButton: "Apri menu" },
620
+ "ja-JP": { backButton: "戻る", menuButton: "メニューを開く" },
621
+ "pt-BR": { backButton: "Voltar", menuButton: "Abrir menu" },
622
+ "zh-CN": { backButton: "返回", menuButton: "打开菜单" }
623
+ }, Ot = h({
624
+ i18n: { messages: ee },
694
625
  name: "sub-menu-item-list",
695
- components: { BentoDivider: z, MenuItem: ee, MenuListContainer: te },
626
+ components: { BentoDivider: J, MenuItem: Z, MenuListContainer: Q },
696
627
  props: {
697
628
  items: {
698
629
  type: Array,
@@ -703,22 +634,21 @@ const te = St.exports, ne = {
703
634
  required: !0
704
635
  }
705
636
  },
706
- emits: [S.CLOSE, S.BACK],
637
+ emits: [I.CLOSE, I.BACK],
707
638
  setup(o, { emit: e }) {
708
- const n = f(null), t = f(0), s = f(o.items.length), i = () => e(S.CLOSE), p = () => e(S.BACK), l = m(() => {
709
- var d;
710
- const c = (d = o.items) == null ? void 0 : d.map((_) => ({
711
- ..._,
712
- indent: !_.icon,
639
+ const n = c(null), t = c(0), s = c(o.items.length), a = () => e(I.CLOSE), p = () => e(I.BACK), u = f(() => {
640
+ const l = o.items?.map((v) => ({
641
+ ...v,
642
+ indent: !v.icon,
713
643
  isTitle: !1,
714
- clickHandler: i
644
+ clickHandler: a
715
645
  }));
716
646
  return [
717
647
  {
718
648
  text: o.title,
719
649
  secondaryText: null,
720
650
  critical: !1,
721
- icon: U,
651
+ icon: F,
722
652
  isTitle: !0,
723
653
  disabled: !1,
724
654
  indent: !1,
@@ -726,37 +656,36 @@ const te = St.exports, ne = {
726
656
  clickHandler: p,
727
657
  addDivider: !0
728
658
  },
729
- ...c
659
+ ...l
730
660
  ];
731
- }), u = async () => {
732
- var c, d, _, y, I;
733
- (I = (y = (_ = (d = (c = n.value) == null ? void 0 : c.children) == null ? void 0 : d[t.value]) == null ? void 0 : _.children) == null ? void 0 : y[0]) == null || I.focus();
661
+ }), d = async () => {
662
+ n.value?.children?.[t.value]?.children?.[0]?.focus();
734
663
  };
735
664
  M(async () => {
736
- setTimeout(() => u(), 150);
665
+ setTimeout(() => d(), 150);
737
666
  });
738
- const a = () => {
739
- t.value > 0 ? (t.value -= 1, l.value[t.value].disabled && a()) : t.value = s.value, u();
667
+ const i = () => {
668
+ t.value > 0 ? (t.value -= 1, u.value[t.value].disabled && i()) : t.value = s.value, d();
740
669
  }, r = () => {
741
- t.value < s.value ? (t.value += 1, l.value[t.value].disabled && r()) : t.value = 0, u();
670
+ t.value < s.value ? (t.value += 1, u.value[t.value].disabled && r()) : t.value = 0, d();
742
671
  };
743
672
  return {
744
673
  // Enums
745
- BentoMenuEvent: S,
674
+ BentoMenuEvent: I,
746
675
  // Values
747
676
  subMenuItemListRefLocal: n,
748
677
  subMenuFocusedIndex: t,
749
- ChevronLeftIcon: U,
750
- computedItems: l,
678
+ ChevronLeftIcon: F,
679
+ computedItems: u,
751
680
  // Methods
752
- closeMenu: i,
681
+ closeMenu: a,
753
682
  onBackButton: p,
754
- focusPrevious: a,
683
+ focusPrevious: i,
755
684
  focusNext: r
756
685
  };
757
686
  }
758
687
  });
759
- var Et = function() {
688
+ var St = function() {
760
689
  var e = this, n = e._self._c;
761
690
  return e._self._setupProxy, n("transition", { attrs: { name: "b-sub-menu-item-list__transition", appear: "" } }, [n("menu-list-container", { staticClass: "b-sub-menu-item-list" }, [n("ul", { ref: "subMenuItemListRefLocal", staticClass: "b-sub-menu-item-list__list", attrs: { role: "menu" }, on: { keydown: [function(t) {
762
691
  return !t.type.indexOf("key") && e._k(t.keyCode, "down", 40, t.key, ["Down", "ArrowDown"]) ? null : (t.stopPropagation(), e.focusNext.apply(null, arguments));
@@ -767,49 +696,48 @@ var Et = function() {
767
696
  }] } }, e._l(e.computedItems, function(t, s) {
768
697
  return n("li", { key: `sub-menu-item-list-item-${s}`, attrs: { role: "none" } }, [n("menu-item", { attrs: { text: t.text, handler: t.handler, "secondary-text": t.secondaryText, icon: t.icon, "is-title": t.isTitle, disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1" }, on: { click: t.clickHandler } }), t.addDivider ? n("bento-divider", { staticClass: "b-sub-menu-item-list__divider" }) : e._e()], 1);
769
698
  }), 0)])], 1);
770
- }, Lt = [], Tt = /* @__PURE__ */ C(
699
+ }, xt = [], Et = /* @__PURE__ */ g(
700
+ Ot,
701
+ St,
771
702
  xt,
772
- Et,
773
- Lt,
774
703
  !1,
775
704
  null,
776
705
  "93387117"
777
706
  );
778
- const Mt = Tt.exports, se = 350, oe = 150;
779
- function ae(o) {
780
- return Math.max(oe, Math.min(o, se));
707
+ const Lt = Et.exports, te = 350, ne = 150;
708
+ function se(o) {
709
+ return Math.max(ne, Math.min(o, te));
781
710
  }
782
- function wt(o, e, n, t) {
783
- const s = f(0), i = f(0), p = (a) => {
784
- if (!a || !a.parentElement)
711
+ function Mt(o, e, n, t) {
712
+ const s = c(0), a = c(0), p = (i) => {
713
+ if (!i || !i.parentElement)
785
714
  return;
786
- const r = a.parentElement, c = a.cloneNode(!0);
787
- c.style.position = "absolute", c.style.visibility = "hidden", r.appendChild(c), c.style.width = "max-content";
788
- const d = c.offsetWidth, _ = Math.max(oe, Math.min(d, se));
789
- s.value = _, c.style.width = `${_}px`;
790
- const y = c.offsetHeight;
791
- i.value = y, r.removeChild(c), i.value = y;
715
+ const r = i.parentElement, l = i.cloneNode(!0);
716
+ l.style.position = "absolute", l.style.visibility = "hidden", r.appendChild(l), l.style.width = "max-content";
717
+ const v = l.offsetWidth, _ = Math.max(ne, Math.min(v, te));
718
+ s.value = _, l.style.width = `${_}px`;
719
+ const y = l.offsetHeight;
720
+ a.value = y, r.removeChild(l), a.value = y;
792
721
  };
793
- G([e, n], async ([a]) => {
794
- var r, c;
795
- if (a !== null) {
796
- await P();
797
- const d = (c = (r = o.value) == null ? void 0 : r[0]) == null ? void 0 : c.$el;
798
- d && p(d);
722
+ K([e, n], async ([i]) => {
723
+ if (i !== null) {
724
+ await N();
725
+ const r = o.value?.[0]?.$el;
726
+ r && p(r);
799
727
  } else
800
- s.value = 0, i.value = 0;
728
+ s.value = 0, a.value = 0;
801
729
  });
802
- const l = m(() => t != null && t.value ? ae(t.value) : 0);
803
- return { computedStyle: m(() => {
804
- const a = {
805
- width: l.value > 0 ? `${l.value}px` : "max-content"
730
+ const u = f(() => t?.value ? se(t.value) : 0);
731
+ return { computedStyle: f(() => {
732
+ const i = {
733
+ width: u.value > 0 ? `${u.value}px` : "max-content"
806
734
  };
807
- return n.value && (i.value > 0 && (a.height = `${i.value}px`), s.value > 0 && (a.width = `${s.value}px`)), a;
735
+ return n.value && (a.value > 0 && (i.height = `${a.value}px`), s.value > 0 && (i.width = `${s.value}px`)), i;
808
736
  }) };
809
737
  }
810
- const Rt = g({
738
+ const Tt = h({
811
739
  name: "menu-item-list",
812
- components: { BentoDivider: z, MenuItem: ee, MenuListContainer: te, SubMenuItemList: Mt },
740
+ components: { BentoDivider: J, MenuItem: Z, MenuListContainer: Q, SubMenuItemList: Lt },
813
741
  props: {
814
742
  /**
815
743
  * The data to be displayed in the list
@@ -847,68 +775,66 @@ const Rt = g({
847
775
  default: null
848
776
  }
849
777
  },
850
- emits: [S.CLOSE, "menu-item-click"],
778
+ emits: [I.CLOSE, "menu-item-click"],
851
779
  setup(o, { emit: e, expose: n }) {
852
- const t = f(null), s = f(null), i = f(null), p = f(null), l = f(!1), u = f(null), a = f(o.focusLastElement ? o.data.length - 1 : 0), r = f(0), c = f(o.data.length - 1), d = m(() => o.data.some((b) => b.icon)), _ = m(() => o.indentItems || d.value ? o.data.map((b) => {
853
- let v = !1;
854
- return b.icon || (v = !0), {
855
- ...b,
856
- indent: v
780
+ const t = c(null), s = c(null), a = c(null), p = c(null), u = c(!1), d = c(null), i = c(o.focusLastElement ? o.data.length - 1 : 0), r = c(0), l = c(o.data.length - 1), v = f(() => o.data.some((m) => m.icon)), _ = f(() => o.indentItems || v.value ? o.data.map((m) => {
781
+ let x = !1;
782
+ return m.icon || (x = !0), {
783
+ ...m,
784
+ indent: x
857
785
  };
858
786
  }) : o.data), y = async () => {
859
- var b, v, x;
860
- (x = (v = (b = s.value) == null ? void 0 : b.children[a.value]) == null ? void 0 : v.children[0]) == null || x.focus();
861
- }, I = () => e(S.CLOSE), E = (b, v) => {
862
- if (b.items) {
863
- u.value = v, l.value = !0;
787
+ s.value?.children[i.value]?.children[0]?.focus();
788
+ }, B = () => e(I.CLOSE), E = (m, x) => {
789
+ if (m.items) {
790
+ d.value = x, u.value = !0;
864
791
  return;
865
792
  }
866
- u.value = v, l.value = !1, !b.skipClose && o.closeMenuOnItemSelect !== !1 && I(), e("menu-item-click");
793
+ d.value = x, u.value = !1, !m.skipClose && o.closeMenuOnItemSelect !== !1 && B(), e("menu-item-click");
867
794
  }, O = () => {
868
- a.value > 0 ? (a.value -= 1, _.value[a.value].disabled && O()) : a.value = c.value, y();
869
- }, L = () => {
870
- a.value < c.value ? (a.value += 1, _.value[a.value].disabled && L()) : a.value = 0, y();
871
- }, w = (b, v) => {
872
- var x;
873
- (x = b == null ? void 0 : b.items) != null && x.length && (u.value = v, l.value = !0);
795
+ i.value > 0 ? (i.value -= 1, _.value[i.value].disabled && O()) : i.value = l.value, y();
796
+ }, S = () => {
797
+ i.value < l.value ? (i.value += 1, _.value[i.value].disabled && S()) : i.value = 0, y();
798
+ }, T = (m, x) => {
799
+ m?.items?.length && (d.value = x, u.value = !0);
800
+ }, w = () => {
801
+ d.value && u.value && (d.value = null, u.value = !1);
874
802
  }, R = () => {
875
- u.value && l.value && (u.value = null, l.value = !1);
876
- }, A = () => {
877
- l.value = !1, u.value = null, y();
803
+ u.value = !1, d.value = null, y();
878
804
  };
879
805
  n({
880
806
  focusItem: y
881
807
  });
882
- const { computedStyle: N } = wt(
808
+ const { computedStyle: A } = Mt(
883
809
  p,
810
+ d,
884
811
  u,
885
- l,
886
- Y(o, "popoverWidth")
812
+ j(o, "popoverWidth")
887
813
  );
888
814
  return {
889
815
  // Values
890
816
  menuItemListRef: s,
891
- menuItemListWrapperRef: i,
817
+ menuItemListWrapperRef: a,
892
818
  subMenuItemListRef: p,
893
819
  menuItemRef: t,
894
820
  computedData: _,
895
- computedStyle: N,
896
- focusedIndex: a,
821
+ computedStyle: A,
822
+ focusedIndex: i,
897
823
  subMenuFocusedIndex: r,
898
- showSubMenu: l,
899
- visibleSubMenuIndex: u,
824
+ showSubMenu: u,
825
+ visibleSubMenuIndex: d,
900
826
  // Methods
901
827
  menuItemClick: E,
902
- closeMenu: I,
828
+ closeMenu: B,
903
829
  focusPrevious: O,
904
- focusNext: L,
905
- focusRight: w,
906
- focusLeft: R,
907
- onBackButton: A
830
+ focusNext: S,
831
+ focusRight: T,
832
+ focusLeft: w,
833
+ onBackButton: R
908
834
  };
909
835
  }
910
836
  });
911
- var At = function() {
837
+ var wt = function() {
912
838
  var e = this, n = e._self._c;
913
839
  return e._self._setupProxy, n("menu-list-container", { ref: "menuItemListWrapperRef", style: e.computedStyle }, [n("ul", { ref: "menuItemListRef", staticClass: "b-menu-item-list", attrs: { role: "menu" }, on: { keydown: [function(t) {
914
840
  return !t.type.indexOf("key") && e._k(t.keyCode, "down", 40, t.key, ["Down", "ArrowDown"]) ? null : e.focusNext.apply(null, arguments);
@@ -919,28 +845,27 @@ var At = function() {
919
845
  }, function(t) {
920
846
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.closeMenu.apply(null, arguments);
921
847
  }] } }, e._l(e.computedData, function(t, s) {
922
- var i, p, l, u;
923
848
  return n("li", { key: `menu-item-${s}`, ref: "menuItemRef", refInFor: !0, staticClass: "b-menu-item-list__item", attrs: { role: "none" }, on: { keydown: [function(a) {
924
849
  return !a.type.indexOf("key") && e._k(a.keyCode, "right", 39, a.key, ["Right", "ArrowRight"]) || "button" in a && a.button !== 2 ? null : e.focusRight(t, s);
925
850
  }, function(a) {
926
851
  return !a.type.indexOf("key") && e._k(a.keyCode, "left", 37, a.key, ["Left", "ArrowLeft"]) || "button" in a && a.button !== 0 ? null : e.focusLeft();
927
- }] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((p = t.items) != null && p.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((l = t.items) != null && l.length), "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
852
+ }] } }, [n("menu-item", { attrs: { text: t.text, handler: t.items?.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!t.items?.length, disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!t.items?.length, "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
928
853
  return e.menuItemClick(t, s);
929
- } } }), t.addDivider ? n("bento-divider", { staticClass: "b-menu-item-list__divider" }) : e._e(), (u = t.items) != null && u.length && e.showSubMenu && e.visibleSubMenuIndex === s ? n("sub-menu-item-list", { ref: "subMenuItemListRef", refInFor: !0, attrs: { items: t.items, title: t.text }, on: { back: e.onBackButton, close: e.closeMenu } }) : e._e()], 1);
854
+ } } }), t.addDivider ? n("bento-divider", { staticClass: "b-menu-item-list__divider" }) : e._e(), t.items?.length && e.showSubMenu && e.visibleSubMenuIndex === s ? n("sub-menu-item-list", { ref: "subMenuItemListRef", refInFor: !0, attrs: { items: t.items, title: t.text }, on: { back: e.onBackButton, close: e.closeMenu } }) : e._e()], 1);
930
855
  }), 0)]);
931
- }, Nt = [], Pt = /* @__PURE__ */ C(
856
+ }, Rt = [], At = /* @__PURE__ */ g(
857
+ Tt,
858
+ wt,
932
859
  Rt,
933
- At,
934
- Nt,
935
860
  !1,
936
861
  null,
937
862
  "273aba04"
938
863
  );
939
- const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection key"), $t = {
940
- i18n: { messages: ne },
864
+ const Nt = At.exports, Pt = /* @__PURE__ */ Symbol("menu inverse style injection key"), Dt = {
865
+ i18n: { messages: ee },
941
866
  name: "bento-menu"
942
- }, Ut = /* @__PURE__ */ g({
943
- ...$t,
867
+ }, Ft = /* @__PURE__ */ h({
868
+ ...Dt,
944
869
  props: {
945
870
  button: { default: () => ({
946
871
  variant: "secondary"
@@ -957,55 +882,53 @@ const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection
957
882
  },
958
883
  emits: ["menu-item-click", "click-outside"],
959
884
  setup(o, { expose: e, emit: n }) {
960
- var b;
961
- const t = o, s = T(), i = D(s), { t: p } = J(), l = f(null), u = f(null), a = f(!1), r = f(!1), c = f(null), d = ge("menu"), _ = k(Ft, f(!1));
962
- le(fe, _);
963
- const y = m(() => ({
885
+ const t = o, s = L(), a = P(s), { t: p } = G(), u = c(null), d = c(null), i = c(!1), r = c(!1), l = c(null), v = be("menu"), _ = C(Pt, c(!1));
886
+ ie(ce, _);
887
+ const y = f(() => ({
964
888
  "b-menu--inverse": _.value
965
- })), I = m(
966
- () => t.menuWidth ? { width: `${ae(t.menuWidth)}px` } : null
967
- ), E = m(() => {
968
- if (t != null && t.button)
889
+ })), B = f(
890
+ () => t.menuWidth ? { width: `${se(t.menuWidth)}px` } : null
891
+ ), E = f(() => {
892
+ if (t?.button)
969
893
  return {
970
894
  variant: "secondary",
971
895
  ...t.button
972
896
  };
973
897
  }), O = () => {
974
- a.value = !0, n(S.OPEN);
975
- }, L = async (v = t.revertFocusToButton) => {
976
- var x, F;
977
- a.value && (a.value = !1, v && (await P(), (F = (x = l.value) == null ? void 0 : x.$el) == null || F.focus()), n(S.CLOSE));
978
- }, w = (v) => {
979
- v.stopPropagation(), a.value ? L() : O();
980
- }, R = (v) => {
981
- v.preventDefault(), r.value = !1, t.disableArrowDownOpeningMenu || O();
982
- }, A = (v) => {
983
- v.preventDefault(), r.value = !0, O();
984
- }, N = () => {
898
+ i.value = !0, n(I.OPEN);
899
+ }, S = async (m = t.revertFocusToButton) => {
900
+ i.value && (i.value = !1, m && (await N(), u.value?.$el?.focus()), n(I.CLOSE));
901
+ }, T = (m) => {
902
+ m.stopPropagation(), i.value ? S() : O();
903
+ }, w = (m) => {
904
+ m.preventDefault(), r.value = !1, t.disableArrowDownOpeningMenu || O();
905
+ }, R = (m) => {
906
+ m.preventDefault(), r.value = !0, O();
907
+ }, A = () => {
985
908
  n("menu-item-click");
986
909
  };
987
- return Xe(
988
- c,
910
+ return He(
911
+ l,
989
912
  () => {
990
- L(), n("click-outside");
913
+ S(), n("click-outside");
991
914
  },
992
915
  {
993
916
  ...t.closeOnClickOutsideOptions,
994
- ignore: [l, ...((b = t.closeOnClickOutsideOptions) == null ? void 0 : b.ignore) ?? []]
917
+ ignore: [u, ...t.closeOnClickOutsideOptions?.ignore ?? []]
995
918
  }
996
919
  ), e({
997
920
  /**
998
921
  * Control to enable programmatic closing of the menu
999
922
  */
1000
- closeMenu: L
923
+ closeMenu: S
1001
924
  }), M(() => {
1002
- i("iconRight") && me(
925
+ a("iconRight") && fe(
1003
926
  '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
1004
927
  );
1005
- }), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: p, menuButtonRef: l, menuItemListRef: u, showMenu: a, isLastElementFocused: r, popoverRef: c, menuId: d, isInverseColorSet: _, computedClasses: y, computedMenuWidth: I, computedButtonPropsWithDefaults: E, openMenu: O, closeMenu: L, toggleShowMenu: w, onKeyDown: R, onKeyUp: A, menuItemClick: N, BentoToggleButton: $e, BentoPopover: at, BentoTeleport: dt, ChevronDownIcon: Ce, OptionsVerticalIcon: vt, MenuItemList: Dt };
928
+ }), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: a, t: p, menuButtonRef: u, menuItemListRef: d, showMenu: i, isLastElementFocused: r, popoverRef: l, menuId: v, isInverseColorSet: _, computedClasses: y, computedMenuWidth: B, computedButtonPropsWithDefaults: E, openMenu: O, closeMenu: S, toggleShowMenu: T, onKeyDown: w, onKeyUp: R, menuItemClick: A, BentoToggleButton: De, BentoPopover: st, BentoTeleport: ut, ChevronDownIcon: he, OptionsVerticalIcon: mt, MenuItemList: Nt };
1006
929
  }
1007
930
  });
1008
- var Vt = function() {
931
+ var $t = function() {
1009
932
  var e = this, n = e._self._c, t = e._self._setupProxy;
1010
933
  return n("div", { staticClass: "b-menu", class: t.computedClasses, attrs: { "data-testid": "menu" }, on: { keydown: [function(s) {
1011
934
  return !s.type.indexOf("key") && e._k(s.keyCode, "down", 40, s.key, ["Down", "ArrowDown"]) ? null : t.onKeyDown.apply(null, arguments);
@@ -1031,60 +954,57 @@ var Vt = function() {
1031
954
  "left-start",
1032
955
  "left-end"
1033
956
  ], teleport: e.teleport, "without-space": "" } }, [n(t.MenuItemList, { ref: "menuItemListRef", attrs: { "close-menu-on-item-select": e.closeMenuOnItemSelect, data: e.data, "focus-last-element": t.isLastElementFocused, "popover-width": e.menuWidth }, on: { close: t.closeMenu, "menu-item-click": t.menuItemClick } })], 1) : e._e()], 1) : e._e()], 1);
1034
- }, Wt = [], Kt = /* @__PURE__ */ C(
1035
- Ut,
1036
- Vt,
957
+ }, Wt = [], Ut = /* @__PURE__ */ g(
958
+ Ft,
959
+ $t,
1037
960
  Wt,
1038
961
  !1,
1039
962
  null,
1040
963
  "b2eabd1e"
1041
964
  );
1042
- const jt = Kt.exports, Gt = /* @__PURE__ */ Symbol(
965
+ const Vt = Ut.exports, Kt = /* @__PURE__ */ Symbol(
1043
966
  "button actions with menu container injection key"
1044
- ), Yt = 242, K = parseInt(Se, 10), Jt = (o, e, n) => {
1045
- const t = f(0);
967
+ ), jt = 242, U = parseInt(Be, 10), Gt = (o, e, n) => {
968
+ const t = c(0);
1046
969
  let s = null;
1047
- const { buttonActionsWithMenu: i, menu: p, stackButtons: l } = k(Gt, {
1048
- buttonActionsWithMenu: f(null),
1049
- menu: f(null),
1050
- stackButtons: f(!1)
1051
- }), u = m(() => i.value ?? o.value), a = m(() => p.value ? [...e.value, p.value.$el] : e.value), r = (c) => {
1052
- var y;
1053
- const d = (y = a.value) == null ? void 0 : y.reduce(
1054
- (I, E) => I + E.clientWidth + K,
1055
- -K - 1
1056
- ), _ = u.value.clientWidth;
1057
- return c && (t.value = _ >= Yt && !l.value ? d : 0), t.value > _;
970
+ const { buttonActionsWithMenu: a, menu: p, stackButtons: u } = C(Kt, {
971
+ buttonActionsWithMenu: c(null),
972
+ menu: c(null),
973
+ stackButtons: c(!1)
974
+ }), d = f(() => a.value ?? o.value), i = f(() => p.value ? [...e.value, p.value.$el] : e.value), r = (l) => {
975
+ const v = i.value?.reduce(
976
+ (y, B) => y + B.clientWidth + U,
977
+ -U - 1
978
+ // to remove the extra spacing, as if there's 3 buttons, only two will have a gap in between
979
+ ), _ = d.value.clientWidth;
980
+ return l && (t.value = _ >= jt && !u.value ? v : 0), t.value > _;
1058
981
  };
1059
- return G(
1060
- () => {
1061
- var c;
1062
- return (c = n.value) == null ? void 0 : c.map((d) => [
1063
- d.title,
1064
- d.state,
1065
- d.variant,
1066
- d.condensed,
1067
- d.iconOnly,
1068
- !!d.icon,
1069
- !!d.iconLeft,
1070
- !!d.iconRight,
1071
- !!d.data
1072
- ]);
1073
- },
982
+ return K(
983
+ () => n.value?.map((l) => [
984
+ l.title,
985
+ l.state,
986
+ l.variant,
987
+ l.condensed,
988
+ l.iconOnly,
989
+ !!l.icon,
990
+ !!l.iconLeft,
991
+ !!l.iconRight,
992
+ !!l.data
993
+ ]),
1074
994
  () => {
1075
- P(() => {
1076
- l.value = r(!0);
995
+ N(() => {
996
+ u.value = r(!0);
1077
997
  });
1078
998
  }
1079
999
  ), M(() => {
1080
- s = Oe(u.value, () => {
1081
- l.value = r(t.value === 0);
1000
+ s = Ie(d.value, () => {
1001
+ u.value = r(t.value === 0);
1082
1002
  });
1083
- }), j(() => {
1084
- s == null || s.disconnect();
1085
- }), l;
1086
- }, Ht = {}, zt = /* @__PURE__ */ g({
1087
- ...Ht,
1003
+ }), V(() => {
1004
+ s?.disconnect();
1005
+ }), u;
1006
+ }, Yt = {}, Jt = /* @__PURE__ */ h({
1007
+ ...Yt,
1088
1008
  __name: "button-actions",
1089
1009
  props: {
1090
1010
  actions: null,
@@ -1092,30 +1012,30 @@ const jt = Kt.exports, Gt = /* @__PURE__ */ Symbol(
1092
1012
  layout: { default: "buttons-end" }
1093
1013
  },
1094
1014
  setup(o) {
1095
- const e = o, n = f(null), t = f(null), s = Jt(n, t, Y(e, "actions")), i = m(() => e.actions.slice().reverse()), p = (r) => {
1096
- const c = e.actions.length - 1;
1097
- return r === c ? "primary" : "secondary";
1098
- }, l = m(() => ({
1015
+ const e = o, n = c(null), t = c(null), s = Gt(n, t, j(e, "actions")), a = f(() => e.actions.slice().reverse()), p = (r) => {
1016
+ const l = e.actions.length - 1;
1017
+ return r === l ? "primary" : "secondary";
1018
+ }, u = f(() => ({
1099
1019
  [`b-button-actions--${e.layout}`]: !0,
1100
1020
  "b-button-actions--stacked-buttons": s.value
1101
1021
  }));
1102
- return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: p, conditionalClasses: l, generateButtonEvents: (r) => (r == null ? void 0 : r.event) !== void 0 ? {
1022
+ return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: a, generateButtonVariantByIndex: p, conditionalClasses: u, generateButtonEvents: (r) => r?.event !== void 0 ? {
1103
1023
  click: r.event
1104
- } : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton: h, BentoLoadingButton: Re, BentoMenu: jt };
1024
+ } : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton: b, BentoLoadingButton: Te, BentoMenu: Vt };
1105
1025
  }
1106
1026
  });
1107
- var Xt = function() {
1027
+ var Ht = function() {
1108
1028
  var e = this, n = e._self._c, t = e._self._setupProxy;
1109
- return n("div", { ref: "buttonActions", staticClass: "b-button-actions" }, [n("div", { staticClass: "b-button-actions__container-wrapper", class: t.conditionalClasses, attrs: { role: "group" } }, e._l(t.reversedActionsList, function(s, i) {
1110
- return n("div", { key: i, ref: "buttons", refInFor: !0, staticClass: "b-button-actions__button-wrapper" }, [s.data ? [n(t.BentoMenu, { ref: s.elementRef, refInFor: !0, attrs: { data: s.data, "close-menu-on-item-select": s.closeMenuOnItemSelect, "close-on-click-outside-options": s.closeOnClickOutsideOptions, "disable-arrow-down-opening-menu": s.disableArrowDownOpeningMenu, "menu-position": s.menuPosition, "menu-fixed-positioning": s.menuFixedPositioning, "menu-width": s.menuWidth, "revert-focus-to-button": s.revertFocusToButton, teleport: s.teleport }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
1029
+ return n("div", { ref: "buttonActions", staticClass: "b-button-actions" }, [n("div", { staticClass: "b-button-actions__container-wrapper", class: t.conditionalClasses, attrs: { role: "group" } }, e._l(t.reversedActionsList, function(s, a) {
1030
+ return n("div", { key: a, ref: "buttons", refInFor: !0, staticClass: "b-button-actions__button-wrapper" }, [s.data ? [n(t.BentoMenu, { ref: s.elementRef, refInFor: !0, attrs: { data: s.data, "close-menu-on-item-select": s.closeMenuOnItemSelect, "close-on-click-outside-options": s.closeOnClickOutsideOptions, "disable-arrow-down-opening-menu": s.disableArrowDownOpeningMenu, "menu-position": s.menuPosition, "menu-fixed-positioning": s.menuFixedPositioning, "menu-width": s.menuWidth, "revert-focus-to-button": s.revertFocusToButton, teleport: s.teleport }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
1111
1031
  return [n(s.icon || s.iconLeft, { tag: "component", attrs: { "svg-title": s.title } })];
1112
1032
  }, proxy: !0 } : null, t.isIconOnly(s) ? null : { key: "default", fn: function() {
1113
1033
  return [e._v(" " + e._s(s.title) + " ")];
1114
- }, proxy: !0 }], null, !0) })] : [s.state ? n(t.BentoLoadingButton, e._g({ ref: s.elementRef, refInFor: !0, attrs: { condensed: s.condensed, critical: s.critical, disabled: s.disabled, inverse: e.inverse, state: s.state, variant: s.variant || t.generateButtonVariantByIndex(i) }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
1034
+ }, proxy: !0 }], null, !0) })] : [s.state ? n(t.BentoLoadingButton, e._g({ ref: s.elementRef, refInFor: !0, attrs: { condensed: s.condensed, critical: s.critical, disabled: s.disabled, inverse: e.inverse, state: s.state, variant: s.variant || t.generateButtonVariantByIndex(a) }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
1115
1035
  return [n(s.icon || s.iconLeft, { tag: "component", attrs: { "svg-title": s.title } })];
1116
1036
  }, proxy: !0 } : null, t.isIconOnly(s) ? null : { key: "default", fn: function() {
1117
1037
  return [e._v(" " + e._s(s.title) + " ")];
1118
- }, proxy: !0 }], null, !0) }, t.generateButtonEvents(s))) : n(t.BentoButton, e._g({ ref: s.elementRef, refInFor: !0, attrs: { condensed: s.condensed, critical: s.critical, disabled: s.disabled, inverse: e.inverse, link: s.link, variant: s.variant || t.generateButtonVariantByIndex(i) }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
1038
+ }, proxy: !0 }], null, !0) }, t.generateButtonEvents(s))) : n(t.BentoButton, e._g({ ref: s.elementRef, refInFor: !0, attrs: { condensed: s.condensed, critical: s.critical, disabled: s.disabled, inverse: e.inverse, link: s.link, variant: s.variant || t.generateButtonVariantByIndex(a) }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
1119
1039
  return [n(s.icon || s.iconLeft, { tag: "component", attrs: { "svg-title": s.title } })];
1120
1040
  }, proxy: !0 } : null, t.isIconOnly(s) ? null : { key: "default", fn: function() {
1121
1041
  return [e._v(" " + e._s(s.title) + " ")];
@@ -1123,36 +1043,36 @@ var Xt = function() {
1123
1043
  return [n(s.iconRight, { tag: "component", attrs: { "svg-title": s.title } })];
1124
1044
  }, proxy: !0 } : null], null, !0) }, t.generateButtonEvents(s)))]], 2);
1125
1045
  }), 0)]);
1126
- }, qt = [], Zt = /* @__PURE__ */ C(
1046
+ }, zt = [], Xt = /* @__PURE__ */ g(
1047
+ Jt,
1048
+ Ht,
1127
1049
  zt,
1128
- Xt,
1129
- qt,
1130
1050
  !1,
1131
1051
  null,
1132
1052
  "82f686dc"
1133
1053
  );
1134
- const Qt = Zt.exports;
1054
+ const qt = Xt.exports;
1135
1055
  export {
1136
- Qt as B,
1137
- Ct as D,
1138
- qe as I,
1139
- Ft as M,
1140
- vt as O,
1141
- Qe as P,
1142
- Z as S,
1143
- Re as a,
1144
- B as b,
1145
- $e as c,
1146
- Gt as d,
1147
- dt as e,
1148
- jt as f,
1149
- S as g,
1150
- at as h,
1151
- Bn as i,
1152
- On as j,
1153
- Q as k,
1154
- q as l,
1155
- Ze as m,
1156
- Xe as u
1056
+ qt as B,
1057
+ ht as D,
1058
+ ze as I,
1059
+ Pt as M,
1060
+ mt as O,
1061
+ qe as P,
1062
+ X as S,
1063
+ Te as a,
1064
+ k as b,
1065
+ De as c,
1066
+ Kt as d,
1067
+ ut as e,
1068
+ Vt as f,
1069
+ I as g,
1070
+ st as h,
1071
+ kn as i,
1072
+ In as j,
1073
+ q as k,
1074
+ z as l,
1075
+ Xe as m,
1076
+ He as u
1157
1077
  };
1158
- //# sourceMappingURL=button-actions.Dpbx0xf3.js.map
1078
+ //# sourceMappingURL=button-actions.CxX7lK7z.js.map