@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
@@ -1,7 +1,7 @@
1
1
  import { setI18nRule as Sn, t as W } from "@das-fed/web/packages/i18n/index";
2
2
  import { curringHttp as En } from "@das-fed/utils/curring-http";
3
3
  import { getToken as An, getQuery as On, login as Rn, getTokenParams as Pn, real_uri as Tn } from "@das-fed/utils/create-api-service/sso";
4
- import Tt from "dayjs";
4
+ import Pt from "dayjs";
5
5
  import xn from "dayjs/plugin/utc";
6
6
  import Cn from "dayjs/plugin/timezone";
7
7
  import { getProjectInfo as Fn, getInstanceInfo as Nn } from "@das-fed/utils/common-info";
@@ -12,7 +12,7 @@ function Pr(t, e) {
12
12
  return t.apply(e, arguments);
13
13
  };
14
14
  }
15
- const { toString: _n } = Object.prototype, { getPrototypeOf: xt } = Object, je = /* @__PURE__ */ ((t) => (e) => {
15
+ const { toString: _n } = Object.prototype, { getPrototypeOf: Tt } = Object, je = /* @__PURE__ */ ((t) => (e) => {
16
16
  const n = _n.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) => je(e) === t), ze = (t) => (e) => typeof e === t, { isArray: ue } = Array, we = ze("undefined");
@@ -27,7 +27,7 @@ function $n(t) {
27
27
  const Bn = ze("string"), I = ze("function"), xr = ze("number"), He = (t) => t !== null && typeof t == "object", Un = (t) => t === !0 || t === !1, De = (t) => {
28
28
  if (je(t) !== "object")
29
29
  return !1;
30
- const e = xt(t);
30
+ const e = Tt(t);
31
31
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
32
32
  }, Ln = B("Date"), kn = B("File"), Mn = B("Blob"), qn = B("FileList"), jn = (t) => He(t) && I(t.pipe), zn = (t) => {
33
33
  let e;
@@ -80,7 +80,7 @@ const Qn = (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 && xt(t);
83
+ t = n !== !1 && Tt(t);
84
84
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
85
85
  return e;
86
86
  }, eo = (t, e, n) => {
@@ -96,7 +96,7 @@ const Qn = (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
- }, ro = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && xt(Uint8Array)), no = (t, e) => {
99
+ }, ro = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Tt(Uint8Array)), no = (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 Ht(t) {
384
384
  return e[r];
385
385
  });
386
386
  }
387
- function Ct(t, e) {
387
+ function xt(t, e) {
388
388
  this._pairs = [], t && We(t, this, e);
389
389
  }
390
- const Ur = Ct.prototype;
390
+ const Ur = xt.prototype;
391
391
  Ur.append = function(e, n) {
392
392
  this._pairs.push([e, n]);
393
393
  };
@@ -407,7 +407,7 @@ function Lr(t, e, n) {
407
407
  return t;
408
408
  const r = n && n.encode || Eo, o = n && n.serialize;
409
409
  let a;
410
- if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new Ct(e, n).toString(r), a) {
410
+ if (o ? a = o(e, n) : a = f.isURLSearchParams(e) ? e.toString() : new xt(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 kr = {
471
471
  silentJSONParsing: !0,
472
472
  forcedJSONParsing: !0,
473
473
  clarifyTimeoutError: !1
474
- }, Ao = typeof URLSearchParams < "u" ? URLSearchParams : Ct, Oo = typeof FormData < "u" ? FormData : null, Ro = typeof Blob < "u" ? Blob : null, Po = {
474
+ }, Ao = typeof URLSearchParams < "u" ? URLSearchParams : xt, Oo = typeof FormData < "u" ? FormData : null, Ro = typeof Blob < "u" ? Blob : null, Po = {
475
475
  isBrowser: !0,
476
476
  classes: {
477
477
  URLSearchParams: Ao,
@@ -479,10 +479,10 @@ const kr = {
479
479
  Blob: Ro
480
480
  },
481
481
  protocols: ["http", "https", "file", "blob", "url", "data"]
482
- }, Ft = typeof window < "u" && typeof document < "u", dt = typeof navigator == "object" && navigator || void 0, To = Ft && (!dt || ["ReactNative", "NativeScript", "NS"].indexOf(dt.product) < 0), xo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Co = Ft && window.location.href || "http://localhost", Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
+ }, Ct = typeof window < "u" && typeof document < "u", dt = typeof navigator == "object" && navigator || void 0, To = Ct && (!dt || ["ReactNative", "NativeScript", "NS"].indexOf(dt.product) < 0), xo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
483
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Co = Ct && window.location.href || "http://localhost", Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
484
484
  __proto__: null,
485
- hasBrowserEnv: Ft,
485
+ hasBrowserEnv: Ct,
486
486
  hasStandardBrowserEnv: To,
487
487
  hasStandardBrowserWebWorkerEnv: xo,
488
488
  navigator: dt,
@@ -1366,14 +1366,14 @@ function Yt(t) {
1366
1366
  ), r.response.headers = _.from(r.response.headers))), Promise.reject(r);
1367
1367
  });
1368
1368
  }
1369
- const Vr = "1.7.7", Nt = {};
1369
+ const Vr = "1.7.7", Ft = {};
1370
1370
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1371
- Nt[t] = function(r) {
1371
+ Ft[t] = function(r) {
1372
1372
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1373
1373
  };
1374
1374
  });
1375
1375
  const er = {};
1376
- Nt.transitional = function(e, n, r) {
1376
+ Ft.transitional = function(e, n, r) {
1377
1377
  function o(a, i) {
1378
1378
  return "[Axios v" + Vr + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
1379
1379
  }
@@ -1405,7 +1405,7 @@ function ia(t, e, n) {
1405
1405
  }
1406
1406
  const mt = {
1407
1407
  assertOptions: ia,
1408
- validators: Nt
1408
+ validators: Ft
1409
1409
  }, G = mt.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 Dt {
1531
+ class Nt {
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 Dt {
1594
1594
  static source() {
1595
1595
  let e;
1596
1596
  return {
1597
- token: new Dt(function(o) {
1597
+ token: new Nt(function(o) {
1598
1598
  e = o;
1599
1599
  }),
1600
1600
  cancel: e
@@ -1686,7 +1686,7 @@ function Kr(t) {
1686
1686
  const R = Kr(Ee);
1687
1687
  R.Axios = Z;
1688
1688
  R.CanceledError = fe;
1689
- R.CancelToken = Dt;
1689
+ R.CancelToken = Nt;
1690
1690
  R.isCancel = qr;
1691
1691
  R.VERSION = Vr;
1692
1692
  R.toFormData = We;
@@ -1794,7 +1794,7 @@ var fa = Error, pa = EvalError, da = RangeError, ya = ReferenceError, Qr = Synta
1794
1794
  l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
1795
1795
  }
1796
1796
  return o;
1797
- }, xa = Ta, _t = Function.prototype.bind || xa, Ca = Function.prototype.call, Fa = Object.prototype.hasOwnProperty, Na = _t, Da = Na.call(Ca, Fa), w, _a = fa, Ia = pa, $a = da, Ba = ya, se = Qr, ie = Ae, Ua = ha, Xr = Function, et = function(t) {
1797
+ }, xa = Ta, Dt = Function.prototype.bind || xa, Ca = Function.prototype.call, Fa = Object.prototype.hasOwnProperty, Na = Dt, Da = Na.call(Ca, Fa), w, _a = fa, Ia = pa, $a = da, Ba = ya, se = Qr, ie = Ae, Ua = ha, Xr = Function, et = function(t) {
1798
1798
  try {
1799
1799
  return Xr('"use strict"; return (' + t + ").constructor;")();
1800
1800
  } catch {
@@ -1966,7 +1966,7 @@ var ja = function t(e) {
1966
1966
  "%URIErrorPrototype%": ["URIError", "prototype"],
1967
1967
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1968
1968
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1969
- }, Oe = _t, Le = Da, za = Oe.call(Function.call, Array.prototype.concat), Ha = Oe.call(Function.apply, Array.prototype.splice), ar = Oe.call(Function.call, String.prototype.replace), ke = Oe.call(Function.call, String.prototype.slice), Wa = Oe.call(Function.call, RegExp.prototype.exec), Ga = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ja = /\\(\\)?/g, Va = function(e) {
1969
+ }, Oe = Dt, Le = Da, za = Oe.call(Function.call, Array.prototype.concat), Ha = Oe.call(Function.apply, Array.prototype.splice), ar = Oe.call(Function.call, String.prototype.replace), ke = Oe.call(Function.call, String.prototype.slice), Wa = Oe.call(Function.call, RegExp.prototype.exec), Ga = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ja = /\\(\\)?/g, Va = function(e) {
1970
1970
  var n = ke(e, 0, 1), r = ke(e, -1);
1971
1971
  if (n === "%" && r !== "%")
1972
1972
  throw new se("invalid intrinsic syntax, expected closing `%`");
@@ -2020,7 +2020,7 @@ var ja = function t(e) {
2020
2020
  }
2021
2021
  return s;
2022
2022
  }, Zr = { exports: {} }, rt, ir;
2023
- function It() {
2023
+ function _t() {
2024
2024
  if (ir) return rt;
2025
2025
  ir = 1;
2026
2026
  var t = pe, e = t("%Object.defineProperty%", !0) || !1;
@@ -2039,7 +2039,7 @@ if (Ie)
2039
2039
  } catch {
2040
2040
  Ie = null;
2041
2041
  }
2042
- var Yr = Ie, sr = It(), Xa = Qr, oe = Ae, lr = Yr, Za = function(e, n, r) {
2042
+ var Yr = Ie, sr = _t(), Xa = Qr, oe = Ae, lr = Yr, Za = 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 Yr = Ie, sr = It(), Xa = Qr, oe = Ae, lr = Yr, Za = function(e, n, r) {
2064
2064
  e[n] = r;
2065
2065
  else
2066
2066
  throw new Xa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2067
- }, vt = It(), en = function() {
2067
+ }, vt = _t(), en = function() {
2068
2068
  return !!vt;
2069
2069
  };
2070
2070
  en.hasArrayLengthDefineBug = function() {
@@ -2101,7 +2101,7 @@ var Ya = en, ei = pe, cr = Za, ti = Ya(), ur = Yr, fr = Ae, ri = ei("%Math.floor
2101
2101
  )), e;
2102
2102
  };
2103
2103
  (function(t) {
2104
- var e = _t, n = pe, r = ni, o = Ae, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = It(), l = n("%Math.max%");
2104
+ var e = Dt, n = pe, r = ni, o = Ae, a = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || e.call(i, a), u = _t(), 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 si = {}, li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2125
2125
  __proto__: null,
2126
2126
  default: si
2127
2127
  }, Symbol.toStringTag, { value: "Module" })), ci = /* @__PURE__ */ ua(li);
2128
- var $t = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && $t ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Me = $t && nt && typeof nt.get == "function" ? nt.get : null, pr = $t && Map.prototype.forEach, Bt = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && Bt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, qe = Bt && ot && typeof ot.get == "function" ? ot.get : null, dr = Bt && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, ge = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, ve = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, yr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, Ut = String.prototype.slice, V = String.prototype.replace, gi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, nn = RegExp.prototype.test, mr = Array.prototype.concat, M = Array.prototype.join, vi = Array.prototype.slice, gr = Math.floor, bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, at = Object.getOwnPropertySymbols, wt = 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, on = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2128
+ var It = typeof Map == "function" && Map.prototype, nt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Me = It && nt && typeof nt.get == "function" ? nt.get : null, pr = It && Map.prototype.forEach, $t = typeof Set == "function" && Set.prototype, ot = Object.getOwnPropertyDescriptor && $t ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, qe = $t && ot && typeof ot.get == "function" ? ot.get : null, dr = $t && Set.prototype.forEach, ui = typeof WeakMap == "function" && WeakMap.prototype, ge = ui ? WeakMap.prototype.has : null, fi = typeof WeakSet == "function" && WeakSet.prototype, ve = fi ? WeakSet.prototype.has : null, pi = typeof WeakRef == "function" && WeakRef.prototype, yr = pi ? WeakRef.prototype.deref : null, di = Boolean.prototype.valueOf, yi = Object.prototype.toString, hi = Function.prototype.toString, mi = String.prototype.match, Bt = String.prototype.slice, V = String.prototype.replace, gi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, nn = RegExp.prototype.test, mr = Array.prototype.concat, M = Array.prototype.join, vi = Array.prototype.slice, gr = Math.floor, bt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, at = Object.getOwnPropertySymbols, wt = 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, on = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2129
2129
  return t.__proto__;
2130
2130
  } : null);
2131
2131
  function br(t, e) {
@@ -2135,7 +2135,7 @@ function br(t, e) {
2135
2135
  if (typeof t == "number") {
2136
2136
  var r = t < 0 ? -gr(-t) : gr(t);
2137
2137
  if (r !== t) {
2138
- var o = String(r), a = Ut.call(e, o.length + 1);
2138
+ var o = String(r), a = Bt.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 St = ci, wr = St.custom, Sr = sn(wr) ? wr : null, bi = function t(e, n, r, o
2250
2250
  if (typeof globalThis < "u" && e === globalThis || typeof tr < "u" && e === tr)
2251
2251
  return "{ [object globalThis] }";
2252
2252
  if (!Si(e) && !Er(e)) {
2253
- var N = Pe(e, d), q = vr ? vr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && C && Object(e) === e && C in e ? Ut.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(mr.call([], j || [], U || []), ": ") + "] " : "");
2253
+ var N = Pe(e, d), q = vr ? vr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && C && Object(e) === e && C in e ? Bt.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(mr.call([], j || [], U || []), ": ") + "] " : "");
2254
2254
  return N.length === 0 ? re + "{}" : p ? re + "{" + At(N, p) + "}" : re + "{ " + M.call(N, ", ") + " }";
2255
2255
  }
2256
2256
  return String(e);
@@ -2403,7 +2403,7 @@ function Ii(t) {
2403
2403
  function cn(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 cn(Ut.call(t, 0, e.maxStringLength), e) + r;
2406
+ return cn(Bt.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 an(o, "single", e);
@@ -2476,16 +2476,16 @@ function Pe(t, e) {
2476
2476
  on.call(t, a[l]) && r.push("[" + e(a[l]) + "]: " + e(t[a[l]], t));
2477
2477
  return r;
2478
2478
  }
2479
- var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%", !0), Mi = de("WeakMap.prototype.get", !0), qi = de("WeakMap.prototype.set", !0), ji = de("WeakMap.prototype.has", !0), zi = de("Map.prototype.get", !0), Hi = de("Map.prototype.set", !0), Wi = de("Map.prototype.has", !0), Lt = function(t, e) {
2479
+ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%", !0), Mi = de("WeakMap.prototype.get", !0), qi = de("WeakMap.prototype.set", !0), ji = de("WeakMap.prototype.has", !0), zi = de("Map.prototype.get", !0), Hi = de("Map.prototype.set", !0), Wi = de("Map.prototype.has", !0), Ut = 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
  }, Gi = function(t, e) {
2485
- var n = Lt(t, e);
2485
+ var n = Ut(t, e);
2486
2486
  return n && n.value;
2487
2487
  }, Ji = function(t, e, n) {
2488
- var r = Lt(t, e);
2488
+ var r = Ut(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 un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
2494
2494
  value: n
2495
2495
  };
2496
2496
  }, Vi = function(t, e) {
2497
- return !!Lt(t, e);
2497
+ return !!Ut(t, e);
2498
2498
  }, Ki = function() {
2499
2499
  var e, n, r, o = {
2500
2500
  assert: function(a) {
@@ -2530,7 +2530,7 @@ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
2530
2530
  }, Qi = String.prototype.replace, Xi = /%20/g, st = {
2531
2531
  RFC1738: "RFC1738",
2532
2532
  RFC3986: "RFC3986"
2533
- }, kt = {
2533
+ }, Lt = {
2534
2534
  default: st.RFC3986,
2535
2535
  formatters: {
2536
2536
  RFC1738: function(t) {
@@ -2542,7 +2542,7 @@ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
2542
2542
  },
2543
2543
  RFC1738: st.RFC1738,
2544
2544
  RFC3986: st.RFC3986
2545
- }, Zi = kt, lt = Object.prototype.hasOwnProperty, Q = Array.isArray, L = function() {
2545
+ }, Zi = Lt, lt = 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 un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
2660
2660
  isRegExp: as,
2661
2661
  maybeMap: ls,
2662
2662
  merge: es
2663
- }, dn = Ki, $e = pn, be = kt, cs = Object.prototype.hasOwnProperty, yn = {
2663
+ }, dn = Ki, $e = pn, be = Lt, cs = Object.prototype.hasOwnProperty, yn = {
2664
2664
  brackets: function(e) {
2665
2665
  return e + "[]";
2666
2666
  },
@@ -2969,7 +2969,7 @@ var un = pe, de = ii, Li = bi, ki = Ae, Te = un("%WeakMap%", !0), xe = un("%Map%
2969
2969
  o = ce.merge(o, u, n);
2970
2970
  }
2971
2971
  return n.allowSparse === !0 ? o : ce.compact(o);
2972
- }, Rs = hs, Ps = Os, Ts = kt, xs = {
2972
+ }, Rs = hs, Ps = Os, Ts = Lt, xs = {
2973
2973
  formats: Ts,
2974
2974
  parse: Ps,
2975
2975
  stringify: Rs
@@ -3059,22 +3059,22 @@ const Ds = {
3059
3059
  }
3060
3060
  };
3061
3061
  Sn(Ds);
3062
- Tt.extend(xn);
3063
- Tt.extend(Cn);
3064
- const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3062
+ Pt.extend(xn);
3063
+ Pt.extend(Cn);
3064
+ const kt = Rr(), gn = kt.sso ?? !0, _s = kt.i18n ?? !0, vn = kt.noRedireLogin ?? !1, bn = () => {
3065
3065
  if (vn) return;
3066
3066
  const t = "/login";
3067
3067
  location.pathname !== t && (sessionStorage.clear(), window.__isAutoCloseApp = !1, location.replace(t));
3068
- }, _s = async (t) => {
3068
+ }, Is = async (t) => {
3069
3069
  var n;
3070
3070
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3071
- }, Is = 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 (!(On("code") || "") && !vn && (n === 401 || (i == null ? void 0 : i.code) === 401))
3077
- Pt ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), o = i;
3077
+ gn ? Rn({ ...Pn, redirect_uri: Tn }) : bn(), 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 gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3087
3087
  }
3088
3088
  };
3089
3089
  })), i.code) {
3090
- if (n = i.code, Pt) {
3090
+ if (n = i.code, _s) {
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
@@ -3109,9 +3109,9 @@ const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3109
3109
  const c = new URL(location.href).searchParams;
3110
3110
  l = c.get("token") || c.get("accessToken") || c.get("accesstoken") || "";
3111
3111
  }
3112
- Pt ? l || (l = await An(r)) : (l || (l = Dn()), l || bn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3112
+ gn ? l || (l = await An(r)) : (l || (l = Dn()), l || bn()), 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) => Cs.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = _s), r.onError || (r.onError = Is), (r.csrf ?? !1) && (r.headers["csrf-token"] = Ns.get("csrf-token"));
3114
+ r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Cs.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Is), r.onError || (r.onError = $s), (r.csrf ?? !1) && (r.headers["csrf-token"] = Ns.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 gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3122
3122
  const { instanceInfo: l } = Nn();
3123
3123
  l != null && l.instanceId && (s.instance = l.instanceId);
3124
3124
  }
3125
- return r.params = s, r.headers.Timezone = Tt.tz.guess(), r;
3125
+ return r.params = s, r.headers.Timezone = Pt.tz.guess(), r;
3126
3126
  });
3127
- }, Ne = "v1", Hs = {
3127
+ }, Ne = "v1", Ws = {
3128
3128
  classes: Fe(`/api/duty-manage/classes/${Ne}`),
3129
3129
  // 班次管理
3130
3130
  group: Fe(`/api/duty-manage/group/${Ne}`),
@@ -3135,5 +3135,5 @@ const gn = Rr(), Pt = gn.sso ?? !0, vn = gn.noRedireLogin ?? !1, bn = () => {
3135
3135
  // 交接班管理
3136
3136
  };
3137
3137
  export {
3138
- Hs as dutyModules
3138
+ Ws as dutyModules
3139
3139
  };