@das-fed/utils 6.4.0-dev.55.13 → 6.4.0-dev.55.14
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/api-services/i18n/index.js +1 -1
- package/api-services/i18n/index.js.gz +0 -0
- package/api-services/index.js +52 -52
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +46 -46
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +46 -46
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +47 -47
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +46 -46
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +45 -45
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +46 -46
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +2 -2
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +46 -46
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +2 -2
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +42 -42
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +46 -46
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +46 -46
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +46 -46
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +46 -46
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +45 -45
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +46 -46
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +46 -46
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +45 -45
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +47 -47
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +46 -46
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +46 -46
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +46 -46
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +46 -46
- package/api-services/src/create-service/index.js.gz +0 -0
- package/create-api-service/i18n/index.js +2 -2
- package/create-api-service/index.js +46 -46
- package/create-api-service/index.js.gz +0 -0
- package/package.json +4 -4
|
@@ -69,11 +69,11 @@ function ct() {
|
|
|
69
69
|
}
|
|
70
70
|
const Qn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
|
|
71
71
|
n && I(o) ? t[a] = Pr(o, n) : t[a] = o;
|
|
72
|
-
}, { allOwnKeys: r }), t), Xn = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t),
|
|
72
|
+
}, { allOwnKeys: r }), t), Xn = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Zn = (t, e, n, r) => {
|
|
73
73
|
t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
74
74
|
value: e.prototype
|
|
75
75
|
}), n && Object.assign(t.prototype, n);
|
|
76
|
-
},
|
|
76
|
+
}, Yn = (t, e, n, r) => {
|
|
77
77
|
let o, a, i;
|
|
78
78
|
const s = {};
|
|
79
79
|
if (e = e || {}, t == null) return e;
|
|
@@ -211,8 +211,8 @@ const ho = (t) => {
|
|
|
211
211
|
extend: Qn,
|
|
212
212
|
trim: Kn,
|
|
213
213
|
stripBOM: Xn,
|
|
214
|
-
inherits:
|
|
215
|
-
toFlatObject:
|
|
214
|
+
inherits: Zn,
|
|
215
|
+
toFlatObject: Yn,
|
|
216
216
|
kindOf: Me,
|
|
217
217
|
kindOfTest: B,
|
|
218
218
|
endsWith: eo,
|
|
@@ -1123,10 +1123,10 @@ const Hr = (t) => {
|
|
|
1123
1123
|
let r = 0, o;
|
|
1124
1124
|
for (; r < n; )
|
|
1125
1125
|
o = r + e, yield t.slice(r, o), r = o;
|
|
1126
|
-
},
|
|
1127
|
-
for await (const n of
|
|
1126
|
+
}, Zo = async function* (t, e) {
|
|
1127
|
+
for await (const n of Yo(t))
|
|
1128
1128
|
yield* Xo(n, e);
|
|
1129
|
-
},
|
|
1129
|
+
}, Yo = async function* (t) {
|
|
1130
1130
|
if (t[Symbol.asyncIterator]) {
|
|
1131
1131
|
yield* t;
|
|
1132
1132
|
return;
|
|
@@ -1143,7 +1143,7 @@ const Hr = (t) => {
|
|
|
1143
1143
|
await e.cancel();
|
|
1144
1144
|
}
|
|
1145
1145
|
}, Qt = (t, e, n, r) => {
|
|
1146
|
-
const o =
|
|
1146
|
+
const o = Zo(t, e);
|
|
1147
1147
|
let a = 0, i, s = (u) => {
|
|
1148
1148
|
i || (i = !0, r && r(u));
|
|
1149
1149
|
};
|
|
@@ -1313,7 +1313,7 @@ f.forEach(dt, (t, e) => {
|
|
|
1313
1313
|
Object.defineProperty(t, "adapterName", { value: e });
|
|
1314
1314
|
}
|
|
1315
1315
|
});
|
|
1316
|
-
const
|
|
1316
|
+
const Zt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !1, Jr = {
|
|
1317
1317
|
getAdapter: (t) => {
|
|
1318
1318
|
t = f.isArray(t) ? t : [t];
|
|
1319
1319
|
const { length: e } = t;
|
|
@@ -1333,8 +1333,8 @@ const Yt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !
|
|
|
1333
1333
|
([s, u]) => `adapter ${s} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1334
1334
|
);
|
|
1335
1335
|
let i = e ? a.length > 1 ? `since :
|
|
1336
|
-
` + a.map(
|
|
1337
|
-
`) : " " +
|
|
1336
|
+
` + a.map(Zt).join(`
|
|
1337
|
+
`) : " " + Zt(a[0]) : "as no adapter specified";
|
|
1338
1338
|
throw new b(
|
|
1339
1339
|
"There is no suitable adapter to dispatch the request " + i,
|
|
1340
1340
|
"ERR_NOT_SUPPORT"
|
|
@@ -1348,7 +1348,7 @@ function Qe(t) {
|
|
|
1348
1348
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
1349
1349
|
throw new fe(null, t);
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function Yt(t) {
|
|
1352
1352
|
return Qe(t), t.headers = _.from(t.headers), t.data = Ke.call(
|
|
1353
1353
|
t,
|
|
1354
1354
|
t.transformRequest
|
|
@@ -1407,7 +1407,7 @@ const yt = {
|
|
|
1407
1407
|
assertOptions: ia,
|
|
1408
1408
|
validators: Ct
|
|
1409
1409
|
}, G = yt.validators;
|
|
1410
|
-
class
|
|
1410
|
+
class Z {
|
|
1411
1411
|
constructor(e) {
|
|
1412
1412
|
this.defaults = e, this.interceptors = {
|
|
1413
1413
|
request: new Wt(),
|
|
@@ -1473,7 +1473,7 @@ class Y {
|
|
|
1473
1473
|
});
|
|
1474
1474
|
let c, p = 0, d;
|
|
1475
1475
|
if (!u) {
|
|
1476
|
-
const y = [
|
|
1476
|
+
const y = [Yt.bind(this), void 0];
|
|
1477
1477
|
for (y.unshift.apply(y, s), y.push.apply(y, l), d = y.length, c = Promise.resolve(n); p < d; )
|
|
1478
1478
|
c = c.then(y[p++], y[p++]);
|
|
1479
1479
|
return c;
|
|
@@ -1490,7 +1490,7 @@ class Y {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
try {
|
|
1493
|
-
c =
|
|
1493
|
+
c = Yt.call(this, g);
|
|
1494
1494
|
} catch (y) {
|
|
1495
1495
|
return Promise.reject(y);
|
|
1496
1496
|
}
|
|
@@ -1505,7 +1505,7 @@ class Y {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
}
|
|
1507
1507
|
f.forEach(["delete", "get", "head", "options"], function(e) {
|
|
1508
|
-
|
|
1508
|
+
Z.prototype[e] = function(n, r) {
|
|
1509
1509
|
return this.request(te(r || {}, {
|
|
1510
1510
|
method: e,
|
|
1511
1511
|
url: n,
|
|
@@ -1526,7 +1526,7 @@ f.forEach(["post", "put", "patch"], function(e) {
|
|
|
1526
1526
|
}));
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
|
-
|
|
1529
|
+
Z.prototype[e] = n(), Z.prototype[e + "Form"] = n(!0);
|
|
1530
1530
|
});
|
|
1531
1531
|
class Ft {
|
|
1532
1532
|
constructor(e) {
|
|
@@ -1678,13 +1678,13 @@ Object.entries(ht).forEach(([t, e]) => {
|
|
|
1678
1678
|
ht[e] = t;
|
|
1679
1679
|
});
|
|
1680
1680
|
function Kr(t) {
|
|
1681
|
-
const e = new
|
|
1682
|
-
return f.extend(n,
|
|
1681
|
+
const e = new Z(t), n = Pr(Z.prototype.request, e);
|
|
1682
|
+
return f.extend(n, Z.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1683
1683
|
return Kr(te(t, o));
|
|
1684
1684
|
}, n;
|
|
1685
1685
|
}
|
|
1686
1686
|
const R = Kr(Ee);
|
|
1687
|
-
R.Axios =
|
|
1687
|
+
R.Axios = Z;
|
|
1688
1688
|
R.CanceledError = fe;
|
|
1689
1689
|
R.CancelToken = Ft;
|
|
1690
1690
|
R.isCancel = qr;
|
|
@@ -1794,31 +1794,31 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Qr = Synta
|
|
|
1794
1794
|
l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
|
|
1795
1795
|
}
|
|
1796
1796
|
return o;
|
|
1797
|
-
}, xa = Ta, Nt = Function.prototype.bind || xa, Ca = Function.prototype.call, Fa = Object.prototype.hasOwnProperty, Na = Nt, Da = Na.call(Ca, Fa), w, _a = fa, Ia = pa, $a = da, Ba = ya, se = Qr, ie = Ae, Ua = ha, Xr = Function,
|
|
1797
|
+
}, xa = Ta, Nt = Function.prototype.bind || xa, Ca = Function.prototype.call, Fa = Object.prototype.hasOwnProperty, Na = Nt, Da = Na.call(Ca, Fa), w, _a = fa, Ia = pa, $a = da, Ba = ya, se = Qr, ie = Ae, Ua = ha, Xr = Function, Ze = function(t) {
|
|
1798
1798
|
try {
|
|
1799
1799
|
return Xr('"use strict"; return (' + t + ").constructor;")();
|
|
1800
1800
|
} catch {
|
|
1801
1801
|
}
|
|
1802
|
-
},
|
|
1803
|
-
if (
|
|
1802
|
+
}, Y = Object.getOwnPropertyDescriptor;
|
|
1803
|
+
if (Y)
|
|
1804
1804
|
try {
|
|
1805
|
-
|
|
1805
|
+
Y({}, "");
|
|
1806
1806
|
} catch {
|
|
1807
|
-
|
|
1807
|
+
Y = null;
|
|
1808
1808
|
}
|
|
1809
|
-
var
|
|
1809
|
+
var Ye = function() {
|
|
1810
1810
|
throw new ie();
|
|
1811
|
-
}, La =
|
|
1811
|
+
}, La = Y ? function() {
|
|
1812
1812
|
try {
|
|
1813
|
-
return arguments.callee,
|
|
1813
|
+
return arguments.callee, Ye;
|
|
1814
1814
|
} catch {
|
|
1815
1815
|
try {
|
|
1816
|
-
return
|
|
1816
|
+
return Y(arguments, "callee").get;
|
|
1817
1817
|
} catch {
|
|
1818
|
-
return
|
|
1818
|
+
return Ye;
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
|
-
}() :
|
|
1821
|
+
}() : Ye, ne = va(), ka = wa(), x = Object.getPrototypeOf || (ka ? function(t) {
|
|
1822
1822
|
return t.__proto__;
|
|
1823
1823
|
} : null), ae = {}, Ma = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), ee = {
|
|
1824
1824
|
__proto__: null,
|
|
@@ -1900,11 +1900,11 @@ if (x)
|
|
|
1900
1900
|
var ja = function t(e) {
|
|
1901
1901
|
var n;
|
|
1902
1902
|
if (e === "%AsyncFunction%")
|
|
1903
|
-
n =
|
|
1903
|
+
n = Ze("async function () {}");
|
|
1904
1904
|
else if (e === "%GeneratorFunction%")
|
|
1905
|
-
n =
|
|
1905
|
+
n = Ze("function* () {}");
|
|
1906
1906
|
else if (e === "%AsyncGeneratorFunction%")
|
|
1907
|
-
n =
|
|
1907
|
+
n = Ze("async function* () {}");
|
|
1908
1908
|
else if (e === "%AsyncGenerator%") {
|
|
1909
1909
|
var r = t("%AsyncGeneratorFunction%");
|
|
1910
1910
|
r && (n = r.prototype);
|
|
@@ -2010,8 +2010,8 @@ var ja = function t(e) {
|
|
|
2010
2010
|
throw new ie("base intrinsic for " + e + " exists, but the property is not available.");
|
|
2011
2011
|
return;
|
|
2012
2012
|
}
|
|
2013
|
-
if (
|
|
2014
|
-
var m =
|
|
2013
|
+
if (Y && c + 1 >= r.length) {
|
|
2014
|
+
var m = Y(s, d);
|
|
2015
2015
|
p = !!m, p && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[d];
|
|
2016
2016
|
} else
|
|
2017
2017
|
p = Be(s, d), s = s[d];
|
|
@@ -2019,7 +2019,7 @@ var ja = function t(e) {
|
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
return s;
|
|
2022
|
-
},
|
|
2022
|
+
}, Zr = { exports: {} }, et, ir;
|
|
2023
2023
|
function Dt() {
|
|
2024
2024
|
if (ir) return et;
|
|
2025
2025
|
ir = 1;
|
|
@@ -2039,7 +2039,7 @@ if (De)
|
|
|
2039
2039
|
} catch {
|
|
2040
2040
|
De = null;
|
|
2041
2041
|
}
|
|
2042
|
-
var
|
|
2042
|
+
var Yr = De, sr = Dt(), Xa = Qr, oe = Ae, lr = Yr, Za = function(e, n, r) {
|
|
2043
2043
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
2044
2044
|
throw new oe("`obj` must be an object or a function`");
|
|
2045
2045
|
if (typeof n != "string" && typeof n != "symbol")
|
|
@@ -2076,7 +2076,7 @@ en.hasArrayLengthDefineBug = function() {
|
|
|
2076
2076
|
return !0;
|
|
2077
2077
|
}
|
|
2078
2078
|
};
|
|
2079
|
-
var
|
|
2079
|
+
var Ya = en, ei = pe, cr = Za, ti = Ya(), ur = Yr, fr = Ae, ri = ei("%Math.floor%"), ni = function(e, n) {
|
|
2080
2080
|
if (typeof e != "function")
|
|
2081
2081
|
throw new fr("`fn` is not a function");
|
|
2082
2082
|
if (typeof n != "number" || n < 0 || n > 4294967295 || ri(n) !== n)
|
|
@@ -2116,8 +2116,8 @@ var Za = en, ei = pe, cr = Ya, ti = Za(), ur = Zr, fr = Ae, ri = ei("%Math.floor
|
|
|
2116
2116
|
return s(e, a, arguments);
|
|
2117
2117
|
};
|
|
2118
2118
|
u ? u(t.exports, "apply", { value: c }) : t.exports.apply = c;
|
|
2119
|
-
})(
|
|
2120
|
-
var oi =
|
|
2119
|
+
})(Zr);
|
|
2120
|
+
var oi = Zr.exports, tn = pe, rn = oi, ai = rn(tn("String.prototype.indexOf")), ii = function(e, n) {
|
|
2121
2121
|
var r = tn(e, !!n);
|
|
2122
2122
|
return typeof r == "function" && ai(e, ".prototype.") > -1 ? rn(r) : r;
|
|
2123
2123
|
};
|
|
@@ -2542,11 +2542,11 @@ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
|
|
|
2542
2542
|
},
|
|
2543
2543
|
RFC1738: at.RFC1738,
|
|
2544
2544
|
RFC3986: at.RFC3986
|
|
2545
|
-
},
|
|
2545
|
+
}, Zi = Ut, it = Object.prototype.hasOwnProperty, Q = Array.isArray, L = function() {
|
|
2546
2546
|
for (var t = [], e = 0; e < 256; ++e)
|
|
2547
2547
|
t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
2548
2548
|
return t;
|
|
2549
|
-
}(),
|
|
2549
|
+
}(), Yi = function(e) {
|
|
2550
2550
|
for (; e.length > 1; ) {
|
|
2551
2551
|
var n = e.pop(), r = n.obj[n.prop];
|
|
2552
2552
|
if (Q(r)) {
|
|
@@ -2608,7 +2608,7 @@ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
|
|
|
2608
2608
|
for (var s = "", u = 0; u < i.length; u += st) {
|
|
2609
2609
|
for (var l = i.length >= st ? i.slice(u, u + st) : i, c = [], p = 0; p < l.length; ++p) {
|
|
2610
2610
|
var d = l.charCodeAt(p);
|
|
2611
|
-
if (d === 45 || d === 46 || d === 95 || d === 126 || d >= 48 && d <= 57 || d >= 65 && d <= 90 || d >= 97 && d <= 122 || a ===
|
|
2611
|
+
if (d === 45 || d === 46 || d === 95 || d === 126 || d >= 48 && d <= 57 || d >= 65 && d <= 90 || d >= 97 && d <= 122 || a === Zi.RFC1738 && (d === 40 || d === 41)) {
|
|
2612
2612
|
c[c.length] = l.charAt(p);
|
|
2613
2613
|
continue;
|
|
2614
2614
|
}
|
|
@@ -2635,7 +2635,7 @@ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
|
|
|
2635
2635
|
var l = s[u], c = i[l];
|
|
2636
2636
|
typeof c == "object" && c !== null && r.indexOf(c) === -1 && (n.push({ obj: i, prop: l }), r.push(c));
|
|
2637
2637
|
}
|
|
2638
|
-
return
|
|
2638
|
+
return Yi(n), e;
|
|
2639
2639
|
}, as = function(e) {
|
|
2640
2640
|
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
2641
2641
|
}, is = function(e) {
|
|
@@ -3048,13 +3048,13 @@ function At(t, e) {
|
|
|
3048
3048
|
var Ns = At(Fs, { path: "/" });
|
|
3049
3049
|
const Ds = {
|
|
3050
3050
|
参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter Validation Error", _appCode: "framework" },
|
|
3051
|
-
接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api
|
|
3051
|
+
接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api endpoint not found", _appCode: "framework" },
|
|
3052
3052
|
服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal Server Error", _appCode: "framework" },
|
|
3053
3053
|
解析错误: { "zh-CN": "解析错误", en: "Parsing Error", _appCode: "framework" },
|
|
3054
3054
|
请求配置异常: { "zh-CN": "请求配置异常", en: "Request Configuration Error", _appCode: "framework" },
|
|
3055
3055
|
"网络异常,请检查您的网络情况": {
|
|
3056
3056
|
"zh-CN": "网络异常,请检查您的网络情况",
|
|
3057
|
-
en: "Network
|
|
3057
|
+
en: "Network error, please check your network status",
|
|
3058
3058
|
_appCode: "framework"
|
|
3059
3059
|
}
|
|
3060
3060
|
};
|
|
Binary file
|
|
@@ -83,11 +83,11 @@ const Vn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
|
|
|
83
83
|
t = n !== !1 && Pt(t);
|
|
84
84
|
} while (t && (!n || n(t, e)) && t !== Object.prototype);
|
|
85
85
|
return e;
|
|
86
|
-
},
|
|
86
|
+
}, Zn = (t, e, n) => {
|
|
87
87
|
t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
|
|
88
88
|
const r = t.indexOf(e, n);
|
|
89
89
|
return r !== -1 && r === n;
|
|
90
|
-
},
|
|
90
|
+
}, Yn = (t) => {
|
|
91
91
|
if (!t) return null;
|
|
92
92
|
if (ue(t)) return t;
|
|
93
93
|
let e = t.length;
|
|
@@ -215,8 +215,8 @@ const po = (t) => {
|
|
|
215
215
|
toFlatObject: Xn,
|
|
216
216
|
kindOf: Me,
|
|
217
217
|
kindOfTest: B,
|
|
218
|
-
endsWith:
|
|
219
|
-
toArray:
|
|
218
|
+
endsWith: Zn,
|
|
219
|
+
toArray: Yn,
|
|
220
220
|
forEachEntry: to,
|
|
221
221
|
matchAll: ro,
|
|
222
222
|
isHTMLForm: no,
|
|
@@ -1171,13 +1171,13 @@ const jr = (t) => {
|
|
|
1171
1171
|
}, {
|
|
1172
1172
|
highWaterMark: 2
|
|
1173
1173
|
});
|
|
1174
|
-
}, He = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", zr = He && typeof ReadableStream == "function",
|
|
1174
|
+
}, He = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", zr = He && typeof ReadableStream == "function", Zo = He && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), Hr = (t, ...e) => {
|
|
1175
1175
|
try {
|
|
1176
1176
|
return !!t(...e);
|
|
1177
1177
|
} catch {
|
|
1178
1178
|
return !1;
|
|
1179
1179
|
}
|
|
1180
|
-
},
|
|
1180
|
+
}, Yo = zr && Hr(() => {
|
|
1181
1181
|
let t = !1;
|
|
1182
1182
|
const e = new Request(D.origin, {
|
|
1183
1183
|
body: new ReadableStream(),
|
|
@@ -1210,7 +1210,7 @@ const ea = async (t) => {
|
|
|
1210
1210
|
if (f.isArrayBufferView(t) || f.isArrayBuffer(t))
|
|
1211
1211
|
return t.byteLength;
|
|
1212
1212
|
if (f.isURLSearchParams(t) && (t = t + ""), f.isString(t))
|
|
1213
|
-
return (await
|
|
1213
|
+
return (await Zo(t)).byteLength;
|
|
1214
1214
|
}, ta = async (t, e) => {
|
|
1215
1215
|
const n = f.toFiniteNumber(t.getContentLength());
|
|
1216
1216
|
return n ?? ea(e);
|
|
@@ -1236,7 +1236,7 @@ const ea = async (t) => {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
let h;
|
|
1238
1238
|
try {
|
|
1239
|
-
if (u &&
|
|
1239
|
+
if (u && Yo && n !== "get" && n !== "head" && (h = await ta(c, r)) !== 0) {
|
|
1240
1240
|
let A = new Request(e, {
|
|
1241
1241
|
method: "POST",
|
|
1242
1242
|
body: r,
|
|
@@ -1372,7 +1372,7 @@ const Gr = "1.7.7", Ct = {};
|
|
|
1372
1372
|
return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
|
|
1373
1373
|
};
|
|
1374
1374
|
});
|
|
1375
|
-
const
|
|
1375
|
+
const Zt = {};
|
|
1376
1376
|
Ct.transitional = function(e, n, r) {
|
|
1377
1377
|
function o(a, i) {
|
|
1378
1378
|
return "[Axios v" + Gr + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
|
|
@@ -1383,7 +1383,7 @@ Ct.transitional = function(e, n, r) {
|
|
|
1383
1383
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
1384
1384
|
b.ERR_DEPRECATED
|
|
1385
1385
|
);
|
|
1386
|
-
return n && !
|
|
1386
|
+
return n && !Zt[i] && (Zt[i] = !0), e ? e(a, i, s) : !0;
|
|
1387
1387
|
};
|
|
1388
1388
|
};
|
|
1389
1389
|
function oa(t, e, n) {
|
|
@@ -1407,7 +1407,7 @@ const yt = {
|
|
|
1407
1407
|
assertOptions: oa,
|
|
1408
1408
|
validators: Ct
|
|
1409
1409
|
}, G = yt.validators;
|
|
1410
|
-
class
|
|
1410
|
+
class Z {
|
|
1411
1411
|
constructor(e) {
|
|
1412
1412
|
this.defaults = e, this.interceptors = {
|
|
1413
1413
|
request: new zt(),
|
|
@@ -1505,7 +1505,7 @@ class Y {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
}
|
|
1507
1507
|
f.forEach(["delete", "get", "head", "options"], function(e) {
|
|
1508
|
-
|
|
1508
|
+
Z.prototype[e] = function(n, r) {
|
|
1509
1509
|
return this.request(te(r || {}, {
|
|
1510
1510
|
method: e,
|
|
1511
1511
|
url: n,
|
|
@@ -1526,7 +1526,7 @@ f.forEach(["post", "put", "patch"], function(e) {
|
|
|
1526
1526
|
}));
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
|
-
|
|
1529
|
+
Z.prototype[e] = n(), Z.prototype[e + "Form"] = n(!0);
|
|
1530
1530
|
});
|
|
1531
1531
|
class Ft {
|
|
1532
1532
|
constructor(e) {
|
|
@@ -1678,13 +1678,13 @@ Object.entries(ht).forEach(([t, e]) => {
|
|
|
1678
1678
|
ht[e] = t;
|
|
1679
1679
|
});
|
|
1680
1680
|
function Jr(t) {
|
|
1681
|
-
const e = new
|
|
1682
|
-
return f.extend(n,
|
|
1681
|
+
const e = new Z(t), n = Or(Z.prototype.request, e);
|
|
1682
|
+
return f.extend(n, Z.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1683
1683
|
return Jr(te(t, o));
|
|
1684
1684
|
}, n;
|
|
1685
1685
|
}
|
|
1686
1686
|
const R = Jr(Ee);
|
|
1687
|
-
R.Axios =
|
|
1687
|
+
R.Axios = Z;
|
|
1688
1688
|
R.CanceledError = fe;
|
|
1689
1689
|
R.CancelToken = Ft;
|
|
1690
1690
|
R.isCancel = kr;
|
|
@@ -1703,7 +1703,7 @@ R.formToJSON = (t) => Lr(f.isHTMLForm(t) ? new FormData(t) : t);
|
|
|
1703
1703
|
R.getAdapter = Wr.getAdapter;
|
|
1704
1704
|
R.HttpStatusCode = ht;
|
|
1705
1705
|
R.default = R;
|
|
1706
|
-
var
|
|
1706
|
+
var Yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1707
1707
|
function sa(t) {
|
|
1708
1708
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1709
1709
|
}
|
|
@@ -1794,31 +1794,31 @@ var ca = Error, ua = EvalError, fa = RangeError, pa = ReferenceError, Vr = Synta
|
|
|
1794
1794
|
l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
|
|
1795
1795
|
}
|
|
1796
1796
|
return o;
|
|
1797
|
-
}, Pa = Ra, Nt = Function.prototype.bind || Pa, Ta = Function.prototype.call, xa = Object.prototype.hasOwnProperty, Ca = Nt, Fa = Ca.call(Ta, xa), w, Na = ca, Da = ua, _a = fa, Ia = pa, se = Vr, ie = Ae, $a = da, Kr = Function,
|
|
1797
|
+
}, Pa = Ra, Nt = Function.prototype.bind || Pa, Ta = Function.prototype.call, xa = Object.prototype.hasOwnProperty, Ca = Nt, Fa = Ca.call(Ta, xa), w, Na = ca, Da = ua, _a = fa, Ia = pa, se = Vr, ie = Ae, $a = da, Kr = Function, Ze = function(t) {
|
|
1798
1798
|
try {
|
|
1799
1799
|
return Kr('"use strict"; return (' + t + ").constructor;")();
|
|
1800
1800
|
} catch {
|
|
1801
1801
|
}
|
|
1802
|
-
},
|
|
1803
|
-
if (
|
|
1802
|
+
}, Y = Object.getOwnPropertyDescriptor;
|
|
1803
|
+
if (Y)
|
|
1804
1804
|
try {
|
|
1805
|
-
|
|
1805
|
+
Y({}, "");
|
|
1806
1806
|
} catch {
|
|
1807
|
-
|
|
1807
|
+
Y = null;
|
|
1808
1808
|
}
|
|
1809
|
-
var
|
|
1809
|
+
var Ye = function() {
|
|
1810
1810
|
throw new ie();
|
|
1811
|
-
}, Ba =
|
|
1811
|
+
}, Ba = Y ? function() {
|
|
1812
1812
|
try {
|
|
1813
|
-
return arguments.callee,
|
|
1813
|
+
return arguments.callee, Ye;
|
|
1814
1814
|
} catch {
|
|
1815
1815
|
try {
|
|
1816
|
-
return
|
|
1816
|
+
return Y(arguments, "callee").get;
|
|
1817
1817
|
} catch {
|
|
1818
|
-
return
|
|
1818
|
+
return Ye;
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
|
-
}() :
|
|
1821
|
+
}() : Ye, ne = ma(), Ua = va(), x = Object.getPrototypeOf || (Ua ? function(t) {
|
|
1822
1822
|
return t.__proto__;
|
|
1823
1823
|
} : null), ae = {}, La = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), ee = {
|
|
1824
1824
|
__proto__: null,
|
|
@@ -1900,11 +1900,11 @@ if (x)
|
|
|
1900
1900
|
var Ma = function t(e) {
|
|
1901
1901
|
var n;
|
|
1902
1902
|
if (e === "%AsyncFunction%")
|
|
1903
|
-
n =
|
|
1903
|
+
n = Ze("async function () {}");
|
|
1904
1904
|
else if (e === "%GeneratorFunction%")
|
|
1905
|
-
n =
|
|
1905
|
+
n = Ze("function* () {}");
|
|
1906
1906
|
else if (e === "%AsyncGeneratorFunction%")
|
|
1907
|
-
n =
|
|
1907
|
+
n = Ze("async function* () {}");
|
|
1908
1908
|
else if (e === "%AsyncGenerator%") {
|
|
1909
1909
|
var r = t("%AsyncGeneratorFunction%");
|
|
1910
1910
|
r && (n = r.prototype);
|
|
@@ -2010,8 +2010,8 @@ var Ma = function t(e) {
|
|
|
2010
2010
|
throw new ie("base intrinsic for " + e + " exists, but the property is not available.");
|
|
2011
2011
|
return;
|
|
2012
2012
|
}
|
|
2013
|
-
if (
|
|
2014
|
-
var m =
|
|
2013
|
+
if (Y && c + 1 >= r.length) {
|
|
2014
|
+
var m = Y(s, d);
|
|
2015
2015
|
p = !!m, p && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[d];
|
|
2016
2016
|
} else
|
|
2017
2017
|
p = Be(s, d), s = s[d];
|
|
@@ -2064,10 +2064,10 @@ var Xr = De, ar = Dt(), Ka = Vr, oe = Ae, ir = Xr, Qa = function(e, n, r) {
|
|
|
2064
2064
|
e[n] = r;
|
|
2065
2065
|
else
|
|
2066
2066
|
throw new Ka("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
2067
|
-
}, mt = Dt(),
|
|
2067
|
+
}, mt = Dt(), Zr = function() {
|
|
2068
2068
|
return !!mt;
|
|
2069
2069
|
};
|
|
2070
|
-
|
|
2070
|
+
Zr.hasArrayLengthDefineBug = function() {
|
|
2071
2071
|
if (!mt)
|
|
2072
2072
|
return null;
|
|
2073
2073
|
try {
|
|
@@ -2076,7 +2076,7 @@ Yr.hasArrayLengthDefineBug = function() {
|
|
|
2076
2076
|
return !0;
|
|
2077
2077
|
}
|
|
2078
2078
|
};
|
|
2079
|
-
var Xa =
|
|
2079
|
+
var Xa = Zr, Za = pe, sr = Qa, Ya = Xa(), lr = Xr, cr = Ae, ei = Za("%Math.floor%"), ti = function(e, n) {
|
|
2080
2080
|
if (typeof e != "function")
|
|
2081
2081
|
throw new cr("`fn` is not a function");
|
|
2082
2082
|
if (typeof n != "number" || n < 0 || n > 4294967295 || ei(n) !== n)
|
|
@@ -2086,7 +2086,7 @@ var Xa = Yr, Ya = pe, sr = Qa, Za = Xa(), lr = Xr, cr = Ae, ei = Ya("%Math.floor
|
|
|
2086
2086
|
var i = lr(e, "length");
|
|
2087
2087
|
i && !i.configurable && (o = !1), i && !i.writable && (a = !1);
|
|
2088
2088
|
}
|
|
2089
|
-
return (o || a || !r) && (
|
|
2089
|
+
return (o || a || !r) && (Ya ? sr(
|
|
2090
2090
|
/** @type {Parameters<define>[0]} */
|
|
2091
2091
|
e,
|
|
2092
2092
|
"length",
|
|
@@ -2117,8 +2117,8 @@ var Xa = Yr, Ya = pe, sr = Qa, Za = Xa(), lr = Xr, cr = Ae, ei = Ya("%Math.floor
|
|
|
2117
2117
|
};
|
|
2118
2118
|
u ? u(t.exports, "apply", { value: c }) : t.exports.apply = c;
|
|
2119
2119
|
})(Qr);
|
|
2120
|
-
var ri = Qr.exports,
|
|
2121
|
-
var r =
|
|
2120
|
+
var ri = Qr.exports, Yr = pe, en = ri, ni = en(Yr("String.prototype.indexOf")), oi = function(e, n) {
|
|
2121
|
+
var r = Yr(e, !!n);
|
|
2122
2122
|
return typeof r == "function" && ni(e, ".prototype.") > -1 ? en(r) : r;
|
|
2123
2123
|
};
|
|
2124
2124
|
const ai = {}, ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2247,7 +2247,7 @@ var bt = si, vr = bt.custom, br = on(vr) ? vr : null, gi = function t(e, n, r, o
|
|
|
2247
2247
|
return me(d(String(e)));
|
|
2248
2248
|
if (typeof window < "u" && e === window)
|
|
2249
2249
|
return "{ [object Window] }";
|
|
2250
|
-
if (typeof globalThis < "u" && e === globalThis || typeof
|
|
2250
|
+
if (typeof globalThis < "u" && e === globalThis || typeof Yt < "u" && e === Yt)
|
|
2251
2251
|
return "{ [object globalThis] }";
|
|
2252
2252
|
if (!bi(e) && !wr(e)) {
|
|
2253
2253
|
var N = Pe(e, d), q = mr ? mr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && C && Object(e) === e && C in e ? $t.call(K(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || U ? "[" + M.call(yr.call([], j || [], U || []), ": ") + "] " : "");
|
|
@@ -2559,7 +2559,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
|
|
|
2559
2559
|
for (var r = n && n.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
|
|
2560
2560
|
typeof e[o] < "u" && (r[o] = e[o]);
|
|
2561
2561
|
return r;
|
|
2562
|
-
},
|
|
2562
|
+
}, Zi = function t(e, n, r) {
|
|
2563
2563
|
if (!n)
|
|
2564
2564
|
return e;
|
|
2565
2565
|
if (typeof n != "object") {
|
|
@@ -2584,7 +2584,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
|
|
|
2584
2584
|
var s = n[i];
|
|
2585
2585
|
return it.call(a, i) ? a[i] = t(a[i], s, r) : a[i] = s, a;
|
|
2586
2586
|
}, o);
|
|
2587
|
-
},
|
|
2587
|
+
}, Yi = function(e, n) {
|
|
2588
2588
|
return Object.keys(n).reduce(function(r, o) {
|
|
2589
2589
|
return r[o] = n[o], r;
|
|
2590
2590
|
}, e);
|
|
@@ -2651,7 +2651,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
|
|
|
2651
2651
|
return n(e);
|
|
2652
2652
|
}, un = {
|
|
2653
2653
|
arrayToObject: cn,
|
|
2654
|
-
assign:
|
|
2654
|
+
assign: Yi,
|
|
2655
2655
|
combine: as,
|
|
2656
2656
|
compact: rs,
|
|
2657
2657
|
decode: es,
|
|
@@ -2659,7 +2659,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
|
|
|
2659
2659
|
isBuffer: os,
|
|
2660
2660
|
isRegExp: ns,
|
|
2661
2661
|
maybeMap: is,
|
|
2662
|
-
merge:
|
|
2662
|
+
merge: Zi
|
|
2663
2663
|
}, fn = Ji, _e = un, be = Ut, ss = Object.prototype.hasOwnProperty, pn = {
|
|
2664
2664
|
brackets: function(e) {
|
|
2665
2665
|
return e + "[]";
|
|
@@ -3048,13 +3048,13 @@ function At(t, e) {
|
|
|
3048
3048
|
var Cs = At(xs, { path: "/" });
|
|
3049
3049
|
const Fs = {
|
|
3050
3050
|
参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter Validation Error", _appCode: "framework" },
|
|
3051
|
-
接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api
|
|
3051
|
+
接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api endpoint not found", _appCode: "framework" },
|
|
3052
3052
|
服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal Server Error", _appCode: "framework" },
|
|
3053
3053
|
解析错误: { "zh-CN": "解析错误", en: "Parsing Error", _appCode: "framework" },
|
|
3054
3054
|
请求配置异常: { "zh-CN": "请求配置异常", en: "Request Configuration Error", _appCode: "framework" },
|
|
3055
3055
|
"网络异常,请检查您的网络情况": {
|
|
3056
3056
|
"zh-CN": "网络异常,请检查您的网络情况",
|
|
3057
|
-
en: "Network
|
|
3057
|
+
en: "Network error, please check your network status",
|
|
3058
3058
|
_appCode: "framework"
|
|
3059
3059
|
}
|
|
3060
3060
|
};
|
|
Binary file
|