@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
@@ -72,18 +72,18 @@ function sn(t, e) {
72
72
  return null;
73
73
  }
74
74
  const ee = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ln = (t) => !ye(t) && t !== ee;
75
- function Nt() {
75
+ function $t() {
76
76
  const { caseless: t, skipUndefined: e } = ln(this) && this || {}, r = {}, n = (o, i) => {
77
77
  const a = t && sn(r, i) || i;
78
- qe(r[a]) && qe(o) ? r[a] = Nt(r[a], o) : qe(o) ? r[a] = Nt({}, o) : ge(o) ? r[a] = o.slice() : (!e || !ye(o)) && (r[a] = o);
78
+ qe(r[a]) && qe(o) ? r[a] = $t(r[a], o) : qe(o) ? r[a] = $t({}, o) : ge(o) ? r[a] = o.slice() : (!e || !ye(o)) && (r[a] = o);
79
79
  };
80
80
  for (let o = 0, i = arguments.length; o < i; o++)
81
81
  arguments[o] && Fe(arguments[o], n);
82
82
  return r;
83
83
  }
84
- const $o = (t, e, r, { allOwnKeys: n } = {}) => (Fe(e, (o, i) => {
84
+ const No = (t, e, r, { allOwnKeys: n } = {}) => (Fe(e, (o, i) => {
85
85
  r && I(o) ? t[i] = rn(o, r) : t[i] = o;
86
- }, { allOwnKeys: n }), t), No = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Io = (t, e, r, n) => {
86
+ }, { allOwnKeys: n }), t), $o = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Io = (t, e, r, n) => {
87
87
  t.prototype = Object.create(e.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
88
88
  value: e.prototype
89
89
  }), r && Object.assign(t.prototype, r);
@@ -214,10 +214,10 @@ const Ko = (t) => {
214
214
  isTypedArray: Bo,
215
215
  isFileList: Oo,
216
216
  forEach: Fe,
217
- merge: Nt,
218
- extend: $o,
217
+ merge: $t,
218
+ extend: No,
219
219
  trim: Fo,
220
- stripBOM: No,
220
+ stripBOM: $o,
221
221
  inherits: Io,
222
222
  toFlatObject: Do,
223
223
  kindOf: Ye,
@@ -501,14 +501,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ui
501
501
  hasStandardBrowserWebWorkerEnv: ci,
502
502
  navigator: Dt,
503
503
  origin: ui
504
- }, Symbol.toStringTag, { value: "Module" })), N = {
504
+ }, Symbol.toStringTag, { value: "Module" })), $ = {
505
505
  ...fi,
506
506
  ...si
507
507
  };
508
508
  function pi(t, e) {
509
- return tt(t, new N.classes.URLSearchParams(), {
509
+ return tt(t, new $.classes.URLSearchParams(), {
510
510
  visitor: function(r, n, o, i) {
511
- return N.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
511
+ return $.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
512
512
  },
513
513
  ...e
514
514
  });
@@ -550,7 +550,7 @@ function hi(t, e, r) {
550
550
  }
551
551
  return (r || JSON.stringify)(t);
552
552
  }
553
- const $e = {
553
+ const Ne = {
554
554
  transitional: mn,
555
555
  adapter: ["xhr", "http", "fetch"],
556
556
  transformRequest: [function(e, r) {
@@ -579,7 +579,7 @@ const $e = {
579
579
  return i || o ? (r.setContentType("application/json", !1), hi(e)) : e;
580
580
  }],
581
581
  transformResponse: [function(e) {
582
- const r = this.transitional || $e.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
582
+ const r = this.transitional || Ne.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
583
583
  if (f.isResponse(e) || f.isReadableStream(e))
584
584
  return e;
585
585
  if (e && f.isString(e) && (n && !this.responseType || o)) {
@@ -603,8 +603,8 @@ const $e = {
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;
@@ -617,7 +617,7 @@ const $e = {
617
617
  }
618
618
  };
619
619
  f.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
620
- $e.headers[t] = {};
620
+ Ne.headers[t] = {};
621
621
  });
622
622
  const mi = f.toObjectSet([
623
623
  "age",
@@ -821,7 +821,7 @@ f.reduceDescriptors(D.prototype, ({ value: t }, e) => {
821
821
  });
822
822
  f.freezeMethods(D);
823
823
  function ct(t, e) {
824
- const r = this || $e, n = e || r, o = D.from(n.headers);
824
+ const r = this || Ne, n = e || r, o = D.from(n.headers);
825
825
  let i = n.data;
826
826
  return f.forEach(t, function(s) {
827
827
  i = s.call(r, i, o.normalize(), e ? e.status : void 0);
@@ -904,10 +904,10 @@ const Je = (t, e, r = 3) => {
904
904
  total: t,
905
905
  loaded: n
906
906
  }), e[1]];
907
- }, ur = (t) => (...e) => f.asap(() => t(...e)), Ri = 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, Pi = N.hasStandardBrowserEnv ? (
907
+ }, ur = (t) => (...e) => f.asap(() => t(...e)), Ri = $.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, Pi = $.hasStandardBrowserEnv ? (
911
911
  // Standard browser envs support document.cookie
912
912
  {
913
913
  write(t, e, r, n, o, i, a) {
@@ -1018,7 +1018,7 @@ const Sn = (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
  a.setContentType(void 0);
1023
1023
  else if (f.isFunction(r.getHeaders)) {
1024
1024
  const u = r.getHeaders(), c = ["content-type", "content-length"];
@@ -1027,7 +1027,7 @@ const Sn = (t) => {
1027
1027
  });
1028
1028
  }
1029
1029
  }
1030
- if (N.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== !1 && Ri(e.url))) {
1030
+ if ($.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== !1 && Ri(e.url))) {
1031
1031
  const u = o && i && Pi.read(i);
1032
1032
  u && a.set(o, u);
1033
1033
  }
@@ -1084,7 +1084,7 @@ const Sn = (t) => {
1084
1084
  h && (n(!g || g.type ? new ve(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 = Ei(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
  }
@@ -1113,7 +1113,7 @@ const Sn = (t) => {
1113
1113
  const { signal: u } = n;
1114
1114
  return u.unsubscribe = () => f.asap(s), u;
1115
1115
  }
1116
- }, $i = function* (t, e) {
1116
+ }, Ni = function* (t, e) {
1117
1117
  let r = t.byteLength;
1118
1118
  if (r < e) {
1119
1119
  yield t;
@@ -1122,9 +1122,9 @@ const Sn = (t) => {
1122
1122
  let n = 0, o;
1123
1123
  for (; n < r; )
1124
1124
  o = n + e, yield t.slice(n, o), n = o;
1125
- }, Ni = async function* (t, e) {
1125
+ }, $i = async function* (t, e) {
1126
1126
  for await (const r of Ii(t))
1127
- yield* $i(r, e);
1127
+ yield* Ni(r, e);
1128
1128
  }, Ii = async function* (t) {
1129
1129
  if (t[Symbol.asyncIterator]) {
1130
1130
  yield* t;
@@ -1142,7 +1142,7 @@ const Sn = (t) => {
1142
1142
  await e.cancel();
1143
1143
  }
1144
1144
  }, pr = (t, e, r, n) => {
1145
- const o = Ni(t, e);
1145
+ const o = $i(t, e);
1146
1146
  let i = 0, a, s = (u) => {
1147
1147
  a || (a = !0, n && n(u));
1148
1148
  };
@@ -1191,7 +1191,7 @@ const Sn = (t) => {
1191
1191
  return !1;
1192
1192
  const s = o && Le(yr), u = o && (typeof hr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new hr()) : async (d) => new Uint8Array(await new r(d).arrayBuffer())), c = i && s && mr(() => {
1193
1193
  let d = !1;
1194
- const m = new r(N.origin, {
1194
+ const m = new r($.origin, {
1195
1195
  body: new yr(),
1196
1196
  method: "POST",
1197
1197
  get duplex() {
@@ -1216,7 +1216,7 @@ const Sn = (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 Sn = (t) => {
1265
1265
  }
1266
1266
  }
1267
1267
  f.isString(L) || (L = L ? "include" : "omit");
1268
- const $ = i && "credentials" in r.prototype, le = {
1268
+ const N = i && "credentials" in r.prototype, le = {
1269
1269
  ...M,
1270
1270
  signal: k,
1271
1271
  method: h.toUpperCase(),
1272
1272
  headers: V.normalize().toJSON(),
1273
1273
  body: b,
1274
1274
  duplex: "half",
1275
- credentials: $ ? L : void 0
1275
+ credentials: N ? L : void 0
1276
1276
  };
1277
1277
  _ = i && new r(m, le);
1278
1278
  let j = await (i ? Z(_, M) : Z(m, le));
@@ -1305,13 +1305,13 @@ const Sn = (t) => {
1305
1305
  request: _
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, _),
1311
1311
  {
1312
- cause: $.cause || $
1312
+ cause: N.cause || N
1313
1313
  }
1314
- ) : w.from($, $ && $.code, d, _);
1314
+ ) : w.from(N, N && N.code, d, _);
1315
1315
  }
1316
1316
  };
1317
1317
  }, Li = /* @__PURE__ */ new Map(), En = (t) => {
@@ -1392,7 +1392,7 @@ function vr(t) {
1392
1392
  return ut(t), t.headers = D.from(t.headers), t.data = ct.call(
1393
1393
  t,
1394
1394
  t.transformRequest
1395
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), On.getAdapter(t.adapter || $e.adapter, t)(t).then(function(n) {
1395
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), On.getAdapter(t.adapter || Ne.adapter, t)(t).then(function(n) {
1396
1396
  return ut(t), n.data = ct.call(
1397
1397
  t,
1398
1398
  t.transformResponse,
@@ -1735,7 +1735,7 @@ function Rn(t) {
1735
1735
  return Rn(ie(t, o));
1736
1736
  }, r;
1737
1737
  }
1738
- const R = Rn($e);
1738
+ const R = Rn(Ne);
1739
1739
  R.Axios = te;
1740
1740
  R.CanceledError = ve;
1741
1741
  R.CancelToken = Kt;
@@ -1828,7 +1828,7 @@ var Mt = Ji, Cr = Mt.custom, _r = _n(Cr) ? Cr : null, xn = {
1828
1828
  if (typeof e == "boolean")
1829
1829
  return e ? "true" : "false";
1830
1830
  if (typeof e == "string")
1831
- return $n(e, i);
1831
+ return Nn(e, i);
1832
1832
  if (typeof e == "number") {
1833
1833
  if (e === 0)
1834
1834
  return 1 / 0 / e > 0 ? "0" : "-0";
@@ -1849,10 +1849,10 @@ var Mt = Ji, Cr = Mt.custom, _r = _n(Cr) ? Cr : null, xn = {
1849
1849
  return "[Circular]";
1850
1850
  function y(_, F, B) {
1851
1851
  if (F && (o = ra.call(o), o.push(F)), B) {
1852
- var $ = {
1852
+ var N = {
1853
1853
  depth: i.depth
1854
1854
  };
1855
- return J(i, "quoteStyle") && ($.quoteStyle = i.quoteStyle), t(_, $, n + 1, o);
1855
+ return J(i, "quoteStyle") && (N.quoteStyle = i.quoteStyle), t(_, N, n + 1, o);
1856
1856
  }
1857
1857
  return t(_, i, n + 1, o);
1858
1858
  }
@@ -1889,13 +1889,13 @@ var Mt = Ji, Cr = Mt.custom, _r = _n(Cr) ? Cr : null, xn = {
1889
1889
  var P = [];
1890
1890
  return Sr && Sr.call(e, function(_, F) {
1891
1891
  P.push(y(F, e, !0) + " => " + y(_, e));
1892
- }), $r("Map", Ve.call(e), P, p);
1892
+ }), Nr("Map", Ve.call(e), P, p);
1893
1893
  }
1894
1894
  if (ma(e)) {
1895
1895
  var U = [];
1896
1896
  return Er && Er.call(e, function(_) {
1897
1897
  U.push(y(_, e));
1898
- }), $r("Set", Ke.call(e), U, p);
1898
+ }), Nr("Set", Ke.call(e), U, p);
1899
1899
  }
1900
1900
  if (ya(e))
1901
1901
  return yt("WeakMap");
@@ -2069,10 +2069,10 @@ function ga(t) {
2069
2069
  function va(t) {
2070
2070
  return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
2071
2071
  }
2072
- function $n(t, e) {
2072
+ function Nn(t, e) {
2073
2073
  if (t.length > e.maxStringLength) {
2074
2074
  var r = t.length - e.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
2075
- return $n(Zt.call(t, 0, e.maxStringLength), e) + n;
2075
+ return Nn(Zt.call(t, 0, e.maxStringLength), e) + n;
2076
2076
  }
2077
2077
  var o = na[e.quoteStyle || "single"];
2078
2078
  o.lastIndex = 0;
@@ -2095,7 +2095,7 @@ function Oe(t) {
2095
2095
  function yt(t) {
2096
2096
  return t + " { ? }";
2097
2097
  }
2098
- function $r(t, e, r, n) {
2098
+ function Nr(t, e, r, n) {
2099
2099
  var o = n ? qt(r, n) : G.call(r, ", ");
2100
2100
  return t + " (" + e + ") {" + o + "}";
2101
2101
  }
@@ -2199,7 +2199,7 @@ var Ea = nt, Oa = we, ot = function(t, e, r) {
2199
2199
  }
2200
2200
  };
2201
2201
  return r;
2202
- }, Nn = Object, Ca = Error, _a = EvalError, Fa = RangeError, $a = ReferenceError, Na = SyntaxError, Ia = URIError, Da = Math.abs, Ua = Math.floor, La = Math.max, Ba = Math.min, Ma = Math.pow, ka = Math.round, qa = Number.isNaN || function(e) {
2202
+ }, $n = Object, Ca = Error, _a = EvalError, Fa = RangeError, Na = ReferenceError, $a = SyntaxError, Ia = URIError, Da = Math.abs, Ua = Math.floor, La = Math.max, Ba = Math.min, Ma = Math.pow, ka = Math.round, qa = Number.isNaN || function(e) {
2203
2203
  return e !== e;
2204
2204
  }, ja = qa, Ha = function(e) {
2205
2205
  return ja(e) || e === 0 ? e : e < 0 ? -1 : 1;
@@ -2217,9 +2217,9 @@ if (We)
2217
2217
  } catch {
2218
2218
  We = !1;
2219
2219
  }
2220
- var Wa = We, ht, Nr;
2220
+ var Wa = We, ht, $r;
2221
2221
  function Ga() {
2222
- return Nr || (Nr = 1, ht = function() {
2222
+ return $r || ($r = 1, ht = function() {
2223
2223
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2224
2224
  return !1;
2225
2225
  if (typeof Symbol.iterator == "symbol")
@@ -2264,7 +2264,7 @@ var vt, Ur;
2264
2264
  function Un() {
2265
2265
  if (Ur) return vt;
2266
2266
  Ur = 1;
2267
- var t = Nn;
2267
+ var t = $n;
2268
2268
  return vt = t.getPrototypeOf || null, vt;
2269
2269
  }
2270
2270
  var wt, Lr;
@@ -2377,7 +2377,7 @@ function ss() {
2377
2377
  var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, r = it();
2378
2378
  return Rt = r.call(t, e), Rt;
2379
2379
  }
2380
- var S, ls = Nn, cs = Ca, us = _a, fs = Fa, ps = $a, me = Na, de = we, ds = Ia, ys = Da, hs = Ua, ms = La, gs = Ba, vs = Ma, ws = ka, bs = Ha, Mn = Function, Pt = function(t) {
2380
+ var S, ls = $n, cs = Ca, us = _a, fs = Fa, ps = Na, me = $a, de = we, ds = Ia, ys = Da, hs = Ua, ms = La, gs = Ba, vs = Ma, ws = ka, bs = Ha, Mn = Function, Pt = function(t) {
2381
2381
  try {
2382
2382
  return Mn('"use strict"; return (' + t + ").constructor;")();
2383
2383
  } catch {
@@ -2394,7 +2394,7 @@ var S, ls = Nn, cs = Ca, us = _a, fs = Fa, ps = $a, me = Na, de = we, ds = Ia, y
2394
2394
  return Tt;
2395
2395
  }
2396
2396
  }
2397
- }() : Tt, ue = Ja()(), C = as(), Os = Un(), As = Dn(), kn = Ln(), Ne = Yt(), pe = {}, Rs = typeof Uint8Array > "u" || !C ? S : C(Uint8Array), re = {
2397
+ }() : Tt, ue = Ja()(), C = as(), Os = Un(), As = Dn(), kn = Ln(), $e = Yt(), pe = {}, Rs = typeof Uint8Array > "u" || !C ? S : C(Uint8Array), re = {
2398
2398
  __proto__: null,
2399
2399
  "%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
2400
2400
  "%Array%": Array,
@@ -2465,7 +2465,7 @@ var S, ls = Nn, cs = Ca, us = _a, fs = Fa, ps = $a, me = Na, de = we, ds = Ia, y
2465
2465
  "%WeakMap%": typeof WeakMap > "u" ? S : WeakMap,
2466
2466
  "%WeakRef%": typeof WeakRef > "u" ? S : WeakRef,
2467
2467
  "%WeakSet%": typeof WeakSet > "u" ? S : WeakSet,
2468
- "%Function.prototype.call%": Ne,
2468
+ "%Function.prototype.call%": $e,
2469
2469
  "%Function.prototype.apply%": kn,
2470
2470
  "%Object.defineProperty%": Ss,
2471
2471
  "%Object.getPrototypeOf%": Os,
@@ -2554,7 +2554,7 @@ var Ts = function t(e) {
2554
2554
  "%URIErrorPrototype%": ["URIError", "prototype"],
2555
2555
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2556
2556
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2557
- }, Ie = it(), Qe = ss(), xs = Ie.call(Ne, Array.prototype.concat), Cs = Ie.call(kn, Array.prototype.splice), Wr = Ie.call(Ne, String.prototype.replace), Xe = Ie.call(Ne, String.prototype.slice), _s = Ie.call(Ne, RegExp.prototype.exec), Fs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, $s = /\\(\\)?/g, Ns = function(e) {
2557
+ }, Ie = it(), Qe = ss(), xs = Ie.call($e, Array.prototype.concat), Cs = Ie.call(kn, Array.prototype.splice), Wr = Ie.call($e, String.prototype.replace), Xe = Ie.call($e, String.prototype.slice), _s = Ie.call($e, RegExp.prototype.exec), Fs = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ns = /\\(\\)?/g, $s = function(e) {
2558
2558
  var r = Xe(e, 0, 1), n = Xe(e, -1);
2559
2559
  if (r === "%" && n !== "%")
2560
2560
  throw new me("invalid intrinsic syntax, expected closing `%`");
@@ -2562,7 +2562,7 @@ var Ts = function t(e) {
2562
2562
  throw new me("invalid intrinsic syntax, expected opening `%`");
2563
2563
  var o = [];
2564
2564
  return Wr(e, Fs, function(i, a, s, u) {
2565
- o[o.length] = s ? Wr(u, $s, "$1") : a || i;
2565
+ o[o.length] = s ? Wr(u, Ns, "$1") : a || i;
2566
2566
  }), o;
2567
2567
  }, Is = function(e, r) {
2568
2568
  var n = e, o;
@@ -2584,7 +2584,7 @@ var Ts = function t(e) {
2584
2584
  throw new de('"allowMissing" argument must be a boolean');
2585
2585
  if (_s(/^%?[^%]*%?$/, e) === null)
2586
2586
  throw new me("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2587
- var n = Ns(e), o = n.length > 0 ? n[0] : "", i = Is("%" + o + "%", r), a = i.name, s = i.value, u = !1, c = i.alias;
2587
+ var n = $s(e), o = n.length > 0 ? n[0] : "", i = Is("%" + o + "%", r), a = i.name, s = i.value, u = !1, c = i.alias;
2588
2588
  c && (o = c[0], Cs(n, xs([0, 1], c)));
2589
2589
  for (var l = 1, p = !0; l < n.length; l += 1) {
2590
2590
  var y = n[l], v = Xe(y, 0, 1), d = Xe(y, -1);
@@ -2901,13 +2901,13 @@ function() {
2901
2901
  if (i && W(g) && g.length === 0)
2902
2902
  return _ + "[]";
2903
2903
  for (var F = 0; F < M.length; ++F) {
2904
- var B = M[F], $ = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
2905
- if (!(s && $ === null)) {
2904
+ var B = M[F], N = typeof B == "object" && B && typeof B.value < "u" ? B.value : g[B];
2905
+ if (!(s && N === null)) {
2906
2906
  var le = y && u ? String(B).replace(/\./g, "%2E") : String(B), j = W(g) ? typeof n == "function" ? n(_, le) : _ : _ + (y ? "." + le : "[" + le + "]");
2907
2907
  O.set(e, P);
2908
2908
  var be = Jn();
2909
2909
  be.set(Ft, O), Kn(L, t(
2910
- $,
2910
+ N,
2911
2911
  j,
2912
2912
  n,
2913
2913
  o,
@@ -3148,7 +3148,7 @@ function() {
3148
3148
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : A.strictNullHandling,
3149
3149
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
3150
3150
  };
3151
- }, $l = function(t, e) {
3151
+ }, Nl = function(t, e) {
3152
3152
  var r = Fl(e);
3153
3153
  if (t === "" || t === null || typeof t > "u")
3154
3154
  return r.plainObjects ? { __proto__: null } : {};
@@ -3157,10 +3157,10 @@ function() {
3157
3157
  o = ae.merge(o, u, r);
3158
3158
  }
3159
3159
  return r.allowSparse === !0 ? o : ae.compact(o);
3160
- }, Nl = Al, Il = $l, Dl = tr, Ul = {
3160
+ }, $l = Al, Il = Nl, Dl = tr, Ul = {
3161
3161
  formats: Dl,
3162
3162
  parse: Il,
3163
- stringify: Nl
3163
+ stringify: $l
3164
3164
  };
3165
3165
  const Ll = /* @__PURE__ */ Hi(Ul);
3166
3166
  /*! js-cookie v3.0.5 | MIT */
@@ -3236,9 +3236,9 @@ function Ht(t, e) {
3236
3236
  var Kr = Ht(Bl, { path: "/" });
3237
3237
  zt.extend(so);
3238
3238
  zt.extend(lo);
3239
- const rr = tn(), Xn = rr.sso ?? !0, Qr = rr.i18n ?? !0, Zn = rr.noRedireLogin ?? !1;
3239
+ const Ml = "UTC", kl = () => zt.tz.guess() || Ml, rr = tn(), Xn = rr.sso ?? !0, Qr = rr.i18n ?? !0, Zn = rr.noRedireLogin ?? !1;
3240
3240
  let Xr = "", Zr = 0;
3241
- const Ml = 1e3, Yr = async (t, e, r = []) => {
3241
+ const ql = 1e3, Yr = async (t, e, r = []) => {
3242
3242
  const n = Date.now(), o = 1200, i = 60;
3243
3243
  for (; Date.now() - n < o; ) {
3244
3244
  const a = t(e, ...r);
@@ -3247,18 +3247,20 @@ const Ml = 1e3, Yr = async (t, e, r = []) => {
3247
3247
  }
3248
3248
  return t(e, ...r);
3249
3249
  };
3250
- let $t = !1;
3251
- const kl = 5e3, Yn = () => $t ? !1 : ($t = !0, setTimeout(() => {
3252
- $t = !1;
3253
- }, kl), !0), eo = () => {
3254
- var e, r;
3250
+ let Nt = !1;
3251
+ const jl = 5e3, Yn = () => Nt ? !1 : (Nt = !0, setTimeout(() => {
3252
+ Nt = !1;
3253
+ }, jl), !0), eo = () => {
3255
3254
  if (Zn) return;
3256
3255
  const t = "/login";
3257
- 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}`));
3258
- }, ql = () => no("code") || "" || Zn ? !1 : Yn() ? (Xn ? oo({ ...io, redirect_uri: ao }) : eo(), !0) : !1, jl = async (t) => {
3256
+ if (location.pathname === t) return;
3257
+ window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1;
3258
+ const e = window.top;
3259
+ e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace(`/#${t}`);
3260
+ }, Hl = () => no("code") || "" || Zn ? !1 : Yn() ? (Xn ? oo({ ...io, redirect_uri: ao }) : eo(), !0) : !1, zl = async (t) => {
3259
3261
  var r;
3260
3262
  return ((r = t.config) == null ? void 0 : r.responseType) === "blob" ? t : t.data ?? t;
3261
- }, Hl = async (t, e) => {
3263
+ }, Wl = async (t, e) => {
3262
3264
  var d, m, h, b;
3263
3265
  const { t: r } = en();
3264
3266
  let n, o, i = {};
@@ -3266,7 +3268,7 @@ const kl = 5e3, Yn = () => $t ? !1 : ($t = !0, setTimeout(() => {
3266
3268
  let s = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || {};
3267
3269
  const u = s == null ? void 0 : s.code, c = (m = t.response) == null ? void 0 : m.status;
3268
3270
  if (u === 401 || c === 401) {
3269
- ql(), n = u || c, i = s;
3271
+ Hl(), n = u || c, i = s;
3270
3272
  const O = (e == null ? void 0 : e.i18n) ?? !0;
3271
3273
  if (Qr && O && (s != null && s.status)) {
3272
3274
  const g = !(s != null && s.data) || !s.data.length ? [] : s.data, E = r(s.status, ...g);
@@ -3296,7 +3298,7 @@ const kl = 5e3, Yn = () => $t ? !1 : ($t = !0, setTimeout(() => {
3296
3298
  o || (o = a[t.response.status] || t.message);
3297
3299
  } 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("请求配置异常"));
3298
3300
  e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
3299
- const p = Date.now(), y = o === Xr, v = p - Zr < Ml;
3301
+ const p = Date.now(), y = o === Xr, v = p - Zr < ql;
3300
3302
  return !(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((b = (h = window.DasMessage) == null ? void 0 : h.error) == null || b.call(h, { message: o, showClose: !0 }), Xr = o, Zr = p), { ...i, code: n, msg: o, error: t };
3301
3303
  };
3302
3304
  function ne(t, e) {
@@ -3320,7 +3322,7 @@ function ne(t, e) {
3320
3322
  }
3321
3323
  p && !n.headers.Authorization && (n.headers.Authorization = `Bearer ${p}`);
3322
3324
  }
3323
- n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Ll.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = jl), n.onError || (n.onError = Hl), (n.csrf ?? !1) && (n.headers["csrf-token"] = Kr.get("csrf-token"));
3325
+ n.baseURL || (n.baseURL = i.baseURL || ""), n.urlPrefix || (n.urlPrefix = t), n.paramsSerializer || (n.paramsSerializer = { serialize: (p) => Ll.stringify(p, { indices: !1 }) }), n.onSuccess || (n.onSuccess = zl), n.onError || (n.onError = Wl), (n.csrf ?? !1) && (n.headers["csrf-token"] = Kr.get("csrf-token"));
3324
3326
  const u = n.params || {};
3325
3327
  if (u.project === void 0) {
3326
3328
  let p = 0;
@@ -3331,20 +3333,20 @@ function ne(t, e) {
3331
3333
  const { instanceInfo: p } = uo();
3332
3334
  p != null && p.instanceId && (u.instance = p.instanceId);
3333
3335
  }
3334
- n.params = u, n.headers.Timezone = zt.tz.guess(), n.headers["X-Origin"] = location.origin;
3336
+ n.params = u, n.headers.Timezone = kl(), n.headers["X-Origin"] = location.origin;
3335
3337
  const l = (o == null ? void 0 : o.value) ?? "";
3336
3338
  return l && (n.headers["Accept-Language"] = l), l && Kr.set("locale", l), n;
3337
3339
  });
3338
3340
  }
3339
- const oe = "v1", tc = ne(`/api/customer/customer/${oe}`), rc = ne(`/api/customer/company/${oe}`), nc = ne(`/api/customer/customer-grade/${oe}`), oc = ne(`/api/customer/customer-type/${oe}`), ic = {
3341
+ const oe = "v1", nc = ne(`/api/customer/customer/${oe}`), oc = ne(`/api/customer/company/${oe}`), ic = ne(`/api/customer/customer-grade/${oe}`), ac = ne(`/api/customer/customer-type/${oe}`), sc = {
3340
3342
  list: ne(`/api/project/${oe}/list`),
3341
3343
  app: ne(`/api/project/${oe}/app`),
3342
3344
  people: ne(`/api/project/${oe}/people`)
3343
3345
  };
3344
3346
  export {
3345
- rc as company,
3346
- tc as customer,
3347
- nc as customerGrade,
3348
- oc as customerType,
3349
- ic as projectManage
3347
+ oc as company,
3348
+ nc as customer,
3349
+ ic as customerGrade,
3350
+ ac as customerType,
3351
+ sc as projectManage
3350
3352
  };
@@ -0,0 +1,2 @@
1
+ /** portal服务 */
2
+ export declare const portal: any;