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