@das-fed/utils 6.4.0-dev.7 → 6.4.0-dev.9
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/index.js +1 -1
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +76 -76
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +76 -76
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +73 -73
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +76 -76
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +73 -73
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +76 -76
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +76 -76
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1 -1
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +70 -70
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +76 -76
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +76 -76
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +76 -76
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +76 -76
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +70 -70
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +76 -76
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +76 -76
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +73 -73
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +73 -73
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +76 -76
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +76 -76
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +76 -76
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +81 -81
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/getInfoFromUrl/index.js.gz +0 -0
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +104 -104
- package/common-tools/get-url-params/index.js.gz +0 -0
- package/create-api-service/index.js +81 -81
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/index.js.gz +0 -0
- package/curring-http/type.d.ts +87 -87
- package/directive/auth/index.js.gz +0 -0
- package/hooks/use-get-auth/index.js.gz +0 -0
- package/nextTiken/index.js.gz +0 -0
- package/package.json +3 -3
- package/pinyin-first-character/index.js.gz +0 -0
- package/style/index.js.gz +0 -0
- package/token-tools/index.js.gz +0 -0
- package/use-low-code/index.js +12 -12
- package/use-low-code/index.js.gz +0 -0
- package/use-low-code/style.css +1 -1
- package/webSocket-service/index.js.gz +0 -0
- package/webSocket-service/type.d.ts +28 -28
|
@@ -12,11 +12,11 @@ const { toString: Cn } = Object.prototype, { getPrototypeOf: Mt } = Object, rt =
|
|
|
12
12
|
const r = Cn.call(e);
|
|
13
13
|
return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
|
|
14
14
|
})(/* @__PURE__ */ Object.create(null)), oe = (t) => (t = t.toLowerCase(), (e) => rt(e) === t), nt = (t) => (e) => typeof e === t, { isArray: Re } = Array, Ie = nt("undefined");
|
|
15
|
-
function
|
|
15
|
+
function _n(t) {
|
|
16
16
|
return t !== null && !Ie(t) && t.constructor !== null && !Ie(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
17
17
|
}
|
|
18
18
|
const Dr = oe("ArrayBuffer");
|
|
19
|
-
function
|
|
19
|
+
function Nn(t) {
|
|
20
20
|
let e;
|
|
21
21
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Dr(t.buffer), e;
|
|
22
22
|
}
|
|
@@ -53,9 +53,9 @@ function Cr(t, e) {
|
|
|
53
53
|
return o;
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const _r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Nr = (t) => !Ie(t) && t !== _r;
|
|
57
57
|
function Ot() {
|
|
58
|
-
const { caseless: t } =
|
|
58
|
+
const { caseless: t } = Nr(this) && this || {}, e = {}, r = (n, o) => {
|
|
59
59
|
const i = t && Cr(e, o) || o;
|
|
60
60
|
Ve(e[i]) && Ve(n) ? e[i] = Ot(e[i], n) : Ve(n) ? e[i] = Ot({}, n) : Re(n) ? e[i] = n.slice() : e[i] = n;
|
|
61
61
|
};
|
|
@@ -173,9 +173,9 @@ const co = (t) => {
|
|
|
173
173
|
}, lo = oe("AsyncFunction"), fo = (t) => t && (ot(t) || K(t)) && K(t.then) && K(t.catch), d = {
|
|
174
174
|
isArray: Re,
|
|
175
175
|
isArrayBuffer: Dr,
|
|
176
|
-
isBuffer:
|
|
176
|
+
isBuffer: _n,
|
|
177
177
|
isFormData: Hn,
|
|
178
|
-
isArrayBufferView:
|
|
178
|
+
isArrayBufferView: Nn,
|
|
179
179
|
isString: Mn,
|
|
180
180
|
isNumber: Fr,
|
|
181
181
|
isBoolean: In,
|
|
@@ -215,8 +215,8 @@ const co = (t) => {
|
|
|
215
215
|
noop: io,
|
|
216
216
|
toFiniteNumber: ao,
|
|
217
217
|
findKey: Cr,
|
|
218
|
-
global:
|
|
219
|
-
isContextDefined:
|
|
218
|
+
global: _r,
|
|
219
|
+
isContextDefined: Nr,
|
|
220
220
|
ALPHABET: Ir,
|
|
221
221
|
generateString: so,
|
|
222
222
|
isSpecCompliantForm: uo,
|
|
@@ -319,10 +319,10 @@ function it(t, e, r) {
|
|
|
319
319
|
if (d.endsWith(f, "{}"))
|
|
320
320
|
f = n ? f : f.slice(0, -2), y = JSON.stringify(y);
|
|
321
321
|
else if (d.isArray(y) && yo(y) || (d.isFileList(y) || d.endsWith(f, "[]")) && (b = d.toArray(y)))
|
|
322
|
-
return f = Lr(f), b.forEach(function(P,
|
|
322
|
+
return f = Lr(f), b.forEach(function(P, N) {
|
|
323
323
|
!(d.isUndefined(P) || P === null) && e.append(
|
|
324
324
|
// eslint-disable-next-line no-nested-ternary
|
|
325
|
-
a === !0 ? Yt([f],
|
|
325
|
+
a === !0 ? Yt([f], N, i) : a === null ? f : f + "[]",
|
|
326
326
|
c(P)
|
|
327
327
|
);
|
|
328
328
|
}), !1;
|
|
@@ -636,7 +636,7 @@ function ut(t, e, r, n, o) {
|
|
|
636
636
|
function Co(t) {
|
|
637
637
|
return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, r, n) => r.toUpperCase() + n);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function _o(t, e) {
|
|
640
640
|
const r = d.toCamelCase(" " + e);
|
|
641
641
|
["get", "set", "has"].forEach((n) => {
|
|
642
642
|
Object.defineProperty(t, n + r, {
|
|
@@ -751,7 +751,7 @@ class Z {
|
|
|
751
751
|
}).accessors, o = this.prototype;
|
|
752
752
|
function i(a) {
|
|
753
753
|
const s = Fe(a);
|
|
754
|
-
n[s] || (
|
|
754
|
+
n[s] || (_o(o, a), n[s] = !0);
|
|
755
755
|
}
|
|
756
756
|
return d.isArray(e) ? e.forEach(i) : i(e), this;
|
|
757
757
|
}
|
|
@@ -783,7 +783,7 @@ function ke(t, e, r) {
|
|
|
783
783
|
d.inherits(ke, D, {
|
|
784
784
|
__CANCEL__: !0
|
|
785
785
|
});
|
|
786
|
-
function
|
|
786
|
+
function No(t, e, r) {
|
|
787
787
|
const n = r.config.validateStatus;
|
|
788
788
|
!r.status || !n || n(r.status) ? t(r) : e(new D(
|
|
789
789
|
"Request failed with status code " + r.status,
|
|
@@ -936,7 +936,7 @@ const jo = typeof XMLHttpRequest < "u", Ho = jo && function(t) {
|
|
|
936
936
|
config: t,
|
|
937
937
|
request: l
|
|
938
938
|
};
|
|
939
|
-
|
|
939
|
+
No(function(P) {
|
|
940
940
|
r(P), c();
|
|
941
941
|
}, function(P) {
|
|
942
942
|
n(P), c();
|
|
@@ -1761,14 +1761,14 @@ function kt() {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
return yt = e, yt;
|
|
1763
1763
|
}
|
|
1764
|
-
var
|
|
1764
|
+
var _i = Pe, Qe = _i("%Object.getOwnPropertyDescriptor%", !0);
|
|
1765
1765
|
if (Qe)
|
|
1766
1766
|
try {
|
|
1767
1767
|
Qe([], "length");
|
|
1768
1768
|
} catch {
|
|
1769
1769
|
Qe = null;
|
|
1770
1770
|
}
|
|
1771
|
-
var Xr = Qe, cr = kt(),
|
|
1771
|
+
var Xr = Qe, cr = kt(), Ni = Qr, Se = je, lr = Xr, Mi = function(e, r, n) {
|
|
1772
1772
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
1773
1773
|
throw new Se("`obj` must be an object or a function`");
|
|
1774
1774
|
if (typeof r != "string" && typeof r != "symbol")
|
|
@@ -1792,7 +1792,7 @@ var Xr = Qe, cr = kt(), _i = Qr, Se = je, lr = Xr, Mi = function(e, r, n) {
|
|
|
1792
1792
|
else if (s || !o && !i && !a)
|
|
1793
1793
|
e[r] = n;
|
|
1794
1794
|
else
|
|
1795
|
-
throw new
|
|
1795
|
+
throw new Ni("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
1796
1796
|
}, Pt = kt(), en = function() {
|
|
1797
1797
|
return !!Pt;
|
|
1798
1798
|
};
|
|
@@ -1854,7 +1854,7 @@ const Wi = {}, qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1854
1854
|
__proto__: null,
|
|
1855
1855
|
default: Wi
|
|
1856
1856
|
}, Symbol.toStringTag, { value: "Module" })), Ji = /* @__PURE__ */ Go(qi);
|
|
1857
|
-
var jt = typeof Map == "function" && Map.prototype, ht = Object.getOwnPropertyDescriptor && jt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, et = jt && ht && typeof ht.get == "function" ? ht.get : null, yr = jt && Map.prototype.forEach, Ht = typeof Set == "function" && Set.prototype, mt = Object.getOwnPropertyDescriptor && Ht ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, tt = Ht && mt && typeof mt.get == "function" ? mt.get : null, hr = Ht && Set.prototype.forEach, Gi = typeof WeakMap == "function" && WeakMap.prototype,
|
|
1857
|
+
var jt = typeof Map == "function" && Map.prototype, ht = Object.getOwnPropertyDescriptor && jt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, et = jt && ht && typeof ht.get == "function" ? ht.get : null, yr = jt && Map.prototype.forEach, Ht = typeof Set == "function" && Set.prototype, mt = Object.getOwnPropertyDescriptor && Ht ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, tt = Ht && mt && typeof mt.get == "function" ? mt.get : null, hr = Ht && Set.prototype.forEach, Gi = typeof WeakMap == "function" && WeakMap.prototype, _e = Gi ? WeakMap.prototype.has : null, Vi = typeof WeakSet == "function" && WeakSet.prototype, Ne = Vi ? WeakSet.prototype.has : null, Yi = typeof WeakRef == "function" && WeakRef.prototype, mr = Yi ? WeakRef.prototype.deref : null, Qi = Boolean.prototype.valueOf, Ki = Object.prototype.toString, Zi = Function.prototype.toString, Xi = String.prototype.match, zt = String.prototype.slice, ce = String.prototype.replace, ea = String.prototype.toUpperCase, vr = String.prototype.toLowerCase, nn = RegExp.prototype.test, gr = Array.prototype.concat, ee = Array.prototype.join, ta = Array.prototype.slice, Sr = Math.floor, xt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, vt = Object.getOwnPropertySymbols, Tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Ae = typeof Symbol == "function" && typeof Symbol.iterator == "object", G = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Ae || !0) ? Symbol.toStringTag : null, on = Object.prototype.propertyIsEnumerable, br = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
1858
1858
|
return t.__proto__;
|
|
1859
1859
|
} : null);
|
|
1860
1860
|
function wr(t, e) {
|
|
@@ -1939,8 +1939,8 @@ var Dt = Ji, Or = Dt.custom, Er = sn(Or) ? Or : null, ra = function t(e, r, n, o
|
|
|
1939
1939
|
return l && !Sa(P) ? "[" + Ct(P, l) + "]" : "[ " + ee.call(P, ", ") + " ]";
|
|
1940
1940
|
}
|
|
1941
1941
|
if (ia(e)) {
|
|
1942
|
-
var
|
|
1943
|
-
return !("cause" in Error.prototype) && "cause" in e && !on.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(gr.call("[cause]: " + h(e.cause),
|
|
1942
|
+
var N = We(e, h);
|
|
1943
|
+
return !("cause" in Error.prototype) && "cause" in e && !on.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(gr.call("[cause]: " + h(e.cause), N), ", ") + " }" : N.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + ee.call(N, ", ") + " }";
|
|
1944
1944
|
}
|
|
1945
1945
|
if (typeof e == "object" && a) {
|
|
1946
1946
|
if (Er && typeof e[Er] == "function" && Dt)
|
|
@@ -2073,12 +2073,12 @@ function pa(t) {
|
|
|
2073
2073
|
return !1;
|
|
2074
2074
|
}
|
|
2075
2075
|
function da(t) {
|
|
2076
|
-
if (!
|
|
2076
|
+
if (!_e || !t || typeof t != "object")
|
|
2077
2077
|
return !1;
|
|
2078
2078
|
try {
|
|
2079
|
-
|
|
2079
|
+
_e.call(t, _e);
|
|
2080
2080
|
try {
|
|
2081
|
-
|
|
2081
|
+
Ne.call(t, Ne);
|
|
2082
2082
|
} catch {
|
|
2083
2083
|
return !0;
|
|
2084
2084
|
}
|
|
@@ -2112,12 +2112,12 @@ function ha(t) {
|
|
|
2112
2112
|
return !1;
|
|
2113
2113
|
}
|
|
2114
2114
|
function ma(t) {
|
|
2115
|
-
if (!
|
|
2115
|
+
if (!Ne || !t || typeof t != "object")
|
|
2116
2116
|
return !1;
|
|
2117
2117
|
try {
|
|
2118
|
-
|
|
2118
|
+
Ne.call(t, Ne);
|
|
2119
2119
|
try {
|
|
2120
|
-
|
|
2120
|
+
_e.call(t, _e);
|
|
2121
2121
|
} catch {
|
|
2122
2122
|
return !0;
|
|
2123
2123
|
}
|
|
@@ -2256,14 +2256,14 @@ var ln = Pe, xe = zi, wa = ra, Oa = je, qe = ln("%WeakMap%", !0), Je = ln("%Map%
|
|
|
2256
2256
|
}
|
|
2257
2257
|
};
|
|
2258
2258
|
return o;
|
|
2259
|
-
},
|
|
2259
|
+
}, _a = String.prototype.replace, Na = /%20/g, St = {
|
|
2260
2260
|
RFC1738: "RFC1738",
|
|
2261
2261
|
RFC3986: "RFC3986"
|
|
2262
2262
|
}, qt = {
|
|
2263
2263
|
default: St.RFC3986,
|
|
2264
2264
|
formatters: {
|
|
2265
2265
|
RFC1738: function(t) {
|
|
2266
|
-
return
|
|
2266
|
+
return _a.call(t, Na, "+");
|
|
2267
2267
|
},
|
|
2268
2268
|
RFC3986: function(t) {
|
|
2269
2269
|
return String(t);
|
|
@@ -2420,12 +2420,12 @@ var ln = Pe, xe = zi, wa = ra, Oa = je, qe = ln("%WeakMap%", !0), Je = ln("%Map%
|
|
|
2420
2420
|
}, Ya = function(e) {
|
|
2421
2421
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
2422
2422
|
}, wt = {}, Qa = function t(e, r, n, o, i, a, s, u, c, p, l, h, g, y, f, w) {
|
|
2423
|
-
for (var b = e, A = w, P = 0,
|
|
2423
|
+
for (var b = e, A = w, P = 0, N = !1; (A = A.get(wt)) !== void 0 && !N; ) {
|
|
2424
2424
|
var C = A.get(e);
|
|
2425
2425
|
if (P += 1, typeof C < "u") {
|
|
2426
2426
|
if (C === P)
|
|
2427
2427
|
throw new RangeError("Cyclic object value");
|
|
2428
|
-
|
|
2428
|
+
N = !0;
|
|
2429
2429
|
}
|
|
2430
2430
|
typeof A.get(wt) > "u" && (P = 0);
|
|
2431
2431
|
}
|
|
@@ -2550,7 +2550,7 @@ var ln = Pe, xe = zi, wa = ra, Oa = je, qe = ln("%WeakMap%", !0), Je = ln("%Map%
|
|
|
2550
2550
|
}
|
|
2551
2551
|
var g = a.join(n.delimiter), y = n.addQueryPrefix === !0 ? "?" : "";
|
|
2552
2552
|
return n.charsetSentinel && (n.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), g.length > 0 ? y + g : "";
|
|
2553
|
-
}, $e = pn,
|
|
2553
|
+
}, $e = pn, _t = Object.prototype.hasOwnProperty, Xa = Array.isArray, H = {
|
|
2554
2554
|
allowDots: !1,
|
|
2555
2555
|
allowPrototypes: !1,
|
|
2556
2556
|
allowSparse: !1,
|
|
@@ -2586,7 +2586,7 @@ var ln = Pe, xe = zi, wa = ra, Oa = je, qe = ln("%WeakMap%", !0), Je = ln("%Map%
|
|
|
2586
2586
|
function(f) {
|
|
2587
2587
|
return r.decoder(f, H.decoder, c, "value");
|
|
2588
2588
|
}
|
|
2589
|
-
)), y && r.interpretNumericEntities && c === "iso-8859-1" && (y = es(y)), p.indexOf("[]=") > -1 && (y = Xa(y) ? [y] : y),
|
|
2589
|
+
)), y && r.interpretNumericEntities && c === "iso-8859-1" && (y = es(y)), p.indexOf("[]=") > -1 && (y = Xa(y) ? [y] : y), _t.call(n, g) ? n[g] = $e.combine(n[g], y) : n[g] = y;
|
|
2590
2590
|
}
|
|
2591
2591
|
return n;
|
|
2592
2592
|
}, os = function(t, e, r, n) {
|
|
@@ -2606,12 +2606,12 @@ var ln = Pe, xe = zi, wa = ra, Oa = je, qe = ln("%WeakMap%", !0), Je = ln("%Map%
|
|
|
2606
2606
|
if (e) {
|
|
2607
2607
|
var i = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, a = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, u = n.depth > 0 && a.exec(i), c = u ? i.slice(0, u.index) : i, p = [];
|
|
2608
2608
|
if (c) {
|
|
2609
|
-
if (!n.plainObjects &&
|
|
2609
|
+
if (!n.plainObjects && _t.call(Object.prototype, c) && !n.allowPrototypes)
|
|
2610
2610
|
return;
|
|
2611
2611
|
p.push(c);
|
|
2612
2612
|
}
|
|
2613
2613
|
for (var l = 0; n.depth > 0 && (u = s.exec(i)) !== null && l < n.depth; ) {
|
|
2614
|
-
if (l += 1, !n.plainObjects &&
|
|
2614
|
+
if (l += 1, !n.plainObjects && _t.call(Object.prototype, u[1].slice(1, -1)) && !n.allowPrototypes)
|
|
2615
2615
|
return;
|
|
2616
2616
|
p.push(u[1]);
|
|
2617
2617
|
}
|
|
@@ -2679,7 +2679,7 @@ var ds = {
|
|
|
2679
2679
|
);
|
|
2680
2680
|
}
|
|
2681
2681
|
};
|
|
2682
|
-
function
|
|
2682
|
+
function Nt(t, e) {
|
|
2683
2683
|
function r(o, i, a) {
|
|
2684
2684
|
if (!(typeof document > "u")) {
|
|
2685
2685
|
a = Ge({}, e, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
@@ -2717,10 +2717,10 @@ function _t(t, e) {
|
|
|
2717
2717
|
);
|
|
2718
2718
|
},
|
|
2719
2719
|
withAttributes: function(o) {
|
|
2720
|
-
return
|
|
2720
|
+
return Nt(this.converter, Ge({}, this.attributes, o));
|
|
2721
2721
|
},
|
|
2722
2722
|
withConverter: function(o) {
|
|
2723
|
-
return
|
|
2723
|
+
return Nt(Ge({}, this.converter, o), this.attributes);
|
|
2724
2724
|
}
|
|
2725
2725
|
},
|
|
2726
2726
|
{
|
|
@@ -2729,7 +2729,7 @@ function _t(t, e) {
|
|
|
2729
2729
|
}
|
|
2730
2730
|
);
|
|
2731
2731
|
}
|
|
2732
|
-
var ys =
|
|
2732
|
+
var ys = Nt(ds, { path: "/" }), mn = { exports: {} };
|
|
2733
2733
|
(function(t, e) {
|
|
2734
2734
|
(function(r, n) {
|
|
2735
2735
|
t.exports = n();
|
|
@@ -2740,7 +2740,7 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2740
2740
|
} }, P = function(E, v, m) {
|
|
2741
2741
|
var O = String(E);
|
|
2742
2742
|
return !O || O.length >= v ? E : "" + Array(v + 1 - O.length).join(m) + E;
|
|
2743
|
-
},
|
|
2743
|
+
}, N = { s: P, z: function(E) {
|
|
2744
2744
|
var v = -E.utcOffset(), m = Math.abs(v), O = Math.floor(m / 60), S = m % 60;
|
|
2745
2745
|
return (v <= 0 ? "+" : "-") + P(O, 2, "0") + ":" + P(S, 2, "0");
|
|
2746
2746
|
}, m: function E(v, m) {
|
|
@@ -2766,15 +2766,15 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2766
2766
|
var R = v.split("-");
|
|
2767
2767
|
if (!S && R.length > 1) return E(R[0]);
|
|
2768
2768
|
} else {
|
|
2769
|
-
var
|
|
2770
|
-
U[
|
|
2769
|
+
var _ = v.name;
|
|
2770
|
+
U[_] = v, S = _;
|
|
2771
2771
|
}
|
|
2772
2772
|
return !O && S && (C = S), S || !O && C;
|
|
2773
2773
|
}, F = function(E, v) {
|
|
2774
2774
|
if (B(E)) return E.clone();
|
|
2775
2775
|
var m = typeof v == "object" ? v : {};
|
|
2776
2776
|
return m.date = E, m.args = arguments, new W(m);
|
|
2777
|
-
}, x =
|
|
2777
|
+
}, x = N;
|
|
2778
2778
|
x.l = L, x.i = B, x.w = function(E, v) {
|
|
2779
2779
|
return F(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
2780
2780
|
};
|
|
@@ -2792,8 +2792,8 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2792
2792
|
if (typeof S == "string" && !/Z$/i.test(S)) {
|
|
2793
2793
|
var R = S.match(w);
|
|
2794
2794
|
if (R) {
|
|
2795
|
-
var
|
|
2796
|
-
return $ ? new Date(Date.UTC(R[1],
|
|
2795
|
+
var _ = R[2] - 1 || 0, I = (R[7] || "0").substring(0, 3);
|
|
2796
|
+
return $ ? new Date(Date.UTC(R[1], _, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I)) : new Date(R[1], _, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I);
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
2799
|
return new Date(S);
|
|
@@ -2819,7 +2819,7 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2819
2819
|
}, v.valueOf = function() {
|
|
2820
2820
|
return this.$d.getTime();
|
|
2821
2821
|
}, v.startOf = function(m, O) {
|
|
2822
|
-
var S = this, $ = !!x.u(O) || O, R = x.p(m),
|
|
2822
|
+
var S = this, $ = !!x.u(O) || O, R = x.p(m), _ = function(pe, V) {
|
|
2823
2823
|
var ae = x.w(S.$u ? Date.UTC(S.$y, V, pe) : new Date(S.$y, V, pe), S);
|
|
2824
2824
|
return $ ? ae : ae.endOf(c);
|
|
2825
2825
|
}, I = function(pe, V) {
|
|
@@ -2827,12 +2827,12 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2827
2827
|
}, j = this.$W, q = this.$M, Q = this.$D, ve = "set" + (this.$u ? "UTC" : "");
|
|
2828
2828
|
switch (R) {
|
|
2829
2829
|
case g:
|
|
2830
|
-
return $ ?
|
|
2830
|
+
return $ ? _(1, 0) : _(31, 11);
|
|
2831
2831
|
case l:
|
|
2832
|
-
return $ ?
|
|
2832
|
+
return $ ? _(1, q) : _(0, q + 1);
|
|
2833
2833
|
case p:
|
|
2834
2834
|
var fe = this.$locale().weekStart || 0, Te = (j < fe ? j + 7 : j) - fe;
|
|
2835
|
-
return
|
|
2835
|
+
return _($ ? Q - Te : Q + (6 - Te), q);
|
|
2836
2836
|
case c:
|
|
2837
2837
|
case y:
|
|
2838
2838
|
return I(ve + "Hours", 0);
|
|
@@ -2848,11 +2848,11 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2848
2848
|
}, v.endOf = function(m) {
|
|
2849
2849
|
return this.startOf(m, !1);
|
|
2850
2850
|
}, v.$set = function(m, O) {
|
|
2851
|
-
var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""),
|
|
2851
|
+
var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""), _ = (S = {}, S[c] = R + "Date", S[y] = R + "Date", S[l] = R + "Month", S[g] = R + "FullYear", S[u] = R + "Hours", S[s] = R + "Minutes", S[a] = R + "Seconds", S[i] = R + "Milliseconds", S)[$], I = $ === c ? this.$D + (O - this.$W) : O;
|
|
2852
2852
|
if ($ === l || $ === g) {
|
|
2853
2853
|
var j = this.clone().set(y, 1);
|
|
2854
|
-
j.$d[
|
|
2855
|
-
} else
|
|
2854
|
+
j.$d[_](I), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
|
|
2855
|
+
} else _ && this.$d[_](I);
|
|
2856
2856
|
return this.init(), this;
|
|
2857
2857
|
}, v.set = function(m, O) {
|
|
2858
2858
|
return this.clone().$set(m, O);
|
|
@@ -2861,14 +2861,14 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2861
2861
|
}, v.add = function(m, O) {
|
|
2862
2862
|
var S, $ = this;
|
|
2863
2863
|
m = Number(m);
|
|
2864
|
-
var R = x.p(O),
|
|
2864
|
+
var R = x.p(O), _ = function(q) {
|
|
2865
2865
|
var Q = F($);
|
|
2866
2866
|
return x.w(Q.date(Q.date() + Math.round(q * m)), $);
|
|
2867
2867
|
};
|
|
2868
2868
|
if (R === l) return this.set(l, this.$M + m);
|
|
2869
2869
|
if (R === g) return this.set(g, this.$y + m);
|
|
2870
|
-
if (R === c) return
|
|
2871
|
-
if (R === p) return
|
|
2870
|
+
if (R === c) return _(1);
|
|
2871
|
+
if (R === p) return _(7);
|
|
2872
2872
|
var I = (S = {}, S[s] = n, S[u] = o, S[a] = r, S)[R] || 1, j = this.$d.getTime() + m * I;
|
|
2873
2873
|
return x.w(j, this);
|
|
2874
2874
|
}, v.subtract = function(m, O) {
|
|
@@ -2876,10 +2876,10 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2876
2876
|
}, v.format = function(m) {
|
|
2877
2877
|
var O = this, S = this.$locale();
|
|
2878
2878
|
if (!this.isValid()) return S.invalidDate || f;
|
|
2879
|
-
var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this),
|
|
2879
|
+
var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), _ = this.$H, I = this.$m, j = this.$M, q = S.weekdays, Q = S.months, ve = S.meridiem, fe = function(V, ae, De, ze) {
|
|
2880
2880
|
return V && (V[ae] || V(O, $)) || De[ae].slice(0, ze);
|
|
2881
2881
|
}, Te = function(V) {
|
|
2882
|
-
return x.s(
|
|
2882
|
+
return x.s(_ % 12 || 12, V, "0");
|
|
2883
2883
|
}, pe = ve || function(V, ae, De) {
|
|
2884
2884
|
var ze = V < 12 ? "AM" : "PM";
|
|
2885
2885
|
return De ? ze.toLowerCase() : ze;
|
|
@@ -2912,17 +2912,17 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2912
2912
|
case "dddd":
|
|
2913
2913
|
return q[O.$W];
|
|
2914
2914
|
case "H":
|
|
2915
|
-
return String(
|
|
2915
|
+
return String(_);
|
|
2916
2916
|
case "HH":
|
|
2917
|
-
return x.s(
|
|
2917
|
+
return x.s(_, 2, "0");
|
|
2918
2918
|
case "h":
|
|
2919
2919
|
return Te(1);
|
|
2920
2920
|
case "hh":
|
|
2921
2921
|
return Te(2);
|
|
2922
2922
|
case "a":
|
|
2923
|
-
return pe(
|
|
2923
|
+
return pe(_, I, !0);
|
|
2924
2924
|
case "A":
|
|
2925
|
-
return pe(
|
|
2925
|
+
return pe(_, I, !1);
|
|
2926
2926
|
case "m":
|
|
2927
2927
|
return String(I);
|
|
2928
2928
|
case "mm":
|
|
@@ -2942,10 +2942,10 @@ var ys = _t(ds, { path: "/" }), mn = { exports: {} };
|
|
|
2942
2942
|
}, v.utcOffset = function() {
|
|
2943
2943
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2944
2944
|
}, v.diff = function(m, O, S) {
|
|
2945
|
-
var $, R = this,
|
|
2945
|
+
var $, R = this, _ = x.p(O), I = F(m), j = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
|
|
2946
2946
|
return x.m(R, I);
|
|
2947
2947
|
};
|
|
2948
|
-
switch (
|
|
2948
|
+
switch (_) {
|
|
2949
2949
|
case g:
|
|
2950
2950
|
$ = Q() / 12;
|
|
2951
2951
|
break;
|
|
@@ -3049,8 +3049,8 @@ var vn = { exports: {} };
|
|
|
3049
3049
|
var A = Math.abs(f) <= 16 ? 60 * f : f, P = this;
|
|
3050
3050
|
if (w) return P.$offset = A, P.$u = f === 0, P;
|
|
3051
3051
|
if (f !== 0) {
|
|
3052
|
-
var
|
|
3053
|
-
(P = this.local().add(A +
|
|
3052
|
+
var N = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
3053
|
+
(P = this.local().add(A + N, r)).$offset = A, P.$x.$localOffset = N;
|
|
3054
3054
|
} else P = this.utc();
|
|
3055
3055
|
return P;
|
|
3056
3056
|
};
|
|
@@ -3094,14 +3094,14 @@ var gn = { exports: {} };
|
|
|
3094
3094
|
y === void 0 && (y = {});
|
|
3095
3095
|
var f = new Date(h), w = function(b, A) {
|
|
3096
3096
|
A === void 0 && (A = {});
|
|
3097
|
-
var P = A.timeZoneName || "short",
|
|
3098
|
-
return C || (C = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), n[
|
|
3097
|
+
var P = A.timeZoneName || "short", N = b + "|" + P, C = n[N];
|
|
3098
|
+
return C || (C = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), n[N] = C), C;
|
|
3099
3099
|
}(g, y);
|
|
3100
3100
|
return w.formatToParts(f);
|
|
3101
3101
|
}, c = function(h, g) {
|
|
3102
3102
|
for (var y = u(h, g), f = [], w = 0; w < y.length; w += 1) {
|
|
3103
|
-
var b = y[w], A = b.type, P = b.value,
|
|
3104
|
-
|
|
3103
|
+
var b = y[w], A = b.type, P = b.value, N = r[A];
|
|
3104
|
+
N >= 0 && (f[N] = parseInt(P, 10));
|
|
3105
3105
|
}
|
|
3106
3106
|
var C = f[3], U = C === 24 ? 0 : C, M = f[0] + "-" + f[1] + "-" + f[2] + " " + U + ":" + f[4] + ":" + f[5] + ":000", B = +h;
|
|
3107
3107
|
return (a.utc(M).valueOf() - (B -= B % 1e3)) / 6e4;
|
|
@@ -3133,7 +3133,7 @@ var gn = { exports: {} };
|
|
|
3133
3133
|
if (M === F) return [L, M];
|
|
3134
3134
|
var x = c(L -= 60 * (F - M) * 1e3, B);
|
|
3135
3135
|
return F === x ? [L, F] : [U - 60 * Math.min(F, x) * 1e3, Math.max(F, x)];
|
|
3136
|
-
}(a.utc(h, f).valueOf(), b, w), P = A[0],
|
|
3136
|
+
}(a.utc(h, f).valueOf(), b, w), P = A[0], N = A[1], C = a(P).utcOffset(N);
|
|
3137
3137
|
return C.$x.$timezone = w, C;
|
|
3138
3138
|
}, a.tz.guess = function() {
|
|
3139
3139
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -3188,7 +3188,7 @@ const Sn = xr(), bn = Sn.sso ?? !0, wn = Sn.noRedireLogin ?? !1, On = () => {
|
|
|
3188
3188
|
const p = new URL(location.href).searchParams;
|
|
3189
3189
|
c = p.get("project") || p.get("projectId") || 0, c || (c = Tn().id ?? 0), (c || c === 0) && (s.project = c);
|
|
3190
3190
|
}
|
|
3191
|
-
if (
|
|
3191
|
+
if (new URL(location.href).searchParams.get("app") === "iot") {
|
|
3192
3192
|
const { instanceInfo: c } = Dn();
|
|
3193
3193
|
c != null && c.instanceId && (s.instance = c.instanceId);
|
|
3194
3194
|
}
|
|
Binary file
|