@das-fed/upf-web 6.4.0-dev.232 → 6.4.0-dev.233
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 +626 -607
- package/front-end/i18n/front-end-page/dasweb_en-US.js +2 -2
- package/front-end/i18n/front-end-page/dasweb_zh-CN.js +2 -2
- package/front-end/i18n/front-end-page/dasweb_zh-MO.js +2 -2
- package/{index-wW15s_in.js → index-CNxj49VD.js} +1 -1
- package/{packages/main-app-framework/index-BSIXDWdJ.js → index-CUR2UuLR.js} +1 -1
- package/index-CUR2UuLR.js.gz +0 -0
- package/{index-BY6POt5_.js → index-DeaZJ_4F.js} +440 -439
- package/index-DeaZJ_4F.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +5 -5
- package/packages/create-das-web-app/es5.js +49 -48
- package/packages/create-das-web-app/index.js +45 -44
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/es5.js +100 -82
- package/packages/i18n/index.js +62 -62
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/es5.js +96 -96
- package/packages/layout/index.js +98 -98
- package/packages/layout/index.js.gz +0 -0
- package/packages/main-app-framework/es5.js +29 -29
- package/packages/main-app-framework/{index-C0K5zcvx.js → index-7BUmPh7i.js} +1 -1
- package/{index-CUJfUQFX.js → packages/main-app-framework/index-BP8gHC_g.js} +1 -1
- package/packages/main-app-framework/index-BP8gHC_g.js.gz +0 -0
- package/packages/main-app-framework/{index-y647qjnX.js → index-CUuJCTjN.js} +27 -27
- package/packages/main-app-framework/index-CUuJCTjN.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/main-app-framework/style.css +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/es5.js +156 -156
- package/packages/micro-frontend/index.js +127 -127
- package/packages/micro-frontend/index.js.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/types/i18n/getMicroI18nData.d.ts +1 -1
- package/types/i18n/index.d.ts +1 -1
- package/index-BY6POt5_.js.gz +0 -0
- package/index-CUJfUQFX.js.gz +0 -0
- package/packages/main-app-framework/index-BSIXDWdJ.js.gz +0 -0
- package/packages/main-app-framework/index-y647qjnX.js.gz +0 -0
package/es5.js
CHANGED
|
@@ -108,9 +108,9 @@ var G0 = {
|
|
|
108
108
|
zr.use(s0);
|
|
109
109
|
var X0 = function X0(t) {
|
|
110
110
|
var _ref;
|
|
111
|
-
var u,
|
|
111
|
+
var u, m, d, f, p;
|
|
112
112
|
var e = (_ref = (u = t == null ? undefined : t.router) == null ? undefined : u.routerBase) !== null && _ref !== void 0 ? _ref : "/",
|
|
113
|
-
n = ((
|
|
113
|
+
n = ((m = t == null ? undefined : t.router) == null ? undefined : m.options) || {};
|
|
114
114
|
var r = Object.assign(((d = t == null ? undefined : t.router) == null ? undefined : d.glob) || {});
|
|
115
115
|
var o = Object.values(r).filter(function (v) {
|
|
116
116
|
return !!v;
|
|
@@ -120,8 +120,8 @@ var X0 = function X0(t) {
|
|
|
120
120
|
}),
|
|
121
121
|
a = [];
|
|
122
122
|
(f = t == null ? undefined : t.microApps) == null || f.map(function (v) {
|
|
123
|
-
var
|
|
124
|
-
var x = Object.values(((
|
|
123
|
+
var _;
|
|
124
|
+
var x = Object.values(((_ = v.router) == null ? undefined : _.glob) || {}).filter(function (h) {
|
|
125
125
|
return !!h;
|
|
126
126
|
}).flat().sort(function (h, g) {
|
|
127
127
|
var _h$index, _g$index;
|
|
@@ -171,8 +171,8 @@ var X0 = function X0(t) {
|
|
|
171
171
|
_iterator.f();
|
|
172
172
|
}
|
|
173
173
|
l.beforeEach(/*#__PURE__*/function () {
|
|
174
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(x,
|
|
175
|
-
var g, C, E, _iterator2, _step2, _step2$value, k, b, w, _t2, _t3, _t4;
|
|
174
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(x, _, h) {
|
|
175
|
+
var g, C, E, _iterator2, _step2, _step2$value, k, b, w, B, _t2, _t3, _t4;
|
|
176
176
|
return _regenerator().w(function (_context) {
|
|
177
177
|
while (1) switch (_context.p = _context.n) {
|
|
178
178
|
case 0:
|
|
@@ -202,8 +202,9 @@ var X0 = function X0(t) {
|
|
|
202
202
|
w = typeof b == "string" ? [b] : b;
|
|
203
203
|
s.markLoaded(C, k);
|
|
204
204
|
_context.p = 5;
|
|
205
|
+
B = "/web/".concat(k, "/");
|
|
205
206
|
_context.n = 6;
|
|
206
|
-
return registerMicroI18nData(w, C);
|
|
207
|
+
return registerMicroI18nData(w, C, B);
|
|
207
208
|
case 6:
|
|
208
209
|
_context.n = 8;
|
|
209
210
|
break;
|
|
@@ -295,23 +296,39 @@ var X0 = function X0(t) {
|
|
|
295
296
|
}
|
|
296
297
|
},
|
|
297
298
|
Q0 = /*#__PURE__*/function () {
|
|
298
|
-
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(
|
|
299
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
299
300
|
var _ref6, _ref7, _ref8;
|
|
300
|
-
var
|
|
301
|
+
var t,
|
|
302
|
+
e,
|
|
303
|
+
n,
|
|
304
|
+
l,
|
|
305
|
+
s,
|
|
306
|
+
u,
|
|
307
|
+
r,
|
|
308
|
+
o,
|
|
309
|
+
a,
|
|
310
|
+
i,
|
|
311
|
+
c,
|
|
312
|
+
d,
|
|
313
|
+
_args2 = arguments,
|
|
314
|
+
_t5;
|
|
301
315
|
return _regenerator().w(function (_context2) {
|
|
302
316
|
while (1) switch (_context2.p = _context2.n) {
|
|
303
317
|
case 0:
|
|
304
|
-
|
|
305
|
-
|
|
318
|
+
t = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : [];
|
|
319
|
+
e = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : "zh-CN";
|
|
320
|
+
n = _args2.length > 2 ? _args2[2] : undefined;
|
|
321
|
+
r = getConfig() || {}, o = (_ref6 = (l = r.i18n) == null ? undefined : l.fromOss) !== null && _ref6 !== void 0 ? _ref6 : true, a = (_ref7 = (s = r.i18n) == null ? undefined : s.isPullBack) !== null && _ref7 !== void 0 ? _ref7 : false, i = (_ref8 = (u = r.i18n) == null ? undefined : u.isDasUI) !== null && _ref8 !== void 0 ? _ref8 : true;
|
|
322
|
+
c = "/oss/resource/";
|
|
306
323
|
_context2.p = 1;
|
|
307
324
|
_context2.n = 2;
|
|
308
325
|
return handleI18nData({
|
|
309
|
-
baseUrl:
|
|
326
|
+
baseUrl: o ? c : n,
|
|
310
327
|
currentLang: e,
|
|
311
328
|
appName: t,
|
|
312
|
-
isPullBack:
|
|
313
|
-
fallbackBaseUrl:
|
|
314
|
-
isDasUI:
|
|
329
|
+
isPullBack: a,
|
|
330
|
+
fallbackBaseUrl: n,
|
|
331
|
+
isDasUI: i
|
|
315
332
|
});
|
|
316
333
|
case 2:
|
|
317
334
|
d = _context2.v;
|
|
@@ -331,7 +348,7 @@ var X0 = function X0(t) {
|
|
|
331
348
|
}
|
|
332
349
|
}, _callee2, null, [[1, 4]]);
|
|
333
350
|
}));
|
|
334
|
-
return function Q0(
|
|
351
|
+
return function Q0() {
|
|
335
352
|
return _ref5.apply(this, arguments);
|
|
336
353
|
};
|
|
337
354
|
}(),
|
|
@@ -383,7 +400,7 @@ var X0 = function X0(t) {
|
|
|
383
400
|
}
|
|
384
401
|
}, _callee3);
|
|
385
402
|
}));
|
|
386
|
-
return function om(
|
|
403
|
+
return function om(_x5) {
|
|
387
404
|
return _ref9.apply(this, arguments);
|
|
388
405
|
};
|
|
389
406
|
}(),
|
|
@@ -565,7 +582,7 @@ var im = /*#__PURE__*/function () {
|
|
|
565
582
|
}
|
|
566
583
|
}, _callee4, null, [[1, 4]]);
|
|
567
584
|
}));
|
|
568
|
-
return function im(
|
|
585
|
+
return function im(_x6) {
|
|
569
586
|
return _ref0.apply(this, arguments);
|
|
570
587
|
};
|
|
571
588
|
}(),
|
|
@@ -574,6 +591,7 @@ var im = /*#__PURE__*/function () {
|
|
|
574
591
|
var t,
|
|
575
592
|
e,
|
|
576
593
|
n,
|
|
594
|
+
r,
|
|
577
595
|
_args5 = arguments,
|
|
578
596
|
_t7;
|
|
579
597
|
return _regenerator().w(function (_context5) {
|
|
@@ -581,14 +599,15 @@ var im = /*#__PURE__*/function () {
|
|
|
581
599
|
case 0:
|
|
582
600
|
t = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : [];
|
|
583
601
|
e = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : "zh-CN";
|
|
602
|
+
n = _args5.length > 2 ? _args5[2] : undefined;
|
|
584
603
|
_context5.p = 1;
|
|
585
604
|
_context5.n = 2;
|
|
586
|
-
return Q0(t, e);
|
|
605
|
+
return Q0(t, e, n);
|
|
587
606
|
case 2:
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}),
|
|
607
|
+
r = _context5.v;
|
|
608
|
+
r != null && r.frontEnd && _typeof(r.frontEnd) == "object" && Object.keys(r.frontEnd).length && t.forEach(function (o) {
|
|
609
|
+
r.frontEnd[o] && _typeof(r.frontEnd[o]) == "object" && Object.keys(r.frontEnd[o]).length && zo(_defineProperty({}, e, r.frontEnd[o]));
|
|
610
|
+
}), r != null && r.dasUiEnd && _typeof(r.dasUiEnd) == "object" && Object.keys(r.dasUiEnd).length && zo(_defineProperty({}, e, r.dasUiEnd)), sc(e);
|
|
592
611
|
_context5.n = 4;
|
|
593
612
|
break;
|
|
594
613
|
case 3:
|
|
@@ -630,8 +649,8 @@ var im = /*#__PURE__*/function () {
|
|
|
630
649
|
a = _objectWithoutProperties(_ref10, _excluded);
|
|
631
650
|
e.light = _objectSpread(_objectSpread({}, n), o), e.dark = r || {};
|
|
632
651
|
for (var i in a) {
|
|
633
|
-
var
|
|
634
|
-
if (typeof
|
|
652
|
+
var _c2 = a[i];
|
|
653
|
+
if (typeof _c2 == "string" && (e.light[i] = _c2), _typeof(_c2) == "object") for (var l in _c2) e[l] || (e[l] = {}), e[l][i] || (e[l][i] = {}), e[l][i] = _c2[l];
|
|
635
654
|
}
|
|
636
655
|
return e;
|
|
637
656
|
};
|
|
@@ -656,10 +675,10 @@ var Ho = function Ho(t, e) {
|
|
|
656
675
|
r = cc(t);
|
|
657
676
|
for (var _a4 in r) {
|
|
658
677
|
var i = r[_a4];
|
|
659
|
-
for (var
|
|
660
|
-
var l = i[
|
|
678
|
+
for (var _c3 in i) {
|
|
679
|
+
var l = i[_c3],
|
|
661
680
|
s = "".concat(on, "-").concat(_a4);
|
|
662
|
-
n.insertRule(".".concat(s, " { ").concat(
|
|
681
|
+
n.insertRule(".".concat(s, " { ").concat(_c3, ":").concat(l, " } "), n.cssRules.length);
|
|
663
682
|
}
|
|
664
683
|
e === "global" && (en.value[_a4] || (en.value[_a4] = {}), en.value[_a4] = _objectSpread(_objectSpread({}, en.value[_a4]), i)), e === "custom" && (Zt.value[_a4] || (Zt.value[_a4] = {}), Zt.value[_a4] = _objectSpread(_objectSpread({}, Zt.value[_a4]), i));
|
|
665
684
|
}
|
|
@@ -688,7 +707,7 @@ var Ho = function Ho(t, e) {
|
|
|
688
707
|
}
|
|
689
708
|
}, _callee6);
|
|
690
709
|
}));
|
|
691
|
-
return function lm(
|
|
710
|
+
return function lm(_x7) {
|
|
692
711
|
return _ref11.apply(this, arguments);
|
|
693
712
|
};
|
|
694
713
|
}(),
|
|
@@ -777,12 +796,12 @@ var Ho = function Ho(t, e) {
|
|
|
777
796
|
o = _ref12$autoRemove === void 0 ? false : _ref12$autoRemove,
|
|
778
797
|
a = [];
|
|
779
798
|
var _loop = function _loop() {
|
|
780
|
-
var l = r[
|
|
799
|
+
var l = r[_c4];
|
|
781
800
|
l.type === t && a.push((i = l == null ? undefined : l.handler) == null ? undefined : i.call(l, e).then(function () {
|
|
782
801
|
o && l.remove();
|
|
783
802
|
}));
|
|
784
803
|
};
|
|
785
|
-
for (var
|
|
804
|
+
for (var _c4 in r) {
|
|
786
805
|
_loop();
|
|
787
806
|
}
|
|
788
807
|
return Promise.all(a).then(function () {
|
|
@@ -819,7 +838,7 @@ var Ho = function Ho(t, e) {
|
|
|
819
838
|
}
|
|
820
839
|
}, _callee7, null, [[0, 2]]);
|
|
821
840
|
}));
|
|
822
|
-
function handler(
|
|
841
|
+
function handler(_x8) {
|
|
823
842
|
return _handler.apply(this, arguments);
|
|
824
843
|
}
|
|
825
844
|
return handler;
|
|
@@ -863,12 +882,12 @@ var Ho = function Ho(t, e) {
|
|
|
863
882
|
o = _ref13$autoRemove === void 0 ? false : _ref13$autoRemove,
|
|
864
883
|
a = [];
|
|
865
884
|
var _loop2 = function _loop2() {
|
|
866
|
-
var l = r[
|
|
885
|
+
var l = r[_c5];
|
|
867
886
|
l.type === t && a.push((i = l == null ? undefined : l.handler) == null ? undefined : i.call(l, e).then(function () {
|
|
868
887
|
o && l.remove();
|
|
869
888
|
}));
|
|
870
889
|
};
|
|
871
|
-
for (var
|
|
890
|
+
for (var _c5 in r) {
|
|
872
891
|
_loop2();
|
|
873
892
|
}
|
|
874
893
|
return Promise.all(a).then(function () {
|
|
@@ -905,7 +924,7 @@ var Ho = function Ho(t, e) {
|
|
|
905
924
|
}
|
|
906
925
|
}, _callee8, null, [[0, 2]]);
|
|
907
926
|
}));
|
|
908
|
-
function handler(
|
|
927
|
+
function handler(_x9) {
|
|
909
928
|
return _handler2.apply(this, arguments);
|
|
910
929
|
}
|
|
911
930
|
return handler;
|
|
@@ -954,12 +973,12 @@ var Ho = function Ho(t, e) {
|
|
|
954
973
|
o = _ref14$autoRemove === void 0 ? false : _ref14$autoRemove,
|
|
955
974
|
a = [];
|
|
956
975
|
var _loop3 = function _loop3() {
|
|
957
|
-
var l = r[
|
|
976
|
+
var l = r[_c6];
|
|
958
977
|
l.type === t && a.push((i = l == null ? undefined : l.handler) == null ? undefined : i.call(l, e).then(function () {
|
|
959
978
|
o && l.remove();
|
|
960
979
|
}));
|
|
961
980
|
};
|
|
962
|
-
for (var
|
|
981
|
+
for (var _c6 in r) {
|
|
963
982
|
_loop3();
|
|
964
983
|
}
|
|
965
984
|
return Promise.all(a).then(function () {
|
|
@@ -996,7 +1015,7 @@ var Ho = function Ho(t, e) {
|
|
|
996
1015
|
}
|
|
997
1016
|
}, _callee9, null, [[0, 2]]);
|
|
998
1017
|
}));
|
|
999
|
-
function handler(
|
|
1018
|
+
function handler(_x0) {
|
|
1000
1019
|
return _handler3.apply(this, arguments);
|
|
1001
1020
|
}
|
|
1002
1021
|
return handler;
|
|
@@ -1019,12 +1038,12 @@ var Ho = function Ho(t, e) {
|
|
|
1019
1038
|
o = _ref15$autoRemove === void 0 ? false : _ref15$autoRemove,
|
|
1020
1039
|
a = [];
|
|
1021
1040
|
var _loop4 = function _loop4() {
|
|
1022
|
-
var l = r[
|
|
1041
|
+
var l = r[_c7];
|
|
1023
1042
|
l.type === t && a.push((i = l == null ? undefined : l.handler) == null ? undefined : i.call(l, e).then(function () {
|
|
1024
1043
|
o && l.remove();
|
|
1025
1044
|
}));
|
|
1026
1045
|
};
|
|
1027
|
-
for (var
|
|
1046
|
+
for (var _c7 in r) {
|
|
1028
1047
|
_loop4();
|
|
1029
1048
|
}
|
|
1030
1049
|
return Promise.all(a).then(function () {
|
|
@@ -1061,7 +1080,7 @@ var Ho = function Ho(t, e) {
|
|
|
1061
1080
|
}
|
|
1062
1081
|
}, _callee0, null, [[0, 2]]);
|
|
1063
1082
|
}));
|
|
1064
|
-
function handler(
|
|
1083
|
+
function handler(_x1) {
|
|
1065
1084
|
return _handler4.apply(this, arguments);
|
|
1066
1085
|
}
|
|
1067
1086
|
return handler;
|
|
@@ -1184,7 +1203,7 @@ var Ho = function Ho(t, e) {
|
|
|
1184
1203
|
}
|
|
1185
1204
|
}, _callee1);
|
|
1186
1205
|
}));
|
|
1187
|
-
return function l(
|
|
1206
|
+
return function l(_x10) {
|
|
1188
1207
|
return _ref16.apply(this, arguments);
|
|
1189
1208
|
};
|
|
1190
1209
|
}(),
|
|
@@ -1311,12 +1330,12 @@ var Ho = function Ho(t, e) {
|
|
|
1311
1330
|
return _ref18.apply(this, arguments);
|
|
1312
1331
|
};
|
|
1313
1332
|
}();
|
|
1314
|
-
var
|
|
1333
|
+
var m = 0;
|
|
1315
1334
|
return watch(function () {
|
|
1316
1335
|
return r.currentRoute.value;
|
|
1317
1336
|
}, function () {
|
|
1318
1337
|
var d = r.options.routes.length;
|
|
1319
|
-
d !==
|
|
1338
|
+
d !== m ? (s(), m = d) : u();
|
|
1320
1339
|
}, {
|
|
1321
1340
|
immediate: true
|
|
1322
1341
|
}), ae.iframeView.addEventListener("onRefreshCurrentPage", function () {
|
|
@@ -1329,7 +1348,7 @@ var Ho = function Ho(t, e) {
|
|
|
1329
1348
|
f.path.toLowerCase() === d.toLowerCase() && (f.meta.isOpen = false);
|
|
1330
1349
|
});
|
|
1331
1350
|
}), function (d, f) {
|
|
1332
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1351
|
+
return openBlock(), createElementBlock(Fragment, null, [d.needTransition ? (openBlock(), createBlock(TransitionGroup, normalizeProps(mergeProps({
|
|
1333
1352
|
key: 0
|
|
1334
1353
|
}, n.value)), {
|
|
1335
1354
|
"default": withCtx(function () {
|
|
@@ -1349,7 +1368,7 @@ var Ho = function Ho(t, e) {
|
|
|
1349
1368
|
_: 1
|
|
1350
1369
|
/* STABLE */
|
|
1351
1370
|
}, 16
|
|
1352
|
-
/* FULL_PROPS */)) : createCommentVNode("v-if", true),
|
|
1371
|
+
/* FULL_PROPS */)) : createCommentVNode("v-if", true), d.needTransition ? createCommentVNode("v-if", true) : (openBlock(true), createElementBlock(Fragment, {
|
|
1353
1372
|
key: 1
|
|
1354
1373
|
}, renderList(i.value, function (_ref20) {
|
|
1355
1374
|
var p = _ref20.path,
|
|
@@ -1500,7 +1519,7 @@ var Ho = function Ho(t, e) {
|
|
|
1500
1519
|
var _mt$overlay$visible;
|
|
1501
1520
|
return (_mt$overlay$visible = mt.overlay.visible) !== null && _mt$overlay$visible !== void 0 ? _mt$overlay$visible : false;
|
|
1502
1521
|
}),
|
|
1503
|
-
|
|
1522
|
+
m = computed(function () {
|
|
1504
1523
|
return {
|
|
1505
1524
|
"das-web-app-overlay-show": u.value === true,
|
|
1506
1525
|
"das-web-app-overlay-hide": u.value === false,
|
|
@@ -1553,7 +1572,7 @@ var Ho = function Ho(t, e) {
|
|
|
1553
1572
|
}, e.transitionConfig || {});
|
|
1554
1573
|
});
|
|
1555
1574
|
var x = /* @__PURE__ */new Map();
|
|
1556
|
-
var
|
|
1575
|
+
var _ = function _(g, C) {
|
|
1557
1576
|
var E;
|
|
1558
1577
|
return x.has(C) ? E = x.get(C) : (E = {
|
|
1559
1578
|
name: C,
|
|
@@ -1573,7 +1592,7 @@ var Ho = function Ho(t, e) {
|
|
|
1573
1592
|
return function (g, C) {
|
|
1574
1593
|
var E = resolveComponent("router-view");
|
|
1575
1594
|
return openBlock(), createElementBlock("div", gc, [withDirectives(createElementVNode("div", {
|
|
1576
|
-
"class": normalizeClass(["das-web-app-overlay",
|
|
1595
|
+
"class": normalizeClass(["das-web-app-overlay", m.value]),
|
|
1577
1596
|
style: normalizeStyle(d.value)
|
|
1578
1597
|
}, null, 6
|
|
1579
1598
|
/* CLASS, STYLE */), [[vShow, h$1.value]]), i.value ? withDirectives((openBlock(), createElementBlock("div", mc, [renderSlot(g.$slots, "header", {}, undefined, true)], 512
|
|
@@ -1581,13 +1600,13 @@ var Ho = function Ho(t, e) {
|
|
|
1581
1600
|
/* NEED_PATCH */)), [[vShow, h$1.value]]) : createCommentVNode("v-if", true), createElementVNode("div", yc, [l.value ? withDirectives((openBlock(), createElementBlock("div", bc, [renderSlot(g.$slots, "tab", {}, undefined, true)], 512
|
|
1582
1601
|
/* NEED_PATCH */)), [[vShow, h$1.value]]) : createCommentVNode("v-if", true), createElementVNode("div", wc, [withDirectives(createElementVNode("div", Ac, [renderSlot(g.$slots, "banner", {}, undefined, true)], 512
|
|
1583
1602
|
/* NEED_PATCH */), [[vShow, h$1.value]]), createElementVNode("div", Ec, [withDirectives((openBlock(), createElementBlock("div", {
|
|
1584
|
-
key:
|
|
1603
|
+
key: g.pageKey,
|
|
1585
1604
|
style: {
|
|
1586
1605
|
width: "100%",
|
|
1587
1606
|
height: "100%"
|
|
1588
1607
|
}
|
|
1589
1608
|
}, [renderSlot(g.$slots, "router-view", {}, function () {
|
|
1590
|
-
return [createCommentVNode(" 有动画 "),
|
|
1609
|
+
return [createCommentVNode(" 有动画 "), g.needTransition ? (openBlock(), createBlock(E, {
|
|
1591
1610
|
key: 0
|
|
1592
1611
|
}, {
|
|
1593
1612
|
"default": withCtx(function (_ref23) {
|
|
@@ -1598,7 +1617,7 @@ var Ho = function Ho(t, e) {
|
|
|
1598
1617
|
return [unref(n).meta.keepAlive ? (openBlock(), createBlock(KeepAlive, {
|
|
1599
1618
|
key: 0,
|
|
1600
1619
|
exclude: f.value
|
|
1601
|
-
}, [p.value && !((b = unref(n).meta) != null && b.isIframe) ? (openBlock(), createBlock(resolveDynamicComponent(
|
|
1620
|
+
}, [p.value && !((b = unref(n).meta) != null && b.isIframe) ? (openBlock(), createBlock(resolveDynamicComponent(_(k, unref(n).path)), {
|
|
1602
1621
|
key: unref(n).path
|
|
1603
1622
|
})) : createCommentVNode("v-if", true)], 1032, ["exclude"])) : createCommentVNode("v-if", true)];
|
|
1604
1623
|
}),
|
|
@@ -1618,7 +1637,7 @@ var Ho = function Ho(t, e) {
|
|
|
1618
1637
|
}),
|
|
1619
1638
|
_: 1
|
|
1620
1639
|
/* STABLE */
|
|
1621
|
-
})) : createCommentVNode("v-if", true), createCommentVNode(" 无动画 "),
|
|
1640
|
+
})) : createCommentVNode("v-if", true), createCommentVNode(" 无动画 "), g.needTransition ? createCommentVNode("v-if", true) : (openBlock(), createBlock(E, {
|
|
1622
1641
|
key: 1
|
|
1623
1642
|
}, {
|
|
1624
1643
|
"default": withCtx(function (_ref24) {
|
|
@@ -1626,7 +1645,7 @@ var Ho = function Ho(t, e) {
|
|
|
1626
1645
|
return [unref(n).meta.keepAlive ? (openBlock(), createBlock(KeepAlive, {
|
|
1627
1646
|
key: 0,
|
|
1628
1647
|
exclude: f.value
|
|
1629
|
-
}, [p.value && !unref(n).meta.isIframe ? (openBlock(), createBlock(resolveDynamicComponent(
|
|
1648
|
+
}, [p.value && !unref(n).meta.isIframe ? (openBlock(), createBlock(resolveDynamicComponent(_(k, unref(n).path)), {
|
|
1630
1649
|
key: unref(n).path
|
|
1631
1650
|
})) : createCommentVNode("v-if", true)], 1032, ["exclude"])) : createCommentVNode("v-if", true), !unref(n).meta.keepAlive && !unref(n).meta.isIframe ? (openBlock(), createElementBlock("div", Bc, [(openBlock(), createBlock(resolveDynamicComponent(k), {
|
|
1632
1651
|
key: unref(n).path
|
|
@@ -1637,7 +1656,7 @@ var Ho = function Ho(t, e) {
|
|
|
1637
1656
|
})), withDirectives(createElementVNode("div", Dc, [createVNode(vc, {
|
|
1638
1657
|
exclude: f.value,
|
|
1639
1658
|
transitionConfig: v.value,
|
|
1640
|
-
needTransition:
|
|
1659
|
+
needTransition: g.needTransition
|
|
1641
1660
|
}, null, 8, ["exclude", "transitionConfig", "needTransition"])], 512
|
|
1642
1661
|
/* NEED_PATCH */), [[vShow, unref(n).meta.isIframe]])];
|
|
1643
1662
|
}, true)])), [[vShow, s.value]]), withDirectives(createElementVNode("div", Sc, [renderSlot(g.$slots, "default", {}, undefined, true)], 512
|
|
@@ -1711,7 +1730,7 @@ var Ho = function Ho(t, e) {
|
|
|
1711
1730
|
u = computed(function () {
|
|
1712
1731
|
return e.userInfo;
|
|
1713
1732
|
}),
|
|
1714
|
-
|
|
1733
|
+
m = computed(function () {
|
|
1715
1734
|
return e.searchConfig;
|
|
1716
1735
|
}),
|
|
1717
1736
|
d = /*#__PURE__*/function () {
|
|
@@ -1737,7 +1756,7 @@ var Ho = function Ho(t, e) {
|
|
|
1737
1756
|
}
|
|
1738
1757
|
}, _callee12);
|
|
1739
1758
|
}));
|
|
1740
|
-
return function d(
|
|
1759
|
+
return function d(_x11) {
|
|
1741
1760
|
return _ref30.apply(this, arguments);
|
|
1742
1761
|
};
|
|
1743
1762
|
}(),
|
|
@@ -1764,7 +1783,7 @@ var Ho = function Ho(t, e) {
|
|
|
1764
1783
|
}
|
|
1765
1784
|
}, _callee13);
|
|
1766
1785
|
}));
|
|
1767
|
-
return function f(
|
|
1786
|
+
return function f(_x12) {
|
|
1768
1787
|
return _ref31.apply(this, arguments);
|
|
1769
1788
|
};
|
|
1770
1789
|
}(),
|
|
@@ -1791,7 +1810,7 @@ var Ho = function Ho(t, e) {
|
|
|
1791
1810
|
}
|
|
1792
1811
|
}, _callee14);
|
|
1793
1812
|
}));
|
|
1794
|
-
return function p(
|
|
1813
|
+
return function p(_x13) {
|
|
1795
1814
|
return _ref32.apply(this, arguments);
|
|
1796
1815
|
};
|
|
1797
1816
|
}(),
|
|
@@ -1823,14 +1842,14 @@ var Ho = function Ho(t, e) {
|
|
|
1823
1842
|
}
|
|
1824
1843
|
}, _callee15);
|
|
1825
1844
|
}));
|
|
1826
|
-
return function v(
|
|
1845
|
+
return function v(_x14) {
|
|
1827
1846
|
return _ref33.apply(this, arguments);
|
|
1828
1847
|
};
|
|
1829
1848
|
}(),
|
|
1830
1849
|
x = function x(b) {
|
|
1831
1850
|
ae.nav.triggerEventListener("onUserCommandChange", b.detail[0]);
|
|
1832
1851
|
},
|
|
1833
|
-
|
|
1852
|
+
_ = function _(b) {
|
|
1834
1853
|
ae.nav.triggerEventListener("searchToPage", {
|
|
1835
1854
|
item: b.detail[0],
|
|
1836
1855
|
keyword: b.detail[1],
|
|
@@ -1876,7 +1895,7 @@ var Ho = function Ho(t, e) {
|
|
|
1876
1895
|
logoUrl: r.value,
|
|
1877
1896
|
config: c.value,
|
|
1878
1897
|
innerPagesConfig: l.value,
|
|
1879
|
-
searchConfig:
|
|
1898
|
+
searchConfig: m.value,
|
|
1880
1899
|
projectTreeConfig: s.value,
|
|
1881
1900
|
userInfoConfig: u.value,
|
|
1882
1901
|
"on:userCommandHandle": x,
|
|
@@ -1884,7 +1903,7 @@ var Ho = function Ho(t, e) {
|
|
|
1884
1903
|
"on:handleTabClick": f,
|
|
1885
1904
|
"on:handleTabDelete": p,
|
|
1886
1905
|
"on:changeTreeHandle": v,
|
|
1887
|
-
"on:searchToPage":
|
|
1906
|
+
"on:searchToPage": _,
|
|
1888
1907
|
"on:clearSearchList": h,
|
|
1889
1908
|
"on:deleteSearchItem": g,
|
|
1890
1909
|
"on:changeEnterpriseHandle": C,
|
|
@@ -1952,11 +1971,11 @@ var Ho = function Ho(t, e) {
|
|
|
1952
1971
|
}
|
|
1953
1972
|
}, _callee16);
|
|
1954
1973
|
}));
|
|
1955
|
-
return function u(
|
|
1974
|
+
return function u(_x15) {
|
|
1956
1975
|
return _ref34.apply(this, arguments);
|
|
1957
1976
|
};
|
|
1958
1977
|
}(),
|
|
1959
|
-
|
|
1978
|
+
m = function m(d) {
|
|
1960
1979
|
ae.menu.setCollapse(d.detail[0]), ae.menu.triggerEventListener("toggleCollapse", d.detail[0]);
|
|
1961
1980
|
};
|
|
1962
1981
|
return function (d, f) {
|
|
@@ -1970,7 +1989,7 @@ var Ho = function Ho(t, e) {
|
|
|
1970
1989
|
subMenuAttrs: s.value
|
|
1971
1990
|
}, o.value, {
|
|
1972
1991
|
onChange: u,
|
|
1973
|
-
"on:toggleCollapse":
|
|
1992
|
+
"on:toggleCollapse": m
|
|
1974
1993
|
}), null, 16, Tc)) : createCommentVNode("v-if", true);
|
|
1975
1994
|
};
|
|
1976
1995
|
}
|
|
@@ -2024,7 +2043,7 @@ var Ho = function Ho(t, e) {
|
|
|
2024
2043
|
}
|
|
2025
2044
|
}, _callee17);
|
|
2026
2045
|
}));
|
|
2027
|
-
return function c(
|
|
2046
|
+
return function c(_x16) {
|
|
2028
2047
|
return _ref35.apply(this, arguments);
|
|
2029
2048
|
};
|
|
2030
2049
|
}(),
|
|
@@ -2051,7 +2070,7 @@ var Ho = function Ho(t, e) {
|
|
|
2051
2070
|
}
|
|
2052
2071
|
}, _callee18);
|
|
2053
2072
|
}));
|
|
2054
|
-
return function l(
|
|
2073
|
+
return function l(_x17) {
|
|
2055
2074
|
return _ref36.apply(this, arguments);
|
|
2056
2075
|
};
|
|
2057
2076
|
}(),
|
|
@@ -2070,7 +2089,7 @@ var Ho = function Ho(t, e) {
|
|
|
2070
2089
|
}
|
|
2071
2090
|
}, _callee19);
|
|
2072
2091
|
}));
|
|
2073
|
-
return function s(
|
|
2092
|
+
return function s(_x18) {
|
|
2074
2093
|
return _ref37.apply(this, arguments);
|
|
2075
2094
|
};
|
|
2076
2095
|
}(),
|
|
@@ -2086,11 +2105,11 @@ var Ho = function Ho(t, e) {
|
|
|
2086
2105
|
}
|
|
2087
2106
|
}, _callee20);
|
|
2088
2107
|
}));
|
|
2089
|
-
return function u(
|
|
2108
|
+
return function u(_x19) {
|
|
2090
2109
|
return _ref38.apply(this, arguments);
|
|
2091
2110
|
};
|
|
2092
2111
|
}(),
|
|
2093
|
-
|
|
2112
|
+
m = function m() {
|
|
2094
2113
|
ae.tab.triggerEventListener("onToggleFullScreen");
|
|
2095
2114
|
};
|
|
2096
2115
|
return function (d, f) {
|
|
@@ -2104,7 +2123,7 @@ var Ho = function Ho(t, e) {
|
|
|
2104
2123
|
"on:tabDelete": l,
|
|
2105
2124
|
"on:menuClick": s,
|
|
2106
2125
|
"on:pageRefresh": u,
|
|
2107
|
-
"on:toggleFullScreen":
|
|
2126
|
+
"on:toggleFullScreen": m
|
|
2108
2127
|
}), null, 16, Pc)) : createCommentVNode("v-if", true);
|
|
2109
2128
|
};
|
|
2110
2129
|
}
|
|
@@ -2243,7 +2262,7 @@ var Rc = function Rc(t) {
|
|
|
2243
2262
|
}
|
|
2244
2263
|
}, _callee21);
|
|
2245
2264
|
}));
|
|
2246
|
-
return function (
|
|
2265
|
+
return function (_x21) {
|
|
2247
2266
|
return _ref44.apply(this, arguments);
|
|
2248
2267
|
};
|
|
2249
2268
|
}());
|
|
@@ -2253,7 +2272,7 @@ var Rc = function Rc(t) {
|
|
|
2253
2272
|
}
|
|
2254
2273
|
}, _callee22);
|
|
2255
2274
|
}));
|
|
2256
|
-
return function Gn(
|
|
2275
|
+
return function Gn(_x20) {
|
|
2257
2276
|
return _ref43.apply(this, arguments);
|
|
2258
2277
|
};
|
|
2259
2278
|
}(),
|
|
@@ -2324,7 +2343,7 @@ var Rc = function Rc(t) {
|
|
|
2324
2343
|
}
|
|
2325
2344
|
}, _callee23);
|
|
2326
2345
|
}));
|
|
2327
|
-
function hideMicroApp(
|
|
2346
|
+
function hideMicroApp(_x22) {
|
|
2328
2347
|
return _hideMicroApp.apply(this, arguments);
|
|
2329
2348
|
}
|
|
2330
2349
|
return hideMicroApp;
|
|
@@ -2396,7 +2415,7 @@ var Rc = function Rc(t) {
|
|
|
2396
2415
|
}
|
|
2397
2416
|
}, _callee24);
|
|
2398
2417
|
}));
|
|
2399
|
-
function setMicroAppRoute(
|
|
2418
|
+
function setMicroAppRoute(_x23, _x24, _x25) {
|
|
2400
2419
|
return _setMicroAppRoute.apply(this, arguments);
|
|
2401
2420
|
}
|
|
2402
2421
|
return setMicroAppRoute;
|
|
@@ -2453,7 +2472,7 @@ var Rc = function Rc(t) {
|
|
|
2453
2472
|
}
|
|
2454
2473
|
}, _callee25);
|
|
2455
2474
|
}));
|
|
2456
|
-
function handler(
|
|
2475
|
+
function handler(_x26) {
|
|
2457
2476
|
return _handler5.apply(this, arguments);
|
|
2458
2477
|
}
|
|
2459
2478
|
return handler;
|
|
@@ -2519,7 +2538,7 @@ var Rc = function Rc(t) {
|
|
|
2519
2538
|
}
|
|
2520
2539
|
}, _callee26);
|
|
2521
2540
|
}));
|
|
2522
|
-
function reloadMicroAppRoute(
|
|
2541
|
+
function reloadMicroAppRoute(_x27, _x28) {
|
|
2523
2542
|
return _reloadMicroAppRoute.apply(this, arguments);
|
|
2524
2543
|
}
|
|
2525
2544
|
return reloadMicroAppRoute;
|
|
@@ -2564,7 +2583,7 @@ var Rc = function Rc(t) {
|
|
|
2564
2583
|
}
|
|
2565
2584
|
}, _callee27);
|
|
2566
2585
|
}));
|
|
2567
|
-
function unloadMicroAppRoute(
|
|
2586
|
+
function unloadMicroAppRoute(_x29, _x30) {
|
|
2568
2587
|
return _unloadMicroAppRoute.apply(this, arguments);
|
|
2569
2588
|
}
|
|
2570
2589
|
return unloadMicroAppRoute;
|
|
@@ -2616,9 +2635,9 @@ function Vc() {
|
|
|
2616
2635
|
return u();
|
|
2617
2636
|
}), a.length = 0;
|
|
2618
2637
|
},
|
|
2619
|
-
c = function c(u,
|
|
2620
|
-
return u.addEventListener(
|
|
2621
|
-
return u.removeEventListener(
|
|
2638
|
+
c = function c(u, m, d, f) {
|
|
2639
|
+
return u.addEventListener(m, d, f), function () {
|
|
2640
|
+
return u.removeEventListener(m, d, f);
|
|
2622
2641
|
};
|
|
2623
2642
|
},
|
|
2624
2643
|
l = watch(function () {
|
|
@@ -2626,10 +2645,10 @@ function Vc() {
|
|
|
2626
2645
|
}, function (_ref46) {
|
|
2627
2646
|
var _ref47 = _slicedToArray(_ref46, 2),
|
|
2628
2647
|
u = _ref47[0],
|
|
2629
|
-
|
|
2648
|
+
m = _ref47[1];
|
|
2630
2649
|
i(), u && a.push.apply(a, _toConsumableArray(n.flatMap(function (d) {
|
|
2631
2650
|
return r.map(function (f) {
|
|
2632
|
-
return c(u, d, f,
|
|
2651
|
+
return c(u, d, f, m);
|
|
2633
2652
|
});
|
|
2634
2653
|
})));
|
|
2635
2654
|
}, {
|
|
@@ -2676,7 +2695,7 @@ function Wt(t) {
|
|
|
2676
2695
|
l = _i3[0],
|
|
2677
2696
|
s = _i3[1],
|
|
2678
2697
|
u = _i3[2],
|
|
2679
|
-
|
|
2698
|
+
m = _i3[4];
|
|
2680
2699
|
function d() {
|
|
2681
2700
|
return _d2.apply(this, arguments);
|
|
2682
2701
|
}
|
|
@@ -2769,7 +2788,7 @@ function Wt(t) {
|
|
|
2769
2788
|
}));
|
|
2770
2789
|
return _p2.apply(this, arguments);
|
|
2771
2790
|
}
|
|
2772
|
-
return n && Vc(n,
|
|
2791
|
+
return n && Vc(n, m, function () {
|
|
2773
2792
|
a.value = !!(n != null && n[u]);
|
|
2774
2793
|
}, false), r && Ls(d), {
|
|
2775
2794
|
isSupported: c,
|
|
@@ -2933,7 +2952,7 @@ var Zc = ["src", "entry", "name"],
|
|
|
2933
2952
|
}
|
|
2934
2953
|
}, _callee31);
|
|
2935
2954
|
}));
|
|
2936
|
-
return function n(
|
|
2955
|
+
return function n(_x31, _x32) {
|
|
2937
2956
|
return _ref49.apply(this, arguments);
|
|
2938
2957
|
};
|
|
2939
2958
|
}(),
|
|
@@ -3039,14 +3058,14 @@ var Zc = ["src", "entry", "name"],
|
|
|
3039
3058
|
aside: withCtx(function () {
|
|
3040
3059
|
return [renderSlot(a.$slots, "aside", {}, function () {
|
|
3041
3060
|
return [createVNode(unref(DasWebMenu), {
|
|
3042
|
-
menuAttr:
|
|
3061
|
+
menuAttr: a.menuAttr
|
|
3043
3062
|
}, null, 8, ["menuAttr"])];
|
|
3044
3063
|
})];
|
|
3045
3064
|
}),
|
|
3046
3065
|
tab: withCtx(function () {
|
|
3047
3066
|
return [renderSlot(a.$slots, "tab", {}, function () {
|
|
3048
3067
|
return [createVNode(unref(DasWebTabs), {
|
|
3049
|
-
tabsAttr:
|
|
3068
|
+
tabsAttr: a.tabsAttr
|
|
3050
3069
|
}, null, 8, ["tabsAttr"])];
|
|
3051
3070
|
})];
|
|
3052
3071
|
}),
|
|
@@ -3179,7 +3198,7 @@ var Zc = ["src", "entry", "name"],
|
|
|
3179
3198
|
}
|
|
3180
3199
|
}, _callee32);
|
|
3181
3200
|
}));
|
|
3182
|
-
return function (
|
|
3201
|
+
return function (_x33) {
|
|
3183
3202
|
return _ref51.apply(this, arguments);
|
|
3184
3203
|
};
|
|
3185
3204
|
}()), me.addEventListenerFromMainApp("onLoaded", function (i) {
|
|
@@ -3217,10 +3236,10 @@ var Zc = ["src", "entry", "name"],
|
|
|
3217
3236
|
_ref52$fromPath = _ref52.fromPath,
|
|
3218
3237
|
u = _ref52$fromPath === void 0 ? "" : _ref52$fromPath,
|
|
3219
3238
|
_ref52$fromQuery = _ref52.fromQuery,
|
|
3220
|
-
|
|
3239
|
+
m = _ref52$fromQuery === void 0 ? "{}" : _ref52$fromQuery;
|
|
3221
3240
|
r.value = true, e == null || e.push({
|
|
3222
3241
|
path: u,
|
|
3223
|
-
query: JSON.parse(
|
|
3242
|
+
query: JSON.parse(m),
|
|
3224
3243
|
params: l
|
|
3225
3244
|
});
|
|
3226
3245
|
}), me.addEventListenerFromMainApp("sessionStorage", function (i) {
|
|
@@ -3383,7 +3402,7 @@ var Zc = ["src", "entry", "name"],
|
|
|
3383
3402
|
});
|
|
3384
3403
|
return function (o, a) {
|
|
3385
3404
|
return openBlock(), createBlock(unref(DasWebLayout), mergeProps({
|
|
3386
|
-
pageKey:
|
|
3405
|
+
pageKey: o.pageKey,
|
|
3387
3406
|
"transition-config": n.value
|
|
3388
3407
|
}, r.value), {
|
|
3389
3408
|
header: withCtx(function () {
|
|
@@ -3394,14 +3413,14 @@ var Zc = ["src", "entry", "name"],
|
|
|
3394
3413
|
aside: withCtx(function () {
|
|
3395
3414
|
return [renderSlot(o.$slots, "aside", {}, function () {
|
|
3396
3415
|
return [createVNode(unref(DasWebMenu), {
|
|
3397
|
-
menuAttr:
|
|
3416
|
+
menuAttr: o.menuAttr
|
|
3398
3417
|
}, null, 8, ["menuAttr"])];
|
|
3399
3418
|
})];
|
|
3400
3419
|
}),
|
|
3401
3420
|
tab: withCtx(function () {
|
|
3402
3421
|
return [renderSlot(o.$slots, "tab", {}, function () {
|
|
3403
3422
|
return [createVNode(unref(DasWebTabs), {
|
|
3404
|
-
tabsAttr:
|
|
3423
|
+
tabsAttr: o.tabsAttr
|
|
3405
3424
|
}, null, 8, ["tabsAttr"])];
|
|
3406
3425
|
})];
|
|
3407
3426
|
}),
|
|
@@ -3434,40 +3453,40 @@ var Zc = ["src", "entry", "name"],
|
|
|
3434
3453
|
fontSize: 16
|
|
3435
3454
|
}),
|
|
3436
3455
|
l = function l(v, x) {
|
|
3437
|
-
var
|
|
3438
|
-
|
|
3439
|
-
var h =
|
|
3440
|
-
r.value = Math.ceil(h.width) + x / 2, o.value = Math.ceil(h.height), document.body.removeChild(
|
|
3456
|
+
var _ = document.createElement("span");
|
|
3457
|
+
_.innerHTML = v, _.style.fontSize = x + "px", _.style.fontFamily = "sans-serif", _.style.visibility = "hidden", document.body.appendChild(_);
|
|
3458
|
+
var h = _.getBoundingClientRect();
|
|
3459
|
+
r.value = Math.ceil(h.width) + x / 2, o.value = Math.ceil(h.height), document.body.removeChild(_);
|
|
3441
3460
|
},
|
|
3442
3461
|
s = ref(false),
|
|
3443
3462
|
u = function u() {
|
|
3444
3463
|
return new Promise(function (v) {
|
|
3445
|
-
var
|
|
3464
|
+
var _x34 = function x() {
|
|
3446
3465
|
if (s) return v(true);
|
|
3447
3466
|
setTimeout(function () {
|
|
3448
|
-
return
|
|
3467
|
+
return _x34();
|
|
3449
3468
|
}, 50);
|
|
3450
3469
|
};
|
|
3451
|
-
|
|
3470
|
+
_x34();
|
|
3452
3471
|
});
|
|
3453
3472
|
},
|
|
3454
|
-
|
|
3473
|
+
m = /*#__PURE__*/function () {
|
|
3455
3474
|
var _ref54 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee33(v) {
|
|
3456
|
-
var
|
|
3475
|
+
var _, x;
|
|
3457
3476
|
return _regenerator().w(function (_context34) {
|
|
3458
3477
|
while (1) switch (_context34.n) {
|
|
3459
3478
|
case 0:
|
|
3460
3479
|
_context34.n = 1;
|
|
3461
3480
|
return u();
|
|
3462
3481
|
case 1:
|
|
3463
|
-
x = !!((
|
|
3482
|
+
x = !!((_ = n.value) != null && _.pageSwith);
|
|
3464
3483
|
i.value = v && x ? _toConsumableArray(a.value) : [];
|
|
3465
3484
|
case 2:
|
|
3466
3485
|
return _context34.a(2);
|
|
3467
3486
|
}
|
|
3468
3487
|
}, _callee33);
|
|
3469
3488
|
}));
|
|
3470
|
-
return function
|
|
3489
|
+
return function m(_x35) {
|
|
3471
3490
|
return _ref54.apply(this, arguments);
|
|
3472
3491
|
};
|
|
3473
3492
|
}(),
|
|
@@ -3534,23 +3553,23 @@ var Zc = ["src", "entry", "name"],
|
|
|
3534
3553
|
var _ref56, _ref57;
|
|
3535
3554
|
var g, C, E;
|
|
3536
3555
|
var x = !!((g = n.value) != null && g.pageSwith),
|
|
3537
|
-
|
|
3556
|
+
_ = (_ref56 = (C = v.meta) == null ? undefined : C.showWatermark) !== null && _ref56 !== void 0 ? _ref56 : true;
|
|
3538
3557
|
var h = (_ref57 = (E = v.query) == null ? undefined : E.showWatermark) !== null && _ref57 !== void 0 ? _ref57 : true;
|
|
3539
|
-
h === "false" && (h = false),
|
|
3558
|
+
h === "false" && (h = false), m(x && !!(_ && h));
|
|
3540
3559
|
}, {
|
|
3541
3560
|
immediate: true
|
|
3542
3561
|
}), microFrontend.addEventListenerFromMicroApp("systemconfig:watermark-change", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee35() {
|
|
3543
3562
|
var _ref59;
|
|
3544
|
-
var
|
|
3563
|
+
var _, h, v, x;
|
|
3545
3564
|
return _regenerator().w(function (_context36) {
|
|
3546
3565
|
while (1) switch (_context36.n) {
|
|
3547
3566
|
case 0:
|
|
3548
3567
|
_context36.n = 1;
|
|
3549
3568
|
return d();
|
|
3550
3569
|
case 1:
|
|
3551
|
-
v = !!((
|
|
3570
|
+
v = !!((_ = n.value) != null && _.pageSwith);
|
|
3552
3571
|
x = (_ref59 = (h = p.query) == null ? undefined : h.showWatermark) !== null && _ref59 !== void 0 ? _ref59 : true;
|
|
3553
|
-
x === "false" && (x = false),
|
|
3572
|
+
x === "false" && (x = false), m(!!(v && x));
|
|
3554
3573
|
case 2:
|
|
3555
3574
|
return _context36.a(2);
|
|
3556
3575
|
}
|
|
@@ -3601,17 +3620,17 @@ var Zc = ["src", "entry", "name"],
|
|
|
3601
3620
|
}),
|
|
3602
3621
|
type: "feedback",
|
|
3603
3622
|
feedType: "warning",
|
|
3604
|
-
width:
|
|
3605
|
-
height:
|
|
3606
|
-
title:
|
|
3623
|
+
width: n.desc && n.desc.length ? 480 : 460,
|
|
3624
|
+
height: n.desc && n.desc.length ? 450 : 340,
|
|
3625
|
+
title: n.title,
|
|
3607
3626
|
"custom-class": "menu-tip-diaolg",
|
|
3608
|
-
onClosed:
|
|
3627
|
+
onClosed: n.closeCallback
|
|
3609
3628
|
}, {
|
|
3610
3629
|
footer: withCtx(function () {
|
|
3611
3630
|
return [createElementVNode("div", gl, [createVNode(unref(DasButton), {
|
|
3612
3631
|
btnType: "default",
|
|
3613
3632
|
size: "small",
|
|
3614
|
-
onClick:
|
|
3633
|
+
onClick: n.closeCallback
|
|
3615
3634
|
}, {
|
|
3616
3635
|
"default": withCtx(function () {
|
|
3617
3636
|
return [createTextVNode(toDisplayString(unref(t$1)("我知道了")), 1
|
|
@@ -3624,13 +3643,13 @@ var Zc = ["src", "entry", "name"],
|
|
|
3624
3643
|
"default": withCtx(function () {
|
|
3625
3644
|
return [createElementVNode("div", {
|
|
3626
3645
|
"class": "content",
|
|
3627
|
-
innerHTML:
|
|
3628
|
-
}, null, 8, vl),
|
|
3646
|
+
innerHTML: n.content
|
|
3647
|
+
}, null, 8, vl), n.desc && n.desc.length ? (openBlock(), createElementBlock(Fragment, {
|
|
3629
3648
|
key: 0
|
|
3630
3649
|
}, [r[1] || (r[1] = createElementVNode("div", {
|
|
3631
3650
|
"class": "divide"
|
|
3632
3651
|
}, null, -1
|
|
3633
|
-
/* CACHED */)), (openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
3652
|
+
/* CACHED */)), (openBlock(true), createElementBlock(Fragment, null, renderList(n.desc, function (o, a) {
|
|
3634
3653
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
3635
3654
|
key: a,
|
|
3636
3655
|
"class": "desc-item"
|
|
@@ -3761,21 +3780,21 @@ var Cl = function Cl() {
|
|
|
3761
3780
|
var s = l.code,
|
|
3762
3781
|
u = (_ref62 = l == null ? undefined : l.originalCode) !== null && _ref62 !== void 0 ? _ref62 : "";
|
|
3763
3782
|
c[s] || (c[s] = []);
|
|
3764
|
-
var
|
|
3783
|
+
var m = [];
|
|
3765
3784
|
l != null && l.children && (d = l == null ? undefined : l.children) != null && d.length && (l.children.forEach(function (f) {
|
|
3766
3785
|
var p;
|
|
3767
|
-
!(f != null && f.children) || !((p = f.children) != null && p.length) ?
|
|
3786
|
+
!(f != null && f.children) || !((p = f.children) != null && p.length) ? m.push({
|
|
3768
3787
|
code: f.code,
|
|
3769
3788
|
originalCode: f.originalCode,
|
|
3770
3789
|
name: f.name
|
|
3771
3790
|
}) : flatTree$1([f]).forEach(function (x) {
|
|
3772
|
-
|
|
3791
|
+
m.push({
|
|
3773
3792
|
code: x.code,
|
|
3774
3793
|
originalCode: x.originalCode,
|
|
3775
3794
|
name: x.name
|
|
3776
3795
|
});
|
|
3777
3796
|
});
|
|
3778
|
-
}),
|
|
3797
|
+
}), m.forEach(function (f) {
|
|
3779
3798
|
var p = f.originalCode ? f.originalCode : f.code ? f.code : "";
|
|
3780
3799
|
p.includes(s + ".") && (p = p.replace(s + ".", "").replaceAll(".", "-")), p.includes(u + ".") && (p = p.replace(u + ".", "").replaceAll(".", "-"));
|
|
3781
3800
|
var v = {
|
|
@@ -4014,7 +4033,7 @@ function se() {
|
|
|
4014
4033
|
}
|
|
4015
4034
|
};
|
|
4016
4035
|
}(),
|
|
4017
|
-
|
|
4036
|
+
m = s.WordArray = u.extend({
|
|
4018
4037
|
/**
|
|
4019
4038
|
* Initializes a newly created word array.
|
|
4020
4039
|
*
|
|
@@ -4108,7 +4127,7 @@ function se() {
|
|
|
4108
4127
|
*/
|
|
4109
4128
|
random: function random(h) {
|
|
4110
4129
|
for (var g = [], C = 0; C < h; C += 4) g.push(i());
|
|
4111
|
-
return new
|
|
4130
|
+
return new m.init(g, h);
|
|
4112
4131
|
}
|
|
4113
4132
|
}),
|
|
4114
4133
|
d = l.enc = {},
|
|
@@ -4148,7 +4167,7 @@ function se() {
|
|
|
4148
4167
|
*/
|
|
4149
4168
|
parse: function parse(h) {
|
|
4150
4169
|
for (var g = h.length, C = [], E = 0; E < g; E += 2) C[E >>> 3] |= parseInt(h.substr(E, 2), 16) << 24 - E % 8 * 4;
|
|
4151
|
-
return new
|
|
4170
|
+
return new m.init(C, g / 2);
|
|
4152
4171
|
}
|
|
4153
4172
|
},
|
|
4154
4173
|
p = d.Latin1 = {
|
|
@@ -4187,7 +4206,7 @@ function se() {
|
|
|
4187
4206
|
*/
|
|
4188
4207
|
parse: function parse(h) {
|
|
4189
4208
|
for (var g = h.length, C = [], E = 0; E < g; E++) C[E >>> 2] |= (h.charCodeAt(E) & 255) << 24 - E % 4 * 8;
|
|
4190
|
-
return new
|
|
4209
|
+
return new m.init(C, g);
|
|
4191
4210
|
}
|
|
4192
4211
|
},
|
|
4193
4212
|
v = d.Utf8 = {
|
|
@@ -4237,7 +4256,7 @@ function se() {
|
|
|
4237
4256
|
* bufferedBlockAlgorithm.reset();
|
|
4238
4257
|
*/
|
|
4239
4258
|
reset: function reset() {
|
|
4240
|
-
this._data = new
|
|
4259
|
+
this._data = new m.init(), this._nDataBytes = 0;
|
|
4241
4260
|
},
|
|
4242
4261
|
/**
|
|
4243
4262
|
* Adds new data to this block algorithm's buffer.
|
|
@@ -4281,7 +4300,7 @@ function se() {
|
|
|
4281
4300
|
for (var S = 0; S < y; S += b) this._doProcessBlock(E, S);
|
|
4282
4301
|
g = E.splice(0, y), C.sigBytes -= A;
|
|
4283
4302
|
}
|
|
4284
|
-
return new
|
|
4303
|
+
return new m.init(g, A);
|
|
4285
4304
|
},
|
|
4286
4305
|
/**
|
|
4287
4306
|
* Creates a copy of this object.
|
|
@@ -4393,11 +4412,11 @@ function se() {
|
|
|
4393
4412
|
*/
|
|
4394
4413
|
_createHmacHelper: function _createHmacHelper(h) {
|
|
4395
4414
|
return function (g, C) {
|
|
4396
|
-
return new
|
|
4415
|
+
return new _.HMAC.init(h, C).finalize(g);
|
|
4397
4416
|
};
|
|
4398
4417
|
}
|
|
4399
4418
|
});
|
|
4400
|
-
var
|
|
4419
|
+
var _ = l.algo = {};
|
|
4401
4420
|
return l;
|
|
4402
4421
|
}(Math);
|
|
4403
4422
|
return n;
|
|
@@ -4616,11 +4635,11 @@ function $n() {
|
|
|
4616
4635
|
* var x32WordArray = x64WordArray.toX32();
|
|
4617
4636
|
*/
|
|
4618
4637
|
toX32: function toX32() {
|
|
4619
|
-
for (var s = this.words, u = s.length,
|
|
4638
|
+
for (var s = this.words, u = s.length, m = [], d = 0; d < u; d++) {
|
|
4620
4639
|
var f = s[d];
|
|
4621
|
-
|
|
4640
|
+
m.push(f.high), m.push(f.low);
|
|
4622
4641
|
}
|
|
4623
|
-
return c.create(
|
|
4642
|
+
return c.create(m, this.sigBytes);
|
|
4624
4643
|
},
|
|
4625
4644
|
/**
|
|
4626
4645
|
* Creates a copy of this word array.
|
|
@@ -4632,7 +4651,7 @@ function $n() {
|
|
|
4632
4651
|
* var clone = x64WordArray.clone();
|
|
4633
4652
|
*/
|
|
4634
4653
|
clone: function clone() {
|
|
4635
|
-
for (var s = i.clone.call(this), u = s.words = this.words.slice(0),
|
|
4654
|
+
for (var s = i.clone.call(this), u = s.words = this.words.slice(0), m = u.length, d = 0; d < m; d++) u[d] = u[d].clone();
|
|
4636
4655
|
return s;
|
|
4637
4656
|
}
|
|
4638
4657
|
});
|
|
@@ -4657,7 +4676,7 @@ function Ol() {
|
|
|
4657
4676
|
i = a.init,
|
|
4658
4677
|
c = a.init = function (l) {
|
|
4659
4678
|
if (l instanceof ArrayBuffer && (l = new Uint8Array(l)), (l instanceof Int8Array || (typeof Uint8ClampedArray === "undefined" ? "undefined" : _typeof(Uint8ClampedArray)) < "u" && l instanceof Uint8ClampedArray || l instanceof Int16Array || l instanceof Uint16Array || l instanceof Int32Array || l instanceof Uint32Array || l instanceof Float32Array || l instanceof Float64Array) && (l = new Uint8Array(l.buffer, l.byteOffset, l.byteLength)), l instanceof Uint8Array) {
|
|
4660
|
-
for (var s = l.byteLength, u = [],
|
|
4679
|
+
for (var s = l.byteLength, u = [], m = 0; m < s; m++) u[m >>> 2] |= l[m] << 24 - m % 4 * 8;
|
|
4661
4680
|
i.call(this, u, s);
|
|
4662
4681
|
} else i.apply(this, arguments);
|
|
4663
4682
|
};
|
|
@@ -4696,11 +4715,11 @@ function Nl() {
|
|
|
4696
4715
|
* var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
|
|
4697
4716
|
*/
|
|
4698
4717
|
stringify: function stringify(l) {
|
|
4699
|
-
for (var s = l.words, u = l.sigBytes,
|
|
4718
|
+
for (var s = l.words, u = l.sigBytes, m = [], d = 0; d < u; d += 2) {
|
|
4700
4719
|
var f = s[d >>> 2] >>> 16 - d % 4 * 8 & 65535;
|
|
4701
|
-
|
|
4720
|
+
m.push(String.fromCharCode(f));
|
|
4702
4721
|
}
|
|
4703
|
-
return
|
|
4722
|
+
return m.join("");
|
|
4704
4723
|
},
|
|
4705
4724
|
/**
|
|
4706
4725
|
* Converts a UTF-16 BE string to a word array.
|
|
@@ -4716,7 +4735,7 @@ function Nl() {
|
|
|
4716
4735
|
* var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
|
|
4717
4736
|
*/
|
|
4718
4737
|
parse: function parse(l) {
|
|
4719
|
-
for (var s = l.length, u = [],
|
|
4738
|
+
for (var s = l.length, u = [], m = 0; m < s; m++) u[m >>> 1] |= l.charCodeAt(m) << 16 - m % 2 * 16;
|
|
4720
4739
|
return a.create(u, s * 2);
|
|
4721
4740
|
}
|
|
4722
4741
|
}, i.Utf16LE = {
|
|
@@ -4734,11 +4753,11 @@ function Nl() {
|
|
|
4734
4753
|
* var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
|
|
4735
4754
|
*/
|
|
4736
4755
|
stringify: function stringify(l) {
|
|
4737
|
-
for (var s = l.words, u = l.sigBytes,
|
|
4756
|
+
for (var s = l.words, u = l.sigBytes, m = [], d = 0; d < u; d += 2) {
|
|
4738
4757
|
var f = c(s[d >>> 2] >>> 16 - d % 4 * 8 & 65535);
|
|
4739
|
-
|
|
4758
|
+
m.push(String.fromCharCode(f));
|
|
4740
4759
|
}
|
|
4741
|
-
return
|
|
4760
|
+
return m.join("");
|
|
4742
4761
|
},
|
|
4743
4762
|
/**
|
|
4744
4763
|
* Converts a UTF-16 LE string to a word array.
|
|
@@ -4754,7 +4773,7 @@ function Nl() {
|
|
|
4754
4773
|
* var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
|
|
4755
4774
|
*/
|
|
4756
4775
|
parse: function parse(l) {
|
|
4757
|
-
for (var s = l.length, u = [],
|
|
4776
|
+
for (var s = l.length, u = [], m = 0; m < s; m++) u[m >>> 1] |= c(l.charCodeAt(m) << 16 - m % 2 * 16);
|
|
4758
4777
|
return a.create(u, s * 2);
|
|
4759
4778
|
}
|
|
4760
4779
|
};
|
|
@@ -4796,10 +4815,10 @@ function Et() {
|
|
|
4796
4815
|
stringify: function stringify(l) {
|
|
4797
4816
|
var s = l.words,
|
|
4798
4817
|
u = l.sigBytes,
|
|
4799
|
-
|
|
4818
|
+
m = this._map;
|
|
4800
4819
|
l.clamp();
|
|
4801
|
-
for (var d = [], f = 0; f < u; f += 3) for (var p = s[f >>> 2] >>> 24 - f % 4 * 8 & 255, v = s[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, x = s[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255,
|
|
4802
|
-
var g =
|
|
4820
|
+
for (var d = [], f = 0; f < u; f += 3) for (var p = s[f >>> 2] >>> 24 - f % 4 * 8 & 255, v = s[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, x = s[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, _ = p << 16 | v << 8 | x, h = 0; h < 4 && f + h * 0.75 < u; h++) d.push(m.charAt(_ >>> 6 * (3 - h) & 63));
|
|
4821
|
+
var g = m.charAt(64);
|
|
4803
4822
|
if (g) for (; d.length % 4;) d.push(g);
|
|
4804
4823
|
return d.join("");
|
|
4805
4824
|
},
|
|
@@ -4819,28 +4838,28 @@ function Et() {
|
|
|
4819
4838
|
parse: function parse(l) {
|
|
4820
4839
|
var s = l.length,
|
|
4821
4840
|
u = this._map,
|
|
4822
|
-
|
|
4823
|
-
if (!
|
|
4824
|
-
|
|
4825
|
-
for (var d = 0; d < u.length; d++)
|
|
4841
|
+
m = this._reverseMap;
|
|
4842
|
+
if (!m) {
|
|
4843
|
+
m = this._reverseMap = [];
|
|
4844
|
+
for (var d = 0; d < u.length; d++) m[u.charCodeAt(d)] = d;
|
|
4826
4845
|
}
|
|
4827
4846
|
var f = u.charAt(64);
|
|
4828
4847
|
if (f) {
|
|
4829
4848
|
var p = l.indexOf(f);
|
|
4830
4849
|
p !== -1 && (s = p);
|
|
4831
4850
|
}
|
|
4832
|
-
return c(l, s,
|
|
4851
|
+
return c(l, s, m);
|
|
4833
4852
|
},
|
|
4834
4853
|
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
|
4835
4854
|
};
|
|
4836
4855
|
function c(l, s, u) {
|
|
4837
|
-
for (var
|
|
4856
|
+
for (var m = [], d = 0, f = 0; f < s; f++) if (f % 4) {
|
|
4838
4857
|
var p = u[l.charCodeAt(f - 1)] << f % 4 * 2,
|
|
4839
4858
|
v = u[l.charCodeAt(f)] >>> 6 - f % 4 * 2,
|
|
4840
4859
|
x = p | v;
|
|
4841
|
-
|
|
4860
|
+
m[d >>> 2] |= x << 24 - d % 4 * 8, d++;
|
|
4842
4861
|
}
|
|
4843
|
-
return a.create(
|
|
4862
|
+
return a.create(m, d);
|
|
4844
4863
|
}
|
|
4845
4864
|
}(), n.enc.Base64;
|
|
4846
4865
|
});
|
|
@@ -4879,10 +4898,10 @@ function zl() {
|
|
|
4879
4898
|
stringify: function stringify(l, s) {
|
|
4880
4899
|
s === undefined && (s = true);
|
|
4881
4900
|
var u = l.words,
|
|
4882
|
-
|
|
4901
|
+
m = l.sigBytes,
|
|
4883
4902
|
d = s ? this._safe_map : this._map;
|
|
4884
4903
|
l.clamp();
|
|
4885
|
-
for (var f = [], p = 0; p <
|
|
4904
|
+
for (var f = [], p = 0; p < m; p += 3) for (var v = u[p >>> 2] >>> 24 - p % 4 * 8 & 255, x = u[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255, _ = u[p + 2 >>> 2] >>> 24 - (p + 2) % 4 * 8 & 255, h = v << 16 | x << 8 | _, g = 0; g < 4 && p + g * 0.75 < m; g++) f.push(d.charAt(h >>> 6 * (3 - g) & 63));
|
|
4886
4905
|
var C = d.charAt(64);
|
|
4887
4906
|
if (C) for (; f.length % 4;) f.push(C);
|
|
4888
4907
|
return f.join("");
|
|
@@ -4905,13 +4924,13 @@ function zl() {
|
|
|
4905
4924
|
parse: function parse(l, s) {
|
|
4906
4925
|
s === undefined && (s = true);
|
|
4907
4926
|
var u = l.length,
|
|
4908
|
-
|
|
4927
|
+
m = s ? this._safe_map : this._map,
|
|
4909
4928
|
d = this._reverseMap;
|
|
4910
4929
|
if (!d) {
|
|
4911
4930
|
d = this._reverseMap = [];
|
|
4912
|
-
for (var f = 0; f <
|
|
4931
|
+
for (var f = 0; f < m.length; f++) d[m.charCodeAt(f)] = f;
|
|
4913
4932
|
}
|
|
4914
|
-
var p =
|
|
4933
|
+
var p = m.charAt(64);
|
|
4915
4934
|
if (p) {
|
|
4916
4935
|
var v = l.indexOf(p);
|
|
4917
4936
|
v !== -1 && (u = v);
|
|
@@ -4922,13 +4941,13 @@ function zl() {
|
|
|
4922
4941
|
_safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
|
|
4923
4942
|
};
|
|
4924
4943
|
function c(l, s, u) {
|
|
4925
|
-
for (var
|
|
4944
|
+
for (var m = [], d = 0, f = 0; f < s; f++) if (f % 4) {
|
|
4926
4945
|
var p = u[l.charCodeAt(f - 1)] << f % 4 * 2,
|
|
4927
4946
|
v = u[l.charCodeAt(f)] >>> 6 - f % 4 * 2,
|
|
4928
4947
|
x = p | v;
|
|
4929
|
-
|
|
4948
|
+
m[d >>> 2] |= x << 24 - d % 4 * 8, d++;
|
|
4930
4949
|
}
|
|
4931
|
-
return a.create(
|
|
4950
|
+
return a.create(m, d);
|
|
4932
4951
|
}
|
|
4933
4952
|
}(), n.enc.Base64url;
|
|
4934
4953
|
});
|
|
@@ -4958,8 +4977,8 @@ function kt() {
|
|
|
4958
4977
|
this._hash = new i.init([1732584193, 4023233417, 2562383102, 271733878]);
|
|
4959
4978
|
},
|
|
4960
4979
|
_doProcessBlock: function _doProcessBlock(v, x) {
|
|
4961
|
-
for (var
|
|
4962
|
-
var h = x +
|
|
4980
|
+
for (var _ = 0; _ < 16; _++) {
|
|
4981
|
+
var h = x + _,
|
|
4963
4982
|
g = v[h];
|
|
4964
4983
|
v[h] = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360;
|
|
4965
4984
|
}
|
|
@@ -4984,16 +5003,16 @@ function kt() {
|
|
|
4984
5003
|
P = C[1],
|
|
4985
5004
|
M = C[2],
|
|
4986
5005
|
$ = C[3];
|
|
4987
|
-
T =
|
|
5006
|
+
T = m(T, P, M, $, E, 7, s[0]), $ = m($, T, P, M, k, 12, s[1]), M = m(M, $, T, P, b, 17, s[2]), P = m(P, M, $, T, w, 22, s[3]), T = m(T, P, M, $, B, 7, s[4]), $ = m($, T, P, M, y, 12, s[5]), M = m(M, $, T, P, A, 17, s[6]), P = m(P, M, $, T, S, 22, s[7]), T = m(T, P, M, $, I, 7, s[8]), $ = m($, T, P, M, z, 12, s[9]), M = m(M, $, T, P, H, 17, s[10]), P = m(P, M, $, T, G, 22, s[11]), T = m(T, P, M, $, K, 7, s[12]), $ = m($, T, P, M, U, 12, s[13]), M = m(M, $, T, P, W, 17, s[14]), P = m(P, M, $, T, Z, 22, s[15]), T = d(T, P, M, $, k, 5, s[16]), $ = d($, T, P, M, A, 9, s[17]), M = d(M, $, T, P, G, 14, s[18]), P = d(P, M, $, T, E, 20, s[19]), T = d(T, P, M, $, y, 5, s[20]), $ = d($, T, P, M, H, 9, s[21]), M = d(M, $, T, P, Z, 14, s[22]), P = d(P, M, $, T, B, 20, s[23]), T = d(T, P, M, $, z, 5, s[24]), $ = d($, T, P, M, W, 9, s[25]), M = d(M, $, T, P, w, 14, s[26]), P = d(P, M, $, T, I, 20, s[27]), T = d(T, P, M, $, U, 5, s[28]), $ = d($, T, P, M, b, 9, s[29]), M = d(M, $, T, P, S, 14, s[30]), P = d(P, M, $, T, K, 20, s[31]), T = f(T, P, M, $, y, 4, s[32]), $ = f($, T, P, M, I, 11, s[33]), M = f(M, $, T, P, G, 16, s[34]), P = f(P, M, $, T, W, 23, s[35]), T = f(T, P, M, $, k, 4, s[36]), $ = f($, T, P, M, B, 11, s[37]), M = f(M, $, T, P, S, 16, s[38]), P = f(P, M, $, T, H, 23, s[39]), T = f(T, P, M, $, U, 4, s[40]), $ = f($, T, P, M, E, 11, s[41]), M = f(M, $, T, P, w, 16, s[42]), P = f(P, M, $, T, A, 23, s[43]), T = f(T, P, M, $, z, 4, s[44]), $ = f($, T, P, M, K, 11, s[45]), M = f(M, $, T, P, Z, 16, s[46]), P = f(P, M, $, T, b, 23, s[47]), T = p(T, P, M, $, E, 6, s[48]), $ = p($, T, P, M, S, 10, s[49]), M = p(M, $, T, P, W, 15, s[50]), P = p(P, M, $, T, y, 21, s[51]), T = p(T, P, M, $, K, 6, s[52]), $ = p($, T, P, M, w, 10, s[53]), M = p(M, $, T, P, H, 15, s[54]), P = p(P, M, $, T, k, 21, s[55]), T = p(T, P, M, $, I, 6, s[56]), $ = p($, T, P, M, Z, 10, s[57]), M = p(M, $, T, P, A, 15, s[58]), P = p(P, M, $, T, U, 21, s[59]), T = p(T, P, M, $, B, 6, s[60]), $ = p($, T, P, M, G, 10, s[61]), M = p(M, $, T, P, b, 15, s[62]), P = p(P, M, $, T, z, 21, s[63]), C[0] = C[0] + T | 0, C[1] = C[1] + P | 0, C[2] = C[2] + M | 0, C[3] = C[3] + $ | 0;
|
|
4988
5007
|
},
|
|
4989
5008
|
_doFinalize: function _doFinalize() {
|
|
4990
5009
|
var v = this._data,
|
|
4991
5010
|
x = v.words,
|
|
4992
|
-
|
|
5011
|
+
_ = this._nDataBytes * 8,
|
|
4993
5012
|
h = v.sigBytes * 8;
|
|
4994
5013
|
x[h >>> 5] |= 128 << 24 - h % 32;
|
|
4995
|
-
var g = r.floor(
|
|
4996
|
-
C =
|
|
5014
|
+
var g = r.floor(_ / 4294967296),
|
|
5015
|
+
C = _;
|
|
4997
5016
|
x[(h + 64 >>> 9 << 4) + 15] = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360, x[(h + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, v.sigBytes = (x.length + 1) * 4, this._process();
|
|
4998
5017
|
for (var E = this._hash, k = E.words, b = 0; b < 4; b++) {
|
|
4999
5018
|
var w = k[b];
|
|
@@ -5006,20 +5025,20 @@ function kt() {
|
|
|
5006
5025
|
return v._hash = this._hash.clone(), v;
|
|
5007
5026
|
}
|
|
5008
5027
|
});
|
|
5009
|
-
function
|
|
5010
|
-
var k = v + (x &
|
|
5028
|
+
function m(v, x, _, h, g, C, E) {
|
|
5029
|
+
var k = v + (x & _ | ~x & h) + g + E;
|
|
5011
5030
|
return (k << C | k >>> 32 - C) + x;
|
|
5012
5031
|
}
|
|
5013
|
-
function d(v, x,
|
|
5014
|
-
var k = v + (x & h |
|
|
5032
|
+
function d(v, x, _, h, g, C, E) {
|
|
5033
|
+
var k = v + (x & h | _ & ~h) + g + E;
|
|
5015
5034
|
return (k << C | k >>> 32 - C) + x;
|
|
5016
5035
|
}
|
|
5017
|
-
function f(v, x,
|
|
5018
|
-
var k = v + (x ^
|
|
5036
|
+
function f(v, x, _, h, g, C, E) {
|
|
5037
|
+
var k = v + (x ^ _ ^ h) + g + E;
|
|
5019
5038
|
return (k << C | k >>> 32 - C) + x;
|
|
5020
5039
|
}
|
|
5021
|
-
function p(v, x,
|
|
5022
|
-
var k = v + (
|
|
5040
|
+
function p(v, x, _, h, g, C, E) {
|
|
5041
|
+
var k = v + (_ ^ (x | ~h)) + g + E;
|
|
5023
5042
|
return (k << C | k >>> 32 - C) + x;
|
|
5024
5043
|
}
|
|
5025
5044
|
o.MD5 = c._createHelper(u), o.HmacMD5 = c._createHmacHelper(u);
|
|
@@ -5047,23 +5066,23 @@ function Hs() {
|
|
|
5047
5066
|
_doReset: function _doReset() {
|
|
5048
5067
|
this._hash = new a.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
5049
5068
|
},
|
|
5050
|
-
_doProcessBlock: function _doProcessBlock(u,
|
|
5051
|
-
for (var d = this._hash.words, f = d[0], p = d[1], v = d[2], x = d[3],
|
|
5052
|
-
if (h < 16) l[h] = u[
|
|
5069
|
+
_doProcessBlock: function _doProcessBlock(u, m) {
|
|
5070
|
+
for (var d = this._hash.words, f = d[0], p = d[1], v = d[2], x = d[3], _ = d[4], h = 0; h < 80; h++) {
|
|
5071
|
+
if (h < 16) l[h] = u[m + h] | 0;else {
|
|
5053
5072
|
var g = l[h - 3] ^ l[h - 8] ^ l[h - 14] ^ l[h - 16];
|
|
5054
5073
|
l[h] = g << 1 | g >>> 31;
|
|
5055
5074
|
}
|
|
5056
|
-
var C = (f << 5 | f >>> 27) +
|
|
5057
|
-
h < 20 ? C += (p & v | ~p & x) + 1518500249 : h < 40 ? C += (p ^ v ^ x) + 1859775393 : h < 60 ? C += (p & v | p & x | v & x) - 1894007588 : C += (p ^ v ^ x) - 899497514,
|
|
5075
|
+
var C = (f << 5 | f >>> 27) + _ + l[h];
|
|
5076
|
+
h < 20 ? C += (p & v | ~p & x) + 1518500249 : h < 40 ? C += (p ^ v ^ x) + 1859775393 : h < 60 ? C += (p & v | p & x | v & x) - 1894007588 : C += (p ^ v ^ x) - 899497514, _ = x, x = v, v = p << 30 | p >>> 2, p = f, f = C;
|
|
5058
5077
|
}
|
|
5059
|
-
d[0] = d[0] + f | 0, d[1] = d[1] + p | 0, d[2] = d[2] + v | 0, d[3] = d[3] + x | 0, d[4] = d[4] +
|
|
5078
|
+
d[0] = d[0] + f | 0, d[1] = d[1] + p | 0, d[2] = d[2] + v | 0, d[3] = d[3] + x | 0, d[4] = d[4] + _ | 0;
|
|
5060
5079
|
},
|
|
5061
5080
|
_doFinalize: function _doFinalize() {
|
|
5062
5081
|
var u = this._data,
|
|
5063
|
-
|
|
5082
|
+
m = u.words,
|
|
5064
5083
|
d = this._nDataBytes * 8,
|
|
5065
5084
|
f = u.sigBytes * 8;
|
|
5066
|
-
return
|
|
5085
|
+
return m[f >>> 5] |= 128 << 24 - f % 32, m[(f + 64 >>> 9 << 4) + 14] = Math.floor(d / 4294967296), m[(f + 64 >>> 9 << 4) + 15] = d, u.sigBytes = m.length * 4, this._process(), this._hash;
|
|
5067
5086
|
},
|
|
5068
5087
|
clone: function clone() {
|
|
5069
5088
|
var u = i.clone.call(this);
|
|
@@ -5093,38 +5112,38 @@ function ao() {
|
|
|
5093
5112
|
s = [],
|
|
5094
5113
|
u = [];
|
|
5095
5114
|
(function () {
|
|
5096
|
-
function f(
|
|
5097
|
-
for (var h = r.sqrt(
|
|
5115
|
+
function f(_) {
|
|
5116
|
+
for (var h = r.sqrt(_), g = 2; g <= h; g++) if (!(_ % g)) return false;
|
|
5098
5117
|
return true;
|
|
5099
5118
|
}
|
|
5100
|
-
function p(
|
|
5101
|
-
return (
|
|
5119
|
+
function p(_) {
|
|
5120
|
+
return (_ - (_ | 0)) * 4294967296 | 0;
|
|
5102
5121
|
}
|
|
5103
5122
|
for (var v = 2, x = 0; x < 64;) f(v) && (x < 8 && (s[x] = p(r.pow(v, 1 / 2))), u[x] = p(r.pow(v, 1 / 3)), x++), v++;
|
|
5104
5123
|
})();
|
|
5105
|
-
var
|
|
5124
|
+
var m = [],
|
|
5106
5125
|
d = l.SHA256 = c.extend({
|
|
5107
5126
|
_doReset: function _doReset() {
|
|
5108
5127
|
this._hash = new i.init(s.slice(0));
|
|
5109
5128
|
},
|
|
5110
5129
|
_doProcessBlock: function _doProcessBlock(f, p) {
|
|
5111
|
-
for (var v = this._hash.words, x = v[0],
|
|
5112
|
-
if (w < 16)
|
|
5113
|
-
var B =
|
|
5130
|
+
for (var v = this._hash.words, x = v[0], _ = v[1], h = v[2], g = v[3], C = v[4], E = v[5], k = v[6], b = v[7], w = 0; w < 64; w++) {
|
|
5131
|
+
if (w < 16) m[w] = f[p + w] | 0;else {
|
|
5132
|
+
var B = m[w - 15],
|
|
5114
5133
|
y = (B << 25 | B >>> 7) ^ (B << 14 | B >>> 18) ^ B >>> 3,
|
|
5115
|
-
A =
|
|
5134
|
+
A = m[w - 2],
|
|
5116
5135
|
S = (A << 15 | A >>> 17) ^ (A << 13 | A >>> 19) ^ A >>> 10;
|
|
5117
|
-
|
|
5136
|
+
m[w] = y + m[w - 7] + S + m[w - 16];
|
|
5118
5137
|
}
|
|
5119
5138
|
var I = C & E ^ ~C & k,
|
|
5120
|
-
z = x &
|
|
5139
|
+
z = x & _ ^ x & h ^ _ & h,
|
|
5121
5140
|
H = (x << 30 | x >>> 2) ^ (x << 19 | x >>> 13) ^ (x << 10 | x >>> 22),
|
|
5122
5141
|
G = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25),
|
|
5123
|
-
K = b + G + I + u[w] +
|
|
5142
|
+
K = b + G + I + u[w] + m[w],
|
|
5124
5143
|
U = H + z;
|
|
5125
|
-
b = k, k = E, E = C, C = g + K | 0, g = h, h =
|
|
5144
|
+
b = k, k = E, E = C, C = g + K | 0, g = h, h = _, _ = x, x = K + U | 0;
|
|
5126
5145
|
}
|
|
5127
|
-
v[0] = v[0] + x | 0, v[1] = v[1] +
|
|
5146
|
+
v[0] = v[0] + x | 0, v[1] = v[1] + _ | 0, v[2] = v[2] + h | 0, v[3] = v[3] + g | 0, v[4] = v[4] + C | 0, v[5] = v[5] + E | 0, v[6] = v[6] + k | 0, v[7] = v[7] + b | 0;
|
|
5128
5147
|
},
|
|
5129
5148
|
_doFinalize: function _doFinalize() {
|
|
5130
5149
|
var f = this._data,
|
|
@@ -5192,7 +5211,7 @@ function Us() {
|
|
|
5192
5211
|
function u() {
|
|
5193
5212
|
return c.create.apply(c, arguments);
|
|
5194
5213
|
}
|
|
5195
|
-
var
|
|
5214
|
+
var m = [u(1116352408, 3609767458), u(1899447441, 602891725), u(3049323471, 3964484399), u(3921009573, 2173295548), u(961987163, 4081628472), u(1508970993, 3053834265), u(2453635748, 2937671579), u(2870763221, 3664609560), u(3624381080, 2734883394), u(310598401, 1164996542), u(607225278, 1323610764), u(1426881987, 3590304994), u(1925078388, 4068182383), u(2162078206, 991336113), u(2614888103, 633803317), u(3248222580, 3479774868), u(3835390401, 2666613458), u(4022224774, 944711139), u(264347078, 2341262773), u(604807628, 2007800933), u(770255983, 1495990901), u(1249150122, 1856431235), u(1555081692, 3175218132), u(1996064986, 2198950837), u(2554220882, 3999719339), u(2821834349, 766784016), u(2952996808, 2566594879), u(3210313671, 3203337956), u(3336571891, 1034457026), u(3584528711, 2466948901), u(113926993, 3758326383), u(338241895, 168717936), u(666307205, 1188179964), u(773529912, 1546045734), u(1294757372, 1522805485), u(1396182291, 2643833823), u(1695183700, 2343527390), u(1986661051, 1014477480), u(2177026350, 1206759142), u(2456956037, 344077627), u(2730485921, 1290863460), u(2820302411, 3158454273), u(3259730800, 3505952657), u(3345764771, 106217008), u(3516065817, 3606008344), u(3600352804, 1432725776), u(4094571909, 1467031594), u(275423344, 851169720), u(430227734, 3100823752), u(506948616, 1363258195), u(659060556, 3750685593), u(883997877, 3785050280), u(958139571, 3318307427), u(1322822218, 3812723403), u(1537002063, 2003034995), u(1747873779, 3602036899), u(1955562222, 1575990012), u(2024104815, 1125592928), u(2227730452, 2716904306), u(2361852424, 442776044), u(2428436474, 593698344), u(2756734187, 3733110249), u(3204031479, 2999351573), u(3329325298, 3815920427), u(3391569614, 3928383900), u(3515267271, 566280711), u(3940187606, 3454069534), u(4118630271, 4000239992), u(116418474, 1914138554), u(174292421, 2731055270), u(289380356, 3203993006), u(460393269, 320620315), u(685471733, 587496836), u(852142971, 1086792851), u(1017036298, 365543100), u(1126000580, 2618297676), u(1288033470, 3409855158), u(1501505948, 4234509866), u(1607167915, 987167468), u(1816402316, 1246189591)],
|
|
5196
5215
|
d = [];
|
|
5197
5216
|
(function () {
|
|
5198
5217
|
for (var p = 0; p < 80; p++) d[p] = u();
|
|
@@ -5202,7 +5221,7 @@ function Us() {
|
|
|
5202
5221
|
this._hash = new l.init([new c.init(1779033703, 4089235720), new c.init(3144134277, 2227873595), new c.init(1013904242, 4271175723), new c.init(2773480762, 1595750129), new c.init(1359893119, 2917565137), new c.init(2600822924, 725511199), new c.init(528734635, 4215389547), new c.init(1541459225, 327033209)]);
|
|
5203
5222
|
},
|
|
5204
5223
|
_doProcessBlock: function _doProcessBlock(p, v) {
|
|
5205
|
-
for (var x = this._hash.words,
|
|
5224
|
+
for (var x = this._hash.words, _ = x[0], h = x[1], g = x[2], C = x[3], E = x[4], k = x[5], b = x[6], w = x[7], B = _.high, y = _.low, A = h.high, S = h.low, I = g.high, z = g.low, H = C.high, G = C.low, K = E.high, U = E.low, W = k.high, Z = k.low, T = b.high, P = b.low, M = w.high, $ = w.low, ue = B, le = y, De = A, ne = S, xt = I, st = z, vt = H, j = G, R = K, O = U, Te = W, Je = Z, Cn = T, Gt = P, qn = M, Xt = $, Ke = 0; Ke < 80; Ke++) {
|
|
5206
5225
|
var qe,
|
|
5207
5226
|
it,
|
|
5208
5227
|
yn = d[Ke];
|
|
@@ -5233,7 +5252,7 @@ function Us() {
|
|
|
5233
5252
|
So = (le >>> 28 | ue << 4) ^ (le << 30 | ue >>> 2) ^ (le << 25 | ue >>> 7),
|
|
5234
5253
|
Hi = (R >>> 14 | O << 18) ^ (R >>> 18 | O << 14) ^ (R << 23 | O >>> 9),
|
|
5235
5254
|
Ui = (O >>> 14 | R << 18) ^ (O >>> 18 | R << 14) ^ (O << 23 | R >>> 9),
|
|
5236
|
-
Io =
|
|
5255
|
+
Io = m[Ke],
|
|
5237
5256
|
qi = Io.high,
|
|
5238
5257
|
Fo = Io.low,
|
|
5239
5258
|
ze = Xt + Ui,
|
|
@@ -5248,14 +5267,14 @@ function Us() {
|
|
|
5248
5267
|
Wi = ji + Ni + (To >>> 0 < So >>> 0 ? 1 : 0);
|
|
5249
5268
|
qn = Cn, Xt = Gt, Cn = Te, Gt = Je, Te = R, Je = O, O = j + ze | 0, R = vt + ct + (O >>> 0 < j >>> 0 ? 1 : 0) | 0, vt = xt, j = st, xt = De, st = ne, De = ue, ne = le, le = ze + To | 0, ue = ct + Wi + (le >>> 0 < ze >>> 0 ? 1 : 0) | 0;
|
|
5250
5269
|
}
|
|
5251
|
-
y =
|
|
5270
|
+
y = _.low = y + le, _.high = B + ue + (y >>> 0 < le >>> 0 ? 1 : 0), S = h.low = S + ne, h.high = A + De + (S >>> 0 < ne >>> 0 ? 1 : 0), z = g.low = z + st, g.high = I + xt + (z >>> 0 < st >>> 0 ? 1 : 0), G = C.low = G + j, C.high = H + vt + (G >>> 0 < j >>> 0 ? 1 : 0), U = E.low = U + O, E.high = K + R + (U >>> 0 < O >>> 0 ? 1 : 0), Z = k.low = Z + Je, k.high = W + Te + (Z >>> 0 < Je >>> 0 ? 1 : 0), P = b.low = P + Gt, b.high = T + Cn + (P >>> 0 < Gt >>> 0 ? 1 : 0), $ = w.low = $ + Xt, w.high = M + qn + ($ >>> 0 < Xt >>> 0 ? 1 : 0);
|
|
5252
5271
|
},
|
|
5253
5272
|
_doFinalize: function _doFinalize() {
|
|
5254
5273
|
var p = this._data,
|
|
5255
5274
|
v = p.words,
|
|
5256
5275
|
x = this._nDataBytes * 8,
|
|
5257
|
-
|
|
5258
|
-
v[
|
|
5276
|
+
_ = p.sigBytes * 8;
|
|
5277
|
+
v[_ >>> 5] |= 128 << 24 - _ % 32, v[(_ + 128 >>> 10 << 5) + 30] = Math.floor(x / 4294967296), v[(_ + 128 >>> 10 << 5) + 31] = x, p.sigBytes = v.length * 4, this._process();
|
|
5259
5278
|
var h = this._hash.toX32();
|
|
5260
5279
|
return h;
|
|
5261
5280
|
},
|
|
@@ -5317,17 +5336,17 @@ function Ul() {
|
|
|
5317
5336
|
l = o.x64,
|
|
5318
5337
|
s = l.Word,
|
|
5319
5338
|
u = o.algo,
|
|
5320
|
-
|
|
5339
|
+
m = [],
|
|
5321
5340
|
d = [],
|
|
5322
5341
|
f = [];
|
|
5323
5342
|
(function () {
|
|
5324
|
-
for (var x = 1,
|
|
5325
|
-
|
|
5326
|
-
var g =
|
|
5327
|
-
C = (2 * x + 3 *
|
|
5328
|
-
x = g,
|
|
5343
|
+
for (var x = 1, _ = 0, h = 0; h < 24; h++) {
|
|
5344
|
+
m[x + 5 * _] = (h + 1) * (h + 2) / 2 % 64;
|
|
5345
|
+
var g = _ % 5,
|
|
5346
|
+
C = (2 * x + 3 * _) % 5;
|
|
5347
|
+
x = g, _ = C;
|
|
5329
5348
|
}
|
|
5330
|
-
for (var x = 0; x < 5; x++) for (var
|
|
5349
|
+
for (var x = 0; x < 5; x++) for (var _ = 0; _ < 5; _++) d[x + 5 * _] = _ + (2 * x + 3 * _) % 5 * 5;
|
|
5331
5350
|
for (var E = 1, k = 0; k < 24; k++) {
|
|
5332
5351
|
for (var b = 0, w = 0, B = 0; B < 7; B++) {
|
|
5333
5352
|
if (E & 1) {
|
|
@@ -5356,13 +5375,13 @@ function Ul() {
|
|
|
5356
5375
|
outputLength: 512
|
|
5357
5376
|
}),
|
|
5358
5377
|
_doReset: function _doReset() {
|
|
5359
|
-
for (var x = this._state = [],
|
|
5378
|
+
for (var x = this._state = [], _ = 0; _ < 25; _++) x[_] = new s.init();
|
|
5360
5379
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
|
5361
5380
|
},
|
|
5362
|
-
_doProcessBlock: function _doProcessBlock(x,
|
|
5381
|
+
_doProcessBlock: function _doProcessBlock(x, _) {
|
|
5363
5382
|
for (var h = this._state, g = this.blockSize / 2, C = 0; C < g; C++) {
|
|
5364
|
-
var E = x[
|
|
5365
|
-
k = x[
|
|
5383
|
+
var E = x[_ + 2 * C],
|
|
5384
|
+
k = x[_ + 2 * C + 1];
|
|
5366
5385
|
E = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
|
5367
5386
|
var b = h[C];
|
|
5368
5387
|
b.high ^= k, b.low ^= E;
|
|
@@ -5386,7 +5405,7 @@ function Ul() {
|
|
|
5386
5405
|
b = h[U],
|
|
5387
5406
|
W = b.high,
|
|
5388
5407
|
Z = b.low,
|
|
5389
|
-
T =
|
|
5408
|
+
T = m[U];
|
|
5390
5409
|
T < 32 ? (y = W << T | Z >>> 32 - T, A = Z << T | W >>> 32 - T) : (y = Z << T - 32 | W >>> 64 - T, A = W << T - 32 | Z >>> 64 - T);
|
|
5391
5410
|
var P = p[d[U]];
|
|
5392
5411
|
P.high = y, P.low = A;
|
|
@@ -5409,11 +5428,11 @@ function Ul() {
|
|
|
5409
5428
|
},
|
|
5410
5429
|
_doFinalize: function _doFinalize() {
|
|
5411
5430
|
var x = this._data,
|
|
5412
|
-
|
|
5431
|
+
_ = x.words;
|
|
5413
5432
|
this._nDataBytes * 8;
|
|
5414
5433
|
var h = x.sigBytes * 8,
|
|
5415
5434
|
g = this.blockSize * 32;
|
|
5416
|
-
|
|
5435
|
+
_[h >>> 5] |= 1 << 24 - h % 32, _[(r.ceil((h + 1) / g) * g >>> 5) - 1] |= 128, x.sigBytes = _.length * 4, this._process();
|
|
5417
5436
|
for (var C = this._state, E = this.cfg.outputLength / 8, k = E / 8, b = [], w = 0; w < k; w++) {
|
|
5418
5437
|
var B = C[w],
|
|
5419
5438
|
y = B.high,
|
|
@@ -5423,7 +5442,7 @@ function Ul() {
|
|
|
5423
5442
|
return new i.init(b, E);
|
|
5424
5443
|
},
|
|
5425
5444
|
clone: function clone() {
|
|
5426
|
-
for (var x = c.clone.call(this),
|
|
5445
|
+
for (var x = c.clone.call(this), _ = x._state = this._state.slice(0), h = 0; h < 25; h++) _[h] = _[h].clone();
|
|
5427
5446
|
return x;
|
|
5428
5447
|
}
|
|
5429
5448
|
});
|
|
@@ -5459,7 +5478,7 @@ function ql() {
|
|
|
5459
5478
|
l = o.algo,
|
|
5460
5479
|
s = i.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]),
|
|
5461
5480
|
u = i.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]),
|
|
5462
|
-
|
|
5481
|
+
m = i.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]),
|
|
5463
5482
|
d = i.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]),
|
|
5464
5483
|
f = i.create([0, 1518500249, 1859775393, 2400959708, 2840853838]),
|
|
5465
5484
|
p = i.create([1352829926, 1548603684, 1836072691, 2053994217, 0]),
|
|
@@ -5478,7 +5497,7 @@ function ql() {
|
|
|
5478
5497
|
I = p.words,
|
|
5479
5498
|
z = s.words,
|
|
5480
5499
|
H = u.words,
|
|
5481
|
-
G =
|
|
5500
|
+
G = m.words,
|
|
5482
5501
|
K = d.words,
|
|
5483
5502
|
U,
|
|
5484
5503
|
W,
|
|
@@ -5491,7 +5510,7 @@ function ql() {
|
|
|
5491
5510
|
le,
|
|
5492
5511
|
De;
|
|
5493
5512
|
M = U = A[0], $ = W = A[1], ue = Z = A[2], le = T = A[3], De = P = A[4];
|
|
5494
|
-
for (var ne, w = 0; w < 80; w += 1) ne = U + k[b + z[w]] | 0, w < 16 ? ne += x(W, Z, T) + S[0] : w < 32 ? ne +=
|
|
5513
|
+
for (var ne, w = 0; w < 80; w += 1) ne = U + k[b + z[w]] | 0, w < 16 ? ne += x(W, Z, T) + S[0] : w < 32 ? ne += _(W, Z, T) + S[1] : w < 48 ? ne += h(W, Z, T) + S[2] : w < 64 ? ne += g(W, Z, T) + S[3] : ne += C(W, Z, T) + S[4], ne = ne | 0, ne = E(ne, G[w]), ne = ne + P | 0, U = P, P = T, T = E(Z, 10), Z = W, W = ne, ne = M + k[b + H[w]] | 0, w < 16 ? ne += C($, ue, le) + I[0] : w < 32 ? ne += g($, ue, le) + I[1] : w < 48 ? ne += h($, ue, le) + I[2] : w < 64 ? ne += _($, ue, le) + I[3] : ne += x($, ue, le) + I[4], ne = ne | 0, ne = E(ne, K[w]), ne = ne + De | 0, M = De, De = le, le = E(ue, 10), ue = $, $ = ne;
|
|
5495
5514
|
ne = A[1] + Z + le | 0, A[1] = A[2] + T + De | 0, A[2] = A[3] + P + M | 0, A[3] = A[4] + U + $ | 0, A[4] = A[0] + W + ue | 0, A[0] = ne;
|
|
5496
5515
|
},
|
|
5497
5516
|
_doFinalize: function _doFinalize() {
|
|
@@ -5514,7 +5533,7 @@ function ql() {
|
|
|
5514
5533
|
function x(k, b, w) {
|
|
5515
5534
|
return k ^ b ^ w;
|
|
5516
5535
|
}
|
|
5517
|
-
function
|
|
5536
|
+
function _(k, b, w) {
|
|
5518
5537
|
return k & b | ~k & w;
|
|
5519
5538
|
}
|
|
5520
5539
|
function h(k, b, w) {
|
|
@@ -5563,10 +5582,10 @@ function so() {
|
|
|
5563
5582
|
*/
|
|
5564
5583
|
init: function init(s, u) {
|
|
5565
5584
|
s = this._hasher = new s.init(), typeof u == "string" && (u = c.parse(u));
|
|
5566
|
-
var
|
|
5567
|
-
d =
|
|
5585
|
+
var m = s.blockSize,
|
|
5586
|
+
d = m * 4;
|
|
5568
5587
|
u.sigBytes > d && (u = s.finalize(u)), u.clamp();
|
|
5569
|
-
for (var f = this._oKey = u.clone(), p = this._iKey = u.clone(), v = f.words, x = p.words,
|
|
5588
|
+
for (var f = this._oKey = u.clone(), p = this._iKey = u.clone(), v = f.words, x = p.words, _ = 0; _ < m; _++) v[_] ^= 1549556828, x[_] ^= 909522486;
|
|
5570
5589
|
f.sigBytes = p.sigBytes = d, this.reset();
|
|
5571
5590
|
},
|
|
5572
5591
|
/**
|
|
@@ -5611,9 +5630,9 @@ function so() {
|
|
|
5611
5630
|
*/
|
|
5612
5631
|
finalize: function finalize(s) {
|
|
5613
5632
|
var u = this._hasher,
|
|
5614
|
-
|
|
5633
|
+
m = u.finalize(s);
|
|
5615
5634
|
u.reset();
|
|
5616
|
-
var d = u.finalize(this._oKey.clone().concat(
|
|
5635
|
+
var d = u.finalize(this._oKey.clone().concat(m));
|
|
5617
5636
|
return d;
|
|
5618
5637
|
}
|
|
5619
5638
|
});
|
|
@@ -5662,8 +5681,8 @@ function Wl() {
|
|
|
5662
5681
|
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
|
|
5663
5682
|
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
|
|
5664
5683
|
*/
|
|
5665
|
-
init: function init(
|
|
5666
|
-
this.cfg = this.cfg.extend(
|
|
5684
|
+
init: function init(m) {
|
|
5685
|
+
this.cfg = this.cfg.extend(m);
|
|
5667
5686
|
},
|
|
5668
5687
|
/**
|
|
5669
5688
|
* Computes the Password-Based Key Derivation Function 2.
|
|
@@ -5677,8 +5696,8 @@ function Wl() {
|
|
|
5677
5696
|
*
|
|
5678
5697
|
* var key = kdf.compute(password, salt);
|
|
5679
5698
|
*/
|
|
5680
|
-
compute: function compute(
|
|
5681
|
-
for (var f = this.cfg, p = s.create(f.hasher,
|
|
5699
|
+
compute: function compute(m, d) {
|
|
5700
|
+
for (var f = this.cfg, p = s.create(f.hasher, m), v = i.create(), x = i.create([1]), _ = v.words, h = x.words, g = f.keySize, C = f.iterations; _.length < g;) {
|
|
5682
5701
|
var E = p.update(d).finalize(x);
|
|
5683
5702
|
p.reset();
|
|
5684
5703
|
for (var k = E.words, b = k.length, w = E, B = 1; B < C; B++) {
|
|
@@ -5690,8 +5709,8 @@ function Wl() {
|
|
|
5690
5709
|
return v.sigBytes = g * 4, v;
|
|
5691
5710
|
}
|
|
5692
5711
|
});
|
|
5693
|
-
r.PBKDF2 = function (
|
|
5694
|
-
return u.create(f).compute(
|
|
5712
|
+
r.PBKDF2 = function (m, d, f) {
|
|
5713
|
+
return u.create(f).compute(m, d);
|
|
5695
5714
|
};
|
|
5696
5715
|
}(), n.PBKDF2;
|
|
5697
5716
|
});
|
|
@@ -5752,17 +5771,17 @@ function ht() {
|
|
|
5752
5771
|
*
|
|
5753
5772
|
* var key = kdf.compute(password, salt);
|
|
5754
5773
|
*/
|
|
5755
|
-
compute: function compute(u,
|
|
5756
|
-
for (var d, f = this.cfg, p = f.hasher.create(), v = i.create(), x = v.words,
|
|
5757
|
-
d && p.update(d), d = p.update(u).finalize(
|
|
5774
|
+
compute: function compute(u, m) {
|
|
5775
|
+
for (var d, f = this.cfg, p = f.hasher.create(), v = i.create(), x = v.words, _ = f.keySize, h = f.iterations; x.length < _;) {
|
|
5776
|
+
d && p.update(d), d = p.update(u).finalize(m), p.reset();
|
|
5758
5777
|
for (var g = 1; g < h; g++) d = p.finalize(d), p.reset();
|
|
5759
5778
|
v.concat(d);
|
|
5760
5779
|
}
|
|
5761
|
-
return v.sigBytes =
|
|
5780
|
+
return v.sigBytes = _ * 4, v;
|
|
5762
5781
|
}
|
|
5763
5782
|
});
|
|
5764
|
-
r.EvpKDF = function (u,
|
|
5765
|
-
return s.create(d).compute(u,
|
|
5783
|
+
r.EvpKDF = function (u, m, d) {
|
|
5784
|
+
return s.create(d).compute(u, m);
|
|
5766
5785
|
};
|
|
5767
5786
|
}(), n.EvpKDF;
|
|
5768
5787
|
});
|
|
@@ -5786,8 +5805,8 @@ function Ee() {
|
|
|
5786
5805
|
s = o.enc;
|
|
5787
5806
|
s.Utf8;
|
|
5788
5807
|
var u = s.Base64,
|
|
5789
|
-
|
|
5790
|
-
d =
|
|
5808
|
+
m = o.algo,
|
|
5809
|
+
d = m.EvpKDF,
|
|
5791
5810
|
f = a.Cipher = l.extend({
|
|
5792
5811
|
/**
|
|
5793
5812
|
* Configuration options.
|
|
@@ -6017,8 +6036,8 @@ function Ee() {
|
|
|
6017
6036
|
}
|
|
6018
6037
|
return y;
|
|
6019
6038
|
}(),
|
|
6020
|
-
|
|
6021
|
-
h =
|
|
6039
|
+
_ = o.pad = {},
|
|
6040
|
+
h = _.Pkcs7 = {
|
|
6022
6041
|
/**
|
|
6023
6042
|
* Pads data using the algorithm defined in PKCS #5/7.
|
|
6024
6043
|
*
|
|
@@ -6376,7 +6395,7 @@ function Vl() {
|
|
|
6376
6395
|
var s,
|
|
6377
6396
|
u = this._iv;
|
|
6378
6397
|
u ? (s = u.slice(0), this._iv = undefined) : s = this._prevBlock, l.encryptBlock(s, 0);
|
|
6379
|
-
for (var
|
|
6398
|
+
for (var m = 0; m < c; m++) a[i + m] ^= s[m];
|
|
6380
6399
|
}
|
|
6381
6400
|
return r;
|
|
6382
6401
|
}(), n.mode.CFB;
|
|
@@ -6401,9 +6420,9 @@ function Kl() {
|
|
|
6401
6420
|
s = this._iv,
|
|
6402
6421
|
u = this._counter;
|
|
6403
6422
|
s && (u = this._counter = s.slice(0), this._iv = undefined);
|
|
6404
|
-
var
|
|
6405
|
-
c.encryptBlock(
|
|
6406
|
-
for (var d = 0; d < l; d++) a[i + d] ^=
|
|
6423
|
+
var m = u.slice(0);
|
|
6424
|
+
c.encryptBlock(m, 0), u[l - 1] = u[l - 1] + 1 | 0;
|
|
6425
|
+
for (var d = 0; d < l; d++) a[i + d] ^= m[d];
|
|
6407
6426
|
}
|
|
6408
6427
|
});
|
|
6409
6428
|
return r.Decryptor = o, r;
|
|
@@ -6443,9 +6462,9 @@ function Gl() {
|
|
|
6443
6462
|
processBlock: function processBlock(c, l) {
|
|
6444
6463
|
var s = this._cipher,
|
|
6445
6464
|
u = s.blockSize,
|
|
6446
|
-
|
|
6465
|
+
m = this._iv,
|
|
6447
6466
|
d = this._counter;
|
|
6448
|
-
|
|
6467
|
+
m && (d = this._counter = m.slice(0), this._iv = undefined), a(d);
|
|
6449
6468
|
var f = d.slice(0);
|
|
6450
6469
|
s.encryptBlock(f, 0);
|
|
6451
6470
|
for (var p = 0; p < u; p++) c[l + p] ^= f[p];
|
|
@@ -6474,7 +6493,7 @@ function Xl() {
|
|
|
6474
6493
|
s = this._iv,
|
|
6475
6494
|
u = this._keystream;
|
|
6476
6495
|
s && (u = this._keystream = s.slice(0), this._iv = undefined), c.encryptBlock(u, 0);
|
|
6477
|
-
for (var
|
|
6496
|
+
for (var m = 0; m < l; m++) a[i + m] ^= u[m];
|
|
6478
6497
|
}
|
|
6479
6498
|
});
|
|
6480
6499
|
return r.Decryptor = o, r;
|
|
@@ -6661,9 +6680,9 @@ function nu() {
|
|
|
6661
6680
|
* var cipherParams = CryptoJS.format.Hex.parse(hexString);
|
|
6662
6681
|
*/
|
|
6663
6682
|
parse: function parse(u) {
|
|
6664
|
-
var
|
|
6683
|
+
var m = l.parse(u);
|
|
6665
6684
|
return i.create({
|
|
6666
|
-
ciphertext:
|
|
6685
|
+
ciphertext: m
|
|
6667
6686
|
});
|
|
6668
6687
|
}
|
|
6669
6688
|
};
|
|
@@ -6689,7 +6708,7 @@ function ru() {
|
|
|
6689
6708
|
l = [],
|
|
6690
6709
|
s = [],
|
|
6691
6710
|
u = [],
|
|
6692
|
-
|
|
6711
|
+
m = [],
|
|
6693
6712
|
d = [],
|
|
6694
6713
|
f = [],
|
|
6695
6714
|
p = [],
|
|
@@ -6704,17 +6723,17 @@ function ru() {
|
|
|
6704
6723
|
B = g[w],
|
|
6705
6724
|
y = g[B],
|
|
6706
6725
|
A = g[b] * 257 ^ b * 16843008;
|
|
6707
|
-
s[E] = A << 24 | A >>> 8, u[E] = A << 16 | A >>> 16,
|
|
6726
|
+
s[E] = A << 24 | A >>> 8, u[E] = A << 16 | A >>> 16, m[E] = A << 8 | A >>> 24, d[E] = A;
|
|
6708
6727
|
var A = y * 16843009 ^ B * 65537 ^ w * 257 ^ E * 16843008;
|
|
6709
6728
|
f[b] = A << 24 | A >>> 8, p[b] = A << 16 | A >>> 16, v[b] = A << 8 | A >>> 24, x[b] = A, E ? (E = w ^ g[g[g[y ^ w]]], k ^= g[g[k]]) : E = k = 1;
|
|
6710
6729
|
}
|
|
6711
6730
|
})();
|
|
6712
|
-
var
|
|
6731
|
+
var _ = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
|
|
6713
6732
|
h = i.AES = a.extend({
|
|
6714
6733
|
_doReset: function _doReset() {
|
|
6715
6734
|
var g;
|
|
6716
6735
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
6717
|
-
for (var C = this._keyPriorReset = this._key, E = C.words, k = C.sigBytes / 4, b = this._nRounds = k + 6, w = (b + 1) * 4, B = this._keySchedule = [], y = 0; y < w; y++) y < k ? B[y] = E[y] : (g = B[y - 1], y % k ? k > 6 && y % k == 4 && (g = c[g >>> 24] << 24 | c[g >>> 16 & 255] << 16 | c[g >>> 8 & 255] << 8 | c[g & 255]) : (g = g << 8 | g >>> 24, g = c[g >>> 24] << 24 | c[g >>> 16 & 255] << 16 | c[g >>> 8 & 255] << 8 | c[g & 255], g ^=
|
|
6736
|
+
for (var C = this._keyPriorReset = this._key, E = C.words, k = C.sigBytes / 4, b = this._nRounds = k + 6, w = (b + 1) * 4, B = this._keySchedule = [], y = 0; y < w; y++) y < k ? B[y] = E[y] : (g = B[y - 1], y % k ? k > 6 && y % k == 4 && (g = c[g >>> 24] << 24 | c[g >>> 16 & 255] << 16 | c[g >>> 8 & 255] << 8 | c[g & 255]) : (g = g << 8 | g >>> 24, g = c[g >>> 24] << 24 | c[g >>> 16 & 255] << 16 | c[g >>> 8 & 255] << 8 | c[g & 255], g ^= _[y / k | 0] << 24), B[y] = B[y - k] ^ g);
|
|
6718
6737
|
for (var A = this._invKeySchedule = [], S = 0; S < w; S++) {
|
|
6719
6738
|
var y = w - S;
|
|
6720
6739
|
if (S % 4) var g = B[y];else var g = B[y - 4];
|
|
@@ -6723,7 +6742,7 @@ function ru() {
|
|
|
6723
6742
|
}
|
|
6724
6743
|
},
|
|
6725
6744
|
encryptBlock: function encryptBlock(g, C) {
|
|
6726
|
-
this._doCryptBlock(g, C, this._keySchedule, s, u,
|
|
6745
|
+
this._doCryptBlock(g, C, this._keySchedule, s, u, m, d, c);
|
|
6727
6746
|
},
|
|
6728
6747
|
decryptBlock: function decryptBlock(g, C) {
|
|
6729
6748
|
var E = g[C + 1];
|
|
@@ -6770,7 +6789,7 @@ function ou() {
|
|
|
6770
6789
|
l = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4],
|
|
6771
6790
|
s = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32],
|
|
6772
6791
|
u = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28],
|
|
6773
|
-
|
|
6792
|
+
m = [{
|
|
6774
6793
|
0: 8421888,
|
|
6775
6794
|
268435456: 32768,
|
|
6776
6795
|
536870912: 8421378,
|
|
@@ -7294,7 +7313,7 @@ function ou() {
|
|
|
7294
7313
|
d = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679],
|
|
7295
7314
|
f = c.DES = i.extend({
|
|
7296
7315
|
_doReset: function _doReset() {
|
|
7297
|
-
for (var
|
|
7316
|
+
for (var _ = this._key, h = _.words, g = [], C = 0; C < 56; C++) {
|
|
7298
7317
|
var E = l[C] - 1;
|
|
7299
7318
|
g[C] = h[E >>> 5] >>> 31 - E % 32 & 1;
|
|
7300
7319
|
}
|
|
@@ -7306,49 +7325,49 @@ function ou() {
|
|
|
7306
7325
|
}
|
|
7307
7326
|
for (var y = this._invSubKeys = [], C = 0; C < 16; C++) y[C] = k[15 - C];
|
|
7308
7327
|
},
|
|
7309
|
-
encryptBlock: function encryptBlock(
|
|
7310
|
-
this._doCryptBlock(
|
|
7328
|
+
encryptBlock: function encryptBlock(_, h) {
|
|
7329
|
+
this._doCryptBlock(_, h, this._subKeys);
|
|
7311
7330
|
},
|
|
7312
|
-
decryptBlock: function decryptBlock(
|
|
7313
|
-
this._doCryptBlock(
|
|
7331
|
+
decryptBlock: function decryptBlock(_, h) {
|
|
7332
|
+
this._doCryptBlock(_, h, this._invSubKeys);
|
|
7314
7333
|
},
|
|
7315
|
-
_doCryptBlock: function _doCryptBlock(
|
|
7316
|
-
this._lBlock =
|
|
7334
|
+
_doCryptBlock: function _doCryptBlock(_, h, g) {
|
|
7335
|
+
this._lBlock = _[h], this._rBlock = _[h + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), v.call(this, 2, 858993459), v.call(this, 8, 16711935), p.call(this, 1, 1431655765);
|
|
7317
7336
|
for (var C = 0; C < 16; C++) {
|
|
7318
|
-
for (var E = g[C], k = this._lBlock, b = this._rBlock, w = 0, B = 0; B < 8; B++) w |=
|
|
7337
|
+
for (var E = g[C], k = this._lBlock, b = this._rBlock, w = 0, B = 0; B < 8; B++) w |= m[B][((b ^ E[B]) & d[B]) >>> 0];
|
|
7319
7338
|
this._lBlock = b, this._rBlock = k ^ w;
|
|
7320
7339
|
}
|
|
7321
7340
|
var y = this._lBlock;
|
|
7322
|
-
this._lBlock = this._rBlock, this._rBlock = y, p.call(this, 1, 1431655765), v.call(this, 8, 16711935), v.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135),
|
|
7341
|
+
this._lBlock = this._rBlock, this._rBlock = y, p.call(this, 1, 1431655765), v.call(this, 8, 16711935), v.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), _[h] = this._lBlock, _[h + 1] = this._rBlock;
|
|
7323
7342
|
},
|
|
7324
7343
|
keySize: 64 / 32,
|
|
7325
7344
|
ivSize: 64 / 32,
|
|
7326
7345
|
blockSize: 64 / 32
|
|
7327
7346
|
});
|
|
7328
|
-
function p(
|
|
7329
|
-
var g = (this._lBlock >>>
|
|
7330
|
-
this._rBlock ^= g, this._lBlock ^= g <<
|
|
7347
|
+
function p(_, h) {
|
|
7348
|
+
var g = (this._lBlock >>> _ ^ this._rBlock) & h;
|
|
7349
|
+
this._rBlock ^= g, this._lBlock ^= g << _;
|
|
7331
7350
|
}
|
|
7332
|
-
function v(
|
|
7333
|
-
var g = (this._rBlock >>>
|
|
7334
|
-
this._lBlock ^= g, this._rBlock ^= g <<
|
|
7351
|
+
function v(_, h) {
|
|
7352
|
+
var g = (this._rBlock >>> _ ^ this._lBlock) & h;
|
|
7353
|
+
this._lBlock ^= g, this._rBlock ^= g << _;
|
|
7335
7354
|
}
|
|
7336
7355
|
r.DES = i._createHelper(f);
|
|
7337
7356
|
var x = c.TripleDES = i.extend({
|
|
7338
7357
|
_doReset: function _doReset() {
|
|
7339
|
-
var
|
|
7340
|
-
h =
|
|
7358
|
+
var _ = this._key,
|
|
7359
|
+
h = _.words;
|
|
7341
7360
|
if (h.length !== 2 && h.length !== 4 && h.length < 6) throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
7342
7361
|
var g = h.slice(0, 2),
|
|
7343
7362
|
C = h.length < 4 ? h.slice(0, 2) : h.slice(2, 4),
|
|
7344
7363
|
E = h.length < 6 ? h.slice(0, 2) : h.slice(4, 6);
|
|
7345
7364
|
this._des1 = f.createEncryptor(a.create(g)), this._des2 = f.createEncryptor(a.create(C)), this._des3 = f.createEncryptor(a.create(E));
|
|
7346
7365
|
},
|
|
7347
|
-
encryptBlock: function encryptBlock(
|
|
7348
|
-
this._des1.encryptBlock(
|
|
7366
|
+
encryptBlock: function encryptBlock(_, h) {
|
|
7367
|
+
this._des1.encryptBlock(_, h), this._des2.decryptBlock(_, h), this._des3.encryptBlock(_, h);
|
|
7349
7368
|
},
|
|
7350
|
-
decryptBlock: function decryptBlock(
|
|
7351
|
-
this._des3.decryptBlock(
|
|
7369
|
+
decryptBlock: function decryptBlock(_, h) {
|
|
7370
|
+
this._des3.decryptBlock(_, h), this._des2.encryptBlock(_, h), this._des1.decryptBlock(_, h);
|
|
7352
7371
|
},
|
|
7353
7372
|
keySize: 192 / 32,
|
|
7354
7373
|
ivSize: 64 / 32,
|
|
@@ -7375,29 +7394,29 @@ function au() {
|
|
|
7375
7394
|
i = r.algo,
|
|
7376
7395
|
c = i.RC4 = a.extend({
|
|
7377
7396
|
_doReset: function _doReset() {
|
|
7378
|
-
for (var u = this._key,
|
|
7397
|
+
for (var u = this._key, m = u.words, d = u.sigBytes, f = this._S = [], p = 0; p < 256; p++) f[p] = p;
|
|
7379
7398
|
for (var p = 0, v = 0; p < 256; p++) {
|
|
7380
7399
|
var x = p % d,
|
|
7381
|
-
|
|
7382
|
-
v = (v + f[p] +
|
|
7400
|
+
_ = m[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
7401
|
+
v = (v + f[p] + _) % 256;
|
|
7383
7402
|
var h = f[p];
|
|
7384
7403
|
f[p] = f[v], f[v] = h;
|
|
7385
7404
|
}
|
|
7386
7405
|
this._i = this._j = 0;
|
|
7387
7406
|
},
|
|
7388
|
-
_doProcessBlock: function _doProcessBlock(u,
|
|
7389
|
-
u[
|
|
7407
|
+
_doProcessBlock: function _doProcessBlock(u, m) {
|
|
7408
|
+
u[m] ^= l.call(this);
|
|
7390
7409
|
},
|
|
7391
7410
|
keySize: 256 / 32,
|
|
7392
7411
|
ivSize: 0
|
|
7393
7412
|
});
|
|
7394
7413
|
function l() {
|
|
7395
|
-
for (var u = this._S,
|
|
7396
|
-
|
|
7397
|
-
var v = u[
|
|
7398
|
-
u[
|
|
7414
|
+
for (var u = this._S, m = this._i, d = this._j, f = 0, p = 0; p < 4; p++) {
|
|
7415
|
+
m = (m + 1) % 256, d = (d + u[m]) % 256;
|
|
7416
|
+
var v = u[m];
|
|
7417
|
+
u[m] = u[d], u[d] = v, f |= u[(u[m] + u[d]) % 256] << 24 - p * 8;
|
|
7399
7418
|
}
|
|
7400
|
-
return this._i =
|
|
7419
|
+
return this._i = m, this._j = d, f;
|
|
7401
7420
|
}
|
|
7402
7421
|
r.RC4 = a._createHelper(c);
|
|
7403
7422
|
var s = i.RC4Drop = c.extend({
|
|
@@ -7442,36 +7461,36 @@ function su() {
|
|
|
7442
7461
|
var v = this._X = [d[0], d[3] << 16 | d[2] >>> 16, d[1], d[0] << 16 | d[3] >>> 16, d[2], d[1] << 16 | d[0] >>> 16, d[3], d[2] << 16 | d[1] >>> 16],
|
|
7443
7462
|
x = this._C = [d[2] << 16 | d[2] >>> 16, d[0] & 4294901760 | d[1] & 65535, d[3] << 16 | d[3] >>> 16, d[1] & 4294901760 | d[2] & 65535, d[0] << 16 | d[0] >>> 16, d[2] & 4294901760 | d[3] & 65535, d[1] << 16 | d[1] >>> 16, d[3] & 4294901760 | d[0] & 65535];
|
|
7444
7463
|
this._b = 0;
|
|
7445
|
-
for (var p = 0; p < 4; p++)
|
|
7464
|
+
for (var p = 0; p < 4; p++) m.call(this);
|
|
7446
7465
|
for (var p = 0; p < 8; p++) x[p] ^= v[p + 4 & 7];
|
|
7447
7466
|
if (f) {
|
|
7448
|
-
var
|
|
7449
|
-
h =
|
|
7450
|
-
g =
|
|
7467
|
+
var _ = f.words,
|
|
7468
|
+
h = _[0],
|
|
7469
|
+
g = _[1],
|
|
7451
7470
|
C = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360,
|
|
7452
7471
|
E = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360,
|
|
7453
7472
|
k = C >>> 16 | E & 4294901760,
|
|
7454
7473
|
b = E << 16 | C & 65535;
|
|
7455
7474
|
x[0] ^= C, x[1] ^= k, x[2] ^= E, x[3] ^= b, x[4] ^= C, x[5] ^= k, x[6] ^= E, x[7] ^= b;
|
|
7456
|
-
for (var p = 0; p < 4; p++)
|
|
7475
|
+
for (var p = 0; p < 4; p++) m.call(this);
|
|
7457
7476
|
}
|
|
7458
7477
|
},
|
|
7459
7478
|
_doProcessBlock: function _doProcessBlock(d, f) {
|
|
7460
7479
|
var p = this._X;
|
|
7461
|
-
|
|
7480
|
+
m.call(this), c[0] = p[0] ^ p[5] >>> 16 ^ p[3] << 16, c[1] = p[2] ^ p[7] >>> 16 ^ p[5] << 16, c[2] = p[4] ^ p[1] >>> 16 ^ p[7] << 16, c[3] = p[6] ^ p[3] >>> 16 ^ p[1] << 16;
|
|
7462
7481
|
for (var v = 0; v < 4; v++) c[v] = (c[v] << 8 | c[v] >>> 24) & 16711935 | (c[v] << 24 | c[v] >>> 8) & 4278255360, d[f + v] ^= c[v];
|
|
7463
7482
|
},
|
|
7464
7483
|
blockSize: 128 / 32,
|
|
7465
7484
|
ivSize: 64 / 32
|
|
7466
7485
|
});
|
|
7467
|
-
function
|
|
7486
|
+
function m() {
|
|
7468
7487
|
for (var d = this._X, f = this._C, p = 0; p < 8; p++) l[p] = f[p];
|
|
7469
7488
|
f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
|
|
7470
7489
|
for (var p = 0; p < 8; p++) {
|
|
7471
7490
|
var v = d[p] + f[p],
|
|
7472
7491
|
x = v & 65535,
|
|
7473
|
-
|
|
7474
|
-
h = ((x * x >>> 17) + x *
|
|
7492
|
+
_ = v >>> 16,
|
|
7493
|
+
h = ((x * x >>> 17) + x * _ >>> 15) + _ * _,
|
|
7475
7494
|
g = ((v & 4294901760) * v | 0) + ((v & 65535) * v | 0);
|
|
7476
7495
|
s[p] = h ^ g;
|
|
7477
7496
|
}
|
|
@@ -7506,36 +7525,36 @@ function iu() {
|
|
|
7506
7525
|
p = this._X = [d[0], d[3] << 16 | d[2] >>> 16, d[1], d[0] << 16 | d[3] >>> 16, d[2], d[1] << 16 | d[0] >>> 16, d[3], d[2] << 16 | d[1] >>> 16],
|
|
7507
7526
|
v = this._C = [d[2] << 16 | d[2] >>> 16, d[0] & 4294901760 | d[1] & 65535, d[3] << 16 | d[3] >>> 16, d[1] & 4294901760 | d[2] & 65535, d[0] << 16 | d[0] >>> 16, d[2] & 4294901760 | d[3] & 65535, d[1] << 16 | d[1] >>> 16, d[3] & 4294901760 | d[0] & 65535];
|
|
7508
7527
|
this._b = 0;
|
|
7509
|
-
for (var x = 0; x < 4; x++)
|
|
7528
|
+
for (var x = 0; x < 4; x++) m.call(this);
|
|
7510
7529
|
for (var x = 0; x < 8; x++) v[x] ^= p[x + 4 & 7];
|
|
7511
7530
|
if (f) {
|
|
7512
|
-
var
|
|
7513
|
-
h =
|
|
7514
|
-
g =
|
|
7531
|
+
var _ = f.words,
|
|
7532
|
+
h = _[0],
|
|
7533
|
+
g = _[1],
|
|
7515
7534
|
C = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360,
|
|
7516
7535
|
E = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360,
|
|
7517
7536
|
k = C >>> 16 | E & 4294901760,
|
|
7518
7537
|
b = E << 16 | C & 65535;
|
|
7519
7538
|
v[0] ^= C, v[1] ^= k, v[2] ^= E, v[3] ^= b, v[4] ^= C, v[5] ^= k, v[6] ^= E, v[7] ^= b;
|
|
7520
|
-
for (var x = 0; x < 4; x++)
|
|
7539
|
+
for (var x = 0; x < 4; x++) m.call(this);
|
|
7521
7540
|
}
|
|
7522
7541
|
},
|
|
7523
7542
|
_doProcessBlock: function _doProcessBlock(d, f) {
|
|
7524
7543
|
var p = this._X;
|
|
7525
|
-
|
|
7544
|
+
m.call(this), c[0] = p[0] ^ p[5] >>> 16 ^ p[3] << 16, c[1] = p[2] ^ p[7] >>> 16 ^ p[5] << 16, c[2] = p[4] ^ p[1] >>> 16 ^ p[7] << 16, c[3] = p[6] ^ p[3] >>> 16 ^ p[1] << 16;
|
|
7526
7545
|
for (var v = 0; v < 4; v++) c[v] = (c[v] << 8 | c[v] >>> 24) & 16711935 | (c[v] << 24 | c[v] >>> 8) & 4278255360, d[f + v] ^= c[v];
|
|
7527
7546
|
},
|
|
7528
7547
|
blockSize: 128 / 32,
|
|
7529
7548
|
ivSize: 64 / 32
|
|
7530
7549
|
});
|
|
7531
|
-
function
|
|
7550
|
+
function m() {
|
|
7532
7551
|
for (var d = this._X, f = this._C, p = 0; p < 8; p++) l[p] = f[p];
|
|
7533
7552
|
f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
|
|
7534
7553
|
for (var p = 0; p < 8; p++) {
|
|
7535
7554
|
var v = d[p] + f[p],
|
|
7536
7555
|
x = v & 65535,
|
|
7537
|
-
|
|
7538
|
-
h = ((x * x >>> 17) + x *
|
|
7556
|
+
_ = v >>> 16,
|
|
7557
|
+
h = ((x * x >>> 17) + x * _ >>> 15) + _ * _,
|
|
7539
7558
|
g = ((v & 4294901760) * v | 0) + ((v & 65535) * v | 0);
|
|
7540
7559
|
s[p] = h ^ g;
|
|
7541
7560
|
}
|
|
@@ -7567,41 +7586,41 @@ function cu() {
|
|
|
7567
7586
|
pbox: [],
|
|
7568
7587
|
sbox: []
|
|
7569
7588
|
};
|
|
7570
|
-
function
|
|
7571
|
-
var h =
|
|
7572
|
-
g =
|
|
7573
|
-
C =
|
|
7574
|
-
E =
|
|
7589
|
+
function m(x, _) {
|
|
7590
|
+
var h = _ >> 24 & 255,
|
|
7591
|
+
g = _ >> 16 & 255,
|
|
7592
|
+
C = _ >> 8 & 255,
|
|
7593
|
+
E = _ & 255,
|
|
7575
7594
|
k = x.sbox[0][h] + x.sbox[1][g];
|
|
7576
7595
|
return k = k ^ x.sbox[2][C], k = k + x.sbox[3][E], k;
|
|
7577
7596
|
}
|
|
7578
|
-
function d(x,
|
|
7579
|
-
var g =
|
|
7597
|
+
function d(x, _, h) {
|
|
7598
|
+
var g = _,
|
|
7580
7599
|
C = h,
|
|
7581
7600
|
E;
|
|
7582
|
-
for (var k = 0; k < c; ++k) g = g ^ x.pbox[k], C =
|
|
7601
|
+
for (var k = 0; k < c; ++k) g = g ^ x.pbox[k], C = m(x, g) ^ C, E = g, g = C, C = E;
|
|
7583
7602
|
return E = g, g = C, C = E, C = C ^ x.pbox[c], g = g ^ x.pbox[c + 1], {
|
|
7584
7603
|
left: g,
|
|
7585
7604
|
right: C
|
|
7586
7605
|
};
|
|
7587
7606
|
}
|
|
7588
|
-
function f(x,
|
|
7589
|
-
var g =
|
|
7607
|
+
function f(x, _, h) {
|
|
7608
|
+
var g = _,
|
|
7590
7609
|
C = h,
|
|
7591
7610
|
E;
|
|
7592
|
-
for (var k = c + 1; k > 1; --k) g = g ^ x.pbox[k], C =
|
|
7611
|
+
for (var k = c + 1; k > 1; --k) g = g ^ x.pbox[k], C = m(x, g) ^ C, E = g, g = C, C = E;
|
|
7593
7612
|
return E = g, g = C, C = E, C = C ^ x.pbox[1], g = g ^ x.pbox[0], {
|
|
7594
7613
|
left: g,
|
|
7595
7614
|
right: C
|
|
7596
7615
|
};
|
|
7597
7616
|
}
|
|
7598
|
-
function p(x,
|
|
7617
|
+
function p(x, _, h) {
|
|
7599
7618
|
for (var b = 0; b < 4; b++) {
|
|
7600
7619
|
x.sbox[b] = [];
|
|
7601
7620
|
for (var w = 0; w < 256; w++) x.sbox[b][w] = s[b][w];
|
|
7602
7621
|
}
|
|
7603
7622
|
var g = 0;
|
|
7604
|
-
for (var _b = 0; _b < c + 2; _b++) x.pbox[_b] = l[_b] ^
|
|
7623
|
+
for (var _b = 0; _b < c + 2; _b++) x.pbox[_b] = l[_b] ^ _[g], g++, g >= h && (g = 0);
|
|
7605
7624
|
var C = 0,
|
|
7606
7625
|
E = 0,
|
|
7607
7626
|
k = 0;
|
|
@@ -7613,18 +7632,18 @@ function cu() {
|
|
|
7613
7632
|
_doReset: function _doReset() {
|
|
7614
7633
|
if (this._keyPriorReset !== this._key) {
|
|
7615
7634
|
var x = this._keyPriorReset = this._key,
|
|
7616
|
-
|
|
7635
|
+
_ = x.words,
|
|
7617
7636
|
h = x.sigBytes / 4;
|
|
7618
|
-
p(u,
|
|
7637
|
+
p(u, _, h);
|
|
7619
7638
|
}
|
|
7620
7639
|
},
|
|
7621
|
-
encryptBlock: function encryptBlock(x,
|
|
7622
|
-
var h = d(u, x[
|
|
7623
|
-
x[
|
|
7640
|
+
encryptBlock: function encryptBlock(x, _) {
|
|
7641
|
+
var h = d(u, x[_], x[_ + 1]);
|
|
7642
|
+
x[_] = h.left, x[_ + 1] = h.right;
|
|
7624
7643
|
},
|
|
7625
|
-
decryptBlock: function decryptBlock(x,
|
|
7626
|
-
var h = f(u, x[
|
|
7627
|
-
x[
|
|
7644
|
+
decryptBlock: function decryptBlock(x, _) {
|
|
7645
|
+
var h = f(u, x[_], x[_ + 1]);
|
|
7646
|
+
x[_] = h.left, x[_ + 1] = h.right;
|
|
7628
7647
|
},
|
|
7629
7648
|
blockSize: 64 / 32,
|
|
7630
7649
|
keySize: 128 / 32,
|
|
@@ -7662,9 +7681,9 @@ function du(t, e, n, r, o, a, i, c) {
|
|
|
7662
7681
|
var l = Ws(e, n, r, o, a),
|
|
7663
7682
|
s = Re.AES.encrypt.apply(null, [t, l.key, l.options]),
|
|
7664
7683
|
u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex,
|
|
7665
|
-
|
|
7684
|
+
m = s.ciphertext.toString(u);
|
|
7666
7685
|
c({
|
|
7667
|
-
value:
|
|
7686
|
+
value: m,
|
|
7668
7687
|
error: null
|
|
7669
7688
|
});
|
|
7670
7689
|
}
|
|
@@ -7686,13 +7705,13 @@ function pu(t, e, n, r, o, a, i, c) {
|
|
|
7686
7705
|
var l = Ws(e, n, r, o, a),
|
|
7687
7706
|
s = Re.DES.encrypt.apply(null, [t, l.key, l.options]),
|
|
7688
7707
|
u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex,
|
|
7689
|
-
|
|
7708
|
+
m = s.ciphertext.toString(u);
|
|
7690
7709
|
c({
|
|
7691
|
-
value:
|
|
7710
|
+
value: m,
|
|
7692
7711
|
error: null
|
|
7693
7712
|
});
|
|
7694
7713
|
}
|
|
7695
|
-
function qs(
|
|
7714
|
+
function qs(_x36, _x37) {
|
|
7696
7715
|
return _qs.apply(this, arguments);
|
|
7697
7716
|
}
|
|
7698
7717
|
function _qs() {
|
|
@@ -7725,7 +7744,7 @@ function Ws(t, e, n, r, o) {
|
|
|
7725
7744
|
options: i
|
|
7726
7745
|
};
|
|
7727
7746
|
}
|
|
7728
|
-
function Vs(
|
|
7747
|
+
function Vs(_x38, _x39, _x40) {
|
|
7729
7748
|
return _Vs.apply(this, arguments);
|
|
7730
7749
|
}
|
|
7731
7750
|
function _Vs() {
|
|
@@ -7739,7 +7758,7 @@ function _Vs() {
|
|
|
7739
7758
|
c,
|
|
7740
7759
|
l,
|
|
7741
7760
|
s,
|
|
7742
|
-
|
|
7761
|
+
_args23 = arguments,
|
|
7743
7762
|
_t76,
|
|
7744
7763
|
_t77,
|
|
7745
7764
|
_t78,
|
|
@@ -7747,8 +7766,8 @@ function _Vs() {
|
|
|
7747
7766
|
return _regenerator().w(function (_context128) {
|
|
7748
7767
|
while (1) switch (_context128.p = _context128.n) {
|
|
7749
7768
|
case 0:
|
|
7750
|
-
r =
|
|
7751
|
-
o =
|
|
7769
|
+
r = _args23.length > 3 && _args23[3] !== undefined ? _args23[3] : false;
|
|
7770
|
+
o = _args23.length > 4 ? _args23[4] : undefined;
|
|
7752
7771
|
_context128.p = 1;
|
|
7753
7772
|
_context128.n = 2;
|
|
7754
7773
|
return hu(n);
|
|
@@ -7810,7 +7829,7 @@ function _Vs() {
|
|
|
7810
7829
|
}));
|
|
7811
7830
|
return _Vs.apply(this, arguments);
|
|
7812
7831
|
}
|
|
7813
|
-
function hu(
|
|
7832
|
+
function hu(_x41) {
|
|
7814
7833
|
return _hu.apply(this, arguments);
|
|
7815
7834
|
}
|
|
7816
7835
|
function _hu() {
|
|
@@ -7826,7 +7845,7 @@ function _hu() {
|
|
|
7826
7845
|
}));
|
|
7827
7846
|
return _hu.apply(this, arguments);
|
|
7828
7847
|
}
|
|
7829
|
-
function xu(
|
|
7848
|
+
function xu(_x42) {
|
|
7830
7849
|
return _xu.apply(this, arguments);
|
|
7831
7850
|
}
|
|
7832
7851
|
function _xu() {
|
|
@@ -7835,11 +7854,11 @@ function _xu() {
|
|
|
7835
7854
|
_ref177,
|
|
7836
7855
|
_ref177$keySize,
|
|
7837
7856
|
n,
|
|
7838
|
-
|
|
7857
|
+
_args25 = arguments;
|
|
7839
7858
|
return _regenerator().w(function (_context130) {
|
|
7840
7859
|
while (1) switch (_context130.n) {
|
|
7841
7860
|
case 0:
|
|
7842
|
-
e =
|
|
7861
|
+
e = _args25.length > 1 && _args25[1] !== undefined ? _args25[1] : false;
|
|
7843
7862
|
if (e) {
|
|
7844
7863
|
_context130.n = 1;
|
|
7845
7864
|
break;
|
|
@@ -7853,7 +7872,7 @@ function _xu() {
|
|
|
7853
7872
|
}));
|
|
7854
7873
|
return _xu.apply(this, arguments);
|
|
7855
7874
|
}
|
|
7856
|
-
function vu(
|
|
7875
|
+
function vu(_x43) {
|
|
7857
7876
|
return _vu.apply(this, arguments);
|
|
7858
7877
|
}
|
|
7859
7878
|
function _vu() {
|
|
@@ -7869,7 +7888,7 @@ function _vu() {
|
|
|
7869
7888
|
}));
|
|
7870
7889
|
return _vu.apply(this, arguments);
|
|
7871
7890
|
}
|
|
7872
|
-
function gu(
|
|
7891
|
+
function gu(_x44) {
|
|
7873
7892
|
return _gu.apply(this, arguments);
|
|
7874
7893
|
}
|
|
7875
7894
|
function _gu() {
|
|
@@ -7922,7 +7941,7 @@ var mu = {
|
|
|
7922
7941
|
l = t.encryptKey || "",
|
|
7923
7942
|
s = t.encryptOffset || "",
|
|
7924
7943
|
u = t.encryptPadding || "",
|
|
7925
|
-
|
|
7944
|
+
m = r[u.toLowerCase()],
|
|
7926
7945
|
d = t.codingMode || "",
|
|
7927
7946
|
f = o[d.toLowerCase()],
|
|
7928
7947
|
v = (Number(t.encryptKeyLength) || 0) / 8;
|
|
@@ -7933,11 +7952,11 @@ var mu = {
|
|
|
7933
7952
|
}) : mu[i](e, l, {
|
|
7934
7953
|
mode: c,
|
|
7935
7954
|
keySize: v,
|
|
7936
|
-
padding:
|
|
7955
|
+
padding: m,
|
|
7937
7956
|
encoding: f,
|
|
7938
7957
|
iv: s
|
|
7939
|
-
}, function (
|
|
7940
|
-
x(
|
|
7958
|
+
}, function (_) {
|
|
7959
|
+
x(_);
|
|
7941
7960
|
});
|
|
7942
7961
|
});
|
|
7943
7962
|
};
|
|
@@ -7952,7 +7971,7 @@ function Gs(t) {
|
|
|
7952
7971
|
return t.trim() === n;
|
|
7953
7972
|
}) >= 0 : false;
|
|
7954
7973
|
}
|
|
7955
|
-
function Xs(
|
|
7974
|
+
function Xs(_x45) {
|
|
7956
7975
|
return _Xs.apply(this, arguments);
|
|
7957
7976
|
}
|
|
7958
7977
|
function _Xs() {
|
|
@@ -7975,7 +7994,7 @@ function _Xs() {
|
|
|
7975
7994
|
}));
|
|
7976
7995
|
return _Xs.apply(this, arguments);
|
|
7977
7996
|
}
|
|
7978
|
-
function Cu(
|
|
7997
|
+
function Cu(_x46) {
|
|
7979
7998
|
return _Cu.apply(this, arguments);
|
|
7980
7999
|
}
|
|
7981
8000
|
function _Cu() {
|
|
@@ -8042,12 +8061,12 @@ function _Cu() {
|
|
|
8042
8061
|
}));
|
|
8043
8062
|
return _Cu.apply(this, arguments);
|
|
8044
8063
|
}
|
|
8045
|
-
function yu(
|
|
8064
|
+
function yu(_x47) {
|
|
8046
8065
|
return _yu.apply(this, arguments);
|
|
8047
8066
|
}
|
|
8048
8067
|
function _yu() {
|
|
8049
8068
|
_yu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee133(t) {
|
|
8050
|
-
var e, n, r, _o14, a, _i9, c, _l5, _s5, u,
|
|
8069
|
+
var e, n, r, _o14, a, _i9, c, _l5, _s5, u, _m$value, m, _t80;
|
|
8051
8070
|
return _regenerator().w(function (_context135) {
|
|
8052
8071
|
while (1) switch (_context135.n) {
|
|
8053
8072
|
case 0:
|
|
@@ -8106,8 +8125,8 @@ function _yu() {
|
|
|
8106
8125
|
_context135.n = 8;
|
|
8107
8126
|
return _u(r, u);
|
|
8108
8127
|
case 8:
|
|
8109
|
-
|
|
8110
|
-
|
|
8128
|
+
m = _context135.v;
|
|
8129
|
+
m.error, u = (_m$value = m.value) !== null && _m$value !== void 0 ? _m$value : "";
|
|
8111
8130
|
case 9:
|
|
8112
8131
|
e[_s5] = u;
|
|
8113
8132
|
case 10:
|
|
@@ -8128,8 +8147,8 @@ function bu(t) {
|
|
|
8128
8147
|
var _a8 = n[r].split("=");
|
|
8129
8148
|
if (_a8.length === 2) {
|
|
8130
8149
|
var i = _a8[0],
|
|
8131
|
-
|
|
8132
|
-
e[i] =
|
|
8150
|
+
_c8 = _a8[1];
|
|
8151
|
+
e[i] = _c8;
|
|
8133
8152
|
}
|
|
8134
8153
|
}
|
|
8135
8154
|
return e;
|
|
@@ -8175,7 +8194,7 @@ var Qs = /*#__PURE__*/function () {
|
|
|
8175
8194
|
}
|
|
8176
8195
|
}, _callee36);
|
|
8177
8196
|
}));
|
|
8178
|
-
return function Qs(
|
|
8197
|
+
return function Qs(_x48, _x49) {
|
|
8179
8198
|
return _ref68.apply(this, arguments);
|
|
8180
8199
|
};
|
|
8181
8200
|
}(),
|
|
@@ -8226,7 +8245,7 @@ var Su = "v1",
|
|
|
8226
8245
|
}
|
|
8227
8246
|
}, _callee37);
|
|
8228
8247
|
}));
|
|
8229
|
-
return function Fu(
|
|
8248
|
+
return function Fu(_x50) {
|
|
8230
8249
|
return _ref69.apply(this, arguments);
|
|
8231
8250
|
};
|
|
8232
8251
|
}(),
|
|
@@ -8254,7 +8273,7 @@ var Su = "v1",
|
|
|
8254
8273
|
}
|
|
8255
8274
|
}, _callee38);
|
|
8256
8275
|
}));
|
|
8257
|
-
return function ti(
|
|
8276
|
+
return function ti(_x51) {
|
|
8258
8277
|
return _ref70.apply(this, arguments);
|
|
8259
8278
|
};
|
|
8260
8279
|
}(),
|
|
@@ -8931,14 +8950,14 @@ function Bn(t, e, n, r, o, a) {
|
|
|
8931
8950
|
if (u) {
|
|
8932
8951
|
if (i = op(t), false) ;
|
|
8933
8952
|
} else {
|
|
8934
|
-
var
|
|
8935
|
-
d =
|
|
8953
|
+
var m = nt(t),
|
|
8954
|
+
d = m == wi || m == Wp;
|
|
8936
8955
|
if (ui(t)) return zf(t);
|
|
8937
|
-
if (
|
|
8956
|
+
if (m == Ai || m == bi || d && !o) {
|
|
8938
8957
|
if (i = d ? {} : Fp(t), false) ;
|
|
8939
8958
|
} else {
|
|
8940
|
-
if (!fe[
|
|
8941
|
-
i = Sp(t,
|
|
8959
|
+
if (!fe[m]) return o ? t : {};
|
|
8960
|
+
i = Sp(t, m);
|
|
8942
8961
|
}
|
|
8943
8962
|
}
|
|
8944
8963
|
a || (a = new Kt());
|
|
@@ -8946,13 +8965,13 @@ function Bn(t, e, n, r, o, a) {
|
|
|
8946
8965
|
if (f) return f;
|
|
8947
8966
|
a.set(t, i), Mp(t) ? t.forEach(function (x) {
|
|
8948
8967
|
i.add(Bn(x, e, n, x, t, a));
|
|
8949
|
-
}) : Rp(t) && t.forEach(function (x,
|
|
8950
|
-
i.set(
|
|
8968
|
+
}) : Rp(t) && t.forEach(function (x, _) {
|
|
8969
|
+
i.set(_, Bn(x, e, n, _, t, a));
|
|
8951
8970
|
});
|
|
8952
8971
|
var p = Gf,
|
|
8953
8972
|
v = u ? undefined : p(t);
|
|
8954
|
-
return Md(v || t, function (x,
|
|
8955
|
-
v && (
|
|
8973
|
+
return Md(v || t, function (x, _) {
|
|
8974
|
+
v && (_ = x, x = t[_]), ii(i, _, Bn(x, e, n, _, t, a));
|
|
8956
8975
|
}), i;
|
|
8957
8976
|
}
|
|
8958
8977
|
var uh = 1,
|
|
@@ -9045,13 +9064,13 @@ var _Tn = function Tn(t) {
|
|
|
9045
9064
|
},
|
|
9046
9065
|
hh = function hh(t, e, n) {
|
|
9047
9066
|
var _t38, _ref73;
|
|
9048
|
-
var
|
|
9067
|
+
var m;
|
|
9049
9068
|
var r = flatTree$1(e).filter(function (d) {
|
|
9050
9069
|
return d.routeUrl;
|
|
9051
9070
|
}).filter(function (d) {
|
|
9052
9071
|
return !(d != null && d.disable) && !(d != null && d.expired);
|
|
9053
9072
|
}),
|
|
9054
|
-
a = (_t38 = ((_ref73 = (
|
|
9073
|
+
a = (_t38 = ((_ref73 = (m = getTabInfo()) == null ? undefined : m.tabMap) !== null && _ref73 !== void 0 ? _ref73 : {})[t]) !== null && _t38 !== void 0 ? _t38 : [],
|
|
9055
9074
|
_ph = ph(a, n),
|
|
9056
9075
|
i = _ph.left,
|
|
9057
9076
|
c = _ph.right,
|
|
@@ -9166,14 +9185,14 @@ var _Tn = function Tn(t) {
|
|
|
9166
9185
|
}
|
|
9167
9186
|
}, _callee41);
|
|
9168
9187
|
}));
|
|
9169
|
-
return function xo(
|
|
9188
|
+
return function xo(_x52) {
|
|
9170
9189
|
return _ref75.apply(this, arguments);
|
|
9171
9190
|
};
|
|
9172
9191
|
}(),
|
|
9173
9192
|
xh = /*#__PURE__*/function () {
|
|
9174
9193
|
var _ref76 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee42(t) {
|
|
9175
9194
|
var _ref77, _ref78, _ref79, _getSubApps$subAppLis2, _ref80;
|
|
9176
|
-
var d, f, p, v, x, _t$microApp, e, _t$menuCode2, n, _t$menuPath, r, _t$route, o, a, i, c, l, s, u, _yield$xo,
|
|
9195
|
+
var d, f, p, v, x, _t$microApp, e, _t$menuCode2, n, _t$menuPath, r, _t$route, o, a, i, c, l, s, u, _yield$xo, _, _h2, _ref81, _getTabInfo$tabMap, _h3, g, _2, m, _ref83, _3, _4, _h4, _g, _ref84, C, E;
|
|
9177
9196
|
return _regenerator().w(function (_context43) {
|
|
9178
9197
|
while (1) switch (_context43.n) {
|
|
9179
9198
|
case 0:
|
|
@@ -9195,8 +9214,8 @@ var _Tn = function Tn(t) {
|
|
|
9195
9214
|
case 1:
|
|
9196
9215
|
l = [], s = [];
|
|
9197
9216
|
u = (_getSubApps$subAppLis2 = getSubApps().subAppList) !== null && _getSubApps$subAppLis2 !== void 0 ? _getSubApps$subAppLis2 : [];
|
|
9198
|
-
if (!(u.length && (l = (_ref80 = (p = u.find(function (
|
|
9199
|
-
return
|
|
9217
|
+
if (!(u.length && (l = (_ref80 = (p = u.find(function (_) {
|
|
9218
|
+
return _.code === e.code;
|
|
9200
9219
|
})) == null ? undefined : p.menus) !== null && _ref80 !== void 0 ? _ref80 : []), !l.length)) {
|
|
9201
9220
|
_context43.n = 3;
|
|
9202
9221
|
break;
|
|
@@ -9205,9 +9224,9 @@ var _Tn = function Tn(t) {
|
|
|
9205
9224
|
return xo(c);
|
|
9206
9225
|
case 2:
|
|
9207
9226
|
_yield$xo = _context43.v;
|
|
9208
|
-
|
|
9227
|
+
_ = _yield$xo.menus;
|
|
9209
9228
|
_h2 = _yield$xo.originalMenus;
|
|
9210
|
-
l =
|
|
9229
|
+
l = _ !== null && _ !== void 0 ? _ : [], s = _h2 !== null && _h2 !== void 0 ? _h2 : [];
|
|
9211
9230
|
case 3:
|
|
9212
9231
|
if (!(!l.length && (!a || !i))) {
|
|
9213
9232
|
_context43.n = 4;
|
|
@@ -9246,15 +9265,15 @@ var _Tn = function Tn(t) {
|
|
|
9246
9265
|
_context43.n = 6;
|
|
9247
9266
|
break;
|
|
9248
9267
|
}
|
|
9249
|
-
|
|
9268
|
+
_2 = flatTree$1(l).find(function (h) {
|
|
9250
9269
|
var g = "/".concat(h.applicationPath).concat(h.routeUrl).replace(/\/\//g, "/");
|
|
9251
9270
|
return h.applicationPath && h.routeUrl && (r === g || r.startsWith("/".concat(g, "/")));
|
|
9252
9271
|
});
|
|
9253
|
-
if (!
|
|
9272
|
+
if (!_2) {
|
|
9254
9273
|
_context43.n = 5;
|
|
9255
9274
|
break;
|
|
9256
9275
|
}
|
|
9257
|
-
n =
|
|
9276
|
+
n = _2.code;
|
|
9258
9277
|
_context43.n = 6;
|
|
9259
9278
|
break;
|
|
9260
9279
|
case 5:
|
|
@@ -9267,8 +9286,8 @@ var _Tn = function Tn(t) {
|
|
|
9267
9286
|
})
|
|
9268
9287
|
});
|
|
9269
9288
|
case 6:
|
|
9270
|
-
|
|
9271
|
-
if (
|
|
9289
|
+
m = _Tn(l, n);
|
|
9290
|
+
if (m) {
|
|
9272
9291
|
_context43.n = 8;
|
|
9273
9292
|
break;
|
|
9274
9293
|
}
|
|
@@ -9285,8 +9304,8 @@ var _Tn = function Tn(t) {
|
|
|
9285
9304
|
})
|
|
9286
9305
|
});
|
|
9287
9306
|
case 7:
|
|
9288
|
-
|
|
9289
|
-
|
|
9307
|
+
_3 = hh(e.code, l, n);
|
|
9308
|
+
_3 != null && _3.currentApp && (e = _3.currentApp), _3 != null && _3.currentMenu && (m = _3.currentMenu), _3 != null && _3.currentTab && (o.query = (_ref83 = (x = _3.currentTab) == null ? undefined : x.query) !== null && _ref83 !== void 0 ? _ref83 : {});
|
|
9290
9309
|
case 8:
|
|
9291
9310
|
if (!((e == null ? undefined : e.routeUrl) === ot)) {
|
|
9292
9311
|
_context43.n = 9;
|
|
@@ -9299,20 +9318,20 @@ var _Tn = function Tn(t) {
|
|
|
9299
9318
|
query: null
|
|
9300
9319
|
});
|
|
9301
9320
|
case 9:
|
|
9302
|
-
if (!
|
|
9321
|
+
if (!m) {
|
|
9303
9322
|
_context43.n = 10;
|
|
9304
9323
|
break;
|
|
9305
9324
|
}
|
|
9306
|
-
|
|
9325
|
+
_4 = "/".concat(m.applicationPath).concat(m.routeUrl);
|
|
9307
9326
|
_h4 = "";
|
|
9308
|
-
r && r.startsWith(
|
|
9327
|
+
r && r.startsWith(_4) && r !== _4 && (_h4 = r);
|
|
9309
9328
|
_g = _objectSpread(_objectSpread({}, o.query), {}, {
|
|
9310
9329
|
app: c,
|
|
9311
|
-
menu:
|
|
9330
|
+
menu: m.code
|
|
9312
9331
|
});
|
|
9313
9332
|
if (a && i) {
|
|
9314
9333
|
C = _objectSpread(_objectSpread({}, e), {}, {
|
|
9315
|
-
currentMenuCode:
|
|
9334
|
+
currentMenuCode: m.code,
|
|
9316
9335
|
menus: l,
|
|
9317
9336
|
originalMenus: s
|
|
9318
9337
|
});
|
|
@@ -9328,17 +9347,17 @@ var _Tn = function Tn(t) {
|
|
|
9328
9347
|
}]);
|
|
9329
9348
|
E = {
|
|
9330
9349
|
currentApplication: e.routeUrl,
|
|
9331
|
-
applicationPath:
|
|
9350
|
+
applicationPath: m.applicationPath,
|
|
9332
9351
|
applicationCode: c,
|
|
9333
|
-
menuId:
|
|
9334
|
-
code:
|
|
9335
|
-
name: (_ref84 =
|
|
9336
|
-
path:
|
|
9352
|
+
menuId: m.id,
|
|
9353
|
+
code: m.code,
|
|
9354
|
+
name: (_ref84 = m == null ? undefined : m.tabName) !== null && _ref84 !== void 0 ? _ref84 : m.name,
|
|
9355
|
+
path: m.routeUrl,
|
|
9337
9356
|
query: _g
|
|
9338
9357
|
};
|
|
9339
9358
|
He([{
|
|
9340
9359
|
key: "currentCode",
|
|
9341
|
-
value:
|
|
9360
|
+
value: m.code
|
|
9342
9361
|
}, {
|
|
9343
9362
|
key: "currentTab",
|
|
9344
9363
|
value: E
|
|
@@ -9353,7 +9372,7 @@ var _Tn = function Tn(t) {
|
|
|
9353
9372
|
return _context43.a(2, {
|
|
9354
9373
|
menuConfig: l,
|
|
9355
9374
|
currentApp: e,
|
|
9356
|
-
currentMenu:
|
|
9375
|
+
currentMenu: m,
|
|
9357
9376
|
query: _g,
|
|
9358
9377
|
microPath: _h4
|
|
9359
9378
|
});
|
|
@@ -9369,7 +9388,7 @@ var _Tn = function Tn(t) {
|
|
|
9369
9388
|
}
|
|
9370
9389
|
}, _callee42);
|
|
9371
9390
|
}));
|
|
9372
|
-
return function xh(
|
|
9391
|
+
return function xh(_x53) {
|
|
9373
9392
|
return _ref76.apply(this, arguments);
|
|
9374
9393
|
};
|
|
9375
9394
|
}(),
|
|
@@ -9473,7 +9492,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9473
9492
|
return onBeforeUnmount(function () {
|
|
9474
9493
|
r.value = false;
|
|
9475
9494
|
}), function (i, c) {
|
|
9476
|
-
return openBlock(), createElementBlock("div", Eh, [
|
|
9495
|
+
return openBlock(), createElementBlock("div", Eh, [i.src ? (openBlock(), createBlock(unref(DasSpin), {
|
|
9477
9496
|
key: 0,
|
|
9478
9497
|
spinning: !r.value
|
|
9479
9498
|
}, {
|
|
@@ -9484,7 +9503,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9484
9503
|
ref: n,
|
|
9485
9504
|
width: "100%",
|
|
9486
9505
|
height: "100%",
|
|
9487
|
-
src:
|
|
9506
|
+
src: i.src,
|
|
9488
9507
|
onLoad: a
|
|
9489
9508
|
}, null, 40, kh), [[vShow, r.value]])];
|
|
9490
9509
|
}),
|
|
@@ -9573,13 +9592,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
9573
9592
|
o = ref(false),
|
|
9574
9593
|
a = function a() {
|
|
9575
9594
|
return new Promise(function (i) {
|
|
9576
|
-
var
|
|
9595
|
+
var _c9 = function c() {
|
|
9577
9596
|
if (o.value) return i();
|
|
9578
9597
|
setTimeout(function () {
|
|
9579
|
-
return
|
|
9598
|
+
return _c9();
|
|
9580
9599
|
}, 50);
|
|
9581
9600
|
};
|
|
9582
|
-
|
|
9601
|
+
_c9();
|
|
9583
9602
|
});
|
|
9584
9603
|
};
|
|
9585
9604
|
return onMounted(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee47() {
|
|
@@ -9649,7 +9668,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9649
9668
|
}
|
|
9650
9669
|
}, _callee48);
|
|
9651
9670
|
}));
|
|
9652
|
-
return function ki(
|
|
9671
|
+
return function ki(_x54) {
|
|
9653
9672
|
return _ref91.apply(this, arguments);
|
|
9654
9673
|
};
|
|
9655
9674
|
}(),
|
|
@@ -9659,7 +9678,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9659
9678
|
layout.menu.addEventListener("onItemClick", /*#__PURE__*/function () {
|
|
9660
9679
|
var _ref93 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee49(e) {
|
|
9661
9680
|
var _ref94, _o$query;
|
|
9662
|
-
var a, n, _yield$ki, i,
|
|
9681
|
+
var a, n, _yield$ki, i, _c0, l, o;
|
|
9663
9682
|
return _regenerator().w(function (_context50) {
|
|
9664
9683
|
while (1) switch (_context50.n) {
|
|
9665
9684
|
case 0:
|
|
@@ -9684,12 +9703,12 @@ var yh = /*#__PURE__*/function () {
|
|
|
9684
9703
|
case 2:
|
|
9685
9704
|
_yield$ki = _context50.v;
|
|
9686
9705
|
i = _yield$ki.title;
|
|
9687
|
-
|
|
9706
|
+
_c0 = _yield$ki.content;
|
|
9688
9707
|
l = _yield$ki.desc;
|
|
9689
9708
|
_context50.n = 3;
|
|
9690
9709
|
return In({
|
|
9691
9710
|
title: i,
|
|
9692
|
-
content:
|
|
9711
|
+
content: _c0,
|
|
9693
9712
|
desc: l
|
|
9694
9713
|
});
|
|
9695
9714
|
case 3:
|
|
@@ -9712,7 +9731,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9712
9731
|
}
|
|
9713
9732
|
}, _callee49);
|
|
9714
9733
|
}));
|
|
9715
|
-
return function (
|
|
9734
|
+
return function (_x55) {
|
|
9716
9735
|
return _ref93.apply(this, arguments);
|
|
9717
9736
|
};
|
|
9718
9737
|
}()), layout.menu.addEventListener("toggleCollapse", function (e) {
|
|
@@ -9766,7 +9785,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9766
9785
|
}
|
|
9767
9786
|
}, _callee50);
|
|
9768
9787
|
}));
|
|
9769
|
-
return function (
|
|
9788
|
+
return function (_x56) {
|
|
9770
9789
|
return _ref95.apply(this, arguments);
|
|
9771
9790
|
};
|
|
9772
9791
|
}()), layout.nav.addEventListener("onItemRemove", function (o) {
|
|
@@ -9797,7 +9816,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9797
9816
|
}, /*#__PURE__*/function () {
|
|
9798
9817
|
var _ref96 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee51(p) {
|
|
9799
9818
|
var _ref97, _ref98, _getSubApps$currentSu2, _ref99, _ref100;
|
|
9800
|
-
var C, E, k, b, w, B, y, A, S, I, v, x,
|
|
9819
|
+
var C, E, k, b, w, B, y, A, S, I, v, x, _, h, g;
|
|
9801
9820
|
return _regenerator().w(function (_context52) {
|
|
9802
9821
|
while (1) switch (_context52.n) {
|
|
9803
9822
|
case 0:
|
|
@@ -9810,8 +9829,8 @@ var yh = /*#__PURE__*/function () {
|
|
|
9810
9829
|
return _context52.a(2);
|
|
9811
9830
|
case 1:
|
|
9812
9831
|
o = Fn(p.path), a = Fn(p.query);
|
|
9813
|
-
|
|
9814
|
-
if (
|
|
9832
|
+
_ = (_getSubApps$currentSu2 = getSubApps().currentSubAppCode) !== null && _getSubApps$currentSu2 !== void 0 ? _getSubApps$currentSu2 : "";
|
|
9833
|
+
if (_) {
|
|
9815
9834
|
_context52.n = 2;
|
|
9816
9835
|
break;
|
|
9817
9836
|
}
|
|
@@ -9825,13 +9844,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
9825
9844
|
return _context52.a(2);
|
|
9826
9845
|
case 3:
|
|
9827
9846
|
g = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
9828
|
-
JSON.stringify(g) !== "{}" && (e.value = (B = (w = g[
|
|
9847
|
+
JSON.stringify(g) !== "{}" && (e.value = (B = (w = g[_]) == null ? undefined : w[h]) != null && B.fontColor ? g[_][h].fontColor : "", n.value = (A = (y = g[_]) == null ? undefined : y[h]) != null && A.backgroundColor ? g[_][h].backgroundColor : "", r.value = (I = (S = g[_]) == null ? undefined : S[h]) != null && I.backgroundColor ? g[_][h].backgroundColor : "");
|
|
9829
9848
|
case 4:
|
|
9830
9849
|
return _context52.a(2);
|
|
9831
9850
|
}
|
|
9832
9851
|
}, _callee51);
|
|
9833
9852
|
}));
|
|
9834
|
-
return function (
|
|
9853
|
+
return function (_x57) {
|
|
9835
9854
|
return _ref96.apply(this, arguments);
|
|
9836
9855
|
};
|
|
9837
9856
|
}());
|
|
@@ -9843,23 +9862,23 @@ var yh = /*#__PURE__*/function () {
|
|
|
9843
9862
|
l = _vo.reloadRoute,
|
|
9844
9863
|
s = _vo.unloadRoute,
|
|
9845
9864
|
u = function u(p) {
|
|
9846
|
-
var _ref101,
|
|
9865
|
+
var _ref101, _$query;
|
|
9847
9866
|
var h;
|
|
9848
9867
|
var v = flatTree$1(getMenus(p.applicationCode)).find(function (g) {
|
|
9849
9868
|
return g.code === p.code;
|
|
9850
9869
|
}),
|
|
9851
|
-
|
|
9870
|
+
_ = ((_ref101 = (h = getTabInfo().tabMap) == null ? undefined : h[p.applicationCode]) !== null && _ref101 !== void 0 ? _ref101 : []).find(function (g) {
|
|
9852
9871
|
return g.code === p.code;
|
|
9853
9872
|
});
|
|
9854
9873
|
c({
|
|
9855
9874
|
currentMenu: v,
|
|
9856
9875
|
route: {
|
|
9857
|
-
path:
|
|
9858
|
-
query: (
|
|
9876
|
+
path: _.path,
|
|
9877
|
+
query: (_$query = _.query) !== null && _$query !== void 0 ? _$query : {}
|
|
9859
9878
|
}
|
|
9860
9879
|
});
|
|
9861
9880
|
},
|
|
9862
|
-
|
|
9881
|
+
m = function m(p) {
|
|
9863
9882
|
if (!p || !p.length) return;
|
|
9864
9883
|
var v = p.filter(function (x) {
|
|
9865
9884
|
return !x.path.startsWith(_t);
|
|
@@ -9875,8 +9894,8 @@ var yh = /*#__PURE__*/function () {
|
|
|
9875
9894
|
var v = (_getSubApps$currentSu3 = getSubApps().currentSubAppCode) !== null && _getSubApps$currentSu3 !== void 0 ? _getSubApps$currentSu3 : "";
|
|
9876
9895
|
ke.innerSet = true;
|
|
9877
9896
|
var x = getTabInfo(),
|
|
9878
|
-
|
|
9879
|
-
h =
|
|
9897
|
+
_ = x.tabMap[v],
|
|
9898
|
+
h = _.findIndex(function (w) {
|
|
9880
9899
|
return w.code === p.data.code;
|
|
9881
9900
|
});
|
|
9882
9901
|
if (h === -1) return;
|
|
@@ -9900,7 +9919,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9900
9919
|
return _regenerator().w(function (_context53) {
|
|
9901
9920
|
while (1) switch (_context53.n) {
|
|
9902
9921
|
case 0:
|
|
9903
|
-
if (!(
|
|
9922
|
+
if (!(_.length === 1)) {
|
|
9904
9923
|
_context53.n = 1;
|
|
9905
9924
|
break;
|
|
9906
9925
|
}
|
|
@@ -9909,9 +9928,9 @@ var yh = /*#__PURE__*/function () {
|
|
|
9909
9928
|
case 1:
|
|
9910
9929
|
B = x.currentCode;
|
|
9911
9930
|
y = null;
|
|
9912
|
-
B === w.value && (h + 1 ===
|
|
9931
|
+
B === w.value && (h + 1 === _.length ? _[h - 1] && (y = _[h - 1]) : _[h + 1] && (y = _[h + 1])), _.splice(h, 1), m([w]), He([{
|
|
9913
9932
|
key: "tabMap:".concat(v),
|
|
9914
|
-
value:
|
|
9933
|
+
value: _
|
|
9915
9934
|
}]), y ? u(y) : He([{
|
|
9916
9935
|
key: "preTab:".concat(v),
|
|
9917
9936
|
value: {}
|
|
@@ -9921,7 +9940,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9921
9940
|
}
|
|
9922
9941
|
}, _callee52);
|
|
9923
9942
|
}));
|
|
9924
|
-
function me(
|
|
9943
|
+
function me(_x58) {
|
|
9925
9944
|
return _me.apply(this, arguments);
|
|
9926
9945
|
}
|
|
9927
9946
|
return me;
|
|
@@ -9933,7 +9952,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9933
9952
|
return _regenerator().w(function (_context54) {
|
|
9934
9953
|
while (1) switch (_context54.n) {
|
|
9935
9954
|
case 0:
|
|
9936
|
-
B =
|
|
9955
|
+
B = _[h];
|
|
9937
9956
|
_context54.n = 1;
|
|
9938
9957
|
return t.push({
|
|
9939
9958
|
path: "/".concat(B.applicationPath).concat(B.path).replace(/\/\//g, "/"),
|
|
@@ -9942,12 +9961,12 @@ var yh = /*#__PURE__*/function () {
|
|
|
9942
9961
|
case 1:
|
|
9943
9962
|
layout.menu.setActiveItem(B.menuId);
|
|
9944
9963
|
layout.tab.setActiveItem(B.code);
|
|
9945
|
-
y =
|
|
9964
|
+
y = _.filter(function (A) {
|
|
9946
9965
|
return A.code !== w.value;
|
|
9947
9966
|
});
|
|
9948
9967
|
y.forEach(function (A) {
|
|
9949
9968
|
return layout.tab.removeItem(A.code);
|
|
9950
|
-
}),
|
|
9969
|
+
}), m(y), He([{
|
|
9951
9970
|
key: "tabMap:".concat(v),
|
|
9952
9971
|
value: [B]
|
|
9953
9972
|
}]), u(B);
|
|
@@ -9956,7 +9975,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
9956
9975
|
}
|
|
9957
9976
|
}, _callee53);
|
|
9958
9977
|
}));
|
|
9959
|
-
function other(
|
|
9978
|
+
function other(_x59) {
|
|
9960
9979
|
return _other.apply(this, arguments);
|
|
9961
9980
|
}
|
|
9962
9981
|
return other;
|
|
@@ -9968,25 +9987,25 @@ var yh = /*#__PURE__*/function () {
|
|
|
9968
9987
|
while (1) switch (_context55.n) {
|
|
9969
9988
|
case 0:
|
|
9970
9989
|
B = x.currentCode;
|
|
9971
|
-
if (B !== w.value &&
|
|
9990
|
+
if (B !== w.value && _.findIndex(function (S) {
|
|
9972
9991
|
return S.code === B;
|
|
9973
9992
|
}) > h) {
|
|
9974
|
-
S =
|
|
9993
|
+
S = _[h];
|
|
9975
9994
|
u(S);
|
|
9976
9995
|
}
|
|
9977
|
-
y =
|
|
9996
|
+
y = _.slice(h + 1);
|
|
9978
9997
|
y.forEach(function (A) {
|
|
9979
9998
|
return layout.tab.removeItem(A.code);
|
|
9980
|
-
}),
|
|
9999
|
+
}), m(y), _.splice(h + 1), He([{
|
|
9981
10000
|
key: "tabMap:".concat(v),
|
|
9982
|
-
value:
|
|
10001
|
+
value: _
|
|
9983
10002
|
}]);
|
|
9984
10003
|
case 1:
|
|
9985
10004
|
return _context55.a(2);
|
|
9986
10005
|
}
|
|
9987
10006
|
}, _callee54);
|
|
9988
10007
|
}));
|
|
9989
|
-
function right(
|
|
10008
|
+
function right(_x60) {
|
|
9990
10009
|
return _right.apply(this, arguments);
|
|
9991
10010
|
}
|
|
9992
10011
|
return right;
|
|
@@ -10004,7 +10023,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10004
10023
|
}
|
|
10005
10024
|
}, _callee55);
|
|
10006
10025
|
}));
|
|
10007
|
-
return function (
|
|
10026
|
+
return function (_x61) {
|
|
10008
10027
|
return _ref103.apply(this, arguments);
|
|
10009
10028
|
};
|
|
10010
10029
|
}()), layout.tab.addEventListener("onItemRemove", function (p) {
|
|
@@ -10022,22 +10041,22 @@ var yh = /*#__PURE__*/function () {
|
|
|
10022
10041
|
var v = [];
|
|
10023
10042
|
var x = (_getTabInfo$tabMap$p$ = getTabInfo().tabMap[p.applicationCode]) !== null && _getTabInfo$tabMap$p$ !== void 0 ? _getTabInfo$tabMap$p$ : [];
|
|
10024
10043
|
if (p.type.key === "right") {
|
|
10025
|
-
var
|
|
10044
|
+
var _ = x.findIndex(function (h) {
|
|
10026
10045
|
return h.code === p.data.value;
|
|
10027
10046
|
});
|
|
10028
|
-
v = x.slice(
|
|
10047
|
+
v = x.slice(_ + 1);
|
|
10029
10048
|
}
|
|
10030
|
-
p.type.key === "other" && (v = x.filter(function (
|
|
10031
|
-
return
|
|
10032
|
-
})), p.type.key === "all" && (v = _toConsumableArray(x)), kn(p.applicationCode, v.map(function (
|
|
10033
|
-
return
|
|
10049
|
+
p.type.key === "other" && (v = x.filter(function (_) {
|
|
10050
|
+
return _.code !== p.data.value;
|
|
10051
|
+
})), p.type.key === "all" && (v = _toConsumableArray(x)), kn(p.applicationCode, v.map(function (_) {
|
|
10052
|
+
return _.code;
|
|
10034
10053
|
})), d({
|
|
10035
10054
|
type: p.type.key,
|
|
10036
10055
|
data: p.data
|
|
10037
10056
|
});
|
|
10038
10057
|
}), layout.tab.addEventListener("onPageRefresh", /*#__PURE__*/function () {
|
|
10039
10058
|
var _ref104 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee56(p) {
|
|
10040
|
-
var v, x,
|
|
10059
|
+
var v, x, _, _t40;
|
|
10041
10060
|
return _regenerator().w(function (_context57) {
|
|
10042
10061
|
while (1) switch (_context57.n) {
|
|
10043
10062
|
case 0:
|
|
@@ -10080,8 +10099,8 @@ var yh = /*#__PURE__*/function () {
|
|
|
10080
10099
|
x = {
|
|
10081
10100
|
app: v.applicationCode,
|
|
10082
10101
|
menu: v.code
|
|
10083
|
-
},
|
|
10084
|
-
_t40 = objEqual(x,
|
|
10102
|
+
}, _ = _objectSpread({}, p.query);
|
|
10103
|
+
_t40 = objEqual(x, _);
|
|
10085
10104
|
if (_t40) {
|
|
10086
10105
|
_context57.n = 6;
|
|
10087
10106
|
break;
|
|
@@ -10097,7 +10116,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10097
10116
|
}
|
|
10098
10117
|
}, _callee56);
|
|
10099
10118
|
}));
|
|
10100
|
-
return function (
|
|
10119
|
+
return function (_x62) {
|
|
10101
10120
|
return _ref104.apply(this, arguments);
|
|
10102
10121
|
};
|
|
10103
10122
|
}());
|
|
@@ -10134,7 +10153,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10134
10153
|
l = /*#__PURE__*/function () {
|
|
10135
10154
|
var _ref105 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee57(d) {
|
|
10136
10155
|
var _d$code, _getSubApps$subAppLis3, _v$menus;
|
|
10137
|
-
var f, v, x,
|
|
10156
|
+
var f, v, x, _, h, _yield$xo2, C, E, k, g, _t41;
|
|
10138
10157
|
return _regenerator().w(function (_context58) {
|
|
10139
10158
|
while (1) switch (_context58.n) {
|
|
10140
10159
|
case 0:
|
|
@@ -10147,7 +10166,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10147
10166
|
f = (_d$code = d.code) !== null && _d$code !== void 0 ? _d$code : "", v = ((_getSubApps$subAppLis3 = getSubApps().subAppList) !== null && _getSubApps$subAppLis3 !== void 0 ? _getSubApps$subAppLis3 : []).find(function (C) {
|
|
10148
10167
|
return C.code === f;
|
|
10149
10168
|
});
|
|
10150
|
-
x = [],
|
|
10169
|
+
x = [], _ = [], h = false;
|
|
10151
10170
|
if (!(v && (x = (_v$menus = v.menus) !== null && _v$menus !== void 0 ? _v$menus : []), !x.length)) {
|
|
10152
10171
|
_context58.n = 4;
|
|
10153
10172
|
break;
|
|
@@ -10165,7 +10184,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10165
10184
|
}
|
|
10166
10185
|
return _context58.a(2, false);
|
|
10167
10186
|
case 3:
|
|
10168
|
-
x = C !== null && C !== void 0 ? C : [],
|
|
10187
|
+
x = C !== null && C !== void 0 ? C : [], _ = E !== null && E !== void 0 ? E : [];
|
|
10169
10188
|
case 4:
|
|
10170
10189
|
if (!x.length) {
|
|
10171
10190
|
_context58.n = 7;
|
|
@@ -10203,7 +10222,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10203
10222
|
case 10:
|
|
10204
10223
|
g = _objectSpread(_objectSpread({}, d), {}, {
|
|
10205
10224
|
menus: x,
|
|
10206
|
-
originalMenus:
|
|
10225
|
+
originalMenus: _
|
|
10207
10226
|
});
|
|
10208
10227
|
return _context58.a(2, (lt([{
|
|
10209
10228
|
key: "subAppList",
|
|
@@ -10212,19 +10231,19 @@ var yh = /*#__PURE__*/function () {
|
|
|
10212
10231
|
}
|
|
10213
10232
|
}, _callee57);
|
|
10214
10233
|
}));
|
|
10215
|
-
return function l(
|
|
10234
|
+
return function l(_x63) {
|
|
10216
10235
|
return _ref105.apply(this, arguments);
|
|
10217
10236
|
};
|
|
10218
10237
|
}(),
|
|
10219
10238
|
_s = /*#__PURE__*/function () {
|
|
10220
10239
|
var _ref106 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee58(d) {
|
|
10221
10240
|
var _ref107, _ref108, _ref109, _ref110, _ref113;
|
|
10222
|
-
var S, I, z, H, G, _d$microApp, f, _d$menuCode, p, _d$menuPath, v, _d$route, x,
|
|
10241
|
+
var S, I, z, H, G, _d$microApp, f, _d$menuCode, p, _d$menuPath, v, _d$route, x, _, h$1, g, C, E, _ref111, K, _ref112, W, Z, T, P, _yield$xh, _yield$xh$menuConfig, k, _yield$xh$currentApp, b, _yield$xh$currentMenu, w, _yield$xh$microPath, B, _yield$xh$query, y, _ref114, _ref115, _K, U, _W, A, _getTabInfo$tabMap$A$, _K2, _U, _t42;
|
|
10223
10242
|
return _regenerator().w(function (_context59) {
|
|
10224
10243
|
while (1) switch (_context59.n) {
|
|
10225
10244
|
case 0:
|
|
10226
10245
|
_d$microApp = d.microApp, f = _d$microApp === void 0 ? null : _d$microApp, _d$menuCode = d.menuCode, p = _d$menuCode === void 0 ? "" : _d$menuCode, _d$menuPath = d.menuPath, v = _d$menuPath === void 0 ? "" : _d$menuPath, _d$route = d.route, x = _d$route === void 0 ? {} : _d$route;
|
|
10227
|
-
|
|
10246
|
+
_ = x;
|
|
10228
10247
|
if (!(!f && v)) {
|
|
10229
10248
|
_context59.n = 3;
|
|
10230
10249
|
break;
|
|
@@ -10240,13 +10259,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
10240
10259
|
_context59.n = 2;
|
|
10241
10260
|
return t.push({
|
|
10242
10261
|
path: v,
|
|
10243
|
-
query:
|
|
10262
|
+
query: _.query
|
|
10244
10263
|
});
|
|
10245
10264
|
case 2:
|
|
10246
10265
|
return _context59.a(2);
|
|
10247
10266
|
case 3:
|
|
10248
|
-
h$1 = (_ref107 = (S =
|
|
10249
|
-
g = (_ref108 = (I =
|
|
10267
|
+
h$1 = (_ref107 = (S = _.meta) == null ? undefined : S.showLayout) !== null && _ref107 !== void 0 ? _ref107 : true;
|
|
10268
|
+
g = (_ref108 = (I = _.query) == null ? undefined : I.showLayout) !== null && _ref108 !== void 0 ? _ref108 : true;
|
|
10250
10269
|
g === "false" && (g = false);
|
|
10251
10270
|
C = (_ref109 = f == null ? undefined : f.openType) !== null && _ref109 !== void 0 ? _ref109 : 1, E = (_ref110 = f == null ? undefined : f.type) !== null && _ref110 !== void 0 ? _ref110 : 1;
|
|
10252
10271
|
if (!(f.routeUrl && !i.includes(f.routeUrl))) {
|
|
@@ -10282,7 +10301,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10282
10301
|
_context59.n = 4;
|
|
10283
10302
|
return t.push({
|
|
10284
10303
|
path: f.routeUrl,
|
|
10285
|
-
query: _objectSpread(_objectSpread({},
|
|
10304
|
+
query: _objectSpread(_objectSpread({}, _.query), {}, {
|
|
10286
10305
|
app: f.code
|
|
10287
10306
|
})
|
|
10288
10307
|
});
|
|
@@ -10317,7 +10336,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10317
10336
|
_context59.n = 7;
|
|
10318
10337
|
return t.push({
|
|
10319
10338
|
path: T,
|
|
10320
|
-
query: _objectSpread(_objectSpread({},
|
|
10339
|
+
query: _objectSpread(_objectSpread({}, _.query), {}, {
|
|
10321
10340
|
app: f.code
|
|
10322
10341
|
})
|
|
10323
10342
|
});
|
|
@@ -10329,7 +10348,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10329
10348
|
microApp: f,
|
|
10330
10349
|
menuCode: p,
|
|
10331
10350
|
menuPath: v,
|
|
10332
|
-
route:
|
|
10351
|
+
route: _
|
|
10333
10352
|
});
|
|
10334
10353
|
case 9:
|
|
10335
10354
|
_yield$xh = _context59.v;
|
|
@@ -10343,13 +10362,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
10343
10362
|
B = _yield$xh$microPath === void 0 ? "" : _yield$xh$microPath;
|
|
10344
10363
|
_yield$xh$query = _yield$xh.query;
|
|
10345
10364
|
y = _yield$xh$query === void 0 ? {} : _yield$xh$query;
|
|
10346
|
-
if (!(w && (
|
|
10365
|
+
if (!(w && (_ = {
|
|
10347
10366
|
path: B || "/".concat(w.applicationPath).concat(w.routeUrl).replace(/\/\//g, "/"),
|
|
10348
10367
|
query: _objectSpread(_objectSpread({}, y), {}, {
|
|
10349
10368
|
app: w.applicationCode,
|
|
10350
10369
|
menu: w.code
|
|
10351
10370
|
}),
|
|
10352
|
-
meta: _objectSpread({}, (_ref113 =
|
|
10371
|
+
meta: _objectSpread({}, (_ref113 = _ == null ? undefined : _.meta) !== null && _ref113 !== void 0 ? _ref113 : {})
|
|
10353
10372
|
}), b && (b == null ? undefined : b.code) !== (f == null ? undefined : f.code))) {
|
|
10354
10373
|
_context59.n = 13;
|
|
10355
10374
|
break;
|
|
@@ -10391,7 +10410,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10391
10410
|
_context59.n = 14;
|
|
10392
10411
|
return t.push({
|
|
10393
10412
|
path: v,
|
|
10394
|
-
query: _objectSpread(_objectSpread({},
|
|
10413
|
+
query: _objectSpread(_objectSpread({}, _.query), {}, {
|
|
10395
10414
|
app: A.code
|
|
10396
10415
|
})
|
|
10397
10416
|
});
|
|
@@ -10420,20 +10439,20 @@ var yh = /*#__PURE__*/function () {
|
|
|
10420
10439
|
e({
|
|
10421
10440
|
currentMenu: w,
|
|
10422
10441
|
microPath: B,
|
|
10423
|
-
route:
|
|
10442
|
+
route: _
|
|
10424
10443
|
});
|
|
10425
10444
|
case 16:
|
|
10426
10445
|
return _context59.a(2);
|
|
10427
10446
|
}
|
|
10428
10447
|
}, _callee58);
|
|
10429
10448
|
}));
|
|
10430
|
-
return function s(
|
|
10449
|
+
return function s(_x64) {
|
|
10431
10450
|
return _ref106.apply(this, arguments);
|
|
10432
10451
|
};
|
|
10433
10452
|
}(),
|
|
10434
10453
|
u = /*#__PURE__*/function () {
|
|
10435
10454
|
var _ref116 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee59(d) {
|
|
10436
|
-
var f, _ref117, _ref118, p, v, x,
|
|
10455
|
+
var f, _ref117, _ref118, p, v, x, _;
|
|
10437
10456
|
return _regenerator().w(function (_context60) {
|
|
10438
10457
|
while (1) switch (_context60.n) {
|
|
10439
10458
|
case 0:
|
|
@@ -10469,13 +10488,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
10469
10488
|
}
|
|
10470
10489
|
p = (f = getSubApps().subAppList) == null ? undefined : f.find(function (h) {
|
|
10471
10490
|
return h.code === d.code;
|
|
10472
|
-
}), v = getTabInfo().preTab[d.code], x = (_ref117 = v == null ? undefined : v.code) !== null && _ref117 !== void 0 ? _ref117 : "",
|
|
10491
|
+
}), v = getTabInfo().preTab[d.code], x = (_ref117 = v == null ? undefined : v.code) !== null && _ref117 !== void 0 ? _ref117 : "", _ = _objectSpread({}, (_ref118 = v == null ? undefined : v.query) !== null && _ref118 !== void 0 ? _ref118 : {});
|
|
10473
10492
|
_context60.n = 3;
|
|
10474
10493
|
return _s({
|
|
10475
10494
|
microApp: p,
|
|
10476
10495
|
menuCode: x,
|
|
10477
10496
|
route: {
|
|
10478
|
-
query:
|
|
10497
|
+
query: _
|
|
10479
10498
|
}
|
|
10480
10499
|
});
|
|
10481
10500
|
case 3:
|
|
@@ -10483,7 +10502,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10483
10502
|
}
|
|
10484
10503
|
}, _callee59);
|
|
10485
10504
|
}));
|
|
10486
|
-
return function u(
|
|
10505
|
+
return function u(_x65) {
|
|
10487
10506
|
return _ref116.apply(this, arguments);
|
|
10488
10507
|
};
|
|
10489
10508
|
}();
|
|
@@ -10494,12 +10513,12 @@ var yh = /*#__PURE__*/function () {
|
|
|
10494
10513
|
deleteApp: function () {
|
|
10495
10514
|
var _deleteApp = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee60(d) {
|
|
10496
10515
|
var _getTabInfo$tabMap$d$;
|
|
10497
|
-
var
|
|
10516
|
+
var _, f, p, v, _h5, x, _h6, _h7;
|
|
10498
10517
|
return _regenerator().w(function (_context61) {
|
|
10499
10518
|
while (1) switch (_context61.n) {
|
|
10500
10519
|
case 0:
|
|
10501
10520
|
f = getSubApps();
|
|
10502
|
-
if ((
|
|
10521
|
+
if ((_ = f.subAppList) != null && _.length) {
|
|
10503
10522
|
_context61.n = 1;
|
|
10504
10523
|
break;
|
|
10505
10524
|
}
|
|
@@ -10562,7 +10581,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10562
10581
|
}
|
|
10563
10582
|
}, _callee60);
|
|
10564
10583
|
}));
|
|
10565
|
-
function deleteApp(
|
|
10584
|
+
function deleteApp(_x66) {
|
|
10566
10585
|
return _deleteApp.apply(this, arguments);
|
|
10567
10586
|
}
|
|
10568
10587
|
return deleteApp;
|
|
@@ -10586,7 +10605,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10586
10605
|
entryMenu: function () {
|
|
10587
10606
|
var _entryMenu = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee61(a) {
|
|
10588
10607
|
var _ref119, _ref120, _ref122, _ref123;
|
|
10589
|
-
var v, i, _a$route, c, _a$microPath, l, s, u,
|
|
10608
|
+
var v, i, _a$route, c, _a$microPath, l, s, u, m, d, x, _, _ref121, _x68, _5, h$1, _x69, f, p, _ref124, _x70, _t43, _t44;
|
|
10590
10609
|
return _regenerator().w(function (_context62) {
|
|
10591
10610
|
while (1) switch (_context62.n) {
|
|
10592
10611
|
case 0:
|
|
@@ -10601,13 +10620,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
10601
10620
|
app: i.applicationCode,
|
|
10602
10621
|
menu: i.code
|
|
10603
10622
|
});
|
|
10604
|
-
u = (_ref119 = i == null ? undefined : i.openType) !== null && _ref119 !== void 0 ? _ref119 : 1,
|
|
10623
|
+
u = (_ref119 = i == null ? undefined : i.openType) !== null && _ref119 !== void 0 ? _ref119 : 1, m = (_ref120 = i == null ? undefined : i.type) !== null && _ref120 !== void 0 ? _ref120 : 1;
|
|
10605
10624
|
d = "";
|
|
10606
10625
|
if (!(u === 1)) {
|
|
10607
10626
|
_context62.n = 7;
|
|
10608
10627
|
break;
|
|
10609
10628
|
}
|
|
10610
|
-
if (!(
|
|
10629
|
+
if (!(m === 1)) {
|
|
10611
10630
|
_context62.n = 5;
|
|
10612
10631
|
break;
|
|
10613
10632
|
}
|
|
@@ -10616,10 +10635,10 @@ var yh = /*#__PURE__*/function () {
|
|
|
10616
10635
|
break;
|
|
10617
10636
|
}
|
|
10618
10637
|
x = getUrlParams(i.routeUrl, "iframeSrc");
|
|
10619
|
-
if (d = "".concat(_t, "-").concat(i.code), !t.options.routes.find(function (
|
|
10620
|
-
return
|
|
10638
|
+
if (d = "".concat(_t, "-").concat(i.code), !t.options.routes.find(function (_) {
|
|
10639
|
+
return _.path === d;
|
|
10621
10640
|
})) {
|
|
10622
|
-
|
|
10641
|
+
_ = {
|
|
10623
10642
|
path: d,
|
|
10624
10643
|
name: d,
|
|
10625
10644
|
component: h(Kr, {
|
|
@@ -10630,7 +10649,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10630
10649
|
keepAlive: true
|
|
10631
10650
|
}
|
|
10632
10651
|
};
|
|
10633
|
-
t.addRoute(
|
|
10652
|
+
t.addRoute(_), t.options.routes.push(_);
|
|
10634
10653
|
}
|
|
10635
10654
|
_context62.n = 2;
|
|
10636
10655
|
return t.push({
|
|
@@ -10660,8 +10679,8 @@ var yh = /*#__PURE__*/function () {
|
|
|
10660
10679
|
_context62.n = 6;
|
|
10661
10680
|
return Qs(i.routeUrl, (_ref121 = i == null ? undefined : i.param) !== null && _ref121 !== void 0 ? _ref121 : []);
|
|
10662
10681
|
case 6:
|
|
10663
|
-
|
|
10664
|
-
|
|
10682
|
+
_x68 = _context62.v;
|
|
10683
|
+
_5 = Hr(setShowWatermark(setShowLayout(_x68)));
|
|
10665
10684
|
if (d = "".concat(_t, "-").concat(i.code), !t.options.routes.find(function (h) {
|
|
10666
10685
|
return h.path === d;
|
|
10667
10686
|
})) {
|
|
@@ -10669,7 +10688,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10669
10688
|
path: d,
|
|
10670
10689
|
name: d,
|
|
10671
10690
|
component: h(Kr, {
|
|
10672
|
-
src:
|
|
10691
|
+
src: _5
|
|
10673
10692
|
}),
|
|
10674
10693
|
meta: {
|
|
10675
10694
|
isIframe: true,
|
|
@@ -10688,8 +10707,8 @@ var yh = /*#__PURE__*/function () {
|
|
|
10688
10707
|
_context62.n = 10;
|
|
10689
10708
|
break;
|
|
10690
10709
|
}
|
|
10691
|
-
|
|
10692
|
-
|
|
10710
|
+
_x69 = m === 1 ? "/".concat(i.applicationPath).concat(i.routeUrl).replace(/\/\//g, "/") : i.routeUrl;
|
|
10711
|
+
_x69 = Hr(setShowWatermark(setShowLayout(_x69)));
|
|
10693
10712
|
if (!ke.innerSet) {
|
|
10694
10713
|
_context62.n = 9;
|
|
10695
10714
|
break;
|
|
@@ -10701,16 +10720,16 @@ var yh = /*#__PURE__*/function () {
|
|
|
10701
10720
|
query: s
|
|
10702
10721
|
});
|
|
10703
10722
|
case 8:
|
|
10704
|
-
|
|
10723
|
+
_x69 && window.open(_x69, "_blank");
|
|
10705
10724
|
_context62.n = 10;
|
|
10706
10725
|
break;
|
|
10707
10726
|
case 9:
|
|
10708
|
-
_t44 =
|
|
10727
|
+
_t44 = m === 1;
|
|
10709
10728
|
if (!_t44) {
|
|
10710
10729
|
_context62.n = 10;
|
|
10711
10730
|
break;
|
|
10712
10731
|
}
|
|
10713
|
-
d =
|
|
10732
|
+
d = _x69;
|
|
10714
10733
|
s = _objectSpread(_objectSpread({}, s), {}, {
|
|
10715
10734
|
showLayout: false
|
|
10716
10735
|
});
|
|
@@ -10729,7 +10748,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10729
10748
|
f = (_ref122 = (v = c.meta) == null ? undefined : v.showLayout) !== null && _ref122 !== void 0 ? _ref122 : true;
|
|
10730
10749
|
p = (_ref123 = s == null ? undefined : s.showLayout) !== null && _ref123 !== void 0 ? _ref123 : true;
|
|
10731
10750
|
if (p === "false" && (p = false), f && p) {
|
|
10732
|
-
|
|
10751
|
+
_x70 = {
|
|
10733
10752
|
currentApplication: getSubApps().currentSubApp.routeUrl,
|
|
10734
10753
|
applicationPath: i.applicationPath,
|
|
10735
10754
|
applicationCode: i.applicationCode,
|
|
@@ -10739,21 +10758,21 @@ var yh = /*#__PURE__*/function () {
|
|
|
10739
10758
|
path: d,
|
|
10740
10759
|
query: s
|
|
10741
10760
|
};
|
|
10742
|
-
layout.tab.appendItem(_objectSpread(_objectSpread({},
|
|
10743
|
-
value:
|
|
10744
|
-
label:
|
|
10761
|
+
layout.tab.appendItem(_objectSpread(_objectSpread({}, _x70), {}, {
|
|
10762
|
+
value: _x70.code,
|
|
10763
|
+
label: _x70.name
|
|
10745
10764
|
})), layout.tab.setActiveItem(i.code), layout.menu.setActiveItem(i.id), zs(i.code), He([{
|
|
10746
10765
|
key: "currentCode",
|
|
10747
10766
|
value: i.code
|
|
10748
10767
|
}, {
|
|
10749
10768
|
key: "currentTab",
|
|
10750
|
-
value:
|
|
10769
|
+
value: _x70
|
|
10751
10770
|
}, {
|
|
10752
10771
|
key: "preTab:".concat(i.applicationCode),
|
|
10753
|
-
value:
|
|
10772
|
+
value: _x70
|
|
10754
10773
|
}, {
|
|
10755
10774
|
key: "tabMap:".concat(i.applicationCode),
|
|
10756
|
-
value:
|
|
10775
|
+
value: _x70
|
|
10757
10776
|
}]);
|
|
10758
10777
|
}
|
|
10759
10778
|
case 11:
|
|
@@ -10761,7 +10780,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10761
10780
|
}
|
|
10762
10781
|
}, _callee61);
|
|
10763
10782
|
}));
|
|
10764
|
-
function entryMenu(
|
|
10783
|
+
function entryMenu(_x67) {
|
|
10765
10784
|
return _entryMenu.apply(this, arguments);
|
|
10766
10785
|
}
|
|
10767
10786
|
return entryMenu;
|
|
@@ -10805,8 +10824,8 @@ var yh = /*#__PURE__*/function () {
|
|
|
10805
10824
|
logout: "true"
|
|
10806
10825
|
};
|
|
10807
10826
|
n.ssoLocale && (l.locale = "locale");
|
|
10808
|
-
s = Object.keys(l).map(function (
|
|
10809
|
-
return "".concat(
|
|
10827
|
+
s = Object.keys(l).map(function (m) {
|
|
10828
|
+
return "".concat(m, "=").concat(l[m]);
|
|
10810
10829
|
}).join("&"), u = "".concat(n.baseURL).concat(i.logout, "?").concat(s);
|
|
10811
10830
|
window.__isAutoCloseApp = false, location.replace(u), sessionStorage.clear(), localStorage.removeItem("idelTime"), removeAccessToken();
|
|
10812
10831
|
case 1:
|
|
@@ -10822,7 +10841,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10822
10841
|
o = _n6.entryApp,
|
|
10823
10842
|
a = /*#__PURE__*/function () {
|
|
10824
10843
|
var _ref126 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee63() {
|
|
10825
|
-
var i, l, _yield$xo3, _yield$xo3$originalMe, s,
|
|
10844
|
+
var i, l, _yield$xo3, _yield$xo3$originalMe, s, m, _yield$ki2, f, p, v, d;
|
|
10826
10845
|
return _regenerator().w(function (_context64) {
|
|
10827
10846
|
while (1) switch (_context64.n) {
|
|
10828
10847
|
case 0:
|
|
@@ -10836,17 +10855,17 @@ var yh = /*#__PURE__*/function () {
|
|
|
10836
10855
|
_yield$xo3 = _context64.v;
|
|
10837
10856
|
_yield$xo3$originalMe = _yield$xo3.originalMenus;
|
|
10838
10857
|
s = _yield$xo3$originalMe === void 0 ? [] : _yield$xo3$originalMe;
|
|
10839
|
-
|
|
10858
|
+
m = flatTree$1(s).filter(function (f) {
|
|
10840
10859
|
return f.isMenu && f.routeUrl;
|
|
10841
10860
|
}).find(function (f) {
|
|
10842
10861
|
return f.routeUrl === "/userInfo";
|
|
10843
10862
|
});
|
|
10844
|
-
if (!(
|
|
10863
|
+
if (!(m != null && m.disable || m != null && m.expired)) {
|
|
10845
10864
|
_context64.n = 4;
|
|
10846
10865
|
break;
|
|
10847
10866
|
}
|
|
10848
10867
|
_context64.n = 2;
|
|
10849
|
-
return ki(
|
|
10868
|
+
return ki(m);
|
|
10850
10869
|
case 2:
|
|
10851
10870
|
_yield$ki2 = _context64.v;
|
|
10852
10871
|
f = _yield$ki2.title;
|
|
@@ -10912,7 +10931,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10912
10931
|
tenantId: r,
|
|
10913
10932
|
changeEnterprise: function () {
|
|
10914
10933
|
var _changeEnterprise = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee64(c) {
|
|
10915
|
-
var _yield$Lh$run, _yield$Lh$run2, l, s, _s$access_token, u, _s$refresh_token,
|
|
10934
|
+
var _yield$Lh$run, _yield$Lh$run2, l, s, _s$access_token, u, _s$refresh_token, m, _s$expires_in, d, _s$sub, f, _s$name, p, _s$flag, v, _s$tenant, x, _, h, g, _yield$$h$run, _yield$$h$run2, C, E, _C;
|
|
10916
10935
|
return _regenerator().w(function (_context65) {
|
|
10917
10936
|
while (1) switch (_context65.n) {
|
|
10918
10937
|
case 0:
|
|
@@ -10932,13 +10951,13 @@ var yh = /*#__PURE__*/function () {
|
|
|
10932
10951
|
return _context65.a(2);
|
|
10933
10952
|
case 2:
|
|
10934
10953
|
e.value = false;
|
|
10935
|
-
_s$access_token = s.access_token, u = _s$access_token === void 0 ? "" : _s$access_token, _s$refresh_token = s.refresh_token,
|
|
10954
|
+
_s$access_token = s.access_token, u = _s$access_token === void 0 ? "" : _s$access_token, _s$refresh_token = s.refresh_token, m = _s$refresh_token === void 0 ? "" : _s$refresh_token, _s$expires_in = s.expires_in, d = _s$expires_in === void 0 ? 0 : _s$expires_in, _s$sub = s.sub, f = _s$sub === void 0 ? "" : _s$sub, _s$name = s.name, p = _s$name === void 0 ? "" : _s$name, _s$flag = s.flag, v = _s$flag === void 0 ? "" : _s$flag, _s$tenant = s.tenant, x = _s$tenant === void 0 ? "" : _s$tenant, _ = {
|
|
10936
10955
|
accessToken: u,
|
|
10937
10956
|
accessTokenExpiredAt: + /* @__PURE__ */new Date() + Number(d) * 1e3,
|
|
10938
|
-
refreshToken:
|
|
10957
|
+
refreshToken: m,
|
|
10939
10958
|
info: s
|
|
10940
10959
|
};
|
|
10941
|
-
tokenStorage().save(
|
|
10960
|
+
tokenStorage().save(_), setProcessEngineToken(_);
|
|
10942
10961
|
h = {
|
|
10943
10962
|
id: f,
|
|
10944
10963
|
name: p,
|
|
@@ -10975,7 +10994,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
10975
10994
|
}
|
|
10976
10995
|
}, _callee64);
|
|
10977
10996
|
}));
|
|
10978
|
-
function changeEnterprise(
|
|
10997
|
+
function changeEnterprise(_x71) {
|
|
10979
10998
|
return _changeEnterprise.apply(this, arguments);
|
|
10980
10999
|
}
|
|
10981
11000
|
return changeEnterprise;
|
|
@@ -11011,7 +11030,7 @@ var yh = /*#__PURE__*/function () {
|
|
|
11011
11030
|
}
|
|
11012
11031
|
}, _callee65);
|
|
11013
11032
|
}));
|
|
11014
|
-
return function (
|
|
11033
|
+
return function (_x72) {
|
|
11015
11034
|
return _ref127.apply(this, arguments);
|
|
11016
11035
|
};
|
|
11017
11036
|
}());
|
|
@@ -11033,14 +11052,14 @@ var yh = /*#__PURE__*/function () {
|
|
|
11033
11052
|
l = i.get("menu");
|
|
11034
11053
|
if (l && c) {
|
|
11035
11054
|
var _map$flat, _getSubApps$appcatego;
|
|
11036
|
-
var
|
|
11055
|
+
var m = ((_map$flat = ((_getSubApps$appcatego = getSubApps().appcategorys) !== null && _getSubApps$appcatego !== void 0 ? _getSubApps$appcatego : []).map(function (d) {
|
|
11037
11056
|
return d.apps;
|
|
11038
11057
|
}).flat()) !== null && _map$flat !== void 0 ? _map$flat : []).find(function (d) {
|
|
11039
11058
|
return d.code === c;
|
|
11040
11059
|
});
|
|
11041
|
-
if (!
|
|
11060
|
+
if (!m) return;
|
|
11042
11061
|
e({
|
|
11043
|
-
microApp:
|
|
11062
|
+
microApp: m,
|
|
11044
11063
|
menuCode: l
|
|
11045
11064
|
});
|
|
11046
11065
|
}
|
|
@@ -11108,7 +11127,7 @@ var zh = function zh(t) {
|
|
|
11108
11127
|
},
|
|
11109
11128
|
a = /*#__PURE__*/function () {
|
|
11110
11129
|
var _ref90 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee67(i) {
|
|
11111
|
-
var _ref130, _ref130$toPath, c, _ref130$params, l, s, u, _yield$Nh,
|
|
11130
|
+
var _ref130, _ref130$toPath, c, _ref130$params, l, s, u, _yield$Nh, m, _m$instanceName, v, _l$clickSource, d, _l$isFirstEnter, f, p;
|
|
11112
11131
|
return _regenerator().w(function (_context68) {
|
|
11113
11132
|
while (1) switch (_context68.n) {
|
|
11114
11133
|
case 0:
|
|
@@ -11118,10 +11137,10 @@ var zh = function zh(t) {
|
|
|
11118
11137
|
return Nh();
|
|
11119
11138
|
case 1:
|
|
11120
11139
|
_yield$Nh = _context68.v;
|
|
11121
|
-
|
|
11122
|
-
if (
|
|
11123
|
-
v = isEmpty(
|
|
11124
|
-
u = Nr().endOf("day") > Nr(v).endOf("day"), u || (s = (
|
|
11140
|
+
m = _yield$Nh.instanceInfo;
|
|
11141
|
+
if (m) {
|
|
11142
|
+
v = isEmpty(m.endTime) || m.endTime == 0 || m.endTime === 253370736e6 || m.endTime === "253370736000000" ? "-" : Number(m.endTime);
|
|
11143
|
+
u = Nr().endOf("day") > Nr(v).endOf("day"), u || (s = (_m$instanceName = m.instanceName) !== null && _m$instanceName !== void 0 ? _m$instanceName : "实例");
|
|
11125
11144
|
}
|
|
11126
11145
|
o({
|
|
11127
11146
|
menuName: s
|
|
@@ -11129,7 +11148,7 @@ var zh = function zh(t) {
|
|
|
11129
11148
|
_l$clickSource = l.clickSource, d = _l$clickSource === void 0 ? "" : _l$clickSource, _l$isFirstEnter = l.isFirstEnter, f = _l$isFirstEnter === void 0 ? false : _l$isFirstEnter, p = vAuth(null, {
|
|
11130
11149
|
menuCode: "iot.statisticalReport"
|
|
11131
11150
|
});
|
|
11132
|
-
if (!(d === "nav" && f && c.toLowerCase() === n.toLowerCase() &&
|
|
11151
|
+
if (!(d === "nav" && f && c.toLowerCase() === n.toLowerCase() && m.id && !u && p)) {
|
|
11133
11152
|
_context68.n = 3;
|
|
11134
11153
|
break;
|
|
11135
11154
|
}
|
|
@@ -11152,7 +11171,7 @@ var zh = function zh(t) {
|
|
|
11152
11171
|
}
|
|
11153
11172
|
}, _callee67);
|
|
11154
11173
|
}));
|
|
11155
|
-
return function a(
|
|
11174
|
+
return function a(_x73) {
|
|
11156
11175
|
return _ref90.apply(this, arguments);
|
|
11157
11176
|
};
|
|
11158
11177
|
}();
|
|
@@ -11201,7 +11220,7 @@ var zh = function zh(t) {
|
|
|
11201
11220
|
}
|
|
11202
11221
|
}, _callee68);
|
|
11203
11222
|
}));
|
|
11204
|
-
return function (
|
|
11223
|
+
return function (_x74) {
|
|
11205
11224
|
return _ref132.apply(this, arguments);
|
|
11206
11225
|
};
|
|
11207
11226
|
}());
|
|
@@ -11338,7 +11357,7 @@ var zh = function zh(t) {
|
|
|
11338
11357
|
}
|
|
11339
11358
|
}, _callee70);
|
|
11340
11359
|
}));
|
|
11341
|
-
function message(
|
|
11360
|
+
function message(_x75) {
|
|
11342
11361
|
return _message.apply(this, arguments);
|
|
11343
11362
|
}
|
|
11344
11363
|
return message;
|
|
@@ -11399,7 +11418,7 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11399
11418
|
var e = _ref135.emit;
|
|
11400
11419
|
useCssVars(function (u) {
|
|
11401
11420
|
return {
|
|
11402
|
-
|
|
11421
|
+
"23bfa220": s.value
|
|
11403
11422
|
};
|
|
11404
11423
|
});
|
|
11405
11424
|
var n = t,
|
|
@@ -11419,17 +11438,17 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11419
11438
|
s = computed(function () {
|
|
11420
11439
|
return "calc(100% / ".concat(Math.sqrt(n.gridNum), ")");
|
|
11421
11440
|
});
|
|
11422
|
-
return function (u,
|
|
11441
|
+
return function (u, m) {
|
|
11423
11442
|
return openBlock(), createElementBlock("div", {
|
|
11424
11443
|
ref_key: "containerRef",
|
|
11425
11444
|
ref: o,
|
|
11426
11445
|
"class": normalizeClass(["wrapper", {
|
|
11427
11446
|
"is-active": n.active
|
|
11428
11447
|
}]),
|
|
11429
|
-
onDblclick:
|
|
11448
|
+
onDblclick: m[0] || (m[0] = function (d) {
|
|
11430
11449
|
return c();
|
|
11431
11450
|
}),
|
|
11432
|
-
onClick:
|
|
11451
|
+
onClick: m[1] || (m[1] = function (d) {
|
|
11433
11452
|
return l();
|
|
11434
11453
|
})
|
|
11435
11454
|
}, [renderSlot(u.$slots, "default", {}, undefined, true)], 34
|
|
@@ -11468,7 +11487,7 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11468
11487
|
}
|
|
11469
11488
|
}, {
|
|
11470
11489
|
"default": withCtx(function () {
|
|
11471
|
-
return [
|
|
11490
|
+
return [a.showFn(l) ? renderSlot(a.$slots, "default", {
|
|
11472
11491
|
key: 0,
|
|
11473
11492
|
index: l
|
|
11474
11493
|
}, undefined, true) : createCommentVNode("v-if", true)];
|
|
@@ -11694,7 +11713,7 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11694
11713
|
}),
|
|
11695
11714
|
s = ref(false),
|
|
11696
11715
|
u = ref(true),
|
|
11697
|
-
|
|
11716
|
+
m = function m(g) {
|
|
11698
11717
|
a.value = g, a.value.on(window.mpegts.Events.ERROR, function (C) {});
|
|
11699
11718
|
},
|
|
11700
11719
|
d = function d() {
|
|
@@ -11721,7 +11740,7 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11721
11740
|
x = function x(g) {
|
|
11722
11741
|
r("directionControl", g);
|
|
11723
11742
|
},
|
|
11724
|
-
|
|
11743
|
+
_ = function _(g) {
|
|
11725
11744
|
r("zoomControl", g);
|
|
11726
11745
|
},
|
|
11727
11746
|
h = function h(g) {
|
|
@@ -11769,14 +11788,14 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11769
11788
|
}, {
|
|
11770
11789
|
"default": withCtx(function () {
|
|
11771
11790
|
return [createElementVNode("div", ix, [createElementVNode("div", cx, [createElementVNode("div", lx, [createElementVNode("div", ux, toDisplayString(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title), 1
|
|
11772
|
-
/* TEXT */)])]), createElementVNode("div", dx, [["live"].includes(
|
|
11791
|
+
/* TEXT */)])]), createElementVNode("div", dx, [["live"].includes(g.type) ? (openBlock(), createElementBlock("span", fx, toDisplayString(unref(t$1)("正在实时预览")), 1
|
|
11773
11792
|
/* TEXT */)) : createCommentVNode("v-if", true), createCommentVNode(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')])]), n.videoUrl && u.value ? (openBlock(), createBlock(unref(DasLivePlayer), {
|
|
11774
11793
|
key: 0,
|
|
11775
11794
|
type: "flv",
|
|
11776
11795
|
ref_key: "dasLivePlayerRef",
|
|
11777
11796
|
ref: c,
|
|
11778
11797
|
muted: o.value,
|
|
11779
|
-
onLoaded:
|
|
11798
|
+
onLoaded: m,
|
|
11780
11799
|
src: n.videoUrl
|
|
11781
11800
|
}, null, 8, ["muted", "src"])) : createCommentVNode("v-if", true), createElementVNode("div", px, [C[3] || (C[3] = createElementVNode("div", {
|
|
11782
11801
|
"class": "video-bottom_l"
|
|
@@ -11820,7 +11839,7 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11820
11839
|
"class": "icon icon-shrink",
|
|
11821
11840
|
icon: "shrink",
|
|
11822
11841
|
onClick: C[0] || (C[0] = withModifiers(function (E) {
|
|
11823
|
-
return
|
|
11842
|
+
return _("zoomOut");
|
|
11824
11843
|
}, ["stop"]))
|
|
11825
11844
|
})) : createCommentVNode("v-if", true)];
|
|
11826
11845
|
}),
|
|
@@ -11836,7 +11855,7 @@ var Jh = Gh.post("data/device-auth"),
|
|
|
11836
11855
|
"class": "icon icon-enlarge",
|
|
11837
11856
|
icon: "enlarge",
|
|
11838
11857
|
onClick: C[1] || (C[1] = withModifiers(function (E) {
|
|
11839
|
-
return
|
|
11858
|
+
return _("zoomIn");
|
|
11840
11859
|
}, ["stop"]))
|
|
11841
11860
|
})) : createCommentVNode("v-if", true)];
|
|
11842
11861
|
}),
|
|
@@ -11981,10 +12000,10 @@ function mx(t) {
|
|
|
11981
12000
|
var l = _ref142.videoUrl,
|
|
11982
12001
|
s = _ref142.onDirectionControl,
|
|
11983
12002
|
u = _ref142.onZoomControl,
|
|
11984
|
-
|
|
12003
|
+
m = _ref142.loading;
|
|
11985
12004
|
return createVNode(vx, {
|
|
11986
12005
|
type: "live",
|
|
11987
|
-
loading:
|
|
12006
|
+
loading: m,
|
|
11988
12007
|
videoUrl: l,
|
|
11989
12008
|
title: c.deviceName,
|
|
11990
12009
|
onDirectionControl: s,
|
|
@@ -12056,7 +12075,7 @@ var _x = /* @__PURE__ */defineComponent({
|
|
|
12056
12075
|
justifyContent: "space-between",
|
|
12057
12076
|
alignItems: "center"
|
|
12058
12077
|
},
|
|
12059
|
-
onClosed:
|
|
12078
|
+
onClosed: i.closeCallback
|
|
12060
12079
|
}, {
|
|
12061
12080
|
header: withCtx(function () {
|
|
12062
12081
|
return [createElementVNode("div", null, toDisplayString(unref(t$1)("视频监控")), 1
|
|
@@ -12131,7 +12150,7 @@ var _x = /* @__PURE__ */defineComponent({
|
|
|
12131
12150
|
}
|
|
12132
12151
|
}, _callee73);
|
|
12133
12152
|
}));
|
|
12134
|
-
return function r(
|
|
12153
|
+
return function r(_x76) {
|
|
12135
12154
|
return _ref143.apply(this, arguments);
|
|
12136
12155
|
};
|
|
12137
12156
|
}(),
|
|
@@ -12161,7 +12180,7 @@ var _x = /* @__PURE__ */defineComponent({
|
|
|
12161
12180
|
},
|
|
12162
12181
|
message: function () {
|
|
12163
12182
|
var _message2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee74(s) {
|
|
12164
|
-
var u,
|
|
12183
|
+
var u, m, f;
|
|
12165
12184
|
return _regenerator().w(function (_context75) {
|
|
12166
12185
|
while (1) switch (_context75.n) {
|
|
12167
12186
|
case 0:
|
|
@@ -12170,12 +12189,12 @@ var _x = /* @__PURE__ */defineComponent({
|
|
|
12170
12189
|
break;
|
|
12171
12190
|
}
|
|
12172
12191
|
t.value = s.layout;
|
|
12173
|
-
|
|
12192
|
+
m = {
|
|
12174
12193
|
projectId: a,
|
|
12175
12194
|
deviceIds: s == null ? undefined : s.deviceId
|
|
12176
12195
|
};
|
|
12177
12196
|
_context75.n = 1;
|
|
12178
|
-
return r(
|
|
12197
|
+
return r(m);
|
|
12179
12198
|
case 1:
|
|
12180
12199
|
f = _context75.v.map(function (p) {
|
|
12181
12200
|
var v = p.lookupOrOperation == 1;
|
|
@@ -12200,7 +12219,7 @@ var _x = /* @__PURE__ */defineComponent({
|
|
|
12200
12219
|
}
|
|
12201
12220
|
}, _callee74);
|
|
12202
12221
|
}));
|
|
12203
|
-
function message(
|
|
12222
|
+
function message(_x77) {
|
|
12204
12223
|
return _message2.apply(this, arguments);
|
|
12205
12224
|
}
|
|
12206
12225
|
return message;
|
|
@@ -12424,7 +12443,7 @@ var un = /*#__PURE__*/function () {
|
|
|
12424
12443
|
}]);
|
|
12425
12444
|
}();
|
|
12426
12445
|
un.instance = new un();
|
|
12427
|
-
var kx = "8.0.
|
|
12446
|
+
var kx = "8.0.7";
|
|
12428
12447
|
var be = /*#__PURE__*/function () {
|
|
12429
12448
|
function be() {
|
|
12430
12449
|
_classCallCheck(this, be);
|
|
@@ -12495,7 +12514,7 @@ function wt(t) {
|
|
|
12495
12514
|
// Sometimes we get an ArrayBuffer that doesn't satisfy instanceof
|
|
12496
12515
|
t.constructor && t.constructor.name === "ArrayBuffer");
|
|
12497
12516
|
}
|
|
12498
|
-
function Fi(_x80, _x81, _x82, _x83
|
|
12517
|
+
function Fi(_x78, _x79, _x80, _x81, _x82, _x83) {
|
|
12499
12518
|
return _Fi.apply(this, arguments);
|
|
12500
12519
|
}
|
|
12501
12520
|
function _Fi() {
|
|
@@ -12707,7 +12726,7 @@ var Lx = /*#__PURE__*/function (_jn) {
|
|
|
12707
12726
|
}
|
|
12708
12727
|
}, _callee77, this, [[4, 6, 7, 8]]);
|
|
12709
12728
|
}));
|
|
12710
|
-
function send(
|
|
12729
|
+
function send(_x84) {
|
|
12711
12730
|
return _send.apply(this, arguments);
|
|
12712
12731
|
}
|
|
12713
12732
|
return send;
|
|
@@ -12831,17 +12850,17 @@ var Ox = /*#__PURE__*/function () {
|
|
|
12831
12850
|
value: function parseHandshakeResponse(e) {
|
|
12832
12851
|
var n, r;
|
|
12833
12852
|
if (wt(e)) {
|
|
12834
|
-
var
|
|
12835
|
-
l =
|
|
12853
|
+
var _c1 = new Uint8Array(e),
|
|
12854
|
+
l = _c1.indexOf(Ue.RecordSeparatorCode);
|
|
12836
12855
|
if (l === -1) throw new Error("Message is incomplete.");
|
|
12837
12856
|
var s = l + 1;
|
|
12838
|
-
n = String.fromCharCode.apply(null, Array.prototype.slice.call(
|
|
12857
|
+
n = String.fromCharCode.apply(null, Array.prototype.slice.call(_c1.slice(0, s))), r = _c1.byteLength > s ? _c1.slice(s).buffer : null;
|
|
12839
12858
|
} else {
|
|
12840
|
-
var
|
|
12841
|
-
_l3 =
|
|
12859
|
+
var _c10 = e,
|
|
12860
|
+
_l3 = _c10.indexOf(Ue.RecordSeparator);
|
|
12842
12861
|
if (_l3 === -1) throw new Error("Message is incomplete.");
|
|
12843
12862
|
var _s2 = _l3 + 1;
|
|
12844
|
-
n =
|
|
12863
|
+
n = _c10.substring(0, _s2), r = _c10.length > _s2 ? _c10.substring(_s2) : null;
|
|
12845
12864
|
}
|
|
12846
12865
|
var o = Ue.parse(n),
|
|
12847
12866
|
a = JSON.parse(o[0]);
|
|
@@ -12959,7 +12978,7 @@ var zx = /*#__PURE__*/function () {
|
|
|
12959
12978
|
}
|
|
12960
12979
|
}, _callee78, this, [[1, 3]]);
|
|
12961
12980
|
}));
|
|
12962
|
-
function _send(
|
|
12981
|
+
function _send(_x85) {
|
|
12963
12982
|
return _send2.apply(this, arguments);
|
|
12964
12983
|
}
|
|
12965
12984
|
return _send;
|
|
@@ -13462,9 +13481,9 @@ var mo = /*#__PURE__*/function () {
|
|
|
13462
13481
|
o = _this$_replaceStreami6[1],
|
|
13463
13482
|
a = this._createInvocation(e, n, false, o);
|
|
13464
13483
|
return new Promise(function (c, l) {
|
|
13465
|
-
_this16._callbacks[a.invocationId] = function (u,
|
|
13466
|
-
if (
|
|
13467
|
-
l(
|
|
13484
|
+
_this16._callbacks[a.invocationId] = function (u, m) {
|
|
13485
|
+
if (m) {
|
|
13486
|
+
l(m);
|
|
13468
13487
|
return;
|
|
13469
13488
|
} else u && (u.type === te.Completion ? u.error ? l(new Error(u.error)) : c(u.result) : l(new Error("Unexpected message type: ".concat(u.type))));
|
|
13470
13489
|
};
|
|
@@ -13735,7 +13754,7 @@ var mo = /*#__PURE__*/function () {
|
|
|
13735
13754
|
}
|
|
13736
13755
|
}, _callee86, this, [[5, 7], [3, 10, 11, 12]]);
|
|
13737
13756
|
}));
|
|
13738
|
-
function _invokeClientMethod(
|
|
13757
|
+
function _invokeClientMethod(_x86) {
|
|
13739
13758
|
return _invokeClientMethod2.apply(this, arguments);
|
|
13740
13759
|
}
|
|
13741
13760
|
return _invokeClientMethod;
|
|
@@ -13854,7 +13873,7 @@ var mo = /*#__PURE__*/function () {
|
|
|
13854
13873
|
}
|
|
13855
13874
|
}, _callee87, this, [[4, 7]]);
|
|
13856
13875
|
}));
|
|
13857
|
-
function _reconnect(
|
|
13876
|
+
function _reconnect(_x87) {
|
|
13858
13877
|
return _reconnect2.apply(this, arguments);
|
|
13859
13878
|
}
|
|
13860
13879
|
return _reconnect;
|
|
@@ -14114,7 +14133,7 @@ var Vx = /*#__PURE__*/function (_jn4) {
|
|
|
14114
14133
|
}
|
|
14115
14134
|
}, _callee88, this);
|
|
14116
14135
|
}));
|
|
14117
|
-
function send(
|
|
14136
|
+
function send(_x88) {
|
|
14118
14137
|
return _send3.apply(this, arguments);
|
|
14119
14138
|
}
|
|
14120
14139
|
return send;
|
|
@@ -14206,7 +14225,7 @@ var ls = /*#__PURE__*/function () {
|
|
|
14206
14225
|
}
|
|
14207
14226
|
}, _callee89, this);
|
|
14208
14227
|
}));
|
|
14209
|
-
function connect(
|
|
14228
|
+
function connect(_x89, _x90) {
|
|
14210
14229
|
return _connect.apply(this, arguments);
|
|
14211
14230
|
}
|
|
14212
14231
|
return connect;
|
|
@@ -14251,7 +14270,7 @@ var ls = /*#__PURE__*/function () {
|
|
|
14251
14270
|
}
|
|
14252
14271
|
}, _callee90, this, [[2, 4], [0,, 6, 7]]);
|
|
14253
14272
|
}));
|
|
14254
|
-
function _poll(
|
|
14273
|
+
function _poll(_x91, _x92) {
|
|
14255
14274
|
return _poll2.apply(this, arguments);
|
|
14256
14275
|
}
|
|
14257
14276
|
return _poll;
|
|
@@ -14267,7 +14286,7 @@ var ls = /*#__PURE__*/function () {
|
|
|
14267
14286
|
}
|
|
14268
14287
|
}, _callee91, this);
|
|
14269
14288
|
}));
|
|
14270
|
-
function send(
|
|
14289
|
+
function send(_x93) {
|
|
14271
14290
|
return _send4.apply(this, arguments);
|
|
14272
14291
|
}
|
|
14273
14292
|
return send;
|
|
@@ -14385,7 +14404,7 @@ var Gx = /*#__PURE__*/function () {
|
|
|
14385
14404
|
}
|
|
14386
14405
|
}, _callee93, this);
|
|
14387
14406
|
}));
|
|
14388
|
-
function connect(
|
|
14407
|
+
function connect(_x94, _x95) {
|
|
14389
14408
|
return _connect2.apply(this, arguments);
|
|
14390
14409
|
}
|
|
14391
14410
|
return connect;
|
|
@@ -14401,7 +14420,7 @@ var Gx = /*#__PURE__*/function () {
|
|
|
14401
14420
|
}
|
|
14402
14421
|
}, _callee94, this);
|
|
14403
14422
|
}));
|
|
14404
|
-
function send(
|
|
14423
|
+
function send(_x96) {
|
|
14405
14424
|
return _send5.apply(this, arguments);
|
|
14406
14425
|
}
|
|
14407
14426
|
return send;
|
|
@@ -14453,8 +14472,8 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14453
14472
|
_Ut7 = Ut(),
|
|
14454
14473
|
_Ut8 = _slicedToArray(_Ut7, 2),
|
|
14455
14474
|
u = _Ut8[0],
|
|
14456
|
-
|
|
14457
|
-
s[u] =
|
|
14475
|
+
m = _Ut8[1];
|
|
14476
|
+
s[u] = m, r && (s[yt.Authorization] = "Bearer ".concat(r)), c && (s[yt.Cookie] = c), i = new _this25._webSocketConstructor(e, undefined, {
|
|
14458
14477
|
headers: _objectSpread(_objectSpread({}, s), _this25._headers)
|
|
14459
14478
|
});
|
|
14460
14479
|
} else r && (e += (e.indexOf("?") < 0 ? "?" : "&") + "access_token=".concat(encodeURIComponent(r)));
|
|
@@ -14480,7 +14499,7 @@ var Xx = /*#__PURE__*/function () {
|
|
|
14480
14499
|
}
|
|
14481
14500
|
}, _callee95, this);
|
|
14482
14501
|
}));
|
|
14483
|
-
function connect(
|
|
14502
|
+
function connect(_x97, _x98) {
|
|
14484
14503
|
return _connect3.apply(this, arguments);
|
|
14485
14504
|
}
|
|
14486
14505
|
return connect;
|
|
@@ -14565,7 +14584,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14565
14584
|
}
|
|
14566
14585
|
}, _callee96, this);
|
|
14567
14586
|
}));
|
|
14568
|
-
function start(
|
|
14587
|
+
function start(_x99) {
|
|
14569
14588
|
return _start.apply(this, arguments);
|
|
14570
14589
|
}
|
|
14571
14590
|
return start;
|
|
@@ -14609,7 +14628,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14609
14628
|
}
|
|
14610
14629
|
}, _callee97, this);
|
|
14611
14630
|
}));
|
|
14612
|
-
function stop(
|
|
14631
|
+
function stop(_x100) {
|
|
14613
14632
|
return _stop3.apply(this, arguments);
|
|
14614
14633
|
}
|
|
14615
14634
|
return stop;
|
|
@@ -14658,7 +14677,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14658
14677
|
}
|
|
14659
14678
|
}, _callee98, this, [[5, 7], [1, 3]]);
|
|
14660
14679
|
}));
|
|
14661
|
-
function _stopInternal(
|
|
14680
|
+
function _stopInternal(_x101) {
|
|
14662
14681
|
return _stopInternal2.apply(this, arguments);
|
|
14663
14682
|
}
|
|
14664
14683
|
return _stopInternal;
|
|
@@ -14764,7 +14783,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14764
14783
|
}
|
|
14765
14784
|
}, _callee99, this, [[1, 11]]);
|
|
14766
14785
|
}));
|
|
14767
|
-
function _startInternal(
|
|
14786
|
+
function _startInternal(_x102) {
|
|
14768
14787
|
return _startInternal3.apply(this, arguments);
|
|
14769
14788
|
}
|
|
14770
14789
|
return _startInternal;
|
|
@@ -14773,7 +14792,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14773
14792
|
key: "_getNegotiationResponse",
|
|
14774
14793
|
value: function () {
|
|
14775
14794
|
var _getNegotiationResponse2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee100(e) {
|
|
14776
|
-
var n, _Ut9, _Ut0, r, o, a, i, c,
|
|
14795
|
+
var n, _Ut9, _Ut0, r, o, a, i, c, _c11, _t70;
|
|
14777
14796
|
return _regenerator().w(function (_context102) {
|
|
14778
14797
|
while (1) switch (_context102.p = _context102.n) {
|
|
14779
14798
|
case 0:
|
|
@@ -14802,12 +14821,12 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14802
14821
|
case 4:
|
|
14803
14822
|
_context102.p = 4;
|
|
14804
14823
|
_t70 = _context102.v;
|
|
14805
|
-
|
|
14806
|
-
return _context102.a(2, (_t70 instanceof Ct && _t70.statusCode === 404 && (
|
|
14824
|
+
_c11 = "Failed to complete negotiation with the server: " + _t70;
|
|
14825
|
+
return _context102.a(2, (_t70 instanceof Ct && _t70.statusCode === 404 && (_c11 = _c11 + " Either this is not a SignalR endpoint or there is a proxy blocking the connection."), this._logger.log(F$1.Error, _c11), Promise.reject(new ss(_c11))));
|
|
14807
14826
|
}
|
|
14808
14827
|
}, _callee100, this, [[1, 4]]);
|
|
14809
14828
|
}));
|
|
14810
|
-
function _getNegotiationResponse(
|
|
14829
|
+
function _getNegotiationResponse(_x103) {
|
|
14811
14830
|
return _getNegotiationResponse2.apply(this, arguments);
|
|
14812
14831
|
}
|
|
14813
14832
|
return _getNegotiationResponse;
|
|
@@ -14914,7 +14933,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14914
14933
|
}
|
|
14915
14934
|
}, _callee101, this, [[10, 12], [6, 8], [3, 15, 16, 17]]);
|
|
14916
14935
|
}));
|
|
14917
|
-
function _createTransport(
|
|
14936
|
+
function _createTransport(_x104, _x105, _x106, _x107) {
|
|
14918
14937
|
return _createTransport2.apply(this, arguments);
|
|
14919
14938
|
}
|
|
14920
14939
|
return _createTransport;
|
|
@@ -14977,7 +14996,7 @@ var Qx = /*#__PURE__*/function () {
|
|
|
14977
14996
|
}
|
|
14978
14997
|
}, _callee102, null, [[1, 4]]);
|
|
14979
14998
|
}));
|
|
14980
|
-
return function (
|
|
14999
|
+
return function (_x108) {
|
|
14981
15000
|
return _ref148.apply(this, arguments);
|
|
14982
15001
|
};
|
|
14983
15002
|
}() : this.transport.onclose = function (r) {
|
|
@@ -15423,7 +15442,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15423
15442
|
}
|
|
15424
15443
|
}, _callee104);
|
|
15425
15444
|
}));
|
|
15426
|
-
return function fs(
|
|
15445
|
+
return function fs(_x109, _x110) {
|
|
15427
15446
|
return _ref134.apply(this, arguments);
|
|
15428
15447
|
};
|
|
15429
15448
|
}(),
|
|
@@ -15436,11 +15455,11 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15436
15455
|
var r = null;
|
|
15437
15456
|
return onMounted(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee109() {
|
|
15438
15457
|
var _ref146;
|
|
15439
|
-
var
|
|
15458
|
+
var _, o, _t$query$showLayout, a, i, c, l, s, u, m, _yield$ds$run, _yield$ds$run2, d, f, p, v, x;
|
|
15440
15459
|
return _regenerator().w(function (_context111) {
|
|
15441
15460
|
while (1) switch (_context111.n) {
|
|
15442
15461
|
case 0:
|
|
15443
|
-
o = (_ref146 = (
|
|
15462
|
+
o = (_ref146 = (_ = t.meta) == null ? undefined : _.showLayout) !== null && _ref146 !== void 0 ? _ref146 : true, _t$query$showLayout = t.query.showLayout, a = _t$query$showLayout === void 0 ? true : _t$query$showLayout;
|
|
15444
15463
|
if (!(a === "false" && (a = false), !o || !a)) {
|
|
15445
15464
|
_context111.n = 1;
|
|
15446
15465
|
break;
|
|
@@ -15653,7 +15672,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15653
15672
|
}
|
|
15654
15673
|
}, _callee105);
|
|
15655
15674
|
}));
|
|
15656
|
-
return function c(
|
|
15675
|
+
return function c(_x111) {
|
|
15657
15676
|
return _ref147.apply(this, arguments);
|
|
15658
15677
|
};
|
|
15659
15678
|
}();
|
|
@@ -15741,12 +15760,12 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15741
15760
|
}
|
|
15742
15761
|
}, _callee107);
|
|
15743
15762
|
}));
|
|
15744
|
-
return function (
|
|
15763
|
+
return function (_x112) {
|
|
15745
15764
|
return _ref151.apply(this, arguments);
|
|
15746
15765
|
};
|
|
15747
15766
|
}());
|
|
15748
15767
|
};
|
|
15749
|
-
|
|
15768
|
+
m = ref("");
|
|
15750
15769
|
_context111.n = 3;
|
|
15751
15770
|
return ds().run();
|
|
15752
15771
|
case 3:
|
|
@@ -15754,7 +15773,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15754
15773
|
_yield$ds$run2 = _slicedToArray(_yield$ds$run, 2);
|
|
15755
15774
|
d = _yield$ds$run2[0];
|
|
15756
15775
|
f = _yield$ds$run2[1];
|
|
15757
|
-
|
|
15776
|
+
m.value = f, u(m.value);
|
|
15758
15777
|
p = /*#__PURE__*/function () {
|
|
15759
15778
|
var _ref152 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee108() {
|
|
15760
15779
|
var _yield$ds$run3, _yield$ds$run4, h, g;
|
|
@@ -15768,7 +15787,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15768
15787
|
_yield$ds$run4 = _slicedToArray(_yield$ds$run3, 2);
|
|
15769
15788
|
h = _yield$ds$run4[0];
|
|
15770
15789
|
g = _yield$ds$run4[1];
|
|
15771
|
-
g !==
|
|
15790
|
+
g !== m.value && (m.value = g, u(m.value));
|
|
15772
15791
|
case 2:
|
|
15773
15792
|
return _context110.a(2);
|
|
15774
15793
|
}
|
|
@@ -15905,7 +15924,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15905
15924
|
timeLimit: ""
|
|
15906
15925
|
// 处置时限
|
|
15907
15926
|
}),
|
|
15908
|
-
|
|
15927
|
+
m = ref(false),
|
|
15909
15928
|
d = ref([]),
|
|
15910
15929
|
f = ref([]),
|
|
15911
15930
|
p = ref([{
|
|
@@ -15920,7 +15939,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15920
15939
|
}]),
|
|
15921
15940
|
v = ref([]),
|
|
15922
15941
|
x = ref(""),
|
|
15923
|
-
|
|
15942
|
+
_ = ref(i18n("告警对象位置").value),
|
|
15924
15943
|
h = ref(""),
|
|
15925
15944
|
g = ref([]),
|
|
15926
15945
|
C = ref("");
|
|
@@ -15948,7 +15967,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15948
15967
|
}
|
|
15949
15968
|
}, _callee110);
|
|
15950
15969
|
}));
|
|
15951
|
-
return function b(
|
|
15970
|
+
return function b(_x113) {
|
|
15952
15971
|
return _ref154.apply(this, arguments);
|
|
15953
15972
|
};
|
|
15954
15973
|
}(),
|
|
@@ -15972,7 +15991,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
15972
15991
|
}
|
|
15973
15992
|
}, _callee111);
|
|
15974
15993
|
}));
|
|
15975
|
-
return function w(
|
|
15994
|
+
return function w(_x114) {
|
|
15976
15995
|
return _ref155.apply(this, arguments);
|
|
15977
15996
|
};
|
|
15978
15997
|
}(),
|
|
@@ -16035,7 +16054,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16035
16054
|
R.length > 0 && (x.value = R[0].path), s.value.reportPosition = j, C.value = "";
|
|
16036
16055
|
},
|
|
16037
16056
|
G = function G(j) {
|
|
16038
|
-
j && (u.value.reportPosition = "", x.value = ""), j ? (s.value.reportPosition = null, x.value = "",
|
|
16057
|
+
j && (u.value.reportPosition = "", x.value = ""), j ? (s.value.reportPosition = null, x.value = "", _.value = i18n("告警对象位置").value) : (s.value.reportPosition = null, x.value = "", _.value = i18n("请选择").value);
|
|
16039
16058
|
},
|
|
16040
16059
|
K = function K(j) {
|
|
16041
16060
|
j && (u.value.reportTheme = ""), j ? (s.value.reportTheme = "", h.value = i18n("告警对象").value) : (s.value.reportTheme = "", h.value = i18n("请输入").value);
|
|
@@ -16044,10 +16063,10 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16044
16063
|
u.value.processTypeId = "", u.value.reason = "", u.value.treatmentPlan = "", u.value.reportPosition = "", u.value.reportTheme = "", u.value.workOrderRules = "", u.value.eventTypeId = "", u.value.eventLevelId = "", u.value.timeLimit = "";
|
|
16045
16064
|
},
|
|
16046
16065
|
W = function W() {
|
|
16047
|
-
s.value.processTypeId = "confirm", s.value.reason = "", s.value.treatmentPlan = "", s.value.remarks = "", s.value.reportPosition = "", s.value.reportTheme = "", s.value.workOrderRules = null, k.value = true, y.value = true, B.value = true, s.value.reportTheme = i18n("告警对象").value, x.value = "",
|
|
16066
|
+
s.value.processTypeId = "confirm", s.value.reason = "", s.value.treatmentPlan = "", s.value.remarks = "", s.value.reportPosition = "", s.value.reportTheme = "", s.value.workOrderRules = null, k.value = true, y.value = true, B.value = true, s.value.reportTheme = i18n("告警对象").value, x.value = "", _.value = i18n("告警对象位置").value, h.value = i18n("请输入").value, s.value.eventTypeId = "", s.value.eventLevelId = null, s.value.timeLimit = "", s.value.interval = 1, d.value = [], f.value = [];
|
|
16048
16067
|
},
|
|
16049
16068
|
Z = function Z(j) {
|
|
16050
|
-
j == "eventTypeId" && (s.value.eventLevelId = null, P()), j == "eventLevelId" && M(), j == "interval" && (u.value.timeLimit = "", s.value.interval == 3 ? (
|
|
16069
|
+
j == "eventTypeId" && (s.value.eventLevelId = null, P()), j == "eventLevelId" && M(), j == "interval" && (u.value.timeLimit = "", s.value.interval == 3 ? (m.value = true, s.value.timeLimit = "") : m.value = false);
|
|
16051
16070
|
},
|
|
16052
16071
|
T = /*#__PURE__*/function () {
|
|
16053
16072
|
var _ref157 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee113() {
|
|
@@ -16216,7 +16235,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16216
16235
|
}
|
|
16217
16236
|
}, _callee117);
|
|
16218
16237
|
}));
|
|
16219
|
-
return function ne(
|
|
16238
|
+
return function ne(_x115) {
|
|
16220
16239
|
return _ref161.apply(this, arguments);
|
|
16221
16240
|
};
|
|
16222
16241
|
}(),
|
|
@@ -16455,7 +16474,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16455
16474
|
}),
|
|
16456
16475
|
showFullPath: true,
|
|
16457
16476
|
data: g.value,
|
|
16458
|
-
placeholder:
|
|
16477
|
+
placeholder: _.value,
|
|
16459
16478
|
disabled: E.value,
|
|
16460
16479
|
load: b,
|
|
16461
16480
|
search: w,
|
|
@@ -16741,7 +16760,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16741
16760
|
return function (i, c) {
|
|
16742
16761
|
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" <div class=\"alarm-msg\" :style=\"{ 'border-color': msgItem.color }\"> "), createElementVNode("div", $v, [createElementVNode("div", Mv, [createElementVNode("div", {
|
|
16743
16762
|
style: normalizeStyle({
|
|
16744
|
-
"background-color":
|
|
16763
|
+
"background-color": i.msgItem.color
|
|
16745
16764
|
}),
|
|
16746
16765
|
"class": "title-detail"
|
|
16747
16766
|
}, [createElementVNode("div", Ov, [createCommentVNode(" <div class=\"icon-box\" :style=\"{ color: msgItem.color }\">\r\n !\r\n </div> "), createElementVNode("div", Nv, toDisplayString(unref(i18n)("新告警").value), 1
|
|
@@ -16753,14 +16772,14 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16753
16772
|
/* TEXT */), createElementVNode("div", {
|
|
16754
16773
|
"class": "alarm-msg-line-right alarm-content-object",
|
|
16755
16774
|
style: normalizeStyle({
|
|
16756
|
-
color:
|
|
16775
|
+
color: i.msgItem.color
|
|
16757
16776
|
})
|
|
16758
|
-
}, toDisplayString(
|
|
16777
|
+
}, toDisplayString(i.msgItem.alarmLevelName || ""), 5
|
|
16759
16778
|
/* TEXT, STYLE */)]), createElementVNode("div", Uv, [createElementVNode("div", qv, toDisplayString(unref(i18n)("告警对象:").value), 1
|
|
16760
|
-
/* TEXT */), createElementVNode("div", Wv, toDisplayString(
|
|
16779
|
+
/* TEXT */), createElementVNode("div", Wv, toDisplayString(i.msgItem.equipmentName || ""), 1
|
|
16761
16780
|
/* TEXT */)]), createElementVNode("div", Vv, [createElementVNode("div", Kv, toDisplayString(unref(i18n)("告警内容:").value), 1
|
|
16762
|
-
/* TEXT */), createElementVNode("div", Gv, toDisplayString(
|
|
16763
|
-
/* TEXT */)]), createElementVNode("div", Xv, [
|
|
16781
|
+
/* TEXT */), createElementVNode("div", Gv, toDisplayString(i.msgItem.alarmContent || ""), 1
|
|
16782
|
+
/* TEXT */)]), createElementVNode("div", Xv, [i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (openBlock(), createBlock(unref(DasButton), {
|
|
16764
16783
|
key: 0,
|
|
16765
16784
|
block: "",
|
|
16766
16785
|
onClick: withModifiers(a, ["stop"]),
|
|
@@ -16773,7 +16792,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
|
|
|
16773
16792
|
}),
|
|
16774
16793
|
_: 1
|
|
16775
16794
|
/* STABLE */
|
|
16776
|
-
})) : createCommentVNode("v-if", true),
|
|
16795
|
+
})) : createCommentVNode("v-if", true), i.alarmhandle ? (openBlock(), createBlock(unref(DasButton), {
|
|
16777
16796
|
key: 1,
|
|
16778
16797
|
block: "",
|
|
16779
16798
|
btnType: "primary-text",
|
|
@@ -16841,7 +16860,7 @@ var Zv = function Zv() {
|
|
|
16841
16860
|
}), o.value = B, (y = n.value) == null || y.open();
|
|
16842
16861
|
},
|
|
16843
16862
|
_mainAppFramework$hoo4 = mainAppFramework.hooks.useEntryApp(),
|
|
16844
|
-
|
|
16863
|
+
m = _mainAppFramework$hoo4.entryApp,
|
|
16845
16864
|
d = function d(w) {
|
|
16846
16865
|
devicePanelShow(w.equipmentCode, w.equipmentPanelCode);
|
|
16847
16866
|
},
|
|
@@ -16859,7 +16878,7 @@ var Zv = function Zv() {
|
|
|
16859
16878
|
}).flat()) !== null && _ref165 !== void 0 ? _ref165 : []).find(function (A) {
|
|
16860
16879
|
return A.code === "alarm";
|
|
16861
16880
|
});
|
|
16862
|
-
B &&
|
|
16881
|
+
B && m({
|
|
16863
16882
|
microApp: B,
|
|
16864
16883
|
menuPath: "/".concat(B.routeUrl, "/realTimeAlarm")
|
|
16865
16884
|
});
|
|
@@ -16875,11 +16894,11 @@ var Zv = function Zv() {
|
|
|
16875
16894
|
v = [],
|
|
16876
16895
|
x = function x(w) {
|
|
16877
16896
|
if (v.push(w), a.value.length < 2) {
|
|
16878
|
-
|
|
16897
|
+
_6(v[0]), v.shift();
|
|
16879
16898
|
return;
|
|
16880
16899
|
}
|
|
16881
16900
|
},
|
|
16882
|
-
|
|
16901
|
+
_6 = function _(w) {
|
|
16883
16902
|
if (!w) return;
|
|
16884
16903
|
var B = Jv();
|
|
16885
16904
|
DasNotification.open({
|
|
@@ -16903,7 +16922,7 @@ var Zv = function Zv() {
|
|
|
16903
16922
|
return A == B;
|
|
16904
16923
|
});
|
|
16905
16924
|
if (y >= 0 && a.value.splice(y, 1), a.value.length < 2 && v.length) {
|
|
16906
|
-
|
|
16925
|
+
_6(v[0]), v.shift();
|
|
16907
16926
|
return;
|
|
16908
16927
|
}
|
|
16909
16928
|
}, 300);
|
|
@@ -17015,7 +17034,7 @@ var Zv = function Zv() {
|
|
|
17015
17034
|
}
|
|
17016
17035
|
}, _callee121);
|
|
17017
17036
|
}));
|
|
17018
|
-
function message(
|
|
17037
|
+
function message(_x116) {
|
|
17019
17038
|
return _message3.apply(this, arguments);
|
|
17020
17039
|
}
|
|
17021
17040
|
return message;
|
|
@@ -17121,7 +17140,7 @@ var Zv = function Zv() {
|
|
|
17121
17140
|
var _Ph = Ph(),
|
|
17122
17141
|
s = _Ph.fontColor,
|
|
17123
17142
|
u = _Ph.backgroudColor,
|
|
17124
|
-
|
|
17143
|
+
m = _Ph.borderColor;
|
|
17125
17144
|
return Hh(), Uh(), qh(), Vh(), yx(), pv(), function (d, f) {
|
|
17126
17145
|
return openBlock(), createElementBlock("div", ng, [createCommentVNode(" <button @click=\"test(0)\">test</button>\r\n <button style=\"margin-left: 5px\" @click=\"test(1)\">test2</button> "), createVNode(unref(hl), {
|
|
17127
17146
|
platformInitNextTick: unref(l)
|
|
@@ -17135,7 +17154,7 @@ var Zv = function Zv() {
|
|
|
17135
17154
|
tabsAttr: {
|
|
17136
17155
|
fontColor: unref(s),
|
|
17137
17156
|
backgroudColor: unref(u),
|
|
17138
|
-
borderColor: unref(
|
|
17157
|
+
borderColor: unref(m)
|
|
17139
17158
|
},
|
|
17140
17159
|
menuAttr: c.value
|
|
17141
17160
|
}, createSlots({
|
|
@@ -17807,14 +17826,14 @@ var sg = [{
|
|
|
17807
17826
|
path: ot,
|
|
17808
17827
|
component: function component() {
|
|
17809
17828
|
return Promise.resolve().then(function () {
|
|
17810
|
-
return
|
|
17829
|
+
return indexCUR2UuLR;
|
|
17811
17830
|
});
|
|
17812
17831
|
}
|
|
17813
17832
|
}, {
|
|
17814
17833
|
path: Os,
|
|
17815
17834
|
component: function component() {
|
|
17816
17835
|
return Promise.resolve().then(function () {
|
|
17817
|
-
return
|
|
17836
|
+
return indexCNxj49VD;
|
|
17818
17837
|
});
|
|
17819
17838
|
}
|
|
17820
17839
|
}],
|
|
@@ -17975,7 +17994,7 @@ var V = "v1",
|
|
|
17975
17994
|
}
|
|
17976
17995
|
}, _callee124);
|
|
17977
17996
|
}));
|
|
17978
|
-
return function v(
|
|
17997
|
+
return function v(_x117) {
|
|
17979
17998
|
return _ref168.apply(this, arguments);
|
|
17980
17999
|
};
|
|
17981
18000
|
}();
|
|
@@ -17997,7 +18016,7 @@ var V = "v1",
|
|
|
17997
18016
|
};
|
|
17998
18017
|
}
|
|
17999
18018
|
});
|
|
18000
|
-
var
|
|
18019
|
+
var indexCUR2UuLR = /*#__PURE__*/Object.freeze({
|
|
18001
18020
|
__proto__: null,
|
|
18002
18021
|
"default": oo
|
|
18003
18022
|
});
|
|
@@ -18006,7 +18025,7 @@ function t(n, _) {
|
|
|
18006
18025
|
return openBlock(), createElementBlock("div");
|
|
18007
18026
|
}
|
|
18008
18027
|
var a = /* @__PURE__ */Ne(o, [["render", t]]);
|
|
18009
|
-
var
|
|
18028
|
+
var indexCNxj49VD = /*#__PURE__*/Object.freeze({
|
|
18010
18029
|
__proto__: null,
|
|
18011
18030
|
"default": a
|
|
18012
18031
|
});
|