@10yun/open-sdk 0.3.110 → 0.3.112
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-CHPEN8FG.cjs → 404-B2pXu1fP.cjs} +1 -1
- package/dist/{404-i7fCvC_i.js → 404-C4DVPIe7.js} +1 -1
- package/dist/{alone_run-DC90STG3.cjs → alone_run-BGd7lskH.cjs} +1 -1
- package/dist/{alone_run-BFMJreRv.js → alone_run-CLUYNqwh.js} +1 -1
- package/dist/{index-DXcmZVOZ.js → index-BQ6SpUZs.js} +497 -497
- package/dist/{index-srr6e88-.cjs → index-uYlySjH2.cjs} +9 -9
- package/dist/{login-DnsIq7fh.js → login-CX4cUyjF.js} +1 -1
- package/dist/{login-DMRtVOgN.cjs → login-vZCnVeJf.cjs} +1 -1
- package/dist/{none-Bmg76Ugj.js → none-3mx9YheZ.js} +1 -1
- package/dist/{none-Do9DI4lH.cjs → none-C__6mJZZ.cjs} +1 -1
- package/dist/open-sdk.cjs.js +1 -1
- package/dist/open-sdk.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as Ie, mapState as ke } from "pinia";
|
|
2
|
-
import { effectScope as Uo, ref as xo, shallowRef as Vo, computed as pt, watch as
|
|
3
|
-
import Jo, { ElMessage as
|
|
2
|
+
import { effectScope as Uo, ref as xo, shallowRef as Vo, computed as pt, watch as Pn, isRef as Bo, defineComponent as tr, getCurrentInstance as Nt, h as Oa, Fragment as ce, inject as Go, onMounted as $o, onUnmounted as Wo, createVNode as S, Text as Yo, resolveComponent as w, createBlock as H, openBlock as F, withCtx as C, createElementVNode as D, createElementBlock as W, renderList as Oe, createTextVNode as B, toDisplayString as Z, createCommentVNode as te, Transition as Ho, normalizeClass as Ht, resolveDynamicComponent as Ko, withDirectives as Rt, withModifiers as jo, normalizeStyle as Fn, vShow as Ia, mergeProps as qo, renderSlot as Xo, createSlots as Qo, resolveDirective as nr } from "vue";
|
|
3
|
+
import Jo, { ElMessage as Nr, ElMessageBox as zo, ElNotification as Zo } from "element-plus";
|
|
4
4
|
import * as es from "@element-plus/icons-vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
6
6
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
@@ -166,7 +166,7 @@ function ls() {
|
|
|
166
166
|
return !1;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function rr(e, t) {
|
|
170
170
|
e = e || [], t = t || {};
|
|
171
171
|
try {
|
|
172
172
|
return new Blob(e, t);
|
|
@@ -196,11 +196,11 @@ function ot(e, t, n) {
|
|
|
196
196
|
function Fe(e) {
|
|
197
197
|
return typeof e != "string" && (e = String(e)), e;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function ar() {
|
|
200
200
|
if (arguments.length && typeof arguments[arguments.length - 1] == "function")
|
|
201
201
|
return arguments[arguments.length - 1];
|
|
202
202
|
}
|
|
203
|
-
const
|
|
203
|
+
const Mn = "local-forage-detect-blob-support";
|
|
204
204
|
let xt;
|
|
205
205
|
const ve = {}, cs = Object.prototype.toString, Pt = "readonly", Jt = "readwrite";
|
|
206
206
|
function us(e) {
|
|
@@ -210,8 +210,8 @@ function us(e) {
|
|
|
210
210
|
}
|
|
211
211
|
function fs(e) {
|
|
212
212
|
return new U(function(t) {
|
|
213
|
-
var n = e.transaction(
|
|
214
|
-
n.objectStore(
|
|
213
|
+
var n = e.transaction(Mn, Jt), a = rr([""]);
|
|
214
|
+
n.objectStore(Mn).put(a, "key"), n.onabort = function(r) {
|
|
215
215
|
r.preventDefault(), r.stopPropagation(), t(!1);
|
|
216
216
|
}, n.oncomplete = function() {
|
|
217
217
|
var r = navigator.userAgent.match(/Chrome\/(\d+)/), o = navigator.userAgent.match(/Edge\//);
|
|
@@ -236,12 +236,12 @@ function Kt(e) {
|
|
|
236
236
|
return n.promise;
|
|
237
237
|
}) : t.dbReady = n.promise;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Un(e) {
|
|
240
240
|
var t = ve[e.name], n = t.deferredOperations.pop();
|
|
241
241
|
if (n)
|
|
242
242
|
return n.resolve(), n.promise;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function xn(e, t) {
|
|
245
245
|
var n = ve[e.name], a = n.deferredOperations.pop();
|
|
246
246
|
if (a)
|
|
247
247
|
return a.reject(t), a.promise;
|
|
@@ -259,7 +259,7 @@ function wa(e, t) {
|
|
|
259
259
|
t && (o.onupgradeneeded = function(s) {
|
|
260
260
|
var l = o.result;
|
|
261
261
|
try {
|
|
262
|
-
l.createObjectStore(e.storeName), s.oldVersion <= 1 && l.createObjectStore(
|
|
262
|
+
l.createObjectStore(e.storeName), s.oldVersion <= 1 && l.createObjectStore(Mn);
|
|
263
263
|
} catch (i) {
|
|
264
264
|
if (i.name !== "ConstraintError")
|
|
265
265
|
throw i;
|
|
@@ -270,14 +270,14 @@ function wa(e, t) {
|
|
|
270
270
|
var s = o.result;
|
|
271
271
|
s.onversionchange = function(l) {
|
|
272
272
|
l.target.close();
|
|
273
|
-
}, n(s),
|
|
273
|
+
}, n(s), Un(e);
|
|
274
274
|
};
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function or(e) {
|
|
278
278
|
return wa(e, !1);
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function sr(e) {
|
|
281
281
|
return wa(e, !0);
|
|
282
282
|
}
|
|
283
283
|
function Da(e, t) {
|
|
@@ -308,7 +308,7 @@ function _s(e) {
|
|
|
308
308
|
}
|
|
309
309
|
function ka(e) {
|
|
310
310
|
var t = us(atob(e.data));
|
|
311
|
-
return
|
|
311
|
+
return rr([t], { type: e.type });
|
|
312
312
|
}
|
|
313
313
|
function Ra(e) {
|
|
314
314
|
return e && e.__local_forage_encoded_blob;
|
|
@@ -327,12 +327,12 @@ function hs(e) {
|
|
|
327
327
|
const r = n[a];
|
|
328
328
|
r._dbInfo.db && (r._dbInfo.db.close(), r._dbInfo.db = null);
|
|
329
329
|
}
|
|
330
|
-
return e.db = null,
|
|
330
|
+
return e.db = null, or(e).then((r) => (e.db = r, Da(e) ? sr(e) : r)).then((r) => {
|
|
331
331
|
e.db = t.db = r;
|
|
332
332
|
for (var o = 0; o < n.length; o++)
|
|
333
333
|
n[o]._dbInfo.db = r;
|
|
334
334
|
}).catch((r) => {
|
|
335
|
-
throw
|
|
335
|
+
throw xn(e, r), r;
|
|
336
336
|
});
|
|
337
337
|
}
|
|
338
338
|
function Me(e, t, n, a) {
|
|
@@ -346,7 +346,7 @@ function Me(e, t, n, a) {
|
|
|
346
346
|
if (!e.db || o.name === "NotFoundError" && !e.db.objectStoreNames.contains(
|
|
347
347
|
e.storeName
|
|
348
348
|
) && e.version <= e.db.version)
|
|
349
|
-
return e.db && (e.version = e.db.version + 1),
|
|
349
|
+
return e.db && (e.version = e.db.version + 1), sr(e);
|
|
350
350
|
}).then(() => hs(e).then(function() {
|
|
351
351
|
Me(e, t, n, a - 1);
|
|
352
352
|
})).catch(n);
|
|
@@ -384,9 +384,9 @@ function gs(e) {
|
|
|
384
384
|
}
|
|
385
385
|
var c = r.forages.slice(0);
|
|
386
386
|
return U.all(o).then(function() {
|
|
387
|
-
return n.db = r.db,
|
|
387
|
+
return n.db = r.db, or(n);
|
|
388
388
|
}).then(function(f) {
|
|
389
|
-
return n.db = f, Da(n, t._defaultConfig.version) ?
|
|
389
|
+
return n.db = f, Da(n, t._defaultConfig.version) ? sr(n) : f;
|
|
390
390
|
}).then(function(f) {
|
|
391
391
|
n.db = r.db = f, t._dbInfo = n;
|
|
392
392
|
for (var u = 0; u < c.length; u++) {
|
|
@@ -623,15 +623,15 @@ function As(e) {
|
|
|
623
623
|
});
|
|
624
624
|
return Q(n, e), n;
|
|
625
625
|
}
|
|
626
|
-
function
|
|
627
|
-
t =
|
|
626
|
+
function Ns(e, t) {
|
|
627
|
+
t = ar.apply(this, arguments);
|
|
628
628
|
var n = this.config();
|
|
629
629
|
e = typeof e != "function" && e || {}, e.name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName);
|
|
630
630
|
var a = this, r;
|
|
631
631
|
if (!e.name)
|
|
632
632
|
r = U.reject("Invalid arguments");
|
|
633
633
|
else {
|
|
634
|
-
const s = e.name === n.name && a._dbInfo.db ? U.resolve(a._dbInfo.db) :
|
|
634
|
+
const s = e.name === n.name && a._dbInfo.db ? U.resolve(a._dbInfo.db) : or(e).then((l) => {
|
|
635
635
|
const i = ve[e.name], c = i.forages;
|
|
636
636
|
i.db = l;
|
|
637
637
|
for (var f = 0; f < c.length; f++)
|
|
@@ -664,10 +664,10 @@ function Cs(e, t) {
|
|
|
664
664
|
c.db = _;
|
|
665
665
|
for (let p = 0; p < f.length; p++) {
|
|
666
666
|
const v = f[p];
|
|
667
|
-
v._dbInfo.db = _,
|
|
667
|
+
v._dbInfo.db = _, Un(v._dbInfo);
|
|
668
668
|
}
|
|
669
669
|
}).catch((_) => {
|
|
670
|
-
throw (
|
|
670
|
+
throw (xn(e, _) || U.resolve()).catch(() => {
|
|
671
671
|
}), _;
|
|
672
672
|
});
|
|
673
673
|
}) : r = s.then((l) => {
|
|
@@ -692,17 +692,17 @@ function Cs(e, t) {
|
|
|
692
692
|
i.db = _;
|
|
693
693
|
for (var p = 0; p < c.length; p++) {
|
|
694
694
|
const v = c[p];
|
|
695
|
-
|
|
695
|
+
Un(v._dbInfo);
|
|
696
696
|
}
|
|
697
697
|
}).catch((_) => {
|
|
698
|
-
throw (
|
|
698
|
+
throw (xn(e, _) || U.resolve()).catch(() => {
|
|
699
699
|
}), _;
|
|
700
700
|
});
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
703
|
return Q(r, t), r;
|
|
704
704
|
}
|
|
705
|
-
var
|
|
705
|
+
var Cs = {
|
|
706
706
|
_driver: "asyncStorage",
|
|
707
707
|
_initStorage: gs,
|
|
708
708
|
_support: ls(),
|
|
@@ -714,12 +714,12 @@ var Ns = {
|
|
|
714
714
|
length: ys,
|
|
715
715
|
key: Ts,
|
|
716
716
|
keys: As,
|
|
717
|
-
dropInstance:
|
|
717
|
+
dropInstance: Ns
|
|
718
718
|
};
|
|
719
719
|
function Os() {
|
|
720
720
|
return typeof openDatabase == "function";
|
|
721
721
|
}
|
|
722
|
-
var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Is = "~~local_forage_type~", Cr = /^~~local_forage_type~([^~]+)~/, jt = "__lfsc__:",
|
|
722
|
+
var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Is = "~~local_forage_type~", Cr = /^~~local_forage_type~([^~]+)~/, jt = "__lfsc__:", Vn = jt.length, ir = "arbf", Bn = "blob", Fa = "si08", Ma = "ui08", Ua = "uic8", xa = "si16", Va = "si32", Ba = "ur16", Ga = "ui32", $a = "fl32", Wa = "fl64", Or = Vn + ir.length, Ir = Object.prototype.toString;
|
|
723
723
|
function Ya(e) {
|
|
724
724
|
var t = e.length * 0.75, n = e.length, a, r = 0, o, s, l, i;
|
|
725
725
|
e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
|
|
@@ -728,7 +728,7 @@ function Ya(e) {
|
|
|
728
728
|
o = Be.indexOf(e[a]), s = Be.indexOf(e[a + 1]), l = Be.indexOf(e[a + 2]), i = Be.indexOf(e[a + 3]), f[r++] = o << 2 | s >> 4, f[r++] = (s & 15) << 4 | l >> 2, f[r++] = (l & 3) << 6 | i & 63;
|
|
729
729
|
return c;
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function Gn(e) {
|
|
732
732
|
var t = new Uint8Array(e), n = "", a;
|
|
733
733
|
for (a = 0; a < t.length; a += 3)
|
|
734
734
|
n += Be[t[a] >> 2], n += Be[(t[a] & 3) << 4 | t[a + 1] >> 4], n += Be[(t[a + 1] & 15) << 2 | t[a + 2] >> 6], n += Be[t[a + 2] & 63];
|
|
@@ -736,14 +736,14 @@ function Bn(e) {
|
|
|
736
736
|
}
|
|
737
737
|
function Ls(e, t) {
|
|
738
738
|
var n = "";
|
|
739
|
-
if (e && (n =
|
|
739
|
+
if (e && (n = Ir.call(e)), e && (n === "[object ArrayBuffer]" || e.buffer && Ir.call(e.buffer) === "[object ArrayBuffer]")) {
|
|
740
740
|
var a, r = jt;
|
|
741
|
-
e instanceof ArrayBuffer ? (a = e, r +=
|
|
741
|
+
e instanceof ArrayBuffer ? (a = e, r += ir) : (a = e.buffer, n === "[object Int8Array]" ? r += Fa : n === "[object Uint8Array]" ? r += Ma : n === "[object Uint8ClampedArray]" ? r += Ua : n === "[object Int16Array]" ? r += xa : n === "[object Uint16Array]" ? r += Ba : n === "[object Int32Array]" ? r += Va : n === "[object Uint32Array]" ? r += Ga : n === "[object Float32Array]" ? r += $a : n === "[object Float64Array]" ? r += Wa : t(new Error("Failed to get type for BinaryArray"))), t(r + Gn(a));
|
|
742
742
|
} else if (n === "[object Blob]") {
|
|
743
743
|
var o = new FileReader();
|
|
744
744
|
o.onload = function() {
|
|
745
|
-
var s = Is + e.type + "~" +
|
|
746
|
-
t(jt +
|
|
745
|
+
var s = Is + e.type + "~" + Gn(this.result);
|
|
746
|
+
t(jt + Bn + s);
|
|
747
747
|
}, o.readAsArrayBuffer(e);
|
|
748
748
|
} else
|
|
749
749
|
try {
|
|
@@ -753,22 +753,22 @@ function Ls(e, t) {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
function ws(e) {
|
|
756
|
-
if (e.substring(0,
|
|
756
|
+
if (e.substring(0, Vn) !== jt)
|
|
757
757
|
return JSON.parse(e);
|
|
758
|
-
var t = e.substring(
|
|
759
|
-
|
|
760
|
-
|
|
758
|
+
var t = e.substring(Or), n = e.substring(
|
|
759
|
+
Vn,
|
|
760
|
+
Or
|
|
761
761
|
), a;
|
|
762
|
-
if (n ===
|
|
762
|
+
if (n === Bn && Cr.test(t)) {
|
|
763
763
|
var r = t.match(Cr);
|
|
764
764
|
a = r[1], t = t.substring(r[0].length);
|
|
765
765
|
}
|
|
766
766
|
var o = Ya(t);
|
|
767
767
|
switch (n) {
|
|
768
|
-
case
|
|
768
|
+
case ir:
|
|
769
769
|
return o;
|
|
770
|
-
case
|
|
771
|
-
return
|
|
770
|
+
case Bn:
|
|
771
|
+
return rr([o], { type: a });
|
|
772
772
|
case Fa:
|
|
773
773
|
return new Int8Array(o);
|
|
774
774
|
case Ma:
|
|
@@ -791,11 +791,11 @@ function ws(e) {
|
|
|
791
791
|
throw new Error("Unkown type: " + n);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
var
|
|
794
|
+
var lr = {
|
|
795
795
|
serialize: Ls,
|
|
796
796
|
deserialize: ws,
|
|
797
797
|
stringToBuffer: Ya,
|
|
798
|
-
bufferToString:
|
|
798
|
+
bufferToString: Gn
|
|
799
799
|
};
|
|
800
800
|
function Ha(e, t, n, a) {
|
|
801
801
|
e.executeSql(
|
|
@@ -836,7 +836,7 @@ function Ds(e) {
|
|
|
836
836
|
);
|
|
837
837
|
}, s);
|
|
838
838
|
});
|
|
839
|
-
return n.serializer =
|
|
839
|
+
return n.serializer = lr, r;
|
|
840
840
|
}
|
|
841
841
|
function $e(e, t, n, a, r, o) {
|
|
842
842
|
e.executeSql(
|
|
@@ -1115,7 +1115,7 @@ function Bs(e) {
|
|
|
1115
1115
|
});
|
|
1116
1116
|
}
|
|
1117
1117
|
function Gs(e, t) {
|
|
1118
|
-
t =
|
|
1118
|
+
t = ar.apply(this, arguments);
|
|
1119
1119
|
var n = this.config();
|
|
1120
1120
|
e = typeof e != "function" && e || {}, e.name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName);
|
|
1121
1121
|
var a = this, r;
|
|
@@ -1202,7 +1202,7 @@ function Ks(e) {
|
|
|
1202
1202
|
if (e)
|
|
1203
1203
|
for (var a in e)
|
|
1204
1204
|
n[a] = e[a];
|
|
1205
|
-
return n.keyPrefix = ja(e, t._defaultConfig), Hs() ? (t._dbInfo = n, n.serializer =
|
|
1205
|
+
return n.keyPrefix = ja(e, t._defaultConfig), Hs() ? (t._dbInfo = n, n.serializer = lr, U.resolve()) : U.reject();
|
|
1206
1206
|
}
|
|
1207
1207
|
function js(e) {
|
|
1208
1208
|
var t = this, n = t.ready().then(function() {
|
|
@@ -1299,7 +1299,7 @@ function ei(e, t, n) {
|
|
|
1299
1299
|
return Q(r, n), r;
|
|
1300
1300
|
}
|
|
1301
1301
|
function ti(e, t) {
|
|
1302
|
-
if (t =
|
|
1302
|
+
if (t = ar.apply(this, arguments), e = typeof e != "function" && e || {}, !e.name) {
|
|
1303
1303
|
var n = this.config();
|
|
1304
1304
|
e.name = e.name || n.name, e.storeName = e.storeName || n.storeName;
|
|
1305
1305
|
}
|
|
@@ -1338,8 +1338,8 @@ const ri = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
1338
1338
|
return !1;
|
|
1339
1339
|
}, qa = Array.isArray || function(e) {
|
|
1340
1340
|
return Object.prototype.toString.call(e) === "[object Array]";
|
|
1341
|
-
}, Et = {},
|
|
1342
|
-
INDEXEDDB:
|
|
1341
|
+
}, Et = {}, Lr = {}, it = {
|
|
1342
|
+
INDEXEDDB: Cs,
|
|
1343
1343
|
WEBSQL: $s,
|
|
1344
1344
|
LOCALSTORAGE: ni
|
|
1345
1345
|
}, oi = [
|
|
@@ -1385,7 +1385,7 @@ function Tn() {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
return arguments[0];
|
|
1387
1387
|
}
|
|
1388
|
-
class
|
|
1388
|
+
class cr {
|
|
1389
1389
|
constructor(t) {
|
|
1390
1390
|
for (let n in it)
|
|
1391
1391
|
if (it.hasOwnProperty(n)) {
|
|
@@ -1456,7 +1456,7 @@ class lr {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
})();
|
|
1458
1458
|
const u = function(_) {
|
|
1459
|
-
Et[l], Et[l] = t,
|
|
1459
|
+
Et[l], Et[l] = t, Lr[l] = _, o();
|
|
1460
1460
|
};
|
|
1461
1461
|
"_support" in t ? t._support && typeof t._support == "function" ? t._support().then(u, s) : u(!!t._support) : u(!0);
|
|
1462
1462
|
} catch (l) {
|
|
@@ -1473,7 +1473,7 @@ class lr {
|
|
|
1473
1473
|
return ot(r, n, a), r;
|
|
1474
1474
|
}
|
|
1475
1475
|
getSerializer(t) {
|
|
1476
|
-
const n = U.resolve(
|
|
1476
|
+
const n = U.resolve(lr);
|
|
1477
1477
|
return ot(n, t), n;
|
|
1478
1478
|
}
|
|
1479
1479
|
ready(t) {
|
|
@@ -1520,7 +1520,7 @@ class lr {
|
|
|
1520
1520
|
}), ot(this._driverSet, n, a), this._driverSet;
|
|
1521
1521
|
}
|
|
1522
1522
|
supports(t) {
|
|
1523
|
-
return !!
|
|
1523
|
+
return !!Lr[t];
|
|
1524
1524
|
}
|
|
1525
1525
|
_extend(t) {
|
|
1526
1526
|
Tn(this, t);
|
|
@@ -1538,10 +1538,10 @@ class lr {
|
|
|
1538
1538
|
ii(this, yn[t]);
|
|
1539
1539
|
}
|
|
1540
1540
|
createInstance(t) {
|
|
1541
|
-
return new
|
|
1541
|
+
return new cr(t);
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
|
-
const qe = new
|
|
1544
|
+
const qe = new cr();
|
|
1545
1545
|
class li {
|
|
1546
1546
|
constructor(t) {
|
|
1547
1547
|
this.db_name = t.db_name || "cvjs", qe.config({
|
|
@@ -1703,7 +1703,7 @@ function St(e) {
|
|
|
1703
1703
|
});
|
|
1704
1704
|
}
|
|
1705
1705
|
function mi(e) {
|
|
1706
|
-
let t =
|
|
1706
|
+
let t = Ne();
|
|
1707
1707
|
e && e.onGlobalStateChange && e.onGlobalStateChange((n, a) => {
|
|
1708
1708
|
if (n && n.msg)
|
|
1709
1709
|
switch ((n.msg || {}).COMM_TYPE || "") {
|
|
@@ -1712,7 +1712,7 @@ function mi(e) {
|
|
|
1712
1712
|
t.SA_ACCOUNT_REFRESH();
|
|
1713
1713
|
break;
|
|
1714
1714
|
}
|
|
1715
|
-
|
|
1715
|
+
Ct().SA_MSG_CONTENT(n.msg);
|
|
1716
1716
|
}, !0), At.setGlobalState = e && e.setGlobalState, At.name = e && e.name;
|
|
1717
1717
|
}
|
|
1718
1718
|
function hi(e, t, n) {
|
|
@@ -1748,7 +1748,7 @@ function hi(e, t, n) {
|
|
|
1748
1748
|
}
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
1751
|
-
const
|
|
1751
|
+
const Ct = Ie("cloudSdkQiankunStore", {
|
|
1752
1752
|
state: () => ({
|
|
1753
1753
|
// 是否是乾坤
|
|
1754
1754
|
qiankunExistState: pe.__POWERED_BY_QIANKUN__ || !1,
|
|
@@ -1821,9 +1821,9 @@ const Nt = Ie("cloudSdkQiankunStore", {
|
|
|
1821
1821
|
*/
|
|
1822
1822
|
function gi(e, t) {
|
|
1823
1823
|
}
|
|
1824
|
-
const
|
|
1825
|
-
function
|
|
1826
|
-
|
|
1824
|
+
const wr = {};
|
|
1825
|
+
function ur(e) {
|
|
1826
|
+
wr[e] || (wr[e] = !0, void 0);
|
|
1827
1827
|
}
|
|
1828
1828
|
const Ae = typeof window < "u";
|
|
1829
1829
|
let Ee, Je;
|
|
@@ -1840,17 +1840,17 @@ const pi = /\{([0-9a-zA-Z]+)\}/g;
|
|
|
1840
1840
|
function zt(e, ...t) {
|
|
1841
1841
|
return t.length === 1 && Y(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(pi, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
|
|
1842
1842
|
}
|
|
1843
|
-
const Le = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Ei = (e, t, n) => Si({ l: e, k: t, s: n }), Si = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), bi = (e) =>
|
|
1844
|
-
let
|
|
1845
|
-
const Qe = () =>
|
|
1846
|
-
function
|
|
1843
|
+
const Le = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Ei = (e, t, n) => Si({ l: e, k: t, s: n }), Si = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), bi = (e) => fr(e) === "[object Date]", ct = (e) => fr(e) === "[object RegExp]", Zt = (e) => G(e) && Object.keys(e).length === 0, le = Object.assign, vi = Object.create, X = (e = null) => vi(e);
|
|
1844
|
+
let Dr;
|
|
1845
|
+
const Qe = () => Dr || (Dr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : X());
|
|
1846
|
+
function kr(e) {
|
|
1847
1847
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
1848
1848
|
}
|
|
1849
|
-
function
|
|
1849
|
+
function Rr(e) {
|
|
1850
1850
|
return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1851
1851
|
}
|
|
1852
1852
|
function yi(e) {
|
|
1853
|
-
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (a, r, o) => `${r}="${
|
|
1853
|
+
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (a, r, o) => `${r}="${Rr(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (a, r, o) => `${r}='${Rr(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && void 0, e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3")), [
|
|
1854
1854
|
// In href, src, action, formaction attributes
|
|
1855
1855
|
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
1856
1856
|
// In style attributes within url()
|
|
@@ -1863,18 +1863,18 @@ const Ti = Object.prototype.hasOwnProperty;
|
|
|
1863
1863
|
function Te(e, t) {
|
|
1864
1864
|
return Ti.call(e, t);
|
|
1865
1865
|
}
|
|
1866
|
-
const ne = Array.isArray, J = (e) => typeof e == "function", P = (e) => typeof e == "string", K = (e) => typeof e == "boolean", Y = (e) => e !== null && typeof e == "object", Ai = (e) => Y(e) && J(e.then) && J(e.catch), Xa = Object.prototype.toString,
|
|
1867
|
-
function
|
|
1866
|
+
const ne = Array.isArray, J = (e) => typeof e == "function", P = (e) => typeof e == "string", K = (e) => typeof e == "boolean", Y = (e) => e !== null && typeof e == "object", Ai = (e) => Y(e) && J(e.then) && J(e.catch), Xa = Object.prototype.toString, fr = (e) => Xa.call(e), G = (e) => fr(e) === "[object Object]", Ni = (e) => e == null ? "" : ne(e) || G(e) && e.toString === Xa ? JSON.stringify(e, null, 2) : String(e);
|
|
1867
|
+
function dr(e, t = "") {
|
|
1868
1868
|
return e.reduce((n, a, r) => r === 0 ? n + a : n + t + a, "");
|
|
1869
1869
|
}
|
|
1870
|
-
const
|
|
1871
|
-
function
|
|
1870
|
+
const Pr = 2;
|
|
1871
|
+
function Ci(e, t = 0, n = e.length) {
|
|
1872
1872
|
const a = e.split(/\r?\n/);
|
|
1873
1873
|
let r = 0;
|
|
1874
1874
|
const o = [];
|
|
1875
1875
|
for (let s = 0; s < a.length; s++)
|
|
1876
1876
|
if (r += a[s].length + 1, r >= t) {
|
|
1877
|
-
for (let l = s -
|
|
1877
|
+
for (let l = s - Pr; l <= s + Pr || n > r; l++) {
|
|
1878
1878
|
if (l < 0 || l >= a.length)
|
|
1879
1879
|
continue;
|
|
1880
1880
|
const i = l + 1;
|
|
@@ -1896,7 +1896,7 @@ function Ni(e, t = 0, n = e.length) {
|
|
|
1896
1896
|
return o.join(`
|
|
1897
1897
|
`);
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1899
|
+
function _r() {
|
|
1900
1900
|
const e = /* @__PURE__ */ new Map();
|
|
1901
1901
|
return {
|
|
1902
1902
|
events: e,
|
|
@@ -1933,7 +1933,7 @@ function Yt(e, t) {
|
|
|
1933
1933
|
function Oi(e, t, n) {
|
|
1934
1934
|
return { line: e, column: t, offset: n };
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1936
|
+
function $n(e, t, n) {
|
|
1937
1937
|
return { start: e, end: t };
|
|
1938
1938
|
}
|
|
1939
1939
|
const x = {
|
|
@@ -2025,7 +2025,7 @@ function Mi(e) {
|
|
|
2025
2025
|
skipToPeek: R
|
|
2026
2026
|
};
|
|
2027
2027
|
}
|
|
2028
|
-
const Ue = void 0, Ui = ".",
|
|
2028
|
+
const Ue = void 0, Ui = ".", Fr = "'", xi = "tokenizer";
|
|
2029
2029
|
function Vi(e, t = {}) {
|
|
2030
2030
|
const n = t.location !== !1, a = Mi(e), r = () => a.index(), o = () => Oi(a.line(), a.column(), a.index()), s = o(), l = r(), i = {
|
|
2031
2031
|
currentType: 13,
|
|
@@ -2040,20 +2040,20 @@ function Vi(e, t = {}) {
|
|
|
2040
2040
|
inLinked: !1,
|
|
2041
2041
|
text: ""
|
|
2042
2042
|
}, c = () => i, { onError: f } = t;
|
|
2043
|
-
function u(d, m,
|
|
2043
|
+
function u(d, m, N, ...M) {
|
|
2044
2044
|
const ae = c();
|
|
2045
|
-
if (m.column +=
|
|
2046
|
-
const oe = n ?
|
|
2045
|
+
if (m.column += N, m.offset += N, f) {
|
|
2046
|
+
const oe = n ? $n(ae.startLoc, m) : null, j = dt(d, oe, {
|
|
2047
2047
|
domain: xi,
|
|
2048
2048
|
args: M
|
|
2049
2049
|
});
|
|
2050
2050
|
f(j);
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
|
-
function _(d, m,
|
|
2053
|
+
function _(d, m, N) {
|
|
2054
2054
|
d.endLoc = o(), d.currentType = m;
|
|
2055
2055
|
const M = { type: m };
|
|
2056
|
-
return n && (M.loc =
|
|
2056
|
+
return n && (M.loc = $n(d.startLoc, d.endLoc)), N != null && (M.value = N), M;
|
|
2057
2057
|
}
|
|
2058
2058
|
const p = (d) => _(
|
|
2059
2059
|
d,
|
|
@@ -2088,56 +2088,56 @@ function Vi(e, t = {}) {
|
|
|
2088
2088
|
return m >= 48 && m <= 57;
|
|
2089
2089
|
}
|
|
2090
2090
|
function T(d, m) {
|
|
2091
|
-
const { currentType:
|
|
2092
|
-
if (
|
|
2091
|
+
const { currentType: N } = m;
|
|
2092
|
+
if (N !== 2)
|
|
2093
2093
|
return !1;
|
|
2094
2094
|
g(d);
|
|
2095
2095
|
const M = h(d.currentPeek());
|
|
2096
2096
|
return d.resetPeek(), M;
|
|
2097
2097
|
}
|
|
2098
2098
|
function y(d, m) {
|
|
2099
|
-
const { currentType:
|
|
2100
|
-
if (
|
|
2099
|
+
const { currentType: N } = m;
|
|
2100
|
+
if (N !== 2)
|
|
2101
2101
|
return !1;
|
|
2102
2102
|
g(d);
|
|
2103
2103
|
const M = d.currentPeek() === "-" ? d.peek() : d.currentPeek(), ae = E(M);
|
|
2104
2104
|
return d.resetPeek(), ae;
|
|
2105
2105
|
}
|
|
2106
2106
|
function k(d, m) {
|
|
2107
|
-
const { currentType:
|
|
2108
|
-
if (
|
|
2107
|
+
const { currentType: N } = m;
|
|
2108
|
+
if (N !== 2)
|
|
2109
2109
|
return !1;
|
|
2110
2110
|
g(d);
|
|
2111
|
-
const M = d.currentPeek() ===
|
|
2111
|
+
const M = d.currentPeek() === Fr;
|
|
2112
2112
|
return d.resetPeek(), M;
|
|
2113
2113
|
}
|
|
2114
2114
|
function R(d, m) {
|
|
2115
|
-
const { currentType:
|
|
2116
|
-
if (
|
|
2115
|
+
const { currentType: N } = m;
|
|
2116
|
+
if (N !== 7)
|
|
2117
2117
|
return !1;
|
|
2118
2118
|
g(d);
|
|
2119
2119
|
const M = d.currentPeek() === ".";
|
|
2120
2120
|
return d.resetPeek(), M;
|
|
2121
2121
|
}
|
|
2122
2122
|
function A(d, m) {
|
|
2123
|
-
const { currentType:
|
|
2124
|
-
if (
|
|
2123
|
+
const { currentType: N } = m;
|
|
2124
|
+
if (N !== 8)
|
|
2125
2125
|
return !1;
|
|
2126
2126
|
g(d);
|
|
2127
2127
|
const M = h(d.currentPeek());
|
|
2128
2128
|
return d.resetPeek(), M;
|
|
2129
2129
|
}
|
|
2130
2130
|
function V(d, m) {
|
|
2131
|
-
const { currentType:
|
|
2132
|
-
if (!(
|
|
2131
|
+
const { currentType: N } = m;
|
|
2132
|
+
if (!(N === 7 || N === 11))
|
|
2133
2133
|
return !1;
|
|
2134
2134
|
g(d);
|
|
2135
2135
|
const M = d.currentPeek() === ":";
|
|
2136
2136
|
return d.resetPeek(), M;
|
|
2137
2137
|
}
|
|
2138
2138
|
function $(d, m) {
|
|
2139
|
-
const { currentType:
|
|
2140
|
-
if (
|
|
2139
|
+
const { currentType: N } = m;
|
|
2140
|
+
if (N !== 9)
|
|
2141
2141
|
return !1;
|
|
2142
2142
|
const M = () => {
|
|
2143
2143
|
const oe = d.currentPeek();
|
|
@@ -2151,15 +2151,15 @@ function Vi(e, t = {}) {
|
|
|
2151
2151
|
return d.resetPeek(), m;
|
|
2152
2152
|
}
|
|
2153
2153
|
function _e(d, m = !0) {
|
|
2154
|
-
const
|
|
2154
|
+
const N = (ae = !1, oe = "") => {
|
|
2155
2155
|
const j = d.currentPeek();
|
|
2156
|
-
return j === "{" || j === "@" || !j ? ae : j === "|" ? !(oe === De || oe === de) : j === De ? (d.peek(),
|
|
2157
|
-
}, M =
|
|
2156
|
+
return j === "{" || j === "@" || !j ? ae : j === "|" ? !(oe === De || oe === de) : j === De ? (d.peek(), N(!0, De)) : j === de ? (d.peek(), N(!0, de)) : !0;
|
|
2157
|
+
}, M = N();
|
|
2158
2158
|
return m && d.resetPeek(), M;
|
|
2159
2159
|
}
|
|
2160
2160
|
function ee(d, m) {
|
|
2161
|
-
const
|
|
2162
|
-
return
|
|
2161
|
+
const N = d.currentChar();
|
|
2162
|
+
return N === Ue ? Ue : m(N) ? (d.next(), N) : null;
|
|
2163
2163
|
}
|
|
2164
2164
|
function et(d) {
|
|
2165
2165
|
const m = d.charCodeAt(0);
|
|
@@ -2201,36 +2201,36 @@ function Vi(e, t = {}) {
|
|
|
2201
2201
|
return ee(d, fn);
|
|
2202
2202
|
}
|
|
2203
2203
|
function _t(d) {
|
|
2204
|
-
let m = "",
|
|
2204
|
+
let m = "", N = "";
|
|
2205
2205
|
for (; m = un(d); )
|
|
2206
|
-
|
|
2207
|
-
return
|
|
2206
|
+
N += m;
|
|
2207
|
+
return N;
|
|
2208
2208
|
}
|
|
2209
2209
|
function dn(d) {
|
|
2210
2210
|
let m = "";
|
|
2211
2211
|
for (; ; ) {
|
|
2212
|
-
const
|
|
2213
|
-
if (
|
|
2212
|
+
const N = d.currentChar();
|
|
2213
|
+
if (N === "{" || N === "}" || N === "@" || N === "|" || !N)
|
|
2214
2214
|
break;
|
|
2215
|
-
if (
|
|
2215
|
+
if (N === De || N === de)
|
|
2216
2216
|
if (_e(d))
|
|
2217
|
-
m +=
|
|
2217
|
+
m += N, d.next();
|
|
2218
2218
|
else {
|
|
2219
2219
|
if (re(d))
|
|
2220
2220
|
break;
|
|
2221
|
-
m +=
|
|
2221
|
+
m += N, d.next();
|
|
2222
2222
|
}
|
|
2223
2223
|
else
|
|
2224
|
-
m +=
|
|
2224
|
+
m += N, d.next();
|
|
2225
2225
|
}
|
|
2226
2226
|
return m;
|
|
2227
2227
|
}
|
|
2228
2228
|
function _n(d) {
|
|
2229
2229
|
L(d);
|
|
2230
|
-
let m = "",
|
|
2230
|
+
let m = "", N = "";
|
|
2231
2231
|
for (; m = ln(d); )
|
|
2232
|
-
|
|
2233
|
-
return d.currentChar() === Ue && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
2232
|
+
N += m;
|
|
2233
|
+
return d.currentChar() === Ue && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N;
|
|
2234
2234
|
}
|
|
2235
2235
|
function mn(d) {
|
|
2236
2236
|
L(d);
|
|
@@ -2238,15 +2238,15 @@ function Vi(e, t = {}) {
|
|
|
2238
2238
|
return d.currentChar() === "-" ? (d.next(), m += `-${_t(d)}`) : m += _t(d), d.currentChar() === Ue && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), m;
|
|
2239
2239
|
}
|
|
2240
2240
|
function hn(d) {
|
|
2241
|
-
return d !==
|
|
2241
|
+
return d !== Fr && d !== de;
|
|
2242
2242
|
}
|
|
2243
|
-
function
|
|
2243
|
+
function Tr(d) {
|
|
2244
2244
|
L(d), v(d, "'");
|
|
2245
|
-
let m = "",
|
|
2245
|
+
let m = "", N = "";
|
|
2246
2246
|
for (; m = ee(d, hn); )
|
|
2247
|
-
m === "\\" ?
|
|
2247
|
+
m === "\\" ? N += gn(d) : N += m;
|
|
2248
2248
|
const M = d.currentChar();
|
|
2249
|
-
return M === de || M === Ue ? (u(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === de && (d.next(), v(d, "'")),
|
|
2249
|
+
return M === de || M === Ue ? (u(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === de && (d.next(), v(d, "'")), N) : (v(d, "'"), N);
|
|
2250
2250
|
}
|
|
2251
2251
|
function gn(d) {
|
|
2252
2252
|
const m = d.currentChar();
|
|
@@ -2262,10 +2262,10 @@ function Vi(e, t = {}) {
|
|
|
2262
2262
|
return u(x.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, m), "";
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
|
-
function Mt(d, m,
|
|
2265
|
+
function Mt(d, m, N) {
|
|
2266
2266
|
v(d, m);
|
|
2267
2267
|
let M = "";
|
|
2268
|
-
for (let ae = 0; ae <
|
|
2268
|
+
for (let ae = 0; ae < N; ae++) {
|
|
2269
2269
|
const oe = we(d);
|
|
2270
2270
|
if (!oe) {
|
|
2271
2271
|
u(x.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${m}${M}${d.currentChar()}`);
|
|
@@ -2280,21 +2280,21 @@ function Vi(e, t = {}) {
|
|
|
2280
2280
|
}
|
|
2281
2281
|
function En(d) {
|
|
2282
2282
|
L(d);
|
|
2283
|
-
let m = "",
|
|
2283
|
+
let m = "", N = "";
|
|
2284
2284
|
for (; m = ee(d, pn); )
|
|
2285
|
-
|
|
2286
|
-
return
|
|
2285
|
+
N += m;
|
|
2286
|
+
return N;
|
|
2287
2287
|
}
|
|
2288
2288
|
function Sn(d) {
|
|
2289
|
-
let m = "",
|
|
2289
|
+
let m = "", N = "";
|
|
2290
2290
|
for (; m = on(d); )
|
|
2291
|
-
|
|
2292
|
-
return
|
|
2291
|
+
N += m;
|
|
2292
|
+
return N;
|
|
2293
2293
|
}
|
|
2294
2294
|
function bn(d) {
|
|
2295
|
-
const m = (
|
|
2295
|
+
const m = (N) => {
|
|
2296
2296
|
const M = d.currentChar();
|
|
2297
|
-
return M === "{" || M === "@" || M === "|" || M === "(" || M === ")" || !M || M === De ?
|
|
2297
|
+
return M === "{" || M === "@" || M === "|" || M === "(" || M === ")" || !M || M === De ? N : (N += M, d.next(), m(N));
|
|
2298
2298
|
};
|
|
2299
2299
|
return m("");
|
|
2300
2300
|
}
|
|
@@ -2308,48 +2308,48 @@ function Vi(e, t = {}) {
|
|
|
2308
2308
|
return L(d), m;
|
|
2309
2309
|
}
|
|
2310
2310
|
function ht(d, m) {
|
|
2311
|
-
let
|
|
2311
|
+
let N = null;
|
|
2312
2312
|
switch (d.currentChar()) {
|
|
2313
2313
|
case "{":
|
|
2314
|
-
return m.braceNest >= 1 && u(x.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), d.next(),
|
|
2314
|
+
return m.braceNest >= 1 && u(x.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), d.next(), N = _(
|
|
2315
2315
|
m,
|
|
2316
2316
|
2,
|
|
2317
2317
|
"{"
|
|
2318
2318
|
/* TokenChars.BraceLeft */
|
|
2319
|
-
), L(d), m.braceNest++,
|
|
2319
|
+
), L(d), m.braceNest++, N;
|
|
2320
2320
|
case "}":
|
|
2321
|
-
return m.braceNest > 0 && m.currentType === 2 && u(x.EMPTY_PLACEHOLDER, o(), 0), d.next(),
|
|
2321
|
+
return m.braceNest > 0 && m.currentType === 2 && u(x.EMPTY_PLACEHOLDER, o(), 0), d.next(), N = _(
|
|
2322
2322
|
m,
|
|
2323
2323
|
3,
|
|
2324
2324
|
"}"
|
|
2325
2325
|
/* TokenChars.BraceRight */
|
|
2326
|
-
), m.braceNest--, m.braceNest > 0 && L(d), m.inLinked && m.braceNest === 0 && (m.inLinked = !1),
|
|
2326
|
+
), m.braceNest--, m.braceNest > 0 && L(d), m.inLinked && m.braceNest === 0 && (m.inLinked = !1), N;
|
|
2327
2327
|
case "@":
|
|
2328
|
-
return m.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
2328
|
+
return m.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N = He(d, m) || p(m), m.braceNest = 0, N;
|
|
2329
2329
|
default: {
|
|
2330
2330
|
let ae = !0, oe = !0, j = !0;
|
|
2331
2331
|
if (re(d))
|
|
2332
|
-
return m.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
2332
|
+
return m.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N = _(m, 1, mt(d)), m.braceNest = 0, m.inLinked = !1, N;
|
|
2333
2333
|
if (m.braceNest > 0 && (m.currentType === 4 || m.currentType === 5 || m.currentType === 6))
|
|
2334
2334
|
return u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), m.braceNest = 0, gt(d, m);
|
|
2335
2335
|
if (ae = T(d, m))
|
|
2336
|
-
return
|
|
2336
|
+
return N = _(m, 4, _n(d)), L(d), N;
|
|
2337
2337
|
if (oe = y(d, m))
|
|
2338
|
-
return
|
|
2338
|
+
return N = _(m, 5, mn(d)), L(d), N;
|
|
2339
2339
|
if (j = k(d, m))
|
|
2340
|
-
return
|
|
2340
|
+
return N = _(m, 6, Tr(d)), L(d), N;
|
|
2341
2341
|
if (!ae && !oe && !j)
|
|
2342
|
-
return
|
|
2342
|
+
return N = _(m, 12, En(d)), u(x.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), L(d), N;
|
|
2343
2343
|
break;
|
|
2344
2344
|
}
|
|
2345
2345
|
}
|
|
2346
|
-
return
|
|
2346
|
+
return N;
|
|
2347
2347
|
}
|
|
2348
2348
|
function He(d, m) {
|
|
2349
|
-
const { currentType:
|
|
2349
|
+
const { currentType: N } = m;
|
|
2350
2350
|
let M = null;
|
|
2351
2351
|
const ae = d.currentChar();
|
|
2352
|
-
switch ((
|
|
2352
|
+
switch ((N === 7 || N === 8 || N === 11 || N === 9) && (ae === de || ae === De) && u(x.INVALID_LINKED_FORMAT, o(), 0), ae) {
|
|
2353
2353
|
case "@":
|
|
2354
2354
|
return d.next(), M = _(
|
|
2355
2355
|
m,
|
|
@@ -2372,11 +2372,11 @@ function Vi(e, t = {}) {
|
|
|
2372
2372
|
/* TokenChars.LinkedDelimiter */
|
|
2373
2373
|
);
|
|
2374
2374
|
default:
|
|
2375
|
-
return re(d) ? (M = _(m, 1, mt(d)), m.braceNest = 0, m.inLinked = !1, M) : R(d, m) || V(d, m) ? (L(d), He(d, m)) : A(d, m) ? (L(d), _(m, 11, Sn(d))) : $(d, m) ? (L(d), ae === "{" ? ht(d, m) || M : _(m, 10, bn(d))) : (
|
|
2375
|
+
return re(d) ? (M = _(m, 1, mt(d)), m.braceNest = 0, m.inLinked = !1, M) : R(d, m) || V(d, m) ? (L(d), He(d, m)) : A(d, m) ? (L(d), _(m, 11, Sn(d))) : $(d, m) ? (L(d), ae === "{" ? ht(d, m) || M : _(m, 10, bn(d))) : (N === 7 && u(x.INVALID_LINKED_FORMAT, o(), 0), m.braceNest = 0, m.inLinked = !1, gt(d, m));
|
|
2376
2376
|
}
|
|
2377
2377
|
}
|
|
2378
2378
|
function gt(d, m) {
|
|
2379
|
-
let
|
|
2379
|
+
let N = {
|
|
2380
2380
|
type: 13
|
|
2381
2381
|
/* TokenTypes.EOF */
|
|
2382
2382
|
};
|
|
@@ -2398,17 +2398,17 @@ function Vi(e, t = {}) {
|
|
|
2398
2398
|
return He(d, m) || p(m);
|
|
2399
2399
|
default: {
|
|
2400
2400
|
if (re(d))
|
|
2401
|
-
return
|
|
2401
|
+
return N = _(m, 1, mt(d)), m.braceNest = 0, m.inLinked = !1, N;
|
|
2402
2402
|
if (_e(d))
|
|
2403
2403
|
return _(m, 0, dn(d));
|
|
2404
2404
|
break;
|
|
2405
2405
|
}
|
|
2406
2406
|
}
|
|
2407
|
-
return
|
|
2407
|
+
return N;
|
|
2408
2408
|
}
|
|
2409
2409
|
function vn() {
|
|
2410
|
-
const { currentType: d, offset: m, startLoc:
|
|
2411
|
-
return i.lastType = d, i.lastOffset = m, i.lastStartLoc =
|
|
2410
|
+
const { currentType: d, offset: m, startLoc: N, endLoc: M } = i;
|
|
2411
|
+
return i.lastType = d, i.lastOffset = m, i.lastStartLoc = N, i.lastEndLoc = M, i.offset = r(), i.startLoc = o(), a.currentChar() === Ue ? _(
|
|
2412
2412
|
i,
|
|
2413
2413
|
13
|
|
2414
2414
|
/* TokenTypes.EOF */
|
|
@@ -2440,7 +2440,7 @@ function Wi(e = {}) {
|
|
|
2440
2440
|
function a(h, E, T, y, ...k) {
|
|
2441
2441
|
const R = h.currentPosition();
|
|
2442
2442
|
if (R.offset += y, R.column += y, n) {
|
|
2443
|
-
const A = t ?
|
|
2443
|
+
const A = t ? $n(T, R) : null, V = dt(E, A, {
|
|
2444
2444
|
domain: Bi,
|
|
2445
2445
|
args: k
|
|
2446
2446
|
});
|
|
@@ -2475,7 +2475,7 @@ function Wi(e = {}) {
|
|
|
2475
2475
|
return E.type !== 11 ? (a(h, x.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), R.value = "", o(R, y, k), {
|
|
2476
2476
|
nextConsumeToken: E,
|
|
2477
2477
|
node: R
|
|
2478
|
-
}) : (E.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0,
|
|
2478
|
+
}) : (E.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Ce(E)), R.value = E.value || "", o(R, h.currentOffset(), h.currentPosition()), {
|
|
2479
2479
|
node: R
|
|
2480
2480
|
});
|
|
2481
2481
|
}
|
|
@@ -2490,18 +2490,18 @@ function Wi(e = {}) {
|
|
|
2490
2490
|
const k = f(h);
|
|
2491
2491
|
T.modifier = k.node, y = k.nextConsumeToken || h.nextToken();
|
|
2492
2492
|
}
|
|
2493
|
-
switch (y.type !== 9 && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2493
|
+
switch (y.type !== 9 && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce(y)), y = h.nextToken(), y.type === 2 && (y = h.nextToken()), y.type) {
|
|
2494
2494
|
case 10:
|
|
2495
|
-
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2495
|
+
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce(y)), T.key = u(h, y.value || "");
|
|
2496
2496
|
break;
|
|
2497
2497
|
case 4:
|
|
2498
|
-
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2498
|
+
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce(y)), T.key = i(h, y.value || "");
|
|
2499
2499
|
break;
|
|
2500
2500
|
case 5:
|
|
2501
|
-
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2501
|
+
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce(y)), T.key = l(h, y.value || "");
|
|
2502
2502
|
break;
|
|
2503
2503
|
case 6:
|
|
2504
|
-
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2504
|
+
y.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce(y)), T.key = c(h, y.value || "");
|
|
2505
2505
|
break;
|
|
2506
2506
|
default: {
|
|
2507
2507
|
a(h, x.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
|
|
@@ -2524,16 +2524,16 @@ function Wi(e = {}) {
|
|
|
2524
2524
|
const $ = R || h.nextToken();
|
|
2525
2525
|
switch (R = null, $.type) {
|
|
2526
2526
|
case 0:
|
|
2527
|
-
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2527
|
+
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce($)), k.items.push(s(h, $.value || ""));
|
|
2528
2528
|
break;
|
|
2529
2529
|
case 5:
|
|
2530
|
-
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2530
|
+
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce($)), k.items.push(l(h, $.value || ""));
|
|
2531
2531
|
break;
|
|
2532
2532
|
case 4:
|
|
2533
|
-
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2533
|
+
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce($)), k.items.push(i(h, $.value || ""));
|
|
2534
2534
|
break;
|
|
2535
2535
|
case 6:
|
|
2536
|
-
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0,
|
|
2536
|
+
$.value == null && a(h, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ce($)), k.items.push(c(h, $.value || ""));
|
|
2537
2537
|
break;
|
|
2538
2538
|
case 7: {
|
|
2539
2539
|
const re = _(h);
|
|
@@ -2566,7 +2566,7 @@ function Wi(e = {}) {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
return { parse: L };
|
|
2568
2568
|
}
|
|
2569
|
-
function
|
|
2569
|
+
function Ce(e) {
|
|
2570
2570
|
if (e.type === 13)
|
|
2571
2571
|
return "EOF";
|
|
2572
2572
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -2579,23 +2579,23 @@ function Yi(e, t = {}) {
|
|
|
2579
2579
|
};
|
|
2580
2580
|
return { context: () => n, helper: (o) => (n.helpers.add(o), o) };
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function Mr(e, t) {
|
|
2583
2583
|
for (let n = 0; n < e.length; n++)
|
|
2584
|
-
|
|
2584
|
+
mr(e[n], t);
|
|
2585
2585
|
}
|
|
2586
|
-
function
|
|
2586
|
+
function mr(e, t) {
|
|
2587
2587
|
switch (e.type) {
|
|
2588
2588
|
case 1:
|
|
2589
|
-
|
|
2589
|
+
Mr(e.cases, t), t.helper(
|
|
2590
2590
|
"plural"
|
|
2591
2591
|
/* HelperNameMap.PLURAL */
|
|
2592
2592
|
);
|
|
2593
2593
|
break;
|
|
2594
2594
|
case 2:
|
|
2595
|
-
|
|
2595
|
+
Mr(e.items, t);
|
|
2596
2596
|
break;
|
|
2597
2597
|
case 6: {
|
|
2598
|
-
|
|
2598
|
+
mr(e.key, t), t.helper(
|
|
2599
2599
|
"linked"
|
|
2600
2600
|
/* HelperNameMap.LINKED */
|
|
2601
2601
|
), t.helper(
|
|
@@ -2629,15 +2629,15 @@ function Hi(e, t = {}) {
|
|
|
2629
2629
|
n.helper(
|
|
2630
2630
|
"normalize"
|
|
2631
2631
|
/* HelperNameMap.NORMALIZE */
|
|
2632
|
-
), e.body &&
|
|
2632
|
+
), e.body && mr(e.body, n);
|
|
2633
2633
|
const a = n.context();
|
|
2634
2634
|
e.helpers = Array.from(a.helpers);
|
|
2635
2635
|
}
|
|
2636
2636
|
function Ki(e) {
|
|
2637
2637
|
const t = e.body;
|
|
2638
|
-
return t.type === 2 ?
|
|
2638
|
+
return t.type === 2 ? Ur(t) : t.cases.forEach((n) => Ur(n)), e;
|
|
2639
2639
|
}
|
|
2640
|
-
function
|
|
2640
|
+
function Ur(e) {
|
|
2641
2641
|
if (e.items.length === 1) {
|
|
2642
2642
|
const t = e.items[0];
|
|
2643
2643
|
(t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
|
|
@@ -2650,7 +2650,7 @@ function Mr(e) {
|
|
|
2650
2650
|
t.push(a.value);
|
|
2651
2651
|
}
|
|
2652
2652
|
if (t.length === e.items.length) {
|
|
2653
|
-
e.static =
|
|
2653
|
+
e.static = dr(t);
|
|
2654
2654
|
for (let n = 0; n < e.items.length; n++) {
|
|
2655
2655
|
const a = e.items[n];
|
|
2656
2656
|
(a.type === 3 || a.type === 9) && delete a.value;
|
|
@@ -2851,7 +2851,7 @@ const el = (e, t = {}) => {
|
|
|
2851
2851
|
breakLineCode: r,
|
|
2852
2852
|
needIndent: o
|
|
2853
2853
|
});
|
|
2854
|
-
l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${
|
|
2854
|
+
l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${dr(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "), ut(l, e), l.deindent(o), l.push("}"), delete e.helpers;
|
|
2855
2855
|
const { code: i, map: c } = l.context();
|
|
2856
2856
|
return {
|
|
2857
2857
|
ast: e,
|
|
@@ -2873,7 +2873,7 @@ function nl() {
|
|
|
2873
2873
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Qe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Qe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
2874
2874
|
}
|
|
2875
2875
|
function ye(e) {
|
|
2876
|
-
return Y(e) &&
|
|
2876
|
+
return Y(e) && hr(e) === 0 && (Te(e, "b") || Te(e, "body"));
|
|
2877
2877
|
}
|
|
2878
2878
|
const Qa = ["b", "body"];
|
|
2879
2879
|
function rl(e) {
|
|
@@ -2892,7 +2892,7 @@ function sl(e) {
|
|
|
2892
2892
|
return We(e, Za, []);
|
|
2893
2893
|
}
|
|
2894
2894
|
const eo = ["t", "type"];
|
|
2895
|
-
function
|
|
2895
|
+
function hr(e) {
|
|
2896
2896
|
return We(e, eo);
|
|
2897
2897
|
}
|
|
2898
2898
|
const to = ["v", "value"];
|
|
@@ -2947,26 +2947,26 @@ function cl(e, t) {
|
|
|
2947
2947
|
0
|
|
2948
2948
|
/* NodeTypes.Resource */
|
|
2949
2949
|
);
|
|
2950
|
-
if (
|
|
2950
|
+
if (hr(n) === 1) {
|
|
2951
2951
|
const o = al(n);
|
|
2952
2952
|
return e.plural(o.reduce((s, l) => [
|
|
2953
2953
|
...s,
|
|
2954
|
-
|
|
2954
|
+
xr(e, l)
|
|
2955
2955
|
], []));
|
|
2956
2956
|
} else
|
|
2957
|
-
return
|
|
2957
|
+
return xr(e, n);
|
|
2958
2958
|
}
|
|
2959
|
-
function
|
|
2959
|
+
function xr(e, t) {
|
|
2960
2960
|
const n = ol(t);
|
|
2961
2961
|
if (n != null)
|
|
2962
2962
|
return e.type === "text" ? n : e.normalize([n]);
|
|
2963
2963
|
{
|
|
2964
|
-
const a = sl(t).reduce((r, o) => [...r,
|
|
2964
|
+
const a = sl(t).reduce((r, o) => [...r, Wn(e, o)], []);
|
|
2965
2965
|
return e.normalize(a);
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2969
|
-
const n =
|
|
2968
|
+
function Wn(e, t) {
|
|
2969
|
+
const n = hr(t);
|
|
2970
2970
|
switch (n) {
|
|
2971
2971
|
case 3:
|
|
2972
2972
|
return Bt(t, n);
|
|
@@ -2990,7 +2990,7 @@ function $n(e, t) {
|
|
|
2990
2990
|
}
|
|
2991
2991
|
case 6: {
|
|
2992
2992
|
const a = t, r = il(a), o = ll(a);
|
|
2993
|
-
return e.linked(
|
|
2993
|
+
return e.linked(Wn(e, o), r ? Wn(e, r) : void 0, e.type);
|
|
2994
2994
|
}
|
|
2995
2995
|
case 7:
|
|
2996
2996
|
return Bt(t, n);
|
|
@@ -3076,21 +3076,21 @@ const bl = {
|
|
|
3076
3076
|
[fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
|
|
3077
3077
|
[fe.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
|
|
3078
3078
|
};
|
|
3079
|
-
function
|
|
3080
|
-
return t.locale != null ?
|
|
3079
|
+
function gr(e, t) {
|
|
3080
|
+
return t.locale != null ? Vr(t.locale) : Vr(e.locale);
|
|
3081
3081
|
}
|
|
3082
|
-
let
|
|
3083
|
-
function
|
|
3082
|
+
let Nn;
|
|
3083
|
+
function Vr(e) {
|
|
3084
3084
|
if (P(e))
|
|
3085
3085
|
return e;
|
|
3086
3086
|
if (J(e)) {
|
|
3087
|
-
if (e.resolvedOnce &&
|
|
3088
|
-
return
|
|
3087
|
+
if (e.resolvedOnce && Nn != null)
|
|
3088
|
+
return Nn;
|
|
3089
3089
|
if (e.constructor.name === "Function") {
|
|
3090
3090
|
const t = e();
|
|
3091
3091
|
if (Ai(t))
|
|
3092
3092
|
throw Pe(fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
3093
|
-
return
|
|
3093
|
+
return Nn = t;
|
|
3094
3094
|
} else
|
|
3095
3095
|
throw Pe(fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
3096
3096
|
} else
|
|
@@ -3110,13 +3110,13 @@ function oo(e, t, n) {
|
|
|
3110
3110
|
o = [];
|
|
3111
3111
|
let s = [n];
|
|
3112
3112
|
for (; ne(s); )
|
|
3113
|
-
s =
|
|
3113
|
+
s = Br(o, s, t);
|
|
3114
3114
|
const l = ne(t) || !G(t) ? t : t.default ? t.default : null;
|
|
3115
|
-
s = P(l) ? [l] : l, ne(s) &&
|
|
3115
|
+
s = P(l) ? [l] : l, ne(s) && Br(o, s, !1), r.__localeChainCache.set(a, o);
|
|
3116
3116
|
}
|
|
3117
3117
|
return o;
|
|
3118
3118
|
}
|
|
3119
|
-
function
|
|
3119
|
+
function Br(e, t, n) {
|
|
3120
3120
|
let a = !0;
|
|
3121
3121
|
for (let r = 0; r < t.length && K(a); r++) {
|
|
3122
3122
|
const o = t[r];
|
|
@@ -3304,10 +3304,10 @@ Ye[
|
|
|
3304
3304
|
]
|
|
3305
3305
|
};
|
|
3306
3306
|
const Al = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
3307
|
-
function
|
|
3307
|
+
function Nl(e) {
|
|
3308
3308
|
return Al.test(e);
|
|
3309
3309
|
}
|
|
3310
|
-
function
|
|
3310
|
+
function Cl(e) {
|
|
3311
3311
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
3312
3312
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
3313
3313
|
}
|
|
@@ -3350,7 +3350,7 @@ function Ol(e) {
|
|
|
3350
3350
|
}
|
|
3351
3351
|
function Il(e) {
|
|
3352
3352
|
const t = e.trim();
|
|
3353
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
3353
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Nl(t) ? Cl(t) : "*" + t;
|
|
3354
3354
|
}
|
|
3355
3355
|
function Ll(e) {
|
|
3356
3356
|
const t = [];
|
|
@@ -3408,15 +3408,15 @@ function Ll(e) {
|
|
|
3408
3408
|
return t;
|
|
3409
3409
|
}
|
|
3410
3410
|
}
|
|
3411
|
-
const
|
|
3411
|
+
const Gr = /* @__PURE__ */ new Map();
|
|
3412
3412
|
function wl(e, t) {
|
|
3413
3413
|
return Y(e) ? e[t] : null;
|
|
3414
3414
|
}
|
|
3415
3415
|
function Dl(e, t) {
|
|
3416
3416
|
if (!Y(e))
|
|
3417
3417
|
return null;
|
|
3418
|
-
let n =
|
|
3419
|
-
if (n || (n = Ll(t), n &&
|
|
3418
|
+
let n = Gr.get(t);
|
|
3419
|
+
if (n || (n = Ll(t), n && Gr.set(t, n)), !n)
|
|
3420
3420
|
return null;
|
|
3421
3421
|
const a = n.length;
|
|
3422
3422
|
let r = e, o = 0;
|
|
@@ -3451,12 +3451,12 @@ const me = {
|
|
|
3451
3451
|
function ze(e, ...t) {
|
|
3452
3452
|
return zt(Rl[e], ...t);
|
|
3453
3453
|
}
|
|
3454
|
-
const Pl = "11.1.11", en = -1, Lt = "en-US", qt = "",
|
|
3454
|
+
const Pl = "11.1.11", en = -1, Lt = "en-US", qt = "", $r = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
3455
3455
|
function Fl() {
|
|
3456
3456
|
return {
|
|
3457
3457
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && Y(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
3458
3458
|
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && Y(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
3459
|
-
capitalize: (e, t) => t === "text" && P(e) ?
|
|
3459
|
+
capitalize: (e, t) => t === "text" && P(e) ? $r(e) : t === "vnode" && Y(e) && "__v_isVNode" in e ? $r(e.children) : e
|
|
3460
3460
|
};
|
|
3461
3461
|
}
|
|
3462
3462
|
let so;
|
|
@@ -3476,18 +3476,18 @@ const Vl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
3476
3476
|
co = e;
|
|
3477
3477
|
}, Bl = /* @__NO_SIDE_EFFECTS__ */ () => co;
|
|
3478
3478
|
let uo = null;
|
|
3479
|
-
const
|
|
3479
|
+
const Wr = (e) => {
|
|
3480
3480
|
uo = e;
|
|
3481
3481
|
}, Gl = () => uo;
|
|
3482
|
-
let
|
|
3482
|
+
let Yr = 0;
|
|
3483
3483
|
function $l(e = {}) {
|
|
3484
|
-
const t = J(e.onWarn) ? e.onWarn : gi, n = P(e.version) ? e.version : Pl, a = P(e.locale) || J(e.locale) ? e.locale : Lt, r = J(a) ? Lt : a, o = ne(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, s = G(e.messages) ? e.messages :
|
|
3485
|
-
process.env.NODE_ENV !== "production" && J(e.messageCompiler) &&
|
|
3484
|
+
const t = J(e.onWarn) ? e.onWarn : gi, n = P(e.version) ? e.version : Pl, a = P(e.locale) || J(e.locale) ? e.locale : Lt, r = J(a) ? Lt : a, o = ne(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, s = G(e.messages) ? e.messages : Cn(r), l = G(e.datetimeFormats) ? e.datetimeFormats : Cn(r), i = G(e.numberFormats) ? e.numberFormats : Cn(r), c = le(X(), e.modifiers, Fl()), f = e.pluralRules || X(), u = J(e.missing) ? e.missing : null, _ = K(e.missingWarn) || ct(e.missingWarn) ? e.missingWarn : !0, p = K(e.fallbackWarn) || ct(e.fallbackWarn) ? e.fallbackWarn : !0, v = !!e.fallbackFormat, g = !!e.unresolving, L = J(e.postTranslation) ? e.postTranslation : null, h = G(e.processor) ? e.processor : null, E = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = J(e.messageCompiler) ? e.messageCompiler : so;
|
|
3485
|
+
process.env.NODE_ENV !== "production" && J(e.messageCompiler) && ur(ze(me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3486
3486
|
const k = J(e.messageResolver) ? e.messageResolver : io || wl, R = J(e.localeFallbacker) ? e.localeFallbacker : lo || vl, A = Y(e.fallbackContext) ? e.fallbackContext : void 0, V = e, $ = Y(V.__datetimeFormatters) ? V.__datetimeFormatters : /* @__PURE__ */ new Map(), re = Y(V.__numberFormatters) ? V.__numberFormatters : /* @__PURE__ */ new Map(), _e = Y(V.__meta) ? V.__meta : {};
|
|
3487
|
-
|
|
3487
|
+
Yr++;
|
|
3488
3488
|
const ee = {
|
|
3489
3489
|
version: n,
|
|
3490
|
-
cid:
|
|
3490
|
+
cid: Yr,
|
|
3491
3491
|
locale: a,
|
|
3492
3492
|
fallbackLocale: o,
|
|
3493
3493
|
messages: s,
|
|
@@ -3511,14 +3511,14 @@ function $l(e = {}) {
|
|
|
3511
3511
|
};
|
|
3512
3512
|
return ee.datetimeFormats = l, ee.numberFormats = i, ee.__datetimeFormatters = $, ee.__numberFormatters = re, process.env.NODE_ENV !== "production" && (ee.__v_emitter = V.__v_emitter != null ? V.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && gl(ee, n, _e), ee;
|
|
3513
3513
|
}
|
|
3514
|
-
const
|
|
3514
|
+
const Cn = (e) => ({ [e]: X() });
|
|
3515
3515
|
function tn(e, t) {
|
|
3516
3516
|
return e instanceof RegExp ? e.test(t) : e;
|
|
3517
3517
|
}
|
|
3518
3518
|
function fo(e, t) {
|
|
3519
3519
|
return e instanceof RegExp ? e.test(t) : e;
|
|
3520
3520
|
}
|
|
3521
|
-
function
|
|
3521
|
+
function pr(e, t, n, a, r) {
|
|
3522
3522
|
const { missing: o, onWarn: s } = e;
|
|
3523
3523
|
if (process.env.NODE_ENV !== "production") {
|
|
3524
3524
|
const l = e.__v_emitter;
|
|
@@ -3551,15 +3551,15 @@ function Wl(e, t) {
|
|
|
3551
3551
|
return !0;
|
|
3552
3552
|
return !1;
|
|
3553
3553
|
}
|
|
3554
|
-
const
|
|
3555
|
-
dateTimeFormat:
|
|
3556
|
-
numberFormat:
|
|
3554
|
+
const Hr = typeof Intl < "u", mo = {
|
|
3555
|
+
dateTimeFormat: Hr && typeof Intl.DateTimeFormat < "u",
|
|
3556
|
+
numberFormat: Hr && typeof Intl.NumberFormat < "u"
|
|
3557
3557
|
};
|
|
3558
|
-
function
|
|
3558
|
+
function Kr(e, ...t) {
|
|
3559
3559
|
const { datetimeFormats: n, unresolving: a, fallbackLocale: r, onWarn: o, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
|
|
3560
3560
|
if (process.env.NODE_ENV !== "production" && !mo.dateTimeFormat)
|
|
3561
3561
|
return o(ze(me.CANNOT_FORMAT_DATE)), qt;
|
|
3562
|
-
const [i, c, f, u] =
|
|
3562
|
+
const [i, c, f, u] = Yn(...t), _ = K(f.missingWarn) ? f.missingWarn : e.missingWarn, p = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, v = !!f.part, g = gr(e, f), L = s(
|
|
3563
3563
|
e,
|
|
3564
3564
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3565
3565
|
r,
|
|
@@ -3585,7 +3585,7 @@ function Hr(e, ...t) {
|
|
|
3585
3585
|
}
|
|
3586
3586
|
if (h = n[E] || {}, T = h[i], G(T))
|
|
3587
3587
|
break;
|
|
3588
|
-
|
|
3588
|
+
pr(e, i, E, _, R), y = k;
|
|
3589
3589
|
}
|
|
3590
3590
|
if (!G(T) || !P(E))
|
|
3591
3591
|
return a ? en : i;
|
|
@@ -3616,7 +3616,7 @@ const ho = [
|
|
|
3616
3616
|
"hourCycle",
|
|
3617
3617
|
"fractionalSecondDigits"
|
|
3618
3618
|
];
|
|
3619
|
-
function
|
|
3619
|
+
function Yn(...e) {
|
|
3620
3620
|
const [t, n, a, r] = e, o = X();
|
|
3621
3621
|
let s = X(), l;
|
|
3622
3622
|
if (P(t)) {
|
|
@@ -3642,18 +3642,18 @@ function Wn(...e) {
|
|
|
3642
3642
|
ho.includes(i) ? s[i] = n[i] : o[i] = n[i];
|
|
3643
3643
|
}), P(a) ? o.locale = a : G(a) && (s = a), G(r) && (s = r), [o.key || "", l, o, s];
|
|
3644
3644
|
}
|
|
3645
|
-
function
|
|
3645
|
+
function jr(e, t, n) {
|
|
3646
3646
|
const a = e;
|
|
3647
3647
|
for (const r in n) {
|
|
3648
3648
|
const o = `${t}__${r}`;
|
|
3649
3649
|
a.__datetimeFormatters.has(o) && a.__datetimeFormatters.delete(o);
|
|
3650
3650
|
}
|
|
3651
3651
|
}
|
|
3652
|
-
function
|
|
3652
|
+
function qr(e, ...t) {
|
|
3653
3653
|
const { numberFormats: n, unresolving: a, fallbackLocale: r, onWarn: o, localeFallbacker: s } = e, { __numberFormatters: l } = e;
|
|
3654
3654
|
if (process.env.NODE_ENV !== "production" && !mo.numberFormat)
|
|
3655
3655
|
return o(ze(me.CANNOT_FORMAT_NUMBER)), qt;
|
|
3656
|
-
const [i, c, f, u] =
|
|
3656
|
+
const [i, c, f, u] = Hn(...t), _ = K(f.missingWarn) ? f.missingWarn : e.missingWarn, p = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, v = !!f.part, g = gr(e, f), L = s(
|
|
3657
3657
|
e,
|
|
3658
3658
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3659
3659
|
r,
|
|
@@ -3679,7 +3679,7 @@ function jr(e, ...t) {
|
|
|
3679
3679
|
}
|
|
3680
3680
|
if (h = n[E] || {}, T = h[i], G(T))
|
|
3681
3681
|
break;
|
|
3682
|
-
|
|
3682
|
+
pr(e, i, E, _, R), y = k;
|
|
3683
3683
|
}
|
|
3684
3684
|
if (!G(T) || !P(E))
|
|
3685
3685
|
return a ? en : i;
|
|
@@ -3710,7 +3710,7 @@ const go = [
|
|
|
3710
3710
|
"roundingIncrement",
|
|
3711
3711
|
"trailingZeroDisplay"
|
|
3712
3712
|
];
|
|
3713
|
-
function
|
|
3713
|
+
function Hn(...e) {
|
|
3714
3714
|
const [t, n, a, r] = e, o = X();
|
|
3715
3715
|
let s = X();
|
|
3716
3716
|
if (!ie(t))
|
|
@@ -3720,15 +3720,15 @@ function Yn(...e) {
|
|
|
3720
3720
|
go.includes(i) ? s[i] = n[i] : o[i] = n[i];
|
|
3721
3721
|
}), P(a) ? o.locale = a : G(a) && (s = a), G(r) && (s = r), [o.key || "", l, o, s];
|
|
3722
3722
|
}
|
|
3723
|
-
function
|
|
3723
|
+
function Xr(e, t, n) {
|
|
3724
3724
|
const a = e;
|
|
3725
3725
|
for (const r in n) {
|
|
3726
3726
|
const o = `${t}__${r}`;
|
|
3727
3727
|
a.__numberFormatters.has(o) && a.__numberFormatters.delete(o);
|
|
3728
3728
|
}
|
|
3729
3729
|
}
|
|
3730
|
-
const Yl = (e) => e, Hl = (e) => "", Kl = "text", jl = (e) => e.length === 0 ? "" :
|
|
3731
|
-
function
|
|
3730
|
+
const Yl = (e) => e, Hl = (e) => "", Kl = "text", jl = (e) => e.length === 0 ? "" : dr(e), ql = Ni;
|
|
3731
|
+
function Qr(e, t) {
|
|
3732
3732
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
3733
3733
|
}
|
|
3734
3734
|
function Xl(e) {
|
|
@@ -3739,7 +3739,7 @@ function Ql(e, t) {
|
|
|
3739
3739
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
3740
3740
|
}
|
|
3741
3741
|
function Jl(e = {}) {
|
|
3742
|
-
const t = e.locale, n = Xl(e), a = Y(e.pluralRules) && P(t) && J(e.pluralRules[t]) ? e.pluralRules[t] :
|
|
3742
|
+
const t = e.locale, n = Xl(e), a = Y(e.pluralRules) && P(t) && J(e.pluralRules[t]) ? e.pluralRules[t] : Qr, r = Y(e.pluralRules) && P(t) && J(e.pluralRules[t]) ? Qr : void 0, o = (h) => h[a(n, h.length, r)], s = e.list || [], l = (h) => s[h], i = e.named || X();
|
|
3743
3743
|
ie(e.pluralIndex) && Ql(n, i);
|
|
3744
3744
|
const c = (h) => i[h];
|
|
3745
3745
|
function f(h, E) {
|
|
@@ -3768,9 +3768,9 @@ function Jl(e = {}) {
|
|
|
3768
3768
|
};
|
|
3769
3769
|
return L;
|
|
3770
3770
|
}
|
|
3771
|
-
const
|
|
3772
|
-
function
|
|
3773
|
-
const { fallbackFormat: n, postTranslation: a, unresolving: r, messageCompiler: o, fallbackLocale: s, messages: l } = e, [i, c] =
|
|
3771
|
+
const Jr = () => "", Se = (e) => J(e);
|
|
3772
|
+
function zr(e, ...t) {
|
|
3773
|
+
const { fallbackFormat: n, postTranslation: a, unresolving: r, messageCompiler: o, fallbackLocale: s, messages: l } = e, [i, c] = Kn(...t), f = K(c.missingWarn) ? c.missingWarn : e.missingWarn, u = K(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, _ = K(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, p = !!c.resolvedMessage, v = P(c.default) || K(c.default) ? K(c.default) ? o ? i : () => i : c.default : n ? o ? i : () => i : null, g = n || v != null && (P(v) || J(v)), L = gr(e, c);
|
|
3774
3774
|
_ && zl(c);
|
|
3775
3775
|
let [h, E, T] = p ? [
|
|
3776
3776
|
i,
|
|
@@ -3802,8 +3802,8 @@ function Jr(e, ...t) {
|
|
|
3802
3802
|
return ee;
|
|
3803
3803
|
}
|
|
3804
3804
|
function zl(e) {
|
|
3805
|
-
ne(e.list) ? e.list = e.list.map((t) => P(t) ?
|
|
3806
|
-
P(e.named[t]) && (e.named[t] =
|
|
3805
|
+
ne(e.list) ? e.list = e.list.map((t) => P(t) ? kr(t) : t) : Y(e.named) && Object.keys(e.named).forEach((t) => {
|
|
3806
|
+
P(e.named[t]) && (e.named[t] = kr(e.named[t]));
|
|
3807
3807
|
});
|
|
3808
3808
|
}
|
|
3809
3809
|
function po(e, t, n, a, r, o) {
|
|
@@ -3839,7 +3839,7 @@ function po(e, t, n, a, r, o) {
|
|
|
3839
3839
|
if (P(p) || ye(p) || Se(p))
|
|
3840
3840
|
break;
|
|
3841
3841
|
if (!Wl(_, f)) {
|
|
3842
|
-
const k =
|
|
3842
|
+
const k = pr(
|
|
3843
3843
|
e,
|
|
3844
3844
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3845
3845
|
t,
|
|
@@ -3892,7 +3892,7 @@ function Zl(e, t, n) {
|
|
|
3892
3892
|
}
|
|
3893
3893
|
return s;
|
|
3894
3894
|
}
|
|
3895
|
-
function
|
|
3895
|
+
function Kn(...e) {
|
|
3896
3896
|
const [t, n, a] = e, r = X();
|
|
3897
3897
|
if (!P(t) && !ie(t) && !Se(t) && !ye(t))
|
|
3898
3898
|
throw Pe(fe.INVALID_ARGUMENT);
|
|
@@ -3906,7 +3906,7 @@ function ec(e, t, n, a, r, o) {
|
|
|
3906
3906
|
warnHtmlMessage: r,
|
|
3907
3907
|
onError: (s) => {
|
|
3908
3908
|
if (o && o(s), process.env.NODE_ENV !== "production") {
|
|
3909
|
-
const l = tc(a), i = `Message compilation error: ${s.message}`, c = s.location && l &&
|
|
3909
|
+
const l = tc(a), i = `Message compilation error: ${s.message}`, c = s.location && l && Ci(l, s.location.start.offset, s.location.end.offset), f = e.__v_emitter;
|
|
3910
3910
|
f && l && f.emit("compile-error", {
|
|
3911
3911
|
message: l,
|
|
3912
3912
|
error: s.message,
|
|
@@ -3950,8 +3950,8 @@ function nc(e, t, n, a) {
|
|
|
3950
3950
|
const E = Eo(e, p, t, g, p, () => {
|
|
3951
3951
|
L = !0;
|
|
3952
3952
|
});
|
|
3953
|
-
return L ?
|
|
3954
|
-
} else return Se(g) ? g :
|
|
3953
|
+
return L ? Jr : E;
|
|
3954
|
+
} else return Se(g) ? g : Jr;
|
|
3955
3955
|
}
|
|
3956
3956
|
};
|
|
3957
3957
|
return e.processor && (_.processor = e.processor), a.list && (_.list = a.list), a.named && (_.named = a.named), ie(a.plural) && (_.pluralIndex = a.plural), _;
|
|
@@ -3964,13 +3964,13 @@ function So() {
|
|
|
3964
3964
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
3965
3965
|
}
|
|
3966
3966
|
const ac = typeof Proxy == "function", oc = "devtools-plugin:setup", sc = "plugin:settings:set";
|
|
3967
|
-
let nt,
|
|
3967
|
+
let nt, jn;
|
|
3968
3968
|
function ic() {
|
|
3969
3969
|
var e;
|
|
3970
|
-
return nt !== void 0 || (typeof window < "u" && window.performance ? (nt = !0,
|
|
3970
|
+
return nt !== void 0 || (typeof window < "u" && window.performance ? (nt = !0, jn = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (nt = !0, jn = globalThis.perf_hooks.performance) : nt = !1), nt;
|
|
3971
3971
|
}
|
|
3972
3972
|
function lc() {
|
|
3973
|
-
return ic() ?
|
|
3973
|
+
return ic() ? jn.now() : Date.now();
|
|
3974
3974
|
}
|
|
3975
3975
|
class cc {
|
|
3976
3976
|
constructor(t, n) {
|
|
@@ -4093,7 +4093,7 @@ const _c = {
|
|
|
4093
4093
|
[z.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
4094
4094
|
[z.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
4095
4095
|
[z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
4096
|
-
},
|
|
4096
|
+
}, qn = /* @__PURE__ */ Le("__translateVNode"), Xn = /* @__PURE__ */ Le("__datetimeParts"), Qn = /* @__PURE__ */ Le("__numberParts"), Ze = /* @__PURE__ */ Le("__enableEmitter"), wt = /* @__PURE__ */ Le("__disableEmitter"), bo = Le("__setPluralRules"), vo = /* @__PURE__ */ Le("__injectWithOption"), Jn = /* @__PURE__ */ Le("__dispose"), be = {
|
|
4097
4097
|
FALLBACK_TO_ROOT: kl,
|
|
4098
4098
|
// 8
|
|
4099
4099
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
@@ -4154,7 +4154,7 @@ function Dt(e) {
|
|
|
4154
4154
|
}
|
|
4155
4155
|
return e;
|
|
4156
4156
|
}
|
|
4157
|
-
function
|
|
4157
|
+
function Er(e, t) {
|
|
4158
4158
|
const { messages: n, __i18n: a, messageResolver: r, flatJson: o } = t, s = G(n) ? n : ne(a) ? X() : { [e]: X() };
|
|
4159
4159
|
if (ne(a) && a.forEach((l) => {
|
|
4160
4160
|
if ("locale" in l && "resource" in l) {
|
|
@@ -4172,7 +4172,7 @@ function yo(e) {
|
|
|
4172
4172
|
}
|
|
4173
4173
|
function To(e, t, n) {
|
|
4174
4174
|
let a = Y(t.messages) ? t.messages : X();
|
|
4175
|
-
"__i18nGlobal" in n && (a =
|
|
4175
|
+
"__i18nGlobal" in n && (a = Er(e.locale.value, {
|
|
4176
4176
|
messages: a,
|
|
4177
4177
|
__i18n: n.__i18nGlobal
|
|
4178
4178
|
}));
|
|
@@ -4195,20 +4195,20 @@ function To(e, t, n) {
|
|
|
4195
4195
|
}
|
|
4196
4196
|
}
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4198
|
+
function Zr(e) {
|
|
4199
4199
|
return S(Yo, null, e, 0);
|
|
4200
4200
|
}
|
|
4201
|
-
const
|
|
4202
|
-
let
|
|
4203
|
-
function
|
|
4204
|
-
return (t, n, a, r) => e(n, a,
|
|
4201
|
+
const ea = "__INTLIFY_META__", ta = () => [], hc = () => !1;
|
|
4202
|
+
let na = 0;
|
|
4203
|
+
function ra(e) {
|
|
4204
|
+
return (t, n, a, r) => e(n, a, Nt() || void 0, r);
|
|
4205
4205
|
}
|
|
4206
4206
|
const gc = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
4207
|
-
const e =
|
|
4207
|
+
const e = Nt();
|
|
4208
4208
|
let t = null;
|
|
4209
|
-
return e && (t = yo(e)[
|
|
4209
|
+
return e && (t = yo(e)[ea]) ? { [ea]: t } : null;
|
|
4210
4210
|
};
|
|
4211
|
-
function
|
|
4211
|
+
function Sr(e = {}) {
|
|
4212
4212
|
const { __root: t, __injectWithOption: n } = e, a = t === void 0, r = e.flatJson, o = Ae ? xo : Vo;
|
|
4213
4213
|
let s = K(e.inheritLocale) ? e.inheritLocale : !0;
|
|
4214
4214
|
const l = o(
|
|
@@ -4217,12 +4217,12 @@ function Er(e = {}) {
|
|
|
4217
4217
|
), i = o(
|
|
4218
4218
|
// prettier-ignore
|
|
4219
4219
|
t && s ? t.fallbackLocale.value : P(e.fallbackLocale) || ne(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
|
|
4220
|
-
), c = o(
|
|
4221
|
-
let _ = t ? t.missingWarn : K(e.missingWarn) || ct(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : K(e.fallbackWarn) || ct(e.fallbackWarn) ? e.fallbackWarn : !0, v = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, L = J(e.missing) ? e.missing : null, h = J(e.missing) ?
|
|
4220
|
+
), c = o(Er(l.value, e)), f = o(G(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), u = o(G(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
|
|
4221
|
+
let _ = t ? t.missingWarn : K(e.missingWarn) || ct(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : K(e.fallbackWarn) || ct(e.fallbackWarn) ? e.fallbackWarn : !0, v = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, L = J(e.missing) ? e.missing : null, h = J(e.missing) ? ra(e.missing) : null, E = J(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
|
|
4222
4222
|
const k = t ? t.modifiers : G(e.modifiers) ? e.modifiers : {};
|
|
4223
4223
|
let R = e.pluralRules || t && t.pluralRules, A;
|
|
4224
4224
|
A = (() => {
|
|
4225
|
-
a &&
|
|
4225
|
+
a && Wr(null);
|
|
4226
4226
|
const b = {
|
|
4227
4227
|
version: fc,
|
|
4228
4228
|
locale: l.value,
|
|
@@ -4244,7 +4244,7 @@ function Er(e = {}) {
|
|
|
4244
4244
|
};
|
|
4245
4245
|
b.datetimeFormats = f.value, b.numberFormats = u.value, b.__datetimeFormatters = G(A) ? A.__datetimeFormatters : void 0, b.__numberFormatters = G(A) ? A.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (b.__v_emitter = G(A) ? A.__v_emitter : void 0);
|
|
4246
4246
|
const O = $l(b);
|
|
4247
|
-
return a &&
|
|
4247
|
+
return a && Wr(O), O;
|
|
4248
4248
|
})(), bt(A, l.value, i.value);
|
|
4249
4249
|
function $() {
|
|
4250
4250
|
return [
|
|
@@ -4276,7 +4276,7 @@ function Er(e = {}) {
|
|
|
4276
4276
|
return L;
|
|
4277
4277
|
}
|
|
4278
4278
|
function un(b) {
|
|
4279
|
-
b !== null && (h =
|
|
4279
|
+
b !== null && (h = ra(b)), L = b, A.missing = h;
|
|
4280
4280
|
}
|
|
4281
4281
|
function fn(b, O) {
|
|
4282
4282
|
return b !== "translate" || !O.resolvedMessage;
|
|
@@ -4296,8 +4296,8 @@ function Er(e = {}) {
|
|
|
4296
4296
|
key: je,
|
|
4297
4297
|
type: q
|
|
4298
4298
|
}), void 0), process.env.NODE_ENV !== "production")) {
|
|
4299
|
-
const { __v_emitter:
|
|
4300
|
-
|
|
4299
|
+
const { __v_emitter: Ar } = A;
|
|
4300
|
+
Ar && v && Ar.emit("fallback", {
|
|
4301
4301
|
type: q,
|
|
4302
4302
|
key: je,
|
|
4303
4303
|
to: "global",
|
|
@@ -4312,7 +4312,7 @@ function Er(e = {}) {
|
|
|
4312
4312
|
}
|
|
4313
4313
|
};
|
|
4314
4314
|
function _t(...b) {
|
|
4315
|
-
return we((O) => Reflect.apply(
|
|
4315
|
+
return we((O) => Reflect.apply(zr, null, [O, ...b]), () => Kn(...b), "translate", (O) => Reflect.apply(O.t, O, [...b]), (O) => O, (O) => P(O));
|
|
4316
4316
|
}
|
|
4317
4317
|
function dn(...b) {
|
|
4318
4318
|
const [O, q, se] = b;
|
|
@@ -4321,13 +4321,13 @@ function Er(e = {}) {
|
|
|
4321
4321
|
return _t(O, q, le({ resolvedMessage: !0 }, se || {}));
|
|
4322
4322
|
}
|
|
4323
4323
|
function _n(...b) {
|
|
4324
|
-
return we((O) => Reflect.apply(
|
|
4324
|
+
return we((O) => Reflect.apply(Kr, null, [O, ...b]), () => Yn(...b), "datetime format", (O) => Reflect.apply(O.d, O, [...b]), () => qt, (O) => P(O) || ne(O));
|
|
4325
4325
|
}
|
|
4326
4326
|
function mn(...b) {
|
|
4327
|
-
return we((O) => Reflect.apply(
|
|
4327
|
+
return we((O) => Reflect.apply(qr, null, [O, ...b]), () => Hn(...b), "number format", (O) => Reflect.apply(O.n, O, [...b]), () => qt, (O) => P(O) || ne(O));
|
|
4328
4328
|
}
|
|
4329
4329
|
function hn(b) {
|
|
4330
|
-
return b.map((O) => P(O) || ie(O) || K(O) ?
|
|
4330
|
+
return b.map((O) => P(O) || ie(O) || K(O) ? Zr(String(O)) : O);
|
|
4331
4331
|
}
|
|
4332
4332
|
const gn = {
|
|
4333
4333
|
normalize: hn,
|
|
@@ -4339,18 +4339,18 @@ function Er(e = {}) {
|
|
|
4339
4339
|
let q;
|
|
4340
4340
|
const se = O;
|
|
4341
4341
|
try {
|
|
4342
|
-
se.processor = gn, q = Reflect.apply(
|
|
4342
|
+
se.processor = gn, q = Reflect.apply(zr, null, [se, ...b]);
|
|
4343
4343
|
} finally {
|
|
4344
4344
|
se.processor = null;
|
|
4345
4345
|
}
|
|
4346
4346
|
return q;
|
|
4347
|
-
}, () =>
|
|
4347
|
+
}, () => Kn(...b), "translate", (O) => O[qn](...b), (O) => [Zr(O)], (O) => ne(O));
|
|
4348
4348
|
}
|
|
4349
4349
|
function pn(...b) {
|
|
4350
|
-
return we((O) => Reflect.apply(
|
|
4350
|
+
return we((O) => Reflect.apply(qr, null, [O, ...b]), () => Hn(...b), "number format", (O) => O[Qn](...b), ta, (O) => P(O) || ne(O));
|
|
4351
4351
|
}
|
|
4352
4352
|
function En(...b) {
|
|
4353
|
-
return we((O) => Reflect.apply(
|
|
4353
|
+
return we((O) => Reflect.apply(Kr, null, [O, ...b]), () => Yn(...b), "datetime format", (O) => O[Xn](...b), ta, (O) => P(O) || ne(O));
|
|
4354
4354
|
}
|
|
4355
4355
|
function Sn(b) {
|
|
4356
4356
|
R = b, A.pluralRules = R;
|
|
@@ -4403,27 +4403,27 @@ function Er(e = {}) {
|
|
|
4403
4403
|
return f.value[b] || {};
|
|
4404
4404
|
}
|
|
4405
4405
|
function m(b, O) {
|
|
4406
|
-
f.value[b] = O, A.datetimeFormats = f.value,
|
|
4406
|
+
f.value[b] = O, A.datetimeFormats = f.value, jr(A, b, O);
|
|
4407
4407
|
}
|
|
4408
|
-
function
|
|
4409
|
-
f.value[b] = le(f.value[b] || {}, O), A.datetimeFormats = f.value,
|
|
4408
|
+
function N(b, O) {
|
|
4409
|
+
f.value[b] = le(f.value[b] || {}, O), A.datetimeFormats = f.value, jr(A, b, O);
|
|
4410
4410
|
}
|
|
4411
4411
|
function M(b) {
|
|
4412
4412
|
return u.value[b] || {};
|
|
4413
4413
|
}
|
|
4414
4414
|
function ae(b, O) {
|
|
4415
|
-
u.value[b] = O, A.numberFormats = u.value,
|
|
4415
|
+
u.value[b] = O, A.numberFormats = u.value, Xr(A, b, O);
|
|
4416
4416
|
}
|
|
4417
4417
|
function oe(b, O) {
|
|
4418
|
-
u.value[b] = le(u.value[b] || {}, O), A.numberFormats = u.value,
|
|
4418
|
+
u.value[b] = le(u.value[b] || {}, O), A.numberFormats = u.value, Xr(A, b, O);
|
|
4419
4419
|
}
|
|
4420
|
-
|
|
4420
|
+
na++, t && Ae && (Pn(t.locale, (b) => {
|
|
4421
4421
|
s && (l.value = b, A.locale = b, bt(A, l.value, i.value));
|
|
4422
|
-
}),
|
|
4422
|
+
}), Pn(t.fallbackLocale, (b) => {
|
|
4423
4423
|
s && (i.value = b, A.fallbackLocale = b, bt(A, l.value, i.value));
|
|
4424
4424
|
}));
|
|
4425
4425
|
const j = {
|
|
4426
|
-
id:
|
|
4426
|
+
id: na,
|
|
4427
4427
|
locale: re,
|
|
4428
4428
|
fallbackLocale: _e,
|
|
4429
4429
|
get inheritLocale() {
|
|
@@ -4491,7 +4491,7 @@ function Er(e = {}) {
|
|
|
4491
4491
|
setMissingHandler: un,
|
|
4492
4492
|
[bo]: Sn
|
|
4493
4493
|
};
|
|
4494
|
-
return j.datetimeFormats = et, j.numberFormats = on, j.rt = dn, j.te = bn, j.tm = ht, j.d = _n, j.n = mn, j.getDateTimeFormat = d, j.setDateTimeFormat = m, j.mergeDateTimeFormat =
|
|
4494
|
+
return j.datetimeFormats = et, j.numberFormats = on, j.rt = dn, j.te = bn, j.tm = ht, j.d = _n, j.n = mn, j.getDateTimeFormat = d, j.setDateTimeFormat = m, j.mergeDateTimeFormat = N, j.getNumberFormat = M, j.setNumberFormat = ae, j.mergeNumberFormat = oe, j[vo] = n, j[qn] = Mt, j[Xn] = En, j[Qn] = pn, process.env.NODE_ENV !== "production" && (j[Ze] = (b) => {
|
|
4495
4495
|
A.__v_emitter = b;
|
|
4496
4496
|
}, j[wt] = () => {
|
|
4497
4497
|
A.__v_emitter = void 0;
|
|
@@ -4506,7 +4506,7 @@ const Ao = "vue-i18n: composer properties", On = {
|
|
|
4506
4506
|
}, Ec = {
|
|
4507
4507
|
"vue-i18n-timeline": 16764185
|
|
4508
4508
|
};
|
|
4509
|
-
let
|
|
4509
|
+
let zn;
|
|
4510
4510
|
async function Sc(e, t) {
|
|
4511
4511
|
return new Promise((n, a) => {
|
|
4512
4512
|
try {
|
|
@@ -4520,17 +4520,17 @@ async function Sc(e, t) {
|
|
|
4520
4520
|
app: e
|
|
4521
4521
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
4522
4522
|
}, (r) => {
|
|
4523
|
-
|
|
4523
|
+
zn = r, r.on.visitComponentTree(({ componentInstance: s, treeNode: l }) => {
|
|
4524
4524
|
bc(s, l, t);
|
|
4525
4525
|
}), r.on.inspectComponent(({ componentInstance: s, instanceData: l }) => {
|
|
4526
|
-
s.vnode.el && s.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? s.vnode.el.__VUE_I18N__ !== t.global.__composer &&
|
|
4526
|
+
s.vnode.el && s.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? s.vnode.el.__VUE_I18N__ !== t.global.__composer && aa(l, s.vnode.el.__VUE_I18N__) : aa(l, s.vnode.el.__VUE_I18N__));
|
|
4527
4527
|
}), r.addInspector({
|
|
4528
4528
|
id: "vue-i18n-resource-inspector",
|
|
4529
4529
|
label: On["vue-i18n-resource-inspector"],
|
|
4530
4530
|
icon: "language",
|
|
4531
4531
|
treeFilterPlaceholder: pc["vue-i18n-resource-inspector"]
|
|
4532
4532
|
}), r.on.getInspectorTree((s) => {
|
|
4533
|
-
s.app === e && s.inspectorId === "vue-i18n-resource-inspector" &&
|
|
4533
|
+
s.app === e && s.inspectorId === "vue-i18n-resource-inspector" && Nc(s, t);
|
|
4534
4534
|
});
|
|
4535
4535
|
const o = /* @__PURE__ */ new Map();
|
|
4536
4536
|
r.on.getInspectorState(async (s) => {
|
|
@@ -4542,7 +4542,7 @@ async function Sc(e, t) {
|
|
|
4542
4542
|
}
|
|
4543
4543
|
r.highlightElement(o.get(s.app));
|
|
4544
4544
|
} else {
|
|
4545
|
-
const l =
|
|
4545
|
+
const l = Cc(s.nodeId, t);
|
|
4546
4546
|
l && r.highlightElement(l);
|
|
4547
4547
|
}
|
|
4548
4548
|
}), r.on.editInspectorState((s) => {
|
|
@@ -4558,21 +4558,21 @@ async function Sc(e, t) {
|
|
|
4558
4558
|
}
|
|
4559
4559
|
});
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function No(e) {
|
|
4562
4562
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
4563
4563
|
}
|
|
4564
4564
|
function bc(e, t, n) {
|
|
4565
4565
|
const a = n.mode === "composition" ? n.global : n.global.__composer;
|
|
4566
4566
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== a) {
|
|
4567
4567
|
const r = {
|
|
4568
|
-
label: `i18n (${
|
|
4568
|
+
label: `i18n (${No(e)} Scope)`,
|
|
4569
4569
|
textColor: 0,
|
|
4570
4570
|
backgroundColor: 16764185
|
|
4571
4571
|
};
|
|
4572
4572
|
t.tags.push(r);
|
|
4573
4573
|
}
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4575
|
+
function aa(e, t) {
|
|
4576
4576
|
const n = Ao;
|
|
4577
4577
|
e.state.push({
|
|
4578
4578
|
type: n,
|
|
@@ -4598,7 +4598,7 @@ function ra(e, t) {
|
|
|
4598
4598
|
type: n,
|
|
4599
4599
|
key: "messages",
|
|
4600
4600
|
editable: !1,
|
|
4601
|
-
value:
|
|
4601
|
+
value: br(t.messages.value)
|
|
4602
4602
|
}), e.state.push({
|
|
4603
4603
|
type: n,
|
|
4604
4604
|
key: "datetimeFormats",
|
|
@@ -4611,11 +4611,11 @@ function ra(e, t) {
|
|
|
4611
4611
|
value: t.numberFormats.value
|
|
4612
4612
|
});
|
|
4613
4613
|
}
|
|
4614
|
-
function
|
|
4614
|
+
function br(e) {
|
|
4615
4615
|
const t = {};
|
|
4616
4616
|
return Object.keys(e).forEach((n) => {
|
|
4617
4617
|
const a = e[n];
|
|
4618
|
-
J(a) && "source" in a ? t[n] = Ac(a) : ye(a) && a.loc && a.loc.source ? t[n] = a.loc.source : Y(a) ? t[n] =
|
|
4618
|
+
J(a) && "source" in a ? t[n] = Ac(a) : ye(a) && a.loc && a.loc.source ? t[n] = a.loc.source : Y(a) ? t[n] = br(a) : t[n] = a;
|
|
4619
4619
|
}), t;
|
|
4620
4620
|
}
|
|
4621
4621
|
const vc = {
|
|
@@ -4638,7 +4638,7 @@ function Ac(e) {
|
|
|
4638
4638
|
}
|
|
4639
4639
|
};
|
|
4640
4640
|
}
|
|
4641
|
-
function
|
|
4641
|
+
function Nc(e, t) {
|
|
4642
4642
|
e.rootNodes.push({
|
|
4643
4643
|
id: "global",
|
|
4644
4644
|
label: "Global Scope"
|
|
@@ -4648,11 +4648,11 @@ function Cc(e, t) {
|
|
|
4648
4648
|
const o = t.mode === "composition" ? r : r.__composer;
|
|
4649
4649
|
n !== o && e.rootNodes.push({
|
|
4650
4650
|
id: o.id.toString(),
|
|
4651
|
-
label: `${
|
|
4651
|
+
label: `${No(a)} Scope`
|
|
4652
4652
|
});
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
function
|
|
4655
|
+
function Cc(e, t) {
|
|
4656
4656
|
let n = null;
|
|
4657
4657
|
if (e !== "global") {
|
|
4658
4658
|
for (const [a, r] of t.__instances.entries())
|
|
@@ -4663,7 +4663,7 @@ function Nc(e, t) {
|
|
|
4663
4663
|
}
|
|
4664
4664
|
return n;
|
|
4665
4665
|
}
|
|
4666
|
-
function
|
|
4666
|
+
function Co(e, t) {
|
|
4667
4667
|
if (e === "global")
|
|
4668
4668
|
return t.mode === "composition" ? t.global : t.global.__composer;
|
|
4669
4669
|
{
|
|
@@ -4672,7 +4672,7 @@ function No(e, t) {
|
|
|
4672
4672
|
}
|
|
4673
4673
|
}
|
|
4674
4674
|
function Oc(e, t) {
|
|
4675
|
-
const n =
|
|
4675
|
+
const n = Co(e.nodeId, t);
|
|
4676
4676
|
return n && (e.state = Ic(n)), null;
|
|
4677
4677
|
}
|
|
4678
4678
|
function Ic(e) {
|
|
@@ -4708,7 +4708,7 @@ function Ic(e) {
|
|
|
4708
4708
|
type: r,
|
|
4709
4709
|
key: "messages",
|
|
4710
4710
|
editable: !1,
|
|
4711
|
-
value:
|
|
4711
|
+
value: br(e.messages.value)
|
|
4712
4712
|
}
|
|
4713
4713
|
];
|
|
4714
4714
|
t[r] = o;
|
|
@@ -4735,9 +4735,9 @@ function Ic(e) {
|
|
|
4735
4735
|
return t;
|
|
4736
4736
|
}
|
|
4737
4737
|
function kt(e, t) {
|
|
4738
|
-
if (
|
|
4738
|
+
if (zn) {
|
|
4739
4739
|
let n;
|
|
4740
|
-
t && "groupId" in t && (n = t.groupId, delete t.groupId),
|
|
4740
|
+
t && "groupId" in t && (n = t.groupId, delete t.groupId), zn.addTimelineEvent({
|
|
4741
4741
|
layerId: "vue-i18n-timeline",
|
|
4742
4742
|
event: {
|
|
4743
4743
|
title: e,
|
|
@@ -4751,7 +4751,7 @@ function kt(e, t) {
|
|
|
4751
4751
|
}
|
|
4752
4752
|
}
|
|
4753
4753
|
function Lc(e, t) {
|
|
4754
|
-
const n =
|
|
4754
|
+
const n = Co(e.nodeId, t);
|
|
4755
4755
|
if (n) {
|
|
4756
4756
|
const [a] = e.path;
|
|
4757
4757
|
a === "locale" && P(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (P(e.state.value) || ne(e.state.value) || Y(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && K(e.state.value) && (n.inheritLocale = e.state.value);
|
|
@@ -4792,8 +4792,8 @@ function wc(e) {
|
|
|
4792
4792
|
__injectWithOption: h
|
|
4793
4793
|
};
|
|
4794
4794
|
}
|
|
4795
|
-
function
|
|
4796
|
-
const t =
|
|
4795
|
+
function Zn(e = {}) {
|
|
4796
|
+
const t = Sr(wc(e)), { __extender: n } = e, a = {
|
|
4797
4797
|
// id
|
|
4798
4798
|
id: t.id,
|
|
4799
4799
|
// locale
|
|
@@ -4964,24 +4964,24 @@ function zn(e = {}) {
|
|
|
4964
4964
|
function Dc(e, t, n) {
|
|
4965
4965
|
return {
|
|
4966
4966
|
beforeCreate() {
|
|
4967
|
-
const a =
|
|
4967
|
+
const a = Nt();
|
|
4968
4968
|
if (!a)
|
|
4969
4969
|
throw he(z.UNEXPECTED_ERROR);
|
|
4970
4970
|
const r = this.$options;
|
|
4971
4971
|
if (r.i18n) {
|
|
4972
4972
|
const o = r.i18n;
|
|
4973
4973
|
if (r.__i18n && (o.__i18n = r.__i18n), o.__root = t, this === this.$root)
|
|
4974
|
-
this.$i18n =
|
|
4974
|
+
this.$i18n = oa(e, o);
|
|
4975
4975
|
else {
|
|
4976
|
-
o.__injectWithOption = !0, o.__extender = n.__vueI18nExtend, this.$i18n =
|
|
4976
|
+
o.__injectWithOption = !0, o.__extender = n.__vueI18nExtend, this.$i18n = Zn(o);
|
|
4977
4977
|
const s = this.$i18n;
|
|
4978
4978
|
s.__extender && (s.__disposer = s.__extender(this.$i18n));
|
|
4979
4979
|
}
|
|
4980
4980
|
} else if (r.__i18n)
|
|
4981
4981
|
if (this === this.$root)
|
|
4982
|
-
this.$i18n =
|
|
4982
|
+
this.$i18n = oa(e, r);
|
|
4983
4983
|
else {
|
|
4984
|
-
this.$i18n =
|
|
4984
|
+
this.$i18n = Zn({
|
|
4985
4985
|
__i18n: r.__i18n,
|
|
4986
4986
|
__injectWithOption: !0,
|
|
4987
4987
|
__extender: n.__vueI18nExtend,
|
|
@@ -4998,12 +4998,12 @@ function Dc(e, t, n) {
|
|
|
4998
4998
|
if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
|
|
4999
4999
|
const a = this.$i18n;
|
|
5000
5000
|
this.$el.__VUE_I18N__ = a.__composer;
|
|
5001
|
-
const r = this.__v_emitter =
|
|
5001
|
+
const r = this.__v_emitter = _r();
|
|
5002
5002
|
a.__enableEmitter && a.__enableEmitter(r), r.on("*", kt);
|
|
5003
5003
|
}
|
|
5004
5004
|
},
|
|
5005
5005
|
unmounted() {
|
|
5006
|
-
const a =
|
|
5006
|
+
const a = Nt();
|
|
5007
5007
|
if (!a)
|
|
5008
5008
|
throw he(z.UNEXPECTED_ERROR);
|
|
5009
5009
|
const r = this.$i18n;
|
|
@@ -5011,15 +5011,15 @@ function Dc(e, t, n) {
|
|
|
5011
5011
|
}
|
|
5012
5012
|
};
|
|
5013
5013
|
}
|
|
5014
|
-
function
|
|
5014
|
+
function oa(e, t) {
|
|
5015
5015
|
e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[bo](t.pluralizationRules || e.pluralizationRules);
|
|
5016
|
-
const n =
|
|
5016
|
+
const n = Er(e.locale, {
|
|
5017
5017
|
messages: t.messages,
|
|
5018
5018
|
__i18n: t.__i18n
|
|
5019
5019
|
});
|
|
5020
5020
|
return Object.keys(n).forEach((a) => e.mergeLocaleMessage(a, n[a])), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((a) => e.mergeDateTimeFormat(a, t.datetimeFormats[a])), t.numberFormats && Object.keys(t.numberFormats).forEach((a) => e.mergeNumberFormat(a, t.numberFormats[a])), e;
|
|
5021
5021
|
}
|
|
5022
|
-
const
|
|
5022
|
+
const vr = {
|
|
5023
5023
|
tag: {
|
|
5024
5024
|
type: [String, Object]
|
|
5025
5025
|
},
|
|
@@ -5050,7 +5050,7 @@ function kc({ slots: e }, t) {
|
|
|
5050
5050
|
function Oo() {
|
|
5051
5051
|
return ce;
|
|
5052
5052
|
}
|
|
5053
|
-
const Rc = /* @__PURE__ */
|
|
5053
|
+
const Rc = /* @__PURE__ */ tr({
|
|
5054
5054
|
/* eslint-disable */
|
|
5055
5055
|
name: "i18n-t",
|
|
5056
5056
|
props: le({
|
|
@@ -5062,22 +5062,22 @@ const Rc = /* @__PURE__ */ er({
|
|
|
5062
5062
|
type: [Number, String],
|
|
5063
5063
|
validator: (e) => ie(e) || !isNaN(e)
|
|
5064
5064
|
}
|
|
5065
|
-
},
|
|
5065
|
+
}, vr),
|
|
5066
5066
|
/* eslint-enable */
|
|
5067
5067
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5068
5068
|
setup(e, t) {
|
|
5069
|
-
const { slots: n, attrs: a } = t, r = e.i18n ||
|
|
5069
|
+
const { slots: n, attrs: a } = t, r = e.i18n || yr({
|
|
5070
5070
|
useScope: e.scope,
|
|
5071
5071
|
__useComponent: !0
|
|
5072
5072
|
});
|
|
5073
5073
|
return () => {
|
|
5074
5074
|
const o = Object.keys(n).filter((u) => u[0] !== "_"), s = X();
|
|
5075
5075
|
e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = P(e.plural) ? +e.plural : e.plural);
|
|
5076
|
-
const l = kc(t, o), i = r[
|
|
5076
|
+
const l = kc(t, o), i = r[qn](e.keypath, l, s), c = le(X(), a), f = P(e.tag) || Y(e.tag) ? e.tag : Oo();
|
|
5077
5077
|
return Oa(f, c, i);
|
|
5078
5078
|
};
|
|
5079
5079
|
}
|
|
5080
|
-
}),
|
|
5080
|
+
}), sa = Rc;
|
|
5081
5081
|
function Pc(e) {
|
|
5082
5082
|
return ne(e) && !P(e[0]);
|
|
5083
5083
|
}
|
|
@@ -5097,7 +5097,7 @@ function Io(e, t, n, a) {
|
|
|
5097
5097
|
return Oa(u, f, c);
|
|
5098
5098
|
};
|
|
5099
5099
|
}
|
|
5100
|
-
const Fc = /* @__PURE__ */
|
|
5100
|
+
const Fc = /* @__PURE__ */ tr({
|
|
5101
5101
|
/* eslint-disable */
|
|
5102
5102
|
name: "i18n-n",
|
|
5103
5103
|
props: le({
|
|
@@ -5108,20 +5108,20 @@ const Fc = /* @__PURE__ */ er({
|
|
|
5108
5108
|
format: {
|
|
5109
5109
|
type: [String, Object]
|
|
5110
5110
|
}
|
|
5111
|
-
},
|
|
5111
|
+
}, vr),
|
|
5112
5112
|
/* eslint-enable */
|
|
5113
5113
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5114
5114
|
setup(e, t) {
|
|
5115
|
-
const n = e.i18n ||
|
|
5115
|
+
const n = e.i18n || yr({
|
|
5116
5116
|
useScope: e.scope,
|
|
5117
5117
|
__useComponent: !0
|
|
5118
5118
|
});
|
|
5119
5119
|
return Io(e, t, go, (...a) => (
|
|
5120
5120
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5121
|
-
n[
|
|
5121
|
+
n[Qn](...a)
|
|
5122
5122
|
));
|
|
5123
5123
|
}
|
|
5124
|
-
}),
|
|
5124
|
+
}), ia = Fc;
|
|
5125
5125
|
function Mc(e, t) {
|
|
5126
5126
|
const n = e;
|
|
5127
5127
|
if (e.mode === "composition")
|
|
@@ -5133,20 +5133,20 @@ function Mc(e, t) {
|
|
|
5133
5133
|
}
|
|
5134
5134
|
function Uc(e) {
|
|
5135
5135
|
const t = (s) => {
|
|
5136
|
-
process.env.NODE_ENV !== "production" &&
|
|
5136
|
+
process.env.NODE_ENV !== "production" && ur(ft(be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
5137
5137
|
const { instance: l, value: i } = s;
|
|
5138
5138
|
if (!l || !l.$)
|
|
5139
5139
|
throw he(z.UNEXPECTED_ERROR);
|
|
5140
|
-
const c = Mc(e, l.$), f =
|
|
5140
|
+
const c = Mc(e, l.$), f = la(i);
|
|
5141
5141
|
return [
|
|
5142
|
-
Reflect.apply(c.t, c, [...
|
|
5142
|
+
Reflect.apply(c.t, c, [...ca(f)]),
|
|
5143
5143
|
c
|
|
5144
5144
|
];
|
|
5145
5145
|
};
|
|
5146
5146
|
return {
|
|
5147
5147
|
created: (s, l) => {
|
|
5148
5148
|
const [i, c] = t(l);
|
|
5149
|
-
Ae && e.global === c && (s.__i18nWatcher =
|
|
5149
|
+
Ae && e.global === c && (s.__i18nWatcher = Pn(c.locale, () => {
|
|
5150
5150
|
l.instance && l.instance.$forceUpdate();
|
|
5151
5151
|
})), s.__composer = c, s.textContent = i;
|
|
5152
5152
|
},
|
|
@@ -5155,9 +5155,9 @@ function Uc(e) {
|
|
|
5155
5155
|
},
|
|
5156
5156
|
beforeUpdate: (s, { value: l }) => {
|
|
5157
5157
|
if (s.__composer) {
|
|
5158
|
-
const i = s.__composer, c =
|
|
5158
|
+
const i = s.__composer, c = la(l);
|
|
5159
5159
|
s.textContent = Reflect.apply(i.t, i, [
|
|
5160
|
-
...
|
|
5160
|
+
...ca(c)
|
|
5161
5161
|
]);
|
|
5162
5162
|
}
|
|
5163
5163
|
},
|
|
@@ -5167,7 +5167,7 @@ function Uc(e) {
|
|
|
5167
5167
|
}
|
|
5168
5168
|
};
|
|
5169
5169
|
}
|
|
5170
|
-
function
|
|
5170
|
+
function la(e) {
|
|
5171
5171
|
if (P(e))
|
|
5172
5172
|
return { path: e };
|
|
5173
5173
|
if (G(e)) {
|
|
@@ -5177,18 +5177,18 @@ function ia(e) {
|
|
|
5177
5177
|
} else
|
|
5178
5178
|
throw he(z.INVALID_VALUE);
|
|
5179
5179
|
}
|
|
5180
|
-
function
|
|
5180
|
+
function ca(e) {
|
|
5181
5181
|
const { path: t, locale: n, args: a, choice: r, plural: o } = e, s = {}, l = a || {};
|
|
5182
5182
|
return P(n) && (s.locale = n), ie(r) && (s.plural = r), ie(o) && (s.plural = o), [t, l, s];
|
|
5183
5183
|
}
|
|
5184
5184
|
function xc(e, t, ...n) {
|
|
5185
5185
|
const a = G(n[0]) ? n[0] : {};
|
|
5186
|
-
(K(a.globalInstall) ? a.globalInstall : !0) && ([
|
|
5186
|
+
(K(a.globalInstall) ? a.globalInstall : !0) && ([sa.name, "I18nT"].forEach((o) => e.component(o, sa)), [ia.name, "I18nN"].forEach((o) => e.component(o, ia)), [fa.name, "I18nD"].forEach((o) => e.component(o, fa))), e.directive("t", Uc(t));
|
|
5187
5187
|
}
|
|
5188
5188
|
const Vc = /* @__PURE__ */ Le("global-vue-i18n");
|
|
5189
5189
|
function Bc(e = {}) {
|
|
5190
5190
|
const t = __VUE_I18N_LEGACY_API__ && K(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
5191
|
-
process.env.NODE_ENV !== "production" && t &&
|
|
5191
|
+
process.env.NODE_ENV !== "production" && t && ur(ft(be.DEPRECATE_LEGACY_MODE));
|
|
5192
5192
|
const n = K(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [r, o] = Gc(e, t), s = /* @__PURE__ */ Le(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
5193
5193
|
function l(u) {
|
|
5194
5194
|
return a.get(u) || null;
|
|
@@ -5218,7 +5218,7 @@ function Bc(e = {}) {
|
|
|
5218
5218
|
}, process.env.NODE_ENV !== "production") {
|
|
5219
5219
|
if (!await Sc(u, f))
|
|
5220
5220
|
throw he(z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
5221
|
-
const L =
|
|
5221
|
+
const L = _r();
|
|
5222
5222
|
if (t) {
|
|
5223
5223
|
const h = o;
|
|
5224
5224
|
h.__enableEmitter && h.__enableEmitter(L);
|
|
@@ -5247,8 +5247,8 @@ function Bc(e = {}) {
|
|
|
5247
5247
|
};
|
|
5248
5248
|
return f;
|
|
5249
5249
|
}
|
|
5250
|
-
function
|
|
5251
|
-
const t =
|
|
5250
|
+
function yr(e = {}) {
|
|
5251
|
+
const t = Nt();
|
|
5252
5252
|
if (t == null)
|
|
5253
5253
|
throw he(z.MUST_BE_CALL_SETUP_TOP);
|
|
5254
5254
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -5264,13 +5264,13 @@ function vr(e = {}) {
|
|
|
5264
5264
|
let l = s.__getInstance(t);
|
|
5265
5265
|
if (l == null) {
|
|
5266
5266
|
const i = le({}, e);
|
|
5267
|
-
"__i18n" in r && (i.__i18n = r.__i18n), a && (i.__root = a), l =
|
|
5267
|
+
"__i18n" in r && (i.__i18n = r.__i18n), a && (i.__root = a), l = Sr(i), s.__composerExtend && (l[Jn] = s.__composerExtend(l)), jc(s, t, l), s.__setInstance(t, l);
|
|
5268
5268
|
} else
|
|
5269
5269
|
process.env.NODE_ENV !== "production" && o === "local" && (ft(be.DUPLICATE_USE_I18N_CALLING), void 0);
|
|
5270
5270
|
return l;
|
|
5271
5271
|
}
|
|
5272
5272
|
function Gc(e, t) {
|
|
5273
|
-
const n = Uo(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() =>
|
|
5273
|
+
const n = Uo(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Zn(e)) : n.run(() => Sr(e));
|
|
5274
5274
|
if (a == null)
|
|
5275
5275
|
throw he(z.UNEXPECTED_ERROR);
|
|
5276
5276
|
return [n, a];
|
|
@@ -5312,22 +5312,22 @@ function jc(e, t, n) {
|
|
|
5312
5312
|
let a = null;
|
|
5313
5313
|
$o(() => {
|
|
5314
5314
|
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
5315
|
-
t.vnode.el.__VUE_I18N__ = n, a =
|
|
5315
|
+
t.vnode.el.__VUE_I18N__ = n, a = _r();
|
|
5316
5316
|
const r = n;
|
|
5317
5317
|
r[Ze] && r[Ze](a), a.on("*", kt);
|
|
5318
5318
|
}
|
|
5319
5319
|
}, t), Wo(() => {
|
|
5320
5320
|
const r = n;
|
|
5321
5321
|
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (a && a.off("*", kt), r[wt] && r[wt](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
|
|
5322
|
-
const o = r[
|
|
5323
|
-
o && (o(), delete r[
|
|
5322
|
+
const o = r[Jn];
|
|
5323
|
+
o && (o(), delete r[Jn]);
|
|
5324
5324
|
}, t);
|
|
5325
5325
|
}
|
|
5326
5326
|
const qc = [
|
|
5327
5327
|
"locale",
|
|
5328
5328
|
"fallbackLocale",
|
|
5329
5329
|
"availableLocales"
|
|
5330
|
-
],
|
|
5330
|
+
], ua = ["t", "rt", "d", "n", "tm", "te"];
|
|
5331
5331
|
function Xc(e, t) {
|
|
5332
5332
|
const n = /* @__PURE__ */ Object.create(null);
|
|
5333
5333
|
return qc.forEach((r) => {
|
|
@@ -5348,18 +5348,18 @@ function Xc(e, t) {
|
|
|
5348
5348
|
}
|
|
5349
5349
|
};
|
|
5350
5350
|
Object.defineProperty(n, r, s);
|
|
5351
|
-
}), e.config.globalProperties.$i18n = n,
|
|
5351
|
+
}), e.config.globalProperties.$i18n = n, ua.forEach((r) => {
|
|
5352
5352
|
const o = Object.getOwnPropertyDescriptor(t, r);
|
|
5353
5353
|
if (!o || !o.value)
|
|
5354
5354
|
throw he(z.UNEXPECTED_ERROR);
|
|
5355
5355
|
Object.defineProperty(e.config.globalProperties, `$${r}`, o);
|
|
5356
5356
|
}), () => {
|
|
5357
|
-
delete e.config.globalProperties.$i18n,
|
|
5357
|
+
delete e.config.globalProperties.$i18n, ua.forEach((r) => {
|
|
5358
5358
|
delete e.config.globalProperties[`$${r}`];
|
|
5359
5359
|
});
|
|
5360
5360
|
};
|
|
5361
5361
|
}
|
|
5362
|
-
const Qc = /* @__PURE__ */
|
|
5362
|
+
const Qc = /* @__PURE__ */ tr({
|
|
5363
5363
|
/* eslint-disable */
|
|
5364
5364
|
name: "i18n-d",
|
|
5365
5365
|
props: le({
|
|
@@ -5370,20 +5370,20 @@ const Qc = /* @__PURE__ */ er({
|
|
|
5370
5370
|
format: {
|
|
5371
5371
|
type: [String, Object]
|
|
5372
5372
|
}
|
|
5373
|
-
},
|
|
5373
|
+
}, vr),
|
|
5374
5374
|
/* eslint-enable */
|
|
5375
5375
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5376
5376
|
setup(e, t) {
|
|
5377
|
-
const n = e.i18n ||
|
|
5377
|
+
const n = e.i18n || yr({
|
|
5378
5378
|
useScope: e.scope,
|
|
5379
5379
|
__useComponent: !0
|
|
5380
5380
|
});
|
|
5381
5381
|
return Io(e, t, ho, (...a) => (
|
|
5382
5382
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5383
|
-
n[
|
|
5383
|
+
n[Xn](...a)
|
|
5384
5384
|
));
|
|
5385
5385
|
}
|
|
5386
|
-
}),
|
|
5386
|
+
}), fa = Qc;
|
|
5387
5387
|
dc();
|
|
5388
5388
|
Ml(ml);
|
|
5389
5389
|
Ul(Dl);
|
|
@@ -5491,8 +5491,8 @@ const Ft = Ie("cloudSdkLanguageStore", {
|
|
|
5491
5491
|
this.languageName = e, I.localSet(rt, e), Xe.locale.value = e;
|
|
5492
5492
|
}
|
|
5493
5493
|
}
|
|
5494
|
-
}),
|
|
5495
|
-
function
|
|
5494
|
+
}), da = "__system:themes__", eu = "light", In = "__system:layoutSidebarState__", tu = "on", _a = "__system:layoutNavTabs__", nu = "on", ru = "__system:layoutWatermark__", au = "on";
|
|
5495
|
+
function ma() {
|
|
5496
5496
|
let e = typeof window < "u" && window.navigator.userAgent.toLowerCase();
|
|
5497
5497
|
return `${e.match(/Chrome/i)}` == "chrome" ? "chrome" : `${e.match(/Webkit/i)}` == "webkit" ? "webkit" : null;
|
|
5498
5498
|
}
|
|
@@ -5502,7 +5502,7 @@ const Ge = Ie("cloudSdkThemesStore", {
|
|
|
5502
5502
|
/**
|
|
5503
5503
|
* 上边切换卡
|
|
5504
5504
|
*/
|
|
5505
|
-
layoutNavTabs: I.localGet(
|
|
5505
|
+
layoutNavTabs: I.localGet(_a) || nu,
|
|
5506
5506
|
/**
|
|
5507
5507
|
* 左边侧栏
|
|
5508
5508
|
*/
|
|
@@ -5512,7 +5512,7 @@ const Ge = Ie("cloudSdkThemesStore", {
|
|
|
5512
5512
|
* auto|light|dark
|
|
5513
5513
|
* 自动生成
|
|
5514
5514
|
*/
|
|
5515
|
-
themesName: I.localGet(
|
|
5515
|
+
themesName: I.localGet(da) || eu,
|
|
5516
5516
|
themesList: [
|
|
5517
5517
|
{ name: "跟随系统", value: "auto" },
|
|
5518
5518
|
{ name: "明亮", value: "light" },
|
|
@@ -5549,7 +5549,7 @@ const Ge = Ie("cloudSdkThemesStore", {
|
|
|
5549
5549
|
SA_LAYOUT_NAVTABS_SET(e) {
|
|
5550
5550
|
pe.__POWERED_BY_QIANKUN__ && (e = "off"), this.layoutNavTabs = e;
|
|
5551
5551
|
const t = document.querySelector("html");
|
|
5552
|
-
t.classList.remove(e == "off" ? "openNavtabs" : "hideNavtabs"), t.classList.add(e == "on" ? "openNavtabs" : "hideNavtabs"), pe.__POWERED_BY_QIANKUN__ || I.localSet(
|
|
5552
|
+
t.classList.remove(e == "off" ? "openNavtabs" : "hideNavtabs"), t.classList.add(e == "on" ? "openNavtabs" : "hideNavtabs"), pe.__POWERED_BY_QIANKUN__ || I.localSet(_a, e);
|
|
5553
5553
|
},
|
|
5554
5554
|
/**
|
|
5555
5555
|
* 设置主题
|
|
@@ -5557,8 +5557,8 @@ const Ge = Ie("cloudSdkThemesStore", {
|
|
|
5557
5557
|
* @returns {Promise<unknown>}
|
|
5558
5558
|
*/
|
|
5559
5559
|
SA_THEMES_SET(e) {
|
|
5560
|
-
if (this.themesName = e || "light", !
|
|
5561
|
-
__cc_isEEUiApp ?
|
|
5560
|
+
if (this.themesName = e || "light", !ma()) {
|
|
5561
|
+
__cc_isEEUiApp ? Nr.warning("仅Android设置支持主题功能") : Nr.warning("仅客户端或Chrome浏览器支持主题功能");
|
|
5562
5562
|
return;
|
|
5563
5563
|
}
|
|
5564
5564
|
this.synchTheme(e);
|
|
@@ -5572,7 +5572,7 @@ const Ge = Ie("cloudSdkThemesStore", {
|
|
|
5572
5572
|
const t = document.body;
|
|
5573
5573
|
switch (e) {
|
|
5574
5574
|
case "dark":
|
|
5575
|
-
if (!
|
|
5575
|
+
if (!ma())
|
|
5576
5576
|
return;
|
|
5577
5577
|
t.classList.add("sdk-theme-dark");
|
|
5578
5578
|
break;
|
|
@@ -5585,7 +5585,7 @@ const Ge = Ie("cloudSdkThemesStore", {
|
|
|
5585
5585
|
break;
|
|
5586
5586
|
}
|
|
5587
5587
|
const n = document.querySelector("html");
|
|
5588
|
-
n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName), I.localSet(
|
|
5588
|
+
n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName), I.localSet(da, this.themesName);
|
|
5589
5589
|
}
|
|
5590
5590
|
}
|
|
5591
5591
|
});
|
|
@@ -5655,7 +5655,7 @@ const $t = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
|
5655
5655
|
return this.winSizeName = this.SA_GET_SIZE_TYPE(), this.winSizeName;
|
|
5656
5656
|
}
|
|
5657
5657
|
}
|
|
5658
|
-
}), vt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__",
|
|
5658
|
+
}), vt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__", ha = "__syCacheApiCode__", ga = "__syCacheApiKey__", kn = "__syCacheSdkConfig__", Rn = "__syCacheSystemConfig__", pa = "cacheClientId", Ea = "cacheClientVersion", nn = Ie("cloudSdkSystemStore", {
|
|
5659
5659
|
state: () => ({
|
|
5660
5660
|
// ServerUrl
|
|
5661
5661
|
cacheServerUrl: "",
|
|
@@ -5712,7 +5712,7 @@ const $t = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
|
5712
5712
|
},
|
|
5713
5713
|
async clear_cache() {
|
|
5714
5714
|
const e = I.localGet(vt);
|
|
5715
|
-
I.localSet(vt, e), await I.idbDelItem("clearCache"), await I.idbDelItem(wn), await I.idbDelItem(Dn), await I.idbDelItem(kn);
|
|
5715
|
+
I.localSet(vt, e), await I.idbDelItem("clearCache"), await I.idbDelItem(wn), await I.idbDelItem(Dn), await I.idbDelItem(kn), await I.idbDelItem(Rn);
|
|
5716
5716
|
},
|
|
5717
5717
|
async cache_read() {
|
|
5718
5718
|
this.cacheServerUrl = await I.idbGetString("cacheServerUrl"), this.cacheServerUrl && (window.systemConfig.apiUrl = this.cacheServerUrl);
|
|
@@ -5730,17 +5730,17 @@ const $t = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
|
5730
5730
|
}), await ue.appendApiAuth(e);
|
|
5731
5731
|
},
|
|
5732
5732
|
async __load_api_code() {
|
|
5733
|
-
let e = await I.idbGetItem(
|
|
5733
|
+
let e = await I.idbGetItem(ha);
|
|
5734
5734
|
e || await ue.flagGet("BASE_LOAD_COMMON_API_CODE", {}).then((t) => {
|
|
5735
|
-
e = t.data || {}, I.idbSetItem(
|
|
5735
|
+
e = t.data || {}, I.idbSetItem(ha, e);
|
|
5736
5736
|
});
|
|
5737
5737
|
},
|
|
5738
5738
|
async __load_api_key() {
|
|
5739
5739
|
let e = await I.idbGetString(pa);
|
|
5740
|
-
e || (e = cvUtils.randomString(6), await I.idbSetItem(pa, e)), this.cacheClientId = e, this.apiKeyData = await I.idbGetItem(
|
|
5740
|
+
e || (e = cvUtils.randomString(6), await I.idbSetItem(pa, e)), this.cacheClientId = e, this.apiKeyData = await I.idbGetItem(ga), this.apiKeyData || await ue.setOptions({ encrypt: !1 }).flagGet("BASE_ACCSYS_COMMON_KEYCLIENT", {
|
|
5741
5741
|
client_id: e
|
|
5742
5742
|
}).then(({ data: t }) => {
|
|
5743
|
-
this.apiKeyData = t, I.idbSetItem(
|
|
5743
|
+
this.apiKeyData = t, I.idbSetItem(ga, this.apiKeyData);
|
|
5744
5744
|
});
|
|
5745
5745
|
},
|
|
5746
5746
|
/**
|
|
@@ -5748,15 +5748,15 @@ const $t = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
|
5748
5748
|
* @returns {Promise<unknown>}
|
|
5749
5749
|
*/
|
|
5750
5750
|
async __load_system_config() {
|
|
5751
|
-
let e = await I.idbGetItem(
|
|
5751
|
+
let e = await I.idbGetItem(Rn);
|
|
5752
5752
|
e ? this.systemConfig = e : await ue.flagGet("BASE_SYS_COMMON_PLAT_SETTING", {}).then(({ data: t }) => {
|
|
5753
|
-
this.systemConfig = Object.assign({}, this.systemConfig, t), I.idbSetItem(
|
|
5753
|
+
this.systemConfig = Object.assign({}, this.systemConfig, t), I.idbSetItem(Rn, this.systemConfig);
|
|
5754
5754
|
});
|
|
5755
5755
|
},
|
|
5756
5756
|
async __load_sdk_config() {
|
|
5757
|
-
let e = await I.idbGetItem(
|
|
5757
|
+
let e = await I.idbGetItem(kn);
|
|
5758
5758
|
e ? this.sdkConfig = e : await ue.flagGet("SDK_MAP_ORG_SETT_KEY", { type: "qq" }).then(({ data: t }) => {
|
|
5759
|
-
this.sdkConfig = Object.assign({}, this.sdkConfig, t), I.idbSetItem(
|
|
5759
|
+
this.sdkConfig = Object.assign({}, this.sdkConfig, t), I.idbSetItem(kn, this.sdkConfig);
|
|
5760
5760
|
});
|
|
5761
5761
|
},
|
|
5762
5762
|
/**
|
|
@@ -6247,7 +6247,7 @@ function gu(e) {
|
|
|
6247
6247
|
if (e.code == 100206)
|
|
6248
6248
|
window.syCacheDialog401 = "none";
|
|
6249
6249
|
else
|
|
6250
|
-
return window.syCacheDialog401 = "show",
|
|
6250
|
+
return window.syCacheDialog401 = "show", Ne().SA_ACCOUNT_LOGOUT(), iu({
|
|
6251
6251
|
title: "友情提示",
|
|
6252
6252
|
message: hu[100101],
|
|
6253
6253
|
confirmButtonText: "确定",
|
|
@@ -6304,7 +6304,7 @@ function Ro(e = {}) {
|
|
|
6304
6304
|
e && (n = e.ApiFlagSet || {}, a = e.ApiAuthSet || {});
|
|
6305
6305
|
let r = Object.assign({}, _u, n, t.syOpenApiFlag), o = Object.assign({}, mu, a, t.syOpenApiAuth);
|
|
6306
6306
|
Re.setApiFlag(r), Re.setApiAuth(o);
|
|
6307
|
-
const s = du(), l =
|
|
6307
|
+
const s = du(), l = Ne();
|
|
6308
6308
|
return Re.interceptors.request.use(
|
|
6309
6309
|
(i) => {
|
|
6310
6310
|
const c = i.customs || {};
|
|
@@ -6356,7 +6356,7 @@ const ue = new Proxy(
|
|
|
6356
6356
|
}
|
|
6357
6357
|
}
|
|
6358
6358
|
);
|
|
6359
|
-
function
|
|
6359
|
+
function er(e) {
|
|
6360
6360
|
return typeof e == "string" && e.trim() !== "" && e !== "undefined";
|
|
6361
6361
|
}
|
|
6362
6362
|
const xe = "syCacheAppInfo", Ve = "syCacheAppToken", yt = "syCacheAppJwt", Tt = "syCacheAppRbac", ya = {
|
|
@@ -6383,7 +6383,7 @@ const xe = "syCacheAppInfo", Ve = "syCacheAppToken", yt = "syCacheAppJwt", Tt =
|
|
|
6383
6383
|
function Eu(e) {
|
|
6384
6384
|
return Math.floor(Date.now() / 1e3) >= e;
|
|
6385
6385
|
}
|
|
6386
|
-
const
|
|
6386
|
+
const Ne = Ie("cloudSdkAccountStore", {
|
|
6387
6387
|
state: () => ({
|
|
6388
6388
|
// staffId: 0,
|
|
6389
6389
|
account_nick: "",
|
|
@@ -6410,7 +6410,7 @@ const Ce = Ie("cloudSdkAccountStore", {
|
|
|
6410
6410
|
accountIsLogin: (e) => {
|
|
6411
6411
|
var n;
|
|
6412
6412
|
const t = ((n = e == null ? void 0 : e.accountInfo) == null ? void 0 : n.token_time) || 0;
|
|
6413
|
-
return !!(
|
|
6413
|
+
return !!(er(e.accountToken) && !Eu(t));
|
|
6414
6414
|
},
|
|
6415
6415
|
// identity 身份
|
|
6416
6416
|
accountRole: (e) => {
|
|
@@ -6433,7 +6433,7 @@ const Ce = Ie("cloudSdkAccountStore", {
|
|
|
6433
6433
|
async clear_all() {
|
|
6434
6434
|
},
|
|
6435
6435
|
SA_ACCOUNT_IS_LOGGED() {
|
|
6436
|
-
return this.accountToken = I.localGet(Ve) || "", !!
|
|
6436
|
+
return this.accountToken = I.localGet(Ve) || "", !!er(this.accountToken);
|
|
6437
6437
|
},
|
|
6438
6438
|
SA_ACCOUNT_JWT_GET() {
|
|
6439
6439
|
return this.accountJwt || "";
|
|
@@ -6492,14 +6492,14 @@ const Ce = Ie("cloudSdkAccountStore", {
|
|
|
6492
6492
|
},
|
|
6493
6493
|
// 登录
|
|
6494
6494
|
async SA_ACCOUNT_SIGNIN(e) {
|
|
6495
|
-
e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(Tt, ""), I.idbSave(Ve, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0),
|
|
6495
|
+
e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(Tt, ""), I.idbSave(Ve, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Ct().QK_SEND_LOGIN_MSG();
|
|
6496
6496
|
},
|
|
6497
6497
|
/**
|
|
6498
6498
|
* 退出登录(打开登录页面)
|
|
6499
6499
|
* @param appendFrom
|
|
6500
6500
|
*/
|
|
6501
6501
|
async SA_ACCOUNT_LOGOUT(e) {
|
|
6502
|
-
this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(yt, ""), I.localSet(Tt, ""), I.localDel(xe), I.localDel(Ve), I.localDel(yt), I.localDel(Tt), this.SA_ACCOUNT_REFRESH(),
|
|
6502
|
+
this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(yt, ""), I.localSet(Tt, ""), I.localDel(xe), I.localDel(Ve), I.localDel(yt), I.localDel(Tt), this.SA_ACCOUNT_REFRESH(), Ct().QK_SEND_LOGOUT_MSG();
|
|
6503
6503
|
},
|
|
6504
6504
|
/**
|
|
6505
6505
|
* @param {Boolean} isForce 是否强制刷新
|
|
@@ -6562,7 +6562,7 @@ function Xt(e, t) {
|
|
|
6562
6562
|
return !1;
|
|
6563
6563
|
e.includes("@") || (e = `${vu}@${e}`);
|
|
6564
6564
|
let n = t || I.localGet("syCacheAppRbac") || "";
|
|
6565
|
-
return n = n.trim(),
|
|
6565
|
+
return n = n.trim(), er(n) ? n == '"all@all"' || n == "all@all" ? !0 : n.split(",").map((r) => r.trim()).includes(e) : !1;
|
|
6566
6566
|
}
|
|
6567
6567
|
const rn = Ie("cloudSdkProductStore", {
|
|
6568
6568
|
state: () => ({
|
|
@@ -6622,7 +6622,7 @@ const rn = Ie("cloudSdkProductStore", {
|
|
|
6622
6622
|
isAlone: !0,
|
|
6623
6623
|
name: "login",
|
|
6624
6624
|
path: "/login",
|
|
6625
|
-
component: () => import("./login-
|
|
6625
|
+
component: () => import("./login-CX4cUyjF.js")
|
|
6626
6626
|
}
|
|
6627
6627
|
], Tu = [
|
|
6628
6628
|
{
|
|
@@ -6630,14 +6630,14 @@ const rn = Ie("cloudSdkProductStore", {
|
|
|
6630
6630
|
isAlone: !0,
|
|
6631
6631
|
name: "alone_run",
|
|
6632
6632
|
path: "/alone_run",
|
|
6633
|
-
component: () => import("./alone_run-
|
|
6633
|
+
component: () => import("./alone_run-CLUYNqwh.js")
|
|
6634
6634
|
},
|
|
6635
6635
|
{
|
|
6636
6636
|
meta: { title: "错误", isAlone: !0 },
|
|
6637
6637
|
isAlone: !0,
|
|
6638
6638
|
name: "404",
|
|
6639
6639
|
path: "/:catchAll(.*)",
|
|
6640
|
-
component: () => import("./404-
|
|
6640
|
+
component: () => import("./404-C4DVPIe7.js")
|
|
6641
6641
|
}
|
|
6642
6642
|
], Au = [
|
|
6643
6643
|
{
|
|
@@ -6645,7 +6645,7 @@ const rn = Ie("cloudSdkProductStore", {
|
|
|
6645
6645
|
isAlone: !1,
|
|
6646
6646
|
name: "none",
|
|
6647
6647
|
path: "/none",
|
|
6648
|
-
component: () => import("./none-
|
|
6648
|
+
component: () => import("./none-3mx9YheZ.js")
|
|
6649
6649
|
}
|
|
6650
6650
|
], an = Ie("cloudSdkPermissionStore", {
|
|
6651
6651
|
state: () => ({
|
|
@@ -6696,14 +6696,14 @@ const rn = Ie("cloudSdkProductStore", {
|
|
|
6696
6696
|
"org-agent": "代理商平台",
|
|
6697
6697
|
"org-admin": "超管平台"
|
|
6698
6698
|
};
|
|
6699
|
-
async function
|
|
6699
|
+
async function Nu(e) {
|
|
6700
6700
|
try {
|
|
6701
6701
|
let t = document.querySelector("link[rel*='icon']");
|
|
6702
6702
|
t || (t = document.createElement("link"), t.rel = "shortcut icon", document.head.appendChild(t)), t.href = e, t.type = "image/x-icon";
|
|
6703
6703
|
} catch {
|
|
6704
6704
|
}
|
|
6705
6705
|
}
|
|
6706
|
-
const
|
|
6706
|
+
const Cu = Ie("cloudSdkApplicationStore", {
|
|
6707
6707
|
state: () => ({
|
|
6708
6708
|
/**
|
|
6709
6709
|
* 1、应用产品信息
|
|
@@ -6729,7 +6729,7 @@ const Nu = Ie("cloudSdkApplicationStore", {
|
|
|
6729
6729
|
openCaseInfo: (e) => {
|
|
6730
6730
|
let t = window.shiyunProductInfo || {}, n = Qt(), a = nn().systemConfig || {}, r = n.syAppConnectRole, o = Object.assign({}, e.defaultCaseInfo, t), s = n.syProductTitle || "ShiyunProduct", l = Aa[r] ? Aa[r] : "管理系统", i = s;
|
|
6731
6731
|
const c = a.PLAT_BRAND || (o == null ? void 0 : o.PLAT_BRAND), f = a.PLAT_LOGO_CDN || o.PLAT_LOGO_CDN;
|
|
6732
|
-
f &&
|
|
6732
|
+
f && Nu(f);
|
|
6733
6733
|
const u = l || "十云";
|
|
6734
6734
|
let _ = "";
|
|
6735
6735
|
return r == "org-business" && (_ = a.BIZS_LOGIN_BG || o.platinfo_login_bg), {
|
|
@@ -6750,7 +6750,7 @@ const Nu = Ie("cloudSdkApplicationStore", {
|
|
|
6750
6750
|
});
|
|
6751
6751
|
function Ou() {
|
|
6752
6752
|
return new Promise(async (e) => {
|
|
6753
|
-
Ft().clear_cache(), Ge().clear_cache(), nn().clear_cache(),
|
|
6753
|
+
Ft().clear_cache(), Ge().clear_cache(), nn().clear_cache(), Ne().clear_cache(), rn().clear_cache(), I.idbSetItem("cacheClearHandle", "handle").then((t) => {
|
|
6754
6754
|
e();
|
|
6755
6755
|
});
|
|
6756
6756
|
});
|
|
@@ -6758,7 +6758,7 @@ function Ou() {
|
|
|
6758
6758
|
function Iu() {
|
|
6759
6759
|
return {
|
|
6760
6760
|
computed: {
|
|
6761
|
-
...ke(
|
|
6761
|
+
...ke(Ct, ["qiankunExistState"]),
|
|
6762
6762
|
...ke(Ft, ["languageName", "languageList", "languageSelect"]),
|
|
6763
6763
|
...ke(Ge, ["themesName", "themesList", "layoutNavTabs", "layoutSidebarState"]),
|
|
6764
6764
|
...ke(ko, [
|
|
@@ -6772,7 +6772,7 @@ function Iu() {
|
|
|
6772
6772
|
"formLabelPosition"
|
|
6773
6773
|
]),
|
|
6774
6774
|
...ke(nn, ["cacheServerUrl", "systemConfig", "sysIsElectron", "sysIsEEUiApp", "sysIsSoftware"]),
|
|
6775
|
-
...ke(
|
|
6775
|
+
...ke(Ne, [
|
|
6776
6776
|
"accountIsLogin",
|
|
6777
6777
|
"accountInfo",
|
|
6778
6778
|
"accountToken",
|
|
@@ -6783,7 +6783,7 @@ function Iu() {
|
|
|
6783
6783
|
"staffNick"
|
|
6784
6784
|
]),
|
|
6785
6785
|
...ke(rn, ["menuBadge", "menuCurrOpeneds", "menuCurrOnly"]),
|
|
6786
|
-
...ke(
|
|
6786
|
+
...ke(Cu, ["openCaseInfo"])
|
|
6787
6787
|
},
|
|
6788
6788
|
watch: {
|
|
6789
6789
|
windowActive(t) {
|
|
@@ -6860,18 +6860,18 @@ function ku(e, t, n, a, r, o) {
|
|
|
6860
6860
|
size: "450px",
|
|
6861
6861
|
"before-close": o.frameTopSysSettClose
|
|
6862
6862
|
}, {
|
|
6863
|
-
default:
|
|
6863
|
+
default: C(() => [
|
|
6864
6864
|
D("div", wu, [
|
|
6865
6865
|
S(p, {
|
|
6866
6866
|
labelWidth: "auto",
|
|
6867
6867
|
"label-position": "left"
|
|
6868
6868
|
}, {
|
|
6869
|
-
default:
|
|
6869
|
+
default: C(() => [
|
|
6870
6870
|
S(l, {
|
|
6871
6871
|
label: "风格",
|
|
6872
6872
|
"label-position": "top"
|
|
6873
6873
|
}, {
|
|
6874
|
-
default:
|
|
6874
|
+
default: C(() => [
|
|
6875
6875
|
D("div", Du, [
|
|
6876
6876
|
S(s),
|
|
6877
6877
|
S(s),
|
|
@@ -6881,20 +6881,20 @@ function ku(e, t, n, a, r, o) {
|
|
|
6881
6881
|
_: 1
|
|
6882
6882
|
}),
|
|
6883
6883
|
S(l, { label: "主题" }, {
|
|
6884
|
-
default:
|
|
6884
|
+
default: C(() => [
|
|
6885
6885
|
S(c, {
|
|
6886
6886
|
modelValue: r.frameSysTheme,
|
|
6887
6887
|
"onUpdate:modelValue": t[0] || (t[0] = (g) => r.frameSysTheme = g),
|
|
6888
6888
|
placeholder: e.$t("选项主题"),
|
|
6889
6889
|
style: { width: "150px" }
|
|
6890
6890
|
}, {
|
|
6891
|
-
default:
|
|
6891
|
+
default: C(() => [
|
|
6892
6892
|
(F(!0), W(ce, null, Oe(e.themesList, (g, L) => (F(), H(i, {
|
|
6893
6893
|
label: e.$t(g.name),
|
|
6894
6894
|
value: g.value,
|
|
6895
6895
|
key: L
|
|
6896
6896
|
}, {
|
|
6897
|
-
default:
|
|
6897
|
+
default: C(() => [
|
|
6898
6898
|
B(Z(e.$t(g.name)), 1)
|
|
6899
6899
|
]),
|
|
6900
6900
|
_: 2
|
|
@@ -6906,13 +6906,13 @@ function ku(e, t, n, a, r, o) {
|
|
|
6906
6906
|
_: 1
|
|
6907
6907
|
}),
|
|
6908
6908
|
S(l, { label: "暗黑模式" }, {
|
|
6909
|
-
default:
|
|
6909
|
+
default: C(() => [
|
|
6910
6910
|
r.frameSysTheme == "light" ? (F(), H(u, {
|
|
6911
6911
|
key: 0,
|
|
6912
6912
|
onClick: t[1] || (t[1] = (g) => r.frameSysTheme = "dark"),
|
|
6913
6913
|
class: "light-switch"
|
|
6914
6914
|
}, {
|
|
6915
|
-
default:
|
|
6915
|
+
default: C(() => [
|
|
6916
6916
|
S(f, { type: "cvSvgViewModeDark" })
|
|
6917
6917
|
]),
|
|
6918
6918
|
_: 1
|
|
@@ -6922,7 +6922,7 @@ function ku(e, t, n, a, r, o) {
|
|
|
6922
6922
|
onClick: t[2] || (t[2] = (g) => r.frameSysTheme = "light"),
|
|
6923
6923
|
class: "dark-switch"
|
|
6924
6924
|
}, {
|
|
6925
|
-
default:
|
|
6925
|
+
default: C(() => [
|
|
6926
6926
|
S(f, { type: "cvSvgViewModeLight" })
|
|
6927
6927
|
]),
|
|
6928
6928
|
_: 1
|
|
@@ -6931,7 +6931,7 @@ function ku(e, t, n, a, r, o) {
|
|
|
6931
6931
|
_: 1
|
|
6932
6932
|
}),
|
|
6933
6933
|
S(l, { label: "侧栏显示" }, {
|
|
6934
|
-
default:
|
|
6934
|
+
default: C(() => [
|
|
6935
6935
|
S(_, {
|
|
6936
6936
|
modelValue: r.frameSidebarState,
|
|
6937
6937
|
"onUpdate:modelValue": t[3] || (t[3] = (g) => r.frameSidebarState = g),
|
|
@@ -6944,7 +6944,7 @@ function ku(e, t, n, a, r, o) {
|
|
|
6944
6944
|
_: 1
|
|
6945
6945
|
}),
|
|
6946
6946
|
S(l, { label: "导航标签栏" }, {
|
|
6947
|
-
default:
|
|
6947
|
+
default: C(() => [
|
|
6948
6948
|
S(_, {
|
|
6949
6949
|
modelValue: r.frameSysNavTabs,
|
|
6950
6950
|
"onUpdate:modelValue": t[4] || (t[4] = (g) => r.frameSysNavTabs = g),
|
|
@@ -6957,19 +6957,19 @@ function ku(e, t, n, a, r, o) {
|
|
|
6957
6957
|
_: 1
|
|
6958
6958
|
}),
|
|
6959
6959
|
S(l, { label: "语言" }, {
|
|
6960
|
-
default:
|
|
6960
|
+
default: C(() => [
|
|
6961
6961
|
S(c, {
|
|
6962
6962
|
modelValue: r.frameSysLanguage,
|
|
6963
6963
|
"onUpdate:modelValue": t[5] || (t[5] = (g) => r.frameSysLanguage = g),
|
|
6964
6964
|
placeholder: e.$t("选项语言"),
|
|
6965
6965
|
style: { width: "150px" }
|
|
6966
6966
|
}, {
|
|
6967
|
-
default:
|
|
6967
|
+
default: C(() => [
|
|
6968
6968
|
(F(!0), W(ce, null, Oe(e.languageSelect, (g, L) => (F(), H(i, {
|
|
6969
6969
|
label: g.label,
|
|
6970
6970
|
value: g.value
|
|
6971
6971
|
}, {
|
|
6972
|
-
default:
|
|
6972
|
+
default: C(() => [
|
|
6973
6973
|
B(Z(g.label), 1)
|
|
6974
6974
|
]),
|
|
6975
6975
|
_: 2
|
|
@@ -6981,9 +6981,9 @@ function ku(e, t, n, a, r, o) {
|
|
|
6981
6981
|
_: 1
|
|
6982
6982
|
}),
|
|
6983
6983
|
S(l, { label: "版本" }, {
|
|
6984
|
-
default:
|
|
6984
|
+
default: C(() => [
|
|
6985
6985
|
S(u, { onClick: o.frameUpdateVersion }, {
|
|
6986
|
-
default:
|
|
6986
|
+
default: C(() => [
|
|
6987
6987
|
B(Z(e.$t("更新版本")), 1)
|
|
6988
6988
|
]),
|
|
6989
6989
|
_: 1
|
|
@@ -6992,9 +6992,9 @@ function ku(e, t, n, a, r, o) {
|
|
|
6992
6992
|
_: 1
|
|
6993
6993
|
}),
|
|
6994
6994
|
S(l, { label: "缓存" }, {
|
|
6995
|
-
default:
|
|
6995
|
+
default: C(() => [
|
|
6996
6996
|
S(u, { onClick: o.frameClearCache }, {
|
|
6997
|
-
default:
|
|
6997
|
+
default: C(() => [
|
|
6998
6998
|
B(Z(e.$t("清除缓存")), 1)
|
|
6999
6999
|
]),
|
|
7000
7000
|
_: 1
|
|
@@ -7035,13 +7035,13 @@ const Ru = /* @__PURE__ */ ge(Lu, [["render", ku]]), Pu = {
|
|
|
7035
7035
|
function Fu(e, t, n, a, r, o) {
|
|
7036
7036
|
const s = w("router-view");
|
|
7037
7037
|
return F(), H(s, { key: r.routeRefreshNum }, {
|
|
7038
|
-
default:
|
|
7038
|
+
default: C(({ Component: l, route: i }) => [
|
|
7039
7039
|
S(Ho, {
|
|
7040
7040
|
name: r.routeRefreshAnimation,
|
|
7041
7041
|
mode: "out-in",
|
|
7042
7042
|
appear: ""
|
|
7043
7043
|
}, {
|
|
7044
|
-
default:
|
|
7044
|
+
default: C(() => [
|
|
7045
7045
|
(F(), W("div", {
|
|
7046
7046
|
class: Ht(n.className),
|
|
7047
7047
|
key: i.path
|
|
@@ -7055,7 +7055,7 @@ function Fu(e, t, n, a, r, o) {
|
|
|
7055
7055
|
_: 1
|
|
7056
7056
|
});
|
|
7057
7057
|
}
|
|
7058
|
-
const Mu = /* @__PURE__ */ ge(Pu, [["render", Fu]]),
|
|
7058
|
+
const Mu = /* @__PURE__ */ ge(Pu, [["render", Fu]]), Na = (e) => Math.pow(e, 3), Uu = (e) => e < 0.5 ? Na(e * 2) / 2 : 1 - Na((1 - e) * 2) / 2, xu = {
|
|
7059
7059
|
name: "SameNavTabs",
|
|
7060
7060
|
data() {
|
|
7061
7061
|
return {
|
|
@@ -7186,14 +7186,14 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7186
7186
|
class: "btn-opt-left",
|
|
7187
7187
|
onClick: o.changeGdtLeft
|
|
7188
7188
|
}, {
|
|
7189
|
-
default:
|
|
7189
|
+
default: C(() => [
|
|
7190
7190
|
S(s, { type: "ElIconArrowLeft" })
|
|
7191
7191
|
]),
|
|
7192
7192
|
_: 1
|
|
7193
7193
|
}, 8, ["onClick"]),
|
|
7194
7194
|
D("div", Gu, [
|
|
7195
7195
|
S(c, { ref: "navScroll1" }, {
|
|
7196
|
-
default:
|
|
7196
|
+
default: C(() => [
|
|
7197
7197
|
D("div", $u, [
|
|
7198
7198
|
(F(!0), W(ce, null, Oe(r.sett_tags, (u, _) => (F(), H(i, {
|
|
7199
7199
|
id: r.activeTag == u.name ? "tagId" : "",
|
|
@@ -7205,7 +7205,7 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7205
7205
|
"disable-transitions": "",
|
|
7206
7206
|
onContextmenu: jo(o.openContextMenu, ["prevent"])
|
|
7207
7207
|
}, {
|
|
7208
|
-
default:
|
|
7208
|
+
default: C(() => [
|
|
7209
7209
|
B(Z(u.title), 1)
|
|
7210
7210
|
]),
|
|
7211
7211
|
_: 2
|
|
@@ -7219,13 +7219,13 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7219
7219
|
class: "btn-opt-right",
|
|
7220
7220
|
onClick: o.changeGdtRight
|
|
7221
7221
|
}, {
|
|
7222
|
-
default:
|
|
7222
|
+
default: C(() => [
|
|
7223
7223
|
S(s, { type: "ElIconArrowRight" })
|
|
7224
7224
|
]),
|
|
7225
7225
|
_: 1
|
|
7226
7226
|
}, 8, ["onClick"]),
|
|
7227
7227
|
S(l, { class: "btn-opt-close" }, {
|
|
7228
|
-
default:
|
|
7228
|
+
default: C(() => [
|
|
7229
7229
|
t[5] || (t[5] = B(" 关闭操作 ", -1)),
|
|
7230
7230
|
S(s, { type: "ElIconCaretBottom" })
|
|
7231
7231
|
]),
|
|
@@ -7233,16 +7233,16 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7233
7233
|
}),
|
|
7234
7234
|
Rt(D("div", {
|
|
7235
7235
|
class: "cloud-navtabs__contextmenu",
|
|
7236
|
-
style:
|
|
7236
|
+
style: Fn(r.contextMenuStyle)
|
|
7237
7237
|
}, [
|
|
7238
7238
|
D("ul", {
|
|
7239
|
-
style:
|
|
7239
|
+
style: Fn({ left: r.left + "px", top: r.top + "px" })
|
|
7240
7240
|
}, [
|
|
7241
7241
|
D("li", null, [
|
|
7242
7242
|
S(f, {
|
|
7243
7243
|
onClick: t[0] || (t[0] = (u) => o.curTabReload())
|
|
7244
7244
|
}, {
|
|
7245
|
-
default:
|
|
7245
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
7246
7246
|
B("重新加载", -1)
|
|
7247
7247
|
])]),
|
|
7248
7248
|
_: 1
|
|
@@ -7252,7 +7252,7 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7252
7252
|
S(f, {
|
|
7253
7253
|
onClick: t[1] || (t[1] = (u) => o.closeAllTabs())
|
|
7254
7254
|
}, {
|
|
7255
|
-
default:
|
|
7255
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
7256
7256
|
B("关闭所有", -1)
|
|
7257
7257
|
])]),
|
|
7258
7258
|
_: 1
|
|
@@ -7263,7 +7263,7 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7263
7263
|
onClick: t[2] || (t[2] = (u) => o.closeOtherTabs("left")),
|
|
7264
7264
|
disabled: r.isDisabledCloseLeftBtnFlag
|
|
7265
7265
|
}, {
|
|
7266
|
-
default:
|
|
7266
|
+
default: C(() => [...t[8] || (t[8] = [
|
|
7267
7267
|
B("关闭左边", -1)
|
|
7268
7268
|
])]),
|
|
7269
7269
|
_: 1
|
|
@@ -7274,7 +7274,7 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7274
7274
|
onClick: t[3] || (t[3] = (u) => o.closeOtherTabs("right")),
|
|
7275
7275
|
disabled: r.isDisabledCloseRightBtnFlag
|
|
7276
7276
|
}, {
|
|
7277
|
-
default:
|
|
7277
|
+
default: C(() => [...t[9] || (t[9] = [
|
|
7278
7278
|
B("关闭右边", -1)
|
|
7279
7279
|
])]),
|
|
7280
7280
|
_: 1
|
|
@@ -7284,7 +7284,7 @@ function Wu(e, t, n, a, r, o) {
|
|
|
7284
7284
|
S(f, {
|
|
7285
7285
|
onClick: t[4] || (t[4] = (u) => o.closeOtherTabs("other"))
|
|
7286
7286
|
}, {
|
|
7287
|
-
default:
|
|
7287
|
+
default: C(() => [...t[10] || (t[10] = [
|
|
7288
7288
|
B("关闭其他", -1)
|
|
7289
7289
|
])]),
|
|
7290
7290
|
_: 1
|
|
@@ -7357,7 +7357,7 @@ function Qu(e, t, n, a, r, o) {
|
|
|
7357
7357
|
key: u.name,
|
|
7358
7358
|
index: u.name
|
|
7359
7359
|
}, {
|
|
7360
|
-
title:
|
|
7360
|
+
title: C(() => [
|
|
7361
7361
|
D("div", Ku, [
|
|
7362
7362
|
u.meta.icon ? (F(), H(s, {
|
|
7363
7363
|
key: 0,
|
|
@@ -7368,7 +7368,7 @@ function Qu(e, t, n, a, r, o) {
|
|
|
7368
7368
|
]),
|
|
7369
7369
|
D("span", null, Z(u.meta.title || u.meta.short), 1)
|
|
7370
7370
|
]),
|
|
7371
|
-
default:
|
|
7371
|
+
default: C(() => [
|
|
7372
7372
|
S(l, {
|
|
7373
7373
|
appData: n.appData,
|
|
7374
7374
|
menuData: u.children,
|
|
@@ -7382,10 +7382,10 @@ function Qu(e, t, n, a, r, o) {
|
|
|
7382
7382
|
key: "b" + u.name,
|
|
7383
7383
|
onClick: (_) => o.handleOpenMenu(u)
|
|
7384
7384
|
}, {
|
|
7385
|
-
title:
|
|
7385
|
+
title: C(() => [
|
|
7386
7386
|
B(Z(u.meta.short || u.meta.title), 1)
|
|
7387
7387
|
]),
|
|
7388
|
-
default:
|
|
7388
|
+
default: C(() => [
|
|
7389
7389
|
!u.meta.icon && n.collapse && !n.isChildren ? (F(), W("div", qu, Z(u.meta.short || u.meta.title), 1)) : (F(), W("div", Xu, [
|
|
7390
7390
|
u.meta.icon ? (F(), H(s, {
|
|
7391
7391
|
key: 0,
|
|
@@ -7400,7 +7400,7 @@ function Qu(e, t, n, a, r, o) {
|
|
|
7400
7400
|
type: "danger",
|
|
7401
7401
|
max: 999,
|
|
7402
7402
|
value: o.currBadge(u.meta.badge),
|
|
7403
|
-
style:
|
|
7403
|
+
style: Fn(o.badgeStyle)
|
|
7404
7404
|
}, null, 8, ["value", "style"])) : te("", !0)
|
|
7405
7405
|
], 64)) : te("", !0)
|
|
7406
7406
|
]),
|
|
@@ -7466,7 +7466,7 @@ function nf(e, t, n, a, r, o) {
|
|
|
7466
7466
|
onOpen: o.handleOpen,
|
|
7467
7467
|
onClose: o.handleClose
|
|
7468
7468
|
}, {
|
|
7469
|
-
default:
|
|
7469
|
+
default: C(() => [
|
|
7470
7470
|
S(s, {
|
|
7471
7471
|
appData: e.openCaseInfo,
|
|
7472
7472
|
menuData: r.menuCurrList,
|
|
@@ -7514,7 +7514,7 @@ const rf = /* @__PURE__ */ ge(zu, [["render", nf]]), af = {
|
|
|
7514
7514
|
this.changeValue(!1), this.formData = {};
|
|
7515
7515
|
},
|
|
7516
7516
|
handleLogout() {
|
|
7517
|
-
const e =
|
|
7517
|
+
const e = Ne();
|
|
7518
7518
|
this.$request.flagPost("BASE_PASSPORT_LOGOUT", {}).finally(() => {
|
|
7519
7519
|
e.SA_ACCOUNT_LOGOUT(), this.$router.push({
|
|
7520
7520
|
path: "/login"
|
|
@@ -7547,10 +7547,10 @@ function sf(e, t, n, a, r, o) {
|
|
|
7547
7547
|
title: "修改密码",
|
|
7548
7548
|
onClose: o.handleCancel
|
|
7549
7549
|
}, {
|
|
7550
|
-
footer:
|
|
7550
|
+
footer: C(() => [
|
|
7551
7551
|
D("div", of, [
|
|
7552
7552
|
S(c, { onClick: o.handleCancel }, {
|
|
7553
|
-
default:
|
|
7553
|
+
default: C(() => [...t[4] || (t[4] = [
|
|
7554
7554
|
B("取 消", -1)
|
|
7555
7555
|
])]),
|
|
7556
7556
|
_: 1
|
|
@@ -7559,24 +7559,24 @@ function sf(e, t, n, a, r, o) {
|
|
|
7559
7559
|
type: "primary",
|
|
7560
7560
|
onClick: o.handleBeforeOk
|
|
7561
7561
|
}, {
|
|
7562
|
-
default:
|
|
7562
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
7563
7563
|
B("确 定", -1)
|
|
7564
7564
|
])]),
|
|
7565
7565
|
_: 1
|
|
7566
7566
|
}, 8, ["onClick"])
|
|
7567
7567
|
])
|
|
7568
7568
|
]),
|
|
7569
|
-
default:
|
|
7569
|
+
default: C(() => [
|
|
7570
7570
|
S(i, {
|
|
7571
7571
|
model: r.formData,
|
|
7572
7572
|
"label-width": "auto"
|
|
7573
7573
|
}, {
|
|
7574
|
-
default:
|
|
7574
|
+
default: C(() => [
|
|
7575
7575
|
S(l, {
|
|
7576
7576
|
prop: "old_pwd",
|
|
7577
7577
|
label: "原密码"
|
|
7578
7578
|
}, {
|
|
7579
|
-
default:
|
|
7579
|
+
default: C(() => [
|
|
7580
7580
|
S(s, {
|
|
7581
7581
|
type: "password",
|
|
7582
7582
|
"show-password": "",
|
|
@@ -7590,7 +7590,7 @@ function sf(e, t, n, a, r, o) {
|
|
|
7590
7590
|
prop: "new_pwd1",
|
|
7591
7591
|
label: "新密码"
|
|
7592
7592
|
}, {
|
|
7593
|
-
default:
|
|
7593
|
+
default: C(() => [
|
|
7594
7594
|
S(s, {
|
|
7595
7595
|
type: "password",
|
|
7596
7596
|
"show-password": "",
|
|
@@ -7604,7 +7604,7 @@ function sf(e, t, n, a, r, o) {
|
|
|
7604
7604
|
prop: "new_pwd2",
|
|
7605
7605
|
label: "确认密码"
|
|
7606
7606
|
}, {
|
|
7607
|
-
default:
|
|
7607
|
+
default: C(() => [
|
|
7608
7608
|
S(s, {
|
|
7609
7609
|
type: "password",
|
|
7610
7610
|
"show-password": "",
|
|
@@ -7710,7 +7710,7 @@ const lf = /* @__PURE__ */ ge(af, [["render", sf]]), cf = {
|
|
|
7710
7710
|
// }
|
|
7711
7711
|
}
|
|
7712
7712
|
}, uf = { class: "cloud-login-change-wrap" }, ff = { class: "cloud-login-change-box1" }, df = { class: "cloud-login-change-search" }, _f = { class: "cloud-login-change-box2" }, mf = { class: "cloud-login-change-group-box" }, hf = { class: "cloud-login-change-group-title" }, gf = { class: "cloud-login-change-group-sublist" }, pf = ["onClick"], Ef = { class: "cloud-login-change-item-left" }, Sf = { class: "cloud-login-change-item-left-icon" }, bf = ["src"], vf = { class: "cloud-login-change-item-right" }, yf = { class: "cloud-login-change-item-right-label" }, Tf = { class: "cloud-login-change-item-right-label2" }, Af = { class: "cloud-login-change-item-more" };
|
|
7713
|
-
function
|
|
7713
|
+
function Nf(e, t, n, a, r, o) {
|
|
7714
7714
|
const s = w("el-input"), l = w("el-button"), i = w("cv-icons");
|
|
7715
7715
|
return F(), W("div", uf, [
|
|
7716
7716
|
D("div", ff, [
|
|
@@ -7741,7 +7741,7 @@ function Cf(e, t, n, a, r, o) {
|
|
|
7741
7741
|
size: "large",
|
|
7742
7742
|
onClick: o.handleSearch
|
|
7743
7743
|
}, {
|
|
7744
|
-
default:
|
|
7744
|
+
default: C(() => [...t[3] || (t[3] = [
|
|
7745
7745
|
B("搜索", -1)
|
|
7746
7746
|
])]),
|
|
7747
7747
|
_: 1
|
|
@@ -7782,7 +7782,7 @@ function Cf(e, t, n, a, r, o) {
|
|
|
7782
7782
|
])
|
|
7783
7783
|
]);
|
|
7784
7784
|
}
|
|
7785
|
-
const
|
|
7785
|
+
const Cf = /* @__PURE__ */ ge(cf, [["render", Nf]]), Of = {
|
|
7786
7786
|
name: "SameFrame",
|
|
7787
7787
|
components: {
|
|
7788
7788
|
SidebarMenuBox: rf,
|
|
@@ -7790,7 +7790,7 @@ const Nf = /* @__PURE__ */ ge(cf, [["render", Cf]]), Of = {
|
|
|
7790
7790
|
SameRouteView: Mu,
|
|
7791
7791
|
HeaderSysSettDrawer: Ru,
|
|
7792
7792
|
ChangePassword: lf,
|
|
7793
|
-
SwitchBusiness:
|
|
7793
|
+
SwitchBusiness: Cf
|
|
7794
7794
|
},
|
|
7795
7795
|
props: {},
|
|
7796
7796
|
data() {
|
|
@@ -7856,7 +7856,7 @@ const Nf = /* @__PURE__ */ ge(cf, [["render", Cf]]), Of = {
|
|
|
7856
7856
|
e(), this.frameHeadSysSettDia = !1;
|
|
7857
7857
|
},
|
|
7858
7858
|
frameHandleCommand(e) {
|
|
7859
|
-
const t =
|
|
7859
|
+
const t = Ne();
|
|
7860
7860
|
switch (e) {
|
|
7861
7861
|
case "msg":
|
|
7862
7862
|
this.$message.info("应用暂未开通,敬请期待");
|
|
@@ -7921,7 +7921,7 @@ const Nf = /* @__PURE__ */ ge(cf, [["render", Cf]]), Of = {
|
|
|
7921
7921
|
handleType: t,
|
|
7922
7922
|
business_id: e.business_id || 0
|
|
7923
7923
|
}).then(async (n) => {
|
|
7924
|
-
n.status == 200 && (await
|
|
7924
|
+
n.status == 200 && (await Ne().SA_ACCOUNT_SIGNIN(n.data || {}), this.$message({
|
|
7925
7925
|
type: "success",
|
|
7926
7926
|
message: "登入成功...",
|
|
7927
7927
|
duration: 1e3
|
|
@@ -7980,13 +7980,13 @@ function Yf(e, t, n, a, r, o) {
|
|
|
7980
7980
|
]),
|
|
7981
7981
|
D("div", Pf, [
|
|
7982
7982
|
S(i, { separator: "/" }, {
|
|
7983
|
-
default:
|
|
7983
|
+
default: C(() => [
|
|
7984
7984
|
(F(!0), W(ce, null, Oe(r.breadcrumbPath, (E, T) => (F(), W(ce, null, [
|
|
7985
7985
|
T == r.breadcrumbPath.length - 1 || !E.path || E.path == "" ? (F(), H(l, {
|
|
7986
7986
|
key: T,
|
|
7987
7987
|
class: "no-redirect"
|
|
7988
7988
|
}, {
|
|
7989
|
-
default:
|
|
7989
|
+
default: C(() => [
|
|
7990
7990
|
B(Z(E.title), 1)
|
|
7991
7991
|
]),
|
|
7992
7992
|
_: 2
|
|
@@ -7994,7 +7994,7 @@ function Yf(e, t, n, a, r, o) {
|
|
|
7994
7994
|
key: "b" + T,
|
|
7995
7995
|
to: { path: E.path }
|
|
7996
7996
|
}, {
|
|
7997
|
-
default:
|
|
7997
|
+
default: C(() => [
|
|
7998
7998
|
B(Z(E.title), 1)
|
|
7999
7999
|
]),
|
|
8000
8000
|
_: 2
|
|
@@ -8030,11 +8030,11 @@ function Yf(e, t, n, a, r, o) {
|
|
|
8030
8030
|
onCommand: o.frameHandleCommand,
|
|
8031
8031
|
"popper-class": "cloud-header__info_dropdown"
|
|
8032
8032
|
}, {
|
|
8033
|
-
dropdown:
|
|
8033
|
+
dropdown: C(() => [
|
|
8034
8034
|
S(f, null, {
|
|
8035
|
-
default:
|
|
8035
|
+
default: C(() => [
|
|
8036
8036
|
S(c, { command: "account_change" }, {
|
|
8037
|
-
default:
|
|
8037
|
+
default: C(() => [
|
|
8038
8038
|
S(s, {
|
|
8039
8039
|
type: "cvSvgPeopleSwitch",
|
|
8040
8040
|
size: "15"
|
|
@@ -8044,7 +8044,7 @@ function Yf(e, t, n, a, r, o) {
|
|
|
8044
8044
|
_: 1
|
|
8045
8045
|
}),
|
|
8046
8046
|
S(c, { command: "account_chgpwd" }, {
|
|
8047
|
-
default:
|
|
8047
|
+
default: C(() => [
|
|
8048
8048
|
S(s, {
|
|
8049
8049
|
type: "cvSvgBaseLockOff",
|
|
8050
8050
|
size: "15"
|
|
@@ -8057,7 +8057,7 @@ function Yf(e, t, n, a, r, o) {
|
|
|
8057
8057
|
command: "clearCache",
|
|
8058
8058
|
divided: ""
|
|
8059
8059
|
}, {
|
|
8060
|
-
default:
|
|
8060
|
+
default: C(() => [
|
|
8061
8061
|
S(s, {
|
|
8062
8062
|
type: "ElIconDelete",
|
|
8063
8063
|
size: "15"
|
|
@@ -8067,7 +8067,7 @@ function Yf(e, t, n, a, r, o) {
|
|
|
8067
8067
|
_: 1
|
|
8068
8068
|
}),
|
|
8069
8069
|
S(c, { command: "logout" }, {
|
|
8070
|
-
default:
|
|
8070
|
+
default: C(() => [
|
|
8071
8071
|
S(s, {
|
|
8072
8072
|
type: "cvSvgArrowExportRight",
|
|
8073
8073
|
size: "14"
|
|
@@ -8080,7 +8080,7 @@ function Yf(e, t, n, a, r, o) {
|
|
|
8080
8080
|
_: 1
|
|
8081
8081
|
})
|
|
8082
8082
|
]),
|
|
8083
|
-
default:
|
|
8083
|
+
default: C(() => [
|
|
8084
8084
|
D("span", null, [
|
|
8085
8085
|
D("img", {
|
|
8086
8086
|
class: "chinfo-avatar",
|
|
@@ -8165,7 +8165,7 @@ const Xd = /* @__PURE__ */ ge(Of, [["render", Yf]]), Hf = {
|
|
|
8165
8165
|
},
|
|
8166
8166
|
computed: {
|
|
8167
8167
|
watemarkConf() {
|
|
8168
|
-
let e = this.openCaseInfo.LAST_IP_BRAND || "", n =
|
|
8168
|
+
let e = this.openCaseInfo.LAST_IP_BRAND || "", n = Ne().accountInfo || null;
|
|
8169
8169
|
return n && n.account_mobile_hide && (e = n.business_name + n.account_mobile_hide), {
|
|
8170
8170
|
content: e,
|
|
8171
8171
|
zIndex: -1,
|
|
@@ -8186,7 +8186,7 @@ const Xd = /* @__PURE__ */ ge(Of, [["render", Yf]]), Hf = {
|
|
|
8186
8186
|
function Kf(e, t, n, a, r, o) {
|
|
8187
8187
|
const s = w("el-watermark");
|
|
8188
8188
|
return F(), H(s, qo(o.watemarkConf, { style: { height: "100%" } }), {
|
|
8189
|
-
default:
|
|
8189
|
+
default: C(() => [
|
|
8190
8190
|
Xo(e.$slots, "default")
|
|
8191
8191
|
]),
|
|
8192
8192
|
_: 3
|
|
@@ -8247,13 +8247,13 @@ function Jf(e, t, n, a, r, o) {
|
|
|
8247
8247
|
rules: r.formRules,
|
|
8248
8248
|
model: r.formData
|
|
8249
8249
|
}, {
|
|
8250
|
-
default:
|
|
8250
|
+
default: C(() => [
|
|
8251
8251
|
(F(!0), W(ce, null, Oe(n.fieldsList, (g, L) => (F(), H(p, {
|
|
8252
8252
|
key: L,
|
|
8253
8253
|
label: g.field_form_label,
|
|
8254
8254
|
required: g.field_form_require == "on"
|
|
8255
8255
|
}, Qo({
|
|
8256
|
-
default:
|
|
8256
|
+
default: C(() => [
|
|
8257
8257
|
g.field_form_type == "upload_image" ? (F(), H(s, {
|
|
8258
8258
|
key: 0,
|
|
8259
8259
|
modelValue: r.formData[g.field_form_key],
|
|
@@ -8276,7 +8276,7 @@ function Jf(e, t, n, a, r, o) {
|
|
|
8276
8276
|
modelValue: r.formData[g.field_form_key],
|
|
8277
8277
|
"onUpdate:modelValue": (h) => r.formData[g.field_form_key] = h
|
|
8278
8278
|
}, {
|
|
8279
|
-
append:
|
|
8279
|
+
append: C(() => [...t[0] || (t[0] = [
|
|
8280
8280
|
B("元", -1)
|
|
8281
8281
|
])]),
|
|
8282
8282
|
_: 2
|
|
@@ -8308,12 +8308,12 @@ function Jf(e, t, n, a, r, o) {
|
|
|
8308
8308
|
modelValue: r.formData[g.field_form_key],
|
|
8309
8309
|
"onUpdate:modelValue": (h) => r.formData[g.field_form_key] = h
|
|
8310
8310
|
}, {
|
|
8311
|
-
default:
|
|
8311
|
+
default: C(() => [
|
|
8312
8312
|
S(u, {
|
|
8313
8313
|
label: "开启",
|
|
8314
8314
|
value: "on"
|
|
8315
8315
|
}, {
|
|
8316
|
-
default:
|
|
8316
|
+
default: C(() => [...t[3] || (t[3] = [
|
|
8317
8317
|
B("开启", -1)
|
|
8318
8318
|
])]),
|
|
8319
8319
|
_: 1
|
|
@@ -8322,7 +8322,7 @@ function Jf(e, t, n, a, r, o) {
|
|
|
8322
8322
|
label: "关闭",
|
|
8323
8323
|
value: "off"
|
|
8324
8324
|
}, {
|
|
8325
|
-
default:
|
|
8325
|
+
default: C(() => [...t[4] || (t[4] = [
|
|
8326
8326
|
B("关闭", -1)
|
|
8327
8327
|
])]),
|
|
8328
8328
|
_: 1
|
|
@@ -8335,12 +8335,12 @@ function Jf(e, t, n, a, r, o) {
|
|
|
8335
8335
|
modelValue: r.formData[g.field_form_key],
|
|
8336
8336
|
"onUpdate:modelValue": (h) => r.formData[g.field_form_key] = h
|
|
8337
8337
|
}, {
|
|
8338
|
-
default:
|
|
8338
|
+
default: C(() => [
|
|
8339
8339
|
(F(!0), W(ce, null, Oe(g.field_form_option, (h, E) => (F(), H(u, {
|
|
8340
8340
|
key: E,
|
|
8341
8341
|
value: h.value
|
|
8342
8342
|
}, {
|
|
8343
|
-
default:
|
|
8343
|
+
default: C(() => [
|
|
8344
8344
|
B(Z(h.label), 1)
|
|
8345
8345
|
]),
|
|
8346
8346
|
_: 2
|
|
@@ -8353,7 +8353,7 @@ function Jf(e, t, n, a, r, o) {
|
|
|
8353
8353
|
}, [
|
|
8354
8354
|
g.field_form_tip ? {
|
|
8355
8355
|
name: "tip",
|
|
8356
|
-
fn:
|
|
8356
|
+
fn: C(() => [
|
|
8357
8357
|
D("div", Qf, Z(g.field_form_tip), 1)
|
|
8358
8358
|
]),
|
|
8359
8359
|
key: "0"
|
|
@@ -8505,7 +8505,7 @@ const zf = /* @__PURE__ */ ge(jf, [["render", Jf]]), Zf = {
|
|
|
8505
8505
|
class: "cloud-dialog-choice-wrap"
|
|
8506
8506
|
}, td = { style: { width: "100%", height: "500px" } }, nd = { class: "cloud-dia-choice-box" }, rd = { class: "cloud-dia-choice-left" }, ad = { class: "cloud-dia-choice-right" }, od = { class: "cloud-dia-right-tools" }, sd = { class: "cloud-dia-right-list" }, id = ["src", "onClick"], ld = { class: "cloud-dia-right-item_text" }, cd = { key: 1 }, ud = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
|
|
8507
8507
|
function fd(e, t, n, a, r, o) {
|
|
8508
|
-
const s = w("el-input"), l = w("el-tree"), i = w("cv-btn-base"), c = w("el-upload"), f = w("cv-select-tree"), u = w("el-badge"), _ = w("cv-icons"), p = w("el-pagination"), v =
|
|
8508
|
+
const s = w("el-input"), l = w("el-tree"), i = w("cv-btn-base"), c = w("el-upload"), f = w("cv-select-tree"), u = w("el-badge"), _ = w("cv-icons"), p = w("el-pagination"), v = nr("loading");
|
|
8509
8509
|
return Rt((F(), W("div", ed, [
|
|
8510
8510
|
D("div", td, [
|
|
8511
8511
|
D("section", nd, [
|
|
@@ -8538,9 +8538,9 @@ function fd(e, t, n, a, r, o) {
|
|
|
8538
8538
|
"show-file-list": !1,
|
|
8539
8539
|
"file-list": r.upFileList
|
|
8540
8540
|
}, {
|
|
8541
|
-
default:
|
|
8541
|
+
default: C(() => [
|
|
8542
8542
|
S(i, { type: "primary" }, {
|
|
8543
|
-
default:
|
|
8543
|
+
default: C(() => [...t[2] || (t[2] = [
|
|
8544
8544
|
B("上传图片", -1)
|
|
8545
8545
|
])]),
|
|
8546
8546
|
_: 1
|
|
@@ -8552,7 +8552,7 @@ function fd(e, t, n, a, r, o) {
|
|
|
8552
8552
|
type: "primary",
|
|
8553
8553
|
disabled: r.activeImageUrl.length === 0
|
|
8554
8554
|
}, {
|
|
8555
|
-
default:
|
|
8555
|
+
default: C(() => [...t[3] || (t[3] = [
|
|
8556
8556
|
B("使用选中图片", -1)
|
|
8557
8557
|
])]),
|
|
8558
8558
|
_: 1
|
|
@@ -8561,7 +8561,7 @@ function fd(e, t, n, a, r, o) {
|
|
|
8561
8561
|
type: "danger",
|
|
8562
8562
|
disabled: r.activeImageUrl.length === 0
|
|
8563
8563
|
}, {
|
|
8564
|
-
default:
|
|
8564
|
+
default: C(() => [...t[4] || (t[4] = [
|
|
8565
8565
|
B("删除图片", -1)
|
|
8566
8566
|
])]),
|
|
8567
8567
|
_: 1
|
|
@@ -8582,7 +8582,7 @@ function fd(e, t, n, a, r, o) {
|
|
|
8582
8582
|
class: Ht(o.badgeValue(g.filelog_id) == 0 && "isshowBadge"),
|
|
8583
8583
|
value: o.badgeValue(g.filelog_id)
|
|
8584
8584
|
}, {
|
|
8585
|
-
default:
|
|
8585
|
+
default: C(() => [
|
|
8586
8586
|
D("img", {
|
|
8587
8587
|
class: Ht(r.activeImageState[L] && "active"),
|
|
8588
8588
|
src: g.cdn_full_path,
|
|
@@ -8620,7 +8620,7 @@ function fd(e, t, n, a, r, o) {
|
|
|
8620
8620
|
]),
|
|
8621
8621
|
D("div", ud, [
|
|
8622
8622
|
S(i, { onClick: o.handleClose }, {
|
|
8623
|
-
default:
|
|
8623
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
8624
8624
|
B("取 消", -1)
|
|
8625
8625
|
])]),
|
|
8626
8626
|
_: 1
|
|
@@ -8630,7 +8630,7 @@ function fd(e, t, n, a, r, o) {
|
|
|
8630
8630
|
onClick: o.handleConfirm,
|
|
8631
8631
|
autoLoading: ""
|
|
8632
8632
|
}, {
|
|
8633
|
-
default:
|
|
8633
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
8634
8634
|
B("确 定", -1)
|
|
8635
8635
|
])]),
|
|
8636
8636
|
_: 1
|
|
@@ -8710,7 +8710,7 @@ function hd(e, t, n, a, r, o) {
|
|
|
8710
8710
|
onClick: o.handleDiaImage,
|
|
8711
8711
|
style: { width: "150px" }
|
|
8712
8712
|
}, {
|
|
8713
|
-
default:
|
|
8713
|
+
default: C(() => [...t[2] || (t[2] = [
|
|
8714
8714
|
B("选择图片", -1)
|
|
8715
8715
|
])]),
|
|
8716
8716
|
_: 1
|
|
@@ -8800,7 +8800,7 @@ const gd = /* @__PURE__ */ ge(_d, [["render", hd]]), pd = {
|
|
|
8800
8800
|
class: "cloud-dialog-choice-wrap"
|
|
8801
8801
|
}, Sd = { style: { width: "100%", height: "500px" } }, bd = { class: "cloud-dia-choice-box" }, vd = { class: "cloud-dia-choice-left" }, yd = { class: "cloud-dia-choice-right" }, Td = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
|
|
8802
8802
|
function Ad(e, t, n, a, r, o) {
|
|
8803
|
-
const s = w("el-input"), l = w("el-tree"), i = w("cv-input-text"), c = w("cv-form-item"), f = w("cv-btn-base"), u = w("cv-form-inline"), _ = w("cvTbColumnCheck"), p = w("cvTbColumnText"), v = w("cvTbColumnImg"), g = w("cv-btn-text"), L = w("cvTbColumnOpt"), h = w("cvTableBase"), E =
|
|
8803
|
+
const s = w("el-input"), l = w("el-tree"), i = w("cv-input-text"), c = w("cv-form-item"), f = w("cv-btn-base"), u = w("cv-form-inline"), _ = w("cvTbColumnCheck"), p = w("cvTbColumnText"), v = w("cvTbColumnImg"), g = w("cv-btn-text"), L = w("cvTbColumnOpt"), h = w("cvTableBase"), E = nr("loading");
|
|
8804
8804
|
return Rt((F(), W("div", Ed, [
|
|
8805
8805
|
D("div", Sd, [
|
|
8806
8806
|
D("section", bd, [
|
|
@@ -8829,9 +8829,9 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8829
8829
|
rules: r.rightSoRules,
|
|
8830
8830
|
model: r.rightSoData
|
|
8831
8831
|
}, {
|
|
8832
|
-
default:
|
|
8832
|
+
default: C(() => [
|
|
8833
8833
|
S(c, { label: "商品搜索" }, {
|
|
8834
|
-
default:
|
|
8834
|
+
default: C(() => [
|
|
8835
8835
|
S(i, {
|
|
8836
8836
|
modelValue: r.rightSoData.key_goods_name,
|
|
8837
8837
|
"onUpdate:modelValue": t[1] || (t[1] = (T) => r.rightSoData.key_goods_name = T),
|
|
@@ -8841,13 +8841,13 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8841
8841
|
_: 1
|
|
8842
8842
|
}),
|
|
8843
8843
|
S(c, null, {
|
|
8844
|
-
default:
|
|
8844
|
+
default: C(() => [
|
|
8845
8845
|
S(f, {
|
|
8846
8846
|
icon: "ElIconSearch",
|
|
8847
8847
|
type: "primary",
|
|
8848
8848
|
onClick: t[2] || (t[2] = (T) => e.$refs.refDiaSelectTb.searchSubmit(r.rightSoData))
|
|
8849
8849
|
}, {
|
|
8850
|
-
default:
|
|
8850
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
8851
8851
|
B(" 搜索 ", -1)
|
|
8852
8852
|
])]),
|
|
8853
8853
|
_: 1
|
|
@@ -8856,7 +8856,7 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8856
8856
|
icon: "el-icon-refresh-left",
|
|
8857
8857
|
onClick: t[3] || (t[3] = (T) => (r.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
|
|
8858
8858
|
}, {
|
|
8859
|
-
default:
|
|
8859
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
8860
8860
|
B(" 重置 ", -1)
|
|
8861
8861
|
])]),
|
|
8862
8862
|
_: 1
|
|
@@ -8873,7 +8873,7 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8873
8873
|
tableRefresh: r.tableRefresh,
|
|
8874
8874
|
height: "390"
|
|
8875
8875
|
}, {
|
|
8876
|
-
default:
|
|
8876
|
+
default: C(() => [
|
|
8877
8877
|
S(_, { label: "选择" }),
|
|
8878
8878
|
S(p, {
|
|
8879
8879
|
label: "商品分类",
|
|
@@ -8903,11 +8903,11 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8903
8903
|
label: "操作",
|
|
8904
8904
|
width: "100"
|
|
8905
8905
|
}, {
|
|
8906
|
-
default:
|
|
8906
|
+
default: C(({ row: T, $index: y }) => [
|
|
8907
8907
|
S(g, {
|
|
8908
8908
|
onClick: (k) => o.handleSelect(T)
|
|
8909
8909
|
}, {
|
|
8910
|
-
default:
|
|
8910
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
8911
8911
|
B("选择", -1)
|
|
8912
8912
|
])]),
|
|
8913
8913
|
_: 2
|
|
@@ -8923,7 +8923,7 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8923
8923
|
]),
|
|
8924
8924
|
D("div", Td, [
|
|
8925
8925
|
S(f, { onClick: o.handleClose }, {
|
|
8926
|
-
default:
|
|
8926
|
+
default: C(() => [...t[8] || (t[8] = [
|
|
8927
8927
|
B("取 消", -1)
|
|
8928
8928
|
])]),
|
|
8929
8929
|
_: 1
|
|
@@ -8933,7 +8933,7 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8933
8933
|
onClick: o.handleConfirm,
|
|
8934
8934
|
autoLoading: ""
|
|
8935
8935
|
}, {
|
|
8936
|
-
default:
|
|
8936
|
+
default: C(() => [...t[9] || (t[9] = [
|
|
8937
8937
|
B("确 定", -1)
|
|
8938
8938
|
])]),
|
|
8939
8939
|
_: 1
|
|
@@ -8943,7 +8943,7 @@ function Ad(e, t, n, a, r, o) {
|
|
|
8943
8943
|
[E, r.isLoading]
|
|
8944
8944
|
]);
|
|
8945
8945
|
}
|
|
8946
|
-
const Jd = /* @__PURE__ */ ge(pd, [["render", Ad]]),
|
|
8946
|
+
const Jd = /* @__PURE__ */ ge(pd, [["render", Ad]]), Nd = {
|
|
8947
8947
|
emits: ["handleCallback", "close"],
|
|
8948
8948
|
props: {
|
|
8949
8949
|
// 选一个就关闭
|
|
@@ -9011,14 +9011,14 @@ const Jd = /* @__PURE__ */ ge(pd, [["render", Ad]]), Cd = {
|
|
|
9011
9011
|
this.$emit("close");
|
|
9012
9012
|
}
|
|
9013
9013
|
}
|
|
9014
|
-
},
|
|
9014
|
+
}, Cd = {
|
|
9015
9015
|
"element-loading-text": "加载中",
|
|
9016
9016
|
"element-loading-spinner": "el-icon-loading",
|
|
9017
9017
|
class: "cloud-dialog-choice-wrap"
|
|
9018
9018
|
}, Od = { style: { width: "100%", height: "500px" } }, Id = { class: "cloud-dia-choice-box" }, Ld = { class: "cloud-dia-choice-left" }, wd = { class: "cloud-dia-choice-right" }, Dd = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
|
|
9019
9019
|
function kd(e, t, n, a, r, o) {
|
|
9020
|
-
const s = w("el-input"), l = w("el-tree"), i = w("cv-input-text"), c = w("cv-form-item"), f = w("cv-btn-base"), u = w("cv-form-inline"), _ = w("cvTbColumnCheck"), p = w("cvTbColumnText"), v = w("cvTbColumnImg"), g = w("cv-btn-text"), L = w("cvTbColumnOpt"), h = w("cvTableBase"), E =
|
|
9021
|
-
return Rt((F(), W("div",
|
|
9020
|
+
const s = w("el-input"), l = w("el-tree"), i = w("cv-input-text"), c = w("cv-form-item"), f = w("cv-btn-base"), u = w("cv-form-inline"), _ = w("cvTbColumnCheck"), p = w("cvTbColumnText"), v = w("cvTbColumnImg"), g = w("cv-btn-text"), L = w("cvTbColumnOpt"), h = w("cvTableBase"), E = nr("loading");
|
|
9021
|
+
return Rt((F(), W("div", Cd, [
|
|
9022
9022
|
D("div", Od, [
|
|
9023
9023
|
D("section", Id, [
|
|
9024
9024
|
D("section", Ld, [
|
|
@@ -9046,9 +9046,9 @@ function kd(e, t, n, a, r, o) {
|
|
|
9046
9046
|
rules: r.rightSoRules,
|
|
9047
9047
|
model: r.rightSoData
|
|
9048
9048
|
}, {
|
|
9049
|
-
default:
|
|
9049
|
+
default: C(() => [
|
|
9050
9050
|
S(c, { label: "名称" }, {
|
|
9051
|
-
default:
|
|
9051
|
+
default: C(() => [
|
|
9052
9052
|
S(i, {
|
|
9053
9053
|
modelValue: r.rightSoData.key_staff_name,
|
|
9054
9054
|
"onUpdate:modelValue": t[1] || (t[1] = (T) => r.rightSoData.key_staff_name = T)
|
|
@@ -9057,13 +9057,13 @@ function kd(e, t, n, a, r, o) {
|
|
|
9057
9057
|
_: 1
|
|
9058
9058
|
}),
|
|
9059
9059
|
S(c, null, {
|
|
9060
|
-
default:
|
|
9060
|
+
default: C(() => [
|
|
9061
9061
|
S(f, {
|
|
9062
9062
|
icon: "ElIconSearch",
|
|
9063
9063
|
type: "primary",
|
|
9064
9064
|
onClick: t[2] || (t[2] = (T) => e.$refs.refDiaSelectTb.searchSubmit(r.rightSoData))
|
|
9065
9065
|
}, {
|
|
9066
|
-
default:
|
|
9066
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
9067
9067
|
B(" 搜索 ", -1)
|
|
9068
9068
|
])]),
|
|
9069
9069
|
_: 1
|
|
@@ -9072,7 +9072,7 @@ function kd(e, t, n, a, r, o) {
|
|
|
9072
9072
|
icon: "el-icon-refresh-left",
|
|
9073
9073
|
onClick: t[3] || (t[3] = (T) => (r.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
|
|
9074
9074
|
}, {
|
|
9075
|
-
default:
|
|
9075
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
9076
9076
|
B(" 重置 ", -1)
|
|
9077
9077
|
])]),
|
|
9078
9078
|
_: 1
|
|
@@ -9089,7 +9089,7 @@ function kd(e, t, n, a, r, o) {
|
|
|
9089
9089
|
tableRefresh: r.tableRefresh,
|
|
9090
9090
|
height: "390"
|
|
9091
9091
|
}, {
|
|
9092
|
-
default:
|
|
9092
|
+
default: C(() => [
|
|
9093
9093
|
S(_, { label: "选择" }),
|
|
9094
9094
|
S(p, {
|
|
9095
9095
|
label: "ID",
|
|
@@ -9121,11 +9121,11 @@ function kd(e, t, n, a, r, o) {
|
|
|
9121
9121
|
label: "操作",
|
|
9122
9122
|
width: "100"
|
|
9123
9123
|
}, {
|
|
9124
|
-
default:
|
|
9124
|
+
default: C(({ row: T, $index: y }) => [
|
|
9125
9125
|
S(g, {
|
|
9126
9126
|
onClick: (k) => o.handleSelect(T)
|
|
9127
9127
|
}, {
|
|
9128
|
-
default:
|
|
9128
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
9129
9129
|
B("选择", -1)
|
|
9130
9130
|
])]),
|
|
9131
9131
|
_: 2
|
|
@@ -9141,7 +9141,7 @@ function kd(e, t, n, a, r, o) {
|
|
|
9141
9141
|
]),
|
|
9142
9142
|
D("div", Dd, [
|
|
9143
9143
|
S(f, { onClick: o.handleClose }, {
|
|
9144
|
-
default:
|
|
9144
|
+
default: C(() => [...t[8] || (t[8] = [
|
|
9145
9145
|
B("取 消", -1)
|
|
9146
9146
|
])]),
|
|
9147
9147
|
_: 1
|
|
@@ -9151,7 +9151,7 @@ function kd(e, t, n, a, r, o) {
|
|
|
9151
9151
|
onClick: o.handleConfirm,
|
|
9152
9152
|
autoLoading: ""
|
|
9153
9153
|
}, {
|
|
9154
|
-
default:
|
|
9154
|
+
default: C(() => [...t[9] || (t[9] = [
|
|
9155
9155
|
B("确 定", -1)
|
|
9156
9156
|
])]),
|
|
9157
9157
|
_: 1
|
|
@@ -9161,7 +9161,7 @@ function kd(e, t, n, a, r, o) {
|
|
|
9161
9161
|
[E, r.isLoading]
|
|
9162
9162
|
]);
|
|
9163
9163
|
}
|
|
9164
|
-
const zd = /* @__PURE__ */ ge(
|
|
9164
|
+
const zd = /* @__PURE__ */ ge(Nd, [["render", kd]]);
|
|
9165
9165
|
(function() {
|
|
9166
9166
|
if (typeof EventTarget < "u") {
|
|
9167
9167
|
let e = EventTarget.prototype.addEventListener;
|
|
@@ -9226,7 +9226,7 @@ var Rd = {
|
|
|
9226
9226
|
function Pd(e) {
|
|
9227
9227
|
e.mixin(Rd);
|
|
9228
9228
|
}
|
|
9229
|
-
function
|
|
9229
|
+
function Ca(e, t, n) {
|
|
9230
9230
|
const a = t.value;
|
|
9231
9231
|
if (a)
|
|
9232
9232
|
Fo(a) || !1 || e.parentNode && e.parentNode.removeChild(e);
|
|
@@ -9235,9 +9235,9 @@ function Na(e, t, n) {
|
|
|
9235
9235
|
}
|
|
9236
9236
|
function Fd(e, t, n) {
|
|
9237
9237
|
n = n || "vue3", n == "vue2" ? e.directive("auth", {
|
|
9238
|
-
inserted:
|
|
9238
|
+
inserted: Ca
|
|
9239
9239
|
}) : e.directive("auth", {
|
|
9240
|
-
mounted:
|
|
9240
|
+
mounted: Ca
|
|
9241
9241
|
}), t.$_auth = Fo;
|
|
9242
9242
|
}
|
|
9243
9243
|
/*! Element Plus v2.11.1 */
|
|
@@ -9427,7 +9427,7 @@ function Ud(e) {
|
|
|
9427
9427
|
for (const [t, n] of Object.entries(es))
|
|
9428
9428
|
e.component("ElIcon" + t, n);
|
|
9429
9429
|
}
|
|
9430
|
-
const xd = "
|
|
9430
|
+
const xd = "__syCacheSdkConfig__";
|
|
9431
9431
|
function Vd(e) {
|
|
9432
9432
|
const t = I.idbGetItem(xd), n = {
|
|
9433
9433
|
// upAction: lastConfig.VITE_SY_API_URL + 'sdks.sdk_file/common/upload_image',
|
|
@@ -9497,7 +9497,7 @@ function Vd(e) {
|
|
|
9497
9497
|
e.component("cvSvg" + a, r);
|
|
9498
9498
|
}
|
|
9499
9499
|
async function Zd(e, t) {
|
|
9500
|
-
as(t), Ro(e), Ft().init(), Ge().init(), await nn().init(), await
|
|
9500
|
+
as(t), Ro(e), Ft().init(), Ge().init(), await nn().init(), await Ne().init();
|
|
9501
9501
|
}
|
|
9502
9502
|
async function e_(e, t, n, a, r = "", o = null) {
|
|
9503
9503
|
rn().init(a), an().init(n);
|
|
@@ -9509,7 +9509,7 @@ async function e_(e, t, n, a, r = "", o = null) {
|
|
|
9509
9509
|
Jc(l, o), window.$t = Xe.t;
|
|
9510
9510
|
}
|
|
9511
9511
|
async function Bd(e, t, n) {
|
|
9512
|
-
const a =
|
|
9512
|
+
const a = Ct(), r = Ne(), o = rn(), s = an();
|
|
9513
9513
|
a.QK_SEND_MSG_REG_SUBMENU(t);
|
|
9514
9514
|
let l = Qt().syProductSign || "";
|
|
9515
9515
|
s.SA_PERMS_ROUTER_ADD(e, l), o.SA_MENU_PARSE(), a.QK_SEND_MSG_ROUTER_BEFORE(n);
|
|
@@ -9545,11 +9545,11 @@ async function t_(e, t, n) {
|
|
|
9545
9545
|
}
|
|
9546
9546
|
export {
|
|
9547
9547
|
ue as H,
|
|
9548
|
-
|
|
9548
|
+
Cf as S,
|
|
9549
9549
|
ge as _,
|
|
9550
9550
|
I as a,
|
|
9551
9551
|
Ge as b,
|
|
9552
|
-
|
|
9552
|
+
Ne as c,
|
|
9553
9553
|
nn as d,
|
|
9554
9554
|
Qt as e,
|
|
9555
9555
|
Xd as f,
|
|
@@ -9558,7 +9558,7 @@ export {
|
|
|
9558
9558
|
Jd as i,
|
|
9559
9559
|
zd as j,
|
|
9560
9560
|
dd as k,
|
|
9561
|
-
|
|
9561
|
+
Ct as l,
|
|
9562
9562
|
ko as m,
|
|
9563
9563
|
rn as n,
|
|
9564
9564
|
an as o,
|