@adyen/bento-vue3 1.43.0 → 1.44.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 (213) hide show
  1. package/dist/@types/packages/vue2/src/components/button/components/button-actions/composables/use-stack-buttons/use-stack-buttons.d.ts +10 -0
  2. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +3 -3
  4. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +8 -8
  5. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +50 -32
  6. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +3 -3
  7. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -3
  8. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +21 -15
  9. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +56 -38
  10. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +77 -53
  11. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +6 -4
  12. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +4 -2
  13. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
  14. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +20 -12
  15. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
  16. package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.types.d.ts +6 -2
  17. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +228 -180
  18. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +6 -6
  19. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -12
  20. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +27 -21
  21. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +139 -97
  22. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
  23. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +15 -15
  24. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +15 -15
  25. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +208 -160
  26. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +9 -0
  27. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +3 -3
  28. package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.vue.d.ts +1 -1
  29. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.keys.d.ts +1 -0
  30. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +16 -1
  31. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/index.d.ts +2 -0
  32. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
  33. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  34. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
  35. package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
  36. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +3 -3
  37. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +6 -6
  38. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -9
  39. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
  40. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
  41. package/dist/@types/packages/vue2/src/components/internal/tooltip/tooltip.vue.d.ts +5 -5
  42. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +15 -0
  43. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +48 -3
  44. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
  45. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +1 -1
  46. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +1 -1
  47. package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +1 -1
  48. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -7
  49. package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +1 -1
  50. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +1 -1
  51. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
  52. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  53. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +2 -2
  54. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
  55. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
  56. package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +1 -1
  57. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -1
  58. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -2
  59. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +1 -1
  60. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +1 -1
  61. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +1 -1
  62. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -1
  63. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -4
  64. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +6 -4
  65. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +9 -6
  66. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -1
  67. package/dist/action-bar.js +1 -1
  68. package/dist/assets/accordion-item.css +1 -1
  69. package/dist/assets/action-bar.css +1 -1
  70. package/dist/assets/base-modal.css +1 -1
  71. package/dist/assets/button-actions-with-menu.css +1 -1
  72. package/dist/assets/button-actions.css +1 -1
  73. package/dist/assets/card.css +1 -1
  74. package/dist/assets/data-grid.css +1 -1
  75. package/dist/assets/dialog-page.css +1 -1
  76. package/dist/assets/dropdown-default-textbox.css +1 -1
  77. package/dist/assets/dropdown.css +1 -1
  78. package/dist/assets/file-uploader.css +1 -1
  79. package/dist/assets/header.css +1 -1
  80. package/dist/assets/inspector.css +1 -1
  81. package/dist/assets/menu.css +1 -1
  82. package/dist/assets/modal-fullscreen.css +1 -1
  83. package/dist/assets/popover.css +1 -1
  84. package/dist/assets/selection-card-group.css +1 -1
  85. package/dist/assets/sidepanel.css +1 -1
  86. package/dist/assets/textarea.css +1 -1
  87. package/dist/button.js +7 -8
  88. package/dist/button.js.map +1 -1
  89. package/dist/card.js +1 -1
  90. package/dist/checkbox.js +2 -2
  91. package/dist/chunks/{action-bar.COQrEUYU.js → action-bar.B-_JS43H.js} +10 -9
  92. package/dist/chunks/action-bar.B-_JS43H.js.map +1 -0
  93. package/dist/chunks/{base-modal.ku0lyHOs.js → base-modal.BR_pB6eH.js} +2 -2
  94. package/dist/chunks/{base-modal.ku0lyHOs.js.map → base-modal.BR_pB6eH.js.map} +1 -1
  95. package/dist/chunks/button-actions-with-menu.GT_kNv28.js +119 -0
  96. package/dist/chunks/button-actions-with-menu.GT_kNv28.js.map +1 -0
  97. package/dist/chunks/button-actions.BjlQS6tm.js +322 -0
  98. package/dist/chunks/button-actions.BjlQS6tm.js.map +1 -0
  99. package/dist/chunks/{card.D_XL2TWr.js → card.BrEfcUoE.js} +2 -2
  100. package/dist/chunks/{card.D_XL2TWr.js.map → card.BrEfcUoE.js.map} +1 -1
  101. package/dist/chunks/{checkbox-group.BUmkYc2R.js → checkbox-group.C5IweVVx.js} +2 -2
  102. package/dist/chunks/{checkbox-group.BUmkYc2R.js.map → checkbox-group.C5IweVVx.js.map} +1 -1
  103. package/dist/chunks/{checkbox.L94hTcPY.js → checkbox.B72ok3Yu.js} +15 -15
  104. package/dist/chunks/{checkbox.L94hTcPY.js.map → checkbox.B72ok3Yu.js.map} +1 -1
  105. package/dist/chunks/{code-snippet.DbUGxmYi.js → code-snippet.S5NdUu0p.js} +4 -4
  106. package/dist/chunks/{code-snippet.DbUGxmYi.js.map → code-snippet.S5NdUu0p.js.map} +1 -1
  107. package/dist/chunks/{dashboard-section.YU5gKDEJ.js → dashboard-section.LWxBcOV_.js} +2 -2
  108. package/dist/chunks/{dashboard-section.YU5gKDEJ.js.map → dashboard-section.LWxBcOV_.js.map} +1 -1
  109. package/dist/chunks/{dashed-underline.BKfUevuM.js → dashed-underline.CRlWNPrd.js} +2 -2
  110. package/dist/chunks/{dashed-underline.BKfUevuM.js.map → dashed-underline.CRlWNPrd.js.map} +1 -1
  111. package/dist/chunks/{data-grid-template.DI27ou71.js → data-grid-template.BZVeRN6g.js} +2 -2
  112. package/dist/chunks/{data-grid-template.DI27ou71.js.map → data-grid-template.BZVeRN6g.js.map} +1 -1
  113. package/dist/chunks/{data-grid.DgPWs1hH.js → data-grid.CKDW-rbM.js} +10 -10
  114. package/dist/chunks/{data-grid.DgPWs1hH.js.map → data-grid.CKDW-rbM.js.map} +1 -1
  115. package/dist/chunks/{date-picker.DDsfecHp.js → date-picker.BrZ2X1nQ.js} +3 -3
  116. package/dist/chunks/{date-picker.DDsfecHp.js.map → date-picker.BrZ2X1nQ.js.map} +1 -1
  117. package/dist/chunks/{date-range-picker.DjPmRy0E.js → date-range-picker.4y2goCI8.js} +6 -6
  118. package/dist/chunks/{date-range-picker.DjPmRy0E.js.map → date-range-picker.4y2goCI8.js.map} +1 -1
  119. package/dist/chunks/{dropdown-default-textbox.CcRQ1f4U.js → dropdown-default-textbox.ZjVeMHVC.js} +131 -120
  120. package/dist/chunks/{dropdown-default-textbox.CcRQ1f4U.js.map → dropdown-default-textbox.ZjVeMHVC.js.map} +1 -1
  121. package/dist/chunks/{dropdown-tag.BKDmDRSv.js → dropdown-tag.ClKm4xAo.js} +2 -2
  122. package/dist/chunks/{dropdown-tag.BKDmDRSv.js.map → dropdown-tag.ClKm4xAo.js.map} +1 -1
  123. package/dist/chunks/dropdown.Sj2OLuEF.js +911 -0
  124. package/dist/chunks/{dropdown.DpjMobyf.js.map → dropdown.Sj2OLuEF.js.map} +1 -1
  125. package/dist/chunks/es6.C-HLzYPA.js +11 -0
  126. package/dist/chunks/{es6.b4enG1py.js.map → es6.C-HLzYPA.js.map} +1 -1
  127. package/dist/chunks/{file-uploader.cRbwpcAw.js → file-uploader.BgRbkW2V.js} +368 -365
  128. package/dist/chunks/file-uploader.BgRbkW2V.js.map +1 -0
  129. package/dist/chunks/{filter-bar.BwJTrH5U.js → filter-bar.CM1FZ02d.js} +16 -17
  130. package/dist/chunks/{filter-bar.BwJTrH5U.js.map → filter-bar.CM1FZ02d.js.map} +1 -1
  131. package/dist/chunks/{footer-actions.DvIVWqWv.js → footer-actions.Dvsb0g5Y.js} +2 -2
  132. package/dist/chunks/{footer-actions.DvIVWqWv.js.map → footer-actions.Dvsb0g5Y.js.map} +1 -1
  133. package/dist/chunks/{header.C0NBlBJv.js → header.8BzBNgxj.js} +23 -23
  134. package/dist/chunks/{header.C0NBlBJv.js.map → header.8BzBNgxj.js.map} +1 -1
  135. package/dist/chunks/{input-field-password.DxNS4MmO.js → input-field-password.CXsERnQX.js} +3 -3
  136. package/dist/chunks/{input-field-password.DxNS4MmO.js.map → input-field-password.CXsERnQX.js.map} +1 -1
  137. package/dist/chunks/{input-field.BQKEQIZd.js → input-field.C-7_iMIS.js} +2 -2
  138. package/dist/chunks/{input-field.BQKEQIZd.js.map → input-field.C-7_iMIS.js.map} +1 -1
  139. package/dist/chunks/{menu.BpqOdkxR.js → menu.hDynz4lc.js} +132 -104
  140. package/dist/chunks/menu.hDynz4lc.js.map +1 -0
  141. package/dist/chunks/{modal-fullscreen.DtgTb1Xh.js → modal-fullscreen.BCGaxVNb.js} +2 -2
  142. package/dist/chunks/{modal-fullscreen.DtgTb1Xh.js.map → modal-fullscreen.BCGaxVNb.js.map} +1 -1
  143. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js → modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js} +4 -4
  144. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js.map → modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js.map} +1 -1
  145. package/dist/chunks/{pagination.C34l_EYf.js → pagination.C9kqX5tD.js} +2 -2
  146. package/dist/chunks/{pagination.C34l_EYf.js.map → pagination.C9kqX5tD.js.map} +1 -1
  147. package/dist/chunks/{popover.D9Zw4w9l.js → popover.DwGgnCyn.js} +2 -2
  148. package/dist/chunks/{popover.D9Zw4w9l.js.map → popover.DwGgnCyn.js.map} +1 -1
  149. package/dist/chunks/{search-bar.Dy0dBek2.js → search-bar.DPC0amNg.js} +3 -3
  150. package/dist/chunks/{search-bar.Dy0dBek2.js.map → search-bar.DPC0amNg.js.map} +1 -1
  151. package/dist/chunks/{secondary-nav.DYFnrUIK.js → secondary-nav.DH7aXddE.js} +3 -3
  152. package/dist/chunks/{secondary-nav.DYFnrUIK.js.map → secondary-nav.DH7aXddE.js.map} +1 -1
  153. package/dist/chunks/{selection-card-group.BY8o4PYF.js → selection-card-group.DDBJ423n.js} +19 -19
  154. package/dist/chunks/{selection-card-group.BY8o4PYF.js.map → selection-card-group.DDBJ423n.js.map} +1 -1
  155. package/dist/chunks/{sidepanel.BywianGe.js → sidepanel.8NclWh0V.js} +2 -2
  156. package/dist/chunks/{sidepanel.BywianGe.js.map → sidepanel.8NclWh0V.js.map} +1 -1
  157. package/dist/chunks/{teleport.CI0k6eaC.js → teleport.B255JhsV.js} +26 -17
  158. package/dist/chunks/teleport.B255JhsV.js.map +1 -0
  159. package/dist/chunks/{textarea.vAp6HFi9.js → textarea.D1weaQCC.js} +72 -68
  160. package/dist/chunks/{textarea.vAp6HFi9.js.map → textarea.D1weaQCC.js.map} +1 -1
  161. package/dist/chunks/{timeline-item.ND_EMuwP.js → timeline-item.BDYrjKhM.js} +3 -3
  162. package/dist/chunks/{timeline-item.ND_EMuwP.js.map → timeline-item.BDYrjKhM.js.map} +1 -1
  163. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js → tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js} +4 -4
  164. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js.map → tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js.map} +1 -1
  165. package/dist/chunks/{use-cached-selected-values.BOZK76mN.js → use-cached-selected-values.B6beyyvX.js} +3 -3
  166. package/dist/chunks/{use-cached-selected-values.BOZK76mN.js.map → use-cached-selected-values.B6beyyvX.js.map} +1 -1
  167. package/dist/code-snippet.js +1 -1
  168. package/dist/dashboard-template.js +1 -1
  169. package/dist/dashed-underline.js +1 -1
  170. package/dist/data-grid-template.js +1 -1
  171. package/dist/data-grid.js +1 -1
  172. package/dist/date-picker.js +1 -1
  173. package/dist/date-range-picker.js +1 -1
  174. package/dist/dropdown.js +4 -4
  175. package/dist/file-uploader.js +1 -1
  176. package/dist/filter-bar.js +1 -1
  177. package/dist/header.js +1 -1
  178. package/dist/index.js +67 -68
  179. package/dist/index.js.map +1 -1
  180. package/dist/input-field-password.js +1 -1
  181. package/dist/input-field.js +1 -1
  182. package/dist/internal.js +28 -24
  183. package/dist/internal.js.map +1 -1
  184. package/dist/menu.js +1 -1
  185. package/dist/modal-fullscreen.js +1 -1
  186. package/dist/modal.js +2 -2
  187. package/dist/pagination.js +1 -1
  188. package/dist/popover.js +1 -1
  189. package/dist/search-bar.js +2 -2
  190. package/dist/secondary-nav.js +1 -1
  191. package/dist/selection-card.js +1 -1
  192. package/dist/sidepanel.js +1 -1
  193. package/dist/textarea.js +1 -1
  194. package/dist/timeline.js +1 -1
  195. package/dist/tutorial.js +1 -1
  196. package/dist/web-types.json +1 -1
  197. package/package.json +2 -2
  198. package/dist/@types/packages/vue2/src/components/button/button.demo.d.ts +0 -6
  199. package/dist/assets/loading-button.css +0 -1
  200. package/dist/chunks/action-bar.COQrEUYU.js.map +0 -1
  201. package/dist/chunks/button-actions-with-menu.Bn7Kdx4v.js +0 -106
  202. package/dist/chunks/button-actions-with-menu.Bn7Kdx4v.js.map +0 -1
  203. package/dist/chunks/button-actions.Bjfo46Q_.js +0 -150
  204. package/dist/chunks/button-actions.Bjfo46Q_.js.map +0 -1
  205. package/dist/chunks/dropdown.DpjMobyf.js +0 -907
  206. package/dist/chunks/es6.b4enG1py.js +0 -10
  207. package/dist/chunks/file-uploader.cRbwpcAw.js.map +0 -1
  208. package/dist/chunks/loading-button.CNWhVIPK.js +0 -137
  209. package/dist/chunks/loading-button.CNWhVIPK.js.map +0 -1
  210. package/dist/chunks/menu.BpqOdkxR.js.map +0 -1
  211. package/dist/chunks/teleport.CI0k6eaC.js.map +0 -1
  212. package/dist/chunks/use-click-outside.D6aIgS15.js +0 -14
  213. package/dist/chunks/use-click-outside.D6aIgS15.js.map +0 -1
@@ -1,18 +1,17 @@
1
- import { defineComponent as N, computed as _, resolveComponent as v, openBlock as c, createBlock as M, normalizeClass as Z, createSlots as z, withCtx as g, createVNode as L, createTextVNode as U, toDisplayString as H, createCommentVNode as R, resolveDynamicComponent as ie, ref as d, inject as Q, createElementBlock as S, mergeProps as V, toHandlers as ue, renderSlot as O, onMounted as le, Transition as ae, createElementVNode as T, withKeys as I, withModifiers as W, Fragment as X, renderList as x, normalizeStyle as ee, provide as re } from "vue";
1
+ import { defineComponent as O, computed as _, resolveComponent as v, openBlock as c, createBlock as M, normalizeClass as Z, createSlots as z, withCtx as g, createVNode as S, createTextVNode as U, toDisplayString as H, createCommentVNode as R, resolveDynamicComponent as ue, ref as d, inject as Q, createElementBlock as L, mergeProps as V, toHandlers as le, renderSlot as N, onMounted as ie, Transition as ae, createElementVNode as T, withKeys as I, withModifiers as W, Fragment as X, renderList as x, normalizeStyle as ee, provide as re } from "vue";
2
2
  import { g as j } from "./generate-uid.D-HFI38h.js";
3
- import { B as de, a as q } from "./popover.D9Zw4w9l.js";
3
+ import { B as de, a as q } from "./popover.DwGgnCyn.js";
4
4
  import { B as te, D as ce } from "./divider.ugNXYI-T.js";
5
- import { u as me } from "./use-click-outside.D6aIgS15.js";
6
- import { u as fe } from "./use-has-slot.B7eQSabc.js";
7
- import { u as pe } from "./i18n.CPGoe9tN.js";
5
+ import { B as me, u as fe } from "./teleport.B255JhsV.js";
6
+ import { u as pe } from "./use-has-slot.B7eQSabc.js";
7
+ import { u as ve } from "./i18n.CPGoe9tN.js";
8
8
  import { _ as w } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
- import { B as ve } from "./toggle-button.Bf77_tMh.js";
10
- import { B as be } from "./teleport.CI0k6eaC.js";
9
+ import { B as be } from "./toggle-button.Bf77_tMh.js";
11
10
  import { a as Ce, C as G } from "./chevron-left.NvV5m76j.js";
12
11
  import { B as ye, a as J } from "./base-button.N4QTXNIp.js";
13
12
  import { B as ge } from "./typography.DNzU41ah.js";
14
13
  import "../assets/menu.css";
15
- const he = N({
14
+ const he = O({
16
15
  name: "menu-item",
17
16
  components: { BaseButton: ye, BentoTypography: ge, ChevronRightIcon: Ce },
18
17
  props: {
@@ -97,8 +96,8 @@ const he = N({
97
96
  };
98
97
  }
99
98
  });
100
- function Ie(e, t, m, s, r, l) {
101
- const u = v("bento-typography"), i = v("chevron-right-icon"), p = v("base-button");
99
+ function Ie(e, t, m, s, r, i) {
100
+ const l = v("bento-typography"), u = v("chevron-right-icon"), p = v("base-button");
102
101
  return c(), M(p, {
103
102
  class: Z(["b-menu-item", e.conditionalClasses]),
104
103
  role: "menuitem",
@@ -107,7 +106,7 @@ function Ie(e, t, m, s, r, l) {
107
106
  onClick: e.onClick
108
107
  }, z({
109
108
  default: g(() => [
110
- L(u, {
109
+ S(l, {
111
110
  el: "span",
112
111
  variant: "body",
113
112
  stronger: e.isTitle,
@@ -118,7 +117,7 @@ function Ie(e, t, m, s, r, l) {
118
117
  ]),
119
118
  _: 1
120
119
  }, 8, ["stronger"]),
121
- e.secondaryText ? (c(), M(u, {
120
+ e.secondaryText ? (c(), M(l, {
122
121
  key: 0,
123
122
  el: "span",
124
123
  variant: "body",
@@ -135,7 +134,7 @@ function Ie(e, t, m, s, r, l) {
135
134
  e.icon ? {
136
135
  name: "iconLeft",
137
136
  fn: g(() => [
138
- (c(), M(ie(e.icon), {
137
+ (c(), M(ue(e.icon), {
139
138
  class: "b-menu-item__icon-left",
140
139
  "aria-hidden": "true"
141
140
  }))
@@ -145,21 +144,21 @@ function Ie(e, t, m, s, r, l) {
145
144
  e.chevron ? {
146
145
  name: "iconRight",
147
146
  fn: g(() => [
148
- L(i, { "aria-hidden": "true" })
147
+ S(u, { "aria-hidden": "true" })
149
148
  ]),
150
149
  key: "1"
151
150
  } : void 0
152
151
  ]), 1032, ["class", "disabled", "onClick"]);
153
152
  }
154
153
  const ne = /* @__PURE__ */ w(he, [["render", Ie], ["__scopeId", "data-v-9e8afd9c"]]);
155
- var k = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(k || {});
156
- const ke = Symbol("menu registering injection key"), Be = {
154
+ var B = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(B || {});
155
+ const Be = Symbol("menu registering injection key"), ke = {
157
156
  name: "bento-menu-list-container"
158
- }, Me = /* @__PURE__ */ N({
159
- ...Be,
157
+ }, Me = /* @__PURE__ */ O({
158
+ ...ke,
160
159
  setup(e) {
161
160
  const t = d(), m = d({}), s = Q(
162
- ke,
161
+ Be,
163
162
  !1
164
163
  );
165
164
  if (s) {
@@ -168,13 +167,13 @@ const ke = Symbol("menu registering injection key"), Be = {
168
167
  mouseleave: s == null ? void 0 : s.menuMouseLeave
169
168
  };
170
169
  }
171
- return (r, l) => (c(), S("div", V({
170
+ return (r, i) => (c(), L("div", V({
172
171
  ref_key: "menuListContainerRef",
173
172
  ref: t,
174
173
  class: "b-menu-list-container",
175
174
  "data-testid": "menu-list-container"
176
- }, ue(m.value, !0)), [
177
- O(r.$slots, "default", {}, void 0, !0)
175
+ }, le(m.value, !0)), [
176
+ N(r.$slots, "default", {}, void 0, !0)
178
177
  ], 16));
179
178
  }
180
179
  }), oe = /* @__PURE__ */ w(Me, [["__scopeId", "data-v-02a3ca45"]]), A = {
@@ -182,7 +181,7 @@ const ke = Symbol("menu registering injection key"), Be = {
182
181
  menuButton: "Open menu",
183
182
  backButton: "Go back"
184
183
  }
185
- }, _e = N({
184
+ }, _e = O({
186
185
  i18n: { messages: A },
187
186
  name: "sub-menu-item-list",
188
187
  components: { BentoDivider: te, MenuItem: ne, MenuListContainer: oe },
@@ -196,15 +195,15 @@ const ke = Symbol("menu registering injection key"), Be = {
196
195
  required: !0
197
196
  }
198
197
  },
199
- emits: [k.CLOSE, k.BACK],
198
+ emits: [B.CLOSE, B.BACK],
200
199
  setup(e, { emit: t }) {
201
- const m = d(null), s = d(0), r = d(e.items.length), l = () => t(k.CLOSE), u = () => t(k.BACK), i = _(() => {
200
+ const m = d(null), s = d(0), r = d(e.items.length), i = () => t(B.CLOSE), l = () => t(B.BACK), u = _(() => {
202
201
  var b;
203
202
  const a = (b = e.items) == null ? void 0 : b.map((C) => ({
204
203
  ...C,
205
204
  indent: !C.icon,
206
205
  isTitle: !1,
207
- clickHandler: l
206
+ clickHandler: i
208
207
  }));
209
208
  return [
210
209
  {
@@ -215,48 +214,48 @@ const ke = Symbol("menu registering injection key"), Be = {
215
214
  isTitle: !0,
216
215
  disabled: !1,
217
216
  indent: !1,
218
- handler: u,
219
- clickHandler: u,
217
+ handler: l,
218
+ clickHandler: l,
220
219
  addDivider: !0
221
220
  },
222
221
  ...a
223
222
  ];
224
223
  }), p = async () => {
225
- var a, b, C, B, h;
226
- (h = (B = (C = (b = (a = m.value) == null ? void 0 : a.children) == null ? void 0 : b[s.value]) == null ? void 0 : C.children) == null ? void 0 : B[0]) == null || h.focus();
224
+ var a, b, C, k, h;
225
+ (h = (k = (C = (b = (a = m.value) == null ? void 0 : a.children) == null ? void 0 : b[s.value]) == null ? void 0 : C.children) == null ? void 0 : k[0]) == null || h.focus();
227
226
  };
228
- le(async () => {
227
+ ie(async () => {
229
228
  setTimeout(() => p(), 150);
230
229
  });
231
230
  const o = () => {
232
- s.value > 0 ? (s.value -= 1, i.value[s.value].disabled && o()) : s.value = r.value, p();
231
+ s.value > 0 ? (s.value -= 1, u.value[s.value].disabled && o()) : s.value = r.value, p();
233
232
  }, n = () => {
234
- s.value < r.value ? (s.value += 1, i.value[s.value].disabled && n()) : s.value = 0, p();
233
+ s.value < r.value ? (s.value += 1, u.value[s.value].disabled && n()) : s.value = 0, p();
235
234
  };
236
235
  return {
237
236
  // Enums
238
- BentoMenuEvent: k,
237
+ BentoMenuEvent: B,
239
238
  // Values
240
239
  subMenuItemListRefLocal: m,
241
240
  subMenuFocusedIndex: s,
242
241
  ChevronLeftIcon: G,
243
- computedItems: i,
242
+ computedItems: u,
244
243
  // Methods
245
- closeMenu: l,
246
- onBackButton: u,
244
+ closeMenu: i,
245
+ onBackButton: l,
247
246
  focusPrevious: o,
248
247
  focusNext: n
249
248
  };
250
249
  }
251
250
  });
252
- function $e(e, t, m, s, r, l) {
253
- const u = v("menu-item"), i = v("bento-divider"), p = v("menu-list-container");
251
+ function $e(e, t, m, s, r, i) {
252
+ const l = v("menu-item"), u = v("bento-divider"), p = v("menu-list-container");
254
253
  return c(), M(ae, {
255
254
  name: "b-sub-menu-item-list__transition",
256
255
  appear: ""
257
256
  }, {
258
257
  default: g(() => [
259
- L(p, { class: "b-sub-menu-item-list" }, {
258
+ S(p, { class: "b-sub-menu-item-list" }, {
260
259
  default: g(() => [
261
260
  T("ul", {
262
261
  ref: "subMenuItemListRefLocal",
@@ -268,11 +267,11 @@ function $e(e, t, m, s, r, l) {
268
267
  t[2] || (t[2] = I(W((...o) => e.onBackButton && e.onBackButton(...o), ["stop"]), ["esc"]))
269
268
  ]
270
269
  }, [
271
- (c(!0), S(X, null, x(e.computedItems, (o, n) => (c(), S("li", {
270
+ (c(!0), L(X, null, x(e.computedItems, (o, n) => (c(), L("li", {
272
271
  key: `sub-menu-item-list-item-${n}`,
273
272
  role: "none"
274
273
  }, [
275
- L(u, {
274
+ S(l, {
276
275
  text: o.text,
277
276
  handler: o.handler,
278
277
  "secondary-text": o.secondaryText,
@@ -284,7 +283,7 @@ function $e(e, t, m, s, r, l) {
284
283
  tabindex: n === e.subMenuFocusedIndex ? "0" : "-1",
285
284
  onClick: o.clickHandler
286
285
  }, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
287
- o.addDivider ? (c(), M(i, {
286
+ o.addDivider ? (c(), M(u, {
288
287
  key: 0,
289
288
  class: "b-sub-menu-item-list__divider"
290
289
  })) : R("", !0)
@@ -297,9 +296,9 @@ function $e(e, t, m, s, r, l) {
297
296
  _: 1
298
297
  });
299
298
  }
300
- const Le = /* @__PURE__ */ w(_e, [["render", $e], ["__scopeId", "data-v-621db243"]]), Se = N({
299
+ const Se = /* @__PURE__ */ w(_e, [["render", $e], ["__scopeId", "data-v-621db243"]]), Le = O({
301
300
  name: "menu-item-list",
302
- components: { BentoDivider: te, MenuItem: ne, MenuListContainer: oe, SubMenuItemList: Le },
301
+ components: { BentoDivider: te, MenuItem: ne, MenuListContainer: oe, SubMenuItemList: Se },
303
302
  props: {
304
303
  /**
305
304
  * The data to be displayed in the list
@@ -321,11 +320,18 @@ const Le = /* @__PURE__ */ w(_e, [["render", $e], ["__scopeId", "data-v-621db243
321
320
  focusLastElement: {
322
321
  type: Boolean,
323
322
  default: !1
323
+ },
324
+ /**
325
+ * If set to true, closes the menu when an item is clicked.
326
+ */
327
+ closeMenuOnItemSelect: {
328
+ type: Boolean,
329
+ default: !0
324
330
  }
325
331
  },
326
- emits: [k.CLOSE, "menu-item-click"],
332
+ emits: [B.CLOSE, "menu-item-click"],
327
333
  setup(e, { emit: t }) {
328
- const m = d(null), s = d(null), r = d(null), l = d(!1), u = d(null), i = d(e.focusLastElement ? e.data.length - 1 : 0), p = d(0), o = d(e.data.length - 1), n = _(() => e.data.some((f) => f.icon)), a = _(() => e.indentItems || n.value ? e.data.map((f) => {
334
+ const m = d(null), s = d(null), r = d(null), i = d(!1), l = d(null), u = d(e.focusLastElement ? e.data.length - 1 : 0), p = d(0), o = d(e.data.length - 1), n = _(() => e.data.some((f) => f.icon)), a = _(() => e.indentItems || n.value ? e.data.map((f) => {
329
335
  let y = !1;
330
336
  return f.icon || (y = !0), {
331
337
  ...f,
@@ -334,24 +340,28 @@ const Le = /* @__PURE__ */ w(_e, [["render", $e], ["__scopeId", "data-v-621db243
334
340
  };
335
341
  }) : e.data), b = () => {
336
342
  var f, y, $;
337
- return ($ = (y = (f = m.value) == null ? void 0 : f.children[i.value]) == null ? void 0 : y.children[0]) == null ? void 0 : $.focus();
338
- }, C = () => t(k.CLOSE), B = (f, y) => {
339
- f.items ? (u.value = y, l.value = !0) : (u.value = y, l.value = !1, C(), t("menu-item-click"));
343
+ return ($ = (y = (f = m.value) == null ? void 0 : f.children[u.value]) == null ? void 0 : y.children[0]) == null ? void 0 : $.focus();
344
+ }, C = () => t(B.CLOSE), k = (f, y) => {
345
+ if (f.items) {
346
+ l.value = y, i.value = !0;
347
+ return;
348
+ }
349
+ l.value = y, i.value = !1, e.closeMenuOnItemSelect && C(), t("menu-item-click");
340
350
  }, h = () => {
341
- i.value > 0 ? (i.value -= 1, a.value[i.value].disabled && h()) : i.value = o.value, b();
351
+ u.value > 0 ? (u.value -= 1, a.value[u.value].disabled && h()) : u.value = o.value, b();
342
352
  }, E = () => {
343
- i.value < o.value ? (i.value += 1, a.value[i.value].disabled && E()) : i.value = 0, b();
353
+ u.value < o.value ? (u.value += 1, a.value[u.value].disabled && E()) : u.value = 0, b();
344
354
  }, P = (f, y) => {
345
355
  var $;
346
- ($ = f == null ? void 0 : f.items) != null && $.length && (u.value = y, l.value = !0);
356
+ ($ = f == null ? void 0 : f.items) != null && $.length && (l.value = y, i.value = !0);
347
357
  }, K = () => {
348
- u.value && l.value && (u.value = null, l.value = !1);
358
+ l.value && i.value && (l.value = null, i.value = !1);
349
359
  }, D = () => {
350
- l.value = !1, u.value = null, b();
360
+ i.value = !1, l.value = null, b();
351
361
  }, F = _(() => {
352
362
  var f, y, $;
353
363
  return ($ = (y = (f = r.value) == null ? void 0 : f[0]) == null ? void 0 : y.$el) == null ? void 0 : $.offsetHeight;
354
- }), se = _(() => l.value ? `${F.value}px` : "");
364
+ }), se = _(() => i.value ? `${F.value}px` : "");
355
365
  return {
356
366
  // Values
357
367
  menuItemListRef: m,
@@ -359,12 +369,12 @@ const Le = /* @__PURE__ */ w(_e, [["render", $e], ["__scopeId", "data-v-621db243
359
369
  subMenuItemListRef: r,
360
370
  computedData: a,
361
371
  computedHeight: se,
362
- focusedIndex: i,
372
+ focusedIndex: u,
363
373
  subMenuFocusedIndex: p,
364
- showSubMenu: l,
365
- visibleSubMenuIndex: u,
374
+ showSubMenu: i,
375
+ visibleSubMenuIndex: l,
366
376
  // Methods
367
- menuItemClick: B,
377
+ menuItemClick: k,
368
378
  closeMenu: C,
369
379
  focusPrevious: h,
370
380
  focusNext: E,
@@ -374,8 +384,8 @@ const Le = /* @__PURE__ */ w(_e, [["render", $e], ["__scopeId", "data-v-621db243
374
384
  };
375
385
  }
376
386
  }), Ee = ["onKeydown"];
377
- function Re(e, t, m, s, r, l) {
378
- const u = v("menu-item"), i = v("bento-divider"), p = v("sub-menu-item-list"), o = v("menu-list-container");
387
+ function Re(e, t, m, s, r, i) {
388
+ const l = v("menu-item"), u = v("bento-divider"), p = v("sub-menu-item-list"), o = v("menu-list-container");
379
389
  return c(), M(o, {
380
390
  ref: "menuItemListWrapperRef",
381
391
  style: ee({ height: e.computedHeight })
@@ -392,9 +402,9 @@ function Re(e, t, m, s, r, l) {
392
402
  t[4] || (t[4] = I((...n) => e.closeMenu && e.closeMenu(...n), ["tab"]))
393
403
  ]
394
404
  }, [
395
- (c(!0), S(X, null, x(e.computedData, (n, a) => {
396
- var b, C, B, h;
397
- return c(), S("li", {
405
+ (c(!0), L(X, null, x(e.computedData, (n, a) => {
406
+ var b, C, k, h;
407
+ return c(), L("li", {
398
408
  key: `menu-item-${a}`,
399
409
  class: "b-menu-item-list__item",
400
410
  role: "none",
@@ -403,7 +413,7 @@ function Re(e, t, m, s, r, l) {
403
413
  t[0] || (t[0] = I((E) => e.focusLeft(), ["left"]))
404
414
  ]
405
415
  }, [
406
- L(u, {
416
+ S(l, {
407
417
  text: n.text,
408
418
  handler: (b = n.items) != null && b.length ? () => null : n.handler,
409
419
  "secondary-text": n.secondaryText,
@@ -413,11 +423,11 @@ function Re(e, t, m, s, r, l) {
413
423
  critical: n.critical,
414
424
  indent: n.indent,
415
425
  tabindex: a === e.subMenuFocusedIndex ? "0" : "-1",
416
- "aria-haspopup": !!((B = n.items) != null && B.length),
426
+ "aria-haspopup": !!((k = n.items) != null && k.length),
417
427
  "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === a,
418
428
  onClick: (E) => e.menuItemClick(n, a)
419
429
  }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
420
- n.addDivider ? (c(), M(i, {
430
+ n.addDivider ? (c(), M(u, {
421
431
  key: 0,
422
432
  class: "b-menu-item-list__divider"
423
433
  })) : R("", !0),
@@ -437,22 +447,22 @@ function Re(e, t, m, s, r, l) {
437
447
  _: 1
438
448
  }, 8, ["style"]);
439
449
  }
440
- const we = /* @__PURE__ */ w(Se, [["render", Re], ["__scopeId", "data-v-b2223c5d"]]), Te = Symbol("menu inverse style injection key");
450
+ const we = /* @__PURE__ */ w(Le, [["render", Re], ["__scopeId", "data-v-cf88ddde"]]), Te = Symbol("menu inverse style injection key");
441
451
  let Y = 0;
442
- const Ne = {
452
+ const Oe = {
443
453
  beforeCreate() {
444
454
  this.uuid = Y.toString(), Y += 1;
445
455
  }
446
- }, Oe = { key: 0 };
447
- function Pe(e, t, m, s, r, l) {
448
- return c(), S("svg", V({ role: "img" }, e.$attrs, {
456
+ }, Ne = { key: 0 };
457
+ function Pe(e, t, m, s, r, i) {
458
+ return c(), L("svg", V({ role: "img" }, e.$attrs, {
449
459
  class: "ui-assets-icons-16",
450
460
  xmlns: "http://www.w3.org/2000/svg",
451
461
  width: "16",
452
462
  height: "16",
453
463
  fill: "none"
454
464
  }), [
455
- e.$attrs["svg-title"] ? (c(), S("title", Oe, H(e.$attrs["svg-title"]), 1)) : R("", !0),
465
+ e.$attrs["svg-title"] ? (c(), L("title", Ne, H(e.$attrs["svg-title"]), 1)) : R("", !0),
456
466
  t[0] || (t[0] = T("path", {
457
467
  fill: "#00112C",
458
468
  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"
@@ -467,10 +477,10 @@ function Pe(e, t, m, s, r, l) {
467
477
  }, null, -1))
468
478
  ], 16);
469
479
  }
470
- const Ke = /* @__PURE__ */ w(Ne, [["render", Pe]]), De = N({
480
+ const Ke = /* @__PURE__ */ w(Oe, [["render", Pe]]), De = O({
471
481
  i18n: { messages: A },
472
482
  name: "bento-menu",
473
- components: { BentoToggleButton: ve, BentoPopover: de, BentoTeleport: be, MenuItemList: we, OptionsVerticalIcon: Ke },
483
+ components: { BentoToggleButton: be, BentoPopover: de, BentoTeleport: me, MenuItemList: we, OptionsVerticalIcon: Ke },
474
484
  props: {
475
485
  /**
476
486
  * Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.
@@ -481,6 +491,14 @@ const Ke = /* @__PURE__ */ w(Ne, [["render", Pe]]), De = N({
481
491
  variant: "secondary"
482
492
  })
483
493
  },
494
+ /**
495
+ * Controls if the menu should close when an item is clicked.
496
+ * Defaults to `true`.
497
+ */
498
+ closeMenuOnItemSelect: {
499
+ type: Boolean,
500
+ default: !0
501
+ },
484
502
  /**
485
503
  * The data to be displayed in the list
486
504
  */
@@ -511,6 +529,15 @@ const Ke = /* @__PURE__ */ w(Ne, [["render", Pe]]), De = N({
511
529
  type: Number,
512
530
  default: null
513
531
  },
532
+ /**
533
+ * Returns focus to the menu button after popover is closed.
534
+ * Disable if focus management is delegated to the parent component.
535
+ * Defaults to `true`.
536
+ */
537
+ revertFocusToButton: {
538
+ type: Boolean,
539
+ default: !0
540
+ },
514
541
  /**
515
542
  * Can be used to set the inner teleport component to render the menu's popover in the root `body` DOM node
516
543
  * (or `dialog` if popover is inside a dialog).
@@ -520,9 +547,9 @@ const Ke = /* @__PURE__ */ w(Ne, [["render", Pe]]), De = N({
520
547
  default: !1
521
548
  }
522
549
  },
523
- emits: [k.CLOSE, k.OPEN, "menu-item-click"],
550
+ emits: [B.CLOSE, B.OPEN, "menu-item-click"],
524
551
  setup(e, { emit: t, slots: m }) {
525
- const { t: s } = pe({ messages: A }), r = d(null), l = d(!1), u = d(!1), i = d(null), p = j("menu"), o = j("menu-popover"), n = Q(Te, d(!1));
552
+ const { t: s } = ve({ messages: A }), r = d(null), i = d(!1), l = d(!1), u = d(null), p = j("menu"), o = j("menu-popover"), n = Q(Te, d(!1));
526
553
  re(ce, n);
527
554
  const a = _(() => ({
528
555
  "b-menu--inverse": n.value
@@ -532,35 +559,35 @@ const Ke = /* @__PURE__ */ w(Ne, [["render", Pe]]), De = N({
532
559
  variant: "secondary",
533
560
  ...e.button
534
561
  };
535
- }), B = () => {
536
- l.value = !0, t(k.OPEN);
562
+ }), k = () => {
563
+ i.value = !0, t(B.OPEN);
537
564
  }, h = () => {
538
- l.value && (l.value = !1, r.value.$el.focus(), t(k.CLOSE));
565
+ i.value && (i.value = !1, e.revertFocusToButton && r.value.$el.focus(), t(B.CLOSE));
539
566
  }, E = (F) => {
540
- F.stopPropagation(), l.value ? h() : B();
567
+ F.stopPropagation(), i.value ? h() : k();
541
568
  }, P = () => {
542
- u.value = !1, B();
569
+ l.value = !1, k();
543
570
  }, K = () => {
544
- u.value = !0, B();
571
+ l.value = !0, k();
545
572
  }, D = () => {
546
573
  t("menu-item-click");
547
574
  };
548
- return me(i, h, { ignore: [r] }), {
575
+ return fe(u, h, { ignore: [r] }), {
549
576
  // Refs
550
- popoverRef: i,
577
+ popoverRef: u,
551
578
  menuButtonRef: r,
552
579
  // Values
553
580
  menuId: p,
554
581
  popoverId: o,
555
- showMenu: l,
582
+ showMenu: i,
556
583
  computedButtonPropsWithDefaults: C,
557
584
  computedMenuWidth: b,
558
- isLastElementFocused: u,
585
+ isLastElementFocused: l,
559
586
  // Classes
560
587
  computedClasses: a,
561
588
  isInverseColorSet: n,
562
589
  // Methods
563
- hasSlot: fe(m),
590
+ hasSlot: pe(m),
564
591
  onKeyDown: P,
565
592
  onKeyUp: K,
566
593
  closeMenu: h,
@@ -571,9 +598,9 @@ const Ke = /* @__PURE__ */ w(Ne, [["render", Pe]]), De = N({
571
598
  };
572
599
  }
573
600
  });
574
- function Fe(e, t, m, s, r, l) {
575
- const u = v("options-vertical-icon"), i = v("bento-toggle-button"), p = v("menu-item-list"), o = v("bento-popover"), n = v("bento-teleport");
576
- return c(), S("div", {
601
+ function Fe(e, t, m, s, r, i) {
602
+ const l = v("options-vertical-icon"), u = v("bento-toggle-button"), p = v("menu-item-list"), o = v("bento-popover"), n = v("bento-teleport");
603
+ return c(), L("div", {
577
604
  class: Z([e.computedClasses, "b-menu"]),
578
605
  onKeydown: [
579
606
  t[0] || (t[0] = I((...a) => e.onKeyDown && e.onKeyDown(...a), ["down"])),
@@ -581,7 +608,7 @@ function Fe(e, t, m, s, r, l) {
581
608
  t[2] || (t[2] = I((...a) => e.closeMenu && e.closeMenu(...a), ["esc"]))
582
609
  ]
583
610
  }, [
584
- L(i, V({
611
+ S(u, V({
585
612
  ref: "menuButtonRef",
586
613
  "aria-haspopup": "true"
587
614
  }, e.computedButtonPropsWithDefaults, {
@@ -593,8 +620,8 @@ function Fe(e, t, m, s, r, l) {
593
620
  !e.hasSlot("default") || e.hasSlot("iconLeft") ? {
594
621
  name: "iconLeft",
595
622
  fn: g(() => [
596
- O(e.$slots, "iconLeft", {}, () => [
597
- L(u, {
623
+ N(e.$slots, "iconLeft", {}, () => [
624
+ S(l, {
598
625
  title: e.t("menuButton")
599
626
  }, null, 8, ["title"])
600
627
  ], !0)
@@ -604,14 +631,14 @@ function Fe(e, t, m, s, r, l) {
604
631
  e.hasSlot("default") ? {
605
632
  name: "default",
606
633
  fn: g(() => [
607
- O(e.$slots, "default", {}, void 0, !0)
634
+ N(e.$slots, "default", {}, void 0, !0)
608
635
  ]),
609
636
  key: "1"
610
637
  } : void 0,
611
638
  e.hasSlot("iconRight") ? {
612
639
  name: "iconRight",
613
640
  fn: g(() => [
614
- O(e.$slots, "iconRight", {}, void 0, !0)
641
+ N(e.$slots, "iconRight", {}, void 0, !0)
615
642
  ]),
616
643
  key: "2"
617
644
  } : void 0
@@ -645,12 +672,13 @@ function Fe(e, t, m, s, r, l) {
645
672
  "without-space": ""
646
673
  }, {
647
674
  default: g(() => [
648
- L(p, {
675
+ S(p, {
676
+ "close-menu-on-item-select": e.closeMenuOnItemSelect,
649
677
  data: e.data,
650
678
  "focus-last-element": e.isLastElementFocused,
651
679
  onClose: e.closeMenu,
652
680
  onMenuItemClick: e.menuItemClick
653
- }, null, 8, ["data", "focus-last-element", "onClose", "onMenuItemClick"])
681
+ }, null, 8, ["close-menu-on-item-select", "data", "focus-last-element", "onClose", "onMenuItemClick"])
654
682
  ]),
655
683
  _: 1
656
684
  }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : R("", !0)
@@ -659,12 +687,12 @@ function Fe(e, t, m, s, r, l) {
659
687
  }, 8, ["disabled"])) : R("", !0)
660
688
  ], 34);
661
689
  }
662
- const Xe = /* @__PURE__ */ w(De, [["render", Fe], ["__scopeId", "data-v-bdf9d554"]]);
690
+ const Qe = /* @__PURE__ */ w(De, [["render", Fe], ["__scopeId", "data-v-bd1c16f6"]]);
663
691
  export {
664
- Xe as B,
665
- ke as D,
692
+ Qe as B,
693
+ Be as D,
666
694
  Te as M,
667
695
  Ke as O,
668
- k as a
696
+ B as a
669
697
  };
670
- //# sourceMappingURL=menu.BpqOdkxR.js.map
698
+ //# sourceMappingURL=menu.hDynz4lc.js.map