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

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 +1360 -1345
  3. package/api-services/i18n/es5.d.ts +63 -0
  4. package/api-services/index.js +1076 -1060
  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 +25 -19
  20. package/api-services/modules/contract/index.js +17 -15
  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 +23 -17
  24. package/api-services/modules/duty-manage/index.js +16 -14
  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 +829 -826
  28. package/api-services/modules/enterpriseright/index.js +651 -653
  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 +1353 -1356
  32. package/api-services/modules/file/es5.d.ts +37 -0
  33. package/api-services/modules/file/es5.js +1226 -1232
  34. package/api-services/modules/file/index.js +993 -1009
  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 +1062 -1074
  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 +1345 -1351
  48. package/api-services/modules/justauth/index.js +1127 -1143
  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 +1343 -1325
  52. package/api-services/modules/knowledge/index.js +1140 -1120
  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 +25 -19
  56. package/api-services/modules/link/index.js +17 -15
  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 +1350 -1356
  64. package/api-services/modules/platformManage/index.js +1131 -1147
  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 +1104 -1110
  76. package/api-services/modules/super-admin/index.js +899 -915
  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 +1104 -1110
  80. package/api-services/modules/supplier/index.js +899 -915
  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 +25 -19
  88. package/api-services/modules/systemConfiguration/index.js +17 -15
  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 +99 -93
  96. package/api-services/src/create-service/index.js +78 -76
  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 +915 -965
  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 +725 -757
  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
@@ -0,0 +1,6 @@
1
+ /** bems能源管理服务 */
2
+ export declare const bemsModules: {
3
+ energyType: any;
4
+ energyObject: any;
5
+ energyDimension: any;
6
+ };
@@ -196,7 +196,7 @@ var To = function To(t, e, r) {
196
196
  var n = t.indexOf(e, r);
197
197
  return n !== -1 && n === r;
198
198
  },
199
- $o = function $o(t) {
199
+ No = function No(t) {
200
200
  if (!t) return null;
201
201
  if (he(t)) return t;
202
202
  var e = t.length;
@@ -205,7 +205,7 @@ var To = function To(t, e, r) {
205
205
  for (; e-- > 0;) r[e] = t[e];
206
206
  return r;
207
207
  },
208
- No = /* @__PURE__ */function (t) {
208
+ $o = /* @__PURE__ */function (t) {
209
209
  return function (e) {
210
210
  return t && e instanceof t;
211
211
  };
@@ -340,7 +340,7 @@ var zo = function zo(t) {
340
340
  isFunction: D,
341
341
  isStream: wo,
342
342
  isURLSearchParams: So,
343
- isTypedArray: No,
343
+ isTypedArray: $o,
344
344
  isFileList: vo,
345
345
  forEach: _e,
346
346
  merge: Ct,
@@ -352,7 +352,7 @@ var zo = function zo(t) {
352
352
  kindOf: Xe,
353
353
  kindOfTest: q,
354
354
  endsWith: Fo,
355
- toArray: $o,
355
+ toArray: No,
356
356
  forEachEntry: Do,
357
357
  matchAll: Io,
358
358
  isHTMLForm: Uo,
@@ -623,8 +623,8 @@ var fn = {
623
623
  protocols: ["http", "https", "file", "blob", "url", "data"]
624
624
  },
625
625
  zt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
626
- $t = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) == "object" && navigator || undefined,
627
- na = zt && (!$t || ["ReactNative", "NativeScript", "NS"].indexOf($t.product) < 0),
626
+ Nt = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) == "object" && navigator || undefined,
627
+ na = zt && (!Nt || ["ReactNative", "NativeScript", "NS"].indexOf(Nt.product) < 0),
628
628
  oa = (typeof WorkerGlobalScope === "undefined" ? "undefined" : _typeof(WorkerGlobalScope)) < "u" &&
629
629
  // eslint-disable-next-line no-undef
630
630
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
@@ -634,16 +634,16 @@ var fn = {
634
634
  hasBrowserEnv: zt,
635
635
  hasStandardBrowserEnv: na,
636
636
  hasStandardBrowserWebWorkerEnv: oa,
637
- navigator: $t,
637
+ navigator: Nt,
638
638
  origin: aa
639
639
  }, Symbol.toStringTag, {
640
640
  value: "Module"
641
641
  })),
642
- N = _objectSpread(_objectSpread({}, ia), ra);
642
+ $ = _objectSpread(_objectSpread({}, ia), ra);
643
643
  function sa(t, e) {
644
- return Ye(t, new N.classes.URLSearchParams(), _objectSpread({
644
+ return Ye(t, new $.classes.URLSearchParams(), _objectSpread({
645
645
  visitor: function visitor(r, n, o, a) {
646
- return N.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), false) : a.defaultVisitor.apply(this, arguments);
646
+ return $.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), false) : a.defaultVisitor.apply(this, arguments);
647
647
  }
648
648
  }, e));
649
649
  }
@@ -733,8 +733,8 @@ var Ce = {
733
733
  maxContentLength: -1,
734
734
  maxBodyLength: -1,
735
735
  env: {
736
- FormData: N.classes.FormData,
737
- Blob: N.classes.Blob
736
+ FormData: $.classes.FormData,
737
+ Blob: $.classes.Blob
738
738
  },
739
739
  validateStatus: function validateStatus(e) {
740
740
  return e >= 200 && e < 300;
@@ -1100,14 +1100,14 @@ var We = function We(t, e) {
1100
1100
  });
1101
1101
  };
1102
1102
  },
1103
- ba = N.hasStandardBrowserEnv ? /* @__PURE__ */function (t, e) {
1103
+ ba = $.hasStandardBrowserEnv ? /* @__PURE__ */function (t, e) {
1104
1104
  return function (r) {
1105
- return r = new URL(r, N.origin), t.protocol === r.protocol && t.host === r.host && (e || t.port === r.port);
1105
+ return r = new URL(r, $.origin), t.protocol === r.protocol && t.host === r.host && (e || t.port === r.port);
1106
1106
  };
1107
- }(new URL(N.origin), N.navigator && /(msie|trident)/i.test(N.navigator.userAgent)) : function () {
1107
+ }(new URL($.origin), $.navigator && /(msie|trident)/i.test($.navigator.userAgent)) : function () {
1108
1108
  return true;
1109
1109
  },
1110
- Sa = N.hasStandardBrowserEnv ?
1110
+ Sa = $.hasStandardBrowserEnv ?
1111
1111
  // Standard browser envs support document.cookie
1112
1112
  {
1113
1113
  write: function write(t, e, r, n, o, a, i) {
@@ -1218,7 +1218,7 @@ var mn = function mn(t) {
1218
1218
  i = e.headers,
1219
1219
  s = e.auth;
1220
1220
  if (e.headers = i = I.from(i), e.url = un(hn(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(r)) {
1221
- if (N.hasStandardBrowserEnv || N.hasStandardBrowserWebWorkerEnv) i.setContentType(undefined);else if (f.isFunction(r.getHeaders)) {
1221
+ if ($.hasStandardBrowserEnv || $.hasStandardBrowserWebWorkerEnv) i.setContentType(undefined);else if (f.isFunction(r.getHeaders)) {
1222
1222
  var c = r.getHeaders(),
1223
1223
  u = ["content-type", "content-length"];
1224
1224
  Object.entries(c).forEach(function (_ref1) {
@@ -1229,7 +1229,7 @@ var mn = function mn(t) {
1229
1229
  });
1230
1230
  }
1231
1231
  }
1232
- if (N.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== false && ba(e.url))) {
1232
+ if ($.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== false && ba(e.url))) {
1233
1233
  var _c = o && a && Sa.read(a);
1234
1234
  _c && i.set(o, _c);
1235
1235
  }
@@ -1290,7 +1290,7 @@ var mn = function mn(t) {
1290
1290
  h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
1291
1291
  }, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
1292
1292
  var O = ga(o.url);
1293
- if (O && N.protocols.indexOf(O) === -1) {
1293
+ if (O && $.protocols.indexOf(O) === -1) {
1294
1294
  n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
1295
1295
  return;
1296
1296
  }
@@ -1585,7 +1585,7 @@ var mn = function mn(t) {
1585
1585
  }())),
1586
1586
  u = a && s && dr(function () {
1587
1587
  var d = !1;
1588
- var m = new r(N.origin, {
1588
+ var m = new r($.origin, {
1589
1589
  body: new fr(),
1590
1590
  method: "POST",
1591
1591
  get duplex() {
@@ -1631,7 +1631,7 @@ var mn = function mn(t) {
1631
1631
  break;
1632
1632
  }
1633
1633
  _context6.n = 3;
1634
- return new r(N.origin, {
1634
+ return new r($.origin, {
1635
1635
  method: "POST",
1636
1636
  body: d
1637
1637
  }).arrayBuffer();
@@ -1678,7 +1678,7 @@ var mn = function mn(t) {
1678
1678
  }();
1679
1679
  return /*#__PURE__*/function () {
1680
1680
  var _ref15 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(d) {
1681
- var _mn, m, h, S, O, g, E, P, U, T, V, _mn$withCredentials, L, M, Z, k, C, F, B, K, se, _ir, _ir2, at, De, $, ie, j, ve, _K, _se, _ref16, _ref17, _at, _De, we, _t8, _t9, _t0;
1681
+ var _mn, m, h, S, O, g, E, P, U, T, V, _mn$withCredentials, L, M, Z, k, C, F, B, K, se, _ir, _ir2, at, De, N, ie, j, ve, _K, _se, _ref16, _ref17, _at, _De, we, _t8, _t9, _t0;
1682
1682
  return _regenerator().w(function (_context8) {
1683
1683
  while (1) switch (_context8.p = _context8.n) {
1684
1684
  case 0:
@@ -1715,13 +1715,13 @@ var mn = function mn(t) {
1715
1715
  }
1716
1716
  case 4:
1717
1717
  f.isString(L) || (L = L ? "include" : "omit");
1718
- $ = a && "credentials" in r.prototype, ie = _objectSpread(_objectSpread({}, M), {}, {
1718
+ N = a && "credentials" in r.prototype, ie = _objectSpread(_objectSpread({}, M), {}, {
1719
1719
  signal: k,
1720
1720
  method: h.toUpperCase(),
1721
1721
  headers: V.normalize().toJSON(),
1722
1722
  body: S,
1723
1723
  duplex: "half",
1724
- credentials: $ ? L : void 0
1724
+ credentials: N ? L : void 0
1725
1725
  });
1726
1726
  C = a && new r(m, ie);
1727
1727
  _context8.n = 5;
@@ -1774,7 +1774,7 @@ var mn = function mn(t) {
1774
1774
  };
1775
1775
  }();
1776
1776
  },
1777
- $a = /* @__PURE__ */new Map(),
1777
+ Na = /* @__PURE__ */new Map(),
1778
1778
  gn = function gn(t) {
1779
1779
  var e = t && t.env || {};
1780
1780
  var r = e.fetch,
@@ -1785,7 +1785,7 @@ var mn = function mn(t) {
1785
1785
  s = i,
1786
1786
  c,
1787
1787
  u,
1788
- l = $a;
1788
+ l = Na;
1789
1789
  for (; s--;) c = a[s], u = l.get(c), u === undefined && l.set(c, u = s ? /* @__PURE__ */new Map() : Fa(e)), l = u;
1790
1790
  return u;
1791
1791
  };
@@ -1812,7 +1812,7 @@ f.forEach(Wt, function (t, e) {
1812
1812
  var yr = function yr(t) {
1813
1813
  return "- ".concat(t);
1814
1814
  },
1815
- Na = function Na(t) {
1815
+ $a = function $a(t) {
1816
1816
  return f.isFunction(t) || t === null || t === false;
1817
1817
  };
1818
1818
  function Da(t, e) {
@@ -1824,7 +1824,7 @@ function Da(t, e) {
1824
1824
  for (var i = 0; i < r; i++) {
1825
1825
  n = t[i];
1826
1826
  var s = void 0;
1827
- if (o = n, !Na(n) && (o = Wt[(s = String(n)).toLowerCase()], o === undefined)) throw new w("Unknown adapter '".concat(s, "'"));
1827
+ if (o = n, !$a(n) && (o = Wt[(s = String(n)).toLowerCase()], o === undefined)) throw new w("Unknown adapter '".concat(s, "'"));
1828
1828
  if (o && (f.isFunction(o) || (o = o.get(e)))) break;
1829
1829
  a[s || "#" + i] = o;
1830
1830
  }
@@ -2144,7 +2144,7 @@ function Ua(t) {
2144
2144
  function La(t) {
2145
2145
  return f.isObject(t) && t.isAxiosError === true;
2146
2146
  }
2147
- var Nt = {
2147
+ var $t = {
2148
2148
  Continue: 100,
2149
2149
  SwitchingProtocols: 101,
2150
2150
  Processing: 102,
@@ -2215,11 +2215,11 @@ var Nt = {
2215
2215
  SslHandshakeFailed: 525,
2216
2216
  InvalidSslCertificate: 526
2217
2217
  };
2218
- Object.entries(Nt).forEach(function (_ref20) {
2218
+ Object.entries($t).forEach(function (_ref20) {
2219
2219
  var _ref21 = _slicedToArray(_ref20, 2),
2220
2220
  t = _ref21[0],
2221
2221
  e = _ref21[1];
2222
- Nt[e] = t;
2222
+ $t[e] = t;
2223
2223
  });
2224
2224
  function bn(t) {
2225
2225
  var e = new te(t),
@@ -2252,7 +2252,7 @@ R.formToJSON = function (t) {
2252
2252
  return pn(f.isHTMLForm(t) ? new FormData(t) : t);
2253
2253
  };
2254
2254
  R.getAdapter = vn.getAdapter;
2255
- R.HttpStatusCode = Nt;
2255
+ R.HttpStatusCode = $t;
2256
2256
  R["default"] = R;
2257
2257
  var gr = (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 : {};
2258
2258
  function Ba(t) {
@@ -2378,10 +2378,10 @@ var Ut = ja,
2378
2378
  if (_typeof(o) > "u") o = [];else if (Pn(o, e) >= 0) return "[Circular]";
2379
2379
  function y(C, F, B) {
2380
2380
  if (F && (o = Xa.call(o), o.push(F)), B) {
2381
- var $ = {
2381
+ var N = {
2382
2382
  depth: a.depth
2383
2383
  };
2384
- return J(a, "quoteStyle") && ($.quoteStyle = a.quoteStyle), t(C, $, n + 1, o);
2384
+ return J(a, "quoteStyle") && (N.quoteStyle = a.quoteStyle), t(C, N, n + 1, o);
2385
2385
  }
2386
2386
  return t(C, a, n + 1, o);
2387
2387
  }
@@ -2703,8 +2703,8 @@ var gi = tt,
2703
2703
  _i = URIError,
2704
2704
  Ci = Math.abs,
2705
2705
  Fi = Math.floor,
2706
- $i = Math.max,
2707
- Ni = Math.min,
2706
+ Ni = Math.max,
2707
+ $i = Math.min,
2708
2708
  Di = Math.pow,
2709
2709
  Ii = Math.round,
2710
2710
  Ui = Number.isNaN || function (e) {
@@ -2765,14 +2765,14 @@ function ji() {
2765
2765
  return typeof t != "function" || typeof Symbol != "function" || _typeof(t("foo")) != "symbol" || _typeof(Symbol("bar")) != "symbol" ? false : e();
2766
2766
  }, yt;
2767
2767
  }
2768
- var ht, $r;
2768
+ var ht, Nr;
2769
2769
  function Cn() {
2770
- return $r || ($r = 1, ht = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u" && Reflect.getPrototypeOf || null), ht;
2770
+ return Nr || (Nr = 1, ht = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u" && Reflect.getPrototypeOf || null), ht;
2771
2771
  }
2772
- var mt, Nr;
2772
+ var mt, $r;
2773
2773
  function Fn() {
2774
- if (Nr) return mt;
2775
- Nr = 1;
2774
+ if ($r) return mt;
2775
+ $r = 1;
2776
2776
  var t = xn;
2777
2777
  return mt = t.getPrototypeOf || null, mt;
2778
2778
  }
@@ -2814,12 +2814,12 @@ var Hi = "Function.prototype.bind called on incompatible ",
2814
2814
  Qt = Function.prototype.call,
2815
2815
  gt,
2816
2816
  Ir;
2817
- function $n() {
2817
+ function Nn() {
2818
2818
  return Ir || (Ir = 1, gt = Function.prototype.apply), gt;
2819
2819
  }
2820
2820
  var Xi = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u" && Reflect && Reflect.apply,
2821
2821
  Zi = nt,
2822
- Yi = $n(),
2822
+ Yi = Nn(),
2823
2823
  es = Qt,
2824
2824
  ts = Xi,
2825
2825
  rs = ts || Zi.call(es, Yi),
@@ -2827,7 +2827,7 @@ var Xi = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u"
2827
2827
  os = ge,
2828
2828
  as = Qt,
2829
2829
  is = rs,
2830
- Nn = function Nn(e) {
2830
+ $n = function $n(e) {
2831
2831
  if (e.length < 1 || typeof e[0] != "function") throw new os("a function is required");
2832
2832
  return is(ns, as, e);
2833
2833
  },
@@ -2836,7 +2836,7 @@ var Xi = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u"
2836
2836
  function ss() {
2837
2837
  if (Ur) return vt;
2838
2838
  Ur = 1;
2839
- var t = Nn,
2839
+ var t = $n,
2840
2840
  e = _n,
2841
2841
  r;
2842
2842
  try {
@@ -2890,8 +2890,8 @@ var b,
2890
2890
  hs = _i,
2891
2891
  ms = Ci,
2892
2892
  gs = Fi,
2893
- vs = $i,
2894
- ws = Ni,
2893
+ vs = Ni,
2894
+ ws = $i,
2895
2895
  bs = Di,
2896
2896
  Ss = Ii,
2897
2897
  Es = Bi,
@@ -2921,7 +2921,7 @@ var b,
2921
2921
  _ = ls(),
2922
2922
  Rs = Fn(),
2923
2923
  Ps = Cn(),
2924
- In = $n(),
2924
+ In = Nn(),
2925
2925
  Fe = Qt,
2926
2926
  ue = {},
2927
2927
  Ts = (typeof Uint8Array === "undefined" ? "undefined" : _typeof(Uint8Array)) > "u" || !_ ? b : _(Uint8Array),
@@ -3080,14 +3080,14 @@ var _s = function t(e) {
3080
3080
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
3081
3081
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
3082
3082
  },
3083
- $e = nt,
3083
+ Ne = nt,
3084
3084
  Ve = cs(),
3085
- Cs = $e.call(Fe, Array.prototype.concat),
3086
- Fs = $e.call(In, Array.prototype.splice),
3087
- kr = $e.call(Fe, String.prototype.replace),
3088
- Ke = $e.call(Fe, String.prototype.slice),
3089
- $s = $e.call(Fe, RegExp.prototype.exec),
3090
- Ns = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
3085
+ Cs = Ne.call(Fe, Array.prototype.concat),
3086
+ Fs = Ne.call(In, Array.prototype.splice),
3087
+ kr = Ne.call(Fe, String.prototype.replace),
3088
+ Ke = Ne.call(Fe, String.prototype.slice),
3089
+ Ns = Ne.call(Fe, RegExp.prototype.exec),
3090
+ $s = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
3091
3091
  Ds = /\\(\\)?/g,
3092
3092
  Is = function Is(e) {
3093
3093
  var r = Ke(e, 0, 1),
@@ -3095,7 +3095,7 @@ var _s = function t(e) {
3095
3095
  if (r === "%" && n !== "%") throw new ye("invalid intrinsic syntax, expected closing `%`");
3096
3096
  if (n === "%" && r !== "%") throw new ye("invalid intrinsic syntax, expected opening `%`");
3097
3097
  var o = [];
3098
- return kr(e, Ns, function (a, i, s, c) {
3098
+ return kr(e, $s, function (a, i, s, c) {
3099
3099
  o[o.length] = s ? kr(c, Ds, "$1") : i || a;
3100
3100
  }), o;
3101
3101
  },
@@ -3116,7 +3116,7 @@ var _s = function t(e) {
3116
3116
  Xt = function Xt(e, r) {
3117
3117
  if (typeof e != "string" || e.length === 0) throw new fe("intrinsic name must be a non-empty string");
3118
3118
  if (arguments.length > 1 && typeof r != "boolean") throw new fe('"allowMissing" argument must be a boolean');
3119
- if ($s(/^%?[^%]*%?$/, e) === null) throw new ye("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
3119
+ if (Ns(/^%?[^%]*%?$/, e) === null) throw new ye("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
3120
3120
  var n = Is(e),
3121
3121
  o = n.length > 0 ? n[0] : "",
3122
3122
  a = Us("%" + o + "%", r),
@@ -3145,7 +3145,7 @@ var _s = function t(e) {
3145
3145
  return s;
3146
3146
  },
3147
3147
  Un = Xt,
3148
- Ln = Nn,
3148
+ Ln = $n,
3149
3149
  Ls = Ln([Un("%String.prototype.indexOf%")]),
3150
3150
  Bn = function Bn(e, r) {
3151
3151
  var n = /** @type {(this: unknown, ...args: unknown[]) => unknown} */
@@ -3154,15 +3154,15 @@ var _s = function t(e) {
3154
3154
  [n]) : n;
3155
3155
  },
3156
3156
  Bs = Xt,
3157
- Ne = Bn,
3157
+ $e = Bn,
3158
3158
  Ms = tt,
3159
3159
  ks = ge,
3160
3160
  qr = Bs("%Map%", true),
3161
- qs = Ne("Map.prototype.get", true),
3162
- js = Ne("Map.prototype.set", true),
3163
- Hs = Ne("Map.prototype.has", true),
3164
- zs = Ne("Map.prototype.delete", true),
3165
- Ws = Ne("Map.prototype.size", true),
3161
+ qs = $e("Map.prototype.get", true),
3162
+ js = $e("Map.prototype.set", true),
3163
+ Hs = $e("Map.prototype.has", true),
3164
+ zs = $e("Map.prototype.delete", true),
3165
+ Ws = $e("Map.prototype.size", true),
3166
3166
  Mn = !!qr && /** @type {Exclude<import('.'), false>} */
3167
3167
  function () {
3168
3168
  var e,
@@ -3489,13 +3489,13 @@ var _s = function t(e) {
3489
3489
  if (a && W(g) && g.length === 0) return C + "[]";
3490
3490
  for (var F = 0; F < M.length; ++F) {
3491
3491
  var B = M[F],
3492
- $ = _typeof(B) == "object" && B && _typeof(B.value) < "u" ? B.value : g[B];
3493
- if (!(s && $ === null)) {
3492
+ N = _typeof(B) == "object" && B && _typeof(B.value) < "u" ? B.value : g[B];
3493
+ if (!(s && N === null)) {
3494
3494
  var ie = y && c ? String(B).replace(/\./g, "%2E") : String(B),
3495
3495
  j = W(g) ? typeof n == "function" ? n(C, ie) : C : C + (y ? "." + ie : "[" + ie + "]");
3496
3496
  O.set(e, P);
3497
3497
  var ve = jn();
3498
- ve.set(Pt, O), zn(L, t($, j, n, o, a, i, s, c, n === "comma" && h && W(g) ? null : u, l, p, y, v, d, m, h, S, ve));
3498
+ ve.set(Pt, O), zn(L, t(N, j, n, o, a, i, s, c, n === "comma" && h && W(g) ? null : u, l, p, y, v, d, m, h, S, ve));
3499
3499
  }
3500
3500
  }
3501
3501
  return L;
@@ -3649,7 +3649,7 @@ var _s = function t(e) {
3649
3649
  }
3650
3650
  return i;
3651
3651
  },
3652
- $l = function $l(e, r, n, o) {
3652
+ Nl = function Nl(e, r, n, o) {
3653
3653
  if (e) {
3654
3654
  var a = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e,
3655
3655
  i = /(\[[^[\]]*])/,
@@ -3672,7 +3672,7 @@ var _s = function t(e) {
3672
3672
  return Fl(l, r, n, o);
3673
3673
  }
3674
3674
  },
3675
- Nl = function Nl(e) {
3675
+ $l = function $l(e) {
3676
3676
  if (!e) return A;
3677
3677
  if (_typeof(e.allowEmptyArrays) < "u" && typeof e.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3678
3678
  if (_typeof(e.decodeDotInKeys) < "u" && typeof e.decodeDotInKeys != "boolean") throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
@@ -3709,7 +3709,7 @@ var _s = function t(e) {
3709
3709
  };
3710
3710
  },
3711
3711
  Dl = function Dl(t, e) {
3712
- var r = Nl(e);
3712
+ var r = $l(e);
3713
3713
  if (t === "" || t === null || _typeof(t) > "u") return r.plainObjects ? {
3714
3714
  __proto__: null
3715
3715
  } : {};
@@ -3717,7 +3717,7 @@ var _s = function t(e) {
3717
3717
  __proto__: null
3718
3718
  } : {}, a = Object.keys(n), i = 0; i < a.length; ++i) {
3719
3719
  var s = a[i],
3720
- c = $l(s, n[s], r, typeof t == "string");
3720
+ c = Nl(s, n[s], r, typeof t == "string");
3721
3721
  o = oe.merge(o, c, r);
3722
3722
  }
3723
3723
  return r.allowSparse === true ? o : oe.compact(o);
@@ -3797,13 +3797,17 @@ var zr = kt(kl, {
3797
3797
  });
3798
3798
  qt.extend(ro);
3799
3799
  qt.extend(no);
3800
- var Yt = config.getConfig(),
3800
+ var ql = "UTC",
3801
+ jl = function jl() {
3802
+ return qt.tz.guess() || ql;
3803
+ },
3804
+ Yt = config.getConfig(),
3801
3805
  Gn = (_Yt$sso = Yt.sso) !== null && _Yt$sso !== void 0 ? _Yt$sso : true,
3802
3806
  Wr = (_Yt$i18n = Yt.i18n) !== null && _Yt$i18n !== void 0 ? _Yt$i18n : true,
3803
3807
  Jn = (_Yt$noRedireLogin = Yt.noRedireLogin) !== null && _Yt$noRedireLogin !== void 0 ? _Yt$noRedireLogin : false;
3804
3808
  var Gr = "",
3805
3809
  Jr = 0;
3806
- var ql = 1e3,
3810
+ var Hl = 1e3,
3807
3811
  Vr = /*#__PURE__*/function () {
3808
3812
  var _ref22 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(t, e) {
3809
3813
  var r,
@@ -3846,24 +3850,26 @@ var ql = 1e3,
3846
3850
  };
3847
3851
  }();
3848
3852
  var Tt = false;
3849
- var jl = 5e3,
3853
+ var zl = 5e3,
3850
3854
  Vn = function Vn() {
3851
3855
  return Tt ? false : (Tt = true, setTimeout(function () {
3852
3856
  Tt = false;
3853
- }, jl), true);
3857
+ }, zl), true);
3854
3858
  },
3855
3859
  Kn = function Kn() {
3856
- var e, r;
3857
3860
  if (Jn) return;
3858
3861
  var t = "/login";
3859
- location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false, (e = window.top) != null && e.vueRouter ? (r = window.top) == null || r.vueRouter.replace(t) : window.location.replace("/#".concat(t)));
3862
+ if (location.pathname === t) return;
3863
+ window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false;
3864
+ var e = window.top;
3865
+ e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace("/#".concat(t));
3860
3866
  },
3861
- Hl = function Hl() {
3867
+ Wl = function Wl() {
3862
3868
  return sso.getQuery("code") || "" || Jn ? false : Vn() ? (Gn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
3863
3869
  redirect_uri: sso.real_uri
3864
3870
  })) : Kn(), true) : false;
3865
3871
  },
3866
- zl = /*#__PURE__*/function () {
3872
+ Gl = /*#__PURE__*/function () {
3867
3873
  var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
3868
3874
  var _t$data;
3869
3875
  var r;
@@ -3874,11 +3880,11 @@ var jl = 5e3,
3874
3880
  }
3875
3881
  }, _callee0);
3876
3882
  }));
3877
- return function zl(_x11) {
3883
+ return function Gl(_x11) {
3878
3884
  return _ref23.apply(this, arguments);
3879
3885
  };
3880
3886
  }(),
3881
- Wl = /*#__PURE__*/function () {
3887
+ Jl = /*#__PURE__*/function () {
3882
3888
  var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
3883
3889
  var d, m, h, S, _i18nBridge$getI18nBr, r, n, o, a, i, s, c, u, _ref25, O, g, E, _ref26, _ref27, _O, _g, _E, p, y, v, _t11, _t12, _t13;
3884
3890
  return _regenerator().w(function (_context10) {
@@ -3897,7 +3903,7 @@ var jl = 5e3,
3897
3903
  _context10.n = 6;
3898
3904
  break;
3899
3905
  }
3900
- Hl(), n = c || u, a = s;
3906
+ Wl(), n = c || u, a = s;
3901
3907
  O = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
3902
3908
  if (!(Wr && O && s != null && s.status)) {
3903
3909
  _context10.n = 4;
@@ -3994,7 +4000,7 @@ var jl = 5e3,
3994
4000
  t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
3995
4001
  case 17:
3996
4002
  e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
3997
- p = Date.now(), y = o === Gr, v = p - Jr < ql;
4003
+ p = Date.now(), y = o === Gr, v = p - Jr < Hl;
3998
4004
  return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((S = (h = window.DasMessage) == null ? undefined : h.error) == null || S.call(h, {
3999
4005
  message: o,
4000
4006
  showClose: true
@@ -4006,7 +4012,7 @@ var jl = 5e3,
4006
4012
  }
4007
4013
  }, _callee1);
4008
4014
  }));
4009
- return function Wl(_x12, _x13) {
4015
+ return function Jl(_x12, _x13) {
4010
4016
  return _ref24.apply(this, arguments);
4011
4017
  };
4012
4018
  }();
@@ -4071,7 +4077,7 @@ function xt(t, e) {
4071
4077
  indices: false
4072
4078
  });
4073
4079
  }
4074
- }), n.onSuccess || (n.onSuccess = zl), n.onError || (n.onError = Wl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = zr.get("csrf-token"));
4080
+ }), n.onSuccess || (n.onSuccess = Gl), n.onError || (n.onError = Jl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = zr.get("csrf-token"));
4075
4081
  c = n.params || {};
4076
4082
  if (c.project === undefined) {
4077
4083
  _p = 0;
@@ -4082,7 +4088,7 @@ function xt(t, e) {
4082
4088
  _commonInfo$getInstan = commonInfo.getInstanceInfo(), _p2 = _commonInfo$getInstan.instanceInfo;
4083
4089
  _p2 != null && _p2.instanceId && (c.instance = _p2.instanceId);
4084
4090
  }
4085
- n.params = c, n.headers.Timezone = qt.tz.guess(), n.headers["X-Origin"] = location.origin;
4091
+ n.params = c, n.headers.Timezone = jl(), n.headers["X-Origin"] = location.origin;
4086
4092
  l = (_ref29 = o == null ? undefined : o.value) !== null && _ref29 !== void 0 ? _ref29 : "";
4087
4093
  return _context11.a(2, (l && (n.headers["Accept-Language"] = l), l && zr.set("locale", l), n));
4088
4094
  }
@@ -4093,11 +4099,11 @@ function xt(t, e) {
4093
4099
  };
4094
4100
  }());
4095
4101
  }
4096
- var Gl = "v1",
4097
- _t = "/api/bems/data-manage/".concat(Gl),
4098
- oc = {
4102
+ var Vl = "v1",
4103
+ _t = "/api/bems/data-manage/".concat(Vl),
4104
+ ic = {
4099
4105
  energyType: xt("".concat(_t, "/energy-type")),
4100
4106
  energyObject: xt("".concat(_t, "/energy-object")),
4101
4107
  energyDimension: xt("".concat(_t, "/energy-dimension"))
4102
4108
  };
4103
- exports.bemsModules = oc;
4109
+ exports.bemsModules = ic;