@adyen/bento-vue3 1.96.1 → 1.97.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 (176) hide show
  1. package/dist/@types/index.d.ts +159 -125
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/alert.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/calendar.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/country.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-picker.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/date-time-picker.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/file-uploader.css +1 -1
  20. package/dist/assets/filter-bar.css +1 -1
  21. package/dist/assets/inspector.css +1 -1
  22. package/dist/assets/modal-fullscreen.css +1 -1
  23. package/dist/assets/navigation-menu-group.css +1 -1
  24. package/dist/assets/secondary-nav.css +1 -1
  25. package/dist/assets/sidepanel.css +1 -1
  26. package/dist/assets/summary-grid.css +1 -1
  27. package/dist/assets/textarea.css +1 -1
  28. package/dist/button.js +1 -1
  29. package/dist/card.js +1 -1
  30. package/dist/checkbox.js +2 -2
  31. package/dist/chunks/{action-bar.CIVprT2U.js → action-bar.BEV9uXHS.js} +3 -3
  32. package/dist/chunks/{action-bar.CIVprT2U.js.map → action-bar.BEV9uXHS.js.map} +1 -1
  33. package/dist/chunks/{ai-tag.DkTlRY__.js → ai-tag.BSzY3-0w.js} +2 -2
  34. package/dist/chunks/{ai-tag.DkTlRY__.js.map → ai-tag.BSzY3-0w.js.map} +1 -1
  35. package/dist/chunks/{alert.RD0qOLhx.js → alert.V1imvtyI.js} +3 -3
  36. package/dist/chunks/alert.V1imvtyI.js.map +1 -0
  37. package/dist/chunks/{base-modal.BKtpH-qh.js → base-modal.B7SiRo7c.js} +3 -3
  38. package/dist/chunks/{base-modal.BKtpH-qh.js.map → base-modal.B7SiRo7c.js.map} +1 -1
  39. package/dist/chunks/{button-actions-with-menu.cMAAF47d.js → button-actions-with-menu.DoUcLg-M.js} +2 -2
  40. package/dist/chunks/{button-actions-with-menu.cMAAF47d.js.map → button-actions-with-menu.DoUcLg-M.js.map} +1 -1
  41. package/dist/chunks/{button-actions.CxTxPprd.js → button-actions.CWmTl4cF.js} +170 -161
  42. package/dist/chunks/{button-actions.CxTxPprd.js.map → button-actions.CWmTl4cF.js.map} +1 -1
  43. package/dist/chunks/calendar.6NKd6IMo.js +1272 -0
  44. package/dist/chunks/calendar.6NKd6IMo.js.map +1 -0
  45. package/dist/chunks/{card.CQlyqa5-.js → card.Ca7FkYxy.js} +2 -2
  46. package/dist/chunks/{card.CQlyqa5-.js.map → card.Ca7FkYxy.js.map} +1 -1
  47. package/dist/chunks/{checkbox-group.BcDIXL27.js → checkbox-group.BWx4wn0F.js} +2 -2
  48. package/dist/chunks/{checkbox-group.BcDIXL27.js.map → checkbox-group.BWx4wn0F.js.map} +1 -1
  49. package/dist/chunks/{checkbox.LTRqb-pE.js → checkbox.DwfrmbwI.js} +18 -18
  50. package/dist/chunks/{checkbox.LTRqb-pE.js.map → checkbox.DwfrmbwI.js.map} +1 -1
  51. package/dist/chunks/{code-snippet.DHzB-8JJ.js → code-snippet.Cp61a0Ud.js} +3 -3
  52. package/dist/chunks/{code-snippet.DHzB-8JJ.js.map → code-snippet.Cp61a0Ud.js.map} +1 -1
  53. package/dist/chunks/{country.15m_ATbO.js → country.a-fpQGLP.js} +2 -2
  54. package/dist/chunks/country.a-fpQGLP.js.map +1 -0
  55. package/dist/chunks/{dashboard-section.Da6ZFGtm.js → dashboard-section.BR0xU-b-.js} +2 -2
  56. package/dist/chunks/{dashboard-section.Da6ZFGtm.js.map → dashboard-section.BR0xU-b-.js.map} +1 -1
  57. package/dist/chunks/{dashed-underline.DJmMXcdt.js → dashed-underline.CxpIRlCx.js} +2 -2
  58. package/dist/chunks/{dashed-underline.DJmMXcdt.js.map → dashed-underline.CxpIRlCx.js.map} +1 -1
  59. package/dist/chunks/{data-grid-template.-MuGcJp1.js → data-grid-template.LTILymaF.js} +2 -2
  60. package/dist/chunks/{data-grid-template.-MuGcJp1.js.map → data-grid-template.LTILymaF.js.map} +1 -1
  61. package/dist/chunks/{data-grid.kZgqWqQx.js → data-grid.xcmkjuyg.js} +26 -27
  62. package/dist/chunks/{data-grid.kZgqWqQx.js.map → data-grid.xcmkjuyg.js.map} +1 -1
  63. package/dist/chunks/date-picker.CCETX031.js +279 -0
  64. package/dist/chunks/date-picker.CCETX031.js.map +1 -0
  65. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  66. package/dist/chunks/date-range-picker.CtGaxtYh.js +1095 -0
  67. package/dist/chunks/date-range-picker.CtGaxtYh.js.map +1 -0
  68. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  69. package/dist/chunks/{draggable-handle.C1dudqKz.js → draggable-handle.CUecl-HB.js} +2 -2
  70. package/dist/chunks/{draggable-handle.C1dudqKz.js.map → draggable-handle.CUecl-HB.js.map} +1 -1
  71. package/dist/chunks/{dropdown-tag.C1ei1SyR.js → dropdown-tag.BgZYYc_D.js} +2 -2
  72. package/dist/chunks/{dropdown-tag.C1ei1SyR.js.map → dropdown-tag.BgZYYc_D.js.map} +1 -1
  73. package/dist/chunks/dropdown.C97ShfXZ.js +2958 -0
  74. package/dist/chunks/dropdown.C97ShfXZ.js.map +1 -0
  75. package/dist/chunks/{file-uploader.C9YOBRQg.js → file-uploader.CXgAfp0m.js} +2 -2
  76. package/dist/chunks/{file-uploader.C9YOBRQg.js.map → file-uploader.CXgAfp0m.js.map} +1 -1
  77. package/dist/chunks/{filter-bar.CzFtzztU.js → filter-bar.D8BVPHLT.js} +44 -41
  78. package/dist/chunks/filter-bar.D8BVPHLT.js.map +1 -0
  79. package/dist/chunks/{footer-actions.zlKq74F1.js → footer-actions.C_HlJeXP.js} +2 -2
  80. package/dist/chunks/{footer-actions.zlKq74F1.js.map → footer-actions.C_HlJeXP.js.map} +1 -1
  81. package/dist/chunks/{form-layout-title.Kwve4xv2.js → form-layout-title.CWw0poO8.js} +2 -2
  82. package/dist/chunks/{form-layout-title.Kwve4xv2.js.map → form-layout-title.CWw0poO8.js.map} +1 -1
  83. package/dist/chunks/{header-meta.NFZo1ACP.js → header-meta.yBxBW12f.js} +2 -2
  84. package/dist/chunks/{header-meta.NFZo1ACP.js.map → header-meta.yBxBW12f.js.map} +1 -1
  85. package/dist/chunks/{header-with-views.ubPTyW9A.js → header-with-views.qCyKEZW1.js} +8 -8
  86. package/dist/chunks/{header-with-views.ubPTyW9A.js.map → header-with-views.qCyKEZW1.js.map} +1 -1
  87. package/dist/chunks/{header.Ds0sFKBB.js → header.aJLkRe1D.js} +3 -3
  88. package/dist/chunks/{header.Ds0sFKBB.js.map → header.aJLkRe1D.js.map} +1 -1
  89. package/dist/chunks/{input-field-password.CZ-NTpZF.js → input-field-password.DUSoJYKT.js} +3 -3
  90. package/dist/chunks/{input-field-password.CZ-NTpZF.js.map → input-field-password.DUSoJYKT.js.map} +1 -1
  91. package/dist/chunks/{input-field-phone-number.DOHk6gSp.js → input-field-phone-number.Q-bQJL4g.js} +2 -2
  92. package/dist/chunks/{input-field-phone-number.DOHk6gSp.js.map → input-field-phone-number.Q-bQJL4g.js.map} +1 -1
  93. package/dist/chunks/{input-field.DBlTGgAD.js → input-field.CvnmfrzQ.js} +2 -2
  94. package/dist/chunks/{input-field.DBlTGgAD.js.map → input-field.CvnmfrzQ.js.map} +1 -1
  95. package/dist/chunks/{input-time.CHIjCO74.js → input-time.CGPUOOQ9.js} +45 -45
  96. package/dist/chunks/{input-time.CHIjCO74.js.map → input-time.CGPUOOQ9.js.map} +1 -1
  97. package/dist/chunks/{modal-fullscreen.DmruiE3n.js → modal-fullscreen.CBxh_3gU.js} +2 -2
  98. package/dist/chunks/{modal-fullscreen.DmruiE3n.js.map → modal-fullscreen.CBxh_3gU.js.map} +1 -1
  99. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js → modal.vue_vue_type_script_setup_true_lang.C3xuswtY.js} +4 -4
  100. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js.map → modal.vue_vue_type_script_setup_true_lang.C3xuswtY.js.map} +1 -1
  101. package/dist/chunks/{pagination.DbpHH_53.js → pagination.cNByWBP1.js} +2 -2
  102. package/dist/chunks/{pagination.DbpHH_53.js.map → pagination.cNByWBP1.js.map} +1 -1
  103. package/dist/chunks/{rich-text-editor.u-V4fNWK.js → rich-text-editor.CJA_d518.js} +3 -3
  104. package/dist/chunks/{rich-text-editor.u-V4fNWK.js.map → rich-text-editor.CJA_d518.js.map} +1 -1
  105. package/dist/chunks/{search-bar.TKgi1KLs.js → search-bar.CLjqWNaI.js} +6 -6
  106. package/dist/chunks/{search-bar.TKgi1KLs.js.map → search-bar.CLjqWNaI.js.map} +1 -1
  107. package/dist/chunks/{secondary-nav.0OsJiAWI.js → secondary-nav.BU47gyEO.js} +2 -2
  108. package/dist/chunks/{secondary-nav.0OsJiAWI.js.map → secondary-nav.BU47gyEO.js.map} +1 -1
  109. package/dist/chunks/{selection-card-group.C59ZIrVm.js → selection-card-group.C2Av3uyz.js} +9 -9
  110. package/dist/chunks/{selection-card-group.C59ZIrVm.js.map → selection-card-group.C2Av3uyz.js.map} +1 -1
  111. package/dist/chunks/{sidepanel.BVQt6Tac.js → sidepanel.Dw2If3qM.js} +3 -3
  112. package/dist/chunks/{sidepanel.BVQt6Tac.js.map → sidepanel.Dw2If3qM.js.map} +1 -1
  113. package/dist/chunks/{summary-grid.types.9sUs0LS0.js → summary-grid.types.Cnrc4ThJ.js} +3 -3
  114. package/dist/chunks/summary-grid.types.Cnrc4ThJ.js.map +1 -0
  115. package/dist/chunks/{timeline-item.DfwOm5do.js → timeline-item.BWhCoOf1.js} +3 -3
  116. package/dist/chunks/{timeline-item.DfwOm5do.js.map → timeline-item.BWhCoOf1.js.map} +1 -1
  117. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js → tutorial.vue_vue_type_script_setup_true_lang.QWcInKo7.js} +2 -2
  118. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js.map → tutorial.vue_vue_type_script_setup_true_lang.QWcInKo7.js.map} +1 -1
  119. package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js.map +1 -1
  120. package/dist/chunks/{use-date-input-formatter.x285YiSd.js → use-date-input-formatter.QXaVIBS0.js} +2 -2
  121. package/dist/chunks/{use-date-input-formatter.x285YiSd.js.map → use-date-input-formatter.QXaVIBS0.js.map} +1 -1
  122. package/dist/code-snippet.js +1 -1
  123. package/dist/country.js +1 -1
  124. package/dist/dashboard-template.js +1 -1
  125. package/dist/dashed-underline.js +1 -1
  126. package/dist/data-grid-template.js +1 -1
  127. package/dist/data-grid.js +1 -1
  128. package/dist/date-picker.js +2 -2
  129. package/dist/date-range-picker.js +2 -2
  130. package/dist/date-time-picker.js +87 -79
  131. package/dist/date-time-picker.js.map +1 -1
  132. package/dist/draggable.js +1 -1
  133. package/dist/dropdown.js +11 -12
  134. package/dist/dropdown.js.map +1 -1
  135. package/dist/file-uploader.js +1 -1
  136. package/dist/filter-bar.js +1 -1
  137. package/dist/form-layout.js +1 -1
  138. package/dist/header-with-views.js +1 -1
  139. package/dist/header.js +1 -1
  140. package/dist/index.js +255 -256
  141. package/dist/index.js.map +1 -1
  142. package/dist/input-field-password.js +1 -1
  143. package/dist/input-field-phone-number.js +1 -1
  144. package/dist/input-field.js +1 -1
  145. package/dist/input-time.js +1 -1
  146. package/dist/internal.js +13 -13
  147. package/dist/menu.js +1 -1
  148. package/dist/modal-fullscreen.js +1 -1
  149. package/dist/modal.js +2 -2
  150. package/dist/pagination.js +1 -1
  151. package/dist/popover.js +1 -1
  152. package/dist/rich-text-editor.js +1 -1
  153. package/dist/search-bar.js +2 -2
  154. package/dist/secondary-nav.js +1 -1
  155. package/dist/selection-card.js +1 -1
  156. package/dist/sidepanel.js +1 -1
  157. package/dist/summary-grid.js +1 -1
  158. package/dist/timeline.js +1 -1
  159. package/dist/tutorial.js +1 -1
  160. package/dist/web-types.json +1 -1
  161. package/package.json +4 -4
  162. package/dist/assets/use-cached-selected-values.css +0 -1
  163. package/dist/chunks/alert.RD0qOLhx.js.map +0 -1
  164. package/dist/chunks/calendar.iQyNwQBL.js +0 -1207
  165. package/dist/chunks/calendar.iQyNwQBL.js.map +0 -1
  166. package/dist/chunks/country.15m_ATbO.js.map +0 -1
  167. package/dist/chunks/date-picker.DyImOUH4.js +0 -277
  168. package/dist/chunks/date-picker.DyImOUH4.js.map +0 -1
  169. package/dist/chunks/date-range-picker.BigC6wm2.js +0 -1019
  170. package/dist/chunks/date-range-picker.BigC6wm2.js.map +0 -1
  171. package/dist/chunks/dropdown.C5um1anU.js +0 -1233
  172. package/dist/chunks/dropdown.C5um1anU.js.map +0 -1
  173. package/dist/chunks/filter-bar.CzFtzztU.js.map +0 -1
  174. package/dist/chunks/summary-grid.types.9sUs0LS0.js.map +0 -1
  175. package/dist/chunks/use-cached-selected-values.DOw5IKdU.js +0 -1740
  176. package/dist/chunks/use-cached-selected-values.DOw5IKdU.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, useSlots as q, computed as g, openBlock as l, createBlock as y, withModifiers as z, normalizeClass as K, createSlots as V, withCtx as b, renderSlot as R, unref as p, createElementVNode as W, createCommentVNode as I, mergeProps as Y, renderList as Z, normalizeProps as Te, guardReactiveProps as Me, resolveComponent as S, createVNode as O, createTextVNode as G, toDisplayString as U, onMounted as Q, onUnmounted as fe, useAttrs as Ne, inject as M, ref as v, toRefs as we, Transition as me, createElementBlock as C, Teleport as Re, resolveDynamicComponent as H, toHandlers as ne, withKeys as T, Fragment as X, watch as pe, nextTick as x, toRef as ve, normalizeStyle as be, provide as Ae } from "vue";
1
+ import { defineComponent as L, useSlots as q, computed as g, openBlock as r, createBlock as y, withModifiers as z, normalizeClass as K, createSlots as V, withCtx as b, renderSlot as R, unref as p, createElementVNode as W, createCommentVNode as I, mergeProps as Y, renderList as Z, normalizeProps as Te, guardReactiveProps as Me, resolveComponent as S, createVNode as O, createTextVNode as G, toDisplayString as U, onMounted as Q, onUnmounted as fe, useAttrs as Ne, inject as M, ref as v, toRefs as we, Transition as me, createElementBlock as C, Teleport as Re, resolveDynamicComponent as H, toHandlers as ne, withKeys as T, Fragment as X, watch as pe, nextTick as x, toRef as ve, normalizeStyle as be, provide as Ae } from "vue";
2
2
  import { B as E } from "./button.DWF7FSIw.js";
3
3
  import { B as De } from "./loading-indicator.BPol9I84.js";
4
4
  import { C as Pe } from "./cross-circle-fill.BWCKKn0E.js";
@@ -91,7 +91,7 @@ const Ce = {
91
91
  },
92
92
  emits: ["click"],
93
93
  setup(e, { emit: n }) {
94
- const i = e, o = n, r = q(), d = oe(r), { t: u } = ye({ messages: Ce }), f = g(() => ({
94
+ const i = e, o = n, u = q(), c = oe(u), { t: d } = ye({ messages: Ce }), f = g(() => ({
95
95
  [`b-loading-button--${i.variant}-${w.LOADING}`]: i.state === w.LOADING && !i.disabled,
96
96
  "b-loading-button--loading": i.state === w.LOADING && !i.disabled,
97
97
  [`b-loading-button--${i.variant}-${w.SUCCESS}`]: i.state === w.SUCCESS,
@@ -100,10 +100,10 @@ const Ce = {
100
100
  () => i.variant === "primary" && !i.inverse || i.variant !== "primary" && i.inverse
101
101
  ), a = g(
102
102
  () => i.critical && i.state === w.START || i.state === w.FAIL
103
- ), s = (c) => {
104
- c.stopPropagation(), i.state !== w.LOADING && o("click", c);
103
+ ), s = (l) => {
104
+ l.stopPropagation(), i.state !== w.LOADING && o("click", l);
105
105
  };
106
- return (c, t) => (l(), y(E, {
106
+ return (l, t) => (r(), y(E, {
107
107
  critical: a.value,
108
108
  variant: e.variant,
109
109
  condensed: e.condensed,
@@ -113,27 +113,27 @@ const Ce = {
113
113
  onClickCapture: z(s, ["stop"])
114
114
  }, V({
115
115
  default: b(() => [
116
- R(c.$slots, "default", {}, void 0, !0)
116
+ R(l.$slots, "default", {}, void 0, !0)
117
117
  ]),
118
118
  _: 2
119
119
  }, [
120
- e.state === "start" && p(d)("iconLeft") ? {
120
+ e.state === "start" && p(c)("iconLeft") ? {
121
121
  name: "iconLeft",
122
122
  fn: b(() => [
123
- R(c.$slots, "iconLeft", {}, void 0, !0)
123
+ R(l.$slots, "iconLeft", {}, void 0, !0)
124
124
  ]),
125
125
  key: "0"
126
126
  } : e.state !== "start" ? {
127
127
  name: "iconLeft",
128
128
  fn: b(() => [
129
129
  W("span", et, [
130
- e.state === "fail" ? (l(), y(p(Pe), {
130
+ e.state === "fail" ? (r(), y(p(Pe), {
131
131
  key: 0,
132
- "svg-title": p(u)("failed")
133
- }, null, 8, ["svg-title"])) : e.state === "success" ? (l(), y(p(Fe), {
132
+ "svg-title": p(d)("failed")
133
+ }, null, 8, ["svg-title"])) : e.state === "success" ? (r(), y(p(Fe), {
134
134
  key: 1,
135
- "svg-title": p(u)("succeded")
136
- }, null, 8, ["svg-title"])) : e.state === "loading" ? (l(), y(p(De), {
135
+ "svg-title": p(d)("succeded")
136
+ }, null, 8, ["svg-title"])) : e.state === "loading" ? (r(), y(p(De), {
137
137
  key: 2,
138
138
  small: "",
139
139
  inverse: m.value
@@ -188,26 +188,26 @@ const Ce = {
188
188
  },
189
189
  emits: ["click", "update:toggled"],
190
190
  setup(e, { emit: n }) {
191
- const i = e, o = n, r = g(
191
+ const i = e, o = n, u = g(
192
192
  () => i.variant === "tertiary" ? "tertiary-with-background" : i.variant
193
- ), d = g(() => ({
193
+ ), c = g(() => ({
194
194
  "b-toggle-button--condensed": i?.condensed,
195
- [`b-toggle-button--${r.value}-toggled`]: i.toggled,
195
+ [`b-toggle-button--${u.value}-toggled`]: i.toggled,
196
196
  "b-toggle-button--inverse": i.inverse
197
- })), u = (a) => {
197
+ })), d = (a) => {
198
198
  a.stopPropagation(), i?.disabled || (o("click", a), o("update:toggled", !i.toggled));
199
199
  }, f = q(), m = (a) => ({ key: a });
200
- return (a, s) => (l(), y(E, Y({ class: "b-toggle-button" }, a.$attrs, {
200
+ return (a, s) => (r(), y(E, Y({ class: "b-toggle-button" }, a.$attrs, {
201
201
  "aria-expanded": `${e.toggled}`,
202
202
  "aria-pressed": `${e.toggled}`,
203
203
  condensed: e.condensed,
204
- class: d.value,
204
+ class: c.value,
205
205
  disabled: e.disabled,
206
206
  inverse: e.inverse,
207
- variant: r.value,
208
- onClickCapture: z(u, ["stop"])
207
+ variant: u.value,
208
+ onClickCapture: z(d, ["stop"])
209
209
  }), V({ _: 2 }, [
210
- Z(p(f), (c, t) => ({
210
+ Z(p(f), (l, t) => ({
211
211
  name: t,
212
212
  fn: b(() => [
213
213
  R(a.$slots, t, Te(Me(m(t))), void 0, !0)
@@ -231,15 +231,15 @@ const Ce = {
231
231
  };
232
232
  }
233
233
  });
234
- function rt(e, n, i, o, r, d) {
235
- const u = S("cross-icon"), f = S("bento-button");
236
- return l(), y(f, {
234
+ function rt(e, n, i, o, u, c) {
235
+ const d = S("cross-icon"), f = S("bento-button");
236
+ return r(), y(f, {
237
237
  class: K(e.conditionalClass),
238
238
  variant: "tertiary",
239
239
  onClick: n[0] || (n[0] = (m) => e.$emit("click"))
240
240
  }, {
241
241
  iconLeft: b(() => [
242
- O(u, { "svg-title": "dismiss" })
242
+ O(d, { "svg-title": "dismiss" })
243
243
  ]),
244
244
  _: 1
245
245
  }, 8, ["class"]);
@@ -267,9 +267,9 @@ const ue = /* @__PURE__ */ $(lt, [["render", rt], ["__scopeId", "data-v-424ecdaa
267
267
  };
268
268
  }
269
269
  });
270
- function dt(e, n, i, o, r, d) {
271
- const u = S("bento-typography");
272
- return l(), y(u, {
270
+ function dt(e, n, i, o, u, c) {
271
+ const d = S("bento-typography");
272
+ return r(), y(d, {
273
273
  strongest: e.isStrongest,
274
274
  variant: e.titleVariant,
275
275
  el: "span"
@@ -326,14 +326,14 @@ const ct = /* @__PURE__ */ $(ut, [["render", dt]]), ft = (e, n, i = {}) => {
326
326
  },
327
327
  emits: ["dismiss", "placement"],
328
328
  setup(e, { emit: n }) {
329
- const o = e, r = n, d = q(), u = Ne(), f = g(() => ({
330
- id: u.id?.toString(),
331
- role: u?.role === null ? void 0 : Ue.POPOVER
332
- })), m = M(vt, 2), a = v(u["aria-label"]), { ariaLabel: s, title: c } = we(o), t = Ye({
329
+ const o = e, u = n, c = q(), d = Ne(), f = g(() => ({
330
+ id: d.id?.toString(),
331
+ role: d?.role === null ? void 0 : Ue.POPOVER
332
+ })), m = M(vt, 2), a = v(d["aria-label"]), { ariaLabel: s, title: l } = we(o), t = Ye({
333
333
  ariaLabel: a.value,
334
334
  // TODO: take this line away when the aria-label props is removed
335
335
  label: s,
336
- defaultFallback: c
336
+ defaultFallback: l
337
337
  }), k = M(pt, !1) || M(mt, !1), B = g(() => ({
338
338
  "b-popover--small": o.small && !o.large,
339
339
  "b-popover--with-divider": !!o.divider,
@@ -343,10 +343,10 @@ const ct = /* @__PURE__ */ $(ut, [["render", dt]]), ft = (e, n, i = {}) => {
343
343
  "b-popover--overflow-visible": o.overflowVisible || k
344
344
  })), F = g(() => ({
345
345
  "b-popover__content--with-title": !!o.title
346
- })), j = () => r("dismiss"), A = oe(d);
347
- return (_, D) => (l(), y(me, { name: "b-popover__animation" }, {
346
+ })), j = () => u("dismiss"), A = oe(c);
347
+ return (_, D) => (r(), y(me, { name: "b-popover__animation" }, {
348
348
  default: b(() => [
349
- _.open ? (l(), y(p(je), {
349
+ _.open ? (r(), y(p(je), {
350
350
  key: 0,
351
351
  id: f.value.id,
352
352
  "aria-role": f.value.role,
@@ -364,8 +364,8 @@ const ct = /* @__PURE__ */ $(ut, [["render", dt]]), ft = (e, n, i = {}) => {
364
364
  onPlacement: D[0] || (D[0] = (J) => _.$emit("placement", J))
365
365
  }, {
366
366
  default: b(() => [
367
- p(A)("image") ? (l(), C("div", bt, [
368
- _.dismissible ? (l(), C("div", yt, [
367
+ p(A)("image") ? (r(), C("div", bt, [
368
+ _.dismissible ? (r(), C("div", yt, [
369
369
  O(ue, {
370
370
  "on-image": "",
371
371
  onClick: j
@@ -373,25 +373,25 @@ const ct = /* @__PURE__ */ $(ut, [["render", dt]]), ft = (e, n, i = {}) => {
373
373
  ])) : I("", !0),
374
374
  R(_.$slots, "image", {}, void 0, !0)
375
375
  ])) : I("", !0),
376
- p(c) ? (l(), C("div", gt, [
376
+ p(l) ? (r(), C("div", gt, [
377
377
  W("div", ht, [
378
378
  p(A)("headerIcon") ? R(_.$slots, "headerIcon", { key: 0 }, void 0, !0) : I("", !0),
379
379
  O(ct, {
380
- title: p(c),
380
+ title: p(l),
381
381
  "is-image-title": !!p(A)("image")
382
382
  }, null, 8, ["title", "is-image-title"])
383
383
  ]),
384
- _.dismissible && !p(A)("image") ? (l(), C("div", _t, [
384
+ _.dismissible && !p(A)("image") ? (r(), C("div", _t, [
385
385
  O(ue, { onClick: j })
386
386
  ])) : I("", !0)
387
387
  ])) : I("", !0),
388
- p(A)("default") ? (l(), C("div", {
388
+ p(A)("default") ? (r(), C("div", {
389
389
  key: 2,
390
390
  class: K(["b-popover__content", F.value])
391
391
  }, [
392
392
  R(_.$slots, "default", {}, void 0, !0)
393
393
  ], 2)) : I("", !0),
394
- _.actions ? (l(), C("div", Ct, [
394
+ _.actions ? (r(), C("div", Ct, [
395
395
  O(en, {
396
396
  actions: _.actions,
397
397
  layout: _.actionsLayout
@@ -478,10 +478,10 @@ const ct = /* @__PURE__ */ $(ut, [["render", dt]]), ft = (e, n, i = {}) => {
478
478
  onMutations(e) {
479
479
  let n = !1;
480
480
  for (let i = 0; i < e.length; i++) {
481
- const o = e[i], r = Array.from(o.addedNodes).filter(
482
- (d) => !this.nodes.includes(d)
481
+ const o = e[i], u = Array.from(o.addedNodes).filter(
482
+ (c) => !this.nodes.includes(c)
483
483
  );
484
- Array.from(o.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && r.length > 0 && (n = !0);
484
+ Array.from(o.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && u.length > 0 && (n = !0);
485
485
  }
486
486
  n && this.move();
487
487
  },
@@ -510,21 +510,21 @@ const ct = /* @__PURE__ */ $(ut, [["render", dt]]), ft = (e, n, i = {}) => {
510
510
  }), Et = /* @__PURE__ */ L({
511
511
  ...Ot,
512
512
  setup(e) {
513
- const n = M(ke, ""), i = M(Be, ""), o = M(Ie, ""), r = g(() => {
514
- const d = n || i || o;
515
- return d ? `#${d}` : "body";
513
+ const n = M(ke, ""), i = M(Be, ""), o = M(Ie, ""), u = g(() => {
514
+ const c = n || i || o;
515
+ return c ? `#${c}` : "body";
516
516
  });
517
- return (d, u) => p(_e) ? (l(), C("div", {
517
+ return (c, d) => p(_e) ? (r(), C("div", {
518
518
  key: 0,
519
- class: K(d.classes)
519
+ class: K(c.classes)
520
520
  }, [
521
- R(d.$slots, "default", {}, void 0, !0)
522
- ], 2)) : (l(), y(Re, {
521
+ R(c.$slots, "default", {}, void 0, !0)
522
+ ], 2)) : (r(), y(Re, {
523
523
  key: 1,
524
- to: d.to || r.value,
525
- disabled: d.disabled
524
+ to: c.to || u.value,
525
+ disabled: c.disabled
526
526
  }, [
527
- R(d.$slots, "default", {}, void 0, !0)
527
+ R(c.$slots, "default", {}, void 0, !0)
528
528
  ], 8, ["to", "disabled"]));
529
529
  }
530
530
  }), St = /* @__PURE__ */ $(Et, [["__scopeId", "data-v-3f683117"]]);
@@ -534,15 +534,15 @@ const Lt = {
534
534
  this.uuid = de.toString(), de += 1;
535
535
  }
536
536
  }, $t = { key: 0 };
537
- function Tt(e, n, i, o, r, d) {
538
- return l(), C("svg", Y({ role: "img" }, e.$attrs, {
537
+ function Tt(e, n, i, o, u, c) {
538
+ return r(), C("svg", Y({ role: "img" }, e.$attrs, {
539
539
  class: "ui-assets-icons-16",
540
540
  xmlns: "http://www.w3.org/2000/svg",
541
541
  width: "16",
542
542
  height: "16",
543
543
  fill: "none"
544
544
  }), [
545
- e.$attrs["svg-title"] ? (l(), C("title", $t, U(e.$attrs["svg-title"]), 1)) : I("", !0),
545
+ e.$attrs["svg-title"] ? (r(), C("title", $t, U(e.$attrs["svg-title"]), 1)) : I("", !0),
546
546
  n[0] || (n[0] = W("path", {
547
547
  fill: "#001222",
548
548
  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"
@@ -632,21 +632,21 @@ const Mt = /* @__PURE__ */ $(Lt, [["render", Tt]]), Nt = L({
632
632
  const o = g(() => ({
633
633
  "b-menu-item--critical": e.critical,
634
634
  "b-menu-item--indent": e.indent
635
- })), r = g(() => Ze(e.secondaryText, 10));
635
+ })), u = g(() => Ze(e.secondaryText, 10));
636
636
  return {
637
637
  // Values
638
638
  conditionalClasses: o,
639
- computedSecondaryText: r,
639
+ computedSecondaryText: u,
640
640
  // Methods
641
- onClick: (u) => {
642
- u.stopPropagation(), e.handler(), n(re.CLICK);
641
+ onClick: (d) => {
642
+ d.stopPropagation(), e.handler(), n(re.CLICK);
643
643
  }
644
644
  };
645
645
  }
646
646
  });
647
- function wt(e, n, i, o, r, d) {
648
- const u = S("bento-typography"), f = S("chevron-right-icon"), m = S("base-button");
649
- return l(), y(m, {
647
+ function wt(e, n, i, o, u, c) {
648
+ const d = S("bento-typography"), f = S("chevron-right-icon"), m = S("base-button");
649
+ return r(), y(m, {
650
650
  class: K(["b-menu-item", e.conditionalClasses]),
651
651
  role: "menuitem",
652
652
  disabled: e.disabled,
@@ -654,7 +654,7 @@ function wt(e, n, i, o, r, d) {
654
654
  onClick: e.onClick
655
655
  }, V({
656
656
  default: b(() => [
657
- O(u, {
657
+ O(d, {
658
658
  el: "span",
659
659
  variant: "body",
660
660
  stronger: e.isTitle,
@@ -665,7 +665,7 @@ function wt(e, n, i, o, r, d) {
665
665
  ]),
666
666
  _: 1
667
667
  }, 8, ["stronger"]),
668
- e.computedSecondaryText ? (l(), y(u, {
668
+ e.computedSecondaryText ? (r(), y(d, {
669
669
  key: 0,
670
670
  el: "span",
671
671
  variant: "body",
@@ -682,7 +682,7 @@ function wt(e, n, i, o, r, d) {
682
682
  e.icon ? {
683
683
  name: "iconLeft",
684
684
  fn: b(() => [
685
- (l(), y(H(e.icon), {
685
+ (r(), y(H(e.icon), {
686
686
  class: "b-menu-item__icon-left",
687
687
  "aria-hidden": "true"
688
688
  }))
@@ -708,18 +708,18 @@ const Rt = /* @__PURE__ */ Symbol("menu registering injection key"), At = {
708
708
  setup(e) {
709
709
  const n = v(), i = v({}), o = M(Rt, !1);
710
710
  if (o) {
711
- const { registerMenuContainerElement: r } = o;
712
- r(n), i.value = {
711
+ const { registerMenuContainerElement: u } = o;
712
+ u(n), i.value = {
713
713
  mouseleave: o?.menuMouseLeave
714
714
  };
715
715
  }
716
- return (r, d) => (l(), C("div", Y({
716
+ return (u, c) => (r(), C("div", Y({
717
717
  ref_key: "menuListContainerRef",
718
718
  ref: n,
719
719
  class: "b-menu-list-container",
720
720
  "data-testid": "menu-list-container"
721
721
  }, ne(i.value, !0)), [
722
- R(r.$slots, "default", {}, void 0, !0)
722
+ R(u.$slots, "default", {}, void 0, !0)
723
723
  ], 16));
724
724
  }
725
725
  }), Ee = /* @__PURE__ */ $(Dt, [["__scopeId", "data-v-9ef14d73"]]), se = {
@@ -749,12 +749,12 @@ const Rt = /* @__PURE__ */ Symbol("menu registering injection key"), At = {
749
749
  },
750
750
  emits: [P.CLOSE, P.BACK],
751
751
  setup(e, { emit: n }) {
752
- const i = v(null), o = v(0), r = v(e.items.length), d = () => n(P.CLOSE), u = () => n(P.BACK), f = g(() => {
753
- const c = e.items?.map((t) => ({
752
+ const i = v(null), o = v(0), u = v(e.items.length), c = () => n(P.CLOSE), d = () => n(P.BACK), f = g(() => {
753
+ const l = e.items?.map((t) => ({
754
754
  ...t,
755
755
  indent: !t.icon,
756
756
  isTitle: !1,
757
- clickHandler: d
757
+ clickHandler: c
758
758
  }));
759
759
  return [
760
760
  {
@@ -765,11 +765,11 @@ const Rt = /* @__PURE__ */ Symbol("menu registering injection key"), At = {
765
765
  isTitle: !0,
766
766
  disabled: !1,
767
767
  indent: !1,
768
- handler: u,
769
- clickHandler: u,
768
+ handler: d,
769
+ clickHandler: d,
770
770
  addDivider: !0
771
771
  },
772
- ...c
772
+ ...l
773
773
  ];
774
774
  }), m = async () => {
775
775
  i.value?.children?.[o.value]?.children?.[0]?.focus();
@@ -778,9 +778,9 @@ const Rt = /* @__PURE__ */ Symbol("menu registering injection key"), At = {
778
778
  setTimeout(() => m(), 150);
779
779
  });
780
780
  const a = () => {
781
- o.value > 0 ? (o.value -= 1, f.value[o.value].disabled && a()) : o.value = r.value, m();
781
+ o.value > 0 ? (o.value -= 1, f.value[o.value].disabled && a()) : o.value = u.value, m();
782
782
  }, s = () => {
783
- o.value < r.value ? (o.value += 1, f.value[o.value].disabled && s()) : o.value = 0, m();
783
+ o.value < u.value ? (o.value += 1, f.value[o.value].disabled && s()) : o.value = 0, m();
784
784
  };
785
785
  return {
786
786
  // Enums
@@ -791,16 +791,16 @@ const Rt = /* @__PURE__ */ Symbol("menu registering injection key"), At = {
791
791
  ChevronLeftIcon: le,
792
792
  computedItems: f,
793
793
  // Methods
794
- closeMenu: d,
795
- onBackButton: u,
794
+ closeMenu: c,
795
+ onBackButton: d,
796
796
  focusPrevious: a,
797
797
  focusNext: s
798
798
  };
799
799
  }
800
800
  });
801
- function Ft(e, n, i, o, r, d) {
802
- const u = S("menu-item"), f = S("bento-divider"), m = S("menu-list-container");
803
- return l(), y(me, {
801
+ function Ft(e, n, i, o, u, c) {
802
+ const d = S("menu-item"), f = S("bento-divider"), m = S("menu-list-container");
803
+ return r(), y(me, {
804
804
  name: "b-sub-menu-item-list__transition",
805
805
  appear: ""
806
806
  }, {
@@ -817,11 +817,11 @@ function Ft(e, n, i, o, r, d) {
817
817
  n[2] || (n[2] = T(z((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
818
818
  ]
819
819
  }, [
820
- (l(!0), C(X, null, Z(e.computedItems, (a, s) => (l(), C("li", {
820
+ (r(!0), C(X, null, Z(e.computedItems, (a, s) => (r(), C("li", {
821
821
  key: `sub-menu-item-list-item-${s}`,
822
822
  role: "none"
823
823
  }, [
824
- O(u, {
824
+ O(d, {
825
825
  text: a.text,
826
826
  handler: a.handler,
827
827
  "secondary-text": a.secondaryText,
@@ -833,7 +833,7 @@ function Ft(e, n, i, o, r, d) {
833
833
  tabindex: s === e.subMenuFocusedIndex ? "0" : "-1",
834
834
  onClick: a.clickHandler
835
835
  }, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
836
- a.addDivider ? (l(), y(f, {
836
+ a.addDivider ? (r(), y(f, {
837
837
  key: 0,
838
838
  class: "b-sub-menu-item-list__divider"
839
839
  })) : I("", !0)
@@ -851,30 +851,30 @@ function $e(e) {
851
851
  return Math.max(Le, Math.min(e, Se));
852
852
  }
853
853
  function Kt(e, n, i, o) {
854
- const r = v(0), d = v(0), u = (a) => {
854
+ const u = v(0), c = v(0), d = (a) => {
855
855
  if (!a || !a.parentElement)
856
856
  return;
857
- const s = a.parentElement, c = a.cloneNode(!0);
858
- c.style.position = "absolute", c.style.visibility = "hidden", s.appendChild(c), c.style.width = "max-content";
859
- const t = c.offsetWidth, k = Math.max(Le, Math.min(t, Se));
860
- r.value = k, c.style.width = `${k}px`;
861
- const B = c.offsetHeight;
862
- d.value = B, s.removeChild(c), d.value = B;
857
+ const s = a.parentElement, l = a.cloneNode(!0);
858
+ l.style.position = "absolute", l.style.visibility = "hidden", s.appendChild(l), l.style.width = "max-content";
859
+ const t = l.offsetWidth, k = Math.max(Le, Math.min(t, Se));
860
+ u.value = k, l.style.width = `${k}px`;
861
+ const B = l.offsetHeight;
862
+ c.value = B, s.removeChild(l), c.value = B;
863
863
  };
864
864
  pe([n, i], async ([a]) => {
865
865
  if (a !== null) {
866
866
  await x();
867
867
  const s = e.value?.[0]?.$el;
868
- s && u(s);
868
+ s && d(s);
869
869
  } else
870
- r.value = 0, d.value = 0;
870
+ u.value = 0, c.value = 0;
871
871
  });
872
872
  const f = g(() => o?.value ? $e(o.value) : 0);
873
873
  return { computedStyle: g(() => {
874
874
  const a = {
875
875
  width: f.value > 0 ? `${f.value}px` : "max-content"
876
876
  };
877
- return i.value && (d.value > 0 && (a.height = `${d.value}px`), r.value > 0 && (a.width = `${r.value}px`)), a;
877
+ return i.value && (c.value > 0 && (a.height = `${c.value}px`), u.value > 0 && (a.width = `${u.value}px`)), a;
878
878
  }) };
879
879
  }
880
880
  const Vt = L({
@@ -919,14 +919,14 @@ const Vt = L({
919
919
  },
920
920
  emits: [P.CLOSE, "menu-item-click"],
921
921
  setup(e, { emit: n, expose: i }) {
922
- const o = v(null), r = v(null), d = v(null), u = v(null), f = v(!1), m = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), s = v(0), c = v(e.data.length - 1), t = g(() => e.data.some((N) => N.icon)), k = g(() => e.indentItems || t.value ? e.data.map((N) => {
922
+ const o = v(null), u = v(null), c = v(null), d = v(null), f = v(!1), m = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), s = v(0), l = v(e.data.length - 1), t = g(() => e.data.some((N) => N.icon)), k = g(() => e.indentItems || t.value ? e.data.map((N) => {
923
923
  let h = !1;
924
924
  return N.icon || (h = !0), {
925
925
  ...N,
926
926
  indent: h
927
927
  };
928
928
  }) : e.data), B = async () => {
929
- await x(), r.value?.children[a.value]?.children[0]?.focus();
929
+ await x(), u.value?.children[a.value]?.children[0]?.focus();
930
930
  }, F = () => n(P.CLOSE), j = (N, h) => {
931
931
  if (N.items) {
932
932
  m.value = h, f.value = !0;
@@ -934,9 +934,9 @@ const Vt = L({
934
934
  }
935
935
  m.value = h, f.value = !1, !N.skipClose && e.closeMenuOnItemSelect !== !1 && F(), n("menu-item-click");
936
936
  }, A = () => {
937
- a.value > 0 ? (a.value -= 1, k.value[a.value].disabled && A()) : a.value = c.value, B();
937
+ a.value > 0 ? (a.value -= 1, k.value[a.value].disabled && A()) : a.value = l.value, B();
938
938
  }, _ = () => {
939
- a.value < c.value ? (a.value += 1, k.value[a.value].disabled && _()) : a.value = 0, B();
939
+ a.value < l.value ? (a.value += 1, k.value[a.value].disabled && _()) : a.value = 0, B();
940
940
  }, D = (N, h) => {
941
941
  N?.items?.length && (m.value = h, f.value = !0);
942
942
  }, J = () => {
@@ -948,16 +948,16 @@ const Vt = L({
948
948
  focusItem: B
949
949
  });
950
950
  const { computedStyle: te } = Kt(
951
- u,
951
+ d,
952
952
  m,
953
953
  f,
954
954
  ve(e, "popoverWidth")
955
955
  );
956
956
  return {
957
957
  // Values
958
- menuItemListRef: r,
959
- menuItemListWrapperRef: d,
960
- subMenuItemListRef: u,
958
+ menuItemListRef: u,
959
+ menuItemListWrapperRef: c,
960
+ subMenuItemListRef: d,
961
961
  menuItemRef: o,
962
962
  computedData: k,
963
963
  computedStyle: te,
@@ -976,9 +976,9 @@ const Vt = L({
976
976
  };
977
977
  }
978
978
  }), Ut = ["onKeydown"];
979
- function jt(e, n, i, o, r, d) {
980
- const u = S("menu-item"), f = S("bento-divider"), m = S("sub-menu-item-list"), a = S("menu-list-container");
981
- return l(), y(a, {
979
+ function jt(e, n, i, o, u, c) {
980
+ const d = S("menu-item"), f = S("bento-divider"), m = S("sub-menu-item-list"), a = S("menu-list-container");
981
+ return r(), y(a, {
982
982
  ref: "menuItemListWrapperRef",
983
983
  style: be(e.computedStyle)
984
984
  }, {
@@ -994,18 +994,18 @@ function jt(e, n, i, o, r, d) {
994
994
  n[4] || (n[4] = T((...s) => e.closeMenu && e.closeMenu(...s), ["tab"]))
995
995
  ]
996
996
  }, [
997
- (l(!0), C(X, null, Z(e.computedData, (s, c) => (l(), C("li", {
998
- key: `menu-item-${c}`,
997
+ (r(!0), C(X, null, Z(e.computedData, (s, l) => (r(), C("li", {
998
+ key: `menu-item-${l}`,
999
999
  ref_for: !0,
1000
1000
  ref: "menuItemRef",
1001
1001
  class: "b-menu-item-list__item",
1002
1002
  role: "none",
1003
1003
  onKeydown: [
1004
- T((t) => e.focusRight(s, c), ["right"]),
1004
+ T((t) => e.focusRight(s, l), ["right"]),
1005
1005
  n[0] || (n[0] = T((t) => e.focusLeft(), ["left"]))
1006
1006
  ]
1007
1007
  }, [
1008
- O(u, {
1008
+ O(d, {
1009
1009
  text: s.text,
1010
1010
  handler: s.items?.length ? () => null : s.handler,
1011
1011
  "secondary-text": s.secondaryText,
@@ -1014,16 +1014,16 @@ function jt(e, n, i, o, r, d) {
1014
1014
  disabled: s.disabled,
1015
1015
  critical: s.critical,
1016
1016
  indent: s.indent,
1017
- tabindex: c === e.subMenuFocusedIndex ? "0" : "-1",
1017
+ tabindex: l === e.subMenuFocusedIndex ? "0" : "-1",
1018
1018
  "aria-haspopup": !!s.items?.length,
1019
- "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === c,
1020
- onClick: (t) => e.menuItemClick(s, c)
1019
+ "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === l,
1020
+ onClick: (t) => e.menuItemClick(s, l)
1021
1021
  }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
1022
- s.addDivider ? (l(), y(f, {
1022
+ s.addDivider ? (r(), y(f, {
1023
1023
  key: 0,
1024
1024
  class: "b-menu-item-list__divider"
1025
1025
  })) : I("", !0),
1026
- s.items?.length && e.showSubMenu && e.visibleSubMenuIndex === c ? (l(), y(m, {
1026
+ s.items?.length && e.showSubMenu && e.visibleSubMenuIndex === l ? (r(), y(m, {
1027
1027
  key: 1,
1028
1028
  ref_for: !0,
1029
1029
  ref: "subMenuItemListRef",
@@ -1059,7 +1059,7 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1059
1059
  },
1060
1060
  emits: ["menu-item-click", "click-outside"],
1061
1061
  setup(e, { expose: n, emit: i }) {
1062
- const o = e, r = i, d = q(), u = oe(d), { t: f } = ye({ messages: se }), m = v(null), a = v(null), s = v(!1), c = v(!1), t = v(null), k = He("menu"), B = M(Yt, v(!1));
1062
+ const o = e, u = i, c = q(), d = oe(c), { t: f } = ye({ messages: se }), m = v(null), a = v(null), s = v(!1), l = v(!1), t = v(null), k = He("menu"), B = M(Yt, v(!1));
1063
1063
  Ae(We, B);
1064
1064
  const F = g(() => ({
1065
1065
  "b-menu--inverse": B.value
@@ -1072,22 +1072,22 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1072
1072
  ...o.button
1073
1073
  };
1074
1074
  }), _ = () => {
1075
- s.value = !0, r(P.OPEN);
1075
+ s.value = !0, u(P.OPEN);
1076
1076
  }, D = async (h = o.revertFocusToButton) => {
1077
- s.value && (s.value = !1, h && (await x(), m.value?.$el?.focus()), r(P.CLOSE));
1077
+ s.value && (s.value = !1, h && (await x(), m.value?.$el?.focus()), u(P.CLOSE));
1078
1078
  }, J = (h) => {
1079
1079
  h.stopPropagation(), s.value ? D() : _();
1080
1080
  }, ee = (h) => {
1081
- h.preventDefault(), c.value = !1, o.disableArrowDownOpeningMenu || _();
1081
+ h.preventDefault(), l.value = !1, o.disableArrowDownOpeningMenu || _();
1082
1082
  }, te = (h) => {
1083
- h.preventDefault(), c.value = !0, _();
1083
+ h.preventDefault(), l.value = !0, _();
1084
1084
  }, N = () => {
1085
- r("menu-item-click");
1085
+ u("menu-item-click");
1086
1086
  };
1087
1087
  return ft(
1088
1088
  t,
1089
1089
  () => {
1090
- D(), r("click-outside");
1090
+ D(), u("click-outside");
1091
1091
  },
1092
1092
  {
1093
1093
  ...o.closeOnClickOutsideOptions,
@@ -1099,10 +1099,10 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1099
1099
  */
1100
1100
  closeMenu: D
1101
1101
  }), Q(() => {
1102
- u("iconRight") && Ve(
1102
+ d("iconRight") && Ve(
1103
1103
  '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
1104
1104
  );
1105
- }), (h, ie) => (l(), C("div", {
1105
+ }), (h, ie) => (r(), C("div", {
1106
1106
  class: K([F.value, "b-menu"]),
1107
1107
  "data-testid": "menu",
1108
1108
  onKeydown: [
@@ -1122,7 +1122,7 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1122
1122
  inverse: p(B),
1123
1123
  onClick: J
1124
1124
  }), V({ _: 2 }, [
1125
- !p(u)("default") || p(u)("iconLeft") ? {
1125
+ !p(d)("default") || p(d)("iconLeft") ? {
1126
1126
  name: "iconLeft",
1127
1127
  fn: b(() => [
1128
1128
  R(h.$slots, "iconLeft", {}, () => [
@@ -1133,14 +1133,14 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1133
1133
  ]),
1134
1134
  key: "0"
1135
1135
  } : void 0,
1136
- p(u)("default") ? {
1136
+ p(d)("default") ? {
1137
1137
  name: "default",
1138
1138
  fn: b(() => [
1139
1139
  R(h.$slots, "default", {}, void 0, !0)
1140
1140
  ]),
1141
1141
  key: "1"
1142
1142
  } : void 0,
1143
- p(u)("default") ? {
1143
+ p(d)("default") ? {
1144
1144
  name: "iconRight",
1145
1145
  fn: b(() => [
1146
1146
  O(p(ze))
@@ -1148,12 +1148,12 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1148
1148
  key: "2"
1149
1149
  } : void 0
1150
1150
  ]), 1040, ["aria-controls", "toggled", "inverse"]),
1151
- m.value ? (l(), y(p(St), {
1151
+ m.value ? (r(), y(p(St), {
1152
1152
  key: 0,
1153
1153
  disabled: !h.teleport
1154
1154
  }, {
1155
1155
  default: b(() => [
1156
- m.value ? (l(), y(Bt, {
1156
+ m.value ? (r(), y(Bt, {
1157
1157
  key: 0,
1158
1158
  id: p(k),
1159
1159
  ref_key: "popoverRef",
@@ -1184,7 +1184,7 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1184
1184
  ref: a,
1185
1185
  "close-menu-on-item-select": h.closeMenuOnItemSelect,
1186
1186
  data: h.data,
1187
- "focus-last-element": c.value,
1187
+ "focus-last-element": l.value,
1188
1188
  "popover-width": h.menuWidth,
1189
1189
  onClose: D,
1190
1190
  onMenuItemClick: N
@@ -1201,33 +1201,42 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1201
1201
  "button actions with menu container injection key"
1202
1202
  ), qt = 242, ce = parseInt(xe, 10), Zt = (e, n, i) => {
1203
1203
  const o = v(0);
1204
- let r = null;
1205
- const { buttonActionsWithMenu: d, menu: u, stackButtons: f } = M(Xt, {
1204
+ let u = null;
1205
+ const { buttonActionsWithMenu: c, menu: d, stackButtons: f } = M(Xt, {
1206
1206
  buttonActionsWithMenu: v(null),
1207
1207
  menu: v(null),
1208
1208
  stackButtons: v(!1)
1209
- }), m = g(() => d.value ?? e.value), a = g(() => u.value ? [...n.value, u.value.$el] : n.value), s = (c) => {
1209
+ }), m = g(() => c.value ?? e.value), a = g(() => d.value ? [...n.value, d.value.$el] : n.value), s = (l) => {
1210
1210
  const t = a.value?.reduce(
1211
1211
  (B, F) => B + F.clientWidth + ce,
1212
1212
  -ce - 1
1213
1213
  // to remove the extra spacing, as if there's 3 buttons, only two will have a gap in between
1214
1214
  ), k = m.value.clientWidth;
1215
- return c && (o.value = k >= qt && !f.value ? t : 0), o.value > k;
1215
+ return l && (o.value = k >= qt && !f.value ? t : 0), o.value > k;
1216
1216
  };
1217
1217
  return pe(
1218
- () => i.value,
1218
+ () => i.value?.map((l) => [
1219
+ l.title,
1220
+ l.state,
1221
+ l.variant,
1222
+ l.condensed,
1223
+ l.iconOnly,
1224
+ !!l.icon,
1225
+ !!l.iconLeft,
1226
+ !!l.iconRight,
1227
+ !!l.data
1228
+ ]),
1219
1229
  () => {
1220
1230
  x(() => {
1221
1231
  f.value = s(!0);
1222
1232
  });
1223
- },
1224
- { deep: !0 }
1233
+ }
1225
1234
  ), Q(() => {
1226
- r = Qe(m.value, () => {
1235
+ u = Qe(m.value, () => {
1227
1236
  f.value = s(o.value === 0);
1228
1237
  });
1229
1238
  }), fe(() => {
1230
- r?.disconnect();
1239
+ u?.disconnect();
1231
1240
  }), f;
1232
1241
  }, Qt = {}, xt = /* @__PURE__ */ L({
1233
1242
  ...Qt,
@@ -1238,16 +1247,16 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1238
1247
  layout: { default: "buttons-end" }
1239
1248
  },
1240
1249
  setup(e) {
1241
- const n = e, i = v(null), o = v(null), r = Zt(i, o, ve(n, "actions")), d = g(() => n.actions.slice().reverse()), u = (s) => {
1242
- const c = n.actions.length - 1;
1243
- return s === c ? "primary" : "secondary";
1250
+ const n = e, i = v(null), o = v(null), u = Zt(i, o, ve(n, "actions")), c = g(() => n.actions.slice().reverse()), d = (s) => {
1251
+ const l = n.actions.length - 1;
1252
+ return s === l ? "primary" : "secondary";
1244
1253
  }, f = g(() => ({
1245
1254
  [`b-button-actions--${n.layout}`]: !0,
1246
- "b-button-actions--stacked-buttons": r.value
1255
+ "b-button-actions--stacked-buttons": u.value
1247
1256
  })), m = (s) => s?.event !== void 0 ? {
1248
1257
  click: s.event
1249
1258
  } : {}, a = (s) => s.iconOnly && (s.iconLeft || s.iconRight || s.icon);
1250
- return (s, c) => (l(), C("div", {
1259
+ return (s, l) => (r(), C("div", {
1251
1260
  ref_key: "buttonActions",
1252
1261
  ref: i,
1253
1262
  class: "b-button-actions"
@@ -1256,14 +1265,14 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1256
1265
  class: K(["b-button-actions__container-wrapper", f.value]),
1257
1266
  role: "group"
1258
1267
  }, [
1259
- (l(!0), C(X, null, Z(d.value, (t, k) => (l(), C("div", {
1268
+ (r(!0), C(X, null, Z(c.value, (t, k) => (r(), C("div", {
1260
1269
  key: k,
1261
1270
  ref_for: !0,
1262
1271
  ref_key: "buttons",
1263
1272
  ref: o,
1264
1273
  class: "b-button-actions__button-wrapper"
1265
1274
  }, [
1266
- t.data ? (l(), y(zt, {
1275
+ t.data ? (r(), y(zt, {
1267
1276
  key: 0,
1268
1277
  ref_for: !0,
1269
1278
  ref: t.elementRef,
@@ -1280,7 +1289,7 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1280
1289
  t.icon || t.iconLeft ? {
1281
1290
  name: "iconLeft",
1282
1291
  fn: b(() => [
1283
- (l(), y(H(t.icon || t.iconLeft), {
1292
+ (r(), y(H(t.icon || t.iconLeft), {
1284
1293
  "svg-title": t.title
1285
1294
  }, null, 8, ["svg-title"]))
1286
1295
  ]),
@@ -1293,8 +1302,8 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1293
1302
  ]),
1294
1303
  key: "1"
1295
1304
  }
1296
- ]), 1032, ["data", "close-menu-on-item-select", "close-on-click-outside-options", "disable-arrow-down-opening-menu", "menu-position", "menu-fixed-positioning", "menu-width", "revert-focus-to-button", "teleport"])) : (l(), C(X, { key: 1 }, [
1297
- t.state ? (l(), y(ot, Y({
1305
+ ]), 1032, ["data", "close-menu-on-item-select", "close-on-click-outside-options", "disable-arrow-down-opening-menu", "menu-position", "menu-fixed-positioning", "menu-width", "revert-focus-to-button", "teleport"])) : (r(), C(X, { key: 1 }, [
1306
+ t.state ? (r(), y(ot, Y({
1298
1307
  key: 0,
1299
1308
  ref_for: !0,
1300
1309
  ref: t.elementRef,
@@ -1303,12 +1312,12 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1303
1312
  disabled: t.disabled,
1304
1313
  inverse: s.inverse,
1305
1314
  state: t.state,
1306
- variant: t.variant || u(k)
1315
+ variant: t.variant || d(k)
1307
1316
  }, ne(m(t))), V({ _: 2 }, [
1308
1317
  t.icon || t.iconLeft ? {
1309
1318
  name: "iconLeft",
1310
1319
  fn: b(() => [
1311
- (l(), y(H(t.icon || t.iconLeft), {
1320
+ (r(), y(H(t.icon || t.iconLeft), {
1312
1321
  "svg-title": t.title
1313
1322
  }, null, 8, ["svg-title"]))
1314
1323
  ]),
@@ -1321,7 +1330,7 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1321
1330
  ]),
1322
1331
  key: "1"
1323
1332
  }
1324
- ]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (l(), y(E, Y({
1333
+ ]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (r(), y(E, Y({
1325
1334
  key: 1,
1326
1335
  ref_for: !0,
1327
1336
  ref: t.elementRef,
@@ -1330,12 +1339,12 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1330
1339
  disabled: t.disabled,
1331
1340
  inverse: s.inverse,
1332
1341
  link: t.link,
1333
- variant: t.variant || u(k)
1342
+ variant: t.variant || d(k)
1334
1343
  }, ne(m(t))), V({ _: 2 }, [
1335
1344
  t.icon || t.iconLeft ? {
1336
1345
  name: "iconLeft",
1337
1346
  fn: b(() => [
1338
- (l(), y(H(t.icon || t.iconLeft), {
1347
+ (r(), y(H(t.icon || t.iconLeft), {
1339
1348
  "svg-title": t.title
1340
1349
  }, null, 8, ["svg-title"]))
1341
1350
  ]),
@@ -1351,7 +1360,7 @@ const Gt = /* @__PURE__ */ $(Vt, [["render", jt], ["__scopeId", "data-v-7253ab73
1351
1360
  t.iconRight ? {
1352
1361
  name: "iconRight",
1353
1362
  fn: b(() => [
1354
- (l(), y(H(t.iconRight), {
1363
+ (r(), y(H(t.iconRight), {
1355
1364
  "svg-title": t.title
1356
1365
  }, null, 8, ["svg-title"]))
1357
1366
  ]),
@@ -1387,4 +1396,4 @@ export {
1387
1396
  pt as m,
1388
1397
  ft as u
1389
1398
  };
1390
- //# sourceMappingURL=button-actions.CxTxPprd.js.map
1399
+ //# sourceMappingURL=button-actions.CWmTl4cF.js.map