@10yun/open-sdk 0.3.115 → 0.3.116
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-B-uAjeoV.cjs → 404-CUibZDub.cjs} +1 -1
- package/dist/{404-BC8EGJIq.js → 404-w46dTUw1.js} +1 -1
- package/dist/{alone_run-DwmETUUB.js → alone_run-C_2AiUu2.js} +1 -1
- package/dist/{alone_run-CZt_gm8Z.cjs → alone_run-Dc70OKGc.cjs} +1 -1
- package/dist/{index-CbZVp4f1.cjs → index-CJ8LViwn.cjs} +6 -6
- package/dist/{index-N3ji9MHu.js → index-CYScZEKJ.js} +122 -121
- package/dist/{login-rAR1-kV2.js → login-6z0mYR8y.js} +1 -1
- package/dist/{login-7E79ce5i.cjs → login-BqsqbVDI.cjs} +1 -1
- package/dist/{none-DZ6wSjZB.js → none-C-kvGqKn.js} +1 -1
- package/dist/{none-C7ob5JFv.cjs → none-Dse_H9x8.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,5 +1,5 @@
|
|
|
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 Pn, isRef as Bo, defineComponent as ta, getCurrentInstance as Nt, h as Or, 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
|
|
2
|
+
import { effectScope as Uo, ref as xo, shallowRef as Vo, computed as pt, watch as Pn, isRef as Bo, defineComponent as ta, getCurrentInstance as Nt, h as Or, 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 Ir, mergeProps as qo, renderSlot as Xo, createSlots as Qo, resolveDirective as na } from "vue";
|
|
3
3
|
import Jo, { ElMessage as Na, 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";
|
|
@@ -12,7 +12,7 @@ let Lr = {};
|
|
|
12
12
|
function rs(e = {}) {
|
|
13
13
|
Lr = e;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Qt() {
|
|
16
16
|
return Lr;
|
|
17
17
|
}
|
|
18
18
|
const os = 60 * 60 * 24 * 7;
|
|
@@ -201,8 +201,8 @@ function ra() {
|
|
|
201
201
|
return arguments[arguments.length - 1];
|
|
202
202
|
}
|
|
203
203
|
const Mn = "local-forage-detect-blob-support";
|
|
204
|
-
let
|
|
205
|
-
const ve = {}, cs = Object.prototype.toString, Pt = "readonly",
|
|
204
|
+
let xt;
|
|
205
|
+
const ve = {}, cs = Object.prototype.toString, Pt = "readonly", Jt = "readwrite";
|
|
206
206
|
function us(e) {
|
|
207
207
|
for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), a = 0; a < t; a++)
|
|
208
208
|
r[a] = e.charCodeAt(a);
|
|
@@ -210,7 +210,7 @@ function us(e) {
|
|
|
210
210
|
}
|
|
211
211
|
function fs(e) {
|
|
212
212
|
return new U(function(t) {
|
|
213
|
-
var n = e.transaction(Mn,
|
|
213
|
+
var n = e.transaction(Mn, Jt), r = aa([""]);
|
|
214
214
|
n.objectStore(Mn).put(r, "key"), n.onabort = function(a) {
|
|
215
215
|
a.preventDefault(), a.stopPropagation(), t(!1);
|
|
216
216
|
}, n.oncomplete = function() {
|
|
@@ -224,11 +224,11 @@ function fs(e) {
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
function ds(e) {
|
|
227
|
-
return typeof
|
|
228
|
-
return
|
|
227
|
+
return typeof xt == "boolean" ? U.resolve(xt) : fs(e).then(function(t) {
|
|
228
|
+
return xt = t, xt;
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Kt(e) {
|
|
232
232
|
var t = ve[e.name], n = {};
|
|
233
233
|
n.promise = new U(function(r, a) {
|
|
234
234
|
n.resolve = r, n.reject = a;
|
|
@@ -250,7 +250,7 @@ function wr(e, t) {
|
|
|
250
250
|
return new U(function(n, r) {
|
|
251
251
|
if (ve[e.name] = ve[e.name] || Pr(), e.db)
|
|
252
252
|
if (t)
|
|
253
|
-
|
|
253
|
+
Kt(e), e.db.close();
|
|
254
254
|
else
|
|
255
255
|
return n(e.db);
|
|
256
256
|
var a = [e.name];
|
|
@@ -322,7 +322,7 @@ function ms(e) {
|
|
|
322
322
|
return ot(n, e, e), n;
|
|
323
323
|
}
|
|
324
324
|
function hs(e) {
|
|
325
|
-
|
|
325
|
+
Kt(e);
|
|
326
326
|
for (var t = ve[e.name], n = t.forages, r = 0; r < n.length; r++) {
|
|
327
327
|
const a = n[r];
|
|
328
328
|
a._dbInfo.db && (a._dbInfo.db.close(), a._dbInfo.db = null);
|
|
@@ -465,7 +465,7 @@ function Ss(e, t, n) {
|
|
|
465
465
|
return i ? t : _s(t);
|
|
466
466
|
}) : t;
|
|
467
467
|
}).then(function(i) {
|
|
468
|
-
Me(r._dbInfo,
|
|
468
|
+
Me(r._dbInfo, Jt, function(c, f) {
|
|
469
469
|
if (c)
|
|
470
470
|
return s(c);
|
|
471
471
|
try {
|
|
@@ -493,7 +493,7 @@ function bs(e, t) {
|
|
|
493
493
|
e = Fe(e);
|
|
494
494
|
var r = new U(function(a, o) {
|
|
495
495
|
n.ready().then(function() {
|
|
496
|
-
Me(n._dbInfo,
|
|
496
|
+
Me(n._dbInfo, Jt, function(s, l) {
|
|
497
497
|
if (s)
|
|
498
498
|
return o(s);
|
|
499
499
|
try {
|
|
@@ -519,7 +519,7 @@ function bs(e, t) {
|
|
|
519
519
|
function vs(e) {
|
|
520
520
|
var t = this, n = new U(function(r, a) {
|
|
521
521
|
t.ready().then(function() {
|
|
522
|
-
Me(t._dbInfo,
|
|
522
|
+
Me(t._dbInfo, Jt, function(o, s) {
|
|
523
523
|
if (o)
|
|
524
524
|
return a(o);
|
|
525
525
|
try {
|
|
@@ -642,7 +642,7 @@ function Ns(e, t) {
|
|
|
642
642
|
if (!l.objectStoreNames.contains(e.storeName))
|
|
643
643
|
return;
|
|
644
644
|
const i = l.version + 1;
|
|
645
|
-
|
|
645
|
+
Kt(e);
|
|
646
646
|
const c = ve[e.name], f = c.forages;
|
|
647
647
|
l.close();
|
|
648
648
|
for (let _ = 0; _ < f.length; _++) {
|
|
@@ -671,7 +671,7 @@ function Ns(e, t) {
|
|
|
671
671
|
}), _;
|
|
672
672
|
});
|
|
673
673
|
}) : a = s.then((l) => {
|
|
674
|
-
|
|
674
|
+
Kt(e);
|
|
675
675
|
const i = ve[e.name], c = i.forages;
|
|
676
676
|
l.close();
|
|
677
677
|
for (var f = 0; f < c.length; f++) {
|
|
@@ -719,7 +719,7 @@ var Cs = {
|
|
|
719
719
|
function Os() {
|
|
720
720
|
return typeof openDatabase == "function";
|
|
721
721
|
}
|
|
722
|
-
var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Is = "~~local_forage_type~", Ca = /^~~local_forage_type~([^~]+)~/,
|
|
722
|
+
var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Is = "~~local_forage_type~", Ca = /^~~local_forage_type~([^~]+)~/, jt = "__lfsc__:", Vn = jt.length, ia = "arbf", Bn = "blob", Fr = "si08", Mr = "ui08", Ur = "uic8", xr = "si16", Vr = "si32", Br = "ur16", Gr = "ui32", $r = "fl32", Wr = "fl64", Oa = Vn + ia.length, Ia = Object.prototype.toString;
|
|
723
723
|
function Yr(e) {
|
|
724
724
|
var t = e.length * 0.75, n = e.length, r, a = 0, o, s, l, i;
|
|
725
725
|
e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
|
|
@@ -737,13 +737,13 @@ function Gn(e) {
|
|
|
737
737
|
function Ls(e, t) {
|
|
738
738
|
var n = "";
|
|
739
739
|
if (e && (n = Ia.call(e)), e && (n === "[object ArrayBuffer]" || e.buffer && Ia.call(e.buffer) === "[object ArrayBuffer]")) {
|
|
740
|
-
var r, a =
|
|
740
|
+
var r, a = jt;
|
|
741
741
|
e instanceof ArrayBuffer ? (r = e, a += ia) : (r = e.buffer, n === "[object Int8Array]" ? a += Fr : n === "[object Uint8Array]" ? a += Mr : n === "[object Uint8ClampedArray]" ? a += Ur : n === "[object Int16Array]" ? a += xr : n === "[object Uint16Array]" ? a += Br : n === "[object Int32Array]" ? a += Vr : n === "[object Uint32Array]" ? a += Gr : n === "[object Float32Array]" ? a += $r : n === "[object Float64Array]" ? a += Wr : t(new Error("Failed to get type for BinaryArray"))), t(a + Gn(r));
|
|
742
742
|
} else if (n === "[object Blob]") {
|
|
743
743
|
var o = new FileReader();
|
|
744
744
|
o.onload = function() {
|
|
745
745
|
var s = Is + e.type + "~" + Gn(this.result);
|
|
746
|
-
t(
|
|
746
|
+
t(jt + Bn + s);
|
|
747
747
|
}, o.readAsArrayBuffer(e);
|
|
748
748
|
} else
|
|
749
749
|
try {
|
|
@@ -753,7 +753,7 @@ function Ls(e, t) {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
function ws(e) {
|
|
756
|
-
if (e.substring(0, Vn) !==
|
|
756
|
+
if (e.substring(0, Vn) !== jt)
|
|
757
757
|
return JSON.parse(e);
|
|
758
758
|
var t = e.substring(Oa), n = e.substring(
|
|
759
759
|
Vn,
|
|
@@ -1346,7 +1346,7 @@ const ai = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
1346
1346
|
it.INDEXEDDB._driver,
|
|
1347
1347
|
it.WEBSQL._driver,
|
|
1348
1348
|
it.LOCALSTORAGE._driver
|
|
1349
|
-
],
|
|
1349
|
+
], Wt = ["dropInstance"], yn = [
|
|
1350
1350
|
"clear",
|
|
1351
1351
|
"getItem",
|
|
1352
1352
|
"iterate",
|
|
@@ -1355,7 +1355,7 @@ const ai = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
1355
1355
|
"length",
|
|
1356
1356
|
"removeItem",
|
|
1357
1357
|
"setItem"
|
|
1358
|
-
].concat(
|
|
1358
|
+
].concat(Wt), si = {
|
|
1359
1359
|
description: "",
|
|
1360
1360
|
driver: oi.slice(),
|
|
1361
1361
|
name: "localforage",
|
|
@@ -1429,7 +1429,7 @@ class ca {
|
|
|
1429
1429
|
for (let _ = 0, p = c.length; _ < p; _++) {
|
|
1430
1430
|
const v = c[_];
|
|
1431
1431
|
if ((!ri(
|
|
1432
|
-
|
|
1432
|
+
Wt,
|
|
1433
1433
|
v
|
|
1434
1434
|
) || t[v]) && typeof t[v] != "function") {
|
|
1435
1435
|
s(i);
|
|
@@ -1448,8 +1448,8 @@ class ca {
|
|
|
1448
1448
|
), g;
|
|
1449
1449
|
};
|
|
1450
1450
|
};
|
|
1451
|
-
for (let p = 0, v =
|
|
1452
|
-
const g =
|
|
1451
|
+
for (let p = 0, v = Wt.length; p < v; p++) {
|
|
1452
|
+
const g = Wt[p];
|
|
1453
1453
|
t[g] || (t[g] = _(
|
|
1454
1454
|
g
|
|
1455
1455
|
));
|
|
@@ -1837,10 +1837,10 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1837
1837
|
});
|
|
1838
1838
|
}
|
|
1839
1839
|
const pi = /\{([0-9a-zA-Z]+)\}/g;
|
|
1840
|
-
function
|
|
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, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
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) => fa(e) === "[object Date]", ct = (e) => fa(e) === "[object RegExp]",
|
|
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) => fa(e) === "[object Date]", ct = (e) => fa(e) === "[object RegExp]", Zt = (e) => G(e) && Object.keys(e).length === 0, le = Object.assign, vi = Object.create, X = (e = null) => vi(e);
|
|
1844
1844
|
let Da;
|
|
1845
1845
|
const Qe = () => Da || (Da = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : X());
|
|
1846
1846
|
function ka(e) {
|
|
@@ -1913,15 +1913,15 @@ function _a() {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
};
|
|
1915
1915
|
}
|
|
1916
|
-
const
|
|
1917
|
-
function
|
|
1918
|
-
if (
|
|
1916
|
+
const Vt = (e) => !Y(e) || ne(e);
|
|
1917
|
+
function Yt(e, t) {
|
|
1918
|
+
if (Vt(e) || Vt(t))
|
|
1919
1919
|
throw new Error("Invalid value");
|
|
1920
1920
|
const n = [{ src: e, des: t }];
|
|
1921
1921
|
for (; n.length; ) {
|
|
1922
1922
|
const { src: r, des: a } = n.pop();
|
|
1923
1923
|
Object.keys(r).forEach((o) => {
|
|
1924
|
-
o !== "__proto__" && (Y(r[o]) && !Y(a[o]) && (a[o] = Array.isArray(r[o]) ? [] : X()),
|
|
1924
|
+
o !== "__proto__" && (Y(r[o]) && !Y(a[o]) && (a[o] = Array.isArray(r[o]) ? [] : X()), Vt(a[o]) || Vt(r[o]) ? a[o] = r[o] : n.push({ src: r[o], des: a[o] }));
|
|
1925
1925
|
});
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
@@ -1980,7 +1980,7 @@ const x = {
|
|
|
1980
1980
|
[x.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
1981
1981
|
};
|
|
1982
1982
|
function dt(e, t, n = {}) {
|
|
1983
|
-
const { domain: r, messages: a, args: o } = n, s = process.env.NODE_ENV !== "production" ?
|
|
1983
|
+
const { domain: r, messages: a, args: o } = n, s = process.env.NODE_ENV !== "production" ? zt((a || Li)[e] || "", ...o || []) : e, l = new SyntaxError(String(s));
|
|
1984
1984
|
return l.code = e, t && (l.location = t), l.domain = r, l;
|
|
1985
1985
|
}
|
|
1986
1986
|
function wi(e) {
|
|
@@ -2255,14 +2255,14 @@ function Vi(e, t = {}) {
|
|
|
2255
2255
|
case "'":
|
|
2256
2256
|
return d.next(), `\\${m}`;
|
|
2257
2257
|
case "u":
|
|
2258
|
-
return
|
|
2258
|
+
return Mt(d, m, 4);
|
|
2259
2259
|
case "U":
|
|
2260
|
-
return
|
|
2260
|
+
return Mt(d, m, 6);
|
|
2261
2261
|
default:
|
|
2262
2262
|
return u(x.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, m), "";
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function Mt(d, m, N) {
|
|
2266
2266
|
v(d, m);
|
|
2267
2267
|
let M = "";
|
|
2268
2268
|
for (let re = 0; re < N; re++) {
|
|
@@ -2896,7 +2896,7 @@ function ha(e) {
|
|
|
2896
2896
|
return We(e, eo);
|
|
2897
2897
|
}
|
|
2898
2898
|
const to = ["v", "value"];
|
|
2899
|
-
function
|
|
2899
|
+
function Bt(e, t) {
|
|
2900
2900
|
const n = We(e, to);
|
|
2901
2901
|
if (n != null)
|
|
2902
2902
|
return n;
|
|
@@ -2969,9 +2969,9 @@ function Wn(e, t) {
|
|
|
2969
2969
|
const n = ha(t);
|
|
2970
2970
|
switch (n) {
|
|
2971
2971
|
case 3:
|
|
2972
|
-
return
|
|
2972
|
+
return Bt(t, n);
|
|
2973
2973
|
case 9:
|
|
2974
|
-
return
|
|
2974
|
+
return Bt(t, n);
|
|
2975
2975
|
case 4: {
|
|
2976
2976
|
const r = t;
|
|
2977
2977
|
if (Ae(r, "k") && r.k)
|
|
@@ -2993,19 +2993,19 @@ function Wn(e, t) {
|
|
|
2993
2993
|
return e.linked(Wn(e, o), a ? Wn(e, a) : void 0, e.type);
|
|
2994
2994
|
}
|
|
2995
2995
|
case 7:
|
|
2996
|
-
return
|
|
2996
|
+
return Bt(t, n);
|
|
2997
2997
|
case 8:
|
|
2998
|
-
return
|
|
2998
|
+
return Bt(t, n);
|
|
2999
2999
|
default:
|
|
3000
3000
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
3001
3001
|
}
|
|
3002
3002
|
}
|
|
3003
3003
|
const ul = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
3004
3004
|
function fl(e, t) {
|
|
3005
|
-
t && ki(e) && (
|
|
3005
|
+
t && ki(e) && (zt(ul, { source: e }), void 0);
|
|
3006
3006
|
}
|
|
3007
3007
|
const dl = (e) => e;
|
|
3008
|
-
let
|
|
3008
|
+
let Gt = X();
|
|
3009
3009
|
function _l(e, t = {}) {
|
|
3010
3010
|
let n = !1;
|
|
3011
3011
|
const r = t.onError || wi;
|
|
@@ -3018,7 +3018,7 @@ function ml(e, t) {
|
|
|
3018
3018
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && P(e)) {
|
|
3019
3019
|
const n = K(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
3020
3020
|
process.env.NODE_ENV !== "production" && fl(e, n);
|
|
3021
|
-
const a = (t.onCacheKey || dl)(e), o =
|
|
3021
|
+
const a = (t.onCacheKey || dl)(e), o = Gt[a];
|
|
3022
3022
|
if (o)
|
|
3023
3023
|
return o;
|
|
3024
3024
|
const { ast: s, detectError: l } = _l(e, {
|
|
@@ -3026,14 +3026,14 @@ function ml(e, t) {
|
|
|
3026
3026
|
location: process.env.NODE_ENV !== "production",
|
|
3027
3027
|
jit: !0
|
|
3028
3028
|
}), i = An(s);
|
|
3029
|
-
return l ? i :
|
|
3029
|
+
return l ? i : Gt[a] = i;
|
|
3030
3030
|
} else {
|
|
3031
3031
|
if (process.env.NODE_ENV !== "production" && !ye(e))
|
|
3032
3032
|
return `${t.key}`, () => e;
|
|
3033
3033
|
const n = e.cacheKey;
|
|
3034
3034
|
if (n) {
|
|
3035
|
-
const r =
|
|
3036
|
-
return r || (
|
|
3035
|
+
const r = Gt[n];
|
|
3036
|
+
return r || (Gt[n] = An(e));
|
|
3037
3037
|
} else
|
|
3038
3038
|
return An(e);
|
|
3039
3039
|
}
|
|
@@ -3449,9 +3449,9 @@ const me = {
|
|
|
3449
3449
|
[me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
3450
3450
|
};
|
|
3451
3451
|
function ze(e, ...t) {
|
|
3452
|
-
return
|
|
3452
|
+
return zt(Rl[e], ...t);
|
|
3453
3453
|
}
|
|
3454
|
-
const Pl = "11.1.11",
|
|
3454
|
+
const Pl = "11.1.11", en = -1, Lt = "en-US", qt = "", $a = (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,
|
|
@@ -3512,7 +3512,7 @@ function $l(e = {}) {
|
|
|
3512
3512
|
return ee.datetimeFormats = l, ee.numberFormats = i, ee.__datetimeFormatters = $, ee.__numberFormatters = ae, 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
3514
|
const Cn = (e) => ({ [e]: X() });
|
|
3515
|
-
function
|
|
3515
|
+
function tn(e, t) {
|
|
3516
3516
|
return e instanceof RegExp ? e.test(t) : e;
|
|
3517
3517
|
}
|
|
3518
3518
|
function fo(e, t) {
|
|
@@ -3558,7 +3558,7 @@ const Ha = typeof Intl < "u", mo = {
|
|
|
3558
3558
|
function Ka(e, ...t) {
|
|
3559
3559
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
|
|
3560
3560
|
if (process.env.NODE_ENV !== "production" && !mo.dateTimeFormat)
|
|
3561
|
-
return o(ze(me.CANNOT_FORMAT_DATE)),
|
|
3561
|
+
return o(ze(me.CANNOT_FORMAT_DATE)), qt;
|
|
3562
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 = ga(e, f), L = s(
|
|
3563
3563
|
e,
|
|
3564
3564
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -3570,7 +3570,7 @@ function Ka(e, ...t) {
|
|
|
3570
3570
|
let h = {}, E, T = null, y = g, k = null;
|
|
3571
3571
|
const R = "datetime format";
|
|
3572
3572
|
for (let $ = 0; $ < L.length; $++) {
|
|
3573
|
-
if (E = k = L[$], process.env.NODE_ENV !== "production" && g !== E &&
|
|
3573
|
+
if (E = k = L[$], process.env.NODE_ENV !== "production" && g !== E && tn(p, i) && o(ze(me.FALLBACK_TO_DATE_FORMAT, {
|
|
3574
3574
|
key: i,
|
|
3575
3575
|
target: E
|
|
3576
3576
|
})), process.env.NODE_ENV !== "production" && g !== E) {
|
|
@@ -3588,9 +3588,9 @@ function Ka(e, ...t) {
|
|
|
3588
3588
|
pa(e, i, E, _, R), y = k;
|
|
3589
3589
|
}
|
|
3590
3590
|
if (!G(T) || !P(E))
|
|
3591
|
-
return r ?
|
|
3591
|
+
return r ? en : i;
|
|
3592
3592
|
let A = `${E}__${i}`;
|
|
3593
|
-
|
|
3593
|
+
Zt(u) || (A = `${A}__${JSON.stringify(u)}`);
|
|
3594
3594
|
let V = l.get(A);
|
|
3595
3595
|
return V || (V = new Intl.DateTimeFormat(E, le({}, T, u)), l.set(A, V)), v ? V.formatToParts(c) : V.format(c);
|
|
3596
3596
|
}
|
|
@@ -3652,7 +3652,7 @@ function ja(e, t, n) {
|
|
|
3652
3652
|
function qa(e, ...t) {
|
|
3653
3653
|
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: s } = e, { __numberFormatters: l } = e;
|
|
3654
3654
|
if (process.env.NODE_ENV !== "production" && !mo.numberFormat)
|
|
3655
|
-
return o(ze(me.CANNOT_FORMAT_NUMBER)),
|
|
3655
|
+
return o(ze(me.CANNOT_FORMAT_NUMBER)), qt;
|
|
3656
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 = ga(e, f), L = s(
|
|
3657
3657
|
e,
|
|
3658
3658
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -3664,7 +3664,7 @@ function qa(e, ...t) {
|
|
|
3664
3664
|
let h = {}, E, T = null, y = g, k = null;
|
|
3665
3665
|
const R = "number format";
|
|
3666
3666
|
for (let $ = 0; $ < L.length; $++) {
|
|
3667
|
-
if (E = k = L[$], process.env.NODE_ENV !== "production" && g !== E &&
|
|
3667
|
+
if (E = k = L[$], process.env.NODE_ENV !== "production" && g !== E && tn(p, i) && o(ze(me.FALLBACK_TO_NUMBER_FORMAT, {
|
|
3668
3668
|
key: i,
|
|
3669
3669
|
target: E
|
|
3670
3670
|
})), process.env.NODE_ENV !== "production" && g !== E) {
|
|
@@ -3682,9 +3682,9 @@ function qa(e, ...t) {
|
|
|
3682
3682
|
pa(e, i, E, _, R), y = k;
|
|
3683
3683
|
}
|
|
3684
3684
|
if (!G(T) || !P(E))
|
|
3685
|
-
return r ?
|
|
3685
|
+
return r ? en : i;
|
|
3686
3686
|
let A = `${E}__${i}`;
|
|
3687
|
-
|
|
3687
|
+
Zt(u) || (A = `${A}__${JSON.stringify(u)}`);
|
|
3688
3688
|
let V = l.get(A);
|
|
3689
3689
|
return V || (V = new Intl.NumberFormat(E, le({}, T, u)), l.set(A, V)), v ? V.formatToParts(c) : V.format(c);
|
|
3690
3690
|
}
|
|
@@ -3778,7 +3778,7 @@ function za(e, ...t) {
|
|
|
3778
3778
|
l[L] || X()
|
|
3779
3779
|
] : po(e, i, L, s, u, f), y = h, k = i;
|
|
3780
3780
|
if (!p && !(P(y) || ye(y) || Se(y)) && g && (y = v, k = y), !p && (!(P(y) || ye(y) || Se(y)) || !P(E)))
|
|
3781
|
-
return a ?
|
|
3781
|
+
return a ? en : i;
|
|
3782
3782
|
if (process.env.NODE_ENV !== "production" && P(y) && e.messageCompiler == null)
|
|
3783
3783
|
return `${i}`, i;
|
|
3784
3784
|
let R = !1;
|
|
@@ -3811,7 +3811,7 @@ function po(e, t, n, r, a, o) {
|
|
|
3811
3811
|
let u = X(), _, p = null, v = n, g = null;
|
|
3812
3812
|
const L = "translate";
|
|
3813
3813
|
for (let h = 0; h < f.length; h++) {
|
|
3814
|
-
if (_ = g = f[h], process.env.NODE_ENV !== "production" && n !== _ && !_o(n, _) &&
|
|
3814
|
+
if (_ = g = f[h], process.env.NODE_ENV !== "production" && n !== _ && !_o(n, _) && tn(a, t) && l(ze(me.FALLBACK_TO_TRANSLATE, {
|
|
3815
3815
|
key: t,
|
|
3816
3816
|
target: _
|
|
3817
3817
|
})), process.env.NODE_ENV !== "production" && n !== _) {
|
|
@@ -3897,7 +3897,7 @@ function Kn(...e) {
|
|
|
3897
3897
|
if (!P(t) && !ie(t) && !Se(t) && !ye(t))
|
|
3898
3898
|
throw Pe(fe.INVALID_ARGUMENT);
|
|
3899
3899
|
const o = ie(t) ? String(t) : (Se(t), t);
|
|
3900
|
-
return ie(n) ? a.plural = n : P(n) ? a.default = n : G(n) && !
|
|
3900
|
+
return ie(n) ? a.plural = n : P(n) ? a.default = n : G(n) && !Zt(n) ? a.named = n : ne(n) && (a.list = n), ie(r) ? a.plural = r : P(r) ? a.default = r : G(r) && le(a, r), [o, a];
|
|
3901
3901
|
}
|
|
3902
3902
|
function ec(e, t, n, r, a, o) {
|
|
3903
3903
|
return {
|
|
@@ -4124,7 +4124,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
4124
4124
|
[be.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
|
|
4125
4125
|
};
|
|
4126
4126
|
function ft(e, ...t) {
|
|
4127
|
-
return
|
|
4127
|
+
return zt(mc[e], ...t);
|
|
4128
4128
|
}
|
|
4129
4129
|
function Dt(e) {
|
|
4130
4130
|
if (!Y(e) || ye(e))
|
|
@@ -4159,9 +4159,9 @@ function Ea(e, t) {
|
|
|
4159
4159
|
if (ne(r) && r.forEach((l) => {
|
|
4160
4160
|
if ("locale" in l && "resource" in l) {
|
|
4161
4161
|
const { locale: i, resource: c } = l;
|
|
4162
|
-
i ? (s[i] = s[i] || X(),
|
|
4162
|
+
i ? (s[i] = s[i] || X(), Yt(c, s[i])) : Yt(c, s);
|
|
4163
4163
|
} else
|
|
4164
|
-
P(l) &&
|
|
4164
|
+
P(l) && Yt(JSON.parse(l), s);
|
|
4165
4165
|
}), a == null && o)
|
|
4166
4166
|
for (const l in s)
|
|
4167
4167
|
Ae(s, l) && Dt(s[l]);
|
|
@@ -4281,7 +4281,7 @@ function Sa(e = {}) {
|
|
|
4281
4281
|
function fn(b, O) {
|
|
4282
4282
|
return b !== "translate" || !O.resolvedMessage;
|
|
4283
4283
|
}
|
|
4284
|
-
const we = (b, O, q, se, Ke,
|
|
4284
|
+
const we = (b, O, q, se, Ke, Ut) => {
|
|
4285
4285
|
$();
|
|
4286
4286
|
let tt;
|
|
4287
4287
|
try {
|
|
@@ -4290,9 +4290,9 @@ function Sa(e = {}) {
|
|
|
4290
4290
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (A.fallbackContext = void 0);
|
|
4291
4291
|
}
|
|
4292
4292
|
if (q !== "translate exists" && // for not `te` (e.g `t`)
|
|
4293
|
-
ie(tt) && tt ===
|
|
4293
|
+
ie(tt) && tt === en || q === "translate exists" && !tt) {
|
|
4294
4294
|
const [je, Mo] = O();
|
|
4295
|
-
if (process.env.NODE_ENV !== "production" && t && P(je) && fn(q, Mo) && (v && (
|
|
4295
|
+
if (process.env.NODE_ENV !== "production" && t && P(je) && fn(q, Mo) && (v && (tn(p, je) || fo(_, je)) && (ft(be.FALLBACK_TO_ROOT, {
|
|
4296
4296
|
key: je,
|
|
4297
4297
|
type: q
|
|
4298
4298
|
}), void 0), process.env.NODE_ENV !== "production")) {
|
|
@@ -4306,7 +4306,7 @@ function Sa(e = {}) {
|
|
|
4306
4306
|
}
|
|
4307
4307
|
return t && v ? se(t) : Ke(je);
|
|
4308
4308
|
} else {
|
|
4309
|
-
if (
|
|
4309
|
+
if (Ut(tt))
|
|
4310
4310
|
return tt;
|
|
4311
4311
|
throw he(z.UNEXPECTED_RETURN_TYPE);
|
|
4312
4312
|
}
|
|
@@ -4321,10 +4321,10 @@ function Sa(e = {}) {
|
|
|
4321
4321
|
return _t(O, q, le({ resolvedMessage: !0 }, se || {}));
|
|
4322
4322
|
}
|
|
4323
4323
|
function _n(...b) {
|
|
4324
|
-
return we((O) => Reflect.apply(Ka, null, [O, ...b]), () => Yn(...b), "datetime format", (O) => Reflect.apply(O.d, O, [...b]), () =>
|
|
4324
|
+
return we((O) => Reflect.apply(Ka, 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(qa, null, [O, ...b]), () => Hn(...b), "number format", (O) => Reflect.apply(O.n, O, [...b]), () =>
|
|
4327
|
+
return we((O) => Reflect.apply(qa, 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
4330
|
return b.map((O) => P(O) || ie(O) || K(O) ? Za(String(O)) : O);
|
|
@@ -4334,7 +4334,7 @@ function Sa(e = {}) {
|
|
|
4334
4334
|
interpolate: (b) => b,
|
|
4335
4335
|
type: "vnode"
|
|
4336
4336
|
};
|
|
4337
|
-
function
|
|
4337
|
+
function Mt(...b) {
|
|
4338
4338
|
return we((O) => {
|
|
4339
4339
|
let q;
|
|
4340
4340
|
const se = O;
|
|
@@ -4367,9 +4367,9 @@ function Sa(e = {}) {
|
|
|
4367
4367
|
let O = null;
|
|
4368
4368
|
const q = oo(A, i.value, l.value);
|
|
4369
4369
|
for (let se = 0; se < q.length; se++) {
|
|
4370
|
-
const Ke = c.value[q[se]] || {},
|
|
4371
|
-
if (
|
|
4372
|
-
O =
|
|
4370
|
+
const Ke = c.value[q[se]] || {}, Ut = A.messageResolver(Ke, b);
|
|
4371
|
+
if (Ut != null) {
|
|
4372
|
+
O = Ut;
|
|
4373
4373
|
break;
|
|
4374
4374
|
}
|
|
4375
4375
|
}
|
|
@@ -4397,7 +4397,7 @@ function Sa(e = {}) {
|
|
|
4397
4397
|
if (a)
|
|
4398
4398
|
for (const se in q)
|
|
4399
4399
|
Ae(q, se) && Dt(q[se]);
|
|
4400
|
-
O = q[b],
|
|
4400
|
+
O = q[b], Yt(O, c.value[b]), A.messages = c.value;
|
|
4401
4401
|
}
|
|
4402
4402
|
function d(b) {
|
|
4403
4403
|
return f.value[b] || {};
|
|
@@ -4491,7 +4491,7 @@ function Sa(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 = N, j.getNumberFormat = M, j.setNumberFormat = re, j.mergeNumberFormat = oe, j[vo] = n, j[qn] =
|
|
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 = re, 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;
|
|
@@ -5282,7 +5282,7 @@ function $c(e) {
|
|
|
5282
5282
|
return t;
|
|
5283
5283
|
}
|
|
5284
5284
|
function Wc(e, t) {
|
|
5285
|
-
return
|
|
5285
|
+
return Zt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
5286
5286
|
}
|
|
5287
5287
|
function Yc(e) {
|
|
5288
5288
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -5598,7 +5598,7 @@ function Do() {
|
|
|
5598
5598
|
function ou() {
|
|
5599
5599
|
return wo() - Do() > 50 ? "landscape" : "portrait";
|
|
5600
5600
|
}
|
|
5601
|
-
const
|
|
5601
|
+
const $t = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
5602
5602
|
state: () => ({
|
|
5603
5603
|
// 窗口是否激活
|
|
5604
5604
|
windowActive: !0,
|
|
@@ -5607,7 +5607,7 @@ const Wt = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
|
5607
5607
|
// 浏览器支持触摸事件
|
|
5608
5608
|
windowTouch: "ontouchend" in document,
|
|
5609
5609
|
// 浏览器尺寸信息
|
|
5610
|
-
windowWidth:
|
|
5610
|
+
windowWidth: $t,
|
|
5611
5611
|
// 窗口宽度
|
|
5612
5612
|
windowHeight: su,
|
|
5613
5613
|
// 浏览器窗口方向
|
|
@@ -5617,10 +5617,10 @@ const Wt = wo(), su = Do(), Ln = ou(), ko = Ie("cloudSdkWindowStore", {
|
|
|
5617
5617
|
windowPortrait: Ln === "portrait",
|
|
5618
5618
|
// 竖屏
|
|
5619
5619
|
// 表单布局
|
|
5620
|
-
formLabelPosition:
|
|
5621
|
-
formLabelWidth:
|
|
5620
|
+
formLabelPosition: $t > 576 ? "right" : "top",
|
|
5621
|
+
formLabelWidth: $t > 576 ? "auto" : "",
|
|
5622
5622
|
//浏览器宽度≤768返回true
|
|
5623
|
-
windowMax768:
|
|
5623
|
+
windowMax768: $t <= 768,
|
|
5624
5624
|
winSizeName: ""
|
|
5625
5625
|
}),
|
|
5626
5626
|
getters: {
|
|
@@ -6127,7 +6127,7 @@ function gu(e) {
|
|
|
6127
6127
|
}
|
|
6128
6128
|
let Re = null;
|
|
6129
6129
|
function Ro(e = {}) {
|
|
6130
|
-
const t =
|
|
6130
|
+
const t = Qt();
|
|
6131
6131
|
Re = new fu({
|
|
6132
6132
|
// timeout: 60 * 1000, // 请求超时时间毫秒
|
|
6133
6133
|
// withCredentials: true, // true|false 异步请求携带cookie(Check cross-site Access-Control)
|
|
@@ -6381,7 +6381,7 @@ const Te = Ie("cloudSdkAccountStore", {
|
|
|
6381
6381
|
ACCOUNT_SET_PREV() {
|
|
6382
6382
|
}
|
|
6383
6383
|
}
|
|
6384
|
-
}), Tt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__", Sr = "__syCacheApiCode__", br = "__syCacheApiKey__", kn = "__syCacheSdkConfig__", Rn = "__syCacheSystemConfig__", vr = "cacheClientId", yr = "cacheClientVersion",
|
|
6384
|
+
}), Tt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__", Sr = "__syCacheApiCode__", br = "__syCacheApiKey__", kn = "__syCacheSdkConfig__", Rn = "__syCacheSystemConfig__", vr = "cacheClientId", yr = "cacheClientVersion", nn = Ie("cloudSdkSystemStore", {
|
|
6385
6385
|
state: () => ({
|
|
6386
6386
|
// ServerUrl
|
|
6387
6387
|
cacheServerUrl: "",
|
|
@@ -6549,16 +6549,16 @@ function Fo(e) {
|
|
|
6549
6549
|
return !1;
|
|
6550
6550
|
let n = I.localGet("syCacheAppRbac") || "";
|
|
6551
6551
|
if (t == "[object String]")
|
|
6552
|
-
return
|
|
6552
|
+
return Xt(e, n);
|
|
6553
6553
|
if (t === "[object Array]") {
|
|
6554
6554
|
for (const r of e)
|
|
6555
|
-
if (!
|
|
6555
|
+
if (!Xt(r, n))
|
|
6556
6556
|
return !1;
|
|
6557
6557
|
return !0;
|
|
6558
6558
|
}
|
|
6559
6559
|
return !1;
|
|
6560
6560
|
}
|
|
6561
|
-
function
|
|
6561
|
+
function Xt(e, t) {
|
|
6562
6562
|
if (e = e || "", e = e.trim(), e == "")
|
|
6563
6563
|
return !1;
|
|
6564
6564
|
e.includes("@") || (e = `${vu}@${e}`);
|
|
@@ -6605,7 +6605,7 @@ const an = Ie("cloudSdkProductStore", {
|
|
|
6605
6605
|
let l = [];
|
|
6606
6606
|
for (let i in o) {
|
|
6607
6607
|
let c = o[i];
|
|
6608
|
-
c = Po(c, i), c.isMenu === !0 && (c.isRbac && !c.path || (c.children && c.children.length > 0 && (c.children = t(c.children, s)), c.collapsable === !1 && e.push(c.name),
|
|
6608
|
+
c = Po(c, i), c.isMenu === !0 && (c.isRbac && !c.path || (c.children && c.children.length > 0 && (c.children = t(c.children, s)), c.collapsable === !1 && e.push(c.name), Xt(c.name, s) && l.push(c)));
|
|
6609
6609
|
}
|
|
6610
6610
|
return l;
|
|
6611
6611
|
}
|
|
@@ -6623,7 +6623,7 @@ const an = Ie("cloudSdkProductStore", {
|
|
|
6623
6623
|
isAlone: !0,
|
|
6624
6624
|
name: "login",
|
|
6625
6625
|
path: "/login",
|
|
6626
|
-
component: () => import("./login-
|
|
6626
|
+
component: () => import("./login-6z0mYR8y.js")
|
|
6627
6627
|
}
|
|
6628
6628
|
], Tu = [
|
|
6629
6629
|
{
|
|
@@ -6631,14 +6631,14 @@ const an = Ie("cloudSdkProductStore", {
|
|
|
6631
6631
|
isAlone: !0,
|
|
6632
6632
|
name: "alone_run",
|
|
6633
6633
|
path: "/alone_run",
|
|
6634
|
-
component: () => import("./alone_run-
|
|
6634
|
+
component: () => import("./alone_run-C_2AiUu2.js")
|
|
6635
6635
|
},
|
|
6636
6636
|
{
|
|
6637
6637
|
meta: { title: "错误", isAlone: !0 },
|
|
6638
6638
|
isAlone: !0,
|
|
6639
6639
|
name: "404",
|
|
6640
6640
|
path: "/:catchAll(.*)",
|
|
6641
|
-
component: () => import("./404-
|
|
6641
|
+
component: () => import("./404-w46dTUw1.js")
|
|
6642
6642
|
}
|
|
6643
6643
|
], Au = [
|
|
6644
6644
|
{
|
|
@@ -6646,7 +6646,7 @@ const an = Ie("cloudSdkProductStore", {
|
|
|
6646
6646
|
isAlone: !1,
|
|
6647
6647
|
name: "none",
|
|
6648
6648
|
path: "/none",
|
|
6649
|
-
component: () => import("./none-
|
|
6649
|
+
component: () => import("./none-C-kvGqKn.js")
|
|
6650
6650
|
}
|
|
6651
6651
|
], rn = Ie("cloudSdkPermissionStore", {
|
|
6652
6652
|
state: () => ({
|
|
@@ -6684,7 +6684,7 @@ const an = Ie("cloudSdkProductStore", {
|
|
|
6684
6684
|
*/
|
|
6685
6685
|
SA_PERMS_ROUTER_CHECK(e) {
|
|
6686
6686
|
let n = Po(e).name;
|
|
6687
|
-
return !!(this.whiteList.includes(n) ||
|
|
6687
|
+
return !!(this.whiteList.includes(n) || Xt(n, this.rbacLastStr));
|
|
6688
6688
|
},
|
|
6689
6689
|
SA_PERMS_ROUTER_SET(e) {
|
|
6690
6690
|
},
|
|
@@ -6728,7 +6728,7 @@ const Cu = Ie("cloudSdkApplicationStore", {
|
|
|
6728
6728
|
}),
|
|
6729
6729
|
getters: {
|
|
6730
6730
|
openCaseInfo: (e) => {
|
|
6731
|
-
let t = window.shiyunProductInfo || {}, n =
|
|
6731
|
+
let t = window.shiyunProductInfo || {}, n = Qt(), r = nn().systemConfig || {}, a = n.syAppConnectRole, o = Object.assign({}, e.defaultCaseInfo, t), s = n.syProductTitle || "ShiyunProduct", l = Ar[a] ? Ar[a] : "管理系统", i = s;
|
|
6732
6732
|
const c = r.PLAT_BRAND || (o == null ? void 0 : o.PLAT_BRAND), f = r.PLAT_LOGO_CDN || o.PLAT_LOGO_CDN;
|
|
6733
6733
|
f && Nu(f);
|
|
6734
6734
|
const u = l || "十云";
|
|
@@ -6751,7 +6751,7 @@ const Cu = Ie("cloudSdkApplicationStore", {
|
|
|
6751
6751
|
});
|
|
6752
6752
|
function Ou() {
|
|
6753
6753
|
return new Promise(async (e) => {
|
|
6754
|
-
Ft().clear_cache(), Ge().clear_cache(),
|
|
6754
|
+
Ft().clear_cache(), Ge().clear_cache(), nn().clear_cache(), Te().clear_cache(), an().clear_cache(), I.idbSetItem("cacheClearHandle", "handle").then((t) => {
|
|
6755
6755
|
e();
|
|
6756
6756
|
});
|
|
6757
6757
|
});
|
|
@@ -6772,7 +6772,7 @@ function Iu() {
|
|
|
6772
6772
|
"windowPortrait",
|
|
6773
6773
|
"formLabelPosition"
|
|
6774
6774
|
]),
|
|
6775
|
-
...ke(
|
|
6775
|
+
...ke(nn, ["cacheServerUrl", "systemConfig", "sysIsElectron", "sysIsEEUiApp", "sysIsSoftware"]),
|
|
6776
6776
|
...ke(Te, [
|
|
6777
6777
|
"accountIsLogin",
|
|
6778
6778
|
"accountInfo",
|
|
@@ -7044,7 +7044,7 @@ function Fu(e, t, n, r, a, o) {
|
|
|
7044
7044
|
}, {
|
|
7045
7045
|
default: C(() => [
|
|
7046
7046
|
(F(), W("div", {
|
|
7047
|
-
class:
|
|
7047
|
+
class: Ht(n.className),
|
|
7048
7048
|
key: i.path
|
|
7049
7049
|
}, [
|
|
7050
7050
|
(F(), H(Ko(l)))
|
|
@@ -7198,7 +7198,7 @@ function Wu(e, t, n, r, a, o) {
|
|
|
7198
7198
|
D("div", $u, [
|
|
7199
7199
|
(F(!0), W(ce, null, Oe(a.sett_tags, (u, _) => (F(), H(i, {
|
|
7200
7200
|
id: a.activeTag == u.name ? "tagId" : "",
|
|
7201
|
-
class:
|
|
7201
|
+
class: Ht(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
|
|
7202
7202
|
key: u.name,
|
|
7203
7203
|
closable: u.path !== "/index",
|
|
7204
7204
|
onClose: (p) => o.removeTag(u, _),
|
|
@@ -8158,7 +8158,7 @@ function Yf(e, t, n, r, a, o) {
|
|
|
8158
8158
|
}, null, 8, ["modelValue", "onRefreshFunc", "onReselectFunc", "onSelectFunc"])) : te("", !0)
|
|
8159
8159
|
]);
|
|
8160
8160
|
}
|
|
8161
|
-
const
|
|
8161
|
+
const Xd = /* @__PURE__ */ ge(Of, [["render", Yf]]), Hf = {
|
|
8162
8162
|
data() {
|
|
8163
8163
|
return {
|
|
8164
8164
|
watemarkText: "shiyun"
|
|
@@ -8193,7 +8193,7 @@ function Kf(e, t, n, r, a, o) {
|
|
|
8193
8193
|
_: 3
|
|
8194
8194
|
}, 16);
|
|
8195
8195
|
}
|
|
8196
|
-
const
|
|
8196
|
+
const Qd = /* @__PURE__ */ ge(Hf, [["render", Kf]]), jf = {
|
|
8197
8197
|
name: "SdkFormEdit",
|
|
8198
8198
|
props: {
|
|
8199
8199
|
modelValue: {
|
|
@@ -8580,12 +8580,12 @@ function fd(e, t, n, r, a, o) {
|
|
|
8580
8580
|
key: L
|
|
8581
8581
|
}, [
|
|
8582
8582
|
S(u, {
|
|
8583
|
-
class:
|
|
8583
|
+
class: Ht(o.badgeValue(g.filelog_id) == 0 && "isshowBadge"),
|
|
8584
8584
|
value: o.badgeValue(g.filelog_id)
|
|
8585
8585
|
}, {
|
|
8586
8586
|
default: C(() => [
|
|
8587
8587
|
D("img", {
|
|
8588
|
-
class:
|
|
8588
|
+
class: Ht(a.activeImageState[L] && "active"),
|
|
8589
8589
|
src: g.cdn_full_path,
|
|
8590
8590
|
alt: "",
|
|
8591
8591
|
onClick: (h) => o.handleClickImage(h, g, L)
|
|
@@ -8944,7 +8944,7 @@ function Ad(e, t, n, r, a, o) {
|
|
|
8944
8944
|
[E, a.isLoading]
|
|
8945
8945
|
]);
|
|
8946
8946
|
}
|
|
8947
|
-
const
|
|
8947
|
+
const Jd = /* @__PURE__ */ ge(pd, [["render", Ad]]), Nd = {
|
|
8948
8948
|
emits: ["handleCallback", "close"],
|
|
8949
8949
|
props: {
|
|
8950
8950
|
// 选一个就关闭
|
|
@@ -9162,7 +9162,7 @@ function kd(e, t, n, r, a, o) {
|
|
|
9162
9162
|
[E, a.isLoading]
|
|
9163
9163
|
]);
|
|
9164
9164
|
}
|
|
9165
|
-
const
|
|
9165
|
+
const zd = /* @__PURE__ */ ge(Nd, [["render", kd]]);
|
|
9166
9166
|
(function() {
|
|
9167
9167
|
if (typeof EventTarget < "u") {
|
|
9168
9168
|
let e = EventTarget.prototype.addEventListener;
|
|
@@ -9175,7 +9175,7 @@ var Rd = {
|
|
|
9175
9175
|
methods: {
|
|
9176
9176
|
// 打开协议
|
|
9177
9177
|
jumpsXieyi(e) {
|
|
9178
|
-
let t =
|
|
9178
|
+
let t = Qt(), n = "";
|
|
9179
9179
|
n = t.syApiBaseUrl + "base.base_sys/show_agreement/" + e + ".html", n = n + "?syOpenAppProject=" + t.syAppProjectSign, n = n + "&syOpenAppId=" + t.syAppConnectId, window.open(n);
|
|
9180
9180
|
},
|
|
9181
9181
|
// 返回上级
|
|
@@ -9428,8 +9428,9 @@ function Ud(e) {
|
|
|
9428
9428
|
for (const [t, n] of Object.entries(es))
|
|
9429
9429
|
e.component("ElIcon" + t, n);
|
|
9430
9430
|
}
|
|
9431
|
-
|
|
9432
|
-
|
|
9431
|
+
const xd = "__syCacheSdkConfig__";
|
|
9432
|
+
async function Vd(e) {
|
|
9433
|
+
const t = await I.idbGetItem(xd), n = {
|
|
9433
9434
|
// upAction: lastConfig.VITE_SY_API_URL + 'sdks.sdk_file/common/upload_image',
|
|
9434
9435
|
signatureFn: ue.flagPost("SDK_FILE_COMMON_UPLOAD_SIGNATURE"),
|
|
9435
9436
|
upHeaders: {
|
|
@@ -9497,22 +9498,22 @@ async function xd(e) {
|
|
|
9497
9498
|
for (const [r, a] of Object.entries(ns))
|
|
9498
9499
|
e.component("cvSvg" + r, a);
|
|
9499
9500
|
}
|
|
9500
|
-
async function
|
|
9501
|
-
rs(t), Ro(e), Ft().init(), Ge().init(), await
|
|
9501
|
+
async function Zd(e, t) {
|
|
9502
|
+
rs(t), Ro(e), Ft().init(), Ge().init(), await nn().init(), await Te().init();
|
|
9502
9503
|
}
|
|
9503
|
-
async function
|
|
9504
|
+
async function e_(e, t, n, r, a = "", o = null) {
|
|
9504
9505
|
an().init(r), rn().init(n);
|
|
9505
9506
|
let s = e.config.globalProperties;
|
|
9506
9507
|
s.$onLaunched = new Promise((i) => {
|
|
9507
9508
|
s.$isResolve = i;
|
|
9508
|
-
}), s.$request = ue, s.$cache = I, Ud(e), await
|
|
9509
|
+
}), s.$request = ue, s.$cache = I, Ud(e), await Vd(e), Fd(e, s), e.mixin(Iu()), e.component("SdkFormEdit", zf), e.component("SdkManageImage", gd), Pd(e), await Bd(t, r, a), e.use(Lo);
|
|
9509
9510
|
let l = Ft().SA_LANGUAGE_GET();
|
|
9510
9511
|
Jc(l, o), window.$t = Xe.t;
|
|
9511
9512
|
}
|
|
9512
|
-
async function
|
|
9513
|
+
async function Bd(e, t, n) {
|
|
9513
9514
|
const r = Ct(), a = Te(), o = an(), s = rn();
|
|
9514
9515
|
r.QK_SEND_MSG_REG_SUBMENU(t);
|
|
9515
|
-
let l =
|
|
9516
|
+
let l = Qt().syProductSign || "";
|
|
9516
9517
|
s.SA_PERMS_ROUTER_ADD(e, l), o.SA_MENU_PARSE(), r.QK_SEND_MSG_ROUTER_BEFORE(n);
|
|
9517
9518
|
let i = !1, c = !1, f = !1;
|
|
9518
9519
|
e.beforeEach((u, _, p) => {
|
|
@@ -9541,7 +9542,7 @@ async function Vd(e, t, n) {
|
|
|
9541
9542
|
}
|
|
9542
9543
|
});
|
|
9543
9544
|
}
|
|
9544
|
-
async function
|
|
9545
|
+
async function t_(e, t, n) {
|
|
9545
9546
|
pe.__POWERED_BY_QIANKUN__ ? hi(e, t, n) : t();
|
|
9546
9547
|
}
|
|
9547
9548
|
export {
|
|
@@ -9551,13 +9552,13 @@ export {
|
|
|
9551
9552
|
I as a,
|
|
9552
9553
|
Ge as b,
|
|
9553
9554
|
Te as c,
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9555
|
+
nn as d,
|
|
9556
|
+
Qt as e,
|
|
9557
|
+
Xd as f,
|
|
9557
9558
|
Mu as g,
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9559
|
+
Qd as h,
|
|
9560
|
+
Jd as i,
|
|
9561
|
+
zd as j,
|
|
9561
9562
|
dd as k,
|
|
9562
9563
|
Ct as l,
|
|
9563
9564
|
ko as m,
|
|
@@ -9565,9 +9566,9 @@ export {
|
|
|
9565
9566
|
rn as o,
|
|
9566
9567
|
Ro as p,
|
|
9567
9568
|
pe as q,
|
|
9568
|
-
|
|
9569
|
+
Zd as r,
|
|
9569
9570
|
rs as s,
|
|
9570
|
-
|
|
9571
|
+
e_ as t,
|
|
9571
9572
|
Ft as u,
|
|
9572
|
-
|
|
9573
|
+
t_ as v
|
|
9573
9574
|
};
|