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