@10yun/open-sdk 0.3.121 → 0.3.123
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-eOxp6uCK.js → 404-B9GU-b7N.js} +1 -1
- package/dist/{404-BFyR7lt-.cjs → 404-C60P9a1v.cjs} +1 -1
- package/dist/{alone_run-DeT-QveB.cjs → alone_run-D0Lbuc9h.cjs} +1 -1
- package/dist/{alone_run-D6MaSiBX.js → alone_run-DM0g1Rfb.js} +1 -1
- package/dist/{index-BDkGvqi-.cjs → index-BWLMDM4T.cjs} +1 -1
- package/dist/{index-B5asDzhG.js → index-CK8iTQCN.js} +461 -446
- package/dist/{login-x6WIbNRH.cjs → login-BVk2A5mA.cjs} +1 -1
- package/dist/{login-B9AHugy2.js → login-CLxZ-SbY.js} +1 -1
- package/dist/{none-BtuWNAZm.js → none-CaMalHPX.js} +1 -1
- package/dist/{none-sp97NM-k.cjs → none-D7cL7qb9.cjs} +1 -1
- package/dist/open-sdk.cjs.js +1 -1
- package/dist/open-sdk.es.js +1 -1
- package/package.json +1 -1
- package/uncompiled/index.js +1 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as Le, mapState as Re } from "pinia";
|
|
2
|
-
import { effectScope as
|
|
3
|
-
import zo, { ElMessage as
|
|
2
|
+
import { effectScope as Vo, ref as xo, shallowRef as Bo, computed as Et, watch as Pn, isRef as Go, defineComponent as ta, getCurrentInstance as Nt, h as Ir, Fragment as le, inject as $o, onMounted as Wo, onUnmounted as Yo, createVNode as S, Text as Ho, resolveComponent as L, createBlock as $, openBlock as F, withCtx as C, createElementVNode as D, createElementBlock as W, renderList as Ne, createTextVNode as x, toDisplayString as z, createCommentVNode as te, Transition as Ko, normalizeClass as Kt, resolveDynamicComponent as jo, withDirectives as Rt, withModifiers as qo, normalizeStyle as Fn, vShow as Lr, mergeProps as Xo, renderSlot as Qo, createSlots as Jo, resolveDirective as na } from "vue";
|
|
3
|
+
import zo, { ElMessage as Na, ElMessageBox as Zo, ElNotification as es } from "element-plus";
|
|
4
4
|
import * as ts from "@element-plus/icons-vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
6
6
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
@@ -201,7 +201,7 @@ function ra() {
|
|
|
201
201
|
return arguments[arguments.length - 1];
|
|
202
202
|
}
|
|
203
203
|
const Mn = "local-forage-detect-blob-support";
|
|
204
|
-
let
|
|
204
|
+
let xt;
|
|
205
205
|
const ve = {}, us = Object.prototype.toString, Pt = "readonly", zt = "readwrite";
|
|
206
206
|
function fs(e) {
|
|
207
207
|
for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), a = 0; a < t; a++)
|
|
@@ -224,8 +224,8 @@ function _s(e) {
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
function ds(e) {
|
|
227
|
-
return typeof
|
|
228
|
-
return
|
|
227
|
+
return typeof xt == "boolean" ? U.resolve(xt) : _s(e).then(function(t) {
|
|
228
|
+
return xt = t, xt;
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
function jt(e) {
|
|
@@ -241,7 +241,7 @@ function Un(e) {
|
|
|
241
241
|
if (n)
|
|
242
242
|
return n.resolve(), n.promise;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Vn(e, t) {
|
|
245
245
|
var n = ve[e.name], r = n.deferredOperations.pop();
|
|
246
246
|
if (r)
|
|
247
247
|
return r.reject(t), r.promise;
|
|
@@ -332,7 +332,7 @@ function gs(e) {
|
|
|
332
332
|
for (var o = 0; o < n.length; o++)
|
|
333
333
|
n[o]._dbInfo.db = a;
|
|
334
334
|
}).catch((a) => {
|
|
335
|
-
throw
|
|
335
|
+
throw Vn(e, a), a;
|
|
336
336
|
});
|
|
337
337
|
}
|
|
338
338
|
function Ue(e, t, n, r) {
|
|
@@ -595,7 +595,7 @@ function As(e, t) {
|
|
|
595
595
|
});
|
|
596
596
|
return Q(r, t), r;
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function Ns(e) {
|
|
599
599
|
var t = this, n = new U(function(r, a) {
|
|
600
600
|
t.ready().then(function() {
|
|
601
601
|
Ue(t._dbInfo, Pt, function(o, s) {
|
|
@@ -623,7 +623,7 @@ function Cs(e) {
|
|
|
623
623
|
});
|
|
624
624
|
return Q(n, e), n;
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Cs(e, t) {
|
|
627
627
|
t = ra.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);
|
|
@@ -667,7 +667,7 @@ function Ns(e, t) {
|
|
|
667
667
|
T._dbInfo.db = d, Un(T._dbInfo);
|
|
668
668
|
}
|
|
669
669
|
}).catch((d) => {
|
|
670
|
-
throw (
|
|
670
|
+
throw (Vn(e, d) || U.resolve()).catch(() => {
|
|
671
671
|
}), d;
|
|
672
672
|
});
|
|
673
673
|
}) : a = s.then((l) => {
|
|
@@ -695,7 +695,7 @@ function Ns(e, t) {
|
|
|
695
695
|
Un(T._dbInfo);
|
|
696
696
|
}
|
|
697
697
|
}).catch((d) => {
|
|
698
|
-
throw (
|
|
698
|
+
throw (Vn(e, d) || U.resolve()).catch(() => {
|
|
699
699
|
}), d;
|
|
700
700
|
});
|
|
701
701
|
});
|
|
@@ -713,13 +713,13 @@ var Os = {
|
|
|
713
713
|
clear: ys,
|
|
714
714
|
length: Ts,
|
|
715
715
|
key: As,
|
|
716
|
-
keys:
|
|
717
|
-
dropInstance:
|
|
716
|
+
keys: Ns,
|
|
717
|
+
dropInstance: Cs
|
|
718
718
|
};
|
|
719
719
|
function Is() {
|
|
720
720
|
return typeof openDatabase == "function";
|
|
721
721
|
}
|
|
722
|
-
var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ls = "~~local_forage_type~",
|
|
722
|
+
var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ls = "~~local_forage_type~", Ca = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", xn = qt.length, ia = "arbf", Bn = "blob", Mr = "si08", Ur = "ui08", Vr = "uic8", xr = "si16", Br = "si32", Gr = "ur16", $r = "ui32", Wr = "fl32", Yr = "fl64", Oa = xn + ia.length, Ia = Object.prototype.toString;
|
|
723
723
|
function Hr(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--);
|
|
@@ -738,7 +738,7 @@ function ws(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
740
|
var r, a = qt;
|
|
741
|
-
e instanceof ArrayBuffer ? (r = e, a += ia) : (r = e.buffer, n === "[object Int8Array]" ? a += Mr : n === "[object Uint8Array]" ? a += Ur : n === "[object Uint8ClampedArray]" ? a +=
|
|
741
|
+
e instanceof ArrayBuffer ? (r = e, a += ia) : (r = e.buffer, n === "[object Int8Array]" ? a += Mr : n === "[object Uint8Array]" ? a += Ur : n === "[object Uint8ClampedArray]" ? a += Vr : n === "[object Int16Array]" ? a += xr : n === "[object Uint16Array]" ? a += Gr : n === "[object Int32Array]" ? a += Br : n === "[object Uint32Array]" ? a += $r : n === "[object Float32Array]" ? a += Wr : n === "[object Float64Array]" ? a += Yr : 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() {
|
|
@@ -753,14 +753,14 @@ function ws(e, t) {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
function Ds(e) {
|
|
756
|
-
if (e.substring(0,
|
|
756
|
+
if (e.substring(0, xn) !== qt)
|
|
757
757
|
return JSON.parse(e);
|
|
758
758
|
var t = e.substring(Oa), n = e.substring(
|
|
759
|
-
|
|
759
|
+
xn,
|
|
760
760
|
Oa
|
|
761
761
|
), r;
|
|
762
|
-
if (n === Bn &&
|
|
763
|
-
var a = t.match(
|
|
762
|
+
if (n === Bn && Ca.test(t)) {
|
|
763
|
+
var a = t.match(Ca);
|
|
764
764
|
r = a[1], t = t.substring(a[0].length);
|
|
765
765
|
}
|
|
766
766
|
var o = Hr(t);
|
|
@@ -773,9 +773,9 @@ function Ds(e) {
|
|
|
773
773
|
return new Int8Array(o);
|
|
774
774
|
case Ur:
|
|
775
775
|
return new Uint8Array(o);
|
|
776
|
-
case xr:
|
|
777
|
-
return new Uint8ClampedArray(o);
|
|
778
776
|
case Vr:
|
|
777
|
+
return new Uint8ClampedArray(o);
|
|
778
|
+
case xr:
|
|
779
779
|
return new Int16Array(o);
|
|
780
780
|
case Gr:
|
|
781
781
|
return new Uint16Array(o);
|
|
@@ -1018,7 +1018,7 @@ function Us(e) {
|
|
|
1018
1018
|
});
|
|
1019
1019
|
return Q(n, e), n;
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function Vs(e) {
|
|
1022
1022
|
var t = this, n = new U(function(r, a) {
|
|
1023
1023
|
t.ready().then(function() {
|
|
1024
1024
|
var o = t._dbInfo;
|
|
@@ -1041,7 +1041,7 @@ function xs(e) {
|
|
|
1041
1041
|
});
|
|
1042
1042
|
return Q(n, e), n;
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function xs(e, t) {
|
|
1045
1045
|
var n = this, r = new U(function(a, o) {
|
|
1046
1046
|
n.ready().then(function() {
|
|
1047
1047
|
var s = n._dbInfo;
|
|
@@ -1169,8 +1169,8 @@ var Ws = {
|
|
|
1169
1169
|
setItem: Fs,
|
|
1170
1170
|
removeItem: Ms,
|
|
1171
1171
|
clear: Us,
|
|
1172
|
-
length:
|
|
1173
|
-
key:
|
|
1172
|
+
length: Vs,
|
|
1173
|
+
key: xs,
|
|
1174
1174
|
keys: Bs,
|
|
1175
1175
|
dropInstance: $s
|
|
1176
1176
|
};
|
|
@@ -1712,7 +1712,7 @@ function hi(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 gi(e, t, n) {
|
|
@@ -1748,7 +1748,7 @@ function gi(e, t, n) {
|
|
|
1748
1748
|
}
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
1751
|
-
const
|
|
1751
|
+
const Ct = Le("cloudSdkQiankunStore", {
|
|
1752
1752
|
state: () => ({
|
|
1753
1753
|
// 是否是乾坤
|
|
1754
1754
|
qiankunExistState: pe.__POWERED_BY_QIANKUN__ || !1,
|
|
@@ -1825,10 +1825,10 @@ const wa = {};
|
|
|
1825
1825
|
function ua(e) {
|
|
1826
1826
|
wa[e] || (wa[e] = !0, void 0);
|
|
1827
1827
|
}
|
|
1828
|
-
const
|
|
1828
|
+
const Ce = typeof window < "u";
|
|
1829
1829
|
let Ee, Je;
|
|
1830
1830
|
if (process.env.NODE_ENV !== "production") {
|
|
1831
|
-
const e =
|
|
1831
|
+
const e = Ce && window.performance;
|
|
1832
1832
|
e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
|
|
1833
1833
|
e.clearMeasures && (Ee = (t) => {
|
|
1834
1834
|
e.mark(t);
|
|
@@ -1863,7 +1863,7 @@ const Ai = Object.prototype.hasOwnProperty;
|
|
|
1863
1863
|
function Ae(e, t) {
|
|
1864
1864
|
return Ai.call(e, t);
|
|
1865
1865
|
}
|
|
1866
|
-
const ae = Array.isArray, J = (e) => typeof e == "function", P = (e) => typeof e == "string", K = (e) => typeof e == "boolean", H = (e) => e !== null && typeof e == "object",
|
|
1866
|
+
const ae = Array.isArray, J = (e) => typeof e == "function", P = (e) => typeof e == "string", K = (e) => typeof e == "boolean", H = (e) => e !== null && typeof e == "object", Ni = (e) => H(e) && J(e.then) && J(e.catch), Qr = Object.prototype.toString, fa = (e) => Qr.call(e), G = (e) => fa(e) === "[object Object]", Ci = (e) => e == null ? "" : ae(e) || G(e) && e.toString === Qr ? JSON.stringify(e, null, 2) : String(e);
|
|
1867
1867
|
function _a(e, t = "") {
|
|
1868
1868
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
1869
1869
|
}
|
|
@@ -1936,7 +1936,7 @@ function Ii(e, t, n) {
|
|
|
1936
1936
|
function $n(e, t, n) {
|
|
1937
1937
|
return { start: e, end: t };
|
|
1938
1938
|
}
|
|
1939
|
-
const
|
|
1939
|
+
const V = {
|
|
1940
1940
|
// tokenizer error codes
|
|
1941
1941
|
EXPECTED_TOKEN: 1,
|
|
1942
1942
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -1959,25 +1959,25 @@ const x = {
|
|
|
1959
1959
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
1960
1960
|
}, Li = 17, wi = {
|
|
1961
1961
|
// tokenizer error messages
|
|
1962
|
-
[
|
|
1963
|
-
[
|
|
1964
|
-
[
|
|
1965
|
-
[
|
|
1966
|
-
[
|
|
1967
|
-
[
|
|
1968
|
-
[
|
|
1969
|
-
[
|
|
1970
|
-
[
|
|
1971
|
-
[
|
|
1962
|
+
[V.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
1963
|
+
[V.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
1964
|
+
[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
|
|
1965
|
+
[V.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
|
|
1966
|
+
[V.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
|
|
1967
|
+
[V.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
|
|
1968
|
+
[V.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
|
|
1969
|
+
[V.EMPTY_PLACEHOLDER]: "Empty placeholder",
|
|
1970
|
+
[V.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
|
|
1971
|
+
[V.INVALID_LINKED_FORMAT]: "Invalid linked format",
|
|
1972
1972
|
// parser error messages
|
|
1973
|
-
[
|
|
1974
|
-
[
|
|
1975
|
-
[
|
|
1976
|
-
[
|
|
1973
|
+
[V.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
|
|
1974
|
+
[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
|
|
1975
|
+
[V.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
|
|
1976
|
+
[V.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
|
|
1977
1977
|
// generator error messages
|
|
1978
|
-
[
|
|
1978
|
+
[V.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
|
|
1979
1979
|
// minimizer error messages
|
|
1980
|
-
[
|
|
1980
|
+
[V.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
1981
1981
|
};
|
|
1982
1982
|
function dt(e, t, n = {}) {
|
|
1983
1983
|
const { domain: r, messages: a, args: o } = n, s = process.env.NODE_ENV !== "production" ? Zt((a || wi)[e] || "", ...o || []) : e, l = new SyntaxError(String(s));
|
|
@@ -2025,7 +2025,7 @@ function Ui(e) {
|
|
|
2025
2025
|
skipToPeek: R
|
|
2026
2026
|
};
|
|
2027
2027
|
}
|
|
2028
|
-
const ke = void 0,
|
|
2028
|
+
const ke = void 0, Vi = ".", Fa = "'", xi = "tokenizer";
|
|
2029
2029
|
function Bi(e, t = {}) {
|
|
2030
2030
|
const n = t.location !== !1, r = Ui(e), a = () => r.index(), o = () => Ii(r.line(), r.column(), r.index()), s = o(), l = a(), i = {
|
|
2031
2031
|
currentType: 13,
|
|
@@ -2040,20 +2040,20 @@ function Bi(e, t = {}) {
|
|
|
2040
2040
|
inLinked: !1,
|
|
2041
2041
|
text: ""
|
|
2042
2042
|
}, c = () => i, { onError: f } = t;
|
|
2043
|
-
function u(_, h,
|
|
2043
|
+
function u(_, h, N, ...M) {
|
|
2044
2044
|
const ne = c();
|
|
2045
|
-
if (h.column +=
|
|
2045
|
+
if (h.column += N, h.offset += N, f) {
|
|
2046
2046
|
const oe = n ? $n(ne.startLoc, h) : null, j = dt(_, oe, {
|
|
2047
|
-
domain:
|
|
2047
|
+
domain: xi,
|
|
2048
2048
|
args: M
|
|
2049
2049
|
});
|
|
2050
2050
|
f(j);
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
|
-
function d(_, h,
|
|
2053
|
+
function d(_, h, N) {
|
|
2054
2054
|
_.endLoc = o(), _.currentType = h;
|
|
2055
2055
|
const M = { type: h };
|
|
2056
|
-
return n && (M.loc = $n(_.startLoc, _.endLoc)),
|
|
2056
|
+
return n && (M.loc = $n(_.startLoc, _.endLoc)), N != null && (M.value = N), M;
|
|
2057
2057
|
}
|
|
2058
2058
|
const g = (_) => d(
|
|
2059
2059
|
_,
|
|
@@ -2061,7 +2061,7 @@ function Bi(e, t = {}) {
|
|
|
2061
2061
|
/* TokenTypes.EOF */
|
|
2062
2062
|
);
|
|
2063
2063
|
function T(_, h) {
|
|
2064
|
-
return _.currentChar() === h ? (_.next(), h) : (u(
|
|
2064
|
+
return _.currentChar() === h ? (_.next(), h) : (u(V.EXPECTED_TOKEN, o(), 0, h), "");
|
|
2065
2065
|
}
|
|
2066
2066
|
function p(_) {
|
|
2067
2067
|
let h = "";
|
|
@@ -2088,56 +2088,56 @@ function Bi(e, t = {}) {
|
|
|
2088
2088
|
return h >= 48 && h <= 57;
|
|
2089
2089
|
}
|
|
2090
2090
|
function b(_, h) {
|
|
2091
|
-
const { currentType:
|
|
2092
|
-
if (
|
|
2091
|
+
const { currentType: N } = h;
|
|
2092
|
+
if (N !== 2)
|
|
2093
2093
|
return !1;
|
|
2094
2094
|
p(_);
|
|
2095
2095
|
const M = m(_.currentPeek());
|
|
2096
2096
|
return _.resetPeek(), M;
|
|
2097
2097
|
}
|
|
2098
2098
|
function y(_, h) {
|
|
2099
|
-
const { currentType:
|
|
2100
|
-
if (
|
|
2099
|
+
const { currentType: N } = h;
|
|
2100
|
+
if (N !== 2)
|
|
2101
2101
|
return !1;
|
|
2102
2102
|
p(_);
|
|
2103
2103
|
const M = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), ne = E(M);
|
|
2104
2104
|
return _.resetPeek(), ne;
|
|
2105
2105
|
}
|
|
2106
2106
|
function k(_, h) {
|
|
2107
|
-
const { currentType:
|
|
2108
|
-
if (
|
|
2107
|
+
const { currentType: N } = h;
|
|
2108
|
+
if (N !== 2)
|
|
2109
2109
|
return !1;
|
|
2110
2110
|
p(_);
|
|
2111
2111
|
const M = _.currentPeek() === Fa;
|
|
2112
2112
|
return _.resetPeek(), M;
|
|
2113
2113
|
}
|
|
2114
2114
|
function R(_, h) {
|
|
2115
|
-
const { currentType:
|
|
2116
|
-
if (
|
|
2115
|
+
const { currentType: N } = h;
|
|
2116
|
+
if (N !== 7)
|
|
2117
2117
|
return !1;
|
|
2118
2118
|
p(_);
|
|
2119
2119
|
const M = _.currentPeek() === ".";
|
|
2120
2120
|
return _.resetPeek(), M;
|
|
2121
2121
|
}
|
|
2122
2122
|
function A(_, h) {
|
|
2123
|
-
const { currentType:
|
|
2124
|
-
if (
|
|
2123
|
+
const { currentType: N } = h;
|
|
2124
|
+
if (N !== 8)
|
|
2125
2125
|
return !1;
|
|
2126
2126
|
p(_);
|
|
2127
2127
|
const M = m(_.currentPeek());
|
|
2128
2128
|
return _.resetPeek(), M;
|
|
2129
2129
|
}
|
|
2130
2130
|
function B(_, h) {
|
|
2131
|
-
const { currentType:
|
|
2132
|
-
if (!(
|
|
2131
|
+
const { currentType: N } = h;
|
|
2132
|
+
if (!(N === 7 || N === 11))
|
|
2133
2133
|
return !1;
|
|
2134
2134
|
p(_);
|
|
2135
2135
|
const M = _.currentPeek() === ":";
|
|
2136
2136
|
return _.resetPeek(), M;
|
|
2137
2137
|
}
|
|
2138
2138
|
function Y(_, h) {
|
|
2139
|
-
const { currentType:
|
|
2140
|
-
if (
|
|
2139
|
+
const { currentType: N } = h;
|
|
2140
|
+
if (N !== 9)
|
|
2141
2141
|
return !1;
|
|
2142
2142
|
const M = () => {
|
|
2143
2143
|
const oe = _.currentPeek();
|
|
@@ -2151,15 +2151,15 @@ function Bi(e, t = {}) {
|
|
|
2151
2151
|
return _.resetPeek(), h;
|
|
2152
2152
|
}
|
|
2153
2153
|
function de(_, h = !0) {
|
|
2154
|
-
const
|
|
2154
|
+
const N = (ne = !1, oe = "") => {
|
|
2155
2155
|
const j = _.currentPeek();
|
|
2156
|
-
return j === "{" || j === "@" || !j ? ne : j === "|" ? !(oe === Oe || oe === fe) : j === Oe ? (_.peek(),
|
|
2157
|
-
}, M =
|
|
2156
|
+
return j === "{" || j === "@" || !j ? ne : j === "|" ? !(oe === Oe || oe === fe) : j === Oe ? (_.peek(), N(!0, Oe)) : j === fe ? (_.peek(), N(!0, fe)) : !0;
|
|
2157
|
+
}, M = N();
|
|
2158
2158
|
return h && _.resetPeek(), M;
|
|
2159
2159
|
}
|
|
2160
2160
|
function ee(_, h) {
|
|
2161
|
-
const
|
|
2162
|
-
return
|
|
2161
|
+
const N = _.currentChar();
|
|
2162
|
+
return N === ke ? ke : h(N) ? (_.next(), N) : null;
|
|
2163
2163
|
}
|
|
2164
2164
|
function et(_) {
|
|
2165
2165
|
const h = _.charCodeAt(0);
|
|
@@ -2201,57 +2201,57 @@ function Bi(e, t = {}) {
|
|
|
2201
2201
|
return ee(_, _n);
|
|
2202
2202
|
}
|
|
2203
2203
|
function mt(_) {
|
|
2204
|
-
let h = "",
|
|
2204
|
+
let h = "", N = "";
|
|
2205
2205
|
for (; h = fn(_); )
|
|
2206
|
-
|
|
2207
|
-
return
|
|
2206
|
+
N += h;
|
|
2207
|
+
return N;
|
|
2208
2208
|
}
|
|
2209
2209
|
function dn(_) {
|
|
2210
2210
|
let h = "";
|
|
2211
2211
|
for (; ; ) {
|
|
2212
|
-
const
|
|
2213
|
-
if (
|
|
2212
|
+
const N = _.currentChar();
|
|
2213
|
+
if (N === "{" || N === "}" || N === "@" || N === "|" || !N)
|
|
2214
2214
|
break;
|
|
2215
|
-
if (
|
|
2215
|
+
if (N === Oe || N === fe)
|
|
2216
2216
|
if (de(_))
|
|
2217
|
-
h +=
|
|
2217
|
+
h += N, _.next();
|
|
2218
2218
|
else {
|
|
2219
2219
|
if (re(_))
|
|
2220
2220
|
break;
|
|
2221
|
-
h +=
|
|
2221
|
+
h += N, _.next();
|
|
2222
2222
|
}
|
|
2223
2223
|
else
|
|
2224
|
-
h +=
|
|
2224
|
+
h += N, _.next();
|
|
2225
2225
|
}
|
|
2226
2226
|
return h;
|
|
2227
2227
|
}
|
|
2228
2228
|
function mn(_) {
|
|
2229
2229
|
w(_);
|
|
2230
|
-
let h = "",
|
|
2230
|
+
let h = "", N = "";
|
|
2231
2231
|
for (; h = cn(_); )
|
|
2232
|
-
|
|
2232
|
+
N += h;
|
|
2233
2233
|
const M = _.currentChar();
|
|
2234
2234
|
if (M && M !== "}" && M !== ke && M !== Oe && M !== fe && M !== " ") {
|
|
2235
2235
|
const ne = Ut(_);
|
|
2236
|
-
return u(
|
|
2236
|
+
return u(V.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + ne), N + ne;
|
|
2237
2237
|
}
|
|
2238
|
-
return _.currentChar() === ke && u(
|
|
2238
|
+
return _.currentChar() === ke && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), N;
|
|
2239
2239
|
}
|
|
2240
2240
|
function hn(_) {
|
|
2241
2241
|
w(_);
|
|
2242
2242
|
let h = "";
|
|
2243
|
-
return _.currentChar() === "-" ? (_.next(), h += `-${mt(_)}`) : h += mt(_), _.currentChar() === ke && u(
|
|
2243
|
+
return _.currentChar() === "-" ? (_.next(), h += `-${mt(_)}`) : h += mt(_), _.currentChar() === ke && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), h;
|
|
2244
2244
|
}
|
|
2245
2245
|
function gn(_) {
|
|
2246
2246
|
return _ !== Fa && _ !== fe;
|
|
2247
2247
|
}
|
|
2248
2248
|
function Ta(_) {
|
|
2249
2249
|
w(_), T(_, "'");
|
|
2250
|
-
let h = "",
|
|
2250
|
+
let h = "", N = "";
|
|
2251
2251
|
for (; h = ee(_, gn); )
|
|
2252
|
-
h === "\\" ?
|
|
2252
|
+
h === "\\" ? N += pn(_) : N += h;
|
|
2253
2253
|
const M = _.currentChar();
|
|
2254
|
-
return M === fe || M === ke ? (u(
|
|
2254
|
+
return M === fe || M === ke ? (u(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === fe && (_.next(), T(_, "'")), N) : (T(_, "'"), N);
|
|
2255
2255
|
}
|
|
2256
2256
|
function pn(_) {
|
|
2257
2257
|
const h = _.currentChar();
|
|
@@ -2264,16 +2264,16 @@ function Bi(e, t = {}) {
|
|
|
2264
2264
|
case "U":
|
|
2265
2265
|
return Mt(_, h, 6);
|
|
2266
2266
|
default:
|
|
2267
|
-
return u(
|
|
2267
|
+
return u(V.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, h), "";
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
function Mt(_, h,
|
|
2270
|
+
function Mt(_, h, N) {
|
|
2271
2271
|
T(_, h);
|
|
2272
2272
|
let M = "";
|
|
2273
|
-
for (let ne = 0; ne <
|
|
2273
|
+
for (let ne = 0; ne < N; ne++) {
|
|
2274
2274
|
const oe = De(_);
|
|
2275
2275
|
if (!oe) {
|
|
2276
|
-
u(
|
|
2276
|
+
u(V.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${h}${M}${_.currentChar()}`);
|
|
2277
2277
|
break;
|
|
2278
2278
|
}
|
|
2279
2279
|
M += oe;
|
|
@@ -2285,21 +2285,21 @@ function Bi(e, t = {}) {
|
|
|
2285
2285
|
}
|
|
2286
2286
|
function Ut(_) {
|
|
2287
2287
|
w(_);
|
|
2288
|
-
let h = "",
|
|
2288
|
+
let h = "", N = "";
|
|
2289
2289
|
for (; h = ee(_, En); )
|
|
2290
|
-
|
|
2291
|
-
return
|
|
2290
|
+
N += h;
|
|
2291
|
+
return N;
|
|
2292
2292
|
}
|
|
2293
2293
|
function bn(_) {
|
|
2294
|
-
let h = "",
|
|
2294
|
+
let h = "", N = "";
|
|
2295
2295
|
for (; h = sn(_); )
|
|
2296
|
-
|
|
2297
|
-
return
|
|
2296
|
+
N += h;
|
|
2297
|
+
return N;
|
|
2298
2298
|
}
|
|
2299
2299
|
function Sn(_) {
|
|
2300
|
-
const h = (
|
|
2300
|
+
const h = (N) => {
|
|
2301
2301
|
const M = _.currentChar();
|
|
2302
|
-
return M === "{" || M === "@" || M === "|" || M === "(" || M === ")" || !M || M === Oe ?
|
|
2302
|
+
return M === "{" || M === "@" || M === "|" || M === "(" || M === ")" || !M || M === Oe ? N : (N += M, _.next(), h(N));
|
|
2303
2303
|
};
|
|
2304
2304
|
return h("");
|
|
2305
2305
|
}
|
|
@@ -2313,48 +2313,48 @@ function Bi(e, t = {}) {
|
|
|
2313
2313
|
return w(_), h;
|
|
2314
2314
|
}
|
|
2315
2315
|
function gt(_, h) {
|
|
2316
|
-
let
|
|
2316
|
+
let N = null;
|
|
2317
2317
|
switch (_.currentChar()) {
|
|
2318
2318
|
case "{":
|
|
2319
|
-
return h.braceNest >= 1 && u(
|
|
2319
|
+
return h.braceNest >= 1 && u(V.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), _.next(), N = d(
|
|
2320
2320
|
h,
|
|
2321
2321
|
2,
|
|
2322
2322
|
"{"
|
|
2323
2323
|
/* TokenChars.BraceLeft */
|
|
2324
|
-
), w(_), h.braceNest++,
|
|
2324
|
+
), w(_), h.braceNest++, N;
|
|
2325
2325
|
case "}":
|
|
2326
|
-
return h.braceNest > 0 && h.currentType === 2 && u(
|
|
2326
|
+
return h.braceNest > 0 && h.currentType === 2 && u(V.EMPTY_PLACEHOLDER, o(), 0), _.next(), N = d(
|
|
2327
2327
|
h,
|
|
2328
2328
|
3,
|
|
2329
2329
|
"}"
|
|
2330
2330
|
/* TokenChars.BraceRight */
|
|
2331
|
-
), h.braceNest--, h.braceNest > 0 && w(_), h.inLinked && h.braceNest === 0 && (h.inLinked = !1),
|
|
2331
|
+
), h.braceNest--, h.braceNest > 0 && w(_), h.inLinked && h.braceNest === 0 && (h.inLinked = !1), N;
|
|
2332
2332
|
case "@":
|
|
2333
|
-
return h.braceNest > 0 && u(
|
|
2333
|
+
return h.braceNest > 0 && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), N = He(_, h) || g(h), h.braceNest = 0, N;
|
|
2334
2334
|
default: {
|
|
2335
2335
|
let ne = !0, oe = !0, j = !0;
|
|
2336
2336
|
if (re(_))
|
|
2337
|
-
return h.braceNest > 0 && u(
|
|
2337
|
+
return h.braceNest > 0 && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), N = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, N;
|
|
2338
2338
|
if (h.braceNest > 0 && (h.currentType === 4 || h.currentType === 5 || h.currentType === 6))
|
|
2339
|
-
return u(
|
|
2339
|
+
return u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0, pt(_, h);
|
|
2340
2340
|
if (ne = b(_, h))
|
|
2341
|
-
return
|
|
2341
|
+
return N = d(h, 4, mn(_)), w(_), N;
|
|
2342
2342
|
if (oe = y(_, h))
|
|
2343
|
-
return
|
|
2343
|
+
return N = d(h, 5, hn(_)), w(_), N;
|
|
2344
2344
|
if (j = k(_, h))
|
|
2345
|
-
return
|
|
2345
|
+
return N = d(h, 6, Ta(_)), w(_), N;
|
|
2346
2346
|
if (!ne && !oe && !j)
|
|
2347
|
-
return
|
|
2347
|
+
return N = d(h, 12, Ut(_)), u(V.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), w(_), N;
|
|
2348
2348
|
break;
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
|
-
return
|
|
2351
|
+
return N;
|
|
2352
2352
|
}
|
|
2353
2353
|
function He(_, h) {
|
|
2354
|
-
const { currentType:
|
|
2354
|
+
const { currentType: N } = h;
|
|
2355
2355
|
let M = null;
|
|
2356
2356
|
const ne = _.currentChar();
|
|
2357
|
-
switch ((
|
|
2357
|
+
switch ((N === 7 || N === 8 || N === 11 || N === 9) && (ne === fe || ne === Oe) && u(V.INVALID_LINKED_FORMAT, o(), 0), ne) {
|
|
2358
2358
|
case "@":
|
|
2359
2359
|
return _.next(), M = d(
|
|
2360
2360
|
h,
|
|
@@ -2377,11 +2377,11 @@ function Bi(e, t = {}) {
|
|
|
2377
2377
|
/* TokenChars.LinkedDelimiter */
|
|
2378
2378
|
);
|
|
2379
2379
|
default:
|
|
2380
|
-
return re(_) ? (M = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, M) : R(_, h) || B(_, h) ? (w(_), He(_, h)) : A(_, h) ? (w(_), d(h, 11, bn(_))) : Y(_, h) ? (w(_), ne === "{" ? gt(_, h) || M : d(h, 10, Sn(_))) : (
|
|
2380
|
+
return re(_) ? (M = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, M) : R(_, h) || B(_, h) ? (w(_), He(_, h)) : A(_, h) ? (w(_), d(h, 11, bn(_))) : Y(_, h) ? (w(_), ne === "{" ? gt(_, h) || M : d(h, 10, Sn(_))) : (N === 7 && u(V.INVALID_LINKED_FORMAT, o(), 0), h.braceNest = 0, h.inLinked = !1, pt(_, h));
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
2383
|
function pt(_, h) {
|
|
2384
|
-
let
|
|
2384
|
+
let N = {
|
|
2385
2385
|
type: 13
|
|
2386
2386
|
/* TokenTypes.EOF */
|
|
2387
2387
|
};
|
|
@@ -2393,7 +2393,7 @@ function Bi(e, t = {}) {
|
|
|
2393
2393
|
case "{":
|
|
2394
2394
|
return gt(_, h) || g(h);
|
|
2395
2395
|
case "}":
|
|
2396
|
-
return u(
|
|
2396
|
+
return u(V.UNBALANCED_CLOSING_BRACE, o(), 0), _.next(), d(
|
|
2397
2397
|
h,
|
|
2398
2398
|
3,
|
|
2399
2399
|
"}"
|
|
@@ -2403,17 +2403,17 @@ function Bi(e, t = {}) {
|
|
|
2403
2403
|
return He(_, h) || g(h);
|
|
2404
2404
|
default: {
|
|
2405
2405
|
if (re(_))
|
|
2406
|
-
return
|
|
2406
|
+
return N = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, N;
|
|
2407
2407
|
if (de(_))
|
|
2408
2408
|
return d(h, 0, dn(_));
|
|
2409
2409
|
break;
|
|
2410
2410
|
}
|
|
2411
2411
|
}
|
|
2412
|
-
return
|
|
2412
|
+
return N;
|
|
2413
2413
|
}
|
|
2414
2414
|
function vn() {
|
|
2415
|
-
const { currentType: _, offset: h, startLoc:
|
|
2416
|
-
return i.lastType = _, i.lastOffset = h, i.lastStartLoc =
|
|
2415
|
+
const { currentType: _, offset: h, startLoc: N, endLoc: M } = i;
|
|
2416
|
+
return i.lastType = _, i.lastOffset = h, i.lastStartLoc = N, i.lastEndLoc = M, i.offset = a(), i.startLoc = o(), r.currentChar() === ke ? d(
|
|
2417
2417
|
i,
|
|
2418
2418
|
13
|
|
2419
2419
|
/* TokenTypes.EOF */
|
|
@@ -2477,10 +2477,10 @@ function Yi(e = {}) {
|
|
|
2477
2477
|
}
|
|
2478
2478
|
function f(m) {
|
|
2479
2479
|
const E = m.nextToken(), b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(8, y, k);
|
|
2480
|
-
return E.type !== 11 ? (r(m,
|
|
2480
|
+
return E.type !== 11 ? (r(m, V.UNEXPECTED_EMPTY_LINKED_MODIFIER, b.lastStartLoc, 0), R.value = "", o(R, y, k), {
|
|
2481
2481
|
nextConsumeToken: E,
|
|
2482
2482
|
node: R
|
|
2483
|
-
}) : (E.value == null && r(m,
|
|
2483
|
+
}) : (E.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Ie(E)), R.value = E.value || "", o(R, m.currentOffset(), m.currentPosition()), {
|
|
2484
2484
|
node: R
|
|
2485
2485
|
});
|
|
2486
2486
|
}
|
|
@@ -2495,21 +2495,21 @@ function Yi(e = {}) {
|
|
|
2495
2495
|
const k = f(m);
|
|
2496
2496
|
b.modifier = k.node, y = k.nextConsumeToken || m.nextToken();
|
|
2497
2497
|
}
|
|
2498
|
-
switch (y.type !== 9 && r(m,
|
|
2498
|
+
switch (y.type !== 9 && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), y = m.nextToken(), y.type === 2 && (y = m.nextToken()), y.type) {
|
|
2499
2499
|
case 10:
|
|
2500
|
-
y.value == null && r(m,
|
|
2500
|
+
y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = u(m, y.value || "");
|
|
2501
2501
|
break;
|
|
2502
2502
|
case 4:
|
|
2503
|
-
y.value == null && r(m,
|
|
2503
|
+
y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = i(m, y.value || "");
|
|
2504
2504
|
break;
|
|
2505
2505
|
case 5:
|
|
2506
|
-
y.value == null && r(m,
|
|
2506
|
+
y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = l(m, y.value || "");
|
|
2507
2507
|
break;
|
|
2508
2508
|
case 6:
|
|
2509
|
-
y.value == null && r(m,
|
|
2509
|
+
y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = c(m, y.value || "");
|
|
2510
2510
|
break;
|
|
2511
2511
|
default: {
|
|
2512
|
-
r(m,
|
|
2512
|
+
r(m, V.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
|
|
2513
2513
|
const k = m.context(), R = a(7, k.offset, k.startLoc);
|
|
2514
2514
|
return R.value = "", o(R, k.offset, k.startLoc), b.key = R, o(b, k.offset, k.startLoc), {
|
|
2515
2515
|
nextConsumeToken: y,
|
|
@@ -2529,16 +2529,16 @@ function Yi(e = {}) {
|
|
|
2529
2529
|
const Y = R || m.nextToken();
|
|
2530
2530
|
switch (R = null, Y.type) {
|
|
2531
2531
|
case 0:
|
|
2532
|
-
Y.value == null && r(m,
|
|
2532
|
+
Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(s(m, Y.value || ""));
|
|
2533
2533
|
break;
|
|
2534
2534
|
case 5:
|
|
2535
|
-
Y.value == null && r(m,
|
|
2535
|
+
Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(l(m, Y.value || ""));
|
|
2536
2536
|
break;
|
|
2537
2537
|
case 4:
|
|
2538
|
-
Y.value == null && r(m,
|
|
2538
|
+
Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(i(m, Y.value || ""));
|
|
2539
2539
|
break;
|
|
2540
2540
|
case 6:
|
|
2541
|
-
Y.value == null && r(m,
|
|
2541
|
+
Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(c(m, Y.value || ""));
|
|
2542
2542
|
break;
|
|
2543
2543
|
case 7: {
|
|
2544
2544
|
const re = d(m);
|
|
@@ -2559,7 +2559,7 @@ function Yi(e = {}) {
|
|
|
2559
2559
|
const B = g(m);
|
|
2560
2560
|
R || (R = B.items.length === 0), A.cases.push(B);
|
|
2561
2561
|
} while (k.currentType !== 13);
|
|
2562
|
-
return R && r(m,
|
|
2562
|
+
return R && r(m, V.MUST_HAVE_MESSAGES_IN_PLURAL, b, 0), o(A, m.currentOffset(), m.currentPosition()), A;
|
|
2563
2563
|
}
|
|
2564
2564
|
function p(m) {
|
|
2565
2565
|
const E = m.context(), { offset: b, startLoc: y } = E, k = g(m);
|
|
@@ -2567,7 +2567,7 @@ function Yi(e = {}) {
|
|
|
2567
2567
|
}
|
|
2568
2568
|
function w(m) {
|
|
2569
2569
|
const E = Bi(m, ce({}, e)), b = E.context(), y = a(0, b.offset, b.startLoc);
|
|
2570
|
-
return t && y.loc && (y.loc.source = m), y.body = p(E), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), b.currentType !== 13 && r(E,
|
|
2570
|
+
return t && y.loc && (y.loc.source = m), y.body = p(E), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), b.currentType !== 13 && r(E, V.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, m[b.offset] || ""), o(y, E.currentOffset(), E.currentPosition()), y;
|
|
2571
2571
|
}
|
|
2572
2572
|
return { parse: w };
|
|
2573
2573
|
}
|
|
@@ -2710,7 +2710,7 @@ function it(e) {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
default:
|
|
2712
2712
|
if (process.env.NODE_ENV !== "production")
|
|
2713
|
-
throw dt(
|
|
2713
|
+
throw dt(V.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
2714
2714
|
domain: qi,
|
|
2715
2715
|
args: [e.type]
|
|
2716
2716
|
});
|
|
@@ -2841,7 +2841,7 @@ function ft(e, t) {
|
|
|
2841
2841
|
break;
|
|
2842
2842
|
default:
|
|
2843
2843
|
if (process.env.NODE_ENV !== "production")
|
|
2844
|
-
throw dt(
|
|
2844
|
+
throw dt(V.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
2845
2845
|
domain: Xi,
|
|
2846
2846
|
args: [t.type]
|
|
2847
2847
|
});
|
|
@@ -2956,12 +2956,12 @@ function ul(e, t) {
|
|
|
2956
2956
|
const o = ol(n);
|
|
2957
2957
|
return e.plural(o.reduce((s, l) => [
|
|
2958
2958
|
...s,
|
|
2959
|
-
|
|
2959
|
+
Va(e, l)
|
|
2960
2960
|
], []));
|
|
2961
2961
|
} else
|
|
2962
|
-
return
|
|
2962
|
+
return Va(e, n);
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2964
|
+
function Va(e, t) {
|
|
2965
2965
|
const n = sl(t);
|
|
2966
2966
|
if (n != null)
|
|
2967
2967
|
return e.type === "text" ? n : e.normalize([n]);
|
|
@@ -3082,20 +3082,20 @@ const vl = {
|
|
|
3082
3082
|
[_e.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
|
|
3083
3083
|
};
|
|
3084
3084
|
function ga(e, t) {
|
|
3085
|
-
return t.locale != null ?
|
|
3085
|
+
return t.locale != null ? xa(t.locale) : xa(e.locale);
|
|
3086
3086
|
}
|
|
3087
|
-
let
|
|
3088
|
-
function
|
|
3087
|
+
let Nn;
|
|
3088
|
+
function xa(e) {
|
|
3089
3089
|
if (P(e))
|
|
3090
3090
|
return e;
|
|
3091
3091
|
if (J(e)) {
|
|
3092
|
-
if (e.resolvedOnce &&
|
|
3093
|
-
return
|
|
3092
|
+
if (e.resolvedOnce && Nn != null)
|
|
3093
|
+
return Nn;
|
|
3094
3094
|
if (e.constructor.name === "Function") {
|
|
3095
3095
|
const t = e();
|
|
3096
|
-
if (
|
|
3096
|
+
if (Ni(t))
|
|
3097
3097
|
throw Fe(_e.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
3098
|
-
return
|
|
3098
|
+
return Nn = t;
|
|
3099
3099
|
} else
|
|
3100
3100
|
throw Fe(_e.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
3101
3101
|
} else
|
|
@@ -3308,9 +3308,9 @@ Ye[
|
|
|
3308
3308
|
/* Actions.APPEND */
|
|
3309
3309
|
]
|
|
3310
3310
|
};
|
|
3311
|
-
const
|
|
3312
|
-
function
|
|
3313
|
-
return
|
|
3311
|
+
const Nl = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
3312
|
+
function Cl(e) {
|
|
3313
|
+
return Nl.test(e);
|
|
3314
3314
|
}
|
|
3315
3315
|
function Ol(e) {
|
|
3316
3316
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
@@ -3355,7 +3355,7 @@ function Il(e) {
|
|
|
3355
3355
|
}
|
|
3356
3356
|
function Ll(e) {
|
|
3357
3357
|
const t = e.trim();
|
|
3358
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
3358
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Cl(t) ? Ol(t) : "*" + t;
|
|
3359
3359
|
}
|
|
3360
3360
|
function wl(e) {
|
|
3361
3361
|
const t = [];
|
|
@@ -3469,11 +3469,11 @@ function Ul(e) {
|
|
|
3469
3469
|
io = e;
|
|
3470
3470
|
}
|
|
3471
3471
|
let lo;
|
|
3472
|
-
function
|
|
3472
|
+
function Vl(e) {
|
|
3473
3473
|
lo = e;
|
|
3474
3474
|
}
|
|
3475
3475
|
let co;
|
|
3476
|
-
function
|
|
3476
|
+
function xl(e) {
|
|
3477
3477
|
co = e;
|
|
3478
3478
|
}
|
|
3479
3479
|
let uo = null;
|
|
@@ -3486,7 +3486,7 @@ const Wa = (e) => {
|
|
|
3486
3486
|
}, $l = () => fo;
|
|
3487
3487
|
let Ya = 0;
|
|
3488
3488
|
function Wl(e = {}) {
|
|
3489
|
-
const t = J(e.onWarn) ? e.onWarn : pi, n = P(e.version) ? e.version : Fl, r = P(e.locale) || J(e.locale) ? e.locale : Lt, a = J(r) ? Lt : r, o = ae(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = G(e.messages) ? e.messages :
|
|
3489
|
+
const t = J(e.onWarn) ? e.onWarn : pi, n = P(e.version) ? e.version : Fl, r = P(e.locale) || J(e.locale) ? e.locale : Lt, a = J(r) ? Lt : r, o = ae(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = G(e.messages) ? e.messages : Cn(a), l = G(e.datetimeFormats) ? e.datetimeFormats : Cn(a), i = G(e.numberFormats) ? e.numberFormats : Cn(a), c = ce(X(), e.modifiers, Ml()), f = e.pluralRules || X(), u = J(e.missing) ? e.missing : null, d = K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, p = !!e.unresolving, w = J(e.postTranslation) ? e.postTranslation : null, m = G(e.processor) ? e.processor : null, E = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, y = J(e.messageCompiler) ? e.messageCompiler : io;
|
|
3490
3490
|
process.env.NODE_ENV !== "production" && J(e.messageCompiler) && ua(ze(me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3491
3491
|
const k = J(e.messageResolver) ? e.messageResolver : lo || Dl, R = J(e.localeFallbacker) ? e.localeFallbacker : co || yl, A = H(e.fallbackContext) ? e.fallbackContext : void 0, B = e, Y = H(B.__datetimeFormatters) ? B.__datetimeFormatters : /* @__PURE__ */ new Map(), re = H(B.__numberFormatters) ? B.__numberFormatters : /* @__PURE__ */ new Map(), de = H(B.__meta) ? B.__meta : {};
|
|
3492
3492
|
Ya++;
|
|
@@ -3516,7 +3516,7 @@ function Wl(e = {}) {
|
|
|
3516
3516
|
};
|
|
3517
3517
|
return ee.datetimeFormats = l, ee.numberFormats = i, ee.__datetimeFormatters = Y, ee.__numberFormatters = re, process.env.NODE_ENV !== "production" && (ee.__v_emitter = B.__v_emitter != null ? B.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && pl(ee, n, de), ee;
|
|
3518
3518
|
}
|
|
3519
|
-
const
|
|
3519
|
+
const Cn = (e) => ({ [e]: X() });
|
|
3520
3520
|
function nn(e, t) {
|
|
3521
3521
|
return e instanceof RegExp ? e.test(t) : e;
|
|
3522
3522
|
}
|
|
@@ -3732,7 +3732,7 @@ function Xa(e, t, n) {
|
|
|
3732
3732
|
r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
|
|
3733
3733
|
}
|
|
3734
3734
|
}
|
|
3735
|
-
const Hl = (e) => e, Kl = (e) => "", jl = "text", ql = (e) => e.length === 0 ? "" : _a(e), Xl =
|
|
3735
|
+
const Hl = (e) => e, Kl = (e) => "", jl = "text", ql = (e) => e.length === 0 ? "" : _a(e), Xl = Ci;
|
|
3736
3736
|
function Qa(e, t) {
|
|
3737
3737
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
3738
3738
|
}
|
|
@@ -3831,7 +3831,7 @@ function Eo(e, t, n, r, a, o) {
|
|
|
3831
3831
|
}
|
|
3832
3832
|
u = s[d] || X();
|
|
3833
3833
|
let E = null, b, y;
|
|
3834
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3834
|
+
if (process.env.NODE_ENV !== "production" && Ce && (E = window.performance.now(), b = "intlify-message-resolve-start", y = "intlify-message-resolve-end", Ee && Ee(b)), (g = i(u, t)) === null && (g = u[t]), process.env.NODE_ENV !== "production" && Ce) {
|
|
3835
3835
|
const k = window.performance.now(), R = e.__v_emitter;
|
|
3836
3836
|
R && E && g && R.emit("message-resolve", {
|
|
3837
3837
|
type: "message-resolve",
|
|
@@ -3869,9 +3869,9 @@ function bo(e, t, n, r, a, o) {
|
|
|
3869
3869
|
return d.locale = n, d.key = t, d;
|
|
3870
3870
|
}
|
|
3871
3871
|
let i = null, c, f;
|
|
3872
|
-
process.env.NODE_ENV !== "production" &&
|
|
3872
|
+
process.env.NODE_ENV !== "production" && Ce && (i = window.performance.now(), c = "intlify-message-compilation-start", f = "intlify-message-compilation-end", Ee && Ee(c));
|
|
3873
3873
|
const u = s(r, tc(e, n, a, r, l, o));
|
|
3874
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3874
|
+
if (process.env.NODE_ENV !== "production" && Ce) {
|
|
3875
3875
|
const d = window.performance.now(), g = e.__v_emitter;
|
|
3876
3876
|
g && i && g.emit("message-compilation", {
|
|
3877
3877
|
type: "message-compilation",
|
|
@@ -3884,9 +3884,9 @@ function bo(e, t, n, r, a, o) {
|
|
|
3884
3884
|
}
|
|
3885
3885
|
function ec(e, t, n) {
|
|
3886
3886
|
let r = null, a, o;
|
|
3887
|
-
process.env.NODE_ENV !== "production" &&
|
|
3887
|
+
process.env.NODE_ENV !== "production" && Ce && (r = window.performance.now(), a = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", Ee && Ee(a));
|
|
3888
3888
|
const s = t(n);
|
|
3889
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3889
|
+
if (process.env.NODE_ENV !== "production" && Ce) {
|
|
3890
3890
|
const l = window.performance.now(), i = e.__v_emitter;
|
|
3891
3891
|
i && r && i.emit("message-evaluation", {
|
|
3892
3892
|
type: "message-evaluation",
|
|
@@ -4206,15 +4206,15 @@ function Za(e) {
|
|
|
4206
4206
|
const er = "__INTLIFY_META__", tr = () => [], gc = () => !1;
|
|
4207
4207
|
let nr = 0;
|
|
4208
4208
|
function ar(e) {
|
|
4209
|
-
return (t, n, r, a) => e(n, r,
|
|
4209
|
+
return (t, n, r, a) => e(n, r, Nt() || void 0, a);
|
|
4210
4210
|
}
|
|
4211
4211
|
const pc = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
4212
|
-
const e =
|
|
4212
|
+
const e = Nt();
|
|
4213
4213
|
let t = null;
|
|
4214
4214
|
return e && (t = To(e)[er]) ? { [er]: t } : null;
|
|
4215
4215
|
};
|
|
4216
4216
|
function ba(e = {}) {
|
|
4217
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o =
|
|
4217
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o = Ce ? xo : Bo;
|
|
4218
4218
|
let s = K(e.inheritLocale) ? e.inheritLocale : !0;
|
|
4219
4219
|
const l = o(
|
|
4220
4220
|
// prettier-ignore
|
|
@@ -4286,7 +4286,7 @@ function ba(e = {}) {
|
|
|
4286
4286
|
function _n(v, O) {
|
|
4287
4287
|
return v !== "translate" || !O.resolvedMessage;
|
|
4288
4288
|
}
|
|
4289
|
-
const De = (v, O, q, se, Ke,
|
|
4289
|
+
const De = (v, O, q, se, Ke, Vt) => {
|
|
4290
4290
|
Y();
|
|
4291
4291
|
let tt;
|
|
4292
4292
|
try {
|
|
@@ -4311,7 +4311,7 @@ function ba(e = {}) {
|
|
|
4311
4311
|
}
|
|
4312
4312
|
return t && T ? se(t) : Ke(je);
|
|
4313
4313
|
} else {
|
|
4314
|
-
if (
|
|
4314
|
+
if (Vt(tt))
|
|
4315
4315
|
return tt;
|
|
4316
4316
|
throw he(Z.UNEXPECTED_RETURN_TYPE);
|
|
4317
4317
|
}
|
|
@@ -4372,9 +4372,9 @@ function ba(e = {}) {
|
|
|
4372
4372
|
let O = null;
|
|
4373
4373
|
const q = so(A, i.value, l.value);
|
|
4374
4374
|
for (let se = 0; se < q.length; se++) {
|
|
4375
|
-
const Ke = c.value[q[se]] || {},
|
|
4376
|
-
if (
|
|
4377
|
-
O =
|
|
4375
|
+
const Ke = c.value[q[se]] || {}, Vt = A.messageResolver(Ke, v);
|
|
4376
|
+
if (Vt != null) {
|
|
4377
|
+
O = Vt;
|
|
4378
4378
|
break;
|
|
4379
4379
|
}
|
|
4380
4380
|
}
|
|
@@ -4410,7 +4410,7 @@ function ba(e = {}) {
|
|
|
4410
4410
|
function h(v, O) {
|
|
4411
4411
|
f.value[v] = O, A.datetimeFormats = f.value, ja(A, v, O);
|
|
4412
4412
|
}
|
|
4413
|
-
function
|
|
4413
|
+
function N(v, O) {
|
|
4414
4414
|
f.value[v] = ce(f.value[v] || {}, O), A.datetimeFormats = f.value, ja(A, v, O);
|
|
4415
4415
|
}
|
|
4416
4416
|
function M(v) {
|
|
@@ -4422,7 +4422,7 @@ function ba(e = {}) {
|
|
|
4422
4422
|
function oe(v, O) {
|
|
4423
4423
|
u.value[v] = ce(u.value[v] || {}, O), A.numberFormats = u.value, Xa(A, v, O);
|
|
4424
4424
|
}
|
|
4425
|
-
nr++, t &&
|
|
4425
|
+
nr++, t && Ce && (Pn(t.locale, (v) => {
|
|
4426
4426
|
s && (l.value = v, A.locale = v, vt(A, l.value, i.value));
|
|
4427
4427
|
}), Pn(t.fallbackLocale, (v) => {
|
|
4428
4428
|
s && (i.value = v, A.fallbackLocale = v, vt(A, l.value, i.value));
|
|
@@ -4496,13 +4496,13 @@ function ba(e = {}) {
|
|
|
4496
4496
|
setMissingHandler: fn,
|
|
4497
4497
|
[vo]: bn
|
|
4498
4498
|
};
|
|
4499
|
-
return j.datetimeFormats = et, j.numberFormats = sn, j.rt = dn, j.te = Sn, j.tm = gt, j.d = mn, j.n = hn, j.getDateTimeFormat = _, j.setDateTimeFormat = h, j.mergeDateTimeFormat =
|
|
4499
|
+
return j.datetimeFormats = et, j.numberFormats = sn, j.rt = dn, j.te = Sn, j.tm = gt, j.d = mn, j.n = hn, j.getDateTimeFormat = _, j.setDateTimeFormat = h, j.mergeDateTimeFormat = N, j.getNumberFormat = M, j.setNumberFormat = ne, j.mergeNumberFormat = oe, j[yo] = n, j[qn] = Mt, j[Xn] = Ut, j[Qn] = En, process.env.NODE_ENV !== "production" && (j[Ze] = (v) => {
|
|
4500
4500
|
A.__v_emitter = v;
|
|
4501
4501
|
}, j[wt] = () => {
|
|
4502
4502
|
A.__v_emitter = void 0;
|
|
4503
4503
|
}), j;
|
|
4504
4504
|
}
|
|
4505
|
-
const
|
|
4505
|
+
const No = "vue-i18n: composer properties", On = {
|
|
4506
4506
|
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
4507
4507
|
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
4508
4508
|
"vue-i18n-timeline": "Vue I18n"
|
|
@@ -4521,7 +4521,7 @@ async function Sc(e, t) {
|
|
|
4521
4521
|
packageName: "vue-i18n",
|
|
4522
4522
|
homepage: "https://vue-i18n.intlify.dev",
|
|
4523
4523
|
logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
|
|
4524
|
-
componentStateTypes: [
|
|
4524
|
+
componentStateTypes: [No],
|
|
4525
4525
|
app: e
|
|
4526
4526
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
4527
4527
|
}, (a) => {
|
|
@@ -4535,7 +4535,7 @@ async function Sc(e, t) {
|
|
|
4535
4535
|
icon: "language",
|
|
4536
4536
|
treeFilterPlaceholder: Ec["vue-i18n-resource-inspector"]
|
|
4537
4537
|
}), a.on.getInspectorTree((s) => {
|
|
4538
|
-
s.app === e && s.inspectorId === "vue-i18n-resource-inspector" &&
|
|
4538
|
+
s.app === e && s.inspectorId === "vue-i18n-resource-inspector" && Cc(s, t);
|
|
4539
4539
|
});
|
|
4540
4540
|
const o = /* @__PURE__ */ new Map();
|
|
4541
4541
|
a.on.getInspectorState(async (s) => {
|
|
@@ -4563,14 +4563,14 @@ async function Sc(e, t) {
|
|
|
4563
4563
|
}
|
|
4564
4564
|
});
|
|
4565
4565
|
}
|
|
4566
|
-
function
|
|
4566
|
+
function Co(e) {
|
|
4567
4567
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
4568
4568
|
}
|
|
4569
4569
|
function vc(e, t, n) {
|
|
4570
4570
|
const r = n.mode === "composition" ? n.global : n.global.__composer;
|
|
4571
4571
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== r) {
|
|
4572
4572
|
const a = {
|
|
4573
|
-
label: `i18n (${
|
|
4573
|
+
label: `i18n (${Co(e)} Scope)`,
|
|
4574
4574
|
textColor: 0,
|
|
4575
4575
|
backgroundColor: 16764185
|
|
4576
4576
|
};
|
|
@@ -4578,7 +4578,7 @@ function vc(e, t, n) {
|
|
|
4578
4578
|
}
|
|
4579
4579
|
}
|
|
4580
4580
|
function rr(e, t) {
|
|
4581
|
-
const n =
|
|
4581
|
+
const n = No;
|
|
4582
4582
|
e.state.push({
|
|
4583
4583
|
type: n,
|
|
4584
4584
|
key: "locale",
|
|
@@ -4620,7 +4620,7 @@ function Sa(e) {
|
|
|
4620
4620
|
const t = {};
|
|
4621
4621
|
return Object.keys(e).forEach((n) => {
|
|
4622
4622
|
const r = e[n];
|
|
4623
|
-
J(r) && "source" in r ? t[n] =
|
|
4623
|
+
J(r) && "source" in r ? t[n] = Nc(r) : ye(r) && r.loc && r.loc.source ? t[n] = r.loc.source : H(r) ? t[n] = Sa(r) : t[n] = r;
|
|
4624
4624
|
}), t;
|
|
4625
4625
|
}
|
|
4626
4626
|
const yc = {
|
|
@@ -4635,7 +4635,7 @@ function Tc(e) {
|
|
|
4635
4635
|
function Ac(e) {
|
|
4636
4636
|
return yc[e] || e;
|
|
4637
4637
|
}
|
|
4638
|
-
function
|
|
4638
|
+
function Nc(e) {
|
|
4639
4639
|
return {
|
|
4640
4640
|
_custom: {
|
|
4641
4641
|
type: "function",
|
|
@@ -4643,7 +4643,7 @@ function Cc(e) {
|
|
|
4643
4643
|
}
|
|
4644
4644
|
};
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Cc(e, t) {
|
|
4647
4647
|
e.rootNodes.push({
|
|
4648
4648
|
id: "global",
|
|
4649
4649
|
label: "Global Scope"
|
|
@@ -4653,7 +4653,7 @@ function Nc(e, t) {
|
|
|
4653
4653
|
const o = t.mode === "composition" ? a : a.__composer;
|
|
4654
4654
|
n !== o && e.rootNodes.push({
|
|
4655
4655
|
id: o.id.toString(),
|
|
4656
|
-
label: `${
|
|
4656
|
+
label: `${Co(r)} Scope`
|
|
4657
4657
|
});
|
|
4658
4658
|
}
|
|
4659
4659
|
}
|
|
@@ -4969,7 +4969,7 @@ function Zn(e = {}) {
|
|
|
4969
4969
|
function kc(e, t, n) {
|
|
4970
4970
|
return {
|
|
4971
4971
|
beforeCreate() {
|
|
4972
|
-
const r =
|
|
4972
|
+
const r = Nt();
|
|
4973
4973
|
if (!r)
|
|
4974
4974
|
throw he(Z.UNEXPECTED_ERROR);
|
|
4975
4975
|
const a = this.$options;
|
|
@@ -5008,7 +5008,7 @@ function kc(e, t, n) {
|
|
|
5008
5008
|
}
|
|
5009
5009
|
},
|
|
5010
5010
|
unmounted() {
|
|
5011
|
-
const r =
|
|
5011
|
+
const r = Nt();
|
|
5012
5012
|
if (!r)
|
|
5013
5013
|
throw he(Z.UNEXPECTED_ERROR);
|
|
5014
5014
|
const a = this.$i18n;
|
|
@@ -5136,7 +5136,7 @@ function Uc(e, t) {
|
|
|
5136
5136
|
return r != null ? r.__composer : e.global.__composer;
|
|
5137
5137
|
}
|
|
5138
5138
|
}
|
|
5139
|
-
function
|
|
5139
|
+
function Vc(e) {
|
|
5140
5140
|
const t = (s) => {
|
|
5141
5141
|
process.env.NODE_ENV !== "production" && ua(_t(Se.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
5142
5142
|
const { instance: l, value: i } = s;
|
|
@@ -5151,12 +5151,12 @@ function xc(e) {
|
|
|
5151
5151
|
return {
|
|
5152
5152
|
created: (s, l) => {
|
|
5153
5153
|
const [i, c] = t(l);
|
|
5154
|
-
|
|
5154
|
+
Ce && e.global === c && (s.__i18nWatcher = Pn(c.locale, () => {
|
|
5155
5155
|
l.instance && l.instance.$forceUpdate();
|
|
5156
5156
|
})), s.__composer = c, s.textContent = i;
|
|
5157
5157
|
},
|
|
5158
5158
|
unmounted: (s) => {
|
|
5159
|
-
|
|
5159
|
+
Ce && s.__i18nWatcher && (s.__i18nWatcher(), s.__i18nWatcher = void 0, delete s.__i18nWatcher), s.__composer && (s.__composer = void 0, delete s.__composer);
|
|
5160
5160
|
},
|
|
5161
5161
|
beforeUpdate: (s, { value: l }) => {
|
|
5162
5162
|
if (s.__composer) {
|
|
@@ -5186,9 +5186,9 @@ function cr(e) {
|
|
|
5186
5186
|
const { path: t, locale: n, args: r, choice: a, plural: o } = e, s = {}, l = r || {};
|
|
5187
5187
|
return P(n) && (s.locale = n), ie(a) && (s.plural = a), ie(o) && (s.plural = o), [t, l, s];
|
|
5188
5188
|
}
|
|
5189
|
-
function
|
|
5189
|
+
function xc(e, t, ...n) {
|
|
5190
5190
|
const r = G(n[0]) ? n[0] : {};
|
|
5191
|
-
(K(r.globalInstall) ? r.globalInstall : !0) && ([sr.name, "I18nT"].forEach((o) => e.component(o, sr)), [ir.name, "I18nN"].forEach((o) => e.component(o, ir)), [fr.name, "I18nD"].forEach((o) => e.component(o, fr))), e.directive("t",
|
|
5191
|
+
(K(r.globalInstall) ? r.globalInstall : !0) && ([sr.name, "I18nT"].forEach((o) => e.component(o, sr)), [ir.name, "I18nN"].forEach((o) => e.component(o, ir)), [fr.name, "I18nD"].forEach((o) => e.component(o, fr))), e.directive("t", Vc(t));
|
|
5192
5192
|
}
|
|
5193
5193
|
const Bc = /* @__PURE__ */ we("global-vue-i18n");
|
|
5194
5194
|
function Gc(e = {}) {
|
|
@@ -5216,7 +5216,7 @@ function Gc(e = {}) {
|
|
|
5216
5216
|
f.__composerExtend = p.__composerExtend, f.__vueI18nExtend = p.__vueI18nExtend;
|
|
5217
5217
|
}
|
|
5218
5218
|
let g = null;
|
|
5219
|
-
!t && n && (g = Qc(u, f.global)), __VUE_I18N_FULL_INSTALL__ &&
|
|
5219
|
+
!t && n && (g = Qc(u, f.global)), __VUE_I18N_FULL_INSTALL__ && xc(u, f, ...d), __VUE_I18N_LEGACY_API__ && t && u.mixin(kc(o, o.__composer, f));
|
|
5220
5220
|
const T = u.unmount;
|
|
5221
5221
|
if (u.unmount = () => {
|
|
5222
5222
|
g && g(), f.dispose(), T();
|
|
@@ -5253,7 +5253,7 @@ function Gc(e = {}) {
|
|
|
5253
5253
|
return f;
|
|
5254
5254
|
}
|
|
5255
5255
|
function ya(e = {}) {
|
|
5256
|
-
const t =
|
|
5256
|
+
const t = Nt();
|
|
5257
5257
|
if (t == null)
|
|
5258
5258
|
throw he(Z.MUST_BE_CALL_SETUP_TOP);
|
|
5259
5259
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -5275,7 +5275,7 @@ function ya(e = {}) {
|
|
|
5275
5275
|
return l;
|
|
5276
5276
|
}
|
|
5277
5277
|
function $c(e, t) {
|
|
5278
|
-
const n =
|
|
5278
|
+
const n = Vo(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Zn(e)) : n.run(() => ba(e));
|
|
5279
5279
|
if (r == null)
|
|
5280
5280
|
throw he(Z.UNEXPECTED_ERROR);
|
|
5281
5281
|
return [n, r];
|
|
@@ -5391,8 +5391,8 @@ const Jc = /* @__PURE__ */ ta({
|
|
|
5391
5391
|
}), fr = Jc;
|
|
5392
5392
|
dc();
|
|
5393
5393
|
Ul(hl);
|
|
5394
|
-
|
|
5395
|
-
|
|
5394
|
+
Vl(kl);
|
|
5395
|
+
xl(so);
|
|
5396
5396
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
5397
5397
|
const e = Qe();
|
|
5398
5398
|
e.__INTLIFY__ = !0, gl(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -5563,7 +5563,7 @@ const Ge = Le("cloudSdkThemesStore", {
|
|
|
5563
5563
|
*/
|
|
5564
5564
|
SA_THEMES_SET(e) {
|
|
5565
5565
|
if (this.themesName = e || "light", !mr()) {
|
|
5566
|
-
__cc_isEEUiApp ?
|
|
5566
|
+
__cc_isEEUiApp ? Na.warning("仅Android设置支持主题功能") : Na.warning("仅客户端或Chrome浏览器支持主题功能");
|
|
5567
5567
|
return;
|
|
5568
5568
|
}
|
|
5569
5569
|
this.synchTheme(e);
|
|
@@ -5726,7 +5726,7 @@ const gr = {
|
|
|
5726
5726
|
};
|
|
5727
5727
|
function fu(e, t) {
|
|
5728
5728
|
e = parseInt(e);
|
|
5729
|
-
let n = "提示", r = "
|
|
5729
|
+
let n = "提示", r = "请检查网络或联系管理员";
|
|
5730
5730
|
return gr[e] && (n = gr[e]), pr[e] && (r = pr[e]), {
|
|
5731
5731
|
title: n,
|
|
5732
5732
|
status: e,
|
|
@@ -5921,16 +5921,13 @@ class _u {
|
|
|
5921
5921
|
if (o != "DOWNLOAD") if (o == "MOCK")
|
|
5922
5922
|
try {
|
|
5923
5923
|
let d = n.includes(".json") ? `${n}` : `${n}.json`, g = hr(d, this.baseMock + "/");
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5924
|
+
return await this.requestHandle.get(g, {
|
|
5925
|
+
baseURL: ""
|
|
5926
|
+
// 这里会覆盖全局配置,让 URL 基于当前页面域名拼接
|
|
5927
|
+
});
|
|
5928
5928
|
} catch (d) {
|
|
5929
5929
|
let g = d.message;
|
|
5930
|
-
g.includes("Unexpected token") && g.includes("is not valid JSON")
|
|
5931
|
-
code: 200,
|
|
5932
|
-
data: {}
|
|
5933
|
-
});
|
|
5930
|
+
g.includes("Unexpected token") && g.includes("is not valid JSON");
|
|
5934
5931
|
}
|
|
5935
5932
|
else
|
|
5936
5933
|
return ["GET", "POST", "PUT", "PATCH", "DELETE"].includes(o) ? this.requestHandle.request({
|
|
@@ -6229,7 +6226,7 @@ const ue = new Proxy(
|
|
|
6229
6226
|
function ea(e) {
|
|
6230
6227
|
return typeof e == "string" && e.trim() !== "" && e !== "undefined";
|
|
6231
6228
|
}
|
|
6232
|
-
const
|
|
6229
|
+
const Ve = "syCacheAppInfo", xe = "syCacheAppToken", yt = "syCacheAppJwt", ot = "syCacheAppRbac", Er = {
|
|
6233
6230
|
nickname: "",
|
|
6234
6231
|
staff_nickname: "",
|
|
6235
6232
|
id: 0,
|
|
@@ -6260,8 +6257,8 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6260
6257
|
// 权限
|
|
6261
6258
|
accountRbacData: [],
|
|
6262
6259
|
// 账号信息
|
|
6263
|
-
accountInfo: I.localGet(
|
|
6264
|
-
accountToken: I.localGet(
|
|
6260
|
+
accountInfo: I.localGet(Ve) || {},
|
|
6261
|
+
accountToken: I.localGet(xe) || "",
|
|
6265
6262
|
accountJwt: I.localGet(yt) || ""
|
|
6266
6263
|
}),
|
|
6267
6264
|
getters: {
|
|
@@ -6301,7 +6298,7 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6301
6298
|
I.localDel(ot), this.ACCOUNT_SET_PREV();
|
|
6302
6299
|
},
|
|
6303
6300
|
SA_ACCOUNT_IS_LOGGED() {
|
|
6304
|
-
return this.accountToken = I.localGet(
|
|
6301
|
+
return this.accountToken = I.localGet(xe) || "", !!ea(this.accountToken);
|
|
6305
6302
|
},
|
|
6306
6303
|
SA_ACCOUNT_JWT_GET() {
|
|
6307
6304
|
return this.accountJwt || "";
|
|
@@ -6311,7 +6308,7 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6311
6308
|
return this.accountToken || "";
|
|
6312
6309
|
},
|
|
6313
6310
|
SA_ACCOUNT_TOKEN_SET(e) {
|
|
6314
|
-
this.accountToken = e, I.localSet(
|
|
6311
|
+
this.accountToken = e, I.localSet(xe, this.accountToken);
|
|
6315
6312
|
},
|
|
6316
6313
|
SA_ACCOUNT_CHECK_EXPIRED(e) {
|
|
6317
6314
|
var r;
|
|
@@ -6324,7 +6321,7 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6324
6321
|
* @returns Object
|
|
6325
6322
|
*/
|
|
6326
6323
|
SA_ACCOUNT_INFO_GET() {
|
|
6327
|
-
return I.localGet(
|
|
6324
|
+
return I.localGet(Ve);
|
|
6328
6325
|
},
|
|
6329
6326
|
SA_ACCOUNT_INFO_REFRESH() {
|
|
6330
6327
|
return new Promise((e, t) => {
|
|
@@ -6346,28 +6343,28 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6346
6343
|
SA_ACCOUNT_INFO_SET(e) {
|
|
6347
6344
|
return new Promise(async (t) => {
|
|
6348
6345
|
const n = JSON.parse(JSON.stringify(e));
|
|
6349
|
-
this.accountInfo = this.SA_ACCOUNT_INFO_PARSE(n), this.accountToken = n.token_access, await I.idbSetItem(
|
|
6346
|
+
this.accountInfo = this.SA_ACCOUNT_INFO_PARSE(n), this.accountToken = n.token_access, await I.idbSetItem(Ve, n), I.localSet(Ve, this.accountInfo), t();
|
|
6350
6347
|
});
|
|
6351
6348
|
},
|
|
6352
6349
|
SA_ACCOUNT_GET_NICK() {
|
|
6353
6350
|
return this.account_nick;
|
|
6354
6351
|
},
|
|
6355
6352
|
SA_ACCOUNT_REFRESH() {
|
|
6356
|
-
this.accountInfo = I.localGet(
|
|
6353
|
+
this.accountInfo = I.localGet(Ve) || Er, this.accountToken = I.localGet(xe) || "", this.accountJwt = I.localGet(yt) || "", ue.setDefHeaders({
|
|
6357
6354
|
syOpenAppToken: this.accountToken || "",
|
|
6358
6355
|
Authorization: "Bearer " + this.accountJwt || ""
|
|
6359
6356
|
});
|
|
6360
6357
|
},
|
|
6361
6358
|
// 登录
|
|
6362
6359
|
async SA_ACCOUNT_SIGNIN(e) {
|
|
6363
|
-
e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(
|
|
6360
|
+
e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(Ve, e), I.localSet(xe, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(ot, ""), I.idbSave(xe, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Ct().QK_SEND_LOGIN_MSG();
|
|
6364
6361
|
},
|
|
6365
6362
|
/**
|
|
6366
6363
|
* 退出登录(打开登录页面)
|
|
6367
6364
|
* @param appendFrom
|
|
6368
6365
|
*/
|
|
6369
6366
|
async SA_ACCOUNT_LOGOUT(e) {
|
|
6370
|
-
this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(
|
|
6367
|
+
this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(Ve, ""), I.localSet(xe, ""), I.localSet(yt, ""), I.localSet(ot, ""), I.localDel(Ve), I.localDel(xe), I.localDel(yt), I.localDel(ot), this.SA_ACCOUNT_REFRESH(), Ct().QK_SEND_LOGOUT_MSG();
|
|
6371
6368
|
},
|
|
6372
6369
|
/**
|
|
6373
6370
|
* @param {Boolean} isForce 是否强制刷新
|
|
@@ -6625,7 +6622,7 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6625
6622
|
isAlone: !0,
|
|
6626
6623
|
name: "login",
|
|
6627
6624
|
path: "/login",
|
|
6628
|
-
component: () => import("./login-
|
|
6625
|
+
component: () => import("./login-CLxZ-SbY.js")
|
|
6629
6626
|
}
|
|
6630
6627
|
], Au = [
|
|
6631
6628
|
{
|
|
@@ -6633,22 +6630,22 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6633
6630
|
isAlone: !0,
|
|
6634
6631
|
name: "alone_run",
|
|
6635
6632
|
path: "/alone_run",
|
|
6636
|
-
component: () => import("./alone_run-
|
|
6633
|
+
component: () => import("./alone_run-DM0g1Rfb.js")
|
|
6637
6634
|
},
|
|
6638
6635
|
{
|
|
6639
6636
|
meta: { title: "错误", isAlone: !0 },
|
|
6640
6637
|
isAlone: !0,
|
|
6641
6638
|
name: "404",
|
|
6642
6639
|
path: "/:catchAll(.*)",
|
|
6643
|
-
component: () => import("./404-
|
|
6640
|
+
component: () => import("./404-B9GU-b7N.js")
|
|
6644
6641
|
}
|
|
6645
|
-
],
|
|
6642
|
+
], Nu = [
|
|
6646
6643
|
{
|
|
6647
6644
|
meta: { title: "空页面", isAlone: !1 },
|
|
6648
6645
|
isAlone: !1,
|
|
6649
6646
|
name: "none",
|
|
6650
6647
|
path: "/none",
|
|
6651
|
-
component: () => import("./none-
|
|
6648
|
+
component: () => import("./none-CaMalHPX.js")
|
|
6652
6649
|
}
|
|
6653
6650
|
], on = Le("cloudSdkPermissionStore", {
|
|
6654
6651
|
state: () => ({
|
|
@@ -6679,7 +6676,7 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6679
6676
|
* @param {*} router
|
|
6680
6677
|
*/
|
|
6681
6678
|
SA_PERMS_ROUTER_ADD(e, t) {
|
|
6682
|
-
t = t || "", t != "console_passport" && e.addRoute(...Tu), e.addRoute(...Au), e.addRoute(...
|
|
6679
|
+
t = t || "", t != "console_passport" && e.addRoute(...Tu), e.addRoute(...Au), e.addRoute(...Nu);
|
|
6683
6680
|
},
|
|
6684
6681
|
/**
|
|
6685
6682
|
* 验证路由
|
|
@@ -6699,7 +6696,7 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6699
6696
|
"org-agent": "代理商平台",
|
|
6700
6697
|
"org-super": "超管平台"
|
|
6701
6698
|
};
|
|
6702
|
-
async function
|
|
6699
|
+
async function Cu(e) {
|
|
6703
6700
|
try {
|
|
6704
6701
|
let t = document.querySelector("link[rel*='icon']");
|
|
6705
6702
|
t || (t = document.createElement("link"), t.rel = "shortcut icon", document.head.appendChild(t)), t.href = e, t.type = "image/x-icon";
|
|
@@ -6732,7 +6729,7 @@ const Ou = Le("cloudSdkApplicationStore", {
|
|
|
6732
6729
|
openCaseInfo: (e) => {
|
|
6733
6730
|
let t = window.shiyunProductInfo || {}, n = Jt(), r = an().systemConfig || {}, a = n.syAppConnectRole, o = Object.assign({}, e.defaultCaseInfo, t), s = n.syProductTitle || "ShiyunProduct", l = Ar[a] ? Ar[a] : "管理系统", i = s;
|
|
6734
6731
|
const c = r.PLAT_BRAND || (o == null ? void 0 : o.PLAT_BRAND), f = r.PLAT_LOGO_CDN || o.PLAT_LOGO_CDN;
|
|
6735
|
-
f &&
|
|
6732
|
+
f && Cu(f);
|
|
6736
6733
|
const u = l || "十云";
|
|
6737
6734
|
let d = "";
|
|
6738
6735
|
return a == "org-business" && (d = r.BIZS_LOGIN_BG || o.platinfo_login_bg), {
|
|
@@ -6761,7 +6758,7 @@ function Iu() {
|
|
|
6761
6758
|
function Lu() {
|
|
6762
6759
|
return {
|
|
6763
6760
|
computed: {
|
|
6764
|
-
...Re(
|
|
6761
|
+
...Re(Ct, ["qiankunExistState"]),
|
|
6765
6762
|
...Re(Ft, ["languageName", "languageList", "languageSelect"]),
|
|
6766
6763
|
...Re(Ge, ["themesName", "themesList", "layoutNavTabs", "layoutSidebarState"]),
|
|
6767
6764
|
...Re(Ro, [
|
|
@@ -6863,18 +6860,18 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6863
6860
|
size: "450px",
|
|
6864
6861
|
"before-close": o.frameTopSysSettClose
|
|
6865
6862
|
}, {
|
|
6866
|
-
default:
|
|
6863
|
+
default: C(() => [
|
|
6867
6864
|
D("div", Du, [
|
|
6868
6865
|
S(g, {
|
|
6869
6866
|
labelWidth: "auto",
|
|
6870
6867
|
"label-position": "left"
|
|
6871
6868
|
}, {
|
|
6872
|
-
default:
|
|
6869
|
+
default: C(() => [
|
|
6873
6870
|
S(l, {
|
|
6874
6871
|
label: "风格",
|
|
6875
6872
|
"label-position": "top"
|
|
6876
6873
|
}, {
|
|
6877
|
-
default:
|
|
6874
|
+
default: C(() => [
|
|
6878
6875
|
D("div", ku, [
|
|
6879
6876
|
S(s),
|
|
6880
6877
|
S(s),
|
|
@@ -6884,21 +6881,21 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6884
6881
|
_: 1
|
|
6885
6882
|
}),
|
|
6886
6883
|
S(l, { label: "主题" }, {
|
|
6887
|
-
default:
|
|
6884
|
+
default: C(() => [
|
|
6888
6885
|
S(c, {
|
|
6889
6886
|
modelValue: a.frameSysTheme,
|
|
6890
6887
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => a.frameSysTheme = p),
|
|
6891
6888
|
placeholder: e.$t("选项主题"),
|
|
6892
6889
|
style: { width: "150px" }
|
|
6893
6890
|
}, {
|
|
6894
|
-
default:
|
|
6895
|
-
(F(!0), W(le, null,
|
|
6891
|
+
default: C(() => [
|
|
6892
|
+
(F(!0), W(le, null, Ne(e.themesList, (p, w) => (F(), $(i, {
|
|
6896
6893
|
label: e.$t(p.name),
|
|
6897
6894
|
value: p.value,
|
|
6898
6895
|
key: w
|
|
6899
6896
|
}, {
|
|
6900
|
-
default:
|
|
6901
|
-
|
|
6897
|
+
default: C(() => [
|
|
6898
|
+
x(z(e.$t(p.name)), 1)
|
|
6902
6899
|
]),
|
|
6903
6900
|
_: 2
|
|
6904
6901
|
}, 1032, ["label", "value"]))), 128))
|
|
@@ -6909,13 +6906,13 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6909
6906
|
_: 1
|
|
6910
6907
|
}),
|
|
6911
6908
|
S(l, { label: "暗黑模式" }, {
|
|
6912
|
-
default:
|
|
6909
|
+
default: C(() => [
|
|
6913
6910
|
a.frameSysTheme == "light" ? (F(), $(u, {
|
|
6914
6911
|
key: 0,
|
|
6915
6912
|
onClick: t[1] || (t[1] = (p) => a.frameSysTheme = "dark"),
|
|
6916
6913
|
class: "light-switch"
|
|
6917
6914
|
}, {
|
|
6918
|
-
default:
|
|
6915
|
+
default: C(() => [
|
|
6919
6916
|
S(f, { type: "cvSvgViewModeDark" })
|
|
6920
6917
|
]),
|
|
6921
6918
|
_: 1
|
|
@@ -6925,7 +6922,7 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6925
6922
|
onClick: t[2] || (t[2] = (p) => a.frameSysTheme = "light"),
|
|
6926
6923
|
class: "dark-switch"
|
|
6927
6924
|
}, {
|
|
6928
|
-
default:
|
|
6925
|
+
default: C(() => [
|
|
6929
6926
|
S(f, { type: "cvSvgViewModeLight" })
|
|
6930
6927
|
]),
|
|
6931
6928
|
_: 1
|
|
@@ -6934,7 +6931,7 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6934
6931
|
_: 1
|
|
6935
6932
|
}),
|
|
6936
6933
|
S(l, { label: "侧栏显示" }, {
|
|
6937
|
-
default:
|
|
6934
|
+
default: C(() => [
|
|
6938
6935
|
S(d, {
|
|
6939
6936
|
modelValue: a.frameSidebarState,
|
|
6940
6937
|
"onUpdate:modelValue": t[3] || (t[3] = (p) => a.frameSidebarState = p),
|
|
@@ -6947,7 +6944,7 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6947
6944
|
_: 1
|
|
6948
6945
|
}),
|
|
6949
6946
|
S(l, { label: "导航标签栏" }, {
|
|
6950
|
-
default:
|
|
6947
|
+
default: C(() => [
|
|
6951
6948
|
S(d, {
|
|
6952
6949
|
modelValue: a.frameSysNavTabs,
|
|
6953
6950
|
"onUpdate:modelValue": t[4] || (t[4] = (p) => a.frameSysNavTabs = p),
|
|
@@ -6960,20 +6957,20 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6960
6957
|
_: 1
|
|
6961
6958
|
}),
|
|
6962
6959
|
S(l, { label: "语言" }, {
|
|
6963
|
-
default:
|
|
6960
|
+
default: C(() => [
|
|
6964
6961
|
S(c, {
|
|
6965
6962
|
modelValue: a.frameSysLanguage,
|
|
6966
6963
|
"onUpdate:modelValue": t[5] || (t[5] = (p) => a.frameSysLanguage = p),
|
|
6967
6964
|
placeholder: e.$t("选项语言"),
|
|
6968
6965
|
style: { width: "150px" }
|
|
6969
6966
|
}, {
|
|
6970
|
-
default:
|
|
6971
|
-
(F(!0), W(le, null,
|
|
6967
|
+
default: C(() => [
|
|
6968
|
+
(F(!0), W(le, null, Ne(e.languageSelect, (p, w) => (F(), $(i, {
|
|
6972
6969
|
label: p.label,
|
|
6973
6970
|
value: p.value
|
|
6974
6971
|
}, {
|
|
6975
|
-
default:
|
|
6976
|
-
|
|
6972
|
+
default: C(() => [
|
|
6973
|
+
x(z(p.label), 1)
|
|
6977
6974
|
]),
|
|
6978
6975
|
_: 2
|
|
6979
6976
|
}, 1032, ["label", "value"]))), 256))
|
|
@@ -6984,10 +6981,10 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6984
6981
|
_: 1
|
|
6985
6982
|
}),
|
|
6986
6983
|
S(l, { label: "版本" }, {
|
|
6987
|
-
default:
|
|
6984
|
+
default: C(() => [
|
|
6988
6985
|
S(u, { onClick: o.frameUpdateVersion }, {
|
|
6989
|
-
default:
|
|
6990
|
-
|
|
6986
|
+
default: C(() => [
|
|
6987
|
+
x(z(e.$t("更新版本")), 1)
|
|
6991
6988
|
]),
|
|
6992
6989
|
_: 1
|
|
6993
6990
|
}, 8, ["onClick"])
|
|
@@ -6995,10 +6992,10 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6995
6992
|
_: 1
|
|
6996
6993
|
}),
|
|
6997
6994
|
S(l, { label: "缓存" }, {
|
|
6998
|
-
default:
|
|
6995
|
+
default: C(() => [
|
|
6999
6996
|
S(u, { onClick: o.frameClearCache }, {
|
|
7000
|
-
default:
|
|
7001
|
-
|
|
6997
|
+
default: C(() => [
|
|
6998
|
+
x(z(e.$t("清除缓存")), 1)
|
|
7002
6999
|
]),
|
|
7003
7000
|
_: 1
|
|
7004
7001
|
}, 8, ["onClick"])
|
|
@@ -7038,13 +7035,13 @@ const Pu = /* @__PURE__ */ ge(wu, [["render", Ru]]), Fu = {
|
|
|
7038
7035
|
function Mu(e, t, n, r, a, o) {
|
|
7039
7036
|
const s = L("router-view");
|
|
7040
7037
|
return F(), $(s, { key: a.routeRefreshNum }, {
|
|
7041
|
-
default:
|
|
7038
|
+
default: C(({ Component: l, route: i }) => [
|
|
7042
7039
|
S(Ko, {
|
|
7043
7040
|
name: a.routeRefreshAnimation,
|
|
7044
7041
|
mode: "out-in",
|
|
7045
7042
|
appear: ""
|
|
7046
7043
|
}, {
|
|
7047
|
-
default:
|
|
7044
|
+
default: C(() => [
|
|
7048
7045
|
(F(), W("div", {
|
|
7049
7046
|
class: Kt(n.className),
|
|
7050
7047
|
key: i.path
|
|
@@ -7058,7 +7055,7 @@ function Mu(e, t, n, r, a, o) {
|
|
|
7058
7055
|
_: 1
|
|
7059
7056
|
});
|
|
7060
7057
|
}
|
|
7061
|
-
const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]),
|
|
7058
|
+
const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]), Nr = (e) => Math.pow(e, 3), Vu = (e) => e < 0.5 ? Nr(e * 2) / 2 : 1 - Nr((1 - e) * 2) / 2, xu = {
|
|
7062
7059
|
name: "SameNavTabs",
|
|
7063
7060
|
data() {
|
|
7064
7061
|
return {
|
|
@@ -7108,7 +7105,7 @@ const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]), Cr = (e) => Math.pow(e, 3),
|
|
|
7108
7105
|
changeGdtBase() {
|
|
7109
7106
|
const e = this.$refs.navScroll1.wrap, t = Date.now(), n = e.scrollLeft, r = window.requestAnimationFrame || ((o) => setTimeout(o, 16)), a = () => {
|
|
7110
7107
|
const o = (Date.now() - t) / 500;
|
|
7111
|
-
o < 1 ? (e.scrollLeft = n * (1 -
|
|
7108
|
+
o < 1 ? (e.scrollLeft = n * (1 - Vu(o)), r(a)) : e.scrollLeft = 0;
|
|
7112
7109
|
};
|
|
7113
7110
|
r(a);
|
|
7114
7111
|
},
|
|
@@ -7189,16 +7186,16 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7189
7186
|
class: "btn-opt-left",
|
|
7190
7187
|
onClick: o.changeGdtLeft
|
|
7191
7188
|
}, {
|
|
7192
|
-
default:
|
|
7189
|
+
default: C(() => [
|
|
7193
7190
|
S(s, { type: "ElIconArrowLeft" })
|
|
7194
7191
|
]),
|
|
7195
7192
|
_: 1
|
|
7196
7193
|
}, 8, ["onClick"]),
|
|
7197
7194
|
D("div", $u, [
|
|
7198
7195
|
S(c, { ref: "navScroll1" }, {
|
|
7199
|
-
default:
|
|
7196
|
+
default: C(() => [
|
|
7200
7197
|
D("div", Wu, [
|
|
7201
|
-
(F(!0), W(le, null,
|
|
7198
|
+
(F(!0), W(le, null, Ne(a.sett_tags, (u, d) => (F(), $(i, {
|
|
7202
7199
|
id: a.activeTag == u.name ? "tagId" : "",
|
|
7203
7200
|
class: Kt(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
|
|
7204
7201
|
key: u.name,
|
|
@@ -7208,8 +7205,8 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7208
7205
|
"disable-transitions": "",
|
|
7209
7206
|
onContextmenu: qo(o.openContextMenu, ["prevent"])
|
|
7210
7207
|
}, {
|
|
7211
|
-
default:
|
|
7212
|
-
|
|
7208
|
+
default: C(() => [
|
|
7209
|
+
x(z(u.title), 1)
|
|
7213
7210
|
]),
|
|
7214
7211
|
_: 2
|
|
7215
7212
|
}, 1032, ["id", "class", "closable", "onClose", "onClick", "onContextmenu"]))), 128))
|
|
@@ -7222,14 +7219,14 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7222
7219
|
class: "btn-opt-right",
|
|
7223
7220
|
onClick: o.changeGdtRight
|
|
7224
7221
|
}, {
|
|
7225
|
-
default:
|
|
7222
|
+
default: C(() => [
|
|
7226
7223
|
S(s, { type: "ElIconArrowRight" })
|
|
7227
7224
|
]),
|
|
7228
7225
|
_: 1
|
|
7229
7226
|
}, 8, ["onClick"]),
|
|
7230
7227
|
S(l, { class: "btn-opt-close" }, {
|
|
7231
|
-
default:
|
|
7232
|
-
t[5] || (t[5] =
|
|
7228
|
+
default: C(() => [
|
|
7229
|
+
t[5] || (t[5] = x(" 关闭操作 ", -1)),
|
|
7233
7230
|
S(s, { type: "ElIconCaretBottom" })
|
|
7234
7231
|
]),
|
|
7235
7232
|
_: 1
|
|
@@ -7245,8 +7242,8 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7245
7242
|
S(f, {
|
|
7246
7243
|
onClick: t[0] || (t[0] = (u) => o.curTabReload())
|
|
7247
7244
|
}, {
|
|
7248
|
-
default:
|
|
7249
|
-
|
|
7245
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
7246
|
+
x("重新加载", -1)
|
|
7250
7247
|
])]),
|
|
7251
7248
|
_: 1
|
|
7252
7249
|
})
|
|
@@ -7255,8 +7252,8 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7255
7252
|
S(f, {
|
|
7256
7253
|
onClick: t[1] || (t[1] = (u) => o.closeAllTabs())
|
|
7257
7254
|
}, {
|
|
7258
|
-
default:
|
|
7259
|
-
|
|
7255
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
7256
|
+
x("关闭所有", -1)
|
|
7260
7257
|
])]),
|
|
7261
7258
|
_: 1
|
|
7262
7259
|
})
|
|
@@ -7266,8 +7263,8 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7266
7263
|
onClick: t[2] || (t[2] = (u) => o.closeOtherTabs("left")),
|
|
7267
7264
|
disabled: a.isDisabledCloseLeftBtnFlag
|
|
7268
7265
|
}, {
|
|
7269
|
-
default:
|
|
7270
|
-
|
|
7266
|
+
default: C(() => [...t[8] || (t[8] = [
|
|
7267
|
+
x("关闭左边", -1)
|
|
7271
7268
|
])]),
|
|
7272
7269
|
_: 1
|
|
7273
7270
|
}, 8, ["disabled"])
|
|
@@ -7277,8 +7274,8 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7277
7274
|
onClick: t[3] || (t[3] = (u) => o.closeOtherTabs("right")),
|
|
7278
7275
|
disabled: a.isDisabledCloseRightBtnFlag
|
|
7279
7276
|
}, {
|
|
7280
|
-
default:
|
|
7281
|
-
|
|
7277
|
+
default: C(() => [...t[9] || (t[9] = [
|
|
7278
|
+
x("关闭右边", -1)
|
|
7282
7279
|
])]),
|
|
7283
7280
|
_: 1
|
|
7284
7281
|
}, 8, ["disabled"])
|
|
@@ -7287,8 +7284,8 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7287
7284
|
S(f, {
|
|
7288
7285
|
onClick: t[4] || (t[4] = (u) => o.closeOtherTabs("other"))
|
|
7289
7286
|
}, {
|
|
7290
|
-
default:
|
|
7291
|
-
|
|
7287
|
+
default: C(() => [...t[10] || (t[10] = [
|
|
7288
|
+
x("关闭其他", -1)
|
|
7292
7289
|
])]),
|
|
7293
7290
|
_: 1
|
|
7294
7291
|
})
|
|
@@ -7300,7 +7297,7 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7300
7297
|
])
|
|
7301
7298
|
]);
|
|
7302
7299
|
}
|
|
7303
|
-
const Hu = /* @__PURE__ */ ge(
|
|
7300
|
+
const Hu = /* @__PURE__ */ ge(xu, [["render", Yu]]), Ku = {
|
|
7304
7301
|
name: "SidebarMenuItem",
|
|
7305
7302
|
props: {
|
|
7306
7303
|
menuData: {
|
|
@@ -7354,13 +7351,13 @@ const Hu = /* @__PURE__ */ ge(Vu, [["render", Yu]]), Ku = {
|
|
|
7354
7351
|
};
|
|
7355
7352
|
function Ju(e, t, n, r, a, o) {
|
|
7356
7353
|
const s = L("cv-icons"), l = L("SidebarMenuItem", !0), i = L("el-sub-menu"), c = L("cv-badge"), f = L("el-menu-item");
|
|
7357
|
-
return F(!0), W(le, null,
|
|
7354
|
+
return F(!0), W(le, null, Ne(n.menuData, (u) => (F(), W(le, null, [
|
|
7358
7355
|
u.isMenu == !0 ? (F(), W(le, { key: 0 }, [
|
|
7359
7356
|
u.children && u.children.length > 0 && u.children_menu_num > 0 ? (F(), $(i, {
|
|
7360
7357
|
key: u.name,
|
|
7361
7358
|
index: u.name
|
|
7362
7359
|
}, {
|
|
7363
|
-
title:
|
|
7360
|
+
title: C(() => [
|
|
7364
7361
|
D("div", ju, [
|
|
7365
7362
|
u.meta.icon ? (F(), $(s, {
|
|
7366
7363
|
key: 0,
|
|
@@ -7371,7 +7368,7 @@ function Ju(e, t, n, r, a, o) {
|
|
|
7371
7368
|
]),
|
|
7372
7369
|
D("span", null, z(u.meta.title || u.meta.short), 1)
|
|
7373
7370
|
]),
|
|
7374
|
-
default:
|
|
7371
|
+
default: C(() => [
|
|
7375
7372
|
S(l, {
|
|
7376
7373
|
appData: n.appData,
|
|
7377
7374
|
menuData: u.children,
|
|
@@ -7385,10 +7382,10 @@ function Ju(e, t, n, r, a, o) {
|
|
|
7385
7382
|
key: "b" + u.name,
|
|
7386
7383
|
onClick: (d) => o.handleOpenMenu(u)
|
|
7387
7384
|
}, {
|
|
7388
|
-
title:
|
|
7389
|
-
|
|
7385
|
+
title: C(() => [
|
|
7386
|
+
x(z(u.meta.short || u.meta.title), 1)
|
|
7390
7387
|
]),
|
|
7391
|
-
default:
|
|
7388
|
+
default: C(() => [
|
|
7392
7389
|
!u.meta.icon && n.collapse && !n.isChildren ? (F(), W("div", Xu, z(u.meta.short || u.meta.title), 1)) : (F(), W("div", Qu, [
|
|
7393
7390
|
u.meta.icon ? (F(), $(s, {
|
|
7394
7391
|
key: 0,
|
|
@@ -7469,7 +7466,7 @@ function af(e, t, n, r, a, o) {
|
|
|
7469
7466
|
onOpen: o.handleOpen,
|
|
7470
7467
|
onClose: o.handleClose
|
|
7471
7468
|
}, {
|
|
7472
|
-
default:
|
|
7469
|
+
default: C(() => [
|
|
7473
7470
|
S(s, {
|
|
7474
7471
|
appData: e.openCaseInfo,
|
|
7475
7472
|
menuData: a.menuCurrList,
|
|
@@ -7552,11 +7549,11 @@ function lf(e, t, n, r, a, o) {
|
|
|
7552
7549
|
"close-on-press-escape": !1,
|
|
7553
7550
|
onClose: o.handleCancel
|
|
7554
7551
|
}, {
|
|
7555
|
-
footer:
|
|
7552
|
+
footer: C(() => [
|
|
7556
7553
|
D("div", sf, [
|
|
7557
7554
|
S(c, { onClick: o.handleCancel }, {
|
|
7558
|
-
default:
|
|
7559
|
-
|
|
7555
|
+
default: C(() => [...t[4] || (t[4] = [
|
|
7556
|
+
x("取 消", -1)
|
|
7560
7557
|
])]),
|
|
7561
7558
|
_: 1
|
|
7562
7559
|
}, 8, ["onClick"]),
|
|
@@ -7564,24 +7561,24 @@ function lf(e, t, n, r, a, o) {
|
|
|
7564
7561
|
type: "primary",
|
|
7565
7562
|
onClick: o.handleBeforeOk
|
|
7566
7563
|
}, {
|
|
7567
|
-
default:
|
|
7568
|
-
|
|
7564
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
7565
|
+
x("确 定", -1)
|
|
7569
7566
|
])]),
|
|
7570
7567
|
_: 1
|
|
7571
7568
|
}, 8, ["onClick"])
|
|
7572
7569
|
])
|
|
7573
7570
|
]),
|
|
7574
|
-
default:
|
|
7571
|
+
default: C(() => [
|
|
7575
7572
|
S(i, {
|
|
7576
7573
|
model: a.formData,
|
|
7577
7574
|
"label-width": "auto"
|
|
7578
7575
|
}, {
|
|
7579
|
-
default:
|
|
7576
|
+
default: C(() => [
|
|
7580
7577
|
S(l, {
|
|
7581
7578
|
prop: "old_pwd",
|
|
7582
7579
|
label: "原密码"
|
|
7583
7580
|
}, {
|
|
7584
|
-
default:
|
|
7581
|
+
default: C(() => [
|
|
7585
7582
|
S(s, {
|
|
7586
7583
|
type: "password",
|
|
7587
7584
|
"show-password": "",
|
|
@@ -7595,7 +7592,7 @@ function lf(e, t, n, r, a, o) {
|
|
|
7595
7592
|
prop: "new_pwd1",
|
|
7596
7593
|
label: "新密码"
|
|
7597
7594
|
}, {
|
|
7598
|
-
default:
|
|
7595
|
+
default: C(() => [
|
|
7599
7596
|
S(s, {
|
|
7600
7597
|
type: "password",
|
|
7601
7598
|
"show-password": "",
|
|
@@ -7609,7 +7606,7 @@ function lf(e, t, n, r, a, o) {
|
|
|
7609
7606
|
prop: "new_pwd2",
|
|
7610
7607
|
label: "确认密码"
|
|
7611
7608
|
}, {
|
|
7612
|
-
default:
|
|
7609
|
+
default: C(() => [
|
|
7613
7610
|
S(s, {
|
|
7614
7611
|
type: "password",
|
|
7615
7612
|
"show-password": "",
|
|
@@ -7714,8 +7711,8 @@ const cf = /* @__PURE__ */ ge(of, [["render", lf]]), uf = {
|
|
|
7714
7711
|
// return segs
|
|
7715
7712
|
// }
|
|
7716
7713
|
}
|
|
7717
|
-
}, ff = { class: "cloud-login-change-wrap" }, _f = { class: "cloud-login-change-box1" }, df = { class: "cloud-login-change-search" }, mf = { class: "cloud-login-change-box2" }, hf = { class: "cloud-login-change-group-box" }, gf = { class: "cloud-login-change-group-title" }, pf = { class: "cloud-login-change-group-sublist" }, Ef = ["onClick"], bf = { class: "cloud-login-change-item-left" }, Sf = { class: "cloud-login-change-item-left-icon" }, vf = ["src"], yf = { class: "cloud-login-change-item-right" }, Tf = { class: "cloud-login-change-item-right-label" }, Af = { class: "cloud-login-change-item-right-label2" },
|
|
7718
|
-
function
|
|
7714
|
+
}, ff = { class: "cloud-login-change-wrap" }, _f = { class: "cloud-login-change-box1" }, df = { class: "cloud-login-change-search" }, mf = { class: "cloud-login-change-box2" }, hf = { class: "cloud-login-change-group-box" }, gf = { class: "cloud-login-change-group-title" }, pf = { class: "cloud-login-change-group-sublist" }, Ef = ["onClick"], bf = { class: "cloud-login-change-item-left" }, Sf = { class: "cloud-login-change-item-left-icon" }, vf = ["src"], yf = { class: "cloud-login-change-item-right" }, Tf = { class: "cloud-login-change-item-right-label" }, Af = { class: "cloud-login-change-item-right-label2" }, Nf = { class: "cloud-login-change-item-more" };
|
|
7715
|
+
function Cf(e, t, n, r, a, o) {
|
|
7719
7716
|
const s = L("el-input"), l = L("el-button"), i = L("cv-icons");
|
|
7720
7717
|
return F(), W("div", ff, [
|
|
7721
7718
|
D("div", _f, [
|
|
@@ -7746,21 +7743,21 @@ function Nf(e, t, n, r, a, o) {
|
|
|
7746
7743
|
size: "large",
|
|
7747
7744
|
onClick: o.handleSearch
|
|
7748
7745
|
}, {
|
|
7749
|
-
default:
|
|
7750
|
-
|
|
7746
|
+
default: C(() => [...t[3] || (t[3] = [
|
|
7747
|
+
x("搜索", -1)
|
|
7751
7748
|
])]),
|
|
7752
7749
|
_: 1
|
|
7753
7750
|
}, 8, ["onClick"])
|
|
7754
7751
|
]),
|
|
7755
7752
|
D("div", mf, [
|
|
7756
7753
|
D("div", hf, [
|
|
7757
|
-
(F(!0), W(le, null,
|
|
7754
|
+
(F(!0), W(le, null, Ne(a.chainLastList, (c, f) => (F(), W("div", {
|
|
7758
7755
|
class: "cloud-login-change-group-item",
|
|
7759
7756
|
key: f
|
|
7760
7757
|
}, [
|
|
7761
7758
|
D("div", gf, z(c.title || "无") + "(" + z(c.total) + ")", 1),
|
|
7762
7759
|
D("div", pf, [
|
|
7763
|
-
(F(!0), W(le, null,
|
|
7760
|
+
(F(!0), W(le, null, Ne(c.list, (u, d) => (F(), W("div", {
|
|
7764
7761
|
class: "cloud-login-change-item-bao",
|
|
7765
7762
|
key: d,
|
|
7766
7763
|
onClick: (g) => o.chainSelection(u)
|
|
@@ -7776,7 +7773,7 @@ function Nf(e, t, n, r, a, o) {
|
|
|
7776
7773
|
D("div", Tf, z(u.business_name), 1),
|
|
7777
7774
|
D("div", Af, "【" + z(u.acc_rules_type_str) + "】", 1)
|
|
7778
7775
|
]),
|
|
7779
|
-
D("div",
|
|
7776
|
+
D("div", Nf, [
|
|
7780
7777
|
S(i, { type: "ElIconArrowRight" })
|
|
7781
7778
|
])
|
|
7782
7779
|
], 8, Ef))), 128))
|
|
@@ -7787,7 +7784,7 @@ function Nf(e, t, n, r, a, o) {
|
|
|
7787
7784
|
])
|
|
7788
7785
|
]);
|
|
7789
7786
|
}
|
|
7790
|
-
const Of = /* @__PURE__ */ ge(uf, [["render",
|
|
7787
|
+
const Of = /* @__PURE__ */ ge(uf, [["render", Cf]]), If = {
|
|
7791
7788
|
name: "SameFrame",
|
|
7792
7789
|
components: {
|
|
7793
7790
|
SidebarMenuBox: rf,
|
|
@@ -7944,7 +7941,7 @@ const Of = /* @__PURE__ */ ge(uf, [["render", Nf]]), If = {
|
|
|
7944
7941
|
}, Uf = {
|
|
7945
7942
|
key: 0,
|
|
7946
7943
|
class: "chopt-num"
|
|
7947
|
-
},
|
|
7944
|
+
}, Vf = { class: "cloud-header__info" }, xf = ["src"], Bf = { class: "chinfo-infoname" }, Gf = { class: "chinfo-infobname" }, $f = { class: "chinfo-infouname" }, Wf = { class: "cloud-sidebar__wrap" }, Yf = { class: "cloud-pages__wrap" };
|
|
7948
7945
|
function Hf(e, t, n, r, a, o) {
|
|
7949
7946
|
const s = L("cv-icons"), l = L("el-breadcrumb-item"), i = L("el-breadcrumb"), c = L("el-dropdown-item"), f = L("el-dropdown-menu"), u = L("el-dropdown"), d = L("SidebarMenuBox"), g = L("SameNavTabs"), T = L("SameRouteView"), p = L("HeaderSysSettDrawer"), w = L("ChangePassword"), m = L("SwitchBusiness");
|
|
7950
7947
|
return F(), W("div", Lf, [
|
|
@@ -7985,22 +7982,22 @@ function Hf(e, t, n, r, a, o) {
|
|
|
7985
7982
|
]),
|
|
7986
7983
|
D("div", Ff, [
|
|
7987
7984
|
S(i, { separator: "/" }, {
|
|
7988
|
-
default:
|
|
7989
|
-
(F(!0), W(le, null,
|
|
7985
|
+
default: C(() => [
|
|
7986
|
+
(F(!0), W(le, null, Ne(a.breadcrumbPath, (E, b) => (F(), W(le, null, [
|
|
7990
7987
|
b == a.breadcrumbPath.length - 1 || !E.path || E.path == "" ? (F(), $(l, {
|
|
7991
7988
|
key: b,
|
|
7992
7989
|
class: "no-redirect"
|
|
7993
7990
|
}, {
|
|
7994
|
-
default:
|
|
7995
|
-
|
|
7991
|
+
default: C(() => [
|
|
7992
|
+
x(z(E.title), 1)
|
|
7996
7993
|
]),
|
|
7997
7994
|
_: 2
|
|
7998
7995
|
}, 1024)) : (F(), $(l, {
|
|
7999
7996
|
key: "b" + b,
|
|
8000
7997
|
to: { path: E.path }
|
|
8001
7998
|
}, {
|
|
8002
|
-
default:
|
|
8003
|
-
|
|
7999
|
+
default: C(() => [
|
|
8000
|
+
x(z(E.title), 1)
|
|
8004
8001
|
]),
|
|
8005
8002
|
_: 2
|
|
8006
8003
|
}, 1032, ["to"]))
|
|
@@ -8030,31 +8027,31 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8030
8027
|
}),
|
|
8031
8028
|
a.emailUnreadTotal > 0 ? (F(), W("em", Uf, z(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : te("", !0)
|
|
8032
8029
|
]),
|
|
8033
|
-
D("div",
|
|
8030
|
+
D("div", Vf, [
|
|
8034
8031
|
S(u, {
|
|
8035
8032
|
onCommand: o.frameHandleCommand,
|
|
8036
8033
|
"popper-class": "cloud-header__info_dropdown"
|
|
8037
8034
|
}, {
|
|
8038
|
-
dropdown:
|
|
8035
|
+
dropdown: C(() => [
|
|
8039
8036
|
S(f, null, {
|
|
8040
|
-
default:
|
|
8037
|
+
default: C(() => [
|
|
8041
8038
|
S(c, { command: "account_change" }, {
|
|
8042
|
-
default:
|
|
8039
|
+
default: C(() => [
|
|
8043
8040
|
S(s, {
|
|
8044
8041
|
type: "cvSvgPeopleSwitch",
|
|
8045
8042
|
size: "15"
|
|
8046
8043
|
}),
|
|
8047
|
-
t[9] || (t[9] =
|
|
8044
|
+
t[9] || (t[9] = x(" 切换账号 ", -1))
|
|
8048
8045
|
]),
|
|
8049
8046
|
_: 1
|
|
8050
8047
|
}),
|
|
8051
8048
|
S(c, { command: "account_chgpwd" }, {
|
|
8052
|
-
default:
|
|
8049
|
+
default: C(() => [
|
|
8053
8050
|
S(s, {
|
|
8054
8051
|
type: "cvSvgBaseLockOff",
|
|
8055
8052
|
size: "15"
|
|
8056
8053
|
}),
|
|
8057
|
-
t[10] || (t[10] =
|
|
8054
|
+
t[10] || (t[10] = x(" 修改密码 ", -1))
|
|
8058
8055
|
]),
|
|
8059
8056
|
_: 1
|
|
8060
8057
|
}),
|
|
@@ -8062,22 +8059,22 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8062
8059
|
command: "clearCache",
|
|
8063
8060
|
divided: ""
|
|
8064
8061
|
}, {
|
|
8065
|
-
default:
|
|
8062
|
+
default: C(() => [
|
|
8066
8063
|
S(s, {
|
|
8067
8064
|
type: "ElIconDelete",
|
|
8068
8065
|
size: "15"
|
|
8069
8066
|
}),
|
|
8070
|
-
t[11] || (t[11] =
|
|
8067
|
+
t[11] || (t[11] = x(" 清除缓存 ", -1))
|
|
8071
8068
|
]),
|
|
8072
8069
|
_: 1
|
|
8073
8070
|
}),
|
|
8074
8071
|
S(c, { command: "logout" }, {
|
|
8075
|
-
default:
|
|
8072
|
+
default: C(() => [
|
|
8076
8073
|
S(s, {
|
|
8077
8074
|
type: "cvSvgArrowExportRight",
|
|
8078
8075
|
size: "14"
|
|
8079
8076
|
}),
|
|
8080
|
-
t[12] || (t[12] =
|
|
8077
|
+
t[12] || (t[12] = x(" 退出登录 ", -1))
|
|
8081
8078
|
]),
|
|
8082
8079
|
_: 1
|
|
8083
8080
|
})
|
|
@@ -8085,13 +8082,13 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8085
8082
|
_: 1
|
|
8086
8083
|
})
|
|
8087
8084
|
]),
|
|
8088
|
-
default:
|
|
8085
|
+
default: C(() => [
|
|
8089
8086
|
D("span", null, [
|
|
8090
8087
|
D("img", {
|
|
8091
8088
|
class: "chinfo-avatar",
|
|
8092
8089
|
src: e.accountInfo.account_avatar_cdn,
|
|
8093
8090
|
title: "头像"
|
|
8094
|
-
}, null, 8,
|
|
8091
|
+
}, null, 8, xf),
|
|
8095
8092
|
D("div", Bf, [
|
|
8096
8093
|
D("div", Gf, z(o.headerInfoName), 1),
|
|
8097
8094
|
D("div", $f, z(o.headerInfoNick), 1)
|
|
@@ -8191,7 +8188,7 @@ const Q_ = /* @__PURE__ */ ge(If, [["render", Hf]]), Kf = {
|
|
|
8191
8188
|
function jf(e, t, n, r, a, o) {
|
|
8192
8189
|
const s = L("el-watermark");
|
|
8193
8190
|
return F(), $(s, Xo(o.watemarkConf, { style: { height: "100%" } }), {
|
|
8194
|
-
default:
|
|
8191
|
+
default: C(() => [
|
|
8195
8192
|
Qo(e.$slots, "default")
|
|
8196
8193
|
]),
|
|
8197
8194
|
_: 3
|
|
@@ -8246,138 +8243,138 @@ const J_ = /* @__PURE__ */ ge(Kf, [["render", jf]]), qf = {
|
|
|
8246
8243
|
}
|
|
8247
8244
|
}, Xf = { style: { "font-size": "12px" } }, Qf = { style: { color: "red", "font-weight": "bold" } }, Jf = { class: "multiline-text" };
|
|
8248
8245
|
function zf(e, t, n, r, a, o) {
|
|
8249
|
-
const s = L("cv-
|
|
8246
|
+
const s = L("cv-input-text"), l = L("cv-input-number"), i = L("cv-input-digit"), c = L("cv-textarea"), f = L("cv-radio-opt-base"), u = L("cv-radio-group"), d = L("cv-checkbox-opt-base"), g = L("cv-checkbox-group"), T = L("cv-upload-image"), p = L("cv-form-item"), w = L("cv-form-base");
|
|
8250
8247
|
return F(), $(w, {
|
|
8251
8248
|
ref: "refFormBase",
|
|
8252
8249
|
rules: a.formRules,
|
|
8253
8250
|
model: a.formData
|
|
8254
8251
|
}, {
|
|
8255
|
-
default:
|
|
8256
|
-
(F(!0), W(le, null,
|
|
8252
|
+
default: C(() => [
|
|
8253
|
+
(F(!0), W(le, null, Ne(n.fieldsList, (m, E) => (F(), $(p, {
|
|
8257
8254
|
key: E,
|
|
8258
8255
|
label: m.field_form_label,
|
|
8259
8256
|
required: m.field_form_require == "on"
|
|
8260
8257
|
}, Jo({
|
|
8261
|
-
default:
|
|
8262
|
-
m.field_form_type == "
|
|
8258
|
+
default: C(() => [
|
|
8259
|
+
m.field_form_type == "input_text" ? (F(), $(s, {
|
|
8263
8260
|
key: 0,
|
|
8264
8261
|
modelValue: a.formData[m.field_form_key],
|
|
8265
|
-
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b,
|
|
8266
|
-
initValue: a.formData[m.field_form_key + "_CDN"],
|
|
8267
|
-
"onUpdate:initValue": (b) => a.formData[m.field_form_key + "_CDN"] = b
|
|
8268
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "initValue", "onUpdate:initValue"])) : te("", !0),
|
|
8269
|
-
m.field_form_type == "input_text" ? (F(), $(l, {
|
|
8270
|
-
key: 1,
|
|
8271
|
-
modelValue: a.formData[m.field_form_key],
|
|
8272
8262
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8273
8263
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8274
|
-
m.field_form_type == "input_number" ? (F(), $(
|
|
8275
|
-
key:
|
|
8264
|
+
m.field_form_type == "input_number" ? (F(), $(l, {
|
|
8265
|
+
key: 1,
|
|
8276
8266
|
modelValue: a.formData[m.field_form_key],
|
|
8277
8267
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8278
8268
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8279
|
-
m.field_form_type == "input_digit" ? (F(), $(
|
|
8280
|
-
key:
|
|
8269
|
+
m.field_form_type == "input_digit" ? (F(), $(i, {
|
|
8270
|
+
key: 2,
|
|
8281
8271
|
modelValue: a.formData[m.field_form_key],
|
|
8282
8272
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8283
8273
|
}, {
|
|
8284
|
-
append:
|
|
8285
|
-
|
|
8274
|
+
append: C(() => [...t[0] || (t[0] = [
|
|
8275
|
+
x("元", -1)
|
|
8286
8276
|
])]),
|
|
8287
8277
|
_: 1
|
|
8288
8278
|
}, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8289
|
-
m.field_form_type == "input_second" ? (F(), W(le, { key:
|
|
8290
|
-
S(
|
|
8279
|
+
m.field_form_type == "input_second" ? (F(), W(le, { key: 3 }, [
|
|
8280
|
+
S(l, {
|
|
8291
8281
|
modelValue: a.formData[m.field_form_key],
|
|
8292
8282
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8293
8283
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
8294
8284
|
D("span", Xf, [
|
|
8295
|
-
t[1] || (t[1] =
|
|
8285
|
+
t[1] || (t[1] = x(" 计算为 ", -1)),
|
|
8296
8286
|
D("span", Qf, ":" + z(a.miaoToShichang[m.field_form_key]), 1)
|
|
8297
8287
|
])
|
|
8298
8288
|
], 64)) : te("", !0),
|
|
8299
|
-
m.field_form_type == "textarea_base" ? (F(), $(
|
|
8300
|
-
key:
|
|
8289
|
+
m.field_form_type == "textarea_base" ? (F(), $(c, {
|
|
8290
|
+
key: 4,
|
|
8301
8291
|
modelValue: a.formData[m.field_form_key],
|
|
8302
8292
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8303
8293
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8304
|
-
m.field_form_type == "encryption" ? (F(), W(le, { key:
|
|
8305
|
-
S(
|
|
8294
|
+
m.field_form_type == "encryption" ? (F(), W(le, { key: 5 }, [
|
|
8295
|
+
S(c, {
|
|
8306
8296
|
modelValue: a.formData[m.field_form_key],
|
|
8307
8297
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8308
8298
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
8309
8299
|
t[2] || (t[2] = D("div", { style: { color: "#999", "font-size": "12px" } }, "加密字段配置后,下次呈现加密内容,请自行保存加密原数据", -1))
|
|
8310
8300
|
], 64)) : te("", !0),
|
|
8311
|
-
m.field_form_type == "radio_switch" ? (F(), $(
|
|
8312
|
-
key:
|
|
8301
|
+
m.field_form_type == "radio_switch" ? (F(), $(u, {
|
|
8302
|
+
key: 6,
|
|
8313
8303
|
modelValue: a.formData[m.field_form_key],
|
|
8314
8304
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8315
8305
|
}, {
|
|
8316
|
-
default:
|
|
8317
|
-
S(
|
|
8306
|
+
default: C(() => [
|
|
8307
|
+
S(f, {
|
|
8318
8308
|
label: "开启",
|
|
8319
8309
|
value: "on"
|
|
8320
8310
|
}, {
|
|
8321
|
-
default:
|
|
8322
|
-
|
|
8311
|
+
default: C(() => [...t[3] || (t[3] = [
|
|
8312
|
+
x("开启", -1)
|
|
8323
8313
|
])]),
|
|
8324
8314
|
_: 1
|
|
8325
8315
|
}),
|
|
8326
|
-
S(
|
|
8316
|
+
S(f, {
|
|
8327
8317
|
label: "关闭",
|
|
8328
8318
|
value: "off"
|
|
8329
8319
|
}, {
|
|
8330
|
-
default:
|
|
8331
|
-
|
|
8320
|
+
default: C(() => [...t[4] || (t[4] = [
|
|
8321
|
+
x("关闭", -1)
|
|
8332
8322
|
])]),
|
|
8333
8323
|
_: 1
|
|
8334
8324
|
})
|
|
8335
8325
|
]),
|
|
8336
8326
|
_: 1
|
|
8337
8327
|
}, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8338
|
-
m.field_form_type == "radio_base" ? (F(), $(
|
|
8339
|
-
key:
|
|
8328
|
+
m.field_form_type == "radio_base" ? (F(), $(u, {
|
|
8329
|
+
key: 7,
|
|
8340
8330
|
modelValue: a.formData[m.field_form_key],
|
|
8341
8331
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8342
8332
|
}, {
|
|
8343
|
-
default:
|
|
8344
|
-
(F(!0), W(le, null,
|
|
8333
|
+
default: C(() => [
|
|
8334
|
+
(F(!0), W(le, null, Ne(m.field_form_option, (b, y) => (F(), $(f, {
|
|
8345
8335
|
key: y,
|
|
8346
8336
|
value: b.value
|
|
8347
8337
|
}, {
|
|
8348
|
-
default:
|
|
8349
|
-
|
|
8338
|
+
default: C(() => [
|
|
8339
|
+
x(z(b.label), 1)
|
|
8350
8340
|
]),
|
|
8351
8341
|
_: 2
|
|
8352
8342
|
}, 1032, ["value"]))), 128))
|
|
8353
8343
|
]),
|
|
8354
8344
|
_: 2
|
|
8355
8345
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8356
|
-
m.field_form_type == "checkbox_base" ? (F(), $(
|
|
8357
|
-
key:
|
|
8346
|
+
m.field_form_type == "checkbox_base" ? (F(), $(g, {
|
|
8347
|
+
key: 8,
|
|
8358
8348
|
modelValue: a.formData[m.field_form_key],
|
|
8359
8349
|
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8360
8350
|
}, {
|
|
8361
|
-
default:
|
|
8362
|
-
(F(!0), W(le, null,
|
|
8351
|
+
default: C(() => [
|
|
8352
|
+
(F(!0), W(le, null, Ne(m.field_form_option, (b, y) => (F(), $(d, {
|
|
8363
8353
|
key: y,
|
|
8364
8354
|
label: b.label,
|
|
8365
8355
|
value: b.value
|
|
8366
8356
|
}, {
|
|
8367
|
-
default:
|
|
8368
|
-
|
|
8357
|
+
default: C(() => [
|
|
8358
|
+
x(z(b.label), 1)
|
|
8369
8359
|
]),
|
|
8370
8360
|
_: 2
|
|
8371
8361
|
}, 1032, ["label", "value"]))), 128))
|
|
8372
8362
|
]),
|
|
8373
8363
|
_: 2
|
|
8374
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) : te("", !0)
|
|
8364
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8365
|
+
m.field_form_type == "upload_image" ? (F(), $(T, {
|
|
8366
|
+
key: 9,
|
|
8367
|
+
modelValue: a.formData[m.field_form_key],
|
|
8368
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b,
|
|
8369
|
+
initValue: a.formData[m.field_form_key + "_CDN"],
|
|
8370
|
+
"onUpdate:initValue": (b) => a.formData[m.field_form_key + "_CDN"] = b
|
|
8371
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "initValue", "onUpdate:initValue"])) : te("", !0)
|
|
8375
8372
|
]),
|
|
8376
8373
|
_: 2
|
|
8377
8374
|
}, [
|
|
8378
8375
|
m.field_form_tip ? {
|
|
8379
8376
|
name: "tip",
|
|
8380
|
-
fn:
|
|
8377
|
+
fn: C(() => [
|
|
8381
8378
|
D("div", Jf, z(m.field_form_tip), 1)
|
|
8382
8379
|
]),
|
|
8383
8380
|
key: "0"
|
|
@@ -8391,8 +8388,12 @@ const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), e_ = {
|
|
|
8391
8388
|
emits: ["handleCallback", "close"],
|
|
8392
8389
|
props: {
|
|
8393
8390
|
limit: {
|
|
8394
|
-
type: [Number],
|
|
8391
|
+
type: [String, Number],
|
|
8395
8392
|
default: 1
|
|
8393
|
+
},
|
|
8394
|
+
initData: {
|
|
8395
|
+
type: [String, Number],
|
|
8396
|
+
default: ""
|
|
8396
8397
|
}
|
|
8397
8398
|
},
|
|
8398
8399
|
data() {
|
|
@@ -8443,7 +8444,7 @@ const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), e_ = {
|
|
|
8443
8444
|
this.$refs.refDiaSelectLeft.filter(e);
|
|
8444
8445
|
}
|
|
8445
8446
|
},
|
|
8446
|
-
|
|
8447
|
+
mounted() {
|
|
8447
8448
|
this.initLeftData(), this.initRightData();
|
|
8448
8449
|
},
|
|
8449
8450
|
methods: {
|
|
@@ -8479,20 +8480,20 @@ const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), e_ = {
|
|
|
8479
8480
|
this.$emit("close");
|
|
8480
8481
|
},
|
|
8481
8482
|
// 单击选择图片
|
|
8482
|
-
handleClickImage(e, t
|
|
8483
|
-
let
|
|
8484
|
-
for (let
|
|
8485
|
-
if (
|
|
8486
|
-
this.activeImageUrl.splice(
|
|
8483
|
+
handleClickImage(e, t) {
|
|
8484
|
+
let n = e.filelog_id, r = e.filelog_full_path, a = e.cdn_full_path;
|
|
8485
|
+
for (let o in this.activeImageUrl)
|
|
8486
|
+
if (r == this.activeImageUrl[o].save_full_path) {
|
|
8487
|
+
this.activeImageUrl.splice(o, 1), this.activeImageState[t] = !1;
|
|
8487
8488
|
return;
|
|
8488
8489
|
}
|
|
8489
8490
|
if (this.activeImageUrl.length + 1 > this.limit)
|
|
8490
8491
|
return this.$message.error("超出数量" + this.limit), !1;
|
|
8491
8492
|
this.activeImageUrl.push({
|
|
8492
|
-
filelog_id:
|
|
8493
|
-
save_full_path:
|
|
8494
|
-
cdn_full_path:
|
|
8495
|
-
}), this.activeImageState[
|
|
8493
|
+
filelog_id: n,
|
|
8494
|
+
save_full_path: r,
|
|
8495
|
+
cdn_full_path: a
|
|
8496
|
+
}), this.activeImageState[t] = !0;
|
|
8496
8497
|
},
|
|
8497
8498
|
// 小红圈提示文本
|
|
8498
8499
|
badgeValue(e) {
|
|
@@ -8519,8 +8520,11 @@ const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), e_ = {
|
|
|
8519
8520
|
* 初始化 【 文本编辑状态、图片选中状态 】
|
|
8520
8521
|
*/
|
|
8521
8522
|
_initImageState() {
|
|
8522
|
-
|
|
8523
|
-
|
|
8523
|
+
const e = String(this.initData).split(",").map((t) => t.trim());
|
|
8524
|
+
for (let t in this.imageList) {
|
|
8525
|
+
let n = this.imageList[t];
|
|
8526
|
+
this.imageTextEditState[t] = !1, this.activeImageState[t] = !1, this.initData && e.includes(String(n.filelog_id)) && this.handleClickImage(n, t);
|
|
8527
|
+
}
|
|
8524
8528
|
}
|
|
8525
8529
|
}
|
|
8526
8530
|
}, t_ = {
|
|
@@ -8562,10 +8566,10 @@ function __(e, t, n, r, a, o) {
|
|
|
8562
8566
|
"show-file-list": !1,
|
|
8563
8567
|
"file-list": a.upFileList
|
|
8564
8568
|
}, {
|
|
8565
|
-
default:
|
|
8569
|
+
default: C(() => [
|
|
8566
8570
|
S(i, { type: "primary" }, {
|
|
8567
|
-
default:
|
|
8568
|
-
|
|
8571
|
+
default: C(() => [...t[2] || (t[2] = [
|
|
8572
|
+
x("上传图片", -1)
|
|
8569
8573
|
])]),
|
|
8570
8574
|
_: 1
|
|
8571
8575
|
})
|
|
@@ -8576,8 +8580,8 @@ function __(e, t, n, r, a, o) {
|
|
|
8576
8580
|
type: "primary",
|
|
8577
8581
|
disabled: a.activeImageUrl.length === 0
|
|
8578
8582
|
}, {
|
|
8579
|
-
default:
|
|
8580
|
-
|
|
8583
|
+
default: C(() => [...t[3] || (t[3] = [
|
|
8584
|
+
x("使用选中图片", -1)
|
|
8581
8585
|
])]),
|
|
8582
8586
|
_: 1
|
|
8583
8587
|
}, 8, ["disabled"]),
|
|
@@ -8585,8 +8589,8 @@ function __(e, t, n, r, a, o) {
|
|
|
8585
8589
|
type: "danger",
|
|
8586
8590
|
disabled: a.activeImageUrl.length === 0
|
|
8587
8591
|
}, {
|
|
8588
|
-
default:
|
|
8589
|
-
|
|
8592
|
+
default: C(() => [...t[4] || (t[4] = [
|
|
8593
|
+
x("删除图片", -1)
|
|
8590
8594
|
])]),
|
|
8591
8595
|
_: 1
|
|
8592
8596
|
}, 8, ["disabled"]),
|
|
@@ -8598,7 +8602,7 @@ function __(e, t, n, r, a, o) {
|
|
|
8598
8602
|
}, null, 8, ["dataField", "dataLists"])
|
|
8599
8603
|
]),
|
|
8600
8604
|
D("div", i_, [
|
|
8601
|
-
(F(!0), W(le, null,
|
|
8605
|
+
(F(!0), W(le, null, Ne(a.imageList, (p, w) => (F(), W("div", {
|
|
8602
8606
|
class: "cloud-dia-right-item",
|
|
8603
8607
|
key: w
|
|
8604
8608
|
}, [
|
|
@@ -8606,12 +8610,12 @@ function __(e, t, n, r, a, o) {
|
|
|
8606
8610
|
class: Kt(o.badgeValue(p.filelog_id) == 0 && "isshowBadge"),
|
|
8607
8611
|
value: o.badgeValue(p.filelog_id)
|
|
8608
8612
|
}, {
|
|
8609
|
-
default:
|
|
8613
|
+
default: C(() => [
|
|
8610
8614
|
D("img", {
|
|
8611
8615
|
class: Kt(a.activeImageState[w] && "active"),
|
|
8612
8616
|
src: p.cdn_full_path,
|
|
8613
8617
|
alt: "",
|
|
8614
|
-
onClick: (m) => o.handleClickImage(
|
|
8618
|
+
onClick: (m) => o.handleClickImage(p, w)
|
|
8615
8619
|
}, null, 10, l_)
|
|
8616
8620
|
]),
|
|
8617
8621
|
_: 2
|
|
@@ -8644,8 +8648,8 @@ function __(e, t, n, r, a, o) {
|
|
|
8644
8648
|
]),
|
|
8645
8649
|
D("div", f_, [
|
|
8646
8650
|
S(i, { onClick: o.handleClose }, {
|
|
8647
|
-
default:
|
|
8648
|
-
|
|
8651
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
8652
|
+
x("取 消", -1)
|
|
8649
8653
|
])]),
|
|
8650
8654
|
_: 1
|
|
8651
8655
|
}, 8, ["onClick"]),
|
|
@@ -8654,8 +8658,8 @@ function __(e, t, n, r, a, o) {
|
|
|
8654
8658
|
onClick: o.handleConfirm,
|
|
8655
8659
|
autoLoading: ""
|
|
8656
8660
|
}, {
|
|
8657
|
-
default:
|
|
8658
|
-
|
|
8661
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
8662
|
+
x("确 定", -1)
|
|
8659
8663
|
])]),
|
|
8660
8664
|
_: 1
|
|
8661
8665
|
}, 8, ["onClick"])
|
|
@@ -8669,11 +8673,11 @@ const d_ = /* @__PURE__ */ ge(e_, [["render", __]]), m_ = {
|
|
|
8669
8673
|
emits: ["update:modelValue", "update:initValue"],
|
|
8670
8674
|
props: {
|
|
8671
8675
|
modelValue: {
|
|
8672
|
-
type: [String, Array],
|
|
8676
|
+
type: [String, Array, Number],
|
|
8673
8677
|
default: ""
|
|
8674
8678
|
},
|
|
8675
8679
|
initValue: {
|
|
8676
|
-
type: [String, Array],
|
|
8680
|
+
type: [String, Array, Number],
|
|
8677
8681
|
default: ""
|
|
8678
8682
|
},
|
|
8679
8683
|
showBig: {
|
|
@@ -8709,6 +8713,9 @@ const d_ = /* @__PURE__ */ ge(e_, [["render", __]]), m_ = {
|
|
|
8709
8713
|
this.$emit("update:initValue", e);
|
|
8710
8714
|
}
|
|
8711
8715
|
},
|
|
8716
|
+
mounted() {
|
|
8717
|
+
this.localValue = this.modelValue || "", this.localInitVal = this.initValue || "";
|
|
8718
|
+
},
|
|
8712
8719
|
created() {
|
|
8713
8720
|
},
|
|
8714
8721
|
methods: {
|
|
@@ -8716,11 +8723,19 @@ const d_ = /* @__PURE__ */ ge(e_, [["render", __]]), m_ = {
|
|
|
8716
8723
|
this.$cvDialogRender(
|
|
8717
8724
|
d_,
|
|
8718
8725
|
{ title: "选择图片", width: "1100px" },
|
|
8719
|
-
{},
|
|
8726
|
+
{ limit: this.multiple ? this.limit : 1, initData: this.localValue },
|
|
8720
8727
|
{
|
|
8721
8728
|
handleCallback: (t) => {
|
|
8722
|
-
|
|
8723
|
-
|
|
8729
|
+
if (this.multiple) {
|
|
8730
|
+
let n = [], r = [];
|
|
8731
|
+
for (let a in t) {
|
|
8732
|
+
let o = t[a];
|
|
8733
|
+
n.push(o.filelog_id), r.push(o.cdn_full_path), this.localValue = n.join(","), this.localInitVal = r;
|
|
8734
|
+
}
|
|
8735
|
+
} else {
|
|
8736
|
+
let n = t[0];
|
|
8737
|
+
this.localValue = n.filelog_id, this.localInitVal = n.cdn_full_path;
|
|
8738
|
+
}
|
|
8724
8739
|
}
|
|
8725
8740
|
}
|
|
8726
8741
|
).show();
|
|
@@ -8734,20 +8749,20 @@ function g_(e, t, n, r, a, o) {
|
|
|
8734
8749
|
onClick: o.handleDiaImage,
|
|
8735
8750
|
style: { width: "150px" }
|
|
8736
8751
|
}, {
|
|
8737
|
-
default:
|
|
8738
|
-
|
|
8752
|
+
default: C(() => [...t[2] || (t[2] = [
|
|
8753
|
+
x("选择图片", -1)
|
|
8739
8754
|
])]),
|
|
8740
8755
|
_: 1
|
|
8741
8756
|
}, 8, ["onClick"]),
|
|
8742
8757
|
S(l, {
|
|
8743
|
-
modelValue: a.localValue,
|
|
8744
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) => a.localValue = i),
|
|
8745
8758
|
showBig: n.showBig,
|
|
8746
8759
|
multiple: n.multiple,
|
|
8747
8760
|
limit: n.limit,
|
|
8761
|
+
modelValue: a.localValue,
|
|
8762
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => a.localValue = i),
|
|
8748
8763
|
initValue: a.localInitVal,
|
|
8749
8764
|
"onUpdate:initValue": t[1] || (t[1] = (i) => a.localInitVal = i)
|
|
8750
|
-
}, null, 8, ["
|
|
8765
|
+
}, null, 8, ["showBig", "multiple", "limit", "modelValue", "initValue"])
|
|
8751
8766
|
]);
|
|
8752
8767
|
}
|
|
8753
8768
|
const p_ = /* @__PURE__ */ ge(m_, [["render", g_]]), E_ = {
|
|
@@ -8823,7 +8838,7 @@ const p_ = /* @__PURE__ */ ge(m_, [["render", g_]]), E_ = {
|
|
|
8823
8838
|
"element-loading-spinner": "el-icon-loading",
|
|
8824
8839
|
class: "cloud-dialog-choice-wrap"
|
|
8825
8840
|
}, S_ = { style: { width: "100%", height: "500px" } }, v_ = { class: "cloud-dia-choice-box" }, y_ = { class: "cloud-dia-choice-left" }, T_ = { class: "cloud-dia-choice-right" }, A_ = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
|
|
8826
|
-
function
|
|
8841
|
+
function N_(e, t, n, r, a, o) {
|
|
8827
8842
|
const s = L("el-input"), l = L("el-tree"), i = L("cv-input-text"), c = L("cv-form-item"), f = L("cv-btn-base"), u = L("cv-form-inline"), d = L("cvTbColumnCheck"), g = L("cvTbColumnText"), T = L("cvTbColumnImg"), p = L("cv-btn-text"), w = L("cvTbColumnOpt"), m = L("cvTableBase"), E = na("loading");
|
|
8828
8843
|
return Rt((F(), W("div", b_, [
|
|
8829
8844
|
D("div", S_, [
|
|
@@ -8853,9 +8868,9 @@ function C_(e, t, n, r, a, o) {
|
|
|
8853
8868
|
rules: a.rightSoRules,
|
|
8854
8869
|
model: a.rightSoData
|
|
8855
8870
|
}, {
|
|
8856
|
-
default:
|
|
8871
|
+
default: C(() => [
|
|
8857
8872
|
S(c, { label: "商品搜索" }, {
|
|
8858
|
-
default:
|
|
8873
|
+
default: C(() => [
|
|
8859
8874
|
S(i, {
|
|
8860
8875
|
modelValue: a.rightSoData.key_goods_name,
|
|
8861
8876
|
"onUpdate:modelValue": t[1] || (t[1] = (b) => a.rightSoData.key_goods_name = b),
|
|
@@ -8865,14 +8880,14 @@ function C_(e, t, n, r, a, o) {
|
|
|
8865
8880
|
_: 1
|
|
8866
8881
|
}),
|
|
8867
8882
|
S(c, null, {
|
|
8868
|
-
default:
|
|
8883
|
+
default: C(() => [
|
|
8869
8884
|
S(f, {
|
|
8870
8885
|
icon: "ElIconSearch",
|
|
8871
8886
|
type: "primary",
|
|
8872
8887
|
onClick: t[2] || (t[2] = (b) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
|
|
8873
8888
|
}, {
|
|
8874
|
-
default:
|
|
8875
|
-
|
|
8889
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
8890
|
+
x(" 搜索 ", -1)
|
|
8876
8891
|
])]),
|
|
8877
8892
|
_: 1
|
|
8878
8893
|
}),
|
|
@@ -8880,8 +8895,8 @@ function C_(e, t, n, r, a, o) {
|
|
|
8880
8895
|
icon: "el-icon-refresh-left",
|
|
8881
8896
|
onClick: t[3] || (t[3] = (b) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
|
|
8882
8897
|
}, {
|
|
8883
|
-
default:
|
|
8884
|
-
|
|
8898
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
8899
|
+
x(" 重置 ", -1)
|
|
8885
8900
|
])]),
|
|
8886
8901
|
_: 1
|
|
8887
8902
|
})
|
|
@@ -8897,7 +8912,7 @@ function C_(e, t, n, r, a, o) {
|
|
|
8897
8912
|
tableRefresh: a.tableRefresh,
|
|
8898
8913
|
height: "390"
|
|
8899
8914
|
}, {
|
|
8900
|
-
default:
|
|
8915
|
+
default: C(() => [
|
|
8901
8916
|
S(d, { label: "选择" }),
|
|
8902
8917
|
S(g, {
|
|
8903
8918
|
label: "商品分类",
|
|
@@ -8927,12 +8942,12 @@ function C_(e, t, n, r, a, o) {
|
|
|
8927
8942
|
label: "操作",
|
|
8928
8943
|
width: "100"
|
|
8929
8944
|
}, {
|
|
8930
|
-
default:
|
|
8945
|
+
default: C(({ row: b, $index: y }) => [
|
|
8931
8946
|
S(p, {
|
|
8932
8947
|
onClick: (k) => o.handleSelect(b)
|
|
8933
8948
|
}, {
|
|
8934
|
-
default:
|
|
8935
|
-
|
|
8949
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
8950
|
+
x("选择", -1)
|
|
8936
8951
|
])]),
|
|
8937
8952
|
_: 1
|
|
8938
8953
|
}, 8, ["onClick"])
|
|
@@ -8947,8 +8962,8 @@ function C_(e, t, n, r, a, o) {
|
|
|
8947
8962
|
]),
|
|
8948
8963
|
D("div", A_, [
|
|
8949
8964
|
S(f, { onClick: o.handleClose }, {
|
|
8950
|
-
default:
|
|
8951
|
-
|
|
8965
|
+
default: C(() => [...t[8] || (t[8] = [
|
|
8966
|
+
x("取 消", -1)
|
|
8952
8967
|
])]),
|
|
8953
8968
|
_: 1
|
|
8954
8969
|
}, 8, ["onClick"]),
|
|
@@ -8957,8 +8972,8 @@ function C_(e, t, n, r, a, o) {
|
|
|
8957
8972
|
onClick: o.handleConfirm,
|
|
8958
8973
|
autoLoading: ""
|
|
8959
8974
|
}, {
|
|
8960
|
-
default:
|
|
8961
|
-
|
|
8975
|
+
default: C(() => [...t[9] || (t[9] = [
|
|
8976
|
+
x("确 定", -1)
|
|
8962
8977
|
])]),
|
|
8963
8978
|
_: 1
|
|
8964
8979
|
}, 8, ["onClick"])
|
|
@@ -8967,7 +8982,7 @@ function C_(e, t, n, r, a, o) {
|
|
|
8967
8982
|
[E, a.isLoading]
|
|
8968
8983
|
]);
|
|
8969
8984
|
}
|
|
8970
|
-
const z_ = /* @__PURE__ */ ge(E_, [["render",
|
|
8985
|
+
const z_ = /* @__PURE__ */ ge(E_, [["render", N_]]), C_ = {
|
|
8971
8986
|
emits: ["handleCallback", "close"],
|
|
8972
8987
|
props: {
|
|
8973
8988
|
// 选一个就关闭
|
|
@@ -9070,9 +9085,9 @@ function R_(e, t, n, r, a, o) {
|
|
|
9070
9085
|
rules: a.rightSoRules,
|
|
9071
9086
|
model: a.rightSoData
|
|
9072
9087
|
}, {
|
|
9073
|
-
default:
|
|
9088
|
+
default: C(() => [
|
|
9074
9089
|
S(c, { label: "名称" }, {
|
|
9075
|
-
default:
|
|
9090
|
+
default: C(() => [
|
|
9076
9091
|
S(i, {
|
|
9077
9092
|
modelValue: a.rightSoData.key_staff_name,
|
|
9078
9093
|
"onUpdate:modelValue": t[1] || (t[1] = (b) => a.rightSoData.key_staff_name = b)
|
|
@@ -9081,14 +9096,14 @@ function R_(e, t, n, r, a, o) {
|
|
|
9081
9096
|
_: 1
|
|
9082
9097
|
}),
|
|
9083
9098
|
S(c, null, {
|
|
9084
|
-
default:
|
|
9099
|
+
default: C(() => [
|
|
9085
9100
|
S(f, {
|
|
9086
9101
|
icon: "ElIconSearch",
|
|
9087
9102
|
type: "primary",
|
|
9088
9103
|
onClick: t[2] || (t[2] = (b) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
|
|
9089
9104
|
}, {
|
|
9090
|
-
default:
|
|
9091
|
-
|
|
9105
|
+
default: C(() => [...t[5] || (t[5] = [
|
|
9106
|
+
x(" 搜索 ", -1)
|
|
9092
9107
|
])]),
|
|
9093
9108
|
_: 1
|
|
9094
9109
|
}),
|
|
@@ -9096,8 +9111,8 @@ function R_(e, t, n, r, a, o) {
|
|
|
9096
9111
|
icon: "el-icon-refresh-left",
|
|
9097
9112
|
onClick: t[3] || (t[3] = (b) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
|
|
9098
9113
|
}, {
|
|
9099
|
-
default:
|
|
9100
|
-
|
|
9114
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
9115
|
+
x(" 重置 ", -1)
|
|
9101
9116
|
])]),
|
|
9102
9117
|
_: 1
|
|
9103
9118
|
})
|
|
@@ -9113,7 +9128,7 @@ function R_(e, t, n, r, a, o) {
|
|
|
9113
9128
|
tableRefresh: a.tableRefresh,
|
|
9114
9129
|
height: "390"
|
|
9115
9130
|
}, {
|
|
9116
|
-
default:
|
|
9131
|
+
default: C(() => [
|
|
9117
9132
|
S(d, { label: "选择" }),
|
|
9118
9133
|
S(g, {
|
|
9119
9134
|
label: "ID",
|
|
@@ -9145,12 +9160,12 @@ function R_(e, t, n, r, a, o) {
|
|
|
9145
9160
|
label: "操作",
|
|
9146
9161
|
width: "100"
|
|
9147
9162
|
}, {
|
|
9148
|
-
default:
|
|
9163
|
+
default: C(({ row: b, $index: y }) => [
|
|
9149
9164
|
S(p, {
|
|
9150
9165
|
onClick: (k) => o.handleSelect(b)
|
|
9151
9166
|
}, {
|
|
9152
|
-
default:
|
|
9153
|
-
|
|
9167
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
9168
|
+
x("选择", -1)
|
|
9154
9169
|
])]),
|
|
9155
9170
|
_: 1
|
|
9156
9171
|
}, 8, ["onClick"])
|
|
@@ -9165,8 +9180,8 @@ function R_(e, t, n, r, a, o) {
|
|
|
9165
9180
|
]),
|
|
9166
9181
|
D("div", k_, [
|
|
9167
9182
|
S(f, { onClick: o.handleClose }, {
|
|
9168
|
-
default:
|
|
9169
|
-
|
|
9183
|
+
default: C(() => [...t[8] || (t[8] = [
|
|
9184
|
+
x("取 消", -1)
|
|
9170
9185
|
])]),
|
|
9171
9186
|
_: 1
|
|
9172
9187
|
}, 8, ["onClick"]),
|
|
@@ -9175,8 +9190,8 @@ function R_(e, t, n, r, a, o) {
|
|
|
9175
9190
|
onClick: o.handleConfirm,
|
|
9176
9191
|
autoLoading: ""
|
|
9177
9192
|
}, {
|
|
9178
|
-
default:
|
|
9179
|
-
|
|
9193
|
+
default: C(() => [...t[9] || (t[9] = [
|
|
9194
|
+
x("确 定", -1)
|
|
9180
9195
|
])]),
|
|
9181
9196
|
_: 1
|
|
9182
9197
|
}, 8, ["onClick"])
|
|
@@ -9185,7 +9200,7 @@ function R_(e, t, n, r, a, o) {
|
|
|
9185
9200
|
[E, a.isLoading]
|
|
9186
9201
|
]);
|
|
9187
9202
|
}
|
|
9188
|
-
const Z_ = /* @__PURE__ */ ge(
|
|
9203
|
+
const Z_ = /* @__PURE__ */ ge(C_, [["render", R_]]);
|
|
9189
9204
|
(function() {
|
|
9190
9205
|
if (typeof EventTarget < "u") {
|
|
9191
9206
|
let e = EventTarget.prototype.addEventListener;
|
|
@@ -9250,7 +9265,7 @@ var P_ = {
|
|
|
9250
9265
|
function F_(e) {
|
|
9251
9266
|
e.mixin(P_);
|
|
9252
9267
|
}
|
|
9253
|
-
function
|
|
9268
|
+
function Cr(e, t, n) {
|
|
9254
9269
|
const r = t.value;
|
|
9255
9270
|
if (r)
|
|
9256
9271
|
Mo(r) || !1 || e.parentNode && e.parentNode.removeChild(e);
|
|
@@ -9259,9 +9274,9 @@ function Nr(e, t, n) {
|
|
|
9259
9274
|
}
|
|
9260
9275
|
function M_(e, t, n) {
|
|
9261
9276
|
n = n || "vue3", n == "vue2" ? e.directive("auth", {
|
|
9262
|
-
inserted:
|
|
9277
|
+
inserted: Cr
|
|
9263
9278
|
}) : e.directive("auth", {
|
|
9264
|
-
mounted:
|
|
9279
|
+
mounted: Cr
|
|
9265
9280
|
}), t.$_auth = Mo;
|
|
9266
9281
|
}
|
|
9267
9282
|
/*! Element Plus v2.11.5 */
|
|
@@ -9447,7 +9462,7 @@ var U_ = {
|
|
|
9447
9462
|
}
|
|
9448
9463
|
}
|
|
9449
9464
|
};
|
|
9450
|
-
function
|
|
9465
|
+
function V_(e) {
|
|
9451
9466
|
e.use(zo, {
|
|
9452
9467
|
// size: 'default',
|
|
9453
9468
|
locale: U_
|
|
@@ -9455,9 +9470,9 @@ function x_(e) {
|
|
|
9455
9470
|
for (const [t, n] of Object.entries(ts))
|
|
9456
9471
|
e.component("ElIcon" + t, n);
|
|
9457
9472
|
}
|
|
9458
|
-
const
|
|
9473
|
+
const x_ = "__syCacheSdkConfig__";
|
|
9459
9474
|
async function B_(e) {
|
|
9460
|
-
const t = await I.idbGetItem(
|
|
9475
|
+
const t = await I.idbGetItem(x_), n = {
|
|
9461
9476
|
// upAction: lastConfig.VITE_SY_API_URL + 'sdks.sdk_file/common/upload_image',
|
|
9462
9477
|
signatureFn: ue.flagPost("SDK_FILE_COMMON_UPLOAD_SIGNATURE"),
|
|
9463
9478
|
upHeaders: {
|
|
@@ -9533,12 +9548,12 @@ async function td(e, t, n, r, a = "", o = null) {
|
|
|
9533
9548
|
let s = e.config.globalProperties;
|
|
9534
9549
|
s.$onLaunched = new Promise((i) => {
|
|
9535
9550
|
s.$isResolve = i;
|
|
9536
|
-
}), s.$request = ue, s.$cache = I,
|
|
9551
|
+
}), s.$request = ue, s.$cache = I, V_(e), await B_(e), M_(e, s), e.mixin(Lu()), e.component("SdkFormEdit", Zf), e.component("SdkManageImage", p_), F_(e), await G_(t, r, a), e.use(wo);
|
|
9537
9552
|
let l = Ft().SA_LANGUAGE_GET();
|
|
9538
9553
|
zc(l, o), window.$t = Xe.t;
|
|
9539
9554
|
}
|
|
9540
9555
|
async function G_(e, t, n) {
|
|
9541
|
-
const r =
|
|
9556
|
+
const r = Ct(), a = Te(), o = rn(), s = on();
|
|
9542
9557
|
r.QK_SEND_MSG_REG_SUBMENU(t);
|
|
9543
9558
|
let l = Jt().syProductSign || "";
|
|
9544
9559
|
s.SA_PERMS_ROUTER_ADD(e, l), o.SA_MENU_PARSE(), r.QK_SEND_MSG_ROUTER_BEFORE(n);
|
|
@@ -9587,7 +9602,7 @@ export {
|
|
|
9587
9602
|
z_ as i,
|
|
9588
9603
|
Z_ as j,
|
|
9589
9604
|
d_ as k,
|
|
9590
|
-
|
|
9605
|
+
Ct as l,
|
|
9591
9606
|
Ro as m,
|
|
9592
9607
|
rn as n,
|
|
9593
9608
|
on as o,
|