@das-fed/upf-utils 6.4.0-dev.152 → 6.4.0-dev.153

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 +2 -1
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +655 -650
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +747 -728
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +750 -731
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +2 -1
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +2 -1
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +2 -1
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +2 -1
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +2 -1
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +904 -921
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +726 -707
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +748 -729
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +747 -728
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +747 -728
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +747 -728
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +73 -72
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +2 -1
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +2 -1
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +2 -1
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +2 -1
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +747 -728
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +2 -1
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +2 -1
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +746 -727
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/create-api-service/index.d.ts +5 -1
  50. package/create-api-service/index.js +701 -718
  51. package/create-api-service/index.js.gz +0 -0
  52. package/curring-http/type.d.ts +3 -0
  53. package/package.json +4 -4
@@ -17,22 +17,22 @@ const { toString: to } = Object.prototype, { getPrototypeOf: qt } = Object, { it
17
17
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
18
18
  })(/* @__PURE__ */ Object.create(null)), I = (t) => (t = t.toLowerCase(), (e) => We(e) === t), Ge = (t) => (e) => typeof e === t, { isArray: fe } = Array, Se = Ge("undefined");
19
19
  function ro(t) {
20
- return t !== null && !Se(t) && t.constructor !== null && !Se(t.constructor) && $(t.constructor.isBuffer) && t.constructor.isBuffer(t);
20
+ return t !== null && !Se(t) && t.constructor !== null && !Se(t.constructor) && F(t.constructor.isBuffer) && t.constructor.isBuffer(t);
21
21
  }
22
22
  const Hr = I("ArrayBuffer");
23
23
  function no(t) {
24
24
  let e;
25
25
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Hr(t.buffer), e;
26
26
  }
27
- const oo = Ge("string"), $ = Ge("function"), zr = Ge("number"), Je = (t) => t !== null && typeof t == "object", ao = (t) => t === !0 || t === !1, $e = (t) => {
27
+ const oo = Ge("string"), F = Ge("function"), zr = Ge("number"), Je = (t) => t !== null && typeof t == "object", ao = (t) => t === !0 || t === !1, Fe = (t) => {
28
28
  if (We(t) !== "object")
29
29
  return !1;
30
30
  const e = qt(t);
31
31
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(jr in t) && !(ze in t);
32
- }, io = I("Date"), so = I("File"), lo = I("Blob"), co = I("FileList"), uo = (t) => Je(t) && $(t.pipe), fo = (t) => {
32
+ }, io = I("Date"), so = I("File"), lo = I("Blob"), co = I("FileList"), uo = (t) => Je(t) && F(t.pipe), fo = (t) => {
33
33
  let e;
34
- return t && (typeof FormData == "function" && t instanceof FormData || $(t.append) && ((e = We(t)) === "formdata" || // detect form-data instance
35
- e === "object" && $(t.toString) && t.toString() === "[object FormData]"));
34
+ return t && (typeof FormData == "function" && t instanceof FormData || F(t.append) && ((e = We(t)) === "formdata" || // detect form-data instance
35
+ e === "object" && F(t.toString) && t.toString() === "[object FormData]"));
36
36
  }, po = I("URLSearchParams"), [yo, ho, mo, go] = ["ReadableStream", "Request", "Response", "Headers"].map(I), vo = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
37
  function Ae(t, e, { allOwnKeys: n = !1 } = {}) {
38
38
  if (t === null || typeof t > "u")
@@ -61,14 +61,14 @@ const Q = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : type
61
61
  function Tt() {
62
62
  const { caseless: t } = Gr(this) && this || {}, e = {}, n = (r, o) => {
63
63
  const a = t && Wr(e, o) || o;
64
- $e(e[a]) && $e(r) ? e[a] = Tt(e[a], r) : $e(r) ? e[a] = Tt({}, r) : fe(r) ? e[a] = r.slice() : e[a] = r;
64
+ Fe(e[a]) && Fe(r) ? e[a] = Tt(e[a], r) : Fe(r) ? e[a] = Tt({}, r) : fe(r) ? e[a] = r.slice() : e[a] = r;
65
65
  };
66
66
  for (let r = 0, o = arguments.length; r < o; r++)
67
67
  arguments[r] && Ae(arguments[r], n);
68
68
  return e;
69
69
  }
70
70
  const wo = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
71
- n && $(o) ? t[a] = qr(o, n) : t[a] = o;
71
+ n && F(o) ? t[a] = qr(o, n) : t[a] = o;
72
72
  }, { allOwnKeys: r }), t), bo = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), So = (t, e, n, r) => {
73
73
  t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
74
74
  value: e.prototype
@@ -122,10 +122,10 @@ const wo = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
122
122
  }), Object.defineProperties(t, r);
123
123
  }, No = (t) => {
124
124
  Jr(t, (e, n) => {
125
- if ($(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
125
+ if (F(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
126
126
  return !1;
127
127
  const r = t[n];
128
- if ($(r)) {
128
+ if (F(r)) {
129
129
  if (e.enumerable = !1, "writable" in e) {
130
130
  e.writable = !1;
131
131
  return;
@@ -135,17 +135,17 @@ const wo = (t, e, n, { allOwnKeys: r } = {}) => (Ae(e, (o, a) => {
135
135
  });
136
136
  }
137
137
  });
138
- }, $o = (t, e) => {
138
+ }, Fo = (t, e) => {
139
139
  const n = {}, r = (o) => {
140
140
  o.forEach((a) => {
141
141
  n[a] = !0;
142
142
  });
143
143
  };
144
144
  return fe(t) ? r(t) : r(String(t).split(e)), n;
145
- }, Fo = () => {
145
+ }, $o = () => {
146
146
  }, Do = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
147
147
  function Io(t) {
148
- return !!(t && $(t.append) && t[jr] === "FormData" && t[ze]);
148
+ return !!(t && F(t.append) && t[jr] === "FormData" && t[ze]);
149
149
  }
150
150
  const Bo = (t) => {
151
151
  const e = new Array(10), n = (r, o) => {
@@ -164,14 +164,14 @@ const Bo = (t) => {
164
164
  return r;
165
165
  };
166
166
  return n(t, 0);
167
- }, Lo = I("AsyncFunction"), Uo = (t) => t && (Je(t) || $(t)) && $(t.then) && $(t.catch), Vr = ((t, e) => t ? setImmediate : e ? ((n, r) => (Q.addEventListener("message", ({ source: o, data: a }) => {
167
+ }, Lo = I("AsyncFunction"), Uo = (t) => t && (Je(t) || F(t)) && F(t.then) && F(t.catch), Vr = ((t, e) => t ? setImmediate : e ? ((n, r) => (Q.addEventListener("message", ({ source: o, data: a }) => {
168
168
  o === Q && a === n && r.length && r.shift()();
169
169
  }, !1), (o) => {
170
170
  r.push(o), Q.postMessage(n, "*");
171
171
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
172
172
  typeof setImmediate == "function",
173
- $(Q.postMessage)
174
- ), Mo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Q) : typeof process < "u" && process.nextTick || Vr, ko = (t) => t != null && $(t[ze]), f = {
173
+ F(Q.postMessage)
174
+ ), Mo = typeof queueMicrotask < "u" ? queueMicrotask.bind(Q) : typeof process < "u" && process.nextTick || Vr, ko = (t) => t != null && F(t[ze]), f = {
175
175
  isArray: fe,
176
176
  isArrayBuffer: Hr,
177
177
  isBuffer: ro,
@@ -181,7 +181,7 @@ const Bo = (t) => {
181
181
  isNumber: zr,
182
182
  isBoolean: ao,
183
183
  isObject: Je,
184
- isPlainObject: $e,
184
+ isPlainObject: Fe,
185
185
  isReadableStream: yo,
186
186
  isRequest: ho,
187
187
  isResponse: mo,
@@ -191,7 +191,7 @@ const Bo = (t) => {
191
191
  isFile: so,
192
192
  isBlob: lo,
193
193
  isRegExp: _o,
194
- isFunction: $,
194
+ isFunction: F,
195
195
  isStream: uo,
196
196
  isURLSearchParams: po,
197
197
  isTypedArray: Ro,
@@ -215,9 +215,9 @@ const Bo = (t) => {
215
215
  // an alias to avoid ESLint no-prototype-builtins detection
216
216
  reduceDescriptors: Jr,
217
217
  freezeMethods: No,
218
- toObjectSet: $o,
218
+ toObjectSet: Fo,
219
219
  toCamelCase: Co,
220
- noop: Fo,
220
+ noop: $o,
221
221
  toFiniteNumber: Do,
222
222
  findKey: Wr,
223
223
  global: Q,
@@ -628,8 +628,8 @@ const na = f.toObjectSet([
628
628
  function he(t) {
629
629
  return t && String(t).trim().toLowerCase();
630
630
  }
631
- function Fe(t) {
632
- return t === !1 || t == null ? t : f.isArray(t) ? t.map(Fe) : String(t);
631
+ function $e(t) {
632
+ return t === !1 || t == null ? t : f.isArray(t) ? t.map($e) : String(t);
633
633
  }
634
634
  function aa(t) {
635
635
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -663,7 +663,7 @@ function la(t, e) {
663
663
  });
664
664
  });
665
665
  }
666
- let F = class {
666
+ let $ = class {
667
667
  constructor(e) {
668
668
  e && this.set(e);
669
669
  }
@@ -674,7 +674,7 @@ let F = class {
674
674
  if (!c)
675
675
  throw new Error("header name must be a non-empty string");
676
676
  const p = f.findKey(o, c);
677
- (!p || o[p] === void 0 || l === !0 || l === void 0 && o[p] !== !1) && (o[p || u] = Fe(s));
677
+ (!p || o[p] === void 0 || l === !0 || l === void 0 && o[p] !== !1) && (o[p || u] = $e(s));
678
678
  }
679
679
  const i = (s, u) => f.forEach(s, (l, c) => a(l, c, u));
680
680
  if (f.isPlainObject(e) || e instanceof this.constructor)
@@ -742,11 +742,11 @@ let F = class {
742
742
  return f.forEach(this, (o, a) => {
743
743
  const i = f.findKey(r, a);
744
744
  if (i) {
745
- n[i] = Fe(o), delete n[a];
745
+ n[i] = $e(o), delete n[a];
746
746
  return;
747
747
  }
748
748
  const s = e ? sa(a) : String(a).trim();
749
- s !== a && delete n[a], n[s] = Fe(o), r[s] = !0;
749
+ s !== a && delete n[a], n[s] = $e(o), r[s] = !0;
750
750
  }), this;
751
751
  }
752
752
  concat(...e) {
@@ -789,8 +789,8 @@ let F = class {
789
789
  return f.isArray(e) ? e.forEach(a) : a(e), this;
790
790
  }
791
791
  };
792
- F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
793
- f.reduceDescriptors(F.prototype, ({ value: t }, e) => {
792
+ $.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
793
+ f.reduceDescriptors($.prototype, ({ value: t }, e) => {
794
794
  let n = e[0].toUpperCase() + e.slice(1);
795
795
  return {
796
796
  get: () => t,
@@ -799,9 +799,9 @@ f.reduceDescriptors(F.prototype, ({ value: t }, e) => {
799
799
  }
800
800
  };
801
801
  });
802
- f.freezeMethods(F);
802
+ f.freezeMethods($);
803
803
  function ot(t, e) {
804
- const n = this || Oe, r = e || n, o = F.from(r.headers);
804
+ const n = this || Oe, r = e || n, o = $.from(r.headers);
805
805
  let a = r.data;
806
806
  return f.forEach(t, function(s) {
807
807
  a = s.call(n, a, o.normalize(), e ? e.status : void 0);
@@ -924,7 +924,7 @@ function on(t, e, n) {
924
924
  let r = !ya(e);
925
925
  return t && (r || n == !1) ? ha(t, e) : e;
926
926
  }
927
- const ar = (t) => t instanceof F ? { ...t } : t;
927
+ const ar = (t) => t instanceof $ ? { ...t } : t;
928
928
  function te(t, e) {
929
929
  e = e || {};
930
930
  const n = {};
@@ -992,7 +992,7 @@ function te(t, e) {
992
992
  const an = (t) => {
993
993
  const e = te({}, t);
994
994
  let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: a, headers: i, auth: s } = e;
995
- e.headers = i = F.from(i), e.url = Yr(on(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && i.set(
995
+ e.headers = i = $.from(i), e.url = Yr(on(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && i.set(
996
996
  "Authorization",
997
997
  "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
998
998
  );
@@ -1014,7 +1014,7 @@ const an = (t) => {
1014
1014
  return new Promise(function(n, r) {
1015
1015
  const o = an(t);
1016
1016
  let a = o.data;
1017
- const i = F.from(o.headers).normalize();
1017
+ const i = $.from(o.headers).normalize();
1018
1018
  let { responseType: s, onUploadProgress: u, onDownloadProgress: l } = o, c, p, d, g, y;
1019
1019
  function m() {
1020
1020
  g && g(), y && y(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
@@ -1024,7 +1024,7 @@ const an = (t) => {
1024
1024
  function S() {
1025
1025
  if (!h)
1026
1026
  return;
1027
- const v = F.from(
1027
+ const v = $.from(
1028
1028
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1029
1029
  ), A = {
1030
1030
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
@@ -1260,7 +1260,7 @@ const Oa = async (t) => {
1260
1260
  return !v && m && m(), await new Promise((A, _) => {
1261
1261
  nn(A, _, {
1262
1262
  data: T,
1263
- headers: F.from(E.headers),
1263
+ headers: $.from(E.headers),
1264
1264
  status: E.status,
1265
1265
  statusText: E.statusText,
1266
1266
  config: t,
@@ -1325,7 +1325,7 @@ function at(t) {
1325
1325
  throw new pe(null, t);
1326
1326
  }
1327
1327
  function cr(t) {
1328
- return at(t), t.headers = F.from(t.headers), t.data = ot.call(
1328
+ return at(t), t.headers = $.from(t.headers), t.data = ot.call(
1329
1329
  t,
1330
1330
  t.transformRequest
1331
1331
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), cn.getAdapter(t.adapter || Oe.adapter)(t).then(function(r) {
@@ -1333,13 +1333,13 @@ function cr(t) {
1333
1333
  t,
1334
1334
  t.transformResponse,
1335
1335
  r
1336
- ), r.headers = F.from(r.headers), r;
1336
+ ), r.headers = $.from(r.headers), r;
1337
1337
  }, function(r) {
1338
1338
  return rn(r) || (at(t), r && r.response && (r.response.data = ot.call(
1339
1339
  t,
1340
1340
  t.transformResponse,
1341
1341
  r.response
1342
- ), r.response.headers = F.from(r.response.headers))), Promise.reject(r);
1342
+ ), r.response.headers = $.from(r.response.headers))), Promise.reject(r);
1343
1343
  });
1344
1344
  }
1345
1345
  const un = "1.10.0", Qe = {};
@@ -1443,7 +1443,7 @@ let X = class {
1443
1443
  (y) => {
1444
1444
  delete a[y];
1445
1445
  }
1446
- ), n.headers = F.concat(i, a);
1446
+ ), n.headers = $.concat(i, a);
1447
1447
  const s = [];
1448
1448
  let u = !0;
1449
1449
  this.interceptors.request.forEach(function(m) {
@@ -1591,7 +1591,7 @@ function _a(t) {
1591
1591
  function Na(t) {
1592
1592
  return f.isObject(t) && t.isAxiosError === !0;
1593
1593
  }
1594
- const $t = {
1594
+ const Ft = {
1595
1595
  Continue: 100,
1596
1596
  SwitchingProtocols: 101,
1597
1597
  Processing: 102,
@@ -1656,8 +1656,8 @@ const $t = {
1656
1656
  NotExtended: 510,
1657
1657
  NetworkAuthenticationRequired: 511
1658
1658
  };
1659
- Object.entries($t).forEach(([t, e]) => {
1660
- $t[e] = t;
1659
+ Object.entries(Ft).forEach(([t, e]) => {
1660
+ Ft[e] = t;
1661
1661
  });
1662
1662
  function pn(t) {
1663
1663
  const e = new X(t), n = qr(X.prototype.request, e);
@@ -1680,10 +1680,10 @@ R.all = function(e) {
1680
1680
  R.spread = _a;
1681
1681
  R.isAxiosError = Na;
1682
1682
  R.mergeConfig = te;
1683
- R.AxiosHeaders = F;
1683
+ R.AxiosHeaders = $;
1684
1684
  R.formToJSON = (t) => tn(f.isHTMLForm(t) ? new FormData(t) : t);
1685
1685
  R.getAdapter = cn.getAdapter;
1686
- R.HttpStatusCode = $t;
1686
+ R.HttpStatusCode = Ft;
1687
1687
  R.default = R;
1688
1688
  const {
1689
1689
  Axios: zl,
@@ -1704,10 +1704,10 @@ const {
1704
1704
  mergeConfig: ac
1705
1705
  } = R;
1706
1706
  var fr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1707
- function $a(t) {
1707
+ function Fa(t) {
1708
1708
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1709
1709
  }
1710
- function Fa(t) {
1710
+ function $a(t) {
1711
1711
  if (t.__esModule) return t;
1712
1712
  var e = t.default;
1713
1713
  if (typeof e == "function") {
@@ -1730,8 +1730,8 @@ var de = TypeError;
1730
1730
  const Da = {}, Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1731
1731
  __proto__: null,
1732
1732
  default: Da
1733
- }, Symbol.toStringTag, { value: "Module" })), Ba = /* @__PURE__ */ Fa(Ia);
1734
- var zt = typeof Map == "function" && Map.prototype, it = Object.getOwnPropertyDescriptor && zt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ke = zt && it && typeof it.get == "function" ? it.get : null, pr = zt && Map.prototype.forEach, Wt = typeof Set == "function" && Set.prototype, st = Object.getOwnPropertyDescriptor && Wt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, qe = Wt && st && typeof st.get == "function" ? st.get : null, dr = Wt && Set.prototype.forEach, La = typeof WeakMap == "function" && WeakMap.prototype, ge = La ? WeakMap.prototype.has : null, Ua = typeof WeakSet == "function" && WeakSet.prototype, ve = Ua ? WeakSet.prototype.has : null, Ma = typeof WeakRef == "function" && WeakRef.prototype, yr = Ma ? WeakRef.prototype.deref : null, ka = Boolean.prototype.valueOf, qa = Object.prototype.toString, ja = Function.prototype.toString, Ha = String.prototype.match, Gt = String.prototype.slice, J = String.prototype.replace, za = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, dn = RegExp.prototype.test, mr = Array.prototype.concat, k = Array.prototype.join, Wa = Array.prototype.slice, gr = Math.floor, Ft = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, lt = Object.getOwnPropertySymbols, Dt = 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, yn = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1733
+ }, Symbol.toStringTag, { value: "Module" })), Ba = /* @__PURE__ */ $a(Ia);
1734
+ var zt = typeof Map == "function" && Map.prototype, it = Object.getOwnPropertyDescriptor && zt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ke = zt && it && typeof it.get == "function" ? it.get : null, pr = zt && Map.prototype.forEach, Wt = typeof Set == "function" && Set.prototype, st = Object.getOwnPropertyDescriptor && Wt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, qe = Wt && st && typeof st.get == "function" ? st.get : null, dr = Wt && Set.prototype.forEach, La = typeof WeakMap == "function" && WeakMap.prototype, ge = La ? WeakMap.prototype.has : null, Ua = typeof WeakSet == "function" && WeakSet.prototype, ve = Ua ? WeakSet.prototype.has : null, Ma = typeof WeakRef == "function" && WeakRef.prototype, yr = Ma ? WeakRef.prototype.deref : null, ka = Boolean.prototype.valueOf, qa = Object.prototype.toString, ja = Function.prototype.toString, Ha = String.prototype.match, Gt = String.prototype.slice, J = String.prototype.replace, za = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, dn = RegExp.prototype.test, mr = Array.prototype.concat, k = Array.prototype.join, Wa = Array.prototype.slice, gr = Math.floor, $t = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, lt = Object.getOwnPropertySymbols, Dt = 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, yn = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1735
1735
  return t.__proto__;
1736
1736
  } : null);
1737
1737
  function wr(t, e) {
@@ -1854,7 +1854,7 @@ var It = Ba, br = It.custom, Sr = gn(br) ? br : null, hn = {
1854
1854
  if (Xa(e))
1855
1855
  return me(d(Number(e)));
1856
1856
  if (Ya(e))
1857
- return me(d(Ft.call(e)));
1857
+ return me(d($t.call(e)));
1858
1858
  if (Za(e))
1859
1859
  return me(ka.call(e));
1860
1860
  if (Qa(e))
@@ -1914,10 +1914,10 @@ function gn(t) {
1914
1914
  return !1;
1915
1915
  }
1916
1916
  function Ya(t) {
1917
- if (!t || typeof t != "object" || !Ft)
1917
+ if (!t || typeof t != "object" || !$t)
1918
1918
  return !1;
1919
1919
  try {
1920
- return Ft.call(t), !0;
1920
+ return $t.call(t), !0;
1921
1921
  } catch {
1922
1922
  }
1923
1923
  return !1;
@@ -2149,9 +2149,9 @@ var fi = Xe, pi = de, Ze = function(t, e, n) {
2149
2149
  return n;
2150
2150
  }, bn = Object, vi = Error, wi = EvalError, bi = RangeError, Si = ReferenceError, Ei = SyntaxError, Ai = URIError, Oi = Math.abs, Ri = Math.floor, Pi = Math.max, Ti = Math.min, xi = Math.pow, Ci = Math.round, _i = Number.isNaN || function(e) {
2151
2151
  return e !== e;
2152
- }, Ni = _i, $i = function(e) {
2152
+ }, Ni = _i, Fi = function(e) {
2153
2153
  return Ni(e) || e === 0 ? e : e < 0 ? -1 : 1;
2154
- }, Fi = Object.getOwnPropertyDescriptor, Ie = Fi;
2154
+ }, $i = Object.getOwnPropertyDescriptor, Ie = $i;
2155
2155
  if (Ie)
2156
2156
  try {
2157
2157
  Ie([], "length");
@@ -2279,10 +2279,10 @@ var Ui = typeof Reflect < "u" && Reflect && Reflect.apply, Mi = Ye(), ki = On(),
2279
2279
  if (e.length < 1 || typeof e[0] != "function")
2280
2280
  throw new Wi("a function is required");
2281
2281
  return Ji(zi, Gi, e);
2282
- }, vt, $r;
2282
+ }, vt, Fr;
2283
2283
  function Vi() {
2284
- if ($r) return vt;
2285
- $r = 1;
2284
+ if (Fr) return vt;
2285
+ Fr = 1;
2286
2286
  var t = Rn, e = Sn, n;
2287
2287
  try {
2288
2288
  n = /** @type {{ __proto__?: typeof Array.prototype }} */
@@ -2303,10 +2303,10 @@ function Vi() {
2303
2303
  }
2304
2304
  ) : !1, vt;
2305
2305
  }
2306
- var wt, Fr;
2306
+ var wt, $r;
2307
2307
  function Ki() {
2308
- if (Fr) return wt;
2309
- Fr = 1;
2308
+ if ($r) return wt;
2309
+ $r = 1;
2310
2310
  var t = En(), e = An(), n = Vi();
2311
2311
  return wt = t ? function(o) {
2312
2312
  return t(o);
@@ -2325,7 +2325,7 @@ function Qi() {
2325
2325
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Ye();
2326
2326
  return bt = n.call(t, e), bt;
2327
2327
  }
2328
- var b, Xi = bn, Zi = vi, Yi = wi, es = bi, ts = Si, ue = Ei, le = de, rs = Ai, ns = Oi, os = Ri, as = Pi, is = Ti, ss = xi, ls = Ci, cs = $i, Pn = Function, St = function(t) {
2328
+ var b, Xi = bn, Zi = vi, Yi = wi, es = bi, ts = Si, ue = Ei, le = de, rs = Ai, ns = Oi, os = Ri, as = Pi, is = Ti, ss = xi, ls = Ci, cs = Fi, Pn = Function, St = function(t) {
2329
2329
  try {
2330
2330
  return Pn('"use strict"; return (' + t + ").constructor;")();
2331
2331
  } catch {
@@ -2564,7 +2564,7 @@ var ms = function t(e) {
2564
2564
  /** @type {const} */
2565
2565
  [r]
2566
2566
  ) : r;
2567
- }, Rs = Vt, Te = _n, Ps = Xe, Ts = de, Lr = Rs("%Map%", !0), xs = Te("Map.prototype.get", !0), Cs = Te("Map.prototype.set", !0), _s = Te("Map.prototype.has", !0), Ns = Te("Map.prototype.delete", !0), $s = Te("Map.prototype.size", !0), Nn = !!Lr && /** @type {Exclude<import('.'), false>} */
2567
+ }, Rs = Vt, Te = _n, Ps = Xe, Ts = de, Lr = Rs("%Map%", !0), xs = Te("Map.prototype.get", !0), Cs = Te("Map.prototype.set", !0), _s = Te("Map.prototype.has", !0), Ns = Te("Map.prototype.delete", !0), Fs = Te("Map.prototype.size", !0), Nn = !!Lr && /** @type {Exclude<import('.'), false>} */
2568
2568
  function() {
2569
2569
  var e, n = {
2570
2570
  assert: function(r) {
@@ -2574,7 +2574,7 @@ function() {
2574
2574
  delete: function(r) {
2575
2575
  if (e) {
2576
2576
  var o = Ns(e, r);
2577
- return $s(e) === 0 && (e = void 0), o;
2577
+ return Fs(e) === 0 && (e = void 0), o;
2578
2578
  }
2579
2579
  return !1;
2580
2580
  },
@@ -2590,7 +2590,7 @@ function() {
2590
2590
  }
2591
2591
  };
2592
2592
  return n;
2593
- }, Fs = Vt, et = _n, Ds = Xe, _e = Nn, Is = de, ie = Fs("%WeakMap%", !0), Bs = et("WeakMap.prototype.get", !0), Ls = et("WeakMap.prototype.set", !0), Us = et("WeakMap.prototype.has", !0), Ms = et("WeakMap.prototype.delete", !0), ks = ie ? (
2593
+ }, $s = Vt, et = _n, Ds = Xe, _e = Nn, Is = de, ie = $s("%WeakMap%", !0), Bs = et("WeakMap.prototype.get", !0), Ls = et("WeakMap.prototype.set", !0), Us = et("WeakMap.prototype.has", !0), Ms = et("WeakMap.prototype.delete", !0), ks = ie ? (
2594
2594
  /** @type {Exclude<import('.'), false>} */
2595
2595
  function() {
2596
2596
  var e, n, r = {
@@ -2666,7 +2666,7 @@ function() {
2666
2666
  n.obj[n.prop] = o;
2667
2667
  }
2668
2668
  }
2669
- }, $n = function(e, n) {
2669
+ }, Fn = function(e, n) {
2670
2670
  for (var r = n && n.plainObjects ? { __proto__: null } : {}, o = 0; o < e.length; ++o)
2671
2671
  typeof e[o] < "u" && (r[o] = e[o]);
2672
2672
  return r;
@@ -2685,7 +2685,7 @@ function() {
2685
2685
  if (!e || typeof e != "object")
2686
2686
  return [e].concat(n);
2687
2687
  var o = e;
2688
- return K(e) && !K(n) && (o = $n(e, r)), K(e) && K(n) ? (n.forEach(function(a, i) {
2688
+ return K(e) && !K(n) && (o = Fn(e, r)), K(e) && K(n) ? (n.forEach(function(a, i) {
2689
2689
  if (Ot.call(e, i)) {
2690
2690
  var s = e[i];
2691
2691
  s && typeof s == "object" && a && typeof a == "object" ? e[i] = t(s, a, r) : e.push(a);
@@ -2760,8 +2760,8 @@ function() {
2760
2760
  return r;
2761
2761
  }
2762
2762
  return n(e);
2763
- }, Fn = {
2764
- arrayToObject: $n,
2763
+ }, $n = {
2764
+ arrayToObject: Fn,
2765
2765
  assign: Ys,
2766
2766
  combine: al,
2767
2767
  compact: rl,
@@ -2771,7 +2771,7 @@ function() {
2771
2771
  isRegExp: nl,
2772
2772
  maybeMap: il,
2773
2773
  merge: Zs
2774
- }, Dn = Js, Le = Fn, be = Kt, sl = Object.prototype.hasOwnProperty, In = {
2774
+ }, Dn = Js, Le = $n, be = Kt, sl = Object.prototype.hasOwnProperty, In = {
2775
2775
  brackets: function(e) {
2776
2776
  return e + "[]";
2777
2777
  },
@@ -2955,7 +2955,7 @@ function() {
2955
2955
  }
2956
2956
  var g = i.join(r.delimiter), y = r.addQueryPrefix === !0 ? "?" : "";
2957
2957
  return r.charsetSentinel && (r.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), g.length > 0 ? y + g : "";
2958
- }, re = Fn, Ut = Object.prototype.hasOwnProperty, Mr = Array.isArray, O = {
2958
+ }, re = $n, Ut = Object.prototype.hasOwnProperty, Mr = Array.isArray, O = {
2959
2959
  allowDots: !1,
2960
2960
  allowEmptyArrays: !1,
2961
2961
  allowPrototypes: !1,
@@ -3110,7 +3110,7 @@ function() {
3110
3110
  parse: Al,
3111
3111
  stringify: El
3112
3112
  };
3113
- const Pl = /* @__PURE__ */ $a(Rl);
3113
+ const Pl = /* @__PURE__ */ Fa(Rl);
3114
3114
  /*! js-cookie v3.0.5 | MIT */
3115
3115
  function Ne(t) {
3116
3116
  for (var e = 1; e < arguments.length; e++) {
@@ -3198,13 +3198,14 @@ jn(Cl);
3198
3198
  kt.extend(Qn);
3199
3199
  kt.extend(Xn);
3200
3200
  const Qt = kr(), Un = Qt.sso ?? !0, _l = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ?? !1, kn = () => {
3201
+ var e, n;
3201
3202
  if (Mn) return;
3202
3203
  const t = "/login";
3203
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, location.replace(`/#${t}`));
3204
+ location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (n = (e = window.top) == null ? void 0 : e.vueRouter) == null || n.replace(t));
3204
3205
  }, Nl = async (t) => {
3205
3206
  var n;
3206
3207
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3207
- }, $l = async (t, e) => {
3208
+ }, Fl = async (t, e) => {
3208
3209
  var u, l, c, p, d;
3209
3210
  let n = ((u = t.response) == null ? void 0 : u.status) || 500, r = (l = t.response) == null ? void 0 : l.message, o = {};
3210
3211
  const a = { 400: G("参数校验错误"), 404: G("接口地址未找到"), 500: G("服务器内部错误") };
@@ -3249,7 +3250,7 @@ const Qt = kr(), Un = Qt.sso ?? !0, _l = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ??
3249
3250
  }
3250
3251
  Un ? l || (l = await Wn(r)) : (l || (l = eo()), l || kn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
3251
3252
  }
3252
- r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Pl.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Nl), r.onError || (r.onError = $l), (r.csrf ?? !1) && (r.headers["csrf-token"] = xl.get("csrf-token"));
3253
+ r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => Pl.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Nl), r.onError || (r.onError = Fl), (r.csrf ?? !1) && (r.headers["csrf-token"] = xl.get("csrf-token"));
3253
3254
  const s = r.params || {};
3254
3255
  if (s.project === void 0) {
3255
3256
  let l = 0;
@@ -3180,9 +3180,10 @@ In(Cl);
3180
3180
  It.extend(Hn);
3181
3181
  It.extend(zn);
3182
3182
  const Wt = Fr(), Nn = Wt.sso ?? !0, _l = Wt.i18n ?? !0, $n = Wt.noRedireLogin ?? !1, Fn = () => {
3183
+ var e, n;
3183
3184
  if ($n) return;
3184
3185
  const t = "/login";
3185
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, location.replace(`/#${t}`));
3186
+ location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (n = (e = window.top) == null ? void 0 : e.vueRouter) == null || n.replace(t));
3186
3187
  }, Nl = async (t) => {
3187
3188
  var n;
3188
3189
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
@@ -3198,9 +3198,10 @@ kn(Tl);
3198
3198
  Ut.extend(Vn);
3199
3199
  Ut.extend(Kn);
3200
3200
  const Vt = Ur(), Bn = Vt.sso ?? !0, xl = Vt.i18n ?? !0, Ln = Vt.noRedireLogin ?? !1, Un = () => {
3201
+ var e, n;
3201
3202
  if (Ln) return;
3202
3203
  const t = "/login";
3203
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, location.replace(`/#${t}`));
3204
+ location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (n = (e = window.top) == null ? void 0 : e.vueRouter) == null || n.replace(t));
3204
3205
  }, Cl = async (t) => {
3205
3206
  var n;
3206
3207
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
@@ -3180,9 +3180,10 @@ Ln(Nl);
3180
3180
  Lt.extend(Wn);
3181
3181
  Lt.extend(Gn);
3182
3182
  const Jt = Ir(), Fn = Jt.sso ?? !0, $l = Jt.i18n ?? !0, Dn = Jt.noRedireLogin ?? !1, In = () => {
3183
+ var e, n;
3183
3184
  if (Dn) return;
3184
3185
  const t = "/login";
3185
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, location.replace(`/#${t}`));
3186
+ location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (n = (e = window.top) == null ? void 0 : e.vueRouter) == null || n.replace(t));
3186
3187
  }, Fl = async (t) => {
3187
3188
  var n;
3188
3189
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
@@ -3180,9 +3180,10 @@ Ln(Nl);
3180
3180
  It.extend(Wn);
3181
3181
  It.extend(Gn);
3182
3182
  const Wt = Ir(), Fn = Wt.sso ?? !0, $l = Wt.i18n ?? !0, Dn = Wt.noRedireLogin ?? !1, In = () => {
3183
+ var e, n;
3183
3184
  if (Dn) return;
3184
3185
  const t = "/login";
3185
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, location.replace(`/#${t}`));
3186
+ location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (n = (e = window.top) == null ? void 0 : e.vueRouter) == null || n.replace(t));
3186
3187
  }, Fl = async (t) => {
3187
3188
  var n;
3188
3189
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;