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