@das-fed/upf-web 6.4.0-dev.216 → 6.4.0-dev.217
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/es5.js +1434 -1476
- package/{index-WRedchsT.js → index-Bg6PM02l.js} +1 -1
- package/{packages/main-app-framework/index-CI6ZgPEU.js → index-DsbX1-Oq.js} +1 -1
- package/index-DsbX1-Oq.js.gz +0 -0
- package/{index-BmGy3aNh.js → index-Duoum6s2.js} +1372 -1398
- package/index-Duoum6s2.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/create-das-web-app/es5.js +35 -36
- package/packages/create-das-web-app/index.js +40 -41
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/es5.js +71 -73
- package/packages/i18n/index.js +60 -62
- package/packages/i18n/index.js.gz +0 -0
- package/packages/main-app-framework/es5.js +786 -825
- package/packages/main-app-framework/{index-BqKJ4JMx.js → index-D2D_f0hd.js} +691 -714
- package/packages/main-app-framework/index-D2D_f0hd.js.gz +0 -0
- package/packages/main-app-framework/{index-DRkEsoNL.js → index-D2I3UnWM.js} +1 -1
- package/{index-Dv-J3JZD.js → packages/main-app-framework/index-DLOeR4lo.js} +1 -1
- package/packages/main-app-framework/index-DLOeR4lo.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/index-BmGy3aNh.js.gz +0 -0
- package/index-Dv-J3JZD.js.gz +0 -0
- package/packages/main-app-framework/index-BqKJ4JMx.js.gz +0 -0
- package/packages/main-app-framework/index-CI6ZgPEU.js.gz +0 -0
|
@@ -599,7 +599,7 @@ var si = apiServices.systemConfiguration.get("watermark"),
|
|
|
599
599
|
}(),
|
|
600
600
|
d = /*#__PURE__*/function () {
|
|
601
601
|
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
|
|
602
|
-
var f, v, C,
|
|
602
|
+
var f, v, C, w, A, B, E, _yield$si$run, _yield$si$run2, g, x, _yield$nextTiken$user, k, y, b, D, _D;
|
|
603
603
|
return _regenerator().w(function (_context5) {
|
|
604
604
|
while (1) switch (_context5.n) {
|
|
605
605
|
case 0:
|
|
@@ -629,19 +629,19 @@ var si = apiServices.systemConfiguration.get("watermark"),
|
|
|
629
629
|
return nextTiken.userInfoNextTick();
|
|
630
630
|
case 4:
|
|
631
631
|
_yield$nextTiken$user = _context5.v;
|
|
632
|
-
|
|
632
|
+
k = _yield$nextTiken$user.name;
|
|
633
633
|
y = _yield$nextTiken$user.phone;
|
|
634
|
-
|
|
635
|
-
if ((v = t.value) != null && v.nameSwith &&
|
|
634
|
+
b = "";
|
|
635
|
+
if ((v = t.value) != null && v.nameSwith && k && (s.value.push(k), b = b + "".concat(k, " ")), (C = t.value) != null && C.phoneSwith && y) {
|
|
636
636
|
D = y.slice(-4);
|
|
637
|
-
s.value.push(D),
|
|
637
|
+
s.value.push(D), b = b + "".concat(D, " ");
|
|
638
638
|
}
|
|
639
|
-
if ((
|
|
639
|
+
if ((w = t.value) != null && w.textSwith && (A = t.value) != null && A.text) {
|
|
640
640
|
s.value.push(t.value.text);
|
|
641
641
|
_D = t.value.text.replaceAll("\n", "<br/>");
|
|
642
|
-
|
|
642
|
+
b = b + "".concat(_D);
|
|
643
643
|
}
|
|
644
|
-
s.value.length && (s.value = s.value.join(" ").split("\n")), l.color = (
|
|
644
|
+
s.value.length && (s.value = s.value.join(" ").split("\n")), l.color = (B = t.value) != null && B.textColor ? t.value.textColor : "rgba(0,0,0,.15)", l.fontSize = (E = t.value) != null && E.textSize ? parseInt(t.value.textSize) : 16, u(b, l.fontSize);
|
|
645
645
|
case 5:
|
|
646
646
|
return _context5.a(2, (o.value = false, x));
|
|
647
647
|
}
|
|
@@ -658,10 +658,10 @@ var si = apiServices.systemConfiguration.get("watermark"),
|
|
|
658
658
|
return h.currentRoute.value;
|
|
659
659
|
}, function (g) {
|
|
660
660
|
var _ref6, _ref7;
|
|
661
|
-
var v, C,
|
|
661
|
+
var v, C, w;
|
|
662
662
|
var x = !!((v = t.value) != null && v.pageSwith),
|
|
663
663
|
m = (_ref6 = (C = g.meta) == null ? undefined : C.showWatermark) !== null && _ref6 !== void 0 ? _ref6 : true;
|
|
664
|
-
var f = (_ref7 = (
|
|
664
|
+
var f = (_ref7 = (w = g.query) == null ? undefined : w.showWatermark) !== null && _ref7 !== void 0 ? _ref7 : true;
|
|
665
665
|
f === "false" && (f = false), _(x && !!(m && f));
|
|
666
666
|
}, {
|
|
667
667
|
immediate: true
|
|
@@ -1190,13 +1190,13 @@ function re() {
|
|
|
1190
1190
|
concat: function concat(f) {
|
|
1191
1191
|
var v = this.words,
|
|
1192
1192
|
C = f.words,
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
if (this.clamp(),
|
|
1196
|
-
var
|
|
1197
|
-
v[
|
|
1198
|
-
} else for (var
|
|
1199
|
-
return this.sigBytes +=
|
|
1193
|
+
w = this.sigBytes,
|
|
1194
|
+
A = f.sigBytes;
|
|
1195
|
+
if (this.clamp(), w % 4) for (var B = 0; B < A; B++) {
|
|
1196
|
+
var E = C[B >>> 2] >>> 24 - B % 4 * 8 & 255;
|
|
1197
|
+
v[w + B >>> 2] |= E << 24 - (w + B) % 4 * 8;
|
|
1198
|
+
} else for (var k = 0; k < A; k += 4) v[w + k >>> 2] = C[k >>> 2];
|
|
1199
|
+
return this.sigBytes += A, this;
|
|
1200
1200
|
},
|
|
1201
1201
|
/**
|
|
1202
1202
|
* Removes insignificant bits.
|
|
@@ -1257,11 +1257,11 @@ function re() {
|
|
|
1257
1257
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
1258
1258
|
*/
|
|
1259
1259
|
stringify: function stringify(f) {
|
|
1260
|
-
for (var v = f.words, C = f.sigBytes,
|
|
1261
|
-
var
|
|
1262
|
-
|
|
1260
|
+
for (var v = f.words, C = f.sigBytes, w = [], A = 0; A < C; A++) {
|
|
1261
|
+
var B = v[A >>> 2] >>> 24 - A % 4 * 8 & 255;
|
|
1262
|
+
w.push((B >>> 4).toString(16)), w.push((B & 15).toString(16));
|
|
1263
1263
|
}
|
|
1264
|
-
return
|
|
1264
|
+
return w.join("");
|
|
1265
1265
|
},
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Converts a hex string to a word array.
|
|
@@ -1277,7 +1277,7 @@ function re() {
|
|
|
1277
1277
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
1278
1278
|
*/
|
|
1279
1279
|
parse: function parse(f) {
|
|
1280
|
-
for (var v = f.length, C = [],
|
|
1280
|
+
for (var v = f.length, C = [], w = 0; w < v; w += 2) C[w >>> 3] |= parseInt(f.substr(w, 2), 16) << 24 - w % 8 * 4;
|
|
1281
1281
|
return new _.init(C, v / 2);
|
|
1282
1282
|
}
|
|
1283
1283
|
},
|
|
@@ -1296,11 +1296,11 @@ function re() {
|
|
|
1296
1296
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
1297
1297
|
*/
|
|
1298
1298
|
stringify: function stringify(f) {
|
|
1299
|
-
for (var v = f.words, C = f.sigBytes,
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1299
|
+
for (var v = f.words, C = f.sigBytes, w = [], A = 0; A < C; A++) {
|
|
1300
|
+
var B = v[A >>> 2] >>> 24 - A % 4 * 8 & 255;
|
|
1301
|
+
w.push(String.fromCharCode(B));
|
|
1302
1302
|
}
|
|
1303
|
-
return
|
|
1303
|
+
return w.join("");
|
|
1304
1304
|
},
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Converts a Latin1 string to a word array.
|
|
@@ -1316,7 +1316,7 @@ function re() {
|
|
|
1316
1316
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
1317
1317
|
*/
|
|
1318
1318
|
parse: function parse(f) {
|
|
1319
|
-
for (var v = f.length, C = [],
|
|
1319
|
+
for (var v = f.length, C = [], w = 0; w < v; w++) C[w >>> 2] |= (f.charCodeAt(w) & 255) << 24 - w % 4 * 8;
|
|
1320
1320
|
return new _.init(C, v);
|
|
1321
1321
|
}
|
|
1322
1322
|
},
|
|
@@ -1399,19 +1399,19 @@ function re() {
|
|
|
1399
1399
|
_process: function _process(f) {
|
|
1400
1400
|
var v,
|
|
1401
1401
|
C = this._data,
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
f ?
|
|
1408
|
-
var y =
|
|
1409
|
-
|
|
1402
|
+
w = C.words,
|
|
1403
|
+
A = C.sigBytes,
|
|
1404
|
+
B = this.blockSize,
|
|
1405
|
+
E = B * 4,
|
|
1406
|
+
k = A / E;
|
|
1407
|
+
f ? k = n.ceil(k) : k = n.max((k | 0) - this._minBufferSize, 0);
|
|
1408
|
+
var y = k * B,
|
|
1409
|
+
b = n.min(y * 4, A);
|
|
1410
1410
|
if (y) {
|
|
1411
|
-
for (var D = 0; D < y; D +=
|
|
1412
|
-
v =
|
|
1411
|
+
for (var D = 0; D < y; D += B) this._doProcessBlock(w, D);
|
|
1412
|
+
v = w.splice(0, y), C.sigBytes -= b;
|
|
1413
1413
|
}
|
|
1414
|
-
return new _.init(v,
|
|
1414
|
+
return new _.init(v, b);
|
|
1415
1415
|
},
|
|
1416
1416
|
/**
|
|
1417
1417
|
* Creates a copy of this object.
|
|
@@ -2094,13 +2094,13 @@ function dt() {
|
|
|
2094
2094
|
g[f] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
|
|
2095
2095
|
}
|
|
2096
2096
|
var C = this._hash.words,
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2097
|
+
w = g[x + 0],
|
|
2098
|
+
A = g[x + 1],
|
|
2099
|
+
B = g[x + 2],
|
|
2100
|
+
E = g[x + 3],
|
|
2101
|
+
k = g[x + 4],
|
|
2102
2102
|
y = g[x + 5],
|
|
2103
|
-
|
|
2103
|
+
b = g[x + 6],
|
|
2104
2104
|
D = g[x + 7],
|
|
2105
2105
|
S = g[x + 8],
|
|
2106
2106
|
L = g[x + 9],
|
|
@@ -2111,10 +2111,10 @@ function dt() {
|
|
|
2111
2111
|
j = g[x + 14],
|
|
2112
2112
|
G = g[x + 15],
|
|
2113
2113
|
T = C[0],
|
|
2114
|
-
|
|
2115
|
-
|
|
2114
|
+
P = C[1],
|
|
2115
|
+
z = C[2],
|
|
2116
2116
|
$ = C[3];
|
|
2117
|
-
T = _(T,
|
|
2117
|
+
T = _(T, P, z, $, w, 7, o[0]), $ = _($, T, P, z, A, 12, o[1]), z = _(z, $, T, P, B, 17, o[2]), P = _(P, z, $, T, E, 22, o[3]), T = _(T, P, z, $, k, 7, o[4]), $ = _($, T, P, z, y, 12, o[5]), z = _(z, $, T, P, b, 17, o[6]), P = _(P, z, $, T, D, 22, o[7]), T = _(T, P, z, $, S, 7, o[8]), $ = _($, T, P, z, L, 12, o[9]), z = _(z, $, T, P, H, 17, o[10]), P = _(P, z, $, T, W, 22, o[11]), T = _(T, P, z, $, q, 7, o[12]), $ = _($, T, P, z, U, 12, o[13]), z = _(z, $, T, P, j, 17, o[14]), P = _(P, z, $, T, G, 22, o[15]), T = d(T, P, z, $, A, 5, o[16]), $ = d($, T, P, z, b, 9, o[17]), z = d(z, $, T, P, W, 14, o[18]), P = d(P, z, $, T, w, 20, o[19]), T = d(T, P, z, $, y, 5, o[20]), $ = d($, T, P, z, H, 9, o[21]), z = d(z, $, T, P, G, 14, o[22]), P = d(P, z, $, T, k, 20, o[23]), T = d(T, P, z, $, L, 5, o[24]), $ = d($, T, P, z, j, 9, o[25]), z = d(z, $, T, P, E, 14, o[26]), P = d(P, z, $, T, S, 20, o[27]), T = d(T, P, z, $, U, 5, o[28]), $ = d($, T, P, z, B, 9, o[29]), z = d(z, $, T, P, D, 14, o[30]), P = d(P, z, $, T, q, 20, o[31]), T = h(T, P, z, $, y, 4, o[32]), $ = h($, T, P, z, S, 11, o[33]), z = h(z, $, T, P, W, 16, o[34]), P = h(P, z, $, T, j, 23, o[35]), T = h(T, P, z, $, A, 4, o[36]), $ = h($, T, P, z, k, 11, o[37]), z = h(z, $, T, P, D, 16, o[38]), P = h(P, z, $, T, H, 23, o[39]), T = h(T, P, z, $, U, 4, o[40]), $ = h($, T, P, z, w, 11, o[41]), z = h(z, $, T, P, E, 16, o[42]), P = h(P, z, $, T, b, 23, o[43]), T = h(T, P, z, $, L, 4, o[44]), $ = h($, T, P, z, q, 11, o[45]), z = h(z, $, T, P, G, 16, o[46]), P = h(P, z, $, T, B, 23, o[47]), T = p(T, P, z, $, w, 6, o[48]), $ = p($, T, P, z, D, 10, o[49]), z = p(z, $, T, P, j, 15, o[50]), P = p(P, z, $, T, y, 21, o[51]), T = p(T, P, z, $, q, 6, o[52]), $ = p($, T, P, z, E, 10, o[53]), z = p(z, $, T, P, H, 15, o[54]), P = p(P, z, $, T, A, 21, o[55]), T = p(T, P, z, $, S, 6, o[56]), $ = p($, T, P, z, G, 10, o[57]), z = p(z, $, T, P, b, 15, o[58]), P = p(P, z, $, T, U, 21, o[59]), T = p(T, P, z, $, k, 6, o[60]), $ = p($, T, P, z, W, 10, o[61]), z = p(z, $, T, P, B, 15, o[62]), P = p(P, z, $, T, L, 21, o[63]), C[0] = C[0] + T | 0, C[1] = C[1] + P | 0, C[2] = C[2] + z | 0, C[3] = C[3] + $ | 0;
|
|
2118
2118
|
},
|
|
2119
2119
|
_doFinalize: function _doFinalize() {
|
|
2120
2120
|
var g = this._data,
|
|
@@ -2125,32 +2125,32 @@ function dt() {
|
|
|
2125
2125
|
var v = n.floor(m / 4294967296),
|
|
2126
2126
|
C = m;
|
|
2127
2127
|
x[(f + 64 >>> 9 << 4) + 15] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, x[(f + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, g.sigBytes = (x.length + 1) * 4, this._process();
|
|
2128
|
-
for (var
|
|
2129
|
-
var
|
|
2130
|
-
|
|
2128
|
+
for (var w = this._hash, A = w.words, B = 0; B < 4; B++) {
|
|
2129
|
+
var E = A[B];
|
|
2130
|
+
A[B] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360;
|
|
2131
2131
|
}
|
|
2132
|
-
return
|
|
2132
|
+
return w;
|
|
2133
2133
|
},
|
|
2134
2134
|
clone: function clone() {
|
|
2135
2135
|
var g = l.clone.call(this);
|
|
2136
2136
|
return g._hash = this._hash.clone(), g;
|
|
2137
2137
|
}
|
|
2138
2138
|
});
|
|
2139
|
-
function _(g, x, m, f, v, C,
|
|
2140
|
-
var
|
|
2141
|
-
return (
|
|
2139
|
+
function _(g, x, m, f, v, C, w) {
|
|
2140
|
+
var A = g + (x & m | ~x & f) + v + w;
|
|
2141
|
+
return (A << C | A >>> 32 - C) + x;
|
|
2142
2142
|
}
|
|
2143
|
-
function d(g, x, m, f, v, C,
|
|
2144
|
-
var
|
|
2145
|
-
return (
|
|
2143
|
+
function d(g, x, m, f, v, C, w) {
|
|
2144
|
+
var A = g + (x & f | m & ~f) + v + w;
|
|
2145
|
+
return (A << C | A >>> 32 - C) + x;
|
|
2146
2146
|
}
|
|
2147
|
-
function h(g, x, m, f, v, C,
|
|
2148
|
-
var
|
|
2149
|
-
return (
|
|
2147
|
+
function h(g, x, m, f, v, C, w) {
|
|
2148
|
+
var A = g + (x ^ m ^ f) + v + w;
|
|
2149
|
+
return (A << C | A >>> 32 - C) + x;
|
|
2150
2150
|
}
|
|
2151
|
-
function p(g, x, m, f, v, C,
|
|
2152
|
-
var
|
|
2153
|
-
return (
|
|
2151
|
+
function p(g, x, m, f, v, C, w) {
|
|
2152
|
+
var A = g + (m ^ (x | ~f)) + v + w;
|
|
2153
|
+
return (A << C | A >>> 32 - C) + x;
|
|
2154
2154
|
}
|
|
2155
2155
|
a.MD5 = l._createHelper(c), a.HmacMD5 = l._createHmacHelper(c);
|
|
2156
2156
|
}(Math), t.MD5;
|
|
@@ -2238,23 +2238,23 @@ function bn() {
|
|
|
2238
2238
|
this._hash = new i.init(o.slice(0));
|
|
2239
2239
|
},
|
|
2240
2240
|
_doProcessBlock: function _doProcessBlock(h, p) {
|
|
2241
|
-
for (var g = this._hash.words, x = g[0], m = g[1], f = g[2], v = g[3], C = g[4],
|
|
2242
|
-
if (
|
|
2243
|
-
var
|
|
2244
|
-
y = (
|
|
2245
|
-
|
|
2246
|
-
D = (
|
|
2247
|
-
_[
|
|
2241
|
+
for (var g = this._hash.words, x = g[0], m = g[1], f = g[2], v = g[3], C = g[4], w = g[5], A = g[6], B = g[7], E = 0; E < 64; E++) {
|
|
2242
|
+
if (E < 16) _[E] = h[p + E] | 0;else {
|
|
2243
|
+
var k = _[E - 15],
|
|
2244
|
+
y = (k << 25 | k >>> 7) ^ (k << 14 | k >>> 18) ^ k >>> 3,
|
|
2245
|
+
b = _[E - 2],
|
|
2246
|
+
D = (b << 15 | b >>> 17) ^ (b << 13 | b >>> 19) ^ b >>> 10;
|
|
2247
|
+
_[E] = y + _[E - 7] + D + _[E - 16];
|
|
2248
2248
|
}
|
|
2249
|
-
var S = C &
|
|
2249
|
+
var S = C & w ^ ~C & A,
|
|
2250
2250
|
L = x & m ^ x & f ^ m & f,
|
|
2251
2251
|
H = (x << 30 | x >>> 2) ^ (x << 19 | x >>> 13) ^ (x << 10 | x >>> 22),
|
|
2252
2252
|
W = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25),
|
|
2253
|
-
q =
|
|
2253
|
+
q = B + W + S + c[E] + _[E],
|
|
2254
2254
|
U = H + L;
|
|
2255
|
-
|
|
2255
|
+
B = A, A = w, w = C, C = v + q | 0, v = f, f = m, m = x, x = q + U | 0;
|
|
2256
2256
|
}
|
|
2257
|
-
g[0] = g[0] + x | 0, g[1] = g[1] + m | 0, g[2] = g[2] + f | 0, g[3] = g[3] + v | 0, g[4] = g[4] + C | 0, g[5] = g[5] +
|
|
2257
|
+
g[0] = g[0] + x | 0, g[1] = g[1] + m | 0, g[2] = g[2] + f | 0, g[3] = g[3] + v | 0, g[4] = g[4] + C | 0, g[5] = g[5] + w | 0, g[6] = g[6] + A | 0, g[7] = g[7] + B | 0;
|
|
2258
2258
|
},
|
|
2259
2259
|
_doFinalize: function _doFinalize() {
|
|
2260
2260
|
var h = this._data,
|
|
@@ -2277,7 +2277,7 @@ var wr = {
|
|
|
2277
2277
|
exports: {}
|
|
2278
2278
|
},
|
|
2279
2279
|
mo;
|
|
2280
|
-
function
|
|
2280
|
+
function zi() {
|
|
2281
2281
|
return mo || (mo = 1, function (r, e) {
|
|
2282
2282
|
(function (t, n, a) {
|
|
2283
2283
|
r.exports = n(re(), bn());
|
|
@@ -2332,20 +2332,20 @@ function Va() {
|
|
|
2332
2332
|
this._hash = new u.init([new l.init(1779033703, 4089235720), new l.init(3144134277, 2227873595), new l.init(1013904242, 4271175723), new l.init(2773480762, 1595750129), new l.init(1359893119, 2917565137), new l.init(2600822924, 725511199), new l.init(528734635, 4215389547), new l.init(1541459225, 327033209)]);
|
|
2333
2333
|
},
|
|
2334
2334
|
_doProcessBlock: function _doProcessBlock(p, g) {
|
|
2335
|
-
for (var x = this._hash.words, m = x[0], f = x[1], v = x[2], C = x[3],
|
|
2335
|
+
for (var x = this._hash.words, m = x[0], f = x[1], v = x[2], C = x[3], w = x[4], A = x[5], B = x[6], E = x[7], k = m.high, y = m.low, b = f.high, D = f.low, S = v.high, L = v.low, H = C.high, W = C.low, q = w.high, U = w.low, j = A.high, G = A.low, T = B.high, P = B.low, z = E.high, $ = E.low, ie = k, ae = y, _e = b, ee = D, tt = S, Ve = L, rt = H, N = W, R = q, O = U, Ee = j, Me = G, Wt = T, kt = P, pr = z, Dt = $, $e = 0; $e < 80; $e++) {
|
|
2336
2336
|
var Pe,
|
|
2337
2337
|
Ke,
|
|
2338
2338
|
Vt = d[$e];
|
|
2339
2339
|
if ($e < 16) Ke = Vt.high = p[g + $e * 2] | 0, Pe = Vt.low = p[g + $e * 2 + 1] | 0;else {
|
|
2340
|
-
var
|
|
2341
|
-
ht =
|
|
2342
|
-
St =
|
|
2343
|
-
|
|
2340
|
+
var On = d[$e - 15],
|
|
2341
|
+
ht = On.high,
|
|
2342
|
+
St = On.low,
|
|
2343
|
+
z0 = (ht >>> 1 | St << 31) ^ (ht >>> 8 | St << 24) ^ ht >>> 7,
|
|
2344
2344
|
Mn = (St >>> 1 | ht << 31) ^ (St >>> 8 | ht << 24) ^ (St >>> 7 | ht << 25),
|
|
2345
2345
|
Nn = d[$e - 2],
|
|
2346
2346
|
xt = Nn.high,
|
|
2347
2347
|
Ft = Nn.low,
|
|
2348
|
-
|
|
2348
|
+
O0 = (xt >>> 19 | Ft << 13) ^ (xt << 3 | Ft >>> 29) ^ xt >>> 6,
|
|
2349
2349
|
Ln = (Ft >>> 19 | xt << 13) ^ (Ft << 3 | xt >>> 29) ^ (Ft >>> 6 | xt << 26),
|
|
2350
2350
|
Hn = d[$e - 7],
|
|
2351
2351
|
M0 = Hn.high,
|
|
@@ -2353,16 +2353,16 @@ function Va() {
|
|
|
2353
2353
|
Un = d[$e - 16],
|
|
2354
2354
|
L0 = Un.high,
|
|
2355
2355
|
jn = Un.low;
|
|
2356
|
-
Pe = Mn + N0, Ke =
|
|
2356
|
+
Pe = Mn + N0, Ke = z0 + M0 + (Pe >>> 0 < Mn >>> 0 ? 1 : 0), Pe = Pe + Ln, Ke = Ke + O0 + (Pe >>> 0 < Ln >>> 0 ? 1 : 0), Pe = Pe + jn, Ke = Ke + L0 + (Pe >>> 0 < jn >>> 0 ? 1 : 0), Vt.high = Ke, Vt.low = Pe;
|
|
2357
2357
|
}
|
|
2358
|
-
var H0 =
|
|
2359
|
-
qn =
|
|
2358
|
+
var H0 = R & Ee ^ ~R & Wt,
|
|
2359
|
+
qn = O & Me ^ ~O & kt,
|
|
2360
2360
|
U0 = ie & _e ^ ie & tt ^ _e & tt,
|
|
2361
2361
|
j0 = ae & ee ^ ae & Ve ^ ee & Ve,
|
|
2362
2362
|
q0 = (ie >>> 28 | ae << 4) ^ (ie << 30 | ae >>> 2) ^ (ie << 25 | ae >>> 7),
|
|
2363
2363
|
Wn = (ae >>> 28 | ie << 4) ^ (ae << 30 | ie >>> 2) ^ (ae << 25 | ie >>> 7),
|
|
2364
|
-
W0 = (
|
|
2365
|
-
V0 = (
|
|
2364
|
+
W0 = (R >>> 14 | O << 18) ^ (R >>> 18 | O << 14) ^ (R << 23 | O >>> 9),
|
|
2365
|
+
V0 = (O >>> 14 | R << 18) ^ (O >>> 18 | R << 14) ^ (O << 23 | R >>> 9),
|
|
2366
2366
|
Vn = _[$e],
|
|
2367
2367
|
K0 = Vn.high,
|
|
2368
2368
|
Kn = Vn.low,
|
|
@@ -2376,9 +2376,9 @@ function Va() {
|
|
|
2376
2376
|
Ge = Ge + Ke + (Fe >>> 0 < Pe >>> 0 ? 1 : 0),
|
|
2377
2377
|
Gn = Wn + j0,
|
|
2378
2378
|
G0 = q0 + U0 + (Gn >>> 0 < Wn >>> 0 ? 1 : 0);
|
|
2379
|
-
pr = Wt, Dt = kt, Wt =
|
|
2379
|
+
pr = Wt, Dt = kt, Wt = Ee, kt = Me, Ee = R, Me = O, O = N + Fe | 0, R = rt + Ge + (O >>> 0 < N >>> 0 ? 1 : 0) | 0, rt = tt, N = Ve, tt = _e, Ve = ee, _e = ie, ee = ae, ae = Fe + Gn | 0, ie = Ge + G0 + (ae >>> 0 < Fe >>> 0 ? 1 : 0) | 0;
|
|
2380
2380
|
}
|
|
2381
|
-
y = m.low = y + ae, m.high =
|
|
2381
|
+
y = m.low = y + ae, m.high = k + ie + (y >>> 0 < ae >>> 0 ? 1 : 0), D = f.low = D + ee, f.high = b + _e + (D >>> 0 < ee >>> 0 ? 1 : 0), L = v.low = L + Ve, v.high = S + tt + (L >>> 0 < Ve >>> 0 ? 1 : 0), W = C.low = W + N, C.high = H + rt + (W >>> 0 < N >>> 0 ? 1 : 0), U = w.low = U + O, w.high = q + R + (U >>> 0 < O >>> 0 ? 1 : 0), G = A.low = G + Me, A.high = j + Ee + (G >>> 0 < Me >>> 0 ? 1 : 0), P = B.low = P + kt, B.high = T + Wt + (P >>> 0 < kt >>> 0 ? 1 : 0), $ = E.low = $ + Dt, E.high = z + pr + ($ >>> 0 < Dt >>> 0 ? 1 : 0);
|
|
2382
2382
|
},
|
|
2383
2383
|
_doFinalize: function _doFinalize() {
|
|
2384
2384
|
var p = this._data,
|
|
@@ -2404,7 +2404,7 @@ var Ar = {
|
|
|
2404
2404
|
exports: {}
|
|
2405
2405
|
},
|
|
2406
2406
|
Co;
|
|
2407
|
-
function
|
|
2407
|
+
function Oi() {
|
|
2408
2408
|
return Co || (Co = 1, function (r, e) {
|
|
2409
2409
|
(function (t, n, a) {
|
|
2410
2410
|
r.exports = n(re(), ar(), Va());
|
|
@@ -2458,15 +2458,15 @@ function Mi() {
|
|
|
2458
2458
|
x = v, m = C;
|
|
2459
2459
|
}
|
|
2460
2460
|
for (var x = 0; x < 5; x++) for (var m = 0; m < 5; m++) d[x + 5 * m] = m + (2 * x + 3 * m) % 5 * 5;
|
|
2461
|
-
for (var
|
|
2462
|
-
for (var
|
|
2463
|
-
if (
|
|
2464
|
-
var y = (1 <<
|
|
2465
|
-
y < 32 ?
|
|
2461
|
+
for (var w = 1, A = 0; A < 24; A++) {
|
|
2462
|
+
for (var B = 0, E = 0, k = 0; k < 7; k++) {
|
|
2463
|
+
if (w & 1) {
|
|
2464
|
+
var y = (1 << k) - 1;
|
|
2465
|
+
y < 32 ? E ^= 1 << y : B ^= 1 << y - 32;
|
|
2466
2466
|
}
|
|
2467
|
-
|
|
2467
|
+
w & 128 ? w = w << 1 ^ 113 : w <<= 1;
|
|
2468
2468
|
}
|
|
2469
|
-
h[
|
|
2469
|
+
h[A] = o.create(B, E);
|
|
2470
2470
|
}
|
|
2471
2471
|
})();
|
|
2472
2472
|
var p = [];
|
|
@@ -2491,50 +2491,50 @@ function Mi() {
|
|
|
2491
2491
|
},
|
|
2492
2492
|
_doProcessBlock: function _doProcessBlock(x, m) {
|
|
2493
2493
|
for (var f = this._state, v = this.blockSize / 2, C = 0; C < v; C++) {
|
|
2494
|
-
var
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
var
|
|
2498
|
-
|
|
2494
|
+
var w = x[m + 2 * C],
|
|
2495
|
+
A = x[m + 2 * C + 1];
|
|
2496
|
+
w = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, A = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360;
|
|
2497
|
+
var B = f[C];
|
|
2498
|
+
B.high ^= A, B.low ^= w;
|
|
2499
2499
|
}
|
|
2500
|
-
for (var
|
|
2501
|
-
for (var
|
|
2502
|
-
for (var y = 0,
|
|
2503
|
-
var
|
|
2504
|
-
y ^=
|
|
2500
|
+
for (var E = 0; E < 24; E++) {
|
|
2501
|
+
for (var k = 0; k < 5; k++) {
|
|
2502
|
+
for (var y = 0, b = 0, D = 0; D < 5; D++) {
|
|
2503
|
+
var B = f[k + 5 * D];
|
|
2504
|
+
y ^= B.high, b ^= B.low;
|
|
2505
2505
|
}
|
|
2506
|
-
var S = p[
|
|
2507
|
-
S.high = y, S.low =
|
|
2506
|
+
var S = p[k];
|
|
2507
|
+
S.high = y, S.low = b;
|
|
2508
2508
|
}
|
|
2509
|
-
for (var
|
|
2510
|
-
var
|
|
2511
|
-
|
|
2509
|
+
for (var k = 0; k < 5; k++) for (var L = p[(k + 4) % 5], H = p[(k + 1) % 5], W = H.high, q = H.low, y = L.high ^ (W << 1 | q >>> 31), b = L.low ^ (q << 1 | W >>> 31), D = 0; D < 5; D++) {
|
|
2510
|
+
var B = f[k + 5 * D];
|
|
2511
|
+
B.high ^= y, B.low ^= b;
|
|
2512
2512
|
}
|
|
2513
2513
|
for (var U = 1; U < 25; U++) {
|
|
2514
2514
|
var y,
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
j =
|
|
2518
|
-
G =
|
|
2515
|
+
b,
|
|
2516
|
+
B = f[U],
|
|
2517
|
+
j = B.high,
|
|
2518
|
+
G = B.low,
|
|
2519
2519
|
T = _[U];
|
|
2520
|
-
T < 32 ? (y = j << T | G >>> 32 - T,
|
|
2521
|
-
var
|
|
2522
|
-
|
|
2520
|
+
T < 32 ? (y = j << T | G >>> 32 - T, b = G << T | j >>> 32 - T) : (y = G << T - 32 | j >>> 64 - T, b = j << T - 32 | G >>> 64 - T);
|
|
2521
|
+
var P = p[d[U]];
|
|
2522
|
+
P.high = y, P.low = b;
|
|
2523
2523
|
}
|
|
2524
|
-
var
|
|
2524
|
+
var z = p[0],
|
|
2525
2525
|
$ = f[0];
|
|
2526
|
-
|
|
2527
|
-
for (var
|
|
2528
|
-
var U =
|
|
2529
|
-
|
|
2526
|
+
z.high = $.high, z.low = $.low;
|
|
2527
|
+
for (var k = 0; k < 5; k++) for (var D = 0; D < 5; D++) {
|
|
2528
|
+
var U = k + 5 * D,
|
|
2529
|
+
B = f[U],
|
|
2530
2530
|
ie = p[U],
|
|
2531
|
-
ae = p[(
|
|
2532
|
-
_e = p[(
|
|
2533
|
-
|
|
2531
|
+
ae = p[(k + 1) % 5 + 5 * D],
|
|
2532
|
+
_e = p[(k + 2) % 5 + 5 * D];
|
|
2533
|
+
B.high = ie.high ^ ~ae.high & _e.high, B.low = ie.low ^ ~ae.low & _e.low;
|
|
2534
2534
|
}
|
|
2535
|
-
var
|
|
2536
|
-
ee = h[
|
|
2537
|
-
|
|
2535
|
+
var B = f[0],
|
|
2536
|
+
ee = h[E];
|
|
2537
|
+
B.high ^= ee.high, B.low ^= ee.low;
|
|
2538
2538
|
}
|
|
2539
2539
|
},
|
|
2540
2540
|
_doFinalize: function _doFinalize() {
|
|
@@ -2544,13 +2544,13 @@ function Mi() {
|
|
|
2544
2544
|
var f = x.sigBytes * 8,
|
|
2545
2545
|
v = this.blockSize * 32;
|
|
2546
2546
|
m[f >>> 5] |= 1 << 24 - f % 32, m[(n.ceil((f + 1) / v) * v >>> 5) - 1] |= 128, x.sigBytes = m.length * 4, this._process();
|
|
2547
|
-
for (var C = this._state,
|
|
2548
|
-
var
|
|
2549
|
-
y =
|
|
2550
|
-
|
|
2551
|
-
y = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360,
|
|
2547
|
+
for (var C = this._state, w = this.cfg.outputLength / 8, A = w / 8, B = [], E = 0; E < A; E++) {
|
|
2548
|
+
var k = C[E],
|
|
2549
|
+
y = k.high,
|
|
2550
|
+
b = k.low;
|
|
2551
|
+
y = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, b = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, B.push(b), B.push(y);
|
|
2552
2552
|
}
|
|
2553
|
-
return new i.init(
|
|
2553
|
+
return new i.init(B, w);
|
|
2554
2554
|
},
|
|
2555
2555
|
clone: function clone() {
|
|
2556
2556
|
for (var x = l.clone.call(this), m = x._state = this._state.slice(0), f = 0; f < 25; f++) m[f] = m[f].clone();
|
|
@@ -2597,13 +2597,13 @@ function Ni() {
|
|
|
2597
2597
|
_doReset: function _doReset() {
|
|
2598
2598
|
this._hash = i.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2599
2599
|
},
|
|
2600
|
-
_doProcessBlock: function _doProcessBlock(
|
|
2601
|
-
for (var
|
|
2602
|
-
var
|
|
2603
|
-
y =
|
|
2604
|
-
|
|
2600
|
+
_doProcessBlock: function _doProcessBlock(A, B) {
|
|
2601
|
+
for (var E = 0; E < 16; E++) {
|
|
2602
|
+
var k = B + E,
|
|
2603
|
+
y = A[k];
|
|
2604
|
+
A[k] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
|
|
2605
2605
|
}
|
|
2606
|
-
var
|
|
2606
|
+
var b = this._hash.words,
|
|
2607
2607
|
D = h.words,
|
|
2608
2608
|
S = p.words,
|
|
2609
2609
|
L = o.words,
|
|
@@ -2614,50 +2614,50 @@ function Ni() {
|
|
|
2614
2614
|
j,
|
|
2615
2615
|
G,
|
|
2616
2616
|
T,
|
|
2617
|
-
|
|
2618
|
-
|
|
2617
|
+
P,
|
|
2618
|
+
z,
|
|
2619
2619
|
$,
|
|
2620
2620
|
ie,
|
|
2621
2621
|
ae,
|
|
2622
2622
|
_e;
|
|
2623
|
-
|
|
2624
|
-
for (var ee,
|
|
2625
|
-
ee =
|
|
2623
|
+
z = U = b[0], $ = j = b[1], ie = G = b[2], ae = T = b[3], _e = P = b[4];
|
|
2624
|
+
for (var ee, E = 0; E < 80; E += 1) ee = U + A[B + L[E]] | 0, E < 16 ? ee += x(j, G, T) + D[0] : E < 32 ? ee += m(j, G, T) + D[1] : E < 48 ? ee += f(j, G, T) + D[2] : E < 64 ? ee += v(j, G, T) + D[3] : ee += C(j, G, T) + D[4], ee = ee | 0, ee = w(ee, W[E]), ee = ee + P | 0, U = P, P = T, T = w(G, 10), G = j, j = ee, ee = z + A[B + H[E]] | 0, E < 16 ? ee += C($, ie, ae) + S[0] : E < 32 ? ee += v($, ie, ae) + S[1] : E < 48 ? ee += f($, ie, ae) + S[2] : E < 64 ? ee += m($, ie, ae) + S[3] : ee += x($, ie, ae) + S[4], ee = ee | 0, ee = w(ee, q[E]), ee = ee + _e | 0, z = _e, _e = ae, ae = w(ie, 10), ie = $, $ = ee;
|
|
2625
|
+
ee = b[1] + G + ae | 0, b[1] = b[2] + T + _e | 0, b[2] = b[3] + P + z | 0, b[3] = b[4] + U + $ | 0, b[4] = b[0] + j + ie | 0, b[0] = ee;
|
|
2626
2626
|
},
|
|
2627
2627
|
_doFinalize: function _doFinalize() {
|
|
2628
|
-
var
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
for (var y = this._hash,
|
|
2634
|
-
var S =
|
|
2635
|
-
|
|
2628
|
+
var A = this._data,
|
|
2629
|
+
B = A.words,
|
|
2630
|
+
E = this._nDataBytes * 8,
|
|
2631
|
+
k = A.sigBytes * 8;
|
|
2632
|
+
B[k >>> 5] |= 128 << 24 - k % 32, B[(k + 64 >>> 9 << 4) + 14] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, A.sigBytes = (B.length + 1) * 4, this._process();
|
|
2633
|
+
for (var y = this._hash, b = y.words, D = 0; D < 5; D++) {
|
|
2634
|
+
var S = b[D];
|
|
2635
|
+
b[D] = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360;
|
|
2636
2636
|
}
|
|
2637
2637
|
return y;
|
|
2638
2638
|
},
|
|
2639
2639
|
clone: function clone() {
|
|
2640
|
-
var
|
|
2641
|
-
return
|
|
2640
|
+
var A = l.clone.call(this);
|
|
2641
|
+
return A._hash = this._hash.clone(), A;
|
|
2642
2642
|
}
|
|
2643
2643
|
});
|
|
2644
|
-
function x(
|
|
2645
|
-
return
|
|
2644
|
+
function x(A, B, E) {
|
|
2645
|
+
return A ^ B ^ E;
|
|
2646
2646
|
}
|
|
2647
|
-
function m(
|
|
2648
|
-
return
|
|
2647
|
+
function m(A, B, E) {
|
|
2648
|
+
return A & B | ~A & E;
|
|
2649
2649
|
}
|
|
2650
|
-
function f(
|
|
2651
|
-
return (
|
|
2650
|
+
function f(A, B, E) {
|
|
2651
|
+
return (A | ~B) ^ E;
|
|
2652
2652
|
}
|
|
2653
|
-
function v(
|
|
2654
|
-
return
|
|
2653
|
+
function v(A, B, E) {
|
|
2654
|
+
return A & E | B & ~E;
|
|
2655
2655
|
}
|
|
2656
|
-
function C(
|
|
2657
|
-
return
|
|
2656
|
+
function C(A, B, E) {
|
|
2657
|
+
return A ^ (B | ~E);
|
|
2658
2658
|
}
|
|
2659
|
-
function
|
|
2660
|
-
return
|
|
2659
|
+
function w(A, B) {
|
|
2660
|
+
return A << B | A >>> 32 - B;
|
|
2661
2661
|
}
|
|
2662
2662
|
a.RIPEMD160 = l._createHelper(g), a.HmacRIPEMD160 = l._createHmacHelper(g);
|
|
2663
2663
|
}(), t.RIPEMD160;
|
|
@@ -2809,13 +2809,13 @@ function Li() {
|
|
|
2809
2809
|
*/
|
|
2810
2810
|
compute: function compute(_, d) {
|
|
2811
2811
|
for (var h = this.cfg, p = o.create(h.hasher, _), g = i.create(), x = i.create([1]), m = g.words, f = x.words, v = h.keySize, C = h.iterations; m.length < v;) {
|
|
2812
|
-
var
|
|
2812
|
+
var w = p.update(d).finalize(x);
|
|
2813
2813
|
p.reset();
|
|
2814
|
-
for (var
|
|
2815
|
-
|
|
2816
|
-
for (var y =
|
|
2814
|
+
for (var A = w.words, B = A.length, E = w, k = 1; k < C; k++) {
|
|
2815
|
+
E = p.finalize(E), p.reset();
|
|
2816
|
+
for (var y = E.words, b = 0; b < B; b++) A[b] ^= y[b];
|
|
2817
2817
|
}
|
|
2818
|
-
g.concat(
|
|
2818
|
+
g.concat(w), f[0]++;
|
|
2819
2819
|
}
|
|
2820
2820
|
return g.sigBytes = v * 4, g;
|
|
2821
2821
|
}
|
|
@@ -2902,7 +2902,7 @@ var Ir = {
|
|
|
2902
2902
|
exports: {}
|
|
2903
2903
|
},
|
|
2904
2904
|
Bo;
|
|
2905
|
-
function
|
|
2905
|
+
function ge() {
|
|
2906
2906
|
return Bo || (Bo = 1, function (r, e) {
|
|
2907
2907
|
(function (t, n, a) {
|
|
2908
2908
|
r.exports = n(re(), et());
|
|
@@ -2939,8 +2939,8 @@ function me() {
|
|
|
2939
2939
|
*
|
|
2940
2940
|
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
|
|
2941
2941
|
*/
|
|
2942
|
-
createEncryptor: function createEncryptor(y,
|
|
2943
|
-
return this.create(this._ENC_XFORM_MODE, y,
|
|
2942
|
+
createEncryptor: function createEncryptor(y, b) {
|
|
2943
|
+
return this.create(this._ENC_XFORM_MODE, y, b);
|
|
2944
2944
|
},
|
|
2945
2945
|
/**
|
|
2946
2946
|
* Creates this cipher in decryption mode.
|
|
@@ -2956,8 +2956,8 @@ function me() {
|
|
|
2956
2956
|
*
|
|
2957
2957
|
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
|
|
2958
2958
|
*/
|
|
2959
|
-
createDecryptor: function createDecryptor(y,
|
|
2960
|
-
return this.create(this._DEC_XFORM_MODE, y,
|
|
2959
|
+
createDecryptor: function createDecryptor(y, b) {
|
|
2960
|
+
return this.create(this._DEC_XFORM_MODE, y, b);
|
|
2961
2961
|
},
|
|
2962
2962
|
/**
|
|
2963
2963
|
* Initializes a newly created cipher.
|
|
@@ -2970,8 +2970,8 @@ function me() {
|
|
|
2970
2970
|
*
|
|
2971
2971
|
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
|
2972
2972
|
*/
|
|
2973
|
-
init: function init(y,
|
|
2974
|
-
this.cfg = this.cfg.extend(D), this._xformMode = y, this._key =
|
|
2973
|
+
init: function init(y, b, D) {
|
|
2974
|
+
this.cfg = this.cfg.extend(D), this._xformMode = y, this._key = b, this.reset();
|
|
2975
2975
|
},
|
|
2976
2976
|
/**
|
|
2977
2977
|
* Resets this cipher to its initial state.
|
|
@@ -3014,8 +3014,8 @@ function me() {
|
|
|
3014
3014
|
*/
|
|
3015
3015
|
finalize: function finalize(y) {
|
|
3016
3016
|
y && this._append(y);
|
|
3017
|
-
var
|
|
3018
|
-
return
|
|
3017
|
+
var b = this._doFinalize();
|
|
3018
|
+
return b;
|
|
3019
3019
|
},
|
|
3020
3020
|
keySize: 128 / 32,
|
|
3021
3021
|
ivSize: 128 / 32,
|
|
@@ -3035,16 +3035,16 @@ function me() {
|
|
|
3035
3035
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
3036
3036
|
*/
|
|
3037
3037
|
_createHelper: /* @__PURE__ */function () {
|
|
3038
|
-
function y(
|
|
3039
|
-
return typeof
|
|
3038
|
+
function y(b) {
|
|
3039
|
+
return typeof b == "string" ? k : A;
|
|
3040
3040
|
}
|
|
3041
|
-
return function (
|
|
3041
|
+
return function (b) {
|
|
3042
3042
|
return {
|
|
3043
3043
|
encrypt: function encrypt(D, S, L) {
|
|
3044
|
-
return y(S).encrypt(
|
|
3044
|
+
return y(S).encrypt(b, D, S, L);
|
|
3045
3045
|
},
|
|
3046
3046
|
decrypt: function decrypt(D, S, L) {
|
|
3047
|
-
return y(S).decrypt(
|
|
3047
|
+
return y(S).decrypt(b, D, S, L);
|
|
3048
3048
|
}
|
|
3049
3049
|
};
|
|
3050
3050
|
};
|
|
@@ -3071,8 +3071,8 @@ function me() {
|
|
|
3071
3071
|
*
|
|
3072
3072
|
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
|
|
3073
3073
|
*/
|
|
3074
|
-
createEncryptor: function createEncryptor(y,
|
|
3075
|
-
return this.Encryptor.create(y,
|
|
3074
|
+
createEncryptor: function createEncryptor(y, b) {
|
|
3075
|
+
return this.Encryptor.create(y, b);
|
|
3076
3076
|
},
|
|
3077
3077
|
/**
|
|
3078
3078
|
* Creates this mode for decryption.
|
|
@@ -3086,8 +3086,8 @@ function me() {
|
|
|
3086
3086
|
*
|
|
3087
3087
|
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
|
|
3088
3088
|
*/
|
|
3089
|
-
createDecryptor: function createDecryptor(y,
|
|
3090
|
-
return this.Decryptor.create(y,
|
|
3089
|
+
createDecryptor: function createDecryptor(y, b) {
|
|
3090
|
+
return this.Decryptor.create(y, b);
|
|
3091
3091
|
},
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Initializes a newly created mode.
|
|
@@ -3099,8 +3099,8 @@ function me() {
|
|
|
3099
3099
|
*
|
|
3100
3100
|
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
|
|
3101
3101
|
*/
|
|
3102
|
-
init: function init(y,
|
|
3103
|
-
this._cipher = y, this._iv =
|
|
3102
|
+
init: function init(y, b) {
|
|
3103
|
+
this._cipher = y, this._iv = b;
|
|
3104
3104
|
}
|
|
3105
3105
|
}),
|
|
3106
3106
|
x = p.CBC = function () {
|
|
@@ -3119,7 +3119,7 @@ function me() {
|
|
|
3119
3119
|
processBlock: function processBlock(D, S) {
|
|
3120
3120
|
var L = this._cipher,
|
|
3121
3121
|
H = L.blockSize;
|
|
3122
|
-
|
|
3122
|
+
b.call(this, D, S, H), L.encryptBlock(D, S), this._prevBlock = D.slice(S, S + H);
|
|
3123
3123
|
}
|
|
3124
3124
|
}), y.Decryptor = y.extend({
|
|
3125
3125
|
/**
|
|
@@ -3136,10 +3136,10 @@ function me() {
|
|
|
3136
3136
|
var L = this._cipher,
|
|
3137
3137
|
H = L.blockSize,
|
|
3138
3138
|
W = D.slice(S, S + H);
|
|
3139
|
-
L.decryptBlock(D, S),
|
|
3139
|
+
L.decryptBlock(D, S), b.call(this, D, S, H), this._prevBlock = W;
|
|
3140
3140
|
}
|
|
3141
3141
|
});
|
|
3142
|
-
function
|
|
3142
|
+
function b(D, S, L) {
|
|
3143
3143
|
var H,
|
|
3144
3144
|
W = this._iv;
|
|
3145
3145
|
W ? (H = W, this._iv = n) : H = this._prevBlock;
|
|
@@ -3161,8 +3161,8 @@ function me() {
|
|
|
3161
3161
|
*
|
|
3162
3162
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3163
3163
|
*/
|
|
3164
|
-
pad: function pad(y,
|
|
3165
|
-
for (var D =
|
|
3164
|
+
pad: function pad(y, b) {
|
|
3165
|
+
for (var D = b * 4, S = D - y.sigBytes % D, L = S << 24 | S << 16 | S << 8 | S, H = [], W = 0; W < S; W += 4) H.push(L);
|
|
3166
3166
|
var q = l.create(H, S);
|
|
3167
3167
|
y.concat(q);
|
|
3168
3168
|
},
|
|
@@ -3178,8 +3178,8 @@ function me() {
|
|
|
3178
3178
|
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
|
3179
3179
|
*/
|
|
3180
3180
|
unpad: function unpad(y) {
|
|
3181
|
-
var
|
|
3182
|
-
y.sigBytes -=
|
|
3181
|
+
var b = y.words[y.sigBytes - 1 >>> 2] & 255;
|
|
3182
|
+
y.sigBytes -= b;
|
|
3183
3183
|
}
|
|
3184
3184
|
};
|
|
3185
3185
|
s.BlockCipher = h.extend({
|
|
@@ -3196,18 +3196,18 @@ function me() {
|
|
|
3196
3196
|
reset: function reset() {
|
|
3197
3197
|
var y;
|
|
3198
3198
|
h.reset.call(this);
|
|
3199
|
-
var
|
|
3200
|
-
D =
|
|
3201
|
-
S =
|
|
3199
|
+
var b = this.cfg,
|
|
3200
|
+
D = b.iv,
|
|
3201
|
+
S = b.mode;
|
|
3202
3202
|
this._xformMode == this._ENC_XFORM_MODE ? y = S.createEncryptor : (y = S.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == y ? this._mode.init(this, D && D.words) : (this._mode = y.call(S, this, D && D.words), this._mode.__creator = y);
|
|
3203
3203
|
},
|
|
3204
|
-
_doProcessBlock: function _doProcessBlock(y,
|
|
3205
|
-
this._mode.processBlock(y,
|
|
3204
|
+
_doProcessBlock: function _doProcessBlock(y, b) {
|
|
3205
|
+
this._mode.processBlock(y, b);
|
|
3206
3206
|
},
|
|
3207
3207
|
_doFinalize: function _doFinalize() {
|
|
3208
3208
|
var y,
|
|
3209
|
-
|
|
3210
|
-
return this._xformMode == this._ENC_XFORM_MODE ? (
|
|
3209
|
+
b = this.cfg.padding;
|
|
3210
|
+
return this._xformMode == this._ENC_XFORM_MODE ? (b.pad(this._data, this.blockSize), y = this._process(true)) : (y = this._process(true), b.unpad(y)), y;
|
|
3211
3211
|
},
|
|
3212
3212
|
blockSize: 128 / 32
|
|
3213
3213
|
});
|
|
@@ -3254,7 +3254,7 @@ function me() {
|
|
|
3254
3254
|
}
|
|
3255
3255
|
}),
|
|
3256
3256
|
C = a.format = {},
|
|
3257
|
-
|
|
3257
|
+
w = C.OpenSSL = {
|
|
3258
3258
|
/**
|
|
3259
3259
|
* Converts a cipher params object to an OpenSSL-compatible string.
|
|
3260
3260
|
*
|
|
@@ -3269,10 +3269,10 @@ function me() {
|
|
|
3269
3269
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
3270
3270
|
*/
|
|
3271
3271
|
stringify: function stringify(y) {
|
|
3272
|
-
var
|
|
3272
|
+
var b,
|
|
3273
3273
|
D = y.ciphertext,
|
|
3274
3274
|
S = y.salt;
|
|
3275
|
-
return S ?
|
|
3275
|
+
return S ? b = l.create([1398893684, 1701076831]).concat(S).concat(D) : b = D, b.toString(c);
|
|
3276
3276
|
},
|
|
3277
3277
|
/**
|
|
3278
3278
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -3288,23 +3288,23 @@ function me() {
|
|
|
3288
3288
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
3289
3289
|
*/
|
|
3290
3290
|
parse: function parse(y) {
|
|
3291
|
-
var
|
|
3291
|
+
var b,
|
|
3292
3292
|
D = c.parse(y),
|
|
3293
3293
|
S = D.words;
|
|
3294
|
-
return S[0] == 1398893684 && S[1] == 1701076831 && (
|
|
3294
|
+
return S[0] == 1398893684 && S[1] == 1701076831 && (b = l.create(S.slice(2, 4)), S.splice(0, 4), D.sigBytes -= 16), v.create({
|
|
3295
3295
|
ciphertext: D,
|
|
3296
|
-
salt:
|
|
3296
|
+
salt: b
|
|
3297
3297
|
});
|
|
3298
3298
|
}
|
|
3299
3299
|
},
|
|
3300
|
-
|
|
3300
|
+
A = s.SerializableCipher = i.extend({
|
|
3301
3301
|
/**
|
|
3302
3302
|
* Configuration options.
|
|
3303
3303
|
*
|
|
3304
3304
|
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
|
|
3305
3305
|
*/
|
|
3306
3306
|
cfg: i.extend({
|
|
3307
|
-
format:
|
|
3307
|
+
format: w
|
|
3308
3308
|
}),
|
|
3309
3309
|
/**
|
|
3310
3310
|
* Encrypts a message.
|
|
@@ -3324,10 +3324,10 @@ function me() {
|
|
|
3324
3324
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
|
3325
3325
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3326
3326
|
*/
|
|
3327
|
-
encrypt: function encrypt(y,
|
|
3327
|
+
encrypt: function encrypt(y, b, D, S) {
|
|
3328
3328
|
S = this.cfg.extend(S);
|
|
3329
3329
|
var L = y.createEncryptor(D, S),
|
|
3330
|
-
H = L.finalize(
|
|
3330
|
+
H = L.finalize(b),
|
|
3331
3331
|
W = L.cfg;
|
|
3332
3332
|
return v.create({
|
|
3333
3333
|
ciphertext: H,
|
|
@@ -3357,9 +3357,9 @@ function me() {
|
|
|
3357
3357
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3358
3358
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3359
3359
|
*/
|
|
3360
|
-
decrypt: function decrypt(y,
|
|
3361
|
-
S = this.cfg.extend(S),
|
|
3362
|
-
var L = y.createDecryptor(D, S).finalize(
|
|
3360
|
+
decrypt: function decrypt(y, b, D, S) {
|
|
3361
|
+
S = this.cfg.extend(S), b = this._parse(b, S.format);
|
|
3362
|
+
var L = y.createDecryptor(D, S).finalize(b.ciphertext);
|
|
3363
3363
|
return L;
|
|
3364
3364
|
},
|
|
3365
3365
|
/**
|
|
@@ -3377,12 +3377,12 @@ function me() {
|
|
|
3377
3377
|
*
|
|
3378
3378
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
|
3379
3379
|
*/
|
|
3380
|
-
_parse: function _parse(y,
|
|
3381
|
-
return typeof y == "string" ?
|
|
3380
|
+
_parse: function _parse(y, b) {
|
|
3381
|
+
return typeof y == "string" ? b.parse(y, this) : y;
|
|
3382
3382
|
}
|
|
3383
3383
|
}),
|
|
3384
|
-
|
|
3385
|
-
|
|
3384
|
+
B = a.kdf = {},
|
|
3385
|
+
E = B.OpenSSL = {
|
|
3386
3386
|
/**
|
|
3387
3387
|
* Derives a key and IV from a password.
|
|
3388
3388
|
*
|
|
@@ -3400,29 +3400,29 @@ function me() {
|
|
|
3400
3400
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
3401
3401
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
3402
3402
|
*/
|
|
3403
|
-
execute: function execute(y,
|
|
3403
|
+
execute: function execute(y, b, D, S, L) {
|
|
3404
3404
|
if (S || (S = l.random(64 / 8)), L) var H = d.create({
|
|
3405
|
-
keySize:
|
|
3405
|
+
keySize: b + D,
|
|
3406
3406
|
hasher: L
|
|
3407
3407
|
}).compute(y, S);else var H = d.create({
|
|
3408
|
-
keySize:
|
|
3408
|
+
keySize: b + D
|
|
3409
3409
|
}).compute(y, S);
|
|
3410
|
-
var W = l.create(H.words.slice(
|
|
3411
|
-
return H.sigBytes =
|
|
3410
|
+
var W = l.create(H.words.slice(b), D * 4);
|
|
3411
|
+
return H.sigBytes = b * 4, v.create({
|
|
3412
3412
|
key: H,
|
|
3413
3413
|
iv: W,
|
|
3414
3414
|
salt: S
|
|
3415
3415
|
});
|
|
3416
3416
|
}
|
|
3417
3417
|
},
|
|
3418
|
-
|
|
3418
|
+
k = s.PasswordBasedCipher = A.extend({
|
|
3419
3419
|
/**
|
|
3420
3420
|
* Configuration options.
|
|
3421
3421
|
*
|
|
3422
3422
|
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
|
3423
3423
|
*/
|
|
3424
|
-
cfg:
|
|
3425
|
-
kdf:
|
|
3424
|
+
cfg: A.cfg.extend({
|
|
3425
|
+
kdf: E
|
|
3426
3426
|
}),
|
|
3427
3427
|
/**
|
|
3428
3428
|
* Encrypts a message using a password.
|
|
@@ -3441,11 +3441,11 @@ function me() {
|
|
|
3441
3441
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
|
3442
3442
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3443
3443
|
*/
|
|
3444
|
-
encrypt: function encrypt(y,
|
|
3444
|
+
encrypt: function encrypt(y, b, D, S) {
|
|
3445
3445
|
S = this.cfg.extend(S);
|
|
3446
3446
|
var L = S.kdf.execute(D, y.keySize, y.ivSize, S.salt, S.hasher);
|
|
3447
3447
|
S.iv = L.iv;
|
|
3448
|
-
var H =
|
|
3448
|
+
var H = A.encrypt.call(this, y, b, L.key, S);
|
|
3449
3449
|
return H.mixIn(L), H;
|
|
3450
3450
|
},
|
|
3451
3451
|
/**
|
|
@@ -3465,11 +3465,11 @@ function me() {
|
|
|
3465
3465
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3466
3466
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3467
3467
|
*/
|
|
3468
|
-
decrypt: function decrypt(y,
|
|
3469
|
-
S = this.cfg.extend(S),
|
|
3470
|
-
var L = S.kdf.execute(D, y.keySize, y.ivSize,
|
|
3468
|
+
decrypt: function decrypt(y, b, D, S) {
|
|
3469
|
+
S = this.cfg.extend(S), b = this._parse(b, S.format);
|
|
3470
|
+
var L = S.kdf.execute(D, y.keySize, y.ivSize, b.salt, S.hasher);
|
|
3471
3471
|
S.iv = L.iv;
|
|
3472
|
-
var H =
|
|
3472
|
+
var H = A.decrypt.call(this, y, b, L.key, S);
|
|
3473
3473
|
return H;
|
|
3474
3474
|
}
|
|
3475
3475
|
});
|
|
@@ -3484,7 +3484,7 @@ var Tr = {
|
|
|
3484
3484
|
function Hi() {
|
|
3485
3485
|
return ko || (ko = 1, function (r, e) {
|
|
3486
3486
|
(function (t, n, a) {
|
|
3487
|
-
r.exports = n(re(),
|
|
3487
|
+
r.exports = n(re(), ge());
|
|
3488
3488
|
})(te, function (t) {
|
|
3489
3489
|
return t.mode.CFB = function () {
|
|
3490
3490
|
var n = t.lib.BlockCipherMode.extend();
|
|
@@ -3520,7 +3520,7 @@ var Pr = {
|
|
|
3520
3520
|
function Ui() {
|
|
3521
3521
|
return Do || (Do = 1, function (r, e) {
|
|
3522
3522
|
(function (t, n, a) {
|
|
3523
|
-
r.exports = n(re(),
|
|
3523
|
+
r.exports = n(re(), ge());
|
|
3524
3524
|
})(te, function (t) {
|
|
3525
3525
|
return t.mode.CTR = function () {
|
|
3526
3526
|
var n = t.lib.BlockCipherMode.extend(),
|
|
@@ -3548,7 +3548,7 @@ var Rr = {
|
|
|
3548
3548
|
function ji() {
|
|
3549
3549
|
return So || (So = 1, function (r, e) {
|
|
3550
3550
|
(function (t, n, a) {
|
|
3551
|
-
r.exports = n(re(),
|
|
3551
|
+
r.exports = n(re(), ge());
|
|
3552
3552
|
})(te, function (t) {
|
|
3553
3553
|
/** @preserve
|
|
3554
3554
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
@@ -3593,7 +3593,7 @@ var $r = {
|
|
|
3593
3593
|
function qi() {
|
|
3594
3594
|
return Fo || (Fo = 1, function (r, e) {
|
|
3595
3595
|
(function (t, n, a) {
|
|
3596
|
-
r.exports = n(re(),
|
|
3596
|
+
r.exports = n(re(), ge());
|
|
3597
3597
|
})(te, function (t) {
|
|
3598
3598
|
return t.mode.OFB = function () {
|
|
3599
3599
|
var n = t.lib.BlockCipherMode.extend(),
|
|
@@ -3612,14 +3612,14 @@ function qi() {
|
|
|
3612
3612
|
});
|
|
3613
3613
|
}($r)), $r.exports;
|
|
3614
3614
|
}
|
|
3615
|
-
var
|
|
3615
|
+
var zr = {
|
|
3616
3616
|
exports: {}
|
|
3617
3617
|
},
|
|
3618
3618
|
Io;
|
|
3619
3619
|
function Wi() {
|
|
3620
3620
|
return Io || (Io = 1, function (r, e) {
|
|
3621
3621
|
(function (t, n, a) {
|
|
3622
|
-
r.exports = n(re(),
|
|
3622
|
+
r.exports = n(re(), ge());
|
|
3623
3623
|
})(te, function (t) {
|
|
3624
3624
|
return t.mode.ECB = function () {
|
|
3625
3625
|
var n = t.lib.BlockCipherMode.extend();
|
|
@@ -3634,16 +3634,16 @@ function Wi() {
|
|
|
3634
3634
|
}), n;
|
|
3635
3635
|
}(), t.mode.ECB;
|
|
3636
3636
|
});
|
|
3637
|
-
}(
|
|
3637
|
+
}(zr)), zr.exports;
|
|
3638
3638
|
}
|
|
3639
|
-
var
|
|
3639
|
+
var Or = {
|
|
3640
3640
|
exports: {}
|
|
3641
3641
|
},
|
|
3642
3642
|
To;
|
|
3643
3643
|
function Vi() {
|
|
3644
3644
|
return To || (To = 1, function (r, e) {
|
|
3645
3645
|
(function (t, n, a) {
|
|
3646
|
-
r.exports = n(re(),
|
|
3646
|
+
r.exports = n(re(), ge());
|
|
3647
3647
|
})(te, function (t) {
|
|
3648
3648
|
return t.pad.AnsiX923 = {
|
|
3649
3649
|
pad: function pad(n, a) {
|
|
@@ -3659,7 +3659,7 @@ function Vi() {
|
|
|
3659
3659
|
}
|
|
3660
3660
|
}, t.pad.Ansix923;
|
|
3661
3661
|
});
|
|
3662
|
-
}(
|
|
3662
|
+
}(Or)), Or.exports;
|
|
3663
3663
|
}
|
|
3664
3664
|
var Mr = {
|
|
3665
3665
|
exports: {}
|
|
@@ -3668,7 +3668,7 @@ var Mr = {
|
|
|
3668
3668
|
function Ki() {
|
|
3669
3669
|
return Po || (Po = 1, function (r, e) {
|
|
3670
3670
|
(function (t, n, a) {
|
|
3671
|
-
r.exports = n(re(),
|
|
3671
|
+
r.exports = n(re(), ge());
|
|
3672
3672
|
})(te, function (t) {
|
|
3673
3673
|
return t.pad.Iso10126 = {
|
|
3674
3674
|
pad: function pad(n, a) {
|
|
@@ -3691,7 +3691,7 @@ var Nr = {
|
|
|
3691
3691
|
function Gi() {
|
|
3692
3692
|
return Ro || (Ro = 1, function (r, e) {
|
|
3693
3693
|
(function (t, n, a) {
|
|
3694
|
-
r.exports = n(re(),
|
|
3694
|
+
r.exports = n(re(), ge());
|
|
3695
3695
|
})(te, function (t) {
|
|
3696
3696
|
return t.pad.Iso97971 = {
|
|
3697
3697
|
pad: function pad(n, a) {
|
|
@@ -3711,7 +3711,7 @@ var Lr = {
|
|
|
3711
3711
|
function Xi() {
|
|
3712
3712
|
return $o || ($o = 1, function (r, e) {
|
|
3713
3713
|
(function (t, n, a) {
|
|
3714
|
-
r.exports = n(re(),
|
|
3714
|
+
r.exports = n(re(), ge());
|
|
3715
3715
|
})(te, function (t) {
|
|
3716
3716
|
return t.pad.ZeroPadding = {
|
|
3717
3717
|
pad: function pad(n, a) {
|
|
@@ -3731,11 +3731,11 @@ function Xi() {
|
|
|
3731
3731
|
var Hr = {
|
|
3732
3732
|
exports: {}
|
|
3733
3733
|
},
|
|
3734
|
-
|
|
3734
|
+
zo;
|
|
3735
3735
|
function Qi() {
|
|
3736
|
-
return
|
|
3736
|
+
return zo || (zo = 1, function (r, e) {
|
|
3737
3737
|
(function (t, n, a) {
|
|
3738
|
-
r.exports = n(re(),
|
|
3738
|
+
r.exports = n(re(), ge());
|
|
3739
3739
|
})(te, function (t) {
|
|
3740
3740
|
return t.pad.NoPadding = {
|
|
3741
3741
|
pad: function pad() {},
|
|
@@ -3747,11 +3747,11 @@ function Qi() {
|
|
|
3747
3747
|
var Ur = {
|
|
3748
3748
|
exports: {}
|
|
3749
3749
|
},
|
|
3750
|
-
|
|
3750
|
+
Oo;
|
|
3751
3751
|
function Zi() {
|
|
3752
|
-
return
|
|
3752
|
+
return Oo || (Oo = 1, function (r, e) {
|
|
3753
3753
|
(function (t, n, a) {
|
|
3754
|
-
r.exports = n(re(),
|
|
3754
|
+
r.exports = n(re(), ge());
|
|
3755
3755
|
})(te, function (t) {
|
|
3756
3756
|
return function (n) {
|
|
3757
3757
|
var a = t,
|
|
@@ -3808,7 +3808,7 @@ var jr = {
|
|
|
3808
3808
|
function Ji() {
|
|
3809
3809
|
return Mo || (Mo = 1, function (r, e) {
|
|
3810
3810
|
(function (t, n, a) {
|
|
3811
|
-
r.exports = n(re(), ut(), dt(), et(),
|
|
3811
|
+
r.exports = n(re(), ut(), dt(), et(), ge());
|
|
3812
3812
|
})(te, function (t) {
|
|
3813
3813
|
return function () {
|
|
3814
3814
|
var n = t,
|
|
@@ -3827,16 +3827,16 @@ function Ji() {
|
|
|
3827
3827
|
x = [];
|
|
3828
3828
|
(function () {
|
|
3829
3829
|
for (var v = [], C = 0; C < 256; C++) C < 128 ? v[C] = C << 1 : v[C] = C << 1 ^ 283;
|
|
3830
|
-
for (var
|
|
3831
|
-
var
|
|
3832
|
-
|
|
3833
|
-
var
|
|
3834
|
-
|
|
3835
|
-
y = v[
|
|
3836
|
-
|
|
3837
|
-
o[
|
|
3838
|
-
var
|
|
3839
|
-
h[
|
|
3830
|
+
for (var w = 0, A = 0, C = 0; C < 256; C++) {
|
|
3831
|
+
var B = A ^ A << 1 ^ A << 2 ^ A << 3 ^ A << 4;
|
|
3832
|
+
B = B >>> 8 ^ B & 255 ^ 99, l[w] = B, u[B] = w;
|
|
3833
|
+
var E = v[w],
|
|
3834
|
+
k = v[E],
|
|
3835
|
+
y = v[k],
|
|
3836
|
+
b = v[B] * 257 ^ B * 16843008;
|
|
3837
|
+
o[w] = b << 24 | b >>> 8, c[w] = b << 16 | b >>> 16, _[w] = b << 8 | b >>> 24, d[w] = b;
|
|
3838
|
+
var b = y * 16843009 ^ k * 65537 ^ E * 257 ^ w * 16843008;
|
|
3839
|
+
h[B] = b << 24 | b >>> 8, p[B] = b << 16 | b >>> 16, g[B] = b << 8 | b >>> 24, x[B] = b, w ? (w = E ^ v[v[v[y ^ E]]], A ^= v[v[A]]) : w = A = 1;
|
|
3840
3840
|
}
|
|
3841
3841
|
})();
|
|
3842
3842
|
var m = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
|
|
@@ -3844,11 +3844,11 @@ function Ji() {
|
|
|
3844
3844
|
_doReset: function _doReset() {
|
|
3845
3845
|
var v;
|
|
3846
3846
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
3847
|
-
for (var C = this._keyPriorReset = this._key,
|
|
3848
|
-
for (var
|
|
3849
|
-
var y =
|
|
3850
|
-
if (D % 4) var v =
|
|
3851
|
-
D < 4 || y <= 4 ?
|
|
3847
|
+
for (var C = this._keyPriorReset = this._key, w = C.words, A = C.sigBytes / 4, B = this._nRounds = A + 6, E = (B + 1) * 4, k = this._keySchedule = [], y = 0; y < E; y++) y < A ? k[y] = w[y] : (v = k[y - 1], y % A ? A > 6 && y % A == 4 && (v = l[v >>> 24] << 24 | l[v >>> 16 & 255] << 16 | l[v >>> 8 & 255] << 8 | l[v & 255]) : (v = v << 8 | v >>> 24, v = l[v >>> 24] << 24 | l[v >>> 16 & 255] << 16 | l[v >>> 8 & 255] << 8 | l[v & 255], v ^= m[y / A | 0] << 24), k[y] = k[y - A] ^ v);
|
|
3848
|
+
for (var b = this._invKeySchedule = [], D = 0; D < E; D++) {
|
|
3849
|
+
var y = E - D;
|
|
3850
|
+
if (D % 4) var v = k[y];else var v = k[y - 4];
|
|
3851
|
+
D < 4 || y <= 4 ? b[D] = v : b[D] = h[l[v >>> 24]] ^ p[l[v >>> 16 & 255]] ^ g[l[v >>> 8 & 255]] ^ x[l[v & 255]];
|
|
3852
3852
|
}
|
|
3853
3853
|
}
|
|
3854
3854
|
},
|
|
@@ -3856,23 +3856,23 @@ function Ji() {
|
|
|
3856
3856
|
this._doCryptBlock(v, C, this._keySchedule, o, c, _, d, l);
|
|
3857
3857
|
},
|
|
3858
3858
|
decryptBlock: function decryptBlock(v, C) {
|
|
3859
|
-
var
|
|
3860
|
-
v[C + 1] = v[C + 3], v[C + 3] =
|
|
3861
|
-
var
|
|
3862
|
-
v[C + 1] = v[C + 3], v[C + 3] =
|
|
3859
|
+
var w = v[C + 1];
|
|
3860
|
+
v[C + 1] = v[C + 3], v[C + 3] = w, this._doCryptBlock(v, C, this._invKeySchedule, h, p, g, x, u);
|
|
3861
|
+
var w = v[C + 1];
|
|
3862
|
+
v[C + 1] = v[C + 3], v[C + 3] = w;
|
|
3863
3863
|
},
|
|
3864
|
-
_doCryptBlock: function _doCryptBlock(v, C,
|
|
3865
|
-
for (var
|
|
3866
|
-
var U =
|
|
3867
|
-
j =
|
|
3868
|
-
G =
|
|
3869
|
-
T =
|
|
3864
|
+
_doCryptBlock: function _doCryptBlock(v, C, w, A, B, E, k, y) {
|
|
3865
|
+
for (var b = this._nRounds, D = v[C] ^ w[0], S = v[C + 1] ^ w[1], L = v[C + 2] ^ w[2], H = v[C + 3] ^ w[3], W = 4, q = 1; q < b; q++) {
|
|
3866
|
+
var U = A[D >>> 24] ^ B[S >>> 16 & 255] ^ E[L >>> 8 & 255] ^ k[H & 255] ^ w[W++],
|
|
3867
|
+
j = A[S >>> 24] ^ B[L >>> 16 & 255] ^ E[H >>> 8 & 255] ^ k[D & 255] ^ w[W++],
|
|
3868
|
+
G = A[L >>> 24] ^ B[H >>> 16 & 255] ^ E[D >>> 8 & 255] ^ k[S & 255] ^ w[W++],
|
|
3869
|
+
T = A[H >>> 24] ^ B[D >>> 16 & 255] ^ E[S >>> 8 & 255] ^ k[L & 255] ^ w[W++];
|
|
3870
3870
|
D = U, S = j, L = G, H = T;
|
|
3871
3871
|
}
|
|
3872
|
-
var U = (y[D >>> 24] << 24 | y[S >>> 16 & 255] << 16 | y[L >>> 8 & 255] << 8 | y[H & 255]) ^
|
|
3873
|
-
j = (y[S >>> 24] << 24 | y[L >>> 16 & 255] << 16 | y[H >>> 8 & 255] << 8 | y[D & 255]) ^
|
|
3874
|
-
G = (y[L >>> 24] << 24 | y[H >>> 16 & 255] << 16 | y[D >>> 8 & 255] << 8 | y[S & 255]) ^
|
|
3875
|
-
T = (y[H >>> 24] << 24 | y[D >>> 16 & 255] << 16 | y[S >>> 8 & 255] << 8 | y[L & 255]) ^
|
|
3872
|
+
var U = (y[D >>> 24] << 24 | y[S >>> 16 & 255] << 16 | y[L >>> 8 & 255] << 8 | y[H & 255]) ^ w[W++],
|
|
3873
|
+
j = (y[S >>> 24] << 24 | y[L >>> 16 & 255] << 16 | y[H >>> 8 & 255] << 8 | y[D & 255]) ^ w[W++],
|
|
3874
|
+
G = (y[L >>> 24] << 24 | y[H >>> 16 & 255] << 16 | y[D >>> 8 & 255] << 8 | y[S & 255]) ^ w[W++],
|
|
3875
|
+
T = (y[H >>> 24] << 24 | y[D >>> 16 & 255] << 16 | y[S >>> 8 & 255] << 8 | y[L & 255]) ^ w[W++];
|
|
3876
3876
|
v[C] = U, v[C + 1] = j, v[C + 2] = G, v[C + 3] = T;
|
|
3877
3877
|
},
|
|
3878
3878
|
keySize: 256 / 32
|
|
@@ -3889,7 +3889,7 @@ var qr = {
|
|
|
3889
3889
|
function Yi() {
|
|
3890
3890
|
return No || (No = 1, function (r, e) {
|
|
3891
3891
|
(function (t, n, a) {
|
|
3892
|
-
r.exports = n(re(), ut(), dt(), et(),
|
|
3892
|
+
r.exports = n(re(), ut(), dt(), et(), ge());
|
|
3893
3893
|
})(te, function (t) {
|
|
3894
3894
|
return function () {
|
|
3895
3895
|
var n = t,
|
|
@@ -4425,16 +4425,16 @@ function Yi() {
|
|
|
4425
4425
|
h = l.DES = i.extend({
|
|
4426
4426
|
_doReset: function _doReset() {
|
|
4427
4427
|
for (var m = this._key, f = m.words, v = [], C = 0; C < 56; C++) {
|
|
4428
|
-
var
|
|
4429
|
-
v[C] = f[
|
|
4428
|
+
var w = u[C] - 1;
|
|
4429
|
+
v[C] = f[w >>> 5] >>> 31 - w % 32 & 1;
|
|
4430
4430
|
}
|
|
4431
|
-
for (var
|
|
4432
|
-
for (var
|
|
4433
|
-
|
|
4434
|
-
for (var C = 1; C < 7; C++)
|
|
4435
|
-
|
|
4431
|
+
for (var A = this._subKeys = [], B = 0; B < 16; B++) {
|
|
4432
|
+
for (var E = A[B] = [], k = c[B], C = 0; C < 24; C++) E[C / 6 | 0] |= v[(o[C] - 1 + k) % 28] << 31 - C % 6, E[4 + (C / 6 | 0)] |= v[28 + (o[C + 24] - 1 + k) % 28] << 31 - C % 6;
|
|
4433
|
+
E[0] = E[0] << 1 | E[0] >>> 31;
|
|
4434
|
+
for (var C = 1; C < 7; C++) E[C] = E[C] >>> (C - 1) * 4 + 3;
|
|
4435
|
+
E[7] = E[7] << 5 | E[7] >>> 27;
|
|
4436
4436
|
}
|
|
4437
|
-
for (var y = this._invSubKeys = [], C = 0; C < 16; C++) y[C] =
|
|
4437
|
+
for (var y = this._invSubKeys = [], C = 0; C < 16; C++) y[C] = A[15 - C];
|
|
4438
4438
|
},
|
|
4439
4439
|
encryptBlock: function encryptBlock(m, f) {
|
|
4440
4440
|
this._doCryptBlock(m, f, this._subKeys);
|
|
@@ -4445,8 +4445,8 @@ function Yi() {
|
|
|
4445
4445
|
_doCryptBlock: function _doCryptBlock(m, f, v) {
|
|
4446
4446
|
this._lBlock = m[f], this._rBlock = m[f + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), g.call(this, 2, 858993459), g.call(this, 8, 16711935), p.call(this, 1, 1431655765);
|
|
4447
4447
|
for (var C = 0; C < 16; C++) {
|
|
4448
|
-
for (var
|
|
4449
|
-
this._lBlock =
|
|
4448
|
+
for (var w = v[C], A = this._lBlock, B = this._rBlock, E = 0, k = 0; k < 8; k++) E |= _[k][((B ^ w[k]) & d[k]) >>> 0];
|
|
4449
|
+
this._lBlock = B, this._rBlock = A ^ E;
|
|
4450
4450
|
}
|
|
4451
4451
|
var y = this._lBlock;
|
|
4452
4452
|
this._lBlock = this._rBlock, this._rBlock = y, p.call(this, 1, 1431655765), g.call(this, 8, 16711935), g.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), m[f] = this._lBlock, m[f + 1] = this._rBlock;
|
|
@@ -4471,8 +4471,8 @@ function Yi() {
|
|
|
4471
4471
|
if (f.length !== 2 && f.length !== 4 && f.length < 6) throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
4472
4472
|
var v = f.slice(0, 2),
|
|
4473
4473
|
C = f.length < 4 ? f.slice(0, 2) : f.slice(2, 4),
|
|
4474
|
-
|
|
4475
|
-
this._des1 = h.createEncryptor(s.create(v)), this._des2 = h.createEncryptor(s.create(C)), this._des3 = h.createEncryptor(s.create(
|
|
4474
|
+
w = f.length < 6 ? f.slice(0, 2) : f.slice(4, 6);
|
|
4475
|
+
this._des1 = h.createEncryptor(s.create(v)), this._des2 = h.createEncryptor(s.create(C)), this._des3 = h.createEncryptor(s.create(w));
|
|
4476
4476
|
},
|
|
4477
4477
|
encryptBlock: function encryptBlock(m, f) {
|
|
4478
4478
|
this._des1.encryptBlock(m, f), this._des2.decryptBlock(m, f), this._des3.encryptBlock(m, f);
|
|
@@ -4496,7 +4496,7 @@ var Wr = {
|
|
|
4496
4496
|
function ec() {
|
|
4497
4497
|
return Lo || (Lo = 1, function (r, e) {
|
|
4498
4498
|
(function (t, n, a) {
|
|
4499
|
-
r.exports = n(re(), ut(), dt(), et(),
|
|
4499
|
+
r.exports = n(re(), ut(), dt(), et(), ge());
|
|
4500
4500
|
})(te, function (t) {
|
|
4501
4501
|
return function () {
|
|
4502
4502
|
var n = t,
|
|
@@ -4556,7 +4556,7 @@ var Vr = {
|
|
|
4556
4556
|
function tc() {
|
|
4557
4557
|
return Ho || (Ho = 1, function (r, e) {
|
|
4558
4558
|
(function (t, n, a) {
|
|
4559
|
-
r.exports = n(re(), ut(), dt(), et(),
|
|
4559
|
+
r.exports = n(re(), ut(), dt(), et(), ge());
|
|
4560
4560
|
})(te, function (t) {
|
|
4561
4561
|
return function () {
|
|
4562
4562
|
var n = t,
|
|
@@ -4579,10 +4579,10 @@ function tc() {
|
|
|
4579
4579
|
f = m[0],
|
|
4580
4580
|
v = m[1],
|
|
4581
4581
|
C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360,
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
x[0] ^= C, x[1] ^=
|
|
4582
|
+
w = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360,
|
|
4583
|
+
A = C >>> 16 | w & 4294901760,
|
|
4584
|
+
B = w << 16 | C & 65535;
|
|
4585
|
+
x[0] ^= C, x[1] ^= A, x[2] ^= w, x[3] ^= B, x[4] ^= C, x[5] ^= A, x[6] ^= w, x[7] ^= B;
|
|
4586
4586
|
for (var p = 0; p < 4; p++) _.call(this);
|
|
4587
4587
|
}
|
|
4588
4588
|
},
|
|
@@ -4619,7 +4619,7 @@ var Kr = {
|
|
|
4619
4619
|
function rc() {
|
|
4620
4620
|
return Uo || (Uo = 1, function (r, e) {
|
|
4621
4621
|
(function (t, n, a) {
|
|
4622
|
-
r.exports = n(re(), ut(), dt(), et(),
|
|
4622
|
+
r.exports = n(re(), ut(), dt(), et(), ge());
|
|
4623
4623
|
})(te, function (t) {
|
|
4624
4624
|
return function () {
|
|
4625
4625
|
var n = t,
|
|
@@ -4643,10 +4643,10 @@ function rc() {
|
|
|
4643
4643
|
f = m[0],
|
|
4644
4644
|
v = m[1],
|
|
4645
4645
|
C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360,
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
g[0] ^= C, g[1] ^=
|
|
4646
|
+
w = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360,
|
|
4647
|
+
A = C >>> 16 | w & 4294901760,
|
|
4648
|
+
B = w << 16 | C & 65535;
|
|
4649
|
+
g[0] ^= C, g[1] ^= A, g[2] ^= w, g[3] ^= B, g[4] ^= C, g[5] ^= A, g[6] ^= w, g[7] ^= B;
|
|
4650
4650
|
for (var x = 0; x < 4; x++) _.call(this);
|
|
4651
4651
|
}
|
|
4652
4652
|
},
|
|
@@ -4683,7 +4683,7 @@ var Gr = {
|
|
|
4683
4683
|
function nc() {
|
|
4684
4684
|
return jo || (jo = 1, function (r, e) {
|
|
4685
4685
|
(function (t, n, a) {
|
|
4686
|
-
r.exports = n(re(), ut(), dt(), et(),
|
|
4686
|
+
r.exports = n(re(), ut(), dt(), et(), ge());
|
|
4687
4687
|
})(te, function (t) {
|
|
4688
4688
|
return function () {
|
|
4689
4689
|
var n = t,
|
|
@@ -4701,16 +4701,16 @@ function nc() {
|
|
|
4701
4701
|
var f = m >> 24 & 255,
|
|
4702
4702
|
v = m >> 16 & 255,
|
|
4703
4703
|
C = m >> 8 & 255,
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
return
|
|
4704
|
+
w = m & 255,
|
|
4705
|
+
A = x.sbox[0][f] + x.sbox[1][v];
|
|
4706
|
+
return A = A ^ x.sbox[2][C], A = A + x.sbox[3][w], A;
|
|
4707
4707
|
}
|
|
4708
4708
|
function d(x, m, f) {
|
|
4709
4709
|
var v = m,
|
|
4710
4710
|
C = f,
|
|
4711
|
-
|
|
4712
|
-
for (var
|
|
4713
|
-
return
|
|
4711
|
+
w;
|
|
4712
|
+
for (var A = 0; A < l; ++A) v = v ^ x.pbox[A], C = _(x, v) ^ C, w = v, v = C, C = w;
|
|
4713
|
+
return w = v, v = C, C = w, C = C ^ x.pbox[l], v = v ^ x.pbox[l + 1], {
|
|
4714
4714
|
left: v,
|
|
4715
4715
|
right: C
|
|
4716
4716
|
};
|
|
@@ -4718,25 +4718,25 @@ function nc() {
|
|
|
4718
4718
|
function h(x, m, f) {
|
|
4719
4719
|
var v = m,
|
|
4720
4720
|
C = f,
|
|
4721
|
-
|
|
4722
|
-
for (var
|
|
4723
|
-
return
|
|
4721
|
+
w;
|
|
4722
|
+
for (var A = l + 1; A > 1; --A) v = v ^ x.pbox[A], C = _(x, v) ^ C, w = v, v = C, C = w;
|
|
4723
|
+
return w = v, v = C, C = w, C = C ^ x.pbox[1], v = v ^ x.pbox[0], {
|
|
4724
4724
|
left: v,
|
|
4725
4725
|
right: C
|
|
4726
4726
|
};
|
|
4727
4727
|
}
|
|
4728
4728
|
function p(x, m, f) {
|
|
4729
|
-
for (var
|
|
4730
|
-
x.sbox[
|
|
4731
|
-
for (var
|
|
4729
|
+
for (var B = 0; B < 4; B++) {
|
|
4730
|
+
x.sbox[B] = [];
|
|
4731
|
+
for (var E = 0; E < 256; E++) x.sbox[B][E] = o[B][E];
|
|
4732
4732
|
}
|
|
4733
4733
|
var v = 0;
|
|
4734
|
-
for (var
|
|
4734
|
+
for (var _B = 0; _B < l + 2; _B++) x.pbox[_B] = u[_B] ^ m[v], v++, v >= f && (v = 0);
|
|
4735
4735
|
var C = 0,
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
for (var
|
|
4739
|
-
for (var
|
|
4736
|
+
w = 0,
|
|
4737
|
+
A = 0;
|
|
4738
|
+
for (var _B2 = 0; _B2 < l + 2; _B2 += 2) A = d(x, C, w), C = A.left, w = A.right, x.pbox[_B2] = C, x.pbox[_B2 + 1] = w;
|
|
4739
|
+
for (var _B3 = 0; _B3 < 4; _B3++) for (var _E = 0; _E < 256; _E += 2) A = d(x, C, w), C = A.left, w = A.right, x.sbox[_B3][_E] = C, x.sbox[_B3][_E + 1] = w;
|
|
4740
4740
|
return true;
|
|
4741
4741
|
}
|
|
4742
4742
|
var g = i.Blowfish = s.extend({
|
|
@@ -4767,7 +4767,7 @@ function nc() {
|
|
|
4767
4767
|
}
|
|
4768
4768
|
(function (r, e) {
|
|
4769
4769
|
(function (t, n, a) {
|
|
4770
|
-
r.exports = n(re(), ar(), Pi(), Ri(), ut(), $i(), dt(), Wa(), bn(),
|
|
4770
|
+
r.exports = n(re(), ar(), Pi(), Ri(), ut(), $i(), dt(), Wa(), bn(), zi(), Va(), Oi(), Mi(), Ni(), wn(), Li(), et(), ge(), Hi(), Ui(), ji(), qi(), Wi(), Vi(), Ki(), Gi(), Xi(), Qi(), Zi(), Ji(), Yi(), ec(), tc(), rc(), nc());
|
|
4771
4771
|
})(te, function (t) {
|
|
4772
4772
|
return t;
|
|
4773
4773
|
});
|
|
@@ -5123,7 +5123,7 @@ function _xc() {
|
|
|
5123
5123
|
e = null;
|
|
5124
5124
|
try {
|
|
5125
5125
|
e = JSON.parse(r);
|
|
5126
|
-
} catch (
|
|
5126
|
+
} catch (_unused10) {}
|
|
5127
5127
|
if (!(_typeof(e) > "u" || e === null)) {
|
|
5128
5128
|
_context102.n = 2;
|
|
5129
5129
|
break;
|
|
@@ -5177,7 +5177,7 @@ function vc(_x12) {
|
|
|
5177
5177
|
}
|
|
5178
5178
|
function _vc() {
|
|
5179
5179
|
_vc = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee102(r) {
|
|
5180
|
-
var e, _t61, n, _a18, s, _i9, _l6, _u5, o, _c5, _$value,
|
|
5180
|
+
var e, _t61, n, _a18, s, _i9, _l6, _u5, o, _c5, _$value, _, _t62;
|
|
5181
5181
|
return _regenerator().w(function (_context103) {
|
|
5182
5182
|
while (1) switch (_context103.n) {
|
|
5183
5183
|
case 0:
|
|
@@ -5236,8 +5236,8 @@ function _vc() {
|
|
|
5236
5236
|
_context103.n = 8;
|
|
5237
5237
|
return hc(n, _c5);
|
|
5238
5238
|
case 8:
|
|
5239
|
-
|
|
5240
|
-
|
|
5239
|
+
_ = _context103.v;
|
|
5240
|
+
_.error, _c5 = (_$value = _.value) !== null && _$value !== void 0 ? _$value : "";
|
|
5241
5241
|
case 9:
|
|
5242
5242
|
e[o] = _c5;
|
|
5243
5243
|
case 10:
|
|
@@ -5245,7 +5245,7 @@ function _vc() {
|
|
|
5245
5245
|
_context103.n = 1;
|
|
5246
5246
|
break;
|
|
5247
5247
|
case 11:
|
|
5248
|
-
return _context103.a(2,
|
|
5248
|
+
return _context103.a(2, e);
|
|
5249
5249
|
}
|
|
5250
5250
|
}, _callee102);
|
|
5251
5251
|
}));
|
|
@@ -5293,7 +5293,7 @@ function _c(r, e) {
|
|
|
5293
5293
|
var Ya = /*#__PURE__*/function () {
|
|
5294
5294
|
var _ref16 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(r, e) {
|
|
5295
5295
|
var _c3;
|
|
5296
|
-
var t
|
|
5296
|
+
var t;
|
|
5297
5297
|
return _regenerator().w(function (_context7) {
|
|
5298
5298
|
while (1) switch (_context7.n) {
|
|
5299
5299
|
case 0:
|
|
@@ -5301,14 +5301,7 @@ var Ya = /*#__PURE__*/function () {
|
|
|
5301
5301
|
return vc(e);
|
|
5302
5302
|
case 1:
|
|
5303
5303
|
t = _context7.v;
|
|
5304
|
-
|
|
5305
|
-
_context7.n = 2;
|
|
5306
|
-
break;
|
|
5307
|
-
}
|
|
5308
|
-
return _context7.a(2, "");
|
|
5309
|
-
case 2:
|
|
5310
|
-
n = (_c3 = _c(r, t)) !== null && _c3 !== void 0 ? _c3 : "";
|
|
5311
|
-
return _context7.a(2, (console.log("\u6700\u7EC8\u8DF3\u8F6C---".concat(n, "---")), n));
|
|
5304
|
+
return _context7.a(2, t === "goLogin" ? "" : (_c3 = _c(r, t)) !== null && _c3 !== void 0 ? _c3 : "");
|
|
5312
5305
|
}
|
|
5313
5306
|
}, _callee7);
|
|
5314
5307
|
}));
|
|
@@ -5471,10 +5464,10 @@ function $c(r) {
|
|
|
5471
5464
|
t = sr(e, r);
|
|
5472
5465
|
return t < 0 ? undefined : e[t][1];
|
|
5473
5466
|
}
|
|
5474
|
-
function
|
|
5467
|
+
function zc(r) {
|
|
5475
5468
|
return sr(this.__data__, r) > -1;
|
|
5476
5469
|
}
|
|
5477
|
-
function
|
|
5470
|
+
function Oc(r, e) {
|
|
5478
5471
|
var t = this.__data__,
|
|
5479
5472
|
n = sr(t, r);
|
|
5480
5473
|
return n < 0 ? (++this.size, t.push([r, e])) : t[n][1] = e, this;
|
|
@@ -5490,8 +5483,8 @@ function We(r) {
|
|
|
5490
5483
|
We.prototype.clear = Ic;
|
|
5491
5484
|
We.prototype["delete"] = Rc;
|
|
5492
5485
|
We.prototype.get = $c;
|
|
5493
|
-
We.prototype.has =
|
|
5494
|
-
We.prototype.set =
|
|
5486
|
+
We.prototype.has = zc;
|
|
5487
|
+
We.prototype.set = Oc;
|
|
5495
5488
|
function Mc() {
|
|
5496
5489
|
this.__data__ = new We(), this.size = 0;
|
|
5497
5490
|
}
|
|
@@ -5589,9 +5582,9 @@ function pt(r, e) {
|
|
|
5589
5582
|
return dl(t) ? t : undefined;
|
|
5590
5583
|
}
|
|
5591
5584
|
var $t = pt(He, "Map"),
|
|
5592
|
-
|
|
5585
|
+
zt = pt(Object, "create");
|
|
5593
5586
|
function pl() {
|
|
5594
|
-
this.__data__ =
|
|
5587
|
+
this.__data__ = zt ? zt(null) : {}, this.size = 0;
|
|
5595
5588
|
}
|
|
5596
5589
|
function hl(r) {
|
|
5597
5590
|
var e = this.has(r) && delete this.__data__[r];
|
|
@@ -5602,7 +5595,7 @@ var xl = "__lodash_hash_undefined__",
|
|
|
5602
5595
|
gl = vl.hasOwnProperty;
|
|
5603
5596
|
function ml(r) {
|
|
5604
5597
|
var e = this.__data__;
|
|
5605
|
-
if (
|
|
5598
|
+
if (zt) {
|
|
5606
5599
|
var t = e[r];
|
|
5607
5600
|
return t === xl ? undefined : t;
|
|
5608
5601
|
}
|
|
@@ -5612,12 +5605,12 @@ var _l = Object.prototype,
|
|
|
5612
5605
|
Cl = _l.hasOwnProperty;
|
|
5613
5606
|
function yl(r) {
|
|
5614
5607
|
var e = this.__data__;
|
|
5615
|
-
return
|
|
5608
|
+
return zt ? e[r] !== undefined : Cl.call(e, r);
|
|
5616
5609
|
}
|
|
5617
5610
|
var bl = "__lodash_hash_undefined__";
|
|
5618
5611
|
function wl(r, e) {
|
|
5619
5612
|
var t = this.__data__;
|
|
5620
|
-
return this.size += this.has(r) ? 0 : 1, t[r] =
|
|
5613
|
+
return this.size += this.has(r) ? 0 : 1, t[r] = zt && e === undefined ? bl : e, this;
|
|
5621
5614
|
}
|
|
5622
5615
|
function it(r) {
|
|
5623
5616
|
var e = -1,
|
|
@@ -5725,17 +5718,17 @@ function $l(r, e) {
|
|
|
5725
5718
|
function jt(r) {
|
|
5726
5719
|
return r != null && _typeof(r) == "object";
|
|
5727
5720
|
}
|
|
5728
|
-
var
|
|
5721
|
+
var zl = "[object Arguments]";
|
|
5729
5722
|
function Go(r) {
|
|
5730
|
-
return jt(r) && Ht(r) ==
|
|
5723
|
+
return jt(r) && Ht(r) == zl;
|
|
5731
5724
|
}
|
|
5732
5725
|
var d0 = Object.prototype,
|
|
5733
|
-
|
|
5726
|
+
Ol = d0.hasOwnProperty,
|
|
5734
5727
|
Ml = d0.propertyIsEnumerable,
|
|
5735
5728
|
Nl = Go(/* @__PURE__ */function () {
|
|
5736
5729
|
return arguments;
|
|
5737
5730
|
}()) ? Go : function (r) {
|
|
5738
|
-
return jt(r) &&
|
|
5731
|
+
return jt(r) && Ol.call(r, "callee") && !Ml.call(r, "callee");
|
|
5739
5732
|
},
|
|
5740
5733
|
En = Array.isArray;
|
|
5741
5734
|
function Ll() {
|
|
@@ -5859,7 +5852,7 @@ Yo ? Yo.allocUnsafe : undefined;
|
|
|
5859
5852
|
function Ru(r, e) {
|
|
5860
5853
|
return r.slice();
|
|
5861
5854
|
}
|
|
5862
|
-
function
|
|
5855
|
+
function zu(r, e) {
|
|
5863
5856
|
for (var t = -1, n = r == null ? 0 : r.length, a = 0, s = []; ++t < n;) {
|
|
5864
5857
|
var i = r[t];
|
|
5865
5858
|
e(i, t, r) && (s[a++] = i);
|
|
@@ -5869,11 +5862,11 @@ function Ou(r, e) {
|
|
|
5869
5862
|
function C0() {
|
|
5870
5863
|
return [];
|
|
5871
5864
|
}
|
|
5872
|
-
var
|
|
5873
|
-
Mu =
|
|
5865
|
+
var Ou = Object.prototype,
|
|
5866
|
+
Mu = Ou.propertyIsEnumerable,
|
|
5874
5867
|
ta = Object.getOwnPropertySymbols,
|
|
5875
5868
|
Sn = ta ? function (r) {
|
|
5876
|
-
return r == null ? [] : (r = Object(r),
|
|
5869
|
+
return r == null ? [] : (r = Object(r), zu(ta(r), function (e) {
|
|
5877
5870
|
return Mu.call(r, e);
|
|
5878
5871
|
}));
|
|
5879
5872
|
} : C0;
|
|
@@ -6033,8 +6026,8 @@ var fa = yt && yt.isSet,
|
|
|
6033
6026
|
Id = fa ? An(fa) : Fd,
|
|
6034
6027
|
A0 = "[object Arguments]",
|
|
6035
6028
|
$d = "[object Array]",
|
|
6036
|
-
|
|
6037
|
-
|
|
6029
|
+
zd = "[object Boolean]",
|
|
6030
|
+
Od = "[object Date]",
|
|
6038
6031
|
Md = "[object Error]",
|
|
6039
6032
|
B0 = "[object Function]",
|
|
6040
6033
|
Nd = "[object GeneratorFunction]",
|
|
@@ -6058,7 +6051,7 @@ var fa = yt && yt.isSet,
|
|
|
6058
6051
|
rf = "[object Uint16Array]",
|
|
6059
6052
|
nf = "[object Uint32Array]",
|
|
6060
6053
|
ce = {};
|
|
6061
|
-
ce[A0] = ce[$d] = ce[Kd] = ce[Gd] = ce[
|
|
6054
|
+
ce[A0] = ce[$d] = ce[Kd] = ce[Gd] = ce[zd] = ce[Od] = ce[Xd] = ce[Qd] = ce[Zd] = ce[Jd] = ce[Yd] = ce[Ld] = ce[Hd] = ce[k0] = ce[Ud] = ce[jd] = ce[qd] = ce[Wd] = ce[ef] = ce[tf] = ce[rf] = ce[nf] = true;
|
|
6062
6055
|
ce[Md] = ce[B0] = ce[Vd] = false;
|
|
6063
6056
|
function Xt(r, e, t, n, a, s) {
|
|
6064
6057
|
var i;
|
|
@@ -6310,11 +6303,10 @@ var _er = function er(r) {
|
|
|
6310
6303
|
uf = /*#__PURE__*/function () {
|
|
6311
6304
|
var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee11(r) {
|
|
6312
6305
|
var _ref25, _ref26, _ref27, _commonInfo$getSubApp2, _ref28;
|
|
6313
|
-
var d, h, p, g, x, _r$microApp, e, _r$menuCode2, t, _r$menuPath, n, _r$route, a, s, i, l, u, o, c, _yield$In, m, f, _ref29, _commonInfo$getTabInf, _f2, v, _m, _, _ref31, _m2, _m3, _f3, _v, _ref32, C,
|
|
6306
|
+
var d, h, p, g, x, _r$microApp, e, _r$menuCode2, t, _r$menuPath, n, _r$route, a, s, i, l, u, o, c, _yield$In, m, f, _ref29, _commonInfo$getTabInf, _f2, v, _m, _, _ref31, _m2, _m3, _f3, _v, _ref32, C, w;
|
|
6314
6307
|
return _regenerator().w(function (_context11) {
|
|
6315
6308
|
while (1) switch (_context11.n) {
|
|
6316
6309
|
case 0:
|
|
6317
|
-
console.log("getMenuConfig===", r);
|
|
6318
6310
|
_r$microApp = r.microApp, e = _r$microApp === void 0 ? null : _r$microApp, _r$menuCode2 = r.menuCode, t = _r$menuCode2 === void 0 ? "" : _r$menuCode2, _r$menuPath = r.menuPath, n = _r$menuPath === void 0 ? "" : _r$menuPath, _r$route = r.route, a = _r$route === void 0 ? {} : _r$route;
|
|
6319
6311
|
s = (_ref25 = (d = a.meta) == null ? undefined : d.showLayout) !== null && _ref25 !== void 0 ? _ref25 : true;
|
|
6320
6312
|
i = (_ref26 = (h = a.query) == null ? undefined : h.showLayout) !== null && _ref26 !== void 0 ? _ref26 : true;
|
|
@@ -6363,15 +6355,15 @@ var _er = function er(r) {
|
|
|
6363
6355
|
var _ref30;
|
|
6364
6356
|
var C;
|
|
6365
6357
|
return _objectSpread(_objectSpread({}, v), {}, {
|
|
6366
|
-
name: (_ref30 = (C = commonTools.flatTree(u).find(function (
|
|
6367
|
-
return
|
|
6358
|
+
name: (_ref30 = (C = commonTools.flatTree(u).find(function (w) {
|
|
6359
|
+
return w.code === v.code;
|
|
6368
6360
|
})) == null ? undefined : C.name) !== null && _ref30 !== void 0 ? _ref30 : v.name
|
|
6369
6361
|
});
|
|
6370
6362
|
})) !== null && _ref29 !== void 0 ? _ref29 : [];
|
|
6371
6363
|
if (_f2.length) {
|
|
6372
6364
|
v = _f2.filter(function (C) {
|
|
6373
|
-
return t && t === C.code || n && n === "/".concat(C.applicationPath).concat(C.path).replace(/\/\//g, "/") || commonTools.flatTree(u).map(function (
|
|
6374
|
-
return
|
|
6365
|
+
return t && t === C.code || n && n === "/".concat(C.applicationPath).concat(C.path).replace(/\/\//g, "/") || commonTools.flatTree(u).map(function (w) {
|
|
6366
|
+
return w.code;
|
|
6375
6367
|
}).includes(C.code);
|
|
6376
6368
|
});
|
|
6377
6369
|
Ie([{
|
|
@@ -6464,7 +6456,7 @@ var _er = function er(r) {
|
|
|
6464
6456
|
key: "subAppList",
|
|
6465
6457
|
value: C
|
|
6466
6458
|
}]);
|
|
6467
|
-
|
|
6459
|
+
w = {
|
|
6468
6460
|
currentApplication: e.routeUrl,
|
|
6469
6461
|
applicationPath: _.applicationPath,
|
|
6470
6462
|
applicationCode: l,
|
|
@@ -6479,13 +6471,13 @@ var _er = function er(r) {
|
|
|
6479
6471
|
value: _.code
|
|
6480
6472
|
}, {
|
|
6481
6473
|
key: "currentTab",
|
|
6482
|
-
value:
|
|
6474
|
+
value: w
|
|
6483
6475
|
}, {
|
|
6484
6476
|
key: "tabMap:".concat(l),
|
|
6485
|
-
value:
|
|
6477
|
+
value: w
|
|
6486
6478
|
}, {
|
|
6487
6479
|
key: "preTab:".concat(l),
|
|
6488
|
-
value:
|
|
6480
|
+
value: w
|
|
6489
6481
|
}]);
|
|
6490
6482
|
}
|
|
6491
6483
|
return _context11.a(2, {
|
|
@@ -6801,7 +6793,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
6801
6793
|
return _regenerator().w(function (_context18) {
|
|
6802
6794
|
while (1) switch (_context18.n) {
|
|
6803
6795
|
case 0:
|
|
6804
|
-
|
|
6796
|
+
me.innerSet = true;
|
|
6805
6797
|
t = commonTools.flatTree(commonInfo.getMenus(e.applicationCode)).filter(function (i) {
|
|
6806
6798
|
return !i.disable && !i.expired;
|
|
6807
6799
|
}).find(function (i) {
|
|
@@ -6881,7 +6873,6 @@ var vf = /*#__PURE__*/function () {
|
|
|
6881
6873
|
_context19.n = 4;
|
|
6882
6874
|
break;
|
|
6883
6875
|
}
|
|
6884
|
-
console.log("切换应用====", a);
|
|
6885
6876
|
s && Bi(s);
|
|
6886
6877
|
_t8 = !a.fixed;
|
|
6887
6878
|
if (!_t8) {
|
|
@@ -6915,7 +6906,6 @@ var vf = /*#__PURE__*/function () {
|
|
|
6915
6906
|
if (!((o = s.subAppList) != null && o.length) || s.subAppList.findIndex(function (c) {
|
|
6916
6907
|
return c.code === a.code;
|
|
6917
6908
|
}) === -1) return;
|
|
6918
|
-
console.log("删除应用====", a);
|
|
6919
6909
|
var u = ((_commonInfo$getTabInf2 = commonInfo.getTabInfo().tabMap[a.code]) !== null && _commonInfo$getTabInf2 !== void 0 ? _commonInfo$getTabInf2 : []).map(function (c) {
|
|
6920
6910
|
return c.code;
|
|
6921
6911
|
});
|
|
@@ -6937,12 +6927,12 @@ var vf = /*#__PURE__*/function () {
|
|
|
6937
6927
|
}, /*#__PURE__*/function () {
|
|
6938
6928
|
var _ref44 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee20(p) {
|
|
6939
6929
|
var _ref45, _ref46, _commonInfo$getSubApp4, _ref47, _ref48;
|
|
6940
|
-
var C,
|
|
6930
|
+
var C, w, A, B, E, k, y, b, D, S, g, x, m, f, v;
|
|
6941
6931
|
return _regenerator().w(function (_context20) {
|
|
6942
6932
|
while (1) switch (_context20.n) {
|
|
6943
6933
|
case 0:
|
|
6944
6934
|
g = (_ref45 = (C = p.meta) == null ? undefined : C.showLayout) !== null && _ref45 !== void 0 ? _ref45 : true;
|
|
6945
|
-
x = (_ref46 = (
|
|
6935
|
+
x = (_ref46 = (w = p.query) == null ? undefined : w.showLayout) !== null && _ref46 !== void 0 ? _ref46 : true;
|
|
6946
6936
|
if (!(x === "false" && (x = false), !g || !x || p.path === a && commonTools.objEqual(p.query, s))) {
|
|
6947
6937
|
_context20.n = 1;
|
|
6948
6938
|
break;
|
|
@@ -6957,7 +6947,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
6957
6947
|
}
|
|
6958
6948
|
return _context20.a(2);
|
|
6959
6949
|
case 2:
|
|
6960
|
-
f = (_ref47 = (_ref48 = (
|
|
6950
|
+
f = (_ref47 = (_ref48 = (A = p.query) == null ? undefined : A.menu) !== null && _ref48 !== void 0 ? _ref48 : (B = commonInfo.getTabInfo()) == null ? undefined : B.currentCode) !== null && _ref47 !== void 0 ? _ref47 : "";
|
|
6961
6951
|
if (f) {
|
|
6962
6952
|
_context20.n = 3;
|
|
6963
6953
|
break;
|
|
@@ -6965,7 +6955,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
6965
6955
|
return _context20.a(2);
|
|
6966
6956
|
case 3:
|
|
6967
6957
|
v = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
6968
|
-
JSON.stringify(v) !== "{}" && (e.value = (
|
|
6958
|
+
JSON.stringify(v) !== "{}" && (e.value = (k = (E = v[m]) == null ? undefined : E[f]) != null && k.fontColor ? v[m][f].fontColor : "", t.value = (b = (y = v[m]) == null ? undefined : y[f]) != null && b.backgroundColor ? v[m][f].backgroundColor : "", n.value = (S = (D = v[m]) == null ? undefined : D[f]) != null && S.backgroundColor ? v[m][f].backgroundColor : "");
|
|
6969
6959
|
case 4:
|
|
6970
6960
|
return _context20.a(2);
|
|
6971
6961
|
}
|
|
@@ -7013,30 +7003,30 @@ var vf = /*#__PURE__*/function () {
|
|
|
7013
7003
|
d = function d(p) {
|
|
7014
7004
|
var _commonInfo$getSubApp5;
|
|
7015
7005
|
var g = (_commonInfo$getSubApp5 = commonInfo.getSubApps().currentSubAppCode) !== null && _commonInfo$getSubApp5 !== void 0 ? _commonInfo$getSubApp5 : "";
|
|
7016
|
-
|
|
7006
|
+
me.innerSet = true;
|
|
7017
7007
|
var x = commonInfo.getTabInfo(),
|
|
7018
7008
|
m = x.tabMap[g],
|
|
7019
|
-
f = m.findIndex(function (
|
|
7020
|
-
return
|
|
7009
|
+
f = m.findIndex(function (E) {
|
|
7010
|
+
return E.code === p.data.code;
|
|
7021
7011
|
});
|
|
7022
7012
|
if (f === -1) return;
|
|
7023
7013
|
var v = function v() {
|
|
7024
7014
|
var _ref50;
|
|
7025
7015
|
var y;
|
|
7026
|
-
var
|
|
7027
|
-
return
|
|
7028
|
-
}).flat()) !== null && _ref50 !== void 0 ? _ref50 : []).find(function (
|
|
7029
|
-
return
|
|
7016
|
+
var k = ((_ref50 = (y = commonInfo.getSubApps().appcategorys) == null ? undefined : y.map(function (b) {
|
|
7017
|
+
return b.apps;
|
|
7018
|
+
}).flat()) !== null && _ref50 !== void 0 ? _ref50 : []).find(function (b) {
|
|
7019
|
+
return b.code === g;
|
|
7030
7020
|
});
|
|
7031
|
-
|
|
7032
|
-
value:
|
|
7033
|
-
label:
|
|
7034
|
-
}), i(
|
|
7021
|
+
k = _objectSpread(_objectSpread({}, k), {}, {
|
|
7022
|
+
value: k.code,
|
|
7023
|
+
label: k.name
|
|
7024
|
+
}), i(k), index$3.layout.nav.removeItem(g);
|
|
7035
7025
|
};
|
|
7036
7026
|
({
|
|
7037
7027
|
me: function () {
|
|
7038
|
-
var _me = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee21(
|
|
7039
|
-
var
|
|
7028
|
+
var _me = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee21(E) {
|
|
7029
|
+
var k, y;
|
|
7040
7030
|
return _regenerator().w(function (_context21) {
|
|
7041
7031
|
while (1) switch (_context21.n) {
|
|
7042
7032
|
case 0:
|
|
@@ -7047,9 +7037,9 @@ var vf = /*#__PURE__*/function () {
|
|
|
7047
7037
|
v();
|
|
7048
7038
|
return _context21.a(2);
|
|
7049
7039
|
case 1:
|
|
7050
|
-
|
|
7040
|
+
k = x.currentCode;
|
|
7051
7041
|
y = null;
|
|
7052
|
-
|
|
7042
|
+
k === E.value && (f + 1 === m.length ? m[f - 1] && (y = m[f - 1]) : m[f + 1] && (y = m[f + 1])), m.splice(f, 1), _([E]), Ie([{
|
|
7053
7043
|
key: "tabMap:".concat(g),
|
|
7054
7044
|
value: m
|
|
7055
7045
|
}]), y ? c(y) : Ie([{
|
|
@@ -7068,29 +7058,29 @@ var vf = /*#__PURE__*/function () {
|
|
|
7068
7058
|
}(),
|
|
7069
7059
|
all: v,
|
|
7070
7060
|
other: function () {
|
|
7071
|
-
var _other = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee22(
|
|
7072
|
-
var
|
|
7061
|
+
var _other = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee22(E) {
|
|
7062
|
+
var k, y;
|
|
7073
7063
|
return _regenerator().w(function (_context22) {
|
|
7074
7064
|
while (1) switch (_context22.n) {
|
|
7075
7065
|
case 0:
|
|
7076
|
-
|
|
7066
|
+
k = m[f];
|
|
7077
7067
|
_context22.n = 1;
|
|
7078
7068
|
return r.push({
|
|
7079
|
-
path: "/".concat(
|
|
7080
|
-
query:
|
|
7069
|
+
path: "/".concat(k.applicationPath).concat(k.path).replace(/\/\//g, "/"),
|
|
7070
|
+
query: k.query
|
|
7081
7071
|
});
|
|
7082
7072
|
case 1:
|
|
7083
|
-
index$3.layout.menu.setActiveItem(
|
|
7084
|
-
index$3.layout.tab.setActiveItem(
|
|
7085
|
-
y = m.filter(function (
|
|
7086
|
-
return
|
|
7073
|
+
index$3.layout.menu.setActiveItem(k.menuId);
|
|
7074
|
+
index$3.layout.tab.setActiveItem(k.code);
|
|
7075
|
+
y = m.filter(function (b) {
|
|
7076
|
+
return b.code !== E.value;
|
|
7087
7077
|
});
|
|
7088
|
-
y.forEach(function (
|
|
7089
|
-
return index$3.layout.tab.removeItem(
|
|
7078
|
+
y.forEach(function (b) {
|
|
7079
|
+
return index$3.layout.tab.removeItem(b.code);
|
|
7090
7080
|
}), _(y), Ie([{
|
|
7091
7081
|
key: "tabMap:".concat(g),
|
|
7092
|
-
value: [
|
|
7093
|
-
}]), c(
|
|
7082
|
+
value: [k]
|
|
7083
|
+
}]), c(k);
|
|
7094
7084
|
case 2:
|
|
7095
7085
|
return _context22.a(2);
|
|
7096
7086
|
}
|
|
@@ -7102,21 +7092,21 @@ var vf = /*#__PURE__*/function () {
|
|
|
7102
7092
|
return other;
|
|
7103
7093
|
}(),
|
|
7104
7094
|
right: function () {
|
|
7105
|
-
var _right = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee23(
|
|
7106
|
-
var
|
|
7095
|
+
var _right = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee23(E) {
|
|
7096
|
+
var k, D, y;
|
|
7107
7097
|
return _regenerator().w(function (_context23) {
|
|
7108
7098
|
while (1) switch (_context23.n) {
|
|
7109
7099
|
case 0:
|
|
7110
|
-
|
|
7111
|
-
if (
|
|
7112
|
-
return D.code ===
|
|
7100
|
+
k = x.currentCode;
|
|
7101
|
+
if (k !== E.value && m.findIndex(function (D) {
|
|
7102
|
+
return D.code === k;
|
|
7113
7103
|
}) > f) {
|
|
7114
7104
|
D = m[f];
|
|
7115
7105
|
c(D);
|
|
7116
7106
|
}
|
|
7117
7107
|
y = m.slice(f + 1);
|
|
7118
|
-
y.forEach(function (
|
|
7119
|
-
return index$3.layout.tab.removeItem(
|
|
7108
|
+
y.forEach(function (b) {
|
|
7109
|
+
return index$3.layout.tab.removeItem(b.code);
|
|
7120
7110
|
}), _(y), m.splice(f + 1), Ie([{
|
|
7121
7111
|
key: "tabMap:".concat(g),
|
|
7122
7112
|
value: m
|
|
@@ -7138,7 +7128,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7138
7128
|
return _regenerator().w(function (_context24) {
|
|
7139
7129
|
while (1) switch (_context24.n) {
|
|
7140
7130
|
case 0:
|
|
7141
|
-
commonInfo.getTabInfo().currentCode !== p.currentCode && (
|
|
7131
|
+
commonInfo.getTabInfo().currentCode !== p.currentCode && (me.innerSet = true, c(p));
|
|
7142
7132
|
case 1:
|
|
7143
7133
|
return _context24.a(2);
|
|
7144
7134
|
}
|
|
@@ -7153,7 +7143,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7153
7143
|
x = (_commonInfo$getSubApp6 = commonInfo.getSubApps().currentSubAppCode) !== null && _commonInfo$getSubApp6 !== void 0 ? _commonInfo$getSubApp6 : "";
|
|
7154
7144
|
g.tabMap[x].findIndex(function (v) {
|
|
7155
7145
|
return v.code === p.code;
|
|
7156
|
-
}) !== -1 && (
|
|
7146
|
+
}) !== -1 && (Gt(p.applicationCode, [p.code]), d({
|
|
7157
7147
|
type: "me",
|
|
7158
7148
|
data: p
|
|
7159
7149
|
}));
|
|
@@ -7181,7 +7171,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7181
7171
|
return _regenerator().w(function (_context25) {
|
|
7182
7172
|
while (1) switch (_context25.n) {
|
|
7183
7173
|
case 0:
|
|
7184
|
-
if (
|
|
7174
|
+
if (p) {
|
|
7185
7175
|
_context25.n = 1;
|
|
7186
7176
|
break;
|
|
7187
7177
|
}
|
|
@@ -7274,7 +7264,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7274
7264
|
u = /*#__PURE__*/function () {
|
|
7275
7265
|
var _ref53 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee26(d) {
|
|
7276
7266
|
var _d$code, _commonInfo$getSubApp7, _g$menus;
|
|
7277
|
-
var h, g, x, m, f, _yield$In2, C,
|
|
7267
|
+
var h, g, x, m, f, _yield$In2, C, w, A, v, _t0;
|
|
7278
7268
|
return _regenerator().w(function (_context26) {
|
|
7279
7269
|
while (1) switch (_context26.n) {
|
|
7280
7270
|
case 0:
|
|
@@ -7297,15 +7287,15 @@ var vf = /*#__PURE__*/function () {
|
|
|
7297
7287
|
case 2:
|
|
7298
7288
|
_yield$In2 = _context26.v;
|
|
7299
7289
|
C = _yield$In2.menus;
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
if (!
|
|
7290
|
+
w = _yield$In2.originalMenus;
|
|
7291
|
+
A = _yield$In2.err;
|
|
7292
|
+
if (!A) {
|
|
7303
7293
|
_context26.n = 3;
|
|
7304
7294
|
break;
|
|
7305
7295
|
}
|
|
7306
7296
|
return _context26.a(2, false);
|
|
7307
7297
|
case 3:
|
|
7308
|
-
x = C !== null && C !== void 0 ? C : [], m =
|
|
7298
|
+
x = C !== null && C !== void 0 ? C : [], m = w !== null && w !== void 0 ? w : [];
|
|
7309
7299
|
case 4:
|
|
7310
7300
|
if (!x.length) {
|
|
7311
7301
|
_context26.n = 7;
|
|
@@ -7359,12 +7349,11 @@ var vf = /*#__PURE__*/function () {
|
|
|
7359
7349
|
_o2 = /*#__PURE__*/function () {
|
|
7360
7350
|
var _ref54 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee27(d) {
|
|
7361
7351
|
var _ref55, _ref56, _ref57, _ref58, _ref61;
|
|
7362
|
-
var D, S, L, H, W, _d$microApp, h, _d$menuCode, p, _d$menuPath, g, _d$route, x, m, f, v, C,
|
|
7352
|
+
var D, S, L, H, W, _d$microApp, h, _d$menuCode, p, _d$menuPath, g, _d$route, x, m, f, v, C, w, _ref59, q, _ref60, j, _G, T, P, _yield$uf, _yield$uf$menuConfig, A, _yield$uf$currentApp, B, _yield$uf$currentMenu, E, _yield$uf$microPath, k, _yield$uf$query, y, _ref62, _ref63, _q, U, _j, b, _commonInfo$getTabInf4, _q2, _U, _t1;
|
|
7363
7353
|
return _regenerator().w(function (_context27) {
|
|
7364
7354
|
while (1) switch (_context27.n) {
|
|
7365
7355
|
case 0:
|
|
7366
7356
|
_d$microApp = d.microApp, h = _d$microApp === void 0 ? null : _d$microApp, _d$menuCode = d.menuCode, p = _d$menuCode === void 0 ? "" : _d$menuCode, _d$menuPath = d.menuPath, g = _d$menuPath === void 0 ? "" : _d$menuPath, _d$route = d.route, x = _d$route === void 0 ? {} : _d$route;
|
|
7367
|
-
console.log("entryApp===111", d);
|
|
7368
7357
|
m = x;
|
|
7369
7358
|
if (!(!h && g)) {
|
|
7370
7359
|
_context27.n = 3;
|
|
@@ -7389,7 +7378,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7389
7378
|
f = (_ref55 = (D = m.meta) == null ? undefined : D.showLayout) !== null && _ref55 !== void 0 ? _ref55 : true;
|
|
7390
7379
|
v = (_ref56 = (S = m.query) == null ? undefined : S.showLayout) !== null && _ref56 !== void 0 ? _ref56 : true;
|
|
7391
7380
|
v === "false" && (v = false);
|
|
7392
|
-
C = (_ref57 = h == null ? undefined : h.openType) !== null && _ref57 !== void 0 ? _ref57 : 1,
|
|
7381
|
+
C = (_ref57 = h == null ? undefined : h.openType) !== null && _ref57 !== void 0 ? _ref57 : 1, w = (_ref58 = h == null ? undefined : h.type) !== null && _ref58 !== void 0 ? _ref58 : 1;
|
|
7393
7382
|
if (!(h.routeUrl && !i.includes(h.routeUrl))) {
|
|
7394
7383
|
_context27.n = 8;
|
|
7395
7384
|
break;
|
|
@@ -7430,7 +7419,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7430
7419
|
case 4:
|
|
7431
7420
|
return _context27.a(2);
|
|
7432
7421
|
case 5:
|
|
7433
|
-
if (!(C === 1 &&
|
|
7422
|
+
if (!(C === 1 && w === 2)) {
|
|
7434
7423
|
_context27.n = 8;
|
|
7435
7424
|
break;
|
|
7436
7425
|
}
|
|
@@ -7440,10 +7429,10 @@ var vf = /*#__PURE__*/function () {
|
|
|
7440
7429
|
j = _context27.v;
|
|
7441
7430
|
_G = nn(commonTools.setShowWatermark(commonTools.setShowLayout(j)));
|
|
7442
7431
|
T = "".concat(ot, "-").concat(h.code);
|
|
7443
|
-
if (!r.options.routes.find(function (
|
|
7444
|
-
return
|
|
7432
|
+
if (!r.options.routes.find(function (P) {
|
|
7433
|
+
return P.path === T;
|
|
7445
7434
|
})) {
|
|
7446
|
-
|
|
7435
|
+
P = {
|
|
7447
7436
|
path: T,
|
|
7448
7437
|
component: vue.h(ln, {
|
|
7449
7438
|
src: _G
|
|
@@ -7453,7 +7442,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7453
7442
|
keepAlive: true
|
|
7454
7443
|
}
|
|
7455
7444
|
};
|
|
7456
|
-
r.addRoute(
|
|
7445
|
+
r.addRoute(P), r.options.routes.push(P);
|
|
7457
7446
|
}
|
|
7458
7447
|
_context27.n = 7;
|
|
7459
7448
|
return r.push({
|
|
@@ -7475,44 +7464,44 @@ var vf = /*#__PURE__*/function () {
|
|
|
7475
7464
|
case 9:
|
|
7476
7465
|
_yield$uf = _context27.v;
|
|
7477
7466
|
_yield$uf$menuConfig = _yield$uf.menuConfig;
|
|
7478
|
-
|
|
7467
|
+
A = _yield$uf$menuConfig === void 0 ? [] : _yield$uf$menuConfig;
|
|
7479
7468
|
_yield$uf$currentApp = _yield$uf.currentApp;
|
|
7480
|
-
|
|
7469
|
+
B = _yield$uf$currentApp === void 0 ? null : _yield$uf$currentApp;
|
|
7481
7470
|
_yield$uf$currentMenu = _yield$uf.currentMenu;
|
|
7482
|
-
|
|
7471
|
+
E = _yield$uf$currentMenu === void 0 ? null : _yield$uf$currentMenu;
|
|
7483
7472
|
_yield$uf$microPath = _yield$uf.microPath;
|
|
7484
|
-
|
|
7473
|
+
k = _yield$uf$microPath === void 0 ? "" : _yield$uf$microPath;
|
|
7485
7474
|
_yield$uf$query = _yield$uf.query;
|
|
7486
7475
|
y = _yield$uf$query === void 0 ? {} : _yield$uf$query;
|
|
7487
|
-
if (!(
|
|
7488
|
-
path:
|
|
7476
|
+
if (!(E && (m = {
|
|
7477
|
+
path: k || "/".concat(E.applicationPath).concat(E.routeUrl).replace(/\/\//g, "/"),
|
|
7489
7478
|
query: _objectSpread(_objectSpread({}, y), {}, {
|
|
7490
|
-
app:
|
|
7491
|
-
menu:
|
|
7479
|
+
app: E.applicationCode,
|
|
7480
|
+
menu: E.code
|
|
7492
7481
|
}),
|
|
7493
7482
|
meta: _objectSpread({}, (_ref61 = m == null ? undefined : m.meta) !== null && _ref61 !== void 0 ? _ref61 : {})
|
|
7494
|
-
}),
|
|
7483
|
+
}), B && (B == null ? undefined : B.code) !== (h == null ? undefined : h.code))) {
|
|
7495
7484
|
_context27.n = 13;
|
|
7496
7485
|
break;
|
|
7497
7486
|
}
|
|
7498
|
-
_t1 =
|
|
7487
|
+
_t1 = B.fixed;
|
|
7499
7488
|
if (!_t1) {
|
|
7500
7489
|
_context27.n = 11;
|
|
7501
7490
|
break;
|
|
7502
7491
|
}
|
|
7503
7492
|
_context27.n = 10;
|
|
7504
|
-
return r.push(
|
|
7493
|
+
return r.push(B.path);
|
|
7505
7494
|
case 10:
|
|
7506
7495
|
l();
|
|
7507
|
-
index$3.layout.nav.setActiveItem(
|
|
7496
|
+
index$3.layout.nav.setActiveItem(B.path);
|
|
7508
7497
|
case 11:
|
|
7509
|
-
if (
|
|
7498
|
+
if (B.fixed) {
|
|
7510
7499
|
_context27.n = 12;
|
|
7511
7500
|
break;
|
|
7512
7501
|
}
|
|
7513
7502
|
_q = (H = commonInfo.getSubApps().subAppList) == null ? undefined : H.find(function (G) {
|
|
7514
|
-
return G.code ===
|
|
7515
|
-
}), U = commonInfo.getTabInfo().preTab[
|
|
7503
|
+
return G.code === B.code;
|
|
7504
|
+
}), U = commonInfo.getTabInfo().preTab[B.code], _j = _objectSpread({}, (_ref62 = U == null ? undefined : U.query) !== null && _ref62 !== void 0 ? _ref62 : {});
|
|
7516
7505
|
_context27.n = 12;
|
|
7517
7506
|
return _o2({
|
|
7518
7507
|
microApp: _q,
|
|
@@ -7524,8 +7513,8 @@ var vf = /*#__PURE__*/function () {
|
|
|
7524
7513
|
case 12:
|
|
7525
7514
|
return _context27.a(2);
|
|
7526
7515
|
case 13:
|
|
7527
|
-
|
|
7528
|
-
if (!(!
|
|
7516
|
+
b = B || h;
|
|
7517
|
+
if (!(!E && g)) {
|
|
7529
7518
|
_context27.n = 15;
|
|
7530
7519
|
break;
|
|
7531
7520
|
}
|
|
@@ -7533,7 +7522,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7533
7522
|
return r.push({
|
|
7534
7523
|
path: g,
|
|
7535
7524
|
query: _objectSpread(_objectSpread({}, m.query), {}, {
|
|
7536
|
-
app:
|
|
7525
|
+
app: b.code
|
|
7537
7526
|
})
|
|
7538
7527
|
});
|
|
7539
7528
|
case 14:
|
|
@@ -7546,8 +7535,8 @@ var vf = /*#__PURE__*/function () {
|
|
|
7546
7535
|
label: U.name
|
|
7547
7536
|
});
|
|
7548
7537
|
index$3.layout.nav.appendItem(j);
|
|
7549
|
-
}), index$3.layout.nav.setActiveItem(
|
|
7550
|
-
_q2 = (_commonInfo$getTabInf4 = commonInfo.getTabInfo().tabMap[
|
|
7538
|
+
}), index$3.layout.nav.setActiveItem(b.code), index$3.layout.menu.setItems(A);
|
|
7539
|
+
_q2 = (_commonInfo$getTabInf4 = commonInfo.getTabInfo().tabMap[b.code]) !== null && _commonInfo$getTabInf4 !== void 0 ? _commonInfo$getTabInf4 : [];
|
|
7551
7540
|
if (_q2.length) {
|
|
7552
7541
|
_U = _q2.map(function (j) {
|
|
7553
7542
|
return _objectSpread(_objectSpread({}, j), {}, {
|
|
@@ -7559,8 +7548,8 @@ var vf = /*#__PURE__*/function () {
|
|
|
7559
7548
|
} else index$3.layout.tab.setItems([]);
|
|
7560
7549
|
}
|
|
7561
7550
|
e({
|
|
7562
|
-
currentMenu:
|
|
7563
|
-
microPath:
|
|
7551
|
+
currentMenu: E,
|
|
7552
|
+
microPath: k,
|
|
7564
7553
|
route: m
|
|
7565
7554
|
});
|
|
7566
7555
|
case 16:
|
|
@@ -7578,7 +7567,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7578
7567
|
return _regenerator().w(function (_context28) {
|
|
7579
7568
|
while (1) switch (_context28.n) {
|
|
7580
7569
|
case 0:
|
|
7581
|
-
if (!(
|
|
7570
|
+
if (!(me.innerSet = true, d.fixed)) {
|
|
7582
7571
|
_context28.n = 2;
|
|
7583
7572
|
break;
|
|
7584
7573
|
}
|
|
@@ -7731,7 +7720,6 @@ var vf = /*#__PURE__*/function () {
|
|
|
7731
7720
|
return _regenerator().w(function (_context30) {
|
|
7732
7721
|
while (1) switch (_context30.n) {
|
|
7733
7722
|
case 0:
|
|
7734
|
-
console.log("entryMenu===111", s);
|
|
7735
7723
|
i = s.currentMenu, _s$route = s.route, l = _s$route === void 0 ? {} : _s$route, _s$microPath = s.microPath, u = _s$microPath === void 0 ? "" : _s$microPath;
|
|
7736
7724
|
if (i) {
|
|
7737
7725
|
_context30.n = 1;
|
|
@@ -7832,7 +7820,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
7832
7820
|
}
|
|
7833
7821
|
_x34 = _ === 1 ? "/".concat(i.applicationPath).concat(i.routeUrl).replace(/\/\//g, "/") : i.routeUrl;
|
|
7834
7822
|
_x34 = nn(commonTools.setShowWatermark(commonTools.setShowLayout(_x34)));
|
|
7835
|
-
if (!
|
|
7823
|
+
if (!me.innerSet) {
|
|
7836
7824
|
_context30.n = 9;
|
|
7837
7825
|
break;
|
|
7838
7826
|
}
|
|
@@ -7913,13 +7901,13 @@ var vf = /*#__PURE__*/function () {
|
|
|
7913
7901
|
Tn = function Tn() {
|
|
7914
7902
|
return {
|
|
7915
7903
|
reloadRoute: function reloadRoute(t) {
|
|
7916
|
-
|
|
7917
|
-
|
|
7904
|
+
me.excludeRoutes = Array.from(/* @__PURE__ */new Set([].concat(_toConsumableArray(me.excludeRoutes), _toConsumableArray(t)))), me.routeKeepAliveVisible = false, setTimeout(function () {
|
|
7905
|
+
me.routeKeepAliveVisible = true, me.excludeRoutes = [];
|
|
7918
7906
|
}, 300);
|
|
7919
7907
|
},
|
|
7920
7908
|
unloadRoute: function unloadRoute(t) {
|
|
7921
|
-
|
|
7922
|
-
|
|
7909
|
+
me.excludeRoutes = Array.from(/* @__PURE__ */new Set([].concat(_toConsumableArray(me.excludeRoutes), _toConsumableArray(t)))), me.routeKeepAliveVisible = false, setTimeout(function () {
|
|
7910
|
+
me.excludeRoutes = [], me.routeKeepAliveVisible = true;
|
|
7923
7911
|
}, 100);
|
|
7924
7912
|
}
|
|
7925
7913
|
};
|
|
@@ -8054,7 +8042,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
8054
8042
|
tenantId: n,
|
|
8055
8043
|
changeEnterprise: function () {
|
|
8056
8044
|
var _changeEnterprise = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee33(l) {
|
|
8057
|
-
var _yield$Ff$run, _yield$Ff$run2, u, o, _o$access_token, c, _o$refresh_token, _, _o$expires_in, d, _o$sub, h, _o$name, p, _o$flag, g, _o$tenant, x, m, f, v, _yield$If$run, _yield$If$run2, C,
|
|
8045
|
+
var _yield$Ff$run, _yield$Ff$run2, u, o, _o$access_token, c, _o$refresh_token, _, _o$expires_in, d, _o$sub, h, _o$name, p, _o$flag, g, _o$tenant, x, m, f, v, _yield$If$run, _yield$If$run2, C, w, _C;
|
|
8058
8046
|
return _regenerator().w(function (_context33) {
|
|
8059
8047
|
while (1) switch (_context33.n) {
|
|
8060
8048
|
case 0:
|
|
@@ -8103,8 +8091,8 @@ var vf = /*#__PURE__*/function () {
|
|
|
8103
8091
|
_yield$If$run = _context33.v;
|
|
8104
8092
|
_yield$If$run2 = _slicedToArray(_yield$If$run, 2);
|
|
8105
8093
|
C = _yield$If$run2[0];
|
|
8106
|
-
|
|
8107
|
-
|
|
8094
|
+
w = _yield$If$run2[1];
|
|
8095
|
+
w != null && w.loginHost && (v = "".concat(w.loginHost, "/oauth/refreshOauthToken?tenantId=").concat(l));
|
|
8108
8096
|
case 5:
|
|
8109
8097
|
if (v) {
|
|
8110
8098
|
_C = document.createElement("iframe");
|
|
@@ -8173,7 +8161,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
8173
8161
|
i = new URLSearchParams(s.search),
|
|
8174
8162
|
l = i.get("app"),
|
|
8175
8163
|
u = i.get("menu");
|
|
8176
|
-
if (
|
|
8164
|
+
if (u && l) {
|
|
8177
8165
|
var _map$flat, _commonInfo$getSubApp8;
|
|
8178
8166
|
var _ = ((_map$flat = ((_commonInfo$getSubApp8 = commonInfo.getSubApps().appcategorys) !== null && _commonInfo$getSubApp8 !== void 0 ? _commonInfo$getSubApp8 : []).map(function (d) {
|
|
8179
8167
|
return d.apps;
|
|
@@ -8189,7 +8177,7 @@ var vf = /*#__PURE__*/function () {
|
|
|
8189
8177
|
}
|
|
8190
8178
|
};
|
|
8191
8179
|
},
|
|
8192
|
-
|
|
8180
|
+
me = vue.reactive({
|
|
8193
8181
|
/** 菜单或者应用跳转是否通过触发界面调用的 */
|
|
8194
8182
|
innerSet: false,
|
|
8195
8183
|
excludeRoutes: [],
|
|
@@ -8261,9 +8249,9 @@ var $f = function $f(r) {
|
|
|
8261
8249
|
case 1:
|
|
8262
8250
|
_yield$Rf = _context36.v;
|
|
8263
8251
|
_ = _yield$Rf.instanceInfo;
|
|
8264
|
-
if (
|
|
8252
|
+
if (_) {
|
|
8265
8253
|
g = commonTools.isEmpty(_.endTime) || _.endTime == 0 || _.endTime === 253370736e6 || _.endTime === "253370736000000" ? "-" : Number(_.endTime);
|
|
8266
|
-
c = rn().endOf("day") > rn(g).endOf("day"), c || (o = (_$instanceName = _.instanceName) !== null && _$instanceName !== void 0 ? _$instanceName : "实例")
|
|
8254
|
+
c = rn().endOf("day") > rn(g).endOf("day"), c || (o = (_$instanceName = _.instanceName) !== null && _$instanceName !== void 0 ? _$instanceName : "实例");
|
|
8267
8255
|
}
|
|
8268
8256
|
a({
|
|
8269
8257
|
menuName: o
|
|
@@ -8271,8 +8259,6 @@ var $f = function $f(r) {
|
|
|
8271
8259
|
_u$clickSource = u.clickSource, d = _u$clickSource === void 0 ? "" : _u$clickSource, _u$isFirstEnter = u.isFirstEnter, h = _u$isFirstEnter === void 0 ? false : _u$isFirstEnter, p = directive.vAuth(null, {
|
|
8272
8260
|
menuCode: "iot.statisticalReport"
|
|
8273
8261
|
});
|
|
8274
|
-
console.log("params===", u);
|
|
8275
|
-
console.log("hasStatisticalReportMenuAuth===", p);
|
|
8276
8262
|
_t13 = d === "nav" && h && l.toLowerCase() === t.toLowerCase() && _.id && !c && p;
|
|
8277
8263
|
if (!_t13) {
|
|
8278
8264
|
_context36.n = 2;
|
|
@@ -8293,7 +8279,6 @@ var $f = function $f(r) {
|
|
|
8293
8279
|
};
|
|
8294
8280
|
}();
|
|
8295
8281
|
return index$2.microFrontend.addEventListenerFromMicroApp("iot:change-instance", function (i) {
|
|
8296
|
-
console.log("e====", i);
|
|
8297
8282
|
var _ref79 = i.data || {},
|
|
8298
8283
|
l = _ref79.instanceInfo;
|
|
8299
8284
|
a({
|
|
@@ -8312,31 +8297,27 @@ var $f = function $f(r) {
|
|
|
8312
8297
|
_$f = $f({
|
|
8313
8298
|
microAppBus: un
|
|
8314
8299
|
}),
|
|
8315
|
-
|
|
8316
|
-
|
|
8300
|
+
zf = _$f.routerBeforEnter,
|
|
8301
|
+
Of = function Of() {
|
|
8317
8302
|
var _Tn3 = Tn(),
|
|
8318
8303
|
r = _Tn3.unloadRoute;
|
|
8319
8304
|
un.event.on("unmountPage", function (e) {
|
|
8320
8305
|
var n;
|
|
8321
8306
|
var t = (n = e == null ? undefined : e.urls) != null && n.length ? e.urls : e.url ? Array.isArray(e.url) ? e.url : [e.url] : [];
|
|
8322
|
-
|
|
8307
|
+
t.length && r(t);
|
|
8323
8308
|
}), un.event.on("beforeEnter", /*#__PURE__*/function () {
|
|
8324
8309
|
var _ref80 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee37(e) {
|
|
8325
8310
|
var t;
|
|
8326
8311
|
return _regenerator().w(function (_context37) {
|
|
8327
8312
|
while (1) switch (_context37.n) {
|
|
8328
8313
|
case 0:
|
|
8329
|
-
console.log("即将进入子应用--params: ", e);
|
|
8330
8314
|
t = String((e == null ? undefined : e.toPath) || "").trim().split("?")[0].split("#")[0];
|
|
8331
|
-
console.log("toPath: ", t);
|
|
8332
8315
|
try {
|
|
8333
|
-
t && t.startsWith("/iot/iot") && (
|
|
8316
|
+
t && t.startsWith("/iot/iot") && zf({
|
|
8334
8317
|
toPath: t,
|
|
8335
8318
|
params: e
|
|
8336
|
-
})
|
|
8337
|
-
} catch (
|
|
8338
|
-
console.error("[子应用] beforeEnter reportRouter failed:", n);
|
|
8339
|
-
}
|
|
8319
|
+
});
|
|
8320
|
+
} catch (_unused0) {}
|
|
8340
8321
|
case 1:
|
|
8341
8322
|
return _context37.a(2);
|
|
8342
8323
|
}
|
|
@@ -8848,9 +8829,7 @@ var Kf = jf.post("data/device-auth"),
|
|
|
8848
8829
|
o = vue.ref(false),
|
|
8849
8830
|
c = vue.ref(true),
|
|
8850
8831
|
_ = function _(v) {
|
|
8851
|
-
s.value = v, s.value.on(window.mpegts.Events.ERROR, function (C) {
|
|
8852
|
-
console.log("player error", C);
|
|
8853
|
-
});
|
|
8832
|
+
s.value = v, s.value.on(window.mpegts.Events.ERROR, function (C) {});
|
|
8854
8833
|
},
|
|
8855
8834
|
d = function d() {
|
|
8856
8835
|
a.value = !a.value, s.value && (s.value.muted = a.value);
|
|
@@ -8865,11 +8844,11 @@ var Kf = jf.post("data/device-auth"),
|
|
|
8865
8844
|
v.width = u.value.clientWidth, v.height = u.value.clientHeight;
|
|
8866
8845
|
var C = v.getContext("2d");
|
|
8867
8846
|
C == null || C.drawImage(u.value, 0, 0, v.width, v.height);
|
|
8868
|
-
var
|
|
8869
|
-
|
|
8870
|
-
if (p.value =
|
|
8871
|
-
var
|
|
8872
|
-
|
|
8847
|
+
var w = v.toDataURL("image/jpg"),
|
|
8848
|
+
A = "\u3010".concat(t.title, "\u3011").concat(rn().format("YYYYMMDDHHmmss").toString(), ".jpg");
|
|
8849
|
+
if (p.value = w, "download" in document.createElement("a")) {
|
|
8850
|
+
var B = document.createElement("a");
|
|
8851
|
+
B.download = A, B.style.display = "none", B.href = w, document.body.appendChild(B), document.body.appendChild(v), B.click(), URL.revokeObjectURL(B.href), document.body.removeChild(B), document.body.removeChild(v);
|
|
8873
8852
|
}
|
|
8874
8853
|
}
|
|
8875
8854
|
},
|
|
@@ -8938,8 +8917,8 @@ var Kf = jf.post("data/device-auth"),
|
|
|
8938
8917
|
}, null, -1
|
|
8939
8918
|
/* CACHED */)), vue.createElementVNode("div", lp, [vue.createElementVNode("div", {
|
|
8940
8919
|
"class": "controls",
|
|
8941
|
-
onDblclick: C[2] || (C[2] = vue.withModifiers(function (
|
|
8942
|
-
return
|
|
8920
|
+
onDblclick: C[2] || (C[2] = vue.withModifiers(function (w) {
|
|
8921
|
+
return w.stopPropagation();
|
|
8943
8922
|
}, ["stop"]))
|
|
8944
8923
|
}, [vue.createVNode(vue.unref(index$h.DasTooltip), {
|
|
8945
8924
|
content: vue.unref(index$1.t)("声音")
|
|
@@ -8974,7 +8953,7 @@ var Kf = jf.post("data/device-auth"),
|
|
|
8974
8953
|
key: 0,
|
|
8975
8954
|
"class": "icon icon-shrink",
|
|
8976
8955
|
icon: "shrink",
|
|
8977
|
-
onClick: C[0] || (C[0] = vue.withModifiers(function (
|
|
8956
|
+
onClick: C[0] || (C[0] = vue.withModifiers(function (w) {
|
|
8978
8957
|
return m("zoomOut");
|
|
8979
8958
|
}, ["stop"]))
|
|
8980
8959
|
})) : vue.createCommentVNode("v-if", true)];
|
|
@@ -8990,7 +8969,7 @@ var Kf = jf.post("data/device-auth"),
|
|
|
8990
8969
|
key: 0,
|
|
8991
8970
|
"class": "icon icon-enlarge",
|
|
8992
8971
|
icon: "enlarge",
|
|
8993
|
-
onClick: C[1] || (C[1] = vue.withModifiers(function (
|
|
8972
|
+
onClick: C[1] || (C[1] = vue.withModifiers(function (w) {
|
|
8994
8973
|
return m("zoomIn");
|
|
8995
8974
|
}, ["stop"]))
|
|
8996
8975
|
})) : vue.createCommentVNode("v-if", true)];
|
|
@@ -9311,7 +9290,7 @@ var hp = /* @__PURE__ */vue.defineComponent({
|
|
|
9311
9290
|
l = _yield$qf$run2[1];
|
|
9312
9291
|
i || !l || !l.length || !l.find(function (o) {
|
|
9313
9292
|
return o.code === "strategy.linkageModel";
|
|
9314
|
-
}) || t.value || (
|
|
9293
|
+
}) || t.value || (t.value = new webSocketService.socketService({
|
|
9315
9294
|
url: "/api/strategy/linkage-strategy/v1/video-popup/subscribe",
|
|
9316
9295
|
params: {
|
|
9317
9296
|
project: s
|
|
@@ -9425,21 +9404,21 @@ var Pn = /*#__PURE__*/function (_Error2) {
|
|
|
9425
9404
|
_inherits(Pn, _Error2);
|
|
9426
9405
|
return _createClass(Pn);
|
|
9427
9406
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
9428
|
-
var
|
|
9407
|
+
var Oe = /*#__PURE__*/function (_Error3) {
|
|
9429
9408
|
/** Constructs a new instance of {@link AbortError}.
|
|
9430
9409
|
*
|
|
9431
9410
|
* @param {string} errorMessage A descriptive error message.
|
|
9432
9411
|
*/
|
|
9433
|
-
function
|
|
9412
|
+
function Oe() {
|
|
9434
9413
|
var _this3;
|
|
9435
9414
|
var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "An abort occurred.";
|
|
9436
|
-
_classCallCheck(this,
|
|
9437
|
-
var t = (this instanceof
|
|
9438
|
-
_this3 = _callSuper(this,
|
|
9415
|
+
_classCallCheck(this, Oe);
|
|
9416
|
+
var t = (this instanceof Oe ? this.constructor : void 0).prototype;
|
|
9417
|
+
_this3 = _callSuper(this, Oe, [e]), _this3.__proto__ = t;
|
|
9439
9418
|
return _this3;
|
|
9440
9419
|
}
|
|
9441
|
-
_inherits(
|
|
9442
|
-
return _createClass(
|
|
9420
|
+
_inherits(Oe, _Error3);
|
|
9421
|
+
return _createClass(Oe);
|
|
9443
9422
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
9444
9423
|
var gp = /*#__PURE__*/function (_Error4) {
|
|
9445
9424
|
/** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
|
|
@@ -9569,18 +9548,18 @@ var I;
|
|
|
9569
9548
|
(function (r) {
|
|
9570
9549
|
r[r.Trace = 0] = "Trace", r[r.Debug = 1] = "Debug", r[r.Information = 2] = "Information", r[r.Warning = 3] = "Warning", r[r.Error = 4] = "Error", r[r.Critical = 5] = "Critical", r[r.None = 6] = "None";
|
|
9571
9550
|
})(I || (I = {}));
|
|
9572
|
-
var
|
|
9573
|
-
function
|
|
9574
|
-
_classCallCheck(this,
|
|
9551
|
+
var Ot = /*#__PURE__*/function () {
|
|
9552
|
+
function Ot() {
|
|
9553
|
+
_classCallCheck(this, Ot);
|
|
9575
9554
|
}
|
|
9576
9555
|
/** @inheritDoc */
|
|
9577
9556
|
// eslint-disable-next-line
|
|
9578
|
-
return _createClass(
|
|
9557
|
+
return _createClass(Ot, [{
|
|
9579
9558
|
key: "log",
|
|
9580
9559
|
value: function log(e, t) {}
|
|
9581
9560
|
}]);
|
|
9582
9561
|
}();
|
|
9583
|
-
|
|
9562
|
+
Ot.instance = new Ot();
|
|
9584
9563
|
var yp = "8.0.7";
|
|
9585
9564
|
var xe = /*#__PURE__*/function () {
|
|
9586
9565
|
function xe() {
|
|
@@ -9683,7 +9662,7 @@ function _R() {
|
|
|
9683
9662
|
return _R.apply(this, arguments);
|
|
9684
9663
|
}
|
|
9685
9664
|
function wp(r) {
|
|
9686
|
-
return r === undefined ? new tr(I.Information) : r === null ?
|
|
9665
|
+
return r === undefined ? new tr(I.Information) : r === null ? Ot.instance : r.log !== undefined ? r : new tr(r);
|
|
9687
9666
|
}
|
|
9688
9667
|
var Ep = /*#__PURE__*/function () {
|
|
9689
9668
|
function Ep(e, t) {
|
|
@@ -9793,7 +9772,7 @@ var Fp = /*#__PURE__*/function (_ur) {
|
|
|
9793
9772
|
_context46.n = 1;
|
|
9794
9773
|
break;
|
|
9795
9774
|
}
|
|
9796
|
-
throw new
|
|
9775
|
+
throw new Oe();
|
|
9797
9776
|
case 1:
|
|
9798
9777
|
if (e.method) {
|
|
9799
9778
|
_context46.n = 2;
|
|
@@ -9809,7 +9788,7 @@ var Fp = /*#__PURE__*/function (_ur) {
|
|
|
9809
9788
|
case 3:
|
|
9810
9789
|
t = new this._abortControllerType();
|
|
9811
9790
|
e.abortSignal && (e.abortSignal.onabort = function () {
|
|
9812
|
-
t.abort(), n = new
|
|
9791
|
+
t.abort(), n = new Oe();
|
|
9813
9792
|
});
|
|
9814
9793
|
a = null;
|
|
9815
9794
|
if (e.timeout) {
|
|
@@ -9911,14 +9890,14 @@ var Ip = /*#__PURE__*/function (_ur2) {
|
|
|
9911
9890
|
key: "send",
|
|
9912
9891
|
value: function send(e) {
|
|
9913
9892
|
var _this10 = this;
|
|
9914
|
-
return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new
|
|
9893
|
+
return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new Oe()) : e.method ? e.url ? new Promise(function (t, n) {
|
|
9915
9894
|
var a = new XMLHttpRequest();
|
|
9916
9895
|
a.open(e.method, e.url, true), a.withCredentials = e.withCredentials === undefined ? true : e.withCredentials, a.setRequestHeader("X-Requested-With", "XMLHttpRequest"), e.content === "" && (e.content = undefined), e.content && (ct(e.content) ? a.setRequestHeader("Content-Type", "application/octet-stream") : a.setRequestHeader("Content-Type", "text/plain;charset=UTF-8"));
|
|
9917
9896
|
var s = e.headers;
|
|
9918
9897
|
s && Object.keys(s).forEach(function (i) {
|
|
9919
9898
|
a.setRequestHeader(i, s[i]);
|
|
9920
9899
|
}), e.responseType && (a.responseType = e.responseType), e.abortSignal && (e.abortSignal.onabort = function () {
|
|
9921
|
-
a.abort(), n(new
|
|
9900
|
+
a.abort(), n(new Oe());
|
|
9922
9901
|
}), e.timeout && (a.timeout = e.timeout), a.onload = function () {
|
|
9923
9902
|
e.abortSignal && (e.abortSignal.onabort = null), a.status >= 200 && a.status < 300 ? t(new P0(a.status, a.statusText, a.response || a.responseText)) : n(new at(a.response || a.responseText || a.statusText, a.status));
|
|
9924
9903
|
}, a.onerror = function () {
|
|
@@ -9943,7 +9922,7 @@ var Tp = /*#__PURE__*/function (_ur3) {
|
|
|
9943
9922
|
return _createClass(Tp, [{
|
|
9944
9923
|
key: "send",
|
|
9945
9924
|
value: function send(e) {
|
|
9946
|
-
return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new
|
|
9925
|
+
return e.abortSignal && e.abortSignal.aborted ? Promise.reject(new Oe()) : e.method ? e.url ? this._httpClient.send(e) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
9947
9926
|
}
|
|
9948
9927
|
}, {
|
|
9949
9928
|
key: "getCookieString",
|
|
@@ -10091,7 +10070,7 @@ var $p = /*#__PURE__*/function () {
|
|
|
10091
10070
|
_a8 = function _a8() {}, s = function s() {};
|
|
10092
10071
|
ct(t) ? this._bufferedByteCount += t.byteLength : this._bufferedByteCount += t.length, this._bufferedByteCount >= this._bufferSize && (n = new Promise(function (i, l) {
|
|
10093
10072
|
_a8 = i, s = l;
|
|
10094
|
-
})), this._messages.push(new
|
|
10073
|
+
})), this._messages.push(new zp(t, this._totalMessageCount, _a8, s));
|
|
10095
10074
|
}
|
|
10096
10075
|
_context47.p = 1;
|
|
10097
10076
|
_t20 = this._reconnectInProgress;
|
|
@@ -10276,11 +10255,11 @@ var $p = /*#__PURE__*/function () {
|
|
|
10276
10255
|
}
|
|
10277
10256
|
}]);
|
|
10278
10257
|
}();
|
|
10279
|
-
var
|
|
10280
|
-
_classCallCheck(this,
|
|
10258
|
+
var zp = /*#__PURE__*/_createClass(function zp(e, t, n, a) {
|
|
10259
|
+
_classCallCheck(this, zp);
|
|
10281
10260
|
this._message = e, this._id = t, this._resolver = n, this._rejector = a;
|
|
10282
10261
|
});
|
|
10283
|
-
var
|
|
10262
|
+
var Op = 30 * 1e3,
|
|
10284
10263
|
Mp = 15 * 1e3,
|
|
10285
10264
|
Np = 1e5;
|
|
10286
10265
|
var ue;
|
|
@@ -10293,7 +10272,7 @@ var Rn = /*#__PURE__*/function () {
|
|
|
10293
10272
|
_classCallCheck(this, Rn);
|
|
10294
10273
|
this._nextKeepAlive = 0, this._freezeEventListener = function () {
|
|
10295
10274
|
_this13._logger.log(I.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");
|
|
10296
|
-
}, xe.isRequired(e, "connection"), xe.isRequired(t, "logger"), xe.isRequired(n, "protocol"), this.serverTimeoutInMilliseconds = s !== null && s !== void 0 ? s :
|
|
10275
|
+
}, xe.isRequired(e, "connection"), xe.isRequired(t, "logger"), xe.isRequired(n, "protocol"), this.serverTimeoutInMilliseconds = s !== null && s !== void 0 ? s : Op, this.keepAliveIntervalInMilliseconds = i !== null && i !== void 0 ? i : Mp, this._statefulReconnectBufferSize = l !== null && l !== void 0 ? l : Np, this._logger = t, this._protocol = n, this.connection = e, this._reconnectPolicy = a, this._handshakeProtocol = new Pp(), this.connection.onreceive = function (u) {
|
|
10297
10276
|
return _this13._processIncomingData(u);
|
|
10298
10277
|
}, this.connection.onclose = function (u) {
|
|
10299
10278
|
return _this13._connectionClosed(u);
|
|
@@ -10495,7 +10474,7 @@ var Rn = /*#__PURE__*/function () {
|
|
|
10495
10474
|
if (this._connectionState === ue.Disconnected) return this._logger.log(I.Debug, "Call to HubConnection.stop(".concat(e, ") ignored because it is already in the disconnected state.")), Promise.resolve();
|
|
10496
10475
|
if (this._connectionState === ue.Disconnecting) return this._logger.log(I.Debug, "Call to HttpConnection.stop(".concat(e, ") ignored because the connection is already in the disconnecting state.")), this._stopPromise;
|
|
10497
10476
|
var t = this._connectionState;
|
|
10498
|
-
return this._connectionState = ue.Disconnecting, this._logger.log(I.Debug, "Stopping HubConnection."), this._reconnectDelayHandle ? (this._logger.log(I.Debug, "Connection stopped during reconnect delay. Done reconnecting."), clearTimeout(this._reconnectDelayHandle), this._reconnectDelayHandle = undefined, this._completeClose(), Promise.resolve()) : (t === ue.Connected && this._sendCloseMessage(), this._cleanupTimeout(), this._cleanupPingTimer(), this._stopDuringStartError = e || new
|
|
10477
|
+
return this._connectionState = ue.Disconnecting, this._logger.log(I.Debug, "Stopping HubConnection."), this._reconnectDelayHandle ? (this._logger.log(I.Debug, "Connection stopped during reconnect delay. Done reconnecting."), clearTimeout(this._reconnectDelayHandle), this._reconnectDelayHandle = undefined, this._completeClose(), Promise.resolve()) : (t === ue.Connected && this._sendCloseMessage(), this._cleanupTimeout(), this._cleanupPingTimer(), this._stopDuringStartError = e || new Oe("The connection was stopped before the hub handshake could complete."), this.connection.stop(e));
|
|
10499
10478
|
}
|
|
10500
10479
|
}, {
|
|
10501
10480
|
key: "_sendCloseMessage",
|
|
@@ -10900,7 +10879,7 @@ var Rn = /*#__PURE__*/function () {
|
|
|
10900
10879
|
}, {
|
|
10901
10880
|
key: "_connectionClosed",
|
|
10902
10881
|
value: function _connectionClosed(e) {
|
|
10903
|
-
this._logger.log(I.Debug, "HubConnection.connectionClosed(".concat(e, ") called while in state ").concat(this._connectionState, ".")), this._stopDuringStartError = this._stopDuringStartError || e || new
|
|
10882
|
+
this._logger.log(I.Debug, "HubConnection.connectionClosed(".concat(e, ") called while in state ").concat(this._connectionState, ".")), this._stopDuringStartError = this._stopDuringStartError || e || new Oe("The underlying connection was closed before the hub handshake could complete."), this._handshakeResolver && this._handshakeResolver(), this._cancelCallbacksWithError(e || new Error("Invocation canceled due to the underlying connection being closed.")), this._cleanupTimeout(), this._cleanupPingTimer(), this._connectionState === ue.Disconnecting ? this._completeClose(e) : this._connectionState === ue.Connected && this._reconnectPolicy ? this._reconnect(e) : this._connectionState === ue.Connected && this._completeClose(e);
|
|
10904
10883
|
}
|
|
10905
10884
|
}, {
|
|
10906
10885
|
key: "_completeClose",
|
|
@@ -11292,10 +11271,10 @@ var he;
|
|
|
11292
11271
|
(function (r) {
|
|
11293
11272
|
r[r.None = 0] = "None", r[r.WebSockets = 1] = "WebSockets", r[r.ServerSentEvents = 2] = "ServerSentEvents", r[r.LongPolling = 4] = "LongPolling";
|
|
11294
11273
|
})(he || (he = {}));
|
|
11295
|
-
var
|
|
11274
|
+
var ye;
|
|
11296
11275
|
(function (r) {
|
|
11297
11276
|
r[r.Text = 1] = "Text", r[r.Binary = 2] = "Binary";
|
|
11298
|
-
})(
|
|
11277
|
+
})(ye || (ye = {}));
|
|
11299
11278
|
var Up = /*#__PURE__*/function () {
|
|
11300
11279
|
function Up() {
|
|
11301
11280
|
_classCallCheck(this, Up);
|
|
@@ -11338,7 +11317,7 @@ var ma = /*#__PURE__*/function () {
|
|
|
11338
11317
|
return _regenerator().w(function (_context58) {
|
|
11339
11318
|
while (1) switch (_context58.n) {
|
|
11340
11319
|
case 0:
|
|
11341
|
-
if (!(xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t,
|
|
11320
|
+
if (!(xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, ye, "transferFormat"), this._url = e, this._logger.log(I.Trace, "(LongPolling transport) Connecting."), t === ye.Binary && (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) < "u" && typeof new XMLHttpRequest().responseType != "string")) {
|
|
11342
11321
|
_context58.n = 1;
|
|
11343
11322
|
break;
|
|
11344
11323
|
}
|
|
@@ -11350,7 +11329,7 @@ var ma = /*#__PURE__*/function () {
|
|
|
11350
11329
|
timeout: 1e5,
|
|
11351
11330
|
withCredentials: this._options.withCredentials
|
|
11352
11331
|
};
|
|
11353
|
-
t ===
|
|
11332
|
+
t === ye.Binary && (i.responseType = "arraybuffer");
|
|
11354
11333
|
l = "".concat(e, "&_=").concat(Date.now());
|
|
11355
11334
|
this._logger.log(I.Trace, "(LongPolling transport) polling: ".concat(l, "."));
|
|
11356
11335
|
_context58.n = 2;
|
|
@@ -11499,9 +11478,9 @@ var jp = /*#__PURE__*/function () {
|
|
|
11499
11478
|
return _regenerator().w(function (_context62) {
|
|
11500
11479
|
while (1) switch (_context62.n) {
|
|
11501
11480
|
case 0:
|
|
11502
|
-
return _context62.a(2, (xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t,
|
|
11481
|
+
return _context62.a(2, (xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, ye, "transferFormat"), this._logger.log(I.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + "access_token=".concat(encodeURIComponent(this._accessToken))), new Promise(function (n, a) {
|
|
11503
11482
|
var s = false;
|
|
11504
|
-
if (t !==
|
|
11483
|
+
if (t !== ye.Text) {
|
|
11505
11484
|
a(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
11506
11485
|
return;
|
|
11507
11486
|
}
|
|
@@ -11589,7 +11568,7 @@ var qp = /*#__PURE__*/function () {
|
|
|
11589
11568
|
return _regenerator().w(function (_context64) {
|
|
11590
11569
|
while (1) switch (_context64.n) {
|
|
11591
11570
|
case 0:
|
|
11592
|
-
xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t,
|
|
11571
|
+
xe.isRequired(e, "url"), xe.isRequired(t, "transferFormat"), xe.isIn(t, ye, "transferFormat"), this._logger.log(I.Trace, "(WebSockets transport) Connecting.");
|
|
11593
11572
|
_t43 = this._accessTokenFactory;
|
|
11594
11573
|
if (!_t43) {
|
|
11595
11574
|
_context64.n = 2;
|
|
@@ -11615,7 +11594,7 @@ var qp = /*#__PURE__*/function () {
|
|
|
11615
11594
|
headers: _objectSpread(_objectSpread({}, _o7), _this25._headers)
|
|
11616
11595
|
});
|
|
11617
11596
|
} else n && (e += (e.indexOf("?") < 0 ? "?" : "&") + "access_token=".concat(encodeURIComponent(n)));
|
|
11618
|
-
i || (i = new _this25._webSocketConstructor(e)), t ===
|
|
11597
|
+
i || (i = new _this25._webSocketConstructor(e)), t === ye.Binary && (i.binaryType = "arraybuffer"), i.onopen = function (o) {
|
|
11619
11598
|
_this25._logger.log(I.Information, "WebSocket connected to ".concat(e, ".")), _this25._webSocket = i, u = true, a();
|
|
11620
11599
|
}, i.onerror = function (o) {
|
|
11621
11600
|
var c = null;
|
|
@@ -11687,7 +11666,7 @@ var Wp = /*#__PURE__*/function () {
|
|
|
11687
11666
|
return _regenerator().w(function (_context65) {
|
|
11688
11667
|
while (1) switch (_context65.n) {
|
|
11689
11668
|
case 0:
|
|
11690
|
-
if (!(e = e ||
|
|
11669
|
+
if (!(e = e || ye.Binary, xe.isIn(e, ye, "transferFormat"), this._logger.log(I.Debug, "Starting connection with transfer format '".concat(ye[e], "'.")), this._connectionState !== "Disconnected")) {
|
|
11691
11670
|
_context65.n = 1;
|
|
11692
11671
|
break;
|
|
11693
11672
|
}
|
|
@@ -11707,14 +11686,14 @@ var Wp = /*#__PURE__*/function () {
|
|
|
11707
11686
|
_context65.n = 3;
|
|
11708
11687
|
return this._stopPromise;
|
|
11709
11688
|
case 3:
|
|
11710
|
-
return _context65.a(2, Promise.reject(new
|
|
11689
|
+
return _context65.a(2, Promise.reject(new Oe(_t44)));
|
|
11711
11690
|
case 4:
|
|
11712
11691
|
if (!(this._connectionState !== "Connected")) {
|
|
11713
11692
|
_context65.n = 5;
|
|
11714
11693
|
break;
|
|
11715
11694
|
}
|
|
11716
11695
|
_t45 = "HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";
|
|
11717
|
-
return _context65.a(2, (this._logger.log(I.Error, _t45), Promise.reject(new
|
|
11696
|
+
return _context65.a(2, (this._logger.log(I.Error, _t45), Promise.reject(new Oe(_t45))));
|
|
11718
11697
|
case 5:
|
|
11719
11698
|
this._connectionStarted = true;
|
|
11720
11699
|
case 6:
|
|
@@ -11866,7 +11845,7 @@ var Wp = /*#__PURE__*/function () {
|
|
|
11866
11845
|
_context68.n = 2;
|
|
11867
11846
|
break;
|
|
11868
11847
|
}
|
|
11869
|
-
throw new
|
|
11848
|
+
throw new Oe("The connection was stopped during negotiation.");
|
|
11870
11849
|
case 2:
|
|
11871
11850
|
if (!n.error) {
|
|
11872
11851
|
_context68.n = 3;
|
|
@@ -12051,7 +12030,7 @@ var Wp = /*#__PURE__*/function () {
|
|
|
12051
12030
|
break;
|
|
12052
12031
|
}
|
|
12053
12032
|
d = "Failed to select transport before stop() was called.";
|
|
12054
|
-
return _context71.a(2, (this._logger.log(I.Debug, d), Promise.reject(new
|
|
12033
|
+
return _context71.a(2, (this._logger.log(I.Debug, d), Promise.reject(new Oe(d))));
|
|
12055
12034
|
case 13:
|
|
12056
12035
|
_context71.n = 4;
|
|
12057
12036
|
break;
|
|
@@ -12148,7 +12127,7 @@ var Wp = /*#__PURE__*/function () {
|
|
|
12148
12127
|
if (s == null) return this._logger.log(I.Debug, "Skipping transport '".concat(e.transport, "' because it is not supported by this client.")), new Error("Skipping transport '".concat(e.transport, "' because it is not supported by this client."));
|
|
12149
12128
|
if (Vp(t, s)) {
|
|
12150
12129
|
if (e.transferFormats.map(function (l) {
|
|
12151
|
-
return
|
|
12130
|
+
return ye[l];
|
|
12152
12131
|
}).indexOf(n) >= 0) {
|
|
12153
12132
|
if (s === he.WebSockets && !this._options.WebSocket || s === he.ServerSentEvents && !this._options.EventSource) return this._logger.log(I.Debug, "Skipping transport '".concat(he[s], "' because it is not supported in your environment.'")), new gp("'".concat(he[s], "' is not supported in your environment."), s);
|
|
12154
12133
|
this._logger.log(I.Debug, "Selecting transport '".concat(he[s], "'."));
|
|
@@ -12157,7 +12136,7 @@ var Wp = /*#__PURE__*/function () {
|
|
|
12157
12136
|
} catch (l) {
|
|
12158
12137
|
return l;
|
|
12159
12138
|
}
|
|
12160
|
-
} else return this._logger.log(I.Debug, "Skipping transport '".concat(he[s], "' because it does not support the requested transfer format '").concat(
|
|
12139
|
+
} else return this._logger.log(I.Debug, "Skipping transport '".concat(he[s], "' because it does not support the requested transfer format '").concat(ye[n], "'.")), new Error("'".concat(he[s], "' does not support ").concat(ye[n], "."));
|
|
12161
12140
|
} else return this._logger.log(I.Debug, "Skipping transport '".concat(he[s], "' because it was disabled by the client.")), new mp("'".concat(he[s], "' is disabled by the client."), s);
|
|
12162
12141
|
}
|
|
12163
12142
|
}, {
|
|
@@ -12325,7 +12304,7 @@ var Kp = "json";
|
|
|
12325
12304
|
var Gp = /*#__PURE__*/function () {
|
|
12326
12305
|
function Gp() {
|
|
12327
12306
|
_classCallCheck(this, Gp);
|
|
12328
|
-
this.name = Kp, this.version = 2, this.transferFormat =
|
|
12307
|
+
this.name = Kp, this.version = 2, this.transferFormat = ye.Text;
|
|
12329
12308
|
}
|
|
12330
12309
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
12331
12310
|
*
|
|
@@ -12337,7 +12316,7 @@ var Gp = /*#__PURE__*/function () {
|
|
|
12337
12316
|
value: function parseMessages(e, t) {
|
|
12338
12317
|
if (typeof e != "string") throw new Error("Invalid input for JSON hub protocol. Expected a string.");
|
|
12339
12318
|
if (!e) return [];
|
|
12340
|
-
t === null && (t =
|
|
12319
|
+
t === null && (t = Ot.instance);
|
|
12341
12320
|
var n = Te.parse(e),
|
|
12342
12321
|
a = [];
|
|
12343
12322
|
var _iterator11 = _createForOfIteratorHelper(n),
|
|
@@ -12511,7 +12490,7 @@ var Zp = /*#__PURE__*/function () {
|
|
|
12511
12490
|
var e = this.httpConnectionOptions || {};
|
|
12512
12491
|
if (e.logger === undefined && (e.logger = this.logger), !this.url) throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
12513
12492
|
var t = new Wp(this.url, e);
|
|
12514
|
-
return Rn.create(t, this.logger ||
|
|
12493
|
+
return Rn.create(t, this.logger || Ot.instance, this.protocol || new Gp(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
12515
12494
|
}
|
|
12516
12495
|
}]);
|
|
12517
12496
|
}();
|
|
@@ -12525,18 +12504,7 @@ var eh = function eh() {
|
|
|
12525
12504
|
skipNegotiation: true,
|
|
12526
12505
|
transport: he.WebSockets
|
|
12527
12506
|
}).withAutomaticReconnect().build();
|
|
12528
|
-
return r.start().then(function () {
|
|
12529
|
-
console.log({
|
|
12530
|
-
message: "服务器连接成功了",
|
|
12531
|
-
type: "success"
|
|
12532
|
-
});
|
|
12533
|
-
})["catch"](function (e) {
|
|
12534
|
-
console.log("\u670D\u52A1\u5668\u8FDE\u63A5\u5931\u8D25\u4E86\r".concat(e.message.toString()));
|
|
12535
|
-
}), r.onclose(function (e) {
|
|
12536
|
-
console.log("\u670D\u52A1\u5668\u7591\u4F3C\u65AD\u5F00\u4E86\r".concat(e == null ? undefined : e.message.toString()));
|
|
12537
|
-
}), r.onreconnected(function () {
|
|
12538
|
-
console.log("服务器重新连接成功了");
|
|
12539
|
-
}), r;
|
|
12507
|
+
return r.start().then(function () {})["catch"](function (e) {}), r.onclose(function (e) {}), r.onreconnected(function () {}), r;
|
|
12540
12508
|
},
|
|
12541
12509
|
dr = "v1",
|
|
12542
12510
|
th = createApiService.createService("/api/graphics-engine/component/".concat(dr), function (r) {
|
|
@@ -12621,26 +12589,26 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12621
12589
|
i = function i(f) {
|
|
12622
12590
|
try {
|
|
12623
12591
|
return JSON.parse(f);
|
|
12624
|
-
} catch (
|
|
12592
|
+
} catch (_unused1) {
|
|
12625
12593
|
return false;
|
|
12626
12594
|
}
|
|
12627
12595
|
}, l = /*#__PURE__*/function () {
|
|
12628
12596
|
var _ref95 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee74(f) {
|
|
12629
|
-
var
|
|
12597
|
+
var w, A, B, E, k, v, C, y, _v$currentSubApp$menu, D, S, b, _y, _b, _D2, _S, L, H, _H, _H$, W, _H$2, q, U, j, _G2, _H2, _W, _yield$sh$run, _yield$sh$run2, _q3, _U2, _j2, _G3, T;
|
|
12630
12598
|
return _regenerator().w(function (_context75) {
|
|
12631
12599
|
while (1) switch (_context75.n) {
|
|
12632
12600
|
case 0:
|
|
12633
|
-
v = commonInfo.getSubApps(), C = ((
|
|
12601
|
+
v = commonInfo.getSubApps(), C = ((w = v.appcategorys) == null ? undefined : w.map(function (y) {
|
|
12634
12602
|
return y.apps;
|
|
12635
12603
|
}).flat()) || [];
|
|
12636
12604
|
if (!Array.isArray(f)) {
|
|
12637
12605
|
_context75.n = 2;
|
|
12638
12606
|
break;
|
|
12639
12607
|
}
|
|
12640
|
-
y = f.filter(function (
|
|
12641
|
-
return
|
|
12642
|
-
}).map(function (
|
|
12643
|
-
return
|
|
12608
|
+
y = f.filter(function (b) {
|
|
12609
|
+
return b.code;
|
|
12610
|
+
}).map(function (b) {
|
|
12611
|
+
return b.code;
|
|
12644
12612
|
});
|
|
12645
12613
|
if (!f.length) {
|
|
12646
12614
|
_context75.n = 2;
|
|
@@ -12662,11 +12630,11 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12662
12630
|
});
|
|
12663
12631
|
return _context75.a(2);
|
|
12664
12632
|
case 1:
|
|
12665
|
-
|
|
12633
|
+
b = C.find(function (D) {
|
|
12666
12634
|
return y.includes(D.code);
|
|
12667
12635
|
});
|
|
12668
|
-
|
|
12669
|
-
microApp:
|
|
12636
|
+
b && e({
|
|
12637
|
+
microApp: b
|
|
12670
12638
|
});
|
|
12671
12639
|
case 2:
|
|
12672
12640
|
if (!(typeof f == "string")) {
|
|
@@ -12674,8 +12642,8 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12674
12642
|
break;
|
|
12675
12643
|
}
|
|
12676
12644
|
_y = f;
|
|
12677
|
-
|
|
12678
|
-
_D2 && (_y = _y.slice(0, _y.indexOf(
|
|
12645
|
+
_b = "_showEchartTooltip", _D2 = _y.endsWith(_b);
|
|
12646
|
+
_D2 && (_y = _y.slice(0, _y.indexOf(_b)));
|
|
12679
12647
|
_S = "_zdkbInfo", L = _y.endsWith(_S);
|
|
12680
12648
|
if (!(L && (_y = _y.slice(0, _y.indexOf(_S))), _y.includes(":"))) {
|
|
12681
12649
|
_context75.n = 10;
|
|
@@ -12710,7 +12678,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12710
12678
|
_G2 = JSON.stringify({
|
|
12711
12679
|
showEchartTooltip: _D2
|
|
12712
12680
|
});
|
|
12713
|
-
if (!((
|
|
12681
|
+
if (!((A = r.query) != null && A.app && r.query.app === U.code && (B = r.query) != null && B.menu && r.query.menu === q)) {
|
|
12714
12682
|
_context75.n = 5;
|
|
12715
12683
|
break;
|
|
12716
12684
|
}
|
|
@@ -12790,7 +12758,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12790
12758
|
T = JSON.stringify({
|
|
12791
12759
|
showEchartTooltip: _D2
|
|
12792
12760
|
});
|
|
12793
|
-
if (!((
|
|
12761
|
+
if (!((E = r.query) != null && E.app && r.query.app === _W.code && (k = r.query) != null && k.menu && r.query.menu === _H2)) {
|
|
12794
12762
|
_context75.n = 15;
|
|
12795
12763
|
break;
|
|
12796
12764
|
}
|
|
@@ -12828,7 +12796,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12828
12796
|
u = vue.ref(true);
|
|
12829
12797
|
o = function o(f) {
|
|
12830
12798
|
setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee75() {
|
|
12831
|
-
var v, C, _yield$oh$run, _yield$oh$run2,
|
|
12799
|
+
var v, C, _yield$oh$run, _yield$oh$run2, w, A;
|
|
12832
12800
|
return _regenerator().w(function (_context76) {
|
|
12833
12801
|
while (1) switch (_context76.n) {
|
|
12834
12802
|
case 0:
|
|
@@ -12845,9 +12813,9 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12845
12813
|
case 1:
|
|
12846
12814
|
_yield$oh$run = _context76.v;
|
|
12847
12815
|
_yield$oh$run2 = _slicedToArray(_yield$oh$run, 2);
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
if (!
|
|
12816
|
+
w = _yield$oh$run2[0];
|
|
12817
|
+
A = _yield$oh$run2[1];
|
|
12818
|
+
if (!w) {
|
|
12851
12819
|
_context76.n = 3;
|
|
12852
12820
|
break;
|
|
12853
12821
|
}
|
|
@@ -12861,16 +12829,16 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12861
12829
|
_context76.n = 6;
|
|
12862
12830
|
break;
|
|
12863
12831
|
case 3:
|
|
12864
|
-
if (!
|
|
12832
|
+
if (!A.length) {
|
|
12865
12833
|
_context76.n = 5;
|
|
12866
12834
|
break;
|
|
12867
12835
|
}
|
|
12868
|
-
|
|
12836
|
+
A.length > 1 ? l(A) : l((v = A[0]) == null ? undefined : v.code);
|
|
12869
12837
|
_context76.n = 4;
|
|
12870
12838
|
return Jr().run({
|
|
12871
12839
|
uniqueId: f.uniqueId,
|
|
12872
12840
|
status: 1,
|
|
12873
|
-
targetName: (C =
|
|
12841
|
+
targetName: (C = A[0]) == null ? undefined : C.name
|
|
12874
12842
|
});
|
|
12875
12843
|
case 4:
|
|
12876
12844
|
_context76.n = 6;
|
|
@@ -12894,16 +12862,16 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12894
12862
|
var v = commonInfo.getToken(),
|
|
12895
12863
|
C = JSON.parse(atob(v.split(".")[1])).sub;
|
|
12896
12864
|
eh().on("".concat(f, ":").concat(C), /*#__PURE__*/function () {
|
|
12897
|
-
var _ref99 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee76(
|
|
12898
|
-
var
|
|
12865
|
+
var _ref99 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee76(A) {
|
|
12866
|
+
var B, E, k;
|
|
12899
12867
|
return _regenerator().w(function (_context77) {
|
|
12900
12868
|
while (1) switch (_context77.n) {
|
|
12901
12869
|
case 0:
|
|
12902
|
-
|
|
12903
|
-
if (
|
|
12904
|
-
|
|
12905
|
-
l(
|
|
12906
|
-
} else
|
|
12870
|
+
B = i(A);
|
|
12871
|
+
if (B) B.uniqueId && B.actionKey == "switch-menu" && o(B);else if (A.includes("openAppMenu=")) {
|
|
12872
|
+
E = A.split("="), k = JSON.parse(E[1]);
|
|
12873
|
+
l(k);
|
|
12874
|
+
} else A.includes("iocIsRun") && (u.value = false);
|
|
12907
12875
|
case 1:
|
|
12908
12876
|
return _context77.a(2);
|
|
12909
12877
|
}
|
|
@@ -12950,9 +12918,9 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12950
12918
|
p();
|
|
12951
12919
|
}, 72e5);
|
|
12952
12920
|
g = vue.ref("online"), x = function x(f) {
|
|
12953
|
-
f === "online" && g.value === "offline"
|
|
12954
|
-
p()
|
|
12955
|
-
}, 5e3)
|
|
12921
|
+
f === "online" && g.value === "offline" && setTimeout(function () {
|
|
12922
|
+
p();
|
|
12923
|
+
}, 5e3), g.value = (window.navigator.onLine ? "on" : "off") + "line";
|
|
12956
12924
|
};
|
|
12957
12925
|
window.addEventListener("online", function () {
|
|
12958
12926
|
return x("online");
|
|
@@ -12969,7 +12937,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12969
12937
|
},
|
|
12970
12938
|
fr = "v1",
|
|
12971
12939
|
lh = apiServices.createService("/api/fms/report/".concat(fr)),
|
|
12972
|
-
|
|
12940
|
+
zn = apiServices.createService("/api/emergency/manage/".concat(fr)),
|
|
12973
12941
|
uh = apiServices.enterpriseright.get("/permissionset/user-portal-menu"),
|
|
12974
12942
|
$0 = apiServices.createService("/api/alarm/config/".concat(fr)),
|
|
12975
12943
|
dh = apiServices.createService("/api/alarm/run-time/".concat(fr)),
|
|
@@ -12979,9 +12947,9 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
12979
12947
|
xh = lh.get("/alarm/rule/list"),
|
|
12980
12948
|
vh = apiServices.spaceManage.get("/controller/space-children-all-type"),
|
|
12981
12949
|
gh = apiServices.spaceManage.get("/controller/fuzzy-area-small"),
|
|
12982
|
-
mh =
|
|
12983
|
-
_h =
|
|
12984
|
-
Ch =
|
|
12950
|
+
mh = zn.get("/emergency-event/event/type"),
|
|
12951
|
+
_h = zn.get("/emergency-event/event/level"),
|
|
12952
|
+
Ch = zn.get("/emergency-plan/plan/handle-time"),
|
|
12985
12953
|
yh = {
|
|
12986
12954
|
"class": "handle-alarm-container"
|
|
12987
12955
|
},
|
|
@@ -13093,63 +13061,63 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13093
13061
|
v = vue.ref([]),
|
|
13094
13062
|
C = vue.ref("");
|
|
13095
13063
|
vue.ref("[]");
|
|
13096
|
-
var
|
|
13097
|
-
|
|
13098
|
-
|
|
13064
|
+
var w = vue.ref(true),
|
|
13065
|
+
A = vue.ref(true),
|
|
13066
|
+
B = /*#__PURE__*/function () {
|
|
13099
13067
|
var _ref102 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee79(N) {
|
|
13100
|
-
var
|
|
13068
|
+
var R, _yield$vh$run, _yield$vh$run2, O, Ee;
|
|
13101
13069
|
return _regenerator().w(function (_context80) {
|
|
13102
13070
|
while (1) switch (_context80.n) {
|
|
13103
13071
|
case 0:
|
|
13104
|
-
|
|
13072
|
+
R = {
|
|
13105
13073
|
name: "1"
|
|
13106
13074
|
};
|
|
13107
|
-
N != null && N.id && (
|
|
13075
|
+
N != null && N.id && (R.spaceId = N.id);
|
|
13108
13076
|
_context80.n = 1;
|
|
13109
|
-
return vh(
|
|
13077
|
+
return vh(R).run();
|
|
13110
13078
|
case 1:
|
|
13111
13079
|
_yield$vh$run = _context80.v;
|
|
13112
13080
|
_yield$vh$run2 = _slicedToArray(_yield$vh$run, 2);
|
|
13113
|
-
|
|
13114
|
-
|
|
13115
|
-
return _context80.a(2,
|
|
13081
|
+
O = _yield$vh$run2[0];
|
|
13082
|
+
Ee = _yield$vh$run2[1];
|
|
13083
|
+
return _context80.a(2, O ? {} : Ee);
|
|
13116
13084
|
}
|
|
13117
13085
|
}, _callee79);
|
|
13118
13086
|
}));
|
|
13119
|
-
return function
|
|
13087
|
+
return function B(_x78) {
|
|
13120
13088
|
return _ref102.apply(this, arguments);
|
|
13121
13089
|
};
|
|
13122
13090
|
}(),
|
|
13123
|
-
|
|
13091
|
+
E = /*#__PURE__*/function () {
|
|
13124
13092
|
var _ref103 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee80(N) {
|
|
13125
|
-
var
|
|
13093
|
+
var R, _yield$gh$run, _yield$gh$run2, O, Ee;
|
|
13126
13094
|
return _regenerator().w(function (_context81) {
|
|
13127
13095
|
while (1) switch (_context81.n) {
|
|
13128
13096
|
case 0:
|
|
13129
|
-
|
|
13097
|
+
R = {
|
|
13130
13098
|
name: N || ""
|
|
13131
13099
|
};
|
|
13132
13100
|
_context81.n = 1;
|
|
13133
|
-
return gh(
|
|
13101
|
+
return gh(R).run();
|
|
13134
13102
|
case 1:
|
|
13135
13103
|
_yield$gh$run = _context81.v;
|
|
13136
13104
|
_yield$gh$run2 = _slicedToArray(_yield$gh$run, 2);
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
return _context81.a(2,
|
|
13105
|
+
O = _yield$gh$run2[0];
|
|
13106
|
+
Ee = _yield$gh$run2[1];
|
|
13107
|
+
return _context81.a(2, O ? {} : Ee);
|
|
13140
13108
|
}
|
|
13141
13109
|
}, _callee80);
|
|
13142
13110
|
}));
|
|
13143
|
-
return function
|
|
13111
|
+
return function E(_x79) {
|
|
13144
13112
|
return _ref103.apply(this, arguments);
|
|
13145
13113
|
};
|
|
13146
13114
|
}(),
|
|
13147
|
-
|
|
13115
|
+
k = vue.ref(true),
|
|
13148
13116
|
y = vue.ref(true),
|
|
13149
|
-
|
|
13117
|
+
b = vue.ref([]),
|
|
13150
13118
|
D = /*#__PURE__*/function () {
|
|
13151
13119
|
var _ref104 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee81() {
|
|
13152
|
-
var _yield$xh$run, _yield$xh$run2, N,
|
|
13120
|
+
var _yield$xh$run, _yield$xh$run2, N, R;
|
|
13153
13121
|
return _regenerator().w(function (_context82) {
|
|
13154
13122
|
while (1) switch (_context82.n) {
|
|
13155
13123
|
case 0:
|
|
@@ -13162,16 +13130,16 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13162
13130
|
_yield$xh$run = _context82.v;
|
|
13163
13131
|
_yield$xh$run2 = _slicedToArray(_yield$xh$run, 2);
|
|
13164
13132
|
N = _yield$xh$run2[0];
|
|
13165
|
-
|
|
13133
|
+
R = _yield$xh$run2[1];
|
|
13166
13134
|
if (!N) {
|
|
13167
13135
|
_context82.n = 2;
|
|
13168
13136
|
break;
|
|
13169
13137
|
}
|
|
13170
13138
|
return _context82.a(2, {});
|
|
13171
13139
|
case 2:
|
|
13172
|
-
|
|
13173
|
-
return
|
|
13174
|
-
}),
|
|
13140
|
+
b.value = R.data.filter(function (O) {
|
|
13141
|
+
return O.status;
|
|
13142
|
+
}), b.value.length > 0 && (o.value.workOrderRules = b.value[0].id);
|
|
13175
13143
|
case 3:
|
|
13176
13144
|
return _context82.a(2);
|
|
13177
13145
|
}
|
|
@@ -13182,44 +13150,44 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13182
13150
|
};
|
|
13183
13151
|
}();
|
|
13184
13152
|
vue.watch(u, function (N) {
|
|
13185
|
-
|
|
13186
|
-
}), vue.watch(
|
|
13187
|
-
|
|
13153
|
+
N || (U(), j());
|
|
13154
|
+
}), vue.watch(A, function (N) {
|
|
13155
|
+
N ? (w.value = true, o.value.customPath = index$1.i18n("选填").value) : (w.value = false, o.value.customPath = "");
|
|
13188
13156
|
}, {
|
|
13189
13157
|
immediate: true
|
|
13190
13158
|
}), vue.watch(y, function (N) {
|
|
13191
|
-
|
|
13159
|
+
N ? (o.value.reportTheme = index$1.i18n("告警对象").value, k.value = true) : (f.value = index$1.i18n("请输入").value, o.value.reportTheme = "", k.value = false);
|
|
13192
13160
|
}, {
|
|
13193
13161
|
immediate: true
|
|
13194
13162
|
});
|
|
13195
13163
|
var S = function S(N) {
|
|
13196
|
-
var
|
|
13197
|
-
return (
|
|
13164
|
+
var R;
|
|
13165
|
+
return (R = i.value) == null ? undefined : R.parentNode.parentNode;
|
|
13198
13166
|
},
|
|
13199
13167
|
L = function L(N) {
|
|
13200
13168
|
c.value.reportTheme = "";
|
|
13201
13169
|
},
|
|
13202
|
-
H = function H(N,
|
|
13203
|
-
|
|
13170
|
+
H = function H(N, R) {
|
|
13171
|
+
R.length > 0 && (x.value = R[0].path), o.value.reportPosition = N, C.value = "";
|
|
13204
13172
|
},
|
|
13205
13173
|
W = function W(N) {
|
|
13206
|
-
|
|
13174
|
+
N && (c.value.reportPosition = "", x.value = ""), N ? (o.value.reportPosition = null, x.value = "", m.value = index$1.i18n("告警对象位置").value) : (o.value.reportPosition = null, x.value = "", m.value = index$1.i18n("请选择").value);
|
|
13207
13175
|
},
|
|
13208
13176
|
q = function q(N) {
|
|
13209
|
-
|
|
13177
|
+
N && (c.value.reportTheme = ""), N ? (o.value.reportTheme = "", f.value = index$1.i18n("告警对象").value) : (o.value.reportTheme = "", f.value = index$1.i18n("请输入").value);
|
|
13210
13178
|
},
|
|
13211
13179
|
U = function U() {
|
|
13212
13180
|
c.value.processTypeId = "", c.value.reason = "", c.value.treatmentPlan = "", c.value.reportPosition = "", c.value.reportTheme = "", c.value.workOrderRules = "", c.value.eventTypeId = "", c.value.eventLevelId = "", c.value.timeLimit = "";
|
|
13213
13181
|
},
|
|
13214
13182
|
j = function j() {
|
|
13215
|
-
o.value.processTypeId = "confirm", o.value.reason = "", o.value.treatmentPlan = "", o.value.remarks = "", o.value.reportPosition = "", o.value.reportTheme = "", o.value.workOrderRules = null,
|
|
13183
|
+
o.value.processTypeId = "confirm", o.value.reason = "", o.value.treatmentPlan = "", o.value.remarks = "", o.value.reportPosition = "", o.value.reportTheme = "", o.value.workOrderRules = null, A.value = true, y.value = true, k.value = true, o.value.reportTheme = index$1.i18n("告警对象").value, x.value = "", m.value = index$1.i18n("告警对象位置").value, f.value = index$1.i18n("请输入").value, o.value.eventTypeId = "", o.value.eventLevelId = null, o.value.timeLimit = "", o.value.interval = 1, d.value = [], h.value = [];
|
|
13216
13184
|
},
|
|
13217
13185
|
G = function G(N) {
|
|
13218
|
-
|
|
13186
|
+
N == "eventTypeId" && (o.value.eventLevelId = null, P()), N == "eventLevelId" && z(), N == "interval" && (c.value.timeLimit = "", o.value.interval == 3 ? (_.value = true, o.value.timeLimit = "") : _.value = false);
|
|
13219
13187
|
},
|
|
13220
13188
|
T = /*#__PURE__*/function () {
|
|
13221
13189
|
var _ref105 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee82() {
|
|
13222
|
-
var _yield$mh$run, _yield$mh$run2, N,
|
|
13190
|
+
var _yield$mh$run, _yield$mh$run2, N, R;
|
|
13223
13191
|
return _regenerator().w(function (_context83) {
|
|
13224
13192
|
while (1) switch (_context83.n) {
|
|
13225
13193
|
case 0:
|
|
@@ -13229,14 +13197,14 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13229
13197
|
_yield$mh$run = _context83.v;
|
|
13230
13198
|
_yield$mh$run2 = _slicedToArray(_yield$mh$run, 2);
|
|
13231
13199
|
N = _yield$mh$run2[0];
|
|
13232
|
-
|
|
13233
|
-
if (!
|
|
13200
|
+
R = _yield$mh$run2[1];
|
|
13201
|
+
if (!N) {
|
|
13234
13202
|
_context83.n = 2;
|
|
13235
13203
|
break;
|
|
13236
13204
|
}
|
|
13237
13205
|
return _context83.a(2, {});
|
|
13238
13206
|
case 2:
|
|
13239
|
-
d.value =
|
|
13207
|
+
d.value = R, o.value.eventTypeId || (o.value.eventTypeId = R[0] ? R[0].id : null), P();
|
|
13240
13208
|
case 3:
|
|
13241
13209
|
return _context83.a(2);
|
|
13242
13210
|
}
|
|
@@ -13246,9 +13214,9 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13246
13214
|
return _ref105.apply(this, arguments);
|
|
13247
13215
|
};
|
|
13248
13216
|
}(),
|
|
13249
|
-
|
|
13217
|
+
P = /*#__PURE__*/function () {
|
|
13250
13218
|
var _ref106 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee83() {
|
|
13251
|
-
var N, _yield$_h$run, _yield$_h$run2,
|
|
13219
|
+
var N, _yield$_h$run, _yield$_h$run2, R, O, Ee;
|
|
13252
13220
|
return _regenerator().w(function (_context84) {
|
|
13253
13221
|
while (1) switch (_context84.n) {
|
|
13254
13222
|
case 0:
|
|
@@ -13260,42 +13228,41 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13260
13228
|
case 1:
|
|
13261
13229
|
_yield$_h$run = _context84.v;
|
|
13262
13230
|
_yield$_h$run2 = _slicedToArray(_yield$_h$run, 2);
|
|
13263
|
-
|
|
13264
|
-
|
|
13265
|
-
if (!
|
|
13231
|
+
R = _yield$_h$run2[0];
|
|
13232
|
+
O = _yield$_h$run2[1];
|
|
13233
|
+
if (!R) {
|
|
13266
13234
|
_context84.n = 2;
|
|
13267
13235
|
break;
|
|
13268
13236
|
}
|
|
13269
13237
|
return _context84.a(2, {});
|
|
13270
13238
|
case 2:
|
|
13271
|
-
|
|
13239
|
+
Ee = {
|
|
13272
13240
|
1: index$1.i18n("一级").value,
|
|
13273
13241
|
2: index$1.i18n("二级").value,
|
|
13274
13242
|
3: index$1.i18n("三级").value,
|
|
13275
13243
|
4: index$1.i18n("四级").value
|
|
13276
13244
|
};
|
|
13277
|
-
h.value =
|
|
13245
|
+
h.value = O.map(function (Me) {
|
|
13278
13246
|
return {
|
|
13279
13247
|
id: "".concat(Me),
|
|
13280
|
-
name:
|
|
13248
|
+
name: Ee[Me] ? Ee[Me] : Me
|
|
13281
13249
|
};
|
|
13282
|
-
}),
|
|
13250
|
+
}), O.length && !o.value.eventLevelId && (o.value.eventLevelId = h.value[0].id, z());
|
|
13283
13251
|
case 3:
|
|
13284
13252
|
return _context84.a(2);
|
|
13285
13253
|
}
|
|
13286
13254
|
}, _callee83);
|
|
13287
13255
|
}));
|
|
13288
|
-
return function
|
|
13256
|
+
return function P() {
|
|
13289
13257
|
return _ref106.apply(this, arguments);
|
|
13290
13258
|
};
|
|
13291
13259
|
}(),
|
|
13292
|
-
|
|
13260
|
+
z = /*#__PURE__*/function () {
|
|
13293
13261
|
var _ref107 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee84() {
|
|
13294
|
-
var N, _yield$Ch$run, _yield$Ch$run2,
|
|
13262
|
+
var N, _yield$Ch$run, _yield$Ch$run2, R, O;
|
|
13295
13263
|
return _regenerator().w(function (_context85) {
|
|
13296
13264
|
while (1) switch (_context85.n) {
|
|
13297
13265
|
case 0:
|
|
13298
|
-
console.log("getEmergencyHandleTime");
|
|
13299
13266
|
N = {
|
|
13300
13267
|
eventTypeId: o.value.eventTypeId,
|
|
13301
13268
|
eventLevel: o.value.eventLevelId
|
|
@@ -13305,30 +13272,30 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13305
13272
|
case 1:
|
|
13306
13273
|
_yield$Ch$run = _context85.v;
|
|
13307
13274
|
_yield$Ch$run2 = _slicedToArray(_yield$Ch$run, 2);
|
|
13308
|
-
|
|
13309
|
-
|
|
13310
|
-
if (!
|
|
13275
|
+
R = _yield$Ch$run2[0];
|
|
13276
|
+
O = _yield$Ch$run2[1];
|
|
13277
|
+
if (!R) {
|
|
13311
13278
|
_context85.n = 2;
|
|
13312
13279
|
break;
|
|
13313
13280
|
}
|
|
13314
13281
|
return _context85.a(2, {});
|
|
13315
13282
|
case 2:
|
|
13316
|
-
o.value.interval =
|
|
13283
|
+
o.value.interval = O.handleTimeUnit, O.handleTimeUnit == 3 ? o.value.timeLimit = "" : o.value.timeLimit = O.handleTime;
|
|
13317
13284
|
case 3:
|
|
13318
13285
|
return _context85.a(2);
|
|
13319
13286
|
}
|
|
13320
13287
|
}, _callee84);
|
|
13321
13288
|
}));
|
|
13322
|
-
return function
|
|
13289
|
+
return function z() {
|
|
13323
13290
|
return _ref107.apply(this, arguments);
|
|
13324
13291
|
};
|
|
13325
13292
|
}(),
|
|
13326
13293
|
$ = function $(N) {
|
|
13327
|
-
|
|
13294
|
+
U(), N == "createcontingency" && T();
|
|
13328
13295
|
},
|
|
13329
13296
|
ie = /*#__PURE__*/function () {
|
|
13330
13297
|
var _ref108 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee85() {
|
|
13331
|
-
var N, _yield$fh$run, _yield$fh$run2,
|
|
13298
|
+
var N, _yield$fh$run, _yield$fh$run2, R, O, Ee;
|
|
13332
13299
|
return _regenerator().w(function (_context86) {
|
|
13333
13300
|
while (1) switch (_context86.n) {
|
|
13334
13301
|
case 0:
|
|
@@ -13343,17 +13310,17 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13343
13310
|
case 1:
|
|
13344
13311
|
_yield$fh$run = _context86.v;
|
|
13345
13312
|
_yield$fh$run2 = _slicedToArray(_yield$fh$run, 2);
|
|
13346
|
-
|
|
13347
|
-
|
|
13348
|
-
if (!
|
|
13313
|
+
R = _yield$fh$run2[0];
|
|
13314
|
+
O = _yield$fh$run2[1];
|
|
13315
|
+
if (!R) {
|
|
13349
13316
|
_context86.n = 2;
|
|
13350
13317
|
break;
|
|
13351
13318
|
}
|
|
13352
13319
|
s.value = false;
|
|
13353
13320
|
return _context86.a(2);
|
|
13354
13321
|
case 2:
|
|
13355
|
-
s.value = false, g.value =
|
|
13356
|
-
for (
|
|
13322
|
+
s.value = false, g.value = O;
|
|
13323
|
+
for (Ee = 0; Ee < g.value.length; Ee++) g.value[Ee].id === "createorder" && D();
|
|
13357
13324
|
case 3:
|
|
13358
13325
|
return _context86.a(2);
|
|
13359
13326
|
}
|
|
@@ -13365,21 +13332,21 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13365
13332
|
}(),
|
|
13366
13333
|
ae = function ae() {
|
|
13367
13334
|
var N = true;
|
|
13368
|
-
if (o.value.processTypeId == "dealwith") o.value.reason.trim() || (N = false, c.value.reason = index$1.i18n("必填,最多50个字符/汉字").value), o.value.treatmentPlan.trim() || (N = false, c.value.treatmentPlan = index$1.i18n("必填,最多50个字符/汉字").value);else if (o.value.processTypeId == "createorder")
|
|
13369
|
-
var
|
|
13370
|
-
o.value.eventTypeId || (N = false, c.value.eventTypeId = index$1.i18n("必选").value), o.value.eventLevelId || (N = false, c.value.eventLevelId = index$1.i18n("必选").value), o.value.interval != 3 && !
|
|
13335
|
+
if (o.value.processTypeId == "dealwith") o.value.reason.trim() || (N = false, c.value.reason = index$1.i18n("必填,最多50个字符/汉字").value), o.value.treatmentPlan.trim() || (N = false, c.value.treatmentPlan = index$1.i18n("必填,最多50个字符/汉字").value);else if (o.value.processTypeId == "createorder") A.value ? c.value.reportPosition = "" : !o.value.reportPosition && !o.value.customPath ? (N = false, c.value.reportPosition = index$1.i18n("必填").value) : c.value.reportPosition = "", y.value || o.value.reportTheme ? c.value.reportTheme = "" : (N = false, c.value.reportTheme = index$1.i18n("必填,最多20个汉字/字符").value), o.value.workOrderRules ? c.value.workOrderRules = "" : (N = false, c.value.workOrderRules = index$1.i18n("必填").value);else if (o.value.processTypeId == "createcontingency") {
|
|
13336
|
+
var R = /^[1-9][0-9]{0,2}$/;
|
|
13337
|
+
o.value.eventTypeId || (N = false, c.value.eventTypeId = index$1.i18n("必选").value), o.value.eventLevelId || (N = false, c.value.eventLevelId = index$1.i18n("必选").value), o.value.interval != 3 && !R.test(o.value.timeLimit) && (N = false, c.value.timeLimit = index$1.i18n("必填,请输入1~999之间的正整数").value);
|
|
13371
13338
|
}
|
|
13372
13339
|
return N;
|
|
13373
13340
|
},
|
|
13374
13341
|
_e = function _e() {
|
|
13375
|
-
|
|
13342
|
+
rt();
|
|
13376
13343
|
},
|
|
13377
13344
|
ee = /*#__PURE__*/function () {
|
|
13378
13345
|
var _ref109 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee86(N) {
|
|
13379
13346
|
return _regenerator().w(function (_context87) {
|
|
13380
13347
|
while (1) switch (_context87.n) {
|
|
13381
13348
|
case 0:
|
|
13382
|
-
|
|
13349
|
+
ae() && (l.value = N, tt());
|
|
13383
13350
|
case 1:
|
|
13384
13351
|
return _context87.a(2);
|
|
13385
13352
|
}
|
|
@@ -13392,7 +13359,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13392
13359
|
tt = /*#__PURE__*/function () {
|
|
13393
13360
|
var _ref110 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee87() {
|
|
13394
13361
|
var _o$value$reportPositi;
|
|
13395
|
-
var N, _yield$ph$run, _yield$ph$run2,
|
|
13362
|
+
var N, _yield$ph$run, _yield$ph$run2, R, O;
|
|
13396
13363
|
return _regenerator().w(function (_context88) {
|
|
13397
13364
|
while (1) switch (_context88.n) {
|
|
13398
13365
|
case 0:
|
|
@@ -13405,7 +13372,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13405
13372
|
processTypeId: o.value.processTypeId
|
|
13406
13373
|
//处理类型id
|
|
13407
13374
|
};
|
|
13408
|
-
o.value.processTypeId === "createorder" ? (N.path =
|
|
13375
|
+
o.value.processTypeId === "createorder" ? (N.path = A.value ? "" : o.value.customPath, N.topic = y.value ? "" : o.value.reportTheme, N.spaceId = A.value ? "" : (_o$value$reportPositi = o.value.reportPosition) !== null && _o$value$reportPositi !== void 0 ? _o$value$reportPositi : "", N.orderId = o.value.workOrderRules) : o.value.processTypeId === "createcontingency" ? (N.eventTypeId = o.value.eventTypeId, N.eventLevelId = o.value.eventLevelId, N.timeLimit = o.value.interval == 3 ? null : Number(o.value.timeLimit), N.interval = o.value.interval) : (N.reason = o.value.reason, N.treatmentPlan = o.value.treatmentPlan, N.remarks = o.value.remarks), s.value = true, a("emitFn", "startHandle");
|
|
13409
13376
|
_context88.n = 1;
|
|
13410
13377
|
return ph(N, {
|
|
13411
13378
|
params: {
|
|
@@ -13415,9 +13382,9 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13415
13382
|
case 1:
|
|
13416
13383
|
_yield$ph$run = _context88.v;
|
|
13417
13384
|
_yield$ph$run2 = _slicedToArray(_yield$ph$run, 2);
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
if (!
|
|
13385
|
+
R = _yield$ph$run2[0];
|
|
13386
|
+
O = _yield$ph$run2[1];
|
|
13387
|
+
if (!R) {
|
|
13421
13388
|
_context88.n = 2;
|
|
13422
13389
|
break;
|
|
13423
13390
|
}
|
|
@@ -13438,16 +13405,16 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13438
13405
|
u.value = true, ie();
|
|
13439
13406
|
},
|
|
13440
13407
|
rt = function rt() {
|
|
13441
|
-
|
|
13408
|
+
u.value = false;
|
|
13442
13409
|
};
|
|
13443
13410
|
return e({
|
|
13444
13411
|
open: Ve,
|
|
13445
13412
|
close: rt
|
|
13446
|
-
}), function (N,
|
|
13413
|
+
}), function (N, R) {
|
|
13447
13414
|
return vue.openBlock(), vue.createElementBlock("div", yh, [vue.createVNode(vue.unref(index$9.DasDialog), {
|
|
13448
13415
|
modelValue: u.value,
|
|
13449
|
-
"onUpdate:modelValue":
|
|
13450
|
-
return u.value =
|
|
13416
|
+
"onUpdate:modelValue": R[31] || (R[31] = function (O) {
|
|
13417
|
+
return u.value = O;
|
|
13451
13418
|
}),
|
|
13452
13419
|
type: "basic",
|
|
13453
13420
|
size: "small",
|
|
@@ -13476,7 +13443,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13476
13443
|
}), vue.createVNode(vue.unref(index$a.DasButton), {
|
|
13477
13444
|
block: "",
|
|
13478
13445
|
size: "middle",
|
|
13479
|
-
onClick:
|
|
13446
|
+
onClick: R[29] || (R[29] = function (O) {
|
|
13480
13447
|
return ee(1);
|
|
13481
13448
|
})
|
|
13482
13449
|
}, {
|
|
@@ -13490,7 +13457,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13490
13457
|
block: "",
|
|
13491
13458
|
btnType: "primary",
|
|
13492
13459
|
size: "middle",
|
|
13493
|
-
onClick:
|
|
13460
|
+
onClick: R[30] || (R[30] = function (O) {
|
|
13494
13461
|
return ee(2);
|
|
13495
13462
|
})
|
|
13496
13463
|
}, {
|
|
@@ -13526,8 +13493,8 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13526
13493
|
required: "",
|
|
13527
13494
|
type: "select",
|
|
13528
13495
|
modelValue: o.value.processTypeId,
|
|
13529
|
-
"onUpdate:modelValue":
|
|
13530
|
-
return o.value.processTypeId =
|
|
13496
|
+
"onUpdate:modelValue": R[0] || (R[0] = function (O) {
|
|
13497
|
+
return o.value.processTypeId = O;
|
|
13531
13498
|
}),
|
|
13532
13499
|
options: g.value,
|
|
13533
13500
|
col: 1,
|
|
@@ -13544,16 +13511,16 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13544
13511
|
type: "input",
|
|
13545
13512
|
maxlength: "50",
|
|
13546
13513
|
col: 1,
|
|
13547
|
-
onFocus:
|
|
13514
|
+
onFocus: R[1] || (R[1] = function (O) {
|
|
13548
13515
|
return c.value.reason = "";
|
|
13549
13516
|
}),
|
|
13550
13517
|
modelValue: o.value.reason,
|
|
13551
|
-
"onUpdate:modelValue":
|
|
13552
|
-
return o.value.reason =
|
|
13518
|
+
"onUpdate:modelValue": R[2] || (R[2] = function (O) {
|
|
13519
|
+
return o.value.reason = O;
|
|
13553
13520
|
}),
|
|
13554
13521
|
error: c.value.reason,
|
|
13555
|
-
"onUpdate:error":
|
|
13556
|
-
return c.value.reason =
|
|
13522
|
+
"onUpdate:error": R[3] || (R[3] = function (O) {
|
|
13523
|
+
return c.value.reason = O;
|
|
13557
13524
|
}),
|
|
13558
13525
|
marginBottom: "30px",
|
|
13559
13526
|
marginRight: "0"
|
|
@@ -13564,16 +13531,16 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13564
13531
|
type: "input",
|
|
13565
13532
|
maxlength: "50",
|
|
13566
13533
|
col: 1,
|
|
13567
|
-
onFocus:
|
|
13534
|
+
onFocus: R[4] || (R[4] = function (O) {
|
|
13568
13535
|
return c.value.treatmentPlan = "";
|
|
13569
13536
|
}),
|
|
13570
13537
|
modelValue: o.value.treatmentPlan,
|
|
13571
|
-
"onUpdate:modelValue":
|
|
13572
|
-
return o.value.treatmentPlan =
|
|
13538
|
+
"onUpdate:modelValue": R[5] || (R[5] = function (O) {
|
|
13539
|
+
return o.value.treatmentPlan = O;
|
|
13573
13540
|
}),
|
|
13574
13541
|
error: c.value.treatmentPlan,
|
|
13575
|
-
"onUpdate:error":
|
|
13576
|
-
return c.value.treatmentPlan =
|
|
13542
|
+
"onUpdate:error": R[6] || (R[6] = function (O) {
|
|
13543
|
+
return c.value.treatmentPlan = O;
|
|
13577
13544
|
}),
|
|
13578
13545
|
marginBottom: "30px",
|
|
13579
13546
|
marginRight: "0"
|
|
@@ -13586,8 +13553,8 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13586
13553
|
maxlength: "100",
|
|
13587
13554
|
col: 1,
|
|
13588
13555
|
modelValue: o.value.remarks,
|
|
13589
|
-
"onUpdate:modelValue":
|
|
13590
|
-
return o.value.remarks =
|
|
13556
|
+
"onUpdate:modelValue": R[7] || (R[7] = function (O) {
|
|
13557
|
+
return o.value.remarks = O;
|
|
13591
13558
|
}),
|
|
13592
13559
|
marginBottom: "30px",
|
|
13593
13560
|
marginRight: "0"
|
|
@@ -13597,8 +13564,8 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13597
13564
|
required: "",
|
|
13598
13565
|
type: "custom",
|
|
13599
13566
|
error: c.value.reportPosition,
|
|
13600
|
-
"onUpdate:error":
|
|
13601
|
-
return c.value.reportPosition =
|
|
13567
|
+
"onUpdate:error": R[13] || (R[13] = function (O) {
|
|
13568
|
+
return c.value.reportPosition = O;
|
|
13602
13569
|
}),
|
|
13603
13570
|
marginBottom: "20px",
|
|
13604
13571
|
marginRight: "0"
|
|
@@ -13611,39 +13578,39 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13611
13578
|
label: "name"
|
|
13612
13579
|
},
|
|
13613
13580
|
modelValue: o.value.reportPosition,
|
|
13614
|
-
"onUpdate:modelValue":
|
|
13615
|
-
return o.value.reportPosition =
|
|
13581
|
+
"onUpdate:modelValue": R[8] || (R[8] = function (O) {
|
|
13582
|
+
return o.value.reportPosition = O;
|
|
13616
13583
|
}),
|
|
13617
13584
|
path: x.value,
|
|
13618
|
-
"onUpdate:path":
|
|
13619
|
-
return x.value =
|
|
13585
|
+
"onUpdate:path": R[9] || (R[9] = function (O) {
|
|
13586
|
+
return x.value = O;
|
|
13620
13587
|
}),
|
|
13621
13588
|
keyword: C.value,
|
|
13622
|
-
"onUpdate:keyword":
|
|
13623
|
-
return C.value =
|
|
13589
|
+
"onUpdate:keyword": R[10] || (R[10] = function (O) {
|
|
13590
|
+
return C.value = O;
|
|
13624
13591
|
}),
|
|
13625
13592
|
showFullPath: true,
|
|
13626
13593
|
data: v.value,
|
|
13627
13594
|
placeholder: m.value,
|
|
13628
|
-
disabled:
|
|
13629
|
-
load:
|
|
13630
|
-
search:
|
|
13595
|
+
disabled: w.value,
|
|
13596
|
+
load: B,
|
|
13597
|
+
search: E,
|
|
13631
13598
|
onChange: H,
|
|
13632
13599
|
filter: true,
|
|
13633
13600
|
allowClear: true
|
|
13634
13601
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]), vue.createVNode(vue.unref(index$l.DasInput), {
|
|
13635
13602
|
ref: "testInput",
|
|
13636
13603
|
modelValue: o.value.customPath,
|
|
13637
|
-
"onUpdate:modelValue":
|
|
13638
|
-
return o.value.customPath =
|
|
13604
|
+
"onUpdate:modelValue": R[11] || (R[11] = function (O) {
|
|
13605
|
+
return o.value.customPath = O;
|
|
13639
13606
|
}),
|
|
13640
13607
|
placeholder: vue.unref(index$1.i18n)("选填").value,
|
|
13641
|
-
disabled:
|
|
13608
|
+
disabled: w.value,
|
|
13642
13609
|
maxlength: "20"
|
|
13643
13610
|
}, null, 8, ["modelValue", "placeholder", "disabled"])]), vue.createVNode(vue.unref(index$m.DasCheckbox), {
|
|
13644
|
-
modelValue:
|
|
13645
|
-
"onUpdate:modelValue":
|
|
13646
|
-
return
|
|
13611
|
+
modelValue: A.value,
|
|
13612
|
+
"onUpdate:modelValue": R[12] || (R[12] = function (O) {
|
|
13613
|
+
return A.value = O;
|
|
13647
13614
|
}),
|
|
13648
13615
|
checkboxType: "default",
|
|
13649
13616
|
onChange: W,
|
|
@@ -13665,8 +13632,8 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13665
13632
|
required: "",
|
|
13666
13633
|
type: "custom",
|
|
13667
13634
|
error: c.value.reportTheme,
|
|
13668
|
-
"onUpdate:error":
|
|
13669
|
-
return c.value.reportTheme =
|
|
13635
|
+
"onUpdate:error": R[16] || (R[16] = function (O) {
|
|
13636
|
+
return c.value.reportTheme = O;
|
|
13670
13637
|
}),
|
|
13671
13638
|
marginBottom: "20px",
|
|
13672
13639
|
marginRight: "0"
|
|
@@ -13674,17 +13641,17 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13674
13641
|
"default": vue.withCtx(function () {
|
|
13675
13642
|
return [vue.createElementVNode("div", Eh, [vue.createVNode(vue.unref(index$l.DasInput), {
|
|
13676
13643
|
maxlength: "20",
|
|
13677
|
-
disabled:
|
|
13644
|
+
disabled: k.value,
|
|
13678
13645
|
modelValue: o.value.reportTheme,
|
|
13679
|
-
"onUpdate:modelValue":
|
|
13680
|
-
return o.value.reportTheme =
|
|
13646
|
+
"onUpdate:modelValue": R[14] || (R[14] = function (O) {
|
|
13647
|
+
return o.value.reportTheme = O;
|
|
13681
13648
|
}),
|
|
13682
13649
|
placeholder: f.value,
|
|
13683
13650
|
onChange: L
|
|
13684
13651
|
}, null, 8, ["disabled", "modelValue", "placeholder"]), vue.createVNode(vue.unref(index$m.DasCheckbox), {
|
|
13685
13652
|
modelValue: y.value,
|
|
13686
|
-
"onUpdate:modelValue":
|
|
13687
|
-
return y.value =
|
|
13653
|
+
"onUpdate:modelValue": R[15] || (R[15] = function (O) {
|
|
13654
|
+
return y.value = O;
|
|
13688
13655
|
}),
|
|
13689
13656
|
checkboxType: "default",
|
|
13690
13657
|
onChange: q,
|
|
@@ -13706,14 +13673,14 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13706
13673
|
required: "",
|
|
13707
13674
|
type: "select",
|
|
13708
13675
|
modelValue: o.value.workOrderRules,
|
|
13709
|
-
"onUpdate:modelValue":
|
|
13710
|
-
return o.value.workOrderRules =
|
|
13676
|
+
"onUpdate:modelValue": R[17] || (R[17] = function (O) {
|
|
13677
|
+
return o.value.workOrderRules = O;
|
|
13711
13678
|
}),
|
|
13712
13679
|
error: c.value.workOrderRules,
|
|
13713
|
-
"onUpdate:error":
|
|
13714
|
-
return c.value.workOrderRules =
|
|
13680
|
+
"onUpdate:error": R[18] || (R[18] = function (O) {
|
|
13681
|
+
return c.value.workOrderRules = O;
|
|
13715
13682
|
}),
|
|
13716
|
-
options:
|
|
13683
|
+
options: b.value,
|
|
13717
13684
|
col: 1,
|
|
13718
13685
|
optionsLabelKey: "name",
|
|
13719
13686
|
optionsValueKey: "id",
|
|
@@ -13726,12 +13693,12 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13726
13693
|
required: "",
|
|
13727
13694
|
type: "select",
|
|
13728
13695
|
modelValue: o.value.eventTypeId,
|
|
13729
|
-
"onUpdate:modelValue":
|
|
13730
|
-
return o.value.eventTypeId =
|
|
13696
|
+
"onUpdate:modelValue": R[19] || (R[19] = function (O) {
|
|
13697
|
+
return o.value.eventTypeId = O;
|
|
13731
13698
|
}),
|
|
13732
13699
|
error: c.value.eventTypeId,
|
|
13733
|
-
"onUpdate:error":
|
|
13734
|
-
return c.value.eventTypeId =
|
|
13700
|
+
"onUpdate:error": R[20] || (R[20] = function (O) {
|
|
13701
|
+
return c.value.eventTypeId = O;
|
|
13735
13702
|
}),
|
|
13736
13703
|
options: d.value,
|
|
13737
13704
|
col: 1,
|
|
@@ -13740,7 +13707,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13740
13707
|
"get-popup-container": S,
|
|
13741
13708
|
marginBottom: "30px",
|
|
13742
13709
|
marginRight: "0",
|
|
13743
|
-
onChange:
|
|
13710
|
+
onChange: R[21] || (R[21] = function (O) {
|
|
13744
13711
|
return G("eventTypeId");
|
|
13745
13712
|
})
|
|
13746
13713
|
}, null, 8, ["label", "modelValue", "error", "options"])) : vue.createCommentVNode("v-if", true), o.value.processTypeId == "createcontingency" ? (vue.openBlock(), vue.createBlock(vue.unref(index$j.DasFormItem), {
|
|
@@ -13749,12 +13716,12 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13749
13716
|
required: "",
|
|
13750
13717
|
type: "select",
|
|
13751
13718
|
modelValue: o.value.eventLevelId,
|
|
13752
|
-
"onUpdate:modelValue":
|
|
13753
|
-
return o.value.eventLevelId =
|
|
13719
|
+
"onUpdate:modelValue": R[22] || (R[22] = function (O) {
|
|
13720
|
+
return o.value.eventLevelId = O;
|
|
13754
13721
|
}),
|
|
13755
13722
|
error: c.value.eventLevelId,
|
|
13756
|
-
"onUpdate:error":
|
|
13757
|
-
return c.value.eventLevelId =
|
|
13723
|
+
"onUpdate:error": R[23] || (R[23] = function (O) {
|
|
13724
|
+
return c.value.eventLevelId = O;
|
|
13758
13725
|
}),
|
|
13759
13726
|
options: h.value,
|
|
13760
13727
|
col: 1,
|
|
@@ -13763,7 +13730,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13763
13730
|
"get-popup-container": S,
|
|
13764
13731
|
marginBottom: "30px",
|
|
13765
13732
|
marginRight: "0",
|
|
13766
|
-
onChange:
|
|
13733
|
+
onChange: R[24] || (R[24] = function (O) {
|
|
13767
13734
|
return G("eventLevelId");
|
|
13768
13735
|
})
|
|
13769
13736
|
}, null, 8, ["label", "modelValue", "error", "options"])) : vue.createCommentVNode("v-if", true), o.value.processTypeId == "createcontingency" ? (vue.openBlock(), vue.createBlock(vue.unref(index$j.DasFormItem), {
|
|
@@ -13774,12 +13741,12 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13774
13741
|
maxlength: "3",
|
|
13775
13742
|
col: 1,
|
|
13776
13743
|
modelValue: o.value.timeLimit,
|
|
13777
|
-
"onUpdate:modelValue":
|
|
13778
|
-
return o.value.timeLimit =
|
|
13744
|
+
"onUpdate:modelValue": R[27] || (R[27] = function (O) {
|
|
13745
|
+
return o.value.timeLimit = O;
|
|
13779
13746
|
}),
|
|
13780
13747
|
error: c.value.timeLimit,
|
|
13781
|
-
"onUpdate:error":
|
|
13782
|
-
return c.value.timeLimit =
|
|
13748
|
+
"onUpdate:error": R[28] || (R[28] = function (O) {
|
|
13749
|
+
return c.value.timeLimit = O;
|
|
13783
13750
|
}),
|
|
13784
13751
|
disabled: o.value.interval == 3,
|
|
13785
13752
|
marginBottom: "30px",
|
|
@@ -13789,8 +13756,8 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13789
13756
|
return [vue.createElementVNode("div", Ah, [vue.createVNode(vue.unref(index$n.DasSelect), {
|
|
13790
13757
|
"class": "select",
|
|
13791
13758
|
modelValue: o.value.interval,
|
|
13792
|
-
"onUpdate:modelValue":
|
|
13793
|
-
return o.value.interval =
|
|
13759
|
+
"onUpdate:modelValue": R[25] || (R[25] = function (O) {
|
|
13760
|
+
return o.value.interval = O;
|
|
13794
13761
|
}),
|
|
13795
13762
|
width: vue.unref(index$1.currentLang) == "zh-CN" ? "65px" : "85px",
|
|
13796
13763
|
fieldNames: {
|
|
@@ -13801,7 +13768,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13801
13768
|
"border-type": "underline",
|
|
13802
13769
|
size: "small",
|
|
13803
13770
|
"get-popup-container": S,
|
|
13804
|
-
onChange:
|
|
13771
|
+
onChange: R[26] || (R[26] = function (O) {
|
|
13805
13772
|
return G("interval");
|
|
13806
13773
|
}),
|
|
13807
13774
|
placeholder: vue.unref(index$1.i18n)("请选择").value
|
|
@@ -13834,9 +13801,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13834
13801
|
handerIds: e.value,
|
|
13835
13802
|
projectId: commonInfo.getPersonalInfo().id,
|
|
13836
13803
|
ref: r,
|
|
13837
|
-
onEmitFn: function onEmitFn(a, s) {
|
|
13838
|
-
t(a, s);
|
|
13839
|
-
}
|
|
13804
|
+
onEmitFn: function onEmitFn(a, s) {}
|
|
13840
13805
|
});
|
|
13841
13806
|
}
|
|
13842
13807
|
};
|
|
@@ -13858,10 +13823,10 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13858
13823
|
$h = {
|
|
13859
13824
|
"class": "content-box"
|
|
13860
13825
|
},
|
|
13861
|
-
|
|
13826
|
+
zh = {
|
|
13862
13827
|
"class": "alarm-msg-line"
|
|
13863
13828
|
},
|
|
13864
|
-
|
|
13829
|
+
Oh = {
|
|
13865
13830
|
"class": "alarm-msg-line-left"
|
|
13866
13831
|
},
|
|
13867
13832
|
Mh = {
|
|
@@ -13904,10 +13869,10 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13904
13869
|
var t = r,
|
|
13905
13870
|
n = e,
|
|
13906
13871
|
a = function a() {
|
|
13907
|
-
|
|
13872
|
+
n("handerFn", t.msgItem);
|
|
13908
13873
|
},
|
|
13909
13874
|
s = function s() {
|
|
13910
|
-
|
|
13875
|
+
n("handerDetail", t.msgItem);
|
|
13911
13876
|
};
|
|
13912
13877
|
return function (i, l) {
|
|
13913
13878
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createCommentVNode(" <div class=\"alarm-msg\" :style=\"{ 'border-color': msgItem.color }\"> "), vue.createElementVNode("div", Ih, [vue.createElementVNode("div", Th, [vue.createElementVNode("div", {
|
|
@@ -13920,7 +13885,7 @@ var ah = createApiService.createService("/api/tool/event-bus/".concat(dr, "/")),
|
|
|
13920
13885
|
"class": "title-right"
|
|
13921
13886
|
}, null, -1
|
|
13922
13887
|
/* CACHED */))], 4
|
|
13923
|
-
/* STYLE */), vue.createElementVNode("div", $h, [vue.createElementVNode("div",
|
|
13888
|
+
/* STYLE */), vue.createElementVNode("div", $h, [vue.createElementVNode("div", zh, [vue.createElementVNode("div", Oh, vue.toDisplayString(vue.unref(index$1.i18n)("告警等级:").value), 1
|
|
13924
13889
|
/* TEXT */), vue.createElementVNode("div", {
|
|
13925
13890
|
"class": "alarm-msg-line-right alarm-content-object",
|
|
13926
13891
|
style: vue.normalizeStyle({
|
|
@@ -13998,124 +13963,120 @@ var Gh = function Gh() {
|
|
|
13998
13963
|
loop: false
|
|
13999
13964
|
// 轮播-无限次播放
|
|
14000
13965
|
});
|
|
14001
|
-
index$2.microFrontend.addEventListenerFromMicroApp("alarm:change-alarmconfig", function (
|
|
14002
|
-
var
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
13966
|
+
index$2.microFrontend.addEventListenerFromMicroApp("alarm:change-alarmconfig", function (E) {
|
|
13967
|
+
var _E$data = E.data,
|
|
13968
|
+
k = _E$data.isRealTimeAlarm,
|
|
13969
|
+
y = _E$data.audioPlay;
|
|
13970
|
+
k != null && (l.value = k), y != null && (u.value = y, u.value || C());
|
|
14006
13971
|
});
|
|
14007
|
-
var c = function c(
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
var y = [];
|
|
14014
|
-
y.push({
|
|
14015
|
-
alarmId: B.recordId
|
|
14016
|
-
}), a.value = y, (w = t.value) == null || w.open();
|
|
13972
|
+
var c = function c(E) {
|
|
13973
|
+
var y;
|
|
13974
|
+
var k = [];
|
|
13975
|
+
k.push({
|
|
13976
|
+
alarmId: E.recordId
|
|
13977
|
+
}), a.value = k, (y = t.value) == null || y.open();
|
|
14017
13978
|
},
|
|
14018
13979
|
_index$7$mainAppFrame4 = index$7.mainAppFramework.hooks.useEntryApp(),
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
index$6.devicePanelShow(
|
|
13980
|
+
_ = _index$7$mainAppFrame4.entryApp,
|
|
13981
|
+
d = function d(E) {
|
|
13982
|
+
index$6.devicePanelShow(E.equipmentCode, E.equipmentPanelCode);
|
|
14022
13983
|
},
|
|
14023
|
-
_Fh = Fh(t, a
|
|
14024
|
-
|
|
14025
|
-
|
|
13984
|
+
_Fh = Fh(t, a),
|
|
13985
|
+
h = _Fh.handleAlarmVue,
|
|
13986
|
+
p = /*#__PURE__*/function () {
|
|
14026
13987
|
var _ref112 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee88() {
|
|
14027
13988
|
var _ref113;
|
|
14028
|
-
var
|
|
13989
|
+
var y, k;
|
|
14029
13990
|
return _regenerator().w(function (_context89) {
|
|
14030
13991
|
while (1) switch (_context89.n) {
|
|
14031
13992
|
case 0:
|
|
14032
|
-
|
|
14033
|
-
return
|
|
14034
|
-
}).flat()) !== null && _ref113 !== void 0 ? _ref113 : []).find(function (
|
|
14035
|
-
return
|
|
13993
|
+
k = ((_ref113 = (y = commonInfo.getSubApps().appcategorys) == null ? undefined : y.map(function (b) {
|
|
13994
|
+
return b.apps;
|
|
13995
|
+
}).flat()) !== null && _ref113 !== void 0 ? _ref113 : []).find(function (b) {
|
|
13996
|
+
return b.code === "alarm";
|
|
14036
13997
|
});
|
|
14037
|
-
|
|
14038
|
-
microApp:
|
|
14039
|
-
menuPath: "/".concat(
|
|
13998
|
+
k && _({
|
|
13999
|
+
microApp: k,
|
|
14000
|
+
menuPath: "/".concat(k.routeUrl, "/realTimeAlarm")
|
|
14040
14001
|
});
|
|
14041
14002
|
case 1:
|
|
14042
14003
|
return _context89.a(2);
|
|
14043
14004
|
}
|
|
14044
14005
|
}, _callee88);
|
|
14045
14006
|
}));
|
|
14046
|
-
return function
|
|
14007
|
+
return function p() {
|
|
14047
14008
|
return _ref112.apply(this, arguments);
|
|
14048
14009
|
};
|
|
14049
14010
|
}(),
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
if (
|
|
14053
|
-
|
|
14011
|
+
g = [],
|
|
14012
|
+
x = function x(E) {
|
|
14013
|
+
if (g.push(E), s.value.length < 2) {
|
|
14014
|
+
_m5(g[0]), g.shift();
|
|
14054
14015
|
return;
|
|
14055
14016
|
}
|
|
14056
14017
|
},
|
|
14057
|
-
|
|
14058
|
-
if (!
|
|
14059
|
-
var
|
|
14018
|
+
_m5 = function m(E) {
|
|
14019
|
+
if (!E) return;
|
|
14020
|
+
var k = Kh();
|
|
14060
14021
|
index$c.DasNotification.open({
|
|
14061
|
-
key:
|
|
14022
|
+
key: k,
|
|
14062
14023
|
"class": "alarm-notify",
|
|
14063
14024
|
message: index$1.i18n("新告警").value,
|
|
14064
14025
|
placement: "bottomRight",
|
|
14065
14026
|
description: vue.h(Vh, {
|
|
14066
|
-
msgItem:
|
|
14027
|
+
msgItem: E,
|
|
14067
14028
|
alarmhandle: i.value,
|
|
14068
|
-
onHanderDetail:
|
|
14069
|
-
onHanderFn:
|
|
14029
|
+
onHanderDetail: d,
|
|
14030
|
+
onHanderFn: c
|
|
14070
14031
|
}),
|
|
14071
14032
|
duration: 5,
|
|
14072
14033
|
onClick: function onClick() {
|
|
14073
|
-
|
|
14034
|
+
p();
|
|
14074
14035
|
},
|
|
14075
14036
|
onClose: function onClose() {
|
|
14076
|
-
|
|
14077
|
-
var
|
|
14078
|
-
return
|
|
14037
|
+
setTimeout(function () {
|
|
14038
|
+
var y = s.value.findIndex(function (b) {
|
|
14039
|
+
return b == k;
|
|
14079
14040
|
});
|
|
14080
|
-
if (
|
|
14081
|
-
|
|
14041
|
+
if (y >= 0 && s.value.splice(y, 1), s.value.length < 2 && g.length) {
|
|
14042
|
+
_m5(g[0]), g.shift();
|
|
14082
14043
|
return;
|
|
14083
14044
|
}
|
|
14084
14045
|
}, 300);
|
|
14085
14046
|
}
|
|
14086
|
-
}), s.value.includes(
|
|
14047
|
+
}), s.value.includes(k) || s.value.push(k), f(E);
|
|
14087
14048
|
},
|
|
14088
|
-
|
|
14089
|
-
if (
|
|
14049
|
+
f = function f(E) {
|
|
14050
|
+
if (E) {
|
|
14090
14051
|
if (!u.value) {
|
|
14091
|
-
|
|
14052
|
+
C();
|
|
14092
14053
|
return;
|
|
14093
14054
|
}
|
|
14094
|
-
if (!
|
|
14095
|
-
if (
|
|
14096
|
-
|
|
14055
|
+
if (!E.coverId) {
|
|
14056
|
+
if (o.value.playLine === null) {
|
|
14057
|
+
C(), Number(E.noticeNum) != 0 && v(E);
|
|
14097
14058
|
return;
|
|
14098
14059
|
}
|
|
14099
|
-
Number(
|
|
14060
|
+
Number(E.alarmLevelId) < o.value.playLine && (C(), Number(E.noticeNum) != 0 && v(E));
|
|
14100
14061
|
}
|
|
14101
14062
|
}
|
|
14102
14063
|
},
|
|
14103
|
-
|
|
14104
|
-
var
|
|
14105
|
-
|
|
14106
|
-
o.value.isplay && o.value.playId ==
|
|
14064
|
+
v = function v(E) {
|
|
14065
|
+
var k = Number(E.noticeNum),
|
|
14066
|
+
y = location.origin + "/oss";
|
|
14067
|
+
o.value.isplay && o.value.playId == E.recordId ? C() : (k < 0 ? o.value.loop = true : o.value.loop = false, k > 0 ? (o.value.loopTotalCount = Number(E.noticeNum), o.value.loopCount = 0) : (o.value.loopTotalCount = 0, o.value.loopCount = 0), o.value.isplay = true, o.value.playId = E.recordId, o.value.playLine = Number(E.alarmLevelId), o.value.playPath = y + E.noticePath, w());
|
|
14107
14068
|
},
|
|
14108
|
-
|
|
14069
|
+
C = function C() {
|
|
14109
14070
|
o.value.playId = "", o.value.playPath = "", o.value.playLine = null, o.value.loopCount = 0, o.value.loopTotalCount = 0, o.value.isplay = false, o.value.loop = false;
|
|
14110
14071
|
},
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14072
|
+
w = function w() {
|
|
14073
|
+
n.value.onended = function () {
|
|
14074
|
+
o.value.loopCount = o.value.loopCount + 1, o.value.loopTotalCount && o.value.loopTotalCount && (o.value.loopCount == o.value.loopTotalCount ? (o.value.playPath = "", o.value.isplay = false, o.value.playId = "", o.value.loopTotalCount = 0, o.value.loopCount = 0, o.value.playLine = null) : n.value.play());
|
|
14114
14075
|
};
|
|
14115
14076
|
},
|
|
14116
14077
|
A = /*#__PURE__*/function () {
|
|
14117
14078
|
var _ref114 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee89() {
|
|
14118
|
-
var _yield$hh$run, _yield$hh$run2,
|
|
14079
|
+
var _yield$hh$run, _yield$hh$run2, E, k;
|
|
14119
14080
|
return _regenerator().w(function (_context90) {
|
|
14120
14081
|
while (1) switch (_context90.n) {
|
|
14121
14082
|
case 0:
|
|
@@ -14124,9 +14085,9 @@ var Gh = function Gh() {
|
|
|
14124
14085
|
case 1:
|
|
14125
14086
|
_yield$hh$run = _context90.v;
|
|
14126
14087
|
_yield$hh$run2 = _slicedToArray(_yield$hh$run, 2);
|
|
14127
|
-
|
|
14128
|
-
|
|
14129
|
-
|
|
14088
|
+
E = _yield$hh$run2[0];
|
|
14089
|
+
k = _yield$hh$run2[1];
|
|
14090
|
+
E || (u.value = k.isEnable);
|
|
14130
14091
|
case 2:
|
|
14131
14092
|
return _context90.a(2);
|
|
14132
14093
|
}
|
|
@@ -14141,10 +14102,10 @@ var Gh = function Gh() {
|
|
|
14141
14102
|
alarmCount: e,
|
|
14142
14103
|
audioObj: o,
|
|
14143
14104
|
audioAlarmRef: n,
|
|
14144
|
-
handleAlarmVue:
|
|
14105
|
+
handleAlarmVue: h,
|
|
14145
14106
|
creatAlarmSocket: function () {
|
|
14146
14107
|
var _creatAlarmSocket = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee91() {
|
|
14147
|
-
var _yield$uh$run, _yield$uh$run2,
|
|
14108
|
+
var _yield$uh$run, _yield$uh$run2, E, k, y;
|
|
14148
14109
|
return _regenerator().w(function (_context92) {
|
|
14149
14110
|
while (1) switch (_context92.n) {
|
|
14150
14111
|
case 0:
|
|
@@ -14157,34 +14118,34 @@ var Gh = function Gh() {
|
|
|
14157
14118
|
case 1:
|
|
14158
14119
|
_yield$uh$run = _context92.v;
|
|
14159
14120
|
_yield$uh$run2 = _slicedToArray(_yield$uh$run, 2);
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
if (!(
|
|
14121
|
+
E = _yield$uh$run2[0];
|
|
14122
|
+
k = _yield$uh$run2[1];
|
|
14123
|
+
if (!(E || !k || !k.length)) {
|
|
14163
14124
|
_context92.n = 2;
|
|
14164
14125
|
break;
|
|
14165
14126
|
}
|
|
14166
14127
|
return _context92.a(2);
|
|
14167
14128
|
case 2:
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
(
|
|
14171
|
-
return
|
|
14129
|
+
y = false;
|
|
14130
|
+
k.forEach(function (b) {
|
|
14131
|
+
(b.code === "alarm.realTimeAlarm" || b.originalCode === "alarm.realTimeAlarm") && (y = true, b.children && b.children.length ? i.value = b.children.findIndex(function (D) {
|
|
14132
|
+
return D.code == "alarm.realTimeAlarm.handle";
|
|
14172
14133
|
}) >= 0 : i.value = false);
|
|
14173
|
-
}),
|
|
14134
|
+
}), y && (r.value = new webSocketService.socketService({
|
|
14174
14135
|
url: "/api/alarm/socket/v1/record/subscribe",
|
|
14175
14136
|
reconnectWhenClose: true,
|
|
14176
14137
|
opened: function opened() {
|
|
14177
|
-
var
|
|
14178
|
-
|
|
14138
|
+
var b = commonInfo.getProjectInfo().id;
|
|
14139
|
+
b && r.value.send(b);
|
|
14179
14140
|
},
|
|
14180
14141
|
message: function () {
|
|
14181
|
-
var _message3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee90(
|
|
14142
|
+
var _message3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee90(b) {
|
|
14182
14143
|
return _regenerator().w(function (_context91) {
|
|
14183
14144
|
while (1) switch (_context91.n) {
|
|
14184
14145
|
case 0:
|
|
14185
14146
|
index$2.microFrontend.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", {
|
|
14186
|
-
alarmMessage:
|
|
14187
|
-
}), window.self === window.top && (
|
|
14147
|
+
alarmMessage: b
|
|
14148
|
+
}), window.self === window.top && (b.messageType === "ADD" && (e.value = e.value + 1, b.coverId || x(b)), b.messageType === "DELETE" && (e.value = e.value - 1, o.value.playId == b.recordId && C()));
|
|
14188
14149
|
case 1:
|
|
14189
14150
|
return _context91.a(2);
|
|
14190
14151
|
}
|
|
@@ -14267,10 +14228,10 @@ var Gh = function Gh() {
|
|
|
14267
14228
|
return n && e.showLayout && !t.value;
|
|
14268
14229
|
}),
|
|
14269
14230
|
s = vue.computed(function () {
|
|
14270
|
-
return
|
|
14231
|
+
return me.excludeRoutes;
|
|
14271
14232
|
}),
|
|
14272
14233
|
i = vue.computed(function () {
|
|
14273
|
-
return
|
|
14234
|
+
return me.routeKeepAliveVisible;
|
|
14274
14235
|
}),
|
|
14275
14236
|
l = vue.computed(function () {
|
|
14276
14237
|
return {
|
|
@@ -14297,7 +14258,7 @@ var Gh = function Gh() {
|
|
|
14297
14258
|
o = _Df.fontColor,
|
|
14298
14259
|
c = _Df.backgroudColor,
|
|
14299
14260
|
_ = _Df.borderColor;
|
|
14300
|
-
return
|
|
14261
|
+
return Of(), Mf(), Nf(), Hf(), vp(), ch(), function (d, h) {
|
|
14301
14262
|
return vue.openBlock(), vue.createElementBlock("div", Zh, [vue.createCommentVNode(" <button @click=\"test(0)\">test</button>\r\n <button style=\"margin-left: 5px\" @click=\"test(1)\">test2</button> "), vue.createVNode(vue.unref(ci), {
|
|
14302
14263
|
platformInitNextTick: vue.unref(u)
|
|
14303
14264
|
}, {
|
|
@@ -14982,14 +14943,14 @@ var tx = [{
|
|
|
14982
14943
|
path: qe,
|
|
14983
14944
|
component: function component() {
|
|
14984
14945
|
return Promise.resolve().then(function () {
|
|
14985
|
-
return
|
|
14946
|
+
return indexDLOeR4lo;
|
|
14986
14947
|
});
|
|
14987
14948
|
}
|
|
14988
14949
|
}, {
|
|
14989
14950
|
path: Ma,
|
|
14990
14951
|
component: function component() {
|
|
14991
14952
|
return Promise.resolve().then(function () {
|
|
14992
|
-
return
|
|
14953
|
+
return indexD2I3UnWM;
|
|
14993
14954
|
});
|
|
14994
14955
|
}
|
|
14995
14956
|
}],
|
|
@@ -15064,7 +15025,7 @@ var V = "v1",
|
|
|
15064
15025
|
return _context94.a(2);
|
|
15065
15026
|
case 2:
|
|
15066
15027
|
o = Yt(t);
|
|
15067
|
-
if (!(
|
|
15028
|
+
if (!(me.innerSet = true, o.routeUrl)) {
|
|
15068
15029
|
_context94.n = 5;
|
|
15069
15030
|
break;
|
|
15070
15031
|
}
|
|
@@ -15172,7 +15133,7 @@ var V = "v1",
|
|
|
15172
15133
|
};
|
|
15173
15134
|
}
|
|
15174
15135
|
});
|
|
15175
|
-
var
|
|
15136
|
+
var indexDLOeR4lo = /*#__PURE__*/Object.freeze({
|
|
15176
15137
|
__proto__: null,
|
|
15177
15138
|
"default": oo
|
|
15178
15139
|
});
|
|
@@ -15181,7 +15142,7 @@ function t(n, _) {
|
|
|
15181
15142
|
return vue.openBlock(), vue.createElementBlock("div");
|
|
15182
15143
|
}
|
|
15183
15144
|
var a = /* @__PURE__ */Le(o, [["render", t]]);
|
|
15184
|
-
var
|
|
15145
|
+
var indexD2I3UnWM = /*#__PURE__*/Object.freeze({
|
|
15185
15146
|
__proto__: null,
|
|
15186
15147
|
"default": a
|
|
15187
15148
|
});
|