@das-fed/web 7.0.7-hot.55 → 7.0.7-hot.57
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/package.json +6 -6
- package/packages/main-app-framework/{index-piUmVqWW.js → index-BjGHESUs.js} +1 -1
- package/packages/main-app-framework/index-BjGHESUs.js.gz +0 -0
- package/packages/main-app-framework/{index-BsEr7DDs.js → index-DEJ4UzwO.js} +714 -712
- package/packages/main-app-framework/index-DEJ4UzwO.js.gz +0 -0
- package/packages/main-app-framework/{index-DHcyESJs.js → index-_-DzRcm4.js} +1 -1
- package/packages/main-app-framework/runtime.js +1 -1
- package/packages/main-app-framework/index-BsEr7DDs.js.gz +0 -0
- package/packages/main-app-framework/index-piUmVqWW.js.gz +0 -0
|
@@ -17,44 +17,45 @@ import { oauthServer as ld, justauth as L0, enterpriseright as na, iotModules as
|
|
|
17
17
|
import { createService as wt } from "@das-fed/utils/create-api-service";
|
|
18
18
|
import { getConfig as Vn } from "@das-fed/utils/config";
|
|
19
19
|
import { getAccessToken as uC, removeAccessToken as fC, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
|
|
20
|
-
import { login as cd, real_uri as ud, getTokenParams as $0, tokenStorage as fd, refreshToken as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
20
|
+
import { login as cd, real_uri as ud, getTokenParams as $0, getLoginType as dC, tokenStorage as fd, refreshToken as pC } from "@das-fed/utils/create-api-service/sso";
|
|
21
|
+
import { hasUnauthorizedRecovery as hC } from "@das-fed/utils/create-api-service/unauthorized-recovery";
|
|
22
|
+
import { useGetAuth as vC } from "@das-fed/utils/hooks/use-get-auth";
|
|
23
|
+
import { systemConfiguration as xC, portal as gC, enterpriseright as N0, createService as io, spaceManage as dd } from "@das-fed/utils/api-services";
|
|
23
24
|
import A0 from "dayjs";
|
|
24
25
|
import { DasDialog as Er } from "@das-fed/ui/packages/components/dialog/index";
|
|
25
26
|
import { DasButton as It } from "@das-fed/ui/packages/components/button/index";
|
|
26
27
|
import { vDasTooltip as Ki } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
27
|
-
import { setPersonalInfo as
|
|
28
|
-
import { isThirdLogin as
|
|
29
|
-
import { setThemeRule as
|
|
30
|
-
import { devicePanelShow as pd, closeDevicePanel as
|
|
31
|
-
import { DasIconWarningFace as
|
|
28
|
+
import { setPersonalInfo as mC } from "@das-fed/utils/common-info/set-personal-info";
|
|
29
|
+
import { isThirdLogin as _C, thirdLogout as CC } from "@das-fed/utils/create-api-service/thirdLogout";
|
|
30
|
+
import { setThemeRule as yC, getVar as Du } from "@das-fed/web/packages/theme/index";
|
|
31
|
+
import { devicePanelShow as pd, closeDevicePanel as bC, alarmDevicePanelShow as wC, closeAlarmPanel as AC } from "@das-fed/ui/packages/business-components/device-panel/index";
|
|
32
|
+
import { DasIconWarningFace as EC } from "@das-fed/ui/packages/icons/warning-face/index";
|
|
32
33
|
import { socketService as oa } from "@das-fed/utils/webSocket-service";
|
|
33
|
-
import { userInfoNextTick as
|
|
34
|
+
import { userInfoNextTick as SC, tokenNextTick as ia } from "@das-fed/utils/nextTiken";
|
|
34
35
|
import { mainAppFramework as Gi } from "@das-fed/web/packages/main-app-framework/index";
|
|
35
36
|
import { DasAutoRegisterIcon as hd, DasIcon as Yr } from "@das-fed/ui/packages/components/icon/index";
|
|
36
37
|
import { DasTooltip as Bt } from "@das-fed/ui/packages/components/tooltip/index";
|
|
37
|
-
import { DasLivePlayer as
|
|
38
|
+
import { DasLivePlayer as BC } from "@das-fed/ui/packages/components/live-player/index";
|
|
38
39
|
import { DasSpin as O0 } from "@das-fed/ui/packages/components/spin/index";
|
|
39
|
-
import { DasWatermark as
|
|
40
|
-
import { DasDrawer as
|
|
41
|
-
import { DasTabs as
|
|
42
|
-
import { DasUpdateConfirmDialogRef as
|
|
40
|
+
import { DasWatermark as kC } from "@das-fed/ui/packages/components/watermark/index";
|
|
41
|
+
import { DasDrawer as DC } from "@das-fed/ui/packages/components/drawer/index";
|
|
42
|
+
import { DasTabs as IC } from "@das-fed/ui/packages/components/tabs/index";
|
|
43
|
+
import { DasUpdateConfirmDialogRef as TC, DasUpdateConfirmDialog as FC } from "@das-fed/ui/packages/business-components/update-confirm-dialog/index";
|
|
43
44
|
import { DasRadio as _r } from "@das-fed/ui/packages/components/radio/index";
|
|
44
|
-
import { useImageViewer as
|
|
45
|
+
import { useImageViewer as PC } from "@das-fed/ui/packages/components/image-preview/index";
|
|
45
46
|
import { DasForm as U0 } from "@das-fed/ui/packages/components/form/index";
|
|
46
47
|
import { DasFormItem as St } from "@das-fed/ui/packages/components/form-item/index";
|
|
47
|
-
import { DasTable as
|
|
48
|
+
import { DasTable as RC, DasTableColumn as Ps } from "@das-fed/ui/packages/components/table/index";
|
|
48
49
|
import { DasSelect as M0 } from "@das-fed/ui/packages/components/select/index";
|
|
49
|
-
import { DasIconSearch as
|
|
50
|
-
import { DasTreeRef as
|
|
51
|
-
import { DasSearch as
|
|
50
|
+
import { DasIconSearch as LC } from "@das-fed/ui/packages/icons/search/index";
|
|
51
|
+
import { DasTreeRef as $C, DasTree as vd } from "@das-fed/ui/packages/components/tree/index";
|
|
52
|
+
import { DasSearch as NC } from "@das-fed/ui/packages/components/search/index";
|
|
52
53
|
import { DasInput as E0 } from "@das-fed/ui/packages/components/input/index";
|
|
53
54
|
import { DasMessage as xd } from "@das-fed/ui/packages/components/message/index";
|
|
54
|
-
import { DasScrollbar as
|
|
55
|
-
import { DasSelectList as
|
|
56
|
-
import { DasSplitPanel as
|
|
57
|
-
import { DasTreeSelect as
|
|
55
|
+
import { DasScrollbar as OC } from "@das-fed/ui/packages/components/scrollbar/index";
|
|
56
|
+
import { DasSelectList as UC } from "@das-fed/ui/packages/components/select-list/index";
|
|
57
|
+
import { DasSplitPanel as MC } from "@das-fed/ui/packages/components/split-panel/index";
|
|
58
|
+
import { DasTreeSelect as zC } from "@das-fed/ui/packages/components/tree-select/index";
|
|
58
59
|
import { DasCheckbox as Iu } from "@das-fed/ui/packages/components/checkbox/index";
|
|
59
60
|
const vn = "/home", jt = "/application", Tu = [
|
|
60
61
|
// { value: HomePath, label: '首页', path: HomePath, fixed: true },
|
|
@@ -77,15 +78,15 @@ const vn = "/home", jt = "/application", Tu = [
|
|
|
77
78
|
routeUrl: jt,
|
|
78
79
|
unClosed: !0
|
|
79
80
|
}
|
|
80
|
-
], br = "/outerView", gd = "/placeholder",
|
|
81
|
+
], br = "/outerView", gd = "/placeholder", HC = [
|
|
81
82
|
{ value: "0", label: "个性化设置" },
|
|
82
83
|
{ value: "1", label: "个人中心" },
|
|
83
84
|
{ value: "2", label: "修改密码" },
|
|
84
85
|
{ value: "3", label: "退出登录" }
|
|
85
|
-
],
|
|
86
|
+
], WC = {
|
|
86
87
|
key: 0,
|
|
87
88
|
class: "box-banner-wrap"
|
|
88
|
-
},
|
|
89
|
+
}, qC = { class: "icon-wrap" }, jC = /* @__PURE__ */ at({
|
|
89
90
|
__name: "banner",
|
|
90
91
|
emits: ["close-tip"],
|
|
91
92
|
setup(i, { emit: r }) {
|
|
@@ -99,8 +100,8 @@ const vn = "/home", jt = "/application", Tu = [
|
|
|
99
100
|
});
|
|
100
101
|
return nd(() => {
|
|
101
102
|
h();
|
|
102
|
-
}), (s, d) => a.value ? Ie("v-if", !0) : (_e(), Ke("div",
|
|
103
|
-
se("div",
|
|
103
|
+
}), (s, d) => a.value ? Ie("v-if", !0) : (_e(), Ke("div", WC, [
|
|
104
|
+
se("div", qC, [
|
|
104
105
|
ae(D(K_), {
|
|
105
106
|
class: "icons",
|
|
106
107
|
iconColor: "#fdaf1a"
|
|
@@ -123,7 +124,7 @@ const vn = "/home", jt = "/application", Tu = [
|
|
|
123
124
|
for (const [a, l] of r)
|
|
124
125
|
n[a] = l;
|
|
125
126
|
return n;
|
|
126
|
-
},
|
|
127
|
+
}, VC = /* @__PURE__ */ Ut(jC, [["__scopeId", "data-v-2470d845"]]), KC = /* @__PURE__ */ at({
|
|
127
128
|
__name: "index",
|
|
128
129
|
setup(i) {
|
|
129
130
|
const r = Ji(), n = z("");
|
|
@@ -133,9 +134,9 @@ const vn = "/home", jt = "/application", Tu = [
|
|
|
133
134
|
n.value = a;
|
|
134
135
|
},
|
|
135
136
|
{ immediate: !0 }
|
|
136
|
-
), (a, l) => n.value.startsWith("/iot/iot") ? (_e(), Ve(
|
|
137
|
+
), (a, l) => n.value.startsWith("/iot/iot") ? (_e(), Ve(VC, { key: 0 })) : Ie("v-if", !0);
|
|
137
138
|
}
|
|
138
|
-
}),
|
|
139
|
+
}), GC = /* @__PURE__ */ at({
|
|
139
140
|
__name: "base-layout",
|
|
140
141
|
props: {
|
|
141
142
|
loading: { type: Boolean, default: !1 },
|
|
@@ -184,7 +185,7 @@ const vn = "/home", jt = "/application", Tu = [
|
|
|
184
185
|
]),
|
|
185
186
|
banner: fe(() => [
|
|
186
187
|
sr(l.$slots, "banner", {}, () => [
|
|
187
|
-
ae(
|
|
188
|
+
ae(KC)
|
|
188
189
|
])
|
|
189
190
|
]),
|
|
190
191
|
_: 3
|
|
@@ -193,19 +194,19 @@ const vn = "/home", jt = "/application", Tu = [
|
|
|
193
194
|
}
|
|
194
195
|
});
|
|
195
196
|
var Fu;
|
|
196
|
-
const z0 = typeof window < "u",
|
|
197
|
+
const z0 = typeof window < "u", XC = (i) => typeof i == "string", QC = () => {
|
|
197
198
|
};
|
|
198
199
|
z0 && ((Fu = window == null ? void 0 : window.navigator) != null && Fu.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
199
200
|
function md(i) {
|
|
200
201
|
return typeof i == "function" ? i() : D(i);
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
+
function ZC(i) {
|
|
203
204
|
return i;
|
|
204
205
|
}
|
|
205
206
|
function _d(i) {
|
|
206
207
|
return R_() ? (L_(i), !0) : !1;
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function YC(i, r = !0) {
|
|
209
210
|
$_() ? An(i) : r ? i() : yr(i);
|
|
210
211
|
}
|
|
211
212
|
function Cd(i) {
|
|
@@ -213,11 +214,11 @@ function Cd(i) {
|
|
|
213
214
|
const n = md(i);
|
|
214
215
|
return (r = n == null ? void 0 : n.$el) != null ? r : n;
|
|
215
216
|
}
|
|
216
|
-
const
|
|
217
|
-
function
|
|
217
|
+
const JC = z0 ? window : void 0, ey = z0 ? window.document : void 0;
|
|
218
|
+
function ty(...i) {
|
|
218
219
|
let r, n, a, l;
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
220
|
+
if (XC(i[0]) || Array.isArray(i[0]) ? ([n, a, l] = i, r = JC) : [r, n, a, l] = i, !r)
|
|
221
|
+
return QC;
|
|
221
222
|
Array.isArray(n) || (n = [n]), Array.isArray(a) || (a = [a]);
|
|
222
223
|
const c = [], f = () => {
|
|
223
224
|
c.forEach((d) => d()), c.length = 0;
|
|
@@ -228,9 +229,9 @@ function JC(...i) {
|
|
|
228
229
|
};
|
|
229
230
|
return _d(s), s;
|
|
230
231
|
}
|
|
231
|
-
function
|
|
232
|
+
function ny(i, r = !1) {
|
|
232
233
|
const n = z(), a = () => n.value = !!i();
|
|
233
|
-
return a(),
|
|
234
|
+
return a(), YC(a, r), n;
|
|
234
235
|
}
|
|
235
236
|
const Pu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ru = "__vueuse_ssr_handlers__";
|
|
236
237
|
Pu[Ru] = Pu[Ru] || {};
|
|
@@ -277,9 +278,9 @@ const Lu = [
|
|
|
277
278
|
]
|
|
278
279
|
];
|
|
279
280
|
function Ho(i, r = {}) {
|
|
280
|
-
const { document: n =
|
|
281
|
+
const { document: n = ey, autoExit: a = !1 } = r, l = i || (n == null ? void 0 : n.querySelector("html")), c = z(!1);
|
|
281
282
|
let f = Lu[0];
|
|
282
|
-
const p =
|
|
283
|
+
const p = ny(() => {
|
|
283
284
|
if (n) {
|
|
284
285
|
for (const E of Lu)
|
|
285
286
|
if (E[1] in n)
|
|
@@ -301,7 +302,7 @@ function Ho(i, r = {}) {
|
|
|
301
302
|
async function C() {
|
|
302
303
|
c.value ? await x() : await _();
|
|
303
304
|
}
|
|
304
|
-
return n &&
|
|
305
|
+
return n && ty(n, w, () => {
|
|
305
306
|
c.value = !!(n != null && n[d]);
|
|
306
307
|
}, !1), a && _d(x), {
|
|
307
308
|
isSupported: p,
|
|
@@ -315,15 +316,15 @@ var $u;
|
|
|
315
316
|
(function(i) {
|
|
316
317
|
i.UP = "UP", i.RIGHT = "RIGHT", i.DOWN = "DOWN", i.LEFT = "LEFT", i.NONE = "NONE";
|
|
317
318
|
})($u || ($u = {}));
|
|
318
|
-
var
|
|
319
|
+
var ry = Object.defineProperty, Nu = Object.getOwnPropertySymbols, oy = Object.prototype.hasOwnProperty, iy = Object.prototype.propertyIsEnumerable, Ou = (i, r, n) => r in i ? ry(i, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[r] = n, ay = (i, r) => {
|
|
319
320
|
for (var n in r || (r = {}))
|
|
320
|
-
|
|
321
|
+
oy.call(r, n) && Ou(i, n, r[n]);
|
|
321
322
|
if (Nu)
|
|
322
323
|
for (var n of Nu(r))
|
|
323
|
-
|
|
324
|
+
iy.call(r, n) && Ou(i, n, r[n]);
|
|
324
325
|
return i;
|
|
325
326
|
};
|
|
326
|
-
const
|
|
327
|
+
const sy = {
|
|
327
328
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
328
329
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
329
330
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -349,10 +350,10 @@ const iy = {
|
|
|
349
350
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
350
351
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
351
352
|
};
|
|
352
|
-
|
|
353
|
-
linear:
|
|
354
|
-
},
|
|
355
|
-
const
|
|
353
|
+
ay({
|
|
354
|
+
linear: ZC
|
|
355
|
+
}, sy);
|
|
356
|
+
const ly = xC.get("watermark"), cy = /* @__PURE__ */ at({
|
|
356
357
|
__name: "index",
|
|
357
358
|
props: {
|
|
358
359
|
platformInitNextTick: {}
|
|
@@ -380,11 +381,11 @@ const ay = hC.get("watermark"), sy = /* @__PURE__ */ at({
|
|
|
380
381
|
}, x = async () => {
|
|
381
382
|
var m, y, S, k, R, T, P;
|
|
382
383
|
s.value = !0, await (r == null ? void 0 : r.platformInitNextTick());
|
|
383
|
-
const [E, b] = await
|
|
384
|
+
const [E, b] = await ly().run();
|
|
384
385
|
if (E) return null;
|
|
385
386
|
if (n.value = b, !!((m = n.value) != null && m.pageSwith)) {
|
|
386
387
|
c.value = [];
|
|
387
|
-
const { name: N, phone: I } = await
|
|
388
|
+
const { name: N, phone: I } = await SC();
|
|
388
389
|
let L = "";
|
|
389
390
|
if ((y = n.value) != null && y.nameSwith && N && (c.value.push(N), L = L + `${N} `), (S = n.value) != null && S.phoneSwith && I) {
|
|
390
391
|
const M = I.slice(-4);
|
|
@@ -418,7 +419,7 @@ const ay = hC.get("watermark"), sy = /* @__PURE__ */ at({
|
|
|
418
419
|
const E = !!((v = n.value) != null && v.pageSwith);
|
|
419
420
|
let b = ((m = C.query) == null ? void 0 : m.showWatermark) ?? !0;
|
|
420
421
|
b === "false" && (b = !1), w(!!(E && b));
|
|
421
|
-
}), (E, b) => (_e(), Ve(D(
|
|
422
|
+
}), (E, b) => (_e(), Ve(D(kC), {
|
|
422
423
|
class: "watermark",
|
|
423
424
|
font: p,
|
|
424
425
|
zIndex: 2147483647,
|
|
@@ -433,11 +434,11 @@ const ay = hC.get("watermark"), sy = /* @__PURE__ */ at({
|
|
|
433
434
|
/* FORWARDED */
|
|
434
435
|
}, 8, ["font", "content", "width", "height"]));
|
|
435
436
|
}
|
|
436
|
-
}),
|
|
437
|
+
}), uy = /* @__PURE__ */ Ut(cy, [["__scopeId", "data-v-dacc9554"]]), fy = {
|
|
437
438
|
"--menu-tip-diaolg-content": "#212121",
|
|
438
439
|
"--menu-tip-diaolg-divide": "#d9d9d9",
|
|
439
440
|
"--menu-tip-diaolg-info": "#999999"
|
|
440
|
-
},
|
|
441
|
+
}, dy = ["innerHTML"], py = { class: "footer" }, hy = /* @__PURE__ */ at({
|
|
441
442
|
__name: "tip",
|
|
442
443
|
props: {
|
|
443
444
|
title: {},
|
|
@@ -459,7 +460,7 @@ const ay = hC.get("watermark"), sy = /* @__PURE__ */ at({
|
|
|
459
460
|
onClosed: n.closeCallback
|
|
460
461
|
}, {
|
|
461
462
|
footer: fe(() => [
|
|
462
|
-
se("div",
|
|
463
|
+
se("div", py, [
|
|
463
464
|
ae(D(It), {
|
|
464
465
|
btnType: "default",
|
|
465
466
|
size: "small",
|
|
@@ -481,7 +482,7 @@ const ay = hC.get("watermark"), sy = /* @__PURE__ */ at({
|
|
|
481
482
|
se("div", {
|
|
482
483
|
class: "content",
|
|
483
484
|
innerHTML: n.content
|
|
484
|
-
}, null, 8,
|
|
485
|
+
}, null, 8, dy),
|
|
485
486
|
n.desc && n.desc.length ? (_e(), Ke(
|
|
486
487
|
Wn,
|
|
487
488
|
{ key: 0 },
|
|
@@ -520,18 +521,18 @@ const ay = hC.get("watermark"), sy = /* @__PURE__ */ at({
|
|
|
520
521
|
/* STABLE */
|
|
521
522
|
}, 8, ["modelValue", "width", "height", "title", "onClosed"]));
|
|
522
523
|
}
|
|
523
|
-
}),
|
|
524
|
+
}), vy = /* @__PURE__ */ Ut(hy, [["__scopeId", "data-v-816eb0f2"]]), Po = ({ title: i = "", content: r = "", desc: n = [] }) => new Promise((a) => {
|
|
524
525
|
const l = document.createElement("div");
|
|
525
526
|
l.setAttribute("id", "entry-app-dialog"), document.body.appendChild(l);
|
|
526
|
-
const f = kt(
|
|
527
|
+
const f = kt(vy, { title: i, content: r, desc: n, closeCallback: () => {
|
|
527
528
|
To(null, l), document.body.removeChild(l), a(null);
|
|
528
529
|
} });
|
|
529
530
|
To(f, l);
|
|
530
531
|
});
|
|
531
|
-
|
|
532
|
-
const
|
|
532
|
+
yC(fy);
|
|
533
|
+
const xy = (i = {}) => {
|
|
533
534
|
sessionStorage.setItem("userInfo", JSON.stringify(i));
|
|
534
|
-
},
|
|
535
|
+
}, gy = (i = {}) => {
|
|
535
536
|
var n;
|
|
536
537
|
sessionStorage.setItem("tenantInfo", JSON.stringify(i));
|
|
537
538
|
const r = {
|
|
@@ -541,17 +542,17 @@ const hy = (i = {}) => {
|
|
|
541
542
|
tenantId: ((n = i == null ? void 0 : i.tenant) == null ? void 0 : n.id) ?? ""
|
|
542
543
|
};
|
|
543
544
|
sessionStorage.setItem("hotentUserInfo", JSON.stringify(r));
|
|
544
|
-
},
|
|
545
|
+
}, my = (i) => {
|
|
545
546
|
sessionStorage.setItem("languages", JSON.stringify(i));
|
|
546
|
-
},
|
|
547
|
+
}, _y = (i = {}) => {
|
|
547
548
|
sessionStorage.setItem("home-config", JSON.stringify(i));
|
|
548
|
-
},
|
|
549
|
+
}, Cy = (i = "") => {
|
|
549
550
|
localStorage.setItem("fav-icon", i);
|
|
550
551
|
}, yd = (i) => {
|
|
551
552
|
sessionStorage.setItem("projectInfo", JSON.stringify(i || { id: 0 })), sessionStorage.setItem("project", (i == null ? void 0 : i.id) || 0);
|
|
552
|
-
},
|
|
553
|
+
}, yy = (i = {}) => {
|
|
553
554
|
sessionStorage.setItem("project-message", JSON.stringify(i));
|
|
554
|
-
},
|
|
555
|
+
}, by = () => {
|
|
555
556
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
556
557
|
}, Vt = (i) => {
|
|
557
558
|
let r = Dt();
|
|
@@ -591,7 +592,7 @@ const hy = (i = {}) => {
|
|
|
591
592
|
for (const n in r.subAppList)
|
|
592
593
|
r.subAppList[n].code === r.currentSubAppCode && (r.subAppList[n].currentMenuCode = i);
|
|
593
594
|
sessionStorage.setItem("subApps", JSON.stringify(r));
|
|
594
|
-
},
|
|
595
|
+
}, wy = (i, r) => {
|
|
595
596
|
const n = "permission-btn", a = JSON.parse(sessionStorage.getItem(n) || "{}") || {}, l = i != null && i.length ? i.filter((h) => h.routeUrl) : [], c = i != null && i.length ? i.filter((h) => !h.routeUrl && h.children).map((h) => h.children).flat() : [], f = [...l, ...c], p = {};
|
|
596
597
|
return f.forEach((h) => {
|
|
597
598
|
var x;
|
|
@@ -621,13 +622,13 @@ const hy = (i = {}) => {
|
|
|
621
622
|
p[s].push(E), d && s !== d && (p["origin-auth"] || (p["origin-auth"] = {}), p["origin-auth"][d] || (p["origin-auth"][d] = []), p["origin-auth"][d].push(E));
|
|
622
623
|
}));
|
|
623
624
|
}), a[r] = p, sessionStorage.setItem(n, JSON.stringify(a)), a;
|
|
624
|
-
},
|
|
625
|
+
}, Ay = (i, r) => {
|
|
625
626
|
const n = "breadcrumb", a = i.filter((c) => c.routeUrl), l = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
|
|
626
627
|
return a.forEach((c) => {
|
|
627
628
|
const p = ((c == null ? void 0 : c.style) ?? 1) === 1, h = c.code;
|
|
628
629
|
l[r] || (l[r] = {}), l[r][h] = p;
|
|
629
630
|
}), sessionStorage.setItem(n, JSON.stringify(l)), l;
|
|
630
|
-
},
|
|
631
|
+
}, Ey = (i, r) => {
|
|
631
632
|
const n = "tabStyle", a = i.filter((c) => c.routeUrl), l = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
|
|
632
633
|
return a.forEach((c) => {
|
|
633
634
|
const f = c.code, p = {
|
|
@@ -636,13 +637,13 @@ const hy = (i = {}) => {
|
|
|
636
637
|
};
|
|
637
638
|
l[r] || (l[r] = {}), l[r][f] = p;
|
|
638
639
|
}), sessionStorage.setItem(n, JSON.stringify(l)), l;
|
|
639
|
-
},
|
|
640
|
+
}, Sy = (i) => {
|
|
640
641
|
sessionStorage.setItem("instance", JSON.stringify(i));
|
|
641
|
-
},
|
|
642
|
+
}, By = () => {
|
|
642
643
|
sessionStorage.removeItem("tabStyle");
|
|
643
|
-
},
|
|
644
|
+
}, ky = () => {
|
|
644
645
|
sessionStorage.removeItem("breadcrumb");
|
|
645
|
-
},
|
|
646
|
+
}, Dy = () => {
|
|
646
647
|
sessionStorage.removeItem("tabs");
|
|
647
648
|
}, wd = () => {
|
|
648
649
|
Ot([
|
|
@@ -652,11 +653,11 @@ const hy = (i = {}) => {
|
|
|
652
653
|
{ key: "menuCollapses", value: [] },
|
|
653
654
|
{ key: "subAppList", value: [] }
|
|
654
655
|
]);
|
|
655
|
-
},
|
|
656
|
+
}, Iy = () => {
|
|
656
657
|
sessionStorage.removeItem("permission-btn");
|
|
657
658
|
}, H0 = () => {
|
|
658
|
-
|
|
659
|
-
},
|
|
659
|
+
Iy(), wd(), Dy(), ky(), By();
|
|
660
|
+
}, Ty = (i) => {
|
|
660
661
|
const r = JSON.parse(sessionStorage.getItem(i) || "{}");
|
|
661
662
|
if (r && JSON.stringify(r) !== "{}" && r != null && r.exitConfirmPages && r.exitConfirmPages.length) {
|
|
662
663
|
const n = (r == null ? void 0 : r.currentPage) ?? "";
|
|
@@ -675,10 +676,10 @@ const hy = (i = {}) => {
|
|
|
675
676
|
}
|
|
676
677
|
};
|
|
677
678
|
var Be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
678
|
-
function
|
|
679
|
+
function Fy(i) {
|
|
679
680
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
680
681
|
}
|
|
681
|
-
function
|
|
682
|
+
function Py(i) {
|
|
682
683
|
if (i.__esModule) return i;
|
|
683
684
|
var r = i.default;
|
|
684
685
|
if (typeof r == "function") {
|
|
@@ -698,14 +699,14 @@ function Ty(i) {
|
|
|
698
699
|
}), n;
|
|
699
700
|
}
|
|
700
701
|
var Ad = { exports: {} };
|
|
701
|
-
function
|
|
702
|
+
function Ry(i) {
|
|
702
703
|
throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
703
704
|
}
|
|
704
705
|
var Rs = { exports: {} };
|
|
705
|
-
const
|
|
706
|
+
const Ly = {}, $y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
706
707
|
__proto__: null,
|
|
707
|
-
default:
|
|
708
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
708
|
+
default: Ly
|
|
709
|
+
}, Symbol.toStringTag, { value: "Module" })), Ny = /* @__PURE__ */ Py($y);
|
|
709
710
|
var Uu;
|
|
710
711
|
function Me() {
|
|
711
712
|
return Uu || (Uu = 1, function(i, r) {
|
|
@@ -714,9 +715,9 @@ function Me() {
|
|
|
714
715
|
})(Be, function() {
|
|
715
716
|
var n = n || function(a, l) {
|
|
716
717
|
var c;
|
|
717
|
-
if (typeof window < "u" && window.crypto && (c = window.crypto), typeof self < "u" && self.crypto && (c = self.crypto), typeof globalThis < "u" && globalThis.crypto && (c = globalThis.crypto), !c && typeof window < "u" && window.msCrypto && (c = window.msCrypto), !c && typeof Be < "u" && Be.crypto && (c = Be.crypto), !c && typeof
|
|
718
|
+
if (typeof window < "u" && window.crypto && (c = window.crypto), typeof self < "u" && self.crypto && (c = self.crypto), typeof globalThis < "u" && globalThis.crypto && (c = globalThis.crypto), !c && typeof window < "u" && window.msCrypto && (c = window.msCrypto), !c && typeof Be < "u" && Be.crypto && (c = Be.crypto), !c && typeof Ry == "function")
|
|
718
719
|
try {
|
|
719
|
-
c =
|
|
720
|
+
c = Ny;
|
|
720
721
|
} catch {
|
|
721
722
|
}
|
|
722
723
|
var f = function() {
|
|
@@ -1438,7 +1439,7 @@ function aa() {
|
|
|
1438
1439
|
}(Ls)), Ls.exports;
|
|
1439
1440
|
}
|
|
1440
1441
|
var $s = { exports: {} }, zu;
|
|
1441
|
-
function
|
|
1442
|
+
function Oy() {
|
|
1442
1443
|
return zu || (zu = 1, function(i, r) {
|
|
1443
1444
|
(function(n, a) {
|
|
1444
1445
|
i.exports = a(Me());
|
|
@@ -1460,7 +1461,7 @@ function $y() {
|
|
|
1460
1461
|
}($s)), $s.exports;
|
|
1461
1462
|
}
|
|
1462
1463
|
var Ns = { exports: {} }, Hu;
|
|
1463
|
-
function
|
|
1464
|
+
function Uy() {
|
|
1464
1465
|
return Hu || (Hu = 1, function(i, r) {
|
|
1465
1466
|
(function(n, a) {
|
|
1466
1467
|
i.exports = a(Me());
|
|
@@ -1629,7 +1630,7 @@ function kr() {
|
|
|
1629
1630
|
}(Os)), Os.exports;
|
|
1630
1631
|
}
|
|
1631
1632
|
var Us = { exports: {} }, qu;
|
|
1632
|
-
function
|
|
1633
|
+
function My() {
|
|
1633
1634
|
return qu || (qu = 1, function(i, r) {
|
|
1634
1635
|
(function(n, a) {
|
|
1635
1636
|
i.exports = a(Me());
|
|
@@ -1873,7 +1874,7 @@ function W0() {
|
|
|
1873
1874
|
}(Hs)), Hs.exports;
|
|
1874
1875
|
}
|
|
1875
1876
|
var Ws = { exports: {} }, Gu;
|
|
1876
|
-
function
|
|
1877
|
+
function zy() {
|
|
1877
1878
|
return Gu || (Gu = 1, function(i, r) {
|
|
1878
1879
|
(function(n, a, l) {
|
|
1879
1880
|
i.exports = a(Me(), W0());
|
|
@@ -2044,7 +2045,7 @@ function Sd() {
|
|
|
2044
2045
|
}(qs)), qs.exports;
|
|
2045
2046
|
}
|
|
2046
2047
|
var js = { exports: {} }, Qu;
|
|
2047
|
-
function
|
|
2048
|
+
function Hy() {
|
|
2048
2049
|
return Qu || (Qu = 1, function(i, r) {
|
|
2049
2050
|
(function(n, a, l) {
|
|
2050
2051
|
i.exports = a(Me(), aa(), Sd());
|
|
@@ -2074,7 +2075,7 @@ function My() {
|
|
|
2074
2075
|
}(js)), js.exports;
|
|
2075
2076
|
}
|
|
2076
2077
|
var Vs = { exports: {} }, Zu;
|
|
2077
|
-
function
|
|
2078
|
+
function Wy() {
|
|
2078
2079
|
return Zu || (Zu = 1, function(i, r) {
|
|
2079
2080
|
(function(n, a, l) {
|
|
2080
2081
|
i.exports = a(Me(), aa());
|
|
@@ -2184,7 +2185,7 @@ function zy() {
|
|
|
2184
2185
|
}(Vs)), Vs.exports;
|
|
2185
2186
|
}
|
|
2186
2187
|
var Ks = { exports: {} }, Yu;
|
|
2187
|
-
function
|
|
2188
|
+
function qy() {
|
|
2188
2189
|
return Yu || (Yu = 1, function(i, r) {
|
|
2189
2190
|
(function(n, a) {
|
|
2190
2191
|
i.exports = a(Me());
|
|
@@ -2655,7 +2656,7 @@ function q0() {
|
|
|
2655
2656
|
}(Gs)), Gs.exports;
|
|
2656
2657
|
}
|
|
2657
2658
|
var Xs = { exports: {} }, ef;
|
|
2658
|
-
function
|
|
2659
|
+
function jy() {
|
|
2659
2660
|
return ef || (ef = 1, function(i, r) {
|
|
2660
2661
|
(function(n, a, l) {
|
|
2661
2662
|
i.exports = a(Me(), W0(), q0());
|
|
@@ -3323,7 +3324,7 @@ function Ct() {
|
|
|
3323
3324
|
}(Zs)), Zs.exports;
|
|
3324
3325
|
}
|
|
3325
3326
|
var Ys = { exports: {} }, rf;
|
|
3326
|
-
function
|
|
3327
|
+
function Vy() {
|
|
3327
3328
|
return rf || (rf = 1, function(i, r) {
|
|
3328
3329
|
(function(n, a, l) {
|
|
3329
3330
|
i.exports = a(Me(), Ct());
|
|
@@ -3353,7 +3354,7 @@ function qy() {
|
|
|
3353
3354
|
}(Ys)), Ys.exports;
|
|
3354
3355
|
}
|
|
3355
3356
|
var Js = { exports: {} }, of;
|
|
3356
|
-
function
|
|
3357
|
+
function Ky() {
|
|
3357
3358
|
return of || (of = 1, function(i, r) {
|
|
3358
3359
|
(function(n, a, l) {
|
|
3359
3360
|
i.exports = a(Me(), Ct());
|
|
@@ -3375,7 +3376,7 @@ function jy() {
|
|
|
3375
3376
|
}(Js)), Js.exports;
|
|
3376
3377
|
}
|
|
3377
3378
|
var e0 = { exports: {} }, af;
|
|
3378
|
-
function
|
|
3379
|
+
function Gy() {
|
|
3379
3380
|
return af || (af = 1, function(i, r) {
|
|
3380
3381
|
(function(n, a, l) {
|
|
3381
3382
|
i.exports = a(Me(), Ct());
|
|
@@ -3414,7 +3415,7 @@ function Vy() {
|
|
|
3414
3415
|
}(e0)), e0.exports;
|
|
3415
3416
|
}
|
|
3416
3417
|
var t0 = { exports: {} }, sf;
|
|
3417
|
-
function
|
|
3418
|
+
function Xy() {
|
|
3418
3419
|
return sf || (sf = 1, function(i, r) {
|
|
3419
3420
|
(function(n, a, l) {
|
|
3420
3421
|
i.exports = a(Me(), Ct());
|
|
@@ -3434,7 +3435,7 @@ function Ky() {
|
|
|
3434
3435
|
}(t0)), t0.exports;
|
|
3435
3436
|
}
|
|
3436
3437
|
var n0 = { exports: {} }, lf;
|
|
3437
|
-
function
|
|
3438
|
+
function Qy() {
|
|
3438
3439
|
return lf || (lf = 1, function(i, r) {
|
|
3439
3440
|
(function(n, a, l) {
|
|
3440
3441
|
i.exports = a(Me(), Ct());
|
|
@@ -3455,7 +3456,7 @@ function Gy() {
|
|
|
3455
3456
|
}(n0)), n0.exports;
|
|
3456
3457
|
}
|
|
3457
3458
|
var r0 = { exports: {} }, cf;
|
|
3458
|
-
function
|
|
3459
|
+
function Zy() {
|
|
3459
3460
|
return cf || (cf = 1, function(i, r) {
|
|
3460
3461
|
(function(n, a, l) {
|
|
3461
3462
|
i.exports = a(Me(), Ct());
|
|
@@ -3474,7 +3475,7 @@ function Xy() {
|
|
|
3474
3475
|
}(r0)), r0.exports;
|
|
3475
3476
|
}
|
|
3476
3477
|
var o0 = { exports: {} }, uf;
|
|
3477
|
-
function
|
|
3478
|
+
function Yy() {
|
|
3478
3479
|
return uf || (uf = 1, function(i, r) {
|
|
3479
3480
|
(function(n, a, l) {
|
|
3480
3481
|
i.exports = a(Me(), Ct());
|
|
@@ -3493,7 +3494,7 @@ function Qy() {
|
|
|
3493
3494
|
}(o0)), o0.exports;
|
|
3494
3495
|
}
|
|
3495
3496
|
var i0 = { exports: {} }, ff;
|
|
3496
|
-
function
|
|
3497
|
+
function Jy() {
|
|
3497
3498
|
return ff || (ff = 1, function(i, r) {
|
|
3498
3499
|
(function(n, a, l) {
|
|
3499
3500
|
i.exports = a(Me(), Ct());
|
|
@@ -3510,7 +3511,7 @@ function Zy() {
|
|
|
3510
3511
|
}(i0)), i0.exports;
|
|
3511
3512
|
}
|
|
3512
3513
|
var a0 = { exports: {} }, df;
|
|
3513
|
-
function
|
|
3514
|
+
function e2() {
|
|
3514
3515
|
return df || (df = 1, function(i, r) {
|
|
3515
3516
|
(function(n, a, l) {
|
|
3516
3517
|
i.exports = a(Me(), Ct());
|
|
@@ -3532,7 +3533,7 @@ function Yy() {
|
|
|
3532
3533
|
}(a0)), a0.exports;
|
|
3533
3534
|
}
|
|
3534
3535
|
var s0 = { exports: {} }, pf;
|
|
3535
|
-
function
|
|
3536
|
+
function t2() {
|
|
3536
3537
|
return pf || (pf = 1, function(i, r) {
|
|
3537
3538
|
(function(n, a, l) {
|
|
3538
3539
|
i.exports = a(Me(), Ct());
|
|
@@ -3547,7 +3548,7 @@ function Jy() {
|
|
|
3547
3548
|
}(s0)), s0.exports;
|
|
3548
3549
|
}
|
|
3549
3550
|
var l0 = { exports: {} }, hf;
|
|
3550
|
-
function
|
|
3551
|
+
function n2() {
|
|
3551
3552
|
return hf || (hf = 1, function(i, r) {
|
|
3552
3553
|
(function(n, a, l) {
|
|
3553
3554
|
i.exports = a(Me(), Ct());
|
|
@@ -3594,7 +3595,7 @@ function e2() {
|
|
|
3594
3595
|
}(l0)), l0.exports;
|
|
3595
3596
|
}
|
|
3596
3597
|
var c0 = { exports: {} }, vf;
|
|
3597
|
-
function
|
|
3598
|
+
function r2() {
|
|
3598
3599
|
return vf || (vf = 1, function(i, r) {
|
|
3599
3600
|
(function(n, a, l) {
|
|
3600
3601
|
i.exports = a(Me(), kr(), Dr(), lr(), Ct());
|
|
@@ -3654,7 +3655,7 @@ function t2() {
|
|
|
3654
3655
|
}(c0)), c0.exports;
|
|
3655
3656
|
}
|
|
3656
3657
|
var u0 = { exports: {} }, xf;
|
|
3657
|
-
function
|
|
3658
|
+
function o2() {
|
|
3658
3659
|
return xf || (xf = 1, function(i, r) {
|
|
3659
3660
|
(function(n, a, l) {
|
|
3660
3661
|
i.exports = a(Me(), kr(), Dr(), lr(), Ct());
|
|
@@ -4374,7 +4375,7 @@ function n2() {
|
|
|
4374
4375
|
}(u0)), u0.exports;
|
|
4375
4376
|
}
|
|
4376
4377
|
var f0 = { exports: {} }, gf;
|
|
4377
|
-
function
|
|
4378
|
+
function i2() {
|
|
4378
4379
|
return gf || (gf = 1, function(i, r) {
|
|
4379
4380
|
(function(n, a, l) {
|
|
4380
4381
|
i.exports = a(Me(), kr(), Dr(), lr(), Ct());
|
|
@@ -4428,7 +4429,7 @@ function r2() {
|
|
|
4428
4429
|
}(f0)), f0.exports;
|
|
4429
4430
|
}
|
|
4430
4431
|
var d0 = { exports: {} }, mf;
|
|
4431
|
-
function
|
|
4432
|
+
function a2() {
|
|
4432
4433
|
return mf || (mf = 1, function(i, r) {
|
|
4433
4434
|
(function(n, a, l) {
|
|
4434
4435
|
i.exports = a(Me(), kr(), Dr(), lr(), Ct());
|
|
@@ -4494,7 +4495,7 @@ function o2() {
|
|
|
4494
4495
|
}(d0)), d0.exports;
|
|
4495
4496
|
}
|
|
4496
4497
|
var p0 = { exports: {} }, _f;
|
|
4497
|
-
function
|
|
4498
|
+
function s2() {
|
|
4498
4499
|
return _f || (_f = 1, function(i, r) {
|
|
4499
4500
|
(function(n, a, l) {
|
|
4500
4501
|
i.exports = a(Me(), kr(), Dr(), lr(), Ct());
|
|
@@ -4558,7 +4559,7 @@ function i2() {
|
|
|
4558
4559
|
}(p0)), p0.exports;
|
|
4559
4560
|
}
|
|
4560
4561
|
var h0 = { exports: {} }, Cf;
|
|
4561
|
-
function
|
|
4562
|
+
function l2() {
|
|
4562
4563
|
return Cf || (Cf = 1, function(i, r) {
|
|
4563
4564
|
(function(n, a, l) {
|
|
4564
4565
|
i.exports = a(Me(), kr(), Dr(), lr(), Ct());
|
|
@@ -5681,16 +5682,16 @@ function a2() {
|
|
|
5681
5682
|
}
|
|
5682
5683
|
(function(i, r) {
|
|
5683
5684
|
(function(n, a, l) {
|
|
5684
|
-
i.exports = a(Me(), aa(),
|
|
5685
|
+
i.exports = a(Me(), aa(), Oy(), Uy(), kr(), My(), Dr(), Ed(), W0(), zy(), Sd(), Hy(), Wy(), qy(), q0(), jy(), lr(), Ct(), Vy(), Ky(), Gy(), Xy(), Qy(), Zy(), Yy(), Jy(), e2(), t2(), n2(), r2(), o2(), i2(), a2(), s2(), l2());
|
|
5685
5686
|
})(Be, function(n) {
|
|
5686
5687
|
return n;
|
|
5687
5688
|
});
|
|
5688
5689
|
})(Ad);
|
|
5689
|
-
var
|
|
5690
|
-
const $t = /* @__PURE__ */
|
|
5691
|
-
function
|
|
5690
|
+
var c2 = Ad.exports;
|
|
5691
|
+
const $t = /* @__PURE__ */ Fy(c2);
|
|
5692
|
+
function u2(i, r, n, a) {
|
|
5692
5693
|
Bd(i, r).then(({ input: l, key: c }) => Dd(l, c, n, !0, a)).then((l) => {
|
|
5693
|
-
|
|
5694
|
+
f2.apply(null, l);
|
|
5694
5695
|
}).catch((l) => {
|
|
5695
5696
|
a({
|
|
5696
5697
|
value: null,
|
|
@@ -5698,16 +5699,16 @@ function l2(i, r, n, a) {
|
|
|
5698
5699
|
});
|
|
5699
5700
|
});
|
|
5700
5701
|
}
|
|
5701
|
-
function
|
|
5702
|
+
function f2(i, r, n, a, l, c, f, p) {
|
|
5702
5703
|
let h = kd(r, n, a, l, c), s = $t.AES.encrypt.apply(null, [i, h.key, h.options]), d = f === "base64" ? $t.enc.Base64 : $t.enc.Hex, w = s.ciphertext.toString(d);
|
|
5703
5704
|
p({
|
|
5704
5705
|
value: w,
|
|
5705
5706
|
error: null
|
|
5706
5707
|
});
|
|
5707
5708
|
}
|
|
5708
|
-
function
|
|
5709
|
+
function d2(i, r, n, a) {
|
|
5709
5710
|
Bd(i, r).then(({ input: l, key: c }) => Dd(l, c, n, !1, a)).then((l) => {
|
|
5710
|
-
|
|
5711
|
+
p2.apply(null, l);
|
|
5711
5712
|
}).catch((l) => {
|
|
5712
5713
|
a({
|
|
5713
5714
|
value: null,
|
|
@@ -5715,7 +5716,7 @@ function u2(i, r, n, a) {
|
|
|
5715
5716
|
});
|
|
5716
5717
|
});
|
|
5717
5718
|
}
|
|
5718
|
-
function
|
|
5719
|
+
function p2(i, r, n, a, l, c, f, p) {
|
|
5719
5720
|
let h = kd(r, n, a, l, c), s = $t.DES.encrypt.apply(null, [i, h.key, h.options]), d = f === "base64" ? $t.enc.Base64 : $t.enc.Hex, w = s.ciphertext.toString(d);
|
|
5720
5721
|
p({
|
|
5721
5722
|
value: w,
|
|
@@ -5744,7 +5745,7 @@ function kd(i, r, n, a, l) {
|
|
|
5744
5745
|
async function Dd(i, r, n, a = !1, l) {
|
|
5745
5746
|
let c;
|
|
5746
5747
|
try {
|
|
5747
|
-
c = await
|
|
5748
|
+
c = await h2(n);
|
|
5748
5749
|
} catch (d) {
|
|
5749
5750
|
return Promise.reject(d);
|
|
5750
5751
|
}
|
|
@@ -5753,39 +5754,39 @@ async function Dd(i, r, n, a = !1, l) {
|
|
|
5753
5754
|
return Promise.reject("非ECB模式iv不能为空");
|
|
5754
5755
|
let p;
|
|
5755
5756
|
try {
|
|
5756
|
-
p = await
|
|
5757
|
+
p = await v2(n, a);
|
|
5757
5758
|
} catch (d) {
|
|
5758
5759
|
return Promise.reject(d);
|
|
5759
5760
|
}
|
|
5760
5761
|
let h;
|
|
5761
5762
|
try {
|
|
5762
|
-
h = await
|
|
5763
|
+
h = await x2(n);
|
|
5763
5764
|
} catch (d) {
|
|
5764
5765
|
return Promise.reject(d);
|
|
5765
5766
|
}
|
|
5766
5767
|
let s;
|
|
5767
5768
|
try {
|
|
5768
|
-
s = await
|
|
5769
|
+
s = await g2(n);
|
|
5769
5770
|
} catch (d) {
|
|
5770
5771
|
return Promise.reject(d);
|
|
5771
5772
|
}
|
|
5772
5773
|
return [i, r, p, f, c, h, s, l];
|
|
5773
5774
|
}
|
|
5774
|
-
async function
|
|
5775
|
+
async function h2(i) {
|
|
5775
5776
|
let { mode: r = "CBC" } = i || {};
|
|
5776
5777
|
return r = r.trim().toUpperCase(), ["CBC", "CFB", "OFB", "ECB"].indexOf(r) === -1 ? Promise.reject("mode模式配置错误") : r;
|
|
5777
5778
|
}
|
|
5778
|
-
async function
|
|
5779
|
+
async function v2(i, r = !1) {
|
|
5779
5780
|
if (!r)
|
|
5780
5781
|
return 8;
|
|
5781
5782
|
let { keySize: n = 0 } = i || {};
|
|
5782
5783
|
return [16, 24, 32].indexOf(n) !== -1 ? n : Promise.reject("keySize配置错误");
|
|
5783
5784
|
}
|
|
5784
|
-
async function
|
|
5785
|
+
async function x2(i) {
|
|
5785
5786
|
let { padding: r = "pkcs7" } = i || {};
|
|
5786
5787
|
return r = r.trim().toLowerCase(), ["pkcs7", "pkcs5", "zero", "iso10126", "ansix923"].indexOf(r) !== -1 ? r : Promise.reject("padding配置错误");
|
|
5787
5788
|
}
|
|
5788
|
-
async function
|
|
5789
|
+
async function g2(i) {
|
|
5789
5790
|
let { encoding: r = "base64" } = i || {};
|
|
5790
5791
|
return r = r.trim().toLowerCase(), ["base64", "hex"].indexOf(r) !== -1 ? r : Promise.reject("encoding配置错误");
|
|
5791
5792
|
}
|
|
@@ -5800,10 +5801,10 @@ function yf(i, r) {
|
|
|
5800
5801
|
}
|
|
5801
5802
|
return $t.enc.Latin1.parse(n);
|
|
5802
5803
|
}
|
|
5803
|
-
const
|
|
5804
|
-
aes:
|
|
5805
|
-
des:
|
|
5806
|
-
},
|
|
5804
|
+
const m2 = {
|
|
5805
|
+
aes: u2,
|
|
5806
|
+
des: d2
|
|
5807
|
+
}, _2 = (i = {}, r) => {
|
|
5807
5808
|
const n = { aes: "aes", des: "des" }, a = {
|
|
5808
5809
|
pkcs5padding: "Pkcs5",
|
|
5809
5810
|
pkcs7padding: "Pkcs7",
|
|
@@ -5813,7 +5814,7 @@ const x2 = {
|
|
|
5813
5814
|
}, l = { hex: "hex", base64: "base64" };
|
|
5814
5815
|
let c = i.encryptType || "", f = n[c.toLowerCase()], p = i.encryptMode || "", h = i.encryptKey || "", s = i.encryptOffset || "", d = i.encryptPadding || "", w = a[d.toLowerCase()], x = i.codingMode || "", _ = l[x.toLowerCase()], E = (Number(i.encryptKeyLength) || 0) / 8;
|
|
5815
5816
|
return new Promise((b) => {
|
|
5816
|
-
f !== "aes" && f !== "des" ? b({ error: "加密类型出错==", value: null }) :
|
|
5817
|
+
f !== "aes" && f !== "des" ? b({ error: "加密类型出错==", value: null }) : m2[f](r, h, { mode: p, keySize: E, padding: w, encoding: _, iv: s }, (v) => {
|
|
5817
5818
|
b(v);
|
|
5818
5819
|
});
|
|
5819
5820
|
});
|
|
@@ -5840,7 +5841,7 @@ async function Fd(i) {
|
|
|
5840
5841
|
CURRENT_PROJECT: Kt().id
|
|
5841
5842
|
}[i];
|
|
5842
5843
|
}
|
|
5843
|
-
async function
|
|
5844
|
+
async function C2(i) {
|
|
5844
5845
|
if (typeof i != "string") return "";
|
|
5845
5846
|
let r = null;
|
|
5846
5847
|
try {
|
|
@@ -5863,7 +5864,7 @@ async function m2(i) {
|
|
|
5863
5864
|
}
|
|
5864
5865
|
return JSON.stringify(n);
|
|
5865
5866
|
}
|
|
5866
|
-
async function
|
|
5867
|
+
async function y2(i) {
|
|
5867
5868
|
let r = {};
|
|
5868
5869
|
for (let n = 0; n < i.length; n++) {
|
|
5869
5870
|
let a = i[n] || {}, { attributeContentEnum: l, paramName: c, attributeContent: f, paramType: p, isEncrypted: h } = a, s = c, d = f;
|
|
@@ -5871,11 +5872,11 @@ async function _2(i) {
|
|
|
5871
5872
|
if (!qn())
|
|
5872
5873
|
return cd({ ...$0, redirect_uri: ud }), "goLogin";
|
|
5873
5874
|
d = await Fd(l);
|
|
5874
|
-
} else if (p === Id.JSON && (d = await
|
|
5875
|
+
} else if (p === Id.JSON && (d = await C2(f), d === "goLogin"))
|
|
5875
5876
|
return "goLogin";
|
|
5876
5877
|
if (s && d) {
|
|
5877
5878
|
if (h) {
|
|
5878
|
-
let w = await
|
|
5879
|
+
let w = await _2(a, d);
|
|
5879
5880
|
w.error, d = w.value ?? "";
|
|
5880
5881
|
}
|
|
5881
5882
|
r[s] = d;
|
|
@@ -5883,7 +5884,7 @@ async function _2(i) {
|
|
|
5883
5884
|
}
|
|
5884
5885
|
return r;
|
|
5885
5886
|
}
|
|
5886
|
-
function
|
|
5887
|
+
function b2(i) {
|
|
5887
5888
|
let r = {}, n = i.split("&");
|
|
5888
5889
|
for (let a = 0; a < n.length; a++) {
|
|
5889
5890
|
let c = n[a].split("=");
|
|
@@ -5894,32 +5895,32 @@ function C2(i) {
|
|
|
5894
5895
|
}
|
|
5895
5896
|
return r;
|
|
5896
5897
|
}
|
|
5897
|
-
function
|
|
5898
|
+
function w2(i) {
|
|
5898
5899
|
return Object.keys(i).map((r) => `${r}=${i[r]}`).join("&");
|
|
5899
5900
|
}
|
|
5900
|
-
function
|
|
5901
|
+
function A2(i, r) {
|
|
5901
5902
|
let n = i.split("?").filter((s) => s.length > 0), a = Object.keys(r).map((s) => {
|
|
5902
5903
|
let d = r[s];
|
|
5903
5904
|
return `${encodeURIComponent(s)}=${encodeURIComponent(d)}`;
|
|
5904
5905
|
}).join("&");
|
|
5905
5906
|
if (n.length !== 2)
|
|
5906
5907
|
return a.length > 0 ? `${i}?${a}` : i;
|
|
5907
|
-
let l = n[0], c =
|
|
5908
|
+
let l = n[0], c = b2(n[1]), f = /* @__PURE__ */ new Set();
|
|
5908
5909
|
Object.keys(c).forEach((s) => {
|
|
5909
5910
|
r[s] && f.add(s);
|
|
5910
5911
|
}), f.forEach((s) => {
|
|
5911
5912
|
delete c[s];
|
|
5912
5913
|
});
|
|
5913
|
-
let p = a, h =
|
|
5914
|
+
let p = a, h = w2(c);
|
|
5914
5915
|
return h.length > 0 && (a.length > 0 ? p = `${h}&${a}` : p = h), p.length > 0 ? `${l}?${p}` : l;
|
|
5915
5916
|
}
|
|
5916
5917
|
const S0 = async (i, r) => {
|
|
5917
|
-
const n = await
|
|
5918
|
-
return n === "goLogin" ? "" :
|
|
5918
|
+
const n = await y2(r);
|
|
5919
|
+
return n === "goLogin" ? "" : A2(i, n) ?? "";
|
|
5919
5920
|
}, B0 = (i) => {
|
|
5920
5921
|
const r = new URL(i, location.origin);
|
|
5921
5922
|
return ["true", "1"].includes(r.searchParams.get("autoSetToken")) && (r.searchParams.append("access_token", uC()), r.searchParams.delete("autoSetToken")), r.toString();
|
|
5922
|
-
}, Pd = "v1",
|
|
5923
|
+
}, Pd = "v1", E2 = wt(`/api/personal-center/personal-server/${Pd}`), S2 = wt(`/api/enterpriseright/permission/${Pd}`), B2 = E2.get("/info"), k2 = ld.get("/user-info"), D2 = S2.get("/user/tenant"), I2 = L0.post("/tenant/page"), T2 = "v1", F2 = wt(`/api/user-portrait/user-data/${T2}`), Rd = F2.post("/data/actions", (i) => (i.ignoreErrorMessage = !0, i)), Ld = "pc", $d = "pc", Nd = async (i) => {
|
|
5923
5924
|
const r = JSON.parse(sessionStorage.getItem("access-sys") || "{}");
|
|
5924
5925
|
(r == null ? void 0 : r.projectId) !== i && (await Rd().run({
|
|
5925
5926
|
action: "access-sys",
|
|
@@ -5941,28 +5942,28 @@ const S0 = async (i, r) => {
|
|
|
5941
5942
|
displayMenuName: l
|
|
5942
5943
|
}
|
|
5943
5944
|
});
|
|
5944
|
-
}, T2 = async () => {
|
|
5945
|
-
const [i, r] = await E2().run({});
|
|
5946
|
-
return i ? { personalConfig: null } : (Nd(Kt().id), hy(r), { personalConfig: r });
|
|
5947
|
-
}, F2 = async () => {
|
|
5948
|
-
const [i, r] = await S2().run();
|
|
5949
|
-
return i ? { tenantConfig: null } : (vy(r), { tenantConfig: r });
|
|
5950
5945
|
}, P2 = async () => {
|
|
5951
|
-
const [i, r] = await B2().run()
|
|
5952
|
-
return
|
|
5946
|
+
const [i, r] = await B2().run({});
|
|
5947
|
+
return i ? { personalConfig: null } : (Nd(Kt().id), xy(r), { personalConfig: r });
|
|
5953
5948
|
}, R2 = async () => {
|
|
5954
|
-
const [i, r] = await k2().run(
|
|
5949
|
+
const [i, r] = await k2().run();
|
|
5950
|
+
return i ? { tenantConfig: null } : (gy(r), { tenantConfig: r });
|
|
5951
|
+
}, L2 = async () => {
|
|
5952
|
+
const [i, r] = await D2().run(), n = (r == null ? void 0 : r.envLanguage) ?? [];
|
|
5953
|
+
return my(n.length), i ? { currentTenatConfig: null } : { tenantConfig: r };
|
|
5954
|
+
}, $2 = async () => {
|
|
5955
|
+
const [i, r] = await I2().run({
|
|
5955
5956
|
userId: Mo().id,
|
|
5956
5957
|
pageSize: 20,
|
|
5957
5958
|
pageIndex: 1
|
|
5958
5959
|
});
|
|
5959
5960
|
if (i) return { tenantList: [] };
|
|
5960
5961
|
if (r.data && r.data.length) return { tenantList: r.data };
|
|
5961
|
-
},
|
|
5962
|
-
const [i, r] = await
|
|
5963
|
-
return
|
|
5962
|
+
}, N2 = na.get("/permissionset/user-portal-menu"), O2 = lC.deviceManage.get("/instance/getLast"), U2 = async () => {
|
|
5963
|
+
const [i, r] = await O2().run(), n = { instanceInfo: r ?? null };
|
|
5964
|
+
return Sy(n), n;
|
|
5964
5965
|
};
|
|
5965
|
-
function
|
|
5966
|
+
function M2() {
|
|
5966
5967
|
this.__data__ = [], this.size = 0;
|
|
5967
5968
|
}
|
|
5968
5969
|
function Ud(i, r) {
|
|
@@ -5974,22 +5975,22 @@ function sa(i, r) {
|
|
|
5974
5975
|
return n;
|
|
5975
5976
|
return -1;
|
|
5976
5977
|
}
|
|
5977
|
-
var
|
|
5978
|
-
function
|
|
5978
|
+
var z2 = Array.prototype, H2 = z2.splice;
|
|
5979
|
+
function W2(i) {
|
|
5979
5980
|
var r = this.__data__, n = sa(r, i);
|
|
5980
5981
|
if (n < 0)
|
|
5981
5982
|
return !1;
|
|
5982
5983
|
var a = r.length - 1;
|
|
5983
|
-
return n == a ? r.pop() :
|
|
5984
|
+
return n == a ? r.pop() : H2.call(r, n, 1), --this.size, !0;
|
|
5984
5985
|
}
|
|
5985
|
-
function
|
|
5986
|
+
function q2(i) {
|
|
5986
5987
|
var r = this.__data__, n = sa(r, i);
|
|
5987
5988
|
return n < 0 ? void 0 : r[n][1];
|
|
5988
5989
|
}
|
|
5989
|
-
function
|
|
5990
|
+
function j2(i) {
|
|
5990
5991
|
return sa(this.__data__, i) > -1;
|
|
5991
5992
|
}
|
|
5992
|
-
function
|
|
5993
|
+
function V2(i, r) {
|
|
5993
5994
|
var n = this.__data__, a = sa(n, i);
|
|
5994
5995
|
return a < 0 ? (++this.size, n.push([i, r])) : n[a][1] = r, this;
|
|
5995
5996
|
}
|
|
@@ -6000,66 +6001,66 @@ function Kn(i) {
|
|
|
6000
6001
|
this.set(a[0], a[1]);
|
|
6001
6002
|
}
|
|
6002
6003
|
}
|
|
6003
|
-
Kn.prototype.clear =
|
|
6004
|
-
Kn.prototype.delete =
|
|
6005
|
-
Kn.prototype.get =
|
|
6006
|
-
Kn.prototype.has =
|
|
6007
|
-
Kn.prototype.set =
|
|
6008
|
-
function
|
|
6004
|
+
Kn.prototype.clear = M2;
|
|
6005
|
+
Kn.prototype.delete = W2;
|
|
6006
|
+
Kn.prototype.get = q2;
|
|
6007
|
+
Kn.prototype.has = j2;
|
|
6008
|
+
Kn.prototype.set = V2;
|
|
6009
|
+
function K2() {
|
|
6009
6010
|
this.__data__ = new Kn(), this.size = 0;
|
|
6010
6011
|
}
|
|
6011
|
-
function
|
|
6012
|
+
function G2(i) {
|
|
6012
6013
|
var r = this.__data__, n = r.delete(i);
|
|
6013
6014
|
return this.size = r.size, n;
|
|
6014
6015
|
}
|
|
6015
|
-
function
|
|
6016
|
+
function X2(i) {
|
|
6016
6017
|
return this.__data__.get(i);
|
|
6017
6018
|
}
|
|
6018
|
-
function
|
|
6019
|
+
function Q2(i) {
|
|
6019
6020
|
return this.__data__.has(i);
|
|
6020
6021
|
}
|
|
6021
|
-
var Md = typeof global == "object" && global && global.Object === Object && global,
|
|
6022
|
-
function
|
|
6023
|
-
var r =
|
|
6022
|
+
var Md = typeof global == "object" && global && global.Object === Object && global, Z2 = typeof self == "object" && self && self.Object === Object && self, In = Md || Z2 || Function("return this")(), eo = In.Symbol, zd = Object.prototype, Y2 = zd.hasOwnProperty, J2 = zd.toString, Io = eo ? eo.toStringTag : void 0;
|
|
6023
|
+
function eb(i) {
|
|
6024
|
+
var r = Y2.call(i, Io), n = i[Io];
|
|
6024
6025
|
try {
|
|
6025
6026
|
i[Io] = void 0;
|
|
6026
6027
|
var a = !0;
|
|
6027
6028
|
} catch {
|
|
6028
6029
|
}
|
|
6029
|
-
var l =
|
|
6030
|
+
var l = J2.call(i);
|
|
6030
6031
|
return a && (r ? i[Io] = n : delete i[Io]), l;
|
|
6031
6032
|
}
|
|
6032
|
-
var
|
|
6033
|
-
function
|
|
6034
|
-
return
|
|
6033
|
+
var tb = Object.prototype, nb = tb.toString;
|
|
6034
|
+
function rb(i) {
|
|
6035
|
+
return nb.call(i);
|
|
6035
6036
|
}
|
|
6036
|
-
var
|
|
6037
|
+
var ob = "[object Null]", ib = "[object Undefined]", bf = eo ? eo.toStringTag : void 0;
|
|
6037
6038
|
function Wo(i) {
|
|
6038
|
-
return i == null ? i === void 0 ?
|
|
6039
|
+
return i == null ? i === void 0 ? ib : ob : bf && bf in Object(i) ? eb(i) : rb(i);
|
|
6039
6040
|
}
|
|
6040
6041
|
function la(i) {
|
|
6041
6042
|
var r = typeof i;
|
|
6042
6043
|
return i != null && (r == "object" || r == "function");
|
|
6043
6044
|
}
|
|
6044
|
-
var
|
|
6045
|
+
var ab = "[object AsyncFunction]", sb = "[object Function]", lb = "[object GeneratorFunction]", cb = "[object Proxy]";
|
|
6045
6046
|
function Hd(i) {
|
|
6046
6047
|
if (!la(i))
|
|
6047
6048
|
return !1;
|
|
6048
6049
|
var r = Wo(i);
|
|
6049
|
-
return r ==
|
|
6050
|
+
return r == sb || r == lb || r == ab || r == cb;
|
|
6050
6051
|
}
|
|
6051
6052
|
var v0 = In["__core-js_shared__"], wf = function() {
|
|
6052
6053
|
var i = /[^.]+$/.exec(v0 && v0.keys && v0.keys.IE_PROTO || "");
|
|
6053
6054
|
return i ? "Symbol(src)_1." + i : "";
|
|
6054
6055
|
}();
|
|
6055
|
-
function
|
|
6056
|
+
function ub(i) {
|
|
6056
6057
|
return !!wf && wf in i;
|
|
6057
6058
|
}
|
|
6058
|
-
var
|
|
6059
|
+
var fb = Function.prototype, db = fb.toString;
|
|
6059
6060
|
function Ir(i) {
|
|
6060
6061
|
if (i != null) {
|
|
6061
6062
|
try {
|
|
6062
|
-
return
|
|
6063
|
+
return db.call(i);
|
|
6063
6064
|
} catch {
|
|
6064
6065
|
}
|
|
6065
6066
|
try {
|
|
@@ -6069,48 +6070,48 @@ function Ir(i) {
|
|
|
6069
6070
|
}
|
|
6070
6071
|
return "";
|
|
6071
6072
|
}
|
|
6072
|
-
var
|
|
6073
|
-
"^" +
|
|
6073
|
+
var pb = /[\\^$.*+?()[\]{}|]/g, hb = /^\[object .+?Constructor\]$/, vb = Function.prototype, xb = Object.prototype, gb = vb.toString, mb = xb.hasOwnProperty, _b = RegExp(
|
|
6074
|
+
"^" + gb.call(mb).replace(pb, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6074
6075
|
);
|
|
6075
|
-
function
|
|
6076
|
-
if (!la(i) ||
|
|
6076
|
+
function Cb(i) {
|
|
6077
|
+
if (!la(i) || ub(i))
|
|
6077
6078
|
return !1;
|
|
6078
|
-
var r = Hd(i) ?
|
|
6079
|
+
var r = Hd(i) ? _b : hb;
|
|
6079
6080
|
return r.test(Ir(i));
|
|
6080
6081
|
}
|
|
6081
|
-
function
|
|
6082
|
+
function yb(i, r) {
|
|
6082
6083
|
return i == null ? void 0 : i[r];
|
|
6083
6084
|
}
|
|
6084
6085
|
function Tr(i, r) {
|
|
6085
|
-
var n =
|
|
6086
|
-
return
|
|
6086
|
+
var n = yb(i, r);
|
|
6087
|
+
return Cb(n) ? n : void 0;
|
|
6087
6088
|
}
|
|
6088
6089
|
var Ro = Tr(In, "Map"), Lo = Tr(Object, "create");
|
|
6089
|
-
function
|
|
6090
|
+
function bb() {
|
|
6090
6091
|
this.__data__ = Lo ? Lo(null) : {}, this.size = 0;
|
|
6091
6092
|
}
|
|
6092
|
-
function
|
|
6093
|
+
function wb(i) {
|
|
6093
6094
|
var r = this.has(i) && delete this.__data__[i];
|
|
6094
6095
|
return this.size -= r ? 1 : 0, r;
|
|
6095
6096
|
}
|
|
6096
|
-
var
|
|
6097
|
-
function
|
|
6097
|
+
var Ab = "__lodash_hash_undefined__", Eb = Object.prototype, Sb = Eb.hasOwnProperty;
|
|
6098
|
+
function Bb(i) {
|
|
6098
6099
|
var r = this.__data__;
|
|
6099
6100
|
if (Lo) {
|
|
6100
6101
|
var n = r[i];
|
|
6101
|
-
return n ===
|
|
6102
|
+
return n === Ab ? void 0 : n;
|
|
6102
6103
|
}
|
|
6103
|
-
return
|
|
6104
|
+
return Sb.call(r, i) ? r[i] : void 0;
|
|
6104
6105
|
}
|
|
6105
|
-
var
|
|
6106
|
-
function
|
|
6106
|
+
var kb = Object.prototype, Db = kb.hasOwnProperty;
|
|
6107
|
+
function Ib(i) {
|
|
6107
6108
|
var r = this.__data__;
|
|
6108
|
-
return Lo ? r[i] !== void 0 :
|
|
6109
|
+
return Lo ? r[i] !== void 0 : Db.call(r, i);
|
|
6109
6110
|
}
|
|
6110
|
-
var
|
|
6111
|
-
function
|
|
6111
|
+
var Tb = "__lodash_hash_undefined__";
|
|
6112
|
+
function Fb(i, r) {
|
|
6112
6113
|
var n = this.__data__;
|
|
6113
|
-
return this.size += this.has(i) ? 0 : 1, n[i] = Lo && r === void 0 ?
|
|
6114
|
+
return this.size += this.has(i) ? 0 : 1, n[i] = Lo && r === void 0 ? Tb : r, this;
|
|
6114
6115
|
}
|
|
6115
6116
|
function Sr(i) {
|
|
6116
6117
|
var r = -1, n = i == null ? 0 : i.length;
|
|
@@ -6119,37 +6120,37 @@ function Sr(i) {
|
|
|
6119
6120
|
this.set(a[0], a[1]);
|
|
6120
6121
|
}
|
|
6121
6122
|
}
|
|
6122
|
-
Sr.prototype.clear =
|
|
6123
|
-
Sr.prototype.delete =
|
|
6124
|
-
Sr.prototype.get =
|
|
6125
|
-
Sr.prototype.has =
|
|
6126
|
-
Sr.prototype.set =
|
|
6127
|
-
function
|
|
6123
|
+
Sr.prototype.clear = bb;
|
|
6124
|
+
Sr.prototype.delete = wb;
|
|
6125
|
+
Sr.prototype.get = Bb;
|
|
6126
|
+
Sr.prototype.has = Ib;
|
|
6127
|
+
Sr.prototype.set = Fb;
|
|
6128
|
+
function Pb() {
|
|
6128
6129
|
this.size = 0, this.__data__ = {
|
|
6129
6130
|
hash: new Sr(),
|
|
6130
6131
|
map: new (Ro || Kn)(),
|
|
6131
6132
|
string: new Sr()
|
|
6132
6133
|
};
|
|
6133
6134
|
}
|
|
6134
|
-
function
|
|
6135
|
+
function Rb(i) {
|
|
6135
6136
|
var r = typeof i;
|
|
6136
6137
|
return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? i !== "__proto__" : i === null;
|
|
6137
6138
|
}
|
|
6138
6139
|
function ca(i, r) {
|
|
6139
6140
|
var n = i.__data__;
|
|
6140
|
-
return
|
|
6141
|
+
return Rb(r) ? n[typeof r == "string" ? "string" : "hash"] : n.map;
|
|
6141
6142
|
}
|
|
6142
|
-
function
|
|
6143
|
+
function Lb(i) {
|
|
6143
6144
|
var r = ca(this, i).delete(i);
|
|
6144
6145
|
return this.size -= r ? 1 : 0, r;
|
|
6145
6146
|
}
|
|
6146
|
-
function
|
|
6147
|
+
function $b(i) {
|
|
6147
6148
|
return ca(this, i).get(i);
|
|
6148
6149
|
}
|
|
6149
|
-
function
|
|
6150
|
+
function Nb(i) {
|
|
6150
6151
|
return ca(this, i).has(i);
|
|
6151
6152
|
}
|
|
6152
|
-
function
|
|
6153
|
+
function Ob(i, r) {
|
|
6153
6154
|
var n = ca(this, i), a = n.size;
|
|
6154
6155
|
return n.set(i, r), this.size += n.size == a ? 0 : 1, this;
|
|
6155
6156
|
}
|
|
@@ -6160,17 +6161,17 @@ function ao(i) {
|
|
|
6160
6161
|
this.set(a[0], a[1]);
|
|
6161
6162
|
}
|
|
6162
6163
|
}
|
|
6163
|
-
ao.prototype.clear =
|
|
6164
|
-
ao.prototype.delete =
|
|
6165
|
-
ao.prototype.get =
|
|
6166
|
-
ao.prototype.has =
|
|
6167
|
-
ao.prototype.set =
|
|
6168
|
-
var
|
|
6169
|
-
function
|
|
6164
|
+
ao.prototype.clear = Pb;
|
|
6165
|
+
ao.prototype.delete = Lb;
|
|
6166
|
+
ao.prototype.get = $b;
|
|
6167
|
+
ao.prototype.has = Nb;
|
|
6168
|
+
ao.prototype.set = Ob;
|
|
6169
|
+
var Ub = 200;
|
|
6170
|
+
function Mb(i, r) {
|
|
6170
6171
|
var n = this.__data__;
|
|
6171
6172
|
if (n instanceof Kn) {
|
|
6172
6173
|
var a = n.__data__;
|
|
6173
|
-
if (!Ro || a.length <
|
|
6174
|
+
if (!Ro || a.length < Ub - 1)
|
|
6174
6175
|
return a.push([i, r]), this.size = ++n.size, this;
|
|
6175
6176
|
n = this.__data__ = new ao(a);
|
|
6176
6177
|
}
|
|
@@ -6180,12 +6181,12 @@ function so(i) {
|
|
|
6180
6181
|
var r = this.__data__ = new Kn(i);
|
|
6181
6182
|
this.size = r.size;
|
|
6182
6183
|
}
|
|
6183
|
-
so.prototype.clear =
|
|
6184
|
-
so.prototype.delete =
|
|
6185
|
-
so.prototype.get =
|
|
6186
|
-
so.prototype.has =
|
|
6187
|
-
so.prototype.set =
|
|
6188
|
-
function
|
|
6184
|
+
so.prototype.clear = K2;
|
|
6185
|
+
so.prototype.delete = G2;
|
|
6186
|
+
so.prototype.get = X2;
|
|
6187
|
+
so.prototype.has = Q2;
|
|
6188
|
+
so.prototype.set = Mb;
|
|
6189
|
+
function zb(i, r) {
|
|
6189
6190
|
for (var n = -1, a = i == null ? 0 : i.length; ++n < a && r(i[n], n, i) !== !1; )
|
|
6190
6191
|
;
|
|
6191
6192
|
return i;
|
|
@@ -6197,7 +6198,7 @@ var Af = function() {
|
|
|
6197
6198
|
} catch {
|
|
6198
6199
|
}
|
|
6199
6200
|
}();
|
|
6200
|
-
function
|
|
6201
|
+
function Hb(i, r, n) {
|
|
6201
6202
|
r == "__proto__" && Af ? Af(i, r, {
|
|
6202
6203
|
configurable: !0,
|
|
6203
6204
|
enumerable: !0,
|
|
@@ -6205,12 +6206,12 @@ function Mb(i, r, n) {
|
|
|
6205
6206
|
writable: !0
|
|
6206
6207
|
}) : i[r] = n;
|
|
6207
6208
|
}
|
|
6208
|
-
var
|
|
6209
|
-
function
|
|
6209
|
+
var Wb = Object.prototype, qb = Wb.hasOwnProperty;
|
|
6210
|
+
function jb(i, r, n) {
|
|
6210
6211
|
var a = i[r];
|
|
6211
|
-
(!(
|
|
6212
|
+
(!(qb.call(i, r) && Ud(a, n)) || n === void 0 && !(r in i)) && Hb(i, r, n);
|
|
6212
6213
|
}
|
|
6213
|
-
function
|
|
6214
|
+
function Vb(i, r) {
|
|
6214
6215
|
for (var n = -1, a = Array(i); ++n < i; )
|
|
6215
6216
|
a[n] = r(n);
|
|
6216
6217
|
return a;
|
|
@@ -6218,31 +6219,31 @@ function qb(i, r) {
|
|
|
6218
6219
|
function qo(i) {
|
|
6219
6220
|
return i != null && typeof i == "object";
|
|
6220
6221
|
}
|
|
6221
|
-
var
|
|
6222
|
+
var Kb = "[object Arguments]";
|
|
6222
6223
|
function Ef(i) {
|
|
6223
|
-
return qo(i) && Wo(i) ==
|
|
6224
|
+
return qo(i) && Wo(i) == Kb;
|
|
6224
6225
|
}
|
|
6225
|
-
var Wd = Object.prototype,
|
|
6226
|
+
var Wd = Object.prototype, Gb = Wd.hasOwnProperty, Xb = Wd.propertyIsEnumerable, Qb = Ef(/* @__PURE__ */ function() {
|
|
6226
6227
|
return arguments;
|
|
6227
6228
|
}()) ? Ef : function(i) {
|
|
6228
|
-
return qo(i) &&
|
|
6229
|
+
return qo(i) && Gb.call(i, "callee") && !Xb.call(i, "callee");
|
|
6229
6230
|
}, j0 = Array.isArray;
|
|
6230
|
-
function
|
|
6231
|
+
function Zb() {
|
|
6231
6232
|
return !1;
|
|
6232
6233
|
}
|
|
6233
|
-
var qd = typeof exports == "object" && exports && !exports.nodeType && exports, Sf = qd && typeof module == "object" && module && !module.nodeType && module,
|
|
6234
|
-
function
|
|
6234
|
+
var qd = typeof exports == "object" && exports && !exports.nodeType && exports, Sf = qd && typeof module == "object" && module && !module.nodeType && module, Yb = Sf && Sf.exports === qd, Bf = Yb ? In.Buffer : void 0, Jb = Bf ? Bf.isBuffer : void 0, jd = Jb || Zb, ew = 9007199254740991, tw = /^(?:0|[1-9]\d*)$/;
|
|
6235
|
+
function nw(i, r) {
|
|
6235
6236
|
var n = typeof i;
|
|
6236
|
-
return r = r ??
|
|
6237
|
+
return r = r ?? ew, !!r && (n == "number" || n != "symbol" && tw.test(i)) && i > -1 && i % 1 == 0 && i < r;
|
|
6237
6238
|
}
|
|
6238
|
-
var
|
|
6239
|
+
var rw = 9007199254740991;
|
|
6239
6240
|
function Vd(i) {
|
|
6240
|
-
return typeof i == "number" && i > -1 && i % 1 == 0 && i <=
|
|
6241
|
+
return typeof i == "number" && i > -1 && i % 1 == 0 && i <= rw;
|
|
6241
6242
|
}
|
|
6242
|
-
var
|
|
6243
|
-
Ye[
|
|
6244
|
-
Ye[
|
|
6245
|
-
function
|
|
6243
|
+
var ow = "[object Arguments]", iw = "[object Array]", aw = "[object Boolean]", sw = "[object Date]", lw = "[object Error]", cw = "[object Function]", uw = "[object Map]", fw = "[object Number]", dw = "[object Object]", pw = "[object RegExp]", hw = "[object Set]", vw = "[object String]", xw = "[object WeakMap]", gw = "[object ArrayBuffer]", mw = "[object DataView]", _w = "[object Float32Array]", Cw = "[object Float64Array]", yw = "[object Int8Array]", bw = "[object Int16Array]", ww = "[object Int32Array]", Aw = "[object Uint8Array]", Ew = "[object Uint8ClampedArray]", Sw = "[object Uint16Array]", Bw = "[object Uint32Array]", Ye = {};
|
|
6244
|
+
Ye[_w] = Ye[Cw] = Ye[yw] = Ye[bw] = Ye[ww] = Ye[Aw] = Ye[Ew] = Ye[Sw] = Ye[Bw] = !0;
|
|
6245
|
+
Ye[ow] = Ye[iw] = Ye[gw] = Ye[aw] = Ye[mw] = Ye[sw] = Ye[lw] = Ye[cw] = Ye[uw] = Ye[fw] = Ye[dw] = Ye[pw] = Ye[hw] = Ye[vw] = Ye[xw] = !1;
|
|
6246
|
+
function kw(i) {
|
|
6246
6247
|
return qo(i) && Vd(i.length) && !!Ye[Wo(i)];
|
|
6247
6248
|
}
|
|
6248
6249
|
function V0(i) {
|
|
@@ -6250,26 +6251,26 @@ function V0(i) {
|
|
|
6250
6251
|
return i(r);
|
|
6251
6252
|
};
|
|
6252
6253
|
}
|
|
6253
|
-
var Kd = typeof exports == "object" && exports && !exports.nodeType && exports, Fo = Kd && typeof module == "object" && module && !module.nodeType && module,
|
|
6254
|
+
var Kd = typeof exports == "object" && exports && !exports.nodeType && exports, Fo = Kd && typeof module == "object" && module && !module.nodeType && module, Dw = Fo && Fo.exports === Kd, x0 = Dw && Md.process, to = function() {
|
|
6254
6255
|
try {
|
|
6255
6256
|
var i = Fo && Fo.require && Fo.require("util").types;
|
|
6256
6257
|
return i || x0 && x0.binding && x0.binding("util");
|
|
6257
6258
|
} catch {
|
|
6258
6259
|
}
|
|
6259
|
-
}(), kf = to && to.isTypedArray,
|
|
6260
|
-
function
|
|
6261
|
-
var n = j0(i), a = !n &&
|
|
6260
|
+
}(), kf = to && to.isTypedArray, Iw = kf ? V0(kf) : kw, Tw = Object.prototype, Fw = Tw.hasOwnProperty;
|
|
6261
|
+
function Pw(i, r) {
|
|
6262
|
+
var n = j0(i), a = !n && Qb(i), l = !n && !a && jd(i), c = !n && !a && !l && Iw(i), f = n || a || l || c, p = f ? Vb(i.length, String) : [], h = p.length;
|
|
6262
6263
|
for (var s in i)
|
|
6263
|
-
|
|
6264
|
+
Fw.call(i, s) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6264
6265
|
(s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6265
6266
|
l && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6266
6267
|
c && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
|
|
6267
|
-
|
|
6268
|
+
nw(s, h))) && p.push(s);
|
|
6268
6269
|
return p;
|
|
6269
6270
|
}
|
|
6270
|
-
var
|
|
6271
|
+
var Rw = Object.prototype;
|
|
6271
6272
|
function Gd(i) {
|
|
6272
|
-
var r = i && i.constructor, n = typeof r == "function" && r.prototype ||
|
|
6273
|
+
var r = i && i.constructor, n = typeof r == "function" && r.prototype || Rw;
|
|
6273
6274
|
return i === n;
|
|
6274
6275
|
}
|
|
6275
6276
|
function Xd(i, r) {
|
|
@@ -6277,112 +6278,110 @@ function Xd(i, r) {
|
|
|
6277
6278
|
return i(r(n));
|
|
6278
6279
|
};
|
|
6279
6280
|
}
|
|
6280
|
-
var
|
|
6281
|
-
function
|
|
6281
|
+
var Lw = Xd(Object.keys, Object), $w = Object.prototype, Nw = $w.hasOwnProperty;
|
|
6282
|
+
function Ow(i) {
|
|
6282
6283
|
if (!Gd(i))
|
|
6283
|
-
return
|
|
6284
|
+
return Lw(i);
|
|
6284
6285
|
var r = [];
|
|
6285
6286
|
for (var n in Object(i))
|
|
6286
|
-
|
|
6287
|
+
Nw.call(i, n) && n != "constructor" && r.push(n);
|
|
6287
6288
|
return r;
|
|
6288
6289
|
}
|
|
6289
|
-
function
|
|
6290
|
+
function Uw(i) {
|
|
6290
6291
|
return i != null && Vd(i.length) && !Hd(i);
|
|
6291
6292
|
}
|
|
6292
|
-
function
|
|
6293
|
-
return
|
|
6293
|
+
function Mw(i) {
|
|
6294
|
+
return Uw(i) ? Pw(i) : Ow(i);
|
|
6294
6295
|
}
|
|
6295
|
-
var Qd = typeof exports == "object" && exports && !exports.nodeType && exports, Df = Qd && typeof module == "object" && module && !module.nodeType && module,
|
|
6296
|
+
var Qd = typeof exports == "object" && exports && !exports.nodeType && exports, Df = Qd && typeof module == "object" && module && !module.nodeType && module, zw = Df && Df.exports === Qd, If = zw ? In.Buffer : void 0;
|
|
6296
6297
|
If && If.allocUnsafe;
|
|
6297
|
-
function
|
|
6298
|
+
function Hw(i, r) {
|
|
6298
6299
|
return i.slice();
|
|
6299
6300
|
}
|
|
6300
|
-
function
|
|
6301
|
+
function Ww(i, r) {
|
|
6301
6302
|
for (var n = -1, a = i == null ? 0 : i.length, l = 0, c = []; ++n < a; ) {
|
|
6302
6303
|
var f = i[n];
|
|
6303
6304
|
r(f, n, i) && (c[l++] = f);
|
|
6304
6305
|
}
|
|
6305
6306
|
return c;
|
|
6306
6307
|
}
|
|
6307
|
-
function
|
|
6308
|
+
function qw() {
|
|
6308
6309
|
return [];
|
|
6309
6310
|
}
|
|
6310
|
-
var
|
|
6311
|
-
return i == null ? [] : (i = Object(i),
|
|
6312
|
-
return
|
|
6311
|
+
var jw = Object.prototype, Vw = jw.propertyIsEnumerable, Tf = Object.getOwnPropertySymbols, Kw = Tf ? function(i) {
|
|
6312
|
+
return i == null ? [] : (i = Object(i), Ww(Tf(i), function(r) {
|
|
6313
|
+
return Vw.call(i, r);
|
|
6313
6314
|
}));
|
|
6314
|
-
} :
|
|
6315
|
-
function
|
|
6315
|
+
} : qw;
|
|
6316
|
+
function Gw(i, r) {
|
|
6316
6317
|
for (var n = -1, a = r.length, l = i.length; ++n < a; )
|
|
6317
6318
|
i[l + n] = r[n];
|
|
6318
6319
|
return i;
|
|
6319
6320
|
}
|
|
6320
|
-
var
|
|
6321
|
-
function
|
|
6321
|
+
var Xw = Xd(Object.getPrototypeOf, Object);
|
|
6322
|
+
function Qw(i, r, n) {
|
|
6322
6323
|
var a = r(i);
|
|
6323
|
-
return j0(i) ? a :
|
|
6324
|
+
return j0(i) ? a : Gw(a, n(i));
|
|
6324
6325
|
}
|
|
6325
|
-
function
|
|
6326
|
-
return
|
|
6326
|
+
function Zw(i) {
|
|
6327
|
+
return Qw(i, Mw, Kw);
|
|
6327
6328
|
}
|
|
6328
|
-
var k0 = Tr(In, "DataView"), D0 = Tr(In, "Promise"), I0 = Tr(In, "Set"), T0 = Tr(In, "WeakMap"), Ff = "[object Map]",
|
|
6329
|
+
var k0 = Tr(In, "DataView"), D0 = Tr(In, "Promise"), I0 = Tr(In, "Set"), T0 = Tr(In, "WeakMap"), Ff = "[object Map]", Yw = "[object Object]", Pf = "[object Promise]", Rf = "[object Set]", Lf = "[object WeakMap]", $f = "[object DataView]", Jw = Ir(k0), e8 = Ir(Ro), t8 = Ir(D0), n8 = Ir(I0), r8 = Ir(T0), zn = Wo;
|
|
6329
6330
|
(k0 && zn(new k0(new ArrayBuffer(1))) != $f || Ro && zn(new Ro()) != Ff || D0 && zn(D0.resolve()) != Pf || I0 && zn(new I0()) != Rf || T0 && zn(new T0()) != Lf) && (zn = function(i) {
|
|
6330
|
-
var r = Wo(i), n = r ==
|
|
6331
|
+
var r = Wo(i), n = r == Yw ? i.constructor : void 0, a = n ? Ir(n) : "";
|
|
6331
6332
|
if (a)
|
|
6332
6333
|
switch (a) {
|
|
6333
|
-
case
|
|
6334
|
+
case Jw:
|
|
6334
6335
|
return $f;
|
|
6335
|
-
case
|
|
6336
|
+
case e8:
|
|
6336
6337
|
return Ff;
|
|
6337
|
-
case
|
|
6338
|
+
case t8:
|
|
6338
6339
|
return Pf;
|
|
6339
|
-
case
|
|
6340
|
+
case n8:
|
|
6340
6341
|
return Rf;
|
|
6341
|
-
case
|
|
6342
|
+
case r8:
|
|
6342
6343
|
return Lf;
|
|
6343
6344
|
}
|
|
6344
6345
|
return r;
|
|
6345
6346
|
});
|
|
6346
|
-
var
|
|
6347
|
-
function
|
|
6347
|
+
var o8 = Object.prototype, i8 = o8.hasOwnProperty;
|
|
6348
|
+
function a8(i) {
|
|
6348
6349
|
var r = i.length, n = new i.constructor(r);
|
|
6349
|
-
return r && typeof i[0] == "string" &&
|
|
6350
|
+
return r && typeof i[0] == "string" && i8.call(i, "index") && (n.index = i.index, n.input = i.input), n;
|
|
6350
6351
|
}
|
|
6351
6352
|
var Nf = In.Uint8Array;
|
|
6352
6353
|
function K0(i) {
|
|
6353
6354
|
var r = new i.constructor(i.byteLength);
|
|
6354
6355
|
return new Nf(r).set(new Nf(i)), r;
|
|
6355
6356
|
}
|
|
6356
|
-
function
|
|
6357
|
+
function s8(i, r) {
|
|
6357
6358
|
var n = K0(i.buffer);
|
|
6358
6359
|
return new i.constructor(n, i.byteOffset, i.byteLength);
|
|
6359
6360
|
}
|
|
6360
|
-
var
|
|
6361
|
-
function
|
|
6362
|
-
var r = new i.constructor(i.source,
|
|
6361
|
+
var l8 = /\w*$/;
|
|
6362
|
+
function c8(i) {
|
|
6363
|
+
var r = new i.constructor(i.source, l8.exec(i));
|
|
6363
6364
|
return r.lastIndex = i.lastIndex, r;
|
|
6364
6365
|
}
|
|
6365
6366
|
var Of = eo ? eo.prototype : void 0, Uf = Of ? Of.valueOf : void 0;
|
|
6366
|
-
function
|
|
6367
|
+
function u8(i) {
|
|
6367
6368
|
return Uf ? Object(Uf.call(i)) : {};
|
|
6368
6369
|
}
|
|
6369
|
-
function
|
|
6370
|
+
function f8(i, r) {
|
|
6370
6371
|
var n = K0(i.buffer);
|
|
6371
6372
|
return new i.constructor(n, i.byteOffset, i.length);
|
|
6372
6373
|
}
|
|
6373
|
-
var
|
|
6374
|
-
function
|
|
6374
|
+
var d8 = "[object Boolean]", p8 = "[object Date]", h8 = "[object Map]", v8 = "[object Number]", x8 = "[object RegExp]", g8 = "[object Set]", m8 = "[object String]", _8 = "[object Symbol]", C8 = "[object ArrayBuffer]", y8 = "[object DataView]", b8 = "[object Float32Array]", w8 = "[object Float64Array]", A8 = "[object Int8Array]", E8 = "[object Int16Array]", S8 = "[object Int32Array]", B8 = "[object Uint8Array]", k8 = "[object Uint8ClampedArray]", D8 = "[object Uint16Array]", I8 = "[object Uint32Array]";
|
|
6375
|
+
function T8(i, r, n) {
|
|
6375
6376
|
var a = i.constructor;
|
|
6376
6377
|
switch (r) {
|
|
6377
|
-
case
|
|
6378
|
+
case C8:
|
|
6378
6379
|
return K0(i);
|
|
6379
|
-
case
|
|
6380
|
-
case
|
|
6380
|
+
case d8:
|
|
6381
|
+
case p8:
|
|
6381
6382
|
return new a(+i);
|
|
6382
|
-
case _8:
|
|
6383
|
-
return i8(i);
|
|
6384
|
-
case C8:
|
|
6385
6383
|
case y8:
|
|
6384
|
+
return s8(i);
|
|
6386
6385
|
case b8:
|
|
6387
6386
|
case w8:
|
|
6388
6387
|
case A8:
|
|
@@ -6390,21 +6389,23 @@ function D8(i, r, n) {
|
|
|
6390
6389
|
case S8:
|
|
6391
6390
|
case B8:
|
|
6392
6391
|
case k8:
|
|
6393
|
-
|
|
6394
|
-
case
|
|
6395
|
-
return
|
|
6396
|
-
case p8:
|
|
6397
|
-
case x8:
|
|
6398
|
-
return new a(i);
|
|
6392
|
+
case D8:
|
|
6393
|
+
case I8:
|
|
6394
|
+
return f8(i);
|
|
6399
6395
|
case h8:
|
|
6400
|
-
return s8(i);
|
|
6401
|
-
case v8:
|
|
6402
6396
|
return new a();
|
|
6397
|
+
case v8:
|
|
6398
|
+
case m8:
|
|
6399
|
+
return new a(i);
|
|
6400
|
+
case x8:
|
|
6401
|
+
return c8(i);
|
|
6403
6402
|
case g8:
|
|
6404
|
-
return
|
|
6403
|
+
return new a();
|
|
6404
|
+
case _8:
|
|
6405
|
+
return u8(i);
|
|
6405
6406
|
}
|
|
6406
6407
|
}
|
|
6407
|
-
var Mf = Object.create,
|
|
6408
|
+
var Mf = Object.create, F8 = /* @__PURE__ */ function() {
|
|
6408
6409
|
function i() {
|
|
6409
6410
|
}
|
|
6410
6411
|
return function(r) {
|
|
@@ -6417,20 +6418,20 @@ var Mf = Object.create, I8 = /* @__PURE__ */ function() {
|
|
|
6417
6418
|
return i.prototype = void 0, n;
|
|
6418
6419
|
};
|
|
6419
6420
|
}();
|
|
6420
|
-
function T8(i) {
|
|
6421
|
-
return typeof i.constructor == "function" && !Gd(i) ? I8(Kw(i)) : {};
|
|
6422
|
-
}
|
|
6423
|
-
var F8 = "[object Map]";
|
|
6424
6421
|
function P8(i) {
|
|
6425
|
-
return
|
|
6422
|
+
return typeof i.constructor == "function" && !Gd(i) ? F8(Xw(i)) : {};
|
|
6426
6423
|
}
|
|
6427
|
-
var
|
|
6428
|
-
function
|
|
6429
|
-
return qo(i) && zn(i) ==
|
|
6424
|
+
var R8 = "[object Map]";
|
|
6425
|
+
function L8(i) {
|
|
6426
|
+
return qo(i) && zn(i) == R8;
|
|
6430
6427
|
}
|
|
6431
|
-
var
|
|
6432
|
-
|
|
6433
|
-
|
|
6428
|
+
var zf = to && to.isMap, $8 = zf ? V0(zf) : L8, N8 = "[object Set]";
|
|
6429
|
+
function O8(i) {
|
|
6430
|
+
return qo(i) && zn(i) == N8;
|
|
6431
|
+
}
|
|
6432
|
+
var Hf = to && to.isSet, U8 = Hf ? V0(Hf) : O8, Zd = "[object Arguments]", M8 = "[object Array]", z8 = "[object Boolean]", H8 = "[object Date]", W8 = "[object Error]", Yd = "[object Function]", q8 = "[object GeneratorFunction]", j8 = "[object Map]", V8 = "[object Number]", Jd = "[object Object]", K8 = "[object RegExp]", G8 = "[object Set]", X8 = "[object String]", Q8 = "[object Symbol]", Z8 = "[object WeakMap]", Y8 = "[object ArrayBuffer]", J8 = "[object DataView]", e4 = "[object Float32Array]", t4 = "[object Float64Array]", n4 = "[object Int8Array]", r4 = "[object Int16Array]", o4 = "[object Int32Array]", i4 = "[object Uint8Array]", a4 = "[object Uint8ClampedArray]", s4 = "[object Uint16Array]", l4 = "[object Uint32Array]", Qe = {};
|
|
6433
|
+
Qe[Zd] = Qe[M8] = Qe[Y8] = Qe[J8] = Qe[z8] = Qe[H8] = Qe[e4] = Qe[t4] = Qe[n4] = Qe[r4] = Qe[o4] = Qe[j8] = Qe[V8] = Qe[Jd] = Qe[K8] = Qe[G8] = Qe[X8] = Qe[Q8] = Qe[i4] = Qe[a4] = Qe[s4] = Qe[l4] = !0;
|
|
6434
|
+
Qe[W8] = Qe[Yd] = Qe[Z8] = !1;
|
|
6434
6435
|
function qi(i, r, n, a, l, c) {
|
|
6435
6436
|
var f;
|
|
6436
6437
|
if (f !== void 0)
|
|
@@ -6439,36 +6440,36 @@ function qi(i, r, n, a, l, c) {
|
|
|
6439
6440
|
return i;
|
|
6440
6441
|
var p = j0(i);
|
|
6441
6442
|
if (p)
|
|
6442
|
-
f =
|
|
6443
|
+
f = a8(i);
|
|
6443
6444
|
else {
|
|
6444
|
-
var h = zn(i), s = h == Yd || h ==
|
|
6445
|
+
var h = zn(i), s = h == Yd || h == q8;
|
|
6445
6446
|
if (jd(i))
|
|
6446
|
-
return
|
|
6447
|
+
return Hw(i);
|
|
6447
6448
|
if (h == Jd || h == Zd || s && !l)
|
|
6448
|
-
f = s ? {} :
|
|
6449
|
+
f = s ? {} : P8(i);
|
|
6449
6450
|
else {
|
|
6450
6451
|
if (!Qe[h])
|
|
6451
6452
|
return l ? i : {};
|
|
6452
|
-
f =
|
|
6453
|
+
f = T8(i, h);
|
|
6453
6454
|
}
|
|
6454
6455
|
}
|
|
6455
6456
|
c || (c = new so());
|
|
6456
6457
|
var d = c.get(i);
|
|
6457
6458
|
if (d)
|
|
6458
6459
|
return d;
|
|
6459
|
-
c.set(i, f),
|
|
6460
|
+
c.set(i, f), U8(i) ? i.forEach(function(_) {
|
|
6460
6461
|
f.add(qi(_, r, n, _, i, c));
|
|
6461
|
-
}) :
|
|
6462
|
+
}) : $8(i) && i.forEach(function(_, C) {
|
|
6462
6463
|
f.set(C, qi(_, r, n, C, i, c));
|
|
6463
6464
|
});
|
|
6464
|
-
var w =
|
|
6465
|
-
return
|
|
6466
|
-
x && (C = _, _ = i[C]),
|
|
6465
|
+
var w = Zw, x = p ? void 0 : w(i);
|
|
6466
|
+
return zb(x || i, function(_, C) {
|
|
6467
|
+
x && (C = _, _ = i[C]), jb(f, C, qi(_, r, n, C, i, c));
|
|
6467
6468
|
}), f;
|
|
6468
6469
|
}
|
|
6469
|
-
var
|
|
6470
|
+
var c4 = 1, u4 = 4;
|
|
6470
6471
|
function no(i) {
|
|
6471
|
-
return qi(i,
|
|
6472
|
+
return qi(i, c4 | u4);
|
|
6472
6473
|
}
|
|
6473
6474
|
const Xi = (i, r = "") => {
|
|
6474
6475
|
for (let n of i)
|
|
@@ -6489,7 +6490,7 @@ const Xi = (i, r = "") => {
|
|
|
6489
6490
|
}
|
|
6490
6491
|
}
|
|
6491
6492
|
return null;
|
|
6492
|
-
},
|
|
6493
|
+
}, f4 = (i, r) => {
|
|
6493
6494
|
let n;
|
|
6494
6495
|
const a = i.findIndex((f) => f.code === r);
|
|
6495
6496
|
if (a === -1) return { index: a, target: n };
|
|
@@ -6497,19 +6498,19 @@ const Xi = (i, r = "") => {
|
|
|
6497
6498
|
return c.length && (n = c[0]), n || l.length && (n = l[l.length - 1]), { index: a, target: n };
|
|
6498
6499
|
}, F0 = (i) => {
|
|
6499
6500
|
const r = Oe().subAppList ?? [];
|
|
6500
|
-
let { index: n, target: a } =
|
|
6501
|
+
let { index: n, target: a } = f4(r, i);
|
|
6501
6502
|
return r.splice(n, 1), r.length ? Ot([{ key: "subAppList", value: r }]) : wd(), Vt([
|
|
6502
6503
|
{ key: "currentCode", value: "" },
|
|
6503
6504
|
{ key: "currentTab", value: {} },
|
|
6504
6505
|
{ key: `preTab:${i}`, value: {} },
|
|
6505
6506
|
{ key: `tabMap:${i}`, value: [] }
|
|
6506
6507
|
]), a || (a = { fixed: !0, path: jt }), { currentApp: a };
|
|
6507
|
-
},
|
|
6508
|
+
}, d4 = (i, r) => {
|
|
6508
6509
|
const n = i.findIndex((c) => c.code === r), a = i.slice(0, n), l = i.slice(n + 1);
|
|
6509
6510
|
return { left: a, right: l };
|
|
6510
|
-
},
|
|
6511
|
+
}, p4 = (i, r, n) => {
|
|
6511
6512
|
var w;
|
|
6512
|
-
const a = nn(r).filter((x) => x.routeUrl).filter((x) => !(x != null && x.disable) && !(x != null && x.expired)), c = (((w = Dt()) == null ? void 0 : w.tabMap) ?? {})[i] ?? [], { left: f, right: p } =
|
|
6513
|
+
const a = nn(r).filter((x) => x.routeUrl).filter((x) => !(x != null && x.disable) && !(x != null && x.expired)), c = (((w = Dt()) == null ? void 0 : w.tabMap) ?? {})[i] ?? [], { left: f, right: p } = d4(c, n), h = c.filter((x) => a.find((_) => _.code === x.code)).map((x) => {
|
|
6513
6514
|
var _, C;
|
|
6514
6515
|
return {
|
|
6515
6516
|
...x,
|
|
@@ -6551,15 +6552,15 @@ const Xi = (i, r = "") => {
|
|
|
6551
6552
|
{ key: `tabMap:${i}`, value: [] }
|
|
6552
6553
|
]), F0(i));
|
|
6553
6554
|
}, ua = async (i) => {
|
|
6554
|
-
const [r, n] = await
|
|
6555
|
+
const [r, n] = await N2().run({
|
|
6555
6556
|
code: i,
|
|
6556
6557
|
showBtn: !0,
|
|
6557
6558
|
userType: 1
|
|
6558
6559
|
});
|
|
6559
6560
|
if (r || !n || !n.length) return { menus: [], originalMenus: [], err: r };
|
|
6560
|
-
|
|
6561
|
+
wy(n, i);
|
|
6561
6562
|
const a = nn(n);
|
|
6562
|
-
|
|
6563
|
+
Ay(a, i), Ey(a, i);
|
|
6563
6564
|
let l = eC(
|
|
6564
6565
|
n,
|
|
6565
6566
|
(f) => f.isMenu && f.code !== "aiPlatform.dasaiassistant" && f.originalCode !== "aiPlatform.dasaiassistant"
|
|
@@ -6568,7 +6569,7 @@ const Xi = (i, r = "") => {
|
|
|
6568
6569
|
return l.forEach((f) => {
|
|
6569
6570
|
f != null && f.children && f.children.length && (f.originalChildren = no(f.children)), (f != null && f.expired || f != null && f.disable) && (f.children = []);
|
|
6570
6571
|
}), { menus: l, originalMenus: c };
|
|
6571
|
-
},
|
|
6572
|
+
}, h4 = async (i) => {
|
|
6572
6573
|
var x, _, C, E, b;
|
|
6573
6574
|
let { microApp: r = null, menuCode: n = "", menuPath: a = "", route: l = {} } = i;
|
|
6574
6575
|
const c = ((x = l.meta) == null ? void 0 : x.showLayout) ?? !0;
|
|
@@ -6585,7 +6586,7 @@ const Xi = (i, r = "") => {
|
|
|
6585
6586
|
if (!h.length && (!c || !f))
|
|
6586
6587
|
return { menuConfig: [], currentApp: null, currentMenu: null, query: null };
|
|
6587
6588
|
if (r.routeUrl === "iot/iot") {
|
|
6588
|
-
const { instanceInfo: v } = await
|
|
6589
|
+
const { instanceInfo: v } = await U2();
|
|
6589
6590
|
if (v) {
|
|
6590
6591
|
let m = !1;
|
|
6591
6592
|
h.forEach((S) => {
|
|
@@ -6637,7 +6638,7 @@ const Xi = (i, r = "") => {
|
|
|
6637
6638
|
if (!w) {
|
|
6638
6639
|
if (!c || !f)
|
|
6639
6640
|
return { menuConfig: h, currentApp: null, currentMenu: null, query: { ...l.query, app: p } };
|
|
6640
|
-
const v =
|
|
6641
|
+
const v = p4(r.code, h, n);
|
|
6641
6642
|
v != null && v.currentApp && (r = v.currentApp), v != null && v.currentMenu && (w = v.currentMenu), v != null && v.currentTab && (l.query = ((b = v.currentTab) == null ? void 0 : b.query) ?? {});
|
|
6642
6643
|
}
|
|
6643
6644
|
if ((r == null ? void 0 : r.routeUrl) === jt)
|
|
@@ -6686,24 +6687,24 @@ const Xi = (i, r = "") => {
|
|
|
6686
6687
|
return { menuConfig: h, currentApp: r, currentMenu: w, query: y, microPath: m };
|
|
6687
6688
|
}
|
|
6688
6689
|
return { menuConfig: h, currentApp: r, currentMenu: null, query: { ...l.query, app: p } };
|
|
6689
|
-
},
|
|
6690
|
+
}, v4 = jn.get("/appcategory"), x4 = jn.get("/app/common"), Wf = z(!1), P0 = z([]);
|
|
6690
6691
|
Nt(() => {
|
|
6691
6692
|
var i;
|
|
6692
6693
|
return ((i = P0.value) == null ? void 0 : i.map((r) => r.apps).flat()) || [];
|
|
6693
6694
|
});
|
|
6694
6695
|
const ep = async () => {
|
|
6695
6696
|
Wf.value = !0;
|
|
6696
|
-
const [i, r] = await
|
|
6697
|
+
const [i, r] = await v4().run({ userType: 1 });
|
|
6697
6698
|
return Wf.value = !1, i ? (P0.value = [], { navConfig: [] }) : (P0.value = r, Ot([{ key: "appcategorys", value: r }]), { navConfig: r });
|
|
6698
|
-
},
|
|
6699
|
-
const [i, r] = await
|
|
6700
|
-
return i ? { fixedAppsConfig: [] } : (
|
|
6701
|
-
}, tp = "v1",
|
|
6699
|
+
}, g4 = z([]), m4 = async () => {
|
|
6700
|
+
const [i, r] = await x4().run();
|
|
6701
|
+
return i ? { fixedAppsConfig: [] } : (g4.value = r, { fixedAppsConfig: r });
|
|
6702
|
+
}, tp = "v1", _4 = na.get("/organization/authProjectTree"), C4 = wt(`/api/customer/customer/${tp}`), y4 = C4.get("/project/list"), b4 = wt(`/api/project/project-server/${tp}`), w4 = b4.get("/list/message"), A4 = async () => {
|
|
6702
6703
|
var f, p;
|
|
6703
6704
|
const i = ea();
|
|
6704
6705
|
let r = [], n = null, a = {};
|
|
6705
6706
|
if ((i == null ? void 0 : i.flag) === 4) {
|
|
6706
|
-
const [h, s = []] = await
|
|
6707
|
+
const [h, s = []] = await y4().run();
|
|
6707
6708
|
if (r = s, r && r.length) {
|
|
6708
6709
|
const d = ((f = Kt()) == null ? void 0 : f.id) || 0;
|
|
6709
6710
|
if (d && (n = r.find((w) => w.id === d)), !d || !n) {
|
|
@@ -6712,40 +6713,40 @@ const ep = async () => {
|
|
|
6712
6713
|
}
|
|
6713
6714
|
}
|
|
6714
6715
|
} else {
|
|
6715
|
-
const [h, s = []] = await
|
|
6716
|
+
const [h, s = []] = await _4().run();
|
|
6716
6717
|
if (r = s, r && r.length) {
|
|
6717
6718
|
const d = ((p = Kt()) == null ? void 0 : p.id) || 0;
|
|
6718
6719
|
d && (n = ku(r, (w) => w.id === d)), (!d || !n) && (n = ku(r, (w) => w.type === 7));
|
|
6719
6720
|
}
|
|
6720
6721
|
}
|
|
6721
|
-
const [l, c] = await
|
|
6722
|
-
return a = c, Nd((n == null ? void 0 : n.id) || 0), yd(n || { id: 0 }), sd((n == null ? void 0 : n.id) || 0),
|
|
6723
|
-
},
|
|
6724
|
-
const [i, r] = await
|
|
6722
|
+
const [l, c] = await w4().run({ projectId: (n == null ? void 0 : n.id) ?? 0 });
|
|
6723
|
+
return a = c, Nd((n == null ? void 0 : n.id) || 0), yd(n || { id: 0 }), sd((n == null ? void 0 : n.id) || 0), yy(a), { projectConfig: r, currentProject: n };
|
|
6724
|
+
}, E4 = "v1", S4 = ra.get("/visitor/login/with-default", (i) => (i.public = !0, i)), B4 = ra.get("/visitor/appearance/with-default", (i) => (i.public = !0, i)), k4 = ra.get("platform/appearance/withdefault"), D4 = wt(`/api/portal/manager/${E4}`), I4 = D4.get("/basics/home/info"), T4 = jn.get("/language"), F4 = jn.get("/menu/personal-setting"), P4 = new URL("assets/black-logo-B-Qipuvf.png", import.meta.url).href, R4 = new URL("assets/white-logo-D7bqAkJL.png", import.meta.url).href, L4 = async () => {
|
|
6725
|
+
const [i, r] = await S4().run();
|
|
6725
6726
|
return i ? { loginConfig: null } : { loginConfig: r };
|
|
6726
6727
|
}, np = async () => {
|
|
6727
|
-
const i = qn() ?
|
|
6728
|
+
const i = qn() ? k4 : B4, [r, n] = await i().run();
|
|
6728
6729
|
return r ? { platformConfig: null } : { platformConfig: n };
|
|
6729
6730
|
}, Hn = z(null), rp = async () => {
|
|
6730
|
-
const [i, r] = await
|
|
6731
|
-
return i ? { homeConfig: null } : (r && (
|
|
6732
|
-
}, hn = z({ style: 1, skinStyle: "default" }),
|
|
6733
|
-
const [i, r] = await
|
|
6731
|
+
const [i, r] = await I4().run();
|
|
6732
|
+
return i ? { homeConfig: null } : (r && (_y(r), Hn.value = r), { homeConfig: r });
|
|
6733
|
+
}, hn = z({ style: 1, skinStyle: "default" }), $4 = async () => {
|
|
6734
|
+
const [i, r] = await F4().run(), n = (r == null ? void 0 : r.style) ?? 1, a = (r == null ? void 0 : r.skinStyle) ?? "default";
|
|
6734
6735
|
hn.value = {
|
|
6735
6736
|
style: n,
|
|
6736
6737
|
skinStyle: a
|
|
6737
6738
|
}, ge.setTheme(a);
|
|
6738
|
-
const { platformConfig: l } = await np(), c = a === "default" || a === "cjb" ?
|
|
6739
|
+
const { platformConfig: l } = await np(), c = a === "default" || a === "cjb" ? P4 : R4;
|
|
6739
6740
|
return qn() && ge.nav.setLogo(l != null && l.platformLogoImg ? zo(l.platformLogoImg) : c), sessionStorage.setItem("personal-config", JSON.stringify(hn.value)), {
|
|
6740
6741
|
personalMenuConfig: hn.value
|
|
6741
6742
|
};
|
|
6742
|
-
},
|
|
6743
|
-
const [i, r] = await
|
|
6743
|
+
}, N4 = async () => {
|
|
6744
|
+
const [i, r] = await T4().run();
|
|
6744
6745
|
let n = Uo.value;
|
|
6745
6746
|
return r != null && r.type && r.type === 1 && (n = "zh-CN"), r != null && r.type && r.type === 2 && (n = "en"), j_(n), {
|
|
6746
6747
|
langConfig: { ...r }
|
|
6747
6748
|
};
|
|
6748
|
-
},
|
|
6749
|
+
}, O4 = new URL("assets/hengxian-CyCsW-Hu.png", import.meta.url).href, U4 = new URL("assets/qianru-Bsf1Lhh2.png", import.meta.url).href, M4 = new URL("assets/default-DOjV2jIm.png", import.meta.url).href, z4 = new URL("assets/kjl-DozNzlyC.png", import.meta.url).href, H4 = new URL("assets/cjb-CTZzysmN.png", import.meta.url).href, W4 = new URL("assets/ssl-XnQ4A9bQ.png", import.meta.url).href, q4 = new URL("assets/dkh-DkyUTuR0.png", import.meta.url).href, j4 = new URL("assets/default-preview-HZjPO_Oz.png", import.meta.url).href, V4 = new URL("assets/kjl-preview-xHIEscys.png", import.meta.url).href, K4 = new URL("assets/cjb-preview-Cz6ZEp0h.png", import.meta.url).href, G4 = new URL("assets/ssl-preview-C4BD2d61.png", import.meta.url).href, X4 = new URL("assets/dkh-preview-SJ0YoU2z.png", import.meta.url).href, Q4 = new URL("assets/default-preview-DEfMZxi2.png", import.meta.url).href, Z4 = new URL("assets/kjl-preview-CCoSuYDK.png", import.meta.url).href, Y4 = new URL("assets/cjb-preview-DWYaDhQb.png", import.meta.url).href, J4 = new URL("assets/ssl-preview-DI5pA3Df.png", import.meta.url).href, eA = new URL("assets/dkh-preview-DQZDuJfb.png", import.meta.url).href, tA = { class: "theme-style-container" }, nA = { class: "menu-config" }, rA = { class: "title" }, oA = { class: "content" }, iA = ["src"], aA = ["src"], sA = { class: "skin-config" }, lA = { class: "title" }, cA = { class: "content" }, uA = ["src"], fA = ["src"], dA = { class: "content" }, pA = ["src"], hA = ["src"], vA = { class: "content" }, xA = ["src"], gA = { class: "preview" }, mA = { class: "title" }, _A = { class: "preview-content" }, CA = ["src"], yA = /* @__PURE__ */ at({
|
|
6749
6750
|
__name: "index",
|
|
6750
6751
|
props: {
|
|
6751
6752
|
isShow: { type: Boolean, default: !0 }
|
|
@@ -6772,13 +6773,13 @@ const ep = async () => {
|
|
|
6772
6773
|
}), _ = Nt(() => {
|
|
6773
6774
|
const b = Uo.value === "zh-CN";
|
|
6774
6775
|
return {
|
|
6775
|
-
default: b ?
|
|
6776
|
-
kjl: b ?
|
|
6777
|
-
cjb: b ?
|
|
6778
|
-
ssl: b ?
|
|
6779
|
-
dkh: b ?
|
|
6776
|
+
default: b ? j4 : Q4,
|
|
6777
|
+
kjl: b ? V4 : Z4,
|
|
6778
|
+
cjb: b ? K4 : Y4,
|
|
6779
|
+
ssl: b ? G4 : J4,
|
|
6780
|
+
dkh: b ? X4 : eA
|
|
6780
6781
|
}[w()];
|
|
6781
|
-
}), { onPreview: C } =
|
|
6782
|
+
}), { onPreview: C } = PC(), E = () => {
|
|
6782
6783
|
C({ previewList: [_.value], previewBtnConfig: !0 });
|
|
6783
6784
|
};
|
|
6784
6785
|
return r({
|
|
@@ -6786,27 +6787,27 @@ const ep = async () => {
|
|
|
6786
6787
|
getResult: x
|
|
6787
6788
|
}), (b, v) => Dn((_e(), Ke(
|
|
6788
6789
|
"div",
|
|
6789
|
-
|
|
6790
|
+
tA,
|
|
6790
6791
|
[
|
|
6791
|
-
se("section",
|
|
6792
|
+
se("section", nA, [
|
|
6792
6793
|
se(
|
|
6793
6794
|
"p",
|
|
6794
|
-
|
|
6795
|
+
rA,
|
|
6795
6796
|
Ee(D(ce)("侧边菜单栏")),
|
|
6796
6797
|
1
|
|
6797
6798
|
/* TEXT */
|
|
6798
6799
|
),
|
|
6799
|
-
se("div",
|
|
6800
|
+
se("div", oA, [
|
|
6800
6801
|
se("div", {
|
|
6801
6802
|
class: "item-content",
|
|
6802
6803
|
onClick: v[1] || (v[1] = (m) => d("menu", 1))
|
|
6803
6804
|
}, [
|
|
6804
6805
|
se("img", {
|
|
6805
|
-
src: D(
|
|
6806
|
+
src: D(O4),
|
|
6806
6807
|
alt: "",
|
|
6807
6808
|
width: "180",
|
|
6808
6809
|
height: "120"
|
|
6809
|
-
}, null, 8,
|
|
6810
|
+
}, null, 8, iA),
|
|
6810
6811
|
ae(D(_r), {
|
|
6811
6812
|
modelValue: n.value,
|
|
6812
6813
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => n.value = m)
|
|
@@ -6827,11 +6828,11 @@ const ep = async () => {
|
|
|
6827
6828
|
onClick: v[3] || (v[3] = (m) => d("menu", 2))
|
|
6828
6829
|
}, [
|
|
6829
6830
|
se("img", {
|
|
6830
|
-
src: D(
|
|
6831
|
+
src: D(U4),
|
|
6831
6832
|
alt: "",
|
|
6832
6833
|
width: "180",
|
|
6833
6834
|
height: "120"
|
|
6834
|
-
}, null, 8,
|
|
6835
|
+
}, null, 8, aA),
|
|
6835
6836
|
ae(D(_r), {
|
|
6836
6837
|
modelValue: a.value,
|
|
6837
6838
|
"onUpdate:modelValue": v[2] || (v[2] = (m) => a.value = m)
|
|
@@ -6849,25 +6850,25 @@ const ep = async () => {
|
|
|
6849
6850
|
])
|
|
6850
6851
|
])
|
|
6851
6852
|
]),
|
|
6852
|
-
se("section",
|
|
6853
|
+
se("section", sA, [
|
|
6853
6854
|
se(
|
|
6854
6855
|
"p",
|
|
6855
|
-
|
|
6856
|
+
lA,
|
|
6856
6857
|
Ee(D(ce)("皮肤风格设置")),
|
|
6857
6858
|
1
|
|
6858
6859
|
/* TEXT */
|
|
6859
6860
|
),
|
|
6860
|
-
se("div",
|
|
6861
|
+
se("div", cA, [
|
|
6861
6862
|
se("div", {
|
|
6862
6863
|
class: "item-content",
|
|
6863
6864
|
onClick: v[5] || (v[5] = (m) => d("skin", 1))
|
|
6864
6865
|
}, [
|
|
6865
6866
|
se("img", {
|
|
6866
|
-
src: D(
|
|
6867
|
+
src: D(M4),
|
|
6867
6868
|
alt: "",
|
|
6868
6869
|
width: "180",
|
|
6869
6870
|
height: "120"
|
|
6870
|
-
}, null, 8,
|
|
6871
|
+
}, null, 8, uA),
|
|
6871
6872
|
ae(D(_r), {
|
|
6872
6873
|
modelValue: l.value,
|
|
6873
6874
|
"onUpdate:modelValue": v[4] || (v[4] = (m) => l.value = m)
|
|
@@ -6888,11 +6889,11 @@ const ep = async () => {
|
|
|
6888
6889
|
onClick: v[7] || (v[7] = (m) => d("skin", 2))
|
|
6889
6890
|
}, [
|
|
6890
6891
|
se("img", {
|
|
6891
|
-
src: D(
|
|
6892
|
+
src: D(z4),
|
|
6892
6893
|
alt: "",
|
|
6893
6894
|
width: "180",
|
|
6894
6895
|
height: "120"
|
|
6895
|
-
}, null, 8,
|
|
6896
|
+
}, null, 8, fA),
|
|
6896
6897
|
ae(D(_r), {
|
|
6897
6898
|
modelValue: c.value,
|
|
6898
6899
|
"onUpdate:modelValue": v[6] || (v[6] = (m) => c.value = m)
|
|
@@ -6909,17 +6910,17 @@ const ep = async () => {
|
|
|
6909
6910
|
}, 8, ["modelValue"])
|
|
6910
6911
|
])
|
|
6911
6912
|
]),
|
|
6912
|
-
se("div",
|
|
6913
|
+
se("div", dA, [
|
|
6913
6914
|
se("div", {
|
|
6914
6915
|
class: "item-content",
|
|
6915
6916
|
onClick: v[9] || (v[9] = (m) => d("skin", 3))
|
|
6916
6917
|
}, [
|
|
6917
6918
|
se("img", {
|
|
6918
|
-
src: D(
|
|
6919
|
+
src: D(H4),
|
|
6919
6920
|
alt: "",
|
|
6920
6921
|
width: "180",
|
|
6921
6922
|
height: "120"
|
|
6922
|
-
}, null, 8,
|
|
6923
|
+
}, null, 8, pA),
|
|
6923
6924
|
ae(D(_r), {
|
|
6924
6925
|
modelValue: f.value,
|
|
6925
6926
|
"onUpdate:modelValue": v[8] || (v[8] = (m) => f.value = m)
|
|
@@ -6940,11 +6941,11 @@ const ep = async () => {
|
|
|
6940
6941
|
onClick: v[11] || (v[11] = (m) => d("skin", 4))
|
|
6941
6942
|
}, [
|
|
6942
6943
|
se("img", {
|
|
6943
|
-
src: D(
|
|
6944
|
+
src: D(W4),
|
|
6944
6945
|
alt: "",
|
|
6945
6946
|
width: "180",
|
|
6946
6947
|
height: "120"
|
|
6947
|
-
}, null, 8,
|
|
6948
|
+
}, null, 8, hA),
|
|
6948
6949
|
ae(D(_r), {
|
|
6949
6950
|
modelValue: p.value,
|
|
6950
6951
|
"onUpdate:modelValue": v[10] || (v[10] = (m) => p.value = m)
|
|
@@ -6961,17 +6962,17 @@ const ep = async () => {
|
|
|
6961
6962
|
}, 8, ["modelValue"])
|
|
6962
6963
|
])
|
|
6963
6964
|
]),
|
|
6964
|
-
se("div",
|
|
6965
|
+
se("div", vA, [
|
|
6965
6966
|
se("div", {
|
|
6966
6967
|
class: "item-content",
|
|
6967
6968
|
onClick: v[13] || (v[13] = (m) => d("skin", 5))
|
|
6968
6969
|
}, [
|
|
6969
6970
|
se("img", {
|
|
6970
|
-
src: D(
|
|
6971
|
+
src: D(q4),
|
|
6971
6972
|
alt: "",
|
|
6972
6973
|
width: "180",
|
|
6973
6974
|
height: "120"
|
|
6974
|
-
}, null, 8,
|
|
6975
|
+
}, null, 8, xA),
|
|
6975
6976
|
ae(D(_r), {
|
|
6976
6977
|
modelValue: h.value,
|
|
6977
6978
|
"onUpdate:modelValue": v[12] || (v[12] = (m) => h.value = m)
|
|
@@ -6989,22 +6990,22 @@ const ep = async () => {
|
|
|
6989
6990
|
])
|
|
6990
6991
|
])
|
|
6991
6992
|
]),
|
|
6992
|
-
se("section",
|
|
6993
|
+
se("section", gA, [
|
|
6993
6994
|
se(
|
|
6994
6995
|
"p",
|
|
6995
|
-
|
|
6996
|
+
mA,
|
|
6996
6997
|
Ee(D(ce)("效果预览")),
|
|
6997
6998
|
1
|
|
6998
6999
|
/* TEXT */
|
|
6999
7000
|
),
|
|
7000
|
-
se("div",
|
|
7001
|
+
se("div", _A, [
|
|
7001
7002
|
se("img", {
|
|
7002
7003
|
src: _.value,
|
|
7003
7004
|
alt: "",
|
|
7004
7005
|
width: "100%",
|
|
7005
7006
|
height: "100% ",
|
|
7006
7007
|
onClick: E
|
|
7007
|
-
}, null, 8,
|
|
7008
|
+
}, null, 8, CA)
|
|
7008
7009
|
])
|
|
7009
7010
|
])
|
|
7010
7011
|
],
|
|
@@ -7014,7 +7015,7 @@ const ep = async () => {
|
|
|
7014
7015
|
[Jr, b.isShow]
|
|
7015
7016
|
]);
|
|
7016
7017
|
}
|
|
7017
|
-
}),
|
|
7018
|
+
}), bA = /* @__PURE__ */ Ut(yA, [["__scopeId", "data-v-6071b555"]]), wA = { class: "set-lang" }, AA = /* @__PURE__ */ at({
|
|
7018
7019
|
__name: "index",
|
|
7019
7020
|
props: {
|
|
7020
7021
|
isShow: { type: Boolean }
|
|
@@ -7034,7 +7035,7 @@ const ep = async () => {
|
|
|
7034
7035
|
getResult: () => ({ ...a.value })
|
|
7035
7036
|
}), (c, f) => Dn((_e(), Ke(
|
|
7036
7037
|
"div",
|
|
7037
|
-
|
|
7038
|
+
wA,
|
|
7038
7039
|
[
|
|
7039
7040
|
ae(D(U0), {
|
|
7040
7041
|
width: "100%",
|
|
@@ -7064,7 +7065,7 @@ const ep = async () => {
|
|
|
7064
7065
|
[Jr, c.isShow]
|
|
7065
7066
|
]);
|
|
7066
7067
|
}
|
|
7067
|
-
}),
|
|
7068
|
+
}), EA = /* @__PURE__ */ Ut(AA, [["__scopeId", "data-v-b5871b7c"]]), lo = "v1", SA = `/api/portal/manager/${lo}`, fa = wt(SA), BA = `/api/orchestration-engine/${lo}`, G0 = wt(`${BA}`), kA = `/api/workbench/workbench-server/${lo}`, DA = wt(kA), IA = `/workflow/form/form/${lo}`, TA = wt(IA), FA = `/api/portal/user/${lo}`, op = wt(FA), PA = op.get("/home"), RA = op.delete("/home"), LA = fa.get("/basics/home/type"), $A = fa.get("/basics/tree-page"), NA = fa.get("/basics/list"), OA = G0.get("/device-list/arrange/page"), UA = G0.get("/drawingArrangement/list"), MA = G0.get("/data/arrange/page"), zA = DA.get("/page/portal/list"), HA = TA.post("/list"), WA = `/api/portal/user/${lo}`, ip = wt(WA), qA = ip.get("/app/appcategory"), qf = ip.get("/app/common/selected"), jA = fa.get("/basics/project-list"), VA = (i) => {
|
|
7068
7069
|
const { orgInfo: r, information: n, validate: a } = i, l = z(!1), c = z(""), f = z(""), p = z(""), h = z([]), s = z({
|
|
7069
7070
|
id: "0",
|
|
7070
7071
|
path: "",
|
|
@@ -7077,9 +7078,9 @@ const ep = async () => {
|
|
|
7077
7078
|
routeUrl: "",
|
|
7078
7079
|
applicationPath: "",
|
|
7079
7080
|
levelType: 1
|
|
7080
|
-
}), d =
|
|
7081
|
+
}), d = $C();
|
|
7081
7082
|
let w = !0;
|
|
7082
|
-
const x = z(!1), { run: _ } =
|
|
7083
|
+
const x = z(!1), { run: _ } = $A(), { run: C } = NA(), E = () => {
|
|
7083
7084
|
var k;
|
|
7084
7085
|
w = !0, (k = d.value) == null || k.resetLazyLoad();
|
|
7085
7086
|
};
|
|
@@ -7131,16 +7132,16 @@ const ep = async () => {
|
|
|
7131
7132
|
k.routeUrl = R.routeUrl, k.originalCode = R.code, k.originalId = R.id, k.urlId = R.id, k.urlPath = R.path, k.applicationPath = R.applicationPath, a.value.routeUrl = "", k.code || (k.code = R.code), l.value = !1;
|
|
7132
7133
|
}
|
|
7133
7134
|
};
|
|
7134
|
-
},
|
|
7135
|
+
}, KA = "/enterpriseadmin/ioc-server/ioc-server/ws";
|
|
7135
7136
|
let zi = null;
|
|
7136
|
-
const
|
|
7137
|
+
const GA = (i) => {
|
|
7137
7138
|
const { information: r, orgInfo: n } = i, a = Nt(() => n.id), l = z(!1), c = z(0), f = z([
|
|
7138
7139
|
{ value: 0, label: ce("图纸") },
|
|
7139
7140
|
{ value: 1, label: ce("图纸编排") },
|
|
7140
7141
|
{ value: 2, label: ce("设备看板") },
|
|
7141
7142
|
{ value: 3, label: ce("数据编排") },
|
|
7142
7143
|
{ value: 4, label: ce("轻分析") }
|
|
7143
|
-
]), p = z([]), h = z(20), s = z(1), d = z(0), w = z(""), x = z(""), _ = z(""), C = z(!1), { run: E } =
|
|
7144
|
+
]), p = z([]), h = z(20), s = z(1), d = z(0), w = z(""), x = z(""), _ = z(""), C = z(!1), { run: E } = OA(), { run: b } = UA(), { run: v } = MA(), { run: m } = zA(), { run: y } = HA(), S = (q) => {
|
|
7144
7145
|
const Y = [], le = q[2], de = le.displays, H = le.scenes, Q = le[ce("2D3D集成根目录")];
|
|
7145
7146
|
k(de, "2D", "/enterpriseadmin/ioc-server/?type=preview&tag=displays", Y), k(H, "3D", "/enterpriseadmin/ioc-server/?type=preview3d&tag=scenes", Y), k(Q, ce("集成"), "/enterpriseadmin/ioc-server/?type=preview2d3d&tag=scenes", Y);
|
|
7146
7147
|
const ne = (s.value - 1) * h.value, te = ne + h.value;
|
|
@@ -7240,7 +7241,7 @@ const VA = (i) => {
|
|
|
7240
7241
|
p.value = le.data.map((de) => (de.type = ce("数据编排"), de)) || [], d.value = le.totalCount;
|
|
7241
7242
|
};
|
|
7242
7243
|
return An(() => {
|
|
7243
|
-
zi || (zi = new oa({ url:
|
|
7244
|
+
zi || (zi = new oa({ url: KA, reconnectWhenClose: !0, message: S }));
|
|
7244
7245
|
}), {
|
|
7245
7246
|
loading: C,
|
|
7246
7247
|
urlDialog: l,
|
|
@@ -7258,7 +7259,7 @@ const VA = (i) => {
|
|
|
7258
7259
|
changeType: I,
|
|
7259
7260
|
getTable: L
|
|
7260
7261
|
};
|
|
7261
|
-
},
|
|
7262
|
+
}, XA = new URL("assets/feedback-QNGIKgWm.png", import.meta.url).href, QA = ["src"], ZA = { class: "content" }, YA = /* @__PURE__ */ at({
|
|
7262
7263
|
__name: "index",
|
|
7263
7264
|
emits: ["confirm", "cancel"],
|
|
7264
7265
|
setup(i, { expose: r, emit: n }) {
|
|
@@ -7294,16 +7295,16 @@ const VA = (i) => {
|
|
|
7294
7295
|
]),
|
|
7295
7296
|
feedbackImg: fe(() => [
|
|
7296
7297
|
se("img", {
|
|
7297
|
-
src: D(
|
|
7298
|
+
src: D(XA),
|
|
7298
7299
|
width: "168",
|
|
7299
7300
|
height: "96",
|
|
7300
7301
|
alt: ""
|
|
7301
|
-
}, null, 8,
|
|
7302
|
+
}, null, 8, QA)
|
|
7302
7303
|
]),
|
|
7303
7304
|
default: fe(() => [
|
|
7304
7305
|
se(
|
|
7305
7306
|
"div",
|
|
7306
|
-
|
|
7307
|
+
ZA,
|
|
7307
7308
|
Ee(D(ce)("framework-reset-home-confirm", c.value)),
|
|
7308
7309
|
1
|
|
7309
7310
|
/* TEXT */
|
|
@@ -10985,11 +10986,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
10985
10986
|
ur ? ((ur.exports = Hr)._ = Hr, ka._ = Hr) : yt._ = Hr;
|
|
10986
10987
|
}).call(Be);
|
|
10987
10988
|
})(Qi, Qi.exports);
|
|
10988
|
-
var
|
|
10989
|
-
const
|
|
10989
|
+
var JA = Qi.exports;
|
|
10990
|
+
const eE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, tE = new URL("assets/unselected-C4QVkFPL.svg", import.meta.url).href, nE = new URL("assets/noIconurl-7L4lHbul.png", import.meta.url).href, rE = { class: "left" }, oE = { class: "select-wrap" }, iE = {
|
|
10990
10991
|
class: "custom-tree-node",
|
|
10991
10992
|
style: { overflow: "hidden" }
|
|
10992
|
-
},
|
|
10993
|
+
}, aE = { class: "ellipsis" }, sE = { key: 0 }, lE = { class: "second-wrap" }, cE = { class: "center" }, uE = { class: "app-title" }, fE = { class: "app-list" }, dE = { class: "app-item" }, pE = ["src", "onClick"], hE = { class: "tag" }, vE = ["onClick"], xE = ["src"], gE = ["src"], mE = { class: "right" }, _E = /* @__PURE__ */ at({
|
|
10993
10994
|
__name: "index",
|
|
10994
10995
|
emits: ["submit-dialog"],
|
|
10995
10996
|
setup(i, { expose: r, emit: n }) {
|
|
@@ -10997,10 +10998,10 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
10997
10998
|
const a = n, l = z(!1), c = z(""), f = z([]), p = N_([]), h = z(""), s = z(""), d = z([]);
|
|
10998
10999
|
let w = {};
|
|
10999
11000
|
const x = z([]), _ = z({}), C = async (G) => {
|
|
11000
|
-
w =
|
|
11001
|
+
w = JA.cloneDeep(G), await E(), v(), N(), l.value = !0;
|
|
11001
11002
|
}, E = async () => {
|
|
11002
11003
|
var q;
|
|
11003
|
-
const [G, ie] = await
|
|
11004
|
+
const [G, ie] = await jA({
|
|
11004
11005
|
isPersonal: !0
|
|
11005
11006
|
}).run();
|
|
11006
11007
|
G || (f.value = ie, c.value = (q = f.value[0]) == null ? void 0 : q.id);
|
|
@@ -11013,7 +11014,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11013
11014
|
x.value = q, _.value[c.value] = [...x.value];
|
|
11014
11015
|
}
|
|
11015
11016
|
}, v = async () => {
|
|
11016
|
-
const [G, ie] = await
|
|
11017
|
+
const [G, ie] = await qA({ projectId: c.value, isPersonal: !0 }).run();
|
|
11017
11018
|
if (G) return;
|
|
11018
11019
|
p.value = [
|
|
11019
11020
|
{
|
|
@@ -11126,7 +11127,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11126
11127
|
ref: j
|
|
11127
11128
|
},
|
|
11128
11129
|
[
|
|
11129
|
-
ae(D(
|
|
11130
|
+
ae(D(MC), {
|
|
11130
11131
|
defaultSplit: {
|
|
11131
11132
|
first: 223
|
|
11132
11133
|
},
|
|
@@ -11135,8 +11136,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11135
11136
|
canDrag: !0
|
|
11136
11137
|
}, {
|
|
11137
11138
|
firstSlot: fe(() => [
|
|
11138
|
-
se("div",
|
|
11139
|
-
se("div",
|
|
11139
|
+
se("div", rE, [
|
|
11140
|
+
se("div", oE, [
|
|
11140
11141
|
ae(D(M0), {
|
|
11141
11142
|
modelValue: c.value,
|
|
11142
11143
|
"onUpdate:modelValue": ie[0] || (ie[0] = (q) => c.value = q),
|
|
@@ -11176,8 +11177,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11176
11177
|
default: fe(({ node: q, data: Y }) => {
|
|
11177
11178
|
var le;
|
|
11178
11179
|
return [
|
|
11179
|
-
se("div",
|
|
11180
|
-
Dn((_e(), Ke("div",
|
|
11180
|
+
se("div", iE, [
|
|
11181
|
+
Dn((_e(), Ke("div", aE, [
|
|
11181
11182
|
ze(
|
|
11182
11183
|
Ee(Y.name),
|
|
11183
11184
|
1
|
|
@@ -11188,7 +11189,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11188
11189
|
]),
|
|
11189
11190
|
Y.id !== ((le = p.value[0]) == null ? void 0 : le.id) ? (_e(), Ke(
|
|
11190
11191
|
"span",
|
|
11191
|
-
|
|
11192
|
+
sE,
|
|
11192
11193
|
Ee(m(Y)),
|
|
11193
11194
|
1
|
|
11194
11195
|
/* TEXT */
|
|
@@ -11202,9 +11203,9 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11202
11203
|
])
|
|
11203
11204
|
]),
|
|
11204
11205
|
secondSlot: fe(() => [
|
|
11205
|
-
se("div",
|
|
11206
|
-
se("div",
|
|
11207
|
-
Dn((_e(), Ke("div",
|
|
11206
|
+
se("div", lE, [
|
|
11207
|
+
se("div", cE, [
|
|
11208
|
+
Dn((_e(), Ke("div", uE, [
|
|
11208
11209
|
ze(
|
|
11209
11210
|
Ee(s.value),
|
|
11210
11211
|
1
|
|
@@ -11213,19 +11214,19 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11213
11214
|
])), [
|
|
11214
11215
|
[D(Ki)]
|
|
11215
11216
|
]),
|
|
11216
|
-
ae(D(
|
|
11217
|
+
ae(D(OC), null, {
|
|
11217
11218
|
default: fe(() => [
|
|
11218
|
-
se("div",
|
|
11219
|
+
se("div", fE, [
|
|
11219
11220
|
(_e(!0), Ke(
|
|
11220
11221
|
Wn,
|
|
11221
11222
|
null,
|
|
11222
|
-
Yi(d.value, (q) => (_e(), Ke("div",
|
|
11223
|
+
Yi(d.value, (q) => (_e(), Ke("div", dE, [
|
|
11223
11224
|
se("img", {
|
|
11224
|
-
src: q != null && q.iconUrl ? D(zo)(q.iconUrl) : D(
|
|
11225
|
+
src: q != null && q.iconUrl ? D(zo)(q.iconUrl) : D(nE),
|
|
11225
11226
|
class: "app-icon",
|
|
11226
11227
|
onClick: (Y) => k(q)
|
|
11227
|
-
}, null, 8,
|
|
11228
|
-
se("div",
|
|
11228
|
+
}, null, 8, pE),
|
|
11229
|
+
se("div", hE, [
|
|
11229
11230
|
se("i", {
|
|
11230
11231
|
class: "das-icon",
|
|
11231
11232
|
style: { width: "14px", height: "14px", cursor: "pointer" },
|
|
@@ -11233,12 +11234,12 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11233
11234
|
}, [
|
|
11234
11235
|
x.value.findIndex((Y) => Y.id === q.id) !== -1 ? (_e(), Ke("img", {
|
|
11235
11236
|
key: 0,
|
|
11236
|
-
src: D(
|
|
11237
|
-
}, null, 8,
|
|
11237
|
+
src: D(eE)
|
|
11238
|
+
}, null, 8, xE)) : (_e(), Ke("img", {
|
|
11238
11239
|
key: 1,
|
|
11239
|
-
src: D(
|
|
11240
|
-
}, null, 8,
|
|
11241
|
-
], 8,
|
|
11240
|
+
src: D(tE)
|
|
11241
|
+
}, null, 8, gE))
|
|
11242
|
+
], 8, vE)
|
|
11242
11243
|
]),
|
|
11243
11244
|
ae(D(Bt), {
|
|
11244
11245
|
customClass: "app-name",
|
|
@@ -11255,8 +11256,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11255
11256
|
/* STABLE */
|
|
11256
11257
|
})
|
|
11257
11258
|
]),
|
|
11258
|
-
se("div",
|
|
11259
|
-
ae(D(
|
|
11259
|
+
se("div", mE, [
|
|
11260
|
+
ae(D(UC), {
|
|
11260
11261
|
width: "100%",
|
|
11261
11262
|
height: "100%",
|
|
11262
11263
|
dragSort: "",
|
|
@@ -11283,7 +11284,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11283
11284
|
/* STABLE */
|
|
11284
11285
|
}, 8, ["title", "modelValue"]));
|
|
11285
11286
|
}
|
|
11286
|
-
}),
|
|
11287
|
+
}), CE = /* @__PURE__ */ Ut(_E, [["__scopeId", "data-v-bc507f01"]]), yE = { class: "set-home-page" }, bE = { class: "header" }, wE = { class: "left-type" }, AE = { class: "text" }, EE = { class: "search-name" }, SE = { class: "table-container" }, BE = /* @__PURE__ */ at({
|
|
11287
11288
|
__name: "index",
|
|
11288
11289
|
props: {
|
|
11289
11290
|
isShow: { type: Boolean },
|
|
@@ -11295,7 +11296,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11295
11296
|
routeUrl: "",
|
|
11296
11297
|
homeAlias: ""
|
|
11297
11298
|
}), h = async () => {
|
|
11298
|
-
const Pe = { orgId: l.id }, [ve, K] = await
|
|
11299
|
+
const Pe = { orgId: l.id }, [ve, K] = await LA().run(Pe);
|
|
11299
11300
|
if (ve) {
|
|
11300
11301
|
f.value = [];
|
|
11301
11302
|
return;
|
|
@@ -11303,7 +11304,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11303
11304
|
f.value = K;
|
|
11304
11305
|
}, s = async () => {
|
|
11305
11306
|
var ee, oe, Je;
|
|
11306
|
-
const Pe = { orgId: l.id }, [ve, K] = await
|
|
11307
|
+
const Pe = { orgId: l.id }, [ve, K] = await PA().run(Pe);
|
|
11307
11308
|
ve || (c.value = K, vt.value = {
|
|
11308
11309
|
selectedApps: ((ee = K.portalAppCommonSaveDTO) == null ? void 0 : ee.ids) ?? null,
|
|
11309
11310
|
selectedAppMap: {
|
|
@@ -11328,7 +11329,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11328
11329
|
search: S,
|
|
11329
11330
|
toggleTree: k,
|
|
11330
11331
|
confirmFormBuiltIn: R
|
|
11331
|
-
} =
|
|
11332
|
+
} = VA({
|
|
11332
11333
|
orgInfo: l,
|
|
11333
11334
|
information: c,
|
|
11334
11335
|
validate: p
|
|
@@ -11348,7 +11349,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11348
11349
|
confirmUrl: le,
|
|
11349
11350
|
changeType: de,
|
|
11350
11351
|
getTable: H
|
|
11351
|
-
} =
|
|
11352
|
+
} = GA({
|
|
11352
11353
|
orgInfo: l,
|
|
11353
11354
|
information: c
|
|
11354
11355
|
}), Q = () => {
|
|
@@ -11357,7 +11358,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11357
11358
|
var Pe;
|
|
11358
11359
|
(Pe = ne.value) == null || Pe.open();
|
|
11359
11360
|
}, Fe = async (Pe) => {
|
|
11360
|
-
const [ve, K] = await
|
|
11361
|
+
const [ve, K] = await RA().run();
|
|
11361
11362
|
ve || (await s(), await rp(), Pe(), a("reset-confirm"));
|
|
11362
11363
|
}, he = () => (c.value.type === 1 || c.value.type === 2) && !c.value.routeUrl ? (p.value.routeUrl = ce("必填"), !1) : (p.value.routeUrl = "", c.value.homeAlias && c.value.homeAlias.length > 50 ? (p.value.homeAlias = ce("最多50个字符,可以是任意字符"), !1) : (p.value.homeAlias = "", !0)), He = () => {
|
|
11363
11364
|
var K;
|
|
@@ -11381,7 +11382,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11381
11382
|
[
|
|
11382
11383
|
Dn(se(
|
|
11383
11384
|
"div",
|
|
11384
|
-
|
|
11385
|
+
yE,
|
|
11385
11386
|
[
|
|
11386
11387
|
ae(D(U0), {
|
|
11387
11388
|
width: "100%",
|
|
@@ -11421,7 +11422,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11421
11422
|
disabled: c.value.type !== 2
|
|
11422
11423
|
}, {
|
|
11423
11424
|
suffix: fe(() => [
|
|
11424
|
-
ae(D(
|
|
11425
|
+
ae(D(LC), {
|
|
11425
11426
|
class: id({ disabled: !c.value.type || c.value.type === 3 }),
|
|
11426
11427
|
"icon-color": !c.value.type || c.value.type === 3 ? D(Du)("--das-ui-portal-management-disabled-color") : D(Du)("--das-ui-color-secondary"),
|
|
11427
11428
|
onClick: Q
|
|
@@ -11629,11 +11630,11 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11629
11630
|
default: fe(() => [
|
|
11630
11631
|
ae(D(O0), { spinning: D(T) }, {
|
|
11631
11632
|
default: fe(() => [
|
|
11632
|
-
se("div",
|
|
11633
|
-
se("div",
|
|
11633
|
+
se("div", bE, [
|
|
11634
|
+
se("div", wE, [
|
|
11634
11635
|
se(
|
|
11635
11636
|
"div",
|
|
11636
|
-
|
|
11637
|
+
AE,
|
|
11637
11638
|
Ee(D(ce)("类型")),
|
|
11638
11639
|
1
|
|
11639
11640
|
/* TEXT */
|
|
@@ -11647,8 +11648,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11647
11648
|
onChange: D(de)
|
|
11648
11649
|
}, null, 8, ["modelValue", "options", "onChange"])
|
|
11649
11650
|
]),
|
|
11650
|
-
se("div",
|
|
11651
|
-
ae(D(
|
|
11651
|
+
se("div", EE, [
|
|
11652
|
+
ae(D(NC), {
|
|
11652
11653
|
modelValue: D(G),
|
|
11653
11654
|
"onUpdate:modelValue": ve[12] || (ve[12] = (K) => bn(G) ? G.value = K : null),
|
|
11654
11655
|
clearable: "",
|
|
@@ -11660,8 +11661,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11660
11661
|
}, null, 8, ["modelValue", "placeholder", "onChange", "onSearch"])
|
|
11661
11662
|
])
|
|
11662
11663
|
]),
|
|
11663
|
-
se("div",
|
|
11664
|
-
ae(D(
|
|
11664
|
+
se("div", SE, [
|
|
11665
|
+
ae(D(RC), {
|
|
11665
11666
|
data: D(L),
|
|
11666
11667
|
currentRodioSelection: D(ie),
|
|
11667
11668
|
"onUpdate:currentRodioSelection": ve[13] || (ve[13] = (K) => bn(ie) ? ie.value = K : null),
|
|
@@ -11708,7 +11709,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11708
11709
|
}, 8, ["modelValue", "title"]),
|
|
11709
11710
|
Ie(" 恢复项目初始设置 二次确认 "),
|
|
11710
11711
|
ae(
|
|
11711
|
-
|
|
11712
|
+
YA,
|
|
11712
11713
|
{
|
|
11713
11714
|
ref_key: "resetDialogRef",
|
|
11714
11715
|
ref: ne,
|
|
@@ -11720,7 +11721,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11720
11721
|
),
|
|
11721
11722
|
Ie(" 常用应用配置 "),
|
|
11722
11723
|
ae(
|
|
11723
|
-
|
|
11724
|
+
CE,
|
|
11724
11725
|
{
|
|
11725
11726
|
ref_key: "configDialogRef",
|
|
11726
11727
|
ref: ye,
|
|
@@ -11735,7 +11736,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11735
11736
|
/* STABLE_FRAGMENT */
|
|
11736
11737
|
));
|
|
11737
11738
|
}
|
|
11738
|
-
}),
|
|
11739
|
+
}), kE = /* @__PURE__ */ Ut(BE, [["__scopeId", "data-v-66049152"]]), DE = "v1", IE = `/api/portal/user/${DE}`, ap = wt(IE), TE = gC.post("/menu/personal-setting"), FE = ap.put("/home"), PE = ap.put("/language"), RE = { class: "preson-style-drawer" }, LE = { class: "preson-style-footer" }, $E = /* @__PURE__ */ at({
|
|
11739
11740
|
__name: "index",
|
|
11740
11741
|
setup(i, { expose: r }) {
|
|
11741
11742
|
const n = z(!1), a = z(!1), l = z(null), c = z(null), f = z(null), p = z("theme"), h = z(""), s = z(!0), d = Nt(() => [
|
|
@@ -11756,20 +11757,20 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11756
11757
|
var b, v, m;
|
|
11757
11758
|
const { flag: E } = ta();
|
|
11758
11759
|
E === 4 ? s.value = (b = Hn.value) == null ? void 0 : b.companyIsDisplayHome : s.value = (v = Hn.value) == null ? void 0 : v.enable, h.value = (m = Hn.value) != null && m.homeAlias ? Hn.value.homeAlias : ce("首页"), n.value = !0;
|
|
11759
|
-
}, x =
|
|
11760
|
+
}, x = TC(), _ = (E) => {
|
|
11760
11761
|
if (n.value = !1, !E) return;
|
|
11761
11762
|
ge.nav.setItems([]), ge.menu.setItems([]), ge.tab.setItems([]), H0(), window.__isAutoCloseApp = !1;
|
|
11762
11763
|
const v = new URLSearchParams(window.location.search).get("lang"), m = v ? `/?lang=${encodeURIComponent(v)}` : "/";
|
|
11763
11764
|
window.location.replace(m);
|
|
11764
11765
|
}, C = async () => {
|
|
11765
11766
|
var v, m, y, S, k;
|
|
11766
|
-
const E = (v = l.value) == null ? void 0 : v.getResult(), [b] = await
|
|
11767
|
+
const E = (v = l.value) == null ? void 0 : v.getResult(), [b] = await TE().run(E);
|
|
11767
11768
|
if (b) {
|
|
11768
11769
|
p.value = "theme";
|
|
11769
11770
|
return;
|
|
11770
11771
|
}
|
|
11771
11772
|
if (Number(Bu()) >= 2) {
|
|
11772
|
-
const R = (m = f.value) == null ? void 0 : m.getResult(), [T] = await
|
|
11773
|
+
const R = (m = f.value) == null ? void 0 : m.getResult(), [T] = await PE().run(R);
|
|
11773
11774
|
if (T) {
|
|
11774
11775
|
p.value = "lang";
|
|
11775
11776
|
return;
|
|
@@ -11779,7 +11780,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11779
11780
|
p.value = "home";
|
|
11780
11781
|
return;
|
|
11781
11782
|
} else {
|
|
11782
|
-
const R = (S = c.value) == null ? void 0 : S.getResult(), [T] = await
|
|
11783
|
+
const R = (S = c.value) == null ? void 0 : S.getResult(), [T] = await FE().run(R);
|
|
11783
11784
|
if (T) {
|
|
11784
11785
|
p.value = "home";
|
|
11785
11786
|
return;
|
|
@@ -11793,8 +11794,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11793
11794
|
Wn,
|
|
11794
11795
|
null,
|
|
11795
11796
|
[
|
|
11796
|
-
se("div",
|
|
11797
|
-
ae(D(
|
|
11797
|
+
se("div", RE, [
|
|
11798
|
+
ae(D(DC), {
|
|
11798
11799
|
title: D(Ce)("个性化设置").value,
|
|
11799
11800
|
modelValue: n.value,
|
|
11800
11801
|
"onUpdate:modelValue": b[3] || (b[3] = (v) => n.value = v),
|
|
@@ -11802,7 +11803,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11802
11803
|
direction: "rtl"
|
|
11803
11804
|
}, {
|
|
11804
11805
|
footer: fe(() => [
|
|
11805
|
-
se("div",
|
|
11806
|
+
se("div", LE, [
|
|
11806
11807
|
ae(D(It), {
|
|
11807
11808
|
size: "middle",
|
|
11808
11809
|
onClick: b[2] || (b[2] = (v) => n.value = !1),
|
|
@@ -11837,23 +11838,23 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11837
11838
|
])
|
|
11838
11839
|
]),
|
|
11839
11840
|
default: fe(() => [
|
|
11840
|
-
ae(D(
|
|
11841
|
+
ae(D(IC), {
|
|
11841
11842
|
options: d.value,
|
|
11842
11843
|
activeKey: p.value,
|
|
11843
11844
|
"onUpdate:activeKey": b[0] || (b[0] = (v) => p.value = v),
|
|
11844
11845
|
"tab-width": "110px"
|
|
11845
11846
|
}, null, 8, ["options", "activeKey"]),
|
|
11846
|
-
ae(D(
|
|
11847
|
+
ae(D(bA), {
|
|
11847
11848
|
ref_key: "setThemeStyleRef",
|
|
11848
11849
|
ref: l,
|
|
11849
11850
|
isShow: p.value === "theme"
|
|
11850
11851
|
}, null, 8, ["isShow"]),
|
|
11851
|
-
ae(D(
|
|
11852
|
+
ae(D(EA), {
|
|
11852
11853
|
ref_key: "setLangRef",
|
|
11853
11854
|
ref: f,
|
|
11854
11855
|
isShow: p.value === "lang"
|
|
11855
11856
|
}, null, 8, ["isShow"]),
|
|
11856
|
-
ae(D(
|
|
11857
|
+
ae(D(kE), {
|
|
11857
11858
|
ref_key: "setHomeRef",
|
|
11858
11859
|
ref: c,
|
|
11859
11860
|
isShow: p.value === "home",
|
|
@@ -11866,7 +11867,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11866
11867
|
}, 8, ["title", "modelValue"])
|
|
11867
11868
|
]),
|
|
11868
11869
|
ae(
|
|
11869
|
-
D(
|
|
11870
|
+
D(FC),
|
|
11870
11871
|
{
|
|
11871
11872
|
ref_key: "$DasUpdateConfirmDialogRef",
|
|
11872
11873
|
ref: x,
|
|
@@ -11882,7 +11883,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11882
11883
|
/* STABLE_FRAGMENT */
|
|
11883
11884
|
));
|
|
11884
11885
|
}
|
|
11885
|
-
}),
|
|
11886
|
+
}), NE = /* @__PURE__ */ Ut($E, [["__scopeId", "data-v-56d349de"]]), OE = () => z(null), UE = { class: "iframe-container" }, ME = ["src"], zE = /* @__PURE__ */ at({
|
|
11886
11887
|
__name: "index",
|
|
11887
11888
|
props: {
|
|
11888
11889
|
src: { default: "" }
|
|
@@ -11909,7 +11910,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11909
11910
|
};
|
|
11910
11911
|
return Oo(() => {
|
|
11911
11912
|
f !== null && (clearTimeout(f), f = null);
|
|
11912
|
-
}), (s, d) => (_e(), Ke("div",
|
|
11913
|
+
}), (s, d) => (_e(), Ke("div", UE, [
|
|
11913
11914
|
l.value ? (_e(), Ke("iframe", {
|
|
11914
11915
|
key: 0,
|
|
11915
11916
|
id: "iframe-view",
|
|
@@ -11919,15 +11920,15 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11919
11920
|
height: "100%",
|
|
11920
11921
|
src: s.src,
|
|
11921
11922
|
onLoad: h
|
|
11922
|
-
}, null, 40,
|
|
11923
|
+
}, null, 40, ME)) : Ie("v-if", !0)
|
|
11923
11924
|
]));
|
|
11924
11925
|
}
|
|
11925
|
-
}), R0 = /* @__PURE__ */ Ut(
|
|
11926
|
+
}), R0 = /* @__PURE__ */ Ut(zE, [["__scopeId", "data-v-0cbfb4d9"]]), HE = L0.get("/login/history"), WE = cC.get("/sso-param"), qE = () => {
|
|
11926
11927
|
const i = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout", "/not-found"].some((h) => new RegExp(`^${h}$`, "i").test(location.pathname)), r = (f) => {
|
|
11927
11928
|
const { browserLogoImgHost: p = "", browserLogoImg: h = "" } = f || {}, s = h ? p + zo(h) : "./logo.svg";
|
|
11928
|
-
|
|
11929
|
+
Cy(s), rC(s);
|
|
11929
11930
|
}, n = async () => {
|
|
11930
|
-
const [f, p] = await
|
|
11931
|
+
const [f, p] = await HE().run({ userId: ta().id });
|
|
11931
11932
|
f || !p || JSON.stringify(p) === "{}" || (Vi.open({
|
|
11932
11933
|
key: "loginTip",
|
|
11933
11934
|
message: ce("上次登录信息"),
|
|
@@ -11942,7 +11943,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11942
11943
|
])
|
|
11943
11944
|
}), sessionStorage.setItem("loginInfoTip", "true"));
|
|
11944
11945
|
}, a = async () => {
|
|
11945
|
-
const [{ loginConfig: f }, { platformConfig: p }] = await Promise.all([
|
|
11946
|
+
const [{ loginConfig: f }, { platformConfig: p }] = await Promise.all([L4(), np()]);
|
|
11946
11947
|
return r(p), p != null && p.browserTitle && localStorage.setItem("browser-title", p.browserTitle || "AIoT智能物联网管控平台"), tC(), { loginConfig: f, platformConfig: p };
|
|
11947
11948
|
}, l = z(!1), c = () => new Promise((f) => {
|
|
11948
11949
|
const p = () => {
|
|
@@ -11952,14 +11953,14 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11952
11953
|
p();
|
|
11953
11954
|
});
|
|
11954
11955
|
return An(async () => {
|
|
11955
|
-
const { loginConfig: f } = await a(), [p, h] = await
|
|
11956
|
-
!p && h && localStorage.setItem("thirdLogouSource", h), !i() && (f != null && f.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n(), await
|
|
11956
|
+
const { loginConfig: f } = await a(), [p, h] = await WE().run({ source: "public", fieldKey: "source" });
|
|
11957
|
+
!p && h && localStorage.setItem("thirdLogouSource", h), !i() && (f != null && f.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n(), await P2(), await R2(), await L2(), await N4(), sC({ accessToken: qn() }), l.value = !0);
|
|
11957
11958
|
}), {
|
|
11958
11959
|
platformInited: l,
|
|
11959
11960
|
initNextTick: c
|
|
11960
11961
|
};
|
|
11961
|
-
},
|
|
11962
|
-
const r = Ji(), { getMenu: n } =
|
|
11962
|
+
}, jE = (i) => {
|
|
11963
|
+
const r = Ji(), { getMenu: n } = vC(), { getHistoryList: a, getSearchList: l } = l3(), { changeApp: c } = cr(), f = z("0"), p = z(!0), h = z([]), s = z(!1), d = z(!1), w = z(!1);
|
|
11963
11964
|
_t(
|
|
11964
11965
|
() => r.path,
|
|
11965
11966
|
(v) => {
|
|
@@ -11986,12 +11987,12 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
11986
11987
|
const x = async () => {
|
|
11987
11988
|
let v = {};
|
|
11988
11989
|
return await oC([
|
|
11989
|
-
|
|
11990
|
-
|
|
11990
|
+
A4,
|
|
11991
|
+
$2,
|
|
11991
11992
|
rp,
|
|
11992
11993
|
ep,
|
|
11993
|
-
|
|
11994
|
-
|
|
11994
|
+
$4,
|
|
11995
|
+
m4
|
|
11995
11996
|
]).then((y) => Object.assign(v, ...y)), p.value = !1, v;
|
|
11996
11997
|
}, _ = async (v, m) => {
|
|
11997
11998
|
var ne, te, Fe;
|
|
@@ -12042,7 +12043,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12042
12043
|
filterFlatCondition: (ue) => ue.type === 7
|
|
12043
12044
|
}), ge.nav.setProjects(y || []), S && ge.nav.setActiveProject(S));
|
|
12044
12045
|
const I = Mo() ?? {}, L = I != null && I.headPicture ? zo(I.headPicture) : void 0;
|
|
12045
|
-
h.value = [...
|
|
12046
|
+
h.value = [...HC].map((ue) => ({
|
|
12046
12047
|
...ue,
|
|
12047
12048
|
label: ce(ue.label)
|
|
12048
12049
|
})), S && S.id !== 0 ? await n("personCenter", null, "/userInfo") || (h.value = h.value.filter((G) => G.value !== "1")) : h.value = h.value.filter((ue) => ue.value !== "1"), ge.nav.setUserInfo({ headPicture: L, commandList: h.value }), ge.nav.setSearchConfig({
|
|
@@ -12075,8 +12076,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12075
12076
|
};
|
|
12076
12077
|
m();
|
|
12077
12078
|
}) };
|
|
12078
|
-
},
|
|
12079
|
-
const [r, n] = await
|
|
12079
|
+
}, VE = N0.get("/data/menu-expiration"), X0 = async (i) => {
|
|
12080
|
+
const [r, n] = await VE().run();
|
|
12080
12081
|
if (r) return { title: "", content: "", decs: [] };
|
|
12081
12082
|
const a = (i == null ? void 0 : i.expired) ?? !1;
|
|
12082
12083
|
return {
|
|
@@ -12084,7 +12085,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12084
12085
|
content: a ? n.menuExpirationExpiredContent : n.menuExpirationRetrieveContent,
|
|
12085
12086
|
desc: n.menuExpirationExpiredInfo
|
|
12086
12087
|
};
|
|
12087
|
-
},
|
|
12088
|
+
}, KE = () => {
|
|
12088
12089
|
const { entryMenu: i } = da();
|
|
12089
12090
|
ge.menu.addEventListener("onItemClick", async (r) => {
|
|
12090
12091
|
var f, p;
|
|
@@ -12104,12 +12105,12 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12104
12105
|
let a = Oe().menuCollapses || [];
|
|
12105
12106
|
r ? a = Array.from(/* @__PURE__ */ new Set([...a, n])) : a = a.filter((l) => l !== n), Ot([{ key: "menuCollapses", value: a }]);
|
|
12106
12107
|
});
|
|
12107
|
-
},
|
|
12108
|
+
}, GE = () => {
|
|
12108
12109
|
const { changeApp: i, deleteApp: r, beforeEntryApp: n } = cr();
|
|
12109
12110
|
ge.nav.addEventListener("onItemClick", async (l) => {
|
|
12110
12111
|
const c = Oe().currentSubAppCode ?? "";
|
|
12111
12112
|
if (c !== l.code) {
|
|
12112
|
-
if (c &&
|
|
12113
|
+
if (c && Ty(c), (!l.fixed || !l.unClosed) && !await n(l))
|
|
12113
12114
|
throw new Error(ce("取消切换"));
|
|
12114
12115
|
i(l);
|
|
12115
12116
|
}
|
|
@@ -12122,7 +12123,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12122
12123
|
});
|
|
12123
12124
|
const { enter: a } = Ho();
|
|
12124
12125
|
return ge.nav.addEventListener("fullScreenHandle", a), {};
|
|
12125
|
-
},
|
|
12126
|
+
}, XE = () => {
|
|
12126
12127
|
const i = oo(), r = z(""), n = z(""), a = z("");
|
|
12127
12128
|
let l = "", c = {};
|
|
12128
12129
|
_t(
|
|
@@ -12224,7 +12225,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12224
12225
|
});
|
|
12225
12226
|
const { enter: _ } = Ho();
|
|
12226
12227
|
return ge.tab.addEventListener("onToggleFullScreen", _), { fontColor: r, backgroudColor: n, borderColor: a };
|
|
12227
|
-
}, g0 = Vn(), jf = (g0 == null ? void 0 : g0.isAutoCloseApp) ?? !0, Vf = location.href.includes("showLayout=false"), Kf = window.self !== window.top,
|
|
12228
|
+
}, g0 = Vn(), jf = (g0 == null ? void 0 : g0.isAutoCloseApp) ?? !0, Vf = location.href.includes("showLayout=false"), Kf = window.self !== window.top, QE = () => {
|
|
12228
12229
|
const i = () => {
|
|
12229
12230
|
ge.nav.setItems([]), ge.menu.setItems([]), ge.tab.setItems([]), H0();
|
|
12230
12231
|
}, r = () => {
|
|
@@ -12328,7 +12329,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12328
12329
|
currentMenu: P = null,
|
|
12329
12330
|
microPath: N = "",
|
|
12330
12331
|
query: I = {}
|
|
12331
|
-
} = await
|
|
12332
|
+
} = await h4({ microApp: _, menuCode: C, menuPath: E, route: v });
|
|
12332
12333
|
if (P && (v = {
|
|
12333
12334
|
path: N || `/${P.applicationPath}${P.routeUrl}`.replace(/\/\//g, "/"),
|
|
12334
12335
|
query: { ...I, app: P.applicationCode, menu: P.code },
|
|
@@ -12502,7 +12503,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12502
12503
|
]);
|
|
12503
12504
|
}
|
|
12504
12505
|
} };
|
|
12505
|
-
},
|
|
12506
|
+
}, ZE = (i, r) => {
|
|
12506
12507
|
const { entryApp: n } = cr(), a = oo();
|
|
12507
12508
|
let { mainAppName: l = "", microAppName: c = "", microApps: f = [] } = Vn();
|
|
12508
12509
|
!l && c && (f = [{ name: c }]);
|
|
@@ -12612,10 +12613,10 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12612
12613
|
ut.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ut.excludeRoutes, ...n])), ut.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
12613
12614
|
ut.routeKeepAliveVisible = !0, ut.excludeRoutes = [];
|
|
12614
12615
|
}, 100);
|
|
12615
|
-
} }),
|
|
12616
|
+
} }), YE = {
|
|
12616
12617
|
logout: "/api/justauth/oauth-server/v1/visitor/logout"
|
|
12617
|
-
},
|
|
12618
|
-
const i = X_(), r =
|
|
12618
|
+
}, JE = () => {
|
|
12619
|
+
const i = X_(), r = OE(), n = Vn(), a = async () => {
|
|
12619
12620
|
const f = location.origin + vn, p = {
|
|
12620
12621
|
response_type: "code",
|
|
12621
12622
|
scope: "sever",
|
|
@@ -12625,14 +12626,14 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12625
12626
|
logout_token: qn(),
|
|
12626
12627
|
// 写用户访问日志逻辑配合
|
|
12627
12628
|
logout: "true"
|
|
12628
|
-
}, h =
|
|
12629
|
+
}, h = dC();
|
|
12629
12630
|
h && (p.redirect_uri = iC(p.redirect_uri, { loginType: h })), n.ssoLocale && (p.locale = "locale");
|
|
12630
12631
|
const s = new URLSearchParams();
|
|
12631
12632
|
Object.entries(p).forEach(([x, _]) => {
|
|
12632
12633
|
s.set(x, String(_));
|
|
12633
12634
|
});
|
|
12634
|
-
const d = s.toString(), w = `${n.baseURL}${
|
|
12635
|
-
window.__isAutoCloseApp = !1,
|
|
12635
|
+
const d = s.toString(), w = `${n.baseURL}${YE.logout}?${d}`;
|
|
12636
|
+
window.__isAutoCloseApp = !1, _C() ? await CC(w) : location.replace(w), localStorage.removeItem("idelTime"), sessionStorage.clear(), fC();
|
|
12636
12637
|
}, { entryApp: l } = cr(), c = async () => {
|
|
12637
12638
|
const f = "personCenter", h = (Oe().appcategorys || []).map((_) => _.apps).flat(), { originalMenus: s = [] } = await ua(f), w = nn(s).filter((_) => _.isMenu && _.routeUrl).find((_) => _.routeUrl === "/userInfo");
|
|
12638
12639
|
if (w != null && w.disable || w != null && w.expired) {
|
|
@@ -12655,7 +12656,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12655
12656
|
$changePwd: i,
|
|
12656
12657
|
$personSetDialog: r
|
|
12657
12658
|
};
|
|
12658
|
-
},
|
|
12659
|
+
}, e3 = ld.get("/convert/tenant"), t3 = L0.get("/platform/withdefault"), lp = () => {
|
|
12659
12660
|
const i = Vn(), r = z(!1), n = z(""), a = z(""), l = () => {
|
|
12660
12661
|
n.value = Mo().id, a.value = ta().tenantId, r.value = !0;
|
|
12661
12662
|
};
|
|
@@ -12663,14 +12664,14 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12663
12664
|
l();
|
|
12664
12665
|
});
|
|
12665
12666
|
const c = () => {
|
|
12666
|
-
H0(),
|
|
12667
|
+
H0(), by(), window.__isAutoCloseApp = !1, location.pathname !== jt && location.pathname !== vn ? window.location.replace(location.origin + jt) : window.location.reload();
|
|
12667
12668
|
};
|
|
12668
12669
|
return {
|
|
12669
12670
|
changeEnterprisesVisible: r,
|
|
12670
12671
|
userId: n,
|
|
12671
12672
|
tenantId: a,
|
|
12672
12673
|
changeEnterprise: async (p) => {
|
|
12673
|
-
const [h, s] = await
|
|
12674
|
+
const [h, s] = await e3().run({ tenant: p });
|
|
12674
12675
|
if (h) return;
|
|
12675
12676
|
r.value = !1;
|
|
12676
12677
|
const { access_token: d = "", refresh_token: w = "", exp: x = 0, sub: _ = "", name: C = "", flag: E = "", tenant: b = "" } = s, v = {
|
|
@@ -12686,12 +12687,12 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12686
12687
|
flag: E,
|
|
12687
12688
|
tenantId: b
|
|
12688
12689
|
};
|
|
12689
|
-
sessionStorage.setItem("hotentUserInfo", JSON.stringify(m)),
|
|
12690
|
+
sessionStorage.setItem("hotentUserInfo", JSON.stringify(m)), mC(d);
|
|
12690
12691
|
let y = "";
|
|
12691
12692
|
if (i != null && i.ssoLocale)
|
|
12692
12693
|
y = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${p}`;
|
|
12693
12694
|
else {
|
|
12694
|
-
const [S, k] = await
|
|
12695
|
+
const [S, k] = await t3().run();
|
|
12695
12696
|
k != null && k.loginHost && (y = `${k.loginHost}/oauth/refreshOauthToken?tenantId=${p}`);
|
|
12696
12697
|
}
|
|
12697
12698
|
if (y) {
|
|
@@ -12701,7 +12702,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12701
12702
|
c();
|
|
12702
12703
|
}
|
|
12703
12704
|
};
|
|
12704
|
-
},
|
|
12705
|
+
}, n3 = () => {
|
|
12705
12706
|
const { changeEnterprise: i } = lp();
|
|
12706
12707
|
ge.nav.addEventListener("onProjectChange", async (r) => {
|
|
12707
12708
|
const n = ea();
|
|
@@ -12711,12 +12712,12 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12711
12712
|
}
|
|
12712
12713
|
yd(r || { id: 0 }), sd((r == null ? void 0 : r.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
12713
12714
|
});
|
|
12714
|
-
},
|
|
12715
|
+
}, r3 = jn.get("/menu/search"), o3 = jn.get("/searchhistory"), i3 = jn.post("/searchhistory"), a3 = jn.delete("/searchhistory"), s3 = jn.delete("/searchhistory/deleteone"), l3 = () => {
|
|
12715
12716
|
const i = async () => {
|
|
12716
|
-
const [a, l] = await
|
|
12717
|
+
const [a, l] = await o3().run();
|
|
12717
12718
|
return a ? [] : l.map((c) => c.clickData).filter((c) => c.routeUrl);
|
|
12718
12719
|
}, r = async (a) => {
|
|
12719
|
-
const [l, c] = await
|
|
12720
|
+
const [l, c] = await r3().run({ name: a });
|
|
12720
12721
|
return l ? [] : c.filter((f) => f.routeUrl);
|
|
12721
12722
|
}, { entryApp: n } = cr();
|
|
12722
12723
|
return ge.nav.addEventListener("searchToPage", async (a) => {
|
|
@@ -12726,22 +12727,22 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12726
12727
|
await Po({ title: w, content: x, desc: _ });
|
|
12727
12728
|
return;
|
|
12728
12729
|
}
|
|
12729
|
-
await
|
|
12730
|
+
await i3().run({ searchVal: c, clickData: l });
|
|
12730
12731
|
const s = ((Oe().appcategorys ?? []).map((w) => w.apps).flat() ?? []).find((w) => w.code === l.applicationCode);
|
|
12731
12732
|
if (!s) return;
|
|
12732
12733
|
const d = l.applicationCode !== l.code ? l.code : "";
|
|
12733
12734
|
n({ microApp: s, menuCode: d }), f();
|
|
12734
12735
|
}), ge.nav.addEventListener("deleteSearchItem", async (a) => {
|
|
12735
12736
|
const { value: l, cb: c } = a;
|
|
12736
|
-
await
|
|
12737
|
+
await s3().run({ id: l }), c();
|
|
12737
12738
|
}), ge.nav.addEventListener("clearSearchList", async (a) => {
|
|
12738
12739
|
const { cb: l } = a;
|
|
12739
|
-
await
|
|
12740
|
+
await a3().run(), l();
|
|
12740
12741
|
}), {
|
|
12741
12742
|
getHistoryList: i,
|
|
12742
12743
|
getSearchList: r
|
|
12743
12744
|
};
|
|
12744
|
-
},
|
|
12745
|
+
}, c3 = () => {
|
|
12745
12746
|
const i = z(), { entryApp: r } = cr();
|
|
12746
12747
|
ge.nav.addEventListener("openAI", () => {
|
|
12747
12748
|
var l;
|
|
@@ -12771,7 +12772,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12771
12772
|
innerSet: !1,
|
|
12772
12773
|
excludeRoutes: [],
|
|
12773
12774
|
routeKeepAliveVisible: !0
|
|
12774
|
-
}),
|
|
12775
|
+
}), u3 = () => {
|
|
12775
12776
|
ht.addEventListenerFromMicroApp("iot:change-instance", (i) => {
|
|
12776
12777
|
const r = Oe(), n = r.currentSubAppCode;
|
|
12777
12778
|
let a = ji(n);
|
|
@@ -12792,26 +12793,26 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12792
12793
|
}
|
|
12793
12794
|
]);
|
|
12794
12795
|
});
|
|
12795
|
-
},
|
|
12796
|
+
}, f3 = (i) => {
|
|
12796
12797
|
["personcenter", "rightmanage"].forEach((n) => {
|
|
12797
12798
|
ht.addEventListenerFromMicroApp(`${n}:change-userinfo`, (a) => {
|
|
12798
12799
|
const { userInfo: l } = a.data, c = l != null && l.headPicture ? zo(l.headPicture) : void 0;
|
|
12799
12800
|
ge.nav.setUserInfo({ headPicture: c, commandList: i.value }), sessionStorage.setItem("userInfo", JSON.stringify(l));
|
|
12800
12801
|
});
|
|
12801
12802
|
});
|
|
12802
|
-
},
|
|
12803
|
+
}, d3 = () => {
|
|
12803
12804
|
ht.addEventListenerFromMicroApp("devicePanelShow", (i) => {
|
|
12804
12805
|
const { deviceId: r = "", panelCode: n = "", deviceName: a = "", x: l = 0, y: c = 0, isCenter: f = !1 } = i.data;
|
|
12805
12806
|
pd(r, n, a, l, c, f);
|
|
12806
12807
|
}), ht.addEventListenerFromMicroApp("closeDevicePanel", (i) => {
|
|
12807
|
-
|
|
12808
|
+
bC();
|
|
12808
12809
|
}), ht.addEventListenerFromMicroApp("alarmDevicePanelShow", (i) => {
|
|
12809
12810
|
const { deviceId: r = "", panelCode: n = "", alarmTime: a = "" } = i.data;
|
|
12810
|
-
|
|
12811
|
+
wC(r, n, a);
|
|
12811
12812
|
}), ht.addEventListenerFromMicroApp("closeAlarmPanel", (i) => {
|
|
12812
|
-
|
|
12813
|
+
AC();
|
|
12813
12814
|
});
|
|
12814
|
-
},
|
|
12815
|
+
}, p3 = ra.get("/platform/login/pwd-advance-notify-check"), h3 = () => {
|
|
12815
12816
|
const i = z([]), r = z(null), n = z([]), { entryApp: a } = Gi.hooks.useEntryApp(), l = () => {
|
|
12816
12817
|
var h;
|
|
12817
12818
|
const p = (((h = Oe().appcategorys) == null ? void 0 : h.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
|
|
@@ -12821,7 +12822,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12821
12822
|
url: "/api/messagecenter/message/v1/innersend",
|
|
12822
12823
|
reconnectWhenClose: !0,
|
|
12823
12824
|
opened: async () => {
|
|
12824
|
-
await
|
|
12825
|
+
await p3().run();
|
|
12825
12826
|
},
|
|
12826
12827
|
message: async (f) => {
|
|
12827
12828
|
if (ht.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: f }), window.self !== window.top) return;
|
|
@@ -12837,7 +12838,7 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12837
12838
|
description: kt("div", {}, [
|
|
12838
12839
|
// 标题
|
|
12839
12840
|
kt("div", { class: "custom-title" }, [
|
|
12840
|
-
kt(
|
|
12841
|
+
kt(EC, { customSize: 24, iconColor: "#5582f3" }),
|
|
12841
12842
|
kt("div", { class: "title" }, s.title)
|
|
12842
12843
|
]),
|
|
12843
12844
|
// 内容
|
|
@@ -12864,8 +12865,8 @@ const YA = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, JA = n
|
|
|
12864
12865
|
}), Oo(() => {
|
|
12865
12866
|
r.value && r.value.disconnect(), r.value = null;
|
|
12866
12867
|
});
|
|
12867
|
-
},
|
|
12868
|
-
function
|
|
12868
|
+
}, v3 = "v1", x3 = io(`/api/enterpriseright/permission/${v3}`), cp = io("/api/device-relation/deviceproject/v1/project/device/video", m3), g3 = N0.get("/permissionset/user-portal-menu");
|
|
12869
|
+
function m3(i) {
|
|
12869
12870
|
const r = Kt() ? Kt().id : 1;
|
|
12870
12871
|
return i.params || (i.params = {}), i.params.project = r, i.params.projectId = r, i;
|
|
12871
12872
|
}
|
|
@@ -12878,10 +12879,10 @@ function up(i) {
|
|
|
12878
12879
|
function Gf(i) {
|
|
12879
12880
|
return cp.post(`/ptz?${up(i)}`)().run();
|
|
12880
12881
|
}
|
|
12881
|
-
function
|
|
12882
|
+
function _3(i) {
|
|
12882
12883
|
return cp.post(`/url/preview?${up(i)}`)().run();
|
|
12883
12884
|
}
|
|
12884
|
-
const
|
|
12885
|
+
const C3 = x3.post("data/device-auth"), y3 = /* @__PURE__ */ at({
|
|
12885
12886
|
__name: "GridItem",
|
|
12886
12887
|
props: {
|
|
12887
12888
|
active: { type: Boolean },
|
|
@@ -12915,7 +12916,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
12915
12916
|
/* CLASS, NEED_HYDRATION */
|
|
12916
12917
|
));
|
|
12917
12918
|
}
|
|
12918
|
-
}),
|
|
12919
|
+
}), b3 = /* @__PURE__ */ Ut(y3, [["__scopeId", "data-v-68946aef"]]), w3 = { class: "layout-wrapper" }, A3 = /* @__PURE__ */ at({
|
|
12919
12920
|
__name: "GridLayout",
|
|
12920
12921
|
props: {
|
|
12921
12922
|
gridNum: {},
|
|
@@ -12927,12 +12928,12 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
12927
12928
|
const n = i, a = r, l = (c) => {
|
|
12928
12929
|
a("update:activeIndex", c);
|
|
12929
12930
|
};
|
|
12930
|
-
return (c, f) => (_e(), Ke("div",
|
|
12931
|
+
return (c, f) => (_e(), Ke("div", w3, [
|
|
12931
12932
|
Ie(' :active="index === activeIndex" '),
|
|
12932
12933
|
(_e(!0), Ke(
|
|
12933
12934
|
Wn,
|
|
12934
12935
|
null,
|
|
12935
|
-
Yi(n.gridNum, (p, h) => (_e(), Ve(
|
|
12936
|
+
Yi(n.gridNum, (p, h) => (_e(), Ve(b3, {
|
|
12936
12937
|
active: !1,
|
|
12937
12938
|
"grid-num": n.gridNum,
|
|
12938
12939
|
onItemClick: (s) => l(h)
|
|
@@ -12951,7 +12952,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
12951
12952
|
))
|
|
12952
12953
|
]));
|
|
12953
12954
|
}
|
|
12954
|
-
}),
|
|
12955
|
+
}), E3 = /* @__PURE__ */ Ut(A3, [["__scopeId", "data-v-22baf4d8"]]), S3 = /* @__PURE__ */ at({
|
|
12955
12956
|
__name: "DirectionControl",
|
|
12956
12957
|
emits: ["change"],
|
|
12957
12958
|
setup(i, { emit: r }) {
|
|
@@ -13078,10 +13079,10 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13078
13079
|
/* NEED_HYDRATION */
|
|
13079
13080
|
));
|
|
13080
13081
|
}
|
|
13081
|
-
}),
|
|
13082
|
+
}), B3 = /* @__PURE__ */ Ut(S3, [["__scopeId", "data-v-5061ed2b"]]), k3 = { class: "video-wrapper" }, D3 = { class: "video-top" }, I3 = { class: "video-top_l" }, T3 = { class: "video-title-wrapper" }, F3 = { class: "video-title" }, P3 = { class: "video-top_r" }, R3 = {
|
|
13082
13083
|
key: 0,
|
|
13083
13084
|
class: "play-status"
|
|
13084
|
-
},
|
|
13085
|
+
}, L3 = { class: "video-bottom" }, $3 = { class: "video-bottom_r" }, N3 = /* @__PURE__ */ at({
|
|
13085
13086
|
__name: "index",
|
|
13086
13087
|
props: {
|
|
13087
13088
|
videoUrl: {},
|
|
@@ -13171,29 +13172,29 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13171
13172
|
d.value = !0;
|
|
13172
13173
|
});
|
|
13173
13174
|
}
|
|
13174
|
-
), (y, S) => (_e(), Ke("div",
|
|
13175
|
+
), (y, S) => (_e(), Ke("div", k3, [
|
|
13175
13176
|
ae(D(O0), {
|
|
13176
13177
|
spinning: n.loading,
|
|
13177
13178
|
type: "component",
|
|
13178
13179
|
tip: "加载中..."
|
|
13179
13180
|
}, {
|
|
13180
13181
|
default: fe(() => [
|
|
13181
|
-
se("div",
|
|
13182
|
-
se("div",
|
|
13183
|
-
se("div",
|
|
13182
|
+
se("div", D3, [
|
|
13183
|
+
se("div", I3, [
|
|
13184
|
+
se("div", T3, [
|
|
13184
13185
|
se(
|
|
13185
13186
|
"div",
|
|
13186
|
-
|
|
13187
|
+
F3,
|
|
13187
13188
|
Ee(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
|
|
13188
13189
|
1
|
|
13189
13190
|
/* TEXT */
|
|
13190
13191
|
)
|
|
13191
13192
|
])
|
|
13192
13193
|
]),
|
|
13193
|
-
se("div",
|
|
13194
|
+
se("div", P3, [
|
|
13194
13195
|
["live"].includes(y.type) ? (_e(), Ke(
|
|
13195
13196
|
"span",
|
|
13196
|
-
|
|
13197
|
+
R3,
|
|
13197
13198
|
Ee(D(ce)("正在实时预览")),
|
|
13198
13199
|
1
|
|
13199
13200
|
/* TEXT */
|
|
@@ -13201,7 +13202,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13201
13202
|
Ie(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
13202
13203
|
])
|
|
13203
13204
|
]),
|
|
13204
|
-
n.videoUrl && d.value ? (_e(), Ve(D(
|
|
13205
|
+
n.videoUrl && d.value ? (_e(), Ve(D(BC), {
|
|
13205
13206
|
key: 0,
|
|
13206
13207
|
type: "flv",
|
|
13207
13208
|
ref_key: "dasLivePlayerRef",
|
|
@@ -13210,7 +13211,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13210
13211
|
onLoaded: w,
|
|
13211
13212
|
src: n.videoUrl
|
|
13212
13213
|
}, null, 8, ["muted", "src"])) : Ie("v-if", !0),
|
|
13213
|
-
se("div",
|
|
13214
|
+
se("div", L3, [
|
|
13214
13215
|
S[3] || (S[3] = se(
|
|
13215
13216
|
"div",
|
|
13216
13217
|
{ class: "video-bottom_l" },
|
|
@@ -13218,7 +13219,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13218
13219
|
-1
|
|
13219
13220
|
/* CACHED */
|
|
13220
13221
|
)),
|
|
13221
|
-
se("div",
|
|
13222
|
+
se("div", $3, [
|
|
13222
13223
|
se(
|
|
13223
13224
|
"div",
|
|
13224
13225
|
{
|
|
@@ -13303,7 +13304,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13303
13304
|
)
|
|
13304
13305
|
])
|
|
13305
13306
|
]),
|
|
13306
|
-
f.value ? (_e(), Ve(
|
|
13307
|
+
f.value ? (_e(), Ve(B3, {
|
|
13307
13308
|
key: 1,
|
|
13308
13309
|
onChange: b
|
|
13309
13310
|
})) : Ie("v-if", !0)
|
|
@@ -13313,7 +13314,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13313
13314
|
}, 8, ["spinning"])
|
|
13314
13315
|
]));
|
|
13315
13316
|
}
|
|
13316
|
-
}),
|
|
13317
|
+
}), O3 = /* @__PURE__ */ Ut(N3, [["__scopeId", "data-v-25a3c0f5"]]), U3 = /* @__PURE__ */ at({
|
|
13317
13318
|
props: {
|
|
13318
13319
|
deviceInfo: {
|
|
13319
13320
|
type: Object,
|
|
@@ -13329,7 +13330,7 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13329
13330
|
var d;
|
|
13330
13331
|
if (!((d = n.value) != null && d.deviceId)) return;
|
|
13331
13332
|
a.value = !0;
|
|
13332
|
-
const [h, s] = await
|
|
13333
|
+
const [h, s] = await _3({
|
|
13333
13334
|
productId: n.value.productId,
|
|
13334
13335
|
deviceId: n.value.deviceId,
|
|
13335
13336
|
source: "strategy"
|
|
@@ -13366,12 +13367,12 @@ const m3 = h3.post("data/device-auth"), _3 = /* @__PURE__ */ at({
|
|
|
13366
13367
|
})]);
|
|
13367
13368
|
}
|
|
13368
13369
|
});
|
|
13369
|
-
function
|
|
13370
|
+
function M3(i) {
|
|
13370
13371
|
const r = z(0), n = z(), {
|
|
13371
13372
|
toggle: a
|
|
13372
13373
|
} = Ho(n);
|
|
13373
13374
|
return {
|
|
13374
|
-
render: () => ae(
|
|
13375
|
+
render: () => ae(E3, {
|
|
13375
13376
|
ref: n,
|
|
13376
13377
|
gridNum: i.gridNum,
|
|
13377
13378
|
activeIndex: r.value,
|
|
@@ -13382,7 +13383,7 @@ function O3(i) {
|
|
|
13382
13383
|
index: c
|
|
13383
13384
|
}) => {
|
|
13384
13385
|
const f = i.deviceList[c];
|
|
13385
|
-
return ae(
|
|
13386
|
+
return ae(U3, {
|
|
13386
13387
|
deviceInfo: f
|
|
13387
13388
|
}, {
|
|
13388
13389
|
default: ({
|
|
@@ -13390,7 +13391,7 @@ function O3(i) {
|
|
|
13390
13391
|
onDirectionControl: h,
|
|
13391
13392
|
onZoomControl: s,
|
|
13392
13393
|
loading: d
|
|
13393
|
-
}) => ae(
|
|
13394
|
+
}) => ae(O3, {
|
|
13394
13395
|
type: "live",
|
|
13395
13396
|
loading: d,
|
|
13396
13397
|
videoUrl: p,
|
|
@@ -13405,7 +13406,7 @@ function O3(i) {
|
|
|
13405
13406
|
toggleFullscreen: a
|
|
13406
13407
|
};
|
|
13407
13408
|
}
|
|
13408
|
-
const
|
|
13409
|
+
const z3 = { class: "text-wrap" }, H3 = { class: "trigger-content" }, W3 = /* @__PURE__ */ at({
|
|
13409
13410
|
__name: "index",
|
|
13410
13411
|
props: {
|
|
13411
13412
|
deviceList: { default: () => [] },
|
|
@@ -13417,7 +13418,7 @@ const U3 = { class: "text-wrap" }, M3 = { class: "trigger-content" }, z3 = /* @_
|
|
|
13417
13418
|
hd({
|
|
13418
13419
|
fullscreen2: import("@das-fed/ui/packages/icons/fullscreen-2")
|
|
13419
13420
|
});
|
|
13420
|
-
const r = i, n = z(!0), { render: a, toggleFullscreen: l } =
|
|
13421
|
+
const r = i, n = z(!0), { render: a, toggleFullscreen: l } = M3(r), c = Nt(() => {
|
|
13421
13422
|
let f = {};
|
|
13422
13423
|
switch (r.gridNum) {
|
|
13423
13424
|
case 1:
|
|
@@ -13451,7 +13452,7 @@ const U3 = { class: "text-wrap" }, M3 = { class: "trigger-content" }, z3 = /* @_
|
|
|
13451
13452
|
onClosed: f.closeCallback
|
|
13452
13453
|
}), {
|
|
13453
13454
|
header: fe(() => [
|
|
13454
|
-
se("div",
|
|
13455
|
+
se("div", z3, [
|
|
13455
13456
|
se(
|
|
13456
13457
|
"span",
|
|
13457
13458
|
null,
|
|
@@ -13459,7 +13460,7 @@ const U3 = { class: "text-wrap" }, M3 = { class: "trigger-content" }, z3 = /* @_
|
|
|
13459
13460
|
1
|
|
13460
13461
|
/* TEXT */
|
|
13461
13462
|
),
|
|
13462
|
-
Dn((_e(), Ke("span",
|
|
13463
|
+
Dn((_e(), Ke("span", H3, [
|
|
13463
13464
|
ze(
|
|
13464
13465
|
Ee(r.triggerContent),
|
|
13465
13466
|
1
|
|
@@ -13491,23 +13492,23 @@ const U3 = { class: "text-wrap" }, M3 = { class: "trigger-content" }, z3 = /* @_
|
|
|
13491
13492
|
/* STABLE */
|
|
13492
13493
|
}, 16, ["title", "modelValue", "width", "height", "onClosed"]));
|
|
13493
13494
|
}
|
|
13494
|
-
}),
|
|
13495
|
+
}), q3 = (i) => {
|
|
13495
13496
|
const { gridNum: r = 4, deviceList: n = [], triggerContent: a = "" } = i;
|
|
13496
13497
|
return new Promise((l) => {
|
|
13497
13498
|
let c = document.body.querySelector("#video-dialog-container");
|
|
13498
13499
|
c && (To(null, c), document.body.removeChild(c)), c = document.createElement("div"), c.setAttribute("id", "video-dialog-container"), document.body.appendChild(c);
|
|
13499
|
-
const p = kt(
|
|
13500
|
+
const p = kt(W3, { gridNum: r, deviceList: n, triggerContent: a, closeCallback: () => {
|
|
13500
13501
|
To(null, c), document.body.removeChild(c), l(null);
|
|
13501
13502
|
} });
|
|
13502
13503
|
To(p, c);
|
|
13503
13504
|
});
|
|
13504
|
-
},
|
|
13505
|
+
}, j3 = () => {
|
|
13505
13506
|
const i = z(4), r = z([]), n = z(null), a = async (c) => {
|
|
13506
|
-
const [f, p] = await
|
|
13507
|
+
const [f, p] = await C3(c).run();
|
|
13507
13508
|
if (!f)
|
|
13508
13509
|
return p;
|
|
13509
13510
|
}, l = async () => {
|
|
13510
|
-
const c = Kt().id, [f, p] = await
|
|
13511
|
+
const c = Kt().id, [f, p] = await g3().run({
|
|
13511
13512
|
code: "strategy",
|
|
13512
13513
|
showBtn: !1
|
|
13513
13514
|
});
|
|
@@ -13533,7 +13534,7 @@ const U3 = { class: "text-wrap" }, M3 = { class: "trigger-content" }, z3 = /* @_
|
|
|
13533
13534
|
show: !!E
|
|
13534
13535
|
};
|
|
13535
13536
|
});
|
|
13536
|
-
r.value = _.filter((C) => !!C.show), (d = r.value) != null && d.length &&
|
|
13537
|
+
r.value = _.filter((C) => !!C.show), (d = r.value) != null && d.length && q3({ gridNum: i.value, deviceList: r.value, triggerContent: s == null ? void 0 : s.triggerContent });
|
|
13537
13538
|
}
|
|
13538
13539
|
}
|
|
13539
13540
|
}));
|
|
@@ -13580,7 +13581,7 @@ class wn extends Error {
|
|
|
13580
13581
|
super(r), this.__proto__ = n;
|
|
13581
13582
|
}
|
|
13582
13583
|
}
|
|
13583
|
-
class
|
|
13584
|
+
class V3 extends Error {
|
|
13584
13585
|
/** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
|
|
13585
13586
|
*
|
|
13586
13587
|
* @param {string} message A descriptive error message.
|
|
@@ -13591,7 +13592,7 @@ class q3 extends Error {
|
|
|
13591
13592
|
super(r), this.transport = n, this.errorType = "UnsupportedTransportError", this.__proto__ = a;
|
|
13592
13593
|
}
|
|
13593
13594
|
}
|
|
13594
|
-
class
|
|
13595
|
+
class K3 extends Error {
|
|
13595
13596
|
/** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
|
|
13596
13597
|
*
|
|
13597
13598
|
* @param {string} message A descriptive error message.
|
|
@@ -13602,7 +13603,7 @@ class j3 extends Error {
|
|
|
13602
13603
|
super(r), this.transport = n, this.errorType = "DisabledTransportError", this.__proto__ = a;
|
|
13603
13604
|
}
|
|
13604
13605
|
}
|
|
13605
|
-
class
|
|
13606
|
+
class G3 extends Error {
|
|
13606
13607
|
/** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
|
|
13607
13608
|
*
|
|
13608
13609
|
* @param {string} message A descriptive error message.
|
|
@@ -13623,7 +13624,7 @@ class Xf extends Error {
|
|
|
13623
13624
|
super(r), this.errorType = "FailedToNegotiateWithServerError", this.__proto__ = n;
|
|
13624
13625
|
}
|
|
13625
13626
|
}
|
|
13626
|
-
class
|
|
13627
|
+
class X3 extends Error {
|
|
13627
13628
|
/** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
|
|
13628
13629
|
*
|
|
13629
13630
|
* @param {string} message A descriptive error message.
|
|
@@ -13684,7 +13685,7 @@ class $o {
|
|
|
13684
13685
|
}
|
|
13685
13686
|
}
|
|
13686
13687
|
$o.instance = new $o();
|
|
13687
|
-
const
|
|
13688
|
+
const Q3 = "8.0.7";
|
|
13688
13689
|
class ft {
|
|
13689
13690
|
static isRequired(r, n) {
|
|
13690
13691
|
if (r == null)
|
|
@@ -13720,9 +13721,9 @@ class ot {
|
|
|
13720
13721
|
}
|
|
13721
13722
|
function No(i, r) {
|
|
13722
13723
|
let n = "";
|
|
13723
|
-
return Br(i) ? (n = `Binary data of length ${i.byteLength}`, r && (n += `. Content: '${
|
|
13724
|
+
return Br(i) ? (n = `Binary data of length ${i.byteLength}`, r && (n += `. Content: '${Z3(i)}'`)) : typeof i == "string" && (n = `String data of length ${i.length}`, r && (n += `. Content: '${i}'`)), n;
|
|
13724
13725
|
}
|
|
13725
|
-
function
|
|
13726
|
+
function Z3(i) {
|
|
13726
13727
|
const r = new Uint8Array(i);
|
|
13727
13728
|
let n = "";
|
|
13728
13729
|
return r.forEach((a) => {
|
|
@@ -13746,10 +13747,10 @@ async function dp(i, r, n, a, l, c) {
|
|
|
13746
13747
|
});
|
|
13747
13748
|
i.log(X.Trace, `(${r} transport) request complete. Response status: ${d.statusCode}.`);
|
|
13748
13749
|
}
|
|
13749
|
-
function
|
|
13750
|
+
function Y3(i) {
|
|
13750
13751
|
return i === void 0 ? new Zi(X.Information) : i === null ? $o.instance : i.log !== void 0 ? i : new Zi(i);
|
|
13751
13752
|
}
|
|
13752
|
-
class
|
|
13753
|
+
class J3 {
|
|
13753
13754
|
constructor(r, n) {
|
|
13754
13755
|
this._subject = r, this._observer = n;
|
|
13755
13756
|
}
|
|
@@ -13786,14 +13787,14 @@ class Zi {
|
|
|
13786
13787
|
}
|
|
13787
13788
|
function ro() {
|
|
13788
13789
|
let i = "X-SignalR-User-Agent";
|
|
13789
|
-
return ot.isNode && (i = "User-Agent"), [i,
|
|
13790
|
+
return ot.isNode && (i = "User-Agent"), [i, e6(Q3, t6(), r6(), n6())];
|
|
13790
13791
|
}
|
|
13791
|
-
function
|
|
13792
|
+
function e6(i, r, n, a) {
|
|
13792
13793
|
let l = "Microsoft SignalR/";
|
|
13793
13794
|
const c = i.split(".");
|
|
13794
13795
|
return l += `${c[0]}.${c[1]}`, l += ` (${i}; `, r && r !== "" ? l += `${r}; ` : l += "Unknown OS; ", l += `${n}`, a ? l += `; ${a}` : l += "; Unknown Runtime Version", l += ")", l;
|
|
13795
13796
|
}
|
|
13796
|
-
function
|
|
13797
|
+
function t6() {
|
|
13797
13798
|
if (ot.isNode)
|
|
13798
13799
|
switch (process.platform) {
|
|
13799
13800
|
case "win32":
|
|
@@ -13808,17 +13809,17 @@ function J3() {
|
|
|
13808
13809
|
else
|
|
13809
13810
|
return "";
|
|
13810
13811
|
}
|
|
13811
|
-
function
|
|
13812
|
+
function n6() {
|
|
13812
13813
|
if (ot.isNode)
|
|
13813
13814
|
return process.versions.node;
|
|
13814
13815
|
}
|
|
13815
|
-
function
|
|
13816
|
+
function r6() {
|
|
13816
13817
|
return ot.isNode ? "NodeJS" : "Browser";
|
|
13817
13818
|
}
|
|
13818
13819
|
function m0(i) {
|
|
13819
13820
|
return i.stack ? i.stack : i.message ? i.message : `${i}`;
|
|
13820
13821
|
}
|
|
13821
|
-
function
|
|
13822
|
+
function o6() {
|
|
13822
13823
|
if (typeof globalThis < "u")
|
|
13823
13824
|
return globalThis;
|
|
13824
13825
|
if (typeof self < "u")
|
|
@@ -13829,13 +13830,13 @@ function n6() {
|
|
|
13829
13830
|
return global;
|
|
13830
13831
|
throw new Error("could not find global");
|
|
13831
13832
|
}
|
|
13832
|
-
class
|
|
13833
|
+
class i6 extends pa {
|
|
13833
13834
|
constructor(r) {
|
|
13834
13835
|
if (super(), this._logger = r, typeof fetch > "u" || ot.isNode) {
|
|
13835
13836
|
const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
13836
13837
|
this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
|
|
13837
13838
|
} else
|
|
13838
|
-
this._fetchType = fetch.bind(
|
|
13839
|
+
this._fetchType = fetch.bind(o6());
|
|
13839
13840
|
if (typeof AbortController > "u") {
|
|
13840
13841
|
const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
13841
13842
|
this._abortControllerType = n("abort-controller");
|
|
@@ -13914,7 +13915,7 @@ function Qf(i, r) {
|
|
|
13914
13915
|
}
|
|
13915
13916
|
return n;
|
|
13916
13917
|
}
|
|
13917
|
-
class
|
|
13918
|
+
class a6 extends pa {
|
|
13918
13919
|
constructor(r) {
|
|
13919
13920
|
super(), this._logger = r;
|
|
13920
13921
|
}
|
|
@@ -13938,13 +13939,13 @@ class o6 extends pa {
|
|
|
13938
13939
|
}) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
13939
13940
|
}
|
|
13940
13941
|
}
|
|
13941
|
-
class
|
|
13942
|
+
class s6 extends pa {
|
|
13942
13943
|
/** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
|
|
13943
13944
|
constructor(r) {
|
|
13944
13945
|
if (super(), typeof fetch < "u" || ot.isNode)
|
|
13945
|
-
this._httpClient = new
|
|
13946
|
+
this._httpClient = new i6(r);
|
|
13946
13947
|
else if (typeof XMLHttpRequest < "u")
|
|
13947
|
-
this._httpClient = new
|
|
13948
|
+
this._httpClient = new a6(r);
|
|
13948
13949
|
else
|
|
13949
13950
|
throw new Error("No usable HttpClient found.");
|
|
13950
13951
|
}
|
|
@@ -13969,7 +13970,7 @@ class tn {
|
|
|
13969
13970
|
}
|
|
13970
13971
|
tn.RecordSeparatorCode = 30;
|
|
13971
13972
|
tn.RecordSeparator = String.fromCharCode(tn.RecordSeparatorCode);
|
|
13972
|
-
class
|
|
13973
|
+
class l6 {
|
|
13973
13974
|
// Handshake request is always JSON
|
|
13974
13975
|
writeHandshakeRequest(r) {
|
|
13975
13976
|
return tn.write(JSON.stringify(r));
|
|
@@ -13999,7 +14000,7 @@ var De;
|
|
|
13999
14000
|
(function(i) {
|
|
14000
14001
|
i[i.Invocation = 1] = "Invocation", i[i.StreamItem = 2] = "StreamItem", i[i.Completion = 3] = "Completion", i[i.StreamInvocation = 4] = "StreamInvocation", i[i.CancelInvocation = 5] = "CancelInvocation", i[i.Ping = 6] = "Ping", i[i.Close = 7] = "Close", i[i.Ack = 8] = "Ack", i[i.Sequence = 9] = "Sequence";
|
|
14001
14002
|
})(De || (De = {}));
|
|
14002
|
-
class
|
|
14003
|
+
class c6 {
|
|
14003
14004
|
constructor() {
|
|
14004
14005
|
this.observers = [];
|
|
14005
14006
|
}
|
|
@@ -14016,10 +14017,10 @@ class s6 {
|
|
|
14016
14017
|
r.complete && r.complete();
|
|
14017
14018
|
}
|
|
14018
14019
|
subscribe(r) {
|
|
14019
|
-
return this.observers.push(r), new
|
|
14020
|
+
return this.observers.push(r), new J3(this, r);
|
|
14020
14021
|
}
|
|
14021
14022
|
}
|
|
14022
|
-
class
|
|
14023
|
+
class u6 {
|
|
14023
14024
|
constructor(r, n, a) {
|
|
14024
14025
|
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 = r, this._connection = n, this._bufferSize = a;
|
|
14025
14026
|
}
|
|
@@ -14033,7 +14034,7 @@ class l6 {
|
|
|
14033
14034
|
};
|
|
14034
14035
|
Br(n) ? this._bufferedByteCount += n.byteLength : this._bufferedByteCount += n.length, this._bufferedByteCount >= this._bufferSize && (a = new Promise((f, p) => {
|
|
14035
14036
|
l = f, c = p;
|
|
14036
|
-
})), this._messages.push(new
|
|
14037
|
+
})), this._messages.push(new f6(n, this._totalMessageCount, l, c));
|
|
14037
14038
|
}
|
|
14038
14039
|
try {
|
|
14039
14040
|
this._reconnectInProgress || await this._connection.send(n);
|
|
@@ -14111,12 +14112,12 @@ class l6 {
|
|
|
14111
14112
|
}, 1e3));
|
|
14112
14113
|
}
|
|
14113
14114
|
}
|
|
14114
|
-
class
|
|
14115
|
+
class f6 {
|
|
14115
14116
|
constructor(r, n, a, l) {
|
|
14116
14117
|
this._message = r, this._id = n, this._resolver = a, this._rejector = l;
|
|
14117
14118
|
}
|
|
14118
14119
|
}
|
|
14119
|
-
const
|
|
14120
|
+
const d6 = 30 * 1e3, p6 = 15 * 1e3, h6 = 1e5;
|
|
14120
14121
|
var tt;
|
|
14121
14122
|
(function(i) {
|
|
14122
14123
|
i.Disconnected = "Disconnected", i.Connecting = "Connecting", i.Connected = "Connected", i.Disconnecting = "Disconnecting", i.Reconnecting = "Reconnecting";
|
|
@@ -14133,7 +14134,7 @@ class Z0 {
|
|
|
14133
14134
|
constructor(r, n, a, l, c, f, p) {
|
|
14134
14135
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
14135
14136
|
this._logger.log(X.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");
|
|
14136
|
-
}, ft.isRequired(r, "connection"), ft.isRequired(n, "logger"), ft.isRequired(a, "protocol"), this.serverTimeoutInMilliseconds = c ??
|
|
14137
|
+
}, ft.isRequired(r, "connection"), ft.isRequired(n, "logger"), ft.isRequired(a, "protocol"), this.serverTimeoutInMilliseconds = c ?? d6, this.keepAliveIntervalInMilliseconds = f ?? p6, this._statefulReconnectBufferSize = p ?? h6, this._logger = n, this._protocol = a, this.connection = r, this._reconnectPolicy = l, this._handshakeProtocol = new l6(), this.connection.onreceive = (h) => this._processIncomingData(h), this.connection.onclose = (h) => this._connectionClosed(h), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = tt.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: De.Ping });
|
|
14137
14138
|
}
|
|
14138
14139
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
14139
14140
|
get state() {
|
|
@@ -14193,7 +14194,7 @@ class Z0 {
|
|
|
14193
14194
|
};
|
|
14194
14195
|
if (this._logger.log(X.Debug, "Sending handshake request."), await this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(a)), this._logger.log(X.Information, `Using HubProtocol '${this._protocol.name}'.`), this._cleanupTimeout(), this._resetTimeoutPeriod(), this._resetKeepAliveInterval(), await r, this._stopDuringStartError)
|
|
14195
14196
|
throw this._stopDuringStartError;
|
|
14196
|
-
(this.connection.features.reconnect || !1) && (this._messageBuffer = new
|
|
14197
|
+
(this.connection.features.reconnect || !1) && (this._messageBuffer = new u6(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
|
|
14197
14198
|
if (this._messageBuffer)
|
|
14198
14199
|
return this._messageBuffer._resend();
|
|
14199
14200
|
}), this.connection.features.inherentKeepAlive || await this._sendMessage(this._cachedPingMessage);
|
|
@@ -14237,7 +14238,7 @@ class Z0 {
|
|
|
14237
14238
|
stream(r, ...n) {
|
|
14238
14239
|
const [a, l] = this._replaceStreamingParams(n), c = this._createStreamInvocation(r, n, l);
|
|
14239
14240
|
let f;
|
|
14240
|
-
const p = new
|
|
14241
|
+
const p = new c6();
|
|
14241
14242
|
return p.cancelCallback = () => {
|
|
14242
14243
|
const h = this._createCancelInvocation(c.invocationId);
|
|
14243
14244
|
return delete this._callbacks[c.invocationId], f.then(() => this._sendWithProtocol(h));
|
|
@@ -14623,10 +14624,10 @@ class Z0 {
|
|
|
14623
14624
|
return { type: De.Close };
|
|
14624
14625
|
}
|
|
14625
14626
|
}
|
|
14626
|
-
const
|
|
14627
|
+
const v6 = [0, 2e3, 1e4, 3e4, null];
|
|
14627
14628
|
class Zf {
|
|
14628
14629
|
constructor(r) {
|
|
14629
|
-
this._retryDelays = r !== void 0 ? [...r, null] :
|
|
14630
|
+
this._retryDelays = r !== void 0 ? [...r, null] : v6;
|
|
14630
14631
|
}
|
|
14631
14632
|
nextRetryDelayInMilliseconds(r) {
|
|
14632
14633
|
return this._retryDelays[r.previousRetryCount];
|
|
@@ -14636,7 +14637,7 @@ class Ar {
|
|
|
14636
14637
|
}
|
|
14637
14638
|
Ar.Authorization = "Authorization";
|
|
14638
14639
|
Ar.Cookie = "Cookie";
|
|
14639
|
-
class
|
|
14640
|
+
class x6 extends pa {
|
|
14640
14641
|
constructor(r, n) {
|
|
14641
14642
|
super(), this._innerClient = r, this._accessTokenFactory = n;
|
|
14642
14643
|
}
|
|
@@ -14661,7 +14662,7 @@ var Tt;
|
|
|
14661
14662
|
(function(i) {
|
|
14662
14663
|
i[i.Text = 1] = "Text", i[i.Binary = 2] = "Binary";
|
|
14663
14664
|
})(Tt || (Tt = {}));
|
|
14664
|
-
let
|
|
14665
|
+
let g6 = class {
|
|
14665
14666
|
constructor() {
|
|
14666
14667
|
this._isAborted = !1, this.onabort = null;
|
|
14667
14668
|
}
|
|
@@ -14681,7 +14682,7 @@ class Yf {
|
|
|
14681
14682
|
return this._pollAbort.aborted;
|
|
14682
14683
|
}
|
|
14683
14684
|
constructor(r, n, a) {
|
|
14684
|
-
this._httpClient = r, this._logger = n, this._pollAbort = new
|
|
14685
|
+
this._httpClient = r, this._logger = n, this._pollAbort = new g6(), this._options = a, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
14685
14686
|
}
|
|
14686
14687
|
async connect(r, n) {
|
|
14687
14688
|
if (ft.isRequired(r, "url"), ft.isRequired(n, "transferFormat"), ft.isIn(n, Tt, "transferFormat"), this._url = r, this._logger.log(X.Trace, "(LongPolling transport) Connecting."), n === Tt.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
@@ -14745,7 +14746,7 @@ class Yf {
|
|
|
14745
14746
|
}
|
|
14746
14747
|
}
|
|
14747
14748
|
}
|
|
14748
|
-
class
|
|
14749
|
+
class m6 {
|
|
14749
14750
|
constructor(r, n, a, l) {
|
|
14750
14751
|
this._httpClient = r, this._accessToken = n, this._logger = a, this._options = l, this.onreceive = null, this.onclose = null;
|
|
14751
14752
|
}
|
|
@@ -14795,7 +14796,7 @@ class x6 {
|
|
|
14795
14796
|
this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(r));
|
|
14796
14797
|
}
|
|
14797
14798
|
}
|
|
14798
|
-
class
|
|
14799
|
+
class _6 {
|
|
14799
14800
|
constructor(r, n, a, l, c, f) {
|
|
14800
14801
|
this._logger = a, this._accessTokenFactory = n, this._logMessageContent = l, this._webSocketConstructor = c, this._httpClient = r, this.onreceive = null, this.onclose = null, this._headers = f;
|
|
14801
14802
|
}
|
|
@@ -14854,10 +14855,10 @@ class g6 {
|
|
|
14854
14855
|
}
|
|
14855
14856
|
}
|
|
14856
14857
|
const Jf = 100;
|
|
14857
|
-
class
|
|
14858
|
+
class C6 {
|
|
14858
14859
|
constructor(r, n = {}) {
|
|
14859
14860
|
if (this._stopPromiseResolver = () => {
|
|
14860
|
-
}, this.features = {}, this._negotiateVersion = 1, ft.isRequired(r, "url"), this._logger =
|
|
14861
|
+
}, this.features = {}, this._negotiateVersion = 1, ft.isRequired(r, "url"), this._logger = Y3(n.logger), this.baseUrl = this._resolveUrl(r), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
|
|
14861
14862
|
n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
|
|
14862
14863
|
else
|
|
14863
14864
|
throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
@@ -14867,7 +14868,7 @@ class m6 {
|
|
|
14867
14868
|
const c = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
14868
14869
|
a = c("ws"), l = c("eventsource");
|
|
14869
14870
|
}
|
|
14870
|
-
!ot.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : ot.isNode && !n.WebSocket && a && (n.WebSocket = a), !ot.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : ot.isNode && !n.EventSource && typeof l < "u" && (n.EventSource = l), this._httpClient = new
|
|
14871
|
+
!ot.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : ot.isNode && !n.WebSocket && a && (n.WebSocket = a), !ot.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : ot.isNode && !n.EventSource && typeof l < "u" && (n.EventSource = l), this._httpClient = new x6(n.httpClient || new s6(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
|
|
14871
14872
|
}
|
|
14872
14873
|
async start(r) {
|
|
14873
14874
|
if (r = r || Tt.Binary, ft.isIn(r, Tt, "transferFormat"), this._logger.log(X.Debug, `Starting connection with transfer format '${Tt[r]}'.`), this._connectionState !== "Disconnected")
|
|
@@ -14991,25 +14992,25 @@ class m6 {
|
|
|
14991
14992
|
await this._startTransport(c, l), this.connectionId = h.connectionId;
|
|
14992
14993
|
return;
|
|
14993
14994
|
} catch (w) {
|
|
14994
|
-
if (this._logger.log(X.Error, `Failed to start the transport '${s.transport}': ${w}`), h = void 0, f.push(new
|
|
14995
|
+
if (this._logger.log(X.Error, `Failed to start the transport '${s.transport}': ${w}`), h = void 0, f.push(new G3(`${s.transport} failed: ${w}`, ct[s.transport])), this._connectionState !== "Connecting") {
|
|
14995
14996
|
const x = "Failed to select transport before stop() was called.";
|
|
14996
14997
|
return this._logger.log(X.Debug, x), Promise.reject(new wn(x));
|
|
14997
14998
|
}
|
|
14998
14999
|
}
|
|
14999
15000
|
}
|
|
15000
15001
|
}
|
|
15001
|
-
return f.length > 0 ? Promise.reject(new
|
|
15002
|
+
return f.length > 0 ? Promise.reject(new X3(`Unable to connect to the server with any of the available transports. ${f.join(" ")}`, f)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
|
|
15002
15003
|
}
|
|
15003
15004
|
_constructTransport(r) {
|
|
15004
15005
|
switch (r) {
|
|
15005
15006
|
case ct.WebSockets:
|
|
15006
15007
|
if (!this._options.WebSocket)
|
|
15007
15008
|
throw new Error("'WebSocket' is not supported in your environment.");
|
|
15008
|
-
return new
|
|
15009
|
+
return new _6(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
|
|
15009
15010
|
case ct.ServerSentEvents:
|
|
15010
15011
|
if (!this._options.EventSource)
|
|
15011
15012
|
throw new Error("'EventSource' is not supported in your environment.");
|
|
15012
|
-
return new
|
|
15013
|
+
return new m6(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
|
|
15013
15014
|
case ct.LongPolling:
|
|
15014
15015
|
return new Yf(this._httpClient, this._logger, this._options);
|
|
15015
15016
|
default:
|
|
@@ -15036,10 +15037,10 @@ class m6 {
|
|
|
15036
15037
|
const c = ct[r.transport];
|
|
15037
15038
|
if (c == null)
|
|
15038
15039
|
return this._logger.log(X.Debug, `Skipping transport '${r.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${r.transport}' because it is not supported by this client.`);
|
|
15039
|
-
if (
|
|
15040
|
+
if (y6(n, c))
|
|
15040
15041
|
if (r.transferFormats.map((p) => Tt[p]).indexOf(a) >= 0) {
|
|
15041
15042
|
if (c === ct.WebSockets && !this._options.WebSocket || c === ct.ServerSentEvents && !this._options.EventSource)
|
|
15042
|
-
return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it is not supported in your environment.'`), new
|
|
15043
|
+
return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it is not supported in your environment.'`), new V3(`'${ct[c]}' is not supported in your environment.`, c);
|
|
15043
15044
|
this._logger.log(X.Debug, `Selecting transport '${ct[c]}'.`);
|
|
15044
15045
|
try {
|
|
15045
15046
|
return this.features.reconnect = c === ct.WebSockets ? l : void 0, this._constructTransport(c);
|
|
@@ -15049,7 +15050,7 @@ class m6 {
|
|
|
15049
15050
|
} else
|
|
15050
15051
|
return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it does not support the requested transfer format '${Tt[a]}'.`), new Error(`'${ct[c]}' does not support ${Tt[a]}.`);
|
|
15051
15052
|
else
|
|
15052
|
-
return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it was disabled by the client.`), new
|
|
15053
|
+
return this._logger.log(X.Debug, `Skipping transport '${ct[c]}' because it was disabled by the client.`), new K3(`'${ct[c]}' is disabled by the client.`, c);
|
|
15053
15054
|
}
|
|
15054
15055
|
_isITransport(r) {
|
|
15055
15056
|
return r && typeof r == "object" && "connect" in r;
|
|
@@ -15087,7 +15088,7 @@ class m6 {
|
|
|
15087
15088
|
return a.has("negotiateVersion") || a.append("negotiateVersion", this._negotiateVersion.toString()), a.has("useStatefulReconnect") ? a.get("useStatefulReconnect") === "true" && (this._options._useStatefulReconnect = !0) : this._options._useStatefulReconnect === !0 && a.append("useStatefulReconnect", "true"), n.search = a.toString(), n.toString();
|
|
15088
15089
|
}
|
|
15089
15090
|
}
|
|
15090
|
-
function
|
|
15091
|
+
function y6(i, r) {
|
|
15091
15092
|
return !i || (r & i) !== 0;
|
|
15092
15093
|
}
|
|
15093
15094
|
class Y0 {
|
|
@@ -15142,10 +15143,10 @@ class Hi {
|
|
|
15142
15143
|
this._rejecter(r);
|
|
15143
15144
|
}
|
|
15144
15145
|
}
|
|
15145
|
-
const
|
|
15146
|
-
class
|
|
15146
|
+
const b6 = "json";
|
|
15147
|
+
class w6 {
|
|
15147
15148
|
constructor() {
|
|
15148
|
-
this.name =
|
|
15149
|
+
this.name = b6, this.version = 2, this.transferFormat = Tt.Text;
|
|
15149
15150
|
}
|
|
15150
15151
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
15151
15152
|
*
|
|
@@ -15224,7 +15225,7 @@ class y6 {
|
|
|
15224
15225
|
throw new Error(n);
|
|
15225
15226
|
}
|
|
15226
15227
|
}
|
|
15227
|
-
const
|
|
15228
|
+
const A6 = {
|
|
15228
15229
|
trace: X.Trace,
|
|
15229
15230
|
debug: X.Debug,
|
|
15230
15231
|
info: X.Information,
|
|
@@ -15235,18 +15236,18 @@ const b6 = {
|
|
|
15235
15236
|
critical: X.Critical,
|
|
15236
15237
|
none: X.None
|
|
15237
15238
|
};
|
|
15238
|
-
function
|
|
15239
|
-
const r =
|
|
15239
|
+
function E6(i) {
|
|
15240
|
+
const r = A6[i.toLowerCase()];
|
|
15240
15241
|
if (typeof r < "u")
|
|
15241
15242
|
return r;
|
|
15242
15243
|
throw new Error(`Unknown log level: ${i}`);
|
|
15243
15244
|
}
|
|
15244
|
-
class
|
|
15245
|
+
class S6 {
|
|
15245
15246
|
configureLogging(r) {
|
|
15246
|
-
if (ft.isRequired(r, "logging"),
|
|
15247
|
+
if (ft.isRequired(r, "logging"), B6(r))
|
|
15247
15248
|
this.logger = r;
|
|
15248
15249
|
else if (typeof r == "string") {
|
|
15249
|
-
const n =
|
|
15250
|
+
const n = E6(r);
|
|
15250
15251
|
this.logger = new Zi(n);
|
|
15251
15252
|
} else
|
|
15252
15253
|
this.logger = new Zi(r);
|
|
@@ -15299,16 +15300,16 @@ class A6 {
|
|
|
15299
15300
|
const r = this.httpConnectionOptions || {};
|
|
15300
15301
|
if (r.logger === void 0 && (r.logger = this.logger), !this.url)
|
|
15301
15302
|
throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
15302
|
-
const n = new
|
|
15303
|
-
return Z0.create(n, this.logger || $o.instance, this.protocol || new
|
|
15303
|
+
const n = new C6(this.url, r);
|
|
15304
|
+
return Z0.create(n, this.logger || $o.instance, this.protocol || new w6(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
15304
15305
|
}
|
|
15305
15306
|
}
|
|
15306
|
-
function
|
|
15307
|
+
function B6(i) {
|
|
15307
15308
|
return i.log !== void 0;
|
|
15308
15309
|
}
|
|
15309
|
-
let { baseURL:
|
|
15310
|
-
const
|
|
15311
|
-
const i = new
|
|
15310
|
+
let { baseURL: k6 } = Vn();
|
|
15311
|
+
const D6 = () => {
|
|
15312
|
+
const i = new S6().withUrl(`${k6}/api/tool/event-bus`, {
|
|
15312
15313
|
skipNegotiation: !0,
|
|
15313
15314
|
transport: ct.WebSockets
|
|
15314
15315
|
}).withAutomaticReconnect().build();
|
|
@@ -15317,10 +15318,10 @@ const B6 = () => {
|
|
|
15317
15318
|
}), i.onclose((r) => {
|
|
15318
15319
|
}), i.onreconnected(() => {
|
|
15319
15320
|
}), i;
|
|
15320
|
-
}, ha = "v1",
|
|
15321
|
-
|
|
15322
|
-
const
|
|
15323
|
-
const [n, a] = await
|
|
15321
|
+
}, ha = "v1", I6 = wt(`/api/graphics-engine/component/${ha}`, (i) => (i.customErrorMessage = () => "", i)), T6 = wt(`/api/portal/manager/${ha}`, (i) => (i.customErrorMessage = () => "", i)), F6 = wt(`/api/speech-base/speech/${ha}`, (i) => (i.customErrorMessage = () => "", i)), ed = I6.get("/component/client/heartbeat"), P6 = T6.get("/basics/by-alias");
|
|
15322
|
+
F6.post("/control/callBack");
|
|
15323
|
+
const R6 = wt(`/api/tool/event-bus/${ha}/`), _0 = R6.post("/publish"), L6 = na.get("/permissionset/application"), $6 = na.get("/permissionset/user-portal-menu"), td = async (i, r) => {
|
|
15324
|
+
const [n, a] = await $6().run({
|
|
15324
15325
|
code: i,
|
|
15325
15326
|
showBtn: !1,
|
|
15326
15327
|
userType: 1
|
|
@@ -15328,7 +15329,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15328
15329
|
if (n || !a || !a.length) return null;
|
|
15329
15330
|
const l = nn(a).find((c) => c.code === r);
|
|
15330
15331
|
return l || null;
|
|
15331
|
-
},
|
|
15332
|
+
}, N6 = () => {
|
|
15332
15333
|
const i = oo(), r = Ji(), { entryApp: n } = Gi.hooks.useEntryApp(), { entryMenu: a } = Gi.hooks.useEntryMenu();
|
|
15333
15334
|
let l = null;
|
|
15334
15335
|
return An(async () => {
|
|
@@ -15394,7 +15395,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15394
15395
|
if (ie)
|
|
15395
15396
|
n({ microApp: ie });
|
|
15396
15397
|
else {
|
|
15397
|
-
const [q, Y] = await
|
|
15398
|
+
const [q, Y] = await L6().run({ menuCode: G });
|
|
15398
15399
|
if (q) return;
|
|
15399
15400
|
const le = y.find((de) => de.code === Y);
|
|
15400
15401
|
if (le) {
|
|
@@ -15421,7 +15422,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15421
15422
|
setTimeout(async () => {
|
|
15422
15423
|
var m, y;
|
|
15423
15424
|
if (h.value) {
|
|
15424
|
-
const [S, k] = await
|
|
15425
|
+
const [S, k] = await P6().run({}, { params: { aliasName: v.actionValue } });
|
|
15425
15426
|
S ? await _0().run({
|
|
15426
15427
|
uniqueId: v.uniqueId,
|
|
15427
15428
|
status: 0,
|
|
@@ -15440,7 +15441,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15440
15441
|
}, 2e3);
|
|
15441
15442
|
}, d = (v) => {
|
|
15442
15443
|
const m = qn(), y = JSON.parse(atob(m.split(".")[1])).sub;
|
|
15443
|
-
|
|
15444
|
+
D6().on(`${v}:${y}`, async function(k) {
|
|
15444
15445
|
let R = f(k);
|
|
15445
15446
|
if (R)
|
|
15446
15447
|
R.uniqueId && R.actionKey == "switch-menu" && s(R);
|
|
@@ -15467,10 +15468,10 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15467
15468
|
}), Oo(() => {
|
|
15468
15469
|
l && clearInterval(l);
|
|
15469
15470
|
}), {};
|
|
15470
|
-
}, va = "v1",
|
|
15471
|
+
}, va = "v1", O6 = io(`/api/fms/report/${va}`), J0 = io(`/api/emergency/manage/${va}`), U6 = N0.get("/permissionset/user-portal-menu"), pp = io(`/api/alarm/config/${va}`), M6 = io(`/api/alarm/run-time/${va}`), z6 = pp.get("/alarm-definition/status-option"), H6 = M6.post("/record/handling"), W6 = pp.get("/alarm-level/prompttone"), q6 = O6.get("/alarm/rule/list"), j6 = dd.get("/controller/space-children-all-type"), V6 = dd.get("/controller/fuzzy-area-small"), K6 = J0.get("/emergency-event/event/type"), G6 = J0.get("/emergency-event/event/level"), X6 = J0.get("/emergency-plan/plan/handle-time"), Q6 = { class: "handle-alarm-container" }, Z6 = { class: "select-check" }, Y6 = { class: "form-box" }, J6 = { class: "select-check" }, eS = { style: { "margin-left": "8px" } }, tS = { class: "foot-btn-box" }, nS = {
|
|
15471
15472
|
name: "handleAlarm"
|
|
15472
|
-
},
|
|
15473
|
-
...
|
|
15473
|
+
}, rS = /* @__PURE__ */ at({
|
|
15474
|
+
...nS,
|
|
15474
15475
|
props: {
|
|
15475
15476
|
projectId: { default: "" },
|
|
15476
15477
|
handerIds: { default: [] }
|
|
@@ -15534,13 +15535,13 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15534
15535
|
const k = z(!0), R = z(!0), T = async (K) => {
|
|
15535
15536
|
const ee = { name: "1" };
|
|
15536
15537
|
K != null && K.id && (ee.spaceId = K.id);
|
|
15537
|
-
const [oe, Je] = await
|
|
15538
|
+
const [oe, Je] = await j6(ee).run();
|
|
15538
15539
|
return oe ? {} : Je;
|
|
15539
15540
|
}, P = async (K) => {
|
|
15540
|
-
const ee = { name: K || "" }, [oe, Je] = await
|
|
15541
|
+
const ee = { name: K || "" }, [oe, Je] = await V6(ee).run();
|
|
15541
15542
|
return oe ? {} : Je;
|
|
15542
15543
|
}, N = z(!0), I = z(!0), L = z([]), M = async () => {
|
|
15543
|
-
const [K, ee] = await
|
|
15544
|
+
const [K, ee] = await q6().run({ pageIndex: -1, pageSize: -1 });
|
|
15544
15545
|
if (K) return {};
|
|
15545
15546
|
L.value = ee.data.filter((oe) => oe.status), L.value.length > 0 && (s.value.workOrderRules = L.value[0].id);
|
|
15546
15547
|
};
|
|
@@ -15577,13 +15578,13 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15577
15578
|
}, de = (K) => {
|
|
15578
15579
|
K == "eventTypeId" && (s.value.eventLevelId = null, Q()), K == "eventLevelId" && ne(), K == "interval" && (d.value.timeLimit = "", s.value.interval == 3 ? (w.value = !0, s.value.timeLimit = "") : w.value = !1);
|
|
15579
15580
|
}, H = async () => {
|
|
15580
|
-
const [K, ee] = await
|
|
15581
|
+
const [K, ee] = await K6().run();
|
|
15581
15582
|
if (K) return {};
|
|
15582
15583
|
x.value = ee, s.value.eventTypeId || (s.value.eventTypeId = ee[0] ? ee[0].id : null), Q();
|
|
15583
15584
|
}, Q = async () => {
|
|
15584
15585
|
const K = {
|
|
15585
15586
|
eventTypeId: s.value.eventTypeId
|
|
15586
|
-
}, [ee, oe] = await
|
|
15587
|
+
}, [ee, oe] = await G6(K).run();
|
|
15587
15588
|
if (ee) return {};
|
|
15588
15589
|
const Je = { 1: Ce("一级").value, 2: Ce("二级").value, 3: Ce("三级").value, 4: Ce("四级").value };
|
|
15589
15590
|
_.value = oe.map((rn) => ({
|
|
@@ -15594,7 +15595,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15594
15595
|
const K = {
|
|
15595
15596
|
eventTypeId: s.value.eventTypeId,
|
|
15596
15597
|
eventLevel: s.value.eventLevelId
|
|
15597
|
-
}, [ee, oe] = await
|
|
15598
|
+
}, [ee, oe] = await X6(K).run();
|
|
15598
15599
|
if (ee) return {};
|
|
15599
15600
|
s.value.interval = oe.handleTimeUnit, oe.handleTimeUnit == 3 ? s.value.timeLimit = "" : s.value.timeLimit = oe.handleTime;
|
|
15600
15601
|
}, te = (K) => {
|
|
@@ -15606,7 +15607,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15606
15607
|
projectId: a.projectId
|
|
15607
15608
|
};
|
|
15608
15609
|
c.value = !0;
|
|
15609
|
-
const [ee, oe] = await
|
|
15610
|
+
const [ee, oe] = await z6(K).run();
|
|
15610
15611
|
if (ee) {
|
|
15611
15612
|
c.value = !1;
|
|
15612
15613
|
return;
|
|
@@ -15640,7 +15641,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15640
15641
|
//处理类型id
|
|
15641
15642
|
};
|
|
15642
15643
|
s.value.processTypeId === "createorder" ? (K.path = R.value ? "" : s.value.customPath, K.topic = I.value ? "" : s.value.reportTheme, K.spaceId = R.value ? "" : s.value.reportPosition ?? "", K.orderId = s.value.workOrderRules) : s.value.processTypeId === "createcontingency" ? (K.eventTypeId = s.value.eventTypeId, K.eventLevelId = s.value.eventLevelId, K.timeLimit = s.value.interval == 3 ? null : Number(s.value.timeLimit), K.interval = s.value.interval) : (K.reason = s.value.reason, K.treatmentPlan = s.value.treatmentPlan, K.remarks = s.value.remarks), c.value = !0, l("emitFn", "startHandle");
|
|
15643
|
-
const [ee, oe] = await
|
|
15644
|
+
const [ee, oe] = await H6(K, {
|
|
15644
15645
|
params: {
|
|
15645
15646
|
projectId: a.projectId
|
|
15646
15647
|
}
|
|
@@ -15658,7 +15659,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15658
15659
|
return r({
|
|
15659
15660
|
open: Pe,
|
|
15660
15661
|
close: ve
|
|
15661
|
-
}), (K, ee) => (_e(), Ke("div",
|
|
15662
|
+
}), (K, ee) => (_e(), Ke("div", Q6, [
|
|
15662
15663
|
ae(D(Er), {
|
|
15663
15664
|
modelValue: h.value,
|
|
15664
15665
|
"onUpdate:modelValue": ee[31] || (ee[31] = (oe) => h.value = oe),
|
|
@@ -15679,7 +15680,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15679
15680
|
)
|
|
15680
15681
|
]),
|
|
15681
15682
|
footer: fe(() => [
|
|
15682
|
-
se("div",
|
|
15683
|
+
se("div", tS, [
|
|
15683
15684
|
ae(D(It), {
|
|
15684
15685
|
size: "middle",
|
|
15685
15686
|
onClick: He
|
|
@@ -15813,9 +15814,9 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15813
15814
|
marginRight: "0"
|
|
15814
15815
|
}, {
|
|
15815
15816
|
default: fe(() => [
|
|
15816
|
-
se("div",
|
|
15817
|
-
se("div",
|
|
15818
|
-
ae(D(
|
|
15817
|
+
se("div", Z6, [
|
|
15818
|
+
se("div", Y6, [
|
|
15819
|
+
ae(D(zC), {
|
|
15819
15820
|
borderType: "underline",
|
|
15820
15821
|
props: { disabled: "_disabled", label: "name" },
|
|
15821
15822
|
modelValue: s.value.reportPosition,
|
|
@@ -15876,7 +15877,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15876
15877
|
marginRight: "0"
|
|
15877
15878
|
}, {
|
|
15878
15879
|
default: fe(() => [
|
|
15879
|
-
se("div",
|
|
15880
|
+
se("div", J6, [
|
|
15880
15881
|
ae(D(E0), {
|
|
15881
15882
|
maxlength: "20",
|
|
15882
15883
|
disabled: N.value,
|
|
@@ -15977,7 +15978,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
15977
15978
|
marginRight: "0"
|
|
15978
15979
|
}, {
|
|
15979
15980
|
default: fe(() => [
|
|
15980
|
-
se("div",
|
|
15981
|
+
se("div", eS, [
|
|
15981
15982
|
ae(D(M0), {
|
|
15982
15983
|
class: "select",
|
|
15983
15984
|
modelValue: s.value.interval,
|
|
@@ -16017,18 +16018,18 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
16017
16018
|
}, 8, ["modelValue"])
|
|
16018
16019
|
]));
|
|
16019
16020
|
}
|
|
16020
|
-
}),
|
|
16021
|
-
handleAlarmVue: () => kt(
|
|
16021
|
+
}), oS = /* @__PURE__ */ Ut(rS, [["__scopeId", "data-v-2eaa1bda"]]), iS = (i, r, n) => ({
|
|
16022
|
+
handleAlarmVue: () => kt(oS, {
|
|
16022
16023
|
handerIds: r.value,
|
|
16023
16024
|
projectId: Mo().id,
|
|
16024
16025
|
ref: i,
|
|
16025
16026
|
onEmitFn: (l, c) => {
|
|
16026
16027
|
}
|
|
16027
16028
|
})
|
|
16028
|
-
}),
|
|
16029
|
+
}), aS = { class: "alarm-msg" }, sS = { style: { position: "relative" } }, lS = { class: "title-left" }, cS = { class: "title-box" }, uS = { class: "content-box" }, fS = { class: "alarm-msg-line" }, dS = { class: "alarm-msg-line-left" }, pS = { class: "alarm-msg-line" }, hS = { class: "alarm-msg-line-left" }, vS = { class: "alarm-msg-line-right alarm-content-object" }, xS = { class: "alarm-msg-line" }, gS = { class: "alarm-msg-line-left" }, mS = { class: "alarm-msg-line-right alarm-content" }, _S = { class: "btn-box" }, CS = {
|
|
16029
16030
|
name: "alarm"
|
|
16030
|
-
},
|
|
16031
|
-
...
|
|
16031
|
+
}, yS = /* @__PURE__ */ at({
|
|
16032
|
+
...CS,
|
|
16032
16033
|
props: {
|
|
16033
16034
|
alarmhandle: { type: Boolean, default: !1 },
|
|
16034
16035
|
msgItem: { default: {} }
|
|
@@ -16045,8 +16046,8 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
16045
16046
|
null,
|
|
16046
16047
|
[
|
|
16047
16048
|
Ie(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
16048
|
-
se("div",
|
|
16049
|
-
se("div",
|
|
16049
|
+
se("div", aS, [
|
|
16050
|
+
se("div", sS, [
|
|
16050
16051
|
se(
|
|
16051
16052
|
"div",
|
|
16052
16053
|
{
|
|
@@ -16054,13 +16055,13 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
16054
16055
|
class: "title-detail"
|
|
16055
16056
|
},
|
|
16056
16057
|
[
|
|
16057
|
-
se("div",
|
|
16058
|
+
se("div", lS, [
|
|
16058
16059
|
Ie(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
16059
16060
|
!\r
|
|
16060
16061
|
</div> `),
|
|
16061
16062
|
se(
|
|
16062
16063
|
"div",
|
|
16063
|
-
|
|
16064
|
+
cS,
|
|
16064
16065
|
Ee(D(Ce)("新告警").value),
|
|
16065
16066
|
1
|
|
16066
16067
|
/* TEXT */
|
|
@@ -16077,11 +16078,11 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
16077
16078
|
4
|
|
16078
16079
|
/* STYLE */
|
|
16079
16080
|
),
|
|
16080
|
-
se("div",
|
|
16081
|
-
se("div",
|
|
16081
|
+
se("div", uS, [
|
|
16082
|
+
se("div", fS, [
|
|
16082
16083
|
se(
|
|
16083
16084
|
"div",
|
|
16084
|
-
|
|
16085
|
+
dS,
|
|
16085
16086
|
Ee(D(Ce)("告警等级:").value),
|
|
16086
16087
|
1
|
|
16087
16088
|
/* TEXT */
|
|
@@ -16097,39 +16098,39 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
16097
16098
|
/* TEXT, STYLE */
|
|
16098
16099
|
)
|
|
16099
16100
|
]),
|
|
16100
|
-
se("div",
|
|
16101
|
+
se("div", pS, [
|
|
16101
16102
|
se(
|
|
16102
16103
|
"div",
|
|
16103
|
-
|
|
16104
|
+
hS,
|
|
16104
16105
|
Ee(D(Ce)("告警对象:").value),
|
|
16105
16106
|
1
|
|
16106
16107
|
/* TEXT */
|
|
16107
16108
|
),
|
|
16108
16109
|
se(
|
|
16109
16110
|
"div",
|
|
16110
|
-
|
|
16111
|
+
vS,
|
|
16111
16112
|
Ee(f.msgItem.equipmentName || ""),
|
|
16112
16113
|
1
|
|
16113
16114
|
/* TEXT */
|
|
16114
16115
|
)
|
|
16115
16116
|
]),
|
|
16116
|
-
se("div",
|
|
16117
|
+
se("div", xS, [
|
|
16117
16118
|
se(
|
|
16118
16119
|
"div",
|
|
16119
|
-
|
|
16120
|
+
gS,
|
|
16120
16121
|
Ee(D(Ce)("告警内容:").value),
|
|
16121
16122
|
1
|
|
16122
16123
|
/* TEXT */
|
|
16123
16124
|
),
|
|
16124
16125
|
se(
|
|
16125
16126
|
"div",
|
|
16126
|
-
|
|
16127
|
+
mS,
|
|
16127
16128
|
Ee(f.msgItem.alarmContent || ""),
|
|
16128
16129
|
1
|
|
16129
16130
|
/* TEXT */
|
|
16130
16131
|
)
|
|
16131
16132
|
]),
|
|
16132
|
-
se("div",
|
|
16133
|
+
se("div", _S, [
|
|
16133
16134
|
f.msgItem.equipmentCode && f.msgItem.equipmentPanelCode ? (_e(), Ve(D(It), {
|
|
16134
16135
|
key: 0,
|
|
16135
16136
|
block: "",
|
|
@@ -16174,7 +16175,7 @@ const F6 = wt(`/api/tool/event-bus/${ha}/`), _0 = F6.post("/publish"), P6 = na.g
|
|
|
16174
16175
|
));
|
|
16175
16176
|
}
|
|
16176
16177
|
});
|
|
16177
|
-
let
|
|
16178
|
+
let bS = (i = 21) => {
|
|
16178
16179
|
let r = "", n = crypto.getRandomValues(new Uint8Array(i));
|
|
16179
16180
|
for (; i--; ) {
|
|
16180
16181
|
let a = n[i] & 63;
|
|
@@ -16182,7 +16183,7 @@ let CS = (i = 21) => {
|
|
|
16182
16183
|
}
|
|
16183
16184
|
return r;
|
|
16184
16185
|
};
|
|
16185
|
-
const
|
|
16186
|
+
const wS = () => {
|
|
16186
16187
|
const i = z(null), r = z(0), n = z(null), a = z(null), l = z([]), c = z([]), f = z(!1), p = z(!1), h = z(!1), s = z({
|
|
16187
16188
|
playId: "",
|
|
16188
16189
|
// 播放的告警的recordId
|
|
@@ -16209,7 +16210,7 @@ const yS = () => {
|
|
|
16209
16210
|
N.push({ alarmId: P.recordId }), l.value = N, (I = n.value) == null || I.open();
|
|
16210
16211
|
}, { entryApp: w } = Gi.hooks.useEntryApp(), x = (P) => {
|
|
16211
16212
|
pd(P.equipmentCode, P.equipmentPanelCode, null, null, null, !1, P.createTime);
|
|
16212
|
-
}, { handleAlarmVue: _ } =
|
|
16213
|
+
}, { handleAlarmVue: _ } = iS(n, l), C = async () => {
|
|
16213
16214
|
var I;
|
|
16214
16215
|
const N = (((I = Oe().appcategorys) == null ? void 0 : I.map((L) => L.apps).flat()) ?? []).find((L) => L.code === "alarm");
|
|
16215
16216
|
N && w({ microApp: N, menuPath: `/${N.routeUrl}/realTimeAlarm` });
|
|
@@ -16220,13 +16221,13 @@ const yS = () => {
|
|
|
16220
16221
|
}
|
|
16221
16222
|
}, v = (P) => {
|
|
16222
16223
|
if (!P) return;
|
|
16223
|
-
const N =
|
|
16224
|
+
const N = bS();
|
|
16224
16225
|
Vi.open({
|
|
16225
16226
|
key: N,
|
|
16226
16227
|
class: "alarm-notify",
|
|
16227
16228
|
message: Ce("新告警").value,
|
|
16228
16229
|
placement: "bottomRight",
|
|
16229
|
-
description: kt(
|
|
16230
|
+
description: kt(yS, {
|
|
16230
16231
|
msgItem: P,
|
|
16231
16232
|
alarmhandle: f.value,
|
|
16232
16233
|
onHanderDetail: x,
|
|
@@ -16270,7 +16271,7 @@ const yS = () => {
|
|
|
16270
16271
|
s.value.loopCount = s.value.loopCount + 1, s.value.loopTotalCount && s.value.loopTotalCount && (s.value.loopCount == s.value.loopTotalCount ? (s.value.playPath = "", s.value.isplay = !1, s.value.playId = "", s.value.loopTotalCount = 0, s.value.loopCount = 0, s.value.playLine = null) : a.value.play());
|
|
16271
16272
|
};
|
|
16272
16273
|
}, R = async () => {
|
|
16273
|
-
const [P, N] = await
|
|
16274
|
+
const [P, N] = await W6().run();
|
|
16274
16275
|
P || (h.value = N.isEnable);
|
|
16275
16276
|
};
|
|
16276
16277
|
return {
|
|
@@ -16281,7 +16282,7 @@ const yS = () => {
|
|
|
16281
16282
|
handleAlarmVue: _,
|
|
16282
16283
|
creatAlarmSocket: async () => {
|
|
16283
16284
|
R();
|
|
16284
|
-
const [P, N] = await
|
|
16285
|
+
const [P, N] = await U6().run({
|
|
16285
16286
|
code: "alarm",
|
|
16286
16287
|
showBtn: !0
|
|
16287
16288
|
});
|
|
@@ -16302,10 +16303,10 @@ const yS = () => {
|
|
|
16302
16303
|
}));
|
|
16303
16304
|
}
|
|
16304
16305
|
};
|
|
16305
|
-
},
|
|
16306
|
+
}, AS = ["src", "muted", "loop"], ES = /* @__PURE__ */ at({
|
|
16306
16307
|
__name: "index",
|
|
16307
16308
|
setup(i) {
|
|
16308
|
-
const { alarmSocket: r, creatAlarmSocket: n, audioObj: a, audioAlarmRef: l, handleAlarmVue: c } =
|
|
16309
|
+
const { alarmSocket: r, creatAlarmSocket: n, audioObj: a, audioAlarmRef: l, handleAlarmVue: c } = wS();
|
|
16309
16310
|
return An(async () => {
|
|
16310
16311
|
await ia(), n();
|
|
16311
16312
|
}), Oo(() => {
|
|
@@ -16323,23 +16324,24 @@ const yS = () => {
|
|
|
16323
16324
|
muted: !D(a).isplay,
|
|
16324
16325
|
loop: D(a).loop,
|
|
16325
16326
|
autoplay: ""
|
|
16326
|
-
}, null, 8,
|
|
16327
|
+
}, null, 8, AS)
|
|
16327
16328
|
],
|
|
16328
16329
|
64
|
|
16329
16330
|
/* STABLE_FRAGMENT */
|
|
16330
16331
|
));
|
|
16331
16332
|
}
|
|
16332
|
-
}),
|
|
16333
|
+
}), SS = () => {
|
|
16333
16334
|
const i = z(null), r = z(null), n = () => {
|
|
16334
16335
|
i.value && (clearTimeout(i.value), i.value = null), r.value && (clearInterval(r.value), r.value = null);
|
|
16335
16336
|
}, a = async () => {
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16337
|
+
if (!hC())
|
|
16338
|
+
try {
|
|
16339
|
+
const { refreshToken: v } = fd().getData();
|
|
16340
|
+
if (!v)
|
|
16341
|
+
return;
|
|
16342
|
+
await pC($0) && f();
|
|
16343
|
+
} catch {
|
|
16344
|
+
}
|
|
16343
16345
|
}, l = () => {
|
|
16344
16346
|
const v = Mi("accessTokenExpiredAt"), m = v ? Number(v) : 0;
|
|
16345
16347
|
if (!m || m <= 0)
|
|
@@ -16394,7 +16396,7 @@ const yS = () => {
|
|
|
16394
16396
|
stopTokenRefresh: d,
|
|
16395
16397
|
refreshToken: a
|
|
16396
16398
|
};
|
|
16397
|
-
},
|
|
16399
|
+
}, BS = { class: "das-main-app-container" }, kS = /* @__PURE__ */ at({
|
|
16398
16400
|
__name: "index",
|
|
16399
16401
|
props: {
|
|
16400
16402
|
showLayout: { type: Boolean, default: !0 }
|
|
@@ -16412,17 +16414,17 @@ const yS = () => {
|
|
|
16412
16414
|
},
|
|
16413
16415
|
{ immediate: !0 }
|
|
16414
16416
|
);
|
|
16415
|
-
const { initNextTick: h } =
|
|
16416
|
-
|
|
16417
|
-
const { $changePwd: _, $personSetDialog: C } =
|
|
16418
|
-
|
|
16419
|
-
const { fontColor: R, backgroudColor: T, borderColor: P } =
|
|
16420
|
-
return
|
|
16417
|
+
const { initNextTick: h } = qE(), { loading: s, pageKey: d, commandList: w, initNextTick: x } = jE(h);
|
|
16418
|
+
ZE(h, x), QE(), GE(), n3();
|
|
16419
|
+
const { $changePwd: _, $personSetDialog: C } = JE(), { $aiPanel: E, toApp: b, getAIPanelStatus: v } = c3(), { changeEnterprisesVisible: m, userId: y, tenantId: S, changeEnterprise: k } = lp();
|
|
16420
|
+
KE();
|
|
16421
|
+
const { fontColor: R, backgroudColor: T, borderColor: P } = XE();
|
|
16422
|
+
return u3(), f3(w), d3(), h3(), j3(), N6(), SS(), (N, I) => (_e(), Ke("div", BS, [
|
|
16421
16423
|
Ie(` <button @click="test(0)">test</button>\r
|
|
16422
16424
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
16423
|
-
ae(D(
|
|
16425
|
+
ae(D(uy), { platformInitNextTick: D(h) }, {
|
|
16424
16426
|
default: fe(() => [
|
|
16425
|
-
ae(
|
|
16427
|
+
ae(GC, {
|
|
16426
16428
|
loading: D(s),
|
|
16427
16429
|
pageKey: D(d) + D(Uo),
|
|
16428
16430
|
showLayout: l.value,
|
|
@@ -16467,7 +16469,7 @@ const yS = () => {
|
|
|
16467
16469
|
),
|
|
16468
16470
|
Ie(" 个性化设置 "),
|
|
16469
16471
|
ae(
|
|
16470
|
-
D(
|
|
16472
|
+
D(NE),
|
|
16471
16473
|
{
|
|
16472
16474
|
ref_key: "$personSetDialog",
|
|
16473
16475
|
ref: C
|
|
@@ -16485,10 +16487,10 @@ const yS = () => {
|
|
|
16485
16487
|
onGetStatus: D(v)
|
|
16486
16488
|
}, null, 8, ["platformInitNextTick", "onToApp", "onGetStatus"]),
|
|
16487
16489
|
Ie(" 告警 "),
|
|
16488
|
-
ae(D(
|
|
16490
|
+
ae(D(ES))
|
|
16489
16491
|
]));
|
|
16490
16492
|
}
|
|
16491
|
-
}),
|
|
16493
|
+
}), DS = /* @__PURE__ */ Ut(kS, [["__scopeId", "data-v-c14c1d2c"]]), IS = {
|
|
16492
16494
|
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
|
|
16493
16495
|
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
|
|
16494
16496
|
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
|
|
@@ -16679,12 +16681,12 @@ const yS = () => {
|
|
|
16679
16681
|
_appCode: "framework"
|
|
16680
16682
|
}
|
|
16681
16683
|
};
|
|
16682
|
-
V_(
|
|
16684
|
+
V_(IS);
|
|
16683
16685
|
z("@das-fed/web");
|
|
16684
|
-
const
|
|
16686
|
+
const TS = [
|
|
16685
16687
|
{
|
|
16686
16688
|
path: jt,
|
|
16687
|
-
component: () => import("./index-
|
|
16689
|
+
component: () => import("./index-BjGHESUs.js"),
|
|
16688
16690
|
meta: {
|
|
16689
16691
|
layout: {
|
|
16690
16692
|
minWidth: "0px"
|
|
@@ -16693,11 +16695,11 @@ const DS = [
|
|
|
16693
16695
|
},
|
|
16694
16696
|
{
|
|
16695
16697
|
path: gd,
|
|
16696
|
-
component: () => import("./index-
|
|
16698
|
+
component: () => import("./index-_-DzRcm4.js")
|
|
16697
16699
|
}
|
|
16698
|
-
],
|
|
16699
|
-
routes:
|
|
16700
|
-
Layout:
|
|
16700
|
+
], O5 = {
|
|
16701
|
+
routes: TS,
|
|
16702
|
+
Layout: DS,
|
|
16701
16703
|
data: {
|
|
16702
16704
|
homeInfo: Hn,
|
|
16703
16705
|
personalConfig: hn
|
|
@@ -16715,7 +16717,7 @@ export {
|
|
|
16715
16717
|
B0 as d,
|
|
16716
16718
|
S0 as g,
|
|
16717
16719
|
ut as l,
|
|
16718
|
-
|
|
16720
|
+
O5 as m,
|
|
16719
16721
|
hn as p,
|
|
16720
16722
|
cr as u
|
|
16721
16723
|
};
|