mamba-layout 0.35.0 → 0.36.0

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.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { getCurrentInstance as lt, readonly as it, ref as R, computed as w, unref as g, onActivated as ct, onMounted as Ke, onUnmounted as Je, watch as re, defineComponent as N, openBlock as l, createElementBlock as f, normalizeClass as F, resolveComponent as x, Fragment as K, createBlock as k, resolveDynamicComponent as we, mergeProps as Oe, withCtx as _, createCommentVNode as I, createElementVNode as d, toDisplayString as M, renderList as H, withDirectives as ut, vShow as dt, createVNode as A, renderSlot as q, watchEffect as Fe, Transition as De } from "vue";
2
- import { Fold as He, ArrowDown as Se, Moon as pt, Sunny as mt, Expand as ht, User as gt, ArrowLeft as ft, ArrowRight as be, Clock as vt } from "@element-plus/icons-vue";
1
+ import { getCurrentInstance as lt, readonly as it, ref as R, computed as _, unref as g, onActivated as ct, onMounted as Ke, onUnmounted as Je, watch as ue, defineComponent as N, openBlock as l, createElementBlock as v, normalizeClass as Q, resolveComponent as x, Fragment as O, createBlock as k, resolveDynamicComponent as Se, mergeProps as Oe, withCtx as C, createCommentVNode as L, createElementVNode as p, toDisplayString as M, renderList as z, withDirectives as ut, vShow as dt, createVNode as A, renderSlot as j, watchEffect as Fe, Transition as De } from "vue";
2
+ import { Fold as He, ArrowDown as we, Moon as pt, Sunny as mt, Expand as ht, User as gt, ArrowLeft as ft, ArrowRight as ye, Clock as vt } from "@element-plus/icons-vue";
3
3
  import { useRouter as Qe } from "vue-router";
4
4
  import { createI18n as yt } from "vue-i18n";
5
- function V() {
5
+ function ae() {
6
6
  const a = lt();
7
7
  return a ? a.appContext.config.globalProperties.$route : null;
8
8
  }
@@ -16,15 +16,15 @@ const bt = 3600 * 24 * 7, Pe = "UTC", ze = "timezone", At = [
16
16
  "Europe/Berlin",
17
17
  "America/New_York",
18
18
  "America/Los_Angeles"
19
- ], Ne = /* @__PURE__ */ new Map(), ye = () => {
19
+ ], Ne = /* @__PURE__ */ new Map(), ve = () => {
20
20
  try {
21
21
  return globalThis.localStorage;
22
22
  } catch {
23
23
  return;
24
24
  }
25
- }, ee = {
25
+ }, V = {
26
26
  get(a, e = null) {
27
- const t = ye(), n = t == null ? void 0 : t.getItem(a.toUpperCase());
27
+ const t = ve(), n = t == null ? void 0 : t.getItem(a.toUpperCase());
28
28
  if (!n) return e;
29
29
  try {
30
30
  const s = JSON.parse(n);
@@ -37,7 +37,7 @@ const bt = 3600 * 24 * 7, Pe = "UTC", ze = "timezone", At = [
37
37
  return e;
38
38
  },
39
39
  set(a, e, t = bt) {
40
- const n = ye(), s = {
40
+ const n = ve(), s = {
41
41
  value: e,
42
42
  expire: t === null ? null : Date.now() + t * 1e3
43
43
  };
@@ -45,7 +45,7 @@ const bt = 3600 * 24 * 7, Pe = "UTC", ze = "timezone", At = [
45
45
  },
46
46
  clear() {
47
47
  var a;
48
- (a = ye()) == null || a.clear();
48
+ (a = ve()) == null || a.clear();
49
49
  }
50
50
  }, _t = (a) => typeof a == "object" && a !== null, Be = (a) => {
51
51
  if (!_t(a) || Object.prototype.toString.call(a) !== "[object Object]") return !1;
@@ -65,27 +65,27 @@ function Ze(a, e) {
65
65
  }
66
66
  function je() {
67
67
  const a = typeof navigator > "u" ? "en-US" : navigator.language;
68
- return String(ee.get("locale", a)).includes("zh") ? "zh-CN" : "en-US";
68
+ return String(V.get("locale", a)).includes("zh") ? "zh-CN" : "en-US";
69
69
  }
70
70
  const Ue = (a, e, t) => {
71
71
  var n;
72
72
  return ((n = e == null ? void 0 : e[t]) == null ? void 0 : n[a]) || "";
73
- }, le = (a, e, t = "") => {
73
+ }, re = (a, e, t = "") => {
74
74
  const n = a;
75
75
  return Ue(e, n, je()) || t || Ue(e, n, "en-US");
76
- }, pe = (a = "") => a.replace(/【.*】/, ""), qe = (a, e, t) => {
77
- var n, s, r, o, c;
78
- for (const p of e) {
79
- const i = ((n = p.path) == null ? void 0 : n.replace(/\/:(\w+)/g, "/([^/]+)")) || "", h = new RegExp(`^${i}$`);
80
- if (((s = p.path) == null ? void 0 : s.toLowerCase()) === a || h.test(a))
81
- return ((r = p.meta) == null ? void 0 : r.visible) === "0" && (t == null ? void 0 : t.path) || "";
82
- if ((o = p.children) != null && o.length) {
83
- const m = qe(
76
+ }, de = (a = "") => a.replace(/【.*】/, ""), qe = (a, e, t) => {
77
+ var n, s, r, o, u;
78
+ for (const c of e) {
79
+ const m = ((n = c.path) == null ? void 0 : n.replace(/\/:(\w+)/g, "/([^/]+)")) || "", i = new RegExp(`^${m}$`);
80
+ if (((s = c.path) == null ? void 0 : s.toLowerCase()) === a || i.test(a))
81
+ return ((r = c.meta) == null ? void 0 : r.visible) === "0" && (t == null ? void 0 : t.path) || "";
82
+ if ((o = c.children) != null && o.length) {
83
+ const h = qe(
84
84
  a,
85
- p.children,
86
- ((c = p.meta) == null ? void 0 : c.visible) === "1" ? p : t
85
+ c.children,
86
+ ((u = c.meta) == null ? void 0 : u.visible) === "1" ? c : t
87
87
  );
88
- if (m) return m;
88
+ if (h) return h;
89
89
  }
90
90
  }
91
91
  return "";
@@ -94,21 +94,21 @@ const Ue = (a, e, t) => {
94
94
  if (!(t != null && t.name)) return !1;
95
95
  const n = String(t.name).split("-").filter((r) => !!r && r !== "index"), s = t.path.split("-").join("/").split("/").filter(Boolean);
96
96
  return n.length === s.length && n.every((r, o) => r === s[o]);
97
- }, ie = (a) => typeof a == "string" && Ye(a) ? a : "", Ye = (a) => {
97
+ }, le = (a) => typeof a == "string" && Ye(a) ? a : "", Ye = (a) => {
98
98
  try {
99
99
  return new Intl.DateTimeFormat("en-US", { timeZone: a }).format(/* @__PURE__ */ new Date()), !0;
100
100
  } catch {
101
101
  return !1;
102
102
  }
103
- }, We = () => ie(Intl.DateTimeFormat().resolvedOptions().timeZone) || Pe, Te = R(
104
- ie(ee.get(ze)) || We()
105
- ), wt = () => it(Te);
106
- function St(a) {
107
- const e = ie(a);
108
- e && (Te.value = e, ee.set(ze, e, null));
103
+ }, We = () => le(Intl.DateTimeFormat().resolvedOptions().timeZone) || Pe, Te = R(
104
+ le(V.get(ze)) || We()
105
+ ), St = () => it(Te);
106
+ function wt(a) {
107
+ const e = le(a);
108
+ e && (Te.value = e, V.set(ze, e, null));
109
109
  }
110
110
  const Pt = (a) => {
111
- const e = ie(a) || Pe, t = Ne.get(e);
111
+ const e = le(a) || Pe, t = Ne.get(e);
112
112
  if (t) return t;
113
113
  const n = new Intl.DateTimeFormat("en-US", {
114
114
  timeZone: e,
@@ -122,7 +122,7 @@ const Pt = (a) => {
122
122
  });
123
123
  return Ne.set(e, n), n;
124
124
  }, Tt = (a, e) => Pt(e).formatToParts(a).reduce((n, s) => (s.type !== "literal" && (n[s.type] = Number(s.value)), n), {}), kt = (a, e = /* @__PURE__ */ new Date()) => {
125
- const t = ie(a) || Pe, n = Tt(e, t), s = Date.UTC(
125
+ const t = le(a) || Pe, n = Tt(e, t), s = Date.UTC(
126
126
  n.year || 0,
127
127
  (n.month || 1) - 1,
128
128
  n.day || 1,
@@ -151,39 +151,39 @@ const Pt = (a) => {
151
151
  offset: n
152
152
  };
153
153
  });
154
- }, ne = R("light");
154
+ }, te = R("light");
155
155
  function Ge() {
156
156
  const a = "theme", e = "(prefers-color-scheme: dark)", t = R(!1);
157
157
  let n = !1;
158
- const s = (v) => v === "dark" || v === "light" ? v : null, r = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(e).matches ? "dark" : "light", o = (v) => {
159
- const C = s(ee.get(a, null));
160
- return C ? (t.value = !0, C) : v || r();
161
- }, c = (v) => {
162
- typeof document > "u" || document.documentElement.classList.toggle("dark", v === "dark");
163
- }, p = (v) => {
164
- const C = o(v);
165
- return ne.value = C, c(C), n = !0, C;
166
- }, i = (v, C) => {
167
- ne.value = v, c(v), (C == null ? void 0 : C.persist) !== !1 && (ee.set(a, v, null), t.value = !0);
168
- }, h = () => {
169
- i(ne.value === "dark" ? "light" : "dark");
170
- }, y = (v) => {
158
+ const s = (f) => f === "dark" || f === "light" ? f : null, r = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(e).matches ? "dark" : "light", o = (f) => {
159
+ const S = s(V.get(a, null));
160
+ return S ? (t.value = !0, S) : f || r();
161
+ }, u = (f) => {
162
+ typeof document > "u" || document.documentElement.classList.toggle("dark", f === "dark");
163
+ }, c = (f) => {
164
+ const S = o(f);
165
+ return te.value = S, u(S), n = !0, S;
166
+ }, m = (f, S) => {
167
+ te.value = f, u(f), (S == null ? void 0 : S.persist) !== !1 && (V.set(a, f, null), t.value = !0);
168
+ }, i = () => {
169
+ m(te.value === "dark" ? "light" : "dark");
170
+ }, y = (f) => {
171
171
  if (!n) {
172
- p(v);
172
+ c(f);
173
173
  return;
174
174
  }
175
- !t.value && v && i(v, { persist: !1 });
176
- }, m = w(() => ne.value === "dark");
175
+ !t.value && f && m(f, { persist: !1 });
176
+ }, h = _(() => te.value === "dark");
177
177
  return {
178
- theme: ne,
179
- isDark: m,
180
- initTheme: p,
181
- setTheme: i,
182
- toggleTheme: h,
178
+ theme: te,
179
+ isDark: h,
180
+ initTheme: c,
181
+ setTheme: m,
182
+ toggleTheme: i,
183
183
  syncThemeFromSetting: y
184
184
  };
185
185
  }
186
- const xt = () => typeof location > "u" ? "" : location.href, Ve = (a) => (a == null ? void 0 : a.loginPath) || `/login?redirect=${encodeURIComponent(xt())}`, me = (a) => {
186
+ const xt = () => typeof location > "u" ? "" : location.href, Ve = (a) => (a == null ? void 0 : a.loginPath) || `/login?redirect=${encodeURIComponent(xt())}`, pe = (a) => {
187
187
  typeof location > "u" || (location.href = Ve(a));
188
188
  }, Et = (a) => (a == null ? void 0 : a.userCenterPath) || "/usercenter/home", Mt = (a) => {
189
189
  var r;
@@ -191,8 +191,8 @@ const xt = () => typeof location > "u" ? "" : location.href, Ve = (a) => (a == n
191
191
  if (e)
192
192
  for (const o in e) {
193
193
  if (!e[o]) continue;
194
- const c = "--layout-" + o.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
195
- t[c] = e[o], o == "colorPrimary" && Dt(e[o]);
194
+ const u = "--layout-" + o.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
195
+ t[u] = e[o], o == "colorPrimary" && Dt(e[o]);
196
196
  }
197
197
  let n = document.getElementById("layout-style");
198
198
  n && ((r = n.parentNode) == null || r.removeChild(n)), n = document.createElement("style"), n.id = "layout-style", document.head.appendChild(n);
@@ -212,13 +212,13 @@ function Dt(a) {
212
212
  e.innerHTML = `html:root{${n}}`;
213
213
  }
214
214
  function Nt(a) {
215
- var p;
216
- const e = ((p = a.match(/\d+/g)) == null ? void 0 : p.map(Number)) || [], [t, n, s] = e, r = `rgb(${t}, ${n}, ${s})`, o = (i) => {
217
- const h = i / 100, y = Math.min(255, t + (255 - t) * h), m = Math.min(255, n + (255 - n) * h), v = Math.min(255, s + (255 - s) * h);
218
- return `rgb(${y.toFixed(1)}, ${m.toFixed(1)}, ${v.toFixed(1)})`;
219
- }, c = (i) => {
220
- const h = 1 - i / 100;
221
- return `rgb(${Math.round(t * h)} ${Math.round(n * h)} ${Math.round(s * h)})`;
215
+ var c;
216
+ const e = ((c = a.match(/\d+/g)) == null ? void 0 : c.map(Number)) || [], [t, n, s] = e, r = `rgb(${t}, ${n}, ${s})`, o = (m) => {
217
+ const i = m / 100, y = Math.min(255, t + (255 - t) * i), h = Math.min(255, n + (255 - n) * i), f = Math.min(255, s + (255 - s) * i);
218
+ return `rgb(${y.toFixed(1)}, ${h.toFixed(1)}, ${f.toFixed(1)})`;
219
+ }, u = (m) => {
220
+ const i = 1 - m / 100;
221
+ return `rgb(${Math.round(t * i)} ${Math.round(n * i)} ${Math.round(s * i)})`;
222
222
  };
223
223
  return {
224
224
  "--el-color-primary": r,
@@ -227,10 +227,10 @@ function Nt(a) {
227
227
  "--el-color-primary-light-7": o(70),
228
228
  "--el-color-primary-light-8": o(80),
229
229
  "--el-color-primary-light-9": o(90),
230
- "--el-color-primary-dark-2": c(20)
230
+ "--el-color-primary-dark-2": u(20)
231
231
  };
232
232
  }
233
- const Ae = R({
233
+ const be = R({
234
234
  menus: [],
235
235
  layout: "classic",
236
236
  title: "",
@@ -238,64 +238,64 @@ const Ae = R({
238
238
  tabs: "tab",
239
239
  pageType: "common"
240
240
  });
241
- function Q() {
242
- return Ae;
241
+ function K() {
242
+ return be;
243
243
  }
244
244
  const Bt = (a) => {
245
- const e = Q(), t = a && g(a) || {};
245
+ const e = K(), t = a && g(a) || {};
246
246
  if (!(e != null && e.value)) return t;
247
- Ae.value = Ze(e.value, t);
247
+ be.value = Ze(e.value, t);
248
248
  const { syncThemeFromSetting: n } = Ge();
249
- n(), Mt(Ae.value);
250
- }, Ut = 1024, $e = R(), ce = R([]), $ = R(), oe = R(""), se = R(""), ue = R(""), ae = Q(), _e = R(!0), Ce = R(!1), Rt = R(), Kt = () => {
251
- const a = V(), e = () => {
249
+ n(), Mt(be.value);
250
+ }, Ut = 1024, $e = R(), ie = R([]), G = R(), oe = R(""), se = R(""), Ae = R(""), ne = K(), _e = R(!0), Ce = R(!1), Rt = R(), Kt = () => {
251
+ const a = ae(), e = () => {
252
252
  var o;
253
- return ((o = ae.value.menus) == null ? void 0 : o.filter((c) => {
254
- var p;
255
- return ((p = c.meta) == null ? void 0 : p.appId) == se.value;
253
+ return ((o = ne.value.menus) == null ? void 0 : o.filter((u) => {
254
+ var c;
255
+ return ((c = u.meta) == null ? void 0 : c.appId) == se.value;
256
256
  })) || [];
257
- }, t = (o, c, p = 0, i) => {
258
- var T, L, U, z;
259
- const h = V();
260
- if (!h) return;
261
- const y = i ? [...i] : [], m = [], v = [];
257
+ }, t = (o, u, c = 0, m) => {
258
+ var T, I, U, J;
259
+ const i = ae();
260
+ if (!i) return;
261
+ const y = m ? [...m] : [], h = [], f = [];
262
262
  for (const D in o) {
263
263
  [...y], o[D];
264
- const J = ((T = h.meta) == null ? void 0 : T.parent) || h.path, Y = ((L = o[D].path) == null ? void 0 : L.replace(/\/:(\w+)/g, "/([^/]+)")) || "", ge = new RegExp(`^${Y}$`);
265
- J == o[D].path ? m.push({ index: D, item: o[D] }) : ge.test(J) && v.push({ index: D, item: o[D] });
264
+ const F = ((T = i.meta) == null ? void 0 : T.parent) || i.path, q = ((I = o[D].path) == null ? void 0 : I.replace(/\/:(\w+)/g, "/([^/]+)")) || "", he = new RegExp(`^${q}$`);
265
+ F == o[D].path ? h.push({ index: D, item: o[D] }) : he.test(F) && f.push({ index: D, item: o[D] });
266
266
  }
267
- const C = m.length > 0 ? m : v;
268
- if (C.length > 0) {
269
- const D = C[0], J = [...y];
270
- J[p] = D.item, $.value = {
267
+ const S = h.length > 0 ? h : f;
268
+ if (S.length > 0) {
269
+ const D = S[0], F = [...y];
270
+ F[c] = D.item, G.value = {
271
271
  ...D.item,
272
- paths: J.slice(0, p + 1)
273
- }, se.value = ((U = D.item.meta) == null ? void 0 : U.appId) || "", $e.value = c;
272
+ paths: F.slice(0, c + 1)
273
+ }, se.value = ((U = D.item.meta) == null ? void 0 : U.appId) || "", $e.value = u;
274
274
  }
275
275
  for (const D in o)
276
- if (o[D].children && ((z = o[D].children) != null && z.length)) {
277
- const J = o[D].children || [], Y = [...y];
278
- Y[p] = o[D], t(J, o[D], p + 1, Y);
276
+ if (o[D].children && ((J = o[D].children) != null && J.length)) {
277
+ const F = o[D].children || [], q = [...y];
278
+ q[c] = o[D], t(F, o[D], c + 1, q);
279
279
  }
280
- ue.value = h.meta.parentPath || qe(
281
- h.path.toLowerCase(),
282
- ae.value.menus || []
283
- ) || h.path, console.log(ue.value);
280
+ Ae.value = i.meta.parentPath || qe(
281
+ i.path.toLowerCase(),
282
+ ne.value.menus || []
283
+ ) || i.path;
284
284
  }, n = () => {
285
- var i, h, y, m, v, C, T, L, U, z;
286
- t(ae.value.menus || []), se.value || (se.value = ((y = (h = (i = ae.value.menus) == null ? void 0 : i.find(
285
+ var m, i, y, h, f, S, T, I, U, J;
286
+ t(ne.value.menus || []), se.value || (se.value = ((y = (i = (m = ne.value.menus) == null ? void 0 : m.find(
287
287
  (D) => {
288
- var J;
289
- return (J = D.path) == null ? void 0 : J.startsWith(oe.value);
288
+ var F;
289
+ return (F = D.path) == null ? void 0 : F.startsWith(oe.value);
290
290
  }
291
- )) == null ? void 0 : h.meta) == null ? void 0 : y.appId) || "");
292
- const o = ((m = $.value) == null ? void 0 : m.paths) || [], c = pe(
293
- le(((C = (v = $.value) == null ? void 0 : v.meta) == null ? void 0 : C.translations) || {}, "name")
294
- ), p = ((T = $.value) == null ? void 0 : T.path) == ((L = o[1]) == null ? void 0 : L.path) ? "" : pe(le(((z = (U = o[1]) == null ? void 0 : U.meta) == null ? void 0 : z.translations) || {}, "name"));
295
- document.title = c + (p ? ` - ${p}` : "");
291
+ )) == null ? void 0 : i.meta) == null ? void 0 : y.appId) || "");
292
+ const o = ((h = G.value) == null ? void 0 : h.paths) || [], u = de(
293
+ re(((S = (f = G.value) == null ? void 0 : f.meta) == null ? void 0 : S.translations) || {}, "name")
294
+ ), c = ((T = G.value) == null ? void 0 : T.path) == ((I = o[1]) == null ? void 0 : I.path) ? "" : de(re(((J = (U = o[1]) == null ? void 0 : U.meta) == null ? void 0 : J.translations) || {}, "name"));
295
+ document.title = u + (c ? ` - ${c}` : "");
296
296
  }, s = () => {
297
- const o = V();
298
- oe.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), n(), ce.value = e();
297
+ const o = ae();
298
+ oe.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), n(), ie.value = e();
299
299
  }, r = () => {
300
300
  const o = window.innerWidth < Ut;
301
301
  Ce.value = o, _e.value = !o;
@@ -306,32 +306,25 @@ const Bt = (a) => {
306
306
  window.addEventListener("resize", r);
307
307
  }), Je(() => {
308
308
  window.removeEventListener("resize", r);
309
- }), re(
309
+ }), ue(
310
310
  () => oe.value,
311
- () => void (ce.value = e())
312
- ), re(
313
- () => [a.path, ae.value.menus],
311
+ () => void (ie.value = e())
312
+ ), ue(
313
+ () => [a.path, ne.value.menus],
314
314
  () => {
315
- const o = V();
316
- ue.value = "", $.value = void 0, oe.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), n(), ce.value = e(), Ce.value && (_e.value = !1);
317
- }
318
- ), re(
319
- () => window.location.href,
320
- () => {
321
- console.log(window.location.href);
322
- const o = V();
323
- console.log(o.path);
315
+ const o = ae();
316
+ Ae.value = "", G.value = void 0, oe.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), n(), ie.value = e(), Ce.value && (_e.value = !1);
324
317
  }
325
318
  );
326
319
  };
327
- function Z() {
320
+ function ee() {
328
321
  return {
329
322
  initLayoutState: Kt,
330
- menus: ce,
331
- currentEndRoute: $,
323
+ menus: ie,
324
+ currentEndRoute: G,
332
325
  currentTabPath: oe,
333
326
  currentAppId: se,
334
- defaultParentActive: ue,
327
+ defaultParentActive: Ae,
335
328
  sideOpen: _e,
336
329
  isMobile: Ce,
337
330
  currentEndParentRoute: $e,
@@ -344,15 +337,15 @@ const Jt = { class: "menu-item-icon" }, Ot = ["innerHTML"], Ft = /* @__PURE__ */
344
337
  icon: { default: "metisicon-yingyong" }
345
338
  },
346
339
  setup(a) {
347
- const e = a, t = w(() => e.icon || "metisicon-yingyong"), n = /^\s*<svg[\s>]/i, s = /\son[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, r = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, o = /\s(?:href|xlink:href)\s*=\s*("\s*javascript:[^"]*"|'\s*javascript:[^']*')/gi, c = (h) => !!h && n.test(h), p = (h) => !h || !c(h) ? "" : h.replace(r, "").replace(s, "").replace(o, ""), i = w(() => p(t.value));
348
- return (h, y) => (l(), f("div", Jt, [
349
- c(t.value) ? (l(), f("span", {
340
+ const e = a, t = _(() => e.icon || "metisicon-yingyong"), n = /^\s*<svg[\s>]/i, s = /\son[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, r = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, o = /\s(?:href|xlink:href)\s*=\s*("\s*javascript:[^"]*"|'\s*javascript:[^']*')/gi, u = (i) => !!i && n.test(i), c = (i) => !i || !u(i) ? "" : i.replace(r, "").replace(s, "").replace(o, ""), m = _(() => c(t.value));
341
+ return (i, y) => (l(), v("div", Jt, [
342
+ u(t.value) ? (l(), v("span", {
350
343
  key: 0,
351
344
  class: "menu-item-icon__svg",
352
- innerHTML: i.value
353
- }, null, 8, Ot)) : (l(), f("i", {
345
+ innerHTML: m.value
346
+ }, null, 8, Ot)) : (l(), v("i", {
354
347
  key: 1,
355
- class: F(t.value)
348
+ class: Q(t.value)
356
349
  }, null, 2))
357
350
  ]));
358
351
  }
@@ -374,65 +367,65 @@ const Jt = { class: "menu-item-icon" }, Ot = ["innerHTML"], Ft = /* @__PURE__ */
374
367
  }
375
368
  },
376
369
  setup(a) {
377
- const e = a, t = w(
370
+ const e = a, t = _(
378
371
  () => {
379
372
  var i;
380
- return (i = e.menu.children) == null ? void 0 : i.filter((h) => {
381
- var y;
382
- return ((y = h.meta) == null ? void 0 : y.visible) != "0";
373
+ return (i = e.menu.children) == null ? void 0 : i.filter((y) => {
374
+ var h;
375
+ return ((h = y.meta) == null ? void 0 : h.visible) != "0";
383
376
  });
384
377
  }
385
- ), { defaultParentActive: n, currentTabPath: s } = Z(), r = Qe(), o = w(() => {
378
+ ), n = K(), s = _(() => n.value.defaultParentActive || ""), r = _(() => n.value.currentTabPath || ""), o = Qe(), u = _(() => {
386
379
  var i;
387
- return e.level == 1 && !Ct(r, e.menu.path || "") ? "div" : /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(s.value)) ? "a" : "router-link";
388
- }), c = w(() => {
380
+ return e.level == 1 && !Ct(o, e.menu.path || "") ? "div" : /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(r.value)) ? "a" : "router-link";
381
+ }), c = _(() => {
389
382
  var i;
390
- return /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(s.value)) ? {
383
+ return /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(r.value)) ? {
391
384
  href: e.menu.path || ""
392
385
  } : {
393
386
  to: e.menu.path || ""
394
387
  };
395
- }), p = w(
388
+ }), m = _(
396
389
  () => {
397
390
  var i;
398
391
  return String(e.menu.icon || ((i = e.menu.meta) == null ? void 0 : i.icon) || "metisicon-yingyong");
399
392
  }
400
393
  );
401
- return (i, h) => {
402
- var m, v;
403
- const y = x("AsideSubMenuItem", !0);
404
- return l(), f(K, null, [
405
- (l(), k(we(o.value), Oe({
394
+ return (i, y) => {
395
+ var f, S;
396
+ const h = x("AsideSubMenuItem", !0);
397
+ return l(), v(O, null, [
398
+ (l(), k(Se(u.value), Oe({
406
399
  class: ["pt-1 pb-1 pl-3 pr-3 flex items-center gap-2 rounded-md", [
407
- e.menu.path == g(n) ? "bg-[var(--ui-sidebar-active-bg,var(--el-fill-color))] text-[var(--ui-sidebar-active-fg)] font-medium" : "text-[var(--ui-sidebar-foreground)]",
408
- (m = t.value) != null && m.length ? " h-7" : " h-9.5 cursor-pointer hover:bg-[var(--ui-sidebar-hover-bg)]"
400
+ e.menu.path == s.value ? "bg-[var(--ui-sidebar-active-bg,var(--el-fill-color))] text-[var(--ui-sidebar-active-fg)] font-medium" : "text-[var(--ui-sidebar-foreground)]",
401
+ (f = t.value) != null && f.length ? " h-7" : " h-9.5 cursor-pointer hover:bg-[var(--ui-sidebar-hover-bg)]"
409
402
  ]],
410
403
  style: { paddingLeft: "calc(var(--spacing) * 3)" }
411
404
  }, c.value), {
412
- default: _(() => {
413
- var C, T, L, U;
405
+ default: C(() => {
406
+ var T, I, U, J;
414
407
  return [
415
- (C = t.value) != null && C.length ? I("", !0) : (l(), k(et, {
408
+ (T = t.value) != null && T.length ? L("", !0) : (l(), k(et, {
416
409
  key: 0,
417
- icon: p.value,
418
- class: F(["text-md", [
419
- e.menu.path == g(n) ? "opacity-100" : "opacity-60"
410
+ icon: m.value,
411
+ class: Q(["text-md", [
412
+ e.menu.path == s.value ? "opacity-100" : "opacity-60"
420
413
  ]])
421
414
  }, null, 8, ["icon", "class"])),
422
- d("div", {
423
- class: F(["truncate", (T = t.value) != null && T.length ? "text-xs text-gray-400" : ""])
424
- }, M(g(pe)(g(le)(((U = (L = e.menu) == null ? void 0 : L.meta) == null ? void 0 : U.translations) || {}, "name"))), 3)
415
+ p("div", {
416
+ class: Q(["truncate", (I = t.value) != null && I.length ? "text-xs text-gray-400" : ""])
417
+ }, M(g(de)(g(re)(((J = (U = e.menu) == null ? void 0 : U.meta) == null ? void 0 : J.translations) || {}, "name"))), 3)
425
418
  ];
426
419
  }),
427
420
  _: 1
428
421
  }, 16, ["class"])),
429
- (v = t.value) != null && v.length ? (l(), f("div", Ht, [
430
- (l(!0), f(K, null, H(t.value, (C, T) => (l(), k(y, {
431
- menu: C,
432
- key: T,
422
+ (S = t.value) != null && S.length ? (l(), v("div", Ht, [
423
+ (l(!0), v(O, null, z(t.value, (T, I) => (l(), k(h, {
424
+ menu: T,
425
+ key: I,
433
426
  level: e.level + 1
434
427
  }, null, 8, ["menu", "level"]))), 128))
435
- ])) : I("", !0)
428
+ ])) : L("", !0)
436
429
  ], 64);
437
430
  };
438
431
  }
@@ -451,16 +444,16 @@ const Jt = { class: "menu-item-icon" }, Ot = ["innerHTML"], Ft = /* @__PURE__ */
451
444
  const e = a;
452
445
  return (t, n) => {
453
446
  var s;
454
- return ut((l(), f("div", zt, [
455
- (s = e.menus) != null && s.length ? (l(), f("div", Zt, [
456
- (l(!0), f(K, null, H(e.menus.filter((r) => {
447
+ return ut((l(), v("div", zt, [
448
+ (s = e.menus) != null && s.length ? (l(), v("div", Zt, [
449
+ (l(!0), v(O, null, z(e.menus.filter((r) => {
457
450
  var o;
458
451
  return ((o = r.meta) == null ? void 0 : o.visible) != "0";
459
452
  }), (r, o) => (l(), k(Qt, {
460
453
  key: o,
461
454
  menu: r
462
455
  }, null, 8, ["menu"]))), 128))
463
- ])) : I("", !0)
456
+ ])) : L("", !0)
464
457
  ], 512)), [
465
458
  [dt, e.menus.length]
466
459
  ]);
@@ -472,44 +465,44 @@ const Jt = { class: "menu-item-icon" }, Ot = ["innerHTML"], Ft = /* @__PURE__ */
472
465
  }, qt = { class: "p-3" }, Yt = /* @__PURE__ */ N({
473
466
  __name: "AsideBar",
474
467
  setup(a) {
475
- const { menus: e, isMobile: t, sideOpen: n } = Z(), s = () => void (n.value = !n.value);
468
+ const { menus: e, isMobile: t, sideOpen: n } = ee(), s = () => void (n.value = !n.value);
476
469
  return (r, o) => {
477
- const c = x("el-icon"), p = x("el-scrollbar");
478
- return g(e).length && !r.$route.meta.hideSidebar ? (l(), f("div", {
470
+ const u = x("el-icon"), c = x("el-scrollbar");
471
+ return g(e).length && !r.$route.meta.hideSidebar ? (l(), v("div", {
479
472
  key: 0,
480
- class: F(["aside-bar flex flex-col h-full min-h-0 w-64 min-width-50", [
473
+ class: Q(["aside-bar flex flex-col h-full min-h-0 w-64 min-width-50", [
481
474
  g(t) ? "fixed top-0 left-0 z-200 transition-all" : "",
482
475
  g(n) ? "translate-x-[0px]" : "translate-x-[-100%]"
483
476
  ]])
484
477
  }, [
485
- g(t) ? (l(), f("div", jt, [
486
- d("div", {
478
+ g(t) ? (l(), v("div", jt, [
479
+ p("div", {
487
480
  class: "aside-bar__close text-lg cursor-pointer p-2 leading-4",
488
481
  onClick: s
489
482
  }, [
490
- A(c, null, {
491
- default: _(() => [
483
+ A(u, null, {
484
+ default: C(() => [
492
485
  A(g(He))
493
486
  ]),
494
487
  _: 1
495
488
  })
496
489
  ])
497
- ])) : I("", !0),
498
- A(p, { ref: "leftScrollRef" }, {
499
- default: _(() => [
500
- d("div", qt, [
490
+ ])) : L("", !0),
491
+ A(c, { ref: "leftScrollRef" }, {
492
+ default: C(() => [
493
+ p("div", qt, [
501
494
  A(tt, { menus: g(e) }, null, 8, ["menus"])
502
495
  ])
503
496
  ]),
504
497
  _: 1
505
498
  }, 512),
506
- q(r.$slots, "sidebar-foot", {}, void 0, !0)
507
- ], 2)) : I("", !0);
499
+ j(r.$slots, "sidebar-foot", {}, void 0, !0)
500
+ ], 2)) : L("", !0);
508
501
  };
509
502
  }
510
503
  }), Wt = /* @__PURE__ */ B(Yt, [["__scopeId", "data-v-ff960d0f"]]);
511
504
  function nt() {
512
- const a = Q(), e = w(() => a.value.appList || []);
505
+ const a = K(), e = _(() => a.value.appList || []);
513
506
  return {
514
507
  appList: e,
515
508
  getAppPath: (s) => (s == null ? void 0 : s.path) || "",
@@ -531,59 +524,59 @@ const at = (a, e) => a.reduce(
531
524
  }, $t = ["href"], en = { class: "app-select__dropdown-icon text-xl" }, tn = { class: "app-select__dropdown-desc" }, nn = /* @__PURE__ */ N({
532
525
  __name: "AppSelect",
533
526
  setup(a) {
534
- const { currentAppId: e } = Z(), { appList: t, getAppPath: n } = nt(), s = (r) => {
535
- var o;
536
- return e.value === r.appId || !!((o = r.children) != null && o.some((c) => c.appId === e.value));
527
+ const e = K(), t = _(() => e.value.currentAppId || ""), { appList: n, getAppPath: s } = nt(), r = (o) => {
528
+ var u;
529
+ return t.value === o.appId || !!((u = o.children) != null && u.some((c) => c.appId === t.value));
537
530
  };
538
- return (r, o) => {
539
- var p;
531
+ return (o, u) => {
532
+ var m;
540
533
  const c = x("el-icon");
541
- return (p = g(t)) != null && p.length ? (l(), f("div", Xt, [
542
- (l(!0), f(K, null, H(g(t), (i) => {
543
- var h, y;
544
- return l(), f("div", {
534
+ return (m = g(n)) != null && m.length ? (l(), v("div", Xt, [
535
+ (l(!0), v(O, null, z(g(n), (i) => {
536
+ var y, h;
537
+ return l(), v("div", {
545
538
  key: i.appId,
546
539
  class: "app-select__group"
547
540
  }, [
548
- d("a", {
549
- class: F(["app-select__link", {
550
- "app-select__link--active": s(i)
541
+ p("a", {
542
+ class: Q(["app-select__link", {
543
+ "app-select__link--active": r(i)
551
544
  }]),
552
- href: g(n)(i) || void 0
545
+ href: g(s)(i) || void 0
553
546
  }, [
554
- d("span", null, M(i.name), 1),
555
- (h = i.children) != null && h.length ? (l(), k(c, { key: 0 }, {
556
- default: _(() => [
557
- A(g(Se))
547
+ p("span", null, M(i.name), 1),
548
+ (y = i.children) != null && y.length ? (l(), k(c, { key: 0 }, {
549
+ default: C(() => [
550
+ A(g(we))
558
551
  ]),
559
552
  _: 1
560
- })) : I("", !0)
553
+ })) : L("", !0)
561
554
  ], 10, Gt),
562
- (y = i.children) != null && y.length ? (l(), f("div", Vt, [
563
- (l(!0), f(K, null, H(i.children, (m) => (l(), f("a", {
564
- key: m.appId,
565
- class: F(["app-select__dropdown-item", {
566
- "app-select__dropdown-item--active": s(m)
555
+ (h = i.children) != null && h.length ? (l(), v("div", Vt, [
556
+ (l(!0), v(O, null, z(i.children, (f) => (l(), v("a", {
557
+ key: f.appId,
558
+ class: Q(["app-select__dropdown-item", {
559
+ "app-select__dropdown-item--active": r(f)
567
560
  }]),
568
- href: g(n)(m) || void 0
561
+ href: g(s)(f) || void 0
569
562
  }, [
570
- d("span", en, [
571
- d("i", {
572
- class: F(m.icon || "metisicon-moxingku")
563
+ p("span", en, [
564
+ p("i", {
565
+ class: Q(f.icon || "metisicon-moxingku")
573
566
  }, null, 2)
574
567
  ]),
575
- d("div", null, [
576
- d("div", null, M(m.name), 1),
577
- d("div", tn, M(m.desc), 1)
568
+ p("div", null, [
569
+ p("div", null, M(f.name), 1),
570
+ p("div", tn, M(f.desc), 1)
578
571
  ])
579
572
  ], 10, $t))), 128))
580
- ])) : I("", !0)
573
+ ])) : L("", !0)
581
574
  ]);
582
575
  }), 128))
583
- ])) : I("", !0);
576
+ ])) : L("", !0);
584
577
  };
585
578
  }
586
- }), an = /* @__PURE__ */ B(nn, [["__scopeId", "data-v-e2f5efb7"]]), on = /* @__PURE__ */ N({
579
+ }), an = /* @__PURE__ */ B(nn, [["__scopeId", "data-v-ee0588ee"]]), on = /* @__PURE__ */ N({
587
580
  __name: "NavIconBtn",
588
581
  props: {
589
582
  tag: { default: "button" },
@@ -591,28 +584,28 @@ const at = (a, e) => a.reduce(
591
584
  iconOnly: { type: Boolean, default: !0 }
592
585
  },
593
586
  setup(a) {
594
- return (e, t) => (l(), k(we(a.tag), {
587
+ return (e, t) => (l(), k(Se(a.tag), {
595
588
  type: a.tag === "button" ? a.type : void 0,
596
- class: F(["nav-icon-btn", { "nav-icon-btn--icon-only": a.iconOnly }])
589
+ class: Q(["nav-icon-btn", { "nav-icon-btn--icon-only": a.iconOnly }])
597
590
  }, {
598
- default: _(() => [
599
- q(e.$slots, "default", {}, void 0, !0)
591
+ default: C(() => [
592
+ j(e.$slots, "default", {}, void 0, !0)
600
593
  ]),
601
594
  _: 3
602
595
  }, 8, ["type", "class"]));
603
596
  }
604
- }), te = /* @__PURE__ */ B(on, [["__scopeId", "data-v-824bbddc"]]), sn = /* @__PURE__ */ N({
597
+ }), $ = /* @__PURE__ */ B(on, [["__scopeId", "data-v-824bbddc"]]), sn = /* @__PURE__ */ N({
605
598
  __name: "ThemeToggle",
606
599
  setup(a) {
607
- const e = Q(), { theme: t, isDark: n, toggleTheme: s } = Ge();
600
+ const e = K(), { theme: t, isDark: n, toggleTheme: s } = Ge();
608
601
  return Fe(() => {
609
602
  e.value.theme = t.value;
610
603
  }), (r, o) => {
611
- const c = x("el-icon");
612
- return l(), k(te, { onClick: g(s) }, {
613
- default: _(() => [
614
- A(c, null, {
615
- default: _(() => [
604
+ const u = x("el-icon");
605
+ return l(), k($, { onClick: g(s) }, {
606
+ default: C(() => [
607
+ A(u, null, {
608
+ default: C(() => [
616
609
  g(n) ? (l(), k(g(mt), { key: 1 })) : (l(), k(g(pt), { key: 0 }))
617
610
  ]),
618
611
  _: 1
@@ -1564,7 +1557,7 @@ const at = (a, e) => a.reduce(
1564
1557
  StaticPrefixInput: {
1565
1558
  notEmpty: "不能为空"
1566
1559
  }
1567
- }, wn = {
1560
+ }, Sn = {
1568
1561
  label: {},
1569
1562
  btn: {},
1570
1563
  msg: {
@@ -1580,7 +1573,7 @@ const at = (a, e) => a.reduce(
1580
1573
  charError: "密码必须包含字母、数字、特殊符号",
1581
1574
  charTypeError: "密码必须包含至少以下三种(大写字母、小写字母、数字、特殊符号)"
1582
1575
  }
1583
- }, Sn = {
1576
+ }, wn = {
1584
1577
  name: "中文简体",
1585
1578
  common: yn,
1586
1579
  account: fn,
@@ -1588,15 +1581,15 @@ const at = (a, e) => a.reduce(
1588
1581
  components: bn,
1589
1582
  constant: An,
1590
1583
  filterBox: _n,
1591
- password: wn,
1584
+ password: Sn,
1592
1585
  instanceForm: Cn
1593
- }, de = {
1586
+ }, ce = {
1594
1587
  "en-US": gn,
1595
- "zh-CN": Sn
1596
- }, he = yt({
1588
+ "zh-CN": wn
1589
+ }, me = yt({
1597
1590
  locale: je(),
1598
1591
  fallbackLocale: "en-US",
1599
- messages: de,
1592
+ messages: ce,
1600
1593
  legacy: !1
1601
1594
  }), Pn = {
1602
1595
  key: 0,
@@ -1607,24 +1600,24 @@ const at = (a, e) => a.reduce(
1607
1600
  showLabel: { type: Boolean, default: !1 }
1608
1601
  },
1609
1602
  setup(a) {
1610
- const { locale: e } = he.global, t = w(
1611
- () => de[e.value].name
1612
- ), n = Object.keys(de).map((r) => ({
1613
- label: de[r].name,
1603
+ const { locale: e } = me.global, t = _(
1604
+ () => ce[e.value].name
1605
+ ), n = Object.keys(ce).map((r) => ({
1606
+ label: ce[r].name,
1614
1607
  value: r
1615
1608
  })), s = (r) => {
1616
- ee.set("locale", r), location.reload();
1609
+ V.set("locale", r), location.reload();
1617
1610
  };
1618
1611
  return (r, o) => {
1619
- const c = x("el-icon"), p = x("el-popover");
1620
- return l(), k(p, {
1612
+ const u = x("el-icon"), c = x("el-popover");
1613
+ return l(), k(c, {
1621
1614
  placement: "bottom",
1622
1615
  width: 180,
1623
1616
  trigger: "hover",
1624
1617
  "popper-class": "top-language-popover"
1625
1618
  }, {
1626
- reference: _(() => [
1627
- A(te, {
1619
+ reference: C(() => [
1620
+ A($, {
1628
1621
  "langselect-toggle": "",
1629
1622
  tag: "div",
1630
1623
  class: "language-select",
@@ -1632,11 +1625,11 @@ const at = (a, e) => a.reduce(
1632
1625
  title: t.value,
1633
1626
  "aria-label": t.value
1634
1627
  }, {
1635
- default: _(() => [
1636
- q(r.$slots, "prefix", {}, void 0, !0),
1637
- A(c, null, {
1638
- default: _(() => [...o[0] || (o[0] = [
1639
- d("svg", {
1628
+ default: C(() => [
1629
+ j(r.$slots, "prefix", {}, void 0, !0),
1630
+ A(u, null, {
1631
+ default: C(() => [...o[0] || (o[0] = [
1632
+ p("svg", {
1640
1633
  xmlns: "http://www.w3.org/2000/svg",
1641
1634
  width: "24",
1642
1635
  height: "24",
@@ -1650,38 +1643,38 @@ const at = (a, e) => a.reduce(
1650
1643
  "aria-hidden": "true",
1651
1644
  class: "lucide lucide-globe"
1652
1645
  }, [
1653
- d("circle", {
1646
+ p("circle", {
1654
1647
  cx: "12",
1655
1648
  cy: "12",
1656
1649
  r: "10"
1657
1650
  }),
1658
- d("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
1659
- d("path", { d: "M2 12h20" })
1651
+ p("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
1652
+ p("path", { d: "M2 12h20" })
1660
1653
  ], -1)
1661
1654
  ])]),
1662
1655
  _: 1
1663
1656
  }),
1664
- a.showLabel ? (l(), f("span", Pn, M(t.value), 1)) : I("", !0),
1665
- a.showLabel ? (l(), k(c, {
1657
+ a.showLabel ? (l(), v("span", Pn, M(t.value), 1)) : L("", !0),
1658
+ a.showLabel ? (l(), k(u, {
1666
1659
  key: 1,
1667
1660
  class: "language-select__caret"
1668
1661
  }, {
1669
- default: _(() => [
1670
- A(g(Se))
1662
+ default: C(() => [
1663
+ A(g(we))
1671
1664
  ]),
1672
1665
  _: 1
1673
- })) : I("", !0)
1666
+ })) : L("", !0)
1674
1667
  ]),
1675
1668
  _: 3
1676
1669
  }, 8, ["icon-only", "title", "aria-label"])
1677
1670
  ]),
1678
- default: _(() => [
1679
- d("div", Tn, [
1680
- (l(!0), f(K, null, H(g(n), (i) => (l(), f("div", {
1681
- key: i.value,
1682
- class: F(["language-select__option", { "language-select__option--active": i.value === g(e) }]),
1683
- onClick: (h) => s(i.value)
1684
- }, M(i.label), 11, kn))), 128))
1671
+ default: C(() => [
1672
+ p("div", Tn, [
1673
+ (l(!0), v(O, null, z(g(n), (m) => (l(), v("div", {
1674
+ key: m.value,
1675
+ class: Q(["language-select__option", { "language-select__option--active": m.value === g(e) }]),
1676
+ onClick: (i) => s(m.value)
1677
+ }, M(m.label), 11, kn))), 128))
1685
1678
  ])
1686
1679
  ]),
1687
1680
  _: 3
@@ -1691,39 +1684,39 @@ const at = (a, e) => a.reduce(
1691
1684
  }), st = /* @__PURE__ */ B(In, [["__scopeId", "data-v-48306ad1"]]), Ln = { class: "mobile-user-popover" }, xn = ["href"], En = /* @__PURE__ */ N({
1692
1685
  __name: "AsideUserMobilePopover",
1693
1686
  setup(a) {
1694
- const { t: e } = he.global, t = Q(), n = w(() => Et(t.value)), s = () => {
1687
+ const { t: e } = me.global, t = K(), n = _(() => Et(t.value)), s = () => {
1695
1688
  var r, o;
1696
1689
  Promise.resolve((o = (r = t.value).onLogout) == null ? void 0 : o.call(r)).finally(() => {
1697
- t.value.onLogout || me(t.value);
1690
+ t.value.onLogout || pe(t.value);
1698
1691
  });
1699
1692
  };
1700
1693
  return (r, o) => {
1701
- const c = x("el-popover");
1702
- return l(), k(c, {
1694
+ const u = x("el-popover");
1695
+ return l(), k(u, {
1703
1696
  width: 220,
1704
1697
  trigger: "click",
1705
1698
  "popper-class": "top-userinfo-popover"
1706
1699
  }, {
1707
- reference: _(() => [
1708
- q(r.$slots, "reference", {}, void 0, !0)
1700
+ reference: C(() => [
1701
+ j(r.$slots, "reference", {}, void 0, !0)
1709
1702
  ]),
1710
- default: _(() => [
1711
- d("div", Ln, [
1712
- d("a", {
1703
+ default: C(() => [
1704
+ p("div", Ln, [
1705
+ p("a", {
1713
1706
  href: n.value,
1714
1707
  class: "mobile-user-popover__item"
1715
1708
  }, [
1716
- o[0] || (o[0] = d("i", { class: "metisicon-yonghu1" }, null, -1)),
1717
- d("span", null, M(g(e)("admin.label.profile")), 1)
1709
+ o[0] || (o[0] = p("i", { class: "metisicon-yonghu1" }, null, -1)),
1710
+ p("span", null, M(g(e)("admin.label.profile")), 1)
1718
1711
  ], 8, xn),
1719
1712
  A(st),
1720
- o[2] || (o[2] = d("div", { class: "mobile-user-popover__divider" }, null, -1)),
1721
- d("div", {
1713
+ o[2] || (o[2] = p("div", { class: "mobile-user-popover__divider" }, null, -1)),
1714
+ p("div", {
1722
1715
  class: "mobile-user-popover__item mobile-user-popover__item--danger",
1723
1716
  onClick: s
1724
1717
  }, [
1725
- o[1] || (o[1] = d("i", { class: "metisicon-exit-full" }, null, -1)),
1726
- d("span", null, M(g(e)("common.btn.logout")), 1)
1718
+ o[1] || (o[1] = p("i", { class: "metisicon-exit-full" }, null, -1)),
1719
+ p("span", null, M(g(e)("common.btn.logout")), 1)
1727
1720
  ])
1728
1721
  ])
1729
1722
  ]),
@@ -1734,34 +1727,34 @@ const at = (a, e) => a.reduce(
1734
1727
  }), rt = /* @__PURE__ */ B(En, [["__scopeId", "data-v-87e082b1"]]), Mn = { class: "header-right-mobile" }, Dn = /* @__PURE__ */ N({
1735
1728
  __name: "HeaderRightMobile",
1736
1729
  setup(a) {
1737
- const e = Q(), t = w(
1730
+ const e = K(), t = _(
1738
1731
  () => {
1739
1732
  var s, r;
1740
1733
  return !!((s = e.value.user) != null && s.id || (r = e.value.user) != null && r.userId);
1741
1734
  }
1742
1735
  ), n = () => {
1743
1736
  var s, r;
1744
- (r = (s = e.value).onLogin) != null && r.call(s) || me(e.value);
1737
+ (r = (s = e.value).onLogin) != null && r.call(s) || pe(e.value);
1745
1738
  };
1746
- return (s, r) => (l(), f("div", Mn, [
1739
+ return (s, r) => (l(), v("div", Mn, [
1747
1740
  A(ot),
1748
1741
  t.value ? (l(), k(rt, { key: 0 }, {
1749
- reference: _(() => [
1750
- A(te, { class: "header-right-mobile__action" }, {
1751
- default: _(() => [...r[0] || (r[0] = [
1752
- d("i", { class: "metisicon-yonghu1" }, null, -1)
1742
+ reference: C(() => [
1743
+ A($, { class: "header-right-mobile__action" }, {
1744
+ default: C(() => [...r[0] || (r[0] = [
1745
+ p("i", { class: "metisicon-yonghu1" }, null, -1)
1753
1746
  ])]),
1754
1747
  _: 1
1755
1748
  })
1756
1749
  ]),
1757
1750
  _: 1
1758
- })) : (l(), k(te, {
1751
+ })) : (l(), k($, {
1759
1752
  key: 1,
1760
1753
  class: "header-right-mobile__action",
1761
1754
  onClick: n
1762
1755
  }, {
1763
- default: _(() => [...r[1] || (r[1] = [
1764
- d("i", { class: "metisicon-yonghu1" }, null, -1)
1756
+ default: C(() => [...r[1] || (r[1] = [
1757
+ p("i", { class: "metisicon-yonghu1" }, null, -1)
1765
1758
  ])]),
1766
1759
  _: 1
1767
1760
  }))
@@ -1770,21 +1763,21 @@ const at = (a, e) => a.reduce(
1770
1763
  }), Nn = /* @__PURE__ */ B(Dn, [["__scopeId", "data-v-48792b0a"]]), Bn = ["aria-label", "aria-expanded"], Un = { class: "mobile-menu-toggle__icon" }, Rn = /* @__PURE__ */ N({
1771
1764
  __name: "MobileMenuToggle",
1772
1765
  setup(a) {
1773
- const { sideOpen: e } = Z(), t = () => {
1766
+ const { sideOpen: e } = ee(), t = () => {
1774
1767
  e.value = !e.value;
1775
1768
  };
1776
1769
  return (n, s) => {
1777
1770
  const r = x("el-icon");
1778
- return l(), f("button", {
1771
+ return l(), v("button", {
1779
1772
  type: "button",
1780
1773
  class: "mobile-menu-toggle",
1781
1774
  "aria-label": g(e) ? "Close menu" : "Open menu",
1782
1775
  "aria-expanded": g(e),
1783
1776
  onClick: t
1784
1777
  }, [
1785
- d("div", Un, [
1778
+ p("div", Un, [
1786
1779
  A(r, null, {
1787
- default: _(() => [
1780
+ default: C(() => [
1788
1781
  A(g(ht))
1789
1782
  ]),
1790
1783
  _: 1
@@ -1803,18 +1796,18 @@ const at = (a, e) => a.reduce(
1803
1796
  name: { default: "" }
1804
1797
  },
1805
1798
  setup(a) {
1806
- const e = a, t = R(!1), n = w(() => e.name.trim()), s = w(
1799
+ const e = a, t = R(!1), n = _(() => e.name.trim()), s = _(
1807
1800
  () => n.value.charAt(0).toUpperCase() || "U"
1808
- ), r = w(() => n.value || "User avatar"), o = w(() => e.src.trim()), c = w(
1801
+ ), r = _(() => n.value || "User avatar"), o = _(() => e.src.trim()), u = _(
1809
1802
  () => !o.value || t.value
1810
- ), p = w(
1811
- () => c.value && !!n.value
1812
- ), i = w(
1813
- () => c.value && !n.value
1814
- ), h = w(
1803
+ ), c = _(
1804
+ () => u.value && !!n.value
1805
+ ), m = _(
1806
+ () => u.value && !n.value
1807
+ ), i = _(
1815
1808
  () => o.value && !t.value ? o.value : void 0
1816
1809
  );
1817
- re(
1810
+ ue(
1818
1811
  () => e.src,
1819
1812
  () => {
1820
1813
  t.value = !1;
@@ -1823,26 +1816,26 @@ const at = (a, e) => a.reduce(
1823
1816
  const y = () => {
1824
1817
  t.value = !0;
1825
1818
  };
1826
- return (m, v) => {
1827
- const C = x("el-icon"), T = x("el-avatar");
1828
- return l(), k(T, Oe(m.$attrs, {
1829
- src: h.value,
1830
- "data-src": h.value,
1819
+ return (h, f) => {
1820
+ const S = x("el-icon"), T = x("el-avatar");
1821
+ return l(), k(T, Oe(h.$attrs, {
1822
+ src: i.value,
1823
+ "data-src": i.value,
1831
1824
  alt: r.value,
1832
- class: ["user-avatar", { "user-avatar--fallback": c.value }],
1825
+ class: ["user-avatar", { "user-avatar--fallback": u.value }],
1833
1826
  onError: y
1834
1827
  }), {
1835
- default: _(() => [
1836
- p.value ? (l(), f("span", Jn, M(s.value), 1)) : i.value ? (l(), k(C, {
1828
+ default: C(() => [
1829
+ c.value ? (l(), v("span", Jn, M(s.value), 1)) : m.value ? (l(), k(S, {
1837
1830
  key: 1,
1838
1831
  class: "user-avatar__icon",
1839
1832
  "aria-hidden": "true"
1840
1833
  }, {
1841
- default: _(() => [
1834
+ default: C(() => [
1842
1835
  A(g(gt))
1843
1836
  ]),
1844
1837
  _: 1
1845
- })) : I("", !0)
1838
+ })) : L("", !0)
1846
1839
  ]),
1847
1840
  _: 1
1848
1841
  }, 16, ["src", "data-src", "alt", "class"]);
@@ -1871,85 +1864,85 @@ const at = (a, e) => a.reduce(
1871
1864
  backLabel: { default: "返回" }
1872
1865
  },
1873
1866
  setup(a) {
1874
- const e = a, t = V(), n = Qe(), s = Q(), r = Z(), o = w(() => {
1867
+ const e = a, t = ae(), n = Qe(), s = K(), r = ee(), o = _(() => {
1875
1868
  var ke, Ie, Le, xe, Ee, Me;
1876
1869
  if ((ke = e.items) != null && ke.length)
1877
- return e.items.filter((G) => G.title);
1878
- const u = T(t.path), b = T(
1870
+ return e.items.filter((X) => X.title);
1871
+ const d = T(t.path), b = T(
1879
1872
  ((Ie = t.meta) == null ? void 0 : Ie.parent) || ((Le = t.meta) == null ? void 0 : Le.parentPath) || t.path
1880
- ), S = c(), P = (Ee = (xe = r == null ? void 0 : r.currentEndRoute) == null ? void 0 : xe.value) == null ? void 0 : Ee.paths, E = p(P || []);
1881
- let O = E.length ? E : m(S, b);
1882
- const ve = T(
1873
+ ), w = u(), P = (Ee = (xe = r == null ? void 0 : r.currentEndRoute) == null ? void 0 : xe.value) == null ? void 0 : Ee.paths, E = c(P || []);
1874
+ let H = E.length ? E : h(w, b);
1875
+ const fe = T(
1883
1876
  e.parentPath || ((Me = t.meta) == null ? void 0 : Me.parentPath) || ""
1884
1877
  );
1885
- if (!O.length && ve && (O = m(S, ve)), !O.length) {
1886
- const G = ve || v(u, S);
1887
- O = G ? m(S, G) : [];
1878
+ if (!H.length && fe && (H = h(w, fe)), !H.length) {
1879
+ const X = fe || f(d, w);
1880
+ H = X ? h(w, X) : [];
1888
1881
  }
1889
- const W = O.map(i).filter((G) => G.title), j = W[W.length - 1], X = y();
1890
- return e.showCurrent && X && L(j == null ? void 0 : j.path) !== L(u) ? W.push({
1891
- title: X,
1892
- path: u,
1882
+ const Y = H.map(m).filter((X) => X.title), Z = Y[Y.length - 1], W = y();
1883
+ return e.showCurrent && W && I(Z == null ? void 0 : Z.path) !== I(d) ? Y.push({
1884
+ title: W,
1885
+ path: d,
1893
1886
  disabled: !0
1894
- }) : X && j && L(j.path) === L(u) && (j.title = X, j.disabled = !0), !W.length && X && W.push({
1895
- title: X,
1896
- path: u,
1887
+ }) : W && Z && I(Z.path) === I(d) && (Z.title = W, Z.disabled = !0), !Y.length && W && Y.push({
1888
+ title: W,
1889
+ path: d,
1897
1890
  disabled: !0
1898
- }), W;
1899
- }), c = () => {
1900
- const u = [], b = /* @__PURE__ */ new Set();
1901
- return (s.value.menus || []).forEach((S) => {
1891
+ }), Y;
1892
+ }), u = () => {
1893
+ const d = [], b = /* @__PURE__ */ new Set();
1894
+ return (s.value.menus || []).forEach((w) => {
1902
1895
  var E;
1903
- const P = S.path || S.name || JSON.stringify(((E = S.meta) == null ? void 0 : E.translations) || {});
1904
- !P || b.has(P) || (b.add(P), u.push(S));
1905
- }), u;
1906
- }, p = (u) => u.filter((b) => {
1907
- var S;
1908
- return b && ((S = b.meta) == null ? void 0 : S.visible) !== "0";
1909
- }), i = (u) => {
1896
+ const P = w.path || w.name || JSON.stringify(((E = w.meta) == null ? void 0 : E.translations) || {});
1897
+ !P || b.has(P) || (b.add(P), d.push(w));
1898
+ }), d;
1899
+ }, c = (d) => d.filter((b) => {
1900
+ var w;
1901
+ return b && ((w = b.meta) == null ? void 0 : w.visible) !== "0";
1902
+ }), m = (d) => {
1910
1903
  var b;
1911
1904
  return {
1912
- title: h(u),
1913
- path: u.path,
1914
- disabled: ((b = u.meta) == null ? void 0 : b.visible) === "0",
1915
- children: u.children
1905
+ title: i(d),
1906
+ path: d.path,
1907
+ disabled: ((b = d.meta) == null ? void 0 : b.visible) === "0",
1908
+ children: d.children
1916
1909
  };
1917
- }, h = (u) => {
1918
- var S;
1919
- return ((S = u == null ? void 0 : u.meta) != null && S.translations ? pe(le(u.meta.translations, "name", u.name)) : "") || (u == null ? void 0 : u.title) || (u == null ? void 0 : u.name) || "";
1910
+ }, i = (d) => {
1911
+ var w;
1912
+ return ((w = d == null ? void 0 : d.meta) != null && w.translations ? de(re(d.meta.translations, "name", d.name)) : "") || (d == null ? void 0 : d.title) || (d == null ? void 0 : d.name) || "";
1920
1913
  }, y = () => {
1921
- var u;
1922
- return e.currentTitle ? e.currentTitle : typeof ((u = t.meta) == null ? void 0 : u.title) == "string" ? t.meta.title : String(t.params.id || t.params.tenantId || "");
1923
- }, m = (u, b, S = []) => {
1914
+ var d;
1915
+ return e.currentTitle ? e.currentTitle : typeof ((d = t.meta) == null ? void 0 : d.title) == "string" ? t.meta.title : String(t.params.id || t.params.tenantId || "");
1916
+ }, h = (d, b, w = []) => {
1924
1917
  if (!b) return [];
1925
- for (const P of u) {
1926
- const E = [...S, P];
1927
- if (C(P.path, b))
1928
- return p(E);
1929
- const O = m(P.children || [], b, E);
1930
- if (O.length) return O;
1918
+ for (const P of d) {
1919
+ const E = [...w, P];
1920
+ if (S(P.path, b))
1921
+ return c(E);
1922
+ const H = h(P.children || [], b, E);
1923
+ if (H.length) return H;
1931
1924
  }
1932
1925
  return [];
1933
- }, v = (u, b) => {
1934
- const S = u.split("/").filter(Boolean);
1935
- for (let P = S.length - 1; P > 0; P -= 1) {
1936
- const E = `/${S.slice(0, P).join("/")}`;
1937
- if (m(b, E).length) return E;
1926
+ }, f = (d, b) => {
1927
+ const w = d.split("/").filter(Boolean);
1928
+ for (let P = w.length - 1; P > 0; P -= 1) {
1929
+ const E = `/${w.slice(0, P).join("/")}`;
1930
+ if (h(b, E).length) return E;
1938
1931
  }
1939
1932
  return "";
1940
- }, C = (u = "", b = "") => {
1941
- const S = L(u), P = L(b);
1942
- if (!S || !P) return !1;
1943
- if (S === P) return !0;
1944
- const E = S.replace(/\/:(\w+)/g, "/([^/]+)");
1933
+ }, S = (d = "", b = "") => {
1934
+ const w = I(d), P = I(b);
1935
+ if (!w || !P) return !1;
1936
+ if (w === P) return !0;
1937
+ const E = w.replace(/\/:(\w+)/g, "/([^/]+)");
1945
1938
  return new RegExp(`^${E}$`, "i").test(P);
1946
- }, T = (u = "") => u ? u.split("?")[0].split("#")[0] : "", L = (u = "") => (T(u).replace(/\/+$/, "") || "/").toLowerCase(), U = (u) => /^https?:\/\//.test(u.path || ""), z = (u) => {
1939
+ }, T = (d = "") => d ? d.split("?")[0].split("#")[0] : "", I = (d = "") => (T(d).replace(/\/+$/, "") || "/").toLowerCase(), U = (d) => /^https?:\/\//.test(d.path || ""), J = (d) => {
1947
1940
  var b;
1948
- return !!((b = u.children) != null && b.some((S) => !S.disabled));
1949
- }, D = (u, b) => u.disabled || b === o.value.length - 1 || !u.path ? !1 : U(u) || !z(u), J = (u) => {
1950
- const b = u.to || fe(u);
1941
+ return !!((b = d.children) != null && b.some((w) => !w.disabled));
1942
+ }, D = (d, b) => d.disabled || b === o.value.length - 1 || !d.path ? !1 : U(d) || !J(d), F = (d) => {
1943
+ const b = d.to || ge(d);
1951
1944
  b && n.push(b);
1952
- }, Y = () => {
1945
+ }, q = () => {
1953
1946
  var b;
1954
1947
  if (e.backTo) {
1955
1948
  n.push(e.backTo);
@@ -1959,72 +1952,72 @@ const at = (a, e) => a.reduce(
1959
1952
  n.back();
1960
1953
  return;
1961
1954
  }
1962
- const u = ge();
1963
- u && n.push(u);
1964
- }, ge = () => {
1965
- var S, P;
1966
- const u = e.parentPath || ((S = t.meta) == null ? void 0 : S.parentPath) || ((P = t.meta) == null ? void 0 : P.parent) || "";
1967
- if (u)
1968
- return fe({ path: u });
1955
+ const d = he();
1956
+ d && n.push(d);
1957
+ }, he = () => {
1958
+ var w, P;
1959
+ const d = e.parentPath || ((w = t.meta) == null ? void 0 : w.parentPath) || ((P = t.meta) == null ? void 0 : P.parent) || "";
1960
+ if (d)
1961
+ return ge({ path: d });
1969
1962
  const b = o.value[o.value.length - 2];
1970
1963
  if (b != null && b.to) return b.to;
1971
1964
  if (b != null && b.path && !U(b))
1972
- return fe(b);
1973
- }, fe = (u) => {
1974
- if (!u.path) return;
1975
- const b = e.preserveQueryKeys.reduce((S, P) => {
1965
+ return ge(b);
1966
+ }, ge = (d) => {
1967
+ if (!d.path) return;
1968
+ const b = e.preserveQueryKeys.reduce((w, P) => {
1976
1969
  const E = t.query[P];
1977
- return typeof E == "string" && (S[P] = E), Array.isArray(E) && (S[P] = E.filter(
1978
- (O) => typeof O == "string"
1979
- )), S;
1970
+ return typeof E == "string" && (w[P] = E), Array.isArray(E) && (w[P] = E.filter(
1971
+ (H) => typeof H == "string"
1972
+ )), w;
1980
1973
  }, {});
1981
- return Object.keys(b).length ? { path: u.path, query: b } : { path: u.path };
1974
+ return Object.keys(b).length ? { path: d.path, query: b } : { path: d.path };
1982
1975
  };
1983
- return (u, b) => {
1984
- const S = x("el-icon");
1985
- return e.showBack || o.value.length ? (l(), f("nav", Fn, [
1986
- e.showBack ? (l(), f("button", {
1976
+ return (d, b) => {
1977
+ const w = x("el-icon");
1978
+ return e.showBack || o.value.length ? (l(), v("nav", Fn, [
1979
+ e.showBack ? (l(), v("button", {
1987
1980
  key: 0,
1988
1981
  class: "layout-breadcrumb__back",
1989
1982
  type: "button",
1990
1983
  "aria-label": e.backLabel,
1991
1984
  title: e.backLabel,
1992
- onClick: Y
1985
+ onClick: q
1993
1986
  }, [
1994
- A(S, null, {
1995
- default: _(() => [
1987
+ A(w, null, {
1988
+ default: C(() => [
1996
1989
  A(g(ft))
1997
1990
  ]),
1998
1991
  _: 1
1999
1992
  })
2000
- ], 8, Hn)) : I("", !0),
2001
- o.value.length ? (l(), f("ol", Qn, [
2002
- (l(!0), f(K, null, H(o.value, (P, E) => (l(), f("li", {
1993
+ ], 8, Hn)) : L("", !0),
1994
+ o.value.length ? (l(), v("ol", Qn, [
1995
+ (l(!0), v(O, null, z(o.value, (P, E) => (l(), v("li", {
2003
1996
  key: `${P.path || P.title}-${E}`,
2004
1997
  class: "flex min-w-0 items-center gap-1"
2005
1998
  }, [
2006
- E > 0 ? (l(), k(S, {
1999
+ E > 0 ? (l(), k(w, {
2007
2000
  key: 0,
2008
2001
  class: "layout-breadcrumb__separator"
2009
2002
  }, {
2010
- default: _(() => [
2011
- A(g(be))
2003
+ default: C(() => [
2004
+ A(g(ye))
2012
2005
  ]),
2013
2006
  _: 1
2014
- })) : I("", !0),
2015
- U(P) && D(P, E) ? (l(), f("a", {
2007
+ })) : L("", !0),
2008
+ U(P) && D(P, E) ? (l(), v("a", {
2016
2009
  key: 1,
2017
2010
  class: "layout-breadcrumb__link",
2018
2011
  href: P.path
2019
- }, M(P.title), 9, zn)) : D(P, E) ? (l(), f("button", {
2012
+ }, M(P.title), 9, zn)) : D(P, E) ? (l(), v("button", {
2020
2013
  key: 2,
2021
2014
  class: "layout-breadcrumb__link",
2022
2015
  type: "button",
2023
- onClick: (O) => J(P)
2024
- }, M(P.title), 9, Zn)) : (l(), f("span", jn, M(P.title), 1))
2016
+ onClick: (H) => F(P)
2017
+ }, M(P.title), 9, Zn)) : (l(), v("span", jn, M(P.title), 1))
2025
2018
  ]))), 128))
2026
- ])) : I("", !0)
2027
- ])) : I("", !0);
2019
+ ])) : L("", !0)
2020
+ ])) : L("", !0);
2028
2021
  };
2029
2022
  }
2030
2023
  }), ja = /* @__PURE__ */ B(qn, [["__scopeId", "data-v-399c6ece"]]), Yn = {
@@ -2036,60 +2029,60 @@ const at = (a, e) => a.reduce(
2036
2029
  showLabel: { type: Boolean, default: !1 }
2037
2030
  },
2038
2031
  setup(a) {
2039
- const e = wt(), t = R(!1), n = w(() => e.value), s = w(() => Lt()), r = w(() => It(n.value)), o = (c) => {
2040
- St(c), t.value = !1;
2032
+ const e = St(), t = R(!1), n = _(() => e.value), s = _(() => Lt()), r = _(() => It(n.value)), o = (u) => {
2033
+ wt(u), t.value = !1;
2041
2034
  };
2042
- return (c, p) => {
2043
- const i = x("el-icon"), h = x("el-popover");
2044
- return l(), k(h, {
2035
+ return (u, c) => {
2036
+ const m = x("el-icon"), i = x("el-popover");
2037
+ return l(), k(i, {
2045
2038
  visible: t.value,
2046
- "onUpdate:visible": p[0] || (p[0] = (y) => t.value = y),
2039
+ "onUpdate:visible": c[0] || (c[0] = (y) => t.value = y),
2047
2040
  placement: "bottom",
2048
2041
  width: 280,
2049
2042
  trigger: "hover",
2050
2043
  "popper-class": "top-timezone-popover"
2051
2044
  }, {
2052
- reference: _(() => [
2053
- A(te, {
2045
+ reference: C(() => [
2046
+ A($, {
2054
2047
  tag: "div",
2055
2048
  class: "timezone-select",
2056
2049
  "icon-only": !a.showLabel,
2057
2050
  title: r.value,
2058
2051
  "aria-label": r.value
2059
2052
  }, {
2060
- default: _(() => [
2061
- A(i, null, {
2062
- default: _(() => [
2053
+ default: C(() => [
2054
+ A(m, null, {
2055
+ default: C(() => [
2063
2056
  A(g(vt))
2064
2057
  ]),
2065
2058
  _: 1
2066
2059
  }),
2067
- a.showLabel ? (l(), f("span", Yn, M(n.value), 1)) : I("", !0),
2068
- a.showLabel ? (l(), k(i, {
2060
+ a.showLabel ? (l(), v("span", Yn, M(n.value), 1)) : L("", !0),
2061
+ a.showLabel ? (l(), k(m, {
2069
2062
  key: 1,
2070
2063
  class: "timezone-select__caret"
2071
2064
  }, {
2072
- default: _(() => [
2073
- A(g(Se))
2065
+ default: C(() => [
2066
+ A(g(we))
2074
2067
  ]),
2075
2068
  _: 1
2076
- })) : I("", !0)
2069
+ })) : L("", !0)
2077
2070
  ]),
2078
2071
  _: 1
2079
2072
  }, 8, ["icon-only", "title", "aria-label"])
2080
2073
  ]),
2081
- default: _(() => [
2082
- d("div", Wn, [
2083
- (l(!0), f(K, null, H(s.value, (y) => (l(), f("button", {
2074
+ default: C(() => [
2075
+ p("div", Wn, [
2076
+ (l(!0), v(O, null, z(s.value, (y) => (l(), v("button", {
2084
2077
  key: y.value,
2085
2078
  type: "button",
2086
- class: F(["timezone-select__option", {
2079
+ class: Q(["timezone-select__option", {
2087
2080
  "timezone-select__option--active": y.value === n.value
2088
2081
  }]),
2089
- onClick: (m) => o(y.value)
2082
+ onClick: (h) => o(y.value)
2090
2083
  }, [
2091
- d("span", Gn, M(y.value), 1),
2092
- d("span", Vn, M(y.offset), 1)
2084
+ p("span", Gn, M(y.value), 1),
2085
+ p("span", Vn, M(y.offset), 1)
2093
2086
  ], 10, Xn))), 128))
2094
2087
  ])
2095
2088
  ]),
@@ -2100,95 +2093,95 @@ const at = (a, e) => a.reduce(
2100
2093
  }), qa = /* @__PURE__ */ B($n, [["__scopeId", "data-v-e62f5f2d"]]), ea = { class: "user-info__panel" }, ta = { class: "user-info__profile" }, na = { class: "user-info__profile-main" }, aa = ["title"], oa = ["title"], sa = { class: "user-info__meta" }, ra = { class: "user-info__meta-label" }, la = ["title"], ia = ["href"], ca = /* @__PURE__ */ N({
2101
2094
  __name: "UserInfo",
2102
2095
  setup(a) {
2103
- const { t: e } = he.global, t = Q(), n = w(() => t.value.user || {}), s = w(() => t.value.accountMenu || []), r = w(
2096
+ const { t: e } = me.global, t = K(), n = _(() => t.value.user || {}), s = _(() => t.value.accountMenu || []), r = _(
2104
2097
  () => {
2105
- var p, i, h, y;
2106
- return ((p = n.value) == null ? void 0 : p.name) || ((i = n.value) == null ? void 0 : i.username) || ((h = n.value) == null ? void 0 : h.email) || ((y = n.value) == null ? void 0 : y.userId) || "User";
2098
+ var c, m, i, y;
2099
+ return ((c = n.value) == null ? void 0 : c.name) || ((m = n.value) == null ? void 0 : m.username) || ((i = n.value) == null ? void 0 : i.email) || ((y = n.value) == null ? void 0 : y.userId) || "User";
2107
2100
  }
2108
- ), o = w(
2101
+ ), o = _(
2109
2102
  () => {
2110
- var p, i, h;
2103
+ var c, m, i;
2111
2104
  return [
2112
- { label: e("admin.label.userName"), value: (p = n.value) == null ? void 0 : p.username },
2113
- { label: e("admin.label.email"), value: (i = n.value) == null ? void 0 : i.email },
2114
- { label: e("admin.label.userId"), value: (h = n.value) == null ? void 0 : h.userId }
2105
+ { label: e("admin.label.userName"), value: (c = n.value) == null ? void 0 : c.username },
2106
+ { label: e("admin.label.email"), value: (m = n.value) == null ? void 0 : m.email },
2107
+ { label: e("admin.label.userId"), value: (i = n.value) == null ? void 0 : i.userId }
2115
2108
  ].filter((y) => !!y.value);
2116
2109
  }
2117
- ), c = () => {
2118
- var p, i;
2119
- Promise.resolve((i = (p = t.value).onLogout) == null ? void 0 : i.call(p)).finally(() => {
2120
- t.value.onLogout || me(t.value);
2110
+ ), u = () => {
2111
+ var c, m;
2112
+ Promise.resolve((m = (c = t.value).onLogout) == null ? void 0 : m.call(c)).finally(() => {
2113
+ t.value.onLogout || pe(t.value);
2121
2114
  });
2122
2115
  };
2123
- return (p, i) => {
2124
- const h = x("el-popover");
2125
- return l(), k(h, {
2116
+ return (c, m) => {
2117
+ const i = x("el-popover");
2118
+ return l(), k(i, {
2126
2119
  width: 280,
2127
2120
  trigger: "hover",
2128
2121
  "popper-class": "top-userinfo-popover"
2129
2122
  }, {
2130
- reference: _(() => [
2123
+ reference: C(() => [
2131
2124
  A(g(Re), {
2132
2125
  class: "user-info__trigger ml-2",
2133
2126
  src: n.value.avatar,
2134
2127
  name: r.value
2135
2128
  }, null, 8, ["src", "name"])
2136
2129
  ]),
2137
- default: _(() => {
2130
+ default: C(() => {
2138
2131
  var y;
2139
2132
  return [
2140
- d("div", ea, [
2141
- d("div", ta, [
2133
+ p("div", ea, [
2134
+ p("div", ta, [
2142
2135
  A(g(Re), {
2143
2136
  class: "user-info__profile-avatar",
2144
2137
  src: n.value.avatar,
2145
2138
  name: r.value
2146
2139
  }, null, 8, ["src", "name"]),
2147
- d("div", na, [
2148
- d("div", {
2140
+ p("div", na, [
2141
+ p("div", {
2149
2142
  class: "user-info__display-name",
2150
2143
  title: r.value
2151
2144
  }, M(r.value), 9, aa),
2152
- (y = n.value) != null && y.username ? (l(), f("div", {
2145
+ (y = n.value) != null && y.username ? (l(), v("div", {
2153
2146
  key: 0,
2154
2147
  class: "user-info__username",
2155
2148
  title: n.value.username
2156
- }, " @" + M(n.value.username), 9, oa)) : I("", !0)
2149
+ }, " @" + M(n.value.username), 9, oa)) : L("", !0)
2157
2150
  ])
2158
2151
  ]),
2159
- d("div", sa, [
2160
- (l(!0), f(K, null, H(o.value, (m) => (l(), f("div", {
2161
- key: m.label,
2152
+ p("div", sa, [
2153
+ (l(!0), v(O, null, z(o.value, (h) => (l(), v("div", {
2154
+ key: h.label,
2162
2155
  class: "user-info__meta-row"
2163
2156
  }, [
2164
- d("span", ra, M(m.label), 1),
2165
- d("span", {
2157
+ p("span", ra, M(h.label), 1),
2158
+ p("span", {
2166
2159
  class: "user-info__meta-value",
2167
- title: m.value
2168
- }, M(m.value), 9, la)
2160
+ title: h.value
2161
+ }, M(h.value), 9, la)
2169
2162
  ]))), 128))
2170
2163
  ]),
2171
- i[1] || (i[1] = d("div", { class: "user-info__divider" }, null, -1)),
2172
- (l(!0), f(K, null, H(s.value, (m, v) => {
2173
- var C, T;
2174
- return l(), f("a", {
2175
- key: v,
2176
- href: m.path,
2164
+ m[1] || (m[1] = p("div", { class: "user-info__divider" }, null, -1)),
2165
+ (l(!0), v(O, null, z(s.value, (h, f) => {
2166
+ var S, T;
2167
+ return l(), v("a", {
2168
+ key: f,
2169
+ href: h.path,
2177
2170
  class: "user-info__item"
2178
2171
  }, [
2179
2172
  A(et, {
2180
- icon: m.icon || ((C = m.meta) == null ? void 0 : C.icon)
2173
+ icon: h.icon || ((S = h.meta) == null ? void 0 : S.icon)
2181
2174
  }, null, 8, ["icon"]),
2182
- d("span", null, M(g(le)(((T = m.meta) == null ? void 0 : T.translations) || {}, "name", m.name)), 1)
2175
+ p("span", null, M(g(re)(((T = h.meta) == null ? void 0 : T.translations) || {}, "name", h.name)), 1)
2183
2176
  ], 8, ia);
2184
2177
  }), 128)),
2185
- i[2] || (i[2] = d("div", { class: "user-info__divider" }, null, -1)),
2186
- d("div", {
2178
+ m[2] || (m[2] = p("div", { class: "user-info__divider" }, null, -1)),
2179
+ p("div", {
2187
2180
  class: "user-info__item user-info__item--danger",
2188
- onClick: c
2181
+ onClick: u
2189
2182
  }, [
2190
- i[0] || (i[0] = d("i", { class: "metisicon-exit-full" }, null, -1)),
2191
- d("span", null, M(g(e)("common.btn.logout")), 1)
2183
+ m[0] || (m[0] = p("i", { class: "metisicon-exit-full" }, null, -1)),
2184
+ p("span", null, M(g(e)("common.btn.logout")), 1)
2192
2185
  ])
2193
2186
  ])
2194
2187
  ];
@@ -2200,26 +2193,26 @@ const at = (a, e) => a.reduce(
2200
2193
  }), ua = /* @__PURE__ */ B(ca, [["__scopeId", "data-v-ac052463"]]), da = { class: "header-right" }, pa = ["href"], ma = /* @__PURE__ */ N({
2201
2194
  __name: "SHeaderRight",
2202
2195
  setup(a) {
2203
- const { t: e } = he.global, t = Q(), n = w(() => t.value.hideDoc ?? !1), s = w(() => Ve(t.value)), r = w(() => t.value.user), o = w(() => {
2204
- var i, h;
2205
- return !!((i = r.value) != null && i.id || (h = r.value) != null && h.userId);
2206
- }), c = (i) => {
2207
- t.value.onLogin && (i.preventDefault(), t.value.onLogin());
2208
- }, p = w(() => t.value.docsPath || "");
2209
- return (i, h) => {
2196
+ const { t: e } = me.global, t = K(), n = _(() => t.value.hideDoc ?? !1), s = _(() => Ve(t.value)), r = _(() => t.value.user), o = _(() => {
2197
+ var m, i;
2198
+ return !!((m = r.value) != null && m.id || (i = r.value) != null && i.userId);
2199
+ }), u = (m) => {
2200
+ t.value.onLogin && (m.preventDefault(), t.value.onLogin());
2201
+ }, c = _(() => t.value.docsPath || "");
2202
+ return (m, i) => {
2210
2203
  const y = x("el-icon");
2211
- return l(), f("div", da, [
2212
- !n.value && p.value ? (l(), k(te, {
2204
+ return l(), v("div", da, [
2205
+ !n.value && c.value ? (l(), k($, {
2213
2206
  key: 0,
2214
2207
  tag: "a",
2215
2208
  class: "whitespace-nowrap",
2216
- href: p.value,
2209
+ href: c.value,
2217
2210
  target: "_blank"
2218
2211
  }, {
2219
- default: _(() => [
2212
+ default: C(() => [
2220
2213
  A(y, null, {
2221
- default: _(() => [...h[0] || (h[0] = [
2222
- d("svg", {
2214
+ default: C(() => [...i[0] || (i[0] = [
2215
+ p("svg", {
2223
2216
  xmlns: "http://www.w3.org/2000/svg",
2224
2217
  width: "24",
2225
2218
  height: "24",
@@ -2233,22 +2226,22 @@ const at = (a, e) => a.reduce(
2233
2226
  "aria-hidden": "true",
2234
2227
  class: "lucide lucide-book-open"
2235
2228
  }, [
2236
- d("path", { d: "M12 7v14" }),
2237
- d("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" })
2229
+ p("path", { d: "M12 7v14" }),
2230
+ p("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" })
2238
2231
  ], -1)
2239
2232
  ])]),
2240
2233
  _: 1
2241
2234
  })
2242
2235
  ]),
2243
2236
  _: 1
2244
- }, 8, ["href"])) : I("", !0),
2237
+ }, 8, ["href"])) : L("", !0),
2245
2238
  A(st),
2246
2239
  A(ot),
2247
- o.value ? (l(), k(ua, { key: 1 })) : (l(), f("a", {
2240
+ o.value ? (l(), k(ua, { key: 1 })) : (l(), v("a", {
2248
2241
  key: 2,
2249
2242
  class: "header-right__login",
2250
2243
  href: s.value,
2251
- onClick: c
2244
+ onClick: u
2252
2245
  }, M(g(e)("common.btn.login")), 9, pa))
2253
2246
  ]);
2254
2247
  };
@@ -2267,7 +2260,7 @@ const at = (a, e) => a.reduce(
2267
2260
  }, Aa = { class: "header-bar__right" }, _a = /* @__PURE__ */ N({
2268
2261
  __name: "HeaderBar",
2269
2262
  setup(a) {
2270
- const e = Q(), { isMobile: t } = Z(), n = w(
2263
+ const e = K(), { isMobile: t } = ee(), n = _(
2271
2264
  () => {
2272
2265
  var s, r;
2273
2266
  return !!((s = e.value.user) != null && s.id || (r = e.value.user) != null && r.userId);
@@ -2275,101 +2268,101 @@ const at = (a, e) => a.reduce(
2275
2268
  );
2276
2269
  return (s, r) => {
2277
2270
  const o = x("el-image");
2278
- return l(), f("div", ga, [
2279
- d("div", fa, [
2280
- g(t) ? (l(), k(Kn, { key: 0 })) : I("", !0),
2281
- d("div", va, [
2282
- d("a", ya, [
2271
+ return l(), v("div", ga, [
2272
+ p("div", fa, [
2273
+ g(t) ? (l(), k(Kn, { key: 0 })) : L("", !0),
2274
+ p("div", va, [
2275
+ p("a", ya, [
2283
2276
  A(o, {
2284
2277
  src: g(e).logo,
2285
2278
  class: "h-7"
2286
2279
  }, null, 8, ["src"])
2287
2280
  ])
2288
2281
  ]),
2289
- n.value && !g(t) ? (l(), f("div", ba)) : I("", !0),
2290
- n.value && !g(t) ? (l(), k(an, { key: 2 })) : I("", !0)
2282
+ n.value && !g(t) ? (l(), v("div", ba)) : L("", !0),
2283
+ n.value && !g(t) ? (l(), k(an, { key: 2 })) : L("", !0)
2291
2284
  ]),
2292
- d("div", Aa, [
2293
- q(s.$slots, "default", {}, void 0, !0),
2294
- g(t) ? I("", !0) : (l(), k(ha, { key: 0 })),
2295
- g(t) ? (l(), k(Nn, { key: 1 })) : I("", !0)
2285
+ p("div", Aa, [
2286
+ j(s.$slots, "default", {}, void 0, !0),
2287
+ g(t) ? L("", !0) : (l(), k(ha, { key: 0 })),
2288
+ g(t) ? (l(), k(Nn, { key: 1 })) : L("", !0)
2296
2289
  ])
2297
2290
  ]);
2298
2291
  };
2299
2292
  }
2300
- }), Ca = /* @__PURE__ */ B(_a, [["__scopeId", "data-v-0ce1ab70"]]), wa = {
2293
+ }), Ca = /* @__PURE__ */ B(_a, [["__scopeId", "data-v-0ce1ab70"]]), Sa = {
2301
2294
  key: 0,
2302
2295
  class: "min-w-0 flex-1"
2303
- }, Sa = /* @__PURE__ */ N({
2296
+ }, wa = /* @__PURE__ */ N({
2304
2297
  __name: "AppSelectMobile",
2305
2298
  setup(a) {
2306
- const { currentAppId: e } = Z(), { appList: t, getAppPath: n, findAppById: s } = nt(), r = w(() => {
2307
- const c = s(e.value);
2308
- return c ? n(c) : "";
2309
- }), o = (c) => {
2299
+ const e = K(), t = _(() => e.value.currentAppId || ""), { appList: n, getAppPath: s, findAppById: r } = nt(), o = _(() => {
2300
+ const c = r(t.value);
2301
+ return c ? s(c) : "";
2302
+ }), u = (c) => {
2310
2303
  c && (location.href = c);
2311
2304
  };
2312
- return (c, p) => {
2313
- var m;
2314
- const i = x("el-option"), h = x("el-option-group"), y = x("el-select");
2315
- return (m = g(t)) != null && m.length ? (l(), f("div", wa, [
2316
- A(y, {
2317
- "model-value": r.value,
2305
+ return (c, m) => {
2306
+ var f;
2307
+ const i = x("el-option"), y = x("el-option-group"), h = x("el-select");
2308
+ return (f = g(n)) != null && f.length ? (l(), v("div", Sa, [
2309
+ A(h, {
2310
+ "model-value": o.value,
2318
2311
  class: "w-full",
2319
- onChange: o
2312
+ onChange: u
2320
2313
  }, {
2321
- default: _(() => [
2322
- (l(!0), f(K, null, H(g(t), (v) => {
2323
- var C;
2324
- return l(), f(K, {
2325
- key: v.appId
2314
+ default: C(() => [
2315
+ (l(!0), v(O, null, z(g(n), (S) => {
2316
+ var T;
2317
+ return l(), v(O, {
2318
+ key: S.appId
2326
2319
  }, [
2327
- (C = v.children) != null && C.length ? (l(), k(h, {
2320
+ (T = S.children) != null && T.length ? (l(), k(y, {
2328
2321
  key: 0,
2329
- label: v.name
2322
+ label: S.name
2330
2323
  }, {
2331
- default: _(() => [
2332
- (l(!0), f(K, null, H(v.children, (T) => (l(), k(i, {
2333
- key: T.appId,
2334
- label: T.name,
2335
- value: g(n)(T),
2324
+ default: C(() => [
2325
+ (l(!0), v(O, null, z(S.children, (I) => (l(), k(i, {
2326
+ key: I.appId,
2327
+ label: I.name,
2328
+ value: g(s)(I),
2336
2329
  style: { "padding-left": "30px" }
2337
2330
  }, null, 8, ["label", "value"]))), 128))
2338
2331
  ]),
2339
2332
  _: 2
2340
2333
  }, 1032, ["label"])) : (l(), k(i, {
2341
2334
  key: 1,
2342
- label: v.name,
2343
- value: g(n)(v)
2335
+ label: S.name,
2336
+ value: g(s)(S)
2344
2337
  }, null, 8, ["label", "value"]))
2345
2338
  ], 64);
2346
2339
  }), 128))
2347
2340
  ]),
2348
2341
  _: 1
2349
2342
  }, 8, ["model-value"])
2350
- ])) : I("", !0);
2343
+ ])) : L("", !0);
2351
2344
  };
2352
2345
  }
2353
2346
  }), Pa = { class: "aside-user-mobile" }, Ta = { class: "flex-1" }, ka = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, Ia = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, La = /* @__PURE__ */ N({
2354
2347
  __name: "AsideUserMobile",
2355
2348
  setup(a) {
2356
- const e = Q(), t = w(() => e.value.user || {}), n = w(() => !!(t.value.id || t.value.userId)), s = w(() => t.value.name || t.value.username), r = () => {
2357
- var o, c;
2358
- (c = (o = e.value).onLogin) != null && c.call(o) || me(e.value);
2349
+ const e = K(), t = _(() => e.value.user || {}), n = _(() => !!(t.value.id || t.value.userId)), s = _(() => t.value.name || t.value.username), r = () => {
2350
+ var o, u;
2351
+ (u = (o = e.value).onLogin) != null && u.call(o) || pe(e.value);
2359
2352
  };
2360
- return (o, c) => {
2361
- const p = x("el-icon");
2353
+ return (o, u) => {
2354
+ const c = x("el-icon");
2362
2355
  return n.value ? (l(), k(rt, { key: 0 }, {
2363
- reference: _(() => [
2364
- d("div", Pa, [
2365
- c[0] || (c[0] = d("div", { class: "aside-user-mobile__icon text-lg" }, [
2366
- d("i", { class: "metisicon-yonghu1" })
2356
+ reference: C(() => [
2357
+ p("div", Pa, [
2358
+ u[0] || (u[0] = p("div", { class: "aside-user-mobile__icon text-lg" }, [
2359
+ p("i", { class: "metisicon-yonghu1" })
2367
2360
  ], -1)),
2368
- d("div", Ta, M(s.value), 1),
2369
- d("div", ka, [
2370
- A(p, null, {
2371
- default: _(() => [
2372
- A(g(be))
2361
+ p("div", Ta, M(s.value), 1),
2362
+ p("div", ka, [
2363
+ A(c, null, {
2364
+ default: C(() => [
2365
+ A(g(ye))
2373
2366
  ]),
2374
2367
  _: 1
2375
2368
  })
@@ -2377,19 +2370,19 @@ const at = (a, e) => a.reduce(
2377
2370
  ])
2378
2371
  ]),
2379
2372
  _: 1
2380
- })) : (l(), f("div", {
2373
+ })) : (l(), v("div", {
2381
2374
  key: 1,
2382
2375
  class: "aside-user-mobile",
2383
2376
  onClick: r
2384
2377
  }, [
2385
- c[1] || (c[1] = d("div", { class: "aside-user-mobile__icon text-lg" }, [
2386
- d("i", { class: "metisicon-yonghu1" })
2378
+ u[1] || (u[1] = p("div", { class: "aside-user-mobile__icon text-lg" }, [
2379
+ p("i", { class: "metisicon-yonghu1" })
2387
2380
  ], -1)),
2388
- c[2] || (c[2] = d("div", { class: "flex-1" }, "登录/注册", -1)),
2389
- d("div", Ia, [
2390
- A(p, null, {
2391
- default: _(() => [
2392
- A(g(be))
2381
+ u[2] || (u[2] = p("div", { class: "flex-1" }, "登录/注册", -1)),
2382
+ p("div", Ia, [
2383
+ A(c, null, {
2384
+ default: C(() => [
2385
+ A(g(ye))
2393
2386
  ]),
2394
2387
  _: 1
2395
2388
  })
@@ -2400,40 +2393,40 @@ const at = (a, e) => a.reduce(
2400
2393
  }), xa = /* @__PURE__ */ B(La, [["__scopeId", "data-v-c56964a5"]]), Ea = { class: "aside-bar-mobile__head flex items-center gap-3" }, Ma = { class: "p-3" }, Da = /* @__PURE__ */ N({
2401
2394
  __name: "AsideBarMobile",
2402
2395
  setup(a) {
2403
- const { menus: e, sideOpen: t } = Z(), n = () => void (t.value = !1);
2396
+ const { menus: e, sideOpen: t } = ee(), n = () => void (t.value = !1);
2404
2397
  return (s, r) => {
2405
- const o = x("el-icon"), c = x("el-scrollbar");
2406
- return g(e).length && !s.$route.meta.hideSidebar ? (l(), f("div", {
2398
+ const o = x("el-icon"), u = x("el-scrollbar");
2399
+ return g(e).length && !s.$route.meta.hideSidebar ? (l(), v("div", {
2407
2400
  key: 0,
2408
- class: F(["aside-bar-mobile fixed inset-y-0 left-0 z-200 flex min-h-0 flex-col transition-transform", [g(t) ? "translate-x-[0px]" : "translate-x-[-100%]"]])
2401
+ class: Q(["aside-bar-mobile fixed inset-y-0 left-0 z-200 flex min-h-0 flex-col transition-transform", [g(t) ? "translate-x-[0px]" : "translate-x-[-100%]"]])
2409
2402
  }, [
2410
- d("div", Ea, [
2411
- d("button", {
2403
+ p("div", Ea, [
2404
+ p("button", {
2412
2405
  type: "button",
2413
2406
  class: "aside-bar-mobile__close",
2414
2407
  "aria-label": "Close menu",
2415
2408
  onClick: n
2416
2409
  }, [
2417
2410
  A(o, null, {
2418
- default: _(() => [
2411
+ default: C(() => [
2419
2412
  A(g(He))
2420
2413
  ]),
2421
2414
  _: 1
2422
2415
  })
2423
2416
  ]),
2424
- A(Sa)
2417
+ A(wa)
2425
2418
  ]),
2426
- A(c, { ref: "leftScrollRef" }, {
2427
- default: _(() => [
2428
- d("div", Ma, [
2419
+ A(u, { ref: "leftScrollRef" }, {
2420
+ default: C(() => [
2421
+ p("div", Ma, [
2429
2422
  A(tt, { menus: g(e) }, null, 8, ["menus"])
2430
2423
  ])
2431
2424
  ]),
2432
2425
  _: 1
2433
2426
  }, 512),
2434
- q(s.$slots, "sidebar-foot", {}, void 0, !0),
2427
+ j(s.$slots, "sidebar-foot", {}, void 0, !0),
2435
2428
  A(xa)
2436
- ], 2)) : I("", !0);
2429
+ ], 2)) : L("", !0);
2437
2430
  };
2438
2431
  }
2439
2432
  }), Na = /* @__PURE__ */ B(Da, [["__scopeId", "data-v-05675378"]]), Ba = "data:image/png;base64,iVBORw0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WIVSygHbSh4YfGFGy45e+GX84Wj/woPF4DKc8SGoC2LCZt/hnnxvRcXXbCiDeQCq1barn2VX7OD/gJAlyCbawmnUqYXrTw8BaKxM4HfB7yWE3r55/+yDNtS66ablwq4LS4o/Zglnu5cXE+5Xi4zToPzSZTDv2ClNJrMtoSV36PYzl2PR8H7CjK5DLqfoV1nE+oEI2qpY2+0MdhtFoA9TJ3VhI/A52OcEKyHz8TmfpJ2YIk8CJ+nAHsrtJxX3HV8+hJ0f8S7NFuS4HLCgIvq1jzyrmW+/APx8/FOi1cXRPaQ9zD0/5kHwTZn/aRxbnIKx70slzYgt6/C73DqRpsRAoiwNCjTVf7vVpHw3cQ+LDUuR0n8BXVPh0gfiOptve34ecQfp9JbrDF13CeFkUrTUacD3JzCmWfOHNir0Dyb1+g+D4FhGHJdMV4P88Nba9AQv7MKdU+89NoLmG/pfmgmLbPIR7Ks565DX+Q4kviZyE272HodeACTRN9GqCdPT3A9PvVREz3ZN1C+hEH6R5YBK7BI9mJmdoTllf/jH/94HBbjDOhew0AaDBvv049/YCA89dxzz21jkzj8sQ6jNbo8ikKmb1+8jojPo72Sy7O0+b+0LPHi5c3XG5CFfvNzFbDzqLOcJd3OK664Qg+kDhl3WL99oHM5/hpoDIduI/J5mfjjKOoNhDXLBlwFXoYceOjQoYvAfynpk2mzBf514H0aP+/pp59ubKv8wduDB4twXwbuc+nXQYT2C3+ELsuRMWCnFVLPGT8K7BvU/TX5r/8/j40HcI8c53QAAAAASUVORK5CYII=", Ua = { class: "layout-shell w-full flex flex-col" }, Ra = { class: "layout-shell__body flex flex-1 min-h-0 overflow-hidden" }, Ka = { class: "layout-shell__main flex flex-col flex-1 min-h-0 min-w-0 h-full" }, Ja = { class: "layout-shell__content flex-1 w-full min-h-0 flex flex-col overflow-hidden" }, Oa = /* @__PURE__ */ N({
@@ -2442,78 +2435,78 @@ const at = (a, e) => a.reduce(
2442
2435
  setting: {}
2443
2436
  },
2444
2437
  setup(a) {
2445
- const e = a, t = w(() => {
2446
- var m, v, C, T, L, U, z;
2438
+ const e = a, t = _(() => {
2439
+ var h, f, S, T, I, U, J;
2447
2440
  return {
2448
2441
  ...e.setting || {},
2449
- logo: ((m = e.setting) == null ? void 0 : m.logo) || Ba,
2450
- menus: ((v = e.setting) == null ? void 0 : v.menus) || [],
2451
- accountMenu: ((C = e.setting) == null ? void 0 : C.accountMenu) || [],
2442
+ logo: ((h = e.setting) == null ? void 0 : h.logo) || Ba,
2443
+ menus: ((f = e.setting) == null ? void 0 : f.menus) || [],
2444
+ accountMenu: ((S = e.setting) == null ? void 0 : S.accountMenu) || [],
2452
2445
  user: ((T = e.setting) == null ? void 0 : T.user) ?? null,
2453
- appList: ((L = e.setting) == null ? void 0 : L.appList) || [],
2446
+ appList: ((I = e.setting) == null ? void 0 : I.appList) || [],
2454
2447
  onLogin: (U = e.setting) == null ? void 0 : U.onLogin,
2455
- onLogout: (z = e.setting) == null ? void 0 : z.onLogout
2448
+ onLogout: (J = e.setting) == null ? void 0 : J.onLogout
2456
2449
  };
2457
2450
  });
2458
2451
  Fe(() => void Bt(t.value));
2459
- const { isMobile: n, sideOpen: s, initLayoutState: r } = Z();
2452
+ const { isMobile: n, sideOpen: s, initLayoutState: r } = ee();
2460
2453
  r();
2461
- let o = "", c = !1;
2462
- const p = () => void (s.value = !1), i = (m) => {
2463
- const v = m.matched[1];
2464
- if (!v) return m.path;
2465
- const C = h(v, m);
2466
- return [v.path, C].filter(Boolean).join("|");
2467
- }, h = (m, v) => Array.from(
2468
- m.path.matchAll(/:(\w+)/g),
2454
+ let o = "", u = !1;
2455
+ const c = () => void (s.value = !1), m = (h) => {
2456
+ const f = h.matched[1];
2457
+ if (!f) return h.path;
2458
+ const S = i(f, h);
2459
+ return [f.path, S].filter(Boolean).join("|");
2460
+ }, i = (h, f) => Array.from(
2461
+ h.path.matchAll(/:(\w+)/g),
2469
2462
  ([, T]) => T
2470
2463
  ).map((T) => {
2471
- const L = v.params[T];
2472
- return `${T}:${Array.isArray(L) ? L.join(",") : L || ""}`;
2473
- }).join("|"), y = (m) => {
2474
- m.key === "Escape" && n.value && s.value && p();
2464
+ const I = f.params[T];
2465
+ return `${T}:${Array.isArray(I) ? I.join(",") : I || ""}`;
2466
+ }).join("|"), y = (h) => {
2467
+ h.key === "Escape" && n.value && s.value && c();
2475
2468
  };
2476
- return re(
2469
+ return ue(
2477
2470
  () => n.value && s.value,
2478
- (m) => {
2471
+ (h) => {
2479
2472
  if (!(typeof document > "u")) {
2480
- if (m && !c) {
2481
- o = document.body.style.overflow, document.body.style.overflow = "hidden", c = !0;
2473
+ if (h && !u) {
2474
+ o = document.body.style.overflow, document.body.style.overflow = "hidden", u = !0;
2482
2475
  return;
2483
2476
  }
2484
- !m && c && (document.body.style.overflow = o, c = !1);
2477
+ !h && u && (document.body.style.overflow = o, u = !1);
2485
2478
  }
2486
2479
  },
2487
2480
  { immediate: !0 }
2488
2481
  ), Ke(() => {
2489
2482
  window.addEventListener("keydown", y);
2490
2483
  }), Je(() => {
2491
- window.removeEventListener("keydown", y), typeof document < "u" && c && (document.body.style.overflow = o);
2492
- }), (m, v) => {
2493
- const C = x("router-view");
2494
- return l(), f("div", Ua, [
2484
+ window.removeEventListener("keydown", y), typeof document < "u" && u && (document.body.style.overflow = o);
2485
+ }), (h, f) => {
2486
+ const S = x("router-view");
2487
+ return l(), v("div", Ua, [
2495
2488
  A(Ca, null, {
2496
- default: _(() => [
2497
- q(m.$slots, "header-right", {}, void 0, !0)
2489
+ default: C(() => [
2490
+ j(h.$slots, "header-right", {}, void 0, !0)
2498
2491
  ]),
2499
2492
  _: 3
2500
2493
  }),
2501
- d("div", Ra, [
2494
+ p("div", Ra, [
2502
2495
  g(n) ? (l(), k(Na, { key: 1 })) : (l(), k(Wt, { key: 0 })),
2503
- d("main", Ka, [
2504
- d("div", Ja, [
2505
- A(C, null, {
2506
- default: _(({ Component: T, route: L }) => [
2496
+ p("main", Ka, [
2497
+ p("div", Ja, [
2498
+ A(S, null, {
2499
+ default: C(({ Component: T, route: I }) => [
2507
2500
  A(De, {
2508
- name: String(L.meta.transition || "layout-page"),
2501
+ name: String(I.meta.transition || "layout-page"),
2509
2502
  mode: "out-in"
2510
2503
  }, {
2511
- default: _(() => [
2512
- (l(), f("div", {
2513
- key: i(L),
2504
+ default: C(() => [
2505
+ (l(), v("div", {
2506
+ key: m(I),
2514
2507
  class: "layout-page-view"
2515
2508
  }, [
2516
- (l(), k(we(T)))
2509
+ (l(), k(Se(T)))
2517
2510
  ]))
2518
2511
  ]),
2519
2512
  _: 2
@@ -2525,19 +2518,19 @@ const at = (a, e) => a.reduce(
2525
2518
  ])
2526
2519
  ]),
2527
2520
  A(De, { name: "layout-overlay" }, {
2528
- default: _(() => [
2529
- g(n) && g(s) ? (l(), f("div", {
2521
+ default: C(() => [
2522
+ g(n) && g(s) ? (l(), v("div", {
2530
2523
  key: 0,
2531
2524
  class: "layout-shell__overlay",
2532
- onClick: p
2533
- })) : I("", !0)
2525
+ onClick: c
2526
+ })) : L("", !0)
2534
2527
  ]),
2535
2528
  _: 1
2536
2529
  })
2537
2530
  ]);
2538
2531
  };
2539
2532
  }
2540
- }), Ya = /* @__PURE__ */ B(Oa, [["__scopeId", "data-v-a8366f09"]]);
2533
+ }), Ya = /* @__PURE__ */ B(Oa, [["__scopeId", "data-v-716c5091"]]);
2541
2534
  export {
2542
2535
  Ya as BaseLayout,
2543
2536
  st as LanguageSelect,
@@ -2546,9 +2539,9 @@ export {
2546
2539
  qa as TimezoneSelect,
2547
2540
  Re as UserAvatar,
2548
2541
  ua as UserInfo,
2549
- he as i18n,
2550
- de as messages,
2542
+ me as i18n,
2543
+ ce as messages,
2551
2544
  nt as useApp,
2552
- Q as useSetting,
2545
+ K as useSetting,
2553
2546
  Ge as useTheme
2554
2547
  };