@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
@@ -101,7 +101,7 @@ const To = (t, e, r, { allOwnKeys: n } = {}) => (_e(e, (o, a) => {
101
101
  t = String(t), (r === void 0 || r > t.length) && (r = t.length), r -= e.length;
102
102
  const n = t.indexOf(e, r);
103
103
  return n !== -1 && n === r;
104
- }, $o = (t) => {
104
+ }, No = (t) => {
105
105
  if (!t) return null;
106
106
  if (he(t)) return t;
107
107
  let e = t.length;
@@ -110,7 +110,7 @@ const To = (t, e, r, { allOwnKeys: n } = {}) => (_e(e, (o, a) => {
110
110
  for (; e-- > 0; )
111
111
  r[e] = t[e];
112
112
  return r;
113
- }, No = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && jt(Uint8Array)), Do = (t, e) => {
113
+ }, $o = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && jt(Uint8Array)), Do = (t, e) => {
114
114
  const n = (t && t[Qe]).call(t);
115
115
  let o;
116
116
  for (; (o = n.next()) && !o.done; ) {
@@ -211,7 +211,7 @@ const zo = (t) => {
211
211
  isFunction: D,
212
212
  isStream: wo,
213
213
  isURLSearchParams: So,
214
- isTypedArray: No,
214
+ isTypedArray: $o,
215
215
  isFileList: vo,
216
216
  forEach: _e,
217
217
  merge: Ct,
@@ -223,7 +223,7 @@ const zo = (t) => {
223
223
  kindOf: Xe,
224
224
  kindOfTest: q,
225
225
  endsWith: Fo,
226
- toArray: $o,
226
+ toArray: No,
227
227
  forEachEntry: Do,
228
228
  matchAll: Io,
229
229
  isHTMLForm: Uo,
@@ -493,22 +493,22 @@ const fn = {
493
493
  Blob: ta
494
494
  },
495
495
  protocols: ["http", "https", "file", "blob", "url", "data"]
496
- }, zt = typeof window < "u" && typeof document < "u", $t = typeof navigator == "object" && navigator || void 0, na = zt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0), oa = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
496
+ }, zt = typeof window < "u" && typeof document < "u", Nt = typeof navigator == "object" && navigator || void 0, na = zt && (!Nt || ["ReactNative", "NativeScript", "NS"].indexOf(Nt.product) < 0), oa = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
497
497
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", aa = zt && window.location.href || "http://localhost", ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
498
498
  __proto__: null,
499
499
  hasBrowserEnv: zt,
500
500
  hasStandardBrowserEnv: na,
501
501
  hasStandardBrowserWebWorkerEnv: oa,
502
- navigator: $t,
502
+ navigator: Nt,
503
503
  origin: aa
504
- }, Symbol.toStringTag, { value: "Module" })), N = {
504
+ }, Symbol.toStringTag, { value: "Module" })), $ = {
505
505
  ...ia,
506
506
  ...ra
507
507
  };
508
508
  function sa(t, e) {
509
- return Ye(t, new N.classes.URLSearchParams(), {
509
+ return Ye(t, new $.classes.URLSearchParams(), {
510
510
  visitor: function(r, n, o, a) {
511
- return N.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
511
+ return $.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
512
512
  },
513
513
  ...e
514
514
  });
@@ -603,8 +603,8 @@ const Ce = {
603
603
  maxContentLength: -1,
604
604
  maxBodyLength: -1,
605
605
  env: {
606
- FormData: N.classes.FormData,
607
- Blob: N.classes.Blob
606
+ FormData: $.classes.FormData,
607
+ Blob: $.classes.Blob
608
608
  },
609
609
  validateStatus: function(e) {
610
610
  return e >= 200 && e < 300;
@@ -904,10 +904,10 @@ const We = (t, e, r = 3) => {
904
904
  total: t,
905
905
  loaded: n
906
906
  }), e[1]];
907
- }, sr = (t) => (...e) => f.asap(() => t(...e)), ba = N.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (r) => (r = new URL(r, N.origin), t.protocol === r.protocol && t.host === r.host && (e || t.port === r.port)))(
908
- new URL(N.origin),
909
- N.navigator && /(msie|trident)/i.test(N.navigator.userAgent)
910
- ) : () => !0, Sa = N.hasStandardBrowserEnv ? (
907
+ }, sr = (t) => (...e) => f.asap(() => t(...e)), ba = $.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (r) => (r = new URL(r, $.origin), t.protocol === r.protocol && t.host === r.host && (e || t.port === r.port)))(
908
+ new URL($.origin),
909
+ $.navigator && /(msie|trident)/i.test($.navigator.userAgent)
910
+ ) : () => !0, Sa = $.hasStandardBrowserEnv ? (
911
911
  // Standard browser envs support document.cookie
912
912
  {
913
913
  write(t, e, r, n, o, a, i) {
@@ -1018,7 +1018,7 @@ const mn = (t) => {
1018
1018
  "Authorization",
1019
1019
  "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
1020
1020
  ), f.isFormData(r)) {
1021
- if (N.hasStandardBrowserEnv || N.hasStandardBrowserWebWorkerEnv)
1021
+ if ($.hasStandardBrowserEnv || $.hasStandardBrowserWebWorkerEnv)
1022
1022
  i.setContentType(void 0);
1023
1023
  else if (f.isFunction(r.getHeaders)) {
1024
1024
  const c = r.getHeaders(), u = ["content-type", "content-length"];
@@ -1027,7 +1027,7 @@ const mn = (t) => {
1027
1027
  });
1028
1028
  }
1029
1029
  }
1030
- if (N.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== !1 && ba(e.url))) {
1030
+ if ($.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== !1 && ba(e.url))) {
1031
1031
  const c = o && a && Sa.read(a);
1032
1032
  c && i.set(o, c);
1033
1033
  }
@@ -1084,7 +1084,7 @@ const mn = (t) => {
1084
1084
  h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
1085
1085
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1086
1086
  const O = ga(o.url);
1087
- if (O && N.protocols.indexOf(O) === -1) {
1087
+ if (O && $.protocols.indexOf(O) === -1) {
1088
1088
  n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
1089
1089
  return;
1090
1090
  }
@@ -1191,7 +1191,7 @@ const mn = (t) => {
1191
1191
  return !1;
1192
1192
  const s = o && Ie(fr), c = o && (typeof pr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new pr()) : async (d) => new Uint8Array(await new r(d).arrayBuffer())), u = a && s && dr(() => {
1193
1193
  let d = !1;
1194
- const m = new r(N.origin, {
1194
+ const m = new r($.origin, {
1195
1195
  body: new fr(),
1196
1196
  method: "POST",
1197
1197
  get duplex() {
@@ -1216,7 +1216,7 @@ const mn = (t) => {
1216
1216
  if (f.isBlob(d))
1217
1217
  return d.size;
1218
1218
  if (f.isSpecCompliantForm(d))
1219
- return (await new r(N.origin, {
1219
+ return (await new r($.origin, {
1220
1220
  method: "POST",
1221
1221
  body: d
1222
1222
  }).arrayBuffer()).byteLength;
@@ -1265,14 +1265,14 @@ const mn = (t) => {
1265
1265
  }
1266
1266
  }
1267
1267
  f.isString(L) || (L = L ? "include" : "omit");
1268
- const $ = a && "credentials" in r.prototype, ie = {
1268
+ const N = a && "credentials" in r.prototype, ie = {
1269
1269
  ...M,
1270
1270
  signal: k,
1271
1271
  method: h.toUpperCase(),
1272
1272
  headers: V.normalize().toJSON(),
1273
1273
  body: S,
1274
1274
  duplex: "half",
1275
- credentials: $ ? L : void 0
1275
+ credentials: N ? L : void 0
1276
1276
  };
1277
1277
  C = a && new r(m, ie);
1278
1278
  let j = await (a ? Z(C, M) : Z(m, ie));
@@ -1305,23 +1305,23 @@ const mn = (t) => {
1305
1305
  request: C
1306
1306
  });
1307
1307
  });
1308
- } catch ($) {
1309
- throw F && F(), $ && $.name === "TypeError" && /Load failed|fetch/i.test($.message) ? Object.assign(
1308
+ } catch (N) {
1309
+ throw F && F(), N && N.name === "TypeError" && /Load failed|fetch/i.test(N.message) ? Object.assign(
1310
1310
  new w("Network Error", w.ERR_NETWORK, d, C),
1311
1311
  {
1312
- cause: $.cause || $
1312
+ cause: N.cause || N
1313
1313
  }
1314
- ) : w.from($, $ && $.code, d, C);
1314
+ ) : w.from(N, N && N.code, d, C);
1315
1315
  }
1316
1316
  };
1317
- }, $a = /* @__PURE__ */ new Map(), gn = (t) => {
1317
+ }, Na = /* @__PURE__ */ new Map(), gn = (t) => {
1318
1318
  let e = t && t.env || {};
1319
1319
  const { fetch: r, Request: n, Response: o } = e, a = [
1320
1320
  n,
1321
1321
  o,
1322
1322
  r
1323
1323
  ];
1324
- let i = a.length, s = i, c, u, l = $a;
1324
+ let i = a.length, s = i, c, u, l = Na;
1325
1325
  for (; s--; )
1326
1326
  c = a[s], u = l.get(c), u === void 0 && l.set(c, u = s ? /* @__PURE__ */ new Map() : Fa(e)), l = u;
1327
1327
  return u;
@@ -1343,7 +1343,7 @@ f.forEach(Wt, (t, e) => {
1343
1343
  Object.defineProperty(t, "adapterName", { value: e });
1344
1344
  }
1345
1345
  });
1346
- const yr = (t) => `- ${t}`, Na = (t) => f.isFunction(t) || t === null || t === !1;
1346
+ const yr = (t) => `- ${t}`, $a = (t) => f.isFunction(t) || t === null || t === !1;
1347
1347
  function Da(t, e) {
1348
1348
  t = f.isArray(t) ? t : [t];
1349
1349
  const { length: r } = t;
@@ -1352,7 +1352,7 @@ function Da(t, e) {
1352
1352
  for (let i = 0; i < r; i++) {
1353
1353
  n = t[i];
1354
1354
  let s;
1355
- if (o = n, !Na(n) && (o = Wt[(s = String(n)).toLowerCase()], o === void 0))
1355
+ if (o = n, !$a(n) && (o = Wt[(s = String(n)).toLowerCase()], o === void 0))
1356
1356
  throw new w(`Unknown adapter '${s}'`);
1357
1357
  if (o && (f.isFunction(o) || (o = o.get(e))))
1358
1358
  break;
@@ -1655,7 +1655,7 @@ function Ua(t) {
1655
1655
  function La(t) {
1656
1656
  return f.isObject(t) && t.isAxiosError === !0;
1657
1657
  }
1658
- const Nt = {
1658
+ const $t = {
1659
1659
  Continue: 100,
1660
1660
  SwitchingProtocols: 101,
1661
1661
  Processing: 102,
@@ -1726,8 +1726,8 @@ const Nt = {
1726
1726
  SslHandshakeFailed: 525,
1727
1727
  InvalidSslCertificate: 526
1728
1728
  };
1729
- Object.entries(Nt).forEach(([t, e]) => {
1730
- Nt[e] = t;
1729
+ Object.entries($t).forEach(([t, e]) => {
1730
+ $t[e] = t;
1731
1731
  });
1732
1732
  function bn(t) {
1733
1733
  const e = new te(t), r = Xr(te.prototype.request, e);
@@ -1753,7 +1753,7 @@ R.mergeConfig = ne;
1753
1753
  R.AxiosHeaders = I;
1754
1754
  R.formToJSON = (t) => pn(f.isHTMLForm(t) ? new FormData(t) : t);
1755
1755
  R.getAdapter = vn.getAdapter;
1756
- R.HttpStatusCode = Nt;
1756
+ R.HttpStatusCode = $t;
1757
1757
  R.default = R;
1758
1758
  var gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1759
1759
  function Ba(t) {
@@ -1849,10 +1849,10 @@ var Ut = ja, Pr = Ut.custom, Tr = Rn(Pr) ? Pr : null, On = {
1849
1849
  return "[Circular]";
1850
1850
  function y(C, F, B) {
1851
1851
  if (F && (o = Xa.call(o), o.push(F)), B) {
1852
- var $ = {
1852
+ var N = {
1853
1853
  depth: a.depth
1854
1854
  };
1855
- return J(a, "quoteStyle") && ($.quoteStyle = a.quoteStyle), t(C, $, n + 1, o);
1855
+ return J(a, "quoteStyle") && (N.quoteStyle = a.quoteStyle), t(C, N, n + 1, o);
1856
1856
  }
1857
1857
  return t(C, a, n + 1, o);
1858
1858
  }
@@ -2199,7 +2199,7 @@ var gi = tt, vi = ge, rt = function(t, e, r) {
2199
2199
  }
2200
2200
  };
2201
2201
  return r;
2202
- }, xn = Object, Ai = Error, Ri = EvalError, Pi = RangeError, Ti = ReferenceError, xi = SyntaxError, _i = URIError, Ci = Math.abs, Fi = Math.floor, $i = Math.max, Ni = Math.min, Di = Math.pow, Ii = Math.round, Ui = Number.isNaN || function(e) {
2202
+ }, xn = Object, Ai = Error, Ri = EvalError, Pi = RangeError, Ti = ReferenceError, xi = SyntaxError, _i = URIError, Ci = Math.abs, Fi = Math.floor, Ni = Math.max, $i = Math.min, Di = Math.pow, Ii = Math.round, Ui = Number.isNaN || function(e) {
2203
2203
  return e !== e;
2204
2204
  }, Li = Ui, Bi = function(e) {
2205
2205
  return Li(e) || e === 0 ? e : e < 0 ? -1 : 1;
@@ -2256,14 +2256,14 @@ function ji() {
2256
2256
  return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
2257
2257
  }, yt;
2258
2258
  }
2259
- var ht, $r;
2259
+ var ht, Nr;
2260
2260
  function Cn() {
2261
- return $r || ($r = 1, ht = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ht;
2261
+ return Nr || (Nr = 1, ht = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ht;
2262
2262
  }
2263
- var mt, Nr;
2263
+ var mt, $r;
2264
2264
  function Fn() {
2265
- if (Nr) return mt;
2266
- Nr = 1;
2265
+ if ($r) return mt;
2266
+ $r = 1;
2267
2267
  var t = xn;
2268
2268
  return mt = t.getPrototypeOf || null, mt;
2269
2269
  }
@@ -2306,10 +2306,10 @@ var Hi = "Function.prototype.bind called on incompatible ", zi = Object.prototyp
2306
2306
  }
2307
2307
  return o;
2308
2308
  }, Qi = Ki, nt = Function.prototype.bind || Qi, Qt = Function.prototype.call, gt, Ir;
2309
- function $n() {
2309
+ function Nn() {
2310
2310
  return Ir || (Ir = 1, gt = Function.prototype.apply), gt;
2311
2311
  }
2312
- var Xi = typeof Reflect < "u" && Reflect && Reflect.apply, Zi = nt, Yi = $n(), es = Qt, ts = Xi, rs = ts || Zi.call(es, Yi), ns = nt, os = ge, as = Qt, is = rs, Nn = function(e) {
2312
+ var Xi = typeof Reflect < "u" && Reflect && Reflect.apply, Zi = nt, Yi = Nn(), es = Qt, ts = Xi, rs = ts || Zi.call(es, Yi), ns = nt, os = ge, as = Qt, is = rs, $n = function(e) {
2313
2313
  if (e.length < 1 || typeof e[0] != "function")
2314
2314
  throw new os("a function is required");
2315
2315
  return is(ns, as, e);
@@ -2317,7 +2317,7 @@ var Xi = typeof Reflect < "u" && Reflect && Reflect.apply, Zi = nt, Yi = $n(), e
2317
2317
  function ss() {
2318
2318
  if (Ur) return vt;
2319
2319
  Ur = 1;
2320
- var t = Nn, e = _n, r;
2320
+ var t = $n, e = _n, r;
2321
2321
  try {
2322
2322
  r = /** @type {{ __proto__?: typeof Array.prototype }} */
2323
2323
  [].__proto__ === Array.prototype;
@@ -2359,7 +2359,7 @@ function cs() {
2359
2359
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = nt;
2360
2360
  return bt = r.call(t, e), bt;
2361
2361
  }
2362
- var b, us = xn, fs = Ai, ps = Ri, ds = Pi, ys = Ti, ye = xi, fe = ge, hs = _i, ms = Ci, gs = Fi, vs = $i, ws = Ni, bs = Di, Ss = Ii, Es = Bi, Dn = Function, St = function(t) {
2362
+ var b, us = xn, fs = Ai, ps = Ri, ds = Pi, ys = Ti, ye = xi, fe = ge, hs = _i, ms = Ci, gs = Fi, vs = Ni, ws = $i, bs = Di, Ss = Ii, Es = Bi, Dn = Function, St = function(t) {
2363
2363
  try {
2364
2364
  return Dn('"use strict"; return (' + t + ").constructor;")();
2365
2365
  } catch {
@@ -2376,7 +2376,7 @@ var b, us = xn, fs = Ai, ps = Ri, ds = Pi, ys = Ti, ye = xi, fe = ge, hs = _i, m
2376
2376
  return Et;
2377
2377
  }
2378
2378
  }
2379
- }() : Et, le = ji()(), _ = ls(), Rs = Fn(), Ps = Cn(), In = $n(), Fe = Qt, ue = {}, Ts = typeof Uint8Array > "u" || !_ ? b : _(Uint8Array), re = {
2379
+ }() : Et, le = ji()(), _ = ls(), Rs = Fn(), Ps = Cn(), In = Nn(), Fe = Qt, ue = {}, Ts = typeof Uint8Array > "u" || !_ ? b : _(Uint8Array), re = {
2380
2380
  __proto__: null,
2381
2381
  "%AggregateError%": typeof AggregateError > "u" ? b : AggregateError,
2382
2382
  "%Array%": Array,
@@ -2536,14 +2536,14 @@ var _s = function t(e) {
2536
2536
  "%URIErrorPrototype%": ["URIError", "prototype"],
2537
2537
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2538
2538
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2539
- }, $e = nt, Ve = cs(), Cs = $e.call(Fe, Array.prototype.concat), Fs = $e.call(In, Array.prototype.splice), kr = $e.call(Fe, String.prototype.replace), Ke = $e.call(Fe, String.prototype.slice), $s = $e.call(Fe, RegExp.prototype.exec), Ns = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ds = /\\(\\)?/g, Is = function(e) {
2539
+ }, Ne = nt, Ve = cs(), Cs = Ne.call(Fe, Array.prototype.concat), Fs = Ne.call(In, Array.prototype.splice), kr = Ne.call(Fe, String.prototype.replace), Ke = Ne.call(Fe, String.prototype.slice), Ns = Ne.call(Fe, RegExp.prototype.exec), $s = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ds = /\\(\\)?/g, Is = function(e) {
2540
2540
  var r = Ke(e, 0, 1), n = Ke(e, -1);
2541
2541
  if (r === "%" && n !== "%")
2542
2542
  throw new ye("invalid intrinsic syntax, expected closing `%`");
2543
2543
  if (n === "%" && r !== "%")
2544
2544
  throw new ye("invalid intrinsic syntax, expected opening `%`");
2545
2545
  var o = [];
2546
- return kr(e, Ns, function(a, i, s, c) {
2546
+ return kr(e, $s, function(a, i, s, c) {
2547
2547
  o[o.length] = s ? kr(c, Ds, "$1") : i || a;
2548
2548
  }), o;
2549
2549
  }, Us = function(e, r) {
@@ -2564,7 +2564,7 @@ var _s = function t(e) {
2564
2564
  throw new fe("intrinsic name must be a non-empty string");
2565
2565
  if (arguments.length > 1 && typeof r != "boolean")
2566
2566
  throw new fe('"allowMissing" argument must be a boolean');
2567
- if ($s(/^%?[^%]*%?$/, e) === null)
2567
+ if (Ns(/^%?[^%]*%?$/, e) === null)
2568
2568
  throw new ye("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2569
2569
  var n = Is(e), o = n.length > 0 ? n[0] : "", a = Us("%" + o + "%", r), i = a.name, s = a.value, c = !1, u = a.alias;
2570
2570
  u && (o = u[0], Fs(n, Cs([0, 1], u)));
@@ -2589,7 +2589,7 @@ var _s = function t(e) {
2589
2589
  }
2590
2590
  }
2591
2591
  return s;
2592
- }, Un = Xt, Ln = Nn, Ls = Ln([Un("%String.prototype.indexOf%")]), Bn = function(e, r) {
2592
+ }, Un = Xt, Ln = $n, Ls = Ln([Un("%String.prototype.indexOf%")]), Bn = function(e, r) {
2593
2593
  var n = (
2594
2594
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
2595
2595
  Un(e, !!r)
@@ -2598,7 +2598,7 @@ var _s = function t(e) {
2598
2598
  /** @type {const} */
2599
2599
  [n]
2600
2600
  ) : n;
2601
- }, Bs = Xt, Ne = Bn, Ms = tt, ks = ge, qr = Bs("%Map%", !0), qs = Ne("Map.prototype.get", !0), js = Ne("Map.prototype.set", !0), Hs = Ne("Map.prototype.has", !0), zs = Ne("Map.prototype.delete", !0), Ws = Ne("Map.prototype.size", !0), Mn = !!qr && /** @type {Exclude<import('.'), false>} */
2601
+ }, Bs = Xt, $e = Bn, Ms = tt, ks = ge, qr = Bs("%Map%", !0), qs = $e("Map.prototype.get", !0), js = $e("Map.prototype.set", !0), Hs = $e("Map.prototype.has", !0), zs = $e("Map.prototype.delete", !0), Ws = $e("Map.prototype.size", !0), Mn = !!qr && /** @type {Exclude<import('.'), false>} */
2602
2602
  function() {
2603
2603
  var e, r = {
2604
2604
  assert: function(n) {
@@ -2883,13 +2883,13 @@ function() {
2883
2883
  if (a && W(g) && g.length === 0)
2884
2884
  return C + "[]";
2885
2885
  for (var F = 0; F < M.length; ++F) {
2886
- var B = M[F], $ = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
2887
- if (!(s && $ === null)) {
2886
+ var B = M[F], N = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
2887
+ if (!(s && N === null)) {
2888
2888
  var ie = y && c ? String(B).replace(/\./g, "%2E") : String(B), j = W(g) ? typeof n == "function" ? n(C, ie) : C : C + (y ? "." + ie : "[" + ie + "]");
2889
2889
  O.set(e, P);
2890
2890
  var ve = jn();
2891
2891
  ve.set(Pt, O), zn(L, t(
2892
- $,
2892
+ N,
2893
2893
  j,
2894
2894
  n,
2895
2895
  o,
@@ -3069,7 +3069,7 @@ function() {
3069
3069
  i = c;
3070
3070
  }
3071
3071
  return i;
3072
- }, $l = function(e, r, n, o) {
3072
+ }, Nl = function(e, r, n, o) {
3073
3073
  if (e) {
3074
3074
  var a = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, i = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, c = n.depth > 0 && i.exec(a), u = c ? a.slice(0, c.index) : a, l = [];
3075
3075
  if (u) {
@@ -3089,7 +3089,7 @@ function() {
3089
3089
  }
3090
3090
  return Fl(l, r, n, o);
3091
3091
  }
3092
- }, Nl = function(e) {
3092
+ }, $l = function(e) {
3093
3093
  if (!e)
3094
3094
  return A;
3095
3095
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -3131,11 +3131,11 @@ function() {
3131
3131
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
3132
3132
  };
3133
3133
  }, Dl = function(t, e) {
3134
- var r = Nl(e);
3134
+ var r = $l(e);
3135
3135
  if (t === "" || t === null || typeof t > "u")
3136
3136
  return r.plainObjects ? { __proto__: null } : {};
3137
3137
  for (var n = typeof t == "string" ? Cl(t, r) : t, o = r.plainObjects ? { __proto__: null } : {}, a = Object.keys(n), i = 0; i < a.length; ++i) {
3138
- var s = a[i], c = $l(s, n[s], r, typeof t == "string");
3138
+ var s = a[i], c = Nl(s, n[s], r, typeof t == "string");
3139
3139
  o = oe.merge(o, c, r);
3140
3140
  }
3141
3141
  return r.allowSparse === !0 ? o : oe.compact(o);
@@ -3218,9 +3218,9 @@ function kt(t, e) {
3218
3218
  var zr = kt(kl, { path: "/" });
3219
3219
  qt.extend(ro);
3220
3220
  qt.extend(no);
3221
- const Yt = Qr(), Gn = Yt.sso ?? !0, Wr = Yt.i18n ?? !0, Jn = Yt.noRedireLogin ?? !1;
3221
+ const ql = "UTC", jl = () => qt.tz.guess() || ql, Yt = Qr(), Gn = Yt.sso ?? !0, Wr = Yt.i18n ?? !0, Jn = Yt.noRedireLogin ?? !1;
3222
3222
  let Gr = "", Jr = 0;
3223
- const ql = 1e3, Vr = async (t, e, r = []) => {
3223
+ const Hl = 1e3, Vr = async (t, e, r = []) => {
3224
3224
  const n = Date.now(), o = 1200, a = 60;
3225
3225
  for (; Date.now() - n < o; ) {
3226
3226
  const i = t(e, ...r);
@@ -3230,17 +3230,19 @@ const ql = 1e3, Vr = async (t, e, r = []) => {
3230
3230
  return t(e, ...r);
3231
3231
  };
3232
3232
  let Tt = !1;
3233
- const jl = 5e3, Vn = () => Tt ? !1 : (Tt = !0, setTimeout(() => {
3233
+ const zl = 5e3, Vn = () => Tt ? !1 : (Tt = !0, setTimeout(() => {
3234
3234
  Tt = !1;
3235
- }, jl), !0), Kn = () => {
3236
- var e, r;
3235
+ }, zl), !0), Kn = () => {
3237
3236
  if (Jn) return;
3238
3237
  const t = "/login";
3239
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace(`/#${t}`));
3240
- }, Hl = () => Zn("code") || "" || Jn ? !1 : Vn() ? (Gn ? Yn({ ...eo, redirect_uri: to }) : Kn(), !0) : !1, zl = async (t) => {
3238
+ if (location.pathname === t) return;
3239
+ window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1;
3240
+ const e = window.top;
3241
+ e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace(`/#${t}`);
3242
+ }, Wl = () => Zn("code") || "" || Jn ? !1 : Vn() ? (Gn ? Yn({ ...eo, redirect_uri: to }) : Kn(), !0) : !1, Gl = async (t) => {
3241
3243
  var r;
3242
3244
  return ((r = t.config) == null ? void 0 : r.responseType) === "blob" ? t : t.data ?? t;
3243
- }, Wl = async (t, e) => {
3245
+ }, Jl = async (t, e) => {
3244
3246
  var d, m, h, S;
3245
3247
  const { t: r } = Kr();
3246
3248
  let n, o, a = {};
@@ -3248,7 +3250,7 @@ const jl = 5e3, Vn = () => Tt ? !1 : (Tt = !0, setTimeout(() => {
3248
3250
  let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
3249
3251
  const c = s == null ? void 0 : s.code, u = (m = t.response) == null ? void 0 : m.status;
3250
3252
  if (c === 401 || u === 401) {
3251
- Hl(), n = c || u, a = s;
3253
+ Wl(), n = c || u, a = s;
3252
3254
  const O = (e == null ? void 0 : e.i18n) ?? !0;
3253
3255
  if (Wr && O && (s != null && s.status)) {
3254
3256
  const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
@@ -3278,7 +3280,7 @@ const jl = 5e3, Vn = () => Tt ? !1 : (Tt = !0, setTimeout(() => {
3278
3280
  o || (o = i[t.response.status] || t.message);
3279
3281
  } else t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
3280
3282
  e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
3281
- const p = Date.now(), y = o === Gr, v = p - Jr < ql;
3283
+ const p = Date.now(), y = o === Gr, v = p - Jr < Hl;
3282
3284
  return !(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((S = (h = window.DasMessage) == null ? void 0 : h.error) == null || S.call(h, { message: o, showClose: !0 }), Gr = o, Jr = p), { ...a, code: n, msg: o, error: t };
3283
3285
  };
3284
3286
  function xt(t, e) {
@@ -3302,7 +3304,7 @@ function xt(t, e) {
3302
3304
  }
3303
3305
  p && !n.headers.Authorization && (n.headers.Authorization = `Bearer ${p}`);
3304
3306
  }
3305
- n.baseURL || (n.baseURL = a.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Ml.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = zl), n.onError || (n.onError = Wl), (n.csrf ?? !1) && (n.headers["csrf-token"] = zr.get("csrf-token"));
3307
+ n.baseURL || (n.baseURL = a.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Ml.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = Gl), n.onError || (n.onError = Jl), (n.csrf ?? !1) && (n.headers["csrf-token"] = zr.get("csrf-token"));
3306
3308
  const c = n.params || {};
3307
3309
  if (c.project === void 0) {
3308
3310
  let p = 0;
@@ -3313,16 +3315,16 @@ function xt(t, e) {
3313
3315
  const { instanceInfo: p } = ao();
3314
3316
  p != null && p.instanceId && (c.instance = p.instanceId);
3315
3317
  }
3316
- n.params = c, n.headers.Timezone = qt.tz.guess(), n.headers["X-Origin"] = location.origin;
3318
+ n.params = c, n.headers.Timezone = jl(), n.headers["X-Origin"] = location.origin;
3317
3319
  const l = (o == null ? void 0 : o.value) ?? "";
3318
3320
  return l && (n.headers["Accept-Language"] = l), l && zr.set("locale", l), n;
3319
3321
  });
3320
3322
  }
3321
- const Gl = "v1", _t = `/api/bems/data-manage/${Gl}`, oc = {
3323
+ const Vl = "v1", _t = `/api/bems/data-manage/${Vl}`, ic = {
3322
3324
  energyType: xt(`${_t}/energy-type`),
3323
3325
  energyObject: xt(`${_t}/energy-object`),
3324
3326
  energyDimension: xt(`${_t}/energy-dimension`)
3325
3327
  };
3326
3328
  export {
3327
- oc as bemsModules
3329
+ ic as bemsModules
3328
3330
  };
@@ -0,0 +1,2 @@
1
+ /** 供应链管理-合同管理 */
2
+ export declare const contract: any;