@das-fed/upf-utils 6.4.0-hot.9 → 6.4.0-test.0
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.
- package/api-services/es5.js +321 -318
- package/api-services/index.js +249 -249
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/es5.js +313 -310
- package/api-services/modules/app-manage/index.js +292 -292
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/es5.js +1153 -1162
- package/api-services/modules/authentication/index.js +957 -975
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/es5.js +940 -940
- package/api-services/modules/bems/index.js +762 -766
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/es5.js +313 -310
- package/api-services/modules/contract/index.js +292 -292
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.js +304 -301
- package/api-services/modules/duty-manage/index.js +283 -283
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/es5.js +313 -310
- package/api-services/modules/enterpriseright/index.js +292 -292
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/es5.js +516 -513
- package/api-services/modules/file/es5.js +250 -247
- package/api-services/modules/file/index.js +209 -209
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/es5.js +1153 -1162
- package/api-services/modules/gateway-edge/index.js +957 -975
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +438 -438
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/es5.js +321 -318
- package/api-services/modules/iot/index.js +292 -292
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/es5.js +192 -189
- package/api-services/modules/justauth/index.js +191 -191
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.js +313 -310
- package/api-services/modules/knowledge/index.js +292 -292
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/es5.js +313 -310
- package/api-services/modules/link/index.js +292 -292
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/es5.js +313 -310
- package/api-services/modules/permission/index.js +292 -292
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/es5.js +312 -309
- package/api-services/modules/platformManage/index.js +287 -287
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/es5.js +313 -310
- package/api-services/modules/portal/index.js +292 -292
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/es5.js +313 -310
- package/api-services/modules/space-manage/index.js +292 -292
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/es5.js +1279 -1264
- package/api-services/modules/super-admin/index.js +1067 -1049
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/es5.js +1156 -1165
- package/api-services/modules/supplier/index.js +958 -976
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/es5.js +313 -310
- package/api-services/modules/supplychain-manage/index.js +292 -292
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/es5.js +1247 -1232
- package/api-services/modules/systemConfiguration/index.js +1042 -1024
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/es5.js +313 -310
- package/api-services/modules/tool/index.js +292 -292
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/es5.js +311 -308
- package/api-services/src/create-service/index.js +291 -291
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/es5.js +4469 -200
- package/common-info/getPermissionMethod/es5.js +4218 -0
- package/common-info/getPermissionMethod/index.d.ts +26 -0
- package/common-info/getPermissionMethod/index.js +3342 -0
- package/common-info/getPermissionMethod/index.js.gz +0 -0
- package/common-info/index.d.ts +11 -2
- package/common-info/index.js +3539 -168
- package/common-info/index.js.gz +0 -0
- package/common-info/type.d.ts +0 -2
- package/create-api-service/es5.js +1235 -1219
- package/create-api-service/index.d.ts +6 -6
- package/create-api-service/index.js +1032 -1013
- package/create-api-service/index.js.gz +0 -0
- package/directive/auth/es5.js +62 -50
- package/directive/auth/index.js +39 -38
- package/directive/auth/index.js.gz +0 -0
- package/esm-map.json +9 -1
- package/hooks/use-get-auth/es5.js +13 -17
- package/hooks/use-get-auth/index.js +10 -13
- package/package.json +3 -3
- package/hooks/use-get-auth/apis.d.ts +0 -1
package/api-services/index.js
CHANGED
|
@@ -234,10 +234,10 @@ const ua = (t) => {
|
|
|
234
234
|
asap: da,
|
|
235
235
|
isIterable: ya
|
|
236
236
|
};
|
|
237
|
-
function
|
|
237
|
+
function S(t, e, n, r, o) {
|
|
238
238
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
239
239
|
}
|
|
240
|
-
p.inherits(
|
|
240
|
+
p.inherits(S, Error, {
|
|
241
241
|
toJSON: function() {
|
|
242
242
|
return {
|
|
243
243
|
// Standard
|
|
@@ -258,7 +258,7 @@ p.inherits(E, Error, {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
|
-
const En =
|
|
261
|
+
const En = S.prototype, On = {};
|
|
262
262
|
[
|
|
263
263
|
"ERR_BAD_OPTION_VALUE",
|
|
264
264
|
"ERR_BAD_OPTION",
|
|
@@ -276,13 +276,13 @@ const En = E.prototype, On = {};
|
|
|
276
276
|
].forEach((t) => {
|
|
277
277
|
On[t] = { value: t };
|
|
278
278
|
});
|
|
279
|
-
Object.defineProperties(
|
|
279
|
+
Object.defineProperties(S, On);
|
|
280
280
|
Object.defineProperty(En, "isAxiosError", { value: !0 });
|
|
281
|
-
|
|
281
|
+
S.from = (t, e, n, r, o, a) => {
|
|
282
282
|
const i = Object.create(En);
|
|
283
283
|
return p.toFlatObject(t, i, function(u) {
|
|
284
284
|
return u !== Error.prototype;
|
|
285
|
-
}, (s) => s !== "isAxiosError"),
|
|
285
|
+
}, (s) => s !== "isAxiosError"), S.call(i, t.message, e, n, r, o), i.cause = t, i.name = t.name, a && Object.assign(i, a), i;
|
|
286
286
|
};
|
|
287
287
|
const ma = null;
|
|
288
288
|
function zt(t) {
|
|
@@ -322,16 +322,16 @@ function st(t, e, n) {
|
|
|
322
322
|
if (p.isBoolean(y))
|
|
323
323
|
return y.toString();
|
|
324
324
|
if (!u && p.isBlob(y))
|
|
325
|
-
throw new
|
|
325
|
+
throw new S("Blob is not supported. Use a Buffer instead.");
|
|
326
326
|
return p.isArrayBuffer(y) || p.isTypedArray(y) ? u && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
|
|
327
327
|
}
|
|
328
328
|
function c(y, h, m) {
|
|
329
|
-
let
|
|
329
|
+
let E = y;
|
|
330
330
|
if (y && !m && typeof y == "object") {
|
|
331
331
|
if (p.endsWith(h, "{}"))
|
|
332
332
|
h = r ? h : h.slice(0, -2), y = JSON.stringify(y);
|
|
333
|
-
else if (p.isArray(y) && ha(y) || (p.isFileList(y) || p.endsWith(h, "[]")) && (
|
|
334
|
-
return h = An(h),
|
|
333
|
+
else if (p.isArray(y) && ha(y) || (p.isFileList(y) || p.endsWith(h, "[]")) && (E = p.toArray(y)))
|
|
334
|
+
return h = An(h), E.forEach(function(g, x) {
|
|
335
335
|
!(p.isUndefined(g) || g === null) && e.append(
|
|
336
336
|
// eslint-disable-next-line no-nested-ternary
|
|
337
337
|
i === !0 ? wr([h], x, a) : i === null ? h : h + "[]",
|
|
@@ -350,14 +350,14 @@ function st(t, e, n) {
|
|
|
350
350
|
if (!p.isUndefined(y)) {
|
|
351
351
|
if (f.indexOf(y) !== -1)
|
|
352
352
|
throw Error("Circular reference detected in " + h.join("."));
|
|
353
|
-
f.push(y), p.forEach(y, function(
|
|
354
|
-
(!(p.isUndefined(
|
|
353
|
+
f.push(y), p.forEach(y, function(E, A) {
|
|
354
|
+
(!(p.isUndefined(E) || E === null) && o.call(
|
|
355
355
|
e,
|
|
356
|
-
|
|
357
|
-
p.isString(
|
|
356
|
+
E,
|
|
357
|
+
p.isString(A) ? A.trim() : A,
|
|
358
358
|
h,
|
|
359
359
|
d
|
|
360
|
-
)) === !0 && v(
|
|
360
|
+
)) === !0 && v(E, h ? h.concat(A) : [A]);
|
|
361
361
|
}), f.pop();
|
|
362
362
|
}
|
|
363
363
|
}
|
|
@@ -572,7 +572,7 @@ const Fe = {
|
|
|
572
572
|
return JSON.parse(e);
|
|
573
573
|
} catch (s) {
|
|
574
574
|
if (i)
|
|
575
|
-
throw s.name === "SyntaxError" ?
|
|
575
|
+
throw s.name === "SyntaxError" ? S.from(s, S.ERR_BAD_RESPONSE, this, null, this.response) : s;
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
return e;
|
|
@@ -815,16 +815,16 @@ function $n(t) {
|
|
|
815
815
|
return !!(t && t.__CANCEL__);
|
|
816
816
|
}
|
|
817
817
|
function Ee(t, e, n) {
|
|
818
|
-
|
|
818
|
+
S.call(this, t ?? "canceled", S.ERR_CANCELED, e, n), this.name = "CanceledError";
|
|
819
819
|
}
|
|
820
|
-
p.inherits(Ee,
|
|
820
|
+
p.inherits(Ee, S, {
|
|
821
821
|
__CANCEL__: !0
|
|
822
822
|
});
|
|
823
823
|
function Cn(t, e, n) {
|
|
824
824
|
const r = n.config.validateStatus;
|
|
825
|
-
!n.status || !r || r(n.status) ? t(n) : e(new
|
|
825
|
+
!n.status || !r || r(n.status) ? t(n) : e(new S(
|
|
826
826
|
"Request failed with status code " + n.status,
|
|
827
|
-
[
|
|
827
|
+
[S.ERR_BAD_REQUEST, S.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
828
828
|
n.config,
|
|
829
829
|
n.request,
|
|
830
830
|
n
|
|
@@ -1025,12 +1025,12 @@ const Nn = (t) => {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
let m = new XMLHttpRequest();
|
|
1027
1027
|
m.open(o.method.toUpperCase(), o.url, !0), m.timeout = o.timeout;
|
|
1028
|
-
function
|
|
1028
|
+
function E() {
|
|
1029
1029
|
if (!m)
|
|
1030
1030
|
return;
|
|
1031
1031
|
const g = H.from(
|
|
1032
1032
|
"getAllResponseHeaders" in m && m.getAllResponseHeaders()
|
|
1033
|
-
),
|
|
1033
|
+
), $ = {
|
|
1034
1034
|
data: !s || s === "text" || s === "json" ? m.responseText : m.response,
|
|
1035
1035
|
status: m.status,
|
|
1036
1036
|
statusText: m.statusText,
|
|
@@ -1042,31 +1042,31 @@ const Nn = (t) => {
|
|
|
1042
1042
|
n(L), h();
|
|
1043
1043
|
}, function(L) {
|
|
1044
1044
|
r(L), h();
|
|
1045
|
-
},
|
|
1045
|
+
}, $), m = null;
|
|
1046
1046
|
}
|
|
1047
|
-
"onloadend" in m ? m.onloadend =
|
|
1048
|
-
!m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1047
|
+
"onloadend" in m ? m.onloadend = E : m.onreadystatechange = function() {
|
|
1048
|
+
!m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(E);
|
|
1049
1049
|
}, m.onabort = function() {
|
|
1050
|
-
m && (r(new
|
|
1050
|
+
m && (r(new S("Request aborted", S.ECONNABORTED, t, m)), m = null);
|
|
1051
1051
|
}, m.onerror = function() {
|
|
1052
|
-
r(new
|
|
1052
|
+
r(new S("Network Error", S.ERR_NETWORK, t, m)), m = null;
|
|
1053
1053
|
}, m.ontimeout = function() {
|
|
1054
1054
|
let x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1055
|
-
const
|
|
1056
|
-
o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new
|
|
1055
|
+
const $ = o.transitional || Tn;
|
|
1056
|
+
o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new S(
|
|
1057
1057
|
x,
|
|
1058
|
-
|
|
1058
|
+
$.clarifyTimeoutError ? S.ETIMEDOUT : S.ECONNABORTED,
|
|
1059
1059
|
t,
|
|
1060
1060
|
m
|
|
1061
1061
|
)), m = null;
|
|
1062
|
-
}, a === void 0 && i.setContentType(null), "setRequestHeader" in m && p.forEach(i.toJSON(), function(x,
|
|
1063
|
-
m.setRequestHeader(
|
|
1062
|
+
}, a === void 0 && i.setContentType(null), "setRequestHeader" in m && p.forEach(i.toJSON(), function(x, $) {
|
|
1063
|
+
m.setRequestHeader($, x);
|
|
1064
1064
|
}), p.isUndefined(o.withCredentials) || (m.withCredentials = !!o.withCredentials), s && s !== "json" && (m.responseType = o.responseType), l && ([d, y] = Qe(l, !0), m.addEventListener("progress", d)), u && m.upload && ([f, v] = Qe(u), m.upload.addEventListener("progress", f), m.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = (g) => {
|
|
1065
1065
|
m && (r(!g || g.type ? new Ee(null, t, m) : g), m.abort(), m = null);
|
|
1066
1066
|
}, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
|
|
1067
|
-
const
|
|
1068
|
-
if (
|
|
1069
|
-
r(new
|
|
1067
|
+
const A = La(o.url);
|
|
1068
|
+
if (A && B.protocols.indexOf(A) === -1) {
|
|
1069
|
+
r(new S("Unsupported protocol " + A + ":", S.ERR_BAD_REQUEST, t));
|
|
1070
1070
|
return;
|
|
1071
1071
|
}
|
|
1072
1072
|
m.send(a || null);
|
|
@@ -1079,11 +1079,11 @@ const Nn = (t) => {
|
|
|
1079
1079
|
if (!o) {
|
|
1080
1080
|
o = !0, s();
|
|
1081
1081
|
const c = l instanceof Error ? l : this.reason;
|
|
1082
|
-
r.abort(c instanceof
|
|
1082
|
+
r.abort(c instanceof S ? c : new Ee(c instanceof Error ? c.message : c));
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
1085
|
let i = e && setTimeout(() => {
|
|
1086
|
-
i = null, a(new
|
|
1086
|
+
i = null, a(new S(`timeout ${e} of ms exceeded`, S.ETIMEDOUT));
|
|
1087
1087
|
}, e);
|
|
1088
1088
|
const s = () => {
|
|
1089
1089
|
t && (i && clearTimeout(i), i = null, t.forEach((l) => {
|
|
@@ -1173,7 +1173,7 @@ const Nn = (t) => {
|
|
|
1173
1173
|
lt && ((t) => {
|
|
1174
1174
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
1175
1175
|
!Xe[e] && (Xe[e] = p.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
|
|
1176
|
-
throw new
|
|
1176
|
+
throw new S(`Response type '${e}' is not supported`, S.ERR_NOT_SUPPORT, r);
|
|
1177
1177
|
});
|
|
1178
1178
|
});
|
|
1179
1179
|
})(new Response());
|
|
@@ -1217,21 +1217,21 @@ const Ya = async (t) => {
|
|
|
1217
1217
|
let m;
|
|
1218
1218
|
try {
|
|
1219
1219
|
if (u && Xa && n !== "get" && n !== "head" && (m = await Za(c, r)) !== 0) {
|
|
1220
|
-
let
|
|
1220
|
+
let $ = new Request(e, {
|
|
1221
1221
|
method: "POST",
|
|
1222
1222
|
body: r,
|
|
1223
1223
|
duplex: "half"
|
|
1224
1224
|
}), M;
|
|
1225
|
-
if (p.isFormData(r) && (M =
|
|
1225
|
+
if (p.isFormData(r) && (M = $.headers.get("content-type")) && c.setContentType(M), $.body) {
|
|
1226
1226
|
const [L, W] = Or(
|
|
1227
1227
|
m,
|
|
1228
1228
|
Qe(Ar(u))
|
|
1229
1229
|
);
|
|
1230
|
-
r = Pr(
|
|
1230
|
+
r = Pr($.body, Tr, L, W);
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
1233
|
p.isString(f) || (f = f ? "include" : "omit");
|
|
1234
|
-
const
|
|
1234
|
+
const E = "credentials" in Request.prototype;
|
|
1235
1235
|
y = new Request(e, {
|
|
1236
1236
|
...d,
|
|
1237
1237
|
signal: v,
|
|
@@ -1239,45 +1239,45 @@ const Ya = async (t) => {
|
|
|
1239
1239
|
headers: c.normalize().toJSON(),
|
|
1240
1240
|
body: r,
|
|
1241
1241
|
duplex: "half",
|
|
1242
|
-
credentials:
|
|
1242
|
+
credentials: E ? f : void 0
|
|
1243
1243
|
});
|
|
1244
|
-
let
|
|
1244
|
+
let A = await fetch(y, d);
|
|
1245
1245
|
const g = Kt && (l === "stream" || l === "response");
|
|
1246
1246
|
if (Kt && (s || g && h)) {
|
|
1247
|
-
const
|
|
1247
|
+
const $ = {};
|
|
1248
1248
|
["status", "statusText", "headers"].forEach((J) => {
|
|
1249
|
-
|
|
1249
|
+
$[J] = A[J];
|
|
1250
1250
|
});
|
|
1251
|
-
const M = p.toFiniteNumber(
|
|
1251
|
+
const M = p.toFiniteNumber(A.headers.get("content-length")), [L, W] = s && Or(
|
|
1252
1252
|
M,
|
|
1253
1253
|
Qe(Ar(s), !0)
|
|
1254
1254
|
) || [];
|
|
1255
|
-
|
|
1256
|
-
Pr(
|
|
1255
|
+
A = new Response(
|
|
1256
|
+
Pr(A.body, Tr, L, () => {
|
|
1257
1257
|
W && W(), h && h();
|
|
1258
1258
|
}),
|
|
1259
|
-
|
|
1259
|
+
$
|
|
1260
1260
|
);
|
|
1261
1261
|
}
|
|
1262
1262
|
l = l || "text";
|
|
1263
|
-
let x = await Xe[p.findKey(Xe, l) || "text"](
|
|
1264
|
-
return !g && h && h(), await new Promise((
|
|
1265
|
-
Cn(
|
|
1263
|
+
let x = await Xe[p.findKey(Xe, l) || "text"](A, t);
|
|
1264
|
+
return !g && h && h(), await new Promise(($, M) => {
|
|
1265
|
+
Cn($, M, {
|
|
1266
1266
|
data: x,
|
|
1267
|
-
headers: H.from(
|
|
1268
|
-
status:
|
|
1269
|
-
statusText:
|
|
1267
|
+
headers: H.from(A.headers),
|
|
1268
|
+
status: A.status,
|
|
1269
|
+
statusText: A.statusText,
|
|
1270
1270
|
config: t,
|
|
1271
1271
|
request: y
|
|
1272
1272
|
});
|
|
1273
1273
|
});
|
|
1274
|
-
} catch (
|
|
1275
|
-
throw h && h(),
|
|
1276
|
-
new
|
|
1274
|
+
} catch (E) {
|
|
1275
|
+
throw h && h(), E && E.name === "TypeError" && /Load failed|fetch/i.test(E.message) ? Object.assign(
|
|
1276
|
+
new S("Network Error", S.ERR_NETWORK, t, y),
|
|
1277
1277
|
{
|
|
1278
|
-
cause:
|
|
1278
|
+
cause: E.cause || E
|
|
1279
1279
|
}
|
|
1280
|
-
) :
|
|
1280
|
+
) : S.from(E, E && E.code, t, y);
|
|
1281
1281
|
}
|
|
1282
1282
|
}), Gt = {
|
|
1283
1283
|
http: ma,
|
|
@@ -1303,7 +1303,7 @@ const xr = (t) => `- ${t}`, ti = (t) => p.isFunction(t) || t === null || t === !
|
|
|
1303
1303
|
n = t[a];
|
|
1304
1304
|
let i;
|
|
1305
1305
|
if (r = n, !ti(n) && (r = Gt[(i = String(n)).toLowerCase()], r === void 0))
|
|
1306
|
-
throw new
|
|
1306
|
+
throw new S(`Unknown adapter '${i}'`);
|
|
1307
1307
|
if (r)
|
|
1308
1308
|
break;
|
|
1309
1309
|
o[i || "#" + a] = r;
|
|
@@ -1315,7 +1315,7 @@ const xr = (t) => `- ${t}`, ti = (t) => p.isFunction(t) || t === null || t === !
|
|
|
1315
1315
|
let i = e ? a.length > 1 ? `since :
|
|
1316
1316
|
` + a.map(xr).join(`
|
|
1317
1317
|
`) : " " + xr(a[0]) : "as no adapter specified";
|
|
1318
|
-
throw new
|
|
1318
|
+
throw new S(
|
|
1319
1319
|
"There is no suitable adapter to dispatch the request " + i,
|
|
1320
1320
|
"ERR_NOT_SUPPORT"
|
|
1321
1321
|
);
|
|
@@ -1359,9 +1359,9 @@ ct.transitional = function(e, n, r) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
return (a, i, s) => {
|
|
1361
1361
|
if (e === !1)
|
|
1362
|
-
throw new
|
|
1362
|
+
throw new S(
|
|
1363
1363
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
1364
|
-
|
|
1364
|
+
S.ERR_DEPRECATED
|
|
1365
1365
|
);
|
|
1366
1366
|
return n && !Cr[i] && (Cr[i] = !0), e ? e(a, i, s) : !0;
|
|
1367
1367
|
};
|
|
@@ -1371,7 +1371,7 @@ ct.spelling = function(e) {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
function ri(t, e, n) {
|
|
1373
1373
|
if (typeof t != "object")
|
|
1374
|
-
throw new
|
|
1374
|
+
throw new S("options must be an object", S.ERR_BAD_OPTION_VALUE);
|
|
1375
1375
|
const r = Object.keys(t);
|
|
1376
1376
|
let o = r.length;
|
|
1377
1377
|
for (; o-- > 0; ) {
|
|
@@ -1379,11 +1379,11 @@ function ri(t, e, n) {
|
|
|
1379
1379
|
if (i) {
|
|
1380
1380
|
const s = t[a], u = s === void 0 || i(s, a, t);
|
|
1381
1381
|
if (u !== !0)
|
|
1382
|
-
throw new
|
|
1382
|
+
throw new S("option " + a + " must be " + u, S.ERR_BAD_OPTION_VALUE);
|
|
1383
1383
|
continue;
|
|
1384
1384
|
}
|
|
1385
1385
|
if (n !== !0)
|
|
1386
|
-
throw new
|
|
1386
|
+
throw new S("Unknown option " + a, S.ERR_BAD_OPTION);
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
const We = {
|
|
@@ -1676,7 +1676,7 @@ F.CancelToken = ar;
|
|
|
1676
1676
|
F.isCancel = $n;
|
|
1677
1677
|
F.VERSION = Mn;
|
|
1678
1678
|
F.toFormData = st;
|
|
1679
|
-
F.AxiosError =
|
|
1679
|
+
F.AxiosError = S;
|
|
1680
1680
|
F.Cancel = F.CanceledError;
|
|
1681
1681
|
F.all = function(e) {
|
|
1682
1682
|
return Promise.all(e);
|
|
@@ -1781,14 +1781,14 @@ var Xt = ci, kr = Xt.custom, jr = qn(kr) ? kr : null, kn = {
|
|
|
1781
1781
|
o = [];
|
|
1782
1782
|
else if (Hn(o, e) >= 0)
|
|
1783
1783
|
return "[Circular]";
|
|
1784
|
-
function d(
|
|
1784
|
+
function d(T, N, w) {
|
|
1785
1785
|
if (N && (o = vi.call(o), o.push(N)), w) {
|
|
1786
1786
|
var z = {
|
|
1787
1787
|
depth: a.depth
|
|
1788
1788
|
};
|
|
1789
|
-
return ne(a, "quoteStyle") && (z.quoteStyle = a.quoteStyle), t(
|
|
1789
|
+
return ne(a, "quoteStyle") && (z.quoteStyle = a.quoteStyle), t(T, z, r + 1, o);
|
|
1790
1790
|
}
|
|
1791
|
-
return t(
|
|
1791
|
+
return t(T, a, r + 1, o);
|
|
1792
1792
|
}
|
|
1793
1793
|
if (typeof e == "function" && !qr(e)) {
|
|
1794
1794
|
var v = xi(e), y = Be(e, d);
|
|
@@ -1799,8 +1799,8 @@ var Xt = ci, kr = Xt.custom, jr = qn(kr) ? kr : null, kn = {
|
|
|
1799
1799
|
return typeof e == "object" && !we ? Re(h) : h;
|
|
1800
1800
|
}
|
|
1801
1801
|
if (Di(e)) {
|
|
1802
|
-
for (var m = "<" + Ir.call(String(e.nodeName)),
|
|
1803
|
-
m += " " +
|
|
1802
|
+
for (var m = "<" + Ir.call(String(e.nodeName)), E = e.attributes || [], A = 0; A < E.length; A++)
|
|
1803
|
+
m += " " + E[A].name + "=" + jn(bi(E[A].value), "double", a);
|
|
1804
1804
|
return m += ">", e.childNodes && e.childNodes.length && (m += "..."), m += "</" + Ir.call(String(e.nodeName)) + ">", m;
|
|
1805
1805
|
}
|
|
1806
1806
|
if (Yt(e)) {
|
|
@@ -1820,15 +1820,15 @@ var Xt = ci, kr = Xt.custom, jr = qn(kr) ? kr : null, kn = {
|
|
|
1820
1820
|
return e.inspect();
|
|
1821
1821
|
}
|
|
1822
1822
|
if ($i(e)) {
|
|
1823
|
-
var
|
|
1824
|
-
return Nr && Nr.call(e, function(
|
|
1825
|
-
|
|
1826
|
-
}), Hr("Map", Ye.call(e),
|
|
1823
|
+
var $ = [];
|
|
1824
|
+
return Nr && Nr.call(e, function(T, N) {
|
|
1825
|
+
$.push(d(N, e, !0) + " => " + d(T, e));
|
|
1826
|
+
}), Hr("Map", Ye.call(e), $, f);
|
|
1827
1827
|
}
|
|
1828
1828
|
if (Ni(e)) {
|
|
1829
1829
|
var M = [];
|
|
1830
|
-
return Fr && Fr.call(e, function(
|
|
1831
|
-
M.push(d(
|
|
1830
|
+
return Fr && Fr.call(e, function(T) {
|
|
1831
|
+
M.push(d(T, e));
|
|
1832
1832
|
}), Hr("Set", Ze.call(e), M, f);
|
|
1833
1833
|
}
|
|
1834
1834
|
if (Ci(e))
|
|
@@ -1850,7 +1850,7 @@ var Xt = ci, kr = Xt.custom, jr = qn(kr) ? kr : null, kn = {
|
|
|
1850
1850
|
if (typeof globalThis < "u" && e === globalThis || typeof _r < "u" && e === _r)
|
|
1851
1851
|
return "{ [object globalThis] }";
|
|
1852
1852
|
if (!Si(e) && !qr(e)) {
|
|
1853
|
-
var L = Be(e, d), W = Ur ? Ur(e) === Object.prototype : e instanceof Object || e.constructor === Object, J = e instanceof Object ? "" : "null prototype", O = !W && xe && Object(e) === e && xe in e ? lr.call(ie(e), 8, -1) : J ? "Object" : "",
|
|
1853
|
+
var L = Be(e, d), W = Ur ? Ur(e) === Object.prototype : e instanceof Object || e.constructor === Object, J = e instanceof Object ? "" : "null prototype", O = !W && xe && Object(e) === e && xe in e ? lr.call(ie(e), 8, -1) : J ? "Object" : "", R = W || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", C = R + (O || J ? "[" + re.call(Mr.call([], O || [], J || []), ": ") + "] " : "");
|
|
1854
1854
|
return L.length === 0 ? C + "{}" : f ? C + "{" + Zt(L, f) + "}" : C + "{ " + re.call(L, ", ") + " }";
|
|
1855
1855
|
}
|
|
1856
1856
|
return String(e);
|
|
@@ -2226,11 +2226,11 @@ function us() {
|
|
|
2226
2226
|
throw new TypeError(t + l);
|
|
2227
2227
|
for (var c = a(arguments, 1), f, d = function() {
|
|
2228
2228
|
if (this instanceof f) {
|
|
2229
|
-
var
|
|
2229
|
+
var E = l.apply(
|
|
2230
2230
|
this,
|
|
2231
2231
|
o(c, arguments)
|
|
2232
2232
|
);
|
|
2233
|
-
return Object(
|
|
2233
|
+
return Object(E) === E ? E : this;
|
|
2234
2234
|
}
|
|
2235
2235
|
return l.apply(
|
|
2236
2236
|
u,
|
|
@@ -2311,7 +2311,7 @@ function Os() {
|
|
|
2311
2311
|
var t = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = pt();
|
|
2312
2312
|
return Dt = n.call(t, e), Dt;
|
|
2313
2313
|
}
|
|
2314
|
-
var
|
|
2314
|
+
var P, As = Wn, Rs = Wi, Ps = Ki, Ts = Gi, xs = Ji, be = Vi, ve = Oe, $s = Qi, Cs = Xi, _s = Yi, Ns = Zi, Fs = es, Ds = ts, Is = rs, Ms = as, Xn = Function, It = function(t) {
|
|
2315
2315
|
try {
|
|
2316
2316
|
return Xn('"use strict"; return (' + t + ").constructor;")();
|
|
2317
2317
|
} catch {
|
|
@@ -2328,23 +2328,23 @@ var R, As = Wn, Rs = Wi, Ps = Ki, Ts = Gi, xs = Ji, be = Vi, ve = Oe, $s = Qi, C
|
|
|
2328
2328
|
return Mt;
|
|
2329
2329
|
}
|
|
2330
2330
|
}
|
|
2331
|
-
}() : Mt, me = cs()(), I = Es(), Bs = Jn(), ks = Gn(), Yn = Vn(), De = cr(), ge = {}, js = typeof Uint8Array > "u" || !I ?
|
|
2331
|
+
}() : Mt, me = cs()(), I = Es(), Bs = Jn(), ks = Gn(), Yn = Vn(), De = cr(), ge = {}, js = typeof Uint8Array > "u" || !I ? P : I(Uint8Array), ue = {
|
|
2332
2332
|
__proto__: null,
|
|
2333
|
-
"%AggregateError%": typeof AggregateError > "u" ?
|
|
2333
|
+
"%AggregateError%": typeof AggregateError > "u" ? P : AggregateError,
|
|
2334
2334
|
"%Array%": Array,
|
|
2335
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ?
|
|
2336
|
-
"%ArrayIteratorPrototype%": me && I ? I([][Symbol.iterator]()) :
|
|
2337
|
-
"%AsyncFromSyncIteratorPrototype%":
|
|
2335
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? P : ArrayBuffer,
|
|
2336
|
+
"%ArrayIteratorPrototype%": me && I ? I([][Symbol.iterator]()) : P,
|
|
2337
|
+
"%AsyncFromSyncIteratorPrototype%": P,
|
|
2338
2338
|
"%AsyncFunction%": ge,
|
|
2339
2339
|
"%AsyncGenerator%": ge,
|
|
2340
2340
|
"%AsyncGeneratorFunction%": ge,
|
|
2341
2341
|
"%AsyncIteratorPrototype%": ge,
|
|
2342
|
-
"%Atomics%": typeof Atomics > "u" ?
|
|
2343
|
-
"%BigInt%": typeof BigInt > "u" ?
|
|
2344
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ?
|
|
2345
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ?
|
|
2342
|
+
"%Atomics%": typeof Atomics > "u" ? P : Atomics,
|
|
2343
|
+
"%BigInt%": typeof BigInt > "u" ? P : BigInt,
|
|
2344
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? P : BigInt64Array,
|
|
2345
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? P : BigUint64Array,
|
|
2346
2346
|
"%Boolean%": Boolean,
|
|
2347
|
-
"%DataView%": typeof DataView > "u" ?
|
|
2347
|
+
"%DataView%": typeof DataView > "u" ? P : DataView,
|
|
2348
2348
|
"%Date%": Date,
|
|
2349
2349
|
"%decodeURI%": decodeURI,
|
|
2350
2350
|
"%decodeURIComponent%": decodeURIComponent,
|
|
@@ -2354,51 +2354,51 @@ var R, As = Wn, Rs = Wi, Ps = Ki, Ts = Gi, xs = Ji, be = Vi, ve = Oe, $s = Qi, C
|
|
|
2354
2354
|
"%eval%": eval,
|
|
2355
2355
|
// eslint-disable-line no-eval
|
|
2356
2356
|
"%EvalError%": Ps,
|
|
2357
|
-
"%Float16Array%": typeof Float16Array > "u" ?
|
|
2358
|
-
"%Float32Array%": typeof Float32Array > "u" ?
|
|
2359
|
-
"%Float64Array%": typeof Float64Array > "u" ?
|
|
2360
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ?
|
|
2357
|
+
"%Float16Array%": typeof Float16Array > "u" ? P : Float16Array,
|
|
2358
|
+
"%Float32Array%": typeof Float32Array > "u" ? P : Float32Array,
|
|
2359
|
+
"%Float64Array%": typeof Float64Array > "u" ? P : Float64Array,
|
|
2360
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? P : FinalizationRegistry,
|
|
2361
2361
|
"%Function%": Xn,
|
|
2362
2362
|
"%GeneratorFunction%": ge,
|
|
2363
|
-
"%Int8Array%": typeof Int8Array > "u" ?
|
|
2364
|
-
"%Int16Array%": typeof Int16Array > "u" ?
|
|
2365
|
-
"%Int32Array%": typeof Int32Array > "u" ?
|
|
2363
|
+
"%Int8Array%": typeof Int8Array > "u" ? P : Int8Array,
|
|
2364
|
+
"%Int16Array%": typeof Int16Array > "u" ? P : Int16Array,
|
|
2365
|
+
"%Int32Array%": typeof Int32Array > "u" ? P : Int32Array,
|
|
2366
2366
|
"%isFinite%": isFinite,
|
|
2367
2367
|
"%isNaN%": isNaN,
|
|
2368
|
-
"%IteratorPrototype%": me && I ? I(I([][Symbol.iterator]())) :
|
|
2369
|
-
"%JSON%": typeof JSON == "object" ? JSON :
|
|
2370
|
-
"%Map%": typeof Map > "u" ?
|
|
2371
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !me || !I ?
|
|
2368
|
+
"%IteratorPrototype%": me && I ? I(I([][Symbol.iterator]())) : P,
|
|
2369
|
+
"%JSON%": typeof JSON == "object" ? JSON : P,
|
|
2370
|
+
"%Map%": typeof Map > "u" ? P : Map,
|
|
2371
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !me || !I ? P : I((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2372
2372
|
"%Math%": Math,
|
|
2373
2373
|
"%Number%": Number,
|
|
2374
2374
|
"%Object%": As,
|
|
2375
2375
|
"%Object.getOwnPropertyDescriptor%": _e,
|
|
2376
2376
|
"%parseFloat%": parseFloat,
|
|
2377
2377
|
"%parseInt%": parseInt,
|
|
2378
|
-
"%Promise%": typeof Promise > "u" ?
|
|
2379
|
-
"%Proxy%": typeof Proxy > "u" ?
|
|
2378
|
+
"%Promise%": typeof Promise > "u" ? P : Promise,
|
|
2379
|
+
"%Proxy%": typeof Proxy > "u" ? P : Proxy,
|
|
2380
2380
|
"%RangeError%": Ts,
|
|
2381
2381
|
"%ReferenceError%": xs,
|
|
2382
|
-
"%Reflect%": typeof Reflect > "u" ?
|
|
2382
|
+
"%Reflect%": typeof Reflect > "u" ? P : Reflect,
|
|
2383
2383
|
"%RegExp%": RegExp,
|
|
2384
|
-
"%Set%": typeof Set > "u" ?
|
|
2385
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !me || !I ?
|
|
2386
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ?
|
|
2384
|
+
"%Set%": typeof Set > "u" ? P : Set,
|
|
2385
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !me || !I ? P : I((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2386
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? P : SharedArrayBuffer,
|
|
2387
2387
|
"%String%": String,
|
|
2388
|
-
"%StringIteratorPrototype%": me && I ? I(""[Symbol.iterator]()) :
|
|
2389
|
-
"%Symbol%": me ? Symbol :
|
|
2388
|
+
"%StringIteratorPrototype%": me && I ? I(""[Symbol.iterator]()) : P,
|
|
2389
|
+
"%Symbol%": me ? Symbol : P,
|
|
2390
2390
|
"%SyntaxError%": be,
|
|
2391
2391
|
"%ThrowTypeError%": Us,
|
|
2392
2392
|
"%TypedArray%": js,
|
|
2393
2393
|
"%TypeError%": ve,
|
|
2394
|
-
"%Uint8Array%": typeof Uint8Array > "u" ?
|
|
2395
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ?
|
|
2396
|
-
"%Uint16Array%": typeof Uint16Array > "u" ?
|
|
2397
|
-
"%Uint32Array%": typeof Uint32Array > "u" ?
|
|
2394
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? P : Uint8Array,
|
|
2395
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? P : Uint8ClampedArray,
|
|
2396
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? P : Uint16Array,
|
|
2397
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? P : Uint32Array,
|
|
2398
2398
|
"%URIError%": $s,
|
|
2399
|
-
"%WeakMap%": typeof WeakMap > "u" ?
|
|
2400
|
-
"%WeakRef%": typeof WeakRef > "u" ?
|
|
2401
|
-
"%WeakSet%": typeof WeakSet > "u" ?
|
|
2399
|
+
"%WeakMap%": typeof WeakMap > "u" ? P : WeakMap,
|
|
2400
|
+
"%WeakRef%": typeof WeakRef > "u" ? P : WeakRef,
|
|
2401
|
+
"%WeakSet%": typeof WeakSet > "u" ? P : WeakSet,
|
|
2402
2402
|
"%Function.prototype.call%": De,
|
|
2403
2403
|
"%Function.prototype.apply%": Yn,
|
|
2404
2404
|
"%Object.defineProperty%": Ls,
|
|
@@ -2795,27 +2795,27 @@ function() {
|
|
|
2795
2795
|
strictNullHandling: !1
|
|
2796
2796
|
}, Ll = function(e) {
|
|
2797
2797
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
2798
|
-
}, kt = {}, Ul = function t(e, n, r, o, a, i, s, u, l, c, f, d, v, y, h, m,
|
|
2799
|
-
for (var g = e, x =
|
|
2798
|
+
}, kt = {}, Ul = function t(e, n, r, o, a, i, s, u, l, c, f, d, v, y, h, m, E, A) {
|
|
2799
|
+
for (var g = e, x = A, $ = 0, M = !1; (x = x.get(kt)) !== void 0 && !M; ) {
|
|
2800
2800
|
var L = x.get(e);
|
|
2801
|
-
if (
|
|
2802
|
-
if (L ===
|
|
2801
|
+
if ($ += 1, typeof L < "u") {
|
|
2802
|
+
if (L === $)
|
|
2803
2803
|
throw new RangeError("Cyclic object value");
|
|
2804
2804
|
M = !0;
|
|
2805
2805
|
}
|
|
2806
|
-
typeof x.get(kt) > "u" && (
|
|
2806
|
+
typeof x.get(kt) > "u" && ($ = 0);
|
|
2807
2807
|
}
|
|
2808
2808
|
if (typeof c == "function" ? g = c(n, g) : g instanceof Date ? g = v(g) : r === "comma" && te(g) && (g = Je.maybeMap(g, function(X) {
|
|
2809
2809
|
return X instanceof Date ? v(X) : X;
|
|
2810
2810
|
})), g === null) {
|
|
2811
2811
|
if (i)
|
|
2812
|
-
return l && !m ? l(n, D.encoder,
|
|
2812
|
+
return l && !m ? l(n, D.encoder, E, "key", y) : n;
|
|
2813
2813
|
g = "";
|
|
2814
2814
|
}
|
|
2815
2815
|
if (Ll(g) || Je.isBuffer(g)) {
|
|
2816
2816
|
if (l) {
|
|
2817
|
-
var W = m ? n : l(n, D.encoder,
|
|
2818
|
-
return [h(W) + "=" + h(l(g, D.encoder,
|
|
2817
|
+
var W = m ? n : l(n, D.encoder, E, "key", y);
|
|
2818
|
+
return [h(W) + "=" + h(l(g, D.encoder, E, "value", y))];
|
|
2819
2819
|
}
|
|
2820
2820
|
return [h(n) + "=" + h(String(g))];
|
|
2821
2821
|
}
|
|
@@ -2828,19 +2828,19 @@ function() {
|
|
|
2828
2828
|
else if (te(c))
|
|
2829
2829
|
O = c;
|
|
2830
2830
|
else {
|
|
2831
|
-
var
|
|
2832
|
-
O = f ?
|
|
2831
|
+
var R = Object.keys(g);
|
|
2832
|
+
O = f ? R.sort(f) : R;
|
|
2833
2833
|
}
|
|
2834
|
-
var C = u ? String(n).replace(/\./g, "%2E") : String(n),
|
|
2834
|
+
var C = u ? String(n).replace(/\./g, "%2E") : String(n), T = o && te(g) && g.length === 1 ? C + "[]" : C;
|
|
2835
2835
|
if (a && te(g) && g.length === 0)
|
|
2836
|
-
return
|
|
2836
|
+
return T + "[]";
|
|
2837
2837
|
for (var N = 0; N < O.length; ++N) {
|
|
2838
2838
|
var w = O[N], z = typeof w == "object" && w && typeof w.value < "u" ? w.value : g[w];
|
|
2839
2839
|
if (!(s && z === null)) {
|
|
2840
|
-
var k = d && u ? String(w).replace(/\./g, "%2E") : String(w), j = te(g) ? typeof r == "function" ? r(
|
|
2841
|
-
|
|
2840
|
+
var k = d && u ? String(w).replace(/\./g, "%2E") : String(w), j = te(g) ? typeof r == "function" ? r(T, k) : T : T + (d ? "." + k : "[" + k + "]");
|
|
2841
|
+
A.set(e, $);
|
|
2842
2842
|
var K = ao();
|
|
2843
|
-
K.set(kt,
|
|
2843
|
+
K.set(kt, A), so(J, t(
|
|
2844
2844
|
z,
|
|
2845
2845
|
j,
|
|
2846
2846
|
r,
|
|
@@ -2857,7 +2857,7 @@ function() {
|
|
|
2857
2857
|
y,
|
|
2858
2858
|
h,
|
|
2859
2859
|
m,
|
|
2860
|
-
|
|
2860
|
+
E,
|
|
2861
2861
|
K
|
|
2862
2862
|
));
|
|
2863
2863
|
}
|
|
@@ -3189,40 +3189,40 @@ const rc = 5e3, fo = () => jt ? !1 : (jt = !0, setTimeout(() => {
|
|
|
3189
3189
|
if (uo) return;
|
|
3190
3190
|
const t = "/login";
|
|
3191
3191
|
location.pathname !== t && (window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = !1, (e = window.top) != null && e.vueRouter ? (n = window.top) == null || n.vueRouter.replace(t) : window.location.replace(`/#${t}`));
|
|
3192
|
-
}, nc = async (t) => {
|
|
3192
|
+
}, nc = () => bo("code") || "" || uo ? !1 : fo() ? (co ? So({ ...Eo, redirect_uri: Oo }) : po(), !0) : !1, oc = async (t) => {
|
|
3193
3193
|
var n;
|
|
3194
3194
|
return ((n = t.config) == null ? void 0 : n.responseType) === "blob" ? t : t.data ?? t;
|
|
3195
|
-
},
|
|
3196
|
-
var h, m,
|
|
3195
|
+
}, ac = async (t, e) => {
|
|
3196
|
+
var y, h, m, E;
|
|
3197
3197
|
const { t: n } = dn();
|
|
3198
3198
|
let r, o, a = {};
|
|
3199
3199
|
const i = { 400: n("参数校验错误"), 404: n("接口地址未找到"), 500: n("服务器内部错误") };
|
|
3200
|
-
let s = ((
|
|
3201
|
-
const u =
|
|
3202
|
-
if (
|
|
3203
|
-
|
|
3204
|
-
const
|
|
3205
|
-
if (ln &&
|
|
3206
|
-
const
|
|
3207
|
-
o =
|
|
3200
|
+
let s = ((y = t == null ? void 0 : t.response) == null ? void 0 : y.data) || {};
|
|
3201
|
+
const u = s == null ? void 0 : s.code, l = (h = t.response) == null ? void 0 : h.status;
|
|
3202
|
+
if (u === 401 || l === 401) {
|
|
3203
|
+
nc(), r = u || l, a = s;
|
|
3204
|
+
const A = (e == null ? void 0 : e.i18n) ?? !0;
|
|
3205
|
+
if (ln && A && (s != null && s.status)) {
|
|
3206
|
+
const g = !(s != null && s.data) || !s.data.length ? [] : s.data, x = n(s.status, ...g);
|
|
3207
|
+
o = x === s.status ? await fn(n, s.status, g) : x;
|
|
3208
3208
|
} else
|
|
3209
3209
|
o = (s == null ? void 0 : s.msg) || i[r] || (t == null ? void 0 : t.message);
|
|
3210
3210
|
} else if (t.response) {
|
|
3211
|
-
if (s instanceof Blob && (s = await new Promise((
|
|
3212
|
-
const
|
|
3213
|
-
|
|
3211
|
+
if (s instanceof Blob && (s = await new Promise((A) => {
|
|
3212
|
+
const g = new FileReader();
|
|
3213
|
+
g.readAsText(s, "utf-8"), g.onload = () => {
|
|
3214
3214
|
try {
|
|
3215
|
-
|
|
3215
|
+
A(JSON.parse(g.result || "{}"));
|
|
3216
3216
|
} catch {
|
|
3217
|
-
|
|
3217
|
+
A({ code: 400, msg: n("解析错误") });
|
|
3218
3218
|
}
|
|
3219
3219
|
};
|
|
3220
3220
|
})), s.code !== void 0 && s.code !== null) {
|
|
3221
3221
|
r = s.code, a = s;
|
|
3222
|
-
const
|
|
3223
|
-
if (ln &&
|
|
3224
|
-
const
|
|
3225
|
-
o =
|
|
3222
|
+
const A = (e == null ? void 0 : e.i18n) ?? !0;
|
|
3223
|
+
if (ln && A && (s != null && s.status)) {
|
|
3224
|
+
const g = !(s != null && s.data) || !s.data.length ? [] : s.data, x = n(s.status, ...g);
|
|
3225
|
+
o = x === s.status ? await fn(n, s.status, g) : x;
|
|
3226
3226
|
} else
|
|
3227
3227
|
o = (s == null ? void 0 : s.msg) ?? "";
|
|
3228
3228
|
} else
|
|
@@ -3230,8 +3230,8 @@ const rc = 5e3, fo = () => jt ? !1 : (jt = !0, setTimeout(() => {
|
|
|
3230
3230
|
o || (o = i[t.response.status] || t.message);
|
|
3231
3231
|
} else t.request ? (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("网络异常,请检查您的网络情况")) : (r = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = n("请求配置异常"));
|
|
3232
3232
|
e != null && e.customErrorMessage && (o = e == null ? void 0 : e.customErrorMessage(o, t));
|
|
3233
|
-
const
|
|
3234
|
-
return !(e != null && e.ignoreErrorMessage) && o && (!
|
|
3233
|
+
const f = Date.now(), d = o === cn, v = f - un < tc;
|
|
3234
|
+
return !(e != null && e.ignoreErrorMessage) && o && (!d || !v) && ((E = (m = window.DasMessage) == null ? void 0 : m.error) == null || E.call(m, { message: o, showClose: !0 }), cn = o, un = f), { ...a, code: r, msg: o, error: t };
|
|
3235
3235
|
};
|
|
3236
3236
|
function b(t, e) {
|
|
3237
3237
|
const n = F.create();
|
|
@@ -3254,7 +3254,7 @@ function b(t, e) {
|
|
|
3254
3254
|
}
|
|
3255
3255
|
f && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${f}`);
|
|
3256
3256
|
}
|
|
3257
|
-
r.baseURL || (r.baseURL = a.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (f) => Zl.stringify(f, { indices: !1 }) }), r.onSuccess || (r.onSuccess =
|
|
3257
|
+
r.baseURL || (r.baseURL = a.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (f) => Zl.stringify(f, { indices: !1 }) }), r.onSuccess || (r.onSuccess = oc), r.onError || (r.onError = ac), (r.csrf ?? !1) && (r.headers["csrf-token"] = sn.get("csrf-token"));
|
|
3258
3258
|
const u = r.params || {};
|
|
3259
3259
|
if (u.project === void 0) {
|
|
3260
3260
|
let f = 0;
|
|
@@ -3270,11 +3270,11 @@ function b(t, e) {
|
|
|
3270
3270
|
return c && (r.headers["Accept-Language"] = c), c && sn.set("locale", c), (e == null ? void 0 : e(r)) || r;
|
|
3271
3271
|
});
|
|
3272
3272
|
}
|
|
3273
|
-
const
|
|
3273
|
+
const ic = "v1", jc = b(`/api/app-manager/application/${ic}`), sc = "v1", qc = b(`/api/license/admin/${sc}`), lc = "v1", qt = `/api/bems/data-manage/${lc}`, Hc = {
|
|
3274
3274
|
energyType: b(`${qt}/energy-type`),
|
|
3275
3275
|
energyObject: b(`${qt}/energy-object`),
|
|
3276
3276
|
energyDimension: b(`${qt}/energy-dimension`)
|
|
3277
|
-
},
|
|
3277
|
+
}, cc = "v1", zc = b(`/api/supply/contract/${cc}`), qe = "v1", Wc = {
|
|
3278
3278
|
classes: b(`/api/duty-manage/classes/${qe}`),
|
|
3279
3279
|
// 班次管理
|
|
3280
3280
|
group: b(`/api/duty-manage/group/${qe}`),
|
|
@@ -3283,17 +3283,17 @@ const ac = "v1", kc = b(`/api/app-manager/application/${ac}`), ic = "v1", jc = b
|
|
|
3283
3283
|
// 排班管理
|
|
3284
3284
|
shift: b(`/api/duty-manage/shift/${qe}`)
|
|
3285
3285
|
// 交接班管理
|
|
3286
|
-
},
|
|
3286
|
+
}, uc = "v1", Kc = b(`/api/enterpriseright/permission/${uc}`), V = "v1", Gc = b(`/api/iot/${V}`), Jc = {
|
|
3287
3287
|
thingmodel: b(`/api/iot-device/thingmodel/${V}`),
|
|
3288
3288
|
deviceManage: b(`/api/iot-device/devicemanage/${V}`),
|
|
3289
3289
|
product: b(`/api/iot-device/product/${V}`),
|
|
3290
3290
|
productStorage: b(`/api/iot-device/product-storage/${V}`)
|
|
3291
|
-
},
|
|
3291
|
+
}, Vc = {
|
|
3292
3292
|
projectDevice: b(`/api/device-relation/deviceproject/${V}`),
|
|
3293
3293
|
deviceRules: b(`/api/device-relation/devicerule/${V}`),
|
|
3294
3294
|
project: b(`/api/device-relation/project/${V}`)
|
|
3295
|
-
}, dr = b(`/api/oss/minio/${V}`),
|
|
3296
|
-
let
|
|
3295
|
+
}, dr = b(`/api/oss/minio/${V}`), fc = b(`/api/progress/accessor/${V}`), Qc = b(`/api/dms/analysis/${V}`);
|
|
3296
|
+
let pc = (t = 21) => {
|
|
3297
3297
|
let e = "", n = crypto.getRandomValues(new Uint8Array(t));
|
|
3298
3298
|
for (; t--; ) {
|
|
3299
3299
|
let r = n[t] & 63;
|
|
@@ -3301,14 +3301,14 @@ let fc = (t = 21) => {
|
|
|
3301
3301
|
}
|
|
3302
3302
|
return e;
|
|
3303
3303
|
};
|
|
3304
|
-
const
|
|
3304
|
+
const dc = dr.get("token"), yc = dr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), mc = dr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), hc = fc.get("progress"), Xc = () => {
|
|
3305
3305
|
let t = G(!1), e = G(""), n = G(0), r = G("normal"), o = G(!1), a, i = G(""), s = G(""), u = G(""), l = G(""), c = G(!1), f = G(""), d = "", v = G(""), y;
|
|
3306
3306
|
const h = () => {
|
|
3307
3307
|
s.value = "", u.value = "", l.value = "", c.value = !1, f.value = "";
|
|
3308
3308
|
}, m = async () => {
|
|
3309
|
-
const [O,
|
|
3310
|
-
return O ? { stauts: !1 } : { status: !0, data:
|
|
3311
|
-
},
|
|
3309
|
+
const [O, R] = await dc().run();
|
|
3310
|
+
return O ? { stauts: !1 } : { status: !0, data: R };
|
|
3311
|
+
}, E = (O) => new Promise((R, C) => {
|
|
3312
3312
|
const N = [];
|
|
3313
3313
|
let w = 0;
|
|
3314
3314
|
for (; w < O.size; ) {
|
|
@@ -3316,26 +3316,26 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3316
3316
|
N.push(k), w += 1048576;
|
|
3317
3317
|
}
|
|
3318
3318
|
const z = new Blob(N, { type: O.type });
|
|
3319
|
-
|
|
3320
|
-
}),
|
|
3319
|
+
R(z);
|
|
3320
|
+
}), A = async (O, R, C, T = !0, N = "", w = !1) => {
|
|
3321
3321
|
var mr, hr;
|
|
3322
|
-
d = N, v.value = "import",
|
|
3322
|
+
d = N, v.value = "import", T && (r.value = "normal", n.value = 0, e.value = U("导入进度"), t.value = !0, i.value = ""), y = R;
|
|
3323
3323
|
const z = await m();
|
|
3324
3324
|
if (!z.status) return;
|
|
3325
3325
|
let k = z.data, j = null, { autoContentType: K, bucketName: X, importFileName: Le } = C;
|
|
3326
|
-
const mo = w ?
|
|
3326
|
+
const mo = w ? mc : yc;
|
|
3327
3327
|
if (w) {
|
|
3328
3328
|
let oe = [];
|
|
3329
|
-
await
|
|
3330
|
-
let ht = await
|
|
3329
|
+
await R.forEach(async (Ue) => {
|
|
3330
|
+
let ht = await E(Ue);
|
|
3331
3331
|
oe.push(ht);
|
|
3332
|
-
}), j = new FormData(), j.append("accessKeyId", k.accessKeyId), j.append("secretAccessKey", k.secretAccessKey), j.append("sessionToken", k.sessionToken), j.append("bucketName", X),
|
|
3332
|
+
}), j = new FormData(), j.append("accessKeyId", k.accessKeyId), j.append("secretAccessKey", k.secretAccessKey), j.append("sessionToken", k.sessionToken), j.append("bucketName", X), R.forEach((Ue, ht) => {
|
|
3333
3333
|
j.append("file", oe[ht]);
|
|
3334
3334
|
}), Le.forEach((Ue) => {
|
|
3335
3335
|
j.append("filePaths", Ue);
|
|
3336
3336
|
});
|
|
3337
3337
|
} else {
|
|
3338
|
-
const oe = await
|
|
3338
|
+
const oe = await E(R);
|
|
3339
3339
|
j = {
|
|
3340
3340
|
accessKeyId: k.accessKeyId,
|
|
3341
3341
|
secretAccessKey: k.secretAccessKey,
|
|
@@ -3348,7 +3348,7 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3348
3348
|
}
|
|
3349
3349
|
const [ho, go] = await mo(j).run();
|
|
3350
3350
|
if (ho) return t.value = !1;
|
|
3351
|
-
const Y = await
|
|
3351
|
+
const Y = await vc(go.data);
|
|
3352
3352
|
if (!w && (Y == null ? void 0 : Y.statusCode) != 200 || w && (Y != null && Y.some((oe) => (oe == null ? void 0 : oe.statusCode) != 200))) {
|
|
3353
3353
|
t.value = !1, (mr = window.DasMessage) == null || mr.error({
|
|
3354
3354
|
message: (Y == null ? void 0 : Y.errorMsg) || U("上传失败"),
|
|
@@ -3358,12 +3358,12 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3358
3358
|
return;
|
|
3359
3359
|
}
|
|
3360
3360
|
const mt = await (O == null ? void 0 : O(Y));
|
|
3361
|
-
if (
|
|
3361
|
+
if (T) {
|
|
3362
3362
|
if (!mt.status) {
|
|
3363
3363
|
t.value = !1, r.value = "error";
|
|
3364
3364
|
return;
|
|
3365
3365
|
}
|
|
3366
|
-
e.value = U("导入进度"), t.value = !0,
|
|
3366
|
+
e.value = U("导入进度"), t.value = !0, $(mt.taskId, "import", "");
|
|
3367
3367
|
} else {
|
|
3368
3368
|
if (!mt.status) return;
|
|
3369
3369
|
r.value = "success", (hr = window.DasMessage) == null || hr.success({
|
|
@@ -3372,30 +3372,30 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3372
3372
|
repeatNum: 1
|
|
3373
3373
|
});
|
|
3374
3374
|
}
|
|
3375
|
-
}, g = async (O,
|
|
3375
|
+
}, g = async (O, R = "", C = "") => {
|
|
3376
3376
|
r.value = "normal", n.value = 0, e.value = C || U("导出进度"), t.value = !0;
|
|
3377
|
-
const
|
|
3378
|
-
if (
|
|
3377
|
+
const T = await (O == null ? void 0 : O());
|
|
3378
|
+
if (!T.status) {
|
|
3379
3379
|
t.value = !1, r.value = "error";
|
|
3380
3380
|
return;
|
|
3381
3381
|
}
|
|
3382
|
-
|
|
3383
|
-
}, x = async (O,
|
|
3384
|
-
v.value = "export",
|
|
3382
|
+
$(T.taskId, "action", "");
|
|
3383
|
+
}, x = async (O, R = "", C = "", T = !0) => {
|
|
3384
|
+
v.value = "export", T && (r.value = "normal", n.value = 0, e.value = U("导出进度"), t.value = !0);
|
|
3385
3385
|
const N = await (O == null ? void 0 : O());
|
|
3386
3386
|
if (!N.status) {
|
|
3387
3387
|
t.value = !1, r.value = "error";
|
|
3388
3388
|
return;
|
|
3389
3389
|
}
|
|
3390
|
-
rt().format("YYYYMMDDHHmmss") + "",
|
|
3391
|
-
},
|
|
3392
|
-
o.value = !0, L(O,
|
|
3390
|
+
rt().format("YYYYMMDDHHmmss") + "", $(N.taskId, "export", R || "", C);
|
|
3391
|
+
}, $ = async (O, R, C, T = "") => {
|
|
3392
|
+
o.value = !0, L(O, R, C, T), a = setTimeout(() => {
|
|
3393
3393
|
}, 50);
|
|
3394
3394
|
}, M = () => {
|
|
3395
3395
|
clearTimeout(a), a = null, t.value = !1;
|
|
3396
|
-
}, L = async (O,
|
|
3396
|
+
}, L = async (O, R = "export", C, T = "") => {
|
|
3397
3397
|
var z, k, j;
|
|
3398
|
-
const [N, w] = await
|
|
3398
|
+
const [N, w] = await hc("", {
|
|
3399
3399
|
url: `progress/${O}`
|
|
3400
3400
|
}).run();
|
|
3401
3401
|
if (N) {
|
|
@@ -3403,43 +3403,43 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3403
3403
|
return;
|
|
3404
3404
|
}
|
|
3405
3405
|
if (n.value = w.percentage, n.value == 100)
|
|
3406
|
-
if (i.value = w, o.value = !1, M(),
|
|
3406
|
+
if (i.value = w, o.value = !1, M(), R == "export")
|
|
3407
3407
|
if (w.status == 1) {
|
|
3408
3408
|
r.value = "success";
|
|
3409
3409
|
let K = await gr(`/oss/${w == null ? void 0 : w.filePath}`);
|
|
3410
3410
|
const X = ((z = K == null ? void 0 : K.split("/")) == null ? void 0 : z.pop()) || "";
|
|
3411
3411
|
let Le = C || X;
|
|
3412
|
-
pn(`${Ve().baseURL}/oss${w.filePath}`, Le,
|
|
3413
|
-
} else w.status == 2 && (l.value = w.message || (
|
|
3412
|
+
pn(`${Ve().baseURL}/oss${w.filePath}`, Le, T), o.value = !1;
|
|
3413
|
+
} else w.status == 2 && (l.value = w.message || (R == "export" ? U("导出失败") : U("导入失败")), (k = window.DasMessage) == null || k.error({
|
|
3414
3414
|
message: l.value,
|
|
3415
3415
|
grouping: !0,
|
|
3416
3416
|
repeatNum: 1
|
|
3417
3417
|
}));
|
|
3418
|
-
else if (
|
|
3418
|
+
else if (R == "import") {
|
|
3419
3419
|
if (w.filePath) {
|
|
3420
3420
|
r.value = "error", c.value = !0;
|
|
3421
3421
|
let K = await gr(`/oss/${w == null ? void 0 : w.filePath}`);
|
|
3422
3422
|
const X = ((j = K == null ? void 0 : K.split("/")) == null ? void 0 : j.pop()) || "";
|
|
3423
3423
|
s.value = d || X, u.value = y.sizeText, l.value = U("部分数据校验不通过,请下载附件并修改,重新导入!"), f.value = `${Ve().baseURL}/oss/${w == null ? void 0 : w.filePath}`;
|
|
3424
3424
|
}
|
|
3425
|
-
W(w.status,
|
|
3426
|
-
} else
|
|
3425
|
+
W(w.status, R, w.message);
|
|
3426
|
+
} else R == "action" && (r.value = "success");
|
|
3427
3427
|
else
|
|
3428
3428
|
a && w.status != 2 ? a = setTimeout(() => {
|
|
3429
|
-
L(O,
|
|
3430
|
-
}, 50) : (i.value = w, o.value = !1, W(w.status,
|
|
3431
|
-
}, W = (O,
|
|
3432
|
-
var
|
|
3433
|
-
O == 1 ? (r.value = "success", (
|
|
3434
|
-
message:
|
|
3429
|
+
L(O, R, C, T);
|
|
3430
|
+
}, 50) : (i.value = w, o.value = !1, W(w.status, R, w.message), M(), c.value = !0, l.value = (w == null ? void 0 : w.message) || "");
|
|
3431
|
+
}, W = (O, R = "export", C) => {
|
|
3432
|
+
var T, N, w;
|
|
3433
|
+
O == 1 ? (r.value = "success", (T = window.DasMessage) == null || T.success({
|
|
3434
|
+
message: R == "export" ? U("导出成功") : U("导入成功"),
|
|
3435
3435
|
grouping: !0,
|
|
3436
3436
|
repeatNum: 1
|
|
3437
3437
|
}), s.value = "", u.value = "", l.value = "") : O == 2 ? (r.value = "error", (N = window.DasMessage) == null || N.error({
|
|
3438
|
-
message: C || (
|
|
3438
|
+
message: C || (R == "export" ? U("导出失败") : U("导入失败")),
|
|
3439
3439
|
grouping: !0,
|
|
3440
3440
|
repeatNum: 1
|
|
3441
3441
|
}), l.value = C || U("部分数据校验不通过,请下载附件并修改,重新导入!")) : O == 3 && (r.value = "error", (w = window.DasMessage) == null || w.error({
|
|
3442
|
-
message:
|
|
3442
|
+
message: R == "export" ? U("部分导出失败") : U("部分导入失败"),
|
|
3443
3443
|
grouping: !0,
|
|
3444
3444
|
repeatNum: 1
|
|
3445
3445
|
}));
|
|
@@ -3456,19 +3456,19 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3456
3456
|
errorMessage: l,
|
|
3457
3457
|
errorImport: c,
|
|
3458
3458
|
errorFilePath: f,
|
|
3459
|
-
fileImport:
|
|
3459
|
+
fileImport: A,
|
|
3460
3460
|
fileExport: x,
|
|
3461
3461
|
fileAction: g,
|
|
3462
3462
|
generateUniqueName: (O) => {
|
|
3463
|
-
const
|
|
3464
|
-
return `${
|
|
3463
|
+
const R = O == null ? void 0 : O.match(/(.*?)(\.[^.]*$|$)/), C = R.length ? R[2] : "";
|
|
3464
|
+
return `${R.length ? R[1] : O}${pc()}${C}`;
|
|
3465
3465
|
},
|
|
3466
3466
|
downloadFile: pn,
|
|
3467
3467
|
resetStataus: h,
|
|
3468
|
-
checkProgress:
|
|
3468
|
+
checkProgress: $,
|
|
3469
3469
|
fileHandleType: v
|
|
3470
3470
|
};
|
|
3471
|
-
},
|
|
3471
|
+
}, gc = (t) => {
|
|
3472
3472
|
let e = t == null ? void 0 : t.toLocaleLowerCase();
|
|
3473
3473
|
return {
|
|
3474
3474
|
excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
@@ -3501,7 +3501,7 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3501
3501
|
const r = new XMLHttpRequest();
|
|
3502
3502
|
r.open("get", t), r.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), r.responseType = "blob", r.onload = function(o) {
|
|
3503
3503
|
const a = new Blob([this.response], {
|
|
3504
|
-
type:
|
|
3504
|
+
type: gc(n)
|
|
3505
3505
|
}), i = URL.createObjectURL(a);
|
|
3506
3506
|
if (window.navigator.msSaveOrOpenBlob)
|
|
3507
3507
|
navigator.msSaveBlob(a, e);
|
|
@@ -3510,54 +3510,54 @@ const pc = dr.get("token"), dc = dr.post("put-object", (t) => (t.headers || (t.h
|
|
|
3510
3510
|
s.href = i, s.download = e, s.click(), window.URL.revokeObjectURL(i);
|
|
3511
3511
|
}
|
|
3512
3512
|
}, r.send();
|
|
3513
|
-
},
|
|
3513
|
+
}, vc = (t) => new Promise((e, n) => {
|
|
3514
3514
|
var r = new FileReader();
|
|
3515
3515
|
r.onload = function(o) {
|
|
3516
3516
|
let a = "";
|
|
3517
3517
|
typeof r.result == "string" && (a = JSON.parse(r.result)), e(a);
|
|
3518
3518
|
}, r.readAsText(t);
|
|
3519
|
-
}),
|
|
3519
|
+
}), wc = "v2", Yc = b(`/api/edge/${wc}`), yo = "v1", Zc = b(`/api/justauth/oauth-server/${yo}/visitor`), eu = b(`/api/justauth/oauth-server/${yo}`), bc = "v1", tu = b(`/api/knowledge-base/knowledge/${bc}`), Sc = "v1", ru = b(`/api/custom-datasource/custom/${Sc}`), Ec = "v1", nu = b(`/api/permission/${Ec}`), fe = "v1", ou = b(`/api/customer/customer/${fe}`), au = b(`/api/customer/company/${fe}`), iu = b(`/api/customer/customer-grade/${fe}`), su = b(`/api/customer/customer-type/${fe}`), lu = {
|
|
3520
3520
|
list: b(`/api/project/${fe}/list`),
|
|
3521
3521
|
app: b(`/api/project/${fe}/app`),
|
|
3522
3522
|
people: b(`/api/project/${fe}/people`)
|
|
3523
|
-
},
|
|
3523
|
+
}, Oc = "v1", cu = b(`/api/portal/user/${Oc}`), Ac = "v1", uu = b(`/api/space-manage/space-tree/${Ac}`), yt = "v1", fu = b(`/api/superadmin/portal/${yt}`), pu = b(`/api/superadmin/permission/${yt}`), du = b(`/api/superadmin/resource/${yt}`), yu = b(`/api/superadmin/license/${yt}`), yr = "v1", mu = b(`/api/supply/supplier/${yr}`), hu = b(`/api/supplier/${yr}`), gu = b(`/api/supplier/${yr}/classification`), Rc = "v1", vu = b(`/api/supply/brand/${Rc}`), Pc = "v2", wu = b(`/api/tool/${Pc}`), Tc = "v1", bu = b(`/api/system-config/${Tc}`);
|
|
3524
3524
|
export {
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3525
|
+
Qc as analyApi,
|
|
3526
|
+
jc as appManage,
|
|
3527
|
+
qc as authentication,
|
|
3528
|
+
Hc as bemsModules,
|
|
3529
|
+
au as company,
|
|
3530
|
+
zc as contract,
|
|
3531
3531
|
b as createService,
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3532
|
+
ou as customer,
|
|
3533
|
+
iu as customerGrade,
|
|
3534
|
+
su as customerType,
|
|
3535
|
+
ru as daslink,
|
|
3536
3536
|
pn as downloadFile,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3537
|
+
Wc as dutyModules,
|
|
3538
|
+
vu as enterpriseadminBrandModel,
|
|
3539
|
+
Kc as enterpriseright,
|
|
3540
|
+
Yc as gatewayEdge,
|
|
3541
|
+
Gc as iot,
|
|
3542
3542
|
dr as iotMinio,
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3543
|
+
Jc as iotModules,
|
|
3544
|
+
fc as iotProgress,
|
|
3545
|
+
Vc as iotRelationModules,
|
|
3546
|
+
Zc as justauth,
|
|
3547
|
+
tu as knowledgeBase,
|
|
3548
|
+
eu as oauthServer,
|
|
3549
|
+
nu as permission,
|
|
3550
|
+
cu as portal,
|
|
3551
|
+
lu as projectManage,
|
|
3552
|
+
uu as spaceManage,
|
|
3553
|
+
yu as superadminLicense,
|
|
3554
|
+
pu as superadminPermission,
|
|
3555
|
+
fu as superadminPortal,
|
|
3556
|
+
du as superadminResource,
|
|
3557
|
+
mu as supplier,
|
|
3558
|
+
gu as supplierClassification,
|
|
3559
|
+
hu as supplierManage,
|
|
3560
|
+
bu as systemConfiguration,
|
|
3561
|
+
wu as tool,
|
|
3562
|
+
Xc as useFile
|
|
3563
3563
|
};
|