@das-fed/web 6.4.0-dev.21 → 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-t4FWMW__.js → index-ByENyZQn.js} +1 -1
- package/index-ByENyZQn.js.gz +0 -0
- package/{index-DNqfV3E9.js → index-CAO0LRaP.js} +1 -1
- package/index-CAO0LRaP.js.gz +0 -0
- package/{index-C9Z5Et6m.js → index-DWT7O-tu.js} +1 -1
- package/{index-CtOlfmIU.js → index-sjZbOO0N.js} +275 -274
- package/index-sjZbOO0N.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/{index-IzpOTZ0u.js → index-BCOqm-Sl.js} +361 -360
- package/packages/main-app-framework/index-BCOqm-Sl.js.gz +0 -0
- package/packages/main-app-framework/{index-CGRKqP1O.js → index-DCqOCM9d.js} +1 -1
- package/packages/main-app-framework/{index-fj8M6ijq.js → index-Dmb3C3y5.js} +1 -1
- package/packages/main-app-framework/index-Dmb3C3y5.js.gz +0 -0
- package/{index-D6BMoZho.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-CtOlfmIU.js.gz +0 -0
- package/index-D6BMoZho.js.gz +0 -0
- package/index-DNqfV3E9.js.gz +0 -0
- package/packages/main-app-framework/index-IzpOTZ0u.js.gz +0 -0
- package/packages/main-app-framework/index-fj8M6ijq.js.gz +0 -0
- package/packages/main-app-framework/index-t4FWMW__.js.gz +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
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
|
|
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";
|
|
13
13
|
import { useRouter as Ge, useRoute as on } from "vue-router";
|
|
14
14
|
import { useGetAuth as qr } from "@das-fed/utils/hooks/use-get-auth";
|
|
15
15
|
import { systemConfiguration as Kr, enterpriseright as rn, createService as Xe, spaceManage as Eo } from "@das-fed/utils/api-services";
|
|
16
|
-
import { microFrontend as te } from "@das-fed/web/packages/micro-frontend/index";
|
|
17
16
|
import { getConfig as He } from "@das-fed/utils/config";
|
|
18
17
|
import Jt from "dayjs";
|
|
19
18
|
import { getAccessToken as Gr, removeAccessToken as Xr } from "@das-fed/utils/token-tools";
|
|
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
|
|
@@ -124,7 +124,7 @@ function _s(...n) {
|
|
|
124
124
|
Array.isArray(t) || (t = [t]), Array.isArray(o) || (o = [o]);
|
|
125
125
|
const i = [], a = () => {
|
|
126
126
|
i.forEach((u) => u()), i.length = 0;
|
|
127
|
-
}, l = (u, m, A, f) => (u.addEventListener(m, A, f), () => u.removeEventListener(m, A, f)), c =
|
|
127
|
+
}, l = (u, m, A, f) => (u.addEventListener(m, A, f), () => u.removeEventListener(m, A, f)), c = oe(() => [$o(e), Oo(r)], ([u, m]) => {
|
|
128
128
|
a(), u && i.push(...t.flatMap((A) => o.map((f) => l(u, A, f, m))));
|
|
129
129
|
}, { immediate: !0, flush: "post" }), s = () => {
|
|
130
130
|
c(), a();
|
|
@@ -137,7 +137,7 @@ function bs(n, e = !1) {
|
|
|
137
137
|
}
|
|
138
138
|
const Dn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, $n = "__vueuse_ssr_handlers__";
|
|
139
139
|
Dn[$n] = Dn[$n] || {};
|
|
140
|
-
const
|
|
140
|
+
const Ln = [
|
|
141
141
|
[
|
|
142
142
|
"requestFullscreen",
|
|
143
143
|
"exitFullscreen",
|
|
@@ -181,10 +181,10 @@ const Mn = [
|
|
|
181
181
|
];
|
|
182
182
|
function lt(n, e = {}) {
|
|
183
183
|
const { document: t = ys, autoExit: o = !1 } = e, r = n || (t == null ? void 0 : t.querySelector("html")), i = E(!1);
|
|
184
|
-
let a =
|
|
184
|
+
let a = Ln[0];
|
|
185
185
|
const l = bs(() => {
|
|
186
186
|
if (t) {
|
|
187
|
-
for (const b of
|
|
187
|
+
for (const b of Ln)
|
|
188
188
|
if (b[1] in t)
|
|
189
189
|
return a = b, !0;
|
|
190
190
|
} else
|
|
@@ -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
|
};
|
|
@@ -306,7 +306,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
306
306
|
};
|
|
307
307
|
A();
|
|
308
308
|
const f = Ge(), S = on();
|
|
309
|
-
return
|
|
309
|
+
return oe(
|
|
310
310
|
() => f.currentRoute.value,
|
|
311
311
|
(b) => {
|
|
312
312
|
var _, y, k;
|
|
@@ -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,23 +366,23 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
366
366
|
"custom-class": "menu-tip-diaolg",
|
|
367
367
|
onClosed: t.closeCallback
|
|
368
368
|
}, {
|
|
369
|
-
footer:
|
|
370
|
-
|
|
371
|
-
|
|
369
|
+
footer: x(() => [
|
|
370
|
+
L("div", Ds, [
|
|
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:
|
|
385
|
-
|
|
384
|
+
default: x(() => [
|
|
385
|
+
L("div", {
|
|
386
386
|
class: "content",
|
|
387
387
|
innerHTML: t.content
|
|
388
388
|
}, null, 8, Os),
|
|
@@ -390,7 +390,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
390
390
|
We,
|
|
391
391
|
{ key: 0 },
|
|
392
392
|
[
|
|
393
|
-
o[1] || (o[1] =
|
|
393
|
+
o[1] || (o[1] = L(
|
|
394
394
|
"div",
|
|
395
395
|
{ class: "divide" },
|
|
396
396
|
null,
|
|
@@ -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 */
|
|
@@ -424,16 +424,16 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
|
|
|
424
424
|
/* STABLE */
|
|
425
425
|
}, 8, ["modelValue", "width", "height", "title", "onClosed"]));
|
|
426
426
|
}
|
|
427
|
-
}),
|
|
427
|
+
}), Ls = /* @__PURE__ */ Ee($s, [["__scopeId", "data-v-72bc9a80"]]), rt = ({ title: n = "", content: e = "", desc: t = [] }) => new Promise((o) => {
|
|
428
428
|
const r = document.createElement("div");
|
|
429
429
|
r.setAttribute("id", "entry-app-dialog"), document.body.appendChild(r);
|
|
430
|
-
const a = he(
|
|
430
|
+
const a = he(Ls, { title: n, content: e, desc: t, closeCallback: () => {
|
|
431
431
|
vt(null, r), document.body.removeChild(r), o(null);
|
|
432
432
|
} });
|
|
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;
|
|
@@ -449,12 +449,12 @@ const Ls = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
449
449
|
sessionStorage.setItem("home-config", JSON.stringify(n));
|
|
450
450
|
}, Hs = (n) => {
|
|
451
451
|
localStorage.setItem("fav-icon", n);
|
|
452
|
-
},
|
|
452
|
+
}, Lo = (n) => {
|
|
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 Ls = "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 Ls = "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 Ls = "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
|
|
699
|
-
"^" + Qi.call(ji).replace(
|
|
698
|
+
var Li = /[\\^$.*+?()[\]{}|]/g, xi = /^\[object .+?Constructor\]$/, Mi = Function.prototype, Ri = Object.prototype, Qi = Mi.toString, ji = Ri.hasOwnProperty, Hi = RegExp(
|
|
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]",
|
|
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
|
|
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
|
-
case Mc:
|
|
1061
1060
|
case Lc:
|
|
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
|
|
1152
|
+
var Ll = 1, xl = 4;
|
|
1153
1153
|
function qe(n) {
|
|
1154
|
-
return mt(n,
|
|
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
|
|
@@ -1378,7 +1378,7 @@ const wt = (n, e = "") => {
|
|
|
1378
1378
|
l && (t = Tn(e, (c) => c.id === l)), (!l || !t) && (t = Tn(e, (c) => c.type === 7));
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
|
-
return
|
|
1381
|
+
return Lo(t || { id: 0 }), wo((t == null ? void 0 : t.id) || 0), { projectConfig: e, currentProject: t };
|
|
1382
1382
|
}, zl = "v1", Vl = nn.get("/visitor/login/with-default", (n) => (n.public = !0, n)), ql = nn.get("/visitor/appearance/with-default", (n) => (n.public = !0, n)), Kl = je(`/api/portal/manager/${zl}`), Gl = Kl.get("/basics/home/info"), Xl = Be.get("/menu/personal-setting"), Zl = async () => {
|
|
1383
1383
|
const [n, e] = await Vl().run();
|
|
1384
1384
|
return n ? { loginConfig: null } : { loginConfig: e };
|
|
@@ -1406,64 +1406,64 @@ 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:
|
|
1417
|
-
|
|
1418
|
-
|
|
1416
|
+
footer: x(() => [
|
|
1417
|
+
L("div", uu, [
|
|
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:
|
|
1444
|
-
|
|
1445
|
-
|
|
1443
|
+
default: x(() => [
|
|
1444
|
+
L("div", ou, [
|
|
1445
|
+
L(
|
|
1446
1446
|
"p",
|
|
1447
1447
|
ru,
|
|
1448
1448
|
Z(v(Q)("侧边菜单栏").value),
|
|
1449
1449
|
1
|
|
1450
1450
|
/* TEXT */
|
|
1451
1451
|
),
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
src: v(
|
|
1452
|
+
L("div", su, [
|
|
1453
|
+
L("div", iu, [
|
|
1454
|
+
L("img", {
|
|
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 */
|
|
@@ -1473,20 +1473,20 @@ const wt = (n, e = "") => {
|
|
|
1473
1473
|
/* STABLE */
|
|
1474
1474
|
}, 8, ["modelValue"])
|
|
1475
1475
|
]),
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
src: v(
|
|
1476
|
+
L("div", cu, [
|
|
1477
|
+
L("img", {
|
|
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 */
|
|
@@ -1544,7 +1544,7 @@ const wt = (n, e = "") => {
|
|
|
1544
1544
|
};
|
|
1545
1545
|
}, Au = (n) => {
|
|
1546
1546
|
const e = Ge(), t = on(), { getMenu: o } = qr(), { getHistoryList: r, getSearchList: i } = Du(), a = E(!0), l = E([]), c = E([]), s = E(!1), u = E(!1);
|
|
1547
|
-
|
|
1547
|
+
oe(
|
|
1548
1548
|
() => t.path,
|
|
1549
1549
|
(S) => {
|
|
1550
1550
|
s.value = S === nt;
|
|
@@ -1552,7 +1552,7 @@ const wt = (n, e = "") => {
|
|
|
1552
1552
|
{
|
|
1553
1553
|
immediate: !0
|
|
1554
1554
|
}
|
|
1555
|
-
),
|
|
1555
|
+
), oe(
|
|
1556
1556
|
() => [s.value, u.value],
|
|
1557
1557
|
() => {
|
|
1558
1558
|
D.nav.setConfig({
|
|
@@ -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();
|
|
@@ -1654,7 +1654,7 @@ const wt = (n, e = "") => {
|
|
|
1654
1654
|
}, _u = () => {
|
|
1655
1655
|
const n = Ge(), e = "#666666", t = "#FAFAFA", o = "#D9D9D9", r = E(e), i = E(t), a = E(o);
|
|
1656
1656
|
let l = "", c = {};
|
|
1657
|
-
|
|
1657
|
+
oe(
|
|
1658
1658
|
() => n.currentRoute.value,
|
|
1659
1659
|
async (d) => {
|
|
1660
1660
|
var P, C, T, R, $, N, W;
|
|
@@ -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,11 +1789,11 @@ 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
|
-
if (
|
|
1796
|
-
if (!(a && a.find((G) => b.startsWith("/" + G) || b.startsWith(G)))) return;
|
|
1795
|
+
if (!f && b) {
|
|
1796
|
+
if (l(), !(a && a.find((G) => b.startsWith("/" + G) || b.startsWith(G)))) return;
|
|
1797
1797
|
n.push({ path: b, query: d.query });
|
|
1798
1798
|
return;
|
|
1799
1799
|
}
|
|
@@ -1802,15 +1802,16 @@ const wt = (n, e = "") => {
|
|
|
1802
1802
|
_ === "false" && (_ = !1);
|
|
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
|
-
|
|
1806
|
-
|
|
1805
|
+
l();
|
|
1806
|
+
const ne = ((se = F()) == null ? void 0 : se.subAppList) ?? [];
|
|
1807
|
+
if ((ne == null ? void 0 : ne.find((fe) => fe.code === f.code)) || ne == null || ne.push(f), Ae([
|
|
1807
1808
|
{ key: "currentSubApp", value: f },
|
|
1808
1809
|
{ key: "currentSubAppCode", value: f.code },
|
|
1809
|
-
{ key: "subAppList", value:
|
|
1810
|
-
]),
|
|
1810
|
+
{ key: "subAppList", value: ne }
|
|
1811
|
+
]), ne.forEach((fe) => {
|
|
1811
1812
|
const Oe = { ...fe, value: fe.code, label: fe.name };
|
|
1812
1813
|
D.nav.appendItem(Oe);
|
|
1813
|
-
}), D.nav.setActiveItem(f.code),
|
|
1814
|
+
}), D.nav.setActiveItem(f.code), f.routeUrl.includes("entrance=main")) {
|
|
1814
1815
|
n.push({ path: f.routeUrl, query: { ...d.query, app: f.code } });
|
|
1815
1816
|
return;
|
|
1816
1817
|
}
|
|
@@ -1839,9 +1840,9 @@ const wt = (n, e = "") => {
|
|
|
1839
1840
|
query: { ...R, app: C.applicationCode, menu: C.code },
|
|
1840
1841
|
meta: { ...(d == null ? void 0 : d.meta) ?? {} }
|
|
1841
1842
|
}), P && (P == null ? void 0 : P.code) !== (f == null ? void 0 : f.code)) {
|
|
1842
|
-
if (P.fixed && (
|
|
1843
|
-
const
|
|
1844
|
-
await s({ microApp:
|
|
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 = ae().preTab[P.code], fe = { ...(G == null ? void 0 : G.query) ?? {} };
|
|
1845
|
+
await s({ microApp: ne, menuCode: (G == null ? void 0 : G.code) ?? "", route: { query: fe } });
|
|
1845
1846
|
}
|
|
1846
1847
|
return;
|
|
1847
1848
|
}
|
|
@@ -1861,8 +1862,8 @@ const wt = (n, e = "") => {
|
|
|
1861
1862
|
const fe = { ...G, value: G.code, label: G.name };
|
|
1862
1863
|
D.nav.appendItem(fe);
|
|
1863
1864
|
}), D.nav.setActiveItem($.code), D.menu.setItems(w);
|
|
1864
|
-
const
|
|
1865
|
-
|
|
1865
|
+
const ne = ae().tabMap[$.code] ?? [];
|
|
1866
|
+
ne.length && ne.forEach((G) => {
|
|
1866
1867
|
D.tab.appendItem({
|
|
1867
1868
|
...G,
|
|
1868
1869
|
value: G.code,
|
|
@@ -1874,17 +1875,17 @@ const wt = (n, e = "") => {
|
|
|
1874
1875
|
}, u = async (A) => {
|
|
1875
1876
|
var f;
|
|
1876
1877
|
if (ee.innerSet = !0, A.fixed) {
|
|
1877
|
-
D.menu.setItems([]), D.tab.setItems([]),
|
|
1878
|
+
n.push(A.path), D.menu.setItems([]), D.tab.setItems([]), D.nav.setActiveItem(A.path), Ae([
|
|
1878
1879
|
{ key: "currentSubAppCode", value: "" },
|
|
1879
1880
|
{ key: "currentSubApp", value: {} }
|
|
1880
|
-
]),
|
|
1881
|
+
]), ce([
|
|
1881
1882
|
{ key: "currentCode", value: "" },
|
|
1882
1883
|
{ key: "currentTab", value: {} }
|
|
1883
|
-
])
|
|
1884
|
+
]);
|
|
1884
1885
|
return;
|
|
1885
1886
|
}
|
|
1886
1887
|
if (!A.fixed) {
|
|
1887
|
-
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) ?? {} };
|
|
1888
1889
|
await s({ microApp: S, menuCode: p, route: { query: d } });
|
|
1889
1890
|
}
|
|
1890
1891
|
};
|
|
@@ -1898,13 +1899,13 @@ const wt = (n, e = "") => {
|
|
|
1898
1899
|
if (!((d = f.subAppList) != null && d.length)) return;
|
|
1899
1900
|
const S = f.subAppList.findIndex((g) => g.code === A.code);
|
|
1900
1901
|
if (S === -1) return;
|
|
1901
|
-
const b =
|
|
1902
|
+
const b = ae().tabMap[A.code] ?? [];
|
|
1902
1903
|
if (b.length) {
|
|
1903
1904
|
const g = b.map((_) => _.path);
|
|
1904
1905
|
t(g);
|
|
1905
1906
|
}
|
|
1906
1907
|
let p = null;
|
|
1907
|
-
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([
|
|
1908
1909
|
{ key: `preTab:${A.code}`, value: {} },
|
|
1909
1910
|
{ key: `tabMap:${A.code}`, value: [] }
|
|
1910
1911
|
]), p) {
|
|
@@ -1914,7 +1915,7 @@ const wt = (n, e = "") => {
|
|
|
1914
1915
|
if (!f.subAppList.length) {
|
|
1915
1916
|
D.menu.setItems([]), D.tab.setItems([]);
|
|
1916
1917
|
const g = Po.find((_) => _.value === Ie);
|
|
1917
|
-
g && u(g), ln(),
|
|
1918
|
+
g && u(g), ln(), xo();
|
|
1918
1919
|
}
|
|
1919
1920
|
}
|
|
1920
1921
|
};
|
|
@@ -1931,18 +1932,18 @@ const wt = (n, e = "") => {
|
|
|
1931
1932
|
if (u === 1)
|
|
1932
1933
|
if (m === 1)
|
|
1933
1934
|
if (a.routeUrl.startsWith(Je)) {
|
|
1934
|
-
|
|
1935
|
+
ue.hideAllMicroApp(), A = Je;
|
|
1935
1936
|
const p = Wr(a.routeUrl, "iframeSrc");
|
|
1936
1937
|
s = { ...s, iframeSrc: p }, n.push({ path: A, query: s });
|
|
1937
1938
|
} else a.applicationPath && (A = c || a.routeUrl, A = `/${a.applicationPath}${A}`.replace(/\/\//g, "/"), n.push({ path: A, query: s }));
|
|
1938
1939
|
else {
|
|
1939
|
-
|
|
1940
|
+
ue.hideAllMicroApp(), A = Je;
|
|
1940
1941
|
const p = Wt(Ut(Ft(a.routeUrl)));
|
|
1941
1942
|
s = { ...s, iframeSrc: p }, n.push({ path: A, query: s });
|
|
1942
1943
|
}
|
|
1943
1944
|
if (u === 2) {
|
|
1944
1945
|
let p = m === 1 ? `/${a.applicationPath}${a.routeUrl}`.replace(/\/\//g, "/") : a.routeUrl;
|
|
1945
|
-
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({
|
|
1946
1947
|
path: A,
|
|
1947
1948
|
query: s
|
|
1948
1949
|
}));
|
|
@@ -1964,7 +1965,7 @@ const wt = (n, e = "") => {
|
|
|
1964
1965
|
...p,
|
|
1965
1966
|
value: p.code,
|
|
1966
1967
|
label: p.name
|
|
1967
|
-
}), 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([
|
|
1968
1969
|
{
|
|
1969
1970
|
key: "currentCode",
|
|
1970
1971
|
value: a.code
|
|
@@ -2023,7 +2024,7 @@ const wt = (n, e = "") => {
|
|
|
2023
2024
|
(C) => p === C.code || b.includes(C.code)
|
|
2024
2025
|
);
|
|
2025
2026
|
Ae([{ key: "subAppList", value: P }]), w && w.length && w.forEach((C) => {
|
|
2026
|
-
|
|
2027
|
+
ce([
|
|
2027
2028
|
{ key: `preTab:${C.code}`, value: {} },
|
|
2028
2029
|
{ key: `tabMap:${C.code}`, value: [] }
|
|
2029
2030
|
]);
|
|
@@ -2035,11 +2036,11 @@ const wt = (n, e = "") => {
|
|
|
2035
2036
|
const { currentApp: P } = Gt(s.query.app);
|
|
2036
2037
|
if (P) {
|
|
2037
2038
|
w = P;
|
|
2038
|
-
const T = (
|
|
2039
|
+
const T = (ae().preTab ?? {})[w.code];
|
|
2039
2040
|
s = {}, T && (s.path = `/${T.applicationPath}${T.path}`.replace(/\/\//g, "/"), s.query = T.query);
|
|
2040
2041
|
}
|
|
2041
2042
|
}
|
|
2042
|
-
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 });
|
|
2043
2044
|
return;
|
|
2044
2045
|
} else {
|
|
2045
2046
|
const w = A && A.find(
|
|
@@ -2059,7 +2060,7 @@ const wt = (n, e = "") => {
|
|
|
2059
2060
|
}
|
|
2060
2061
|
}
|
|
2061
2062
|
if (u) {
|
|
2062
|
-
|
|
2063
|
+
(k = (y = F()) == null ? void 0 : y.subAppList) == null || k.forEach((P) => {
|
|
2063
2064
|
const C = { ...P, value: P.code, label: P.name };
|
|
2064
2065
|
D.nav.appendItem(C);
|
|
2065
2066
|
});
|
|
@@ -2067,14 +2068,14 @@ const wt = (n, e = "") => {
|
|
|
2067
2068
|
w && (D.nav.setActiveItem(w.path), D.menu.setItems([]), D.tab.setItems([]), Ae([
|
|
2068
2069
|
{ key: "currentSubAppCode", value: "" },
|
|
2069
2070
|
{ key: "currentSubApp", value: {} }
|
|
2070
|
-
]),
|
|
2071
|
+
]), ce([
|
|
2071
2072
|
{ key: "currentCode", value: "" },
|
|
2072
2073
|
{ key: "currentTab", value: {} }
|
|
2073
2074
|
]));
|
|
2074
2075
|
}
|
|
2075
2076
|
};
|
|
2076
2077
|
let a = "", l = {};
|
|
2077
|
-
|
|
2078
|
+
oe(
|
|
2078
2079
|
() => r.currentRoute.value,
|
|
2079
2080
|
async (c) => {
|
|
2080
2081
|
if (!(c.path === a && Nt(c.query, l))) {
|
|
@@ -2187,7 +2188,7 @@ const wt = (n, e = "") => {
|
|
|
2187
2188
|
const o = t.tenant.id, r = (e == null ? void 0 : e.tenant) ?? "";
|
|
2188
2189
|
o !== r && await n(r);
|
|
2189
2190
|
}
|
|
2190
|
-
|
|
2191
|
+
Lo(e || { id: 0 }), wo((e == null ? void 0 : e.id) || 0), (t == null ? void 0 : t.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
2191
2192
|
});
|
|
2192
2193
|
}, Tu = Be.get("/menu/search"), ku = Be.get("/searchhistory"), Pu = Be.post("/searchhistory"), Bu = Be.delete("/searchhistory"), Ou = Be.delete("/searchhistory/deleteone"), Du = () => {
|
|
2193
2194
|
const n = async () => {
|
|
@@ -2223,7 +2224,7 @@ const wt = (n, e = "") => {
|
|
|
2223
2224
|
excludeRoutes: [],
|
|
2224
2225
|
routeKeepAliveVisible: !0
|
|
2225
2226
|
}), $u = () => {
|
|
2226
|
-
|
|
2227
|
+
ue.addEventListenerFromMicroApp("iot:change-instance", (n) => {
|
|
2227
2228
|
const e = F(), t = e.currentSubAppCode;
|
|
2228
2229
|
let o = _t(t);
|
|
2229
2230
|
o.forEach((i) => {
|
|
@@ -2243,26 +2244,26 @@ const wt = (n, e = "") => {
|
|
|
2243
2244
|
}
|
|
2244
2245
|
]);
|
|
2245
2246
|
});
|
|
2246
|
-
},
|
|
2247
|
+
}, Lu = (n) => {
|
|
2247
2248
|
["personcenter", "rightmanage"].forEach((t) => {
|
|
2248
|
-
|
|
2249
|
+
ue.addEventListenerFromMicroApp(`${t}:change-userinfo`, (o) => {
|
|
2249
2250
|
const { userInfo: r } = o.data, i = r != null && r.headPicture ? Xt(r.headPicture) : void 0;
|
|
2250
2251
|
D.nav.setUserInfo({ headPicture: i, commandList: n.value }), sessionStorage.setItem("userInfo", JSON.stringify(r));
|
|
2251
2252
|
});
|
|
2252
2253
|
});
|
|
2253
|
-
},
|
|
2254
|
-
|
|
2254
|
+
}, xu = () => {
|
|
2255
|
+
ue.addEventListenerFromMicroApp("devicePanelShow", (n) => {
|
|
2255
2256
|
const { deviceId: e = "", panelCode: t = "", deviceName: o = "", x: r = 0, y: i = 0, isCenter: a = !1 } = n.data;
|
|
2256
2257
|
So(e, t, o, r, i, a);
|
|
2257
|
-
}),
|
|
2258
|
+
}), ue.addEventListenerFromMicroApp("closeDevicePanel", (n) => {
|
|
2258
2259
|
ns();
|
|
2259
|
-
}),
|
|
2260
|
+
}), ue.addEventListenerFromMicroApp("alarmDevicePanelShow", (n) => {
|
|
2260
2261
|
const { deviceId: e = "", panelCode: t = "", alarmTime: o = "" } = n.data;
|
|
2261
2262
|
os(e, t, o);
|
|
2262
|
-
}),
|
|
2263
|
+
}), ue.addEventListenerFromMicroApp("closeAlarmPanel", (n) => {
|
|
2263
2264
|
rs();
|
|
2264
2265
|
});
|
|
2265
|
-
},
|
|
2266
|
+
}, Mu = nn.get("/platform/login/pwd-advance-notify-check"), Ru = () => {
|
|
2266
2267
|
const n = E([]), e = E(null), t = E([]), { entryApp: o } = bt.hooks.useEntryApp(), r = () => {
|
|
2267
2268
|
var c;
|
|
2268
2269
|
const l = (((c = F().appcategorys) == null ? void 0 : c.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
|
|
@@ -2272,10 +2273,10 @@ const wt = (n, e = "") => {
|
|
|
2272
2273
|
url: "/api/messagecenter/message/v1/innersend",
|
|
2273
2274
|
reconnectWhenClose: !0,
|
|
2274
2275
|
opened: async () => {
|
|
2275
|
-
await
|
|
2276
|
+
await Mu().run();
|
|
2276
2277
|
},
|
|
2277
2278
|
message: async (a) => {
|
|
2278
|
-
if (
|
|
2279
|
+
if (ue.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message", { msgList: a }), window.self !== window.top) return;
|
|
2279
2280
|
const c = Pe().id;
|
|
2280
2281
|
n.value = a.filter(
|
|
2281
2282
|
(s) => s.projectId === c || s.projectId === 0 || s.projectId === "0"
|
|
@@ -2388,7 +2389,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2388
2389
|
"grid-num": t.gridNum,
|
|
2389
2390
|
onItemClick: (s) => r(c)
|
|
2390
2391
|
}, {
|
|
2391
|
-
default:
|
|
2392
|
+
default: x(() => [
|
|
2392
2393
|
i.showFn(c) ? $e(i.$slots, "default", {
|
|
2393
2394
|
key: 0,
|
|
2394
2395
|
index: c
|
|
@@ -2413,94 +2414,94 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2413
2414
|
"div",
|
|
2414
2415
|
{
|
|
2415
2416
|
class: "direction-control",
|
|
2416
|
-
onDblclick: i[9] || (i[9] =
|
|
2417
|
+
onDblclick: i[9] || (i[9] = te((a) => a.stopPropagation(), ["stop"]))
|
|
2417
2418
|
},
|
|
2418
2419
|
[
|
|
2419
|
-
|
|
2420
|
-
default:
|
|
2421
|
-
|
|
2420
|
+
M(v(ie), { content: "左上" }, {
|
|
2421
|
+
default: x(() => [
|
|
2422
|
+
L("div", {
|
|
2422
2423
|
class: "icon icon-top-left",
|
|
2423
|
-
onClick: i[0] || (i[0] =
|
|
2424
|
+
onClick: i[0] || (i[0] = te((a) => o("leftUp"), ["stop"]))
|
|
2424
2425
|
})
|
|
2425
2426
|
]),
|
|
2426
2427
|
_: 1
|
|
2427
2428
|
/* STABLE */
|
|
2428
2429
|
}),
|
|
2429
|
-
|
|
2430
|
-
default:
|
|
2431
|
-
|
|
2430
|
+
M(v(ie), { content: "上" }, {
|
|
2431
|
+
default: x(() => [
|
|
2432
|
+
L("div", {
|
|
2432
2433
|
class: "icon icon-top",
|
|
2433
|
-
onClick: i[1] || (i[1] =
|
|
2434
|
+
onClick: i[1] || (i[1] = te((a) => o("up"), ["stop"]))
|
|
2434
2435
|
})
|
|
2435
2436
|
]),
|
|
2436
2437
|
_: 1
|
|
2437
2438
|
/* STABLE */
|
|
2438
2439
|
}),
|
|
2439
|
-
|
|
2440
|
-
default:
|
|
2441
|
-
|
|
2440
|
+
M(v(ie), { content: "右上" }, {
|
|
2441
|
+
default: x(() => [
|
|
2442
|
+
L("div", {
|
|
2442
2443
|
class: "icon icon-top-right",
|
|
2443
|
-
onClick: i[2] || (i[2] =
|
|
2444
|
+
onClick: i[2] || (i[2] = te((a) => o("rightUp"), ["stop"]))
|
|
2444
2445
|
})
|
|
2445
2446
|
]),
|
|
2446
2447
|
_: 1
|
|
2447
2448
|
/* STABLE */
|
|
2448
2449
|
}),
|
|
2449
|
-
|
|
2450
|
-
default:
|
|
2451
|
-
|
|
2450
|
+
M(v(ie), { content: "左" }, {
|
|
2451
|
+
default: x(() => [
|
|
2452
|
+
L("div", {
|
|
2452
2453
|
class: "icon icon-left",
|
|
2453
|
-
onClick: i[3] || (i[3] =
|
|
2454
|
+
onClick: i[3] || (i[3] = te((a) => o("left"), ["stop"]))
|
|
2454
2455
|
})
|
|
2455
2456
|
]),
|
|
2456
2457
|
_: 1
|
|
2457
2458
|
/* STABLE */
|
|
2458
2459
|
}),
|
|
2459
|
-
|
|
2460
|
-
default:
|
|
2461
|
-
|
|
2460
|
+
M(v(ie), { content: "自动" }, {
|
|
2461
|
+
default: x(() => [
|
|
2462
|
+
L("div", {
|
|
2462
2463
|
class: "icon icon-auto",
|
|
2463
|
-
onClick: i[4] || (i[4] =
|
|
2464
|
+
onClick: i[4] || (i[4] = te((a) => o("auto"), ["stop"]))
|
|
2464
2465
|
})
|
|
2465
2466
|
]),
|
|
2466
2467
|
_: 1
|
|
2467
2468
|
/* STABLE */
|
|
2468
2469
|
}),
|
|
2469
|
-
|
|
2470
|
-
default:
|
|
2471
|
-
|
|
2470
|
+
M(v(ie), { content: "右" }, {
|
|
2471
|
+
default: x(() => [
|
|
2472
|
+
L("div", {
|
|
2472
2473
|
class: "icon icon-right",
|
|
2473
|
-
onClick: i[5] || (i[5] =
|
|
2474
|
+
onClick: i[5] || (i[5] = te((a) => o("right"), ["stop"]))
|
|
2474
2475
|
})
|
|
2475
2476
|
]),
|
|
2476
2477
|
_: 1
|
|
2477
2478
|
/* STABLE */
|
|
2478
2479
|
}),
|
|
2479
|
-
|
|
2480
|
-
default:
|
|
2481
|
-
|
|
2480
|
+
M(v(ie), { content: "左下" }, {
|
|
2481
|
+
default: x(() => [
|
|
2482
|
+
L("div", {
|
|
2482
2483
|
class: "icon icon-bottom-left",
|
|
2483
|
-
onClick: i[6] || (i[6] =
|
|
2484
|
+
onClick: i[6] || (i[6] = te((a) => o("leftDown"), ["stop"]))
|
|
2484
2485
|
})
|
|
2485
2486
|
]),
|
|
2486
2487
|
_: 1
|
|
2487
2488
|
/* STABLE */
|
|
2488
2489
|
}),
|
|
2489
|
-
|
|
2490
|
-
default:
|
|
2491
|
-
|
|
2490
|
+
M(v(ie), { content: "下" }, {
|
|
2491
|
+
default: x(() => [
|
|
2492
|
+
L("div", {
|
|
2492
2493
|
class: "icon icon-bottom",
|
|
2493
|
-
onClick: i[7] || (i[7] =
|
|
2494
|
+
onClick: i[7] || (i[7] = te((a) => o("down"), ["stop"]))
|
|
2494
2495
|
})
|
|
2495
2496
|
]),
|
|
2496
2497
|
_: 1
|
|
2497
2498
|
/* STABLE */
|
|
2498
2499
|
}),
|
|
2499
|
-
|
|
2500
|
-
default:
|
|
2501
|
-
|
|
2500
|
+
M(v(ie), { content: "右下" }, {
|
|
2501
|
+
default: x(() => [
|
|
2502
|
+
L("div", {
|
|
2502
2503
|
class: "icon icon-bottom-right",
|
|
2503
|
-
onClick: i[8] || (i[8] =
|
|
2504
|
+
onClick: i[8] || (i[8] = te((a) => o("rightDown"), ["stop"]))
|
|
2504
2505
|
})
|
|
2505
2506
|
]),
|
|
2506
2507
|
_: 1
|
|
@@ -2563,28 +2564,28 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2563
2564
|
}, d = (_) => {
|
|
2564
2565
|
o("zoomControl", _);
|
|
2565
2566
|
}, g = (_) => t.authType.includes(_);
|
|
2566
|
-
return
|
|
2567
|
+
return oe(
|
|
2567
2568
|
() => c.value,
|
|
2568
2569
|
() => {
|
|
2569
2570
|
c.value && c.value.addEventListener("ended", () => {
|
|
2570
2571
|
s.value = !0, t.type === "playback" && (u.value = !1);
|
|
2571
2572
|
});
|
|
2572
2573
|
}
|
|
2573
|
-
),
|
|
2574
|
+
), oe(
|
|
2574
2575
|
() => c.value,
|
|
2575
2576
|
() => {
|
|
2576
2577
|
c.value && Fe(() => {
|
|
2577
2578
|
c.value.playbackRate = t.playbackRate || 1;
|
|
2578
2579
|
});
|
|
2579
2580
|
}
|
|
2580
|
-
),
|
|
2581
|
+
), oe(
|
|
2581
2582
|
() => i.value,
|
|
2582
2583
|
() => {
|
|
2583
2584
|
i.value && Fe(() => {
|
|
2584
2585
|
i.value.muted = r.value;
|
|
2585
2586
|
});
|
|
2586
2587
|
}
|
|
2587
|
-
),
|
|
2588
|
+
), oe(
|
|
2588
2589
|
() => t.playbackRate,
|
|
2589
2590
|
() => {
|
|
2590
2591
|
c.value && (c.value.playbackRate = t.playbackRate || 1);
|
|
@@ -2592,12 +2593,12 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2592
2593
|
{
|
|
2593
2594
|
immediate: !0
|
|
2594
2595
|
}
|
|
2595
|
-
),
|
|
2596
|
+
), oe(
|
|
2596
2597
|
() => t.paused,
|
|
2597
2598
|
() => {
|
|
2598
2599
|
i.value && (t.paused ? i.value.pause() : i.value.play());
|
|
2599
2600
|
}
|
|
2600
|
-
),
|
|
2601
|
+
), oe(
|
|
2601
2602
|
() => t.videoUrl,
|
|
2602
2603
|
() => {
|
|
2603
2604
|
u.value = !1, Fe(() => {
|
|
@@ -2605,16 +2606,16 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2605
2606
|
});
|
|
2606
2607
|
}
|
|
2607
2608
|
), (_, y) => (H(), de("div", Xu, [
|
|
2608
|
-
|
|
2609
|
+
M(v(ko), {
|
|
2609
2610
|
spinning: t.loading,
|
|
2610
2611
|
type: "component",
|
|
2611
2612
|
tip: "加载中..."
|
|
2612
2613
|
}, {
|
|
2613
|
-
default:
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2614
|
+
default: x(() => [
|
|
2615
|
+
L("div", Zu, [
|
|
2616
|
+
L("div", Yu, [
|
|
2617
|
+
L("div", ed, [
|
|
2618
|
+
L(
|
|
2618
2619
|
"div",
|
|
2619
2620
|
td,
|
|
2620
2621
|
Z(t.title.length > 20 ? t.title.slice(0, 19) + "..." : t.title),
|
|
@@ -2623,7 +2624,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2623
2624
|
)
|
|
2624
2625
|
])
|
|
2625
2626
|
]),
|
|
2626
|
-
|
|
2627
|
+
L("div", nd, [
|
|
2627
2628
|
["live"].includes(_.type) ? (H(), de("span", od, "正在实时预览")) : U("v-if", !0),
|
|
2628
2629
|
U(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
2629
2630
|
])
|
|
@@ -2637,84 +2638,84 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2637
2638
|
onLoaded: m,
|
|
2638
2639
|
src: t.videoUrl
|
|
2639
2640
|
}, null, 8, ["muted", "src"])) : U("v-if", !0),
|
|
2640
|
-
|
|
2641
|
-
y[3] || (y[3] =
|
|
2641
|
+
L("div", rd, [
|
|
2642
|
+
y[3] || (y[3] = L(
|
|
2642
2643
|
"div",
|
|
2643
2644
|
{ class: "video-bottom_l" },
|
|
2644
2645
|
null,
|
|
2645
2646
|
-1
|
|
2646
2647
|
/* HOISTED */
|
|
2647
2648
|
)),
|
|
2648
|
-
|
|
2649
|
-
|
|
2649
|
+
L("div", sd, [
|
|
2650
|
+
L(
|
|
2650
2651
|
"div",
|
|
2651
2652
|
{
|
|
2652
2653
|
class: "controls",
|
|
2653
|
-
onDblclick: y[2] || (y[2] =
|
|
2654
|
+
onDblclick: y[2] || (y[2] = te((k) => k.stopPropagation(), ["stop"]))
|
|
2654
2655
|
},
|
|
2655
2656
|
[
|
|
2656
|
-
|
|
2657
|
-
default:
|
|
2658
|
-
|
|
2657
|
+
M(v(ie), { content: "声音" }, {
|
|
2658
|
+
default: x(() => [
|
|
2659
|
+
M(v(De), {
|
|
2659
2660
|
class: "icon icon-volume",
|
|
2660
2661
|
icon: r.value ? "muted" : "volume",
|
|
2661
|
-
onClick:
|
|
2662
|
+
onClick: te(A, ["stop"])
|
|
2662
2663
|
}, null, 8, ["icon"])
|
|
2663
2664
|
]),
|
|
2664
2665
|
_: 1
|
|
2665
2666
|
/* STABLE */
|
|
2666
2667
|
}),
|
|
2667
|
-
|
|
2668
|
-
default:
|
|
2669
|
-
|
|
2668
|
+
M(v(ie), { content: "截图" }, {
|
|
2669
|
+
default: x(() => [
|
|
2670
|
+
M(v(De), {
|
|
2670
2671
|
class: "icon icon-screenshot",
|
|
2671
2672
|
icon: "screenshot",
|
|
2672
|
-
onClick:
|
|
2673
|
+
onClick: te(b, ["stop"])
|
|
2673
2674
|
})
|
|
2674
2675
|
]),
|
|
2675
2676
|
_: 1
|
|
2676
2677
|
/* STABLE */
|
|
2677
2678
|
}),
|
|
2678
|
-
g("control") ? (H(), V(v(
|
|
2679
|
+
g("control") ? (H(), V(v(ie), {
|
|
2679
2680
|
key: 0,
|
|
2680
2681
|
content: "聚焦-"
|
|
2681
2682
|
}, {
|
|
2682
|
-
default:
|
|
2683
|
+
default: x(() => [
|
|
2683
2684
|
["live", "polling"].includes(t.type) ? (H(), V(v(De), {
|
|
2684
2685
|
key: 0,
|
|
2685
2686
|
class: "icon icon-shrink",
|
|
2686
2687
|
icon: "shrink",
|
|
2687
|
-
onClick: y[0] || (y[0] =
|
|
2688
|
+
onClick: y[0] || (y[0] = te((k) => d("zoomOut"), ["stop"]))
|
|
2688
2689
|
})) : U("v-if", !0)
|
|
2689
2690
|
]),
|
|
2690
2691
|
_: 1
|
|
2691
2692
|
/* STABLE */
|
|
2692
2693
|
})) : U("v-if", !0),
|
|
2693
|
-
g("control") ? (H(), V(v(
|
|
2694
|
+
g("control") ? (H(), V(v(ie), {
|
|
2694
2695
|
key: 1,
|
|
2695
2696
|
content: "聚焦+"
|
|
2696
2697
|
}, {
|
|
2697
|
-
default:
|
|
2698
|
+
default: x(() => [
|
|
2698
2699
|
["live", "polling"].includes(t.type) ? (H(), V(v(De), {
|
|
2699
2700
|
key: 0,
|
|
2700
2701
|
class: "icon icon-enlarge",
|
|
2701
2702
|
icon: "enlarge",
|
|
2702
|
-
onClick: y[1] || (y[1] =
|
|
2703
|
+
onClick: y[1] || (y[1] = te((k) => d("zoomIn"), ["stop"]))
|
|
2703
2704
|
})) : U("v-if", !0)
|
|
2704
2705
|
]),
|
|
2705
2706
|
_: 1
|
|
2706
2707
|
/* STABLE */
|
|
2707
2708
|
})) : U("v-if", !0),
|
|
2708
|
-
g("control") ? (H(), V(v(
|
|
2709
|
+
g("control") ? (H(), V(v(ie), {
|
|
2709
2710
|
key: 2,
|
|
2710
2711
|
content: "方向控制"
|
|
2711
2712
|
}, {
|
|
2712
|
-
default:
|
|
2713
|
+
default: x(() => [
|
|
2713
2714
|
["live", "polling"].includes(t.type) ? (H(), V(v(De), {
|
|
2714
2715
|
key: 0,
|
|
2715
2716
|
class: "icon icon-direction-control",
|
|
2716
2717
|
icon: "direction-control",
|
|
2717
|
-
onClick:
|
|
2718
|
+
onClick: te(f, ["stop"])
|
|
2718
2719
|
})) : U("v-if", !0)
|
|
2719
2720
|
]),
|
|
2720
2721
|
_: 1
|
|
@@ -2774,11 +2775,11 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
|
|
|
2774
2775
|
};
|
|
2775
2776
|
return Qe(() => {
|
|
2776
2777
|
i();
|
|
2777
|
-
}),
|
|
2778
|
+
}), oe(() => t.value, () => {
|
|
2778
2779
|
i();
|
|
2779
2780
|
}, {
|
|
2780
2781
|
deep: !0
|
|
2781
|
-
}), () =>
|
|
2782
|
+
}), () => M(We, null, [e.default({
|
|
2782
2783
|
videoUrl: r.value,
|
|
2783
2784
|
loading: o.value,
|
|
2784
2785
|
onDirectionControl: a,
|
|
@@ -2792,7 +2793,7 @@ function ld(n) {
|
|
|
2792
2793
|
isFullscreen: r
|
|
2793
2794
|
} = lt(t);
|
|
2794
2795
|
return {
|
|
2795
|
-
render: () =>
|
|
2796
|
+
render: () => M(qu, {
|
|
2796
2797
|
ref: t,
|
|
2797
2798
|
gridNum: n.gridNum,
|
|
2798
2799
|
activeIndex: e.value,
|
|
@@ -2803,7 +2804,7 @@ function ld(n) {
|
|
|
2803
2804
|
index: a
|
|
2804
2805
|
}) => {
|
|
2805
2806
|
const l = n.deviceList[a];
|
|
2806
|
-
return
|
|
2807
|
+
return M(cd, {
|
|
2807
2808
|
deviceInfo: l
|
|
2808
2809
|
}, {
|
|
2809
2810
|
default: ({
|
|
@@ -2811,7 +2812,7 @@ function ld(n) {
|
|
|
2811
2812
|
onDirectionControl: s,
|
|
2812
2813
|
onZoomControl: u,
|
|
2813
2814
|
loading: m
|
|
2814
|
-
}) =>
|
|
2815
|
+
}) => M(ad, {
|
|
2815
2816
|
type: "live",
|
|
2816
2817
|
loading: m,
|
|
2817
2818
|
videoUrl: c,
|
|
@@ -2865,17 +2866,17 @@ const ud = /* @__PURE__ */ pe({
|
|
|
2865
2866
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
2866
2867
|
onClosed: a.closeCallback
|
|
2867
2868
|
}, {
|
|
2868
|
-
header:
|
|
2869
|
-
l[1] || (l[1] =
|
|
2869
|
+
header: x(() => [
|
|
2870
|
+
l[1] || (l[1] = L(
|
|
2870
2871
|
"div",
|
|
2871
2872
|
null,
|
|
2872
2873
|
"视频监控",
|
|
2873
2874
|
-1
|
|
2874
2875
|
/* HOISTED */
|
|
2875
2876
|
)),
|
|
2876
|
-
|
|
2877
|
-
default:
|
|
2878
|
-
|
|
2877
|
+
M(v(ie), { content: "页面全屏" }, {
|
|
2878
|
+
default: x(() => [
|
|
2879
|
+
M(v(De), {
|
|
2879
2880
|
class: "icon",
|
|
2880
2881
|
icon: "fullscreen2",
|
|
2881
2882
|
iconColor: "#999",
|
|
@@ -2886,7 +2887,7 @@ const ud = /* @__PURE__ */ pe({
|
|
|
2886
2887
|
/* STABLE */
|
|
2887
2888
|
})
|
|
2888
2889
|
]),
|
|
2889
|
-
default:
|
|
2890
|
+
default: x(() => [
|
|
2890
2891
|
t.value ? (H(), V(v(o), { key: 0 })) : U("v-if", !0)
|
|
2891
2892
|
]),
|
|
2892
2893
|
_: 1
|
|
@@ -2951,7 +2952,7 @@ const ud = /* @__PURE__ */ pe({
|
|
|
2951
2952
|
connectLinkVideoSocket: r
|
|
2952
2953
|
};
|
|
2953
2954
|
};
|
|
2954
|
-
class
|
|
2955
|
+
class Le extends Error {
|
|
2955
2956
|
/** Constructs a new instance of {@link @microsoft/signalr.HttpError}.
|
|
2956
2957
|
*
|
|
2957
2958
|
* @param {string} errorMessage A descriptive error message.
|
|
@@ -3287,7 +3288,7 @@ class Sd extends Dt {
|
|
|
3287
3288
|
}
|
|
3288
3289
|
if (!i.ok) {
|
|
3289
3290
|
const c = await ho(i, "text");
|
|
3290
|
-
throw new
|
|
3291
|
+
throw new Le(c || i.statusText, i.status);
|
|
3291
3292
|
}
|
|
3292
3293
|
const l = await ho(i, e.responseType);
|
|
3293
3294
|
return new hr(i.status, i.statusText, l);
|
|
@@ -3331,9 +3332,9 @@ class Td extends Dt {
|
|
|
3331
3332
|
}), e.responseType && (r.responseType = e.responseType), e.abortSignal && (e.abortSignal.onabort = () => {
|
|
3332
3333
|
r.abort(), o(new ve());
|
|
3333
3334
|
}), e.timeout && (r.timeout = e.timeout), r.onload = () => {
|
|
3334
|
-
e.abortSignal && (e.abortSignal.onabort = null), r.status >= 200 && r.status < 300 ? t(new hr(r.status, r.statusText, r.response || r.responseText)) : o(new
|
|
3335
|
+
e.abortSignal && (e.abortSignal.onabort = null), r.status >= 200 && r.status < 300 ? t(new hr(r.status, r.statusText, r.response || r.responseText)) : o(new Le(r.response || r.responseText || r.statusText, r.status));
|
|
3335
3336
|
}, r.onerror = () => {
|
|
3336
|
-
this._logger.log(h.Warning, `Error from HTTP request. ${r.status}: ${r.statusText}.`), o(new
|
|
3337
|
+
this._logger.log(h.Warning, `Error from HTTP request. ${r.status}: ${r.statusText}.`), o(new Le(r.statusText, r.status));
|
|
3337
3338
|
}, r.ontimeout = () => {
|
|
3338
3339
|
this._logger.log(h.Warning, "Timeout from HTTP request."), o(new yn());
|
|
3339
3340
|
}, r.send(e.content);
|
|
@@ -3518,7 +3519,7 @@ class Dd {
|
|
|
3518
3519
|
this._message = e, this._id = t, this._resolver = o, this._rejector = r;
|
|
3519
3520
|
}
|
|
3520
3521
|
}
|
|
3521
|
-
const $d = 30 * 1e3,
|
|
3522
|
+
const $d = 30 * 1e3, Ld = 15 * 1e3, xd = 1e5;
|
|
3522
3523
|
var q;
|
|
3523
3524
|
(function(n) {
|
|
3524
3525
|
n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Connected = "Connected", n.Disconnecting = "Disconnecting", n.Reconnecting = "Reconnecting";
|
|
@@ -3535,7 +3536,7 @@ class _n {
|
|
|
3535
3536
|
constructor(e, t, o, r, i, a, l) {
|
|
3536
3537
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
3537
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");
|
|
3538
|
-
}, Y.isRequired(e, "connection"), Y.isRequired(t, "logger"), Y.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = i ?? $d, this.keepAliveIntervalInMilliseconds = a ??
|
|
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 });
|
|
3539
3540
|
}
|
|
3540
3541
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
3541
3542
|
get state() {
|
|
@@ -4025,19 +4026,19 @@ class _n {
|
|
|
4025
4026
|
return { type: j.Close };
|
|
4026
4027
|
}
|
|
4027
4028
|
}
|
|
4028
|
-
const
|
|
4029
|
+
const Md = [0, 2e3, 1e4, 3e4, null];
|
|
4029
4030
|
class go {
|
|
4030
4031
|
constructor(e) {
|
|
4031
|
-
this._retryDelays = e !== void 0 ? [...e, null] :
|
|
4032
|
+
this._retryDelays = e !== void 0 ? [...e, null] : Md;
|
|
4032
4033
|
}
|
|
4033
4034
|
nextRetryDelayInMilliseconds(e) {
|
|
4034
4035
|
return this._retryDelays[e.previousRetryCount];
|
|
4035
4036
|
}
|
|
4036
4037
|
}
|
|
4037
|
-
class
|
|
4038
|
+
class xe {
|
|
4038
4039
|
}
|
|
4039
|
-
|
|
4040
|
-
|
|
4040
|
+
xe.Authorization = "Authorization";
|
|
4041
|
+
xe.Cookie = "Cookie";
|
|
4041
4042
|
class Rd extends Dt {
|
|
4042
4043
|
constructor(e, t) {
|
|
4043
4044
|
super(), this._innerClient = e, this._accessTokenFactory = t;
|
|
@@ -4049,7 +4050,7 @@ class Rd extends Dt {
|
|
|
4049
4050
|
return t && o.statusCode === 401 && this._accessTokenFactory ? (this._accessToken = await this._accessTokenFactory(), this._setAuthorizationHeader(e), await this._innerClient.send(e)) : o;
|
|
4050
4051
|
}
|
|
4051
4052
|
_setAuthorizationHeader(e) {
|
|
4052
|
-
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];
|
|
4053
4054
|
}
|
|
4054
4055
|
getCookieString(e) {
|
|
4055
4056
|
return this._innerClient.getCookieString(e);
|
|
@@ -4059,10 +4060,10 @@ var X;
|
|
|
4059
4060
|
(function(n) {
|
|
4060
4061
|
n[n.None = 0] = "None", n[n.WebSockets = 1] = "WebSockets", n[n.ServerSentEvents = 2] = "ServerSentEvents", n[n.LongPolling = 4] = "LongPolling";
|
|
4061
4062
|
})(X || (X = {}));
|
|
4062
|
-
var
|
|
4063
|
+
var re;
|
|
4063
4064
|
(function(n) {
|
|
4064
4065
|
n[n.Text = 1] = "Text", n[n.Binary = 2] = "Binary";
|
|
4065
|
-
})(
|
|
4066
|
+
})(re || (re = {}));
|
|
4066
4067
|
let Qd = class {
|
|
4067
4068
|
constructor() {
|
|
4068
4069
|
this._isAborted = !1, this.onabort = null;
|
|
@@ -4086,7 +4087,7 @@ class Ao {
|
|
|
4086
4087
|
this._httpClient = e, this._logger = t, this._pollAbort = new Qd(), this._options = o, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
4087
4088
|
}
|
|
4088
4089
|
async connect(e, t) {
|
|
4089
|
-
if (Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t,
|
|
4090
|
+
if (Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, re, "transferFormat"), this._url = e, this._logger.log(h.Trace, "(LongPolling transport) Connecting."), t === re.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
4090
4091
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
4091
4092
|
const [o, r] = Ke(), i = { [o]: r, ...this._options.headers }, a = {
|
|
4092
4093
|
abortSignal: this._pollAbort.signal,
|
|
@@ -4094,11 +4095,11 @@ class Ao {
|
|
|
4094
4095
|
timeout: 1e5,
|
|
4095
4096
|
withCredentials: this._options.withCredentials
|
|
4096
4097
|
};
|
|
4097
|
-
t ===
|
|
4098
|
+
t === re.Binary && (a.responseType = "arraybuffer");
|
|
4098
4099
|
const l = `${e}&_=${Date.now()}`;
|
|
4099
4100
|
this._logger.log(h.Trace, `(LongPolling transport) polling: ${l}.`);
|
|
4100
4101
|
const c = await this._httpClient.get(l, a);
|
|
4101
|
-
c.statusCode !== 200 ? (this._logger.log(h.Error, `(LongPolling transport) Unexpected response code: ${c.statusCode}.`), this._closeError = new
|
|
4102
|
+
c.statusCode !== 200 ? (this._logger.log(h.Error, `(LongPolling transport) Unexpected response code: ${c.statusCode}.`), this._closeError = new Le(c.statusText || "", c.statusCode), this._running = !1) : this._running = !0, this._receiving = this._poll(this._url, a);
|
|
4102
4103
|
}
|
|
4103
4104
|
async _poll(e, t) {
|
|
4104
4105
|
try {
|
|
@@ -4107,7 +4108,7 @@ class Ao {
|
|
|
4107
4108
|
const o = `${e}&_=${Date.now()}`;
|
|
4108
4109
|
this._logger.log(h.Trace, `(LongPolling transport) polling: ${o}.`);
|
|
4109
4110
|
const r = await this._httpClient.get(o, t);
|
|
4110
|
-
r.statusCode === 204 ? (this._logger.log(h.Information, "(LongPolling transport) Poll terminated by server."), this._running = !1) : r.statusCode !== 200 ? (this._logger.log(h.Error, `(LongPolling transport) Unexpected response code: ${r.statusCode}.`), this._closeError = new
|
|
4111
|
+
r.statusCode === 204 ? (this._logger.log(h.Information, "(LongPolling transport) Poll terminated by server."), this._running = !1) : r.statusCode !== 200 ? (this._logger.log(h.Error, `(LongPolling transport) Unexpected response code: ${r.statusCode}.`), this._closeError = new Le(r.statusText || "", r.statusCode), this._running = !1) : r.content ? (this._logger.log(h.Trace, `(LongPolling transport) data received. ${ct(r.content, this._options.logMessageContent)}.`), this.onreceive && this.onreceive(r.content)) : this._logger.log(h.Trace, "(LongPolling transport) Poll timed out, reissuing.");
|
|
4111
4112
|
} catch (o) {
|
|
4112
4113
|
this._running ? o instanceof yn ? this._logger.log(h.Trace, "(LongPolling transport) Poll timed out, reissuing.") : (this._closeError = o, this._running = !1) : this._logger.log(h.Trace, `(LongPolling transport) Poll errored after shutdown: ${o.message}`);
|
|
4113
4114
|
}
|
|
@@ -4135,7 +4136,7 @@ class Ao {
|
|
|
4135
4136
|
} catch (a) {
|
|
4136
4137
|
i = a;
|
|
4137
4138
|
}
|
|
4138
|
-
i ? i instanceof
|
|
4139
|
+
i ? i instanceof Le && (i.statusCode === 404 ? this._logger.log(h.Trace, "(LongPolling transport) A 404 response was returned from sending a DELETE request.") : this._logger.log(h.Trace, `(LongPolling transport) Error sending a DELETE request: ${i}`)) : this._logger.log(h.Trace, "(LongPolling transport) DELETE request accepted.");
|
|
4139
4140
|
} finally {
|
|
4140
4141
|
this._logger.log(h.Trace, "(LongPolling transport) Stop finished."), this._raiseOnClose();
|
|
4141
4142
|
}
|
|
@@ -4152,9 +4153,9 @@ class jd {
|
|
|
4152
4153
|
this._httpClient = e, this._accessToken = t, this._logger = o, this._options = r, this.onreceive = null, this.onclose = null;
|
|
4153
4154
|
}
|
|
4154
4155
|
async connect(e, t) {
|
|
4155
|
-
return Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t,
|
|
4156
|
+
return Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, re, "transferFormat"), this._logger.log(h.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((o, r) => {
|
|
4156
4157
|
let i = !1;
|
|
4157
|
-
if (t !==
|
|
4158
|
+
if (t !== re.Text) {
|
|
4158
4159
|
r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
4159
4160
|
return;
|
|
4160
4161
|
}
|
|
@@ -4202,7 +4203,7 @@ class Hd {
|
|
|
4202
4203
|
this._logger = o, this._accessTokenFactory = t, this._logMessageContent = r, this._webSocketConstructor = i, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = a;
|
|
4203
4204
|
}
|
|
4204
4205
|
async connect(e, t) {
|
|
4205
|
-
Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t,
|
|
4206
|
+
Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, re, "transferFormat"), this._logger.log(h.Trace, "(WebSockets transport) Connecting.");
|
|
4206
4207
|
let o;
|
|
4207
4208
|
return this._accessTokenFactory && (o = await this._accessTokenFactory()), new Promise((r, i) => {
|
|
4208
4209
|
e = e.replace(/^http/, "ws");
|
|
@@ -4211,12 +4212,12 @@ class Hd {
|
|
|
4211
4212
|
let c = !1;
|
|
4212
4213
|
if (K.isNode || K.isReactNative) {
|
|
4213
4214
|
const s = {}, [u, m] = Ke();
|
|
4214
|
-
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, {
|
|
4215
4216
|
headers: { ...s, ...this._headers }
|
|
4216
4217
|
});
|
|
4217
4218
|
} else
|
|
4218
4219
|
o && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(o)}`);
|
|
4219
|
-
a || (a = new this._webSocketConstructor(e)), t ===
|
|
4220
|
+
a || (a = new this._webSocketConstructor(e)), t === re.Binary && (a.binaryType = "arraybuffer"), a.onopen = (s) => {
|
|
4220
4221
|
this._logger.log(h.Information, `WebSocket connected to ${e}.`), this._webSocket = a, c = !0, r();
|
|
4221
4222
|
}, a.onerror = (s) => {
|
|
4222
4223
|
let u = null;
|
|
@@ -4272,7 +4273,7 @@ class Nd {
|
|
|
4272
4273
|
!K.isNode && typeof WebSocket < "u" && !t.WebSocket ? t.WebSocket = WebSocket : K.isNode && !t.WebSocket && o && (t.WebSocket = o), !K.isNode && typeof EventSource < "u" && !t.EventSource ? t.EventSource = EventSource : K.isNode && !t.EventSource && typeof r < "u" && (t.EventSource = r), this._httpClient = new Rd(t.httpClient || new kd(this._logger), t.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = t, this.onreceive = null, this.onclose = null;
|
|
4273
4274
|
}
|
|
4274
4275
|
async start(e) {
|
|
4275
|
-
if (e = e ||
|
|
4276
|
+
if (e = e || re.Binary, Y.isIn(e, re, "transferFormat"), this._logger.log(h.Debug, `Starting connection with transfer format '${re[e]}'.`), this._connectionState !== "Disconnected")
|
|
4276
4277
|
return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
|
|
4277
4278
|
if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
|
|
4278
4279
|
const t = "Failed to start the HttpConnection before stop() was called.";
|
|
@@ -4362,7 +4363,7 @@ class Nd {
|
|
|
4362
4363
|
return (!l.negotiateVersion || l.negotiateVersion < 1) && (l.connectionToken = l.connectionId), l.useStatefulReconnect && this._options._useStatefulReconnect !== !0 ? Promise.reject(new fo("Client didn't negotiate Stateful Reconnect but the server did.")) : l;
|
|
4363
4364
|
} catch (a) {
|
|
4364
4365
|
let l = "Failed to complete negotiation with the server: " + a;
|
|
4365
|
-
return a instanceof
|
|
4366
|
+
return a instanceof Le && a.statusCode === 404 && (l = l + " Either this is not a SignalR endpoint or there is a proxy blocking the connection."), this._logger.log(h.Error, l), Promise.reject(new fo(l));
|
|
4366
4367
|
}
|
|
4367
4368
|
}
|
|
4368
4369
|
_createConnectUrl(e, t) {
|
|
@@ -4439,7 +4440,7 @@ class Nd {
|
|
|
4439
4440
|
if (i == null)
|
|
4440
4441
|
return this._logger.log(h.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
|
|
4441
4442
|
if (Ud(t, i))
|
|
4442
|
-
if (e.transferFormats.map((l) =>
|
|
4443
|
+
if (e.transferFormats.map((l) => re[l]).indexOf(o) >= 0) {
|
|
4443
4444
|
if (i === X.WebSockets && !this._options.WebSocket || i === X.ServerSentEvents && !this._options.EventSource)
|
|
4444
4445
|
return this._logger.log(h.Debug, `Skipping transport '${X[i]}' because it is not supported in your environment.'`), new fd(`'${X[i]}' is not supported in your environment.`, i);
|
|
4445
4446
|
this._logger.log(h.Debug, `Selecting transport '${X[i]}'.`);
|
|
@@ -4449,7 +4450,7 @@ class Nd {
|
|
|
4449
4450
|
return l;
|
|
4450
4451
|
}
|
|
4451
4452
|
} else
|
|
4452
|
-
return this._logger.log(h.Debug, `Skipping transport '${X[i]}' because it does not support the requested transfer format '${
|
|
4453
|
+
return this._logger.log(h.Debug, `Skipping transport '${X[i]}' because it does not support the requested transfer format '${re[o]}'.`), new Error(`'${X[i]}' does not support ${re[o]}.`);
|
|
4453
4454
|
else
|
|
4454
4455
|
return this._logger.log(h.Debug, `Skipping transport '${X[i]}' because it was disabled by the client.`), new hd(`'${X[i]}' is disabled by the client.`, i);
|
|
4455
4456
|
}
|
|
@@ -4547,7 +4548,7 @@ class gt {
|
|
|
4547
4548
|
const Fd = "json";
|
|
4548
4549
|
class Jd {
|
|
4549
4550
|
constructor() {
|
|
4550
|
-
this.name = Fd, this.version = 2, this.transferFormat =
|
|
4551
|
+
this.name = Fd, this.version = 2, this.transferFormat = re.Text;
|
|
4551
4552
|
}
|
|
4552
4553
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
4553
4554
|
*
|
|
@@ -4821,7 +4822,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
4821
4822
|
}), Et(() => {
|
|
4822
4823
|
o && clearInterval(o);
|
|
4823
4824
|
}), {};
|
|
4824
|
-
},
|
|
4825
|
+
}, Lt = "v1", rp = Xe(`/api/fms/report/${Lt}`), wn = Xe(`/api/emergency/manage/${Lt}`), sp = rn.get("/permissionset/user-portal-menu"), Ar = Xe(`/api/alarm/config/${Lt}`), ip = Xe(`/api/alarm/run-time/${Lt}`), ap = Ar.get("/alarm-definition/status-option"), cp = ip.post("/record/handling"), lp = Ar.get("/alarm-level/prompttone"), up = rp.get("/alarm/rule/list"), dp = Eo.get("/controller/space-children-all-type"), pp = Eo.get("/controller/fuzzy-area-small"), fp = wn.get("/emergency-event/event/type"), hp = wn.get("/emergency-event/event/level"), gp = wn.get("/emergency-plan/plan/handle-time"), Ap = { class: "handle-alarm-container" }, mp = { class: "select-check" }, vp = { class: "form-box" }, yp = { class: "select-check" }, _p = { style: { "margin-left": "8px" } }, bp = { class: "foot-btn-box" }, wp = {
|
|
4825
4826
|
name: "handleAlarm"
|
|
4826
4827
|
}, Cp = /* @__PURE__ */ pe({
|
|
4827
4828
|
...wp,
|
|
@@ -4898,15 +4899,15 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
4898
4899
|
if (O) return {};
|
|
4899
4900
|
$.value = I.data.filter((B) => B.status), $.value.length > 0 && (s.value.workOrderRules = $.value[0].id);
|
|
4900
4901
|
};
|
|
4901
|
-
|
|
4902
|
+
oe(c, (O) => {
|
|
4902
4903
|
O || (G(), fe());
|
|
4903
|
-
}),
|
|
4904
|
+
}), oe(
|
|
4904
4905
|
w,
|
|
4905
4906
|
(O) => {
|
|
4906
4907
|
O ? (k.value = !0, s.value.customPath = Q("选填").value) : (k.value = !1, s.value.customPath = "");
|
|
4907
4908
|
},
|
|
4908
4909
|
{ immediate: !0 }
|
|
4909
|
-
),
|
|
4910
|
+
), oe(
|
|
4910
4911
|
R,
|
|
4911
4912
|
(O) => {
|
|
4912
4913
|
O ? (s.value.reportTheme = Q("告警对象").value, T.value = !0) : (g.value = "请输入", s.value.reportTheme = "", T.value = !1);
|
|
@@ -4916,13 +4917,13 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
4916
4917
|
const W = (O) => {
|
|
4917
4918
|
var I;
|
|
4918
4919
|
return (I = a.value) == null ? void 0 : I.parentNode.parentNode;
|
|
4919
|
-
},
|
|
4920
|
+
}, se = (O) => {
|
|
4920
4921
|
u.value.reportTheme = "";
|
|
4921
4922
|
}, Te = (O, I) => {
|
|
4922
4923
|
I.length > 0 && (p.value = I[0].path), s.value.reportPosition = O, y.value = "";
|
|
4923
4924
|
}, ft = (O) => {
|
|
4924
4925
|
O && (u.value.reportPosition = "", p.value = ""), O ? (s.value.reportPosition = null, p.value = "", d.value = "告警对象位置") : (s.value.reportPosition = null, p.value = "", d.value = "请选择");
|
|
4925
|
-
},
|
|
4926
|
+
}, ne = (O) => {
|
|
4926
4927
|
O && (u.value.reportTheme = ""), O ? (s.value.reportTheme = "", g.value = "告警对象") : (s.value.reportTheme = "", g.value = "请输入");
|
|
4927
4928
|
}, G = () => {
|
|
4928
4929
|
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 = "";
|
|
@@ -4980,7 +4981,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
4980
4981
|
}
|
|
4981
4982
|
return O;
|
|
4982
4983
|
}, br = () => {
|
|
4983
|
-
|
|
4984
|
+
xt();
|
|
4984
4985
|
}, En = async (O) => {
|
|
4985
4986
|
_r() && (l.value = O, wr());
|
|
4986
4987
|
}, wr = async () => {
|
|
@@ -5003,17 +5004,17 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5003
5004
|
i.value = !1;
|
|
5004
5005
|
return;
|
|
5005
5006
|
}
|
|
5006
|
-
r("emitFn", "successHandle", s.value.processTypeId), i.value = !1,
|
|
5007
|
+
r("emitFn", "successHandle", s.value.processTypeId), i.value = !1, xt();
|
|
5007
5008
|
}, Cr = () => {
|
|
5008
5009
|
c.value = !0, yr();
|
|
5009
|
-
},
|
|
5010
|
+
}, xt = () => {
|
|
5010
5011
|
c.value = !1;
|
|
5011
5012
|
};
|
|
5012
5013
|
return e({
|
|
5013
5014
|
open: Cr,
|
|
5014
|
-
close:
|
|
5015
|
+
close: xt
|
|
5015
5016
|
}), (O, I) => (H(), de("div", Ap, [
|
|
5016
|
-
|
|
5017
|
+
M(v(sn), {
|
|
5017
5018
|
modelValue: c.value,
|
|
5018
5019
|
"onUpdate:modelValue": I[31] || (I[31] = (B) => c.value = B),
|
|
5019
5020
|
type: "basic",
|
|
@@ -5025,21 +5026,21 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5025
5026
|
},
|
|
5026
5027
|
"destroy-on-close": ""
|
|
5027
5028
|
}, {
|
|
5028
|
-
header:
|
|
5029
|
-
|
|
5029
|
+
header: x(() => [
|
|
5030
|
+
le(
|
|
5030
5031
|
Z(v(Q)("告警处理").value),
|
|
5031
5032
|
1
|
|
5032
5033
|
/* TEXT */
|
|
5033
5034
|
)
|
|
5034
5035
|
]),
|
|
5035
|
-
footer:
|
|
5036
|
-
|
|
5037
|
-
|
|
5036
|
+
footer: x(() => [
|
|
5037
|
+
L("div", bp, [
|
|
5038
|
+
M(v(ke), {
|
|
5038
5039
|
size: "middle",
|
|
5039
5040
|
onClick: br
|
|
5040
5041
|
}, {
|
|
5041
|
-
default:
|
|
5042
|
-
|
|
5042
|
+
default: x(() => [
|
|
5043
|
+
le(
|
|
5043
5044
|
Z(v(Q)("取消").value),
|
|
5044
5045
|
1
|
|
5045
5046
|
/* TEXT */
|
|
@@ -5048,12 +5049,12 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5048
5049
|
_: 1
|
|
5049
5050
|
/* STABLE */
|
|
5050
5051
|
}),
|
|
5051
|
-
|
|
5052
|
+
M(v(ke), {
|
|
5052
5053
|
size: "middle",
|
|
5053
5054
|
onClick: I[29] || (I[29] = (B) => En(1))
|
|
5054
5055
|
}, {
|
|
5055
|
-
default:
|
|
5056
|
-
|
|
5056
|
+
default: x(() => [
|
|
5057
|
+
le(
|
|
5057
5058
|
Z(v(Q)("结束处理").value),
|
|
5058
5059
|
1
|
|
5059
5060
|
/* TEXT */
|
|
@@ -5062,13 +5063,13 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5062
5063
|
_: 1
|
|
5063
5064
|
/* STABLE */
|
|
5064
5065
|
}),
|
|
5065
|
-
|
|
5066
|
+
M(v(ke), {
|
|
5066
5067
|
btnType: "primary",
|
|
5067
5068
|
size: "middle",
|
|
5068
5069
|
onClick: I[30] || (I[30] = (B) => En(2))
|
|
5069
5070
|
}, {
|
|
5070
|
-
default:
|
|
5071
|
-
|
|
5071
|
+
default: x(() => [
|
|
5072
|
+
le(
|
|
5072
5073
|
Z(v(Q)("继续处理").value),
|
|
5073
5074
|
1
|
|
5074
5075
|
/* TEXT */
|
|
@@ -5079,10 +5080,10 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5079
5080
|
})
|
|
5080
5081
|
])
|
|
5081
5082
|
]),
|
|
5082
|
-
default:
|
|
5083
|
-
|
|
5084
|
-
default:
|
|
5085
|
-
|
|
5083
|
+
default: x(() => [
|
|
5084
|
+
M(v(ko), { spinning: i.value }, {
|
|
5085
|
+
default: x(() => [
|
|
5086
|
+
L(
|
|
5086
5087
|
"div",
|
|
5087
5088
|
{
|
|
5088
5089
|
ref_key: "myDialogBody",
|
|
@@ -5090,13 +5091,13 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5090
5091
|
class: "handle-alarm-dialog-content"
|
|
5091
5092
|
},
|
|
5092
5093
|
[
|
|
5093
|
-
|
|
5094
|
+
M(v(ds), {
|
|
5094
5095
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
5095
5096
|
cols: 1,
|
|
5096
5097
|
alignType: "horizontal"
|
|
5097
5098
|
}, {
|
|
5098
|
-
default:
|
|
5099
|
-
|
|
5099
|
+
default: x(() => [
|
|
5100
|
+
M(v(_e), {
|
|
5100
5101
|
label: v(Q)("处理类型").value,
|
|
5101
5102
|
required: "",
|
|
5102
5103
|
type: "select",
|
|
@@ -5164,10 +5165,10 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5164
5165
|
marginBottom: "20px",
|
|
5165
5166
|
marginRight: "0"
|
|
5166
5167
|
}, {
|
|
5167
|
-
default:
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5168
|
+
default: x(() => [
|
|
5169
|
+
L("div", mp, [
|
|
5170
|
+
L("div", vp, [
|
|
5171
|
+
M(v(us), {
|
|
5171
5172
|
borderType: "underline",
|
|
5172
5173
|
props: { disabled: "_disabled", label: "name" },
|
|
5173
5174
|
modelValue: s.value.reportPosition,
|
|
@@ -5186,7 +5187,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5186
5187
|
filter: !0,
|
|
5187
5188
|
allowClear: !0
|
|
5188
5189
|
}, null, 8, ["modelValue", "path", "keyword", "data", "placeholder", "disabled"]),
|
|
5189
|
-
|
|
5190
|
+
M(v(Pn), {
|
|
5190
5191
|
ref: "testInput",
|
|
5191
5192
|
modelValue: s.value.customPath,
|
|
5192
5193
|
"onUpdate:modelValue": I[11] || (I[11] = (B) => s.value.customPath = B),
|
|
@@ -5195,15 +5196,15 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5195
5196
|
maxlength: "20"
|
|
5196
5197
|
}, null, 8, ["modelValue", "disabled"])
|
|
5197
5198
|
]),
|
|
5198
|
-
|
|
5199
|
+
M(v(Bn), {
|
|
5199
5200
|
modelValue: w.value,
|
|
5200
5201
|
"onUpdate:modelValue": I[12] || (I[12] = (B) => w.value = B),
|
|
5201
5202
|
checkboxType: "default",
|
|
5202
5203
|
onChange: ft,
|
|
5203
5204
|
size: "middle"
|
|
5204
5205
|
}, {
|
|
5205
|
-
default:
|
|
5206
|
-
|
|
5206
|
+
default: x(() => [
|
|
5207
|
+
le(
|
|
5207
5208
|
Z(v(Q)("告警对象位置").value),
|
|
5208
5209
|
1
|
|
5209
5210
|
/* TEXT */
|
|
@@ -5227,25 +5228,25 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5227
5228
|
marginBottom: "20px",
|
|
5228
5229
|
marginRight: "0"
|
|
5229
5230
|
}, {
|
|
5230
|
-
default:
|
|
5231
|
-
|
|
5232
|
-
|
|
5231
|
+
default: x(() => [
|
|
5232
|
+
L("div", yp, [
|
|
5233
|
+
M(v(Pn), {
|
|
5233
5234
|
maxlength: "20",
|
|
5234
5235
|
disabled: T.value,
|
|
5235
5236
|
modelValue: s.value.reportTheme,
|
|
5236
5237
|
"onUpdate:modelValue": I[14] || (I[14] = (B) => s.value.reportTheme = B),
|
|
5237
5238
|
placeholder: g.value,
|
|
5238
|
-
onChange:
|
|
5239
|
+
onChange: se
|
|
5239
5240
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
5240
|
-
|
|
5241
|
+
M(v(Bn), {
|
|
5241
5242
|
modelValue: R.value,
|
|
5242
5243
|
"onUpdate:modelValue": I[15] || (I[15] = (B) => R.value = B),
|
|
5243
5244
|
checkboxType: "default",
|
|
5244
|
-
onChange:
|
|
5245
|
+
onChange: ne,
|
|
5245
5246
|
size: "middle"
|
|
5246
5247
|
}, {
|
|
5247
|
-
default:
|
|
5248
|
-
|
|
5248
|
+
default: x(() => [
|
|
5249
|
+
le(
|
|
5249
5250
|
Z(v(Q)("告警对象").value),
|
|
5250
5251
|
1
|
|
5251
5252
|
/* TEXT */
|
|
@@ -5328,9 +5329,9 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5328
5329
|
marginBottom: "30px",
|
|
5329
5330
|
marginRight: "0"
|
|
5330
5331
|
}, {
|
|
5331
|
-
default:
|
|
5332
|
-
|
|
5333
|
-
|
|
5332
|
+
default: x(() => [
|
|
5333
|
+
L("div", _p, [
|
|
5334
|
+
M(v(ls), {
|
|
5334
5335
|
class: "select",
|
|
5335
5336
|
modelValue: s.value.interval,
|
|
5336
5337
|
"onUpdate:modelValue": I[25] || (I[25] = (B) => s.value.interval = B),
|
|
@@ -5377,7 +5378,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5377
5378
|
onEmitFn: (r, i) => {
|
|
5378
5379
|
}
|
|
5379
5380
|
})
|
|
5380
|
-
}), 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" },
|
|
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 = {
|
|
5381
5382
|
name: "alarm"
|
|
5382
5383
|
}, Np = /* @__PURE__ */ pe({
|
|
5383
5384
|
...Hp,
|
|
@@ -5397,20 +5398,20 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5397
5398
|
null,
|
|
5398
5399
|
[
|
|
5399
5400
|
U(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5401
|
+
L("div", Sp, [
|
|
5402
|
+
L("div", Tp, [
|
|
5403
|
+
L(
|
|
5403
5404
|
"div",
|
|
5404
5405
|
{
|
|
5405
5406
|
style: Sn({ "background-color": a.msgItem.color }),
|
|
5406
5407
|
class: "title-detail"
|
|
5407
5408
|
},
|
|
5408
5409
|
[
|
|
5409
|
-
|
|
5410
|
+
L("div", kp, [
|
|
5410
5411
|
U(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
5411
5412
|
!\r
|
|
5412
5413
|
</div> `),
|
|
5413
|
-
|
|
5414
|
+
L(
|
|
5414
5415
|
"div",
|
|
5415
5416
|
Pp,
|
|
5416
5417
|
Z(v(Q)("新告警").value),
|
|
@@ -5418,7 +5419,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5418
5419
|
/* TEXT */
|
|
5419
5420
|
)
|
|
5420
5421
|
]),
|
|
5421
|
-
l[0] || (l[0] =
|
|
5422
|
+
l[0] || (l[0] = L(
|
|
5422
5423
|
"div",
|
|
5423
5424
|
{ class: "title-right" },
|
|
5424
5425
|
null,
|
|
@@ -5429,16 +5430,16 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5429
5430
|
4
|
|
5430
5431
|
/* STYLE */
|
|
5431
5432
|
),
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5433
|
+
L("div", Bp, [
|
|
5434
|
+
L("div", Op, [
|
|
5435
|
+
L(
|
|
5435
5436
|
"div",
|
|
5436
5437
|
Dp,
|
|
5437
5438
|
Z(v(Q)("告警等级:").value),
|
|
5438
5439
|
1
|
|
5439
5440
|
/* TEXT */
|
|
5440
5441
|
),
|
|
5441
|
-
|
|
5442
|
+
L(
|
|
5442
5443
|
"div",
|
|
5443
5444
|
{
|
|
5444
5445
|
class: "alarm-msg-line-right alarm-content-object",
|
|
@@ -5449,31 +5450,31 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5449
5450
|
/* TEXT, STYLE */
|
|
5450
5451
|
)
|
|
5451
5452
|
]),
|
|
5452
|
-
|
|
5453
|
-
|
|
5453
|
+
L("div", $p, [
|
|
5454
|
+
L(
|
|
5454
5455
|
"div",
|
|
5455
|
-
|
|
5456
|
+
Lp,
|
|
5456
5457
|
Z(v(Q)("告警对象:").value),
|
|
5457
5458
|
1
|
|
5458
5459
|
/* TEXT */
|
|
5459
5460
|
),
|
|
5460
|
-
|
|
5461
|
+
L(
|
|
5461
5462
|
"div",
|
|
5462
|
-
|
|
5463
|
+
xp,
|
|
5463
5464
|
Z(a.msgItem.equipmentName || ""),
|
|
5464
5465
|
1
|
|
5465
5466
|
/* TEXT */
|
|
5466
5467
|
)
|
|
5467
5468
|
]),
|
|
5468
|
-
|
|
5469
|
-
|
|
5469
|
+
L("div", Mp, [
|
|
5470
|
+
L(
|
|
5470
5471
|
"div",
|
|
5471
5472
|
Rp,
|
|
5472
5473
|
Z(v(Q)("告警内容:").value),
|
|
5473
5474
|
1
|
|
5474
5475
|
/* TEXT */
|
|
5475
5476
|
),
|
|
5476
|
-
|
|
5477
|
+
L(
|
|
5477
5478
|
"div",
|
|
5478
5479
|
Qp,
|
|
5479
5480
|
Z(a.msgItem.alarmContent || ""),
|
|
@@ -5481,16 +5482,16 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5481
5482
|
/* TEXT */
|
|
5482
5483
|
)
|
|
5483
5484
|
]),
|
|
5484
|
-
|
|
5485
|
+
L("div", jp, [
|
|
5485
5486
|
a.msgItem.equipmentCode && a.msgItem.equipmentPanelCode ? (H(), V(v(ke), {
|
|
5486
5487
|
key: 0,
|
|
5487
5488
|
block: "",
|
|
5488
|
-
onClick:
|
|
5489
|
+
onClick: te(i, ["stop"]),
|
|
5489
5490
|
btnType: "primary-text",
|
|
5490
5491
|
size: "middle"
|
|
5491
5492
|
}, {
|
|
5492
|
-
default:
|
|
5493
|
-
|
|
5493
|
+
default: x(() => [
|
|
5494
|
+
le(
|
|
5494
5495
|
Z(v(Q)("设备详情").value),
|
|
5495
5496
|
1
|
|
5496
5497
|
/* TEXT */
|
|
@@ -5503,11 +5504,11 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
|
|
|
5503
5504
|
key: 1,
|
|
5504
5505
|
block: "",
|
|
5505
5506
|
btnType: "primary-text",
|
|
5506
|
-
onClick:
|
|
5507
|
+
onClick: te(r, ["stop"]),
|
|
5507
5508
|
size: "middle"
|
|
5508
5509
|
}, {
|
|
5509
|
-
default:
|
|
5510
|
-
|
|
5510
|
+
default: x(() => [
|
|
5511
|
+
le(
|
|
5511
5512
|
Z(v(Q)("处理").value),
|
|
5512
5513
|
1
|
|
5513
5514
|
/* TEXT */
|
|
@@ -5551,7 +5552,7 @@ const Fp = () => {
|
|
|
5551
5552
|
loop: !1
|
|
5552
5553
|
// 轮播-无限次播放
|
|
5553
5554
|
});
|
|
5554
|
-
|
|
5555
|
+
ue.addEventListenerFromMicroApp("alarm:change-alarmconfig", (C) => {
|
|
5555
5556
|
const { isRealTimeAlarm: T, audioPlay: R } = C.data;
|
|
5556
5557
|
T != null && (l.value = T), R != null && (c.value = R, c.value || y());
|
|
5557
5558
|
});
|
|
@@ -5651,7 +5652,7 @@ const Fp = () => {
|
|
|
5651
5652
|
$ && n.value.send($);
|
|
5652
5653
|
},
|
|
5653
5654
|
message: async ($) => {
|
|
5654
|
-
|
|
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()));
|
|
5655
5656
|
}
|
|
5656
5657
|
}));
|
|
5657
5658
|
}
|
|
@@ -5668,8 +5669,8 @@ const Fp = () => {
|
|
|
5668
5669
|
We,
|
|
5669
5670
|
null,
|
|
5670
5671
|
[
|
|
5671
|
-
|
|
5672
|
-
|
|
5672
|
+
M(v(i)),
|
|
5673
|
+
L("audio", {
|
|
5673
5674
|
src: v(o).playPath,
|
|
5674
5675
|
class: "audio-alarm-level",
|
|
5675
5676
|
ref_key: "audioAlarmRef",
|
|
@@ -5691,10 +5692,10 @@ const Fp = () => {
|
|
|
5691
5692
|
const { $changePwd: u, $personSetDialog: m } = Cu(), { changeEnterprisesVisible: A, userId: f, tenantId: S, changeEnterprise: b } = dr();
|
|
5692
5693
|
vu();
|
|
5693
5694
|
const { fontColor: p, backgroudColor: d, borderColor: g } = _u();
|
|
5694
|
-
return $u(),
|
|
5695
|
-
|
|
5696
|
-
default:
|
|
5697
|
-
|
|
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, {
|
|
5698
5699
|
showLayout: t.value,
|
|
5699
5700
|
excludeRoutes: o.value,
|
|
5700
5701
|
routeKeepAliveVisible: r.value,
|
|
@@ -5706,7 +5707,7 @@ const Fp = () => {
|
|
|
5706
5707
|
/* STABLE */
|
|
5707
5708
|
}, 8, ["platformInitNextTick"]),
|
|
5708
5709
|
U(" 切换租户 "),
|
|
5709
|
-
|
|
5710
|
+
M(v(jr), {
|
|
5710
5711
|
visible: v(A),
|
|
5711
5712
|
"onUpdate:visible": y[0] || (y[0] = (k) => Dr(A) ? A.value = k : null),
|
|
5712
5713
|
userId: v(f),
|
|
@@ -5714,7 +5715,7 @@ const Fp = () => {
|
|
|
5714
5715
|
onConfirm: v(b)
|
|
5715
5716
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
5716
5717
|
U(" 修改密码 "),
|
|
5717
|
-
|
|
5718
|
+
M(
|
|
5718
5719
|
v(Qr),
|
|
5719
5720
|
{
|
|
5720
5721
|
ref_key: "$changePwd",
|
|
@@ -5725,7 +5726,7 @@ const Fp = () => {
|
|
|
5725
5726
|
/* NEED_PATCH */
|
|
5726
5727
|
),
|
|
5727
5728
|
U(" 个性化设置 "),
|
|
5728
|
-
|
|
5729
|
+
M(
|
|
5729
5730
|
v(pu),
|
|
5730
5731
|
{
|
|
5731
5732
|
ref_key: "$personSetDialog",
|
|
@@ -5736,7 +5737,7 @@ const Fp = () => {
|
|
|
5736
5737
|
/* NEED_PATCH */
|
|
5737
5738
|
),
|
|
5738
5739
|
U(" 告警 "),
|
|
5739
|
-
|
|
5740
|
+
M(v(Wp))
|
|
5740
5741
|
]));
|
|
5741
5742
|
}
|
|
5742
5743
|
}), qp = /* @__PURE__ */ Ee(Vp, [["__scopeId", "data-v-45ef70df"]]);
|
|
@@ -5744,15 +5745,15 @@ E("@das-fed/web");
|
|
|
5744
5745
|
const Kp = [
|
|
5745
5746
|
{
|
|
5746
5747
|
path: Ie,
|
|
5747
|
-
component: () => import("./index-
|
|
5748
|
+
component: () => import("./index-Dmb3C3y5.js")
|
|
5748
5749
|
},
|
|
5749
5750
|
{
|
|
5750
5751
|
path: Je,
|
|
5751
|
-
component: () => import("./index-
|
|
5752
|
+
component: () => import("./index-DuIncATn.js")
|
|
5752
5753
|
},
|
|
5753
5754
|
{
|
|
5754
5755
|
path: Bo,
|
|
5755
|
-
component: () => import("./index-
|
|
5756
|
+
component: () => import("./index-DCqOCM9d.js")
|
|
5756
5757
|
}
|
|
5757
5758
|
], Hf = {
|
|
5758
5759
|
routes: Kp,
|