@das-fed/utils 6.4.0-dev.55.2 → 6.4.0-dev.55.4

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 (54) hide show
  1. package/api-services/i18n/index.js +4 -4
  2. package/api-services/i18n/index.js.gz +0 -0
  3. package/api-services/index.js +690 -684
  4. package/api-services/index.js.gz +0 -0
  5. package/api-services/modules/app-manage/index.js +95 -95
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/index.js +95 -95
  8. package/api-services/modules/authentication/index.js.gz +0 -0
  9. package/api-services/modules/bems/index.js +93 -93
  10. package/api-services/modules/bems/index.js.gz +0 -0
  11. package/api-services/modules/contract/index.js +95 -95
  12. package/api-services/modules/contract/index.js.gz +0 -0
  13. package/api-services/modules/duty-manage/index.js +89 -89
  14. package/api-services/modules/duty-manage/index.js.gz +0 -0
  15. package/api-services/modules/enterpriseright/index.js +95 -95
  16. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  17. package/api-services/modules/file/index.js +605 -599
  18. package/api-services/modules/file/index.js.gz +0 -0
  19. package/api-services/modules/gateway-edge/index.js +95 -95
  20. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  21. package/api-services/modules/index.js +641 -635
  22. package/api-services/modules/index.js.gz +0 -0
  23. package/api-services/modules/iot/index.js +88 -88
  24. package/api-services/modules/iot/index.js.gz +0 -0
  25. package/api-services/modules/justauth/index.js +94 -94
  26. package/api-services/modules/justauth/index.js.gz +0 -0
  27. package/api-services/modules/knowledge/index.js +95 -95
  28. package/api-services/modules/knowledge/index.js.gz +0 -0
  29. package/api-services/modules/link/index.js +95 -95
  30. package/api-services/modules/link/index.js.gz +0 -0
  31. package/api-services/modules/permission/index.js +95 -95
  32. package/api-services/modules/permission/index.js.gz +0 -0
  33. package/api-services/modules/platformManage/index.js +91 -91
  34. package/api-services/modules/platformManage/index.js.gz +0 -0
  35. package/api-services/modules/portal/index.js +95 -95
  36. package/api-services/modules/portal/index.js.gz +0 -0
  37. package/api-services/modules/space-manage/index.js +95 -95
  38. package/api-services/modules/space-manage/index.js.gz +0 -0
  39. package/api-services/modules/super-admin/index.js +89 -89
  40. package/api-services/modules/super-admin/index.js.gz +0 -0
  41. package/api-services/modules/supplier/index.js +93 -93
  42. package/api-services/modules/supplier/index.js.gz +0 -0
  43. package/api-services/modules/supplychain-manage/index.js +95 -95
  44. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  45. package/api-services/modules/systemConfiguration/index.js +95 -95
  46. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  47. package/api-services/modules/tool/index.js +95 -95
  48. package/api-services/modules/tool/index.js.gz +0 -0
  49. package/api-services/src/create-service/index.js +95 -95
  50. package/api-services/src/create-service/index.js.gz +0 -0
  51. package/create-api-service/i18n/index.js +8 -8
  52. package/create-api-service/index.js +95 -95
  53. package/create-api-service/index.js.gz +0 -0
  54. package/package.json +4 -4
@@ -67,9 +67,9 @@ function ct() {
67
67
  arguments[r] && Se(arguments[r], n);
68
68
  return e;
69
69
  }
70
- const Kn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
70
+ const Vn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
71
71
  n && _(o) ? t[a] = Ar(o, n) : t[a] = o;
72
- }, { allOwnKeys: r }), t), Vn = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Qn = (t, e, n, r) => {
72
+ }, { allOwnKeys: r }), t), Kn = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Qn = (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
75
75
  }), n && Object.assign(t.prototype, n);
@@ -83,11 +83,11 @@ const Kn = (t, e, n, { allOwnKeys: r } = {}) => (Se(e, (o, a) => {
83
83
  t = n !== !1 && Rt(t);
84
84
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
85
85
  return e;
86
- }, Zn = (t, e, n) => {
86
+ }, Yn = (t, e, n) => {
87
87
  t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
88
88
  const r = t.indexOf(e, n);
89
89
  return r !== -1 && r === n;
90
- }, Yn = (t) => {
90
+ }, Zn = (t) => {
91
91
  if (!t) return null;
92
92
  if (ue(t)) return t;
93
93
  let e = t.length;
@@ -208,15 +208,15 @@ const po = (t) => {
208
208
  isFileList: Mn,
209
209
  forEach: Se,
210
210
  merge: ct,
211
- extend: Kn,
211
+ extend: Vn,
212
212
  trim: Jn,
213
- stripBOM: Vn,
213
+ stripBOM: Kn,
214
214
  inherits: Qn,
215
215
  toFlatObject: Xn,
216
216
  kindOf: ke,
217
217
  kindOfTest: B,
218
- endsWith: Zn,
219
- toArray: Yn,
218
+ endsWith: Yn,
219
+ toArray: Zn,
220
220
  forEachEntry: to,
221
221
  matchAll: ro,
222
222
  isHTMLForm: no,
@@ -644,7 +644,7 @@ function $o(t) {
644
644
  return e;
645
645
  }
646
646
  const Bo = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
647
- function Ke(t, e, n, r, o) {
647
+ function Ve(t, e, n, r, o) {
648
648
  if (f.isFunction(r))
649
649
  return r.call(this, e, n);
650
650
  if (o && (e = n), !!f.isString(e)) {
@@ -713,7 +713,7 @@ class I {
713
713
  has(e, n) {
714
714
  if (e = he(e), e) {
715
715
  const r = f.findKey(this, e);
716
- return !!(r && this[r] !== void 0 && (!n || Ke(this, this[r], r, n)));
716
+ return !!(r && this[r] !== void 0 && (!n || Ve(this, this[r], r, n)));
717
717
  }
718
718
  return !1;
719
719
  }
@@ -723,7 +723,7 @@ class I {
723
723
  function a(i) {
724
724
  if (i = he(i), i) {
725
725
  const s = f.findKey(r, i);
726
- s && (!n || Ke(r, r[s], s, n)) && (delete r[s], o = !0);
726
+ s && (!n || Ve(r, r[s], s, n)) && (delete r[s], o = !0);
727
727
  }
728
728
  }
729
729
  return f.isArray(e) ? e.forEach(a) : a(e), o;
@@ -733,7 +733,7 @@ class I {
733
733
  let r = n.length, o = !1;
734
734
  for (; r--; ) {
735
735
  const a = n[r];
736
- (!e || Ke(this, this[a], a, e, !0)) && (delete this[a], o = !0);
736
+ (!e || Ve(this, this[a], a, e, !0)) && (delete this[a], o = !0);
737
737
  }
738
738
  return o;
739
739
  }
@@ -797,7 +797,7 @@ f.reduceDescriptors(I.prototype, ({ value: t }, e) => {
797
797
  };
798
798
  });
799
799
  f.freezeMethods(I);
800
- function Ve(t, e) {
800
+ function Ke(t, e) {
801
801
  const n = this || Ee, r = e || n, o = I.from(r.headers);
802
802
  let a = r.data;
803
803
  return f.forEach(t, function(s) {
@@ -1091,7 +1091,7 @@ const qr = (t) => {
1091
1091
  }
1092
1092
  h.send(a || null);
1093
1093
  });
1094
- }, Ko = (t, e) => {
1094
+ }, Vo = (t, e) => {
1095
1095
  const { length: n } = t = t ? t.filter(Boolean) : [];
1096
1096
  if (e || n) {
1097
1097
  let r = new AbortController(), o;
@@ -1114,7 +1114,7 @@ const qr = (t) => {
1114
1114
  const { signal: u } = r;
1115
1115
  return u.unsubscribe = () => f.asap(s), u;
1116
1116
  }
1117
- }, Vo = function* (t, e) {
1117
+ }, Ko = function* (t, e) {
1118
1118
  let n = t.byteLength;
1119
1119
  if (n < e) {
1120
1120
  yield t;
@@ -1125,7 +1125,7 @@ const qr = (t) => {
1125
1125
  o = r + e, yield t.slice(r, o), r = o;
1126
1126
  }, Qo = async function* (t, e) {
1127
1127
  for await (const n of Xo(t))
1128
- yield* Vo(n, e);
1128
+ yield* Ko(n, e);
1129
1129
  }, Xo = async function* (t) {
1130
1130
  if (t[Symbol.asyncIterator]) {
1131
1131
  yield* t;
@@ -1171,13 +1171,13 @@ const qr = (t) => {
1171
1171
  }, {
1172
1172
  highWaterMark: 2
1173
1173
  });
1174
- }, He = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", jr = He && typeof ReadableStream == "function", Zo = He && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), zr = (t, ...e) => {
1174
+ }, He = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", jr = He && typeof ReadableStream == "function", Yo = He && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), zr = (t, ...e) => {
1175
1175
  try {
1176
1176
  return !!t(...e);
1177
1177
  } catch {
1178
1178
  return !1;
1179
1179
  }
1180
- }, Yo = jr && zr(() => {
1180
+ }, Zo = jr && zr(() => {
1181
1181
  let t = !1;
1182
1182
  const e = new Request(D.origin, {
1183
1183
  body: new ReadableStream(),
@@ -1187,7 +1187,7 @@ const qr = (t) => {
1187
1187
  }
1188
1188
  }).headers.has("Content-Type");
1189
1189
  return t && !e;
1190
- }), Kt = 64 * 1024, pt = jr && zr(() => f.isReadableStream(new Response("").body)), $e = {
1190
+ }), Vt = 64 * 1024, pt = jr && zr(() => f.isReadableStream(new Response("").body)), $e = {
1191
1191
  stream: pt && ((t) => t.body)
1192
1192
  };
1193
1193
  He && ((t) => {
@@ -1210,7 +1210,7 @@ const ea = async (t) => {
1210
1210
  if (f.isArrayBufferView(t) || f.isArrayBuffer(t))
1211
1211
  return t.byteLength;
1212
1212
  if (f.isURLSearchParams(t) && (t = t + ""), f.isString(t))
1213
- return (await Zo(t)).byteLength;
1213
+ return (await Yo(t)).byteLength;
1214
1214
  }, ta = async (t, e) => {
1215
1215
  const n = f.toFiniteNumber(t.getContentLength());
1216
1216
  return n ?? ea(e);
@@ -1230,13 +1230,13 @@ const ea = async (t) => {
1230
1230
  fetchOptions: d
1231
1231
  } = qr(t);
1232
1232
  l = l ? (l + "").toLowerCase() : "text";
1233
- let g = Ko([o, a && a.toAbortSignal()], i), y;
1233
+ let g = Vo([o, a && a.toAbortSignal()], i), y;
1234
1234
  const m = g && g.unsubscribe && (() => {
1235
1235
  g.unsubscribe();
1236
1236
  });
1237
1237
  let h;
1238
1238
  try {
1239
- if (u && Yo && n !== "get" && n !== "head" && (h = await ta(c, r)) !== 0) {
1239
+ if (u && Zo && n !== "get" && n !== "head" && (h = await ta(c, r)) !== 0) {
1240
1240
  let A = new Request(e, {
1241
1241
  method: "POST",
1242
1242
  body: r,
@@ -1247,7 +1247,7 @@ const ea = async (t) => {
1247
1247
  h,
1248
1248
  _e(Wt(u))
1249
1249
  );
1250
- r = Jt(A.body, Kt, N, q);
1250
+ r = Jt(A.body, Vt, N, q);
1251
1251
  }
1252
1252
  }
1253
1253
  f.isString(p) || (p = p ? "include" : "omit");
@@ -1273,7 +1273,7 @@ const ea = async (t) => {
1273
1273
  _e(Wt(s), !0)
1274
1274
  ) || [];
1275
1275
  E = new Response(
1276
- Jt(E.body, Kt, N, () => {
1276
+ Jt(E.body, Vt, N, () => {
1277
1277
  q && q(), m && m();
1278
1278
  }),
1279
1279
  A
@@ -1313,7 +1313,7 @@ f.forEach(dt, (t, e) => {
1313
1313
  Object.defineProperty(t, "adapterName", { value: e });
1314
1314
  }
1315
1315
  });
1316
- const Vt = (t) => `- ${t}`, na = (t) => f.isFunction(t) || t === null || t === !1, Hr = {
1316
+ const Kt = (t) => `- ${t}`, na = (t) => f.isFunction(t) || t === null || t === !1, Hr = {
1317
1317
  getAdapter: (t) => {
1318
1318
  t = f.isArray(t) ? t : [t];
1319
1319
  const { length: e } = t;
@@ -1333,8 +1333,8 @@ const Vt = (t) => `- ${t}`, na = (t) => f.isFunction(t) || t === null || t === !
1333
1333
  ([s, u]) => `adapter ${s} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1334
1334
  );
1335
1335
  let i = e ? a.length > 1 ? `since :
1336
- ` + a.map(Vt).join(`
1337
- `) : " " + Vt(a[0]) : "as no adapter specified";
1336
+ ` + a.map(Kt).join(`
1337
+ `) : " " + Kt(a[0]) : "as no adapter specified";
1338
1338
  throw new b(
1339
1339
  "There is no suitable adapter to dispatch the request " + i,
1340
1340
  "ERR_NOT_SUPPORT"
@@ -1349,17 +1349,17 @@ function Qe(t) {
1349
1349
  throw new fe(null, t);
1350
1350
  }
1351
1351
  function Qt(t) {
1352
- return Qe(t), t.headers = I.from(t.headers), t.data = Ve.call(
1352
+ return Qe(t), t.headers = I.from(t.headers), t.data = Ke.call(
1353
1353
  t,
1354
1354
  t.transformRequest
1355
1355
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Hr.getAdapter(t.adapter || Ee.adapter)(t).then(function(r) {
1356
- return Qe(t), r.data = Ve.call(
1356
+ return Qe(t), r.data = Ke.call(
1357
1357
  t,
1358
1358
  t.transformResponse,
1359
1359
  r
1360
1360
  ), r.headers = I.from(r.headers), r;
1361
1361
  }, function(r) {
1362
- return Lr(r) || (Qe(t), r && r.response && (r.response.data = Ve.call(
1362
+ return Lr(r) || (Qe(t), r && r.response && (r.response.data = Ke.call(
1363
1363
  t,
1364
1364
  t.transformResponse,
1365
1365
  r.response
@@ -1407,7 +1407,7 @@ const yt = {
1407
1407
  assertOptions: oa,
1408
1408
  validators: xt
1409
1409
  }, G = yt.validators;
1410
- class Z {
1410
+ class Y {
1411
1411
  constructor(e) {
1412
1412
  this.defaults = e, this.interceptors = {
1413
1413
  request: new jt(),
@@ -1505,7 +1505,7 @@ class Z {
1505
1505
  }
1506
1506
  }
1507
1507
  f.forEach(["delete", "get", "head", "options"], function(e) {
1508
- Z.prototype[e] = function(n, r) {
1508
+ Y.prototype[e] = function(n, r) {
1509
1509
  return this.request(te(r || {}, {
1510
1510
  method: e,
1511
1511
  url: n,
@@ -1526,7 +1526,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1526
1526
  }));
1527
1527
  };
1528
1528
  }
1529
- Z.prototype[e] = n(), Z.prototype[e + "Form"] = n(!0);
1529
+ Y.prototype[e] = n(), Y.prototype[e + "Form"] = n(!0);
1530
1530
  });
1531
1531
  class Ft {
1532
1532
  constructor(e) {
@@ -1678,13 +1678,13 @@ Object.entries(ht).forEach(([t, e]) => {
1678
1678
  ht[e] = t;
1679
1679
  });
1680
1680
  function Gr(t) {
1681
- const e = new Z(t), n = Ar(Z.prototype.request, e);
1682
- return f.extend(n, Z.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1681
+ const e = new Y(t), n = Ar(Y.prototype.request, e);
1682
+ return f.extend(n, Y.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
1683
1683
  return Gr(te(t, o));
1684
1684
  }, n;
1685
1685
  }
1686
1686
  const R = Gr(Ee);
1687
- R.Axios = Z;
1687
+ R.Axios = Y;
1688
1688
  R.CanceledError = fe;
1689
1689
  R.CancelToken = Ft;
1690
1690
  R.isCancel = Lr;
@@ -1703,7 +1703,7 @@ R.formToJSON = (t) => Ur(f.isHTMLForm(t) ? new FormData(t) : t);
1703
1703
  R.getAdapter = Hr.getAdapter;
1704
1704
  R.HttpStatusCode = ht;
1705
1705
  R.default = R;
1706
- var Zt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1706
+ var Yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1707
1707
  function sa(t) {
1708
1708
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1709
1709
  }
@@ -1749,8 +1749,8 @@ var ca = Error, ua = EvalError, fa = RangeError, pa = ReferenceError, Jr = Synta
1749
1749
  return !1;
1750
1750
  }
1751
1751
  return !0;
1752
- }, Yt = typeof Symbol < "u" && Symbol, ha = ya, ma = function() {
1753
- return typeof Yt != "function" || typeof Symbol != "function" || typeof Yt("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : ha();
1752
+ }, Zt = typeof Symbol < "u" && Symbol, ha = ya, ma = function() {
1753
+ return typeof Zt != "function" || typeof Symbol != "function" || typeof Zt("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : ha();
1754
1754
  }, Xe = {
1755
1755
  __proto__: null,
1756
1756
  foo: {}
@@ -1794,31 +1794,31 @@ var ca = Error, ua = EvalError, fa = RangeError, pa = ReferenceError, Jr = Synta
1794
1794
  l.prototype = n.prototype, o.prototype = new l(), l.prototype = null;
1795
1795
  }
1796
1796
  return o;
1797
- }, Pa = Ra, Ct = Function.prototype.bind || Pa, Ta = Function.prototype.call, xa = Object.prototype.hasOwnProperty, Fa = Ct, Ca = Fa.call(Ta, xa), w, Na = ca, Da = ua, Ia = fa, _a = pa, se = Jr, ie = Ae, $a = da, Kr = Function, Ze = function(t) {
1797
+ }, Pa = Ra, Ct = Function.prototype.bind || Pa, Ta = Function.prototype.call, xa = Object.prototype.hasOwnProperty, Fa = Ct, Ca = Fa.call(Ta, xa), w, Na = ca, Da = ua, Ia = fa, _a = pa, se = Jr, ie = Ae, $a = da, Vr = Function, Ye = function(t) {
1798
1798
  try {
1799
- return Kr('"use strict"; return (' + t + ").constructor;")();
1799
+ return Vr('"use strict"; return (' + t + ").constructor;")();
1800
1800
  } catch {
1801
1801
  }
1802
- }, Y = Object.getOwnPropertyDescriptor;
1803
- if (Y)
1802
+ }, Z = Object.getOwnPropertyDescriptor;
1803
+ if (Z)
1804
1804
  try {
1805
- Y({}, "");
1805
+ Z({}, "");
1806
1806
  } catch {
1807
- Y = null;
1807
+ Z = null;
1808
1808
  }
1809
- var Ye = function() {
1809
+ var Ze = function() {
1810
1810
  throw new ie();
1811
- }, Ba = Y ? function() {
1811
+ }, Ba = Z ? function() {
1812
1812
  try {
1813
- return arguments.callee, Ye;
1813
+ return arguments.callee, Ze;
1814
1814
  } catch {
1815
1815
  try {
1816
- return Y(arguments, "callee").get;
1816
+ return Z(arguments, "callee").get;
1817
1817
  } catch {
1818
- return Ye;
1818
+ return Ze;
1819
1819
  }
1820
1820
  }
1821
- }() : Ye, ne = ma(), Ua = va(), x = Object.getPrototypeOf || (Ua ? function(t) {
1821
+ }() : Ze, ne = ma(), Ua = va(), x = Object.getPrototypeOf || (Ua ? function(t) {
1822
1822
  return t.__proto__;
1823
1823
  } : null), ae = {}, La = typeof Uint8Array > "u" || !x ? w : x(Uint8Array), ee = {
1824
1824
  __proto__: null,
@@ -1849,7 +1849,7 @@ var Ye = function() {
1849
1849
  "%Float32Array%": typeof Float32Array > "u" ? w : Float32Array,
1850
1850
  "%Float64Array%": typeof Float64Array > "u" ? w : Float64Array,
1851
1851
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? w : FinalizationRegistry,
1852
- "%Function%": Kr,
1852
+ "%Function%": Vr,
1853
1853
  "%GeneratorFunction%": ae,
1854
1854
  "%Int8Array%": typeof Int8Array > "u" ? w : Int8Array,
1855
1855
  "%Int16Array%": typeof Int16Array > "u" ? w : Int16Array,
@@ -1900,11 +1900,11 @@ if (x)
1900
1900
  var ka = function t(e) {
1901
1901
  var n;
1902
1902
  if (e === "%AsyncFunction%")
1903
- n = Ze("async function () {}");
1903
+ n = Ye("async function () {}");
1904
1904
  else if (e === "%GeneratorFunction%")
1905
- n = Ze("function* () {}");
1905
+ n = Ye("function* () {}");
1906
1906
  else if (e === "%AsyncGeneratorFunction%")
1907
- n = Ze("async function* () {}");
1907
+ n = Ye("async function* () {}");
1908
1908
  else if (e === "%AsyncGenerator%") {
1909
1909
  var r = t("%AsyncGeneratorFunction%");
1910
1910
  r && (n = r.prototype);
@@ -2010,8 +2010,8 @@ var ka = function t(e) {
2010
2010
  throw new ie("base intrinsic for " + e + " exists, but the property is not available.");
2011
2011
  return;
2012
2012
  }
2013
- if (Y && c + 1 >= r.length) {
2014
- var m = Y(s, d);
2013
+ if (Z && c + 1 >= r.length) {
2014
+ var m = Z(s, d);
2015
2015
  p = !!m, p && "get" in m && !("originalValue" in m.get) ? s = m.get : s = s[d];
2016
2016
  } else
2017
2017
  p = Be(s, d), s = s[d];
@@ -2019,7 +2019,7 @@ var ka = function t(e) {
2019
2019
  }
2020
2020
  }
2021
2021
  return s;
2022
- }, Vr = { exports: {} }, et, nr;
2022
+ }, Kr = { exports: {} }, et, nr;
2023
2023
  function Nt() {
2024
2024
  if (nr) return et;
2025
2025
  nr = 1;
@@ -2032,14 +2032,14 @@ function Nt() {
2032
2032
  }
2033
2033
  return et = e, et;
2034
2034
  }
2035
- var Ka = pe, De = Ka("%Object.getOwnPropertyDescriptor%", !0);
2035
+ var Va = pe, De = Va("%Object.getOwnPropertyDescriptor%", !0);
2036
2036
  if (De)
2037
2037
  try {
2038
2038
  De([], "length");
2039
2039
  } catch {
2040
2040
  De = null;
2041
2041
  }
2042
- var Qr = De, or = Nt(), Va = Jr, oe = Ae, ar = Qr, Qa = function(e, n, r) {
2042
+ var Qr = De, or = Nt(), Ka = Jr, oe = Ae, ar = Qr, Qa = function(e, n, r) {
2043
2043
  if (!e || typeof e != "object" && typeof e != "function")
2044
2044
  throw new oe("`obj` must be an object or a function`");
2045
2045
  if (typeof n != "string" && typeof n != "symbol")
@@ -2063,7 +2063,7 @@ var Qr = De, or = Nt(), Va = Jr, oe = Ae, ar = Qr, Qa = function(e, n, r) {
2063
2063
  else if (s || !o && !a && !i)
2064
2064
  e[n] = r;
2065
2065
  else
2066
- throw new Va("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2066
+ throw new Ka("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2067
2067
  }, mt = Nt(), Xr = function() {
2068
2068
  return !!mt;
2069
2069
  };
@@ -2076,7 +2076,7 @@ Xr.hasArrayLengthDefineBug = function() {
2076
2076
  return !0;
2077
2077
  }
2078
2078
  };
2079
- var Xa = Xr, Za = pe, ir = Qa, Ya = Xa(), sr = Qr, lr = Ae, ei = Za("%Math.floor%"), ti = function(e, n) {
2079
+ var Xa = Xr, Ya = pe, ir = Qa, Za = Xa(), sr = Qr, lr = Ae, ei = Ya("%Math.floor%"), ti = function(e, n) {
2080
2080
  if (typeof e != "function")
2081
2081
  throw new lr("`fn` is not a function");
2082
2082
  if (typeof n != "number" || n < 0 || n > 4294967295 || ei(n) !== n)
@@ -2086,7 +2086,7 @@ var Xa = Xr, Za = pe, ir = Qa, Ya = Xa(), sr = Qr, lr = Ae, ei = Za("%Math.floor
2086
2086
  var i = sr(e, "length");
2087
2087
  i && !i.configurable && (o = !1), i && !i.writable && (a = !1);
2088
2088
  }
2089
- return (o || a || !r) && (Ya ? ir(
2089
+ return (o || a || !r) && (Za ? ir(
2090
2090
  /** @type {Parameters<define>[0]} */
2091
2091
  e,
2092
2092
  "length",
@@ -2116,16 +2116,16 @@ var Xa = Xr, Za = pe, ir = Qa, Ya = Xa(), sr = Qr, lr = Ae, ei = Za("%Math.floor
2116
2116
  return s(e, a, arguments);
2117
2117
  };
2118
2118
  u ? u(t.exports, "apply", { value: c }) : t.exports.apply = c;
2119
- })(Vr);
2120
- var ri = Vr.exports, Zr = pe, Yr = ri, ni = Yr(Zr("String.prototype.indexOf")), oi = function(e, n) {
2121
- var r = Zr(e, !!n);
2122
- return typeof r == "function" && ni(e, ".prototype.") > -1 ? Yr(r) : r;
2119
+ })(Kr);
2120
+ var ri = Kr.exports, Yr = pe, Zr = ri, ni = Zr(Yr("String.prototype.indexOf")), oi = function(e, n) {
2121
+ var r = Yr(e, !!n);
2122
+ return typeof r == "function" && ni(e, ".prototype.") > -1 ? Zr(r) : r;
2123
2123
  };
2124
2124
  const ai = {}, ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2125
2125
  __proto__: null,
2126
2126
  default: ai
2127
2127
  }, Symbol.toStringTag, { value: "Module" })), si = /* @__PURE__ */ la(ii);
2128
- var Dt = typeof Map == "function" && Map.prototype, tt = Object.getOwnPropertyDescriptor && Dt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Le = Dt && tt && typeof tt.get == "function" ? tt.get : null, cr = Dt && Map.prototype.forEach, It = typeof Set == "function" && Set.prototype, rt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Me = It && rt && typeof rt.get == "function" ? rt.get : null, ur = It && Set.prototype.forEach, li = typeof WeakMap == "function" && WeakMap.prototype, ge = li ? WeakMap.prototype.has : null, ci = typeof WeakSet == "function" && WeakSet.prototype, ve = ci ? WeakSet.prototype.has : null, ui = typeof WeakRef == "function" && WeakRef.prototype, fr = ui ? WeakRef.prototype.deref : null, fi = Boolean.prototype.valueOf, pi = Object.prototype.toString, di = Function.prototype.toString, yi = String.prototype.match, _t = String.prototype.slice, K = String.prototype.replace, hi = String.prototype.toUpperCase, pr = String.prototype.toLowerCase, en = RegExp.prototype.test, dr = Array.prototype.concat, k = Array.prototype.join, mi = Array.prototype.slice, yr = Math.floor, gt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, nt = Object.getOwnPropertySymbols, vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", F = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, tn = Object.prototype.propertyIsEnumerable, hr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2128
+ var Dt = typeof Map == "function" && Map.prototype, tt = Object.getOwnPropertyDescriptor && Dt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Le = Dt && tt && typeof tt.get == "function" ? tt.get : null, cr = Dt && Map.prototype.forEach, It = typeof Set == "function" && Set.prototype, rt = Object.getOwnPropertyDescriptor && It ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Me = It && rt && typeof rt.get == "function" ? rt.get : null, ur = It && Set.prototype.forEach, li = typeof WeakMap == "function" && WeakMap.prototype, ge = li ? WeakMap.prototype.has : null, ci = typeof WeakSet == "function" && WeakSet.prototype, ve = ci ? WeakSet.prototype.has : null, ui = typeof WeakRef == "function" && WeakRef.prototype, fr = ui ? WeakRef.prototype.deref : null, fi = Boolean.prototype.valueOf, pi = Object.prototype.toString, di = Function.prototype.toString, yi = String.prototype.match, _t = String.prototype.slice, V = String.prototype.replace, hi = String.prototype.toUpperCase, pr = String.prototype.toLowerCase, en = RegExp.prototype.test, dr = Array.prototype.concat, k = Array.prototype.join, mi = Array.prototype.slice, yr = Math.floor, gt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, nt = Object.getOwnPropertySymbols, vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, le = typeof Symbol == "function" && typeof Symbol.iterator == "object", F = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === le || !0) ? Symbol.toStringTag : null, tn = Object.prototype.propertyIsEnumerable, hr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2129
2129
  return t.__proto__;
2130
2130
  } : null);
2131
2131
  function mr(t, e) {
@@ -2136,10 +2136,10 @@ function mr(t, e) {
2136
2136
  var r = t < 0 ? -yr(-t) : yr(t);
2137
2137
  if (r !== t) {
2138
2138
  var o = String(r), a = _t.call(e, o.length + 1);
2139
- return K.call(o, n, "$&_") + "." + K.call(K.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2139
+ return V.call(o, n, "$&_") + "." + V.call(V.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
2140
2140
  }
2141
2141
  }
2142
- return K.call(e, n, "$&_");
2142
+ return V.call(e, n, "$&_");
2143
2143
  }
2144
2144
  var bt = si, gr = bt.custom, vr = nn(gr) ? gr : null, gi = function t(e, n, r, o) {
2145
2145
  var a = n || {};
@@ -2195,7 +2195,7 @@ var bt = si, gr = bt.custom, vr = nn(gr) ? gr : null, gi = function t(e, n, r, o
2195
2195
  return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (y.length > 0 ? " { " + k.call(y, ", ") + " }" : "");
2196
2196
  }
2197
2197
  if (nn(e)) {
2198
- var m = le ? K.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : vt.call(e);
2198
+ var m = le ? V.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : vt.call(e);
2199
2199
  return typeof e == "object" && !le ? me(m) : m;
2200
2200
  }
2201
2201
  if (Di(e)) {
@@ -2247,10 +2247,10 @@ var bt = si, gr = bt.custom, vr = nn(gr) ? gr : null, gi = function t(e, n, r, o
2247
2247
  return me(d(String(e)));
2248
2248
  if (typeof window < "u" && e === window)
2249
2249
  return "{ [object Window] }";
2250
- if (typeof globalThis < "u" && e === globalThis || typeof Zt < "u" && e === Zt)
2250
+ if (typeof globalThis < "u" && e === globalThis || typeof Yt < "u" && e === Yt)
2251
2251
  return "{ [object globalThis] }";
2252
2252
  if (!bi(e) && !br(e)) {
2253
- var N = Pe(e, d), q = hr ? hr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && F && Object(e) === e && F in e ? _t.call(V(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || U ? "[" + k.call(dr.call([], j || [], U || []), ": ") + "] " : "");
2253
+ var N = Pe(e, d), q = hr ? hr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", j = !q && F && Object(e) === e && F in e ? _t.call(K(e), 8, -1) : U ? "Object" : "", Re = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Re + (j || U ? "[" + k.call(dr.call([], j || [], U || []), ": ") + "] " : "");
2254
2254
  return N.length === 0 ? re + "{}" : p ? re + "{" + St(N, p) + "}" : re + "{ " + k.call(N, ", ") + " }";
2255
2255
  }
2256
2256
  return String(e);
@@ -2260,28 +2260,28 @@ function rn(t, e, n) {
2260
2260
  return r + t + r;
2261
2261
  }
2262
2262
  function vi(t) {
2263
- return K.call(String(t), /"/g, "&quot;");
2263
+ return V.call(String(t), /"/g, "&quot;");
2264
2264
  }
2265
2265
  function wt(t) {
2266
- return V(t) === "[object Array]" && (!F || !(typeof t == "object" && F in t));
2266
+ return K(t) === "[object Array]" && (!F || !(typeof t == "object" && F in t));
2267
2267
  }
2268
2268
  function bi(t) {
2269
- return V(t) === "[object Date]" && (!F || !(typeof t == "object" && F in t));
2269
+ return K(t) === "[object Date]" && (!F || !(typeof t == "object" && F in t));
2270
2270
  }
2271
2271
  function br(t) {
2272
- return V(t) === "[object RegExp]" && (!F || !(typeof t == "object" && F in t));
2272
+ return K(t) === "[object RegExp]" && (!F || !(typeof t == "object" && F in t));
2273
2273
  }
2274
2274
  function wi(t) {
2275
- return V(t) === "[object Error]" && (!F || !(typeof t == "object" && F in t));
2275
+ return K(t) === "[object Error]" && (!F || !(typeof t == "object" && F in t));
2276
2276
  }
2277
2277
  function Si(t) {
2278
- return V(t) === "[object String]" && (!F || !(typeof t == "object" && F in t));
2278
+ return K(t) === "[object String]" && (!F || !(typeof t == "object" && F in t));
2279
2279
  }
2280
2280
  function Ei(t) {
2281
- return V(t) === "[object Number]" && (!F || !(typeof t == "object" && F in t));
2281
+ return K(t) === "[object Number]" && (!F || !(typeof t == "object" && F in t));
2282
2282
  }
2283
2283
  function Ai(t) {
2284
- return V(t) === "[object Boolean]" && (!F || !(typeof t == "object" && F in t));
2284
+ return K(t) === "[object Boolean]" && (!F || !(typeof t == "object" && F in t));
2285
2285
  }
2286
2286
  function nn(t) {
2287
2287
  if (le)
@@ -2311,7 +2311,7 @@ var Ri = Object.prototype.hasOwnProperty || function(t) {
2311
2311
  function J(t, e) {
2312
2312
  return Ri.call(t, e);
2313
2313
  }
2314
- function V(t) {
2314
+ function K(t) {
2315
2315
  return pi.call(t);
2316
2316
  }
2317
2317
  function Pi(t) {
@@ -2405,7 +2405,7 @@ function an(t, e) {
2405
2405
  var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
2406
2406
  return an(_t.call(t, 0, e.maxStringLength), e) + r;
2407
2407
  }
2408
- var o = K.call(K.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ii);
2408
+ var o = V.call(V.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ii);
2409
2409
  return rn(o, "single", e);
2410
2410
  }
2411
2411
  function Ii(t) {
@@ -2527,14 +2527,14 @@ var sn = pe, de = oi, Bi = gi, Ui = Ae, Te = sn("%WeakMap%", !0), xe = sn("%Map%
2527
2527
  }
2528
2528
  };
2529
2529
  return o;
2530
- }, Ki = String.prototype.replace, Vi = /%20/g, at = {
2530
+ }, Vi = String.prototype.replace, Ki = /%20/g, at = {
2531
2531
  RFC1738: "RFC1738",
2532
2532
  RFC3986: "RFC3986"
2533
2533
  }, Bt = {
2534
2534
  default: at.RFC3986,
2535
2535
  formatters: {
2536
2536
  RFC1738: function(t) {
2537
- return Ki.call(t, Vi, "+");
2537
+ return Vi.call(t, Ki, "+");
2538
2538
  },
2539
2539
  RFC3986: function(t) {
2540
2540
  return String(t);
@@ -2559,7 +2559,7 @@ var sn = pe, de = oi, Bi = gi, Ui = Ae, Te = sn("%WeakMap%", !0), xe = sn("%Map%
2559
2559
  for (var r = n && n.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
2560
2560
  typeof e[o] < "u" && (r[o] = e[o]);
2561
2561
  return r;
2562
- }, Zi = function t(e, n, r) {
2562
+ }, Yi = function t(e, n, r) {
2563
2563
  if (!n)
2564
2564
  return e;
2565
2565
  if (typeof n != "object") {
@@ -2584,7 +2584,7 @@ var sn = pe, de = oi, Bi = gi, Ui = Ae, Te = sn("%WeakMap%", !0), xe = sn("%Map%
2584
2584
  var s = n[i];
2585
2585
  return it.call(a, i) ? a[i] = t(a[i], s, r) : a[i] = s, a;
2586
2586
  }, o);
2587
- }, Yi = function(e, n) {
2587
+ }, Zi = function(e, n) {
2588
2588
  return Object.keys(n).reduce(function(r, o) {
2589
2589
  return r[o] = n[o], r;
2590
2590
  }, e);
@@ -2651,7 +2651,7 @@ var sn = pe, de = oi, Bi = gi, Ui = Ae, Te = sn("%WeakMap%", !0), xe = sn("%Map%
2651
2651
  return n(e);
2652
2652
  }, cn = {
2653
2653
  arrayToObject: ln,
2654
- assign: Yi,
2654
+ assign: Zi,
2655
2655
  combine: as,
2656
2656
  compact: rs,
2657
2657
  decode: es,
@@ -2659,7 +2659,7 @@ var sn = pe, de = oi, Bi = gi, Ui = Ae, Te = sn("%WeakMap%", !0), xe = sn("%Map%
2659
2659
  isBuffer: os,
2660
2660
  isRegExp: ns,
2661
2661
  maybeMap: is,
2662
- merge: Zi
2662
+ merge: Yi
2663
2663
  }, un = Ji, Ie = cn, be = Bt, ss = Object.prototype.hasOwnProperty, fn = {
2664
2664
  brackets: function(e) {
2665
2665
  return e + "[]";
@@ -3047,14 +3047,14 @@ function At(t, e) {
3047
3047
  }
3048
3048
  var Fs = At(xs, { path: "/" });
3049
3049
  const Cs = {
3050
- 参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter validation error" },
3051
- 接口地址未找到: { "zh-CN": "接口地址未找到", en: "API endpoint not found" },
3052
- 服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal server error" },
3053
- 解析错误: { "zh-CN": "解析错误", en: "Parsing error" },
3054
- 请求配置异常: { "zh-CN": "请求配置异常", en: "Request configuration error" },
3050
+ 参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter Validation Error" },
3051
+ 接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api Endpoint Not Found" },
3052
+ 服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal Server Error" },
3053
+ 解析错误: { "zh-CN": "解析错误", en: "Parsing Error" },
3054
+ 请求配置异常: { "zh-CN": "请求配置异常", en: "Request Configuration Error" },
3055
3055
  "网络异常,请检查您的网络情况": {
3056
3056
  "zh-CN": "网络异常,请检查您的网络情况",
3057
- en: "Network error, please check your network status"
3057
+ en: "Network Error, Please Check Your Network Status"
3058
3058
  }
3059
3059
  };
3060
3060
  bn(Cs);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/utils",
3
- "version": "6.4.0-dev.55.2",
3
+ "version": "6.4.0-dev.55.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -9,7 +9,7 @@
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
11
  "@antv/x6": "^2.18.1",
12
- "@das-fed/utils": "6.4.0-dev.55.2",
12
+ "@das-fed/utils": "6.4.0-dev.55.4",
13
13
  "@vue/shared": "^3.4.21",
14
14
  "@vueuse/core": "^9.6.0",
15
15
  "axios": "^1.6.7",
@@ -21,8 +21,8 @@
21
21
  "vue": "^3.4.21"
22
22
  },
23
23
  "devDependencies": {
24
- "@das-fed/cli": "6.4.0-dev.55.2",
25
- "@das-fed/web": "6.4.0-dev.55.2",
24
+ "@das-fed/cli": "6.4.0-dev.55.4",
25
+ "@das-fed/web": "6.4.0-dev.55.4",
26
26
  "@types/js-cookie": "^3.0.6",
27
27
  "@types/lodash-es": "^4.17.12",
28
28
  "@types/qs": "^6.9.15",