st-comp 0.0.279 → 0.0.281

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 (229) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +13 -14
  3. package/es/CustomFunction.cjs +2 -2
  4. package/es/CustomFunction.js +377 -376
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +294 -294
  7. package/es/Kline.cjs +1 -1
  8. package/es/Kline.js +19 -19
  9. package/es/KlineBasic.cjs +1 -1
  10. package/es/KlineBasic.js +260 -260
  11. package/es/KlineConfig.cjs +1 -1
  12. package/es/KlineConfig.js +579 -553
  13. package/es/KlineNew.cjs +1 -1
  14. package/es/KlineNew.js +17 -17
  15. package/es/KlinePlus.cjs +2 -2
  16. package/es/KlinePlus.js +23 -24
  17. package/es/MonacoEditor.cjs +1 -1
  18. package/es/MonacoEditor.js +30 -29
  19. package/es/Pagination.cjs +1 -1
  20. package/es/Pagination.js +517 -425
  21. package/es/PasswordPrompt.cjs +1 -1
  22. package/es/PasswordPrompt.js +3 -3
  23. package/es/Table.cjs +1 -1
  24. package/es/Table.js +43 -43
  25. package/es/User.cjs +1 -1
  26. package/es/User.js +898 -866
  27. package/es/VarSelectDialog.cjs +3 -3
  28. package/es/VarSelectDialog.js +110 -109
  29. package/es/VarietyAiHelper.cjs +7 -7
  30. package/es/VarietyAiHelper.js +615 -464
  31. package/es/VarietyAutoComplete.cjs +1 -1
  32. package/es/VarietyAutoComplete.js +11 -11
  33. package/es/VarietySearch.cjs +18 -18
  34. package/es/VarietySearch.js +3079 -2913
  35. package/es/{VarietySelect-41daac7b.js → VarietySelect-3fc0f0ce.js} +5 -5
  36. package/es/{VarietySelect-d58eee29.cjs → VarietySelect-d2d25a3d.cjs} +1 -1
  37. package/es/VarietyTextCopy.cjs +3 -3
  38. package/es/VarietyTextCopy.js +51 -51
  39. package/es/VirtualTable.cjs +13 -1
  40. package/es/VirtualTable.js +1927 -2259
  41. package/es/_baseClone-f8e5d3ba.cjs +1 -0
  42. package/es/_baseClone-fb6a3947.js +210 -0
  43. package/es/base-d987e5c9.cjs +5 -0
  44. package/es/base-dd156b8e.js +790 -0
  45. package/es/{castArray-7741a212.js → castArray-18eb6a41.js} +1 -1
  46. package/es/{castArray-35947698.cjs → castArray-d9ffe84a.cjs} +1 -1
  47. package/es/clamp-17c4d8aa.cjs +1 -0
  48. package/es/clamp-c7512966.js +10 -0
  49. package/es/config-provider-06d8207f.js +86 -0
  50. package/es/config-provider-bb61bd3e.cjs +1 -0
  51. package/es/debounce-0a98a9c6.js +57 -0
  52. package/es/debounce-37b17615.cjs +1 -0
  53. package/es/dropdown-8fa21bfd.cjs +1 -0
  54. package/es/dropdown-bcf8d198.js +178 -0
  55. package/es/el-autocomplete-13b9e372.cjs +1 -0
  56. package/es/el-autocomplete-419bfbcf.js +434 -0
  57. package/es/el-button-ee9fe159.js +343 -0
  58. package/es/el-button-fac5e058.cjs +1 -0
  59. package/es/el-checkbox-6cf1a71c.cjs +1 -0
  60. package/es/el-checkbox-b5ac7f04.js +566 -0
  61. package/es/el-dialog-060b3735.js +252 -0
  62. package/es/el-dialog-54aebacd.cjs +1 -0
  63. package/es/el-divider-3f0320be.cjs +1 -0
  64. package/es/el-divider-c5d72961.js +51 -0
  65. package/es/el-empty-552baf04.js +159 -0
  66. package/es/el-empty-58bc2a10.cjs +1 -0
  67. package/es/el-form-item-2be6b683.js +1265 -0
  68. package/es/el-form-item-758dfefa.cjs +12 -0
  69. package/es/el-input-7fe53030.cjs +1 -0
  70. package/es/el-input-d23f5442.js +761 -0
  71. package/es/el-input-number-484fb184.js +390 -0
  72. package/es/el-input-number-f0f4eedb.cjs +1 -0
  73. package/es/el-loading-9d3e405c.js +190 -0
  74. package/es/el-loading-fafaaa7b.cjs +1 -0
  75. package/es/el-menu-item-0ac22681.js +824 -0
  76. package/es/el-menu-item-c91ae430.cjs +1 -0
  77. package/es/el-message-box-568a0aa6.js +481 -0
  78. package/es/el-message-box-ceacb54e.cjs +1 -0
  79. package/es/el-overlay-9f36e73c.cjs +1 -0
  80. package/es/el-overlay-cb5c85aa.js +444 -0
  81. package/es/el-popconfirm-4a8cd35c.cjs +1 -0
  82. package/es/el-popconfirm-6f8e65c8.js +190 -0
  83. package/es/el-popper-0454c8e8.js +2235 -0
  84. package/es/el-popper-acd0ff35.cjs +1 -0
  85. package/es/{el-scrollbar-323542e7.js → el-scrollbar-0a42c1d0.js} +4 -9
  86. package/es/{el-scrollbar-bc3f790d.cjs → el-scrollbar-225c6c9e.cjs} +1 -1
  87. package/es/el-segmented-64dc7258.js +168 -0
  88. package/es/el-segmented-eb3c8e65.cjs +1 -0
  89. package/es/el-select-a573c78b.js +1535 -0
  90. package/es/el-select-c317294a.cjs +1 -0
  91. package/es/el-table-column-1c443963.js +3651 -0
  92. package/es/el-table-column-f555115d.cjs +14 -0
  93. package/es/el-tag-2d8a3fe7.js +77 -0
  94. package/es/el-tag-dca1292c.cjs +1 -0
  95. package/es/el-text-649c986a.cjs +1 -0
  96. package/es/el-text-761e6717.js +84 -0
  97. package/es/index-11181b5f.cjs +1 -0
  98. package/es/index-21a3dc89.cjs +1 -0
  99. package/es/index-33e039e3.cjs +1 -0
  100. package/es/index-3806160e.js +710 -0
  101. package/es/{index-a9246d17.cjs → index-4614e8e9.cjs} +109 -109
  102. package/es/{index-44a382a5.js → index-53beef02.js} +12 -12
  103. package/es/index-5cada1ed.cjs +1 -0
  104. package/es/index-6a36e1fc.cjs +1 -0
  105. package/es/{index-eb96e074.js → index-6a52dc7c.js} +235 -236
  106. package/es/index-71ba4c28.cjs +1 -0
  107. package/es/index-78dab605.js +141 -0
  108. package/es/index-798fec2d.cjs +1 -0
  109. package/es/index-9573f74b.js +372 -0
  110. package/es/index-a181f161.js +429 -0
  111. package/es/{index-a33b2fb8.js → index-ab0ad219.js} +5090 -5090
  112. package/es/index-beb5cb7d.cjs +1 -0
  113. package/es/index-c09fc6f5.js +131 -0
  114. package/es/index-ceae4c47.cjs +1 -0
  115. package/es/index-d372e68f.cjs +5 -0
  116. package/es/index-d9379af4.js +413 -0
  117. package/es/index-dddacf80.js +47 -0
  118. package/es/index-de9ad85c.js +12 -0
  119. package/es/index-e2e58ea9.js +468 -0
  120. package/es/index-f5474dcc.cjs +3 -0
  121. package/es/{python-a3db9620.cjs → python-60e79979.cjs} +1 -1
  122. package/es/{python-8a1664e6.js → python-673bf8b8.js} +32 -31
  123. package/es/{raf-8249652f.cjs → raf-735cc598.cjs} +1 -1
  124. package/es/{raf-80ef0c0a.js → raf-b4fd1e12.js} +1 -1
  125. package/es/scroll-07bade1e.cjs +1 -0
  126. package/es/scroll-70271cb1.js +35 -0
  127. package/es/style.css +1 -1
  128. package/es/toNumber-b47ceb68.cjs +1 -0
  129. package/es/toNumber-f077c66a.js +31 -0
  130. package/es/use-form-item-76516e50.cjs +2 -0
  131. package/es/use-form-item-784142b4.js +422 -0
  132. package/es/use-global-config-7ff9a1c2.cjs +1 -0
  133. package/es/use-global-config-9a4ccf33.js +71 -0
  134. package/es/validator-1926345b.cjs +1 -0
  135. package/es/{validator-c60a8956.js → validator-a66ec4f8.js} +1 -1
  136. package/es/vnode-6f7b84f0.cjs +1 -0
  137. package/es/vnode-8ee9bf4e.js +12 -0
  138. package/es/{zh-cn-b59a0910.js → zh-cn-51c2e528.js} +36 -33
  139. package/es/zh-cn-ad12d9f5.cjs +1 -0
  140. package/lib/bundle.js +1 -1
  141. package/lib/bundle.umd.cjs +265 -246
  142. package/lib/{index-62fa175a.js → index-7282d3be.js} +52335 -50156
  143. package/lib/{python-4a48fa39.js → python-418be57d.js} +1 -1
  144. package/lib/style.css +1 -1
  145. package/package.json +1 -1
  146. package/es/_initCloneObject-5e73c9c8.js +0 -81
  147. package/es/_initCloneObject-a5832933.cjs +0 -1
  148. package/es/base-a5af3db3.js +0 -288
  149. package/es/base-ef747d02.cjs +0 -5
  150. package/es/config-provider-06ea6b42.cjs +0 -1
  151. package/es/config-provider-88b637a8.js +0 -59
  152. package/es/dayjs.min-2c20abe6.cjs +0 -1
  153. package/es/dayjs.min-8313b006.js +0 -299
  154. package/es/debounce-62f5b6e8.cjs +0 -1
  155. package/es/debounce-8d53f4dd.js +0 -83
  156. package/es/dropdown-4ce4c3e2.cjs +0 -1
  157. package/es/dropdown-72fbc15d.js +0 -178
  158. package/es/el-autocomplete-6cafcdf1.js +0 -329
  159. package/es/el-autocomplete-e0857c5b.cjs +0 -1
  160. package/es/el-button-613e0bb2.cjs +0 -1
  161. package/es/el-button-94d3de38.js +0 -272
  162. package/es/el-checkbox-6d4cb393.js +0 -459
  163. package/es/el-checkbox-e90762df.cjs +0 -1
  164. package/es/el-dialog-02942e22.cjs +0 -1
  165. package/es/el-dialog-5e30161f.js +0 -276
  166. package/es/el-divider-4713d74c.cjs +0 -1
  167. package/es/el-divider-4e059794.js +0 -45
  168. package/es/el-empty-1697ded8.cjs +0 -1
  169. package/es/el-empty-33cb66f1.js +0 -183
  170. package/es/el-form-item-44f060d8.cjs +0 -12
  171. package/es/el-form-item-9e8969ea.js +0 -1269
  172. package/es/el-input-342b2def.js +0 -531
  173. package/es/el-input-9a9a7f7f.cjs +0 -1
  174. package/es/el-input-number-65c847d6.cjs +0 -1
  175. package/es/el-input-number-c22b803a.js +0 -311
  176. package/es/el-loading-8179b497.cjs +0 -1
  177. package/es/el-loading-bcc51e3d.js +0 -203
  178. package/es/el-menu-item-339baf6d.js +0 -768
  179. package/es/el-menu-item-83186444.cjs +0 -1
  180. package/es/el-message-box-035b699c.js +0 -489
  181. package/es/el-message-box-c62d3217.cjs +0 -1
  182. package/es/el-overlay-3e17604b.js +0 -324
  183. package/es/el-overlay-8f1da9e8.cjs +0 -1
  184. package/es/el-popconfirm-4e32ec1b.cjs +0 -1
  185. package/es/el-popconfirm-f8a86e2c.js +0 -162
  186. package/es/el-popper-a4f3ae4d.cjs +0 -1
  187. package/es/el-popper-fbd0dcea.js +0 -2094
  188. package/es/el-segmented-56bd58a8.js +0 -142
  189. package/es/el-segmented-833ac177.cjs +0 -1
  190. package/es/el-select-44fa547d.js +0 -1256
  191. package/es/el-select-70806166.cjs +0 -1
  192. package/es/el-table-column-3e2cdfca.cjs +0 -14
  193. package/es/el-table-column-b74a857d.js +0 -3432
  194. package/es/el-tag-66c83156.js +0 -117
  195. package/es/el-tag-9c2f329f.cjs +0 -1
  196. package/es/el-text-034bd3f4.js +0 -67
  197. package/es/el-text-6b2374bb.cjs +0 -1
  198. package/es/index-00f6ca75.cjs +0 -1
  199. package/es/index-185792a7.cjs +0 -1
  200. package/es/index-1e2a38ab.js +0 -113
  201. package/es/index-2e331d74.js +0 -10
  202. package/es/index-3153c1db.cjs +0 -1
  203. package/es/index-5216d5f5.js +0 -406
  204. package/es/index-5c0dd943.cjs +0 -1
  205. package/es/index-657047bb.js +0 -513
  206. package/es/index-870b6c9d.cjs +0 -1
  207. package/es/index-8c2d7e05.js +0 -368
  208. package/es/index-960806da.js +0 -314
  209. package/es/index-9780a537.cjs +0 -1
  210. package/es/index-9d16cea8.cjs +0 -1
  211. package/es/index-ac8dc53d.cjs +0 -1
  212. package/es/index-bb833443.cjs +0 -1
  213. package/es/index-c5f2d372.js +0 -326
  214. package/es/index-c6584658.js +0 -163
  215. package/es/index-d77a7336.js +0 -204
  216. package/es/index-eea0bcb3.cjs +0 -1
  217. package/es/index-f034b910.js +0 -60
  218. package/es/index-f1c702f6.cjs +0 -1
  219. package/es/index-f58b2920.cjs +0 -1
  220. package/es/scroll-679bd6bf.js +0 -35
  221. package/es/scroll-b108dabd.cjs +0 -1
  222. package/es/use-form-common-props-ac666630.cjs +0 -1
  223. package/es/use-form-common-props-ed72e914.js +0 -364
  224. package/es/use-global-config-23472471.cjs +0 -1
  225. package/es/use-global-config-ee406d58.js +0 -72
  226. package/es/validator-366dbf39.cjs +0 -1
  227. package/es/vnode-5ddb7ed1.js +0 -14
  228. package/es/vnode-b906ae6d.cjs +0 -1
  229. package/es/zh-cn-c21d12d8.cjs +0 -1
@@ -0,0 +1,824 @@
1
+ import { u as k, w as we, b as he, t as te, i as ke, a as R, c as H, e as Ee, f as Fe, g as X, h as Q, r as ce, j as qe, k as Ue, l as Se, m as Oe, n as ge } from "./base-dd156b8e.js";
2
+ import { i as U, u as Ve, a as Ge } from "./use-form-item-784142b4.js";
3
+ import { g as Je, h as Ke, E as Ne, j as Ye } from "./index-6a52dc7c.js";
4
+ import { E as Pe, g as Be, a as S } from "./el-popper-0454c8e8.js";
5
+ import { defineComponent as F, openBlock as z, createBlock as be, Transition as $e, mergeProps as Ae, unref as x, toHandlers as Ze, withCtx as ne, renderSlot as B, computed as m, getCurrentInstance as ye, inject as oe, ref as C, reactive as Me, watch as ee, provide as fe, onMounted as Ie, onBeforeUnmount as He, h as y, Fragment as xe, withDirectives as ze, vShow as Qe, nextTick as Le, watchEffect as Xe, toRef as et, createElementBlock as ae, normalizeClass as se, createElementVNode as ve, createTextVNode as tt, toDisplayString as nt } from "vue";
6
+ import { T as ot } from "./index-3806160e.js";
7
+ import { f as at } from "./vnode-8ee9bf4e.js";
8
+ import { m as st } from "./typescript-7ae59c4c.js";
9
+ import { C as lt } from "./el-select-a573c78b.js";
10
+ var ut = /* @__PURE__ */ F({
11
+ name: "ElCollapseTransition",
12
+ __name: "collapse-transition",
13
+ setup(e) {
14
+ const o = k("collapse-transition"), u = (t) => {
15
+ t.style.maxHeight = "", t.style.overflow = t.dataset.oldOverflow, t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom;
16
+ }, n = {
17
+ beforeEnter(t) {
18
+ t.dataset || (t.dataset = {}), t.dataset.oldPaddingTop = t.style.paddingTop, t.dataset.oldPaddingBottom = t.style.paddingBottom, t.style.height && (t.dataset.elExistsHeight = t.style.height), t.style.maxHeight = 0, t.style.paddingTop = 0, t.style.paddingBottom = 0;
19
+ },
20
+ enter(t) {
21
+ requestAnimationFrame(() => {
22
+ t.dataset.oldOverflow = t.style.overflow, t.dataset.elExistsHeight ? t.style.maxHeight = t.dataset.elExistsHeight : t.scrollHeight !== 0 ? t.style.maxHeight = `${t.scrollHeight}px` : t.style.maxHeight = 0, t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom, t.style.overflow = "hidden";
23
+ });
24
+ },
25
+ afterEnter(t) {
26
+ t.style.maxHeight = "", t.style.overflow = t.dataset.oldOverflow;
27
+ },
28
+ enterCancelled(t) {
29
+ u(t);
30
+ },
31
+ beforeLeave(t) {
32
+ t.dataset || (t.dataset = {}), t.dataset.oldPaddingTop = t.style.paddingTop, t.dataset.oldPaddingBottom = t.style.paddingBottom, t.dataset.oldOverflow = t.style.overflow, t.style.maxHeight = `${t.scrollHeight}px`, t.style.overflow = "hidden";
33
+ },
34
+ leave(t) {
35
+ t.scrollHeight !== 0 && (t.style.maxHeight = 0, t.style.paddingTop = 0, t.style.paddingBottom = 0);
36
+ },
37
+ afterLeave(t) {
38
+ u(t);
39
+ },
40
+ leaveCancelled(t) {
41
+ u(t);
42
+ }
43
+ };
44
+ return (t, O) => (z(), be($e, Ae({ name: x(o).b() }, Ze(n)), {
45
+ default: ne(() => [B(t.$slots, "default")]),
46
+ _: 3
47
+ }, 16, ["name"]));
48
+ }
49
+ }), rt = ut;
50
+ const it = we(rt), _e = "rootMenu", le = "subMenu:";
51
+ function je(e, o) {
52
+ const u = m(() => {
53
+ let n = e.parent;
54
+ const t = [o.value];
55
+ for (; n.type.name !== "ElMenu"; )
56
+ n.props.index && t.unshift(n.props.index), n = n.parent;
57
+ return t;
58
+ });
59
+ return {
60
+ parentMenu: m(() => {
61
+ let n = e.parent;
62
+ for (; n && !["ElMenu", "ElSubMenu"].includes(n.type.name); )
63
+ n = n.parent;
64
+ return n;
65
+ }),
66
+ indexPath: u
67
+ };
68
+ }
69
+ function ct(e) {
70
+ return m(() => {
71
+ const o = e.backgroundColor;
72
+ return o ? new ot(o).shade(20).toString() : "";
73
+ });
74
+ }
75
+ const We = (e, o) => {
76
+ const u = k("menu");
77
+ return m(() => u.cssVarBlock({
78
+ "text-color": e.textColor || "",
79
+ "hover-text-color": e.textColor || "",
80
+ "bg-color": e.backgroundColor || "",
81
+ "hover-bg-color": ct(e).value || "",
82
+ "active-color": e.activeTextColor || "",
83
+ level: `${o}`
84
+ }));
85
+ }, dt = he({
86
+ /**
87
+ * @description unique identification
88
+ */
89
+ index: {
90
+ type: String,
91
+ required: !0
92
+ },
93
+ /**
94
+ * @description timeout before showing a sub-menu(inherit `show-timeout` of the menu by default.)
95
+ */
96
+ showTimeout: Number,
97
+ /**
98
+ * @description timeout before hiding a sub-menu(inherit `hide-timeout` of the menu by default.)
99
+ */
100
+ hideTimeout: Number,
101
+ /**
102
+ * @description custom class name for the popup menu
103
+ */
104
+ popperClass: {
105
+ type: H([
106
+ String,
107
+ Array,
108
+ Object,
109
+ Boolean
110
+ ]),
111
+ default: void 0
112
+ },
113
+ /**
114
+ * @description custom style for the popup menu
115
+ */
116
+ popperStyle: {
117
+ type: H([
118
+ String,
119
+ Array,
120
+ Object,
121
+ Boolean
122
+ ]),
123
+ default: void 0
124
+ },
125
+ /**
126
+ * @description whether the sub-menu is disabled
127
+ */
128
+ disabled: Boolean,
129
+ /**
130
+ * @description whether popup menu is teleported to the body
131
+ */
132
+ teleported: {
133
+ type: Boolean,
134
+ default: void 0
135
+ },
136
+ /**
137
+ * @description offset of the popper (overrides the `popper` of menu)
138
+ */
139
+ popperOffset: Number,
140
+ /**
141
+ * @description Icon when menu are expanded and submenu are closed, `expand-close-icon` and `expand-open-icon` need to be passed together to take effect
142
+ */
143
+ expandCloseIcon: { type: U },
144
+ /**
145
+ * @description Icon when menu are expanded and submenu are opened, `expand-open-icon` and `expand-close-icon` need to be passed together to take effect
146
+ */
147
+ expandOpenIcon: { type: U },
148
+ /**
149
+ * @description Icon when menu are collapsed and submenu are closed, `collapse-close-icon` and `collapse-open-icon` need to be passed together to take effect
150
+ */
151
+ collapseCloseIcon: { type: U },
152
+ /**
153
+ * @description Icon when menu are collapsed and submenu are opened, `collapse-open-icon` and `collapse-close-icon` need to be passed together to take effect
154
+ */
155
+ collapseOpenIcon: { type: U }
156
+ }), de = "ElSubMenu";
157
+ var Ce = F({
158
+ name: de,
159
+ props: dt,
160
+ setup(e, { slots: o, expose: u }) {
161
+ const n = ye(), { indexPath: t, parentMenu: O } = je(n, m(() => e.index)), c = k("menu"), _ = k("sub-menu"), l = oe(_e);
162
+ l || te(de, "can not inject root menu");
163
+ const f = oe(`${le}${O.value.uid}`);
164
+ f || te(de, "can not inject sub menu");
165
+ const $ = C({}), M = C({});
166
+ let d;
167
+ const h = C(!1), E = C(), I = C(), A = m(() => f.level === 0), V = m(() => P.value === "horizontal" && A.value ? "bottom-start" : "right-start"), N = m(() => P.value === "horizontal" && A.value || P.value === "vertical" && !l.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? w.value ? e.expandOpenIcon : e.expandCloseIcon : Je : e.collapseCloseIcon && e.collapseOpenIcon ? w.value ? e.collapseOpenIcon : e.collapseCloseIcon : Ke), L = m(() => {
168
+ const r = e.teleported;
169
+ return ke(r) ? A.value : r;
170
+ }), G = m(() => l.props.collapse ? `${c.namespace.value}-zoom-in-left` : `${c.namespace.value}-zoom-in-top`), ue = m(() => P.value === "horizontal" && A.value ? [
171
+ "bottom-start",
172
+ "bottom-end",
173
+ "top-start",
174
+ "top-end",
175
+ "right-start",
176
+ "left-start"
177
+ ] : [
178
+ "right-start",
179
+ "right",
180
+ "right-end",
181
+ "left-start",
182
+ "bottom-start",
183
+ "bottom-end",
184
+ "top-start",
185
+ "top-end"
186
+ ]), w = m(() => l.openedMenus.includes(e.index)), j = m(() => [...Object.values($.value), ...Object.values(M.value)].some(({ active: r }) => r)), P = m(() => l.props.mode), J = m(() => l.props.persistent), W = Me({
187
+ index: e.index,
188
+ indexPath: t,
189
+ active: j
190
+ }), K = We(l.props, f.level + 1), Y = m(() => e.popperOffset ?? l.props.popperOffset), q = m(() => e.popperClass ?? l.props.popperClass), D = m(() => e.popperStyle ?? l.props.popperStyle), Z = m(() => e.showTimeout ?? l.props.showTimeout), re = m(() => e.hideTimeout ?? l.props.hideTimeout), a = () => {
191
+ var r, b, p;
192
+ return (p = (b = (r = I.value) == null ? void 0 : r.popperRef) == null ? void 0 : b.popperInstanceRef) == null ? void 0 : p.destroy();
193
+ }, s = (r) => {
194
+ r || a();
195
+ }, i = () => {
196
+ l.props.menuTrigger === "hover" && l.props.mode === "horizontal" || l.props.collapse && l.props.mode === "vertical" || e.disabled || l.handleSubMenuClick({
197
+ index: e.index,
198
+ indexPath: t.value,
199
+ active: j.value
200
+ });
201
+ }, g = (r, b = Z.value) => {
202
+ var p;
203
+ if (r.type !== "focus") {
204
+ if (l.props.menuTrigger === "click" && l.props.mode === "horizontal" || !l.props.collapse && l.props.mode === "vertical" || e.disabled) {
205
+ f.mouseInChild.value = !0;
206
+ return;
207
+ }
208
+ f.mouseInChild.value = !0, d == null || d(), { stop: d } = Ee(() => {
209
+ l.openMenu(e.index, t.value);
210
+ }, b), L.value && ((p = O.value.vnode.el) == null || p.dispatchEvent(new MouseEvent("mouseenter"))), r.type === "mouseenter" && r.target && Le(() => {
211
+ Fe(r.target, { preventScroll: !0 });
212
+ });
213
+ }
214
+ }, v = (r = !1) => {
215
+ var b;
216
+ if (l.props.menuTrigger === "click" && l.props.mode === "horizontal" || !l.props.collapse && l.props.mode === "vertical") {
217
+ f.mouseInChild.value = !1;
218
+ return;
219
+ }
220
+ d == null || d(), f.mouseInChild.value = !1, { stop: d } = Ee(() => !h.value && l.closeMenu(e.index, t.value), re.value), L.value && r && ((b = f.handleMouseleave) == null || b.call(f, !0));
221
+ };
222
+ ee(() => l.props.collapse, (r) => s(!!r));
223
+ {
224
+ const r = (p) => {
225
+ M.value[p.index] = p;
226
+ }, b = (p) => {
227
+ delete M.value[p.index];
228
+ };
229
+ fe(`${le}${n.uid}`, {
230
+ addSubMenu: r,
231
+ removeSubMenu: b,
232
+ handleMouseleave: v,
233
+ mouseInChild: h,
234
+ level: f.level + 1
235
+ });
236
+ }
237
+ return u({ opened: w }), Ie(() => {
238
+ l.addSubMenu(W), f.addSubMenu(W);
239
+ }), He(() => {
240
+ f.removeSubMenu(W), l.removeSubMenu(W);
241
+ }), () => {
242
+ var p;
243
+ const r = [(p = o.title) == null ? void 0 : p.call(o), y(Ne, {
244
+ class: _.e("icon-arrow"),
245
+ style: { transform: w.value ? e.expandCloseIcon && e.expandOpenIcon || e.collapseCloseIcon && e.collapseOpenIcon && l.props.collapse ? "none" : "rotateZ(180deg)" : "none" }
246
+ }, { default: () => R(N.value) ? y(n.appContext.components[N.value]) : y(N.value) })], b = l.isMenuPopup ? y(Pe, {
247
+ ref: I,
248
+ visible: w.value,
249
+ effect: "light",
250
+ pure: !0,
251
+ offset: Y.value,
252
+ showArrow: !1,
253
+ persistent: J.value,
254
+ popperClass: q.value,
255
+ popperStyle: D.value,
256
+ placement: V.value,
257
+ teleported: L.value,
258
+ fallbackPlacements: ue.value,
259
+ transition: G.value,
260
+ gpuAcceleration: !1
261
+ }, {
262
+ content: () => {
263
+ var T;
264
+ return y("div", {
265
+ class: [
266
+ c.m(P.value),
267
+ c.m("popup-container"),
268
+ q.value
269
+ ],
270
+ onMouseenter: (ie) => g(ie, 100),
271
+ onMouseleave: () => v(!0),
272
+ onFocus: (ie) => g(ie, 100)
273
+ }, [y("ul", {
274
+ class: [
275
+ c.b(),
276
+ c.m("popup"),
277
+ c.m(`popup-${V.value}`)
278
+ ],
279
+ style: K.value
280
+ }, [(T = o.default) == null ? void 0 : T.call(o)])]);
281
+ },
282
+ default: () => y("div", {
283
+ class: _.e("title"),
284
+ onClick: i
285
+ }, r)
286
+ }) : y(xe, {}, [y("div", {
287
+ class: _.e("title"),
288
+ ref: E,
289
+ onClick: i
290
+ }, r), y(it, {}, { default: () => {
291
+ var T;
292
+ return ze(y("ul", {
293
+ role: "menu",
294
+ class: [c.b(), c.m("inline")],
295
+ style: K.value
296
+ }, [(T = o.default) == null ? void 0 : T.call(o)]), [[Qe, w.value]]);
297
+ } })]);
298
+ return y("li", {
299
+ class: [
300
+ _.b(),
301
+ _.is("active", j.value),
302
+ _.is("opened", w.value),
303
+ _.is("disabled", e.disabled)
304
+ ],
305
+ role: "menuitem",
306
+ ariaHaspopup: !0,
307
+ ariaExpanded: w.value,
308
+ onMouseenter: g,
309
+ onMouseleave: () => v(),
310
+ onFocus: g
311
+ }, [b]);
312
+ };
313
+ }
314
+ }), pt = class {
315
+ constructor(e, o) {
316
+ this.parent = e, this.domNode = o, this.subIndex = 0, this.subMenuItems = this.domNode.querySelectorAll("li"), this.addListeners();
317
+ }
318
+ gotoSubIndex(e) {
319
+ e === this.subMenuItems.length ? e = 0 : e < 0 && (e = this.subMenuItems.length - 1), this.subMenuItems[e].focus(), this.subIndex = e;
320
+ }
321
+ addListeners() {
322
+ const e = this.parent.domNode;
323
+ this.subMenuItems.forEach((o) => {
324
+ o.addEventListener("keydown", (u) => {
325
+ const n = Be(u);
326
+ let t = !1;
327
+ switch (n) {
328
+ case S.down:
329
+ this.gotoSubIndex(this.subIndex + 1), t = !0;
330
+ break;
331
+ case S.up:
332
+ this.gotoSubIndex(this.subIndex - 1), t = !0;
333
+ break;
334
+ case S.tab:
335
+ X(e, "mouseleave");
336
+ break;
337
+ case S.enter:
338
+ case S.numpadEnter:
339
+ case S.space:
340
+ t = !0, u.currentTarget.click();
341
+ break;
342
+ }
343
+ return t && (u.preventDefault(), u.stopPropagation()), !1;
344
+ });
345
+ });
346
+ }
347
+ }, mt = class {
348
+ constructor(e, o) {
349
+ this.domNode = e, this.submenu = null, this.init(o);
350
+ }
351
+ init(e) {
352
+ this.domNode.setAttribute("tabindex", "0");
353
+ const o = this.domNode.querySelector(`.${e}-menu`);
354
+ o && (this.submenu = new pt(this, o)), this.addListeners();
355
+ }
356
+ addListeners() {
357
+ this.domNode.addEventListener("keydown", (e) => {
358
+ var n, t;
359
+ const o = Be(e);
360
+ let u = !1;
361
+ switch (o) {
362
+ case S.down:
363
+ X(e.currentTarget, "mouseenter"), (n = this.submenu) == null || n.gotoSubIndex(0), u = !0;
364
+ break;
365
+ case S.up:
366
+ X(e.currentTarget, "mouseenter"), (t = this.submenu) == null || t.gotoSubIndex(this.submenu.subMenuItems.length - 1), u = !0;
367
+ break;
368
+ case S.tab:
369
+ X(e.currentTarget, "mouseleave");
370
+ break;
371
+ case S.enter:
372
+ case S.numpadEnter:
373
+ case S.space:
374
+ u = !0, e.currentTarget.click();
375
+ break;
376
+ }
377
+ u && e.preventDefault();
378
+ });
379
+ }
380
+ }, ft = class {
381
+ constructor(e, o) {
382
+ this.domNode = e, this.init(o);
383
+ }
384
+ init(e) {
385
+ const o = this.domNode.childNodes;
386
+ Array.from(o).forEach((u) => {
387
+ u.nodeType === 1 && new mt(u, e);
388
+ });
389
+ }
390
+ }, vt = /* @__PURE__ */ F({
391
+ name: "ElMenuCollapseTransition",
392
+ __name: "menu-collapse-transition",
393
+ setup(e) {
394
+ const o = k("menu"), u = {
395
+ onBeforeEnter: (n) => n.style.opacity = "0.2",
396
+ onEnter(n, t) {
397
+ Q(n, `${o.namespace.value}-opacity-transition`), n.style.opacity = "1", t();
398
+ },
399
+ onAfterEnter(n) {
400
+ ce(n, `${o.namespace.value}-opacity-transition`), n.style.opacity = "";
401
+ },
402
+ onBeforeLeave(n) {
403
+ n.dataset || (n.dataset = {}), qe(n, o.m("collapse")) ? (ce(n, o.m("collapse")), n.dataset.oldOverflow = n.style.overflow, n.dataset.scrollWidth = n.clientWidth.toString(), Q(n, o.m("collapse"))) : (Q(n, o.m("collapse")), n.dataset.oldOverflow = n.style.overflow, n.dataset.scrollWidth = n.clientWidth.toString(), ce(n, o.m("collapse"))), n.style.width = `${n.scrollWidth}px`, n.style.overflow = "hidden";
404
+ },
405
+ onLeave(n) {
406
+ Q(n, "horizontal-collapse-transition"), n.style.width = `${n.dataset.scrollWidth}px`;
407
+ }
408
+ };
409
+ return (n, t) => (z(), be($e, Ae({ mode: "out-in" }, u), {
410
+ default: ne(() => [B(n.$slots, "default")]),
411
+ _: 3
412
+ }, 16));
413
+ }
414
+ }), ht = vt;
415
+ const gt = he({
416
+ /**
417
+ * @description menu display mode
418
+ */
419
+ mode: {
420
+ type: String,
421
+ values: ["horizontal", "vertical"],
422
+ default: "vertical"
423
+ },
424
+ /**
425
+ * @description index of active menu on page load
426
+ */
427
+ defaultActive: {
428
+ type: String,
429
+ default: ""
430
+ },
431
+ /**
432
+ * @description array that contains indexes of currently active sub-menus
433
+ */
434
+ defaultOpeneds: {
435
+ type: H(Array),
436
+ default: () => st([])
437
+ },
438
+ /**
439
+ * @description whether only one sub-menu can be active
440
+ */
441
+ uniqueOpened: Boolean,
442
+ /**
443
+ * @description whether `vue-router` mode is activated. If true, index will be used as 'path' to activate the route action. Use with `default-active` to set the active item on load.
444
+ */
445
+ router: Boolean,
446
+ /**
447
+ * @description how sub-menus are triggered, only works when `mode` is 'horizontal'
448
+ */
449
+ menuTrigger: {
450
+ type: String,
451
+ values: ["hover", "click"],
452
+ default: "hover"
453
+ },
454
+ /**
455
+ * @description whether the menu is collapsed (available only in vertical mode)
456
+ */
457
+ collapse: Boolean,
458
+ /**
459
+ * @description background color of Menu (hex format) (deprecated, use `--bg-color` instead)
460
+ * @deprecated use `--bg-color` instead
461
+ */
462
+ backgroundColor: String,
463
+ /**
464
+ * @description text color of Menu (hex format) (deprecated, use `--text-color` instead)
465
+ * @deprecated use `--text-color` instead
466
+ */
467
+ textColor: String,
468
+ /**
469
+ * @description text color of currently active menu item (hex format) (deprecated, use `--active-color` instead)
470
+ * @deprecated use `--active-color` instead
471
+ */
472
+ activeTextColor: String,
473
+ /**
474
+ * @description optional, whether menu is collapsed when clicking outside
475
+ */
476
+ closeOnClickOutside: Boolean,
477
+ /**
478
+ * @description whether to enable the collapse transition
479
+ */
480
+ collapseTransition: {
481
+ type: Boolean,
482
+ default: !0
483
+ },
484
+ /**
485
+ * @description whether the menu is ellipsis (available only in horizontal mode)
486
+ */
487
+ ellipsis: {
488
+ type: Boolean,
489
+ default: !0
490
+ },
491
+ /**
492
+ * @description offset of the popper (effective for all submenus)
493
+ */
494
+ popperOffset: {
495
+ type: Number,
496
+ default: 6
497
+ },
498
+ /**
499
+ * @description custom ellipsis icon (available only in horizontal mode and ellipsis is true)
500
+ */
501
+ ellipsisIcon: {
502
+ type: U,
503
+ default: () => Ye
504
+ },
505
+ /**
506
+ * @description Tooltip theme, built-in theme: `dark` / `light` when menu is collapsed
507
+ */
508
+ popperEffect: {
509
+ type: H(String),
510
+ default: "dark"
511
+ },
512
+ /**
513
+ * @description custom class name for all popup menus
514
+ */
515
+ popperClass: {
516
+ type: H([
517
+ String,
518
+ Array,
519
+ Object,
520
+ Boolean
521
+ ]),
522
+ default: void 0
523
+ },
524
+ /**
525
+ * @description custom style for all popup menus
526
+ */
527
+ popperStyle: {
528
+ type: H([
529
+ String,
530
+ Array,
531
+ Object,
532
+ Boolean
533
+ ]),
534
+ default: void 0
535
+ },
536
+ /**
537
+ * @description control timeout for all menus before showing
538
+ */
539
+ showTimeout: {
540
+ type: Number,
541
+ default: 300
542
+ },
543
+ /**
544
+ * @description control timeout for all menus before hiding
545
+ */
546
+ hideTimeout: {
547
+ type: Number,
548
+ default: 300
549
+ },
550
+ /**
551
+ * @description when menu inactive and `persistent` is `false` , dropdown menu will be destroyed
552
+ */
553
+ persistent: {
554
+ type: Boolean,
555
+ default: !0
556
+ }
557
+ }), pe = (e) => Oe(e) && e.every((o) => R(o)), bt = {
558
+ close: (e, o) => R(e) && pe(o),
559
+ open: (e, o) => R(e) && pe(o),
560
+ select: (e, o, u, n) => R(e) && pe(o) && Ue(u) && (ke(n) || n instanceof Promise)
561
+ }, Te = 64;
562
+ var yt = F({
563
+ name: "ElMenu",
564
+ props: gt,
565
+ emits: bt,
566
+ setup(e, { emit: o, slots: u, expose: n }) {
567
+ const t = ye(), O = t.appContext.config.globalProperties.$router, c = C(), _ = C(), l = k("menu"), f = k("sub-menu");
568
+ let $ = Te;
569
+ const M = C(-1), d = C(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), h = C(e.defaultActive), E = C({}), I = C({}), A = m(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), V = () => {
570
+ const a = h.value && E.value[h.value];
571
+ !a || e.mode === "horizontal" || e.collapse || a.indexPath.forEach((s) => {
572
+ const i = I.value[s];
573
+ i && N(s, i.indexPath);
574
+ });
575
+ }, N = (a, s) => {
576
+ d.value.includes(a) || (e.uniqueOpened && (d.value = d.value.filter((i) => s.includes(i))), d.value.push(a), o("open", a, s));
577
+ }, L = (a) => {
578
+ const s = d.value.indexOf(a);
579
+ s !== -1 && d.value.splice(s, 1);
580
+ }, G = (a, s) => {
581
+ L(a), o("close", a, s);
582
+ }, ue = ({ index: a, indexPath: s }) => {
583
+ d.value.includes(a) ? G(a, s) : N(a, s);
584
+ }, w = (a) => {
585
+ (e.mode === "horizontal" || e.collapse) && (d.value = []);
586
+ const { index: s, indexPath: i } = a;
587
+ if (!(Se(s) || Se(i)))
588
+ if (e.router && O) {
589
+ const g = a.route || s, v = O.push(g).then((r) => (r || (h.value = s), r));
590
+ o("select", s, i, {
591
+ index: s,
592
+ indexPath: i,
593
+ route: g
594
+ }, v);
595
+ } else
596
+ h.value = s, o("select", s, i, {
597
+ index: s,
598
+ indexPath: i
599
+ });
600
+ }, j = (a) => {
601
+ var i;
602
+ const s = E.value;
603
+ h.value = ((i = s[a] || h.value && s[h.value] || s[e.defaultActive]) == null ? void 0 : i.index) ?? a;
604
+ }, P = (a) => {
605
+ const s = getComputedStyle(a), i = Number.parseInt(s.marginLeft, 10), g = Number.parseInt(s.marginRight, 10);
606
+ return a.offsetWidth + i + g || 0;
607
+ }, J = () => {
608
+ if (!c.value)
609
+ return -1;
610
+ const a = Array.from(c.value.childNodes).filter((p) => p.nodeName !== "#comment" && (p.nodeName !== "#text" || p.nodeValue)), s = getComputedStyle(c.value), i = Number.parseInt(s.paddingLeft, 10), g = Number.parseInt(s.paddingRight, 10), v = c.value.clientWidth - i - g;
611
+ let r = 0, b = 0;
612
+ return a.forEach((p, T) => {
613
+ r += P(p), r <= v - $ && (b = T + 1);
614
+ }), b === a.length ? -1 : b;
615
+ }, W = (a) => I.value[a].indexPath, K = (a, s = 33.34) => {
616
+ let i;
617
+ return () => {
618
+ i && clearTimeout(i), i = setTimeout(() => {
619
+ a();
620
+ }, s);
621
+ };
622
+ };
623
+ let Y = !0;
624
+ const q = () => {
625
+ const a = Ge(_);
626
+ if (a && ($ = P(a) || Te), M.value === J())
627
+ return;
628
+ const s = () => {
629
+ M.value = -1, Le(() => {
630
+ M.value = J();
631
+ });
632
+ };
633
+ Y ? s() : K(s)(), Y = !1;
634
+ };
635
+ ee(() => e.defaultActive, (a) => {
636
+ E.value[a] || (h.value = ""), j(a);
637
+ }), ee(() => e.collapse, (a) => {
638
+ a && (d.value = []);
639
+ }), ee(E.value, V);
640
+ let D;
641
+ Xe(() => {
642
+ e.mode === "horizontal" && e.ellipsis ? D = Ve(c, q).stop : D == null || D();
643
+ });
644
+ const Z = C(!1);
645
+ {
646
+ const a = (v) => {
647
+ I.value[v.index] = v;
648
+ }, s = (v) => {
649
+ delete I.value[v.index];
650
+ };
651
+ fe(_e, Me({
652
+ props: e,
653
+ openedMenus: d,
654
+ items: E,
655
+ subMenus: I,
656
+ activeIndex: h,
657
+ isMenuPopup: A,
658
+ addMenuItem: (v) => {
659
+ E.value[v.index] = v;
660
+ },
661
+ removeMenuItem: (v) => {
662
+ delete E.value[v.index];
663
+ },
664
+ addSubMenu: a,
665
+ removeSubMenu: s,
666
+ openMenu: N,
667
+ closeMenu: G,
668
+ handleMenuItemClick: w,
669
+ handleSubMenuClick: ue
670
+ })), fe(`${le}${t.uid}`, {
671
+ addSubMenu: a,
672
+ removeSubMenu: s,
673
+ mouseInChild: Z,
674
+ level: 0
675
+ });
676
+ }
677
+ Ie(() => {
678
+ e.mode === "horizontal" && new ft(t.vnode.el, l.namespace.value);
679
+ }), n({
680
+ open: (s) => {
681
+ const { indexPath: i } = I.value[s];
682
+ i.forEach((g) => N(g, i));
683
+ },
684
+ close: L,
685
+ updateActiveIndex: j,
686
+ handleResize: q
687
+ });
688
+ const re = We(e, 0);
689
+ return () => {
690
+ var v;
691
+ let a = ((v = u.default) == null ? void 0 : v.call(u)) ?? [];
692
+ const s = [];
693
+ if (e.mode === "horizontal" && c.value) {
694
+ const r = at(a).filter((T) => (T == null ? void 0 : T.shapeFlag) !== 8), b = M.value === -1 ? r : r.slice(0, M.value), p = M.value === -1 ? [] : r.slice(M.value);
695
+ p != null && p.length && e.ellipsis && (a = b, s.push(y(Ce, {
696
+ ref: _,
697
+ index: "sub-menu-more",
698
+ class: f.e("hide-arrow"),
699
+ popperOffset: e.popperOffset
700
+ }, {
701
+ title: () => y(Ne, { class: f.e("icon-more") }, { default: () => y(e.ellipsisIcon) }),
702
+ default: () => p
703
+ })));
704
+ }
705
+ const i = e.closeOnClickOutside ? [[lt, () => {
706
+ d.value.length && (Z.value || (d.value.forEach((r) => o("close", r, W(r))), d.value = []));
707
+ }]] : [], g = ze(y("ul", {
708
+ key: String(e.collapse),
709
+ role: "menubar",
710
+ ref: c,
711
+ style: re.value,
712
+ class: {
713
+ [l.b()]: !0,
714
+ [l.m(e.mode)]: !0,
715
+ [l.m("collapse")]: e.collapse
716
+ }
717
+ }, [...a, ...s]), i);
718
+ return e.collapseTransition && e.mode === "vertical" ? y(ht, () => g) : g;
719
+ };
720
+ }
721
+ });
722
+ const Mt = he({
723
+ /**
724
+ * @description unique identification
725
+ */
726
+ index: {
727
+ type: String,
728
+ required: !0
729
+ },
730
+ /**
731
+ * @description Vue Router object
732
+ */
733
+ route: { type: H([String, Object]) },
734
+ /**
735
+ * @description whether disabled
736
+ */
737
+ disabled: Boolean
738
+ }), It = { click: (e) => R(e.index) && Oe(e.indexPath) }, xt = {
739
+ /**
740
+ * @description group title
741
+ */
742
+ title: String
743
+ }, me = "ElMenuItem";
744
+ var _t = /* @__PURE__ */ F({
745
+ name: me,
746
+ __name: "menu-item",
747
+ props: Mt,
748
+ emits: It,
749
+ setup(e, { expose: o, emit: u }) {
750
+ const n = e, t = u, O = ye(), c = oe(_e), _ = k("menu"), l = k("menu-item");
751
+ c || te(me, "can not inject root menu");
752
+ const { parentMenu: f, indexPath: $ } = je(O, et(n, "index")), M = oe(`${le}${f.value.uid}`);
753
+ M || te(me, "can not inject sub menu");
754
+ const d = m(() => n.index === c.activeIndex), h = Me({
755
+ index: n.index,
756
+ indexPath: $,
757
+ active: d
758
+ }), E = () => {
759
+ n.disabled || (c.handleMenuItemClick({
760
+ index: n.index,
761
+ indexPath: $.value,
762
+ route: n.route
763
+ }), t("click", h));
764
+ };
765
+ return Ie(() => {
766
+ M.addSubMenu(h), c.addMenuItem(h);
767
+ }), He(() => {
768
+ M.removeSubMenu(h), c.removeMenuItem(h);
769
+ }), o({
770
+ parentMenu: f,
771
+ rootMenu: c,
772
+ active: d,
773
+ nsMenu: _,
774
+ nsMenuItem: l,
775
+ handleClick: E
776
+ }), (I, A) => (z(), ae("li", {
777
+ class: se([
778
+ x(l).b(),
779
+ x(l).is("active", d.value),
780
+ x(l).is("disabled", e.disabled)
781
+ ]),
782
+ role: "menuitem",
783
+ tabindex: "-1",
784
+ onClick: E
785
+ }, [x(f).type.name === "ElMenu" && x(c).props.collapse && I.$slots.title ? (z(), be(x(Pe), {
786
+ key: 0,
787
+ effect: x(c).props.popperEffect,
788
+ placement: "right",
789
+ "fallback-placements": ["left"],
790
+ "popper-class": x(c).props.popperClass,
791
+ "popper-style": x(c).props.popperStyle,
792
+ persistent: x(c).props.persistent,
793
+ "focus-on-target": ""
794
+ }, {
795
+ content: ne(() => [B(I.$slots, "title")]),
796
+ default: ne(() => [ve("div", { class: se(x(_).be("tooltip", "trigger")) }, [B(I.$slots, "default")], 2)]),
797
+ _: 3
798
+ }, 8, [
799
+ "effect",
800
+ "popper-class",
801
+ "popper-style",
802
+ "persistent"
803
+ ])) : (z(), ae(xe, { key: 1 }, [B(I.$slots, "default"), B(I.$slots, "title")], 64))], 2));
804
+ }
805
+ }), De = _t, Ct = /* @__PURE__ */ F({
806
+ name: "ElMenuItemGroup",
807
+ __name: "menu-item-group",
808
+ props: xt,
809
+ setup(e) {
810
+ const o = k("menu-item-group");
811
+ return (u, n) => (z(), ae("li", { class: se(x(o).b()) }, [ve("div", { class: se(x(o).e("title")) }, [u.$slots.title ? B(u.$slots, "title", { key: 1 }) : (z(), ae(xe, { key: 0 }, [tt(nt(e.title), 1)], 64))], 2), ve("ul", null, [B(u.$slots, "default")])], 2));
812
+ }
813
+ }), Re = Ct;
814
+ const $t = we(yt, {
815
+ MenuItem: De,
816
+ MenuItemGroup: Re,
817
+ SubMenu: Ce
818
+ }), At = ge(De);
819
+ ge(Re);
820
+ ge(Ce);
821
+ export {
822
+ At as E,
823
+ $t as a
824
+ };