xto-fronted 0.4.107 → 0.4.109

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,56 +1,56 @@
1
- import { x as I, y as tt, z as st, A as ot, B as nt, o as pt, C as at, D as Fe, m as vt, i as ht, E as _t, F as ft, G as gt } from "./user-BMcSCtxs.js";
2
- import { ref as g, computed as w, watch as ye, defineComponent as ae, resolveComponent as lt, openBlock as s, createBlock as O, unref as a, withCtx as M, createElementBlock as c, Fragment as K, renderList as X, createElementVNode as e, toDisplayString as b, createCommentVNode as P, normalizeClass as J, withDirectives as Te, vShow as yt, createVNode as y, createTextVNode as he, onMounted as Ke, onUnmounted as je, vModelText as We, Transition as ke, withModifiers as Ee, normalizeStyle as Ne, reactive as qe, createStaticVNode as Ue, withKeys as kt, h as wt } from "vue";
3
- import { defineStore as Ie } from "pinia";
1
+ import { x as N, y as st, z as ot, A as at, B as nt, o as vt, C as lt, D as Fe, m as ht, i as _t, E as ft, F as Qe, G as gt, H as yt, I as kt } from "./user-CnAtwLXY.js";
2
+ import { ref as g, computed as w, watch as ye, defineComponent as ne, resolveComponent as rt, openBlock as o, createBlock as O, unref as n, withCtx as M, createElementBlock as c, Fragment as K, renderList as X, createElementVNode as e, toDisplayString as b, createCommentVNode as P, normalizeClass as J, withDirectives as Te, vShow as wt, createVNode as y, createTextVNode as he, onMounted as Ke, onUnmounted as je, vModelText as We, Transition as ke, withModifiers as Ee, normalizeStyle as Ie, reactive as qe, createStaticVNode as ze, withKeys as bt, h as xt } from "vue";
3
+ import { defineStore as Ne } from "pinia";
4
4
  import { useRoute as be, useRouter as me, createRouter as He, createWebHistory as Ye } from "vue-router";
5
- import { SubMenu as Re, MenuItem as Se, Menu as Ge, Tabs as bt, TabPane as xt } from "@xto/navigation";
6
- import { Icon as U, Button as we } from "@xto/base";
7
- import { Drawer as Xe, Message as Ct } from "@xto/feedback";
8
- import { Form as $t, FormItem as Pe, Input as Qe, Checkbox as Lt } from "@xto/form";
9
- import { createLocaleProvider as Mt, getSupportedLocales as St, useLocale as Nt } from "@xto/core/locale";
10
- const ue = Ie("app", () => {
11
- const t = g(I.get("appName") || "XTO App"), r = g(I.get("indexPath") || "/dashboard"), d = g(I.get("loginPath") || "/login"), n = g(I.get("isDark") || !1), o = g(I.get("theme") || "light"), i = g(I.get("layout") || "sidebar"), h = g(I.get("isCollapsed") || !1), v = g(I.get("showTabs") ?? !0), m = g(I.get("showFooter") ?? !0), f = g(I.get("showBreadcrumb") ?? !0), _ = g(I.get("primaryColor") || "#409eff"), u = g([]), $ = g([]), j = w(() => n.value ? "dark" : "light"), D = (z) => {
12
- t.value = z, I.set("appName", z);
13
- }, W = (z) => {
14
- r.value = z, I.set("indexPath", z);
15
- }, V = (z) => {
16
- d.value = z, I.set("loginPath", z);
5
+ import { SubMenu as Re, MenuItem as Se, Menu as Ge, Tabs as Ct, TabPane as $t } from "@xto/navigation";
6
+ import { Icon as z, Button as we } from "@xto/base";
7
+ import { Drawer as Xe, Message as Lt } from "@xto/feedback";
8
+ import { Form as Mt, FormItem as Pe, Input as et, Checkbox as St } from "@xto/form";
9
+ import { createLocaleProvider as It, getSupportedLocales as Nt, useLocale as Ut } from "@xto/core/locale";
10
+ const ue = Ne("app", () => {
11
+ const t = g(N.get("appName") || "XTO App"), r = g(N.get("indexPath") || "/dashboard"), d = g(N.get("loginPath") || "/login"), s = g(N.get("isDark") || !1), a = g(N.get("theme") || "light"), i = g(N.get("layout") || "sidebar"), h = g(N.get("isCollapsed") || !1), v = g(N.get("showTabs") ?? !0), m = g(N.get("showFooter") ?? !0), f = g(N.get("showBreadcrumb") ?? !0), _ = g(N.get("primaryColor") || "#409eff"), u = g([]), $ = g([]), j = w(() => s.value ? "dark" : "light"), D = (U) => {
12
+ t.value = U, N.set("appName", U);
13
+ }, W = (U) => {
14
+ r.value = U, N.set("indexPath", U);
15
+ }, V = (U) => {
16
+ d.value = U, N.set("loginPath", U);
17
17
  }, B = () => {
18
- n.value = !n.value, o.value = n.value ? "dark" : "light", Z();
19
- }, H = (z) => {
20
- o.value = z, n.value = z === "dark", Z();
18
+ s.value = !s.value, a.value = s.value ? "dark" : "light", Z();
19
+ }, H = (U) => {
20
+ a.value = U, s.value = U === "dark", Z();
21
21
  }, Z = () => {
22
- const z = document.documentElement;
23
- n.value ? z.classList.add("dark") : z.classList.remove("dark"), I.set("isDark", n.value), I.set("theme", o.value);
22
+ const U = document.documentElement;
23
+ s.value ? U.classList.add("dark") : U.classList.remove("dark"), N.set("isDark", s.value), N.set("theme", a.value);
24
24
  }, Y = () => {
25
- h.value = !h.value, I.set("isCollapsed", h.value);
26
- }, q = (z) => {
27
- i.value = z, I.set("layout", z);
25
+ h.value = !h.value, N.set("isCollapsed", h.value);
26
+ }, q = (U) => {
27
+ i.value = U, N.set("layout", U);
28
28
  }, ee = () => {
29
- v.value = !v.value, I.set("showTabs", v.value);
29
+ v.value = !v.value, N.set("showTabs", v.value);
30
30
  }, E = () => {
31
- m.value = !m.value, I.set("showFooter", m.value);
32
- }, N = () => {
33
- f.value = !f.value, I.set("showBreadcrumb", f.value);
34
- }, A = (z) => {
35
- _.value = z, document.documentElement.style.setProperty("--color-primary", z), I.set("primaryColor", z);
36
- }, G = (z) => {
37
- u.value.includes(z) || u.value.push(z);
38
- }, F = (z) => {
39
- const oe = u.value.indexOf(z);
31
+ m.value = !m.value, N.set("showFooter", m.value);
32
+ }, I = () => {
33
+ f.value = !f.value, N.set("showBreadcrumb", f.value);
34
+ }, A = (U) => {
35
+ _.value = U, document.documentElement.style.setProperty("--color-primary", U), N.set("primaryColor", U);
36
+ }, G = (U) => {
37
+ u.value.includes(U) || u.value.push(U);
38
+ }, F = (U) => {
39
+ const oe = u.value.indexOf(U);
40
40
  oe > -1 && u.value.splice(oe, 1);
41
41
  }, se = () => {
42
42
  u.value = [];
43
- }, ie = (z) => {
44
- $.value = z;
43
+ }, ie = (U) => {
44
+ $.value = U;
45
45
  }, pe = () => {
46
46
  Z(), _.value !== "#409eff" && document.documentElement.style.setProperty("--color-primary", _.value);
47
47
  };
48
- return ye(n, Z), {
48
+ return ye(s, Z), {
49
49
  appName: t,
50
50
  indexPath: r,
51
51
  loginPath: d,
52
- isDark: n,
53
- theme: o,
52
+ isDark: s,
53
+ theme: a,
54
54
  layout: i,
55
55
  isCollapsed: h,
56
56
  showTabs: v,
@@ -69,7 +69,7 @@ const ue = Ie("app", () => {
69
69
  setLayout: q,
70
70
  toggleTabs: ee,
71
71
  toggleFooter: E,
72
- toggleBreadcrumb: N,
72
+ toggleBreadcrumb: I,
73
73
  setPrimaryColor: A,
74
74
  addCachedView: G,
75
75
  removeCachedView: F,
@@ -77,10 +77,10 @@ const ue = Ie("app", () => {
77
77
  setMixSubMenus: ie,
78
78
  initTheme: pe
79
79
  };
80
- }), It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
80
+ }), zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81
81
  __proto__: null,
82
82
  useAppStore: ue
83
- }, Symbol.toStringTag, { value: "Module" })), Ae = "menu_list", De = "permission_list", zt = {
83
+ }, Symbol.toStringTag, { value: "Module" })), Ae = "menu_list", De = "permission_list", Tt = {
84
84
  menuCode: "home",
85
85
  menuName: "首页",
86
86
  menuUrl: "/dashboard",
@@ -89,45 +89,45 @@ const ue = Ie("app", () => {
89
89
  isDefault: !1,
90
90
  isOut: !1
91
91
  };
92
- function rt(t) {
92
+ function it(t) {
93
93
  return t.filter((r) => r.type !== 1).map((r) => ({
94
94
  ...r,
95
- children: r.children ? rt(r.children) : void 0
95
+ children: r.children ? it(r.children) : void 0
96
96
  }));
97
97
  }
98
- function Ut(t) {
98
+ function Et(t) {
99
99
  const r = [];
100
- function d(n) {
101
- n.forEach((o) => {
102
- o.type === 1 && o.menuCode && r.push(o.menuCode), o.children && d(o.children);
100
+ function d(s) {
101
+ s.forEach((a) => {
102
+ a.type === 1 && a.menuCode && r.push(a.menuCode), a.children && d(a.children);
103
103
  });
104
104
  }
105
105
  return d(t), r;
106
106
  }
107
- const de = Ie("menu", () => {
108
- const t = g(I.get(Ae) || []), r = g(I.get(De) || []), d = w(() => t.value.length > 0);
107
+ const de = Ne("menu", () => {
108
+ const t = g(N.get(Ae) || []), r = g(N.get(De) || []), d = w(() => t.value.length > 0);
109
109
  return {
110
110
  menuList: t,
111
111
  permissions: r,
112
112
  hasMenu: d,
113
113
  setMenuList: (h) => {
114
- r.value = Ut(h), I.set(De, r.value);
115
- const v = rt(h);
116
- t.value = [zt, ...v], I.set(Ae, t.value);
114
+ r.value = Et(h), N.set(De, r.value);
115
+ const v = it(h);
116
+ t.value = [Tt, ...v], N.set(Ae, t.value);
117
117
  },
118
118
  clearMenu: () => {
119
- t.value = [], r.value = [], I.remove(Ae), I.remove(De);
119
+ t.value = [], r.value = [], N.remove(Ae), N.remove(De);
120
120
  },
121
121
  hasPermission: (h) => Array.isArray(h) ? h.some((v) => r.value.includes(v)) : r.value.includes(h)
122
122
  };
123
- }), Ve = "user_info", le = Ie("user", () => {
124
- const t = g(I.get(Ve)), r = w(() => !!t.value), d = w(() => {
123
+ }), Ve = "user_info", le = Ne("user", () => {
124
+ const t = g(N.get(Ve)), r = w(() => !!t.value), d = w(() => {
125
125
  var u;
126
126
  return ((u = t.value) == null ? void 0 : u.userId) || "";
127
- }), n = w(() => {
127
+ }), s = w(() => {
128
128
  var u;
129
129
  return ((u = t.value) == null ? void 0 : u.userName) || "";
130
- }), o = w(() => {
130
+ }), a = w(() => {
131
131
  var u;
132
132
  return ((u = t.value) == null ? void 0 : u.departmentName) || "";
133
133
  }), i = w(() => {
@@ -147,57 +147,57 @@ const de = Ie("menu", () => {
147
147
  userInfo: t,
148
148
  isLoggedIn: r,
149
149
  userId: d,
150
- userName: n,
151
- departmentName: o,
150
+ userName: s,
151
+ departmentName: a,
152
152
  email: i,
153
153
  mobilePhone: h,
154
154
  positionName: v,
155
155
  avatar: m,
156
156
  setUserInfo: (u) => {
157
- t.value = u, I.set(Ve, u);
157
+ t.value = u, N.set(Ve, u);
158
158
  },
159
159
  clearUserInfo: () => {
160
- t.value = null, I.remove(Ve);
160
+ t.value = null, N.remove(Ve);
161
161
  }
162
162
  };
163
- }), ze = Ie("auth", () => {
164
- const t = g(tt()), r = w(() => st()), d = g(""), n = g(""), o = g(""), i = g("/login");
163
+ }), Ue = Ne("auth", () => {
164
+ const t = g(st()), r = w(() => ot()), d = g(""), s = g(""), a = g(""), i = g("/login");
165
165
  return {
166
166
  token: t,
167
167
  isLoggedIn: r,
168
168
  baseUrl: d,
169
- appId: n,
170
- clientId: o,
169
+ appId: s,
170
+ clientId: a,
171
171
  loginPath: i,
172
172
  login: ($) => {
173
173
  t.value = $.access_token, nt($);
174
174
  },
175
175
  logout: () => {
176
- t.value = null, ot();
176
+ t.value = null, at();
177
177
  },
178
178
  setBaseUrl: ($) => {
179
179
  d.value = $;
180
180
  },
181
181
  setAppId: ($) => {
182
- n.value = $;
182
+ s.value = $;
183
183
  },
184
184
  setClientId: ($) => {
185
- o.value = $;
185
+ a.value = $;
186
186
  },
187
187
  setLoginPath: ($) => {
188
188
  i.value = $;
189
189
  }
190
190
  };
191
- }), Tt = { class: "menu-item__content" }, Et = { class: "menu-item__icon" }, Pt = {
191
+ }), Pt = { class: "menu-item__content" }, At = { class: "menu-item__icon" }, Dt = {
192
192
  key: 1,
193
193
  class: "menu-item__char"
194
- }, At = { class: "menu-item__text" }, Dt = { class: "menu-item__content" }, Vt = {
194
+ }, Vt = { class: "menu-item__text" }, Ot = { class: "menu-item__content" }, Bt = {
195
195
  key: 0,
196
196
  class: "menu-item__icon"
197
- }, Ot = {
197
+ }, Rt = {
198
198
  key: 1,
199
199
  class: "menu-item__char"
200
- }, Bt = { class: "menu-item__text" }, Rt = /* @__PURE__ */ ae({
200
+ }, Ft = { class: "menu-item__text" }, Kt = /* @__PURE__ */ ne({
201
201
  __name: "SidebarMenuItem",
202
202
  props: {
203
203
  menu: {}
@@ -305,7 +305,7 @@ const de = Ie("menu", () => {
305
305
  "sun",
306
306
  "theme",
307
307
  "skin"
308
- ]), n = (m) => {
308
+ ]), s = (m) => {
309
309
  if (!m || m === "") return "";
310
310
  if (m.startsWith("tineco-icon-")) {
311
311
  const _ = m.replace("tineco-icon-", "");
@@ -342,46 +342,46 @@ const de = Ie("menu", () => {
342
342
  list: "list",
343
343
  grid: "grid"
344
344
  }[m] || m;
345
- }, o = (m) => m ? m.charAt(0) : "", i = (m) => d.has(m), h = w(() => r.menu.menuId || r.menu.menuCode || r.menu.menuUrl || ""), v = w(() => r.menu.children && r.menu.children.length > 0);
345
+ }, a = (m) => m ? m.charAt(0) : "", i = (m) => d.has(m), h = w(() => r.menu.menuId || r.menu.menuCode || r.menu.menuUrl || ""), v = w(() => r.menu.children && r.menu.children.length > 0);
346
346
  return (m, f) => {
347
- const _ = lt("SidebarMenuItem", !0);
348
- return v.value ? (s(), O(a(Re), {
347
+ const _ = rt("SidebarMenuItem", !0);
348
+ return v.value ? (o(), O(n(Re), {
349
349
  key: 0,
350
350
  index: h.value
351
351
  }, {
352
352
  title: M(() => [
353
- e("span", Tt, [
354
- e("span", Et, [
355
- i(n(t.menu.icon)) ? (s(), O(a(U), {
353
+ e("span", Pt, [
354
+ e("span", At, [
355
+ i(s(t.menu.icon)) ? (o(), O(n(z), {
356
356
  key: 0,
357
- name: n(t.menu.icon),
357
+ name: s(t.menu.icon),
358
358
  size: 16
359
- }, null, 8, ["name"])) : (s(), c("span", Pt, b(o(t.menu.menuName)), 1))
359
+ }, null, 8, ["name"])) : (o(), c("span", Dt, b(a(t.menu.menuName)), 1))
360
360
  ]),
361
- e("span", At, b(t.menu.menuName), 1)
361
+ e("span", Vt, b(t.menu.menuName), 1)
362
362
  ])
363
363
  ]),
364
364
  default: M(() => [
365
- (s(!0), c(K, null, X(t.menu.children, (u) => (s(), O(_, {
365
+ (o(!0), c(K, null, X(t.menu.children, (u) => (o(), O(_, {
366
366
  key: u.menuId || u.menuCode || u.menuUrl,
367
367
  menu: u
368
368
  }, null, 8, ["menu"]))), 128))
369
369
  ]),
370
370
  _: 1
371
- }, 8, ["index"])) : (s(), O(a(Se), {
371
+ }, 8, ["index"])) : (o(), O(n(Se), {
372
372
  key: 1,
373
373
  index: t.menu.menuUrl || h.value
374
374
  }, {
375
375
  default: M(() => [
376
- e("span", Dt, [
377
- t.menu.menuName !== "首页" ? (s(), c("span", Vt, [
378
- i(n(t.menu.icon)) ? (s(), O(a(U), {
376
+ e("span", Ot, [
377
+ t.menu.menuName !== "首页" ? (o(), c("span", Bt, [
378
+ i(s(t.menu.icon)) ? (o(), O(n(z), {
379
379
  key: 0,
380
- name: n(t.menu.icon),
380
+ name: s(t.menu.icon),
381
381
  size: 16
382
- }, null, 8, ["name"])) : (s(), c("span", Ot, b(o(t.menu.menuName)), 1))
382
+ }, null, 8, ["name"])) : (o(), c("span", Rt, b(a(t.menu.menuName)), 1))
383
383
  ])) : P("", !0),
384
- e("span", Bt, b(t.menu.menuName), 1)
384
+ e("span", Ft, b(t.menu.menuName), 1)
385
385
  ])
386
386
  ]),
387
387
  _: 1
@@ -390,16 +390,16 @@ const de = Ie("menu", () => {
390
390
  }
391
391
  }), re = (t, r) => {
392
392
  const d = t.__vccOpts || t;
393
- for (const [n, o] of r)
394
- d[n] = o;
393
+ for (const [s, a] of r)
394
+ d[s] = a;
395
395
  return d;
396
- }, Ft = /* @__PURE__ */ re(Rt, [["__scopeId", "data-v-f5865e28"]]), Kt = {
396
+ }, jt = /* @__PURE__ */ re(Kt, [["__scopeId", "data-v-f5865e28"]]), Wt = {
397
397
  key: 0,
398
398
  class: "sidebar__logo"
399
- }, jt = ["src"], Wt = {
399
+ }, qt = ["src"], Ht = {
400
400
  key: 1,
401
401
  class: "sidebar__user"
402
- }, qt = { class: "sidebar__user-info" }, Ht = { class: "sidebar__user-name" }, Yt = { class: "sidebar__user-role" }, Oe = "sidebar_opened_menus", Be = "sidebar_menu_list_key", Gt = /* @__PURE__ */ ae({
402
+ }, Yt = { class: "sidebar__user-info" }, Gt = { class: "sidebar__user-name" }, Xt = { class: "sidebar__user-role" }, Oe = "sidebar_opened_menus", Be = "sidebar_menu_list_key", Jt = /* @__PURE__ */ ne({
403
403
  __name: "Sidebar",
404
404
  props: {
405
405
  menuList: { default: () => [] },
@@ -408,56 +408,56 @@ const de = Ie("menu", () => {
408
408
  logoSrc: { default: "/vite.svg" }
409
409
  },
410
410
  setup(t) {
411
- const r = t, d = be(), n = me(), o = de(), i = le(), h = ze(), v = ue(), m = w(() => r.menuList.length > 0 ? r.menuList : o.menuList), f = w(() => v.isCollapsed), _ = w(() => d.path), u = (E) => E.menuId || E.menuCode || E.menuUrl || "", $ = () => m.value.map(u).join(","), j = I.get(Be) || "", D = $(), W = j === D ? I.get(Oe) || [] : [], V = g(W);
411
+ const r = t, d = be(), s = me(), a = de(), i = le(), h = Ue(), v = ue(), m = w(() => r.menuList.length > 0 ? r.menuList : a.menuList), f = w(() => v.isCollapsed), _ = w(() => d.path), u = (E) => E.menuId || E.menuCode || E.menuUrl || "", $ = () => m.value.map(u).join(","), j = N.get(Be) || "", D = $(), W = j === D ? N.get(Oe) || [] : [], V = g(W);
412
412
  ye(V, (E) => {
413
- I.set(Oe, E), I.set(Be, $());
413
+ N.set(Oe, E), N.set(Be, $());
414
414
  }, { deep: !0 });
415
- const B = (E, N, A = []) => {
415
+ const B = (E, I, A = []) => {
416
416
  var G;
417
417
  for (const F of E) {
418
- if (F.menuUrl && (N === F.menuUrl || N.startsWith(F.menuUrl + "/")))
418
+ if (F.menuUrl && (I === F.menuUrl || I.startsWith(F.menuUrl + "/")))
419
419
  return [...A, u(F)];
420
420
  if ((G = F.children) != null && G.length) {
421
- const se = B(F.children, N, [...A, u(F)]);
421
+ const se = B(F.children, I, [...A, u(F)]);
422
422
  if (se) return se;
423
423
  }
424
424
  }
425
425
  return null;
426
426
  };
427
- ye([() => d.path, m], ([E, N]) => {
428
- if (N.length > 0) {
429
- const A = B(N, E);
427
+ ye([() => d.path, m], ([E, I]) => {
428
+ if (I.length > 0) {
429
+ const A = B(I, E);
430
430
  if (A) {
431
431
  const G = A.slice(0, -1), F = /* @__PURE__ */ new Set([...V.value, ...G]);
432
432
  V.value = Array.from(F);
433
433
  }
434
434
  }
435
- }, { immediate: !0 }), ye(m, (E, N) => {
436
- E !== N && (V.value = [], I.set(Oe, []), I.set(Be, $()));
435
+ }, { immediate: !0 }), ye(m, (E, I) => {
436
+ E !== I && (V.value = [], N.set(Oe, []), N.set(Be, $()));
437
437
  }, { immediate: !1 });
438
438
  const H = w(() => v.isDark ? "#1d1e1f" : "#fff"), Z = w(() => v.isDark ? "#cfd3dc" : "#303133"), Y = w(() => "#409eff"), q = (E) => {
439
- E && E !== d.path && n.push(E);
439
+ E && E !== d.path && s.push(E);
440
440
  }, ee = () => {
441
- h.logout(), i.clearUserInfo(), o.clearMenu(), n.push(v.loginPath);
441
+ h.logout(), i.clearUserInfo(), a.clearMenu(), s.push(v.loginPath);
442
442
  };
443
- return (E, N) => (s(), c("div", {
443
+ return (E, I) => (o(), c("div", {
444
444
  class: J(["sidebar", { "sidebar--collapsed": f.value }])
445
445
  }, [
446
- r.showLogo ? (s(), c("div", Kt, [
446
+ r.showLogo ? (o(), c("div", Wt, [
447
447
  e("img", {
448
448
  src: r.logoSrc,
449
449
  alt: "Logo",
450
450
  class: "sidebar__logo-img"
451
- }, null, 8, jt),
452
- Te(e("span", { class: "sidebar__logo-text" }, b(a(v).appName), 513), [
453
- [yt, !f.value]
451
+ }, null, 8, qt),
452
+ Te(e("span", { class: "sidebar__logo-text" }, b(n(v).appName), 513), [
453
+ [wt, !f.value]
454
454
  ])
455
455
  ])) : P("", !0),
456
- y(a(Ge), {
456
+ y(n(Ge), {
457
457
  modelValue: _.value,
458
- "onUpdate:modelValue": N[0] || (N[0] = (A) => _.value = A),
458
+ "onUpdate:modelValue": I[0] || (I[0] = (A) => _.value = A),
459
459
  openeds: V.value,
460
- "onUpdate:openeds": N[1] || (N[1] = (A) => V.value = A),
460
+ "onUpdate:openeds": I[1] || (I[1] = (A) => V.value = A),
461
461
  mode: "vertical",
462
462
  collapse: f.value,
463
463
  "collapse-transition": !1,
@@ -468,24 +468,24 @@ const de = Ie("menu", () => {
468
468
  onSelect: q
469
469
  }, {
470
470
  default: M(() => [
471
- (s(!0), c(K, null, X(m.value, (A) => (s(), O(Ft, {
471
+ (o(!0), c(K, null, X(m.value, (A) => (o(), O(jt, {
472
472
  key: u(A),
473
473
  menu: A
474
474
  }, null, 8, ["menu"]))), 128))
475
475
  ]),
476
476
  _: 1
477
477
  }, 8, ["modelValue", "openeds", "collapse", "background-color", "text-color", "active-text-color"]),
478
- r.showUser && !f.value ? (s(), c("div", Wt, [
479
- e("div", qt, [
480
- e("span", Ht, b(a(i).userName), 1),
481
- e("span", Yt, b(a(i).departmentName), 1)
478
+ r.showUser && !f.value ? (o(), c("div", Ht, [
479
+ e("div", Yt, [
480
+ e("span", Gt, b(n(i).userName), 1),
481
+ e("span", Xt, b(n(i).departmentName), 1)
482
482
  ]),
483
- y(a(we), {
483
+ y(n(we), {
484
484
  type: "text",
485
485
  size: "small",
486
486
  onClick: ee
487
487
  }, {
488
- default: M(() => [...N[2] || (N[2] = [
488
+ default: M(() => [...I[2] || (I[2] = [
489
489
  he("退出", -1)
490
490
  ])]),
491
491
  _: 1
@@ -493,46 +493,46 @@ const de = Ie("menu", () => {
493
493
  ])) : P("", !0)
494
494
  ], 2));
495
495
  }
496
- }), et = /* @__PURE__ */ re(Gt, [["__scopeId", "data-v-2ecab012"]]), Xt = { class: "header" }, Jt = { class: "header__left" }, Zt = {
496
+ }), tt = /* @__PURE__ */ re(Jt, [["__scopeId", "data-v-2ecab012"]]), Zt = { class: "header" }, Qt = { class: "header__left" }, es = {
497
497
  key: 0,
498
498
  class: "header__breadcrumb"
499
- }, Qt = {
499
+ }, ts = {
500
500
  key: 0,
501
501
  class: "breadcrumb-separator"
502
- }, es = { class: "header__right" }, ts = {
502
+ }, ss = { class: "header__right" }, os = {
503
503
  key: 0,
504
504
  class: "header__search-dropdown"
505
- }, ss = {
505
+ }, as = {
506
506
  key: 0,
507
507
  class: "header__search-results"
508
- }, os = ["onClick"], ns = {
508
+ }, ns = ["onClick"], ls = {
509
509
  key: 0,
510
510
  class: "header__search-icon"
511
- }, as = {
511
+ }, rs = {
512
512
  key: 1,
513
513
  class: "header__search-char"
514
- }, ls = { class: "header__search-item-title" }, rs = {
514
+ }, is = { class: "header__search-item-title" }, cs = {
515
515
  key: 1,
516
516
  class: "header__search-item-parent"
517
- }, is = {
517
+ }, us = {
518
518
  key: 1,
519
519
  class: "header__search-empty"
520
- }, cs = ["title"], us = { class: "header__avatar" }, ds = { class: "header__user-name" }, ms = {
520
+ }, ds = ["title"], ms = { class: "header__avatar" }, ps = { class: "header__user-name" }, vs = {
521
521
  key: 0,
522
522
  class: "header__dropdown"
523
- }, ps = { class: "header__dropdown-header" }, vs = { class: "header__dropdown-avatar" }, hs = { class: "header__dropdown-info" }, _s = { class: "header__dropdown-name" }, fs = { class: "header__dropdown-role" }, gs = { class: "header__dropdown-menu" }, ys = { class: "settings-drawer" }, ks = { class: "settings-section" }, ws = { class: "settings-layout-options" }, bs = ["onClick"], xs = { class: "layout-option__preview" }, Cs = {
523
+ }, hs = { class: "header__dropdown-header" }, _s = { class: "header__dropdown-avatar" }, fs = { class: "header__dropdown-info" }, gs = { class: "header__dropdown-name" }, ys = { class: "header__dropdown-role" }, ks = { class: "header__dropdown-menu" }, ws = { class: "settings-drawer" }, bs = { class: "settings-section" }, xs = { class: "settings-layout-options" }, Cs = ["onClick"], $s = { class: "layout-option__preview" }, Ls = {
524
524
  key: 0,
525
525
  class: "layout-preview-sidebar"
526
- }, $s = {
526
+ }, Ms = {
527
527
  key: 1,
528
528
  class: "layout-preview-top"
529
- }, Ls = {
529
+ }, Ss = {
530
530
  key: 2,
531
531
  class: "layout-preview-mix"
532
- }, Ms = { class: "layout-option__label" }, Ss = { class: "settings-section" }, Ns = { class: "settings-color-options" }, Is = ["title", "onClick"], zs = { class: "settings-section" }, Us = { class: "settings-switch-list" }, Ts = { class: "settings-switch-item" }, Es = { class: "settings-switch-item" }, Ps = /* @__PURE__ */ ae({
532
+ }, Is = { class: "layout-option__label" }, Ns = { class: "settings-section" }, Us = { class: "settings-color-options" }, zs = ["title", "onClick"], Ts = { class: "settings-section" }, Es = { class: "settings-switch-list" }, Ps = { class: "settings-switch-item" }, As = { class: "settings-switch-item" }, Ds = /* @__PURE__ */ ne({
533
533
  __name: "Header",
534
534
  setup(t) {
535
- const r = be(), d = me(), n = ue(), o = le(), i = ze(), h = de(), v = g(!1), m = g(!1), f = g(null), _ = g(!1), u = g(!1), $ = g(""), j = g(null), D = g(!1), W = [
535
+ const r = be(), d = me(), s = ue(), a = le(), i = Ue(), h = de(), v = g(!1), m = g(!1), f = g(null), _ = g(!1), u = g(!1), $ = g(""), j = g(null), D = g(!1), W = [
536
536
  { value: "sidebar", label: "左侧菜单", icon: "sidebar-left" },
537
537
  { value: "top", label: "顶部菜单", icon: "menu" },
538
538
  { value: "mix", label: "混合菜单", icon: "grid" }
@@ -692,82 +692,82 @@ const de = Ie("menu", () => {
692
692
  }[T] || T;
693
693
  }, q = (T) => T ? T.charAt(0) : "", ee = (T) => Z.has(T), E = w(() => $.value.trim() ? H(h.menuList).filter(
694
694
  (k) => k.title.toLowerCase().includes($.value.toLowerCase())
695
- ) : []), N = w(() => n.layout), A = () => {
696
- n.toggleCollapse();
695
+ ) : []), I = w(() => s.layout), A = () => {
696
+ s.toggleCollapse();
697
697
  }, G = () => {
698
- n.toggleTheme();
698
+ s.toggleTheme();
699
699
  }, F = () => {
700
700
  m.value = !0;
701
701
  }, se = (T) => {
702
- n.setLayout(T), m.value = !1;
702
+ s.setLayout(T), m.value = !1;
703
703
  }, ie = (T) => {
704
704
  D.value = T;
705
705
  const k = document.documentElement;
706
706
  T ? k.classList.add("grey-mode") : k.classList.remove("grey-mode");
707
707
  }, pe = () => {
708
708
  ie(!D.value), m.value = !1;
709
- }, z = () => {
710
- n.toggleTheme(), m.value = !1;
709
+ }, U = () => {
710
+ s.toggleTheme(), m.value = !1;
711
711
  }, oe = () => {
712
712
  document.fullscreenElement ? document.exitFullscreen() : document.documentElement.requestFullscreen();
713
713
  }, _e = () => {
714
714
  _.value = !!document.fullscreenElement;
715
715
  }, ce = () => {
716
716
  v.value = !v.value;
717
- }, ne = () => {
717
+ }, ae = () => {
718
718
  v.value = !1;
719
719
  }, ve = () => {
720
720
  u.value = !1, $.value = "";
721
721
  }, xe = (T) => {
722
722
  d.push(T), ve();
723
723
  }, Ce = (T) => {
724
- n.setPrimaryColor(T), m.value = !1;
724
+ s.setPrimaryColor(T), m.value = !1;
725
725
  }, $e = () => {
726
- ne(), d.push("/profile");
726
+ ae(), d.push("/profile");
727
727
  }, Le = () => {
728
- ne(), d.push("/change-password");
728
+ ae(), d.push("/change-password");
729
729
  }, Me = () => {
730
- ne(), i.logout(), o.clearUserInfo(), h.clearMenu(), d.push(n.loginPath);
730
+ ae(), i.logout(), a.clearUserInfo(), h.clearMenu(), d.push(s.loginPath);
731
731
  }, fe = (T) => {
732
- f.value && !f.value.contains(T.target) && ne(), j.value && !j.value.contains(T.target) && ve();
732
+ f.value && !f.value.contains(T.target) && ae(), j.value && !j.value.contains(T.target) && ve();
733
733
  }, ge = (T) => {
734
- T.key === "Escape" && (ve(), ne());
734
+ T.key === "Escape" && (ve(), ae());
735
735
  };
736
736
  return Ke(() => {
737
- document.addEventListener("click", fe), document.addEventListener("fullscreenchange", _e), document.addEventListener("keydown", ge), n.initTheme(), D.value = document.documentElement.classList.contains("grey-mode");
737
+ document.addEventListener("click", fe), document.addEventListener("fullscreenchange", _e), document.addEventListener("keydown", ge), s.initTheme(), D.value = document.documentElement.classList.contains("grey-mode");
738
738
  }), je(() => {
739
739
  document.removeEventListener("click", fe), document.removeEventListener("fullscreenchange", _e), document.removeEventListener("keydown", ge);
740
740
  }), (T, k) => {
741
741
  var Q;
742
- return s(), c("div", Xt, [
743
- e("div", Jt, [
742
+ return o(), c("div", Zt, [
743
+ e("div", Qt, [
744
744
  e("div", {
745
745
  class: "header__collapse",
746
746
  onClick: A
747
747
  }, [
748
- y(a(U), {
749
- name: a(n).isCollapsed ? "menu-unfold" : "menu-fold",
748
+ y(n(z), {
749
+ name: n(s).isCollapsed ? "menu-unfold" : "menu-fold",
750
750
  size: 18
751
751
  }, null, 8, ["name"])
752
752
  ]),
753
- a(n).showBreadcrumb ? (s(), c("div", Zt, [
754
- (s(!0), c(K, null, X(B.value, (x, S) => (s(), c("span", {
753
+ n(s).showBreadcrumb ? (o(), c("div", es, [
754
+ (o(!0), c(K, null, X(B.value, (x, S) => (o(), c("span", {
755
755
  key: x.path
756
756
  }, [
757
- S > 0 ? (s(), c("span", Qt, "/")) : P("", !0),
757
+ S > 0 ? (o(), c("span", ts, "/")) : P("", !0),
758
758
  e("span", {
759
759
  class: J({ "is-current": S === B.value.length - 1 })
760
760
  }, b(x.title), 3)
761
761
  ]))), 128))
762
762
  ])) : P("", !0)
763
763
  ]),
764
- e("div", es, [
764
+ e("div", ss, [
765
765
  e("div", {
766
766
  class: "header__search",
767
767
  ref_key: "searchRef",
768
768
  ref: j
769
769
  }, [
770
- y(a(U), {
770
+ y(n(z), {
771
771
  name: "search",
772
772
  size: 14,
773
773
  class: "header__search-icon"
@@ -783,24 +783,24 @@ const de = Ie("menu", () => {
783
783
  ]),
784
784
  y(ke, { name: "search-dropdown" }, {
785
785
  default: M(() => [
786
- u.value && (E.value.length > 0 || $.value) ? (s(), c("div", ts, [
787
- E.value.length > 0 ? (s(), c("div", ss, [
788
- (s(!0), c(K, null, X(E.value, (x) => (s(), c("div", {
786
+ u.value && (E.value.length > 0 || $.value) ? (o(), c("div", os, [
787
+ E.value.length > 0 ? (o(), c("div", as, [
788
+ (o(!0), c(K, null, X(E.value, (x) => (o(), c("div", {
789
789
  key: x.path,
790
790
  class: "header__search-item",
791
791
  onClick: (S) => xe(x.path)
792
792
  }, [
793
- x.title !== "首页" ? (s(), c("span", ns, [
794
- ee(Y(x.icon)) ? (s(), O(a(U), {
793
+ x.title !== "首页" ? (o(), c("span", ls, [
794
+ ee(Y(x.icon)) ? (o(), O(n(z), {
795
795
  key: 0,
796
796
  name: Y(x.icon),
797
797
  size: 16
798
- }, null, 8, ["name"])) : (s(), c("span", as, b(q(x.title)), 1))
798
+ }, null, 8, ["name"])) : (o(), c("span", rs, b(q(x.title)), 1))
799
799
  ])) : P("", !0),
800
- e("span", ls, b(x.title), 1),
801
- x.parentTitle ? (s(), c("span", rs, b(x.parentTitle), 1)) : P("", !0)
802
- ], 8, os))), 128))
803
- ])) : (s(), c("div", is, " 未找到匹配的菜单 "))
800
+ e("span", is, b(x.title), 1),
801
+ x.parentTitle ? (o(), c("span", cs, b(x.parentTitle), 1)) : P("", !0)
802
+ ], 8, ns))), 128))
803
+ ])) : (o(), c("div", us, " 未找到匹配的菜单 "))
804
804
  ])) : P("", !0)
805
805
  ]),
806
806
  _: 1
@@ -811,17 +811,17 @@ const de = Ie("menu", () => {
811
811
  onClick: oe,
812
812
  title: _.value ? "退出全屏" : "全屏"
813
813
  }, [
814
- y(a(U), {
814
+ y(n(z), {
815
815
  name: _.value ? "fullscreen-exit" : "fullscreen",
816
816
  size: 16
817
817
  }, null, 8, ["name"])
818
- ], 8, cs),
818
+ ], 8, ds),
819
819
  e("div", {
820
820
  class: "header__action",
821
821
  onClick: F,
822
822
  title: "换肤设置"
823
823
  }, [
824
- y(a(U), {
824
+ y(n(z), {
825
825
  name: "skin",
826
826
  size: 16
827
827
  })
@@ -831,8 +831,8 @@ const de = Ie("menu", () => {
831
831
  onClick: G,
832
832
  title: "切换主题"
833
833
  }, [
834
- y(a(U), {
835
- name: a(n).isDark ? "sun" : "moon",
834
+ y(n(z), {
835
+ name: n(s).isDark ? "sun" : "moon",
836
836
  size: 16
837
837
  }, null, 8, ["name"])
838
838
  ]),
@@ -845,10 +845,10 @@ const de = Ie("menu", () => {
845
845
  class: "header__user-trigger",
846
846
  onClick: Ee(ce, ["stop"])
847
847
  }, [
848
- e("div", us, [
849
- e("span", null, b(((Q = a(o).userName) == null ? void 0 : Q.charAt(0)) || "U"), 1)
848
+ e("div", ms, [
849
+ e("span", null, b(((Q = n(a).userName) == null ? void 0 : Q.charAt(0)) || "U"), 1)
850
850
  ]),
851
- e("span", ds, b(a(o).userName), 1),
851
+ e("span", ps, b(n(a).userName), 1),
852
852
  e("span", {
853
853
  class: J(["header__user-arrow", { "is-active": v.value }])
854
854
  }, "▼", 2)
@@ -857,23 +857,23 @@ const de = Ie("menu", () => {
857
857
  default: M(() => {
858
858
  var x;
859
859
  return [
860
- v.value ? (s(), c("div", ms, [
861
- e("div", ps, [
862
- e("div", vs, [
863
- e("span", null, b(((x = a(o).userName) == null ? void 0 : x.charAt(0)) || "U"), 1)
860
+ v.value ? (o(), c("div", vs, [
861
+ e("div", hs, [
862
+ e("div", _s, [
863
+ e("span", null, b(((x = n(a).userName) == null ? void 0 : x.charAt(0)) || "U"), 1)
864
864
  ]),
865
- e("div", hs, [
866
- e("div", _s, b(a(o).userName), 1),
867
- e("div", fs, b(a(o).departmentName), 1)
865
+ e("div", fs, [
866
+ e("div", gs, b(n(a).userName), 1),
867
+ e("div", ys, b(n(a).departmentName), 1)
868
868
  ])
869
869
  ]),
870
870
  k[7] || (k[7] = e("div", { class: "header__dropdown-divider" }, null, -1)),
871
- e("div", gs, [
871
+ e("div", ks, [
872
872
  e("div", {
873
873
  class: "header__dropdown-item",
874
874
  onClick: $e
875
875
  }, [
876
- y(a(U), {
876
+ y(n(z), {
877
877
  name: "user",
878
878
  size: 16
879
879
  }),
@@ -883,7 +883,7 @@ const de = Ie("menu", () => {
883
883
  class: "header__dropdown-item",
884
884
  onClick: Le
885
885
  }, [
886
- y(a(U), {
886
+ y(n(z), {
887
887
  name: "lock",
888
888
  size: 16
889
889
  }),
@@ -894,7 +894,7 @@ const de = Ie("menu", () => {
894
894
  class: "header__dropdown-item header__dropdown-item--danger",
895
895
  onClick: Me
896
896
  }, [
897
- y(a(U), {
897
+ y(n(z), {
898
898
  name: "logout",
899
899
  size: 16
900
900
  }),
@@ -908,7 +908,7 @@ const de = Ie("menu", () => {
908
908
  })
909
909
  ], 512)
910
910
  ]),
911
- y(a(Xe), {
911
+ y(n(Xe), {
912
912
  modelValue: m.value,
913
913
  "onUpdate:modelValue": k[2] || (k[2] = (x) => m.value = x),
914
914
  title: "换肤设置",
@@ -916,26 +916,26 @@ const de = Ie("menu", () => {
916
916
  size: "320px"
917
917
  }, {
918
918
  default: M(() => [
919
- e("div", ys, [
920
- e("div", ks, [
919
+ e("div", ws, [
920
+ e("div", bs, [
921
921
  k[11] || (k[11] = e("div", { class: "settings-title" }, "布局模式", -1)),
922
- e("div", ws, [
923
- (s(), c(K, null, X(W, (x) => e("div", {
922
+ e("div", xs, [
923
+ (o(), c(K, null, X(W, (x) => e("div", {
924
924
  key: x.value,
925
- class: J(["layout-option", { "is-active": N.value === x.value }]),
925
+ class: J(["layout-option", { "is-active": I.value === x.value }]),
926
926
  onClick: (S) => se(x.value)
927
927
  }, [
928
- e("div", xs, [
929
- x.value === "sidebar" ? (s(), c("div", Cs, [...k[8] || (k[8] = [
928
+ e("div", $s, [
929
+ x.value === "sidebar" ? (o(), c("div", Ls, [...k[8] || (k[8] = [
930
930
  e("div", { class: "preview-aside" }, null, -1),
931
931
  e("div", { class: "preview-main" }, [
932
932
  e("div", { class: "preview-header" }),
933
933
  e("div", { class: "preview-content" })
934
934
  ], -1)
935
- ])])) : x.value === "top" ? (s(), c("div", $s, [...k[9] || (k[9] = [
935
+ ])])) : x.value === "top" ? (o(), c("div", Ms, [...k[9] || (k[9] = [
936
936
  e("div", { class: "preview-header-full" }, null, -1),
937
937
  e("div", { class: "preview-content-full" }, null, -1)
938
- ])])) : (s(), c("div", Ls, [...k[10] || (k[10] = [
938
+ ])])) : (o(), c("div", Ss, [...k[10] || (k[10] = [
939
939
  e("div", { class: "preview-header-mix" }, [
940
940
  e("div", { class: "preview-mix-left" })
941
941
  ], -1),
@@ -945,33 +945,33 @@ const de = Ie("menu", () => {
945
945
  ], -1)
946
946
  ])]))
947
947
  ]),
948
- e("span", Ms, b(x.label), 1)
949
- ], 10, bs)), 64))
948
+ e("span", Is, b(x.label), 1)
949
+ ], 10, Cs)), 64))
950
950
  ])
951
951
  ]),
952
- e("div", Ss, [
952
+ e("div", Ns, [
953
953
  k[12] || (k[12] = e("div", { class: "settings-title" }, "主题色", -1)),
954
- e("div", Ns, [
955
- (s(), c(K, null, X(V, (x) => e("div", {
954
+ e("div", Us, [
955
+ (o(), c(K, null, X(V, (x) => e("div", {
956
956
  key: x.value,
957
- class: J(["color-option", { "is-active": a(n).primaryColor === x.value }]),
958
- style: Ne({ backgroundColor: x.value }),
957
+ class: J(["color-option", { "is-active": n(s).primaryColor === x.value }]),
958
+ style: Ie({ backgroundColor: x.value }),
959
959
  title: x.label,
960
960
  onClick: (S) => Ce(x.value)
961
961
  }, [
962
- a(n).primaryColor === x.value ? (s(), O(a(U), {
962
+ n(s).primaryColor === x.value ? (o(), O(n(z), {
963
963
  key: 0,
964
964
  name: "check",
965
965
  size: 12,
966
966
  color: "#fff"
967
967
  })) : P("", !0)
968
- ], 14, Is)), 64))
968
+ ], 14, zs)), 64))
969
969
  ])
970
970
  ]),
971
- e("div", zs, [
971
+ e("div", Ts, [
972
972
  k[17] || (k[17] = e("div", { class: "settings-title" }, "功能设置", -1)),
973
- e("div", Us, [
974
- e("div", Ts, [
973
+ e("div", Es, [
974
+ e("div", Ps, [
975
975
  k[14] || (k[14] = e("span", null, "灰色模式", -1)),
976
976
  e("div", {
977
977
  class: J(["switch-wrapper", { "is-checked": D.value }]),
@@ -980,11 +980,11 @@ const de = Ie("menu", () => {
980
980
  e("span", { class: "switch-core" }, null, -1)
981
981
  ])], 2)
982
982
  ]),
983
- e("div", Es, [
983
+ e("div", As, [
984
984
  k[16] || (k[16] = e("span", null, "暗黑模式", -1)),
985
985
  e("div", {
986
- class: J(["switch-wrapper", { "is-checked": a(n).isDark }]),
987
- onClick: z
986
+ class: J(["switch-wrapper", { "is-checked": n(s).isDark }]),
987
+ onClick: U
988
988
  }, [...k[15] || (k[15] = [
989
989
  e("span", { class: "switch-core" }, null, -1)
990
990
  ])], 2)
@@ -998,72 +998,72 @@ const de = Ie("menu", () => {
998
998
  ]);
999
999
  };
1000
1000
  }
1001
- }), As = /* @__PURE__ */ re(Ps, [["__scopeId", "data-v-cf67ace4"]]), Ds = { class: "top-menu" }, Vs = { class: "top-menu__logo" }, Os = ["src"], Bs = { class: "top-menu__logo-text" }, Rs = { class: "top-menu__menu-content" }, Fs = {
1001
+ }), Vs = /* @__PURE__ */ re(Ds, [["__scopeId", "data-v-cf67ace4"]]), Os = { class: "top-menu" }, Bs = { class: "top-menu__logo" }, Rs = ["src"], Fs = { class: "top-menu__logo-text" }, Ks = { class: "top-menu__menu-content" }, js = {
1002
1002
  key: 0,
1003
1003
  class: "top-menu__menu-icon"
1004
- }, Ks = {
1004
+ }, Ws = {
1005
1005
  key: 1,
1006
1006
  class: "top-menu__menu-char"
1007
- }, js = { class: "top-menu__menu-text" }, Ws = { class: "top-menu__menu-content" }, qs = { class: "top-menu__menu-icon" }, Hs = {
1007
+ }, qs = { class: "top-menu__menu-text" }, Hs = { class: "top-menu__menu-content" }, Ys = { class: "top-menu__menu-icon" }, Gs = {
1008
1008
  key: 1,
1009
1009
  class: "top-menu__menu-char"
1010
- }, Ys = { class: "top-menu__menu-text" }, Gs = { class: "top-menu__menu-content" }, Xs = { class: "top-menu__menu-icon" }, Js = {
1010
+ }, Xs = { class: "top-menu__menu-text" }, Js = { class: "top-menu__menu-content" }, Zs = { class: "top-menu__menu-icon" }, Qs = {
1011
1011
  key: 1,
1012
1012
  class: "top-menu__menu-char"
1013
- }, Zs = { class: "top-menu__menu-text" }, Qs = { class: "top-menu__menu-content" }, eo = { class: "top-menu__menu-icon" }, to = {
1013
+ }, eo = { class: "top-menu__menu-text" }, to = { class: "top-menu__menu-content" }, so = { class: "top-menu__menu-icon" }, oo = {
1014
1014
  key: 1,
1015
1015
  class: "top-menu__menu-char"
1016
- }, so = { class: "top-menu__menu-text" }, oo = { class: "top-menu__menu-content" }, no = {
1016
+ }, ao = { class: "top-menu__menu-text" }, no = { class: "top-menu__menu-content" }, lo = {
1017
1017
  key: 0,
1018
1018
  class: "top-menu__menu-icon"
1019
- }, ao = {
1019
+ }, ro = {
1020
1020
  key: 1,
1021
1021
  class: "top-menu__menu-char"
1022
- }, lo = { class: "top-menu__menu-text" }, ro = { class: "top-menu__actions" }, io = {
1022
+ }, io = { class: "top-menu__menu-text" }, co = { class: "top-menu__actions" }, uo = {
1023
1023
  key: 0,
1024
1024
  class: "top-menu__search-dropdown"
1025
- }, co = {
1025
+ }, mo = {
1026
1026
  key: 0,
1027
1027
  class: "top-menu__search-results"
1028
- }, uo = ["onClick"], mo = {
1028
+ }, po = ["onClick"], vo = {
1029
1029
  key: 0,
1030
1030
  class: "top-menu__search-icon-item"
1031
- }, po = {
1031
+ }, ho = {
1032
1032
  key: 1,
1033
1033
  class: "top-menu__search-char"
1034
- }, vo = { class: "top-menu__search-item-title" }, ho = {
1034
+ }, _o = { class: "top-menu__search-item-title" }, fo = {
1035
1035
  key: 1,
1036
1036
  class: "top-menu__search-item-parent"
1037
- }, _o = {
1037
+ }, go = {
1038
1038
  key: 1,
1039
1039
  class: "top-menu__search-empty"
1040
- }, fo = ["title"], go = { class: "top-menu__avatar" }, yo = { class: "top-menu__user-name" }, ko = {
1040
+ }, yo = ["title"], ko = { class: "top-menu__avatar" }, wo = { class: "top-menu__user-name" }, bo = {
1041
1041
  key: 0,
1042
1042
  class: "top-menu__dropdown"
1043
- }, wo = { class: "top-menu__dropdown-header" }, bo = { class: "top-menu__dropdown-avatar" }, xo = { class: "top-menu__dropdown-info" }, Co = { class: "top-menu__dropdown-name" }, $o = { class: "top-menu__dropdown-role" }, Lo = { class: "top-menu__dropdown-menu" }, Mo = { class: "settings-drawer" }, So = { class: "settings-section" }, No = { class: "settings-layout-options" }, Io = ["onClick"], zo = { class: "layout-option__preview" }, Uo = {
1043
+ }, xo = { class: "top-menu__dropdown-header" }, Co = { class: "top-menu__dropdown-avatar" }, $o = { class: "top-menu__dropdown-info" }, Lo = { class: "top-menu__dropdown-name" }, Mo = { class: "top-menu__dropdown-role" }, So = { class: "top-menu__dropdown-menu" }, Io = { class: "settings-drawer" }, No = { class: "settings-section" }, Uo = { class: "settings-layout-options" }, zo = ["onClick"], To = { class: "layout-option__preview" }, Eo = {
1044
1044
  key: 0,
1045
1045
  class: "layout-preview-sidebar"
1046
- }, To = {
1046
+ }, Po = {
1047
1047
  key: 1,
1048
1048
  class: "layout-preview-top"
1049
- }, Eo = {
1049
+ }, Ao = {
1050
1050
  key: 2,
1051
1051
  class: "layout-preview-mix"
1052
- }, Po = { class: "layout-option__label" }, Ao = { class: "settings-section" }, Do = { class: "settings-color-options" }, Vo = ["title", "onClick"], Oo = { class: "settings-section" }, Bo = { class: "settings-switch-list" }, Ro = { class: "settings-switch-item" }, Fo = { class: "settings-switch-item" }, Ko = /* @__PURE__ */ ae({
1052
+ }, Do = { class: "layout-option__label" }, Vo = { class: "settings-section" }, Oo = { class: "settings-color-options" }, Bo = ["title", "onClick"], Ro = { class: "settings-section" }, Fo = { class: "settings-switch-list" }, Ko = { class: "settings-switch-item" }, jo = { class: "settings-switch-item" }, Wo = /* @__PURE__ */ ne({
1053
1053
  __name: "TopMenu",
1054
1054
  props: {
1055
1055
  logoSrc: { default: "/vite.svg" }
1056
1056
  },
1057
1057
  setup(t) {
1058
- const r = t, d = be(), n = me(), o = de(), i = ue(), h = le(), v = ze(), m = w(() => d.path), f = (S, L = "") => {
1058
+ const r = t, d = be(), s = me(), a = de(), i = ue(), h = le(), v = Ue(), m = w(() => d.path), f = (S, L = "") => {
1059
1059
  const te = [];
1060
1060
  return S.forEach((l) => {
1061
1061
  l.children && l.children.length > 0 ? te.push(...f(l.children, l.menuName)) : te.push({ ...l, parentTitle: L, title: l.menuName, path: l.menuUrl });
1062
1062
  }), te;
1063
- }, _ = w(() => Y.value.trim() ? f(o.menuList).filter(
1063
+ }, _ = w(() => Y.value.trim() ? f(a.menuList).filter(
1064
1064
  (L) => L.title.toLowerCase().includes(Y.value.toLowerCase())
1065
1065
  ) : []), u = w(() => i.isDark ? "#1d1e1f" : "#fff"), $ = w(() => i.isDark ? "#cfd3dc" : "#303133"), j = w(() => "#409eff"), D = g(!1), W = g(null), V = g(!1), B = g(!1), H = g(!1), Z = g(!1), Y = g(""), q = g(null), ee = (S) => {
1066
- S && S !== d.path && n.push(S);
1066
+ S && S !== d.path && s.push(S);
1067
1067
  }, E = /* @__PURE__ */ new Set([
1068
1068
  "arrow-up",
1069
1069
  "arrow-down",
@@ -1166,7 +1166,7 @@ const de = Ie("menu", () => {
1166
1166
  "sun",
1167
1167
  "theme",
1168
1168
  "skin"
1169
- ]), N = (S) => {
1169
+ ]), I = (S) => {
1170
1170
  if (!S || S === "") return "";
1171
1171
  if (S.startsWith("tineco-icon-")) {
1172
1172
  const te = S.replace("tineco-icon-", "");
@@ -1211,20 +1211,20 @@ const de = Ie("menu", () => {
1211
1211
  V.value = !!document.fullscreenElement;
1212
1212
  }, pe = () => {
1213
1213
  D.value = !D.value;
1214
- }, z = () => {
1214
+ }, U = () => {
1215
1215
  D.value = !1;
1216
1216
  }, oe = () => {
1217
1217
  Z.value = !1, Y.value = "";
1218
1218
  }, _e = (S) => {
1219
- n.push(S), oe();
1219
+ s.push(S), oe();
1220
1220
  }, ce = () => {
1221
1221
  B.value = !0;
1222
- }, ne = (S) => {
1222
+ }, ae = (S) => {
1223
1223
  H.value = S;
1224
1224
  const L = document.documentElement;
1225
1225
  S ? L.classList.add("grey-mode") : L.classList.remove("grey-mode");
1226
1226
  }, ve = () => {
1227
- ne(!H.value), B.value = !1;
1227
+ ae(!H.value), B.value = !1;
1228
1228
  }, xe = () => {
1229
1229
  i.toggleTheme(), B.value = !1;
1230
1230
  }, Ce = [
@@ -1243,15 +1243,15 @@ const de = Ie("menu", () => {
1243
1243
  ], fe = (S) => {
1244
1244
  i.setPrimaryColor(S), B.value = !1;
1245
1245
  }, ge = () => {
1246
- z(), n.push("/profile");
1246
+ U(), s.push("/profile");
1247
1247
  }, T = () => {
1248
- z(), n.push("/change-password");
1248
+ U(), s.push("/change-password");
1249
1249
  }, k = () => {
1250
- z(), v.logout(), h.clearUserInfo(), o.clearMenu(), n.push(i.loginPath);
1250
+ U(), v.logout(), h.clearUserInfo(), a.clearMenu(), s.push(i.loginPath);
1251
1251
  }, Q = (S) => {
1252
- W.value && !W.value.contains(S.target) && z(), q.value && !q.value.contains(S.target) && oe();
1252
+ W.value && !W.value.contains(S.target) && U(), q.value && !q.value.contains(S.target) && oe();
1253
1253
  }, x = (S) => {
1254
- S.key === "Escape" && (oe(), z());
1254
+ S.key === "Escape" && (oe(), U());
1255
1255
  };
1256
1256
  return Ke(() => {
1257
1257
  document.addEventListener("click", Q), document.addEventListener("fullscreenchange", ie), document.addEventListener("keydown", x), H.value = document.documentElement.classList.contains("grey-mode");
@@ -1259,16 +1259,16 @@ const de = Ie("menu", () => {
1259
1259
  document.removeEventListener("click", Q), document.removeEventListener("fullscreenchange", ie), document.removeEventListener("keydown", x);
1260
1260
  }), (S, L) => {
1261
1261
  var te;
1262
- return s(), c("div", Ds, [
1263
- e("div", Vs, [
1262
+ return o(), c("div", Os, [
1263
+ e("div", Bs, [
1264
1264
  e("img", {
1265
1265
  src: r.logoSrc,
1266
1266
  alt: "Logo",
1267
1267
  class: "top-menu__logo-img"
1268
- }, null, 8, Os),
1269
- e("span", Bs, b(a(i).appName), 1)
1268
+ }, null, 8, Rs),
1269
+ e("span", Fs, b(n(i).appName), 1)
1270
1270
  ]),
1271
- y(a(Ge), {
1271
+ y(n(Ge), {
1272
1272
  "model-value": m.value,
1273
1273
  mode: "horizontal",
1274
1274
  "background-color": u.value,
@@ -1278,80 +1278,80 @@ const de = Ie("menu", () => {
1278
1278
  onSelect: ee
1279
1279
  }, {
1280
1280
  default: M(() => [
1281
- (s(!0), c(K, null, X(a(o).menuList, (l) => (s(), c(K, {
1281
+ (o(!0), c(K, null, X(n(a).menuList, (l) => (o(), c(K, {
1282
1282
  key: l.menuUrl
1283
1283
  }, [
1284
- l.children && l.children.length > 0 ? (s(), O(a(Re), {
1284
+ l.children && l.children.length > 0 ? (o(), O(n(Re), {
1285
1285
  key: 0,
1286
1286
  index: l.menuUrl
1287
1287
  }, {
1288
1288
  title: M(() => [
1289
- e("span", Rs, [
1290
- l.menuName !== "首页" ? (s(), c("span", Fs, [
1291
- G(N(l.icon)) ? (s(), O(a(U), {
1289
+ e("span", Ks, [
1290
+ l.menuName !== "首页" ? (o(), c("span", js, [
1291
+ G(I(l.icon)) ? (o(), O(n(z), {
1292
1292
  key: 0,
1293
- name: N(l.icon),
1293
+ name: I(l.icon),
1294
1294
  size: 16
1295
- }, null, 8, ["name"])) : (s(), c("span", Ks, b(A(l.menuName)), 1))
1295
+ }, null, 8, ["name"])) : (o(), c("span", Ws, b(A(l.menuName)), 1))
1296
1296
  ])) : P("", !0),
1297
- e("span", js, b(l.menuName), 1)
1297
+ e("span", qs, b(l.menuName), 1)
1298
1298
  ])
1299
1299
  ]),
1300
1300
  default: M(() => [
1301
- (s(!0), c(K, null, X(l.children, (p) => (s(), c(K, {
1301
+ (o(!0), c(K, null, X(l.children, (p) => (o(), c(K, {
1302
1302
  key: p.menuUrl
1303
1303
  }, [
1304
- p.children && p.children.length > 0 ? (s(), O(a(Re), {
1304
+ p.children && p.children.length > 0 ? (o(), O(n(Re), {
1305
1305
  key: 0,
1306
1306
  index: p.menuUrl
1307
1307
  }, {
1308
1308
  title: M(() => [
1309
- e("span", Ws, [
1310
- e("span", qs, [
1311
- G(N(p.icon)) ? (s(), O(a(U), {
1309
+ e("span", Hs, [
1310
+ e("span", Ys, [
1311
+ G(I(p.icon)) ? (o(), O(n(z), {
1312
1312
  key: 0,
1313
- name: N(p.icon),
1313
+ name: I(p.icon),
1314
1314
  size: 16
1315
- }, null, 8, ["name"])) : (s(), c("span", Hs, b(A(p.menuName)), 1))
1315
+ }, null, 8, ["name"])) : (o(), c("span", Gs, b(A(p.menuName)), 1))
1316
1316
  ]),
1317
- e("span", Ys, b(p.menuName), 1)
1317
+ e("span", Xs, b(p.menuName), 1)
1318
1318
  ])
1319
1319
  ]),
1320
1320
  default: M(() => [
1321
- (s(!0), c(K, null, X(p.children, (R) => (s(), O(a(Se), {
1321
+ (o(!0), c(K, null, X(p.children, (R) => (o(), O(n(Se), {
1322
1322
  key: R.menuUrl,
1323
1323
  index: R.menuUrl
1324
1324
  }, {
1325
1325
  default: M(() => [
1326
- e("span", Gs, [
1327
- e("span", Xs, [
1328
- G(N(R.icon)) ? (s(), O(a(U), {
1326
+ e("span", Js, [
1327
+ e("span", Zs, [
1328
+ G(I(R.icon)) ? (o(), O(n(z), {
1329
1329
  key: 0,
1330
- name: N(R.icon),
1330
+ name: I(R.icon),
1331
1331
  size: 16
1332
- }, null, 8, ["name"])) : (s(), c("span", Js, b(A(R.menuName)), 1))
1332
+ }, null, 8, ["name"])) : (o(), c("span", Qs, b(A(R.menuName)), 1))
1333
1333
  ]),
1334
- e("span", Zs, b(R.menuName), 1)
1334
+ e("span", eo, b(R.menuName), 1)
1335
1335
  ])
1336
1336
  ]),
1337
1337
  _: 2
1338
1338
  }, 1032, ["index"]))), 128))
1339
1339
  ]),
1340
1340
  _: 2
1341
- }, 1032, ["index"])) : (s(), O(a(Se), {
1341
+ }, 1032, ["index"])) : (o(), O(n(Se), {
1342
1342
  key: 1,
1343
1343
  index: p.menuUrl
1344
1344
  }, {
1345
1345
  default: M(() => [
1346
- e("span", Qs, [
1347
- e("span", eo, [
1348
- G(N(p.icon)) ? (s(), O(a(U), {
1346
+ e("span", to, [
1347
+ e("span", so, [
1348
+ G(I(p.icon)) ? (o(), O(n(z), {
1349
1349
  key: 0,
1350
- name: N(p.icon),
1350
+ name: I(p.icon),
1351
1351
  size: 16
1352
- }, null, 8, ["name"])) : (s(), c("span", to, b(A(p.menuName)), 1))
1352
+ }, null, 8, ["name"])) : (o(), c("span", oo, b(A(p.menuName)), 1))
1353
1353
  ]),
1354
- e("span", so, b(p.menuName), 1)
1354
+ e("span", ao, b(p.menuName), 1)
1355
1355
  ])
1356
1356
  ]),
1357
1357
  _: 2
@@ -1359,20 +1359,20 @@ const de = Ie("menu", () => {
1359
1359
  ], 64))), 128))
1360
1360
  ]),
1361
1361
  _: 2
1362
- }, 1032, ["index"])) : (s(), O(a(Se), {
1362
+ }, 1032, ["index"])) : (o(), O(n(Se), {
1363
1363
  key: 1,
1364
1364
  index: l.menuUrl
1365
1365
  }, {
1366
1366
  default: M(() => [
1367
- e("span", oo, [
1368
- l.menuName !== "首页" ? (s(), c("span", no, [
1369
- G(N(l.icon)) ? (s(), O(a(U), {
1367
+ e("span", no, [
1368
+ l.menuName !== "首页" ? (o(), c("span", lo, [
1369
+ G(I(l.icon)) ? (o(), O(n(z), {
1370
1370
  key: 0,
1371
- name: N(l.icon),
1371
+ name: I(l.icon),
1372
1372
  size: 16
1373
- }, null, 8, ["name"])) : (s(), c("span", ao, b(A(l.menuName)), 1))
1373
+ }, null, 8, ["name"])) : (o(), c("span", ro, b(A(l.menuName)), 1))
1374
1374
  ])) : P("", !0),
1375
- e("span", lo, b(l.menuName), 1)
1375
+ e("span", io, b(l.menuName), 1)
1376
1376
  ])
1377
1377
  ]),
1378
1378
  _: 2
@@ -1381,13 +1381,13 @@ const de = Ie("menu", () => {
1381
1381
  ]),
1382
1382
  _: 1
1383
1383
  }, 8, ["model-value", "background-color", "text-color", "active-text-color"]),
1384
- e("div", ro, [
1384
+ e("div", co, [
1385
1385
  e("div", {
1386
1386
  class: "top-menu__search",
1387
1387
  ref_key: "searchRef",
1388
1388
  ref: q
1389
1389
  }, [
1390
- y(a(U), {
1390
+ y(n(z), {
1391
1391
  name: "search",
1392
1392
  size: 14,
1393
1393
  class: "top-menu__search-icon"
@@ -1403,24 +1403,24 @@ const de = Ie("menu", () => {
1403
1403
  ]),
1404
1404
  y(ke, { name: "search-dropdown" }, {
1405
1405
  default: M(() => [
1406
- Z.value && (_.value.length > 0 || Y.value) ? (s(), c("div", io, [
1407
- _.value.length > 0 ? (s(), c("div", co, [
1408
- (s(!0), c(K, null, X(_.value, (l) => (s(), c("div", {
1406
+ Z.value && (_.value.length > 0 || Y.value) ? (o(), c("div", uo, [
1407
+ _.value.length > 0 ? (o(), c("div", mo, [
1408
+ (o(!0), c(K, null, X(_.value, (l) => (o(), c("div", {
1409
1409
  key: l.path,
1410
1410
  class: "top-menu__search-item",
1411
1411
  onClick: (p) => _e(l.path)
1412
1412
  }, [
1413
- l.title !== "首页" ? (s(), c("span", mo, [
1414
- G(N(l.icon)) ? (s(), O(a(U), {
1413
+ l.title !== "首页" ? (o(), c("span", vo, [
1414
+ G(I(l.icon)) ? (o(), O(n(z), {
1415
1415
  key: 0,
1416
- name: N(l.icon),
1416
+ name: I(l.icon),
1417
1417
  size: 16
1418
- }, null, 8, ["name"])) : (s(), c("span", po, b(A(l.title)), 1))
1418
+ }, null, 8, ["name"])) : (o(), c("span", ho, b(A(l.title)), 1))
1419
1419
  ])) : P("", !0),
1420
- e("span", vo, b(l.title), 1),
1421
- l.parentTitle ? (s(), c("span", ho, b(l.parentTitle), 1)) : P("", !0)
1422
- ], 8, uo))), 128))
1423
- ])) : (s(), c("div", _o, " 未找到匹配的菜单 "))
1420
+ e("span", _o, b(l.title), 1),
1421
+ l.parentTitle ? (o(), c("span", fo, b(l.parentTitle), 1)) : P("", !0)
1422
+ ], 8, po))), 128))
1423
+ ])) : (o(), c("div", go, " 未找到匹配的菜单 "))
1424
1424
  ])) : P("", !0)
1425
1425
  ]),
1426
1426
  _: 1
@@ -1431,17 +1431,17 @@ const de = Ie("menu", () => {
1431
1431
  onClick: se,
1432
1432
  title: V.value ? "退出全屏" : "全屏"
1433
1433
  }, [
1434
- y(a(U), {
1434
+ y(n(z), {
1435
1435
  name: V.value ? "fullscreen-exit" : "fullscreen",
1436
1436
  size: 16
1437
1437
  }, null, 8, ["name"])
1438
- ], 8, fo),
1438
+ ], 8, yo),
1439
1439
  e("div", {
1440
1440
  class: "top-menu__action",
1441
1441
  onClick: ce,
1442
1442
  title: "换肤设置"
1443
1443
  }, [
1444
- y(a(U), {
1444
+ y(n(z), {
1445
1445
  name: "skin",
1446
1446
  size: 16
1447
1447
  })
@@ -1451,8 +1451,8 @@ const de = Ie("menu", () => {
1451
1451
  onClick: F,
1452
1452
  title: "切换主题"
1453
1453
  }, [
1454
- y(a(U), {
1455
- name: a(i).isDark ? "sun" : "moon",
1454
+ y(n(z), {
1455
+ name: n(i).isDark ? "sun" : "moon",
1456
1456
  size: 16
1457
1457
  }, null, 8, ["name"])
1458
1458
  ]),
@@ -1465,10 +1465,10 @@ const de = Ie("menu", () => {
1465
1465
  class: "top-menu__user-trigger",
1466
1466
  onClick: Ee(pe, ["stop"])
1467
1467
  }, [
1468
- e("div", go, [
1469
- e("span", null, b(((te = a(h).userName) == null ? void 0 : te.charAt(0)) || "U"), 1)
1468
+ e("div", ko, [
1469
+ e("span", null, b(((te = n(h).userName) == null ? void 0 : te.charAt(0)) || "U"), 1)
1470
1470
  ]),
1471
- e("span", yo, b(a(h).userName), 1),
1471
+ e("span", wo, b(n(h).userName), 1),
1472
1472
  e("span", {
1473
1473
  class: J(["top-menu__user-arrow", { "is-active": D.value }])
1474
1474
  }, "▼", 2)
@@ -1477,23 +1477,23 @@ const de = Ie("menu", () => {
1477
1477
  default: M(() => {
1478
1478
  var l;
1479
1479
  return [
1480
- D.value ? (s(), c("div", ko, [
1481
- e("div", wo, [
1482
- e("div", bo, [
1483
- e("span", null, b(((l = a(h).userName) == null ? void 0 : l.charAt(0)) || "U"), 1)
1480
+ D.value ? (o(), c("div", bo, [
1481
+ e("div", xo, [
1482
+ e("div", Co, [
1483
+ e("span", null, b(((l = n(h).userName) == null ? void 0 : l.charAt(0)) || "U"), 1)
1484
1484
  ]),
1485
- e("div", xo, [
1486
- e("div", Co, b(a(h).userName), 1),
1487
- e("div", $o, b(a(h).departmentName), 1)
1485
+ e("div", $o, [
1486
+ e("div", Lo, b(n(h).userName), 1),
1487
+ e("div", Mo, b(n(h).departmentName), 1)
1488
1488
  ])
1489
1489
  ]),
1490
1490
  L[7] || (L[7] = e("div", { class: "top-menu__dropdown-divider" }, null, -1)),
1491
- e("div", Lo, [
1491
+ e("div", So, [
1492
1492
  e("div", {
1493
1493
  class: "top-menu__dropdown-item",
1494
1494
  onClick: ge
1495
1495
  }, [
1496
- y(a(U), {
1496
+ y(n(z), {
1497
1497
  name: "user",
1498
1498
  size: 16
1499
1499
  }),
@@ -1503,7 +1503,7 @@ const de = Ie("menu", () => {
1503
1503
  class: "top-menu__dropdown-item",
1504
1504
  onClick: T
1505
1505
  }, [
1506
- y(a(U), {
1506
+ y(n(z), {
1507
1507
  name: "lock",
1508
1508
  size: 16
1509
1509
  }),
@@ -1514,7 +1514,7 @@ const de = Ie("menu", () => {
1514
1514
  class: "top-menu__dropdown-item top-menu__dropdown-item--danger",
1515
1515
  onClick: k
1516
1516
  }, [
1517
- y(a(U), {
1517
+ y(n(z), {
1518
1518
  name: "logout",
1519
1519
  size: 16
1520
1520
  }),
@@ -1528,7 +1528,7 @@ const de = Ie("menu", () => {
1528
1528
  })
1529
1529
  ], 512)
1530
1530
  ]),
1531
- y(a(Xe), {
1531
+ y(n(Xe), {
1532
1532
  modelValue: B.value,
1533
1533
  "onUpdate:modelValue": L[2] || (L[2] = (l) => B.value = l),
1534
1534
  title: "换肤设置",
@@ -1536,26 +1536,26 @@ const de = Ie("menu", () => {
1536
1536
  size: "320px"
1537
1537
  }, {
1538
1538
  default: M(() => [
1539
- e("div", Mo, [
1540
- e("div", So, [
1539
+ e("div", Io, [
1540
+ e("div", No, [
1541
1541
  L[11] || (L[11] = e("div", { class: "settings-title" }, "布局模式", -1)),
1542
- e("div", No, [
1543
- (s(), c(K, null, X(Ce, (l) => e("div", {
1542
+ e("div", Uo, [
1543
+ (o(), c(K, null, X(Ce, (l) => e("div", {
1544
1544
  key: l.value,
1545
1545
  class: J(["layout-option", { "is-active": $e.value === l.value }]),
1546
1546
  onClick: (p) => Le(l.value)
1547
1547
  }, [
1548
- e("div", zo, [
1549
- l.value === "sidebar" ? (s(), c("div", Uo, [...L[8] || (L[8] = [
1548
+ e("div", To, [
1549
+ l.value === "sidebar" ? (o(), c("div", Eo, [...L[8] || (L[8] = [
1550
1550
  e("div", { class: "preview-aside" }, null, -1),
1551
1551
  e("div", { class: "preview-main" }, [
1552
1552
  e("div", { class: "preview-header" }),
1553
1553
  e("div", { class: "preview-content" })
1554
1554
  ], -1)
1555
- ])])) : l.value === "top" ? (s(), c("div", To, [...L[9] || (L[9] = [
1555
+ ])])) : l.value === "top" ? (o(), c("div", Po, [...L[9] || (L[9] = [
1556
1556
  e("div", { class: "preview-header-full" }, null, -1),
1557
1557
  e("div", { class: "preview-content-full" }, null, -1)
1558
- ])])) : (s(), c("div", Eo, [...L[10] || (L[10] = [
1558
+ ])])) : (o(), c("div", Ao, [...L[10] || (L[10] = [
1559
1559
  e("div", { class: "preview-header-mix" }, [
1560
1560
  e("div", { class: "preview-mix-left" })
1561
1561
  ], -1),
@@ -1565,33 +1565,33 @@ const de = Ie("menu", () => {
1565
1565
  ], -1)
1566
1566
  ])]))
1567
1567
  ]),
1568
- e("span", Po, b(l.label), 1)
1569
- ], 10, Io)), 64))
1568
+ e("span", Do, b(l.label), 1)
1569
+ ], 10, zo)), 64))
1570
1570
  ])
1571
1571
  ]),
1572
- e("div", Ao, [
1572
+ e("div", Vo, [
1573
1573
  L[12] || (L[12] = e("div", { class: "settings-title" }, "主题色", -1)),
1574
- e("div", Do, [
1575
- (s(), c(K, null, X(Me, (l) => e("div", {
1574
+ e("div", Oo, [
1575
+ (o(), c(K, null, X(Me, (l) => e("div", {
1576
1576
  key: l.value,
1577
- class: J(["color-option", { "is-active": a(i).primaryColor === l.value }]),
1578
- style: Ne({ backgroundColor: l.value }),
1577
+ class: J(["color-option", { "is-active": n(i).primaryColor === l.value }]),
1578
+ style: Ie({ backgroundColor: l.value }),
1579
1579
  title: l.label,
1580
1580
  onClick: (p) => fe(l.value)
1581
1581
  }, [
1582
- a(i).primaryColor === l.value ? (s(), O(a(U), {
1582
+ n(i).primaryColor === l.value ? (o(), O(n(z), {
1583
1583
  key: 0,
1584
1584
  name: "check",
1585
1585
  size: 12,
1586
1586
  color: "#fff"
1587
1587
  })) : P("", !0)
1588
- ], 14, Vo)), 64))
1588
+ ], 14, Bo)), 64))
1589
1589
  ])
1590
1590
  ]),
1591
- e("div", Oo, [
1591
+ e("div", Ro, [
1592
1592
  L[17] || (L[17] = e("div", { class: "settings-title" }, "功能设置", -1)),
1593
- e("div", Bo, [
1594
- e("div", Ro, [
1593
+ e("div", Fo, [
1594
+ e("div", Ko, [
1595
1595
  L[14] || (L[14] = e("span", null, "灰色模式", -1)),
1596
1596
  e("div", {
1597
1597
  class: J(["switch-wrapper", { "is-checked": H.value }]),
@@ -1600,10 +1600,10 @@ const de = Ie("menu", () => {
1600
1600
  e("span", { class: "switch-core" }, null, -1)
1601
1601
  ])], 2)
1602
1602
  ]),
1603
- e("div", Fo, [
1603
+ e("div", jo, [
1604
1604
  L[16] || (L[16] = e("span", null, "暗黑模式", -1)),
1605
1605
  e("div", {
1606
- class: J(["switch-wrapper", { "is-checked": a(i).isDark }]),
1606
+ class: J(["switch-wrapper", { "is-checked": n(i).isDark }]),
1607
1607
  onClick: xe
1608
1608
  }, [...L[15] || (L[15] = [
1609
1609
  e("span", { class: "switch-core" }, null, -1)
@@ -1618,73 +1618,73 @@ const de = Ie("menu", () => {
1618
1618
  ]);
1619
1619
  };
1620
1620
  }
1621
- }), jo = /* @__PURE__ */ re(Ko, [["__scopeId", "data-v-15f7b516"]]), Wo = { class: "mix-top-menu" }, qo = { class: "mix-top-menu__logo" }, Ho = ["src"], Yo = { class: "mix-top-menu__logo-text" }, Go = { class: "mix-top-menu__menu-content" }, Xo = {
1621
+ }), qo = /* @__PURE__ */ re(Wo, [["__scopeId", "data-v-15f7b516"]]), Ho = { class: "mix-top-menu" }, Yo = { class: "mix-top-menu__logo" }, Go = ["src"], Xo = { class: "mix-top-menu__logo-text" }, Jo = { class: "mix-top-menu__menu-content" }, Zo = {
1622
1622
  key: 0,
1623
1623
  class: "mix-top-menu__menu-icon"
1624
- }, Jo = {
1624
+ }, Qo = {
1625
1625
  key: 1,
1626
1626
  class: "mix-top-menu__menu-char"
1627
- }, Zo = { class: "mix-top-menu__menu-text" }, Qo = { class: "mix-top-menu__actions" }, en = {
1627
+ }, ea = { class: "mix-top-menu__menu-text" }, ta = { class: "mix-top-menu__actions" }, sa = {
1628
1628
  key: 0,
1629
1629
  class: "mix-top-menu__search-dropdown"
1630
- }, tn = {
1630
+ }, oa = {
1631
1631
  key: 0,
1632
1632
  class: "mix-top-menu__search-results"
1633
- }, sn = ["onClick"], on = {
1633
+ }, aa = ["onClick"], na = {
1634
1634
  key: 0,
1635
1635
  class: "mix-top-menu__search-icon-item"
1636
- }, nn = {
1636
+ }, la = {
1637
1637
  key: 1,
1638
1638
  class: "mix-top-menu__search-char"
1639
- }, an = { class: "mix-top-menu__search-item-title" }, ln = {
1639
+ }, ra = { class: "mix-top-menu__search-item-title" }, ia = {
1640
1640
  key: 1,
1641
1641
  class: "mix-top-menu__search-item-parent"
1642
- }, rn = {
1642
+ }, ca = {
1643
1643
  key: 1,
1644
1644
  class: "mix-top-menu__search-empty"
1645
- }, cn = ["title"], un = { class: "mix-top-menu__avatar" }, dn = { class: "mix-top-menu__user-name" }, mn = {
1645
+ }, ua = ["title"], da = { class: "mix-top-menu__avatar" }, ma = { class: "mix-top-menu__user-name" }, pa = {
1646
1646
  key: 0,
1647
1647
  class: "mix-top-menu__dropdown"
1648
- }, pn = { class: "mix-top-menu__dropdown-header" }, vn = { class: "mix-top-menu__dropdown-avatar" }, hn = { class: "mix-top-menu__dropdown-info" }, _n = { class: "mix-top-menu__dropdown-name" }, fn = { class: "mix-top-menu__dropdown-role" }, gn = { class: "mix-top-menu__dropdown-menu" }, yn = { class: "settings-drawer" }, kn = { class: "settings-section" }, wn = { class: "settings-layout-options" }, bn = ["onClick"], xn = { class: "layout-option__preview" }, Cn = {
1648
+ }, va = { class: "mix-top-menu__dropdown-header" }, ha = { class: "mix-top-menu__dropdown-avatar" }, _a = { class: "mix-top-menu__dropdown-info" }, fa = { class: "mix-top-menu__dropdown-name" }, ga = { class: "mix-top-menu__dropdown-role" }, ya = { class: "mix-top-menu__dropdown-menu" }, ka = { class: "settings-drawer" }, wa = { class: "settings-section" }, ba = { class: "settings-layout-options" }, xa = ["onClick"], Ca = { class: "layout-option__preview" }, $a = {
1649
1649
  key: 0,
1650
1650
  class: "layout-preview-sidebar"
1651
- }, $n = {
1651
+ }, La = {
1652
1652
  key: 1,
1653
1653
  class: "layout-preview-top"
1654
- }, Ln = {
1654
+ }, Ma = {
1655
1655
  key: 2,
1656
1656
  class: "layout-preview-mix"
1657
- }, Mn = { class: "layout-option__label" }, Sn = { class: "settings-section" }, Nn = { class: "settings-color-options" }, In = ["title", "onClick"], zn = { class: "settings-section" }, Un = { class: "settings-switch-list" }, Tn = { class: "settings-switch-item" }, En = { class: "settings-switch-item" }, Pn = /* @__PURE__ */ ae({
1657
+ }, Sa = { class: "layout-option__label" }, Ia = { class: "settings-section" }, Na = { class: "settings-color-options" }, Ua = ["title", "onClick"], za = { class: "settings-section" }, Ta = { class: "settings-switch-list" }, Ea = { class: "settings-switch-item" }, Pa = { class: "settings-switch-item" }, Aa = /* @__PURE__ */ ne({
1658
1658
  __name: "MixTopMenu",
1659
1659
  props: {
1660
1660
  logoSrc: { default: "/vite.svg" }
1661
1661
  },
1662
1662
  setup(t) {
1663
- const r = t, d = be(), n = me(), o = de(), i = ue(), h = le(), v = ze(), m = g(""), f = (l, p = "") => {
1663
+ const r = t, d = be(), s = me(), a = de(), i = ue(), h = le(), v = Ue(), m = g(""), f = (l, p = "") => {
1664
1664
  const R = [];
1665
1665
  return l.forEach((C) => {
1666
1666
  C.children && C.children.length > 0 ? R.push(...f(C.children, C.menuName)) : R.push({ ...C, parentTitle: p, title: C.menuName, path: C.menuUrl });
1667
1667
  }), R;
1668
- }, _ = w(() => N.value.trim() ? f(o.menuList).filter(
1669
- (p) => p.title.toLowerCase().includes(N.value.toLowerCase())
1668
+ }, _ = w(() => I.value.trim() ? f(a.menuList).filter(
1669
+ (p) => p.title.toLowerCase().includes(I.value.toLowerCase())
1670
1670
  ) : []), u = w(() => {
1671
- const l = o.menuList.find((p) => p.menuUrl === m.value);
1671
+ const l = a.menuList.find((p) => p.menuUrl === m.value);
1672
1672
  return (l == null ? void 0 : l.children) || [];
1673
- }), $ = w(() => o.menuList.find((l) => !!(d.path === l.menuUrl || l.children && l.children.some((p) => d.path.startsWith(p.menuUrl) || d.path === p.menuUrl)))), j = () => {
1674
- $.value ? m.value = $.value.menuUrl : o.menuList.length > 0 && (m.value = o.menuList[0].menuUrl);
1673
+ }), $ = w(() => a.menuList.find((l) => !!(d.path === l.menuUrl || l.children && l.children.some((p) => d.path.startsWith(p.menuUrl) || d.path === p.menuUrl)))), j = () => {
1674
+ $.value ? m.value = $.value.menuUrl : a.menuList.length > 0 && (m.value = a.menuList[0].menuUrl);
1675
1675
  }, D = (l) => {
1676
1676
  m.value = l;
1677
- const p = o.menuList.find((R) => R.menuUrl === l);
1677
+ const p = a.menuList.find((R) => R.menuUrl === l);
1678
1678
  if (p)
1679
1679
  if (p.children && p.children.length > 0) {
1680
1680
  const R = p.children[0].menuUrl;
1681
- d.path !== R && n.push(R);
1681
+ d.path !== R && s.push(R);
1682
1682
  } else
1683
- d.path !== l && n.push(l);
1684
- }, W = w(() => i.isDark ? "#1d1e1f" : "#fff"), V = w(() => i.isDark ? "#cfd3dc" : "#303133"), B = w(() => "#409eff"), H = g(!1), Z = g(null), Y = g(!1), q = g(!1), ee = g(!1), E = g(!1), N = g(""), A = g(null);
1683
+ d.path !== l && s.push(l);
1684
+ }, W = w(() => i.isDark ? "#1d1e1f" : "#fff"), V = w(() => i.isDark ? "#cfd3dc" : "#303133"), B = w(() => "#409eff"), H = g(!1), Z = g(null), Y = g(!1), q = g(!1), ee = g(!1), E = g(!1), I = g(""), A = g(null);
1685
1685
  ye(() => d.path, () => {
1686
1686
  j(), i.setMixSubMenus(u.value);
1687
- }), ye(() => o.menuList, (l) => {
1687
+ }), ye(() => a.menuList, (l) => {
1688
1688
  l && l.length > 0 && (j(), i.setMixSubMenus(u.value));
1689
1689
  }, { immediate: !0 });
1690
1690
  const G = /* @__PURE__ */ new Set([
@@ -1828,7 +1828,7 @@ const de = Ie("menu", () => {
1828
1828
  }[l] || l;
1829
1829
  }, se = (l) => l ? l.charAt(0) : "", ie = (l) => G.has(l), pe = () => {
1830
1830
  i.toggleTheme(), q.value = !1;
1831
- }, z = () => {
1831
+ }, U = () => {
1832
1832
  document.fullscreenElement ? document.exitFullscreen() : document.documentElement.requestFullscreen();
1833
1833
  }, oe = () => {
1834
1834
  Y.value = !!document.fullscreenElement;
@@ -1836,10 +1836,10 @@ const de = Ie("menu", () => {
1836
1836
  H.value = !H.value;
1837
1837
  }, ce = () => {
1838
1838
  H.value = !1;
1839
- }, ne = () => {
1840
- E.value = !1, N.value = "";
1839
+ }, ae = () => {
1840
+ E.value = !1, I.value = "";
1841
1841
  }, ve = (l) => {
1842
- n.push(l), ne();
1842
+ s.push(l), ae();
1843
1843
  }, xe = () => {
1844
1844
  q.value = !0;
1845
1845
  }, Ce = (l) => {
@@ -1866,15 +1866,15 @@ const de = Ie("menu", () => {
1866
1866
  ], k = (l) => {
1867
1867
  i.setPrimaryColor(l), q.value = !1;
1868
1868
  }, Q = () => {
1869
- ce(), n.push("/profile");
1869
+ ce(), s.push("/profile");
1870
1870
  }, x = () => {
1871
- ce(), n.push("/change-password");
1871
+ ce(), s.push("/change-password");
1872
1872
  }, S = () => {
1873
- ce(), v.logout(), h.clearUserInfo(), o.clearMenu(), n.push(i.loginPath);
1873
+ ce(), v.logout(), h.clearUserInfo(), a.clearMenu(), s.push(i.loginPath);
1874
1874
  }, L = (l) => {
1875
- Z.value && !Z.value.contains(l.target) && ce(), A.value && !A.value.contains(l.target) && ne();
1875
+ Z.value && !Z.value.contains(l.target) && ce(), A.value && !A.value.contains(l.target) && ae();
1876
1876
  }, te = (l) => {
1877
- l.key === "Escape" && (ne(), ce());
1877
+ l.key === "Escape" && (ae(), ce());
1878
1878
  };
1879
1879
  return Ke(() => {
1880
1880
  document.addEventListener("click", L), document.addEventListener("fullscreenchange", oe), document.addEventListener("keydown", te), ee.value = document.documentElement.classList.contains("grey-mode"), j();
@@ -1882,16 +1882,16 @@ const de = Ie("menu", () => {
1882
1882
  document.removeEventListener("click", L), document.removeEventListener("fullscreenchange", oe), document.removeEventListener("keydown", te);
1883
1883
  }), (l, p) => {
1884
1884
  var R;
1885
- return s(), c("div", Wo, [
1886
- e("div", qo, [
1885
+ return o(), c("div", Ho, [
1886
+ e("div", Yo, [
1887
1887
  e("img", {
1888
1888
  src: r.logoSrc,
1889
1889
  alt: "Logo",
1890
1890
  class: "mix-top-menu__logo-img"
1891
- }, null, 8, Ho),
1892
- e("span", Yo, b(a(i).appName), 1)
1891
+ }, null, 8, Go),
1892
+ e("span", Xo, b(n(i).appName), 1)
1893
1893
  ]),
1894
- y(a(Ge), {
1894
+ y(n(Ge), {
1895
1895
  "model-value": m.value,
1896
1896
  mode: "horizontal",
1897
1897
  "background-color": W.value,
@@ -1901,20 +1901,20 @@ const de = Ie("menu", () => {
1901
1901
  onSelect: D
1902
1902
  }, {
1903
1903
  default: M(() => [
1904
- (s(!0), c(K, null, X(a(o).menuList, (C) => (s(), O(a(Se), {
1904
+ (o(!0), c(K, null, X(n(a).menuList, (C) => (o(), O(n(Se), {
1905
1905
  key: C.menuUrl,
1906
1906
  index: C.menuUrl
1907
1907
  }, {
1908
1908
  default: M(() => [
1909
- e("span", Go, [
1910
- C.menuName !== "首页" ? (s(), c("span", Xo, [
1911
- ie(F(C.icon)) ? (s(), O(a(U), {
1909
+ e("span", Jo, [
1910
+ C.menuName !== "首页" ? (o(), c("span", Zo, [
1911
+ ie(F(C.icon)) ? (o(), O(n(z), {
1912
1912
  key: 0,
1913
1913
  name: F(C.icon),
1914
1914
  size: 16
1915
- }, null, 8, ["name"])) : (s(), c("span", Jo, b(se(C.menuName)), 1))
1915
+ }, null, 8, ["name"])) : (o(), c("span", Qo, b(se(C.menuName)), 1))
1916
1916
  ])) : P("", !0),
1917
- e("span", Zo, b(C.menuName), 1)
1917
+ e("span", ea, b(C.menuName), 1)
1918
1918
  ])
1919
1919
  ]),
1920
1920
  _: 2
@@ -1922,46 +1922,46 @@ const de = Ie("menu", () => {
1922
1922
  ]),
1923
1923
  _: 1
1924
1924
  }, 8, ["model-value", "background-color", "text-color", "active-text-color"]),
1925
- e("div", Qo, [
1925
+ e("div", ta, [
1926
1926
  e("div", {
1927
1927
  class: "mix-top-menu__search",
1928
1928
  ref_key: "searchRef",
1929
1929
  ref: A
1930
1930
  }, [
1931
- y(a(U), {
1931
+ y(n(z), {
1932
1932
  name: "search",
1933
1933
  size: 14,
1934
1934
  class: "mix-top-menu__search-icon"
1935
1935
  }),
1936
1936
  Te(e("input", {
1937
- "onUpdate:modelValue": p[0] || (p[0] = (C) => N.value = C),
1937
+ "onUpdate:modelValue": p[0] || (p[0] = (C) => I.value = C),
1938
1938
  type: "text",
1939
1939
  class: "mix-top-menu__search-input",
1940
1940
  placeholder: "搜索菜单...",
1941
1941
  onFocus: p[1] || (p[1] = (C) => E.value = !0)
1942
1942
  }, null, 544), [
1943
- [We, N.value]
1943
+ [We, I.value]
1944
1944
  ]),
1945
1945
  y(ke, { name: "search-dropdown" }, {
1946
1946
  default: M(() => [
1947
- E.value && (_.value.length > 0 || N.value) ? (s(), c("div", en, [
1948
- _.value.length > 0 ? (s(), c("div", tn, [
1949
- (s(!0), c(K, null, X(_.value, (C) => (s(), c("div", {
1947
+ E.value && (_.value.length > 0 || I.value) ? (o(), c("div", sa, [
1948
+ _.value.length > 0 ? (o(), c("div", oa, [
1949
+ (o(!0), c(K, null, X(_.value, (C) => (o(), c("div", {
1950
1950
  key: C.path,
1951
1951
  class: "mix-top-menu__search-item",
1952
1952
  onClick: (Ze) => ve(C.path)
1953
1953
  }, [
1954
- C.title !== "首页" ? (s(), c("span", on, [
1955
- ie(F(C.icon)) ? (s(), O(a(U), {
1954
+ C.title !== "首页" ? (o(), c("span", na, [
1955
+ ie(F(C.icon)) ? (o(), O(n(z), {
1956
1956
  key: 0,
1957
1957
  name: F(C.icon),
1958
1958
  size: 16
1959
- }, null, 8, ["name"])) : (s(), c("span", nn, b(se(C.title)), 1))
1959
+ }, null, 8, ["name"])) : (o(), c("span", la, b(se(C.title)), 1))
1960
1960
  ])) : P("", !0),
1961
- e("span", an, b(C.title), 1),
1962
- C.parentTitle ? (s(), c("span", ln, b(C.parentTitle), 1)) : P("", !0)
1963
- ], 8, sn))), 128))
1964
- ])) : (s(), c("div", rn, " 未找到匹配的菜单 "))
1961
+ e("span", ra, b(C.title), 1),
1962
+ C.parentTitle ? (o(), c("span", ia, b(C.parentTitle), 1)) : P("", !0)
1963
+ ], 8, aa))), 128))
1964
+ ])) : (o(), c("div", ca, " 未找到匹配的菜单 "))
1965
1965
  ])) : P("", !0)
1966
1966
  ]),
1967
1967
  _: 1
@@ -1969,20 +1969,20 @@ const de = Ie("menu", () => {
1969
1969
  ], 512),
1970
1970
  e("div", {
1971
1971
  class: "mix-top-menu__action",
1972
- onClick: z,
1972
+ onClick: U,
1973
1973
  title: Y.value ? "退出全屏" : "全屏"
1974
1974
  }, [
1975
- y(a(U), {
1975
+ y(n(z), {
1976
1976
  name: Y.value ? "fullscreen-exit" : "fullscreen",
1977
1977
  size: 16
1978
1978
  }, null, 8, ["name"])
1979
- ], 8, cn),
1979
+ ], 8, ua),
1980
1980
  e("div", {
1981
1981
  class: "mix-top-menu__action",
1982
1982
  onClick: xe,
1983
1983
  title: "换肤设置"
1984
1984
  }, [
1985
- y(a(U), {
1985
+ y(n(z), {
1986
1986
  name: "skin",
1987
1987
  size: 16
1988
1988
  })
@@ -1992,8 +1992,8 @@ const de = Ie("menu", () => {
1992
1992
  onClick: pe,
1993
1993
  title: "切换主题"
1994
1994
  }, [
1995
- y(a(U), {
1996
- name: a(i).isDark ? "sun" : "moon",
1995
+ y(n(z), {
1996
+ name: n(i).isDark ? "sun" : "moon",
1997
1997
  size: 16
1998
1998
  }, null, 8, ["name"])
1999
1999
  ]),
@@ -2006,10 +2006,10 @@ const de = Ie("menu", () => {
2006
2006
  class: "mix-top-menu__user-trigger",
2007
2007
  onClick: Ee(_e, ["stop"])
2008
2008
  }, [
2009
- e("div", un, [
2010
- e("span", null, b(((R = a(h).userName) == null ? void 0 : R.charAt(0)) || "U"), 1)
2009
+ e("div", da, [
2010
+ e("span", null, b(((R = n(h).userName) == null ? void 0 : R.charAt(0)) || "U"), 1)
2011
2011
  ]),
2012
- e("span", dn, b(a(h).userName), 1),
2012
+ e("span", ma, b(n(h).userName), 1),
2013
2013
  e("span", {
2014
2014
  class: J(["mix-top-menu__user-arrow", { "is-active": H.value }])
2015
2015
  }, "▼", 2)
@@ -2018,23 +2018,23 @@ const de = Ie("menu", () => {
2018
2018
  default: M(() => {
2019
2019
  var C;
2020
2020
  return [
2021
- H.value ? (s(), c("div", mn, [
2022
- e("div", pn, [
2023
- e("div", vn, [
2024
- e("span", null, b(((C = a(h).userName) == null ? void 0 : C.charAt(0)) || "U"), 1)
2021
+ H.value ? (o(), c("div", pa, [
2022
+ e("div", va, [
2023
+ e("div", ha, [
2024
+ e("span", null, b(((C = n(h).userName) == null ? void 0 : C.charAt(0)) || "U"), 1)
2025
2025
  ]),
2026
- e("div", hn, [
2027
- e("div", _n, b(a(h).userName), 1),
2028
- e("div", fn, b(a(h).departmentName), 1)
2026
+ e("div", _a, [
2027
+ e("div", fa, b(n(h).userName), 1),
2028
+ e("div", ga, b(n(h).departmentName), 1)
2029
2029
  ])
2030
2030
  ]),
2031
2031
  p[7] || (p[7] = e("div", { class: "mix-top-menu__dropdown-divider" }, null, -1)),
2032
- e("div", gn, [
2032
+ e("div", ya, [
2033
2033
  e("div", {
2034
2034
  class: "mix-top-menu__dropdown-item",
2035
2035
  onClick: Q
2036
2036
  }, [
2037
- y(a(U), {
2037
+ y(n(z), {
2038
2038
  name: "user",
2039
2039
  size: 16
2040
2040
  }),
@@ -2044,7 +2044,7 @@ const de = Ie("menu", () => {
2044
2044
  class: "mix-top-menu__dropdown-item",
2045
2045
  onClick: x
2046
2046
  }, [
2047
- y(a(U), {
2047
+ y(n(z), {
2048
2048
  name: "lock",
2049
2049
  size: 16
2050
2050
  }),
@@ -2055,7 +2055,7 @@ const de = Ie("menu", () => {
2055
2055
  class: "mix-top-menu__dropdown-item mix-top-menu__dropdown-item--danger",
2056
2056
  onClick: S
2057
2057
  }, [
2058
- y(a(U), {
2058
+ y(n(z), {
2059
2059
  name: "logout",
2060
2060
  size: 16
2061
2061
  }),
@@ -2069,7 +2069,7 @@ const de = Ie("menu", () => {
2069
2069
  })
2070
2070
  ], 512)
2071
2071
  ]),
2072
- y(a(Xe), {
2072
+ y(n(Xe), {
2073
2073
  modelValue: q.value,
2074
2074
  "onUpdate:modelValue": p[2] || (p[2] = (C) => q.value = C),
2075
2075
  title: "换肤设置",
@@ -2077,26 +2077,26 @@ const de = Ie("menu", () => {
2077
2077
  size: "320px"
2078
2078
  }, {
2079
2079
  default: M(() => [
2080
- e("div", yn, [
2081
- e("div", kn, [
2080
+ e("div", ka, [
2081
+ e("div", wa, [
2082
2082
  p[11] || (p[11] = e("div", { class: "settings-title" }, "布局模式", -1)),
2083
- e("div", wn, [
2084
- (s(), c(K, null, X(Me, (C) => e("div", {
2083
+ e("div", ba, [
2084
+ (o(), c(K, null, X(Me, (C) => e("div", {
2085
2085
  key: C.value,
2086
2086
  class: J(["layout-option", { "is-active": fe.value === C.value }]),
2087
2087
  onClick: (Ze) => ge(C.value)
2088
2088
  }, [
2089
- e("div", xn, [
2090
- C.value === "sidebar" ? (s(), c("div", Cn, [...p[8] || (p[8] = [
2089
+ e("div", Ca, [
2090
+ C.value === "sidebar" ? (o(), c("div", $a, [...p[8] || (p[8] = [
2091
2091
  e("div", { class: "preview-aside" }, null, -1),
2092
2092
  e("div", { class: "preview-main" }, [
2093
2093
  e("div", { class: "preview-header" }),
2094
2094
  e("div", { class: "preview-content" })
2095
2095
  ], -1)
2096
- ])])) : C.value === "top" ? (s(), c("div", $n, [...p[9] || (p[9] = [
2096
+ ])])) : C.value === "top" ? (o(), c("div", La, [...p[9] || (p[9] = [
2097
2097
  e("div", { class: "preview-header-full" }, null, -1),
2098
2098
  e("div", { class: "preview-content-full" }, null, -1)
2099
- ])])) : (s(), c("div", Ln, [...p[10] || (p[10] = [
2099
+ ])])) : (o(), c("div", Ma, [...p[10] || (p[10] = [
2100
2100
  e("div", { class: "preview-header-mix" }, [
2101
2101
  e("div", { class: "preview-mix-left" })
2102
2102
  ], -1),
@@ -2106,33 +2106,33 @@ const de = Ie("menu", () => {
2106
2106
  ], -1)
2107
2107
  ])]))
2108
2108
  ]),
2109
- e("span", Mn, b(C.label), 1)
2110
- ], 10, bn)), 64))
2109
+ e("span", Sa, b(C.label), 1)
2110
+ ], 10, xa)), 64))
2111
2111
  ])
2112
2112
  ]),
2113
- e("div", Sn, [
2113
+ e("div", Ia, [
2114
2114
  p[12] || (p[12] = e("div", { class: "settings-title" }, "主题色", -1)),
2115
- e("div", Nn, [
2116
- (s(), c(K, null, X(T, (C) => e("div", {
2115
+ e("div", Na, [
2116
+ (o(), c(K, null, X(T, (C) => e("div", {
2117
2117
  key: C.value,
2118
- class: J(["color-option", { "is-active": a(i).primaryColor === C.value }]),
2119
- style: Ne({ backgroundColor: C.value }),
2118
+ class: J(["color-option", { "is-active": n(i).primaryColor === C.value }]),
2119
+ style: Ie({ backgroundColor: C.value }),
2120
2120
  title: C.label,
2121
2121
  onClick: (Ze) => k(C.value)
2122
2122
  }, [
2123
- a(i).primaryColor === C.value ? (s(), O(a(U), {
2123
+ n(i).primaryColor === C.value ? (o(), O(n(z), {
2124
2124
  key: 0,
2125
2125
  name: "check",
2126
2126
  size: 12,
2127
2127
  color: "#fff"
2128
2128
  })) : P("", !0)
2129
- ], 14, In)), 64))
2129
+ ], 14, Ua)), 64))
2130
2130
  ])
2131
2131
  ]),
2132
- e("div", zn, [
2132
+ e("div", za, [
2133
2133
  p[17] || (p[17] = e("div", { class: "settings-title" }, "功能设置", -1)),
2134
- e("div", Un, [
2135
- e("div", Tn, [
2134
+ e("div", Ta, [
2135
+ e("div", Ea, [
2136
2136
  p[14] || (p[14] = e("span", null, "灰色模式", -1)),
2137
2137
  e("div", {
2138
2138
  class: J(["switch-wrapper", { "is-checked": ee.value }]),
@@ -2141,10 +2141,10 @@ const de = Ie("menu", () => {
2141
2141
  e("span", { class: "switch-core" }, null, -1)
2142
2142
  ])], 2)
2143
2143
  ]),
2144
- e("div", En, [
2144
+ e("div", Pa, [
2145
2145
  p[16] || (p[16] = e("span", null, "暗黑模式", -1)),
2146
2146
  e("div", {
2147
- class: J(["switch-wrapper", { "is-checked": a(i).isDark }]),
2147
+ class: J(["switch-wrapper", { "is-checked": n(i).isDark }]),
2148
2148
  onClick: Le
2149
2149
  }, [...p[15] || (p[15] = [
2150
2150
  e("span", { class: "switch-core" }, null, -1)
@@ -2159,79 +2159,79 @@ const de = Ie("menu", () => {
2159
2159
  ]);
2160
2160
  };
2161
2161
  }
2162
- }), An = /* @__PURE__ */ re(Pn, [["__scopeId", "data-v-d5fb6d2a"]]), Dn = {
2162
+ }), Da = /* @__PURE__ */ re(Aa, [["__scopeId", "data-v-d5fb6d2a"]]), Va = {
2163
2163
  key: 0,
2164
2164
  class: "layout layout--sidebar"
2165
- }, Vn = { class: "layout__main" }, On = { class: "layout__header" }, Bn = { class: "layout__content" }, Rn = {
2165
+ }, Oa = { class: "layout__main" }, Ba = { class: "layout__header" }, Ra = { class: "layout__content" }, Fa = {
2166
2166
  key: 1,
2167
2167
  class: "layout layout--top"
2168
- }, Fn = { class: "layout__top-menu" }, Kn = { class: "layout__main" }, jn = { class: "layout__content" }, Wn = {
2168
+ }, Ka = { class: "layout__top-menu" }, ja = { class: "layout__main" }, Wa = { class: "layout__content" }, qa = {
2169
2169
  key: 2,
2170
2170
  class: "layout layout--mix"
2171
- }, qn = { class: "layout__mix-top-menu" }, Hn = { class: "layout__mix-body" }, Yn = { class: "layout__content" }, Gn = /* @__PURE__ */ ae({
2171
+ }, Ha = { class: "layout__mix-top-menu" }, Ya = { class: "layout__mix-body" }, Ga = { class: "layout__content" }, Xa = /* @__PURE__ */ ne({
2172
2172
  __name: "index",
2173
2173
  props: {
2174
2174
  logoSrc: { default: "/vite.svg" }
2175
2175
  },
2176
2176
  setup(t) {
2177
- const r = t, d = ue(), n = de(), o = w(
2177
+ const r = t, d = ue(), s = de(), a = w(
2178
2178
  () => d.isCollapsed ? "64px" : "210px"
2179
- ), i = w(() => d.layout), h = w(() => i.value === "mix"), v = w(() => i.value === "sidebar" ? n.menuList : i.value === "mix" ? d.mixSubMenus : []), m = w(() => h.value ? v.value.length > 0 : !1);
2179
+ ), i = w(() => d.layout), h = w(() => i.value === "mix"), v = w(() => i.value === "sidebar" ? s.menuList : i.value === "mix" ? d.mixSubMenus : []), m = w(() => h.value ? v.value.length > 0 : !1);
2180
2180
  return (f, _) => {
2181
- const u = lt("router-view");
2182
- return s(), c(K, null, [
2183
- i.value === "sidebar" ? (s(), c("div", Dn, [
2181
+ const u = rt("router-view");
2182
+ return o(), c(K, null, [
2183
+ i.value === "sidebar" ? (o(), c("div", Va, [
2184
2184
  e("aside", {
2185
2185
  class: "layout__aside",
2186
- style: Ne({ width: o.value })
2186
+ style: Ie({ width: a.value })
2187
2187
  }, [
2188
- y(et, {
2188
+ y(tt, {
2189
2189
  "menu-list": v.value,
2190
2190
  "show-logo": !0,
2191
2191
  "show-user": !0,
2192
2192
  "logo-src": r.logoSrc
2193
2193
  }, null, 8, ["menu-list", "logo-src"])
2194
2194
  ], 4),
2195
- e("div", Vn, [
2196
- e("header", On, [
2197
- y(As)
2195
+ e("div", Oa, [
2196
+ e("header", Ba, [
2197
+ y(Vs)
2198
2198
  ]),
2199
- e("main", Bn, [
2199
+ e("main", Ra, [
2200
2200
  y(u)
2201
2201
  ])
2202
2202
  ])
2203
2203
  ])) : P("", !0),
2204
- i.value === "top" ? (s(), c("div", Rn, [
2205
- e("div", Fn, [
2206
- y(jo, {
2204
+ i.value === "top" ? (o(), c("div", Fa, [
2205
+ e("div", Ka, [
2206
+ y(qo, {
2207
2207
  "logo-src": r.logoSrc
2208
2208
  }, null, 8, ["logo-src"])
2209
2209
  ]),
2210
- e("div", Kn, [
2211
- e("main", jn, [
2210
+ e("div", ja, [
2211
+ e("main", Wa, [
2212
2212
  y(u)
2213
2213
  ])
2214
2214
  ])
2215
2215
  ])) : P("", !0),
2216
- i.value === "mix" ? (s(), c("div", Wn, [
2217
- e("div", qn, [
2218
- y(An, {
2216
+ i.value === "mix" ? (o(), c("div", qa, [
2217
+ e("div", Ha, [
2218
+ y(Da, {
2219
2219
  "logo-src": r.logoSrc
2220
2220
  }, null, 8, ["logo-src"])
2221
2221
  ]),
2222
- e("div", Hn, [
2223
- m.value ? (s(), c("aside", {
2222
+ e("div", Ya, [
2223
+ m.value ? (o(), c("aside", {
2224
2224
  key: 0,
2225
2225
  class: "layout__aside",
2226
- style: Ne({ width: o.value })
2226
+ style: Ie({ width: a.value })
2227
2227
  }, [
2228
- y(et, {
2228
+ y(tt, {
2229
2229
  "menu-list": v.value,
2230
2230
  "show-logo": !1,
2231
2231
  "show-user": !1
2232
2232
  }, null, 8, ["menu-list"])
2233
2233
  ], 4)) : P("", !0),
2234
- e("main", Yn, [
2234
+ e("main", Ga, [
2235
2235
  y(u)
2236
2236
  ])
2237
2237
  ])
@@ -2239,13 +2239,13 @@ const de = Ie("menu", () => {
2239
2239
  ], 64);
2240
2240
  };
2241
2241
  }
2242
- }), it = /* @__PURE__ */ re(Gn, [["__scopeId", "data-v-38f2fc61"]]), Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2242
+ }), ct = /* @__PURE__ */ re(Xa, [["__scopeId", "data-v-38f2fc61"]]), Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2243
2243
  __proto__: null,
2244
- default: it
2245
- }, Symbol.toStringTag, { value: "Module" })), Jn = { class: "tabs-wrapper" }, Zn = { class: "tab-label" }, Qn = ["onClick"], ea = /* @__PURE__ */ ae({
2244
+ default: ct
2245
+ }, Symbol.toStringTag, { value: "Module" })), Za = { class: "tabs-wrapper" }, Qa = { class: "tab-label" }, en = ["onClick"], tn = /* @__PURE__ */ ne({
2246
2246
  __name: "Tabs",
2247
2247
  setup(t) {
2248
- const r = be(), d = me(), n = w(() => {
2248
+ const r = be(), d = me(), s = w(() => {
2249
2249
  const v = [];
2250
2250
  return r.matched.forEach((m) => {
2251
2251
  var f;
@@ -2256,37 +2256,37 @@ const de = Ie("menu", () => {
2256
2256
  affix: !0
2257
2257
  });
2258
2258
  }), v;
2259
- }), o = w(() => r.path), i = (v) => {
2259
+ }), a = w(() => r.path), i = (v) => {
2260
2260
  d.push(v);
2261
2261
  }, h = (v) => {
2262
- const m = n.value.find((f) => f.path === v);
2263
- if (!(m != null && m.affix) && v === o.value) {
2264
- const f = n.value.findIndex((u) => u.path === v), _ = n.value[f - 1] || n.value[f + 1];
2262
+ const m = s.value.find((f) => f.path === v);
2263
+ if (!(m != null && m.affix) && v === a.value) {
2264
+ const f = s.value.findIndex((u) => u.path === v), _ = s.value[f - 1] || s.value[f + 1];
2265
2265
  _ && d.push(_.path);
2266
2266
  }
2267
2267
  };
2268
- return (v, m) => (s(), c("div", Jn, [
2269
- y(a(bt), {
2270
- modelValue: o.value,
2271
- "onUpdate:modelValue": m[0] || (m[0] = (f) => o.value = f),
2268
+ return (v, m) => (o(), c("div", Za, [
2269
+ y(n(Ct), {
2270
+ modelValue: a.value,
2271
+ "onUpdate:modelValue": m[0] || (m[0] = (f) => a.value = f),
2272
2272
  type: "card",
2273
2273
  onTabClick: i
2274
2274
  }, {
2275
2275
  default: M(() => [
2276
- (s(!0), c(K, null, X(n.value, (f) => (s(), O(a(xt), {
2276
+ (o(!0), c(K, null, X(s.value, (f) => (o(), O(n($t), {
2277
2277
  key: f.path,
2278
2278
  name: f.path,
2279
2279
  label: f.title,
2280
2280
  closable: !f.affix
2281
2281
  }, {
2282
2282
  label: M(() => [
2283
- e("span", Zn, [
2283
+ e("span", Qa, [
2284
2284
  he(b(f.title) + " ", 1),
2285
- f.affix ? P("", !0) : (s(), c("span", {
2285
+ f.affix ? P("", !0) : (o(), c("span", {
2286
2286
  key: 0,
2287
2287
  class: "tab-close",
2288
2288
  onClick: Ee((_) => h(f.path), ["stop"])
2289
- }, " ✕ ", 8, Qn))
2289
+ }, " ✕ ", 8, en))
2290
2290
  ])
2291
2291
  ]),
2292
2292
  _: 2
@@ -2296,16 +2296,16 @@ const de = Ie("menu", () => {
2296
2296
  }, 8, ["modelValue"])
2297
2297
  ]));
2298
2298
  }
2299
- }), Ka = /* @__PURE__ */ re(ea, [["__scopeId", "data-v-9156d8cd"]]), ta = {}, sa = { class: "footer" };
2300
- function oa(t, r) {
2301
- return s(), c("div", sa, [...r[0] || (r[0] = [
2299
+ }), Wn = /* @__PURE__ */ re(tn, [["__scopeId", "data-v-9156d8cd"]]), sn = {}, on = { class: "footer" };
2300
+ function an(t, r) {
2301
+ return o(), c("div", on, [...r[0] || (r[0] = [
2302
2302
  e("span", null, "Copyright © 2024 Xto Demo. All Rights Reserved.", -1)
2303
2303
  ])]);
2304
2304
  }
2305
- const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826a"]]), na = { class: "login-page" }, aa = { class: "login-form-section" }, la = { class: "form-container" }, ra = { class: "input-wrapper" }, ia = { class: "input-wrapper" }, ca = { class: "form-options" }, ua = { key: 0 }, da = { key: 1 }, ma = /* @__PURE__ */ ae({
2305
+ const qn = /* @__PURE__ */ re(sn, [["render", an], ["__scopeId", "data-v-4852826a"]]), nn = { class: "login-page" }, ln = { class: "login-form-section" }, rn = { class: "form-container" }, cn = { class: "input-wrapper" }, un = { class: "input-wrapper" }, dn = { class: "form-options" }, mn = { key: 0 }, pn = { key: 1 }, vn = /* @__PURE__ */ ne({
2306
2306
  __name: "index",
2307
2307
  setup(t) {
2308
- const r = me(), d = be(), n = g(!1), o = g(!1), i = qe({
2308
+ const r = me(), d = be(), s = g(!1), a = g(!1), i = qe({
2309
2309
  uid: "",
2310
2310
  password: ""
2311
2311
  }), h = {
@@ -2319,32 +2319,32 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2319
2319
  }, v = g(), m = async () => {
2320
2320
  var f;
2321
2321
  try {
2322
- await ((f = v.value) == null ? void 0 : f.validate()), n.value = !0;
2323
- const _ = await pt({
2322
+ await ((f = v.value) == null ? void 0 : f.validate()), s.value = !0;
2323
+ const _ = await vt({
2324
2324
  appId: Fe(),
2325
- clientId: at(),
2325
+ clientId: lt(),
2326
2326
  uid: i.uid,
2327
2327
  password: i.password,
2328
2328
  code: !0
2329
2329
  });
2330
- nt(_), Ct.success("登录成功");
2330
+ nt(_), Lt.success("登录成功");
2331
2331
  const u = d.query.redirect;
2332
2332
  u ? r.push(u) : r.push({ name: "Dashboard" });
2333
2333
  } catch (_) {
2334
2334
  console.error("登录失败:", _);
2335
2335
  } finally {
2336
- n.value = !1;
2336
+ s.value = !1;
2337
2337
  }
2338
2338
  };
2339
- return (f, _) => (s(), c("div", na, [
2340
- _[10] || (_[10] = Ue('<div class="login-brand" data-v-ef91e533><div class="brand-content" data-v-ef91e533><div class="brand-logo" data-v-ef91e533><div class="logo-icon" data-v-ef91e533><svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-ef91e533><rect width="48" height="48" rx="12" fill="currentColor" data-v-ef91e533></rect><path d="M14 24L20 30L34 16" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" data-v-ef91e533></path></svg></div><span class="logo-text" data-v-ef91e533>XTO</span></div><div class="brand-slogan" data-v-ef91e533><h1 data-v-ef91e533>企业级后台管理解决方案</h1><p data-v-ef91e533>开箱即用的中后台前端/设计解决方案</p></div><div class="brand-features" data-v-ef91e533><div class="feature-item" data-v-ef91e533><div class="feature-icon" data-v-ef91e533><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-ef91e533><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" data-v-ef91e533></path></svg></div><div class="feature-text" data-v-ef91e533><h4 data-v-ef91e533>高性能</h4><p data-v-ef91e533>极致的渲染性能与响应速度</p></div></div><div class="feature-item" data-v-ef91e533><div class="feature-icon" data-v-ef91e533><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-ef91e533><rect x="3" y="3" width="18" height="18" rx="2" data-v-ef91e533></rect><path d="M9 9h6M9 12h6M9 15h4" data-v-ef91e533></path></svg></div><div class="feature-text" data-v-ef91e533><h4 data-v-ef91e533>丰富组件</h4><p data-v-ef91e533>60+ 高质量业务组件</p></div></div><div class="feature-item" data-v-ef91e533><div class="feature-icon" data-v-ef91e533><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-ef91e533><circle cx="12" cy="12" r="10" data-v-ef91e533></circle><path d="M12 6v6l4 2" data-v-ef91e533></path></svg></div><div class="feature-text" data-v-ef91e533><h4 data-v-ef91e533>持续更新</h4><p data-v-ef91e533>活跃的社区与快速迭代</p></div></div></div><div class="brand-decoration" data-v-ef91e533><div class="decoration-line" data-v-ef91e533></div><div class="decoration-dots" data-v-ef91e533><span data-v-ef91e533></span><span data-v-ef91e533></span><span data-v-ef91e533></span></div></div></div><div class="brand-bg" data-v-ef91e533><div class="bg-grid" data-v-ef91e533></div><div class="bg-glow" data-v-ef91e533></div><div class="bg-pattern" data-v-ef91e533></div></div></div>', 1)),
2341
- e("div", aa, [
2342
- e("div", la, [
2339
+ return (f, _) => (o(), c("div", nn, [
2340
+ _[10] || (_[10] = ze('<div class="login-brand" data-v-ef91e533><div class="brand-content" data-v-ef91e533><div class="brand-logo" data-v-ef91e533><div class="logo-icon" data-v-ef91e533><svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-ef91e533><rect width="48" height="48" rx="12" fill="currentColor" data-v-ef91e533></rect><path d="M14 24L20 30L34 16" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" data-v-ef91e533></path></svg></div><span class="logo-text" data-v-ef91e533>XTO</span></div><div class="brand-slogan" data-v-ef91e533><h1 data-v-ef91e533>企业级后台管理解决方案</h1><p data-v-ef91e533>开箱即用的中后台前端/设计解决方案</p></div><div class="brand-features" data-v-ef91e533><div class="feature-item" data-v-ef91e533><div class="feature-icon" data-v-ef91e533><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-ef91e533><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" data-v-ef91e533></path></svg></div><div class="feature-text" data-v-ef91e533><h4 data-v-ef91e533>高性能</h4><p data-v-ef91e533>极致的渲染性能与响应速度</p></div></div><div class="feature-item" data-v-ef91e533><div class="feature-icon" data-v-ef91e533><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-ef91e533><rect x="3" y="3" width="18" height="18" rx="2" data-v-ef91e533></rect><path d="M9 9h6M9 12h6M9 15h4" data-v-ef91e533></path></svg></div><div class="feature-text" data-v-ef91e533><h4 data-v-ef91e533>丰富组件</h4><p data-v-ef91e533>60+ 高质量业务组件</p></div></div><div class="feature-item" data-v-ef91e533><div class="feature-icon" data-v-ef91e533><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-ef91e533><circle cx="12" cy="12" r="10" data-v-ef91e533></circle><path d="M12 6v6l4 2" data-v-ef91e533></path></svg></div><div class="feature-text" data-v-ef91e533><h4 data-v-ef91e533>持续更新</h4><p data-v-ef91e533>活跃的社区与快速迭代</p></div></div></div><div class="brand-decoration" data-v-ef91e533><div class="decoration-line" data-v-ef91e533></div><div class="decoration-dots" data-v-ef91e533><span data-v-ef91e533></span><span data-v-ef91e533></span><span data-v-ef91e533></span></div></div></div><div class="brand-bg" data-v-ef91e533><div class="bg-grid" data-v-ef91e533></div><div class="bg-glow" data-v-ef91e533></div><div class="bg-pattern" data-v-ef91e533></div></div></div>', 1)),
2341
+ e("div", ln, [
2342
+ e("div", rn, [
2343
2343
  _[7] || (_[7] = e("div", { class: "form-header" }, [
2344
2344
  e("h2", null, "欢迎登录"),
2345
2345
  e("p", null, "请输入您的账户信息")
2346
2346
  ], -1)),
2347
- y(a($t), {
2347
+ y(n(Mt), {
2348
2348
  ref_key: "formRef",
2349
2349
  ref: v,
2350
2350
  model: i,
@@ -2353,18 +2353,18 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2353
2353
  "label-width": "0"
2354
2354
  }, {
2355
2355
  default: M(() => [
2356
- y(a(Pe), { prop: "uid" }, {
2356
+ y(n(Pe), { prop: "uid" }, {
2357
2357
  default: M(() => [
2358
- e("div", ra, [
2358
+ e("div", cn, [
2359
2359
  _[3] || (_[3] = e("label", { class: "input-label" }, "用户名", -1)),
2360
- y(a(Qe), {
2360
+ y(n(et), {
2361
2361
  modelValue: i.uid,
2362
2362
  "onUpdate:modelValue": _[0] || (_[0] = (u) => i.uid = u),
2363
2363
  placeholder: "请输入用户名",
2364
2364
  size: "large"
2365
2365
  }, {
2366
2366
  prefix: M(() => [
2367
- y(a(U), {
2367
+ y(n(z), {
2368
2368
  name: "user",
2369
2369
  size: 18
2370
2370
  })
@@ -2375,21 +2375,21 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2375
2375
  ]),
2376
2376
  _: 1
2377
2377
  }),
2378
- y(a(Pe), { prop: "password" }, {
2378
+ y(n(Pe), { prop: "password" }, {
2379
2379
  default: M(() => [
2380
- e("div", ia, [
2380
+ e("div", un, [
2381
2381
  _[4] || (_[4] = e("label", { class: "input-label" }, "密码", -1)),
2382
- y(a(Qe), {
2382
+ y(n(et), {
2383
2383
  modelValue: i.password,
2384
2384
  "onUpdate:modelValue": _[1] || (_[1] = (u) => i.password = u),
2385
2385
  type: "password",
2386
2386
  placeholder: "请输入密码",
2387
2387
  size: "large",
2388
2388
  "show-password": "",
2389
- onKeyup: kt(m, ["enter"])
2389
+ onKeyup: bt(m, ["enter"])
2390
2390
  }, {
2391
2391
  prefix: M(() => [
2392
- y(a(U), {
2392
+ y(n(z), {
2393
2393
  name: "lock",
2394
2394
  size: 18
2395
2395
  })
@@ -2400,10 +2400,10 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2400
2400
  ]),
2401
2401
  _: 1
2402
2402
  }),
2403
- e("div", ca, [
2404
- y(a(Lt), {
2405
- modelValue: o.value,
2406
- "onUpdate:modelValue": _[2] || (_[2] = (u) => o.value = u)
2403
+ e("div", dn, [
2404
+ y(n(St), {
2405
+ modelValue: a.value,
2406
+ "onUpdate:modelValue": _[2] || (_[2] = (u) => a.value = u)
2407
2407
  }, {
2408
2408
  default: M(() => [..._[5] || (_[5] = [
2409
2409
  he("记住我", -1)
@@ -2415,17 +2415,17 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2415
2415
  class: "forgot-link"
2416
2416
  }, "忘记密码?", -1))
2417
2417
  ]),
2418
- y(a(Pe), null, {
2418
+ y(n(Pe), null, {
2419
2419
  default: M(() => [
2420
- y(a(we), {
2420
+ y(n(we), {
2421
2421
  type: "primary",
2422
2422
  size: "large",
2423
- loading: n.value,
2423
+ loading: s.value,
2424
2424
  class: "login-btn",
2425
2425
  onClick: m
2426
2426
  }, {
2427
2427
  default: M(() => [
2428
- n.value ? (s(), c("span", da, "登录中...")) : (s(), c("span", ua, "登 录"))
2428
+ s.value ? (o(), c("span", pn, "登录中...")) : (o(), c("span", mn, "登 录"))
2429
2429
  ]),
2430
2430
  _: 1
2431
2431
  }, 8, ["loading"])
@@ -2435,7 +2435,7 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2435
2435
  ]),
2436
2436
  _: 1
2437
2437
  }, 8, ["model"]),
2438
- _[8] || (_[8] = Ue('<div class="form-footer" data-v-ef91e533><p data-v-ef91e533>其他登录方式</p><div class="social-login" data-v-ef91e533><button class="social-btn" title="企业微信" data-v-ef91e533><svg viewBox="0 0 24 24" fill="currentColor" data-v-ef91e533><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" data-v-ef91e533></path></svg></button><button class="social-btn" title="钉钉" data-v-ef91e533><svg viewBox="0 0 24 24" fill="currentColor" data-v-ef91e533><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69a.2.2 0 00-.05-.18c-.06-.05-.14-.03-.21-.02-.09.02-1.49.95-4.22 2.79-.4.27-.76.41-1.08.4-.36-.01-1.04-.2-1.55-.37-.63-.2-1.12-.31-1.08-.66.02-.18.27-.36.74-.55 2.92-1.27 4.86-2.11 5.83-2.51 2.78-1.16 3.35-1.36 3.73-1.36.08 0 .27.02.39.12.1.08.13.19.14.27-.01.06.01.24 0 .38z" data-v-ef91e533></path></svg></button><button class="social-btn" title="飞书" data-v-ef91e533><svg viewBox="0 0 24 24" fill="currentColor" data-v-ef91e533><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" data-v-ef91e533></path></svg></button></div></div>', 1))
2438
+ _[8] || (_[8] = ze('<div class="form-footer" data-v-ef91e533><p data-v-ef91e533>其他登录方式</p><div class="social-login" data-v-ef91e533><button class="social-btn" title="企业微信" data-v-ef91e533><svg viewBox="0 0 24 24" fill="currentColor" data-v-ef91e533><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" data-v-ef91e533></path></svg></button><button class="social-btn" title="钉钉" data-v-ef91e533><svg viewBox="0 0 24 24" fill="currentColor" data-v-ef91e533><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69a.2.2 0 00-.05-.18c-.06-.05-.14-.03-.21-.02-.09.02-1.49.95-4.22 2.79-.4.27-.76.41-1.08.4-.36-.01-1.04-.2-1.55-.37-.63-.2-1.12-.31-1.08-.66.02-.18.27-.36.74-.55 2.92-1.27 4.86-2.11 5.83-2.51 2.78-1.16 3.35-1.36 3.73-1.36.08 0 .27.02.39.12.1.08.13.19.14.27-.01.06.01.24 0 .38z" data-v-ef91e533></path></svg></button><button class="social-btn" title="飞书" data-v-ef91e533><svg viewBox="0 0 24 24" fill="currentColor" data-v-ef91e533><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" data-v-ef91e533></path></svg></button></div></div>', 1))
2439
2439
  ]),
2440
2440
  _[9] || (_[9] = e("div", { class: "copyright" }, [
2441
2441
  e("p", null, "© 2024 XTO Team. All rights reserved.")
@@ -2443,31 +2443,31 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2443
2443
  ])
2444
2444
  ]));
2445
2445
  }
2446
- }), pa = /* @__PURE__ */ re(ma, [["__scopeId", "data-v-ef91e533"]]), va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2446
+ }), hn = /* @__PURE__ */ re(vn, [["__scopeId", "data-v-ef91e533"]]), _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2447
2447
  __proto__: null,
2448
- default: pa
2449
- }, Symbol.toStringTag, { value: "Module" })), ha = { class: "error-page" }, _a = { class: "error-container" }, fa = { class: "error-content" }, ga = { class: "error-actions" }, ya = /* @__PURE__ */ ae({
2448
+ default: hn
2449
+ }, Symbol.toStringTag, { value: "Module" })), fn = { class: "error-page" }, gn = { class: "error-container" }, yn = { class: "error-content" }, kn = { class: "error-actions" }, wn = /* @__PURE__ */ ne({
2450
2450
  __name: "404",
2451
2451
  setup(t) {
2452
2452
  const r = me(), d = () => {
2453
2453
  r.push("/");
2454
2454
  };
2455
- return (n, o) => (s(), c("div", ha, [
2456
- e("div", _a, [
2457
- o[7] || (o[7] = e("div", { class: "error-bg" }, [
2455
+ return (s, a) => (o(), c("div", fn, [
2456
+ e("div", gn, [
2457
+ a[7] || (a[7] = e("div", { class: "error-bg" }, [
2458
2458
  e("div", { class: "bg-circle circle-1" }),
2459
2459
  e("div", { class: "bg-circle circle-2" }),
2460
2460
  e("div", { class: "bg-circle circle-3" })
2461
2461
  ], -1)),
2462
- e("div", fa, [
2463
- o[5] || (o[5] = Ue('<div class="error-code" data-v-1b083153><span class="code-digit" data-v-1b083153>4</span><span class="code-zero" data-v-1b083153><span class="zero-inner" data-v-1b083153>0</span></span><span class="code-digit" data-v-1b083153>4</span></div><div class="error-illustration" data-v-1b083153><svg viewBox="0 0 200 120" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-1b083153><rect x="40" y="20" width="120" height="80" rx="8" fill="var(--color-fill)" stroke="var(--color-border)" stroke-width="2" data-v-1b083153></rect><rect x="50" y="30" width="100" height="60" rx="4" fill="var(--bg-color)" data-v-1b083153></rect><line x1="60" y1="45" x2="140" y2="45" stroke="var(--color-border-light)" stroke-width="2" data-v-1b083153></line><line x1="60" y1="55" x2="120" y2="55" stroke="var(--color-border-light)" stroke-width="2" data-v-1b083153></line><line x1="60" y1="65" x2="100" y2="65" stroke="var(--color-border-light)" stroke-width="2" data-v-1b083153></line><text x="100" y="75" text-anchor="middle" fill="var(--color-primary)" font-size="24" font-weight="600" data-v-1b083153>?</text><circle cx="150" cy="35" r="12" stroke="var(--color-primary)" stroke-width="2" fill="none" data-v-1b083153></circle><line x1="158" y1="43" x2="168" y2="53" stroke="var(--color-primary)" stroke-width="2" stroke-linecap="round" data-v-1b083153></line></svg></div><h1 class="error-title" data-v-1b083153>页面不存在</h1><p class="error-desc" data-v-1b083153>抱歉,您访问的页面不存在或已被删除</p>', 4)),
2464
- e("div", ga, [
2465
- y(a(we), {
2462
+ e("div", yn, [
2463
+ a[5] || (a[5] = ze('<div class="error-code" data-v-1b083153><span class="code-digit" data-v-1b083153>4</span><span class="code-zero" data-v-1b083153><span class="zero-inner" data-v-1b083153>0</span></span><span class="code-digit" data-v-1b083153>4</span></div><div class="error-illustration" data-v-1b083153><svg viewBox="0 0 200 120" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-1b083153><rect x="40" y="20" width="120" height="80" rx="8" fill="var(--color-fill)" stroke="var(--color-border)" stroke-width="2" data-v-1b083153></rect><rect x="50" y="30" width="100" height="60" rx="4" fill="var(--bg-color)" data-v-1b083153></rect><line x1="60" y1="45" x2="140" y2="45" stroke="var(--color-border-light)" stroke-width="2" data-v-1b083153></line><line x1="60" y1="55" x2="120" y2="55" stroke="var(--color-border-light)" stroke-width="2" data-v-1b083153></line><line x1="60" y1="65" x2="100" y2="65" stroke="var(--color-border-light)" stroke-width="2" data-v-1b083153></line><text x="100" y="75" text-anchor="middle" fill="var(--color-primary)" font-size="24" font-weight="600" data-v-1b083153>?</text><circle cx="150" cy="35" r="12" stroke="var(--color-primary)" stroke-width="2" fill="none" data-v-1b083153></circle><line x1="158" y1="43" x2="168" y2="53" stroke="var(--color-primary)" stroke-width="2" stroke-linecap="round" data-v-1b083153></line></svg></div><h1 class="error-title" data-v-1b083153>页面不存在</h1><p class="error-desc" data-v-1b083153>抱歉,您访问的页面不存在或已被删除</p>', 4)),
2464
+ e("div", kn, [
2465
+ y(n(we), {
2466
2466
  type: "primary",
2467
2467
  size: "large",
2468
2468
  onClick: d
2469
2469
  }, {
2470
- icon: M(() => [...o[1] || (o[1] = [
2470
+ icon: M(() => [...a[1] || (a[1] = [
2471
2471
  e("svg", {
2472
2472
  viewBox: "0 0 24 24",
2473
2473
  fill: "none",
@@ -2479,15 +2479,15 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2479
2479
  ], -1)
2480
2480
  ])]),
2481
2481
  default: M(() => [
2482
- o[2] || (o[2] = he(" 返回首页 ", -1))
2482
+ a[2] || (a[2] = he(" 返回首页 ", -1))
2483
2483
  ]),
2484
2484
  _: 1
2485
2485
  }),
2486
- y(a(we), {
2486
+ y(n(we), {
2487
2487
  size: "large",
2488
- onClick: o[0] || (o[0] = (i) => a(r).go(-1))
2488
+ onClick: a[0] || (a[0] = (i) => n(r).go(-1))
2489
2489
  }, {
2490
- icon: M(() => [...o[3] || (o[3] = [
2490
+ icon: M(() => [...a[3] || (a[3] = [
2491
2491
  e("svg", {
2492
2492
  viewBox: "0 0 24 24",
2493
2493
  fill: "none",
@@ -2498,12 +2498,12 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2498
2498
  ], -1)
2499
2499
  ])]),
2500
2500
  default: M(() => [
2501
- o[4] || (o[4] = he(" 返回上一页 ", -1))
2501
+ a[4] || (a[4] = he(" 返回上一页 ", -1))
2502
2502
  ]),
2503
2503
  _: 1
2504
2504
  })
2505
2505
  ]),
2506
- o[6] || (o[6] = e("div", { class: "error-tip" }, [
2506
+ a[6] || (a[6] = e("div", { class: "error-tip" }, [
2507
2507
  e("p", null, "您可以尝试:"),
2508
2508
  e("ul", null, [
2509
2509
  e("li", null, "检查您输入的网址是否正确"),
@@ -2515,31 +2515,31 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2515
2515
  ])
2516
2516
  ]));
2517
2517
  }
2518
- }), ka = /* @__PURE__ */ re(ya, [["__scopeId", "data-v-1b083153"]]), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2518
+ }), bn = /* @__PURE__ */ re(wn, [["__scopeId", "data-v-1b083153"]]), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2519
2519
  __proto__: null,
2520
- default: ka
2521
- }, Symbol.toStringTag, { value: "Module" })), wa = { class: "error-page" }, ba = { class: "error-container" }, xa = { class: "error-content" }, Ca = { class: "error-actions" }, $a = /* @__PURE__ */ ae({
2520
+ default: bn
2521
+ }, Symbol.toStringTag, { value: "Module" })), xn = { class: "error-page" }, Cn = { class: "error-container" }, $n = { class: "error-content" }, Ln = { class: "error-actions" }, Mn = /* @__PURE__ */ ne({
2522
2522
  __name: "403",
2523
2523
  setup(t) {
2524
2524
  const r = me(), d = () => {
2525
2525
  r.push("/");
2526
2526
  };
2527
- return (n, o) => (s(), c("div", wa, [
2528
- e("div", ba, [
2529
- o[7] || (o[7] = e("div", { class: "error-bg" }, [
2527
+ return (s, a) => (o(), c("div", xn, [
2528
+ e("div", Cn, [
2529
+ a[7] || (a[7] = e("div", { class: "error-bg" }, [
2530
2530
  e("div", { class: "bg-circle circle-1" }),
2531
2531
  e("div", { class: "bg-circle circle-2" }),
2532
2532
  e("div", { class: "bg-circle circle-3" })
2533
2533
  ], -1)),
2534
- e("div", xa, [
2535
- o[5] || (o[5] = Ue('<div class="error-code" data-v-d167f981><span class="code-digit" data-v-d167f981>4</span><span class="code-zero warning" data-v-d167f981><span class="zero-inner" data-v-d167f981>0</span></span><span class="code-digit" data-v-d167f981>3</span></div><div class="error-illustration" data-v-d167f981><svg viewBox="0 0 200 120" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-d167f981><path d="M100 15 L150 35 L150 70 C150 95 100 110 100 110 C100 110 50 95 50 70 L50 35 Z" fill="var(--color-warning-lighter)" stroke="var(--color-warning)" stroke-width="2" data-v-d167f981></path><rect x="85" y="55" width="30" height="25" rx="4" fill="var(--color-warning)" data-v-d167f981></rect><path d="M92 55 V48 A8 8 0 0 1 108 48 V55" fill="none" stroke="var(--color-warning)" stroke-width="3" data-v-d167f981></path><circle cx="100" cy="67" r="6" fill="none" stroke="#fff" stroke-width="2" data-v-d167f981></circle><line x1="96" y1="63" x2="104" y2="71" stroke="#fff" stroke-width="2" data-v-d167f981></line></svg></div><h1 class="error-title" data-v-d167f981>无访问权限</h1><p class="error-desc" data-v-d167f981>抱歉,您没有权限访问此页面,请联系管理员获取权限</p>', 4)),
2536
- e("div", Ca, [
2537
- y(a(we), {
2534
+ e("div", $n, [
2535
+ a[5] || (a[5] = ze('<div class="error-code" data-v-d167f981><span class="code-digit" data-v-d167f981>4</span><span class="code-zero warning" data-v-d167f981><span class="zero-inner" data-v-d167f981>0</span></span><span class="code-digit" data-v-d167f981>3</span></div><div class="error-illustration" data-v-d167f981><svg viewBox="0 0 200 120" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-d167f981><path d="M100 15 L150 35 L150 70 C150 95 100 110 100 110 C100 110 50 95 50 70 L50 35 Z" fill="var(--color-warning-lighter)" stroke="var(--color-warning)" stroke-width="2" data-v-d167f981></path><rect x="85" y="55" width="30" height="25" rx="4" fill="var(--color-warning)" data-v-d167f981></rect><path d="M92 55 V48 A8 8 0 0 1 108 48 V55" fill="none" stroke="var(--color-warning)" stroke-width="3" data-v-d167f981></path><circle cx="100" cy="67" r="6" fill="none" stroke="#fff" stroke-width="2" data-v-d167f981></circle><line x1="96" y1="63" x2="104" y2="71" stroke="#fff" stroke-width="2" data-v-d167f981></line></svg></div><h1 class="error-title" data-v-d167f981>无访问权限</h1><p class="error-desc" data-v-d167f981>抱歉,您没有权限访问此页面,请联系管理员获取权限</p>', 4)),
2536
+ e("div", Ln, [
2537
+ y(n(we), {
2538
2538
  type: "primary",
2539
2539
  size: "large",
2540
2540
  onClick: d
2541
2541
  }, {
2542
- icon: M(() => [...o[1] || (o[1] = [
2542
+ icon: M(() => [...a[1] || (a[1] = [
2543
2543
  e("svg", {
2544
2544
  viewBox: "0 0 24 24",
2545
2545
  fill: "none",
@@ -2551,15 +2551,15 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2551
2551
  ], -1)
2552
2552
  ])]),
2553
2553
  default: M(() => [
2554
- o[2] || (o[2] = he(" 返回首页 ", -1))
2554
+ a[2] || (a[2] = he(" 返回首页 ", -1))
2555
2555
  ]),
2556
2556
  _: 1
2557
2557
  }),
2558
- y(a(we), {
2558
+ y(n(we), {
2559
2559
  size: "large",
2560
- onClick: o[0] || (o[0] = (i) => a(r).go(-1))
2560
+ onClick: a[0] || (a[0] = (i) => n(r).go(-1))
2561
2561
  }, {
2562
- icon: M(() => [...o[3] || (o[3] = [
2562
+ icon: M(() => [...a[3] || (a[3] = [
2563
2563
  e("svg", {
2564
2564
  viewBox: "0 0 24 24",
2565
2565
  fill: "none",
@@ -2570,12 +2570,12 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2570
2570
  ], -1)
2571
2571
  ])]),
2572
2572
  default: M(() => [
2573
- o[4] || (o[4] = he(" 返回上一页 ", -1))
2573
+ a[4] || (a[4] = he(" 返回上一页 ", -1))
2574
2574
  ]),
2575
2575
  _: 1
2576
2576
  })
2577
2577
  ]),
2578
- o[6] || (o[6] = e("div", { class: "error-tip" }, [
2578
+ a[6] || (a[6] = e("div", { class: "error-tip" }, [
2579
2579
  e("p", null, "可能的原因:"),
2580
2580
  e("ul", null, [
2581
2581
  e("li", null, "您的账号权限不足"),
@@ -2587,12 +2587,12 @@ const ja = /* @__PURE__ */ re(ta, [["render", oa], ["__scopeId", "data-v-4852826
2587
2587
  ])
2588
2588
  ]));
2589
2589
  }
2590
- }), Wa = /* @__PURE__ */ re($a, [["__scopeId", "data-v-d167f981"]]);
2591
- function qa() {
2592
- const t = ue(), r = le(), d = ze(), n = w(() => r.userName || ""), o = w(() => r.userInfo), i = w(() => t.appName), h = w(() => d.isLoggedIn), v = w(() => t.isDark), m = w(() => t.theme), f = w(() => t.isCollapsed), _ = w(() => t.layout);
2590
+ }), Hn = /* @__PURE__ */ re(Mn, [["__scopeId", "data-v-d167f981"]]);
2591
+ function Yn() {
2592
+ const t = ue(), r = le(), d = Ue(), s = w(() => r.userName || ""), a = w(() => r.userInfo), i = w(() => t.appName), h = w(() => d.isLoggedIn), v = w(() => t.isDark), m = w(() => t.theme), f = w(() => t.isCollapsed), _ = w(() => t.layout);
2593
2593
  return {
2594
- userName: n,
2595
- userInfo: o,
2594
+ userName: s,
2595
+ userInfo: a,
2596
2596
  appName: i,
2597
2597
  isLoggedIn: h,
2598
2598
  isDark: v,
@@ -2607,14 +2607,14 @@ function qa() {
2607
2607
  }
2608
2608
  };
2609
2609
  }
2610
- function Ha() {
2610
+ function Gn() {
2611
2611
  const t = le();
2612
2612
  return {
2613
2613
  isLoggedIn: w(() => t.isLoggedIn)
2614
2614
  };
2615
2615
  }
2616
- function Ya(t, r = {}) {
2617
- const { rules: d, onSubmit: n } = r, o = g(), i = qe({ ...t }), h = g(!1), v = g(!1), m = g(!1), f = () => {
2616
+ function Xn(t, r = {}) {
2617
+ const { rules: d, onSubmit: s } = r, a = g(), i = qe({ ...t }), h = g(!1), v = g(!1), m = g(!1), f = () => {
2618
2618
  $(), m.value = !1, v.value = !0;
2619
2619
  }, _ = (D) => {
2620
2620
  Object.assign(i, D), m.value = !0, v.value = !0;
@@ -2624,10 +2624,10 @@ function Ya(t, r = {}) {
2624
2624
  var D;
2625
2625
  Object.keys(t).forEach((W) => {
2626
2626
  i[W] = t[W];
2627
- }), (D = o.value) == null || D.resetFields();
2627
+ }), (D = a.value) == null || D.resetFields();
2628
2628
  };
2629
2629
  return {
2630
- formRef: o,
2630
+ formRef: a,
2631
2631
  formData: i,
2632
2632
  rules: d,
2633
2633
  loading: h,
@@ -2640,7 +2640,7 @@ function Ya(t, r = {}) {
2640
2640
  handleSubmit: async () => {
2641
2641
  var D;
2642
2642
  try {
2643
- await ((D = o.value) == null ? void 0 : D.validate()), h.value = !0, await (n == null ? void 0 : n(i)), u();
2643
+ await ((D = a.value) == null ? void 0 : D.validate()), h.value = !0, await (s == null ? void 0 : s(i)), u();
2644
2644
  } catch (W) {
2645
2645
  console.error(W);
2646
2646
  } finally {
@@ -2649,20 +2649,20 @@ function Ya(t, r = {}) {
2649
2649
  }
2650
2650
  };
2651
2651
  }
2652
- function Ga(t) {
2653
- const { fetchData: r, defaultPageSize: d = 10 } = t, n = g(!1), o = g([]), i = g(0), h = g(1), v = g(d), m = qe({}), f = async () => {
2654
- n.value = !0;
2652
+ function Jn(t) {
2653
+ const { fetchData: r, defaultPageSize: d = 10 } = t, s = g(!1), a = g([]), i = g(0), h = g(1), v = g(d), m = qe({}), f = async () => {
2654
+ s.value = !0;
2655
2655
  try {
2656
2656
  const V = {
2657
2657
  ...m,
2658
2658
  page: h.value,
2659
2659
  pageSize: v.value
2660
2660
  }, B = await r(V);
2661
- o.value = B.list, i.value = B.total;
2661
+ a.value = B.list, i.value = B.total;
2662
2662
  } catch (V) {
2663
2663
  console.error(V);
2664
2664
  } finally {
2665
- n.value = !1;
2665
+ s.value = !1;
2666
2666
  }
2667
2667
  }, _ = () => {
2668
2668
  h.value = 1, f();
@@ -2682,8 +2682,8 @@ function Ga(t) {
2682
2682
  total: i.value
2683
2683
  }));
2684
2684
  return {
2685
- loading: n,
2686
- data: o,
2685
+ loading: s,
2686
+ data: a,
2687
2687
  total: i,
2688
2688
  currentPage: h,
2689
2689
  pageSize: v,
@@ -2697,19 +2697,19 @@ function Ga(t) {
2697
2697
  refresh: D
2698
2698
  };
2699
2699
  }
2700
- const Je = Ie("locale", () => {
2701
- const t = I.get("locale") || "zh-CN", r = Mt(t), d = g(t), n = St(), { t: o, messages: i, setLocale: h, mergeMessages: v } = Nt(), m = w(() => {
2702
- const $ = n.find((j) => j.code === d.value);
2700
+ const Je = Ne("locale", () => {
2701
+ const t = N.get("locale") || "zh-CN", r = It(t), d = g(t), s = Nt(), { t: a, messages: i, setLocale: h, mergeMessages: v } = Ut(), m = w(() => {
2702
+ const $ = s.find((j) => j.code === d.value);
2703
2703
  return ($ == null ? void 0 : $.name) || d.value;
2704
2704
  });
2705
2705
  return {
2706
2706
  locale: d,
2707
2707
  localeName: m,
2708
- locales: n,
2708
+ locales: s,
2709
2709
  messages: i,
2710
- t: o,
2710
+ t: a,
2711
2711
  changeLocale: ($) => {
2712
- d.value = $, h($), I.set("locale", $), r.setLocale($);
2712
+ d.value = $, h($), N.set("locale", $), r.setLocale($);
2713
2713
  },
2714
2714
  addMessages: ($) => {
2715
2715
  v($);
@@ -2719,11 +2719,11 @@ const Je = Ie("locale", () => {
2719
2719
  },
2720
2720
  provider: r
2721
2721
  };
2722
- }), La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2722
+ }), Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2723
2723
  __proto__: null,
2724
2724
  useLocaleStore: Je
2725
2725
  }, Symbol.toStringTag, { value: "Module" }));
2726
- function Xa() {
2726
+ function Zn() {
2727
2727
  const t = Je();
2728
2728
  return {
2729
2729
  /** 当前语言代码 */
@@ -2742,39 +2742,39 @@ function Xa() {
2742
2742
  addMessages: t.addMessages
2743
2743
  };
2744
2744
  }
2745
- function Ja() {
2745
+ function Qn() {
2746
2746
  return Je().t;
2747
2747
  }
2748
- function Za(t) {
2748
+ function el(t) {
2749
2749
  const r = le(), d = de();
2750
2750
  return r.isLoggedIn ? d.hasPermission(t) : !1;
2751
2751
  }
2752
- function Qa(t) {
2752
+ function tl(t) {
2753
2753
  return le().isLoggedIn;
2754
2754
  }
2755
- function el() {
2755
+ function sl() {
2756
2756
  return !0;
2757
2757
  }
2758
- const ut = [
2758
+ const dt = [
2759
2759
  {
2760
2760
  path: "/login",
2761
2761
  name: "Login",
2762
- component: () => Promise.resolve().then(() => va),
2762
+ component: () => Promise.resolve().then(() => _n),
2763
2763
  meta: {
2764
2764
  title: "登录",
2765
2765
  hidden: !0
2766
2766
  }
2767
2767
  }
2768
- ], dt = {
2768
+ ], mt = {
2769
2769
  path: "/",
2770
2770
  name: "Layout",
2771
- component: () => Promise.resolve().then(() => Xn),
2771
+ component: () => Promise.resolve().then(() => Ja),
2772
2772
  redirect: "/dashboard",
2773
2773
  children: [
2774
2774
  {
2775
2775
  path: "/dashboard",
2776
2776
  name: "Dashboard",
2777
- component: () => import("./index-DT4MA9Sy.js"),
2777
+ component: () => import("./index-BRc3QTzT.js"),
2778
2778
  meta: {
2779
2779
  title: "仪表盘",
2780
2780
  icon: "dashboard",
@@ -2785,7 +2785,7 @@ const ut = [
2785
2785
  {
2786
2786
  path: "/system/user",
2787
2787
  name: "SystemUser",
2788
- component: () => import("./index-BtwoRQAo.js"),
2788
+ component: () => import("./index-CXDHEqS7.js"),
2789
2789
  meta: {
2790
2790
  title: "用户管理",
2791
2791
  icon: "user",
@@ -2795,7 +2795,7 @@ const ut = [
2795
2795
  {
2796
2796
  path: "/system/role",
2797
2797
  name: "SystemRole",
2798
- component: () => import("./index-CkKlIn7r.js"),
2798
+ component: () => import("./index-CzwIDcOh.js"),
2799
2799
  meta: {
2800
2800
  title: "角色管理",
2801
2801
  icon: "role",
@@ -2805,7 +2805,7 @@ const ut = [
2805
2805
  {
2806
2806
  path: "/system/menu",
2807
2807
  name: "SystemMenu",
2808
- component: () => import("./index-rgbeABpD.js"),
2808
+ component: () => import("./index-DpuXxSLr.js"),
2809
2809
  meta: {
2810
2810
  title: "菜单管理",
2811
2811
  icon: "menu",
@@ -2816,18 +2816,18 @@ const ut = [
2816
2816
  {
2817
2817
  path: "/:pathMatch(.*)*",
2818
2818
  name: "CatchAll",
2819
- component: () => Promise.resolve().then(() => ct),
2819
+ component: () => Promise.resolve().then(() => ut),
2820
2820
  meta: {
2821
2821
  title: "404",
2822
2822
  hidden: !0
2823
2823
  }
2824
2824
  }
2825
2825
  ]
2826
- }, tl = [
2826
+ }, ol = [
2827
2827
  {
2828
2828
  path: "/dashboard",
2829
2829
  name: "Dashboard",
2830
- component: () => import("./index-DT4MA9Sy.js"),
2830
+ component: () => import("./index-BRc3QTzT.js"),
2831
2831
  meta: {
2832
2832
  title: "仪表盘",
2833
2833
  icon: "dashboard",
@@ -2847,7 +2847,7 @@ const ut = [
2847
2847
  {
2848
2848
  path: "user",
2849
2849
  name: "SystemUser",
2850
- component: () => import("./index-BtwoRQAo.js"),
2850
+ component: () => import("./index-CXDHEqS7.js"),
2851
2851
  meta: {
2852
2852
  title: "用户管理",
2853
2853
  icon: "user",
@@ -2857,7 +2857,7 @@ const ut = [
2857
2857
  {
2858
2858
  path: "role",
2859
2859
  name: "SystemRole",
2860
- component: () => import("./index-CkKlIn7r.js"),
2860
+ component: () => import("./index-CzwIDcOh.js"),
2861
2861
  meta: {
2862
2862
  title: "角色管理",
2863
2863
  icon: "role",
@@ -2867,7 +2867,7 @@ const ut = [
2867
2867
  {
2868
2868
  path: "menu",
2869
2869
  name: "SystemMenu",
2870
- component: () => import("./index-rgbeABpD.js"),
2870
+ component: () => import("./index-DpuXxSLr.js"),
2871
2871
  meta: {
2872
2872
  title: "菜单管理",
2873
2873
  icon: "menu",
@@ -2876,7 +2876,7 @@ const ut = [
2876
2876
  }
2877
2877
  ]
2878
2878
  }
2879
- ], Ma = [
2879
+ ], In = [
2880
2880
  {
2881
2881
  menuCode: "dashboard",
2882
2882
  menuName: "仪表盘",
@@ -2924,19 +2924,19 @@ const ut = [
2924
2924
  }
2925
2925
  ]
2926
2926
  }
2927
- ], mt = He({
2927
+ ], pt = He({
2928
2928
  history: Ye(),
2929
- routes: [...ut, dt],
2929
+ routes: [...dt, mt],
2930
2930
  scrollBehavior: () => ({ left: 0, top: 0 })
2931
- }), Sa = ["/login"];
2932
- mt.beforeEach(async (t, r, d) => {
2933
- const n = ue();
2934
- if (n.initTheme(), st())
2931
+ }), Nn = ["/login"];
2932
+ pt.beforeEach(async (t, r, d) => {
2933
+ const s = ue();
2934
+ if (s.initTheme(), ot())
2935
2935
  if (t.path === "/login")
2936
2936
  d({ path: "/" });
2937
2937
  else {
2938
- const o = le();
2939
- o.isLoggedIn || (o.setUserInfo({
2938
+ const a = le();
2939
+ a.isLoggedIn || (a.setUserInfo({
2940
2940
  appId: Fe(),
2941
2941
  userId: "1",
2942
2942
  userName: "管理员",
@@ -2945,23 +2945,23 @@ mt.beforeEach(async (t, r, d) => {
2945
2945
  mobilePhone: "13800138000",
2946
2946
  positionName: "管理员",
2947
2947
  avatar: ""
2948
- }), de().setMenuList(Ma)), t.name && t.meta.keepAlive && n.addCachedView(t.name), d();
2948
+ }), de().setMenuList(In)), t.name && t.meta.keepAlive && s.addCachedView(t.name), d();
2949
2949
  }
2950
2950
  else
2951
- Sa.includes(t.path) ? d() : d("/login");
2951
+ Nn.includes(t.path) ? d() : d("/login");
2952
2952
  });
2953
- function sl() {
2953
+ function al() {
2954
2954
  const t = He({
2955
2955
  history: Ye(),
2956
- routes: [...ut, dt]
2956
+ routes: [...dt, mt]
2957
2957
  });
2958
- mt.matcher = t.matcher;
2958
+ pt.matcher = t.matcher;
2959
2959
  }
2960
- function ol(t, r = {}) {
2961
- const d = r.indexPath || "/dashboard", n = r.logoSrc || "/vite.svg", o = {
2960
+ function nl(t, r = {}) {
2961
+ const d = r.indexPath || "/dashboard", s = r.logoSrc || "/vite.svg", a = {
2962
2962
  path: "/:pathMatch(.*)*",
2963
2963
  name: "CatchAll",
2964
- component: () => Promise.resolve().then(() => ct),
2964
+ component: () => Promise.resolve().then(() => ut),
2965
2965
  meta: {
2966
2966
  title: "404"
2967
2967
  }
@@ -2969,76 +2969,76 @@ function ol(t, r = {}) {
2969
2969
  return {
2970
2970
  path: "/",
2971
2971
  name: "Layout",
2972
- component: ae({
2972
+ component: ne({
2973
2973
  name: "LayoutWrapper",
2974
2974
  render() {
2975
- return wt(it, { logoSrc: n });
2975
+ return xt(ct, { logoSrc: s });
2976
2976
  }
2977
2977
  }),
2978
2978
  redirect: d,
2979
- children: [...t, o]
2979
+ children: [...t, a]
2980
2980
  };
2981
2981
  }
2982
- function nl(t, r = {}) {
2982
+ function ll(t, r = {}) {
2983
2983
  return He({
2984
2984
  history: Ye(r.base),
2985
2985
  routes: t,
2986
2986
  scrollBehavior: () => ({ left: 0, top: 0 })
2987
2987
  });
2988
2988
  }
2989
- const Na = ["login", "404", "403", "/login", "/404", "/403"];
2990
- function Ia(t, r) {
2989
+ const Un = ["login", "404", "403", "/login", "/404", "/403"];
2990
+ function zn(t, r) {
2991
2991
  if (r.includes(t)) return !0;
2992
2992
  const d = t.startsWith("/") ? t.slice(1) : t;
2993
2993
  return r.includes(d);
2994
2994
  }
2995
- function al(t, r = {}) {
2996
- const d = r.whiteList || Na;
2997
- t.beforeEach(async (n, o, i) => {
2995
+ function rl(t, r = {}) {
2996
+ const d = r.whiteList || Un;
2997
+ t.beforeEach(async (s, a, i) => {
2998
2998
  const h = ue(), v = le(), m = de(), f = h.loginPath || r.loginPath || "/login";
2999
- if (h.initTheme(), tt())
3000
- if (n.path === f || n.name === "Login")
2999
+ if (h.initTheme(), st())
3000
+ if (s.path === f || s.name === "Login")
3001
3001
  i({ name: "Dashboard" });
3002
3002
  else if (v.isLoggedIn)
3003
- n.name && n.meta.keepAlive && h.addCachedView(n.name), i();
3003
+ s.name && s.meta.keepAlive && h.addCachedView(s.name), i();
3004
3004
  else
3005
3005
  try {
3006
3006
  if (r.fetchUserInfo) {
3007
3007
  const u = await r.fetchUserInfo();
3008
3008
  v.setUserInfo(u);
3009
3009
  } else {
3010
- const u = await vt();
3010
+ const u = await ht();
3011
3011
  v.setUserInfo(u);
3012
3012
  }
3013
3013
  if (r.fetchMenu) {
3014
3014
  const u = await r.fetchMenu();
3015
3015
  m.setMenuList(u);
3016
3016
  } else {
3017
- const u = await ht(r.appId);
3017
+ const u = await _t(r.appId);
3018
3018
  m.setMenuList(u);
3019
3019
  }
3020
- r.onLoginSuccess && r.onLoginSuccess(), n.name && n.meta.keepAlive && h.addCachedView(n.name), i({ ...n, replace: !0 });
3020
+ r.onLoginSuccess && r.onLoginSuccess(), s.name && s.meta.keepAlive && h.addCachedView(s.name), i({ ...s, replace: !0 });
3021
3021
  } catch (u) {
3022
- console.error("获取用户信息失败:", u), v.clearUserInfo(), m.clearMenu(), ot(), i({ name: "Login", query: { redirect: n.fullPath } });
3022
+ console.error("获取用户信息失败:", u), v.clearUserInfo(), m.clearMenu(), at(), i({ name: "Login", query: { redirect: s.fullPath } });
3023
3023
  }
3024
3024
  else
3025
- Ia(n.path, d) || n.name === "Login" || n.name === "NotFound" || n.name === "Forbidden" ? i() : i({ name: "Login", query: { redirect: n.fullPath } });
3025
+ zn(s.path, d) || s.name === "Login" || s.name === "NotFound" || s.name === "Forbidden" ? i() : i({ name: "Login", query: { redirect: s.fullPath } });
3026
3026
  }), t.afterEach(() => {
3027
3027
  });
3028
3028
  }
3029
- var za = /* @__PURE__ */ ((t) => (t[t.ENABLED = 1] = "ENABLED", t[t.DISABLED = 0] = "DISABLED", t))(za || {}), Ua = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.MALE = 1] = "MALE", t[t.FEMALE = 2] = "FEMALE", t))(Ua || {}), Ta = /* @__PURE__ */ ((t) => (t[t.DIRECTORY = 0] = "DIRECTORY", t[t.MENU = 1] = "MENU", t[t.BUTTON = 2] = "BUTTON", t))(Ta || {});
3030
- const ll = {
3029
+ var Tn = /* @__PURE__ */ ((t) => (t[t.ENABLED = 1] = "ENABLED", t[t.DISABLED = 0] = "DISABLED", t))(Tn || {}), En = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.MALE = 1] = "MALE", t[t.FEMALE = 2] = "FEMALE", t))(En || {}), Pn = /* @__PURE__ */ ((t) => (t[t.DIRECTORY = 0] = "DIRECTORY", t[t.MENU = 1] = "MENU", t[t.BUTTON = 2] = "BUTTON", t))(Pn || {});
3030
+ const il = {
3031
3031
  1: "启用",
3032
3032
  0: "禁用"
3033
- }, rl = {
3033
+ }, cl = {
3034
3034
  0: "未知",
3035
3035
  1: "男",
3036
3036
  2: "女"
3037
- }, il = {
3037
+ }, ul = {
3038
3038
  0: "目录",
3039
3039
  1: "菜单",
3040
3040
  2: "按钮"
3041
- }, cl = [
3041
+ }, dl = [
3042
3042
  {
3043
3043
  label: "启用",
3044
3044
  value: 1
@@ -3049,7 +3049,7 @@ const ll = {
3049
3049
  value: 0
3050
3050
  /* DISABLED */
3051
3051
  }
3052
- ], ul = [
3052
+ ], ml = [
3053
3053
  {
3054
3054
  label: "未知",
3055
3055
  value: 0
@@ -3065,7 +3065,7 @@ const ll = {
3065
3065
  value: 2
3066
3066
  /* FEMALE */
3067
3067
  }
3068
- ], dl = [
3068
+ ], pl = [
3069
3069
  {
3070
3070
  label: "目录",
3071
3071
  value: 0
@@ -3081,34 +3081,36 @@ const ll = {
3081
3081
  value: 2
3082
3082
  /* BUTTON */
3083
3083
  }
3084
- ], ml = {
3084
+ ], vl = {
3085
3085
  mounted(t, r) {
3086
3086
  var h, v;
3087
- const d = le(), n = de();
3087
+ const d = le(), s = de();
3088
3088
  if (!d.isLoggedIn) {
3089
3089
  (h = t.parentNode) == null || h.removeChild(t);
3090
3090
  return;
3091
3091
  }
3092
- const o = r.value, i = Array.isArray(o) ? o : [o];
3093
- n.hasPermission(i) || (v = t.parentNode) == null || v.removeChild(t);
3092
+ const a = r.value, i = Array.isArray(a) ? a : [a];
3093
+ s.hasPermission(i) || (v = t.parentNode) == null || v.removeChild(t);
3094
3094
  }
3095
3095
  };
3096
- function pl(t) {
3097
- return _t({
3096
+ async function hl(t) {
3097
+ await ft(t.basePath);
3098
+ const r = Qe();
3099
+ return r && gt(r), yt({
3098
3100
  appId: t.appId,
3099
3101
  clientId: t.clientId,
3100
- apiBaseUrl: t.apiBaseUrl
3101
- }), t.basePath && ft(t.basePath), Promise.resolve().then(() => It).then(({ useAppStore: r }) => {
3102
- const d = r();
3103
- t.appName && d.setAppName(t.appName), t.indexPath && d.setIndexPath(t.indexPath), t.loginPath && d.setLoginPath(t.loginPath);
3104
- }), t.locale && Promise.resolve().then(() => La).then(({ useLocaleStore: r }) => {
3105
- r().changeLocale(t.locale);
3102
+ apiBaseUrl: r || t.apiBaseUrl
3103
+ }), t.basePath && kt(t.basePath), Promise.resolve().then(() => zt).then(({ useAppStore: d }) => {
3104
+ const s = d();
3105
+ t.appName && s.setAppName(t.appName), t.indexPath && s.setIndexPath(t.indexPath), t.loginPath && s.setLoginPath(t.loginPath);
3106
+ }), t.locale && Promise.resolve().then(() => Sn).then(({ useLocaleStore: d }) => {
3107
+ d().changeLocale(t.locale);
3106
3108
  }), {
3107
3109
  config: {
3108
3110
  appName: t.appName || "XTO App",
3109
3111
  appId: Fe(),
3110
- clientId: at(),
3111
- apiBaseUrl: gt(),
3112
+ clientId: lt(),
3113
+ apiBaseUrl: Qe(),
3112
3114
  basePath: t.basePath || "/",
3113
3115
  indexPath: t.indexPath || "/dashboard",
3114
3116
  loginPath: t.loginPath || "/login",
@@ -3118,46 +3120,46 @@ function pl(t) {
3118
3120
  }
3119
3121
  export {
3120
3122
  ue as A,
3121
- Ha as B,
3122
- ze as C,
3123
- Ya as D,
3124
- Xa as E,
3125
- ja as F,
3126
- Ua as G,
3127
- As as H,
3123
+ Gn as B,
3124
+ Ue as C,
3125
+ Xn as D,
3126
+ Zn as E,
3127
+ qn as F,
3128
+ En as G,
3129
+ Vs as H,
3128
3130
  Je as I,
3129
3131
  de as J,
3130
- Ga as K,
3131
- it as L,
3132
- Ta as M,
3132
+ Jn as K,
3133
+ ct as L,
3134
+ Pn as M,
3133
3135
  le as N,
3134
- za as S,
3135
- Ka as T,
3136
+ Tn as S,
3137
+ Wn as T,
3136
3138
  re as _,
3137
- cl as a,
3138
- dl as b,
3139
- Wa as c,
3140
- ul as d,
3141
- rl as e,
3142
- il as f,
3143
- ka as g,
3144
- et as h,
3145
- pa as i,
3146
- ll as j,
3147
- ol as k,
3148
- nl as l,
3149
- Ja as m,
3150
- pl as n,
3151
- tl as o,
3152
- Za as p,
3153
- Qa as q,
3154
- el as r,
3155
- dt as s,
3156
- Ma as t,
3157
- ml as u,
3158
- sl as v,
3159
- mt as w,
3160
- al as x,
3161
- ut as y,
3162
- qa as z
3139
+ dl as a,
3140
+ pl as b,
3141
+ Hn as c,
3142
+ ml as d,
3143
+ cl as e,
3144
+ ul as f,
3145
+ bn as g,
3146
+ tt as h,
3147
+ hn as i,
3148
+ il as j,
3149
+ nl as k,
3150
+ ll as l,
3151
+ Qn as m,
3152
+ hl as n,
3153
+ ol as o,
3154
+ el as p,
3155
+ tl as q,
3156
+ sl as r,
3157
+ mt as s,
3158
+ In as t,
3159
+ vl as u,
3160
+ al as v,
3161
+ pt as w,
3162
+ rl as x,
3163
+ dt as y,
3164
+ Yn as z
3163
3165
  };