@adyen/bento-vue3 1.22.0 → 1.23.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 (199) hide show
  1. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +9 -5
  2. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +15 -0
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +18 -0
  5. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/index.d.ts +2 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +53 -0
  9. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +12 -0
  10. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +2 -99
  11. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config.settings.types.d.ts +7 -0
  12. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +47 -1
  13. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +48 -8
  14. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +48 -24
  15. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
  16. package/dist/@types/packages/vue2/src/components/menu/menu.types.d.ts +1 -1
  17. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/stepper/composables/index.d.ts +2 -0
  19. package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +11 -0
  20. package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +1 -0
  21. package/dist/accordion.js +2 -2
  22. package/dist/action-bar.js +6 -6
  23. package/dist/alert.js +3 -3
  24. package/dist/assets/base-modal.css +1 -1
  25. package/dist/assets/button.css +1 -1
  26. package/dist/assets/dialog-page.css +1 -1
  27. package/dist/assets/index10.css +1 -1
  28. package/dist/assets/index11.css +1 -1
  29. package/dist/assets/index12.css +1 -1
  30. package/dist/assets/index13.css +1 -1
  31. package/dist/assets/index14.css +1 -1
  32. package/dist/assets/index15.css +1 -1
  33. package/dist/assets/index16.css +1 -1
  34. package/dist/assets/index17.css +1 -1
  35. package/dist/assets/index18.css +1 -1
  36. package/dist/assets/index19.css +1 -1
  37. package/dist/assets/index2.css +1 -1
  38. package/dist/assets/index20.css +1 -1
  39. package/dist/assets/index21.css +1 -1
  40. package/dist/assets/index22.css +1 -1
  41. package/dist/assets/index23.css +1 -1
  42. package/dist/assets/index24.css +1 -1
  43. package/dist/assets/index25.css +1 -1
  44. package/dist/assets/index26.css +1 -1
  45. package/dist/assets/index27.css +1 -1
  46. package/dist/assets/index28.css +1 -1
  47. package/dist/assets/index29.css +1 -1
  48. package/dist/assets/index3.css +1 -1
  49. package/dist/assets/index30.css +1 -1
  50. package/dist/assets/index31.css +1 -1
  51. package/dist/assets/index32.css +1 -1
  52. package/dist/assets/index33.css +1 -1
  53. package/dist/assets/index34.css +1 -1
  54. package/dist/assets/index35.css +1 -1
  55. package/dist/assets/index36.css +1 -1
  56. package/dist/assets/index37.css +1 -1
  57. package/dist/assets/index39.css +1 -1
  58. package/dist/assets/index4.css +1 -1
  59. package/dist/assets/index40.css +1 -1
  60. package/dist/assets/index41.css +1 -1
  61. package/dist/assets/index42.css +1 -1
  62. package/dist/assets/index43.css +1 -1
  63. package/dist/assets/index44.css +1 -1
  64. package/dist/assets/index45.css +1 -1
  65. package/dist/assets/index46.css +1 -1
  66. package/dist/assets/index47.css +1 -1
  67. package/dist/assets/index48.css +1 -1
  68. package/dist/assets/index5.css +1 -1
  69. package/dist/assets/index6.css +1 -1
  70. package/dist/assets/index7.css +1 -1
  71. package/dist/assets/index8.css +1 -1
  72. package/dist/assets/index9.css +1 -1
  73. package/dist/avatar-image.js +1 -1
  74. package/dist/button.js +5 -5
  75. package/dist/card.js +3 -3
  76. package/dist/checkbox.js +5 -5
  77. package/dist/chunks/{base-button.86be8130.js → base-button.13df4e44.js} +2 -2
  78. package/dist/chunks/{base-button.86be8130.js.map → base-button.13df4e44.js.map} +1 -1
  79. package/dist/chunks/{base-modal.01333c00.js → base-modal.30bce990.js} +6 -6
  80. package/dist/chunks/{base-modal.01333c00.js.map → base-modal.30bce990.js.map} +1 -1
  81. package/dist/chunks/{button-actions-with-menu.df95130d.js → button-actions-with-menu.a5d2bb13.js} +4 -4
  82. package/dist/chunks/{button-actions-with-menu.df95130d.js.map → button-actions-with-menu.a5d2bb13.js.map} +1 -1
  83. package/dist/chunks/{button-actions.bcc9dcc7.js → button-actions.ec3c649c.js} +3 -3
  84. package/dist/chunks/{button-actions.bcc9dcc7.js.map → button-actions.ec3c649c.js.map} +1 -1
  85. package/dist/chunks/{button.a378e7ab.js → button.e965bf53.js} +3 -3
  86. package/dist/chunks/{button.a378e7ab.js.map → button.e965bf53.js.map} +1 -1
  87. package/dist/chunks/{calendar.891a60a9.js → calendar.52fe4032.js} +4 -4
  88. package/dist/chunks/{calendar.891a60a9.js.map → calendar.52fe4032.js.map} +1 -1
  89. package/dist/chunks/{checkbox.9753e9d6.js → checkbox.1442f41a.js} +3 -3
  90. package/dist/chunks/{checkbox.9753e9d6.js.map → checkbox.1442f41a.js.map} +1 -1
  91. package/dist/chunks/{controls-group.84981503.js → controls-group.1f29b602.js} +3 -3
  92. package/dist/chunks/{controls-group.84981503.js.map → controls-group.1f29b602.js.map} +1 -1
  93. package/dist/chunks/{copy.86eb5d86.js → copy.d052f444.js} +4 -4
  94. package/dist/chunks/{copy.86eb5d86.js.map → copy.d052f444.js.map} +1 -1
  95. package/dist/chunks/{dialog-page.ce02932b.js → dialog-page.d505c5ec.js} +3 -3
  96. package/dist/chunks/{dialog-page.ce02932b.js.map → dialog-page.d505c5ec.js.map} +1 -1
  97. package/dist/chunks/{dropdown-default-textbox.91ad6585.js → dropdown-default-textbox.e0ca5afb.js} +136 -116
  98. package/dist/chunks/dropdown-default-textbox.e0ca5afb.js.map +1 -0
  99. package/dist/chunks/{dropdown.6c010045.js → dropdown.257691c0.js} +14 -15
  100. package/dist/chunks/{dropdown.6c010045.js.map → dropdown.257691c0.js.map} +1 -1
  101. package/dist/chunks/{error-message.498811e4.js → error-message.56247bcc.js} +2 -2
  102. package/dist/chunks/{error-message.498811e4.js.map → error-message.56247bcc.js.map} +1 -1
  103. package/dist/chunks/{fixed-scroller.51b63488.js → fixed-scroller.47546775.js} +2 -2
  104. package/dist/chunks/{fixed-scroller.51b63488.js.map → fixed-scroller.47546775.js.map} +1 -1
  105. package/dist/chunks/{footer-actions.573307ed.js → footer-actions.3c2dbf43.js} +4 -4
  106. package/dist/chunks/{footer-actions.573307ed.js.map → footer-actions.3c2dbf43.js.map} +1 -1
  107. package/dist/chunks/{index.fb0e9e1a.js → index.08d813e2.js} +6 -6
  108. package/dist/chunks/{index.fb0e9e1a.js.map → index.08d813e2.js.map} +1 -1
  109. package/dist/chunks/{index.19dab2ef.js → index.0e01e0b2.js} +3 -3
  110. package/dist/chunks/{index.19dab2ef.js.map → index.0e01e0b2.js.map} +1 -1
  111. package/dist/chunks/{index.c4f8460d.js → index.10c69f39.js} +187 -187
  112. package/dist/chunks/index.10c69f39.js.map +1 -0
  113. package/dist/chunks/{index.037ae52f.js → index.44f2aca7.js} +2 -2
  114. package/dist/chunks/{index.037ae52f.js.map → index.44f2aca7.js.map} +1 -1
  115. package/dist/chunks/{index.9c423f37.js → index.4fb57ba0.js} +6 -6
  116. package/dist/chunks/{index.9c423f37.js.map → index.4fb57ba0.js.map} +1 -1
  117. package/dist/chunks/{index.da4cb1b8.js → index.56c13d2c.js} +16 -17
  118. package/dist/chunks/{index.da4cb1b8.js.map → index.56c13d2c.js.map} +1 -1
  119. package/dist/chunks/{index.d6a0cf32.js → index.824101bb.js} +2 -2
  120. package/dist/chunks/{index.d6a0cf32.js.map → index.824101bb.js.map} +1 -1
  121. package/dist/chunks/{index.6e7e9ac6.js → index.99c63a74.js} +2 -2
  122. package/dist/chunks/{index.6e7e9ac6.js.map → index.99c63a74.js.map} +1 -1
  123. package/dist/chunks/{index.e2793c20.js → index.9aaed799.js} +3 -3
  124. package/dist/chunks/{index.e2793c20.js.map → index.9aaed799.js.map} +1 -1
  125. package/dist/chunks/{index.030fb327.js → index.bf4a116b.js} +20 -19
  126. package/dist/chunks/index.bf4a116b.js.map +1 -0
  127. package/dist/chunks/{index.9d65b72a.js → index.f800b267.js} +2 -2
  128. package/dist/chunks/{index.9d65b72a.js.map → index.f800b267.js.map} +1 -1
  129. package/dist/chunks/{listbox-option-tag.abedc9e0.js → listbox-option-tag.4de1659c.js} +3 -3
  130. package/dist/chunks/{listbox-option-tag.abedc9e0.js.map → listbox-option-tag.4de1659c.js.map} +1 -1
  131. package/dist/chunks/{listbox.8ce17729.js → listbox.eb436d06.js} +5 -5
  132. package/dist/chunks/{listbox.8ce17729.js.map → listbox.eb436d06.js.map} +1 -1
  133. package/dist/chunks/{loading-button.5f58f1cf.js → loading-button.6e15f27f.js} +2 -2
  134. package/dist/chunks/{loading-button.5f58f1cf.js.map → loading-button.6e15f27f.js.map} +1 -1
  135. package/dist/chunks/{payment-method.313f2635.js → payment-method.df1b62db.js} +2 -2
  136. package/dist/chunks/{payment-method.313f2635.js.map → payment-method.df1b62db.js.map} +1 -1
  137. package/dist/chunks/{tooltip.a70c9e69.js → tooltip.066fd8f7.js} +3 -3
  138. package/dist/chunks/{tooltip.a70c9e69.js.map → tooltip.066fd8f7.js.map} +1 -1
  139. package/dist/chunks/use-click-outside.941d1600.js +14 -0
  140. package/dist/chunks/use-click-outside.941d1600.js.map +1 -0
  141. package/dist/code-snippet.js +7 -7
  142. package/dist/code-snippet.js.map +1 -1
  143. package/dist/country.js +2 -2
  144. package/dist/currency.js +1 -1
  145. package/dist/data-grid-template.js +1 -1
  146. package/dist/data-grid.js +1219 -1127
  147. package/dist/data-grid.js.map +1 -1
  148. package/dist/date-picker.js +21 -22
  149. package/dist/date-picker.js.map +1 -1
  150. package/dist/date-range-picker.js +2 -2
  151. package/dist/date.js +1 -1
  152. package/dist/divider.js +1 -1
  153. package/dist/dropdown.js +7 -7
  154. package/dist/empty-state.js +3 -3
  155. package/dist/filter-bar.js +586 -593
  156. package/dist/filter-bar.js.map +1 -1
  157. package/dist/focus-trap.js +1 -1
  158. package/dist/form-layout.js +2 -2
  159. package/dist/header.js +4 -4
  160. package/dist/index.js +19 -19
  161. package/dist/info-icon.js +3 -3
  162. package/dist/input-field.js +4 -4
  163. package/dist/internal.js +8 -8
  164. package/dist/link.js +1 -1
  165. package/dist/loading-indicator.js +1 -1
  166. package/dist/menu.js +1 -1
  167. package/dist/modal-fullscreen.js +6 -6
  168. package/dist/modal.js +6 -6
  169. package/dist/pagination.js +4 -4
  170. package/dist/payment-method.js +1 -1
  171. package/dist/popover.js +1 -1
  172. package/dist/popper-container.js +1 -1
  173. package/dist/radio-group.js +4 -4
  174. package/dist/search-bar.js +2 -2
  175. package/dist/secondary-nav.js +2 -2
  176. package/dist/segmented-control.js +3 -3
  177. package/dist/selection-card.js +4 -4
  178. package/dist/sidepanel.js +6 -6
  179. package/dist/status.js +2 -2
  180. package/dist/stepper.js +152 -141
  181. package/dist/stepper.js.map +1 -1
  182. package/dist/structured-list.js +1 -1
  183. package/dist/summary-grid.js +3 -3
  184. package/dist/tabs.js +3 -3
  185. package/dist/tag.js +2 -2
  186. package/dist/textarea.js +4 -4
  187. package/dist/timeline.js +7 -7
  188. package/dist/toast.js +3 -3
  189. package/dist/toggle.js +2 -2
  190. package/dist/tutorial.js +6 -6
  191. package/dist/typography.js +1 -1
  192. package/dist/web-types.json +1 -1
  193. package/package.json +2 -2
  194. package/dist/chunks/directive.0408e565.js +0 -23
  195. package/dist/chunks/directive.0408e565.js.map +0 -1
  196. package/dist/chunks/dropdown-default-textbox.91ad6585.js.map +0 -1
  197. package/dist/chunks/index.030fb327.js.map +0 -1
  198. package/dist/chunks/index.c4f8460d.js.map +0 -1
  199. /package/dist/@types/packages/vue2/src/components/stepper/composables/{useKeyboardNavigation/useKeyboardNavigation.d.ts → use-keyboard-navigation/use-keyboard-navigation.d.ts} +0 -0
@@ -1,19 +1,19 @@
1
- import { defineComponent as O, computed as M, resolveComponent as v, openBlock as c, createBlock as I, normalizeClass as U, createSlots as j, withCtx as C, createVNode as S, createTextVNode as F, toDisplayString as K, createCommentVNode as E, resolveDynamicComponent as se, createElementBlock as L, renderSlot as N, ref as p, onMounted as ie, Transition as le, createElementVNode as T, withKeys as h, withModifiers as D, Fragment as Z, renderList as z, normalizeStyle as J, mergeProps as Y, inject as ue, provide as ae, resolveDirective as re, withDirectives as de } from "vue";
2
- import { g as W } from "./unique-id.a2a2b458.js";
3
- import { B as ce } from "./directive.0408e565.js";
4
- import { a as me, B as V } from "./index.fb0e9e1a.js";
5
- import { B as G, D as fe } from "./index.9d65b72a.js";
6
- import { u as pe } from "./use-has-slot.4d98bf29.js";
7
- import { _ as R } from "./_plugin-vue_export-helper.dad06003.js";
8
- import { BentoToggleButton as ve } from "../button.js";
9
- import { B as _e } from "./teleport.afeb4c3b.js";
10
- import { a as be, C as H } from "./chevron-left.4ee92950.js";
11
- import { B as ye, a as A } from "./base-button.86be8130.js";
12
- import { B as Ce } from "./index.6e7e9ac6.js";
13
- import "../assets/index18.css";
14
- const he = O({
1
+ import { defineComponent as O, computed as M, resolveComponent as v, openBlock as d, createBlock as $, normalizeClass as j, createSlots as Z, withCtx as C, createVNode as S, createTextVNode as W, toDisplayString as F, createCommentVNode as R, resolveDynamicComponent as se, createElementBlock as L, renderSlot as N, ref as m, onMounted as ie, Transition as le, createElementVNode as T, withKeys as g, withModifiers as D, Fragment as z, renderList as J, normalizeStyle as Y, mergeProps as G, inject as ue, provide as ae } from "vue";
2
+ import { g as V } from "./unique-id.a2a2b458.js";
3
+ import { a as re, B as H } from "./index.08d813e2.js";
4
+ import { B as Q, D as de } from "./index.f800b267.js";
5
+ import { u as ce } from "./use-click-outside.941d1600.js";
6
+ import { u as me } from "./use-has-slot.4d98bf29.js";
7
+ import { _ as E } from "./_plugin-vue_export-helper.dad06003.js";
8
+ import { BentoToggleButton as fe } from "../button.js";
9
+ import { B as pe } from "./teleport.afeb4c3b.js";
10
+ import { a as ve, C as A } from "./chevron-left.4ee92950.js";
11
+ import { B as be, a as q } from "./base-button.13df4e44.js";
12
+ import { B as _e } from "./index.99c63a74.js";
13
+ import "../assets/index15.css";
14
+ const ye = O({
15
15
  name: "menu-item",
16
- components: { BaseButton: ye, BentoTypography: Ce, ChevronRightIcon: be },
16
+ components: { BaseButton: be, BentoTypography: _e, ChevronRightIcon: ve },
17
17
  props: {
18
18
  /**
19
19
  * menu-item text that gets displayed as the main label
@@ -81,7 +81,7 @@ const he = O({
81
81
  default: !1
82
82
  }
83
83
  },
84
- emits: [A.CLICK],
84
+ emits: [q.CLICK],
85
85
  setup(e, { emit: t }) {
86
86
  return {
87
87
  // Values
@@ -91,20 +91,20 @@ const he = O({
91
91
  })),
92
92
  // Methods
93
93
  onClick: (r) => {
94
- r.stopPropagation(), e.handler(), t(A.CLICK);
94
+ r.stopPropagation(), e.handler(), t(q.CLICK);
95
95
  }
96
96
  };
97
97
  }
98
98
  });
99
- function ge(e, t, _, i, r, a) {
100
- const l = v("bento-typography"), s = v("chevron-right-icon"), m = v("base-button");
101
- return c(), I(m, {
102
- class: U(["b-menu-item", e.conditionalClasses]),
99
+ function Ce(e, t, b, i, r, a) {
100
+ const l = v("bento-typography"), s = v("chevron-right-icon"), f = v("base-button");
101
+ return d(), $(f, {
102
+ class: j(["b-menu-item", e.conditionalClasses]),
103
103
  role: "menuitem",
104
104
  disabled: e.disabled,
105
105
  tabindex: "-1",
106
106
  onClick: e.onClick
107
- }, j({
107
+ }, Z({
108
108
  default: C(() => [
109
109
  S(l, {
110
110
  el: "span",
@@ -113,28 +113,28 @@ function ge(e, t, _, i, r, a) {
113
113
  class: "b-menu-item__primary-text"
114
114
  }, {
115
115
  default: C(() => [
116
- F(K(e.text), 1)
116
+ W(F(e.text), 1)
117
117
  ]),
118
118
  _: 1
119
119
  }, 8, ["stronger"]),
120
- e.secondaryText ? (c(), I(l, {
120
+ e.secondaryText ? (d(), $(l, {
121
121
  key: 0,
122
122
  el: "span",
123
123
  variant: "body",
124
124
  class: "b-menu-item__secondary-text"
125
125
  }, {
126
126
  default: C(() => [
127
- F(K(e.secondaryText), 1)
127
+ W(F(e.secondaryText), 1)
128
128
  ]),
129
129
  _: 1
130
- })) : E("", !0)
130
+ })) : R("", !0)
131
131
  ]),
132
132
  _: 2
133
133
  }, [
134
134
  e.icon ? {
135
135
  name: "iconLeft",
136
136
  fn: C(() => [
137
- (c(), I(se(e.icon), {
137
+ (d(), $(se(e.icon), {
138
138
  class: "b-menu-item__icon-left",
139
139
  "aria-hidden": "true"
140
140
  }))
@@ -150,26 +150,26 @@ function ge(e, t, _, i, r, a) {
150
150
  } : void 0
151
151
  ]), 1032, ["class", "disabled", "onClick"]);
152
152
  }
153
- const Q = /* @__PURE__ */ R(he, [["render", ge], ["__scopeId", "data-v-9e8afd9c"]]);
154
- var g = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(g || {});
155
- const Be = O({
153
+ const X = /* @__PURE__ */ E(ye, [["render", Ce], ["__scopeId", "data-v-9e8afd9c"]]);
154
+ var h = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(h || {});
155
+ const ge = O({
156
156
  name: "bento-menu-list-container"
157
157
  });
158
- const Ie = { class: "b-menu-list-container" };
159
- function $e(e, t, _, i, r, a) {
160
- return c(), L("div", Ie, [
158
+ const he = { class: "b-menu-list-container" };
159
+ function Ie(e, t, b, i, r, a) {
160
+ return d(), L("div", he, [
161
161
  N(e.$slots, "default", {}, void 0, !0)
162
162
  ]);
163
163
  }
164
- const X = /* @__PURE__ */ R(Be, [["render", $e], ["__scopeId", "data-v-ea0113ba"]]), x = {
164
+ const x = /* @__PURE__ */ E(ge, [["render", Ie], ["__scopeId", "data-v-ea0113ba"]]), ee = {
165
165
  "en-US": {
166
166
  menuButton: "Open menu",
167
167
  backButton: "Go back"
168
168
  }
169
- }, Me = O({
170
- i18n: { messages: x },
169
+ }, Be = O({
170
+ i18n: { messages: ee },
171
171
  name: "sub-menu-item-list",
172
- components: { BentoDivider: G, MenuItem: Q, MenuListContainer: X },
172
+ components: { BentoDivider: Q, MenuItem: X, MenuListContainer: x },
173
173
  props: {
174
174
  items: {
175
175
  type: Array,
@@ -180,13 +180,13 @@ const X = /* @__PURE__ */ R(Be, [["render", $e], ["__scopeId", "data-v-ea0113ba"
180
180
  required: !0
181
181
  }
182
182
  },
183
- emits: [g.CLOSE, g.BACK],
183
+ emits: [h.CLOSE, h.BACK],
184
184
  setup(e, { emit: t }) {
185
- const _ = p(null), i = p(0), r = p(e.items.length), a = () => t(g.CLOSE), l = () => t(g.BACK), s = M(() => {
186
- var u;
187
- const d = (u = e.items) == null ? void 0 : u.map((b) => ({
188
- ...b,
189
- indent: !b.icon,
185
+ const b = m(null), i = m(0), r = m(e.items.length), a = () => t(h.CLOSE), l = () => t(h.BACK), s = M(() => {
186
+ var _;
187
+ const u = (_ = e.items) == null ? void 0 : _.map((p) => ({
188
+ ...p,
189
+ indent: !p.icon,
190
190
  isTitle: !1,
191
191
  clickHandler: a
192
192
  }));
@@ -195,7 +195,7 @@ const X = /* @__PURE__ */ R(Be, [["render", $e], ["__scopeId", "data-v-ea0113ba"
195
195
  text: e.title,
196
196
  secondaryText: null,
197
197
  critical: !1,
198
- icon: H,
198
+ icon: A,
199
199
  isTitle: !0,
200
200
  disabled: !1,
201
201
  indent: !1,
@@ -203,27 +203,27 @@ const X = /* @__PURE__ */ R(Be, [["render", $e], ["__scopeId", "data-v-ea0113ba"
203
203
  clickHandler: l,
204
204
  addDivider: !0
205
205
  },
206
- ...d
206
+ ...u
207
207
  ];
208
- }), m = async () => {
209
- var d, u, b, $, B;
210
- (B = ($ = (b = (u = (d = _.value) == null ? void 0 : d.children) == null ? void 0 : u[i.value]) == null ? void 0 : b.children) == null ? void 0 : $[0]) == null || B.focus();
208
+ }), f = async () => {
209
+ var u, _, p, I, B;
210
+ (B = (I = (p = (_ = (u = b.value) == null ? void 0 : u.children) == null ? void 0 : _[i.value]) == null ? void 0 : p.children) == null ? void 0 : I[0]) == null || B.focus();
211
211
  };
212
212
  ie(async () => {
213
- setTimeout(() => m(), 150);
213
+ setTimeout(() => f(), 150);
214
214
  });
215
215
  const o = () => {
216
- i.value > 0 ? (i.value -= 1, s.value[i.value].disabled && o()) : i.value = r.value, m();
216
+ i.value > 0 ? (i.value -= 1, s.value[i.value].disabled && o()) : i.value = r.value, f();
217
217
  }, n = () => {
218
- i.value < r.value ? (i.value += 1, s.value[i.value].disabled && n()) : i.value = 0, m();
218
+ i.value < r.value ? (i.value += 1, s.value[i.value].disabled && n()) : i.value = 0, f();
219
219
  };
220
220
  return {
221
221
  // Enums
222
- BentoMenuEvent: g,
222
+ BentoMenuEvent: h,
223
223
  // Values
224
- subMenuItemListRefLocal: _,
224
+ subMenuItemListRefLocal: b,
225
225
  subMenuFocusedIndex: i,
226
- ChevronLeftIcon: H,
226
+ ChevronLeftIcon: A,
227
227
  computedItems: s,
228
228
  // Methods
229
229
  closeMenu: a,
@@ -233,26 +233,26 @@ const X = /* @__PURE__ */ R(Be, [["render", $e], ["__scopeId", "data-v-ea0113ba"
233
233
  };
234
234
  }
235
235
  });
236
- function ke(e, t, _, i, r, a) {
237
- const l = v("menu-item"), s = v("bento-divider"), m = v("menu-list-container");
238
- return c(), I(le, {
236
+ function $e(e, t, b, i, r, a) {
237
+ const l = v("menu-item"), s = v("bento-divider"), f = v("menu-list-container");
238
+ return d(), $(le, {
239
239
  name: "b-sub-menu-item-list__transition",
240
240
  appear: ""
241
241
  }, {
242
242
  default: C(() => [
243
- S(m, { class: "b-sub-menu-item-list" }, {
243
+ S(f, { class: "b-sub-menu-item-list" }, {
244
244
  default: C(() => [
245
245
  T("ul", {
246
246
  ref: "subMenuItemListRefLocal",
247
247
  role: "menu",
248
248
  class: "b-sub-menu-item-list__list",
249
249
  onKeydown: [
250
- t[0] || (t[0] = h(D((...o) => e.focusNext && e.focusNext(...o), ["stop"]), ["down"])),
251
- t[1] || (t[1] = h(D((...o) => e.focusPrevious && e.focusPrevious(...o), ["stop"]), ["up"])),
252
- t[2] || (t[2] = h(D((...o) => e.onBackButton && e.onBackButton(...o), ["stop"]), ["esc"]))
250
+ t[0] || (t[0] = g(D((...o) => e.focusNext && e.focusNext(...o), ["stop"]), ["down"])),
251
+ t[1] || (t[1] = g(D((...o) => e.focusPrevious && e.focusPrevious(...o), ["stop"]), ["up"])),
252
+ t[2] || (t[2] = g(D((...o) => e.onBackButton && e.onBackButton(...o), ["stop"]), ["esc"]))
253
253
  ]
254
254
  }, [
255
- (c(!0), L(Z, null, z(e.computedItems, (o, n) => (c(), L("li", {
255
+ (d(!0), L(z, null, J(e.computedItems, (o, n) => (d(), L("li", {
256
256
  key: `sub-menu-item-list-item-${n}`,
257
257
  role: "none"
258
258
  }, [
@@ -268,10 +268,10 @@ function ke(e, t, _, i, r, a) {
268
268
  tabindex: n === e.subMenuFocusedIndex ? "0" : "-1",
269
269
  onClick: o.clickHandler
270
270
  }, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
271
- o.addDivider ? (c(), I(s, {
271
+ o.addDivider ? (d(), $(s, {
272
272
  key: 0,
273
273
  class: "b-sub-menu-item-list__divider"
274
- })) : E("", !0)
274
+ })) : R("", !0)
275
275
  ]))), 128))
276
276
  ], 544)
277
277
  ]),
@@ -281,9 +281,9 @@ function ke(e, t, _, i, r, a) {
281
281
  _: 1
282
282
  });
283
283
  }
284
- const Se = /* @__PURE__ */ R(Me, [["render", ke], ["__scopeId", "data-v-621db243"]]), Le = O({
284
+ const Me = /* @__PURE__ */ E(Be, [["render", $e], ["__scopeId", "data-v-621db243"]]), ke = O({
285
285
  name: "menu-item-list",
286
- components: { BentoDivider: G, MenuItem: Q, MenuListContainer: X, SubMenuItemList: Se },
286
+ components: { BentoDivider: Q, MenuItem: X, MenuListContainer: x, SubMenuItemList: Me },
287
287
  props: {
288
288
  /**
289
289
  * The data to be displayed in the list
@@ -307,63 +307,63 @@ const Se = /* @__PURE__ */ R(Me, [["render", ke], ["__scopeId", "data-v-621db243
307
307
  default: !1
308
308
  }
309
309
  },
310
- emits: [g.CLOSE],
310
+ emits: [h.CLOSE],
311
311
  setup(e, { emit: t }) {
312
- const _ = p(null), i = p(null), r = p(null), a = p(!1), l = p(null), s = p(e.focusLastElement ? e.data.length - 1 : 0), m = p(0), o = p(e.data.length - 1), n = M(() => e.data.some((f) => f.icon)), d = M(() => e.indentItems || n.value ? e.data.map((f) => {
312
+ const b = m(null), i = m(null), r = m(null), a = m(!1), l = m(null), s = m(e.focusLastElement ? e.data.length - 1 : 0), f = m(0), o = m(e.data.length - 1), n = M(() => e.data.some((c) => c.icon)), u = M(() => e.indentItems || n.value ? e.data.map((c) => {
313
313
  let y = !1;
314
- return f.icon || (y = !0), {
315
- ...f,
314
+ return c.icon || (y = !0), {
315
+ ...c,
316
316
  // eslint-disable-next-line no-param-reassign
317
317
  indent: y
318
318
  };
319
- }) : e.data), u = () => {
320
- var f, y, k;
321
- return (k = (y = (f = _.value) == null ? void 0 : f.children[s.value]) == null ? void 0 : y.children[0]) == null ? void 0 : k.focus();
322
- }, b = () => t(g.CLOSE), $ = async (f, y) => {
323
- f.items ? (l.value = y, a.value = !0) : (l.value = y, a.value = !1, b());
319
+ }) : e.data), _ = () => {
320
+ var c, y, k;
321
+ return (k = (y = (c = b.value) == null ? void 0 : c.children[s.value]) == null ? void 0 : y.children[0]) == null ? void 0 : k.focus();
322
+ }, p = () => t(h.CLOSE), I = async (c, y) => {
323
+ c.items ? (l.value = y, a.value = !0) : (l.value = y, a.value = !1, p());
324
324
  }, B = () => {
325
- s.value > 0 ? (s.value -= 1, d.value[s.value].disabled && B()) : s.value = o.value, u();
325
+ s.value > 0 ? (s.value -= 1, u.value[s.value].disabled && B()) : s.value = o.value, _();
326
326
  }, w = () => {
327
- s.value < o.value ? (s.value += 1, d.value[s.value].disabled && w()) : s.value = 0, u();
328
- }, P = (f, y) => {
327
+ s.value < o.value ? (s.value += 1, u.value[s.value].disabled && w()) : s.value = 0, _();
328
+ }, P = (c, y) => {
329
329
  var k;
330
- (k = f == null ? void 0 : f.items) != null && k.length && (l.value = y, a.value = !0);
331
- }, ee = () => {
330
+ (k = c == null ? void 0 : c.items) != null && k.length && (l.value = y, a.value = !0);
331
+ }, K = () => {
332
332
  l.value && a.value && (l.value = null, a.value = !1);
333
333
  }, te = () => {
334
- a.value = !1, l.value = null, u();
334
+ a.value = !1, l.value = null, _();
335
335
  }, ne = M(() => {
336
- var f, y, k;
337
- return (k = (y = (f = r.value) == null ? void 0 : f[0]) == null ? void 0 : y.$el) == null ? void 0 : k.offsetHeight;
336
+ var c, y, k;
337
+ return (k = (y = (c = r.value) == null ? void 0 : c[0]) == null ? void 0 : y.$el) == null ? void 0 : k.offsetHeight;
338
338
  }), oe = M(() => a.value ? `${ne.value}px` : "");
339
339
  return {
340
340
  // Values
341
- menuItemListRef: _,
341
+ menuItemListRef: b,
342
342
  menuItemListWrapperRef: i,
343
343
  subMenuItemListRef: r,
344
- computedData: d,
344
+ computedData: u,
345
345
  computedHeight: oe,
346
346
  focusedIndex: s,
347
- subMenuFocusedIndex: m,
347
+ subMenuFocusedIndex: f,
348
348
  showSubMenu: a,
349
349
  visibleSubMenuIndex: l,
350
350
  // Methods
351
- toggleMenu: $,
352
- closeMenu: b,
351
+ toggleMenu: I,
352
+ closeMenu: p,
353
353
  focusPrevious: B,
354
354
  focusNext: w,
355
355
  focusRight: P,
356
- focusLeft: ee,
356
+ focusLeft: K,
357
357
  onBackButton: te
358
358
  };
359
359
  }
360
360
  });
361
- const we = ["onKeydown"];
362
- function Ee(e, t, _, i, r, a) {
363
- const l = v("menu-item"), s = v("bento-divider"), m = v("sub-menu-item-list"), o = v("menu-list-container");
364
- return c(), I(o, {
361
+ const Se = ["onKeydown"];
362
+ function Le(e, t, b, i, r, a) {
363
+ const l = v("menu-item"), s = v("bento-divider"), f = v("sub-menu-item-list"), o = v("menu-list-container");
364
+ return d(), $(o, {
365
365
  ref: "menuItemListWrapperRef",
366
- style: J({ height: e.computedHeight })
366
+ style: Y({ height: e.computedHeight })
367
367
  }, {
368
368
  default: C(() => [
369
369
  T("ul", {
@@ -371,42 +371,42 @@ function Ee(e, t, _, i, r, a) {
371
371
  class: "b-menu-item-list",
372
372
  role: "menu",
373
373
  onKeydown: [
374
- t[1] || (t[1] = h((...n) => e.focusNext && e.focusNext(...n), ["down"])),
375
- t[2] || (t[2] = h((...n) => e.focusPrevious && e.focusPrevious(...n), ["up"])),
376
- t[3] || (t[3] = h((...n) => e.closeMenu && e.closeMenu(...n), ["esc"])),
377
- t[4] || (t[4] = h((...n) => e.closeMenu && e.closeMenu(...n), ["tab"]))
374
+ t[1] || (t[1] = g((...n) => e.focusNext && e.focusNext(...n), ["down"])),
375
+ t[2] || (t[2] = g((...n) => e.focusPrevious && e.focusPrevious(...n), ["up"])),
376
+ t[3] || (t[3] = g((...n) => e.closeMenu && e.closeMenu(...n), ["esc"])),
377
+ t[4] || (t[4] = g((...n) => e.closeMenu && e.closeMenu(...n), ["tab"]))
378
378
  ]
379
379
  }, [
380
- (c(!0), L(Z, null, z(e.computedData, (n, d) => {
381
- var u, b, $, B;
382
- return c(), L("li", {
383
- key: `menu-item-${d}`,
380
+ (d(!0), L(z, null, J(e.computedData, (n, u) => {
381
+ var _, p, I, B;
382
+ return d(), L("li", {
383
+ key: `menu-item-${u}`,
384
384
  class: "b-menu-item-list__item",
385
385
  role: "none",
386
386
  onKeydown: [
387
- h((w) => e.focusRight(n, d), ["right"]),
388
- t[0] || (t[0] = h((w) => e.focusLeft(), ["left"]))
387
+ g((w) => e.focusRight(n, u), ["right"]),
388
+ t[0] || (t[0] = g((w) => e.focusLeft(), ["left"]))
389
389
  ]
390
390
  }, [
391
391
  S(l, {
392
392
  text: n.text,
393
- handler: (u = n.items) != null && u.length ? () => null : n.handler,
393
+ handler: (_ = n.items) != null && _.length ? () => null : n.handler,
394
394
  "secondary-text": n.secondaryText,
395
395
  icon: n.icon,
396
- chevron: !!((b = n.items) != null && b.length),
396
+ chevron: !!((p = n.items) != null && p.length),
397
397
  disabled: n.disabled,
398
398
  critical: n.critical,
399
399
  indent: n.indent,
400
- tabindex: d === e.subMenuFocusedIndex ? "0" : "-1",
401
- "aria-haspopup": !!(($ = n.items) != null && $.length),
402
- "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === d,
403
- onClick: (w) => e.toggleMenu(n, d)
400
+ tabindex: u === e.subMenuFocusedIndex ? "0" : "-1",
401
+ "aria-haspopup": !!((I = n.items) != null && I.length),
402
+ "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === u,
403
+ onClick: (w) => e.toggleMenu(n, u)
404
404
  }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
405
- n.addDivider ? (c(), I(s, {
405
+ n.addDivider ? (d(), $(s, {
406
406
  key: 0,
407
407
  class: "b-menu-item-list__divider"
408
- })) : E("", !0),
409
- (B = n.items) != null && B.length && e.showSubMenu && e.visibleSubMenuIndex === d ? (c(), I(m, {
408
+ })) : R("", !0),
409
+ (B = n.items) != null && B.length && e.showSubMenu && e.visibleSubMenuIndex === u ? (d(), $(f, {
410
410
  key: 1,
411
411
  ref_for: !0,
412
412
  ref: "subMenuItemListRef",
@@ -414,49 +414,48 @@ function Ee(e, t, _, i, r, a) {
414
414
  title: n.text,
415
415
  onBack: e.onBackButton,
416
416
  onClose: e.closeMenu
417
- }, null, 8, ["items", "title", "onBack", "onClose"])) : E("", !0)
418
- ], 40, we);
417
+ }, null, 8, ["items", "title", "onBack", "onClose"])) : R("", !0)
418
+ ], 40, Se);
419
419
  }), 128))
420
420
  ], 544)
421
421
  ]),
422
422
  _: 1
423
423
  }, 8, ["style"]);
424
424
  }
425
- const Re = /* @__PURE__ */ R(Le, [["render", Ee], ["__scopeId", "data-v-f1d94ee8"]]), Oe = Symbol("menu inverse style injection key");
426
- let q = 0;
427
- const Te = {
425
+ const we = /* @__PURE__ */ E(ke, [["render", Le], ["__scopeId", "data-v-f1d94ee8"]]), Re = Symbol("menu inverse style injection key");
426
+ let U = 0;
427
+ const Ee = {
428
428
  beforeCreate() {
429
- this.uuid = q.toString(), q += 1;
429
+ this.uuid = U.toString(), U += 1;
430
430
  }
431
- }, Ne = { key: 0 }, Pe = /* @__PURE__ */ T("path", {
431
+ }, Oe = { key: 0 }, Te = /* @__PURE__ */ T("path", {
432
432
  fill: "#00112C",
433
433
  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"
434
- }, null, -1), De = /* @__PURE__ */ T("path", {
434
+ }, null, -1), Ne = /* @__PURE__ */ T("path", {
435
435
  fill: "#00112C",
436
436
  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"
437
- }, null, -1), Ke = /* @__PURE__ */ T("path", {
437
+ }, null, -1), Pe = /* @__PURE__ */ T("path", {
438
438
  fill: "#00112C",
439
439
  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"
440
440
  }, null, -1);
441
- function Fe(e, t, _, i, r, a) {
442
- return c(), L("svg", Y({ role: "img" }, e.$attrs, {
441
+ function Ke(e, t, b, i, r, a) {
442
+ return d(), L("svg", G({ role: "img" }, e.$attrs, {
443
443
  class: "ui-assets-icons-16",
444
444
  xmlns: "http://www.w3.org/2000/svg",
445
445
  width: "16",
446
446
  height: "16",
447
447
  fill: "none"
448
448
  }), [
449
- e.$attrs["svg-title"] ? (c(), L("title", Ne, K(e.$attrs["svg-title"]), 1)) : E("", !0),
450
- Pe,
451
- De,
452
- Ke
449
+ e.$attrs["svg-title"] ? (d(), L("title", Oe, F(e.$attrs["svg-title"]), 1)) : R("", !0),
450
+ Te,
451
+ Ne,
452
+ Pe
453
453
  ], 16);
454
454
  }
455
- const We = /* @__PURE__ */ R(Te, [["render", Fe]]), Ve = O({
456
- i18n: { messages: x },
455
+ const De = /* @__PURE__ */ E(Ee, [["render", Ke]]), Fe = O({
456
+ i18n: { messages: ee },
457
457
  name: "bento-menu",
458
- components: { BentoToggleButton: ve, BentoPopover: me, BentoTeleport: _e, MenuItemList: Re, OptionsVerticalIcon: We },
459
- directives: { BentoClickOutsideDirective: ce },
458
+ components: { BentoToggleButton: fe, BentoPopover: re, BentoTeleport: pe, MenuItemList: we, OptionsVerticalIcon: De },
460
459
  props: {
461
460
  /**
462
461
  * Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.
@@ -479,8 +478,8 @@ const We = /* @__PURE__ */ R(Te, [["render", Fe]]), Ve = O({
479
478
  */
480
479
  menuPosition: {
481
480
  type: String,
482
- default: V.BOTTOM_START,
483
- validator: (e) => Object.values(V).includes(e)
481
+ default: H.BOTTOM_START,
482
+ validator: (e) => Object.values(H).includes(e)
484
483
  },
485
484
  /**
486
485
  * Instructs the menu popover to be visible outside of the containing container.
@@ -506,61 +505,63 @@ const We = /* @__PURE__ */ R(Te, [["render", Fe]]), Ve = O({
506
505
  default: !1
507
506
  }
508
507
  },
509
- emits: [g.CLOSE, g.OPEN],
510
- setup(e, { emit: t, slots: _ }) {
511
- const i = p(null), r = p(!1), a = p(!1), l = W("menu"), s = W("menu-popover"), m = ue(Oe, p(!1));
512
- ae(fe, m);
513
- const o = M(() => ({
514
- "b-menu--inverse": m.value
515
- })), n = M(() => e.menuWidth ? { width: `${e.menuWidth}px` } : null), d = M(() => {
508
+ emits: [h.CLOSE, h.OPEN],
509
+ setup(e, { emit: t, slots: b }) {
510
+ const i = m(null), r = m(!1), a = m(!1), l = m(null), s = V("menu"), f = V("menu-popover"), o = ue(Re, m(!1));
511
+ ae(de, o);
512
+ const n = M(() => ({
513
+ "b-menu--inverse": o.value
514
+ })), u = M(() => e.menuWidth ? { width: `${e.menuWidth}px` } : null), _ = M(() => {
516
515
  if (e != null && e.button)
517
516
  return {
518
517
  variant: "secondary",
519
518
  ...e.button
520
519
  };
521
- }), u = () => {
522
- r.value = !0, t(g.OPEN);
523
- }, b = () => {
524
- r.value && (r.value = !1, i.value.$el.focus(), t(g.CLOSE));
525
- }, $ = (P) => {
526
- P.stopPropagation(), r.value ? b() : u();
527
- }, B = () => {
528
- a.value = !1, u();
520
+ }), p = () => {
521
+ r.value = !0, t(h.OPEN);
522
+ }, I = () => {
523
+ r.value && (r.value = !1, i.value.$el.focus(), t(h.CLOSE));
524
+ }, B = (K) => {
525
+ K.stopPropagation(), r.value ? I() : p();
529
526
  }, w = () => {
530
- a.value = !0, u();
527
+ a.value = !1, p();
528
+ }, P = () => {
529
+ a.value = !0, p();
531
530
  };
532
- return {
533
- // Values
531
+ return ce(l, I, { ignore: [i] }), {
532
+ // Refs
533
+ popoverRef: l,
534
534
  menuButtonRef: i,
535
- menuId: l,
536
- popoverId: s,
535
+ // Values
536
+ menuId: s,
537
+ popoverId: f,
537
538
  showMenu: r,
538
- computedButtonPropsWithDefaults: d,
539
- computedMenuWidth: n,
539
+ computedButtonPropsWithDefaults: _,
540
+ computedMenuWidth: u,
540
541
  isLastElementFocused: a,
541
542
  // Classes
542
- computedClasses: o,
543
- isInverseColorSet: m,
543
+ computedClasses: n,
544
+ isInverseColorSet: o,
544
545
  // Methods
545
- hasSlot: pe(_),
546
- onKeyDown: B,
547
- onKeyUp: w,
548
- closeMenu: b,
549
- toggleShowMenu: $
546
+ hasSlot: me(b),
547
+ onKeyDown: w,
548
+ onKeyUp: P,
549
+ closeMenu: I,
550
+ toggleShowMenu: B
550
551
  };
551
552
  }
552
553
  });
553
- function He(e, t, _, i, r, a) {
554
- const l = v("options-vertical-icon"), s = v("bento-toggle-button"), m = v("menu-item-list"), o = v("bento-popover"), n = v("bento-teleport"), d = re("bento-click-outside-directive");
555
- return de((c(), L("div", {
556
- class: U([e.computedClasses, "b-menu"]),
554
+ function We(e, t, b, i, r, a) {
555
+ const l = v("options-vertical-icon"), s = v("bento-toggle-button"), f = v("menu-item-list"), o = v("bento-popover"), n = v("bento-teleport");
556
+ return d(), L("div", {
557
+ class: j([e.computedClasses, "b-menu"]),
557
558
  onKeydown: [
558
- t[0] || (t[0] = h((...u) => e.onKeyDown && e.onKeyDown(...u), ["down"])),
559
- t[1] || (t[1] = h((...u) => e.onKeyUp && e.onKeyUp(...u), ["up"])),
560
- t[2] || (t[2] = h((...u) => e.closeMenu && e.closeMenu(...u), ["esc"]))
559
+ t[0] || (t[0] = g((...u) => e.onKeyDown && e.onKeyDown(...u), ["down"])),
560
+ t[1] || (t[1] = g((...u) => e.onKeyUp && e.onKeyUp(...u), ["up"])),
561
+ t[2] || (t[2] = g((...u) => e.closeMenu && e.closeMenu(...u), ["esc"]))
561
562
  ]
562
563
  }, [
563
- S(s, Y({
564
+ S(s, G({
564
565
  ref: "menuButtonRef",
565
566
  "aria-haspopup": "true"
566
567
  }, e.computedButtonPropsWithDefaults, {
@@ -568,7 +569,7 @@ function He(e, t, _, i, r, a) {
568
569
  toggled: e.showMenu,
569
570
  inverse: e.isInverseColorSet,
570
571
  onClick: e.toggleShowMenu
571
- }), j({ _: 2 }, [
572
+ }), Z({ _: 2 }, [
572
573
  !e.hasSlot("default") || e.hasSlot("iconLeft") ? {
573
574
  name: "iconLeft",
574
575
  fn: C(() => [
@@ -595,17 +596,18 @@ function He(e, t, _, i, r, a) {
595
596
  key: "2"
596
597
  } : void 0
597
598
  ]), 1040, ["aria-controls", "toggled", "inverse", "onClick"]),
598
- e.menuButtonRef ? (c(), I(n, {
599
+ e.menuButtonRef ? (d(), $(n, {
599
600
  key: 0,
600
601
  disabled: !e.teleport
601
602
  }, {
602
603
  default: C(() => [
603
- e.menuButtonRef ? (c(), I(o, {
604
+ e.menuButtonRef ? (d(), $(o, {
604
605
  key: 0,
605
606
  id: e.menuId,
607
+ ref: "popoverRef",
606
608
  open: e.showMenu,
607
609
  class: "b-menu__popover",
608
- style: J(e.computedMenuWidth),
610
+ style: Y(e.computedMenuWidth),
609
611
  "target-element": e.menuButtonRef,
610
612
  position: e.menuPosition,
611
613
  "fixed-positioning": e.menuFixedPositioning,
@@ -623,26 +625,24 @@ function He(e, t, _, i, r, a) {
623
625
  "without-space": ""
624
626
  }, {
625
627
  default: C(() => [
626
- S(m, {
628
+ S(f, {
627
629
  data: e.data,
628
630
  "focus-last-element": e.isLastElementFocused,
629
631
  onClose: e.closeMenu
630
632
  }, null, 8, ["data", "focus-last-element", "onClose"])
631
633
  ]),
632
634
  _: 1
633
- }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : E("", !0)
635
+ }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : R("", !0)
634
636
  ]),
635
637
  _: 1
636
- }, 8, ["disabled"])) : E("", !0)
637
- ], 34)), [
638
- [d, e.closeMenu]
639
- ]);
638
+ }, 8, ["disabled"])) : R("", !0)
639
+ ], 34);
640
640
  }
641
- const et = /* @__PURE__ */ R(Ve, [["render", He], ["__scopeId", "data-v-37829e77"]]);
641
+ const Xe = /* @__PURE__ */ E(Fe, [["render", We], ["__scopeId", "data-v-42faec3b"]]);
642
642
  export {
643
- et as B,
644
- Oe as M,
645
- We as O,
646
- g as a
643
+ Xe as B,
644
+ Re as M,
645
+ De as O,
646
+ h as a
647
647
  };
648
- //# sourceMappingURL=index.c4f8460d.js.map
648
+ //# sourceMappingURL=index.10c69f39.js.map