mamba-layout 0.9.0 → 0.11.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.js CHANGED
@@ -1,18 +1,8 @@
1
- import { inject as Ve, provide as $e, ref as R, readonly as et, computed as T, unref as m, onActivated as tt, onMounted as Le, onUnmounted as xe, watch as le, defineComponent as N, openBlock as l, createElementBlock as v, normalizeClass as F, resolveComponent as E, Fragment as K, createBlock as I, resolveDynamicComponent as he, mergeProps as Ee, withCtx as w, createCommentVNode as x, createElementVNode as d, toDisplayString as M, renderList as H, withDirectives as nt, vShow as ot, createVNode as _, renderSlot as V, watchEffect as Me, Transition as Se } from "vue";
2
- import { Fold as De, ArrowDown as ge, Moon as at, Sunny as st, Expand as rt, User as lt, ArrowLeft as it, ArrowRight as pe, Clock as ct } from "@element-plus/icons-vue";
3
- import { useRoute as Ne, useRouter as Be } from "vue-router";
4
- import { createI18n as ut } from "vue-i18n";
5
- function dt(o, e) {
6
- const t = `${o}Context`, n = Symbol(t);
7
- return [(r) => {
8
- const c = Ve(n, r);
9
- if (c || c === null) return c;
10
- throw new Error(
11
- `Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(o) ? `one of the following components: ${o.join(", ")}` : `\`${o}\``}`
12
- );
13
- }, (r) => ($e(n, r), r)];
14
- }
15
- const pt = 3600 * 24 * 7, fe = "UTC", Ue = "timezone", mt = [
1
+ import { ref as N, readonly as mt, computed as S, unref as f, onActivated as ht, onMounted as Ue, onUnmounted as Re, watch as re, defineComponent as M, openBlock as l, createElementBlock as y, normalizeClass as K, resolveComponent as L, Fragment as B, createBlock as T, resolveDynamicComponent as fe, mergeProps as Ke, withCtx as C, createCommentVNode as I, createElementVNode as p, toDisplayString as E, renderList as J, withDirectives as gt, vShow as ft, createVNode as A, renderSlot as Z, watchEffect as Je, Transition as Ee } from "vue";
2
+ import { Fold as Oe, ArrowDown as ve, Moon as vt, Sunny as yt, Expand as bt, User as At, ArrowLeft as _t, ArrowRight as he, Clock as Ct } from "@element-plus/icons-vue";
3
+ import { useRoute as Fe, useRouter as He } from "vue-router";
4
+ import { createI18n as St } from "vue-i18n";
5
+ const wt = 3600 * 24 * 7, ye = "UTC", Qe = "timezone", Pt = [
16
6
  "UTC",
17
7
  "Asia/Shanghai",
18
8
  "Asia/Hong_Kong",
@@ -22,101 +12,101 @@ const pt = 3600 * 24 * 7, fe = "UTC", Ue = "timezone", mt = [
22
12
  "Europe/Berlin",
23
13
  "America/New_York",
24
14
  "America/Los_Angeles"
25
- ], Pe = /* @__PURE__ */ new Map(), de = () => {
15
+ ], Me = /* @__PURE__ */ new Map(), me = () => {
26
16
  try {
27
17
  return globalThis.localStorage;
28
18
  } catch {
29
19
  return;
30
20
  }
31
- }, te = {
32
- get(o, e = null) {
33
- const t = de(), n = t == null ? void 0 : t.getItem(o.toUpperCase());
34
- if (!n) return e;
21
+ }, X = {
22
+ get(n, e = null) {
23
+ const t = me(), a = t == null ? void 0 : t.getItem(n.toUpperCase());
24
+ if (!a) return e;
35
25
  try {
36
- const a = JSON.parse(n);
37
- if (a.expire === null || a.expire >= Date.now())
38
- return a.value;
39
- t == null || t.removeItem(o.toUpperCase());
26
+ const o = JSON.parse(a);
27
+ if (o.expire === null || o.expire >= Date.now())
28
+ return o.value;
29
+ t == null || t.removeItem(n.toUpperCase());
40
30
  } catch {
41
31
  return e;
42
32
  }
43
33
  return e;
44
34
  },
45
- set(o, e, t = pt) {
46
- const n = de(), a = {
35
+ set(n, e, t = wt) {
36
+ const a = me(), o = {
47
37
  value: e,
48
38
  expire: t === null ? null : Date.now() + t * 1e3
49
39
  };
50
- n == null || n.setItem(o.toUpperCase(), JSON.stringify(a));
40
+ a == null || a.setItem(n.toUpperCase(), JSON.stringify(o));
51
41
  },
52
42
  clear() {
53
- var o;
54
- (o = de()) == null || o.clear();
43
+ var n;
44
+ (n = me()) == null || n.clear();
55
45
  }
56
- }, ht = (o) => typeof o == "object" && o !== null, Te = (o) => {
57
- if (!ht(o) || Object.prototype.toString.call(o) !== "[object Object]") return !1;
58
- const e = Object.getPrototypeOf(o);
46
+ }, Tt = (n) => typeof n == "object" && n !== null, De = (n) => {
47
+ if (!Tt(n) || Object.prototype.toString.call(n) !== "[object Object]") return !1;
48
+ const e = Object.getPrototypeOf(n);
59
49
  return e === null || e === Object.prototype;
60
50
  };
61
- function Re(o, e) {
62
- if (!Te(o)) return e;
63
- if (!Te(e)) return o;
64
- const t = o;
65
- return Object.keys(e).concat(Object.getOwnPropertySymbols(e)).forEach((n) => {
66
- t[n] = Re(
67
- t[n],
68
- e[n]
51
+ function ze(n, e) {
52
+ if (!De(n)) return e;
53
+ if (!De(e)) return n;
54
+ const t = n;
55
+ return Object.keys(e).concat(Object.getOwnPropertySymbols(e)).forEach((a) => {
56
+ t[a] = ze(
57
+ t[a],
58
+ e[a]
69
59
  );
70
60
  }), t;
71
61
  }
72
- function Ke() {
73
- const o = typeof navigator > "u" ? "en-US" : navigator.language;
74
- return String(te.get("locale", o)).includes("zh") ? "zh-CN" : "en-US";
62
+ function Ze() {
63
+ const n = typeof navigator > "u" ? "en-US" : navigator.language;
64
+ return String(X.get("locale", n)).includes("zh") ? "zh-CN" : "en-US";
75
65
  }
76
- const ke = (o, e, t) => {
77
- var n;
78
- return ((n = e == null ? void 0 : e[t]) == null ? void 0 : n[o]) || "";
79
- }, ae = (o, e, t = "") => {
80
- const n = o;
81
- return ke(e, n, Ke()) || t || ke(e, n, "en-US");
82
- }, ie = (o = "") => o.replace(/【.*】/, ""), Je = (o, e, t) => {
83
- var n, a, s, r, c;
84
- for (const h of e) {
85
- const i = ((n = h.path) == null ? void 0 : n.replace(/\/:(\w+)/g, "/([^/]+)")) || "", g = new RegExp(`^${i}$`);
86
- if (((a = h.path) == null ? void 0 : a.toLowerCase()) === o || g.test(o))
87
- return ((s = h.meta) == null ? void 0 : s.visible) === "0" && (t == null ? void 0 : t.path) || "";
88
- if ((r = h.children) != null && r.length) {
89
- const f = Je(
90
- o,
91
- h.children,
92
- ((c = h.meta) == null ? void 0 : c.visible) === "1" ? h : t
66
+ const Ne = (n, e, t) => {
67
+ var a;
68
+ return ((a = e == null ? void 0 : e[t]) == null ? void 0 : a[n]) || "";
69
+ }, $ = (n, e, t = "") => {
70
+ const a = n;
71
+ return Ne(e, a, Ze()) || t || Ne(e, a, "en-US");
72
+ }, se = (n = "") => n.replace(/【.*】/, ""), je = (n, e, t) => {
73
+ var a, o, s, r, u;
74
+ for (const g of e) {
75
+ const i = ((a = g.path) == null ? void 0 : a.replace(/\/:(\w+)/g, "/([^/]+)")) || "", h = new RegExp(`^${i}$`);
76
+ if (((o = g.path) == null ? void 0 : o.toLowerCase()) === n || h.test(n))
77
+ return ((s = g.meta) == null ? void 0 : s.visible) === "0" && (t == null ? void 0 : t.path) || "";
78
+ if ((r = g.children) != null && r.length) {
79
+ const c = je(
80
+ n,
81
+ g.children,
82
+ ((u = g.meta) == null ? void 0 : u.visible) === "1" ? g : t
93
83
  );
94
- if (f) return f;
84
+ if (c) return c;
95
85
  }
96
86
  }
97
87
  return "";
98
- }, gt = (o, e) => {
99
- const t = o.resolve(e);
88
+ }, kt = (n, e) => {
89
+ const t = n.resolve(e);
100
90
  if (!(t != null && t.name)) return !1;
101
- const n = String(t.name).split("-").filter((s) => !!s && s !== "index"), a = t.path.split("-").join("/").split("/").filter(Boolean);
102
- return n.length === a.length && n.every((s, r) => s === a[r]);
103
- }, se = (o) => typeof o == "string" && Oe(o) ? o : "", Oe = (o) => {
91
+ const a = String(t.name).split("-").filter((s) => !!s && s !== "index"), o = t.path.split("-").join("/").split("/").filter(Boolean);
92
+ return a.length === o.length && a.every((s, r) => s === o[r]);
93
+ }, ne = (n) => typeof n == "string" && qe(n) ? n : "", qe = (n) => {
104
94
  try {
105
- return new Intl.DateTimeFormat("en-US", { timeZone: o }).format(/* @__PURE__ */ new Date()), !0;
95
+ return new Intl.DateTimeFormat("en-US", { timeZone: n }).format(/* @__PURE__ */ new Date()), !0;
106
96
  } catch {
107
97
  return !1;
108
98
  }
109
- }, Fe = () => se(Intl.DateTimeFormat().resolvedOptions().timeZone) || fe, ve = R(
110
- se(te.get(Ue)) || Fe()
111
- ), ft = () => et(ve);
112
- function vt(o) {
113
- const e = se(o);
114
- e && (ve.value = e, te.set(Ue, e, null));
99
+ }, Ye = () => ne(Intl.DateTimeFormat().resolvedOptions().timeZone) || ye, be = N(
100
+ ne(X.get(Qe)) || Ye()
101
+ ), It = () => mt(be);
102
+ function Lt(n) {
103
+ const e = ne(n);
104
+ e && (be.value = e, X.set(Qe, e, null));
115
105
  }
116
- const yt = (o) => {
117
- const e = se(o) || fe, t = Pe.get(e);
106
+ const xt = (n) => {
107
+ const e = ne(n) || ye, t = Me.get(e);
118
108
  if (t) return t;
119
- const n = new Intl.DateTimeFormat("en-US", {
109
+ const a = new Intl.DateTimeFormat("en-US", {
120
110
  timeZone: e,
121
111
  year: "numeric",
122
112
  month: "2-digit",
@@ -126,105 +116,105 @@ const yt = (o) => {
126
116
  second: "2-digit",
127
117
  hourCycle: "h23"
128
118
  });
129
- return Pe.set(e, n), n;
130
- }, bt = (o, e) => yt(e).formatToParts(o).reduce((n, a) => (a.type !== "literal" && (n[a.type] = Number(a.value)), n), {}), At = (o, e = /* @__PURE__ */ new Date()) => {
131
- const t = se(o) || fe, n = bt(e, t), a = Date.UTC(
132
- n.year || 0,
133
- (n.month || 1) - 1,
134
- n.day || 1,
135
- n.hour || 0,
136
- n.minute || 0,
137
- n.second || 0,
119
+ return Me.set(e, a), a;
120
+ }, Et = (n, e) => xt(e).formatToParts(n).reduce((a, o) => (o.type !== "literal" && (a[o.type] = Number(o.value)), a), {}), Mt = (n, e = /* @__PURE__ */ new Date()) => {
121
+ const t = ne(n) || ye, a = Et(e, t), o = Date.UTC(
122
+ a.year || 0,
123
+ (a.month || 1) - 1,
124
+ a.day || 1,
125
+ a.hour || 0,
126
+ a.minute || 0,
127
+ a.second || 0,
138
128
  e.getMilliseconds()
139
129
  );
140
- return Math.round((a - e.getTime()) / 6e4);
141
- }, He = (o, e = /* @__PURE__ */ new Date()) => {
142
- const t = At(o, e), n = t >= 0 ? "+" : "-", a = Math.abs(t), s = Math.floor(a / 60), r = a % 60;
143
- return `UTC${n}${String(s).padStart(2, "0")}:${String(
130
+ return Math.round((o - e.getTime()) / 6e4);
131
+ }, We = (n, e = /* @__PURE__ */ new Date()) => {
132
+ const t = Mt(n, e), a = t >= 0 ? "+" : "-", o = Math.abs(t), s = Math.floor(o / 60), r = o % 60;
133
+ return `UTC${a}${String(s).padStart(2, "0")}:${String(
144
134
  r
145
135
  ).padStart(2, "0")}`;
146
- }, _t = (o, e = /* @__PURE__ */ new Date()) => `${o} (${He(o, e)})`, Ct = (o = /* @__PURE__ */ new Date()) => {
136
+ }, Dt = (n, e = /* @__PURE__ */ new Date()) => `${n} (${We(n, e)})`, Nt = (n = /* @__PURE__ */ new Date()) => {
147
137
  const e = new Set(
148
- [Fe(), ...mt, ve.value].filter(
149
- Oe
138
+ [Ye(), ...Pt, be.value].filter(
139
+ qe
150
140
  )
151
141
  );
152
142
  return Array.from(e).map((t) => {
153
- const n = He(t, o);
143
+ const a = We(t, n);
154
144
  return {
155
145
  value: t,
156
- label: `${t} (${n})`,
157
- offset: n
146
+ label: `${t} (${a})`,
147
+ offset: a
158
148
  };
159
149
  });
160
- }, oe = R("light");
161
- function Qe() {
162
- const o = "theme", e = "(prefers-color-scheme: dark)", t = R(!1);
163
- let n = !1;
164
- const a = (b) => b === "dark" || b === "light" ? b : null, s = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(e).matches ? "dark" : "light", r = (b) => {
165
- const P = a(te.get(o, null));
166
- return P ? (t.value = !0, P) : b || s();
167
- }, c = (b) => {
168
- typeof document > "u" || document.documentElement.classList.toggle("dark", b === "dark");
169
- }, h = (b) => {
170
- const P = r(b);
171
- return oe.value = P, c(P), n = !0, P;
172
- }, i = (b, P) => {
173
- oe.value = b, c(b), (P == null ? void 0 : P.persist) !== !1 && (te.set(o, b, null), t.value = !0);
174
- }, g = () => {
175
- i(oe.value === "dark" ? "light" : "dark");
176
- }, p = (b) => {
177
- if (!n) {
178
- h(b);
150
+ }, V = N("light");
151
+ function Xe() {
152
+ const n = "theme", e = "(prefers-color-scheme: dark)", t = N(!1);
153
+ let a = !1;
154
+ const o = (v) => v === "dark" || v === "light" ? v : null, s = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(e).matches ? "dark" : "light", r = (v) => {
155
+ const _ = o(X.get(n, null));
156
+ return _ ? (t.value = !0, _) : v || s();
157
+ }, u = (v) => {
158
+ typeof document > "u" || document.documentElement.classList.toggle("dark", v === "dark");
159
+ }, g = (v) => {
160
+ const _ = r(v);
161
+ return V.value = _, u(_), a = !0, _;
162
+ }, i = (v, _) => {
163
+ V.value = v, u(v), (_ == null ? void 0 : _.persist) !== !1 && (X.set(n, v, null), t.value = !0);
164
+ }, h = () => {
165
+ i(V.value === "dark" ? "light" : "dark");
166
+ }, m = (v) => {
167
+ if (!a) {
168
+ g(v);
179
169
  return;
180
170
  }
181
- !t.value && b && i(b, { persist: !1 });
182
- }, f = T(() => oe.value === "dark");
171
+ !t.value && v && i(v, { persist: !1 });
172
+ }, c = S(() => V.value === "dark");
183
173
  return {
184
- theme: oe,
185
- isDark: f,
186
- initTheme: h,
174
+ theme: V,
175
+ isDark: c,
176
+ initTheme: g,
187
177
  setTheme: i,
188
- toggleTheme: g,
189
- syncThemeFromSetting: p
178
+ toggleTheme: h,
179
+ syncThemeFromSetting: m
190
180
  };
191
181
  }
192
- const wt = () => typeof location > "u" ? "" : location.href, je = (o) => (o == null ? void 0 : o.loginPath) || `/login?redirect=${encodeURIComponent(wt())}`, ce = (o) => {
193
- typeof location > "u" || (location.href = je(o));
194
- }, St = (o) => (o == null ? void 0 : o.userCenterPath) || "/usercenter/home", Pt = (o) => {
182
+ const Bt = () => typeof location > "u" ? "" : location.href, Ge = (n) => (n == null ? void 0 : n.loginPath) || `/login?redirect=${encodeURIComponent(Bt())}`, le = (n) => {
183
+ typeof location > "u" || (location.href = Ge(n));
184
+ }, Ut = (n) => (n == null ? void 0 : n.userCenterPath) || "/usercenter/home", Rt = (n) => {
195
185
  var s;
196
- const e = o.themeColor, t = {};
186
+ const e = n.themeColor, t = {};
197
187
  if (e)
198
188
  for (const r in e) {
199
189
  if (!e[r]) continue;
200
- const c = "--layout-" + r.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
201
- t[c] = e[r], r == "colorPrimary" && Tt(e[r]);
190
+ const u = "--layout-" + r.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
191
+ t[u] = e[r], r == "colorPrimary" && Kt(e[r]);
202
192
  }
203
- let n = document.getElementById("layout-style");
204
- n && ((s = n.parentNode) == null || s.removeChild(n)), n = document.createElement("style"), n.id = "layout-style", document.head.appendChild(n);
205
- const a = Object.keys(t).map((r) => r + ":" + t[r]).join(";");
206
- n.innerHTML = `html:root{${a}}`;
193
+ let a = document.getElementById("layout-style");
194
+ a && ((s = a.parentNode) == null || s.removeChild(a)), a = document.createElement("style"), a.id = "layout-style", document.head.appendChild(a);
195
+ const o = Object.keys(t).map((r) => r + ":" + t[r]).join(";");
196
+ a.innerHTML = `html:root{${o}}`;
207
197
  };
208
- function Tt(o) {
209
- var a;
198
+ function Kt(n) {
199
+ var o;
210
200
  let e = document.getElementById("primary-style");
211
- if (o == "theme-default" && e) {
212
- (a = e.parentNode) == null || a.removeChild(e);
201
+ if (n == "theme-default" && e) {
202
+ (o = e.parentNode) == null || o.removeChild(e);
213
203
  return;
214
204
  }
215
- const t = kt(o);
205
+ const t = Jt(n);
216
206
  e || (e = document.createElement("style"), e.id = "primary-style", document.head.appendChild(e));
217
- const n = Object.keys(t).map((s) => s + ":" + t[s]).join(";");
218
- e.innerHTML = `html:root{${n}}`;
207
+ const a = Object.keys(t).map((s) => s + ":" + t[s]).join(";");
208
+ e.innerHTML = `html:root{${a}}`;
219
209
  }
220
- function kt(o) {
221
- var h;
222
- const e = ((h = o.match(/\d+/g)) == null ? void 0 : h.map(Number)) || [], [t, n, a] = e, s = `rgb(${t}, ${n}, ${a})`, r = (i) => {
223
- const g = i / 100, p = Math.min(255, t + (255 - t) * g), f = Math.min(255, n + (255 - n) * g), b = Math.min(255, a + (255 - a) * g);
224
- return `rgb(${p.toFixed(1)}, ${f.toFixed(1)}, ${b.toFixed(1)})`;
225
- }, c = (i) => {
226
- const g = 1 - i / 100;
227
- return `rgb(${Math.round(t * g)} ${Math.round(n * g)} ${Math.round(a * g)})`;
210
+ function Jt(n) {
211
+ var g;
212
+ const e = ((g = n.match(/\d+/g)) == null ? void 0 : g.map(Number)) || [], [t, a, o] = e, s = `rgb(${t}, ${a}, ${o})`, r = (i) => {
213
+ const h = i / 100, m = Math.min(255, t + (255 - t) * h), c = Math.min(255, a + (255 - a) * h), v = Math.min(255, o + (255 - o) * h);
214
+ return `rgb(${m.toFixed(1)}, ${c.toFixed(1)}, ${v.toFixed(1)})`;
215
+ }, u = (i) => {
216
+ const h = 1 - i / 100;
217
+ return `rgb(${Math.round(t * h)} ${Math.round(a * h)} ${Math.round(o * h)})`;
228
218
  };
229
219
  return {
230
220
  "--el-color-primary": s,
@@ -233,10 +223,10 @@ function kt(o) {
233
223
  "--el-color-primary-light-7": r(70),
234
224
  "--el-color-primary-light-8": r(80),
235
225
  "--el-color-primary-light-9": r(90),
236
- "--el-color-primary-dark-2": c(20)
226
+ "--el-color-primary-dark-2": u(20)
237
227
  };
238
228
  }
239
- const me = R({
229
+ const ge = N({
240
230
  menus: [],
241
231
  layout: "classic",
242
232
  title: "",
@@ -244,129 +234,122 @@ const me = R({
244
234
  tabs: "tab",
245
235
  pageType: "common"
246
236
  });
247
- function Q() {
248
- return me;
237
+ function O() {
238
+ return ge;
249
239
  }
250
- const It = (o) => {
251
- const e = Q(), t = o && m(o) || {};
240
+ const Ot = (n) => {
241
+ const e = O(), t = n && f(n) || {};
252
242
  if (!(e != null && e.value)) return t;
253
- me.value = Re(e.value, t);
254
- const { syncThemeFromSetting: n } = Qe();
255
- n(), Pt(me.value);
256
- }, Lt = 1024, [W, xt] = dt("LayoutRoot");
257
- function Et() {
258
- const o = Ne(), e = R([]), t = R(), n = R(), a = R(""), s = R(""), r = R(""), c = Q(), h = R(!0), i = R(!1), g = R(), p = () => {
259
- var k;
260
- return ((k = c.value.menus) == null ? void 0 : k.filter((U) => {
261
- var J;
262
- return ((J = U.meta) == null ? void 0 : J.appId) == s.value;
263
- })) || [];
264
- }, f = (k, U, J = 0, z) => {
265
- var u, y, C, S;
266
- const Z = z ? [...z] : [], q = [], X = [];
267
- for (const A in k) {
268
- [...Z], k[A];
269
- const D = ((u = o.meta) == null ? void 0 : u.parent) || o.path, O = ((y = k[A].path) == null ? void 0 : y.replace(/\/:(\w+)/g, "/([^/]+)")) || "", Y = new RegExp(`^${O}$`);
270
- D == k[A].path ? q.push({ index: A, item: k[A] }) : Y.test(D) && X.push({ index: A, item: k[A] });
271
- }
272
- const j = q.length > 0 ? q : X;
273
- if (j.length > 0) {
274
- const A = j[0], D = [...Z];
275
- D[J] = A.item, t.value = {
276
- ...A.item,
277
- paths: D.slice(0, J + 1)
278
- }, s.value = ((C = A.item.meta) == null ? void 0 : C.appId) || "", n.value = U;
279
- }
280
- for (const A in k)
281
- if (k[A].children && ((S = k[A].children) != null && S.length)) {
282
- const D = k[A].children || [], O = [...Z];
283
- O[J] = k[A], f(D, k[A], J + 1, O);
284
- }
285
- r.value = o.meta.parentPath || Je(
286
- o.path.toLowerCase(),
287
- c.value.menus || []
288
- ) || o.path;
289
- }, b = () => {
290
- var z, Z, q, X, j, u, y, C, S, A;
291
- f(c.value.menus || []), s.value || (s.value = ((q = (Z = (z = c.value.menus) == null ? void 0 : z.find(
292
- (D) => {
293
- var O;
294
- return (O = D.path) == null ? void 0 : O.startsWith(a.value);
295
- }
296
- )) == null ? void 0 : Z.meta) == null ? void 0 : q.appId) || "");
297
- const k = ((X = t.value) == null ? void 0 : X.paths) || [], U = ie(
298
- ae(((u = (j = t.value) == null ? void 0 : j.meta) == null ? void 0 : u.translations) || {}, "name")
299
- ), J = ((y = t.value) == null ? void 0 : y.path) == ((C = k[1]) == null ? void 0 : C.path) ? "" : ie(ae(((A = (S = k[1]) == null ? void 0 : S.meta) == null ? void 0 : A.translations) || {}, "name"));
300
- document.title = U + (J ? ` - ${J}` : "");
301
- }, P = () => {
302
- a.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), b(), e.value = p();
303
- };
304
- P(), tt(() => {
305
- P();
306
- });
307
- const L = () => {
308
- const k = window.innerWidth < Lt;
309
- i.value = k, h.value = !k;
310
- };
311
- return L(), Le(() => {
312
- window.addEventListener("resize", L);
313
- }), xe(() => {
314
- window.removeEventListener("resize", L);
315
- }), le(
316
- () => a.value,
317
- () => void (e.value = p())
318
- ), le(
319
- () => [o.path, c.value.menus],
320
- () => {
321
- r.value = "", t.value = void 0, a.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), b(), e.value = p(), i.value && (h.value = !1);
243
+ ge.value = ze(e.value, t);
244
+ const { syncThemeFromSetting: a } = Xe();
245
+ a(), Rt(ge.value);
246
+ }, Ft = 1024, Ve = N(), Q = Fe(), ie = N([]), W = N(), ae = N(""), ee = N(""), Ae = N(""), te = O(), _e = N(!0), Ce = N(!1), Ht = N(), ce = () => {
247
+ var n;
248
+ return ((n = te.value.menus) == null ? void 0 : n.filter((e) => {
249
+ var t;
250
+ return ((t = e.meta) == null ? void 0 : t.appId) == ee.value;
251
+ })) || [];
252
+ }, $e = (n, e, t = 0, a) => {
253
+ var g, i, h, m;
254
+ const o = a ? [...a] : [], s = [], r = [];
255
+ for (const c in n) {
256
+ [...o], n[c];
257
+ const v = ((g = Q.meta) == null ? void 0 : g.parent) || Q.path, _ = ((i = n[c].path) == null ? void 0 : i.replace(/\/:(\w+)/g, "/([^/]+)")) || "", k = new RegExp(`^${_}$`);
258
+ v == n[c].path ? s.push({ index: c, item: n[c] }) : k.test(v) && r.push({ index: c, item: n[c] });
259
+ }
260
+ const u = s.length > 0 ? s : r;
261
+ if (u.length > 0) {
262
+ const c = u[0], v = [...o];
263
+ v[t] = c.item, W.value = {
264
+ ...c.item,
265
+ paths: v.slice(0, t + 1)
266
+ }, ee.value = ((h = c.item.meta) == null ? void 0 : h.appId) || "", Ve.value = e;
267
+ }
268
+ for (const c in n)
269
+ if (n[c].children && ((m = n[c].children) != null && m.length)) {
270
+ const v = n[c].children || [], _ = [...o];
271
+ _[t] = n[c], $e(v, n[c], t + 1, _);
322
272
  }
323
- ), xt({
324
- menus: e,
325
- currentEndRoute: t,
326
- currentTabPath: a,
327
- currentAppId: s,
328
- defaultParentActive: r,
329
- sideOpen: h,
330
- isMobile: i,
331
- getMenus: p,
332
- currentEndParentRoute: n
333
- }), {
334
- menus: e,
335
- currentEndRoute: t,
336
- currentTabPath: a,
337
- currentAppId: s,
338
- defaultParentActive: r,
339
- sideOpen: h,
340
- isMobile: i,
341
- getMenus: p,
342
- currentEndParentRoute: n,
343
- leftScrollRef: g
273
+ Ae.value = Q.meta.parentPath || je(
274
+ Q.path.toLowerCase(),
275
+ te.value.menus || []
276
+ ) || Q.path;
277
+ }, et = () => {
278
+ var a, o, s, r, u, g, i, h, m, c;
279
+ $e(te.value.menus || []), ee.value || (ee.value = ((s = (o = (a = te.value.menus) == null ? void 0 : a.find((v) => {
280
+ var _;
281
+ return (_ = v.path) == null ? void 0 : _.startsWith(ae.value);
282
+ })) == null ? void 0 : o.meta) == null ? void 0 : s.appId) || "");
283
+ const n = ((r = W.value) == null ? void 0 : r.paths) || [], e = se(
284
+ $(((g = (u = W.value) == null ? void 0 : u.meta) == null ? void 0 : g.translations) || {}, "name")
285
+ ), t = ((i = W.value) == null ? void 0 : i.path) == ((h = n[1]) == null ? void 0 : h.path) ? "" : se($(((c = (m = n[1]) == null ? void 0 : m.meta) == null ? void 0 : c.translations) || {}, "name"));
286
+ document.title = e + (t ? ` - ${t}` : "");
287
+ }, tt = () => {
288
+ ae.value = "/" + (Q.path.split("/").filter(Boolean).shift() || ""), et(), ie.value = ce();
289
+ };
290
+ tt();
291
+ ht(() => {
292
+ tt();
293
+ });
294
+ const Se = () => {
295
+ const n = window.innerWidth < Ft;
296
+ Ce.value = n, _e.value = !n;
297
+ };
298
+ Se();
299
+ Ue(() => {
300
+ window.addEventListener("resize", Se);
301
+ });
302
+ Re(() => {
303
+ window.removeEventListener("resize", Se);
304
+ });
305
+ re(
306
+ () => ae.value,
307
+ () => void (ie.value = ce())
308
+ );
309
+ re(
310
+ () => [Q.path, te.value.menus],
311
+ () => {
312
+ Ae.value = "", W.value = void 0, ae.value = "/" + (Q.path.split("/").filter(Boolean).shift() || ""), et(), ie.value = ce(), Ce.value && (_e.value = !1);
313
+ }
314
+ );
315
+ function H() {
316
+ return {
317
+ menus: ie,
318
+ currentEndRoute: W,
319
+ currentTabPath: ae,
320
+ currentAppId: ee,
321
+ defaultParentActive: Ae,
322
+ sideOpen: _e,
323
+ isMobile: Ce,
324
+ getMenus: ce,
325
+ currentEndParentRoute: Ve,
326
+ leftScrollRef: Ht
344
327
  };
345
328
  }
346
- const Mt = { class: "menu-item-icon" }, Dt = ["innerHTML"], Nt = /* @__PURE__ */ N({
329
+ const Qt = { class: "menu-item-icon" }, zt = ["innerHTML"], Zt = /* @__PURE__ */ M({
347
330
  __name: "MenuItemIcon",
348
331
  props: {
349
332
  icon: { default: "metisicon-yingyong" }
350
333
  },
351
- setup(o) {
352
- const e = o, t = T(() => e.icon || "metisicon-yingyong"), n = /^\s*<svg[\s>]/i, a = /\son[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, s = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, r = /\s(?:href|xlink:href)\s*=\s*("\s*javascript:[^"]*"|'\s*javascript:[^']*')/gi, c = (g) => !!g && n.test(g), h = (g) => !g || !c(g) ? "" : g.replace(s, "").replace(a, "").replace(r, ""), i = T(() => h(t.value));
353
- return (g, p) => (l(), v("div", Mt, [
354
- c(t.value) ? (l(), v("span", {
334
+ setup(n) {
335
+ const e = n, t = S(() => e.icon || "metisicon-yingyong"), a = /^\s*<svg[\s>]/i, o = /\son[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, s = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, r = /\s(?:href|xlink:href)\s*=\s*("\s*javascript:[^"]*"|'\s*javascript:[^']*')/gi, u = (h) => !!h && a.test(h), g = (h) => !h || !u(h) ? "" : h.replace(s, "").replace(o, "").replace(r, ""), i = S(() => g(t.value));
336
+ return (h, m) => (l(), y("div", Qt, [
337
+ u(t.value) ? (l(), y("span", {
355
338
  key: 0,
356
339
  class: "menu-item-icon__svg",
357
340
  innerHTML: i.value
358
- }, null, 8, Dt)) : (l(), v("i", {
341
+ }, null, 8, zt)) : (l(), y("i", {
359
342
  key: 1,
360
- class: F(t.value)
343
+ class: K(t.value)
361
344
  }, null, 2))
362
345
  ]));
363
346
  }
364
- }), B = (o, e) => {
365
- const t = o.__vccOpts || o;
366
- for (const [n, a] of e)
367
- t[n] = a;
347
+ }), D = (n, e) => {
348
+ const t = n.__vccOpts || n;
349
+ for (const [a, o] of e)
350
+ t[a] = o;
368
351
  return t;
369
- }, ze = /* @__PURE__ */ B(Nt, [["__scopeId", "data-v-ed060390"]]), Bt = { key: 0 }, Ut = /* @__PURE__ */ N({
352
+ }, nt = /* @__PURE__ */ D(Zt, [["__scopeId", "data-v-ed060390"]]), jt = { key: 0 }, qt = /* @__PURE__ */ M({
370
353
  __name: "AsideSubMenuItem",
371
354
  props: {
372
355
  menu: {
@@ -378,73 +361,73 @@ const Mt = { class: "menu-item-icon" }, Dt = ["innerHTML"], Nt = /* @__PURE__ */
378
361
  default: 1
379
362
  }
380
363
  },
381
- setup(o) {
382
- const e = o, t = T(
364
+ setup(n) {
365
+ const e = n, t = S(
383
366
  () => {
384
367
  var i;
385
- return (i = e.menu.children) == null ? void 0 : i.filter((g) => {
386
- var p;
387
- return ((p = g.meta) == null ? void 0 : p.visible) != "0";
368
+ return (i = e.menu.children) == null ? void 0 : i.filter((h) => {
369
+ var m;
370
+ return ((m = h.meta) == null ? void 0 : m.visible) != "0";
388
371
  });
389
372
  }
390
- ), { defaultParentActive: n, currentTabPath: a } = W(), s = Be(), r = T(() => {
373
+ ), { defaultParentActive: a, currentTabPath: o } = H(), s = He(), r = S(() => {
391
374
  var i;
392
- return e.level == 1 && !gt(s, e.menu.path || "") ? "div" : /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(a.value)) ? "a" : "router-link";
393
- }), c = T(() => {
375
+ return e.level == 1 && !kt(s, e.menu.path || "") ? "div" : /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(o.value)) ? "a" : "router-link";
376
+ }), u = S(() => {
394
377
  var i;
395
- return /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(a.value)) ? {
378
+ return /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(o.value)) ? {
396
379
  href: e.menu.path || ""
397
380
  } : {
398
381
  to: e.menu.path || ""
399
382
  };
400
- }), h = T(
383
+ }), g = S(
401
384
  () => {
402
385
  var i;
403
386
  return String(e.menu.icon || ((i = e.menu.meta) == null ? void 0 : i.icon) || "metisicon-yingyong");
404
387
  }
405
388
  );
406
- return (i, g) => {
407
- var f, b;
408
- const p = E("AsideSubMenuItem", !0);
409
- return l(), v(K, null, [
410
- (l(), I(he(r.value), Ee({
389
+ return (i, h) => {
390
+ var c, v;
391
+ const m = L("AsideSubMenuItem", !0);
392
+ return l(), y(B, null, [
393
+ (l(), T(fe(r.value), Ke({
411
394
  class: ["pt-1 pb-1 pl-3 pr-3 flex items-center gap-2 rounded-md", [
412
- e.menu.path == m(n) ? "bg-[var(--ui-sidebar-active-bg,var(--el-fill-color))] text-[var(--ui-sidebar-active-fg)] font-medium" : "text-[var(--ui-sidebar-foreground)]",
413
- (f = t.value) != null && f.length ? " h-7" : " h-9.5 cursor-pointer hover:bg-[var(--ui-sidebar-hover-bg)]"
395
+ e.menu.path == f(a) ? "bg-[var(--ui-sidebar-active-bg,var(--el-fill-color))] text-[var(--ui-sidebar-active-fg)] font-medium" : "text-[var(--ui-sidebar-foreground)]",
396
+ (c = t.value) != null && c.length ? " h-7" : " h-9.5 cursor-pointer hover:bg-[var(--ui-sidebar-hover-bg)]"
414
397
  ]],
415
398
  style: { paddingLeft: "calc(var(--spacing) * 3)" }
416
- }, c.value), {
417
- default: w(() => {
418
- var P, L, k, U;
399
+ }, u.value), {
400
+ default: C(() => {
401
+ var _, k, U, F;
419
402
  return [
420
- (P = t.value) != null && P.length ? x("", !0) : (l(), I(ze, {
403
+ (_ = t.value) != null && _.length ? I("", !0) : (l(), T(nt, {
421
404
  key: 0,
422
- icon: h.value,
423
- class: F(["text-md", [
424
- e.menu.path == m(n) ? "opacity-100" : "opacity-60"
405
+ icon: g.value,
406
+ class: K(["text-md", [
407
+ e.menu.path == f(a) ? "opacity-100" : "opacity-60"
425
408
  ]])
426
409
  }, null, 8, ["icon", "class"])),
427
- d("div", {
428
- class: F(["truncate", (L = t.value) != null && L.length ? "text-xs text-gray-400" : ""])
429
- }, M(m(ie)(m(ae)(((U = (k = e.menu) == null ? void 0 : k.meta) == null ? void 0 : U.translations) || {}, "name"))), 3)
410
+ p("div", {
411
+ class: K(["truncate", (k = t.value) != null && k.length ? "text-xs text-gray-400" : ""])
412
+ }, E(f(se)(f($)(((F = (U = e.menu) == null ? void 0 : U.meta) == null ? void 0 : F.translations) || {}, "name"))), 3)
430
413
  ];
431
414
  }),
432
415
  _: 1
433
416
  }, 16, ["class"])),
434
- (b = t.value) != null && b.length ? (l(), v("div", Bt, [
435
- (l(!0), v(K, null, H(t.value, (P, L) => (l(), I(p, {
436
- menu: P,
437
- key: L,
417
+ (v = t.value) != null && v.length ? (l(), y("div", jt, [
418
+ (l(!0), y(B, null, J(t.value, (_, k) => (l(), T(m, {
419
+ menu: _,
420
+ key: k,
438
421
  level: e.level + 1
439
422
  }, null, 8, ["menu", "level"]))), 128))
440
- ])) : x("", !0)
423
+ ])) : I("", !0)
441
424
  ], 64);
442
425
  };
443
426
  }
444
- }), Rt = { class: "h-full" }, Kt = {
427
+ }), Yt = { class: "h-full" }, Wt = {
445
428
  key: 0,
446
429
  class: ""
447
- }, Ze = /* @__PURE__ */ N({
430
+ }, at = /* @__PURE__ */ M({
448
431
  __name: "AsideSubMenus",
449
432
  props: {
450
433
  menus: {
@@ -452,173 +435,173 @@ const Mt = { class: "menu-item-icon" }, Dt = ["innerHTML"], Nt = /* @__PURE__ */
452
435
  default: () => []
453
436
  }
454
437
  },
455
- setup(o) {
456
- const e = o;
457
- return (t, n) => {
458
- var a;
459
- return nt((l(), v("div", Rt, [
460
- (a = e.menus) != null && a.length ? (l(), v("div", Kt, [
461
- (l(!0), v(K, null, H(e.menus.filter((s) => {
438
+ setup(n) {
439
+ const e = n;
440
+ return (t, a) => {
441
+ var o;
442
+ return gt((l(), y("div", Yt, [
443
+ (o = e.menus) != null && o.length ? (l(), y("div", Wt, [
444
+ (l(!0), y(B, null, J(e.menus.filter((s) => {
462
445
  var r;
463
446
  return ((r = s.meta) == null ? void 0 : r.visible) != "0";
464
- }), (s, r) => (l(), I(Ut, {
447
+ }), (s, r) => (l(), T(qt, {
465
448
  key: r,
466
449
  menu: s
467
450
  }, null, 8, ["menu"]))), 128))
468
- ])) : x("", !0)
451
+ ])) : I("", !0)
469
452
  ], 512)), [
470
- [ot, e.menus.length]
453
+ [ft, e.menus.length]
471
454
  ]);
472
455
  };
473
456
  }
474
- }), Jt = {
457
+ }), Xt = {
475
458
  key: 0,
476
459
  class: "aside-bar__mobile-head flex justify-between items-center pt-4 pb-4 px-4"
477
- }, Ot = { class: "p-3" }, Ft = /* @__PURE__ */ N({
460
+ }, Gt = { class: "p-3" }, Vt = /* @__PURE__ */ M({
478
461
  __name: "AsideBar",
479
- setup(o) {
480
- const { menus: e, isMobile: t, sideOpen: n } = W(), a = () => void (n.value = !n.value);
462
+ setup(n) {
463
+ const { menus: e, isMobile: t, sideOpen: a } = H(), o = () => void (a.value = !a.value);
481
464
  return (s, r) => {
482
- const c = E("el-icon"), h = E("el-scrollbar");
483
- return m(e).length && !s.$route.meta.hideSidebar ? (l(), v("div", {
465
+ const u = L("el-icon"), g = L("el-scrollbar");
466
+ return f(e).length && !s.$route.meta.hideSidebar ? (l(), y("div", {
484
467
  key: 0,
485
- class: F(["aside-bar flex flex-col h-full min-h-0 w-64 min-width-50", [
486
- m(t) ? "fixed top-0 left-0 z-200 transition-all" : "",
487
- m(n) ? "translate-x-[0px]" : "translate-x-[-100%]"
468
+ class: K(["aside-bar flex flex-col h-full min-h-0 w-64 min-width-50", [
469
+ f(t) ? "fixed top-0 left-0 z-200 transition-all" : "",
470
+ f(a) ? "translate-x-[0px]" : "translate-x-[-100%]"
488
471
  ]])
489
472
  }, [
490
- m(t) ? (l(), v("div", Jt, [
491
- d("div", {
473
+ f(t) ? (l(), y("div", Xt, [
474
+ p("div", {
492
475
  class: "aside-bar__close text-lg cursor-pointer p-2 leading-4",
493
- onClick: a
476
+ onClick: o
494
477
  }, [
495
- _(c, null, {
496
- default: w(() => [
497
- _(m(De))
478
+ A(u, null, {
479
+ default: C(() => [
480
+ A(f(Oe))
498
481
  ]),
499
482
  _: 1
500
483
  })
501
484
  ])
502
- ])) : x("", !0),
503
- _(h, { ref: "leftScrollRef" }, {
504
- default: w(() => [
505
- d("div", Ot, [
506
- _(Ze, { menus: m(e) }, null, 8, ["menus"])
485
+ ])) : I("", !0),
486
+ A(g, { ref: "leftScrollRef" }, {
487
+ default: C(() => [
488
+ p("div", Gt, [
489
+ A(at, { menus: f(e) }, null, 8, ["menus"])
507
490
  ])
508
491
  ]),
509
492
  _: 1
510
493
  }, 512),
511
- V(s.$slots, "sidebar-foot", {}, void 0, !0)
512
- ], 2)) : x("", !0);
494
+ Z(s.$slots, "sidebar-foot", {}, void 0, !0)
495
+ ], 2)) : I("", !0);
513
496
  };
514
497
  }
515
- }), Ht = /* @__PURE__ */ B(Ft, [["__scopeId", "data-v-f328029c"]]);
516
- function qe() {
517
- const o = Q(), e = T(() => o.value.appList || []);
498
+ }), $t = /* @__PURE__ */ D(Vt, [["__scopeId", "data-v-ff960d0f"]]);
499
+ function ot() {
500
+ const n = O(), e = S(() => n.value.appList || []);
518
501
  return {
519
502
  appList: e,
520
- getAppPath: (a) => (a == null ? void 0 : a.path) || "",
521
- findAppById: (a) => {
522
- if (a)
523
- return Ye(e.value, a);
503
+ getAppPath: (o) => (o == null ? void 0 : o.path) || "",
504
+ findAppById: (o) => {
505
+ if (o)
506
+ return st(e.value, o);
524
507
  }
525
508
  };
526
509
  }
527
- const Ye = (o, e) => o.reduce(
528
- (t, n) => t || (n.appId === e ? n : Ye(n.children || [], e)),
510
+ const st = (n, e) => n.reduce(
511
+ (t, a) => t || (a.appId === e ? a : st(a.children || [], e)),
529
512
  void 0
530
- ), Qt = {
513
+ ), en = {
531
514
  key: 0,
532
515
  class: "app-select"
533
- }, jt = ["href"], zt = {
516
+ }, tn = ["href"], nn = {
534
517
  key: 0,
535
518
  class: "app-select__dropdown"
536
- }, Zt = ["href"], qt = { class: "app-select__dropdown-icon text-xl" }, Yt = { class: "app-select__dropdown-desc" }, Wt = /* @__PURE__ */ N({
519
+ }, an = ["href"], on = { class: "app-select__dropdown-icon text-xl" }, sn = { class: "app-select__dropdown-desc" }, rn = /* @__PURE__ */ M({
537
520
  __name: "AppSelect",
538
- setup(o) {
539
- const { currentAppId: e } = W(), { appList: t, getAppPath: n } = qe(), a = (s) => {
521
+ setup(n) {
522
+ const { currentAppId: e } = H(), { appList: t, getAppPath: a } = ot(), o = (s) => {
540
523
  var r;
541
- return e.value === s.appId || !!((r = s.children) != null && r.some((c) => c.appId === e.value));
524
+ return e.value === s.appId || !!((r = s.children) != null && r.some((u) => u.appId === e.value));
542
525
  };
543
526
  return (s, r) => {
544
- var h;
545
- const c = E("el-icon");
546
- return (h = m(t)) != null && h.length ? (l(), v("div", Qt, [
547
- (l(!0), v(K, null, H(m(t), (i) => {
548
- var g, p;
549
- return l(), v("div", {
527
+ var g;
528
+ const u = L("el-icon");
529
+ return (g = f(t)) != null && g.length ? (l(), y("div", en, [
530
+ (l(!0), y(B, null, J(f(t), (i) => {
531
+ var h, m;
532
+ return l(), y("div", {
550
533
  key: i.appId,
551
534
  class: "app-select__group"
552
535
  }, [
553
- d("a", {
554
- class: F(["app-select__link", {
555
- "app-select__link--active": a(i)
536
+ p("a", {
537
+ class: K(["app-select__link", {
538
+ "app-select__link--active": o(i)
556
539
  }]),
557
- href: m(n)(i) || void 0
540
+ href: f(a)(i) || void 0
558
541
  }, [
559
- d("span", null, M(i.name), 1),
560
- (g = i.children) != null && g.length ? (l(), I(c, { key: 0 }, {
561
- default: w(() => [
562
- _(m(ge))
542
+ p("span", null, E(i.name), 1),
543
+ (h = i.children) != null && h.length ? (l(), T(u, { key: 0 }, {
544
+ default: C(() => [
545
+ A(f(ve))
563
546
  ]),
564
547
  _: 1
565
- })) : x("", !0)
566
- ], 10, jt),
567
- (p = i.children) != null && p.length ? (l(), v("div", zt, [
568
- (l(!0), v(K, null, H(i.children, (f) => (l(), v("a", {
569
- key: f.appId,
570
- class: F(["app-select__dropdown-item", {
571
- "app-select__dropdown-item--active": a(f)
548
+ })) : I("", !0)
549
+ ], 10, tn),
550
+ (m = i.children) != null && m.length ? (l(), y("div", nn, [
551
+ (l(!0), y(B, null, J(i.children, (c) => (l(), y("a", {
552
+ key: c.appId,
553
+ class: K(["app-select__dropdown-item", {
554
+ "app-select__dropdown-item--active": o(c)
572
555
  }]),
573
- href: m(n)(f) || void 0
556
+ href: f(a)(c) || void 0
574
557
  }, [
575
- d("span", qt, [
576
- d("i", {
577
- class: F(f.icon || "metisicon-moxingku")
558
+ p("span", on, [
559
+ p("i", {
560
+ class: K(c.icon || "metisicon-moxingku")
578
561
  }, null, 2)
579
562
  ]),
580
- d("div", null, [
581
- d("div", null, M(f.name), 1),
582
- d("div", Yt, M(f.desc), 1)
563
+ p("div", null, [
564
+ p("div", null, E(c.name), 1),
565
+ p("div", sn, E(c.desc), 1)
583
566
  ])
584
- ], 10, Zt))), 128))
585
- ])) : x("", !0)
567
+ ], 10, an))), 128))
568
+ ])) : I("", !0)
586
569
  ]);
587
570
  }), 128))
588
- ])) : x("", !0);
571
+ ])) : I("", !0);
589
572
  };
590
573
  }
591
- }), Xt = /* @__PURE__ */ B(Wt, [["__scopeId", "data-v-b6da0897"]]), Gt = /* @__PURE__ */ N({
574
+ }), ln = /* @__PURE__ */ D(rn, [["__scopeId", "data-v-e2f5efb7"]]), cn = /* @__PURE__ */ M({
592
575
  __name: "NavIconBtn",
593
576
  props: {
594
577
  tag: { default: "button" },
595
578
  type: { default: "button" },
596
579
  iconOnly: { type: Boolean, default: !0 }
597
580
  },
598
- setup(o) {
599
- return (e, t) => (l(), I(he(o.tag), {
600
- type: o.tag === "button" ? o.type : void 0,
601
- class: F(["nav-icon-btn", { "nav-icon-btn--icon-only": o.iconOnly }])
581
+ setup(n) {
582
+ return (e, t) => (l(), T(fe(n.tag), {
583
+ type: n.tag === "button" ? n.type : void 0,
584
+ class: K(["nav-icon-btn", { "nav-icon-btn--icon-only": n.iconOnly }])
602
585
  }, {
603
- default: w(() => [
604
- V(e.$slots, "default", {}, void 0, !0)
586
+ default: C(() => [
587
+ Z(e.$slots, "default", {}, void 0, !0)
605
588
  ]),
606
589
  _: 3
607
590
  }, 8, ["type", "class"]));
608
591
  }
609
- }), ne = /* @__PURE__ */ B(Gt, [["__scopeId", "data-v-824bbddc"]]), Vt = /* @__PURE__ */ N({
592
+ }), G = /* @__PURE__ */ D(cn, [["__scopeId", "data-v-824bbddc"]]), un = /* @__PURE__ */ M({
610
593
  __name: "ThemeToggle",
611
- setup(o) {
612
- const e = Q(), { theme: t, isDark: n, toggleTheme: a } = Qe();
613
- return Me(() => {
594
+ setup(n) {
595
+ const e = O(), { theme: t, isDark: a, toggleTheme: o } = Xe();
596
+ return Je(() => {
614
597
  e.value.theme = t.value;
615
598
  }), (s, r) => {
616
- const c = E("el-icon");
617
- return l(), I(ne, { onClick: m(a) }, {
618
- default: w(() => [
619
- _(c, null, {
620
- default: w(() => [
621
- m(n) ? (l(), I(m(st), { key: 1 })) : (l(), I(m(at), { key: 0 }))
599
+ const u = L("el-icon");
600
+ return l(), T(G, { onClick: f(o) }, {
601
+ default: C(() => [
602
+ A(u, null, {
603
+ default: C(() => [
604
+ f(a) ? (l(), T(f(yt), { key: 1 })) : (l(), T(f(vt), { key: 0 }))
622
605
  ]),
623
606
  _: 1
624
607
  })
@@ -627,7 +610,7 @@ const Ye = (o, e) => o.reduce(
627
610
  }, 8, ["onClick"]);
628
611
  };
629
612
  }
630
- }), We = /* @__PURE__ */ B(Vt, [["__scopeId", "data-v-e6ea60b7"]]), $t = {
613
+ }), rt = /* @__PURE__ */ D(un, [["__scopeId", "data-v-e6ea60b7"]]), dn = {
631
614
  label: {
632
615
  clickToChangeImage: "Click to change image"
633
616
  },
@@ -635,7 +618,7 @@ const Ye = (o, e) => o.reduce(
635
618
  uploadIng: "Uploading...",
636
619
  agreementTip1: "Terms of Service and Privacy Policy"
637
620
  }
638
- }, en = {
621
+ }, pn = {
639
622
  label: {
640
623
  agreement: "I agree to",
641
624
  and: "and",
@@ -840,7 +823,7 @@ const Ye = (o, e) => o.reduce(
840
823
  loginHeroTitle: "Enterprise AI Platform for Model Services & Compute",
841
824
  loginHeroDesc: "Unified API access to multi-model routing, compute orchestration, and AI service operations, built for enterprise."
842
825
  }
843
- }, tn = {
826
+ }, mn = {
844
827
  btn: {
845
828
  agree: "Agree",
846
829
  disagree: "Disagree",
@@ -878,7 +861,7 @@ const Ye = (o, e) => o.reduce(
878
861
  },
879
862
  pleaseSelect: "Please select {0}",
880
863
  seeMore: "See More"
881
- }, nn = {
864
+ }, hn = {
882
865
  notFound: {
883
866
  title: "Coming Soon!",
884
867
  description: "This page is under development. Please refresh the page or click the button below to return to the homepage.",
@@ -913,7 +896,7 @@ const Ye = (o, e) => o.reduce(
913
896
  folder: "folder",
914
897
  file: "file"
915
898
  }
916
- }, on = {
899
+ }, gn = {
917
900
  label: {
918
901
  languageModel: "Language Model"
919
902
  },
@@ -1062,7 +1045,7 @@ const Ye = (o, e) => o.reduce(
1062
1045
  CNY: "Chinese Yuan",
1063
1046
  USD: "US Dollar"
1064
1047
  }
1065
- }, an = {
1048
+ }, fn = {
1066
1049
  label: {},
1067
1050
  btn: {
1068
1051
  search: "Search",
@@ -1071,7 +1054,7 @@ const Ye = (o, e) => o.reduce(
1071
1054
  expand: "Expand"
1072
1055
  },
1073
1056
  msg: {}
1074
- }, sn = {
1057
+ }, vn = {
1075
1058
  label: {
1076
1059
  otherConfig: "Other Settings"
1077
1060
  },
@@ -1086,7 +1069,7 @@ const Ye = (o, e) => o.reduce(
1086
1069
  StaticPrefixInput: {
1087
1070
  notEmpty: "Cannot be empty"
1088
1071
  }
1089
- }, rn = {
1072
+ }, yn = {
1090
1073
  label: {},
1091
1074
  btn: {},
1092
1075
  msg: {
@@ -1102,17 +1085,17 @@ const Ye = (o, e) => o.reduce(
1102
1085
  charError: "Passwords must contain letters, numbers, and special symbols",
1103
1086
  charTypeError: "The password must contain at least three types: uppercase letters, lowercase letters, numbers, and special symbols"
1104
1087
  }
1105
- }, ln = {
1088
+ }, bn = {
1106
1089
  name: "English",
1107
- common: tn,
1108
- account: $t,
1109
- admin: en,
1110
- components: nn,
1111
- constant: on,
1112
- filterBox: an,
1113
- password: rn,
1114
- instanceForm: sn
1115
- }, cn = {
1090
+ common: mn,
1091
+ account: dn,
1092
+ admin: pn,
1093
+ components: hn,
1094
+ constant: gn,
1095
+ filterBox: fn,
1096
+ password: yn,
1097
+ instanceForm: vn
1098
+ }, An = {
1116
1099
  label: {
1117
1100
  clickToChangeImage: "点击更换图像"
1118
1101
  },
@@ -1120,7 +1103,7 @@ const Ye = (o, e) => o.reduce(
1120
1103
  uploadIng: "上传中...",
1121
1104
  agreementTip1: "服务协议及隐私保护"
1122
1105
  }
1123
- }, un = {
1106
+ }, _n = {
1124
1107
  label: {
1125
1108
  agreement: "我已同意",
1126
1109
  and: "和",
@@ -1323,7 +1306,7 @@ const Ye = (o, e) => o.reduce(
1323
1306
  loginHeroTitle: "泛 AI 聚合与分发服务",
1324
1307
  loginHeroDesc: "通过 API 调度,实现模型调用、AI 应用构建、数据与工具服务的在线分发与使用。"
1325
1308
  }
1326
- }, dn = {
1309
+ }, Cn = {
1327
1310
  btn: {
1328
1311
  agree: "同意",
1329
1312
  disagree: "不同意",
@@ -1361,7 +1344,7 @@ const Ye = (o, e) => o.reduce(
1361
1344
  },
1362
1345
  pleaseSelect: "请选择{0}",
1363
1346
  seeMore: "查看更多"
1364
- }, pn = {
1347
+ }, Sn = {
1365
1348
  notFound: {
1366
1349
  title: "开发中,敬请期待!",
1367
1350
  description: "页面开发中,请刷新页面,或者点击下面的按钮返回主页.",
@@ -1396,7 +1379,7 @@ const Ye = (o, e) => o.reduce(
1396
1379
  folder: "文件夹",
1397
1380
  file: "文件"
1398
1381
  }
1399
- }, mn = {
1382
+ }, wn = {
1400
1383
  label: {
1401
1384
  languageModel: "语言模型"
1402
1385
  },
@@ -1545,7 +1528,7 @@ const Ye = (o, e) => o.reduce(
1545
1528
  CNY: "人民币",
1546
1529
  USD: "美元"
1547
1530
  }
1548
- }, hn = {
1531
+ }, Pn = {
1549
1532
  label: {},
1550
1533
  btn: {
1551
1534
  search: "搜索",
@@ -1554,7 +1537,7 @@ const Ye = (o, e) => o.reduce(
1554
1537
  expand: "展开"
1555
1538
  },
1556
1539
  msg: {}
1557
- }, gn = {
1540
+ }, Tn = {
1558
1541
  label: {
1559
1542
  otherConfig: "其他配置"
1560
1543
  },
@@ -1569,7 +1552,7 @@ const Ye = (o, e) => o.reduce(
1569
1552
  StaticPrefixInput: {
1570
1553
  notEmpty: "不能为空"
1571
1554
  }
1572
- }, fn = {
1555
+ }, kn = {
1573
1556
  label: {},
1574
1557
  btn: {},
1575
1558
  msg: {
@@ -1585,63 +1568,63 @@ const Ye = (o, e) => o.reduce(
1585
1568
  charError: "密码必须包含字母、数字、特殊符号",
1586
1569
  charTypeError: "密码必须包含至少以下三种(大写字母、小写字母、数字、特殊符号)"
1587
1570
  }
1588
- }, vn = {
1571
+ }, In = {
1589
1572
  name: "中文简体",
1590
- common: dn,
1591
- account: cn,
1592
- admin: un,
1593
- components: pn,
1594
- constant: mn,
1595
- filterBox: hn,
1596
- password: fn,
1597
- instanceForm: gn
1598
- }, re = {
1599
- "en-US": ln,
1600
- "zh-CN": vn
1601
- }, ue = ut({
1602
- locale: Ke(),
1573
+ common: Cn,
1574
+ account: An,
1575
+ admin: _n,
1576
+ components: Sn,
1577
+ constant: wn,
1578
+ filterBox: Pn,
1579
+ password: kn,
1580
+ instanceForm: Tn
1581
+ }, oe = {
1582
+ "en-US": bn,
1583
+ "zh-CN": In
1584
+ }, ue = St({
1585
+ locale: Ze(),
1603
1586
  fallbackLocale: "en-US",
1604
- messages: re,
1587
+ messages: oe,
1605
1588
  legacy: !1
1606
- }), yn = {
1589
+ }), Ln = {
1607
1590
  key: 0,
1608
1591
  class: "language-select__current"
1609
- }, bn = { class: "language-select__panel" }, An = ["onClick"], _n = /* @__PURE__ */ N({
1592
+ }, xn = { class: "language-select__panel" }, En = ["onClick"], Mn = /* @__PURE__ */ M({
1610
1593
  __name: "LanguageSelect",
1611
1594
  props: {
1612
1595
  showLabel: { type: Boolean, default: !1 }
1613
1596
  },
1614
- setup(o) {
1615
- const { locale: e } = ue.global, t = T(
1616
- () => re[e.value].name
1617
- ), n = Object.keys(re).map((s) => ({
1618
- label: re[s].name,
1597
+ setup(n) {
1598
+ const { locale: e } = ue.global, t = S(
1599
+ () => oe[e.value].name
1600
+ ), a = Object.keys(oe).map((s) => ({
1601
+ label: oe[s].name,
1619
1602
  value: s
1620
- })), a = (s) => {
1621
- te.set("locale", s), location.reload();
1603
+ })), o = (s) => {
1604
+ X.set("locale", s), location.reload();
1622
1605
  };
1623
1606
  return (s, r) => {
1624
- const c = E("el-icon"), h = E("el-popover");
1625
- return l(), I(h, {
1607
+ const u = L("el-icon"), g = L("el-popover");
1608
+ return l(), T(g, {
1626
1609
  placement: "bottom",
1627
1610
  width: 180,
1628
1611
  trigger: "hover",
1629
1612
  "popper-class": "top-language-popover"
1630
1613
  }, {
1631
- reference: w(() => [
1632
- _(ne, {
1614
+ reference: C(() => [
1615
+ A(G, {
1633
1616
  "langselect-toggle": "",
1634
1617
  tag: "div",
1635
1618
  class: "language-select",
1636
- "icon-only": !o.showLabel,
1619
+ "icon-only": !n.showLabel,
1637
1620
  title: t.value,
1638
1621
  "aria-label": t.value
1639
1622
  }, {
1640
- default: w(() => [
1641
- V(s.$slots, "prefix", {}, void 0, !0),
1642
- _(c, null, {
1643
- default: w(() => [...r[0] || (r[0] = [
1644
- d("svg", {
1623
+ default: C(() => [
1624
+ Z(s.$slots, "prefix", {}, void 0, !0),
1625
+ A(u, null, {
1626
+ default: C(() => [...r[0] || (r[0] = [
1627
+ p("svg", {
1645
1628
  xmlns: "http://www.w3.org/2000/svg",
1646
1629
  width: "24",
1647
1630
  height: "24",
@@ -1655,80 +1638,80 @@ const Ye = (o, e) => o.reduce(
1655
1638
  "aria-hidden": "true",
1656
1639
  class: "lucide lucide-globe"
1657
1640
  }, [
1658
- d("circle", {
1641
+ p("circle", {
1659
1642
  cx: "12",
1660
1643
  cy: "12",
1661
1644
  r: "10"
1662
1645
  }),
1663
- d("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
1664
- d("path", { d: "M2 12h20" })
1646
+ p("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
1647
+ p("path", { d: "M2 12h20" })
1665
1648
  ], -1)
1666
1649
  ])]),
1667
1650
  _: 1
1668
1651
  }),
1669
- o.showLabel ? (l(), v("span", yn, M(t.value), 1)) : x("", !0),
1670
- o.showLabel ? (l(), I(c, {
1652
+ n.showLabel ? (l(), y("span", Ln, E(t.value), 1)) : I("", !0),
1653
+ n.showLabel ? (l(), T(u, {
1671
1654
  key: 1,
1672
1655
  class: "language-select__caret"
1673
1656
  }, {
1674
- default: w(() => [
1675
- _(m(ge))
1657
+ default: C(() => [
1658
+ A(f(ve))
1676
1659
  ]),
1677
1660
  _: 1
1678
- })) : x("", !0)
1661
+ })) : I("", !0)
1679
1662
  ]),
1680
1663
  _: 3
1681
1664
  }, 8, ["icon-only", "title", "aria-label"])
1682
1665
  ]),
1683
- default: w(() => [
1684
- d("div", bn, [
1685
- (l(!0), v(K, null, H(m(n), (i) => (l(), v("div", {
1666
+ default: C(() => [
1667
+ p("div", xn, [
1668
+ (l(!0), y(B, null, J(f(a), (i) => (l(), y("div", {
1686
1669
  key: i.value,
1687
- class: F(["language-select__option", { "language-select__option--active": i.value === m(e) }]),
1688
- onClick: (g) => a(i.value)
1689
- }, M(i.label), 11, An))), 128))
1670
+ class: K(["language-select__option", { "language-select__option--active": i.value === f(e) }]),
1671
+ onClick: (h) => o(i.value)
1672
+ }, E(i.label), 11, En))), 128))
1690
1673
  ])
1691
1674
  ]),
1692
1675
  _: 3
1693
1676
  });
1694
1677
  };
1695
1678
  }
1696
- }), Xe = /* @__PURE__ */ B(_n, [["__scopeId", "data-v-48306ad1"]]), Cn = { class: "mobile-user-popover" }, wn = ["href"], Sn = /* @__PURE__ */ N({
1679
+ }), lt = /* @__PURE__ */ D(Mn, [["__scopeId", "data-v-48306ad1"]]), Dn = { class: "mobile-user-popover" }, Nn = ["href"], Bn = /* @__PURE__ */ M({
1697
1680
  __name: "AsideUserMobilePopover",
1698
- setup(o) {
1699
- const { t: e } = ue.global, t = Q(), n = T(() => St(t.value)), a = () => {
1681
+ setup(n) {
1682
+ const { t: e } = ue.global, t = O(), a = S(() => Ut(t.value)), o = () => {
1700
1683
  var s, r;
1701
1684
  Promise.resolve((r = (s = t.value).onLogout) == null ? void 0 : r.call(s)).finally(() => {
1702
- t.value.onLogout || ce(t.value);
1685
+ t.value.onLogout || le(t.value);
1703
1686
  });
1704
1687
  };
1705
1688
  return (s, r) => {
1706
- const c = E("el-popover");
1707
- return l(), I(c, {
1689
+ const u = L("el-popover");
1690
+ return l(), T(u, {
1708
1691
  width: 220,
1709
1692
  trigger: "click",
1710
1693
  "popper-class": "top-userinfo-popover"
1711
1694
  }, {
1712
- reference: w(() => [
1713
- V(s.$slots, "reference", {}, void 0, !0)
1695
+ reference: C(() => [
1696
+ Z(s.$slots, "reference", {}, void 0, !0)
1714
1697
  ]),
1715
- default: w(() => [
1716
- d("div", Cn, [
1717
- d("a", {
1718
- href: n.value,
1698
+ default: C(() => [
1699
+ p("div", Dn, [
1700
+ p("a", {
1701
+ href: a.value,
1719
1702
  class: "mobile-user-popover__item"
1720
1703
  }, [
1721
- r[0] || (r[0] = d("i", { class: "metisicon-yonghu1" }, null, -1)),
1722
- d("span", null, M(m(e)("admin.label.profile")), 1)
1723
- ], 8, wn),
1724
- _(Xe),
1725
- r[2] || (r[2] = d("div", { class: "mobile-user-popover__divider" }, null, -1)),
1726
- d("div", {
1704
+ r[0] || (r[0] = p("i", { class: "metisicon-yonghu1" }, null, -1)),
1705
+ p("span", null, E(f(e)("admin.label.profile")), 1)
1706
+ ], 8, Nn),
1707
+ A(lt),
1708
+ r[2] || (r[2] = p("div", { class: "mobile-user-popover__divider" }, null, -1)),
1709
+ p("div", {
1727
1710
  class: "mobile-user-popover__item mobile-user-popover__item--danger",
1728
- onClick: a
1711
+ onClick: o
1729
1712
  }, [
1730
- r[1] || (r[1] = d("i", { class: "metisicon-exit-full" }, null, -1)),
1731
- d("span", null, M(m(e)("common.btn.logout")), 1)
1713
+ r[1] || (r[1] = p("i", { class: "metisicon-exit-full" }, null, -1)),
1714
+ p("span", null, E(f(e)("common.btn.logout")), 1)
1732
1715
  ])
1733
1716
  ])
1734
1717
  ]),
@@ -1736,134 +1719,134 @@ const Ye = (o, e) => o.reduce(
1736
1719
  });
1737
1720
  };
1738
1721
  }
1739
- }), Ge = /* @__PURE__ */ B(Sn, [["__scopeId", "data-v-87e082b1"]]), Pn = { class: "header-right-mobile" }, Tn = /* @__PURE__ */ N({
1722
+ }), it = /* @__PURE__ */ D(Bn, [["__scopeId", "data-v-87e082b1"]]), Un = { class: "header-right-mobile" }, Rn = /* @__PURE__ */ M({
1740
1723
  __name: "HeaderRightMobile",
1741
- setup(o) {
1742
- const e = Q(), t = T(
1724
+ setup(n) {
1725
+ const e = O(), t = S(
1743
1726
  () => {
1744
- var a, s;
1745
- return !!((a = e.value.user) != null && a.id || (s = e.value.user) != null && s.userId);
1727
+ var o, s;
1728
+ return !!((o = e.value.user) != null && o.id || (s = e.value.user) != null && s.userId);
1746
1729
  }
1747
- ), n = () => {
1748
- var a, s;
1749
- (s = (a = e.value).onLogin) != null && s.call(a) || ce(e.value);
1730
+ ), a = () => {
1731
+ var o, s;
1732
+ (s = (o = e.value).onLogin) != null && s.call(o) || le(e.value);
1750
1733
  };
1751
- return (a, s) => (l(), v("div", Pn, [
1752
- _(We),
1753
- t.value ? (l(), I(Ge, { key: 0 }, {
1754
- reference: w(() => [
1755
- _(ne, { class: "header-right-mobile__action" }, {
1756
- default: w(() => [...s[0] || (s[0] = [
1757
- d("i", { class: "metisicon-yonghu1" }, null, -1)
1734
+ return (o, s) => (l(), y("div", Un, [
1735
+ A(rt),
1736
+ t.value ? (l(), T(it, { key: 0 }, {
1737
+ reference: C(() => [
1738
+ A(G, { class: "header-right-mobile__action" }, {
1739
+ default: C(() => [...s[0] || (s[0] = [
1740
+ p("i", { class: "metisicon-yonghu1" }, null, -1)
1758
1741
  ])]),
1759
1742
  _: 1
1760
1743
  })
1761
1744
  ]),
1762
1745
  _: 1
1763
- })) : (l(), I(ne, {
1746
+ })) : (l(), T(G, {
1764
1747
  key: 1,
1765
1748
  class: "header-right-mobile__action",
1766
- onClick: n
1749
+ onClick: a
1767
1750
  }, {
1768
- default: w(() => [...s[1] || (s[1] = [
1769
- d("i", { class: "metisicon-yonghu1" }, null, -1)
1751
+ default: C(() => [...s[1] || (s[1] = [
1752
+ p("i", { class: "metisicon-yonghu1" }, null, -1)
1770
1753
  ])]),
1771
1754
  _: 1
1772
1755
  }))
1773
1756
  ]));
1774
1757
  }
1775
- }), kn = /* @__PURE__ */ B(Tn, [["__scopeId", "data-v-48792b0a"]]), In = ["aria-label", "aria-expanded"], Ln = { class: "mobile-menu-toggle__icon" }, xn = /* @__PURE__ */ N({
1758
+ }), Kn = /* @__PURE__ */ D(Rn, [["__scopeId", "data-v-48792b0a"]]), Jn = ["aria-label", "aria-expanded"], On = { class: "mobile-menu-toggle__icon" }, Fn = /* @__PURE__ */ M({
1776
1759
  __name: "MobileMenuToggle",
1777
- setup(o) {
1778
- const { sideOpen: e } = W(), t = () => {
1760
+ setup(n) {
1761
+ const { sideOpen: e } = H(), t = () => {
1779
1762
  e.value = !e.value;
1780
1763
  };
1781
- return (n, a) => {
1782
- const s = E("el-icon");
1783
- return l(), v("button", {
1764
+ return (a, o) => {
1765
+ const s = L("el-icon");
1766
+ return l(), y("button", {
1784
1767
  type: "button",
1785
1768
  class: "mobile-menu-toggle",
1786
- "aria-label": m(e) ? "Close menu" : "Open menu",
1787
- "aria-expanded": m(e),
1769
+ "aria-label": f(e) ? "Close menu" : "Open menu",
1770
+ "aria-expanded": f(e),
1788
1771
  onClick: t
1789
1772
  }, [
1790
- d("div", Ln, [
1791
- _(s, null, {
1792
- default: w(() => [
1793
- _(m(rt))
1773
+ p("div", On, [
1774
+ A(s, null, {
1775
+ default: C(() => [
1776
+ A(f(bt))
1794
1777
  ]),
1795
1778
  _: 1
1796
1779
  })
1797
1780
  ])
1798
- ], 8, In);
1781
+ ], 8, Jn);
1799
1782
  };
1800
1783
  }
1801
- }), En = /* @__PURE__ */ B(xn, [["__scopeId", "data-v-c14b8f72"]]), Mn = {
1784
+ }), Hn = /* @__PURE__ */ D(Fn, [["__scopeId", "data-v-b1a4f38a"]]), Qn = {
1802
1785
  key: 0,
1803
1786
  class: "user-avatar__fallback"
1804
- }, Dn = /* @__PURE__ */ N({
1787
+ }, zn = /* @__PURE__ */ M({
1805
1788
  __name: "UserAvatar",
1806
1789
  props: {
1807
1790
  src: { default: "" },
1808
1791
  name: { default: "" }
1809
1792
  },
1810
- setup(o) {
1811
- const e = o, t = R(!1), n = T(() => e.name.trim()), a = T(
1812
- () => n.value.charAt(0).toUpperCase() || "U"
1813
- ), s = T(() => n.value || "User avatar"), r = T(() => e.src.trim()), c = T(
1793
+ setup(n) {
1794
+ const e = n, t = N(!1), a = S(() => e.name.trim()), o = S(
1795
+ () => a.value.charAt(0).toUpperCase() || "U"
1796
+ ), s = S(() => a.value || "User avatar"), r = S(() => e.src.trim()), u = S(
1814
1797
  () => !r.value || t.value
1815
- ), h = T(
1816
- () => c.value && !!n.value
1817
- ), i = T(
1818
- () => c.value && !n.value
1819
- ), g = T(
1798
+ ), g = S(
1799
+ () => u.value && !!a.value
1800
+ ), i = S(
1801
+ () => u.value && !a.value
1802
+ ), h = S(
1820
1803
  () => r.value && !t.value ? r.value : void 0
1821
1804
  );
1822
- le(
1805
+ re(
1823
1806
  () => e.src,
1824
1807
  () => {
1825
1808
  t.value = !1;
1826
1809
  }
1827
1810
  );
1828
- const p = () => {
1811
+ const m = () => {
1829
1812
  t.value = !0;
1830
1813
  };
1831
- return (f, b) => {
1832
- const P = E("el-icon"), L = E("el-avatar");
1833
- return l(), I(L, Ee(f.$attrs, {
1834
- src: g.value,
1835
- "data-src": g.value,
1814
+ return (c, v) => {
1815
+ const _ = L("el-icon"), k = L("el-avatar");
1816
+ return l(), T(k, Ke(c.$attrs, {
1817
+ src: h.value,
1818
+ "data-src": h.value,
1836
1819
  alt: s.value,
1837
- class: ["user-avatar", { "user-avatar--fallback": c.value }],
1838
- onError: p
1820
+ class: ["user-avatar", { "user-avatar--fallback": u.value }],
1821
+ onError: m
1839
1822
  }), {
1840
- default: w(() => [
1841
- h.value ? (l(), v("span", Mn, M(a.value), 1)) : i.value ? (l(), I(P, {
1823
+ default: C(() => [
1824
+ g.value ? (l(), y("span", Qn, E(o.value), 1)) : i.value ? (l(), T(_, {
1842
1825
  key: 1,
1843
1826
  class: "user-avatar__icon",
1844
1827
  "aria-hidden": "true"
1845
1828
  }, {
1846
- default: w(() => [
1847
- _(m(lt))
1829
+ default: C(() => [
1830
+ A(f(At))
1848
1831
  ]),
1849
1832
  _: 1
1850
- })) : x("", !0)
1833
+ })) : I("", !0)
1851
1834
  ]),
1852
1835
  _: 1
1853
1836
  }, 16, ["src", "data-src", "alt", "class"]);
1854
1837
  };
1855
1838
  }
1856
- }), Ie = /* @__PURE__ */ B(Dn, [["__scopeId", "data-v-50be58a7"]]), Nn = {
1839
+ }), Be = /* @__PURE__ */ D(zn, [["__scopeId", "data-v-50be58a7"]]), Zn = {
1857
1840
  key: 0,
1858
1841
  class: "layout-breadcrumb text-xs",
1859
1842
  "aria-label": "Breadcrumb"
1860
- }, Bn = ["aria-label", "title"], Un = {
1843
+ }, jn = ["aria-label", "title"], qn = {
1861
1844
  key: 1,
1862
1845
  class: "flex min-w-0 items-center gap-1"
1863
- }, Rn = ["href"], Kn = ["onClick"], Jn = {
1846
+ }, Yn = ["href"], Wn = ["onClick"], Xn = {
1864
1847
  key: 3,
1865
1848
  class: "layout-breadcrumb__current"
1866
- }, On = /* @__PURE__ */ N({
1849
+ }, Gn = /* @__PURE__ */ M({
1867
1850
  __name: "LayoutBreadcrumb",
1868
1851
  props: {
1869
1852
  items: { default: void 0 },
@@ -1875,325 +1858,325 @@ const Ye = (o, e) => o.reduce(
1875
1858
  backTo: { default: void 0 },
1876
1859
  backLabel: { default: "返回" }
1877
1860
  },
1878
- setup(o) {
1879
- const e = o, t = Ne(), n = Be(), a = Q(), s = W(null), r = T(() => {
1880
- var ye, be, Ae, _e, Ce, we;
1881
- if ((ye = e.items) != null && ye.length)
1882
- return e.items.filter((ee) => ee.title);
1883
- const u = L(t.path), y = L(
1884
- ((be = t.meta) == null ? void 0 : be.parent) || ((Ae = t.meta) == null ? void 0 : Ae.parentPath) || t.path
1885
- ), C = c(), S = (Ce = (_e = s == null ? void 0 : s.currentEndRoute) == null ? void 0 : _e.value) == null ? void 0 : Ce.paths, A = h(S || []);
1886
- let D = A.length ? A : f(C, y);
1887
- const O = L(
1888
- e.parentPath || ((we = t.meta) == null ? void 0 : we.parentPath) || ""
1861
+ setup(n) {
1862
+ const e = n, t = Fe(), a = He(), o = O(), s = H(), r = S(() => {
1863
+ var Pe, Te, ke, Ie, Le, xe;
1864
+ if ((Pe = e.items) != null && Pe.length)
1865
+ return e.items.filter((Y) => Y.title);
1866
+ const d = k(t.path), b = k(
1867
+ ((Te = t.meta) == null ? void 0 : Te.parent) || ((ke = t.meta) == null ? void 0 : ke.parentPath) || t.path
1868
+ ), w = u(), P = (Le = (Ie = s == null ? void 0 : s.currentEndRoute) == null ? void 0 : Ie.value) == null ? void 0 : Le.paths, x = g(P || []);
1869
+ let R = x.length ? x : c(w, b);
1870
+ const pe = k(
1871
+ e.parentPath || ((xe = t.meta) == null ? void 0 : xe.parentPath) || ""
1889
1872
  );
1890
- if (!D.length && O && (D = f(C, O)), !D.length) {
1891
- const ee = O || b(u, C);
1892
- D = ee ? f(C, ee) : [];
1873
+ if (!R.length && pe && (R = c(w, pe)), !R.length) {
1874
+ const Y = pe || v(d, w);
1875
+ R = Y ? c(w, Y) : [];
1893
1876
  }
1894
- const Y = D.map(i).filter((ee) => ee.title), G = Y[Y.length - 1], $ = p();
1895
- return e.showCurrent && $ && k(G == null ? void 0 : G.path) !== k(u) ? Y.push({
1896
- title: $,
1897
- path: u,
1877
+ const j = R.map(i).filter((Y) => Y.title), z = j[j.length - 1], q = m();
1878
+ return e.showCurrent && q && U(z == null ? void 0 : z.path) !== U(d) ? j.push({
1879
+ title: q,
1880
+ path: d,
1898
1881
  disabled: !0
1899
- }) : $ && G && k(G.path) === k(u) && (G.title = $, G.disabled = !0), !Y.length && $ && Y.push({
1900
- title: $,
1901
- path: u,
1882
+ }) : q && z && U(z.path) === U(d) && (z.title = q, z.disabled = !0), !j.length && q && j.push({
1883
+ title: q,
1884
+ path: d,
1902
1885
  disabled: !0
1903
- }), Y;
1904
- }), c = () => {
1905
- const u = [], y = /* @__PURE__ */ new Set();
1906
- return (a.value.menus || []).forEach((C) => {
1907
- var A;
1908
- const S = C.path || C.name || JSON.stringify(((A = C.meta) == null ? void 0 : A.translations) || {});
1909
- !S || y.has(S) || (y.add(S), u.push(C));
1910
- }), u;
1911
- }, h = (u) => u.filter((y) => {
1912
- var C;
1913
- return y && ((C = y.meta) == null ? void 0 : C.visible) !== "0";
1914
- }), i = (u) => {
1915
- var y;
1886
+ }), j;
1887
+ }), u = () => {
1888
+ const d = [], b = /* @__PURE__ */ new Set();
1889
+ return (o.value.menus || []).forEach((w) => {
1890
+ var x;
1891
+ const P = w.path || w.name || JSON.stringify(((x = w.meta) == null ? void 0 : x.translations) || {});
1892
+ !P || b.has(P) || (b.add(P), d.push(w));
1893
+ }), d;
1894
+ }, g = (d) => d.filter((b) => {
1895
+ var w;
1896
+ return b && ((w = b.meta) == null ? void 0 : w.visible) !== "0";
1897
+ }), i = (d) => {
1898
+ var b;
1916
1899
  return {
1917
- title: g(u),
1918
- path: u.path,
1919
- disabled: ((y = u.meta) == null ? void 0 : y.visible) === "0",
1920
- children: u.children
1900
+ title: h(d),
1901
+ path: d.path,
1902
+ disabled: ((b = d.meta) == null ? void 0 : b.visible) === "0",
1903
+ children: d.children
1921
1904
  };
1922
- }, g = (u) => {
1923
- var C;
1924
- return ((C = u == null ? void 0 : u.meta) != null && C.translations ? ie(ae(u.meta.translations, "name", u.name)) : "") || (u == null ? void 0 : u.title) || (u == null ? void 0 : u.name) || "";
1925
- }, p = () => {
1926
- var u;
1927
- 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 || "");
1928
- }, f = (u, y, C = []) => {
1929
- if (!y) return [];
1930
- for (const S of u) {
1931
- const A = [...C, S];
1932
- if (P(S.path, y))
1933
- return h(A);
1934
- const D = f(S.children || [], y, A);
1935
- if (D.length) return D;
1905
+ }, h = (d) => {
1906
+ var w;
1907
+ return ((w = d == null ? void 0 : d.meta) != null && w.translations ? se($(d.meta.translations, "name", d.name)) : "") || (d == null ? void 0 : d.title) || (d == null ? void 0 : d.name) || "";
1908
+ }, m = () => {
1909
+ var d;
1910
+ 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 || "");
1911
+ }, c = (d, b, w = []) => {
1912
+ if (!b) return [];
1913
+ for (const P of d) {
1914
+ const x = [...w, P];
1915
+ if (_(P.path, b))
1916
+ return g(x);
1917
+ const R = c(P.children || [], b, x);
1918
+ if (R.length) return R;
1936
1919
  }
1937
1920
  return [];
1938
- }, b = (u, y) => {
1939
- const C = u.split("/").filter(Boolean);
1940
- for (let S = C.length - 1; S > 0; S -= 1) {
1941
- const A = `/${C.slice(0, S).join("/")}`;
1942
- if (f(y, A).length) return A;
1921
+ }, v = (d, b) => {
1922
+ const w = d.split("/").filter(Boolean);
1923
+ for (let P = w.length - 1; P > 0; P -= 1) {
1924
+ const x = `/${w.slice(0, P).join("/")}`;
1925
+ if (c(b, x).length) return x;
1943
1926
  }
1944
1927
  return "";
1945
- }, P = (u = "", y = "") => {
1946
- const C = k(u), S = k(y);
1947
- if (!C || !S) return !1;
1948
- if (C === S) return !0;
1949
- const A = C.replace(/\/:(\w+)/g, "/([^/]+)");
1950
- return new RegExp(`^${A}$`, "i").test(S);
1951
- }, L = (u = "") => u ? u.split("?")[0].split("#")[0] : "", k = (u = "") => (L(u).replace(/\/+$/, "") || "/").toLowerCase(), U = (u) => /^https?:\/\//.test(u.path || ""), J = (u) => {
1952
- var y;
1953
- return !!((y = u.children) != null && y.some((C) => !C.disabled));
1954
- }, z = (u, y) => u.disabled || y === r.value.length - 1 || !u.path ? !1 : U(u) || !J(u), Z = (u) => {
1955
- const y = u.to || j(u);
1956
- y && n.push(y);
1957
- }, q = () => {
1958
- var y;
1928
+ }, _ = (d = "", b = "") => {
1929
+ const w = U(d), P = U(b);
1930
+ if (!w || !P) return !1;
1931
+ if (w === P) return !0;
1932
+ const x = w.replace(/\/:(\w+)/g, "/([^/]+)");
1933
+ return new RegExp(`^${x}$`, "i").test(P);
1934
+ }, k = (d = "") => d ? d.split("?")[0].split("#")[0] : "", U = (d = "") => (k(d).replace(/\/+$/, "") || "/").toLowerCase(), F = (d) => /^https?:\/\//.test(d.path || ""), ct = (d) => {
1935
+ var b;
1936
+ return !!((b = d.children) != null && b.some((w) => !w.disabled));
1937
+ }, we = (d, b) => d.disabled || b === r.value.length - 1 || !d.path ? !1 : F(d) || !ct(d), ut = (d) => {
1938
+ const b = d.to || de(d);
1939
+ b && a.push(b);
1940
+ }, dt = () => {
1941
+ var b;
1959
1942
  if (e.backTo) {
1960
- n.push(e.backTo);
1943
+ a.push(e.backTo);
1961
1944
  return;
1962
1945
  }
1963
- if ((y = n.options.history.state) != null && y.back && window.history.length > 1) {
1964
- n.back();
1946
+ if ((b = a.options.history.state) != null && b.back && window.history.length > 1) {
1947
+ a.back();
1965
1948
  return;
1966
1949
  }
1967
- const u = X();
1968
- u && n.push(u);
1969
- }, X = () => {
1970
- var C, S;
1971
- const u = e.parentPath || ((C = t.meta) == null ? void 0 : C.parentPath) || ((S = t.meta) == null ? void 0 : S.parent) || "";
1972
- if (u)
1973
- return j({ path: u });
1974
- const y = r.value[r.value.length - 2];
1975
- if (y != null && y.to) return y.to;
1976
- if (y != null && y.path && !U(y))
1977
- return j(y);
1978
- }, j = (u) => {
1979
- if (!u.path) return;
1980
- const y = e.preserveQueryKeys.reduce((C, S) => {
1981
- const A = t.query[S];
1982
- return typeof A == "string" && (C[S] = A), Array.isArray(A) && (C[S] = A.filter(
1983
- (D) => typeof D == "string"
1984
- )), C;
1950
+ const d = pt();
1951
+ d && a.push(d);
1952
+ }, pt = () => {
1953
+ var w, P;
1954
+ const d = e.parentPath || ((w = t.meta) == null ? void 0 : w.parentPath) || ((P = t.meta) == null ? void 0 : P.parent) || "";
1955
+ if (d)
1956
+ return de({ path: d });
1957
+ const b = r.value[r.value.length - 2];
1958
+ if (b != null && b.to) return b.to;
1959
+ if (b != null && b.path && !F(b))
1960
+ return de(b);
1961
+ }, de = (d) => {
1962
+ if (!d.path) return;
1963
+ const b = e.preserveQueryKeys.reduce((w, P) => {
1964
+ const x = t.query[P];
1965
+ return typeof x == "string" && (w[P] = x), Array.isArray(x) && (w[P] = x.filter(
1966
+ (R) => typeof R == "string"
1967
+ )), w;
1985
1968
  }, {});
1986
- return Object.keys(y).length ? { path: u.path, query: y } : { path: u.path };
1969
+ return Object.keys(b).length ? { path: d.path, query: b } : { path: d.path };
1987
1970
  };
1988
- return (u, y) => {
1989
- const C = E("el-icon");
1990
- return e.showBack || r.value.length ? (l(), v("nav", Nn, [
1991
- e.showBack ? (l(), v("button", {
1971
+ return (d, b) => {
1972
+ const w = L("el-icon");
1973
+ return e.showBack || r.value.length ? (l(), y("nav", Zn, [
1974
+ e.showBack ? (l(), y("button", {
1992
1975
  key: 0,
1993
1976
  class: "layout-breadcrumb__back",
1994
1977
  type: "button",
1995
1978
  "aria-label": e.backLabel,
1996
1979
  title: e.backLabel,
1997
- onClick: q
1980
+ onClick: dt
1998
1981
  }, [
1999
- _(C, null, {
2000
- default: w(() => [
2001
- _(m(it))
1982
+ A(w, null, {
1983
+ default: C(() => [
1984
+ A(f(_t))
2002
1985
  ]),
2003
1986
  _: 1
2004
1987
  })
2005
- ], 8, Bn)) : x("", !0),
2006
- r.value.length ? (l(), v("ol", Un, [
2007
- (l(!0), v(K, null, H(r.value, (S, A) => (l(), v("li", {
2008
- key: `${S.path || S.title}-${A}`,
1988
+ ], 8, jn)) : I("", !0),
1989
+ r.value.length ? (l(), y("ol", qn, [
1990
+ (l(!0), y(B, null, J(r.value, (P, x) => (l(), y("li", {
1991
+ key: `${P.path || P.title}-${x}`,
2009
1992
  class: "flex min-w-0 items-center gap-1"
2010
1993
  }, [
2011
- A > 0 ? (l(), I(C, {
1994
+ x > 0 ? (l(), T(w, {
2012
1995
  key: 0,
2013
1996
  class: "layout-breadcrumb__separator"
2014
1997
  }, {
2015
- default: w(() => [
2016
- _(m(pe))
1998
+ default: C(() => [
1999
+ A(f(he))
2017
2000
  ]),
2018
2001
  _: 1
2019
- })) : x("", !0),
2020
- U(S) && z(S, A) ? (l(), v("a", {
2002
+ })) : I("", !0),
2003
+ F(P) && we(P, x) ? (l(), y("a", {
2021
2004
  key: 1,
2022
2005
  class: "layout-breadcrumb__link",
2023
- href: S.path
2024
- }, M(S.title), 9, Rn)) : z(S, A) ? (l(), v("button", {
2006
+ href: P.path
2007
+ }, E(P.title), 9, Yn)) : we(P, x) ? (l(), y("button", {
2025
2008
  key: 2,
2026
2009
  class: "layout-breadcrumb__link",
2027
2010
  type: "button",
2028
- onClick: (D) => Z(S)
2029
- }, M(S.title), 9, Kn)) : (l(), v("span", Jn, M(S.title), 1))
2011
+ onClick: (R) => ut(P)
2012
+ }, E(P.title), 9, Wn)) : (l(), y("span", Xn, E(P.title), 1))
2030
2013
  ]))), 128))
2031
- ])) : x("", !0)
2032
- ])) : x("", !0);
2014
+ ])) : I("", !0)
2015
+ ])) : I("", !0);
2033
2016
  };
2034
2017
  }
2035
- }), Oo = /* @__PURE__ */ B(On, [["__scopeId", "data-v-21c4b2fb"]]), Fn = {
2018
+ }), Xa = /* @__PURE__ */ D(Gn, [["__scopeId", "data-v-f7586477"]]), Vn = {
2036
2019
  key: 0,
2037
2020
  class: "timezone-select__current"
2038
- }, Hn = { class: "timezone-select__panel" }, Qn = ["onClick"], jn = { class: "timezone-select__name" }, zn = { class: "timezone-select__offset" }, Zn = /* @__PURE__ */ N({
2021
+ }, $n = { class: "timezone-select__panel" }, ea = ["onClick"], ta = { class: "timezone-select__name" }, na = { class: "timezone-select__offset" }, aa = /* @__PURE__ */ M({
2039
2022
  __name: "TimezoneSelect",
2040
2023
  props: {
2041
2024
  showLabel: { type: Boolean, default: !1 }
2042
2025
  },
2043
- setup(o) {
2044
- const e = ft(), t = R(!1), n = T(() => e.value), a = T(() => Ct()), s = T(() => _t(n.value)), r = (c) => {
2045
- vt(c), t.value = !1;
2026
+ setup(n) {
2027
+ const e = It(), t = N(!1), a = S(() => e.value), o = S(() => Nt()), s = S(() => Dt(a.value)), r = (u) => {
2028
+ Lt(u), t.value = !1;
2046
2029
  };
2047
- return (c, h) => {
2048
- const i = E("el-icon"), g = E("el-popover");
2049
- return l(), I(g, {
2030
+ return (u, g) => {
2031
+ const i = L("el-icon"), h = L("el-popover");
2032
+ return l(), T(h, {
2050
2033
  visible: t.value,
2051
- "onUpdate:visible": h[0] || (h[0] = (p) => t.value = p),
2034
+ "onUpdate:visible": g[0] || (g[0] = (m) => t.value = m),
2052
2035
  placement: "bottom",
2053
2036
  width: 280,
2054
2037
  trigger: "hover",
2055
2038
  "popper-class": "top-timezone-popover"
2056
2039
  }, {
2057
- reference: w(() => [
2058
- _(ne, {
2040
+ reference: C(() => [
2041
+ A(G, {
2059
2042
  tag: "div",
2060
2043
  class: "timezone-select",
2061
- "icon-only": !o.showLabel,
2044
+ "icon-only": !n.showLabel,
2062
2045
  title: s.value,
2063
2046
  "aria-label": s.value
2064
2047
  }, {
2065
- default: w(() => [
2066
- _(i, null, {
2067
- default: w(() => [
2068
- _(m(ct))
2048
+ default: C(() => [
2049
+ A(i, null, {
2050
+ default: C(() => [
2051
+ A(f(Ct))
2069
2052
  ]),
2070
2053
  _: 1
2071
2054
  }),
2072
- o.showLabel ? (l(), v("span", Fn, M(n.value), 1)) : x("", !0),
2073
- o.showLabel ? (l(), I(i, {
2055
+ n.showLabel ? (l(), y("span", Vn, E(a.value), 1)) : I("", !0),
2056
+ n.showLabel ? (l(), T(i, {
2074
2057
  key: 1,
2075
2058
  class: "timezone-select__caret"
2076
2059
  }, {
2077
- default: w(() => [
2078
- _(m(ge))
2060
+ default: C(() => [
2061
+ A(f(ve))
2079
2062
  ]),
2080
2063
  _: 1
2081
- })) : x("", !0)
2064
+ })) : I("", !0)
2082
2065
  ]),
2083
2066
  _: 1
2084
2067
  }, 8, ["icon-only", "title", "aria-label"])
2085
2068
  ]),
2086
- default: w(() => [
2087
- d("div", Hn, [
2088
- (l(!0), v(K, null, H(a.value, (p) => (l(), v("button", {
2089
- key: p.value,
2069
+ default: C(() => [
2070
+ p("div", $n, [
2071
+ (l(!0), y(B, null, J(o.value, (m) => (l(), y("button", {
2072
+ key: m.value,
2090
2073
  type: "button",
2091
- class: F(["timezone-select__option", {
2092
- "timezone-select__option--active": p.value === n.value
2074
+ class: K(["timezone-select__option", {
2075
+ "timezone-select__option--active": m.value === a.value
2093
2076
  }]),
2094
- onClick: (f) => r(p.value)
2077
+ onClick: (c) => r(m.value)
2095
2078
  }, [
2096
- d("span", jn, M(p.value), 1),
2097
- d("span", zn, M(p.offset), 1)
2098
- ], 10, Qn))), 128))
2079
+ p("span", ta, E(m.value), 1),
2080
+ p("span", na, E(m.offset), 1)
2081
+ ], 10, ea))), 128))
2099
2082
  ])
2100
2083
  ]),
2101
2084
  _: 1
2102
2085
  }, 8, ["visible"]);
2103
2086
  };
2104
2087
  }
2105
- }), Fo = /* @__PURE__ */ B(Zn, [["__scopeId", "data-v-e62f5f2d"]]), qn = { class: "user-info__panel" }, Yn = { class: "user-info__profile" }, Wn = { class: "user-info__profile-main" }, Xn = ["title"], Gn = ["title"], Vn = { class: "user-info__meta" }, $n = { class: "user-info__meta-label" }, eo = ["title"], to = ["href"], no = /* @__PURE__ */ N({
2088
+ }), Ga = /* @__PURE__ */ D(aa, [["__scopeId", "data-v-e62f5f2d"]]), oa = { class: "user-info__panel" }, sa = { class: "user-info__profile" }, ra = { class: "user-info__profile-main" }, la = ["title"], ia = ["title"], ca = { class: "user-info__meta" }, ua = { class: "user-info__meta-label" }, da = ["title"], pa = ["href"], ma = /* @__PURE__ */ M({
2106
2089
  __name: "UserInfo",
2107
- setup(o) {
2108
- const { t: e } = ue.global, t = Q(), n = T(() => t.value.user || {}), a = T(() => t.value.accountMenu || []), s = T(
2090
+ setup(n) {
2091
+ const { t: e } = ue.global, t = O(), a = S(() => t.value.user || {}), o = S(() => t.value.accountMenu || []), s = S(
2109
2092
  () => {
2110
- var h, i, g, p;
2111
- return ((h = n.value) == null ? void 0 : h.name) || ((i = n.value) == null ? void 0 : i.username) || ((g = n.value) == null ? void 0 : g.email) || ((p = n.value) == null ? void 0 : p.userId) || "User";
2093
+ var g, i, h, m;
2094
+ return ((g = a.value) == null ? void 0 : g.name) || ((i = a.value) == null ? void 0 : i.username) || ((h = a.value) == null ? void 0 : h.email) || ((m = a.value) == null ? void 0 : m.userId) || "User";
2112
2095
  }
2113
- ), r = T(
2096
+ ), r = S(
2114
2097
  () => {
2115
- var h, i, g;
2098
+ var g, i, h;
2116
2099
  return [
2117
- { label: e("admin.label.userName"), value: (h = n.value) == null ? void 0 : h.username },
2118
- { label: e("admin.label.email"), value: (i = n.value) == null ? void 0 : i.email },
2119
- { label: e("admin.label.userId"), value: (g = n.value) == null ? void 0 : g.userId }
2120
- ].filter((p) => !!p.value);
2100
+ { label: e("admin.label.userName"), value: (g = a.value) == null ? void 0 : g.username },
2101
+ { label: e("admin.label.email"), value: (i = a.value) == null ? void 0 : i.email },
2102
+ { label: e("admin.label.userId"), value: (h = a.value) == null ? void 0 : h.userId }
2103
+ ].filter((m) => !!m.value);
2121
2104
  }
2122
- ), c = () => {
2123
- var h, i;
2124
- Promise.resolve((i = (h = t.value).onLogout) == null ? void 0 : i.call(h)).finally(() => {
2125
- t.value.onLogout || ce(t.value);
2105
+ ), u = () => {
2106
+ var g, i;
2107
+ Promise.resolve((i = (g = t.value).onLogout) == null ? void 0 : i.call(g)).finally(() => {
2108
+ t.value.onLogout || le(t.value);
2126
2109
  });
2127
2110
  };
2128
- return (h, i) => {
2129
- const g = E("el-popover");
2130
- return l(), I(g, {
2111
+ return (g, i) => {
2112
+ const h = L("el-popover");
2113
+ return l(), T(h, {
2131
2114
  width: 280,
2132
2115
  trigger: "hover",
2133
2116
  "popper-class": "top-userinfo-popover"
2134
2117
  }, {
2135
- reference: w(() => [
2136
- _(m(Ie), {
2118
+ reference: C(() => [
2119
+ A(f(Be), {
2137
2120
  class: "user-info__trigger ml-2",
2138
- src: n.value.avatar,
2121
+ src: a.value.avatar,
2139
2122
  name: s.value
2140
2123
  }, null, 8, ["src", "name"])
2141
2124
  ]),
2142
- default: w(() => {
2143
- var p;
2125
+ default: C(() => {
2126
+ var m;
2144
2127
  return [
2145
- d("div", qn, [
2146
- d("div", Yn, [
2147
- _(m(Ie), {
2128
+ p("div", oa, [
2129
+ p("div", sa, [
2130
+ A(f(Be), {
2148
2131
  class: "user-info__profile-avatar",
2149
- src: n.value.avatar,
2132
+ src: a.value.avatar,
2150
2133
  name: s.value
2151
2134
  }, null, 8, ["src", "name"]),
2152
- d("div", Wn, [
2153
- d("div", {
2135
+ p("div", ra, [
2136
+ p("div", {
2154
2137
  class: "user-info__display-name",
2155
2138
  title: s.value
2156
- }, M(s.value), 9, Xn),
2157
- (p = n.value) != null && p.username ? (l(), v("div", {
2139
+ }, E(s.value), 9, la),
2140
+ (m = a.value) != null && m.username ? (l(), y("div", {
2158
2141
  key: 0,
2159
2142
  class: "user-info__username",
2160
- title: n.value.username
2161
- }, " @" + M(n.value.username), 9, Gn)) : x("", !0)
2143
+ title: a.value.username
2144
+ }, " @" + E(a.value.username), 9, ia)) : I("", !0)
2162
2145
  ])
2163
2146
  ]),
2164
- d("div", Vn, [
2165
- (l(!0), v(K, null, H(r.value, (f) => (l(), v("div", {
2166
- key: f.label,
2147
+ p("div", ca, [
2148
+ (l(!0), y(B, null, J(r.value, (c) => (l(), y("div", {
2149
+ key: c.label,
2167
2150
  class: "user-info__meta-row"
2168
2151
  }, [
2169
- d("span", $n, M(f.label), 1),
2170
- d("span", {
2152
+ p("span", ua, E(c.label), 1),
2153
+ p("span", {
2171
2154
  class: "user-info__meta-value",
2172
- title: f.value
2173
- }, M(f.value), 9, eo)
2155
+ title: c.value
2156
+ }, E(c.value), 9, da)
2174
2157
  ]))), 128))
2175
2158
  ]),
2176
- i[1] || (i[1] = d("div", { class: "user-info__divider" }, null, -1)),
2177
- (l(!0), v(K, null, H(a.value, (f, b) => {
2178
- var P, L;
2179
- return l(), v("a", {
2180
- key: b,
2181
- href: f.path,
2159
+ i[1] || (i[1] = p("div", { class: "user-info__divider" }, null, -1)),
2160
+ (l(!0), y(B, null, J(o.value, (c, v) => {
2161
+ var _, k;
2162
+ return l(), y("a", {
2163
+ key: v,
2164
+ href: c.path,
2182
2165
  class: "user-info__item"
2183
2166
  }, [
2184
- _(ze, {
2185
- icon: f.icon || ((P = f.meta) == null ? void 0 : P.icon)
2167
+ A(nt, {
2168
+ icon: c.icon || ((_ = c.meta) == null ? void 0 : _.icon)
2186
2169
  }, null, 8, ["icon"]),
2187
- d("span", null, M(m(ae)(((L = f.meta) == null ? void 0 : L.translations) || {}, "name", f.name)), 1)
2188
- ], 8, to);
2170
+ p("span", null, E(f($)(((k = c.meta) == null ? void 0 : k.translations) || {}, "name", c.name)), 1)
2171
+ ], 8, pa);
2189
2172
  }), 128)),
2190
- i[2] || (i[2] = d("div", { class: "user-info__divider" }, null, -1)),
2191
- d("div", {
2173
+ i[2] || (i[2] = p("div", { class: "user-info__divider" }, null, -1)),
2174
+ p("div", {
2192
2175
  class: "user-info__item user-info__item--danger",
2193
- onClick: c
2176
+ onClick: u
2194
2177
  }, [
2195
- i[0] || (i[0] = d("i", { class: "metisicon-exit-full" }, null, -1)),
2196
- d("span", null, M(m(e)("common.btn.logout")), 1)
2178
+ i[0] || (i[0] = p("i", { class: "metisicon-exit-full" }, null, -1)),
2179
+ p("span", null, E(f(e)("common.btn.logout")), 1)
2197
2180
  ])
2198
2181
  ])
2199
2182
  ];
@@ -2202,29 +2185,29 @@ const Ye = (o, e) => o.reduce(
2202
2185
  });
2203
2186
  };
2204
2187
  }
2205
- }), oo = /* @__PURE__ */ B(no, [["__scopeId", "data-v-ac052463"]]), ao = { class: "header-right" }, so = ["href"], ro = /* @__PURE__ */ N({
2188
+ }), ha = /* @__PURE__ */ D(ma, [["__scopeId", "data-v-ac052463"]]), ga = { class: "header-right" }, fa = ["href"], va = /* @__PURE__ */ M({
2206
2189
  __name: "SHeaderRight",
2207
- setup(o) {
2208
- const { t: e } = ue.global, t = Q(), n = T(() => t.value.hideDoc ?? !1), a = T(() => je(t.value)), s = T(() => t.value.user), r = T(() => {
2209
- var i, g;
2210
- return !!((i = s.value) != null && i.id || (g = s.value) != null && g.userId);
2211
- }), c = (i) => {
2190
+ setup(n) {
2191
+ const { t: e } = ue.global, t = O(), a = S(() => t.value.hideDoc ?? !1), o = S(() => Ge(t.value)), s = S(() => t.value.user), r = S(() => {
2192
+ var i, h;
2193
+ return !!((i = s.value) != null && i.id || (h = s.value) != null && h.userId);
2194
+ }), u = (i) => {
2212
2195
  t.value.onLogin && (i.preventDefault(), t.value.onLogin());
2213
- }, h = T(() => t.value.docsPath || "");
2214
- return (i, g) => {
2215
- const p = E("el-icon");
2216
- return l(), v("div", ao, [
2217
- !n.value && h.value ? (l(), I(ne, {
2196
+ }, g = S(() => t.value.docsPath || "");
2197
+ return (i, h) => {
2198
+ const m = L("el-icon");
2199
+ return l(), y("div", ga, [
2200
+ !a.value && g.value ? (l(), T(G, {
2218
2201
  key: 0,
2219
2202
  tag: "a",
2220
2203
  class: "whitespace-nowrap",
2221
- href: h.value,
2204
+ href: g.value,
2222
2205
  target: "_blank"
2223
2206
  }, {
2224
- default: w(() => [
2225
- _(p, null, {
2226
- default: w(() => [...g[0] || (g[0] = [
2227
- d("svg", {
2207
+ default: C(() => [
2208
+ A(m, null, {
2209
+ default: C(() => [...h[0] || (h[0] = [
2210
+ p("svg", {
2228
2211
  xmlns: "http://www.w3.org/2000/svg",
2229
2212
  width: "24",
2230
2213
  height: "24",
@@ -2238,143 +2221,143 @@ const Ye = (o, e) => o.reduce(
2238
2221
  "aria-hidden": "true",
2239
2222
  class: "lucide lucide-book-open"
2240
2223
  }, [
2241
- d("path", { d: "M12 7v14" }),
2242
- 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" })
2224
+ p("path", { d: "M12 7v14" }),
2225
+ 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" })
2243
2226
  ], -1)
2244
2227
  ])]),
2245
2228
  _: 1
2246
2229
  })
2247
2230
  ]),
2248
2231
  _: 1
2249
- }, 8, ["href"])) : x("", !0),
2250
- _(Xe),
2251
- _(We),
2252
- r.value ? (l(), I(oo, { key: 1 })) : (l(), v("a", {
2232
+ }, 8, ["href"])) : I("", !0),
2233
+ A(lt),
2234
+ A(rt),
2235
+ r.value ? (l(), T(ha, { key: 1 })) : (l(), y("a", {
2253
2236
  key: 2,
2254
2237
  class: "header-right__login",
2255
- href: a.value,
2256
- onClick: c
2257
- }, M(m(e)("common.btn.login")), 9, so))
2238
+ href: o.value,
2239
+ onClick: u
2240
+ }, E(f(e)("common.btn.login")), 9, fa))
2258
2241
  ]);
2259
2242
  };
2260
2243
  }
2261
- }), lo = /* @__PURE__ */ B(ro, [["__scopeId", "data-v-3c5e16a6"]]), io = {
2244
+ }), ya = /* @__PURE__ */ D(va, [["__scopeId", "data-v-3c5e16a6"]]), ba = {
2262
2245
  "header-bar": "",
2263
2246
  class: "header-bar sticky top-0 z-200"
2264
- }, co = { class: "header-bar__left" }, uo = { class: "header-bar__logo-wrap" }, po = {
2247
+ }, Aa = { class: "header-bar__left" }, _a = { class: "header-bar__logo-wrap" }, Ca = {
2265
2248
  href: "/",
2266
2249
  target: "_self",
2267
2250
  rel: "noopener",
2268
2251
  class: "header-bar__logo-link"
2269
- }, mo = {
2252
+ }, Sa = {
2270
2253
  key: 1,
2271
2254
  class: "header-bar__divider"
2272
- }, ho = { class: "header-bar__right" }, go = /* @__PURE__ */ N({
2255
+ }, wa = { class: "header-bar__right" }, Pa = /* @__PURE__ */ M({
2273
2256
  __name: "HeaderBar",
2274
- setup(o) {
2275
- const e = Q(), { isMobile: t } = W(), n = T(
2257
+ setup(n) {
2258
+ const e = O(), { isMobile: t } = H(), a = S(
2276
2259
  () => {
2277
- var a, s;
2278
- return !!((a = e.value.user) != null && a.id || (s = e.value.user) != null && s.userId);
2260
+ var o, s;
2261
+ return !!((o = e.value.user) != null && o.id || (s = e.value.user) != null && s.userId);
2279
2262
  }
2280
2263
  );
2281
- return (a, s) => {
2282
- const r = E("el-image");
2283
- return l(), v("div", io, [
2284
- d("div", co, [
2285
- m(t) ? (l(), I(En, { key: 0 })) : x("", !0),
2286
- d("div", uo, [
2287
- d("a", po, [
2288
- _(r, {
2289
- src: m(e).logo,
2264
+ return (o, s) => {
2265
+ const r = L("el-image");
2266
+ return l(), y("div", ba, [
2267
+ p("div", Aa, [
2268
+ f(t) ? (l(), T(Hn, { key: 0 })) : I("", !0),
2269
+ p("div", _a, [
2270
+ p("a", Ca, [
2271
+ A(r, {
2272
+ src: f(e).logo,
2290
2273
  class: "h-7"
2291
2274
  }, null, 8, ["src"])
2292
2275
  ])
2293
2276
  ]),
2294
- n.value && !m(t) ? (l(), v("div", mo)) : x("", !0),
2295
- n.value && !m(t) ? (l(), I(Xt, { key: 2 })) : x("", !0)
2277
+ a.value && !f(t) ? (l(), y("div", Sa)) : I("", !0),
2278
+ a.value && !f(t) ? (l(), T(ln, { key: 2 })) : I("", !0)
2296
2279
  ]),
2297
- d("div", ho, [
2298
- V(a.$slots, "default", {}, void 0, !0),
2299
- m(t) ? x("", !0) : (l(), I(lo, { key: 0 })),
2300
- m(t) ? (l(), I(kn, { key: 1 })) : x("", !0)
2280
+ p("div", wa, [
2281
+ Z(o.$slots, "default", {}, void 0, !0),
2282
+ f(t) ? I("", !0) : (l(), T(ya, { key: 0 })),
2283
+ f(t) ? (l(), T(Kn, { key: 1 })) : I("", !0)
2301
2284
  ])
2302
2285
  ]);
2303
2286
  };
2304
2287
  }
2305
- }), fo = /* @__PURE__ */ B(go, [["__scopeId", "data-v-9ee7aec2"]]), vo = {
2288
+ }), Ta = /* @__PURE__ */ D(Pa, [["__scopeId", "data-v-0ce1ab70"]]), ka = {
2306
2289
  key: 0,
2307
2290
  class: "min-w-0 flex-1"
2308
- }, yo = /* @__PURE__ */ N({
2291
+ }, Ia = /* @__PURE__ */ M({
2309
2292
  __name: "AppSelectMobile",
2310
- setup(o) {
2311
- const { currentAppId: e } = W(), { appList: t, getAppPath: n, findAppById: a } = qe(), s = T(() => {
2312
- const c = a(e.value);
2313
- return c ? n(c) : "";
2314
- }), r = (c) => {
2315
- c && (location.href = c);
2293
+ setup(n) {
2294
+ const { currentAppId: e } = H(), { appList: t, getAppPath: a, findAppById: o } = ot(), s = S(() => {
2295
+ const u = o(e.value);
2296
+ return u ? a(u) : "";
2297
+ }), r = (u) => {
2298
+ u && (location.href = u);
2316
2299
  };
2317
- return (c, h) => {
2318
- var f;
2319
- const i = E("el-option"), g = E("el-option-group"), p = E("el-select");
2320
- return (f = m(t)) != null && f.length ? (l(), v("div", vo, [
2321
- _(p, {
2300
+ return (u, g) => {
2301
+ var c;
2302
+ const i = L("el-option"), h = L("el-option-group"), m = L("el-select");
2303
+ return (c = f(t)) != null && c.length ? (l(), y("div", ka, [
2304
+ A(m, {
2322
2305
  "model-value": s.value,
2323
2306
  class: "w-full",
2324
2307
  onChange: r
2325
2308
  }, {
2326
- default: w(() => [
2327
- (l(!0), v(K, null, H(m(t), (b) => {
2328
- var P;
2329
- return l(), v(K, {
2330
- key: b.appId
2309
+ default: C(() => [
2310
+ (l(!0), y(B, null, J(f(t), (v) => {
2311
+ var _;
2312
+ return l(), y(B, {
2313
+ key: v.appId
2331
2314
  }, [
2332
- (P = b.children) != null && P.length ? (l(), I(g, {
2315
+ (_ = v.children) != null && _.length ? (l(), T(h, {
2333
2316
  key: 0,
2334
- label: b.name
2317
+ label: v.name
2335
2318
  }, {
2336
- default: w(() => [
2337
- (l(!0), v(K, null, H(b.children, (L) => (l(), I(i, {
2338
- key: L.appId,
2339
- label: L.name,
2340
- value: m(n)(L),
2319
+ default: C(() => [
2320
+ (l(!0), y(B, null, J(v.children, (k) => (l(), T(i, {
2321
+ key: k.appId,
2322
+ label: k.name,
2323
+ value: f(a)(k),
2341
2324
  style: { "padding-left": "30px" }
2342
2325
  }, null, 8, ["label", "value"]))), 128))
2343
2326
  ]),
2344
2327
  _: 2
2345
- }, 1032, ["label"])) : (l(), I(i, {
2328
+ }, 1032, ["label"])) : (l(), T(i, {
2346
2329
  key: 1,
2347
- label: b.name,
2348
- value: m(n)(b)
2330
+ label: v.name,
2331
+ value: f(a)(v)
2349
2332
  }, null, 8, ["label", "value"]))
2350
2333
  ], 64);
2351
2334
  }), 128))
2352
2335
  ]),
2353
2336
  _: 1
2354
2337
  }, 8, ["model-value"])
2355
- ])) : x("", !0);
2338
+ ])) : I("", !0);
2356
2339
  };
2357
2340
  }
2358
- }), bo = { class: "aside-user-mobile" }, Ao = { class: "flex-1" }, _o = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, Co = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, wo = /* @__PURE__ */ N({
2341
+ }), La = { class: "aside-user-mobile" }, xa = { class: "flex-1" }, Ea = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, Ma = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, Da = /* @__PURE__ */ M({
2359
2342
  __name: "AsideUserMobile",
2360
- setup(o) {
2361
- const e = Q(), t = T(() => e.value.user || {}), n = T(() => !!(t.value.id || t.value.userId)), a = T(() => t.value.name || t.value.username), s = () => {
2362
- var r, c;
2363
- (c = (r = e.value).onLogin) != null && c.call(r) || ce(e.value);
2343
+ setup(n) {
2344
+ const e = O(), t = S(() => e.value.user || {}), a = S(() => !!(t.value.id || t.value.userId)), o = S(() => t.value.name || t.value.username), s = () => {
2345
+ var r, u;
2346
+ (u = (r = e.value).onLogin) != null && u.call(r) || le(e.value);
2364
2347
  };
2365
- return (r, c) => {
2366
- const h = E("el-icon");
2367
- return n.value ? (l(), I(Ge, { key: 0 }, {
2368
- reference: w(() => [
2369
- d("div", bo, [
2370
- c[0] || (c[0] = d("div", { class: "aside-user-mobile__icon text-lg" }, [
2371
- d("i", { class: "metisicon-yonghu1" })
2348
+ return (r, u) => {
2349
+ const g = L("el-icon");
2350
+ return a.value ? (l(), T(it, { key: 0 }, {
2351
+ reference: C(() => [
2352
+ p("div", La, [
2353
+ u[0] || (u[0] = p("div", { class: "aside-user-mobile__icon text-lg" }, [
2354
+ p("i", { class: "metisicon-yonghu1" })
2372
2355
  ], -1)),
2373
- d("div", Ao, M(a.value), 1),
2374
- d("div", _o, [
2375
- _(h, null, {
2376
- default: w(() => [
2377
- _(m(pe))
2356
+ p("div", xa, E(o.value), 1),
2357
+ p("div", Ea, [
2358
+ A(g, null, {
2359
+ default: C(() => [
2360
+ A(f(he))
2378
2361
  ]),
2379
2362
  _: 1
2380
2363
  })
@@ -2382,19 +2365,19 @@ const Ye = (o, e) => o.reduce(
2382
2365
  ])
2383
2366
  ]),
2384
2367
  _: 1
2385
- })) : (l(), v("div", {
2368
+ })) : (l(), y("div", {
2386
2369
  key: 1,
2387
2370
  class: "aside-user-mobile",
2388
2371
  onClick: s
2389
2372
  }, [
2390
- c[1] || (c[1] = d("div", { class: "aside-user-mobile__icon text-lg" }, [
2391
- d("i", { class: "metisicon-yonghu1" })
2373
+ u[1] || (u[1] = p("div", { class: "aside-user-mobile__icon text-lg" }, [
2374
+ p("i", { class: "metisicon-yonghu1" })
2392
2375
  ], -1)),
2393
- c[2] || (c[2] = d("div", { class: "flex-1" }, "登录/注册", -1)),
2394
- d("div", Co, [
2395
- _(h, null, {
2396
- default: w(() => [
2397
- _(m(pe))
2376
+ u[2] || (u[2] = p("div", { class: "flex-1" }, "登录/注册", -1)),
2377
+ p("div", Ma, [
2378
+ A(g, null, {
2379
+ default: C(() => [
2380
+ A(f(he))
2398
2381
  ]),
2399
2382
  _: 1
2400
2383
  })
@@ -2402,122 +2385,122 @@ const Ye = (o, e) => o.reduce(
2402
2385
  ]));
2403
2386
  };
2404
2387
  }
2405
- }), So = /* @__PURE__ */ B(wo, [["__scopeId", "data-v-c56964a5"]]), Po = { class: "aside-bar-mobile__head flex items-center gap-3" }, To = { class: "p-3" }, ko = /* @__PURE__ */ N({
2388
+ }), Na = /* @__PURE__ */ D(Da, [["__scopeId", "data-v-c56964a5"]]), Ba = { class: "aside-bar-mobile__head flex items-center gap-3" }, Ua = { class: "p-3" }, Ra = /* @__PURE__ */ M({
2406
2389
  __name: "AsideBarMobile",
2407
- setup(o) {
2408
- const { menus: e, sideOpen: t } = W(), n = () => void (t.value = !1);
2409
- return (a, s) => {
2410
- const r = E("el-icon"), c = E("el-scrollbar");
2411
- return m(e).length && !a.$route.meta.hideSidebar ? (l(), v("div", {
2390
+ setup(n) {
2391
+ const { menus: e, sideOpen: t } = H(), a = () => void (t.value = !1);
2392
+ return (o, s) => {
2393
+ const r = L("el-icon"), u = L("el-scrollbar");
2394
+ return f(e).length && !o.$route.meta.hideSidebar ? (l(), y("div", {
2412
2395
  key: 0,
2413
- class: F(["aside-bar-mobile fixed inset-y-0 left-0 z-200 flex min-h-0 flex-col transition-transform", [m(t) ? "translate-x-[0px]" : "translate-x-[-100%]"]])
2396
+ class: K(["aside-bar-mobile fixed inset-y-0 left-0 z-200 flex min-h-0 flex-col transition-transform", [f(t) ? "translate-x-[0px]" : "translate-x-[-100%]"]])
2414
2397
  }, [
2415
- d("div", Po, [
2416
- d("button", {
2398
+ p("div", Ba, [
2399
+ p("button", {
2417
2400
  type: "button",
2418
2401
  class: "aside-bar-mobile__close",
2419
2402
  "aria-label": "Close menu",
2420
- onClick: n
2403
+ onClick: a
2421
2404
  }, [
2422
- _(r, null, {
2423
- default: w(() => [
2424
- _(m(De))
2405
+ A(r, null, {
2406
+ default: C(() => [
2407
+ A(f(Oe))
2425
2408
  ]),
2426
2409
  _: 1
2427
2410
  })
2428
2411
  ]),
2429
- _(yo)
2412
+ A(Ia)
2430
2413
  ]),
2431
- _(c, { ref: "leftScrollRef" }, {
2432
- default: w(() => [
2433
- d("div", To, [
2434
- _(Ze, { menus: m(e) }, null, 8, ["menus"])
2414
+ A(u, { ref: "leftScrollRef" }, {
2415
+ default: C(() => [
2416
+ p("div", Ua, [
2417
+ A(at, { menus: f(e) }, null, 8, ["menus"])
2435
2418
  ])
2436
2419
  ]),
2437
2420
  _: 1
2438
2421
  }, 512),
2439
- V(a.$slots, "sidebar-foot", {}, void 0, !0),
2440
- _(So)
2441
- ], 2)) : x("", !0);
2422
+ Z(o.$slots, "sidebar-foot", {}, void 0, !0),
2423
+ A(Na)
2424
+ ], 2)) : I("", !0);
2442
2425
  };
2443
2426
  }
2444
- }), Io = /* @__PURE__ */ B(ko, [["__scopeId", "data-v-ffd10c8b"]]), Lo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQgAAABMCAYAAACRSCkxAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABCKADAAQAAAABAAAATAAAAADXpTM6AAAqwklEQVR4Ae2dB5ScxZXvu3tGYRSREAoglEkSSkiASEYEIxBiwWLBgWXBNjZhD9hr1mvY52eLc+yzz/v8dtdmk9c2tvGaY+DAguGRbJAAWShhgQBFUA6ApFHWaKTp/t7v/3VXz5dDzwwM5311pqbSrXtv3aq6363wfZ3PfcLdrrVWn4NNh68t5PN/mctZI3P5XNdcLt+Us3Kr8gXrsVLuyBMnjuvb+AlvZsZ+JoGPRQL5j4VqOxHdvrJpxNGjuZ/m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WfOHNir0Dyb1+g+D4FhGHJdMV4P88Nba9AQv7MKdU+89NoLmG/pfmgmLbPIR7Ks565DX+Q4kviZyE272HodeACTRN9GqCdPT3A9PvVREz3ZN1C+hEH6R5YBK7BI9mJmdoTllf/jH/94HBbjDOhew0AaDBvv049/YCA89dxzz21jkzj8sQ6jNbo8ikKmb1+8jojPo72Sy7O0+b+0LPHi5c3XG5CFfvNzFbDzqLOcJd3OK664Qg+kDhl3WL99oHM5/hpoDIduI/J5mfjjKOoNhDXLBlwFXoYceOjQoYvAfynpk2mzBf514H0aP+/pp59ubKv8wduDB4twXwbuc+nXQYT2C3+ELsuRMWCnFVLPGT8K7BvU/TX5r/8/j40HcI8c53QAAAAASUVORK5CYII=", xo = { class: "layout-shell w-full flex flex-col" }, Eo = { class: "layout-shell__body flex flex-1 min-h-0 overflow-hidden" }, Mo = { class: "layout-shell__main flex flex-col flex-1 min-h-0 min-w-0 h-full" }, Do = { class: "layout-shell__content flex-1 w-full min-h-0 flex flex-col overflow-hidden" }, No = /* @__PURE__ */ N({
2427
+ }), Ka = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-05675378"]]), Ja = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQgAAABMCAYAAACRSCkxAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABCKADAAQAAAABAAAATAAAAADXpTM6AAAqwklEQVR4Ae2dB5ScxZXvu3tGYRSREAoglEkSSkiASEYEIxBiwWLBgWXBNjZhD9hr1mvY52eLc+yzz/v8dtdmk9c2tvGaY+DAguGRbJAAWShhgQBFUA6ApFHWaKTp/t7v/3VXz5dDzwwM5311pqbSrXtv3aq6363wfZ3PfcLdrrVWn4NNh68t5PN/mctZI3P5XNdcLt+Us3Kr8gXrsVLuyBMnjuvb+AlvZsZ+JoGPRQL5j4VqOxHdvrJpxNGjuZ/mc/mLUA51TrT5fN4ifd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FhGHJdMV4P88Nba9AQv7MKdU+89NoLmG/pfmgmLbPIR7Ks565DX+Q4kviZyE272HodeACTRN9GqCdPT3A9PvVREz3ZN1C+hEH6R5YBK7BI9mJmdoTllf/jH/94HBbjDOhew0AaDBvv049/YCA89dxzz21jkzj8sQ6jNbo8ikKmb1+8jojPo72Sy7O0+b+0LPHi5c3XG5CFfvNzFbDzqLOcJd3OK664Qg+kDhl3WL99oHM5/hpoDIduI/J5mfjjKOoNhDXLBlwFXoYceOjQoYvAfynpk2mzBf514H0aP+/pp59ubKv8wduDB4twXwbuc+nXQYT2C3+ELsuRMWCnFVLPGT8K7BvU/TX5r/8/j40HcI8c53QAAAAASUVORK5CYII=", Oa = { class: "layout-shell w-full flex flex-col" }, Fa = { class: "layout-shell__body flex flex-1 min-h-0 overflow-hidden" }, Ha = { class: "layout-shell__main flex flex-col flex-1 min-h-0 min-w-0 h-full" }, Qa = { class: "layout-shell__content flex-1 w-full min-h-0 flex flex-col overflow-hidden" }, za = /* @__PURE__ */ M({
2445
2428
  __name: "BaseLayout",
2446
2429
  props: {
2447
2430
  setting: {}
2448
2431
  },
2449
- setup(o) {
2450
- const e = o, t = T(() => {
2451
- var p, f, b, P, L, k, U;
2432
+ setup(n) {
2433
+ const e = n, t = S(() => {
2434
+ var m, c, v, _, k, U, F;
2452
2435
  return {
2453
2436
  ...e.setting || {},
2454
- logo: ((p = e.setting) == null ? void 0 : p.logo) || Lo,
2455
- menus: ((f = e.setting) == null ? void 0 : f.menus) || [],
2456
- accountMenu: ((b = e.setting) == null ? void 0 : b.accountMenu) || [],
2457
- user: ((P = e.setting) == null ? void 0 : P.user) ?? null,
2458
- appList: ((L = e.setting) == null ? void 0 : L.appList) || [],
2459
- onLogin: (k = e.setting) == null ? void 0 : k.onLogin,
2460
- onLogout: (U = e.setting) == null ? void 0 : U.onLogout
2437
+ logo: ((m = e.setting) == null ? void 0 : m.logo) || Ja,
2438
+ menus: ((c = e.setting) == null ? void 0 : c.menus) || [],
2439
+ accountMenu: ((v = e.setting) == null ? void 0 : v.accountMenu) || [],
2440
+ user: ((_ = e.setting) == null ? void 0 : _.user) ?? null,
2441
+ appList: ((k = e.setting) == null ? void 0 : k.appList) || [],
2442
+ onLogin: (U = e.setting) == null ? void 0 : U.onLogin,
2443
+ onLogout: (F = e.setting) == null ? void 0 : F.onLogout
2461
2444
  };
2462
2445
  });
2463
- Me(() => void It(t.value));
2464
- const { isMobile: n, sideOpen: a } = Et();
2446
+ Je(() => void Ot(t.value));
2447
+ const { isMobile: a, sideOpen: o } = H();
2465
2448
  let s = "", r = !1;
2466
- const c = () => void (a.value = !1), h = (p) => {
2467
- const f = p.matched[1];
2468
- if (!f) return p.path;
2469
- const b = i(f, p);
2470
- return [f.path, b].filter(Boolean).join("|");
2471
- }, i = (p, f) => Array.from(
2472
- p.path.matchAll(/:(\w+)/g),
2473
- ([, P]) => P
2474
- ).map((P) => {
2475
- const L = f.params[P];
2476
- return `${P}:${Array.isArray(L) ? L.join(",") : L || ""}`;
2477
- }).join("|"), g = (p) => {
2478
- p.key === "Escape" && n.value && a.value && c();
2449
+ const u = () => void (o.value = !1), g = (m) => {
2450
+ const c = m.matched[1];
2451
+ if (!c) return m.path;
2452
+ const v = i(c, m);
2453
+ return [c.path, v].filter(Boolean).join("|");
2454
+ }, i = (m, c) => Array.from(
2455
+ m.path.matchAll(/:(\w+)/g),
2456
+ ([, _]) => _
2457
+ ).map((_) => {
2458
+ const k = c.params[_];
2459
+ return `${_}:${Array.isArray(k) ? k.join(",") : k || ""}`;
2460
+ }).join("|"), h = (m) => {
2461
+ m.key === "Escape" && a.value && o.value && u();
2479
2462
  };
2480
- return le(
2481
- () => n.value && a.value,
2482
- (p) => {
2463
+ return re(
2464
+ () => a.value && o.value,
2465
+ (m) => {
2483
2466
  if (!(typeof document > "u")) {
2484
- if (p && !r) {
2467
+ if (m && !r) {
2485
2468
  s = document.body.style.overflow, document.body.style.overflow = "hidden", r = !0;
2486
2469
  return;
2487
2470
  }
2488
- !p && r && (document.body.style.overflow = s, r = !1);
2471
+ !m && r && (document.body.style.overflow = s, r = !1);
2489
2472
  }
2490
2473
  },
2491
2474
  { immediate: !0 }
2492
- ), Le(() => {
2493
- window.addEventListener("keydown", g);
2494
- }), xe(() => {
2495
- window.removeEventListener("keydown", g), typeof document < "u" && r && (document.body.style.overflow = s);
2496
- }), (p, f) => {
2497
- const b = E("router-view");
2498
- return l(), v("div", xo, [
2499
- _(fo, null, {
2500
- default: w(() => [
2501
- V(p.$slots, "header-right", {}, void 0, !0)
2475
+ ), Ue(() => {
2476
+ window.addEventListener("keydown", h);
2477
+ }), Re(() => {
2478
+ window.removeEventListener("keydown", h), typeof document < "u" && r && (document.body.style.overflow = s);
2479
+ }), (m, c) => {
2480
+ const v = L("router-view");
2481
+ return l(), y("div", Oa, [
2482
+ A(Ta, null, {
2483
+ default: C(() => [
2484
+ Z(m.$slots, "header-right", {}, void 0, !0)
2502
2485
  ]),
2503
2486
  _: 3
2504
2487
  }),
2505
- d("div", Eo, [
2506
- m(n) ? (l(), I(Io, { key: 1 })) : (l(), I(Ht, { key: 0 })),
2507
- d("main", Mo, [
2508
- d("div", Do, [
2509
- _(b, null, {
2510
- default: w(({ Component: P, route: L }) => [
2511
- _(Se, {
2512
- name: String(L.meta.transition || "layout-page"),
2488
+ p("div", Fa, [
2489
+ f(a) ? (l(), T(Ka, { key: 1 })) : (l(), T($t, { key: 0 })),
2490
+ p("main", Ha, [
2491
+ p("div", Qa, [
2492
+ A(v, null, {
2493
+ default: C(({ Component: _, route: k }) => [
2494
+ A(Ee, {
2495
+ name: String(k.meta.transition || "layout-page"),
2513
2496
  mode: "out-in"
2514
2497
  }, {
2515
- default: w(() => [
2516
- (l(), v("div", {
2517
- key: h(L),
2498
+ default: C(() => [
2499
+ (l(), y("div", {
2500
+ key: g(k),
2518
2501
  class: "layout-page-view"
2519
2502
  }, [
2520
- (l(), I(he(P)))
2503
+ (l(), T(fe(_)))
2521
2504
  ]))
2522
2505
  ]),
2523
2506
  _: 2
@@ -2528,33 +2511,33 @@ const Ye = (o, e) => o.reduce(
2528
2511
  ])
2529
2512
  ])
2530
2513
  ]),
2531
- _(Se, { name: "layout-overlay" }, {
2532
- default: w(() => [
2533
- m(n) && m(a) ? (l(), v("div", {
2514
+ A(Ee, { name: "layout-overlay" }, {
2515
+ default: C(() => [
2516
+ f(a) && f(o) ? (l(), y("div", {
2534
2517
  key: 0,
2535
2518
  class: "layout-shell__overlay",
2536
- onClick: c
2537
- })) : x("", !0)
2519
+ onClick: u
2520
+ })) : I("", !0)
2538
2521
  ]),
2539
2522
  _: 1
2540
2523
  })
2541
2524
  ]);
2542
2525
  };
2543
2526
  }
2544
- }), Ho = /* @__PURE__ */ B(No, [["__scopeId", "data-v-bcf098e8"]]);
2527
+ }), Va = /* @__PURE__ */ D(za, [["__scopeId", "data-v-87720a5b"]]);
2545
2528
  export {
2546
- Ho as BaseLayout,
2547
- Oo as LayoutBreadcrumb,
2548
- Fo as TimezoneSelect,
2549
- Ie as UserAvatar,
2550
- oo as UserInfo,
2529
+ Va as BaseLayout,
2530
+ lt as LanguageSelect,
2531
+ Xa as LayoutBreadcrumb,
2532
+ rt as ThemeToggle,
2533
+ Ga as TimezoneSelect,
2534
+ Be as UserAvatar,
2535
+ ha as UserInfo,
2551
2536
  ue as i18n,
2552
- W as injectLayoutContext,
2553
- re as messages,
2554
- xt as provideLayoutContext,
2555
- It as provideSetting,
2556
- qe as useApp,
2557
- Q as useSetting,
2558
- Et as useStateHook,
2559
- Qe as useTheme
2537
+ oe as messages,
2538
+ Ot as provideSetting,
2539
+ ot as useApp,
2540
+ H as useLayoutState,
2541
+ O as useSetting,
2542
+ Xe as useTheme
2560
2543
  };