@das-fed/web 7.0.5-beta.5 → 7.0.5-beta.6
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/{index-DR3uBgpB.js → index-BAO19_Z2.js} +61 -64
- package/{index-DR3uBgpB.js.gz → index-BAO19_Z2.js.gz} +0 -0
- package/{index-CS4TDwjK.js → index-BPHGG4RF.js} +23 -23
- package/index-BPHGG4RF.js.gz +0 -0
- package/{packages/main-app-framework/index-BVb7FYr2.js → index-DVWQWGbt.js} +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/{index-C--bYRFd.js → index-CcFYXrxm.js} +61 -64
- package/packages/main-app-framework/{index-C--bYRFd.js.gz → index-CcFYXrxm.js.gz} +0 -0
- package/{index-CuLFp80h.js → packages/main-app-framework/index-CeQSQHR9.js} +1 -1
- package/packages/main-app-framework/{index-B-D3C-lz.js → index-CtAUh9Uf.js} +23 -23
- package/packages/main-app-framework/index-CtAUh9Uf.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/index-CS4TDwjK.js.gz +0 -0
- package/packages/main-app-framework/index-B-D3C-lz.js.gz +0 -0
|
@@ -9069,8 +9069,8 @@ mv.exports;
|
|
|
9069
9069
|
}
|
|
9070
9070
|
function Q5(M, Y, G, qA) {
|
|
9071
9071
|
for (var TA = -1, QA = M == null ? 0 : M.length; ++TA < QA; ) {
|
|
9072
|
-
var
|
|
9073
|
-
Y(qA,
|
|
9072
|
+
var s9 = M[TA];
|
|
9073
|
+
Y(qA, s9, G(s9), M);
|
|
9074
9074
|
}
|
|
9075
9075
|
return qA;
|
|
9076
9076
|
}
|
|
@@ -9092,8 +9092,8 @@ mv.exports;
|
|
|
9092
9092
|
}
|
|
9093
9093
|
function de(M, Y) {
|
|
9094
9094
|
for (var G = -1, qA = M == null ? 0 : M.length, TA = 0, QA = []; ++G < qA; ) {
|
|
9095
|
-
var
|
|
9096
|
-
Y(
|
|
9095
|
+
var s9 = M[G];
|
|
9096
|
+
Y(s9, G, M) && (QA[TA++] = s9);
|
|
9097
9097
|
}
|
|
9098
9098
|
return QA;
|
|
9099
9099
|
}
|
|
@@ -9144,8 +9144,8 @@ mv.exports;
|
|
|
9144
9144
|
}
|
|
9145
9145
|
function PP(M, Y, G) {
|
|
9146
9146
|
var qA;
|
|
9147
|
-
return G(M, function(TA, QA,
|
|
9148
|
-
if (Y(TA, QA,
|
|
9147
|
+
return G(M, function(TA, QA, s9) {
|
|
9148
|
+
if (Y(TA, QA, s9))
|
|
9149
9149
|
return qA = QA, !1;
|
|
9150
9150
|
}), qA;
|
|
9151
9151
|
}
|
|
@@ -9182,8 +9182,8 @@ mv.exports;
|
|
|
9182
9182
|
};
|
|
9183
9183
|
}
|
|
9184
9184
|
function zP(M, Y, G, qA, TA) {
|
|
9185
|
-
return TA(M, function(QA,
|
|
9186
|
-
G = qA ? (qA = !1, QA) : Y(G, QA,
|
|
9185
|
+
return TA(M, function(QA, s9, CA) {
|
|
9186
|
+
G = qA ? (qA = !1, QA) : Y(G, QA, s9, CA);
|
|
9187
9187
|
}), G;
|
|
9188
9188
|
}
|
|
9189
9189
|
function _5(M, Y) {
|
|
@@ -9271,8 +9271,8 @@ mv.exports;
|
|
|
9271
9271
|
}
|
|
9272
9272
|
function Xe(M, Y) {
|
|
9273
9273
|
for (var G = -1, qA = M.length, TA = 0, QA = []; ++G < qA; ) {
|
|
9274
|
-
var
|
|
9275
|
-
(
|
|
9274
|
+
var s9 = M[G];
|
|
9275
|
+
(s9 === Y || s9 === c) && (M[G] = c, QA[TA++] = G);
|
|
9276
9276
|
}
|
|
9277
9277
|
return QA;
|
|
9278
9278
|
}
|
|
@@ -9325,7 +9325,7 @@ mv.exports;
|
|
|
9325
9325
|
}
|
|
9326
9326
|
var az = function M(Y) {
|
|
9327
9327
|
Y = Y == null ? T9 : f3.defaults(T9.Object(), Y, f3.pick(T9, E5));
|
|
9328
|
-
var G = Y.Array, qA = Y.Date, TA = Y.Error, QA = Y.Function,
|
|
9328
|
+
var G = Y.Array, qA = Y.Date, TA = Y.Error, QA = Y.Function, s9 = Y.Math, CA = Y.Object, un = Y.RegExp, iz = Y.String, sf = Y.TypeError, T7 = G.prototype, qz = QA.prototype, e3 = CA.prototype, D7 = Y["__core-js_shared__"], j7 = qz.toString, hA = e3.hasOwnProperty, sz = 0, qP = function() {
|
|
9329
9329
|
var A = /[^.]+$/.exec(D7 && D7.keys && D7.keys.IE_PROTO || "");
|
|
9330
9330
|
return A ? "Symbol(src)_1." + A : "";
|
|
9331
9331
|
}(), y7 = e3.toString, pz = j7.call(CA), lz = T9._, Hz = un(
|
|
@@ -9336,7 +9336,7 @@ mv.exports;
|
|
|
9336
9336
|
return A({}, "", {}), A;
|
|
9337
9337
|
} catch {
|
|
9338
9338
|
}
|
|
9339
|
-
}(), mz = Y.clearTimeout !== T9.clearTimeout && Y.clearTimeout, Oz = qA && qA.now !== T9.Date.now && qA.now, Vz = Y.setTimeout !== T9.setTimeout && Y.setTimeout, I7 =
|
|
9339
|
+
}(), mz = Y.clearTimeout !== T9.clearTimeout && Y.clearTimeout, Oz = qA && qA.now !== T9.Date.now && qA.now, Vz = Y.setTimeout !== T9.setTimeout && Y.setTimeout, I7 = s9.ceil, M7 = s9.floor, dn = CA.getOwnPropertySymbols, xz = L7 ? L7.isBuffer : e, mP = Y.isFinite, Rz = T7.join, Nz = aP(CA.keys, CA), p9 = s9.max, L9 = s9.min, Zz = qA.now, Tz = Y.parseInt, OP = s9.random, Dz = T7.reverse, zn = Ze(Y, "DataView"), w3 = Ze(Y, "Map"), Xn = Ze(Y, "Promise"), v3 = Ze(Y, "Set"), E3 = Ze(Y, "WeakMap"), I3 = Ze(CA, "create"), k7 = E3 && new E3(), n3 = {}, jz = Te(zn), yz = Te(w3), Lz = Te(Xn), Wz = Te(v3), oz = Te(E3), g7 = be ? be.prototype : e, M3 = g7 ? g7.valueOf : e, VP = g7 ? g7.toString : e;
|
|
9340
9340
|
function R(A) {
|
|
9341
9341
|
if (z9(A) && !jA(A) && !(A instanceof kA)) {
|
|
9342
9342
|
if (A instanceof pf)
|
|
@@ -9784,7 +9784,7 @@ mv.exports;
|
|
|
9784
9784
|
return A != null && f in CA(A);
|
|
9785
9785
|
}
|
|
9786
9786
|
function i8(A, f, r) {
|
|
9787
|
-
return A >= L9(f, r) && A <
|
|
9787
|
+
return A >= L9(f, r) && A < p9(f, r);
|
|
9788
9788
|
}
|
|
9789
9789
|
function pn(A, f, r) {
|
|
9790
9790
|
for (var X = r ? $v : R7, p = A[0].length, Z = A.length, W = Z, I = G(Z), k = 1 / 0, C = []; W--; ) {
|
|
@@ -10016,7 +10016,7 @@ mv.exports;
|
|
|
10016
10016
|
return A + M7(OP() * (f - A + 1));
|
|
10017
10017
|
}
|
|
10018
10018
|
function T8(A, f, r, X) {
|
|
10019
|
-
for (var p = -1, Z =
|
|
10019
|
+
for (var p = -1, Z = p9(I7((f - A) / (r || 1)), 0), W = G(Z); Z--; )
|
|
10020
10020
|
W[X ? Z : ++p] = A, A += r;
|
|
10021
10021
|
return W;
|
|
10022
10022
|
}
|
|
@@ -10250,7 +10250,7 @@ mv.exports;
|
|
|
10250
10250
|
return A.index - f.index;
|
|
10251
10251
|
}
|
|
10252
10252
|
function $P(A, f, r, X) {
|
|
10253
|
-
for (var p = -1, Z = A.length, W = r.length, I = -1, k = f.length, C =
|
|
10253
|
+
for (var p = -1, Z = A.length, W = r.length, I = -1, k = f.length, C = p9(Z - W, 0), $ = G(k + C), rA = !X; ++I < k; )
|
|
10254
10254
|
$[I] = f[I];
|
|
10255
10255
|
for (; ++p < W; )
|
|
10256
10256
|
(rA || p < Z) && ($[r[p]] = A[p]);
|
|
@@ -10259,7 +10259,7 @@ mv.exports;
|
|
|
10259
10259
|
return $;
|
|
10260
10260
|
}
|
|
10261
10261
|
function Au(A, f, r, X) {
|
|
10262
|
-
for (var p = -1, Z = A.length, W = -1, I = r.length, k = -1, C = f.length, $ =
|
|
10262
|
+
for (var p = -1, Z = A.length, W = -1, I = r.length, k = -1, C = f.length, $ = p9(Z - I, 0), rA = G($ + C), aA = !X; ++p < $; )
|
|
10263
10263
|
rA[p] = A[p];
|
|
10264
10264
|
for (var lA = p; ++k < C; )
|
|
10265
10265
|
rA[lA + k] = f[k];
|
|
@@ -10534,7 +10534,7 @@ mv.exports;
|
|
|
10534
10534
|
return kn(A) && Hu(RA, oA), RA.placeholder = X, mu(RA, A, f);
|
|
10535
10535
|
}
|
|
10536
10536
|
function Ln(A) {
|
|
10537
|
-
var f =
|
|
10537
|
+
var f = s9[A];
|
|
10538
10538
|
return function(r, X) {
|
|
10539
10539
|
if (r = Of(r), X = X == null ? 0 : L9(WA(X), 292), X && mP(r)) {
|
|
10540
10540
|
var p = (KA(r) + "e").split("e"), Z = f(p[0] + "e" + (+p[1] + X));
|
|
@@ -10557,7 +10557,7 @@ mv.exports;
|
|
|
10557
10557
|
if (!k && typeof A != "function")
|
|
10558
10558
|
throw new sf(z);
|
|
10559
10559
|
var C = X ? X.length : 0;
|
|
10560
|
-
if (C || (f &= -97, X = p = e), W = W === e ? W :
|
|
10560
|
+
if (C || (f &= -97, X = p = e), W = W === e ? W : p9(WA(W), 0), I = I === e ? I : WA(I), C -= p ? p.length : 0, f & w) {
|
|
10561
10561
|
var $ = X, rA = p;
|
|
10562
10562
|
X = p = e;
|
|
10563
10563
|
}
|
|
@@ -10573,7 +10573,7 @@ mv.exports;
|
|
|
10573
10573
|
W,
|
|
10574
10574
|
I
|
|
10575
10575
|
];
|
|
10576
|
-
if (aA && rX(lA, aA), A = lA[0], f = lA[1], r = lA[2], X = lA[3], p = lA[4], I = lA[9] = lA[9] === e ? k ? 0 : A.length :
|
|
10576
|
+
if (aA && rX(lA, aA), A = lA[0], f = lA[1], r = lA[2], X = lA[3], p = lA[4], I = lA[9] = lA[9] === e ? k ? 0 : A.length : p9(lA[9] - C, 0), !I && f & (V | N) && (f &= -25), !f || f == H)
|
|
10577
10577
|
var xA = J8(A, f, r);
|
|
10578
10578
|
else f == V || f == N ? xA = B8(A, f, I) : (f == D || f == (H | D)) && !p.length ? xA = U8(A, f, r, X) : xA = h7.apply(e, lA);
|
|
10579
10579
|
var oA = aA ? UP : Hu;
|
|
@@ -10780,7 +10780,7 @@ mv.exports;
|
|
|
10780
10780
|
f = L9(f, A + W);
|
|
10781
10781
|
break;
|
|
10782
10782
|
case "takeRight":
|
|
10783
|
-
A =
|
|
10783
|
+
A = p9(A, f - W);
|
|
10784
10784
|
break;
|
|
10785
10785
|
}
|
|
10786
10786
|
}
|
|
@@ -10926,8 +10926,8 @@ mv.exports;
|
|
|
10926
10926
|
return y7.call(A);
|
|
10927
10927
|
}
|
|
10928
10928
|
function pu(A, f, r) {
|
|
10929
|
-
return f =
|
|
10930
|
-
for (var X = arguments, p = -1, Z =
|
|
10929
|
+
return f = p9(f === e ? A.length - 1 : f, 0), function() {
|
|
10930
|
+
for (var X = arguments, p = -1, Z = p9(X.length - f, 0), W = G(Z); ++p < Z; )
|
|
10931
10931
|
W[p] = X[f + p];
|
|
10932
10932
|
p = -1;
|
|
10933
10933
|
for (var I = G(f + 1); ++p < f; )
|
|
@@ -11014,7 +11014,7 @@ mv.exports;
|
|
|
11014
11014
|
return f.__actions__ = F9(A.__actions__), f.__index__ = A.__index__, f.__values__ = A.__values__, f;
|
|
11015
11015
|
}
|
|
11016
11016
|
function zX(A, f, r) {
|
|
11017
|
-
(r ? B9(A, f, r) : f === e) ? f = 1 : f =
|
|
11017
|
+
(r ? B9(A, f, r) : f === e) ? f = 1 : f = p9(WA(f), 0);
|
|
11018
11018
|
var X = A == null ? 0 : A.length;
|
|
11019
11019
|
if (!X || f < 1)
|
|
11020
11020
|
return [];
|
|
@@ -11069,14 +11069,14 @@ mv.exports;
|
|
|
11069
11069
|
if (!X)
|
|
11070
11070
|
return -1;
|
|
11071
11071
|
var p = r == null ? 0 : WA(r);
|
|
11072
|
-
return p < 0 && (p =
|
|
11072
|
+
return p < 0 && (p = p9(X + p, 0)), N7(A, VA(f, 3), p);
|
|
11073
11073
|
}
|
|
11074
11074
|
function Nu(A, f, r) {
|
|
11075
11075
|
var X = A == null ? 0 : A.length;
|
|
11076
11076
|
if (!X)
|
|
11077
11077
|
return -1;
|
|
11078
11078
|
var p = X - 1;
|
|
11079
|
-
return r !== e && (p = WA(r), p = r < 0 ?
|
|
11079
|
+
return r !== e && (p = WA(r), p = r < 0 ? p9(X + p, 0) : L9(p, X - 1)), N7(A, VA(f, 3), p, !0);
|
|
11080
11080
|
}
|
|
11081
11081
|
function Zu(A) {
|
|
11082
11082
|
var f = A == null ? 0 : A.length;
|
|
@@ -11105,7 +11105,7 @@ mv.exports;
|
|
|
11105
11105
|
if (!X)
|
|
11106
11106
|
return -1;
|
|
11107
11107
|
var p = r == null ? 0 : WA(r);
|
|
11108
|
-
return p < 0 && (p =
|
|
11108
|
+
return p < 0 && (p = p9(X + p, 0)), _e(A, f, p);
|
|
11109
11109
|
}
|
|
11110
11110
|
function RX(A) {
|
|
11111
11111
|
var f = A == null ? 0 : A.length;
|
|
@@ -11133,7 +11133,7 @@ mv.exports;
|
|
|
11133
11133
|
if (!X)
|
|
11134
11134
|
return -1;
|
|
11135
11135
|
var p = X;
|
|
11136
|
-
return r !== e && (p = WA(r), p = p < 0 ?
|
|
11136
|
+
return r !== e && (p = WA(r), p = p < 0 ? p9(X + p, 0) : L9(p, X - 1)), f === f ? dz(A, f, p) : N7(A, uP, p, !0);
|
|
11137
11137
|
}
|
|
11138
11138
|
function yX(A, f) {
|
|
11139
11139
|
return A && A.length ? kP(A, WA(f)) : e;
|
|
@@ -11249,7 +11249,7 @@ mv.exports;
|
|
|
11249
11249
|
var f = 0;
|
|
11250
11250
|
return A = de(A, function(r) {
|
|
11251
11251
|
if (X9(r))
|
|
11252
|
-
return f =
|
|
11252
|
+
return f = p9(r.length, f), !0;
|
|
11253
11253
|
}), rn(f, function(r) {
|
|
11254
11254
|
return n9(A, en(r));
|
|
11255
11255
|
});
|
|
@@ -11378,7 +11378,7 @@ mv.exports;
|
|
|
11378
11378
|
function D2(A, f, r, X) {
|
|
11379
11379
|
A = C9(A) ? A : z3(A), r = r && !X ? WA(r) : 0;
|
|
11380
11380
|
var p = A.length;
|
|
11381
|
-
return r < 0 && (r =
|
|
11381
|
+
return r < 0 && (r = p9(p + r, 0)), uv(A) ? r <= p && A.indexOf(f, r) > -1 : !!p && _e(A, f, r) > -1;
|
|
11382
11382
|
}
|
|
11383
11383
|
var j2 = wA(function(A, f, r) {
|
|
11384
11384
|
var X = -1, p = typeof f == "function", Z = C9(A) ? G(A.length) : [];
|
|
@@ -11493,7 +11493,7 @@ mv.exports;
|
|
|
11493
11493
|
var X, p, Z, W, I, k, C = 0, $ = !1, rA = !1, aA = !0;
|
|
11494
11494
|
if (typeof A != "function")
|
|
11495
11495
|
throw new sf(z);
|
|
11496
|
-
f = Of(f) || 0, P9(r) && ($ = !!r.leading, rA = "maxWait" in r, Z = rA ?
|
|
11496
|
+
f = Of(f) || 0, P9(r) && ($ = !!r.leading, rA = "maxWait" in r, Z = rA ? p9(Of(r.maxWait) || 0, f) : Z, aA = "trailing" in r ? !!r.trailing : aA);
|
|
11497
11497
|
function lA(b9) {
|
|
11498
11498
|
var yf = X, $f = p;
|
|
11499
11499
|
return X = p = e, C = b9, W = A.apply($f, yf), W;
|
|
@@ -11603,7 +11603,7 @@ mv.exports;
|
|
|
11603
11603
|
function C2(A, f) {
|
|
11604
11604
|
if (typeof A != "function")
|
|
11605
11605
|
throw new sf(z);
|
|
11606
|
-
return f = f == null ? 0 :
|
|
11606
|
+
return f = f == null ? 0 : p9(WA(f), 0), wA(function(r) {
|
|
11607
11607
|
var X = r[f], p = qe(r, 0, f);
|
|
11608
11608
|
return X && ze(p, X), nf(A, this, p);
|
|
11609
11609
|
});
|
|
@@ -12350,7 +12350,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
12350
12350
|
R[A].placeholder = R;
|
|
12351
12351
|
}), qf(["drop", "take"], function(A, f) {
|
|
12352
12352
|
kA.prototype[A] = function(r) {
|
|
12353
|
-
r = r === e ? 1 :
|
|
12353
|
+
r = r === e ? 1 : p9(WA(r), 0);
|
|
12354
12354
|
var X = this.__filtered__ && !f ? new kA(this) : this.clone();
|
|
12355
12355
|
return X.__filtered__ ? X.__takeCount__ = L9(r, X.__takeCount__) : X.__views__.push({
|
|
12356
12356
|
size: L9(r, U),
|
|
@@ -13499,7 +13499,7 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
13499
13499
|
const { entryMenu: n } = wv();
|
|
13500
13500
|
sA.menu.addEventListener("onItemClick", async (v) => {
|
|
13501
13501
|
var u;
|
|
13502
|
-
|
|
13502
|
+
i9.innerSet = !0;
|
|
13503
13503
|
const e = Rf(sv(v.applicationCode)).filter((z) => !z.disable && !z.expired).find((z) => z.code === v.code);
|
|
13504
13504
|
if (e && !e.routeUrl) return;
|
|
13505
13505
|
if (!e) {
|
|
@@ -13561,7 +13561,7 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
13561
13561
|
O && O.length && d(O), q.forEach((H) => sA.iframeView.triggerEventListener("onUnloadPage", H.path));
|
|
13562
13562
|
}, i = (q) => {
|
|
13563
13563
|
const O = GA().currentSubAppCode ?? "";
|
|
13564
|
-
|
|
13564
|
+
i9.innerSet = !0;
|
|
13565
13565
|
const H = I9(), l = H.tabMap[O], m = l.findIndex((y) => y.code === q.data.code);
|
|
13566
13566
|
if (m === -1) return;
|
|
13567
13567
|
const V = () => {
|
|
@@ -13601,7 +13601,7 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
13601
13601
|
})[q.type](q.data);
|
|
13602
13602
|
};
|
|
13603
13603
|
sA.tab.addEventListener("onItemClick", async (q) => {
|
|
13604
|
-
I9().currentCode !== q.currentCode && (
|
|
13604
|
+
I9().currentCode !== q.currentCode && (i9.innerSet = !0, c(q));
|
|
13605
13605
|
}), sA.tab.addEventListener("onItemRemove", (q) => {
|
|
13606
13606
|
const O = I9(), H = GA().currentSubAppCode ?? "";
|
|
13607
13607
|
O.tabMap[H].findIndex((V) => V.code === q.code) !== -1 && (iv(q.applicationCode, [q.code]), i({ type: "me", data: q }));
|
|
@@ -13780,7 +13780,7 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
13780
13780
|
v({ currentMenu: y, microPath: E, route: l });
|
|
13781
13781
|
}, c = async (i, s = !0) => {
|
|
13782
13782
|
var m;
|
|
13783
|
-
if (
|
|
13783
|
+
if (i9.innerSet = s, i.fixed || i.unClosed) {
|
|
13784
13784
|
await n.push(i.path), sA.menu.setItems([]), sA.tab.setItems([]), sA.nav.setActiveItem(i.path), K9([
|
|
13785
13785
|
{ key: "currentSubAppCode", value: i.code },
|
|
13786
13786
|
{ key: "currentSubApp", value: i }
|
|
@@ -13861,11 +13861,8 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
13861
13861
|
await n.push({ path: i, query: d });
|
|
13862
13862
|
}
|
|
13863
13863
|
if (c === 2) {
|
|
13864
|
-
let H = x === 1 ? `/${z.applicationPath}
|
|
13865
|
-
H = nt(Cr(_r(H))),
|
|
13866
|
-
path: i,
|
|
13867
|
-
query: d
|
|
13868
|
-
}));
|
|
13864
|
+
let H = x === 1 ? `/${z.applicationPath}/${z.routeUrl}`.replace(/\/\//g, "/") : z.routeUrl;
|
|
13865
|
+
H = nt(Cr(_r(H))), i9.innerSet && (i = td, await n.push({ path: i, query: d }), i9.innerSet = !1, H && window.open(H, "_blank"));
|
|
13869
13866
|
}
|
|
13870
13867
|
Nd({
|
|
13871
13868
|
appCode: z.applicationCode,
|
|
@@ -14003,8 +14000,8 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
14003
14000
|
() => t.currentRoute.value,
|
|
14004
14001
|
async (c) => {
|
|
14005
14002
|
if (!(c.path === a && Fr(c.query, d))) {
|
|
14006
|
-
if (a = H3(c.path), d = H3(c.query), d && d.source && localStorage.setItem("thirdLogouSource", d.source), await v(),
|
|
14007
|
-
|
|
14003
|
+
if (a = H3(c.path), d = H3(c.query), d && d.source && localStorage.setItem("thirdLogouSource", d.source), await v(), i9.innerSet) {
|
|
14004
|
+
i9.innerSet = !1;
|
|
14008
14005
|
return;
|
|
14009
14006
|
}
|
|
14010
14007
|
b(c);
|
|
@@ -14012,12 +14009,12 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
14012
14009
|
}
|
|
14013
14010
|
);
|
|
14014
14011
|
}, hd = () => ({ reloadRoute: (e) => {
|
|
14015
|
-
|
|
14016
|
-
|
|
14012
|
+
i9.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...i9.excludeRoutes, ...e])), i9.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
14013
|
+
i9.routeKeepAliveVisible = !0, i9.excludeRoutes = [];
|
|
14017
14014
|
}, 300);
|
|
14018
14015
|
}, unloadRoute: (e) => {
|
|
14019
|
-
|
|
14020
|
-
|
|
14016
|
+
i9.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...i9.excludeRoutes, ...e])), i9.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
14017
|
+
i9.routeKeepAliveVisible = !0, i9.excludeRoutes = [];
|
|
14021
14018
|
}, 100);
|
|
14022
14019
|
} }), EV = () => {
|
|
14023
14020
|
const n = Qa(), v = VV(), e = pe(), t = () => {
|
|
@@ -14177,7 +14174,7 @@ const kO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
14177
14174
|
toApp: e,
|
|
14178
14175
|
getAIPanelStatus: t
|
|
14179
14176
|
};
|
|
14180
|
-
},
|
|
14177
|
+
}, i9 = Bf({
|
|
14181
14178
|
/** 菜单或者应用跳转是否通过触发界面调用的 */
|
|
14182
14179
|
innerSet: !1,
|
|
14183
14180
|
excludeRoutes: [],
|
|
@@ -15079,7 +15076,7 @@ class t7 {
|
|
|
15079
15076
|
}
|
|
15080
15077
|
t7.instance = new t7();
|
|
15081
15078
|
const yx = "8.0.7";
|
|
15082
|
-
class
|
|
15079
|
+
class q9 {
|
|
15083
15080
|
static isRequired(v, e) {
|
|
15084
15081
|
if (v == null)
|
|
15085
15082
|
throw new Error(`The '${e}' argument is required.`);
|
|
@@ -15527,7 +15524,7 @@ class jt {
|
|
|
15527
15524
|
constructor(v, e, t, P, u, z, b) {
|
|
15528
15525
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
15529
15526
|
this._logger.log(h.Warning, "The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
|
|
15530
|
-
},
|
|
15527
|
+
}, q9.isRequired(v, "connection"), q9.isRequired(e, "logger"), q9.isRequired(t, "protocol"), this.serverTimeoutInMilliseconds = u ?? Sx, this.keepAliveIntervalInMilliseconds = z ?? Kx, this._statefulReconnectBufferSize = b ?? hx, this._logger = e, this._protocol = t, this.connection = v, this._reconnectPolicy = P, this._handshakeProtocol = new Ux(), this.connection.onreceive = (a) => this._processIncomingData(a), this.connection.onclose = (a) => this._connectionClosed(a), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = r9.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: yA.Ping });
|
|
15531
15528
|
}
|
|
15532
15529
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
15533
15530
|
get state() {
|
|
@@ -16078,7 +16075,7 @@ class E6 {
|
|
|
16078
16075
|
this._httpClient = v, this._logger = e, this._pollAbort = new _x(), this._options = t, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
16079
16076
|
}
|
|
16080
16077
|
async connect(v, e) {
|
|
16081
|
-
if (
|
|
16078
|
+
if (q9.isRequired(v, "url"), q9.isRequired(e, "transferFormat"), q9.isIn(e, k9, "transferFormat"), this._url = v, this._logger.log(h.Trace, "(LongPolling transport) Connecting."), e === k9.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
16082
16079
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
16083
16080
|
const [t, P] = m3(), u = { [t]: P, ...this._options.headers }, z = {
|
|
16084
16081
|
abortSignal: this._pollAbort.signal,
|
|
@@ -16144,7 +16141,7 @@ class $x {
|
|
|
16144
16141
|
this._httpClient = v, this._accessToken = e, this._logger = t, this._options = P, this.onreceive = null, this.onclose = null;
|
|
16145
16142
|
}
|
|
16146
16143
|
async connect(v, e) {
|
|
16147
|
-
return
|
|
16144
|
+
return q9.isRequired(v, "url"), q9.isRequired(e, "transferFormat"), q9.isIn(e, k9, "transferFormat"), this._logger.log(h.Trace, "(SSE transport) Connecting."), this._url = v, this._accessToken && (v += (v.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((t, P) => {
|
|
16148
16145
|
let u = !1;
|
|
16149
16146
|
if (e !== k9.Text) {
|
|
16150
16147
|
P(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
@@ -16194,7 +16191,7 @@ class AR {
|
|
|
16194
16191
|
this._logger = t, this._accessTokenFactory = e, this._logMessageContent = P, this._webSocketConstructor = u, this._httpClient = v, this.onreceive = null, this.onclose = null, this._headers = z;
|
|
16195
16192
|
}
|
|
16196
16193
|
async connect(v, e) {
|
|
16197
|
-
|
|
16194
|
+
q9.isRequired(v, "url"), q9.isRequired(e, "transferFormat"), q9.isIn(e, k9, "transferFormat"), this._logger.log(h.Trace, "(WebSockets transport) Connecting.");
|
|
16198
16195
|
let t;
|
|
16199
16196
|
return this._accessTokenFactory && (t = await this._accessTokenFactory()), new Promise((P, u) => {
|
|
16200
16197
|
v = v.replace(/^http/, "ws");
|
|
@@ -16251,7 +16248,7 @@ const I6 = 100;
|
|
|
16251
16248
|
class fR {
|
|
16252
16249
|
constructor(v, e = {}) {
|
|
16253
16250
|
if (this._stopPromiseResolver = () => {
|
|
16254
|
-
}, this.features = {}, this._negotiateVersion = 1,
|
|
16251
|
+
}, this.features = {}, this._negotiateVersion = 1, q9.isRequired(v, "url"), this._logger = Wx(e.logger), this.baseUrl = this._resolveUrl(v), e = e || {}, e.logMessageContent = e.logMessageContent === void 0 ? !1 : e.logMessageContent, typeof e.withCredentials == "boolean" || e.withCredentials === void 0)
|
|
16255
16252
|
e.withCredentials = e.withCredentials === void 0 ? !0 : e.withCredentials;
|
|
16256
16253
|
else
|
|
16257
16254
|
throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
@@ -16264,7 +16261,7 @@ class fR {
|
|
|
16264
16261
|
!d9.isNode && typeof WebSocket < "u" && !e.WebSocket ? e.WebSocket = WebSocket : d9.isNode && !e.WebSocket && t && (e.WebSocket = t), !d9.isNode && typeof EventSource < "u" && !e.EventSource ? e.EventSource = EventSource : d9.isNode && !e.EventSource && typeof P < "u" && (e.EventSource = P), this._httpClient = new Cx(e.httpClient || new Bx(this._logger), e.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = e, this.onreceive = null, this.onclose = null;
|
|
16265
16262
|
}
|
|
16266
16263
|
async start(v) {
|
|
16267
|
-
if (v = v || k9.Binary,
|
|
16264
|
+
if (v = v || k9.Binary, q9.isIn(v, k9, "transferFormat"), this._logger.log(h.Debug, `Starting connection with transfer format '${k9[v]}'.`), this._connectionState !== "Disconnected")
|
|
16268
16265
|
return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
|
|
16269
16266
|
if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(v), await this._startInternalPromise, this._connectionState === "Disconnecting") {
|
|
16270
16267
|
const e = "Failed to start the HttpConnection before stop() was called.";
|
|
@@ -16637,7 +16634,7 @@ function tR(n) {
|
|
|
16637
16634
|
}
|
|
16638
16635
|
class PR {
|
|
16639
16636
|
configureLogging(v) {
|
|
16640
|
-
if (
|
|
16637
|
+
if (q9.isRequired(v, "logging"), uR(v))
|
|
16641
16638
|
this.logger = v;
|
|
16642
16639
|
else if (typeof v == "string") {
|
|
16643
16640
|
const e = tR(v);
|
|
@@ -16647,7 +16644,7 @@ class PR {
|
|
|
16647
16644
|
return this;
|
|
16648
16645
|
}
|
|
16649
16646
|
withUrl(v, e) {
|
|
16650
|
-
return
|
|
16647
|
+
return q9.isRequired(v, "url"), q9.isNotEmpty(v, "url"), this.url = v, typeof e == "object" ? this.httpConnectionOptions = { ...this.httpConnectionOptions, ...e } : this.httpConnectionOptions = {
|
|
16651
16648
|
...this.httpConnectionOptions,
|
|
16652
16649
|
transport: e
|
|
16653
16650
|
}, this;
|
|
@@ -16657,7 +16654,7 @@ class PR {
|
|
|
16657
16654
|
* @param {IHubProtocol} protocol The {@link @microsoft/signalr.IHubProtocol} implementation to use.
|
|
16658
16655
|
*/
|
|
16659
16656
|
withHubProtocol(v) {
|
|
16660
|
-
return
|
|
16657
|
+
return q9.isRequired(v, "protocol"), this.protocol = v, this;
|
|
16661
16658
|
}
|
|
16662
16659
|
withAutomaticReconnect(v) {
|
|
16663
16660
|
if (this.reconnectPolicy)
|
|
@@ -16669,14 +16666,14 @@ class PR {
|
|
|
16669
16666
|
* @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
|
|
16670
16667
|
*/
|
|
16671
16668
|
withServerTimeout(v) {
|
|
16672
|
-
return
|
|
16669
|
+
return q9.isRequired(v, "milliseconds"), this._serverTimeoutInMilliseconds = v, this;
|
|
16673
16670
|
}
|
|
16674
16671
|
/** Configures {@link @microsoft/signalr.HubConnection.keepAliveIntervalInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
|
|
16675
16672
|
*
|
|
16676
16673
|
* @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
|
|
16677
16674
|
*/
|
|
16678
16675
|
withKeepAliveInterval(v) {
|
|
16679
|
-
return
|
|
16676
|
+
return q9.isRequired(v, "milliseconds"), this._keepAliveIntervalInMilliseconds = v, this;
|
|
16680
16677
|
}
|
|
16681
16678
|
/** Enables and configures options for the Stateful Reconnect feature.
|
|
16682
16679
|
*
|
|
@@ -17728,7 +17725,7 @@ const nN = () => {
|
|
|
17728
17725
|
showLayout: { type: Boolean, default: !0 }
|
|
17729
17726
|
},
|
|
17730
17727
|
setup(n) {
|
|
17731
|
-
const v = n, { isFullscreen: e } = x3(), t = pe().showLayout ?? !0, P = mA(() => t && v.showLayout && !e.value), u = mA(() =>
|
|
17728
|
+
const v = n, { isFullscreen: e } = x3(), t = pe().showLayout ?? !0, P = mA(() => t && v.showLayout && !e.value), u = mA(() => i9.excludeRoutes), z = mA(() => i9.routeKeepAliveVisible), b = mA(() => ({ mode: Vf.value.style === 1 ? "vertical" : "inline" }));
|
|
17732
17729
|
FA(
|
|
17733
17730
|
() => Q6.nav.activeItem,
|
|
17734
17731
|
(E) => {
|
|
@@ -18001,11 +17998,11 @@ g("@das-fed/web");
|
|
|
18001
17998
|
const XN = [
|
|
18002
17999
|
{
|
|
18003
18000
|
path: xf,
|
|
18004
|
-
component: () => import("./index-
|
|
18001
|
+
component: () => import("./index-BPHGG4RF.js")
|
|
18005
18002
|
},
|
|
18006
18003
|
{
|
|
18007
18004
|
path: td,
|
|
18008
|
-
component: () => import("./index-
|
|
18005
|
+
component: () => import("./index-DVWQWGbt.js")
|
|
18009
18006
|
}
|
|
18010
18007
|
], IZ = {
|
|
18011
18008
|
routes: XN,
|
|
@@ -18043,7 +18040,7 @@ export {
|
|
|
18043
18040
|
mZ as i,
|
|
18044
18041
|
VZ as j,
|
|
18045
18042
|
xZ as k,
|
|
18046
|
-
|
|
18043
|
+
i9 as l,
|
|
18047
18044
|
e7 as m,
|
|
18048
18045
|
HZ as n,
|
|
18049
18046
|
i3 as o,
|
|
Binary file
|
|
@@ -6,8 +6,8 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as b } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as E } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as L } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-
|
|
10
|
-
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"),
|
|
9
|
+
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-BAO19_Z2.js";
|
|
10
|
+
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(G) {
|
|
13
13
|
const { beforeEntryApp: g, entryApp: m } = P(), h = p(() => q.value.skinStyle), w = p(() => !!D.menu.items.length), y = p(() => {
|
|
@@ -21,29 +21,29 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
21
21
|
);
|
|
22
22
|
}), t) : [] : [];
|
|
23
23
|
}), _ = (t, r) => {
|
|
24
|
-
const
|
|
25
|
-
for (let
|
|
26
|
-
|
|
27
|
-
return
|
|
24
|
+
const i = [];
|
|
25
|
+
for (let e = 0; e < t.length; e += r)
|
|
26
|
+
i.push(t.slice(e, e + r));
|
|
27
|
+
return i;
|
|
28
28
|
}, k = async (t, r = !0) => {
|
|
29
29
|
if (!t) return;
|
|
30
30
|
if (!sessionStorage.getItem("projectInfo")) {
|
|
31
31
|
window.confirm($("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
const
|
|
35
|
-
if (K.innerSet = r,
|
|
34
|
+
const e = d(t);
|
|
35
|
+
if (K.innerSet = r, e.routeUrl) {
|
|
36
36
|
if (t.code === "Ioc") {
|
|
37
|
-
window.open(
|
|
37
|
+
window.open(e.routeUrl, "_blank");
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
if (t.code === "wojiacloud") {
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
43
|
-
const [n, a] = await F().run({ accessToken:
|
|
41
|
+
const o = sessionStorage.getItem("kingdee_token") || "";
|
|
42
|
+
if (o) {
|
|
43
|
+
const [n, a] = await F().run({ accessToken: o });
|
|
44
44
|
if (a) {
|
|
45
|
-
const
|
|
46
|
-
|
|
45
|
+
const s = (a == null ? void 0 : a.auth_code) ?? "";
|
|
46
|
+
e.routeUrl = e.routeUrl.includes("?") ? `${e.routeUrl}&code=${s}` : `${e.routeUrl}?code=${s}`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -51,18 +51,18 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
51
51
|
const l = (t == null ? void 0 : t.openType) ?? 1, f = (t == null ? void 0 : t.type) ?? 1;
|
|
52
52
|
if (l === 1) {
|
|
53
53
|
if (!await g(t)) return;
|
|
54
|
-
const n = b().preTab[t.code], a = (n == null ? void 0 : n.code) ?? "",
|
|
55
|
-
m({ microApp:
|
|
54
|
+
const n = b().preTab[t.code], a = (n == null ? void 0 : n.code) ?? "", s = { ...(n == null ? void 0 : n.query) ?? {} };
|
|
55
|
+
m({ microApp: e, menuCode: a, route: { query: s } });
|
|
56
56
|
}
|
|
57
|
-
if (l === 2 &&
|
|
58
|
-
let
|
|
57
|
+
if (l === 2 && e.routeUrl) {
|
|
58
|
+
let o = "";
|
|
59
59
|
if (f === 1)
|
|
60
|
-
|
|
60
|
+
o = e != null && e.applicationPath ? ("/" + e.applicationPath + "/" + e.routeUrl).replace(/\/\//g, "/") : ("/" + e.routeUrl).replace(/\/\//g, "/"), o = E(o);
|
|
61
61
|
else if (f === 2) {
|
|
62
|
-
const n = await M(
|
|
63
|
-
|
|
62
|
+
const n = await M(e.routeUrl, (e == null ? void 0 : e.param) ?? []);
|
|
63
|
+
o = N(n);
|
|
64
64
|
}
|
|
65
|
-
window.open(
|
|
65
|
+
window.open(o, "_blank");
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
return (t, r) => U((A(), C(c(T), {
|
|
@@ -84,5 +84,5 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
export {
|
|
87
|
-
|
|
87
|
+
ee as default
|
|
88
88
|
};
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-
|
|
1
|
+
import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-BAO19_Z2.js";
|
|
2
2
|
export {
|
|
3
3
|
e as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/web",
|
|
3
|
-
"version": "7.0.5-beta.
|
|
3
|
+
"version": "7.0.5-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "7.0.5-beta.
|
|
8
|
-
"@das-fed/utils": "7.0.5-beta.
|
|
9
|
-
"@das-fed/web": "7.0.5-beta.
|
|
10
|
-
"@das-fed/web-components": "7.0.5-beta.
|
|
7
|
+
"@das-fed/ui": "7.0.5-beta.6",
|
|
8
|
+
"@das-fed/utils": "7.0.5-beta.6",
|
|
9
|
+
"@das-fed/web": "7.0.5-beta.6",
|
|
10
|
+
"@das-fed/web-components": "7.0.5-beta.6",
|
|
11
11
|
"@microsoft/signalr": "^8.0.7",
|
|
12
12
|
"@vueuse/core": "^9.13.0",
|
|
13
13
|
"animate.css": "^4.1.1",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"vue-router": "^4.4.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@das-fed/cli": "7.0.5-beta.
|
|
22
|
+
"@das-fed/cli": "7.0.5-beta.6",
|
|
23
23
|
"@types/crypto-js": "^4.2.2",
|
|
24
24
|
"@types/lodash": "^4.14.194",
|
|
25
25
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -7605,8 +7605,8 @@ Yv.exports;
|
|
|
7605
7605
|
}
|
|
7606
7606
|
function _5(M, Y, G, iA) {
|
|
7607
7607
|
for (var RA = -1, JA = M == null ? 0 : M.length; ++RA < JA; ) {
|
|
7608
|
-
var
|
|
7609
|
-
Y(iA,
|
|
7608
|
+
var b9 = M[RA];
|
|
7609
|
+
Y(iA, b9, G(b9), M);
|
|
7610
7610
|
}
|
|
7611
7611
|
return iA;
|
|
7612
7612
|
}
|
|
@@ -7628,8 +7628,8 @@ Yv.exports;
|
|
|
7628
7628
|
}
|
|
7629
7629
|
function Ff(M, Y) {
|
|
7630
7630
|
for (var G = -1, iA = M == null ? 0 : M.length, RA = 0, JA = []; ++G < iA; ) {
|
|
7631
|
-
var
|
|
7632
|
-
Y(
|
|
7631
|
+
var b9 = M[G];
|
|
7632
|
+
Y(b9, G, M) && (JA[RA++] = b9);
|
|
7633
7633
|
}
|
|
7634
7634
|
return JA;
|
|
7635
7635
|
}
|
|
@@ -7680,8 +7680,8 @@ Yv.exports;
|
|
|
7680
7680
|
}
|
|
7681
7681
|
function RP(M, Y, G) {
|
|
7682
7682
|
var iA;
|
|
7683
|
-
return G(M, function(RA, JA,
|
|
7684
|
-
if (Y(RA, JA,
|
|
7683
|
+
return G(M, function(RA, JA, b9) {
|
|
7684
|
+
if (Y(RA, JA, b9))
|
|
7685
7685
|
return iA = JA, !1;
|
|
7686
7686
|
}), iA;
|
|
7687
7687
|
}
|
|
@@ -7718,8 +7718,8 @@ Yv.exports;
|
|
|
7718
7718
|
};
|
|
7719
7719
|
}
|
|
7720
7720
|
function TP(M, Y, G, iA, RA) {
|
|
7721
|
-
return RA(M, function(JA,
|
|
7722
|
-
G = iA ? (iA = !1, JA) : Y(G, JA,
|
|
7721
|
+
return RA(M, function(JA, b9, YA) {
|
|
7722
|
+
G = iA ? (iA = !1, JA) : Y(G, JA, b9, YA);
|
|
7723
7723
|
}), G;
|
|
7724
7724
|
}
|
|
7725
7725
|
function rd(M, Y) {
|
|
@@ -7807,8 +7807,8 @@ Yv.exports;
|
|
|
7807
7807
|
}
|
|
7808
7808
|
function Cf(M, Y) {
|
|
7809
7809
|
for (var G = -1, iA = M.length, RA = 0, JA = []; ++G < iA; ) {
|
|
7810
|
-
var
|
|
7811
|
-
(
|
|
7810
|
+
var b9 = M[G];
|
|
7811
|
+
(b9 === Y || b9 === b) && (M[G] = b, JA[RA++] = G);
|
|
7812
7812
|
}
|
|
7813
7813
|
return JA;
|
|
7814
7814
|
}
|
|
@@ -7861,7 +7861,7 @@ Yv.exports;
|
|
|
7861
7861
|
}
|
|
7862
7862
|
var Od = function M(Y) {
|
|
7863
7863
|
Y = Y == null ? O9 : B3.defaults(O9.Object(), Y, B3.pick(O9, U5));
|
|
7864
|
-
var G = Y.Array, iA = Y.Date, RA = Y.Error, JA = Y.Function,
|
|
7864
|
+
var G = Y.Array, iA = Y.Date, RA = Y.Error, JA = Y.Function, b9 = Y.Math, YA = Y.Object, Ee = Y.RegExp, md = Y.String, rf = Y.TypeError, vv = G.prototype, Vd = JA.prototype, U3 = YA.prototype, ev = Y["__core-js_shared__"], nv = Vd.toString, QA = U3.hasOwnProperty, xd = 0, oP = function() {
|
|
7865
7865
|
var A = /[^.]+$/.exec(ev && ev.keys && ev.keys.IE_PROTO || "");
|
|
7866
7866
|
return A ? "Symbol(src)_1." + A : "";
|
|
7867
7867
|
}(), rv = U3.toString, Rd = nv.call(YA), Zd = O9._, Nd = Ee(
|
|
@@ -7872,7 +7872,7 @@ Yv.exports;
|
|
|
7872
7872
|
return A({}, "", {}), A;
|
|
7873
7873
|
} catch {
|
|
7874
7874
|
}
|
|
7875
|
-
}(), Td = Y.clearTimeout !== O9.clearTimeout && Y.clearTimeout, Dd = iA && iA.now !== O9.Date.now && iA.now, jd = Y.setTimeout !== O9.setTimeout && Y.setTimeout, Xv =
|
|
7875
|
+
}(), Td = Y.clearTimeout !== O9.clearTimeout && Y.clearTimeout, Dd = iA && iA.now !== O9.Date.now && iA.now, jd = Y.setTimeout !== O9.setTimeout && Y.setTimeout, Xv = b9.ceil, bv = b9.floor, Ie = YA.getOwnPropertySymbols, yd = Pv ? Pv.isBuffer : v, kP = Y.isFinite, Ld = vv.join, Wd = LP(YA.keys, YA), c9 = b9.max, x9 = b9.min, od = iA.now, wd = Y.parseInt, gP = b9.random, Ed = vv.reverse, Me = i3(Y, "DataView"), i7 = i3(Y, "Map"), ke = i3(Y, "Promise"), G3 = i3(Y, "Set"), q7 = i3(Y, "WeakMap"), p7 = i3(YA, "create"), cv = q7 && new q7(), Q3 = {}, Id = q3(Me), Md = q3(i7), kd = q3(ke), gd = q3(G3), Jd = q3(q7), av = _f ? _f.prototype : v, s7 = av ? av.valueOf : v, JP = av ? av.toString : v;
|
|
7876
7876
|
function x(A) {
|
|
7877
7877
|
if (n9(A) && !TA(A) && !(A instanceof EA)) {
|
|
7878
7878
|
if (A instanceof Pf)
|
|
@@ -8320,7 +8320,7 @@ Yv.exports;
|
|
|
8320
8320
|
return A != null && f in YA(A);
|
|
8321
8321
|
}
|
|
8322
8322
|
function mz(A, f, n) {
|
|
8323
|
-
return A >= x9(f, n) && A <
|
|
8323
|
+
return A >= x9(f, n) && A < c9(f, n);
|
|
8324
8324
|
}
|
|
8325
8325
|
function Qe(A, f, n) {
|
|
8326
8326
|
for (var z = n ? Ne : $7, i = A[0].length, N = A.length, y = N, I = G(N), k = 1 / 0, h = []; y--; ) {
|
|
@@ -8552,7 +8552,7 @@ Yv.exports;
|
|
|
8552
8552
|
return A + bv(gP() * (f - A + 1));
|
|
8553
8553
|
}
|
|
8554
8554
|
function wz(A, f, n, z) {
|
|
8555
|
-
for (var i = -1, N =
|
|
8555
|
+
for (var i = -1, N = c9(Xv((f - A) / (n || 1)), 0), y = G(N); N--; )
|
|
8556
8556
|
y[z ? N : ++i] = A, A += n;
|
|
8557
8557
|
return y;
|
|
8558
8558
|
}
|
|
@@ -8786,7 +8786,7 @@ Yv.exports;
|
|
|
8786
8786
|
return A.index - f.index;
|
|
8787
8787
|
}
|
|
8788
8788
|
function pt(A, f, n, z) {
|
|
8789
|
-
for (var i = -1, N = A.length, y = n.length, I = -1, k = f.length, h =
|
|
8789
|
+
for (var i = -1, N = A.length, y = n.length, I = -1, k = f.length, h = c9(N - y, 0), _ = G(k + h), eA = !z; ++I < k; )
|
|
8790
8790
|
_[I] = f[I];
|
|
8791
8791
|
for (; ++i < y; )
|
|
8792
8792
|
(eA || i < N) && (_[n[i]] = A[i]);
|
|
@@ -8795,7 +8795,7 @@ Yv.exports;
|
|
|
8795
8795
|
return _;
|
|
8796
8796
|
}
|
|
8797
8797
|
function st(A, f, n, z) {
|
|
8798
|
-
for (var i = -1, N = A.length, y = -1, I = n.length, k = -1, h = f.length, _ =
|
|
8798
|
+
for (var i = -1, N = A.length, y = -1, I = n.length, k = -1, h = f.length, _ = c9(N - I, 0), eA = G(_ + h), cA = !z; ++i < _; )
|
|
8799
8799
|
eA[i] = A[i];
|
|
8800
8800
|
for (var pA = i; ++k < h; )
|
|
8801
8801
|
eA[pA + k] = f[k];
|
|
@@ -9070,7 +9070,7 @@ Yv.exports;
|
|
|
9070
9070
|
return bn(A) && Mt(VA, yA), VA.placeholder = z, kt(VA, A, f);
|
|
9071
9071
|
}
|
|
9072
9072
|
function rn(A) {
|
|
9073
|
-
var f =
|
|
9073
|
+
var f = b9[A];
|
|
9074
9074
|
return function(n, z) {
|
|
9075
9075
|
if (n = zf(n), z = z == null ? 0 : x9(jA(z), 292), z && kP(n)) {
|
|
9076
9076
|
var i = (UA(n) + "e").split("e"), N = f(i[0] + "e" + (+i[1] + z));
|
|
@@ -9093,7 +9093,7 @@ Yv.exports;
|
|
|
9093
9093
|
if (!k && typeof A != "function")
|
|
9094
9094
|
throw new rf(X);
|
|
9095
9095
|
var h = z ? z.length : 0;
|
|
9096
|
-
if (h || (f &= -97, z = i = v), y = y === v ? y :
|
|
9096
|
+
if (h || (f &= -97, z = i = v), y = y === v ? y : c9(jA(y), 0), I = I === v ? I : jA(I), h -= i ? i.length : 0, f & w) {
|
|
9097
9097
|
var _ = z, eA = i;
|
|
9098
9098
|
z = i = v;
|
|
9099
9099
|
}
|
|
@@ -9109,7 +9109,7 @@ Yv.exports;
|
|
|
9109
9109
|
y,
|
|
9110
9110
|
I
|
|
9111
9111
|
];
|
|
9112
|
-
if (cA && b8(pA, cA), A = pA[0], f = pA[1], n = pA[2], z = pA[3], i = pA[4], I = pA[9] = pA[9] === v ? k ? 0 : A.length :
|
|
9112
|
+
if (cA && b8(pA, cA), A = pA[0], f = pA[1], n = pA[2], z = pA[3], i = pA[4], I = pA[9] = pA[9] === v ? k ? 0 : A.length : c9(pA[9] - h, 0), !I && f & (m | Z) && (f &= -25), !f || f == O)
|
|
9113
9113
|
var mA = Kz(A, f, n);
|
|
9114
9114
|
else f == m || f == Z ? mA = Fz(A, f, I) : (f == T || f == (O | T)) && !i.length ? mA = hz(A, f, n, z) : mA = Vv.apply(v, pA);
|
|
9115
9115
|
var yA = cA ? tt : Mt;
|
|
@@ -9316,7 +9316,7 @@ Yv.exports;
|
|
|
9316
9316
|
f = x9(f, A + y);
|
|
9317
9317
|
break;
|
|
9318
9318
|
case "takeRight":
|
|
9319
|
-
A =
|
|
9319
|
+
A = c9(A, f - y);
|
|
9320
9320
|
break;
|
|
9321
9321
|
}
|
|
9322
9322
|
}
|
|
@@ -9462,8 +9462,8 @@ Yv.exports;
|
|
|
9462
9462
|
return rv.call(A);
|
|
9463
9463
|
}
|
|
9464
9464
|
function Et(A, f, n) {
|
|
9465
|
-
return f =
|
|
9466
|
-
for (var z = arguments, i = -1, N =
|
|
9465
|
+
return f = c9(f === v ? A.length - 1 : f, 0), function() {
|
|
9466
|
+
for (var z = arguments, i = -1, N = c9(z.length - f, 0), y = G(N); ++i < N; )
|
|
9467
9467
|
y[i] = z[f + i];
|
|
9468
9468
|
i = -1;
|
|
9469
9469
|
for (var I = G(f + 1); ++i < f; )
|
|
@@ -9550,7 +9550,7 @@ Yv.exports;
|
|
|
9550
9550
|
return f.__actions__ = J9(A.__actions__), f.__index__ = A.__index__, f.__values__ = A.__values__, f;
|
|
9551
9551
|
}
|
|
9552
9552
|
function p8(A, f, n) {
|
|
9553
|
-
(n ? o9(A, f, n) : f === v) ? f = 1 : f =
|
|
9553
|
+
(n ? o9(A, f, n) : f === v) ? f = 1 : f = c9(jA(f), 0);
|
|
9554
9554
|
var z = A == null ? 0 : A.length;
|
|
9555
9555
|
if (!z || f < 1)
|
|
9556
9556
|
return [];
|
|
@@ -9605,14 +9605,14 @@ Yv.exports;
|
|
|
9605
9605
|
if (!z)
|
|
9606
9606
|
return -1;
|
|
9607
9607
|
var i = n == null ? 0 : jA(n);
|
|
9608
|
-
return i < 0 && (i =
|
|
9608
|
+
return i < 0 && (i = c9(z + i, 0)), Av(A, OA(f, 3), i);
|
|
9609
9609
|
}
|
|
9610
9610
|
function Gt(A, f, n) {
|
|
9611
9611
|
var z = A == null ? 0 : A.length;
|
|
9612
9612
|
if (!z)
|
|
9613
9613
|
return -1;
|
|
9614
9614
|
var i = z - 1;
|
|
9615
|
-
return n !== v && (i = jA(n), i = n < 0 ?
|
|
9615
|
+
return n !== v && (i = jA(n), i = n < 0 ? c9(z + i, 0) : x9(i, z - 1)), Av(A, OA(f, 3), i, !0);
|
|
9616
9616
|
}
|
|
9617
9617
|
function Qt(A) {
|
|
9618
9618
|
var f = A == null ? 0 : A.length;
|
|
@@ -9641,7 +9641,7 @@ Yv.exports;
|
|
|
9641
9641
|
if (!z)
|
|
9642
9642
|
return -1;
|
|
9643
9643
|
var i = n == null ? 0 : jA(n);
|
|
9644
|
-
return i < 0 && (i =
|
|
9644
|
+
return i < 0 && (i = c9(z + i, 0)), k3(A, f, i);
|
|
9645
9645
|
}
|
|
9646
9646
|
function L8(A) {
|
|
9647
9647
|
var f = A == null ? 0 : A.length;
|
|
@@ -9669,7 +9669,7 @@ Yv.exports;
|
|
|
9669
9669
|
if (!z)
|
|
9670
9670
|
return -1;
|
|
9671
9671
|
var i = z;
|
|
9672
|
-
return n !== v && (i = jA(n), i = i < 0 ?
|
|
9672
|
+
return n !== v && (i = jA(n), i = i < 0 ? c9(z + i, 0) : x9(i, z - 1)), f === f ? qd(A, f, i) : Av(A, ZP, i, !0);
|
|
9673
9673
|
}
|
|
9674
9674
|
function M8(A, f) {
|
|
9675
9675
|
return A && A.length ? et(A, jA(f)) : v;
|
|
@@ -9785,7 +9785,7 @@ Yv.exports;
|
|
|
9785
9785
|
var f = 0;
|
|
9786
9786
|
return A = Ff(A, function(n) {
|
|
9787
9787
|
if (P9(n))
|
|
9788
|
-
return f =
|
|
9788
|
+
return f = c9(n.length, f), !0;
|
|
9789
9789
|
}), We(f, function(n) {
|
|
9790
9790
|
return $A(A, je(n));
|
|
9791
9791
|
});
|
|
@@ -9914,7 +9914,7 @@ Yv.exports;
|
|
|
9914
9914
|
function EX(A, f, n, z) {
|
|
9915
9915
|
A = B9(A) ? A : C3(A), n = n && !z ? jA(n) : 0;
|
|
9916
9916
|
var i = A.length;
|
|
9917
|
-
return n < 0 && (n =
|
|
9917
|
+
return n < 0 && (n = c9(i + n, 0)), Ev(A) ? n <= i && A.indexOf(f, n) > -1 : !!i && k3(A, f, n) > -1;
|
|
9918
9918
|
}
|
|
9919
9919
|
var IX = LA(function(A, f, n) {
|
|
9920
9920
|
var z = -1, i = typeof f == "function", N = B9(A) ? G(A.length) : [];
|
|
@@ -10029,7 +10029,7 @@ Yv.exports;
|
|
|
10029
10029
|
var z, i, N, y, I, k, h = 0, _ = !1, eA = !1, cA = !0;
|
|
10030
10030
|
if (typeof A != "function")
|
|
10031
10031
|
throw new rf(X);
|
|
10032
|
-
f = zf(f) || 0, v9(n) && (_ = !!n.leading, eA = "maxWait" in n, N = eA ?
|
|
10032
|
+
f = zf(f) || 0, v9(n) && (_ = !!n.leading, eA = "maxWait" in n, N = eA ? c9(zf(n.maxWait) || 0, f) : N, cA = "trailing" in n ? !!n.trailing : cA);
|
|
10033
10033
|
function pA(t9) {
|
|
10034
10034
|
var Hf = z, kf = i;
|
|
10035
10035
|
return z = i = v, h = t9, y = A.apply(kf, Hf), y;
|
|
@@ -10139,7 +10139,7 @@ Yv.exports;
|
|
|
10139
10139
|
function n2(A, f) {
|
|
10140
10140
|
if (typeof A != "function")
|
|
10141
10141
|
throw new rf(X);
|
|
10142
|
-
return f = f == null ? 0 :
|
|
10142
|
+
return f = f == null ? 0 : c9(jA(f), 0), LA(function(n) {
|
|
10143
10143
|
var z = n[f], i = v3(n, 0, f);
|
|
10144
10144
|
return z && hf(i, z), K9(A, this, i);
|
|
10145
10145
|
});
|
|
@@ -10886,7 +10886,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10886
10886
|
x[A].placeholder = x;
|
|
10887
10887
|
}), nf(["drop", "take"], function(A, f) {
|
|
10888
10888
|
EA.prototype[A] = function(n) {
|
|
10889
|
-
n = n === v ? 1 :
|
|
10889
|
+
n = n === v ? 1 : c9(jA(n), 0);
|
|
10890
10890
|
var z = this.__filtered__ && !f ? new EA(this) : this.clone();
|
|
10891
10891
|
return z.__filtered__ ? z.__takeCount__ = x9(n, z.__takeCount__) : z.__views__.push({
|
|
10892
10892
|
size: x9(n, U),
|
|
@@ -12035,7 +12035,7 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12035
12035
|
const { entryMenu: r } = de();
|
|
12036
12036
|
qA.menu.addEventListener("onItemClick", async (e) => {
|
|
12037
12037
|
var d;
|
|
12038
|
-
|
|
12038
|
+
z9.innerSet = !0;
|
|
12039
12039
|
const v = cf(Bv(e.applicationCode)).filter((X) => !X.disable && !X.expired).find((X) => X.code === e.code);
|
|
12040
12040
|
if (v && !v.routeUrl) return;
|
|
12041
12041
|
if (!v) {
|
|
@@ -12097,7 +12097,7 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12097
12097
|
V && V.length && t(V), p.forEach((O) => qA.iframeView.triggerEventListener("onUnloadPage", O.path));
|
|
12098
12098
|
}, q = (p) => {
|
|
12099
12099
|
const V = gA().currentSubAppCode ?? "";
|
|
12100
|
-
|
|
12100
|
+
z9.innerSet = !0;
|
|
12101
12101
|
const O = D9(), l = O.tabMap[V], s = l.findIndex((W) => W.code === p.data.code);
|
|
12102
12102
|
if (s === -1) return;
|
|
12103
12103
|
const m = () => {
|
|
@@ -12137,7 +12137,7 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12137
12137
|
})[p.type](p.data);
|
|
12138
12138
|
};
|
|
12139
12139
|
qA.tab.addEventListener("onItemClick", async (p) => {
|
|
12140
|
-
D9().currentCode !== p.currentCode && (
|
|
12140
|
+
D9().currentCode !== p.currentCode && (z9.innerSet = !0, b(p));
|
|
12141
12141
|
}), qA.tab.addEventListener("onItemRemove", (p) => {
|
|
12142
12142
|
const V = D9(), O = gA().currentSubAppCode ?? "";
|
|
12143
12143
|
V.tabMap[O].findIndex((m) => m.code === p.code) !== -1 && (gv(p.applicationCode, [p.code]), q({ type: "me", data: p }));
|
|
@@ -12316,7 +12316,7 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12316
12316
|
e({ currentMenu: W, microPath: E, route: l });
|
|
12317
12317
|
}, b = async (q, H = !0) => {
|
|
12318
12318
|
var s;
|
|
12319
|
-
if (
|
|
12319
|
+
if (z9.innerSet = H, q.fixed || q.unClosed) {
|
|
12320
12320
|
await r.push(q.path), qA.menu.setItems([]), qA.tab.setItems([]), qA.nav.setActiveItem(q.path), M9([
|
|
12321
12321
|
{ key: "currentSubAppCode", value: q.code },
|
|
12322
12322
|
{ key: "currentSubApp", value: q }
|
|
@@ -12397,11 +12397,8 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12397
12397
|
await r.push({ path: q, query: t });
|
|
12398
12398
|
}
|
|
12399
12399
|
if (b === 2) {
|
|
12400
|
-
let O = R === 1 ? `/${X.applicationPath}
|
|
12401
|
-
O = xr(lr(Hr(O))),
|
|
12402
|
-
path: q,
|
|
12403
|
-
query: t
|
|
12404
|
-
}));
|
|
12400
|
+
let O = R === 1 ? `/${X.applicationPath}/${X.routeUrl}`.replace(/\/\//g, "/") : X.routeUrl;
|
|
12401
|
+
O = xr(lr(Hr(O))), z9.innerSet && (q = z6, await r.push({ path: q, query: t }), z9.innerSet = !1, O && window.open(O, "_blank"));
|
|
12405
12402
|
}
|
|
12406
12403
|
W6({
|
|
12407
12404
|
appCode: X.applicationCode,
|
|
@@ -12539,8 +12536,8 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12539
12536
|
() => P.currentRoute.value,
|
|
12540
12537
|
async (b) => {
|
|
12541
12538
|
if (!(b.path === a && sr(b.query, t))) {
|
|
12542
|
-
if (a = f7(b.path), t = f7(b.query), t && t.source && localStorage.setItem("thirdLogouSource", t.source), await e(),
|
|
12543
|
-
|
|
12539
|
+
if (a = f7(b.path), t = f7(b.query), t && t.source && localStorage.setItem("thirdLogouSource", t.source), await e(), z9.innerSet) {
|
|
12540
|
+
z9.innerSet = !1;
|
|
12544
12541
|
return;
|
|
12545
12542
|
}
|
|
12546
12543
|
c(b);
|
|
@@ -12548,12 +12545,12 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12548
12545
|
}
|
|
12549
12546
|
);
|
|
12550
12547
|
}, v5 = () => ({ reloadRoute: (v) => {
|
|
12551
|
-
|
|
12552
|
-
|
|
12548
|
+
z9.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...z9.excludeRoutes, ...v])), z9.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
12549
|
+
z9.routeKeepAliveVisible = !0, z9.excludeRoutes = [];
|
|
12553
12550
|
}, 300);
|
|
12554
12551
|
}, unloadRoute: (v) => {
|
|
12555
|
-
|
|
12556
|
-
|
|
12552
|
+
z9.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...z9.excludeRoutes, ...v])), z9.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
12553
|
+
z9.routeKeepAliveVisible = !0, z9.excludeRoutes = [];
|
|
12557
12554
|
}, 100);
|
|
12558
12555
|
} }), gO = () => {
|
|
12559
12556
|
const r = Yc(), e = NO(), v = P3(), P = () => {
|
|
@@ -12713,7 +12710,7 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12713
12710
|
toApp: v,
|
|
12714
12711
|
getAIPanelStatus: P
|
|
12715
12712
|
};
|
|
12716
|
-
},
|
|
12713
|
+
}, z9 = C1({
|
|
12717
12714
|
/** 菜单或者应用跳转是否通过触发界面调用的 */
|
|
12718
12715
|
innerSet: !1,
|
|
12719
12716
|
excludeRoutes: [],
|
|
@@ -13615,7 +13612,7 @@ class o7 {
|
|
|
13615
13612
|
}
|
|
13616
13613
|
o7.instance = new o7();
|
|
13617
13614
|
const wm = "8.0.7";
|
|
13618
|
-
class
|
|
13615
|
+
class X9 {
|
|
13619
13616
|
static isRequired(e, v) {
|
|
13620
13617
|
if (e == null)
|
|
13621
13618
|
throw new Error(`The '${v}' argument is required.`);
|
|
@@ -14063,7 +14060,7 @@ class Kr {
|
|
|
14063
14060
|
constructor(e, v, P, u, d, X, c) {
|
|
14064
14061
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
14065
14062
|
this._logger.log(F.Warning, "The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
|
|
14066
|
-
},
|
|
14063
|
+
}, X9.isRequired(e, "connection"), X9.isRequired(v, "logger"), X9.isRequired(P, "protocol"), this.serverTimeoutInMilliseconds = d ?? Cm, this.keepAliveIntervalInMilliseconds = X ?? _m, this._statefulReconnectBufferSize = c ?? $m, this._logger = v, this._protocol = P, this.connection = e, this._reconnectPolicy = u, this._handshakeProtocol = new Sm(), this.connection.onreceive = (a) => this._processIncomingData(a), this.connection.onclose = (a) => this._connectionClosed(a), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = A9.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: DA.Ping });
|
|
14067
14064
|
}
|
|
14068
14065
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
14069
14066
|
get state() {
|
|
@@ -14614,7 +14611,7 @@ class S1 {
|
|
|
14614
14611
|
this._httpClient = e, this._logger = v, this._pollAbort = new vV(), this._options = P, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
14615
14612
|
}
|
|
14616
14613
|
async connect(e, v) {
|
|
14617
|
-
if (
|
|
14614
|
+
if (X9.isRequired(e, "url"), X9.isRequired(v, "transferFormat"), X9.isIn(v, y9, "transferFormat"), this._url = e, this._logger.log(F.Trace, "(LongPolling transport) Connecting."), v === y9.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
14618
14615
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
14619
14616
|
const [P, u] = v7(), d = { [P]: u, ...this._options.headers }, X = {
|
|
14620
14617
|
abortSignal: this._pollAbort.signal,
|
|
@@ -14680,7 +14677,7 @@ class eV {
|
|
|
14680
14677
|
this._httpClient = e, this._accessToken = v, this._logger = P, this._options = u, this.onreceive = null, this.onclose = null;
|
|
14681
14678
|
}
|
|
14682
14679
|
async connect(e, v) {
|
|
14683
|
-
return
|
|
14680
|
+
return X9.isRequired(e, "url"), X9.isRequired(v, "transferFormat"), X9.isIn(v, y9, "transferFormat"), this._logger.log(F.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((P, u) => {
|
|
14684
14681
|
let d = !1;
|
|
14685
14682
|
if (v !== y9.Text) {
|
|
14686
14683
|
u(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
@@ -14730,7 +14727,7 @@ class nV {
|
|
|
14730
14727
|
this._logger = P, this._accessTokenFactory = v, this._logMessageContent = u, this._webSocketConstructor = d, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = X;
|
|
14731
14728
|
}
|
|
14732
14729
|
async connect(e, v) {
|
|
14733
|
-
|
|
14730
|
+
X9.isRequired(e, "url"), X9.isRequired(v, "transferFormat"), X9.isIn(v, y9, "transferFormat"), this._logger.log(F.Trace, "(WebSockets transport) Connecting.");
|
|
14734
14731
|
let P;
|
|
14735
14732
|
return this._accessTokenFactory && (P = await this._accessTokenFactory()), new Promise((u, d) => {
|
|
14736
14733
|
e = e.replace(/^http/, "ws");
|
|
@@ -14787,7 +14784,7 @@ const K1 = 100;
|
|
|
14787
14784
|
class rV {
|
|
14788
14785
|
constructor(e, v = {}) {
|
|
14789
14786
|
if (this._stopPromiseResolver = () => {
|
|
14790
|
-
}, this.features = {}, this._negotiateVersion = 1,
|
|
14787
|
+
}, this.features = {}, this._negotiateVersion = 1, X9.isRequired(e, "url"), this._logger = Im(v.logger), this.baseUrl = this._resolveUrl(e), v = v || {}, v.logMessageContent = v.logMessageContent === void 0 ? !1 : v.logMessageContent, typeof v.withCredentials == "boolean" || v.withCredentials === void 0)
|
|
14791
14788
|
v.withCredentials = v.withCredentials === void 0 ? !0 : v.withCredentials;
|
|
14792
14789
|
else
|
|
14793
14790
|
throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
@@ -14800,7 +14797,7 @@ class rV {
|
|
|
14800
14797
|
!e9.isNode && typeof WebSocket < "u" && !v.WebSocket ? v.WebSocket = WebSocket : e9.isNode && !v.WebSocket && P && (v.WebSocket = P), !e9.isNode && typeof EventSource < "u" && !v.EventSource ? v.EventSource = EventSource : e9.isNode && !v.EventSource && typeof u < "u" && (v.EventSource = u), this._httpClient = new fV(v.httpClient || new Ym(this._logger), v.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = v, this.onreceive = null, this.onclose = null;
|
|
14801
14798
|
}
|
|
14802
14799
|
async start(e) {
|
|
14803
|
-
if (e = e || y9.Binary,
|
|
14800
|
+
if (e = e || y9.Binary, X9.isIn(e, y9, "transferFormat"), this._logger.log(F.Debug, `Starting connection with transfer format '${y9[e]}'.`), this._connectionState !== "Disconnected")
|
|
14804
14801
|
return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
|
|
14805
14802
|
if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
|
|
14806
14803
|
const v = "Failed to start the HttpConnection before stop() was called.";
|
|
@@ -15173,7 +15170,7 @@ function zV(r) {
|
|
|
15173
15170
|
}
|
|
15174
15171
|
class XV {
|
|
15175
15172
|
configureLogging(e) {
|
|
15176
|
-
if (
|
|
15173
|
+
if (X9.isRequired(e, "logging"), bV(e))
|
|
15177
15174
|
this.logger = e;
|
|
15178
15175
|
else if (typeof e == "string") {
|
|
15179
15176
|
const v = zV(e);
|
|
@@ -15183,7 +15180,7 @@ class XV {
|
|
|
15183
15180
|
return this;
|
|
15184
15181
|
}
|
|
15185
15182
|
withUrl(e, v) {
|
|
15186
|
-
return
|
|
15183
|
+
return X9.isRequired(e, "url"), X9.isNotEmpty(e, "url"), this.url = e, typeof v == "object" ? this.httpConnectionOptions = { ...this.httpConnectionOptions, ...v } : this.httpConnectionOptions = {
|
|
15187
15184
|
...this.httpConnectionOptions,
|
|
15188
15185
|
transport: v
|
|
15189
15186
|
}, this;
|
|
@@ -15193,7 +15190,7 @@ class XV {
|
|
|
15193
15190
|
* @param {IHubProtocol} protocol The {@link @microsoft/signalr.IHubProtocol} implementation to use.
|
|
15194
15191
|
*/
|
|
15195
15192
|
withHubProtocol(e) {
|
|
15196
|
-
return
|
|
15193
|
+
return X9.isRequired(e, "protocol"), this.protocol = e, this;
|
|
15197
15194
|
}
|
|
15198
15195
|
withAutomaticReconnect(e) {
|
|
15199
15196
|
if (this.reconnectPolicy)
|
|
@@ -15205,14 +15202,14 @@ class XV {
|
|
|
15205
15202
|
* @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
|
|
15206
15203
|
*/
|
|
15207
15204
|
withServerTimeout(e) {
|
|
15208
|
-
return
|
|
15205
|
+
return X9.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
|
|
15209
15206
|
}
|
|
15210
15207
|
/** Configures {@link @microsoft/signalr.HubConnection.keepAliveIntervalInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
|
|
15211
15208
|
*
|
|
15212
15209
|
* @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
|
|
15213
15210
|
*/
|
|
15214
15211
|
withKeepAliveInterval(e) {
|
|
15215
|
-
return
|
|
15212
|
+
return X9.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
|
|
15216
15213
|
}
|
|
15217
15214
|
/** Enables and configures options for the Stateful Reconnect feature.
|
|
15218
15215
|
*
|
|
@@ -16264,7 +16261,7 @@ const ux = () => {
|
|
|
16264
16261
|
showLayout: { type: Boolean, default: !0 }
|
|
16265
16262
|
},
|
|
16266
16263
|
setup(r) {
|
|
16267
|
-
const e = r, { isFullscreen: v } = g7(), P = P3().showLayout ?? !0, u = I9(() => P && e.showLayout && !v.value), d = I9(() =>
|
|
16264
|
+
const e = r, { isFullscreen: v } = g7(), P = P3().showLayout ?? !0, u = I9(() => P && e.showLayout && !v.value), d = I9(() => z9.excludeRoutes), X = I9(() => z9.routeKeepAliveVisible), c = I9(() => ({ mode: Xf.value.style === 1 ? "vertical" : "inline" }));
|
|
16268
16265
|
l9(
|
|
16269
16266
|
() => $1.nav.activeItem,
|
|
16270
16267
|
(E) => {
|
|
@@ -16537,11 +16534,11 @@ B("@das-fed/web");
|
|
|
16537
16534
|
const ix = [
|
|
16538
16535
|
{
|
|
16539
16536
|
path: bf,
|
|
16540
|
-
component: () => import("./index-
|
|
16537
|
+
component: () => import("./index-CtAUh9Uf.js")
|
|
16541
16538
|
},
|
|
16542
16539
|
{
|
|
16543
16540
|
path: z6,
|
|
16544
|
-
component: () => import("./index-
|
|
16541
|
+
component: () => import("./index-CeQSQHR9.js")
|
|
16545
16542
|
}
|
|
16546
16543
|
], lR = {
|
|
16547
16544
|
routes: ix,
|
|
@@ -16562,7 +16559,7 @@ export {
|
|
|
16562
16559
|
f7 as c,
|
|
16563
16560
|
xr as d,
|
|
16564
16561
|
N6 as g,
|
|
16565
|
-
|
|
16562
|
+
z9 as l,
|
|
16566
16563
|
lR as m,
|
|
16567
16564
|
Xf as p,
|
|
16568
16565
|
u3 as u
|
|
Binary file
|
|
@@ -6,8 +6,8 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as b } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as E } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as L } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-
|
|
10
|
-
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"),
|
|
9
|
+
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-CcFYXrxm.js";
|
|
10
|
+
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(G) {
|
|
13
13
|
const { beforeEntryApp: g, entryApp: m } = P(), h = p(() => q.value.skinStyle), w = p(() => !!D.menu.items.length), y = p(() => {
|
|
@@ -21,29 +21,29 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
21
21
|
);
|
|
22
22
|
}), t) : [] : [];
|
|
23
23
|
}), _ = (t, r) => {
|
|
24
|
-
const
|
|
25
|
-
for (let
|
|
26
|
-
|
|
27
|
-
return
|
|
24
|
+
const i = [];
|
|
25
|
+
for (let e = 0; e < t.length; e += r)
|
|
26
|
+
i.push(t.slice(e, e + r));
|
|
27
|
+
return i;
|
|
28
28
|
}, k = async (t, r = !0) => {
|
|
29
29
|
if (!t) return;
|
|
30
30
|
if (!sessionStorage.getItem("projectInfo")) {
|
|
31
31
|
window.confirm($("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
const
|
|
35
|
-
if (K.innerSet = r,
|
|
34
|
+
const e = d(t);
|
|
35
|
+
if (K.innerSet = r, e.routeUrl) {
|
|
36
36
|
if (t.code === "Ioc") {
|
|
37
|
-
window.open(
|
|
37
|
+
window.open(e.routeUrl, "_blank");
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
if (t.code === "wojiacloud") {
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
43
|
-
const [n, a] = await F().run({ accessToken:
|
|
41
|
+
const o = sessionStorage.getItem("kingdee_token") || "";
|
|
42
|
+
if (o) {
|
|
43
|
+
const [n, a] = await F().run({ accessToken: o });
|
|
44
44
|
if (a) {
|
|
45
|
-
const
|
|
46
|
-
|
|
45
|
+
const s = (a == null ? void 0 : a.auth_code) ?? "";
|
|
46
|
+
e.routeUrl = e.routeUrl.includes("?") ? `${e.routeUrl}&code=${s}` : `${e.routeUrl}?code=${s}`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -51,18 +51,18 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
51
51
|
const l = (t == null ? void 0 : t.openType) ?? 1, f = (t == null ? void 0 : t.type) ?? 1;
|
|
52
52
|
if (l === 1) {
|
|
53
53
|
if (!await g(t)) return;
|
|
54
|
-
const n = b().preTab[t.code], a = (n == null ? void 0 : n.code) ?? "",
|
|
55
|
-
m({ microApp:
|
|
54
|
+
const n = b().preTab[t.code], a = (n == null ? void 0 : n.code) ?? "", s = { ...(n == null ? void 0 : n.query) ?? {} };
|
|
55
|
+
m({ microApp: e, menuCode: a, route: { query: s } });
|
|
56
56
|
}
|
|
57
|
-
if (l === 2 &&
|
|
58
|
-
let
|
|
57
|
+
if (l === 2 && e.routeUrl) {
|
|
58
|
+
let o = "";
|
|
59
59
|
if (f === 1)
|
|
60
|
-
|
|
60
|
+
o = e != null && e.applicationPath ? ("/" + e.applicationPath + "/" + e.routeUrl).replace(/\/\//g, "/") : ("/" + e.routeUrl).replace(/\/\//g, "/"), o = E(o);
|
|
61
61
|
else if (f === 2) {
|
|
62
|
-
const n = await M(
|
|
63
|
-
|
|
62
|
+
const n = await M(e.routeUrl, (e == null ? void 0 : e.param) ?? []);
|
|
63
|
+
o = N(n);
|
|
64
64
|
}
|
|
65
|
-
window.open(
|
|
65
|
+
window.open(o, "_blank");
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
return (t, r) => U((A(), C(c(T), {
|
|
@@ -84,5 +84,5 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
export {
|
|
87
|
-
|
|
87
|
+
ee as default
|
|
88
88
|
};
|
|
Binary file
|
package/index-CS4TDwjK.js.gz
DELETED
|
Binary file
|
|
Binary file
|