@10yun/open-sdk 0.3.119 → 0.3.121
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-uQ_y6myC.cjs → 404-BFyR7lt-.cjs} +1 -1
- package/dist/{404-CXFWo6_q.js → 404-eOxp6uCK.js} +1 -1
- package/dist/{alone_run-ptPIyklQ.js → alone_run-D6MaSiBX.js} +1 -1
- package/dist/{alone_run-DpcoYZgN.cjs → alone_run-DeT-QveB.cjs} +1 -1
- package/dist/{index-BSJKwWOC.js → index-B5asDzhG.js} +628 -632
- package/dist/{index-DD1EbkLV.cjs → index-BDkGvqi-.cjs} +9 -9
- package/dist/{login-BLFyLqC-.js → login-B9AHugy2.js} +1 -1
- package/dist/{login-D17WkPVE.cjs → login-x6WIbNRH.cjs} +1 -1
- package/dist/{none-tGhGEeBx.js → none-BtuWNAZm.js} +1 -1
- package/dist/{none-DuYB1V2b.cjs → none-sp97NM-k.cjs} +1 -1
- package/dist/open-sdk.cjs.js +1 -1
- package/dist/open-sdk.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as Le, mapState as Re } from "pinia";
|
|
2
|
-
import { effectScope as xo, ref as Vo, shallowRef as Bo, computed as
|
|
3
|
-
import zo, { ElMessage as
|
|
2
|
+
import { effectScope as xo, ref as Vo, shallowRef as Bo, computed as Et, watch as Pn, isRef as Go, defineComponent as ta, getCurrentInstance as Ct, 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 N, createElementVNode as D, createElementBlock as W, renderList as Ce, createTextVNode as V, 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 Ca, 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";
|
|
@@ -151,10 +151,10 @@ function ls() {
|
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
var
|
|
154
|
+
var ct = ls();
|
|
155
155
|
function cs() {
|
|
156
156
|
try {
|
|
157
|
-
if (!
|
|
157
|
+
if (!ct || !ct.open)
|
|
158
158
|
return !1;
|
|
159
159
|
var e = typeof openDatabase < "u" && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), t = typeof fetch == "function" && fetch.toString().indexOf("[native code") !== -1;
|
|
160
160
|
return (!e || t) && typeof indexedDB < "u" && // some outdated implementations of IDB that appear on Samsung
|
|
@@ -190,7 +190,7 @@ function Q(e, t) {
|
|
|
190
190
|
}
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function st(e, t, n) {
|
|
194
194
|
typeof t == "function" && e.then(t), typeof n == "function" && e.catch(n);
|
|
195
195
|
}
|
|
196
196
|
function Me(e) {
|
|
@@ -255,7 +255,7 @@ function Dr(e, t) {
|
|
|
255
255
|
return n(e.db);
|
|
256
256
|
var a = [e.name];
|
|
257
257
|
t && a.push(e.version);
|
|
258
|
-
var o =
|
|
258
|
+
var o = ct.open.apply(ct, a);
|
|
259
259
|
t && (o.onupgradeneeded = function(s) {
|
|
260
260
|
var l = o.result;
|
|
261
261
|
try {
|
|
@@ -319,7 +319,7 @@ function hs(e) {
|
|
|
319
319
|
if (r && r.dbReady)
|
|
320
320
|
return r.dbReady;
|
|
321
321
|
});
|
|
322
|
-
return
|
|
322
|
+
return st(n, e, e), n;
|
|
323
323
|
}
|
|
324
324
|
function gs(e) {
|
|
325
325
|
jt(e);
|
|
@@ -421,7 +421,7 @@ function Es(e, t) {
|
|
|
421
421
|
});
|
|
422
422
|
return Q(r, t), r;
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function bs(e, t) {
|
|
425
425
|
var n = this, r = new U(function(a, o) {
|
|
426
426
|
n.ready().then(function() {
|
|
427
427
|
Ue(n._dbInfo, Pt, function(s, l) {
|
|
@@ -455,7 +455,7 @@ function Ss(e, t) {
|
|
|
455
455
|
});
|
|
456
456
|
return Q(r, t), r;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function Ss(e, t, n) {
|
|
459
459
|
var r = this;
|
|
460
460
|
e = Me(e);
|
|
461
461
|
var a = new U(function(o, s) {
|
|
@@ -595,7 +595,7 @@ function As(e, t) {
|
|
|
595
595
|
});
|
|
596
596
|
return Q(r, t), r;
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function Cs(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 Ns(e) {
|
|
|
623
623
|
});
|
|
624
624
|
return Q(n, e), n;
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Ns(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);
|
|
@@ -650,7 +650,7 @@ function Cs(e, t) {
|
|
|
650
650
|
g._dbInfo.db = null, g._dbInfo.version = i;
|
|
651
651
|
}
|
|
652
652
|
return new U((d, g) => {
|
|
653
|
-
const T =
|
|
653
|
+
const T = ct.open(e.name, i);
|
|
654
654
|
T.onerror = (p) => {
|
|
655
655
|
T.result.close(), g(p);
|
|
656
656
|
}, T.onupgradeneeded = () => {
|
|
@@ -679,7 +679,7 @@ function Cs(e, t) {
|
|
|
679
679
|
d._dbInfo.db = null;
|
|
680
680
|
}
|
|
681
681
|
return new U((d, g) => {
|
|
682
|
-
var T =
|
|
682
|
+
var T = ct.deleteDatabase(e.name);
|
|
683
683
|
T.onerror = () => {
|
|
684
684
|
const p = T.result;
|
|
685
685
|
p && p.close(), g(T.error);
|
|
@@ -706,20 +706,20 @@ var Os = {
|
|
|
706
706
|
_driver: "asyncStorage",
|
|
707
707
|
_initStorage: ps,
|
|
708
708
|
_support: cs(),
|
|
709
|
-
iterate:
|
|
709
|
+
iterate: bs,
|
|
710
710
|
getItem: Es,
|
|
711
|
-
setItem:
|
|
711
|
+
setItem: Ss,
|
|
712
712
|
removeItem: vs,
|
|
713
713
|
clear: ys,
|
|
714
714
|
length: Ts,
|
|
715
715
|
key: As,
|
|
716
|
-
keys:
|
|
717
|
-
dropInstance:
|
|
716
|
+
keys: Cs,
|
|
717
|
+
dropInstance: Ns
|
|
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~", Na = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", Vn = qt.length, ia = "arbf", Bn = "blob", Mr = "si08", Ur = "ui08", xr = "uic8", Vr = "si16", Br = "si32", Gr = "ur16", $r = "ui32", Wr = "fl32", Yr = "fl64", Oa = Vn + 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--);
|
|
@@ -759,8 +759,8 @@ function Ds(e) {
|
|
|
759
759
|
Vn,
|
|
760
760
|
Oa
|
|
761
761
|
), r;
|
|
762
|
-
if (n === Bn &&
|
|
763
|
-
var a = t.match(
|
|
762
|
+
if (n === Bn && Na.test(t)) {
|
|
763
|
+
var a = t.match(Na);
|
|
764
764
|
r = a[1], t = t.substring(a[0].length);
|
|
765
765
|
}
|
|
766
766
|
var o = Hr(t);
|
|
@@ -1338,14 +1338,14 @@ const ri = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
1338
1338
|
return !1;
|
|
1339
1339
|
}, Xr = Array.isArray || function(e) {
|
|
1340
1340
|
return Object.prototype.toString.call(e) === "[object Array]";
|
|
1341
|
-
},
|
|
1341
|
+
}, bt = {}, La = {}, lt = {
|
|
1342
1342
|
INDEXEDDB: Os,
|
|
1343
1343
|
WEBSQL: Ws,
|
|
1344
1344
|
LOCALSTORAGE: ai
|
|
1345
1345
|
}, si = [
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1346
|
+
lt.INDEXEDDB._driver,
|
|
1347
|
+
lt.WEBSQL._driver,
|
|
1348
|
+
lt.LOCALSTORAGE._driver
|
|
1349
1349
|
], Yt = ["dropInstance"], yn = [
|
|
1350
1350
|
"clear",
|
|
1351
1351
|
"getItem",
|
|
@@ -1387,10 +1387,10 @@ function Tn() {
|
|
|
1387
1387
|
}
|
|
1388
1388
|
class ca {
|
|
1389
1389
|
constructor(t) {
|
|
1390
|
-
for (let n in
|
|
1391
|
-
if (
|
|
1392
|
-
const r =
|
|
1393
|
-
this[n] = a,
|
|
1390
|
+
for (let n in lt)
|
|
1391
|
+
if (lt.hasOwnProperty(n)) {
|
|
1392
|
+
const r = lt[n], a = r._driver;
|
|
1393
|
+
this[n] = a, bt[a] || this.defineDriver(r);
|
|
1394
1394
|
}
|
|
1395
1395
|
this._defaultConfig = Tn({}, ii), this._config = Tn({}, this._defaultConfig, t), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(() => {
|
|
1396
1396
|
});
|
|
@@ -1456,29 +1456,29 @@ class ca {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
})();
|
|
1458
1458
|
const u = function(d) {
|
|
1459
|
-
|
|
1459
|
+
bt[l], bt[l] = t, La[l] = d, o();
|
|
1460
1460
|
};
|
|
1461
1461
|
"_support" in t ? t._support && typeof t._support == "function" ? t._support().then(u, s) : u(!!t._support) : u(!0);
|
|
1462
1462
|
} catch (l) {
|
|
1463
1463
|
s(l);
|
|
1464
1464
|
}
|
|
1465
1465
|
});
|
|
1466
|
-
return
|
|
1466
|
+
return st(a, n, r), a;
|
|
1467
1467
|
}
|
|
1468
1468
|
driver() {
|
|
1469
1469
|
return this._driver || null;
|
|
1470
1470
|
}
|
|
1471
1471
|
getDriver(t, n, r) {
|
|
1472
|
-
const a =
|
|
1473
|
-
return
|
|
1472
|
+
const a = bt[t] ? U.resolve(bt[t]) : U.reject(new Error("Driver not found."));
|
|
1473
|
+
return st(a, n, r), a;
|
|
1474
1474
|
}
|
|
1475
1475
|
getSerializer(t) {
|
|
1476
1476
|
const n = U.resolve(la);
|
|
1477
|
-
return
|
|
1477
|
+
return st(n, t), n;
|
|
1478
1478
|
}
|
|
1479
1479
|
ready(t) {
|
|
1480
1480
|
const n = this, r = n._driverSet.then(() => (n._ready === null && (n._ready = n._initDriver()), n._ready));
|
|
1481
|
-
return
|
|
1481
|
+
return st(r, t, t), r;
|
|
1482
1482
|
}
|
|
1483
1483
|
setDriver(t, n, r) {
|
|
1484
1484
|
const a = this;
|
|
@@ -1517,7 +1517,7 @@ class ca {
|
|
|
1517
1517
|
s();
|
|
1518
1518
|
const f = new Error("No available storage method found.");
|
|
1519
1519
|
return a._driverSet = U.reject(f), a._driverSet;
|
|
1520
|
-
}),
|
|
1520
|
+
}), st(this._driverSet, n, r), this._driverSet;
|
|
1521
1521
|
}
|
|
1522
1522
|
supports(t) {
|
|
1523
1523
|
return !!La[t];
|
|
@@ -1712,7 +1712,7 @@ function hi(e) {
|
|
|
1712
1712
|
t.SA_ACCOUNT_REFRESH();
|
|
1713
1713
|
break;
|
|
1714
1714
|
}
|
|
1715
|
-
|
|
1715
|
+
Nt().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 Nt = 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 Ne = typeof window < "u";
|
|
1829
1829
|
let Ee, Je;
|
|
1830
1830
|
if (process.env.NODE_ENV !== "production") {
|
|
1831
|
-
const e =
|
|
1831
|
+
const e = Ne && 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);
|
|
@@ -1840,7 +1840,7 @@ const Ei = /\{([0-9a-zA-Z]+)\}/g;
|
|
|
1840
1840
|
function Zt(e, ...t) {
|
|
1841
1841
|
return t.length === 1 && H(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ei, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
1842
1842
|
}
|
|
1843
|
-
const we = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
1843
|
+
const we = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), bi = (e, t, n) => Si({ l: e, k: t, s: n }), Si = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), vi = (e) => fa(e) === "[object Date]", ut = (e) => fa(e) === "[object RegExp]", en = (e) => G(e) && Object.keys(e).length === 0, ce = Object.assign, yi = Object.create, X = (e = null) => yi(e);
|
|
1844
1844
|
let Da;
|
|
1845
1845
|
const Qe = () => Da || (Da = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : X());
|
|
1846
1846
|
function ka(e) {
|
|
@@ -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", Ci = (e) => H(e) && J(e.then) && J(e.catch), Qr = Object.prototype.toString, fa = (e) => Qr.call(e), G = (e) => fa(e) === "[object Object]", Ni = (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
|
}
|
|
@@ -1979,7 +1979,7 @@ const x = {
|
|
|
1979
1979
|
// minimizer error messages
|
|
1980
1980
|
[x.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
1981
1981
|
};
|
|
1982
|
-
function
|
|
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));
|
|
1984
1984
|
return l.code = e, t && (l.location = t), l.domain = r, l;
|
|
1985
1985
|
}
|
|
@@ -1995,7 +1995,7 @@ function Ui(e) {
|
|
|
1995
1995
|
function E() {
|
|
1996
1996
|
return o = 0, f(n) && (r++, a = 0), s(n) && n++, n++, a++, t[n];
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function b() {
|
|
1999
1999
|
return s(n + o) && o++, o++, t[n + o];
|
|
2000
2000
|
}
|
|
2001
2001
|
function y() {
|
|
@@ -2019,7 +2019,7 @@ function Ui(e) {
|
|
|
2019
2019
|
currentChar: w,
|
|
2020
2020
|
currentPeek: m,
|
|
2021
2021
|
next: E,
|
|
2022
|
-
peek:
|
|
2022
|
+
peek: b,
|
|
2023
2023
|
reset: y,
|
|
2024
2024
|
resetPeek: k,
|
|
2025
2025
|
skipToPeek: R
|
|
@@ -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, C, ...M) {
|
|
2044
2044
|
const ne = c();
|
|
2045
|
-
if (h.column +=
|
|
2046
|
-
const oe = n ? $n(ne.startLoc, h) : null, j =
|
|
2045
|
+
if (h.column += C, h.offset += C, f) {
|
|
2046
|
+
const oe = n ? $n(ne.startLoc, h) : null, j = dt(_, oe, {
|
|
2047
2047
|
domain: Vi,
|
|
2048
2048
|
args: M
|
|
2049
2049
|
});
|
|
2050
2050
|
f(j);
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
|
-
function d(_, h,
|
|
2053
|
+
function d(_, h, C) {
|
|
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)), C != null && (M.value = C), M;
|
|
2057
2057
|
}
|
|
2058
2058
|
const g = (_) => d(
|
|
2059
2059
|
_,
|
|
@@ -2087,57 +2087,57 @@ function Bi(e, t = {}) {
|
|
|
2087
2087
|
const h = _.charCodeAt(0);
|
|
2088
2088
|
return h >= 48 && h <= 57;
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2091
|
-
const { currentType:
|
|
2092
|
-
if (
|
|
2090
|
+
function b(_, h) {
|
|
2091
|
+
const { currentType: C } = h;
|
|
2092
|
+
if (C !== 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: C } = h;
|
|
2100
|
+
if (C !== 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: C } = h;
|
|
2108
|
+
if (C !== 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: C } = h;
|
|
2116
|
+
if (C !== 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: C } = h;
|
|
2124
|
+
if (C !== 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: C } = h;
|
|
2132
|
+
if (!(C === 7 || C === 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: C } = h;
|
|
2140
|
+
if (C !== 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 C = (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(), C(!0, Oe)) : j === fe ? (_.peek(), C(!0, fe)) : !0;
|
|
2157
|
+
}, M = C();
|
|
2158
2158
|
return h && _.resetPeek(), M;
|
|
2159
2159
|
}
|
|
2160
2160
|
function ee(_, h) {
|
|
2161
|
-
const
|
|
2162
|
-
return
|
|
2161
|
+
const C = _.currentChar();
|
|
2162
|
+
return C === ke ? ke : h(C) ? (_.next(), C) : null;
|
|
2163
2163
|
}
|
|
2164
2164
|
function et(_) {
|
|
2165
2165
|
const h = _.charCodeAt(0);
|
|
@@ -2200,58 +2200,58 @@ function Bi(e, t = {}) {
|
|
|
2200
2200
|
function De(_) {
|
|
2201
2201
|
return ee(_, _n);
|
|
2202
2202
|
}
|
|
2203
|
-
function
|
|
2204
|
-
let h = "",
|
|
2203
|
+
function mt(_) {
|
|
2204
|
+
let h = "", C = "";
|
|
2205
2205
|
for (; h = fn(_); )
|
|
2206
|
-
|
|
2207
|
-
return
|
|
2206
|
+
C += h;
|
|
2207
|
+
return C;
|
|
2208
2208
|
}
|
|
2209
2209
|
function dn(_) {
|
|
2210
2210
|
let h = "";
|
|
2211
2211
|
for (; ; ) {
|
|
2212
|
-
const
|
|
2213
|
-
if (
|
|
2212
|
+
const C = _.currentChar();
|
|
2213
|
+
if (C === "{" || C === "}" || C === "@" || C === "|" || !C)
|
|
2214
2214
|
break;
|
|
2215
|
-
if (
|
|
2215
|
+
if (C === Oe || C === fe)
|
|
2216
2216
|
if (de(_))
|
|
2217
|
-
h +=
|
|
2217
|
+
h += C, _.next();
|
|
2218
2218
|
else {
|
|
2219
2219
|
if (re(_))
|
|
2220
2220
|
break;
|
|
2221
|
-
h +=
|
|
2221
|
+
h += C, _.next();
|
|
2222
2222
|
}
|
|
2223
2223
|
else
|
|
2224
|
-
h +=
|
|
2224
|
+
h += C, _.next();
|
|
2225
2225
|
}
|
|
2226
2226
|
return h;
|
|
2227
2227
|
}
|
|
2228
2228
|
function mn(_) {
|
|
2229
2229
|
w(_);
|
|
2230
|
-
let h = "",
|
|
2230
|
+
let h = "", C = "";
|
|
2231
2231
|
for (; h = cn(_); )
|
|
2232
|
-
|
|
2232
|
+
C += 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(x.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0,
|
|
2236
|
+
return u(x.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, C + ne), C + ne;
|
|
2237
2237
|
}
|
|
2238
|
-
return _.currentChar() === ke && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
2238
|
+
return _.currentChar() === ke && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), C;
|
|
2239
2239
|
}
|
|
2240
2240
|
function hn(_) {
|
|
2241
2241
|
w(_);
|
|
2242
2242
|
let h = "";
|
|
2243
|
-
return _.currentChar() === "-" ? (_.next(), h += `-${
|
|
2243
|
+
return _.currentChar() === "-" ? (_.next(), h += `-${mt(_)}`) : h += mt(_), _.currentChar() === ke && u(x.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 = "", C = "";
|
|
2251
2251
|
for (; h = ee(_, gn); )
|
|
2252
|
-
h === "\\" ?
|
|
2252
|
+
h === "\\" ? C += pn(_) : C += h;
|
|
2253
2253
|
const M = _.currentChar();
|
|
2254
|
-
return M === fe || M === ke ? (u(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === fe && (_.next(), T(_, "'")),
|
|
2254
|
+
return M === fe || M === ke ? (u(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === fe && (_.next(), T(_, "'")), C) : (T(_, "'"), C);
|
|
2255
2255
|
}
|
|
2256
2256
|
function pn(_) {
|
|
2257
2257
|
const h = _.currentChar();
|
|
@@ -2267,10 +2267,10 @@ function Bi(e, t = {}) {
|
|
|
2267
2267
|
return u(x.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, h), "";
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
function Mt(_, h,
|
|
2270
|
+
function Mt(_, h, C) {
|
|
2271
2271
|
T(_, h);
|
|
2272
2272
|
let M = "";
|
|
2273
|
-
for (let ne = 0; ne <
|
|
2273
|
+
for (let ne = 0; ne < C; ne++) {
|
|
2274
2274
|
const oe = De(_);
|
|
2275
2275
|
if (!oe) {
|
|
2276
2276
|
u(x.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${h}${M}${_.currentChar()}`);
|
|
@@ -2285,25 +2285,25 @@ function Bi(e, t = {}) {
|
|
|
2285
2285
|
}
|
|
2286
2286
|
function Ut(_) {
|
|
2287
2287
|
w(_);
|
|
2288
|
-
let h = "",
|
|
2288
|
+
let h = "", C = "";
|
|
2289
2289
|
for (; h = ee(_, En); )
|
|
2290
|
-
|
|
2291
|
-
return
|
|
2290
|
+
C += h;
|
|
2291
|
+
return C;
|
|
2292
2292
|
}
|
|
2293
|
-
function
|
|
2294
|
-
let h = "",
|
|
2293
|
+
function bn(_) {
|
|
2294
|
+
let h = "", C = "";
|
|
2295
2295
|
for (; h = sn(_); )
|
|
2296
|
-
|
|
2297
|
-
return
|
|
2296
|
+
C += h;
|
|
2297
|
+
return C;
|
|
2298
2298
|
}
|
|
2299
|
-
function
|
|
2300
|
-
const h = (
|
|
2299
|
+
function Sn(_) {
|
|
2300
|
+
const h = (C) => {
|
|
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 ? C : (C += M, _.next(), h(C));
|
|
2303
2303
|
};
|
|
2304
2304
|
return h("");
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function ht(_) {
|
|
2307
2307
|
w(_);
|
|
2308
2308
|
const h = T(
|
|
2309
2309
|
_,
|
|
@@ -2312,49 +2312,49 @@ function Bi(e, t = {}) {
|
|
|
2312
2312
|
);
|
|
2313
2313
|
return w(_), h;
|
|
2314
2314
|
}
|
|
2315
|
-
function
|
|
2316
|
-
let
|
|
2315
|
+
function gt(_, h) {
|
|
2316
|
+
let C = null;
|
|
2317
2317
|
switch (_.currentChar()) {
|
|
2318
2318
|
case "{":
|
|
2319
|
-
return h.braceNest >= 1 && u(x.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), _.next(),
|
|
2319
|
+
return h.braceNest >= 1 && u(x.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), _.next(), C = d(
|
|
2320
2320
|
h,
|
|
2321
2321
|
2,
|
|
2322
2322
|
"{"
|
|
2323
2323
|
/* TokenChars.BraceLeft */
|
|
2324
|
-
), w(_), h.braceNest++,
|
|
2324
|
+
), w(_), h.braceNest++, C;
|
|
2325
2325
|
case "}":
|
|
2326
|
-
return h.braceNest > 0 && h.currentType === 2 && u(x.EMPTY_PLACEHOLDER, o(), 0), _.next(),
|
|
2326
|
+
return h.braceNest > 0 && h.currentType === 2 && u(x.EMPTY_PLACEHOLDER, o(), 0), _.next(), C = 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), C;
|
|
2332
2332
|
case "@":
|
|
2333
|
-
return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
2333
|
+
return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), C = He(_, h) || g(h), h.braceNest = 0, C;
|
|
2334
2334
|
default: {
|
|
2335
2335
|
let ne = !0, oe = !0, j = !0;
|
|
2336
2336
|
if (re(_))
|
|
2337
|
-
return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
2337
|
+
return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), C = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, C;
|
|
2338
2338
|
if (h.braceNest > 0 && (h.currentType === 4 || h.currentType === 5 || h.currentType === 6))
|
|
2339
|
-
return u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0,
|
|
2340
|
-
if (ne =
|
|
2341
|
-
return
|
|
2339
|
+
return u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0, pt(_, h);
|
|
2340
|
+
if (ne = b(_, h))
|
|
2341
|
+
return C = d(h, 4, mn(_)), w(_), C;
|
|
2342
2342
|
if (oe = y(_, h))
|
|
2343
|
-
return
|
|
2343
|
+
return C = d(h, 5, hn(_)), w(_), C;
|
|
2344
2344
|
if (j = k(_, h))
|
|
2345
|
-
return
|
|
2345
|
+
return C = d(h, 6, Ta(_)), w(_), C;
|
|
2346
2346
|
if (!ne && !oe && !j)
|
|
2347
|
-
return
|
|
2347
|
+
return C = d(h, 12, Ut(_)), u(x.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, C.value), w(_), C;
|
|
2348
2348
|
break;
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
|
-
return
|
|
2351
|
+
return C;
|
|
2352
2352
|
}
|
|
2353
2353
|
function He(_, h) {
|
|
2354
|
-
const { currentType:
|
|
2354
|
+
const { currentType: C } = h;
|
|
2355
2355
|
let M = null;
|
|
2356
2356
|
const ne = _.currentChar();
|
|
2357
|
-
switch ((
|
|
2357
|
+
switch ((C === 7 || C === 8 || C === 11 || C === 9) && (ne === fe || ne === Oe) && u(x.INVALID_LINKED_FORMAT, o(), 0), ne) {
|
|
2358
2358
|
case "@":
|
|
2359
2359
|
return _.next(), M = d(
|
|
2360
2360
|
h,
|
|
@@ -2377,21 +2377,21 @@ function Bi(e, t = {}) {
|
|
|
2377
2377
|
/* TokenChars.LinkedDelimiter */
|
|
2378
2378
|
);
|
|
2379
2379
|
default:
|
|
2380
|
-
return re(_) ? (M = d(h, 1,
|
|
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(_))) : (C === 7 && u(x.INVALID_LINKED_FORMAT, o(), 0), h.braceNest = 0, h.inLinked = !1, pt(_, h));
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
|
-
function
|
|
2384
|
-
let
|
|
2383
|
+
function pt(_, h) {
|
|
2384
|
+
let C = {
|
|
2385
2385
|
type: 13
|
|
2386
2386
|
/* TokenTypes.EOF */
|
|
2387
2387
|
};
|
|
2388
2388
|
if (h.braceNest > 0)
|
|
2389
|
-
return
|
|
2389
|
+
return gt(_, h) || g(h);
|
|
2390
2390
|
if (h.inLinked)
|
|
2391
2391
|
return He(_, h) || g(h);
|
|
2392
2392
|
switch (_.currentChar()) {
|
|
2393
2393
|
case "{":
|
|
2394
|
-
return
|
|
2394
|
+
return gt(_, h) || g(h);
|
|
2395
2395
|
case "}":
|
|
2396
2396
|
return u(x.UNBALANCED_CLOSING_BRACE, o(), 0), _.next(), d(
|
|
2397
2397
|
h,
|
|
@@ -2403,21 +2403,21 @@ function Bi(e, t = {}) {
|
|
|
2403
2403
|
return He(_, h) || g(h);
|
|
2404
2404
|
default: {
|
|
2405
2405
|
if (re(_))
|
|
2406
|
-
return
|
|
2406
|
+
return C = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, C;
|
|
2407
2407
|
if (de(_))
|
|
2408
2408
|
return d(h, 0, dn(_));
|
|
2409
2409
|
break;
|
|
2410
2410
|
}
|
|
2411
2411
|
}
|
|
2412
|
-
return
|
|
2412
|
+
return C;
|
|
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: C, endLoc: M } = i;
|
|
2416
|
+
return i.lastType = _, i.lastOffset = h, i.lastStartLoc = C, i.lastEndLoc = M, i.offset = a(), i.startLoc = o(), r.currentChar() === ke ? d(
|
|
2417
2417
|
i,
|
|
2418
2418
|
13
|
|
2419
2419
|
/* TokenTypes.EOF */
|
|
2420
|
-
) :
|
|
2420
|
+
) : pt(r, i);
|
|
2421
2421
|
}
|
|
2422
2422
|
return {
|
|
2423
2423
|
nextToken: vn,
|
|
@@ -2442,87 +2442,87 @@ function Wi(e, t, n) {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
function Yi(e = {}) {
|
|
2444
2444
|
const t = e.location !== !1, { onError: n } = e;
|
|
2445
|
-
function r(m, E,
|
|
2445
|
+
function r(m, E, b, y, ...k) {
|
|
2446
2446
|
const R = m.currentPosition();
|
|
2447
2447
|
if (R.offset += y, R.column += y, n) {
|
|
2448
|
-
const A = t ? $n(
|
|
2448
|
+
const A = t ? $n(b, R) : null, B = dt(E, A, {
|
|
2449
2449
|
domain: Gi,
|
|
2450
2450
|
args: k
|
|
2451
2451
|
});
|
|
2452
2452
|
n(B);
|
|
2453
2453
|
}
|
|
2454
2454
|
}
|
|
2455
|
-
function a(m, E,
|
|
2455
|
+
function a(m, E, b) {
|
|
2456
2456
|
const y = { type: m };
|
|
2457
|
-
return t && (y.start = E, y.end = E, y.loc = { start:
|
|
2457
|
+
return t && (y.start = E, y.end = E, y.loc = { start: b, end: b }), y;
|
|
2458
2458
|
}
|
|
2459
|
-
function o(m, E,
|
|
2460
|
-
t && (m.end = E, m.loc && (m.loc.end =
|
|
2459
|
+
function o(m, E, b, y) {
|
|
2460
|
+
t && (m.end = E, m.loc && (m.loc.end = b));
|
|
2461
2461
|
}
|
|
2462
2462
|
function s(m, E) {
|
|
2463
|
-
const
|
|
2463
|
+
const b = m.context(), y = a(3, b.offset, b.startLoc);
|
|
2464
2464
|
return y.value = E, o(y, m.currentOffset(), m.currentPosition()), y;
|
|
2465
2465
|
}
|
|
2466
2466
|
function l(m, E) {
|
|
2467
|
-
const
|
|
2467
|
+
const b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(5, y, k);
|
|
2468
2468
|
return R.index = parseInt(E, 10), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
|
|
2469
2469
|
}
|
|
2470
2470
|
function i(m, E) {
|
|
2471
|
-
const
|
|
2471
|
+
const b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(4, y, k);
|
|
2472
2472
|
return R.key = E, m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
|
|
2473
2473
|
}
|
|
2474
2474
|
function c(m, E) {
|
|
2475
|
-
const
|
|
2475
|
+
const b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(9, y, k);
|
|
2476
2476
|
return R.value = E.replace($i, Wi), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
|
|
2477
2477
|
}
|
|
2478
2478
|
function f(m) {
|
|
2479
|
-
const E = m.nextToken(),
|
|
2480
|
-
return E.type !== 11 ? (r(m, x.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
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, x.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, x.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
2483
|
+
}) : (E.value == null && r(m, x.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
|
}
|
|
2487
2487
|
function u(m, E) {
|
|
2488
|
-
const
|
|
2488
|
+
const b = m.context(), y = a(7, b.offset, b.startLoc);
|
|
2489
2489
|
return y.value = E, o(y, m.currentOffset(), m.currentPosition()), y;
|
|
2490
2490
|
}
|
|
2491
2491
|
function d(m) {
|
|
2492
|
-
const E = m.context(),
|
|
2492
|
+
const E = m.context(), b = a(6, E.offset, E.startLoc);
|
|
2493
2493
|
let y = m.nextToken();
|
|
2494
2494
|
if (y.type === 8) {
|
|
2495
2495
|
const k = f(m);
|
|
2496
|
-
|
|
2496
|
+
b.modifier = k.node, y = k.nextConsumeToken || m.nextToken();
|
|
2497
2497
|
}
|
|
2498
2498
|
switch (y.type !== 9 && r(m, x.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, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)),
|
|
2500
|
+
y.value == null && r(m, x.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, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)),
|
|
2503
|
+
y.value == null && r(m, x.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, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)),
|
|
2506
|
+
y.value == null && r(m, x.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, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)),
|
|
2509
|
+
y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = c(m, y.value || "");
|
|
2510
2510
|
break;
|
|
2511
2511
|
default: {
|
|
2512
2512
|
r(m, x.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
|
|
2513
2513
|
const k = m.context(), R = a(7, k.offset, k.startLoc);
|
|
2514
|
-
return R.value = "", o(R, k.offset, k.startLoc),
|
|
2514
|
+
return R.value = "", o(R, k.offset, k.startLoc), b.key = R, o(b, k.offset, k.startLoc), {
|
|
2515
2515
|
nextConsumeToken: y,
|
|
2516
|
-
node:
|
|
2516
|
+
node: b
|
|
2517
2517
|
};
|
|
2518
2518
|
}
|
|
2519
2519
|
}
|
|
2520
|
-
return o(
|
|
2521
|
-
node:
|
|
2520
|
+
return o(b, m.currentOffset(), m.currentPosition()), {
|
|
2521
|
+
node: b
|
|
2522
2522
|
};
|
|
2523
2523
|
}
|
|
2524
2524
|
function g(m) {
|
|
2525
|
-
const E = m.context(),
|
|
2525
|
+
const E = m.context(), b = E.currentType === 1 ? m.currentOffset() : E.offset, y = E.currentType === 1 ? E.endLoc : E.startLoc, k = a(2, b, y);
|
|
2526
2526
|
k.items = [];
|
|
2527
2527
|
let R = null;
|
|
2528
2528
|
do {
|
|
@@ -2550,24 +2550,24 @@ function Yi(e = {}) {
|
|
|
2550
2550
|
const A = E.currentType === 1 ? E.lastOffset : m.currentOffset(), B = E.currentType === 1 ? E.lastEndLoc : m.currentPosition();
|
|
2551
2551
|
return o(k, A, B), k;
|
|
2552
2552
|
}
|
|
2553
|
-
function T(m, E,
|
|
2553
|
+
function T(m, E, b, y) {
|
|
2554
2554
|
const k = m.context();
|
|
2555
2555
|
let R = y.items.length === 0;
|
|
2556
|
-
const A = a(1, E,
|
|
2556
|
+
const A = a(1, E, b);
|
|
2557
2557
|
A.cases = [], A.cases.push(y);
|
|
2558
2558
|
do {
|
|
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, x.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
2562
|
+
return R && r(m, x.MUST_HAVE_MESSAGES_IN_PLURAL, b, 0), o(A, m.currentOffset(), m.currentPosition()), A;
|
|
2563
2563
|
}
|
|
2564
2564
|
function p(m) {
|
|
2565
|
-
const E = m.context(), { offset:
|
|
2566
|
-
return E.currentType === 13 ? k : T(m,
|
|
2565
|
+
const E = m.context(), { offset: b, startLoc: y } = E, k = g(m);
|
|
2566
|
+
return E.currentType === 13 ? k : T(m, b, y, k);
|
|
2567
2567
|
}
|
|
2568
2568
|
function w(m) {
|
|
2569
|
-
const E = Bi(m, ce({}, e)),
|
|
2570
|
-
return t && y.loc && (y.loc.source = m), y.body = p(E), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)),
|
|
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, x.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
|
}
|
|
@@ -2664,24 +2664,24 @@ function Ua(e) {
|
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
2666
|
const qi = "minifier";
|
|
2667
|
-
function
|
|
2667
|
+
function it(e) {
|
|
2668
2668
|
switch (e.t = e.type, e.type) {
|
|
2669
2669
|
case 0: {
|
|
2670
2670
|
const t = e;
|
|
2671
|
-
|
|
2671
|
+
it(t.body), t.b = t.body, delete t.body;
|
|
2672
2672
|
break;
|
|
2673
2673
|
}
|
|
2674
2674
|
case 1: {
|
|
2675
2675
|
const t = e, n = t.cases;
|
|
2676
2676
|
for (let r = 0; r < n.length; r++)
|
|
2677
|
-
|
|
2677
|
+
it(n[r]);
|
|
2678
2678
|
t.c = n, delete t.cases;
|
|
2679
2679
|
break;
|
|
2680
2680
|
}
|
|
2681
2681
|
case 2: {
|
|
2682
2682
|
const t = e, n = t.items;
|
|
2683
2683
|
for (let r = 0; r < n.length; r++)
|
|
2684
|
-
|
|
2684
|
+
it(n[r]);
|
|
2685
2685
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
2686
2686
|
break;
|
|
2687
2687
|
}
|
|
@@ -2695,7 +2695,7 @@ function st(e) {
|
|
|
2695
2695
|
}
|
|
2696
2696
|
case 6: {
|
|
2697
2697
|
const t = e;
|
|
2698
|
-
|
|
2698
|
+
it(t.key), t.k = t.key, delete t.key, t.modifier && (it(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
2699
2699
|
break;
|
|
2700
2700
|
}
|
|
2701
2701
|
case 5: {
|
|
@@ -2710,7 +2710,7 @@ function st(e) {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
default:
|
|
2712
2712
|
if (process.env.NODE_ENV !== "production")
|
|
2713
|
-
throw
|
|
2713
|
+
throw dt(x.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
2714
2714
|
domain: qi,
|
|
2715
2715
|
args: [e.type]
|
|
2716
2716
|
});
|
|
@@ -2765,7 +2765,7 @@ function Ji(e, t) {
|
|
|
2765
2765
|
e.push(`${n(
|
|
2766
2766
|
"linked"
|
|
2767
2767
|
/* HelperNameMap.LINKED */
|
|
2768
|
-
)}(`),
|
|
2768
|
+
)}(`), ft(e, t.key), t.modifier ? (e.push(", "), ft(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
2769
2769
|
}
|
|
2770
2770
|
function zi(e, t) {
|
|
2771
2771
|
const { helper: n, needIndent: r } = e;
|
|
@@ -2774,7 +2774,7 @@ function zi(e, t) {
|
|
|
2774
2774
|
/* HelperNameMap.NORMALIZE */
|
|
2775
2775
|
)}([`), e.indent(r());
|
|
2776
2776
|
const a = t.items.length;
|
|
2777
|
-
for (let o = 0; o < a && (
|
|
2777
|
+
for (let o = 0; o < a && (ft(e, t.items[o]), o !== a - 1); o++)
|
|
2778
2778
|
e.push(", ");
|
|
2779
2779
|
e.deindent(r()), e.push("])");
|
|
2780
2780
|
}
|
|
@@ -2786,15 +2786,15 @@ function Zi(e, t) {
|
|
|
2786
2786
|
/* HelperNameMap.PLURAL */
|
|
2787
2787
|
)}([`), e.indent(r());
|
|
2788
2788
|
const a = t.cases.length;
|
|
2789
|
-
for (let o = 0; o < a && (
|
|
2789
|
+
for (let o = 0; o < a && (ft(e, t.cases[o]), o !== a - 1); o++)
|
|
2790
2790
|
e.push(", ");
|
|
2791
2791
|
e.deindent(r()), e.push("])");
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
2794
2794
|
function el(e, t) {
|
|
2795
|
-
t.body ?
|
|
2795
|
+
t.body ? ft(e, t.body) : e.push("null");
|
|
2796
2796
|
}
|
|
2797
|
-
function
|
|
2797
|
+
function ft(e, t) {
|
|
2798
2798
|
const { helper: n } = e;
|
|
2799
2799
|
switch (t.type) {
|
|
2800
2800
|
case 0:
|
|
@@ -2841,7 +2841,7 @@ function ut(e, t) {
|
|
|
2841
2841
|
break;
|
|
2842
2842
|
default:
|
|
2843
2843
|
if (process.env.NODE_ENV !== "production")
|
|
2844
|
-
throw
|
|
2844
|
+
throw dt(x.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
2845
2845
|
domain: Xi,
|
|
2846
2846
|
args: [t.type]
|
|
2847
2847
|
});
|
|
@@ -2856,7 +2856,7 @@ const tl = (e, t = {}) => {
|
|
|
2856
2856
|
breakLineCode: a,
|
|
2857
2857
|
needIndent: o
|
|
2858
2858
|
});
|
|
2859
|
-
l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${_a(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "),
|
|
2859
|
+
l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${_a(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "), ft(l, e), l.deindent(o), l.push("}"), delete e.helpers;
|
|
2860
2860
|
const { code: i, map: c } = l.context();
|
|
2861
2861
|
return {
|
|
2862
2862
|
ast: e,
|
|
@@ -2867,7 +2867,7 @@ const tl = (e, t = {}) => {
|
|
|
2867
2867
|
};
|
|
2868
2868
|
function nl(e, t = {}) {
|
|
2869
2869
|
const n = ce({}, t), r = !!n.jit, a = !!n.minify, o = n.optimize == null ? !0 : n.optimize, l = Yi(n).parse(e);
|
|
2870
|
-
return r ? (o && ji(l), a &&
|
|
2870
|
+
return r ? (o && ji(l), a && it(l), { ast: l, code: "" }) : (Ki(l, n), tl(l, n));
|
|
2871
2871
|
}
|
|
2872
2872
|
/*!
|
|
2873
2873
|
* core-base v11.1.12
|
|
@@ -3055,8 +3055,8 @@ function pl(e, t, n) {
|
|
|
3055
3055
|
meta: n
|
|
3056
3056
|
});
|
|
3057
3057
|
}
|
|
3058
|
-
const El = /* @__PURE__ */
|
|
3059
|
-
function
|
|
3058
|
+
const El = /* @__PURE__ */ bl("function:translate");
|
|
3059
|
+
function bl(e) {
|
|
3060
3060
|
return (t) => It && It.emit(e, t);
|
|
3061
3061
|
}
|
|
3062
3062
|
const _e = {
|
|
@@ -3068,9 +3068,9 @@ const _e = {
|
|
|
3068
3068
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
3069
3069
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
3070
3070
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
3071
|
-
},
|
|
3071
|
+
}, Sl = 24;
|
|
3072
3072
|
function Fe(e) {
|
|
3073
|
-
return
|
|
3073
|
+
return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: vl } : void 0);
|
|
3074
3074
|
}
|
|
3075
3075
|
const vl = {
|
|
3076
3076
|
[_e.INVALID_ARGUMENT]: "Invalid arguments",
|
|
@@ -3084,18 +3084,18 @@ const vl = {
|
|
|
3084
3084
|
function ga(e, t) {
|
|
3085
3085
|
return t.locale != null ? Va(t.locale) : Va(e.locale);
|
|
3086
3086
|
}
|
|
3087
|
-
let
|
|
3087
|
+
let Cn;
|
|
3088
3088
|
function Va(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 && Cn != null)
|
|
3093
|
+
return Cn;
|
|
3094
3094
|
if (e.constructor.name === "Function") {
|
|
3095
3095
|
const t = e();
|
|
3096
|
-
if (
|
|
3096
|
+
if (Ci(t))
|
|
3097
3097
|
throw Fe(_e.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
3098
|
-
return
|
|
3098
|
+
return Cn = 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 Cl = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
3312
|
+
function Nl(e) {
|
|
3313
|
+
return Cl.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 : Nl(t) ? Ol(t) : "*" + t;
|
|
3359
3359
|
}
|
|
3360
3360
|
function wl(e) {
|
|
3361
3361
|
const t = [];
|
|
@@ -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 : Nn(a), l = G(e.datetimeFormats) ? e.datetimeFormats : Nn(a), i = G(e.numberFormats) ? e.numberFormats : Nn(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++;
|
|
@@ -3506,7 +3506,7 @@ function Wl(e = {}) {
|
|
|
3506
3506
|
postTranslation: w,
|
|
3507
3507
|
processor: m,
|
|
3508
3508
|
warnHtmlMessage: E,
|
|
3509
|
-
escapeParameter:
|
|
3509
|
+
escapeParameter: b,
|
|
3510
3510
|
messageCompiler: y,
|
|
3511
3511
|
messageResolver: k,
|
|
3512
3512
|
localeFallbacker: R,
|
|
@@ -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 Nn = (e) => ({ [e]: X() });
|
|
3520
3520
|
function nn(e, t) {
|
|
3521
3521
|
return e instanceof RegExp ? e.test(t) : e;
|
|
3522
3522
|
}
|
|
@@ -3540,7 +3540,7 @@ function pa(e, t, n, r, a) {
|
|
|
3540
3540
|
} else
|
|
3541
3541
|
return process.env.NODE_ENV !== "production" && _o(r, t) && s(ze(me.NOT_FOUND_KEY, { key: t, locale: n })), t;
|
|
3542
3542
|
}
|
|
3543
|
-
function
|
|
3543
|
+
function vt(e, t, n) {
|
|
3544
3544
|
const r = e;
|
|
3545
3545
|
r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
3546
3546
|
}
|
|
@@ -3572,7 +3572,7 @@ function Ka(e, ...t) {
|
|
|
3572
3572
|
);
|
|
3573
3573
|
if (!P(i) || i === "")
|
|
3574
3574
|
return new Intl.DateTimeFormat(p, u).format(c);
|
|
3575
|
-
let m = {}, E,
|
|
3575
|
+
let m = {}, E, b = null, y = p, k = null;
|
|
3576
3576
|
const R = "datetime format";
|
|
3577
3577
|
for (let Y = 0; Y < w.length; Y++) {
|
|
3578
3578
|
if (E = k = w[Y], process.env.NODE_ENV !== "production" && p !== E && nn(g, i) && o(ze(me.FALLBACK_TO_DATE_FORMAT, {
|
|
@@ -3588,16 +3588,16 @@ function Ka(e, ...t) {
|
|
|
3588
3588
|
groupId: `${R}:${i}`
|
|
3589
3589
|
});
|
|
3590
3590
|
}
|
|
3591
|
-
if (m = n[E] || {},
|
|
3591
|
+
if (m = n[E] || {}, b = m[i], G(b))
|
|
3592
3592
|
break;
|
|
3593
3593
|
pa(e, i, E, d, R), y = k;
|
|
3594
3594
|
}
|
|
3595
|
-
if (!G(
|
|
3595
|
+
if (!G(b) || !P(E))
|
|
3596
3596
|
return r ? tn : i;
|
|
3597
3597
|
let A = `${E}__${i}`;
|
|
3598
3598
|
en(u) || (A = `${A}__${JSON.stringify(u)}`);
|
|
3599
3599
|
let B = l.get(A);
|
|
3600
|
-
return B || (B = new Intl.DateTimeFormat(E, ce({},
|
|
3600
|
+
return B || (B = new Intl.DateTimeFormat(E, ce({}, b, u)), l.set(A, B)), T ? B.formatToParts(c) : B.format(c);
|
|
3601
3601
|
}
|
|
3602
3602
|
const go = [
|
|
3603
3603
|
"localeMatcher",
|
|
@@ -3666,7 +3666,7 @@ function qa(e, ...t) {
|
|
|
3666
3666
|
);
|
|
3667
3667
|
if (!P(i) || i === "")
|
|
3668
3668
|
return new Intl.NumberFormat(p, u).format(c);
|
|
3669
|
-
let m = {}, E,
|
|
3669
|
+
let m = {}, E, b = null, y = p, k = null;
|
|
3670
3670
|
const R = "number format";
|
|
3671
3671
|
for (let Y = 0; Y < w.length; Y++) {
|
|
3672
3672
|
if (E = k = w[Y], process.env.NODE_ENV !== "production" && p !== E && nn(g, i) && o(ze(me.FALLBACK_TO_NUMBER_FORMAT, {
|
|
@@ -3682,16 +3682,16 @@ function qa(e, ...t) {
|
|
|
3682
3682
|
groupId: `${R}:${i}`
|
|
3683
3683
|
});
|
|
3684
3684
|
}
|
|
3685
|
-
if (m = n[E] || {},
|
|
3685
|
+
if (m = n[E] || {}, b = m[i], G(b))
|
|
3686
3686
|
break;
|
|
3687
3687
|
pa(e, i, E, d, R), y = k;
|
|
3688
3688
|
}
|
|
3689
|
-
if (!G(
|
|
3689
|
+
if (!G(b) || !P(E))
|
|
3690
3690
|
return r ? tn : i;
|
|
3691
3691
|
let A = `${E}__${i}`;
|
|
3692
3692
|
en(u) || (A = `${A}__${JSON.stringify(u)}`);
|
|
3693
3693
|
let B = l.get(A);
|
|
3694
|
-
return B || (B = new Intl.NumberFormat(E, ce({},
|
|
3694
|
+
return B || (B = new Intl.NumberFormat(E, ce({}, b, u)), l.set(A, B)), T ? B.formatToParts(c) : B.format(c);
|
|
3695
3695
|
}
|
|
3696
3696
|
const po = [
|
|
3697
3697
|
"localeMatcher",
|
|
@@ -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 = Ni;
|
|
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
|
}
|
|
@@ -3748,17 +3748,17 @@ function zl(e = {}) {
|
|
|
3748
3748
|
ie(e.pluralIndex) && Jl(n, i);
|
|
3749
3749
|
const c = (m) => i[m];
|
|
3750
3750
|
function f(m, E) {
|
|
3751
|
-
const
|
|
3752
|
-
return
|
|
3751
|
+
const b = J(e.messages) ? e.messages(m, !!E) : H(e.messages) ? e.messages[m] : !1;
|
|
3752
|
+
return b || (e.parent ? e.parent.message(m) : Kl);
|
|
3753
3753
|
}
|
|
3754
3754
|
const u = (m) => e.modifiers ? e.modifiers[m] : Hl, d = G(e.processor) && J(e.processor.normalize) ? e.processor.normalize : ql, g = G(e.processor) && J(e.processor.interpolate) ? e.processor.interpolate : Xl, T = G(e.processor) && P(e.processor.type) ? e.processor.type : jl, w = {
|
|
3755
3755
|
list: l,
|
|
3756
3756
|
named: c,
|
|
3757
3757
|
plural: o,
|
|
3758
3758
|
linked: (m, ...E) => {
|
|
3759
|
-
const [
|
|
3759
|
+
const [b, y] = E;
|
|
3760
3760
|
let k = "text", R = "";
|
|
3761
|
-
E.length === 1 ? H(
|
|
3761
|
+
E.length === 1 ? H(b) ? (R = b.modifier || R, k = b.type || k) : P(b) && (R = b || R) : E.length === 2 && (P(b) && (R = b || R), P(y) && (k = y || k));
|
|
3762
3762
|
const A = f(m, !0)(w), B = (
|
|
3763
3763
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
3764
3764
|
k === "vnode" && ae(A) && R ? A[0] : A
|
|
@@ -3773,33 +3773,33 @@ function zl(e = {}) {
|
|
|
3773
3773
|
};
|
|
3774
3774
|
return w;
|
|
3775
3775
|
}
|
|
3776
|
-
const Ja = () => "",
|
|
3776
|
+
const Ja = () => "", be = (e) => J(e);
|
|
3777
3777
|
function za(e, ...t) {
|
|
3778
3778
|
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: s, messages: l } = e, [i, c] = Kn(...t), f = K(c.missingWarn) ? c.missingWarn : e.missingWarn, u = K(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, d = K(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, T = P(c.default) || K(c.default) ? K(c.default) ? o ? i : () => i : c.default : n ? o ? i : () => i : null, p = n || T != null && (P(T) || J(T)), w = ga(e, c);
|
|
3779
3779
|
d && Zl(c);
|
|
3780
|
-
let [m, E,
|
|
3780
|
+
let [m, E, b] = g ? [
|
|
3781
3781
|
i,
|
|
3782
3782
|
w,
|
|
3783
3783
|
l[w] || X()
|
|
3784
3784
|
] : Eo(e, i, w, s, u, f), y = m, k = i;
|
|
3785
|
-
if (!g && !(P(y) || ye(y) ||
|
|
3785
|
+
if (!g && !(P(y) || ye(y) || be(y)) && p && (y = T, k = y), !g && (!(P(y) || ye(y) || be(y)) || !P(E)))
|
|
3786
3786
|
return a ? tn : i;
|
|
3787
3787
|
if (process.env.NODE_ENV !== "production" && P(y) && e.messageCompiler == null)
|
|
3788
3788
|
return `${i}`, i;
|
|
3789
3789
|
let R = !1;
|
|
3790
3790
|
const A = () => {
|
|
3791
3791
|
R = !0;
|
|
3792
|
-
}, B =
|
|
3792
|
+
}, B = be(y) ? y : bo(e, i, E, y, k, A);
|
|
3793
3793
|
if (R)
|
|
3794
3794
|
return y;
|
|
3795
|
-
const Y = ac(e, E,
|
|
3795
|
+
const Y = ac(e, E, b, c), re = zl(Y), de = ec(e, B, re);
|
|
3796
3796
|
let ee = r ? r(de, i) : de;
|
|
3797
3797
|
if (d && P(ee) && (ee = Ti(ee)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3798
3798
|
const et = {
|
|
3799
3799
|
timestamp: Date.now(),
|
|
3800
|
-
key: P(i) ? i :
|
|
3801
|
-
locale: E || (
|
|
3802
|
-
format: P(y) ? y :
|
|
3800
|
+
key: P(i) ? i : be(y) ? y.key : "",
|
|
3801
|
+
locale: E || (be(y) ? y.locale : ""),
|
|
3802
|
+
format: P(y) ? y : be(y) ? y.source : "",
|
|
3803
3803
|
message: ee
|
|
3804
3804
|
};
|
|
3805
3805
|
et.meta = ce({}, e.__meta, /* @__PURE__ */ Gl() || {}), El(et);
|
|
@@ -3830,8 +3830,8 @@ function Eo(e, t, n, r, a, o) {
|
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
3832
|
u = s[d] || X();
|
|
3833
|
-
let E = null,
|
|
3834
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3833
|
+
let E = null, b, y;
|
|
3834
|
+
if (process.env.NODE_ENV !== "production" && Ne && (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" && Ne) {
|
|
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",
|
|
@@ -3839,9 +3839,9 @@ function Eo(e, t, n, r, a, o) {
|
|
|
3839
3839
|
message: g,
|
|
3840
3840
|
time: k - E,
|
|
3841
3841
|
groupId: `${w}:${t}`
|
|
3842
|
-
}),
|
|
3842
|
+
}), b && y && Ee && Je && (Ee(y), Je("intlify message resolve", b, y));
|
|
3843
3843
|
}
|
|
3844
|
-
if (P(g) || ye(g) ||
|
|
3844
|
+
if (P(g) || ye(g) || be(g))
|
|
3845
3845
|
break;
|
|
3846
3846
|
if (!Yl(d, f)) {
|
|
3847
3847
|
const k = pa(
|
|
@@ -3858,9 +3858,9 @@ function Eo(e, t, n, r, a, o) {
|
|
|
3858
3858
|
}
|
|
3859
3859
|
return [g, d, u];
|
|
3860
3860
|
}
|
|
3861
|
-
function
|
|
3861
|
+
function bo(e, t, n, r, a, o) {
|
|
3862
3862
|
const { messageCompiler: s, warnHtmlMessage: l } = e;
|
|
3863
|
-
if (
|
|
3863
|
+
if (be(r)) {
|
|
3864
3864
|
const d = r;
|
|
3865
3865
|
return d.locale = d.locale || n, d.key = d.key || t, d;
|
|
3866
3866
|
}
|
|
@@ -3869,9 +3869,9 @@ function So(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" && Ne && (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" && Ne) {
|
|
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 So(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" && Ne && (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" && Ne) {
|
|
3890
3890
|
const l = window.performance.now(), i = e.__v_emitter;
|
|
3891
3891
|
i && r && i.emit("message-evaluation", {
|
|
3892
3892
|
type: "message-evaluation",
|
|
@@ -3899,9 +3899,9 @@ function ec(e, t, n) {
|
|
|
3899
3899
|
}
|
|
3900
3900
|
function Kn(...e) {
|
|
3901
3901
|
const [t, n, r] = e, a = X();
|
|
3902
|
-
if (!P(t) && !ie(t) && !
|
|
3902
|
+
if (!P(t) && !ie(t) && !be(t) && !ye(t))
|
|
3903
3903
|
throw Fe(_e.INVALID_ARGUMENT);
|
|
3904
|
-
const o = ie(t) ? String(t) : (
|
|
3904
|
+
const o = ie(t) ? String(t) : (be(t), t);
|
|
3905
3905
|
return ie(n) ? a.plural = n : P(n) ? a.default = n : G(n) && !en(n) ? a.named = n : ae(n) && (a.list = n), ie(r) ? a.plural = r : P(r) ? a.default = r : G(r) && ce(a, r), [o, a];
|
|
3906
3906
|
}
|
|
3907
3907
|
function tc(e, t, n, r, a, o) {
|
|
@@ -3922,7 +3922,7 @@ function tc(e, t, n, r, a, o) {
|
|
|
3922
3922
|
} else
|
|
3923
3923
|
throw s;
|
|
3924
3924
|
},
|
|
3925
|
-
onCacheKey: (s) =>
|
|
3925
|
+
onCacheKey: (s) => bi(t, n, s)
|
|
3926
3926
|
};
|
|
3927
3927
|
}
|
|
3928
3928
|
function nc(e) {
|
|
@@ -3952,20 +3952,20 @@ function ac(e, t, n, r) {
|
|
|
3952
3952
|
}
|
|
3953
3953
|
if (P(p) || ye(p)) {
|
|
3954
3954
|
let w = !1;
|
|
3955
|
-
const E =
|
|
3955
|
+
const E = bo(e, g, t, p, g, () => {
|
|
3956
3956
|
w = !0;
|
|
3957
3957
|
});
|
|
3958
3958
|
return w ? Ja : E;
|
|
3959
|
-
} else return
|
|
3959
|
+
} else return be(p) ? p : Ja;
|
|
3960
3960
|
}
|
|
3961
3961
|
};
|
|
3962
3962
|
return e.processor && (d.processor = e.processor), r.list && (d.list = r.list), r.named && (d.named = r.named), ie(r.plural) && (d.pluralIndex = r.plural), d;
|
|
3963
3963
|
}
|
|
3964
3964
|
al();
|
|
3965
3965
|
function rc() {
|
|
3966
|
-
return
|
|
3966
|
+
return So().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
3967
3967
|
}
|
|
3968
|
-
function
|
|
3968
|
+
function So() {
|
|
3969
3969
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
3970
3970
|
}
|
|
3971
3971
|
const oc = typeof Proxy == "function", sc = "devtools-plugin:setup", ic = "plugin:settings:set";
|
|
@@ -4040,7 +4040,7 @@ class uc {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
4042
|
function fc(e, t) {
|
|
4043
|
-
const n = e, r =
|
|
4043
|
+
const n = e, r = So(), a = rc(), o = oc && n.enableEarlyProxy;
|
|
4044
4044
|
if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o))
|
|
4045
4045
|
a.emit(sc, e, t);
|
|
4046
4046
|
else {
|
|
@@ -4063,7 +4063,7 @@ function dc() {
|
|
|
4063
4063
|
}
|
|
4064
4064
|
const Z = {
|
|
4065
4065
|
// composer module errors
|
|
4066
|
-
UNEXPECTED_RETURN_TYPE:
|
|
4066
|
+
UNEXPECTED_RETURN_TYPE: Sl,
|
|
4067
4067
|
// 24
|
|
4068
4068
|
// legacy module errors
|
|
4069
4069
|
INVALID_ARGUMENT: 25,
|
|
@@ -4084,7 +4084,7 @@ const Z = {
|
|
|
4084
4084
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
4085
4085
|
};
|
|
4086
4086
|
function he(e, ...t) {
|
|
4087
|
-
return
|
|
4087
|
+
return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: mc, args: t } : void 0);
|
|
4088
4088
|
}
|
|
4089
4089
|
const mc = {
|
|
4090
4090
|
[Z.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
@@ -4098,7 +4098,7 @@ const mc = {
|
|
|
4098
4098
|
[Z.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
4099
4099
|
[Z.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
4100
4100
|
[Z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
4101
|
-
}, qn = /* @__PURE__ */ we("__translateVNode"), Xn = /* @__PURE__ */ we("__datetimeParts"), Qn = /* @__PURE__ */ we("__numberParts"), Ze = /* @__PURE__ */ we("__enableEmitter"), wt = /* @__PURE__ */ we("__disableEmitter"), vo = we("__setPluralRules"), yo = /* @__PURE__ */ we("__injectWithOption"), Jn = /* @__PURE__ */ we("__dispose"),
|
|
4101
|
+
}, qn = /* @__PURE__ */ we("__translateVNode"), Xn = /* @__PURE__ */ we("__datetimeParts"), Qn = /* @__PURE__ */ we("__numberParts"), Ze = /* @__PURE__ */ we("__enableEmitter"), wt = /* @__PURE__ */ we("__disableEmitter"), vo = we("__setPluralRules"), yo = /* @__PURE__ */ we("__injectWithOption"), Jn = /* @__PURE__ */ we("__dispose"), Se = {
|
|
4102
4102
|
FALLBACK_TO_ROOT: Rl,
|
|
4103
4103
|
// 8
|
|
4104
4104
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
@@ -4114,21 +4114,21 @@ const mc = {
|
|
|
4114
4114
|
// duplicate `useI18n` calling
|
|
4115
4115
|
DUPLICATE_USE_I18N_CALLING: 13
|
|
4116
4116
|
}, hc = {
|
|
4117
|
-
[
|
|
4118
|
-
[
|
|
4119
|
-
[
|
|
4117
|
+
[Se.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
4118
|
+
[Se.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
4119
|
+
[Se.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
4120
4120
|
/**
|
|
4121
4121
|
* @deprecated will be removed at vue-i18n v12
|
|
4122
4122
|
*/
|
|
4123
|
-
[
|
|
4123
|
+
[Se.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
|
|
4124
4124
|
About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,
|
|
4125
4125
|
/**
|
|
4126
4126
|
* @deprecated will be removed at vue-i18n v12
|
|
4127
4127
|
*/
|
|
4128
|
-
[
|
|
4129
|
-
[
|
|
4128
|
+
[Se.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
|
|
4129
|
+
[Se.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
|
|
4130
4130
|
};
|
|
4131
|
-
function
|
|
4131
|
+
function _t(e, ...t) {
|
|
4132
4132
|
return Zt(hc[e], ...t);
|
|
4133
4133
|
}
|
|
4134
4134
|
function Dt(e) {
|
|
@@ -4145,7 +4145,7 @@ function Dt(e) {
|
|
|
4145
4145
|
if (n[s] === "__proto__")
|
|
4146
4146
|
throw new Error(`unsafe key: ${n[s]}`);
|
|
4147
4147
|
if (n[s] in a || (a[n[s]] = X()), !H(a[n[s]])) {
|
|
4148
|
-
process.env.NODE_ENV !== "production" && (
|
|
4148
|
+
process.env.NODE_ENV !== "production" && (_t(Se.IGNORE_OBJ_FLATTEN, {
|
|
4149
4149
|
key: n[s]
|
|
4150
4150
|
}), void 0), o = !0;
|
|
4151
4151
|
break;
|
|
@@ -4201,20 +4201,20 @@ function Ao(e, t, n) {
|
|
|
4201
4201
|
}
|
|
4202
4202
|
}
|
|
4203
4203
|
function Za(e) {
|
|
4204
|
-
return
|
|
4204
|
+
return S(Ho, null, e, 0);
|
|
4205
4205
|
}
|
|
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, Ct() || void 0, a);
|
|
4210
4210
|
}
|
|
4211
4211
|
const pc = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
4212
|
-
const e =
|
|
4212
|
+
const e = Ct();
|
|
4213
4213
|
let t = null;
|
|
4214
4214
|
return e && (t = To(e)[er]) ? { [er]: t } : null;
|
|
4215
4215
|
};
|
|
4216
|
-
function
|
|
4217
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o =
|
|
4216
|
+
function ba(e = {}) {
|
|
4217
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o = Ne ? Vo : Bo;
|
|
4218
4218
|
let s = K(e.inheritLocale) ? e.inheritLocale : !0;
|
|
4219
4219
|
const l = o(
|
|
4220
4220
|
// prettier-ignore
|
|
@@ -4223,7 +4223,7 @@ function Sa(e = {}) {
|
|
|
4223
4223
|
// prettier-ignore
|
|
4224
4224
|
t && s ? t.fallbackLocale.value : P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
|
|
4225
4225
|
), c = o(Ea(l.value, e)), f = o(G(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), u = o(G(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
|
|
4226
|
-
let d = t ? t.missingWarn : K(e.missingWarn) ||
|
|
4226
|
+
let d = t ? t.missingWarn : K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, p = !!e.fallbackFormat, w = J(e.missing) ? e.missing : null, m = J(e.missing) ? ar(e.missing) : null, E = J(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
|
|
4227
4227
|
const k = t ? t.modifiers : G(e.modifiers) ? e.modifiers : {};
|
|
4228
4228
|
let R = e.pluralRules || t && t.pluralRules, A;
|
|
4229
4229
|
A = (() => {
|
|
@@ -4241,7 +4241,7 @@ function Sa(e = {}) {
|
|
|
4241
4241
|
fallbackFormat: p,
|
|
4242
4242
|
unresolving: !0,
|
|
4243
4243
|
postTranslation: E === null ? void 0 : E,
|
|
4244
|
-
warnHtmlMessage:
|
|
4244
|
+
warnHtmlMessage: b,
|
|
4245
4245
|
escapeParameter: y,
|
|
4246
4246
|
messageResolver: e.messageResolver,
|
|
4247
4247
|
messageCompiler: e.messageCompiler,
|
|
@@ -4250,7 +4250,7 @@ function Sa(e = {}) {
|
|
|
4250
4250
|
v.datetimeFormats = f.value, v.numberFormats = u.value, v.__datetimeFormatters = G(A) ? A.__datetimeFormatters : void 0, v.__numberFormatters = G(A) ? A.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (v.__v_emitter = G(A) ? A.__v_emitter : void 0);
|
|
4251
4251
|
const O = Wl(v);
|
|
4252
4252
|
return r && Wa(O), O;
|
|
4253
|
-
})(),
|
|
4253
|
+
})(), vt(A, l.value, i.value);
|
|
4254
4254
|
function Y() {
|
|
4255
4255
|
return [
|
|
4256
4256
|
l.value,
|
|
@@ -4260,17 +4260,17 @@ function Sa(e = {}) {
|
|
|
4260
4260
|
u.value
|
|
4261
4261
|
];
|
|
4262
4262
|
}
|
|
4263
|
-
const re =
|
|
4263
|
+
const re = Et({
|
|
4264
4264
|
get: () => l.value,
|
|
4265
4265
|
set: (v) => {
|
|
4266
4266
|
A.locale = v, l.value = v;
|
|
4267
4267
|
}
|
|
4268
|
-
}), de =
|
|
4268
|
+
}), de = Et({
|
|
4269
4269
|
get: () => i.value,
|
|
4270
4270
|
set: (v) => {
|
|
4271
|
-
A.fallbackLocale = v, i.value = v,
|
|
4271
|
+
A.fallbackLocale = v, i.value = v, vt(A, l.value, v);
|
|
4272
4272
|
}
|
|
4273
|
-
}), ee =
|
|
4273
|
+
}), ee = Et(() => c.value), et = /* @__PURE__ */ Et(() => f.value), sn = /* @__PURE__ */ Et(() => u.value);
|
|
4274
4274
|
function ln() {
|
|
4275
4275
|
return J(E) ? E : null;
|
|
4276
4276
|
}
|
|
@@ -4297,7 +4297,7 @@ function Sa(e = {}) {
|
|
|
4297
4297
|
if (q !== "translate exists" && // for not `te` (e.g `t`)
|
|
4298
4298
|
ie(tt) && tt === tn || q === "translate exists" && !tt) {
|
|
4299
4299
|
const [je, Uo] = O();
|
|
4300
|
-
if (process.env.NODE_ENV !== "production" && t && P(je) && _n(q, Uo) && (T && (nn(g, je) || _o(d, je)) && (
|
|
4300
|
+
if (process.env.NODE_ENV !== "production" && t && P(je) && _n(q, Uo) && (T && (nn(g, je) || _o(d, je)) && (_t(Se.FALLBACK_TO_ROOT, {
|
|
4301
4301
|
key: je,
|
|
4302
4302
|
type: q
|
|
4303
4303
|
}), void 0), process.env.NODE_ENV !== "production")) {
|
|
@@ -4316,14 +4316,14 @@ function Sa(e = {}) {
|
|
|
4316
4316
|
throw he(Z.UNEXPECTED_RETURN_TYPE);
|
|
4317
4317
|
}
|
|
4318
4318
|
};
|
|
4319
|
-
function
|
|
4319
|
+
function mt(...v) {
|
|
4320
4320
|
return De((O) => Reflect.apply(za, null, [O, ...v]), () => Kn(...v), "translate", (O) => Reflect.apply(O.t, O, [...v]), (O) => O, (O) => P(O));
|
|
4321
4321
|
}
|
|
4322
4322
|
function dn(...v) {
|
|
4323
4323
|
const [O, q, se] = v;
|
|
4324
4324
|
if (se && !H(se))
|
|
4325
4325
|
throw he(Z.INVALID_ARGUMENT);
|
|
4326
|
-
return
|
|
4326
|
+
return mt(O, q, ce({ resolvedMessage: !0 }, se || {}));
|
|
4327
4327
|
}
|
|
4328
4328
|
function mn(...v) {
|
|
4329
4329
|
return De((O) => Reflect.apply(Ka, null, [O, ...v]), () => Yn(...v), "datetime format", (O) => Reflect.apply(O.d, O, [...v]), () => Xt, (O) => P(O) || ae(O));
|
|
@@ -4357,18 +4357,18 @@ function Sa(e = {}) {
|
|
|
4357
4357
|
function Ut(...v) {
|
|
4358
4358
|
return De((O) => Reflect.apply(Ka, null, [O, ...v]), () => Yn(...v), "datetime format", (O) => O[Xn](...v), tr, (O) => P(O) || ae(O));
|
|
4359
4359
|
}
|
|
4360
|
-
function
|
|
4360
|
+
function bn(v) {
|
|
4361
4361
|
R = v, A.pluralRules = R;
|
|
4362
4362
|
}
|
|
4363
|
-
function
|
|
4363
|
+
function Sn(v, O) {
|
|
4364
4364
|
return De(() => {
|
|
4365
4365
|
if (!v)
|
|
4366
4366
|
return !1;
|
|
4367
4367
|
const q = P(O) ? O : l.value, se = He(q), Ke = A.messageResolver(se, v);
|
|
4368
|
-
return ye(Ke) ||
|
|
4368
|
+
return ye(Ke) || be(Ke) || P(Ke);
|
|
4369
4369
|
}, () => [v], "translate exists", (q) => Reflect.apply(q.te, q, [v, O]), gc, (q) => K(q));
|
|
4370
4370
|
}
|
|
4371
|
-
function
|
|
4371
|
+
function ht(v) {
|
|
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++) {
|
|
@@ -4380,14 +4380,14 @@ function Sa(e = {}) {
|
|
|
4380
4380
|
}
|
|
4381
4381
|
return O;
|
|
4382
4382
|
}
|
|
4383
|
-
function
|
|
4384
|
-
const O =
|
|
4383
|
+
function gt(v) {
|
|
4384
|
+
const O = ht(v);
|
|
4385
4385
|
return O ?? (t ? t.tm(v) || {} : {});
|
|
4386
4386
|
}
|
|
4387
4387
|
function He(v) {
|
|
4388
4388
|
return c.value[v] || {};
|
|
4389
4389
|
}
|
|
4390
|
-
function
|
|
4390
|
+
function pt(v, O) {
|
|
4391
4391
|
if (a) {
|
|
4392
4392
|
const q = { [v]: O };
|
|
4393
4393
|
for (const se in q)
|
|
@@ -4410,7 +4410,7 @@ function Sa(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 C(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,10 +4422,10 @@ function Sa(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 &&
|
|
4426
|
-
s && (l.value = v, A.locale = v,
|
|
4425
|
+
nr++, t && Ne && (Pn(t.locale, (v) => {
|
|
4426
|
+
s && (l.value = v, A.locale = v, vt(A, l.value, i.value));
|
|
4427
4427
|
}), Pn(t.fallbackLocale, (v) => {
|
|
4428
|
-
s && (i.value = v, A.fallbackLocale = v,
|
|
4428
|
+
s && (i.value = v, A.fallbackLocale = v, vt(A, l.value, i.value));
|
|
4429
4429
|
}));
|
|
4430
4430
|
const j = {
|
|
4431
4431
|
id: nr,
|
|
@@ -4435,7 +4435,7 @@ function Sa(e = {}) {
|
|
|
4435
4435
|
return s;
|
|
4436
4436
|
},
|
|
4437
4437
|
set inheritLocale(v) {
|
|
4438
|
-
s = v, v && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value,
|
|
4438
|
+
s = v, v && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, vt(A, l.value, i.value));
|
|
4439
4439
|
},
|
|
4440
4440
|
get availableLocales() {
|
|
4441
4441
|
return Object.keys(c.value).sort();
|
|
@@ -4475,10 +4475,10 @@ function Sa(e = {}) {
|
|
|
4475
4475
|
p = v, A.fallbackFormat = p;
|
|
4476
4476
|
},
|
|
4477
4477
|
get warnHtmlMessage() {
|
|
4478
|
-
return
|
|
4478
|
+
return b;
|
|
4479
4479
|
},
|
|
4480
4480
|
set warnHtmlMessage(v) {
|
|
4481
|
-
|
|
4481
|
+
b = v, A.warnHtmlMessage = v;
|
|
4482
4482
|
},
|
|
4483
4483
|
get escapeParameter() {
|
|
4484
4484
|
return y;
|
|
@@ -4486,33 +4486,33 @@ function Sa(e = {}) {
|
|
|
4486
4486
|
set escapeParameter(v) {
|
|
4487
4487
|
y = v, A.escapeParameter = v;
|
|
4488
4488
|
},
|
|
4489
|
-
t:
|
|
4489
|
+
t: mt,
|
|
4490
4490
|
getLocaleMessage: He,
|
|
4491
|
-
setLocaleMessage:
|
|
4491
|
+
setLocaleMessage: pt,
|
|
4492
4492
|
mergeLocaleMessage: vn,
|
|
4493
4493
|
getPostTranslationHandler: ln,
|
|
4494
4494
|
setPostTranslationHandler: cn,
|
|
4495
4495
|
getMissingHandler: un,
|
|
4496
4496
|
setMissingHandler: fn,
|
|
4497
|
-
[vo]:
|
|
4497
|
+
[vo]: bn
|
|
4498
4498
|
};
|
|
4499
|
-
return j.datetimeFormats = et, j.numberFormats = sn, j.rt = dn, j.te =
|
|
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 = C, 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 Co = "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"
|
|
4509
4509
|
}, Ec = {
|
|
4510
4510
|
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
4511
|
-
},
|
|
4511
|
+
}, bc = {
|
|
4512
4512
|
"vue-i18n-timeline": 16764185
|
|
4513
4513
|
};
|
|
4514
4514
|
let zn;
|
|
4515
|
-
async function
|
|
4515
|
+
async function Sc(e, t) {
|
|
4516
4516
|
return new Promise((n, r) => {
|
|
4517
4517
|
try {
|
|
4518
4518
|
fc({
|
|
@@ -4521,7 +4521,7 @@ async function bc(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: [Co],
|
|
4525
4525
|
app: e
|
|
4526
4526
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
4527
4527
|
}, (a) => {
|
|
@@ -4535,7 +4535,7 @@ async function bc(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" && Nc(s, t);
|
|
4539
4539
|
});
|
|
4540
4540
|
const o = /* @__PURE__ */ new Map();
|
|
4541
4541
|
a.on.getInspectorState(async (s) => {
|
|
@@ -4555,7 +4555,7 @@ async function bc(e, t) {
|
|
|
4555
4555
|
}), a.addTimelineLayer({
|
|
4556
4556
|
id: "vue-i18n-timeline",
|
|
4557
4557
|
label: On["vue-i18n-timeline"],
|
|
4558
|
-
color:
|
|
4558
|
+
color: bc["vue-i18n-timeline"]
|
|
4559
4559
|
}), n(!0);
|
|
4560
4560
|
});
|
|
4561
4561
|
} catch {
|
|
@@ -4563,14 +4563,14 @@ async function bc(e, t) {
|
|
|
4563
4563
|
}
|
|
4564
4564
|
});
|
|
4565
4565
|
}
|
|
4566
|
-
function
|
|
4566
|
+
function No(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 (${No(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 = Co;
|
|
4582
4582
|
e.state.push({
|
|
4583
4583
|
type: n,
|
|
4584
4584
|
key: "locale",
|
|
@@ -4603,7 +4603,7 @@ function rr(e, t) {
|
|
|
4603
4603
|
type: n,
|
|
4604
4604
|
key: "messages",
|
|
4605
4605
|
editable: !1,
|
|
4606
|
-
value:
|
|
4606
|
+
value: Sa(t.messages.value)
|
|
4607
4607
|
}), e.state.push({
|
|
4608
4608
|
type: n,
|
|
4609
4609
|
key: "datetimeFormats",
|
|
@@ -4616,11 +4616,11 @@ function rr(e, t) {
|
|
|
4616
4616
|
value: t.numberFormats.value
|
|
4617
4617
|
});
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
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] = Cc(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 Cc(e) {
|
|
4639
4639
|
return {
|
|
4640
4640
|
_custom: {
|
|
4641
4641
|
type: "function",
|
|
@@ -4643,7 +4643,7 @@ function Nc(e) {
|
|
|
4643
4643
|
}
|
|
4644
4644
|
};
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Nc(e, t) {
|
|
4647
4647
|
e.rootNodes.push({
|
|
4648
4648
|
id: "global",
|
|
4649
4649
|
label: "Global Scope"
|
|
@@ -4653,7 +4653,7 @@ function Cc(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: `${No(r)} Scope`
|
|
4657
4657
|
});
|
|
4658
4658
|
}
|
|
4659
4659
|
}
|
|
@@ -4713,7 +4713,7 @@ function Lc(e) {
|
|
|
4713
4713
|
type: a,
|
|
4714
4714
|
key: "messages",
|
|
4715
4715
|
editable: !1,
|
|
4716
|
-
value:
|
|
4716
|
+
value: Sa(e.messages.value)
|
|
4717
4717
|
}
|
|
4718
4718
|
];
|
|
4719
4719
|
t[a] = o;
|
|
@@ -4763,7 +4763,7 @@ function wc(e, t) {
|
|
|
4763
4763
|
}
|
|
4764
4764
|
}
|
|
4765
4765
|
function Dc(e) {
|
|
4766
|
-
const t = P(e.locale) ? e.locale : Lt, n = P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = J(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) ||
|
|
4766
|
+
const t = P(e.locale) ? e.locale : Lt, n = P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = J(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) || ut(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = K(e.silentFallbackWarn) || ut(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = K(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = G(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = J(e.postTranslation) ? e.postTranslation : void 0, u = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, g = K(e.sync) ? e.sync : !0;
|
|
4767
4767
|
let T = e.messages;
|
|
4768
4768
|
if (G(e.sharedMessages)) {
|
|
4769
4769
|
const k = e.sharedMessages;
|
|
@@ -4772,14 +4772,14 @@ function Dc(e) {
|
|
|
4772
4772
|
return ce(Y, k[B]), A;
|
|
4773
4773
|
}, T || {});
|
|
4774
4774
|
}
|
|
4775
|
-
const { __i18n: p, __root: w, __injectWithOption: m } = e, E = e.datetimeFormats,
|
|
4775
|
+
const { __i18n: p, __root: w, __injectWithOption: m } = e, E = e.datetimeFormats, b = e.numberFormats, y = e.flatJson;
|
|
4776
4776
|
return {
|
|
4777
4777
|
locale: t,
|
|
4778
4778
|
fallbackLocale: n,
|
|
4779
4779
|
messages: T,
|
|
4780
4780
|
flatJson: y,
|
|
4781
4781
|
datetimeFormats: E,
|
|
4782
|
-
numberFormats:
|
|
4782
|
+
numberFormats: b,
|
|
4783
4783
|
missing: r,
|
|
4784
4784
|
missingWarn: a,
|
|
4785
4785
|
fallbackWarn: o,
|
|
@@ -4798,7 +4798,7 @@ function Dc(e) {
|
|
|
4798
4798
|
};
|
|
4799
4799
|
}
|
|
4800
4800
|
function Zn(e = {}) {
|
|
4801
|
-
const t =
|
|
4801
|
+
const t = ba(Dc(e)), { __extender: n } = e, r = {
|
|
4802
4802
|
// id
|
|
4803
4803
|
id: t.id,
|
|
4804
4804
|
// locale
|
|
@@ -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 = Ct();
|
|
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 = Ct();
|
|
5012
5012
|
if (!r)
|
|
5013
5013
|
throw he(Z.UNEXPECTED_ERROR);
|
|
5014
5014
|
const a = this.$i18n;
|
|
@@ -5138,7 +5138,7 @@ function Uc(e, t) {
|
|
|
5138
5138
|
}
|
|
5139
5139
|
function xc(e) {
|
|
5140
5140
|
const t = (s) => {
|
|
5141
|
-
process.env.NODE_ENV !== "production" && ua(
|
|
5141
|
+
process.env.NODE_ENV !== "production" && ua(_t(Se.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
5142
5142
|
const { instance: l, value: i } = s;
|
|
5143
5143
|
if (!l || !l.$)
|
|
5144
5144
|
throw he(Z.UNEXPECTED_ERROR);
|
|
@@ -5151,12 +5151,12 @@ function xc(e) {
|
|
|
5151
5151
|
return {
|
|
5152
5152
|
created: (s, l) => {
|
|
5153
5153
|
const [i, c] = t(l);
|
|
5154
|
-
|
|
5154
|
+
Ne && 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
|
+
Ne && 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) {
|
|
@@ -5193,7 +5193,7 @@ function Vc(e, t, ...n) {
|
|
|
5193
5193
|
const Bc = /* @__PURE__ */ we("global-vue-i18n");
|
|
5194
5194
|
function Gc(e = {}) {
|
|
5195
5195
|
const t = __VUE_I18N_LEGACY_API__ && K(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
5196
|
-
process.env.NODE_ENV !== "production" && t && ua(
|
|
5196
|
+
process.env.NODE_ENV !== "production" && t && ua(_t(Se.DEPRECATE_LEGACY_MODE));
|
|
5197
5197
|
const n = K(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, o] = $c(e, t), s = /* @__PURE__ */ we(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
5198
5198
|
function l(u) {
|
|
5199
5199
|
return r.get(u) || null;
|
|
@@ -5221,7 +5221,7 @@ function Gc(e = {}) {
|
|
|
5221
5221
|
if (u.unmount = () => {
|
|
5222
5222
|
g && g(), f.dispose(), T();
|
|
5223
5223
|
}, process.env.NODE_ENV !== "production") {
|
|
5224
|
-
if (!await
|
|
5224
|
+
if (!await Sc(u, f))
|
|
5225
5225
|
throw he(Z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
5226
5226
|
const w = da();
|
|
5227
5227
|
if (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 = Ct();
|
|
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__)
|
|
@@ -5263,19 +5263,19 @@ function ya(e = {}) {
|
|
|
5263
5263
|
return Ao(r, e, a), r;
|
|
5264
5264
|
if (o === "parent") {
|
|
5265
5265
|
let i = Kc(n, t, e.__useComponent);
|
|
5266
|
-
return i == null && (process.env.NODE_ENV !== "production" && (
|
|
5266
|
+
return i == null && (process.env.NODE_ENV !== "production" && (_t(Se.NOT_FOUND_PARENT_SCOPE), void 0), i = r), i;
|
|
5267
5267
|
}
|
|
5268
5268
|
const s = n;
|
|
5269
5269
|
let l = s.__getInstance(t);
|
|
5270
5270
|
if (l == null) {
|
|
5271
5271
|
const i = ce({}, e);
|
|
5272
|
-
"__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), l =
|
|
5272
|
+
"__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), l = ba(i), s.__composerExtend && (l[Jn] = s.__composerExtend(l)), qc(s, t, l), s.__setInstance(t, l);
|
|
5273
5273
|
} else
|
|
5274
|
-
process.env.NODE_ENV !== "production" && o === "local" && (
|
|
5274
|
+
process.env.NODE_ENV !== "production" && o === "local" && (_t(Se.DUPLICATE_USE_I18N_CALLING), void 0);
|
|
5275
5275
|
return l;
|
|
5276
5276
|
}
|
|
5277
5277
|
function $c(e, t) {
|
|
5278
|
-
const n = xo(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Zn(e)) : n.run(() =>
|
|
5278
|
+
const n = xo(), 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];
|
|
@@ -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 ? Ca.warning("仅Android设置支持主题功能") : Ca.warning("仅客户端或Chrome浏览器支持主题功能");
|
|
5567
5567
|
return;
|
|
5568
5568
|
}
|
|
5569
5569
|
this.synchTheme(e);
|
|
@@ -6198,8 +6198,8 @@ function Po(e = {}) {
|
|
|
6198
6198
|
throw { message: "请求出错,稍后重试" };
|
|
6199
6199
|
},
|
|
6200
6200
|
(i) => {
|
|
6201
|
-
var m, E,
|
|
6202
|
-
let c = ((m = i == null ? void 0 : i.response) == null ? void 0 : m.status) || i.status || -1, f = (i == null ? void 0 : i.code) || "", u = i.message || ((
|
|
6201
|
+
var m, E, b, y, k, R, A, B, Y, re, de, ee;
|
|
6202
|
+
let c = ((m = i == null ? void 0 : i.response) == null ? void 0 : m.status) || i.status || -1, f = (i == null ? void 0 : i.code) || "", u = i.message || ((b = (E = i == null ? void 0 : i.response) == null ? void 0 : E.data) == null ? void 0 : b.message) || ((y = i == null ? void 0 : i.response) == null ? void 0 : y.statusText) || "";
|
|
6203
6203
|
c == -1 && (u.includes("timeout") || f.includes("ECONNABORTED") ? c = 504 : u.includes("Network Error") ? c = 408 : u.includes("Not Found") && (c = 404));
|
|
6204
6204
|
let d = ((R = (k = i == null ? void 0 : i.response) == null ? void 0 : k.data) == null ? void 0 : R.errorCode) || -1, g = ((B = (A = i == null ? void 0 : i.response) == null ? void 0 : A.data) == null ? void 0 : B.errorMessage) || ((re = (Y = i == null ? void 0 : i.response) == null ? void 0 : Y.data) == null ? void 0 : re.message), T = ((ee = (de = i == null ? void 0 : i.config) == null ? void 0 : de.customs) == null ? void 0 : ee.flag) || "", p = fu(c), w = {
|
|
6205
6205
|
type: "error",
|
|
@@ -6229,7 +6229,7 @@ const ue = new Proxy(
|
|
|
6229
6229
|
function ea(e) {
|
|
6230
6230
|
return typeof e == "string" && e.trim() !== "" && e !== "undefined";
|
|
6231
6231
|
}
|
|
6232
|
-
const xe = "syCacheAppInfo", Ve = "syCacheAppToken",
|
|
6232
|
+
const xe = "syCacheAppInfo", Ve = "syCacheAppToken", yt = "syCacheAppJwt", ot = "syCacheAppRbac", Er = {
|
|
6233
6233
|
nickname: "",
|
|
6234
6234
|
staff_nickname: "",
|
|
6235
6235
|
id: 0,
|
|
@@ -6250,7 +6250,7 @@ const xe = "syCacheAppInfo", Ve = "syCacheAppToken", vt = "syCacheAppJwt", yt =
|
|
|
6250
6250
|
account_avatar_cdn: "https://10ui.cn/default/avatar/avatar4.jpg",
|
|
6251
6251
|
business_name: ""
|
|
6252
6252
|
};
|
|
6253
|
-
function
|
|
6253
|
+
function bu(e) {
|
|
6254
6254
|
return Math.floor(Date.now() / 1e3) >= e;
|
|
6255
6255
|
}
|
|
6256
6256
|
const Te = Le("cloudSdkAccountStore", {
|
|
@@ -6262,7 +6262,7 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6262
6262
|
// 账号信息
|
|
6263
6263
|
accountInfo: I.localGet(xe) || {},
|
|
6264
6264
|
accountToken: I.localGet(Ve) || "",
|
|
6265
|
-
accountJwt: I.localGet(
|
|
6265
|
+
accountJwt: I.localGet(yt) || ""
|
|
6266
6266
|
}),
|
|
6267
6267
|
getters: {
|
|
6268
6268
|
cacheBizsId: (e) => {
|
|
@@ -6280,7 +6280,7 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6280
6280
|
accountIsLogin: (e) => {
|
|
6281
6281
|
var n;
|
|
6282
6282
|
const t = ((n = e == null ? void 0 : e.accountInfo) == null ? void 0 : n.token_time) || 0;
|
|
6283
|
-
return !!(ea(e.accountToken) && !
|
|
6283
|
+
return !!(ea(e.accountToken) && !bu(t));
|
|
6284
6284
|
},
|
|
6285
6285
|
// identity 身份
|
|
6286
6286
|
accountRole: (e) => {
|
|
@@ -6293,14 +6293,12 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6293
6293
|
}
|
|
6294
6294
|
},
|
|
6295
6295
|
actions: {
|
|
6296
|
-
init() {
|
|
6296
|
+
async init() {
|
|
6297
6297
|
const e = cvUtils.urlGetParameterAll();
|
|
6298
|
-
e.token && I.localSet("ACC_TOKEN_CACHE_KEY", e.token), this.SA_ACCOUNT_RBAC_REFRESH(), this.accountIsLogin ? this.SA_ACCOUNT_REFRESH() : this.SA_ACCOUNT_LOGOUT();
|
|
6298
|
+
e.token && I.localSet("ACC_TOKEN_CACHE_KEY", e.token), await this.SA_ACCOUNT_RBAC_REFRESH(), this.accountIsLogin ? this.SA_ACCOUNT_REFRESH() : this.SA_ACCOUNT_LOGOUT();
|
|
6299
6299
|
},
|
|
6300
6300
|
async clear_cache() {
|
|
6301
|
-
this.ACCOUNT_SET_PREV();
|
|
6302
|
-
},
|
|
6303
|
-
async clear_all() {
|
|
6301
|
+
I.localDel(ot), this.ACCOUNT_SET_PREV();
|
|
6304
6302
|
},
|
|
6305
6303
|
SA_ACCOUNT_IS_LOGGED() {
|
|
6306
6304
|
return this.accountToken = I.localGet(Ve) || "", !!ea(this.accountToken);
|
|
@@ -6355,42 +6353,37 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6355
6353
|
return this.account_nick;
|
|
6356
6354
|
},
|
|
6357
6355
|
SA_ACCOUNT_REFRESH() {
|
|
6358
|
-
this.accountInfo = I.localGet(xe) || Er, this.accountToken = I.localGet(Ve) || "", this.accountJwt = I.localGet(
|
|
6356
|
+
this.accountInfo = I.localGet(xe) || Er, this.accountToken = I.localGet(Ve) || "", this.accountJwt = I.localGet(yt) || "", ue.setDefHeaders({
|
|
6359
6357
|
syOpenAppToken: this.accountToken || "",
|
|
6360
6358
|
Authorization: "Bearer " + this.accountJwt || ""
|
|
6361
6359
|
});
|
|
6362
6360
|
},
|
|
6363
6361
|
// 登录
|
|
6364
6362
|
async SA_ACCOUNT_SIGNIN(e) {
|
|
6365
|
-
e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(
|
|
6363
|
+
e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(ot, ""), I.idbSave(Ve, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Nt().QK_SEND_LOGIN_MSG();
|
|
6366
6364
|
},
|
|
6367
6365
|
/**
|
|
6368
6366
|
* 退出登录(打开登录页面)
|
|
6369
6367
|
* @param appendFrom
|
|
6370
6368
|
*/
|
|
6371
6369
|
async SA_ACCOUNT_LOGOUT(e) {
|
|
6372
|
-
this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(
|
|
6370
|
+
this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(yt, ""), I.localSet(ot, ""), I.localDel(xe), I.localDel(Ve), I.localDel(yt), I.localDel(ot), this.SA_ACCOUNT_REFRESH(), Nt().QK_SEND_LOGOUT_MSG();
|
|
6373
6371
|
},
|
|
6374
6372
|
/**
|
|
6375
6373
|
* @param {Boolean} isForce 是否强制刷新
|
|
6376
6374
|
*/
|
|
6377
6375
|
async SA_ACCOUNT_RBAC_REFRESH(e) {
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
}).catch(() => {
|
|
6384
|
-
t("");
|
|
6385
|
-
}) : t(n);
|
|
6386
|
-
} else
|
|
6387
|
-
t([]);
|
|
6376
|
+
if (e = e || !1, !this.accountToken)
|
|
6377
|
+
return !1;
|
|
6378
|
+
let t = I.localGet(ot) || "";
|
|
6379
|
+
(e || t == "") && await ue.flagGet("ORG_SYS_BASE_MYRBAC", {}).then((n) => {
|
|
6380
|
+
n.status == 100600 ? this.SA_ACCOUNT_LOGOUT() : n.status == 200 && I.localSet(ot, n.data || "");
|
|
6388
6381
|
});
|
|
6389
6382
|
},
|
|
6390
6383
|
ACCOUNT_SET_PREV() {
|
|
6391
6384
|
}
|
|
6392
6385
|
}
|
|
6393
|
-
}), Tt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__",
|
|
6386
|
+
}), Tt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__", br = "__syCacheApiCode__", Sr = "__syCacheApiKey__", kn = "__syCacheSdkConfig__", Rn = "__syCacheSystemConfig__", vr = "cacheClientId", yr = "cacheClientVersion", an = Le("cloudSdkSystemStore", {
|
|
6394
6387
|
state: () => ({
|
|
6395
6388
|
// ServerUrl
|
|
6396
6389
|
cacheServerUrl: "",
|
|
@@ -6465,17 +6458,17 @@ const Te = Le("cloudSdkAccountStore", {
|
|
|
6465
6458
|
}), await ue.appendApiAuth(e);
|
|
6466
6459
|
},
|
|
6467
6460
|
async __load_api_code() {
|
|
6468
|
-
let e = await I.idbGetItem(
|
|
6461
|
+
let e = await I.idbGetItem(br);
|
|
6469
6462
|
e || await ue.flagGet("BASE_LOAD_COMMON_API_CODE", {}).then((t) => {
|
|
6470
|
-
e = t.data || {}, I.idbSetItem(
|
|
6463
|
+
e = t.data || {}, I.idbSetItem(br, e);
|
|
6471
6464
|
});
|
|
6472
6465
|
},
|
|
6473
6466
|
async __load_api_key() {
|
|
6474
6467
|
let e = await I.idbGetString(vr);
|
|
6475
|
-
e || (e = cvUtils.randomString(6), await I.idbSetItem(vr, e)), this.cacheClientId = e, this.apiKeyData = await I.idbGetItem(
|
|
6468
|
+
e || (e = cvUtils.randomString(6), await I.idbSetItem(vr, e)), this.cacheClientId = e, this.apiKeyData = await I.idbGetItem(Sr), this.apiKeyData || await ue.setOptions({ encrypt: !1 }).flagGet("BASE_ACCSYS_COMMON_KEYCLIENT", {
|
|
6476
6469
|
client_id: e
|
|
6477
6470
|
}).then(({ data: t }) => {
|
|
6478
|
-
this.apiKeyData = t, I.idbSetItem(
|
|
6471
|
+
this.apiKeyData = t, I.idbSetItem(Sr, this.apiKeyData);
|
|
6479
6472
|
});
|
|
6480
6473
|
},
|
|
6481
6474
|
/**
|
|
@@ -6551,7 +6544,7 @@ function Fo(e, t) {
|
|
|
6551
6544
|
name: r
|
|
6552
6545
|
};
|
|
6553
6546
|
}
|
|
6554
|
-
const
|
|
6547
|
+
const Su = {}, vu = Su, yu = vu.VITE_SY_PRODUCT_SIGN;
|
|
6555
6548
|
function Mo(e) {
|
|
6556
6549
|
let t = Object.prototype.toString.call(e);
|
|
6557
6550
|
if (t != "[object String]" && t != "[object Array]")
|
|
@@ -6632,7 +6625,7 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6632
6625
|
isAlone: !0,
|
|
6633
6626
|
name: "login",
|
|
6634
6627
|
path: "/login",
|
|
6635
|
-
component: () => import("./login-
|
|
6628
|
+
component: () => import("./login-B9AHugy2.js")
|
|
6636
6629
|
}
|
|
6637
6630
|
], Au = [
|
|
6638
6631
|
{
|
|
@@ -6640,22 +6633,22 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6640
6633
|
isAlone: !0,
|
|
6641
6634
|
name: "alone_run",
|
|
6642
6635
|
path: "/alone_run",
|
|
6643
|
-
component: () => import("./alone_run-
|
|
6636
|
+
component: () => import("./alone_run-D6MaSiBX.js")
|
|
6644
6637
|
},
|
|
6645
6638
|
{
|
|
6646
6639
|
meta: { title: "错误", isAlone: !0 },
|
|
6647
6640
|
isAlone: !0,
|
|
6648
6641
|
name: "404",
|
|
6649
6642
|
path: "/:catchAll(.*)",
|
|
6650
|
-
component: () => import("./404-
|
|
6643
|
+
component: () => import("./404-eOxp6uCK.js")
|
|
6651
6644
|
}
|
|
6652
|
-
],
|
|
6645
|
+
], Cu = [
|
|
6653
6646
|
{
|
|
6654
6647
|
meta: { title: "空页面", isAlone: !1 },
|
|
6655
6648
|
isAlone: !1,
|
|
6656
6649
|
name: "none",
|
|
6657
6650
|
path: "/none",
|
|
6658
|
-
component: () => import("./none-
|
|
6651
|
+
component: () => import("./none-BtuWNAZm.js")
|
|
6659
6652
|
}
|
|
6660
6653
|
], on = Le("cloudSdkPermissionStore", {
|
|
6661
6654
|
state: () => ({
|
|
@@ -6669,11 +6662,11 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6669
6662
|
rbacArr: []
|
|
6670
6663
|
}),
|
|
6671
6664
|
actions: {
|
|
6672
|
-
init(e) {
|
|
6665
|
+
async init(e) {
|
|
6673
6666
|
e = e || [], this.originalRoutes = e;
|
|
6674
6667
|
},
|
|
6675
6668
|
// 清除缓存
|
|
6676
|
-
clear_cache() {
|
|
6669
|
+
async clear_cache() {
|
|
6677
6670
|
},
|
|
6678
6671
|
/**
|
|
6679
6672
|
* 刷新路由
|
|
@@ -6686,7 +6679,7 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6686
6679
|
* @param {*} router
|
|
6687
6680
|
*/
|
|
6688
6681
|
SA_PERMS_ROUTER_ADD(e, t) {
|
|
6689
|
-
t = t || "", t != "console_passport" && e.addRoute(...Tu), e.addRoute(...Au), e.addRoute(...
|
|
6682
|
+
t = t || "", t != "console_passport" && e.addRoute(...Tu), e.addRoute(...Au), e.addRoute(...Cu);
|
|
6690
6683
|
},
|
|
6691
6684
|
/**
|
|
6692
6685
|
* 验证路由
|
|
@@ -6706,7 +6699,7 @@ const rn = Le("cloudSdkProductStore", {
|
|
|
6706
6699
|
"org-agent": "代理商平台",
|
|
6707
6700
|
"org-super": "超管平台"
|
|
6708
6701
|
};
|
|
6709
|
-
async function
|
|
6702
|
+
async function Nu(e) {
|
|
6710
6703
|
try {
|
|
6711
6704
|
let t = document.querySelector("link[rel*='icon']");
|
|
6712
6705
|
t || (t = document.createElement("link"), t.rel = "shortcut icon", document.head.appendChild(t)), t.href = e, t.type = "image/x-icon";
|
|
@@ -6739,7 +6732,7 @@ const Ou = Le("cloudSdkApplicationStore", {
|
|
|
6739
6732
|
openCaseInfo: (e) => {
|
|
6740
6733
|
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;
|
|
6741
6734
|
const c = r.PLAT_BRAND || (o == null ? void 0 : o.PLAT_BRAND), f = r.PLAT_LOGO_CDN || o.PLAT_LOGO_CDN;
|
|
6742
|
-
f &&
|
|
6735
|
+
f && Nu(f);
|
|
6743
6736
|
const u = l || "十云";
|
|
6744
6737
|
let d = "";
|
|
6745
6738
|
return a == "org-business" && (d = r.BIZS_LOGIN_BG || o.platinfo_login_bg), {
|
|
@@ -6768,7 +6761,7 @@ function Iu() {
|
|
|
6768
6761
|
function Lu() {
|
|
6769
6762
|
return {
|
|
6770
6763
|
computed: {
|
|
6771
|
-
...Re(
|
|
6764
|
+
...Re(Nt, ["qiankunExistState"]),
|
|
6772
6765
|
...Re(Ft, ["languageName", "languageList", "languageSelect"]),
|
|
6773
6766
|
...Re(Ge, ["themesName", "themesList", "layoutNavTabs", "layoutSidebarState"]),
|
|
6774
6767
|
...Re(Ro, [
|
|
@@ -6870,41 +6863,41 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6870
6863
|
size: "450px",
|
|
6871
6864
|
"before-close": o.frameTopSysSettClose
|
|
6872
6865
|
}, {
|
|
6873
|
-
default:
|
|
6866
|
+
default: N(() => [
|
|
6874
6867
|
D("div", Du, [
|
|
6875
|
-
|
|
6868
|
+
S(g, {
|
|
6876
6869
|
labelWidth: "auto",
|
|
6877
6870
|
"label-position": "left"
|
|
6878
6871
|
}, {
|
|
6879
|
-
default:
|
|
6880
|
-
|
|
6872
|
+
default: N(() => [
|
|
6873
|
+
S(l, {
|
|
6881
6874
|
label: "风格",
|
|
6882
6875
|
"label-position": "top"
|
|
6883
6876
|
}, {
|
|
6884
|
-
default:
|
|
6877
|
+
default: N(() => [
|
|
6885
6878
|
D("div", ku, [
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6879
|
+
S(s),
|
|
6880
|
+
S(s),
|
|
6881
|
+
S(s)
|
|
6889
6882
|
])
|
|
6890
6883
|
]),
|
|
6891
6884
|
_: 1
|
|
6892
6885
|
}),
|
|
6893
|
-
|
|
6894
|
-
default:
|
|
6895
|
-
|
|
6886
|
+
S(l, { label: "主题" }, {
|
|
6887
|
+
default: N(() => [
|
|
6888
|
+
S(c, {
|
|
6896
6889
|
modelValue: a.frameSysTheme,
|
|
6897
6890
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => a.frameSysTheme = p),
|
|
6898
6891
|
placeholder: e.$t("选项主题"),
|
|
6899
6892
|
style: { width: "150px" }
|
|
6900
6893
|
}, {
|
|
6901
|
-
default:
|
|
6902
|
-
(F(!0), W(le, null,
|
|
6894
|
+
default: N(() => [
|
|
6895
|
+
(F(!0), W(le, null, Ce(e.themesList, (p, w) => (F(), $(i, {
|
|
6903
6896
|
label: e.$t(p.name),
|
|
6904
6897
|
value: p.value,
|
|
6905
6898
|
key: w
|
|
6906
6899
|
}, {
|
|
6907
|
-
default:
|
|
6900
|
+
default: N(() => [
|
|
6908
6901
|
V(z(e.$t(p.name)), 1)
|
|
6909
6902
|
]),
|
|
6910
6903
|
_: 2
|
|
@@ -6915,15 +6908,15 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6915
6908
|
]),
|
|
6916
6909
|
_: 1
|
|
6917
6910
|
}),
|
|
6918
|
-
|
|
6919
|
-
default:
|
|
6911
|
+
S(l, { label: "暗黑模式" }, {
|
|
6912
|
+
default: N(() => [
|
|
6920
6913
|
a.frameSysTheme == "light" ? (F(), $(u, {
|
|
6921
6914
|
key: 0,
|
|
6922
6915
|
onClick: t[1] || (t[1] = (p) => a.frameSysTheme = "dark"),
|
|
6923
6916
|
class: "light-switch"
|
|
6924
6917
|
}, {
|
|
6925
|
-
default:
|
|
6926
|
-
|
|
6918
|
+
default: N(() => [
|
|
6919
|
+
S(f, { type: "cvSvgViewModeDark" })
|
|
6927
6920
|
]),
|
|
6928
6921
|
_: 1
|
|
6929
6922
|
})) : te("", !0),
|
|
@@ -6932,17 +6925,17 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6932
6925
|
onClick: t[2] || (t[2] = (p) => a.frameSysTheme = "light"),
|
|
6933
6926
|
class: "dark-switch"
|
|
6934
6927
|
}, {
|
|
6935
|
-
default:
|
|
6936
|
-
|
|
6928
|
+
default: N(() => [
|
|
6929
|
+
S(f, { type: "cvSvgViewModeLight" })
|
|
6937
6930
|
]),
|
|
6938
6931
|
_: 1
|
|
6939
6932
|
})) : te("", !0)
|
|
6940
6933
|
]),
|
|
6941
6934
|
_: 1
|
|
6942
6935
|
}),
|
|
6943
|
-
|
|
6944
|
-
default:
|
|
6945
|
-
|
|
6936
|
+
S(l, { label: "侧栏显示" }, {
|
|
6937
|
+
default: N(() => [
|
|
6938
|
+
S(d, {
|
|
6946
6939
|
modelValue: a.frameSidebarState,
|
|
6947
6940
|
"onUpdate:modelValue": t[3] || (t[3] = (p) => a.frameSidebarState = p),
|
|
6948
6941
|
"active-text": "显示",
|
|
@@ -6953,9 +6946,9 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6953
6946
|
]),
|
|
6954
6947
|
_: 1
|
|
6955
6948
|
}),
|
|
6956
|
-
|
|
6957
|
-
default:
|
|
6958
|
-
|
|
6949
|
+
S(l, { label: "导航标签栏" }, {
|
|
6950
|
+
default: N(() => [
|
|
6951
|
+
S(d, {
|
|
6959
6952
|
modelValue: a.frameSysNavTabs,
|
|
6960
6953
|
"onUpdate:modelValue": t[4] || (t[4] = (p) => a.frameSysNavTabs = p),
|
|
6961
6954
|
"active-text": "显示",
|
|
@@ -6966,20 +6959,20 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6966
6959
|
]),
|
|
6967
6960
|
_: 1
|
|
6968
6961
|
}),
|
|
6969
|
-
|
|
6970
|
-
default:
|
|
6971
|
-
|
|
6962
|
+
S(l, { label: "语言" }, {
|
|
6963
|
+
default: N(() => [
|
|
6964
|
+
S(c, {
|
|
6972
6965
|
modelValue: a.frameSysLanguage,
|
|
6973
6966
|
"onUpdate:modelValue": t[5] || (t[5] = (p) => a.frameSysLanguage = p),
|
|
6974
6967
|
placeholder: e.$t("选项语言"),
|
|
6975
6968
|
style: { width: "150px" }
|
|
6976
6969
|
}, {
|
|
6977
|
-
default:
|
|
6978
|
-
(F(!0), W(le, null,
|
|
6970
|
+
default: N(() => [
|
|
6971
|
+
(F(!0), W(le, null, Ce(e.languageSelect, (p, w) => (F(), $(i, {
|
|
6979
6972
|
label: p.label,
|
|
6980
6973
|
value: p.value
|
|
6981
6974
|
}, {
|
|
6982
|
-
default:
|
|
6975
|
+
default: N(() => [
|
|
6983
6976
|
V(z(p.label), 1)
|
|
6984
6977
|
]),
|
|
6985
6978
|
_: 2
|
|
@@ -6990,10 +6983,10 @@ function Ru(e, t, n, r, a, o) {
|
|
|
6990
6983
|
]),
|
|
6991
6984
|
_: 1
|
|
6992
6985
|
}),
|
|
6993
|
-
|
|
6994
|
-
default:
|
|
6995
|
-
|
|
6996
|
-
default:
|
|
6986
|
+
S(l, { label: "版本" }, {
|
|
6987
|
+
default: N(() => [
|
|
6988
|
+
S(u, { onClick: o.frameUpdateVersion }, {
|
|
6989
|
+
default: N(() => [
|
|
6997
6990
|
V(z(e.$t("更新版本")), 1)
|
|
6998
6991
|
]),
|
|
6999
6992
|
_: 1
|
|
@@ -7001,10 +6994,10 @@ function Ru(e, t, n, r, a, o) {
|
|
|
7001
6994
|
]),
|
|
7002
6995
|
_: 1
|
|
7003
6996
|
}),
|
|
7004
|
-
|
|
7005
|
-
default:
|
|
7006
|
-
|
|
7007
|
-
default:
|
|
6997
|
+
S(l, { label: "缓存" }, {
|
|
6998
|
+
default: N(() => [
|
|
6999
|
+
S(u, { onClick: o.frameClearCache }, {
|
|
7000
|
+
default: N(() => [
|
|
7008
7001
|
V(z(e.$t("清除缓存")), 1)
|
|
7009
7002
|
]),
|
|
7010
7003
|
_: 1
|
|
@@ -7045,13 +7038,13 @@ const Pu = /* @__PURE__ */ ge(wu, [["render", Ru]]), Fu = {
|
|
|
7045
7038
|
function Mu(e, t, n, r, a, o) {
|
|
7046
7039
|
const s = L("router-view");
|
|
7047
7040
|
return F(), $(s, { key: a.routeRefreshNum }, {
|
|
7048
|
-
default:
|
|
7049
|
-
|
|
7041
|
+
default: N(({ Component: l, route: i }) => [
|
|
7042
|
+
S(Ko, {
|
|
7050
7043
|
name: a.routeRefreshAnimation,
|
|
7051
7044
|
mode: "out-in",
|
|
7052
7045
|
appear: ""
|
|
7053
7046
|
}, {
|
|
7054
|
-
default:
|
|
7047
|
+
default: N(() => [
|
|
7055
7048
|
(F(), W("div", {
|
|
7056
7049
|
class: Kt(n.className),
|
|
7057
7050
|
key: i.path
|
|
@@ -7065,7 +7058,7 @@ function Mu(e, t, n, r, a, o) {
|
|
|
7065
7058
|
_: 1
|
|
7066
7059
|
});
|
|
7067
7060
|
}
|
|
7068
|
-
const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]),
|
|
7061
|
+
const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]), Cr = (e) => Math.pow(e, 3), xu = (e) => e < 0.5 ? Cr(e * 2) / 2 : 1 - Cr((1 - e) * 2) / 2, Vu = {
|
|
7069
7062
|
name: "SameNavTabs",
|
|
7070
7063
|
data() {
|
|
7071
7064
|
return {
|
|
@@ -7192,20 +7185,20 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7192
7185
|
const s = L("cv-icons"), l = L("cv-btn-base"), i = L("el-tag"), c = L("el-scrollbar"), f = L("cv-btn-text");
|
|
7193
7186
|
return F(), W("div", Bu, [
|
|
7194
7187
|
D("div", Gu, [
|
|
7195
|
-
|
|
7188
|
+
S(l, {
|
|
7196
7189
|
class: "btn-opt-left",
|
|
7197
7190
|
onClick: o.changeGdtLeft
|
|
7198
7191
|
}, {
|
|
7199
|
-
default:
|
|
7200
|
-
|
|
7192
|
+
default: N(() => [
|
|
7193
|
+
S(s, { type: "ElIconArrowLeft" })
|
|
7201
7194
|
]),
|
|
7202
7195
|
_: 1
|
|
7203
7196
|
}, 8, ["onClick"]),
|
|
7204
7197
|
D("div", $u, [
|
|
7205
|
-
|
|
7206
|
-
default:
|
|
7198
|
+
S(c, { ref: "navScroll1" }, {
|
|
7199
|
+
default: N(() => [
|
|
7207
7200
|
D("div", Wu, [
|
|
7208
|
-
(F(!0), W(le, null,
|
|
7201
|
+
(F(!0), W(le, null, Ce(a.sett_tags, (u, d) => (F(), $(i, {
|
|
7209
7202
|
id: a.activeTag == u.name ? "tagId" : "",
|
|
7210
7203
|
class: Kt(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
|
|
7211
7204
|
key: u.name,
|
|
@@ -7215,7 +7208,7 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7215
7208
|
"disable-transitions": "",
|
|
7216
7209
|
onContextmenu: qo(o.openContextMenu, ["prevent"])
|
|
7217
7210
|
}, {
|
|
7218
|
-
default:
|
|
7211
|
+
default: N(() => [
|
|
7219
7212
|
V(z(u.title), 1)
|
|
7220
7213
|
]),
|
|
7221
7214
|
_: 2
|
|
@@ -7225,19 +7218,19 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7225
7218
|
_: 1
|
|
7226
7219
|
}, 512)
|
|
7227
7220
|
]),
|
|
7228
|
-
|
|
7221
|
+
S(l, {
|
|
7229
7222
|
class: "btn-opt-right",
|
|
7230
7223
|
onClick: o.changeGdtRight
|
|
7231
7224
|
}, {
|
|
7232
|
-
default:
|
|
7233
|
-
|
|
7225
|
+
default: N(() => [
|
|
7226
|
+
S(s, { type: "ElIconArrowRight" })
|
|
7234
7227
|
]),
|
|
7235
7228
|
_: 1
|
|
7236
7229
|
}, 8, ["onClick"]),
|
|
7237
|
-
|
|
7238
|
-
default:
|
|
7230
|
+
S(l, { class: "btn-opt-close" }, {
|
|
7231
|
+
default: N(() => [
|
|
7239
7232
|
t[5] || (t[5] = V(" 关闭操作 ", -1)),
|
|
7240
|
-
|
|
7233
|
+
S(s, { type: "ElIconCaretBottom" })
|
|
7241
7234
|
]),
|
|
7242
7235
|
_: 1
|
|
7243
7236
|
}),
|
|
@@ -7249,52 +7242,52 @@ function Yu(e, t, n, r, a, o) {
|
|
|
7249
7242
|
style: Fn({ left: a.left + "px", top: a.top + "px" })
|
|
7250
7243
|
}, [
|
|
7251
7244
|
D("li", null, [
|
|
7252
|
-
|
|
7245
|
+
S(f, {
|
|
7253
7246
|
onClick: t[0] || (t[0] = (u) => o.curTabReload())
|
|
7254
7247
|
}, {
|
|
7255
|
-
default:
|
|
7248
|
+
default: N(() => [...t[6] || (t[6] = [
|
|
7256
7249
|
V("重新加载", -1)
|
|
7257
7250
|
])]),
|
|
7258
7251
|
_: 1
|
|
7259
7252
|
})
|
|
7260
7253
|
]),
|
|
7261
7254
|
D("li", null, [
|
|
7262
|
-
|
|
7255
|
+
S(f, {
|
|
7263
7256
|
onClick: t[1] || (t[1] = (u) => o.closeAllTabs())
|
|
7264
7257
|
}, {
|
|
7265
|
-
default:
|
|
7258
|
+
default: N(() => [...t[7] || (t[7] = [
|
|
7266
7259
|
V("关闭所有", -1)
|
|
7267
7260
|
])]),
|
|
7268
7261
|
_: 1
|
|
7269
7262
|
})
|
|
7270
7263
|
]),
|
|
7271
7264
|
D("li", null, [
|
|
7272
|
-
|
|
7265
|
+
S(f, {
|
|
7273
7266
|
onClick: t[2] || (t[2] = (u) => o.closeOtherTabs("left")),
|
|
7274
7267
|
disabled: a.isDisabledCloseLeftBtnFlag
|
|
7275
7268
|
}, {
|
|
7276
|
-
default:
|
|
7269
|
+
default: N(() => [...t[8] || (t[8] = [
|
|
7277
7270
|
V("关闭左边", -1)
|
|
7278
7271
|
])]),
|
|
7279
7272
|
_: 1
|
|
7280
7273
|
}, 8, ["disabled"])
|
|
7281
7274
|
]),
|
|
7282
7275
|
D("li", null, [
|
|
7283
|
-
|
|
7276
|
+
S(f, {
|
|
7284
7277
|
onClick: t[3] || (t[3] = (u) => o.closeOtherTabs("right")),
|
|
7285
7278
|
disabled: a.isDisabledCloseRightBtnFlag
|
|
7286
7279
|
}, {
|
|
7287
|
-
default:
|
|
7280
|
+
default: N(() => [...t[9] || (t[9] = [
|
|
7288
7281
|
V("关闭右边", -1)
|
|
7289
7282
|
])]),
|
|
7290
7283
|
_: 1
|
|
7291
7284
|
}, 8, ["disabled"])
|
|
7292
7285
|
]),
|
|
7293
7286
|
D("li", null, [
|
|
7294
|
-
|
|
7287
|
+
S(f, {
|
|
7295
7288
|
onClick: t[4] || (t[4] = (u) => o.closeOtherTabs("other"))
|
|
7296
7289
|
}, {
|
|
7297
|
-
default:
|
|
7290
|
+
default: N(() => [...t[10] || (t[10] = [
|
|
7298
7291
|
V("关闭其他", -1)
|
|
7299
7292
|
])]),
|
|
7300
7293
|
_: 1
|
|
@@ -7361,13 +7354,13 @@ const Hu = /* @__PURE__ */ ge(Vu, [["render", Yu]]), Ku = {
|
|
|
7361
7354
|
};
|
|
7362
7355
|
function Ju(e, t, n, r, a, o) {
|
|
7363
7356
|
const s = L("cv-icons"), l = L("SidebarMenuItem", !0), i = L("el-sub-menu"), c = L("cv-badge"), f = L("el-menu-item");
|
|
7364
|
-
return F(!0), W(le, null,
|
|
7357
|
+
return F(!0), W(le, null, Ce(n.menuData, (u) => (F(), W(le, null, [
|
|
7365
7358
|
u.isMenu == !0 ? (F(), W(le, { key: 0 }, [
|
|
7366
7359
|
u.children && u.children.length > 0 && u.children_menu_num > 0 ? (F(), $(i, {
|
|
7367
7360
|
key: u.name,
|
|
7368
7361
|
index: u.name
|
|
7369
7362
|
}, {
|
|
7370
|
-
title:
|
|
7363
|
+
title: N(() => [
|
|
7371
7364
|
D("div", ju, [
|
|
7372
7365
|
u.meta.icon ? (F(), $(s, {
|
|
7373
7366
|
key: 0,
|
|
@@ -7378,8 +7371,8 @@ function Ju(e, t, n, r, a, o) {
|
|
|
7378
7371
|
]),
|
|
7379
7372
|
D("span", null, z(u.meta.title || u.meta.short), 1)
|
|
7380
7373
|
]),
|
|
7381
|
-
default:
|
|
7382
|
-
|
|
7374
|
+
default: N(() => [
|
|
7375
|
+
S(l, {
|
|
7383
7376
|
appData: n.appData,
|
|
7384
7377
|
menuData: u.children,
|
|
7385
7378
|
collapse: n.collapse,
|
|
@@ -7392,10 +7385,10 @@ function Ju(e, t, n, r, a, o) {
|
|
|
7392
7385
|
key: "b" + u.name,
|
|
7393
7386
|
onClick: (d) => o.handleOpenMenu(u)
|
|
7394
7387
|
}, {
|
|
7395
|
-
title:
|
|
7388
|
+
title: N(() => [
|
|
7396
7389
|
V(z(u.meta.short || u.meta.title), 1)
|
|
7397
7390
|
]),
|
|
7398
|
-
default:
|
|
7391
|
+
default: N(() => [
|
|
7399
7392
|
!u.meta.icon && n.collapse && !n.isChildren ? (F(), W("div", Xu, z(u.meta.short || u.meta.title), 1)) : (F(), W("div", Qu, [
|
|
7400
7393
|
u.meta.icon ? (F(), $(s, {
|
|
7401
7394
|
key: 0,
|
|
@@ -7469,15 +7462,15 @@ function af(e, t, n, r, a, o) {
|
|
|
7469
7462
|
return F(), W("div", ef, [
|
|
7470
7463
|
D("div", tf, z(e.openCaseInfo.LAST_IP_TITLE), 1),
|
|
7471
7464
|
D("div", nf, [
|
|
7472
|
-
|
|
7465
|
+
S(l, {
|
|
7473
7466
|
collapse: n.collapse,
|
|
7474
7467
|
"default-openeds": a.menuDefaultOpeneds,
|
|
7475
7468
|
"default-active": a.activeName,
|
|
7476
7469
|
onOpen: o.handleOpen,
|
|
7477
7470
|
onClose: o.handleClose
|
|
7478
7471
|
}, {
|
|
7479
|
-
default:
|
|
7480
|
-
|
|
7472
|
+
default: N(() => [
|
|
7473
|
+
S(s, {
|
|
7481
7474
|
appData: e.openCaseInfo,
|
|
7482
7475
|
menuData: a.menuCurrList,
|
|
7483
7476
|
collapse: n.collapse
|
|
@@ -7559,37 +7552,37 @@ function lf(e, t, n, r, a, o) {
|
|
|
7559
7552
|
"close-on-press-escape": !1,
|
|
7560
7553
|
onClose: o.handleCancel
|
|
7561
7554
|
}, {
|
|
7562
|
-
footer:
|
|
7555
|
+
footer: N(() => [
|
|
7563
7556
|
D("div", sf, [
|
|
7564
|
-
|
|
7565
|
-
default:
|
|
7557
|
+
S(c, { onClick: o.handleCancel }, {
|
|
7558
|
+
default: N(() => [...t[4] || (t[4] = [
|
|
7566
7559
|
V("取 消", -1)
|
|
7567
7560
|
])]),
|
|
7568
7561
|
_: 1
|
|
7569
7562
|
}, 8, ["onClick"]),
|
|
7570
|
-
|
|
7563
|
+
S(c, {
|
|
7571
7564
|
type: "primary",
|
|
7572
7565
|
onClick: o.handleBeforeOk
|
|
7573
7566
|
}, {
|
|
7574
|
-
default:
|
|
7567
|
+
default: N(() => [...t[5] || (t[5] = [
|
|
7575
7568
|
V("确 定", -1)
|
|
7576
7569
|
])]),
|
|
7577
7570
|
_: 1
|
|
7578
7571
|
}, 8, ["onClick"])
|
|
7579
7572
|
])
|
|
7580
7573
|
]),
|
|
7581
|
-
default:
|
|
7582
|
-
|
|
7574
|
+
default: N(() => [
|
|
7575
|
+
S(i, {
|
|
7583
7576
|
model: a.formData,
|
|
7584
7577
|
"label-width": "auto"
|
|
7585
7578
|
}, {
|
|
7586
|
-
default:
|
|
7587
|
-
|
|
7579
|
+
default: N(() => [
|
|
7580
|
+
S(l, {
|
|
7588
7581
|
prop: "old_pwd",
|
|
7589
7582
|
label: "原密码"
|
|
7590
7583
|
}, {
|
|
7591
|
-
default:
|
|
7592
|
-
|
|
7584
|
+
default: N(() => [
|
|
7585
|
+
S(s, {
|
|
7593
7586
|
type: "password",
|
|
7594
7587
|
"show-password": "",
|
|
7595
7588
|
modelValue: a.formData.old_pwd,
|
|
@@ -7598,12 +7591,12 @@ function lf(e, t, n, r, a, o) {
|
|
|
7598
7591
|
]),
|
|
7599
7592
|
_: 1
|
|
7600
7593
|
}),
|
|
7601
|
-
|
|
7594
|
+
S(l, {
|
|
7602
7595
|
prop: "new_pwd1",
|
|
7603
7596
|
label: "新密码"
|
|
7604
7597
|
}, {
|
|
7605
|
-
default:
|
|
7606
|
-
|
|
7598
|
+
default: N(() => [
|
|
7599
|
+
S(s, {
|
|
7607
7600
|
type: "password",
|
|
7608
7601
|
"show-password": "",
|
|
7609
7602
|
modelValue: a.formData.new_pwd1,
|
|
@@ -7612,12 +7605,12 @@ function lf(e, t, n, r, a, o) {
|
|
|
7612
7605
|
]),
|
|
7613
7606
|
_: 1
|
|
7614
7607
|
}),
|
|
7615
|
-
|
|
7608
|
+
S(l, {
|
|
7616
7609
|
prop: "new_pwd2",
|
|
7617
7610
|
label: "确认密码"
|
|
7618
7611
|
}, {
|
|
7619
|
-
default:
|
|
7620
|
-
|
|
7612
|
+
default: N(() => [
|
|
7613
|
+
S(s, {
|
|
7621
7614
|
type: "password",
|
|
7622
7615
|
"show-password": "",
|
|
7623
7616
|
modelValue: a.formData.new_pwd2,
|
|
@@ -7721,8 +7714,8 @@ const cf = /* @__PURE__ */ ge(of, [["render", lf]]), uf = {
|
|
|
7721
7714
|
// return segs
|
|
7722
7715
|
// }
|
|
7723
7716
|
}
|
|
7724
|
-
}, 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"],
|
|
7725
|
-
function
|
|
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" }, Cf = { class: "cloud-login-change-item-more" };
|
|
7718
|
+
function Nf(e, t, n, r, a, o) {
|
|
7726
7719
|
const s = L("el-input"), l = L("el-button"), i = L("cv-icons");
|
|
7727
7720
|
return F(), W("div", ff, [
|
|
7728
7721
|
D("div", _f, [
|
|
@@ -7740,7 +7733,7 @@ function Cf(e, t, n, r, a, o) {
|
|
|
7740
7733
|
D("p", null, "后续商户人员(含管理员)登录,需进一步通过 短信 或 扫码 进行验证。")
|
|
7741
7734
|
], -1)),
|
|
7742
7735
|
D("div", df, [
|
|
7743
|
-
|
|
7736
|
+
S(s, {
|
|
7744
7737
|
modelValue: a.chainKeyword,
|
|
7745
7738
|
"onUpdate:modelValue": t[2] || (t[2] = (c) => a.chainKeyword = c),
|
|
7746
7739
|
size: "large",
|
|
@@ -7749,11 +7742,11 @@ function Cf(e, t, n, r, a, o) {
|
|
|
7749
7742
|
style: { "max-width": "500px" },
|
|
7750
7743
|
onInput: o.handleSearch
|
|
7751
7744
|
}, null, 8, ["modelValue", "onInput"]),
|
|
7752
|
-
|
|
7745
|
+
S(l, {
|
|
7753
7746
|
size: "large",
|
|
7754
7747
|
onClick: o.handleSearch
|
|
7755
7748
|
}, {
|
|
7756
|
-
default:
|
|
7749
|
+
default: N(() => [...t[3] || (t[3] = [
|
|
7757
7750
|
V("搜索", -1)
|
|
7758
7751
|
])]),
|
|
7759
7752
|
_: 1
|
|
@@ -7761,19 +7754,19 @@ function Cf(e, t, n, r, a, o) {
|
|
|
7761
7754
|
]),
|
|
7762
7755
|
D("div", mf, [
|
|
7763
7756
|
D("div", hf, [
|
|
7764
|
-
(F(!0), W(le, null,
|
|
7757
|
+
(F(!0), W(le, null, Ce(a.chainLastList, (c, f) => (F(), W("div", {
|
|
7765
7758
|
class: "cloud-login-change-group-item",
|
|
7766
7759
|
key: f
|
|
7767
7760
|
}, [
|
|
7768
7761
|
D("div", gf, z(c.title || "无") + "(" + z(c.total) + ")", 1),
|
|
7769
7762
|
D("div", pf, [
|
|
7770
|
-
(F(!0), W(le, null,
|
|
7763
|
+
(F(!0), W(le, null, Ce(c.list, (u, d) => (F(), W("div", {
|
|
7771
7764
|
class: "cloud-login-change-item-bao",
|
|
7772
7765
|
key: d,
|
|
7773
7766
|
onClick: (g) => o.chainSelection(u)
|
|
7774
7767
|
}, [
|
|
7775
|
-
D("div",
|
|
7776
|
-
D("div",
|
|
7768
|
+
D("div", bf, [
|
|
7769
|
+
D("div", Sf, [
|
|
7777
7770
|
D("img", {
|
|
7778
7771
|
src: u.business_icon_cdn
|
|
7779
7772
|
}, null, 8, vf)
|
|
@@ -7783,8 +7776,8 @@ function Cf(e, t, n, r, a, o) {
|
|
|
7783
7776
|
D("div", Tf, z(u.business_name), 1),
|
|
7784
7777
|
D("div", Af, "【" + z(u.acc_rules_type_str) + "】", 1)
|
|
7785
7778
|
]),
|
|
7786
|
-
D("div",
|
|
7787
|
-
|
|
7779
|
+
D("div", Cf, [
|
|
7780
|
+
S(i, { type: "ElIconArrowRight" })
|
|
7788
7781
|
])
|
|
7789
7782
|
], 8, Ef))), 128))
|
|
7790
7783
|
])
|
|
@@ -7794,7 +7787,7 @@ function Cf(e, t, n, r, a, o) {
|
|
|
7794
7787
|
])
|
|
7795
7788
|
]);
|
|
7796
7789
|
}
|
|
7797
|
-
const Of = /* @__PURE__ */ ge(uf, [["render",
|
|
7790
|
+
const Of = /* @__PURE__ */ ge(uf, [["render", Nf]]), If = {
|
|
7798
7791
|
name: "SameFrame",
|
|
7799
7792
|
components: {
|
|
7800
7793
|
SidebarMenuBox: rf,
|
|
@@ -7985,28 +7978,28 @@ function Hf(e, t, n, r, a, o) {
|
|
|
7985
7978
|
class: "cloud-header__opt",
|
|
7986
7979
|
onClick: t[1] || (t[1] = (...E) => o.framePageRefresh && o.framePageRefresh(...E))
|
|
7987
7980
|
}, [
|
|
7988
|
-
|
|
7981
|
+
S(s, {
|
|
7989
7982
|
type: "ElIconRefreshRight",
|
|
7990
7983
|
size: "20"
|
|
7991
7984
|
})
|
|
7992
7985
|
]),
|
|
7993
7986
|
D("div", Ff, [
|
|
7994
|
-
|
|
7995
|
-
default:
|
|
7996
|
-
(F(!0), W(le, null,
|
|
7997
|
-
|
|
7998
|
-
key:
|
|
7987
|
+
S(i, { separator: "/" }, {
|
|
7988
|
+
default: N(() => [
|
|
7989
|
+
(F(!0), W(le, null, Ce(a.breadcrumbPath, (E, b) => (F(), W(le, null, [
|
|
7990
|
+
b == a.breadcrumbPath.length - 1 || !E.path || E.path == "" ? (F(), $(l, {
|
|
7991
|
+
key: b,
|
|
7999
7992
|
class: "no-redirect"
|
|
8000
7993
|
}, {
|
|
8001
|
-
default:
|
|
7994
|
+
default: N(() => [
|
|
8002
7995
|
V(z(E.title), 1)
|
|
8003
7996
|
]),
|
|
8004
7997
|
_: 2
|
|
8005
7998
|
}, 1024)) : (F(), $(l, {
|
|
8006
|
-
key: "b" +
|
|
7999
|
+
key: "b" + b,
|
|
8007
8000
|
to: { path: E.path }
|
|
8008
8001
|
}, {
|
|
8009
|
-
default:
|
|
8002
|
+
default: N(() => [
|
|
8010
8003
|
V(z(E.title), 1)
|
|
8011
8004
|
]),
|
|
8012
8005
|
_: 2
|
|
@@ -8021,7 +8014,7 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8021
8014
|
class: "cloud-header__opt chopt-relative",
|
|
8022
8015
|
onClick: t[2] || (t[2] = (E) => o.frameHandleCommand("msg"))
|
|
8023
8016
|
}, [
|
|
8024
|
-
|
|
8017
|
+
S(s, {
|
|
8025
8018
|
type: "ElIconChatLineRound",
|
|
8026
8019
|
size: "20"
|
|
8027
8020
|
}),
|
|
@@ -8031,23 +8024,23 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8031
8024
|
class: "cloud-header__opt chopt-relative",
|
|
8032
8025
|
onClick: t[3] || (t[3] = (E) => o.frameHandleCommand("gongdan"))
|
|
8033
8026
|
}, [
|
|
8034
|
-
|
|
8027
|
+
S(s, {
|
|
8035
8028
|
type: "ElIconMessage",
|
|
8036
8029
|
size: "20"
|
|
8037
8030
|
}),
|
|
8038
8031
|
a.emailUnreadTotal > 0 ? (F(), W("em", Uf, z(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : te("", !0)
|
|
8039
8032
|
]),
|
|
8040
8033
|
D("div", xf, [
|
|
8041
|
-
|
|
8034
|
+
S(u, {
|
|
8042
8035
|
onCommand: o.frameHandleCommand,
|
|
8043
8036
|
"popper-class": "cloud-header__info_dropdown"
|
|
8044
8037
|
}, {
|
|
8045
|
-
dropdown:
|
|
8046
|
-
|
|
8047
|
-
default:
|
|
8048
|
-
|
|
8049
|
-
default:
|
|
8050
|
-
|
|
8038
|
+
dropdown: N(() => [
|
|
8039
|
+
S(f, null, {
|
|
8040
|
+
default: N(() => [
|
|
8041
|
+
S(c, { command: "account_change" }, {
|
|
8042
|
+
default: N(() => [
|
|
8043
|
+
S(s, {
|
|
8051
8044
|
type: "cvSvgPeopleSwitch",
|
|
8052
8045
|
size: "15"
|
|
8053
8046
|
}),
|
|
@@ -8055,9 +8048,9 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8055
8048
|
]),
|
|
8056
8049
|
_: 1
|
|
8057
8050
|
}),
|
|
8058
|
-
|
|
8059
|
-
default:
|
|
8060
|
-
|
|
8051
|
+
S(c, { command: "account_chgpwd" }, {
|
|
8052
|
+
default: N(() => [
|
|
8053
|
+
S(s, {
|
|
8061
8054
|
type: "cvSvgBaseLockOff",
|
|
8062
8055
|
size: "15"
|
|
8063
8056
|
}),
|
|
@@ -8065,12 +8058,12 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8065
8058
|
]),
|
|
8066
8059
|
_: 1
|
|
8067
8060
|
}),
|
|
8068
|
-
|
|
8061
|
+
S(c, {
|
|
8069
8062
|
command: "clearCache",
|
|
8070
8063
|
divided: ""
|
|
8071
8064
|
}, {
|
|
8072
|
-
default:
|
|
8073
|
-
|
|
8065
|
+
default: N(() => [
|
|
8066
|
+
S(s, {
|
|
8074
8067
|
type: "ElIconDelete",
|
|
8075
8068
|
size: "15"
|
|
8076
8069
|
}),
|
|
@@ -8078,9 +8071,9 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8078
8071
|
]),
|
|
8079
8072
|
_: 1
|
|
8080
8073
|
}),
|
|
8081
|
-
|
|
8082
|
-
default:
|
|
8083
|
-
|
|
8074
|
+
S(c, { command: "logout" }, {
|
|
8075
|
+
default: N(() => [
|
|
8076
|
+
S(s, {
|
|
8084
8077
|
type: "cvSvgArrowExportRight",
|
|
8085
8078
|
size: "14"
|
|
8086
8079
|
}),
|
|
@@ -8092,7 +8085,7 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8092
8085
|
_: 1
|
|
8093
8086
|
})
|
|
8094
8087
|
]),
|
|
8095
|
-
default:
|
|
8088
|
+
default: N(() => [
|
|
8096
8089
|
D("span", null, [
|
|
8097
8090
|
D("img", {
|
|
8098
8091
|
class: "chinfo-avatar",
|
|
@@ -8103,7 +8096,7 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8103
8096
|
D("div", Gf, z(o.headerInfoName), 1),
|
|
8104
8097
|
D("div", $f, z(o.headerInfoNick), 1)
|
|
8105
8098
|
]),
|
|
8106
|
-
|
|
8099
|
+
S(s, { type: "ElIconArrowDown" })
|
|
8107
8100
|
])
|
|
8108
8101
|
]),
|
|
8109
8102
|
_: 1
|
|
@@ -8132,28 +8125,28 @@ function Hf(e, t, n, r, a, o) {
|
|
|
8132
8125
|
onClick: t[5] || (t[5] = (...E) => o.frameTopSysSettOpen && o.frameTopSysSettOpen(...E)),
|
|
8133
8126
|
style: { "min-width": "50px" }
|
|
8134
8127
|
}, [
|
|
8135
|
-
|
|
8128
|
+
S(s, {
|
|
8136
8129
|
type: "cvSvgBaseSetting",
|
|
8137
8130
|
size: "20"
|
|
8138
8131
|
})
|
|
8139
8132
|
])
|
|
8140
8133
|
]),
|
|
8141
8134
|
D("section", Wf, [
|
|
8142
|
-
|
|
8135
|
+
S(d, {
|
|
8143
8136
|
collapse: a.frameSidebarOpen == "off"
|
|
8144
8137
|
}, null, 8, ["collapse"])
|
|
8145
8138
|
]),
|
|
8146
8139
|
D("section", Yf, [
|
|
8147
|
-
Rt(
|
|
8140
|
+
Rt(S(g, null, null, 512), [
|
|
8148
8141
|
[Lr, e.layoutNavTabs == "on"]
|
|
8149
8142
|
]),
|
|
8150
|
-
|
|
8143
|
+
S(T, { className: "cloud-pages__box" })
|
|
8151
8144
|
]),
|
|
8152
|
-
|
|
8145
|
+
S(p, {
|
|
8153
8146
|
modelValue: a.frameHeadSysSettDia,
|
|
8154
8147
|
"onUpdate:modelValue": t[6] || (t[6] = (E) => a.frameHeadSysSettDia = E)
|
|
8155
8148
|
}, null, 8, ["modelValue"]),
|
|
8156
|
-
|
|
8149
|
+
S(w, {
|
|
8157
8150
|
modelValue: a.changeShowFlag,
|
|
8158
8151
|
"onUpdate:modelValue": t[7] || (t[7] = (E) => a.changeShowFlag = E)
|
|
8159
8152
|
}, null, 8, ["modelValue"]),
|
|
@@ -8198,7 +8191,7 @@ const Q_ = /* @__PURE__ */ ge(If, [["render", Hf]]), Kf = {
|
|
|
8198
8191
|
function jf(e, t, n, r, a, o) {
|
|
8199
8192
|
const s = L("el-watermark");
|
|
8200
8193
|
return F(), $(s, Xo(o.watemarkConf, { style: { height: "100%" } }), {
|
|
8201
|
-
default:
|
|
8194
|
+
default: N(() => [
|
|
8202
8195
|
Qo(e.$slots, "default")
|
|
8203
8196
|
]),
|
|
8204
8197
|
_: 3
|
|
@@ -8259,44 +8252,44 @@ function zf(e, t, n, r, a, o) {
|
|
|
8259
8252
|
rules: a.formRules,
|
|
8260
8253
|
model: a.formData
|
|
8261
8254
|
}, {
|
|
8262
|
-
default:
|
|
8263
|
-
(F(!0), W(le, null,
|
|
8255
|
+
default: N(() => [
|
|
8256
|
+
(F(!0), W(le, null, Ce(n.fieldsList, (m, E) => (F(), $(p, {
|
|
8264
8257
|
key: E,
|
|
8265
8258
|
label: m.field_form_label,
|
|
8266
8259
|
required: m.field_form_require == "on"
|
|
8267
8260
|
}, Jo({
|
|
8268
|
-
default:
|
|
8261
|
+
default: N(() => [
|
|
8269
8262
|
m.field_form_type == "upload_image" ? (F(), $(s, {
|
|
8270
8263
|
key: 0,
|
|
8271
8264
|
modelValue: a.formData[m.field_form_key],
|
|
8272
|
-
"onUpdate:modelValue": (
|
|
8265
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b,
|
|
8273
8266
|
initValue: a.formData[m.field_form_key + "_CDN"],
|
|
8274
|
-
"onUpdate:initValue": (
|
|
8267
|
+
"onUpdate:initValue": (b) => a.formData[m.field_form_key + "_CDN"] = b
|
|
8275
8268
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "initValue", "onUpdate:initValue"])) : te("", !0),
|
|
8276
8269
|
m.field_form_type == "input_text" ? (F(), $(l, {
|
|
8277
8270
|
key: 1,
|
|
8278
8271
|
modelValue: a.formData[m.field_form_key],
|
|
8279
|
-
"onUpdate:modelValue": (
|
|
8272
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8280
8273
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8281
8274
|
m.field_form_type == "input_number" ? (F(), $(i, {
|
|
8282
8275
|
key: 2,
|
|
8283
8276
|
modelValue: a.formData[m.field_form_key],
|
|
8284
|
-
"onUpdate:modelValue": (
|
|
8277
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8285
8278
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8286
8279
|
m.field_form_type == "input_digit" ? (F(), $(c, {
|
|
8287
8280
|
key: 3,
|
|
8288
8281
|
modelValue: a.formData[m.field_form_key],
|
|
8289
|
-
"onUpdate:modelValue": (
|
|
8282
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8290
8283
|
}, {
|
|
8291
|
-
append:
|
|
8284
|
+
append: N(() => [...t[0] || (t[0] = [
|
|
8292
8285
|
V("元", -1)
|
|
8293
8286
|
])]),
|
|
8294
8287
|
_: 1
|
|
8295
8288
|
}, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8296
8289
|
m.field_form_type == "input_second" ? (F(), W(le, { key: 4 }, [
|
|
8297
|
-
|
|
8290
|
+
S(i, {
|
|
8298
8291
|
modelValue: a.formData[m.field_form_key],
|
|
8299
|
-
"onUpdate:modelValue": (
|
|
8292
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8300
8293
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
8301
8294
|
D("span", Xf, [
|
|
8302
8295
|
t[1] || (t[1] = V(" 计算为 ", -1)),
|
|
@@ -8306,35 +8299,35 @@ function zf(e, t, n, r, a, o) {
|
|
|
8306
8299
|
m.field_form_type == "textarea_base" ? (F(), $(f, {
|
|
8307
8300
|
key: 5,
|
|
8308
8301
|
modelValue: a.formData[m.field_form_key],
|
|
8309
|
-
"onUpdate:modelValue": (
|
|
8302
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8310
8303
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
|
|
8311
8304
|
m.field_form_type == "encryption" ? (F(), W(le, { key: 6 }, [
|
|
8312
|
-
|
|
8305
|
+
S(f, {
|
|
8313
8306
|
modelValue: a.formData[m.field_form_key],
|
|
8314
|
-
"onUpdate:modelValue": (
|
|
8307
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8315
8308
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
8316
8309
|
t[2] || (t[2] = D("div", { style: { color: "#999", "font-size": "12px" } }, "加密字段配置后,下次呈现加密内容,请自行保存加密原数据", -1))
|
|
8317
8310
|
], 64)) : te("", !0),
|
|
8318
8311
|
m.field_form_type == "radio_switch" ? (F(), $(d, {
|
|
8319
8312
|
key: 7,
|
|
8320
8313
|
modelValue: a.formData[m.field_form_key],
|
|
8321
|
-
"onUpdate:modelValue": (
|
|
8314
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8322
8315
|
}, {
|
|
8323
|
-
default:
|
|
8324
|
-
|
|
8316
|
+
default: N(() => [
|
|
8317
|
+
S(u, {
|
|
8325
8318
|
label: "开启",
|
|
8326
8319
|
value: "on"
|
|
8327
8320
|
}, {
|
|
8328
|
-
default:
|
|
8321
|
+
default: N(() => [...t[3] || (t[3] = [
|
|
8329
8322
|
V("开启", -1)
|
|
8330
8323
|
])]),
|
|
8331
8324
|
_: 1
|
|
8332
8325
|
}),
|
|
8333
|
-
|
|
8326
|
+
S(u, {
|
|
8334
8327
|
label: "关闭",
|
|
8335
8328
|
value: "off"
|
|
8336
8329
|
}, {
|
|
8337
|
-
default:
|
|
8330
|
+
default: N(() => [...t[4] || (t[4] = [
|
|
8338
8331
|
V("关闭", -1)
|
|
8339
8332
|
])]),
|
|
8340
8333
|
_: 1
|
|
@@ -8345,15 +8338,15 @@ function zf(e, t, n, r, a, o) {
|
|
|
8345
8338
|
m.field_form_type == "radio_base" ? (F(), $(d, {
|
|
8346
8339
|
key: 8,
|
|
8347
8340
|
modelValue: a.formData[m.field_form_key],
|
|
8348
|
-
"onUpdate:modelValue": (
|
|
8341
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8349
8342
|
}, {
|
|
8350
|
-
default:
|
|
8351
|
-
(F(!0), W(le, null,
|
|
8343
|
+
default: N(() => [
|
|
8344
|
+
(F(!0), W(le, null, Ce(m.field_form_option, (b, y) => (F(), $(u, {
|
|
8352
8345
|
key: y,
|
|
8353
|
-
value:
|
|
8346
|
+
value: b.value
|
|
8354
8347
|
}, {
|
|
8355
|
-
default:
|
|
8356
|
-
V(z(
|
|
8348
|
+
default: N(() => [
|
|
8349
|
+
V(z(b.label), 1)
|
|
8357
8350
|
]),
|
|
8358
8351
|
_: 2
|
|
8359
8352
|
}, 1032, ["value"]))), 128))
|
|
@@ -8363,16 +8356,16 @@ function zf(e, t, n, r, a, o) {
|
|
|
8363
8356
|
m.field_form_type == "checkbox_base" ? (F(), $(T, {
|
|
8364
8357
|
key: 9,
|
|
8365
8358
|
modelValue: a.formData[m.field_form_key],
|
|
8366
|
-
"onUpdate:modelValue": (
|
|
8359
|
+
"onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
|
|
8367
8360
|
}, {
|
|
8368
|
-
default:
|
|
8369
|
-
(F(!0), W(le, null,
|
|
8361
|
+
default: N(() => [
|
|
8362
|
+
(F(!0), W(le, null, Ce(m.field_form_option, (b, y) => (F(), $(g, {
|
|
8370
8363
|
key: y,
|
|
8371
|
-
label:
|
|
8372
|
-
value:
|
|
8364
|
+
label: b.label,
|
|
8365
|
+
value: b.value
|
|
8373
8366
|
}, {
|
|
8374
|
-
default:
|
|
8375
|
-
V(z(
|
|
8367
|
+
default: N(() => [
|
|
8368
|
+
V(z(b.label), 1)
|
|
8376
8369
|
]),
|
|
8377
8370
|
_: 2
|
|
8378
8371
|
}, 1032, ["label", "value"]))), 128))
|
|
@@ -8384,7 +8377,7 @@ function zf(e, t, n, r, a, o) {
|
|
|
8384
8377
|
}, [
|
|
8385
8378
|
m.field_form_tip ? {
|
|
8386
8379
|
name: "tip",
|
|
8387
|
-
fn:
|
|
8380
|
+
fn: N(() => [
|
|
8388
8381
|
D("div", Jf, z(m.field_form_tip), 1)
|
|
8389
8382
|
]),
|
|
8390
8383
|
key: "0"
|
|
@@ -8542,14 +8535,14 @@ function __(e, t, n, r, a, o) {
|
|
|
8542
8535
|
D("section", a_, [
|
|
8543
8536
|
D("section", r_, [
|
|
8544
8537
|
t[1] || (t[1] = D("div", { class: "cloud-dia-left-title" }, "类别", -1)),
|
|
8545
|
-
|
|
8538
|
+
S(s, {
|
|
8546
8539
|
class: "cloud-dia-left-filter",
|
|
8547
8540
|
modelValue: a.leftFilterText,
|
|
8548
8541
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => a.leftFilterText = p),
|
|
8549
8542
|
placeholder: "请搜索",
|
|
8550
8543
|
clearable: ""
|
|
8551
8544
|
}, null, 8, ["modelValue"]),
|
|
8552
|
-
|
|
8545
|
+
S(l, {
|
|
8553
8546
|
ref: "refDiaSelectLeft",
|
|
8554
8547
|
class: "cloud-dia-left-tree",
|
|
8555
8548
|
data: a.leftTreeList,
|
|
@@ -8561,7 +8554,7 @@ function __(e, t, n, r, a, o) {
|
|
|
8561
8554
|
]),
|
|
8562
8555
|
D("section", o_, [
|
|
8563
8556
|
D("div", s_, [
|
|
8564
|
-
|
|
8557
|
+
S(c, {
|
|
8565
8558
|
class: "dialog-choice-image-upload",
|
|
8566
8559
|
action: a.upAction,
|
|
8567
8560
|
"on-preview": o.upHandlePreview,
|
|
@@ -8569,9 +8562,9 @@ function __(e, t, n, r, a, o) {
|
|
|
8569
8562
|
"show-file-list": !1,
|
|
8570
8563
|
"file-list": a.upFileList
|
|
8571
8564
|
}, {
|
|
8572
|
-
default:
|
|
8573
|
-
|
|
8574
|
-
default:
|
|
8565
|
+
default: N(() => [
|
|
8566
|
+
S(i, { type: "primary" }, {
|
|
8567
|
+
default: N(() => [...t[2] || (t[2] = [
|
|
8575
8568
|
V("上传图片", -1)
|
|
8576
8569
|
])]),
|
|
8577
8570
|
_: 1
|
|
@@ -8579,25 +8572,25 @@ function __(e, t, n, r, a, o) {
|
|
|
8579
8572
|
]),
|
|
8580
8573
|
_: 1
|
|
8581
8574
|
}, 8, ["action", "on-preview", "on-remove", "file-list"]),
|
|
8582
|
-
|
|
8575
|
+
S(i, {
|
|
8583
8576
|
type: "primary",
|
|
8584
8577
|
disabled: a.activeImageUrl.length === 0
|
|
8585
8578
|
}, {
|
|
8586
|
-
default:
|
|
8579
|
+
default: N(() => [...t[3] || (t[3] = [
|
|
8587
8580
|
V("使用选中图片", -1)
|
|
8588
8581
|
])]),
|
|
8589
8582
|
_: 1
|
|
8590
8583
|
}, 8, ["disabled"]),
|
|
8591
|
-
|
|
8584
|
+
S(i, {
|
|
8592
8585
|
type: "danger",
|
|
8593
8586
|
disabled: a.activeImageUrl.length === 0
|
|
8594
8587
|
}, {
|
|
8595
|
-
default:
|
|
8588
|
+
default: N(() => [...t[4] || (t[4] = [
|
|
8596
8589
|
V("删除图片", -1)
|
|
8597
8590
|
])]),
|
|
8598
8591
|
_: 1
|
|
8599
8592
|
}, 8, ["disabled"]),
|
|
8600
|
-
|
|
8593
|
+
S(f, {
|
|
8601
8594
|
dataField: a.leftTreeProps,
|
|
8602
8595
|
dataLists: a.leftTreeList,
|
|
8603
8596
|
placeholder: "图片移动至",
|
|
@@ -8605,15 +8598,15 @@ function __(e, t, n, r, a, o) {
|
|
|
8605
8598
|
}, null, 8, ["dataField", "dataLists"])
|
|
8606
8599
|
]),
|
|
8607
8600
|
D("div", i_, [
|
|
8608
|
-
(F(!0), W(le, null,
|
|
8601
|
+
(F(!0), W(le, null, Ce(a.imageList, (p, w) => (F(), W("div", {
|
|
8609
8602
|
class: "cloud-dia-right-item",
|
|
8610
8603
|
key: w
|
|
8611
8604
|
}, [
|
|
8612
|
-
|
|
8605
|
+
S(u, {
|
|
8613
8606
|
class: Kt(o.badgeValue(p.filelog_id) == 0 && "isshowBadge"),
|
|
8614
8607
|
value: o.badgeValue(p.filelog_id)
|
|
8615
8608
|
}, {
|
|
8616
|
-
default:
|
|
8609
|
+
default: N(() => [
|
|
8617
8610
|
D("img", {
|
|
8618
8611
|
class: Kt(a.activeImageState[w] && "active"),
|
|
8619
8612
|
src: p.cdn_full_path,
|
|
@@ -8630,14 +8623,14 @@ function __(e, t, n, r, a, o) {
|
|
|
8630
8623
|
modelValue: p.filelog_full_name,
|
|
8631
8624
|
"onUpdate:modelValue": (m) => p.filelog_full_name = m
|
|
8632
8625
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (F(), W("p", u_, z(p.filelog_full_name), 1)),
|
|
8633
|
-
|
|
8626
|
+
S(d, {
|
|
8634
8627
|
type: "ElIconEdit",
|
|
8635
8628
|
onClick: (m) => o.handleClickEditImageText(w)
|
|
8636
8629
|
}, null, 8, ["onClick"])
|
|
8637
8630
|
])
|
|
8638
8631
|
]))), 128))
|
|
8639
8632
|
]),
|
|
8640
|
-
|
|
8633
|
+
S(g, {
|
|
8641
8634
|
background: "",
|
|
8642
8635
|
onSizeChange: o.handleSizeChange,
|
|
8643
8636
|
onCurrentChange: o.handleCurrentChange,
|
|
@@ -8650,18 +8643,18 @@ function __(e, t, n, r, a, o) {
|
|
|
8650
8643
|
])
|
|
8651
8644
|
]),
|
|
8652
8645
|
D("div", f_, [
|
|
8653
|
-
|
|
8654
|
-
default:
|
|
8646
|
+
S(i, { onClick: o.handleClose }, {
|
|
8647
|
+
default: N(() => [...t[5] || (t[5] = [
|
|
8655
8648
|
V("取 消", -1)
|
|
8656
8649
|
])]),
|
|
8657
8650
|
_: 1
|
|
8658
8651
|
}, 8, ["onClick"]),
|
|
8659
|
-
|
|
8652
|
+
S(i, {
|
|
8660
8653
|
type: "primary",
|
|
8661
8654
|
onClick: o.handleConfirm,
|
|
8662
8655
|
autoLoading: ""
|
|
8663
8656
|
}, {
|
|
8664
|
-
default:
|
|
8657
|
+
default: N(() => [...t[6] || (t[6] = [
|
|
8665
8658
|
V("确 定", -1)
|
|
8666
8659
|
])]),
|
|
8667
8660
|
_: 1
|
|
@@ -8737,16 +8730,16 @@ const d_ = /* @__PURE__ */ ge(e_, [["render", __]]), m_ = {
|
|
|
8737
8730
|
function g_(e, t, n, r, a, o) {
|
|
8738
8731
|
const s = L("cv-btn-base"), l = L("cv-upload-image");
|
|
8739
8732
|
return F(), W("view", h_, [
|
|
8740
|
-
|
|
8733
|
+
S(s, {
|
|
8741
8734
|
onClick: o.handleDiaImage,
|
|
8742
8735
|
style: { width: "150px" }
|
|
8743
8736
|
}, {
|
|
8744
|
-
default:
|
|
8737
|
+
default: N(() => [...t[2] || (t[2] = [
|
|
8745
8738
|
V("选择图片", -1)
|
|
8746
8739
|
])]),
|
|
8747
8740
|
_: 1
|
|
8748
8741
|
}, 8, ["onClick"]),
|
|
8749
|
-
|
|
8742
|
+
S(l, {
|
|
8750
8743
|
modelValue: a.localValue,
|
|
8751
8744
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => a.localValue = i),
|
|
8752
8745
|
showBig: n.showBig,
|
|
@@ -8825,26 +8818,26 @@ const p_ = /* @__PURE__ */ ge(m_, [["render", g_]]), E_ = {
|
|
|
8825
8818
|
this.$emit("close");
|
|
8826
8819
|
}
|
|
8827
8820
|
}
|
|
8828
|
-
},
|
|
8821
|
+
}, b_ = {
|
|
8829
8822
|
"element-loading-text": "加载中",
|
|
8830
8823
|
"element-loading-spinner": "el-icon-loading",
|
|
8831
8824
|
class: "cloud-dialog-choice-wrap"
|
|
8832
|
-
},
|
|
8833
|
-
function
|
|
8825
|
+
}, 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 C_(e, t, n, r, a, o) {
|
|
8834
8827
|
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");
|
|
8835
|
-
return Rt((F(), W("div",
|
|
8836
|
-
D("div",
|
|
8828
|
+
return Rt((F(), W("div", b_, [
|
|
8829
|
+
D("div", S_, [
|
|
8837
8830
|
D("section", v_, [
|
|
8838
8831
|
D("section", y_, [
|
|
8839
8832
|
t[4] || (t[4] = D("div", { class: "cloud-dia-left-title" }, "分类", -1)),
|
|
8840
|
-
|
|
8833
|
+
S(s, {
|
|
8841
8834
|
class: "cloud-dia-left-filter",
|
|
8842
8835
|
modelValue: a.leftFilterText,
|
|
8843
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
8836
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => a.leftFilterText = b),
|
|
8844
8837
|
placeholder: "请搜索",
|
|
8845
8838
|
clearable: ""
|
|
8846
8839
|
}, null, 8, ["modelValue"]),
|
|
8847
|
-
|
|
8840
|
+
S(l, {
|
|
8848
8841
|
ref: "refDiaSelectLeft",
|
|
8849
8842
|
class: "cloud-dia-left-tree",
|
|
8850
8843
|
data: a.leftTreeList,
|
|
@@ -8855,39 +8848,39 @@ function N_(e, t, n, r, a, o) {
|
|
|
8855
8848
|
}, null, 8, ["data", "props", "filter-node-method", "onNodeClick"])
|
|
8856
8849
|
]),
|
|
8857
8850
|
D("section", T_, [
|
|
8858
|
-
|
|
8851
|
+
S(u, {
|
|
8859
8852
|
ref: "refFormBase",
|
|
8860
8853
|
rules: a.rightSoRules,
|
|
8861
8854
|
model: a.rightSoData
|
|
8862
8855
|
}, {
|
|
8863
|
-
default:
|
|
8864
|
-
|
|
8865
|
-
default:
|
|
8866
|
-
|
|
8856
|
+
default: N(() => [
|
|
8857
|
+
S(c, { label: "商品搜索" }, {
|
|
8858
|
+
default: N(() => [
|
|
8859
|
+
S(i, {
|
|
8867
8860
|
modelValue: a.rightSoData.key_goods_name,
|
|
8868
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
8861
|
+
"onUpdate:modelValue": t[1] || (t[1] = (b) => a.rightSoData.key_goods_name = b),
|
|
8869
8862
|
placeholder: "请输入商品名称,关键字"
|
|
8870
8863
|
}, null, 8, ["modelValue"])
|
|
8871
8864
|
]),
|
|
8872
8865
|
_: 1
|
|
8873
8866
|
}),
|
|
8874
|
-
|
|
8875
|
-
default:
|
|
8876
|
-
|
|
8867
|
+
S(c, null, {
|
|
8868
|
+
default: N(() => [
|
|
8869
|
+
S(f, {
|
|
8877
8870
|
icon: "ElIconSearch",
|
|
8878
8871
|
type: "primary",
|
|
8879
|
-
onClick: t[2] || (t[2] = (
|
|
8872
|
+
onClick: t[2] || (t[2] = (b) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
|
|
8880
8873
|
}, {
|
|
8881
|
-
default:
|
|
8874
|
+
default: N(() => [...t[5] || (t[5] = [
|
|
8882
8875
|
V(" 搜索 ", -1)
|
|
8883
8876
|
])]),
|
|
8884
8877
|
_: 1
|
|
8885
8878
|
}),
|
|
8886
|
-
|
|
8879
|
+
S(f, {
|
|
8887
8880
|
icon: "el-icon-refresh-left",
|
|
8888
|
-
onClick: t[3] || (t[3] = (
|
|
8881
|
+
onClick: t[3] || (t[3] = (b) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
|
|
8889
8882
|
}, {
|
|
8890
|
-
default:
|
|
8883
|
+
default: N(() => [...t[6] || (t[6] = [
|
|
8891
8884
|
V(" 重置 ", -1)
|
|
8892
8885
|
])]),
|
|
8893
8886
|
_: 1
|
|
@@ -8898,47 +8891,47 @@ function N_(e, t, n, r, a, o) {
|
|
|
8898
8891
|
]),
|
|
8899
8892
|
_: 1
|
|
8900
8893
|
}, 8, ["rules", "model"]),
|
|
8901
|
-
|
|
8894
|
+
S(m, {
|
|
8902
8895
|
ref: "refDiaSelectTb",
|
|
8903
8896
|
tableConfig: a.tableConfig,
|
|
8904
8897
|
tableRefresh: a.tableRefresh,
|
|
8905
8898
|
height: "390"
|
|
8906
8899
|
}, {
|
|
8907
|
-
default:
|
|
8908
|
-
|
|
8909
|
-
|
|
8900
|
+
default: N(() => [
|
|
8901
|
+
S(d, { label: "选择" }),
|
|
8902
|
+
S(g, {
|
|
8910
8903
|
label: "商品分类",
|
|
8911
8904
|
prop: "cat_name"
|
|
8912
8905
|
}),
|
|
8913
|
-
|
|
8906
|
+
S(T, {
|
|
8914
8907
|
label: "封面图",
|
|
8915
8908
|
prop: "goods_thumb_cdn"
|
|
8916
8909
|
}),
|
|
8917
|
-
|
|
8910
|
+
S(g, {
|
|
8918
8911
|
label: "商品ID",
|
|
8919
8912
|
prop: "goods_id"
|
|
8920
8913
|
}),
|
|
8921
|
-
|
|
8914
|
+
S(g, {
|
|
8922
8915
|
label: "商品名称",
|
|
8923
8916
|
prop: "goods_name"
|
|
8924
8917
|
}),
|
|
8925
|
-
|
|
8918
|
+
S(g, {
|
|
8926
8919
|
label: "商品售价",
|
|
8927
8920
|
prop: "goods_price_market"
|
|
8928
8921
|
}),
|
|
8929
|
-
|
|
8922
|
+
S(g, {
|
|
8930
8923
|
label: "扩展ID",
|
|
8931
8924
|
prop: "goods_expand_id"
|
|
8932
8925
|
}),
|
|
8933
|
-
|
|
8926
|
+
S(w, {
|
|
8934
8927
|
label: "操作",
|
|
8935
8928
|
width: "100"
|
|
8936
8929
|
}, {
|
|
8937
|
-
default:
|
|
8938
|
-
|
|
8939
|
-
onClick: (k) => o.handleSelect(
|
|
8930
|
+
default: N(({ row: b, $index: y }) => [
|
|
8931
|
+
S(p, {
|
|
8932
|
+
onClick: (k) => o.handleSelect(b)
|
|
8940
8933
|
}, {
|
|
8941
|
-
default:
|
|
8934
|
+
default: N(() => [...t[7] || (t[7] = [
|
|
8942
8935
|
V("选择", -1)
|
|
8943
8936
|
])]),
|
|
8944
8937
|
_: 1
|
|
@@ -8953,18 +8946,18 @@ function N_(e, t, n, r, a, o) {
|
|
|
8953
8946
|
])
|
|
8954
8947
|
]),
|
|
8955
8948
|
D("div", A_, [
|
|
8956
|
-
|
|
8957
|
-
default:
|
|
8949
|
+
S(f, { onClick: o.handleClose }, {
|
|
8950
|
+
default: N(() => [...t[8] || (t[8] = [
|
|
8958
8951
|
V("取 消", -1)
|
|
8959
8952
|
])]),
|
|
8960
8953
|
_: 1
|
|
8961
8954
|
}, 8, ["onClick"]),
|
|
8962
|
-
|
|
8955
|
+
S(f, {
|
|
8963
8956
|
type: "primary",
|
|
8964
8957
|
onClick: o.handleConfirm,
|
|
8965
8958
|
autoLoading: ""
|
|
8966
8959
|
}, {
|
|
8967
|
-
default:
|
|
8960
|
+
default: N(() => [...t[9] || (t[9] = [
|
|
8968
8961
|
V("确 定", -1)
|
|
8969
8962
|
])]),
|
|
8970
8963
|
_: 1
|
|
@@ -8974,7 +8967,7 @@ function N_(e, t, n, r, a, o) {
|
|
|
8974
8967
|
[E, a.isLoading]
|
|
8975
8968
|
]);
|
|
8976
8969
|
}
|
|
8977
|
-
const z_ = /* @__PURE__ */ ge(E_, [["render",
|
|
8970
|
+
const z_ = /* @__PURE__ */ ge(E_, [["render", C_]]), N_ = {
|
|
8978
8971
|
emits: ["handleCallback", "close"],
|
|
8979
8972
|
props: {
|
|
8980
8973
|
// 选一个就关闭
|
|
@@ -9054,14 +9047,14 @@ function R_(e, t, n, r, a, o) {
|
|
|
9054
9047
|
D("section", L_, [
|
|
9055
9048
|
D("section", w_, [
|
|
9056
9049
|
t[4] || (t[4] = D("div", { class: "cloud-dia-left-title" }, "部门", -1)),
|
|
9057
|
-
|
|
9050
|
+
S(s, {
|
|
9058
9051
|
class: "cloud-dia-left-filter",
|
|
9059
9052
|
modelValue: a.leftFilterText,
|
|
9060
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
9053
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => a.leftFilterText = b),
|
|
9061
9054
|
placeholder: "请搜索",
|
|
9062
9055
|
clearable: ""
|
|
9063
9056
|
}, null, 8, ["modelValue"]),
|
|
9064
|
-
|
|
9057
|
+
S(l, {
|
|
9065
9058
|
ref: "refDiaSelectLeft",
|
|
9066
9059
|
class: "cloud-dia-left-tree",
|
|
9067
9060
|
data: a.leftTreeList,
|
|
@@ -9072,38 +9065,38 @@ function R_(e, t, n, r, a, o) {
|
|
|
9072
9065
|
}, null, 8, ["data", "props", "filter-node-method", "onNodeClick"])
|
|
9073
9066
|
]),
|
|
9074
9067
|
D("section", D_, [
|
|
9075
|
-
|
|
9068
|
+
S(u, {
|
|
9076
9069
|
ref: "refFormBase",
|
|
9077
9070
|
rules: a.rightSoRules,
|
|
9078
9071
|
model: a.rightSoData
|
|
9079
9072
|
}, {
|
|
9080
|
-
default:
|
|
9081
|
-
|
|
9082
|
-
default:
|
|
9083
|
-
|
|
9073
|
+
default: N(() => [
|
|
9074
|
+
S(c, { label: "名称" }, {
|
|
9075
|
+
default: N(() => [
|
|
9076
|
+
S(i, {
|
|
9084
9077
|
modelValue: a.rightSoData.key_staff_name,
|
|
9085
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
9078
|
+
"onUpdate:modelValue": t[1] || (t[1] = (b) => a.rightSoData.key_staff_name = b)
|
|
9086
9079
|
}, null, 8, ["modelValue"])
|
|
9087
9080
|
]),
|
|
9088
9081
|
_: 1
|
|
9089
9082
|
}),
|
|
9090
|
-
|
|
9091
|
-
default:
|
|
9092
|
-
|
|
9083
|
+
S(c, null, {
|
|
9084
|
+
default: N(() => [
|
|
9085
|
+
S(f, {
|
|
9093
9086
|
icon: "ElIconSearch",
|
|
9094
9087
|
type: "primary",
|
|
9095
|
-
onClick: t[2] || (t[2] = (
|
|
9088
|
+
onClick: t[2] || (t[2] = (b) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
|
|
9096
9089
|
}, {
|
|
9097
|
-
default:
|
|
9090
|
+
default: N(() => [...t[5] || (t[5] = [
|
|
9098
9091
|
V(" 搜索 ", -1)
|
|
9099
9092
|
])]),
|
|
9100
9093
|
_: 1
|
|
9101
9094
|
}),
|
|
9102
|
-
|
|
9095
|
+
S(f, {
|
|
9103
9096
|
icon: "el-icon-refresh-left",
|
|
9104
|
-
onClick: t[3] || (t[3] = (
|
|
9097
|
+
onClick: t[3] || (t[3] = (b) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
|
|
9105
9098
|
}, {
|
|
9106
|
-
default:
|
|
9099
|
+
default: N(() => [...t[6] || (t[6] = [
|
|
9107
9100
|
V(" 重置 ", -1)
|
|
9108
9101
|
])]),
|
|
9109
9102
|
_: 1
|
|
@@ -9114,49 +9107,49 @@ function R_(e, t, n, r, a, o) {
|
|
|
9114
9107
|
]),
|
|
9115
9108
|
_: 1
|
|
9116
9109
|
}, 8, ["rules", "model"]),
|
|
9117
|
-
|
|
9110
|
+
S(m, {
|
|
9118
9111
|
ref: "refDiaSelectTb",
|
|
9119
9112
|
tableConfig: a.tableConfig,
|
|
9120
9113
|
tableRefresh: a.tableRefresh,
|
|
9121
9114
|
height: "390"
|
|
9122
9115
|
}, {
|
|
9123
|
-
default:
|
|
9124
|
-
|
|
9125
|
-
|
|
9116
|
+
default: N(() => [
|
|
9117
|
+
S(d, { label: "选择" }),
|
|
9118
|
+
S(g, {
|
|
9126
9119
|
label: "ID",
|
|
9127
9120
|
prop: "staff_id",
|
|
9128
9121
|
width: "80"
|
|
9129
9122
|
}),
|
|
9130
|
-
|
|
9123
|
+
S(g, {
|
|
9131
9124
|
label: "名称",
|
|
9132
9125
|
prop: "staff_name"
|
|
9133
9126
|
}),
|
|
9134
|
-
|
|
9127
|
+
S(T, {
|
|
9135
9128
|
label: "头像",
|
|
9136
9129
|
prop: "staff_avatar_cdn"
|
|
9137
9130
|
}),
|
|
9138
|
-
|
|
9131
|
+
S(g, {
|
|
9139
9132
|
label: "部门",
|
|
9140
9133
|
prop: "dept_name"
|
|
9141
9134
|
}),
|
|
9142
|
-
|
|
9135
|
+
S(g, {
|
|
9143
9136
|
label: "角色",
|
|
9144
9137
|
prop: "role_name"
|
|
9145
9138
|
}),
|
|
9146
|
-
|
|
9139
|
+
S(g, {
|
|
9147
9140
|
label: "性别",
|
|
9148
9141
|
prop: "staff_sex",
|
|
9149
9142
|
width: "60"
|
|
9150
9143
|
}),
|
|
9151
|
-
|
|
9144
|
+
S(w, {
|
|
9152
9145
|
label: "操作",
|
|
9153
9146
|
width: "100"
|
|
9154
9147
|
}, {
|
|
9155
|
-
default:
|
|
9156
|
-
|
|
9157
|
-
onClick: (k) => o.handleSelect(
|
|
9148
|
+
default: N(({ row: b, $index: y }) => [
|
|
9149
|
+
S(p, {
|
|
9150
|
+
onClick: (k) => o.handleSelect(b)
|
|
9158
9151
|
}, {
|
|
9159
|
-
default:
|
|
9152
|
+
default: N(() => [...t[7] || (t[7] = [
|
|
9160
9153
|
V("选择", -1)
|
|
9161
9154
|
])]),
|
|
9162
9155
|
_: 1
|
|
@@ -9171,18 +9164,18 @@ function R_(e, t, n, r, a, o) {
|
|
|
9171
9164
|
])
|
|
9172
9165
|
]),
|
|
9173
9166
|
D("div", k_, [
|
|
9174
|
-
|
|
9175
|
-
default:
|
|
9167
|
+
S(f, { onClick: o.handleClose }, {
|
|
9168
|
+
default: N(() => [...t[8] || (t[8] = [
|
|
9176
9169
|
V("取 消", -1)
|
|
9177
9170
|
])]),
|
|
9178
9171
|
_: 1
|
|
9179
9172
|
}, 8, ["onClick"]),
|
|
9180
|
-
|
|
9173
|
+
S(f, {
|
|
9181
9174
|
type: "primary",
|
|
9182
9175
|
onClick: o.handleConfirm,
|
|
9183
9176
|
autoLoading: ""
|
|
9184
9177
|
}, {
|
|
9185
|
-
default:
|
|
9178
|
+
default: N(() => [...t[9] || (t[9] = [
|
|
9186
9179
|
V("确 定", -1)
|
|
9187
9180
|
])]),
|
|
9188
9181
|
_: 1
|
|
@@ -9192,7 +9185,7 @@ function R_(e, t, n, r, a, o) {
|
|
|
9192
9185
|
[E, a.isLoading]
|
|
9193
9186
|
]);
|
|
9194
9187
|
}
|
|
9195
|
-
const Z_ = /* @__PURE__ */ ge(
|
|
9188
|
+
const Z_ = /* @__PURE__ */ ge(N_, [["render", R_]]);
|
|
9196
9189
|
(function() {
|
|
9197
9190
|
if (typeof EventTarget < "u") {
|
|
9198
9191
|
let e = EventTarget.prototype.addEventListener;
|
|
@@ -9257,7 +9250,7 @@ var P_ = {
|
|
|
9257
9250
|
function F_(e) {
|
|
9258
9251
|
e.mixin(P_);
|
|
9259
9252
|
}
|
|
9260
|
-
function
|
|
9253
|
+
function Nr(e, t, n) {
|
|
9261
9254
|
const r = t.value;
|
|
9262
9255
|
if (r)
|
|
9263
9256
|
Mo(r) || !1 || e.parentNode && e.parentNode.removeChild(e);
|
|
@@ -9266,12 +9259,12 @@ function Cr(e, t, n) {
|
|
|
9266
9259
|
}
|
|
9267
9260
|
function M_(e, t, n) {
|
|
9268
9261
|
n = n || "vue3", n == "vue2" ? e.directive("auth", {
|
|
9269
|
-
inserted:
|
|
9262
|
+
inserted: Nr
|
|
9270
9263
|
}) : e.directive("auth", {
|
|
9271
|
-
mounted:
|
|
9264
|
+
mounted: Nr
|
|
9272
9265
|
}), t.$_auth = Mo;
|
|
9273
9266
|
}
|
|
9274
|
-
/*! Element Plus v2.11.
|
|
9267
|
+
/*! Element Plus v2.11.5 */
|
|
9275
9268
|
var U_ = {
|
|
9276
9269
|
name: "zh-cn",
|
|
9277
9270
|
el: {
|
|
@@ -9283,7 +9276,10 @@ var U_ = {
|
|
|
9283
9276
|
clear: "清空",
|
|
9284
9277
|
defaultLabel: "颜色选择器",
|
|
9285
9278
|
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
9286
|
-
alphaLabel: "选择透明度的值"
|
|
9279
|
+
alphaLabel: "选择透明度的值",
|
|
9280
|
+
alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
|
|
9281
|
+
hueLabel: "选择色相值",
|
|
9282
|
+
hueDescription: "色相 {hue}, 当前颜色 {color}"
|
|
9287
9283
|
},
|
|
9288
9284
|
datepicker: {
|
|
9289
9285
|
now: "此刻",
|
|
@@ -9361,12 +9357,12 @@ var U_ = {
|
|
|
9361
9357
|
noData: "无数据",
|
|
9362
9358
|
placeholder: "请选择"
|
|
9363
9359
|
},
|
|
9364
|
-
dropdown: {
|
|
9365
|
-
toggleDropdown: "切换下拉选项"
|
|
9366
|
-
},
|
|
9367
9360
|
mention: {
|
|
9368
9361
|
loading: "加载中"
|
|
9369
9362
|
},
|
|
9363
|
+
dropdown: {
|
|
9364
|
+
toggleDropdown: "切换下拉选项"
|
|
9365
|
+
},
|
|
9370
9366
|
cascader: {
|
|
9371
9367
|
noMatch: "无匹配数据",
|
|
9372
9368
|
loading: "加载中",
|
|
@@ -9542,7 +9538,7 @@ async function td(e, t, n, r, a = "", o = null) {
|
|
|
9542
9538
|
zc(l, o), window.$t = Xe.t;
|
|
9543
9539
|
}
|
|
9544
9540
|
async function G_(e, t, n) {
|
|
9545
|
-
const r =
|
|
9541
|
+
const r = Nt(), a = Te(), o = rn(), s = on();
|
|
9546
9542
|
r.QK_SEND_MSG_REG_SUBMENU(t);
|
|
9547
9543
|
let l = Jt().syProductSign || "";
|
|
9548
9544
|
s.SA_PERMS_ROUTER_ADD(e, l), o.SA_MENU_PARSE(), r.QK_SEND_MSG_ROUTER_BEFORE(n);
|
|
@@ -9591,7 +9587,7 @@ export {
|
|
|
9591
9587
|
z_ as i,
|
|
9592
9588
|
Z_ as j,
|
|
9593
9589
|
d_ as k,
|
|
9594
|
-
|
|
9590
|
+
Nt as l,
|
|
9595
9591
|
Ro as m,
|
|
9596
9592
|
rn as n,
|
|
9597
9593
|
on as o,
|