@das-fed/web 6.4.0-dev.22 → 6.4.0-dev.23
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/{packages/main-app-framework/index-C_OT_ADZ.js → index-ByENyZQn.js} +1 -1
- package/index-ByENyZQn.js.gz +0 -0
- package/{index-6kRVLftK.js → index-CAO0LRaP.js} +1 -1
- package/index-CAO0LRaP.js.gz +0 -0
- package/{packages/main-app-framework/index-DetS3zLf.js → index-DWT7O-tu.js} +1 -1
- package/{index-U3yMWk6z.js → index-sjZbOO0N.js} +82 -82
- package/index-sjZbOO0N.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/layout/index.js.gz +0 -0
- package/packages/main-app-framework/{index-Bm0_-O34.js → index-BCOqm-Sl.js} +228 -228
- package/packages/main-app-framework/index-BCOqm-Sl.js.gz +0 -0
- package/{index-DGIGwZce.js → packages/main-app-framework/index-DCqOCM9d.js} +1 -1
- package/packages/main-app-framework/{index-BCccW0Og.js → index-Dmb3C3y5.js} +1 -1
- package/packages/main-app-framework/index-Dmb3C3y5.js.gz +0 -0
- package/{index-Dh0QsqJt.js → packages/main-app-framework/index-DuIncATn.js} +1 -1
- package/packages/main-app-framework/index-DuIncATn.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/micro-frontend/index.js.gz +0 -0
- package/index-6kRVLftK.js.gz +0 -0
- package/index-Dh0QsqJt.js.gz +0 -0
- package/index-U3yMWk6z.js.gz +0 -0
- package/packages/main-app-framework/index-BCccW0Og.js.gz +0 -0
- package/packages/main-app-framework/index-Bm0_-O34.js.gz +0 -0
- package/packages/main-app-framework/index-C_OT_ADZ.js.gz +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as pe, computed as Ce, openBlock as H, createBlock as V, unref as v, mergeProps as Ir, withCtx as
|
|
1
|
+
import { defineComponent as pe, computed as Ce, openBlock as H, createBlock as V, unref as v, mergeProps as Ir, withCtx as x, renderSlot as $e, createVNode as M, getCurrentScope as Er, onScopeDispose as Sr, getCurrentInstance as Tr, onMounted as Qe, nextTick as Fe, ref as E, watch as oe, reactive as yo, createElementVNode as L, createTextVNode as le, createElementBlock as de, Fragment as We, renderList as _o, withDirectives as kr, toDisplayString as Z, createCommentVNode as U, h as he, render as vt, onBeforeUnmount as Et, useCssVars as Pr, normalizeClass as Br, withModifiers as te, toRefs as Or, normalizeStyle as Sn, isRef as Dr } from "vue";
|
|
2
2
|
import { i18n as Q } from "@das-fed/web/packages/i18n/index";
|
|
3
|
-
import { DasWebLayout as $r, DasWebNav as Lr, DasWebMenu as
|
|
3
|
+
import { DasWebLayout as $r, DasWebNav as Lr, DasWebMenu as xr, DasWebTabs as Mr, layout as D } from "@das-fed/web/packages/layout/index";
|
|
4
4
|
import { DasChangePwdRef as Rr, DasChangePwd as Qr } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
5
5
|
import { DasChangeEnterprises as jr } from "@das-fed/ui/packages/business-components/change-enterprises/index";
|
|
6
6
|
import { pureImageSrc as Xt } from "@das-fed/utils/pure-image-src";
|
|
7
7
|
import { DasNotification as yt } from "@das-fed/ui/packages/components/notification/index";
|
|
8
8
|
import { flatTree as ye, filterTreeArray as Hr, isEmpty as Nr, treeFind as Tn, updateFavIcon as Ur, dateFormat as Fr, runPromiseByQueue as Jr, objEqual as Nt, setShowWatermark as Ut, setShowLayout as Ft, getUrlParams as Wr, withToken as zr } from "@das-fed/utils/common-tools";
|
|
9
|
-
import { getSubApps as F, getTabInfo as
|
|
9
|
+
import { getSubApps as F, getTabInfo as ae, getPersonalInfo as St, getTenantInfo as Zt, getProjectInfo as Pe, getToken as Yt, getUserInfo as bo, getMenus as _t } from "@das-fed/utils/common-info";
|
|
10
10
|
import { setProcessEngineProject as wo, setProcessEngineToken as Co } from "@das-fed/utils/process-engine-info";
|
|
11
11
|
import { oauthServer as Io, justauth as en, enterpriseright as tn, iotModules as Vr, portal as Be, systemConfiguration as nn } from "@das-fed/utils/api-services/modules";
|
|
12
12
|
import { createService as je } from "@das-fed/utils/create-api-service";
|
|
@@ -16,7 +16,7 @@ import { systemConfiguration as Kr, enterpriseright as rn, createService as Xe,
|
|
|
16
16
|
import { getConfig as He } from "@das-fed/utils/config";
|
|
17
17
|
import Jt from "dayjs";
|
|
18
18
|
import { getAccessToken as Gr, removeAccessToken as Xr } from "@das-fed/utils/token-tools";
|
|
19
|
-
import { microFrontend as
|
|
19
|
+
import { microFrontend as ue } from "@das-fed/web/packages/micro-frontend/index";
|
|
20
20
|
import { DasDialog as sn } from "@das-fed/ui/packages/components/dialog/index";
|
|
21
21
|
import { DasButton as ke } from "@das-fed/ui/packages/components/button/index";
|
|
22
22
|
import { vDasTooltip as Zr } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
@@ -28,7 +28,7 @@ import { DasIcon as De, DasAutoRegisterIcon as To } from "@das-fed/ui/packages/c
|
|
|
28
28
|
import { socketService as an } from "@das-fed/utils/webSocket-service";
|
|
29
29
|
import { userInfoNextTick as ss, tokenNextTick as Tt } from "@das-fed/utils/nextTiken";
|
|
30
30
|
import { mainAppFramework as bt } from "@das-fed/web/packages/main-app-framework/index";
|
|
31
|
-
import { DasTooltip as
|
|
31
|
+
import { DasTooltip as ie } from "@das-fed/ui/packages/components/tooltip/index";
|
|
32
32
|
import { DasLivePlayer as is } from "@das-fed/ui/packages/components/live-player/index";
|
|
33
33
|
import { DasSpin as ko } from "@das-fed/ui/packages/components/spin/index";
|
|
34
34
|
import { DasWatermark as as } from "@das-fed/ui/packages/components/watermark/index";
|
|
@@ -72,22 +72,22 @@ const nt = "/", Ie = "/application", Po = [
|
|
|
72
72
|
routeKeepAliveVisible: e.routeKeepAliveVisible
|
|
73
73
|
}));
|
|
74
74
|
return (r, i) => (H(), V(v($r), Ir({ "transition-config": t.value }, o.value), {
|
|
75
|
-
header:
|
|
75
|
+
header: x(() => [
|
|
76
76
|
$e(r.$slots, "header", {}, () => [
|
|
77
|
-
|
|
77
|
+
M(v(Lr))
|
|
78
78
|
])
|
|
79
79
|
]),
|
|
80
|
-
aside:
|
|
80
|
+
aside: x(() => [
|
|
81
81
|
$e(r.$slots, "aside", {}, () => [
|
|
82
|
-
|
|
82
|
+
M(v(xr), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
|
|
83
83
|
])
|
|
84
84
|
]),
|
|
85
|
-
tab:
|
|
85
|
+
tab: x(() => [
|
|
86
86
|
$e(r.$slots, "tab", {}, () => [
|
|
87
|
-
|
|
87
|
+
M(v(Mr), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
90
|
-
banner:
|
|
90
|
+
banner: x(() => [
|
|
91
91
|
$e(r.$slots, "banner")
|
|
92
92
|
]),
|
|
93
93
|
_: 3
|
|
@@ -214,15 +214,15 @@ function lt(n, e = {}) {
|
|
|
214
214
|
toggle: S
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var xn;
|
|
218
218
|
(function(n) {
|
|
219
219
|
n.UP = "UP", n.RIGHT = "RIGHT", n.DOWN = "DOWN", n.LEFT = "LEFT", n.NONE = "NONE";
|
|
220
|
-
})(
|
|
221
|
-
var ws = Object.defineProperty,
|
|
220
|
+
})(xn || (xn = {}));
|
|
221
|
+
var ws = Object.defineProperty, Mn = Object.getOwnPropertySymbols, Cs = Object.prototype.hasOwnProperty, Is = Object.prototype.propertyIsEnumerable, Rn = (n, e, t) => e in n ? ws(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Es = (n, e) => {
|
|
222
222
|
for (var t in e || (e = {}))
|
|
223
223
|
Cs.call(e, t) && Rn(n, t, e[t]);
|
|
224
|
-
if (
|
|
225
|
-
for (var t of
|
|
224
|
+
if (Mn)
|
|
225
|
+
for (var t of Mn(e))
|
|
226
226
|
Is.call(e, t) && Rn(n, t, e[t]);
|
|
227
227
|
return n;
|
|
228
228
|
};
|
|
@@ -315,7 +315,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
315
315
|
g === "false" && (g = !1), m(p && !!(d && g));
|
|
316
316
|
},
|
|
317
317
|
{ immediate: !0 }
|
|
318
|
-
),
|
|
318
|
+
), ue.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
|
|
319
319
|
var d, g;
|
|
320
320
|
await A();
|
|
321
321
|
const b = !!((d = t.value) != null && d.pageSwith);
|
|
@@ -329,7 +329,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
329
329
|
width: o.value,
|
|
330
330
|
height: r.value
|
|
331
331
|
}, {
|
|
332
|
-
default:
|
|
332
|
+
default: x(() => [
|
|
333
333
|
$e(b.$slots, "default", {}, void 0, !0)
|
|
334
334
|
]),
|
|
335
335
|
_: 3
|
|
@@ -366,22 +366,22 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
366
366
|
"custom-class": "menu-tip-diaolg",
|
|
367
367
|
onClosed: t.closeCallback
|
|
368
368
|
}, {
|
|
369
|
-
footer:
|
|
369
|
+
footer: x(() => [
|
|
370
370
|
L("div", Ds, [
|
|
371
|
-
|
|
371
|
+
M(v(ke), {
|
|
372
372
|
btnType: "default",
|
|
373
373
|
size: "small",
|
|
374
374
|
onClick: t.closeCallback
|
|
375
375
|
}, {
|
|
376
|
-
default:
|
|
377
|
-
|
|
376
|
+
default: x(() => o[2] || (o[2] = [
|
|
377
|
+
le("我知道了")
|
|
378
378
|
])),
|
|
379
379
|
_: 1
|
|
380
380
|
/* STABLE */
|
|
381
381
|
}, 8, ["onClick"])
|
|
382
382
|
])
|
|
383
383
|
]),
|
|
384
|
-
default:
|
|
384
|
+
default: x(() => [
|
|
385
385
|
L("div", {
|
|
386
386
|
class: "content",
|
|
387
387
|
innerHTML: t.content
|
|
@@ -404,7 +404,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
404
404
|
key: i,
|
|
405
405
|
class: "desc-item"
|
|
406
406
|
}, [
|
|
407
|
-
|
|
407
|
+
le(
|
|
408
408
|
Z(r),
|
|
409
409
|
1
|
|
410
410
|
/* TEXT */
|
|
@@ -433,7 +433,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
433
433
|
vt(a, r);
|
|
434
434
|
});
|
|
435
435
|
ts(Bs);
|
|
436
|
-
const
|
|
436
|
+
const xs = "data:image/png;base64,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", Ms = "data:image/png;base64,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", Rs = (n = {}) => {
|
|
437
437
|
sessionStorage.setItem("userInfo", JSON.stringify(n));
|
|
438
438
|
}, Qs = (n = {}) => {
|
|
439
439
|
var t;
|
|
@@ -453,8 +453,8 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
453
453
|
sessionStorage.setItem("projectInfo", JSON.stringify(n || { id: 0 })), sessionStorage.setItem("project", (n == null ? void 0 : n.id) || 0);
|
|
454
454
|
}, Ns = () => {
|
|
455
455
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
456
|
-
},
|
|
457
|
-
let e =
|
|
456
|
+
}, ce = (n) => {
|
|
457
|
+
let e = ae();
|
|
458
458
|
n.forEach((t) => {
|
|
459
459
|
var o;
|
|
460
460
|
if (t.key.startsWith("tabMap")) {
|
|
@@ -472,7 +472,7 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
472
472
|
} else
|
|
473
473
|
Object.assign(e, { [t.key]: t.value });
|
|
474
474
|
}), sessionStorage.setItem("tabs", JSON.stringify(e));
|
|
475
|
-
},
|
|
475
|
+
}, xo = () => {
|
|
476
476
|
sessionStorage.removeItem("tabs");
|
|
477
477
|
}, Ae = (n) => {
|
|
478
478
|
let e = F();
|
|
@@ -489,7 +489,7 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
489
489
|
{ key: "currentSubAppCode", value: "" },
|
|
490
490
|
{ key: "subAppList", value: [] }
|
|
491
491
|
]);
|
|
492
|
-
},
|
|
492
|
+
}, Mo = (n) => {
|
|
493
493
|
let e = F();
|
|
494
494
|
e.currentSubApp.currentMenuCode = n;
|
|
495
495
|
for (const t in e.subAppList)
|
|
@@ -549,7 +549,7 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
549
549
|
}, qs = (n) => {
|
|
550
550
|
sessionStorage.setItem("instance", JSON.stringify(n));
|
|
551
551
|
}, Ro = () => {
|
|
552
|
-
Fs(), ln(),
|
|
552
|
+
Fs(), ln(), xo(), Ws(), Vs();
|
|
553
553
|
}, Ks = (n) => {
|
|
554
554
|
const e = JSON.parse(sessionStorage.getItem(n) || "{}");
|
|
555
555
|
if (e && JSON.stringify(e) !== "{}" && e != null && e.exitConfirmPages && e.exitConfirmPages.length) {
|
|
@@ -674,8 +674,8 @@ function No(n) {
|
|
|
674
674
|
var e = ut(n);
|
|
675
675
|
return e == ki || e == Pi || e == Ti || e == Bi;
|
|
676
676
|
}
|
|
677
|
-
var
|
|
678
|
-
var n = /[^.]+$/.exec(
|
|
677
|
+
var Mt = be["__core-js_shared__"], jn = function() {
|
|
678
|
+
var n = /[^.]+$/.exec(Mt && Mt.keys && Mt.keys.IE_PROTO || "");
|
|
679
679
|
return n ? "Symbol(src)_1." + n : "";
|
|
680
680
|
}();
|
|
681
681
|
function Oi(n) {
|
|
@@ -695,13 +695,13 @@ function Ne(n) {
|
|
|
695
695
|
}
|
|
696
696
|
return "";
|
|
697
697
|
}
|
|
698
|
-
var Li = /[\\^$.*+?()[\]{}|]/g,
|
|
698
|
+
var Li = /[\\^$.*+?()[\]{}|]/g, xi = /^\[object .+?Constructor\]$/, Mi = Function.prototype, Ri = Object.prototype, Qi = Mi.toString, ji = Ri.hasOwnProperty, Hi = RegExp(
|
|
699
699
|
"^" + Qi.call(ji).replace(Li, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
700
700
|
);
|
|
701
701
|
function Ni(n) {
|
|
702
702
|
if (!dt(n) || Oi(n))
|
|
703
703
|
return !1;
|
|
704
|
-
var e = No(n) ? Hi :
|
|
704
|
+
var e = No(n) ? Hi : xi;
|
|
705
705
|
return e.test(Ne(n));
|
|
706
706
|
}
|
|
707
707
|
function Ui(n, e) {
|
|
@@ -738,23 +738,23 @@ function Yi(n, e) {
|
|
|
738
738
|
var t = this.__data__;
|
|
739
739
|
return this.size += this.has(n) ? 0 : 1, t[n] = it && e === void 0 ? Zi : e, this;
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function Me(n) {
|
|
742
742
|
var e = -1, t = n == null ? 0 : n.length;
|
|
743
743
|
for (this.clear(); ++e < t; ) {
|
|
744
744
|
var o = n[e];
|
|
745
745
|
this.set(o[0], o[1]);
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
748
|
+
Me.prototype.clear = Fi;
|
|
749
|
+
Me.prototype.delete = Ji;
|
|
750
|
+
Me.prototype.get = qi;
|
|
751
|
+
Me.prototype.has = Xi;
|
|
752
|
+
Me.prototype.set = Yi;
|
|
753
753
|
function ea() {
|
|
754
754
|
this.size = 0, this.__data__ = {
|
|
755
|
-
hash: new
|
|
755
|
+
hash: new Me(),
|
|
756
756
|
map: new (st || Se)(),
|
|
757
|
-
string: new
|
|
757
|
+
string: new Me()
|
|
758
758
|
};
|
|
759
759
|
}
|
|
760
760
|
function ta(n) {
|
|
@@ -874,9 +874,9 @@ var wa = 9007199254740991;
|
|
|
874
874
|
function Vo(n) {
|
|
875
875
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= wa;
|
|
876
876
|
}
|
|
877
|
-
var Ca = "[object Arguments]", Ia = "[object Array]", Ea = "[object Boolean]", Sa = "[object Date]", Ta = "[object Error]", ka = "[object Function]", Pa = "[object Map]", Ba = "[object Number]", Oa = "[object Object]", Da = "[object RegExp]", $a = "[object Set]", La = "[object String]",
|
|
877
|
+
var Ca = "[object Arguments]", Ia = "[object Array]", Ea = "[object Boolean]", Sa = "[object Date]", Ta = "[object Error]", ka = "[object Function]", Pa = "[object Map]", Ba = "[object Number]", Oa = "[object Object]", Da = "[object RegExp]", $a = "[object Set]", La = "[object String]", xa = "[object WeakMap]", Ma = "[object ArrayBuffer]", Ra = "[object DataView]", Qa = "[object Float32Array]", ja = "[object Float64Array]", Ha = "[object Int8Array]", Na = "[object Int16Array]", Ua = "[object Int32Array]", Fa = "[object Uint8Array]", Ja = "[object Uint8ClampedArray]", Wa = "[object Uint16Array]", za = "[object Uint32Array]", z = {};
|
|
878
878
|
z[Qa] = z[ja] = z[Ha] = z[Na] = z[Ua] = z[Fa] = z[Ja] = z[Wa] = z[za] = !0;
|
|
879
|
-
z[Ca] = z[Ia] = z[
|
|
879
|
+
z[Ca] = z[Ia] = z[Ma] = z[Ea] = z[Ra] = z[Sa] = z[Ta] = z[ka] = z[Pa] = z[Ba] = z[Oa] = z[Da] = z[$a] = z[La] = z[xa] = !1;
|
|
880
880
|
function Va(n) {
|
|
881
881
|
return pt(n) && Vo(n.length) && !!z[ut(n)];
|
|
882
882
|
}
|
|
@@ -1051,14 +1051,14 @@ function $c(n, e) {
|
|
|
1051
1051
|
var t = e ? An(n.buffer) : n.buffer;
|
|
1052
1052
|
return new n.constructor(t, n.byteOffset, n.length);
|
|
1053
1053
|
}
|
|
1054
|
-
var Lc = "[object Boolean]",
|
|
1054
|
+
var Lc = "[object Boolean]", xc = "[object Date]", Mc = "[object Map]", Rc = "[object Number]", Qc = "[object RegExp]", jc = "[object Set]", Hc = "[object String]", Nc = "[object Symbol]", Uc = "[object ArrayBuffer]", Fc = "[object DataView]", Jc = "[object Float32Array]", Wc = "[object Float64Array]", zc = "[object Int8Array]", Vc = "[object Int16Array]", qc = "[object Int32Array]", Kc = "[object Uint8Array]", Gc = "[object Uint8ClampedArray]", Xc = "[object Uint16Array]", Zc = "[object Uint32Array]";
|
|
1055
1055
|
function Yc(n, e, t) {
|
|
1056
1056
|
var o = n.constructor;
|
|
1057
1057
|
switch (e) {
|
|
1058
1058
|
case Uc:
|
|
1059
1059
|
return An(n);
|
|
1060
1060
|
case Lc:
|
|
1061
|
-
case
|
|
1061
|
+
case xc:
|
|
1062
1062
|
return new o(+n);
|
|
1063
1063
|
case Fc:
|
|
1064
1064
|
return Pc(n, t);
|
|
@@ -1072,7 +1072,7 @@ function Yc(n, e, t) {
|
|
|
1072
1072
|
case Xc:
|
|
1073
1073
|
case Zc:
|
|
1074
1074
|
return $c(n, t);
|
|
1075
|
-
case
|
|
1075
|
+
case Mc:
|
|
1076
1076
|
return new o();
|
|
1077
1077
|
case Rc:
|
|
1078
1078
|
case Hc:
|
|
@@ -1149,9 +1149,9 @@ function mt(n, e, t, o, r, i) {
|
|
|
1149
1149
|
b && (d = p, p = n[d]), Fo(a, d, mt(p, e, t, d, n, i));
|
|
1150
1150
|
}), a;
|
|
1151
1151
|
}
|
|
1152
|
-
var Ll = 1,
|
|
1152
|
+
var Ll = 1, xl = 4;
|
|
1153
1153
|
function qe(n) {
|
|
1154
|
-
return mt(n, Ll |
|
|
1154
|
+
return mt(n, Ll | xl);
|
|
1155
1155
|
}
|
|
1156
1156
|
const wt = (n, e = "") => {
|
|
1157
1157
|
for (let t of n)
|
|
@@ -1172,7 +1172,7 @@ const wt = (n, e = "") => {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
1174
1174
|
return null;
|
|
1175
|
-
},
|
|
1175
|
+
}, Ml = (n, e) => {
|
|
1176
1176
|
let t;
|
|
1177
1177
|
const o = n.findIndex((a) => a.code === e);
|
|
1178
1178
|
if (o === -1) return { index: o, target: t };
|
|
@@ -1180,8 +1180,8 @@ const wt = (n, e = "") => {
|
|
|
1180
1180
|
return i.length && (t = i[0]), t || r.length && (t = r[r.length - 1]), { index: o, target: t };
|
|
1181
1181
|
}, Gt = (n) => {
|
|
1182
1182
|
const e = F().subAppList ?? [];
|
|
1183
|
-
let { index: t, target: o } =
|
|
1184
|
-
return e.splice(t, 1), e.length ? Ae([{ key: "subAppList", value: e }]) : ln(),
|
|
1183
|
+
let { index: t, target: o } = Ml(e, n);
|
|
1184
|
+
return e.splice(t, 1), e.length ? Ae([{ key: "subAppList", value: e }]) : ln(), ce([
|
|
1185
1185
|
{ key: "currentCode", value: "" },
|
|
1186
1186
|
{ key: "currentTab", value: {} },
|
|
1187
1187
|
{ key: `preTab:${n}`, value: {} },
|
|
@@ -1192,9 +1192,9 @@ const wt = (n, e = "") => {
|
|
|
1192
1192
|
return { left: o, right: r };
|
|
1193
1193
|
}, Ql = (n, e, t) => {
|
|
1194
1194
|
var m;
|
|
1195
|
-
const o = ye(e).filter((A) => A.routeUrl).filter((A) => !(A != null && A.disable) && !(A != null && A.expired)), i = (((m =
|
|
1195
|
+
const o = ye(e).filter((A) => A.routeUrl).filter((A) => !(A != null && A.disable) && !(A != null && A.expired)), i = (((m = ae()) == null ? void 0 : m.tabMap) ?? {})[n] ?? [], { left: a, right: l } = Rl(i, t), c = i.filter((A) => o.find((f) => f.code === A.code));
|
|
1196
1196
|
if (!a.length && !l.length || !c.length)
|
|
1197
|
-
return
|
|
1197
|
+
return ce([
|
|
1198
1198
|
{ key: "currentCode", value: "" },
|
|
1199
1199
|
{ key: "currentTab", value: {} },
|
|
1200
1200
|
{ key: `preTab:${n}`, value: {} },
|
|
@@ -1209,7 +1209,7 @@ const wt = (n, e = "") => {
|
|
|
1209
1209
|
const A = a.reverse().find((f) => c.map((S) => S.code).includes(f.code));
|
|
1210
1210
|
A && (s = A);
|
|
1211
1211
|
}
|
|
1212
|
-
return s ? (
|
|
1212
|
+
return s ? (ce([
|
|
1213
1213
|
{
|
|
1214
1214
|
key: "currentCode",
|
|
1215
1215
|
value: s.code
|
|
@@ -1223,7 +1223,7 @@ const wt = (n, e = "") => {
|
|
|
1223
1223
|
value: s
|
|
1224
1224
|
},
|
|
1225
1225
|
{ key: `tabMap:${n}`, value: c }
|
|
1226
|
-
]),
|
|
1226
|
+
]), Mo(s.code), { currentMenu: o.find((A) => A.code === s.code), currentTab: s }) : (ce([
|
|
1227
1227
|
{ key: `preTab:${n}`, value: {} },
|
|
1228
1228
|
{ key: `tabMap:${n}`, value: [] }
|
|
1229
1229
|
]), Gt(n));
|
|
@@ -1273,12 +1273,12 @@ const wt = (n, e = "") => {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
1275
|
if (i && a) {
|
|
1276
|
-
const d = (
|
|
1276
|
+
const d = (ae().tabMap ?? {})[e.code] ?? [];
|
|
1277
1277
|
if (d.length) {
|
|
1278
1278
|
const g = d.filter(
|
|
1279
1279
|
(_) => t && t === _.code || o && o === `/${_.applicationPath}${_.path}`.replace(/\/\//g, "/") || ye(c).map((y) => y.code).includes(_.code)
|
|
1280
1280
|
);
|
|
1281
|
-
|
|
1281
|
+
ce([
|
|
1282
1282
|
{
|
|
1283
1283
|
key: `tabMap:${e.code}`,
|
|
1284
1284
|
value: g
|
|
@@ -1332,7 +1332,7 @@ const wt = (n, e = "") => {
|
|
|
1332
1332
|
path: m.routeUrl,
|
|
1333
1333
|
query: g
|
|
1334
1334
|
};
|
|
1335
|
-
|
|
1335
|
+
ce([
|
|
1336
1336
|
{
|
|
1337
1337
|
key: "currentCode",
|
|
1338
1338
|
value: m.code
|
|
@@ -1406,41 +1406,41 @@ const wt = (n, e = "") => {
|
|
|
1406
1406
|
/** 打开弹窗 */
|
|
1407
1407
|
openDialog: a
|
|
1408
1408
|
}), (s, u) => (H(), de("div", nu, [
|
|
1409
|
-
|
|
1409
|
+
M(v(cs), {
|
|
1410
1410
|
title: v(Q)("主题设置").value,
|
|
1411
1411
|
modelValue: t.value,
|
|
1412
1412
|
"onUpdate:modelValue": u[5] || (u[5] = (m) => t.value = m),
|
|
1413
1413
|
"body-style": { padding: 0 },
|
|
1414
1414
|
direction: "rtl"
|
|
1415
1415
|
}, {
|
|
1416
|
-
footer:
|
|
1416
|
+
footer: x(() => [
|
|
1417
1417
|
L("div", uu, [
|
|
1418
|
-
|
|
1418
|
+
M(v(ke), {
|
|
1419
1419
|
size: "middle",
|
|
1420
1420
|
onClick: u[4] || (u[4] = (m) => t.value = !1),
|
|
1421
1421
|
style: { "margin-right": "12px" }
|
|
1422
1422
|
}, {
|
|
1423
|
-
default:
|
|
1424
|
-
|
|
1423
|
+
default: x(() => u[6] || (u[6] = [
|
|
1424
|
+
le("取消")
|
|
1425
1425
|
])),
|
|
1426
1426
|
_: 1
|
|
1427
1427
|
/* STABLE */
|
|
1428
1428
|
}),
|
|
1429
|
-
|
|
1429
|
+
M(v(ke), {
|
|
1430
1430
|
btnType: "primary",
|
|
1431
1431
|
size: "middle",
|
|
1432
1432
|
loading: i.value,
|
|
1433
1433
|
onClick: c
|
|
1434
1434
|
}, {
|
|
1435
|
-
default:
|
|
1436
|
-
|
|
1435
|
+
default: x(() => u[7] || (u[7] = [
|
|
1436
|
+
le("确定")
|
|
1437
1437
|
])),
|
|
1438
1438
|
_: 1
|
|
1439
1439
|
/* STABLE */
|
|
1440
1440
|
}, 8, ["loading"])
|
|
1441
1441
|
])
|
|
1442
1442
|
]),
|
|
1443
|
-
default:
|
|
1443
|
+
default: x(() => [
|
|
1444
1444
|
L("div", ou, [
|
|
1445
1445
|
L(
|
|
1446
1446
|
"p",
|
|
@@ -1452,18 +1452,18 @@ const wt = (n, e = "") => {
|
|
|
1452
1452
|
L("div", su, [
|
|
1453
1453
|
L("div", iu, [
|
|
1454
1454
|
L("img", {
|
|
1455
|
-
src: v(
|
|
1455
|
+
src: v(xs),
|
|
1456
1456
|
alt: "",
|
|
1457
1457
|
width: "180",
|
|
1458
1458
|
height: "120"
|
|
1459
1459
|
}, null, 8, au),
|
|
1460
|
-
|
|
1460
|
+
M(v(kn), {
|
|
1461
1461
|
modelValue: o.value,
|
|
1462
1462
|
"onUpdate:modelValue": u[0] || (u[0] = (m) => o.value = m),
|
|
1463
1463
|
onChange: u[1] || (u[1] = (m) => l(1))
|
|
1464
1464
|
}, {
|
|
1465
|
-
default:
|
|
1466
|
-
|
|
1465
|
+
default: x(() => [
|
|
1466
|
+
le(
|
|
1467
1467
|
Z(v(Q)("弹出式菜单栏").value),
|
|
1468
1468
|
1
|
|
1469
1469
|
/* TEXT */
|
|
@@ -1475,18 +1475,18 @@ const wt = (n, e = "") => {
|
|
|
1475
1475
|
]),
|
|
1476
1476
|
L("div", cu, [
|
|
1477
1477
|
L("img", {
|
|
1478
|
-
src: v(
|
|
1478
|
+
src: v(Ms),
|
|
1479
1479
|
alt: "",
|
|
1480
1480
|
width: "180",
|
|
1481
1481
|
height: "120"
|
|
1482
1482
|
}, null, 8, lu),
|
|
1483
|
-
|
|
1483
|
+
M(v(kn), {
|
|
1484
1484
|
modelValue: r.value,
|
|
1485
1485
|
"onUpdate:modelValue": u[2] || (u[2] = (m) => r.value = m),
|
|
1486
1486
|
onChange: u[3] || (u[3] = (m) => l(2))
|
|
1487
1487
|
}, {
|
|
1488
|
-
default:
|
|
1489
|
-
|
|
1488
|
+
default: x(() => [
|
|
1489
|
+
le(
|
|
1490
1490
|
Z(v(Q)("内嵌式菜单栏").value),
|
|
1491
1491
|
1
|
|
1492
1492
|
/* TEXT */
|
|
@@ -1646,7 +1646,7 @@ const wt = (n, e = "") => {
|
|
|
1646
1646
|
var s;
|
|
1647
1647
|
const i = F();
|
|
1648
1648
|
if (!((s = i.subAppList) != null && s.length) || i.subAppList.findIndex((u) => u.code === r.code) === -1) return;
|
|
1649
|
-
const c = (
|
|
1649
|
+
const c = (ae().tabMap[r.code] ?? []).map((u) => u.code);
|
|
1650
1650
|
c && c.length && At(r.code, c), e(r);
|
|
1651
1651
|
});
|
|
1652
1652
|
const { enter: o } = lt();
|
|
@@ -1664,7 +1664,7 @@ const wt = (n, e = "") => {
|
|
|
1664
1664
|
l = qe(d.path), c = qe(d.query);
|
|
1665
1665
|
const y = F().currentSubAppCode ?? "";
|
|
1666
1666
|
if (!y) return;
|
|
1667
|
-
const k = ((T = d.query) == null ? void 0 : T.menu) ?? ((R =
|
|
1667
|
+
const k = ((T = d.query) == null ? void 0 : T.menu) ?? ((R = ae()) == null ? void 0 : R.currentCode) ?? "";
|
|
1668
1668
|
if (!k) return;
|
|
1669
1669
|
const w = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
1670
1670
|
w && JSON.stringify(w) !== "{}" && (r.value = ($ = w[y][k]) != null && $.fontColor ? w[y][k].fontColor : e, i.value = (N = w[y][k]) != null && N.backgroundColor ? w[y][k].backgroundColor : t, a.value = (W = w[y][k]) != null && W.backgroundColor ? w[y][k].backgroundColor : o);
|
|
@@ -1672,7 +1672,7 @@ const wt = (n, e = "") => {
|
|
|
1672
1672
|
);
|
|
1673
1673
|
const { deleteApp: s } = et(), { entryMenu: u } = Ot(), { reloadRoute: m, unloadRoute: A } = ur(), f = (d) => {
|
|
1674
1674
|
var k;
|
|
1675
|
-
const g = ye(_t(d.applicationCode)).find((w) => w.code === d.code), y = (((k =
|
|
1675
|
+
const g = ye(_t(d.applicationCode)).find((w) => w.code === d.code), y = (((k = ae().tabMap) == null ? void 0 : k[d.applicationCode]) ?? []).find((w) => w.code === d.code);
|
|
1676
1676
|
u({ currentMenu: g, route: { path: y.path, query: y.query ?? {} } });
|
|
1677
1677
|
}, S = (d) => {
|
|
1678
1678
|
if (!d || !d.length) return;
|
|
@@ -1681,11 +1681,11 @@ const wt = (n, e = "") => {
|
|
|
1681
1681
|
}, b = (d) => {
|
|
1682
1682
|
const g = F().currentSubAppCode ?? "";
|
|
1683
1683
|
ee.innerSet = !0;
|
|
1684
|
-
const _ =
|
|
1684
|
+
const _ = ae(), y = _.tabMap[g], k = y.findIndex(($) => $.code === d.data.code);
|
|
1685
1685
|
if (k === -1) return;
|
|
1686
1686
|
const w = () => {
|
|
1687
1687
|
var W;
|
|
1688
|
-
let N = (((W = F().appcategorys) == null ? void 0 : W.map((
|
|
1688
|
+
let N = (((W = F().appcategorys) == null ? void 0 : W.map((se) => se.apps).flat()) ?? []).find((se) => se.code === g);
|
|
1689
1689
|
N = { ...N, value: N.code, label: N.name }, s(N), D.nav.removeItem(g);
|
|
1690
1690
|
};
|
|
1691
1691
|
({
|
|
@@ -1696,7 +1696,7 @@ const wt = (n, e = "") => {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
const N = _.currentCode;
|
|
1698
1698
|
let W = null;
|
|
1699
|
-
N === $.value && (k + 1 === y.length ? y[k - 1] && (W = y[k - 1]) : y[k + 1] && (W = y[k + 1])), y.splice(k, 1), S([$]),
|
|
1699
|
+
N === $.value && (k + 1 === y.length ? y[k - 1] && (W = y[k - 1]) : y[k + 1] && (W = y[k + 1])), y.splice(k, 1), S([$]), ce([{ key: `tabMap:${g}`, value: y }]), W ? f(W) : ce([{ key: `preTab:${g}`, value: {} }]);
|
|
1700
1700
|
},
|
|
1701
1701
|
all: w,
|
|
1702
1702
|
other: async ($) => {
|
|
@@ -1705,8 +1705,8 @@ const wt = (n, e = "") => {
|
|
|
1705
1705
|
path: `/${N.applicationPath}${N.path}`.replace(/\/\//g, "/"),
|
|
1706
1706
|
query: N.query
|
|
1707
1707
|
}), D.menu.setActiveItem(N.menuId), D.tab.setActiveItem(N.code);
|
|
1708
|
-
const W = y.filter((
|
|
1709
|
-
W.forEach((
|
|
1708
|
+
const W = y.filter((se) => se.code !== $.value);
|
|
1709
|
+
W.forEach((se) => D.tab.removeItem(se.code)), S(W), ce([{ key: `tabMap:${g}`, value: [N] }]), f(N);
|
|
1710
1710
|
},
|
|
1711
1711
|
right: async ($) => {
|
|
1712
1712
|
const N = _.currentCode;
|
|
@@ -1715,18 +1715,18 @@ const wt = (n, e = "") => {
|
|
|
1715
1715
|
f(Te);
|
|
1716
1716
|
}
|
|
1717
1717
|
const W = y.slice(k + 1);
|
|
1718
|
-
W.forEach((
|
|
1718
|
+
W.forEach((se) => D.tab.removeItem(se.code)), S(W), y.splice(k + 1), ce([{ key: `tabMap:${g}`, value: y }]);
|
|
1719
1719
|
}
|
|
1720
1720
|
})[d.type](d.data);
|
|
1721
1721
|
};
|
|
1722
1722
|
D.tab.addEventListener("onItemClick", async (d) => {
|
|
1723
|
-
|
|
1723
|
+
ae().currentCode !== d.currentCode && (ee.innerSet = !0, f(d));
|
|
1724
1724
|
}), D.tab.addEventListener("onItemRemove", (d) => {
|
|
1725
|
-
const g =
|
|
1725
|
+
const g = ae(), _ = F().currentSubAppCode ?? "";
|
|
1726
1726
|
g.tabMap[_].findIndex((w) => w.code === d.code) !== -1 && (At(d.applicationCode, [d.code]), b({ type: "me", data: d }));
|
|
1727
1727
|
}), D.tab.addEventListener("onMenuClick", (d) => {
|
|
1728
1728
|
let g = [];
|
|
1729
|
-
const _ =
|
|
1729
|
+
const _ = ae().tabMap[d.applicationCode] ?? [];
|
|
1730
1730
|
if (d.type.key === "right") {
|
|
1731
1731
|
const y = _.findIndex((k) => k.code === d.data.value);
|
|
1732
1732
|
g = _.slice(y + 1);
|
|
@@ -1767,7 +1767,7 @@ const wt = (n, e = "") => {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
const t = F();
|
|
1769
1769
|
t.subAppList && t.subAppList.length && sessionStorage.setItem("has-subapp", "true"), n();
|
|
1770
|
-
}), window.__isAutoCloseApp = !0, sessionStorage.getItem("has-subapp") && (window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`), sessionStorage.removeItem("has-subapp")),
|
|
1770
|
+
}), window.__isAutoCloseApp = !0, sessionStorage.getItem("has-subapp") && (window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`), sessionStorage.removeItem("has-subapp")), ue.addEventListenerFromMicroApp("system-reload", () => {
|
|
1771
1771
|
n(), window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`);
|
|
1772
1772
|
});
|
|
1773
1773
|
}, et = () => {
|
|
@@ -1789,7 +1789,7 @@ const wt = (n, e = "") => {
|
|
|
1789
1789
|
const _ = { ...A, menus: p, originalMenus: d };
|
|
1790
1790
|
return Ae([{ key: "subAppList", value: _ }]), !0;
|
|
1791
1791
|
}, s = async (A) => {
|
|
1792
|
-
var N, W,
|
|
1792
|
+
var N, W, se, Te, ft;
|
|
1793
1793
|
const { microApp: f = null, menuCode: S = "", menuPath: b = "", route: p = {} } = A;
|
|
1794
1794
|
let d = p;
|
|
1795
1795
|
if (!f && b) {
|
|
@@ -1803,7 +1803,7 @@ const wt = (n, e = "") => {
|
|
|
1803
1803
|
const y = (f == null ? void 0 : f.openType) ?? 1, k = (f == null ? void 0 : f.type) ?? 1;
|
|
1804
1804
|
if (f.routeUrl && !a.includes(f.routeUrl)) {
|
|
1805
1805
|
l();
|
|
1806
|
-
const ne = ((
|
|
1806
|
+
const ne = ((se = F()) == null ? void 0 : se.subAppList) ?? [];
|
|
1807
1807
|
if ((ne == null ? void 0 : ne.find((fe) => fe.code === f.code)) || ne == null || ne.push(f), Ae([
|
|
1808
1808
|
{ key: "currentSubApp", value: f },
|
|
1809
1809
|
{ key: "currentSubAppCode", value: f.code },
|
|
@@ -1841,7 +1841,7 @@ const wt = (n, e = "") => {
|
|
|
1841
1841
|
meta: { ...(d == null ? void 0 : d.meta) ?? {} }
|
|
1842
1842
|
}), P && (P == null ? void 0 : P.code) !== (f == null ? void 0 : f.code)) {
|
|
1843
1843
|
if (P.fixed && (n.push(P.path), l(), D.nav.setActiveItem(P.path)), !P.fixed) {
|
|
1844
|
-
const ne = (Te = F().subAppList) == null ? void 0 : Te.find((Oe) => Oe.code === P.code), G =
|
|
1844
|
+
const ne = (Te = F().subAppList) == null ? void 0 : Te.find((Oe) => Oe.code === P.code), G = ae().preTab[P.code], fe = { ...(G == null ? void 0 : G.query) ?? {} };
|
|
1845
1845
|
await s({ microApp: ne, menuCode: (G == null ? void 0 : G.code) ?? "", route: { query: fe } });
|
|
1846
1846
|
}
|
|
1847
1847
|
return;
|
|
@@ -1862,7 +1862,7 @@ const wt = (n, e = "") => {
|
|
|
1862
1862
|
const fe = { ...G, value: G.code, label: G.name };
|
|
1863
1863
|
D.nav.appendItem(fe);
|
|
1864
1864
|
}), D.nav.setActiveItem($.code), D.menu.setItems(w);
|
|
1865
|
-
const ne =
|
|
1865
|
+
const ne = ae().tabMap[$.code] ?? [];
|
|
1866
1866
|
ne.length && ne.forEach((G) => {
|
|
1867
1867
|
D.tab.appendItem({
|
|
1868
1868
|
...G,
|
|
@@ -1878,14 +1878,14 @@ const wt = (n, e = "") => {
|
|
|
1878
1878
|
n.push(A.path), D.menu.setItems([]), D.tab.setItems([]), D.nav.setActiveItem(A.path), Ae([
|
|
1879
1879
|
{ key: "currentSubAppCode", value: "" },
|
|
1880
1880
|
{ key: "currentSubApp", value: {} }
|
|
1881
|
-
]),
|
|
1881
|
+
]), ce([
|
|
1882
1882
|
{ key: "currentCode", value: "" },
|
|
1883
1883
|
{ key: "currentTab", value: {} }
|
|
1884
1884
|
]);
|
|
1885
1885
|
return;
|
|
1886
1886
|
}
|
|
1887
1887
|
if (!A.fixed) {
|
|
1888
|
-
const S = (f = F().subAppList) == null ? void 0 : f.find((g) => g.code === A.code), b =
|
|
1888
|
+
const S = (f = F().subAppList) == null ? void 0 : f.find((g) => g.code === A.code), b = ae().preTab[A.code], p = (b == null ? void 0 : b.code) ?? "", d = { ...(b == null ? void 0 : b.query) ?? {} };
|
|
1889
1889
|
await s({ microApp: S, menuCode: p, route: { query: d } });
|
|
1890
1890
|
}
|
|
1891
1891
|
};
|
|
@@ -1899,13 +1899,13 @@ const wt = (n, e = "") => {
|
|
|
1899
1899
|
if (!((d = f.subAppList) != null && d.length)) return;
|
|
1900
1900
|
const S = f.subAppList.findIndex((g) => g.code === A.code);
|
|
1901
1901
|
if (S === -1) return;
|
|
1902
|
-
const b =
|
|
1902
|
+
const b = ae().tabMap[A.code] ?? [];
|
|
1903
1903
|
if (b.length) {
|
|
1904
1904
|
const g = b.map((_) => _.path);
|
|
1905
1905
|
t(g);
|
|
1906
1906
|
}
|
|
1907
1907
|
let p = null;
|
|
1908
|
-
if (f.currentSubAppCode === A.code && (S + 1 !== f.subAppList.length ? f.subAppList[S + 1] && (p = f.subAppList[S + 1]) : f.subAppList[S - 1] && (p = f.subAppList[S - 1])), f.subAppList.splice(S, 1), Ae([{ key: "subAppList", value: f.subAppList }]),
|
|
1908
|
+
if (f.currentSubAppCode === A.code && (S + 1 !== f.subAppList.length ? f.subAppList[S + 1] && (p = f.subAppList[S + 1]) : f.subAppList[S - 1] && (p = f.subAppList[S - 1])), f.subAppList.splice(S, 1), Ae([{ key: "subAppList", value: f.subAppList }]), ce([
|
|
1909
1909
|
{ key: `preTab:${A.code}`, value: {} },
|
|
1910
1910
|
{ key: `tabMap:${A.code}`, value: [] }
|
|
1911
1911
|
]), p) {
|
|
@@ -1915,7 +1915,7 @@ const wt = (n, e = "") => {
|
|
|
1915
1915
|
if (!f.subAppList.length) {
|
|
1916
1916
|
D.menu.setItems([]), D.tab.setItems([]);
|
|
1917
1917
|
const g = Po.find((_) => _.value === Ie);
|
|
1918
|
-
g && u(g), ln(),
|
|
1918
|
+
g && u(g), ln(), xo();
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
};
|
|
@@ -1932,18 +1932,18 @@ const wt = (n, e = "") => {
|
|
|
1932
1932
|
if (u === 1)
|
|
1933
1933
|
if (m === 1)
|
|
1934
1934
|
if (a.routeUrl.startsWith(Je)) {
|
|
1935
|
-
|
|
1935
|
+
ue.hideAllMicroApp(), A = Je;
|
|
1936
1936
|
const p = Wr(a.routeUrl, "iframeSrc");
|
|
1937
1937
|
s = { ...s, iframeSrc: p }, n.push({ path: A, query: s });
|
|
1938
1938
|
} else a.applicationPath && (A = c || a.routeUrl, A = `/${a.applicationPath}${A}`.replace(/\/\//g, "/"), n.push({ path: A, query: s }));
|
|
1939
1939
|
else {
|
|
1940
|
-
|
|
1940
|
+
ue.hideAllMicroApp(), A = Je;
|
|
1941
1941
|
const p = Wt(Ut(Ft(a.routeUrl)));
|
|
1942
1942
|
s = { ...s, iframeSrc: p }, n.push({ path: A, query: s });
|
|
1943
1943
|
}
|
|
1944
1944
|
if (u === 2) {
|
|
1945
1945
|
let p = m === 1 ? `/${a.applicationPath}${a.routeUrl}`.replace(/\/\//g, "/") : a.routeUrl;
|
|
1946
|
-
p = Wt(Ut(Ft(p))), ee.innerSet ? (
|
|
1946
|
+
p = Wt(Ut(Ft(p))), ee.innerSet ? (ue.hideAllMicroApp(), A = Bo, n.push({ path: A, query: s }), p && window.open(p, "_blank")) : m === 1 && (A = p, s = { ...s, showLayout: !1 }, n.push({
|
|
1947
1947
|
path: A,
|
|
1948
1948
|
query: s
|
|
1949
1949
|
}));
|
|
@@ -1965,7 +1965,7 @@ const wt = (n, e = "") => {
|
|
|
1965
1965
|
...p,
|
|
1966
1966
|
value: p.code,
|
|
1967
1967
|
label: p.name
|
|
1968
|
-
}), D.tab.setActiveItem(a.code), D.menu.setActiveItem(a.id),
|
|
1968
|
+
}), D.tab.setActiveItem(a.code), D.menu.setActiveItem(a.id), Mo(a.code), ce([
|
|
1969
1969
|
{
|
|
1970
1970
|
key: "currentCode",
|
|
1971
1971
|
value: a.code
|
|
@@ -2024,7 +2024,7 @@ const wt = (n, e = "") => {
|
|
|
2024
2024
|
(C) => p === C.code || b.includes(C.code)
|
|
2025
2025
|
);
|
|
2026
2026
|
Ae([{ key: "subAppList", value: P }]), w && w.length && w.forEach((C) => {
|
|
2027
|
-
|
|
2027
|
+
ce([
|
|
2028
2028
|
{ key: `preTab:${C.code}`, value: {} },
|
|
2029
2029
|
{ key: `tabMap:${C.code}`, value: [] }
|
|
2030
2030
|
]);
|
|
@@ -2036,11 +2036,11 @@ const wt = (n, e = "") => {
|
|
|
2036
2036
|
const { currentApp: P } = Gt(s.query.app);
|
|
2037
2037
|
if (P) {
|
|
2038
2038
|
w = P;
|
|
2039
|
-
const T = (
|
|
2039
|
+
const T = (ae().preTab ?? {})[w.code];
|
|
2040
2040
|
s = {}, T && (s.path = `/${T.applicationPath}${T.path}`.replace(/\/\//g, "/"), s.query = T.query);
|
|
2041
2041
|
}
|
|
2042
2042
|
}
|
|
2043
|
-
w != null && w.fixed ? (D.menu.setItems([]), D.tab.setItems([]),
|
|
2043
|
+
w != null && w.fixed ? (r.push(w.path), D.menu.setItems([]), D.tab.setItems([]), D.nav.setActiveItem(w.path)) : o({ microApp: w, menuCode: s.query.menu, menuPath: s.path, route: s });
|
|
2044
2044
|
return;
|
|
2045
2045
|
} else {
|
|
2046
2046
|
const w = A && A.find(
|
|
@@ -2060,7 +2060,7 @@ const wt = (n, e = "") => {
|
|
|
2060
2060
|
}
|
|
2061
2061
|
}
|
|
2062
2062
|
if (u) {
|
|
2063
|
-
|
|
2063
|
+
(k = (y = F()) == null ? void 0 : y.subAppList) == null || k.forEach((P) => {
|
|
2064
2064
|
const C = { ...P, value: P.code, label: P.name };
|
|
2065
2065
|
D.nav.appendItem(C);
|
|
2066
2066
|
});
|
|
@@ -2068,7 +2068,7 @@ const wt = (n, e = "") => {
|
|
|
2068
2068
|
w && (D.nav.setActiveItem(w.path), D.menu.setItems([]), D.tab.setItems([]), Ae([
|
|
2069
2069
|
{ key: "currentSubAppCode", value: "" },
|
|
2070
2070
|
{ key: "currentSubApp", value: {} }
|
|
2071
|
-
]),
|
|
2071
|
+
]), ce([
|
|
2072
2072
|
{ key: "currentCode", value: "" },
|
|
2073
2073
|
{ key: "currentTab", value: {} }
|
|
2074
2074
|
]));
|
|
@@ -2224,7 +2224,7 @@ const wt = (n, e = "") => {
|
|
|
2224
2224
|
excludeRoutes: [],
|
|
2225
2225
|
routeKeepAliveVisible: !0
|
|
2226
2226
|
}), $u = () => {
|
|
2227
|
-
|
|
2227
|
+
ue.addEventListenerFromMicroApp("iot:change-instance", (n) => {
|
|
2228
2228
|
const e = F(), t = e.currentSubAppCode;
|
|
2229
2229
|
let o = _t(t);
|
|
2230
2230
|
o.forEach((i) => {
|
|
@@ -2246,24 +2246,24 @@ const wt = (n, e = "") => {
|
|
|
2246
2246
|
});
|
|
2247
2247
|
}, Lu = (n) => {
|
|
2248
2248
|
["personcenter", "rightmanage"].forEach((t) => {
|
|
2249
|
-
|
|
2249
|
+
ue.addEventListenerFromMicroApp(`${t}:change-userinfo`, (o) => {
|
|
2250
2250
|
const { userInfo: r } = o.data, i = r != null && r.headPicture ? Xt(r.headPicture) : void 0;
|
|
2251
2251
|
D.nav.setUserInfo({ headPicture: i, commandList: n.value }), sessionStorage.setItem("userInfo", JSON.stringify(r));
|
|
2252
2252
|
});
|
|
2253
2253
|
});
|
|
2254
|
-
},
|
|
2255
|
-
|
|
2254
|
+
}, xu = () => {
|
|
2255
|
+
ue.addEventListenerFromMicroApp("devicePanelShow", (n) => {
|
|
2256
2256
|
const { deviceId: e = "", panelCode: t = "", deviceName: o = "", x: r = 0, y: i = 0, isCenter: a = !1 } = n.data;
|
|
2257
2257
|
So(e, t, o, r, i, a);
|
|
2258
|
-
}),
|
|
2258
|
+
}), ue.addEventListenerFromMicroApp("closeDevicePanel", (n) => {
|
|
2259
2259
|
ns();
|
|
2260
|
-
}),
|
|
2260
|
+
}), ue.addEventListenerFromMicroApp("alarmDevicePanelShow", (n) => {
|
|
2261
2261
|
const { deviceId: e = "", panelCode: t = "", alarmTime: o = "" } = n.data;
|
|
2262
2262
|
os(e, t, o);
|
|
2263
|
-
}),
|
|
2263
|
+
}), ue.addEventListenerFromMicroApp("closeAlarmPanel", (n) => {
|
|
2264
2264
|
rs();
|
|
2265
2265
|
});
|
|
2266
|
-
},
|
|
2266
|
+
}, Mu = nn.get("/platform/login/pwd-advance-notify-check"), Ru = () => {
|
|
2267
2267
|
const n = E([]), e = E(null), t = E([]), { entryApp: o } = bt.hooks.useEntryApp(), r = () => {
|
|
2268
2268
|
var c;
|
|
2269
2269
|
const l = (((c = F().appcategorys) == null ? void 0 : c.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
|
|
@@ -2273,10 +2273,10 @@ const wt = (n, e = "") => {
|
|
|
2273
2273
|
url: "/api/messagecenter/message/v1/innersend",
|
|
2274
2274
|
reconnectWhenClose: !0,
|
|
2275
2275
|
opened: async () => {
|
|
2276
|
-
await
|
|
2276
|
+
await Mu().run();
|
|
2277
2277
|
},
|
|
2278
2278
|
message: async (a) => {
|
|
2279
|
-
if (
|
|
2279
|
+
if (ue.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message", { msgList: a }), window.self !== window.top) return;
|
|
2280
2280
|
const c = Pe().id;
|
|
2281
2281
|
n.value = a.filter(
|
|
2282
2282
|
(s) => s.projectId === c || s.projectId === 0 || s.projectId === "0"
|
|
@@ -2389,7 +2389,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2389
2389
|
"grid-num": t.gridNum,
|
|
2390
2390
|
onItemClick: (s) => r(c)
|
|
2391
2391
|
}, {
|
|
2392
|
-
default:
|
|
2392
|
+
default: x(() => [
|
|
2393
2393
|
i.showFn(c) ? $e(i.$slots, "default", {
|
|
2394
2394
|
key: 0,
|
|
2395
2395
|
index: c
|
|
@@ -2417,8 +2417,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2417
2417
|
onDblclick: i[9] || (i[9] = te((a) => a.stopPropagation(), ["stop"]))
|
|
2418
2418
|
},
|
|
2419
2419
|
[
|
|
2420
|
-
|
|
2421
|
-
default:
|
|
2420
|
+
M(v(ie), { content: "左上" }, {
|
|
2421
|
+
default: x(() => [
|
|
2422
2422
|
L("div", {
|
|
2423
2423
|
class: "icon icon-top-left",
|
|
2424
2424
|
onClick: i[0] || (i[0] = te((a) => o("leftUp"), ["stop"]))
|
|
@@ -2427,8 +2427,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2427
2427
|
_: 1
|
|
2428
2428
|
/* STABLE */
|
|
2429
2429
|
}),
|
|
2430
|
-
|
|
2431
|
-
default:
|
|
2430
|
+
M(v(ie), { content: "上" }, {
|
|
2431
|
+
default: x(() => [
|
|
2432
2432
|
L("div", {
|
|
2433
2433
|
class: "icon icon-top",
|
|
2434
2434
|
onClick: i[1] || (i[1] = te((a) => o("up"), ["stop"]))
|
|
@@ -2437,8 +2437,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2437
2437
|
_: 1
|
|
2438
2438
|
/* STABLE */
|
|
2439
2439
|
}),
|
|
2440
|
-
|
|
2441
|
-
default:
|
|
2440
|
+
M(v(ie), { content: "右上" }, {
|
|
2441
|
+
default: x(() => [
|
|
2442
2442
|
L("div", {
|
|
2443
2443
|
class: "icon icon-top-right",
|
|
2444
2444
|
onClick: i[2] || (i[2] = te((a) => o("rightUp"), ["stop"]))
|
|
@@ -2447,8 +2447,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2447
2447
|
_: 1
|
|
2448
2448
|
/* STABLE */
|
|
2449
2449
|
}),
|
|
2450
|
-
|
|
2451
|
-
default:
|
|
2450
|
+
M(v(ie), { content: "左" }, {
|
|
2451
|
+
default: x(() => [
|
|
2452
2452
|
L("div", {
|
|
2453
2453
|
class: "icon icon-left",
|
|
2454
2454
|
onClick: i[3] || (i[3] = te((a) => o("left"), ["stop"]))
|
|
@@ -2457,8 +2457,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2457
2457
|
_: 1
|
|
2458
2458
|
/* STABLE */
|
|
2459
2459
|
}),
|
|
2460
|
-
|
|
2461
|
-
default:
|
|
2460
|
+
M(v(ie), { content: "自动" }, {
|
|
2461
|
+
default: x(() => [
|
|
2462
2462
|
L("div", {
|
|
2463
2463
|
class: "icon icon-auto",
|
|
2464
2464
|
onClick: i[4] || (i[4] = te((a) => o("auto"), ["stop"]))
|
|
@@ -2467,8 +2467,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2467
2467
|
_: 1
|
|
2468
2468
|
/* STABLE */
|
|
2469
2469
|
}),
|
|
2470
|
-
|
|
2471
|
-
default:
|
|
2470
|
+
M(v(ie), { content: "右" }, {
|
|
2471
|
+
default: x(() => [
|
|
2472
2472
|
L("div", {
|
|
2473
2473
|
class: "icon icon-right",
|
|
2474
2474
|
onClick: i[5] || (i[5] = te((a) => o("right"), ["stop"]))
|
|
@@ -2477,8 +2477,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2477
2477
|
_: 1
|
|
2478
2478
|
/* STABLE */
|
|
2479
2479
|
}),
|
|
2480
|
-
|
|
2481
|
-
default:
|
|
2480
|
+
M(v(ie), { content: "左下" }, {
|
|
2481
|
+
default: x(() => [
|
|
2482
2482
|
L("div", {
|
|
2483
2483
|
class: "icon icon-bottom-left",
|
|
2484
2484
|
onClick: i[6] || (i[6] = te((a) => o("leftDown"), ["stop"]))
|
|
@@ -2487,8 +2487,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2487
2487
|
_: 1
|
|
2488
2488
|
/* STABLE */
|
|
2489
2489
|
}),
|
|
2490
|
-
|
|
2491
|
-
default:
|
|
2490
|
+
M(v(ie), { content: "下" }, {
|
|
2491
|
+
default: x(() => [
|
|
2492
2492
|
L("div", {
|
|
2493
2493
|
class: "icon icon-bottom",
|
|
2494
2494
|
onClick: i[7] || (i[7] = te((a) => o("down"), ["stop"]))
|
|
@@ -2497,8 +2497,8 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2497
2497
|
_: 1
|
|
2498
2498
|
/* STABLE */
|
|
2499
2499
|
}),
|
|
2500
|
-
|
|
2501
|
-
default:
|
|
2500
|
+
M(v(ie), { content: "右下" }, {
|
|
2501
|
+
default: x(() => [
|
|
2502
2502
|
L("div", {
|
|
2503
2503
|
class: "icon icon-bottom-right",
|
|
2504
2504
|
onClick: i[8] || (i[8] = te((a) => o("rightDown"), ["stop"]))
|
|
@@ -2606,12 +2606,12 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2606
2606
|
});
|
|
2607
2607
|
}
|
|
2608
2608
|
), (_, y) => (H(), de("div", Xu, [
|
|
2609
|
-
|
|
2609
|
+
M(v(ko), {
|
|
2610
2610
|
spinning: t.loading,
|
|
2611
2611
|
type: "component",
|
|
2612
2612
|
tip: "加载中..."
|
|
2613
2613
|
}, {
|
|
2614
|
-
default:
|
|
2614
|
+
default: x(() => [
|
|
2615
2615
|
L("div", Zu, [
|
|
2616
2616
|
L("div", Yu, [
|
|
2617
2617
|
L("div", ed, [
|
|
@@ -2654,9 +2654,9 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2654
2654
|
onDblclick: y[2] || (y[2] = te((k) => k.stopPropagation(), ["stop"]))
|
|
2655
2655
|
},
|
|
2656
2656
|
[
|
|
2657
|
-
|
|
2658
|
-
default:
|
|
2659
|
-
|
|
2657
|
+
M(v(ie), { content: "声音" }, {
|
|
2658
|
+
default: x(() => [
|
|
2659
|
+
M(v(De), {
|
|
2660
2660
|
class: "icon icon-volume",
|
|
2661
2661
|
icon: r.value ? "muted" : "volume",
|
|
2662
2662
|
onClick: te(A, ["stop"])
|
|
@@ -2665,9 +2665,9 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2665
2665
|
_: 1
|
|
2666
2666
|
/* STABLE */
|
|
2667
2667
|
}),
|
|
2668
|
-
|
|
2669
|
-
default:
|
|
2670
|
-
|
|
2668
|
+
M(v(ie), { content: "截图" }, {
|
|
2669
|
+
default: x(() => [
|
|
2670
|
+
M(v(De), {
|
|
2671
2671
|
class: "icon icon-screenshot",
|
|
2672
2672
|
icon: "screenshot",
|
|
2673
2673
|
onClick: te(b, ["stop"])
|
|
@@ -2676,11 +2676,11 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2676
2676
|
_: 1
|
|
2677
2677
|
/* STABLE */
|
|
2678
2678
|
}),
|
|
2679
|
-
g("control") ? (H(), V(v(
|
|
2679
|
+
g("control") ? (H(), V(v(ie), {
|
|
2680
2680
|
key: 0,
|
|
2681
2681
|
content: "聚焦-"
|
|
2682
2682
|
}, {
|
|
2683
|
-
default:
|
|
2683
|
+
default: x(() => [
|
|
2684
2684
|
["live", "polling"].includes(t.type) ? (H(), V(v(De), {
|
|
2685
2685
|
key: 0,
|
|
2686
2686
|
class: "icon icon-shrink",
|
|
@@ -2691,11 +2691,11 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2691
2691
|
_: 1
|
|
2692
2692
|
/* STABLE */
|
|
2693
2693
|
})) : U("v-if", !0),
|
|
2694
|
-
g("control") ? (H(), V(v(
|
|
2694
|
+
g("control") ? (H(), V(v(ie), {
|
|
2695
2695
|
key: 1,
|
|
2696
2696
|
content: "聚焦+"
|
|
2697
2697
|
}, {
|
|
2698
|
-
default:
|
|
2698
|
+
default: x(() => [
|
|
2699
2699
|
["live", "polling"].includes(t.type) ? (H(), V(v(De), {
|
|
2700
2700
|
key: 0,
|
|
2701
2701
|
class: "icon icon-enlarge",
|
|
@@ -2706,11 +2706,11 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2706
2706
|
_: 1
|
|
2707
2707
|
/* STABLE */
|
|
2708
2708
|
})) : U("v-if", !0),
|
|
2709
|
-
g("control") ? (H(), V(v(
|
|
2709
|
+
g("control") ? (H(), V(v(ie), {
|
|
2710
2710
|
key: 2,
|
|
2711
2711
|
content: "方向控制"
|
|
2712
2712
|
}, {
|
|
2713
|
-
default:
|
|
2713
|
+
default: x(() => [
|
|
2714
2714
|
["live", "polling"].includes(t.type) ? (H(), V(v(De), {
|
|
2715
2715
|
key: 0,
|
|
2716
2716
|
class: "icon icon-direction-control",
|
|
@@ -2779,7 +2779,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2779
2779
|
i();
|
|
2780
2780
|
}, {
|
|
2781
2781
|
deep: !0
|
|
2782
|
-
}), () =>
|
|
2782
|
+
}), () => M(We, null, [e.default({
|
|
2783
2783
|
videoUrl: r.value,
|
|
2784
2784
|
loading: o.value,
|
|
2785
2785
|
onDirectionControl: a,
|
|
@@ -2793,7 +2793,7 @@ function ld(n) {
|
|
|
2793
2793
|
isFullscreen: r
|
|
2794
2794
|
} = lt(t);
|
|
2795
2795
|
return {
|
|
2796
|
-
render: () =>
|
|
2796
|
+
render: () => M(qu, {
|
|
2797
2797
|
ref: t,
|
|
2798
2798
|
gridNum: n.gridNum,
|
|
2799
2799
|
activeIndex: e.value,
|
|
@@ -2804,7 +2804,7 @@ function ld(n) {
|
|
|
2804
2804
|
index: a
|
|
2805
2805
|
}) => {
|
|
2806
2806
|
const l = n.deviceList[a];
|
|
2807
|
-
return
|
|
2807
|
+
return M(cd, {
|
|
2808
2808
|
deviceInfo: l
|
|
2809
2809
|
}, {
|
|
2810
2810
|
default: ({
|
|
@@ -2812,7 +2812,7 @@ function ld(n) {
|
|
|
2812
2812
|
onDirectionControl: s,
|
|
2813
2813
|
onZoomControl: u,
|
|
2814
2814
|
loading: m
|
|
2815
|
-
}) =>
|
|
2815
|
+
}) => M(ad, {
|
|
2816
2816
|
type: "live",
|
|
2817
2817
|
loading: m,
|
|
2818
2818
|
videoUrl: c,
|
|
@@ -2866,7 +2866,7 @@ const ud = /* @__PURE__ */ pe({
|
|
|
2866
2866
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
2867
2867
|
onClosed: a.closeCallback
|
|
2868
2868
|
}, {
|
|
2869
|
-
header:
|
|
2869
|
+
header: x(() => [
|
|
2870
2870
|
l[1] || (l[1] = L(
|
|
2871
2871
|
"div",
|
|
2872
2872
|
null,
|
|
@@ -2874,9 +2874,9 @@ const ud = /* @__PURE__ */ pe({
|
|
|
2874
2874
|
-1
|
|
2875
2875
|
/* HOISTED */
|
|
2876
2876
|
)),
|
|
2877
|
-
|
|
2878
|
-
default:
|
|
2879
|
-
|
|
2877
|
+
M(v(ie), { content: "页面全屏" }, {
|
|
2878
|
+
default: x(() => [
|
|
2879
|
+
M(v(De), {
|
|
2880
2880
|
class: "icon",
|
|
2881
2881
|
icon: "fullscreen2",
|
|
2882
2882
|
iconColor: "#999",
|
|
@@ -2887,7 +2887,7 @@ const ud = /* @__PURE__ */ pe({
|
|
|
2887
2887
|
/* STABLE */
|
|
2888
2888
|
})
|
|
2889
2889
|
]),
|
|
2890
|
-
default:
|
|
2890
|
+
default: x(() => [
|
|
2891
2891
|
t.value ? (H(), V(v(o), { key: 0 })) : U("v-if", !0)
|
|
2892
2892
|
]),
|
|
2893
2893
|
_: 1
|
|
@@ -3519,7 +3519,7 @@ class Dd {
|
|
|
3519
3519
|
this._message = e, this._id = t, this._resolver = o, this._rejector = r;
|
|
3520
3520
|
}
|
|
3521
3521
|
}
|
|
3522
|
-
const $d = 30 * 1e3, Ld = 15 * 1e3,
|
|
3522
|
+
const $d = 30 * 1e3, Ld = 15 * 1e3, xd = 1e5;
|
|
3523
3523
|
var q;
|
|
3524
3524
|
(function(n) {
|
|
3525
3525
|
n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Connected = "Connected", n.Disconnecting = "Disconnecting", n.Reconnecting = "Reconnecting";
|
|
@@ -3536,7 +3536,7 @@ class _n {
|
|
|
3536
3536
|
constructor(e, t, o, r, i, a, l) {
|
|
3537
3537
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
3538
3538
|
this._logger.log(h.Warning, "The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
|
|
3539
|
-
}, Y.isRequired(e, "connection"), Y.isRequired(t, "logger"), Y.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = i ?? $d, this.keepAliveIntervalInMilliseconds = a ?? Ld, this._statefulReconnectBufferSize = l ??
|
|
3539
|
+
}, Y.isRequired(e, "connection"), Y.isRequired(t, "logger"), Y.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = i ?? $d, this.keepAliveIntervalInMilliseconds = a ?? Ld, this._statefulReconnectBufferSize = l ?? xd, this._logger = t, this._protocol = o, this.connection = e, this._reconnectPolicy = r, this._handshakeProtocol = new Pd(), this.connection.onreceive = (c) => this._processIncomingData(c), this.connection.onclose = (c) => this._connectionClosed(c), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = q.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: j.Ping });
|
|
3540
3540
|
}
|
|
3541
3541
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
3542
3542
|
get state() {
|
|
@@ -4026,19 +4026,19 @@ class _n {
|
|
|
4026
4026
|
return { type: j.Close };
|
|
4027
4027
|
}
|
|
4028
4028
|
}
|
|
4029
|
-
const
|
|
4029
|
+
const Md = [0, 2e3, 1e4, 3e4, null];
|
|
4030
4030
|
class go {
|
|
4031
4031
|
constructor(e) {
|
|
4032
|
-
this._retryDelays = e !== void 0 ? [...e, null] :
|
|
4032
|
+
this._retryDelays = e !== void 0 ? [...e, null] : Md;
|
|
4033
4033
|
}
|
|
4034
4034
|
nextRetryDelayInMilliseconds(e) {
|
|
4035
4035
|
return this._retryDelays[e.previousRetryCount];
|
|
4036
4036
|
}
|
|
4037
4037
|
}
|
|
4038
|
-
class
|
|
4038
|
+
class xe {
|
|
4039
4039
|
}
|
|
4040
|
-
|
|
4041
|
-
|
|
4040
|
+
xe.Authorization = "Authorization";
|
|
4041
|
+
xe.Cookie = "Cookie";
|
|
4042
4042
|
class Rd extends Dt {
|
|
4043
4043
|
constructor(e, t) {
|
|
4044
4044
|
super(), this._innerClient = e, this._accessTokenFactory = t;
|
|
@@ -4050,7 +4050,7 @@ class Rd extends Dt {
|
|
|
4050
4050
|
return t && o.statusCode === 401 && this._accessTokenFactory ? (this._accessToken = await this._accessTokenFactory(), this._setAuthorizationHeader(e), await this._innerClient.send(e)) : o;
|
|
4051
4051
|
}
|
|
4052
4052
|
_setAuthorizationHeader(e) {
|
|
4053
|
-
e.headers || (e.headers = {}), this._accessToken ? e.headers[
|
|
4053
|
+
e.headers || (e.headers = {}), this._accessToken ? e.headers[xe.Authorization] = `Bearer ${this._accessToken}` : this._accessTokenFactory && e.headers[xe.Authorization] && delete e.headers[xe.Authorization];
|
|
4054
4054
|
}
|
|
4055
4055
|
getCookieString(e) {
|
|
4056
4056
|
return this._innerClient.getCookieString(e);
|
|
@@ -4212,7 +4212,7 @@ class Hd {
|
|
|
4212
4212
|
let c = !1;
|
|
4213
4213
|
if (K.isNode || K.isReactNative) {
|
|
4214
4214
|
const s = {}, [u, m] = Ke();
|
|
4215
|
-
s[u] = m, o && (s[
|
|
4215
|
+
s[u] = m, o && (s[xe.Authorization] = `Bearer ${o}`), l && (s[xe.Cookie] = l), a = new this._webSocketConstructor(e, void 0, {
|
|
4216
4216
|
headers: { ...s, ...this._headers }
|
|
4217
4217
|
});
|
|
4218
4218
|
} else
|
|
@@ -4917,7 +4917,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
4917
4917
|
const W = (O) => {
|
|
4918
4918
|
var I;
|
|
4919
4919
|
return (I = a.value) == null ? void 0 : I.parentNode.parentNode;
|
|
4920
|
-
},
|
|
4920
|
+
}, se = (O) => {
|
|
4921
4921
|
u.value.reportTheme = "";
|
|
4922
4922
|
}, Te = (O, I) => {
|
|
4923
4923
|
I.length > 0 && (p.value = I[0].path), s.value.reportPosition = O, y.value = "";
|
|
@@ -4981,7 +4981,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
4981
4981
|
}
|
|
4982
4982
|
return O;
|
|
4983
4983
|
}, br = () => {
|
|
4984
|
-
|
|
4984
|
+
xt();
|
|
4985
4985
|
}, En = async (O) => {
|
|
4986
4986
|
_r() && (l.value = O, wr());
|
|
4987
4987
|
}, wr = async () => {
|
|
@@ -5004,17 +5004,17 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5004
5004
|
i.value = !1;
|
|
5005
5005
|
return;
|
|
5006
5006
|
}
|
|
5007
|
-
r("emitFn", "successHandle", s.value.processTypeId), i.value = !1,
|
|
5007
|
+
r("emitFn", "successHandle", s.value.processTypeId), i.value = !1, xt();
|
|
5008
5008
|
}, Cr = () => {
|
|
5009
5009
|
c.value = !0, yr();
|
|
5010
|
-
},
|
|
5010
|
+
}, xt = () => {
|
|
5011
5011
|
c.value = !1;
|
|
5012
5012
|
};
|
|
5013
5013
|
return e({
|
|
5014
5014
|
open: Cr,
|
|
5015
|
-
close:
|
|
5015
|
+
close: xt
|
|
5016
5016
|
}), (O, I) => (H(), de("div", Ap, [
|
|
5017
|
-
|
|
5017
|
+
M(v(sn), {
|
|
5018
5018
|
modelValue: c.value,
|
|
5019
5019
|
"onUpdate:modelValue": I[31] || (I[31] = (B) => c.value = B),
|
|
5020
5020
|
type: "basic",
|
|
@@ -5026,21 +5026,21 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5026
5026
|
},
|
|
5027
5027
|
"destroy-on-close": ""
|
|
5028
5028
|
}, {
|
|
5029
|
-
header:
|
|
5030
|
-
|
|
5029
|
+
header: x(() => [
|
|
5030
|
+
le(
|
|
5031
5031
|
Z(v(Q)("告警处理").value),
|
|
5032
5032
|
1
|
|
5033
5033
|
/* TEXT */
|
|
5034
5034
|
)
|
|
5035
5035
|
]),
|
|
5036
|
-
footer:
|
|
5036
|
+
footer: x(() => [
|
|
5037
5037
|
L("div", bp, [
|
|
5038
|
-
|
|
5038
|
+
M(v(ke), {
|
|
5039
5039
|
size: "middle",
|
|
5040
5040
|
onClick: br
|
|
5041
5041
|
}, {
|
|
5042
|
-
default:
|
|
5043
|
-
|
|
5042
|
+
default: x(() => [
|
|
5043
|
+
le(
|
|
5044
5044
|
Z(v(Q)("取消").value),
|
|
5045
5045
|
1
|
|
5046
5046
|
/* TEXT */
|
|
@@ -5049,12 +5049,12 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5049
5049
|
_: 1
|
|
5050
5050
|
/* STABLE */
|
|
5051
5051
|
}),
|
|
5052
|
-
|
|
5052
|
+
M(v(ke), {
|
|
5053
5053
|
size: "middle",
|
|
5054
5054
|
onClick: I[29] || (I[29] = (B) => En(1))
|
|
5055
5055
|
}, {
|
|
5056
|
-
default:
|
|
5057
|
-
|
|
5056
|
+
default: x(() => [
|
|
5057
|
+
le(
|
|
5058
5058
|
Z(v(Q)("结束处理").value),
|
|
5059
5059
|
1
|
|
5060
5060
|
/* TEXT */
|
|
@@ -5063,13 +5063,13 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5063
5063
|
_: 1
|
|
5064
5064
|
/* STABLE */
|
|
5065
5065
|
}),
|
|
5066
|
-
|
|
5066
|
+
M(v(ke), {
|
|
5067
5067
|
btnType: "primary",
|
|
5068
5068
|
size: "middle",
|
|
5069
5069
|
onClick: I[30] || (I[30] = (B) => En(2))
|
|
5070
5070
|
}, {
|
|
5071
|
-
default:
|
|
5072
|
-
|
|
5071
|
+
default: x(() => [
|
|
5072
|
+
le(
|
|
5073
5073
|
Z(v(Q)("继续处理").value),
|
|
5074
5074
|
1
|
|
5075
5075
|
/* TEXT */
|
|
@@ -5080,9 +5080,9 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5080
5080
|
})
|
|
5081
5081
|
])
|
|
5082
5082
|
]),
|
|
5083
|
-
default:
|
|
5084
|
-
|
|
5085
|
-
default:
|
|
5083
|
+
default: x(() => [
|
|
5084
|
+
M(v(ko), { spinning: i.value }, {
|
|
5085
|
+
default: x(() => [
|
|
5086
5086
|
L(
|
|
5087
5087
|
"div",
|
|
5088
5088
|
{
|
|
@@ -5091,13 +5091,13 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5091
5091
|
class: "handle-alarm-dialog-content"
|
|
5092
5092
|
},
|
|
5093
5093
|
[
|
|
5094
|
-
|
|
5094
|
+
M(v(ds), {
|
|
5095
5095
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
5096
5096
|
cols: 1,
|
|
5097
5097
|
alignType: "horizontal"
|
|
5098
5098
|
}, {
|
|
5099
|
-
default:
|
|
5100
|
-
|
|
5099
|
+
default: x(() => [
|
|
5100
|
+
M(v(_e), {
|
|
5101
5101
|
label: v(Q)("处理类型").value,
|
|
5102
5102
|
required: "",
|
|
5103
5103
|
type: "select",
|
|
@@ -5165,10 +5165,10 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5165
5165
|
marginBottom: "20px",
|
|
5166
5166
|
marginRight: "0"
|
|
5167
5167
|
}, {
|
|
5168
|
-
default:
|
|
5168
|
+
default: x(() => [
|
|
5169
5169
|
L("div", mp, [
|
|
5170
5170
|
L("div", vp, [
|
|
5171
|
-
|
|
5171
|
+
M(v(us), {
|
|
5172
5172
|
borderType: "underline",
|
|
5173
5173
|
props: { disabled: "_disabled", label: "name" },
|
|
5174
5174
|
modelValue: s.value.reportPosition,
|
|
@@ -5187,7 +5187,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5187
5187
|
filter: !0,
|
|
5188
5188
|
allowClear: !0
|
|
5189
5189
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]),
|
|
5190
|
-
|
|
5190
|
+
M(v(Pn), {
|
|
5191
5191
|
ref: "testInput",
|
|
5192
5192
|
modelValue: s.value.customPath,
|
|
5193
5193
|
"onUpdate:modelValue": I[11] || (I[11] = (B) => s.value.customPath = B),
|
|
@@ -5196,15 +5196,15 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5196
5196
|
maxlength: "20"
|
|
5197
5197
|
}, null, 8, ["modelValue", "disabled"])
|
|
5198
5198
|
]),
|
|
5199
|
-
|
|
5199
|
+
M(v(Bn), {
|
|
5200
5200
|
modelValue: w.value,
|
|
5201
5201
|
"onUpdate:modelValue": I[12] || (I[12] = (B) => w.value = B),
|
|
5202
5202
|
checkboxType: "default",
|
|
5203
5203
|
onChange: ft,
|
|
5204
5204
|
size: "middle"
|
|
5205
5205
|
}, {
|
|
5206
|
-
default:
|
|
5207
|
-
|
|
5206
|
+
default: x(() => [
|
|
5207
|
+
le(
|
|
5208
5208
|
Z(v(Q)("告警对象位置").value),
|
|
5209
5209
|
1
|
|
5210
5210
|
/* TEXT */
|
|
@@ -5228,25 +5228,25 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5228
5228
|
marginBottom: "20px",
|
|
5229
5229
|
marginRight: "0"
|
|
5230
5230
|
}, {
|
|
5231
|
-
default:
|
|
5231
|
+
default: x(() => [
|
|
5232
5232
|
L("div", yp, [
|
|
5233
|
-
|
|
5233
|
+
M(v(Pn), {
|
|
5234
5234
|
maxlength: "20",
|
|
5235
5235
|
disabled: T.value,
|
|
5236
5236
|
modelValue: s.value.reportTheme,
|
|
5237
5237
|
"onUpdate:modelValue": I[14] || (I[14] = (B) => s.value.reportTheme = B),
|
|
5238
5238
|
placeholder: g.value,
|
|
5239
|
-
onChange:
|
|
5239
|
+
onChange: se
|
|
5240
5240
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
5241
|
-
|
|
5241
|
+
M(v(Bn), {
|
|
5242
5242
|
modelValue: R.value,
|
|
5243
5243
|
"onUpdate:modelValue": I[15] || (I[15] = (B) => R.value = B),
|
|
5244
5244
|
checkboxType: "default",
|
|
5245
5245
|
onChange: ne,
|
|
5246
5246
|
size: "middle"
|
|
5247
5247
|
}, {
|
|
5248
|
-
default:
|
|
5249
|
-
|
|
5248
|
+
default: x(() => [
|
|
5249
|
+
le(
|
|
5250
5250
|
Z(v(Q)("告警对象").value),
|
|
5251
5251
|
1
|
|
5252
5252
|
/* TEXT */
|
|
@@ -5329,9 +5329,9 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5329
5329
|
marginBottom: "30px",
|
|
5330
5330
|
marginRight: "0"
|
|
5331
5331
|
}, {
|
|
5332
|
-
default:
|
|
5332
|
+
default: x(() => [
|
|
5333
5333
|
L("div", _p, [
|
|
5334
|
-
|
|
5334
|
+
M(v(ls), {
|
|
5335
5335
|
class: "select",
|
|
5336
5336
|
modelValue: s.value.interval,
|
|
5337
5337
|
"onUpdate:modelValue": I[25] || (I[25] = (B) => s.value.interval = B),
|
|
@@ -5378,7 +5378,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5378
5378
|
onEmitFn: (r, i) => {
|
|
5379
5379
|
}
|
|
5380
5380
|
})
|
|
5381
|
-
}), Sp = { class: "alarm-msg" }, Tp = { style: { position: "relative" } }, kp = { class: "title-left" }, Pp = { class: "title-box" }, Bp = { class: "content-box" }, Op = { class: "alarm-msg-line" }, Dp = { class: "alarm-msg-line-left" }, $p = { class: "alarm-msg-line" }, Lp = { class: "alarm-msg-line-left" },
|
|
5381
|
+
}), Sp = { class: "alarm-msg" }, Tp = { style: { position: "relative" } }, kp = { class: "title-left" }, Pp = { class: "title-box" }, Bp = { class: "content-box" }, Op = { class: "alarm-msg-line" }, Dp = { class: "alarm-msg-line-left" }, $p = { class: "alarm-msg-line" }, Lp = { class: "alarm-msg-line-left" }, xp = { class: "alarm-msg-line-right alarm-content-object" }, Mp = { class: "alarm-msg-line" }, Rp = { class: "alarm-msg-line-left" }, Qp = { class: "alarm-msg-line-right alarm-content" }, jp = { class: "btn-box" }, Hp = {
|
|
5382
5382
|
name: "alarm"
|
|
5383
5383
|
}, Np = /* @__PURE__ */ pe({
|
|
5384
5384
|
...Hp,
|
|
@@ -5460,13 +5460,13 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5460
5460
|
),
|
|
5461
5461
|
L(
|
|
5462
5462
|
"div",
|
|
5463
|
-
|
|
5463
|
+
xp,
|
|
5464
5464
|
Z(a.msgItem.equipmentName || ""),
|
|
5465
5465
|
1
|
|
5466
5466
|
/* TEXT */
|
|
5467
5467
|
)
|
|
5468
5468
|
]),
|
|
5469
|
-
L("div",
|
|
5469
|
+
L("div", Mp, [
|
|
5470
5470
|
L(
|
|
5471
5471
|
"div",
|
|
5472
5472
|
Rp,
|
|
@@ -5490,8 +5490,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5490
5490
|
btnType: "primary-text",
|
|
5491
5491
|
size: "middle"
|
|
5492
5492
|
}, {
|
|
5493
|
-
default:
|
|
5494
|
-
|
|
5493
|
+
default: x(() => [
|
|
5494
|
+
le(
|
|
5495
5495
|
Z(v(Q)("设备详情").value),
|
|
5496
5496
|
1
|
|
5497
5497
|
/* TEXT */
|
|
@@ -5507,8 +5507,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5507
5507
|
onClick: te(r, ["stop"]),
|
|
5508
5508
|
size: "middle"
|
|
5509
5509
|
}, {
|
|
5510
|
-
default:
|
|
5511
|
-
|
|
5510
|
+
default: x(() => [
|
|
5511
|
+
le(
|
|
5512
5512
|
Z(v(Q)("处理").value),
|
|
5513
5513
|
1
|
|
5514
5514
|
/* TEXT */
|
|
@@ -5552,7 +5552,7 @@ const Fp = () => {
|
|
|
5552
5552
|
loop: !1
|
|
5553
5553
|
// 轮播-无限次播放
|
|
5554
5554
|
});
|
|
5555
|
-
|
|
5555
|
+
ue.addEventListenerFromMicroApp("alarm:change-alarmconfig", (C) => {
|
|
5556
5556
|
const { isRealTimeAlarm: T, audioPlay: R } = C.data;
|
|
5557
5557
|
T != null && (l.value = T), R != null && (c.value = R, c.value || y());
|
|
5558
5558
|
});
|
|
@@ -5652,7 +5652,7 @@ const Fp = () => {
|
|
|
5652
5652
|
$ && n.value.send($);
|
|
5653
5653
|
},
|
|
5654
5654
|
message: async ($) => {
|
|
5655
|
-
|
|
5655
|
+
ue.sendMessageToMicroApp("enterpriseadmin/alarm", "alarmmessage", { alarmMessage: $ }), window.self === window.top && ($.messageType === "ADD" && (e.value = e.value + 1, $.coverId || p($)), $.messageType === "DELETE" && (e.value = e.value - 1, s.value.playId == $.recordId && y()));
|
|
5656
5656
|
}
|
|
5657
5657
|
}));
|
|
5658
5658
|
}
|
|
@@ -5669,7 +5669,7 @@ const Fp = () => {
|
|
|
5669
5669
|
We,
|
|
5670
5670
|
null,
|
|
5671
5671
|
[
|
|
5672
|
-
|
|
5672
|
+
M(v(i)),
|
|
5673
5673
|
L("audio", {
|
|
5674
5674
|
src: v(o).playPath,
|
|
5675
5675
|
class: "audio-alarm-level",
|
|
@@ -5692,10 +5692,10 @@ const Fp = () => {
|
|
|
5692
5692
|
const { $changePwd: u, $personSetDialog: m } = Cu(), { changeEnterprisesVisible: A, userId: f, tenantId: S, changeEnterprise: b } = dr();
|
|
5693
5693
|
vu();
|
|
5694
5694
|
const { fontColor: p, backgroudColor: d, borderColor: g } = _u();
|
|
5695
|
-
return $u(), Lu(c),
|
|
5696
|
-
|
|
5697
|
-
default:
|
|
5698
|
-
|
|
5695
|
+
return $u(), Lu(c), xu(), Ru(), pd(), op(), (_, y) => (H(), de("div", zp, [
|
|
5696
|
+
M(v(Ps), { platformInitNextTick: v(a) }, {
|
|
5697
|
+
default: x(() => [
|
|
5698
|
+
M(fs, {
|
|
5699
5699
|
showLayout: t.value,
|
|
5700
5700
|
excludeRoutes: o.value,
|
|
5701
5701
|
routeKeepAliveVisible: r.value,
|
|
@@ -5707,7 +5707,7 @@ const Fp = () => {
|
|
|
5707
5707
|
/* STABLE */
|
|
5708
5708
|
}, 8, ["platformInitNextTick"]),
|
|
5709
5709
|
U(" 切换租户 "),
|
|
5710
|
-
|
|
5710
|
+
M(v(jr), {
|
|
5711
5711
|
visible: v(A),
|
|
5712
5712
|
"onUpdate:visible": y[0] || (y[0] = (k) => Dr(A) ? A.value = k : null),
|
|
5713
5713
|
userId: v(f),
|
|
@@ -5715,7 +5715,7 @@ const Fp = () => {
|
|
|
5715
5715
|
onConfirm: v(b)
|
|
5716
5716
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
5717
5717
|
U(" 修改密码 "),
|
|
5718
|
-
|
|
5718
|
+
M(
|
|
5719
5719
|
v(Qr),
|
|
5720
5720
|
{
|
|
5721
5721
|
ref_key: "$changePwd",
|
|
@@ -5726,7 +5726,7 @@ const Fp = () => {
|
|
|
5726
5726
|
/* NEED_PATCH */
|
|
5727
5727
|
),
|
|
5728
5728
|
U(" 个性化设置 "),
|
|
5729
|
-
|
|
5729
|
+
M(
|
|
5730
5730
|
v(pu),
|
|
5731
5731
|
{
|
|
5732
5732
|
ref_key: "$personSetDialog",
|
|
@@ -5737,7 +5737,7 @@ const Fp = () => {
|
|
|
5737
5737
|
/* NEED_PATCH */
|
|
5738
5738
|
),
|
|
5739
5739
|
U(" 告警 "),
|
|
5740
|
-
|
|
5740
|
+
M(v(Wp))
|
|
5741
5741
|
]));
|
|
5742
5742
|
}
|
|
5743
5743
|
}), qp = /* @__PURE__ */ Ee(Vp, [["__scopeId", "data-v-45ef70df"]]);
|
|
@@ -5745,15 +5745,15 @@ E("@das-fed/web");
|
|
|
5745
5745
|
const Kp = [
|
|
5746
5746
|
{
|
|
5747
5747
|
path: Ie,
|
|
5748
|
-
component: () => import("./index-
|
|
5748
|
+
component: () => import("./index-Dmb3C3y5.js")
|
|
5749
5749
|
},
|
|
5750
5750
|
{
|
|
5751
5751
|
path: Je,
|
|
5752
|
-
component: () => import("./index-
|
|
5752
|
+
component: () => import("./index-DuIncATn.js")
|
|
5753
5753
|
},
|
|
5754
5754
|
{
|
|
5755
5755
|
path: Bo,
|
|
5756
|
-
component: () => import("./index-
|
|
5756
|
+
component: () => import("./index-DCqOCM9d.js")
|
|
5757
5757
|
}
|
|
5758
5758
|
], Hf = {
|
|
5759
5759
|
routes: Kp,
|