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
@@ -1,74 +1,108 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
2
  import { t } from "../Icon-DfpIfo2L.js";
3
3
  import { n, t as r } from "../overlay-oR-5MDuE.js";
4
- import { t as i } from "../icon-xUOyawgJ.js";
5
- import { t as a } from "../key-CaQYVkjh.js";
6
- import { c as o } from "../config-CI8_WBbE.js";
4
+ import { t as i } from "../Scrollbar-DoNZvgX2.js";
5
+ import { t as a } from "../icon-xUOyawgJ.js";
6
+ import { t as o } from "../key-CaQYVkjh.js";
7
+ import { t as s } from "../FlyoutSubmenu-BC_cl17_.js";
8
+ import { c } from "../config-CI8_WBbE.js";
7
9
  import "./style.js";
8
- import { Fragment as s, Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeStyle as x, onBeforeUnmount as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useAttrs as k, useModel as A, watch as j, withCtx as M, withModifiers as N } from "vue";
10
+ import { Fragment as l, Teleport as u, Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, mergeModels as y, mergeProps as b, nextTick as x, normalizeClass as S, normalizeStyle as C, onBeforeUnmount as w, openBlock as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useAttrs as j, useModel as M, watch as N, withCtx as P, withModifiers as F } from "vue";
9
11
  //#region src/components/ContextMenu/ContextMenuNodes.vue?vue&type=script&setup=true&lang.ts
10
- var P = {
12
+ var I = {
11
13
  key: 0,
12
14
  class: "m-contextmenu__separator",
13
15
  role: "separator"
14
- }, F = ["onMouseenter"], I = ["disabled"], L = {
16
+ }, L = ["onMouseenter"], R = ["disabled"], z = {
15
17
  key: 0,
16
18
  class: "m-contextmenu__icon",
17
19
  "aria-hidden": "true"
18
- }, R = { class: "m-contextmenu__label" }, z = {
20
+ }, B = { class: "m-contextmenu__label" }, V = {
19
21
  key: 1,
20
22
  class: "m-contextmenu__shortcut"
21
- }, B = {
23
+ }, H = {
22
24
  class: "m-contextmenu__caret",
23
25
  "aria-hidden": "true"
24
- }, V = {
25
- key: 0,
26
- class: "m-contextmenu__submenu",
27
- role: "menu"
28
- }, H = ["disabled", "onClick"], U = {
26
+ }, U = ["disabled", "onClick"], W = {
29
27
  key: 0,
30
28
  class: "m-contextmenu__icon",
31
29
  "aria-hidden": "true"
32
- }, W = { class: "m-contextmenu__label" }, G = {
30
+ }, G = { class: "m-contextmenu__label" }, K = {
33
31
  key: 1,
34
32
  class: "m-contextmenu__shortcut"
35
- }, K = /* @__PURE__ */ g({
33
+ }, q = /* @__PURE__ */ v({
36
34
  __name: "ContextMenuNodes",
37
35
  props: { items: {} },
38
36
  emits: ["activate"],
39
37
  setup(e, { emit: n }) {
40
- let r = w(null);
41
- function o(e, t) {
42
- return a(e, t, "cm");
38
+ let r = E(null), c = E(null), u;
39
+ function d() {
40
+ u && clearTimeout(u), u = void 0;
41
+ }
42
+ function f() {
43
+ d(), u = setTimeout(() => {
44
+ r.value = null, c.value = null;
45
+ }, 150);
46
+ }
47
+ function p(e, t) {
48
+ return o(e, t, "cm");
49
+ }
50
+ function v(e) {
51
+ return a(e.icon);
52
+ }
53
+ function y(e, t) {
54
+ d(), r.value = e;
55
+ let n = t.currentTarget;
56
+ c.value = n?.querySelector(".m-contextmenu__item--parent") ?? n;
43
57
  }
44
- function c(e) {
45
- return i(e.icon);
58
+ function b() {
59
+ d();
46
60
  }
47
- return (n, i) => (C(!0), p(s, null, T(e.items, (e, a) => (C(), p(s, { key: o(e, a) }, [e.separator ? (C(), p("div", P)) : e.items?.length ? (C(), p("div", {
61
+ function x() {
62
+ f();
63
+ }
64
+ return (n, a) => (T(!0), h(l, null, D(e.items, (e, o) => (T(), h(l, { key: p(e, o) }, [e.separator ? (T(), h("div", I)) : e.items?.length ? (T(), h("div", {
48
65
  key: 1,
49
66
  class: "m-contextmenu__submenu-wrap",
50
- onMouseenter: (e) => r.value = a,
51
- onMouseleave: i[1] ||= (e) => r.value = null
52
- }, [m("button", {
67
+ onMouseenter: (e) => y(o, e),
68
+ onMouseleave: a[1] ||= (e) => f()
69
+ }, [g("button", {
53
70
  type: "button",
54
71
  class: "m-contextmenu__item m-contextmenu__item--parent",
55
72
  role: "menuitem",
56
73
  disabled: e.disabled
57
74
  }, [
58
- c(e) ? (C(), p("span", L, [h(t, {
59
- name: c(e),
75
+ v(e) ? (T(), h("span", z, [_(t, {
76
+ name: v(e),
60
77
  size: "sm"
61
- }, null, 8, ["name"])])) : f("", !0),
62
- m("span", R, D(e.label), 1),
63
- e.shortcut ? (C(), p("span", z, D(e.shortcut), 1)) : f("", !0),
64
- m("span", B, [h(t, {
78
+ }, null, 8, ["name"])])) : m("", !0),
79
+ g("span", B, k(e.label), 1),
80
+ e.shortcut ? (T(), h("span", V, k(e.shortcut), 1)) : m("", !0),
81
+ g("span", H, [_(t, {
65
82
  name: "chevron-right",
66
83
  size: "sm"
67
84
  })])
68
- ], 8, I), r.value === a ? (C(), p("div", V, [h(K, {
69
- items: e.items,
70
- onActivate: i[0] ||= (e) => n.$emit("activate", e)
71
- }, null, 8, ["items"])])) : f("", !0)], 40, F)) : (C(), p("button", {
85
+ ], 8, R), _(s, {
86
+ open: r.value === o,
87
+ anchor: r.value === o ? c.value : null,
88
+ "panel-class": "m-contextmenu__submenu",
89
+ onEnter: b,
90
+ onLeave: x
91
+ }, {
92
+ default: P(() => [_(i, {
93
+ class: "m-contextmenu__submenu-scroll",
94
+ "fit-content": "",
95
+ "wrap-class": "m-contextmenu__submenu-wrap-inner",
96
+ "view-class": "m-contextmenu__submenu-view"
97
+ }, {
98
+ default: P(() => [_(q, {
99
+ items: e.items,
100
+ onActivate: a[0] ||= (e) => n.$emit("activate", e)
101
+ }, null, 8, ["items"])]),
102
+ _: 2
103
+ }, 1024)]),
104
+ _: 2
105
+ }, 1032, ["open", "anchor"])], 40, L)) : (T(), h("button", {
72
106
  key: 2,
73
107
  type: "button",
74
108
  class: "m-contextmenu__item",
@@ -76,18 +110,18 @@ var P = {
76
110
  disabled: e.disabled,
77
111
  onClick: (t) => n.$emit("activate", e)
78
112
  }, [
79
- c(e) ? (C(), p("span", U, [h(t, {
80
- name: c(e),
113
+ v(e) ? (T(), h("span", W, [_(t, {
114
+ name: v(e),
81
115
  size: "sm"
82
- }, null, 8, ["name"])])) : f("", !0),
83
- m("span", W, D(e.label), 1),
84
- e.shortcut ? (C(), p("span", G, D(e.shortcut), 1)) : f("", !0)
85
- ], 8, H))], 64))), 128));
116
+ }, null, 8, ["name"])])) : m("", !0),
117
+ g("span", G, k(e.label), 1),
118
+ e.shortcut ? (T(), h("span", K, k(e.shortcut), 1)) : m("", !0)
119
+ ], 8, U))], 64))), 128));
86
120
  }
87
- }), q = /* @__PURE__ */ g({
121
+ }), J = /* @__PURE__ */ v({
88
122
  inheritAttrs: !1,
89
123
  __name: "ContextMenu",
90
- props: /*@__PURE__*/ _({
124
+ props: /*@__PURE__*/ y({
91
125
  pt: {},
92
126
  model: {},
93
127
  teleport: {
@@ -105,24 +139,24 @@ var P = {
105
139
  positionModifiers: {}
106
140
  }),
107
141
  emits: ["update:modelValue", "update:position"],
108
- setup(t, { expose: i }) {
109
- let a = t, g = A(t, "modelValue"), _ = A(t, "position"), T = k(), { rootAttrs: D } = e(T, () => a.pt), P = o(), F = w(null), I = w({
142
+ setup(t, { expose: a }) {
143
+ let o = t, s = M(t, "modelValue"), v = M(t, "position"), y = j(), { rootAttrs: D } = e(y, () => o.pt), k = c(), I = E(null), L = E({
110
144
  x: 0,
111
145
  y: 0
112
- }), L = u(() => n(a, P.value.appendTo)), R = u(() => r(a, P.value.appendTo)), z = u(() => {
113
- let e = _.value ?? I.value;
146
+ }), R = f(() => n(o, k.value.appendTo)), z = f(() => r(o, k.value.appendTo)), B = f(() => {
147
+ let e = v.value ?? L.value;
114
148
  return {
115
149
  left: `${e.x}px`,
116
150
  top: `${e.y}px`
117
151
  };
118
152
  });
119
- function B(e) {
120
- a.model.length && H(e);
153
+ function V(e) {
154
+ o.model.length && U(e);
121
155
  }
122
- function V() {
123
- g.value = !1;
156
+ function H() {
157
+ s.value = !1;
124
158
  }
125
- function H(e) {
159
+ function U(e) {
126
160
  let t = "clientX" in e ? {
127
161
  x: e.clientX,
128
162
  y: e.clientY
@@ -130,60 +164,68 @@ var P = {
130
164
  x: e.x,
131
165
  y: e.y
132
166
  };
133
- "preventDefault" in e && e.preventDefault(), "stopPropagation" in e && e.stopPropagation(), I.value = t, _.value = t, g.value = !0;
134
- }
135
- function U(e) {
136
- e.disabled || e.separator || (e.command?.(), V());
167
+ "preventDefault" in e && e.preventDefault(), "stopPropagation" in e && e.stopPropagation(), L.value = t, v.value = t, s.value = !0;
137
168
  }
138
169
  function W(e) {
139
- g.value && F.value && !F.value.contains(e.target) && V();
170
+ e.disabled || e.separator || (e.command?.(), H());
140
171
  }
141
172
  function G(e) {
142
- e.key === "Escape" && V();
173
+ s.value && I.value && !I.value.contains(e.target) && H();
174
+ }
175
+ function K(e) {
176
+ e.key === "Escape" && H();
143
177
  }
144
- let q = 0;
145
- function J() {
146
- document.removeEventListener("click", W), document.removeEventListener("keydown", G), document.removeEventListener("contextmenu", W);
178
+ let J = 0;
179
+ function Y() {
180
+ document.removeEventListener("click", G), document.removeEventListener("keydown", K), document.removeEventListener("contextmenu", G);
147
181
  }
148
- return j(g, (e) => {
149
- if (J(), !e) return;
150
- document.addEventListener("click", W), document.addEventListener("keydown", G);
151
- let t = ++q;
152
- y(() => {
153
- t === q && g.value && document.addEventListener("contextmenu", W);
182
+ return N(s, (e) => {
183
+ if (Y(), !e) return;
184
+ document.addEventListener("click", G), document.addEventListener("keydown", K);
185
+ let t = ++J;
186
+ x(() => {
187
+ t === J && s.value && document.addEventListener("contextmenu", G);
154
188
  });
155
- }, { immediate: !0 }), S(() => {
156
- J();
157
- }), i({
158
- show: H,
159
- hide: V
160
- }), (e, n) => (C(), p(s, null, [m("div", v(O(D), {
189
+ }, { immediate: !0 }), w(() => {
190
+ Y();
191
+ }), a({
192
+ show: U,
193
+ hide: H
194
+ }), (e, n) => (T(), h(l, null, [g("div", b(A(D), {
161
195
  class: "m-contextmenu-anchor",
162
- onContextmenu: B
163
- }), [E(e.$slots, "default")], 16), (C(), d(c, {
164
- to: L.value.to,
165
- disabled: L.value.disabled
166
- }, [h(l, { name: "m-scale-fade" }, {
167
- default: M(() => [g.value ? (C(), p("div", {
196
+ onContextmenu: V
197
+ }), [O(e.$slots, "default")], 16), (T(), p(u, {
198
+ to: R.value.to,
199
+ disabled: R.value.disabled
200
+ }, [_(d, { name: "m-scale-fade" }, {
201
+ default: P(() => [s.value ? (T(), h("div", {
168
202
  key: 0,
169
203
  ref_key: "root",
170
- ref: F,
171
- class: b(["m-contextmenu", { "m-contextmenu--teleported": R.value }]),
204
+ ref: I,
205
+ class: S(["m-contextmenu", { "m-contextmenu--teleported": z.value }]),
172
206
  role: "menu",
173
- style: x(z.value),
174
- onClick: n[0] ||= N(() => {}, ["stop"])
175
- }, [h(K, {
176
- items: t.model,
177
- onActivate: U
178
- }, null, 8, ["items"])], 6)) : f("", !0)]),
207
+ style: C(B.value),
208
+ onClick: n[0] ||= F(() => {}, ["stop"])
209
+ }, [_(i, {
210
+ class: "m-contextmenu__scroll",
211
+ "fit-content": "",
212
+ "wrap-class": "m-contextmenu__scroll-wrap",
213
+ "view-class": "m-contextmenu__scroll-view"
214
+ }, {
215
+ default: P(() => [_(q, {
216
+ items: t.model,
217
+ onActivate: W
218
+ }, null, 8, ["items"])]),
219
+ _: 1
220
+ })], 6)) : m("", !0)]),
179
221
  _: 1
180
222
  })], 8, ["to", "disabled"]))], 64));
181
223
  }
182
224
  });
183
225
  //#endregion
184
226
  //#region src/components/ContextMenu/useContextMenu.ts
185
- function J() {
186
- let e = w(!1), t = w({
227
+ function Y() {
228
+ let e = E(!1), t = E({
187
229
  x: 0,
188
230
  y: 0
189
231
  });
@@ -209,4 +251,4 @@ function J() {
209
251
  };
210
252
  }
211
253
  //#endregion
212
- export { q as MContextMenu, J as useContextMenu };
254
+ export { J as MContextMenu, Y as useContextMenu };