@10yun/open-sdk 0.3.98 → 0.3.99
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/{404-BF-98DI2.cjs → 404-B4CmtOOb.cjs} +1 -1
- package/dist/{404-CRUQ2RGL.js → 404-BLkrv3w1.js} +1 -1
- package/dist/{alone_run-ErREtrxQ.cjs → alone_run-Cjy7Q_Sz.cjs} +1 -1
- package/dist/{alone_run-D3hGeSjr.js → alone_run-t8_0-4FT.js} +1 -1
- package/dist/index-De30ff-d.cjs +25 -0
- package/dist/{index-CYNRKRHo.js → index-e5P8YtsL.js} +290 -287
- package/dist/{login-CMkucPpJ.js → login-BX16RcPj.js} +174 -174
- package/dist/{login-DsaaTEyf.cjs → login-xMYfliOM.cjs} +1 -1
- package/dist/{none-CxRhvKIK.cjs → none-D9olgMvC.cjs} +1 -1
- package/dist/{none-GtWlMjrR.js → none-Dalhv2Tk.js} +1 -1
- package/dist/open-sdk.cjs.js +1 -1
- package/dist/open-sdk.es.js +1 -1
- package/package.json +1 -1
- package/vite-plugin-shiyun.js +2 -1
- package/dist/index-UENhK8Dd.cjs +0 -25
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineStore as De, mapState as Le } from "pinia";
|
|
2
|
-
import { effectScope as Ds, ref as Rs, shallowRef as ks, computed as gt, watch as wn, isRef as Ps, defineComponent as Jn, getCurrentInstance as
|
|
2
|
+
import { effectScope as Ds, ref as Rs, shallowRef as ks, computed as gt, watch as wn, isRef as Ps, defineComponent as Jn, getCurrentInstance as Nt, h as Sa, Fragment as he, inject as Fs, onMounted as Ms, onUnmounted as Us, createVNode as w, Text as Bs, resolveComponent as B, createBlock as J, openBlock as U, withCtx as D, createElementVNode as k, createElementBlock as Q, renderList as Xe, createTextVNode as te, toDisplayString as ne, createCommentVNode as ue, Transition as xs, normalizeClass as va, resolveDynamicComponent as Vs, withDirectives as Aa, withModifiers as Gs, normalizeStyle as Dn, vShow as ya, mergeProps as $s, renderSlot as Ws } from "vue";
|
|
3
3
|
import Ys, { ElMessage as vr, ElMessageBox as Hs, ElNotification as Ks } from "element-plus";
|
|
4
4
|
import * as js from "@element-plus/icons-vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
@@ -12,7 +12,7 @@ let Na = {};
|
|
|
12
12
|
function Js(e = {}) {
|
|
13
13
|
Na = e;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Tt() {
|
|
16
16
|
return Na;
|
|
17
17
|
}
|
|
18
18
|
/*!
|
|
@@ -26,14 +26,14 @@ var me = typeof window < "u" ? window.proxy || window : {}, zs = function(e) {
|
|
|
26
26
|
function Zs(e = "/", t = null, n = {}) {
|
|
27
27
|
e == "/" && (e = "/" + (window.localStorage.getItem("__syCacheMicroCurrSign__") || "base")), window.history.pushState(n, t, e);
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var yt = {};
|
|
30
|
+
function pt(e) {
|
|
31
31
|
if (!me.__POWERED_BY_QIANKUN__)
|
|
32
32
|
return !1;
|
|
33
33
|
if (!Object.prototype.toString.call(e) === "[object Object]")
|
|
34
34
|
throw Error("data必须是对象格式");
|
|
35
|
-
|
|
36
|
-
ignore:
|
|
35
|
+
yt.setGlobalState && yt.setGlobalState({
|
|
36
|
+
ignore: yt.name,
|
|
37
37
|
msg: {
|
|
38
38
|
...e
|
|
39
39
|
}
|
|
@@ -49,8 +49,8 @@ function eo(e) {
|
|
|
49
49
|
t.SA_ACCOUNT_REFRESH();
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
}, !0),
|
|
52
|
+
Ot().SA_MSG_CONTENT(n.msg);
|
|
53
|
+
}, !0), yt.setGlobalState = e && e.setGlobalState, yt.name = e && e.name;
|
|
54
54
|
}
|
|
55
55
|
function to(e, t, n) {
|
|
56
56
|
zs({
|
|
@@ -85,7 +85,7 @@ function to(e, t, n) {
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
const
|
|
88
|
+
const Ot = De("cloudSdkQiankunStore", {
|
|
89
89
|
state: () => ({
|
|
90
90
|
// 是否是乾坤
|
|
91
91
|
qiankunExistState: me.__POWERED_BY_QIANKUN__ || !1,
|
|
@@ -100,24 +100,24 @@ const Tt = De("cloudSdkQiankunStore", {
|
|
|
100
100
|
async init() {
|
|
101
101
|
},
|
|
102
102
|
QK_SEND_LOGIN_MSG() {
|
|
103
|
-
|
|
103
|
+
pt({
|
|
104
104
|
COMM_TYPE: "LoginSucc"
|
|
105
105
|
});
|
|
106
106
|
},
|
|
107
107
|
QK_SEND_LOGOUT_MSG() {
|
|
108
|
-
|
|
108
|
+
pt({
|
|
109
109
|
COMM_TYPE: "LoginLogout"
|
|
110
110
|
});
|
|
111
111
|
},
|
|
112
112
|
QK_SEND_MSG_REG_SUBMENU(e) {
|
|
113
|
-
|
|
113
|
+
pt({
|
|
114
114
|
COMM_TYPE: "MicroRegisterMenu",
|
|
115
115
|
COMM_TYPESTR: "注册子应用菜单",
|
|
116
116
|
data: e || []
|
|
117
117
|
});
|
|
118
118
|
},
|
|
119
119
|
QK_SEND_MSG_ROUTER_BEFORE(e) {
|
|
120
|
-
|
|
120
|
+
pt({
|
|
121
121
|
COMM_TYPE: "routerBefore",
|
|
122
122
|
routerBase: e
|
|
123
123
|
// toData: toPath
|
|
@@ -135,7 +135,11 @@ const Tt = De("cloudSdkQiankunStore", {
|
|
|
135
135
|
e.type && e.type;
|
|
136
136
|
},
|
|
137
137
|
// 发送消息给主应用
|
|
138
|
-
QIANKUN_SEND_MSG_TO_MAIN() {
|
|
138
|
+
QIANKUN_SEND_MSG_TO_MAIN(e, t) {
|
|
139
|
+
pt({
|
|
140
|
+
COMM_TYPE: e,
|
|
141
|
+
data: t || ""
|
|
142
|
+
});
|
|
139
143
|
},
|
|
140
144
|
// 设置乾坤状态
|
|
141
145
|
SA_SET_QIANKUN_STATE(e) {
|
|
@@ -360,20 +364,20 @@ function To(e, t = {}) {
|
|
|
360
364
|
inLinked: !1,
|
|
361
365
|
text: ""
|
|
362
366
|
}, c = () => l, { onError: f } = t;
|
|
363
|
-
function u(_, d, y, ...
|
|
367
|
+
function u(_, d, y, ...R) {
|
|
364
368
|
const z = c();
|
|
365
369
|
if (d.column += y, d.offset += y, f) {
|
|
366
370
|
const Z = n ? Rn(z.startLoc, d) : null, W = ft(_, Z, {
|
|
367
371
|
domain: No,
|
|
368
|
-
args:
|
|
372
|
+
args: R
|
|
369
373
|
});
|
|
370
374
|
f(W);
|
|
371
375
|
}
|
|
372
376
|
}
|
|
373
377
|
function m(_, d, y) {
|
|
374
378
|
_.endLoc = s(), _.currentType = d;
|
|
375
|
-
const
|
|
376
|
-
return n && (
|
|
379
|
+
const R = { type: d };
|
|
380
|
+
return n && (R.loc = Rn(_.startLoc, _.endLoc)), y != null && (R.value = y), R;
|
|
377
381
|
}
|
|
378
382
|
const p = (_) => m(
|
|
379
383
|
_,
|
|
@@ -412,15 +416,15 @@ function To(e, t = {}) {
|
|
|
412
416
|
if (y !== 2)
|
|
413
417
|
return !1;
|
|
414
418
|
E(_);
|
|
415
|
-
const
|
|
416
|
-
return _.resetPeek(),
|
|
419
|
+
const R = h(_.currentPeek());
|
|
420
|
+
return _.resetPeek(), R;
|
|
417
421
|
}
|
|
418
422
|
function S(_, d) {
|
|
419
423
|
const { currentType: y } = d;
|
|
420
424
|
if (y !== 2)
|
|
421
425
|
return !1;
|
|
422
426
|
E(_);
|
|
423
|
-
const
|
|
427
|
+
const R = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), z = g(R);
|
|
424
428
|
return _.resetPeek(), z;
|
|
425
429
|
}
|
|
426
430
|
function O(_, d) {
|
|
@@ -428,41 +432,41 @@ function To(e, t = {}) {
|
|
|
428
432
|
if (y !== 2)
|
|
429
433
|
return !1;
|
|
430
434
|
E(_);
|
|
431
|
-
const
|
|
432
|
-
return _.resetPeek(),
|
|
435
|
+
const R = _.currentPeek() === Or;
|
|
436
|
+
return _.resetPeek(), R;
|
|
433
437
|
}
|
|
434
438
|
function L(_, d) {
|
|
435
439
|
const { currentType: y } = d;
|
|
436
440
|
if (y !== 7)
|
|
437
441
|
return !1;
|
|
438
442
|
E(_);
|
|
439
|
-
const
|
|
440
|
-
return _.resetPeek(),
|
|
443
|
+
const R = _.currentPeek() === ".";
|
|
444
|
+
return _.resetPeek(), R;
|
|
441
445
|
}
|
|
442
446
|
function v(_, d) {
|
|
443
447
|
const { currentType: y } = d;
|
|
444
448
|
if (y !== 8)
|
|
445
449
|
return !1;
|
|
446
450
|
E(_);
|
|
447
|
-
const
|
|
448
|
-
return _.resetPeek(),
|
|
451
|
+
const R = h(_.currentPeek());
|
|
452
|
+
return _.resetPeek(), R;
|
|
449
453
|
}
|
|
450
454
|
function x(_, d) {
|
|
451
455
|
const { currentType: y } = d;
|
|
452
456
|
if (!(y === 7 || y === 11))
|
|
453
457
|
return !1;
|
|
454
458
|
E(_);
|
|
455
|
-
const
|
|
456
|
-
return _.resetPeek(),
|
|
459
|
+
const R = _.currentPeek() === ":";
|
|
460
|
+
return _.resetPeek(), R;
|
|
457
461
|
}
|
|
458
462
|
function Y(_, d) {
|
|
459
463
|
const { currentType: y } = d;
|
|
460
464
|
if (y !== 9)
|
|
461
465
|
return !1;
|
|
462
|
-
const
|
|
466
|
+
const R = () => {
|
|
463
467
|
const Z = _.currentPeek();
|
|
464
|
-
return Z === "{" ? h(_.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Ce || !Z ? !1 : Z === ce ? (_.peek(),
|
|
465
|
-
}, z =
|
|
468
|
+
return Z === "{" ? h(_.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Ce || !Z ? !1 : Z === ce ? (_.peek(), R()) : Se(_, !1);
|
|
469
|
+
}, z = R();
|
|
466
470
|
return _.resetPeek(), z;
|
|
467
471
|
}
|
|
468
472
|
function se(_) {
|
|
@@ -474,8 +478,8 @@ function To(e, t = {}) {
|
|
|
474
478
|
const y = (z = !1, Z = "") => {
|
|
475
479
|
const W = _.currentPeek();
|
|
476
480
|
return W === "{" || W === "@" || !W ? z : W === "|" ? !(Z === Ce || Z === ce) : W === Ce ? (_.peek(), y(!0, Ce)) : W === ce ? (_.peek(), y(!0, ce)) : !0;
|
|
477
|
-
},
|
|
478
|
-
return d && _.resetPeek(),
|
|
481
|
+
}, R = y();
|
|
482
|
+
return d && _.resetPeek(), R;
|
|
479
483
|
}
|
|
480
484
|
function oe(_, d) {
|
|
481
485
|
const y = _.currentChar();
|
|
@@ -565,8 +569,8 @@ function To(e, t = {}) {
|
|
|
565
569
|
let d = "", y = "";
|
|
566
570
|
for (; d = oe(_, dn); )
|
|
567
571
|
d === "\\" ? y += mn(_) : y += d;
|
|
568
|
-
const
|
|
569
|
-
return
|
|
572
|
+
const R = _.currentChar();
|
|
573
|
+
return R === ce || R === Fe ? (u(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), R === ce && (_.next(), A(_, "'")), y) : (A(_, "'"), y);
|
|
570
574
|
}
|
|
571
575
|
function mn(_) {
|
|
572
576
|
const d = _.currentChar();
|
|
@@ -575,25 +579,25 @@ function To(e, t = {}) {
|
|
|
575
579
|
case "'":
|
|
576
580
|
return _.next(), `\\${d}`;
|
|
577
581
|
case "u":
|
|
578
|
-
return
|
|
582
|
+
return Mt(_, d, 4);
|
|
579
583
|
case "U":
|
|
580
|
-
return
|
|
584
|
+
return Mt(_, d, 6);
|
|
581
585
|
default:
|
|
582
586
|
return u(M.UNKNOWN_ESCAPE_SEQUENCE, s(), 0, d), "";
|
|
583
587
|
}
|
|
584
588
|
}
|
|
585
|
-
function
|
|
589
|
+
function Mt(_, d, y) {
|
|
586
590
|
A(_, d);
|
|
587
|
-
let
|
|
591
|
+
let R = "";
|
|
588
592
|
for (let z = 0; z < y; z++) {
|
|
589
593
|
const Z = Ie(_);
|
|
590
594
|
if (!Z) {
|
|
591
|
-
u(M.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${d}${
|
|
595
|
+
u(M.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${d}${R}${_.currentChar()}`);
|
|
592
596
|
break;
|
|
593
597
|
}
|
|
594
|
-
|
|
598
|
+
R += Z;
|
|
595
599
|
}
|
|
596
|
-
return `\\${d}${
|
|
600
|
+
return `\\${d}${R}`;
|
|
597
601
|
}
|
|
598
602
|
function hn(_) {
|
|
599
603
|
return _ !== "{" && _ !== "}" && _ !== Ce && _ !== ce;
|
|
@@ -613,8 +617,8 @@ function To(e, t = {}) {
|
|
|
613
617
|
}
|
|
614
618
|
function En(_) {
|
|
615
619
|
const d = (y) => {
|
|
616
|
-
const
|
|
617
|
-
return
|
|
620
|
+
const R = _.currentChar();
|
|
621
|
+
return R === "{" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === Ce ? y : (y += R, _.next(), d(y));
|
|
618
622
|
};
|
|
619
623
|
return d("");
|
|
620
624
|
}
|
|
@@ -667,16 +671,16 @@ function To(e, t = {}) {
|
|
|
667
671
|
}
|
|
668
672
|
function $e(_, d) {
|
|
669
673
|
const { currentType: y } = d;
|
|
670
|
-
let
|
|
674
|
+
let R = null;
|
|
671
675
|
const z = _.currentChar();
|
|
672
676
|
switch ((y === 7 || y === 8 || y === 11 || y === 9) && (z === ce || z === Ce) && u(M.INVALID_LINKED_FORMAT, s(), 0), z) {
|
|
673
677
|
case "@":
|
|
674
|
-
return _.next(),
|
|
678
|
+
return _.next(), R = m(
|
|
675
679
|
d,
|
|
676
680
|
7,
|
|
677
681
|
"@"
|
|
678
682
|
/* TokenChars.LinkedAlias */
|
|
679
|
-
), d.inLinked = !0,
|
|
683
|
+
), d.inLinked = !0, R;
|
|
680
684
|
case ".":
|
|
681
685
|
return C(_), _.next(), m(
|
|
682
686
|
d,
|
|
@@ -692,7 +696,7 @@ function To(e, t = {}) {
|
|
|
692
696
|
/* TokenChars.LinkedDelimiter */
|
|
693
697
|
);
|
|
694
698
|
default:
|
|
695
|
-
return se(_) ? (
|
|
699
|
+
return se(_) ? (R = m(d, 1, dt(_)), d.braceNest = 0, d.inLinked = !1, R) : L(_, d) || x(_, d) ? (C(_), $e(_, d)) : v(_, d) ? (C(_), m(d, 11, pn(_))) : Y(_, d) ? (C(_), z === "{" ? mt(_, d) || R : m(d, 10, En(_))) : (y === 7 && u(M.INVALID_LINKED_FORMAT, s(), 0), d.braceNest = 0, d.inLinked = !1, ht(_, d));
|
|
696
700
|
}
|
|
697
701
|
}
|
|
698
702
|
function ht(_, d) {
|
|
@@ -727,8 +731,8 @@ function To(e, t = {}) {
|
|
|
727
731
|
return y;
|
|
728
732
|
}
|
|
729
733
|
function bn() {
|
|
730
|
-
const { currentType: _, offset: d, startLoc: y, endLoc:
|
|
731
|
-
return l.lastType = _, l.lastOffset = d, l.lastStartLoc = y, l.lastEndLoc =
|
|
734
|
+
const { currentType: _, offset: d, startLoc: y, endLoc: R } = l;
|
|
735
|
+
return l.lastType = _, l.lastOffset = d, l.lastStartLoc = y, l.lastEndLoc = R, l.offset = a(), l.startLoc = s(), r.currentChar() === Fe ? m(
|
|
732
736
|
l,
|
|
733
737
|
13
|
|
734
738
|
/* TokenTypes.EOF */
|
|
@@ -1220,7 +1224,7 @@ function xt(e, t) {
|
|
|
1220
1224
|
const n = xe(e, Da);
|
|
1221
1225
|
if (n != null)
|
|
1222
1226
|
return n;
|
|
1223
|
-
throw
|
|
1227
|
+
throw It(t);
|
|
1224
1228
|
}
|
|
1225
1229
|
const Ra = ["m", "modifier"];
|
|
1226
1230
|
function jo(e) {
|
|
@@ -1231,7 +1235,7 @@ function qo(e) {
|
|
|
1231
1235
|
const t = xe(e, ka);
|
|
1232
1236
|
if (t)
|
|
1233
1237
|
return t;
|
|
1234
|
-
throw
|
|
1238
|
+
throw It(
|
|
1235
1239
|
6
|
|
1236
1240
|
/* NodeTypes.Linked */
|
|
1237
1241
|
);
|
|
@@ -1254,7 +1258,7 @@ const Pa = [
|
|
|
1254
1258
|
...Da,
|
|
1255
1259
|
...wa
|
|
1256
1260
|
];
|
|
1257
|
-
function
|
|
1261
|
+
function It(e) {
|
|
1258
1262
|
return new Error(`unhandled node type: ${e}`);
|
|
1259
1263
|
}
|
|
1260
1264
|
function Sn(e) {
|
|
@@ -1263,7 +1267,7 @@ function Sn(e) {
|
|
|
1263
1267
|
function Xo(e, t) {
|
|
1264
1268
|
const n = Wo(t);
|
|
1265
1269
|
if (n == null)
|
|
1266
|
-
throw
|
|
1270
|
+
throw It(
|
|
1267
1271
|
0
|
|
1268
1272
|
/* NodeTypes.Resource */
|
|
1269
1273
|
);
|
|
@@ -1298,7 +1302,7 @@ function kn(e, t) {
|
|
|
1298
1302
|
return e.interpolate(e.named(r.k));
|
|
1299
1303
|
if (ve(r, "key") && r.key)
|
|
1300
1304
|
return e.interpolate(e.named(r.key));
|
|
1301
|
-
throw
|
|
1305
|
+
throw It(n);
|
|
1302
1306
|
}
|
|
1303
1307
|
case 5: {
|
|
1304
1308
|
const r = t;
|
|
@@ -1306,7 +1310,7 @@ function kn(e, t) {
|
|
|
1306
1310
|
return e.interpolate(e.list(r.i));
|
|
1307
1311
|
if (ve(r, "index") && ae(r.index))
|
|
1308
1312
|
return e.interpolate(e.list(r.index));
|
|
1309
|
-
throw
|
|
1313
|
+
throw It(n);
|
|
1310
1314
|
}
|
|
1311
1315
|
case 6: {
|
|
1312
1316
|
const r = t, a = jo(r), s = qo(r);
|
|
@@ -1358,12 +1362,12 @@ function ei(e, t) {
|
|
|
1358
1362
|
return Sn(e);
|
|
1359
1363
|
}
|
|
1360
1364
|
}
|
|
1361
|
-
let
|
|
1365
|
+
let Ct = null;
|
|
1362
1366
|
function ti(e) {
|
|
1363
|
-
|
|
1367
|
+
Ct = e;
|
|
1364
1368
|
}
|
|
1365
1369
|
function ni(e, t, n) {
|
|
1366
|
-
|
|
1370
|
+
Ct && Ct.emit("i18n:init", {
|
|
1367
1371
|
timestamp: Date.now(),
|
|
1368
1372
|
i18n: e,
|
|
1369
1373
|
version: t,
|
|
@@ -1372,7 +1376,7 @@ function ni(e, t, n) {
|
|
|
1372
1376
|
}
|
|
1373
1377
|
const ri = /* @__PURE__ */ ai("function:translate");
|
|
1374
1378
|
function ai(e) {
|
|
1375
|
-
return (t) =>
|
|
1379
|
+
return (t) => Ct && Ct.emit(e, t);
|
|
1376
1380
|
}
|
|
1377
1381
|
const le = {
|
|
1378
1382
|
INVALID_ARGUMENT: mo,
|
|
@@ -1423,7 +1427,7 @@ function ii(e, t, n) {
|
|
|
1423
1427
|
])];
|
|
1424
1428
|
}
|
|
1425
1429
|
function Fa(e, t, n) {
|
|
1426
|
-
const r = I(n) ? n :
|
|
1430
|
+
const r = I(n) ? n : Lt, a = e;
|
|
1427
1431
|
a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1428
1432
|
let s = a.__localeChainCache.get(r);
|
|
1429
1433
|
if (!s) {
|
|
@@ -1771,7 +1775,7 @@ const _e = {
|
|
|
1771
1775
|
function Je(e, ...t) {
|
|
1772
1776
|
return Xt(bi[e], ...t);
|
|
1773
1777
|
}
|
|
1774
|
-
const Si = "11.1.3", Jt = -1,
|
|
1778
|
+
const Si = "11.1.3", Jt = -1, Lt = "en-US", Ht = "", kr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1775
1779
|
function vi() {
|
|
1776
1780
|
return {
|
|
1777
1781
|
upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -1801,7 +1805,7 @@ const Pr = (e) => {
|
|
|
1801
1805
|
}, Ii = () => Va;
|
|
1802
1806
|
let Fr = 0;
|
|
1803
1807
|
function Ci(e = {}) {
|
|
1804
|
-
const t = q(e.onWarn) ? e.onWarn : fo, n = I(e.version) ? e.version : Si, r = I(e.locale) || q(e.locale) ? e.locale :
|
|
1808
|
+
const t = q(e.onWarn) ? e.onWarn : fo, n = I(e.version) ? e.version : Si, r = I(e.locale) || q(e.locale) ? e.locale : Lt, a = q(r) ? Lt : r, s = re(e.fallbackLocale) || V(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = V(e.messages) ? e.messages : An(a), i = V(e.datetimeFormats) ? e.datetimeFormats : An(a), l = V(e.numberFormats) ? e.numberFormats : An(a), c = ie(K(), e.modifiers, vi()), f = e.pluralRules || K(), u = q(e.missing) ? e.missing : null, m = $(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, p = $(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, A = !!e.fallbackFormat, E = !!e.unresolving, C = q(e.postTranslation) ? e.postTranslation : null, h = V(e.processor) ? e.processor : null, g = $(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, S = q(e.messageCompiler) ? e.messageCompiler : Ma;
|
|
1805
1809
|
process.env.NODE_ENV !== "production" && q(e.messageCompiler) && er(Je(_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1806
1810
|
const O = q(e.messageResolver) ? e.messageResolver : Ua || gi, L = q(e.localeFallbacker) ? e.localeFallbacker : Ba || ii, v = G(e.fallbackContext) ? e.fallbackContext : void 0, x = e, Y = G(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), se = G(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), Se = G(x.__meta) ? x.__meta : {};
|
|
1807
1811
|
Fr++;
|
|
@@ -1855,7 +1859,7 @@ function sr(e, t, n, r, a) {
|
|
|
1855
1859
|
} else
|
|
1856
1860
|
return process.env.NODE_ENV !== "production" && Ga(r, t) && o(Je(_e.NOT_FOUND_KEY, { key: t, locale: n })), t;
|
|
1857
1861
|
}
|
|
1858
|
-
function
|
|
1862
|
+
function Et(e, t, n) {
|
|
1859
1863
|
const r = e;
|
|
1860
1864
|
r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1861
1865
|
}
|
|
@@ -2412,7 +2416,7 @@ const Zi = {
|
|
|
2412
2416
|
[X.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
2413
2417
|
[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
2414
2418
|
[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
2415
|
-
}, Bn = /* @__PURE__ */ Oe("__translateVNode"), xn = /* @__PURE__ */ Oe("__datetimeParts"), Vn = /* @__PURE__ */ Oe("__numberParts"), ze = /* @__PURE__ */ Oe("__enableEmitter"),
|
|
2419
|
+
}, Bn = /* @__PURE__ */ Oe("__translateVNode"), xn = /* @__PURE__ */ Oe("__datetimeParts"), Vn = /* @__PURE__ */ Oe("__numberParts"), ze = /* @__PURE__ */ Oe("__enableEmitter"), wt = /* @__PURE__ */ Oe("__disableEmitter"), Xa = Oe("__setPluralRules"), Qa = /* @__PURE__ */ Oe("__injectWithOption"), Gn = /* @__PURE__ */ Oe("__dispose"), Ne = {
|
|
2416
2420
|
FALLBACK_TO_ROOT: Ei,
|
|
2417
2421
|
// 8
|
|
2418
2422
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
@@ -2439,16 +2443,16 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
2439
2443
|
*/
|
|
2440
2444
|
[Ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
|
|
2441
2445
|
};
|
|
2442
|
-
function
|
|
2446
|
+
function kt(e, ...t) {
|
|
2443
2447
|
return Xt(el[e], ...t);
|
|
2444
2448
|
}
|
|
2445
|
-
function
|
|
2449
|
+
function Dt(e) {
|
|
2446
2450
|
if (!G(e) || Ee(e))
|
|
2447
2451
|
return e;
|
|
2448
2452
|
for (const t in e)
|
|
2449
2453
|
if (ve(e, t))
|
|
2450
2454
|
if (!t.includes("."))
|
|
2451
|
-
G(e[t]) &&
|
|
2455
|
+
G(e[t]) && Dt(e[t]);
|
|
2452
2456
|
else {
|
|
2453
2457
|
const n = t.split("."), r = n.length - 1;
|
|
2454
2458
|
let a = e, s = !1;
|
|
@@ -2456,7 +2460,7 @@ function wt(e) {
|
|
|
2456
2460
|
if (n[o] === "__proto__")
|
|
2457
2461
|
throw new Error(`unsafe key: ${n[o]}`);
|
|
2458
2462
|
if (n[o] in a || (a[n[o]] = K()), !G(a[n[o]])) {
|
|
2459
|
-
process.env.NODE_ENV !== "production" && (
|
|
2463
|
+
process.env.NODE_ENV !== "production" && (kt(Ne.IGNORE_OBJ_FLATTEN, {
|
|
2460
2464
|
key: n[o]
|
|
2461
2465
|
}), void 0), s = !0;
|
|
2462
2466
|
break;
|
|
@@ -2465,7 +2469,7 @@ function wt(e) {
|
|
|
2465
2469
|
}
|
|
2466
2470
|
if (s || (Ee(a) ? Pa.includes(n[r]) || delete e[t] : (a[n[r]] = e[t], delete e[t])), !Ee(a)) {
|
|
2467
2471
|
const o = a[n[r]];
|
|
2468
|
-
G(o) &&
|
|
2472
|
+
G(o) && Dt(o);
|
|
2469
2473
|
}
|
|
2470
2474
|
}
|
|
2471
2475
|
return e;
|
|
@@ -2480,7 +2484,7 @@ function or(e, t) {
|
|
|
2480
2484
|
I(i) && Wt(JSON.parse(i), o);
|
|
2481
2485
|
}), a == null && s)
|
|
2482
2486
|
for (const i in o)
|
|
2483
|
-
ve(o, i) &&
|
|
2487
|
+
ve(o, i) && Dt(o[i]);
|
|
2484
2488
|
return o;
|
|
2485
2489
|
}
|
|
2486
2490
|
function Ja(e) {
|
|
@@ -2517,10 +2521,10 @@ function Yr(e) {
|
|
|
2517
2521
|
const Hr = "__INTLIFY_META__", Kr = () => [], tl = () => !1;
|
|
2518
2522
|
let jr = 0;
|
|
2519
2523
|
function qr(e) {
|
|
2520
|
-
return (t, n, r, a) => e(n, r,
|
|
2524
|
+
return (t, n, r, a) => e(n, r, Nt() || void 0, a);
|
|
2521
2525
|
}
|
|
2522
2526
|
const nl = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
2523
|
-
const e =
|
|
2527
|
+
const e = Nt();
|
|
2524
2528
|
let t = null;
|
|
2525
2529
|
return e && (t = Ja(e)[Hr]) ? { [Hr]: t } : null;
|
|
2526
2530
|
};
|
|
@@ -2529,7 +2533,7 @@ function ir(e = {}) {
|
|
|
2529
2533
|
let o = $(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2530
2534
|
const i = s(
|
|
2531
2535
|
// prettier-ignore
|
|
2532
|
-
t && o ? t.locale.value : I(e.locale) ? e.locale :
|
|
2536
|
+
t && o ? t.locale.value : I(e.locale) ? e.locale : Lt
|
|
2533
2537
|
), l = s(
|
|
2534
2538
|
// prettier-ignore
|
|
2535
2539
|
t && o ? t.fallbackLocale.value : I(e.fallbackLocale) || re(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i.value
|
|
@@ -2561,7 +2565,7 @@ function ir(e = {}) {
|
|
|
2561
2565
|
b.datetimeFormats = f.value, b.numberFormats = u.value, b.__datetimeFormatters = V(v) ? v.__datetimeFormatters : void 0, b.__numberFormatters = V(v) ? v.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (b.__v_emitter = V(v) ? v.__v_emitter : void 0);
|
|
2562
2566
|
const T = Ci(b);
|
|
2563
2567
|
return r && Pr(T), T;
|
|
2564
|
-
})(),
|
|
2568
|
+
})(), Et(v, i.value, l.value);
|
|
2565
2569
|
function Y() {
|
|
2566
2570
|
return [
|
|
2567
2571
|
i.value,
|
|
@@ -2579,7 +2583,7 @@ function ir(e = {}) {
|
|
|
2579
2583
|
}), Se = gt({
|
|
2580
2584
|
get: () => l.value,
|
|
2581
2585
|
set: (b) => {
|
|
2582
|
-
v.fallbackLocale = b, l.value = b,
|
|
2586
|
+
v.fallbackLocale = b, l.value = b, Et(v, i.value, b);
|
|
2583
2587
|
}
|
|
2584
2588
|
}), oe = gt(() => c.value), Ze = /* @__PURE__ */ gt(() => f.value), rn = /* @__PURE__ */ gt(() => u.value);
|
|
2585
2589
|
function an() {
|
|
@@ -2597,7 +2601,7 @@ function ir(e = {}) {
|
|
|
2597
2601
|
function cn(b, T) {
|
|
2598
2602
|
return b !== "translate" || !T.resolvedMessage;
|
|
2599
2603
|
}
|
|
2600
|
-
const Ie = (b, T, H, ee, We,
|
|
2604
|
+
const Ie = (b, T, H, ee, We, Ut) => {
|
|
2601
2605
|
Y();
|
|
2602
2606
|
let et;
|
|
2603
2607
|
try {
|
|
@@ -2608,7 +2612,7 @@ function ir(e = {}) {
|
|
|
2608
2612
|
if (H !== "translate exists" && // for not `te` (e.g `t`)
|
|
2609
2613
|
ae(et) && et === Jt || H === "translate exists" && !et) {
|
|
2610
2614
|
const [Ye, ws] = T();
|
|
2611
|
-
if (process.env.NODE_ENV !== "production" && t && I(Ye) && cn(H, ws) && (A && (zt(p, Ye) || Ga(m, Ye)) && (
|
|
2615
|
+
if (process.env.NODE_ENV !== "production" && t && I(Ye) && cn(H, ws) && (A && (zt(p, Ye) || Ga(m, Ye)) && (kt(Ne.FALLBACK_TO_ROOT, {
|
|
2612
2616
|
key: Ye,
|
|
2613
2617
|
type: H
|
|
2614
2618
|
}), void 0), process.env.NODE_ENV !== "production")) {
|
|
@@ -2622,7 +2626,7 @@ function ir(e = {}) {
|
|
|
2622
2626
|
}
|
|
2623
2627
|
return t && A ? ee(t) : We(Ye);
|
|
2624
2628
|
} else {
|
|
2625
|
-
if (
|
|
2629
|
+
if (Ut(et))
|
|
2626
2630
|
return et;
|
|
2627
2631
|
throw de(X.UNEXPECTED_RETURN_TYPE);
|
|
2628
2632
|
}
|
|
@@ -2650,7 +2654,7 @@ function ir(e = {}) {
|
|
|
2650
2654
|
interpolate: (b) => b,
|
|
2651
2655
|
type: "vnode"
|
|
2652
2656
|
};
|
|
2653
|
-
function
|
|
2657
|
+
function Mt(...b) {
|
|
2654
2658
|
return Ie((T) => {
|
|
2655
2659
|
let H;
|
|
2656
2660
|
const ee = T;
|
|
@@ -2683,9 +2687,9 @@ function ir(e = {}) {
|
|
|
2683
2687
|
let T = null;
|
|
2684
2688
|
const H = Fa(v, l.value, i.value);
|
|
2685
2689
|
for (let ee = 0; ee < H.length; ee++) {
|
|
2686
|
-
const We = c.value[H[ee]] || {},
|
|
2687
|
-
if (
|
|
2688
|
-
T =
|
|
2690
|
+
const We = c.value[H[ee]] || {}, Ut = v.messageResolver(We, b);
|
|
2691
|
+
if (Ut != null) {
|
|
2692
|
+
T = Ut;
|
|
2689
2693
|
break;
|
|
2690
2694
|
}
|
|
2691
2695
|
}
|
|
@@ -2702,7 +2706,7 @@ function ir(e = {}) {
|
|
|
2702
2706
|
if (a) {
|
|
2703
2707
|
const H = { [b]: T };
|
|
2704
2708
|
for (const ee in H)
|
|
2705
|
-
ve(H, ee) &&
|
|
2709
|
+
ve(H, ee) && Dt(H[ee]);
|
|
2706
2710
|
T = H[b];
|
|
2707
2711
|
}
|
|
2708
2712
|
c.value[b] = T, v.messages = c.value;
|
|
@@ -2712,7 +2716,7 @@ function ir(e = {}) {
|
|
|
2712
2716
|
const H = { [b]: T };
|
|
2713
2717
|
if (a)
|
|
2714
2718
|
for (const ee in H)
|
|
2715
|
-
ve(H, ee) &&
|
|
2719
|
+
ve(H, ee) && Dt(H[ee]);
|
|
2716
2720
|
T = H[b], Wt(T, c.value[b]), v.messages = c.value;
|
|
2717
2721
|
}
|
|
2718
2722
|
function _(b) {
|
|
@@ -2724,7 +2728,7 @@ function ir(e = {}) {
|
|
|
2724
2728
|
function y(b, T) {
|
|
2725
2729
|
f.value[b] = ie(f.value[b] || {}, T), v.datetimeFormats = f.value, Br(v, b, T);
|
|
2726
2730
|
}
|
|
2727
|
-
function
|
|
2731
|
+
function R(b) {
|
|
2728
2732
|
return u.value[b] || {};
|
|
2729
2733
|
}
|
|
2730
2734
|
function z(b, T) {
|
|
@@ -2734,9 +2738,9 @@ function ir(e = {}) {
|
|
|
2734
2738
|
u.value[b] = ie(u.value[b] || {}, T), v.numberFormats = u.value, Vr(v, b, T);
|
|
2735
2739
|
}
|
|
2736
2740
|
jr++, t && Ae && (wn(t.locale, (b) => {
|
|
2737
|
-
o && (i.value = b, v.locale = b,
|
|
2741
|
+
o && (i.value = b, v.locale = b, Et(v, i.value, l.value));
|
|
2738
2742
|
}), wn(t.fallbackLocale, (b) => {
|
|
2739
|
-
o && (l.value = b, v.fallbackLocale = b,
|
|
2743
|
+
o && (l.value = b, v.fallbackLocale = b, Et(v, i.value, l.value));
|
|
2740
2744
|
}));
|
|
2741
2745
|
const W = {
|
|
2742
2746
|
id: jr,
|
|
@@ -2746,7 +2750,7 @@ function ir(e = {}) {
|
|
|
2746
2750
|
return o;
|
|
2747
2751
|
},
|
|
2748
2752
|
set inheritLocale(b) {
|
|
2749
|
-
o = b, b && t && (i.value = t.locale.value, l.value = t.fallbackLocale.value,
|
|
2753
|
+
o = b, b && t && (i.value = t.locale.value, l.value = t.fallbackLocale.value, Et(v, i.value, l.value));
|
|
2750
2754
|
},
|
|
2751
2755
|
get availableLocales() {
|
|
2752
2756
|
return Object.keys(c.value).sort();
|
|
@@ -2807,9 +2811,9 @@ function ir(e = {}) {
|
|
|
2807
2811
|
setMissingHandler: ln,
|
|
2808
2812
|
[Xa]: pn
|
|
2809
2813
|
};
|
|
2810
|
-
return W.datetimeFormats = Ze, W.numberFormats = rn, W.rt = un, W.te = En, W.tm = mt, W.d = fn, W.n = _n, W.getDateTimeFormat = _, W.setDateTimeFormat = d, W.mergeDateTimeFormat = y, W.getNumberFormat =
|
|
2814
|
+
return W.datetimeFormats = Ze, W.numberFormats = rn, W.rt = un, W.te = En, W.tm = mt, W.d = fn, W.n = _n, W.getDateTimeFormat = _, W.setDateTimeFormat = d, W.mergeDateTimeFormat = y, W.getNumberFormat = R, W.setNumberFormat = z, W.mergeNumberFormat = Z, W[Qa] = n, W[Bn] = Mt, W[xn] = gn, W[Vn] = hn, process.env.NODE_ENV !== "production" && (W[ze] = (b) => {
|
|
2811
2815
|
v.__v_emitter = b;
|
|
2812
|
-
}, W[
|
|
2816
|
+
}, W[wt] = () => {
|
|
2813
2817
|
v.__v_emitter = void 0;
|
|
2814
2818
|
}), W;
|
|
2815
2819
|
}
|
|
@@ -3050,7 +3054,7 @@ function ml(e) {
|
|
|
3050
3054
|
}
|
|
3051
3055
|
return t;
|
|
3052
3056
|
}
|
|
3053
|
-
function
|
|
3057
|
+
function Rt(e, t) {
|
|
3054
3058
|
if ($n) {
|
|
3055
3059
|
let n;
|
|
3056
3060
|
t && "groupId" in t && (n = t.groupId, delete t.groupId), $n.addTimelineEvent({
|
|
@@ -3074,7 +3078,7 @@ function hl(e, t) {
|
|
|
3074
3078
|
}
|
|
3075
3079
|
}
|
|
3076
3080
|
function gl(e) {
|
|
3077
|
-
const t = I(e.locale) ? e.locale :
|
|
3081
|
+
const t = I(e.locale) ? e.locale : Lt, n = I(e.fallbackLocale) || re(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = q(e.missing) ? e.missing : void 0, a = $(e.silentTranslationWarn) || lt(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = $(e.silentFallbackWarn) || lt(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = $(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, l = V(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = q(e.postTranslation) ? e.postTranslation : void 0, u = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, m = !!e.escapeParameterHtml, p = $(e.sync) ? e.sync : !0;
|
|
3078
3082
|
let A = e.messages;
|
|
3079
3083
|
if (V(e.sharedMessages)) {
|
|
3080
3084
|
const O = e.sharedMessages;
|
|
@@ -3274,13 +3278,13 @@ function Wn(e = {}) {
|
|
|
3274
3278
|
s[ze] && s[ze](a);
|
|
3275
3279
|
}, r.__disableEmitter = () => {
|
|
3276
3280
|
const a = t;
|
|
3277
|
-
a[
|
|
3281
|
+
a[wt] && a[wt]();
|
|
3278
3282
|
}), r;
|
|
3279
3283
|
}
|
|
3280
3284
|
function pl(e, t, n) {
|
|
3281
3285
|
return {
|
|
3282
3286
|
beforeCreate() {
|
|
3283
|
-
const r =
|
|
3287
|
+
const r = Nt();
|
|
3284
3288
|
if (!r)
|
|
3285
3289
|
throw de(X.UNEXPECTED_ERROR);
|
|
3286
3290
|
const a = this.$options;
|
|
@@ -3315,15 +3319,15 @@ function pl(e, t, n) {
|
|
|
3315
3319
|
const r = this.$i18n;
|
|
3316
3320
|
this.$el.__VUE_I18N__ = r.__composer;
|
|
3317
3321
|
const a = this.__v_emitter = tr();
|
|
3318
|
-
r.__enableEmitter && r.__enableEmitter(a), a.on("*",
|
|
3322
|
+
r.__enableEmitter && r.__enableEmitter(a), a.on("*", Rt);
|
|
3319
3323
|
}
|
|
3320
3324
|
},
|
|
3321
3325
|
unmounted() {
|
|
3322
|
-
const r =
|
|
3326
|
+
const r = Nt();
|
|
3323
3327
|
if (!r)
|
|
3324
3328
|
throw de(X.UNEXPECTED_ERROR);
|
|
3325
3329
|
const a = this.$i18n;
|
|
3326
|
-
process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*",
|
|
3330
|
+
process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Rt), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), n.__deleteInstance(r), delete this.$i18n;
|
|
3327
3331
|
}
|
|
3328
3332
|
};
|
|
3329
3333
|
}
|
|
@@ -3449,7 +3453,7 @@ function Al(e, t) {
|
|
|
3449
3453
|
}
|
|
3450
3454
|
function yl(e) {
|
|
3451
3455
|
const t = (o) => {
|
|
3452
|
-
process.env.NODE_ENV !== "production" && er(
|
|
3456
|
+
process.env.NODE_ENV !== "production" && er(kt(Ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
3453
3457
|
const { instance: i, value: l } = o;
|
|
3454
3458
|
if (!i || !i.$)
|
|
3455
3459
|
throw de(X.UNEXPECTED_ERROR);
|
|
@@ -3504,7 +3508,7 @@ function Nl(e, t, ...n) {
|
|
|
3504
3508
|
const Tl = /* @__PURE__ */ Oe("global-vue-i18n");
|
|
3505
3509
|
function Ol(e = {}) {
|
|
3506
3510
|
const t = __VUE_I18N_LEGACY_API__ && $(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
3507
|
-
process.env.NODE_ENV !== "production" && t && er(
|
|
3511
|
+
process.env.NODE_ENV !== "production" && t && er(kt(Ne.DEPRECATE_LEGACY_MODE));
|
|
3508
3512
|
const n = $(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] = Il(e, t), o = /* @__PURE__ */ Oe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3509
3513
|
function i(u) {
|
|
3510
3514
|
return r.get(u) || null;
|
|
@@ -3542,7 +3546,7 @@ function Ol(e = {}) {
|
|
|
3542
3546
|
const h = s;
|
|
3543
3547
|
h[ze] && h[ze](C);
|
|
3544
3548
|
}
|
|
3545
|
-
C.on("*",
|
|
3549
|
+
C.on("*", Rt);
|
|
3546
3550
|
}
|
|
3547
3551
|
},
|
|
3548
3552
|
// global accessor
|
|
@@ -3564,7 +3568,7 @@ function Ol(e = {}) {
|
|
|
3564
3568
|
return f;
|
|
3565
3569
|
}
|
|
3566
3570
|
function ur(e = {}) {
|
|
3567
|
-
const t =
|
|
3571
|
+
const t = Nt();
|
|
3568
3572
|
if (t == null)
|
|
3569
3573
|
throw de(X.MUST_BE_CALL_SETUP_TOP);
|
|
3570
3574
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -3574,7 +3578,7 @@ function ur(e = {}) {
|
|
|
3574
3578
|
return za(r, e, a), r;
|
|
3575
3579
|
if (s === "parent") {
|
|
3576
3580
|
let l = Dl(n, t, e.__useComponent);
|
|
3577
|
-
return l == null && (process.env.NODE_ENV !== "production" && (
|
|
3581
|
+
return l == null && (process.env.NODE_ENV !== "production" && (kt(Ne.NOT_FOUND_PARENT_SCOPE), void 0), l = r), l;
|
|
3578
3582
|
}
|
|
3579
3583
|
const o = n;
|
|
3580
3584
|
let i = o.__getInstance(t);
|
|
@@ -3629,11 +3633,11 @@ function kl(e, t, n) {
|
|
|
3629
3633
|
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
3630
3634
|
t.vnode.el.__VUE_I18N__ = n, r = tr();
|
|
3631
3635
|
const a = n;
|
|
3632
|
-
a[ze] && a[ze](r), r.on("*",
|
|
3636
|
+
a[ze] && a[ze](r), r.on("*", Rt);
|
|
3633
3637
|
}
|
|
3634
3638
|
}, t), Us(() => {
|
|
3635
3639
|
const a = n;
|
|
3636
|
-
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*",
|
|
3640
|
+
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", Rt), a[wt] && a[wt](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
|
|
3637
3641
|
const s = a[Gn];
|
|
3638
3642
|
s && (s(), delete a[Gn]);
|
|
3639
3643
|
}, t);
|
|
@@ -3736,10 +3740,10 @@ function Bl() {
|
|
|
3736
3740
|
function xl(e) {
|
|
3737
3741
|
return e ? e.toLowerCase().trim() : "";
|
|
3738
3742
|
}
|
|
3739
|
-
const
|
|
3743
|
+
const Pt = De("cloudSdkLanguageStore", {
|
|
3740
3744
|
state: () => ({
|
|
3741
3745
|
languageDefault: rt,
|
|
3742
|
-
languageName:
|
|
3746
|
+
languageName: P.localGet(nt) || rt,
|
|
3743
3747
|
/**
|
|
3744
3748
|
* 语言类型
|
|
3745
3749
|
*/
|
|
@@ -3775,7 +3779,7 @@ const kt = De("cloudSdkLanguageStore", {
|
|
|
3775
3779
|
t.language && (e = t.language), e = xl(e), Object.keys(this.languageList).includes(e) ? this.languageName = e === "zh-cn" ? "zh" : e : this.languageName = rt, localStorage.setItem(nt, this.languageName);
|
|
3776
3780
|
},
|
|
3777
3781
|
async clear_cache() {
|
|
3778
|
-
|
|
3782
|
+
P.localSet(nt, rt);
|
|
3779
3783
|
},
|
|
3780
3784
|
/**
|
|
3781
3785
|
* 默认语言
|
|
@@ -3803,7 +3807,7 @@ const kt = De("cloudSdkLanguageStore", {
|
|
|
3803
3807
|
* @param silence
|
|
3804
3808
|
*/
|
|
3805
3809
|
SA_LANGUAGE_SET(e) {
|
|
3806
|
-
this.languageName = e,
|
|
3810
|
+
this.languageName = e, P.localSet(nt, e), Ke.locale.value = e;
|
|
3807
3811
|
}
|
|
3808
3812
|
}
|
|
3809
3813
|
}), ra = "__system:themes__", Vl = "light", Nn = "__system:layoutSidebarState__", Gl = "on", aa = "__system:layoutNavTabs__", $l = "on", Wl = "__system:layoutWatermark__", Yl = "on";
|
|
@@ -3817,17 +3821,17 @@ const Be = De("cloudSdkThemesStore", {
|
|
|
3817
3821
|
/**
|
|
3818
3822
|
* 上边切换卡
|
|
3819
3823
|
*/
|
|
3820
|
-
layoutNavTabs:
|
|
3824
|
+
layoutNavTabs: P.localGet(aa) || $l,
|
|
3821
3825
|
/**
|
|
3822
3826
|
* 左边侧栏
|
|
3823
3827
|
*/
|
|
3824
|
-
layoutSidebarState:
|
|
3828
|
+
layoutSidebarState: P.localGet(Nn) || Gl,
|
|
3825
3829
|
/**
|
|
3826
3830
|
* 主题皮肤
|
|
3827
3831
|
* auto|light|dark
|
|
3828
3832
|
* 自动生成
|
|
3829
3833
|
*/
|
|
3830
|
-
themesName:
|
|
3834
|
+
themesName: P.localGet(ra) || Vl,
|
|
3831
3835
|
themesList: [
|
|
3832
3836
|
{ name: "跟随系统", value: "auto" },
|
|
3833
3837
|
{ name: "明亮", value: "light" },
|
|
@@ -3836,7 +3840,7 @@ const Be = De("cloudSdkThemesStore", {
|
|
|
3836
3840
|
/**
|
|
3837
3841
|
* 水印
|
|
3838
3842
|
*/
|
|
3839
|
-
watermarkState:
|
|
3843
|
+
watermarkState: P.localGet(Wl) || Yl
|
|
3840
3844
|
}),
|
|
3841
3845
|
actions: {
|
|
3842
3846
|
async init() {
|
|
@@ -3852,19 +3856,19 @@ const Be = De("cloudSdkThemesStore", {
|
|
|
3852
3856
|
SA_LAYOUT_WATERMARK_SET(e) {
|
|
3853
3857
|
this.watermarkState = e;
|
|
3854
3858
|
const t = document.querySelector("html");
|
|
3855
|
-
t.classList.remove(e ? "hideWatermark" : "openWatermark"), t.classList.add(e ? "openWatermark" : "hideWatermark"),
|
|
3859
|
+
t.classList.remove(e ? "hideWatermark" : "openWatermark"), t.classList.add(e ? "openWatermark" : "hideWatermark"), P.localSet(Nn, e);
|
|
3856
3860
|
},
|
|
3857
3861
|
// 设置左边侧栏
|
|
3858
3862
|
SA_LAYOUT_SLIDEBAR_SET(e) {
|
|
3859
3863
|
this.layoutSidebarState = e;
|
|
3860
3864
|
const t = document.querySelector("html");
|
|
3861
|
-
t.classList.remove(e == "off" ? "openSidebar" : "hideSidebar"), t.classList.add(e == "on" ? "openSidebar" : "hideSidebar"),
|
|
3865
|
+
t.classList.remove(e == "off" ? "openSidebar" : "hideSidebar"), t.classList.add(e == "on" ? "openSidebar" : "hideSidebar"), P.localSet(Nn, e);
|
|
3862
3866
|
},
|
|
3863
3867
|
// 设置上边nav
|
|
3864
3868
|
SA_LAYOUT_NAVTABS_SET(e) {
|
|
3865
3869
|
me.__POWERED_BY_QIANKUN__ && (e = "off"), this.layoutNavTabs = e;
|
|
3866
3870
|
const t = document.querySelector("html");
|
|
3867
|
-
t.classList.remove(e == "off" ? "openNavtabs" : "hideNavtabs"), t.classList.add(e == "on" ? "openNavtabs" : "hideNavtabs"), me.__POWERED_BY_QIANKUN__ ||
|
|
3871
|
+
t.classList.remove(e == "off" ? "openNavtabs" : "hideNavtabs"), t.classList.add(e == "on" ? "openNavtabs" : "hideNavtabs"), me.__POWERED_BY_QIANKUN__ || P.localSet(aa, e);
|
|
3868
3872
|
},
|
|
3869
3873
|
/**
|
|
3870
3874
|
* 设置主题
|
|
@@ -3900,7 +3904,7 @@ const Be = De("cloudSdkThemesStore", {
|
|
|
3900
3904
|
break;
|
|
3901
3905
|
}
|
|
3902
3906
|
const n = document.querySelector("html");
|
|
3903
|
-
n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName),
|
|
3907
|
+
n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName), P.localSet(ra, this.themesName);
|
|
3904
3908
|
}
|
|
3905
3909
|
}
|
|
3906
3910
|
});
|
|
@@ -3970,7 +3974,7 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
|
|
|
3970
3974
|
return this.winSizeName = this.SA_GET_SIZE_TYPE(), this.winSizeName;
|
|
3971
3975
|
}
|
|
3972
3976
|
}
|
|
3973
|
-
}),
|
|
3977
|
+
}), bt = "__system:keyboardConf__", On = "__syCacheApiFlag__", In = "__syCacheApiAuth__", oa = "__syCacheApiCode__", ia = "__syCacheApiKey__", la = "__syCacheSystemConfig__", fr = De("cloudSdkSystemStore", {
|
|
3974
3978
|
state: () => ({
|
|
3975
3979
|
// ServerUrl
|
|
3976
3980
|
cacheServerUrl: "",
|
|
@@ -4017,9 +4021,8 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
|
|
|
4017
4021
|
await gbIdbObj.idbSetItem("clientCacheVersion", this.clientCacheVersion), t !== this.clientCacheVersion ? await this.clear_cache() : await this.cache_read(), await this.__load_api_flag(), await this.__load_api_auth(), await this.__load_api_code(), await this.__load_api_key(), await this.__load_system_config(), this.SA_KEYBOARD_SET();
|
|
4018
4022
|
},
|
|
4019
4023
|
async clear_cache() {
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
D.localSet(Et, e), D.localDel(On), D.localDel(In);
|
|
4024
|
+
const e = P.localGet(bt);
|
|
4025
|
+
P.localSet(bt, e), await gbIdbObj.idbDelItem("clearCache"), await gbIdbObj.idbDelItem("clientCacheVersion"), await gbIdbObj.idbDelItem(On), await gbIdbObj.idbDelItem(In);
|
|
4023
4026
|
},
|
|
4024
4027
|
async cache_read() {
|
|
4025
4028
|
this.clientId = await gbIdbObj.idbGetString("clientId"), this.cacheServerUrl = await gbIdbObj.idbGetString("cacheServerUrl"), this.cacheServerUrl && (window.systemInfo.apiUrl = this.cacheServerUrl);
|
|
@@ -4067,10 +4070,10 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
|
|
|
4067
4070
|
*/
|
|
4068
4071
|
SA_KEYBOARD_SET(e) {
|
|
4069
4072
|
return new Promise((t) => {
|
|
4070
|
-
let n =
|
|
4071
|
-
n || (
|
|
4073
|
+
let n = P.localGet(bt);
|
|
4074
|
+
n || (P.localSet(bt, P.localGet("__keyboard:data__")), P.localDel("__keyboard:data__"));
|
|
4072
4075
|
const r = e || n || {};
|
|
4073
|
-
r.screenshot_key = (r.screenshot_key || "").trim().toLowerCase(), r.send_button_app = r.send_button_app || "button", r.send_button_desktop = r.send_button_desktop || "enter",
|
|
4076
|
+
r.screenshot_key = (r.screenshot_key || "").trim().toLowerCase(), r.send_button_app = r.send_button_app || "button", r.send_button_desktop = r.send_button_desktop || "enter", P.localSet(bt, r), this.cacheKeyboard = r, cvUtils.__cc_isElectron, t(r);
|
|
4074
4077
|
});
|
|
4075
4078
|
},
|
|
4076
4079
|
/**
|
|
@@ -4082,7 +4085,7 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
|
|
|
4082
4085
|
if (!cvUtils.strExists(e, "."))
|
|
4083
4086
|
return;
|
|
4084
4087
|
let n = "__ip" + e.substring(0, 1) + "__";
|
|
4085
|
-
const r =
|
|
4088
|
+
const r = P.localSet(n);
|
|
4086
4089
|
let a = cvUtils.strGetMiddle(e, "", "."), s = r[a] || e;
|
|
4087
4090
|
if (typeof s == "object") {
|
|
4088
4091
|
typeof t == "function" && t(s);
|
|
@@ -4092,7 +4095,7 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
|
|
|
4092
4095
|
keyId: s || e
|
|
4093
4096
|
};
|
|
4094
4097
|
fe.setTimeout(8e3).flagGet("BASE_SYS_COMMON_SYS_INFO", { ip: e }).then(() => {
|
|
4095
|
-
|
|
4098
|
+
P.localSet(n, o), typeof t == "function" && t(s);
|
|
4096
4099
|
});
|
|
4097
4100
|
}
|
|
4098
4101
|
}
|
|
@@ -4100,7 +4103,7 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
|
|
|
4100
4103
|
function Yn(e) {
|
|
4101
4104
|
return typeof e == "string" && e.trim() !== "" && e !== "undefined";
|
|
4102
4105
|
}
|
|
4103
|
-
const at = "syCacheAppInfo", Me = "syCacheAppToken",
|
|
4106
|
+
const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt = "syCacheAppRbac", ca = {
|
|
4104
4107
|
nickname: "",
|
|
4105
4108
|
staff_nickname: "",
|
|
4106
4109
|
id: 0,
|
|
@@ -4127,9 +4130,9 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4127
4130
|
// 权限
|
|
4128
4131
|
accountRbacData: [],
|
|
4129
4132
|
// 账号信息
|
|
4130
|
-
accountInfo:
|
|
4131
|
-
accountToken:
|
|
4132
|
-
accountJwt:
|
|
4133
|
+
accountInfo: P.localGet(at) || {},
|
|
4134
|
+
accountToken: P.localGet(Me) || "",
|
|
4135
|
+
accountJwt: P.localGet(St) || ""
|
|
4133
4136
|
}),
|
|
4134
4137
|
getters: {
|
|
4135
4138
|
cacheBizsId: (e) => {
|
|
@@ -4158,7 +4161,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4158
4161
|
actions: {
|
|
4159
4162
|
init() {
|
|
4160
4163
|
const e = cvUtils.urlGetParameterAll();
|
|
4161
|
-
e.token &&
|
|
4164
|
+
e.token && P.localSet("ACC_TOKEN_CACHE_KEY", e.token), this.SA_ACCOUNT_RBAC_REFRESH(), this.accountIsLogin ? this.SA_ACCOUNT_REFRESH() : this.SA_ACCOUNT_LOGOUT();
|
|
4162
4165
|
},
|
|
4163
4166
|
async clear_cache() {
|
|
4164
4167
|
this.ACCOUNT_SET_PREV();
|
|
@@ -4166,7 +4169,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4166
4169
|
async clear_all() {
|
|
4167
4170
|
},
|
|
4168
4171
|
SA_ACCOUNT_IS_LOGGED() {
|
|
4169
|
-
return this.accountToken =
|
|
4172
|
+
return this.accountToken = P.localGet(Me) || "", !!Yn(this.accountToken);
|
|
4170
4173
|
},
|
|
4171
4174
|
SA_ACCOUNT_JWT_GET() {
|
|
4172
4175
|
return this.accountJwt || "";
|
|
@@ -4175,7 +4178,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4175
4178
|
return this.accountToken || "";
|
|
4176
4179
|
},
|
|
4177
4180
|
SA_ACCOUNT_TOKEN_SET(e) {
|
|
4178
|
-
this.accountToken = e,
|
|
4181
|
+
this.accountToken = e, P.localSet(Me, this.accountToken);
|
|
4179
4182
|
},
|
|
4180
4183
|
/**
|
|
4181
4184
|
* 获取用户信息(并保存)
|
|
@@ -4183,7 +4186,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4183
4186
|
* @returns Object
|
|
4184
4187
|
*/
|
|
4185
4188
|
SA_ACCOUNT_INFO_GET() {
|
|
4186
|
-
return
|
|
4189
|
+
return P.localGet("accountInfo");
|
|
4187
4190
|
},
|
|
4188
4191
|
SA_ACCOUNT_INFO_REFRESH() {
|
|
4189
4192
|
return new Promise((e, t) => {
|
|
@@ -4205,28 +4208,28 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4205
4208
|
SA_ACCOUNT_INFO_SET(e) {
|
|
4206
4209
|
return new Promise(async (t) => {
|
|
4207
4210
|
const n = JSON.parse(JSON.stringify(e));
|
|
4208
|
-
this.accountInfo = this.SA_ACCOUNT_INFO_PARSE(n), this.accountToken = n.token_access, await gbIdbObj.idbSetItem("accountInfo", n),
|
|
4211
|
+
this.accountInfo = this.SA_ACCOUNT_INFO_PARSE(n), this.accountToken = n.token_access, await gbIdbObj.idbSetItem("accountInfo", n), P.localSet(at, this.accountInfo), t();
|
|
4209
4212
|
});
|
|
4210
4213
|
},
|
|
4211
4214
|
SA_ACCOUNT_GET_NICK() {
|
|
4212
4215
|
return this.account_nick;
|
|
4213
4216
|
},
|
|
4214
4217
|
SA_ACCOUNT_REFRESH() {
|
|
4215
|
-
this.accountInfo =
|
|
4218
|
+
this.accountInfo = P.localGet(at) || ca, this.accountToken = P.localGet(Me) || "", this.accountJwt = P.localGet(St) || "", fe.setDefHeaders({
|
|
4216
4219
|
syOpenAppToken: this.accountToken || "",
|
|
4217
4220
|
Authorization: "Bearer " + this.accountJwt || ""
|
|
4218
4221
|
});
|
|
4219
4222
|
},
|
|
4220
4223
|
// 登录
|
|
4221
4224
|
async SA_ACCOUNT_SIGNIN(e) {
|
|
4222
|
-
e = this.SA_ACCOUNT_INFO_PARSE(e),
|
|
4225
|
+
e = this.SA_ACCOUNT_INFO_PARSE(e), P.localSet(at, e), P.localSet(Me, e.token_access || ""), P.localSet(St, e.token_jwt || ""), P.localSet(vt, ""), this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), gbIdbObj.idbSave(Me, e.token_access || ""), Ot().QK_SEND_LOGIN_MSG();
|
|
4223
4226
|
},
|
|
4224
4227
|
/**
|
|
4225
4228
|
* 登出(打开登录页面)
|
|
4226
4229
|
* @param appendFrom
|
|
4227
4230
|
*/
|
|
4228
4231
|
SA_ACCOUNT_LOGOUT() {
|
|
4229
|
-
this.ACCOUNT_SET_PREV(),
|
|
4232
|
+
this.ACCOUNT_SET_PREV(), P.sessionClear(), P.localSet(at, ""), P.localSet(Me, ""), P.localSet(St, ""), P.localSet(vt, ""), P.localDel(at), P.localDel(Me), P.localDel(St), P.localDel(vt), this.SA_ACCOUNT_REFRESH(), Ot().QK_SEND_LOGOUT_MSG();
|
|
4230
4233
|
},
|
|
4231
4234
|
/**
|
|
4232
4235
|
* @param {Boolean} isForce 是否强制刷新
|
|
@@ -4234,9 +4237,9 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4234
4237
|
async SA_ACCOUNT_RBAC_REFRESH(e) {
|
|
4235
4238
|
return e = e || !1, new Promise(async (t) => {
|
|
4236
4239
|
if (this.accountToken) {
|
|
4237
|
-
let n =
|
|
4240
|
+
let n = P.localGet(vt) || "";
|
|
4238
4241
|
e && n == "" ? await fe.flagGet("ORG_SYS_BASE_MYRBAC", {}).then((r) => {
|
|
4239
|
-
r.status == 100600 ? this.SA_ACCOUNT_LOGOUT() : r.status == 200 && (
|
|
4242
|
+
r.status == 100600 ? this.SA_ACCOUNT_LOGOUT() : r.status == 200 && (P.localSet(vt, r.data || ""), t(r.data || ""));
|
|
4240
4243
|
}).catch(() => {
|
|
4241
4244
|
t("");
|
|
4242
4245
|
}) : t(n);
|
|
@@ -4273,7 +4276,7 @@ function cs(e) {
|
|
|
4273
4276
|
let t = Object.prototype.toString.call(e);
|
|
4274
4277
|
if (t != "[object String]" && t != "[object Array]")
|
|
4275
4278
|
return !1;
|
|
4276
|
-
let n =
|
|
4279
|
+
let n = P.localGet("syCacheAppRbac") || "";
|
|
4277
4280
|
if (t == "[object String]")
|
|
4278
4281
|
return Kt(e, n);
|
|
4279
4282
|
if (t === "[object Array]") {
|
|
@@ -4288,7 +4291,7 @@ function Kt(e, t) {
|
|
|
4288
4291
|
if (e = e || "", e = e.trim(), e == "")
|
|
4289
4292
|
return !1;
|
|
4290
4293
|
e.includes("@") || (e = `${Xl}@${e}`);
|
|
4291
|
-
let n = t ||
|
|
4294
|
+
let n = t || P.localGet("syCacheAppRbac") || "";
|
|
4292
4295
|
return n = n.trim(), Yn(n) ? n == '"all@all"' || n == "all@all" ? !0 : n.split(",").map((a) => a.trim()).includes(e) : !1;
|
|
4293
4296
|
}
|
|
4294
4297
|
const Zt = De("cloudSdkProductStore", {
|
|
@@ -4297,7 +4300,7 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4297
4300
|
* 默认应用信息
|
|
4298
4301
|
*/
|
|
4299
4302
|
defaultProductInfo: {
|
|
4300
|
-
info_title:
|
|
4303
|
+
info_title: Tt().syProductTitle || "ShiyunProduct",
|
|
4301
4304
|
info_logo: "",
|
|
4302
4305
|
info_version: "v1.25.xxxx"
|
|
4303
4306
|
// 版本
|
|
@@ -4348,7 +4351,7 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4348
4351
|
}
|
|
4349
4352
|
return i;
|
|
4350
4353
|
}
|
|
4351
|
-
let n = JSON.parse(JSON.stringify(this.menuOriginal)), r =
|
|
4354
|
+
let n = JSON.parse(JSON.stringify(this.menuOriginal)), r = P.localGet("syCacheAppRbac") || "", a = t(n, r);
|
|
4352
4355
|
return this.menuOpeneds = e, this.menuOnly = a, a;
|
|
4353
4356
|
},
|
|
4354
4357
|
// 获取菜单
|
|
@@ -4362,7 +4365,7 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4362
4365
|
isAlone: !0,
|
|
4363
4366
|
name: "login",
|
|
4364
4367
|
path: "/login",
|
|
4365
|
-
component: () => import("./login-
|
|
4368
|
+
component: () => import("./login-BX16RcPj.js")
|
|
4366
4369
|
}
|
|
4367
4370
|
], Jl = [
|
|
4368
4371
|
{
|
|
@@ -4370,14 +4373,14 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4370
4373
|
isAlone: !0,
|
|
4371
4374
|
name: "alone_run",
|
|
4372
4375
|
path: "/alone_run",
|
|
4373
|
-
component: () => import("./alone_run-
|
|
4376
|
+
component: () => import("./alone_run-t8_0-4FT.js")
|
|
4374
4377
|
},
|
|
4375
4378
|
{
|
|
4376
4379
|
meta: { title: "错误", isAlone: !0 },
|
|
4377
4380
|
isAlone: !0,
|
|
4378
4381
|
name: "404",
|
|
4379
4382
|
path: "/:catchAll(.*)",
|
|
4380
|
-
component: () => import("./404-
|
|
4383
|
+
component: () => import("./404-BLkrv3w1.js")
|
|
4381
4384
|
}
|
|
4382
4385
|
], zl = [
|
|
4383
4386
|
{
|
|
@@ -4385,7 +4388,7 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4385
4388
|
isAlone: !1,
|
|
4386
4389
|
name: "none",
|
|
4387
4390
|
path: "/none",
|
|
4388
|
-
component: () => import("./none-
|
|
4391
|
+
component: () => import("./none-Dalhv2Tk.js")
|
|
4389
4392
|
}
|
|
4390
4393
|
], en = De("cloudSdkPermissionStore", {
|
|
4391
4394
|
state: () => ({
|
|
@@ -4395,7 +4398,7 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4395
4398
|
// 窗口刷新
|
|
4396
4399
|
routeAlive: 0,
|
|
4397
4400
|
// 权限列表
|
|
4398
|
-
rbacLastStr:
|
|
4401
|
+
rbacLastStr: P.localGet("syCacheAppRbac") || "",
|
|
4399
4402
|
rbacArr: []
|
|
4400
4403
|
}),
|
|
4401
4404
|
actions: {
|
|
@@ -4436,7 +4439,7 @@ const Zt = De("cloudSdkProductStore", {
|
|
|
4436
4439
|
"org-agent": "代理商平台",
|
|
4437
4440
|
"org-admin": "超管平台"
|
|
4438
4441
|
};
|
|
4439
|
-
let Zl = fa[
|
|
4442
|
+
let Zl = fa[Tt().syAppConnectRole] ? fa[Tt().syAppConnectRole] : "管理系统";
|
|
4440
4443
|
const ec = De("cloudSdkApplicationStore", {
|
|
4441
4444
|
state: () => ({
|
|
4442
4445
|
/**
|
|
@@ -4470,7 +4473,7 @@ const ec = De("cloudSdkApplicationStore", {
|
|
|
4470
4473
|
});
|
|
4471
4474
|
function tc() {
|
|
4472
4475
|
return new Promise(async (e) => {
|
|
4473
|
-
|
|
4476
|
+
Pt().clear_cache(), Be().clear_cache(), fr().clear_cache(), Te().clear_cache(), Zt().clear_cache(), window.gbIdbObj.idbSetItem("clear_cache", "handle").then((t) => {
|
|
4474
4477
|
e();
|
|
4475
4478
|
});
|
|
4476
4479
|
});
|
|
@@ -4478,8 +4481,8 @@ function tc() {
|
|
|
4478
4481
|
function nc() {
|
|
4479
4482
|
return {
|
|
4480
4483
|
computed: {
|
|
4481
|
-
...Le(
|
|
4482
|
-
...Le(
|
|
4484
|
+
...Le(Ot, ["qiankunExistState"]),
|
|
4485
|
+
...Le(Pt, ["languageName", "languageList", "languageSelect"]),
|
|
4483
4486
|
...Le(Be, ["themesName", "themesList", "layoutNavTabs", "layoutSidebarState"]),
|
|
4484
4487
|
...Le(is, [
|
|
4485
4488
|
"windowWidth",
|
|
@@ -4550,7 +4553,7 @@ const Re = (e, t) => {
|
|
|
4550
4553
|
Be().SA_THEMES_SET(e);
|
|
4551
4554
|
},
|
|
4552
4555
|
frameSysLanguage(e) {
|
|
4553
|
-
|
|
4556
|
+
Pt().SA_LANGUAGE_SET(e);
|
|
4554
4557
|
},
|
|
4555
4558
|
frameSidebarState(e) {
|
|
4556
4559
|
Be().SA_LAYOUT_SLIDEBAR_SET(e);
|
|
@@ -4586,19 +4589,19 @@ function oc(e, t, n, r, a, s) {
|
|
|
4586
4589
|
size: "450px",
|
|
4587
4590
|
"before-close": s.frameTopSysSettClose
|
|
4588
4591
|
}, {
|
|
4589
|
-
default:
|
|
4590
|
-
|
|
4592
|
+
default: D(() => [
|
|
4593
|
+
k("div", ac, [
|
|
4591
4594
|
w(p, {
|
|
4592
4595
|
labelWidth: "auto",
|
|
4593
4596
|
"label-position": "left"
|
|
4594
4597
|
}, {
|
|
4595
|
-
default:
|
|
4598
|
+
default: D(() => [
|
|
4596
4599
|
w(i, {
|
|
4597
4600
|
label: "风格",
|
|
4598
4601
|
"label-position": "top"
|
|
4599
4602
|
}, {
|
|
4600
|
-
default:
|
|
4601
|
-
|
|
4603
|
+
default: D(() => [
|
|
4604
|
+
k("div", sc, [
|
|
4602
4605
|
w(o),
|
|
4603
4606
|
w(o),
|
|
4604
4607
|
w(o)
|
|
@@ -4607,20 +4610,20 @@ function oc(e, t, n, r, a, s) {
|
|
|
4607
4610
|
_: 1
|
|
4608
4611
|
}),
|
|
4609
4612
|
w(i, { label: "主题" }, {
|
|
4610
|
-
default:
|
|
4613
|
+
default: D(() => [
|
|
4611
4614
|
w(c, {
|
|
4612
4615
|
modelValue: a.frameSysTheme,
|
|
4613
4616
|
"onUpdate:modelValue": t[0] || (t[0] = (E) => a.frameSysTheme = E),
|
|
4614
4617
|
placeholder: e.$t("选项主题"),
|
|
4615
4618
|
style: { width: "150px" }
|
|
4616
4619
|
}, {
|
|
4617
|
-
default:
|
|
4620
|
+
default: D(() => [
|
|
4618
4621
|
(U(!0), Q(he, null, Xe(e.themesList, (E, C) => (U(), J(l, {
|
|
4619
4622
|
label: e.$t(E.name),
|
|
4620
4623
|
value: E.value,
|
|
4621
4624
|
key: C
|
|
4622
4625
|
}, {
|
|
4623
|
-
default:
|
|
4626
|
+
default: D(() => [
|
|
4624
4627
|
te(ne(e.$t(E.name)), 1)
|
|
4625
4628
|
]),
|
|
4626
4629
|
_: 2
|
|
@@ -4632,13 +4635,13 @@ function oc(e, t, n, r, a, s) {
|
|
|
4632
4635
|
_: 1
|
|
4633
4636
|
}),
|
|
4634
4637
|
w(i, { label: "暗黑模式" }, {
|
|
4635
|
-
default:
|
|
4638
|
+
default: D(() => [
|
|
4636
4639
|
a.frameSysTheme == "light" ? (U(), J(u, {
|
|
4637
4640
|
key: 0,
|
|
4638
4641
|
onClick: t[1] || (t[1] = (E) => a.frameSysTheme = "dark"),
|
|
4639
4642
|
class: "light-switch"
|
|
4640
4643
|
}, {
|
|
4641
|
-
default:
|
|
4644
|
+
default: D(() => [
|
|
4642
4645
|
w(f, { type: "cvSvgViewModeDark" })
|
|
4643
4646
|
]),
|
|
4644
4647
|
_: 1
|
|
@@ -4648,7 +4651,7 @@ function oc(e, t, n, r, a, s) {
|
|
|
4648
4651
|
onClick: t[2] || (t[2] = (E) => a.frameSysTheme = "light"),
|
|
4649
4652
|
class: "dark-switch"
|
|
4650
4653
|
}, {
|
|
4651
|
-
default:
|
|
4654
|
+
default: D(() => [
|
|
4652
4655
|
w(f, { type: "cvSvgViewModeLight" })
|
|
4653
4656
|
]),
|
|
4654
4657
|
_: 1
|
|
@@ -4657,7 +4660,7 @@ function oc(e, t, n, r, a, s) {
|
|
|
4657
4660
|
_: 1
|
|
4658
4661
|
}),
|
|
4659
4662
|
w(i, { label: "侧栏显示" }, {
|
|
4660
|
-
default:
|
|
4663
|
+
default: D(() => [
|
|
4661
4664
|
w(m, {
|
|
4662
4665
|
modelValue: a.frameSidebarState,
|
|
4663
4666
|
"onUpdate:modelValue": t[3] || (t[3] = (E) => a.frameSidebarState = E),
|
|
@@ -4670,7 +4673,7 @@ function oc(e, t, n, r, a, s) {
|
|
|
4670
4673
|
_: 1
|
|
4671
4674
|
}),
|
|
4672
4675
|
w(i, { label: "导航标签栏" }, {
|
|
4673
|
-
default:
|
|
4676
|
+
default: D(() => [
|
|
4674
4677
|
w(m, {
|
|
4675
4678
|
modelValue: a.frameSysNavTabs,
|
|
4676
4679
|
"onUpdate:modelValue": t[4] || (t[4] = (E) => a.frameSysNavTabs = E),
|
|
@@ -4683,19 +4686,19 @@ function oc(e, t, n, r, a, s) {
|
|
|
4683
4686
|
_: 1
|
|
4684
4687
|
}),
|
|
4685
4688
|
w(i, { label: "语言" }, {
|
|
4686
|
-
default:
|
|
4689
|
+
default: D(() => [
|
|
4687
4690
|
w(c, {
|
|
4688
4691
|
modelValue: a.frameSysLanguage,
|
|
4689
4692
|
"onUpdate:modelValue": t[5] || (t[5] = (E) => a.frameSysLanguage = E),
|
|
4690
4693
|
placeholder: e.$t("选项语言"),
|
|
4691
4694
|
style: { width: "150px" }
|
|
4692
4695
|
}, {
|
|
4693
|
-
default:
|
|
4696
|
+
default: D(() => [
|
|
4694
4697
|
(U(!0), Q(he, null, Xe(e.languageSelect, (E, C) => (U(), J(l, {
|
|
4695
4698
|
label: E.label,
|
|
4696
4699
|
value: E.value
|
|
4697
4700
|
}, {
|
|
4698
|
-
default:
|
|
4701
|
+
default: D(() => [
|
|
4699
4702
|
te(ne(E.label), 1)
|
|
4700
4703
|
]),
|
|
4701
4704
|
_: 2
|
|
@@ -4707,9 +4710,9 @@ function oc(e, t, n, r, a, s) {
|
|
|
4707
4710
|
_: 1
|
|
4708
4711
|
}),
|
|
4709
4712
|
w(i, { label: "版本" }, {
|
|
4710
|
-
default:
|
|
4713
|
+
default: D(() => [
|
|
4711
4714
|
w(u, { onClick: s.frameUpdateVersion }, {
|
|
4712
|
-
default:
|
|
4715
|
+
default: D(() => [
|
|
4713
4716
|
te(ne(e.$t("更新版本")), 1)
|
|
4714
4717
|
]),
|
|
4715
4718
|
_: 1
|
|
@@ -4718,9 +4721,9 @@ function oc(e, t, n, r, a, s) {
|
|
|
4718
4721
|
_: 1
|
|
4719
4722
|
}),
|
|
4720
4723
|
w(i, { label: "缓存" }, {
|
|
4721
|
-
default:
|
|
4724
|
+
default: D(() => [
|
|
4722
4725
|
w(u, { onClick: s.frameClearCache }, {
|
|
4723
|
-
default:
|
|
4726
|
+
default: D(() => [
|
|
4724
4727
|
te(ne(e.$t("清除缓存")), 1)
|
|
4725
4728
|
]),
|
|
4726
4729
|
_: 1
|
|
@@ -4761,13 +4764,13 @@ const ic = /* @__PURE__ */ Re(rc, [["render", oc]]), lc = {
|
|
|
4761
4764
|
function cc(e, t, n, r, a, s) {
|
|
4762
4765
|
const o = B("router-view");
|
|
4763
4766
|
return U(), J(o, { key: a.routeRefreshNum }, {
|
|
4764
|
-
default:
|
|
4767
|
+
default: D(({ Component: i, route: l }) => [
|
|
4765
4768
|
w(xs, {
|
|
4766
4769
|
name: a.routeRefreshAnimation,
|
|
4767
4770
|
mode: "out-in",
|
|
4768
4771
|
appear: ""
|
|
4769
4772
|
}, {
|
|
4770
|
-
default:
|
|
4773
|
+
default: D(() => [
|
|
4771
4774
|
(U(), Q("div", {
|
|
4772
4775
|
class: va(n.className),
|
|
4773
4776
|
key: l.path
|
|
@@ -4907,20 +4910,20 @@ const uc = /* @__PURE__ */ Re(lc, [["render", cc]]), _a = (e) => Math.pow(e, 3),
|
|
|
4907
4910
|
function pc(e, t, n, r, a, s) {
|
|
4908
4911
|
const o = B("cv-icons"), i = B("cv-btn-base"), l = B("el-tag"), c = B("el-scrollbar"), f = B("cv-btn-text");
|
|
4909
4912
|
return U(), Q("div", dc, [
|
|
4910
|
-
|
|
4913
|
+
k("div", mc, [
|
|
4911
4914
|
w(i, {
|
|
4912
4915
|
class: "btn-opt-left",
|
|
4913
4916
|
onClick: s.changeGdtLeft
|
|
4914
4917
|
}, {
|
|
4915
|
-
default:
|
|
4918
|
+
default: D(() => [
|
|
4916
4919
|
w(o, { type: "ElIconArrowLeft" })
|
|
4917
4920
|
]),
|
|
4918
4921
|
_: 1
|
|
4919
4922
|
}, 8, ["onClick"]),
|
|
4920
|
-
|
|
4923
|
+
k("div", hc, [
|
|
4921
4924
|
w(c, { ref: "navScroll1" }, {
|
|
4922
|
-
default:
|
|
4923
|
-
|
|
4925
|
+
default: D(() => [
|
|
4926
|
+
k("div", gc, [
|
|
4924
4927
|
(U(!0), Q(he, null, Xe(a.sett_tags, (u, m) => (U(), J(l, {
|
|
4925
4928
|
id: a.activeTag == u.name ? "tagId" : "",
|
|
4926
4929
|
class: va(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
|
|
@@ -4931,7 +4934,7 @@ function pc(e, t, n, r, a, s) {
|
|
|
4931
4934
|
"disable-transitions": "",
|
|
4932
4935
|
onContextmenu: Gs(s.openContextMenu, ["prevent"])
|
|
4933
4936
|
}, {
|
|
4934
|
-
default:
|
|
4937
|
+
default: D(() => [
|
|
4935
4938
|
te(ne(u.title), 1)
|
|
4936
4939
|
]),
|
|
4937
4940
|
_: 2
|
|
@@ -4945,72 +4948,72 @@ function pc(e, t, n, r, a, s) {
|
|
|
4945
4948
|
class: "btn-opt-right",
|
|
4946
4949
|
onClick: s.changeGdtRight
|
|
4947
4950
|
}, {
|
|
4948
|
-
default:
|
|
4951
|
+
default: D(() => [
|
|
4949
4952
|
w(o, { type: "ElIconArrowRight" })
|
|
4950
4953
|
]),
|
|
4951
4954
|
_: 1
|
|
4952
4955
|
}, 8, ["onClick"]),
|
|
4953
4956
|
w(i, { class: "btn-opt-close" }, {
|
|
4954
|
-
default:
|
|
4957
|
+
default: D(() => [
|
|
4955
4958
|
t[5] || (t[5] = te(" 关闭操作 ")),
|
|
4956
4959
|
w(o, { type: "ElIconCaretBottom" })
|
|
4957
4960
|
]),
|
|
4958
4961
|
_: 1
|
|
4959
4962
|
}),
|
|
4960
|
-
Aa(
|
|
4963
|
+
Aa(k("div", {
|
|
4961
4964
|
class: "cloud-navtabs__contextmenu",
|
|
4962
4965
|
style: Dn(a.contextMenuStyle)
|
|
4963
4966
|
}, [
|
|
4964
|
-
|
|
4967
|
+
k("ul", {
|
|
4965
4968
|
style: Dn({ left: a.left + "px", top: a.top + "px" })
|
|
4966
4969
|
}, [
|
|
4967
|
-
|
|
4970
|
+
k("li", null, [
|
|
4968
4971
|
w(f, {
|
|
4969
4972
|
onClick: t[0] || (t[0] = (u) => s.curTabReload())
|
|
4970
4973
|
}, {
|
|
4971
|
-
default:
|
|
4974
|
+
default: D(() => t[6] || (t[6] = [
|
|
4972
4975
|
te("重新加载")
|
|
4973
4976
|
])),
|
|
4974
4977
|
_: 1
|
|
4975
4978
|
})
|
|
4976
4979
|
]),
|
|
4977
|
-
|
|
4980
|
+
k("li", null, [
|
|
4978
4981
|
w(f, {
|
|
4979
4982
|
onClick: t[1] || (t[1] = (u) => s.closeAllTabs())
|
|
4980
4983
|
}, {
|
|
4981
|
-
default:
|
|
4984
|
+
default: D(() => t[7] || (t[7] = [
|
|
4982
4985
|
te("关闭所有")
|
|
4983
4986
|
])),
|
|
4984
4987
|
_: 1
|
|
4985
4988
|
})
|
|
4986
4989
|
]),
|
|
4987
|
-
|
|
4990
|
+
k("li", null, [
|
|
4988
4991
|
w(f, {
|
|
4989
4992
|
onClick: t[2] || (t[2] = (u) => s.closeOtherTabs("left")),
|
|
4990
4993
|
disabled: a.isDisabledCloseLeftBtnFlag
|
|
4991
4994
|
}, {
|
|
4992
|
-
default:
|
|
4995
|
+
default: D(() => t[8] || (t[8] = [
|
|
4993
4996
|
te("关闭左边")
|
|
4994
4997
|
])),
|
|
4995
4998
|
_: 1
|
|
4996
4999
|
}, 8, ["disabled"])
|
|
4997
5000
|
]),
|
|
4998
|
-
|
|
5001
|
+
k("li", null, [
|
|
4999
5002
|
w(f, {
|
|
5000
5003
|
onClick: t[3] || (t[3] = (u) => s.closeOtherTabs("right")),
|
|
5001
5004
|
disabled: a.isDisabledCloseRightBtnFlag
|
|
5002
5005
|
}, {
|
|
5003
|
-
default:
|
|
5006
|
+
default: D(() => t[9] || (t[9] = [
|
|
5004
5007
|
te("关闭右边")
|
|
5005
5008
|
])),
|
|
5006
5009
|
_: 1
|
|
5007
5010
|
}, 8, ["disabled"])
|
|
5008
5011
|
]),
|
|
5009
|
-
|
|
5012
|
+
k("li", null, [
|
|
5010
5013
|
w(f, {
|
|
5011
5014
|
onClick: t[4] || (t[4] = (u) => s.closeOtherTabs("other"))
|
|
5012
5015
|
}, {
|
|
5013
|
-
default:
|
|
5016
|
+
default: D(() => t[10] || (t[10] = [
|
|
5014
5017
|
te("关闭其他")
|
|
5015
5018
|
])),
|
|
5016
5019
|
_: 1
|
|
@@ -5083,8 +5086,8 @@ function Nc(e, t, n, r, a, s) {
|
|
|
5083
5086
|
key: u.name,
|
|
5084
5087
|
index: u.name
|
|
5085
5088
|
}, {
|
|
5086
|
-
title:
|
|
5087
|
-
|
|
5089
|
+
title: D(() => [
|
|
5090
|
+
k("div", Sc, [
|
|
5088
5091
|
u.meta.icon ? (U(), J(o, {
|
|
5089
5092
|
key: 0,
|
|
5090
5093
|
type: u.meta.icon,
|
|
@@ -5092,9 +5095,9 @@ function Nc(e, t, n, r, a, s) {
|
|
|
5092
5095
|
}, null, 8, ["type"])) : ue("", !0),
|
|
5093
5096
|
!u.meta.icon && n.collapse ? (U(), Q("span", vc, ne(u.meta.short || u.meta.title), 1)) : ue("", !0)
|
|
5094
5097
|
]),
|
|
5095
|
-
|
|
5098
|
+
k("span", null, ne(u.meta.title || u.meta.short), 1)
|
|
5096
5099
|
]),
|
|
5097
|
-
default:
|
|
5100
|
+
default: D(() => [
|
|
5098
5101
|
w(i, {
|
|
5099
5102
|
appData: n.appData,
|
|
5100
5103
|
menuData: u.children,
|
|
@@ -5108,10 +5111,10 @@ function Nc(e, t, n, r, a, s) {
|
|
|
5108
5111
|
key: "b" + u.name,
|
|
5109
5112
|
onClick: (m) => s.handleOpenMenu(u)
|
|
5110
5113
|
}, {
|
|
5111
|
-
title:
|
|
5114
|
+
title: D(() => [
|
|
5112
5115
|
te(ne(u.meta.short || u.meta.title), 1)
|
|
5113
5116
|
]),
|
|
5114
|
-
default:
|
|
5117
|
+
default: D(() => [
|
|
5115
5118
|
!u.meta.icon && n.collapse && !n.isChildren ? (U(), Q("div", Ac, ne(u.meta.short || u.meta.title), 1)) : (U(), Q("div", yc, [
|
|
5116
5119
|
u.meta.icon ? (U(), J(o, {
|
|
5117
5120
|
key: 0,
|
|
@@ -5183,8 +5186,8 @@ const Tc = /* @__PURE__ */ Re(bc, [["render", Nc]]), Oc = {
|
|
|
5183
5186
|
function wc(e, t, n, r, a, s) {
|
|
5184
5187
|
const o = B("SidebarMenuItem"), i = B("el-menu");
|
|
5185
5188
|
return U(), Q("div", Ic, [
|
|
5186
|
-
|
|
5187
|
-
|
|
5189
|
+
k("div", Cc, ne(e.openProductInfo.info_title), 1),
|
|
5190
|
+
k("div", Lc, [
|
|
5188
5191
|
w(i, {
|
|
5189
5192
|
collapse: n.collapse,
|
|
5190
5193
|
"default-openeds": a.menuDefaultOpeneds,
|
|
@@ -5192,7 +5195,7 @@ function wc(e, t, n, r, a, s) {
|
|
|
5192
5195
|
onOpen: s.handleOpen,
|
|
5193
5196
|
onClose: s.handleClose
|
|
5194
5197
|
}, {
|
|
5195
|
-
default:
|
|
5198
|
+
default: D(() => [
|
|
5196
5199
|
w(o, {
|
|
5197
5200
|
appData: e.openProductInfo,
|
|
5198
5201
|
menuData: a.menuCurrList,
|
|
@@ -5265,10 +5268,10 @@ function Pc(e, t, n, r, a, s) {
|
|
|
5265
5268
|
title: "修改密码",
|
|
5266
5269
|
onClose: s.handleCancel
|
|
5267
5270
|
}, {
|
|
5268
|
-
footer:
|
|
5269
|
-
|
|
5271
|
+
footer: D(() => [
|
|
5272
|
+
k("div", kc, [
|
|
5270
5273
|
w(c, { onClick: s.handleCancel }, {
|
|
5271
|
-
default:
|
|
5274
|
+
default: D(() => t[4] || (t[4] = [
|
|
5272
5275
|
te("取 消")
|
|
5273
5276
|
])),
|
|
5274
5277
|
_: 1
|
|
@@ -5277,24 +5280,24 @@ function Pc(e, t, n, r, a, s) {
|
|
|
5277
5280
|
type: "primary",
|
|
5278
5281
|
onClick: s.handleBeforeOk
|
|
5279
5282
|
}, {
|
|
5280
|
-
default:
|
|
5283
|
+
default: D(() => t[5] || (t[5] = [
|
|
5281
5284
|
te("确 定")
|
|
5282
5285
|
])),
|
|
5283
5286
|
_: 1
|
|
5284
5287
|
}, 8, ["onClick"])
|
|
5285
5288
|
])
|
|
5286
5289
|
]),
|
|
5287
|
-
default:
|
|
5290
|
+
default: D(() => [
|
|
5288
5291
|
w(l, {
|
|
5289
5292
|
model: a.formData,
|
|
5290
5293
|
"label-width": "auto"
|
|
5291
5294
|
}, {
|
|
5292
|
-
default:
|
|
5295
|
+
default: D(() => [
|
|
5293
5296
|
w(i, {
|
|
5294
5297
|
prop: "old_pwd",
|
|
5295
5298
|
label: "原密码"
|
|
5296
5299
|
}, {
|
|
5297
|
-
default:
|
|
5300
|
+
default: D(() => [
|
|
5298
5301
|
w(o, {
|
|
5299
5302
|
type: "password",
|
|
5300
5303
|
"show-password": "",
|
|
@@ -5308,7 +5311,7 @@ function Pc(e, t, n, r, a, s) {
|
|
|
5308
5311
|
prop: "new_pwd1",
|
|
5309
5312
|
label: "新密码"
|
|
5310
5313
|
}, {
|
|
5311
|
-
default:
|
|
5314
|
+
default: D(() => [
|
|
5312
5315
|
w(o, {
|
|
5313
5316
|
type: "password",
|
|
5314
5317
|
"show-password": "",
|
|
@@ -5322,7 +5325,7 @@ function Pc(e, t, n, r, a, s) {
|
|
|
5322
5325
|
prop: "new_pwd2",
|
|
5323
5326
|
label: "确认密码"
|
|
5324
5327
|
}, {
|
|
5325
|
-
default:
|
|
5328
|
+
default: D(() => [
|
|
5326
5329
|
w(o, {
|
|
5327
5330
|
type: "password",
|
|
5328
5331
|
"show-password": "",
|
|
@@ -5427,17 +5430,17 @@ const Fc = /* @__PURE__ */ Re(Rc, [["render", Pc]]), Mc = {
|
|
|
5427
5430
|
function zc(e, t, n, r, a, s) {
|
|
5428
5431
|
const o = B("el-input"), i = B("el-button"), l = B("cv-icons");
|
|
5429
5432
|
return U(), Q("div", Uc, [
|
|
5430
|
-
|
|
5431
|
-
|
|
5433
|
+
k("div", Bc, [
|
|
5434
|
+
k("div", {
|
|
5432
5435
|
class: "cloud-login-change-reset",
|
|
5433
5436
|
onClick: t[0] || (t[0] = (...c) => s.chainReselection && s.chainReselection(...c))
|
|
5434
5437
|
}, ne(n.reselectTitle), 1),
|
|
5435
|
-
t[3] || (t[3] =
|
|
5436
|
-
t[4] || (t[4] =
|
|
5437
|
-
|
|
5438
|
-
|
|
5438
|
+
t[3] || (t[3] = k("div", { class: "cloud-login-change-title" }, "选择商户", -1)),
|
|
5439
|
+
t[4] || (t[4] = k("div", { class: "cloud-login-change-desc" }, [
|
|
5440
|
+
k("p", null, "为规范平台操作、统一平台账号;以便后续提供更多的功能体验;"),
|
|
5441
|
+
k("p", null, "后续商户人员(含管理员)登录,需进一步通过 短信 或 扫码 进行验证。")
|
|
5439
5442
|
], -1)),
|
|
5440
|
-
|
|
5443
|
+
k("div", xc, [
|
|
5441
5444
|
w(o, {
|
|
5442
5445
|
modelValue: a.chainKeyword,
|
|
5443
5446
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => a.chainKeyword = c),
|
|
@@ -5451,37 +5454,37 @@ function zc(e, t, n, r, a, s) {
|
|
|
5451
5454
|
size: "large",
|
|
5452
5455
|
onClick: s.handleSearch
|
|
5453
5456
|
}, {
|
|
5454
|
-
default:
|
|
5457
|
+
default: D(() => t[2] || (t[2] = [
|
|
5455
5458
|
te("搜索")
|
|
5456
5459
|
])),
|
|
5457
5460
|
_: 1
|
|
5458
5461
|
}, 8, ["onClick"])
|
|
5459
5462
|
]),
|
|
5460
|
-
|
|
5461
|
-
|
|
5463
|
+
k("div", Vc, [
|
|
5464
|
+
k("div", Gc, [
|
|
5462
5465
|
(U(!0), Q(he, null, Xe(a.chainLastList, (c, f) => (U(), Q("div", {
|
|
5463
5466
|
class: "cloud-login-change-group-item",
|
|
5464
5467
|
key: f
|
|
5465
5468
|
}, [
|
|
5466
|
-
|
|
5467
|
-
|
|
5469
|
+
k("div", $c, ne(c.title || "无") + "(" + ne(c.total) + ")", 1),
|
|
5470
|
+
k("div", Wc, [
|
|
5468
5471
|
(U(!0), Q(he, null, Xe(c.list, (u, m) => (U(), Q("div", {
|
|
5469
5472
|
class: "cloud-login-change-item-bao",
|
|
5470
5473
|
key: m,
|
|
5471
5474
|
onClick: (p) => s.chainSelection(u)
|
|
5472
5475
|
}, [
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
+
k("div", Hc, [
|
|
5477
|
+
k("div", Kc, [
|
|
5478
|
+
k("img", {
|
|
5476
5479
|
src: u.business_icon_cdn
|
|
5477
5480
|
}, null, 8, jc)
|
|
5478
5481
|
])
|
|
5479
5482
|
]),
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
+
k("div", qc, [
|
|
5484
|
+
k("div", Xc, ne(u.business_name), 1),
|
|
5485
|
+
k("div", Qc, "【" + ne(u.acc_role_type_str) + "】", 1)
|
|
5483
5486
|
]),
|
|
5484
|
-
|
|
5487
|
+
k("div", Jc, [
|
|
5485
5488
|
w(l, { type: "ElIconArrowRight" })
|
|
5486
5489
|
])
|
|
5487
5490
|
], 8, Yc))), 128))
|
|
@@ -5647,18 +5650,18 @@ const Zc = /* @__PURE__ */ Re(Mc, [["render", zc]]), eu = {
|
|
|
5647
5650
|
function hu(e, t, n, r, a, s) {
|
|
5648
5651
|
const o = B("cv-icons"), i = B("el-breadcrumb-item"), l = B("el-breadcrumb"), c = B("el-dropdown-item"), f = B("el-dropdown-menu"), u = B("el-dropdown"), m = B("SidebarMenuBox"), p = B("SameNavTabs"), A = B("SameRouteView"), E = B("HeaderSysSettDrawer"), C = B("ChangePassword"), h = B("SwitchBusiness");
|
|
5649
5652
|
return U(), Q("div", tu, [
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5653
|
+
k("header", nu, [
|
|
5654
|
+
k("div", ru, [
|
|
5655
|
+
k("a", au, [
|
|
5656
|
+
k("img", {
|
|
5654
5657
|
class: "cloud-header__logo-img",
|
|
5655
5658
|
src: e.openCaseInfo.platinfo_logo,
|
|
5656
5659
|
alt: ""
|
|
5657
5660
|
}, null, 8, su)
|
|
5658
5661
|
]),
|
|
5659
|
-
|
|
5662
|
+
k("div", ou, ne(e.openCaseInfo.platinfo_title), 1)
|
|
5660
5663
|
]),
|
|
5661
|
-
|
|
5664
|
+
k("div", {
|
|
5662
5665
|
class: "cloud-header__opt",
|
|
5663
5666
|
onClick: t[0] || (t[0] = (...g) => s.frameSwicthMenu && s.frameSwicthMenu(...g))
|
|
5664
5667
|
}, [
|
|
@@ -5673,7 +5676,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5673
5676
|
size: "20"
|
|
5674
5677
|
})) : ue("", !0)
|
|
5675
5678
|
]),
|
|
5676
|
-
|
|
5679
|
+
k("div", {
|
|
5677
5680
|
class: "cloud-header__opt",
|
|
5678
5681
|
onClick: t[1] || (t[1] = (...g) => s.framePageRefresh && s.framePageRefresh(...g))
|
|
5679
5682
|
}, [
|
|
@@ -5682,15 +5685,15 @@ function hu(e, t, n, r, a, s) {
|
|
|
5682
5685
|
size: "20"
|
|
5683
5686
|
})
|
|
5684
5687
|
]),
|
|
5685
|
-
|
|
5688
|
+
k("div", iu, [
|
|
5686
5689
|
w(l, { separator: "/" }, {
|
|
5687
|
-
default:
|
|
5690
|
+
default: D(() => [
|
|
5688
5691
|
(U(!0), Q(he, null, Xe(a.breadcrumbPath, (g, N) => (U(), Q(he, null, [
|
|
5689
5692
|
N == a.breadcrumbPath.length - 1 || !g.path || g.path == "" ? (U(), J(i, {
|
|
5690
5693
|
key: N,
|
|
5691
5694
|
class: "no-redirect"
|
|
5692
5695
|
}, {
|
|
5693
|
-
default:
|
|
5696
|
+
default: D(() => [
|
|
5694
5697
|
te(ne(g.title), 1)
|
|
5695
5698
|
]),
|
|
5696
5699
|
_: 2
|
|
@@ -5698,7 +5701,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5698
5701
|
key: "b" + N,
|
|
5699
5702
|
to: { path: g.path }
|
|
5700
5703
|
}, {
|
|
5701
|
-
default:
|
|
5704
|
+
default: D(() => [
|
|
5702
5705
|
te(ne(g.title), 1)
|
|
5703
5706
|
]),
|
|
5704
5707
|
_: 2
|
|
@@ -5708,8 +5711,8 @@ function hu(e, t, n, r, a, s) {
|
|
|
5708
5711
|
_: 1
|
|
5709
5712
|
})
|
|
5710
5713
|
]),
|
|
5711
|
-
t[13] || (t[13] =
|
|
5712
|
-
|
|
5714
|
+
t[13] || (t[13] = k("div", { class: "cloud-header__seat" }, null, -1)),
|
|
5715
|
+
k("div", {
|
|
5713
5716
|
class: "cloud-header__opt chopt-relative",
|
|
5714
5717
|
onClick: t[2] || (t[2] = (g) => s.frameHandleCommand("msg"))
|
|
5715
5718
|
}, [
|
|
@@ -5719,7 +5722,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5719
5722
|
}),
|
|
5720
5723
|
a.chatUnreadTotal > 0 ? (U(), Q("em", lu, ne(a.chatUnreadTotal > 99 ? "99+" : a.chatUnreadTotal), 1)) : ue("", !0)
|
|
5721
5724
|
]),
|
|
5722
|
-
|
|
5725
|
+
k("div", {
|
|
5723
5726
|
class: "cloud-header__opt chopt-relative",
|
|
5724
5727
|
onClick: t[3] || (t[3] = (g) => s.frameHandleCommand("gongdan"))
|
|
5725
5728
|
}, [
|
|
@@ -5729,16 +5732,16 @@ function hu(e, t, n, r, a, s) {
|
|
|
5729
5732
|
}),
|
|
5730
5733
|
a.emailUnreadTotal > 0 ? (U(), Q("em", cu, ne(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : ue("", !0)
|
|
5731
5734
|
]),
|
|
5732
|
-
|
|
5735
|
+
k("div", uu, [
|
|
5733
5736
|
w(u, {
|
|
5734
5737
|
onCommand: s.frameHandleCommand,
|
|
5735
5738
|
"popper-class": "cloud-header__info_dropdown"
|
|
5736
5739
|
}, {
|
|
5737
|
-
dropdown:
|
|
5740
|
+
dropdown: D(() => [
|
|
5738
5741
|
w(f, null, {
|
|
5739
|
-
default:
|
|
5742
|
+
default: D(() => [
|
|
5740
5743
|
w(c, { command: "account_change" }, {
|
|
5741
|
-
default:
|
|
5744
|
+
default: D(() => [
|
|
5742
5745
|
w(o, {
|
|
5743
5746
|
type: "cvSvgPeopleSwitch",
|
|
5744
5747
|
size: "15"
|
|
@@ -5748,7 +5751,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5748
5751
|
_: 1
|
|
5749
5752
|
}),
|
|
5750
5753
|
w(c, { command: "account_chgpwd" }, {
|
|
5751
|
-
default:
|
|
5754
|
+
default: D(() => [
|
|
5752
5755
|
w(o, {
|
|
5753
5756
|
type: "cvSvgBaseLockOff",
|
|
5754
5757
|
size: "15"
|
|
@@ -5761,7 +5764,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5761
5764
|
command: "clearCache",
|
|
5762
5765
|
divided: ""
|
|
5763
5766
|
}, {
|
|
5764
|
-
default:
|
|
5767
|
+
default: D(() => [
|
|
5765
5768
|
w(o, {
|
|
5766
5769
|
type: "ElIconDelete",
|
|
5767
5770
|
size: "15"
|
|
@@ -5771,7 +5774,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5771
5774
|
_: 1
|
|
5772
5775
|
}),
|
|
5773
5776
|
w(c, { command: "logout" }, {
|
|
5774
|
-
default:
|
|
5777
|
+
default: D(() => [
|
|
5775
5778
|
w(o, {
|
|
5776
5779
|
type: "cvSvgArrowExportRight",
|
|
5777
5780
|
size: "14"
|
|
@@ -5784,21 +5787,21 @@ function hu(e, t, n, r, a, s) {
|
|
|
5784
5787
|
_: 1
|
|
5785
5788
|
})
|
|
5786
5789
|
]),
|
|
5787
|
-
default:
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
+
default: D(() => [
|
|
5791
|
+
k("span", null, [
|
|
5792
|
+
k("img", {
|
|
5790
5793
|
class: "chinfo-avatar",
|
|
5791
5794
|
src: e.accountInfo.account_avatar_cdn,
|
|
5792
5795
|
title: "头像"
|
|
5793
5796
|
}, null, 8, fu),
|
|
5794
|
-
|
|
5797
|
+
k("div", _u, ne(s.headerInfoName), 1),
|
|
5795
5798
|
w(o, { type: "ElIconArrowDown" })
|
|
5796
5799
|
])
|
|
5797
5800
|
]),
|
|
5798
5801
|
_: 1
|
|
5799
5802
|
}, 8, ["onCommand"])
|
|
5800
5803
|
]),
|
|
5801
|
-
|
|
5804
|
+
k("div", {
|
|
5802
5805
|
title: "全屏",
|
|
5803
5806
|
class: "cloud-header__opt",
|
|
5804
5807
|
onClick: t[4] || (t[4] = (...g) => s.frameFullScreen && s.frameFullScreen(...g)),
|
|
@@ -5815,7 +5818,7 @@ function hu(e, t, n, r, a, s) {
|
|
|
5815
5818
|
size: "20"
|
|
5816
5819
|
})) : ue("", !0)
|
|
5817
5820
|
]),
|
|
5818
|
-
|
|
5821
|
+
k("div", {
|
|
5819
5822
|
title: "设置",
|
|
5820
5823
|
class: "cloud-header__opt",
|
|
5821
5824
|
onClick: t[5] || (t[5] = (...g) => s.frameTopSysSettOpen && s.frameTopSysSettOpen(...g)),
|
|
@@ -5827,12 +5830,12 @@ function hu(e, t, n, r, a, s) {
|
|
|
5827
5830
|
})
|
|
5828
5831
|
])
|
|
5829
5832
|
]),
|
|
5830
|
-
|
|
5833
|
+
k("section", du, [
|
|
5831
5834
|
w(m, {
|
|
5832
5835
|
collapse: a.frameSidebarOpen == "off"
|
|
5833
5836
|
}, null, 8, ["collapse"])
|
|
5834
5837
|
]),
|
|
5835
|
-
|
|
5838
|
+
k("section", mu, [
|
|
5836
5839
|
Aa(w(p, null, null, 512), [
|
|
5837
5840
|
[ya, e.layoutNavTabs == "on"]
|
|
5838
5841
|
]),
|
|
@@ -5886,7 +5889,7 @@ const Yf = /* @__PURE__ */ Re(eu, [["render", hu]]), gu = {
|
|
|
5886
5889
|
function pu(e, t, n, r, a, s) {
|
|
5887
5890
|
const o = B("el-watermark");
|
|
5888
5891
|
return U(), J(o, $s(s.watemarkConf, { style: { height: "100%" } }), {
|
|
5889
|
-
default:
|
|
5892
|
+
default: D(() => [
|
|
5890
5893
|
Ws(e.$slots, "default")
|
|
5891
5894
|
]),
|
|
5892
5895
|
_: 3
|
|
@@ -6088,7 +6091,7 @@ function dr() {
|
|
|
6088
6091
|
}
|
|
6089
6092
|
const Hn = "local-forage-detect-blob-support";
|
|
6090
6093
|
let $t;
|
|
6091
|
-
const be = {}, Au = Object.prototype.toString,
|
|
6094
|
+
const be = {}, Au = Object.prototype.toString, Ft = "readonly", tn = "readwrite";
|
|
6092
6095
|
function yu(e) {
|
|
6093
6096
|
for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), a = 0; a < t; a++)
|
|
6094
6097
|
r[a] = e.charCodeAt(a);
|
|
@@ -6286,7 +6289,7 @@ function wu(e, t) {
|
|
|
6286
6289
|
e = ke(e);
|
|
6287
6290
|
var r = new F(function(a, s) {
|
|
6288
6291
|
n.ready().then(function() {
|
|
6289
|
-
Pe(n._dbInfo,
|
|
6292
|
+
Pe(n._dbInfo, Ft, function(o, i) {
|
|
6290
6293
|
if (o)
|
|
6291
6294
|
return s(o);
|
|
6292
6295
|
try {
|
|
@@ -6310,7 +6313,7 @@ function wu(e, t) {
|
|
|
6310
6313
|
function Du(e, t) {
|
|
6311
6314
|
var n = this, r = new F(function(a, s) {
|
|
6312
6315
|
n.ready().then(function() {
|
|
6313
|
-
Pe(n._dbInfo,
|
|
6316
|
+
Pe(n._dbInfo, Ft, function(o, i) {
|
|
6314
6317
|
if (o)
|
|
6315
6318
|
return s(o);
|
|
6316
6319
|
try {
|
|
@@ -6429,7 +6432,7 @@ function Pu(e) {
|
|
|
6429
6432
|
function Fu(e) {
|
|
6430
6433
|
var t = this, n = new F(function(r, a) {
|
|
6431
6434
|
t.ready().then(function() {
|
|
6432
|
-
Pe(t._dbInfo,
|
|
6435
|
+
Pe(t._dbInfo, Ft, function(s, o) {
|
|
6433
6436
|
if (s)
|
|
6434
6437
|
return a(s);
|
|
6435
6438
|
try {
|
|
@@ -6456,7 +6459,7 @@ function Mu(e, t) {
|
|
|
6456
6459
|
return;
|
|
6457
6460
|
}
|
|
6458
6461
|
n.ready().then(function() {
|
|
6459
|
-
Pe(n._dbInfo,
|
|
6462
|
+
Pe(n._dbInfo, Ft, function(o, i) {
|
|
6460
6463
|
if (o)
|
|
6461
6464
|
return s(o);
|
|
6462
6465
|
try {
|
|
@@ -6484,7 +6487,7 @@ function Mu(e, t) {
|
|
|
6484
6487
|
function Uu(e) {
|
|
6485
6488
|
var t = this, n = new F(function(r, a) {
|
|
6486
6489
|
t.ready().then(function() {
|
|
6487
|
-
Pe(t._dbInfo,
|
|
6490
|
+
Pe(t._dbInfo, Ft, function(s, o) {
|
|
6488
6491
|
if (s)
|
|
6489
6492
|
return a(s);
|
|
6490
6493
|
try {
|
|
@@ -7224,7 +7227,7 @@ const pf = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
7224
7227
|
return !1;
|
|
7225
7228
|
}, Cs = Array.isArray || function(e) {
|
|
7226
7229
|
return Object.prototype.toString.call(e) === "[object Array]";
|
|
7227
|
-
},
|
|
7230
|
+
}, At = {}, ga = {}, it = {
|
|
7228
7231
|
INDEXEDDB: xu,
|
|
7229
7232
|
WEBSQL: tf,
|
|
7230
7233
|
LOCALSTORAGE: gf
|
|
@@ -7276,7 +7279,7 @@ class Er {
|
|
|
7276
7279
|
for (let n in it)
|
|
7277
7280
|
if (it.hasOwnProperty(n)) {
|
|
7278
7281
|
const r = it[n], a = r._driver;
|
|
7279
|
-
this[n] = a,
|
|
7282
|
+
this[n] = a, At[a] || this.defineDriver(r);
|
|
7280
7283
|
}
|
|
7281
7284
|
this._defaultConfig = Ln({}, Sf), this._config = Ln({}, this._defaultConfig, t), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(() => {
|
|
7282
7285
|
});
|
|
@@ -7342,7 +7345,7 @@ class Er {
|
|
|
7342
7345
|
}
|
|
7343
7346
|
})();
|
|
7344
7347
|
const u = function(m) {
|
|
7345
|
-
|
|
7348
|
+
At[i], At[i] = t, ga[i] = m, s();
|
|
7346
7349
|
};
|
|
7347
7350
|
"_support" in t ? t._support && typeof t._support == "function" ? t._support().then(u, o) : u(!!t._support) : u(!0);
|
|
7348
7351
|
} catch (i) {
|
|
@@ -7355,7 +7358,7 @@ class Er {
|
|
|
7355
7358
|
return this._driver || null;
|
|
7356
7359
|
}
|
|
7357
7360
|
getDriver(t, n, r) {
|
|
7358
|
-
const a =
|
|
7361
|
+
const a = At[t] ? F.resolve(At[t]) : F.reject(new Error("Driver not found."));
|
|
7359
7362
|
return ot(a, n, r), a;
|
|
7360
7363
|
}
|
|
7361
7364
|
getSerializer(t) {
|
|
@@ -7535,7 +7538,7 @@ class yf {
|
|
|
7535
7538
|
}
|
|
7536
7539
|
}
|
|
7537
7540
|
}
|
|
7538
|
-
const
|
|
7541
|
+
const P = new bu({
|
|
7539
7542
|
prefix: ""
|
|
7540
7543
|
}), Nf = new Af({
|
|
7541
7544
|
db_name: "ShiyunConsole"
|
|
@@ -7993,7 +7996,7 @@ nn.prototype.cancelRequest = function(e) {
|
|
|
7993
7996
|
};
|
|
7994
7997
|
let qe = null;
|
|
7995
7998
|
function Ls(e = {}) {
|
|
7996
|
-
const t =
|
|
7999
|
+
const t = Tt();
|
|
7997
8000
|
qe = new nn({
|
|
7998
8001
|
// timeout: 60 * 1000, // 请求超时时间毫秒
|
|
7999
8002
|
// withCredentials: true, // true|false 异步请求携带cookie(Check cross-site Access-Control)
|
|
@@ -8002,9 +8005,9 @@ function Ls(e = {}) {
|
|
|
8002
8005
|
syOpenAppProject: t.syAppProjectSign || "",
|
|
8003
8006
|
syOpenAppId: t.syAppConnectId || "",
|
|
8004
8007
|
syOpenAppRole: t.syAppConnectRole || "",
|
|
8005
|
-
syOpenAppToken:
|
|
8008
|
+
syOpenAppToken: P.localGet("syCacheAppToken") || "",
|
|
8006
8009
|
"Sy-Client-Platform": "pc-web",
|
|
8007
|
-
Authorization: "Bearer " +
|
|
8010
|
+
Authorization: "Bearer " + P.localGet("syCacheAppJwt") || ""
|
|
8008
8011
|
},
|
|
8009
8012
|
requests: {
|
|
8010
8013
|
// '__Access-Control-Allow-Origin': true
|
|
@@ -8322,21 +8325,21 @@ function Pf(e) {
|
|
|
8322
8325
|
e.component("cvSvg" + t, n);
|
|
8323
8326
|
}
|
|
8324
8327
|
async function Kf(e, t) {
|
|
8325
|
-
Js(t), Ls(e),
|
|
8328
|
+
Js(t), Ls(e), Pt().init(), Be().init(), await fr().init(), await Te().init();
|
|
8326
8329
|
}
|
|
8327
8330
|
async function jf(e, t, n, r, a = "", s = null) {
|
|
8328
8331
|
Zt().init(r), en().init(n);
|
|
8329
8332
|
let o = e.config.globalProperties;
|
|
8330
8333
|
o.$onLaunched = new Promise((l) => {
|
|
8331
8334
|
o.$isResolve = l;
|
|
8332
|
-
}), o.$request = fe, o.$cache =
|
|
8333
|
-
let i =
|
|
8335
|
+
}), o.$request = fe, o.$cache = P, kf(e), Pf(e), Df(e, o), e.mixin(nc()), e.mixin(wf), await Ff(t, r, a), e.use(as);
|
|
8336
|
+
let i = Pt().SA_LANGUAGE_GET();
|
|
8334
8337
|
Ul(i, s), window.$t = Ke.t;
|
|
8335
8338
|
}
|
|
8336
8339
|
async function Ff(e, t, n) {
|
|
8337
|
-
const r =
|
|
8340
|
+
const r = Ot(), a = Te(), s = Zt(), o = en();
|
|
8338
8341
|
r.QK_SEND_MSG_REG_SUBMENU(t);
|
|
8339
|
-
let i =
|
|
8342
|
+
let i = Tt().syProductSign || "";
|
|
8340
8343
|
o.SA_PERMS_ROUTER_ADD(e, i), s.SA_MENU_PARSE(), r.QK_SEND_MSG_ROUTER_BEFORE(n);
|
|
8341
8344
|
let l = !1, c = !1, f = !1;
|
|
8342
8345
|
e.beforeEach((u, m, p) => {
|
|
@@ -8375,20 +8378,20 @@ export {
|
|
|
8375
8378
|
Be as a,
|
|
8376
8379
|
Te as b,
|
|
8377
8380
|
fr as c,
|
|
8378
|
-
|
|
8381
|
+
Tt as d,
|
|
8379
8382
|
Yf as e,
|
|
8380
8383
|
uc as f,
|
|
8381
8384
|
Hf as g,
|
|
8382
|
-
|
|
8385
|
+
Ot as h,
|
|
8383
8386
|
is as i,
|
|
8384
8387
|
Zt as j,
|
|
8385
8388
|
en as k,
|
|
8386
|
-
|
|
8389
|
+
P as l,
|
|
8387
8390
|
Ls as m,
|
|
8388
8391
|
Kf as n,
|
|
8389
8392
|
jf as o,
|
|
8390
8393
|
qf as p,
|
|
8391
8394
|
me as q,
|
|
8392
8395
|
Js as s,
|
|
8393
|
-
|
|
8396
|
+
Pt as u
|
|
8394
8397
|
};
|