@das-fed/utils 6.4.0-dev.8 → 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.
Files changed (49) hide show
  1. package/api-services/index.js +1 -1
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +76 -76
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +76 -76
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +73 -73
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +76 -76
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +73 -73
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +76 -76
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/gateway-edge/index.js +76 -76
  16. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  17. package/api-services/modules/index.js +1 -1
  18. package/api-services/modules/index.js.gz +0 -0
  19. package/api-services/modules/iot/index.js +70 -70
  20. package/api-services/modules/iot/index.js.gz +0 -0
  21. package/api-services/modules/justauth/index.js +76 -76
  22. package/api-services/modules/justauth/index.js.gz +0 -0
  23. package/api-services/modules/knowledge/index.js +76 -76
  24. package/api-services/modules/knowledge/index.js.gz +0 -0
  25. package/api-services/modules/link/index.js +76 -76
  26. package/api-services/modules/link/index.js.gz +0 -0
  27. package/api-services/modules/permission/index.js +76 -76
  28. package/api-services/modules/permission/index.js.gz +0 -0
  29. package/api-services/modules/platformManage/index.js +70 -70
  30. package/api-services/modules/platformManage/index.js.gz +0 -0
  31. package/api-services/modules/portal/index.js +76 -76
  32. package/api-services/modules/portal/index.js.gz +0 -0
  33. package/api-services/modules/space-manage/index.js +76 -76
  34. package/api-services/modules/space-manage/index.js.gz +0 -0
  35. package/api-services/modules/super-admin/index.js +73 -73
  36. package/api-services/modules/super-admin/index.js.gz +0 -0
  37. package/api-services/modules/supplier/index.js +73 -73
  38. package/api-services/modules/supplier/index.js.gz +0 -0
  39. package/api-services/modules/supplychain-manage/index.js +76 -76
  40. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  41. package/api-services/modules/systemConfiguration/index.js +76 -76
  42. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  43. package/api-services/modules/tool/index.js +76 -76
  44. package/api-services/modules/tool/index.js.gz +0 -0
  45. package/api-services/src/create-service/index.js +81 -81
  46. package/api-services/src/create-service/index.js.gz +0 -0
  47. package/create-api-service/index.js +81 -81
  48. package/create-api-service/index.js.gz +0 -0
  49. package/package.json +3 -3
@@ -8,7 +8,7 @@ function Pr(t, e) {
8
8
  return t.apply(e, arguments);
9
9
  };
10
10
  }
11
- const { toString: Dn } = Object.prototype, { getPrototypeOf: _t } = Object, et = /* @__PURE__ */ ((t) => (e) => {
11
+ const { toString: Dn } = Object.prototype, { getPrototypeOf: Nt } = Object, et = /* @__PURE__ */ ((t) => (e) => {
12
12
  const r = Dn.call(e);
13
13
  return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
14
14
  })(/* @__PURE__ */ Object.create(null)), re = (t) => (t = t.toLowerCase(), (e) => et(e) === t), tt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, Ce = tt("undefined");
@@ -16,14 +16,14 @@ function Fn(t) {
16
16
  return t !== null && !Ce(t) && t.constructor !== null && !Ce(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
17
17
  }
18
18
  const xr = re("ArrayBuffer");
19
- function Nn(t) {
19
+ function _n(t) {
20
20
  let e;
21
21
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && xr(t.buffer), e;
22
22
  }
23
- const _n = tt("string"), K = tt("function"), Tr = tt("number"), rt = (t) => t !== null && typeof t == "object", Cn = (t) => t === !0 || t === !1, Je = (t) => {
23
+ const Nn = tt("string"), K = tt("function"), Tr = tt("number"), rt = (t) => t !== null && typeof t == "object", Cn = (t) => t === !0 || t === !1, Je = (t) => {
24
24
  if (et(t) !== "object")
25
25
  return !1;
26
- const e = _t(t);
26
+ const e = Nt(t);
27
27
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
28
28
  }, Mn = re("Date"), In = re("File"), Un = re("Blob"), Bn = re("FileList"), Ln = (t) => rt(t) && K(t.pipe), kn = (t) => {
29
29
  let e;
@@ -53,9 +53,9 @@ function Dr(t, e) {
53
53
  return o;
54
54
  return null;
55
55
  }
56
- const Fr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Nr = (t) => !Ce(t) && t !== Fr;
56
+ const Fr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, _r = (t) => !Ce(t) && t !== Fr;
57
57
  function bt() {
58
- const { caseless: t } = Nr(this) && this || {}, e = {}, r = (n, o) => {
58
+ const { caseless: t } = _r(this) && this || {}, e = {}, r = (n, o) => {
59
59
  const i = t && Dr(e, o) || o;
60
60
  Je(e[i]) && Je(n) ? e[i] = bt(e[i], n) : Je(n) ? e[i] = bt({}, n) : Ae(n) ? e[i] = n.slice() : e[i] = n;
61
61
  };
@@ -76,7 +76,7 @@ const zn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
76
76
  do {
77
77
  for (o = Object.getOwnPropertyNames(t), i = o.length; i-- > 0; )
78
78
  a = o[i], (!n || n(a, t, e)) && !s[a] && (e[a] = t[a], s[a] = !0);
79
- t = r !== !1 && _t(t);
79
+ t = r !== !1 && Nt(t);
80
80
  } while (t && (!r || r(t, e)) && t !== Object.prototype);
81
81
  return e;
82
82
  }, Gn = (t, e, r) => {
@@ -92,7 +92,7 @@ const zn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
92
92
  for (; e-- > 0; )
93
93
  r[e] = t[e];
94
94
  return r;
95
- }, Yn = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && _t(Uint8Array)), Qn = (t, e) => {
95
+ }, Yn = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Nt(Uint8Array)), Qn = (t, e) => {
96
96
  const n = (t && t[Symbol.iterator]).call(t);
97
97
  let o;
98
98
  for (; (o = n.next()) && !o.done; ) {
@@ -110,14 +110,14 @@ const zn = (t, e, r, { allOwnKeys: n } = {}) => (Ie(e, (o, i) => {
110
110
  function(r, n, o) {
111
111
  return n.toUpperCase() + o;
112
112
  }
113
- ), qt = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), eo = re("RegExp"), _r = (t, e) => {
113
+ ), qt = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), eo = re("RegExp"), Nr = (t, e) => {
114
114
  const r = Object.getOwnPropertyDescriptors(t), n = {};
115
115
  Ie(r, (o, i) => {
116
116
  let a;
117
117
  (a = e(o, i, t)) !== !1 && (n[i] = a || o);
118
118
  }), Object.defineProperties(t, n);
119
119
  }, to = (t) => {
120
- _r(t, (e, r) => {
120
+ Nr(t, (e, r) => {
121
121
  if (K(t) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
122
122
  return !1;
123
123
  const n = t[r];
@@ -175,8 +175,8 @@ const so = (t) => {
175
175
  isArrayBuffer: xr,
176
176
  isBuffer: Fn,
177
177
  isFormData: kn,
178
- isArrayBufferView: Nn,
179
- isString: _n,
178
+ isArrayBufferView: _n,
179
+ isString: Nn,
180
180
  isNumber: Tr,
181
181
  isBoolean: Cn,
182
182
  isObject: rt,
@@ -208,7 +208,7 @@ const so = (t) => {
208
208
  hasOwnProperty: qt,
209
209
  hasOwnProp: qt,
210
210
  // an alias to avoid ESLint no-prototype-builtins detection
211
- reduceDescriptors: _r,
211
+ reduceDescriptors: Nr,
212
212
  freezeMethods: to,
213
213
  toObjectSet: ro,
214
214
  toCamelCase: Xn,
@@ -216,7 +216,7 @@ const so = (t) => {
216
216
  toFiniteNumber: oo,
217
217
  findKey: Dr,
218
218
  global: Fr,
219
- isContextDefined: Nr,
219
+ isContextDefined: _r,
220
220
  ALPHABET: Cr,
221
221
  generateString: io,
222
222
  isSpecCompliantForm: ao,
@@ -783,7 +783,7 @@ function Be(t, e, r) {
783
783
  d.inherits(Be, D, {
784
784
  __CANCEL__: !0
785
785
  });
786
- function No(t, e, r) {
786
+ function _o(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,
@@ -793,7 +793,7 @@ function No(t, e, r) {
793
793
  r
794
794
  ));
795
795
  }
796
- const _o = te.hasStandardBrowserEnv ? (
796
+ const No = te.hasStandardBrowserEnv ? (
797
797
  // Standard browser envs support document.cookie
798
798
  {
799
799
  write(t, e, r, n, o, i) {
@@ -936,7 +936,7 @@ const Lo = typeof XMLHttpRequest < "u", ko = Lo && function(t) {
936
936
  config: t,
937
937
  request: l
938
938
  };
939
- No(function(P) {
939
+ _o(function(P) {
940
940
  r(P), c();
941
941
  }, function(P) {
942
942
  n(P), c();
@@ -958,7 +958,7 @@ const Lo = typeof XMLHttpRequest < "u", ko = Lo && function(t) {
958
958
  l
959
959
  )), l = null;
960
960
  }, te.hasStandardBrowserEnv && (s && d.isFunction(s) && (s = s(t)), s || s !== !1 && Io(h))) {
961
- const f = t.xsrfHeaderName && t.xsrfCookieName && _o.read(t.xsrfCookieName);
961
+ const f = t.xsrfHeaderName && t.xsrfCookieName && No.read(t.xsrfCookieName);
962
962
  f && i.set(t.xsrfHeaderName, f);
963
963
  }
964
964
  o === void 0 && i.setContentType(null), "setRequestHeader" in l && d.forEach(i.toJSON(), function(w, b) {
@@ -1768,7 +1768,7 @@ if (Ve)
1768
1768
  } catch {
1769
1769
  Ve = null;
1770
1770
  }
1771
- var Kr = Ve, sr = Bt(), Ni = Vr, ve = Le, ur = Kr, _i = function(e, r, n) {
1771
+ var Kr = Ve, sr = Bt(), _i = Vr, ve = Le, ur = Kr, Ni = function(e, r, n) {
1772
1772
  if (!e || typeof e != "object" && typeof e != "function")
1773
1773
  throw new ve("`obj` must be an object or a function`");
1774
1774
  if (typeof r != "string" && typeof r != "symbol")
@@ -1792,7 +1792,7 @@ var Kr = Ve, sr = Bt(), Ni = Vr, ve = Le, ur = Kr, _i = function(e, r, n) {
1792
1792
  else if (s || !o && !i && !a)
1793
1793
  e[r] = n;
1794
1794
  else
1795
- throw new Ni("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1795
+ throw new _i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
1796
1796
  }, $t = Bt(), Zr = function() {
1797
1797
  return !!$t;
1798
1798
  };
@@ -1805,7 +1805,7 @@ Zr.hasArrayLengthDefineBug = function() {
1805
1805
  return !0;
1806
1806
  }
1807
1807
  };
1808
- var Ci = Zr, Mi = $e, cr = _i, Ii = Ci(), lr = Kr, fr = Le, Ui = Mi("%Math.floor%"), Bi = function(e, r) {
1808
+ var Ci = Zr, Mi = $e, cr = Ni, Ii = Ci(), lr = Kr, fr = Le, Ui = Mi("%Math.floor%"), Bi = function(e, r) {
1809
1809
  if (typeof e != "function")
1810
1810
  throw new fr("`fn` is not a function");
1811
1811
  if (typeof r != "number" || r < 0 || r > 4294967295 || Ui(r) !== r)
@@ -1854,7 +1854,7 @@ const ji = {}, zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1854
1854
  __proto__: null,
1855
1855
  default: ji
1856
1856
  }, Symbol.toStringTag, { value: "Module" })), Wi = /* @__PURE__ */ qo(zi);
1857
- var Lt = typeof Map == "function" && Map.prototype, dt = Object.getOwnPropertyDescriptor && Lt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ze = Lt && dt && typeof dt.get == "function" ? dt.get : null, pr = Lt && Map.prototype.forEach, kt = typeof Set == "function" && Set.prototype, yt = Object.getOwnPropertyDescriptor && kt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Xe = kt && yt && typeof yt.get == "function" ? yt.get : null, dr = kt && Set.prototype.forEach, qi = typeof WeakMap == "function" && WeakMap.prototype, Fe = qi ? WeakMap.prototype.has : null, Ji = typeof WeakSet == "function" && WeakSet.prototype, Ne = Ji ? WeakSet.prototype.has : null, Gi = typeof WeakRef == "function" && WeakRef.prototype, yr = Gi ? WeakRef.prototype.deref : null, Vi = Boolean.prototype.valueOf, Yi = Object.prototype.toString, Qi = Function.prototype.toString, Ki = String.prototype.match, Ht = String.prototype.slice, se = String.prototype.replace, Zi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, tn = RegExp.prototype.test, mr = Array.prototype.concat, ee = Array.prototype.join, Xi = Array.prototype.slice, vr = Math.floor, Rt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ht = Object.getOwnPropertySymbols, Pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Oe = typeof Symbol == "function" && typeof Symbol.iterator == "object", G = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Oe || !0) ? Symbol.toStringTag : null, rn = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1857
+ var Lt = typeof Map == "function" && Map.prototype, dt = Object.getOwnPropertyDescriptor && Lt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ze = Lt && dt && typeof dt.get == "function" ? dt.get : null, pr = Lt && Map.prototype.forEach, kt = typeof Set == "function" && Set.prototype, yt = Object.getOwnPropertyDescriptor && kt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Xe = kt && yt && typeof yt.get == "function" ? yt.get : null, dr = kt && Set.prototype.forEach, qi = typeof WeakMap == "function" && WeakMap.prototype, Fe = qi ? WeakMap.prototype.has : null, Ji = typeof WeakSet == "function" && WeakSet.prototype, _e = Ji ? WeakSet.prototype.has : null, Gi = typeof WeakRef == "function" && WeakRef.prototype, yr = Gi ? WeakRef.prototype.deref : null, Vi = Boolean.prototype.valueOf, Yi = Object.prototype.toString, Qi = Function.prototype.toString, Ki = String.prototype.match, Ht = String.prototype.slice, se = String.prototype.replace, Zi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, tn = RegExp.prototype.test, mr = Array.prototype.concat, ee = Array.prototype.join, Xi = Array.prototype.slice, vr = Math.floor, Rt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ht = Object.getOwnPropertySymbols, Pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Oe = typeof Symbol == "function" && typeof Symbol.iterator == "object", G = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Oe || !0) ? Symbol.toStringTag : null, rn = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1858
1858
  return t.__proto__;
1859
1859
  } : null);
1860
1860
  function Sr(t, e) {
@@ -1949,10 +1949,10 @@ var xt = Wi, br = xt.custom, wr = on(br) ? br : null, ea = function t(e, r, n, o
1949
1949
  return e.inspect();
1950
1950
  }
1951
1951
  if (la(e)) {
1952
- var N = [];
1952
+ var _ = [];
1953
1953
  return pr && pr.call(e, function(Y, E) {
1954
- N.push(h(E, e, !0) + " => " + h(Y, e));
1955
- }), Er("Map", Ze.call(e), N, l);
1954
+ _.push(h(E, e, !0) + " => " + h(Y, e));
1955
+ }), Er("Map", Ze.call(e), _, l);
1956
1956
  }
1957
1957
  if (da(e)) {
1958
1958
  var U = [];
@@ -2078,7 +2078,7 @@ function fa(t) {
2078
2078
  try {
2079
2079
  Fe.call(t, Fe);
2080
2080
  try {
2081
- Ne.call(t, Ne);
2081
+ _e.call(t, _e);
2082
2082
  } catch {
2083
2083
  return !0;
2084
2084
  }
@@ -2112,10 +2112,10 @@ function da(t) {
2112
2112
  return !1;
2113
2113
  }
2114
2114
  function ya(t) {
2115
- if (!Ne || !t || typeof t != "object")
2115
+ if (!_e || !t || typeof t != "object")
2116
2116
  return !1;
2117
2117
  try {
2118
- Ne.call(t, Ne);
2118
+ _e.call(t, _e);
2119
2119
  try {
2120
2120
  Fe.call(t, Fe);
2121
2121
  } catch {
@@ -2256,14 +2256,14 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2256
2256
  }
2257
2257
  };
2258
2258
  return o;
2259
- }, Fa = String.prototype.replace, Na = /%20/g, vt = {
2259
+ }, Fa = String.prototype.replace, _a = /%20/g, vt = {
2260
2260
  RFC1738: "RFC1738",
2261
2261
  RFC3986: "RFC3986"
2262
2262
  }, zt = {
2263
2263
  default: vt.RFC3986,
2264
2264
  formatters: {
2265
2265
  RFC1738: function(t) {
2266
- return Fa.call(t, Na, "+");
2266
+ return Fa.call(t, _a, "+");
2267
2267
  },
2268
2268
  RFC3986: function(t) {
2269
2269
  return String(t);
@@ -2271,7 +2271,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2271
2271
  },
2272
2272
  RFC1738: vt.RFC1738,
2273
2273
  RFC3986: vt.RFC3986
2274
- }, _a = zt, gt = Object.prototype.hasOwnProperty, fe = Array.isArray, X = function() {
2274
+ }, Na = zt, gt = Object.prototype.hasOwnProperty, fe = Array.isArray, X = function() {
2275
2275
  for (var t = [], e = 0; e < 256; ++e)
2276
2276
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2277
2277
  return t;
@@ -2336,7 +2336,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2336
2336
  });
2337
2337
  for (var s = "", u = 0; u < a.length; ++u) {
2338
2338
  var c = a.charCodeAt(u);
2339
- if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === _a.RFC1738 && (c === 40 || c === 41)) {
2339
+ if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || i === Na.RFC1738 && (c === 40 || c === 41)) {
2340
2340
  s += a.charAt(u);
2341
2341
  continue;
2342
2342
  }
@@ -2386,7 +2386,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2386
2386
  isRegExp: ka,
2387
2387
  maybeMap: za,
2388
2388
  merge: Ma
2389
- }, fn = Da, Ye = ln, _e = zt, Wa = Object.prototype.hasOwnProperty, Ar = {
2389
+ }, fn = Da, Ye = ln, Ne = zt, Wa = Object.prototype.hasOwnProperty, Ar = {
2390
2390
  brackets: function(e) {
2391
2391
  return e + "[]";
2392
2392
  },
@@ -2399,7 +2399,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2399
2399
  }
2400
2400
  }, ne = Array.isArray, qa = Array.prototype.push, pn = function(t, e) {
2401
2401
  qa.apply(t, ne(e) ? e : [e]);
2402
- }, Ja = Date.prototype.toISOString, $r = _e.default, J = {
2402
+ }, Ja = Date.prototype.toISOString, $r = Ne.default, J = {
2403
2403
  addQueryPrefix: !1,
2404
2404
  allowDots: !1,
2405
2405
  charset: "utf-8",
@@ -2409,7 +2409,7 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2409
2409
  encoder: Ye.encode,
2410
2410
  encodeValuesOnly: !1,
2411
2411
  format: $r,
2412
- formatter: _e.formatters[$r],
2412
+ formatter: Ne.formatters[$r],
2413
2413
  // deprecated
2414
2414
  indices: !1,
2415
2415
  serializeDate: function(e) {
@@ -2421,9 +2421,9 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2421
2421
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2422
2422
  }, St = {}, Va = function t(e, r, n, o, i, a, s, u, c, p, l, h, g, y, f, w) {
2423
2423
  for (var b = e, A = w, P = 0, C = !1; (A = A.get(St)) !== void 0 && !C; ) {
2424
- var N = A.get(e);
2425
- if (P += 1, typeof N < "u") {
2426
- if (N === P)
2424
+ var _ = A.get(e);
2425
+ if (P += 1, typeof _ < "u") {
2426
+ if (_ === P)
2427
2427
  throw new RangeError("Cyclic object value");
2428
2428
  C = !0;
2429
2429
  }
@@ -2490,13 +2490,13 @@ var un = $e, Re = Hi, Sa = ea, ba = Le, ze = un("%WeakMap%", !0), We = un("%Map%
2490
2490
  var r = e.charset || J.charset;
2491
2491
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
2492
2492
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
2493
- var n = _e.default;
2493
+ var n = Ne.default;
2494
2494
  if (typeof e.format < "u") {
2495
- if (!Wa.call(_e.formatters, e.format))
2495
+ if (!Wa.call(Ne.formatters, e.format))
2496
2496
  throw new TypeError("Unknown format option provided.");
2497
2497
  n = e.format;
2498
2498
  }
2499
- var o = _e.formatters[n], i = J.filter;
2499
+ var o = Ne.formatters[n], i = J.filter;
2500
2500
  return (typeof e.filter == "function" || ne(e.filter)) && (i = e.filter), {
2501
2501
  addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : J.addQueryPrefix,
2502
2502
  allowDots: typeof e.allowDots > "u" ? J.allowDots : !!e.allowDots,
@@ -2679,7 +2679,7 @@ var fs = {
2679
2679
  );
2680
2680
  }
2681
2681
  };
2682
- function Nt(t, e) {
2682
+ function _t(t, e) {
2683
2683
  function r(o, i, a) {
2684
2684
  if (!(typeof document > "u")) {
2685
2685
  a = qe({}, 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 Nt(t, e) {
2717
2717
  );
2718
2718
  },
2719
2719
  withAttributes: function(o) {
2720
- return Nt(this.converter, qe({}, this.attributes, o));
2720
+ return _t(this.converter, qe({}, this.attributes, o));
2721
2721
  },
2722
2722
  withConverter: function(o) {
2723
- return Nt(qe({}, this.converter, o), this.attributes);
2723
+ return _t(qe({}, this.converter, o), this.attributes);
2724
2724
  }
2725
2725
  },
2726
2726
  {
@@ -2729,7 +2729,7 @@ function Nt(t, e) {
2729
2729
  }
2730
2730
  );
2731
2731
  }
2732
- var ps = Nt(fs, { path: "/" }), yn = { exports: {} };
2732
+ var ps = _t(fs, { path: "/" }), yn = { exports: {} };
2733
2733
  (function(t, e) {
2734
2734
  (function(r, n) {
2735
2735
  t.exports = n();
@@ -2753,23 +2753,23 @@ var ps = Nt(fs, { path: "/" }), yn = { exports: {} };
2753
2753
  return { M: l, y: g, w: p, d: c, D: y, h: u, m: s, s: a, ms: i, Q: h }[E] || String(E || "").toLowerCase().replace(/s$/, "");
2754
2754
  }, u: function(E) {
2755
2755
  return E === void 0;
2756
- } }, N = "en", U = {};
2757
- U[N] = A;
2756
+ } }, _ = "en", U = {};
2757
+ U[_] = A;
2758
2758
  var M = "$isDayjsObject", B = function(E) {
2759
2759
  return E instanceof W || !(!E || !E[M]);
2760
2760
  }, L = function E(v, m, O) {
2761
2761
  var S;
2762
- if (!v) return N;
2762
+ if (!v) return _;
2763
2763
  if (typeof v == "string") {
2764
2764
  var $ = v.toLowerCase();
2765
2765
  U[$] && (S = $), m && (U[$] = m, S = $);
2766
2766
  var R = v.split("-");
2767
2767
  if (!S && R.length > 1) return E(R[0]);
2768
2768
  } else {
2769
- var _ = v.name;
2770
- U[_] = v, S = _;
2769
+ var N = v.name;
2770
+ U[N] = v, S = N;
2771
2771
  }
2772
- return !O && S && (N = S), S || !O && N;
2772
+ return !O && S && (_ = S), S || !O && _;
2773
2773
  }, F = function(E, v) {
2774
2774
  if (B(E)) return E.clone();
2775
2775
  var m = typeof v == "object" ? v : {};
@@ -2792,8 +2792,8 @@ var ps = Nt(fs, { path: "/" }), yn = { exports: {} };
2792
2792
  if (typeof S == "string" && !/Z$/i.test(S)) {
2793
2793
  var R = S.match(w);
2794
2794
  if (R) {
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);
2795
+ var N = R[2] - 1 || 0, I = (R[7] || "0").substring(0, 3);
2796
+ return $ ? new Date(Date.UTC(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, I)) : new Date(R[1], N, 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 ps = Nt(fs, { path: "/" }), yn = { 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), _ = function(le, V) {
2822
+ var S = this, $ = !!x.u(O) || O, R = x.p(m), N = function(le, V) {
2823
2823
  var oe = x.w(S.$u ? Date.UTC(S.$y, V, le) : new Date(S.$y, V, le), S);
2824
2824
  return $ ? oe : oe.endOf(c);
2825
2825
  }, I = function(le, V) {
@@ -2827,12 +2827,12 @@ var ps = Nt(fs, { path: "/" }), yn = { exports: {} };
2827
2827
  }, H = this.$W, q = this.$M, Q = this.$D, he = "set" + (this.$u ? "UTC" : "");
2828
2828
  switch (R) {
2829
2829
  case g:
2830
- return $ ? _(1, 0) : _(31, 11);
2830
+ return $ ? N(1, 0) : N(31, 11);
2831
2831
  case l:
2832
- return $ ? _(1, q) : _(0, q + 1);
2832
+ return $ ? N(1, q) : N(0, q + 1);
2833
2833
  case p:
2834
2834
  var ce = this.$locale().weekStart || 0, Pe = (H < ce ? H + 7 : H) - ce;
2835
- return _($ ? Q - Pe : Q + (6 - Pe), q);
2835
+ return N($ ? Q - Pe : Q + (6 - Pe), q);
2836
2836
  case c:
2837
2837
  case y:
2838
2838
  return I(he + "Hours", 0);
@@ -2848,11 +2848,11 @@ var ps = Nt(fs, { path: "/" }), yn = { 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" : ""), _ = (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;
2851
+ var S, $ = x.p(m), R = "set" + (this.$u ? "UTC" : ""), N = (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 H = this.clone().set(y, 1);
2854
- H.$d[_](I), H.init(), this.$d = H.set(y, Math.min(this.$D, H.daysInMonth())).$d;
2855
- } else _ && this.$d[_](I);
2854
+ H.$d[N](I), H.init(), this.$d = H.set(y, Math.min(this.$D, H.daysInMonth())).$d;
2855
+ } else N && this.$d[N](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 ps = Nt(fs, { path: "/" }), yn = { exports: {} };
2861
2861
  }, v.add = function(m, O) {
2862
2862
  var S, $ = this;
2863
2863
  m = Number(m);
2864
- var R = x.p(O), _ = function(q) {
2864
+ var R = x.p(O), N = 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 _(1);
2871
- if (R === p) return _(7);
2870
+ if (R === c) return N(1);
2871
+ if (R === p) return N(7);
2872
2872
  var I = (S = {}, S[s] = n, S[u] = o, S[a] = r, S)[R] || 1, H = this.$d.getTime() + m * I;
2873
2873
  return x.w(H, this);
2874
2874
  }, v.subtract = function(m, O) {
@@ -2876,10 +2876,10 @@ var ps = Nt(fs, { path: "/" }), yn = { 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), _ = this.$H, I = this.$m, H = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, He) {
2879
+ var $ = m || "YYYY-MM-DDTHH:mm:ssZ", R = x.z(this), N = this.$H, I = this.$m, H = this.$M, q = S.weekdays, Q = S.months, he = S.meridiem, ce = function(V, oe, xe, He) {
2880
2880
  return V && (V[oe] || V(O, $)) || xe[oe].slice(0, He);
2881
2881
  }, Pe = function(V) {
2882
- return x.s(_ % 12 || 12, V, "0");
2882
+ return x.s(N % 12 || 12, V, "0");
2883
2883
  }, le = he || function(V, oe, xe) {
2884
2884
  var He = V < 12 ? "AM" : "PM";
2885
2885
  return xe ? He.toLowerCase() : He;
@@ -2912,17 +2912,17 @@ var ps = Nt(fs, { path: "/" }), yn = { exports: {} };
2912
2912
  case "dddd":
2913
2913
  return q[O.$W];
2914
2914
  case "H":
2915
- return String(_);
2915
+ return String(N);
2916
2916
  case "HH":
2917
- return x.s(_, 2, "0");
2917
+ return x.s(N, 2, "0");
2918
2918
  case "h":
2919
2919
  return Pe(1);
2920
2920
  case "hh":
2921
2921
  return Pe(2);
2922
2922
  case "a":
2923
- return le(_, I, !0);
2923
+ return le(N, I, !0);
2924
2924
  case "A":
2925
- return le(_, I, !1);
2925
+ return le(N, I, !1);
2926
2926
  case "m":
2927
2927
  return String(I);
2928
2928
  case "mm":
@@ -2942,10 +2942,10 @@ var ps = Nt(fs, { path: "/" }), yn = { 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, _ = x.p(O), I = F(m), H = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2945
+ var $, R = this, N = x.p(O), I = F(m), H = (I.utcOffset() - this.utcOffset()) * n, q = this - I, Q = function() {
2946
2946
  return x.m(R, I);
2947
2947
  };
2948
- switch (_) {
2948
+ switch (N) {
2949
2949
  case g:
2950
2950
  $ = Q() / 12;
2951
2951
  break;
@@ -3002,7 +3002,7 @@ var ps = Nt(fs, { path: "/" }), yn = { exports: {} };
3002
3002
  return E.$i || (E(v, W, F), E.$i = !0), F;
3003
3003
  }, F.locale = L, F.isDayjs = B, F.unix = function(E) {
3004
3004
  return F(1e3 * E);
3005
- }, F.en = U[N], F.Ls = U, F.p = {}, F;
3005
+ }, F.en = U[_], F.Ls = U, F.p = {}, F;
3006
3006
  });
3007
3007
  })(yn);
3008
3008
  var ds = yn.exports;
@@ -3039,9 +3039,9 @@ var hn = { exports: {} };
3039
3039
  u.utcOffset = function(f, w) {
3040
3040
  var b = this.$utils().u;
3041
3041
  if (b(f)) return this.$u ? 0 : b(this.$offset) ? l.call(this) : this.$offset;
3042
- if (typeof f == "string" && (f = function(N) {
3043
- N === void 0 && (N = "");
3044
- var U = N.match(n);
3042
+ if (typeof f == "string" && (f = function(_) {
3043
+ _ === void 0 && (_ = "");
3044
+ var U = _.match(n);
3045
3045
  if (!U) return null;
3046
3046
  var M = ("" + U[0]).match(o) || ["-", 0, 0], B = M[0], L = 60 * +M[1] + +M[2];
3047
3047
  return L === 0 ? 0 : B === "+" ? L : -L;
@@ -3094,8 +3094,8 @@ var mn = { 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", C = b + "|" + P, N = n[C];
3098
- return N || (N = 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[C] = N), N;
3097
+ var P = A.timeZoneName || "short", C = b + "|" + P, _ = n[C];
3098
+ return _ || (_ = 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[C] = _), _;
3099
3099
  }(g, y);
3100
3100
  return w.formatToParts(f);
3101
3101
  }, c = function(h, g) {
@@ -3103,7 +3103,7 @@ var mn = { exports: {} };
3103
3103
  var b = y[w], A = b.type, P = b.value, C = r[A];
3104
3104
  C >= 0 && (f[C] = parseInt(P, 10));
3105
3105
  }
3106
- var N = f[3], U = N === 24 ? 0 : N, M = f[0] + "-" + f[1] + "-" + f[2] + " " + U + ":" + f[4] + ":" + f[5] + ":000", B = +h;
3106
+ var _ = f[3], U = _ === 24 ? 0 : _, 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;
3108
3108
  }, p = i.prototype;
3109
3109
  p.tz = function(h, g) {
@@ -3133,8 +3133,8 @@ var mn = { 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], C = A[1], N = a(P).utcOffset(C);
3137
- return N.$x.$timezone = w, N;
3136
+ }(a.utc(h, f).valueOf(), b, w), P = A[0], C = A[1], _ = a(P).utcOffset(C);
3137
+ return _.$x.$timezone = w, _;
3138
3138
  }, a.tz.guess = function() {
3139
3139
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
3140
3140
  }, a.tz.setDefault = function(h) {
@@ -3188,7 +3188,7 @@ const vn = Rr(), gn = vn.sso ?? !0, Sn = vn.noRedireLogin ?? !1, bn = () => {
3188
3188
  const p = new URL(location.href).searchParams;
3189
3189
  c = p.get("project") || p.get("projectId") || 0, c || (c = Pn().id ?? 0), (c || c === 0) && (s.project = c);
3190
3190
  }
3191
- if (o.microAppName === "iot/iot") {
3191
+ if (new URL(location.href).searchParams.get("app") === "iot") {
3192
3192
  const { instanceInfo: c } = xn();
3193
3193
  c != null && c.instanceId && (s.instance = c.instanceId);
3194
3194
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/utils",
3
- "version": "6.4.0-dev.8",
3
+ "version": "6.4.0-dev.9",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -9,7 +9,7 @@
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
11
  "@antv/x6": "^2.18.1",
12
- "@das-fed/utils": "6.4.0-dev.8",
12
+ "@das-fed/utils": "6.4.0-dev.9",
13
13
  "@vue/shared": "^3.4.21",
14
14
  "@vueuse/core": "^9.6.0",
15
15
  "axios": "^1.6.7",
@@ -21,7 +21,7 @@
21
21
  "vue": "^3.4.21"
22
22
  },
23
23
  "devDependencies": {
24
- "@das-fed/cli": "6.4.0-dev.8",
24
+ "@das-fed/cli": "6.4.0-dev.9",
25
25
  "@types/js-cookie": "^3.0.6",
26
26
  "@types/lodash-es": "^4.17.12",
27
27
  "@types/qs": "^6.9.15",