@das-fed/utils 7.0.7-hot.70 → 7.0.7-hot.71
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/index.js +261 -261
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +726 -708
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +1098 -1116
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +1101 -1119
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +154 -154
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +154 -154
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +626 -626
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +372 -372
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +832 -850
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +317 -317
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +159 -159
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +156 -156
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +197 -197
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +743 -725
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +1098 -1116
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +830 -844
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +154 -154
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +154 -154
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +627 -627
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +624 -624
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +626 -626
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +626 -626
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +626 -626
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +153 -153
- package/api-services/src/create-service/index.js.gz +0 -0
- package/create-api-service/index.js +182 -182
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.js +138 -139
- package/create-api-service/sso/index.js.gz +0 -0
- package/create-api-service/thirdLogout/index.js +189 -190
- package/create-api-service/thirdLogout/index.js.gz +0 -0
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { unref as Kt, getCurrentScope as Qt, onScopeDispose as Gt, ref as ne, watch as
|
|
1
|
+
import { unref as Kt, getCurrentScope as Qt, onScopeDispose as Gt, ref as ne, watch as Pe } from "vue";
|
|
2
2
|
import { encryption as Xt } from "@das-fed/utils/atob";
|
|
3
|
-
import { getConfig as
|
|
4
|
-
import { clearPlatformAuthStorage as Ue, getAccessToken as
|
|
5
|
-
import { tokenStorage as
|
|
3
|
+
import { getConfig as M } from "@das-fed/utils/config";
|
|
4
|
+
import { clearPlatformAuthStorage as Ue, getAccessToken as B, tokenStorage as re } from "@das-fed/utils/token-tools";
|
|
5
|
+
import { tokenStorage as Io } from "@das-fed/utils/token-tools";
|
|
6
6
|
import { appendQueryParams as Le } from "@das-fed/utils/common-tools";
|
|
7
7
|
import { setPersonalInfo as ht } from "@das-fed/utils/common-info/set-personal-info";
|
|
8
8
|
import { hasUnauthorizedRecovery as we } from "@das-fed/utils/create-api-service/unauthorized-recovery";
|
|
@@ -146,14 +146,14 @@ const yn = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (o, s) => {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
|
-
},
|
|
149
|
+
}, kn = (e, t) => {
|
|
150
150
|
const n = {}, r = (o) => {
|
|
151
151
|
o.forEach((s) => {
|
|
152
152
|
n[s] = !0;
|
|
153
153
|
});
|
|
154
154
|
};
|
|
155
155
|
return H(e) ? r(e) : r(String(e).split(t)), n;
|
|
156
|
-
},
|
|
156
|
+
}, Pn = () => {
|
|
157
157
|
}, Un = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
158
158
|
function Ln(e) {
|
|
159
159
|
return !!(e && _(e.append) && e[yt] === "FormData" && e[ie]);
|
|
@@ -229,9 +229,9 @@ const Nn = (e) => {
|
|
|
229
229
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
230
230
|
reduceDescriptors: Rt,
|
|
231
231
|
freezeMethods: xn,
|
|
232
|
-
toObjectSet:
|
|
232
|
+
toObjectSet: kn,
|
|
233
233
|
toCamelCase: An,
|
|
234
|
-
noop:
|
|
234
|
+
noop: Pn,
|
|
235
235
|
toFiniteNumber: Un,
|
|
236
236
|
findKey: bt,
|
|
237
237
|
global: F,
|
|
@@ -341,10 +341,10 @@ function ue(e, t, n) {
|
|
|
341
341
|
if (c.endsWith(y, "{}"))
|
|
342
342
|
y = r ? y : y.slice(0, -2), p = JSON.stringify(p);
|
|
343
343
|
else if (c.isArray(p) && Bn(p) || (c.isFileList(p) || c.endsWith(y, "[]")) && (S = c.toArray(p)))
|
|
344
|
-
return y = _t(y), S.forEach(function(E,
|
|
344
|
+
return y = _t(y), S.forEach(function(E, k) {
|
|
345
345
|
!(c.isUndefined(E) || E === null) && t.append(
|
|
346
346
|
// eslint-disable-next-line no-nested-ternary
|
|
347
|
-
i === !0 ? He([y],
|
|
347
|
+
i === !0 ? He([y], k, s) : i === null ? y : y + "[]",
|
|
348
348
|
l(E)
|
|
349
349
|
);
|
|
350
350
|
}), !1;
|
|
@@ -375,7 +375,7 @@ function ue(e, t, n) {
|
|
|
375
375
|
throw new TypeError("data must be an object");
|
|
376
376
|
return b(e), t;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function $e(e) {
|
|
379
379
|
const t = {
|
|
380
380
|
"!": "%21",
|
|
381
381
|
"'": "%27",
|
|
@@ -398,8 +398,8 @@ At.append = function(t, n) {
|
|
|
398
398
|
};
|
|
399
399
|
At.toString = function(t) {
|
|
400
400
|
const n = t ? function(r) {
|
|
401
|
-
return t.call(this, r,
|
|
402
|
-
} :
|
|
401
|
+
return t.call(this, r, $e);
|
|
402
|
+
} : $e;
|
|
403
403
|
return this._pairs.map(function(o) {
|
|
404
404
|
return n(o[0]) + "=" + n(o[1]);
|
|
405
405
|
}, "").join("&");
|
|
@@ -422,7 +422,7 @@ function Ct(e, t, n) {
|
|
|
422
422
|
}
|
|
423
423
|
return e;
|
|
424
424
|
}
|
|
425
|
-
class
|
|
425
|
+
class ze {
|
|
426
426
|
constructor() {
|
|
427
427
|
this.handlers = [];
|
|
428
428
|
}
|
|
@@ -480,12 +480,12 @@ const xt = {
|
|
|
480
480
|
silentJSONParsing: !0,
|
|
481
481
|
forcedJSONParsing: !0,
|
|
482
482
|
clarifyTimeoutError: !1
|
|
483
|
-
}, Hn = typeof URLSearchParams < "u" ? URLSearchParams : Ie,
|
|
483
|
+
}, Hn = typeof URLSearchParams < "u" ? URLSearchParams : Ie, $n = typeof FormData < "u" ? FormData : null, zn = typeof Blob < "u" ? Blob : null, Jn = {
|
|
484
484
|
isBrowser: !0,
|
|
485
485
|
classes: {
|
|
486
486
|
URLSearchParams: Hn,
|
|
487
|
-
FormData:
|
|
488
|
-
Blob:
|
|
487
|
+
FormData: $n,
|
|
488
|
+
Blob: zn
|
|
489
489
|
},
|
|
490
490
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
491
491
|
}, Fe = typeof window < "u" && typeof document < "u", Se = typeof navigator == "object" && navigator || void 0, Vn = Fe && (!Se || ["ReactNative", "NativeScript", "NS"].indexOf(Se.product) < 0), Wn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
@@ -520,7 +520,7 @@ function Yn(e) {
|
|
|
520
520
|
s = n[r], t[s] = e[s];
|
|
521
521
|
return t;
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function kt(e) {
|
|
524
524
|
function t(n, r, o, s) {
|
|
525
525
|
let i = n[s++];
|
|
526
526
|
if (i === "__proto__") return !0;
|
|
@@ -551,7 +551,7 @@ const Q = {
|
|
|
551
551
|
transformRequest: [function(t, n) {
|
|
552
552
|
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = c.isObject(t);
|
|
553
553
|
if (s && c.isHTMLForm(t) && (t = new FormData(t)), c.isFormData(t))
|
|
554
|
-
return o ? JSON.stringify(
|
|
554
|
+
return o ? JSON.stringify(kt(t)) : t;
|
|
555
555
|
if (c.isArrayBuffer(t) || c.isBuffer(t) || c.isStream(t) || c.isFile(t) || c.isBlob(t) || c.isReadableStream(t))
|
|
556
556
|
return t;
|
|
557
557
|
if (c.isArrayBufferView(t))
|
|
@@ -640,7 +640,7 @@ const er = c.toObjectSet([
|
|
|
640
640
|
o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] && er[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
641
641
|
}), t;
|
|
642
642
|
}, Je = Symbol("internals");
|
|
643
|
-
function
|
|
643
|
+
function z(e) {
|
|
644
644
|
return e && String(e).trim().toLowerCase();
|
|
645
645
|
}
|
|
646
646
|
function ee(e) {
|
|
@@ -685,7 +685,7 @@ let A = class {
|
|
|
685
685
|
set(t, n, r) {
|
|
686
686
|
const o = this;
|
|
687
687
|
function s(a, f, l) {
|
|
688
|
-
const u =
|
|
688
|
+
const u = z(f);
|
|
689
689
|
if (!u)
|
|
690
690
|
throw new Error("header name must be a non-empty string");
|
|
691
691
|
const d = c.findKey(o, u);
|
|
@@ -709,7 +709,7 @@ let A = class {
|
|
|
709
709
|
return this;
|
|
710
710
|
}
|
|
711
711
|
get(t, n) {
|
|
712
|
-
if (t =
|
|
712
|
+
if (t = z(t), t) {
|
|
713
713
|
const r = c.findKey(this, t);
|
|
714
714
|
if (r) {
|
|
715
715
|
const o = this[r];
|
|
@@ -726,7 +726,7 @@ let A = class {
|
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
has(t, n) {
|
|
729
|
-
if (t =
|
|
729
|
+
if (t = z(t), t) {
|
|
730
730
|
const r = c.findKey(this, t);
|
|
731
731
|
return !!(r && this[r] !== void 0 && (!n || de(this, this[r], r, n)));
|
|
732
732
|
}
|
|
@@ -736,7 +736,7 @@ let A = class {
|
|
|
736
736
|
const r = this;
|
|
737
737
|
let o = !1;
|
|
738
738
|
function s(i) {
|
|
739
|
-
if (i =
|
|
739
|
+
if (i = z(i), i) {
|
|
740
740
|
const a = c.findKey(r, i);
|
|
741
741
|
a && (!n || de(r, r[a], a, n)) && (delete r[a], o = !0);
|
|
742
742
|
}
|
|
@@ -798,7 +798,7 @@ let A = class {
|
|
|
798
798
|
accessors: {}
|
|
799
799
|
}).accessors, o = this.prototype;
|
|
800
800
|
function s(i) {
|
|
801
|
-
const a =
|
|
801
|
+
const a = z(i);
|
|
802
802
|
r[a] || (sr(o, i), r[a] = !0);
|
|
803
803
|
}
|
|
804
804
|
return c.isArray(t) ? t.forEach(s) : s(t), this;
|
|
@@ -822,13 +822,13 @@ function pe(e, t) {
|
|
|
822
822
|
s = a.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
823
823
|
}), o.normalize(), s;
|
|
824
824
|
}
|
|
825
|
-
function
|
|
825
|
+
function Pt(e) {
|
|
826
826
|
return !!(e && e.__CANCEL__);
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function $(e, t, n) {
|
|
829
829
|
w.call(this, e ?? "canceled", w.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
830
830
|
}
|
|
831
|
-
c.inherits(
|
|
831
|
+
c.inherits($, w, {
|
|
832
832
|
__CANCEL__: !0
|
|
833
833
|
});
|
|
834
834
|
function Ut(e, t, n) {
|
|
@@ -940,7 +940,7 @@ function Lt(e, t, n) {
|
|
|
940
940
|
return e && (r || n == !1) ? dr(e, t) : t;
|
|
941
941
|
}
|
|
942
942
|
const Ke = (e) => e instanceof A ? { ...e } : e;
|
|
943
|
-
function
|
|
943
|
+
function j(e, t) {
|
|
944
944
|
t = t || {};
|
|
945
945
|
const n = {};
|
|
946
946
|
function r(l, u, d, m) {
|
|
@@ -1005,7 +1005,7 @@ function B(e, t) {
|
|
|
1005
1005
|
}), n;
|
|
1006
1006
|
}
|
|
1007
1007
|
const Nt = (e) => {
|
|
1008
|
-
const t =
|
|
1008
|
+
const t = j({}, e);
|
|
1009
1009
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: a } = t;
|
|
1010
1010
|
t.headers = i = A.from(i), t.url = Ct(Lt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
|
|
1011
1011
|
"Authorization",
|
|
@@ -1062,18 +1062,18 @@ const Nt = (e) => {
|
|
|
1062
1062
|
}, h.onerror = function() {
|
|
1063
1063
|
r(new w("Network Error", w.ERR_NETWORK, e, h)), h = null;
|
|
1064
1064
|
}, h.ontimeout = function() {
|
|
1065
|
-
let
|
|
1065
|
+
let k = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1066
1066
|
const O = o.transitional || xt;
|
|
1067
|
-
o.timeoutErrorMessage && (
|
|
1068
|
-
|
|
1067
|
+
o.timeoutErrorMessage && (k = o.timeoutErrorMessage), r(new w(
|
|
1068
|
+
k,
|
|
1069
1069
|
O.clarifyTimeoutError ? w.ETIMEDOUT : w.ECONNABORTED,
|
|
1070
1070
|
e,
|
|
1071
1071
|
h
|
|
1072
1072
|
)), h = null;
|
|
1073
|
-
}, s === void 0 && i.setContentType(null), "setRequestHeader" in h && c.forEach(i.toJSON(), function(
|
|
1074
|
-
h.setRequestHeader(O,
|
|
1073
|
+
}, s === void 0 && i.setContentType(null), "setRequestHeader" in h && c.forEach(i.toJSON(), function(k, O) {
|
|
1074
|
+
h.setRequestHeader(O, k);
|
|
1075
1075
|
}), c.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), a && a !== "json" && (h.responseType = o.responseType), l && ([m, p] = oe(l, !0), h.addEventListener("progress", m)), f && h.upload && ([d, b] = oe(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", b)), (o.cancelToken || o.signal) && (u = (E) => {
|
|
1076
|
-
h && (r(!E || E.type ? new
|
|
1076
|
+
h && (r(!E || E.type ? new $(null, e, h) : E), h.abort(), h = null);
|
|
1077
1077
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
1078
1078
|
const R = ir(o.url);
|
|
1079
1079
|
if (R && T.protocols.indexOf(R) === -1) {
|
|
@@ -1090,7 +1090,7 @@ const Nt = (e) => {
|
|
|
1090
1090
|
if (!o) {
|
|
1091
1091
|
o = !0, a();
|
|
1092
1092
|
const u = l instanceof Error ? l : this.reason;
|
|
1093
|
-
r.abort(u instanceof w ? u : new
|
|
1093
|
+
r.abort(u instanceof w ? u : new $(u instanceof Error ? u.message : u));
|
|
1094
1094
|
}
|
|
1095
1095
|
};
|
|
1096
1096
|
let i = t && setTimeout(() => {
|
|
@@ -1232,8 +1232,8 @@ const Rr = async (e) => {
|
|
|
1232
1232
|
method: "POST",
|
|
1233
1233
|
body: r,
|
|
1234
1234
|
duplex: "half"
|
|
1235
|
-
}),
|
|
1236
|
-
if (c.isFormData(r) && (
|
|
1235
|
+
}), P;
|
|
1236
|
+
if (c.isFormData(r) && (P = O.headers.get("content-type")) && u.setContentType(P), O.body) {
|
|
1237
1237
|
const [I, G] = Ve(
|
|
1238
1238
|
h,
|
|
1239
1239
|
oe(We(f))
|
|
@@ -1259,8 +1259,8 @@ const Rr = async (e) => {
|
|
|
1259
1259
|
["status", "statusText", "headers"].forEach((qe) => {
|
|
1260
1260
|
O[qe] = R[qe];
|
|
1261
1261
|
});
|
|
1262
|
-
const
|
|
1263
|
-
|
|
1262
|
+
const P = c.toFiniteNumber(R.headers.get("content-length")), [I, G] = a && Ve(
|
|
1263
|
+
P,
|
|
1264
1264
|
oe(We(a), !0)
|
|
1265
1265
|
) || [];
|
|
1266
1266
|
R = new Response(
|
|
@@ -1271,10 +1271,10 @@ const Rr = async (e) => {
|
|
|
1271
1271
|
);
|
|
1272
1272
|
}
|
|
1273
1273
|
l = l || "text";
|
|
1274
|
-
let
|
|
1275
|
-
return !E && y && y(), await new Promise((O,
|
|
1276
|
-
Ut(O,
|
|
1277
|
-
data:
|
|
1274
|
+
let k = await se[c.findKey(se, l) || "text"](R, e);
|
|
1275
|
+
return !E && y && y(), await new Promise((O, P) => {
|
|
1276
|
+
Ut(O, P, {
|
|
1277
|
+
data: k,
|
|
1278
1278
|
headers: A.from(R.headers),
|
|
1279
1279
|
status: R.status,
|
|
1280
1280
|
statusText: R.statusText,
|
|
@@ -1337,7 +1337,7 @@ const Xe = (e) => `- ${e}`, Or = (e) => c.isFunction(e) || e === null || e === !
|
|
|
1337
1337
|
};
|
|
1338
1338
|
function he(e) {
|
|
1339
1339
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1340
|
-
throw new
|
|
1340
|
+
throw new $(null, e);
|
|
1341
1341
|
}
|
|
1342
1342
|
function Ye(e) {
|
|
1343
1343
|
return he(e), e.headers = A.from(e.headers), e.data = pe.call(
|
|
@@ -1350,7 +1350,7 @@ function Ye(e) {
|
|
|
1350
1350
|
r
|
|
1351
1351
|
), r.headers = A.from(r.headers), r;
|
|
1352
1352
|
}, function(r) {
|
|
1353
|
-
return
|
|
1353
|
+
return Pt(r) || (he(e), r && r.response && (r.response.data = pe.call(
|
|
1354
1354
|
e,
|
|
1355
1355
|
e.transformResponse,
|
|
1356
1356
|
r.response
|
|
@@ -1404,8 +1404,8 @@ const te = {
|
|
|
1404
1404
|
let D = class {
|
|
1405
1405
|
constructor(t) {
|
|
1406
1406
|
this.defaults = t || {}, this.interceptors = {
|
|
1407
|
-
request: new
|
|
1408
|
-
response: new
|
|
1407
|
+
request: new ze(),
|
|
1408
|
+
response: new ze()
|
|
1409
1409
|
};
|
|
1410
1410
|
}
|
|
1411
1411
|
/**
|
|
@@ -1434,7 +1434,7 @@ let D = class {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
1436
|
_request(t, n) {
|
|
1437
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
1437
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = j(this.defaults, n);
|
|
1438
1438
|
const { transitional: r, paramsSerializer: o, headers: s } = n;
|
|
1439
1439
|
r !== void 0 && te.assertOptions(r, {
|
|
1440
1440
|
silentJSONParsing: x.transitional(x.boolean),
|
|
@@ -1496,14 +1496,14 @@ let D = class {
|
|
|
1496
1496
|
return u;
|
|
1497
1497
|
}
|
|
1498
1498
|
getUri(t) {
|
|
1499
|
-
t =
|
|
1499
|
+
t = j(this.defaults, t);
|
|
1500
1500
|
const n = Lt(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1501
1501
|
return Ct(n, t.params, t.paramsSerializer);
|
|
1502
1502
|
}
|
|
1503
1503
|
};
|
|
1504
1504
|
c.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1505
1505
|
D.prototype[t] = function(n, r) {
|
|
1506
|
-
return this.request(
|
|
1506
|
+
return this.request(j(r || {}, {
|
|
1507
1507
|
method: t,
|
|
1508
1508
|
url: n,
|
|
1509
1509
|
data: (r || {}).data
|
|
@@ -1513,7 +1513,7 @@ c.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1513
1513
|
c.forEach(["post", "put", "patch"], function(t) {
|
|
1514
1514
|
function n(r) {
|
|
1515
1515
|
return function(s, i, a) {
|
|
1516
|
-
return this.request(
|
|
1516
|
+
return this.request(j(a || {}, {
|
|
1517
1517
|
method: t,
|
|
1518
1518
|
headers: r ? {
|
|
1519
1519
|
"Content-Type": "multipart/form-data"
|
|
@@ -1549,7 +1549,7 @@ let Ar = class jt {
|
|
|
1549
1549
|
r.unsubscribe(s);
|
|
1550
1550
|
}, i;
|
|
1551
1551
|
}, t(function(s, i, a) {
|
|
1552
|
-
r.reason || (r.reason = new
|
|
1552
|
+
r.reason || (r.reason = new $(s, i, a), n(r.reason));
|
|
1553
1553
|
});
|
|
1554
1554
|
}
|
|
1555
1555
|
/**
|
|
@@ -1677,14 +1677,14 @@ Object.entries(Te).forEach(([e, t]) => {
|
|
|
1677
1677
|
function Bt(e) {
|
|
1678
1678
|
const t = new D(e), n = mt(D.prototype.request, t);
|
|
1679
1679
|
return c.extend(n, D.prototype, t, { allOwnKeys: !0 }), c.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1680
|
-
return Bt(
|
|
1680
|
+
return Bt(j(e, o));
|
|
1681
1681
|
}, n;
|
|
1682
1682
|
}
|
|
1683
1683
|
const g = Bt(Q);
|
|
1684
1684
|
g.Axios = D;
|
|
1685
|
-
g.CanceledError =
|
|
1685
|
+
g.CanceledError = $;
|
|
1686
1686
|
g.CancelToken = Ar;
|
|
1687
|
-
g.isCancel =
|
|
1687
|
+
g.isCancel = Pt;
|
|
1688
1688
|
g.VERSION = vt;
|
|
1689
1689
|
g.toFormData = ue;
|
|
1690
1690
|
g.AxiosError = w;
|
|
@@ -1694,29 +1694,29 @@ g.all = function(t) {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
g.spread = Cr;
|
|
1696
1696
|
g.isAxiosError = xr;
|
|
1697
|
-
g.mergeConfig =
|
|
1697
|
+
g.mergeConfig = j;
|
|
1698
1698
|
g.AxiosHeaders = A;
|
|
1699
|
-
g.formToJSON = (e) =>
|
|
1699
|
+
g.formToJSON = (e) => kt(c.isHTMLForm(e) ? new FormData(e) : e);
|
|
1700
1700
|
g.getAdapter = Dt.getAdapter;
|
|
1701
1701
|
g.HttpStatusCode = Te;
|
|
1702
1702
|
g.default = g;
|
|
1703
1703
|
const {
|
|
1704
|
-
Axios:
|
|
1705
|
-
AxiosError:
|
|
1706
|
-
CanceledError:
|
|
1707
|
-
isCancel:
|
|
1708
|
-
CancelToken:
|
|
1709
|
-
VERSION:
|
|
1710
|
-
all:
|
|
1711
|
-
Cancel:
|
|
1712
|
-
isAxiosError:
|
|
1713
|
-
spread:
|
|
1714
|
-
toFormData:
|
|
1715
|
-
AxiosHeaders:
|
|
1716
|
-
HttpStatusCode:
|
|
1717
|
-
formToJSON:
|
|
1704
|
+
Axios: mo,
|
|
1705
|
+
AxiosError: yo,
|
|
1706
|
+
CanceledError: wo,
|
|
1707
|
+
isCancel: go,
|
|
1708
|
+
CancelToken: bo,
|
|
1709
|
+
VERSION: So,
|
|
1710
|
+
all: Ro,
|
|
1711
|
+
Cancel: Eo,
|
|
1712
|
+
isAxiosError: To,
|
|
1713
|
+
spread: Oo,
|
|
1714
|
+
toFormData: _o,
|
|
1715
|
+
AxiosHeaders: Ao,
|
|
1716
|
+
HttpStatusCode: Co,
|
|
1717
|
+
formToJSON: xo,
|
|
1718
1718
|
getAdapter: ko,
|
|
1719
|
-
mergeConfig:
|
|
1719
|
+
mergeConfig: Po
|
|
1720
1720
|
} = g;
|
|
1721
1721
|
/*! js-cookie v3.0.5 | MIT */
|
|
1722
1722
|
function X(e) {
|
|
@@ -1727,7 +1727,7 @@ function X(e) {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
return e;
|
|
1729
1729
|
}
|
|
1730
|
-
var
|
|
1730
|
+
var kr = {
|
|
1731
1731
|
read: function(e) {
|
|
1732
1732
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
1733
1733
|
},
|
|
@@ -1788,8 +1788,8 @@ function Oe(e, t) {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
);
|
|
1790
1790
|
}
|
|
1791
|
-
var _e = Oe(
|
|
1792
|
-
const qt = typeof window < "u",
|
|
1791
|
+
var _e = Oe(kr, { path: "/" }), et;
|
|
1792
|
+
const qt = typeof window < "u", Pr = (e) => typeof e == "string", tt = () => +Date.now(), Ae = () => {
|
|
1793
1793
|
};
|
|
1794
1794
|
qt && ((et = window == null ? void 0 : window.navigator) != null && et.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1795
1795
|
function De(e) {
|
|
@@ -1831,12 +1831,12 @@ function Fr(e) {
|
|
|
1831
1831
|
const Mt = qt ? window : void 0;
|
|
1832
1832
|
function nt(...e) {
|
|
1833
1833
|
let t, n, r, o;
|
|
1834
|
-
if (
|
|
1834
|
+
if (Pr(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t = Mt) : [t, n, r, o] = e, !t)
|
|
1835
1835
|
return Ae;
|
|
1836
1836
|
Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
|
|
1837
1837
|
const s = [], i = () => {
|
|
1838
1838
|
s.forEach((u) => u()), s.length = 0;
|
|
1839
|
-
}, a = (u, d, m, b) => (u.addEventListener(d, m, b), () => u.removeEventListener(d, m, b)), f =
|
|
1839
|
+
}, a = (u, d, m, b) => (u.addEventListener(d, m, b), () => u.removeEventListener(d, m, b)), f = Pe(() => [Fr(t), De(o)], ([u, d]) => {
|
|
1840
1840
|
i(), u && s.push(...n.flatMap((m) => r.map((b) => a(u, m, b, d))));
|
|
1841
1841
|
}, { immediate: !0, flush: "post" }), l = () => {
|
|
1842
1842
|
f(), i();
|
|
@@ -1880,7 +1880,7 @@ var Br = Object.defineProperty, it = Object.getOwnPropertySymbols, qr = Object.p
|
|
|
1880
1880
|
Mr.call(t, n) && at(e, n, t[n]);
|
|
1881
1881
|
return e;
|
|
1882
1882
|
};
|
|
1883
|
-
const
|
|
1883
|
+
const $r = {
|
|
1884
1884
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
1885
1885
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
1886
1886
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -1908,9 +1908,9 @@ const zr = {
|
|
|
1908
1908
|
};
|
|
1909
1909
|
Hr({
|
|
1910
1910
|
linear: Nr
|
|
1911
|
-
},
|
|
1911
|
+
}, $r);
|
|
1912
1912
|
let Ce;
|
|
1913
|
-
const Ht = { triggerProxySso: "triggerProxySso" },
|
|
1913
|
+
const Ht = { triggerProxySso: "triggerProxySso" }, zr = () => {
|
|
1914
1914
|
Ce = (e) => {
|
|
1915
1915
|
var n;
|
|
1916
1916
|
const { origin: t } = new URL(location.href);
|
|
@@ -1925,8 +1925,8 @@ const Ht = { triggerProxySso: "triggerProxySso" }, $r = () => {
|
|
|
1925
1925
|
n === Ht.triggerProxySso && (e == null || e(r));
|
|
1926
1926
|
});
|
|
1927
1927
|
};
|
|
1928
|
-
window.top !== window.self &&
|
|
1929
|
-
let
|
|
1928
|
+
window.top !== window.self && zr();
|
|
1929
|
+
let $t = (e = 21) => {
|
|
1930
1930
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e));
|
|
1931
1931
|
for (; e--; ) {
|
|
1932
1932
|
let r = n[e] & 63;
|
|
@@ -1942,7 +1942,7 @@ const me = "loginType", U = (e) => new URL(location.href).searchParams.get(e), v
|
|
|
1942
1942
|
e.forEach((r) => {
|
|
1943
1943
|
n.delete(r);
|
|
1944
1944
|
}), t.search = n.toString(), window.history.replaceState({}, "", t);
|
|
1945
|
-
}, { baseURL: ct } =
|
|
1945
|
+
}, { baseURL: ct } = M(), ut = {
|
|
1946
1946
|
feishu: {
|
|
1947
1947
|
login: "/api/justauth/client/v1/visitor/feishu/login",
|
|
1948
1948
|
ssoParam: "/api/justauth/client/v1/visitor/sso-param"
|
|
@@ -1995,7 +1995,7 @@ const me = "loginType", U = (e) => new URL(location.href).searchParams.get(e), v
|
|
|
1995
1995
|
}) : i();
|
|
1996
1996
|
});
|
|
1997
1997
|
}
|
|
1998
|
-
}, Wr = "/api/justauth/client/v1/visitor/sso-param", Kr = "/api/justauth/client/v1/visitor/jmc/sso/status",
|
|
1998
|
+
}, Wr = "/api/justauth/client/v1/visitor/sso-param", Kr = "/api/justauth/client/v1/visitor/jmc/sso/status", ke = "thirdLogouSource", Qr = ["zhongshen", "jmc"], Gr = {
|
|
1999
1999
|
uat: "https://sso-uat.jmc.com.cn"
|
|
2000
2000
|
};
|
|
2001
2001
|
let je = "";
|
|
@@ -2006,37 +2006,37 @@ const lt = (e) => {
|
|
|
2006
2006
|
const n = t.toLowerCase();
|
|
2007
2007
|
return n === "undefined" || n === "null" ? "" : t;
|
|
2008
2008
|
}, Be = () => {
|
|
2009
|
-
const e = localStorage.getItem(
|
|
2010
|
-
return e !== null && !t && localStorage.removeItem(
|
|
2011
|
-
},
|
|
2009
|
+
const e = localStorage.getItem(ke), t = lt(e);
|
|
2010
|
+
return e !== null && !t && localStorage.removeItem(ke), t || lt(je);
|
|
2011
|
+
}, zt = (e) => {
|
|
2012
2012
|
const t = ve();
|
|
2013
|
-
return e === "jmc" && t === "das" ? !1 :
|
|
2014
|
-
},
|
|
2015
|
-
je = Be(), localStorage.removeItem(
|
|
2016
|
-
},
|
|
2013
|
+
return e === "jmc" && t === "das" ? !1 : Qr.includes(e);
|
|
2014
|
+
}, Xr = () => zt(Be()), Jt = (e) => {
|
|
2015
|
+
je = Be(), localStorage.removeItem(ke), window.__isAutoCloseApp = !1, location.href = e;
|
|
2016
|
+
}, Yr = (e) => {
|
|
2017
2017
|
Ue();
|
|
2018
2018
|
const n = `https://iam.shenyejituan.com:443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(e)}&entityId=AIoT&redirectToLogin=true`;
|
|
2019
2019
|
Jt(n);
|
|
2020
|
-
},
|
|
2020
|
+
}, Zr = async (e = "") => {
|
|
2021
2021
|
try {
|
|
2022
|
-
const { baseURL: t } =
|
|
2022
|
+
const { baseURL: t } = M();
|
|
2023
2023
|
await g.create().post(
|
|
2024
2024
|
Kr,
|
|
2025
2025
|
{
|
|
2026
2026
|
ssoToken: e,
|
|
2027
2027
|
// 平台退出前已清理本地 token,这里通过 cookie 兜底读取,便于后端定位并清理 cookie token。
|
|
2028
|
-
platformToken:
|
|
2028
|
+
platformToken: B()
|
|
2029
2029
|
},
|
|
2030
2030
|
{ baseURL: t }
|
|
2031
2031
|
);
|
|
2032
2032
|
} catch {
|
|
2033
2033
|
}
|
|
2034
|
-
},
|
|
2034
|
+
}, eo = async () => {
|
|
2035
2035
|
let e = "";
|
|
2036
2036
|
try {
|
|
2037
|
-
const { baseURL:
|
|
2037
|
+
const { baseURL: o } = M();
|
|
2038
2038
|
e = (await g.create().get(Wr, {
|
|
2039
|
-
baseURL:
|
|
2039
|
+
baseURL: o,
|
|
2040
2040
|
params: {
|
|
2041
2041
|
source: "jmc",
|
|
2042
2042
|
fieldKey: "homeUrl"
|
|
@@ -2044,37 +2044,36 @@ const lt = (e) => {
|
|
|
2044
2044
|
})).data || "";
|
|
2045
2045
|
} catch {
|
|
2046
2046
|
}
|
|
2047
|
-
const
|
|
2047
|
+
const t = (() => {
|
|
2048
2048
|
if (!e) return "";
|
|
2049
2049
|
try {
|
|
2050
2050
|
return new URL(e).origin;
|
|
2051
2051
|
} catch {
|
|
2052
2052
|
return "";
|
|
2053
2053
|
}
|
|
2054
|
-
})() ===
|
|
2054
|
+
})(), n = t === Gr.uat ? _e.get("sso_access_token_uat") : _e.get("sso_access_token"), r = `${t}/oauth2/system/auth/logout?sso_token=${n}`;
|
|
2055
2055
|
try {
|
|
2056
|
-
|
|
2057
|
-
await g.create().post(Qr, { ssoToken: n }, { baseURL: r });
|
|
2056
|
+
await g.post(r);
|
|
2058
2057
|
} catch {
|
|
2059
2058
|
}
|
|
2060
|
-
await
|
|
2061
|
-
},
|
|
2059
|
+
await Zr(n), Ue(), Jt(e);
|
|
2060
|
+
}, to = async (e = "") => {
|
|
2062
2061
|
const t = Be();
|
|
2063
|
-
if (
|
|
2062
|
+
if (zt(t)) {
|
|
2064
2063
|
if (je = t, t === "zhongshen") {
|
|
2065
|
-
|
|
2064
|
+
Yr(e);
|
|
2066
2065
|
return;
|
|
2067
2066
|
}
|
|
2068
|
-
t === "jmc" && await
|
|
2067
|
+
t === "jmc" && await eo();
|
|
2069
2068
|
}
|
|
2070
|
-
},
|
|
2069
|
+
}, q = {
|
|
2071
2070
|
oauth: "/api/justauth/oauth-server/v1/visitor/oauth/authorize",
|
|
2072
2071
|
// 重定向到登录页
|
|
2073
2072
|
logoutCurpage: "/api/justauth/oauth-server/v1/visitor/logout-curpage",
|
|
2074
2073
|
// 清除登录信息
|
|
2075
2074
|
token: "/api/justauth/oauth-server/v1/visitor/oauth/token"
|
|
2076
2075
|
// 通过code获取token
|
|
2077
|
-
}, { baseURL: ft, noRedireLogin:
|
|
2076
|
+
}, { baseURL: ft, noRedireLogin: no = !1 } = M(), dt = localStorage.getItem("oauth-redirect_url") || "", L = dt || location.origin + "/home", N = {
|
|
2078
2077
|
response_type: "code",
|
|
2079
2078
|
scope: "sever",
|
|
2080
2079
|
client_id: "sys",
|
|
@@ -2083,7 +2082,7 @@ const lt = (e) => {
|
|
|
2083
2082
|
}, Vt = ne(!1), Wt = (e) => {
|
|
2084
2083
|
if (e <= 0) return;
|
|
2085
2084
|
const { idle: t } = jr(e);
|
|
2086
|
-
|
|
2085
|
+
Pe(
|
|
2087
2086
|
() => t.value,
|
|
2088
2087
|
(n) => {
|
|
2089
2088
|
n === !0 && (Vt.value = !0);
|
|
@@ -2092,12 +2091,12 @@ const lt = (e) => {
|
|
|
2092
2091
|
};
|
|
2093
2092
|
localStorage.getItem("idelTime") && Wt(Number(localStorage.getItem("idelTime")));
|
|
2094
2093
|
let pt = "";
|
|
2095
|
-
const
|
|
2094
|
+
const ro = async () => {
|
|
2096
2095
|
const e = U("code") || "", t = U("redirect_url") || "/", n = U("kingdee_token") || "", r = ve();
|
|
2097
|
-
if (!e) return
|
|
2096
|
+
if (!e) return B();
|
|
2098
2097
|
const o = ["code", "state", "kingdee_token", "redirect_url", "source"];
|
|
2099
2098
|
if (e === pt)
|
|
2100
|
-
return xe(o), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)), localStorage.removeItem("oauth-redirect_url"),
|
|
2099
|
+
return xe(o), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)), localStorage.removeItem("oauth-redirect_url"), B();
|
|
2101
2100
|
pt = e, xe(o);
|
|
2102
2101
|
let s = {};
|
|
2103
2102
|
const i = {
|
|
@@ -2107,16 +2106,16 @@ const oo = async () => {
|
|
|
2107
2106
|
client_secret: N.client_secret,
|
|
2108
2107
|
redirect_uri: r ? Le(L, { loginType: r }) : L,
|
|
2109
2108
|
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
2110
|
-
nonce:
|
|
2109
|
+
nonce: $t()
|
|
2111
2110
|
};
|
|
2112
2111
|
n && (sessionStorage.setItem("kingdee_token", n), i.redirect_uri = `${i.redirect_uri}?kingdee_token=${n}`);
|
|
2113
2112
|
try {
|
|
2114
|
-
await g.create().get(
|
|
2113
|
+
await g.create().get(q.token, { baseURL: ft });
|
|
2115
2114
|
} catch {
|
|
2116
2115
|
}
|
|
2117
2116
|
try {
|
|
2118
2117
|
s = await g.create().post(
|
|
2119
|
-
|
|
2118
|
+
q.token,
|
|
2120
2119
|
{},
|
|
2121
2120
|
{
|
|
2122
2121
|
baseURL: ft,
|
|
@@ -2139,23 +2138,23 @@ const oo = async () => {
|
|
|
2139
2138
|
} catch {
|
|
2140
2139
|
return v({ ...N, redirect_uri: L });
|
|
2141
2140
|
}
|
|
2142
|
-
}, Y = ne(!1),
|
|
2141
|
+
}, Y = ne(!1), Uo = async (e) => {
|
|
2143
2142
|
if (e.public) return "";
|
|
2144
2143
|
if (Vt.value)
|
|
2145
|
-
return we() ?
|
|
2144
|
+
return we() ? B() : v({ ...N, redirect_uri: L });
|
|
2146
2145
|
if (Y.value)
|
|
2147
2146
|
return await new Promise(async (r) => {
|
|
2148
|
-
|
|
2147
|
+
Pe(
|
|
2149
2148
|
() => Y.value,
|
|
2150
2149
|
(o) => {
|
|
2151
2150
|
if (!o) {
|
|
2152
|
-
const s =
|
|
2151
|
+
const s = B();
|
|
2153
2152
|
r(s);
|
|
2154
2153
|
}
|
|
2155
2154
|
}
|
|
2156
2155
|
);
|
|
2157
2156
|
});
|
|
2158
|
-
let t =
|
|
2157
|
+
let t = B();
|
|
2159
2158
|
const { accessTokenExpiredAt: n = 0 } = re().getData();
|
|
2160
2159
|
Y.value = !0;
|
|
2161
2160
|
try {
|
|
@@ -2163,10 +2162,10 @@ const oo = async () => {
|
|
|
2163
2162
|
if ((U("authorizer") || "") === "feishu")
|
|
2164
2163
|
await Vr();
|
|
2165
2164
|
else if (r)
|
|
2166
|
-
t = await
|
|
2165
|
+
t = await ro();
|
|
2167
2166
|
else {
|
|
2168
2167
|
const s = Date.now() + 6e4;
|
|
2169
|
-
n > 0 && s > n && !we() && (t = await
|
|
2168
|
+
n > 0 && s > n && !we() && (t = await oo(N));
|
|
2170
2169
|
}
|
|
2171
2170
|
} catch {
|
|
2172
2171
|
} finally {
|
|
@@ -2176,24 +2175,24 @@ const oo = async () => {
|
|
|
2176
2175
|
};
|
|
2177
2176
|
let ye = !1;
|
|
2178
2177
|
const v = (e) => {
|
|
2179
|
-
if (!
|
|
2178
|
+
if (!no && !ye) {
|
|
2180
2179
|
ye = !0;
|
|
2181
2180
|
try {
|
|
2182
2181
|
const t = { ...e }, n = ve();
|
|
2183
2182
|
n && (t.redirect_uri = Le(t.redirect_uri, { loginType: n }));
|
|
2184
|
-
const { baseURL: r, ssoLocale: o } =
|
|
2183
|
+
const { baseURL: r, ssoLocale: o } = M();
|
|
2185
2184
|
if (Ce) return Ce(t);
|
|
2186
2185
|
t.logout = "true", o && (t.locale = "locale");
|
|
2187
2186
|
const s = new URLSearchParams();
|
|
2188
2187
|
Object.entries(t).forEach(([f, l]) => {
|
|
2189
2188
|
f !== "client_secret" && s.set(f, String(l));
|
|
2190
2189
|
});
|
|
2191
|
-
const i = s.toString(), a = `${r}${
|
|
2192
|
-
if (
|
|
2193
|
-
|
|
2190
|
+
const i = s.toString(), a = `${r}${q.oauth}?${i}`;
|
|
2191
|
+
if (Xr())
|
|
2192
|
+
to(a);
|
|
2194
2193
|
else {
|
|
2195
2194
|
try {
|
|
2196
|
-
g.create().get(
|
|
2195
|
+
g.create().get(q.logoutCurpage, { baseURL: r });
|
|
2197
2196
|
} catch {
|
|
2198
2197
|
}
|
|
2199
2198
|
Ue(), window.__isAutoCloseApp = !1, location.replace(a);
|
|
@@ -2204,16 +2203,16 @@ const v = (e) => {
|
|
|
2204
2203
|
}
|
|
2205
2204
|
};
|
|
2206
2205
|
Jr(v);
|
|
2207
|
-
const
|
|
2206
|
+
const oo = async (e) => {
|
|
2208
2207
|
if (we()) return "";
|
|
2209
|
-
const { baseURL: t } =
|
|
2208
|
+
const { baseURL: t } = M(), { refreshToken: n } = re().getData();
|
|
2210
2209
|
try {
|
|
2211
|
-
await g.create().get(
|
|
2210
|
+
await g.create().get(q.token, { baseURL: t });
|
|
2212
2211
|
} catch {
|
|
2213
2212
|
}
|
|
2214
2213
|
try {
|
|
2215
2214
|
const r = await g.create().post(
|
|
2216
|
-
|
|
2215
|
+
q.token,
|
|
2217
2216
|
{},
|
|
2218
2217
|
{
|
|
2219
2218
|
baseURL: t,
|
|
@@ -2223,7 +2222,7 @@ const so = async (e) => {
|
|
|
2223
2222
|
client_id: e.client_id,
|
|
2224
2223
|
client_secret: e.client_secret,
|
|
2225
2224
|
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
2226
|
-
nonce:
|
|
2225
|
+
nonce: $t()
|
|
2227
2226
|
}
|
|
2228
2227
|
}
|
|
2229
2228
|
), { access_token: o = "", refresh_token: s = "", exp: i = 0 } = r.data, a = {
|
|
@@ -2240,11 +2239,11 @@ const so = async (e) => {
|
|
|
2240
2239
|
export {
|
|
2241
2240
|
ve as getLoginType,
|
|
2242
2241
|
U as getQuery,
|
|
2243
|
-
|
|
2244
|
-
|
|
2242
|
+
Uo as getToken,
|
|
2243
|
+
ro as getTokenFromCode,
|
|
2245
2244
|
N as getTokenParams,
|
|
2246
2245
|
v as login,
|
|
2247
2246
|
L as real_uri,
|
|
2248
|
-
|
|
2249
|
-
|
|
2247
|
+
oo as refreshToken,
|
|
2248
|
+
Io as tokenStorage
|
|
2250
2249
|
};
|