@das-fed/utils 6.4.0-dev.55.16 → 6.4.0-dev.55.18

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 (53) hide show
  1. package/api-services/index.js +94 -94
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +50 -50
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +50 -50
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +49 -49
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +50 -50
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +49 -49
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +50 -50
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +123 -123
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +50 -50
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +163 -163
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +55 -55
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +50 -50
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +50 -50
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +50 -50
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +50 -50
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +53 -53
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +50 -50
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +50 -50
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +52 -52
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +51 -51
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +50 -50
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +50 -50
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +50 -50
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +49 -49
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/create-api-service/index.js +49 -49
  50. package/create-api-service/index.js.gz +0 -0
  51. package/create-api-service/sso/index.js +35 -35
  52. package/create-api-service/sso/index.js.gz +0 -0
  53. package/package.json +4 -4
@@ -37,7 +37,7 @@ function Kr(t, e) {
37
37
  return t.apply(e, arguments);
38
38
  };
39
39
  }
40
- const { toString: to } = Object.prototype, { getPrototypeOf: qt } = Object, tt = /* @__PURE__ */ ((t) => (e) => {
40
+ const { toString: to } = Object.prototype, { getPrototypeOf: zt } = Object, tt = /* @__PURE__ */ ((t) => (e) => {
41
41
  const n = to.call(e);
42
42
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
43
43
  })(/* @__PURE__ */ Object.create(null)), Q = (t) => (t = t.toLowerCase(), (e) => tt(e) === t), rt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, _e = rt("undefined");
@@ -52,7 +52,7 @@ function no(t) {
52
52
  const oo = rt("string"), K = rt("function"), Jr = rt("number"), nt = (t) => t !== null && typeof t == "object", ao = (t) => t === !0 || t === !1, qe = (t) => {
53
53
  if (tt(t) !== "object")
54
54
  return !1;
55
- const e = qt(t);
55
+ const e = zt(t);
56
56
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
57
57
  }, io = Q("Date"), so = Q("File"), lo = Q("Blob"), co = Q("FileList"), uo = (t) => nt(t) && K(t.pipe), fo = (t) => {
58
58
  let e;
@@ -105,7 +105,7 @@ const wo = (t, e, n, { allOwnKeys: r } = {}) => (Fe(e, (o, a) => {
105
105
  do {
106
106
  for (o = Object.getOwnPropertyNames(t), a = o.length; a-- > 0; )
107
107
  i = o[a], (!r || r(i, t, e)) && !s[i] && (e[i] = t[i], s[i] = !0);
108
- t = n !== !1 && qt(t);
108
+ t = n !== !1 && zt(t);
109
109
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
110
110
  return e;
111
111
  }, Ao = (t, e, n) => {
@@ -121,7 +121,7 @@ const wo = (t, e, n, { allOwnKeys: r } = {}) => (Fe(e, (o, a) => {
121
121
  for (; e-- > 0; )
122
122
  n[e] = t[e];
123
123
  return n;
124
- }, Ro = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && qt(Uint8Array)), Po = (t, e) => {
124
+ }, Ro = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && zt(Uint8Array)), Po = (t, e) => {
125
125
  const r = (t && t[Symbol.iterator]).call(t);
126
126
  let o;
127
127
  for (; (o = r.next()) && !o.done; ) {
@@ -409,10 +409,10 @@ function cr(t) {
409
409
  return e[r];
410
410
  });
411
411
  }
412
- function Ht(t, e) {
412
+ function qt(t, e) {
413
413
  this._pairs = [], t && ot(t, this, e);
414
414
  }
415
- const nn = Ht.prototype;
415
+ const nn = qt.prototype;
416
416
  nn.append = function(e, n) {
417
417
  this._pairs.push([e, n]);
418
418
  };
@@ -432,7 +432,7 @@ function on(t, e, n) {
432
432
  return t;
433
433
  const r = n && n.encode || Ho, o = n && n.serialize;
434
434
  let a;
435
- if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Ht(e, n).toString(r), a) {
435
+ if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new qt(e, n).toString(r), a) {
436
436
  const i = t.indexOf("#");
437
437
  i !== -1 && (t = t.slice(0, i)), t += (t.indexOf("?") === -1 ? "?" : "&") + a;
438
438
  }
@@ -496,7 +496,7 @@ const an = {
496
496
  silentJSONParsing: !0,
497
497
  forcedJSONParsing: !0,
498
498
  clarifyTimeoutError: !1
499
- }, Wo = typeof URLSearchParams < "u" ? URLSearchParams : Ht, Ko = typeof FormData < "u" ? FormData : null, Go = typeof Blob < "u" ? Blob : null, Jo = {
499
+ }, Wo = typeof URLSearchParams < "u" ? URLSearchParams : qt, Ko = typeof FormData < "u" ? FormData : null, Go = typeof Blob < "u" ? Blob : null, Jo = {
500
500
  isBrowser: !0,
501
501
  classes: {
502
502
  URLSearchParams: Wo,
@@ -504,10 +504,10 @@ const an = {
504
504
  Blob: Go
505
505
  },
506
506
  protocols: ["http", "https", "file", "blob", "url", "data"]
507
- }, Wt = typeof window < "u" && typeof document < "u", $t = typeof navigator == "object" && navigator || void 0, Vo = Wt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0), Qo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
508
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Xo = Wt && window.location.href || "http://localhost", Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
507
+ }, Ht = typeof window < "u" && typeof document < "u", $t = typeof navigator == "object" && navigator || void 0, Vo = Ht && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0), Qo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
508
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Xo = Ht && window.location.href || "http://localhost", Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
509
509
  __proto__: null,
510
- hasBrowserEnv: Wt,
510
+ hasBrowserEnv: Ht,
511
511
  hasStandardBrowserEnv: Vo,
512
512
  hasStandardBrowserWebWorkerEnv: Qo,
513
513
  navigator: $t,
@@ -1391,14 +1391,14 @@ function vr(t) {
1391
1391
  ), r.response.headers = W.from(r.response.headers))), Promise.reject(r);
1392
1392
  });
1393
1393
  }
1394
- const mn = "1.7.7", Kt = {};
1394
+ const mn = "1.7.7", Wt = {};
1395
1395
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1396
- Kt[t] = function(r) {
1396
+ Wt[t] = function(r) {
1397
1397
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1398
1398
  };
1399
1399
  });
1400
1400
  const wr = {};
1401
- Kt.transitional = function(e, n, r) {
1401
+ Wt.transitional = function(e, n, r) {
1402
1402
  function o(a, i) {
1403
1403
  return "[Axios v" + mn + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
1404
1404
  }
@@ -1430,7 +1430,7 @@ function Ta(t, e, n) {
1430
1430
  }
1431
1431
  const _t = {
1432
1432
  assertOptions: Ta,
1433
- validators: Kt
1433
+ validators: Wt
1434
1434
  }, ne = _t.validators;
1435
1435
  class ue {
1436
1436
  constructor(e) {
@@ -1553,7 +1553,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1553
1553
  }
1554
1554
  ue.prototype[e] = n(), ue.prototype[e + "Form"] = n(!0);
1555
1555
  });
1556
- class Gt {
1556
+ class Kt {
1557
1557
  constructor(e) {
1558
1558
  if (typeof e != "function")
1559
1559
  throw new TypeError("executor must be a function.");
@@ -1619,7 +1619,7 @@ class Gt {
1619
1619
  static source() {
1620
1620
  let e;
1621
1621
  return {
1622
- token: new Gt(function(o) {
1622
+ token: new Kt(function(o) {
1623
1623
  e = o;
1624
1624
  }),
1625
1625
  cancel: e
@@ -1711,7 +1711,7 @@ function hn(t) {
1711
1711
  const D = hn(De);
1712
1712
  D.Axios = ue;
1713
1713
  D.CanceledError = Oe;
1714
- D.CancelToken = Gt;
1714
+ D.CancelToken = Kt;
1715
1715
  D.isCancel = ln;
1716
1716
  D.VERSION = mn;
1717
1717
  D.toFormData = ot;
@@ -1819,7 +1819,7 @@ var Fa = Error, Da = EvalError, Ia = RangeError, ka = ReferenceError, gn = Synta
1819
1819
  l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
1820
1820
  }
1821
1821
  return o;
1822
- }, Qa = Va, Jt = Function.prototype.bind || Qa, Xa = Function.prototype.call, Ya = Object.prototype.hasOwnProperty, Za = Jt, ei = Za.call(Xa, Ya), A, ti = Fa, ri = Da, ni = Ia, oi = ka, be = gn, we = Ie, ai = Ba, vn = Function, mt = function(t) {
1822
+ }, Qa = Va, Gt = Function.prototype.bind || Qa, Xa = Function.prototype.call, Ya = Object.prototype.hasOwnProperty, Za = Gt, ei = Za.call(Xa, Ya), A, ti = Fa, ri = Da, ni = Ia, oi = ka, be = gn, we = Ie, ai = Ba, vn = Function, mt = function(t) {
1823
1823
  try {
1824
1824
  return vn('"use strict"; return (' + t + ").constructor;")();
1825
1825
  } catch {
@@ -1991,7 +1991,7 @@ var ui = function t(e) {
1991
1991
  "%URIErrorPrototype%": ["URIError", "prototype"],
1992
1992
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1993
1993
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1994
- }, ke = Jt, Qe = ei, fi = ke.call(Function.call, Array.prototype.concat), pi = ke.call(Function.apply, Array.prototype.splice), Or = ke.call(Function.call, String.prototype.replace), Xe = ke.call(Function.call, String.prototype.slice), di = ke.call(Function.call, RegExp.prototype.exec), yi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, mi = /\\(\\)?/g, hi = function(e) {
1994
+ }, ke = Gt, Qe = ei, fi = ke.call(Function.call, Array.prototype.concat), pi = ke.call(Function.apply, Array.prototype.splice), Or = ke.call(Function.call, String.prototype.replace), Xe = ke.call(Function.call, String.prototype.slice), di = ke.call(Function.call, RegExp.prototype.exec), yi = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, mi = /\\(\\)?/g, hi = function(e) {
1995
1995
  var n = Xe(e, 0, 1), r = Xe(e, -1);
1996
1996
  if (n === "%" && r !== "%")
1997
1997
  throw new be("invalid intrinsic syntax, expected closing `%`");
@@ -2045,7 +2045,7 @@ var ui = function t(e) {
2045
2045
  }
2046
2046
  return s;
2047
2047
  }, wn = { exports: {} }, gt, Rr;
2048
- function Vt() {
2048
+ function Jt() {
2049
2049
  if (Rr) return gt;
2050
2050
  Rr = 1;
2051
2051
  var t = Re, e = t("%Object.defineProperty%", !0) || !1;
@@ -2064,7 +2064,7 @@ if (We)
2064
2064
  } catch {
2065
2065
  We = null;
2066
2066
  }
2067
- var bn = We, Pr = Vt(), wi = gn, ge = Ie, xr = bn, bi = function(e, n, r) {
2067
+ var bn = We, Pr = Jt(), wi = gn, ge = Ie, xr = bn, bi = function(e, n, r) {
2068
2068
  if (!e || typeof e != "object" && typeof e != "function")
2069
2069
  throw new ge("`obj` must be an object or a function`");
2070
2070
  if (typeof n != "string" && typeof n != "symbol")
@@ -2089,7 +2089,7 @@ var bn = We, Pr = Vt(), wi = gn, ge = Ie, xr = bn, bi = function(e, n, r) {
2089
2089
  e[n] = r;
2090
2090
  else
2091
2091
  throw new wi("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2092
- }, Dt = Vt(), Sn = function() {
2092
+ }, Dt = Jt(), Sn = function() {
2093
2093
  return !!Dt;
2094
2094
  };
2095
2095
  Sn.hasArrayLengthDefineBug = function() {
@@ -2126,7 +2126,7 @@ var Si = Sn, Ei = Re, Tr = bi, Ai = Si(), $r = bn, Cr = Ie, Oi = Ei("%Math.floor
2126
2126
  )), e;
2127
2127
  };
2128
2128
  (function(t) {
2129
- var e = Jt, n = Re, r = Ri, o = Ie, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = Vt(), l = n("%Math.max%");
2129
+ var e = Gt, n = Re, r = Ri, o = Ie, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = Jt(), l = n("%Math.max%");
2130
2130
  t.exports = function(d) {
2131
2131
  if (typeof d != "function")
2132
2132
  throw new o("a function is required");
@@ -2150,7 +2150,7 @@ const $i = {}, Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2150
2150
  __proto__: null,
2151
2151
  default: $i
2152
2152
  }, Symbol.toStringTag, { value: "Module" })), Ni = /* @__PURE__ */ _a(Ci);
2153
- var Qt = typeof Map == "function" && Map.prototype, vt = Object.getOwnPropertyDescriptor && Qt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ye = Qt && vt && typeof vt.get == "function" ? vt.get : null, Nr = Qt && Map.prototype.forEach, Xt = typeof Set == "function" && Set.prototype, wt = Object.getOwnPropertyDescriptor && Xt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ze = Xt && wt && typeof wt.get == "function" ? wt.get : null, _r = Xt && Set.prototype.forEach, _i = typeof WeakMap == "function" && WeakMap.prototype, $e = _i ? WeakMap.prototype.has : null, Fi = typeof WeakSet == "function" && WeakSet.prototype, Ce = Fi ? WeakSet.prototype.has : null, Di = typeof WeakRef == "function" && WeakRef.prototype, Fr = Di ? WeakRef.prototype.deref : null, Ii = Boolean.prototype.valueOf, ki = Object.prototype.toString, Bi = Function.prototype.toString, Li = String.prototype.match, Yt = String.prototype.slice, ae = String.prototype.replace, Ui = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, On = RegExp.prototype.test, Ir = Array.prototype.concat, ee = Array.prototype.join, Mi = Array.prototype.slice, kr = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, bt = Object.getOwnPropertySymbols, kt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Se = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Se || !0) ? Symbol.toStringTag : null, Rn = Object.prototype.propertyIsEnumerable, Br = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2153
+ var Vt = typeof Map == "function" && Map.prototype, vt = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ye = Vt && vt && typeof vt.get == "function" ? vt.get : null, Nr = Vt && Map.prototype.forEach, Qt = typeof Set == "function" && Set.prototype, wt = Object.getOwnPropertyDescriptor && Qt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ze = Qt && wt && typeof wt.get == "function" ? wt.get : null, _r = Qt && Set.prototype.forEach, _i = typeof WeakMap == "function" && WeakMap.prototype, $e = _i ? WeakMap.prototype.has : null, Fi = typeof WeakSet == "function" && WeakSet.prototype, Ce = Fi ? WeakSet.prototype.has : null, Di = typeof WeakRef == "function" && WeakRef.prototype, Fr = Di ? WeakRef.prototype.deref : null, Ii = Boolean.prototype.valueOf, ki = Object.prototype.toString, Bi = Function.prototype.toString, Li = String.prototype.match, Xt = String.prototype.slice, ae = String.prototype.replace, Ui = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, On = RegExp.prototype.test, Ir = Array.prototype.concat, ee = Array.prototype.join, Mi = Array.prototype.slice, kr = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, bt = Object.getOwnPropertySymbols, kt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Se = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Se || !0) ? Symbol.toStringTag : null, Rn = Object.prototype.propertyIsEnumerable, Br = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2154
2154
  return t.__proto__;
2155
2155
  } : null);
2156
2156
  function Lr(t, e) {
@@ -2160,7 +2160,7 @@ function Lr(t, e) {
2160
2160
  if (typeof t == "number") {
2161
2161
  var r = t < 0 ? -kr(-t) : kr(t);
2162
2162
  if (r !== t) {
2163
- var o = String(r), a = Yt.call(e, o.length + 1);
2163
+ var o = String(r), a = Xt.call(e, o.length + 1);
2164
2164
  return ae.call(o, n, "$&_") + "." + ae.call(ae.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2165
2165
  }
2166
2166
  }
@@ -2275,7 +2275,7 @@ var Bt = Ni, Ur = Bt.custom, Mr = xn(Ur) ? Ur : null, ji = function t(e, n, r, o
2275
2275
  if (typeof globalThis < "u" && e === globalThis || typeof br < "u" && e === br)
2276
2276
  return "{ [object globalThis] }";
2277
2277
  if (!qi(e) && !jr(e)) {
2278
- var L = Le(e, d), G = Br ? Br(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", E = !G && U && Object(e) === e && U in e ? Yt.call(ie(e), 8, -1) : V ? "Object" : "", O = G || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", $ = O + (E || V ? "[" + ee.call(Ir.call([], E || [], V || []), ": ") + "] " : "");
2278
+ var L = Le(e, d), G = Br ? Br(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", E = !G && U && Object(e) === e && U in e ? Xt.call(ie(e), 8, -1) : V ? "Object" : "", O = G || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", $ = O + (E || V ? "[" + ee.call(Ir.call([], E || [], V || []), ": ") + "] " : "");
2279
2279
  return L.length === 0 ? $ + "{}" : p ? $ + "{" + Ut(L, p) + "}" : $ + "{ " + ee.call(L, ", ") + " }";
2280
2280
  }
2281
2281
  return String(e);
@@ -2428,7 +2428,7 @@ function rs(t) {
2428
2428
  function $n(t, e) {
2429
2429
  if (t.length > e.maxStringLength) {
2430
2430
  var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2431
- return $n(Yt.call(t, 0, e.maxStringLength), e) + r;
2431
+ return $n(Xt.call(t, 0, e.maxStringLength), e) + r;
2432
2432
  }
2433
2433
  var o = ae.call(ae.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, ns);
2434
2434
  return Pn(o, "single", e);
@@ -2501,16 +2501,16 @@ function Le(t, e) {
2501
2501
  Rn.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
2502
2502
  return r;
2503
2503
  }
2504
- var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%", !0), ls = Pe("WeakMap.prototype.get", !0), cs = Pe("WeakMap.prototype.set", !0), us = Pe("WeakMap.prototype.has", !0), fs = Pe("Map.prototype.get", !0), ps = Pe("Map.prototype.set", !0), ds = Pe("Map.prototype.has", !0), Zt = function(t, e) {
2504
+ var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%", !0), ls = Pe("WeakMap.prototype.get", !0), cs = Pe("WeakMap.prototype.set", !0), us = Pe("WeakMap.prototype.has", !0), fs = Pe("Map.prototype.get", !0), ps = Pe("Map.prototype.set", !0), ds = Pe("Map.prototype.has", !0), Yt = function(t, e) {
2505
2505
  for (var n = t, r; (r = n.next) !== null; n = r)
2506
2506
  if (r.key === e)
2507
2507
  return n.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
2508
2508
  t.next, t.next = r, r;
2509
2509
  }, ys = function(t, e) {
2510
- var n = Zt(t, e);
2510
+ var n = Yt(t, e);
2511
2511
  return n && n.value;
2512
2512
  }, ms = function(t, e, n) {
2513
- var r = Zt(t, e);
2513
+ var r = Yt(t, e);
2514
2514
  r ? r.value = n : t.next = /** @type {import('.').ListNode<typeof value>} */
2515
2515
  {
2516
2516
  // eslint-disable-line no-param-reassign, no-extra-parens
@@ -2519,7 +2519,7 @@ var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%
2519
2519
  value: n
2520
2520
  };
2521
2521
  }, hs = function(t, e) {
2522
- return !!Zt(t, e);
2522
+ return !!Yt(t, e);
2523
2523
  }, gs = function() {
2524
2524
  var e, n, r, o = {
2525
2525
  assert: function(a) {
@@ -2555,7 +2555,7 @@ var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%
2555
2555
  }, vs = String.prototype.replace, ws = /%20/g, Et = {
2556
2556
  RFC1738: "RFC1738",
2557
2557
  RFC3986: "RFC3986"
2558
- }, er = {
2558
+ }, Zt = {
2559
2559
  default: Et.RFC3986,
2560
2560
  formatters: {
2561
2561
  RFC1738: function(t) {
@@ -2567,7 +2567,7 @@ var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%
2567
2567
  },
2568
2568
  RFC1738: Et.RFC1738,
2569
2569
  RFC3986: Et.RFC3986
2570
- }, bs = er, At = Object.prototype.hasOwnProperty, le = Array.isArray, Y = function() {
2570
+ }, bs = Zt, At = Object.prototype.hasOwnProperty, le = Array.isArray, Y = function() {
2571
2571
  for (var t = [], e = 0; e < 256; ++e)
2572
2572
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2573
2573
  return t;
@@ -2685,7 +2685,7 @@ var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%
2685
2685
  isRegExp: xs,
2686
2686
  maybeMap: Cs,
2687
2687
  merge: Es
2688
- }, Fn = gs, Ke = _n, Ne = er, Ns = Object.prototype.hasOwnProperty, Dn = {
2688
+ }, Fn = gs, Ke = _n, Ne = Zt, Ns = Object.prototype.hasOwnProperty, Dn = {
2689
2689
  brackets: function(e) {
2690
2690
  return e + "[]";
2691
2691
  },
@@ -2994,7 +2994,7 @@ var Cn = Re, Pe = Ti, is = ji, ss = Ie, Ue = Cn("%WeakMap%", !0), Me = Cn("%Map%
2994
2994
  o = Ee.merge(o, u, n);
2995
2995
  }
2996
2996
  return n.allowSparse === !0 ? o : Ee.compact(o);
2997
- }, Gs = Bs, Js = Ks, Vs = er, Qs = {
2997
+ }, Gs = Bs, Js = Ks, Vs = Zt, Qs = {
2998
2998
  formats: Vs,
2999
2999
  parse: Js,
3000
3000
  stringify: Gs
@@ -3086,20 +3086,20 @@ const el = {
3086
3086
  Wr(el);
3087
3087
  et.extend(Vn);
3088
3088
  et.extend(Qn);
3089
- const Bn = Ge(), zt = Bn.sso ?? !0, Ln = Bn.noRedireLogin ?? !1, Un = () => {
3089
+ const er = Ge(), Bn = er.sso ?? !0, tl = er.i18n ?? !0, Ln = er.noRedireLogin ?? !1, Un = () => {
3090
3090
  if (Ln) return;
3091
3091
  const t = "/login";
3092
3092
  location.pathname !== t && (sessionStorage.clear(), window.__isAutoCloseApp = !1, location.replace(t));
3093
- }, tl = async (t) => {
3093
+ }, rl = async (t) => {
3094
3094
  var n;
3095
3095
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3096
- }, rl = async (t, e) => {
3096
+ }, nl = async (t, e) => {
3097
3097
  var u, l, c, p, d;
3098
3098
  let n = ((u = t.response) == null ? void 0 : u.status) || 500, r = (l = t.response) == null ? void 0 : l.message, o = {};
3099
3099
  const a = { 400: C("参数校验错误"), 404: C("接口地址未找到"), 500: C("服务器内部错误") };
3100
3100
  let i = ((c = t == null ? void 0 : t.response) == null ? void 0 : c.data) || {};
3101
3101
  if (!(Wn("code") || "") && !Ln && (n === 401 || (i == null ? void 0 : i.code) === 401))
3102
- zt ? Kn({ ...Gn, redirect_uri: Jn }) : Un(), o = i;
3102
+ Bn ? Kn({ ...Gn, redirect_uri: Jn }) : Un(), o = i;
3103
3103
  else {
3104
3104
  if (t.response) {
3105
3105
  if (i instanceof Blob && (i = await new Promise((g) => {
@@ -3112,7 +3112,7 @@ const Bn = Ge(), zt = Bn.sso ?? !0, Ln = Bn.noRedireLogin ?? !1, Un = () => {
3112
3112
  }
3113
3113
  };
3114
3114
  })), i.code) {
3115
- if (n = i.code, zt) {
3115
+ if (n = i.code, tl) {
3116
3116
  const g = (i == null ? void 0 : i.status) ?? "";
3117
3117
  r = !(i != null && i.data) || !i.data.length ? C(g) : C(g, ...i.data);
3118
3118
  } else
@@ -3134,9 +3134,9 @@ const Bn = Ge(), zt = Bn.sso ?? !0, Ln = Bn.noRedireLogin ?? !1, Un = () => {
3134
3134
  const c = new URL(location.href).searchParams;
3135
3135
  l = c.get("token") || c.get("accessToken") || c.get("accesstoken") || "";
3136
3136
  }
3137
- zt ? l || (l = await Hn(r)) : (l || (l = Zn()), l || Un()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3137
+ Bn ? l || (l = await Hn(r)) : (l || (l = Zn()), l || Un()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3138
3138
  }
3139
- r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Xs.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = tl), r.onError || (r.onError = rl), (r.csrf ?? !1) && (r.headers["csrf-token"] = Zs.get("csrf-token"));
3139
+ r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Xs.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = rl), r.onError || (r.onError = nl), (r.csrf ?? !1) && (r.headers["csrf-token"] = Zs.get("csrf-token"));
3140
3140
  const s = r.params || {};
3141
3141
  if (s.project === void 0) {
3142
3142
  let l = 0;
@@ -3149,11 +3149,11 @@ const Bn = Ge(), zt = Bn.sso ?? !0, Ln = Bn.noRedireLogin ?? !1, Un = () => {
3149
3149
  }
3150
3150
  return r.params = s, r.headers.Timezone = et.tz.guess(), (e == null ? void 0 : e(r)) || r;
3151
3151
  });
3152
- }, nl = "v1", kl = b(`/api/app-manager/application/${nl}`), ol = "v1", Bl = b(`/api/license/admin/${ol}`), al = "v1", Pt = `/api/bems/data-manage/${al}`, Ll = {
3152
+ }, ol = "v1", Bl = b(`/api/app-manager/application/${ol}`), al = "v1", Ll = b(`/api/license/admin/${al}`), il = "v1", Pt = `/api/bems/data-manage/${il}`, Ul = {
3153
3153
  energyType: b(`${Pt}/energy-type`),
3154
3154
  energyObject: b(`${Pt}/energy-object`),
3155
3155
  energyDimension: b(`${Pt}/energy-dimension`)
3156
- }, il = "v1", Ul = b(`/api/supply/contract/${il}`), ze = "v1", Ml = {
3156
+ }, sl = "v1", Ml = b(`/api/supply/contract/${sl}`), ze = "v1", jl = {
3157
3157
  classes: b(`/api/duty-manage/classes/${ze}`),
3158
3158
  // 班次管理
3159
3159
  group: b(`/api/duty-manage/group/${ze}`),
@@ -3162,17 +3162,17 @@ const Bn = Ge(), zt = Bn.sso ?? !0, Ln = Bn.noRedireLogin ?? !1, Un = () => {
3162
3162
  // 排班管理
3163
3163
  shift: b(`/api/duty-manage/shift/${ze}`)
3164
3164
  // 交接班管理
3165
- }, sl = "v1", jl = b(`/api/enterpriseright/permission/${sl}`), te = "v1", zl = b(`/api/iot/${te}`), ql = {
3165
+ }, ll = "v1", zl = b(`/api/enterpriseright/permission/${ll}`), te = "v1", ql = b(`/api/iot/${te}`), Hl = {
3166
3166
  thingmodel: b(`/api/iot-device/thingmodel/${te}`),
3167
3167
  deviceManage: b(`/api/iot-device/devicemanage/${te}`),
3168
3168
  product: b(`/api/iot-device/product/${te}`),
3169
3169
  productStorage: b(`/api/iot-device/product-storage/${te}`)
3170
- }, Hl = {
3170
+ }, Wl = {
3171
3171
  projectDevice: b(`/api/device-relation/deviceproject/${te}`),
3172
3172
  deviceRules: b(`/api/device-relation/devicerule/${te}`),
3173
3173
  project: b(`/api/device-relation/project/${te}`)
3174
- }, tr = b(`/api/oss/minio/${te}`), ll = b(`/api/progress/accessor/${te}`);
3175
- let cl = (t = 21) => {
3174
+ }, tr = b(`/api/oss/minio/${te}`), cl = b(`/api/progress/accessor/${te}`);
3175
+ let ul = (t = 21) => {
3176
3176
  let e = "", n = crypto.getRandomValues(new Uint8Array(t));
3177
3177
  for (; t--; ) {
3178
3178
  let r = n[t] & 63;
@@ -3180,12 +3180,12 @@ let cl = (t = 21) => {
3180
3180
  }
3181
3181
  return e;
3182
3182
  };
3183
- const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), pl = tr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), dl = ll.get("progress"), Wl = () => {
3183
+ const fl = tr.get("token"), pl = tr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), dl = tr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), yl = cl.get("progress"), Kl = () => {
3184
3184
  let t = J(!1), e = J(""), n = J(0), r = J("normal"), o = J(!1), a, i = J(""), s = J(""), u = J(""), l = J(""), c = J(!1), p = J(""), d = "", g = J(""), y;
3185
3185
  const h = () => {
3186
3186
  s.value = "", u.value = "", l.value = "", c.value = !1, p.value = "";
3187
3187
  }, m = async () => {
3188
- const [E, O] = await ul().run();
3188
+ const [E, O] = await fl().run();
3189
3189
  return E ? { stauts: !1 } : { status: !0, data: O };
3190
3190
  }, R = (E) => new Promise((O, $) => {
3191
3191
  const _ = [];
@@ -3202,7 +3202,7 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3202
3202
  const M = await m();
3203
3203
  if (!M.status) return;
3204
3204
  let j = M.data, z = null, { autoContentType: se, bucketName: q, importFileName: me } = $;
3205
- const st = w ? pl : fl;
3205
+ const st = w ? dl : pl;
3206
3206
  if (w) {
3207
3207
  let re = [];
3208
3208
  await O.forEach(async (Be) => {
@@ -3227,7 +3227,7 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3227
3227
  }
3228
3228
  const [jn, zn] = await st(z).run();
3229
3229
  if (jn) return t.value = !1;
3230
- const X = await ml(zn.data);
3230
+ const X = await hl(zn.data);
3231
3231
  if (!w && (X == null ? void 0 : X.statusCode) != 200 || w && (X != null && X.some((re) => (re == null ? void 0 : re.statusCode) != 200))) {
3232
3232
  t.value = !1, (nr = window.DasMessage) == null || nr.error({
3233
3233
  message: (X == null ? void 0 : X.errorMsg) || C("上传失败"),
@@ -3274,7 +3274,7 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3274
3274
  clearTimeout(a), a = null, t.value = !1;
3275
3275
  }, L = async (E, O = "export", $, x = "") => {
3276
3276
  var j, z, se;
3277
- const [_, w] = await dl("", {
3277
+ const [_, w] = await yl("", {
3278
3278
  url: `progress/${E}`
3279
3279
  }).run();
3280
3280
  if (_) {
@@ -3342,14 +3342,14 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3342
3342
  fileAction: v,
3343
3343
  generateUniqueName: (E) => {
3344
3344
  const O = E == null ? void 0 : E.match(/(.*?)(\.[^.]*$|$)/), $ = O.length ? O[2] : "";
3345
- return `${O.length ? O[1] : E}${cl()}${$}`;
3345
+ return `${O.length ? O[1] : E}${ul()}${$}`;
3346
3346
  },
3347
3347
  downloadFile: Hr,
3348
3348
  resetStataus: h,
3349
3349
  checkProgress: T,
3350
3350
  fileHandleType: g
3351
3351
  };
3352
- }, yl = (t) => {
3352
+ }, ml = (t) => {
3353
3353
  let e = t == null ? void 0 : t.toLocaleLowerCase();
3354
3354
  return {
3355
3355
  excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -3382,7 +3382,7 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3382
3382
  const r = new XMLHttpRequest();
3383
3383
  r.open("get", t), r.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), r.responseType = "blob", r.onload = function(o) {
3384
3384
  const a = new Blob([this.response], {
3385
- type: yl(n)
3385
+ type: ml(n)
3386
3386
  }), i = URL.createObjectURL(a);
3387
3387
  if (window.navigator.msSaveOrOpenBlob)
3388
3388
  navigator.msSaveBlob(a, e);
@@ -3391,54 +3391,54 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3391
3391
  s.href = i, s.download = e, s.click(), window.URL.revokeObjectURL(i);
3392
3392
  }
3393
3393
  }, r.send();
3394
- }, ml = (t) => new Promise((e, n) => {
3394
+ }, hl = (t) => new Promise((e, n) => {
3395
3395
  var r = new FileReader();
3396
3396
  r.onload = function(o) {
3397
3397
  let a = "";
3398
3398
  typeof r.result == "string" && (a = JSON.parse(r.result)), e(a);
3399
3399
  }, r.readAsText(t);
3400
- }), hl = "v2", Kl = b(`/api/edge/${hl}`), Mn = "v1", Gl = b(`/api/justauth/oauth-server/${Mn}/visitor`), Jl = b(`/api/justauth/oauth-server/${Mn}`), gl = "v1", Vl = b(`/api/knowledge-base/knowledge/${gl}`), vl = "v1", Ql = b(`/api/custom-datasource/custom/${vl}`), wl = "v1", Xl = b(`/api/permission/${wl}`), de = "v1", Yl = b(`/api/customer/customer/${de}`), Zl = b(`/api/customer/company/${de}`), ec = b(`/api/customer/customer-grade/${de}`), tc = b(`/api/customer/customer-type/${de}`), rc = {
3400
+ }), gl = "v2", Gl = b(`/api/edge/${gl}`), Mn = "v1", Jl = b(`/api/justauth/oauth-server/${Mn}/visitor`), Vl = b(`/api/justauth/oauth-server/${Mn}`), vl = "v1", Ql = b(`/api/knowledge-base/knowledge/${vl}`), wl = "v1", Xl = b(`/api/custom-datasource/custom/${wl}`), bl = "v1", Yl = b(`/api/permission/${bl}`), de = "v1", Zl = b(`/api/customer/customer/${de}`), ec = b(`/api/customer/company/${de}`), tc = b(`/api/customer/customer-grade/${de}`), rc = b(`/api/customer/customer-type/${de}`), nc = {
3401
3401
  list: b(`/api/project/${de}/list`),
3402
3402
  app: b(`/api/project/${de}/app`),
3403
3403
  people: b(`/api/project/${de}/people`)
3404
- }, bl = "v1", nc = b(`/api/portal/user/${bl}`), Sl = "v1", oc = b(`/api/space-manage/space-tree/${Sl}`), it = "v1", ac = b(`/api/superadmin/portal/${it}`), ic = b(`/api/superadmin/permission/${it}`), sc = b(`/api/superadmin/resource/${it}`), lc = b(`/api/superadmin/license/${it}`), rr = "v1", cc = b(`/api/supply/supplier/${rr}`), uc = b(`/api/supplier/${rr}`), fc = b(`/api/supplier/${rr}/classification`), El = "v1", pc = b(`/api/supply/brand/${El}`), Al = "v2", dc = b(`/api/tool/${Al}`), Ol = "v1", yc = b(`/api/system-config/${Ol}`);
3404
+ }, Sl = "v1", oc = b(`/api/portal/user/${Sl}`), El = "v1", ac = b(`/api/space-manage/space-tree/${El}`), it = "v1", ic = b(`/api/superadmin/portal/${it}`), sc = b(`/api/superadmin/permission/${it}`), lc = b(`/api/superadmin/resource/${it}`), cc = b(`/api/superadmin/license/${it}`), rr = "v1", uc = b(`/api/supply/supplier/${rr}`), fc = b(`/api/supplier/${rr}`), pc = b(`/api/supplier/${rr}/classification`), Al = "v1", dc = b(`/api/supply/brand/${Al}`), Ol = "v2", yc = b(`/api/tool/${Ol}`), Rl = "v1", mc = b(`/api/system-config/${Rl}`);
3405
3405
  Wr(eo);
3406
3406
  export {
3407
- kl as appManage,
3408
- Bl as authentication,
3409
- Ll as bemsModules,
3410
- Zl as company,
3411
- Ul as contract,
3407
+ Bl as appManage,
3408
+ Ll as authentication,
3409
+ Ul as bemsModules,
3410
+ ec as company,
3411
+ Ml as contract,
3412
3412
  b as createService,
3413
- Yl as customer,
3414
- ec as customerGrade,
3415
- tc as customerType,
3416
- Ql as daslink,
3413
+ Zl as customer,
3414
+ tc as customerGrade,
3415
+ rc as customerType,
3416
+ Xl as daslink,
3417
3417
  Hr as downloadFile,
3418
- Ml as dutyModules,
3419
- pc as enterpriseadminBrandModel,
3420
- jl as enterpriseright,
3421
- Kl as gatewayEdge,
3422
- zl as iot,
3418
+ jl as dutyModules,
3419
+ dc as enterpriseadminBrandModel,
3420
+ zl as enterpriseright,
3421
+ Gl as gatewayEdge,
3422
+ ql as iot,
3423
3423
  tr as iotMinio,
3424
- ql as iotModules,
3425
- ll as iotProgress,
3426
- Hl as iotRelationModules,
3427
- Gl as justauth,
3428
- Vl as knowledgeBase,
3429
- Jl as oauthServer,
3430
- Xl as permission,
3431
- nc as portal,
3432
- rc as projectManage,
3433
- oc as spaceManage,
3434
- lc as superadminLicense,
3435
- ic as superadminPermission,
3436
- ac as superadminPortal,
3437
- sc as superadminResource,
3438
- cc as supplier,
3439
- fc as supplierClassification,
3440
- uc as supplierManage,
3441
- yc as systemConfiguration,
3442
- dc as tool,
3443
- Wl as useFile
3424
+ Hl as iotModules,
3425
+ cl as iotProgress,
3426
+ Wl as iotRelationModules,
3427
+ Jl as justauth,
3428
+ Ql as knowledgeBase,
3429
+ Vl as oauthServer,
3430
+ Yl as permission,
3431
+ oc as portal,
3432
+ nc as projectManage,
3433
+ ac as spaceManage,
3434
+ cc as superadminLicense,
3435
+ sc as superadminPermission,
3436
+ ic as superadminPortal,
3437
+ lc as superadminResource,
3438
+ uc as supplier,
3439
+ pc as supplierClassification,
3440
+ fc as supplierManage,
3441
+ mc as systemConfiguration,
3442
+ yc as tool,
3443
+ Kl as useFile
3444
3444
  };
Binary file