@das-fed/utils 6.4.0-dev.55.2 → 6.4.0-dev.55.4
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 +4 -4
- package/api-services/i18n/index.js.gz +0 -0
- package/api-services/index.js +690 -684
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +95 -95
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +95 -95
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +93 -93
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +95 -95
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +89 -89
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +95 -95
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +605 -599
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +95 -95
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +641 -635
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +88 -88
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +94 -94
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +95 -95
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +95 -95
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +95 -95
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +91 -91
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +95 -95
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +95 -95
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +89 -89
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +93 -93
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +95 -95
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +95 -95
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +95 -95
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +95 -95
- package/api-services/src/create-service/index.js.gz +0 -0
- package/create-api-service/i18n/index.js +8 -8
- package/create-api-service/index.js +95 -95
- package/create-api-service/index.js.gz +0 -0
- package/package.json +4 -4
|
Binary file
|
|
@@ -33,7 +33,7 @@ const Bn = ze("string"), _ = ze("function"), Tr = ze("number"), He = (t) => t !=
|
|
|
33
33
|
let e;
|
|
34
34
|
return t && (typeof FormData == "function" && t instanceof FormData || _(t.append) && ((e = qe(t)) === "formdata" || // detect form-data instance
|
|
35
35
|
e === "object" && _(t.toString) && t.toString() === "[object FormData]"));
|
|
36
|
-
}, Hn = B("URLSearchParams"), [Wn, Gn, Jn,
|
|
36
|
+
}, Hn = B("URLSearchParams"), [Wn, Gn, Jn, Vn] = ["ReadableStream", "Request", "Response", "Headers"].map(B), Kn = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
37
37
|
function Ae(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
38
38
|
if (t === null || typeof t > "u")
|
|
39
39
|
return;
|
|
@@ -57,7 +57,7 @@ function xr(t, e) {
|
|
|
57
57
|
return o;
|
|
58
58
|
return null;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const Z = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fr = (t) => !Ee(t) && t !== Z;
|
|
61
61
|
function ft() {
|
|
62
62
|
const { caseless: t } = Fr(this) && this || {}, e = {}, n = (r, o) => {
|
|
63
63
|
const a = t && xr(e, o) || o;
|
|
@@ -69,11 +69,11 @@ function ft() {
|
|
|
69
69
|
}
|
|
70
70
|
const Qn = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
|
|
71
71
|
n && _(o) ? t[a] = Rr(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), Yn = (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
|
+
}, Zn = (t, e, n, r) => {
|
|
77
77
|
let o, a, i;
|
|
78
78
|
const s = {};
|
|
79
79
|
if (e = e || {}, t == null) return e;
|
|
@@ -143,10 +143,10 @@ const Qn = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
|
|
|
143
143
|
};
|
|
144
144
|
return pe(t) ? r(t) : r(String(t).split(e)), n;
|
|
145
145
|
}, uo = () => {
|
|
146
|
-
}, fo = (t, e) => t != null && Number.isFinite(t = +t) ? t : e,
|
|
146
|
+
}, fo = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Ke = "abcdefghijklmnopqrstuvwxyz", jt = "0123456789", Nr = {
|
|
147
147
|
DIGIT: jt,
|
|
148
|
-
ALPHA:
|
|
149
|
-
ALPHA_DIGIT:
|
|
148
|
+
ALPHA: Ke,
|
|
149
|
+
ALPHA_DIGIT: Ke + Ke.toUpperCase() + jt
|
|
150
150
|
}, po = (t = 16, e = Nr.ALPHA_DIGIT) => {
|
|
151
151
|
let n = "";
|
|
152
152
|
const { length: r } = e;
|
|
@@ -174,14 +174,14 @@ const ho = (t) => {
|
|
|
174
174
|
return r;
|
|
175
175
|
};
|
|
176
176
|
return n(t, 0);
|
|
177
|
-
}, mo = B("AsyncFunction"), go = (t) => t && (He(t) || _(t)) && _(t.then) && _(t.catch), Dr = ((t, e) => t ? setImmediate : e ? ((n, r) => (
|
|
178
|
-
o ===
|
|
177
|
+
}, mo = B("AsyncFunction"), go = (t) => t && (He(t) || _(t)) && _(t.then) && _(t.catch), Dr = ((t, e) => t ? setImmediate : e ? ((n, r) => (Z.addEventListener("message", ({ source: o, data: a }) => {
|
|
178
|
+
o === Z && a === n && r.length && r.shift()();
|
|
179
179
|
}, !1), (o) => {
|
|
180
|
-
r.push(o),
|
|
180
|
+
r.push(o), Z.postMessage(n, "*");
|
|
181
181
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
182
182
|
typeof setImmediate == "function",
|
|
183
|
-
_(
|
|
184
|
-
), vo = typeof queueMicrotask < "u" ? queueMicrotask.bind(
|
|
183
|
+
_(Z.postMessage)
|
|
184
|
+
), vo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Z) : typeof process < "u" && process.nextTick || Dr, f = {
|
|
185
185
|
isArray: pe,
|
|
186
186
|
isArrayBuffer: Pr,
|
|
187
187
|
isBuffer: _n,
|
|
@@ -195,7 +195,7 @@ const ho = (t) => {
|
|
|
195
195
|
isReadableStream: Wn,
|
|
196
196
|
isRequest: Gn,
|
|
197
197
|
isResponse: Jn,
|
|
198
|
-
isHeaders:
|
|
198
|
+
isHeaders: Vn,
|
|
199
199
|
isUndefined: Ee,
|
|
200
200
|
isDate: Ln,
|
|
201
201
|
isFile: Mn,
|
|
@@ -209,10 +209,10 @@ const ho = (t) => {
|
|
|
209
209
|
forEach: Ae,
|
|
210
210
|
merge: ft,
|
|
211
211
|
extend: Qn,
|
|
212
|
-
trim:
|
|
212
|
+
trim: Kn,
|
|
213
213
|
stripBOM: Xn,
|
|
214
|
-
inherits:
|
|
215
|
-
toFlatObject:
|
|
214
|
+
inherits: Yn,
|
|
215
|
+
toFlatObject: Zn,
|
|
216
216
|
kindOf: qe,
|
|
217
217
|
kindOfTest: B,
|
|
218
218
|
endsWith: eo,
|
|
@@ -230,7 +230,7 @@ const ho = (t) => {
|
|
|
230
230
|
noop: uo,
|
|
231
231
|
toFiniteNumber: fo,
|
|
232
232
|
findKey: xr,
|
|
233
|
-
global:
|
|
233
|
+
global: Z,
|
|
234
234
|
isContextDefined: Fr,
|
|
235
235
|
ALPHABET: Nr,
|
|
236
236
|
generateString: po,
|
|
@@ -948,7 +948,7 @@ function Jo(t, e) {
|
|
|
948
948
|
function qr(t, e) {
|
|
949
949
|
return t && !Go(e) ? Jo(t, e) : e;
|
|
950
950
|
}
|
|
951
|
-
const
|
|
951
|
+
const Vt = (t) => t instanceof I ? { ...t } : t;
|
|
952
952
|
function ne(t, e) {
|
|
953
953
|
e = e || {};
|
|
954
954
|
const n = {};
|
|
@@ -1006,7 +1006,7 @@ function ne(t, e) {
|
|
|
1006
1006
|
socketPath: i,
|
|
1007
1007
|
responseEncoding: i,
|
|
1008
1008
|
validateStatus: s,
|
|
1009
|
-
headers: (l, c) => o(
|
|
1009
|
+
headers: (l, c) => o(Vt(l), Vt(c), !0)
|
|
1010
1010
|
};
|
|
1011
1011
|
return f.forEach(Object.keys(Object.assign({}, t, e)), function(c) {
|
|
1012
1012
|
const p = u[c] || o, d = p(t[c], e[c], c);
|
|
@@ -1034,7 +1034,7 @@ const zr = (t) => {
|
|
|
1034
1034
|
l && i.set(o, l);
|
|
1035
1035
|
}
|
|
1036
1036
|
return e;
|
|
1037
|
-
},
|
|
1037
|
+
}, Vo = typeof XMLHttpRequest < "u", Ko = Vo && function(t) {
|
|
1038
1038
|
return new Promise(function(n, r) {
|
|
1039
1039
|
const o = zr(t);
|
|
1040
1040
|
let a = o.data;
|
|
@@ -1123,10 +1123,10 @@ const zr = (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
|
+
}, Yo = async function* (t, e) {
|
|
1127
|
+
for await (const n of Zo(t))
|
|
1128
1128
|
yield* Xo(n, e);
|
|
1129
|
-
},
|
|
1129
|
+
}, Zo = async function* (t) {
|
|
1130
1130
|
if (t[Symbol.asyncIterator]) {
|
|
1131
1131
|
yield* t;
|
|
1132
1132
|
return;
|
|
@@ -1142,8 +1142,8 @@ const zr = (t) => {
|
|
|
1142
1142
|
} finally {
|
|
1143
1143
|
await e.cancel();
|
|
1144
1144
|
}
|
|
1145
|
-
},
|
|
1146
|
-
const o =
|
|
1145
|
+
}, Kt = (t, e, n, r) => {
|
|
1146
|
+
const o = Yo(t, e);
|
|
1147
1147
|
let a = 0, i, s = (u) => {
|
|
1148
1148
|
i || (i = !0, r && r(u));
|
|
1149
1149
|
};
|
|
@@ -1247,7 +1247,7 @@ const ra = async (t) => {
|
|
|
1247
1247
|
h,
|
|
1248
1248
|
Be(Jt(u))
|
|
1249
1249
|
);
|
|
1250
|
-
r =
|
|
1250
|
+
r = Kt(A.body, Qt, N, z);
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
1253
|
f.isString(p) || (p = p ? "include" : "omit");
|
|
@@ -1273,7 +1273,7 @@ const ra = async (t) => {
|
|
|
1273
1273
|
Be(Jt(s), !0)
|
|
1274
1274
|
) || [];
|
|
1275
1275
|
E = new Response(
|
|
1276
|
-
|
|
1276
|
+
Kt(E.body, Qt, N, () => {
|
|
1277
1277
|
z && z(), m && m();
|
|
1278
1278
|
}),
|
|
1279
1279
|
A
|
|
@@ -1301,7 +1301,7 @@ const ra = async (t) => {
|
|
|
1301
1301
|
}
|
|
1302
1302
|
}), ht = {
|
|
1303
1303
|
http: bo,
|
|
1304
|
-
xhr:
|
|
1304
|
+
xhr: Ko,
|
|
1305
1305
|
fetch: oa
|
|
1306
1306
|
};
|
|
1307
1307
|
f.forEach(ht, (t, e) => {
|
|
@@ -1344,22 +1344,22 @@ const Xt = (t) => `- ${t}`, aa = (t) => f.isFunction(t) || t === null || t === !
|
|
|
1344
1344
|
},
|
|
1345
1345
|
adapters: ht
|
|
1346
1346
|
};
|
|
1347
|
-
function
|
|
1347
|
+
function Ye(t) {
|
|
1348
1348
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
1349
1349
|
throw new de(null, t);
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return
|
|
1351
|
+
function Yt(t) {
|
|
1352
|
+
return Ye(t), t.headers = I.from(t.headers), t.data = Xe.call(
|
|
1353
1353
|
t,
|
|
1354
1354
|
t.transformRequest
|
|
1355
1355
|
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Gr.getAdapter(t.adapter || Oe.adapter)(t).then(function(r) {
|
|
1356
|
-
return
|
|
1356
|
+
return Ye(t), r.data = Xe.call(
|
|
1357
1357
|
t,
|
|
1358
1358
|
t.transformResponse,
|
|
1359
1359
|
r
|
|
1360
1360
|
), r.headers = I.from(r.headers), r;
|
|
1361
1361
|
}, function(r) {
|
|
1362
|
-
return kr(r) || (
|
|
1362
|
+
return kr(r) || (Ye(t), r && r.response && (r.response.data = Xe.call(
|
|
1363
1363
|
t,
|
|
1364
1364
|
t.transformResponse,
|
|
1365
1365
|
r.response
|
|
@@ -1372,7 +1372,7 @@ const Jr = "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" + Jr + "] 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 ia(t, e, n) {
|
|
@@ -1406,7 +1406,7 @@ function ia(t, e, n) {
|
|
|
1406
1406
|
const mt = {
|
|
1407
1407
|
assertOptions: ia,
|
|
1408
1408
|
validators: Ct
|
|
1409
|
-
},
|
|
1409
|
+
}, V = mt.validators;
|
|
1410
1410
|
class ee {
|
|
1411
1411
|
constructor(e) {
|
|
1412
1412
|
this.defaults = e, this.interceptors = {
|
|
@@ -1443,14 +1443,14 @@ class ee {
|
|
|
1443
1443
|
typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = ne(this.defaults, n);
|
|
1444
1444
|
const { transitional: r, paramsSerializer: o, headers: a } = n;
|
|
1445
1445
|
r !== void 0 && mt.assertOptions(r, {
|
|
1446
|
-
silentJSONParsing:
|
|
1447
|
-
forcedJSONParsing:
|
|
1448
|
-
clarifyTimeoutError:
|
|
1446
|
+
silentJSONParsing: V.transitional(V.boolean),
|
|
1447
|
+
forcedJSONParsing: V.transitional(V.boolean),
|
|
1448
|
+
clarifyTimeoutError: V.transitional(V.boolean)
|
|
1449
1449
|
}, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
|
|
1450
1450
|
serialize: o
|
|
1451
1451
|
} : mt.assertOptions(o, {
|
|
1452
|
-
encode:
|
|
1453
|
-
serialize:
|
|
1452
|
+
encode: V.function,
|
|
1453
|
+
serialize: V.function
|
|
1454
1454
|
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1455
1455
|
let i = a && f.merge(
|
|
1456
1456
|
a.common,
|
|
@@ -1473,7 +1473,7 @@ class ee {
|
|
|
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 ee {
|
|
|
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
|
}
|
|
@@ -1677,13 +1677,13 @@ const gt = {
|
|
|
1677
1677
|
Object.entries(gt).forEach(([t, e]) => {
|
|
1678
1678
|
gt[e] = t;
|
|
1679
1679
|
});
|
|
1680
|
-
function
|
|
1680
|
+
function Vr(t) {
|
|
1681
1681
|
const e = new ee(t), n = Rr(ee.prototype.request, e);
|
|
1682
1682
|
return f.extend(n, ee.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1683
|
-
return
|
|
1683
|
+
return Vr(ne(t, o));
|
|
1684
1684
|
}, n;
|
|
1685
1685
|
}
|
|
1686
|
-
const R =
|
|
1686
|
+
const R = Vr(Oe);
|
|
1687
1687
|
R.Axios = ee;
|
|
1688
1688
|
R.CanceledError = de;
|
|
1689
1689
|
R.CancelToken = Nt;
|
|
@@ -1726,7 +1726,7 @@ function ua(t) {
|
|
|
1726
1726
|
});
|
|
1727
1727
|
}), n;
|
|
1728
1728
|
}
|
|
1729
|
-
var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError,
|
|
1729
|
+
var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Kr = SyntaxError, Re = TypeError, ha = URIError, ma = function() {
|
|
1730
1730
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
1731
1731
|
return !1;
|
|
1732
1732
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -1751,11 +1751,11 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Vr = Synta
|
|
|
1751
1751
|
return !0;
|
|
1752
1752
|
}, tr = typeof Symbol < "u" && Symbol, ga = ma, va = function() {
|
|
1753
1753
|
return typeof tr != "function" || typeof Symbol != "function" || typeof tr("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : ga();
|
|
1754
|
-
},
|
|
1754
|
+
}, Ze = {
|
|
1755
1755
|
__proto__: null,
|
|
1756
1756
|
foo: {}
|
|
1757
1757
|
}, ba = Object, wa = function() {
|
|
1758
|
-
return { __proto__:
|
|
1758
|
+
return { __proto__: Ze }.foo === Ze.foo && !(Ze instanceof ba);
|
|
1759
1759
|
}, Sa = "Function.prototype.bind called on incompatible ", Ea = Object.prototype.toString, Aa = Math.max, Oa = "[object Function]", rr = function(e, n) {
|
|
1760
1760
|
for (var r = [], o = 0; o < e.length; o += 1)
|
|
1761
1761
|
r[o] = e[o];
|
|
@@ -1794,7 +1794,7 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Vr = Synta
|
|
|
1794
1794
|
l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
|
|
1795
1795
|
}
|
|
1796
1796
|
return o;
|
|
1797
|
-
}, xa = Ta, Dt = Function.prototype.bind || xa, Fa = Function.prototype.call, Ca = Object.prototype.hasOwnProperty, Na = Dt, Da = Na.call(Fa, Ca), w, Ia = fa, _a = pa, $a = da, Ba = ya, ce =
|
|
1797
|
+
}, xa = Ta, Dt = Function.prototype.bind || xa, Fa = Function.prototype.call, Ca = Object.prototype.hasOwnProperty, Na = Dt, Da = Na.call(Fa, Ca), w, Ia = fa, _a = pa, $a = da, Ba = ya, ce = Kr, le = Re, Ua = ha, Qr = Function, et = function(t) {
|
|
1798
1798
|
try {
|
|
1799
1799
|
return Qr('"use strict"; return (' + t + ").constructor;")();
|
|
1800
1800
|
} catch {
|
|
@@ -1966,7 +1966,7 @@ var qa = function t(e) {
|
|
|
1966
1966
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
1967
1967
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
1968
1968
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
1969
|
-
}, Pe = Dt, Le = Da, za = Pe.call(Function.call, Array.prototype.concat), Ha = Pe.call(Function.apply, Array.prototype.splice), or = Pe.call(Function.call, String.prototype.replace), Me = Pe.call(Function.call, String.prototype.slice), Wa = Pe.call(Function.call, RegExp.prototype.exec), Ga = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ja = /\\(\\)?/g,
|
|
1969
|
+
}, Pe = Dt, Le = Da, za = Pe.call(Function.call, Array.prototype.concat), Ha = Pe.call(Function.apply, Array.prototype.splice), or = Pe.call(Function.call, String.prototype.replace), Me = Pe.call(Function.call, String.prototype.slice), Wa = Pe.call(Function.call, RegExp.prototype.exec), Ga = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ja = /\\(\\)?/g, Va = function(e) {
|
|
1970
1970
|
var n = Me(e, 0, 1), r = Me(e, -1);
|
|
1971
1971
|
if (n === "%" && r !== "%")
|
|
1972
1972
|
throw new ce("invalid intrinsic syntax, expected closing `%`");
|
|
@@ -1976,7 +1976,7 @@ var qa = function t(e) {
|
|
|
1976
1976
|
return or(e, Ga, function(a, i, s, u) {
|
|
1977
1977
|
o[o.length] = s ? or(u, Ja, "$1") : i || a;
|
|
1978
1978
|
}), o;
|
|
1979
|
-
},
|
|
1979
|
+
}, Ka = function(e, n) {
|
|
1980
1980
|
var r = e, o;
|
|
1981
1981
|
if (Le(nr, r) && (o = nr[r], r = "%" + o[0] + "%"), Le(re, r)) {
|
|
1982
1982
|
var a = re[r];
|
|
@@ -1996,7 +1996,7 @@ var qa = function t(e) {
|
|
|
1996
1996
|
throw new le('"allowMissing" argument must be a boolean');
|
|
1997
1997
|
if (Wa(/^%?[^%]*%?$/, e) === null)
|
|
1998
1998
|
throw new ce("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
1999
|
-
var r =
|
|
1999
|
+
var r = Va(e), o = r.length > 0 ? r[0] : "", a = Ka("%" + o + "%", n), i = a.name, s = a.value, u = !1, l = a.alias;
|
|
2000
2000
|
l && (o = l[0], Ha(r, za([0, 1], l)));
|
|
2001
2001
|
for (var c = 1, p = !0; c < r.length; c += 1) {
|
|
2002
2002
|
var d = r[c], g = Me(d, 0, 1), y = Me(d, -1);
|
|
@@ -2039,7 +2039,7 @@ if (_e)
|
|
|
2039
2039
|
} catch {
|
|
2040
2040
|
_e = null;
|
|
2041
2041
|
}
|
|
2042
|
-
var
|
|
2042
|
+
var Yr = _e, ir = It(), Xa = Kr, ie = Re, sr = Yr, Ya = function(e, n, r) {
|
|
2043
2043
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
2044
2044
|
throw new ie("`obj` must be an object or a function`");
|
|
2045
2045
|
if (typeof n != "string" && typeof n != "symbol")
|
|
@@ -2064,10 +2064,10 @@ var Zr = _e, ir = It(), Xa = Vr, ie = Re, sr = Zr, Za = function(e, n, r) {
|
|
|
2064
2064
|
e[n] = r;
|
|
2065
2065
|
else
|
|
2066
2066
|
throw new Xa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
2067
|
-
}, vt = It(),
|
|
2067
|
+
}, vt = It(), Zr = function() {
|
|
2068
2068
|
return !!vt;
|
|
2069
2069
|
};
|
|
2070
|
-
|
|
2070
|
+
Zr.hasArrayLengthDefineBug = function() {
|
|
2071
2071
|
if (!vt)
|
|
2072
2072
|
return null;
|
|
2073
2073
|
try {
|
|
@@ -2076,7 +2076,7 @@ Yr.hasArrayLengthDefineBug = function() {
|
|
|
2076
2076
|
return !0;
|
|
2077
2077
|
}
|
|
2078
2078
|
};
|
|
2079
|
-
var
|
|
2079
|
+
var Za = Zr, ei = ye, lr = Ya, ti = Za(), cr = Yr, ur = Re, ri = ei("%Math.floor%"), ni = function(e, n) {
|
|
2080
2080
|
if (typeof e != "function")
|
|
2081
2081
|
throw new ur("`fn` is not a function");
|
|
2082
2082
|
if (typeof n != "number" || n < 0 || n > 4294967295 || ri(n) !== n)
|
|
@@ -2143,16 +2143,16 @@ function vr(t, e) {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o) {
|
|
2145
2145
|
var a = n || {};
|
|
2146
|
-
if (
|
|
2146
|
+
if (K(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
|
|
2147
2147
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
2148
|
-
if (
|
|
2148
|
+
if (K(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
|
|
2149
2149
|
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
2150
|
-
var i =
|
|
2150
|
+
var i = K(a, "customInspect") ? a.customInspect : !0;
|
|
2151
2151
|
if (typeof i != "boolean" && i !== "symbol")
|
|
2152
2152
|
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
2153
|
-
if (
|
|
2153
|
+
if (K(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
|
|
2154
2154
|
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
2155
|
-
if (
|
|
2155
|
+
if (K(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
|
|
2156
2156
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
2157
2157
|
var s = a.numericSeparator;
|
|
2158
2158
|
if (typeof e > "u")
|
|
@@ -2186,7 +2186,7 @@ var St = ci, br = St.custom, wr = an(br) ? br : null, bi = function t(e, n, r, o
|
|
|
2186
2186
|
var me = {
|
|
2187
2187
|
depth: a.depth
|
|
2188
2188
|
};
|
|
2189
|
-
return
|
|
2189
|
+
return K(a, "quoteStyle") && (me.quoteStyle = a.quoteStyle), t($, me, r + 1, o);
|
|
2190
2190
|
}
|
|
2191
2191
|
return t($, a, r + 1, o);
|
|
2192
2192
|
}
|
|
@@ -2308,7 +2308,7 @@ function Pi(t) {
|
|
|
2308
2308
|
var Ti = Object.prototype.hasOwnProperty || function(t) {
|
|
2309
2309
|
return t in this;
|
|
2310
2310
|
};
|
|
2311
|
-
function
|
|
2311
|
+
function K(t, e) {
|
|
2312
2312
|
return Ti.call(t, e);
|
|
2313
2313
|
}
|
|
2314
2314
|
function X(t) {
|
|
@@ -2461,7 +2461,7 @@ function xe(t, e) {
|
|
|
2461
2461
|
if (n) {
|
|
2462
2462
|
r.length = t.length;
|
|
2463
2463
|
for (var o = 0; o < t.length; o++)
|
|
2464
|
-
r[o] =
|
|
2464
|
+
r[o] = K(t, o) ? e(t[o], t) : "";
|
|
2465
2465
|
}
|
|
2466
2466
|
var a = typeof at == "function" ? at(t) : [], i;
|
|
2467
2467
|
if (ue) {
|
|
@@ -2470,7 +2470,7 @@ function xe(t, e) {
|
|
|
2470
2470
|
i["$" + a[s]] = a[s];
|
|
2471
2471
|
}
|
|
2472
2472
|
for (var u in t)
|
|
2473
|
-
|
|
2473
|
+
K(t, u) && (n && String(Number(u)) === u && u < t.length || ue && i["$" + u] instanceof Symbol || (rn.call(/[^\w$]/, u) ? r.push(e(u, t) + ": " + e(t[u], t)) : r.push(u + ": " + e(t[u], t))));
|
|
2474
2474
|
if (typeof at == "function")
|
|
2475
2475
|
for (var l = 0; l < a.length; l++)
|
|
2476
2476
|
nn.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
|
|
@@ -2493,9 +2493,9 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2493
2493
|
next: t.next,
|
|
2494
2494
|
value: n
|
|
2495
2495
|
};
|
|
2496
|
-
},
|
|
2496
|
+
}, Vi = function(t, e) {
|
|
2497
2497
|
return !!Ut(t, e);
|
|
2498
|
-
},
|
|
2498
|
+
}, Ki = function() {
|
|
2499
2499
|
var e, n, r, o = {
|
|
2500
2500
|
assert: function(a) {
|
|
2501
2501
|
if (!o.has(a))
|
|
@@ -2519,7 +2519,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2519
2519
|
if (n)
|
|
2520
2520
|
return Wi(n, a);
|
|
2521
2521
|
} else if (r)
|
|
2522
|
-
return
|
|
2522
|
+
return Vi(r, a);
|
|
2523
2523
|
return !1;
|
|
2524
2524
|
},
|
|
2525
2525
|
set: function(a, i) {
|
|
@@ -2542,14 +2542,14 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2542
2542
|
},
|
|
2543
2543
|
RFC1738: st.RFC1738,
|
|
2544
2544
|
RFC3986: st.RFC3986
|
|
2545
|
-
},
|
|
2545
|
+
}, Yi = Lt, lt = Object.prototype.hasOwnProperty, Y = 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
|
+
}(), Zi = function(e) {
|
|
2550
2550
|
for (; e.length > 1; ) {
|
|
2551
2551
|
var n = e.pop(), r = n.obj[n.prop];
|
|
2552
|
-
if (
|
|
2552
|
+
if (Y(r)) {
|
|
2553
2553
|
for (var o = [], a = 0; a < r.length; ++a)
|
|
2554
2554
|
typeof r[a] < "u" && o.push(r[a]);
|
|
2555
2555
|
n.obj[n.prop] = o;
|
|
@@ -2563,7 +2563,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2563
2563
|
if (!n)
|
|
2564
2564
|
return e;
|
|
2565
2565
|
if (typeof n != "object") {
|
|
2566
|
-
if (
|
|
2566
|
+
if (Y(e))
|
|
2567
2567
|
e.push(n);
|
|
2568
2568
|
else if (e && typeof e == "object")
|
|
2569
2569
|
(r && (r.plainObjects || r.allowPrototypes) || !lt.call(Object.prototype, n)) && (e[n] = !0);
|
|
@@ -2574,7 +2574,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2574
2574
|
if (!e || typeof e != "object")
|
|
2575
2575
|
return [e].concat(n);
|
|
2576
2576
|
var o = e;
|
|
2577
|
-
return
|
|
2577
|
+
return Y(e) && !Y(n) && (o = un(e, r)), Y(e) && Y(n) ? (n.forEach(function(a, i) {
|
|
2578
2578
|
if (lt.call(e, i)) {
|
|
2579
2579
|
var s = e[i];
|
|
2580
2580
|
s && typeof s == "object" && a && typeof a == "object" ? e[i] = t(s, a, r) : e.push(a);
|
|
@@ -2608,7 +2608,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2608
2608
|
for (var s = "", u = 0; u < i.length; u += ct) {
|
|
2609
2609
|
for (var l = i.length >= ct ? i.slice(u, u + ct) : 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 === Yi.RFC1738 && (d === 40 || d === 41)) {
|
|
2612
2612
|
c[c.length] = l.charAt(p);
|
|
2613
2613
|
continue;
|
|
2614
2614
|
}
|
|
@@ -2635,7 +2635,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%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 Zi(n), e;
|
|
2639
2639
|
}, as = function(e) {
|
|
2640
2640
|
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
2641
2641
|
}, is = function(e) {
|
|
@@ -2643,7 +2643,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2643
2643
|
}, ss = function(e, n) {
|
|
2644
2644
|
return [].concat(e, n);
|
|
2645
2645
|
}, ls = function(e, n) {
|
|
2646
|
-
if (
|
|
2646
|
+
if (Y(e)) {
|
|
2647
2647
|
for (var r = [], o = 0; o < e.length; o += 1)
|
|
2648
2648
|
r.push(n(e[o]));
|
|
2649
2649
|
return r;
|
|
@@ -2660,7 +2660,7 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2660
2660
|
isRegExp: as,
|
|
2661
2661
|
maybeMap: ls,
|
|
2662
2662
|
merge: es
|
|
2663
|
-
}, pn =
|
|
2663
|
+
}, pn = Ki, $e = fn, Se = Lt, cs = Object.prototype.hasOwnProperty, dn = {
|
|
2664
2664
|
brackets: function(e) {
|
|
2665
2665
|
return e + "[]";
|
|
2666
2666
|
},
|
|
@@ -2706,8 +2706,8 @@ var cn = ye, he = ii, Li = bi, Mi = Re, Fe = cn("%WeakMap%", !0), Ce = cn("%Map%
|
|
|
2706
2706
|
}
|
|
2707
2707
|
typeof T.get(ut) > "u" && (A = 0);
|
|
2708
2708
|
}
|
|
2709
|
-
if (typeof c == "function" ? v = c(n, v) : v instanceof Date ? v = g(v) : r === "comma" && M(v) && (v = $e.maybeMap(v, function(
|
|
2710
|
-
return
|
|
2709
|
+
if (typeof c == "function" ? v = c(n, v) : v instanceof Date ? v = g(v) : r === "comma" && M(v) && (v = $e.maybeMap(v, function(Ve) {
|
|
2710
|
+
return Ve instanceof Date ? g(Ve) : Ve;
|
|
2711
2711
|
})), v === null) {
|
|
2712
2712
|
if (i)
|
|
2713
2713
|
return l && !h ? l(n, P.encoder, S, "key", y) : n;
|
|
@@ -3047,14 +3047,14 @@ function Rt(t, e) {
|
|
|
3047
3047
|
}
|
|
3048
3048
|
var Ns = Rt(Cs, { path: "/" });
|
|
3049
3049
|
const Ds = {
|
|
3050
|
-
参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter
|
|
3051
|
-
接口地址未找到: { "zh-CN": "接口地址未找到", en: "
|
|
3052
|
-
服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal
|
|
3053
|
-
解析错误: { "zh-CN": "解析错误", en: "Parsing
|
|
3054
|
-
请求配置异常: { "zh-CN": "请求配置异常", en: "Request
|
|
3050
|
+
参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter Validation Error" },
|
|
3051
|
+
接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api Endpoint Not Found" },
|
|
3052
|
+
服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal Server Error" },
|
|
3053
|
+
解析错误: { "zh-CN": "解析错误", en: "Parsing Error" },
|
|
3054
|
+
请求配置异常: { "zh-CN": "请求配置异常", en: "Request Configuration Error" },
|
|
3055
3055
|
"网络异常,请检查您的网络情况": {
|
|
3056
3056
|
"zh-CN": "网络异常,请检查您的网络情况",
|
|
3057
|
-
en: "Network
|
|
3057
|
+
en: "Network Error, Please Check Your Network Status"
|
|
3058
3058
|
}
|
|
3059
3059
|
};
|
|
3060
3060
|
Sn(Ds);
|
|
@@ -3129,11 +3129,11 @@ const mn = Or(), gn = mn.sso ?? !0, vn = mn.noRedireLogin ?? !1, bn = () => {
|
|
|
3129
3129
|
projectDevice: j(`/api/device-relation/deviceproject/${q}`),
|
|
3130
3130
|
deviceRules: j(`/api/device-relation/devicerule/${q}`),
|
|
3131
3131
|
project: j(`/api/device-relation/project/${q}`)
|
|
3132
|
-
}, Js = j(`/api/oss/minio/${q}`),
|
|
3132
|
+
}, Js = j(`/api/oss/minio/${q}`), Vs = j(`/api/progress/accessor/${q}`);
|
|
3133
3133
|
export {
|
|
3134
3134
|
Hs as iot,
|
|
3135
3135
|
Js as iotMinio,
|
|
3136
3136
|
Ws as iotModules,
|
|
3137
|
-
|
|
3137
|
+
Vs as iotProgress,
|
|
3138
3138
|
Gs as iotRelationModules
|
|
3139
3139
|
};
|
|
Binary file
|