jmash-core 0.0.85 → 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.
@@ -1,10 +1,10 @@
1
- import { u as J, S as ae, a as xe, b as He, c as te, D as _e, d as qe, f as We, e as ue, _ as Ke, g as F, i as Ce, r as $e, h as fe, T as ge, m as Xe, s as je, j as Ge, k as de, l as Ye } from "./index-DvkHagzN.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 Je, createCommentVNode as T, withDirectives as Ae, isRef as pe, watch as ne, onBeforeMount as Qe, TransitionGroup as Ze, withModifiers as ce, normalizeClass as q, pushScopeId as et, popScopeId as tt, Transition as Me, KeepAlive as nt, resolveDynamicComponent as ye, getCurrentInstance as ot, nextTick as Ve, onMounted as Pe, normalizeStyle as it, vShow as at, normalizeProps as lt, guardReactiveProps as st, renderSlot as rt, watchEffect as ct } from "vue";
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
3
  import { useRoute as me, useRouter as we } from "vue-router";
4
- import { _ as ut } from "./updatePwd.vue_vue_type_script_setup_true_lang-XtbjcHlX.mjs";
5
- import { _ as dt } from "./runAs.vue_vue_type_script_setup_true_lang-D75ePgmQ.mjs";
6
- import { storeToRefs as ft } from "pinia";
7
- const mt = /* @__PURE__ */ I({
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
8
  __name: "index",
9
9
  setup(i) {
10
10
  const e = J(), t = z([
@@ -13,7 +13,7 @@ const mt = /* @__PURE__ */ I({
13
13
  { label: "小型", value: "small" }
14
14
  ]);
15
15
  function n(s) {
16
- e.changeSize(s), ElMessage.success("切换布局大小成功");
16
+ e.changeSize(s), He.success("切换布局大小成功");
17
17
  }
18
18
  return (s, o) => {
19
19
  const a = ae, r = V("el-dropdown-item"), c = V("el-dropdown-menu"), d = V("el-dropdown");
@@ -47,15 +47,15 @@ const mt = /* @__PURE__ */ I({
47
47
  });
48
48
  };
49
49
  }
50
- }), _t = { class: "flex" }, pt = { class: "flex-center h100% p10px" }, vt = ["src"], ht = /* @__PURE__ */ I({
50
+ }), vt = { class: "flex" }, ht = { class: "flex-center h100% p10px" }, gt = ["src"], bt = /* @__PURE__ */ I({
51
51
  __name: "NavbarRight",
52
52
  setup(i) {
53
- const e = J(), t = xe(), n = He(), s = te(), o = me(), a = we(), r = R(() => e.device === _e.MOBILE), c = z(!1), d = z(!1), { isFullscreen: m, toggle: f } = qe(), p = R(() => We.imageUrl(n.user.avatar, 48, 48));
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
54
  function h() {
55
55
  d.value = !0;
56
56
  }
57
57
  function y() {
58
- ElMessageBox.confirm("确定注销并退出系统吗?", "提示", {
58
+ mt.confirm("确定注销并退出系统吗?", "提示", {
59
59
  confirmButtonText: "确定",
60
60
  cancelButtonText: "取消",
61
61
  type: "warning",
@@ -72,8 +72,8 @@ const mt = /* @__PURE__ */ I({
72
72
  c.value = S;
73
73
  }
74
74
  return (S, $) => {
75
- const N = ae, C = mt, U = V("el-tooltip"), Q = Ke, H = V("router-link"), O = V("el-dropdown-item"), G = V("el-dropdown-menu"), Z = V("el-dropdown"), re = Je("hasRole");
76
- return u(), x("div", _t, [
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
77
  l(r) ? T("", !0) : (u(), x(K, { key: 0 }, [
78
78
  w("div", {
79
79
  class: "setting-item",
@@ -157,11 +157,11 @@ const mt = /* @__PURE__ */ I({
157
157
  })
158
158
  ]),
159
159
  default: g(() => [
160
- w("div", pt, [
160
+ w("div", ht, [
161
161
  w("img", {
162
162
  src: l(p),
163
163
  class: "rounded-full mr-10px w24px w24px"
164
- }, null, 8, vt),
164
+ }, null, 8, gt),
165
165
  w("span", null, P(l(n).user.nickName), 1)
166
166
  ])
167
167
  ]),
@@ -174,12 +174,12 @@ const mt = /* @__PURE__ */ I({
174
174
  }, [
175
175
  _(N, { "icon-class": "setting" })
176
176
  ])) : T("", !0),
177
- l(c) ? (u(), k(ut, {
177
+ l(c) ? (u(), k(dt, {
178
178
  key: 2,
179
179
  "pwd-visible": l(c),
180
180
  onDialogActionChange: A
181
181
  }, null, 8, ["pwd-visible"])) : T("", !0),
182
- l(d) ? (u(), k(dt, {
182
+ l(d) ? (u(), k(ft, {
183
183
  key: 3,
184
184
  modelValue: l(d),
185
185
  "onUpdate:modelValue": $[3] || ($[3] = (ee) => pe(d) ? d.value = ee : null)
@@ -187,8 +187,8 @@ const mt = /* @__PURE__ */ I({
187
187
  ]);
188
188
  };
189
189
  }
190
- }), Ee = /* @__PURE__ */ F(ht, [["__scopeId", "data-v-52075715"]]);
191
- function gt(i) {
190
+ }), Ee = /* @__PURE__ */ F(bt, [["__scopeId", "data-v-52075715"]]);
191
+ function xt(i) {
192
192
  for (var e = [], t = 0; t < i.length; ) {
193
193
  var n = i[t];
194
194
  if (n === "*" || n === "+" || n === "?") {
@@ -256,9 +256,9 @@ function gt(i) {
256
256
  }
257
257
  return e.push({ type: "END", index: t, value: "" }), e;
258
258
  }
259
- function bt(i, e) {
259
+ function yt(i, e) {
260
260
  e === void 0 && (e = {});
261
- for (var t = gt(i), n = e.prefixes, s = n === void 0 ? "./" : n, o = "[^".concat(wt(e.delimiter || "/#?"), "]+?"), a = [], r = 0, c = 0, d = "", m = function(H) {
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
262
  if (c < t.length && t[c].type === H)
263
263
  return t[c++].value;
264
264
  }, f = function(H) {
@@ -306,12 +306,12 @@ function bt(i, e) {
306
306
  }
307
307
  return a;
308
308
  }
309
- function xt(i, e) {
310
- return yt(bt(i, e), e);
309
+ function wt(i, e) {
310
+ return kt(yt(i, e), e);
311
311
  }
312
- function yt(i, e) {
312
+ function kt(i, e) {
313
313
  e === void 0 && (e = {});
314
- var t = kt(e), n = e.encode, s = n === void 0 ? function(c) {
314
+ var t = Ct(e), n = e.encode, s = n === void 0 ? function(c) {
315
315
  return c;
316
316
  } : n, o = e.validate, a = o === void 0 ? !0 : o, r = i.map(function(c) {
317
317
  if (typeof c == "object")
@@ -356,32 +356,32 @@ function yt(i, e) {
356
356
  return d;
357
357
  };
358
358
  }
359
- function wt(i) {
359
+ function St(i) {
360
360
  return i.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1");
361
361
  }
362
- function kt(i) {
362
+ function Ct(i) {
363
363
  return i && i.sensitive ? "" : "i";
364
364
  }
365
365
  function be(i) {
366
366
  var e, t;
367
367
  return ve((e = i.name) == null ? void 0 : e.toString(), (t = i.meta) == null ? void 0 : t.title);
368
368
  }
369
- function St(i) {
369
+ function $t(i) {
370
370
  return ve(i.name, i.title);
371
371
  }
372
372
  function ve(i, e) {
373
373
  let t = i && i != "" ? i : e;
374
374
  return Ce.global.te("route." + t) ? Ce.global.t("route." + t) : e || i;
375
375
  }
376
- const Ct = {
376
+ const Vt = {
377
377
  key: 0,
378
378
  class: "color-gray-400"
379
- }, $t = ["onClick"], Vt = /* @__PURE__ */ I({
379
+ }, Tt = ["onClick"], At = /* @__PURE__ */ I({
380
380
  __name: "index",
381
381
  setup(i) {
382
382
  const e = me(), t = (r) => {
383
383
  const { params: c } = e;
384
- return xt(r)(c);
384
+ return wt(r)(c);
385
385
  }, n = z([]);
386
386
  function s() {
387
387
  let r = e.matched.filter(
@@ -413,22 +413,22 @@ const Ct = {
413
413
  (r) => {
414
414
  r.startsWith("/redirect/") || s();
415
415
  }
416
- ), Qe(() => {
416
+ ), Ze(() => {
417
417
  s();
418
418
  }), (r, c) => {
419
419
  const d = V("el-breadcrumb-item"), m = V("el-breadcrumb");
420
420
  return u(), k(m, { class: "flex-y-center" }, {
421
421
  default: g(() => [
422
- _(Ze, { "enter-active-class": "animate__animated animate__fadeInRight" }, {
422
+ _(et, { "enter-active-class": "animate__animated animate__fadeInRight" }, {
423
423
  default: g(() => [
424
424
  (u(!0), x(K, null, le(l(n), (f, p) => (u(), k(d, {
425
425
  key: f.path
426
426
  }, {
427
427
  default: g(() => [
428
- f.redirect === "noredirect" || p === l(n).length - 1 ? (u(), x("span", Ct, P(l(be)(f)), 1)) : (u(), x("a", {
428
+ f.redirect === "noredirect" || p === l(n).length - 1 ? (u(), x("span", Vt, P(l(be)(f)), 1)) : (u(), x("a", {
429
429
  key: 1,
430
430
  onClick: ce((h) => a(f), ["prevent"])
431
- }, P(l(be)(f)), 9, $t))
431
+ }, P(l(be)(f)), 9, Tt))
432
432
  ]),
433
433
  _: 2
434
434
  }, 1024))), 128))
@@ -440,7 +440,7 @@ const Ct = {
440
440
  });
441
441
  };
442
442
  }
443
- }), Tt = /* @__PURE__ */ F(Vt, [["__scopeId", "data-v-6109c28e"]]), At = /* @__PURE__ */ I({
443
+ }), Mt = /* @__PURE__ */ F(At, [["__scopeId", "data-v-6109c28e"]]), Pt = /* @__PURE__ */ I({
444
444
  __name: "index",
445
445
  props: {
446
446
  isActive: {
@@ -468,7 +468,7 @@ const Ct = {
468
468
  ]);
469
469
  };
470
470
  }
471
- }), Le = /* @__PURE__ */ F(At, [["__scopeId", "data-v-42e37629"]]), Mt = { class: "flex" }, Pt = /* @__PURE__ */ I({
471
+ }), Le = /* @__PURE__ */ F(Pt, [["__scopeId", "data-v-42e37629"]]), Et = { class: "flex" }, Lt = /* @__PURE__ */ I({
472
472
  __name: "NavbarLeft",
473
473
  setup(i) {
474
474
  const e = J();
@@ -476,8 +476,8 @@ const Ct = {
476
476
  e.toggleSidebar();
477
477
  }
478
478
  return (n, s) => {
479
- const o = Le, a = Tt;
480
- return u(), x("div", Mt, [
479
+ const o = Le, a = Mt;
480
+ return u(), x("div", Et, [
481
481
  _(o, {
482
482
  "is-active": l(e).sidebar.opened,
483
483
  onToggleClick: t
@@ -486,26 +486,26 @@ const Ct = {
486
486
  ]);
487
487
  };
488
488
  }
489
- }), Et = {}, Lt = { class: "navbar-container" };
490
- function It(i, e) {
491
- const t = Pt, n = Ee;
492
- return u(), x("div", Lt, [
489
+ }), It = {}, Rt = { class: "navbar-container" };
490
+ function Dt(i, e) {
491
+ const t = Lt, n = Ee;
492
+ return u(), x("div", Rt, [
493
493
  _(t),
494
494
  _(n)
495
495
  ]);
496
496
  }
497
- const Rt = /* @__PURE__ */ F(Et, [["render", It], ["__scopeId", "data-v-b1624593"]]);
497
+ const Bt = /* @__PURE__ */ F(It, [["render", Dt], ["__scopeId", "data-v-b1624593"]]);
498
498
  var Y = /* @__PURE__ */ ((i) => (i.LEFT = "left", i.TOP = "top", i.MIX = "mix", i))(Y || {});
499
- const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex flex-wrap justify-around w-full h-12" }, Bt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Nt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ot = [
500
- Bt,
501
- Nt
502
- ], zt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ft = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Ut = [
503
- zt,
504
- Ft
505
- ], Ht = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), qt = /* @__PURE__ */ se(() => /* @__PURE__ */ w("div", null, null, -1)), Wt = [
506
- Ht,
507
- qt
508
- ], Kt = /* @__PURE__ */ I({
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
509
  __name: "LayoutSelect",
510
510
  props: {
511
511
  modelValue: String
@@ -518,7 +518,7 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
518
518
  }
519
519
  return (s, o) => {
520
520
  const a = V("el-tooltip");
521
- return u(), x("div", Dt, [
521
+ return u(), x("div", Nt, [
522
522
  _(a, {
523
523
  content: "左侧模式",
524
524
  placement: "bottom"
@@ -527,7 +527,7 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
527
527
  w("div", {
528
528
  class: q(["layout-item left", { "is-active": i.modelValue === l(Y).LEFT }]),
529
529
  onClick: o[0] || (o[0] = (r) => n(l(Y).LEFT))
530
- }, Ot, 2)
530
+ }, Ft, 2)
531
531
  ]),
532
532
  _: 1
533
533
  }),
@@ -539,7 +539,7 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
539
539
  w("div", {
540
540
  class: q(["layout-item top", { "is-active": i.modelValue === l(Y).TOP }]),
541
541
  onClick: o[1] || (o[1] = (r) => n(l(Y).TOP))
542
- }, Ut, 2)
542
+ }, qt, 2)
543
543
  ]),
544
544
  _: 1
545
545
  }),
@@ -551,14 +551,14 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
551
551
  w("div", {
552
552
  class: q(["layout-item mix", { "is-active": i.modelValue === l(Y).MIX }]),
553
553
  onClick: o[2] || (o[2] = (r) => n(l(Y).MIX))
554
- }, Wt, 2)
554
+ }, Xt, 2)
555
555
  ]),
556
556
  _: 1
557
557
  })
558
558
  ]);
559
559
  };
560
560
  }
561
- }), Xt = /* @__PURE__ */ F(Kt, [["__scopeId", "data-v-2bdf1403"]]), jt = /* @__PURE__ */ I({
561
+ }), Gt = /* @__PURE__ */ F(jt, [["__scopeId", "data-v-2bdf1403"]]), Yt = /* @__PURE__ */ I({
562
562
  __name: "ThemeColorPicker",
563
563
  props: {
564
564
  modelValue: String
@@ -589,7 +589,7 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
589
589
  }, null, 8, ["modelValue"]);
590
590
  };
591
591
  }
592
- }), Gt = /* @__PURE__ */ F(jt, [["__scopeId", "data-v-92c1fd79"]]), Yt = { class: "flex-center" }, Jt = { class: "settings-option" }, Qt = { class: "text-xs" }, 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 = /* @__PURE__ */ I({
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
593
  __name: "index",
594
594
  setup(i) {
595
595
  const e = me(), t = J(), n = te(), s = fe(), o = R({
@@ -631,7 +631,7 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
631
631
  return null;
632
632
  }
633
633
  return (p, h) => {
634
- const y = V("el-divider"), A = V("el-switch"), S = Gt, $ = Xt, N = V("el-drawer");
634
+ const y = V("el-divider"), A = V("el-switch"), S = Jt, $ = Gt, N = V("el-drawer");
635
635
  return u(), k(N, {
636
636
  modelValue: l(o),
637
637
  "onUpdate:modelValue": h[7] || (h[7] = (C) => pe(o) ? o.value = C : null),
@@ -645,12 +645,12 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
645
645
  ]),
646
646
  _: 1
647
647
  }),
648
- w("div", Yt, [
648
+ w("div", Qt, [
649
649
  _(A, {
650
650
  modelValue: l(r),
651
651
  "onUpdate:modelValue": h[0] || (h[0] = (C) => pe(r) ? r.value = C : null),
652
- "active-icon": l(Xe),
653
- "inactive-icon": l(je),
652
+ "active-icon": l(je),
653
+ "inactive-icon": l(Ge),
654
654
  onChange: c
655
655
  }, null, 8, ["modelValue", "active-icon", "inactive-icon"])
656
656
  ]),
@@ -660,8 +660,8 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
660
660
  ]),
661
661
  _: 1
662
662
  }),
663
- w("div", Jt, [
664
- w("span", Qt, P(p.$t("settings.themeColor")), 1),
663
+ w("div", Zt, [
664
+ w("span", en, P(p.$t("settings.themeColor")), 1),
665
665
  _(S, {
666
666
  modelValue: l(n).themeColor,
667
667
  "onUpdate:modelValue": [
@@ -670,29 +670,29 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
670
670
  ]
671
671
  }, null, 8, ["modelValue"])
672
672
  ]),
673
- w("div", Zt, [
674
- w("span", en, P(p.$t("settings.tagsView")), 1),
673
+ w("div", tn, [
674
+ w("span", nn, P(p.$t("settings.tagsView")), 1),
675
675
  _(A, {
676
676
  modelValue: l(n).tagsView,
677
677
  "onUpdate:modelValue": h[2] || (h[2] = (C) => l(n).tagsView = C)
678
678
  }, null, 8, ["modelValue"])
679
679
  ]),
680
- w("div", tn, [
681
- w("span", nn, P(p.$t("settings.fixedHeader")), 1),
680
+ w("div", on, [
681
+ w("span", an, P(p.$t("settings.fixedHeader")), 1),
682
682
  _(A, {
683
683
  modelValue: l(n).fixedHeader,
684
684
  "onUpdate:modelValue": h[3] || (h[3] = (C) => l(n).fixedHeader = C)
685
685
  }, null, 8, ["modelValue"])
686
686
  ]),
687
- w("div", on, [
688
- w("span", an, P(p.$t("settings.sidebarLogo")), 1),
687
+ w("div", ln, [
688
+ w("span", sn, P(p.$t("settings.sidebarLogo")), 1),
689
689
  _(A, {
690
690
  modelValue: l(n).sidebarLogo,
691
691
  "onUpdate:modelValue": h[4] || (h[4] = (C) => l(n).sidebarLogo = C)
692
692
  }, null, 8, ["modelValue"])
693
693
  ]),
694
- w("div", ln, [
695
- w("span", sn, P(p.$t("settings.watermark")), 1),
694
+ w("div", rn, [
695
+ w("span", cn, P(p.$t("settings.watermark")), 1),
696
696
  _(A, {
697
697
  modelValue: l(n).watermarkEnabled,
698
698
  "onUpdate:modelValue": h[5] || (h[5] = (C) => l(n).watermarkEnabled = C)
@@ -716,13 +716,13 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
716
716
  }, 8, ["modelValue", "title"]);
717
717
  };
718
718
  }
719
- }), cn = /* @__PURE__ */ F(rn, [["__scopeId", "data-v-70f5bf10"]]), un = { class: "app-main" }, dn = /* @__PURE__ */ I({
719
+ }), dn = /* @__PURE__ */ F(un, [["__scopeId", "data-v-70f5bf10"]]), fn = { class: "app-main" }, mn = /* @__PURE__ */ I({
720
720
  __name: "index",
721
721
  setup(i) {
722
722
  const e = R(() => xe().cachedViews);
723
723
  return (t, n) => {
724
724
  const s = V("router-view");
725
- return u(), x("section", un, [
725
+ return u(), x("section", fn, [
726
726
  _(s, null, {
727
727
  default: g(({ Component: o, route: a }) => [
728
728
  _(Me, {
@@ -730,7 +730,7 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
730
730
  mode: "out-in"
731
731
  }, {
732
732
  default: g(() => [
733
- (u(), k(nt, { include: l(e) }, [
733
+ (u(), k(ot, { include: l(e) }, [
734
734
  (u(), k(ye(o), {
735
735
  key: a.path
736
736
  }))
@@ -744,20 +744,20 @@ const se = (i) => (et("data-v-2bdf1403"), i = i(), tt(), i), Dt = { class: "flex
744
744
  ]);
745
745
  };
746
746
  }
747
- }), fn = /* @__PURE__ */ F(dn, [["__scopeId", "data-v-37d096bd"]]), mn = {
747
+ }), _n = /* @__PURE__ */ F(mn, [["__scopeId", "data-v-37d096bd"]]), pn = {
748
748
  viewBox: "0 0 1024 1024",
749
749
  width: "1.2em",
750
750
  height: "1.2em"
751
- }, _n = /* @__PURE__ */ w("path", {
751
+ }, vn = /* @__PURE__ */ w("path", {
752
752
  fill: "currentColor",
753
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), pn = [
755
- _n
754
+ }, null, -1), hn = [
755
+ vn
756
756
  ];
757
- function vn(i, e) {
758
- return u(), x("svg", mn, [...pn]);
757
+ function gn(i, e) {
758
+ return u(), x("svg", pn, [...hn]);
759
759
  }
760
- const hn = { name: "ep-close", render: vn };
760
+ const bn = { name: "ep-close", render: gn };
761
761
  function j(i) {
762
762
  if (typeof i != "string")
763
763
  throw new TypeError("Path must be a string. Received " + JSON.stringify(i));
@@ -795,7 +795,7 @@ function Te(i, e) {
795
795
  }
796
796
  return t;
797
797
  }
798
- function gn(i, e) {
798
+ function xn(i, e) {
799
799
  var t = e.dir || e.root, n = e.base || (e.name || "") + (e.ext || "");
800
800
  return t ? t === e.root ? t + n : t + i + n : n;
801
801
  }
@@ -922,7 +922,7 @@ var oe = {
922
922
  format: function(e) {
923
923
  if (e === null || typeof e != "object")
924
924
  throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof e);
925
- return gn("/", e);
925
+ return xn("/", e);
926
926
  },
927
927
  parse: function(e) {
928
928
  j(e);
@@ -952,10 +952,10 @@ var oe = {
952
952
  };
953
953
  oe.posix = oe;
954
954
  var Ie = oe;
955
- const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__PURE__ */ I({
955
+ const Re = /* @__PURE__ */ Ye(Ie), yn = { class: "tags-container" }, wn = /* @__PURE__ */ I({
956
956
  __name: "index",
957
957
  setup(i) {
958
- const { proxy: e } = ot(), t = we(), n = me(), s = fe(), o = xe(), a = J(), { visitedViews: r } = ft(o), c = te(), d = R(() => c.layout), m = z({
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
959
  path: "",
960
960
  fullPath: "",
961
961
  name: "",
@@ -1126,8 +1126,8 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1126
1126
  ), Pe(() => {
1127
1127
  S();
1128
1128
  }), (v, b) => {
1129
- const L = hn, D = V("router-link"), W = V("el-scrollbar"), M = ae;
1130
- return u(), x("div", bn, [
1129
+ const L = bn, D = V("router-link"), W = V("el-scrollbar"), M = ae;
1130
+ return u(), x("div", yn, [
1131
1131
  _(W, {
1132
1132
  class: "scroll-container",
1133
1133
  vertical: !1,
@@ -1144,7 +1144,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1144
1144
  onContextmenu: ce((X) => Oe(E, X), ["prevent"])
1145
1145
  }, {
1146
1146
  default: g(() => [
1147
- B(P(l(St)(E)) + " ", 1),
1147
+ B(P(l($t)(E)) + " ", 1),
1148
1148
  U(E) ? T("", !0) : (u(), k(L, {
1149
1149
  key: 0,
1150
1150
  class: "close-icon",
@@ -1159,7 +1159,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1159
1159
  }),
1160
1160
  Ae(w("ul", {
1161
1161
  class: "contextmenu",
1162
- style: it({ left: l(p) + "px", top: l(h) + "px" })
1162
+ style: at({ left: l(p) + "px", top: l(h) + "px" })
1163
1163
  }, [
1164
1164
  w("li", {
1165
1165
  onClick: b[0] || (b[0] = (E) => O(l(m)))
@@ -1199,12 +1199,12 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1199
1199
  B(" 关闭所有 ")
1200
1200
  ])
1201
1201
  ], 4), [
1202
- [at, l(y)]
1202
+ [lt, l(y)]
1203
1203
  ])
1204
1204
  ]);
1205
1205
  };
1206
1206
  }
1207
- }), yn = /* @__PURE__ */ F(xn, [["__scopeId", "data-v-fe2fff79"]]), wn = /* @__PURE__ */ I({
1207
+ }), kn = /* @__PURE__ */ F(wn, [["__scopeId", "data-v-fe2fff79"]]), Sn = /* @__PURE__ */ I({
1208
1208
  name: "AppLink",
1209
1209
  inheritAttrs: !1,
1210
1210
  __name: "index",
@@ -1216,17 +1216,17 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1216
1216
  },
1217
1217
  setup(i) {
1218
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)), lt(st(s(i.to))), {
1219
+ return (o, a) => (u(), k(ye(l(n)), st(rt(s(i.to))), {
1220
1220
  default: g(() => [
1221
- rt(o.$slots, "default")
1221
+ ct(o.$slots, "default")
1222
1222
  ]),
1223
1223
  _: 3
1224
1224
  }, 16));
1225
1225
  }
1226
- }), kn = {
1226
+ }), Cn = {
1227
1227
  key: 3,
1228
1228
  class: "ml-1"
1229
- }, Sn = /* @__PURE__ */ I({
1229
+ }, $n = /* @__PURE__ */ I({
1230
1230
  __name: "SidebarMenuItemTitle",
1231
1231
  props: {
1232
1232
  icon: {
@@ -1261,11 +1261,11 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1261
1261
  key: 2,
1262
1262
  "icon-class": "menu"
1263
1263
  })),
1264
- i.title ? (u(), x("span", kn, P(l(ve)(i.name, i.title)), 1)) : T("", !0)
1264
+ i.title ? (u(), x("span", Cn, P(l(ve)(i.name, i.title)), 1)) : T("", !0)
1265
1265
  ], 64);
1266
1266
  };
1267
1267
  }
1268
- }), Cn = /* @__PURE__ */ F(Sn, [["__scopeId", "data-v-992a058f"]]), $n = { key: 0 }, Vn = /* @__PURE__ */ I({
1268
+ }), Vn = /* @__PURE__ */ F($n, [["__scopeId", "data-v-992a058f"]]), Tn = { key: 0 }, An = /* @__PURE__ */ I({
1269
1269
  name: "SidebarMenuItem",
1270
1270
  inheritAttrs: !1,
1271
1271
  __name: "SidebarMenuItem",
@@ -1303,8 +1303,8 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1303
1303
  }
1304
1304
  return (o, a) => {
1305
1305
  var p;
1306
- const r = Cn, c = V("el-menu-item"), d = wn, m = V("SidebarMenuItem", !0), f = V("el-sub-menu");
1307
- return !i.item.meta || !i.item.meta.hidden ? (u(), x("div", $n, [
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
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
1309
  l(t).meta ? (u(), k(d, {
1310
1310
  key: 0,
@@ -1353,14 +1353,14 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1353
1353
  ])) : T("", !0);
1354
1354
  };
1355
1355
  }
1356
- }), Tn = "_dark_168i3_12", ie = {
1356
+ }), Mn = "_dark_168i3_12", ie = {
1357
1357
  "sidebar-width": "210px",
1358
1358
  "navbar-height": "50px",
1359
1359
  "menu-background": "var(--menu-background)",
1360
1360
  "menu-text": "var(--menu-text)",
1361
1361
  "menu-active-text": "var(--menu-active-text)",
1362
1362
  "menu-hover": "var(--menu-hover)",
1363
- dark: Tn
1363
+ dark: Mn
1364
1364
  }, De = /* @__PURE__ */ I({
1365
1365
  __name: "SidebarMenu",
1366
1366
  props: {
@@ -1380,7 +1380,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1380
1380
  return de(r) ? r : de(o.basePath) ? o.basePath : Re.resolve(o.basePath, r);
1381
1381
  }
1382
1382
  return (r, c) => {
1383
- const d = Vn, m = V("el-menu");
1383
+ const d = An, m = V("el-menu");
1384
1384
  return u(), k(m, {
1385
1385
  "default-active": l(n).path,
1386
1386
  collapse: !l(t).sidebar.opened,
@@ -1403,10 +1403,10 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1403
1403
  }, 8, ["default-active", "collapse", "background-color", "text-color", "active-text-color", "mode"]);
1404
1404
  };
1405
1405
  }
1406
- }), An = { key: 1 }, Mn = {
1406
+ }), Pn = { key: 1 }, En = {
1407
1407
  key: 0,
1408
1408
  class: "ml-1"
1409
- }, Pn = /* @__PURE__ */ I({
1409
+ }, Ln = /* @__PURE__ */ I({
1410
1410
  __name: "SidebarMixTopMenu",
1411
1411
  setup(i) {
1412
1412
  const e = J(), t = fe(), n = we(), s = R(() => e.activeTopMenuPath), o = z([]), a = (c) => {
@@ -1447,8 +1447,8 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1447
1447
  key: 0,
1448
1448
  "icon-class": y.meta.icon
1449
1449
  }, null, 8, ["icon-class"])) : T("", !0),
1450
- y.path === "/" ? (u(), x("span", An, P(l(ve)("Dashboard", "首页")), 1)) : (u(), x(K, { key: 2 }, [
1451
- y.meta && y.meta.title ? (u(), x("span", Mn, P(l(be)(y)), 1)) : 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
1452
  ], 64))
1453
1453
  ]),
1454
1454
  _: 2
@@ -1461,7 +1461,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1461
1461
  });
1462
1462
  };
1463
1463
  }
1464
- }), En = { class: "logo-container" }, Ln = ["src"], In = ["src"], Rn = { class: "logo-title" }, Dn = /* @__PURE__ */ I({
1464
+ }), In = { class: "logo-container" }, Rn = ["src"], Dn = ["src"], Bn = { class: "logo-title" }, Nn = /* @__PURE__ */ I({
1465
1465
  __name: "SidebarLogo",
1466
1466
  props: {
1467
1467
  collapse: {
@@ -1473,7 +1473,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1473
1473
  const e = te(), t = ue.logo;
1474
1474
  return (n, s) => {
1475
1475
  const o = V("router-link");
1476
- return u(), x("div", En, [
1476
+ return u(), x("div", In, [
1477
1477
  _(Me, { "enter-active-class": "animate__animated animate__fadeInLeft" }, {
1478
1478
  default: g(() => [
1479
1479
  i.collapse ? (u(), k(o, {
@@ -1486,7 +1486,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1486
1486
  key: 0,
1487
1487
  src: l(t),
1488
1488
  class: "logo-image"
1489
- }, null, 8, Ln)) : T("", !0)
1489
+ }, null, 8, Rn)) : T("", !0)
1490
1490
  ]),
1491
1491
  _: 1
1492
1492
  })) : (u(), k(o, {
@@ -1499,8 +1499,8 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1499
1499
  key: 0,
1500
1500
  src: l(t),
1501
1501
  class: "logo-image"
1502
- }, null, 8, In)) : T("", !0),
1503
- w("span", Rn, P(l(ue).title), 1)
1502
+ }, null, 8, Dn)) : T("", !0),
1503
+ w("span", Bn, P(l(ue).title), 1)
1504
1504
  ]),
1505
1505
  _: 1
1506
1506
  }))
@@ -1510,19 +1510,19 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1510
1510
  ]);
1511
1511
  };
1512
1512
  }
1513
- }), Bn = /* @__PURE__ */ F(Dn, [["__scopeId", "data-v-210c85a9"]]), Nn = {
1513
+ }), On = /* @__PURE__ */ F(Nn, [["__scopeId", "data-v-210c85a9"]]), zn = {
1514
1514
  key: 0,
1515
1515
  class: "flex w-full"
1516
- }, On = /* @__PURE__ */ I({
1516
+ }, Fn = /* @__PURE__ */ I({
1517
1517
  __name: "index",
1518
1518
  setup(i) {
1519
1519
  const e = J(), t = te(), n = fe(), s = R(() => t.sidebarLogo), o = R(() => t.layout);
1520
1520
  return (a, r) => {
1521
- const c = Bn, d = Pn, m = Ee, f = De, p = V("el-scrollbar");
1521
+ const c = On, d = Ln, m = Ee, f = De, p = V("el-scrollbar");
1522
1522
  return u(), x("div", {
1523
1523
  class: q({ "has-logo": l(s) })
1524
1524
  }, [
1525
- l(o) == "mix" ? (u(), x("div", Nn, [
1525
+ l(o) == "mix" ? (u(), x("div", zn, [
1526
1526
  l(s) ? (u(), k(c, {
1527
1527
  key: 0,
1528
1528
  collapse: !l(e).sidebar.opened
@@ -1548,10 +1548,10 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1548
1548
  ], 2);
1549
1549
  };
1550
1550
  }
1551
- }), zn = /* @__PURE__ */ F(On, [["__scopeId", "data-v-a6d3f8e9"]]), Fn = {
1551
+ }), Un = /* @__PURE__ */ F(Fn, [["__scopeId", "data-v-a6d3f8e9"]]), Hn = {
1552
1552
  key: 1,
1553
1553
  class: "mix-container"
1554
- }, Un = { class: "mix-container__left" }, Hn = { class: "sidebar-toggle" }, qn = 992, Wn = /* @__PURE__ */ I({
1554
+ }, qn = { class: "mix-container__left" }, Wn = { class: "sidebar-toggle" }, Kn = 992, Xn = /* @__PURE__ */ I({
1555
1555
  __name: "index",
1556
1556
  setup(i) {
1557
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);
@@ -1572,9 +1572,9 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1572
1572
  "layout-left": a.value === "left",
1573
1573
  "layout-top": a.value === "top",
1574
1574
  "layout-mix": a.value === "mix"
1575
- })), m = Ye().width;
1576
- ct(() => {
1577
- m.value < qn ? (e.toggleDevice(_e.MOBILE), e.closeSideBar()) : (e.toggleDevice(_e.DESKTOP), m.value >= 1200 ? e.openSideBar() : e.closeSideBar());
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
1578
  });
1579
1579
  function f() {
1580
1580
  e.closeSideBar();
@@ -1583,7 +1583,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1583
1583
  e.toggleSidebar();
1584
1584
  }
1585
1585
  return (h, y) => {
1586
- const A = zn, S = De, $ = Le, N = yn, C = fn, U = cn, Q = Rt;
1586
+ const A = Un, S = De, $ = Le, N = kn, C = _n, U = dn, Q = Bt;
1587
1587
  return u(), x("div", {
1588
1588
  class: q(["wh-full", l(d)])
1589
1589
  }, [
@@ -1593,13 +1593,13 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1593
1593
  onClick: f
1594
1594
  })) : T("", !0),
1595
1595
  _(A, { class: "sidebar-container" }),
1596
- l(a) === "mix" ? (u(), x("div", Fn, [
1597
- w("div", Un, [
1596
+ l(a) === "mix" ? (u(), x("div", Hn, [
1597
+ w("div", qn, [
1598
1598
  _(S, {
1599
1599
  "menu-list": l(c),
1600
1600
  "base-path": l(r)
1601
1601
  }, null, 8, ["menu-list", "base-path"]),
1602
- w("div", Hn, [
1602
+ w("div", Wn, [
1603
1603
  _($, {
1604
1604
  "is-active": l(e).sidebar.opened,
1605
1605
  onToggleClick: p
@@ -1633,7 +1633,7 @@ const Re = /* @__PURE__ */ Ge(Ie), bn = { class: "tags-container" }, xn = /* @__
1633
1633
  ], 2);
1634
1634
  };
1635
1635
  }
1636
- }), Qn = /* @__PURE__ */ F(Wn, [["__scopeId", "data-v-71891bc2"]]);
1636
+ }), eo = /* @__PURE__ */ F(Xn, [["__scopeId", "data-v-71891bc2"]]);
1637
1637
  export {
1638
- Qn as default
1638
+ eo as default
1639
1639
  };