@das-fed/upf-utils 6.4.0-dev.238 → 6.4.0-dev.239

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 (190) hide show
  1. package/api-services/es5.d.ts +2 -0
  2. package/api-services/es5.js +823 -820
  3. package/api-services/i18n/es5.d.ts +63 -0
  4. package/api-services/index.js +642 -644
  5. package/api-services/index.js.gz +0 -0
  6. package/api-services/modules/app-manage/es5.d.ts +2 -0
  7. package/api-services/modules/app-manage/es5.js +25 -19
  8. package/api-services/modules/app-manage/index.js +17 -15
  9. package/api-services/modules/app-manage/index.js.gz +0 -0
  10. package/api-services/modules/authentication/es5.d.ts +2 -0
  11. package/api-services/modules/authentication/es5.js +1100 -1082
  12. package/api-services/modules/authentication/index.js +911 -891
  13. package/api-services/modules/authentication/index.js.gz +0 -0
  14. package/api-services/modules/bems/es5.d.ts +6 -0
  15. package/api-services/modules/bems/es5.js +96 -90
  16. package/api-services/modules/bems/index.js +75 -73
  17. package/api-services/modules/bems/index.js.gz +0 -0
  18. package/api-services/modules/contract/es5.d.ts +2 -0
  19. package/api-services/modules/contract/es5.js +1343 -1325
  20. package/api-services/modules/contract/index.js +1140 -1120
  21. package/api-services/modules/contract/index.js.gz +0 -0
  22. package/api-services/modules/duty-manage/es5.d.ts +7 -0
  23. package/api-services/modules/duty-manage/es5.js +1338 -1344
  24. package/api-services/modules/duty-manage/index.js +1122 -1138
  25. package/api-services/modules/duty-manage/index.js.gz +0 -0
  26. package/api-services/modules/enterpriseright/es5.d.ts +2 -0
  27. package/api-services/modules/enterpriseright/es5.js +1086 -1071
  28. package/api-services/modules/enterpriseright/index.js +892 -876
  29. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  30. package/api-services/modules/es5.d.ts +21 -0
  31. package/api-services/modules/es5.js +1351 -1357
  32. package/api-services/modules/file/es5.d.ts +37 -0
  33. package/api-services/modules/file/es5.js +131 -125
  34. package/api-services/modules/file/index.js +108 -106
  35. package/api-services/modules/file/index.js.gz +0 -0
  36. package/api-services/modules/gateway-edge/es5.d.ts +2 -0
  37. package/api-services/modules/gateway-edge/es5.js +1343 -1325
  38. package/api-services/modules/gateway-edge/index.js +1140 -1120
  39. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  40. package/api-services/modules/index.js +1060 -1076
  41. package/api-services/modules/index.js.gz +0 -0
  42. package/api-services/modules/iot/es5.d.ts +16 -0
  43. package/api-services/modules/iot/es5.js +33 -27
  44. package/api-services/modules/iot/index.js +23 -21
  45. package/api-services/modules/iot/index.js.gz +0 -0
  46. package/api-services/modules/justauth/es5.d.ts +3 -0
  47. package/api-services/modules/justauth/es5.js +25 -19
  48. package/api-services/modules/justauth/index.js +17 -15
  49. package/api-services/modules/justauth/index.js.gz +0 -0
  50. package/api-services/modules/knowledge/es5.d.ts +2 -0
  51. package/api-services/modules/knowledge/es5.js +1337 -1321
  52. package/api-services/modules/knowledge/index.js +1124 -1108
  53. package/api-services/modules/knowledge/index.js.gz +0 -0
  54. package/api-services/modules/link/es5.d.ts +2 -0
  55. package/api-services/modules/link/es5.js +1343 -1325
  56. package/api-services/modules/link/index.js +1140 -1120
  57. package/api-services/modules/link/index.js.gz +0 -0
  58. package/api-services/modules/permission/es5.d.ts +2 -0
  59. package/api-services/modules/permission/es5.js +1100 -1106
  60. package/api-services/modules/permission/index.js +897 -913
  61. package/api-services/modules/permission/index.js.gz +0 -0
  62. package/api-services/modules/platformManage/es5.d.ts +14 -0
  63. package/api-services/modules/platformManage/es5.js +104 -98
  64. package/api-services/modules/platformManage/index.js +83 -81
  65. package/api-services/modules/platformManage/index.js.gz +0 -0
  66. package/api-services/modules/portal/es5.d.ts +2 -0
  67. package/api-services/modules/portal/es5.js +1343 -1349
  68. package/api-services/modules/portal/index.js +1126 -1142
  69. package/api-services/modules/portal/index.js.gz +0 -0
  70. package/api-services/modules/space-manage/es5.d.ts +2 -0
  71. package/api-services/modules/space-manage/es5.js +1343 -1349
  72. package/api-services/modules/space-manage/index.js +1126 -1142
  73. package/api-services/modules/space-manage/index.js.gz +0 -0
  74. package/api-services/modules/super-admin/es5.d.ts +8 -0
  75. package/api-services/modules/super-admin/es5.js +1081 -1084
  76. package/api-services/modules/super-admin/index.js +880 -892
  77. package/api-services/modules/super-admin/index.js.gz +0 -0
  78. package/api-services/modules/supplier/es5.d.ts +6 -0
  79. package/api-services/modules/supplier/es5.js +1081 -1084
  80. package/api-services/modules/supplier/index.js +880 -892
  81. package/api-services/modules/supplier/index.js.gz +0 -0
  82. package/api-services/modules/supplychain-manage/es5.d.ts +2 -0
  83. package/api-services/modules/supplychain-manage/es5.js +1343 -1325
  84. package/api-services/modules/supplychain-manage/index.js +1140 -1120
  85. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  86. package/api-services/modules/systemConfiguration/es5.d.ts +2 -0
  87. package/api-services/modules/systemConfiguration/es5.js +1100 -1106
  88. package/api-services/modules/systemConfiguration/index.js +897 -913
  89. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  90. package/api-services/modules/tool/es5.d.ts +2 -0
  91. package/api-services/modules/tool/es5.js +845 -836
  92. package/api-services/modules/tool/index.js +660 -654
  93. package/api-services/modules/tool/index.js.gz +0 -0
  94. package/api-services/src/create-service/es5.d.ts +1 -0
  95. package/api-services/src/create-service/es5.js +1326 -1332
  96. package/api-services/src/create-service/index.js +1110 -1126
  97. package/api-services/src/create-service/index.js.gz +0 -0
  98. package/atob/es5.d.ts +2 -0
  99. package/common-info/es5.d.ts +48 -0
  100. package/common-info/es5.js +1269 -1331
  101. package/common-info/getIframeUrl/es5.d.ts +9 -0
  102. package/common-info/getInfoFromUrl/es5.d.ts +8 -0
  103. package/common-info/getPermissionMethod/es5.d.ts +77 -0
  104. package/common-info/getPermissionMethod/es5.js +1371 -1355
  105. package/common-info/getPermissionMethod/index.d.ts +27 -9
  106. package/common-info/getPermissionMethod/index.js +1141 -1125
  107. package/common-info/getPermissionMethod/index.js.gz +0 -0
  108. package/common-info/index.d.ts +1 -29
  109. package/common-info/index.js +1046 -1096
  110. package/common-info/index.js.gz +0 -0
  111. package/common-info/set-personal-info/es5.d.ts +5 -0
  112. package/common-info/type.d.ts +2 -2
  113. package/common-tools/arr-tools/es5.d.ts +15 -0
  114. package/common-tools/calc-text-width/es5.d.ts +1 -0
  115. package/common-tools/date-format/es5.d.ts +7 -0
  116. package/common-tools/es5.d.ts +15 -0
  117. package/common-tools/es5.js +9 -0
  118. package/common-tools/extract-file-name/es5.d.ts +1 -0
  119. package/common-tools/get-file-extension/es5.d.ts +6 -0
  120. package/common-tools/get-url-params/es5.d.ts +46 -0
  121. package/common-tools/handle-data/es5.d.ts +34 -0
  122. package/common-tools/handle-data/es5.js +44 -6
  123. package/common-tools/handle-data/index.d.ts +16 -1
  124. package/common-tools/handle-data/index.js +1 -1
  125. package/common-tools/handle-data/index.js.gz +0 -0
  126. package/common-tools/index.d.ts +1 -0
  127. package/common-tools/index.js +1 -0
  128. package/common-tools/nest-tree-format/es5.d.ts +30 -0
  129. package/common-tools/obj-tools/es5.d.ts +7 -0
  130. package/common-tools/platform-tools/es5.d.ts +19 -0
  131. package/common-tools/queue-promise/es5.d.ts +6 -0
  132. package/common-tools/setHtmlMinWH/es5.d.ts +5 -0
  133. package/common-tools/timezone-format/es5.d.ts +28 -0
  134. package/common-tools/timezone-format/es5.js +140 -0
  135. package/common-tools/timezone-format/index.d.ts +28 -0
  136. package/common-tools/timezone-format/index.js +81 -0
  137. package/common-tools/timezone-format/index.js.gz +0 -0
  138. package/common-tools/update-browser-title/es5.d.ts +1 -0
  139. package/common-tools/update-fav-icon/es5.d.ts +11 -0
  140. package/config/es5.d.ts +2 -0
  141. package/create-api-service/access-token-auto-refresh/es5.d.ts +20 -0
  142. package/create-api-service/access-token-auto-refresh/es5.js +27 -26
  143. package/create-api-service/access-token-auto-refresh/index.js +27 -26
  144. package/create-api-service/access-token-auto-refresh/index.js.gz +0 -0
  145. package/create-api-service/check-token/es5.d.ts +12 -0
  146. package/create-api-service/es5.d.ts +8 -0
  147. package/create-api-service/es5.js +24 -18
  148. package/create-api-service/i18n/es5.d.ts +39 -0
  149. package/create-api-service/index.js +17 -15
  150. package/create-api-service/index.js.gz +0 -0
  151. package/create-api-service/proxy-sso/es5.d.ts +3 -0
  152. package/create-api-service/sso/es5.d.ts +21 -0
  153. package/create-api-service/token-refresh-shared/es5.d.ts +30 -0
  154. package/curring-http/es5.d.ts +12 -0
  155. package/dimple-canvas/es5.d.ts +3 -0
  156. package/directive/auth/es5.d.ts +8 -0
  157. package/directive/clickOutside/es5.d.ts +6 -0
  158. package/directive/es5.d.ts +3 -0
  159. package/directive/hoverInside/es5.d.ts +6 -0
  160. package/directive/utils/es5.d.ts +7 -0
  161. package/dom-check-in/es5.d.ts +6 -0
  162. package/dom-watcher/es5.d.ts +25 -0
  163. package/esm-map.json +32 -7
  164. package/hooks/popup-manager/use-zindex/es5.d.ts +3 -0
  165. package/i18n-bridge/es5.d.ts +10 -0
  166. package/index.d.ts +1 -0
  167. package/index.js +1 -0
  168. package/load-js/es5.d.ts +3 -0
  169. package/nextTiken/es5.d.ts +12 -0
  170. package/oss/es5.d.ts +2 -0
  171. package/package.json +4 -3
  172. package/pinyin-first-character/es5.d.ts +2 -0
  173. package/process-engine-info/es5.d.ts +13 -0
  174. package/pure-image-src/es5.d.ts +2 -0
  175. package/size-watcher/es5.d.ts +6 -0
  176. package/style/es5.d.ts +2 -0
  177. package/theme/es5.d.ts +92 -0
  178. package/theme/es5.js +1365 -0
  179. package/theme/index.d.ts +92 -0
  180. package/theme/index.js +871 -0
  181. package/theme/index.js.gz +0 -0
  182. package/token-tools/es5.d.ts +21 -0
  183. package/use-low-code/es5.d.ts +1 -0
  184. package/vue/es5.d.ts +1 -0
  185. package/vue/hooks/use-model-value/es5.d.ts +9 -0
  186. package/webSocket-service/es5.d.ts +41 -0
  187. package/with-install/es5.d.ts +11 -0
  188. package/hooks/use-get-auth/es5.js +0 -67
  189. package/hooks/use-get-auth/index.d.ts +0 -4
  190. package/hooks/use-get-auth/index.js +0 -19
@@ -97,7 +97,7 @@ var xo = lt("string"),
97
97
  var e = Zt(t);
98
98
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(hn in t) && !(it in t);
99
99
  },
100
- $o = function $o(t) {
100
+ _o = function _o(t) {
101
101
  if (!Ue(t) || De(t)) return false;
102
102
  try {
103
103
  return Object.keys(t).length === 0 && Object.getPrototypeOf(t) === Object.prototype;
@@ -105,7 +105,7 @@ var xo = lt("string"),
105
105
  return false;
106
106
  }
107
107
  },
108
- _o = Z("Date"),
108
+ $o = Z("Date"),
109
109
  No = Z("File"),
110
110
  Fo = Z("Blob"),
111
111
  Io = Z("FileList"),
@@ -330,13 +330,13 @@ var ia = function ia(t) {
330
330
  isBoolean: Co,
331
331
  isObject: Ue,
332
332
  isPlainObject: Ge,
333
- isEmptyObject: $o,
333
+ isEmptyObject: _o,
334
334
  isReadableStream: Mo,
335
335
  isRequest: Bo,
336
336
  isResponse: ko,
337
337
  isHeaders: jo,
338
338
  isUndefined: Se,
339
- isDate: _o,
339
+ isDate: $o,
340
340
  isFile: No,
341
341
  isBlob: Fo,
342
342
  isRegExp: ea,
@@ -774,7 +774,7 @@ function Ca(t) {
774
774
  for (; r = n.exec(t);) e[r[1]] = r[2];
775
775
  return e;
776
776
  }
777
- var $a = function $a(t) {
777
+ var _a = function _a(t) {
778
778
  return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
779
779
  };
780
780
  function gt(t, e, n, r, o) {
@@ -784,7 +784,7 @@ function gt(t, e, n, r, o) {
784
784
  if (f.isRegExp(r)) return r.test(e);
785
785
  }
786
786
  }
787
- function _a(t) {
787
+ function $a(t) {
788
788
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, function (e, n, r) {
789
789
  return n.toUpperCase() + r;
790
790
  });
@@ -820,7 +820,7 @@ var z = /*#__PURE__*/function () {
820
820
  return a(c, l, u);
821
821
  });
822
822
  };
823
- if (f.isPlainObject(e) || e instanceof this.constructor) i(e, n);else if (f.isString(e) && (e = e.trim()) && !$a(e)) i(xa(e), n);else if (f.isObject(e) && f.isIterable(e)) {
823
+ if (f.isPlainObject(e) || e instanceof this.constructor) i(e, n);else if (f.isString(e) && (e = e.trim()) && !_a(e)) i(xa(e), n);else if (f.isObject(e) && f.isIterable(e)) {
824
824
  var s = {},
825
825
  u,
826
826
  c;
@@ -901,7 +901,7 @@ var z = /*#__PURE__*/function () {
901
901
  n[i] = Je(o), delete n[a];
902
902
  return;
903
903
  }
904
- var s = e ? _a(a) : String(a).trim();
904
+ var s = e ? $a(a) : String(a).trim();
905
905
  s !== a && delete n[a], n[s] = Je(o), r[s] = true;
906
906
  }), this;
907
907
  }
@@ -1010,7 +1010,7 @@ function Re(t, e, n) {
1010
1010
  f.inherits(Re, S, {
1011
1011
  __CANCEL__: true
1012
1012
  });
1013
- function $n(t, e, n) {
1013
+ function _n(t, e, n) {
1014
1014
  var r = n.config.validateStatus;
1015
1015
  !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));
1016
1016
  }
@@ -1141,7 +1141,7 @@ function Ma(t) {
1141
1141
  function Ba(t, e) {
1142
1142
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
1143
1143
  }
1144
- function _n(t, e, n) {
1144
+ function $n(t, e, n) {
1145
1145
  var r = !Ma(e);
1146
1146
  return t && (r || n == false) ? Ba(t, e) : e;
1147
1147
  }
@@ -1220,7 +1220,7 @@ var Nn = function Nn(t) {
1220
1220
  a = e.xsrfCookieName,
1221
1221
  i = e.headers,
1222
1222
  s = e.auth;
1223
- if (e.headers = i = z.from(i), e.url = Pn(_n(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && i.set("Authorization", "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))), f.isFormData(n)) {
1223
+ if (e.headers = i = z.from(i), e.url = Pn($n(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && i.set("Authorization", "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))), f.isFormData(n)) {
1224
1224
  if (j.hasStandardBrowserEnv || j.hasStandardBrowserWebWorkerEnv) i.setContentType(undefined);else if (f.isFunction(n.getHeaders)) {
1225
1225
  var u = n.getHeaders(),
1226
1226
  c = ["content-type", "content-length"];
@@ -1261,7 +1261,7 @@ var Nn = function Nn(t) {
1261
1261
  function E() {
1262
1262
  if (!h) return;
1263
1263
  var g = z.from("getAllResponseHeaders" in h && h.getAllResponseHeaders()),
1264
- $ = {
1264
+ _ = {
1265
1265
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1266
1266
  status: h.status,
1267
1267
  statusText: h.statusText,
@@ -1269,26 +1269,26 @@ var Nn = function Nn(t) {
1269
1269
  config: t,
1270
1270
  request: h
1271
1271
  };
1272
- $n(function (F) {
1272
+ _n(function (F) {
1273
1273
  n(F), m();
1274
1274
  }, function (F) {
1275
1275
  r(F), m();
1276
- }, $), h = null;
1276
+ }, _), h = null;
1277
1277
  }
1278
1278
  "onloadend" in h ? h.onloadend = E : h.onreadystatechange = function () {
1279
1279
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(E);
1280
1280
  }, h.onabort = function () {
1281
1281
  h && (r(new S("Request aborted", S.ECONNABORTED, t, h)), h = null);
1282
1282
  }, h.onerror = function (P) {
1283
- var $ = P && P.message ? P.message : "Network Error",
1284
- B = new S($, S.ERR_NETWORK, t, h);
1283
+ var _ = P && P.message ? P.message : "Network Error",
1284
+ B = new S(_, S.ERR_NETWORK, t, h);
1285
1285
  B.event = P || null, r(B), h = null;
1286
1286
  }, h.ontimeout = function () {
1287
1287
  var P = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1288
- var $ = o.transitional || Tn;
1289
- o.timeoutErrorMessage && (P = o.timeoutErrorMessage), r(new S(P, $.clarifyTimeoutError ? S.ETIMEDOUT : S.ECONNABORTED, t, h)), h = null;
1290
- }, a === undefined && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function (P, $) {
1291
- h.setRequestHeader($, P);
1288
+ var _ = o.transitional || Tn;
1289
+ o.timeoutErrorMessage && (P = o.timeoutErrorMessage), r(new S(P, _.clarifyTimeoutError ? S.ETIMEDOUT : S.ECONNABORTED, t, h)), h = null;
1290
+ }, a === undefined && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function (P, _) {
1291
+ h.setRequestHeader(_, P);
1292
1292
  }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && (_et = et(c, true), _et2 = _slicedToArray(_et, 2), y = _et2[0], d = _et2[1], h.addEventListener("progress", y)), u && h.upload && (_et3 = et(u), _et4 = _slicedToArray(_et3, 2), p = _et4[0], v = _et4[1], h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = function l(g) {
1293
1293
  h && (r(!g || g.type ? new Re(null, t, h) : g), h.abort(), h = null);
1294
1294
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
@@ -1681,11 +1681,11 @@ var Nn = function Nn(t) {
1681
1681
  }();
1682
1682
  return /*#__PURE__*/function () {
1683
1683
  var _ref15 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(d) {
1684
- var _Nn, m, h, E, T, g, P, $, B, F, Q, _Nn$withCredentials, W, b, O, x, R, C, w, K, ae, _br, _br2, Te, me, _, L, N, q, _K, _ae, _ref16, _ref17, _Te, _me, J, _t8, _t9, _t0;
1684
+ var _Nn, m, h, E, T, g, P, _, B, F, Q, _Nn$withCredentials, W, b, O, x, R, C, w, K, ae, _br, _br2, Te, me, $, L, N, q, _K, _ae, _ref16, _ref17, _Te, _me, J, _t8, _t9, _t0;
1685
1685
  return _regenerator().w(function (_context8) {
1686
1686
  while (1) switch (_context8.p = _context8.n) {
1687
1687
  case 0:
1688
- _Nn = Nn(d), m = _Nn.url, h = _Nn.method, E = _Nn.data, T = _Nn.signal, g = _Nn.cancelToken, P = _Nn.timeout, $ = _Nn.onDownloadProgress, B = _Nn.onUploadProgress, F = _Nn.responseType, Q = _Nn.headers, _Nn$withCredentials = _Nn.withCredentials, W = _Nn$withCredentials === void 0 ? "same-origin" : _Nn$withCredentials, b = _Nn.fetchOptions, O = e || fetch;
1688
+ _Nn = Nn(d), m = _Nn.url, h = _Nn.method, E = _Nn.data, T = _Nn.signal, g = _Nn.cancelToken, P = _Nn.timeout, _ = _Nn.onDownloadProgress, B = _Nn.onUploadProgress, F = _Nn.responseType, Q = _Nn.headers, _Nn$withCredentials = _Nn.withCredentials, W = _Nn$withCredentials === void 0 ? "same-origin" : _Nn$withCredentials, b = _Nn.fetchOptions, O = e || fetch;
1689
1689
  F = F ? (F + "").toLowerCase() : "text";
1690
1690
  x = qa([T, g && g.toAbortSignal()], P), R = null;
1691
1691
  C = x && x.unsubscribe && function () {
@@ -1718,13 +1718,13 @@ var Nn = function Nn(t) {
1718
1718
  }
1719
1719
  case 4:
1720
1720
  f.isString(W) || (W = W ? "include" : "omit");
1721
- _ = a && "credentials" in n.prototype, L = _objectSpread(_objectSpread({}, b), {}, {
1721
+ $ = a && "credentials" in n.prototype, L = _objectSpread(_objectSpread({}, b), {}, {
1722
1722
  signal: x,
1723
1723
  method: h.toUpperCase(),
1724
1724
  headers: Q.normalize().toJSON(),
1725
1725
  body: E,
1726
1726
  duplex: "half",
1727
- credentials: _ ? W : void 0
1727
+ credentials: $ ? W : void 0
1728
1728
  });
1729
1729
  R = a && new n(m, L);
1730
1730
  _context8.n = 5;
@@ -1732,12 +1732,12 @@ var Nn = function Nn(t) {
1732
1732
  case 5:
1733
1733
  N = _context8.v;
1734
1734
  q = l && (F === "stream" || F === "response");
1735
- if (l && ($ || q && C)) {
1735
+ if (l && (_ || q && C)) {
1736
1736
  _K = {};
1737
1737
  ["status", "statusText", "headers"].forEach(function (G) {
1738
1738
  _K[G] = N[G];
1739
1739
  });
1740
- _ae = f.toFiniteNumber(N.headers.get("content-length")), _ref16 = $ && br(_ae, et(Sr($), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _Te = _ref17[0], _me = _ref17[1];
1740
+ _ae = f.toFiniteNumber(N.headers.get("content-length")), _ref16 = _ && br(_ae, et(Sr(_), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _Te = _ref17[0], _me = _ref17[1];
1741
1741
  N = new r(Or(N.body, Ar, _Te, function () {
1742
1742
  _me && _me(), C && C();
1743
1743
  }), _K);
@@ -1750,7 +1750,7 @@ var Nn = function Nn(t) {
1750
1750
  !q && C && C();
1751
1751
  _context8.n = 7;
1752
1752
  return new Promise(function (K, ae) {
1753
- $n(K, ae, {
1753
+ _n(K, ae, {
1754
1754
  data: J,
1755
1755
  headers: z.from(N.headers),
1756
1756
  status: N.status,
@@ -1872,14 +1872,14 @@ var Dn = "1.13.2",
1872
1872
  return _typeof(r) === t || "a" + (e < 1 ? "n " : " ") + t;
1873
1873
  };
1874
1874
  });
1875
- var $r = {};
1875
+ var _r = {};
1876
1876
  ut.transitional = function (e, n, r) {
1877
1877
  function o(a, i) {
1878
1878
  return "[Axios v" + Dn + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
1879
1879
  }
1880
1880
  return function (a, i, s) {
1881
1881
  if (e === false) throw new S(o(i, " has been removed" + (n ? " in " + n : "")), S.ERR_DEPRECATED);
1882
- return n && !$r[i] && ($r[i] = true), e ? e(a, i, s) : true;
1882
+ return n && !_r[i] && (_r[i] = true), e ? e(a, i, s) : true;
1883
1883
  };
1884
1884
  };
1885
1885
  ut.spelling = function (e) {
@@ -2025,7 +2025,7 @@ var fe = /*#__PURE__*/function () {
2025
2025
  key: "getUri",
2026
2026
  value: function getUri(e) {
2027
2027
  e = de(this.defaults, e);
2028
- var n = _n(e.baseURL, e.url, e.allowAbsoluteUrls);
2028
+ var n = $n(e.baseURL, e.url, e.allowAbsoluteUrls);
2029
2029
  return Pn(n, e.params, e.paramsSerializer);
2030
2030
  }
2031
2031
  }]);
@@ -2257,7 +2257,7 @@ D.formToJSON = function (t) {
2257
2257
  D.getAdapter = In.getAdapter;
2258
2258
  D.HttpStatusCode = Wt;
2259
2259
  D["default"] = D;
2260
- var _r = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
2260
+ var $r = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
2261
2261
  function ei(t) {
2262
2262
  return t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t["default"] : t;
2263
2263
  }
@@ -2300,9 +2300,9 @@ var or = typeof Map == "function" && Map.prototype,
2300
2300
  rt = ar && St && typeof St.get == "function" ? St.get : null,
2301
2301
  Fr = ar && Set.prototype.forEach,
2302
2302
  ai = typeof WeakMap == "function" && WeakMap.prototype,
2303
- $e = ai ? WeakMap.prototype.has : null,
2303
+ _e = ai ? WeakMap.prototype.has : null,
2304
2304
  ii = typeof WeakSet == "function" && WeakSet.prototype,
2305
- _e = ii ? WeakSet.prototype.has : null,
2305
+ $e = ii ? WeakSet.prototype.has : null,
2306
2306
  si = typeof WeakRef == "function" && WeakRef.prototype,
2307
2307
  Ir = si ? WeakRef.prototype.deref : null,
2308
2308
  li = Boolean.prototype.valueOf,
@@ -2381,10 +2381,10 @@ var Jt = oi,
2381
2381
  if (_typeof(o) > "u") o = [];else if (qn(o, e) >= 0) return "[Circular]";
2382
2382
  function y(R, C, w) {
2383
2383
  if (C && (o = di.call(o), o.push(C)), w) {
2384
- var _ = {
2384
+ var $ = {
2385
2385
  depth: a.depth
2386
2386
  };
2387
- return oe(a, "quoteStyle") && (_.quoteStyle = a.quoteStyle), t(R, _, r + 1, o);
2387
+ return oe(a, "quoteStyle") && ($.quoteStyle = a.quoteStyle), t(R, $, r + 1, o);
2388
2388
  }
2389
2389
  return t(R, a, r + 1, o);
2390
2390
  }
@@ -2404,7 +2404,7 @@ var Jt = oi,
2404
2404
  if (Vt(e)) {
2405
2405
  if (e.length === 0) return "[]";
2406
2406
  var g = ze(e, y);
2407
- return p && !_i(g) ? "[" + Qt(g, p) + "]" : "[ " + ne.call(g, ", ") + " ]";
2407
+ return p && !$i(g) ? "[" + Qt(g, p) + "]" : "[ " + ne.call(g, ", ") + " ]";
2408
2408
  }
2409
2409
  if (gi(e)) {
2410
2410
  var P = ze(e, y);
@@ -2417,10 +2417,10 @@ var Jt = oi,
2417
2417
  if (i !== "symbol" && typeof e.inspect == "function") return e.inspect();
2418
2418
  }
2419
2419
  if (Ai(e)) {
2420
- var $ = [];
2420
+ var _ = [];
2421
2421
  return Nr && Nr.call(e, function (R, C) {
2422
- $.push(y(C, e, true) + " => " + y(R, e));
2423
- }), Hr("Map", tt.call(e), $, p);
2422
+ _.push(y(C, e, true) + " => " + y(R, e));
2423
+ }), Hr("Map", tt.call(e), _, p);
2424
2424
  }
2425
2425
  if (Ti(e)) {
2426
2426
  var B = [];
@@ -2436,7 +2436,7 @@ var Jt = oi,
2436
2436
  if (bi(e)) return Ce(li.call(e));
2437
2437
  if (vi(e)) return Ce(y(String(e)));
2438
2438
  if ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && e === window) return "{ [object Window] }";
2439
- if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" && e === globalThis || _typeof(_r) < "u" && e === _r) return "{ [object globalThis] }";
2439
+ if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" && e === globalThis || _typeof($r) < "u" && e === $r) return "{ [object globalThis] }";
2440
2440
  if (!mi(e) && !qr(e)) {
2441
2441
  var F = ze(e, y),
2442
2442
  Q = Mr ? Mr(e) === Object.prototype : e instanceof Object || e.constructor === Object,
@@ -2529,11 +2529,11 @@ function Ai(t) {
2529
2529
  return false;
2530
2530
  }
2531
2531
  function Ri(t) {
2532
- if (!$e || !t || _typeof(t) != "object") return false;
2532
+ if (!_e || !t || _typeof(t) != "object") return false;
2533
2533
  try {
2534
- $e.call(t, $e);
2534
+ _e.call(t, _e);
2535
2535
  try {
2536
- _e.call(t, _e);
2536
+ $e.call(t, $e);
2537
2537
  } catch (_unused9) {
2538
2538
  return !0;
2539
2539
  }
@@ -2562,11 +2562,11 @@ function Ti(t) {
2562
2562
  return false;
2563
2563
  }
2564
2564
  function xi(t) {
2565
- if (!_e || !t || _typeof(t) != "object") return false;
2565
+ if (!$e || !t || _typeof(t) != "object") return false;
2566
2566
  try {
2567
- _e.call(t, _e);
2567
+ $e.call(t, $e);
2568
2568
  try {
2569
- $e.call(t, $e);
2569
+ _e.call(t, _e);
2570
2570
  } catch (_unused12) {
2571
2571
  return !0;
2572
2572
  }
@@ -2585,10 +2585,10 @@ function Hn(t, e) {
2585
2585
  }
2586
2586
  var o = yi[e.quoteStyle || "single"];
2587
2587
  o.lastIndex = 0;
2588
- var a = se.call(se.call(t, o, "\\$1"), /[\x00-\x1f]/g, $i);
2588
+ var a = se.call(se.call(t, o, "\\$1"), /[\x00-\x1f]/g, _i);
2589
2589
  return kn(a, "single", e);
2590
2590
  }
2591
- function $i(t) {
2591
+ function _i(t) {
2592
2592
  var e = t.charCodeAt(0),
2593
2593
  n = {
2594
2594
  8: "b",
@@ -2609,7 +2609,7 @@ function Hr(t, e, n, r) {
2609
2609
  var o = r ? Qt(n, r) : ne.call(n, ", ");
2610
2610
  return t + " (" + e + ") {" + o + "}";
2611
2611
  }
2612
- function _i(t) {
2612
+ function $i(t) {
2613
2613
  for (var e = 0; e < t.length; e++) if (qn(t[e], "\n") >= 0) return false;
2614
2614
  return true;
2615
2615
  }
@@ -2824,13 +2824,13 @@ function dt() {
2824
2824
  var t = as();
2825
2825
  return Ct = Function.prototype.bind || t, Ct;
2826
2826
  }
2827
- var $t, Qr;
2827
+ var _t, Qr;
2828
2828
  function sr() {
2829
- return Qr || (Qr = 1, $t = Function.prototype.call), $t;
2829
+ return Qr || (Qr = 1, _t = Function.prototype.call), _t;
2830
2830
  }
2831
- var _t, Xr;
2831
+ var $t, Xr;
2832
2832
  function Jn() {
2833
- return Xr || (Xr = 1, _t = Function.prototype.apply), _t;
2833
+ return Xr || (Xr = 1, $t = Function.prototype.apply), $t;
2834
2834
  }
2835
2835
  var is = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u" && Reflect && Reflect.apply,
2836
2836
  ss = dt(),
@@ -2908,8 +2908,8 @@ var A,
2908
2908
  Ts = Ji,
2909
2909
  xs = Vi,
2910
2910
  Cs = Qi,
2911
- $s = Xi,
2912
- _s = es,
2911
+ _s = Xi,
2912
+ $s = es,
2913
2913
  Qn = Function,
2914
2914
  Dt = function Dt(t) {
2915
2915
  try {
@@ -3020,8 +3020,8 @@ var A,
3020
3020
  "%Math.max%": Ts,
3021
3021
  "%Math.min%": xs,
3022
3022
  "%Math.pow%": Cs,
3023
- "%Math.round%": $s,
3024
- "%Math.sign%": _s,
3023
+ "%Math.round%": _s,
3024
+ "%Math.sign%": $s,
3025
3025
  "%Reflect.getPrototypeOf%": Ds
3026
3026
  };
3027
3027
  if (M) try {
@@ -3434,11 +3434,11 @@ var Ms = function t(e) {
3434
3434
  }
3435
3435
  },
3436
3436
  re = Array.isArray,
3437
- $l = Array.prototype.push,
3437
+ _l = Array.prototype.push,
3438
3438
  io = function io(t, e) {
3439
- $l.apply(t, re(e) ? e : [e]);
3439
+ _l.apply(t, re(e) ? e : [e]);
3440
3440
  },
3441
- _l = Date.prototype.toISOString,
3441
+ $l = Date.prototype.toISOString,
3442
3442
  on = Fe["default"],
3443
3443
  U = {
3444
3444
  addQueryPrefix: false,
@@ -3459,7 +3459,7 @@ var Ms = function t(e) {
3459
3459
  // deprecated
3460
3460
  indices: false,
3461
3461
  serializeDate: function serializeDate(e) {
3462
- return _l.call(e);
3462
+ return $l.call(e);
3463
3463
  },
3464
3464
  skipNulls: false,
3465
3465
  strictNullHandling: false
@@ -3469,13 +3469,13 @@ var Ms = function t(e) {
3469
3469
  },
3470
3470
  kt = {},
3471
3471
  Fl = function t(e, n, r, o, a, i, s, u, c, l, p, y, v, d, m, h, E, T) {
3472
- for (var g = e, P = T, $ = 0, B = false; (P = P.get(kt)) !== undefined && !B;) {
3472
+ for (var g = e, P = T, _ = 0, B = false; (P = P.get(kt)) !== undefined && !B;) {
3473
3473
  var F = P.get(e);
3474
- if ($ += 1, _typeof(F) < "u") {
3475
- if (F === $) throw new RangeError("Cyclic object value");
3474
+ if (_ += 1, _typeof(F) < "u") {
3475
+ if (F === _) throw new RangeError("Cyclic object value");
3476
3476
  B = true;
3477
3477
  }
3478
- _typeof(P.get(kt)) > "u" && ($ = 0);
3478
+ _typeof(P.get(kt)) > "u" && (_ = 0);
3479
3479
  }
3480
3480
  if (typeof l == "function" ? g = l(n, g) : g instanceof Date ? g = v(g) : r === "comma" && re(g) && (g = Ye.maybeMap(g, function (J) {
3481
3481
  return J instanceof Date ? v(J) : J;
@@ -3504,13 +3504,13 @@ var Ms = function t(e) {
3504
3504
  if (a && re(g) && g.length === 0) return R + "[]";
3505
3505
  for (var C = 0; C < b.length; ++C) {
3506
3506
  var w = b[C],
3507
- _ = _typeof(w) == "object" && w && _typeof(w.value) < "u" ? w.value : g[w];
3508
- if (!(s && _ === null)) {
3507
+ $ = _typeof(w) == "object" && w && _typeof(w.value) < "u" ? w.value : g[w];
3508
+ if (!(s && $ === null)) {
3509
3509
  var L = y && u ? String(w).replace(/\./g, "%2E") : String(w),
3510
3510
  N = re(g) ? typeof r == "function" ? r(R, L) : R : R + (y ? "." + L : "[" + L + "]");
3511
- T.set(e, $);
3511
+ T.set(e, _);
3512
3512
  var q = oo();
3513
- q.set(kt, T), io(W, t(_, N, r, o, a, i, s, u, r === "comma" && h && re(g) ? null : c, l, p, y, v, d, m, h, E, q));
3513
+ q.set(kt, T), io(W, t($, N, r, o, a, i, s, u, r === "comma" && h && re(g) ? null : c, l, p, y, v, d, m, h, E, q));
3514
3514
  }
3515
3515
  }
3516
3516
  return W;
@@ -3812,13 +3812,17 @@ var sn = Yt(Vl, {
3812
3812
  });
3813
3813
  at.extend(wo);
3814
3814
  at.extend(bo);
3815
- var ur = config.getConfig(),
3815
+ var Ql = "UTC",
3816
+ Xl = function Xl() {
3817
+ return at.tz.guess() || Ql;
3818
+ },
3819
+ ur = config.getConfig(),
3816
3820
  lo = (_ur$sso = ur.sso) !== null && _ur$sso !== void 0 ? _ur$sso : true,
3817
3821
  ln = (_ur$i18n = ur.i18n) !== null && _ur$i18n !== void 0 ? _ur$i18n : true,
3818
3822
  co = (_ur$noRedireLogin = ur.noRedireLogin) !== null && _ur$noRedireLogin !== void 0 ? _ur$noRedireLogin : false;
3819
3823
  var cn = "",
3820
3824
  un = 0;
3821
- var Ql = 1e3,
3825
+ var Yl = 1e3,
3822
3826
  fn = /*#__PURE__*/function () {
3823
3827
  var _ref22 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(t, e) {
3824
3828
  var n,
@@ -3861,24 +3865,26 @@ var Ql = 1e3,
3861
3865
  };
3862
3866
  }();
3863
3867
  var jt = false;
3864
- var Xl = 5e3,
3868
+ var Zl = 5e3,
3865
3869
  uo = function uo() {
3866
3870
  return jt ? false : (jt = true, setTimeout(function () {
3867
3871
  jt = false;
3868
- }, Xl), true);
3872
+ }, Zl), true);
3869
3873
  },
3870
3874
  fo = function fo() {
3871
- var e, n;
3872
3875
  if (co) return;
3873
3876
  var t = "/login";
3874
- 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)));
3877
+ if (location.pathname === t) return;
3878
+ window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false;
3879
+ var e = window.top;
3880
+ e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace("/#".concat(t));
3875
3881
  },
3876
- Yl = function Yl() {
3882
+ ec = function ec() {
3877
3883
  return sso.getQuery("code") || "" || co ? false : uo() ? (lo ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3878
3884
  redirect_uri: sso.real_uri
3879
3885
  })) : fo(), true) : false;
3880
3886
  },
3881
- Zl = /*#__PURE__*/function () {
3887
+ tc = /*#__PURE__*/function () {
3882
3888
  var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
3883
3889
  var _t$data;
3884
3890
  var n;
@@ -3889,11 +3895,11 @@ var Xl = 5e3,
3889
3895
  }
3890
3896
  }, _callee0);
3891
3897
  }));
3892
- return function Zl(_x11) {
3898
+ return function tc(_x11) {
3893
3899
  return _ref23.apply(this, arguments);
3894
3900
  };
3895
3901
  }(),
3896
- ec = /*#__PURE__*/function () {
3902
+ rc = /*#__PURE__*/function () {
3897
3903
  var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
3898
3904
  var d, m, h, E, _i18nBridge$getI18nBr, n, r, o, a, i, s, u, c, _ref25, T, g, P, _ref26, _ref27, _T, _g, _P, p, y, v, _t11, _t12, _t13;
3899
3905
  return _regenerator().w(function (_context10) {
@@ -3912,7 +3918,7 @@ var Xl = 5e3,
3912
3918
  _context10.n = 6;
3913
3919
  break;
3914
3920
  }
3915
- Yl(), r = u || c, a = s;
3921
+ ec(), r = u || c, a = s;
3916
3922
  T = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3917
3923
  if (!(ln && T && s != null && s.status)) {
3918
3924
  _context10.n = 4;
@@ -4009,7 +4015,7 @@ var Xl = 5e3,
4009
4015
  t.request ? (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("网络异常,请检查您的网络情况")) : (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("请求配置异常"));
4010
4016
  case 17:
4011
4017
  e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
4012
- p = Date.now(), y = o === cn, v = p - un < Ql;
4018
+ p = Date.now(), y = o === cn, v = p - un < Yl;
4013
4019
  return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((E = (h = window.DasMessage) == null ? undefined : h.error) == null || E.call(h, {
4014
4020
  message: o,
4015
4021
  showClose: true
@@ -4021,7 +4027,7 @@ var Xl = 5e3,
4021
4027
  }
4022
4028
  }, _callee1);
4023
4029
  }));
4024
- return function ec(_x12, _x13) {
4030
+ return function rc(_x12, _x13) {
4025
4031
  return _ref24.apply(this, arguments);
4026
4032
  };
4027
4033
  }();
@@ -4086,7 +4092,7 @@ function X(t, e) {
4086
4092
  indices: false
4087
4093
  });
4088
4094
  }
4089
- }), r.onSuccess || (r.onSuccess = Zl), r.onError || (r.onError = ec), ((_r$csrf = r.csrf) !== null && _r$csrf !== void 0 ? _r$csrf : false) && (r.headers["csrf-token"] = sn.get("csrf-token"));
4095
+ }), r.onSuccess || (r.onSuccess = tc), r.onError || (r.onError = rc), ((_r$csrf = r.csrf) !== null && _r$csrf !== void 0 ? _r$csrf : false) && (r.headers["csrf-token"] = sn.get("csrf-token"));
4090
4096
  u = r.params || {};
4091
4097
  if (u.project === undefined) {
4092
4098
  _p = 0;
@@ -4097,7 +4103,7 @@ function X(t, e) {
4097
4103
  _commonInfo$getInstan = commonInfo.getInstanceInfo(), _p2 = _commonInfo$getInstan.instanceInfo;
4098
4104
  _p2 != null && _p2.instanceId && (u.instance = _p2.instanceId);
4099
4105
  }
4100
- r.params = u, r.headers.Timezone = at.tz.guess(), r.headers["X-Origin"] = location.origin;
4106
+ r.params = u, r.headers.Timezone = Xl(), r.headers["X-Origin"] = location.origin;
4101
4107
  l = (_ref29 = o == null ? undefined : o.value) !== null && _ref29 !== void 0 ? _ref29 : "";
4102
4108
  return _context11.a(2, (l && (r.headers["Accept-Language"] = l), l && sn.set("locale", l), r));
4103
4109
  }
@@ -4113,9 +4119,9 @@ X("/api/iot/".concat(Y));
4113
4119
  X("/api/iot-device/thingmodel/".concat(Y)), X("/api/iot-device/devicemanage/".concat(Y)), X("/api/iot-device/product/".concat(Y)), X("/api/iot-device/product-storage/".concat(Y));
4114
4120
  X("/api/device-relation/deviceproject/".concat(Y)), X("/api/device-relation/devicerule/".concat(Y)), X("/api/device-relation/project/".concat(Y));
4115
4121
  var fr = X("/api/oss/minio/".concat(Y)),
4116
- tc = X("/api/progress/accessor/".concat(Y));
4122
+ nc = X("/api/progress/accessor/".concat(Y));
4117
4123
  X("/api/dms/analysis/".concat(Y));
4118
- var rc = function rc() {
4124
+ var oc = function oc() {
4119
4125
  var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21;
4120
4126
  var e = "",
4121
4127
  n = crypto.getRandomValues(new Uint8Array(t));
@@ -4125,15 +4131,15 @@ var rc = function rc() {
4125
4131
  }
4126
4132
  return e;
4127
4133
  };
4128
- var nc = fr.get("token"),
4129
- oc = fr.post("put-object", function (t) {
4134
+ var ac = fr.get("token"),
4135
+ ic = fr.post("put-object", function (t) {
4130
4136
  return t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t;
4131
4137
  }),
4132
- ac = fr.post("upload-objects", function (t) {
4138
+ sc = fr.post("upload-objects", function (t) {
4133
4139
  return t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t;
4134
4140
  }),
4135
- ic = tc.get("progress"),
4136
- Oc = function Oc() {
4141
+ lc = nc.get("progress"),
4142
+ Rc = function Rc() {
4137
4143
  var t = vue.ref(false),
4138
4144
  e = vue.ref(""),
4139
4145
  n = vue.ref(0),
@@ -4154,17 +4160,17 @@ var nc = fr.get("token"),
4154
4160
  },
4155
4161
  h = /*#__PURE__*/function () {
4156
4162
  var _ref30 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee11() {
4157
- var _yield$nc$run, _yield$nc$run2, b, O;
4163
+ var _yield$ac$run, _yield$ac$run2, b, O;
4158
4164
  return _regenerator().w(function (_context12) {
4159
4165
  while (1) switch (_context12.n) {
4160
4166
  case 0:
4161
4167
  _context12.n = 1;
4162
- return nc().run();
4168
+ return ac().run();
4163
4169
  case 1:
4164
- _yield$nc$run = _context12.v;
4165
- _yield$nc$run2 = _slicedToArray(_yield$nc$run, 2);
4166
- b = _yield$nc$run2[0];
4167
- O = _yield$nc$run2[1];
4170
+ _yield$ac$run = _context12.v;
4171
+ _yield$ac$run2 = _slicedToArray(_yield$ac$run, 2);
4172
+ b = _yield$ac$run2[0];
4173
+ O = _yield$ac$run2[1];
4168
4174
  return _context12.a(2, b ? {
4169
4175
  stauts: false
4170
4176
  } : {
@@ -4186,10 +4192,10 @@ var nc = fr.get("token"),
4186
4192
  var L = b.slice(w, w + 1048576);
4187
4193
  C.push(L), w += 1048576;
4188
4194
  }
4189
- var _ = new Blob(C, {
4195
+ var $ = new Blob(C, {
4190
4196
  type: b.type
4191
4197
  });
4192
- O(_);
4198
+ O($);
4193
4199
  });
4194
4200
  },
4195
4201
  T = /*#__PURE__*/function () {
@@ -4199,7 +4205,7 @@ var nc = fr.get("token"),
4199
4205
  w,
4200
4206
  pr,
4201
4207
  dr,
4202
- _,
4208
+ $,
4203
4209
  L,
4204
4210
  N,
4205
4211
  q,
@@ -4225,15 +4231,15 @@ var nc = fr.get("token"),
4225
4231
  _context14.n = 1;
4226
4232
  return h();
4227
4233
  case 1:
4228
- _ = _context14.v;
4229
- if (_.status) {
4234
+ $ = _context14.v;
4235
+ if ($.status) {
4230
4236
  _context14.n = 2;
4231
4237
  break;
4232
4238
  }
4233
4239
  return _context14.a(2);
4234
4240
  case 2:
4235
- L = _.data, N = null, q = x.autoContentType, J = x.bucketName, K = x.importFileName;
4236
- ae = w ? ac : oc;
4241
+ L = $.data, N = null, q = x.autoContentType, J = x.bucketName, K = x.importFileName;
4242
+ ae = w ? sc : ic;
4237
4243
  if (!w) {
4238
4244
  _context14.n = 4;
4239
4245
  break;
@@ -4303,7 +4309,7 @@ var nc = fr.get("token"),
4303
4309
  return _context14.a(2, t.value = false);
4304
4310
  case 8:
4305
4311
  _context14.n = 9;
4306
- return lc(me.data);
4312
+ return uc(me.data);
4307
4313
  case 9:
4308
4314
  G = _context14.v;
4309
4315
  if (!(!w && (G == null ? undefined : G.statusCode) != 200 || w && G != null && G.some(function (ie) {
@@ -4334,7 +4340,7 @@ var nc = fr.get("token"),
4334
4340
  t.value = false, r.value = "error";
4335
4341
  return _context14.a(2);
4336
4342
  case 12:
4337
- e.value = index.t("导入进度"), t.value = true, $(ht.taskId, "import", "");
4343
+ e.value = index.t("导入进度"), t.value = true, _(ht.taskId, "import", "");
4338
4344
  _context14.n = 15;
4339
4345
  break;
4340
4346
  case 13:
@@ -4381,7 +4387,7 @@ var nc = fr.get("token"),
4381
4387
  t.value = false, r.value = "error";
4382
4388
  return _context15.a(2);
4383
4389
  case 2:
4384
- $(R.taskId, "action", "");
4390
+ _(R.taskId, "action", "");
4385
4391
  case 3:
4386
4392
  return _context15.a(2);
4387
4393
  }
@@ -4416,7 +4422,7 @@ var nc = fr.get("token"),
4416
4422
  t.value = false, r.value = "error";
4417
4423
  return _context16.a(2);
4418
4424
  case 2:
4419
- at().format("YYYYMMDDHHmmss") + "", $(C.taskId, "export", O || "", x);
4425
+ at().format("YYYYMMDDHHmmss") + "", _(C.taskId, "export", O || "", x);
4420
4426
  case 3:
4421
4427
  return _context16.a(2);
4422
4428
  }
@@ -4426,7 +4432,7 @@ var nc = fr.get("token"),
4426
4432
  return _ref34.apply(this, arguments);
4427
4433
  };
4428
4434
  }(),
4429
- $ = /*#__PURE__*/function () {
4435
+ _ = /*#__PURE__*/function () {
4430
4436
  var _ref35 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee16(b, O, x) {
4431
4437
  var R,
4432
4438
  _args17 = arguments;
@@ -4440,7 +4446,7 @@ var nc = fr.get("token"),
4440
4446
  }
4441
4447
  }, _callee16);
4442
4448
  }));
4443
- return function $(_x21, _x22, _x23) {
4449
+ return function _(_x21, _x22, _x23) {
4444
4450
  return _ref35.apply(this, arguments);
4445
4451
  };
4446
4452
  }(),
@@ -4452,11 +4458,11 @@ var nc = fr.get("token"),
4452
4458
  var O,
4453
4459
  x,
4454
4460
  R,
4455
- _,
4461
+ $,
4456
4462
  L,
4457
4463
  N,
4458
- _yield$ic$run,
4459
- _yield$ic$run2,
4464
+ _yield$lc$run,
4465
+ _yield$lc$run2,
4460
4466
  C,
4461
4467
  w,
4462
4468
  q,
@@ -4472,14 +4478,14 @@ var nc = fr.get("token"),
4472
4478
  x = _args18.length > 2 ? _args18[2] : undefined;
4473
4479
  R = _args18.length > 3 && _args18[3] !== undefined ? _args18[3] : "";
4474
4480
  _context18.n = 1;
4475
- return ic("", {
4481
+ return lc("", {
4476
4482
  url: "progress/".concat(b)
4477
4483
  }).run();
4478
4484
  case 1:
4479
- _yield$ic$run = _context18.v;
4480
- _yield$ic$run2 = _slicedToArray(_yield$ic$run, 2);
4481
- C = _yield$ic$run2[0];
4482
- w = _yield$ic$run2[1];
4485
+ _yield$lc$run = _context18.v;
4486
+ _yield$lc$run2 = _slicedToArray(_yield$lc$run, 2);
4487
+ C = _yield$lc$run2[0];
4488
+ w = _yield$lc$run2[1];
4483
4489
  if (!C) {
4484
4490
  _context18.n = 2;
4485
4491
  break;
@@ -4504,7 +4510,7 @@ var nc = fr.get("token"),
4504
4510
  return commonTools.extractFilename("/oss/".concat(w == null ? undefined : w.filePath));
4505
4511
  case 3:
4506
4512
  q = _context18.v;
4507
- J = ((_ = q == null ? undefined : q.split("/")) == null ? undefined : _.pop()) || "";
4513
+ J = (($ = q == null ? undefined : q.split("/")) == null ? undefined : $.pop()) || "";
4508
4514
  K = x || J;
4509
4515
  pn("".concat(config.getConfig().baseURL, "/oss").concat(w.filePath), K, R), o.value = false;
4510
4516
  _context18.n = 5;
@@ -4592,15 +4598,15 @@ var nc = fr.get("token"),
4592
4598
  generateUniqueName: function generateUniqueName(b) {
4593
4599
  var O = b == null ? undefined : b.match(/(.*?)(\.[^.]*$|$)/),
4594
4600
  x = O.length ? O[2] : "";
4595
- return "".concat(O.length ? O[1] : b).concat(rc()).concat(x);
4601
+ return "".concat(O.length ? O[1] : b).concat(oc()).concat(x);
4596
4602
  },
4597
4603
  downloadFile: pn,
4598
4604
  resetStataus: m,
4599
- checkProgress: $,
4605
+ checkProgress: _,
4600
4606
  fileHandleType: v
4601
4607
  };
4602
4608
  },
4603
- sc = function sc(t) {
4609
+ cc = function cc(t) {
4604
4610
  var e = t == null ? undefined : t.toLocaleLowerCase();
4605
4611
  return {
4606
4612
  excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -4635,7 +4641,7 @@ var nc = fr.get("token"),
4635
4641
  var r = new XMLHttpRequest();
4636
4642
  r.open("get", t), r.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), r.responseType = "blob", r.onload = function (o) {
4637
4643
  var a = new Blob([this.response], {
4638
- type: sc(n)
4644
+ type: cc(n)
4639
4645
  }),
4640
4646
  i = URL.createObjectURL(a);
4641
4647
  if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a, e);else {
@@ -4644,7 +4650,7 @@ var nc = fr.get("token"),
4644
4650
  }
4645
4651
  }, r.send();
4646
4652
  },
4647
- lc = function lc(t) {
4653
+ uc = function uc(t) {
4648
4654
  return new Promise(function (e, n) {
4649
4655
  var r = new FileReader();
4650
4656
  r.onload = function (o) {
@@ -4654,4 +4660,4 @@ var nc = fr.get("token"),
4654
4660
  });
4655
4661
  };
4656
4662
  exports.downloadFile = pn;
4657
- exports.useFile = Oc;
4663
+ exports.useFile = Rc;