@das-fed/web 6.4.0-dev.32 → 6.4.0-dev.34

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.
@@ -1,4 +1,4 @@
1
- import { ref as E, createApp as hs, reactive as Ne, computed as H, defineComponent as ne, watch as G, openBlock as $, createElementBlock as W, Fragment as De, createBlock as V, TransitionGroup as gs, normalizeProps as An, mergeProps as $t, withCtx as x, renderList as Tt, withDirectives as Ie, resolveDynamicComponent as at, vShow as Pe, unref as m, createCommentVNode as j, nextTick as Qe, resolveComponent as ms, createElementVNode as B, normalizeClass as rr, normalizeStyle as yn, renderSlot as pe, createVNode as Q, Transition as ao, guardReactiveProps as io, KeepAlive as co, h as fe, onBeforeMount as vs, onMounted as Ve, onUnmounted as As, getCurrentScope as ys, onScopeDispose as ws, getCurrentInstance as _s, onActivated as bs, createTextVNode as Ae, toDisplayString as se, render as Vt, onBeforeUnmount as Zt, useCssVars as Cs, withModifiers as le, toRefs as Is, isRef as Ts } from "vue";
1
+ import { ref as E, createApp as hs, reactive as Ne, computed as H, defineComponent as ne, watch as G, openBlock as $, createElementBlock as W, Fragment as De, createBlock as V, TransitionGroup as gs, normalizeProps as An, mergeProps as $t, withCtx as x, renderList as Tt, withDirectives as Ie, resolveDynamicComponent as at, vShow as Pe, unref as m, createCommentVNode as j, nextTick as Qe, resolveComponent as ms, createElementVNode as B, normalizeClass as rr, normalizeStyle as yn, renderSlot as fe, createVNode as Q, Transition as ao, guardReactiveProps as io, KeepAlive as co, h as he, onBeforeMount as vs, onMounted as Ve, onUnmounted as As, getCurrentScope as ys, onScopeDispose as ws, getCurrentInstance as _s, onActivated as bs, createTextVNode as ye, toDisplayString as se, render as Ft, onBeforeUnmount as Xt, useCssVars as Cs, withModifiers as le, toRefs as Is, isRef as Ts } from "vue";
2
2
  import { initTheme as Es, setThemeRule as Ss } from "@das-fed/web/packages/theme/index";
3
3
  import { initI18n as ks, i18n as N } from "@das-fed/web/packages/i18n/index";
4
4
  import { DasWebLayout as Dn, DasWebNav as sr, DasWebMenu as ar, DasWebTabs as ir, layout as R } from "@das-fed/web/packages/layout/index";
@@ -8,9 +8,9 @@ import { createRouter as $s, createWebHistory as Ds, useRouter as Ye, useRoute a
8
8
  import { DasChangePwdRef as Os, DasChangePwd as Ms } from "@das-fed/ui/packages/business-components/change-pwd/index";
9
9
  import { DasChangeEnterprises as Bs } from "@das-fed/ui/packages/business-components/change-enterprises/index";
10
10
  import { pureImageSrc as On } from "@das-fed/utils/pure-image-src";
11
- import { DasNotification as Wt } from "@das-fed/ui/packages/components/notification/index";
11
+ import { DasNotification as Vt } from "@das-fed/ui/packages/components/notification/index";
12
12
  import { flatTree as Oe, filterTreeArray as Rs, isEmpty as xs, treeFind as lo, updateFavIcon as Qs, dateFormat as js, runPromiseByQueue as Ns, objEqual as wn, setShowWatermark as _n, setShowLayout as bn, getUrlParams as Hs, withToken as Us } from "@das-fed/utils/common-tools";
13
- import { getSubApps as J, getTabInfo as me, getPersonalInfo as Yt, getTenantInfo as Mn, getProjectInfo as Fe, getToken as Bn, getUserInfo as cr, getMenus as zt } from "@das-fed/utils/common-info";
13
+ import { getSubApps as J, getTabInfo as ve, getPersonalInfo as Zt, getTenantInfo as Mn, getProjectInfo as Fe, getToken as Bn, getUserInfo as cr, getMenus as Wt } from "@das-fed/utils/common-info";
14
14
  import { setProcessEngineProject as lr, setProcessEngineToken as ur } from "@das-fed/utils/process-engine-info";
15
15
  import { oauthServer as dr, justauth as Rn, enterpriseright as xn, iotModules as Fs, portal as We, systemConfiguration as Qn } from "@das-fed/utils/api-services/modules";
16
16
  import { createService as et } from "@das-fed/utils/create-api-service";
@@ -28,9 +28,9 @@ import { setPersonalInfo as Gs } from "@das-fed/utils/common-info/set-personal-i
28
28
  import { devicePanelShow as fr, closeDevicePanel as Xs, alarmDevicePanelShow as Zs, closeAlarmPanel as Ys } from "@das-fed/ui/packages/business-components/device-panel/index";
29
29
  import { DasIcon as qe, DasAutoRegisterIcon as hr } from "@das-fed/ui/packages/components/icon/index";
30
30
  import { socketService as Hn } from "@das-fed/utils/webSocket-service";
31
- import { userInfoNextTick as ea, tokenNextTick as en } from "@das-fed/utils/nextTiken";
32
- import { mainAppFramework as qt } from "@das-fed/web/packages/main-app-framework/index";
33
- import { DasTooltip as ge } from "@das-fed/ui/packages/components/tooltip/index";
31
+ import { userInfoNextTick as ea, tokenNextTick as Yt } from "@das-fed/utils/nextTiken";
32
+ import { mainAppFramework as zt } from "@das-fed/web/packages/main-app-framework/index";
33
+ import { DasTooltip as me } from "@das-fed/ui/packages/components/tooltip/index";
34
34
  import { DasLivePlayer as ta } from "@das-fed/ui/packages/components/live-player/index";
35
35
  import { DasSpin as gr } from "@das-fed/ui/packages/components/spin/index";
36
36
  import { DasWatermark as na } from "@das-fed/ui/packages/components/watermark/index";
@@ -92,7 +92,7 @@ const fa = (t) => {
92
92
  s.use(pa, t), s.use(In);
93
93
  const { router: a } = fa(t);
94
94
  return s.use(a), s.mount(n || "#app"), { app: s, router: a, loading: e, store: In };
95
- }, mr = Ne({}), vr = Ne({}), Jt = E("zh-CN"), ha = "dasI18n", ho = (t, e) => {
95
+ }, mr = Ne({}), vr = Ne({}), qt = E("zh-CN"), ha = "dasI18n", ho = (t, e) => {
96
96
  const n = e === "global", o = !n;
97
97
  for (const r in t)
98
98
  n && (vr[r] = t[r]), o && (mr[r] = t[r]);
@@ -108,13 +108,13 @@ const fa = (t) => {
108
108
  }, ga = (t, ...e) => H(() => {
109
109
  const n = vr[t] || mr[t] || t;
110
110
  if (n === t) return t;
111
- let o = n[Jt.value];
112
- return Jt.value === "zh-CN" && n["zh-cn"] && !n["zh-CN"] && (o = n["zh-cn"]), e.map((r, s) => {
111
+ let o = n[qt.value];
112
+ return qt.value === "zh-CN" && n["zh-cn"] && !n["zh-CN"] && (o = n["zh-cn"]), e.map((r, s) => {
113
113
  o = o.replace(`$${s}`, r);
114
114
  }), o;
115
115
  }), ma = ga, Qg = (t, ...e) => ma(t, ...e).value, jg = (t) => {
116
- Jt.value = t;
117
- }, Ng = () => Jt, it = E("light"), yt = E({
116
+ qt.value = t;
117
+ }, Ng = () => qt, it = E("light"), yt = E({
118
118
  light: {},
119
119
  dark: {}
120
120
  }), wt = E({
@@ -207,14 +207,10 @@ const go = (t, e) => {
207
207
  X.items = e;
208
208
  },
209
209
  appendItem: (t) => {
210
- setTimeout(() => {
211
- X.visible || (X.visible = !0), !X.items.find((n) => n.value == t.value) && X.items.push(t);
212
- }, 200);
210
+ X.visible || (X.visible = !0), !X.items.find((n) => n.value == t.value) && X.items.push(t);
213
211
  },
214
212
  setActiveItem: (t) => {
215
- setTimeout(() => {
216
- X.activeItem = t;
217
- }, 200);
213
+ X.activeItem = t;
218
214
  },
219
215
  setConfig: (t) => {
220
216
  X.config = t;
@@ -601,9 +597,9 @@ const go = (t, e) => {
601
597
  return g.has(_) ? C = g.get(_) : (C = {
602
598
  name: _,
603
599
  render() {
604
- return fe("div", { style: { width: "100%", height: "100%" } }, [fe(A)]);
600
+ return he("div", { style: { width: "100%", height: "100%" } }, [he(A)]);
605
601
  }
606
- }, g.set(_, C)), fe(C);
602
+ }, g.set(_, C)), he(C);
607
603
  }, v = H(() => Je.visible.value);
608
604
  return (A, _) => {
609
605
  const C = ms("router-view");
@@ -624,7 +620,7 @@ const go = (t, e) => {
624
620
  "div",
625
621
  $a,
626
622
  [
627
- pe(A.$slots, "header", {}, void 0, !0)
623
+ fe(A.$slots, "header", {}, void 0, !0)
628
624
  ],
629
625
  512
630
626
  /* NEED_PATCH */
@@ -636,7 +632,7 @@ const go = (t, e) => {
636
632
  "div",
637
633
  Oa,
638
634
  [
639
- pe(A.$slots, "aside", {}, void 0, !0)
635
+ fe(A.$slots, "aside", {}, void 0, !0)
640
636
  ],
641
637
  512
642
638
  /* NEED_PATCH */
@@ -648,7 +644,7 @@ const go = (t, e) => {
648
644
  "div",
649
645
  Ba,
650
646
  [
651
- pe(A.$slots, "tab", {}, void 0, !0)
647
+ fe(A.$slots, "tab", {}, void 0, !0)
652
648
  ],
653
649
  512
654
650
  /* NEED_PATCH */
@@ -660,7 +656,7 @@ const go = (t, e) => {
660
656
  "div",
661
657
  xa,
662
658
  [
663
- pe(A.$slots, "banner", {}, void 0, !0)
659
+ fe(A.$slots, "banner", {}, void 0, !0)
664
660
  ],
665
661
  512
666
662
  /* NEED_PATCH */
@@ -672,7 +668,7 @@ const go = (t, e) => {
672
668
  "div",
673
669
  ja,
674
670
  [
675
- pe(A.$slots, "router-view", {}, () => [
671
+ fe(A.$slots, "router-view", {}, () => [
676
672
  j(" 有动画 "),
677
673
  A.needTransition ? ($(), V(C, { key: 0 }, {
678
674
  default: x(({ Component: S }) => [
@@ -766,7 +762,7 @@ const go = (t, e) => {
766
762
  "div",
767
763
  Fa,
768
764
  [
769
- pe(A.$slots, "default", {}, void 0, !0)
765
+ fe(A.$slots, "default", {}, void 0, !0)
770
766
  ],
771
767
  512
772
768
  /* NEED_PATCH */
@@ -909,11 +905,11 @@ const go = (t, e) => {
909
905
  "on:toggleFullScreen": u
910
906
  }), null, 16, qa)) : j("v-if", !0);
911
907
  }
912
- }), mo = E("/das-micro-app"), ue = E([]), Ht = E(!1), Qt = E([]), jt = E(!0);
908
+ }), mo = E("/das-micro-app"), de = E([]), Nt = E(!1), xt = E([]), Qt = E(!0);
913
909
  let Te = null, Ee = null, rt = null;
914
910
  const st = (t, e, n) => {
915
911
  var r, s, a, c;
916
- const o = ue.value.find((l) => l.name === t);
912
+ const o = de.value.find((l) => l.name === t);
917
913
  if (o) {
918
914
  if (o.entry.startsWith("/") || o.entry.match(location.origin)) {
919
915
  (s = (r = o.dom) == null ? void 0 : r.contentWindow) == null || s.postMessage({ type: e, data: n });
@@ -965,7 +961,7 @@ const st = (t, e, n) => {
965
961
  };
966
962
  }, pn = async (t) => {
967
963
  await Promise.all(
968
- ue.value.filter((e) => e.loaded).map((e) => new Promise(async (n) => {
964
+ de.value.filter((e) => e.loaded).map((e) => new Promise(async (n) => {
969
965
  e.dom || await new Promise((o) => G(() => e.dom, o)), setTimeout(() => {
970
966
  st(e.name, "sessionStorage", t), n(!0);
971
967
  }, 0);
@@ -973,15 +969,15 @@ const st = (t, e, n) => {
973
969
  );
974
970
  }, ee = {
975
971
  loadMicroApp: (t) => {
976
- Ht.value = !0;
977
- const e = ue.value.find((a) => a.name === t), n = ue.value.find((a) => a.actived), o = !!e, r = !(e != null && e.loaded), s = e == null ? void 0 : e.actived;
972
+ Nt.value = !0;
973
+ const e = de.value.find((a) => a.name === t), n = de.value.find((a) => a.actived), o = !!e, r = !(e != null && e.loaded), s = e == null ? void 0 : e.actived;
978
974
  if (!o) {
979
975
  n && (n.actived = !1);
980
976
  return;
981
977
  }
982
978
  if (e.isFirstActived = !0, r) {
983
979
  e.src = e.entry;
984
- const a = ue.value.find((c) => c.actived);
980
+ const a = de.value.find((c) => c.actived);
985
981
  a && (a.actived = !1), e.loaded = !0, e.actived = !0;
986
982
  return;
987
983
  }
@@ -991,7 +987,7 @@ const st = (t, e, n) => {
991
987
  }
992
988
  },
993
989
  hideMicroApp: async (t) => {
994
- const e = ue.value.find((n) => n.name === t);
990
+ const e = de.value.find((n) => n.name === t);
995
991
  e && e.loaded && (e.dom || await new Promise((n) => G(() => e.dom, n)), st(t, "router", {
996
992
  cmd: "push",
997
993
  route: {
@@ -1001,21 +997,21 @@ const st = (t, e, n) => {
1001
997
  }));
1002
998
  },
1003
999
  hideAllMicroApp: () => {
1004
- Ht.value = !1, ue.value.map((t) => {
1000
+ Nt.value = !1, de.value.map((t) => {
1005
1001
  t.actived = !1;
1006
1002
  });
1007
1003
  },
1008
1004
  unloadMicroApp: (t) => {
1009
- const e = ue.value.find((n) => n.name === t);
1005
+ const e = de.value.find((n) => n.name === t);
1010
1006
  e && (e.loaded = !1, e.actived = !1, e.dom = void 0);
1011
1007
  },
1012
1008
  unloadAllMicroApp: () => {
1013
- Ht.value = !1, ue.value.map((t) => {
1009
+ Nt.value = !1, de.value.map((t) => {
1014
1010
  t.loaded = !1, t.actived = !1, t.dom = void 0;
1015
1011
  });
1016
1012
  },
1017
1013
  setMicroAppRoute: async (t, e, n) => {
1018
- const o = ue.value.find((c) => c.name === e);
1014
+ const o = de.value.find((c) => c.name === e);
1019
1015
  if (!o || !o.loaded || !o.actived || (o.dom || await new Promise((c) => G(() => o.dom, c)), !o.actived)) return o;
1020
1016
  const r = n.path || n, s = n.query || {}, a = n.params || {};
1021
1017
  return t.push({
@@ -1075,11 +1071,11 @@ const st = (t, e, n) => {
1075
1071
  }
1076
1072
  },
1077
1073
  reloadMicroAppRoute: async (t, e) => {
1078
- const n = ue.value.find((o) => o.name === t);
1074
+ const n = de.value.find((o) => o.name === t);
1079
1075
  n && (!n.loaded || !n.actived || (n.dom || await new Promise((o) => G(() => n.dom, o)), st(t, "route", { cmd: "reload", path: e })));
1080
1076
  },
1081
1077
  unloadMicroAppRoute: async (t, e) => {
1082
- const n = ue.value.find((o) => o.name === t);
1078
+ const n = de.value.find((o) => o.name === t);
1083
1079
  n && (!n.loaded || !n.actived || (n.dom || await new Promise((o) => G(() => n.dom, o)), st(t, "route", { cmd: "unload", path: e })));
1084
1080
  },
1085
1081
  setMainAppLayoutVisible: (t) => {
@@ -1273,7 +1269,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1273
1269
  __name: "das-micro-apps",
1274
1270
  setup(t) {
1275
1271
  const e = E(null), n = async (s, a) => {
1276
- const c = ue.value.find((d) => d.name === a);
1272
+ const c = de.value.find((d) => d.name === a);
1277
1273
  if (!c) return;
1278
1274
  c.dom = s.target, await Qe(), await new Promise((d) => setTimeout(d, 50));
1279
1275
  const l = () => {
@@ -1291,12 +1287,12 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1291
1287
  ee.sendMessageToMicroApp(a, "resize", l());
1292
1288
  }).observe(e.value), ee.sendMessageToMicroApp(a, "setProxyMessageStatus", { visible: !0, parentHref: location.href }), ee.sendMessageToMicroApp(a, "setProxSsoStatus", { visible: !0, parentHref: location.href });
1293
1289
  }, o = (s, a) => {
1294
- const c = ue.value.find((u) => u.name === a);
1290
+ const c = de.value.find((u) => u.name === a);
1295
1291
  if (!c) return;
1296
1292
  const { dom: l, ...i } = c;
1297
1293
  ee.sendMessageToMicroApp(a, "onActivated"), ee.triggerMicroAppLifeCycleListener("onActivated", i);
1298
1294
  }, r = (s, a) => {
1299
- const c = ue.value.find((u) => u.name === a);
1295
+ const c = de.value.find((u) => u.name === a);
1300
1296
  if (!c) return;
1301
1297
  const { dom: l, ...i } = c;
1302
1298
  ee.sendMessageToMicroApp(a, "onDeactivated"), ee.triggerMicroAppLifeCycleListener("onDeactivated", i);
@@ -1312,7 +1308,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1312
1308
  ($(!0), W(
1313
1309
  De,
1314
1310
  null,
1315
- Tt(m(ue), (c) => ($(), W(
1311
+ Tt(m(de), (c) => ($(), W(
1316
1312
  De,
1317
1313
  null,
1318
1314
  [
@@ -1353,7 +1349,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1353
1349
  } }
1354
1350
  },
1355
1351
  setup(t) {
1356
- const e = t, n = H(() => !Ht.value), o = H(() => ({
1352
+ const e = t, n = H(() => !Nt.value), o = H(() => ({
1357
1353
  "enter-active-class": "animate__animated animate__fadeInLeft",
1358
1354
  ...e.transitionConfig
1359
1355
  })), r = H(() => ({ showLayout: e.showLayout, showAside: e.showAside, showTabs: e.showTabs }));
@@ -1362,17 +1358,17 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1362
1358
  "router-view-visible": n.value
1363
1359
  }, r.value), {
1364
1360
  header: x(() => [
1365
- pe(s.$slots, "header", {}, () => [
1361
+ fe(s.$slots, "header", {}, () => [
1366
1362
  Q(m(sr))
1367
1363
  ])
1368
1364
  ]),
1369
1365
  aside: x(() => [
1370
- pe(s.$slots, "aside", {}, () => [
1366
+ fe(s.$slots, "aside", {}, () => [
1371
1367
  Q(m(ar), { menuAttr: s.menuAttr }, null, 8, ["menuAttr"])
1372
1368
  ])
1373
1369
  ]),
1374
1370
  tab: x(() => [
1375
- pe(s.$slots, "tab", {}, () => [
1371
+ fe(s.$slots, "tab", {}, () => [
1376
1372
  Q(m(ir), { tabsAttr: s.tabsAttr }, null, 8, ["tabsAttr"])
1377
1373
  ])
1378
1374
  ]),
@@ -1394,7 +1390,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1394
1390
  }
1395
1391
  }), mi = (t) => ["http://", "https://", "ws://", "wss://", "/"].find((n) => t.startsWith(n)) ? t : `/${t}`, Gg = (t, e) => {
1396
1392
  if (!(t != null && t.microApps) || !Array.isArray(t.microApps)) return;
1397
- window.__IN_DAS_MAIN_APP = !0, t != null && t.microAppRouterPrefix && (mo.value = t.microAppRouterPrefix), ue.value = (t.microApps || []).filter((r) => !!r.name).map((r) => ({ ...r, entry: mi(r.entry || r.name) })), e == null || e.addRoute({
1393
+ window.__IN_DAS_MAIN_APP = !0, t != null && t.microAppRouterPrefix && (mo.value = t.microAppRouterPrefix), de.value = (t.microApps || []).filter((r) => !!r.name).map((r) => ({ ...r, entry: mi(r.entry || r.name) })), e == null || e.addRoute({
1398
1394
  name: "das-micro-app",
1399
1395
  path: `${mo.value}/:pathMatch(.*)*`,
1400
1396
  component: _r,
@@ -1476,10 +1472,10 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1476
1472
  c === "setItem" && window.sessionStorage.setItem(l, i), c === "getItem" && window.sessionStorage.getItem(l), c === "removeItem" && window.sessionStorage.removeItem(l), c === "clear" && window.sessionStorage.clear();
1477
1473
  }), ee.addEventListenerFromMainApp("route", (a) => {
1478
1474
  const { cmd: c, path: l } = a.data;
1479
- c === "reload" && (Qt.value.push(l), jt.value = !1, setTimeout(() => {
1480
- jt.value = !0, Qt.value = [];
1481
- }, 300)), c === "unload" && (Qt.value.push(l), jt.value = !1, setTimeout(() => {
1482
- jt.value = !0, Qt.value = [];
1475
+ c === "reload" && (xt.value.push(l), Qt.value = !1, setTimeout(() => {
1476
+ Qt.value = !0, xt.value = [];
1477
+ }, 300)), c === "unload" && (xt.value.push(l), Qt.value = !1, setTimeout(() => {
1478
+ Qt.value = !0, xt.value = [];
1483
1479
  }, 100));
1484
1480
  });
1485
1481
  }, Ct = "/", je = "/application", br = [
@@ -1515,22 +1511,22 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1515
1511
  }));
1516
1512
  return (r, s) => ($(), V(m(Dn), $t({ "transition-config": n.value }, o.value), {
1517
1513
  header: x(() => [
1518
- pe(r.$slots, "header", {}, () => [
1514
+ fe(r.$slots, "header", {}, () => [
1519
1515
  Q(m(sr))
1520
1516
  ])
1521
1517
  ]),
1522
1518
  aside: x(() => [
1523
- pe(r.$slots, "aside", {}, () => [
1519
+ fe(r.$slots, "aside", {}, () => [
1524
1520
  Q(m(ar), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
1525
1521
  ])
1526
1522
  ]),
1527
1523
  tab: x(() => [
1528
- pe(r.$slots, "tab", {}, () => [
1524
+ fe(r.$slots, "tab", {}, () => [
1529
1525
  Q(m(ir), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
1530
1526
  ])
1531
1527
  ]),
1532
1528
  banner: x(() => [
1533
- pe(r.$slots, "banner")
1529
+ fe(r.$slots, "banner")
1534
1530
  ]),
1535
1531
  _: 3
1536
1532
  /* FORWARDED */
@@ -1611,7 +1607,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1611
1607
  height: r.value
1612
1608
  }, {
1613
1609
  default: x(() => [
1614
- pe(y.$slots, "default", {}, void 0, !0)
1610
+ fe(y.$slots, "default", {}, void 0, !0)
1615
1611
  ]),
1616
1612
  _: 3
1617
1613
  /* FORWARDED */
@@ -1650,7 +1646,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1650
1646
  onClick: n.closeCallback
1651
1647
  }, {
1652
1648
  default: x(() => o[2] || (o[2] = [
1653
- Ae("我知道了")
1649
+ ye("我知道了")
1654
1650
  ])),
1655
1651
  _: 1
1656
1652
  /* STABLE */
@@ -1680,7 +1676,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1680
1676
  key: s,
1681
1677
  class: "desc-item"
1682
1678
  }, [
1683
- Ae(
1679
+ ye(
1684
1680
  se(r),
1685
1681
  1
1686
1682
  /* TEXT */
@@ -1703,10 +1699,10 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1703
1699
  }), Ei = /* @__PURE__ */ be(Ti, [["__scopeId", "data-v-72bc9a80"]]), Et = ({ title: t = "", content: e = "", desc: n = [] }) => new Promise((o) => {
1704
1700
  const r = document.createElement("div");
1705
1701
  r.setAttribute("id", "entry-app-dialog"), document.body.appendChild(r);
1706
- const a = fe(Ei, { title: t, content: e, desc: n, closeCallback: () => {
1707
- Vt(null, r), document.body.removeChild(r), o(null);
1702
+ const a = he(Ei, { title: t, content: e, desc: n, closeCallback: () => {
1703
+ Ft(null, r), document.body.removeChild(r), o(null);
1708
1704
  } });
1709
- Vt(a, r);
1705
+ Ft(a, r);
1710
1706
  });
1711
1707
  Ss(bi);
1712
1708
  const Si = "data:image/png;base64,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", ki = "data:image/png;base64,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", Pi = (t = {}) => {
@@ -1729,8 +1725,8 @@ const Si = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
1729
1725
  sessionStorage.setItem("projectInfo", JSON.stringify(t || { id: 0 })), sessionStorage.setItem("project", (t == null ? void 0 : t.id) || 0);
1730
1726
  }, Oi = () => {
1731
1727
  sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
1732
- }, ve = (t) => {
1733
- let e = me();
1728
+ }, Ae = (t) => {
1729
+ let e = ve();
1734
1730
  t.forEach((n) => {
1735
1731
  var o;
1736
1732
  if (n.key.startsWith("tabMap")) {
@@ -1833,7 +1829,7 @@ const Si = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
1833
1829
  if (e.exitConfirmPages.includes(n) && !window.confirm("切换后已录入的数据将会丢失且不可恢复,确定切换?"))
1834
1830
  throw new Error("取消切换");
1835
1831
  }
1836
- }, Ut = (t, e) => {
1832
+ }, Ht = (t, e) => {
1837
1833
  if (!e || !e.length) return;
1838
1834
  const n = JSON.parse(sessionStorage.getItem(t) || "{}");
1839
1835
  if (n && JSON.stringify(n) !== "{}" && n != null && n.closeTabPageConfirm && n.closeTabPageConfirm.length) {
@@ -1854,7 +1850,7 @@ const Si = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
1854
1850
  return t ? { tenantConfig: null } : (Li(e), { tenantConfig: e });
1855
1851
  }, Ki = async () => {
1856
1852
  const [t, e] = await zi().run({
1857
- userId: Yt().id,
1853
+ userId: Zt().id,
1858
1854
  pageSize: 20,
1859
1855
  pageIndex: 1
1860
1856
  });
@@ -1870,7 +1866,7 @@ function Yi() {
1870
1866
  function kr(t, e) {
1871
1867
  return t === e || t !== t && e !== e;
1872
1868
  }
1873
- function tn(t, e) {
1869
+ function en(t, e) {
1874
1870
  for (var n = t.length; n--; )
1875
1871
  if (kr(t[n][0], e))
1876
1872
  return n;
@@ -1878,21 +1874,21 @@ function tn(t, e) {
1878
1874
  }
1879
1875
  var ec = Array.prototype, tc = ec.splice;
1880
1876
  function nc(t) {
1881
- var e = this.__data__, n = tn(e, t);
1877
+ var e = this.__data__, n = en(e, t);
1882
1878
  if (n < 0)
1883
1879
  return !1;
1884
1880
  var o = e.length - 1;
1885
1881
  return n == o ? e.pop() : tc.call(e, n, 1), --this.size, !0;
1886
1882
  }
1887
1883
  function oc(t) {
1888
- var e = this.__data__, n = tn(e, t);
1884
+ var e = this.__data__, n = en(e, t);
1889
1885
  return n < 0 ? void 0 : e[n][1];
1890
1886
  }
1891
1887
  function rc(t) {
1892
- return tn(this.__data__, t) > -1;
1888
+ return en(this.__data__, t) > -1;
1893
1889
  }
1894
1890
  function sc(t, e) {
1895
- var n = this.__data__, o = tn(n, t);
1891
+ var n = this.__data__, o = en(n, t);
1896
1892
  return o < 0 ? (++this.size, n.push([t, e])) : n[o][1] = e, this;
1897
1893
  }
1898
1894
  function He(t) {
@@ -2037,22 +2033,22 @@ function qc(t) {
2037
2033
  var e = typeof t;
2038
2034
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
2039
2035
  }
2040
- function nn(t, e) {
2036
+ function tn(t, e) {
2041
2037
  var n = t.__data__;
2042
2038
  return qc(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
2043
2039
  }
2044
2040
  function Jc(t) {
2045
- var e = nn(this, t).delete(t);
2041
+ var e = tn(this, t).delete(t);
2046
2042
  return this.size -= e ? 1 : 0, e;
2047
2043
  }
2048
2044
  function Kc(t) {
2049
- return nn(this, t).get(t);
2045
+ return tn(this, t).get(t);
2050
2046
  }
2051
2047
  function Gc(t) {
2052
- return nn(this, t).has(t);
2048
+ return tn(this, t).has(t);
2053
2049
  }
2054
2050
  function Xc(t, e) {
2055
- var n = nn(this, t), o = n.size;
2051
+ var n = tn(this, t), o = n.size;
2056
2052
  return n.set(t, e), this.size += n.size == o ? 0 : 1, this;
2057
2053
  }
2058
2054
  function gt(t) {
@@ -2112,7 +2108,7 @@ function Or(t, e, n) {
2112
2108
  var o = t[e];
2113
2109
  (!(nl.call(t, e) && kr(o, n)) || n === void 0 && !(e in t)) && Dr(t, e, n);
2114
2110
  }
2115
- function on(t, e, n, o) {
2111
+ function nn(t, e, n, o) {
2116
2112
  var r = !n;
2117
2113
  n || (n = {});
2118
2114
  for (var s = -1, a = e.length; ++s < a; ) {
@@ -2204,7 +2200,7 @@ function qn(t) {
2204
2200
  return Hr(t) ? jr(t) : Jl(t);
2205
2201
  }
2206
2202
  function Kl(t, e) {
2207
- return t && on(e, qn(e), t);
2203
+ return t && nn(e, qn(e), t);
2208
2204
  }
2209
2205
  function Gl(t) {
2210
2206
  var e = [];
@@ -2226,7 +2222,7 @@ function Jn(t) {
2226
2222
  return Hr(t) ? jr(t, !0) : Yl(t);
2227
2223
  }
2228
2224
  function eu(t, e) {
2229
- return t && on(e, Jn(e), t);
2225
+ return t && nn(e, Jn(e), t);
2230
2226
  }
2231
2227
  var Ur = typeof exports == "object" && exports && !exports.nodeType && exports, $o = Ur && typeof module == "object" && module && !module.nodeType && module, tu = $o && $o.exports === Ur, Do = tu ? Be.Buffer : void 0, Oo = Do ? Do.allocUnsafe : void 0;
2232
2228
  function nu(t, e) {
@@ -2257,7 +2253,7 @@ var su = Object.prototype, au = su.propertyIsEnumerable, Mo = Object.getOwnPrope
2257
2253
  }));
2258
2254
  } : Fr;
2259
2255
  function iu(t, e) {
2260
- return on(t, Kn(t), e);
2256
+ return nn(t, Kn(t), e);
2261
2257
  }
2262
2258
  function Vr(t, e) {
2263
2259
  for (var n = -1, o = e.length, r = t.length; ++n < o; )
@@ -2270,7 +2266,7 @@ var Wr = Nr(Object.getPrototypeOf, Object), cu = Object.getOwnPropertySymbols, z
2270
2266
  return e;
2271
2267
  } : Fr;
2272
2268
  function lu(t, e) {
2273
- return on(t, zr(t), e);
2269
+ return nn(t, zr(t), e);
2274
2270
  }
2275
2271
  function qr(t, e, n) {
2276
2272
  var o = e(t);
@@ -2388,7 +2384,7 @@ function Zu(t) {
2388
2384
  var Wo = ut && ut.isSet, Yu = Wo ? Wn(Wo) : Zu, ed = 1, td = 2, nd = 4, Jr = "[object Arguments]", od = "[object Array]", rd = "[object Boolean]", sd = "[object Date]", ad = "[object Error]", Kr = "[object Function]", id = "[object GeneratorFunction]", cd = "[object Map]", ld = "[object Number]", Gr = "[object Object]", ud = "[object RegExp]", dd = "[object Set]", pd = "[object String]", fd = "[object Symbol]", hd = "[object WeakMap]", gd = "[object ArrayBuffer]", md = "[object DataView]", vd = "[object Float32Array]", Ad = "[object Float64Array]", yd = "[object Int8Array]", wd = "[object Int16Array]", _d = "[object Int32Array]", bd = "[object Uint8Array]", Cd = "[object Uint8ClampedArray]", Id = "[object Uint16Array]", Td = "[object Uint32Array]", K = {};
2389
2385
  K[Jr] = K[od] = K[gd] = K[md] = K[rd] = K[sd] = K[vd] = K[Ad] = K[yd] = K[wd] = K[_d] = K[cd] = K[ld] = K[Gr] = K[ud] = K[dd] = K[pd] = K[fd] = K[bd] = K[Cd] = K[Id] = K[Td] = !0;
2390
2386
  K[ad] = K[Kr] = K[hd] = !1;
2391
- function Ft(t, e, n, o, r, s) {
2387
+ function Ut(t, e, n, o, r, s) {
2392
2388
  var a, c = e & ed, l = e & td, i = e & nd;
2393
2389
  if (a !== void 0)
2394
2390
  return a;
@@ -2416,34 +2412,34 @@ function Ft(t, e, n, o, r, s) {
2416
2412
  if (h)
2417
2413
  return h;
2418
2414
  s.set(t, a), Yu(t) ? t.forEach(function(g) {
2419
- a.add(Ft(g, e, n, g, t, s));
2415
+ a.add(Ut(g, e, n, g, t, s));
2420
2416
  }) : Gu(t) && t.forEach(function(g, p) {
2421
- a.set(p, Ft(g, e, n, p, t, s));
2417
+ a.set(p, Ut(g, e, n, p, t, s));
2422
2418
  });
2423
2419
  var b = i ? l ? du : uu : l ? Jn : qn, y = u ? void 0 : b(t);
2424
2420
  return el(y || t, function(g, p) {
2425
- y && (p = g, g = t[p]), Or(a, p, Ft(g, e, n, p, t, s));
2421
+ y && (p = g, g = t[p]), Or(a, p, Ut(g, e, n, p, t, s));
2426
2422
  }), a;
2427
2423
  }
2428
2424
  var Ed = 1, Sd = 4;
2429
2425
  function dt(t) {
2430
- return Ft(t, Ed | Sd);
2426
+ return Ut(t, Ed | Sd);
2431
2427
  }
2432
- const Kt = (t, e = "") => {
2428
+ const Jt = (t, e = "") => {
2433
2429
  for (let n of t)
2434
2430
  if (!(n != null && n.disable) && !(n != null && n.expired))
2435
2431
  if (e) {
2436
2432
  if (n.routeUrl && n.code === e)
2437
2433
  return n;
2438
2434
  if (n.children && n.children.length) {
2439
- const o = Kt(n.children, e);
2435
+ const o = Jt(n.children, e);
2440
2436
  if (o) return o;
2441
2437
  }
2442
2438
  } else {
2443
2439
  if (n.routeUrl)
2444
2440
  return n;
2445
2441
  if (n.children && n.children.length) {
2446
- const o = Kt(n.children, e);
2442
+ const o = Jt(n.children, e);
2447
2443
  if (o) return o;
2448
2444
  }
2449
2445
  }
@@ -2457,7 +2453,7 @@ const Kt = (t, e = "") => {
2457
2453
  }, $n = (t) => {
2458
2454
  const e = J().subAppList ?? [];
2459
2455
  let { index: n, target: o } = kd(e, t);
2460
- return e.splice(n, 1), e.length ? Se([{ key: "subAppList", value: e }]) : Fn(), ve([
2456
+ return e.splice(n, 1), e.length ? Se([{ key: "subAppList", value: e }]) : Fn(), Ae([
2461
2457
  { key: "currentCode", value: "" },
2462
2458
  { key: "currentTab", value: {} },
2463
2459
  { key: `preTab:${t}`, value: {} },
@@ -2468,9 +2464,9 @@ const Kt = (t, e = "") => {
2468
2464
  return { left: o, right: r };
2469
2465
  }, Ld = (t, e, n) => {
2470
2466
  var f;
2471
- const o = Oe(e).filter((d) => d.routeUrl).filter((d) => !(d != null && d.disable) && !(d != null && d.expired)), s = (((f = me()) == null ? void 0 : f.tabMap) ?? {})[t] ?? [], { left: a, right: c } = Pd(s, n), l = s.filter((d) => o.find((h) => h.code === d.code));
2467
+ const o = Oe(e).filter((d) => d.routeUrl).filter((d) => !(d != null && d.disable) && !(d != null && d.expired)), s = (((f = ve()) == null ? void 0 : f.tabMap) ?? {})[t] ?? [], { left: a, right: c } = Pd(s, n), l = s.filter((d) => o.find((h) => h.code === d.code));
2472
2468
  if (!a.length && !c.length || !l.length)
2473
- return ve([
2469
+ return Ae([
2474
2470
  { key: "currentCode", value: "" },
2475
2471
  { key: "currentTab", value: {} },
2476
2472
  { key: `preTab:${t}`, value: {} },
@@ -2485,7 +2481,7 @@ const Kt = (t, e = "") => {
2485
2481
  const d = a.reverse().find((h) => l.map((b) => b.code).includes(h.code));
2486
2482
  d && (i = d);
2487
2483
  }
2488
- return i ? (ve([
2484
+ return i ? (Ae([
2489
2485
  {
2490
2486
  key: "currentCode",
2491
2487
  value: i.code
@@ -2499,7 +2495,7 @@ const Kt = (t, e = "") => {
2499
2495
  value: i
2500
2496
  },
2501
2497
  { key: `tabMap:${t}`, value: l }
2502
- ]), Er(i.code), { currentMenu: o.find((d) => d.code === i.code), currentTab: i }) : (ve([
2498
+ ]), Er(i.code), { currentMenu: o.find((d) => d.code === i.code), currentTab: i }) : (Ae([
2503
2499
  { key: `preTab:${t}`, value: {} },
2504
2500
  { key: `tabMap:${t}`, value: [] }
2505
2501
  ]), $n(t));
@@ -2549,12 +2545,12 @@ const Kt = (t, e = "") => {
2549
2545
  }
2550
2546
  }
2551
2547
  if (s && a) {
2552
- const p = (me().tabMap ?? {})[e.code] ?? [];
2548
+ const p = (ve().tabMap ?? {})[e.code] ?? [];
2553
2549
  if (p.length) {
2554
2550
  const v = p.filter(
2555
2551
  (A) => n && n === A.code || o && o === `/${A.applicationPath}${A.path}`.replace(/\/\//g, "/") || Oe(l).map((_) => _.code).includes(A.code)
2556
2552
  );
2557
- ve([
2553
+ Ae([
2558
2554
  {
2559
2555
  key: `tabMap:${e.code}`,
2560
2556
  value: v
@@ -2577,7 +2573,7 @@ const Kt = (t, e = "") => {
2577
2573
  query: { ...r.query, app: c }
2578
2574
  };
2579
2575
  }
2580
- let f = Kt(l, n);
2576
+ let f = Jt(l, n);
2581
2577
  if (!f) {
2582
2578
  if (!s || !a)
2583
2579
  return { menuConfig: l, currentApp: null, currentMenu: null, query: { ...r.query, app: c } };
@@ -2608,7 +2604,7 @@ const Kt = (t, e = "") => {
2608
2604
  path: f.routeUrl,
2609
2605
  query: v
2610
2606
  };
2611
- ve([
2607
+ Ae([
2612
2608
  {
2613
2609
  key: "currentCode",
2614
2610
  value: f.code
@@ -2664,14 +2660,14 @@ const Kt = (t, e = "") => {
2664
2660
  }, Zr = E(null), zd = async () => {
2665
2661
  const [t, e] = await Ud().run();
2666
2662
  return t ? { homeConfig: null } : (e && ($i(e), Zr.value = e), { homeConfig: e });
2667
- }, Gt = E(1), Yr = async () => {
2663
+ }, Kt = E(1), Yr = async () => {
2668
2664
  const [t, e] = await Fd().run();
2669
- return t ? { personalMenuConfig: null } : (Gt.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
2665
+ return t ? { personalMenuConfig: null } : (Kt.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
2670
2666
  }, qd = We.post("/menu/personal-setting"), Jd = { class: "preson-style-drawer" }, Kd = { class: "preson-style-container" }, Gd = { class: "title" }, Xd = { class: "content" }, Zd = { class: "item-content" }, Yd = ["src"], ep = { class: "item-content" }, tp = ["src"], np = { class: "preson-style-footer" }, op = /* @__PURE__ */ ne({
2671
2667
  __name: "index",
2672
2668
  setup(t, { expose: e }) {
2673
2669
  const n = E(!1), o = E(!1), r = E(!1), s = E(!1), a = () => {
2674
- o.value = Gt.value === 1, r.value = Gt.value === 2, n.value = !0;
2670
+ o.value = Kt.value === 1, r.value = Kt.value === 2, n.value = !0;
2675
2671
  }, c = (i) => {
2676
2672
  i === 1 ? r.value = !1 : o.value = !1;
2677
2673
  }, l = async () => {
@@ -2697,7 +2693,7 @@ const Kt = (t, e = "") => {
2697
2693
  style: { "margin-right": "12px" }
2698
2694
  }, {
2699
2695
  default: x(() => u[6] || (u[6] = [
2700
- Ae("取消")
2696
+ ye("取消")
2701
2697
  ])),
2702
2698
  _: 1
2703
2699
  /* STABLE */
@@ -2709,7 +2705,7 @@ const Kt = (t, e = "") => {
2709
2705
  onClick: l
2710
2706
  }, {
2711
2707
  default: x(() => u[7] || (u[7] = [
2712
- Ae("确定")
2708
+ ye("确定")
2713
2709
  ])),
2714
2710
  _: 1
2715
2711
  /* STABLE */
@@ -2739,7 +2735,7 @@ const Kt = (t, e = "") => {
2739
2735
  onChange: u[1] || (u[1] = (f) => c(1))
2740
2736
  }, {
2741
2737
  default: x(() => [
2742
- Ae(
2738
+ ye(
2743
2739
  se(m(N)("弹出式菜单栏").value),
2744
2740
  1
2745
2741
  /* TEXT */
@@ -2762,7 +2758,7 @@ const Kt = (t, e = "") => {
2762
2758
  onChange: u[3] || (u[3] = (f) => c(2))
2763
2759
  }, {
2764
2760
  default: x(() => [
2765
- Ae(
2761
+ ye(
2766
2762
  se(m(N)("内嵌式菜单栏").value),
2767
2763
  1
2768
2764
  /* TEXT */
@@ -2786,17 +2782,17 @@ const Kt = (t, e = "") => {
2786
2782
  Di(i), Qs(i);
2787
2783
  }, n = async () => {
2788
2784
  const [a, c] = await ap().run({ userId: cr().id });
2789
- a || !c || JSON.stringify(c) === "{}" || (Wt.open({
2785
+ a || !c || JSON.stringify(c) === "{}" || (Vt.open({
2790
2786
  key: "loginTip",
2791
2787
  message: "上次登录信息",
2792
2788
  placement: "bottomRight",
2793
- description: fe("div", { class: "last-login-info" }, [
2794
- fe(
2789
+ description: he("div", { class: "last-login-info" }, [
2790
+ he(
2795
2791
  "div",
2796
2792
  { style: "font-size: 12px;color:#212121;margin-bottom:8px" },
2797
2793
  "时间:" + js(c.lastModificationTime)
2798
2794
  ),
2799
- fe("div", { style: "font-size: 12px;color:#212121;" }, "IP地址:" + c.ip)
2795
+ he("div", { style: "font-size: 12px;color:#212121;" }, "IP地址:" + c.ip)
2800
2796
  ])
2801
2797
  }), sessionStorage.setItem("loginInfoTip", "true"));
2802
2798
  }, o = async () => {
@@ -2865,7 +2861,7 @@ const Kt = (t, e = "") => {
2865
2861
  // 树打平之后保留的数据
2866
2862
  filterFlatCondition: (T) => T.type === 7
2867
2863
  }), R.nav.setProjects(g || []), p && R.nav.setActiveProject(p));
2868
- const C = Yt() ?? {}, S = C != null && C.headPicture ? On(C.headPicture) : void 0;
2864
+ const C = Zt() ?? {}, S = C != null && C.headPicture ? On(C.headPicture) : void 0;
2869
2865
  l.value = [...vi], p && p.id !== 0 ? await o("personCenter", "", "/userInfo") || (l.value = l.value.filter((D) => D.value !== "1")) : l.value = l.value.filter((T) => T.value !== "1"), R.nav.setUserInfo({ headPicture: S, commandList: l.value }), R.nav.setSearchConfig({
2870
2866
  getHistoryList: r,
2871
2867
  getSearchList: s
@@ -2896,10 +2892,10 @@ const Kt = (t, e = "") => {
2896
2892
  desc: n.menuExpirationExpiredInfo
2897
2893
  };
2898
2894
  }, up = () => {
2899
- const { entryMenu: t } = rn();
2895
+ const { entryMenu: t } = on();
2900
2896
  R.menu.addEventListener("onItemClick", async (e) => {
2901
2897
  ce.innerSet = !0;
2902
- const n = Oe(zt(e.applicationCode)).filter((o) => !o.disable && !o.expired).find((o) => o.code === e.code);
2898
+ const n = Oe(Wt(e.applicationCode)).filter((o) => !o.disable && !o.expired).find((o) => o.code === e.code);
2903
2899
  if (!(n && !n.routeUrl)) {
2904
2900
  if (!n) {
2905
2901
  const { title: o, content: r, desc: s } = await Zn(n);
@@ -2922,8 +2918,8 @@ const Kt = (t, e = "") => {
2922
2918
  var i;
2923
2919
  const s = J();
2924
2920
  if (!((i = s.subAppList) != null && i.length) || s.subAppList.findIndex((u) => u.code === r.code) === -1) return;
2925
- const l = (me().tabMap[r.code] ?? []).map((u) => u.code);
2926
- l && l.length && Ut(r.code, l), e(r);
2921
+ const l = (ve().tabMap[r.code] ?? []).map((u) => u.code);
2922
+ l && l.length && Ht(r.code, l), e(r);
2927
2923
  });
2928
2924
  const { enter: o } = ht();
2929
2925
  return R.nav.addEventListener("fullScreenHandle", o), {};
@@ -2940,15 +2936,15 @@ const Kt = (t, e = "") => {
2940
2936
  c = dt(p.path), l = dt(p.query);
2941
2937
  const _ = J().currentSubAppCode ?? "";
2942
2938
  if (!_) return;
2943
- const C = ((T = p.query) == null ? void 0 : T.menu) ?? ((D = me()) == null ? void 0 : D.currentCode) ?? "";
2939
+ const C = ((T = p.query) == null ? void 0 : T.menu) ?? ((D = ve()) == null ? void 0 : D.currentCode) ?? "";
2944
2940
  if (!C) return;
2945
2941
  const S = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
2946
2942
  S && JSON.stringify(S) !== "{}" && (r.value = (O = S[_][C]) != null && O.fontColor ? S[_][C].fontColor : e, s.value = (F = S[_][C]) != null && F.backgroundColor ? S[_][C].backgroundColor : n, a.value = (z = S[_][C]) != null && z.backgroundColor ? S[_][C].backgroundColor : o);
2947
2943
  }
2948
2944
  );
2949
- const { deleteApp: i } = vt(), { entryMenu: u } = rn(), { reloadRoute: f, unloadRoute: d } = es(), h = (p) => {
2945
+ const { deleteApp: i } = vt(), { entryMenu: u } = on(), { reloadRoute: f, unloadRoute: d } = es(), h = (p) => {
2950
2946
  var C;
2951
- const v = Oe(zt(p.applicationCode)).find((S) => S.code === p.code), _ = (((C = me().tabMap) == null ? void 0 : C[p.applicationCode]) ?? []).find((S) => S.code === p.code);
2947
+ const v = Oe(Wt(p.applicationCode)).find((S) => S.code === p.code), _ = (((C = ve().tabMap) == null ? void 0 : C[p.applicationCode]) ?? []).find((S) => S.code === p.code);
2952
2948
  u({ currentMenu: v, route: { path: _.path, query: _.query ?? {} } });
2953
2949
  }, b = (p) => {
2954
2950
  if (!p || !p.length) return;
@@ -2957,7 +2953,7 @@ const Kt = (t, e = "") => {
2957
2953
  }, y = (p) => {
2958
2954
  const v = J().currentSubAppCode ?? "";
2959
2955
  ce.innerSet = !0;
2960
- const A = me(), _ = A.tabMap[v], C = _.findIndex((O) => O.code === p.data.code);
2956
+ const A = ve(), _ = A.tabMap[v], C = _.findIndex((O) => O.code === p.data.code);
2961
2957
  if (C === -1) return;
2962
2958
  const S = () => {
2963
2959
  var z;
@@ -2972,7 +2968,7 @@ const Kt = (t, e = "") => {
2972
2968
  }
2973
2969
  const F = A.currentCode;
2974
2970
  let z = null;
2975
- F === O.value && (C + 1 === _.length ? _[C - 1] && (z = _[C - 1]) : _[C + 1] && (z = _[C + 1])), _.splice(C, 1), b([O]), ve([{ key: `tabMap:${v}`, value: _ }]), z ? h(z) : ve([{ key: `preTab:${v}`, value: {} }]);
2971
+ F === O.value && (C + 1 === _.length ? _[C - 1] && (z = _[C - 1]) : _[C + 1] && (z = _[C + 1])), _.splice(C, 1), b([O]), Ae([{ key: `tabMap:${v}`, value: _ }]), z ? h(z) : Ae([{ key: `preTab:${v}`, value: {} }]);
2976
2972
  },
2977
2973
  all: S,
2978
2974
  other: async (O) => {
@@ -2982,7 +2978,7 @@ const Kt = (t, e = "") => {
2982
2978
  query: F.query
2983
2979
  }), R.menu.setActiveItem(F.menuId), R.tab.setActiveItem(F.code);
2984
2980
  const z = _.filter((ie) => ie.code !== O.value);
2985
- z.forEach((ie) => R.tab.removeItem(ie.code)), b(z), ve([{ key: `tabMap:${v}`, value: [F] }]), h(F);
2981
+ z.forEach((ie) => R.tab.removeItem(ie.code)), b(z), Ae([{ key: `tabMap:${v}`, value: [F] }]), h(F);
2986
2982
  },
2987
2983
  right: async (O) => {
2988
2984
  const F = A.currentCode;
@@ -2991,30 +2987,30 @@ const Kt = (t, e = "") => {
2991
2987
  h(Ce);
2992
2988
  }
2993
2989
  const z = _.slice(C + 1);
2994
- z.forEach((ie) => R.tab.removeItem(ie.code)), b(z), _.splice(C + 1), ve([{ key: `tabMap:${v}`, value: _ }]);
2990
+ z.forEach((ie) => R.tab.removeItem(ie.code)), b(z), _.splice(C + 1), Ae([{ key: `tabMap:${v}`, value: _ }]);
2995
2991
  }
2996
2992
  })[p.type](p.data);
2997
2993
  };
2998
2994
  R.tab.addEventListener("onItemClick", async (p) => {
2999
- me().currentCode !== p.currentCode && (ce.innerSet = !0, h(p));
2995
+ ve().currentCode !== p.currentCode && (ce.innerSet = !0, h(p));
3000
2996
  }), R.tab.addEventListener("onItemRemove", (p) => {
3001
- const v = me(), A = J().currentSubAppCode ?? "";
3002
- v.tabMap[A].findIndex((S) => S.code === p.code) !== -1 && (Ut(p.applicationCode, [p.code]), y({ type: "me", data: p }));
2997
+ const v = ve(), A = J().currentSubAppCode ?? "";
2998
+ v.tabMap[A].findIndex((S) => S.code === p.code) !== -1 && (Ht(p.applicationCode, [p.code]), y({ type: "me", data: p }));
3003
2999
  }), R.tab.addEventListener("onMenuClick", (p) => {
3004
3000
  let v = [];
3005
- const A = me().tabMap[p.applicationCode] ?? [];
3001
+ const A = ve().tabMap[p.applicationCode] ?? [];
3006
3002
  if (p.type.key === "right") {
3007
3003
  const _ = A.findIndex((C) => C.code === p.data.value);
3008
3004
  v = A.slice(_ + 1);
3009
3005
  }
3010
- p.type.key === "other" && (v = A.filter((_) => _.code !== p.data.value)), p.type.key === "all" && (v = [...A]), Ut(
3006
+ p.type.key === "other" && (v = A.filter((_) => _.code !== p.data.value)), p.type.key === "all" && (v = [...A]), Ht(
3011
3007
  p.applicationCode,
3012
3008
  v.map((_) => _.code)
3013
3009
  ), y({ type: p.type.key, data: p.data });
3014
3010
  }), R.tab.addEventListener("onPageRefresh", async (p) => {
3015
3011
  if (!p || p.path === ct) return;
3016
- Ut(p.applicationCode, [p.code]);
3017
- const v = Oe(zt(p.applicationCode)).find((C) => C.code === p.code);
3012
+ Ht(p.applicationCode, [p.code]);
3013
+ const v = Oe(Wt(p.applicationCode)).find((C) => C.code === p.code);
3018
3014
  if (!v) return;
3019
3015
  if (v.routeUrl !== p.path) {
3020
3016
  f([p.path]), d([`/${p.applicationPath}${v.routeUrl}`]), await u({ currentMenu: v });
@@ -3047,7 +3043,7 @@ const Kt = (t, e = "") => {
3047
3043
  t(), window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`);
3048
3044
  });
3049
3045
  }, vt = () => {
3050
- const t = Ye(), { entryMenu: e } = rn(), { unloadRoute: n } = es();
3046
+ const t = Ye(), { entryMenu: e } = on(), { unloadRoute: n } = es();
3051
3047
  let { mainAppName: o = "", microAppName: r = "", microApps: s = [] } = tt();
3052
3048
  !o && r && (s = [{ name: r }]);
3053
3049
  const a = s.map((d) => d.name), c = () => {
@@ -3061,15 +3057,15 @@ const Kt = (t, e = "") => {
3061
3057
  if (S) return !1;
3062
3058
  g = _ ?? [], p = C ?? [];
3063
3059
  }
3064
- if (g.length ? Kt(g) || (await Et({ title: "提示", content: "此应用菜单已过期/已收回/配置有误<br/>无法使用" }), v = !0) : (await Et({ title: "提示", content: "此应用未配置菜单/无菜单权限<br/>无法使用" }), v = !0), v) return !1;
3060
+ if (g.length ? Jt(g) || (await Et({ title: "提示", content: "此应用菜单已过期/已收回/配置有误<br/>无法使用" }), v = !0) : (await Et({ title: "提示", content: "此应用未配置菜单/无菜单权限<br/>无法使用" }), v = !0), v) return !1;
3065
3061
  const A = { ...d, menus: g, originalMenus: p };
3066
3062
  return Se([{ key: "subAppList", value: A }]), !0;
3067
3063
  }, i = async (d) => {
3068
- var F, z, ie, Ce, Rt;
3064
+ var F, z, ie, Ce;
3069
3065
  const { microApp: h = null, menuCode: b = "", menuPath: y = "", route: g = {} } = d;
3070
3066
  let p = g;
3071
3067
  if (!h && y) {
3072
- if (c(), !(a && a.find((oe) => y.startsWith("/" + oe) || y.startsWith(oe)))) return;
3068
+ if (c(), !(a && a.find((ue) => y.startsWith("/" + ue) || y.startsWith(ue)))) return;
3073
3069
  await t.push({ path: y, query: p.query });
3074
3070
  return;
3075
3071
  }
@@ -3079,26 +3075,26 @@ const Kt = (t, e = "") => {
3079
3075
  const _ = (h == null ? void 0 : h.openType) ?? 1, C = (h == null ? void 0 : h.type) ?? 1;
3080
3076
  if (h.routeUrl && !a.includes(h.routeUrl)) {
3081
3077
  c();
3082
- const de = ((ie = J()) == null ? void 0 : ie.subAppList) ?? [];
3083
- if ((de == null ? void 0 : de.find((ye) => ye.code === h.code)) || de == null || de.push(h), Se([
3078
+ const pe = ((ie = J()) == null ? void 0 : ie.subAppList) ?? [];
3079
+ if ((pe == null ? void 0 : pe.find((oe) => oe.code === h.code)) || pe == null || pe.push(h), Se([
3084
3080
  { key: "currentSubApp", value: h },
3085
3081
  { key: "currentSubAppCode", value: h.code },
3086
- { key: "subAppList", value: de }
3087
- ]), de.forEach((ye) => {
3088
- const ze = { ...ye, value: ye.code, label: ye.name };
3082
+ { key: "subAppList", value: pe }
3083
+ ]), pe.forEach((oe) => {
3084
+ const ze = { ...oe, value: oe.code, label: oe.name };
3089
3085
  R.nav.appendItem(ze);
3090
3086
  }), R.nav.setActiveItem(h.code), h.routeUrl.includes("entrance=main")) {
3091
3087
  await t.push({ path: h.routeUrl, query: { ...p.query, app: h.code } });
3092
3088
  return;
3093
3089
  }
3094
3090
  if (_ === 1 && C === 2) {
3095
- const ye = En(_n(bn(h.routeUrl)));
3091
+ const oe = En(_n(bn(h.routeUrl)));
3096
3092
  await t.push({
3097
3093
  path: ct,
3098
3094
  query: {
3099
3095
  ...p.query,
3100
3096
  app: h.code,
3101
- iframeSrc: ye
3097
+ iframeSrc: oe
3102
3098
  }
3103
3099
  });
3104
3100
  return;
@@ -3117,8 +3113,8 @@ const Kt = (t, e = "") => {
3117
3113
  meta: { ...(p == null ? void 0 : p.meta) ?? {} }
3118
3114
  }), P && (P == null ? void 0 : P.code) !== (h == null ? void 0 : h.code)) {
3119
3115
  if (P.fixed && (await t.push(P.path), c(), R.nav.setActiveItem(P.path)), !P.fixed) {
3120
- const de = (Ce = J().subAppList) == null ? void 0 : Ce.find((ze) => ze.code === P.code), oe = me().preTab[P.code], ye = { ...(oe == null ? void 0 : oe.query) ?? {} };
3121
- await i({ microApp: de, menuCode: (oe == null ? void 0 : oe.code) ?? "", route: { query: ye } });
3116
+ const pe = (Ce = J().subAppList) == null ? void 0 : Ce.find((ze) => ze.code === P.code), ue = ve().preTab[P.code], oe = { ...(ue == null ? void 0 : ue.query) ?? {} };
3117
+ await i({ microApp: pe, menuCode: (ue == null ? void 0 : ue.code) ?? "", route: { query: oe } });
3122
3118
  }
3123
3119
  return;
3124
3120
  }
@@ -3134,18 +3130,22 @@ const Kt = (t, e = "") => {
3134
3130
  return;
3135
3131
  }
3136
3132
  if (v && A) {
3137
- (Rt = J().subAppList) == null || Rt.forEach((oe) => {
3138
- const ye = { ...oe, value: oe.code, label: oe.name };
3139
- R.nav.appendItem(ye);
3140
- }), R.nav.setActiveItem(O.code), R.menu.setItems(S);
3141
- const de = me().tabMap[O.code] ?? [];
3142
- de.length && de.forEach((oe) => {
3143
- R.tab.appendItem({
3133
+ setTimeout(() => {
3134
+ var ue;
3135
+ (ue = J().subAppList) == null || ue.forEach((oe) => {
3136
+ const ze = { ...oe, value: oe.code, label: oe.name };
3137
+ R.nav.appendItem(ze);
3138
+ }), R.nav.setActiveItem(O.code), R.menu.setItems(S);
3139
+ }, 200);
3140
+ const pe = ve().tabMap[O.code] ?? [];
3141
+ if (pe.length) {
3142
+ const ue = pe.map((oe) => ({
3144
3143
  ...oe,
3145
3144
  value: oe.code,
3146
3145
  label: oe.name
3147
- });
3148
- });
3146
+ })) || [];
3147
+ R.tab.setItems(ue);
3148
+ }
3149
3149
  }
3150
3150
  e({ currentMenu: I, microPath: T, route: p });
3151
3151
  }, u = async (d) => {
@@ -3154,14 +3154,14 @@ const Kt = (t, e = "") => {
3154
3154
  await t.push(d.path), R.menu.setItems([]), R.tab.setItems([]), R.nav.setActiveItem(d.path), Se([
3155
3155
  { key: "currentSubAppCode", value: "" },
3156
3156
  { key: "currentSubApp", value: {} }
3157
- ]), ve([
3157
+ ]), Ae([
3158
3158
  { key: "currentCode", value: "" },
3159
3159
  { key: "currentTab", value: {} }
3160
3160
  ]);
3161
3161
  return;
3162
3162
  }
3163
3163
  if (!d.fixed) {
3164
- const b = (h = J().subAppList) == null ? void 0 : h.find((v) => v.code === d.code), y = me().preTab[d.code], g = (y == null ? void 0 : y.code) ?? "", p = { ...(y == null ? void 0 : y.query) ?? {} };
3164
+ const b = (h = J().subAppList) == null ? void 0 : h.find((v) => v.code === d.code), y = ve().preTab[d.code], g = (y == null ? void 0 : y.code) ?? "", p = { ...(y == null ? void 0 : y.query) ?? {} };
3165
3165
  await i({ microApp: b, menuCode: g, route: { query: p } });
3166
3166
  }
3167
3167
  };
@@ -3175,13 +3175,13 @@ const Kt = (t, e = "") => {
3175
3175
  if (!((p = h.subAppList) != null && p.length)) return;
3176
3176
  const b = h.subAppList.findIndex((v) => v.code === d.code);
3177
3177
  if (b === -1) return;
3178
- const y = me().tabMap[d.code] ?? [];
3178
+ const y = ve().tabMap[d.code] ?? [];
3179
3179
  if (y.length) {
3180
3180
  const v = y.map((A) => A.path);
3181
3181
  n(v);
3182
3182
  }
3183
3183
  let g = null;
3184
- if (h.currentSubAppCode === d.code && (b + 1 !== h.subAppList.length ? h.subAppList[b + 1] && (g = h.subAppList[b + 1]) : h.subAppList[b - 1] && (g = h.subAppList[b - 1])), h.subAppList.splice(b, 1), Se([{ key: "subAppList", value: h.subAppList }]), ve([
3184
+ if (h.currentSubAppCode === d.code && (b + 1 !== h.subAppList.length ? h.subAppList[b + 1] && (g = h.subAppList[b + 1]) : h.subAppList[b - 1] && (g = h.subAppList[b - 1])), h.subAppList.splice(b, 1), Se([{ key: "subAppList", value: h.subAppList }]), Ae([
3185
3185
  { key: `preTab:${d.code}`, value: {} },
3186
3186
  { key: `tabMap:${d.code}`, value: [] }
3187
3187
  ]), g) {
@@ -3195,7 +3195,7 @@ const Kt = (t, e = "") => {
3195
3195
  }
3196
3196
  }
3197
3197
  };
3198
- }, rn = () => {
3198
+ }, on = () => {
3199
3199
  const t = Ye();
3200
3200
  let { mainAppName: e = "", microAppName: n = "", microApps: o = [] } = tt();
3201
3201
  return !e && n && (o = [{ name: n }]), o.map((s) => s.name), { entryMenu: async (s) => {
@@ -3241,7 +3241,7 @@ const Kt = (t, e = "") => {
3241
3241
  ...g,
3242
3242
  value: g.code,
3243
3243
  label: g.name
3244
- }), R.tab.setActiveItem(a.code), R.menu.setActiveItem(a.id), Er(a.code), ve([
3244
+ }), R.tab.setActiveItem(a.code), R.menu.setActiveItem(a.id), Er(a.code), Ae([
3245
3245
  {
3246
3246
  key: "currentCode",
3247
3247
  value: a.code
@@ -3303,7 +3303,7 @@ const Kt = (t, e = "") => {
3303
3303
  (D) => v === D.code || p.includes(D.code)
3304
3304
  );
3305
3305
  Se([{ key: "subAppList", value: T }]), I && I.length && I.forEach((D) => {
3306
- ve([
3306
+ Ae([
3307
3307
  { key: `preTab:${D.code}`, value: {} },
3308
3308
  { key: `tabMap:${D.code}`, value: [] }
3309
3309
  ]);
@@ -3315,7 +3315,7 @@ const Kt = (t, e = "") => {
3315
3315
  const { currentApp: T } = $n(d.query.app);
3316
3316
  if (T) {
3317
3317
  I = T;
3318
- const O = (me().preTab ?? {})[I.code];
3318
+ const O = (ve().preTab ?? {})[I.code];
3319
3319
  d = {}, O && (d.path = `/${O.applicationPath}${O.path}`.replace(/\/\//g, "/"), d.query = O.query);
3320
3320
  }
3321
3321
  }
@@ -3347,7 +3347,7 @@ const Kt = (t, e = "") => {
3347
3347
  I && (R.nav.setActiveItem(I.path), R.menu.setItems([]), R.tab.setItems([]), Se([
3348
3348
  { key: "currentSubAppCode", value: "" },
3349
3349
  { key: "currentSubApp", value: {} }
3350
- ]), ve([
3350
+ ]), Ae([
3351
3351
  { key: "currentCode", value: "" },
3352
3352
  { key: "currentTab", value: {} }
3353
3353
  ]));
@@ -3415,7 +3415,7 @@ const Kt = (t, e = "") => {
3415
3415
  };
3416
3416
  }, mp = dr.get("/convert/tenant"), vp = Rn.get("/platform/withdefault"), ts = () => {
3417
3417
  const t = tt(), e = E(!1), n = E(""), o = E(""), r = () => {
3418
- n.value = Yt().id, o.value = cr().tenantId, e.value = !0;
3418
+ n.value = Zt().id, o.value = cr().tenantId, e.value = !0;
3419
3419
  };
3420
3420
  R.nav.addEventListener("changeEnterpriseHandle", () => {
3421
3421
  r();
@@ -3505,7 +3505,7 @@ const Kt = (t, e = "") => {
3505
3505
  }), Tp = () => {
3506
3506
  Le.addEventListenerFromMicroApp("iot:change-instance", (t) => {
3507
3507
  const e = J(), n = e.currentSubAppCode;
3508
- let o = zt(n);
3508
+ let o = Wt(n);
3509
3509
  o.forEach((s) => {
3510
3510
  s.fixed && (s.name = t.data.instanceInfo.instanceName);
3511
3511
  }), R.menu.setItems(o);
@@ -3543,7 +3543,7 @@ const Kt = (t, e = "") => {
3543
3543
  Ys();
3544
3544
  });
3545
3545
  }, kp = Qn.get("/platform/login/pwd-advance-notify-check"), Pp = () => {
3546
- const t = E([]), e = E(null), n = E([]), { entryApp: o } = qt.hooks.useEntryApp(), r = () => {
3546
+ const t = E([]), e = E(null), n = E([]), { entryApp: o } = zt.hooks.useEntryApp(), r = () => {
3547
3547
  var l;
3548
3548
  const c = (((l = J().appcategorys) == null ? void 0 : l.map((i) => i.apps).flat()) ?? []).find((i) => i.code === "messagecenter");
3549
3549
  c && o({ microApp: c });
@@ -3559,22 +3559,22 @@ const Kt = (t, e = "") => {
3559
3559
  const l = Fe().id;
3560
3560
  t.value = a.filter(
3561
3561
  (i) => i.projectId === l || i.projectId === 0 || i.projectId === "0"
3562
- ), n.value && n.value.length && (n.value.forEach((i) => Wt.close(i)), n.value = []), await Qe(), t.value.forEach((i, u) => {
3563
- Wt.info({
3562
+ ), n.value && n.value.length && (n.value.forEach((i) => Vt.close(i)), n.value = []), await Qe(), t.value.forEach((i, u) => {
3563
+ Vt.info({
3564
3564
  key: i.id,
3565
3565
  class: "message-center-notify",
3566
3566
  message: i.title,
3567
3567
  top: "55px",
3568
- description: fe("div", {}, [
3568
+ description: he("div", {}, [
3569
3569
  // 标题
3570
- fe("div", { class: "custom-title" }, [
3571
- fe(qe, { icon: "warning-face", width: 24, height: 24, iconColor: "#5582f3" }),
3572
- fe("div", { class: "title" }, i.title)
3570
+ he("div", { class: "custom-title" }, [
3571
+ he(qe, { icon: "warning-face", width: 24, height: 24, iconColor: "#5582f3" }),
3572
+ he("div", { class: "title" }, i.title)
3573
3573
  ]),
3574
3574
  // 内容
3575
- fe("div", { class: "custom-content" }, i.content),
3575
+ he("div", { class: "custom-content" }, i.content),
3576
3576
  // 底部按钮
3577
- i.title !== "密码更新提醒" ? fe(
3577
+ i.title !== "密码更新提醒" ? he(
3578
3578
  "div",
3579
3579
  {
3580
3580
  class: "footer-btn",
@@ -3591,8 +3591,8 @@ const Kt = (t, e = "") => {
3591
3591
  });
3592
3592
  };
3593
3593
  Ve(async () => {
3594
- await en(), s();
3595
- }), Zt(() => {
3594
+ await Yt(), s();
3595
+ }), Xt(() => {
3596
3596
  e.value && e.value.disconnect(), e.value = null;
3597
3597
  });
3598
3598
  }, Lp = "v1", $p = ft(`/api/enterpriseright/permission/${Lp}`), ns = ft("/api/device-relation/deviceproject/v1/project/device/video", Op), Dp = jn.get("/permissionset/user-portal-menu");
@@ -3640,7 +3640,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3640
3640
  onClick: f[1] || (f[1] = (d) => l())
3641
3641
  },
3642
3642
  [
3643
- pe(u.$slots, "default", {}, void 0, !0)
3643
+ fe(u.$slots, "default", {}, void 0, !0)
3644
3644
  ],
3645
3645
  34
3646
3646
  /* CLASS, NEED_HYDRATION */
@@ -3669,7 +3669,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3669
3669
  onItemClick: (i) => r(l)
3670
3670
  }, {
3671
3671
  default: x(() => [
3672
- s.showFn(l) ? pe(s.$slots, "default", {
3672
+ s.showFn(l) ? fe(s.$slots, "default", {
3673
3673
  key: 0,
3674
3674
  index: l
3675
3675
  }, void 0, !0) : j("v-if", !0)
@@ -3696,7 +3696,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3696
3696
  onDblclick: s[9] || (s[9] = le((a) => a.stopPropagation(), ["stop"]))
3697
3697
  },
3698
3698
  [
3699
- Q(m(ge), { content: "左上" }, {
3699
+ Q(m(me), { content: "左上" }, {
3700
3700
  default: x(() => [
3701
3701
  B("div", {
3702
3702
  class: "icon icon-top-left",
@@ -3706,7 +3706,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3706
3706
  _: 1
3707
3707
  /* STABLE */
3708
3708
  }),
3709
- Q(m(ge), { content: "上" }, {
3709
+ Q(m(me), { content: "上" }, {
3710
3710
  default: x(() => [
3711
3711
  B("div", {
3712
3712
  class: "icon icon-top",
@@ -3716,7 +3716,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3716
3716
  _: 1
3717
3717
  /* STABLE */
3718
3718
  }),
3719
- Q(m(ge), { content: "右上" }, {
3719
+ Q(m(me), { content: "右上" }, {
3720
3720
  default: x(() => [
3721
3721
  B("div", {
3722
3722
  class: "icon icon-top-right",
@@ -3726,7 +3726,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3726
3726
  _: 1
3727
3727
  /* STABLE */
3728
3728
  }),
3729
- Q(m(ge), { content: "左" }, {
3729
+ Q(m(me), { content: "左" }, {
3730
3730
  default: x(() => [
3731
3731
  B("div", {
3732
3732
  class: "icon icon-left",
@@ -3736,7 +3736,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3736
3736
  _: 1
3737
3737
  /* STABLE */
3738
3738
  }),
3739
- Q(m(ge), { content: "自动" }, {
3739
+ Q(m(me), { content: "自动" }, {
3740
3740
  default: x(() => [
3741
3741
  B("div", {
3742
3742
  class: "icon icon-auto",
@@ -3746,7 +3746,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3746
3746
  _: 1
3747
3747
  /* STABLE */
3748
3748
  }),
3749
- Q(m(ge), { content: "右" }, {
3749
+ Q(m(me), { content: "右" }, {
3750
3750
  default: x(() => [
3751
3751
  B("div", {
3752
3752
  class: "icon icon-right",
@@ -3756,7 +3756,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3756
3756
  _: 1
3757
3757
  /* STABLE */
3758
3758
  }),
3759
- Q(m(ge), { content: "左下" }, {
3759
+ Q(m(me), { content: "左下" }, {
3760
3760
  default: x(() => [
3761
3761
  B("div", {
3762
3762
  class: "icon icon-bottom-left",
@@ -3766,7 +3766,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3766
3766
  _: 1
3767
3767
  /* STABLE */
3768
3768
  }),
3769
- Q(m(ge), { content: "下" }, {
3769
+ Q(m(me), { content: "下" }, {
3770
3770
  default: x(() => [
3771
3771
  B("div", {
3772
3772
  class: "icon icon-bottom",
@@ -3776,7 +3776,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3776
3776
  _: 1
3777
3777
  /* STABLE */
3778
3778
  }),
3779
- Q(m(ge), { content: "右下" }, {
3779
+ Q(m(me), { content: "右下" }, {
3780
3780
  default: x(() => [
3781
3781
  B("div", {
3782
3782
  class: "icon icon-bottom-right",
@@ -3933,7 +3933,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3933
3933
  onDblclick: _[2] || (_[2] = le((C) => C.stopPropagation(), ["stop"]))
3934
3934
  },
3935
3935
  [
3936
- Q(m(ge), { content: "声音" }, {
3936
+ Q(m(me), { content: "声音" }, {
3937
3937
  default: x(() => [
3938
3938
  Q(m(qe), {
3939
3939
  class: "icon icon-volume",
@@ -3944,7 +3944,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3944
3944
  _: 1
3945
3945
  /* STABLE */
3946
3946
  }),
3947
- Q(m(ge), { content: "截图" }, {
3947
+ Q(m(me), { content: "截图" }, {
3948
3948
  default: x(() => [
3949
3949
  Q(m(qe), {
3950
3950
  class: "icon icon-screenshot",
@@ -3955,7 +3955,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3955
3955
  _: 1
3956
3956
  /* STABLE */
3957
3957
  }),
3958
- v("control") ? ($(), V(m(ge), {
3958
+ v("control") ? ($(), V(m(me), {
3959
3959
  key: 0,
3960
3960
  content: "聚焦-"
3961
3961
  }, {
@@ -3970,7 +3970,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3970
3970
  _: 1
3971
3971
  /* STABLE */
3972
3972
  })) : j("v-if", !0),
3973
- v("control") ? ($(), V(m(ge), {
3973
+ v("control") ? ($(), V(m(me), {
3974
3974
  key: 1,
3975
3975
  content: "聚焦+"
3976
3976
  }, {
@@ -3985,7 +3985,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3985
3985
  _: 1
3986
3986
  /* STABLE */
3987
3987
  })) : j("v-if", !0),
3988
- v("control") ? ($(), V(m(ge), {
3988
+ v("control") ? ($(), V(m(me), {
3989
3989
  key: 2,
3990
3990
  content: "方向控制"
3991
3991
  }, {
@@ -4156,7 +4156,7 @@ const nf = /* @__PURE__ */ ne({
4156
4156
  -1
4157
4157
  /* HOISTED */
4158
4158
  )),
4159
- Q(m(ge), { content: "页面全屏" }, {
4159
+ Q(m(me), { content: "页面全屏" }, {
4160
4160
  default: x(() => [
4161
4161
  Q(m(qe), {
4162
4162
  class: "icon",
@@ -4181,10 +4181,10 @@ const nf = /* @__PURE__ */ ne({
4181
4181
  return new Promise((o) => {
4182
4182
  let r = document.body.querySelector("#video-dialog");
4183
4183
  r || (r = document.createElement("div"), r.setAttribute("id", "video-dialog-container"), document.body.appendChild(r));
4184
- const a = fe(nf, { gridNum: e, deviceList: n, closeCallback: () => {
4185
- Vt(null, r), document.body.removeChild(r), o(null);
4184
+ const a = he(nf, { gridNum: e, deviceList: n, closeCallback: () => {
4185
+ Ft(null, r), document.body.removeChild(r), o(null);
4186
4186
  } });
4187
- Vt(a, r);
4187
+ Ft(a, r);
4188
4188
  });
4189
4189
  }, rf = () => {
4190
4190
  const t = E(4), e = E([]), n = E(null), o = async (s) => {
@@ -4224,8 +4224,8 @@ const nf = /* @__PURE__ */ ne({
4224
4224
  }));
4225
4225
  };
4226
4226
  return Ve(async () => {
4227
- await en(), r();
4228
- }), Zt(() => {
4227
+ await Yt(), r();
4228
+ }), Xt(() => {
4229
4229
  n.value && n.value.disconnect(), n.value = null;
4230
4230
  }), {
4231
4231
  gridNum: t,
@@ -4324,7 +4324,7 @@ class rs {
4324
4324
  this.statusCode = e, this.statusText = n, this.content = o;
4325
4325
  }
4326
4326
  }
4327
- class sn {
4327
+ class rn {
4328
4328
  get(e, n) {
4329
4329
  return this.send({
4330
4330
  ...n,
@@ -4432,7 +4432,7 @@ async function ss(t, e, n, o, r, s) {
4432
4432
  t.log(w.Trace, `(${e} transport) request complete. Response status: ${u.statusCode}.`);
4433
4433
  }
4434
4434
  function pf(t) {
4435
- return t === void 0 ? new Xt(w.Information) : t === null ? Pt.instance : t.log !== void 0 ? t : new Xt(t);
4435
+ return t === void 0 ? new Gt(w.Information) : t === null ? Pt.instance : t.log !== void 0 ? t : new Gt(t);
4436
4436
  }
4437
4437
  class ff {
4438
4438
  constructor(e, n) {
@@ -4444,7 +4444,7 @@ class ff {
4444
4444
  });
4445
4445
  }
4446
4446
  }
4447
- class Xt {
4447
+ class Gt {
4448
4448
  constructor(e) {
4449
4449
  this._minLevel = e, this.out = console;
4450
4450
  }
@@ -4514,7 +4514,7 @@ function Af() {
4514
4514
  return global;
4515
4515
  throw new Error("could not find global");
4516
4516
  }
4517
- class yf extends sn {
4517
+ class yf extends rn {
4518
4518
  constructor(e) {
4519
4519
  if (super(), this._logger = e, typeof fetch > "u" || te.isNode) {
4520
4520
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
@@ -4599,7 +4599,7 @@ function Yo(t, e) {
4599
4599
  }
4600
4600
  return n;
4601
4601
  }
4602
- class wf extends sn {
4602
+ class wf extends rn {
4603
4603
  constructor(e) {
4604
4604
  super(), this._logger = e;
4605
4605
  }
@@ -4623,7 +4623,7 @@ class wf extends sn {
4623
4623
  }) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
4624
4624
  }
4625
4625
  }
4626
- class _f extends sn {
4626
+ class _f extends rn {
4627
4627
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
4628
4628
  constructor(e) {
4629
4629
  if (super(), typeof fetch < "u" || te.isNode)
@@ -5321,7 +5321,7 @@ class Ge {
5321
5321
  }
5322
5322
  Ge.Authorization = "Authorization";
5323
5323
  Ge.Cookie = "Cookie";
5324
- class Lf extends sn {
5324
+ class Lf extends rn {
5325
5325
  constructor(e, n) {
5326
5326
  super(), this._innerClient = e, this._accessTokenFactory = n;
5327
5327
  }
@@ -5342,10 +5342,10 @@ var re;
5342
5342
  (function(t) {
5343
5343
  t[t.None = 0] = "None", t[t.WebSockets = 1] = "WebSockets", t[t.ServerSentEvents = 2] = "ServerSentEvents", t[t.LongPolling = 4] = "LongPolling";
5344
5344
  })(re || (re = {}));
5345
- var he;
5345
+ var ge;
5346
5346
  (function(t) {
5347
5347
  t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
5348
- })(he || (he = {}));
5348
+ })(ge || (ge = {}));
5349
5349
  let $f = class {
5350
5350
  constructor() {
5351
5351
  this._isAborted = !1, this.onabort = null;
@@ -5369,7 +5369,7 @@ class tr {
5369
5369
  this._httpClient = e, this._logger = n, this._pollAbort = new $f(), this._options = o, this._running = !1, this.onreceive = null, this.onclose = null;
5370
5370
  }
5371
5371
  async connect(e, n) {
5372
- if (ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, he, "transferFormat"), this._url = e, this._logger.log(w.Trace, "(LongPolling transport) Connecting."), n === he.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
5372
+ if (ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, ge, "transferFormat"), this._url = e, this._logger.log(w.Trace, "(LongPolling transport) Connecting."), n === ge.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
5373
5373
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
5374
5374
  const [o, r] = pt(), s = { [o]: r, ...this._options.headers }, a = {
5375
5375
  abortSignal: this._pollAbort.signal,
@@ -5377,7 +5377,7 @@ class tr {
5377
5377
  timeout: 1e5,
5378
5378
  withCredentials: this._options.withCredentials
5379
5379
  };
5380
- n === he.Binary && (a.responseType = "arraybuffer");
5380
+ n === ge.Binary && (a.responseType = "arraybuffer");
5381
5381
  const c = `${e}&_=${Date.now()}`;
5382
5382
  this._logger.log(w.Trace, `(LongPolling transport) polling: ${c}.`);
5383
5383
  const l = await this._httpClient.get(c, a);
@@ -5435,9 +5435,9 @@ class Df {
5435
5435
  this._httpClient = e, this._accessToken = n, this._logger = o, this._options = r, this.onreceive = null, this.onclose = null;
5436
5436
  }
5437
5437
  async connect(e, n) {
5438
- return ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, he, "transferFormat"), this._logger.log(w.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((o, r) => {
5438
+ return ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, ge, "transferFormat"), this._logger.log(w.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((o, r) => {
5439
5439
  let s = !1;
5440
- if (n !== he.Text) {
5440
+ if (n !== ge.Text) {
5441
5441
  r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
5442
5442
  return;
5443
5443
  }
@@ -5485,7 +5485,7 @@ class Of {
5485
5485
  this._logger = o, this._accessTokenFactory = n, this._logMessageContent = r, this._webSocketConstructor = s, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = a;
5486
5486
  }
5487
5487
  async connect(e, n) {
5488
- ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, he, "transferFormat"), this._logger.log(w.Trace, "(WebSockets transport) Connecting.");
5488
+ ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, ge, "transferFormat"), this._logger.log(w.Trace, "(WebSockets transport) Connecting.");
5489
5489
  let o;
5490
5490
  return this._accessTokenFactory && (o = await this._accessTokenFactory()), new Promise((r, s) => {
5491
5491
  e = e.replace(/^http/, "ws");
@@ -5499,7 +5499,7 @@ class Of {
5499
5499
  });
5500
5500
  } else
5501
5501
  o && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(o)}`);
5502
- a || (a = new this._webSocketConstructor(e)), n === he.Binary && (a.binaryType = "arraybuffer"), a.onopen = (i) => {
5502
+ a || (a = new this._webSocketConstructor(e)), n === ge.Binary && (a.binaryType = "arraybuffer"), a.onopen = (i) => {
5503
5503
  this._logger.log(w.Information, `WebSocket connected to ${e}.`), this._webSocket = a, l = !0, r();
5504
5504
  }, a.onerror = (i) => {
5505
5505
  let u = null;
@@ -5555,7 +5555,7 @@ class Mf {
5555
5555
  !te.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : te.isNode && !n.WebSocket && o && (n.WebSocket = o), !te.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : te.isNode && !n.EventSource && typeof r < "u" && (n.EventSource = r), this._httpClient = new Lf(n.httpClient || new _f(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
5556
5556
  }
5557
5557
  async start(e) {
5558
- if (e = e || he.Binary, ae.isIn(e, he, "transferFormat"), this._logger.log(w.Debug, `Starting connection with transfer format '${he[e]}'.`), this._connectionState !== "Disconnected")
5558
+ if (e = e || ge.Binary, ae.isIn(e, ge, "transferFormat"), this._logger.log(w.Debug, `Starting connection with transfer format '${ge[e]}'.`), this._connectionState !== "Disconnected")
5559
5559
  return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
5560
5560
  if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
5561
5561
  const n = "Failed to start the HttpConnection before stop() was called.";
@@ -5722,7 +5722,7 @@ class Mf {
5722
5722
  if (s == null)
5723
5723
  return this._logger.log(w.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
5724
5724
  if (Bf(n, s))
5725
- if (e.transferFormats.map((c) => he[c]).indexOf(o) >= 0) {
5725
+ if (e.transferFormats.map((c) => ge[c]).indexOf(o) >= 0) {
5726
5726
  if (s === re.WebSockets && !this._options.WebSocket || s === re.ServerSentEvents && !this._options.EventSource)
5727
5727
  return this._logger.log(w.Debug, `Skipping transport '${re[s]}' because it is not supported in your environment.'`), new sf(`'${re[s]}' is not supported in your environment.`, s);
5728
5728
  this._logger.log(w.Debug, `Selecting transport '${re[s]}'.`);
@@ -5732,7 +5732,7 @@ class Mf {
5732
5732
  return c;
5733
5733
  }
5734
5734
  } else
5735
- return this._logger.log(w.Debug, `Skipping transport '${re[s]}' because it does not support the requested transfer format '${he[o]}'.`), new Error(`'${re[s]}' does not support ${he[o]}.`);
5735
+ return this._logger.log(w.Debug, `Skipping transport '${re[s]}' because it does not support the requested transfer format '${ge[o]}'.`), new Error(`'${re[s]}' does not support ${ge[o]}.`);
5736
5736
  else
5737
5737
  return this._logger.log(w.Debug, `Skipping transport '${re[s]}' because it was disabled by the client.`), new af(`'${re[s]}' is disabled by the client.`, s);
5738
5738
  }
@@ -5777,10 +5777,10 @@ function Bf(t, e) {
5777
5777
  }
5778
5778
  class to {
5779
5779
  constructor(e) {
5780
- this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new Nt(), this._transportResult = new Nt(), this._sendLoopPromise = this._sendLoop();
5780
+ this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new jt(), this._transportResult = new jt(), this._sendLoopPromise = this._sendLoop();
5781
5781
  }
5782
5782
  send(e) {
5783
- return this._bufferData(e), this._transportResult || (this._transportResult = new Nt()), this._transportResult.promise;
5783
+ return this._bufferData(e), this._transportResult || (this._transportResult = new jt()), this._transportResult.promise;
5784
5784
  }
5785
5785
  stop() {
5786
5786
  return this._executing = !1, this._sendBufferedData.resolve(), this._sendLoopPromise;
@@ -5796,7 +5796,7 @@ class to {
5796
5796
  this._transportResult && this._transportResult.reject("Connection stopped.");
5797
5797
  break;
5798
5798
  }
5799
- this._sendBufferedData = new Nt();
5799
+ this._sendBufferedData = new jt();
5800
5800
  const e = this._transportResult;
5801
5801
  this._transportResult = void 0;
5802
5802
  const n = typeof this._buffer[0] == "string" ? this._buffer.join("") : to._concatBuffers(this._buffer);
@@ -5816,7 +5816,7 @@ class to {
5816
5816
  return o.buffer;
5817
5817
  }
5818
5818
  }
5819
- class Nt {
5819
+ class jt {
5820
5820
  constructor() {
5821
5821
  this.promise = new Promise((e, n) => [this._resolver, this._rejecter] = [e, n]);
5822
5822
  }
@@ -5830,7 +5830,7 @@ class Nt {
5830
5830
  const Rf = "json";
5831
5831
  class xf {
5832
5832
  constructor() {
5833
- this.name = Rf, this.version = 2, this.transferFormat = he.Text;
5833
+ this.name = Rf, this.version = 2, this.transferFormat = ge.Text;
5834
5834
  }
5835
5835
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
5836
5836
  *
@@ -5932,9 +5932,9 @@ class Nf {
5932
5932
  this.logger = e;
5933
5933
  else if (typeof e == "string") {
5934
5934
  const n = jf(e);
5935
- this.logger = new Xt(n);
5935
+ this.logger = new Gt(n);
5936
5936
  } else
5937
- this.logger = new Xt(e);
5937
+ this.logger = new Gt(e);
5938
5938
  return this;
5939
5939
  }
5940
5940
  withUrl(e, n) {
@@ -6002,16 +6002,16 @@ const Ff = () => {
6002
6002
  }), t.onclose((e) => {
6003
6003
  }), t.onreconnected(() => {
6004
6004
  }), t;
6005
- }, an = "v1", Vf = et(`/api/graphics-engine/component/${an}`, (t) => (t.customErrorMessage = () => "", t)), Wf = et(`/api/portal/manager/${an}`, (t) => (t.customErrorMessage = () => "", t)), zf = et(`/api/speech-base/speech/${an}`, (t) => (t.customErrorMessage = () => "", t)), or = Vf.get("/component/client/heartbeat"), qf = Wf.get("/basics/by-alias");
6005
+ }, sn = "v1", Vf = et(`/api/graphics-engine/component/${sn}`, (t) => (t.customErrorMessage = () => "", t)), Wf = et(`/api/portal/manager/${sn}`, (t) => (t.customErrorMessage = () => "", t)), zf = et(`/api/speech-base/speech/${sn}`, (t) => (t.customErrorMessage = () => "", t)), or = Vf.get("/component/client/heartbeat"), qf = Wf.get("/basics/by-alias");
6006
6006
  zf.post("/control/callBack");
6007
- const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.get("/permissionset/application"), Gf = () => {
6008
- const t = Dt(), { entryApp: e } = qt.hooks.useEntryApp(), { entryMenu: n } = qt.hooks.useEntryMenu();
6007
+ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.get("/permissionset/application"), Gf = () => {
6008
+ const t = Dt(), { entryApp: e } = zt.hooks.useEntryApp(), { entryMenu: n } = zt.hooks.useEntryMenu();
6009
6009
  let o = null;
6010
6010
  return Ve(async () => {
6011
6011
  var p;
6012
6012
  let r = ((p = t.meta) == null ? void 0 : p.showLayout) ?? !0, { showLayout: s = !0 } = t.query;
6013
6013
  if (s === "false" && (s = !1), !r || !s) return;
6014
- await en();
6014
+ await Yt();
6015
6015
  const a = (v) => {
6016
6016
  try {
6017
6017
  return JSON.parse(v);
@@ -6101,10 +6101,10 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6101
6101
  }, 5e3), y.value = (window.navigator.onLine ? "on" : "off") + "line";
6102
6102
  };
6103
6103
  window.addEventListener("online", () => g("online")), window.addEventListener("offline", () => g("offline"));
6104
- }), Zt(() => {
6104
+ }), Xt(() => {
6105
6105
  o && clearInterval(o);
6106
6106
  }), {};
6107
- }, cn = "v1", Xf = ft(`/api/fms/report/${cn}`), no = ft(`/api/emergency/manage/${cn}`), Zf = jn.get("/permissionset/user-portal-menu"), as = ft(`/api/alarm/config/${cn}`), Yf = ft(`/api/alarm/run-time/${cn}`), eh = as.get("/alarm-definition/status-option"), th = Yf.post("/record/handling"), nh = as.get("/alarm-level/prompttone"), oh = Xf.get("/alarm/rule/list"), rh = pr.get("/controller/space-children-all-type"), sh = pr.get("/controller/fuzzy-area-small"), ah = no.get("/emergency-event/event/type"), ih = no.get("/emergency-event/event/level"), ch = no.get("/emergency-plan/plan/handle-time"), lh = { class: "handle-alarm-container" }, uh = { class: "select-check" }, dh = { class: "form-box" }, ph = { class: "select-check" }, fh = { style: { "margin-left": "8px" } }, hh = { class: "foot-btn-box" }, gh = {
6107
+ }, an = "v1", Xf = ft(`/api/fms/report/${an}`), no = ft(`/api/emergency/manage/${an}`), Zf = jn.get("/permissionset/user-portal-menu"), as = ft(`/api/alarm/config/${an}`), Yf = ft(`/api/alarm/run-time/${an}`), eh = as.get("/alarm-definition/status-option"), th = Yf.post("/record/handling"), nh = as.get("/alarm-level/prompttone"), oh = Xf.get("/alarm/rule/list"), rh = pr.get("/controller/space-children-all-type"), sh = pr.get("/controller/fuzzy-area-small"), ah = no.get("/emergency-event/event/type"), ih = no.get("/emergency-event/event/level"), ch = no.get("/emergency-plan/plan/handle-time"), lh = { class: "handle-alarm-container" }, uh = { class: "select-check" }, dh = { class: "form-box" }, ph = { class: "select-check" }, fh = { style: { "margin-left": "8px" } }, hh = { class: "foot-btn-box" }, gh = {
6108
6108
  name: "handleAlarm"
6109
6109
  }, mh = /* @__PURE__ */ ne({
6110
6110
  ...gh,
@@ -6182,7 +6182,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6182
6182
  O.value = k.data.filter((L) => L.status), O.value.length > 0 && (i.value.workOrderRules = O.value[0].id);
6183
6183
  };
6184
6184
  G(l, (M) => {
6185
- M || (oe(), ye());
6185
+ M || (oe(), ze());
6186
6186
  }), G(
6187
6187
  S,
6188
6188
  (M) => {
@@ -6203,15 +6203,15 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6203
6203
  u.value.reportTheme = "";
6204
6204
  }, Ce = (M, k) => {
6205
6205
  k.length > 0 && (g.value = k[0].path), i.value.reportPosition = M, _.value = "";
6206
- }, Rt = (M) => {
6206
+ }, pe = (M) => {
6207
6207
  M && (u.value.reportPosition = "", g.value = ""), M ? (i.value.reportPosition = null, g.value = "", p.value = "告警对象位置") : (i.value.reportPosition = null, g.value = "", p.value = "请选择");
6208
- }, de = (M) => {
6208
+ }, ue = (M) => {
6209
6209
  M && (u.value.reportTheme = ""), M ? (i.value.reportTheme = "", v.value = "告警对象") : (i.value.reportTheme = "", v.value = "请输入");
6210
6210
  }, oe = () => {
6211
6211
  u.value.processTypeId = "", u.value.reason = "", u.value.treatmentPlan = "", u.value.reportPosition = "", u.value.reportTheme = "", u.value.workOrderRules = "", u.value.eventTypeId = "", u.value.eventLevelId = "", u.value.timeLimit = "";
6212
- }, ye = () => {
6212
+ }, ze = () => {
6213
6213
  i.value.processTypeId = "confirm", i.value.reason = "", i.value.treatmentPlan = "", i.value.remarks = "", i.value.reportPosition = "", i.value.reportTheme = "", i.value.workOrderRules = null, S.value = !0, D.value = !0, T.value = !0, i.value.reportTheme = N("告警对象").value, g.value = "", p.value = "告警对象位置", v.value = "请输入", i.value.eventTypeId = "", i.value.eventLevelId = null, i.value.timeLimit = "", i.value.interval = 1, d.value = [], h.value = [];
6214
- }, ze = (M) => {
6214
+ }, cn = (M) => {
6215
6215
  M == "eventTypeId" && (i.value.eventLevelId = null, oo()), M == "eventLevelId" && ro(), M == "interval" && (u.value.timeLimit = "", i.value.interval == 3 ? (f.value = !0, i.value.timeLimit = "") : f.value = !1);
6216
6216
  }, is = async () => {
6217
6217
  const [M, k] = await ah().run();
@@ -6223,9 +6223,9 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6223
6223
  }, [k, L] = await ih(M).run();
6224
6224
  if (k) return {};
6225
6225
  const ke = { 1: "一级", 2: "二级", 3: "三级", 4: "四级" };
6226
- h.value = L.map((xt) => ({
6227
- id: `${xt}`,
6228
- name: ke[xt] ? ke[xt] : xt
6226
+ h.value = L.map((Rt) => ({
6227
+ id: `${Rt}`,
6228
+ name: ke[Rt] ? ke[Rt] : Rt
6229
6229
  })), L.length && !i.value.eventLevelId && (i.value.eventLevelId = h.value[0].id, ro());
6230
6230
  }, ro = async () => {
6231
6231
  const M = {
@@ -6309,7 +6309,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6309
6309
  "destroy-on-close": ""
6310
6310
  }, {
6311
6311
  header: x(() => [
6312
- Ae(
6312
+ ye(
6313
6313
  se(m(N)("告警处理").value),
6314
6314
  1
6315
6315
  /* TEXT */
@@ -6322,7 +6322,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6322
6322
  onClick: ds
6323
6323
  }, {
6324
6324
  default: x(() => [
6325
- Ae(
6325
+ ye(
6326
6326
  se(m(N)("取消").value),
6327
6327
  1
6328
6328
  /* TEXT */
@@ -6336,7 +6336,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6336
6336
  onClick: k[29] || (k[29] = (L) => so(1))
6337
6337
  }, {
6338
6338
  default: x(() => [
6339
- Ae(
6339
+ ye(
6340
6340
  se(m(N)("结束处理").value),
6341
6341
  1
6342
6342
  /* TEXT */
@@ -6351,7 +6351,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6351
6351
  onClick: k[30] || (k[30] = (L) => so(2))
6352
6352
  }, {
6353
6353
  default: x(() => [
6354
- Ae(
6354
+ ye(
6355
6355
  se(m(N)("继续处理").value),
6356
6356
  1
6357
6357
  /* TEXT */
@@ -6482,11 +6482,11 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6482
6482
  modelValue: S.value,
6483
6483
  "onUpdate:modelValue": k[12] || (k[12] = (L) => S.value = L),
6484
6484
  checkboxType: "default",
6485
- onChange: Rt,
6485
+ onChange: pe,
6486
6486
  size: "middle"
6487
6487
  }, {
6488
6488
  default: x(() => [
6489
- Ae(
6489
+ ye(
6490
6490
  se(m(N)("告警对象位置").value),
6491
6491
  1
6492
6492
  /* TEXT */
@@ -6524,11 +6524,11 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6524
6524
  modelValue: D.value,
6525
6525
  "onUpdate:modelValue": k[15] || (k[15] = (L) => D.value = L),
6526
6526
  checkboxType: "default",
6527
- onChange: de,
6527
+ onChange: ue,
6528
6528
  size: "middle"
6529
6529
  }, {
6530
6530
  default: x(() => [
6531
- Ae(
6531
+ ye(
6532
6532
  se(m(N)("告警对象").value),
6533
6533
  1
6534
6534
  /* TEXT */
@@ -6576,7 +6576,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6576
6576
  "get-popup-container": z,
6577
6577
  marginBottom: "30px",
6578
6578
  marginRight: "0",
6579
- onChange: k[21] || (k[21] = (L) => ze("eventTypeId"))
6579
+ onChange: k[21] || (k[21] = (L) => cn("eventTypeId"))
6580
6580
  }, null, 8, ["label", "modelValue", "error", "options"])) : j("v-if", !0),
6581
6581
  i.value.processTypeId == "createcontingency" ? ($(), V(m(Me), {
6582
6582
  key: 7,
@@ -6594,7 +6594,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6594
6594
  "get-popup-container": z,
6595
6595
  marginBottom: "30px",
6596
6596
  marginRight: "0",
6597
- onChange: k[24] || (k[24] = (L) => ze("eventLevelId"))
6597
+ onChange: k[24] || (k[24] = (L) => cn("eventLevelId"))
6598
6598
  }, null, 8, ["label", "modelValue", "error", "options"])) : j("v-if", !0),
6599
6599
  i.value.processTypeId == "createcontingency" ? ($(), V(m(Me), {
6600
6600
  key: 8,
@@ -6626,7 +6626,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6626
6626
  "border-type": "underline",
6627
6627
  size: "small",
6628
6628
  "get-popup-container": z,
6629
- onChange: k[26] || (k[26] = (L) => ze("interval")),
6629
+ onChange: k[26] || (k[26] = (L) => cn("interval")),
6630
6630
  placeholder: "请选择"
6631
6631
  }, null, 8, ["modelValue", "options"])
6632
6632
  ])
@@ -6653,9 +6653,9 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6653
6653
  ]));
6654
6654
  }
6655
6655
  }), vh = /* @__PURE__ */ be(mh, [["__scopeId", "data-v-1ecf3324"]]), Ah = (t, e, n) => ({
6656
- handleAlarmVue: () => fe(vh, {
6656
+ handleAlarmVue: () => he(vh, {
6657
6657
  handerIds: e.value,
6658
- projectId: Yt().id,
6658
+ projectId: Zt().id,
6659
6659
  ref: t,
6660
6660
  onEmitFn: (r, s) => {
6661
6661
  }
@@ -6773,7 +6773,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6773
6773
  size: "middle"
6774
6774
  }, {
6775
6775
  default: x(() => [
6776
- Ae(
6776
+ ye(
6777
6777
  se(m(N)("设备详情").value),
6778
6778
  1
6779
6779
  /* TEXT */
@@ -6790,7 +6790,7 @@ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.g
6790
6790
  size: "middle"
6791
6791
  }, {
6792
6792
  default: x(() => [
6793
- Ae(
6793
+ ye(
6794
6794
  se(m(N)("处理").value),
6795
6795
  1
6796
6796
  /* TEXT */
@@ -6842,7 +6842,7 @@ const Rh = () => {
6842
6842
  var D;
6843
6843
  const T = [];
6844
6844
  T.push({ alarmId: I.recordId }), r.value = T, (D = n.value) == null || D.open();
6845
- }, { entryApp: f } = qt.hooks.useEntryApp(), d = (I) => {
6845
+ }, { entryApp: f } = zt.hooks.useEntryApp(), d = (I) => {
6846
6846
  fr(I.equipmentCode, I.equipmentPanelCode);
6847
6847
  }, { handleAlarmVue: h } = Ah(n, r), b = async () => {
6848
6848
  var D;
@@ -6856,12 +6856,12 @@ const Rh = () => {
6856
6856
  }, p = (I) => {
6857
6857
  if (!I) return;
6858
6858
  const T = Bh();
6859
- Wt.open({
6859
+ Vt.open({
6860
6860
  key: T,
6861
6861
  class: "alarm-notify",
6862
6862
  message: N("新告警").value,
6863
6863
  placement: "bottomRight",
6864
- description: fe(Mh, {
6864
+ description: he(Mh, {
6865
6865
  msgItem: I,
6866
6866
  alarmhandle: a.value,
6867
6867
  onHanderDetail: d,
@@ -6944,8 +6944,8 @@ const Rh = () => {
6944
6944
  setup(t) {
6945
6945
  const { alarmSocket: e, creatAlarmSocket: n, audioObj: o, audioAlarmRef: r, handleAlarmVue: s } = Rh();
6946
6946
  return Ve(async () => {
6947
- await en(), n();
6948
- }), Zt(() => {
6947
+ await Yt(), n();
6948
+ }), Xt(() => {
6949
6949
  e.value && e.value.disconnect(), e.value = null;
6950
6950
  }), (a, c) => ($(), W(
6951
6951
  De,
@@ -6969,7 +6969,7 @@ const Rh = () => {
6969
6969
  }), jh = { class: "das-main-app-container" }, Nh = /* @__PURE__ */ ne({
6970
6970
  __name: "index",
6971
6971
  setup(t) {
6972
- const { isFullscreen: e } = ht(), n = H(() => !e.value), o = H(() => ce.excludeRoutes), r = H(() => ce.routeKeepAliveVisible), s = H(() => ({ mode: Gt.value === 1 ? "vertical" : "inline" })), { initNextTick: a } = ip(), { innerPage: c, commandList: l, initNextTick: i } = cp(a);
6972
+ const { isFullscreen: e } = ht(), n = H(() => !e.value), o = H(() => ce.excludeRoutes), r = H(() => ce.routeKeepAliveVisible), s = H(() => ({ mode: Kt.value === 1 ? "vertical" : "inline" })), { initNextTick: a } = ip(), { innerPage: c, commandList: l, initNextTick: i } = cp(a);
6973
6973
  hp(c, a, i), fp(), dp(), Ap();
6974
6974
  const { $changePwd: u, $personSetDialog: f } = gp(), { changeEnterprisesVisible: d, userId: h, tenantId: b, changeEnterprise: y } = ts();
6975
6975
  up();
@@ -7027,15 +7027,15 @@ E("@das-fed/web");
7027
7027
  const Uh = [
7028
7028
  {
7029
7029
  path: je,
7030
- component: () => import("./index-2T_H15dv.js")
7030
+ component: () => import("./index-XC7gVyAV.js")
7031
7031
  },
7032
7032
  {
7033
7033
  path: ct,
7034
- component: () => import("./index-CjVC66ff.js")
7034
+ component: () => import("./index-DJ8zDx6p.js")
7035
7035
  },
7036
7036
  {
7037
7037
  path: Cr,
7038
- component: () => import("./index-DPpRTnrf.js")
7038
+ component: () => import("./index-DKcYM4y1.js")
7039
7039
  }
7040
7040
  ], Yg = {
7041
7041
  routes: Uh,
@@ -7045,7 +7045,7 @@ const Uh = [
7045
7045
  },
7046
7046
  hooks: {
7047
7047
  useEntryApp: vt,
7048
- useEntryMenu: rn
7048
+ useEntryMenu: on
7049
7049
  }
7050
7050
  };
7051
7051
  export {
@@ -7062,7 +7062,7 @@ export {
7062
7062
  qo as b,
7063
7063
  dt as c,
7064
7064
  En as d,
7065
- Ut as e,
7065
+ Ht as e,
7066
7066
  Rg as f,
7067
7067
  ga as g,
7068
7068
  ma as h,
@@ -7070,7 +7070,7 @@ export {
7070
7070
  jg as j,
7071
7071
  Ng as k,
7072
7072
  ce as l,
7073
- Jt as m,
7073
+ qt as m,
7074
7074
  Hg as n,
7075
7075
  Ug as o,
7076
7076
  wa as p,