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