jmash-core 0.0.84 → 0.0.86

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 (44) hide show
  1. package/dist/{401-BOgGx9Jd.mjs → 401-DwHfhZm2.mjs} +43 -44
  2. package/dist/{404-BYxlSqoT.mjs → 404-CeKwDY4M.mjs} +1 -1
  3. package/dist/{BarChart-C22Beea1.mjs → BarChart-BOhw_pWJ.mjs} +30 -31
  4. package/dist/{FunnelChart-CcCVox9E.mjs → FunnelChart-DPisFRDu.mjs} +1 -1
  5. package/dist/{PieChart-Dksdgtfs.mjs → PieChart-Ceza7eIr.mjs} +1 -1
  6. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BAW7aMk4.mjs → PieChart.vue_vue_type_script_setup_true_lang-CjKWzA-2.mjs} +12 -14
  7. package/dist/{RadarChart-DquLnQ6V.mjs → RadarChart-Dvq6tgrV.mjs} +1 -1
  8. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-B9md22Se.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DxP18bev.mjs} +13 -15
  9. package/dist/index-B2hxZbIl.mjs +367 -0
  10. package/dist/{index-BjqMDjBg.mjs → index-D5Fo3f2g.mjs} +7651 -7892
  11. package/dist/index-D6FGEmgO.mjs +20014 -0
  12. package/dist/index-DJbI5eJZ.mjs +1639 -0
  13. package/dist/index-DahMKAi2.mjs +267 -0
  14. package/dist/index.mjs +49 -48
  15. package/dist/picture-CBRsHLZl.mjs +22 -0
  16. package/dist/profile-DxHeZsWs.mjs +263 -0
  17. package/dist/{runAs-aDp4HoyI.mjs → runAs-DZDdNkz3.mjs} +1 -1
  18. package/dist/runAs.vue_vue_type_script_setup_true_lang-D6N1cGUB.mjs +2496 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{types-kVtKPxE9.mjs → types-qe4hLo3U.mjs} +79 -80
  21. package/dist/{updatePwd-D54MmOmU.mjs → updatePwd-6rHSVF-g.mjs} +1 -1
  22. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DA30m6c3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BnWzu-me.mjs} +38 -45
  23. package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
  24. package/dts/src/components/JmashPagination/index.vue.d.ts +1 -1
  25. package/dts/src/components/Pagination/index.vue.d.ts +5 -5
  26. package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
  27. package/dts/src/index.d.ts +1 -0
  28. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
  29. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
  30. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
  31. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
  32. package/package.json +2 -3
  33. package/dist/el-card-BW_8jVxk.mjs +0 -61
  34. package/dist/el-col-Dd32wlSH.mjs +0 -135
  35. package/dist/el-form-item-3aV6p-oZ.mjs +0 -1117
  36. package/dist/index-B07mUqAa.mjs +0 -269
  37. package/dist/index-B8sKaF6F.mjs +0 -55
  38. package/dist/index-CgRfmdyq.mjs +0 -33076
  39. package/dist/index-CmaHwUB-.mjs +0 -449
  40. package/dist/index-RUqoTfAx.mjs +0 -3462
  41. package/dist/picture-DVndT_xi.mjs +0 -587
  42. package/dist/position-RPjzcrqL.mjs +0 -23
  43. package/dist/profile-CNIhXiv-.mjs +0 -4924
  44. package/dist/runAs.vue_vue_type_script_setup_true_lang-CZdXga19.mjs +0 -645
@@ -0,0 +1,1639 @@
1
+ import { u as J, E as He, S as ae, a as xe, b as qe, c as te, D as _e, d as We, f as Ke, e as ue, _ as Xe, g as F, i as Ce, r as $e, h as fe, T as ge, m as je, s as Ge, j as Ye, k as de, l as Je } from "./index-D6FGEmgO.mjs";
2
+ import { defineComponent as I, ref as z, resolveComponent as V, openBlock as u, createBlock as k, withCtx as g, createVNode as _, createElementBlock as x, Fragment as K, renderList as le, unref as l, createTextVNode as B, toDisplayString as P, createElementVNode as w, computed as R, resolveDirective as Qe, createCommentVNode as T, withDirectives as Ae, isRef as pe, watch as ne, onBeforeMount as Ze, TransitionGroup as et, withModifiers as ce, normalizeClass as q, pushScopeId as tt, popScopeId as nt, Transition as Me, KeepAlive as ot, resolveDynamicComponent as ye, getCurrentInstance as it, nextTick as Ve, onMounted as Pe, normalizeStyle as at, vShow as lt, normalizeProps as st, guardReactiveProps as rt, renderSlot as ct, watchEffect as ut } from "vue";
3
+ import { useRoute as me, useRouter as we } from "vue-router";
4
+ import { _ as dt } from "./updatePwd.vue_vue_type_script_setup_true_lang-BnWzu-me.mjs";
5
+ import { _ as ft, E as mt } from "./runAs.vue_vue_type_script_setup_true_lang-D6N1cGUB.mjs";
6
+ import { storeToRefs as _t } from "pinia";
7
+ const pt = /* @__PURE__ */ I({
8
+ __name: "index",
9
+ setup(i) {
10
+ const e = J(), t = z([
11
+ { label: "默认", value: "default" },
12
+ { label: "大型", value: "large" },
13
+ { label: "小型", value: "small" }
14
+ ]);
15
+ function n(s) {
16
+ e.changeSize(s), He.success("切换布局大小成功");
17
+ }
18
+ return (s, o) => {
19
+ const a = ae, r = V("el-dropdown-item"), c = V("el-dropdown-menu"), d = V("el-dropdown");
20
+ return u(), k(d, {
21
+ trigger: "click",
22
+ onCommand: n
23
+ }, {
24
+ dropdown: g(() => [
25
+ _(c, null, {
26
+ default: g(() => [
27
+ (u(!0), x(K, null, le(l(t), (m) => (u(), k(r, {
28
+ key: m.value,
29
+ disabled: l(e).size == m.value,
30
+ command: m.value
31
+ }, {
32
+ default: g(() => [
33
+ B(P(m.label), 1)
34
+ ]),
35
+ _: 2
36
+ }, 1032, ["disabled", "command"]))), 128))
37
+ ]),
38
+ _: 1
39
+ })
40
+ ]),
41
+ default: g(() => [
42
+ w("div", null, [
43
+ _(a, { "icon-class": "size" })
44
+ ])
45
+ ]),
46
+ _: 1
47
+ });
48
+ };
49
+ }
50
+ }), vt = { class: "flex" }, ht = { class: "flex-center h100% p10px" }, gt = ["src"], bt = /* @__PURE__ */ I({
51
+ __name: "NavbarRight",
52
+ setup(i) {
53
+ const e = J(), t = xe(), n = qe(), s = te(), o = me(), a = we(), r = R(() => e.device === _e.MOBILE), c = z(!1), d = z(!1), { isFullscreen: m, toggle: f } = We(), p = R(() => Ke.imageUrl(n.user.avatar, 48, 48));
54
+ function h() {
55
+ d.value = !0;
56
+ }
57
+ function y() {
58
+ mt.confirm("确定注销并退出系统吗?", "提示", {
59
+ confirmButtonText: "确定",
60
+ cancelButtonText: "取消",
61
+ type: "warning",
62
+ lockScroll: !1
63
+ }).then(() => {
64
+ n.logout().then(() => {
65
+ t.delAllViews();
66
+ }).then(() => {
67
+ a.push(`/login?redirect=${o.fullPath}`);
68
+ });
69
+ });
70
+ }
71
+ function A(S) {
72
+ c.value = S;
73
+ }
74
+ return (S, $) => {
75
+ const N = ae, C = pt, U = V("el-tooltip"), Q = Xe, H = V("router-link"), O = V("el-dropdown-item"), G = V("el-dropdown-menu"), Z = V("el-dropdown"), re = Qe("hasRole");
76
+ return u(), x("div", vt, [
77
+ l(r) ? T("", !0) : (u(), x(K, { key: 0 }, [
78
+ w("div", {
79
+ class: "setting-item",
80
+ onClick: $[0] || ($[0] = //@ts-ignore
81
+ (...ee) => l(f) && l(f)(...ee))
82
+ }, [
83
+ _(N, {
84
+ "icon-class": l(m) ? "fullscreen-exit" : "fullscreen"
85
+ }, null, 8, ["icon-class"])
86
+ ]),
87
+ _(U, {
88
+ content: S.$t("sizeSelect.tooltip"),
89
+ effect: "dark",
90
+ placement: "bottom"
91
+ }, {
92
+ default: g(() => [
93
+ _(C, { class: "setting-item" })
94
+ ]),
95
+ _: 1
96
+ }, 8, ["content"]),
97
+ _(Q, { class: "setting-item" })
98
+ ], 64)),
99
+ _(Z, {
100
+ class: "setting-item",
101
+ trigger: "click"
102
+ }, {
103
+ dropdown: g(() => [
104
+ _(G, null, {
105
+ default: g(() => [
106
+ _(O, null, {
107
+ default: g(() => [
108
+ _(H, { to: "/" }, {
109
+ default: g(() => [
110
+ B(P(S.$t("navbar.Dashboard")), 1)
111
+ ]),
112
+ _: 1
113
+ })
114
+ ]),
115
+ _: 1
116
+ }),
117
+ _(O, null, {
118
+ default: g(() => [
119
+ _(H, { to: "/my/profile" }, {
120
+ default: g(() => [
121
+ B(P(S.$t("navbar.profile")), 1)
122
+ ]),
123
+ _: 1
124
+ })
125
+ ]),
126
+ _: 1
127
+ }),
128
+ _(O, {
129
+ onClick: $[1] || ($[1] = (ee) => c.value = !0)
130
+ }, {
131
+ default: g(() => [
132
+ B(P(S.$t("navbar.changePwd")), 1)
133
+ ]),
134
+ _: 1
135
+ }),
136
+ Ae((u(), x("div", null, [
137
+ _(O, { onClick: h }, {
138
+ default: g(() => [
139
+ B(P(S.$t("navbar.runAs")), 1)
140
+ ]),
141
+ _: 1
142
+ })
143
+ ])), [
144
+ [re, ["tester"]]
145
+ ]),
146
+ _(O, {
147
+ divided: "",
148
+ onClick: y
149
+ }, {
150
+ default: g(() => [
151
+ B(P(S.$t("navbar.logout")), 1)
152
+ ]),
153
+ _: 1
154
+ })
155
+ ]),
156
+ _: 1
157
+ })
158
+ ]),
159
+ default: g(() => [
160
+ w("div", ht, [
161
+ w("img", {
162
+ src: l(p),
163
+ class: "rounded-full mr-10px w24px w24px"
164
+ }, null, 8, gt),
165
+ w("span", null, P(l(n).user.nickName), 1)
166
+ ])
167
+ ]),
168
+ _: 1
169
+ }),
170
+ l(ue).showSettings ? (u(), x("div", {
171
+ key: 1,
172
+ class: "setting-item",
173
+ onClick: $[2] || ($[2] = (ee) => l(s).settingsVisible = !0)
174
+ }, [
175
+ _(N, { "icon-class": "setting" })
176
+ ])) : T("", !0),
177
+ l(c) ? (u(), k(dt, {
178
+ key: 2,
179
+ "pwd-visible": l(c),
180
+ onDialogActionChange: A
181
+ }, null, 8, ["pwd-visible"])) : T("", !0),
182
+ l(d) ? (u(), k(ft, {
183
+ key: 3,
184
+ modelValue: l(d),
185
+ "onUpdate:modelValue": $[3] || ($[3] = (ee) => pe(d) ? d.value = ee : null)
186
+ }, null, 8, ["modelValue"])) : T("", !0)
187
+ ]);
188
+ };
189
+ }
190
+ }), Ee = /* @__PURE__ */ F(bt, [["__scopeId", "data-v-52075715"]]);
191
+ function xt(i) {
192
+ for (var e = [], t = 0; t < i.length; ) {
193
+ var n = i[t];
194
+ if (n === "*" || n === "+" || n === "?") {
195
+ e.push({ type: "MODIFIER", index: t, value: i[t++] });
196
+ continue;
197
+ }
198
+ if (n === "\\") {
199
+ e.push({ type: "ESCAPED_CHAR", index: t++, value: i[t++] });
200
+ continue;
201
+ }
202
+ if (n === "{") {
203
+ e.push({ type: "OPEN", index: t, value: i[t++] });
204
+ continue;
205
+ }
206
+ if (n === "}") {
207
+ e.push({ type: "CLOSE", index: t, value: i[t++] });
208
+ continue;
209
+ }
210
+ if (n === ":") {
211
+ for (var s = "", o = t + 1; o < i.length; ) {
212
+ var a = i.charCodeAt(o);
213
+ if (
214
+ // `0-9`
215
+ a >= 48 && a <= 57 || // `A-Z`
216
+ a >= 65 && a <= 90 || // `a-z`
217
+ a >= 97 && a <= 122 || // `_`
218
+ a === 95
219
+ ) {
220
+ s += i[o++];
221
+ continue;
222
+ }
223
+ break;
224
+ }
225
+ if (!s)
226
+ throw new TypeError("Missing parameter name at ".concat(t));
227
+ e.push({ type: "NAME", index: t, value: s }), t = o;
228
+ continue;
229
+ }
230
+ if (n === "(") {
231
+ var r = 1, c = "", o = t + 1;
232
+ if (i[o] === "?")
233
+ throw new TypeError('Pattern cannot start with "?" at '.concat(o));
234
+ for (; o < i.length; ) {
235
+ if (i[o] === "\\") {
236
+ c += i[o++] + i[o++];
237
+ continue;
238
+ }
239
+ if (i[o] === ")") {
240
+ if (r--, r === 0) {
241
+ o++;
242
+ break;
243
+ }
244
+ } else if (i[o] === "(" && (r++, i[o + 1] !== "?"))
245
+ throw new TypeError("Capturing groups are not allowed at ".concat(o));
246
+ c += i[o++];
247
+ }
248
+ if (r)
249
+ throw new TypeError("Unbalanced pattern at ".concat(t));
250
+ if (!c)
251
+ throw new TypeError("Missing pattern at ".concat(t));
252
+ e.push({ type: "PATTERN", index: t, value: c }), t = o;
253
+ continue;
254
+ }
255
+ e.push({ type: "CHAR", index: t, value: i[t++] });
256
+ }
257
+ return e.push({ type: "END", index: t, value: "" }), e;
258
+ }
259
+ function yt(i, e) {
260
+ e === void 0 && (e = {});
261
+ for (var t = xt(i), n = e.prefixes, s = n === void 0 ? "./" : n, o = "[^".concat(St(e.delimiter || "/#?"), "]+?"), a = [], r = 0, c = 0, d = "", m = function(H) {
262
+ if (c < t.length && t[c].type === H)
263
+ return t[c++].value;
264
+ }, f = function(H) {
265
+ var O = m(H);
266
+ if (O !== void 0)
267
+ return O;
268
+ var G = t[c], Z = G.type, re = G.index;
269
+ throw new TypeError("Unexpected ".concat(Z, " at ").concat(re, ", expected ").concat(H));
270
+ }, p = function() {
271
+ for (var H = "", O; O = m("CHAR") || m("ESCAPED_CHAR"); )
272
+ H += O;
273
+ return H;
274
+ }; c < t.length; ) {
275
+ var h = m("CHAR"), y = m("NAME"), A = m("PATTERN");
276
+ if (y || A) {
277
+ var S = h || "";
278
+ s.indexOf(S) === -1 && (d += S, S = ""), d && (a.push(d), d = ""), a.push({
279
+ name: y || r++,
280
+ prefix: S,
281
+ suffix: "",
282
+ pattern: A || o,
283
+ modifier: m("MODIFIER") || ""
284
+ });
285
+ continue;
286
+ }
287
+ var $ = h || m("ESCAPED_CHAR");
288
+ if ($) {
289
+ d += $;
290
+ continue;
291
+ }
292
+ d && (a.push(d), d = "");
293
+ var N = m("OPEN");
294
+ if (N) {
295
+ var S = p(), C = m("NAME") || "", U = m("PATTERN") || "", Q = p();
296
+ f("CLOSE"), a.push({
297
+ name: C || (U ? r++ : ""),
298
+ pattern: C && !U ? o : U,
299
+ prefix: S,
300
+ suffix: Q,
301
+ modifier: m("MODIFIER") || ""
302
+ });
303
+ continue;
304
+ }
305
+ f("END");
306
+ }
307
+ return a;
308
+ }
309
+ function wt(i, e) {
310
+ return kt(yt(i, e), e);
311
+ }
312
+ function kt(i, e) {
313
+ e === void 0 && (e = {});
314
+ var t = Ct(e), n = e.encode, s = n === void 0 ? function(c) {
315
+ return c;
316
+ } : n, o = e.validate, a = o === void 0 ? !0 : o, r = i.map(function(c) {
317
+ if (typeof c == "object")
318
+ return new RegExp("^(?:".concat(c.pattern, ")$"), t);
319
+ });
320
+ return function(c) {
321
+ for (var d = "", m = 0; m < i.length; m++) {
322
+ var f = i[m];
323
+ if (typeof f == "string") {
324
+ d += f;
325
+ continue;
326
+ }
327
+ var p = c ? c[f.name] : void 0, h = f.modifier === "?" || f.modifier === "*", y = f.modifier === "*" || f.modifier === "+";
328
+ if (Array.isArray(p)) {
329
+ if (!y)
330
+ throw new TypeError('Expected "'.concat(f.name, '" to not repeat, but got an array'));
331
+ if (p.length === 0) {
332
+ if (h)
333
+ continue;
334
+ throw new TypeError('Expected "'.concat(f.name, '" to not be empty'));
335
+ }
336
+ for (var A = 0; A < p.length; A++) {
337
+ var S = s(p[A], f);
338
+ if (a && !r[m].test(S))
339
+ throw new TypeError('Expected all "'.concat(f.name, '" to match "').concat(f.pattern, '", but got "').concat(S, '"'));
340
+ d += f.prefix + S + f.suffix;
341
+ }
342
+ continue;
343
+ }
344
+ if (typeof p == "string" || typeof p == "number") {
345
+ var S = s(String(p), f);
346
+ if (a && !r[m].test(S))
347
+ throw new TypeError('Expected "'.concat(f.name, '" to match "').concat(f.pattern, '", but got "').concat(S, '"'));
348
+ d += f.prefix + S + f.suffix;
349
+ continue;
350
+ }
351
+ if (!h) {
352
+ var $ = y ? "an array" : "a string";
353
+ throw new TypeError('Expected "'.concat(f.name, '" to be ').concat($));
354
+ }
355
+ }
356
+ return d;
357
+ };
358
+ }
359
+ function St(i) {
360
+ return i.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
361
+ }
362
+ function Ct(i) {
363
+ return i && i.sensitive ? "" : "i";
364
+ }
365
+ function be(i) {
366
+ var e, t;
367
+ return ve((e = i.name) == null ? void 0 : e.toString(), (t = i.meta) == null ? void 0 : t.title);
368
+ }
369
+ function $t(i) {
370
+ return ve(i.name, i.title);
371
+ }
372
+ function ve(i, e) {
373
+ let t = i && i != "" ? i : e;
374
+ return Ce.global.te("route." + t) ? Ce.global.t("route." + t) : e || i;
375
+ }
376
+ const Vt = {
377
+ key: 0,
378
+ class: "color-gray-400"
379
+ }, Tt = ["onClick"], At = /* @__PURE__ */ I({
380
+ __name: "index",
381
+ setup(i) {
382
+ const e = me(), t = (r) => {
383
+ const { params: c } = e;
384
+ return wt(r)(c);
385
+ }, n = z([]);
386
+ function s() {
387
+ let r = e.matched.filter(
388
+ (d) => d.meta && d.meta.title
389
+ );
390
+ const c = r[0];
391
+ o(c) || (r = [
392
+ { path: "/dashboard", meta: { title: "Dashboard" } }
393
+ ].concat(r)), n.value = r.filter((d) => d.meta && d.meta.title && d.meta.breadcrumb !== !1);
394
+ }
395
+ function o(r) {
396
+ const c = r && r.name;
397
+ return c ? c.toString().trim().toLocaleLowerCase() === "Dashboard".toLocaleLowerCase() : !1;
398
+ }
399
+ function a(r) {
400
+ const { redirect: c, path: d } = r;
401
+ if (c) {
402
+ $e.value.push(c).catch((m) => {
403
+ console.warn(m);
404
+ });
405
+ return;
406
+ }
407
+ $e.value.push(t(d)).catch((m) => {
408
+ console.warn(m);
409
+ });
410
+ }
411
+ return ne(
412
+ () => e.path,
413
+ (r) => {
414
+ r.startsWith("/redirect/") || s();
415
+ }
416
+ ), Ze(() => {
417
+ s();
418
+ }), (r, c) => {
419
+ const d = V("el-breadcrumb-item"), m = V("el-breadcrumb");
420
+ return u(), k(m, { class: "flex-y-center" }, {
421
+ default: g(() => [
422
+ _(et, { "enter-active-class": "animate__animated animate__fadeInRight" }, {
423
+ default: g(() => [
424
+ (u(!0), x(K, null, le(l(n), (f, p) => (u(), k(d, {
425
+ key: f.path
426
+ }, {
427
+ default: g(() => [
428
+ f.redirect === "noredirect" || p === l(n).length - 1 ? (u(), x("span", Vt, P(l(be)(f)), 1)) : (u(), x("a", {
429
+ key: 1,
430
+ onClick: ce((h) => a(f), ["prevent"])
431
+ }, P(l(be)(f)), 9, Tt))
432
+ ]),
433
+ _: 2
434
+ }, 1024))), 128))
435
+ ]),
436
+ _: 1
437
+ })
438
+ ]),
439
+ _: 1
440
+ });
441
+ };
442
+ }
443
+ }), Mt = /* @__PURE__ */ F(At, [["__scopeId", "data-v-6109c28e"]]), Pt = /* @__PURE__ */ I({
444
+ __name: "index",
445
+ props: {
446
+ isActive: {
447
+ required: !0,
448
+ type: Boolean,
449
+ default: !1
450
+ }
451
+ },
452
+ emits: ["toggleClick"],
453
+ setup(i, { emit: e }) {
454
+ const t = e;
455
+ function n() {
456
+ t("toggleClick");
457
+ }
458
+ return (s, o) => {
459
+ const a = ae;
460
+ return u(), x("div", {
461
+ class: "px-[15px] flex items-center justify-center color-[var(--el-text-color-regular)]",
462
+ onClick: n
463
+ }, [
464
+ _(a, {
465
+ class: q(["hamburger", { "is-active": i.isActive }]),
466
+ "icon-class": "indent-decrease"
467
+ }, null, 8, ["class"])
468
+ ]);
469
+ };
470
+ }
471
+ }), Le = /* @__PURE__ */ F(Pt, [["__scopeId", "data-v-42e37629"]]), Et = { class: "flex" }, Lt = /* @__PURE__ */ I({
472
+ __name: "NavbarLeft",
473
+ setup(i) {
474
+ const e = J();
475
+ function t() {
476
+ e.toggleSidebar();
477
+ }
478
+ return (n, s) => {
479
+ const o = Le, a = Mt;
480
+ return u(), x("div", Et, [
481
+ _(o, {
482
+ "is-active": l(e).sidebar.opened,
483
+ onToggleClick: t
484
+ }, null, 8, ["is-active"]),
485
+ _(a)
486
+ ]);
487
+ };
488
+ }
489
+ }), It = {}, Rt = { class: "navbar-container" };
490
+ function Dt(i, e) {
491
+ const t = Lt, n = Ee;
492
+ return u(), x("div", Rt, [
493
+ _(t),
494
+ _(n)
495
+ ]);
496
+ }
497
+ const Bt = /* @__PURE__ */ F(It, [["render", Dt], ["__scopeId", "data-v-b1624593"]]);
498
+ var Y = /* @__PURE__ */ ((i) => (i.LEFT = "left", i.TOP = "top", i.MIX = "mix", i))(Y || {});
499
+ const se = (i) => (tt("data-v-2bdf1403"), i = i(), nt(), i), Nt = { class: "flex flex-wrap justify-around w-full h-12" }, Ot = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), zt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ft = [
500
+ Ot,
501
+ zt
502
+ ], Ut = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ht = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), qt = [
503
+ Ut,
504
+ Ht
505
+ ], Wt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Kt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Xt = [
506
+ Wt,
507
+ Kt
508
+ ], jt = /* @__PURE__ */ I({
509
+ __name: "LayoutSelect",
510
+ props: {
511
+ modelValue: String
512
+ },
513
+ emits: ["update:modelValue"],
514
+ setup(i, { emit: e }) {
515
+ const t = e;
516
+ function n(s) {
517
+ t("update:modelValue", s);
518
+ }
519
+ return (s, o) => {
520
+ const a = V("el-tooltip");
521
+ return u(), x("div", Nt, [
522
+ _(a, {
523
+ content: "左侧模式",
524
+ placement: "bottom"
525
+ }, {
526
+ default: g(() => [
527
+ w("div", {
528
+ class: q(["layout-item left", { "is-active": i.modelValue === l(Y).LEFT }]),
529
+ onClick: o[0] || (o[0] = (r) => n(l(Y).LEFT))
530
+ }, Ft, 2)
531
+ ]),
532
+ _: 1
533
+ }),
534
+ _(a, {
535
+ content: "顶部模式",
536
+ placement: "bottom"
537
+ }, {
538
+ default: g(() => [
539
+ w("div", {
540
+ class: q(["layout-item top", { "is-active": i.modelValue === l(Y).TOP }]),
541
+ onClick: o[1] || (o[1] = (r) => n(l(Y).TOP))
542
+ }, qt, 2)
543
+ ]),
544
+ _: 1
545
+ }),
546
+ _(a, {
547
+ content: "混合模式",
548
+ placement: "bottom"
549
+ }, {
550
+ default: g(() => [
551
+ w("div", {
552
+ class: q(["layout-item mix", { "is-active": i.modelValue === l(Y).MIX }]),
553
+ onClick: o[2] || (o[2] = (r) => n(l(Y).MIX))
554
+ }, Xt, 2)
555
+ ]),
556
+ _: 1
557
+ })
558
+ ]);
559
+ };
560
+ }
561
+ }), Gt = /* @__PURE__ */ F(jt, [["__scopeId", "data-v-2bdf1403"]]), Yt = /* @__PURE__ */ I({
562
+ __name: "ThemeColorPicker",
563
+ props: {
564
+ modelValue: String
565
+ },
566
+ emits: ["update:modelValue"],
567
+ setup(i, { emit: e }) {
568
+ const t = i, n = e, s = [
569
+ "#409EFF",
570
+ "#ff4500",
571
+ "#ff8c00",
572
+ "#90ee90",
573
+ "#00ced1",
574
+ "#1e90ff",
575
+ "#c71585",
576
+ "rgba(255, 69, 0, 0.68)",
577
+ "rgb(255, 120, 0)",
578
+ "hsva(120, 40, 94)"
579
+ ], o = z(t.modelValue);
580
+ return ne(o, (a) => {
581
+ n("update:modelValue", a);
582
+ }), (a, r) => {
583
+ const c = V("el-color-picker");
584
+ return u(), k(c, {
585
+ modelValue: l(o),
586
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => pe(o) ? o.value = d : null),
587
+ predefine: s,
588
+ "popper-class": "theme-picker-dropdown"
589
+ }, null, 8, ["modelValue"]);
590
+ };
591
+ }
592
+ }), Jt = /* @__PURE__ */ F(Yt, [["__scopeId", "data-v-92c1fd79"]]), Qt = { class: "flex-center" }, Zt = { class: "settings-option" }, en = { class: "text-xs" }, tn = { class: "settings-option" }, nn = { class: "text-xs" }, on = { class: "settings-option" }, an = { class: "text-xs" }, ln = { class: "settings-option" }, sn = { class: "text-xs" }, rn = { class: "settings-option" }, cn = { class: "text-xs" }, un = /* @__PURE__ */ I({
593
+ __name: "index",
594
+ setup(i) {
595
+ const e = me(), t = J(), n = te(), s = fe(), o = R({
596
+ get() {
597
+ return n.settingsVisible;
598
+ },
599
+ set() {
600
+ n.settingsVisible = !1;
601
+ }
602
+ });
603
+ function a(p) {
604
+ n.changeThemeColor(p);
605
+ }
606
+ const r = z(n.theme === ge.DARK), c = (p) => {
607
+ r.value = p, n.changeTheme(r.value ? ge.DARK : ge.LIGHT);
608
+ };
609
+ function d(p) {
610
+ n.changeLayout(p), p === Y.MIX ? e.name && m(e.name) : p === Y.TOP && t.openSideBar();
611
+ }
612
+ function m(p) {
613
+ const h = f(s.routes, p);
614
+ t.activeTopMenu !== h.path && t.activeTopMenu(h.path);
615
+ }
616
+ function f(p, h) {
617
+ let y = {};
618
+ function A($, N) {
619
+ if (y[$.name] = N, $.children)
620
+ for (let C = 0; C < $.children.length; C++)
621
+ A($.children[C], $);
622
+ }
623
+ for (let $ = 0; $ < p.length; $++)
624
+ A(p[$], null);
625
+ let S = y[h];
626
+ for (; S; ) {
627
+ if (!y[S.name])
628
+ return S;
629
+ S = y[S.name];
630
+ }
631
+ return null;
632
+ }
633
+ return (p, h) => {
634
+ const y = V("el-divider"), A = V("el-switch"), S = Jt, $ = Gt, N = V("el-drawer");
635
+ return u(), k(N, {
636
+ modelValue: l(o),
637
+ "onUpdate:modelValue": h[7] || (h[7] = (C) => pe(o) ? o.value = C : null),
638
+ size: "300",
639
+ title: p.$t("settings.project")
640
+ }, {
641
+ default: g(() => [
642
+ _(y, null, {
643
+ default: g(() => [
644
+ B(P(p.$t("settings.theme")), 1)
645
+ ]),
646
+ _: 1
647
+ }),
648
+ w("div", Qt, [
649
+ _(A, {
650
+ modelValue: l(r),
651
+ "onUpdate:modelValue": h[0] || (h[0] = (C) => pe(r) ? r.value = C : null),
652
+ "active-icon": l(je),
653
+ "inactive-icon": l(Ge),
654
+ onChange: c
655
+ }, null, 8, ["modelValue", "active-icon", "inactive-icon"])
656
+ ]),
657
+ _(y, null, {
658
+ default: g(() => [
659
+ B(P(p.$t("settings.interface")), 1)
660
+ ]),
661
+ _: 1
662
+ }),
663
+ w("div", Zt, [
664
+ w("span", en, P(p.$t("settings.themeColor")), 1),
665
+ _(S, {
666
+ modelValue: l(n).themeColor,
667
+ "onUpdate:modelValue": [
668
+ h[1] || (h[1] = (C) => l(n).themeColor = C),
669
+ a
670
+ ]
671
+ }, null, 8, ["modelValue"])
672
+ ]),
673
+ w("div", tn, [
674
+ w("span", nn, P(p.$t("settings.tagsView")), 1),
675
+ _(A, {
676
+ modelValue: l(n).tagsView,
677
+ "onUpdate:modelValue": h[2] || (h[2] = (C) => l(n).tagsView = C)
678
+ }, null, 8, ["modelValue"])
679
+ ]),
680
+ w("div", on, [
681
+ w("span", an, P(p.$t("settings.fixedHeader")), 1),
682
+ _(A, {
683
+ modelValue: l(n).fixedHeader,
684
+ "onUpdate:modelValue": h[3] || (h[3] = (C) => l(n).fixedHeader = C)
685
+ }, null, 8, ["modelValue"])
686
+ ]),
687
+ w("div", ln, [
688
+ w("span", sn, P(p.$t("settings.sidebarLogo")), 1),
689
+ _(A, {
690
+ modelValue: l(n).sidebarLogo,
691
+ "onUpdate:modelValue": h[4] || (h[4] = (C) => l(n).sidebarLogo = C)
692
+ }, null, 8, ["modelValue"])
693
+ ]),
694
+ w("div", rn, [
695
+ w("span", cn, P(p.$t("settings.watermark")), 1),
696
+ _(A, {
697
+ modelValue: l(n).watermarkEnabled,
698
+ "onUpdate:modelValue": h[5] || (h[5] = (C) => l(n).watermarkEnabled = C)
699
+ }, null, 8, ["modelValue"])
700
+ ]),
701
+ _(y, null, {
702
+ default: g(() => [
703
+ B(P(p.$t("settings.navigation")), 1)
704
+ ]),
705
+ _: 1
706
+ }),
707
+ _($, {
708
+ modelValue: l(n).layout,
709
+ "onUpdate:modelValue": [
710
+ h[6] || (h[6] = (C) => l(n).layout = C),
711
+ d
712
+ ]
713
+ }, null, 8, ["modelValue"])
714
+ ]),
715
+ _: 1
716
+ }, 8, ["modelValue", "title"]);
717
+ };
718
+ }
719
+ }), dn = /* @__PURE__ */ F(un, [["__scopeId", "data-v-70f5bf10"]]), fn = { class: "app-main" }, mn = /* @__PURE__ */ I({
720
+ __name: "index",
721
+ setup(i) {
722
+ const e = R(() => xe().cachedViews);
723
+ return (t, n) => {
724
+ const s = V("router-view");
725
+ return u(), x("section", fn, [
726
+ _(s, null, {
727
+ default: g(({ Component: o, route: a }) => [
728
+ _(Me, {
729
+ "enter-active-class": "animate__animated animate__fadeIn",
730
+ mode: "out-in"
731
+ }, {
732
+ default: g(() => [
733
+ (u(), k(ot, { include: l(e) }, [
734
+ (u(), k(ye(o), {
735
+ key: a.path
736
+ }))
737
+ ], 1032, ["include"]))
738
+ ]),
739
+ _: 2
740
+ }, 1024)
741
+ ]),
742
+ _: 1
743
+ })
744
+ ]);
745
+ };
746
+ }
747
+ }), _n = /* @__PURE__ */ F(mn, [["__scopeId", "data-v-37d096bd"]]), pn = {
748
+ viewBox: "0 0 1024 1024",
749
+ width: "1.2em",
750
+ height: "1.2em"
751
+ }, vn = /* @__PURE__ */ w("path", {
752
+ fill: "currentColor",
753
+ d: "M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
754
+ }, null, -1), hn = [
755
+ vn
756
+ ];
757
+ function gn(i, e) {
758
+ return u(), x("svg", pn, [...hn]);
759
+ }
760
+ const bn = { name: "ep-close", render: gn };
761
+ function j(i) {
762
+ if (typeof i != "string")
763
+ throw new TypeError("Path must be a string. Received " + JSON.stringify(i));
764
+ }
765
+ function Te(i, e) {
766
+ for (var t = "", n = 0, s = -1, o = 0, a, r = 0; r <= i.length; ++r) {
767
+ if (r < i.length)
768
+ a = i.charCodeAt(r);
769
+ else {
770
+ if (a === 47)
771
+ break;
772
+ a = 47;
773
+ }
774
+ if (a === 47) {
775
+ if (!(s === r - 1 || o === 1))
776
+ if (s !== r - 1 && o === 2) {
777
+ if (t.length < 2 || n !== 2 || t.charCodeAt(t.length - 1) !== 46 || t.charCodeAt(t.length - 2) !== 46) {
778
+ if (t.length > 2) {
779
+ var c = t.lastIndexOf("/");
780
+ if (c !== t.length - 1) {
781
+ c === -1 ? (t = "", n = 0) : (t = t.slice(0, c), n = t.length - 1 - t.lastIndexOf("/")), s = r, o = 0;
782
+ continue;
783
+ }
784
+ } else if (t.length === 2 || t.length === 1) {
785
+ t = "", n = 0, s = r, o = 0;
786
+ continue;
787
+ }
788
+ }
789
+ e && (t.length > 0 ? t += "/.." : t = "..", n = 2);
790
+ } else
791
+ t.length > 0 ? t += "/" + i.slice(s + 1, r) : t = i.slice(s + 1, r), n = r - s - 1;
792
+ s = r, o = 0;
793
+ } else
794
+ a === 46 && o !== -1 ? ++o : o = -1;
795
+ }
796
+ return t;
797
+ }
798
+ function xn(i, e) {
799
+ var t = e.dir || e.root, n = e.base || (e.name || "") + (e.ext || "");
800
+ return t ? t === e.root ? t + n : t + i + n : n;
801
+ }
802
+ var oe = {
803
+ // path.resolve([from ...], to)
804
+ resolve: function() {
805
+ for (var e = "", t = !1, n, s = arguments.length - 1; s >= -1 && !t; s--) {
806
+ var o;
807
+ s >= 0 ? o = arguments[s] : (n === void 0 && (n = process.cwd()), o = n), j(o), o.length !== 0 && (e = o + "/" + e, t = o.charCodeAt(0) === 47);
808
+ }
809
+ return e = Te(e, !t), t ? e.length > 0 ? "/" + e : "/" : e.length > 0 ? e : ".";
810
+ },
811
+ normalize: function(e) {
812
+ if (j(e), e.length === 0)
813
+ return ".";
814
+ var t = e.charCodeAt(0) === 47, n = e.charCodeAt(e.length - 1) === 47;
815
+ return e = Te(e, !t), e.length === 0 && !t && (e = "."), e.length > 0 && n && (e += "/"), t ? "/" + e : e;
816
+ },
817
+ isAbsolute: function(e) {
818
+ return j(e), e.length > 0 && e.charCodeAt(0) === 47;
819
+ },
820
+ join: function() {
821
+ if (arguments.length === 0)
822
+ return ".";
823
+ for (var e, t = 0; t < arguments.length; ++t) {
824
+ var n = arguments[t];
825
+ j(n), n.length > 0 && (e === void 0 ? e = n : e += "/" + n);
826
+ }
827
+ return e === void 0 ? "." : oe.normalize(e);
828
+ },
829
+ relative: function(e, t) {
830
+ if (j(e), j(t), e === t || (e = oe.resolve(e), t = oe.resolve(t), e === t))
831
+ return "";
832
+ for (var n = 1; n < e.length && e.charCodeAt(n) === 47; ++n)
833
+ ;
834
+ for (var s = e.length, o = s - n, a = 1; a < t.length && t.charCodeAt(a) === 47; ++a)
835
+ ;
836
+ for (var r = t.length, c = r - a, d = o < c ? o : c, m = -1, f = 0; f <= d; ++f) {
837
+ if (f === d) {
838
+ if (c > d) {
839
+ if (t.charCodeAt(a + f) === 47)
840
+ return t.slice(a + f + 1);
841
+ if (f === 0)
842
+ return t.slice(a + f);
843
+ } else
844
+ o > d && (e.charCodeAt(n + f) === 47 ? m = f : f === 0 && (m = 0));
845
+ break;
846
+ }
847
+ var p = e.charCodeAt(n + f), h = t.charCodeAt(a + f);
848
+ if (p !== h)
849
+ break;
850
+ p === 47 && (m = f);
851
+ }
852
+ var y = "";
853
+ for (f = n + m + 1; f <= s; ++f)
854
+ (f === s || e.charCodeAt(f) === 47) && (y.length === 0 ? y += ".." : y += "/..");
855
+ return y.length > 0 ? y + t.slice(a + m) : (a += m, t.charCodeAt(a) === 47 && ++a, t.slice(a));
856
+ },
857
+ _makeLong: function(e) {
858
+ return e;
859
+ },
860
+ dirname: function(e) {
861
+ if (j(e), e.length === 0)
862
+ return ".";
863
+ for (var t = e.charCodeAt(0), n = t === 47, s = -1, o = !0, a = e.length - 1; a >= 1; --a)
864
+ if (t = e.charCodeAt(a), t === 47) {
865
+ if (!o) {
866
+ s = a;
867
+ break;
868
+ }
869
+ } else
870
+ o = !1;
871
+ return s === -1 ? n ? "/" : "." : n && s === 1 ? "//" : e.slice(0, s);
872
+ },
873
+ basename: function(e, t) {
874
+ if (t !== void 0 && typeof t != "string")
875
+ throw new TypeError('"ext" argument must be a string');
876
+ j(e);
877
+ var n = 0, s = -1, o = !0, a;
878
+ if (t !== void 0 && t.length > 0 && t.length <= e.length) {
879
+ if (t.length === e.length && t === e)
880
+ return "";
881
+ var r = t.length - 1, c = -1;
882
+ for (a = e.length - 1; a >= 0; --a) {
883
+ var d = e.charCodeAt(a);
884
+ if (d === 47) {
885
+ if (!o) {
886
+ n = a + 1;
887
+ break;
888
+ }
889
+ } else
890
+ c === -1 && (o = !1, c = a + 1), r >= 0 && (d === t.charCodeAt(r) ? --r === -1 && (s = a) : (r = -1, s = c));
891
+ }
892
+ return n === s ? s = c : s === -1 && (s = e.length), e.slice(n, s);
893
+ } else {
894
+ for (a = e.length - 1; a >= 0; --a)
895
+ if (e.charCodeAt(a) === 47) {
896
+ if (!o) {
897
+ n = a + 1;
898
+ break;
899
+ }
900
+ } else
901
+ s === -1 && (o = !1, s = a + 1);
902
+ return s === -1 ? "" : e.slice(n, s);
903
+ }
904
+ },
905
+ extname: function(e) {
906
+ j(e);
907
+ for (var t = -1, n = 0, s = -1, o = !0, a = 0, r = e.length - 1; r >= 0; --r) {
908
+ var c = e.charCodeAt(r);
909
+ if (c === 47) {
910
+ if (!o) {
911
+ n = r + 1;
912
+ break;
913
+ }
914
+ continue;
915
+ }
916
+ s === -1 && (o = !1, s = r + 1), c === 46 ? t === -1 ? t = r : a !== 1 && (a = 1) : t !== -1 && (a = -1);
917
+ }
918
+ return t === -1 || s === -1 || // We saw a non-dot character immediately before the dot
919
+ a === 0 || // The (right-most) trimmed path component is exactly '..'
920
+ a === 1 && t === s - 1 && t === n + 1 ? "" : e.slice(t, s);
921
+ },
922
+ format: function(e) {
923
+ if (e === null || typeof e != "object")
924
+ throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof e);
925
+ return xn("/", e);
926
+ },
927
+ parse: function(e) {
928
+ j(e);
929
+ var t = { root: "", dir: "", base: "", ext: "", name: "" };
930
+ if (e.length === 0)
931
+ return t;
932
+ var n = e.charCodeAt(0), s = n === 47, o;
933
+ s ? (t.root = "/", o = 1) : o = 0;
934
+ for (var a = -1, r = 0, c = -1, d = !0, m = e.length - 1, f = 0; m >= o; --m) {
935
+ if (n = e.charCodeAt(m), n === 47) {
936
+ if (!d) {
937
+ r = m + 1;
938
+ break;
939
+ }
940
+ continue;
941
+ }
942
+ c === -1 && (d = !1, c = m + 1), n === 46 ? a === -1 ? a = m : f !== 1 && (f = 1) : a !== -1 && (f = -1);
943
+ }
944
+ return a === -1 || c === -1 || // We saw a non-dot character immediately before the dot
945
+ f === 0 || // The (right-most) trimmed path component is exactly '..'
946
+ f === 1 && a === c - 1 && a === r + 1 ? c !== -1 && (r === 0 && s ? t.base = t.name = e.slice(1, c) : t.base = t.name = e.slice(r, c)) : (r === 0 && s ? (t.name = e.slice(1, a), t.base = e.slice(1, c)) : (t.name = e.slice(r, a), t.base = e.slice(r, c)), t.ext = e.slice(a, c)), r > 0 ? t.dir = e.slice(0, r - 1) : s && (t.dir = "/"), t;
947
+ },
948
+ sep: "/",
949
+ delimiter: ":",
950
+ win32: null,
951
+ posix: null
952
+ };
953
+ oe.posix = oe;
954
+ var Ie = oe;
955
+ const Re = /* @__PURE__ */ Ye(Ie), yn = { class: "tags-container" }, wn = /* @__PURE__ */ I({
956
+ __name: "index",
957
+ setup(i) {
958
+ const { proxy: e } = it(), t = we(), n = me(), s = fe(), o = xe(), a = J(), { visitedViews: r } = _t(o), c = te(), d = R(() => c.layout), m = z({
959
+ path: "",
960
+ fullPath: "",
961
+ name: "",
962
+ title: "",
963
+ affix: !1,
964
+ keepAlive: !1
965
+ }), f = z([]), p = z(0), h = z(0);
966
+ ne(
967
+ n,
968
+ () => {
969
+ $(), N();
970
+ },
971
+ {
972
+ immediate: !0
973
+ //初始化立即执行
974
+ }
975
+ );
976
+ const y = z(!1);
977
+ ne(y, (v) => {
978
+ v ? document.body.addEventListener("click", he) : document.body.removeEventListener("click", he);
979
+ });
980
+ function A(v, b = "/") {
981
+ let L = [];
982
+ return v.forEach((D) => {
983
+ var M, E, X, ke;
984
+ const W = Ie.resolve(b, D.path);
985
+ if ((M = D.meta) != null && M.affix && L.push({
986
+ path: W,
987
+ fullPath: W,
988
+ name: String(D.name),
989
+ title: ((E = D.meta) == null ? void 0 : E.title) || "no-name",
990
+ affix: (X = D.meta) == null ? void 0 : X.affix,
991
+ keepAlive: (ke = D.meta) == null ? void 0 : ke.keepAlive
992
+ }), D.children) {
993
+ const Se = A(D.children, b + D.path);
994
+ Se.length >= 1 && (L = [...L, ...Se]);
995
+ }
996
+ }), L;
997
+ }
998
+ function S() {
999
+ const v = A(s.routes);
1000
+ f.value = v;
1001
+ for (const b of v)
1002
+ b.name && o.addVisitedView(b);
1003
+ }
1004
+ function $() {
1005
+ var v, b;
1006
+ n.meta.title && o.addView({
1007
+ name: n.name,
1008
+ title: n.meta.title,
1009
+ path: n.path,
1010
+ fullPath: n.fullPath,
1011
+ affix: (v = n.meta) == null ? void 0 : v.affix,
1012
+ keepAlive: (b = n.meta) == null ? void 0 : b.keepAlive
1013
+ });
1014
+ }
1015
+ function N() {
1016
+ Ve(() => {
1017
+ var v, b;
1018
+ for (const L of r.value)
1019
+ L.path === n.path && L.fullPath !== n.fullPath && o.updateVisitedView({
1020
+ name: n.name,
1021
+ title: n.meta.title || "",
1022
+ path: n.path,
1023
+ fullPath: n.fullPath,
1024
+ affix: (v = n.meta) == null ? void 0 : v.affix,
1025
+ keepAlive: (b = n.meta) == null ? void 0 : b.keepAlive
1026
+ });
1027
+ });
1028
+ }
1029
+ function C(v) {
1030
+ return v.path === n.path;
1031
+ }
1032
+ function U(v) {
1033
+ return v == null ? void 0 : v.affix;
1034
+ }
1035
+ function Q() {
1036
+ try {
1037
+ return m.value.path === "/dashboard" || m.value.fullPath === o.visitedViews[1].fullPath;
1038
+ } catch {
1039
+ return !1;
1040
+ }
1041
+ }
1042
+ function H() {
1043
+ try {
1044
+ return m.value.fullPath === o.visitedViews[o.visitedViews.length - 1].fullPath;
1045
+ } catch {
1046
+ return !1;
1047
+ }
1048
+ }
1049
+ function O(v) {
1050
+ o.delCachedView(v);
1051
+ const { fullPath: b } = v;
1052
+ Ve(() => {
1053
+ t.replace({ path: "/redirect" + b });
1054
+ });
1055
+ }
1056
+ function G(v, b) {
1057
+ const L = v.slice(-1)[0];
1058
+ L && L.fullPath ? t.push(L.fullPath) : (b == null ? void 0 : b.name) === "Dashboard" ? t.replace({ path: "/redirect" + b.fullPath }) : t.push("/");
1059
+ }
1060
+ function Z(v) {
1061
+ o.delView(v).then((b) => {
1062
+ C(v) && G(b.visitedViews, v);
1063
+ });
1064
+ }
1065
+ function re() {
1066
+ o.delLeftViews(m.value).then((v) => {
1067
+ v.visitedViews.find((b) => b.path === n.path) || G(v.visitedViews);
1068
+ });
1069
+ }
1070
+ function ee() {
1071
+ o.delRightViews(m.value).then((v) => {
1072
+ v.visitedViews.find((b) => b.path === n.path) || G(v.visitedViews);
1073
+ });
1074
+ }
1075
+ function Be() {
1076
+ t.push(m.value), o.delOtherViews(m.value).then(() => {
1077
+ N();
1078
+ });
1079
+ }
1080
+ function Ne(v) {
1081
+ o.delAllViews().then((b) => {
1082
+ G(b.visitedViews, v);
1083
+ });
1084
+ }
1085
+ function Oe(v, b) {
1086
+ const D = e == null ? void 0 : e.$el.getBoundingClientRect().left, M = (e == null ? void 0 : e.$el.offsetWidth) - 105, E = b.clientX - D + 15;
1087
+ E > M ? p.value = M : p.value = E, d.value === "mix" ? h.value = b.clientY - 50 : h.value = b.clientY, y.value = !0, m.value = v;
1088
+ }
1089
+ function he() {
1090
+ y.value = !1;
1091
+ }
1092
+ function ze() {
1093
+ he();
1094
+ }
1095
+ function Fe(v, b) {
1096
+ let L = {};
1097
+ function D(M, E) {
1098
+ if (L[M.name] = E, M.children)
1099
+ for (let X = 0; X < M.children.length; X++)
1100
+ D(M.children[X], M);
1101
+ }
1102
+ for (let M = 0; M < v.length; M++)
1103
+ D(v[M], null);
1104
+ let W = L[b];
1105
+ for (; W; ) {
1106
+ if (!L[W.name])
1107
+ return W;
1108
+ W = L[W.name];
1109
+ }
1110
+ return null;
1111
+ }
1112
+ const Ue = (v) => {
1113
+ if (d.value !== "mix")
1114
+ return;
1115
+ const b = Fe(s.routes, v);
1116
+ a.activeTopMenu !== b.path && a.activeTopMenu(b.path);
1117
+ };
1118
+ return ne(
1119
+ () => n.name,
1120
+ (v) => {
1121
+ v && Ue(v);
1122
+ },
1123
+ {
1124
+ deep: !0
1125
+ }
1126
+ ), Pe(() => {
1127
+ S();
1128
+ }), (v, b) => {
1129
+ const L = bn, D = V("router-link"), W = V("el-scrollbar"), M = ae;
1130
+ return u(), x("div", yn, [
1131
+ _(W, {
1132
+ class: "scroll-container",
1133
+ vertical: !1,
1134
+ onWheel: ce(ze, ["prevent"])
1135
+ }, {
1136
+ default: g(() => [
1137
+ (u(!0), x(K, null, le(l(r), (E) => (u(), k(D, {
1138
+ ref_for: !0,
1139
+ ref: "tagRef",
1140
+ key: E.fullPath,
1141
+ class: q("tags-item " + (C(E) ? "active" : "")),
1142
+ to: { path: E.path, query: E.query },
1143
+ onMouseup: ce((X) => U(E) ? "" : Z(E), ["middle"]),
1144
+ onContextmenu: ce((X) => Oe(E, X), ["prevent"])
1145
+ }, {
1146
+ default: g(() => [
1147
+ B(P(l($t)(E)) + " ", 1),
1148
+ U(E) ? T("", !0) : (u(), k(L, {
1149
+ key: 0,
1150
+ class: "close-icon",
1151
+ size: "12px",
1152
+ onClick: ce((X) => Z(E), ["prevent", "stop"])
1153
+ }, null, 8, ["onClick"]))
1154
+ ]),
1155
+ _: 2
1156
+ }, 1032, ["class", "to", "onMouseup", "onContextmenu"]))), 128))
1157
+ ]),
1158
+ _: 1
1159
+ }),
1160
+ Ae(w("ul", {
1161
+ class: "contextmenu",
1162
+ style: at({ left: l(p) + "px", top: l(h) + "px" })
1163
+ }, [
1164
+ w("li", {
1165
+ onClick: b[0] || (b[0] = (E) => O(l(m)))
1166
+ }, [
1167
+ _(M, { "icon-class": "refresh" }),
1168
+ B(" 刷新 ")
1169
+ ]),
1170
+ U(l(m)) ? T("", !0) : (u(), x("li", {
1171
+ key: 0,
1172
+ onClick: b[1] || (b[1] = (E) => Z(l(m)))
1173
+ }, [
1174
+ _(M, { "icon-class": "close" }),
1175
+ B(" 关闭 ")
1176
+ ])),
1177
+ w("li", { onClick: Be }, [
1178
+ _(M, { "icon-class": "close_other" }),
1179
+ B(" 关闭其它 ")
1180
+ ]),
1181
+ Q() ? T("", !0) : (u(), x("li", {
1182
+ key: 1,
1183
+ onClick: re
1184
+ }, [
1185
+ _(M, { "icon-class": "close_left" }),
1186
+ B(" 关闭左侧 ")
1187
+ ])),
1188
+ H() ? T("", !0) : (u(), x("li", {
1189
+ key: 2,
1190
+ onClick: ee
1191
+ }, [
1192
+ _(M, { "icon-class": "close_right" }),
1193
+ B(" 关闭右侧 ")
1194
+ ])),
1195
+ w("li", {
1196
+ onClick: b[2] || (b[2] = (E) => Ne(l(m)))
1197
+ }, [
1198
+ _(M, { "icon-class": "close_all" }),
1199
+ B(" 关闭所有 ")
1200
+ ])
1201
+ ], 4), [
1202
+ [lt, l(y)]
1203
+ ])
1204
+ ]);
1205
+ };
1206
+ }
1207
+ }), kn = /* @__PURE__ */ F(wn, [["__scopeId", "data-v-fe2fff79"]]), Sn = /* @__PURE__ */ I({
1208
+ name: "AppLink",
1209
+ inheritAttrs: !1,
1210
+ __name: "index",
1211
+ props: {
1212
+ to: {
1213
+ type: String,
1214
+ required: !0
1215
+ }
1216
+ },
1217
+ setup(i) {
1218
+ const e = i, t = R(() => de(e.to)), n = R(() => t.value ? "a" : "router-link"), s = (o) => t.value ? { href: o, target: "_blank", rel: "noopener noreferrer" } : { to: o };
1219
+ return (o, a) => (u(), k(ye(l(n)), st(rt(s(i.to))), {
1220
+ default: g(() => [
1221
+ ct(o.$slots, "default")
1222
+ ]),
1223
+ _: 3
1224
+ }, 16));
1225
+ }
1226
+ }), Cn = {
1227
+ key: 3,
1228
+ class: "ml-1"
1229
+ }, $n = /* @__PURE__ */ I({
1230
+ __name: "SidebarMenuItemTitle",
1231
+ props: {
1232
+ icon: {
1233
+ type: String,
1234
+ default: ""
1235
+ },
1236
+ name: {
1237
+ type: String,
1238
+ default: ""
1239
+ },
1240
+ title: {
1241
+ type: String,
1242
+ default: ""
1243
+ }
1244
+ },
1245
+ setup(i) {
1246
+ return (e, t) => {
1247
+ const n = V("el-icon"), s = ae;
1248
+ return u(), x(K, null, [
1249
+ i.icon && i.icon.startsWith("el-icon") ? (u(), k(n, {
1250
+ key: 0,
1251
+ class: "sub-el-icon"
1252
+ }, {
1253
+ default: g(() => [
1254
+ (u(), k(ye(i.icon.replace("el-icon-", ""))))
1255
+ ]),
1256
+ _: 1
1257
+ })) : i.icon ? (u(), k(s, {
1258
+ key: 1,
1259
+ "icon-class": i.icon
1260
+ }, null, 8, ["icon-class"])) : (u(), k(s, {
1261
+ key: 2,
1262
+ "icon-class": "menu"
1263
+ })),
1264
+ i.title ? (u(), x("span", Cn, P(l(ve)(i.name, i.title)), 1)) : T("", !0)
1265
+ ], 64);
1266
+ };
1267
+ }
1268
+ }), Vn = /* @__PURE__ */ F($n, [["__scopeId", "data-v-992a058f"]]), Tn = { key: 0 }, An = /* @__PURE__ */ I({
1269
+ name: "SidebarMenuItem",
1270
+ inheritAttrs: !1,
1271
+ __name: "SidebarMenuItem",
1272
+ props: {
1273
+ /**
1274
+ * 路由(eg:user)
1275
+ */
1276
+ item: {
1277
+ type: Object,
1278
+ required: !0
1279
+ },
1280
+ /**
1281
+ * 父层级完整路由路径(eg:/system)
1282
+ */
1283
+ basePath: {
1284
+ type: String,
1285
+ required: !0
1286
+ },
1287
+ isNest: {
1288
+ type: Boolean,
1289
+ default: !1
1290
+ }
1291
+ },
1292
+ setup(i) {
1293
+ const e = i, t = z();
1294
+ function n(o = [], a) {
1295
+ const r = o.filter((c) => {
1296
+ var d;
1297
+ return (d = c.meta) != null && d.hidden ? !1 : (c.meta.hidden = !1, t.value = c, !0);
1298
+ });
1299
+ return r.length === 1 ? !0 : r.length === 0 ? (t.value = { ...a, path: "", noShowingChildren: !0 }, !0) : !1;
1300
+ }
1301
+ function s(o) {
1302
+ return de(o) ? o : de(e.basePath) ? e.basePath : Re.resolve(e.basePath, o);
1303
+ }
1304
+ return (o, a) => {
1305
+ var p;
1306
+ const r = Vn, c = V("el-menu-item"), d = Sn, m = V("SidebarMenuItem", !0), f = V("el-sub-menu");
1307
+ return !i.item.meta || !i.item.meta.hidden ? (u(), x("div", Tn, [
1308
+ n(i.item.children, i.item) && (!l(t).children || l(t).noShowingChildren) && !((p = i.item.meta) != null && p.alwaysShow) ? (u(), x(K, { key: 0 }, [
1309
+ l(t).meta ? (u(), k(d, {
1310
+ key: 0,
1311
+ to: s(l(t).path)
1312
+ }, {
1313
+ default: g(() => [
1314
+ _(c, {
1315
+ index: s(l(t).path),
1316
+ class: q({ "submenu-title-noDropdown": !i.isNest })
1317
+ }, {
1318
+ default: g(() => [
1319
+ _(r, {
1320
+ icon: l(t).meta.icon || i.item.meta && i.item.meta.icon,
1321
+ title: l(t).meta.title,
1322
+ name: l(t).name
1323
+ }, null, 8, ["icon", "title", "name"])
1324
+ ]),
1325
+ _: 1
1326
+ }, 8, ["index", "class"])
1327
+ ]),
1328
+ _: 1
1329
+ }, 8, ["to"])) : T("", !0)
1330
+ ], 64)) : (u(), k(f, {
1331
+ key: 1,
1332
+ index: s(i.item.path),
1333
+ teleported: ""
1334
+ }, {
1335
+ title: g(() => [
1336
+ i.item.meta ? (u(), k(r, {
1337
+ key: 0,
1338
+ icon: i.item.meta && i.item.meta.icon,
1339
+ title: i.item.meta.title,
1340
+ name: i.item.name
1341
+ }, null, 8, ["icon", "title", "name"])) : T("", !0)
1342
+ ]),
1343
+ default: g(() => [
1344
+ (u(!0), x(K, null, le(i.item.children, (h) => (u(), k(m, {
1345
+ key: h.path,
1346
+ "is-nest": !0,
1347
+ item: h,
1348
+ "base-path": s(h.path)
1349
+ }, null, 8, ["item", "base-path"]))), 128))
1350
+ ]),
1351
+ _: 1
1352
+ }, 8, ["index"]))
1353
+ ])) : T("", !0);
1354
+ };
1355
+ }
1356
+ }), Mn = "_dark_168i3_12", ie = {
1357
+ "sidebar-width": "210px",
1358
+ "navbar-height": "50px",
1359
+ "menu-background": "var(--menu-background)",
1360
+ "menu-text": "var(--menu-text)",
1361
+ "menu-active-text": "var(--menu-active-text)",
1362
+ "menu-hover": "var(--menu-hover)",
1363
+ dark: Mn
1364
+ }, De = /* @__PURE__ */ I({
1365
+ __name: "SidebarMenu",
1366
+ props: {
1367
+ menuList: {
1368
+ required: !0,
1369
+ default: () => [],
1370
+ type: Array
1371
+ },
1372
+ basePath: {
1373
+ type: String,
1374
+ required: !0
1375
+ }
1376
+ },
1377
+ setup(i) {
1378
+ const e = te(), t = J(), n = me(), s = R(() => e.layout), o = i;
1379
+ function a(r) {
1380
+ return de(r) ? r : de(o.basePath) ? o.basePath : Re.resolve(o.basePath, r);
1381
+ }
1382
+ return (r, c) => {
1383
+ const d = An, m = V("el-menu");
1384
+ return u(), k(m, {
1385
+ "default-active": l(n).path,
1386
+ collapse: !l(t).sidebar.opened,
1387
+ "background-color": l(ie)["menu-background"],
1388
+ "text-color": l(ie)["menu-text"],
1389
+ "active-text-color": l(ie)["menu-active-text"],
1390
+ "unique-opened": !1,
1391
+ "collapse-transition": !1,
1392
+ mode: l(s) === "top" ? "horizontal" : "vertical"
1393
+ }, {
1394
+ default: g(() => [
1395
+ (u(!0), x(K, null, le(i.menuList, (f) => (u(), k(d, {
1396
+ key: f.path,
1397
+ item: f,
1398
+ "base-path": a(f.path),
1399
+ "is-collapse": !l(t).sidebar.opened
1400
+ }, null, 8, ["item", "base-path", "is-collapse"]))), 128))
1401
+ ]),
1402
+ _: 1
1403
+ }, 8, ["default-active", "collapse", "background-color", "text-color", "active-text-color", "mode"]);
1404
+ };
1405
+ }
1406
+ }), Pn = { key: 1 }, En = {
1407
+ key: 0,
1408
+ class: "ml-1"
1409
+ }, Ln = /* @__PURE__ */ I({
1410
+ __name: "SidebarMixTopMenu",
1411
+ setup(i) {
1412
+ const e = J(), t = fe(), n = we(), s = R(() => e.activeTopMenuPath), o = z([]), a = (c) => {
1413
+ e.activeTopMenu(c), t.setMixLeftMenus(c);
1414
+ const d = t.mixLeftMenus;
1415
+ r(d);
1416
+ }, r = (c) => {
1417
+ if (c.length === 0)
1418
+ return;
1419
+ const [d] = c;
1420
+ d.children && d.children.length > 0 ? r(d.children) : d.name && n.push({
1421
+ name: d.name
1422
+ });
1423
+ };
1424
+ return Pe(() => {
1425
+ o.value = t.routes.filter(
1426
+ (c) => !c.meta || !c.meta.hidden
1427
+ );
1428
+ }), (c, d) => {
1429
+ const m = ae, f = V("el-menu-item"), p = V("el-menu"), h = V("el-scrollbar");
1430
+ return u(), k(h, null, {
1431
+ default: g(() => [
1432
+ _(p, {
1433
+ mode: "horizontal",
1434
+ "default-active": l(s),
1435
+ "background-color": l(ie)["menu-background"],
1436
+ "text-color": l(ie)["menu-text"],
1437
+ "active-text-color": l(ie)["menu-active-text"],
1438
+ onSelect: a
1439
+ }, {
1440
+ default: g(() => [
1441
+ (u(!0), x(K, null, le(l(o), (y) => (u(), k(f, {
1442
+ key: y.path,
1443
+ index: y.path
1444
+ }, {
1445
+ title: g(() => [
1446
+ y.meta && y.meta.icon ? (u(), k(m, {
1447
+ key: 0,
1448
+ "icon-class": y.meta.icon
1449
+ }, null, 8, ["icon-class"])) : T("", !0),
1450
+ y.path === "/" ? (u(), x("span", Pn, P(l(ve)("Dashboard", "首页")), 1)) : (u(), x(K, { key: 2 }, [
1451
+ y.meta && y.meta.title ? (u(), x("span", En, P(l(be)(y)), 1)) : T("", !0)
1452
+ ], 64))
1453
+ ]),
1454
+ _: 2
1455
+ }, 1032, ["index"]))), 128))
1456
+ ]),
1457
+ _: 1
1458
+ }, 8, ["default-active", "background-color", "text-color", "active-text-color"])
1459
+ ]),
1460
+ _: 1
1461
+ });
1462
+ };
1463
+ }
1464
+ }), In = { class: "logo-container" }, Rn = ["src"], Dn = ["src"], Bn = { class: "logo-title" }, Nn = /* @__PURE__ */ I({
1465
+ __name: "SidebarLogo",
1466
+ props: {
1467
+ collapse: {
1468
+ type: Boolean,
1469
+ required: !0
1470
+ }
1471
+ },
1472
+ setup(i) {
1473
+ const e = te(), t = ue.logo;
1474
+ return (n, s) => {
1475
+ const o = V("router-link");
1476
+ return u(), x("div", In, [
1477
+ _(Me, { "enter-active-class": "animate__animated animate__fadeInLeft" }, {
1478
+ default: g(() => [
1479
+ i.collapse ? (u(), k(o, {
1480
+ key: 0,
1481
+ class: "wh-full flex-center",
1482
+ to: "/"
1483
+ }, {
1484
+ default: g(() => [
1485
+ l(e).sidebarLogo ? (u(), x("img", {
1486
+ key: 0,
1487
+ src: l(t),
1488
+ class: "logo-image"
1489
+ }, null, 8, Rn)) : T("", !0)
1490
+ ]),
1491
+ _: 1
1492
+ })) : (u(), k(o, {
1493
+ key: 1,
1494
+ class: "wh-full flex-center",
1495
+ to: "/"
1496
+ }, {
1497
+ default: g(() => [
1498
+ l(e).sidebarLogo ? (u(), x("img", {
1499
+ key: 0,
1500
+ src: l(t),
1501
+ class: "logo-image"
1502
+ }, null, 8, Dn)) : T("", !0),
1503
+ w("span", Bn, P(l(ue).title), 1)
1504
+ ]),
1505
+ _: 1
1506
+ }))
1507
+ ]),
1508
+ _: 1
1509
+ })
1510
+ ]);
1511
+ };
1512
+ }
1513
+ }), On = /* @__PURE__ */ F(Nn, [["__scopeId", "data-v-210c85a9"]]), zn = {
1514
+ key: 0,
1515
+ class: "flex w-full"
1516
+ }, Fn = /* @__PURE__ */ I({
1517
+ __name: "index",
1518
+ setup(i) {
1519
+ const e = J(), t = te(), n = fe(), s = R(() => t.sidebarLogo), o = R(() => t.layout);
1520
+ return (a, r) => {
1521
+ const c = On, d = Ln, m = Ee, f = De, p = V("el-scrollbar");
1522
+ return u(), x("div", {
1523
+ class: q({ "has-logo": l(s) })
1524
+ }, [
1525
+ l(o) == "mix" ? (u(), x("div", zn, [
1526
+ l(s) ? (u(), k(c, {
1527
+ key: 0,
1528
+ collapse: !l(e).sidebar.opened
1529
+ }, null, 8, ["collapse"])) : T("", !0),
1530
+ _(d, { class: "flex-1" }),
1531
+ _(m)
1532
+ ])) : (u(), x(K, { key: 1 }, [
1533
+ l(s) ? (u(), k(c, {
1534
+ key: 0,
1535
+ collapse: !l(e).sidebar.opened
1536
+ }, null, 8, ["collapse"])) : T("", !0),
1537
+ _(p, null, {
1538
+ default: g(() => [
1539
+ _(f, {
1540
+ "menu-list": l(n).routes,
1541
+ "base-path": ""
1542
+ }, null, 8, ["menu-list"])
1543
+ ]),
1544
+ _: 1
1545
+ }),
1546
+ l(o) === "top" ? (u(), k(m, { key: 1 })) : T("", !0)
1547
+ ], 64))
1548
+ ], 2);
1549
+ };
1550
+ }
1551
+ }), Un = /* @__PURE__ */ F(Fn, [["__scopeId", "data-v-a6d3f8e9"]]), Hn = {
1552
+ key: 1,
1553
+ class: "mix-container"
1554
+ }, qn = { class: "mix-container__left" }, Wn = { class: "sidebar-toggle" }, Kn = 992, Xn = /* @__PURE__ */ I({
1555
+ __name: "index",
1556
+ setup(i) {
1557
+ const e = J(), t = te(), n = fe(), s = R(() => t.fixedHeader), o = R(() => t.tagsView), a = R(() => t.layout), r = R(() => e.activeTopMenuPath), c = R(() => n.mixLeftMenus);
1558
+ ne(
1559
+ () => r.value,
1560
+ (h) => {
1561
+ n.setMixLeftMenus(h);
1562
+ },
1563
+ {
1564
+ deep: !0,
1565
+ immediate: !0
1566
+ }
1567
+ );
1568
+ const d = R(() => ({
1569
+ hideSidebar: !e.sidebar.opened,
1570
+ openSidebar: e.sidebar.opened,
1571
+ mobile: e.device === _e.MOBILE,
1572
+ "layout-left": a.value === "left",
1573
+ "layout-top": a.value === "top",
1574
+ "layout-mix": a.value === "mix"
1575
+ })), m = Je().width;
1576
+ ut(() => {
1577
+ m.value < Kn ? (e.toggleDevice(_e.MOBILE), e.closeSideBar()) : (e.toggleDevice(_e.DESKTOP), m.value >= 1200 ? e.openSideBar() : e.closeSideBar());
1578
+ });
1579
+ function f() {
1580
+ e.closeSideBar();
1581
+ }
1582
+ function p() {
1583
+ e.toggleSidebar();
1584
+ }
1585
+ return (h, y) => {
1586
+ const A = Un, S = De, $ = Le, N = kn, C = _n, U = dn, Q = Bt;
1587
+ return u(), x("div", {
1588
+ class: q(["wh-full", l(d)])
1589
+ }, [
1590
+ l(d).mobile && l(d).openSidebar ? (u(), x("div", {
1591
+ key: 0,
1592
+ class: "wh-full fixed-lt z-999 bg-black bg-opacity-30",
1593
+ onClick: f
1594
+ })) : T("", !0),
1595
+ _(A, { class: "sidebar-container" }),
1596
+ l(a) === "mix" ? (u(), x("div", Hn, [
1597
+ w("div", qn, [
1598
+ _(S, {
1599
+ "menu-list": l(c),
1600
+ "base-path": l(r)
1601
+ }, null, 8, ["menu-list", "base-path"]),
1602
+ w("div", Wn, [
1603
+ _($, {
1604
+ "is-active": l(e).sidebar.opened,
1605
+ onToggleClick: p
1606
+ }, null, 8, ["is-active"])
1607
+ ])
1608
+ ]),
1609
+ w("div", {
1610
+ class: q([{ hasTagsView: l(o) }, "main-container"])
1611
+ }, [
1612
+ w("div", {
1613
+ class: q({ "fixed-header": l(s) })
1614
+ }, [
1615
+ l(o) ? (u(), k(N, { key: 0 })) : T("", !0)
1616
+ ], 2),
1617
+ _(C),
1618
+ l(ue).showSettings ? (u(), k(U, { key: 0 })) : T("", !0)
1619
+ ], 2)
1620
+ ])) : (u(), x("div", {
1621
+ key: 2,
1622
+ class: q([{ hasTagsView: l(o) }, "main-container"])
1623
+ }, [
1624
+ w("div", {
1625
+ class: q({ "fixed-header": l(s) })
1626
+ }, [
1627
+ l(a) === "left" ? (u(), k(Q, { key: 0 })) : T("", !0),
1628
+ l(o) ? (u(), k(N, { key: 1 })) : T("", !0)
1629
+ ], 2),
1630
+ _(C),
1631
+ l(ue).showSettings ? (u(), k(U, { key: 0 })) : T("", !0)
1632
+ ], 2))
1633
+ ], 2);
1634
+ };
1635
+ }
1636
+ }), eo = /* @__PURE__ */ F(Xn, [["__scopeId", "data-v-71891bc2"]]);
1637
+ export {
1638
+ eo as default
1639
+ };