morya-ui 0.2.3 → 0.2.4

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 (180) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/FlyoutSubmenu-BC_cl17_.js +49 -0
  3. package/dist/ScrollBody-CXFNhBvq.js +68 -0
  4. package/dist/accordion/style.css +625 -583
  5. package/dist/auto-complete/style.css +625 -583
  6. package/dist/avatar/style.css +625 -583
  7. package/dist/badge/style.css +625 -583
  8. package/dist/block-ui/style.css +625 -583
  9. package/dist/breadcrumb/style.css +625 -583
  10. package/dist/button/style.css +625 -583
  11. package/dist/card/style.css +625 -583
  12. package/dist/carousel/style.css +625 -583
  13. package/dist/cascade-select/style.css +625 -583
  14. package/dist/checkbox/style.css +625 -583
  15. package/dist/chip/style.css +625 -583
  16. package/dist/command-menu/style.css +625 -583
  17. package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
  18. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  19. package/dist/components/ContextMenu/styles.css +33 -4
  20. package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
  21. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  22. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  23. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  24. package/dist/components/Dropdown/styles.css +11 -0
  25. package/dist/components/Gallery/Gallery.vue.d.ts +2 -2
  26. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  27. package/dist/components/Gallery/styles.css +5 -1
  28. package/dist/components/Layout/Layout.vue.d.ts +3 -3
  29. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  30. package/dist/components/Layout/LayoutContent.vue.d.ts +2 -2
  31. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  32. package/dist/components/Layout/LayoutScrollContext.vue.d.ts +20 -0
  33. package/dist/components/Layout/LayoutScrollContext.vue.d.ts.map +1 -0
  34. package/dist/components/Layout/LayoutScrollRegion.vue.d.ts +34 -0
  35. package/dist/components/Layout/LayoutScrollRegion.vue.d.ts.map +1 -0
  36. package/dist/components/Layout/LayoutSider.vue.d.ts +2 -2
  37. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  38. package/dist/components/Layout/composables/useLayoutScroll.d.ts +4 -1
  39. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -1
  40. package/dist/components/Layout/styles.css +31 -13
  41. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  42. package/dist/components/Menu/styles.css +10 -0
  43. package/dist/components/Menubar/Menubar.vue.d.ts +2 -2
  44. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  45. package/dist/components/Menubar/styles.css +14 -0
  46. package/dist/components/OrderList/OrderList.vue.d.ts +4 -4
  47. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  48. package/dist/components/PickList/PickList.vue.d.ts +7 -7
  49. package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
  50. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  51. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  52. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  53. package/dist/components/Tabs/styles.css +72 -77
  54. package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
  55. package/dist/components/Terminal/styles.css +6 -2
  56. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  57. package/dist/components/TieredMenu/styles.css +33 -4
  58. package/dist/components/Timeline/Timeline.vue.d.ts +35 -10
  59. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  60. package/dist/components/Timeline/styles.css +159 -156
  61. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  62. package/dist/components/TreeSelect/styles.css +15 -0
  63. package/dist/components/TreeTable/TreeTable.vue.d.ts +2 -2
  64. package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
  65. package/dist/components/TreeTable/styles.css +64 -61
  66. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts +2 -2
  67. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
  68. package/dist/components/VirtualScroller/styles.css +20 -17
  69. package/dist/config-provider/style.css +625 -583
  70. package/dist/confirm-dialog/style.css +625 -583
  71. package/dist/confirm-popup/style.css +625 -583
  72. package/dist/context-menu/index.js +131 -89
  73. package/dist/context-menu/style.css +781 -587
  74. package/dist/context-menu/style.js +1 -0
  75. package/dist/data-view/style.css +625 -583
  76. package/dist/date-picker/style.css +625 -583
  77. package/dist/dialog/style.css +625 -583
  78. package/dist/divider/style.css +625 -583
  79. package/dist/dock/style.css +625 -583
  80. package/dist/drawer/style.css +625 -583
  81. package/dist/dropdown/index.js +162 -122
  82. package/dist/dropdown/style.css +759 -583
  83. package/dist/dropdown/style.js +1 -0
  84. package/dist/fieldset/style.css +625 -583
  85. package/dist/file-upload/style.css +625 -583
  86. package/dist/flex/style.css +625 -583
  87. package/dist/float-label/style.css +625 -583
  88. package/dist/fluid/style.css +625 -583
  89. package/dist/form/style.css +625 -583
  90. package/dist/gallery/index.js +76 -67
  91. package/dist/gallery/style.css +753 -584
  92. package/dist/gallery/style.js +1 -0
  93. package/dist/grid/style.css +625 -583
  94. package/dist/icon/style.css +625 -583
  95. package/dist/icon-field/style.css +625 -583
  96. package/dist/index.js +1925 -1474
  97. package/dist/inplace/style.css +625 -583
  98. package/dist/input/style.css +625 -583
  99. package/dist/input-color/style.css +625 -583
  100. package/dist/input-group/style.css +625 -583
  101. package/dist/input-number/style.css +625 -583
  102. package/dist/input-otp/style.css +625 -583
  103. package/dist/input-password/style.css +625 -583
  104. package/dist/input-tags/style.css +625 -583
  105. package/dist/knob/style.css +625 -583
  106. package/dist/label/style.css +625 -583
  107. package/dist/layout/index.js +230 -136
  108. package/dist/layout/style.css +779 -596
  109. package/dist/layout/style.js +1 -0
  110. package/dist/listbox/style.css +625 -583
  111. package/dist/mega-menu/style.css +625 -583
  112. package/dist/menu/index.js +233 -216
  113. package/dist/menu/style.css +758 -583
  114. package/dist/menu/style.js +1 -0
  115. package/dist/menubar/index.js +77 -68
  116. package/dist/menubar/style.css +762 -583
  117. package/dist/menubar/style.js +1 -0
  118. package/dist/message/style.css +625 -583
  119. package/dist/meter-group/style.css +625 -583
  120. package/dist/order-list/index.js +66 -58
  121. package/dist/order-list/style.css +625 -583
  122. package/dist/page/style.css +625 -583
  123. package/dist/pagination/style.css +625 -583
  124. package/dist/panel/style.css +625 -583
  125. package/dist/pick-list/index.js +97 -84
  126. package/dist/pick-list/style.css +625 -583
  127. package/dist/popover/style.css +625 -583
  128. package/dist/progress-bar/style.css +625 -583
  129. package/dist/progress-spinner/style.css +625 -583
  130. package/dist/radio/style.css +625 -583
  131. package/dist/rating/style.css +625 -583
  132. package/dist/scroll-top/index.js +23 -13
  133. package/dist/scroll-top/style.css +748 -583
  134. package/dist/scroll-top/style.js +1 -0
  135. package/dist/scrollbar/style.css +625 -583
  136. package/dist/select/style.css +625 -583
  137. package/dist/select-button/style.css +625 -583
  138. package/dist/shared/FlyoutSubmenu.vue.d.ts +32 -0
  139. package/dist/shared/FlyoutSubmenu.vue.d.ts.map +1 -0
  140. package/dist/shared/ScrollBody.vue.d.ts +39 -0
  141. package/dist/shared/ScrollBody.vue.d.ts.map +1 -0
  142. package/dist/sidebar/style.css +625 -583
  143. package/dist/skeleton/style.css +625 -583
  144. package/dist/slider/style.css +625 -583
  145. package/dist/space/style.css +625 -583
  146. package/dist/speed-dial/style.css +625 -583
  147. package/dist/split-button/style.css +625 -583
  148. package/dist/splitter/style.css +625 -583
  149. package/dist/stepper/style.css +625 -583
  150. package/dist/styles/base.css +625 -583
  151. package/dist/styles.css +1 -1
  152. package/dist/switch/style.css +625 -583
  153. package/dist/table/style.css +625 -583
  154. package/dist/tabs/index.js +92 -81
  155. package/dist/tabs/style.css +818 -658
  156. package/dist/tabs/style.js +1 -0
  157. package/dist/tag/style.css +625 -583
  158. package/dist/terminal/index.js +47 -40
  159. package/dist/terminal/style.css +631 -585
  160. package/dist/textarea/style.css +625 -583
  161. package/dist/tiered-menu/index.js +130 -84
  162. package/dist/tiered-menu/style.css +781 -587
  163. package/dist/tiered-menu/style.js +1 -0
  164. package/dist/timeline/index.js +82 -37
  165. package/dist/timeline/style.css +907 -739
  166. package/dist/timeline/style.js +1 -0
  167. package/dist/toast/style.css +625 -583
  168. package/dist/toggle-button/style.css +625 -583
  169. package/dist/toolbar/style.css +625 -583
  170. package/dist/tooltip/style.css +625 -583
  171. package/dist/tree/style.css +625 -583
  172. package/dist/tree-select/index.js +202 -193
  173. package/dist/tree-select/style.css +763 -583
  174. package/dist/tree-select/style.js +1 -0
  175. package/dist/tree-table/index.js +57 -50
  176. package/dist/tree-table/style.css +689 -644
  177. package/dist/virtual-scroller/index.js +38 -34
  178. package/dist/virtual-scroller/style.css +775 -607
  179. package/dist/virtual-scroller/style.js +1 -0
  180. package/package.json +1 -1
@@ -3,17 +3,18 @@ import { t } from "../Icon-DfpIfo2L.js";
3
3
  import { n, t as r } from "../overlay-oR-5MDuE.js";
4
4
  import { t as i } from "../overlayPlacement-Cd20JTD_.js";
5
5
  import { t as a } from "../useMenuKeyboard-BedmYE4W.js";
6
- import { t as o } from "../icon-xUOyawgJ.js";
7
- import { t as s } from "../key-CaQYVkjh.js";
8
- import { t as c } from "../lastPointer-CRxcUqdd.js";
9
- import { t as ee } from "../Popover-6eE5yIT7.js";
6
+ import { t as o } from "../Scrollbar-DoNZvgX2.js";
7
+ import { t as s } from "../icon-xUOyawgJ.js";
8
+ import { t as c } from "../key-CaQYVkjh.js";
9
+ import { t as ee } from "../lastPointer-CRxcUqdd.js";
10
+ import { t as te } from "../Popover-6eE5yIT7.js";
10
11
  import { t as l } from "../Tooltip-CrKm9FMD.js";
11
- import { c as te } from "../config-CI8_WBbE.js";
12
+ import { c as u } from "../config-CI8_WBbE.js";
12
13
  import "./style.js";
13
- import { Fragment as u, Teleport as d, Transition as ne, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, getCurrentInstance as y, inject as b, mergeProps as x, nextTick as S, normalizeClass as C, normalizeStyle as w, onBeforeUnmount as T, openBlock as E, provide as D, reactive as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as M, toDisplayString as N, unref as P, useAttrs as re, useSlots as ie, watch as F, withCtx as I } from "vue";
14
+ import { Fragment as d, Teleport as f, Transition as ne, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, getCurrentInstance as b, inject as x, mergeProps as S, nextTick as C, normalizeClass as w, normalizeStyle as T, onBeforeUnmount as E, openBlock as D, provide as O, reactive as re, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as M, toDisplayString as N, unref as P, useAttrs as ie, useSlots as ae, watch as F, withCtx as I } from "vue";
14
15
  //#region src/shared/menu/tree.ts
15
16
  function L(e, t, n = "item") {
16
- return s(e, t, n);
17
+ return c(e, t, n);
17
18
  }
18
19
  function R(e, t, n = "item") {
19
20
  for (let r = 0; r < e.length; r++) {
@@ -28,20 +29,20 @@ function R(e, t, n = "item") {
28
29
  }
29
30
  return null;
30
31
  }
31
- function ae(e, t, n, r = "item") {
32
+ function oe(e, t, n, r = "item") {
32
33
  return e.items?.length ? L(e, n, r) === t || R(e.items, t, `${r}-${n}`) !== null : !1;
33
34
  }
34
- function oe(e, t = "item") {
35
+ function se(e, t = "item") {
35
36
  let n = [];
36
37
  for (let r = 0; r < e.length; r++) {
37
38
  let i = e[r];
38
39
  if (i.separator || !i.items?.length) continue;
39
40
  let a = L(i, r, t);
40
- n.push(a), n.push(...oe(i.items, `${t}-${r}`));
41
+ n.push(a), n.push(...se(i.items, `${t}-${r}`));
41
42
  }
42
43
  return n;
43
44
  }
44
- function se(e, t = "item") {
45
+ function ce(e, t = "item") {
45
46
  let n = [];
46
47
  for (let r = 0; r < e.length; r++) {
47
48
  let i = e[r];
@@ -51,7 +52,7 @@ function se(e, t = "item") {
51
52
  }
52
53
  //#endregion
53
54
  //#region src/components/Menu/context.ts
54
- var ce = Symbol("muMenu"), z = /* @__PURE__ */ v({
55
+ var le = Symbol("muMenu"), z = /* @__PURE__ */ y({
55
56
  __name: "MenuCollapsedTooltip",
56
57
  props: {
57
58
  label: {},
@@ -65,8 +66,8 @@ var ce = Symbol("muMenu"), z = /* @__PURE__ */ v({
65
66
  }
66
67
  },
67
68
  setup(e) {
68
- let t = e, n = f(() => t.active && !!t.label && !t.suspended);
69
- return (t, r) => n.value ? (E(), p(l, {
69
+ let t = e, n = p(() => t.active && !!t.label && !t.suspended);
70
+ return (t, r) => n.value ? (D(), m(l, {
70
71
  key: 0,
71
72
  content: e.label,
72
73
  placement: "right",
@@ -81,16 +82,16 @@ var ce = Symbol("muMenu"), z = /* @__PURE__ */ v({
81
82
  //#endregion
82
83
  //#region src/shared/optionalRouter.ts
83
84
  function B() {
84
- let e = y();
85
+ let e = b();
85
86
  if (!e) return !1;
86
87
  for (let t of Object.values(e.appContext.provides)) if (t && typeof t == "object" && "resolve" in t && "push" in t) return !0;
87
88
  return !1;
88
89
  }
89
- function le() {
90
- let e = y();
90
+ function ue() {
91
+ let e = b();
91
92
  return !e || !B() ? null : e.appContext.components.RouterLink ?? null;
92
93
  }
93
- function ue(e) {
94
+ function de(e) {
94
95
  return typeof e == "string" ? e : typeof e.path == "string" ? e.path : typeof e.href == "string" ? e.href : "#";
95
96
  }
96
97
  function V(e) {
@@ -111,14 +112,14 @@ var H = {
111
112
  key: 0,
112
113
  class: "m-menu__icon",
113
114
  "aria-hidden": "true"
114
- }, de = { class: "m-menu__label" }, fe = {
115
+ }, fe = { class: "m-menu__label" }, pe = {
115
116
  key: 1,
116
117
  class: "m-menu__arrow",
117
118
  "aria-hidden": "true"
118
119
  }, G = {
119
120
  class: "m-menu m-menu--flyout",
120
121
  role: "menu"
121
- }, pe = [
122
+ }, me = [
122
123
  "tabindex",
123
124
  "data-m-menu-key",
124
125
  "aria-expanded",
@@ -132,11 +133,11 @@ var H = {
132
133
  key: 0,
133
134
  class: "m-menu__submenu",
134
135
  role: "group"
135
- }, Y = { class: "m-menu__submenu-inner" }, me = {
136
+ }, Y = { class: "m-menu__submenu-inner" }, he = {
136
137
  key: 0,
137
138
  class: "m-menu__icon",
138
139
  "aria-hidden": "true"
139
- }, he = { class: "m-menu__label" }, X = /* @__PURE__ */ v({
140
+ }, ge = { class: "m-menu__label" }, X = /* @__PURE__ */ y({
140
141
  __name: "MenuNodes",
141
142
  props: {
142
143
  items: {},
@@ -145,17 +146,17 @@ var H = {
145
146
  flyout: { type: Boolean }
146
147
  },
147
148
  setup(e) {
148
- let n = e, r = b(ce);
149
+ let n = e, r = x(le);
149
150
  if (!r) throw Error("MenuNodes must be used inside MMenu");
150
- let i = r, a = le(), s = f(() => i.collapsed.value && !n.flyout), c = f(() => i.mode === "horizontal"), l = f(() => (s.value || c.value) && !n.flyout);
151
- function te(e, t) {
151
+ let i = r, a = ue(), o = p(() => i.collapsed.value && !n.flyout), c = p(() => i.mode === "horizontal"), ee = p(() => (o.value || c.value) && !n.flyout);
152
+ function l(e, t) {
152
153
  i.setFlyoutOpen(e, t);
153
154
  }
154
- function d(e, t) {
155
+ function u(e, t) {
155
156
  return i.resolveKey(e, t, n.prefix);
156
157
  }
157
- function v(e) {
158
- return o(e.icon);
158
+ function f(e) {
159
+ return s(e.icon);
159
160
  }
160
161
  function y(e, t) {
161
162
  if (e.disabled) {
@@ -164,85 +165,85 @@ var H = {
164
165
  }
165
166
  i.activate(e), e.to || t.preventDefault();
166
167
  }
167
- function x(e, t) {
168
- e.disabled || l.value || i.toggleExpand(d(e, t));
168
+ function b(e, t) {
169
+ e.disabled || ee.value || i.toggleExpand(u(e, t));
169
170
  }
170
171
  function S(e, t) {
171
- return i.isExpanded(d(e, t));
172
+ return i.isExpanded(u(e, t));
172
173
  }
173
- function T(e, t) {
174
- let r = v(e);
174
+ function C(e, t) {
175
+ let r = f(e);
175
176
  return {
176
177
  "m-menu__item-content--selected": i.isSelected(e, t, n.prefix),
177
178
  "m-menu__item-content--child-active": i.isChildActive(e, t, n.prefix),
178
179
  "m-menu__item-content--disabled": !!e.disabled,
179
- "m-menu__item-content--collapsed": s.value,
180
+ "m-menu__item-content--collapsed": o.value,
180
181
  "m-menu__item-content--no-icon": !r,
181
- "m-menu__item-content--active": i.activeKey.value === d(e, t)
182
+ "m-menu__item-content--active": i.activeKey.value === u(e, t)
182
183
  };
183
184
  }
184
- function D(e, t) {
185
- return n.flyout ? 0 : i.tabindexForKey(d(e, t));
185
+ function E(e, t) {
186
+ return n.flyout ? 0 : i.tabindexForKey(u(e, t));
186
187
  }
187
188
  function O(e) {
188
189
  if (!(c.value || n.flyout)) return i.paddingStyle(e);
189
190
  }
190
- function k(e, t) {
191
+ function re(e, t) {
191
192
  return S(e, t);
192
193
  }
193
- function j(e) {
194
+ function k(e) {
194
195
  return !!(e.to && a && !V(e.to));
195
196
  }
196
- function re(e) {
197
- if (!(!e.to || j(e))) return ue(e.to);
197
+ function j(e) {
198
+ if (!(!e.to || k(e))) return de(e.to);
198
199
  }
199
200
  function ie(e) {
200
- if (!(!j(e) || !e.to)) return e.to;
201
+ if (!(!k(e) || !e.to)) return e.to;
201
202
  }
202
- function F(e) {
203
- return s.value && !!e.label;
203
+ function ae(e) {
204
+ return o.value && !!e.label;
204
205
  }
205
- function L(e, t) {
206
- return !!i.flyoutOpen[d(e, t)];
206
+ function F(e, t) {
207
+ return !!i.flyoutOpen[u(e, t)];
207
208
  }
208
- return (n, r) => (E(!0), h(u, null, A(e.items, (n, r) => (E(), h(u, { key: d(n, r) }, [n.separator ? (E(), h("div", H)) : n.items?.length ? (E(), h("div", {
209
+ return (n, r) => (D(!0), g(d, null, A(e.items, (n, r) => (D(), g(d, { key: u(n, r) }, [n.separator ? (D(), g("div", H)) : n.items?.length ? (D(), g("div", {
209
210
  key: 1,
210
- class: C(["m-menu__item m-menu__item--submenu", { "m-menu__item--horizontal": c.value }]),
211
+ class: w(["m-menu__item m-menu__item--submenu", { "m-menu__item--horizontal": c.value }]),
211
212
  role: "none"
212
- }, [l.value ? (E(), p(ee, {
213
+ }, [ee.value ? (D(), m(te, {
213
214
  key: 0,
214
215
  class: "m-menu__collapsed-popover",
215
- "model-value": !!P(i).flyoutOpen[d(n, r)],
216
+ "model-value": !!P(i).flyoutOpen[u(n, r)],
216
217
  trigger: c.value ? "click" : "hover",
217
218
  placement: c.value ? "bottom-start" : "right-start",
218
219
  "show-delay": c.value ? 0 : 50,
219
220
  "hide-delay": c.value ? 0 : 80,
220
- "onUpdate:modelValue": (e) => te(d(n, r), e)
221
+ "onUpdate:modelValue": (e) => l(u(n, r), e)
221
222
  }, {
222
- default: I(() => [_(z, {
223
+ default: I(() => [v(z, {
223
224
  label: n.label,
224
- active: F(n),
225
- suspended: L(n, r)
225
+ active: ae(n),
226
+ suspended: F(n, r)
226
227
  }, {
227
- default: I(() => [g("div", {
228
- class: C(["m-menu__item-content", T(n, r)]),
229
- style: w(O(e.depth)),
228
+ default: I(() => [_("div", {
229
+ class: w(["m-menu__item-content", C(n, r)]),
230
+ style: T(O(e.depth)),
230
231
  role: "menuitem",
231
- tabindex: D(n, r),
232
- "data-m-menu-key": e.flyout ? void 0 : d(n, r),
232
+ tabindex: E(n, r),
233
+ "data-m-menu-key": e.flyout ? void 0 : u(n, r),
233
234
  "aria-label": n.label,
234
235
  "aria-haspopup": "menu",
235
- "aria-expanded": c.value ? !!P(i).flyoutOpen[d(n, r)] : void 0
236
+ "aria-expanded": c.value ? !!P(i).flyoutOpen[u(n, r)] : void 0
236
237
  }, [
237
- v(n) ? (E(), h("span", W, [_(t, {
238
- name: v(n),
238
+ f(n) ? (D(), g("span", W, [v(t, {
239
+ name: f(n),
239
240
  size: "sm"
240
- }, null, 8, ["name"])])) : m("", !0),
241
- g("span", de, N(n.label), 1),
242
- c.value ? (E(), h("span", fe, [_(t, {
241
+ }, null, 8, ["name"])])) : h("", !0),
242
+ _("span", fe, N(n.label), 1),
243
+ c.value ? (D(), g("span", pe, [v(t, {
243
244
  name: "chevron-down",
244
245
  size: "sm"
245
- })])) : m("", !0)
246
+ })])) : h("", !0)
246
247
  ], 14, U)]),
247
248
  _: 2
248
249
  }, 1032, [
@@ -250,7 +251,7 @@ var H = {
250
251
  "active",
251
252
  "suspended"
252
253
  ])]),
253
- content: I(() => [g("div", G, [_(X, {
254
+ content: I(() => [_("div", G, [v(X, {
254
255
  items: n.items,
255
256
  depth: 0,
256
257
  prefix: `${e.prefix}-${r}`,
@@ -264,31 +265,31 @@ var H = {
264
265
  "show-delay",
265
266
  "hide-delay",
266
267
  "onUpdate:modelValue"
267
- ])) : (E(), h(u, { key: 1 }, [g("div", {
268
- class: C(["m-menu__item-content", T(n, r)]),
269
- style: w(O(e.depth)),
268
+ ])) : (D(), g(d, { key: 1 }, [_("div", {
269
+ class: w(["m-menu__item-content", C(n, r)]),
270
+ style: T(O(e.depth)),
270
271
  role: "menuitem",
271
- tabindex: D(n, r),
272
- "data-m-menu-key": e.flyout ? void 0 : d(n, r),
272
+ tabindex: E(n, r),
273
+ "data-m-menu-key": e.flyout ? void 0 : u(n, r),
273
274
  "aria-haspopup": "menu",
274
275
  "aria-expanded": S(n, r),
275
276
  "aria-disabled": n.disabled || void 0,
276
- onClick: (e) => x(n, r)
277
+ onClick: (e) => b(n, r)
277
278
  }, [
278
- v(n) ? (E(), h("span", K, [_(t, {
279
- name: v(n),
279
+ f(n) ? (D(), g("span", K, [v(t, {
280
+ name: f(n),
280
281
  size: "sm"
281
- }, null, 8, ["name"])])) : m("", !0),
282
- g("span", q, N(n.label), 1),
283
- g("span", {
284
- class: C(["m-menu__arrow", { "m-menu__arrow--expanded": k(n, r) }]),
282
+ }, null, 8, ["name"])])) : h("", !0),
283
+ _("span", q, N(n.label), 1),
284
+ _("span", {
285
+ class: w(["m-menu__arrow", { "m-menu__arrow--expanded": re(n, r) }]),
285
286
  "aria-hidden": "true"
286
- }, [_(t, {
287
+ }, [v(t, {
287
288
  name: "chevron-right",
288
289
  size: "sm"
289
290
  })], 2)
290
- ], 14, pe), _(ne, { name: "m-menu-expand" }, {
291
- default: I(() => [S(n, r) ? (E(), h("div", J, [g("div", Y, [_(X, {
291
+ ], 14, me), v(ne, { name: "m-menu-expand" }, {
292
+ default: I(() => [S(n, r) ? (D(), g("div", J, [_("div", Y, [v(X, {
292
293
  items: n.items,
293
294
  depth: e.depth + 1,
294
295
  prefix: `${e.prefix}-${r}`
@@ -296,32 +297,32 @@ var H = {
296
297
  "items",
297
298
  "depth",
298
299
  "prefix"
299
- ])])])) : m("", !0)]),
300
+ ])])])) : h("", !0)]),
300
301
  _: 2
301
- }, 1024)], 64))], 2)) : (E(), h("div", {
302
+ }, 1024)], 64))], 2)) : (D(), g("div", {
302
303
  key: 2,
303
- class: C(["m-menu__item", { "m-menu__item--horizontal": c.value }]),
304
+ class: w(["m-menu__item", { "m-menu__item--horizontal": c.value }]),
304
305
  role: "none"
305
- }, [_(z, {
306
+ }, [v(z, {
306
307
  label: n.label,
307
- active: F(n)
308
+ active: ae(n)
308
309
  }, {
309
- default: I(() => [(E(), p(M(j(n) ? P(a) : re(n) ? "a" : "div"), {
310
- class: C(["m-menu__item-content", T(n, r)]),
311
- style: w(O(e.depth)),
310
+ default: I(() => [(D(), m(M(k(n) ? P(a) : j(n) ? "a" : "div"), {
311
+ class: w(["m-menu__item-content", C(n, r)]),
312
+ style: T(O(e.depth)),
312
313
  role: "menuitem",
313
- tabindex: D(n, r),
314
- "data-m-menu-key": e.flyout ? void 0 : d(n, r),
314
+ tabindex: E(n, r),
315
+ "data-m-menu-key": e.flyout ? void 0 : u(n, r),
315
316
  "aria-disabled": n.disabled || void 0,
316
317
  "aria-current": P(i).isSelected(n, r, e.prefix) ? "page" : void 0,
317
- href: re(n),
318
+ href: j(n),
318
319
  to: ie(n),
319
320
  onClick: (e) => y(n, e)
320
321
  }, {
321
- default: I(() => [v(n) ? (E(), h("span", me, [_(t, {
322
- name: v(n),
322
+ default: I(() => [f(n) ? (D(), g("span", he, [v(t, {
323
+ name: f(n),
323
324
  size: "sm"
324
- }, null, 8, ["name"])])) : m("", !0), g("span", he, N(n.label), 1)]),
325
+ }, null, 8, ["name"])])) : h("", !0), _("span", ge, N(n.label), 1)]),
325
326
  _: 2
326
327
  }, 1032, [
327
328
  "class",
@@ -337,7 +338,7 @@ var H = {
337
338
  _: 2
338
339
  }, 1032, ["label", "active"])], 2))], 64))), 128));
339
340
  }
340
- }), ge = /* @__PURE__ */ v({
341
+ }), _e = /* @__PURE__ */ y({
341
342
  inheritAttrs: !1,
342
343
  __name: "Menu",
343
344
  props: {
@@ -391,18 +392,18 @@ var H = {
391
392
  "update:expandedKeys",
392
393
  "select"
393
394
  ],
394
- setup(t, { emit: o }) {
395
- let s = t, ee = re(), { rootAttrs: l } = e(ee, () => s.pt), u = o, v = ie(), y = te(), b = k(null), A = k(null), M = k({}), N = f(() => !!v.default?.()?.length), z = f(() => n(s.popup ? s : { teleport: !1 }, y.value.appendTo)), B = f(() => s.popup && r(s, y.value.appendTo)), le = f(() => s.embedded ?? !s.popup), ue = f(() => s.selectedKey), V = k([]), H = O({});
395
+ setup(t, { emit: s }) {
396
+ let c = t, te = ie(), { rootAttrs: l } = e(te, () => c.pt), d = s, y = ae(), b = u(), x = k(null), A = k(null), M = k({}), N = p(() => !!y.default?.()?.length), z = p(() => n(c.popup ? c : { teleport: !1 }, b.value.appendTo)), B = p(() => c.popup && r(c, b.value.appendTo)), ue = p(() => c.embedded ?? !c.popup), de = p(() => c.selectedKey), V = k([]), H = re({});
396
397
  function U(e, t) {
397
398
  H[e] = t;
398
399
  }
399
400
  function W() {
400
401
  for (let e of Object.keys(H)) H[e] = !1;
401
402
  }
402
- function de() {
403
+ function fe() {
403
404
  let e = A.value?.getBoundingClientRect();
404
405
  if (e && (e.width > 0 || e.height > 0)) return e;
405
- let { x: t, y: n } = c();
406
+ let { x: t, y: n } = ee();
406
407
  return {
407
408
  left: t,
408
409
  top: n,
@@ -412,35 +413,35 @@ var H = {
412
413
  height: 0
413
414
  };
414
415
  }
415
- function fe() {
416
- !s.popup || !s.modelValue || !B.value || (M.value = i(de(), s.placement, { minWidth: "10rem" }));
416
+ function pe() {
417
+ !c.popup || !c.modelValue || !B.value || (M.value = i(fe(), c.placement, { minWidth: "10rem" }));
417
418
  }
418
419
  function G() {
419
- s.modelValue && fe();
420
+ c.modelValue && pe();
420
421
  }
421
- function pe() {
422
- if (s.defaultExpandAll) {
423
- V.value = oe(s.model);
422
+ function me() {
423
+ if (c.defaultExpandAll) {
424
+ V.value = se(c.model);
424
425
  return;
425
426
  }
426
- if (s.defaultExpandedKeys.length) {
427
- V.value = [...s.defaultExpandedKeys];
427
+ if (c.defaultExpandedKeys.length) {
428
+ V.value = [...c.defaultExpandedKeys];
428
429
  return;
429
430
  }
430
- if (s.selectedKey) {
431
- let e = R(s.model, s.selectedKey);
431
+ if (c.selectedKey) {
432
+ let e = R(c.model, c.selectedKey);
432
433
  V.value = e ?? [];
433
434
  return;
434
435
  }
435
436
  V.value = [];
436
437
  }
437
- pe();
438
- let K = f({
439
- get: () => s.expandedKeys ?? V.value,
438
+ me();
439
+ let K = p({
440
+ get: () => c.expandedKeys ?? V.value,
440
441
  set: (e) => {
441
- V.value = e, u("update:expandedKeys", e);
442
+ V.value = e, d("update:expandedKeys", e);
442
443
  }
443
- }), q = f(() => se(s.model));
444
+ }), q = p(() => ce(c.model));
444
445
  function J(e) {
445
446
  return K.value.includes(e);
446
447
  }
@@ -448,7 +449,7 @@ var H = {
448
449
  let t = [...K.value], n = t.indexOf(e);
449
450
  if (n >= 0) t.splice(n, 1);
450
451
  else {
451
- if (s.accordion && q.value.includes(e)) {
452
+ if (c.accordion && q.value.includes(e)) {
452
453
  for (let n of [...t]) if (q.value.includes(n) && n !== e) {
453
454
  let e = t.indexOf(n);
454
455
  e >= 0 && t.splice(e, 1);
@@ -458,47 +459,47 @@ var H = {
458
459
  }
459
460
  K.value = t;
460
461
  }
461
- function me(e) {
462
+ function he(e) {
462
463
  if (!e) return;
463
- let t = R(s.model, e);
464
+ let t = R(c.model, e);
464
465
  if (!t?.length) return;
465
466
  let n = /* @__PURE__ */ new Set([...K.value, ...t]);
466
- if (s.accordion) for (let e of q.value) n.has(e) && !t.includes(e) && n.delete(e);
467
+ if (c.accordion) for (let e of q.value) n.has(e) && !t.includes(e) && n.delete(e);
467
468
  K.value = Array.from(n);
468
469
  }
469
- F(() => s.selectedKey, me);
470
- function he(e, t, n) {
471
- return L(e, t, n);
472
- }
470
+ F(() => c.selectedKey, he);
473
471
  function ge(e, t, n) {
474
- let r = he(e, t, n);
475
- return !!(s.selectedKey && r === s.selectedKey);
472
+ return L(e, t, n);
476
473
  }
477
474
  function _e(e, t, n) {
478
- return s.selectedKey ? ae(e, s.selectedKey, t, n) : !1;
475
+ let r = ge(e, t, n);
476
+ return !!(c.selectedKey && r === c.selectedKey);
479
477
  }
480
- function ve(e) {
481
- if (s.mode !== "horizontal" && s.collapsed) return Math.max(0, s.collapsedWidth / 2 - 10);
478
+ function ve(e, t, n) {
479
+ return c.selectedKey ? oe(e, c.selectedKey, t, n) : !1;
482
480
  }
483
481
  function ye(e) {
484
- if (s.mode === "horizontal") return { paddingInlineStart: `${s.rootIndent}px` };
485
- if (s.collapsed) {
486
- let t = ve(e);
482
+ if (c.mode !== "horizontal" && c.collapsed) return Math.max(0, c.collapsedWidth / 2 - 10);
483
+ }
484
+ function be(e) {
485
+ if (c.mode === "horizontal") return { paddingInlineStart: `${c.rootIndent}px` };
486
+ if (c.collapsed) {
487
+ let t = ye(e);
487
488
  return t == null ? void 0 : { paddingInlineStart: `${t}px` };
488
489
  }
489
490
  return { paddingInlineStart: `calc(var(--m-menu-root-indent) + ${e} * var(--m-menu-indent))` };
490
491
  }
491
- function be(e) {
492
+ function xe(e) {
492
493
  if (e.disabled || e.separator) return;
493
494
  e.command?.();
494
495
  let t = e.key ?? e.label ?? null;
495
- u("update:selectedKey", t), u("select", e), s.popup && (u("update:modelValue", !1), xe()), s.mode === "horizontal" && W();
496
+ d("update:selectedKey", t), d("select", e), c.popup && (d("update:modelValue", !1), Se()), c.mode === "horizontal" && W();
496
497
  }
497
- function xe() {
498
+ function Se() {
498
499
  (A.value?.querySelector("button, [tabindex]") ?? A.value)?.focus({ preventScroll: !0 });
499
500
  }
500
- let Z = f(() => {
501
- let e = s.collapsed || s.mode === "horizontal", t = [], n = (r, i, a) => {
501
+ let Z = p(() => {
502
+ let e = c.collapsed || c.mode === "horizontal", t = [], n = (r, i, a) => {
502
503
  r.forEach((r, o) => {
503
504
  if (r.separator) return;
504
505
  let s = L(r, o, i), c = !!r.items?.length;
@@ -510,47 +511,47 @@ var H = {
510
511
  }), c && !e && J(s) && n(r.items, `${i}-${o}`, s);
511
512
  });
512
513
  };
513
- return n(s.model, "item", null), t;
514
+ return n(c.model, "item", null), t;
514
515
  }), Q = a({
515
516
  itemCount: () => Z.value.length,
516
517
  isItemDisabled: (e) => !!Z.value[e]?.item.disabled,
517
- orientation: () => s.mode === "horizontal" ? "horizontal" : "vertical",
518
+ orientation: () => c.mode === "horizontal" ? "horizontal" : "vertical",
518
519
  onActivate: (e) => {
519
520
  let t = Z.value[e];
520
521
  if (t) {
521
522
  if (t.hasChildren) {
522
- if (s.collapsed || s.mode === "horizontal") {
523
+ if (c.collapsed || c.mode === "horizontal") {
523
524
  let e = !H[t.key];
524
525
  W(), U(t.key, e);
525
526
  } else Y(t.key);
526
527
  return;
527
528
  }
528
- be(t.item);
529
+ xe(t.item);
529
530
  }
530
531
  },
531
532
  onEscape: () => {
532
- s.popup ? u("update:modelValue", !1) : W();
533
+ c.popup ? d("update:modelValue", !1) : W();
533
534
  },
534
- returnFocusTo: () => s.popup ? A.value?.querySelector("button, [tabindex]") ?? A.value : null
535
- }), Se = f(() => Z.value[Q.activeIndex.value]?.key ?? null);
536
- function Ce(e) {
537
- let t = Se.value;
535
+ returnFocusTo: () => c.popup ? A.value?.querySelector("button, [tabindex]") ?? A.value : null
536
+ }), Ce = p(() => Z.value[Q.activeIndex.value]?.key ?? null);
537
+ function we(e) {
538
+ let t = Ce.value;
538
539
  return t == null ? Z.value.find((e) => !e.item.disabled)?.key === e ? 0 : -1 : e === t ? 0 : -1;
539
540
  }
540
- function we(e) {
541
- if (e == null || !b.value) return;
542
- let t = b.value.querySelectorAll("[data-m-menu-key]");
541
+ function Te(e) {
542
+ if (e == null || !x.value) return;
543
+ let t = x.value.querySelectorAll("[data-m-menu-key]");
543
544
  for (let n of t) if (n.dataset.mMenuKey === e) {
544
545
  n.focus({ preventScroll: !0 });
545
546
  return;
546
547
  }
547
548
  }
548
- function Te(e) {
549
+ function Ee(e) {
549
550
  let t = Z.value[Q.activeIndex.value];
550
- if (s.mode !== "horizontal") {
551
+ if (c.mode !== "horizontal") {
551
552
  if (e.key === "ArrowRight") {
552
553
  if (e.preventDefault(), !t) return;
553
- if (t.hasChildren && !s.collapsed) {
554
+ if (t.hasChildren && !c.collapsed) {
554
555
  if (!J(t.key)) Y(t.key);
555
556
  else {
556
557
  let e = Z.value.findIndex((e) => e.parentKey === t.key);
@@ -561,7 +562,7 @@ var H = {
561
562
  }
562
563
  if (e.key === "ArrowLeft") {
563
564
  if (e.preventDefault(), !t) return;
564
- if (t.hasChildren && !s.collapsed && J(t.key)) Y(t.key);
565
+ if (t.hasChildren && !c.collapsed && J(t.key)) Y(t.key);
565
566
  else if (t.parentKey != null) {
566
567
  let e = Z.value.findIndex((e) => e.key === t.parentKey);
567
568
  e >= 0 && Q.setActive(e);
@@ -575,107 +576,123 @@ var H = {
575
576
  Q.onKeydown(e);
576
577
  }
577
578
  F(Q.activeIndex, () => {
578
- S(() => we(Se.value));
579
- }), D(ce, {
580
- collapsed: f(() => s.collapsed),
581
- selectedKey: ue,
579
+ C(() => Te(Ce.value));
580
+ }), O(le, {
581
+ collapsed: p(() => c.collapsed),
582
+ selectedKey: de,
582
583
  expandedKeys: K,
583
- accordion: s.accordion,
584
- indent: s.indent,
585
- rootIndent: s.rootIndent,
586
- mode: s.mode,
587
- inverted: s.inverted,
584
+ accordion: c.accordion,
585
+ indent: c.indent,
586
+ rootIndent: c.rootIndent,
587
+ mode: c.mode,
588
+ inverted: c.inverted,
588
589
  flyoutOpen: H,
589
590
  setFlyoutOpen: U,
590
591
  toggleExpand: Y,
591
592
  isExpanded: J,
592
- activate: be,
593
- resolveKey: he,
594
- isSelected: ge,
595
- isChildActive: _e,
596
- paddingStyle: ye,
597
- activeKey: Se,
598
- tabindexForKey: Ce
593
+ activate: xe,
594
+ resolveKey: ge,
595
+ isSelected: _e,
596
+ isChildActive: ve,
597
+ paddingStyle: be,
598
+ activeKey: Ce,
599
+ tabindexForKey: we
599
600
  });
600
- function Ee(e) {
601
- if (!s.popup || !s.modelValue) return;
601
+ function De(e) {
602
+ if (!c.popup || !c.modelValue) return;
602
603
  let t = e.target;
603
- b.value?.contains(t) || A.value?.contains(t) || u("update:modelValue", !1);
604
+ x.value?.contains(t) || A.value?.contains(t) || d("update:modelValue", !1);
604
605
  }
605
- F(() => s.modelValue, (e) => {
606
- s.popup && (e ? (S(fe), document.addEventListener("click", Ee), B.value && (window.addEventListener("resize", G), window.addEventListener("scroll", G, !0))) : (document.removeEventListener("click", Ee), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0)));
607
- }, { immediate: !0 }), T(() => {
608
- document.removeEventListener("click", Ee), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0);
606
+ F(() => c.modelValue, (e) => {
607
+ c.popup && (e ? (C(pe), document.addEventListener("click", De), B.value && (window.addEventListener("resize", G), window.addEventListener("scroll", G, !0))) : (document.removeEventListener("click", De), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0)));
608
+ }, { immediate: !0 }), E(() => {
609
+ document.removeEventListener("click", De), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0);
609
610
  });
610
- let De = f(() => ["m-menu", {
611
- "m-menu--popup": s.popup,
611
+ let Oe = p(() => ["m-menu", {
612
+ "m-menu--popup": c.popup,
612
613
  "m-menu--teleported": B.value,
613
- "m-menu--collapsed": s.collapsed,
614
- "m-menu--embedded": le.value,
615
- "m-menu--horizontal": s.mode === "horizontal",
616
- "m-menu--inverted": s.inverted
617
- }]), $ = f(() => ({
618
- "--m-menu-indent": `${s.indent / 16}rem`,
619
- "--m-menu-root-indent": `${s.rootIndent / 16}rem`
620
- })), Oe = f(() => B.value ? {
614
+ "m-menu--collapsed": c.collapsed,
615
+ "m-menu--embedded": ue.value,
616
+ "m-menu--horizontal": c.mode === "horizontal",
617
+ "m-menu--inverted": c.inverted
618
+ }]), $ = p(() => ({
619
+ "--m-menu-indent": `${c.indent / 16}rem`,
620
+ "--m-menu-root-indent": `${c.rootIndent / 16}rem`
621
+ })), ke = p(() => B.value ? {
621
622
  ...$.value,
622
623
  ...M.value
623
624
  } : $.value);
624
- return (e, n) => t.popup ? N.value ? (E(), h("div", x({ key: 1 }, P(l), { class: "m-menu-popup" }), [g("div", {
625
+ return (e, n) => t.popup ? N.value ? (D(), g("div", S({ key: 1 }, P(l), { class: "m-menu-popup" }), [_("div", {
625
626
  ref_key: "triggerEl",
626
627
  ref: A,
627
628
  class: "m-menu-popup__anchor"
628
- }, [j(e.$slots, "default")], 512), (E(), p(d, {
629
+ }, [j(e.$slots, "default")], 512), (D(), m(f, {
629
630
  to: z.value.to,
630
631
  disabled: z.value.disabled
631
- }, [_(ne, { name: "m-scale-fade" }, {
632
- default: I(() => [t.modelValue ? (E(), h("div", {
632
+ }, [v(ne, { name: "m-scale-fade" }, {
633
+ default: I(() => [t.modelValue ? (D(), g("div", {
633
634
  key: 0,
634
635
  ref_key: "root",
635
- ref: b,
636
- class: C(De.value),
637
- style: w(B.value ? Oe.value : $.value),
636
+ ref: x,
637
+ class: w(Oe.value),
638
+ style: T(B.value ? ke.value : $.value),
638
639
  role: "menu",
639
- onKeydown: Te
640
- }, [_(X, {
641
- items: t.model,
642
- depth: 0,
643
- prefix: "item"
644
- }, null, 8, ["items"])], 38)) : m("", !0)]),
640
+ onKeydown: Ee
641
+ }, [v(o, {
642
+ class: "m-menu__scroll",
643
+ "fit-content": "",
644
+ "wrap-class": "m-menu__scroll-wrap",
645
+ "view-class": "m-menu__scroll-view"
646
+ }, {
647
+ default: I(() => [v(X, {
648
+ items: t.model,
649
+ depth: 0,
650
+ prefix: "item"
651
+ }, null, 8, ["items"])]),
652
+ _: 1
653
+ })], 38)) : h("", !0)]),
645
654
  _: 1
646
- })], 8, ["to", "disabled"]))], 16)) : (E(), p(d, {
655
+ })], 8, ["to", "disabled"]))], 16)) : (D(), m(f, {
647
656
  key: 2,
648
657
  to: z.value.to,
649
658
  disabled: z.value.disabled
650
- }, [_(ne, { name: "m-scale-fade" }, {
651
- default: I(() => [t.modelValue ? (E(), h("div", x({
659
+ }, [v(ne, { name: "m-scale-fade" }, {
660
+ default: I(() => [t.modelValue ? (D(), g("div", S({
652
661
  key: 0,
653
662
  ref_key: "root",
654
- ref: b
663
+ ref: x
655
664
  }, P(l), {
656
- class: De.value,
665
+ class: Oe.value,
657
666
  style: B.value ? {
658
667
  ...$.value,
659
668
  ...M.value
660
669
  } : $.value,
661
670
  role: "menu",
662
- onKeydown: Te
663
- }), [_(X, {
664
- items: t.model,
665
- depth: 0,
666
- prefix: "item"
667
- }, null, 8, ["items"])], 16)) : m("", !0)]),
671
+ onKeydown: Ee
672
+ }), [v(o, {
673
+ class: "m-menu__scroll",
674
+ "fit-content": "",
675
+ "wrap-class": "m-menu__scroll-wrap",
676
+ "view-class": "m-menu__scroll-view"
677
+ }, {
678
+ default: I(() => [v(X, {
679
+ items: t.model,
680
+ depth: 0,
681
+ prefix: "item"
682
+ }, null, 8, ["items"])]),
683
+ _: 1
684
+ })], 16)) : h("", !0)]),
668
685
  _: 1
669
- })], 8, ["to", "disabled"])) : (E(), h("div", x({
686
+ })], 8, ["to", "disabled"])) : (D(), g("div", S({
670
687
  key: 0,
671
688
  ref_key: "root",
672
- ref: b
689
+ ref: x
673
690
  }, P(l), {
674
- class: De.value,
691
+ class: Oe.value,
675
692
  style: $.value,
676
693
  role: "menu",
677
- onKeydown: Te
678
- }), [_(X, {
694
+ onKeydown: Ee
695
+ }), [v(X, {
679
696
  items: t.model,
680
697
  depth: 0,
681
698
  prefix: "item"
@@ -683,4 +700,4 @@ var H = {
683
700
  }
684
701
  });
685
702
  //#endregion
686
- export { ge as MMenu };
703
+ export { _e as MMenu };