@das-fed/utils 7.0.7-hot.71 → 7.0.7-hot.73
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 +892 -910
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +154 -154
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +1116 -1098
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +1119 -1101
- 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 +847 -861
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +184 -184
- 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 +694 -712
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +710 -728
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +725 -743
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +197 -197
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +184 -184
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +739 -743
- 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 +708 -726
- 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 +139 -138
- package/create-api-service/sso/index.js.gz +0 -0
- package/create-api-service/thirdLogout/index.js +190 -189
- 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 ke } 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 j } from "@das-fed/utils/config";
|
|
4
|
+
import { clearPlatformAuthStorage as Ue, getAccessToken as q, tokenStorage as re } from "@das-fed/utils/token-tools";
|
|
5
|
+
import { tokenStorage as Fo } 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
|
+
}, Pn = (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
|
+
}, kn = () => {
|
|
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: Pn,
|
|
233
233
|
toCamelCase: An,
|
|
234
|
-
noop:
|
|
234
|
+
noop: kn,
|
|
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, P) {
|
|
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], P, 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 ze(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, ze);
|
|
402
|
+
} : ze;
|
|
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 $e {
|
|
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, zn = typeof FormData < "u" ? FormData : null, $n = typeof Blob < "u" ? Blob : null, Jn = {
|
|
484
484
|
isBrowser: !0,
|
|
485
485
|
classes: {
|
|
486
486
|
URLSearchParams: Hn,
|
|
487
|
-
FormData:
|
|
488
|
-
Blob:
|
|
487
|
+
FormData: zn,
|
|
488
|
+
Blob: $n
|
|
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 Pt(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(Pt(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 $(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 = $(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 = $(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 = $(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 = $(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 = $(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 kt(e) {
|
|
826
826
|
return !!(e && e.__CANCEL__);
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function z(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(z, 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 B(e, t) {
|
|
944
944
|
t = t || {};
|
|
945
945
|
const n = {};
|
|
946
946
|
function r(l, u, d, m) {
|
|
@@ -1005,7 +1005,7 @@ function j(e, t) {
|
|
|
1005
1005
|
}), n;
|
|
1006
1006
|
}
|
|
1007
1007
|
const Nt = (e) => {
|
|
1008
|
-
const t =
|
|
1008
|
+
const t = B({}, 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 P = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1066
1066
|
const O = o.transitional || xt;
|
|
1067
|
-
o.timeoutErrorMessage && (
|
|
1068
|
-
|
|
1067
|
+
o.timeoutErrorMessage && (P = o.timeoutErrorMessage), r(new w(
|
|
1068
|
+
P,
|
|
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(P, O) {
|
|
1074
|
+
h.setRequestHeader(O, P);
|
|
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 z(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 z(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
|
+
}), k;
|
|
1236
|
+
if (c.isFormData(r) && (k = O.headers.get("content-type")) && u.setContentType(k), 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 k = c.toFiniteNumber(R.headers.get("content-length")), [I, G] = a && Ve(
|
|
1263
|
+
k,
|
|
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 P = await se[c.findKey(se, l) || "text"](R, e);
|
|
1275
|
+
return !E && y && y(), await new Promise((O, k) => {
|
|
1276
|
+
Ut(O, k, {
|
|
1277
|
+
data: P,
|
|
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 z(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 kt(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 $e(),
|
|
1408
|
+
response: new $e()
|
|
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 = B(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 = B(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(B(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(B(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 z(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(B(e, o));
|
|
1681
1681
|
}, n;
|
|
1682
1682
|
}
|
|
1683
1683
|
const g = Bt(Q);
|
|
1684
1684
|
g.Axios = D;
|
|
1685
|
-
g.CanceledError =
|
|
1685
|
+
g.CanceledError = z;
|
|
1686
1686
|
g.CancelToken = Ar;
|
|
1687
|
-
g.isCancel =
|
|
1687
|
+
g.isCancel = kt;
|
|
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 = B;
|
|
1698
1698
|
g.AxiosHeaders = A;
|
|
1699
|
-
g.formToJSON = (e) =>
|
|
1699
|
+
g.formToJSON = (e) => Pt(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: yo,
|
|
1705
|
+
AxiosError: wo,
|
|
1706
|
+
CanceledError: go,
|
|
1707
|
+
isCancel: bo,
|
|
1708
|
+
CancelToken: So,
|
|
1709
|
+
VERSION: Ro,
|
|
1710
|
+
all: Eo,
|
|
1711
|
+
Cancel: To,
|
|
1712
|
+
isAxiosError: Oo,
|
|
1713
|
+
spread: _o,
|
|
1714
|
+
toFormData: Ao,
|
|
1715
|
+
AxiosHeaders: Co,
|
|
1716
|
+
HttpStatusCode: xo,
|
|
1717
|
+
formToJSON: Po,
|
|
1718
1718
|
getAdapter: ko,
|
|
1719
|
-
mergeConfig:
|
|
1719
|
+
mergeConfig: Uo
|
|
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 Pr = {
|
|
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(Pr, { path: "/" }), et;
|
|
1792
|
+
const qt = typeof window < "u", kr = (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 (kr(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 = ke(() => [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 zr = {
|
|
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 $r = {
|
|
|
1908
1908
|
};
|
|
1909
1909
|
Hr({
|
|
1910
1910
|
linear: Nr
|
|
1911
|
-
},
|
|
1911
|
+
}, zr);
|
|
1912
1912
|
let Ce;
|
|
1913
|
-
const Ht = { triggerProxySso: "triggerProxySso" },
|
|
1913
|
+
const Ht = { triggerProxySso: "triggerProxySso" }, $r = () => {
|
|
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" }, zr = () => {
|
|
|
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 && $r();
|
|
1929
|
+
let zt = (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 } = j(), 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", Qr = "/api/justauth/client/v1/visitor/jmc/sso/logout", Pe = "thirdLogouSource", Gr = ["zhongshen", "jmc"], Xr = {
|
|
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(Pe), t = lt(e);
|
|
2010
|
+
return e !== null && !t && localStorage.removeItem(Pe), t || lt(je);
|
|
2011
|
+
}, $t = (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 : Gr.includes(e);
|
|
2014
|
+
}, Yr = () => $t(Be()), Jt = (e) => {
|
|
2015
|
+
je = Be(), localStorage.removeItem(Pe), window.__isAutoCloseApp = !1, location.href = e;
|
|
2016
|
+
}, Zr = (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
|
+
}, eo = async (e = "") => {
|
|
2021
2021
|
try {
|
|
2022
|
-
const { baseURL: t } =
|
|
2022
|
+
const { baseURL: t } = j();
|
|
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: q()
|
|
2029
2029
|
},
|
|
2030
2030
|
{ baseURL: t }
|
|
2031
2031
|
);
|
|
2032
2032
|
} catch {
|
|
2033
2033
|
}
|
|
2034
|
-
},
|
|
2034
|
+
}, to = async () => {
|
|
2035
2035
|
let e = "";
|
|
2036
2036
|
try {
|
|
2037
|
-
const { baseURL:
|
|
2037
|
+
const { baseURL: r } = j();
|
|
2038
2038
|
e = (await g.create().get(Wr, {
|
|
2039
|
-
baseURL:
|
|
2039
|
+
baseURL: r,
|
|
2040
2040
|
params: {
|
|
2041
2041
|
source: "jmc",
|
|
2042
2042
|
fieldKey: "homeUrl"
|
|
@@ -2044,36 +2044,37 @@ const lt = (e) => {
|
|
|
2044
2044
|
})).data || "";
|
|
2045
2045
|
} catch {
|
|
2046
2046
|
}
|
|
2047
|
-
const
|
|
2047
|
+
const n = (() => {
|
|
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
|
+
})() === Xr.uat ? _e.get("sso_access_token_uat") : _e.get("sso_access_token");
|
|
2055
2055
|
try {
|
|
2056
|
-
|
|
2056
|
+
const { baseURL: r } = j();
|
|
2057
|
+
await g.create().post(Qr, { ssoToken: n }, { baseURL: r });
|
|
2057
2058
|
} catch {
|
|
2058
2059
|
}
|
|
2059
|
-
await
|
|
2060
|
-
},
|
|
2060
|
+
await eo(n), Ue(), Jt(e);
|
|
2061
|
+
}, no = async (e = "") => {
|
|
2061
2062
|
const t = Be();
|
|
2062
|
-
if (
|
|
2063
|
+
if ($t(t)) {
|
|
2063
2064
|
if (je = t, t === "zhongshen") {
|
|
2064
|
-
|
|
2065
|
+
Zr(e);
|
|
2065
2066
|
return;
|
|
2066
2067
|
}
|
|
2067
|
-
t === "jmc" && await
|
|
2068
|
+
t === "jmc" && await to();
|
|
2068
2069
|
}
|
|
2069
|
-
},
|
|
2070
|
+
}, M = {
|
|
2070
2071
|
oauth: "/api/justauth/oauth-server/v1/visitor/oauth/authorize",
|
|
2071
2072
|
// 重定向到登录页
|
|
2072
2073
|
logoutCurpage: "/api/justauth/oauth-server/v1/visitor/logout-curpage",
|
|
2073
2074
|
// 清除登录信息
|
|
2074
2075
|
token: "/api/justauth/oauth-server/v1/visitor/oauth/token"
|
|
2075
2076
|
// 通过code获取token
|
|
2076
|
-
}, { baseURL: ft, noRedireLogin:
|
|
2077
|
+
}, { baseURL: ft, noRedireLogin: ro = !1 } = j(), dt = localStorage.getItem("oauth-redirect_url") || "", L = dt || location.origin + "/home", N = {
|
|
2077
2078
|
response_type: "code",
|
|
2078
2079
|
scope: "sever",
|
|
2079
2080
|
client_id: "sys",
|
|
@@ -2082,7 +2083,7 @@ const lt = (e) => {
|
|
|
2082
2083
|
}, Vt = ne(!1), Wt = (e) => {
|
|
2083
2084
|
if (e <= 0) return;
|
|
2084
2085
|
const { idle: t } = jr(e);
|
|
2085
|
-
|
|
2086
|
+
ke(
|
|
2086
2087
|
() => t.value,
|
|
2087
2088
|
(n) => {
|
|
2088
2089
|
n === !0 && (Vt.value = !0);
|
|
@@ -2091,12 +2092,12 @@ const lt = (e) => {
|
|
|
2091
2092
|
};
|
|
2092
2093
|
localStorage.getItem("idelTime") && Wt(Number(localStorage.getItem("idelTime")));
|
|
2093
2094
|
let pt = "";
|
|
2094
|
-
const
|
|
2095
|
+
const oo = async () => {
|
|
2095
2096
|
const e = U("code") || "", t = U("redirect_url") || "/", n = U("kingdee_token") || "", r = ve();
|
|
2096
|
-
if (!e) return
|
|
2097
|
+
if (!e) return q();
|
|
2097
2098
|
const o = ["code", "state", "kingdee_token", "redirect_url", "source"];
|
|
2098
2099
|
if (e === pt)
|
|
2099
|
-
return xe(o), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)), localStorage.removeItem("oauth-redirect_url"),
|
|
2100
|
+
return xe(o), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)), localStorage.removeItem("oauth-redirect_url"), q();
|
|
2100
2101
|
pt = e, xe(o);
|
|
2101
2102
|
let s = {};
|
|
2102
2103
|
const i = {
|
|
@@ -2106,16 +2107,16 @@ const ro = async () => {
|
|
|
2106
2107
|
client_secret: N.client_secret,
|
|
2107
2108
|
redirect_uri: r ? Le(L, { loginType: r }) : L,
|
|
2108
2109
|
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
2109
|
-
nonce:
|
|
2110
|
+
nonce: zt()
|
|
2110
2111
|
};
|
|
2111
2112
|
n && (sessionStorage.setItem("kingdee_token", n), i.redirect_uri = `${i.redirect_uri}?kingdee_token=${n}`);
|
|
2112
2113
|
try {
|
|
2113
|
-
await g.create().get(
|
|
2114
|
+
await g.create().get(M.token, { baseURL: ft });
|
|
2114
2115
|
} catch {
|
|
2115
2116
|
}
|
|
2116
2117
|
try {
|
|
2117
2118
|
s = await g.create().post(
|
|
2118
|
-
|
|
2119
|
+
M.token,
|
|
2119
2120
|
{},
|
|
2120
2121
|
{
|
|
2121
2122
|
baseURL: ft,
|
|
@@ -2138,23 +2139,23 @@ const ro = async () => {
|
|
|
2138
2139
|
} catch {
|
|
2139
2140
|
return v({ ...N, redirect_uri: L });
|
|
2140
2141
|
}
|
|
2141
|
-
}, Y = ne(!1),
|
|
2142
|
+
}, Y = ne(!1), Lo = async (e) => {
|
|
2142
2143
|
if (e.public) return "";
|
|
2143
2144
|
if (Vt.value)
|
|
2144
|
-
return we() ?
|
|
2145
|
+
return we() ? q() : v({ ...N, redirect_uri: L });
|
|
2145
2146
|
if (Y.value)
|
|
2146
2147
|
return await new Promise(async (r) => {
|
|
2147
|
-
|
|
2148
|
+
ke(
|
|
2148
2149
|
() => Y.value,
|
|
2149
2150
|
(o) => {
|
|
2150
2151
|
if (!o) {
|
|
2151
|
-
const s =
|
|
2152
|
+
const s = q();
|
|
2152
2153
|
r(s);
|
|
2153
2154
|
}
|
|
2154
2155
|
}
|
|
2155
2156
|
);
|
|
2156
2157
|
});
|
|
2157
|
-
let t =
|
|
2158
|
+
let t = q();
|
|
2158
2159
|
const { accessTokenExpiredAt: n = 0 } = re().getData();
|
|
2159
2160
|
Y.value = !0;
|
|
2160
2161
|
try {
|
|
@@ -2162,10 +2163,10 @@ const ro = async () => {
|
|
|
2162
2163
|
if ((U("authorizer") || "") === "feishu")
|
|
2163
2164
|
await Vr();
|
|
2164
2165
|
else if (r)
|
|
2165
|
-
t = await
|
|
2166
|
+
t = await oo();
|
|
2166
2167
|
else {
|
|
2167
2168
|
const s = Date.now() + 6e4;
|
|
2168
|
-
n > 0 && s > n && !we() && (t = await
|
|
2169
|
+
n > 0 && s > n && !we() && (t = await so(N));
|
|
2169
2170
|
}
|
|
2170
2171
|
} catch {
|
|
2171
2172
|
} finally {
|
|
@@ -2175,24 +2176,24 @@ const ro = async () => {
|
|
|
2175
2176
|
};
|
|
2176
2177
|
let ye = !1;
|
|
2177
2178
|
const v = (e) => {
|
|
2178
|
-
if (!
|
|
2179
|
+
if (!ro && !ye) {
|
|
2179
2180
|
ye = !0;
|
|
2180
2181
|
try {
|
|
2181
2182
|
const t = { ...e }, n = ve();
|
|
2182
2183
|
n && (t.redirect_uri = Le(t.redirect_uri, { loginType: n }));
|
|
2183
|
-
const { baseURL: r, ssoLocale: o } =
|
|
2184
|
+
const { baseURL: r, ssoLocale: o } = j();
|
|
2184
2185
|
if (Ce) return Ce(t);
|
|
2185
2186
|
t.logout = "true", o && (t.locale = "locale");
|
|
2186
2187
|
const s = new URLSearchParams();
|
|
2187
2188
|
Object.entries(t).forEach(([f, l]) => {
|
|
2188
2189
|
f !== "client_secret" && s.set(f, String(l));
|
|
2189
2190
|
});
|
|
2190
|
-
const i = s.toString(), a = `${r}${
|
|
2191
|
-
if (
|
|
2192
|
-
|
|
2191
|
+
const i = s.toString(), a = `${r}${M.oauth}?${i}`;
|
|
2192
|
+
if (Yr())
|
|
2193
|
+
no(a);
|
|
2193
2194
|
else {
|
|
2194
2195
|
try {
|
|
2195
|
-
g.create().get(
|
|
2196
|
+
g.create().get(M.logoutCurpage, { baseURL: r });
|
|
2196
2197
|
} catch {
|
|
2197
2198
|
}
|
|
2198
2199
|
Ue(), window.__isAutoCloseApp = !1, location.replace(a);
|
|
@@ -2203,16 +2204,16 @@ const v = (e) => {
|
|
|
2203
2204
|
}
|
|
2204
2205
|
};
|
|
2205
2206
|
Jr(v);
|
|
2206
|
-
const
|
|
2207
|
+
const so = async (e) => {
|
|
2207
2208
|
if (we()) return "";
|
|
2208
|
-
const { baseURL: t } =
|
|
2209
|
+
const { baseURL: t } = j(), { refreshToken: n } = re().getData();
|
|
2209
2210
|
try {
|
|
2210
|
-
await g.create().get(
|
|
2211
|
+
await g.create().get(M.token, { baseURL: t });
|
|
2211
2212
|
} catch {
|
|
2212
2213
|
}
|
|
2213
2214
|
try {
|
|
2214
2215
|
const r = await g.create().post(
|
|
2215
|
-
|
|
2216
|
+
M.token,
|
|
2216
2217
|
{},
|
|
2217
2218
|
{
|
|
2218
2219
|
baseURL: t,
|
|
@@ -2222,7 +2223,7 @@ const oo = async (e) => {
|
|
|
2222
2223
|
client_id: e.client_id,
|
|
2223
2224
|
client_secret: e.client_secret,
|
|
2224
2225
|
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
2225
|
-
nonce:
|
|
2226
|
+
nonce: zt()
|
|
2226
2227
|
}
|
|
2227
2228
|
}
|
|
2228
2229
|
), { access_token: o = "", refresh_token: s = "", exp: i = 0 } = r.data, a = {
|
|
@@ -2239,11 +2240,11 @@ const oo = async (e) => {
|
|
|
2239
2240
|
export {
|
|
2240
2241
|
ve as getLoginType,
|
|
2241
2242
|
U as getQuery,
|
|
2242
|
-
|
|
2243
|
-
|
|
2243
|
+
Lo as getToken,
|
|
2244
|
+
oo as getTokenFromCode,
|
|
2244
2245
|
N as getTokenParams,
|
|
2245
2246
|
v as login,
|
|
2246
2247
|
L as real_uri,
|
|
2247
|
-
|
|
2248
|
-
|
|
2248
|
+
so as refreshToken,
|
|
2249
|
+
Fo as tokenStorage
|
|
2249
2250
|
};
|