@adyen/bento-vue2 1.89.2 → 1.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +198 -80
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/card.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-range-picker.css +1 -1
  15. package/dist/assets/dialog-page.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/input-time.css +1 -0
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/secondary-nav.css +1 -1
  21. package/dist/assets/sidepanel.css +1 -1
  22. package/dist/button.js +3 -3
  23. package/dist/card.js +1 -1
  24. package/dist/checkbox.js +2 -2
  25. package/dist/chip.js +1 -1
  26. package/dist/chunks/accordion-item.D0WVCLec.js +145 -0
  27. package/dist/chunks/{accordion-item.BZDSJamR.js.map → accordion-item.D0WVCLec.js.map} +1 -1
  28. package/dist/chunks/action-bar.B63qIiiH.js +334 -0
  29. package/dist/chunks/{action-bar.CYGUYI0V.js.map → action-bar.B63qIiiH.js.map} +1 -1
  30. package/dist/chunks/{ai-button.CR_ePQRR.js → ai-button.7L9bANlk.js} +2 -2
  31. package/dist/chunks/{ai-button.CR_ePQRR.js.map → ai-button.7L9bANlk.js.map} +1 -1
  32. package/dist/chunks/ai-tag.CCJCOdXu.js +110 -0
  33. package/dist/chunks/{ai-tag.Cjf38mjR.js.map → ai-tag.CCJCOdXu.js.map} +1 -1
  34. package/dist/chunks/alert.CXRb-Smf.js +160 -0
  35. package/dist/chunks/{alert.QVQ6Zjbm.js.map → alert.CXRb-Smf.js.map} +1 -1
  36. package/dist/chunks/{anchor-scroller.CjJ26PJS.js → anchor-scroller.DWaykZQj.js} +66 -39
  37. package/dist/chunks/{anchor-scroller.CjJ26PJS.js.map → anchor-scroller.DWaykZQj.js.map} +1 -1
  38. package/dist/chunks/{base-modal.DmWkavtf.js → base-modal.DpmeDmq-.js} +103 -66
  39. package/dist/chunks/{base-modal.DmWkavtf.js.map → base-modal.DpmeDmq-.js.map} +1 -1
  40. package/dist/chunks/{button-actions-with-menu.Bi_HXopk.js → button-actions-with-menu.ChTUOsZl.js} +2 -2
  41. package/dist/chunks/{button-actions-with-menu.Bi_HXopk.js.map → button-actions-with-menu.ChTUOsZl.js.map} +1 -1
  42. package/dist/chunks/{button-actions.BLk114As.js → button-actions.BmU1DngD.js} +221 -147
  43. package/dist/chunks/{button-actions.BLk114As.js.map → button-actions.BmU1DngD.js.map} +1 -1
  44. package/dist/chunks/{button.DxhJNOtr.js → button.C9b2AC9w.js} +2 -2
  45. package/dist/chunks/{button.DxhJNOtr.js.map → button.C9b2AC9w.js.map} +1 -1
  46. package/dist/chunks/{calendar.CXKhBF2f.js → calendar.uvIGF_jU.js} +283 -209
  47. package/dist/chunks/{calendar.CXKhBF2f.js.map → calendar.uvIGF_jU.js.map} +1 -1
  48. package/dist/chunks/card.WWUfBkqf.js +165 -0
  49. package/dist/chunks/{card.GjhsXOT0.js.map → card.WWUfBkqf.js.map} +1 -1
  50. package/dist/chunks/{checkbox-group.B2BjU3ZN.js → checkbox-group.CI0xDnql.js} +4 -4
  51. package/dist/chunks/{checkbox-group.B2BjU3ZN.js.map → checkbox-group.CI0xDnql.js.map} +1 -1
  52. package/dist/chunks/{checkbox.CIv8WgGp.js → checkbox.TsWA6O3Z.js} +93 -56
  53. package/dist/chunks/{checkbox.CIv8WgGp.js.map → checkbox.TsWA6O3Z.js.map} +1 -1
  54. package/dist/chunks/chip.BFY_-VCz.js +84 -0
  55. package/dist/chunks/{chip.DTpENaGC.js.map → chip.BFY_-VCz.js.map} +1 -1
  56. package/dist/chunks/{code-snippet.YIm2oO_o.js → code-snippet.4DX9iUV8.js} +133 -76
  57. package/dist/chunks/{code-snippet.YIm2oO_o.js.map → code-snippet.4DX9iUV8.js.map} +1 -1
  58. package/dist/chunks/{controls-group.CqotnNEF.js → controls-group.D_KE99mg.js} +2 -2
  59. package/dist/chunks/{controls-group.CqotnNEF.js.map → controls-group.D_KE99mg.js.map} +1 -1
  60. package/dist/chunks/copy.qqGYFbKJ.js +133 -0
  61. package/dist/chunks/{copy.BVGQcf22.js.map → copy.qqGYFbKJ.js.map} +1 -1
  62. package/dist/chunks/{country.D20NCLLG.js → country.BEwW8TQo.js} +3 -3
  63. package/dist/chunks/{country.D20NCLLG.js.map → country.BEwW8TQo.js.map} +1 -1
  64. package/dist/chunks/country.types.jjXwaoMl.js +2537 -0
  65. package/dist/chunks/country.types.jjXwaoMl.js.map +1 -0
  66. package/dist/chunks/{dashboard-section.BubZyu8i.js → dashboard-section.TWlLdQHG.js} +3 -3
  67. package/dist/chunks/{dashboard-section.BubZyu8i.js.map → dashboard-section.TWlLdQHG.js.map} +1 -1
  68. package/dist/chunks/{dashed-underline.pjYTS0m1.js → dashed-underline.CpDuQ3Fo.js} +3 -3
  69. package/dist/chunks/{dashed-underline.pjYTS0m1.js.map → dashed-underline.CpDuQ3Fo.js.map} +1 -1
  70. package/dist/chunks/{data-grid-template.D8RhngPj.js → data-grid-template.DZaE-kOS.js} +4 -4
  71. package/dist/chunks/{data-grid-template.D8RhngPj.js.map → data-grid-template.DZaE-kOS.js.map} +1 -1
  72. package/dist/chunks/data-grid.x6cEW0az.js +4069 -0
  73. package/dist/chunks/data-grid.x6cEW0az.js.map +1 -0
  74. package/dist/chunks/date-picker.Dln8ocL4.js +222 -0
  75. package/dist/chunks/{date-picker.CnazYcSX.js.map → date-picker.Dln8ocL4.js.map} +1 -1
  76. package/dist/chunks/date-range-picker.DPGy2h-9.js +1068 -0
  77. package/dist/chunks/date-range-picker.DPGy2h-9.js.map +1 -0
  78. package/dist/chunks/dialog-page.EdejG53a.js +143 -0
  79. package/dist/chunks/{dialog-page.oyG153fC.js.map → dialog-page.EdejG53a.js.map} +1 -1
  80. package/dist/chunks/{dropdown-default-textbox.Dvzg0StF.js → dropdown-default-textbox.CjhLIxVq.js} +63 -36
  81. package/dist/chunks/{dropdown-default-textbox.Dvzg0StF.js.map → dropdown-default-textbox.CjhLIxVq.js.map} +1 -1
  82. package/dist/chunks/{dropdown-tag.BRB-emd1.js → dropdown-tag.t3FlJUSy.js} +5 -5
  83. package/dist/chunks/{dropdown-tag.BRB-emd1.js.map → dropdown-tag.t3FlJUSy.js.map} +1 -1
  84. package/dist/chunks/{dropdown.Ct7uhPr6.js → dropdown.CvNI2V33.js} +329 -235
  85. package/dist/chunks/{dropdown.Ct7uhPr6.js.map → dropdown.CvNI2V33.js.map} +1 -1
  86. package/dist/chunks/{empty-state.D_Ac-XXH.js → empty-state.DMV23IZy.js} +2 -2
  87. package/dist/chunks/{empty-state.D_Ac-XXH.js.map → empty-state.DMV23IZy.js.map} +1 -1
  88. package/dist/chunks/error-message.BUNKRa_w.js +160 -0
  89. package/dist/chunks/{error-message.RxdStT3S.js.map → error-message.BUNKRa_w.js.map} +1 -1
  90. package/dist/chunks/{file-uploader.D5Rjsx4k.js → file-uploader.Cig5gDXT.js} +749 -468
  91. package/dist/chunks/{file-uploader.D5Rjsx4k.js.map → file-uploader.Cig5gDXT.js.map} +1 -1
  92. package/dist/chunks/{filter-bar.zD_ctViU.js → filter-bar.x445KK3y.js} +1301 -761
  93. package/dist/chunks/{filter-bar.zD_ctViU.js.map → filter-bar.x445KK3y.js.map} +1 -1
  94. package/dist/chunks/fixed-scroller.DR2E_No4.js +148 -0
  95. package/dist/chunks/{fixed-scroller.MerESbd_.js.map → fixed-scroller.DR2E_No4.js.map} +1 -1
  96. package/dist/chunks/{footer-actions.CiPj7hZG.js → footer-actions.CIkul1OD.js} +3 -3
  97. package/dist/chunks/{footer-actions.CiPj7hZG.js.map → footer-actions.CIkul1OD.js.map} +1 -1
  98. package/dist/chunks/{form-layout-title.Bw7VgOO5.js → form-layout-title.DR5M7GP3.js} +77 -48
  99. package/dist/chunks/{form-layout-title.Bw7VgOO5.js.map → form-layout-title.DR5M7GP3.js.map} +1 -1
  100. package/dist/chunks/{header-meta.Dq6TlNPw.js → header-meta.BC5fdpD1.js} +127 -73
  101. package/dist/chunks/{header-meta.Dq6TlNPw.js.map → header-meta.BC5fdpD1.js.map} +1 -1
  102. package/dist/chunks/{header-with-views.DaEhkSS8.js → header-with-views.-cvdi9-L.js} +1120 -679
  103. package/dist/chunks/{header-with-views.DaEhkSS8.js.map → header-with-views.-cvdi9-L.js.map} +1 -1
  104. package/dist/chunks/{header.DkC-KKWa.js → header.DtmZjxiU.js} +3 -3
  105. package/dist/chunks/{header.DkC-KKWa.js.map → header.DtmZjxiU.js.map} +1 -1
  106. package/dist/chunks/{info-icon.BF8KxU-k.js → info-icon.DCR42Kvm.js} +2 -2
  107. package/dist/chunks/{info-icon.BF8KxU-k.js.map → info-icon.DCR42Kvm.js.map} +1 -1
  108. package/dist/chunks/input-field-password.Bdlw4dzr.js +381 -0
  109. package/dist/chunks/{input-field-password.BKT1mYUw.js.map → input-field-password.Bdlw4dzr.js.map} +1 -1
  110. package/dist/chunks/{input-field-phone-number.BjRKjQOQ.js → input-field-phone-number.DPuWxBBz.js} +98 -71
  111. package/dist/chunks/{input-field-phone-number.BjRKjQOQ.js.map → input-field-phone-number.DPuWxBBz.js.map} +1 -1
  112. package/dist/chunks/input-field.DH25CU_G.js +207 -0
  113. package/dist/chunks/{input-field.m1PMwa4C.js.map → input-field.DH25CU_G.js.map} +1 -1
  114. package/dist/chunks/input-time.6eJ4-QdU.js +92 -0
  115. package/dist/chunks/input-time.6eJ4-QdU.js.map +1 -0
  116. package/dist/chunks/inspector.BzBPlz-5.js +172 -0
  117. package/dist/chunks/{inspector.Bnm0hl_D.js.map → inspector.BzBPlz-5.js.map} +1 -1
  118. package/dist/chunks/{link.MhoM3zQj.js → link.DB5g6d48.js} +56 -29
  119. package/dist/chunks/{link.MhoM3zQj.js.map → link.DB5g6d48.js.map} +1 -1
  120. package/dist/chunks/{list-item.BnzU1LIu.js → list-item.DqTHh8-Z.js} +2 -2
  121. package/dist/chunks/{list-item.BnzU1LIu.js.map → list-item.DqTHh8-Z.js.map} +1 -1
  122. package/dist/chunks/{listbox-option-tag.BhPVuAjJ.js → listbox-option-tag.CvbE-EuG.js} +2 -2
  123. package/dist/chunks/{listbox-option-tag.BhPVuAjJ.js.map → listbox-option-tag.CvbE-EuG.js.map} +1 -1
  124. package/dist/chunks/{modal-fullscreen.CXOq6_Cv.js → modal-fullscreen.CaxuXW-H.js} +63 -36
  125. package/dist/chunks/{modal-fullscreen.CXOq6_Cv.js.map → modal-fullscreen.CaxuXW-H.js.map} +1 -1
  126. package/dist/chunks/{modal.o0KddMiG.js → modal.Brif0vAy.js} +63 -36
  127. package/dist/chunks/{modal.o0KddMiG.js.map → modal.Brif0vAy.js.map} +1 -1
  128. package/dist/chunks/{pagination.ZISqB4M_.js → pagination.BmrU_sn_.js} +221 -99
  129. package/dist/chunks/{pagination.ZISqB4M_.js.map → pagination.BmrU_sn_.js.map} +1 -1
  130. package/dist/chunks/promo-banner.Dc_kK1x9.js +91 -0
  131. package/dist/chunks/{promo-banner.Db2kh2qK.js.map → promo-banner.Dc_kK1x9.js.map} +1 -1
  132. package/dist/chunks/{radio-group.DnMy7brs.js → radio-group.5oS-AeYN.js} +4 -4
  133. package/dist/chunks/{radio-group.DnMy7brs.js.map → radio-group.5oS-AeYN.js.map} +1 -1
  134. package/dist/chunks/{rich-text-editor.Cbv1DxXn.js → rich-text-editor.DSGTe8Zt.js} +1781 -1731
  135. package/dist/chunks/{rich-text-editor.Cbv1DxXn.js.map → rich-text-editor.DSGTe8Zt.js.map} +1 -1
  136. package/dist/chunks/search-bar.CNfoeLLt.js +126 -0
  137. package/dist/chunks/{search-bar.DPjYDhja.js.map → search-bar.CNfoeLLt.js.map} +1 -1
  138. package/dist/chunks/secondary-nav.IF5CgeIP.js +226 -0
  139. package/dist/chunks/secondary-nav.IF5CgeIP.js.map +1 -0
  140. package/dist/chunks/{segmented-control.BqIiX9hv.js → segmented-control.DDtjX-V5.js} +2 -2
  141. package/dist/chunks/{segmented-control.BqIiX9hv.js.map → segmented-control.DDtjX-V5.js.map} +1 -1
  142. package/dist/chunks/{selection-card-group.IPiouuot.js → selection-card-group.DZjFeQKR.js} +10 -10
  143. package/dist/chunks/{selection-card-group.IPiouuot.js.map → selection-card-group.DZjFeQKR.js.map} +1 -1
  144. package/dist/chunks/{sidepanel.BGMjjB3F.js → sidepanel.DZDXuyzg.js} +66 -39
  145. package/dist/chunks/{sidepanel.BGMjjB3F.js.map → sidepanel.DZDXuyzg.js.map} +1 -1
  146. package/dist/chunks/{step.QFER3tSj.js → step.TDm_ts1S.js} +92 -63
  147. package/dist/chunks/{step.QFER3tSj.js.map → step.TDm_ts1S.js.map} +1 -1
  148. package/dist/chunks/{structured-list-item.BDJKRC_8.js → structured-list-item.BBBtie1s.js} +58 -31
  149. package/dist/chunks/{structured-list-item.BDJKRC_8.js.map → structured-list-item.BBBtie1s.js.map} +1 -1
  150. package/dist/chunks/{summary-grid.types.CIkArZf5.js → summary-grid.types.CrPNQbX0.js} +5 -5
  151. package/dist/chunks/{summary-grid.types.CIkArZf5.js.map → summary-grid.types.CrPNQbX0.js.map} +1 -1
  152. package/dist/chunks/{tab.CaXF0dho.js → tab.CNIZyfZt.js} +2 -2
  153. package/dist/chunks/{tab.CaXF0dho.js.map → tab.CNIZyfZt.js.map} +1 -1
  154. package/dist/chunks/{tag.CocLKztJ.js → tag.D2xagTJv.js} +2 -2
  155. package/dist/chunks/{tag.CocLKztJ.js.map → tag.D2xagTJv.js.map} +1 -1
  156. package/dist/chunks/textarea.Bi53QF5Q.js +218 -0
  157. package/dist/chunks/{textarea.D4X6Ss9q.js.map → textarea.Bi53QF5Q.js.map} +1 -1
  158. package/dist/chunks/timeline-item.C6Bi0eam.js +322 -0
  159. package/dist/chunks/{timeline-item.C8BxWdy1.js.map → timeline-item.C6Bi0eam.js.map} +1 -1
  160. package/dist/chunks/{toast.BRI3G7TL.js → toast.d8vg71CB.js} +81 -54
  161. package/dist/chunks/{toast.BRI3G7TL.js.map → toast.d8vg71CB.js.map} +1 -1
  162. package/dist/chunks/{tooltip.CbsNGnhw.js → tooltip.BxtnF3is.js} +38 -36
  163. package/dist/chunks/tooltip.BxtnF3is.js.map +1 -0
  164. package/dist/chunks/{tutorial.BzV6bHQJ.js → tutorial.BCiZMLJE.js} +190 -103
  165. package/dist/chunks/{tutorial.BzV6bHQJ.js.map → tutorial.BCiZMLJE.js.map} +1 -1
  166. package/dist/chunks/{use-cached-selected-values.DqX2qsMC.js → use-cached-selected-values.Bn3Y8Iuq.js} +490 -359
  167. package/dist/chunks/{use-cached-selected-values.DqX2qsMC.js.map → use-cached-selected-values.Bn3Y8Iuq.js.map} +1 -1
  168. package/dist/chunks/{use-country-items.CI8C7MLU.js → use-country-items.B4j8pAvW.js} +3 -3
  169. package/dist/chunks/{use-country-items.CI8C7MLU.js.map → use-country-items.B4j8pAvW.js.map} +1 -1
  170. package/dist/chunks/use-country-phon-code.ByqnuIni.js +6386 -0
  171. package/dist/chunks/use-country-phon-code.ByqnuIni.js.map +1 -0
  172. package/dist/chunks/{use-date-input-formatter.BYaTO3vz.js → use-date-input-formatter.DRMt9yR2.js} +2 -2
  173. package/dist/chunks/{use-date-input-formatter.BYaTO3vz.js.map → use-date-input-formatter.DRMt9yR2.js.map} +1 -1
  174. package/dist/code-snippet.js +1 -1
  175. package/dist/country.js +3 -3
  176. package/dist/dashboard-template.js +1 -1
  177. package/dist/dashed-underline.js +1 -1
  178. package/dist/data-grid-template.js +1 -1
  179. package/dist/data-grid.js +1 -1
  180. package/dist/date-picker.js +2 -2
  181. package/dist/date-range-picker.js +2 -2
  182. package/dist/draggable-handle.js +160 -73
  183. package/dist/draggable-handle.js.map +1 -1
  184. package/dist/dropdown.js +4 -4
  185. package/dist/empty-state.js +1 -1
  186. package/dist/file-uploader.js +1 -1
  187. package/dist/filter-bar.js +1 -1
  188. package/dist/form-layout.js +1 -1
  189. package/dist/header-with-views.js +1 -1
  190. package/dist/header.js +1 -1
  191. package/dist/index.js +215 -213
  192. package/dist/index.js.map +1 -1
  193. package/dist/info-icon.js +1 -1
  194. package/dist/input-field-password.js +1 -1
  195. package/dist/input-field-phone-number.js +1 -1
  196. package/dist/input-field.js +1 -1
  197. package/dist/input-time.js +5 -0
  198. package/dist/input-time.js.map +1 -0
  199. package/dist/inspector.js +1 -1
  200. package/dist/internal.js +12 -12
  201. package/dist/link.js +1 -1
  202. package/dist/list.js +1 -1
  203. package/dist/menu.js +1 -1
  204. package/dist/modal-fullscreen.js +1 -1
  205. package/dist/modal.js +2 -2
  206. package/dist/pagination.js +1 -1
  207. package/dist/popover.js +1 -1
  208. package/dist/promo-banner.js +1 -1
  209. package/dist/radio-group.js +1 -1
  210. package/dist/rich-text-editor.js +1 -1
  211. package/dist/search-bar.js +2 -2
  212. package/dist/secondary-nav.js +1 -1
  213. package/dist/segmented-control.js +1 -1
  214. package/dist/selection-card.js +1 -1
  215. package/dist/sidepanel.js +1 -1
  216. package/dist/stepper.js +1 -1
  217. package/dist/structured-list.js +1 -1
  218. package/dist/summary-grid.js +1 -1
  219. package/dist/tabs.js +1 -1
  220. package/dist/tag.js +1 -1
  221. package/dist/textarea.js +1 -1
  222. package/dist/timeline.js +1 -1
  223. package/dist/toast.js +1 -1
  224. package/dist/tutorial.js +1 -1
  225. package/dist/web-types.json +198 -1
  226. package/package.json +9 -9
  227. package/dist/chunks/accordion-item.BZDSJamR.js +0 -108
  228. package/dist/chunks/action-bar.CYGUYI0V.js +0 -207
  229. package/dist/chunks/ai-tag.Cjf38mjR.js +0 -73
  230. package/dist/chunks/alert.QVQ6Zjbm.js +0 -93
  231. package/dist/chunks/card.GjhsXOT0.js +0 -128
  232. package/dist/chunks/chip.DTpENaGC.js +0 -57
  233. package/dist/chunks/copy.BVGQcf22.js +0 -86
  234. package/dist/chunks/country.types.DxKjyd0S.js +0 -20
  235. package/dist/chunks/country.types.DxKjyd0S.js.map +0 -1
  236. package/dist/chunks/data-grid.DJG8Ty0A.js +0 -3194
  237. package/dist/chunks/data-grid.DJG8Ty0A.js.map +0 -1
  238. package/dist/chunks/date-picker.CnazYcSX.js +0 -155
  239. package/dist/chunks/date-range-picker.Bf9pRNL7.js +0 -811
  240. package/dist/chunks/date-range-picker.Bf9pRNL7.js.map +0 -1
  241. package/dist/chunks/dialog-page.oyG153fC.js +0 -116
  242. package/dist/chunks/error-message.RxdStT3S.js +0 -106
  243. package/dist/chunks/fixed-scroller.MerESbd_.js +0 -111
  244. package/dist/chunks/input-field-password.BKT1mYUw.js +0 -234
  245. package/dist/chunks/input-field.m1PMwa4C.js +0 -170
  246. package/dist/chunks/inspector.Bnm0hl_D.js +0 -105
  247. package/dist/chunks/promo-banner.Db2kh2qK.js +0 -64
  248. package/dist/chunks/search-bar.DPjYDhja.js +0 -89
  249. package/dist/chunks/secondary-nav.CwJjkJkj.js +0 -112
  250. package/dist/chunks/secondary-nav.CwJjkJkj.js.map +0 -1
  251. package/dist/chunks/textarea.D4X6Ss9q.js +0 -169
  252. package/dist/chunks/timeline-item.C8BxWdy1.js +0 -238
  253. package/dist/chunks/tooltip.CbsNGnhw.js.map +0 -1
  254. package/dist/chunks/use-country-phon-code.C6orQNnM.js +0 -291
  255. package/dist/chunks/use-country-phon-code.C6orQNnM.js.map +0 -1
@@ -1,17 +1,17 @@
1
- import { defineComponent as g, useSlots as w, computed as p, onMounted as T, onUnmounted as j, useAttrs as se, inject as S, ref as c, toRefs as oe, watch as Y, nextTick as P, toRef as G, provide as ae } from "vue";
2
- import { B as b } from "./button.DxhJNOtr.js";
1
+ import { defineComponent as g, useSlots as T, computed as p, onMounted as w, onUnmounted as j, useAttrs as se, inject as S, ref as c, toRefs as oe, watch as G, nextTick as P, toRef as Y, provide as ae } from "vue";
2
+ import { B as b } from "./button.C9b2AC9w.js";
3
3
  import { B as ie } from "./loading-indicator.PxbRzshH.js";
4
- import { C as le } from "./cross-circle-fill.DTDtgLMf.js";
5
- import { C as re } from "./checkmark-circle-fill.BttTCjrM.js";
4
+ import { C as re } from "./cross-circle-fill.DTDtgLMf.js";
5
+ import { C as le } from "./checkmark-circle-fill.BttTCjrM.js";
6
6
  import { u as D } from "./use-has-slot.C9lQZ6nz.js";
7
7
  import { u as J } from "./index.B6WW_F-J.js";
8
8
  import { n as C } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
9
  import { i as H } from "./index.Cl4_42j5.js";
10
- import { B as q, D as ue } from "./divider.DX5gwN7p.js";
10
+ import { B as z, D as ue } from "./divider.DX5gwN7p.js";
11
11
  import { C as ce } from "./cross.CC_B-vG-.js";
12
12
  import { B as X, c as $, p as de } from "./typography.C8lPlsbD.js";
13
- import { a as fe, P as pe, b as _e } from "./popper-container.C_n9Ds1W.js";
14
- import { u as me } from "./aria-label.CaUURpnB.js";
13
+ import { a as fe, P as pe, b as me } from "./popper-container.C_n9Ds1W.js";
14
+ import { u as _e } from "./aria-label.CaUURpnB.js";
15
15
  import { o as ve } from "./on-click-outside.BW4rkhzG.js";
16
16
  import { g as ye } from "./generate-uid.NJ8tVoha.js";
17
17
  import { C as he } from "./chevron-down.eYtgv5ly.js";
@@ -24,9 +24,46 @@ import { g as Ie } from "./es6.C1DXQV6f.js";
24
24
  import "../assets/button-actions.css";
25
25
  var I = /* @__PURE__ */ ((o) => (o.START = "start", o.LOADING = "loading", o.SUCCESS = "success", o.FAIL = "fail", o))(I || {});
26
26
  const Be = {
27
- "en-US": { failed: "Failed", succeded: "Succeded" },
28
- "ja-JP": { failed: "失敗しました", succeded: "成功" },
29
- "pt-BR": { failed: "Falha", succeded: "Bem-sucedido" }
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-ES": {
40
+ failed: "Error",
41
+ succeded: "Correcto"
42
+ },
43
+ "es-MX": {
44
+ failed: "Fallido",
45
+ succeded: "Correcto"
46
+ },
47
+ "fr-FR": {
48
+ failed: "Échec",
49
+ succeded: "Réussite"
50
+ },
51
+ "it-IT": {
52
+ failed: "Operazione non riuscita",
53
+ succeded: "Operazione riuscita"
54
+ },
55
+ "ja-JP": {
56
+ failed: "失敗",
57
+ succeded: "成功"
58
+ },
59
+ "pt-BR": {
60
+ failed: "Falhou",
61
+ succeded: "Bem-sucedido"
62
+ },
63
+ "zh-CN": {
64
+ failed: "失败",
65
+ succeded: "成功"
66
+ }
30
67
  }, Oe = {
31
68
  i18n: { messages: Be }
32
69
  }, Se = /* @__PURE__ */ g({
@@ -81,22 +118,22 @@ const Be = {
81
118
  },
82
119
  emits: ["click"],
83
120
  setup(o, { emit: e }) {
84
- const n = o, t = w(), s = D(t), { t: i } = J(), f = p(() => ({
121
+ const n = o, t = T(), s = D(t), { t: i } = J(), f = p(() => ({
85
122
  [`b-loading-button--${n.variant}-${I.LOADING}`]: n.state === I.LOADING && !n.disabled,
86
123
  "b-loading-button--loading": n.state === I.LOADING && !n.disabled,
87
124
  [`b-loading-button--${n.variant}-${I.SUCCESS}`]: n.state === I.SUCCESS,
88
125
  "b-loading-button--inverse": n.inverse
89
- })), r = p(
126
+ })), l = p(
90
127
  () => n.variant === "primary" && !n.inverse || n.variant !== "primary" && n.inverse
91
128
  ), u = p(
92
129
  () => n.critical && n.state === I.START || n.state === I.FAIL
93
130
  );
94
- return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: f, isInverseLoadingIndicator: r, isCritical: u, onClick: (l) => {
95
- l.stopPropagation(), n.state !== I.LOADING && e("click", l);
96
- }, BentoLoadingIndicator: ie, BentoButton: b, Cross: le, Checkmark: re };
131
+ return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: f, isInverseLoadingIndicator: l, isCritical: u, onClick: (r) => {
132
+ r.stopPropagation(), n.state !== I.LOADING && e("click", r);
133
+ }, BentoLoadingIndicator: ie, BentoButton: b, Cross: re, Checkmark: le };
97
134
  }
98
135
  });
99
- var xe = function() {
136
+ var Ee = function() {
100
137
  var e = this, n = e._self._c, t = e._self._setupProxy;
101
138
  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) {
102
139
  return s.stopPropagation(), t.onClick.apply(null, arguments);
@@ -105,16 +142,16 @@ var xe = function() {
105
142
  }, proxy: !0 } : e.state !== "start" ? { key: "iconLeft", fn: function() {
106
143
  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)];
107
144
  }, proxy: !0 } : null], null, !0) }, [e._t("default")], 2);
108
- }, Le = [], Ee = /* @__PURE__ */ C(
145
+ }, xe = [], Le = /* @__PURE__ */ C(
109
146
  Se,
147
+ Ee,
110
148
  xe,
111
- Le,
112
149
  !1,
113
150
  null,
114
151
  "bc74b2f7"
115
152
  );
116
- const we = Ee.exports, Te = {}, Me = /* @__PURE__ */ g({
117
- ...Te,
153
+ const Te = Le.exports, we = {}, Me = /* @__PURE__ */ g({
154
+ ...we,
118
155
  __name: "toggle-button",
119
156
  props: {
120
157
  /**
@@ -165,7 +202,7 @@ const we = Ee.exports, Te = {}, Me = /* @__PURE__ */ g({
165
202
  "b-toggle-button--inverse": n.inverse
166
203
  })), i = (u) => {
167
204
  u.stopPropagation(), n != null && n.disabled || (e("click", u), e("update:toggled", !n.toggled));
168
- }, f = w();
205
+ }, f = T();
169
206
  return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: i, slots: f, getSlotKeyIfVue3: (u) => ({}), BentoButton: b };
170
207
  }
171
208
  });
@@ -217,7 +254,7 @@ var Fe = function() {
217
254
  null,
218
255
  "4c18828f"
219
256
  );
220
- const We = Ue.exports, Ke = g({
257
+ const We = Ue.exports, Ve = g({
221
258
  components: { BentoTypography: X },
222
259
  props: {
223
260
  /**
@@ -240,26 +277,26 @@ const We = Ue.exports, Ke = g({
240
277
  };
241
278
  }
242
279
  });
243
- var Ve = function() {
280
+ var Ke = function() {
244
281
  var e = this, n = e._self._c;
245
282
  return e._self._setupProxy, n("bento-typography", { attrs: { strongest: e.isStrongest, variant: e.titleVariant, el: "span" } }, [e._v(" " + e._s(e.title) + " ")]);
246
- }, je = [], Ye = /* @__PURE__ */ C(
247
- Ke,
283
+ }, je = [], Ge = /* @__PURE__ */ C(
248
284
  Ve,
285
+ Ke,
249
286
  je,
250
287
  !1,
251
288
  null,
252
289
  null
253
290
  );
254
- const Ge = Ye.exports, Je = (o, e, n = {}) => {
291
+ const Ye = Ge.exports, Je = (o, e, n = {}) => {
255
292
  let t;
256
- T(() => {
293
+ w(() => {
257
294
  t = ve(o, e, n);
258
295
  }), j(() => {
259
296
  t && (t(), t = null);
260
297
  });
261
- }, He = /* @__PURE__ */ Symbol("input field popover injection key"), qe = /* @__PURE__ */ Symbol("input field popover injection key"), Xe = /* @__PURE__ */ Symbol("popover offset injection key"), ze = {}, Ze = /* @__PURE__ */ g({
262
- ...ze,
298
+ }, He = /* @__PURE__ */ Symbol("input field popover injection key"), ze = /* @__PURE__ */ Symbol("input field popover injection key"), Xe = /* @__PURE__ */ Symbol("popover offset injection key"), qe = {}, Ze = /* @__PURE__ */ g({
299
+ ...qe,
263
300
  __name: "popover",
264
301
  props: {
265
302
  actions: { default: void 0 },
@@ -285,28 +322,28 @@ const Ge = Ye.exports, Je = (o, e, n = {}) => {
285
322
  },
286
323
  emits: ["dismiss", "placement"],
287
324
  setup(o, { emit: e }) {
288
- const n = o, t = 2, s = w(), i = se(), f = p(() => {
325
+ const n = o, t = 2, s = T(), i = se(), f = p(() => {
289
326
  var B;
290
327
  return {
291
328
  id: (B = i.id) == null ? void 0 : B.toString(),
292
329
  role: (i == null ? void 0 : i.role) === null ? void 0 : fe.POPOVER
293
330
  };
294
- }), r = S(Xe, t), u = c(i["aria-label"]), { ariaLabel: a, title: l } = oe(n), d = me({
331
+ }), l = S(Xe, t), u = c(i["aria-label"]), { ariaLabel: a, title: r } = oe(n), d = _e({
295
332
  ariaLabel: u.value,
296
333
  // TODO: take this line away when the aria-label props is removed
297
334
  label: a,
298
- defaultFallback: l
299
- }), m = S(qe, !1) || S(He, !1), _ = p(() => ({
335
+ defaultFallback: r
336
+ }), _ = S(ze, !1) || S(He, !1), m = p(() => ({
300
337
  "b-popover--small": n.small && !n.large,
301
338
  "b-popover--with-divider": !!n.divider,
302
339
  "b-popover--large": n.large && !n.small,
303
340
  "b-popover--fit-content": n.fitContent,
304
341
  "b-popover--without-space": n.withoutSpace,
305
- "b-popover--overflow-visible": n.overflowVisible || m
342
+ "b-popover--overflow-visible": n.overflowVisible || _
306
343
  })), y = p(() => ({
307
344
  "b-popover__content--with-title": !!n.title
308
- })), k = () => e("dismiss"), L = D(s);
309
- return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: f, offset: r, ariaLabelAttribute: u, ariaLabel: a, title: l, computedAriaLabel: d, isOverflowVisible: m, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: k, hasSlot: L, BentoPopoverDismissButton: We, BentoPopoverTitle: Ge, BentoButtonActions: Qt, PopperContainer: pe };
345
+ })), k = () => e("dismiss"), x = D(s);
346
+ return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: f, offset: l, ariaLabelAttribute: u, ariaLabel: a, title: r, computedAriaLabel: d, isOverflowVisible: _, conditionalClasses: m, contentConditionalClasses: y, dismissPopover: k, hasSlot: x, BentoPopoverDismissButton: We, BentoPopoverTitle: Ye, BentoButtonActions: Qt, PopperContainer: pe };
310
347
  }
311
348
  });
312
349
  var Qe = function() {
@@ -421,42 +458,42 @@ const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot =
421
458
  return this.$vnode.componentOptions.children.map((o) => o.elm).filter((o) => o);
422
459
  }
423
460
  }
424
- }), lt = /* @__PURE__ */ g({
461
+ }), rt = /* @__PURE__ */ g({
425
462
  ...it,
426
463
  setup(o) {
427
464
  return { __sfc: !0, isVue2: H };
428
465
  }
429
466
  });
430
- var rt = function() {
467
+ var lt = function() {
431
468
  var e = this, n = e._self._c, t = e._self._setupProxy;
432
469
  return t.isVue2 ? n("div", { class: e.classes }, [e._t("default")], 2) : n("Teleport", { class: e.classes, attrs: { to: e.defaultTo, where: e.where, disabled: e.disabled } }, [e._t("default")], 2);
433
470
  }, ut = [], ct = /* @__PURE__ */ C(
434
- lt,
435
471
  rt,
472
+ lt,
436
473
  ut,
437
474
  !1,
438
475
  null,
439
476
  "fda08514"
440
477
  );
441
478
  const dt = ct.exports;
442
- let K = 0;
479
+ let V = 0;
443
480
  const ft = {
444
481
  beforeCreate() {
445
- this.uuid = K.toString(), K += 1;
482
+ this.uuid = V.toString(), V += 1;
446
483
  }
447
484
  };
448
485
  var pt = function() {
449
486
  var e = this, n = e._self._c;
450
487
  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" } })]);
451
- }, _t = [], mt = /* @__PURE__ */ C(
488
+ }, mt = [], _t = /* @__PURE__ */ C(
452
489
  ft,
453
490
  pt,
454
- _t,
491
+ mt,
455
492
  !1,
456
493
  null,
457
494
  null
458
495
  );
459
- const vt = mt.exports, yt = g({
496
+ const vt = _t.exports, yt = g({
460
497
  name: "menu-item",
461
498
  components: { BaseButton: ge, BentoTypography: X, ChevronRightIcon: be },
462
499
  props: {
@@ -560,8 +597,8 @@ var ht = function() {
560
597
  null,
561
598
  "a173cbf5"
562
599
  );
563
- const z = gt.exports;
564
- ({ ..._e });
600
+ const q = gt.exports;
601
+ ({ ...me });
565
602
  var O = /* @__PURE__ */ ((o) => (o.BACK = "back", o.CLOSE = "close", o.OPEN = "open", o))(O || {});
566
603
  const Ct = /* @__PURE__ */ Symbol("menu registering injection key"), kt = {
567
604
  name: "bento-menu-list-container"
@@ -590,13 +627,50 @@ var Bt = function() {
590
627
  "1669d56a"
591
628
  );
592
629
  const Z = St.exports, Q = {
593
- "en-US": { backButton: "Go back", menuButton: "Open menu" },
594
- "ja-JP": { backButton: "戻る", menuButton: "メニューを開く" },
595
- "pt-BR": { backButton: "voltar", menuButton: "Abrir menu" }
596
- }, xt = g({
630
+ "de-DE": {
631
+ backButton: "Zurück",
632
+ menuButton: "Menü öffnen"
633
+ },
634
+ "en-GB": {
635
+ backButton: "Go back",
636
+ menuButton: "Open menu"
637
+ },
638
+ "en-US": {
639
+ backButton: "Go back",
640
+ menuButton: "Open menu"
641
+ },
642
+ "es-ES": {
643
+ backButton: "Volver atrás",
644
+ menuButton: "Abrir menú"
645
+ },
646
+ "es-MX": {
647
+ backButton: "Volver",
648
+ menuButton: "Abrir menú"
649
+ },
650
+ "fr-FR": {
651
+ backButton: "Retour",
652
+ menuButton: "Ouvrir le menu"
653
+ },
654
+ "it-IT": {
655
+ backButton: "Torna indietro",
656
+ menuButton: "Apri menu"
657
+ },
658
+ "ja-JP": {
659
+ backButton: "戻る",
660
+ menuButton: "メニューを開く"
661
+ },
662
+ "pt-BR": {
663
+ backButton: "Voltar",
664
+ menuButton: "Abrir menu"
665
+ },
666
+ "zh-CN": {
667
+ backButton: "返回",
668
+ menuButton: "打开菜单"
669
+ }
670
+ }, Et = g({
597
671
  i18n: { messages: Q },
598
672
  name: "sub-menu-item-list",
599
- components: { BentoDivider: q, MenuItem: z, MenuListContainer: Z },
673
+ components: { BentoDivider: z, MenuItem: q, MenuListContainer: Z },
600
674
  props: {
601
675
  items: {
602
676
  type: Array,
@@ -609,11 +683,11 @@ const Z = St.exports, Q = {
609
683
  },
610
684
  emits: [O.CLOSE, O.BACK],
611
685
  setup(o, { emit: e }) {
612
- const n = c(null), t = c(0), s = c(o.items.length), i = () => e(O.CLOSE), f = () => e(O.BACK), r = p(() => {
613
- var m;
614
- const d = (m = o.items) == null ? void 0 : m.map((_) => ({
615
- ..._,
616
- indent: !_.icon,
686
+ const n = c(null), t = c(0), s = c(o.items.length), i = () => e(O.CLOSE), f = () => e(O.BACK), l = p(() => {
687
+ var _;
688
+ const d = (_ = o.items) == null ? void 0 : _.map((m) => ({
689
+ ...m,
690
+ indent: !m.icon,
617
691
  isTitle: !1,
618
692
  clickHandler: i
619
693
  }));
@@ -633,16 +707,16 @@ const Z = St.exports, Q = {
633
707
  ...d
634
708
  ];
635
709
  }), u = async () => {
636
- var d, m, _, y, k;
637
- (k = (y = (_ = (m = (d = n.value) == null ? void 0 : d.children) == null ? void 0 : m[t.value]) == null ? void 0 : _.children) == null ? void 0 : y[0]) == null || k.focus();
710
+ var d, _, m, y, k;
711
+ (k = (y = (m = (_ = (d = n.value) == null ? void 0 : d.children) == null ? void 0 : _[t.value]) == null ? void 0 : m.children) == null ? void 0 : y[0]) == null || k.focus();
638
712
  };
639
- T(async () => {
713
+ w(async () => {
640
714
  setTimeout(() => u(), 150);
641
715
  });
642
716
  const a = () => {
643
- t.value > 0 ? (t.value -= 1, r.value[t.value].disabled && a()) : t.value = s.value, u();
644
- }, l = () => {
645
- t.value < s.value ? (t.value += 1, r.value[t.value].disabled && l()) : t.value = 0, u();
717
+ t.value > 0 ? (t.value -= 1, l.value[t.value].disabled && a()) : t.value = s.value, u();
718
+ }, r = () => {
719
+ t.value < s.value ? (t.value += 1, l.value[t.value].disabled && r()) : t.value = 0, u();
646
720
  };
647
721
  return {
648
722
  // Enums
@@ -651,16 +725,16 @@ const Z = St.exports, Q = {
651
725
  subMenuItemListRefLocal: n,
652
726
  subMenuFocusedIndex: t,
653
727
  ChevronLeftIcon: U,
654
- computedItems: r,
728
+ computedItems: l,
655
729
  // Methods
656
730
  closeMenu: i,
657
731
  onBackButton: f,
658
732
  focusPrevious: a,
659
- focusNext: l
733
+ focusNext: r
660
734
  };
661
735
  }
662
736
  });
663
- var Lt = function() {
737
+ var xt = function() {
664
738
  var e = this, n = e._self._c;
665
739
  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) {
666
740
  return !t.type.indexOf("key") && e._k(t.keyCode, "down", 40, t.key, ["Down", "ArrowDown"]) ? null : (t.stopPropagation(), e.focusNext.apply(null, arguments));
@@ -671,15 +745,15 @@ var Lt = function() {
671
745
  }] } }, e._l(e.computedItems, function(t, s) {
672
746
  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);
673
747
  }), 0)])], 1);
674
- }, Et = [], wt = /* @__PURE__ */ C(
748
+ }, Lt = [], Tt = /* @__PURE__ */ C(
749
+ Et,
675
750
  xt,
676
751
  Lt,
677
- Et,
678
752
  !1,
679
753
  null,
680
754
  "93387117"
681
755
  );
682
- const Tt = wt.exports, ee = 350, te = 150;
756
+ const wt = Tt.exports, ee = 350, te = 150;
683
757
  function ne(o) {
684
758
  return Math.max(te, Math.min(o, ee));
685
759
  }
@@ -687,33 +761,33 @@ function Mt(o, e, n, t) {
687
761
  const s = c(0), i = c(0), f = (a) => {
688
762
  if (!a || !a.parentElement)
689
763
  return;
690
- const l = a.parentElement, d = a.cloneNode(!0);
691
- d.style.position = "absolute", d.style.visibility = "hidden", l.appendChild(d), d.style.width = "max-content";
692
- const m = d.offsetWidth, _ = Math.max(te, Math.min(m, ee));
693
- s.value = _, d.style.width = `${_}px`;
764
+ const r = a.parentElement, d = a.cloneNode(!0);
765
+ d.style.position = "absolute", d.style.visibility = "hidden", r.appendChild(d), d.style.width = "max-content";
766
+ const _ = d.offsetWidth, m = Math.max(te, Math.min(_, ee));
767
+ s.value = m, d.style.width = `${m}px`;
694
768
  const y = d.offsetHeight;
695
- i.value = y, l.removeChild(d), i.value = y;
769
+ i.value = y, r.removeChild(d), i.value = y;
696
770
  };
697
- Y([e, n], async ([a]) => {
698
- var l, d;
771
+ G([e, n], async ([a]) => {
772
+ var r, d;
699
773
  if (a !== null) {
700
774
  await P();
701
- const m = (d = (l = o.value) == null ? void 0 : l[0]) == null ? void 0 : d.$el;
702
- m && f(m);
775
+ const _ = (d = (r = o.value) == null ? void 0 : r[0]) == null ? void 0 : d.$el;
776
+ _ && f(_);
703
777
  } else
704
778
  s.value = 0, i.value = 0;
705
779
  });
706
- const r = p(() => t != null && t.value ? ne(t.value) : 0);
780
+ const l = p(() => t != null && t.value ? ne(t.value) : 0);
707
781
  return { computedStyle: p(() => {
708
782
  const a = {
709
- width: r.value > 0 ? `${r.value}px` : "max-content"
783
+ width: l.value > 0 ? `${l.value}px` : "max-content"
710
784
  };
711
785
  return n.value && (i.value > 0 && (a.height = `${i.value}px`), s.value > 0 && (a.width = `${s.value}px`)), a;
712
786
  }) };
713
787
  }
714
788
  const Rt = g({
715
789
  name: "menu-item-list",
716
- components: { BentoDivider: q, MenuItem: z, MenuListContainer: Z, SubMenuItemList: Tt },
790
+ components: { BentoDivider: z, MenuItem: q, MenuListContainer: Z, SubMenuItemList: wt },
717
791
  props: {
718
792
  /**
719
793
  * The data to be displayed in the list
@@ -753,32 +827,32 @@ const Rt = g({
753
827
  },
754
828
  emits: [O.CLOSE, "menu-item-click"],
755
829
  setup(o, { emit: e, expose: n }) {
756
- const t = c(null), s = c(null), i = c(null), f = c(null), r = c(!1), u = c(null), a = c(o.focusLastElement ? o.data.length - 1 : 0), l = c(0), d = c(o.data.length - 1), m = p(() => o.data.some((h) => h.icon)), _ = p(() => o.indentItems || m.value ? o.data.map((h) => {
830
+ const t = c(null), s = c(null), i = c(null), f = c(null), l = c(!1), u = c(null), a = c(o.focusLastElement ? o.data.length - 1 : 0), r = c(0), d = c(o.data.length - 1), _ = p(() => o.data.some((h) => h.icon)), m = p(() => o.indentItems || _.value ? o.data.map((h) => {
757
831
  let v = !1;
758
832
  return h.icon || (v = !0), {
759
833
  ...h,
760
834
  indent: v
761
835
  };
762
836
  }) : o.data), y = async () => {
763
- var h, v, x;
764
- (x = (v = (h = s.value) == null ? void 0 : h.children[a.value]) == null ? void 0 : v.children[0]) == null || x.focus();
765
- }, k = () => e(O.CLOSE), L = (h, v) => {
837
+ var h, v, E;
838
+ (E = (v = (h = s.value) == null ? void 0 : h.children[a.value]) == null ? void 0 : v.children[0]) == null || E.focus();
839
+ }, k = () => e(O.CLOSE), x = (h, v) => {
766
840
  if (h.items) {
767
- u.value = v, r.value = !0;
841
+ u.value = v, l.value = !0;
768
842
  return;
769
843
  }
770
- u.value = v, r.value = !1, !h.skipClose && o.closeMenuOnItemSelect !== !1 && k(), e("menu-item-click");
844
+ u.value = v, l.value = !1, !h.skipClose && o.closeMenuOnItemSelect !== !1 && k(), e("menu-item-click");
771
845
  }, B = () => {
772
- a.value > 0 ? (a.value -= 1, _.value[a.value].disabled && B()) : a.value = d.value, y();
773
- }, E = () => {
774
- a.value < d.value ? (a.value += 1, _.value[a.value].disabled && E()) : a.value = 0, y();
846
+ a.value > 0 ? (a.value -= 1, m.value[a.value].disabled && B()) : a.value = d.value, y();
847
+ }, L = () => {
848
+ a.value < d.value ? (a.value += 1, m.value[a.value].disabled && L()) : a.value = 0, y();
775
849
  }, M = (h, v) => {
776
- var x;
777
- (x = h == null ? void 0 : h.items) != null && x.length && (u.value = v, r.value = !0);
850
+ var E;
851
+ (E = h == null ? void 0 : h.items) != null && E.length && (u.value = v, l.value = !0);
778
852
  }, R = () => {
779
- u.value && r.value && (u.value = null, r.value = !1);
853
+ u.value && l.value && (u.value = null, l.value = !1);
780
854
  }, N = () => {
781
- r.value = !1, u.value = null, y();
855
+ l.value = !1, u.value = null, y();
782
856
  };
783
857
  n({
784
858
  focusItem: y
@@ -786,8 +860,8 @@ const Rt = g({
786
860
  const { computedStyle: A } = Mt(
787
861
  f,
788
862
  u,
789
- r,
790
- G(o, "popoverWidth")
863
+ l,
864
+ Y(o, "popoverWidth")
791
865
  );
792
866
  return {
793
867
  // Values
@@ -795,17 +869,17 @@ const Rt = g({
795
869
  menuItemListWrapperRef: i,
796
870
  subMenuItemListRef: f,
797
871
  menuItemRef: t,
798
- computedData: _,
872
+ computedData: m,
799
873
  computedStyle: A,
800
874
  focusedIndex: a,
801
- subMenuFocusedIndex: l,
802
- showSubMenu: r,
875
+ subMenuFocusedIndex: r,
876
+ showSubMenu: l,
803
877
  visibleSubMenuIndex: u,
804
878
  // Methods
805
- menuItemClick: L,
879
+ menuItemClick: x,
806
880
  closeMenu: k,
807
881
  focusPrevious: B,
808
- focusNext: E,
882
+ focusNext: L,
809
883
  focusRight: M,
810
884
  focusLeft: R,
811
885
  onBackButton: N
@@ -823,12 +897,12 @@ var Nt = function() {
823
897
  }, function(t) {
824
898
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.closeMenu.apply(null, arguments);
825
899
  }] } }, e._l(e.computedData, function(t, s) {
826
- var i, f, r, u;
900
+ var i, f, l, u;
827
901
  return n("li", { key: `menu-item-${s}`, ref: "menuItemRef", refInFor: !0, staticClass: "b-menu-item-list__item", attrs: { role: "none" }, on: { keydown: [function(a) {
828
902
  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);
829
903
  }, function(a) {
830
904
  return !a.type.indexOf("key") && e._k(a.keyCode, "left", 37, a.key, ["Left", "ArrowLeft"]) || "button" in a && a.button !== 0 ? null : e.focusLeft();
831
- }] } }, [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: !!((f = t.items) != null && f.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((r = t.items) != null && r.length), "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
905
+ }] } }, [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: !!((f = t.items) != null && f.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) {
832
906
  return e.menuItemClick(t, s);
833
907
  } } }), 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);
834
908
  }), 0)]);
@@ -862,13 +936,13 @@ const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection
862
936
  emits: ["menu-item-click", "click-outside"],
863
937
  setup(o, { expose: e, emit: n }) {
864
938
  var h;
865
- const t = o, s = w(), i = D(s), { t: f } = J(), r = c(null), u = c(null), a = c(!1), l = c(!1), d = c(null), m = ye("menu"), _ = S(Ft, c(!1));
866
- ae(ue, _);
939
+ const t = o, s = T(), i = D(s), { t: f } = J(), l = c(null), u = c(null), a = c(!1), r = c(!1), d = c(null), _ = ye("menu"), m = S(Ft, c(!1));
940
+ ae(ue, m);
867
941
  const y = p(() => ({
868
- "b-menu--inverse": _.value
942
+ "b-menu--inverse": m.value
869
943
  })), k = p(
870
944
  () => t.menuWidth ? { width: `${ne(t.menuWidth)}px` } : null
871
- ), L = p(() => {
945
+ ), x = p(() => {
872
946
  if (t != null && t.button)
873
947
  return {
874
948
  variant: "secondary",
@@ -876,37 +950,37 @@ const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection
876
950
  };
877
951
  }), B = () => {
878
952
  a.value = !0, n(O.OPEN);
879
- }, E = async (v = t.revertFocusToButton) => {
880
- var x, F;
881
- a.value && (a.value = !1, v && (await P(), (F = (x = r.value) == null ? void 0 : x.$el) == null || F.focus()), n(O.CLOSE));
953
+ }, L = async (v = t.revertFocusToButton) => {
954
+ var E, F;
955
+ a.value && (a.value = !1, v && (await P(), (F = (E = l.value) == null ? void 0 : E.$el) == null || F.focus()), n(O.CLOSE));
882
956
  }, M = (v) => {
883
- v.stopPropagation(), a.value ? E() : B();
957
+ v.stopPropagation(), a.value ? L() : B();
884
958
  }, R = (v) => {
885
- v.preventDefault(), l.value = !1, t.disableArrowDownOpeningMenu || B();
959
+ v.preventDefault(), r.value = !1, t.disableArrowDownOpeningMenu || B();
886
960
  }, N = (v) => {
887
- v.preventDefault(), l.value = !0, B();
961
+ v.preventDefault(), r.value = !0, B();
888
962
  }, A = () => {
889
963
  n("menu-item-click");
890
964
  };
891
965
  return Je(
892
966
  d,
893
967
  () => {
894
- E(), n("click-outside");
968
+ L(), n("click-outside");
895
969
  },
896
970
  {
897
971
  ...t.closeOnClickOutsideOptions,
898
- ignore: [r, ...((h = t.closeOnClickOutsideOptions) == null ? void 0 : h.ignore) ?? []]
972
+ ignore: [l, ...((h = t.closeOnClickOutsideOptions) == null ? void 0 : h.ignore) ?? []]
899
973
  }
900
974
  ), e({
901
975
  /**
902
976
  * Control to enable programmatic closing of the menu
903
977
  */
904
- closeMenu: E
905
- }), T(() => {
978
+ closeMenu: L
979
+ }), w(() => {
906
980
  i("iconRight") && de(
907
981
  '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
908
982
  );
909
- }), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: f, menuButtonRef: r, menuItemListRef: u, showMenu: a, isLastElementFocused: l, popoverRef: d, menuId: m, isInverseColorSet: _, computedClasses: y, computedMenuWidth: k, computedButtonPropsWithDefaults: L, openMenu: B, closeMenu: E, toggleShowMenu: M, onKeyDown: R, onKeyUp: N, menuItemClick: A, BentoToggleButton: Pe, BentoPopover: nt, BentoTeleport: dt, ChevronDownIcon: he, OptionsVerticalIcon: vt, MenuItemList: Dt };
983
+ }), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: f, menuButtonRef: l, menuItemListRef: u, showMenu: a, isLastElementFocused: r, popoverRef: d, menuId: _, isInverseColorSet: m, computedClasses: y, computedMenuWidth: k, computedButtonPropsWithDefaults: x, openMenu: B, closeMenu: L, toggleShowMenu: M, onKeyDown: R, onKeyUp: N, menuItemClick: A, BentoToggleButton: Pe, BentoPopover: nt, BentoTeleport: dt, ChevronDownIcon: he, OptionsVerticalIcon: vt, MenuItemList: Dt };
910
984
  }
911
985
  });
912
986
  var Wt = function() {
@@ -935,47 +1009,47 @@ var Wt = function() {
935
1009
  "left-start",
936
1010
  "left-end"
937
1011
  ], 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);
938
- }, Kt = [], Vt = /* @__PURE__ */ C(
1012
+ }, Vt = [], Kt = /* @__PURE__ */ C(
939
1013
  Ut,
940
1014
  Wt,
941
- Kt,
1015
+ Vt,
942
1016
  !1,
943
1017
  null,
944
1018
  "677f361d"
945
1019
  );
946
- const jt = Vt.exports, Yt = /* @__PURE__ */ Symbol(
1020
+ const jt = Kt.exports, Gt = /* @__PURE__ */ Symbol(
947
1021
  "button actions with menu container injection key"
948
- ), Gt = 242, V = parseInt(Ie, 10), Jt = (o, e, n) => {
1022
+ ), Yt = 242, K = parseInt(Ie, 10), Jt = (o, e, n) => {
949
1023
  const t = c(0);
950
1024
  let s = null;
951
- const { buttonActionsWithMenu: i, menu: f, stackButtons: r } = S(Yt, {
1025
+ const { buttonActionsWithMenu: i, menu: f, stackButtons: l } = S(Gt, {
952
1026
  buttonActionsWithMenu: c(null),
953
1027
  menu: c(null),
954
1028
  stackButtons: c(!1)
955
- }), u = p(() => i.value ?? o.value), a = p(() => f.value ? [...e.value, f.value.$el] : e.value), l = (d) => {
1029
+ }), u = p(() => i.value ?? o.value), a = p(() => f.value ? [...e.value, f.value.$el] : e.value), r = (d) => {
956
1030
  var y;
957
- const m = (y = a.value) == null ? void 0 : y.reduce(
958
- (k, L) => k + L.clientWidth + V,
959
- -V - 1
960
- ), _ = u.value.clientWidth;
961
- return d && (t.value = _ >= Gt && !r.value ? m : 0), t.value > _;
1031
+ const _ = (y = a.value) == null ? void 0 : y.reduce(
1032
+ (k, x) => k + x.clientWidth + K,
1033
+ -K - 1
1034
+ ), m = u.value.clientWidth;
1035
+ return d && (t.value = m >= Yt && !l.value ? _ : 0), t.value > m;
962
1036
  };
963
- return Y(
1037
+ return G(
964
1038
  () => n.value,
965
1039
  () => {
966
1040
  P(() => {
967
- r.value = l(!0);
1041
+ l.value = r(!0);
968
1042
  });
969
1043
  },
970
1044
  { deep: !0 }
971
- ), T(() => {
1045
+ ), w(() => {
972
1046
  s = ke(u.value, () => {
973
- r.value = l(t.value === 0);
1047
+ l.value = r(t.value === 0);
974
1048
  });
975
1049
  }), j(() => {
976
1050
  s == null || s.disconnect();
977
- }), r;
978
- }, Ht = {}, qt = /* @__PURE__ */ g({
1051
+ }), l;
1052
+ }, Ht = {}, zt = /* @__PURE__ */ g({
979
1053
  ...Ht,
980
1054
  __name: "button-actions",
981
1055
  props: {
@@ -984,16 +1058,16 @@ const jt = Vt.exports, Yt = /* @__PURE__ */ Symbol(
984
1058
  layout: { default: "buttons-end" }
985
1059
  },
986
1060
  setup(o) {
987
- const e = o, n = c(null), t = c(null), s = Jt(n, t, G(e, "actions")), i = p(() => e.actions.slice().reverse()), f = (l) => {
1061
+ const e = o, n = c(null), t = c(null), s = Jt(n, t, Y(e, "actions")), i = p(() => e.actions.slice().reverse()), f = (r) => {
988
1062
  const d = e.actions.length - 1;
989
- return l === d ? "primary" : "secondary";
990
- }, r = p(() => ({
1063
+ return r === d ? "primary" : "secondary";
1064
+ }, l = p(() => ({
991
1065
  [`b-button-actions--${e.layout}`]: !0,
992
1066
  "b-button-actions--stacked-buttons": s.value
993
1067
  }));
994
- return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: f, conditionalClasses: r, generateButtonEvents: (l) => (l == null ? void 0 : l.event) !== void 0 ? {
995
- click: l.event
996
- } : {}, isIconOnly: (l) => l.iconOnly && (l.iconLeft || l.iconRight || l.icon), BentoButton: b, BentoLoadingButton: we, BentoMenu: jt };
1068
+ return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: f, conditionalClasses: l, generateButtonEvents: (r) => (r == null ? void 0 : r.event) !== void 0 ? {
1069
+ click: r.event
1070
+ } : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton: b, BentoLoadingButton: Te, BentoMenu: jt };
997
1071
  }
998
1072
  });
999
1073
  var Xt = function() {
@@ -1015,10 +1089,10 @@ var Xt = function() {
1015
1089
  return [n(s.iconRight, { tag: "component", attrs: { "svg-title": s.title } })];
1016
1090
  }, proxy: !0 } : null], null, !0) }, t.generateButtonEvents(s)))]], 2);
1017
1091
  }), 0)]);
1018
- }, zt = [], Zt = /* @__PURE__ */ C(
1019
- qt,
1020
- Xt,
1092
+ }, qt = [], Zt = /* @__PURE__ */ C(
1021
1093
  zt,
1094
+ Xt,
1095
+ qt,
1022
1096
  !1,
1023
1097
  null,
1024
1098
  "82f686dc"
@@ -1032,10 +1106,10 @@ export {
1032
1106
  vt as O,
1033
1107
  Xe as P,
1034
1108
  ot as S,
1035
- we as a,
1109
+ Te as a,
1036
1110
  I as b,
1037
1111
  Pe as c,
1038
- Yt as d,
1112
+ Gt as d,
1039
1113
  dt as e,
1040
1114
  jt as f,
1041
1115
  O as g,
@@ -1044,7 +1118,7 @@ export {
1044
1118
  On as j,
1045
1119
  at as k,
1046
1120
  st as l,
1047
- qe as m,
1121
+ ze as m,
1048
1122
  Je as u
1049
1123
  };
1050
- //# sourceMappingURL=button-actions.BLk114As.js.map
1124
+ //# sourceMappingURL=button-actions.BmU1DngD.js.map