@das-fed/upf-utils 6.4.0-hot.9 → 6.4.0-test.0

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 (93) hide show
  1. package/api-services/es5.js +321 -318
  2. package/api-services/index.js +249 -249
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +313 -310
  5. package/api-services/modules/app-manage/index.js +292 -292
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1153 -1162
  8. package/api-services/modules/authentication/index.js +957 -975
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +940 -940
  11. package/api-services/modules/bems/index.js +762 -766
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +313 -310
  14. package/api-services/modules/contract/index.js +292 -292
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +304 -301
  17. package/api-services/modules/duty-manage/index.js +283 -283
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +313 -310
  20. package/api-services/modules/enterpriseright/index.js +292 -292
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +516 -513
  23. package/api-services/modules/file/es5.js +250 -247
  24. package/api-services/modules/file/index.js +209 -209
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1153 -1162
  27. package/api-services/modules/gateway-edge/index.js +957 -975
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +438 -438
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +321 -318
  32. package/api-services/modules/iot/index.js +292 -292
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +192 -189
  35. package/api-services/modules/justauth/index.js +191 -191
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +313 -310
  38. package/api-services/modules/knowledge/index.js +292 -292
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +313 -310
  41. package/api-services/modules/link/index.js +292 -292
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +313 -310
  44. package/api-services/modules/permission/index.js +292 -292
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +312 -309
  47. package/api-services/modules/platformManage/index.js +287 -287
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +313 -310
  50. package/api-services/modules/portal/index.js +292 -292
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +313 -310
  53. package/api-services/modules/space-manage/index.js +292 -292
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1279 -1264
  56. package/api-services/modules/super-admin/index.js +1067 -1049
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +1156 -1165
  59. package/api-services/modules/supplier/index.js +958 -976
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +313 -310
  62. package/api-services/modules/supplychain-manage/index.js +292 -292
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1247 -1232
  65. package/api-services/modules/systemConfiguration/index.js +1042 -1024
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +313 -310
  68. package/api-services/modules/tool/index.js +292 -292
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +311 -308
  71. package/api-services/src/create-service/index.js +291 -291
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +4469 -200
  74. package/common-info/getPermissionMethod/es5.js +4218 -0
  75. package/common-info/getPermissionMethod/index.d.ts +26 -0
  76. package/common-info/getPermissionMethod/index.js +3342 -0
  77. package/common-info/getPermissionMethod/index.js.gz +0 -0
  78. package/common-info/index.d.ts +11 -2
  79. package/common-info/index.js +3539 -168
  80. package/common-info/index.js.gz +0 -0
  81. package/common-info/type.d.ts +0 -2
  82. package/create-api-service/es5.js +1235 -1219
  83. package/create-api-service/index.d.ts +6 -6
  84. package/create-api-service/index.js +1032 -1013
  85. package/create-api-service/index.js.gz +0 -0
  86. package/directive/auth/es5.js +62 -50
  87. package/directive/auth/index.js +39 -38
  88. package/directive/auth/index.js.gz +0 -0
  89. package/esm-map.json +9 -1
  90. package/hooks/use-get-auth/es5.js +13 -17
  91. package/hooks/use-get-auth/index.js +10 -13
  92. package/package.json +3 -3
  93. package/hooks/use-get-auth/apis.d.ts +0 -1
@@ -366,10 +366,10 @@ var ua = function ua(t) {
366
366
  asap: da,
367
367
  isIterable: ya
368
368
  };
369
- function E(t, e, n, r, o) {
369
+ function S(t, e, n, r, o) {
370
370
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
371
371
  }
372
- p.inherits(E, Error, {
372
+ p.inherits(S, Error, {
373
373
  toJSON: function toJSON() {
374
374
  return {
375
375
  // Standard
@@ -390,7 +390,7 @@ p.inherits(E, Error, {
390
390
  };
391
391
  }
392
392
  });
393
- var En = E.prototype,
393
+ var En = S.prototype,
394
394
  On = {};
395
395
  ["ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL"
396
396
  // eslint-disable-next-line func-names
@@ -399,17 +399,17 @@ var En = E.prototype,
399
399
  value: t
400
400
  };
401
401
  });
402
- Object.defineProperties(E, On);
402
+ Object.defineProperties(S, On);
403
403
  Object.defineProperty(En, "isAxiosError", {
404
404
  value: true
405
405
  });
406
- E.from = function (t, e, n, r, o, a) {
406
+ S.from = function (t, e, n, r, o, a) {
407
407
  var i = Object.create(En);
408
408
  return p.toFlatObject(t, i, function (u) {
409
409
  return u !== Error.prototype;
410
410
  }, function (s) {
411
411
  return s !== "isAxiosError";
412
- }), E.call(i, t.message, e, n, r, o), i.cause = t, i.name = t.name, a && Object.assign(i, a), i;
412
+ }), S.call(i, t.message, e, n, r, o), i.cause = t, i.name = t.name, a && Object.assign(i, a), i;
413
413
  };
414
414
  var ma = null;
415
415
  function zt(t) {
@@ -448,13 +448,13 @@ function st(t, e, n) {
448
448
  if (y === null) return "";
449
449
  if (p.isDate(y)) return y.toISOString();
450
450
  if (p.isBoolean(y)) return y.toString();
451
- if (!u && p.isBlob(y)) throw new E("Blob is not supported. Use a Buffer instead.");
451
+ if (!u && p.isBlob(y)) throw new S("Blob is not supported. Use a Buffer instead.");
452
452
  return p.isArrayBuffer(y) || p.isTypedArray(y) ? u && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
453
453
  }
454
454
  function c(y, h, m) {
455
- var S = y;
455
+ var E = y;
456
456
  if (y && !m && _typeof(y) == "object") {
457
- if (p.endsWith(h, "{}")) h = r ? h : h.slice(0, -2), y = JSON.stringify(y);else if (p.isArray(y) && ha(y) || (p.isFileList(y) || p.endsWith(h, "[]")) && (S = p.toArray(y))) return h = An(h), S.forEach(function (g, x) {
457
+ if (p.endsWith(h, "{}")) h = r ? h : h.slice(0, -2), y = JSON.stringify(y);else if (p.isArray(y) && ha(y) || (p.isFileList(y) || p.endsWith(h, "[]")) && (E = p.toArray(y))) return h = An(h), E.forEach(function (g, x) {
458
458
  !(p.isUndefined(g) || g === null) && e.append(
459
459
  // eslint-disable-next-line no-nested-ternary
460
460
  i === true ? wr([h], x, a) : i === null ? h : h + "[]", l(g));
@@ -471,8 +471,8 @@ function st(t, e, n) {
471
471
  function v(y, h) {
472
472
  if (!p.isUndefined(y)) {
473
473
  if (f.indexOf(y) !== -1) throw Error("Circular reference detected in " + h.join("."));
474
- f.push(y), p.forEach(y, function (S, T) {
475
- (!(p.isUndefined(S) || S === null) && o.call(e, S, p.isString(T) ? T.trim() : T, h, d)) === true && v(S, h ? h.concat(T) : [T]);
474
+ f.push(y), p.forEach(y, function (E, A) {
475
+ (!(p.isUndefined(E) || E === null) && o.call(e, E, p.isString(A) ? A.trim() : A, h, d)) === true && v(E, h ? h.concat(A) : [A]);
476
476
  }), f.pop();
477
477
  }
478
478
  }
@@ -702,7 +702,7 @@ var Fe = {
702
702
  try {
703
703
  return JSON.parse(e);
704
704
  } catch (s) {
705
- if (i) throw s.name === "SyntaxError" ? E.from(s, E.ERR_BAD_RESPONSE, this, null, this.response) : s;
705
+ if (i) throw s.name === "SyntaxError" ? S.from(s, S.ERR_BAD_RESPONSE, this, null, this.response) : s;
706
706
  }
707
707
  }
708
708
  return e;
@@ -986,14 +986,14 @@ function $n(t) {
986
986
  return !!(t && t.__CANCEL__);
987
987
  }
988
988
  function Ee(t, e, n) {
989
- E.call(this, t !== null && t !== void 0 ? t : "canceled", E.ERR_CANCELED, e, n), this.name = "CanceledError";
989
+ S.call(this, t !== null && t !== void 0 ? t : "canceled", S.ERR_CANCELED, e, n), this.name = "CanceledError";
990
990
  }
991
- p.inherits(Ee, E, {
991
+ p.inherits(Ee, S, {
992
992
  __CANCEL__: true
993
993
  });
994
994
  function Cn(t, e, n) {
995
995
  var r = n.config.validateStatus;
996
- !n.status || !r || r(n.status) ? t(n) : e(new E("Request failed with status code " + n.status, [E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n));
996
+ !n.status || !r || r(n.status) ? t(n) : e(new S("Request failed with status code " + n.status, [S.ERR_BAD_REQUEST, S.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n));
997
997
  }
998
998
  function La(t) {
999
999
  var e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
@@ -1238,10 +1238,10 @@ var Nn = function Nn(t) {
1238
1238
  }
1239
1239
  var m = new XMLHttpRequest();
1240
1240
  m.open(o.method.toUpperCase(), o.url, true), m.timeout = o.timeout;
1241
- function S() {
1241
+ function E() {
1242
1242
  if (!m) return;
1243
1243
  var g = H.from("getAllResponseHeaders" in m && m.getAllResponseHeaders()),
1244
- P = {
1244
+ $ = {
1245
1245
  data: !s || s === "text" || s === "json" ? m.responseText : m.response,
1246
1246
  status: m.status,
1247
1247
  statusText: m.statusText,
@@ -1253,26 +1253,26 @@ var Nn = function Nn(t) {
1253
1253
  n(L), h();
1254
1254
  }, function (L) {
1255
1255
  r(L), h();
1256
- }, P), m = null;
1256
+ }, $), m = null;
1257
1257
  }
1258
- "onloadend" in m ? m.onloadend = S : m.onreadystatechange = function () {
1259
- !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(S);
1258
+ "onloadend" in m ? m.onloadend = E : m.onreadystatechange = function () {
1259
+ !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(E);
1260
1260
  }, m.onabort = function () {
1261
- m && (r(new E("Request aborted", E.ECONNABORTED, t, m)), m = null);
1261
+ m && (r(new S("Request aborted", S.ECONNABORTED, t, m)), m = null);
1262
1262
  }, m.onerror = function () {
1263
- r(new E("Network Error", E.ERR_NETWORK, t, m)), m = null;
1263
+ r(new S("Network Error", S.ERR_NETWORK, t, m)), m = null;
1264
1264
  }, m.ontimeout = function () {
1265
1265
  var x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1266
- var P = o.transitional || Tn;
1267
- o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new E(x, P.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED, t, m)), m = null;
1268
- }, a === undefined && i.setContentType(null), "setRequestHeader" in m && p.forEach(i.toJSON(), function (x, P) {
1269
- m.setRequestHeader(P, x);
1266
+ var $ = o.transitional || Tn;
1267
+ o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new S(x, $.clarifyTimeoutError ? S.ETIMEDOUT : S.ECONNABORTED, t, m)), m = null;
1268
+ }, a === undefined && i.setContentType(null), "setRequestHeader" in m && p.forEach(i.toJSON(), function (x, $) {
1269
+ m.setRequestHeader($, x);
1270
1270
  }), p.isUndefined(o.withCredentials) || (m.withCredentials = !!o.withCredentials), s && s !== "json" && (m.responseType = o.responseType), l && (_Qe = Qe(l, true), _Qe2 = _slicedToArray(_Qe, 2), d = _Qe2[0], y = _Qe2[1], m.addEventListener("progress", d)), u && m.upload && (_Qe3 = Qe(u), _Qe4 = _slicedToArray(_Qe3, 2), f = _Qe4[0], v = _Qe4[1], m.upload.addEventListener("progress", f), m.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = function c(g) {
1271
1271
  m && (r(!g || g.type ? new Ee(null, t, m) : g), m.abort(), m = null);
1272
1272
  }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
1273
- var T = La(o.url);
1274
- if (T && B.protocols.indexOf(T) === -1) {
1275
- r(new E("Unsupported protocol " + T + ":", E.ERR_BAD_REQUEST, t));
1273
+ var A = La(o.url);
1274
+ if (A && B.protocols.indexOf(A) === -1) {
1275
+ r(new S("Unsupported protocol " + A + ":", S.ERR_BAD_REQUEST, t));
1276
1276
  return;
1277
1277
  }
1278
1278
  m.send(a || null);
@@ -1288,11 +1288,11 @@ var Nn = function Nn(t) {
1288
1288
  if (!o) {
1289
1289
  o = true, s();
1290
1290
  var c = l instanceof Error ? l : this.reason;
1291
- r.abort(c instanceof E ? c : new Ee(c instanceof Error ? c.message : c));
1291
+ r.abort(c instanceof S ? c : new Ee(c instanceof Error ? c.message : c));
1292
1292
  }
1293
1293
  };
1294
1294
  var i = e && setTimeout(function () {
1295
- i = null, a(new E("timeout ".concat(e, " of ms exceeded"), E.ETIMEDOUT));
1295
+ i = null, a(new S("timeout ".concat(e, " of ms exceeded"), S.ETIMEDOUT));
1296
1296
  }, e);
1297
1297
  var s = function s() {
1298
1298
  t && (i && clearTimeout(i), i = null, t.forEach(function (l) {
@@ -1565,7 +1565,7 @@ lt && function (t) {
1565
1565
  !Xe[e] && (Xe[e] = p.isFunction(t[e]) ? function (n) {
1566
1566
  return n[e]();
1567
1567
  } : function (n, r) {
1568
- throw new E("Response type '".concat(e, "' is not supported"), E.ERR_NOT_SUPPORT, r);
1568
+ throw new S("Response type '".concat(e, "' is not supported"), S.ERR_NOT_SUPPORT, r);
1569
1569
  });
1570
1570
  });
1571
1571
  }(new Response());
@@ -1638,7 +1638,7 @@ var Ya = /*#__PURE__*/function () {
1638
1638
  }(),
1639
1639
  ei = lt && (/*#__PURE__*/function () {
1640
1640
  var _ref14 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(t) {
1641
- var _Nn, e, n, r, o, a, i, s, u, l, c, _Nn$withCredentials, f, d, v, y, h, m, P, M, _Or, _Or2, L, W, S, T, g, _P, _M, _ref15, _ref16, _L, _W, x, _t7, _t8, _t9;
1641
+ var _Nn, e, n, r, o, a, i, s, u, l, c, _Nn$withCredentials, f, d, v, y, h, m, $, M, _Or, _Or2, L, W, E, A, g, _$, _M, _ref15, _ref16, _L, _W, x, _t7, _t8, _t9;
1642
1642
  return _regenerator().w(function (_context8) {
1643
1643
  while (1) switch (_context8.p = _context8.n) {
1644
1644
  case 0:
@@ -1664,54 +1664,54 @@ var Ya = /*#__PURE__*/function () {
1664
1664
  _context8.n = 4;
1665
1665
  break;
1666
1666
  }
1667
- P = new Request(e, {
1667
+ $ = new Request(e, {
1668
1668
  method: "POST",
1669
1669
  body: r,
1670
1670
  duplex: "half"
1671
1671
  });
1672
- if (p.isFormData(r) && (M = P.headers.get("content-type")) && c.setContentType(M), P.body) {
1672
+ if (p.isFormData(r) && (M = $.headers.get("content-type")) && c.setContentType(M), $.body) {
1673
1673
  _Or = Or(m, Qe(Ar(u))), _Or2 = _slicedToArray(_Or, 2), L = _Or2[0], W = _Or2[1];
1674
- r = Pr(P.body, Tr, L, W);
1674
+ r = Pr($.body, Tr, L, W);
1675
1675
  }
1676
1676
  case 4:
1677
1677
  p.isString(f) || (f = f ? "include" : "omit");
1678
- S = "credentials" in Request.prototype;
1678
+ E = "credentials" in Request.prototype;
1679
1679
  y = new Request(e, _objectSpread(_objectSpread({}, d), {}, {
1680
1680
  signal: v,
1681
1681
  method: n.toUpperCase(),
1682
1682
  headers: c.normalize().toJSON(),
1683
1683
  body: r,
1684
1684
  duplex: "half",
1685
- credentials: S ? f : void 0
1685
+ credentials: E ? f : void 0
1686
1686
  }));
1687
1687
  _context8.n = 5;
1688
1688
  return fetch(y, d);
1689
1689
  case 5:
1690
- T = _context8.v;
1690
+ A = _context8.v;
1691
1691
  g = Kt && (l === "stream" || l === "response");
1692
1692
  if (Kt && (s || g && h)) {
1693
- _P = {};
1693
+ _$ = {};
1694
1694
  ["status", "statusText", "headers"].forEach(function (J) {
1695
- _P[J] = T[J];
1695
+ _$[J] = A[J];
1696
1696
  });
1697
- _M = p.toFiniteNumber(T.headers.get("content-length")), _ref15 = s && Or(_M, Qe(Ar(s), !0)) || [], _ref16 = _slicedToArray(_ref15, 2), _L = _ref16[0], _W = _ref16[1];
1698
- T = new Response(Pr(T.body, Tr, _L, function () {
1697
+ _M = p.toFiniteNumber(A.headers.get("content-length")), _ref15 = s && Or(_M, Qe(Ar(s), !0)) || [], _ref16 = _slicedToArray(_ref15, 2), _L = _ref16[0], _W = _ref16[1];
1698
+ A = new Response(Pr(A.body, Tr, _L, function () {
1699
1699
  _W && _W(), h && h();
1700
- }), _P);
1700
+ }), _$);
1701
1701
  }
1702
1702
  l = l || "text";
1703
1703
  _context8.n = 6;
1704
- return Xe[p.findKey(Xe, l) || "text"](T, t);
1704
+ return Xe[p.findKey(Xe, l) || "text"](A, t);
1705
1705
  case 6:
1706
1706
  x = _context8.v;
1707
1707
  !g && h && h();
1708
1708
  _context8.n = 7;
1709
- return new Promise(function (P, M) {
1710
- Cn(P, M, {
1709
+ return new Promise(function ($, M) {
1710
+ Cn($, M, {
1711
1711
  data: x,
1712
- headers: H.from(T.headers),
1713
- status: T.status,
1714
- statusText: T.statusText,
1712
+ headers: H.from(A.headers),
1713
+ status: A.status,
1714
+ statusText: A.statusText,
1715
1715
  config: t,
1716
1716
  request: y
1717
1717
  });
@@ -1721,9 +1721,9 @@ var Ya = /*#__PURE__*/function () {
1721
1721
  case 8:
1722
1722
  _context8.p = 8;
1723
1723
  _t9 = _context8.v;
1724
- throw h && h(), _t9 && _t9.name === "TypeError" && /Load failed|fetch/i.test(_t9.message) ? Object.assign(new E("Network Error", E.ERR_NETWORK, t, y), {
1724
+ throw h && h(), _t9 && _t9.name === "TypeError" && /Load failed|fetch/i.test(_t9.message) ? Object.assign(new S("Network Error", S.ERR_NETWORK, t, y), {
1725
1725
  cause: _t9.cause || _t9
1726
- }) : E.from(_t9, _t9 && _t9.code, t, y);
1726
+ }) : S.from(_t9, _t9 && _t9.code, t, y);
1727
1727
  case 9:
1728
1728
  return _context8.a(2);
1729
1729
  }
@@ -1766,7 +1766,7 @@ var xr = function xr(t) {
1766
1766
  for (var a = 0; a < e; a++) {
1767
1767
  n = t[a];
1768
1768
  var i = void 0;
1769
- if (r = n, !ti(n) && (r = Gt[(i = String(n)).toLowerCase()], r === undefined)) throw new E("Unknown adapter '".concat(i, "'"));
1769
+ if (r = n, !ti(n) && (r = Gt[(i = String(n)).toLowerCase()], r === undefined)) throw new S("Unknown adapter '".concat(i, "'"));
1770
1770
  if (r) break;
1771
1771
  o[i || "#" + a] = r;
1772
1772
  }
@@ -1778,7 +1778,7 @@ var xr = function xr(t) {
1778
1778
  return "adapter ".concat(s, " ") + (u === false ? "is not supported by the environment" : "is not available in the build");
1779
1779
  });
1780
1780
  var _i2 = e ? _a2.length > 1 ? "since :\n" + _a2.map(xr).join("\n") : " " + xr(_a2[0]) : "as no adapter specified";
1781
- throw new E("There is no suitable adapter to dispatch the request " + _i2, "ERR_NOT_SUPPORT");
1781
+ throw new S("There is no suitable adapter to dispatch the request " + _i2, "ERR_NOT_SUPPORT");
1782
1782
  }
1783
1783
  return r;
1784
1784
  },
@@ -1807,7 +1807,7 @@ ct.transitional = function (e, n, r) {
1807
1807
  return "[Axios v" + Mn + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
1808
1808
  }
1809
1809
  return function (a, i, s) {
1810
- if (e === false) throw new E(o(i, " has been removed" + (n ? " in " + n : "")), E.ERR_DEPRECATED);
1810
+ if (e === false) throw new S(o(i, " has been removed" + (n ? " in " + n : "")), S.ERR_DEPRECATED);
1811
1811
  return n && !Cr[i] && (Cr[i] = true), e ? e(a, i, s) : true;
1812
1812
  };
1813
1813
  };
@@ -1817,7 +1817,7 @@ ct.spelling = function (e) {
1817
1817
  };
1818
1818
  };
1819
1819
  function ri(t, e, n) {
1820
- if (_typeof(t) != "object") throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
1820
+ if (_typeof(t) != "object") throw new S("options must be an object", S.ERR_BAD_OPTION_VALUE);
1821
1821
  var r = Object.keys(t);
1822
1822
  var o = r.length;
1823
1823
  for (; o-- > 0;) {
@@ -1826,10 +1826,10 @@ function ri(t, e, n) {
1826
1826
  if (i) {
1827
1827
  var s = t[a],
1828
1828
  u = s === undefined || i(s, a, t);
1829
- if (u !== true) throw new E("option " + a + " must be " + u, E.ERR_BAD_OPTION_VALUE);
1829
+ if (u !== true) throw new S("option " + a + " must be " + u, S.ERR_BAD_OPTION_VALUE);
1830
1830
  continue;
1831
1831
  }
1832
- if (n !== true) throw new E("Unknown option " + a, E.ERR_BAD_OPTION);
1832
+ if (n !== true) throw new S("Unknown option " + a, S.ERR_BAD_OPTION);
1833
1833
  }
1834
1834
  }
1835
1835
  var We = {
@@ -2165,7 +2165,7 @@ F.CancelToken = ar;
2165
2165
  F.isCancel = $n;
2166
2166
  F.VERSION = Mn;
2167
2167
  F.toFormData = st;
2168
- F.AxiosError = E;
2168
+ F.AxiosError = S;
2169
2169
  F.Cancel = F.CanceledError;
2170
2170
  F.all = function (e) {
2171
2171
  return Promise.all(e);
@@ -2302,14 +2302,14 @@ var Xt = ci,
2302
2302
  if (_typeof(r) > "u" && (r = 0), r >= c && c > 0 && _typeof(e) == "object") return Yt(e) ? "[Array]" : "[Object]";
2303
2303
  var f = Li(a, r);
2304
2304
  if (_typeof(o) > "u") o = [];else if (Hn(o, e) >= 0) return "[Circular]";
2305
- function d($, N, w) {
2305
+ function d(T, N, w) {
2306
2306
  if (N && (o = vi.call(o), o.push(N)), w) {
2307
2307
  var z = {
2308
2308
  depth: a.depth
2309
2309
  };
2310
- return ne(a, "quoteStyle") && (z.quoteStyle = a.quoteStyle), t($, z, r + 1, o);
2310
+ return ne(a, "quoteStyle") && (z.quoteStyle = a.quoteStyle), t(T, z, r + 1, o);
2311
2311
  }
2312
- return t($, a, r + 1, o);
2312
+ return t(T, a, r + 1, o);
2313
2313
  }
2314
2314
  if (typeof e == "function" && !qr(e)) {
2315
2315
  var v = xi(e),
@@ -2321,7 +2321,7 @@ var Xt = ci,
2321
2321
  return _typeof(e) == "object" && !we ? Re(h) : h;
2322
2322
  }
2323
2323
  if (Di(e)) {
2324
- for (var m = "<" + Ir.call(String(e.nodeName)), S = e.attributes || [], T = 0; T < S.length; T++) m += " " + S[T].name + "=" + jn(bi(S[T].value), "double", a);
2324
+ for (var m = "<" + Ir.call(String(e.nodeName)), E = e.attributes || [], A = 0; A < E.length; A++) m += " " + E[A].name + "=" + jn(bi(E[A].value), "double", a);
2325
2325
  return m += ">", e.childNodes && e.childNodes.length && (m += "..."), m += "</" + Ir.call(String(e.nodeName)) + ">", m;
2326
2326
  }
2327
2327
  if (Yt(e)) {
@@ -2340,15 +2340,15 @@ var Xt = ci,
2340
2340
  if (i !== "symbol" && typeof e.inspect == "function") return e.inspect();
2341
2341
  }
2342
2342
  if ($i(e)) {
2343
- var P = [];
2344
- return Nr && Nr.call(e, function ($, N) {
2345
- P.push(d(N, e, true) + " => " + d($, e));
2346
- }), Hr("Map", Ye.call(e), P, f);
2343
+ var $ = [];
2344
+ return Nr && Nr.call(e, function (T, N) {
2345
+ $.push(d(N, e, true) + " => " + d(T, e));
2346
+ }), Hr("Map", Ye.call(e), $, f);
2347
2347
  }
2348
2348
  if (Ni(e)) {
2349
2349
  var M = [];
2350
- return Fr && Fr.call(e, function ($) {
2351
- M.push(d($, e));
2350
+ return Fr && Fr.call(e, function (T) {
2351
+ M.push(d(T, e));
2352
2352
  }), Hr("Set", Ze.call(e), M, f);
2353
2353
  }
2354
2354
  if (Ci(e)) return Ot("WeakMap");
@@ -2365,8 +2365,8 @@ var Xt = ci,
2365
2365
  W = Ur ? Ur(e) === Object.prototype : e instanceof Object || e.constructor === Object,
2366
2366
  J = e instanceof Object ? "" : "null prototype",
2367
2367
  O = !W && xe && Object(e) === e && xe in e ? lr.call(ie(e), 8, -1) : J ? "Object" : "",
2368
- A = W || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "",
2369
- C = A + (O || J ? "[" + re.call(Mr.call([], O || [], J || []), ": ") + "] " : "");
2368
+ R = W || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "",
2369
+ C = R + (O || J ? "[" + re.call(Mr.call([], O || [], J || []), ": ") + "] " : "");
2370
2370
  return L.length === 0 ? C + "{}" : f ? C + "{" + Zt(L, f) + "}" : C + "{ " + re.call(L, ", ") + " }";
2371
2371
  }
2372
2372
  return String(e);
@@ -2728,8 +2728,8 @@ function us() {
2728
2728
  if (typeof l != "function" || e.apply(l) !== r) throw new TypeError(t + l);
2729
2729
  for (var c = a(arguments, 1), f, d = function d() {
2730
2730
  if (this instanceof f) {
2731
- var S = l.apply(this, o(c, arguments));
2732
- return Object(S) === S ? S : this;
2731
+ var E = l.apply(this, o(c, arguments));
2732
+ return Object(E) === E ? E : this;
2733
2733
  }
2734
2734
  return l.apply(u, o(c, arguments));
2735
2735
  }, v = n(0, l.length - c.length), y = [], h = 0; h < v; h++) y[h] = "$" + h;
@@ -2817,7 +2817,7 @@ function Os() {
2817
2817
  n = pt();
2818
2818
  return Dt = n.call(t, e), Dt;
2819
2819
  }
2820
- var R,
2820
+ var P,
2821
2821
  As = Wn,
2822
2822
  Rs = Wi,
2823
2823
  Ps = Ki,
@@ -2862,24 +2862,24 @@ var R,
2862
2862
  Yn = Vn(),
2863
2863
  De = cr(),
2864
2864
  ge = {},
2865
- js = (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" || !I ? R : I(Uint8Array),
2865
+ js = (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" || !I ? P : I(Uint8Array),
2866
2866
  ue = {
2867
2867
  __proto__: null,
2868
- "%AggregateError%": (typeof AggregateError === "undefined" ? "undefined" : _typeof(AggregateError)) > "u" ? R : AggregateError,
2868
+ "%AggregateError%": (typeof AggregateError === "undefined" ? "undefined" : _typeof(AggregateError)) > "u" ? P : AggregateError,
2869
2869
  "%Array%": Array,
2870
- "%ArrayBuffer%": (typeof ArrayBuffer === "undefined" ? "undefined" : _typeof(ArrayBuffer)) > "u" ? R : ArrayBuffer,
2871
- "%ArrayIteratorPrototype%": me && I ? I([][Symbol.iterator]()) : R,
2872
- "%AsyncFromSyncIteratorPrototype%": R,
2870
+ "%ArrayBuffer%": (typeof ArrayBuffer === "undefined" ? "undefined" : _typeof(ArrayBuffer)) > "u" ? P : ArrayBuffer,
2871
+ "%ArrayIteratorPrototype%": me && I ? I([][Symbol.iterator]()) : P,
2872
+ "%AsyncFromSyncIteratorPrototype%": P,
2873
2873
  "%AsyncFunction%": ge,
2874
2874
  "%AsyncGenerator%": ge,
2875
2875
  "%AsyncGeneratorFunction%": ge,
2876
2876
  "%AsyncIteratorPrototype%": ge,
2877
- "%Atomics%": (typeof Atomics === "undefined" ? "undefined" : _typeof(Atomics)) > "u" ? R : Atomics,
2878
- "%BigInt%": (typeof BigInt === "undefined" ? "undefined" : _typeof(BigInt)) > "u" ? R : BigInt,
2879
- "%BigInt64Array%": (typeof BigInt64Array === "undefined" ? "undefined" : _typeof(BigInt64Array)) > "u" ? R : BigInt64Array,
2880
- "%BigUint64Array%": (typeof BigUint64Array === "undefined" ? "undefined" : _typeof(BigUint64Array)) > "u" ? R : BigUint64Array,
2877
+ "%Atomics%": (typeof Atomics === "undefined" ? "undefined" : _typeof(Atomics)) > "u" ? P : Atomics,
2878
+ "%BigInt%": (typeof BigInt === "undefined" ? "undefined" : _typeof(BigInt)) > "u" ? P : BigInt,
2879
+ "%BigInt64Array%": (typeof BigInt64Array === "undefined" ? "undefined" : _typeof(BigInt64Array)) > "u" ? P : BigInt64Array,
2880
+ "%BigUint64Array%": (typeof BigUint64Array === "undefined" ? "undefined" : _typeof(BigUint64Array)) > "u" ? P : BigUint64Array,
2881
2881
  "%Boolean%": Boolean,
2882
- "%DataView%": (typeof DataView === "undefined" ? "undefined" : _typeof(DataView)) > "u" ? R : DataView,
2882
+ "%DataView%": (typeof DataView === "undefined" ? "undefined" : _typeof(DataView)) > "u" ? P : DataView,
2883
2883
  "%Date%": Date,
2884
2884
  "%decodeURI%": decodeURI,
2885
2885
  "%decodeURIComponent%": decodeURIComponent,
@@ -2889,51 +2889,51 @@ var R,
2889
2889
  "%eval%": eval,
2890
2890
  // eslint-disable-line no-eval
2891
2891
  "%EvalError%": Ps,
2892
- "%Float16Array%": (typeof Float16Array === "undefined" ? "undefined" : _typeof(Float16Array)) > "u" ? R : Float16Array,
2893
- "%Float32Array%": (typeof Float32Array === "undefined" ? "undefined" : _typeof(Float32Array)) > "u" ? R : Float32Array,
2894
- "%Float64Array%": (typeof Float64Array === "undefined" ? "undefined" : _typeof(Float64Array)) > "u" ? R : Float64Array,
2895
- "%FinalizationRegistry%": (typeof FinalizationRegistry === "undefined" ? "undefined" : _typeof(FinalizationRegistry)) > "u" ? R : FinalizationRegistry,
2892
+ "%Float16Array%": (typeof Float16Array === "undefined" ? "undefined" : _typeof(Float16Array)) > "u" ? P : Float16Array,
2893
+ "%Float32Array%": (typeof Float32Array === "undefined" ? "undefined" : _typeof(Float32Array)) > "u" ? P : Float32Array,
2894
+ "%Float64Array%": (typeof Float64Array === "undefined" ? "undefined" : _typeof(Float64Array)) > "u" ? P : Float64Array,
2895
+ "%FinalizationRegistry%": (typeof FinalizationRegistry === "undefined" ? "undefined" : _typeof(FinalizationRegistry)) > "u" ? P : FinalizationRegistry,
2896
2896
  "%Function%": Xn,
2897
2897
  "%GeneratorFunction%": ge,
2898
- "%Int8Array%": (typeof Int8Array === "undefined" ? "undefined" : _typeof(Int8Array)) > "u" ? R : Int8Array,
2899
- "%Int16Array%": (typeof Int16Array === "undefined" ? "undefined" : _typeof(Int16Array)) > "u" ? R : Int16Array,
2900
- "%Int32Array%": (typeof Int32Array === "undefined" ? "undefined" : _typeof(Int32Array)) > "u" ? R : Int32Array,
2898
+ "%Int8Array%": (typeof Int8Array === "undefined" ? "undefined" : _typeof(Int8Array)) > "u" ? P : Int8Array,
2899
+ "%Int16Array%": (typeof Int16Array === "undefined" ? "undefined" : _typeof(Int16Array)) > "u" ? P : Int16Array,
2900
+ "%Int32Array%": (typeof Int32Array === "undefined" ? "undefined" : _typeof(Int32Array)) > "u" ? P : Int32Array,
2901
2901
  "%isFinite%": isFinite,
2902
2902
  "%isNaN%": isNaN,
2903
- "%IteratorPrototype%": me && I ? I(I([][Symbol.iterator]())) : R,
2904
- "%JSON%": (typeof JSON === "undefined" ? "undefined" : _typeof(JSON)) == "object" ? JSON : R,
2905
- "%Map%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" ? R : Map,
2906
- "%MapIteratorPrototype%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" || !me || !I ? R : I((/* @__PURE__ */new Map())[Symbol.iterator]()),
2903
+ "%IteratorPrototype%": me && I ? I(I([][Symbol.iterator]())) : P,
2904
+ "%JSON%": (typeof JSON === "undefined" ? "undefined" : _typeof(JSON)) == "object" ? JSON : P,
2905
+ "%Map%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" ? P : Map,
2906
+ "%MapIteratorPrototype%": (typeof Map === "undefined" ? "undefined" : _typeof(Map)) > "u" || !me || !I ? P : I((/* @__PURE__ */new Map())[Symbol.iterator]()),
2907
2907
  "%Math%": Math,
2908
2908
  "%Number%": Number,
2909
2909
  "%Object%": As,
2910
2910
  "%Object.getOwnPropertyDescriptor%": _e,
2911
2911
  "%parseFloat%": parseFloat,
2912
2912
  "%parseInt%": parseInt,
2913
- "%Promise%": (typeof Promise === "undefined" ? "undefined" : _typeof(Promise)) > "u" ? R : Promise,
2914
- "%Proxy%": (typeof Proxy === "undefined" ? "undefined" : _typeof(Proxy)) > "u" ? R : Proxy,
2913
+ "%Promise%": (typeof Promise === "undefined" ? "undefined" : _typeof(Promise)) > "u" ? P : Promise,
2914
+ "%Proxy%": (typeof Proxy === "undefined" ? "undefined" : _typeof(Proxy)) > "u" ? P : Proxy,
2915
2915
  "%RangeError%": Ts,
2916
2916
  "%ReferenceError%": xs,
2917
- "%Reflect%": (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) > "u" ? R : Reflect,
2917
+ "%Reflect%": (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) > "u" ? P : Reflect,
2918
2918
  "%RegExp%": RegExp,
2919
- "%Set%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" ? R : Set,
2920
- "%SetIteratorPrototype%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" || !me || !I ? R : I((/* @__PURE__ */new Set())[Symbol.iterator]()),
2921
- "%SharedArrayBuffer%": (typeof SharedArrayBuffer === "undefined" ? "undefined" : _typeof(SharedArrayBuffer)) > "u" ? R : SharedArrayBuffer,
2919
+ "%Set%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" ? P : Set,
2920
+ "%SetIteratorPrototype%": (typeof Set === "undefined" ? "undefined" : _typeof(Set)) > "u" || !me || !I ? P : I((/* @__PURE__ */new Set())[Symbol.iterator]()),
2921
+ "%SharedArrayBuffer%": (typeof SharedArrayBuffer === "undefined" ? "undefined" : _typeof(SharedArrayBuffer)) > "u" ? P : SharedArrayBuffer,
2922
2922
  "%String%": String,
2923
- "%StringIteratorPrototype%": me && I ? I(""[Symbol.iterator]()) : R,
2924
- "%Symbol%": me ? Symbol : R,
2923
+ "%StringIteratorPrototype%": me && I ? I(""[Symbol.iterator]()) : P,
2924
+ "%Symbol%": me ? Symbol : P,
2925
2925
  "%SyntaxError%": be,
2926
2926
  "%ThrowTypeError%": Us,
2927
2927
  "%TypedArray%": js,
2928
2928
  "%TypeError%": ve,
2929
- "%Uint8Array%": (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" ? R : Uint8Array,
2930
- "%Uint8ClampedArray%": (typeof Uint8ClampedArray === "undefined" ? "undefined" : _typeof(Uint8ClampedArray)) > "u" ? R : Uint8ClampedArray,
2931
- "%Uint16Array%": (typeof Uint16Array === "undefined" ? "undefined" : _typeof(Uint16Array)) > "u" ? R : Uint16Array,
2932
- "%Uint32Array%": (typeof Uint32Array === "undefined" ? "undefined" : _typeof(Uint32Array)) > "u" ? R : Uint32Array,
2929
+ "%Uint8Array%": (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" ? P : Uint8Array,
2930
+ "%Uint8ClampedArray%": (typeof Uint8ClampedArray === "undefined" ? "undefined" : _typeof(Uint8ClampedArray)) > "u" ? P : Uint8ClampedArray,
2931
+ "%Uint16Array%": (typeof Uint16Array === "undefined" ? "undefined" : _typeof(Uint16Array)) > "u" ? P : Uint16Array,
2932
+ "%Uint32Array%": (typeof Uint32Array === "undefined" ? "undefined" : _typeof(Uint32Array)) > "u" ? P : Uint32Array,
2933
2933
  "%URIError%": $s,
2934
- "%WeakMap%": (typeof WeakMap === "undefined" ? "undefined" : _typeof(WeakMap)) > "u" ? R : WeakMap,
2935
- "%WeakRef%": (typeof WeakRef === "undefined" ? "undefined" : _typeof(WeakRef)) > "u" ? R : WeakRef,
2936
- "%WeakSet%": (typeof WeakSet === "undefined" ? "undefined" : _typeof(WeakSet)) > "u" ? R : WeakSet,
2934
+ "%WeakMap%": (typeof WeakMap === "undefined" ? "undefined" : _typeof(WeakMap)) > "u" ? P : WeakMap,
2935
+ "%WeakRef%": (typeof WeakRef === "undefined" ? "undefined" : _typeof(WeakRef)) > "u" ? P : WeakRef,
2936
+ "%WeakSet%": (typeof WeakSet === "undefined" ? "undefined" : _typeof(WeakSet)) > "u" ? P : WeakSet,
2937
2937
  "%Function.prototype.call%": De,
2938
2938
  "%Function.prototype.apply%": Yn,
2939
2939
  "%Object.defineProperty%": Ls,
@@ -3391,25 +3391,25 @@ var Hs = function t(e) {
3391
3391
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || _typeof(e) == "symbol" || typeof e == "bigint";
3392
3392
  },
3393
3393
  kt = {},
3394
- Ul = function t(e, n, r, o, a, i, s, u, l, c, f, d, v, y, h, m, S, T) {
3395
- for (var g = e, x = T, P = 0, M = false; (x = x.get(kt)) !== undefined && !M;) {
3394
+ Ul = function t(e, n, r, o, a, i, s, u, l, c, f, d, v, y, h, m, E, A) {
3395
+ for (var g = e, x = A, $ = 0, M = false; (x = x.get(kt)) !== undefined && !M;) {
3396
3396
  var L = x.get(e);
3397
- if (P += 1, _typeof(L) < "u") {
3398
- if (L === P) throw new RangeError("Cyclic object value");
3397
+ if ($ += 1, _typeof(L) < "u") {
3398
+ if (L === $) throw new RangeError("Cyclic object value");
3399
3399
  M = true;
3400
3400
  }
3401
- _typeof(x.get(kt)) > "u" && (P = 0);
3401
+ _typeof(x.get(kt)) > "u" && ($ = 0);
3402
3402
  }
3403
3403
  if (typeof c == "function" ? g = c(n, g) : g instanceof Date ? g = v(g) : r === "comma" && te(g) && (g = Je.maybeMap(g, function (X) {
3404
3404
  return X instanceof Date ? v(X) : X;
3405
3405
  })), g === null) {
3406
- if (i) return l && !m ? l(n, D.encoder, S, "key", y) : n;
3406
+ if (i) return l && !m ? l(n, D.encoder, E, "key", y) : n;
3407
3407
  g = "";
3408
3408
  }
3409
3409
  if (Ll(g) || Je.isBuffer(g)) {
3410
3410
  if (l) {
3411
- var W = m ? n : l(n, D.encoder, S, "key", y);
3412
- return [h(W) + "=" + h(l(g, D.encoder, S, "value", y))];
3411
+ var W = m ? n : l(n, D.encoder, E, "key", y);
3412
+ return [h(W) + "=" + h(l(g, D.encoder, E, "value", y))];
3413
3413
  }
3414
3414
  return [h(n) + "=" + h(String(g))];
3415
3415
  }
@@ -3419,21 +3419,21 @@ var Hs = function t(e) {
3419
3419
  if (r === "comma" && te(g)) m && l && (g = Je.maybeMap(g, l)), O = [{
3420
3420
  value: g.length > 0 ? g.join(",") || null : undefined
3421
3421
  }];else if (te(c)) O = c;else {
3422
- var A = Object.keys(g);
3423
- O = f ? A.sort(f) : A;
3422
+ var R = Object.keys(g);
3423
+ O = f ? R.sort(f) : R;
3424
3424
  }
3425
3425
  var C = u ? String(n).replace(/\./g, "%2E") : String(n),
3426
- $ = o && te(g) && g.length === 1 ? C + "[]" : C;
3427
- if (a && te(g) && g.length === 0) return $ + "[]";
3426
+ T = o && te(g) && g.length === 1 ? C + "[]" : C;
3427
+ if (a && te(g) && g.length === 0) return T + "[]";
3428
3428
  for (var N = 0; N < O.length; ++N) {
3429
3429
  var w = O[N],
3430
3430
  z = _typeof(w) == "object" && w && _typeof(w.value) < "u" ? w.value : g[w];
3431
3431
  if (!(s && z === null)) {
3432
3432
  var k = d && u ? String(w).replace(/\./g, "%2E") : String(w),
3433
- j = te(g) ? typeof r == "function" ? r($, k) : $ : $ + (d ? "." + k : "[" + k + "]");
3434
- T.set(e, P);
3433
+ j = te(g) ? typeof r == "function" ? r(T, k) : T : T + (d ? "." + k : "[" + k + "]");
3434
+ A.set(e, $);
3435
3435
  var K = ao();
3436
- K.set(kt, T), so(J, t(z, j, r, o, a, i, s, u, r === "comma" && m && te(g) ? null : l, c, f, d, v, y, h, m, S, K));
3436
+ K.set(kt, A), so(J, t(z, j, r, o, a, i, s, u, r === "comma" && m && te(g) ? null : l, c, f, d, v, y, h, m, E, K));
3437
3437
  }
3438
3438
  }
3439
3439
  return J;
@@ -3796,7 +3796,12 @@ var rc = 5e3,
3796
3796
  var t = "/login";
3797
3797
  location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false, (e = window.top) != null && e.vueRouter ? (n = window.top) == null || n.vueRouter.replace(t) : window.location.replace("/#".concat(t)));
3798
3798
  },
3799
- nc = /*#__PURE__*/function () {
3799
+ nc = function nc() {
3800
+ return sso.getQuery("code") || "" || uo ? false : fo() ? (co ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3801
+ redirect_uri: sso.real_uri
3802
+ })) : po(), true) : false;
3803
+ },
3804
+ oc = /*#__PURE__*/function () {
3800
3805
  var _ref22 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
3801
3806
  var _t$data;
3802
3807
  var n;
@@ -3807,13 +3812,13 @@ var rc = 5e3,
3807
3812
  }
3808
3813
  }, _callee0);
3809
3814
  }));
3810
- return function nc(_x11) {
3815
+ return function oc(_x11) {
3811
3816
  return _ref22.apply(this, arguments);
3812
3817
  };
3813
3818
  }(),
3814
- oc = /*#__PURE__*/function () {
3819
+ ac = /*#__PURE__*/function () {
3815
3820
  var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
3816
- var h, m, S, T, _i18nBridge$getI18nBr, n, r, o, a, i, s, u, l, c, _ref24, g, x, P, _ref25, _ref26, _g, _x14, _P2, d, v, y, _t10, _t11, _t12;
3821
+ var y, h, m, E, _i18nBridge$getI18nBr, n, r, o, a, i, s, u, l, _ref24, A, g, x, _ref25, _ref26, _A, _g, _x14, f, d, v, _t10, _t11, _t12;
3817
3822
  return _regenerator().w(function (_context10) {
3818
3823
  while (1) switch (_context10.n) {
3819
3824
  case 0:
@@ -3824,33 +3829,31 @@ var rc = 5e3,
3824
3829
  404: n("接口地址未找到"),
3825
3830
  500: n("服务器内部错误")
3826
3831
  };
3827
- s = ((h = t == null ? undefined : t.response) == null ? undefined : h.data) || {};
3828
- u = sso.getQuery("code") || "", l = s == null ? undefined : s.code, c = (m = t.response) == null ? undefined : m.status;
3829
- if (!(!u && !uo && (l === 401 || c === 401))) {
3832
+ s = ((y = t == null ? undefined : t.response) == null ? undefined : y.data) || {};
3833
+ u = s == null ? undefined : s.code, l = (h = t.response) == null ? undefined : h.status;
3834
+ if (!(u === 401 || l === 401)) {
3830
3835
  _context10.n = 6;
3831
3836
  break;
3832
3837
  }
3833
- fo() && (co ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3834
- redirect_uri: sso.real_uri
3835
- })) : po()), r = l || c, a = s;
3836
- g = (_ref24 = e == null ? undefined : e.i18n) !== null && _ref24 !== void 0 ? _ref24 : true;
3837
- if (!(ln && g && s != null && s.status)) {
3838
+ nc(), r = u || l, a = s;
3839
+ A = (_ref24 = e == null ? undefined : e.i18n) !== null && _ref24 !== void 0 ? _ref24 : true;
3840
+ if (!(ln && A && s != null && s.status)) {
3838
3841
  _context10.n = 4;
3839
3842
  break;
3840
3843
  }
3841
- x = !(s != null && s.data) || !s.data.length ? [] : s.data, P = n.apply(void 0, [s.status].concat(_toConsumableArray(x)));
3842
- if (!(P === s.status)) {
3844
+ g = !(s != null && s.data) || !s.data.length ? [] : s.data, x = n.apply(void 0, [s.status].concat(_toConsumableArray(g)));
3845
+ if (!(x === s.status)) {
3843
3846
  _context10.n = 2;
3844
3847
  break;
3845
3848
  }
3846
3849
  _context10.n = 1;
3847
- return fn(n, s.status, x);
3850
+ return fn(n, s.status, g);
3848
3851
  case 1:
3849
3852
  _t10 = _context10.v;
3850
3853
  _context10.n = 3;
3851
3854
  break;
3852
3855
  case 2:
3853
- _t10 = P;
3856
+ _t10 = x;
3854
3857
  case 3:
3855
3858
  o = _t10;
3856
3859
  _context10.n = 5;
@@ -3871,13 +3874,13 @@ var rc = 5e3,
3871
3874
  break;
3872
3875
  }
3873
3876
  _context10.n = 7;
3874
- return new Promise(function (g) {
3875
- var x = new FileReader();
3876
- x.readAsText(s, "utf-8"), x.onload = function () {
3877
+ return new Promise(function (A) {
3878
+ var g = new FileReader();
3879
+ g.readAsText(s, "utf-8"), g.onload = function () {
3877
3880
  try {
3878
- g(JSON.parse(x.result || "{}"));
3881
+ A(JSON.parse(g.result || "{}"));
3879
3882
  } catch (_unused20) {
3880
- g({
3883
+ A({
3881
3884
  code: 400,
3882
3885
  msg: n("解析错误")
3883
3886
  });
@@ -3892,24 +3895,24 @@ var rc = 5e3,
3892
3895
  break;
3893
3896
  }
3894
3897
  r = s.code, a = s;
3895
- _g = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3896
- if (!(ln && _g && s != null && s.status)) {
3898
+ _A = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3899
+ if (!(ln && _A && s != null && s.status)) {
3897
3900
  _context10.n = 12;
3898
3901
  break;
3899
3902
  }
3900
- _x14 = !(s != null && s.data) || !s.data.length ? [] : s.data, _P2 = n.apply(void 0, [s.status].concat(_toConsumableArray(_x14)));
3901
- if (!(_P2 === s.status)) {
3903
+ _g = !(s != null && s.data) || !s.data.length ? [] : s.data, _x14 = n.apply(void 0, [s.status].concat(_toConsumableArray(_g)));
3904
+ if (!(_x14 === s.status)) {
3902
3905
  _context10.n = 10;
3903
3906
  break;
3904
3907
  }
3905
3908
  _context10.n = 9;
3906
- return fn(n, s.status, _x14);
3909
+ return fn(n, s.status, _g);
3907
3910
  case 9:
3908
3911
  _t12 = _context10.v;
3909
3912
  _context10.n = 11;
3910
3913
  break;
3911
3914
  case 10:
3912
- _t12 = _P2;
3915
+ _t12 = _x14;
3913
3916
  case 11:
3914
3917
  o = _t12;
3915
3918
  _context10.n = 13;
@@ -3929,11 +3932,11 @@ var rc = 5e3,
3929
3932
  t.request ? (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("网络异常,请检查您的网络情况")) : (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("请求配置异常"));
3930
3933
  case 17:
3931
3934
  e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
3932
- d = Date.now(), v = o === cn, y = d - un < tc;
3933
- return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!v || !y) && ((T = (S = window.DasMessage) == null ? undefined : S.error) == null || T.call(S, {
3935
+ f = Date.now(), d = o === cn, v = f - un < tc;
3936
+ return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!d || !v) && ((E = (m = window.DasMessage) == null ? undefined : m.error) == null || E.call(m, {
3934
3937
  message: o,
3935
3938
  showClose: true
3936
- }), cn = o, un = d), _objectSpread(_objectSpread({}, a), {}, {
3939
+ }), cn = o, un = f), _objectSpread(_objectSpread({}, a), {}, {
3937
3940
  code: r,
3938
3941
  msg: o,
3939
3942
  error: t
@@ -3941,7 +3944,7 @@ var rc = 5e3,
3941
3944
  }
3942
3945
  }, _callee1);
3943
3946
  }));
3944
- return function oc(_x12, _x13) {
3947
+ return function ac(_x12, _x13) {
3945
3948
  return _ref23.apply(this, arguments);
3946
3949
  };
3947
3950
  }();
@@ -4006,7 +4009,7 @@ function b(t, e) {
4006
4009
  indices: false
4007
4010
  });
4008
4011
  }
4009
- }), r.onSuccess || (r.onSuccess = nc), r.onError || (r.onError = oc), ((_r$csrf = r.csrf) !== null && _r$csrf !== void 0 ? _r$csrf : false) && (r.headers["csrf-token"] = sn.get("csrf-token"));
4012
+ }), r.onSuccess || (r.onSuccess = oc), r.onError || (r.onError = ac), ((_r$csrf = r.csrf) !== null && _r$csrf !== void 0 ? _r$csrf : false) && (r.headers["csrf-token"] = sn.get("csrf-token"));
4010
4013
  u = r.params || {};
4011
4014
  if (u.project === undefined) {
4012
4015
  _f2 = 0;
@@ -4028,21 +4031,21 @@ function b(t, e) {
4028
4031
  };
4029
4032
  }());
4030
4033
  }
4031
- var ac = "v1",
4032
- kc = b("/api/app-manager/application/".concat(ac)),
4033
- ic = "v1",
4034
- jc = b("/api/license/admin/".concat(ic)),
4034
+ var ic = "v1",
4035
+ jc = b("/api/app-manager/application/".concat(ic)),
4035
4036
  sc = "v1",
4036
- qt = "/api/bems/data-manage/".concat(sc),
4037
- qc = {
4037
+ qc = b("/api/license/admin/".concat(sc)),
4038
+ lc = "v1",
4039
+ qt = "/api/bems/data-manage/".concat(lc),
4040
+ Hc = {
4038
4041
  energyType: b("".concat(qt, "/energy-type")),
4039
4042
  energyObject: b("".concat(qt, "/energy-object")),
4040
4043
  energyDimension: b("".concat(qt, "/energy-dimension"))
4041
4044
  },
4042
- lc = "v1",
4043
- Hc = b("/api/supply/contract/".concat(lc)),
4045
+ cc = "v1",
4046
+ zc = b("/api/supply/contract/".concat(cc)),
4044
4047
  qe = "v1",
4045
- zc = {
4048
+ Wc = {
4046
4049
  classes: b("/api/duty-manage/classes/".concat(qe)),
4047
4050
  // 班次管理
4048
4051
  group: b("/api/duty-manage/group/".concat(qe)),
@@ -4052,25 +4055,25 @@ var ac = "v1",
4052
4055
  shift: b("/api/duty-manage/shift/".concat(qe))
4053
4056
  // 交接班管理
4054
4057
  },
4055
- cc = "v1",
4056
- Wc = b("/api/enterpriseright/permission/".concat(cc)),
4058
+ uc = "v1",
4059
+ Kc = b("/api/enterpriseright/permission/".concat(uc)),
4057
4060
  V = "v1",
4058
- Kc = b("/api/iot/".concat(V)),
4059
- Gc = {
4061
+ Gc = b("/api/iot/".concat(V)),
4062
+ Jc = {
4060
4063
  thingmodel: b("/api/iot-device/thingmodel/".concat(V)),
4061
4064
  deviceManage: b("/api/iot-device/devicemanage/".concat(V)),
4062
4065
  product: b("/api/iot-device/product/".concat(V)),
4063
4066
  productStorage: b("/api/iot-device/product-storage/".concat(V))
4064
4067
  },
4065
- Jc = {
4068
+ Vc = {
4066
4069
  projectDevice: b("/api/device-relation/deviceproject/".concat(V)),
4067
4070
  deviceRules: b("/api/device-relation/devicerule/".concat(V)),
4068
4071
  project: b("/api/device-relation/project/".concat(V))
4069
4072
  },
4070
4073
  dr = b("/api/oss/minio/".concat(V)),
4071
- uc = b("/api/progress/accessor/".concat(V)),
4072
- Vc = b("/api/dms/analysis/".concat(V));
4073
- var fc = function fc() {
4074
+ fc = b("/api/progress/accessor/".concat(V)),
4075
+ Qc = b("/api/dms/analysis/".concat(V));
4076
+ var pc = function pc() {
4074
4077
  var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21;
4075
4078
  var e = "",
4076
4079
  n = crypto.getRandomValues(new Uint8Array(t));
@@ -4080,15 +4083,15 @@ var fc = function fc() {
4080
4083
  }
4081
4084
  return e;
4082
4085
  };
4083
- var pc = dr.get("token"),
4084
- dc = dr.post("put-object", function (t) {
4086
+ var dc = dr.get("token"),
4087
+ yc = dr.post("put-object", function (t) {
4085
4088
  return t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t;
4086
4089
  }),
4087
- yc = dr.post("upload-objects", function (t) {
4090
+ mc = dr.post("upload-objects", function (t) {
4088
4091
  return t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t;
4089
4092
  }),
4090
- mc = uc.get("progress"),
4091
- Qc = function Qc() {
4093
+ hc = fc.get("progress"),
4094
+ Xc = function Xc() {
4092
4095
  var t = vue.ref(false),
4093
4096
  e = vue.ref(""),
4094
4097
  n = vue.ref(0),
@@ -4109,22 +4112,22 @@ var pc = dr.get("token"),
4109
4112
  },
4110
4113
  m = /*#__PURE__*/function () {
4111
4114
  var _ref29 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee11() {
4112
- var _yield$pc$run, _yield$pc$run2, O, A;
4115
+ var _yield$dc$run, _yield$dc$run2, O, R;
4113
4116
  return _regenerator().w(function (_context12) {
4114
4117
  while (1) switch (_context12.n) {
4115
4118
  case 0:
4116
4119
  _context12.n = 1;
4117
- return pc().run();
4120
+ return dc().run();
4118
4121
  case 1:
4119
- _yield$pc$run = _context12.v;
4120
- _yield$pc$run2 = _slicedToArray(_yield$pc$run, 2);
4121
- O = _yield$pc$run2[0];
4122
- A = _yield$pc$run2[1];
4122
+ _yield$dc$run = _context12.v;
4123
+ _yield$dc$run2 = _slicedToArray(_yield$dc$run, 2);
4124
+ O = _yield$dc$run2[0];
4125
+ R = _yield$dc$run2[1];
4123
4126
  return _context12.a(2, O ? {
4124
4127
  stauts: false
4125
4128
  } : {
4126
4129
  status: true,
4127
- data: A
4130
+ data: R
4128
4131
  });
4129
4132
  }
4130
4133
  }, _callee11);
@@ -4133,8 +4136,8 @@ var pc = dr.get("token"),
4133
4136
  return _ref29.apply(this, arguments);
4134
4137
  };
4135
4138
  }(),
4136
- S = function S(O) {
4137
- return new Promise(function (A, C) {
4139
+ E = function E(O) {
4140
+ return new Promise(function (R, C) {
4138
4141
  var N = [];
4139
4142
  var w = 0;
4140
4143
  for (; w < O.size;) {
@@ -4144,12 +4147,12 @@ var pc = dr.get("token"),
4144
4147
  var z = new Blob(N, {
4145
4148
  type: O.type
4146
4149
  });
4147
- A(z);
4150
+ R(z);
4148
4151
  });
4149
4152
  },
4150
- T = /*#__PURE__*/function () {
4151
- var _ref30 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee13(O, A, C) {
4152
- var $,
4153
+ A = /*#__PURE__*/function () {
4154
+ var _ref30 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee13(O, R, C) {
4155
+ var T,
4153
4156
  N,
4154
4157
  w,
4155
4158
  mr,
@@ -4173,10 +4176,10 @@ var pc = dr.get("token"),
4173
4176
  return _regenerator().w(function (_context14) {
4174
4177
  while (1) switch (_context14.n) {
4175
4178
  case 0:
4176
- $ = _args14.length > 3 && _args14[3] !== undefined ? _args14[3] : true;
4179
+ T = _args14.length > 3 && _args14[3] !== undefined ? _args14[3] : true;
4177
4180
  N = _args14.length > 4 && _args14[4] !== undefined ? _args14[4] : "";
4178
4181
  w = _args14.length > 5 && _args14[5] !== undefined ? _args14[5] : false;
4179
- d = N, v.value = "import", $ && (r.value = "normal", n.value = 0, e.value = index.t("导入进度"), t.value = true, i.value = ""), y = A;
4182
+ d = N, v.value = "import", T && (r.value = "normal", n.value = 0, e.value = index.t("导入进度"), t.value = true, i.value = ""), y = R;
4180
4183
  _context14.n = 1;
4181
4184
  return m();
4182
4185
  case 1:
@@ -4188,21 +4191,21 @@ var pc = dr.get("token"),
4188
4191
  return _context14.a(2);
4189
4192
  case 2:
4190
4193
  k = z.data, j = null, K = C.autoContentType, X = C.bucketName, Le = C.importFileName;
4191
- mo = w ? yc : dc;
4194
+ mo = w ? mc : yc;
4192
4195
  if (!w) {
4193
4196
  _context14.n = 4;
4194
4197
  break;
4195
4198
  }
4196
4199
  oe = [];
4197
4200
  _context14.n = 3;
4198
- return A.forEach(/*#__PURE__*/function () {
4201
+ return R.forEach(/*#__PURE__*/function () {
4199
4202
  var _ref31 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee12(Ue) {
4200
4203
  var ht;
4201
4204
  return _regenerator().w(function (_context13) {
4202
4205
  while (1) switch (_context13.n) {
4203
4206
  case 0:
4204
4207
  _context13.n = 1;
4205
- return S(Ue);
4208
+ return E(Ue);
4206
4209
  case 1:
4207
4210
  ht = _context13.v;
4208
4211
  oe.push(ht);
@@ -4221,7 +4224,7 @@ var pc = dr.get("token"),
4221
4224
  j.append("secretAccessKey", k.secretAccessKey);
4222
4225
  j.append("sessionToken", k.sessionToken);
4223
4226
  j.append("bucketName", X);
4224
- A.forEach(function (Ue, ht) {
4227
+ R.forEach(function (Ue, ht) {
4225
4228
  j.append("file", oe[ht]);
4226
4229
  });
4227
4230
  Le.forEach(function (Ue) {
@@ -4231,7 +4234,7 @@ var pc = dr.get("token"),
4231
4234
  break;
4232
4235
  case 4:
4233
4236
  _context14.n = 5;
4234
- return S(A);
4237
+ return E(R);
4235
4238
  case 5:
4236
4239
  _oe = _context14.v;
4237
4240
  j = {
@@ -4258,7 +4261,7 @@ var pc = dr.get("token"),
4258
4261
  return _context14.a(2, t.value = false);
4259
4262
  case 8:
4260
4263
  _context14.n = 9;
4261
- return gc(go.data);
4264
+ return vc(go.data);
4262
4265
  case 9:
4263
4266
  Y = _context14.v;
4264
4267
  if (!(!w && (Y == null ? undefined : Y.statusCode) != 200 || w && Y != null && Y.some(function (oe) {
@@ -4278,7 +4281,7 @@ var pc = dr.get("token"),
4278
4281
  return O == null ? undefined : O(Y);
4279
4282
  case 11:
4280
4283
  mt = _context14.v;
4281
- if (!$) {
4284
+ if (!T) {
4282
4285
  _context14.n = 13;
4283
4286
  break;
4284
4287
  }
@@ -4289,7 +4292,7 @@ var pc = dr.get("token"),
4289
4292
  t.value = false, r.value = "error";
4290
4293
  return _context14.a(2);
4291
4294
  case 12:
4292
- e.value = index.t("导入进度"), t.value = true, P(mt.taskId, "import", "");
4295
+ e.value = index.t("导入进度"), t.value = true, $(mt.taskId, "import", "");
4293
4296
  _context14.n = 15;
4294
4297
  break;
4295
4298
  case 13:
@@ -4309,34 +4312,34 @@ var pc = dr.get("token"),
4309
4312
  }
4310
4313
  }, _callee13);
4311
4314
  }));
4312
- return function T(_x16, _x17, _x18) {
4315
+ return function A(_x16, _x17, _x18) {
4313
4316
  return _ref30.apply(this, arguments);
4314
4317
  };
4315
4318
  }(),
4316
4319
  g = /*#__PURE__*/function () {
4317
4320
  var _ref32 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee14(O) {
4318
- var A,
4321
+ var R,
4319
4322
  C,
4320
- $,
4323
+ T,
4321
4324
  _args15 = arguments;
4322
4325
  return _regenerator().w(function (_context15) {
4323
4326
  while (1) switch (_context15.n) {
4324
4327
  case 0:
4325
- A = _args15.length > 1 && _args15[1] !== undefined ? _args15[1] : "";
4328
+ R = _args15.length > 1 && _args15[1] !== undefined ? _args15[1] : "";
4326
4329
  C = _args15.length > 2 && _args15[2] !== undefined ? _args15[2] : "";
4327
4330
  r.value = "normal", n.value = 0, e.value = C || index.t("导出进度"), t.value = true;
4328
4331
  _context15.n = 1;
4329
4332
  return O == null ? undefined : O();
4330
4333
  case 1:
4331
- $ = _context15.v;
4332
- if ($.status) {
4334
+ T = _context15.v;
4335
+ if (T.status) {
4333
4336
  _context15.n = 2;
4334
4337
  break;
4335
4338
  }
4336
4339
  t.value = false, r.value = "error";
4337
4340
  return _context15.a(2);
4338
4341
  case 2:
4339
- P($.taskId, "action", "");
4342
+ $(T.taskId, "action", "");
4340
4343
  case 3:
4341
4344
  return _context15.a(2);
4342
4345
  }
@@ -4348,18 +4351,18 @@ var pc = dr.get("token"),
4348
4351
  }(),
4349
4352
  x = /*#__PURE__*/function () {
4350
4353
  var _ref33 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee15(O) {
4351
- var A,
4354
+ var R,
4352
4355
  C,
4353
- $,
4356
+ T,
4354
4357
  N,
4355
4358
  _args16 = arguments;
4356
4359
  return _regenerator().w(function (_context16) {
4357
4360
  while (1) switch (_context16.n) {
4358
4361
  case 0:
4359
- A = _args16.length > 1 && _args16[1] !== undefined ? _args16[1] : "";
4362
+ R = _args16.length > 1 && _args16[1] !== undefined ? _args16[1] : "";
4360
4363
  C = _args16.length > 2 && _args16[2] !== undefined ? _args16[2] : "";
4361
- $ = _args16.length > 3 && _args16[3] !== undefined ? _args16[3] : true;
4362
- v.value = "export", $ && (r.value = "normal", n.value = 0, e.value = index.t("导出进度"), t.value = true);
4364
+ T = _args16.length > 3 && _args16[3] !== undefined ? _args16[3] : true;
4365
+ v.value = "export", T && (r.value = "normal", n.value = 0, e.value = index.t("导出进度"), t.value = true);
4363
4366
  _context16.n = 1;
4364
4367
  return O == null ? undefined : O();
4365
4368
  case 1:
@@ -4371,7 +4374,7 @@ var pc = dr.get("token"),
4371
4374
  t.value = false, r.value = "error";
4372
4375
  return _context16.a(2);
4373
4376
  case 2:
4374
- rt().format("YYYYMMDDHHmmss") + "", P(N.taskId, "export", A || "", C);
4377
+ rt().format("YYYYMMDDHHmmss") + "", $(N.taskId, "export", R || "", C);
4375
4378
  case 3:
4376
4379
  return _context16.a(2);
4377
4380
  }
@@ -4381,21 +4384,21 @@ var pc = dr.get("token"),
4381
4384
  return _ref33.apply(this, arguments);
4382
4385
  };
4383
4386
  }(),
4384
- P = /*#__PURE__*/function () {
4385
- var _ref34 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee16(O, A, C) {
4386
- var $,
4387
+ $ = /*#__PURE__*/function () {
4388
+ var _ref34 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee16(O, R, C) {
4389
+ var T,
4387
4390
  _args17 = arguments;
4388
4391
  return _regenerator().w(function (_context17) {
4389
4392
  while (1) switch (_context17.n) {
4390
4393
  case 0:
4391
- $ = _args17.length > 3 && _args17[3] !== undefined ? _args17[3] : "";
4392
- o.value = true, _L2(O, A, C, $), a = setTimeout(function () {}, 50);
4394
+ T = _args17.length > 3 && _args17[3] !== undefined ? _args17[3] : "";
4395
+ o.value = true, _L2(O, R, C, T), a = setTimeout(function () {}, 50);
4393
4396
  case 1:
4394
4397
  return _context17.a(2);
4395
4398
  }
4396
4399
  }, _callee16);
4397
4400
  }));
4398
- return function P(_x22, _x23, _x24) {
4401
+ return function $(_x22, _x23, _x24) {
4399
4402
  return _ref34.apply(this, arguments);
4400
4403
  };
4401
4404
  }(),
@@ -4404,14 +4407,14 @@ var pc = dr.get("token"),
4404
4407
  },
4405
4408
  _L2 = /*#__PURE__*/function () {
4406
4409
  var _ref35 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee17(O) {
4407
- var A,
4410
+ var R,
4408
4411
  C,
4409
- $,
4412
+ T,
4410
4413
  z,
4411
4414
  k,
4412
4415
  j,
4413
- _yield$mc$run,
4414
- _yield$mc$run2,
4416
+ _yield$hc$run,
4417
+ _yield$hc$run2,
4415
4418
  N,
4416
4419
  w,
4417
4420
  K,
@@ -4423,18 +4426,18 @@ var pc = dr.get("token"),
4423
4426
  return _regenerator().w(function (_context18) {
4424
4427
  while (1) switch (_context18.n) {
4425
4428
  case 0:
4426
- A = _args18.length > 1 && _args18[1] !== undefined ? _args18[1] : "export";
4429
+ R = _args18.length > 1 && _args18[1] !== undefined ? _args18[1] : "export";
4427
4430
  C = _args18.length > 2 ? _args18[2] : undefined;
4428
- $ = _args18.length > 3 && _args18[3] !== undefined ? _args18[3] : "";
4431
+ T = _args18.length > 3 && _args18[3] !== undefined ? _args18[3] : "";
4429
4432
  _context18.n = 1;
4430
- return mc("", {
4433
+ return hc("", {
4431
4434
  url: "progress/".concat(O)
4432
4435
  }).run();
4433
4436
  case 1:
4434
- _yield$mc$run = _context18.v;
4435
- _yield$mc$run2 = _slicedToArray(_yield$mc$run, 2);
4436
- N = _yield$mc$run2[0];
4437
- w = _yield$mc$run2[1];
4437
+ _yield$hc$run = _context18.v;
4438
+ _yield$hc$run2 = _slicedToArray(_yield$hc$run, 2);
4439
+ N = _yield$hc$run2[0];
4440
+ w = _yield$hc$run2[1];
4438
4441
  if (!N) {
4439
4442
  _context18.n = 2;
4440
4443
  break;
@@ -4446,7 +4449,7 @@ var pc = dr.get("token"),
4446
4449
  _context18.n = 11;
4447
4450
  break;
4448
4451
  }
4449
- if (!(i.value = w, o.value = false, M(), A == "export")) {
4452
+ if (!(i.value = w, o.value = false, M(), R == "export")) {
4450
4453
  _context18.n = 6;
4451
4454
  break;
4452
4455
  }
@@ -4461,11 +4464,11 @@ var pc = dr.get("token"),
4461
4464
  K = _context18.v;
4462
4465
  X = ((z = K == null ? undefined : K.split("/")) == null ? undefined : z.pop()) || "";
4463
4466
  Le = C || X;
4464
- pn("".concat(config.getConfig().baseURL, "/oss").concat(w.filePath), Le, $), o.value = false;
4467
+ pn("".concat(config.getConfig().baseURL, "/oss").concat(w.filePath), Le, T), o.value = false;
4465
4468
  _context18.n = 5;
4466
4469
  break;
4467
4470
  case 4:
4468
- w.status == 2 && (l.value = w.message || (A == "export" ? index.t("导出失败") : index.t("导入失败")), (k = window.DasMessage) == null || k.error({
4471
+ w.status == 2 && (l.value = w.message || (R == "export" ? index.t("导出失败") : index.t("导入失败")), (k = window.DasMessage) == null || k.error({
4469
4472
  message: l.value,
4470
4473
  grouping: true,
4471
4474
  repeatNum: 1
@@ -4474,7 +4477,7 @@ var pc = dr.get("token"),
4474
4477
  _context18.n = 10;
4475
4478
  break;
4476
4479
  case 6:
4477
- if (!(A == "import")) {
4480
+ if (!(R == "import")) {
4478
4481
  _context18.n = 9;
4479
4482
  break;
4480
4483
  }
@@ -4490,18 +4493,18 @@ var pc = dr.get("token"),
4490
4493
  _X = ((j = _K == null ? undefined : _K.split("/")) == null ? undefined : j.pop()) || "";
4491
4494
  s.value = d || _X, u.value = y.sizeText, l.value = index.t("部分数据校验不通过,请下载附件并修改,重新导入!"), f.value = "".concat(config.getConfig().baseURL, "/oss/").concat(w == null ? undefined : w.filePath);
4492
4495
  case 8:
4493
- W(w.status, A, w.message);
4496
+ W(w.status, R, w.message);
4494
4497
  _context18.n = 10;
4495
4498
  break;
4496
4499
  case 9:
4497
- A == "action" && (r.value = "success");
4500
+ R == "action" && (r.value = "success");
4498
4501
  case 10:
4499
4502
  _context18.n = 12;
4500
4503
  break;
4501
4504
  case 11:
4502
4505
  a && w.status != 2 ? a = setTimeout(function () {
4503
- _L2(O, A, C, $);
4504
- }, 50) : (i.value = w, o.value = false, W(w.status, A, w.message), M(), c.value = true, l.value = (w == null ? undefined : w.message) || "");
4506
+ _L2(O, R, C, T);
4507
+ }, 50) : (i.value = w, o.value = false, W(w.status, R, w.message), M(), c.value = true, l.value = (w == null ? undefined : w.message) || "");
4505
4508
  case 12:
4506
4509
  return _context18.a(2);
4507
4510
  }
@@ -4512,19 +4515,19 @@ var pc = dr.get("token"),
4512
4515
  };
4513
4516
  }(),
4514
4517
  W = function W(O) {
4515
- var A = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "export";
4518
+ var R = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "export";
4516
4519
  var C = arguments.length > 2 ? arguments[2] : undefined;
4517
- var $, N, w;
4518
- O == 1 ? (r.value = "success", ($ = window.DasMessage) == null || $.success({
4519
- message: A == "export" ? index.t("导出成功") : index.t("导入成功"),
4520
+ var T, N, w;
4521
+ O == 1 ? (r.value = "success", (T = window.DasMessage) == null || T.success({
4522
+ message: R == "export" ? index.t("导出成功") : index.t("导入成功"),
4520
4523
  grouping: true,
4521
4524
  repeatNum: 1
4522
4525
  }), s.value = "", u.value = "", l.value = "") : O == 2 ? (r.value = "error", (N = window.DasMessage) == null || N.error({
4523
- message: C || (A == "export" ? index.t("导出失败") : index.t("导入失败")),
4526
+ message: C || (R == "export" ? index.t("导出失败") : index.t("导入失败")),
4524
4527
  grouping: true,
4525
4528
  repeatNum: 1
4526
4529
  }), l.value = C || index.t("部分数据校验不通过,请下载附件并修改,重新导入!")) : O == 3 && (r.value = "error", (w = window.DasMessage) == null || w.error({
4527
- message: A == "export" ? index.t("部分导出失败") : index.t("部分导入失败"),
4530
+ message: R == "export" ? index.t("部分导出失败") : index.t("部分导入失败"),
4528
4531
  grouping: true,
4529
4532
  repeatNum: 1
4530
4533
  }));
@@ -4541,21 +4544,21 @@ var pc = dr.get("token"),
4541
4544
  errorMessage: l,
4542
4545
  errorImport: c,
4543
4546
  errorFilePath: f,
4544
- fileImport: T,
4547
+ fileImport: A,
4545
4548
  fileExport: x,
4546
4549
  fileAction: g,
4547
4550
  generateUniqueName: function generateUniqueName(O) {
4548
- var A = O == null ? undefined : O.match(/(.*?)(\.[^.]*$|$)/),
4549
- C = A.length ? A[2] : "";
4550
- return "".concat(A.length ? A[1] : O).concat(fc()).concat(C);
4551
+ var R = O == null ? undefined : O.match(/(.*?)(\.[^.]*$|$)/),
4552
+ C = R.length ? R[2] : "";
4553
+ return "".concat(R.length ? R[1] : O).concat(pc()).concat(C);
4551
4554
  },
4552
4555
  downloadFile: pn,
4553
4556
  resetStataus: h,
4554
- checkProgress: P,
4557
+ checkProgress: $,
4555
4558
  fileHandleType: v
4556
4559
  };
4557
4560
  },
4558
- hc = function hc(t) {
4561
+ gc = function gc(t) {
4559
4562
  var e = t == null ? undefined : t.toLocaleLowerCase();
4560
4563
  return {
4561
4564
  excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -4590,7 +4593,7 @@ var pc = dr.get("token"),
4590
4593
  var r = new XMLHttpRequest();
4591
4594
  r.open("get", t), r.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), r.responseType = "blob", r.onload = function (o) {
4592
4595
  var a = new Blob([this.response], {
4593
- type: hc(n)
4596
+ type: gc(n)
4594
4597
  }),
4595
4598
  i = URL.createObjectURL(a);
4596
4599
  if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a, e);else {
@@ -4599,7 +4602,7 @@ var pc = dr.get("token"),
4599
4602
  }
4600
4603
  }, r.send();
4601
4604
  },
4602
- gc = function gc(t) {
4605
+ vc = function vc(t) {
4603
4606
  return new Promise(function (e, n) {
4604
4607
  var r = new FileReader();
4605
4608
  r.onload = function (o) {
@@ -4608,81 +4611,81 @@ var pc = dr.get("token"),
4608
4611
  }, r.readAsText(t);
4609
4612
  });
4610
4613
  },
4611
- vc = "v2",
4612
- Xc = b("/api/edge/".concat(vc)),
4614
+ wc = "v2",
4615
+ Yc = b("/api/edge/".concat(wc)),
4613
4616
  yo = "v1",
4614
- Yc = b("/api/justauth/oauth-server/".concat(yo, "/visitor")),
4615
- Zc = b("/api/justauth/oauth-server/".concat(yo)),
4616
- wc = "v1",
4617
- eu = b("/api/knowledge-base/knowledge/".concat(wc)),
4617
+ Zc = b("/api/justauth/oauth-server/".concat(yo, "/visitor")),
4618
+ eu = b("/api/justauth/oauth-server/".concat(yo)),
4618
4619
  bc = "v1",
4619
- tu = b("/api/custom-datasource/custom/".concat(bc)),
4620
+ tu = b("/api/knowledge-base/knowledge/".concat(bc)),
4620
4621
  Sc = "v1",
4621
- ru = b("/api/permission/".concat(Sc)),
4622
+ ru = b("/api/custom-datasource/custom/".concat(Sc)),
4623
+ Ec = "v1",
4624
+ nu = b("/api/permission/".concat(Ec)),
4622
4625
  fe = "v1",
4623
- nu = b("/api/customer/customer/".concat(fe)),
4624
- ou = b("/api/customer/company/".concat(fe)),
4625
- au = b("/api/customer/customer-grade/".concat(fe)),
4626
- iu = b("/api/customer/customer-type/".concat(fe)),
4627
- su = {
4626
+ ou = b("/api/customer/customer/".concat(fe)),
4627
+ au = b("/api/customer/company/".concat(fe)),
4628
+ iu = b("/api/customer/customer-grade/".concat(fe)),
4629
+ su = b("/api/customer/customer-type/".concat(fe)),
4630
+ lu = {
4628
4631
  list: b("/api/project/".concat(fe, "/list")),
4629
4632
  app: b("/api/project/".concat(fe, "/app")),
4630
4633
  people: b("/api/project/".concat(fe, "/people"))
4631
4634
  },
4632
- Ec = "v1",
4633
- lu = b("/api/portal/user/".concat(Ec)),
4634
4635
  Oc = "v1",
4635
- cu = b("/api/space-manage/space-tree/".concat(Oc)),
4636
+ cu = b("/api/portal/user/".concat(Oc)),
4637
+ Ac = "v1",
4638
+ uu = b("/api/space-manage/space-tree/".concat(Ac)),
4636
4639
  yt = "v1",
4637
- uu = b("/api/superadmin/portal/".concat(yt)),
4638
- fu = b("/api/superadmin/permission/".concat(yt)),
4639
- pu = b("/api/superadmin/resource/".concat(yt)),
4640
- du = b("/api/superadmin/license/".concat(yt)),
4640
+ fu = b("/api/superadmin/portal/".concat(yt)),
4641
+ pu = b("/api/superadmin/permission/".concat(yt)),
4642
+ du = b("/api/superadmin/resource/".concat(yt)),
4643
+ yu = b("/api/superadmin/license/".concat(yt)),
4641
4644
  yr = "v1",
4642
- yu = b("/api/supply/supplier/".concat(yr)),
4643
- mu = b("/api/supplier/".concat(yr)),
4644
- hu = b("/api/supplier/".concat(yr, "/classification")),
4645
- Ac = "v1",
4646
- gu = b("/api/supply/brand/".concat(Ac)),
4647
- Rc = "v2",
4648
- vu = b("/api/tool/".concat(Rc)),
4649
- Pc = "v1",
4650
- wu = b("/api/system-config/".concat(Pc));
4651
- exports.analyApi = Vc;
4652
- exports.appManage = kc;
4653
- exports.authentication = jc;
4654
- exports.bemsModules = qc;
4655
- exports.company = ou;
4656
- exports.contract = Hc;
4645
+ mu = b("/api/supply/supplier/".concat(yr)),
4646
+ hu = b("/api/supplier/".concat(yr)),
4647
+ gu = b("/api/supplier/".concat(yr, "/classification")),
4648
+ Rc = "v1",
4649
+ vu = b("/api/supply/brand/".concat(Rc)),
4650
+ Pc = "v2",
4651
+ wu = b("/api/tool/".concat(Pc)),
4652
+ Tc = "v1",
4653
+ bu = b("/api/system-config/".concat(Tc));
4654
+ exports.analyApi = Qc;
4655
+ exports.appManage = jc;
4656
+ exports.authentication = qc;
4657
+ exports.bemsModules = Hc;
4658
+ exports.company = au;
4659
+ exports.contract = zc;
4657
4660
  exports.createService = b;
4658
- exports.customer = nu;
4659
- exports.customerGrade = au;
4660
- exports.customerType = iu;
4661
- exports.daslink = tu;
4661
+ exports.customer = ou;
4662
+ exports.customerGrade = iu;
4663
+ exports.customerType = su;
4664
+ exports.daslink = ru;
4662
4665
  exports.downloadFile = pn;
4663
- exports.dutyModules = zc;
4664
- exports.enterpriseadminBrandModel = gu;
4665
- exports.enterpriseright = Wc;
4666
- exports.gatewayEdge = Xc;
4667
- exports.iot = Kc;
4666
+ exports.dutyModules = Wc;
4667
+ exports.enterpriseadminBrandModel = vu;
4668
+ exports.enterpriseright = Kc;
4669
+ exports.gatewayEdge = Yc;
4670
+ exports.iot = Gc;
4668
4671
  exports.iotMinio = dr;
4669
- exports.iotModules = Gc;
4670
- exports.iotProgress = uc;
4671
- exports.iotRelationModules = Jc;
4672
- exports.justauth = Yc;
4673
- exports.knowledgeBase = eu;
4674
- exports.oauthServer = Zc;
4675
- exports.permission = ru;
4676
- exports.portal = lu;
4677
- exports.projectManage = su;
4678
- exports.spaceManage = cu;
4679
- exports.superadminLicense = du;
4680
- exports.superadminPermission = fu;
4681
- exports.superadminPortal = uu;
4682
- exports.superadminResource = pu;
4683
- exports.supplier = yu;
4684
- exports.supplierClassification = hu;
4685
- exports.supplierManage = mu;
4686
- exports.systemConfiguration = wu;
4687
- exports.tool = vu;
4688
- exports.useFile = Qc;
4672
+ exports.iotModules = Jc;
4673
+ exports.iotProgress = fc;
4674
+ exports.iotRelationModules = Vc;
4675
+ exports.justauth = Zc;
4676
+ exports.knowledgeBase = tu;
4677
+ exports.oauthServer = eu;
4678
+ exports.permission = nu;
4679
+ exports.portal = cu;
4680
+ exports.projectManage = lu;
4681
+ exports.spaceManage = uu;
4682
+ exports.superadminLicense = yu;
4683
+ exports.superadminPermission = pu;
4684
+ exports.superadminPortal = fu;
4685
+ exports.superadminResource = du;
4686
+ exports.supplier = mu;
4687
+ exports.supplierClassification = gu;
4688
+ exports.supplierManage = hu;
4689
+ exports.systemConfiguration = bu;
4690
+ exports.tool = wu;
4691
+ exports.useFile = Xc;