@das-fed/web 6.4.0-test.2 → 6.4.0-test.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{index-DEYJwN2T.js → index-6_iWBDs0.js} +881 -881
- package/index-6_iWBDs0.js.gz +0 -0
- package/{packages/main-app-framework/index-Xn4wzM8V.js → index-C9vVY6r3.js} +1 -1
- package/index-C9vVY6r3.js.gz +0 -0
- package/{index-3y8fHBtE.js → index-DC-9kRIP.js} +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/{index-DnFSz1TN.js → index-DCVBm-dM.js} +1 -1
- package/packages/main-app-framework/{index-Bo4ASgsm.js → index-DHWdFr1t.js} +655 -655
- package/packages/main-app-framework/index-DHWdFr1t.js.gz +0 -0
- package/{index-DXnYb5jk.js → packages/main-app-framework/index-DiKwf0Vc.js} +1 -1
- package/packages/main-app-framework/index-DiKwf0Vc.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/index-DEYJwN2T.js.gz +0 -0
- package/index-DXnYb5jk.js.gz +0 -0
- package/packages/main-app-framework/index-Bo4ASgsm.js.gz +0 -0
- package/packages/main-app-framework/index-Xn4wzM8V.js.gz +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as pe, computed as Ee, openBlock as H, createBlock as V, unref as y, mergeProps as Sr, withCtx as M, renderSlot as Le, createVNode as R, getCurrentScope as Tr, onScopeDispose as kr, getCurrentInstance as Pr, onMounted as je, nextTick as Je, ref as E, watch as re, reactive as bo, createElementVNode as x, createTextVNode as fe, createElementBlock as de, Fragment as Ve, renderList as Co, withDirectives as Io, toDisplayString as X, createCommentVNode as U, h as se, render as wt, onBeforeUnmount as ut, vShow as Br, useCssVars as Or, normalizeClass as $r, withModifiers as te, toRefs as Dr, normalizeStyle as Pn, isRef as Lr } from "vue";
|
|
2
2
|
import { i18n as Q } from "@das-fed/web/packages/i18n/index";
|
|
3
|
-
import { DasWebLayout as
|
|
4
|
-
import { DasChangePwdRef as
|
|
5
|
-
import { DasChangeEnterprises as
|
|
3
|
+
import { DasWebLayout as xr, DasWebNav as Mr, DasWebMenu as Rr, DasWebTabs as Qr, layout as B } from "@das-fed/web/packages/layout/index";
|
|
4
|
+
import { DasChangePwdRef as jr, DasChangePwd as Hr } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
5
|
+
import { DasChangeEnterprises as Nr } from "@das-fed/ui/packages/business-components/change-enterprises/index";
|
|
6
6
|
import { pureImageSrc as en } from "@das-fed/utils/pure-image-src";
|
|
7
7
|
import { DasNotification as bt } from "@das-fed/ui/packages/components/notification/index";
|
|
8
|
-
import { flatTree as _e, filterTreeArray as
|
|
8
|
+
import { flatTree as _e, filterTreeArray as Ur, isEmpty as Fr, treeFind as Bn, updateFavIcon as Wr, dateFormat as Jr, runPromiseByQueue as Vr, objEqual as Ft, setShowWatermark as Wt, setShowLayout as Jt, getUrlParams as zr, withToken as qr } from "@das-fed/utils/common-tools";
|
|
9
9
|
import { getSubApps as W, getTabInfo as le, getPersonalInfo as dt, getTenantInfo as tn, getProjectInfo as ke, getToken as kt, getUserInfo as Eo, getMenus as Ct } from "@das-fed/utils/common-info";
|
|
10
10
|
import { setProcessEngineProject as So, setProcessEngineToken as To } from "@das-fed/utils/process-engine-info";
|
|
11
|
-
import { oauthServer as ko, justauth as nn, enterpriseright as on, iotModules as
|
|
12
|
-
import { createService as
|
|
11
|
+
import { oauthServer as ko, justauth as nn, enterpriseright as on, iotModules as Kr, portal as $e, systemConfiguration as rn } from "@das-fed/utils/api-services/modules";
|
|
12
|
+
import { createService as He } from "@das-fed/utils/create-api-service";
|
|
13
13
|
import { useRouter as Xe, useRoute as sn } from "vue-router";
|
|
14
|
-
import { useGetAuth as
|
|
15
|
-
import { systemConfiguration as
|
|
16
|
-
import { getConfig as
|
|
14
|
+
import { useGetAuth as Gr } from "@das-fed/utils/hooks/use-get-auth";
|
|
15
|
+
import { systemConfiguration as Xr, enterpriseright as an, createService as Ze, spaceManage as Po } from "@das-fed/utils/api-services";
|
|
16
|
+
import { getConfig as Ne } from "@das-fed/utils/config";
|
|
17
17
|
import Vt from "dayjs";
|
|
18
|
-
import { getAccessToken as
|
|
18
|
+
import { getAccessToken as Zr, removeAccessToken as Yr } from "@das-fed/utils/token-tools";
|
|
19
19
|
import { DasSpin as cn } from "@das-fed/ui/packages/components/spin/index";
|
|
20
20
|
import { DasDialog as ln } from "@das-fed/ui/packages/components/dialog/index";
|
|
21
21
|
import { DasButton as Oe } from "@das-fed/ui/packages/components/button/index";
|
|
22
|
-
import { vDasTooltip as
|
|
22
|
+
import { vDasTooltip as es } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
23
23
|
import { microFrontend as ve } from "@das-fed/web/packages/micro-frontend/index";
|
|
24
|
-
import { tokenStorage as
|
|
25
|
-
import { setPersonalInfo as
|
|
26
|
-
import { setThemeRule as
|
|
27
|
-
import { devicePanelShow as Bo, closeDevicePanel as
|
|
24
|
+
import { tokenStorage as ts } from "@das-fed/utils/create-api-service/sso";
|
|
25
|
+
import { setPersonalInfo as ns } from "@das-fed/utils/common-info/set-personal-info";
|
|
26
|
+
import { setThemeRule as os } from "@das-fed/web/packages/theme/index";
|
|
27
|
+
import { devicePanelShow as Bo, closeDevicePanel as rs, alarmDevicePanelShow as ss, closeAlarmPanel as is } from "@das-fed/ui/packages/business-components/device-panel/index";
|
|
28
28
|
import { DasIcon as De, DasAutoRegisterIcon as Oo } from "@das-fed/ui/packages/components/icon/index";
|
|
29
29
|
import { socketService as un } from "@das-fed/utils/webSocket-service";
|
|
30
|
-
import { userInfoNextTick as
|
|
30
|
+
import { userInfoNextTick as as, tokenNextTick as Pt } from "@das-fed/utils/nextTiken";
|
|
31
31
|
import { mainAppFramework as It } from "@das-fed/web/packages/main-app-framework/index";
|
|
32
|
-
import { DasTooltip as
|
|
33
|
-
import { DasLivePlayer as
|
|
34
|
-
import { DasWatermark as
|
|
35
|
-
import { DasDrawer as
|
|
32
|
+
import { DasTooltip as ce } from "@das-fed/ui/packages/components/tooltip/index";
|
|
33
|
+
import { DasLivePlayer as cs } from "@das-fed/ui/packages/components/live-player/index";
|
|
34
|
+
import { DasWatermark as ls } from "@das-fed/ui/packages/components/watermark/index";
|
|
35
|
+
import { DasDrawer as us } from "@das-fed/ui/packages/components/drawer/index";
|
|
36
36
|
import { DasRadio as On } from "@das-fed/ui/packages/components/radio/index";
|
|
37
|
-
import { DasSelect as
|
|
38
|
-
import { DasTreeSelect as
|
|
37
|
+
import { DasSelect as ds } from "@das-fed/ui/packages/components/select/index";
|
|
38
|
+
import { DasTreeSelect as ps } from "@das-fed/ui/packages/components/tree-select/index";
|
|
39
39
|
import { DasInput as $n } from "@das-fed/ui/packages/components/input/index";
|
|
40
40
|
import { DasCheckbox as Dn } from "@das-fed/ui/packages/components/checkbox/index";
|
|
41
|
-
import { DasForm as
|
|
41
|
+
import { DasForm as fs } from "@das-fed/ui/packages/components/form/index";
|
|
42
42
|
import { DasFormItem as we } from "@das-fed/ui/packages/components/form-item/index";
|
|
43
43
|
const ot = "/", Se = "/application", $o = [
|
|
44
44
|
{ value: ot, label: Q("首页").value, path: ot, fixed: !0 },
|
|
45
45
|
{ value: Se, label: Q("应用").value, path: Se, fixed: !0 }
|
|
46
|
-
], Te = "/outerView", Do = "/placeholder",
|
|
46
|
+
], Te = "/outerView", Do = "/placeholder", hs = [
|
|
47
47
|
{ value: "0", label: Q("主题设置").value },
|
|
48
48
|
{ value: "1", label: Q("个人中心").value },
|
|
49
49
|
{ value: "2", label: Q("修改密码").value },
|
|
50
50
|
{ value: "3", label: Q("退出登录").value }
|
|
51
|
-
],
|
|
51
|
+
], gs = /* @__PURE__ */ pe({
|
|
52
52
|
__name: "base-layout",
|
|
53
53
|
props: {
|
|
54
54
|
transitionConfig: { default: () => ({}) },
|
|
@@ -71,20 +71,20 @@ const ot = "/", Se = "/application", $o = [
|
|
|
71
71
|
excludeRoutes: e.excludeRoutes,
|
|
72
72
|
routeKeepAliveVisible: e.routeKeepAliveVisible
|
|
73
73
|
}));
|
|
74
|
-
return (r, s) => (H(), V(y(
|
|
74
|
+
return (r, s) => (H(), V(y(xr), Sr({ "transition-config": t.value }, o.value), {
|
|
75
75
|
header: M(() => [
|
|
76
76
|
Le(r.$slots, "header", {}, () => [
|
|
77
|
-
R(y(
|
|
77
|
+
R(y(Mr))
|
|
78
78
|
])
|
|
79
79
|
]),
|
|
80
80
|
aside: M(() => [
|
|
81
81
|
Le(r.$slots, "aside", {}, () => [
|
|
82
|
-
R(y(
|
|
82
|
+
R(y(Rr), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
|
|
83
83
|
])
|
|
84
84
|
]),
|
|
85
85
|
tab: M(() => [
|
|
86
86
|
Le(r.$slots, "tab", {}, () => [
|
|
87
|
-
R(y(
|
|
87
|
+
R(y(Qr), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
|
|
88
88
|
])
|
|
89
89
|
]),
|
|
90
90
|
banner: M(() => [
|
|
@@ -96,44 +96,44 @@ const ot = "/", Se = "/application", $o = [
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
var Ln;
|
|
99
|
-
const dn = typeof window < "u",
|
|
99
|
+
const dn = typeof window < "u", As = (n) => typeof n == "string", ms = () => {
|
|
100
100
|
};
|
|
101
101
|
dn && ((Ln = window == null ? void 0 : window.navigator) != null && Ln.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
102
102
|
function Lo(n) {
|
|
103
103
|
return typeof n == "function" ? n() : y(n);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function vs(n) {
|
|
106
106
|
return n;
|
|
107
107
|
}
|
|
108
108
|
function xo(n) {
|
|
109
109
|
return Tr() ? (kr(n), !0) : !1;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
Pr() ?
|
|
111
|
+
function ys(n, e = !0) {
|
|
112
|
+
Pr() ? je(n) : e ? n() : Je(n);
|
|
113
113
|
}
|
|
114
114
|
function Mo(n) {
|
|
115
115
|
var e;
|
|
116
116
|
const t = Lo(n);
|
|
117
117
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
118
118
|
}
|
|
119
|
-
const
|
|
120
|
-
function
|
|
119
|
+
const _s = dn ? window : void 0, ws = dn ? window.document : void 0;
|
|
120
|
+
function bs(...n) {
|
|
121
121
|
let e, t, o, r;
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (As(n[0]) || Array.isArray(n[0]) ? ([t, o, r] = n, e = _s) : [e, t, o, r] = n, !e)
|
|
123
|
+
return ms;
|
|
124
124
|
Array.isArray(t) || (t = [t]), Array.isArray(o) || (o = [o]);
|
|
125
125
|
const s = [], i = () => {
|
|
126
126
|
s.forEach((u) => u()), s.length = 0;
|
|
127
|
-
}, l = (u, m, p, g) => (u.addEventListener(m, p, g), () => u.removeEventListener(m, p, g)), c =
|
|
127
|
+
}, l = (u, m, p, g) => (u.addEventListener(m, p, g), () => u.removeEventListener(m, p, g)), c = re(() => [Mo(e), Lo(r)], ([u, m]) => {
|
|
128
128
|
i(), u && s.push(...t.flatMap((p) => o.map((g) => l(u, p, g, m))));
|
|
129
129
|
}, { immediate: !0, flush: "post" }), a = () => {
|
|
130
130
|
c(), i();
|
|
131
131
|
};
|
|
132
132
|
return xo(a), a;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Cs(n, e = !1) {
|
|
135
135
|
const t = E(), o = () => t.value = !!n();
|
|
136
|
-
return o(),
|
|
136
|
+
return o(), ys(o, e), t;
|
|
137
137
|
}
|
|
138
138
|
const xn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Mn = "__vueuse_ssr_handlers__";
|
|
139
139
|
xn[Mn] = xn[Mn] || {};
|
|
@@ -180,9 +180,9 @@ const Rn = [
|
|
|
180
180
|
]
|
|
181
181
|
];
|
|
182
182
|
function pt(n, e = {}) {
|
|
183
|
-
const { document: t =
|
|
183
|
+
const { document: t = ws, autoExit: o = !1 } = e, r = n || (t == null ? void 0 : t.querySelector("html")), s = E(!1);
|
|
184
184
|
let i = Rn[0];
|
|
185
|
-
const l =
|
|
185
|
+
const l = Cs(() => {
|
|
186
186
|
if (t) {
|
|
187
187
|
for (const w of Rn)
|
|
188
188
|
if (w[1] in t)
|
|
@@ -204,7 +204,7 @@ function pt(n, e = {}) {
|
|
|
204
204
|
async function S() {
|
|
205
205
|
s.value ? await p() : await g();
|
|
206
206
|
}
|
|
207
|
-
return t &&
|
|
207
|
+
return t && bs(t, m, () => {
|
|
208
208
|
s.value = !!(t != null && t[u]);
|
|
209
209
|
}, !1), o && xo(p), {
|
|
210
210
|
isSupported: l,
|
|
@@ -218,15 +218,15 @@ var Qn;
|
|
|
218
218
|
(function(n) {
|
|
219
219
|
n.UP = "UP", n.RIGHT = "RIGHT", n.DOWN = "DOWN", n.LEFT = "LEFT", n.NONE = "NONE";
|
|
220
220
|
})(Qn || (Qn = {}));
|
|
221
|
-
var
|
|
221
|
+
var Is = Object.defineProperty, jn = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, Ss = Object.prototype.propertyIsEnumerable, Hn = (n, e, t) => e in n ? Is(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ts = (n, e) => {
|
|
222
222
|
for (var t in e || (e = {}))
|
|
223
|
-
|
|
223
|
+
Es.call(e, t) && Hn(n, t, e[t]);
|
|
224
224
|
if (jn)
|
|
225
225
|
for (var t of jn(e))
|
|
226
|
-
|
|
226
|
+
Ss.call(e, t) && Hn(n, t, e[t]);
|
|
227
227
|
return n;
|
|
228
228
|
};
|
|
229
|
-
const
|
|
229
|
+
const ks = {
|
|
230
230
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
231
231
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
232
232
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -252,10 +252,10 @@ const Ts = {
|
|
|
252
252
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
253
253
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
254
254
|
};
|
|
255
|
-
|
|
256
|
-
linear:
|
|
257
|
-
},
|
|
258
|
-
const
|
|
255
|
+
Ts({
|
|
256
|
+
linear: vs
|
|
257
|
+
}, ks);
|
|
258
|
+
const Ps = Xr.get("watermark"), Bs = /* @__PURE__ */ pe({
|
|
259
259
|
__name: "index",
|
|
260
260
|
props: {
|
|
261
261
|
platformInitNextTick: {}
|
|
@@ -283,11 +283,11 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
283
283
|
}, p = async () => {
|
|
284
284
|
var v, _, h, T, O, L, b;
|
|
285
285
|
a.value = !0, await (e == null ? void 0 : e.platformInitNextTick());
|
|
286
|
-
const [w, f] = await
|
|
286
|
+
const [w, f] = await Ps().run();
|
|
287
287
|
if (w) return null;
|
|
288
288
|
if (t.value = f, !!((v = t.value) != null && v.pageSwith)) {
|
|
289
289
|
s.value = [];
|
|
290
|
-
const { name: C, phone: P } = await
|
|
290
|
+
const { name: C, phone: P } = await as();
|
|
291
291
|
let D = "";
|
|
292
292
|
if ((_ = t.value) != null && _.nameSwith && C && (s.value.push(C), D = D + `${C} `), (h = t.value) != null && h.phoneSwith && P) {
|
|
293
293
|
const N = P.slice(-4);
|
|
@@ -306,7 +306,7 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
306
306
|
};
|
|
307
307
|
p();
|
|
308
308
|
const g = Xe(), S = sn();
|
|
309
|
-
return
|
|
309
|
+
return re(
|
|
310
310
|
() => g.currentRoute.value,
|
|
311
311
|
(w) => {
|
|
312
312
|
var _, h, T;
|
|
@@ -321,7 +321,7 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
321
321
|
const w = !!((d = t.value) != null && d.pageSwith);
|
|
322
322
|
let f = ((v = S.query) == null ? void 0 : v.showWatermark) ?? !0;
|
|
323
323
|
f === "false" && (f = !1), m(!!(w && f));
|
|
324
|
-
}), (w, f) => (H(), V(y(
|
|
324
|
+
}), (w, f) => (H(), V(y(ls), {
|
|
325
325
|
class: "watermark",
|
|
326
326
|
font: l,
|
|
327
327
|
zIndex: 2147483647,
|
|
@@ -341,11 +341,11 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
341
341
|
for (const [o, r] of e)
|
|
342
342
|
t[o] = r;
|
|
343
343
|
return t;
|
|
344
|
-
},
|
|
344
|
+
}, Os = /* @__PURE__ */ be(Bs, [["__scopeId", "data-v-dacc9554"]]), $s = {
|
|
345
345
|
"--menu-tip-diaolg-content": "#212121",
|
|
346
346
|
"--menu-tip-diaolg-divide": "#d9d9d9",
|
|
347
347
|
"--menu-tip-diaolg-info": "#999999"
|
|
348
|
-
},
|
|
348
|
+
}, Ds = ["innerHTML"], Ls = { class: "footer" }, xs = /* @__PURE__ */ pe({
|
|
349
349
|
__name: "tip",
|
|
350
350
|
props: {
|
|
351
351
|
title: {},
|
|
@@ -367,14 +367,14 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
367
367
|
onClosed: t.closeCallback
|
|
368
368
|
}, {
|
|
369
369
|
footer: M(() => [
|
|
370
|
-
x("div",
|
|
370
|
+
x("div", Ls, [
|
|
371
371
|
R(y(Oe), {
|
|
372
372
|
btnType: "default",
|
|
373
373
|
size: "small",
|
|
374
374
|
onClick: t.closeCallback
|
|
375
375
|
}, {
|
|
376
376
|
default: M(() => o[2] || (o[2] = [
|
|
377
|
-
|
|
377
|
+
fe("我知道了")
|
|
378
378
|
])),
|
|
379
379
|
_: 1
|
|
380
380
|
/* STABLE */
|
|
@@ -385,9 +385,9 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
385
385
|
x("div", {
|
|
386
386
|
class: "content",
|
|
387
387
|
innerHTML: t.content
|
|
388
|
-
}, null, 8,
|
|
388
|
+
}, null, 8, Ds),
|
|
389
389
|
t.desc && t.desc.length ? (H(), de(
|
|
390
|
-
|
|
390
|
+
Ve,
|
|
391
391
|
{ key: 0 },
|
|
392
392
|
[
|
|
393
393
|
o[1] || (o[1] = x(
|
|
@@ -398,19 +398,19 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
398
398
|
/* HOISTED */
|
|
399
399
|
)),
|
|
400
400
|
(H(!0), de(
|
|
401
|
-
|
|
401
|
+
Ve,
|
|
402
402
|
null,
|
|
403
403
|
Co(t.desc, (r, s) => Io((H(), de("div", {
|
|
404
404
|
key: s,
|
|
405
405
|
class: "desc-item"
|
|
406
406
|
}, [
|
|
407
|
-
|
|
407
|
+
fe(
|
|
408
408
|
X(r),
|
|
409
409
|
1
|
|
410
410
|
/* TEXT */
|
|
411
411
|
)
|
|
412
412
|
])), [
|
|
413
|
-
[y(
|
|
413
|
+
[y(es)]
|
|
414
414
|
])),
|
|
415
415
|
128
|
|
416
416
|
/* KEYED_FRAGMENT */
|
|
@@ -424,18 +424,18 @@ const ks = Gr.get("watermark"), Ps = /* @__PURE__ */ fe({
|
|
|
424
424
|
/* STABLE */
|
|
425
425
|
}, 8, ["modelValue", "width", "height", "title", "onClosed"]));
|
|
426
426
|
}
|
|
427
|
-
}),
|
|
427
|
+
}), Ms = /* @__PURE__ */ be(xs, [["__scopeId", "data-v-72bc9a80"]]), st = ({ 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 i =
|
|
430
|
+
const i = se(Ms, { title: n, content: e, desc: t, closeCallback: () => {
|
|
431
431
|
wt(null, r), document.body.removeChild(r), o(null);
|
|
432
432
|
} });
|
|
433
433
|
wt(i, r);
|
|
434
434
|
});
|
|
435
|
-
|
|
436
|
-
const
|
|
435
|
+
os($s);
|
|
436
|
+
const Rs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAdSSURBVHic7d0xiltXAIZRORG4SuvimZDO07qdUpBdZAHGpfECQhZgXIYsILsITDnttDOdGfQKt6mmCE4tMgLDe5/uWDmnlBD8jeDjwuU+2+/3XzYAAKHvRg8AAM6f4AAAcoIDAMgJDgAgJzgAgNz22Be3n/4+5Q5O7OKnHx79fJqmEy8B4JzM8/zo5044AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDIHX1L5WvsLi/W2sGKrq5vR08AgANOOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyC16S8WbHQDA13DCAQDkBAcAkBMcAEBOcAAAOcEBAOQW3VLh/MzzPHoCAGfICQcAkBMcAEBOcAAAOcEBAOQEBwCQc0uFA9M0jZ4AwDfs2G1HJxwAQE5wAAA5wQEA5AQHAJATHABAbtEtld3lxVo7WNHV9e3oCQBwwAkHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAC5RW+peLPj2/XLb/8c+eb+pDtoXP3x4+gJAAeccAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAC57ZIf//7Xy7V2sKK3P+9HT1jF61fPNx/fvxg9Y7ibu4fNuw+fR88AWMQJBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAuUVvqZzLmx08TTd3D5vdm/vRMwBYgRMOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AILdd8uPd5cVaO1jR1fXt6AmreP3q+ebj+xejZwx3c/eweffh8+gZAIs44QAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AILfoLZVzebODp+nm7mGze3M/egYAK3DCAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABAbjt6AGP8+ev3j34+TdOJlwDwf+CEAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AILcdPYCnZZ7n0RMAOENOOACAnOAAAHKCAwDICQ4AICc4AICcWyocmKZp9AR4co7d3vJ/gf869n9xwgEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAuWf7/f7L6BEAwHlzwgEA5AQHAJATHABATnAAADnBAQDk/gXn601crysaUAAAAABJRU5ErkJggg==", Qs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAdRSURBVHic7d0xa1tnGIZhpQgChawZlCFbvGb1KOgP6RY6huwpdA8Zu3bpvyh49OrV3krQGbIWCp6SWdSHCI5ufbF6XaON4VkMNy8cvie73e7LCgAg9MPoAQDA+RMcAEBOcAAAOcEBAOQEBwCQW8/94vbvf065gxO7ePnswZ9vNpsTLwHgnEzT9ODPXTgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMjNvqVyiO3lxbF2cERX17ejJwDAHhcOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByi95S8WYHAHAIFw4AICc4AICc4AAAcoIDAMgJDgAgt+grFc7PNE2jJwBwhlw4AICc4AAAcoIDAMgJDgAgJzgAgJyvVNiz2WxGTwDgEZv72tGFAwDICQ4AICc4AICc4AAAcoIDAMgt+kple3lxrB0c0dX17egJALDHhQMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgNyit1S82QEAHMKFAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMitl/zx73+9ONYOjuiXn3ajJwDAHhcOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByi95S8WYHAHAIFw4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AIDc7PP0v/3x4yl3cGJ//jp6AQD/Jy4cAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQG49esASr189XX1893z0jOFu7u5Xbz98Hj0DAGa5cAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkHvUb6nc3N2vtm8+jZ4BAHyDCwcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQW48esMTrV09XH989Hz1juJu7+9XbD59HzwCAWS4cAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkHvVbKjd396vtm0+jZwAA3+DCAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOTWowfwfZmmafQEAM6QCwcAkBMcAEBOcAAAOcEBAOQEBwCQm/1K5f3P/55yByf37MGfbjabE++A79/c11v+X+C/5v5fXDgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACA3HrJH28vL461gyO6ur4dPQEA9rhwAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQW/SWijc7AIBDuHAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDknux2uy+jRwAA582FAwDICQ4AICc4AICc4AAAcoIDAMh9BZ3dS+/izVuGAAAAAElFTkSuQmCC", js = (n = {}) => {
|
|
437
437
|
sessionStorage.setItem("userInfo", JSON.stringify(n));
|
|
438
|
-
},
|
|
438
|
+
}, Hs = (n = {}) => {
|
|
439
439
|
var t;
|
|
440
440
|
sessionStorage.setItem("tenantInfo", JSON.stringify(n));
|
|
441
441
|
const e = {
|
|
@@ -445,13 +445,13 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
445
445
|
tenantId: ((t = n == null ? void 0 : n.tenant) == null ? void 0 : t.id) ?? ""
|
|
446
446
|
};
|
|
447
447
|
sessionStorage.setItem("hotentUserInfo", JSON.stringify(e));
|
|
448
|
-
},
|
|
448
|
+
}, Ns = (n = {}) => {
|
|
449
449
|
sessionStorage.setItem("home-config", JSON.stringify(n));
|
|
450
|
-
},
|
|
450
|
+
}, Us = (n) => {
|
|
451
451
|
localStorage.setItem("fav-icon", n);
|
|
452
452
|
}, Ro = (n) => {
|
|
453
453
|
sessionStorage.setItem("projectInfo", JSON.stringify(n || { id: 0 })), sessionStorage.setItem("project", (n == null ? void 0 : n.id) || 0);
|
|
454
|
-
},
|
|
454
|
+
}, Fs = () => {
|
|
455
455
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
456
456
|
}, ue = (n) => {
|
|
457
457
|
let e = le();
|
|
@@ -495,7 +495,7 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
495
495
|
for (const t in e.subAppList)
|
|
496
496
|
e.subAppList[t].code === e.currentSubAppCode && (e.subAppList[t].currentMenuCode = n);
|
|
497
497
|
sessionStorage.setItem("subApps", JSON.stringify(e));
|
|
498
|
-
},
|
|
498
|
+
}, Ws = (n, e) => {
|
|
499
499
|
const t = "permission-btn", o = JSON.parse(sessionStorage.getItem(t) || "{}") || {}, r = n != null && n.length ? n.filter((c) => c.routeUrl) : [], s = n != null && n.length ? n.filter((c) => !c.routeUrl && c.children).map((c) => c.children).flat() : [], i = [...r, ...s], l = {};
|
|
500
500
|
return i.forEach((c) => {
|
|
501
501
|
var p;
|
|
@@ -525,17 +525,17 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
525
525
|
l[a].push(w), u && a !== u && (l["origin-auth"] || (l["origin-auth"] = {}), l["origin-auth"][u] || (l["origin-auth"][u] = []), l["origin-auth"][u].push(w));
|
|
526
526
|
}));
|
|
527
527
|
}), o[e] = l, sessionStorage.setItem(t, JSON.stringify(o)), o;
|
|
528
|
-
},
|
|
528
|
+
}, Js = () => {
|
|
529
529
|
sessionStorage.removeItem("permission-btn");
|
|
530
|
-
},
|
|
530
|
+
}, Vs = (n, e) => {
|
|
531
531
|
const t = "breadcrumb", o = n.filter((s) => s.routeUrl), r = JSON.parse(sessionStorage.getItem(t) || "{}") || {};
|
|
532
532
|
return o.forEach((s) => {
|
|
533
533
|
const l = ((s == null ? void 0 : s.style) ?? 1) === 1, c = s.code;
|
|
534
534
|
r[e] || (r[e] = {}), r[e][c] = l;
|
|
535
535
|
}), sessionStorage.setItem(t, JSON.stringify(r)), r;
|
|
536
|
-
},
|
|
536
|
+
}, zs = () => {
|
|
537
537
|
sessionStorage.removeItem("breadcrumb");
|
|
538
|
-
},
|
|
538
|
+
}, qs = (n, e) => {
|
|
539
539
|
const t = "tabStyle", o = n.filter((s) => s.routeUrl), r = JSON.parse(sessionStorage.getItem(t) || "{}") || {};
|
|
540
540
|
return o.forEach((s) => {
|
|
541
541
|
const i = s.code, l = {
|
|
@@ -544,13 +544,13 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
544
544
|
};
|
|
545
545
|
r[e] || (r[e] = {}), r[e][i] = l;
|
|
546
546
|
}), sessionStorage.setItem(t, JSON.stringify(r)), r;
|
|
547
|
-
},
|
|
547
|
+
}, Ks = () => {
|
|
548
548
|
sessionStorage.removeItem("tabStyle");
|
|
549
|
-
},
|
|
549
|
+
}, Gs = (n) => {
|
|
550
550
|
sessionStorage.setItem("instance", JSON.stringify(n));
|
|
551
551
|
}, Ho = () => {
|
|
552
|
-
|
|
553
|
-
},
|
|
552
|
+
Js(), pn(), Qo(), zs(), Ks();
|
|
553
|
+
}, Xs = (n) => {
|
|
554
554
|
const e = JSON.parse(sessionStorage.getItem(n) || "{}");
|
|
555
555
|
if (e && JSON.stringify(e) !== "{}" && e != null && e.exitConfirmPages && e.exitConfirmPages.length) {
|
|
556
556
|
const t = (e == null ? void 0 : e.currentPage) ?? "";
|
|
@@ -569,26 +569,26 @@ const Ms = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
|
|
|
569
569
|
}
|
|
570
570
|
}, zt = (n) => {
|
|
571
571
|
const e = new URL(n, location.origin);
|
|
572
|
-
return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token",
|
|
573
|
-
},
|
|
574
|
-
const [n, e] = await
|
|
575
|
-
return n ? { personalConfig: null } : (
|
|
576
|
-
}, oi = async () => {
|
|
577
|
-
const [n, e] = await ei().run();
|
|
578
|
-
return n ? { tenantConfig: null } : (js(e), { tenantConfig: e });
|
|
572
|
+
return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token", Zr()), e.searchParams.delete("autoSetToken")), e.toString();
|
|
573
|
+
}, Zs = "v1", Ys = He(`/api/personal-center/personal-server/${Zs}`), ei = Ys.get("/info"), ti = ko.get("/user-info"), ni = nn.post("/tenant/page"), oi = async () => {
|
|
574
|
+
const [n, e] = await ei().run({});
|
|
575
|
+
return n ? { personalConfig: null } : (js(e), { personalConfig: e });
|
|
579
576
|
}, ri = async () => {
|
|
580
|
-
const [n, e] = await ti().run(
|
|
577
|
+
const [n, e] = await ti().run();
|
|
578
|
+
return n ? { tenantConfig: null } : (Hs(e), { tenantConfig: e });
|
|
579
|
+
}, si = async () => {
|
|
580
|
+
const [n, e] = await ni().run({
|
|
581
581
|
userId: dt().id,
|
|
582
582
|
pageSize: 20,
|
|
583
583
|
pageIndex: 1
|
|
584
584
|
});
|
|
585
585
|
if (n) return { tenantList: [] };
|
|
586
586
|
if (e.data && e.data.length) return { tenantList: e.data };
|
|
587
|
-
},
|
|
588
|
-
const [n, e] = await
|
|
589
|
-
return
|
|
587
|
+
}, ii = on.get("/permissionset/user-portal-menu"), ai = Kr.deviceManage.get("/instance/getLast"), ci = async () => {
|
|
588
|
+
const [n, e] = await ai().run(), t = { instanceInfo: e ?? null };
|
|
589
|
+
return Gs(t), t;
|
|
590
590
|
};
|
|
591
|
-
function
|
|
591
|
+
function li() {
|
|
592
592
|
this.__data__ = [], this.size = 0;
|
|
593
593
|
}
|
|
594
594
|
function No(n, e) {
|
|
@@ -600,22 +600,22 @@ function Bt(n, e) {
|
|
|
600
600
|
return t;
|
|
601
601
|
return -1;
|
|
602
602
|
}
|
|
603
|
-
var
|
|
604
|
-
function
|
|
603
|
+
var ui = Array.prototype, di = ui.splice;
|
|
604
|
+
function pi(n) {
|
|
605
605
|
var e = this.__data__, t = Bt(e, n);
|
|
606
606
|
if (t < 0)
|
|
607
607
|
return !1;
|
|
608
608
|
var o = e.length - 1;
|
|
609
|
-
return t == o ? e.pop() :
|
|
609
|
+
return t == o ? e.pop() : di.call(e, t, 1), --this.size, !0;
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function fi(n) {
|
|
612
612
|
var e = this.__data__, t = Bt(e, n);
|
|
613
613
|
return t < 0 ? void 0 : e[t][1];
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function hi(n) {
|
|
616
616
|
return Bt(this.__data__, n) > -1;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function gi(n, e) {
|
|
619
619
|
var t = this.__data__, o = Bt(t, n);
|
|
620
620
|
return o < 0 ? (++this.size, t.push([n, e])) : t[o][1] = e, this;
|
|
621
621
|
}
|
|
@@ -626,66 +626,66 @@ function Pe(n) {
|
|
|
626
626
|
this.set(o[0], o[1]);
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
Pe.prototype.clear =
|
|
630
|
-
Pe.prototype.delete =
|
|
631
|
-
Pe.prototype.get =
|
|
632
|
-
Pe.prototype.has =
|
|
633
|
-
Pe.prototype.set =
|
|
634
|
-
function
|
|
629
|
+
Pe.prototype.clear = li;
|
|
630
|
+
Pe.prototype.delete = pi;
|
|
631
|
+
Pe.prototype.get = fi;
|
|
632
|
+
Pe.prototype.has = hi;
|
|
633
|
+
Pe.prototype.set = gi;
|
|
634
|
+
function Ai() {
|
|
635
635
|
this.__data__ = new Pe(), this.size = 0;
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function mi(n) {
|
|
638
638
|
var e = this.__data__, t = e.delete(n);
|
|
639
639
|
return this.size = e.size, t;
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function vi(n) {
|
|
642
642
|
return this.__data__.get(n);
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function yi(n) {
|
|
645
645
|
return this.__data__.has(n);
|
|
646
646
|
}
|
|
647
|
-
var Uo = typeof global == "object" && global && global.Object === Object && global,
|
|
648
|
-
function
|
|
649
|
-
var e =
|
|
647
|
+
var Uo = typeof global == "object" && global && global.Object === Object && global, _i = typeof self == "object" && self && self.Object === Object && self, Ce = Uo || _i || Function("return this")(), ze = Ce.Symbol, Fo = Object.prototype, wi = Fo.hasOwnProperty, bi = Fo.toString, nt = ze ? ze.toStringTag : void 0;
|
|
648
|
+
function Ci(n) {
|
|
649
|
+
var e = wi.call(n, nt), t = n[nt];
|
|
650
650
|
try {
|
|
651
651
|
n[nt] = void 0;
|
|
652
652
|
var o = !0;
|
|
653
653
|
} catch {
|
|
654
654
|
}
|
|
655
|
-
var r =
|
|
655
|
+
var r = bi.call(n);
|
|
656
656
|
return o && (e ? n[nt] = t : delete n[nt]), r;
|
|
657
657
|
}
|
|
658
|
-
var
|
|
659
|
-
function
|
|
660
|
-
return
|
|
658
|
+
var Ii = Object.prototype, Ei = Ii.toString;
|
|
659
|
+
function Si(n) {
|
|
660
|
+
return Ei.call(n);
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var Ti = "[object Null]", ki = "[object Undefined]", Nn = ze ? ze.toStringTag : void 0;
|
|
663
663
|
function ft(n) {
|
|
664
|
-
return n == null ? n === void 0 ?
|
|
664
|
+
return n == null ? n === void 0 ? ki : Ti : Nn && Nn in Object(n) ? Ci(n) : Si(n);
|
|
665
665
|
}
|
|
666
666
|
function ht(n) {
|
|
667
667
|
var e = typeof n;
|
|
668
668
|
return n != null && (e == "object" || e == "function");
|
|
669
669
|
}
|
|
670
|
-
var
|
|
670
|
+
var Pi = "[object AsyncFunction]", Bi = "[object Function]", Oi = "[object GeneratorFunction]", $i = "[object Proxy]";
|
|
671
671
|
function Wo(n) {
|
|
672
672
|
if (!ht(n))
|
|
673
673
|
return !1;
|
|
674
674
|
var e = ft(n);
|
|
675
|
-
return e ==
|
|
675
|
+
return e == Bi || e == Oi || e == Pi || e == $i;
|
|
676
676
|
}
|
|
677
677
|
var Qt = Ce["__core-js_shared__"], Un = function() {
|
|
678
678
|
var n = /[^.]+$/.exec(Qt && Qt.keys && Qt.keys.IE_PROTO || "");
|
|
679
679
|
return n ? "Symbol(src)_1." + n : "";
|
|
680
680
|
}();
|
|
681
|
-
function
|
|
681
|
+
function Di(n) {
|
|
682
682
|
return !!Un && Un in n;
|
|
683
683
|
}
|
|
684
|
-
var
|
|
685
|
-
function
|
|
684
|
+
var Li = Function.prototype, xi = Li.toString;
|
|
685
|
+
function Ue(n) {
|
|
686
686
|
if (n != null) {
|
|
687
687
|
try {
|
|
688
|
-
return
|
|
688
|
+
return xi.call(n);
|
|
689
689
|
} catch {
|
|
690
690
|
}
|
|
691
691
|
try {
|
|
@@ -695,48 +695,48 @@ function Ne(n) {
|
|
|
695
695
|
}
|
|
696
696
|
return "";
|
|
697
697
|
}
|
|
698
|
-
var
|
|
699
|
-
"^" +
|
|
698
|
+
var Mi = /[\\^$.*+?()[\]{}|]/g, Ri = /^\[object .+?Constructor\]$/, Qi = Function.prototype, ji = Object.prototype, Hi = Qi.toString, Ni = ji.hasOwnProperty, Ui = RegExp(
|
|
699
|
+
"^" + Hi.call(Ni).replace(Mi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
700
700
|
);
|
|
701
|
-
function
|
|
702
|
-
if (!ht(n) ||
|
|
701
|
+
function Fi(n) {
|
|
702
|
+
if (!ht(n) || Di(n))
|
|
703
703
|
return !1;
|
|
704
|
-
var e = Wo(n) ?
|
|
705
|
-
return e.test(
|
|
704
|
+
var e = Wo(n) ? Ui : Ri;
|
|
705
|
+
return e.test(Ue(n));
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function Wi(n, e) {
|
|
708
708
|
return n == null ? void 0 : n[e];
|
|
709
709
|
}
|
|
710
|
-
function
|
|
711
|
-
var t =
|
|
712
|
-
return
|
|
710
|
+
function Fe(n, e) {
|
|
711
|
+
var t = Wi(n, e);
|
|
712
|
+
return Fi(t) ? t : void 0;
|
|
713
713
|
}
|
|
714
|
-
var it =
|
|
715
|
-
function
|
|
714
|
+
var it = Fe(Ce, "Map"), at = Fe(Object, "create");
|
|
715
|
+
function Ji() {
|
|
716
716
|
this.__data__ = at ? at(null) : {}, this.size = 0;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Vi(n) {
|
|
719
719
|
var e = this.has(n) && delete this.__data__[n];
|
|
720
720
|
return this.size -= e ? 1 : 0, e;
|
|
721
721
|
}
|
|
722
|
-
var
|
|
723
|
-
function
|
|
722
|
+
var zi = "__lodash_hash_undefined__", qi = Object.prototype, Ki = qi.hasOwnProperty;
|
|
723
|
+
function Gi(n) {
|
|
724
724
|
var e = this.__data__;
|
|
725
725
|
if (at) {
|
|
726
726
|
var t = e[n];
|
|
727
|
-
return t ===
|
|
727
|
+
return t === zi ? void 0 : t;
|
|
728
728
|
}
|
|
729
|
-
return
|
|
729
|
+
return Ki.call(e, n) ? e[n] : void 0;
|
|
730
730
|
}
|
|
731
|
-
var
|
|
732
|
-
function
|
|
731
|
+
var Xi = Object.prototype, Zi = Xi.hasOwnProperty;
|
|
732
|
+
function Yi(n) {
|
|
733
733
|
var e = this.__data__;
|
|
734
|
-
return at ? e[n] !== void 0 :
|
|
734
|
+
return at ? e[n] !== void 0 : Zi.call(e, n);
|
|
735
735
|
}
|
|
736
|
-
var
|
|
737
|
-
function
|
|
736
|
+
var ea = "__lodash_hash_undefined__";
|
|
737
|
+
function ta(n, e) {
|
|
738
738
|
var t = this.__data__;
|
|
739
|
-
return this.size += this.has(n) ? 0 : 1, t[n] = at && e === void 0 ?
|
|
739
|
+
return this.size += this.has(n) ? 0 : 1, t[n] = at && e === void 0 ? ea : e, this;
|
|
740
740
|
}
|
|
741
741
|
function Re(n) {
|
|
742
742
|
var e = -1, t = n == null ? 0 : n.length;
|
|
@@ -745,37 +745,37 @@ function Re(n) {
|
|
|
745
745
|
this.set(o[0], o[1]);
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
Re.prototype.clear =
|
|
749
|
-
Re.prototype.delete =
|
|
750
|
-
Re.prototype.get =
|
|
751
|
-
Re.prototype.has =
|
|
752
|
-
Re.prototype.set =
|
|
753
|
-
function
|
|
748
|
+
Re.prototype.clear = Ji;
|
|
749
|
+
Re.prototype.delete = Vi;
|
|
750
|
+
Re.prototype.get = Gi;
|
|
751
|
+
Re.prototype.has = Yi;
|
|
752
|
+
Re.prototype.set = ta;
|
|
753
|
+
function na() {
|
|
754
754
|
this.size = 0, this.__data__ = {
|
|
755
755
|
hash: new Re(),
|
|
756
756
|
map: new (it || Pe)(),
|
|
757
757
|
string: new Re()
|
|
758
758
|
};
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function oa(n) {
|
|
761
761
|
var e = typeof n;
|
|
762
762
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? n !== "__proto__" : n === null;
|
|
763
763
|
}
|
|
764
764
|
function Ot(n, e) {
|
|
765
765
|
var t = n.__data__;
|
|
766
|
-
return
|
|
766
|
+
return oa(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function ra(n) {
|
|
769
769
|
var e = Ot(this, n).delete(n);
|
|
770
770
|
return this.size -= e ? 1 : 0, e;
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function sa(n) {
|
|
773
773
|
return Ot(this, n).get(n);
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function ia(n) {
|
|
776
776
|
return Ot(this, n).has(n);
|
|
777
777
|
}
|
|
778
|
-
function
|
|
778
|
+
function aa(n, e) {
|
|
779
779
|
var t = Ot(this, n), o = t.size;
|
|
780
780
|
return t.set(n, e), this.size += t.size == o ? 0 : 1, this;
|
|
781
781
|
}
|
|
@@ -786,17 +786,17 @@ function Ye(n) {
|
|
|
786
786
|
this.set(o[0], o[1]);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
Ye.prototype.clear =
|
|
790
|
-
Ye.prototype.delete =
|
|
791
|
-
Ye.prototype.get =
|
|
792
|
-
Ye.prototype.has =
|
|
793
|
-
Ye.prototype.set =
|
|
794
|
-
var
|
|
795
|
-
function
|
|
789
|
+
Ye.prototype.clear = na;
|
|
790
|
+
Ye.prototype.delete = ra;
|
|
791
|
+
Ye.prototype.get = sa;
|
|
792
|
+
Ye.prototype.has = ia;
|
|
793
|
+
Ye.prototype.set = aa;
|
|
794
|
+
var ca = 200;
|
|
795
|
+
function la(n, e) {
|
|
796
796
|
var t = this.__data__;
|
|
797
797
|
if (t instanceof Pe) {
|
|
798
798
|
var o = t.__data__;
|
|
799
|
-
if (!it || o.length <
|
|
799
|
+
if (!it || o.length < ca - 1)
|
|
800
800
|
return o.push([n, e]), this.size = ++t.size, this;
|
|
801
801
|
t = this.__data__ = new Ye(o);
|
|
802
802
|
}
|
|
@@ -806,19 +806,19 @@ function et(n) {
|
|
|
806
806
|
var e = this.__data__ = new Pe(n);
|
|
807
807
|
this.size = e.size;
|
|
808
808
|
}
|
|
809
|
-
et.prototype.clear =
|
|
810
|
-
et.prototype.delete =
|
|
811
|
-
et.prototype.get =
|
|
812
|
-
et.prototype.has =
|
|
813
|
-
et.prototype.set =
|
|
814
|
-
function
|
|
809
|
+
et.prototype.clear = Ai;
|
|
810
|
+
et.prototype.delete = mi;
|
|
811
|
+
et.prototype.get = vi;
|
|
812
|
+
et.prototype.has = yi;
|
|
813
|
+
et.prototype.set = la;
|
|
814
|
+
function ua(n, e) {
|
|
815
815
|
for (var t = -1, o = n == null ? 0 : n.length; ++t < o && e(n[t], t, n) !== !1; )
|
|
816
816
|
;
|
|
817
817
|
return n;
|
|
818
818
|
}
|
|
819
819
|
var Fn = function() {
|
|
820
820
|
try {
|
|
821
|
-
var n =
|
|
821
|
+
var n = Fe(Object, "defineProperty");
|
|
822
822
|
return n({}, "", {}), n;
|
|
823
823
|
} catch {
|
|
824
824
|
}
|
|
@@ -831,10 +831,10 @@ function Jo(n, e, t) {
|
|
|
831
831
|
writable: !0
|
|
832
832
|
}) : n[e] = t;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
834
|
+
var da = Object.prototype, pa = da.hasOwnProperty;
|
|
835
835
|
function Vo(n, e, t) {
|
|
836
836
|
var o = n[e];
|
|
837
|
-
(!(
|
|
837
|
+
(!(pa.call(n, e) && No(o, t)) || t === void 0 && !(e in n)) && Jo(n, e, t);
|
|
838
838
|
}
|
|
839
839
|
function $t(n, e, t, o) {
|
|
840
840
|
var r = !t;
|
|
@@ -845,7 +845,7 @@ function $t(n, e, t, o) {
|
|
|
845
845
|
}
|
|
846
846
|
return t;
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function fa(n, e) {
|
|
849
849
|
for (var t = -1, o = Array(n); ++t < n; )
|
|
850
850
|
o[t] = e(t);
|
|
851
851
|
return o;
|
|
@@ -853,31 +853,31 @@ function pa(n, e) {
|
|
|
853
853
|
function gt(n) {
|
|
854
854
|
return n != null && typeof n == "object";
|
|
855
855
|
}
|
|
856
|
-
var
|
|
856
|
+
var ha = "[object Arguments]";
|
|
857
857
|
function Wn(n) {
|
|
858
|
-
return gt(n) && ft(n) ==
|
|
858
|
+
return gt(n) && ft(n) == ha;
|
|
859
859
|
}
|
|
860
|
-
var zo = Object.prototype,
|
|
860
|
+
var zo = Object.prototype, ga = zo.hasOwnProperty, Aa = zo.propertyIsEnumerable, ma = Wn(/* @__PURE__ */ function() {
|
|
861
861
|
return arguments;
|
|
862
862
|
}()) ? Wn : function(n) {
|
|
863
|
-
return gt(n) &&
|
|
863
|
+
return gt(n) && ga.call(n, "callee") && !Aa.call(n, "callee");
|
|
864
864
|
}, fn = Array.isArray;
|
|
865
|
-
function
|
|
865
|
+
function va() {
|
|
866
866
|
return !1;
|
|
867
867
|
}
|
|
868
|
-
var qo = typeof exports == "object" && exports && !exports.nodeType && exports, Jn = qo && typeof module == "object" && module && !module.nodeType && module,
|
|
869
|
-
function
|
|
868
|
+
var qo = typeof exports == "object" && exports && !exports.nodeType && exports, Jn = qo && typeof module == "object" && module && !module.nodeType && module, ya = Jn && Jn.exports === qo, Vn = ya ? Ce.Buffer : void 0, _a = Vn ? Vn.isBuffer : void 0, Ko = _a || va, wa = 9007199254740991, ba = /^(?:0|[1-9]\d*)$/;
|
|
869
|
+
function Ca(n, e) {
|
|
870
870
|
var t = typeof n;
|
|
871
|
-
return e = e ??
|
|
871
|
+
return e = e ?? wa, !!e && (t == "number" || t != "symbol" && ba.test(n)) && n > -1 && n % 1 == 0 && n < e;
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var Ia = 9007199254740991;
|
|
874
874
|
function Go(n) {
|
|
875
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
875
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Ia;
|
|
876
876
|
}
|
|
877
|
-
var
|
|
878
|
-
z[
|
|
879
|
-
z[
|
|
880
|
-
function
|
|
877
|
+
var Ea = "[object Arguments]", Sa = "[object Array]", Ta = "[object Boolean]", ka = "[object Date]", Pa = "[object Error]", Ba = "[object Function]", Oa = "[object Map]", $a = "[object Number]", Da = "[object Object]", La = "[object RegExp]", xa = "[object Set]", Ma = "[object String]", Ra = "[object WeakMap]", Qa = "[object ArrayBuffer]", ja = "[object DataView]", Ha = "[object Float32Array]", Na = "[object Float64Array]", Ua = "[object Int8Array]", Fa = "[object Int16Array]", Wa = "[object Int32Array]", Ja = "[object Uint8Array]", Va = "[object Uint8ClampedArray]", za = "[object Uint16Array]", qa = "[object Uint32Array]", z = {};
|
|
878
|
+
z[Ha] = z[Na] = z[Ua] = z[Fa] = z[Wa] = z[Ja] = z[Va] = z[za] = z[qa] = !0;
|
|
879
|
+
z[Ea] = z[Sa] = z[Qa] = z[Ta] = z[ja] = z[ka] = z[Pa] = z[Ba] = z[Oa] = z[$a] = z[Da] = z[La] = z[xa] = z[Ma] = z[Ra] = !1;
|
|
880
|
+
function Ka(n) {
|
|
881
881
|
return gt(n) && Go(n.length) && !!z[ft(n)];
|
|
882
882
|
}
|
|
883
883
|
function hn(n) {
|
|
@@ -885,26 +885,26 @@ function hn(n) {
|
|
|
885
885
|
return n(e);
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
|
-
var Xo = typeof exports == "object" && exports && !exports.nodeType && exports, rt = Xo && typeof module == "object" && module && !module.nodeType && module,
|
|
888
|
+
var Xo = typeof exports == "object" && exports && !exports.nodeType && exports, rt = Xo && typeof module == "object" && module && !module.nodeType && module, Ga = rt && rt.exports === Xo, jt = Ga && Uo.process, qe = function() {
|
|
889
889
|
try {
|
|
890
890
|
var n = rt && rt.require && rt.require("util").types;
|
|
891
891
|
return n || jt && jt.binding && jt.binding("util");
|
|
892
892
|
} catch {
|
|
893
893
|
}
|
|
894
|
-
}(), zn =
|
|
894
|
+
}(), zn = qe && qe.isTypedArray, Xa = zn ? hn(zn) : Ka, Za = Object.prototype, Ya = Za.hasOwnProperty;
|
|
895
895
|
function Zo(n, e) {
|
|
896
|
-
var t = fn(n), o = !t &&
|
|
896
|
+
var t = fn(n), o = !t && ma(n), r = !t && !o && Ko(n), s = !t && !o && !r && Xa(n), i = t || o || r || s, l = i ? fa(n.length, String) : [], c = l.length;
|
|
897
897
|
for (var a in n)
|
|
898
|
-
(e ||
|
|
898
|
+
(e || Ya.call(n, a)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
899
899
|
(a == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
900
900
|
r && (a == "offset" || a == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
901
901
|
s && (a == "buffer" || a == "byteLength" || a == "byteOffset") || // Skip index properties.
|
|
902
|
-
|
|
902
|
+
Ca(a, c))) && l.push(a);
|
|
903
903
|
return l;
|
|
904
904
|
}
|
|
905
|
-
var
|
|
905
|
+
var ec = Object.prototype;
|
|
906
906
|
function gn(n) {
|
|
907
|
-
var e = n && n.constructor, t = typeof e == "function" && e.prototype ||
|
|
907
|
+
var e = n && n.constructor, t = typeof e == "function" && e.prototype || ec;
|
|
908
908
|
return n === t;
|
|
909
909
|
}
|
|
910
910
|
function Yo(n, e) {
|
|
@@ -912,60 +912,60 @@ function Yo(n, e) {
|
|
|
912
912
|
return n(e(t));
|
|
913
913
|
};
|
|
914
914
|
}
|
|
915
|
-
var
|
|
916
|
-
function
|
|
915
|
+
var tc = Yo(Object.keys, Object), nc = Object.prototype, oc = nc.hasOwnProperty;
|
|
916
|
+
function rc(n) {
|
|
917
917
|
if (!gn(n))
|
|
918
|
-
return
|
|
918
|
+
return tc(n);
|
|
919
919
|
var e = [];
|
|
920
920
|
for (var t in Object(n))
|
|
921
|
-
|
|
921
|
+
oc.call(n, t) && t != "constructor" && e.push(t);
|
|
922
922
|
return e;
|
|
923
923
|
}
|
|
924
924
|
function er(n) {
|
|
925
925
|
return n != null && Go(n.length) && !Wo(n);
|
|
926
926
|
}
|
|
927
927
|
function An(n) {
|
|
928
|
-
return er(n) ? Zo(n) :
|
|
928
|
+
return er(n) ? Zo(n) : rc(n);
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function sc(n, e) {
|
|
931
931
|
return n && $t(e, An(e), n);
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function ic(n) {
|
|
934
934
|
var e = [];
|
|
935
935
|
if (n != null)
|
|
936
936
|
for (var t in Object(n))
|
|
937
937
|
e.push(t);
|
|
938
938
|
return e;
|
|
939
939
|
}
|
|
940
|
-
var
|
|
941
|
-
function
|
|
940
|
+
var ac = Object.prototype, cc = ac.hasOwnProperty;
|
|
941
|
+
function lc(n) {
|
|
942
942
|
if (!ht(n))
|
|
943
|
-
return
|
|
943
|
+
return ic(n);
|
|
944
944
|
var e = gn(n), t = [];
|
|
945
945
|
for (var o in n)
|
|
946
|
-
o == "constructor" && (e || !
|
|
946
|
+
o == "constructor" && (e || !cc.call(n, o)) || t.push(o);
|
|
947
947
|
return t;
|
|
948
948
|
}
|
|
949
949
|
function mn(n) {
|
|
950
|
-
return er(n) ? Zo(n, !0) :
|
|
950
|
+
return er(n) ? Zo(n, !0) : lc(n);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function uc(n, e) {
|
|
953
953
|
return n && $t(e, mn(e), n);
|
|
954
954
|
}
|
|
955
|
-
var tr = typeof exports == "object" && exports && !exports.nodeType && exports, qn = tr && typeof module == "object" && module && !module.nodeType && module,
|
|
956
|
-
function
|
|
955
|
+
var tr = typeof exports == "object" && exports && !exports.nodeType && exports, qn = tr && typeof module == "object" && module && !module.nodeType && module, dc = qn && qn.exports === tr, Kn = dc ? Ce.Buffer : void 0, Gn = Kn ? Kn.allocUnsafe : void 0;
|
|
956
|
+
function pc(n, e) {
|
|
957
957
|
if (e)
|
|
958
958
|
return n.slice();
|
|
959
959
|
var t = n.length, o = Gn ? Gn(t) : new n.constructor(t);
|
|
960
960
|
return n.copy(o), o;
|
|
961
961
|
}
|
|
962
|
-
function
|
|
962
|
+
function fc(n, e) {
|
|
963
963
|
var t = -1, o = n.length;
|
|
964
964
|
for (e || (e = Array(o)); ++t < o; )
|
|
965
965
|
e[t] = n[t];
|
|
966
966
|
return e;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function hc(n, e) {
|
|
969
969
|
for (var t = -1, o = n == null ? 0 : n.length, r = 0, s = []; ++t < o; ) {
|
|
970
970
|
var i = n[t];
|
|
971
971
|
e(i, t, n) && (s[r++] = i);
|
|
@@ -975,12 +975,12 @@ function fc(n, e) {
|
|
|
975
975
|
function nr() {
|
|
976
976
|
return [];
|
|
977
977
|
}
|
|
978
|
-
var
|
|
979
|
-
return n == null ? [] : (n = Object(n),
|
|
980
|
-
return
|
|
978
|
+
var gc = Object.prototype, Ac = gc.propertyIsEnumerable, Xn = Object.getOwnPropertySymbols, vn = Xn ? function(n) {
|
|
979
|
+
return n == null ? [] : (n = Object(n), hc(Xn(n), function(e) {
|
|
980
|
+
return Ac.call(n, e);
|
|
981
981
|
}));
|
|
982
982
|
} : nr;
|
|
983
|
-
function
|
|
983
|
+
function mc(n, e) {
|
|
984
984
|
return $t(n, vn(n), e);
|
|
985
985
|
}
|
|
986
986
|
function or(n, e) {
|
|
@@ -988,81 +988,80 @@ function or(n, e) {
|
|
|
988
988
|
n[r + t] = e[t];
|
|
989
989
|
return n;
|
|
990
990
|
}
|
|
991
|
-
var rr = Yo(Object.getPrototypeOf, Object),
|
|
991
|
+
var rr = Yo(Object.getPrototypeOf, Object), vc = Object.getOwnPropertySymbols, sr = vc ? function(n) {
|
|
992
992
|
for (var e = []; n; )
|
|
993
993
|
or(e, vn(n)), n = rr(n);
|
|
994
994
|
return e;
|
|
995
995
|
} : nr;
|
|
996
|
-
function
|
|
996
|
+
function yc(n, e) {
|
|
997
997
|
return $t(n, sr(n), e);
|
|
998
998
|
}
|
|
999
999
|
function ir(n, e, t) {
|
|
1000
1000
|
var o = e(n);
|
|
1001
1001
|
return fn(n) ? o : or(o, t(n));
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function _c(n) {
|
|
1004
1004
|
return ir(n, An, vn);
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function wc(n) {
|
|
1007
1007
|
return ir(n, mn, sr);
|
|
1008
1008
|
}
|
|
1009
|
-
var qt =
|
|
1009
|
+
var qt = Fe(Ce, "DataView"), Kt = Fe(Ce, "Promise"), Gt = Fe(Ce, "Set"), Xt = Fe(Ce, "WeakMap"), Zn = "[object Map]", bc = "[object Object]", Yn = "[object Promise]", eo = "[object Set]", to = "[object WeakMap]", no = "[object DataView]", Cc = Ue(qt), Ic = Ue(it), Ec = Ue(Kt), Sc = Ue(Gt), Tc = Ue(Xt), Ie = ft;
|
|
1010
1010
|
(qt && Ie(new qt(new ArrayBuffer(1))) != no || it && Ie(new it()) != Zn || Kt && Ie(Kt.resolve()) != Yn || Gt && Ie(new Gt()) != eo || Xt && Ie(new Xt()) != to) && (Ie = function(n) {
|
|
1011
|
-
var e = ft(n), t = e ==
|
|
1011
|
+
var e = ft(n), t = e == bc ? n.constructor : void 0, o = t ? Ue(t) : "";
|
|
1012
1012
|
if (o)
|
|
1013
1013
|
switch (o) {
|
|
1014
|
-
case bc:
|
|
1015
|
-
return no;
|
|
1016
1014
|
case Cc:
|
|
1017
|
-
return
|
|
1015
|
+
return no;
|
|
1018
1016
|
case Ic:
|
|
1019
|
-
return
|
|
1017
|
+
return Zn;
|
|
1020
1018
|
case Ec:
|
|
1021
|
-
return
|
|
1019
|
+
return Yn;
|
|
1022
1020
|
case Sc:
|
|
1021
|
+
return eo;
|
|
1022
|
+
case Tc:
|
|
1023
1023
|
return to;
|
|
1024
1024
|
}
|
|
1025
1025
|
return e;
|
|
1026
1026
|
});
|
|
1027
|
-
var
|
|
1028
|
-
function
|
|
1027
|
+
var kc = Object.prototype, Pc = kc.hasOwnProperty;
|
|
1028
|
+
function Bc(n) {
|
|
1029
1029
|
var e = n.length, t = new n.constructor(e);
|
|
1030
|
-
return e && typeof n[0] == "string" &&
|
|
1030
|
+
return e && typeof n[0] == "string" && Pc.call(n, "index") && (t.index = n.index, t.input = n.input), t;
|
|
1031
1031
|
}
|
|
1032
1032
|
var oo = Ce.Uint8Array;
|
|
1033
1033
|
function yn(n) {
|
|
1034
1034
|
var e = new n.constructor(n.byteLength);
|
|
1035
1035
|
return new oo(e).set(new oo(n)), e;
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function Oc(n, e) {
|
|
1038
1038
|
var t = e ? yn(n.buffer) : n.buffer;
|
|
1039
1039
|
return new n.constructor(t, n.byteOffset, n.byteLength);
|
|
1040
1040
|
}
|
|
1041
|
-
var
|
|
1042
|
-
function
|
|
1043
|
-
var e = new n.constructor(n.source,
|
|
1041
|
+
var $c = /\w*$/;
|
|
1042
|
+
function Dc(n) {
|
|
1043
|
+
var e = new n.constructor(n.source, $c.exec(n));
|
|
1044
1044
|
return e.lastIndex = n.lastIndex, e;
|
|
1045
1045
|
}
|
|
1046
|
-
var ro =
|
|
1047
|
-
function
|
|
1046
|
+
var ro = ze ? ze.prototype : void 0, so = ro ? ro.valueOf : void 0;
|
|
1047
|
+
function Lc(n) {
|
|
1048
1048
|
return so ? Object(so.call(n)) : {};
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function xc(n, e) {
|
|
1051
1051
|
var t = e ? yn(n.buffer) : n.buffer;
|
|
1052
1052
|
return new n.constructor(t, n.byteOffset, n.length);
|
|
1053
1053
|
}
|
|
1054
|
-
var
|
|
1055
|
-
function
|
|
1054
|
+
var Mc = "[object Boolean]", Rc = "[object Date]", Qc = "[object Map]", jc = "[object Number]", Hc = "[object RegExp]", Nc = "[object Set]", Uc = "[object String]", Fc = "[object Symbol]", Wc = "[object ArrayBuffer]", Jc = "[object DataView]", Vc = "[object Float32Array]", zc = "[object Float64Array]", qc = "[object Int8Array]", Kc = "[object Int16Array]", Gc = "[object Int32Array]", Xc = "[object Uint8Array]", Zc = "[object Uint8ClampedArray]", Yc = "[object Uint16Array]", el = "[object Uint32Array]";
|
|
1055
|
+
function tl(n, e, t) {
|
|
1056
1056
|
var o = n.constructor;
|
|
1057
1057
|
switch (e) {
|
|
1058
|
-
case
|
|
1058
|
+
case Wc:
|
|
1059
1059
|
return yn(n);
|
|
1060
|
-
case xc:
|
|
1061
1060
|
case Mc:
|
|
1061
|
+
case Rc:
|
|
1062
1062
|
return new o(+n);
|
|
1063
|
-
case Wc:
|
|
1064
|
-
return Bc(n, t);
|
|
1065
1063
|
case Jc:
|
|
1064
|
+
return Oc(n, t);
|
|
1066
1065
|
case Vc:
|
|
1067
1066
|
case zc:
|
|
1068
1067
|
case qc:
|
|
@@ -1071,21 +1070,22 @@ function el(n, e, t) {
|
|
|
1071
1070
|
case Xc:
|
|
1072
1071
|
case Zc:
|
|
1073
1072
|
case Yc:
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
return new o();
|
|
1073
|
+
case el:
|
|
1074
|
+
return xc(n, t);
|
|
1077
1075
|
case Qc:
|
|
1078
|
-
case Nc:
|
|
1079
|
-
return new o(n);
|
|
1080
|
-
case jc:
|
|
1081
|
-
return $c(n);
|
|
1082
|
-
case Hc:
|
|
1083
1076
|
return new o();
|
|
1077
|
+
case jc:
|
|
1084
1078
|
case Uc:
|
|
1079
|
+
return new o(n);
|
|
1080
|
+
case Hc:
|
|
1085
1081
|
return Dc(n);
|
|
1082
|
+
case Nc:
|
|
1083
|
+
return new o();
|
|
1084
|
+
case Fc:
|
|
1085
|
+
return Lc(n);
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
var io = Object.create,
|
|
1088
|
+
var io = Object.create, nl = /* @__PURE__ */ function() {
|
|
1089
1089
|
function n() {
|
|
1090
1090
|
}
|
|
1091
1091
|
return function(e) {
|
|
@@ -1098,60 +1098,60 @@ var io = Object.create, tl = /* @__PURE__ */ function() {
|
|
|
1098
1098
|
return n.prototype = void 0, t;
|
|
1099
1099
|
};
|
|
1100
1100
|
}();
|
|
1101
|
-
function
|
|
1102
|
-
return typeof n.constructor == "function" && !gn(n) ?
|
|
1101
|
+
function ol(n) {
|
|
1102
|
+
return typeof n.constructor == "function" && !gn(n) ? nl(rr(n)) : {};
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1106
|
-
return gt(n) && Ie(n) ==
|
|
1104
|
+
var rl = "[object Map]";
|
|
1105
|
+
function sl(n) {
|
|
1106
|
+
return gt(n) && Ie(n) == rl;
|
|
1107
1107
|
}
|
|
1108
|
-
var ao =
|
|
1109
|
-
function
|
|
1110
|
-
return gt(n) && Ie(n) ==
|
|
1108
|
+
var ao = qe && qe.isMap, il = ao ? hn(ao) : sl, al = "[object Set]";
|
|
1109
|
+
function cl(n) {
|
|
1110
|
+
return gt(n) && Ie(n) == al;
|
|
1111
1111
|
}
|
|
1112
|
-
var co =
|
|
1113
|
-
J[ar] = J[
|
|
1114
|
-
J[
|
|
1112
|
+
var co = qe && qe.isSet, ll = co ? hn(co) : cl, ul = 1, dl = 2, pl = 4, ar = "[object Arguments]", fl = "[object Array]", hl = "[object Boolean]", gl = "[object Date]", Al = "[object Error]", cr = "[object Function]", ml = "[object GeneratorFunction]", vl = "[object Map]", yl = "[object Number]", lr = "[object Object]", _l = "[object RegExp]", wl = "[object Set]", bl = "[object String]", Cl = "[object Symbol]", Il = "[object WeakMap]", El = "[object ArrayBuffer]", Sl = "[object DataView]", Tl = "[object Float32Array]", kl = "[object Float64Array]", Pl = "[object Int8Array]", Bl = "[object Int16Array]", Ol = "[object Int32Array]", $l = "[object Uint8Array]", Dl = "[object Uint8ClampedArray]", Ll = "[object Uint16Array]", xl = "[object Uint32Array]", J = {};
|
|
1113
|
+
J[ar] = J[fl] = J[El] = J[Sl] = J[hl] = J[gl] = J[Tl] = J[kl] = J[Pl] = J[Bl] = J[Ol] = J[vl] = J[yl] = J[lr] = J[_l] = J[wl] = J[bl] = J[Cl] = J[$l] = J[Dl] = J[Ll] = J[xl] = !0;
|
|
1114
|
+
J[Al] = J[cr] = J[Il] = !1;
|
|
1115
1115
|
function _t(n, e, t, o, r, s) {
|
|
1116
|
-
var i, l = e &
|
|
1116
|
+
var i, l = e & ul, c = e & dl, a = e & pl;
|
|
1117
1117
|
if (i !== void 0)
|
|
1118
1118
|
return i;
|
|
1119
1119
|
if (!ht(n))
|
|
1120
1120
|
return n;
|
|
1121
1121
|
var u = fn(n);
|
|
1122
1122
|
if (u) {
|
|
1123
|
-
if (i =
|
|
1124
|
-
return
|
|
1123
|
+
if (i = Bc(n), !l)
|
|
1124
|
+
return fc(n, i);
|
|
1125
1125
|
} else {
|
|
1126
|
-
var m = Ie(n), p = m == cr || m ==
|
|
1126
|
+
var m = Ie(n), p = m == cr || m == ml;
|
|
1127
1127
|
if (Ko(n))
|
|
1128
|
-
return
|
|
1128
|
+
return pc(n, l);
|
|
1129
1129
|
if (m == lr || m == ar || p && !r) {
|
|
1130
|
-
if (i = c || p ? {} :
|
|
1131
|
-
return c ?
|
|
1130
|
+
if (i = c || p ? {} : ol(n), !l)
|
|
1131
|
+
return c ? yc(n, uc(i, n)) : mc(n, sc(i, n));
|
|
1132
1132
|
} else {
|
|
1133
1133
|
if (!J[m])
|
|
1134
1134
|
return r ? n : {};
|
|
1135
|
-
i =
|
|
1135
|
+
i = tl(n, m, l);
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
s || (s = new et());
|
|
1139
1139
|
var g = s.get(n);
|
|
1140
1140
|
if (g)
|
|
1141
1141
|
return g;
|
|
1142
|
-
s.set(n, i),
|
|
1142
|
+
s.set(n, i), ll(n) ? n.forEach(function(f) {
|
|
1143
1143
|
i.add(_t(f, e, t, f, n, s));
|
|
1144
|
-
}) :
|
|
1144
|
+
}) : il(n) && n.forEach(function(f, d) {
|
|
1145
1145
|
i.set(d, _t(f, e, t, d, n, s));
|
|
1146
1146
|
});
|
|
1147
|
-
var S = a ? c ?
|
|
1148
|
-
return
|
|
1147
|
+
var S = a ? c ? wc : _c : c ? mn : An, w = u ? void 0 : S(n);
|
|
1148
|
+
return ua(w || n, function(f, d) {
|
|
1149
1149
|
w && (d = f, f = n[d]), Vo(i, d, _t(f, e, t, d, n, s));
|
|
1150
1150
|
}), i;
|
|
1151
1151
|
}
|
|
1152
|
-
var
|
|
1153
|
-
function
|
|
1154
|
-
return _t(n,
|
|
1152
|
+
var Ml = 1, Rl = 4;
|
|
1153
|
+
function Ke(n) {
|
|
1154
|
+
return _t(n, Ml | Rl);
|
|
1155
1155
|
}
|
|
1156
1156
|
const Et = (n, e = "") => {
|
|
1157
1157
|
for (let t of n)
|
|
@@ -1172,7 +1172,7 @@ const Et = (n, e = "") => {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
1174
1174
|
return null;
|
|
1175
|
-
},
|
|
1175
|
+
}, Ql = (n, e) => {
|
|
1176
1176
|
let t;
|
|
1177
1177
|
const o = n.findIndex((i) => i.code === e);
|
|
1178
1178
|
if (o === -1) return { index: o, target: t };
|
|
@@ -1180,19 +1180,19 @@ const Et = (n, e = "") => {
|
|
|
1180
1180
|
return s.length && (t = s[0]), t || r.length && (t = r[r.length - 1]), { index: o, target: t };
|
|
1181
1181
|
}, Zt = (n) => {
|
|
1182
1182
|
const e = W().subAppList ?? [];
|
|
1183
|
-
let { index: t, target: o } =
|
|
1183
|
+
let { index: t, target: o } = Ql(e, n);
|
|
1184
1184
|
return e.splice(t, 1), e.length ? ge([{ key: "subAppList", value: e }]) : pn(), ue([
|
|
1185
1185
|
{ key: "currentCode", value: "" },
|
|
1186
1186
|
{ key: "currentTab", value: {} },
|
|
1187
1187
|
{ key: `preTab:${n}`, value: {} },
|
|
1188
1188
|
{ key: `tabMap:${n}`, value: [] }
|
|
1189
1189
|
]), o || (o = { fixed: !0, path: Se }), { currentApp: o };
|
|
1190
|
-
},
|
|
1190
|
+
}, jl = (n, e) => {
|
|
1191
1191
|
const t = n.findIndex((s) => s.code === e), o = n.slice(0, t), r = n.slice(t + 1);
|
|
1192
1192
|
return { left: o, right: r };
|
|
1193
|
-
},
|
|
1193
|
+
}, Hl = (n, e, t) => {
|
|
1194
1194
|
var m;
|
|
1195
|
-
const o = _e(e).filter((p) => p.routeUrl).filter((p) => !(p != null && p.disable) && !(p != null && p.expired)), s = (((m = le()) == null ? void 0 : m.tabMap) ?? {})[n] ?? [], { left: i, right: l } =
|
|
1195
|
+
const o = _e(e).filter((p) => p.routeUrl).filter((p) => !(p != null && p.disable) && !(p != null && p.expired)), s = (((m = le()) == null ? void 0 : m.tabMap) ?? {})[n] ?? [], { left: i, right: l } = jl(s, t), c = s.filter((p) => o.find((g) => g.code === p.code));
|
|
1196
1196
|
if (!i.length && !l.length || !c.length)
|
|
1197
1197
|
return ue([
|
|
1198
1198
|
{ key: "currentCode", value: "" },
|
|
@@ -1228,21 +1228,21 @@ const Et = (n, e = "") => {
|
|
|
1228
1228
|
{ key: `tabMap:${n}`, value: [] }
|
|
1229
1229
|
]), Zt(n));
|
|
1230
1230
|
}, _n = async (n) => {
|
|
1231
|
-
const [e, t] = await
|
|
1231
|
+
const [e, t] = await ii().run({
|
|
1232
1232
|
code: n,
|
|
1233
1233
|
showBtn: !0,
|
|
1234
1234
|
userType: 1
|
|
1235
1235
|
});
|
|
1236
1236
|
if (e || !t || !t.length) return { menus: [], originalMenus: [], err: e };
|
|
1237
|
-
|
|
1237
|
+
Ws(t, n);
|
|
1238
1238
|
const o = _e(t);
|
|
1239
|
-
|
|
1240
|
-
let r =
|
|
1241
|
-
const s =
|
|
1239
|
+
Vs(o, n), qs(o, n);
|
|
1240
|
+
let r = Ur(t, (i) => i.isMenu);
|
|
1241
|
+
const s = Ke(r);
|
|
1242
1242
|
return r.forEach((i) => {
|
|
1243
|
-
i != null && i.children && i.children.length && (i.originalChildren =
|
|
1243
|
+
i != null && i.children && i.children.length && (i.originalChildren = Ke(i.children)), (i != null && i.expired || i != null && i.disable) && (i.children = []);
|
|
1244
1244
|
}), { menus: r, originalMenus: s };
|
|
1245
|
-
},
|
|
1245
|
+
}, Nl = async (n) => {
|
|
1246
1246
|
var p, g, S, w;
|
|
1247
1247
|
let { microApp: e = null, menuCode: t = "", menuPath: o = "", route: r = {} } = n;
|
|
1248
1248
|
const s = ((p = r.meta) == null ? void 0 : p.showLayout) ?? !0;
|
|
@@ -1259,13 +1259,13 @@ const Et = (n, e = "") => {
|
|
|
1259
1259
|
if (!c.length && (!s || !i))
|
|
1260
1260
|
return { menuConfig: [], currentApp: null, currentMenu: null, query: null };
|
|
1261
1261
|
if (e.routeUrl === "iot/iot") {
|
|
1262
|
-
const { instanceInfo: f } = await
|
|
1262
|
+
const { instanceInfo: f } = await ci();
|
|
1263
1263
|
if (f) {
|
|
1264
1264
|
let d = !1;
|
|
1265
1265
|
c.forEach((_) => {
|
|
1266
1266
|
_.routeUrl === "/deviceInstance" && (_.fixed = !0, _.divise = !0, _.menuCode = _.code, _.tagName = _.tabName = "实例", _.name = f.instanceName, _.leftIcon = "change2", _.rightIcon = "change2");
|
|
1267
1267
|
});
|
|
1268
|
-
const v =
|
|
1268
|
+
const v = Fr(f.endTime) || f.endTime == 0 || f.endTime === 253370736e6 || f.endTime === "253370736000000" ? "-" : Number(f.endTime);
|
|
1269
1269
|
if (d = Vt().endOf("day") > Vt(v).endOf("day"), !t && !o && f.id && !d) {
|
|
1270
1270
|
const h = _e(c).find((T) => T.routeUrl === "/statisticalReport");
|
|
1271
1271
|
h && (t = h.code);
|
|
@@ -1305,7 +1305,7 @@ const Et = (n, e = "") => {
|
|
|
1305
1305
|
if (!m) {
|
|
1306
1306
|
if (!s || !i)
|
|
1307
1307
|
return { menuConfig: c, currentApp: null, currentMenu: null, query: { ...r.query, app: l } };
|
|
1308
|
-
const f =
|
|
1308
|
+
const f = Hl(e.code, c, t);
|
|
1309
1309
|
f != null && f.currentApp && (e = f.currentApp), f != null && f.currentMenu && (m = f.currentMenu), f != null && f.currentTab && (r.query = ((w = f.currentTab) == null ? void 0 : w.query) ?? {});
|
|
1310
1310
|
}
|
|
1311
1311
|
if ((e == null ? void 0 : e.routeUrl) === Se)
|
|
@@ -1354,16 +1354,16 @@ const Et = (n, e = "") => {
|
|
|
1354
1354
|
return { menuConfig: c, currentApp: e, currentMenu: m, query: v, microPath: d };
|
|
1355
1355
|
}
|
|
1356
1356
|
return { menuConfig: c, currentApp: e, currentMenu: null, query: { ...r.query, app: l } };
|
|
1357
|
-
},
|
|
1357
|
+
}, Ul = $e.get("/appcategory"), lo = E([]), uo = E(!1), ur = async () => {
|
|
1358
1358
|
uo.value = !0;
|
|
1359
|
-
const [n, e] = await
|
|
1359
|
+
const [n, e] = await Ul().run({ userType: 1 });
|
|
1360
1360
|
return uo.value = !1, n ? (lo.value = [], { navConfig: [] }) : (lo.value = e, ge([{ key: "appcategorys", value: e }]), { navConfig: e });
|
|
1361
|
-
},
|
|
1361
|
+
}, Fl = "v1", Wl = on.get("/organization/authProjectTree"), Jl = He(`/api/customer/customer/${Fl}`), Vl = Jl.get("/project/list"), zl = async () => {
|
|
1362
1362
|
var o, r;
|
|
1363
1363
|
const n = tn();
|
|
1364
1364
|
let e = [], t = null;
|
|
1365
1365
|
if ((n == null ? void 0 : n.flag) === 4) {
|
|
1366
|
-
const [s, i] = await
|
|
1366
|
+
const [s, i] = await Vl().run();
|
|
1367
1367
|
if (e = i, e && e.length) {
|
|
1368
1368
|
const l = ((o = ke()) == null ? void 0 : o.id) || 0;
|
|
1369
1369
|
if (l && (t = e.find((c) => c.id === l)), !l || !t) {
|
|
@@ -1372,26 +1372,26 @@ const Et = (n, e = "") => {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
} else {
|
|
1375
|
-
const [s, i] = await
|
|
1375
|
+
const [s, i] = await Wl().run();
|
|
1376
1376
|
if (e = i, e && e.length) {
|
|
1377
1377
|
const l = ((r = ke()) == null ? void 0 : r.id) || 0;
|
|
1378
1378
|
l && (t = Bn(e, (c) => c.id === l)), (!l || !t) && (t = Bn(e, (c) => c.type === 7));
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
1381
|
return Ro(t || { id: 0 }), So((t == null ? void 0 : t.id) || 0), { projectConfig: e, currentProject: t };
|
|
1382
|
-
},
|
|
1383
|
-
const [n, e] = await ql().run();
|
|
1384
|
-
return n ? { loginConfig: null } : { loginConfig: e };
|
|
1385
|
-
}, eu = async () => {
|
|
1382
|
+
}, ql = "v1", Kl = rn.get("/visitor/login/with-default", (n) => (n.public = !0, n)), Gl = rn.get("/visitor/appearance/with-default", (n) => (n.public = !0, n)), Xl = He(`/api/portal/manager/${ql}`), Zl = Xl.get("/basics/home/info"), Yl = $e.get("/menu/personal-setting"), eu = async () => {
|
|
1386
1383
|
const [n, e] = await Kl().run();
|
|
1384
|
+
return n ? { loginConfig: null } : { loginConfig: e };
|
|
1385
|
+
}, tu = async () => {
|
|
1386
|
+
const [n, e] = await Gl().run();
|
|
1387
1387
|
return n ? { platformConfig: null } : { platformConfig: e };
|
|
1388
|
-
}, dr = E(null),
|
|
1389
|
-
const [n, e] = await Xl().run();
|
|
1390
|
-
return n ? { homeConfig: null } : (e && (Hs(e), dr.value = e), { homeConfig: e });
|
|
1391
|
-
}, St = E(1), pr = async () => {
|
|
1388
|
+
}, dr = E(null), nu = async () => {
|
|
1392
1389
|
const [n, e] = await Zl().run();
|
|
1390
|
+
return n ? { homeConfig: null } : (e && (Ns(e), dr.value = e), { homeConfig: e });
|
|
1391
|
+
}, St = E(1), pr = async () => {
|
|
1392
|
+
const [n, e] = await Yl().run();
|
|
1393
1393
|
return n ? { personalMenuConfig: null } : (St.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
|
|
1394
|
-
},
|
|
1394
|
+
}, ou = $e.post("/menu/personal-setting"), ru = { class: "preson-style-drawer" }, su = { class: "preson-style-container" }, iu = { class: "title" }, au = { class: "content" }, cu = { class: "item-content" }, lu = ["src"], uu = { class: "item-content" }, du = ["src"], pu = { class: "preson-style-footer" }, fu = /* @__PURE__ */ pe({
|
|
1395
1395
|
__name: "index",
|
|
1396
1396
|
setup(n, { expose: e }) {
|
|
1397
1397
|
const t = E(!1), o = E(!1), r = E(!1), s = E(!1), i = () => {
|
|
@@ -1399,14 +1399,14 @@ const Et = (n, e = "") => {
|
|
|
1399
1399
|
}, l = (a) => {
|
|
1400
1400
|
a === 1 ? r.value = !1 : o.value = !1;
|
|
1401
1401
|
}, c = async () => {
|
|
1402
|
-
const [a] = await
|
|
1402
|
+
const [a] = await ou().run({ style: o.value ? 1 : 2 });
|
|
1403
1403
|
a || (await pr(), t.value = !1);
|
|
1404
1404
|
};
|
|
1405
1405
|
return e({
|
|
1406
1406
|
/** 打开弹窗 */
|
|
1407
1407
|
openDialog: i
|
|
1408
|
-
}), (a, u) => (H(), de("div",
|
|
1409
|
-
R(y(
|
|
1408
|
+
}), (a, u) => (H(), de("div", ru, [
|
|
1409
|
+
R(y(us), {
|
|
1410
1410
|
title: y(Q)("主题设置").value,
|
|
1411
1411
|
modelValue: t.value,
|
|
1412
1412
|
"onUpdate:modelValue": u[5] || (u[5] = (m) => t.value = m),
|
|
@@ -1414,14 +1414,14 @@ const Et = (n, e = "") => {
|
|
|
1414
1414
|
direction: "rtl"
|
|
1415
1415
|
}, {
|
|
1416
1416
|
footer: M(() => [
|
|
1417
|
-
x("div",
|
|
1417
|
+
x("div", pu, [
|
|
1418
1418
|
R(y(Oe), {
|
|
1419
1419
|
size: "middle",
|
|
1420
1420
|
onClick: u[4] || (u[4] = (m) => t.value = !1),
|
|
1421
1421
|
style: { "margin-right": "12px" }
|
|
1422
1422
|
}, {
|
|
1423
1423
|
default: M(() => u[6] || (u[6] = [
|
|
1424
|
-
|
|
1424
|
+
fe("取消")
|
|
1425
1425
|
])),
|
|
1426
1426
|
_: 1
|
|
1427
1427
|
/* STABLE */
|
|
@@ -1433,7 +1433,7 @@ const Et = (n, e = "") => {
|
|
|
1433
1433
|
onClick: c
|
|
1434
1434
|
}, {
|
|
1435
1435
|
default: M(() => u[7] || (u[7] = [
|
|
1436
|
-
|
|
1436
|
+
fe("确定")
|
|
1437
1437
|
])),
|
|
1438
1438
|
_: 1
|
|
1439
1439
|
/* STABLE */
|
|
@@ -1441,29 +1441,29 @@ const Et = (n, e = "") => {
|
|
|
1441
1441
|
])
|
|
1442
1442
|
]),
|
|
1443
1443
|
default: M(() => [
|
|
1444
|
-
x("div",
|
|
1444
|
+
x("div", su, [
|
|
1445
1445
|
x(
|
|
1446
1446
|
"p",
|
|
1447
|
-
|
|
1447
|
+
iu,
|
|
1448
1448
|
X(y(Q)("侧边菜单栏").value),
|
|
1449
1449
|
1
|
|
1450
1450
|
/* TEXT */
|
|
1451
1451
|
),
|
|
1452
|
-
x("div",
|
|
1453
|
-
x("div",
|
|
1452
|
+
x("div", au, [
|
|
1453
|
+
x("div", cu, [
|
|
1454
1454
|
x("img", {
|
|
1455
|
-
src: y(
|
|
1455
|
+
src: y(Rs),
|
|
1456
1456
|
alt: "",
|
|
1457
1457
|
width: "180",
|
|
1458
1458
|
height: "120"
|
|
1459
|
-
}, null, 8,
|
|
1459
|
+
}, null, 8, lu),
|
|
1460
1460
|
R(y(On), {
|
|
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
1465
|
default: M(() => [
|
|
1466
|
-
|
|
1466
|
+
fe(
|
|
1467
1467
|
X(y(Q)("弹出式菜单栏").value),
|
|
1468
1468
|
1
|
|
1469
1469
|
/* TEXT */
|
|
@@ -1473,20 +1473,20 @@ const Et = (n, e = "") => {
|
|
|
1473
1473
|
/* STABLE */
|
|
1474
1474
|
}, 8, ["modelValue"])
|
|
1475
1475
|
]),
|
|
1476
|
-
x("div",
|
|
1476
|
+
x("div", uu, [
|
|
1477
1477
|
x("img", {
|
|
1478
|
-
src: y(
|
|
1478
|
+
src: y(Qs),
|
|
1479
1479
|
alt: "",
|
|
1480
1480
|
width: "180",
|
|
1481
1481
|
height: "120"
|
|
1482
|
-
}, null, 8,
|
|
1482
|
+
}, null, 8, du),
|
|
1483
1483
|
R(y(On), {
|
|
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
1488
|
default: M(() => [
|
|
1489
|
-
|
|
1489
|
+
fe(
|
|
1490
1490
|
X(y(Q)("内嵌式菜单栏").value),
|
|
1491
1491
|
1
|
|
1492
1492
|
/* TEXT */
|
|
@@ -1504,7 +1504,7 @@ const Et = (n, e = "") => {
|
|
|
1504
1504
|
}, 8, ["title", "modelValue"])
|
|
1505
1505
|
]));
|
|
1506
1506
|
}
|
|
1507
|
-
}),
|
|
1507
|
+
}), hu = /* @__PURE__ */ be(fu, [["__scopeId", "data-v-760eb710"]]), gu = () => E(null), Au = { class: "iframe-container" }, mu = ["src"], vu = /* @__PURE__ */ pe({
|
|
1508
1508
|
__name: "index",
|
|
1509
1509
|
props: {
|
|
1510
1510
|
src: { default: "" }
|
|
@@ -1525,7 +1525,7 @@ const Et = (n, e = "") => {
|
|
|
1525
1525
|
};
|
|
1526
1526
|
return ut(() => {
|
|
1527
1527
|
o.value = !1;
|
|
1528
|
-
}), (i, l) => (H(), de("div",
|
|
1528
|
+
}), (i, l) => (H(), de("div", Au, [
|
|
1529
1529
|
i.src ? (H(), V(y(cn), {
|
|
1530
1530
|
key: 0,
|
|
1531
1531
|
spinning: !o.value
|
|
@@ -1539,7 +1539,7 @@ const Et = (n, e = "") => {
|
|
|
1539
1539
|
height: "100%",
|
|
1540
1540
|
src: i.src,
|
|
1541
1541
|
onLoad: s
|
|
1542
|
-
}, null, 40,
|
|
1542
|
+
}, null, 40, mu), [
|
|
1543
1543
|
[Br, o.value]
|
|
1544
1544
|
])
|
|
1545
1545
|
]),
|
|
@@ -1548,27 +1548,27 @@ const Et = (n, e = "") => {
|
|
|
1548
1548
|
}, 8, ["spinning"])) : U("v-if", !0)
|
|
1549
1549
|
]));
|
|
1550
1550
|
}
|
|
1551
|
-
}), Yt = /* @__PURE__ */ be(
|
|
1551
|
+
}), Yt = /* @__PURE__ */ be(vu, [["__scopeId", "data-v-ed99a1f3"]]), yu = nn.get("/login/history"), _u = () => {
|
|
1552
1552
|
const n = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((c) => new RegExp(`^${c}$`, "i").test(location.pathname)), e = (i) => {
|
|
1553
1553
|
const { browserLogoImgHost: l = "", browserLogoImg: c = "" } = i || {}, a = c ? l + en(c) : "";
|
|
1554
|
-
|
|
1554
|
+
Us(a), Wr(a);
|
|
1555
1555
|
}, t = async () => {
|
|
1556
|
-
const [i, l] = await
|
|
1556
|
+
const [i, l] = await yu().run({ userId: Eo().id });
|
|
1557
1557
|
i || !l || JSON.stringify(l) === "{}" || (bt.open({
|
|
1558
1558
|
key: "loginTip",
|
|
1559
1559
|
message: "上次登录信息",
|
|
1560
1560
|
placement: "bottomRight",
|
|
1561
|
-
description:
|
|
1562
|
-
|
|
1561
|
+
description: se("div", { class: "last-login-info" }, [
|
|
1562
|
+
se(
|
|
1563
1563
|
"div",
|
|
1564
1564
|
{ style: "font-size: 12px;color:#212121;margin-bottom:8px" },
|
|
1565
|
-
"时间:" +
|
|
1565
|
+
"时间:" + Jr(l.lastModificationTime)
|
|
1566
1566
|
),
|
|
1567
|
-
|
|
1567
|
+
se("div", { style: "font-size: 12px;color:#212121;" }, "IP地址:" + l.ip)
|
|
1568
1568
|
])
|
|
1569
1569
|
}), sessionStorage.setItem("loginInfoTip", "true"));
|
|
1570
1570
|
}, o = async () => {
|
|
1571
|
-
const [{ loginConfig: i }, { platformConfig: l }] = await Promise.all([
|
|
1571
|
+
const [{ loginConfig: i }, { platformConfig: l }] = await Promise.all([eu(), tu()]);
|
|
1572
1572
|
e(l), B.nav.setLogo((l == null ? void 0 : l.platformLogoImg) ?? ""), !n() && i != null && i.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && t();
|
|
1573
1573
|
}, r = E(!1), s = () => new Promise((i) => {
|
|
1574
1574
|
const l = () => {
|
|
@@ -1577,18 +1577,18 @@ const Et = (n, e = "") => {
|
|
|
1577
1577
|
};
|
|
1578
1578
|
l();
|
|
1579
1579
|
});
|
|
1580
|
-
return
|
|
1580
|
+
return je(async () => {
|
|
1581
1581
|
if (await o(), n()) return;
|
|
1582
|
-
await
|
|
1582
|
+
await ri(), await oi();
|
|
1583
1583
|
const i = kt();
|
|
1584
1584
|
To({ accessToken: i }), r.value = !0;
|
|
1585
1585
|
}), {
|
|
1586
1586
|
platformInited: r,
|
|
1587
1587
|
initNextTick: s
|
|
1588
1588
|
};
|
|
1589
|
-
},
|
|
1590
|
-
const e = Xe(), t = sn(), { getMenu: o } =
|
|
1591
|
-
|
|
1589
|
+
}, wu = (n) => {
|
|
1590
|
+
const e = Xe(), t = sn(), { getMenu: o } = Gr(), { getHistoryList: r, getSearchList: s } = Ru(), i = E(!0), l = E([]), c = E([]), a = E(!1), u = E(!1);
|
|
1591
|
+
re(
|
|
1592
1592
|
() => t.path,
|
|
1593
1593
|
(S) => {
|
|
1594
1594
|
a.value = S === ot;
|
|
@@ -1596,7 +1596,7 @@ const Et = (n, e = "") => {
|
|
|
1596
1596
|
{
|
|
1597
1597
|
immediate: !0
|
|
1598
1598
|
}
|
|
1599
|
-
),
|
|
1599
|
+
), re(
|
|
1600
1600
|
() => [a.value, u.value],
|
|
1601
1601
|
() => {
|
|
1602
1602
|
B.nav.setConfig({
|
|
@@ -1612,7 +1612,7 @@ const Et = (n, e = "") => {
|
|
|
1612
1612
|
);
|
|
1613
1613
|
const m = async () => {
|
|
1614
1614
|
let S = {};
|
|
1615
|
-
return await
|
|
1615
|
+
return await Vr([si, zl, nu, ur, pr]).then((f) => Object.assign(S, ...f)), i.value = !1, S;
|
|
1616
1616
|
}, p = E(!1);
|
|
1617
1617
|
return B.nav.addEventListener("onBeforeMount", async () => {
|
|
1618
1618
|
var b;
|
|
@@ -1634,7 +1634,7 @@ const Et = (n, e = "") => {
|
|
|
1634
1634
|
filterFlatCondition: (C) => C.type === 7
|
|
1635
1635
|
}), B.nav.setProjects(f || []), d && B.nav.setActiveProject(d));
|
|
1636
1636
|
const T = dt() ?? {}, O = T != null && T.headPicture ? en(T.headPicture) : void 0;
|
|
1637
|
-
c.value = [...
|
|
1637
|
+
c.value = [...hs], d && d.id !== 0 ? await o("personCenter", "", "/userInfo") || (c.value = c.value.filter((P) => P.value !== "1")) : c.value = c.value.filter((C) => C.value !== "1"), B.nav.setUserInfo({ headPicture: O, commandList: c.value }), B.nav.setSearchConfig({
|
|
1638
1638
|
getHistoryList: r,
|
|
1639
1639
|
getSearchList: s
|
|
1640
1640
|
});
|
|
@@ -1654,8 +1654,8 @@ const Et = (n, e = "") => {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
w();
|
|
1656
1656
|
}) };
|
|
1657
|
-
},
|
|
1658
|
-
const [e, t] = await
|
|
1657
|
+
}, bu = an.get("/data/menu-expiration"), wn = async (n) => {
|
|
1658
|
+
const [e, t] = await bu().run();
|
|
1659
1659
|
if (e) return { title: "", content: "", decs: [] };
|
|
1660
1660
|
const o = (n == null ? void 0 : n.expired) ?? !1;
|
|
1661
1661
|
return {
|
|
@@ -1663,7 +1663,7 @@ const Et = (n, e = "") => {
|
|
|
1663
1663
|
content: o ? t.menuExpirationExpiredContent : t.menuExpirationRetrieveContent,
|
|
1664
1664
|
desc: t.menuExpirationExpiredInfo
|
|
1665
1665
|
};
|
|
1666
|
-
},
|
|
1666
|
+
}, Cu = () => {
|
|
1667
1667
|
const { entryMenu: n } = Dt();
|
|
1668
1668
|
B.menu.addEventListener("onItemClick", async (e) => {
|
|
1669
1669
|
ee.innerSet = !0;
|
|
@@ -1677,12 +1677,12 @@ const Et = (n, e = "") => {
|
|
|
1677
1677
|
n({ currentMenu: t });
|
|
1678
1678
|
}
|
|
1679
1679
|
});
|
|
1680
|
-
},
|
|
1680
|
+
}, Iu = () => {
|
|
1681
1681
|
const { changeApp: n, deleteApp: e, beforeEntryApp: t } = tt();
|
|
1682
1682
|
B.nav.addEventListener("onItemClick", async (r) => {
|
|
1683
1683
|
const s = W().currentSubAppCode ?? "";
|
|
1684
1684
|
if (s !== r.code) {
|
|
1685
|
-
if (s &&
|
|
1685
|
+
if (s && Xs(s), !r.fixed && !await t(r))
|
|
1686
1686
|
throw new Error("取消切换");
|
|
1687
1687
|
n(r);
|
|
1688
1688
|
}
|
|
@@ -1695,17 +1695,17 @@ const Et = (n, e = "") => {
|
|
|
1695
1695
|
});
|
|
1696
1696
|
const { enter: o } = pt();
|
|
1697
1697
|
return B.nav.addEventListener("fullScreenHandle", o), {};
|
|
1698
|
-
},
|
|
1698
|
+
}, Eu = () => {
|
|
1699
1699
|
const n = Xe(), e = "#666666", t = "#FAFAFA", o = "#D9D9D9", r = E(e), s = E(t), i = E(o);
|
|
1700
1700
|
let l = "", c = {};
|
|
1701
|
-
|
|
1701
|
+
re(
|
|
1702
1702
|
() => n.currentRoute.value,
|
|
1703
1703
|
async (d) => {
|
|
1704
1704
|
var L, b, C, P, D, N, F;
|
|
1705
1705
|
const v = ((L = d.meta) == null ? void 0 : L.showLayout) ?? !0;
|
|
1706
1706
|
let _ = ((b = d.query) == null ? void 0 : b.showLayout) ?? !0;
|
|
1707
1707
|
if (_ === "false" && (_ = !1), !v || !_ || d.path === l && Ft(d.query, c)) return;
|
|
1708
|
-
l =
|
|
1708
|
+
l = Ke(d.path), c = Ke(d.query);
|
|
1709
1709
|
const h = W().currentSubAppCode ?? "";
|
|
1710
1710
|
if (!h) return;
|
|
1711
1711
|
const T = ((C = d.query) == null ? void 0 : C.menu) ?? ((P = le()) == null ? void 0 : P.currentCode) ?? "";
|
|
@@ -1729,7 +1729,7 @@ const Et = (n, e = "") => {
|
|
|
1729
1729
|
if (T === -1) return;
|
|
1730
1730
|
const O = () => {
|
|
1731
1731
|
var F;
|
|
1732
|
-
let N = (((F = W().appcategorys) == null ? void 0 : F.map((
|
|
1732
|
+
let N = (((F = W().appcategorys) == null ? void 0 : F.map((ae) => ae.apps).flat()) ?? []).find((ae) => ae.code === v);
|
|
1733
1733
|
N = { ...N, value: N.code, label: N.name }, a(N), B.nav.removeItem(v);
|
|
1734
1734
|
};
|
|
1735
1735
|
({
|
|
@@ -1749,8 +1749,8 @@ const Et = (n, e = "") => {
|
|
|
1749
1749
|
path: `/${N.applicationPath}${N.path}`.replace(/\/\//g, "/"),
|
|
1750
1750
|
query: N.query
|
|
1751
1751
|
}), B.menu.setActiveItem(N.menuId), B.tab.setActiveItem(N.code);
|
|
1752
|
-
const F = h.filter((
|
|
1753
|
-
F.forEach((
|
|
1752
|
+
const F = h.filter((ae) => ae.code !== D.value);
|
|
1753
|
+
F.forEach((ae) => B.tab.removeItem(ae.code)), S(F), ue([{ key: `tabMap:${v}`, value: [N] }]), g(N);
|
|
1754
1754
|
},
|
|
1755
1755
|
right: async (D) => {
|
|
1756
1756
|
const N = _.currentCode;
|
|
@@ -1759,7 +1759,7 @@ const Et = (n, e = "") => {
|
|
|
1759
1759
|
g(Be);
|
|
1760
1760
|
}
|
|
1761
1761
|
const F = h.slice(T + 1);
|
|
1762
|
-
F.forEach((
|
|
1762
|
+
F.forEach((ae) => B.tab.removeItem(ae.code)), S(F), h.splice(T + 1), ue([{ key: `tabMap:${v}`, value: h }]);
|
|
1763
1763
|
}
|
|
1764
1764
|
})[d.type](d.data);
|
|
1765
1765
|
};
|
|
@@ -1797,7 +1797,7 @@ const Et = (n, e = "") => {
|
|
|
1797
1797
|
});
|
|
1798
1798
|
const { enter: f } = pt();
|
|
1799
1799
|
return B.tab.addEventListener("onToggleFullScreen", f), { fontColor: r, backgroudColor: s, borderColor: i };
|
|
1800
|
-
}, Ht =
|
|
1800
|
+
}, Ht = Ne(), po = (Ht == null ? void 0 : Ht.isAutoCloseApp) ?? !0, fo = location.href.includes("showLayout=false"), ho = window.self !== window.top, Su = () => {
|
|
1801
1801
|
const n = () => {
|
|
1802
1802
|
B.nav.setItems([]), B.menu.setItems([]), B.tab.setItems([]), Ho();
|
|
1803
1803
|
};
|
|
@@ -1820,7 +1820,7 @@ const Et = (n, e = "") => {
|
|
|
1820
1820
|
});
|
|
1821
1821
|
}, tt = () => {
|
|
1822
1822
|
const n = Xe(), { entryMenu: e } = Dt(), { unloadRoute: t } = fr();
|
|
1823
|
-
let { mainAppName: o = "", microAppName: r = "", microApps: s = [] } =
|
|
1823
|
+
let { mainAppName: o = "", microAppName: r = "", microApps: s = [] } = Ne();
|
|
1824
1824
|
!o && r && (s = [{ name: r }]);
|
|
1825
1825
|
const i = s.map((p) => p.name), l = () => {
|
|
1826
1826
|
B.menu.setItems([]), B.menu.setActiveItem(""), B.tab.setItems([]), B.tab.setActiveItem("");
|
|
@@ -1837,7 +1837,7 @@ const Et = (n, e = "") => {
|
|
|
1837
1837
|
const _ = { ...p, menus: f, originalMenus: d };
|
|
1838
1838
|
return ge([{ key: "subAppList", value: _ }]), !0;
|
|
1839
1839
|
}, a = async (p) => {
|
|
1840
|
-
var N, F,
|
|
1840
|
+
var N, F, ae, Be, At;
|
|
1841
1841
|
const { microApp: g = null, menuCode: S = "", menuPath: w = "", route: f = {} } = p;
|
|
1842
1842
|
let d = f;
|
|
1843
1843
|
if (!g && w) {
|
|
@@ -1851,7 +1851,7 @@ const Et = (n, e = "") => {
|
|
|
1851
1851
|
const h = (g == null ? void 0 : g.openType) ?? 1, T = (g == null ? void 0 : g.type) ?? 1;
|
|
1852
1852
|
if (g.routeUrl && !i.includes(g.routeUrl)) {
|
|
1853
1853
|
l();
|
|
1854
|
-
const oe = ((
|
|
1854
|
+
const oe = ((ae = W()) == null ? void 0 : ae.subAppList) ?? [];
|
|
1855
1855
|
if ((oe == null ? void 0 : oe.find((ne) => ne.code === g.code)) || oe == null || oe.push(g), ge([
|
|
1856
1856
|
{ key: "currentSubApp", value: g },
|
|
1857
1857
|
{ key: "currentSubAppCode", value: g.code },
|
|
@@ -1865,15 +1865,15 @@ const Et = (n, e = "") => {
|
|
|
1865
1865
|
}
|
|
1866
1866
|
if (h === 1 && T === 2) {
|
|
1867
1867
|
const ne = zt(Wt(Jt(g.routeUrl))), Ae = `${Te}-${g.code}`;
|
|
1868
|
-
if (!n.options.routes.find((
|
|
1869
|
-
const
|
|
1868
|
+
if (!n.options.routes.find((We) => We.path === Ae)) {
|
|
1869
|
+
const We = {
|
|
1870
1870
|
path: Ae,
|
|
1871
|
-
component:
|
|
1871
|
+
component: se(Yt, {
|
|
1872
1872
|
src: ne
|
|
1873
1873
|
}),
|
|
1874
1874
|
meta: { isIframe: !0, keepAlive: !0 }
|
|
1875
1875
|
};
|
|
1876
|
-
n.addRoute(
|
|
1876
|
+
n.addRoute(We), n.options.routes.push(We);
|
|
1877
1877
|
}
|
|
1878
1878
|
await n.push({
|
|
1879
1879
|
path: Ae,
|
|
@@ -1891,7 +1891,7 @@ const Et = (n, e = "") => {
|
|
|
1891
1891
|
currentMenu: b = null,
|
|
1892
1892
|
microPath: C = "",
|
|
1893
1893
|
query: P = {}
|
|
1894
|
-
} = await
|
|
1894
|
+
} = await Nl({ microApp: g, menuCode: S, menuPath: w, route: d });
|
|
1895
1895
|
if (b && (d = {
|
|
1896
1896
|
path: C || `/${b.applicationPath}${b.routeUrl}`.replace(/\/\//g, "/"),
|
|
1897
1897
|
query: { ...P, app: b.applicationCode, menu: b.code },
|
|
@@ -1980,7 +1980,7 @@ const Et = (n, e = "") => {
|
|
|
1980
1980
|
};
|
|
1981
1981
|
}, Dt = () => {
|
|
1982
1982
|
const n = Xe();
|
|
1983
|
-
let { mainAppName: e = "", microAppName: t = "", microApps: o = [] } =
|
|
1983
|
+
let { mainAppName: e = "", microAppName: t = "", microApps: o = [] } = Ne();
|
|
1984
1984
|
return !e && t && (o = [{ name: t }]), o.map((s) => s.name), { entryMenu: async (s) => {
|
|
1985
1985
|
var w;
|
|
1986
1986
|
const { currentMenu: i, route: l = {}, microPath: c = "" } = s;
|
|
@@ -1991,12 +1991,12 @@ const Et = (n, e = "") => {
|
|
|
1991
1991
|
if (u === 1)
|
|
1992
1992
|
if (m === 1)
|
|
1993
1993
|
if (i.routeUrl.startsWith(Te)) {
|
|
1994
|
-
const f =
|
|
1994
|
+
const f = zr(i.routeUrl, "iframeSrc");
|
|
1995
1995
|
if (p = `${Te}-${i.code}`, !n.options.routes.find((d) => d.path === p)) {
|
|
1996
1996
|
const d = {
|
|
1997
1997
|
path: p,
|
|
1998
1998
|
name: p,
|
|
1999
|
-
component:
|
|
1999
|
+
component: se(Yt, {
|
|
2000
2000
|
src: f
|
|
2001
2001
|
}),
|
|
2002
2002
|
meta: { isIframe: !0, keepAlive: !0 }
|
|
@@ -2011,7 +2011,7 @@ const Et = (n, e = "") => {
|
|
|
2011
2011
|
const d = {
|
|
2012
2012
|
path: p,
|
|
2013
2013
|
name: p,
|
|
2014
|
-
component:
|
|
2014
|
+
component: se(Yt, {
|
|
2015
2015
|
src: f
|
|
2016
2016
|
}),
|
|
2017
2017
|
meta: { isIframe: !0, keepAlive: !0 }
|
|
@@ -2064,9 +2064,9 @@ const Et = (n, e = "") => {
|
|
|
2064
2064
|
]);
|
|
2065
2065
|
}
|
|
2066
2066
|
} };
|
|
2067
|
-
},
|
|
2067
|
+
}, Tu = (n, e, t) => {
|
|
2068
2068
|
const { entryApp: o } = tt(), r = Xe();
|
|
2069
|
-
let { mainAppName: s = "", microAppName: i = "", microApps: l = [] } =
|
|
2069
|
+
let { mainAppName: s = "", microAppName: i = "", microApps: l = [] } = Ne();
|
|
2070
2070
|
!s && i && (l = [{ name: i }]);
|
|
2071
2071
|
const c = async (m) => {
|
|
2072
2072
|
var h, T, O, L;
|
|
@@ -2157,11 +2157,11 @@ const Et = (n, e = "") => {
|
|
|
2157
2157
|
}
|
|
2158
2158
|
};
|
|
2159
2159
|
let a = "", u = {};
|
|
2160
|
-
|
|
2160
|
+
re(
|
|
2161
2161
|
() => r.currentRoute.value,
|
|
2162
2162
|
async (m) => {
|
|
2163
2163
|
if (!(m.path === a && Ft(m.query, u))) {
|
|
2164
|
-
if (a =
|
|
2164
|
+
if (a = Ke(m.path), u = Ke(m.query), await t(), ee.innerSet) {
|
|
2165
2165
|
ee.innerSet = !1;
|
|
2166
2166
|
return;
|
|
2167
2167
|
}
|
|
@@ -2177,8 +2177,8 @@ const Et = (n, e = "") => {
|
|
|
2177
2177
|
ee.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ee.excludeRoutes, ...t])), ee.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
2178
2178
|
ee.routeKeepAliveVisible = !0, ee.excludeRoutes = [];
|
|
2179
2179
|
}, 100);
|
|
2180
|
-
} }),
|
|
2181
|
-
const n =
|
|
2180
|
+
} }), ku = () => {
|
|
2181
|
+
const n = jr(), e = gu(), t = Ne(), o = async () => {
|
|
2182
2182
|
const i = {
|
|
2183
2183
|
logout: "/api/justauth/oauth-server/v1/visitor/logout"
|
|
2184
2184
|
}, l = `${location.origin}/`, c = {
|
|
@@ -2193,7 +2193,7 @@ const Et = (n, e = "") => {
|
|
|
2193
2193
|
};
|
|
2194
2194
|
t.ssoLocale && (c.locale = "locale");
|
|
2195
2195
|
const a = Object.keys(c).map((m) => `${m}=${c[m]}`).join("&"), u = `${t.baseURL}${i.logout}?${a}`;
|
|
2196
|
-
window.__isAutoCloseApp = !1, location.replace(u), sessionStorage.clear(),
|
|
2196
|
+
window.__isAutoCloseApp = !1, location.replace(u), sessionStorage.clear(), Yr(), localStorage.removeItem("idelTime");
|
|
2197
2197
|
}, { entryApp: r } = tt(), s = async () => {
|
|
2198
2198
|
const i = "personCenter", c = (W().appcategorys || []).map((g) => g.apps).flat(), { originalMenus: a = [] } = await _n(i), m = _e(a).filter((g) => g.isMenu && g.routeUrl).find((g) => g.routeUrl === "/userInfo");
|
|
2199
2199
|
if (m != null && m.disable || m != null && m.expired) {
|
|
@@ -2216,22 +2216,22 @@ const Et = (n, e = "") => {
|
|
|
2216
2216
|
$changePwd: n,
|
|
2217
2217
|
$personSetDialog: e
|
|
2218
2218
|
};
|
|
2219
|
-
},
|
|
2220
|
-
const n =
|
|
2219
|
+
}, Pu = ko.get("/convert/tenant"), Bu = nn.get("/platform/withdefault"), hr = () => {
|
|
2220
|
+
const n = Ne(), e = E(!1), t = E(""), o = E(""), r = () => {
|
|
2221
2221
|
t.value = dt().id, o.value = Eo().tenantId, e.value = !0;
|
|
2222
2222
|
};
|
|
2223
2223
|
B.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
2224
2224
|
r();
|
|
2225
2225
|
});
|
|
2226
2226
|
const s = () => {
|
|
2227
|
-
Ho(),
|
|
2227
|
+
Ho(), Fs(), window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`);
|
|
2228
2228
|
};
|
|
2229
2229
|
return {
|
|
2230
2230
|
changeEnterprisesVisible: e,
|
|
2231
2231
|
userId: t,
|
|
2232
2232
|
tenantId: o,
|
|
2233
2233
|
changeEnterprise: async (l) => {
|
|
2234
|
-
const [c, a] = await
|
|
2234
|
+
const [c, a] = await Pu().run({ tenant: l });
|
|
2235
2235
|
if (c) return;
|
|
2236
2236
|
e.value = !1;
|
|
2237
2237
|
const { access_token: u = "", refresh_token: m = "", expires_in: p = 0, sub: g = "", name: S = "", flag: w = "", tenant: f = "" } = a, d = {
|
|
@@ -2240,19 +2240,19 @@ const Et = (n, e = "") => {
|
|
|
2240
2240
|
refreshToken: m,
|
|
2241
2241
|
info: a
|
|
2242
2242
|
};
|
|
2243
|
-
|
|
2243
|
+
ts().save(d), To(d);
|
|
2244
2244
|
const v = {
|
|
2245
2245
|
id: g,
|
|
2246
2246
|
name: S,
|
|
2247
2247
|
flag: w,
|
|
2248
2248
|
tenantId: f
|
|
2249
2249
|
};
|
|
2250
|
-
sessionStorage.setItem("hotentUserInfo", JSON.stringify(v)),
|
|
2250
|
+
sessionStorage.setItem("hotentUserInfo", JSON.stringify(v)), ns(u);
|
|
2251
2251
|
let _ = "";
|
|
2252
2252
|
if (n != null && n.ssoLocale)
|
|
2253
2253
|
_ = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${l}`;
|
|
2254
2254
|
else {
|
|
2255
|
-
const [h, T] = await
|
|
2255
|
+
const [h, T] = await Bu().run();
|
|
2256
2256
|
T != null && T.loginHost && (_ = `${T.loginHost}/oauth/refreshOauthToken?tenantId=${l}`);
|
|
2257
2257
|
}
|
|
2258
2258
|
if (_) {
|
|
@@ -2262,7 +2262,7 @@ const Et = (n, e = "") => {
|
|
|
2262
2262
|
s();
|
|
2263
2263
|
}
|
|
2264
2264
|
};
|
|
2265
|
-
},
|
|
2265
|
+
}, Ou = () => {
|
|
2266
2266
|
const { changeEnterprise: n } = hr();
|
|
2267
2267
|
B.nav.addEventListener("onProjectChange", async (e) => {
|
|
2268
2268
|
const t = tn();
|
|
@@ -2272,12 +2272,12 @@ const Et = (n, e = "") => {
|
|
|
2272
2272
|
}
|
|
2273
2273
|
Ro(e || { id: 0 }), So((e == null ? void 0 : e.id) || 0), (t == null ? void 0 : t.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
2274
2274
|
});
|
|
2275
|
-
},
|
|
2275
|
+
}, $u = $e.get("/menu/search"), Du = $e.get("/searchhistory"), Lu = $e.post("/searchhistory"), xu = $e.delete("/searchhistory"), Mu = $e.delete("/searchhistory/deleteone"), Ru = () => {
|
|
2276
2276
|
const n = async () => {
|
|
2277
|
-
const [o, r] = await
|
|
2277
|
+
const [o, r] = await Du().run();
|
|
2278
2278
|
return o ? [] : r.map((s) => s.clickData).filter((s) => s.routeUrl);
|
|
2279
2279
|
}, e = async (o) => {
|
|
2280
|
-
const [r, s] = await
|
|
2280
|
+
const [r, s] = await $u().run({ name: o });
|
|
2281
2281
|
return r ? [] : s.filter((i) => i.routeUrl);
|
|
2282
2282
|
}, { entryApp: t } = tt();
|
|
2283
2283
|
return B.nav.addEventListener("searchToPage", async (o) => {
|
|
@@ -2287,15 +2287,15 @@ const Et = (n, e = "") => {
|
|
|
2287
2287
|
await st({ title: u, content: m, desc: p });
|
|
2288
2288
|
return;
|
|
2289
2289
|
}
|
|
2290
|
-
await
|
|
2290
|
+
await Lu().run({ searchVal: s, clickData: r });
|
|
2291
2291
|
const a = ((W().appcategorys ?? []).map((u) => u.apps).flat() ?? []).find((u) => u.code === r.applicationCode);
|
|
2292
2292
|
a && (t({ microApp: a, menuCode: r.code }), i());
|
|
2293
2293
|
}), B.nav.addEventListener("deleteSearchItem", async (o) => {
|
|
2294
2294
|
const { value: r, cb: s } = o;
|
|
2295
|
-
await
|
|
2295
|
+
await Mu().run({ id: r }), s();
|
|
2296
2296
|
}), B.nav.addEventListener("clearSearchList", async (o) => {
|
|
2297
2297
|
const { cb: r } = o;
|
|
2298
|
-
await
|
|
2298
|
+
await xu().run(), r();
|
|
2299
2299
|
}), {
|
|
2300
2300
|
getHistoryList: n,
|
|
2301
2301
|
getSearchList: e
|
|
@@ -2305,7 +2305,7 @@ const Et = (n, e = "") => {
|
|
|
2305
2305
|
innerSet: !1,
|
|
2306
2306
|
excludeRoutes: [],
|
|
2307
2307
|
routeKeepAliveVisible: !0
|
|
2308
|
-
}),
|
|
2308
|
+
}), Qu = () => {
|
|
2309
2309
|
ve.addEventListenerFromMicroApp("iot:change-instance", (n) => {
|
|
2310
2310
|
const e = W(), t = e.currentSubAppCode;
|
|
2311
2311
|
let o = Ct(t);
|
|
@@ -2326,26 +2326,26 @@ const Et = (n, e = "") => {
|
|
|
2326
2326
|
}
|
|
2327
2327
|
]);
|
|
2328
2328
|
});
|
|
2329
|
-
},
|
|
2329
|
+
}, ju = (n) => {
|
|
2330
2330
|
["personcenter", "rightmanage"].forEach((t) => {
|
|
2331
2331
|
ve.addEventListenerFromMicroApp(`${t}:change-userinfo`, (o) => {
|
|
2332
2332
|
const { userInfo: r } = o.data, s = r != null && r.headPicture ? en(r.headPicture) : void 0;
|
|
2333
2333
|
B.nav.setUserInfo({ headPicture: s, commandList: n.value }), sessionStorage.setItem("userInfo", JSON.stringify(r));
|
|
2334
2334
|
});
|
|
2335
2335
|
});
|
|
2336
|
-
},
|
|
2336
|
+
}, Hu = () => {
|
|
2337
2337
|
ve.addEventListenerFromMicroApp("devicePanelShow", (n) => {
|
|
2338
2338
|
const { deviceId: e = "", panelCode: t = "", deviceName: o = "", x: r = 0, y: s = 0, isCenter: i = !1 } = n.data;
|
|
2339
2339
|
Bo(e, t, o, r, s, i);
|
|
2340
2340
|
}), ve.addEventListenerFromMicroApp("closeDevicePanel", (n) => {
|
|
2341
|
-
|
|
2341
|
+
rs();
|
|
2342
2342
|
}), ve.addEventListenerFromMicroApp("alarmDevicePanelShow", (n) => {
|
|
2343
2343
|
const { deviceId: e = "", panelCode: t = "", alarmTime: o = "" } = n.data;
|
|
2344
|
-
|
|
2344
|
+
ss(e, t, o);
|
|
2345
2345
|
}), ve.addEventListenerFromMicroApp("closeAlarmPanel", (n) => {
|
|
2346
|
-
|
|
2346
|
+
is();
|
|
2347
2347
|
});
|
|
2348
|
-
},
|
|
2348
|
+
}, Nu = rn.get("/platform/login/pwd-advance-notify-check"), Uu = () => {
|
|
2349
2349
|
const n = E([]), e = E(null), t = E([]), { entryApp: o } = It.hooks.useEntryApp(), r = () => {
|
|
2350
2350
|
var c;
|
|
2351
2351
|
const l = (((c = W().appcategorys) == null ? void 0 : c.map((a) => a.apps).flat()) ?? []).find((a) => a.code === "messagecenter");
|
|
@@ -2355,29 +2355,29 @@ const Et = (n, e = "") => {
|
|
|
2355
2355
|
url: "/api/messagecenter/message/v1/innersend",
|
|
2356
2356
|
reconnectWhenClose: !0,
|
|
2357
2357
|
opened: async () => {
|
|
2358
|
-
await
|
|
2358
|
+
await Nu().run();
|
|
2359
2359
|
},
|
|
2360
2360
|
message: async (i) => {
|
|
2361
2361
|
if (ve.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message", { msgList: i }), window.self !== window.top) return;
|
|
2362
2362
|
const c = ke().id;
|
|
2363
2363
|
n.value = i.filter(
|
|
2364
2364
|
(a) => a.projectId === c || a.projectId === 0 || a.projectId === "0"
|
|
2365
|
-
), t.value && t.value.length && (t.value.forEach((a) => bt.close(a)), t.value = []), await
|
|
2365
|
+
), t.value && t.value.length && (t.value.forEach((a) => bt.close(a)), t.value = []), await Je(), n.value.forEach((a, u) => {
|
|
2366
2366
|
bt.info({
|
|
2367
2367
|
key: a.id,
|
|
2368
2368
|
class: "message-center-notify",
|
|
2369
2369
|
message: a.title,
|
|
2370
2370
|
top: "55px",
|
|
2371
|
-
description:
|
|
2371
|
+
description: se("div", {}, [
|
|
2372
2372
|
// 标题
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2373
|
+
se("div", { class: "custom-title" }, [
|
|
2374
|
+
se(De, { icon: "warning-face", width: 24, height: 24, iconColor: "#5582f3" }),
|
|
2375
|
+
se("div", { class: "title" }, a.title)
|
|
2376
2376
|
]),
|
|
2377
2377
|
// 内容
|
|
2378
|
-
|
|
2378
|
+
se("div", { class: "custom-content" }, a.content),
|
|
2379
2379
|
// 底部按钮
|
|
2380
|
-
a.title !== "密码更新提醒" ?
|
|
2380
|
+
a.title !== "密码更新提醒" ? se(
|
|
2381
2381
|
"div",
|
|
2382
2382
|
{
|
|
2383
2383
|
class: "footer-btn",
|
|
@@ -2393,13 +2393,13 @@ const Et = (n, e = "") => {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
});
|
|
2395
2395
|
};
|
|
2396
|
-
|
|
2396
|
+
je(async () => {
|
|
2397
2397
|
await Pt(), s();
|
|
2398
2398
|
}), ut(() => {
|
|
2399
2399
|
e.value && e.value.disconnect(), e.value = null;
|
|
2400
2400
|
});
|
|
2401
|
-
},
|
|
2402
|
-
function
|
|
2401
|
+
}, Fu = "v1", Wu = Ze(`/api/enterpriseright/permission/${Fu}`), gr = Ze("/api/device-relation/deviceproject/v1/project/device/video", Vu), Ju = an.get("/permissionset/user-portal-menu");
|
|
2402
|
+
function Vu(n) {
|
|
2403
2403
|
const e = ke() ? ke().id : 1;
|
|
2404
2404
|
return n.params || (n.params = {}), n.params.project = e, n.params.projectId = e, n;
|
|
2405
2405
|
}
|
|
@@ -2412,10 +2412,10 @@ function Ar(n) {
|
|
|
2412
2412
|
function go(n) {
|
|
2413
2413
|
return gr.post(`/ptz?${Ar(n)}`)().run();
|
|
2414
2414
|
}
|
|
2415
|
-
function
|
|
2415
|
+
function zu(n) {
|
|
2416
2416
|
return gr.post(`/url/preview?${Ar(n)}`)().run();
|
|
2417
2417
|
}
|
|
2418
|
-
const
|
|
2418
|
+
const qu = Wu.post("data/device-auth"), Ku = /* @__PURE__ */ pe({
|
|
2419
2419
|
__name: "GridItem",
|
|
2420
2420
|
props: {
|
|
2421
2421
|
active: { type: Boolean },
|
|
@@ -2427,7 +2427,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2427
2427
|
"23bfa220": a.value
|
|
2428
2428
|
}));
|
|
2429
2429
|
const t = n, o = e, r = E(), { toggle: s, isFullscreen: i } = pt(r), l = () => {
|
|
2430
|
-
r.value != document.fullscreenElement && (i.value ? (i.value = !1,
|
|
2430
|
+
r.value != document.fullscreenElement && (i.value ? (i.value = !1, Je(() => {
|
|
2431
2431
|
s();
|
|
2432
2432
|
})) : s());
|
|
2433
2433
|
}, c = () => {
|
|
@@ -2449,7 +2449,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2449
2449
|
/* CLASS, NEED_HYDRATION */
|
|
2450
2450
|
));
|
|
2451
2451
|
}
|
|
2452
|
-
}),
|
|
2452
|
+
}), Gu = /* @__PURE__ */ be(Ku, [["__scopeId", "data-v-68946aef"]]), Xu = { class: "layout-wrapper" }, Zu = /* @__PURE__ */ pe({
|
|
2453
2453
|
__name: "GridLayout",
|
|
2454
2454
|
props: {
|
|
2455
2455
|
gridNum: {},
|
|
@@ -2461,12 +2461,12 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2461
2461
|
const t = n, o = e, r = (s) => {
|
|
2462
2462
|
o("update:activeIndex", s);
|
|
2463
2463
|
};
|
|
2464
|
-
return (s, i) => (H(), de("div",
|
|
2464
|
+
return (s, i) => (H(), de("div", Xu, [
|
|
2465
2465
|
U(' :active="index === activeIndex" '),
|
|
2466
2466
|
(H(!0), de(
|
|
2467
|
-
|
|
2467
|
+
Ve,
|
|
2468
2468
|
null,
|
|
2469
|
-
Co(t.gridNum, (l, c) => (H(), V(
|
|
2469
|
+
Co(t.gridNum, (l, c) => (H(), V(Gu, {
|
|
2470
2470
|
active: !1,
|
|
2471
2471
|
"grid-num": t.gridNum,
|
|
2472
2472
|
onItemClick: (a) => r(c)
|
|
@@ -2485,7 +2485,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2485
2485
|
))
|
|
2486
2486
|
]));
|
|
2487
2487
|
}
|
|
2488
|
-
}),
|
|
2488
|
+
}), Yu = /* @__PURE__ */ be(Zu, [["__scopeId", "data-v-22baf4d8"]]), ed = /* @__PURE__ */ pe({
|
|
2489
2489
|
__name: "DirectionControl",
|
|
2490
2490
|
emits: ["change"],
|
|
2491
2491
|
setup(n, { emit: e }) {
|
|
@@ -2499,7 +2499,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2499
2499
|
onDblclick: s[9] || (s[9] = te((i) => i.stopPropagation(), ["stop"]))
|
|
2500
2500
|
},
|
|
2501
2501
|
[
|
|
2502
|
-
R(y(
|
|
2502
|
+
R(y(ce), { content: "左上" }, {
|
|
2503
2503
|
default: M(() => [
|
|
2504
2504
|
x("div", {
|
|
2505
2505
|
class: "icon icon-top-left",
|
|
@@ -2509,7 +2509,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2509
2509
|
_: 1
|
|
2510
2510
|
/* STABLE */
|
|
2511
2511
|
}),
|
|
2512
|
-
R(y(
|
|
2512
|
+
R(y(ce), { content: "上" }, {
|
|
2513
2513
|
default: M(() => [
|
|
2514
2514
|
x("div", {
|
|
2515
2515
|
class: "icon icon-top",
|
|
@@ -2519,7 +2519,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2519
2519
|
_: 1
|
|
2520
2520
|
/* STABLE */
|
|
2521
2521
|
}),
|
|
2522
|
-
R(y(
|
|
2522
|
+
R(y(ce), { content: "右上" }, {
|
|
2523
2523
|
default: M(() => [
|
|
2524
2524
|
x("div", {
|
|
2525
2525
|
class: "icon icon-top-right",
|
|
@@ -2529,7 +2529,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2529
2529
|
_: 1
|
|
2530
2530
|
/* STABLE */
|
|
2531
2531
|
}),
|
|
2532
|
-
R(y(
|
|
2532
|
+
R(y(ce), { content: "左" }, {
|
|
2533
2533
|
default: M(() => [
|
|
2534
2534
|
x("div", {
|
|
2535
2535
|
class: "icon icon-left",
|
|
@@ -2539,7 +2539,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2539
2539
|
_: 1
|
|
2540
2540
|
/* STABLE */
|
|
2541
2541
|
}),
|
|
2542
|
-
R(y(
|
|
2542
|
+
R(y(ce), { content: "自动" }, {
|
|
2543
2543
|
default: M(() => [
|
|
2544
2544
|
x("div", {
|
|
2545
2545
|
class: "icon icon-auto",
|
|
@@ -2549,7 +2549,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2549
2549
|
_: 1
|
|
2550
2550
|
/* STABLE */
|
|
2551
2551
|
}),
|
|
2552
|
-
R(y(
|
|
2552
|
+
R(y(ce), { content: "右" }, {
|
|
2553
2553
|
default: M(() => [
|
|
2554
2554
|
x("div", {
|
|
2555
2555
|
class: "icon icon-right",
|
|
@@ -2559,7 +2559,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2559
2559
|
_: 1
|
|
2560
2560
|
/* STABLE */
|
|
2561
2561
|
}),
|
|
2562
|
-
R(y(
|
|
2562
|
+
R(y(ce), { content: "左下" }, {
|
|
2563
2563
|
default: M(() => [
|
|
2564
2564
|
x("div", {
|
|
2565
2565
|
class: "icon icon-bottom-left",
|
|
@@ -2569,7 +2569,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2569
2569
|
_: 1
|
|
2570
2570
|
/* STABLE */
|
|
2571
2571
|
}),
|
|
2572
|
-
R(y(
|
|
2572
|
+
R(y(ce), { content: "下" }, {
|
|
2573
2573
|
default: M(() => [
|
|
2574
2574
|
x("div", {
|
|
2575
2575
|
class: "icon icon-bottom",
|
|
@@ -2579,7 +2579,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2579
2579
|
_: 1
|
|
2580
2580
|
/* STABLE */
|
|
2581
2581
|
}),
|
|
2582
|
-
R(y(
|
|
2582
|
+
R(y(ce), { content: "右下" }, {
|
|
2583
2583
|
default: M(() => [
|
|
2584
2584
|
x("div", {
|
|
2585
2585
|
class: "icon icon-bottom-right",
|
|
@@ -2594,10 +2594,10 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2594
2594
|
/* NEED_HYDRATION */
|
|
2595
2595
|
));
|
|
2596
2596
|
}
|
|
2597
|
-
}),
|
|
2597
|
+
}), td = /* @__PURE__ */ be(ed, [["__scopeId", "data-v-69100474"]]), nd = { class: "video-wrapper" }, od = { class: "video-top" }, rd = { class: "video-top_l" }, sd = { class: "video-title-wrapper" }, id = { class: "video-title" }, ad = { class: "video-top_r" }, cd = {
|
|
2598
2598
|
key: 0,
|
|
2599
2599
|
class: "play-status"
|
|
2600
|
-
},
|
|
2600
|
+
}, ld = { class: "video-bottom" }, ud = { class: "video-bottom_r" }, dd = /* @__PURE__ */ pe({
|
|
2601
2601
|
__name: "index",
|
|
2602
2602
|
props: {
|
|
2603
2603
|
videoUrl: {},
|
|
@@ -2646,28 +2646,28 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2646
2646
|
}, d = (_) => {
|
|
2647
2647
|
o("zoomControl", _);
|
|
2648
2648
|
}, v = (_) => t.authType.includes(_);
|
|
2649
|
-
return
|
|
2649
|
+
return re(
|
|
2650
2650
|
() => c.value,
|
|
2651
2651
|
() => {
|
|
2652
2652
|
c.value && c.value.addEventListener("ended", () => {
|
|
2653
2653
|
a.value = !0, t.type === "playback" && (u.value = !1);
|
|
2654
2654
|
});
|
|
2655
2655
|
}
|
|
2656
|
-
),
|
|
2656
|
+
), re(
|
|
2657
2657
|
() => c.value,
|
|
2658
2658
|
() => {
|
|
2659
|
-
c.value &&
|
|
2659
|
+
c.value && Je(() => {
|
|
2660
2660
|
c.value.playbackRate = t.playbackRate || 1;
|
|
2661
2661
|
});
|
|
2662
2662
|
}
|
|
2663
|
-
),
|
|
2663
|
+
), re(
|
|
2664
2664
|
() => s.value,
|
|
2665
2665
|
() => {
|
|
2666
|
-
s.value &&
|
|
2666
|
+
s.value && Je(() => {
|
|
2667
2667
|
s.value.muted = r.value;
|
|
2668
2668
|
});
|
|
2669
2669
|
}
|
|
2670
|
-
),
|
|
2670
|
+
), re(
|
|
2671
2671
|
() => t.playbackRate,
|
|
2672
2672
|
() => {
|
|
2673
2673
|
c.value && (c.value.playbackRate = t.playbackRate || 1);
|
|
@@ -2675,43 +2675,43 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2675
2675
|
{
|
|
2676
2676
|
immediate: !0
|
|
2677
2677
|
}
|
|
2678
|
-
),
|
|
2678
|
+
), re(
|
|
2679
2679
|
() => t.paused,
|
|
2680
2680
|
() => {
|
|
2681
2681
|
s.value && (t.paused ? s.value.pause() : s.value.play());
|
|
2682
2682
|
}
|
|
2683
|
-
),
|
|
2683
|
+
), re(
|
|
2684
2684
|
() => t.videoUrl,
|
|
2685
2685
|
() => {
|
|
2686
|
-
u.value = !1,
|
|
2686
|
+
u.value = !1, Je(() => {
|
|
2687
2687
|
u.value = !0;
|
|
2688
2688
|
});
|
|
2689
2689
|
}
|
|
2690
|
-
), (_, h) => (H(), de("div",
|
|
2690
|
+
), (_, h) => (H(), de("div", nd, [
|
|
2691
2691
|
R(y(cn), {
|
|
2692
2692
|
spinning: t.loading,
|
|
2693
2693
|
type: "component",
|
|
2694
2694
|
tip: "加载中..."
|
|
2695
2695
|
}, {
|
|
2696
2696
|
default: M(() => [
|
|
2697
|
-
x("div",
|
|
2698
|
-
x("div",
|
|
2699
|
-
x("div",
|
|
2697
|
+
x("div", od, [
|
|
2698
|
+
x("div", rd, [
|
|
2699
|
+
x("div", sd, [
|
|
2700
2700
|
x(
|
|
2701
2701
|
"div",
|
|
2702
|
-
|
|
2702
|
+
id,
|
|
2703
2703
|
X(t.title.length > 20 ? t.title.slice(0, 19) + "..." : t.title),
|
|
2704
2704
|
1
|
|
2705
2705
|
/* TEXT */
|
|
2706
2706
|
)
|
|
2707
2707
|
])
|
|
2708
2708
|
]),
|
|
2709
|
-
x("div",
|
|
2710
|
-
["live"].includes(_.type) ? (H(), de("span",
|
|
2709
|
+
x("div", ad, [
|
|
2710
|
+
["live"].includes(_.type) ? (H(), de("span", cd, "正在实时预览")) : U("v-if", !0),
|
|
2711
2711
|
U(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
2712
2712
|
])
|
|
2713
2713
|
]),
|
|
2714
|
-
t.videoUrl && u.value ? (H(), V(y(
|
|
2714
|
+
t.videoUrl && u.value ? (H(), V(y(cs), {
|
|
2715
2715
|
key: 0,
|
|
2716
2716
|
type: "flv",
|
|
2717
2717
|
ref_key: "dasLivePlayerRef",
|
|
@@ -2720,7 +2720,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2720
2720
|
onLoaded: m,
|
|
2721
2721
|
src: t.videoUrl
|
|
2722
2722
|
}, null, 8, ["muted", "src"])) : U("v-if", !0),
|
|
2723
|
-
x("div",
|
|
2723
|
+
x("div", ld, [
|
|
2724
2724
|
h[3] || (h[3] = x(
|
|
2725
2725
|
"div",
|
|
2726
2726
|
{ class: "video-bottom_l" },
|
|
@@ -2728,7 +2728,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2728
2728
|
-1
|
|
2729
2729
|
/* HOISTED */
|
|
2730
2730
|
)),
|
|
2731
|
-
x("div",
|
|
2731
|
+
x("div", ud, [
|
|
2732
2732
|
x(
|
|
2733
2733
|
"div",
|
|
2734
2734
|
{
|
|
@@ -2736,7 +2736,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2736
2736
|
onDblclick: h[2] || (h[2] = te((T) => T.stopPropagation(), ["stop"]))
|
|
2737
2737
|
},
|
|
2738
2738
|
[
|
|
2739
|
-
R(y(
|
|
2739
|
+
R(y(ce), { content: "声音" }, {
|
|
2740
2740
|
default: M(() => [
|
|
2741
2741
|
R(y(De), {
|
|
2742
2742
|
class: "icon icon-volume",
|
|
@@ -2747,7 +2747,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2747
2747
|
_: 1
|
|
2748
2748
|
/* STABLE */
|
|
2749
2749
|
}),
|
|
2750
|
-
R(y(
|
|
2750
|
+
R(y(ce), { content: "截图" }, {
|
|
2751
2751
|
default: M(() => [
|
|
2752
2752
|
R(y(De), {
|
|
2753
2753
|
class: "icon icon-screenshot",
|
|
@@ -2758,7 +2758,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2758
2758
|
_: 1
|
|
2759
2759
|
/* STABLE */
|
|
2760
2760
|
}),
|
|
2761
|
-
v("control") ? (H(), V(y(
|
|
2761
|
+
v("control") ? (H(), V(y(ce), {
|
|
2762
2762
|
key: 0,
|
|
2763
2763
|
content: "聚焦-"
|
|
2764
2764
|
}, {
|
|
@@ -2773,7 +2773,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2773
2773
|
_: 1
|
|
2774
2774
|
/* STABLE */
|
|
2775
2775
|
})) : U("v-if", !0),
|
|
2776
|
-
v("control") ? (H(), V(y(
|
|
2776
|
+
v("control") ? (H(), V(y(ce), {
|
|
2777
2777
|
key: 1,
|
|
2778
2778
|
content: "聚焦+"
|
|
2779
2779
|
}, {
|
|
@@ -2788,7 +2788,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2788
2788
|
_: 1
|
|
2789
2789
|
/* STABLE */
|
|
2790
2790
|
})) : U("v-if", !0),
|
|
2791
|
-
v("control") ? (H(), V(y(
|
|
2791
|
+
v("control") ? (H(), V(y(ce), {
|
|
2792
2792
|
key: 2,
|
|
2793
2793
|
content: "方向控制"
|
|
2794
2794
|
}, {
|
|
@@ -2809,7 +2809,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2809
2809
|
)
|
|
2810
2810
|
])
|
|
2811
2811
|
]),
|
|
2812
|
-
i.value ? (H(), V(
|
|
2812
|
+
i.value ? (H(), V(td, {
|
|
2813
2813
|
key: 1,
|
|
2814
2814
|
onChange: f
|
|
2815
2815
|
})) : U("v-if", !0)
|
|
@@ -2819,7 +2819,7 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2819
2819
|
}, 8, ["spinning"])
|
|
2820
2820
|
]));
|
|
2821
2821
|
}
|
|
2822
|
-
}),
|
|
2822
|
+
}), pd = /* @__PURE__ */ be(dd, [["__scopeId", "data-v-6c626546"]]), fd = /* @__PURE__ */ pe({
|
|
2823
2823
|
props: {
|
|
2824
2824
|
deviceInfo: {
|
|
2825
2825
|
type: Object,
|
|
@@ -2831,16 +2831,16 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2831
2831
|
}) {
|
|
2832
2832
|
const {
|
|
2833
2833
|
deviceInfo: t
|
|
2834
|
-
} =
|
|
2834
|
+
} = Dr(n), o = E(!1), r = E(""), s = async () => {
|
|
2835
2835
|
var u;
|
|
2836
2836
|
if (!((u = t.value) != null && u.deviceId)) return;
|
|
2837
2837
|
o.value = !0;
|
|
2838
|
-
const [c, a] = await
|
|
2838
|
+
const [c, a] = await zu({
|
|
2839
2839
|
productId: t.value.productId,
|
|
2840
2840
|
deviceId: t.value.deviceId,
|
|
2841
2841
|
source: "strategy"
|
|
2842
2842
|
});
|
|
2843
|
-
c || (r.value =
|
|
2843
|
+
c || (r.value = qr(a == null ? void 0 : a.wsFlvStreamURL)), o.value = !1;
|
|
2844
2844
|
}, i = (c) => {
|
|
2845
2845
|
go({
|
|
2846
2846
|
productId: t.value.productId,
|
|
@@ -2858,13 +2858,13 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2858
2858
|
source: "strategy"
|
|
2859
2859
|
});
|
|
2860
2860
|
};
|
|
2861
|
-
return
|
|
2861
|
+
return je(() => {
|
|
2862
2862
|
s();
|
|
2863
|
-
}),
|
|
2863
|
+
}), re(() => t.value, () => {
|
|
2864
2864
|
s();
|
|
2865
2865
|
}, {
|
|
2866
2866
|
deep: !0
|
|
2867
|
-
}), () => R(
|
|
2867
|
+
}), () => R(Ve, null, [e.default({
|
|
2868
2868
|
videoUrl: r.value,
|
|
2869
2869
|
loading: o.value,
|
|
2870
2870
|
onDirectionControl: i,
|
|
@@ -2872,13 +2872,13 @@ const zu = Fu.post("data/device-auth"), qu = /* @__PURE__ */ fe({
|
|
|
2872
2872
|
})]);
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
|
-
function
|
|
2876
|
-
const e =
|
|
2875
|
+
function hd(n) {
|
|
2876
|
+
const e = E(0), t = E(), {
|
|
2877
2877
|
toggle: o,
|
|
2878
2878
|
isFullscreen: r
|
|
2879
2879
|
} = pt(t);
|
|
2880
2880
|
return {
|
|
2881
|
-
render: () => R(
|
|
2881
|
+
render: () => R(Yu, {
|
|
2882
2882
|
ref: t,
|
|
2883
2883
|
gridNum: n.gridNum,
|
|
2884
2884
|
activeIndex: e.value,
|
|
@@ -2889,7 +2889,7 @@ function fd(n) {
|
|
|
2889
2889
|
index: i
|
|
2890
2890
|
}) => {
|
|
2891
2891
|
const l = n.deviceList[i];
|
|
2892
|
-
return R(
|
|
2892
|
+
return R(fd, {
|
|
2893
2893
|
deviceInfo: l
|
|
2894
2894
|
}, {
|
|
2895
2895
|
default: ({
|
|
@@ -2897,7 +2897,7 @@ function fd(n) {
|
|
|
2897
2897
|
onDirectionControl: a,
|
|
2898
2898
|
onZoomControl: u,
|
|
2899
2899
|
loading: m
|
|
2900
|
-
}) => R(
|
|
2900
|
+
}) => R(pd, {
|
|
2901
2901
|
type: "live",
|
|
2902
2902
|
loading: m,
|
|
2903
2903
|
videoUrl: c,
|
|
@@ -2912,7 +2912,7 @@ function fd(n) {
|
|
|
2912
2912
|
toggleFullscreen: o
|
|
2913
2913
|
};
|
|
2914
2914
|
}
|
|
2915
|
-
const
|
|
2915
|
+
const gd = /* @__PURE__ */ pe({
|
|
2916
2916
|
__name: "index",
|
|
2917
2917
|
props: {
|
|
2918
2918
|
deviceList: { default: () => [] },
|
|
@@ -2923,7 +2923,7 @@ const hd = /* @__PURE__ */ fe({
|
|
|
2923
2923
|
Oo({
|
|
2924
2924
|
fullscreen2: import("@das-fed/ui/packages/icons/fullscreen-2")
|
|
2925
2925
|
});
|
|
2926
|
-
const e = n, t = E(!0), { render: o, toggleFullscreen: r } =
|
|
2926
|
+
const e = n, t = E(!0), { render: o, toggleFullscreen: r } = hd(e), s = Ee(() => {
|
|
2927
2927
|
let i = {};
|
|
2928
2928
|
switch (e.gridNum) {
|
|
2929
2929
|
case 1:
|
|
@@ -2959,7 +2959,7 @@ const hd = /* @__PURE__ */ fe({
|
|
|
2959
2959
|
-1
|
|
2960
2960
|
/* HOISTED */
|
|
2961
2961
|
)),
|
|
2962
|
-
R(y(
|
|
2962
|
+
R(y(ce), { content: "页面全屏" }, {
|
|
2963
2963
|
default: M(() => [
|
|
2964
2964
|
R(y(De), {
|
|
2965
2965
|
class: "icon",
|
|
@@ -2979,23 +2979,23 @@ const hd = /* @__PURE__ */ fe({
|
|
|
2979
2979
|
/* STABLE */
|
|
2980
2980
|
}, 8, ["custom-class", "modelValue", "onClosed"]));
|
|
2981
2981
|
}
|
|
2982
|
-
}),
|
|
2982
|
+
}), Ad = (n) => {
|
|
2983
2983
|
const { gridNum: e = 4, deviceList: t = [] } = n;
|
|
2984
2984
|
return new Promise((o) => {
|
|
2985
2985
|
let r = document.body.querySelector("#video-dialog");
|
|
2986
2986
|
r || (r = document.createElement("div"), r.setAttribute("id", "video-dialog-container"), document.body.appendChild(r));
|
|
2987
|
-
const i =
|
|
2987
|
+
const i = se(gd, { gridNum: e, deviceList: t, closeCallback: () => {
|
|
2988
2988
|
wt(null, r), document.body.removeChild(r), o(null);
|
|
2989
2989
|
} });
|
|
2990
2990
|
wt(i, r);
|
|
2991
2991
|
});
|
|
2992
|
-
},
|
|
2992
|
+
}, md = () => {
|
|
2993
2993
|
const n = E(4), e = E([]), t = E(null), o = async (s) => {
|
|
2994
|
-
const [i, l] = await
|
|
2994
|
+
const [i, l] = await qu(s).run();
|
|
2995
2995
|
if (!i)
|
|
2996
2996
|
return l;
|
|
2997
2997
|
}, r = async () => {
|
|
2998
|
-
const s = ke().id, [i, l] = await
|
|
2998
|
+
const s = ke().id, [i, l] = await Ju().run({
|
|
2999
2999
|
code: "strategy",
|
|
3000
3000
|
showBtn: !1
|
|
3001
3001
|
});
|
|
@@ -3021,12 +3021,12 @@ const hd = /* @__PURE__ */ fe({
|
|
|
3021
3021
|
show: !!w
|
|
3022
3022
|
};
|
|
3023
3023
|
});
|
|
3024
|
-
e.value = g.filter((S) => !!S.show), (u = e.value) != null && u.length &&
|
|
3024
|
+
e.value = g.filter((S) => !!S.show), (u = e.value) != null && u.length && Ad({ gridNum: n.value, deviceList: e.value });
|
|
3025
3025
|
}
|
|
3026
3026
|
}
|
|
3027
3027
|
}));
|
|
3028
3028
|
};
|
|
3029
|
-
return
|
|
3029
|
+
return je(async () => {
|
|
3030
3030
|
await Pt(), r();
|
|
3031
3031
|
}), ut(() => {
|
|
3032
3032
|
t.value && t.value.disconnect(), t.value = null;
|
|
@@ -3068,7 +3068,7 @@ class ye extends Error {
|
|
|
3068
3068
|
super(e), this.__proto__ = t;
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
3071
|
-
class
|
|
3071
|
+
class vd extends Error {
|
|
3072
3072
|
/** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
|
|
3073
3073
|
*
|
|
3074
3074
|
* @param {string} message A descriptive error message.
|
|
@@ -3079,7 +3079,7 @@ class md extends Error {
|
|
|
3079
3079
|
super(e), this.transport = t, this.errorType = "UnsupportedTransportError", this.__proto__ = o;
|
|
3080
3080
|
}
|
|
3081
3081
|
}
|
|
3082
|
-
class
|
|
3082
|
+
class yd extends Error {
|
|
3083
3083
|
/** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
|
|
3084
3084
|
*
|
|
3085
3085
|
* @param {string} message A descriptive error message.
|
|
@@ -3090,7 +3090,7 @@ class vd extends Error {
|
|
|
3090
3090
|
super(e), this.transport = t, this.errorType = "DisabledTransportError", this.__proto__ = o;
|
|
3091
3091
|
}
|
|
3092
3092
|
}
|
|
3093
|
-
class
|
|
3093
|
+
class _d extends Error {
|
|
3094
3094
|
/** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
|
|
3095
3095
|
*
|
|
3096
3096
|
* @param {string} message A descriptive error message.
|
|
@@ -3111,7 +3111,7 @@ class Ao extends Error {
|
|
|
3111
3111
|
super(e), this.errorType = "FailedToNegotiateWithServerError", this.__proto__ = t;
|
|
3112
3112
|
}
|
|
3113
3113
|
}
|
|
3114
|
-
class
|
|
3114
|
+
class wd extends Error {
|
|
3115
3115
|
/** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
|
|
3116
3116
|
*
|
|
3117
3117
|
* @param {string} message A descriptive error message.
|
|
@@ -3172,7 +3172,7 @@ class ct {
|
|
|
3172
3172
|
}
|
|
3173
3173
|
}
|
|
3174
3174
|
ct.instance = new ct();
|
|
3175
|
-
const
|
|
3175
|
+
const bd = "8.0.7";
|
|
3176
3176
|
class Z {
|
|
3177
3177
|
static isRequired(e, t) {
|
|
3178
3178
|
if (e == null)
|
|
@@ -3208,9 +3208,9 @@ class K {
|
|
|
3208
3208
|
}
|
|
3209
3209
|
function lt(n, e) {
|
|
3210
3210
|
let t = "";
|
|
3211
|
-
return Qe(n) ? (t = `Binary data of length ${n.byteLength}`, e && (t += `. Content: '${
|
|
3211
|
+
return Qe(n) ? (t = `Binary data of length ${n.byteLength}`, e && (t += `. Content: '${Cd(n)}'`)) : typeof n == "string" && (t = `String data of length ${n.length}`, e && (t += `. Content: '${n}'`)), t;
|
|
3212
3212
|
}
|
|
3213
|
-
function
|
|
3213
|
+
function Cd(n) {
|
|
3214
3214
|
const e = new Uint8Array(n);
|
|
3215
3215
|
let t = "";
|
|
3216
3216
|
return e.forEach((o) => {
|
|
@@ -3223,7 +3223,7 @@ function Qe(n) {
|
|
|
3223
3223
|
n.constructor && n.constructor.name === "ArrayBuffer");
|
|
3224
3224
|
}
|
|
3225
3225
|
async function vr(n, e, t, o, r, s) {
|
|
3226
|
-
const i = {}, [l, c] =
|
|
3226
|
+
const i = {}, [l, c] = Ge();
|
|
3227
3227
|
i[l] = c, n.log(A.Trace, `(${e} transport) sending data. ${lt(r, s.logMessageContent)}.`);
|
|
3228
3228
|
const a = Qe(r) ? "arraybuffer" : "text", u = await t.post(o, {
|
|
3229
3229
|
content: r,
|
|
@@ -3234,10 +3234,10 @@ async function vr(n, e, t, o, r, s) {
|
|
|
3234
3234
|
});
|
|
3235
3235
|
n.log(A.Trace, `(${e} transport) request complete. Response status: ${u.statusCode}.`);
|
|
3236
3236
|
}
|
|
3237
|
-
function
|
|
3237
|
+
function Id(n) {
|
|
3238
3238
|
return n === void 0 ? new Tt(A.Information) : n === null ? ct.instance : n.log !== void 0 ? n : new Tt(n);
|
|
3239
3239
|
}
|
|
3240
|
-
class
|
|
3240
|
+
class Ed {
|
|
3241
3241
|
constructor(e, t) {
|
|
3242
3242
|
this._subject = e, this._observer = t;
|
|
3243
3243
|
}
|
|
@@ -3272,16 +3272,16 @@ class Tt {
|
|
|
3272
3272
|
}
|
|
3273
3273
|
}
|
|
3274
3274
|
}
|
|
3275
|
-
function
|
|
3275
|
+
function Ge() {
|
|
3276
3276
|
let n = "X-SignalR-User-Agent";
|
|
3277
|
-
return K.isNode && (n = "User-Agent"), [n,
|
|
3277
|
+
return K.isNode && (n = "User-Agent"), [n, Sd(bd, Td(), Pd(), kd())];
|
|
3278
3278
|
}
|
|
3279
|
-
function
|
|
3279
|
+
function Sd(n, e, t, o) {
|
|
3280
3280
|
let r = "Microsoft SignalR/";
|
|
3281
3281
|
const s = n.split(".");
|
|
3282
3282
|
return r += `${s[0]}.${s[1]}`, r += ` (${n}; `, e && e !== "" ? r += `${e}; ` : r += "Unknown OS; ", r += `${t}`, o ? r += `; ${o}` : r += "; Unknown Runtime Version", r += ")", r;
|
|
3283
3283
|
}
|
|
3284
|
-
function
|
|
3284
|
+
function Td() {
|
|
3285
3285
|
if (K.isNode)
|
|
3286
3286
|
switch (process.platform) {
|
|
3287
3287
|
case "win32":
|
|
@@ -3296,17 +3296,17 @@ function Sd() {
|
|
|
3296
3296
|
else
|
|
3297
3297
|
return "";
|
|
3298
3298
|
}
|
|
3299
|
-
function
|
|
3299
|
+
function kd() {
|
|
3300
3300
|
if (K.isNode)
|
|
3301
3301
|
return process.versions.node;
|
|
3302
3302
|
}
|
|
3303
|
-
function
|
|
3303
|
+
function Pd() {
|
|
3304
3304
|
return K.isNode ? "NodeJS" : "Browser";
|
|
3305
3305
|
}
|
|
3306
3306
|
function Nt(n) {
|
|
3307
3307
|
return n.stack ? n.stack : n.message ? n.message : `${n}`;
|
|
3308
3308
|
}
|
|
3309
|
-
function
|
|
3309
|
+
function Bd() {
|
|
3310
3310
|
if (typeof globalThis < "u")
|
|
3311
3311
|
return globalThis;
|
|
3312
3312
|
if (typeof self < "u")
|
|
@@ -3317,13 +3317,13 @@ function Pd() {
|
|
|
3317
3317
|
return global;
|
|
3318
3318
|
throw new Error("could not find global");
|
|
3319
3319
|
}
|
|
3320
|
-
class
|
|
3320
|
+
class Od extends Lt {
|
|
3321
3321
|
constructor(e) {
|
|
3322
3322
|
if (super(), this._logger = e, typeof fetch > "u" || K.isNode) {
|
|
3323
3323
|
const t = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
3324
3324
|
this._jar = new (t("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = t("node-fetch") : this._fetchType = fetch, this._fetchType = t("fetch-cookie")(this._fetchType, this._jar);
|
|
3325
3325
|
} else
|
|
3326
|
-
this._fetchType = fetch.bind(
|
|
3326
|
+
this._fetchType = fetch.bind(Bd());
|
|
3327
3327
|
if (typeof AbortController > "u") {
|
|
3328
3328
|
const t = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
3329
3329
|
this._abortControllerType = t("abort-controller");
|
|
@@ -3402,7 +3402,7 @@ function mo(n, e) {
|
|
|
3402
3402
|
}
|
|
3403
3403
|
return t;
|
|
3404
3404
|
}
|
|
3405
|
-
class
|
|
3405
|
+
class $d extends Lt {
|
|
3406
3406
|
constructor(e) {
|
|
3407
3407
|
super(), this._logger = e;
|
|
3408
3408
|
}
|
|
@@ -3426,13 +3426,13 @@ class Od extends Lt {
|
|
|
3426
3426
|
}) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
3427
3427
|
}
|
|
3428
3428
|
}
|
|
3429
|
-
class
|
|
3429
|
+
class Dd extends Lt {
|
|
3430
3430
|
/** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
|
|
3431
3431
|
constructor(e) {
|
|
3432
3432
|
if (super(), typeof fetch < "u" || K.isNode)
|
|
3433
|
-
this._httpClient = new Bd(e);
|
|
3434
|
-
else if (typeof XMLHttpRequest < "u")
|
|
3435
3433
|
this._httpClient = new Od(e);
|
|
3434
|
+
else if (typeof XMLHttpRequest < "u")
|
|
3435
|
+
this._httpClient = new $d(e);
|
|
3436
3436
|
else
|
|
3437
3437
|
throw new Error("No usable HttpClient found.");
|
|
3438
3438
|
}
|
|
@@ -3457,7 +3457,7 @@ class he {
|
|
|
3457
3457
|
}
|
|
3458
3458
|
he.RecordSeparatorCode = 30;
|
|
3459
3459
|
he.RecordSeparator = String.fromCharCode(he.RecordSeparatorCode);
|
|
3460
|
-
class
|
|
3460
|
+
class Ld {
|
|
3461
3461
|
// Handshake request is always JSON
|
|
3462
3462
|
writeHandshakeRequest(e) {
|
|
3463
3463
|
return he.write(JSON.stringify(e));
|
|
@@ -3487,7 +3487,7 @@ var j;
|
|
|
3487
3487
|
(function(n) {
|
|
3488
3488
|
n[n.Invocation = 1] = "Invocation", n[n.StreamItem = 2] = "StreamItem", n[n.Completion = 3] = "Completion", n[n.StreamInvocation = 4] = "StreamInvocation", n[n.CancelInvocation = 5] = "CancelInvocation", n[n.Ping = 6] = "Ping", n[n.Close = 7] = "Close", n[n.Ack = 8] = "Ack", n[n.Sequence = 9] = "Sequence";
|
|
3489
3489
|
})(j || (j = {}));
|
|
3490
|
-
class
|
|
3490
|
+
class xd {
|
|
3491
3491
|
constructor() {
|
|
3492
3492
|
this.observers = [];
|
|
3493
3493
|
}
|
|
@@ -3504,10 +3504,10 @@ class Ld {
|
|
|
3504
3504
|
e.complete && e.complete();
|
|
3505
3505
|
}
|
|
3506
3506
|
subscribe(e) {
|
|
3507
|
-
return this.observers.push(e), new
|
|
3507
|
+
return this.observers.push(e), new Ed(this, e);
|
|
3508
3508
|
}
|
|
3509
3509
|
}
|
|
3510
|
-
class
|
|
3510
|
+
class Md {
|
|
3511
3511
|
constructor(e, t, o) {
|
|
3512
3512
|
this._bufferSize = 1e5, this._messages = [], this._totalMessageCount = 0, this._waitForSequenceMessage = !1, this._nextReceivingSequenceId = 1, this._latestReceivedSequenceId = 0, this._bufferedByteCount = 0, this._reconnectInProgress = !1, this._protocol = e, this._connection = t, this._bufferSize = o;
|
|
3513
3513
|
}
|
|
@@ -3521,7 +3521,7 @@ class xd {
|
|
|
3521
3521
|
};
|
|
3522
3522
|
Qe(t) ? this._bufferedByteCount += t.byteLength : this._bufferedByteCount += t.length, this._bufferedByteCount >= this._bufferSize && (o = new Promise((i, l) => {
|
|
3523
3523
|
r = i, s = l;
|
|
3524
|
-
})), this._messages.push(new
|
|
3524
|
+
})), this._messages.push(new Rd(t, this._totalMessageCount, r, s));
|
|
3525
3525
|
}
|
|
3526
3526
|
try {
|
|
3527
3527
|
this._reconnectInProgress || await this._connection.send(t);
|
|
@@ -3599,12 +3599,12 @@ class xd {
|
|
|
3599
3599
|
}, 1e3));
|
|
3600
3600
|
}
|
|
3601
3601
|
}
|
|
3602
|
-
class
|
|
3602
|
+
class Rd {
|
|
3603
3603
|
constructor(e, t, o, r) {
|
|
3604
3604
|
this._message = e, this._id = t, this._resolver = o, this._rejector = r;
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
|
-
const
|
|
3607
|
+
const Qd = 30 * 1e3, jd = 15 * 1e3, Hd = 1e5;
|
|
3608
3608
|
var q;
|
|
3609
3609
|
(function(n) {
|
|
3610
3610
|
n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Connected = "Connected", n.Disconnecting = "Disconnecting", n.Reconnecting = "Reconnecting";
|
|
@@ -3621,7 +3621,7 @@ class Cn {
|
|
|
3621
3621
|
constructor(e, t, o, r, s, i, l) {
|
|
3622
3622
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
3623
3623
|
this._logger.log(A.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");
|
|
3624
|
-
}, Z.isRequired(e, "connection"), Z.isRequired(t, "logger"), Z.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = s ??
|
|
3624
|
+
}, Z.isRequired(e, "connection"), Z.isRequired(t, "logger"), Z.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = s ?? Qd, this.keepAliveIntervalInMilliseconds = i ?? jd, this._statefulReconnectBufferSize = l ?? Hd, this._logger = t, this._protocol = o, this.connection = e, this._reconnectPolicy = r, this._handshakeProtocol = new Ld(), 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 });
|
|
3625
3625
|
}
|
|
3626
3626
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
3627
3627
|
get state() {
|
|
@@ -3681,7 +3681,7 @@ class Cn {
|
|
|
3681
3681
|
};
|
|
3682
3682
|
if (this._logger.log(A.Debug, "Sending handshake request."), await this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(o)), this._logger.log(A.Information, `Using HubProtocol '${this._protocol.name}'.`), this._cleanupTimeout(), this._resetTimeoutPeriod(), this._resetKeepAliveInterval(), await e, this._stopDuringStartError)
|
|
3683
3683
|
throw this._stopDuringStartError;
|
|
3684
|
-
(this.connection.features.reconnect || !1) && (this._messageBuffer = new
|
|
3684
|
+
(this.connection.features.reconnect || !1) && (this._messageBuffer = new Md(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
|
|
3685
3685
|
if (this._messageBuffer)
|
|
3686
3686
|
return this._messageBuffer._resend();
|
|
3687
3687
|
}), this.connection.features.inherentKeepAlive || await this._sendMessage(this._cachedPingMessage);
|
|
@@ -3725,7 +3725,7 @@ class Cn {
|
|
|
3725
3725
|
stream(e, ...t) {
|
|
3726
3726
|
const [o, r] = this._replaceStreamingParams(t), s = this._createStreamInvocation(e, t, r);
|
|
3727
3727
|
let i;
|
|
3728
|
-
const l = new
|
|
3728
|
+
const l = new xd();
|
|
3729
3729
|
return l.cancelCallback = () => {
|
|
3730
3730
|
const c = this._createCancelInvocation(s.invocationId);
|
|
3731
3731
|
return delete this._callbacks[s.invocationId], i.then(() => this._sendWithProtocol(c));
|
|
@@ -4111,10 +4111,10 @@ class Cn {
|
|
|
4111
4111
|
return { type: j.Close };
|
|
4112
4112
|
}
|
|
4113
4113
|
}
|
|
4114
|
-
const
|
|
4114
|
+
const Nd = [0, 2e3, 1e4, 3e4, null];
|
|
4115
4115
|
class vo {
|
|
4116
4116
|
constructor(e) {
|
|
4117
|
-
this._retryDelays = e !== void 0 ? [...e, null] :
|
|
4117
|
+
this._retryDelays = e !== void 0 ? [...e, null] : Nd;
|
|
4118
4118
|
}
|
|
4119
4119
|
nextRetryDelayInMilliseconds(e) {
|
|
4120
4120
|
return this._retryDelays[e.previousRetryCount];
|
|
@@ -4124,7 +4124,7 @@ class Me {
|
|
|
4124
4124
|
}
|
|
4125
4125
|
Me.Authorization = "Authorization";
|
|
4126
4126
|
Me.Cookie = "Cookie";
|
|
4127
|
-
class
|
|
4127
|
+
class Ud extends Lt {
|
|
4128
4128
|
constructor(e, t) {
|
|
4129
4129
|
super(), this._innerClient = e, this._accessTokenFactory = t;
|
|
4130
4130
|
}
|
|
@@ -4145,11 +4145,11 @@ var G;
|
|
|
4145
4145
|
(function(n) {
|
|
4146
4146
|
n[n.None = 0] = "None", n[n.WebSockets = 1] = "WebSockets", n[n.ServerSentEvents = 2] = "ServerSentEvents", n[n.LongPolling = 4] = "LongPolling";
|
|
4147
4147
|
})(G || (G = {}));
|
|
4148
|
-
var
|
|
4148
|
+
var ie;
|
|
4149
4149
|
(function(n) {
|
|
4150
4150
|
n[n.Text = 1] = "Text", n[n.Binary = 2] = "Binary";
|
|
4151
|
-
})(
|
|
4152
|
-
let
|
|
4151
|
+
})(ie || (ie = {}));
|
|
4152
|
+
let Fd = class {
|
|
4153
4153
|
constructor() {
|
|
4154
4154
|
this._isAborted = !1, this.onabort = null;
|
|
4155
4155
|
}
|
|
@@ -4169,18 +4169,18 @@ class yo {
|
|
|
4169
4169
|
return this._pollAbort.aborted;
|
|
4170
4170
|
}
|
|
4171
4171
|
constructor(e, t, o) {
|
|
4172
|
-
this._httpClient = e, this._logger = t, this._pollAbort = new
|
|
4172
|
+
this._httpClient = e, this._logger = t, this._pollAbort = new Fd(), this._options = o, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
4173
4173
|
}
|
|
4174
4174
|
async connect(e, t) {
|
|
4175
|
-
if (Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t,
|
|
4175
|
+
if (Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t, ie, "transferFormat"), this._url = e, this._logger.log(A.Trace, "(LongPolling transport) Connecting."), t === ie.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
4176
4176
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
4177
|
-
const [o, r] =
|
|
4177
|
+
const [o, r] = Ge(), s = { [o]: r, ...this._options.headers }, i = {
|
|
4178
4178
|
abortSignal: this._pollAbort.signal,
|
|
4179
4179
|
headers: s,
|
|
4180
4180
|
timeout: 1e5,
|
|
4181
4181
|
withCredentials: this._options.withCredentials
|
|
4182
4182
|
};
|
|
4183
|
-
t ===
|
|
4183
|
+
t === ie.Binary && (i.responseType = "arraybuffer");
|
|
4184
4184
|
const l = `${e}&_=${Date.now()}`;
|
|
4185
4185
|
this._logger.log(A.Trace, `(LongPolling transport) polling: ${l}.`);
|
|
4186
4186
|
const c = await this._httpClient.get(l, i);
|
|
@@ -4208,7 +4208,7 @@ class yo {
|
|
|
4208
4208
|
this._logger.log(A.Trace, "(LongPolling transport) Stopping polling."), this._running = !1, this._pollAbort.abort();
|
|
4209
4209
|
try {
|
|
4210
4210
|
await this._receiving, this._logger.log(A.Trace, `(LongPolling transport) sending DELETE request to ${this._url}.`);
|
|
4211
|
-
const e = {}, [t, o] =
|
|
4211
|
+
const e = {}, [t, o] = Ge();
|
|
4212
4212
|
e[t] = o;
|
|
4213
4213
|
const r = {
|
|
4214
4214
|
headers: { ...e, ...this._options.headers },
|
|
@@ -4233,14 +4233,14 @@ class yo {
|
|
|
4233
4233
|
}
|
|
4234
4234
|
}
|
|
4235
4235
|
}
|
|
4236
|
-
class
|
|
4236
|
+
class Wd {
|
|
4237
4237
|
constructor(e, t, o, r) {
|
|
4238
4238
|
this._httpClient = e, this._accessToken = t, this._logger = o, this._options = r, this.onreceive = null, this.onclose = null;
|
|
4239
4239
|
}
|
|
4240
4240
|
async connect(e, t) {
|
|
4241
|
-
return Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t,
|
|
4241
|
+
return Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t, ie, "transferFormat"), this._logger.log(A.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((o, r) => {
|
|
4242
4242
|
let s = !1;
|
|
4243
|
-
if (t !==
|
|
4243
|
+
if (t !== ie.Text) {
|
|
4244
4244
|
r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
4245
4245
|
return;
|
|
4246
4246
|
}
|
|
@@ -4250,7 +4250,7 @@ class Fd {
|
|
|
4250
4250
|
else {
|
|
4251
4251
|
const l = this._httpClient.getCookieString(e), c = {};
|
|
4252
4252
|
c.Cookie = l;
|
|
4253
|
-
const [a, u] =
|
|
4253
|
+
const [a, u] = Ge();
|
|
4254
4254
|
c[a] = u, i = new this._options.EventSource(e, { withCredentials: this._options.withCredentials, headers: { ...c, ...this._options.headers } });
|
|
4255
4255
|
}
|
|
4256
4256
|
try {
|
|
@@ -4283,12 +4283,12 @@ class Fd {
|
|
|
4283
4283
|
this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(e));
|
|
4284
4284
|
}
|
|
4285
4285
|
}
|
|
4286
|
-
class
|
|
4286
|
+
class Jd {
|
|
4287
4287
|
constructor(e, t, o, r, s, i) {
|
|
4288
4288
|
this._logger = o, this._accessTokenFactory = t, this._logMessageContent = r, this._webSocketConstructor = s, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = i;
|
|
4289
4289
|
}
|
|
4290
4290
|
async connect(e, t) {
|
|
4291
|
-
Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t,
|
|
4291
|
+
Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t, ie, "transferFormat"), this._logger.log(A.Trace, "(WebSockets transport) Connecting.");
|
|
4292
4292
|
let o;
|
|
4293
4293
|
return this._accessTokenFactory && (o = await this._accessTokenFactory()), new Promise((r, s) => {
|
|
4294
4294
|
e = e.replace(/^http/, "ws");
|
|
@@ -4296,13 +4296,13 @@ class Wd {
|
|
|
4296
4296
|
const l = this._httpClient.getCookieString(e);
|
|
4297
4297
|
let c = !1;
|
|
4298
4298
|
if (K.isNode || K.isReactNative) {
|
|
4299
|
-
const a = {}, [u, m] =
|
|
4299
|
+
const a = {}, [u, m] = Ge();
|
|
4300
4300
|
a[u] = m, o && (a[Me.Authorization] = `Bearer ${o}`), l && (a[Me.Cookie] = l), i = new this._webSocketConstructor(e, void 0, {
|
|
4301
4301
|
headers: { ...a, ...this._headers }
|
|
4302
4302
|
});
|
|
4303
4303
|
} else
|
|
4304
4304
|
o && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(o)}`);
|
|
4305
|
-
i || (i = new this._webSocketConstructor(e)), t ===
|
|
4305
|
+
i || (i = new this._webSocketConstructor(e)), t === ie.Binary && (i.binaryType = "arraybuffer"), i.onopen = (a) => {
|
|
4306
4306
|
this._logger.log(A.Information, `WebSocket connected to ${e}.`), this._webSocket = i, c = !0, r();
|
|
4307
4307
|
}, i.onerror = (a) => {
|
|
4308
4308
|
let u = null;
|
|
@@ -4342,10 +4342,10 @@ class Wd {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
}
|
|
4344
4344
|
const _o = 100;
|
|
4345
|
-
class
|
|
4345
|
+
class Vd {
|
|
4346
4346
|
constructor(e, t = {}) {
|
|
4347
4347
|
if (this._stopPromiseResolver = () => {
|
|
4348
|
-
}, this.features = {}, this._negotiateVersion = 1, Z.isRequired(e, "url"), this._logger =
|
|
4348
|
+
}, this.features = {}, this._negotiateVersion = 1, Z.isRequired(e, "url"), this._logger = Id(t.logger), this.baseUrl = this._resolveUrl(e), t = t || {}, t.logMessageContent = t.logMessageContent === void 0 ? !1 : t.logMessageContent, typeof t.withCredentials == "boolean" || t.withCredentials === void 0)
|
|
4349
4349
|
t.withCredentials = t.withCredentials === void 0 ? !0 : t.withCredentials;
|
|
4350
4350
|
else
|
|
4351
4351
|
throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
@@ -4355,10 +4355,10 @@ class Jd {
|
|
|
4355
4355
|
const s = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
4356
4356
|
o = s("ws"), r = s("eventsource");
|
|
4357
4357
|
}
|
|
4358
|
-
!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
|
|
4358
|
+
!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 Ud(t.httpClient || new Dd(this._logger), t.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = t, this.onreceive = null, this.onclose = null;
|
|
4359
4359
|
}
|
|
4360
4360
|
async start(e) {
|
|
4361
|
-
if (e = e ||
|
|
4361
|
+
if (e = e || ie.Binary, Z.isIn(e, ie, "transferFormat"), this._logger.log(A.Debug, `Starting connection with transfer format '${ie[e]}'.`), this._connectionState !== "Disconnected")
|
|
4362
4362
|
return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
|
|
4363
4363
|
if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
|
|
4364
4364
|
const t = "Failed to start the HttpConnection before stop() was called.";
|
|
@@ -4431,7 +4431,7 @@ class Jd {
|
|
|
4431
4431
|
}
|
|
4432
4432
|
}
|
|
4433
4433
|
async _getNegotiationResponse(e) {
|
|
4434
|
-
const t = {}, [o, r] =
|
|
4434
|
+
const t = {}, [o, r] = Ge();
|
|
4435
4435
|
t[o] = r;
|
|
4436
4436
|
const s = this._resolveNegotiateUrl(e);
|
|
4437
4437
|
this._logger.log(A.Debug, `Sending negotiation request: ${s}.`);
|
|
@@ -4479,25 +4479,25 @@ class Jd {
|
|
|
4479
4479
|
await this._startTransport(s, r), this.connectionId = c.connectionId;
|
|
4480
4480
|
return;
|
|
4481
4481
|
} catch (m) {
|
|
4482
|
-
if (this._logger.log(A.Error, `Failed to start the transport '${a.transport}': ${m}`), c = void 0, i.push(new
|
|
4482
|
+
if (this._logger.log(A.Error, `Failed to start the transport '${a.transport}': ${m}`), c = void 0, i.push(new _d(`${a.transport} failed: ${m}`, G[a.transport])), this._connectionState !== "Connecting") {
|
|
4483
4483
|
const p = "Failed to select transport before stop() was called.";
|
|
4484
4484
|
return this._logger.log(A.Debug, p), Promise.reject(new ye(p));
|
|
4485
4485
|
}
|
|
4486
4486
|
}
|
|
4487
4487
|
}
|
|
4488
4488
|
}
|
|
4489
|
-
return i.length > 0 ? Promise.reject(new
|
|
4489
|
+
return i.length > 0 ? Promise.reject(new wd(`Unable to connect to the server with any of the available transports. ${i.join(" ")}`, i)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
|
|
4490
4490
|
}
|
|
4491
4491
|
_constructTransport(e) {
|
|
4492
4492
|
switch (e) {
|
|
4493
4493
|
case G.WebSockets:
|
|
4494
4494
|
if (!this._options.WebSocket)
|
|
4495
4495
|
throw new Error("'WebSocket' is not supported in your environment.");
|
|
4496
|
-
return new
|
|
4496
|
+
return new Jd(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
|
|
4497
4497
|
case G.ServerSentEvents:
|
|
4498
4498
|
if (!this._options.EventSource)
|
|
4499
4499
|
throw new Error("'EventSource' is not supported in your environment.");
|
|
4500
|
-
return new
|
|
4500
|
+
return new Wd(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
|
|
4501
4501
|
case G.LongPolling:
|
|
4502
4502
|
return new yo(this._httpClient, this._logger, this._options);
|
|
4503
4503
|
default:
|
|
@@ -4524,10 +4524,10 @@ class Jd {
|
|
|
4524
4524
|
const s = G[e.transport];
|
|
4525
4525
|
if (s == null)
|
|
4526
4526
|
return this._logger.log(A.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.`);
|
|
4527
|
-
if (
|
|
4528
|
-
if (e.transferFormats.map((l) =>
|
|
4527
|
+
if (zd(t, s))
|
|
4528
|
+
if (e.transferFormats.map((l) => ie[l]).indexOf(o) >= 0) {
|
|
4529
4529
|
if (s === G.WebSockets && !this._options.WebSocket || s === G.ServerSentEvents && !this._options.EventSource)
|
|
4530
|
-
return this._logger.log(A.Debug, `Skipping transport '${G[s]}' because it is not supported in your environment.'`), new
|
|
4530
|
+
return this._logger.log(A.Debug, `Skipping transport '${G[s]}' because it is not supported in your environment.'`), new vd(`'${G[s]}' is not supported in your environment.`, s);
|
|
4531
4531
|
this._logger.log(A.Debug, `Selecting transport '${G[s]}'.`);
|
|
4532
4532
|
try {
|
|
4533
4533
|
return this.features.reconnect = s === G.WebSockets ? r : void 0, this._constructTransport(s);
|
|
@@ -4535,9 +4535,9 @@ class Jd {
|
|
|
4535
4535
|
return l;
|
|
4536
4536
|
}
|
|
4537
4537
|
} else
|
|
4538
|
-
return this._logger.log(A.Debug, `Skipping transport '${G[s]}' because it does not support the requested transfer format '${
|
|
4538
|
+
return this._logger.log(A.Debug, `Skipping transport '${G[s]}' because it does not support the requested transfer format '${ie[o]}'.`), new Error(`'${G[s]}' does not support ${ie[o]}.`);
|
|
4539
4539
|
else
|
|
4540
|
-
return this._logger.log(A.Debug, `Skipping transport '${G[s]}' because it was disabled by the client.`), new
|
|
4540
|
+
return this._logger.log(A.Debug, `Skipping transport '${G[s]}' because it was disabled by the client.`), new yd(`'${G[s]}' is disabled by the client.`, s);
|
|
4541
4541
|
}
|
|
4542
4542
|
_isITransport(e) {
|
|
4543
4543
|
return e && typeof e == "object" && "connect" in e;
|
|
@@ -4575,7 +4575,7 @@ class Jd {
|
|
|
4575
4575
|
return o.has("negotiateVersion") || o.append("negotiateVersion", this._negotiateVersion.toString()), o.has("useStatefulReconnect") ? o.get("useStatefulReconnect") === "true" && (this._options._useStatefulReconnect = !0) : this._options._useStatefulReconnect === !0 && o.append("useStatefulReconnect", "true"), t.search = o.toString(), t.toString();
|
|
4576
4576
|
}
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function zd(n, e) {
|
|
4579
4579
|
return !n || (e & n) !== 0;
|
|
4580
4580
|
}
|
|
4581
4581
|
class In {
|
|
@@ -4630,10 +4630,10 @@ class vt {
|
|
|
4630
4630
|
this._rejecter(e);
|
|
4631
4631
|
}
|
|
4632
4632
|
}
|
|
4633
|
-
const
|
|
4634
|
-
class
|
|
4633
|
+
const qd = "json";
|
|
4634
|
+
class Kd {
|
|
4635
4635
|
constructor() {
|
|
4636
|
-
this.name =
|
|
4636
|
+
this.name = qd, this.version = 2, this.transferFormat = ie.Text;
|
|
4637
4637
|
}
|
|
4638
4638
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
4639
4639
|
*
|
|
@@ -4712,7 +4712,7 @@ class qd {
|
|
|
4712
4712
|
throw new Error(t);
|
|
4713
4713
|
}
|
|
4714
4714
|
}
|
|
4715
|
-
const
|
|
4715
|
+
const Gd = {
|
|
4716
4716
|
trace: A.Trace,
|
|
4717
4717
|
debug: A.Debug,
|
|
4718
4718
|
info: A.Information,
|
|
@@ -4723,18 +4723,18 @@ const Kd = {
|
|
|
4723
4723
|
critical: A.Critical,
|
|
4724
4724
|
none: A.None
|
|
4725
4725
|
};
|
|
4726
|
-
function
|
|
4727
|
-
const e =
|
|
4726
|
+
function Xd(n) {
|
|
4727
|
+
const e = Gd[n.toLowerCase()];
|
|
4728
4728
|
if (typeof e < "u")
|
|
4729
4729
|
return e;
|
|
4730
4730
|
throw new Error(`Unknown log level: ${n}`);
|
|
4731
4731
|
}
|
|
4732
|
-
class
|
|
4732
|
+
class Zd {
|
|
4733
4733
|
configureLogging(e) {
|
|
4734
|
-
if (Z.isRequired(e, "logging"),
|
|
4734
|
+
if (Z.isRequired(e, "logging"), Yd(e))
|
|
4735
4735
|
this.logger = e;
|
|
4736
4736
|
else if (typeof e == "string") {
|
|
4737
|
-
const t =
|
|
4737
|
+
const t = Xd(e);
|
|
4738
4738
|
this.logger = new Tt(t);
|
|
4739
4739
|
} else
|
|
4740
4740
|
this.logger = new Tt(e);
|
|
@@ -4787,16 +4787,16 @@ class Xd {
|
|
|
4787
4787
|
const e = this.httpConnectionOptions || {};
|
|
4788
4788
|
if (e.logger === void 0 && (e.logger = this.logger), !this.url)
|
|
4789
4789
|
throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
4790
|
-
const t = new
|
|
4791
|
-
return Cn.create(t, this.logger || ct.instance, this.protocol || new
|
|
4790
|
+
const t = new Vd(this.url, e);
|
|
4791
|
+
return Cn.create(t, this.logger || ct.instance, this.protocol || new Kd(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
4792
4792
|
}
|
|
4793
4793
|
}
|
|
4794
|
-
function
|
|
4794
|
+
function Yd(n) {
|
|
4795
4795
|
return n.log !== void 0;
|
|
4796
4796
|
}
|
|
4797
|
-
let { baseURL:
|
|
4798
|
-
const
|
|
4799
|
-
const n = new
|
|
4797
|
+
let { baseURL: ep } = Ne();
|
|
4798
|
+
const tp = () => {
|
|
4799
|
+
const n = new Zd().withUrl(`${ep}/api/tool/event-bus`, {
|
|
4800
4800
|
skipNegotiation: !0,
|
|
4801
4801
|
transport: G.WebSockets
|
|
4802
4802
|
}).withAutomaticReconnect().build();
|
|
@@ -4805,12 +4805,12 @@ const ep = () => {
|
|
|
4805
4805
|
}), n.onclose((e) => {
|
|
4806
4806
|
}), n.onreconnected(() => {
|
|
4807
4807
|
}), n;
|
|
4808
|
-
}, xt = "v1",
|
|
4809
|
-
|
|
4810
|
-
const
|
|
4808
|
+
}, xt = "v1", np = He(`/api/graphics-engine/component/${xt}`, (n) => (n.customErrorMessage = () => "", n)), op = He(`/api/portal/manager/${xt}`, (n) => (n.customErrorMessage = () => "", n)), rp = He(`/api/speech-base/speech/${xt}`, (n) => (n.customErrorMessage = () => "", n)), wo = np.get("/component/client/heartbeat"), sp = op.get("/basics/by-alias");
|
|
4809
|
+
rp.post("/control/callBack");
|
|
4810
|
+
const ip = He(`/api/tool/event-bus/${xt}/`), Ut = ip.post("/publish"), ap = on.get("/permissionset/application"), cp = () => {
|
|
4811
4811
|
const n = sn(), { entryApp: e } = It.hooks.useEntryApp(), { entryMenu: t } = It.hooks.useEntryMenu();
|
|
4812
4812
|
let o = null;
|
|
4813
|
-
return
|
|
4813
|
+
return je(async () => {
|
|
4814
4814
|
var d;
|
|
4815
4815
|
let r = ((d = n.meta) == null ? void 0 : d.showLayout) ?? !0, { showLayout: s = !0 } = n.query;
|
|
4816
4816
|
if (s === "false" && (s = !1), !r || !s) return;
|
|
@@ -4849,7 +4849,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
4849
4849
|
if (L)
|
|
4850
4850
|
e({ microApp: L });
|
|
4851
4851
|
else {
|
|
4852
|
-
const [b, C] = await
|
|
4852
|
+
const [b, C] = await ap().run({ menuCode: O });
|
|
4853
4853
|
if (b) return;
|
|
4854
4854
|
const P = h.find((D) => D.code === C);
|
|
4855
4855
|
P && e({ microApp: P, menuCode: O });
|
|
@@ -4861,7 +4861,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
4861
4861
|
setTimeout(async () => {
|
|
4862
4862
|
var _, h;
|
|
4863
4863
|
if (c.value) {
|
|
4864
|
-
const [T, O] = await
|
|
4864
|
+
const [T, O] = await sp().run({}, { params: { aliasName: v.actionValue } });
|
|
4865
4865
|
T ? await Ut().run({
|
|
4866
4866
|
uniqueId: v.uniqueId,
|
|
4867
4867
|
status: 0,
|
|
@@ -4880,7 +4880,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
4880
4880
|
}, 2e3);
|
|
4881
4881
|
}, u = (v) => {
|
|
4882
4882
|
const _ = kt(), h = JSON.parse(atob(_.split(".")[1])).sub;
|
|
4883
|
-
|
|
4883
|
+
tp().on(`${v}:${h}`, async function(O) {
|
|
4884
4884
|
let L = i(O);
|
|
4885
4885
|
if (L)
|
|
4886
4886
|
L.uniqueId && L.actionKey == "switch-menu" && a(L);
|
|
@@ -4907,10 +4907,10 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
4907
4907
|
}), ut(() => {
|
|
4908
4908
|
o && clearInterval(o);
|
|
4909
4909
|
}), {};
|
|
4910
|
-
}, Mt = "v1",
|
|
4910
|
+
}, Mt = "v1", lp = Ze(`/api/fms/report/${Mt}`), En = Ze(`/api/emergency/manage/${Mt}`), up = an.get("/permissionset/user-portal-menu"), yr = Ze(`/api/alarm/config/${Mt}`), dp = Ze(`/api/alarm/run-time/${Mt}`), pp = yr.get("/alarm-definition/status-option"), fp = dp.post("/record/handling"), hp = yr.get("/alarm-level/prompttone"), gp = lp.get("/alarm/rule/list"), Ap = Po.get("/controller/space-children-all-type"), mp = Po.get("/controller/fuzzy-area-small"), vp = En.get("/emergency-event/event/type"), yp = En.get("/emergency-event/event/level"), _p = En.get("/emergency-plan/plan/handle-time"), wp = { class: "handle-alarm-container" }, bp = { class: "select-check" }, Cp = { class: "form-box" }, Ip = { class: "select-check" }, Ep = { style: { "margin-left": "8px" } }, Sp = { class: "foot-btn-box" }, Tp = {
|
|
4911
4911
|
name: "handleAlarm"
|
|
4912
|
-
},
|
|
4913
|
-
...
|
|
4912
|
+
}, kp = /* @__PURE__ */ pe({
|
|
4913
|
+
...Tp,
|
|
4914
4914
|
props: {
|
|
4915
4915
|
projectId: { default: "" },
|
|
4916
4916
|
handerIds: { default: [] }
|
|
@@ -4974,25 +4974,25 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
4974
4974
|
const T = E(!0), O = E(!0), L = async ($) => {
|
|
4975
4975
|
const I = { name: "1" };
|
|
4976
4976
|
$ != null && $.id && (I.spaceId = $.id);
|
|
4977
|
-
const [k, me] = await
|
|
4977
|
+
const [k, me] = await Ap(I).run();
|
|
4978
4978
|
return k ? {} : me;
|
|
4979
4979
|
}, b = async ($) => {
|
|
4980
|
-
const I = { name: $ || "" }, [k, me] = await
|
|
4980
|
+
const I = { name: $ || "" }, [k, me] = await mp(I).run();
|
|
4981
4981
|
return k ? {} : me;
|
|
4982
4982
|
}, C = E(!0), P = E(!0), D = E([]), N = async () => {
|
|
4983
|
-
const [$, I] = await
|
|
4983
|
+
const [$, I] = await gp().run({ pageIndex: -1, pageSize: -1 });
|
|
4984
4984
|
if ($) return {};
|
|
4985
4985
|
D.value = I.data.filter((k) => k.status), D.value.length > 0 && (a.value.workOrderRules = D.value[0].id);
|
|
4986
4986
|
};
|
|
4987
|
-
|
|
4987
|
+
re(c, ($) => {
|
|
4988
4988
|
$ || (Y(), ne());
|
|
4989
|
-
}),
|
|
4989
|
+
}), re(
|
|
4990
4990
|
O,
|
|
4991
4991
|
($) => {
|
|
4992
4992
|
$ ? (T.value = !0, a.value.customPath = Q("选填").value) : (T.value = !1, a.value.customPath = "");
|
|
4993
4993
|
},
|
|
4994
4994
|
{ immediate: !0 }
|
|
4995
|
-
),
|
|
4995
|
+
), re(
|
|
4996
4996
|
P,
|
|
4997
4997
|
($) => {
|
|
4998
4998
|
$ ? (a.value.reportTheme = Q("告警对象").value, C.value = !0) : (v.value = "请输入", a.value.reportTheme = "", C.value = !1);
|
|
@@ -5002,7 +5002,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5002
5002
|
const F = ($) => {
|
|
5003
5003
|
var I;
|
|
5004
5004
|
return (I = i.value) == null ? void 0 : I.parentNode.parentNode;
|
|
5005
|
-
},
|
|
5005
|
+
}, ae = ($) => {
|
|
5006
5006
|
u.value.reportTheme = "";
|
|
5007
5007
|
}, Be = ($, I) => {
|
|
5008
5008
|
I.length > 0 && (f.value = I[0].path), a.value.reportPosition = $, h.value = "";
|
|
@@ -5016,14 +5016,14 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5016
5016
|
a.value.processTypeId = "confirm", a.value.reason = "", a.value.treatmentPlan = "", a.value.remarks = "", a.value.reportPosition = "", a.value.reportTheme = "", a.value.workOrderRules = null, O.value = !0, P.value = !0, C.value = !0, a.value.reportTheme = Q("告警对象").value, f.value = "", d.value = "告警对象位置", v.value = "请输入", a.value.eventTypeId = "", a.value.eventLevelId = null, a.value.timeLimit = "", a.value.interval = 1, p.value = [], g.value = [];
|
|
5017
5017
|
}, Ae = ($) => {
|
|
5018
5018
|
$ == "eventTypeId" && (a.value.eventLevelId = null, Sn()), $ == "eventLevelId" && Tn(), $ == "interval" && (u.value.timeLimit = "", a.value.interval == 3 ? (m.value = !0, a.value.timeLimit = "") : m.value = !1);
|
|
5019
|
-
},
|
|
5020
|
-
const [$, I] = await
|
|
5019
|
+
}, We = async () => {
|
|
5020
|
+
const [$, I] = await vp().run();
|
|
5021
5021
|
if ($) return {};
|
|
5022
5022
|
p.value = I, a.value.eventTypeId || (a.value.eventTypeId = I[0] ? I[0].id : null), Sn();
|
|
5023
5023
|
}, Sn = async () => {
|
|
5024
5024
|
const $ = {
|
|
5025
5025
|
eventTypeId: a.value.eventTypeId
|
|
5026
|
-
}, [I, k] = await
|
|
5026
|
+
}, [I, k] = await yp($).run();
|
|
5027
5027
|
if (I) return {};
|
|
5028
5028
|
const me = { 1: "一级", 2: "二级", 3: "三级", 4: "四级" };
|
|
5029
5029
|
g.value = k.map((mt) => ({
|
|
@@ -5034,7 +5034,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5034
5034
|
const $ = {
|
|
5035
5035
|
eventTypeId: a.value.eventTypeId,
|
|
5036
5036
|
eventLevel: a.value.eventLevelId
|
|
5037
|
-
}, [I, k] = await
|
|
5037
|
+
}, [I, k] = await _p($).run();
|
|
5038
5038
|
if (I) return {};
|
|
5039
5039
|
a.value.interval = k.handleTimeUnit, k.handleTimeUnit == 3 ? a.value.timeLimit = "" : a.value.timeLimit = k.handleTime;
|
|
5040
5040
|
}, _r = ($) => {
|
|
@@ -5046,14 +5046,14 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5046
5046
|
projectId: o.projectId
|
|
5047
5047
|
};
|
|
5048
5048
|
s.value = !0;
|
|
5049
|
-
const [I, k] = await
|
|
5049
|
+
const [I, k] = await pp($).run();
|
|
5050
5050
|
if (I) {
|
|
5051
5051
|
s.value = !1;
|
|
5052
5052
|
return;
|
|
5053
5053
|
}
|
|
5054
5054
|
s.value = !1, w.value = k;
|
|
5055
5055
|
for (let me = 0; me < w.value.length; me++)
|
|
5056
|
-
w.value[me].id === "createorder" && N(), w.value[me].id === "createcontingency" &&
|
|
5056
|
+
w.value[me].id === "createorder" && N(), w.value[me].id === "createcontingency" && We();
|
|
5057
5057
|
}, br = () => {
|
|
5058
5058
|
let $ = !0;
|
|
5059
5059
|
if (a.value.processTypeId == "dealwith")
|
|
@@ -5080,7 +5080,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5080
5080
|
//处理类型id
|
|
5081
5081
|
};
|
|
5082
5082
|
a.value.processTypeId === "createorder" ? ($.path = O.value ? "" : a.value.customPath, $.topic = P.value ? "" : a.value.reportTheme, $.spaceId = O.value ? "" : a.value.reportPosition ?? "", $.orderId = a.value.workOrderRules) : a.value.processTypeId === "createcontingency" ? ($.eventTypeId = a.value.eventTypeId, $.eventLevelId = a.value.eventLevelId, $.timeLimit = a.value.interval == 3 ? null : Number(a.value.timeLimit), $.interval = a.value.interval) : ($.reason = a.value.reason, $.treatmentPlan = a.value.treatmentPlan, $.remarks = a.value.remarks), s.value = !0, r("emitFn", "startHandle");
|
|
5083
|
-
const [I, k] = await
|
|
5083
|
+
const [I, k] = await fp($, {
|
|
5084
5084
|
params: {
|
|
5085
5085
|
projectId: o.projectId
|
|
5086
5086
|
}
|
|
@@ -5098,7 +5098,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5098
5098
|
return e({
|
|
5099
5099
|
open: Er,
|
|
5100
5100
|
close: Rt
|
|
5101
|
-
}), ($, I) => (H(), de("div",
|
|
5101
|
+
}), ($, I) => (H(), de("div", wp, [
|
|
5102
5102
|
R(y(ln), {
|
|
5103
5103
|
modelValue: c.value,
|
|
5104
5104
|
"onUpdate:modelValue": I[31] || (I[31] = (k) => c.value = k),
|
|
@@ -5112,20 +5112,20 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5112
5112
|
"destroy-on-close": ""
|
|
5113
5113
|
}, {
|
|
5114
5114
|
header: M(() => [
|
|
5115
|
-
|
|
5115
|
+
fe(
|
|
5116
5116
|
X(y(Q)("告警处理").value),
|
|
5117
5117
|
1
|
|
5118
5118
|
/* TEXT */
|
|
5119
5119
|
)
|
|
5120
5120
|
]),
|
|
5121
5121
|
footer: M(() => [
|
|
5122
|
-
x("div",
|
|
5122
|
+
x("div", Sp, [
|
|
5123
5123
|
R(y(Oe), {
|
|
5124
5124
|
size: "middle",
|
|
5125
5125
|
onClick: Cr
|
|
5126
5126
|
}, {
|
|
5127
5127
|
default: M(() => [
|
|
5128
|
-
|
|
5128
|
+
fe(
|
|
5129
5129
|
X(y(Q)("取消").value),
|
|
5130
5130
|
1
|
|
5131
5131
|
/* TEXT */
|
|
@@ -5139,7 +5139,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5139
5139
|
onClick: I[29] || (I[29] = (k) => kn(1))
|
|
5140
5140
|
}, {
|
|
5141
5141
|
default: M(() => [
|
|
5142
|
-
|
|
5142
|
+
fe(
|
|
5143
5143
|
X(y(Q)("结束处理").value),
|
|
5144
5144
|
1
|
|
5145
5145
|
/* TEXT */
|
|
@@ -5154,7 +5154,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5154
5154
|
onClick: I[30] || (I[30] = (k) => kn(2))
|
|
5155
5155
|
}, {
|
|
5156
5156
|
default: M(() => [
|
|
5157
|
-
|
|
5157
|
+
fe(
|
|
5158
5158
|
X(y(Q)("继续处理").value),
|
|
5159
5159
|
1
|
|
5160
5160
|
/* TEXT */
|
|
@@ -5176,7 +5176,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5176
5176
|
class: "handle-alarm-dialog-content"
|
|
5177
5177
|
},
|
|
5178
5178
|
[
|
|
5179
|
-
R(y(
|
|
5179
|
+
R(y(fs), {
|
|
5180
5180
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
5181
5181
|
cols: 1,
|
|
5182
5182
|
alignType: "horizontal"
|
|
@@ -5251,9 +5251,9 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5251
5251
|
marginRight: "0"
|
|
5252
5252
|
}, {
|
|
5253
5253
|
default: M(() => [
|
|
5254
|
-
x("div",
|
|
5255
|
-
x("div",
|
|
5256
|
-
R(y(
|
|
5254
|
+
x("div", bp, [
|
|
5255
|
+
x("div", Cp, [
|
|
5256
|
+
R(y(ps), {
|
|
5257
5257
|
borderType: "underline",
|
|
5258
5258
|
props: { disabled: "_disabled", label: "name" },
|
|
5259
5259
|
modelValue: a.value.reportPosition,
|
|
@@ -5289,7 +5289,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5289
5289
|
size: "middle"
|
|
5290
5290
|
}, {
|
|
5291
5291
|
default: M(() => [
|
|
5292
|
-
|
|
5292
|
+
fe(
|
|
5293
5293
|
X(y(Q)("告警对象位置").value),
|
|
5294
5294
|
1
|
|
5295
5295
|
/* TEXT */
|
|
@@ -5314,14 +5314,14 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5314
5314
|
marginRight: "0"
|
|
5315
5315
|
}, {
|
|
5316
5316
|
default: M(() => [
|
|
5317
|
-
x("div",
|
|
5317
|
+
x("div", Ip, [
|
|
5318
5318
|
R(y($n), {
|
|
5319
5319
|
maxlength: "20",
|
|
5320
5320
|
disabled: C.value,
|
|
5321
5321
|
modelValue: a.value.reportTheme,
|
|
5322
5322
|
"onUpdate:modelValue": I[14] || (I[14] = (k) => a.value.reportTheme = k),
|
|
5323
5323
|
placeholder: v.value,
|
|
5324
|
-
onChange:
|
|
5324
|
+
onChange: ae
|
|
5325
5325
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
5326
5326
|
R(y(Dn), {
|
|
5327
5327
|
modelValue: P.value,
|
|
@@ -5331,7 +5331,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5331
5331
|
size: "middle"
|
|
5332
5332
|
}, {
|
|
5333
5333
|
default: M(() => [
|
|
5334
|
-
|
|
5334
|
+
fe(
|
|
5335
5335
|
X(y(Q)("告警对象").value),
|
|
5336
5336
|
1
|
|
5337
5337
|
/* TEXT */
|
|
@@ -5415,8 +5415,8 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5415
5415
|
marginRight: "0"
|
|
5416
5416
|
}, {
|
|
5417
5417
|
default: M(() => [
|
|
5418
|
-
x("div",
|
|
5419
|
-
R(y(
|
|
5418
|
+
x("div", Ep, [
|
|
5419
|
+
R(y(ds), {
|
|
5420
5420
|
class: "select",
|
|
5421
5421
|
modelValue: a.value.interval,
|
|
5422
5422
|
"onUpdate:modelValue": I[25] || (I[25] = (k) => a.value.interval = k),
|
|
@@ -5455,18 +5455,18 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5455
5455
|
}, 8, ["modelValue"])
|
|
5456
5456
|
]));
|
|
5457
5457
|
}
|
|
5458
|
-
}),
|
|
5459
|
-
handleAlarmVue: () =>
|
|
5458
|
+
}), Pp = /* @__PURE__ */ be(kp, [["__scopeId", "data-v-1ecf3324"]]), Bp = (n, e, t) => ({
|
|
5459
|
+
handleAlarmVue: () => se(Pp, {
|
|
5460
5460
|
handerIds: e.value,
|
|
5461
5461
|
projectId: dt().id,
|
|
5462
5462
|
ref: n,
|
|
5463
5463
|
onEmitFn: (r, s) => {
|
|
5464
5464
|
}
|
|
5465
5465
|
})
|
|
5466
|
-
}),
|
|
5466
|
+
}), Op = { class: "alarm-msg" }, $p = { style: { position: "relative" } }, Dp = { class: "title-left" }, Lp = { class: "title-box" }, xp = { class: "content-box" }, Mp = { class: "alarm-msg-line" }, Rp = { class: "alarm-msg-line-left" }, Qp = { class: "alarm-msg-line" }, jp = { class: "alarm-msg-line-left" }, Hp = { class: "alarm-msg-line-right alarm-content-object" }, Np = { class: "alarm-msg-line" }, Up = { class: "alarm-msg-line-left" }, Fp = { class: "alarm-msg-line-right alarm-content" }, Wp = { class: "btn-box" }, Jp = {
|
|
5467
5467
|
name: "alarm"
|
|
5468
|
-
},
|
|
5469
|
-
...
|
|
5468
|
+
}, Vp = /* @__PURE__ */ pe({
|
|
5469
|
+
...Jp,
|
|
5470
5470
|
props: {
|
|
5471
5471
|
alarmhandle: { type: Boolean, default: !1 },
|
|
5472
5472
|
msgItem: { default: {} }
|
|
@@ -5479,12 +5479,12 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5479
5479
|
o("handerDetail", t.msgItem);
|
|
5480
5480
|
};
|
|
5481
5481
|
return (i, l) => (H(), de(
|
|
5482
|
-
|
|
5482
|
+
Ve,
|
|
5483
5483
|
null,
|
|
5484
5484
|
[
|
|
5485
5485
|
U(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
5486
|
-
x("div",
|
|
5487
|
-
x("div",
|
|
5486
|
+
x("div", Op, [
|
|
5487
|
+
x("div", $p, [
|
|
5488
5488
|
x(
|
|
5489
5489
|
"div",
|
|
5490
5490
|
{
|
|
@@ -5492,13 +5492,13 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5492
5492
|
class: "title-detail"
|
|
5493
5493
|
},
|
|
5494
5494
|
[
|
|
5495
|
-
x("div",
|
|
5495
|
+
x("div", Dp, [
|
|
5496
5496
|
U(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
5497
5497
|
!\r
|
|
5498
5498
|
</div> `),
|
|
5499
5499
|
x(
|
|
5500
5500
|
"div",
|
|
5501
|
-
|
|
5501
|
+
Lp,
|
|
5502
5502
|
X(y(Q)("新告警").value),
|
|
5503
5503
|
1
|
|
5504
5504
|
/* TEXT */
|
|
@@ -5515,11 +5515,11 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5515
5515
|
4
|
|
5516
5516
|
/* STYLE */
|
|
5517
5517
|
),
|
|
5518
|
-
x("div",
|
|
5519
|
-
x("div",
|
|
5518
|
+
x("div", xp, [
|
|
5519
|
+
x("div", Mp, [
|
|
5520
5520
|
x(
|
|
5521
5521
|
"div",
|
|
5522
|
-
|
|
5522
|
+
Rp,
|
|
5523
5523
|
X(y(Q)("告警等级:").value),
|
|
5524
5524
|
1
|
|
5525
5525
|
/* TEXT */
|
|
@@ -5535,39 +5535,39 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5535
5535
|
/* TEXT, STYLE */
|
|
5536
5536
|
)
|
|
5537
5537
|
]),
|
|
5538
|
-
x("div",
|
|
5538
|
+
x("div", Qp, [
|
|
5539
5539
|
x(
|
|
5540
5540
|
"div",
|
|
5541
|
-
|
|
5541
|
+
jp,
|
|
5542
5542
|
X(y(Q)("告警对象:").value),
|
|
5543
5543
|
1
|
|
5544
5544
|
/* TEXT */
|
|
5545
5545
|
),
|
|
5546
5546
|
x(
|
|
5547
5547
|
"div",
|
|
5548
|
-
|
|
5548
|
+
Hp,
|
|
5549
5549
|
X(i.msgItem.equipmentName || ""),
|
|
5550
5550
|
1
|
|
5551
5551
|
/* TEXT */
|
|
5552
5552
|
)
|
|
5553
5553
|
]),
|
|
5554
|
-
x("div",
|
|
5554
|
+
x("div", Np, [
|
|
5555
5555
|
x(
|
|
5556
5556
|
"div",
|
|
5557
|
-
|
|
5557
|
+
Up,
|
|
5558
5558
|
X(y(Q)("告警内容:").value),
|
|
5559
5559
|
1
|
|
5560
5560
|
/* TEXT */
|
|
5561
5561
|
),
|
|
5562
5562
|
x(
|
|
5563
5563
|
"div",
|
|
5564
|
-
|
|
5564
|
+
Fp,
|
|
5565
5565
|
X(i.msgItem.alarmContent || ""),
|
|
5566
5566
|
1
|
|
5567
5567
|
/* TEXT */
|
|
5568
5568
|
)
|
|
5569
5569
|
]),
|
|
5570
|
-
x("div",
|
|
5570
|
+
x("div", Wp, [
|
|
5571
5571
|
i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (H(), V(y(Oe), {
|
|
5572
5572
|
key: 0,
|
|
5573
5573
|
block: "",
|
|
@@ -5576,7 +5576,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5576
5576
|
size: "middle"
|
|
5577
5577
|
}, {
|
|
5578
5578
|
default: M(() => [
|
|
5579
|
-
|
|
5579
|
+
fe(
|
|
5580
5580
|
X(y(Q)("设备详情").value),
|
|
5581
5581
|
1
|
|
5582
5582
|
/* TEXT */
|
|
@@ -5593,7 +5593,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5593
5593
|
size: "middle"
|
|
5594
5594
|
}, {
|
|
5595
5595
|
default: M(() => [
|
|
5596
|
-
|
|
5596
|
+
fe(
|
|
5597
5597
|
X(y(Q)("处理").value),
|
|
5598
5598
|
1
|
|
5599
5599
|
/* TEXT */
|
|
@@ -5612,7 +5612,7 @@ const sp = je(`/api/tool/event-bus/${xt}/`), Ut = sp.post("/publish"), ip = on.g
|
|
|
5612
5612
|
));
|
|
5613
5613
|
}
|
|
5614
5614
|
});
|
|
5615
|
-
let
|
|
5615
|
+
let zp = (n = 21) => {
|
|
5616
5616
|
let e = "", t = crypto.getRandomValues(new Uint8Array(n));
|
|
5617
5617
|
for (; n--; ) {
|
|
5618
5618
|
let o = t[n] & 63;
|
|
@@ -5620,7 +5620,7 @@ let Vp = (n = 21) => {
|
|
|
5620
5620
|
}
|
|
5621
5621
|
return e;
|
|
5622
5622
|
};
|
|
5623
|
-
const
|
|
5623
|
+
const qp = () => {
|
|
5624
5624
|
const n = E(null), e = E(0), t = E(null), o = E(null), r = E([]), s = E([]), i = E(!1), l = E(!1), c = E(!1), a = E({
|
|
5625
5625
|
playId: "",
|
|
5626
5626
|
// 播放的告警的recordId
|
|
@@ -5647,7 +5647,7 @@ const zp = () => {
|
|
|
5647
5647
|
C.push({ alarmId: b.recordId }), r.value = C, (P = t.value) == null || P.open();
|
|
5648
5648
|
}, { entryApp: m } = It.hooks.useEntryApp(), p = (b) => {
|
|
5649
5649
|
Bo(b.equipmentCode, b.equipmentPanelCode);
|
|
5650
|
-
}, { handleAlarmVue: g } =
|
|
5650
|
+
}, { handleAlarmVue: g } = Bp(t, r), S = async () => {
|
|
5651
5651
|
var P;
|
|
5652
5652
|
const C = (((P = W().appcategorys) == null ? void 0 : P.map((D) => D.apps).flat()) ?? []).find((D) => D.code === "alarm");
|
|
5653
5653
|
C && m({ microApp: C, menuPath: `/${C.routeUrl}/realTimeAlarm` });
|
|
@@ -5658,13 +5658,13 @@ const zp = () => {
|
|
|
5658
5658
|
}
|
|
5659
5659
|
}, d = (b) => {
|
|
5660
5660
|
if (!b) return;
|
|
5661
|
-
const C =
|
|
5661
|
+
const C = zp();
|
|
5662
5662
|
bt.open({
|
|
5663
5663
|
key: C,
|
|
5664
5664
|
class: "alarm-notify",
|
|
5665
5665
|
message: Q("新告警").value,
|
|
5666
5666
|
placement: "bottomRight",
|
|
5667
|
-
description:
|
|
5667
|
+
description: se(Vp, {
|
|
5668
5668
|
msgItem: b,
|
|
5669
5669
|
alarmhandle: i.value,
|
|
5670
5670
|
onHanderDetail: p,
|
|
@@ -5708,7 +5708,7 @@ const zp = () => {
|
|
|
5708
5708
|
a.value.loopCount = a.value.loopCount + 1, a.value.loopTotalCount && a.value.loopTotalCount && (a.value.loopCount == a.value.loopTotalCount ? (a.value.playPath = "", a.value.isplay = !1, a.value.playId = "", a.value.loopTotalCount = 0, a.value.loopCount = 0, a.value.playLine = null) : o.value.play());
|
|
5709
5709
|
};
|
|
5710
5710
|
}, O = async () => {
|
|
5711
|
-
const [b, C] = await
|
|
5711
|
+
const [b, C] = await hp().run();
|
|
5712
5712
|
b || (c.value = C.isEnable);
|
|
5713
5713
|
};
|
|
5714
5714
|
return {
|
|
@@ -5719,7 +5719,7 @@ const zp = () => {
|
|
|
5719
5719
|
handleAlarmVue: g,
|
|
5720
5720
|
creatAlarmSocket: async () => {
|
|
5721
5721
|
O();
|
|
5722
|
-
const [b, C] = await
|
|
5722
|
+
const [b, C] = await up().run({
|
|
5723
5723
|
code: "alarm",
|
|
5724
5724
|
showBtn: !0
|
|
5725
5725
|
});
|
|
@@ -5742,16 +5742,16 @@ const zp = () => {
|
|
|
5742
5742
|
}));
|
|
5743
5743
|
}
|
|
5744
5744
|
};
|
|
5745
|
-
},
|
|
5745
|
+
}, Kp = ["src", "muted", "loop"], Gp = /* @__PURE__ */ pe({
|
|
5746
5746
|
__name: "index",
|
|
5747
5747
|
setup(n) {
|
|
5748
|
-
const { alarmSocket: e, creatAlarmSocket: t, audioObj: o, audioAlarmRef: r, handleAlarmVue: s } =
|
|
5749
|
-
return
|
|
5748
|
+
const { alarmSocket: e, creatAlarmSocket: t, audioObj: o, audioAlarmRef: r, handleAlarmVue: s } = qp();
|
|
5749
|
+
return je(async () => {
|
|
5750
5750
|
await Pt(), t();
|
|
5751
5751
|
}), ut(() => {
|
|
5752
5752
|
e.value && e.value.disconnect(), e.value = null;
|
|
5753
5753
|
}), (i, l) => (H(), de(
|
|
5754
|
-
|
|
5754
|
+
Ve,
|
|
5755
5755
|
null,
|
|
5756
5756
|
[
|
|
5757
5757
|
R(y(s)),
|
|
@@ -5763,24 +5763,24 @@ const zp = () => {
|
|
|
5763
5763
|
muted: !y(o).isplay,
|
|
5764
5764
|
loop: y(o).loop,
|
|
5765
5765
|
autoplay: ""
|
|
5766
|
-
}, null, 8,
|
|
5766
|
+
}, null, 8, Kp)
|
|
5767
5767
|
],
|
|
5768
5768
|
64
|
|
5769
5769
|
/* STABLE_FRAGMENT */
|
|
5770
5770
|
));
|
|
5771
5771
|
}
|
|
5772
|
-
}),
|
|
5772
|
+
}), Xp = { class: "das-main-app-container" }, Zp = /* @__PURE__ */ pe({
|
|
5773
5773
|
__name: "index",
|
|
5774
5774
|
setup(n) {
|
|
5775
|
-
const { isFullscreen: e } = pt(), t = Ee(() => !e.value), o = Ee(() => ee.excludeRoutes), r = Ee(() => ee.routeKeepAliveVisible), s = Ee(() => ({ mode: St.value === 1 ? "vertical" : "inline" })), { initNextTick: i } =
|
|
5776
|
-
|
|
5777
|
-
const { $changePwd: u, $personSetDialog: m } =
|
|
5778
|
-
|
|
5779
|
-
const { fontColor: f, backgroudColor: d, borderColor: v } =
|
|
5780
|
-
return
|
|
5781
|
-
R(y(
|
|
5775
|
+
const { isFullscreen: e } = pt(), t = Ee(() => !e.value), o = Ee(() => ee.excludeRoutes), r = Ee(() => ee.routeKeepAliveVisible), s = Ee(() => ({ mode: St.value === 1 ? "vertical" : "inline" })), { initNextTick: i } = _u(), { innerPage: l, commandList: c, initNextTick: a } = wu(i);
|
|
5776
|
+
Tu(l, i, a), Su(), Iu(), Ou();
|
|
5777
|
+
const { $changePwd: u, $personSetDialog: m } = ku(), { changeEnterprisesVisible: p, userId: g, tenantId: S, changeEnterprise: w } = hr();
|
|
5778
|
+
Cu();
|
|
5779
|
+
const { fontColor: f, backgroudColor: d, borderColor: v } = Eu();
|
|
5780
|
+
return Qu(), ju(c), Hu(), Uu(), md(), cp(), (_, h) => (H(), de("div", Xp, [
|
|
5781
|
+
R(y(Os), { platformInitNextTick: y(i) }, {
|
|
5782
5782
|
default: M(() => [
|
|
5783
|
-
R(
|
|
5783
|
+
R(gs, {
|
|
5784
5784
|
showLayout: t.value,
|
|
5785
5785
|
excludeRoutes: o.value,
|
|
5786
5786
|
routeKeepAliveVisible: r.value,
|
|
@@ -5792,16 +5792,16 @@ const zp = () => {
|
|
|
5792
5792
|
/* STABLE */
|
|
5793
5793
|
}, 8, ["platformInitNextTick"]),
|
|
5794
5794
|
U(" 切换租户 "),
|
|
5795
|
-
R(y(
|
|
5795
|
+
R(y(Nr), {
|
|
5796
5796
|
visible: y(p),
|
|
5797
|
-
"onUpdate:visible": h[0] || (h[0] = (T) =>
|
|
5797
|
+
"onUpdate:visible": h[0] || (h[0] = (T) => Lr(p) ? p.value = T : null),
|
|
5798
5798
|
userId: y(g),
|
|
5799
5799
|
tenantId: y(S),
|
|
5800
5800
|
onConfirm: y(w)
|
|
5801
5801
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
5802
5802
|
U(" 修改密码 "),
|
|
5803
5803
|
R(
|
|
5804
|
-
y(
|
|
5804
|
+
y(Hr),
|
|
5805
5805
|
{
|
|
5806
5806
|
ref_key: "$changePwd",
|
|
5807
5807
|
ref: u
|
|
@@ -5812,7 +5812,7 @@ const zp = () => {
|
|
|
5812
5812
|
),
|
|
5813
5813
|
U(" 个性化设置 "),
|
|
5814
5814
|
R(
|
|
5815
|
-
y(
|
|
5815
|
+
y(hu),
|
|
5816
5816
|
{
|
|
5817
5817
|
ref_key: "$personSetDialog",
|
|
5818
5818
|
ref: m
|
|
@@ -5822,23 +5822,23 @@ const zp = () => {
|
|
|
5822
5822
|
/* NEED_PATCH */
|
|
5823
5823
|
),
|
|
5824
5824
|
U(" 告警 "),
|
|
5825
|
-
R(y(
|
|
5825
|
+
R(y(Gp))
|
|
5826
5826
|
]));
|
|
5827
5827
|
}
|
|
5828
|
-
}),
|
|
5828
|
+
}), Yp = /* @__PURE__ */ be(Zp, [["__scopeId", "data-v-45ef70df"]]);
|
|
5829
5829
|
E("@das-fed/web");
|
|
5830
|
-
const
|
|
5830
|
+
const ef = [
|
|
5831
5831
|
{
|
|
5832
5832
|
path: Se,
|
|
5833
|
-
component: () => import("./index-
|
|
5833
|
+
component: () => import("./index-DiKwf0Vc.js")
|
|
5834
5834
|
},
|
|
5835
5835
|
{
|
|
5836
5836
|
path: Do,
|
|
5837
|
-
component: () => import("./index-
|
|
5837
|
+
component: () => import("./index-DCVBm-dM.js")
|
|
5838
5838
|
}
|
|
5839
|
-
],
|
|
5840
|
-
routes:
|
|
5841
|
-
Layout:
|
|
5839
|
+
], Jf = {
|
|
5840
|
+
routes: ef,
|
|
5841
|
+
Layout: Yp,
|
|
5842
5842
|
data: {
|
|
5843
5843
|
homeInfo: dr
|
|
5844
5844
|
},
|
|
@@ -5851,9 +5851,9 @@ export {
|
|
|
5851
5851
|
be as _,
|
|
5852
5852
|
lo as a,
|
|
5853
5853
|
uo as b,
|
|
5854
|
-
|
|
5854
|
+
Ke as c,
|
|
5855
5855
|
zt as d,
|
|
5856
5856
|
ee as l,
|
|
5857
|
-
|
|
5857
|
+
Jf as m,
|
|
5858
5858
|
tt as u
|
|
5859
5859
|
};
|