@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
@@ -34,7 +34,7 @@ const xo = lt("string"), H = lt("function"), gn = lt("number"), Ue = (t) => t !=
34
34
  return !1;
35
35
  const e = Zt(t);
36
36
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(hn in t) && !(it in t);
37
- }, $o = (t) => {
37
+ }, _o = (t) => {
38
38
  if (!Ue(t) || De(t))
39
39
  return !1;
40
40
  try {
@@ -42,7 +42,7 @@ const xo = lt("string"), H = lt("function"), gn = lt("number"), Ue = (t) => t !=
42
42
  } catch {
43
43
  return !1;
44
44
  }
45
- }, _o = Z("Date"), No = Z("File"), Fo = Z("Blob"), Io = Z("FileList"), Do = (t) => Ue(t) && H(t.pipe), Uo = (t) => {
45
+ }, $o = Z("Date"), No = Z("File"), Fo = Z("Blob"), Io = Z("FileList"), Do = (t) => Ue(t) && H(t.pipe), Uo = (t) => {
46
46
  let e;
47
47
  return t && (typeof FormData == "function" && t instanceof FormData || H(t.append) && ((e = st(t)) === "formdata" || // detect form-data instance
48
48
  e === "object" && H(t.toString) && t.toString() === "[object FormData]"));
@@ -201,13 +201,13 @@ const ia = (t) => {
201
201
  isBoolean: Co,
202
202
  isObject: Ue,
203
203
  isPlainObject: Ge,
204
- isEmptyObject: $o,
204
+ isEmptyObject: _o,
205
205
  isReadableStream: Mo,
206
206
  isRequest: Bo,
207
207
  isResponse: ko,
208
208
  isHeaders: jo,
209
209
  isUndefined: Se,
210
- isDate: _o,
210
+ isDate: $o,
211
211
  isFile: No,
212
212
  isBlob: Fo,
213
213
  isRegExp: ea,
@@ -661,7 +661,7 @@ function Ca(t) {
661
661
  e[r[1]] = r[2];
662
662
  return e;
663
663
  }
664
- const $a = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
664
+ const _a = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
665
665
  function gt(t, e, n, r, o) {
666
666
  if (f.isFunction(r))
667
667
  return r.call(this, e, n);
@@ -672,7 +672,7 @@ function gt(t, e, n, r, o) {
672
672
  return r.test(e);
673
673
  }
674
674
  }
675
- function _a(t) {
675
+ function $a(t) {
676
676
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
677
677
  }
678
678
  function Na(t, e) {
@@ -702,7 +702,7 @@ class z {
702
702
  const i = (s, u) => f.forEach(s, (c, l) => a(c, l, u));
703
703
  if (f.isPlainObject(e) || e instanceof this.constructor)
704
704
  i(e, n);
705
- else if (f.isString(e) && (e = e.trim()) && !$a(e))
705
+ else if (f.isString(e) && (e = e.trim()) && !_a(e))
706
706
  i(xa(e), n);
707
707
  else if (f.isObject(e) && f.isIterable(e)) {
708
708
  let s = {}, u, c;
@@ -768,7 +768,7 @@ class z {
768
768
  n[i] = Je(o), delete n[a];
769
769
  return;
770
770
  }
771
- const s = e ? _a(a) : String(a).trim();
771
+ const s = e ? $a(a) : String(a).trim();
772
772
  s !== a && delete n[a], n[s] = Je(o), r[s] = !0;
773
773
  }), this;
774
774
  }
@@ -839,7 +839,7 @@ function Re(t, e, n) {
839
839
  f.inherits(Re, S, {
840
840
  __CANCEL__: !0
841
841
  });
842
- function $n(t, e, n) {
842
+ function _n(t, e, n) {
843
843
  const r = n.config.validateStatus;
844
844
  !n.status || !r || r(n.status) ? t(n) : e(new S(
845
845
  "Request failed with status code " + n.status,
@@ -945,7 +945,7 @@ function Ma(t) {
945
945
  function Ba(t, e) {
946
946
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
947
947
  }
948
- function _n(t, e, n) {
948
+ function $n(t, e, n) {
949
949
  let r = !Ma(e);
950
950
  return t && (r || n == !1) ? Ba(t, e) : e;
951
951
  }
@@ -1017,7 +1017,7 @@ function de(t, e) {
1017
1017
  const Nn = (t) => {
1018
1018
  const e = de({}, t);
1019
1019
  let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: a, headers: i, auth: s } = e;
1020
- if (e.headers = i = z.from(i), e.url = Pn(_n(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && i.set(
1020
+ if (e.headers = i = z.from(i), e.url = Pn($n(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && i.set(
1021
1021
  "Authorization",
1022
1022
  "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
1023
1023
  ), f.isFormData(n)) {
@@ -1051,7 +1051,7 @@ const Nn = (t) => {
1051
1051
  return;
1052
1052
  const g = z.from(
1053
1053
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1054
- ), $ = {
1054
+ ), _ = {
1055
1055
  data: !s || s === "text" || s === "json" ? h.responseText : h.response,
1056
1056
  status: h.status,
1057
1057
  statusText: h.statusText,
@@ -1059,30 +1059,30 @@ const Nn = (t) => {
1059
1059
  config: t,
1060
1060
  request: h
1061
1061
  };
1062
- $n(function(F) {
1062
+ _n(function(F) {
1063
1063
  n(F), m();
1064
1064
  }, function(F) {
1065
1065
  r(F), m();
1066
- }, $), h = null;
1066
+ }, _), h = null;
1067
1067
  }
1068
1068
  "onloadend" in h ? h.onloadend = E : h.onreadystatechange = function() {
1069
1069
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(E);
1070
1070
  }, h.onabort = function() {
1071
1071
  h && (r(new S("Request aborted", S.ECONNABORTED, t, h)), h = null);
1072
1072
  }, h.onerror = function(P) {
1073
- const $ = P && P.message ? P.message : "Network Error", B = new S($, S.ERR_NETWORK, t, h);
1073
+ const _ = P && P.message ? P.message : "Network Error", B = new S(_, S.ERR_NETWORK, t, h);
1074
1074
  B.event = P || null, r(B), h = null;
1075
1075
  }, h.ontimeout = function() {
1076
1076
  let P = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
1077
- const $ = o.transitional || Tn;
1077
+ const _ = o.transitional || Tn;
1078
1078
  o.timeoutErrorMessage && (P = o.timeoutErrorMessage), r(new S(
1079
1079
  P,
1080
- $.clarifyTimeoutError ? S.ETIMEDOUT : S.ECONNABORTED,
1080
+ _.clarifyTimeoutError ? S.ETIMEDOUT : S.ECONNABORTED,
1081
1081
  t,
1082
1082
  h
1083
1083
  )), h = null;
1084
- }, a === void 0 && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function(P, $) {
1085
- h.setRequestHeader($, P);
1084
+ }, a === void 0 && i.setContentType(null), "setRequestHeader" in h && f.forEach(i.toJSON(), function(P, _) {
1085
+ h.setRequestHeader(_, P);
1086
1086
  }), f.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([y, d] = et(c, !0), h.addEventListener("progress", y)), u && h.upload && ([p, v] = et(u), h.upload.addEventListener("progress", p), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (l = (g) => {
1087
1087
  h && (r(!g || g.type ? new Re(null, t, h) : g), h.abort(), h = null);
1088
1088
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
@@ -1239,7 +1239,7 @@ const Nn = (t) => {
1239
1239
  signal: T,
1240
1240
  cancelToken: g,
1241
1241
  timeout: P,
1242
- onDownloadProgress: $,
1242
+ onDownloadProgress: _,
1243
1243
  onUploadProgress: B,
1244
1244
  responseType: F,
1245
1245
  headers: Q,
@@ -1268,26 +1268,26 @@ const Nn = (t) => {
1268
1268
  }
1269
1269
  }
1270
1270
  f.isString(W) || (W = W ? "include" : "omit");
1271
- const _ = a && "credentials" in n.prototype, L = {
1271
+ const $ = a && "credentials" in n.prototype, L = {
1272
1272
  ...b,
1273
1273
  signal: x,
1274
1274
  method: h.toUpperCase(),
1275
1275
  headers: Q.normalize().toJSON(),
1276
1276
  body: E,
1277
1277
  duplex: "half",
1278
- credentials: _ ? W : void 0
1278
+ credentials: $ ? W : void 0
1279
1279
  };
1280
1280
  R = a && new n(m, L);
1281
1281
  let N = await (a ? O(R, b) : O(m, L));
1282
1282
  const q = l && (F === "stream" || F === "response");
1283
- if (l && ($ || q && C)) {
1283
+ if (l && (_ || q && C)) {
1284
1284
  const K = {};
1285
1285
  ["status", "statusText", "headers"].forEach((G) => {
1286
1286
  K[G] = N[G];
1287
1287
  });
1288
- const ae = f.toFiniteNumber(N.headers.get("content-length")), [Te, me] = $ && br(
1288
+ const ae = f.toFiniteNumber(N.headers.get("content-length")), [Te, me] = _ && br(
1289
1289
  ae,
1290
- et(Sr($), !0)
1290
+ et(Sr(_), !0)
1291
1291
  ) || [];
1292
1292
  N = new r(
1293
1293
  Or(N.body, Ar, Te, () => {
@@ -1299,7 +1299,7 @@ const Nn = (t) => {
1299
1299
  F = F || "text";
1300
1300
  let J = await p[f.findKey(p, F) || "text"](N, d);
1301
1301
  return !q && C && C(), await new Promise((K, ae) => {
1302
- $n(K, ae, {
1302
+ _n(K, ae, {
1303
1303
  data: J,
1304
1304
  headers: z.from(N.headers),
1305
1305
  status: N.status,
@@ -1308,13 +1308,13 @@ const Nn = (t) => {
1308
1308
  request: R
1309
1309
  });
1310
1310
  });
1311
- } catch (_) {
1312
- throw C && C(), _ && _.name === "TypeError" && /Load failed|fetch/i.test(_.message) ? Object.assign(
1311
+ } catch ($) {
1312
+ throw C && C(), $ && $.name === "TypeError" && /Load failed|fetch/i.test($.message) ? Object.assign(
1313
1313
  new S("Network Error", S.ERR_NETWORK, d, R),
1314
1314
  {
1315
- cause: _.cause || _
1315
+ cause: $.cause || $
1316
1316
  }
1317
- ) : S.from(_, _ && _.code, d, R);
1317
+ ) : S.from($, $ && $.code, d, R);
1318
1318
  }
1319
1319
  };
1320
1320
  }, Ja = /* @__PURE__ */ new Map(), Fn = (t) => {
@@ -1415,7 +1415,7 @@ const Dn = "1.13.2", ut = {};
1415
1415
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
1416
1416
  };
1417
1417
  });
1418
- const $r = {};
1418
+ const _r = {};
1419
1419
  ut.transitional = function(e, n, r) {
1420
1420
  function o(a, i) {
1421
1421
  return "[Axios v" + Dn + "] Transitional option '" + a + "'" + i + (r ? ". " + r : "");
@@ -1426,7 +1426,7 @@ ut.transitional = function(e, n, r) {
1426
1426
  o(i, " has been removed" + (n ? " in " + n : "")),
1427
1427
  S.ERR_DEPRECATED
1428
1428
  );
1429
- return n && !$r[i] && ($r[i] = !0), e ? e(a, i, s) : !0;
1429
+ return n && !_r[i] && (_r[i] = !0), e ? e(a, i, s) : !0;
1430
1430
  };
1431
1431
  };
1432
1432
  ut.spelling = function(e) {
@@ -1549,7 +1549,7 @@ class fe {
1549
1549
  }
1550
1550
  getUri(e) {
1551
1551
  e = de(this.defaults, e);
1552
- const n = _n(e.baseURL, e.url, e.allowAbsoluteUrls);
1552
+ const n = $n(e.baseURL, e.url, e.allowAbsoluteUrls);
1553
1553
  return Pn(n, e.params, e.paramsSerializer);
1554
1554
  }
1555
1555
  }
@@ -1758,7 +1758,7 @@ D.formToJSON = (t) => xn(f.isHTMLForm(t) ? new FormData(t) : t);
1758
1758
  D.getAdapter = In.getAdapter;
1759
1759
  D.HttpStatusCode = Wt;
1760
1760
  D.default = D;
1761
- var _r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1761
+ var $r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1762
1762
  function ei(t) {
1763
1763
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1764
1764
  }
@@ -1786,7 +1786,7 @@ const ri = {}, ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1786
1786
  __proto__: null,
1787
1787
  default: ri
1788
1788
  }, Symbol.toStringTag, { value: "Module" })), oi = /* @__PURE__ */ ti(ni);
1789
- var or = typeof Map == "function" && Map.prototype, bt = Object.getOwnPropertyDescriptor && or ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, tt = or && bt && typeof bt.get == "function" ? bt.get : null, Nr = or && Map.prototype.forEach, ar = typeof Set == "function" && Set.prototype, St = Object.getOwnPropertyDescriptor && ar ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, rt = ar && St && typeof St.get == "function" ? St.get : null, Fr = ar && Set.prototype.forEach, ai = typeof WeakMap == "function" && WeakMap.prototype, $e = ai ? WeakMap.prototype.has : null, ii = typeof WeakSet == "function" && WeakSet.prototype, _e = ii ? WeakSet.prototype.has : null, si = typeof WeakRef == "function" && WeakRef.prototype, Ir = si ? WeakRef.prototype.deref : null, li = Boolean.prototype.valueOf, ci = Object.prototype.toString, ui = Function.prototype.toString, fi = String.prototype.match, ir = String.prototype.slice, se = String.prototype.replace, pi = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, Ln = RegExp.prototype.test, Ur = Array.prototype.concat, ne = Array.prototype.join, di = Array.prototype.slice, Lr = Math.floor, Kt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Et = Object.getOwnPropertySymbols, Gt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Ee = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ne = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Ee || !0) ? Symbol.toStringTag : null, Mn = Object.prototype.propertyIsEnumerable, Mr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1789
+ var or = typeof Map == "function" && Map.prototype, bt = Object.getOwnPropertyDescriptor && or ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, tt = or && bt && typeof bt.get == "function" ? bt.get : null, Nr = or && Map.prototype.forEach, ar = typeof Set == "function" && Set.prototype, St = Object.getOwnPropertyDescriptor && ar ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, rt = ar && St && typeof St.get == "function" ? St.get : null, Fr = ar && Set.prototype.forEach, ai = typeof WeakMap == "function" && WeakMap.prototype, _e = ai ? WeakMap.prototype.has : null, ii = typeof WeakSet == "function" && WeakSet.prototype, $e = ii ? WeakSet.prototype.has : null, si = typeof WeakRef == "function" && WeakRef.prototype, Ir = si ? WeakRef.prototype.deref : null, li = Boolean.prototype.valueOf, ci = Object.prototype.toString, ui = Function.prototype.toString, fi = String.prototype.match, ir = String.prototype.slice, se = String.prototype.replace, pi = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, Ln = RegExp.prototype.test, Ur = Array.prototype.concat, ne = Array.prototype.join, di = Array.prototype.slice, Lr = Math.floor, Kt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Et = Object.getOwnPropertySymbols, Gt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Ee = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ne = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Ee || !0) ? Symbol.toStringTag : null, Mn = Object.prototype.propertyIsEnumerable, Mr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
1790
1790
  return t.__proto__;
1791
1791
  } : null);
1792
1792
  function Br(t, e) {
@@ -1852,10 +1852,10 @@ var Jt = oi, kr = Jt.custom, jr = jn(kr) ? kr : null, Bn = {
1852
1852
  return "[Circular]";
1853
1853
  function y(R, C, w) {
1854
1854
  if (C && (o = di.call(o), o.push(C)), w) {
1855
- var _ = {
1855
+ var $ = {
1856
1856
  depth: a.depth
1857
1857
  };
1858
- return oe(a, "quoteStyle") && (_.quoteStyle = a.quoteStyle), t(R, _, r + 1, o);
1858
+ return oe(a, "quoteStyle") && ($.quoteStyle = a.quoteStyle), t(R, $, r + 1, o);
1859
1859
  }
1860
1860
  return t(R, a, r + 1, o);
1861
1861
  }
@@ -1876,7 +1876,7 @@ var Jt = oi, kr = Jt.custom, jr = jn(kr) ? kr : null, Bn = {
1876
1876
  if (e.length === 0)
1877
1877
  return "[]";
1878
1878
  var g = ze(e, y);
1879
- return p && !_i(g) ? "[" + Qt(g, p) + "]" : "[ " + ne.call(g, ", ") + " ]";
1879
+ return p && !$i(g) ? "[" + Qt(g, p) + "]" : "[ " + ne.call(g, ", ") + " ]";
1880
1880
  }
1881
1881
  if (gi(e)) {
1882
1882
  var P = ze(e, y);
@@ -1889,10 +1889,10 @@ var Jt = oi, kr = Jt.custom, jr = jn(kr) ? kr : null, Bn = {
1889
1889
  return e.inspect();
1890
1890
  }
1891
1891
  if (Ai(e)) {
1892
- var $ = [];
1892
+ var _ = [];
1893
1893
  return Nr && Nr.call(e, function(R, C) {
1894
- $.push(y(C, e, !0) + " => " + y(R, e));
1895
- }), Hr("Map", tt.call(e), $, p);
1894
+ _.push(y(C, e, !0) + " => " + y(R, e));
1895
+ }), Hr("Map", tt.call(e), _, p);
1896
1896
  }
1897
1897
  if (Ti(e)) {
1898
1898
  var B = [];
@@ -1916,7 +1916,7 @@ var Jt = oi, kr = Jt.custom, jr = jn(kr) ? kr : null, Bn = {
1916
1916
  return Ce(y(String(e)));
1917
1917
  if (typeof window < "u" && e === window)
1918
1918
  return "{ [object Window] }";
1919
- if (typeof globalThis < "u" && e === globalThis || typeof _r < "u" && e === _r)
1919
+ if (typeof globalThis < "u" && e === globalThis || typeof $r < "u" && e === $r)
1920
1920
  return "{ [object globalThis] }";
1921
1921
  if (!mi(e) && !qr(e)) {
1922
1922
  var F = ze(e, y), Q = Mr ? Mr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", b = !Q && Ne && Object(e) === e && Ne in e ? ir.call(le(e), 8, -1) : W ? "Object" : "", O = Q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", x = O + (b || W ? "[" + ne.call(Ur.call([], b || [], W || []), ": ") + "] " : "");
@@ -2016,12 +2016,12 @@ function Ai(t) {
2016
2016
  return !1;
2017
2017
  }
2018
2018
  function Ri(t) {
2019
- if (!$e || !t || typeof t != "object")
2019
+ if (!_e || !t || typeof t != "object")
2020
2020
  return !1;
2021
2021
  try {
2022
- $e.call(t, $e);
2022
+ _e.call(t, _e);
2023
2023
  try {
2024
- _e.call(t, _e);
2024
+ $e.call(t, $e);
2025
2025
  } catch {
2026
2026
  return !0;
2027
2027
  }
@@ -2055,12 +2055,12 @@ function Ti(t) {
2055
2055
  return !1;
2056
2056
  }
2057
2057
  function xi(t) {
2058
- if (!_e || !t || typeof t != "object")
2058
+ if (!$e || !t || typeof t != "object")
2059
2059
  return !1;
2060
2060
  try {
2061
- _e.call(t, _e);
2061
+ $e.call(t, $e);
2062
2062
  try {
2063
- $e.call(t, $e);
2063
+ _e.call(t, _e);
2064
2064
  } catch {
2065
2065
  return !0;
2066
2066
  }
@@ -2079,10 +2079,10 @@ function Hn(t, e) {
2079
2079
  }
2080
2080
  var o = yi[e.quoteStyle || "single"];
2081
2081
  o.lastIndex = 0;
2082
- var a = se.call(se.call(t, o, "\\$1"), /[\x00-\x1f]/g, $i);
2082
+ var a = se.call(se.call(t, o, "\\$1"), /[\x00-\x1f]/g, _i);
2083
2083
  return kn(a, "single", e);
2084
2084
  }
2085
- function $i(t) {
2085
+ function _i(t) {
2086
2086
  var e = t.charCodeAt(0), n = {
2087
2087
  8: "b",
2088
2088
  9: "t",
@@ -2102,7 +2102,7 @@ function Hr(t, e, n, r) {
2102
2102
  var o = r ? Qt(n, r) : ne.call(n, ", ");
2103
2103
  return t + " (" + e + ") {" + o + "}";
2104
2104
  }
2105
- function _i(t) {
2105
+ function $i(t) {
2106
2106
  for (var e = 0; e < t.length; e++)
2107
2107
  if (qn(t[e], `
2108
2108
  `) >= 0)
@@ -2322,13 +2322,13 @@ function dt() {
2322
2322
  var t = as();
2323
2323
  return Ct = Function.prototype.bind || t, Ct;
2324
2324
  }
2325
- var $t, Qr;
2325
+ var _t, Qr;
2326
2326
  function sr() {
2327
- return Qr || (Qr = 1, $t = Function.prototype.call), $t;
2327
+ return Qr || (Qr = 1, _t = Function.prototype.call), _t;
2328
2328
  }
2329
- var _t, Xr;
2329
+ var $t, Xr;
2330
2330
  function Jn() {
2331
- return Xr || (Xr = 1, _t = Function.prototype.apply), _t;
2331
+ return Xr || (Xr = 1, $t = Function.prototype.apply), $t;
2332
2332
  }
2333
2333
  var is = typeof Reflect < "u" && Reflect && Reflect.apply, ss = dt(), ls = Jn(), cs = sr(), us = is, fs = us || ss.call(cs, ls), ps = dt(), ds = Pe, ys = sr(), hs = fs, Vn = function(e) {
2334
2334
  if (e.length < 1 || typeof e[0] != "function")
@@ -2380,7 +2380,7 @@ function vs() {
2380
2380
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = dt();
2381
2381
  return It = n.call(t, e), It;
2382
2382
  }
2383
- var A, ws = zn, bs = ki, Ss = ji, Es = qi, Os = Hi, Oe = zi, be = Pe, As = Wi, Rs = Ki, Ps = Gi, Ts = Ji, xs = Vi, Cs = Qi, $s = Xi, _s = es, Qn = Function, Dt = function(t) {
2383
+ var A, ws = zn, bs = ki, Ss = ji, Es = qi, Os = Hi, Oe = zi, be = Pe, As = Wi, Rs = Ki, Ps = Gi, Ts = Ji, xs = Vi, Cs = Qi, _s = Xi, $s = es, Qn = Function, Dt = function(t) {
2384
2384
  try {
2385
2385
  return Qn('"use strict"; return (' + t + ").constructor;")();
2386
2386
  } catch {
@@ -2477,8 +2477,8 @@ var A, ws = zn, bs = ki, Ss = ji, Es = qi, Os = Hi, Oe = zi, be = Pe, As = Wi, R
2477
2477
  "%Math.max%": Ts,
2478
2478
  "%Math.min%": xs,
2479
2479
  "%Math.pow%": Cs,
2480
- "%Math.round%": $s,
2481
- "%Math.sign%": _s,
2480
+ "%Math.round%": _s,
2481
+ "%Math.sign%": $s,
2482
2482
  "%Reflect.getPrototypeOf%": Ds
2483
2483
  };
2484
2484
  if (M)
@@ -2837,9 +2837,9 @@ function() {
2837
2837
  repeat: function(e) {
2838
2838
  return e;
2839
2839
  }
2840
- }, re = Array.isArray, $l = Array.prototype.push, io = function(t, e) {
2841
- $l.apply(t, re(e) ? e : [e]);
2842
- }, _l = Date.prototype.toISOString, on = Fe.default, U = {
2840
+ }, re = Array.isArray, _l = Array.prototype.push, io = function(t, e) {
2841
+ _l.apply(t, re(e) ? e : [e]);
2842
+ }, $l = Date.prototype.toISOString, on = Fe.default, U = {
2843
2843
  addQueryPrefix: !1,
2844
2844
  allowDots: !1,
2845
2845
  allowEmptyArrays: !1,
@@ -2858,21 +2858,21 @@ function() {
2858
2858
  // deprecated
2859
2859
  indices: !1,
2860
2860
  serializeDate: function(e) {
2861
- return _l.call(e);
2861
+ return $l.call(e);
2862
2862
  },
2863
2863
  skipNulls: !1,
2864
2864
  strictNullHandling: !1
2865
2865
  }, Nl = function(e) {
2866
2866
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2867
2867
  }, kt = {}, Fl = function t(e, n, r, o, a, i, s, u, c, l, p, y, v, d, m, h, E, T) {
2868
- for (var g = e, P = T, $ = 0, B = !1; (P = P.get(kt)) !== void 0 && !B; ) {
2868
+ for (var g = e, P = T, _ = 0, B = !1; (P = P.get(kt)) !== void 0 && !B; ) {
2869
2869
  var F = P.get(e);
2870
- if ($ += 1, typeof F < "u") {
2871
- if (F === $)
2870
+ if (_ += 1, typeof F < "u") {
2871
+ if (F === _)
2872
2872
  throw new RangeError("Cyclic object value");
2873
2873
  B = !0;
2874
2874
  }
2875
- typeof P.get(kt) > "u" && ($ = 0);
2875
+ typeof P.get(kt) > "u" && (_ = 0);
2876
2876
  }
2877
2877
  if (typeof l == "function" ? g = l(n, g) : g instanceof Date ? g = v(g) : r === "comma" && re(g) && (g = Ye.maybeMap(g, function(J) {
2878
2878
  return J instanceof Date ? v(J) : J;
@@ -2904,13 +2904,13 @@ function() {
2904
2904
  if (a && re(g) && g.length === 0)
2905
2905
  return R + "[]";
2906
2906
  for (var C = 0; C < b.length; ++C) {
2907
- var w = b[C], _ = typeof w == "object" && w && typeof w.value < "u" ? w.value : g[w];
2908
- if (!(s && _ === null)) {
2907
+ var w = b[C], $ = typeof w == "object" && w && typeof w.value < "u" ? w.value : g[w];
2908
+ if (!(s && $ === null)) {
2909
2909
  var L = y && u ? String(w).replace(/\./g, "%2E") : String(w), N = re(g) ? typeof r == "function" ? r(R, L) : R : R + (y ? "." + L : "[" + L + "]");
2910
- T.set(e, $);
2910
+ T.set(e, _);
2911
2911
  var q = oo();
2912
2912
  q.set(kt, T), io(W, t(
2913
- _,
2913
+ $,
2914
2914
  N,
2915
2915
  r,
2916
2916
  o,
@@ -3239,9 +3239,9 @@ function Yt(t, e) {
3239
3239
  var sn = Yt(Vl, { path: "/" });
3240
3240
  at.extend(wo);
3241
3241
  at.extend(bo);
3242
- const ur = Ze(), lo = ur.sso ?? !0, ln = ur.i18n ?? !0, co = ur.noRedireLogin ?? !1;
3242
+ const Ql = "UTC", Xl = () => at.tz.guess() || Ql, ur = Ze(), lo = ur.sso ?? !0, ln = ur.i18n ?? !0, co = ur.noRedireLogin ?? !1;
3243
3243
  let cn = "", un = 0;
3244
- const Ql = 1e3, fn = async (t, e, n = []) => {
3244
+ const Yl = 1e3, fn = async (t, e, n = []) => {
3245
3245
  const r = Date.now(), o = 1200, a = 60;
3246
3246
  for (; Date.now() - r < o; ) {
3247
3247
  const i = t(e, ...n);
@@ -3251,17 +3251,19 @@ const Ql = 1e3, fn = async (t, e, n = []) => {
3251
3251
  return t(e, ...n);
3252
3252
  };
3253
3253
  let jt = !1;
3254
- const Xl = 5e3, uo = () => jt ? !1 : (jt = !0, setTimeout(() => {
3254
+ const Zl = 5e3, uo = () => jt ? !1 : (jt = !0, setTimeout(() => {
3255
3255
  jt = !1;
3256
- }, Xl), !0), fo = () => {
3257
- var e, n;
3256
+ }, Zl), !0), fo = () => {
3258
3257
  if (co) return;
3259
3258
  const t = "/login";
3260
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (n = window.top) == null || n.vueRouter.replace(t) : window.location.replace(`/#${t}`));
3261
- }, Yl = () => ho("code") || "" || co ? !1 : uo() ? (lo ? mo({ ...go, redirect_uri: vo }) : fo(), !0) : !1, Zl = async (t) => {
3259
+ if (location.pathname === t) return;
3260
+ window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1;
3261
+ const e = window.top;
3262
+ e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace(`/#${t}`);
3263
+ }, ec = () => ho("code") || "" || co ? !1 : uo() ? (lo ? mo({ ...go, redirect_uri: vo }) : fo(), !0) : !1, tc = async (t) => {
3262
3264
  var n;
3263
3265
  return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
3264
- }, ec = async (t, e) => {
3266
+ }, rc = async (t, e) => {
3265
3267
  var d, m, h, E;
3266
3268
  const { t: n } = dn();
3267
3269
  let r, o, a = {};
@@ -3269,7 +3271,7 @@ const Xl = 5e3, uo = () => jt ? !1 : (jt = !0, setTimeout(() => {
3269
3271
  let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
3270
3272
  const u = s == null ? void 0 : s.code, c = (m = t.response) == null ? void 0 : m.status;
3271
3273
  if (u === 401 || c === 401) {
3272
- Yl(), r = u || c, a = s;
3274
+ ec(), r = u || c, a = s;
3273
3275
  const T = (e == null ? void 0 : e.i18n) ?? !0;
3274
3276
  if (ln && T && (s != null && s.status)) {
3275
3277
  const g = !(s != null && s.data) || !s.data.length ? [] : s.data, P = n(s.status, ...g);
@@ -3299,7 +3301,7 @@ const Xl = 5e3, uo = () => jt ? !1 : (jt = !0, setTimeout(() => {
3299
3301
  o || (o = i[t.response.status] || t.message);
3300
3302
  } else t.request ? (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("网络异常,请检查您的网络情况")) : (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("请求配置异常"));
3301
3303
  e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
3302
- const p = Date.now(), y = o === cn, v = p - un < Ql;
3304
+ const p = Date.now(), y = o === cn, v = p - un < Yl;
3303
3305
  return !(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((E = (h = window.DasMessage) == null ? void 0 : h.error) == null || E.call(h, { message: o, showClose: !0 }), cn = o, un = p), { ...a, code: r, msg: o, error: t };
3304
3306
  };
3305
3307
  function X(t, e) {
@@ -3323,7 +3325,7 @@ function X(t, e) {
3323
3325
  }
3324
3326
  p && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${p}`);
3325
3327
  }
3326
- r.baseURL || (r.baseURL = a.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (p) => Jl.stringify(p, { indices: !1 }) }), r.onSuccess || (r.onSuccess = Zl), r.onError || (r.onError = ec), (r.csrf ?? !1) && (r.headers["csrf-token"] = sn.get("csrf-token"));
3328
+ r.baseURL || (r.baseURL = a.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (p) => Jl.stringify(p, { indices: !1 }) }), r.onSuccess || (r.onSuccess = tc), r.onError || (r.onError = rc), (r.csrf ?? !1) && (r.headers["csrf-token"] = sn.get("csrf-token"));
3327
3329
  const u = r.params || {};
3328
3330
  if (u.project === void 0) {
3329
3331
  let p = 0;
@@ -3334,7 +3336,7 @@ function X(t, e) {
3334
3336
  const { instanceInfo: p } = Eo();
3335
3337
  p != null && p.instanceId && (u.instance = p.instanceId);
3336
3338
  }
3337
- r.params = u, r.headers.Timezone = at.tz.guess(), r.headers["X-Origin"] = location.origin;
3339
+ r.params = u, r.headers.Timezone = Xl(), r.headers["X-Origin"] = location.origin;
3338
3340
  const l = (o == null ? void 0 : o.value) ?? "";
3339
3341
  return l && (r.headers["Accept-Language"] = l), l && sn.set("locale", l), r;
3340
3342
  });
@@ -3343,9 +3345,9 @@ const Y = "v1";
3343
3345
  X(`/api/iot/${Y}`);
3344
3346
  X(`/api/iot-device/thingmodel/${Y}`), X(`/api/iot-device/devicemanage/${Y}`), X(`/api/iot-device/product/${Y}`), X(`/api/iot-device/product-storage/${Y}`);
3345
3347
  X(`/api/device-relation/deviceproject/${Y}`), X(`/api/device-relation/devicerule/${Y}`), X(`/api/device-relation/project/${Y}`);
3346
- const fr = X(`/api/oss/minio/${Y}`), tc = X(`/api/progress/accessor/${Y}`);
3348
+ const fr = X(`/api/oss/minio/${Y}`), nc = X(`/api/progress/accessor/${Y}`);
3347
3349
  X(`/api/dms/analysis/${Y}`);
3348
- let rc = (t = 21) => {
3350
+ let oc = (t = 21) => {
3349
3351
  let e = "", n = crypto.getRandomValues(new Uint8Array(t));
3350
3352
  for (; t--; ) {
3351
3353
  let r = n[t] & 63;
@@ -3353,12 +3355,12 @@ let rc = (t = 21) => {
3353
3355
  }
3354
3356
  return e;
3355
3357
  };
3356
- const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), ac = fr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), ic = tc.get("progress"), Oc = () => {
3358
+ const ac = fr.get("token"), ic = fr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), sc = fr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), lc = nc.get("progress"), Rc = () => {
3357
3359
  let t = V(!1), e = V(""), n = V(0), r = V("normal"), o = V(!1), a, i = V(""), s = V(""), u = V(""), c = V(""), l = V(!1), p = V(""), y = "", v = V(""), d;
3358
3360
  const m = () => {
3359
3361
  s.value = "", u.value = "", c.value = "", l.value = !1, p.value = "";
3360
3362
  }, h = async () => {
3361
- const [b, O] = await nc().run();
3363
+ const [b, O] = await ac().run();
3362
3364
  return b ? { stauts: !1 } : { status: !0, data: O };
3363
3365
  }, E = (b) => new Promise((O, x) => {
3364
3366
  const C = [];
@@ -3367,15 +3369,15 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3367
3369
  const L = b.slice(w, w + 1048576);
3368
3370
  C.push(L), w += 1048576;
3369
3371
  }
3370
- const _ = new Blob(C, { type: b.type });
3371
- O(_);
3372
+ const $ = new Blob(C, { type: b.type });
3373
+ O($);
3372
3374
  }), T = async (b, O, x, R = !0, C = "", w = !1) => {
3373
3375
  var pr, dr;
3374
3376
  y = C, v.value = "import", R && (r.value = "normal", n.value = 0, e.value = k("导入进度"), t.value = !0, i.value = ""), d = O;
3375
- const _ = await h();
3376
- if (!_.status) return;
3377
- let L = _.data, N = null, { autoContentType: q, bucketName: J, importFileName: K } = x;
3378
- const ae = w ? ac : oc;
3377
+ const $ = await h();
3378
+ if (!$.status) return;
3379
+ let L = $.data, N = null, { autoContentType: q, bucketName: J, importFileName: K } = x;
3380
+ const ae = w ? sc : ic;
3379
3381
  if (w) {
3380
3382
  let ie = [];
3381
3383
  await O.forEach(async (qe) => {
@@ -3400,7 +3402,7 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3400
3402
  }
3401
3403
  const [Te, me] = await ae(N).run();
3402
3404
  if (Te) return t.value = !1;
3403
- const G = await lc(me.data);
3405
+ const G = await uc(me.data);
3404
3406
  if (!w && (G == null ? void 0 : G.statusCode) != 200 || w && (G != null && G.some((ie) => (ie == null ? void 0 : ie.statusCode) != 200))) {
3405
3407
  t.value = !1, (pr = window.DasMessage) == null || pr.error({
3406
3408
  message: (G == null ? void 0 : G.errorMsg) || k("上传失败"),
@@ -3415,7 +3417,7 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3415
3417
  t.value = !1, r.value = "error";
3416
3418
  return;
3417
3419
  }
3418
- e.value = k("导入进度"), t.value = !0, $(ht.taskId, "import", "");
3420
+ e.value = k("导入进度"), t.value = !0, _(ht.taskId, "import", "");
3419
3421
  } else {
3420
3422
  if (!ht.status) return;
3421
3423
  r.value = "success", (dr = window.DasMessage) == null || dr.success({
@@ -3431,7 +3433,7 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3431
3433
  t.value = !1, r.value = "error";
3432
3434
  return;
3433
3435
  }
3434
- $(R.taskId, "action", "");
3436
+ _(R.taskId, "action", "");
3435
3437
  }, P = async (b, O = "", x = "", R = !0) => {
3436
3438
  v.value = "export", R && (r.value = "normal", n.value = 0, e.value = k("导出进度"), t.value = !0);
3437
3439
  const C = await (b == null ? void 0 : b());
@@ -3439,15 +3441,15 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3439
3441
  t.value = !1, r.value = "error";
3440
3442
  return;
3441
3443
  }
3442
- at().format("YYYYMMDDHHmmss") + "", $(C.taskId, "export", O || "", x);
3443
- }, $ = async (b, O, x, R = "") => {
3444
+ at().format("YYYYMMDDHHmmss") + "", _(C.taskId, "export", O || "", x);
3445
+ }, _ = async (b, O, x, R = "") => {
3444
3446
  o.value = !0, F(b, O, x, R), a = setTimeout(() => {
3445
3447
  }, 50);
3446
3448
  }, B = () => {
3447
3449
  clearTimeout(a), a = null, t.value = !1;
3448
3450
  }, F = async (b, O = "export", x, R = "") => {
3449
- var _, L, N;
3450
- const [C, w] = await ic("", {
3451
+ var $, L, N;
3452
+ const [C, w] = await lc("", {
3451
3453
  url: `progress/${b}`
3452
3454
  }).run();
3453
3455
  if (C) {
@@ -3459,7 +3461,7 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3459
3461
  if (w.status == 1) {
3460
3462
  r.value = "success";
3461
3463
  let q = await yr(`/oss/${w == null ? void 0 : w.filePath}`);
3462
- const J = ((_ = q == null ? void 0 : q.split("/")) == null ? void 0 : _.pop()) || "";
3464
+ const J = (($ = q == null ? void 0 : q.split("/")) == null ? void 0 : $.pop()) || "";
3463
3465
  let K = x || J;
3464
3466
  pn(`${Ze().baseURL}/oss${w.filePath}`, K, R), o.value = !1;
3465
3467
  } else w.status == 2 && (c.value = w.message || (O == "export" ? k("导出失败") : k("导入失败")), (L = window.DasMessage) == null || L.error({
@@ -3513,14 +3515,14 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3513
3515
  fileAction: g,
3514
3516
  generateUniqueName: (b) => {
3515
3517
  const O = b == null ? void 0 : b.match(/(.*?)(\.[^.]*$|$)/), x = O.length ? O[2] : "";
3516
- return `${O.length ? O[1] : b}${rc()}${x}`;
3518
+ return `${O.length ? O[1] : b}${oc()}${x}`;
3517
3519
  },
3518
3520
  downloadFile: pn,
3519
3521
  resetStataus: m,
3520
- checkProgress: $,
3522
+ checkProgress: _,
3521
3523
  fileHandleType: v
3522
3524
  };
3523
- }, sc = (t) => {
3525
+ }, cc = (t) => {
3524
3526
  let e = t == null ? void 0 : t.toLocaleLowerCase();
3525
3527
  return {
3526
3528
  excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -3553,7 +3555,7 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3553
3555
  const r = new XMLHttpRequest();
3554
3556
  r.open("get", t), r.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), r.responseType = "blob", r.onload = function(o) {
3555
3557
  const a = new Blob([this.response], {
3556
- type: sc(n)
3558
+ type: cc(n)
3557
3559
  }), i = URL.createObjectURL(a);
3558
3560
  if (window.navigator.msSaveOrOpenBlob)
3559
3561
  navigator.msSaveBlob(a, e);
@@ -3562,7 +3564,7 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3562
3564
  s.href = i, s.download = e, s.click(), window.URL.revokeObjectURL(i);
3563
3565
  }
3564
3566
  }, r.send();
3565
- }, lc = (t) => new Promise((e, n) => {
3567
+ }, uc = (t) => new Promise((e, n) => {
3566
3568
  var r = new FileReader();
3567
3569
  r.onload = function(o) {
3568
3570
  let a = "";
@@ -3571,5 +3573,5 @@ const nc = fr.get("token"), oc = fr.post("put-object", (t) => (t.headers || (t.h
3571
3573
  });
3572
3574
  export {
3573
3575
  pn as downloadFile,
3574
- Oc as useFile
3576
+ Rc as useFile
3575
3577
  };