@das-fed/utils 7.1.0-seres.28 → 7.1.0-seres.29

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 +122 -82
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +1105 -1083
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +758 -718
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +757 -717
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +758 -718
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +1206 -1184
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +758 -718
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +1108 -1050
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +758 -718
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +588 -548
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +102 -62
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +756 -716
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +1228 -1170
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +758 -718
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +758 -718
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +1202 -1144
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +758 -718
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +758 -718
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +758 -718
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +1208 -1186
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +758 -718
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +758 -718
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +758 -718
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +757 -717
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/create-api-service/index.js +757 -717
  50. package/create-api-service/index.js.gz +0 -0
  51. package/create-api-service/menu-code-apis/index.js +78 -38
  52. package/create-api-service/menu-code-apis/index.js.gz +0 -0
  53. package/package.json +4 -4
Binary file
@@ -1,19 +1,19 @@
1
1
  import { setI18nRule as Hn, currentLang as Wn, t as V } from "@das-fed/web/packages/i18n/index";
2
2
  import { curringHttp as Gn } from "@das-fed/utils/curring-http";
3
3
  import { getToken as Jn, getQuery as Vn, login as Kn, real_uri as Qn, getTokenParams as Xn } from "@das-fed/utils/create-api-service/sso";
4
- import jt from "dayjs";
4
+ import zt from "dayjs";
5
5
  import Zn from "dayjs/plugin/utc";
6
6
  import Yn from "dayjs/plugin/timezone";
7
7
  import { getSubApps as eo, getProjectInfo as to, getInstanceInfo as ro } from "@das-fed/utils/common-info";
8
8
  import { getAccessToken as no } from "@das-fed/utils/token-tools";
9
- import { getConfig as jr } from "@das-fed/utils/config";
9
+ import { getConfig as zr } from "@das-fed/utils/config";
10
10
  import { recoverUnauthorized as oo } from "@das-fed/utils/create-api-service/unauthorized-recovery";
11
- function zr(t, e) {
11
+ function jr(t, e) {
12
12
  return function() {
13
13
  return t.apply(e, arguments);
14
14
  };
15
15
  }
16
- const { toString: io } = Object.prototype, { getPrototypeOf: zt } = Object, { iterator: Je, toStringTag: Hr } = Symbol, Ve = /* @__PURE__ */ ((t) => (e) => {
16
+ const { toString: io } = Object.prototype, { getPrototypeOf: jt } = Object, { iterator: Je, toStringTag: Hr } = Symbol, Ve = /* @__PURE__ */ ((t) => (e) => {
17
17
  const n = io.call(e);
18
18
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
19
19
  })(/* @__PURE__ */ Object.create(null)), B = (t) => (t = t.toLowerCase(), (e) => Ve(e) === t), Ke = (t) => (e) => typeof e === t, { isArray: fe } = Array, Ee = Ke("undefined");
@@ -28,7 +28,7 @@ function ao(t) {
28
28
  const so = Ke("string"), N = Ke("function"), Gr = Ke("number"), Re = (t) => t !== null && typeof t == "object", lo = (t) => t === !0 || t === !1, Ie = (t) => {
29
29
  if (Ve(t) !== "object")
30
30
  return !1;
31
- const e = zt(t);
31
+ const e = jt(t);
32
32
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Hr in t) && !(Je in t);
33
33
  }, co = (t) => {
34
34
  if (!Re(t) || Oe(t))
@@ -81,7 +81,7 @@ function Ct() {
81
81
  return e;
82
82
  }
83
83
  const Ao = (t, e, n, { allOwnKeys: r } = {}) => (Pe(e, (o, i) => {
84
- n && N(o) ? t[i] = zr(o, n) : t[i] = o;
84
+ n && N(o) ? t[i] = jr(o, n) : t[i] = o;
85
85
  }, { allOwnKeys: r }), t), Oo = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ro = (t, e, n, r) => {
86
86
  t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
87
87
  value: e.prototype
@@ -93,7 +93,7 @@ const Ao = (t, e, n, { allOwnKeys: r } = {}) => (Pe(e, (o, i) => {
93
93
  do {
94
94
  for (o = Object.getOwnPropertyNames(t), i = o.length; i-- > 0; )
95
95
  a = o[i], (!r || r(a, t, e)) && !s[a] && (e[a] = t[a], s[a] = !0);
96
- t = n !== !1 && zt(t);
96
+ t = n !== !1 && jt(t);
97
97
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
98
98
  return e;
99
99
  }, To = (t, e, n) => {
@@ -109,7 +109,7 @@ const Ao = (t, e, n, { allOwnKeys: r } = {}) => (Pe(e, (o, i) => {
109
109
  for (; e-- > 0; )
110
110
  n[e] = t[e];
111
111
  return n;
112
- }, Co = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && zt(Uint8Array)), _o = (t, e) => {
112
+ }, Co = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && jt(Uint8Array)), _o = (t, e) => {
113
113
  const r = (t && t[Je]).call(t);
114
114
  let o;
115
115
  for (; (o = r.next()) && !o.done; ) {
@@ -179,14 +179,14 @@ const ko = (t) => {
179
179
  return r;
180
180
  };
181
181
  return n(t, 0);
182
- }, qo = B("AsyncFunction"), jo = (t) => t && (Re(t) || N(t)) && N(t.then) && N(t.catch), Qr = ((t, e) => t ? setImmediate : e ? ((n, r) => (Z.addEventListener("message", ({ source: o, data: i }) => {
182
+ }, qo = B("AsyncFunction"), zo = (t) => t && (Re(t) || N(t)) && N(t.then) && N(t.catch), Qr = ((t, e) => t ? setImmediate : e ? ((n, r) => (Z.addEventListener("message", ({ source: o, data: i }) => {
183
183
  o === Z && i === n && r.length && r.shift()();
184
184
  }, !1), (o) => {
185
185
  r.push(o), Z.postMessage(n, "*");
186
186
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
187
187
  typeof setImmediate == "function",
188
188
  N(Z.postMessage)
189
- ), zo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Z) : typeof process < "u" && process.nextTick || Qr, Ho = (t) => t != null && N(t[Je]), f = {
189
+ ), jo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Z) : typeof process < "u" && process.nextTick || Qr, Ho = (t) => t != null && N(t[Je]), f = {
190
190
  isArray: fe,
191
191
  isArrayBuffer: Wr,
192
192
  isBuffer: Oe,
@@ -241,9 +241,9 @@ const ko = (t) => {
241
241
  isSpecCompliantForm: Mo,
242
242
  toJSONObject: ko,
243
243
  isAsyncFn: qo,
244
- isThenable: jo,
244
+ isThenable: zo,
245
245
  setImmediate: Qr,
246
- asap: zo,
246
+ asap: jo,
247
247
  isIterable: Ho
248
248
  };
249
249
  function w(t, e, n, r, o) {
@@ -1180,12 +1180,12 @@ const ln = (t) => {
1180
1180
  }
1181
1181
  }).headers.has("Content-Type");
1182
1182
  return t && !e;
1183
- }), cr = 64 * 1024, Nt = cn && un(() => f.isReadableStream(new Response("").body)), je = {
1183
+ }), cr = 64 * 1024, Nt = cn && un(() => f.isReadableStream(new Response("").body)), ze = {
1184
1184
  stream: Nt && ((t) => t.body)
1185
1185
  };
1186
1186
  Xe && ((t) => {
1187
1187
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
1188
- !je[e] && (je[e] = f.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
1188
+ !ze[e] && (ze[e] = f.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
1189
1189
  throw new w(`Response type '${e}' is not supported`, w.ERR_NOT_SUPPORT, r);
1190
1190
  });
1191
1191
  });
@@ -1236,11 +1236,11 @@ const xi = async (t) => {
1236
1236
  duplex: "half"
1237
1237
  }), _;
1238
1238
  if (f.isFormData(r) && (_ = A.headers.get("content-type")) && l.setContentType(_), A.body) {
1239
- const [$, z] = ir(
1239
+ const [$, j] = ir(
1240
1240
  h,
1241
1241
  qe(ar(u))
1242
1242
  );
1243
- r = lr(A.body, cr, $, z);
1243
+ r = lr(A.body, cr, $, j);
1244
1244
  }
1245
1245
  }
1246
1246
  f.isString(p) || (p = p ? "include" : "omit");
@@ -1261,19 +1261,19 @@ const xi = async (t) => {
1261
1261
  ["status", "statusText", "headers"].forEach((U) => {
1262
1262
  A[U] = E[U];
1263
1263
  });
1264
- const _ = f.toFiniteNumber(E.headers.get("content-length")), [$, z] = s && ir(
1264
+ const _ = f.toFiniteNumber(E.headers.get("content-length")), [$, j] = s && ir(
1265
1265
  _,
1266
1266
  qe(ar(s), !0)
1267
1267
  ) || [];
1268
1268
  E = new Response(
1269
1269
  lr(E.body, cr, $, () => {
1270
- z && z(), m && m();
1270
+ j && j(), m && m();
1271
1271
  }),
1272
1272
  A
1273
1273
  );
1274
1274
  }
1275
1275
  c = c || "text";
1276
- let T = await je[f.findKey(je, c) || "text"](E, t);
1276
+ let T = await ze[f.findKey(ze, c) || "text"](E, t);
1277
1277
  return !g && m && m(), await new Promise((A, _) => {
1278
1278
  an(A, _, {
1279
1279
  data: T,
@@ -1677,7 +1677,7 @@ Object.entries(Dt).forEach(([t, e]) => {
1677
1677
  Dt[e] = t;
1678
1678
  });
1679
1679
  function yn(t) {
1680
- const e = new Y(t), n = zr(Y.prototype.request, e);
1680
+ const e = new Y(t), n = jr(Y.prototype.request, e);
1681
1681
  return f.extend(n, Y.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1682
1682
  return yn(te(t, o));
1683
1683
  }, n;
@@ -1748,7 +1748,7 @@ const Ui = {}, Mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1748
1748
  __proto__: null,
1749
1749
  default: Ui
1750
1750
  }, Symbol.toStringTag, { value: "Module" })), ki = /* @__PURE__ */ Bi(Mi);
1751
- var Gt = typeof Map == "function" && Map.prototype, lt = Object.getOwnPropertyDescriptor && Gt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ze = Gt && lt && typeof lt.get == "function" ? lt.get : null, yr = Gt && Map.prototype.forEach, Jt = typeof Set == "function" && Set.prototype, ct = Object.getOwnPropertyDescriptor && Jt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, He = Jt && ct && typeof ct.get == "function" ? ct.get : null, hr = Jt && Set.prototype.forEach, qi = typeof WeakMap == "function" && WeakMap.prototype, ge = qi ? WeakMap.prototype.has : null, ji = typeof WeakSet == "function" && WeakSet.prototype, ve = ji ? WeakSet.prototype.has : null, zi = typeof WeakRef == "function" && WeakRef.prototype, mr = zi ? WeakRef.prototype.deref : null, Hi = Boolean.prototype.valueOf, Wi = Object.prototype.toString, Gi = Function.prototype.toString, Ji = String.prototype.match, Vt = String.prototype.slice, K = String.prototype.replace, Vi = String.prototype.toUpperCase, gr = String.prototype.toLowerCase, hn = RegExp.prototype.test, vr = Array.prototype.concat, j = Array.prototype.join, Ki = Array.prototype.slice, wr = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ut = Object.getOwnPropertySymbols, Lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ce = typeof Symbol == "function" && typeof Symbol.iterator == "object", we = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ce || !0) ? Symbol.toStringTag : null, mn = Object.prototype.propertyIsEnumerable, br = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1751
+ var Gt = typeof Map == "function" && Map.prototype, lt = Object.getOwnPropertyDescriptor && Gt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, je = Gt && lt && typeof lt.get == "function" ? lt.get : null, yr = Gt && Map.prototype.forEach, Jt = typeof Set == "function" && Set.prototype, ct = Object.getOwnPropertyDescriptor && Jt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, He = Jt && ct && typeof ct.get == "function" ? ct.get : null, hr = Jt && Set.prototype.forEach, qi = typeof WeakMap == "function" && WeakMap.prototype, ge = qi ? WeakMap.prototype.has : null, zi = typeof WeakSet == "function" && WeakSet.prototype, ve = zi ? WeakSet.prototype.has : null, ji = typeof WeakRef == "function" && WeakRef.prototype, mr = ji ? WeakRef.prototype.deref : null, Hi = Boolean.prototype.valueOf, Wi = Object.prototype.toString, Gi = Function.prototype.toString, Ji = String.prototype.match, Vt = String.prototype.slice, K = String.prototype.replace, Vi = String.prototype.toUpperCase, gr = String.prototype.toLowerCase, hn = RegExp.prototype.test, vr = Array.prototype.concat, z = Array.prototype.join, Ki = Array.prototype.slice, wr = Math.floor, It = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, ut = Object.getOwnPropertySymbols, Lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ce = typeof Symbol == "function" && typeof Symbol.iterator == "object", we = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ce || !0) ? Symbol.toStringTag : null, mn = Object.prototype.propertyIsEnumerable, br = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1752
1752
  return t.__proto__;
1753
1753
  } : null);
1754
1754
  function Sr(t, e) {
@@ -1823,7 +1823,7 @@ var Bt = ki, Er = Bt.custom, Ar = wn(Er) ? Er : null, gn = {
1823
1823
  }
1824
1824
  if (typeof e == "function" && !Or(e)) {
1825
1825
  var v = ia(e), y = Ne(e, d);
1826
- return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + j.call(y, ", ") + " }" : "");
1826
+ return "[Function" + (v ? ": " + v : " (anonymous)") + "]" + (y.length > 0 ? " { " + z.call(y, ", ") + " }" : "");
1827
1827
  }
1828
1828
  if (wn(e)) {
1829
1829
  var m = ce ? K.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Lt.call(e);
@@ -1838,11 +1838,11 @@ var Bt = ki, Er = Bt.custom, Ar = wn(Er) ? Er : null, gn = {
1838
1838
  if (e.length === 0)
1839
1839
  return "[]";
1840
1840
  var g = Ne(e, d);
1841
- return p && !da(g) ? "[" + Mt(g, p) + "]" : "[ " + j.call(g, ", ") + " ]";
1841
+ return p && !da(g) ? "[" + Mt(g, p) + "]" : "[ " + z.call(g, ", ") + " ]";
1842
1842
  }
1843
1843
  if (Yi(e)) {
1844
1844
  var T = Ne(e, d);
1845
- return !("cause" in Error.prototype) && "cause" in e && !mn.call(e, "cause") ? "{ [" + String(e) + "] " + j.call(vr.call("[cause]: " + d(e.cause), T), ", ") + " }" : T.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + j.call(T, ", ") + " }";
1845
+ return !("cause" in Error.prototype) && "cause" in e && !mn.call(e, "cause") ? "{ [" + String(e) + "] " + z.call(vr.call("[cause]: " + d(e.cause), T), ", ") + " }" : T.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + z.call(T, ", ") + " }";
1846
1846
  }
1847
1847
  if (typeof e == "object" && a) {
1848
1848
  if (Ar && typeof e[Ar] == "function" && Bt)
@@ -1854,7 +1854,7 @@ var Bt = ki, Er = Bt.custom, Ar = wn(Er) ? Er : null, gn = {
1854
1854
  var A = [];
1855
1855
  return yr && yr.call(e, function(D, J) {
1856
1856
  A.push(d(J, e, !0) + " => " + d(D, e));
1857
- }), Rr("Map", ze.call(e), A, p);
1857
+ }), Rr("Map", je.call(e), A, p);
1858
1858
  }
1859
1859
  if (ca(e)) {
1860
1860
  var _ = [];
@@ -1881,8 +1881,8 @@ var Bt = ki, Er = Bt.custom, Ar = wn(Er) ? Er : null, gn = {
1881
1881
  if (typeof globalThis < "u" && e === globalThis || typeof dr < "u" && e === dr)
1882
1882
  return "{ [object globalThis] }";
1883
1883
  if (!Zi(e) && !Or(e)) {
1884
- var $ = Ne(e, d), z = br ? br(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", G = !z && we && Object(e) === e && we in e ? Vt.call(Q(e), 8, -1) : U ? "Object" : "", $e = z || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", oe = $e + (G || U ? "[" + j.call(vr.call([], G || [], U || []), ": ") + "] " : "");
1885
- return $.length === 0 ? oe + "{}" : p ? oe + "{" + Mt($, p) + "}" : oe + "{ " + j.call($, ", ") + " }";
1884
+ var $ = Ne(e, d), j = br ? br(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", G = !j && we && Object(e) === e && we in e ? Vt.call(Q(e), 8, -1) : U ? "Object" : "", $e = j || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", oe = $e + (G || U ? "[" + z.call(vr.call([], G || [], U || []), ": ") + "] " : "");
1885
+ return $.length === 0 ? oe + "{}" : p ? oe + "{" + Mt($, p) + "}" : oe + "{ " + z.call($, ", ") + " }";
1886
1886
  }
1887
1887
  return String(e);
1888
1888
  };
@@ -1963,10 +1963,10 @@ function bn(t, e) {
1963
1963
  return -1;
1964
1964
  }
1965
1965
  function aa(t) {
1966
- if (!ze || !t || typeof t != "object")
1966
+ if (!je || !t || typeof t != "object")
1967
1967
  return !1;
1968
1968
  try {
1969
- ze.call(t);
1969
+ je.call(t);
1970
1970
  try {
1971
1971
  He.call(t);
1972
1972
  } catch {
@@ -2007,7 +2007,7 @@ function ca(t) {
2007
2007
  try {
2008
2008
  He.call(t);
2009
2009
  try {
2010
- ze.call(t);
2010
+ je.call(t);
2011
2011
  } catch {
2012
2012
  return !0;
2013
2013
  }
@@ -2061,7 +2061,7 @@ function ft(t) {
2061
2061
  return t + " { ? }";
2062
2062
  }
2063
2063
  function Rr(t, e, n, r) {
2064
- var o = r ? Mt(n, r) : j.call(n, ", ");
2064
+ var o = r ? Mt(n, r) : z.call(n, ", ");
2065
2065
  return t + " (" + e + ") {" + o + "}";
2066
2066
  }
2067
2067
  function da(t) {
@@ -2076,12 +2076,12 @@ function ya(t, e) {
2076
2076
  if (t.indent === " ")
2077
2077
  n = " ";
2078
2078
  else if (typeof t.indent == "number" && t.indent > 0)
2079
- n = j.call(Array(t.indent + 1), " ");
2079
+ n = z.call(Array(t.indent + 1), " ");
2080
2080
  else
2081
2081
  return null;
2082
2082
  return {
2083
2083
  base: n,
2084
- prev: j.call(Array(e + 1), n)
2084
+ prev: z.call(Array(e + 1), n)
2085
2085
  };
2086
2086
  }
2087
2087
  function Mt(t, e) {
@@ -2089,7 +2089,7 @@ function Mt(t, e) {
2089
2089
  return "";
2090
2090
  var n = `
2091
2091
  ` + e.prev + e.base;
2092
- return n + j.call(t, "," + n) + `
2092
+ return n + z.call(t, "," + n) + `
2093
2093
  ` + e.prev;
2094
2094
  }
2095
2095
  function Ne(t, e) {
@@ -2292,7 +2292,7 @@ var wt, Fr;
2292
2292
  function Pn() {
2293
2293
  return Fr || (Fr = 1, wt = Function.prototype.apply), wt;
2294
2294
  }
2295
- var ja = typeof Reflect < "u" && Reflect && Reflect.apply, za = tt(), Ha = Pn(), Wa = Kt(), Ga = ja, Ja = Ga || za.call(Wa, Ha), Va = tt(), Ka = de, Qa = Kt(), Xa = Ja, Tn = function(e) {
2295
+ var za = typeof Reflect < "u" && Reflect && Reflect.apply, ja = tt(), Ha = Pn(), Wa = Kt(), Ga = za, Ja = Ga || ja.call(Wa, Ha), Va = tt(), Ka = de, Qa = Kt(), Xa = Ja, Tn = function(e) {
2296
2296
  if (e.length < 1 || typeof e[0] != "function")
2297
2297
  throw new Ka("a function is required");
2298
2298
  return Xa(Va, Qa, e);
@@ -2607,7 +2607,7 @@ function() {
2607
2607
  }
2608
2608
  };
2609
2609
  return n;
2610
- }, Bs = Qt, rt = Nn, Us = Ye, Fe = Fn, Ms = de, ae = Bs("%WeakMap%", !0), ks = rt("WeakMap.prototype.get", !0), qs = rt("WeakMap.prototype.set", !0), js = rt("WeakMap.prototype.has", !0), zs = rt("WeakMap.prototype.delete", !0), Hs = ae ? (
2610
+ }, Bs = Qt, rt = Nn, Us = Ye, Fe = Fn, Ms = de, ae = Bs("%WeakMap%", !0), ks = rt("WeakMap.prototype.get", !0), qs = rt("WeakMap.prototype.set", !0), zs = rt("WeakMap.prototype.has", !0), js = rt("WeakMap.prototype.delete", !0), Hs = ae ? (
2611
2611
  /** @type {Exclude<import('.'), false>} */
2612
2612
  function() {
2613
2613
  var e, n, r = {
@@ -2618,7 +2618,7 @@ function() {
2618
2618
  delete: function(o) {
2619
2619
  if (ae && o && (typeof o == "object" || typeof o == "function")) {
2620
2620
  if (e)
2621
- return zs(e, o);
2621
+ return js(e, o);
2622
2622
  } else if (Fe && n)
2623
2623
  return n.delete(o);
2624
2624
  return !1;
@@ -2627,7 +2627,7 @@ function() {
2627
2627
  return ae && o && (typeof o == "object" || typeof o == "function") && e ? ks(e, o) : n && n.get(o);
2628
2628
  },
2629
2629
  has: function(o) {
2630
- return ae && o && (typeof o == "object" || typeof o == "function") && e ? js(e, o) : !!n && n.has(o);
2630
+ return ae && o && (typeof o == "object" || typeof o == "function") && e ? zs(e, o) : !!n && n.has(o);
2631
2631
  },
2632
2632
  set: function(o, i) {
2633
2633
  ae && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new ae()), qs(e, o, i)) : Fe && (n || (n = Fe()), n.set(o, i));
@@ -2845,8 +2845,8 @@ function() {
2845
2845
  }
2846
2846
  if (yl(g) || ke.isBuffer(g)) {
2847
2847
  if (c) {
2848
- var z = h ? n : c(n, P.encoder, b, "key", y);
2849
- return [m(z) + "=" + m(c(g, P.encoder, b, "value", y))];
2848
+ var j = h ? n : c(n, P.encoder, b, "key", y);
2849
+ return [m(j) + "=" + m(c(g, P.encoder, b, "value", y))];
2850
2850
  }
2851
2851
  return [m(n) + "=" + m(String(g))];
2852
2852
  }
@@ -2868,12 +2868,12 @@ function() {
2868
2868
  for (var J = 0; J < G.length; ++J) {
2869
2869
  var H = G[J], ye = typeof H == "object" && H && typeof H.value < "u" ? H.value : g[H];
2870
2870
  if (!(s && ye === null)) {
2871
- var nt = d && u ? String(H).replace(/\./g, "%2E") : String(H), zn = q(g) ? typeof r == "function" ? r(D, nt) : D : D + (d ? "." + nt : "[" + nt + "]");
2871
+ var nt = d && u ? String(H).replace(/\./g, "%2E") : String(H), jn = q(g) ? typeof r == "function" ? r(D, nt) : D : D + (d ? "." + nt : "[" + nt + "]");
2872
2872
  E.set(e, A);
2873
2873
  var Yt = Ln();
2874
2874
  Yt.set(xt, E), Un(U, t(
2875
2875
  ye,
2876
- zn,
2876
+ jn,
2877
2877
  r,
2878
2878
  o,
2879
2879
  i,
@@ -3211,14 +3211,54 @@ const Fl = {
3211
3211
  _appCode: "framework"
3212
3212
  }
3213
3213
  }, Dl = [
3214
- { path: "/api/enterpriseright/permission/v1/organization/authtree" },
3215
- { path: "/api/enterpriseright/permission/v1/organization/top-node" },
3216
- { path: "/api/enterpriseright/permission/v1/organization/auth-lazy" },
3217
- { path: "/api/enterpriseright/permission/v1/organization/auth-lazy-search" },
3218
- { path: "/api/enterpriseright/permission/v1/organization/auth-first" },
3219
- { path: "/api/enterpriseright/permission/v1/organization/authprojecttree" },
3220
- { path: "/api/enterpriseright/permission/v1/organization/cangranttree" },
3221
- { path: "/api/enterpriseright/permission/v1/data/org-tree" },
3214
+ // enterpriseright - data
3215
+ { path: "/api/enterpriseright/permission/v1/data/org-list", method: "get" },
3216
+ { path: "/api/enterpriseright/permission/v1/data/org-tree", method: "get" },
3217
+ { path: "/api/enterpriseright/permission/v1/data/user-list", method: "post" },
3218
+ { path: "/api/enterpriseright/permission/v1/data/user-list/simple", method: "post" },
3219
+ { path: "/api/enterpriseright/permission/v1/data/user-org-query", method: "post" },
3220
+ // enterpriseright - organization
3221
+ { path: "/api/enterpriseright/permission/v1/organization/auth-first", method: "get" },
3222
+ { path: "/api/enterpriseright/permission/v1/organization/auth-lazy", method: "get" },
3223
+ { path: "/api/enterpriseright/permission/v1/organization/auth-lazy-search", method: "get" },
3224
+ { path: "/api/enterpriseright/permission/v1/organization/authprojecttree", method: "get" },
3225
+ { path: "/api/enterpriseright/permission/v1/organization/authtree", method: "get" },
3226
+ { path: "/api/enterpriseright/permission/v1/organization/cangranttree", method: "get" },
3227
+ { path: "/api/enterpriseright/permission/v1/organization/list/all", method: "post" },
3228
+ { path: "/api/enterpriseright/permission/v1/organization/organizationpage", method: "get" },
3229
+ { path: "/api/enterpriseright/permission/v1/organization/organizationpage/all", method: "get" },
3230
+ { path: "/api/enterpriseright/permission/v1/organization/organizationpage/list/all", method: "get" },
3231
+ { path: "/api/enterpriseright/permission/v1/organization/page", method: "get" },
3232
+ { path: "/api/enterpriseright/permission/v1/organization/top-node", method: "get" },
3233
+ { path: "/api/enterpriseright/permission/v1/organization/user", method: "post" },
3234
+ { path: "/api/enterpriseright/permission/v1/organization/user/all", method: "post" },
3235
+ { path: "/api/enterpriseright/permission/v1/organization/userandstation", method: "post" },
3236
+ { path: "/api/enterpriseright/permission/v1/organization/userexcludebind", method: "get" },
3237
+ // enterpriseright - orgauth / permissionset / role / user
3238
+ { path: "/api/enterpriseright/permission/v1/orgauth/list", method: "get" },
3239
+ { path: "/api/enterpriseright/permission/v1/orgauth/list/all", method: "get" },
3240
+ { path: "/api/enterpriseright/permission/v1/orgauth/listall", method: "get" },
3241
+ { path: "/api/enterpriseright/permission/v1/permissionset/authorg", method: "get" },
3242
+ { path: "/api/enterpriseright/permission/v1/role/list", method: "get" },
3243
+ { path: "/api/enterpriseright/permission/v1/role/list-all", method: "get" },
3244
+ { path: "/api/enterpriseright/permission/v1/role/list/all", method: "post" },
3245
+ { path: "/api/enterpriseright/permission/v1/role/org-auth-tree", method: "get" },
3246
+ { path: "/api/enterpriseright/permission/v1/role/users-not-bind", method: "get" },
3247
+ { path: "/api/enterpriseright/permission/v1/user/bind-org-user", method: "get" },
3248
+ { path: "/api/enterpriseright/permission/v1/user/charge-org-user", method: "get" },
3249
+ { path: "/api/enterpriseright/permission/v1/user/group/list/all", method: "get" },
3250
+ { path: "/api/enterpriseright/permission/v1/user/list", method: "post" },
3251
+ { path: "/api/enterpriseright/permission/v1/user/list/all", method: "post" },
3252
+ { path: "/api/enterpriseright/permission/v1/user/listall", method: "post" },
3253
+ { path: "/api/enterpriseright/permission/v1/user/listauth", method: "get" },
3254
+ { path: "/api/enterpriseright/permission/v1/user/listbyids", method: "post" },
3255
+ { path: "/api/enterpriseright/permission/v1/user/listbyidswithparams", method: "post" },
3256
+ { path: "/api/enterpriseright/permission/v1/user/notbindorg", method: "get" },
3257
+ { path: "/api/enterpriseright/permission/v1/user/notbindorgall", method: "get" },
3258
+ { path: "/api/enterpriseright/permission/v1/user/org-list", method: "get" },
3259
+ { path: "/api/enterpriseright/permission/v1/user/org/search", method: "get" },
3260
+ { path: "/api/enterpriseright/permission/v1/user/transfer-user-list", method: "get" },
3261
+ // 其它服务
3222
3262
  { path: "/api/device-relation/devicerule/v1/rule/listAuthority" },
3223
3263
  { path: "/api/fms/base/interface/v1/organization/authtree" },
3224
3264
  { path: "/api/org/v1/orgs/getByParentAndDemToTree", method: "post" },
@@ -3254,12 +3294,12 @@ const Fl = {
3254
3294
  return n && (e._menuCode = n), t.params = e, t;
3255
3295
  };
3256
3296
  Hn(Fl);
3257
- jt.extend(Zn);
3258
- jt.extend(Yn);
3259
- const Zt = jr(), kn = Zt.sso ?? !0, kl = Zt.i18n ?? !0, qn = Zt.noRedireLogin ?? !1, ql = (t) => {
3297
+ zt.extend(Zn);
3298
+ zt.extend(Yn);
3299
+ const Zt = zr(), kn = Zt.sso ?? !0, kl = Zt.i18n ?? !0, qn = Zt.noRedireLogin ?? !1, ql = (t) => {
3260
3300
  var e, n, r;
3261
3301
  return ((e = t == null ? void 0 : t.response) == null ? void 0 : e.status) === 401 || ((r = (n = t == null ? void 0 : t.response) == null ? void 0 : n.data) == null ? void 0 : r.code) === 401;
3262
- }, jl = (t) => {
3302
+ }, zl = (t) => {
3263
3303
  t.interceptors.response.use(void 0, async (e) => {
3264
3304
  const n = e == null ? void 0 : e.config;
3265
3305
  if (!n || n.public || !ql(e) || n.skipUnauthorizedRecovery || n._unauthorizedRecoveryRetried)
@@ -3271,11 +3311,11 @@ const Zt = jr(), kn = Zt.sso ?? !0, kl = Zt.i18n ?? !0, qn = Zt.noRedireLogin ??
3271
3311
  return Promise.reject(e);
3272
3312
  }
3273
3313
  });
3274
- }, jn = () => {
3314
+ }, zn = () => {
3275
3315
  if (qn) return;
3276
3316
  const t = "/login";
3277
3317
  location.pathname !== t && (sessionStorage.clear(), window.__isAutoCloseApp = !1, location.replace(t));
3278
- }, zl = async (t) => {
3318
+ }, jl = async (t) => {
3279
3319
  var n;
3280
3320
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3281
3321
  }, Hl = async (t, e) => {
@@ -3285,7 +3325,7 @@ const Zt = jr(), kn = Zt.sso ?? !0, kl = Zt.i18n ?? !0, qn = Zt.noRedireLogin ??
3285
3325
  let a = ((v = t == null ? void 0 : t.response) == null ? void 0 : v.data) || {};
3286
3326
  const s = Vn("code") || "", u = (e == null ? void 0 : e.noRedireLogin) ?? ((y = t == null ? void 0 : t.config) == null ? void 0 : y.noRedireLogin), l = !((t == null ? void 0 : t.__skipLoginRedirect) === !0) && !(u ?? qn);
3287
3327
  if (!s && l && (n === 401 || (a == null ? void 0 : a.code) === 401))
3288
- kn ? Kn({ ...Xn, redirect_uri: Qn }) : jn(), o = a;
3328
+ kn ? Kn({ ...Xn, redirect_uri: Qn }) : zn(), o = a;
3289
3329
  else {
3290
3330
  if (t.response) {
3291
3331
  if (a instanceof Blob && (a = await new Promise((b) => {
@@ -3314,17 +3354,17 @@ const Zt = jr(), kn = Zt.sso ?? !0, kl = Zt.i18n ?? !0, qn = Zt.noRedireLogin ??
3314
3354
  return { ...o, code: n, msg: r, error: t };
3315
3355
  }, I = (t, e) => {
3316
3356
  const n = R.create();
3317
- return jl(n), Gn(n, async (r) => {
3318
- const o = jr();
3357
+ return zl(n), Gn(n, async (r) => {
3358
+ const o = zr();
3319
3359
  if (r.headers || (r.headers = {}), !(r != null && r.public)) {
3320
3360
  let l = "";
3321
3361
  if (o.token && (l = o.token), !l) {
3322
3362
  const p = new URL(location.href).searchParams;
3323
3363
  l = p.get("token") || p.get("accessToken") || p.get("accesstoken") || "";
3324
3364
  }
3325
- kn ? l || (l = await Jn(r)) : (l || (l = no()), l || jn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3365
+ kn ? l || (l = await Jn(r)) : (l || (l = no()), l || zn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3326
3366
  }
3327
- r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => _l.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = zl), r.onError || (r.onError = Hl), (r.csrf ?? !1) && (r.headers["csrf-token"] = Nl.get("csrf-token"));
3367
+ r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => _l.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = jl), r.onError || (r.onError = Hl), (r.csrf ?? !1) && (r.headers["csrf-token"] = Nl.get("csrf-token"));
3328
3368
  const s = r.params || {};
3329
3369
  if (s.project === void 0) {
3330
3370
  let l = 0;
@@ -3335,7 +3375,7 @@ const Zt = jr(), kn = Zt.sso ?? !0, kl = Zt.i18n ?? !0, qn = Zt.noRedireLogin ??
3335
3375
  const { instanceInfo: l } = ro();
3336
3376
  l != null && l.instanceId && (s.instance = l.instanceId);
3337
3377
  }
3338
- r.params = s, r.headers.Timezone = jt.tz.guess(), r.headers["X-Origin"] = location.origin, r.headers["Accept-Language"] = Wn.value;
3378
+ r.params = s, r.headers.Timezone = zt.tz.guess(), r.headers["X-Origin"] = location.origin, r.headers["Accept-Language"] = Wn.value;
3339
3379
  const c = r;
3340
3380
  return Ml(c), c;
3341
3381
  });