@das-fed/utils 6.4.0-dev.55.17 → 6.4.0-dev.55.19

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
@@ -1,7 +1,7 @@
1
1
  import { setI18nRule as bn, t as W } from "@das-fed/web/packages/i18n/index";
2
2
  import { curringHttp as wn } from "@das-fed/utils/curring-http";
3
3
  import { getToken as Sn, getQuery as En, login as An, getTokenParams as On, real_uri as Rn } from "@das-fed/utils/create-api-service/sso";
4
- import Rt from "dayjs";
4
+ import Ot from "dayjs";
5
5
  import Pn from "dayjs/plugin/utc";
6
6
  import Tn from "dayjs/plugin/timezone";
7
7
  import { getProjectInfo as xn, getInstanceInfo as Cn } from "@das-fed/utils/common-info";
@@ -12,7 +12,7 @@ function Or(t, e) {
12
12
  return t.apply(e, arguments);
13
13
  };
14
14
  }
15
- const { toString: Nn } = Object.prototype, { getPrototypeOf: Pt } = Object, Me = /* @__PURE__ */ ((t) => (e) => {
15
+ const { toString: Nn } = Object.prototype, { getPrototypeOf: Rt } = Object, Me = /* @__PURE__ */ ((t) => (e) => {
16
16
  const n = Nn.call(e);
17
17
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
18
18
  })(/* @__PURE__ */ Object.create(null)), B = (t) => (t = t.toLowerCase(), (e) => Me(e) === t), qe = (t) => (e) => typeof e === t, { isArray: ue } = Array, we = qe("undefined");
@@ -27,7 +27,7 @@ function _n(t) {
27
27
  const In = qe("string"), I = qe("function"), Pr = qe("number"), je = (t) => t !== null && typeof t == "object", $n = (t) => t === !0 || t === !1, Fe = (t) => {
28
28
  if (Me(t) !== "object")
29
29
  return !1;
30
- const e = Pt(t);
30
+ const e = Rt(t);
31
31
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
32
32
  }, Bn = B("Date"), Un = B("File"), Ln = B("Blob"), kn = B("FileList"), Mn = (t) => je(t) && I(t.pipe), qn = (t) => {
33
33
  let e;
@@ -80,7 +80,7 @@ const Vn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
80
80
  do {
81
81
  for (o = Object.getOwnPropertyNames(t), a = o.length; a-- > 0; )
82
82
  i = o[a], (!r || r(i, t, e)) && !s[i] && (e[i] = t[i], s[i] = !0);
83
- t = n !== !1 && Pt(t);
83
+ t = n !== !1 && Rt(t);
84
84
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
85
85
  return e;
86
86
  }, Zn = (t, e, n) => {
@@ -96,7 +96,7 @@ const Vn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
96
96
  for (; e-- > 0; )
97
97
  n[e] = t[e];
98
98
  return n;
99
- }, eo = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Pt(Uint8Array)), to = (t, e) => {
99
+ }, eo = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Rt(Uint8Array)), to = (t, e) => {
100
100
  const r = (t && t[Symbol.iterator]).call(t);
101
101
  let o;
102
102
  for (; (o = r.next()) && !o.done; ) {
@@ -384,10 +384,10 @@ function jt(t) {
384
384
  return e[r];
385
385
  });
386
386
  }
387
- function Tt(t, e) {
387
+ function Pt(t, e) {
388
388
  this._pairs = [], t && ze(t, this, e);
389
389
  }
390
- const $r = Tt.prototype;
390
+ const $r = Pt.prototype;
391
391
  $r.append = function(e, n) {
392
392
  this._pairs.push([e, n]);
393
393
  };
@@ -407,7 +407,7 @@ function Br(t, e, n) {
407
407
  return t;
408
408
  const r = n && n.encode || wo, o = n && n.serialize;
409
409
  let a;
410
- if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Tt(e, n).toString(r), a) {
410
+ if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Pt(e, n).toString(r), a) {
411
411
  const i = t.indexOf("#");
412
412
  i !== -1 && (t = t.slice(0, i)), t += (t.indexOf("?") === -1 ? "?" : "&") + a;
413
413
  }
@@ -471,7 +471,7 @@ const Ur = {
471
471
  silentJSONParsing: !0,
472
472
  forcedJSONParsing: !0,
473
473
  clarifyTimeoutError: !1
474
- }, So = typeof URLSearchParams < "u" ? URLSearchParams : Tt, Eo = typeof FormData < "u" ? FormData : null, Ao = typeof Blob < "u" ? Blob : null, Oo = {
474
+ }, So = typeof URLSearchParams < "u" ? URLSearchParams : Pt, Eo = typeof FormData < "u" ? FormData : null, Ao = typeof Blob < "u" ? Blob : null, Oo = {
475
475
  isBrowser: !0,
476
476
  classes: {
477
477
  URLSearchParams: So,
@@ -479,10 +479,10 @@ const Ur = {
479
479
  Blob: Ao
480
480
  },
481
481
  protocols: ["http", "https", "file", "blob", "url", "data"]
482
- }, xt = typeof window < "u" && typeof document < "u", ft = typeof navigator == "object" && navigator || void 0, Ro = xt && (!ft || ["ReactNative", "NativeScript", "NS"].indexOf(ft.product) < 0), Po = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", To = xt && window.location.href || "http://localhost", xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
+ }, Tt = typeof window < "u" && typeof document < "u", ft = typeof navigator == "object" && navigator || void 0, Ro = Tt && (!ft || ["ReactNative", "NativeScript", "NS"].indexOf(ft.product) < 0), Po = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", To = Tt && window.location.href || "http://localhost", xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
484
484
  __proto__: null,
485
- hasBrowserEnv: xt,
485
+ hasBrowserEnv: Tt,
486
486
  hasStandardBrowserEnv: Ro,
487
487
  hasStandardBrowserWebWorkerEnv: Po,
488
488
  navigator: ft,
@@ -1366,14 +1366,14 @@ function Xt(t) {
1366
1366
  ), r.response.headers = _.from(r.response.headers))), Promise.reject(r);
1367
1367
  });
1368
1368
  }
1369
- const Gr = "1.7.7", Ct = {};
1369
+ const Gr = "1.7.7", xt = {};
1370
1370
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1371
- Ct[t] = function(r) {
1371
+ xt[t] = function(r) {
1372
1372
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1373
1373
  };
1374
1374
  });
1375
1375
  const Zt = {};
1376
- Ct.transitional = function(e, n, r) {
1376
+ xt.transitional = function(e, n, r) {
1377
1377
  function o(a, i) {
1378
1378
  return "[Axios v" + Gr + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
1379
1379
  }
@@ -1405,7 +1405,7 @@ function oa(t, e, n) {
1405
1405
  }
1406
1406
  const yt = {
1407
1407
  assertOptions: oa,
1408
- validators: Ct
1408
+ validators: xt
1409
1409
  }, G = yt.validators;
1410
1410
  class Z {
1411
1411
  constructor(e) {
@@ -1528,7 +1528,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1528
1528
  }
1529
1529
  Z.prototype[e] = n(), Z.prototype[e + "Form"] = n(!0);
1530
1530
  });
1531
- class Ft {
1531
+ class Ct {
1532
1532
  constructor(e) {
1533
1533
  if (typeof e != "function")
1534
1534
  throw new TypeError("executor must be a function.");
@@ -1594,7 +1594,7 @@ class Ft {
1594
1594
  static source() {
1595
1595
  let e;
1596
1596
  return {
1597
- token: new Ft(function(o) {
1597
+ token: new Ct(function(o) {
1598
1598
  e = o;
1599
1599
  }),
1600
1600
  cancel: e
@@ -1686,7 +1686,7 @@ function Jr(t) {
1686
1686
  const R = Jr(Ee);
1687
1687
  R.Axios = Z;
1688
1688
  R.CanceledError = fe;
1689
- R.CancelToken = Ft;
1689
+ R.CancelToken = Ct;
1690
1690
  R.isCancel = kr;
1691
1691
  R.VERSION = Gr;
1692
1692
  R.toFormData = ze;
@@ -1794,7 +1794,7 @@ var ca = Error, ua = EvalError, fa = RangeError, pa = ReferenceError, Vr = Synta
1794
1794
  l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
1795
1795
  }
1796
1796
  return o;
1797
- }, Pa = Ra, Nt = Function.prototype.bind || Pa, Ta = Function.prototype.call, xa = Object.prototype.hasOwnProperty, Ca = Nt, Fa = Ca.call(Ta, xa), w, Na = ca, Da = ua, _a = fa, Ia = pa, se = Vr, ie = Ae, $a = da, Kr = Function, Ze = function(t) {
1797
+ }, Pa = Ra, Ft = Function.prototype.bind || Pa, Ta = Function.prototype.call, xa = Object.prototype.hasOwnProperty, Ca = Ft, Fa = Ca.call(Ta, xa), w, Na = ca, Da = ua, _a = fa, Ia = pa, se = Vr, ie = Ae, $a = da, Kr = Function, Ze = function(t) {
1798
1798
  try {
1799
1799
  return Kr('"use strict"; return (' + t + ").constructor;")();
1800
1800
  } catch {
@@ -1966,7 +1966,7 @@ var Ma = function t(e) {
1966
1966
  "%URIErrorPrototype%": ["URIError", "prototype"],
1967
1967
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1968
1968
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1969
- }, Oe = Nt, Be = Fa, qa = Oe.call(Function.call, Array.prototype.concat), ja = Oe.call(Function.apply, Array.prototype.splice), nr = Oe.call(Function.call, String.prototype.replace), Ue = Oe.call(Function.call, String.prototype.slice), za = Oe.call(Function.call, RegExp.prototype.exec), Ha = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Wa = /\\(\\)?/g, Ga = function(e) {
1969
+ }, Oe = Ft, Be = Fa, qa = Oe.call(Function.call, Array.prototype.concat), ja = Oe.call(Function.apply, Array.prototype.splice), nr = Oe.call(Function.call, String.prototype.replace), Ue = Oe.call(Function.call, String.prototype.slice), za = Oe.call(Function.call, RegExp.prototype.exec), Ha = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Wa = /\\(\\)?/g, Ga = function(e) {
1970
1970
  var n = Ue(e, 0, 1), r = Ue(e, -1);
1971
1971
  if (n === "%" && r !== "%")
1972
1972
  throw new se("invalid intrinsic syntax, expected closing `%`");
@@ -2020,7 +2020,7 @@ var Ma = function t(e) {
2020
2020
  }
2021
2021
  return s;
2022
2022
  }, Qr = { exports: {} }, et, or;
2023
- function Dt() {
2023
+ function Nt() {
2024
2024
  if (or) return et;
2025
2025
  or = 1;
2026
2026
  var t = pe, e = t("%Object.defineProperty%", !0) || !1;
@@ -2039,7 +2039,7 @@ if (De)
2039
2039
  } catch {
2040
2040
  De = null;
2041
2041
  }
2042
- var Xr = De, ar = Dt(), Ka = Vr, oe = Ae, ir = Xr, Qa = function(e, n, r) {
2042
+ var Xr = De, ar = Nt(), Ka = Vr, oe = Ae, ir = Xr, Qa = function(e, n, r) {
2043
2043
  if (!e || typeof e != "object" && typeof e != "function")
2044
2044
  throw new oe("`obj` must be an object or a function`");
2045
2045
  if (typeof n != "string" && typeof n != "symbol")
@@ -2064,7 +2064,7 @@ var Xr = De, ar = Dt(), Ka = Vr, oe = Ae, ir = Xr, Qa = function(e, n, r) {
2064
2064
  e[n] = r;
2065
2065
  else
2066
2066
  throw new Ka("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2067
- }, mt = Dt(), Zr = function() {
2067
+ }, mt = Nt(), Zr = function() {
2068
2068
  return !!mt;
2069
2069
  };
2070
2070
  Zr.hasArrayLengthDefineBug = function() {
@@ -2101,7 +2101,7 @@ var Xa = Zr, Za = pe, sr = Qa, Ya = Xa(), lr = Xr, cr = Ae, ei = Za("%Math.floor
2101
2101
  )), e;
2102
2102
  };
2103
2103
  (function(t) {
2104
- var e = Nt, n = pe, r = ti, o = Ae, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = Dt(), l = n("%Math.max%");
2104
+ var e = Ft, n = pe, r = ti, o = Ae, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = Nt(), l = n("%Math.max%");
2105
2105
  t.exports = function(d) {
2106
2106
  if (typeof d != "function")
2107
2107
  throw new o("a function is required");
@@ -2125,7 +2125,7 @@ const ai = {}, ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2125
2125
  __proto__: null,
2126
2126
  default: ai
2127
2127
  }, Symbol.toStringTag, { value: "Module" })), si = /* @__PURE__ */ la(ii);
2128
- var _t = typeof Map == "function" && Map.prototype, tt = Object.getOwnPropertyDescriptor && _t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Le = _t && tt && typeof tt.get == "function" ? tt.get : null, ur = _t && Map.prototype.forEach, It = typeof Set == "function" && Set.prototype, rt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ke = It && rt && typeof rt.get == "function" ? rt.get : null, fr = It && Set.prototype.forEach, li = typeof WeakMap == "function" && WeakMap.prototype, ge = li ? WeakMap.prototype.has : null, ci = typeof WeakSet == "function" && WeakSet.prototype, ve = ci ? WeakSet.prototype.has : null, ui = typeof WeakRef == "function" && WeakRef.prototype, pr = ui ? WeakRef.prototype.deref : null, fi = Boolean.prototype.valueOf, pi = Object.prototype.toString, di = Function.prototype.toString, yi = String.prototype.match, $t = String.prototype.slice, V = String.prototype.replace, hi = String.prototype.toUpperCase, dr = String.prototype.toLowerCase, tn = RegExp.prototype.test, yr = Array.prototype.concat, M = Array.prototype.join, mi = Array.prototype.slice, hr = Math.floor, gt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, nt = Object.getOwnPropertySymbols, vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", C = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, rn = Object.prototype.propertyIsEnumerable, mr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2128
+ var Dt = typeof Map == "function" && Map.prototype, tt = Object.getOwnPropertyDescriptor && Dt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Le = Dt && tt && typeof tt.get == "function" ? tt.get : null, ur = Dt && Map.prototype.forEach, _t = typeof Set == "function" && Set.prototype, rt = Object.getOwnPropertyDescriptor && _t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ke = _t && rt && typeof rt.get == "function" ? rt.get : null, fr = _t && Set.prototype.forEach, li = typeof WeakMap == "function" && WeakMap.prototype, ge = li ? WeakMap.prototype.has : null, ci = typeof WeakSet == "function" && WeakSet.prototype, ve = ci ? WeakSet.prototype.has : null, ui = typeof WeakRef == "function" && WeakRef.prototype, pr = ui ? WeakRef.prototype.deref : null, fi = Boolean.prototype.valueOf, pi = Object.prototype.toString, di = Function.prototype.toString, yi = String.prototype.match, It = String.prototype.slice, V = String.prototype.replace, hi = String.prototype.toUpperCase, dr = String.prototype.toLowerCase, tn = RegExp.prototype.test, yr = Array.prototype.concat, M = Array.prototype.join, mi = Array.prototype.slice, hr = Math.floor, gt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, nt = Object.getOwnPropertySymbols, vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", C = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, rn = Object.prototype.propertyIsEnumerable, mr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2129
2129
  return t.__proto__;
2130
2130
  } : null);
2131
2131
  function gr(t, e) {
@@ -2135,7 +2135,7 @@ function gr(t, e) {
2135
2135
  if (typeof t == "number") {
2136
2136
  var r = t < 0 ? -hr(-t) : hr(t);
2137
2137
  if (r !== t) {
2138
- var o = String(r), a = $t.call(e, o.length + 1);
2138
+ var o = String(r), a = It.call(e, o.length + 1);
2139
2139
  return V.call(o, n, "$&_") + "." + V.call(V.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2140
2140
  }
2141
2141
  }
@@ -2250,7 +2250,7 @@ var bt = si, vr = bt.custom, br = on(vr) ? vr : null, gi = function t(e, n, r, o
2250
2250
  if (typeof globalThis < "u" && e === globalThis || typeof Yt < "u" && e === Yt)
2251
2251
  return "{ [object globalThis] }";
2252
2252
  if (!bi(e) && !wr(e)) {
2253
- var N = Pe(e, d), q = mr ? mr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && C && Object(e) === e && C in e ? $t.call(K(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || U ? "[" + M.call(yr.call([], j || [], U || []), ": ") + "] " : "");
2253
+ var N = Pe(e, d), q = mr ? mr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && C && Object(e) === e && C in e ? It.call(K(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || U ? "[" + M.call(yr.call([], j || [], U || []), ": ") + "] " : "");
2254
2254
  return N.length === 0 ? re + "{}" : p ? re + "{" + St(N, p) + "}" : re + "{ " + M.call(N, ", ") + " }";
2255
2255
  }
2256
2256
  return String(e);
@@ -2403,7 +2403,7 @@ function Di(t) {
2403
2403
  function sn(t, e) {
2404
2404
  if (t.length > e.maxStringLength) {
2405
2405
  var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2406
- return sn($t.call(t, 0, e.maxStringLength), e) + r;
2406
+ return sn(It.call(t, 0, e.maxStringLength), e) + r;
2407
2407
  }
2408
2408
  var o = V.call(V.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, _i);
2409
2409
  return nn(o, "single", e);
@@ -2476,16 +2476,16 @@ function Pe(t, e) {
2476
2476
  rn.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
2477
2477
  return r;
2478
2478
  }
2479
- var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%", !0), Li = de("WeakMap.prototype.get", !0), ki = de("WeakMap.prototype.set", !0), Mi = de("WeakMap.prototype.has", !0), qi = de("Map.prototype.get", !0), ji = de("Map.prototype.set", !0), zi = de("Map.prototype.has", !0), Bt = function(t, e) {
2479
+ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%", !0), Li = de("WeakMap.prototype.get", !0), ki = de("WeakMap.prototype.set", !0), Mi = de("WeakMap.prototype.has", !0), qi = de("Map.prototype.get", !0), ji = de("Map.prototype.set", !0), zi = de("Map.prototype.has", !0), $t = function(t, e) {
2480
2480
  for (var n = t, r; (r = n.next) !== null; n = r)
2481
2481
  if (r.key === e)
2482
2482
  return n.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
2483
2483
  t.next, t.next = r, r;
2484
2484
  }, Hi = function(t, e) {
2485
- var n = Bt(t, e);
2485
+ var n = $t(t, e);
2486
2486
  return n && n.value;
2487
2487
  }, Wi = function(t, e, n) {
2488
- var r = Bt(t, e);
2488
+ var r = $t(t, e);
2489
2489
  r ? r.value = n : t.next = /** @type {import('.').ListNode<typeof value>} */
2490
2490
  {
2491
2491
  // eslint-disable-line no-param-reassign, no-extra-parens
@@ -2494,7 +2494,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
2494
2494
  value: n
2495
2495
  };
2496
2496
  }, Gi = function(t, e) {
2497
- return !!Bt(t, e);
2497
+ return !!$t(t, e);
2498
2498
  }, Ji = function() {
2499
2499
  var e, n, r, o = {
2500
2500
  assert: function(a) {
@@ -2530,7 +2530,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
2530
2530
  }, Vi = String.prototype.replace, Ki = /%20/g, at = {
2531
2531
  RFC1738: "RFC1738",
2532
2532
  RFC3986: "RFC3986"
2533
- }, Ut = {
2533
+ }, Bt = {
2534
2534
  default: at.RFC3986,
2535
2535
  formatters: {
2536
2536
  RFC1738: function(t) {
@@ -2542,7 +2542,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
2542
2542
  },
2543
2543
  RFC1738: at.RFC1738,
2544
2544
  RFC3986: at.RFC3986
2545
- }, Qi = Ut, it = Object.prototype.hasOwnProperty, Q = Array.isArray, L = function() {
2545
+ }, Qi = Bt, it = Object.prototype.hasOwnProperty, Q = Array.isArray, L = function() {
2546
2546
  for (var t = [], e = 0; e < 256; ++e)
2547
2547
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2548
2548
  return t;
@@ -2660,7 +2660,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
2660
2660
  isRegExp: ns,
2661
2661
  maybeMap: is,
2662
2662
  merge: Zi
2663
- }, fn = Ji, _e = un, be = Ut, ss = Object.prototype.hasOwnProperty, pn = {
2663
+ }, fn = Ji, _e = un, be = Bt, ss = Object.prototype.hasOwnProperty, pn = {
2664
2664
  brackets: function(e) {
2665
2665
  return e + "[]";
2666
2666
  },
@@ -2969,7 +2969,7 @@ var ln = pe, de = oi, Bi = gi, Ui = Ae, Te = ln("%WeakMap%", !0), xe = ln("%Map%
2969
2969
  o = ce.merge(o, u, n);
2970
2970
  }
2971
2971
  return n.allowSparse === !0 ? o : ce.compact(o);
2972
- }, As = ds, Os = Es, Rs = Ut, Ps = {
2972
+ }, As = ds, Os = Es, Rs = Bt, Ps = {
2973
2973
  formats: Rs,
2974
2974
  parse: Os,
2975
2975
  stringify: As
@@ -3059,22 +3059,22 @@ const Fs = {
3059
3059
  }
3060
3060
  };
3061
3061
  bn(Fs);
3062
- Rt.extend(Pn);
3063
- Rt.extend(Tn);
3064
- const hn = Ar(), Ot = hn.sso ?? !0, mn = hn.noRedireLogin ?? !1, gn = () => {
3062
+ Ot.extend(Pn);
3063
+ Ot.extend(Tn);
3064
+ const Ut = Ar(), hn = Ut.sso ?? !0, Ns = Ut.i18n ?? !0, mn = Ut.noRedireLogin ?? !1, gn = () => {
3065
3065
  if (mn) return;
3066
3066
  const t = "/login";
3067
3067
  location.pathname !== t && (sessionStorage.clear(), window.__isAutoCloseApp = !1, location.replace(t));
3068
- }, Ns = async (t) => {
3068
+ }, Ds = async (t) => {
3069
3069
  var n;
3070
3070
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3071
- }, Ds = async (t, e) => {
3071
+ }, _s = async (t, e) => {
3072
3072
  var u, l, c, p, d;
3073
3073
  let n = ((u = t.response) == null ? void 0 : u.status) || 500, r = (l = t.response) == null ? void 0 : l.message, o = {};
3074
3074
  const a = { 400: W("参数校验错误"), 404: W("接口地址未找到"), 500: W("服务器内部错误") };
3075
3075
  let i = ((c = t == null ? void 0 : t.response) == null ? void 0 : c.data) || {};
3076
3076
  if (!(En("code") || "") && !mn && (n === 401 || (i == null ? void 0 : i.code) === 401))
3077
- Ot ? An({ ...On, redirect_uri: Rn }) : gn(), o = i;
3077
+ hn ? An({ ...On, redirect_uri: Rn }) : gn(), o = i;
3078
3078
  else {
3079
3079
  if (t.response) {
3080
3080
  if (i instanceof Blob && (i = await new Promise((g) => {
@@ -3087,7 +3087,7 @@ const hn = Ar(), Ot = hn.sso ?? !0, mn = hn.noRedireLogin ?? !1, gn = () => {
3087
3087
  }
3088
3088
  };
3089
3089
  })), i.code) {
3090
- if (n = i.code, Ot) {
3090
+ if (n = i.code, Ns) {
3091
3091
  const g = (i == null ? void 0 : i.status) ?? "";
3092
3092
  r = !(i != null && i.data) || !i.data.length ? W(g) : W(g, ...i.data);
3093
3093
  } else
@@ -3099,7 +3099,7 @@ const hn = Ar(), Ot = hn.sso ?? !0, mn = hn.noRedireLogin ?? !1, gn = () => {
3099
3099
  e != null && e.customErrorMessage && (r = e == null ? void 0 : e.customErrorMessage(r, t)), !(e != null && e.ignoreErrorMessage) && r && ((d = (p = window.DasMessage) == null ? void 0 : p.error) == null || d.call(p, { message: r, showClose: !0 }));
3100
3100
  }
3101
3101
  return { ...o, code: n, msg: r, error: t };
3102
- }, _s = (t, e) => {
3102
+ }, Is = (t, e) => {
3103
3103
  const n = R.create();
3104
3104
  return wn(n, async (r) => {
3105
3105
  const o = Ar();
@@ -3109,9 +3109,9 @@ const hn = Ar(), Ot = hn.sso ?? !0, mn = hn.noRedireLogin ?? !1, gn = () => {
3109
3109
  const c = new URL(location.href).searchParams;
3110
3110
  l = c.get("token") || c.get("accessToken") || c.get("accesstoken") || "";
3111
3111
  }
3112
- Ot ? l || (l = await Sn(r)) : (l || (l = Fn()), l || gn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3112
+ hn ? l || (l = await Sn(r)) : (l || (l = Fn()), l || gn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3113
3113
  }
3114
- r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Ts.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Ns), r.onError || (r.onError = Ds), (r.csrf ?? !1) && (r.headers["csrf-token"] = Cs.get("csrf-token"));
3114
+ r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Ts.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Ds), r.onError || (r.onError = _s), (r.csrf ?? !1) && (r.headers["csrf-token"] = Cs.get("csrf-token"));
3115
3115
  const s = r.params || {};
3116
3116
  if (s.project === void 0) {
3117
3117
  let l = 0;
@@ -3122,9 +3122,9 @@ const hn = Ar(), Ot = hn.sso ?? !0, mn = hn.noRedireLogin ?? !1, gn = () => {
3122
3122
  const { instanceInfo: l } = Cn();
3123
3123
  l != null && l.instanceId && (s.instance = l.instanceId);
3124
3124
  }
3125
- return r.params = s, r.headers.Timezone = Rt.tz.guess(), r;
3125
+ return r.params = s, r.headers.Timezone = Ot.tz.guess(), r;
3126
3126
  });
3127
- }, Is = "v1", Hs = _s(`/api/app-manager/application/${Is}`);
3127
+ }, $s = "v1", Ws = Is(`/api/app-manager/application/${$s}`);
3128
3128
  export {
3129
- Hs as appManage
3129
+ Ws as appManage
3130
3130
  };