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

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,12 +1,12 @@
1
- import { defineComponent as pe, computed as Ce, openBlock as N, createBlock as V, unref as v, mergeProps as Ir, withCtx as M, renderSlot as $e, createVNode as R, getCurrentScope as Er, onScopeDispose as Sr, getCurrentInstance as Tr, onMounted as Qe, nextTick as Fe, ref as E, watch as re, reactive as yo, createElementVNode as x, createTextVNode as ue, createElementBlock as de, Fragment as We, renderList as _o, withDirectives as kr, toDisplayString as Z, createCommentVNode as U, h as fe, render as mt, onBeforeUnmount as It, useCssVars as Pr, normalizeClass as Br, withModifiers as te, toRefs as Or, normalizeStyle as Sn, isRef as Dr } from "vue";
1
+ import { defineComponent as pe, computed as Ce, openBlock as N, createBlock as V, unref as v, mergeProps as Ir, withCtx as M, renderSlot as $e, createVNode as R, getCurrentScope as Er, onScopeDispose as Sr, getCurrentInstance as Tr, onMounted as Qe, nextTick as Fe, ref as E, watch as re, reactive as yo, createElementVNode as x, createTextVNode as ue, createElementBlock as de, Fragment as We, renderList as _o, withDirectives as kr, toDisplayString as X, createCommentVNode as U, h as fe, render as vt, onBeforeUnmount as Et, useCssVars as Pr, normalizeClass as Br, withModifiers as te, toRefs as Or, normalizeStyle as Sn, isRef as Dr } from "vue";
2
2
  import { i18n as Q } from "@das-fed/web/packages/i18n/index";
3
3
  import { DasWebLayout as $r, DasWebNav as Lr, DasWebMenu as xr, DasWebTabs as Mr, layout as D } from "@das-fed/web/packages/layout/index";
4
4
  import { DasChangePwdRef as Rr, DasChangePwd as Qr } from "@das-fed/ui/packages/business-components/change-pwd/index";
5
5
  import { DasChangeEnterprises as jr } from "@das-fed/ui/packages/business-components/change-enterprises/index";
6
6
  import { pureImageSrc as Xt } from "@das-fed/utils/pure-image-src";
7
- import { DasNotification as vt } from "@das-fed/ui/packages/components/notification/index";
7
+ import { DasNotification as yt } from "@das-fed/ui/packages/components/notification/index";
8
8
  import { flatTree as ye, filterTreeArray as Hr, isEmpty as Nr, treeFind as Tn, updateFavIcon as Ur, dateFormat as Fr, runPromiseByQueue as Jr, objEqual as Nt, setShowWatermark as Ut, setShowLayout as Ft, getUrlParams as Wr, withToken as zr } from "@das-fed/utils/common-tools";
9
- import { getSubApps as J, getTabInfo as ce, getPersonalInfo as Et, getTenantInfo as Zt, getProjectInfo as Pe, getToken as Yt, getUserInfo as wo, getMenus as yt } from "@das-fed/utils/common-info";
9
+ import { getSubApps as J, getTabInfo as ce, getPersonalInfo as St, getTenantInfo as Zt, getProjectInfo as Pe, getToken as Yt, getUserInfo as wo, getMenus as _t } from "@das-fed/utils/common-info";
10
10
  import { setProcessEngineProject as bo, setProcessEngineToken as Co } from "@das-fed/utils/process-engine-info";
11
11
  import { oauthServer as Io, justauth as en, enterpriseright as tn, iotModules as Vr, portal as Be, systemConfiguration as nn } from "@das-fed/utils/api-services/modules";
12
12
  import { createService as je } from "@das-fed/utils/create-api-service";
@@ -26,8 +26,8 @@ import { setThemeRule as ts } from "@das-fed/web/packages/theme/index";
26
26
  import { devicePanelShow as So, closeDevicePanel as ns, alarmDevicePanelShow as os, closeAlarmPanel as rs } from "@das-fed/ui/packages/business-components/device-panel/index";
27
27
  import { DasIcon as De, DasAutoRegisterIcon as To } from "@das-fed/ui/packages/components/icon/index";
28
28
  import { socketService as an } from "@das-fed/utils/webSocket-service";
29
- import { userInfoNextTick as ss, tokenNextTick as St } from "@das-fed/utils/nextTiken";
30
- import { mainAppFramework as _t } from "@das-fed/web/packages/main-app-framework/index";
29
+ import { userInfoNextTick as ss, tokenNextTick as Tt } from "@das-fed/utils/nextTiken";
30
+ import { mainAppFramework as wt } from "@das-fed/web/packages/main-app-framework/index";
31
31
  import { DasTooltip as ae } from "@das-fed/ui/packages/components/tooltip/index";
32
32
  import { DasLivePlayer as is } from "@das-fed/ui/packages/components/live-player/index";
33
33
  import { DasSpin as ko } from "@das-fed/ui/packages/components/spin/index";
@@ -405,7 +405,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
405
405
  class: "desc-item"
406
406
  }, [
407
407
  ue(
408
- Z(r),
408
+ X(r),
409
409
  1
410
410
  /* TEXT */
411
411
  )
@@ -428,9 +428,9 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
428
428
  const r = document.createElement("div");
429
429
  r.setAttribute("id", "entry-app-dialog"), document.body.appendChild(r);
430
430
  const a = fe(Ls, { title: n, content: e, desc: t, closeCallback: () => {
431
- mt(null, r), document.body.removeChild(r), o(null);
431
+ vt(null, r), document.body.removeChild(r), o(null);
432
432
  } });
433
- mt(a, r);
433
+ vt(a, r);
434
434
  });
435
435
  ts(Bs);
436
436
  const xs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAdSSURBVHic7d0xiltXAIZRORG4SuvimZDO07qdUpBdZAHGpfECQhZgXIYsILsITDnttDOdGfQKt6mmCE4tMgLDe5/uWDmnlBD8jeDjwuU+2+/3XzYAAKHvRg8AAM6f4AAAcoIDAMgJDgAgJzgAgNz22Be3n/4+5Q5O7OKnHx79fJqmEy8B4JzM8/zo5044AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyAkOACAnOACAnOAAAHKCAwDIHX1L5WvsLi/W2sGKrq5vR08AgANOOACAnOAAAHKCAwDICQ4AICc4AICc4AAAcoIDAMgJDgAgJzgAgJzgAAByggMAyC16S8WbHQDA13DCAQDkBAcAkBMcAEBOcAAAOcEBAOQW3VLh/MzzPHoCAGfICQcAkBMcAEBOcAAAOcEBAOQEBwCQc0uFA9M0jZ4AwDfs2G1HJxwAQE5wAAA5wQEA5AQHAJATHABAbtEtld3lxVo7WNHV9e3oCQBwwAkHAJATHABATnAAADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAC5RW+peLPj2/X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AADnBAQDkBAcAkBMcAEBOcAAAOcEBAOQEBwCQExwAQE5wAAA5wQEA5AQHAJATHABATnAAADnBAQDknux2uy+jRwAA582FAwDICQ4AICc4AICc4AAAcoIDAMh9BZ3dS+/izVuGAAAAAElFTkSuQmCC", Rs = (n = {}) => {
@@ -557,7 +557,7 @@ const xs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
557
557
  if (e.exitConfirmPages.includes(t) && !window.confirm("切换后已录入的数据将会丢失且不可恢复,确定切换?"))
558
558
  throw new Error("取消切换");
559
559
  }
560
- }, gt = (n, e) => {
560
+ }, At = (n, e) => {
561
561
  if (!e || !e.length) return;
562
562
  const t = JSON.parse(sessionStorage.getItem(n) || "{}");
563
563
  if (t && JSON.stringify(t) !== "{}" && t != null && t.closeTabPageConfirm && t.closeTabPageConfirm.length) {
@@ -578,7 +578,7 @@ const xs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
578
578
  return n ? { tenantConfig: null } : (Qs(e), { tenantConfig: e });
579
579
  }, oi = async () => {
580
580
  const [n, e] = await ei().run({
581
- userId: Et().id,
581
+ userId: St().id,
582
582
  pageSize: 20,
583
583
  pageIndex: 1
584
584
  });
@@ -594,7 +594,7 @@ function ai() {
594
594
  function Qo(n, e) {
595
595
  return n === e || n !== n && e !== e;
596
596
  }
597
- function Tt(n, e) {
597
+ function kt(n, e) {
598
598
  for (var t = n.length; t--; )
599
599
  if (Qo(n[t][0], e))
600
600
  return t;
@@ -602,21 +602,21 @@ function Tt(n, e) {
602
602
  }
603
603
  var ci = Array.prototype, li = ci.splice;
604
604
  function ui(n) {
605
- var e = this.__data__, t = Tt(e, n);
605
+ var e = this.__data__, t = kt(e, n);
606
606
  if (t < 0)
607
607
  return !1;
608
608
  var o = e.length - 1;
609
609
  return t == o ? e.pop() : li.call(e, t, 1), --this.size, !0;
610
610
  }
611
611
  function di(n) {
612
- var e = this.__data__, t = Tt(e, n);
612
+ var e = this.__data__, t = kt(e, n);
613
613
  return t < 0 ? void 0 : e[t][1];
614
614
  }
615
615
  function pi(n) {
616
- return Tt(this.__data__, n) > -1;
616
+ return kt(this.__data__, n) > -1;
617
617
  }
618
618
  function fi(n, e) {
619
- var t = this.__data__, o = Tt(t, n);
619
+ var t = this.__data__, o = kt(t, n);
620
620
  return o < 0 ? (++this.size, t.push([n, e])) : t[o][1] = e, this;
621
621
  }
622
622
  function Se(n) {
@@ -761,22 +761,22 @@ function ta(n) {
761
761
  var e = typeof n;
762
762
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? n !== "__proto__" : n === null;
763
763
  }
764
- function kt(n, e) {
764
+ function Pt(n, e) {
765
765
  var t = n.__data__;
766
766
  return ta(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
767
767
  }
768
768
  function na(n) {
769
- var e = kt(this, n).delete(n);
769
+ var e = Pt(this, n).delete(n);
770
770
  return this.size -= e ? 1 : 0, e;
771
771
  }
772
772
  function oa(n) {
773
- return kt(this, n).get(n);
773
+ return Pt(this, n).get(n);
774
774
  }
775
775
  function ra(n) {
776
- return kt(this, n).has(n);
776
+ return Pt(this, n).has(n);
777
777
  }
778
778
  function sa(n, e) {
779
- var t = kt(this, n), o = t.size;
779
+ var t = Pt(this, n), o = t.size;
780
780
  return t.set(n, e), this.size += t.size == o ? 0 : 1, this;
781
781
  }
782
782
  function Ze(n) {
@@ -836,7 +836,7 @@ function Fo(n, e, t) {
836
836
  var o = n[e];
837
837
  (!(ua.call(n, e) && Qo(o, t)) || t === void 0 && !(e in n)) && Uo(n, e, t);
838
838
  }
839
- function Pt(n, e, t, o) {
839
+ function Bt(n, e, t, o) {
840
840
  var r = !t;
841
841
  t || (t = {});
842
842
  for (var s = -1, a = e.length; ++s < a; ) {
@@ -928,7 +928,7 @@ function fn(n) {
928
928
  return Xo(n) ? Ko(n) : nc(n);
929
929
  }
930
930
  function oc(n, e) {
931
- return n && Pt(e, fn(e), n);
931
+ return n && Bt(e, fn(e), n);
932
932
  }
933
933
  function rc(n) {
934
934
  var e = [];
@@ -950,7 +950,7 @@ function hn(n) {
950
950
  return Xo(n) ? Ko(n, !0) : ac(n);
951
951
  }
952
952
  function cc(n, e) {
953
- return n && Pt(e, hn(e), n);
953
+ return n && Bt(e, hn(e), n);
954
954
  }
955
955
  var Zo = typeof exports == "object" && exports && !exports.nodeType && exports, Wn = Zo && typeof module == "object" && module && !module.nodeType && module, lc = Wn && Wn.exports === Zo, zn = lc ? we.Buffer : void 0, Vn = zn ? zn.allocUnsafe : void 0;
956
956
  function uc(n, e) {
@@ -981,7 +981,7 @@ var fc = Object.prototype, hc = fc.propertyIsEnumerable, qn = Object.getOwnPrope
981
981
  }));
982
982
  } : Yo;
983
983
  function gc(n, e) {
984
- return Pt(n, gn(n), e);
984
+ return Bt(n, gn(n), e);
985
985
  }
986
986
  function er(n, e) {
987
987
  for (var t = -1, o = e.length, r = n.length; ++t < o; )
@@ -994,7 +994,7 @@ var tr = Go(Object.getPrototypeOf, Object), Ac = Object.getOwnPropertySymbols, n
994
994
  return e;
995
995
  } : Yo;
996
996
  function mc(n, e) {
997
- return Pt(n, nr(n), e);
997
+ return Bt(n, nr(n), e);
998
998
  }
999
999
  function or(n, e, t) {
1000
1000
  var o = e(n);
@@ -1112,7 +1112,7 @@ function il(n) {
1112
1112
  var so = Ve && Ve.isSet, al = so ? dn(so) : il, cl = 1, ll = 2, ul = 4, rr = "[object Arguments]", dl = "[object Array]", pl = "[object Boolean]", fl = "[object Date]", hl = "[object Error]", sr = "[object Function]", gl = "[object GeneratorFunction]", Al = "[object Map]", ml = "[object Number]", ir = "[object Object]", vl = "[object RegExp]", yl = "[object Set]", _l = "[object String]", wl = "[object Symbol]", bl = "[object WeakMap]", Cl = "[object ArrayBuffer]", Il = "[object DataView]", El = "[object Float32Array]", Sl = "[object Float64Array]", Tl = "[object Int8Array]", kl = "[object Int16Array]", Pl = "[object Int32Array]", Bl = "[object Uint8Array]", Ol = "[object Uint8ClampedArray]", Dl = "[object Uint16Array]", $l = "[object Uint32Array]", W = {};
1113
1113
  W[rr] = W[dl] = W[Cl] = W[Il] = W[pl] = W[fl] = W[El] = W[Sl] = W[Tl] = W[kl] = W[Pl] = W[Al] = W[ml] = W[ir] = W[vl] = W[yl] = W[_l] = W[wl] = W[Bl] = W[Ol] = W[Dl] = W[$l] = !0;
1114
1114
  W[hl] = W[sr] = W[bl] = !1;
1115
- function At(n, e, t, o, r, s) {
1115
+ function mt(n, e, t, o, r, s) {
1116
1116
  var a, l = e & cl, c = e & ll, i = e & ul;
1117
1117
  if (a !== void 0)
1118
1118
  return a;
@@ -1140,34 +1140,34 @@ function At(n, e, t, o, r, s) {
1140
1140
  if (h)
1141
1141
  return h;
1142
1142
  s.set(n, a), al(n) ? n.forEach(function(f) {
1143
- a.add(At(f, e, t, f, n, s));
1143
+ a.add(mt(f, e, t, f, n, s));
1144
1144
  }) : rl(n) && n.forEach(function(f, d) {
1145
- a.set(d, At(f, e, t, d, n, s));
1145
+ a.set(d, mt(f, e, t, d, n, s));
1146
1146
  });
1147
1147
  var S = i ? c ? yc : vc : c ? hn : fn, w = u ? void 0 : S(n);
1148
1148
  return ca(w || n, function(f, d) {
1149
- w && (d = f, f = n[d]), Fo(a, d, At(f, e, t, d, n, s));
1149
+ w && (d = f, f = n[d]), Fo(a, d, mt(f, e, t, d, n, s));
1150
1150
  }), a;
1151
1151
  }
1152
1152
  var Ll = 1, xl = 4;
1153
1153
  function qe(n) {
1154
- return At(n, Ll | xl);
1154
+ return mt(n, Ll | xl);
1155
1155
  }
1156
- const wt = (n, e = "") => {
1156
+ const bt = (n, e = "") => {
1157
1157
  for (let t of n)
1158
1158
  if (!(t != null && t.disable) && !(t != null && t.expired))
1159
1159
  if (e) {
1160
1160
  if (t.routeUrl && t.code === e)
1161
1161
  return t;
1162
1162
  if (t.children && t.children.length) {
1163
- const o = wt(t.children, e);
1163
+ const o = bt(t.children, e);
1164
1164
  if (o) return o;
1165
1165
  }
1166
1166
  } else {
1167
1167
  if (t.routeUrl)
1168
1168
  return t;
1169
1169
  if (t.children && t.children.length) {
1170
- const o = wt(t.children, e);
1170
+ const o = bt(t.children, e);
1171
1171
  if (o) return o;
1172
1172
  }
1173
1173
  }
@@ -1301,7 +1301,7 @@ const wt = (n, e = "") => {
1301
1301
  query: { ...r.query, app: l }
1302
1302
  };
1303
1303
  }
1304
- let A = wt(c, t);
1304
+ let A = bt(c, t);
1305
1305
  if (!A) {
1306
1306
  if (!s || !a)
1307
1307
  return { menuConfig: c, currentApp: null, currentMenu: null, query: { ...r.query, app: l } };
@@ -1388,14 +1388,14 @@ const wt = (n, e = "") => {
1388
1388
  }, cr = E(null), eu = async () => {
1389
1389
  const [n, e] = await Gl().run();
1390
1390
  return n ? { homeConfig: null } : (e && (js(e), cr.value = e), { homeConfig: e });
1391
- }, bt = E(1), lr = async () => {
1391
+ }, Ct = E(1), lr = async () => {
1392
1392
  const [n, e] = await Xl().run();
1393
- return n ? { personalMenuConfig: null } : (bt.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
1393
+ return n ? { personalMenuConfig: null } : (Ct.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
1394
1394
  }, tu = Be.post("/menu/personal-setting"), nu = { class: "preson-style-drawer" }, ou = { class: "preson-style-container" }, ru = { class: "title" }, su = { class: "content" }, iu = { class: "item-content" }, au = ["src"], cu = { class: "item-content" }, lu = ["src"], uu = { class: "preson-style-footer" }, du = /* @__PURE__ */ pe({
1395
1395
  __name: "index",
1396
1396
  setup(n, { expose: e }) {
1397
1397
  const t = E(!1), o = E(!1), r = E(!1), s = E(!1), a = () => {
1398
- o.value = bt.value === 1, r.value = bt.value === 2, t.value = !0;
1398
+ o.value = Ct.value === 1, r.value = Ct.value === 2, t.value = !0;
1399
1399
  }, l = (i) => {
1400
1400
  i === 1 ? r.value = !1 : o.value = !1;
1401
1401
  }, c = async () => {
@@ -1445,7 +1445,7 @@ const wt = (n, e = "") => {
1445
1445
  x(
1446
1446
  "p",
1447
1447
  ru,
1448
- Z(v(Q)("侧边菜单栏").value),
1448
+ X(v(Q)("侧边菜单栏").value),
1449
1449
  1
1450
1450
  /* TEXT */
1451
1451
  ),
@@ -1464,7 +1464,7 @@ const wt = (n, e = "") => {
1464
1464
  }, {
1465
1465
  default: M(() => [
1466
1466
  ue(
1467
- Z(v(Q)("弹出式菜单栏").value),
1467
+ X(v(Q)("弹出式菜单栏").value),
1468
1468
  1
1469
1469
  /* TEXT */
1470
1470
  )
@@ -1487,7 +1487,7 @@ const wt = (n, e = "") => {
1487
1487
  }, {
1488
1488
  default: M(() => [
1489
1489
  ue(
1490
- Z(v(Q)("内嵌式菜单栏").value),
1490
+ X(v(Q)("内嵌式菜单栏").value),
1491
1491
  1
1492
1492
  /* TEXT */
1493
1493
  )
@@ -1510,7 +1510,7 @@ const wt = (n, e = "") => {
1510
1510
  Hs(i), Ur(i);
1511
1511
  }, t = async () => {
1512
1512
  const [a, l] = await hu().run({ userId: wo().id });
1513
- a || !l || JSON.stringify(l) === "{}" || (vt.open({
1513
+ a || !l || JSON.stringify(l) === "{}" || (yt.open({
1514
1514
  key: "loginTip",
1515
1515
  message: "上次登录信息",
1516
1516
  placement: "bottomRight",
@@ -1589,7 +1589,7 @@ const wt = (n, e = "") => {
1589
1589
  // 树打平之后保留的数据
1590
1590
  filterFlatCondition: (C) => C.type === 7
1591
1591
  }), D.nav.setProjects(f || []), d && D.nav.setActiveProject(d));
1592
- const T = Et() ?? {}, B = T != null && T.headPicture ? Xt(T.headPicture) : void 0;
1592
+ const T = St() ?? {}, B = T != null && T.headPicture ? Xt(T.headPicture) : void 0;
1593
1593
  c.value = [...ps], d && d.id !== 0 ? await o("personCenter", "", "/userInfo") || (c.value = c.value.filter((P) => P.value !== "1")) : c.value = c.value.filter((C) => C.value !== "1"), D.nav.setUserInfo({ headPicture: B, commandList: c.value }), D.nav.setSearchConfig({
1594
1594
  getHistoryList: r,
1595
1595
  getSearchList: s
@@ -1620,10 +1620,10 @@ const wt = (n, e = "") => {
1620
1620
  desc: t.menuExpirationExpiredInfo
1621
1621
  };
1622
1622
  }, vu = () => {
1623
- const { entryMenu: n } = Bt();
1623
+ const { entryMenu: n } = Ot();
1624
1624
  D.menu.addEventListener("onItemClick", async (e) => {
1625
1625
  ee.innerSet = !0;
1626
- const t = ye(yt(e.applicationCode)).filter((o) => !o.disable && !o.expired).find((o) => o.code === e.code);
1626
+ const t = ye(_t(e.applicationCode)).filter((o) => !o.disable && !o.expired).find((o) => o.code === e.code);
1627
1627
  if (!(t && !t.routeUrl)) {
1628
1628
  if (!t) {
1629
1629
  const { title: o, content: r, desc: s } = await vn(t);
@@ -1647,7 +1647,7 @@ const wt = (n, e = "") => {
1647
1647
  const s = J();
1648
1648
  if (!((i = s.subAppList) != null && i.length) || s.subAppList.findIndex((u) => u.code === r.code) === -1) return;
1649
1649
  const c = (ce().tabMap[r.code] ?? []).map((u) => u.code);
1650
- c && c.length && gt(r.code, c), e(r);
1650
+ c && c.length && At(r.code, c), e(r);
1651
1651
  });
1652
1652
  const { enter: o } = lt();
1653
1653
  return D.nav.addEventListener("fullScreenHandle", o), {};
@@ -1670,9 +1670,9 @@ const wt = (n, e = "") => {
1670
1670
  B && JSON.stringify(B) !== "{}" && (r.value = ($ = B[_][T]) != null && $.fontColor ? B[_][T].fontColor : e, s.value = (H = B[_][T]) != null && H.backgroundColor ? B[_][T].backgroundColor : t, a.value = (F = B[_][T]) != null && F.backgroundColor ? B[_][T].backgroundColor : o);
1671
1671
  }
1672
1672
  );
1673
- const { deleteApp: i } = et(), { entryMenu: u } = Bt(), { reloadRoute: A, unloadRoute: p } = ur(), h = (d) => {
1673
+ const { deleteApp: i } = et(), { entryMenu: u } = Ot(), { reloadRoute: A, unloadRoute: p } = ur(), h = (d) => {
1674
1674
  var T;
1675
- const m = ye(yt(d.applicationCode)).find((B) => B.code === d.code), _ = (((T = ce().tabMap) == null ? void 0 : T[d.applicationCode]) ?? []).find((B) => B.code === d.code);
1675
+ const m = ye(_t(d.applicationCode)).find((B) => B.code === d.code), _ = (((T = ce().tabMap) == null ? void 0 : T[d.applicationCode]) ?? []).find((B) => B.code === d.code);
1676
1676
  u({ currentMenu: m, route: { path: _.path, query: _.query ?? {} } });
1677
1677
  }, S = (d) => {
1678
1678
  if (!d || !d.length) return;
@@ -1723,7 +1723,7 @@ const wt = (n, e = "") => {
1723
1723
  ce().currentCode !== d.currentCode && (ee.innerSet = !0, h(d));
1724
1724
  }), D.tab.addEventListener("onItemRemove", (d) => {
1725
1725
  const m = ce(), y = J().currentSubAppCode ?? "";
1726
- m.tabMap[y].findIndex((B) => B.code === d.code) !== -1 && (gt(d.applicationCode, [d.code]), w({ type: "me", data: d }));
1726
+ m.tabMap[y].findIndex((B) => B.code === d.code) !== -1 && (At(d.applicationCode, [d.code]), w({ type: "me", data: d }));
1727
1727
  }), D.tab.addEventListener("onMenuClick", (d) => {
1728
1728
  let m = [];
1729
1729
  const y = ce().tabMap[d.applicationCode] ?? [];
@@ -1731,14 +1731,14 @@ const wt = (n, e = "") => {
1731
1731
  const _ = y.findIndex((T) => T.code === d.data.value);
1732
1732
  m = y.slice(_ + 1);
1733
1733
  }
1734
- d.type.key === "other" && (m = y.filter((_) => _.code !== d.data.value)), d.type.key === "all" && (m = [...y]), gt(
1734
+ d.type.key === "other" && (m = y.filter((_) => _.code !== d.data.value)), d.type.key === "all" && (m = [...y]), At(
1735
1735
  d.applicationCode,
1736
1736
  m.map((_) => _.code)
1737
1737
  ), w({ type: d.type.key, data: d.data });
1738
1738
  }), D.tab.addEventListener("onPageRefresh", async (d) => {
1739
1739
  if (!d || d.path === Je) return;
1740
- gt(d.applicationCode, [d.code]);
1741
- const m = ye(yt(d.applicationCode)).find((T) => T.code === d.code);
1740
+ At(d.applicationCode, [d.code]);
1741
+ const m = ye(_t(d.applicationCode)).find((T) => T.code === d.code);
1742
1742
  if (!m) return;
1743
1743
  if (m.routeUrl !== d.path) {
1744
1744
  A([d.path]), p([`/${d.applicationPath}${m.routeUrl}`]), await u({ currentMenu: m });
@@ -1771,7 +1771,7 @@ const wt = (n, e = "") => {
1771
1771
  n(), window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`);
1772
1772
  });
1773
1773
  }, et = () => {
1774
- const n = Ge(), { entryMenu: e } = Bt(), { unloadRoute: t } = ur();
1774
+ const n = Ge(), { entryMenu: e } = Ot(), { unloadRoute: t } = ur();
1775
1775
  let { mainAppName: o = "", microAppName: r = "", microApps: s = [] } = He();
1776
1776
  !o && r && (s = [{ name: r }]);
1777
1777
  const a = s.map((p) => p.name), l = () => {
@@ -1785,15 +1785,15 @@ const wt = (n, e = "") => {
1785
1785
  if (B) return !1;
1786
1786
  f = _ ?? [], d = T ?? [];
1787
1787
  }
1788
- if (f.length ? wt(f) || (await rt({ title: "提示", content: "此应用菜单已过期/已收回/配置有误<br/>无法使用" }), m = !0) : (await rt({ title: "提示", content: "此应用未配置菜单/无菜单权限<br/>无法使用" }), m = !0), m) return !1;
1788
+ if (f.length ? bt(f) || (await rt({ title: "提示", content: "此应用菜单已过期/已收回/配置有误<br/>无法使用" }), m = !0) : (await rt({ title: "提示", content: "此应用未配置菜单/无菜单权限<br/>无法使用" }), m = !0), m) return !1;
1789
1789
  const y = { ...p, menus: f, originalMenus: d };
1790
1790
  return ge([{ key: "subAppList", value: y }]), !0;
1791
1791
  }, i = async (p) => {
1792
- var H, F, ie, Te;
1792
+ var H, F, ie, Te, ft;
1793
1793
  const { microApp: h = null, menuCode: S = "", menuPath: w = "", route: f = {} } = p;
1794
1794
  let d = f;
1795
1795
  if (!h && w) {
1796
- if (l(), !(a && a.find((ne) => w.startsWith("/" + ne) || w.startsWith(ne)))) return;
1796
+ if (l(), !(a && a.find((Y) => w.startsWith("/" + Y) || w.startsWith(Y)))) return;
1797
1797
  await n.push({ path: w, query: d.query });
1798
1798
  return;
1799
1799
  }
@@ -1804,25 +1804,25 @@ const wt = (n, e = "") => {
1804
1804
  if (h.routeUrl && !a.includes(h.routeUrl)) {
1805
1805
  l();
1806
1806
  const oe = ((ie = J()) == null ? void 0 : ie.subAppList) ?? [];
1807
- if ((oe == null ? void 0 : oe.find((G) => G.code === h.code)) || oe == null || oe.push(h), ge([
1807
+ if ((oe == null ? void 0 : oe.find((ne) => ne.code === h.code)) || oe == null || oe.push(h), ge([
1808
1808
  { key: "currentSubApp", value: h },
1809
1809
  { key: "currentSubAppCode", value: h.code },
1810
1810
  { key: "subAppList", value: oe }
1811
- ]), oe.forEach((G) => {
1812
- const Oe = { ...G, value: G.code, label: G.name };
1811
+ ]), oe.forEach((ne) => {
1812
+ const Oe = { ...ne, value: ne.code, label: ne.name };
1813
1813
  D.nav.appendItem(Oe);
1814
1814
  }), D.nav.setActiveItem(h.code), h.routeUrl.includes("entrance=main")) {
1815
1815
  await n.push({ path: h.routeUrl, query: { ...d.query, app: h.code } });
1816
1816
  return;
1817
1817
  }
1818
1818
  if (_ === 1 && T === 2) {
1819
- const G = Wt(Ut(Ft(h.routeUrl)));
1819
+ const ne = Wt(Ut(Ft(h.routeUrl)));
1820
1820
  await n.push({
1821
1821
  path: Je,
1822
1822
  query: {
1823
1823
  ...d.query,
1824
1824
  app: h.code,
1825
- iframeSrc: G
1825
+ iframeSrc: ne
1826
1826
  }
1827
1827
  });
1828
1828
  return;
@@ -1841,8 +1841,8 @@ const wt = (n, e = "") => {
1841
1841
  meta: { ...(d == null ? void 0 : d.meta) ?? {} }
1842
1842
  }), L && (L == null ? void 0 : L.code) !== (h == null ? void 0 : h.code)) {
1843
1843
  if (L.fixed && (await n.push(L.path), l(), D.nav.setActiveItem(L.path)), !L.fixed) {
1844
- const oe = (Te = J().subAppList) == null ? void 0 : Te.find((Oe) => Oe.code === L.code), ne = ce().preTab[L.code], G = { ...(ne == null ? void 0 : ne.query) ?? {} };
1845
- await i({ microApp: oe, menuCode: (ne == null ? void 0 : ne.code) ?? "", route: { query: G } });
1844
+ const oe = (Te = J().subAppList) == null ? void 0 : Te.find((Oe) => Oe.code === L.code), Y = ce().preTab[L.code], ne = { ...(Y == null ? void 0 : Y.query) ?? {} };
1845
+ await i({ microApp: oe, menuCode: (Y == null ? void 0 : Y.code) ?? "", route: { query: ne } });
1846
1846
  }
1847
1847
  return;
1848
1848
  }
@@ -1858,21 +1858,18 @@ const wt = (n, e = "") => {
1858
1858
  return;
1859
1859
  }
1860
1860
  if (m && y) {
1861
- setTimeout(() => {
1862
- var ne;
1863
- (ne = J().subAppList) == null || ne.forEach((G) => {
1864
- const Oe = { ...G, value: G.code, label: G.name };
1865
- D.nav.appendItem(Oe);
1866
- }), D.nav.setActiveItem($.code), D.menu.setItems(B);
1867
- }, 200);
1861
+ (ft = J().subAppList) == null || ft.forEach((Y) => {
1862
+ const ne = { ...Y, value: Y.code, label: Y.name };
1863
+ D.nav.appendItem(ne);
1864
+ }), D.nav.setActiveItem($.code), D.menu.setItems(B);
1868
1865
  const oe = ce().tabMap[$.code] ?? [];
1869
1866
  if (oe.length) {
1870
- const ne = oe.map((G) => ({
1871
- ...G,
1872
- value: G.code,
1873
- label: G.name
1867
+ const Y = oe.map((ne) => ({
1868
+ ...ne,
1869
+ value: ne.code,
1870
+ label: ne.name
1874
1871
  })) || [];
1875
- D.tab.setItems(ne);
1872
+ D.tab.setItems(Y);
1876
1873
  }
1877
1874
  }
1878
1875
  e({ currentMenu: b, microPath: C, route: d });
@@ -1923,7 +1920,7 @@ const wt = (n, e = "") => {
1923
1920
  }
1924
1921
  }
1925
1922
  };
1926
- }, Bt = () => {
1923
+ }, Ot = () => {
1927
1924
  const n = Ge();
1928
1925
  let { mainAppName: e = "", microAppName: t = "", microApps: o = [] } = He();
1929
1926
  return !e && t && (o = [{ name: t }]), o.map((s) => s.name), { entryMenu: async (s) => {
@@ -2143,7 +2140,7 @@ const wt = (n, e = "") => {
2143
2140
  };
2144
2141
  }, Iu = Io.get("/convert/tenant"), Eu = en.get("/platform/withdefault"), dr = () => {
2145
2142
  const n = He(), e = E(!1), t = E(""), o = E(""), r = () => {
2146
- t.value = Et().id, o.value = wo().tenantId, e.value = !0;
2143
+ t.value = St().id, o.value = wo().tenantId, e.value = !0;
2147
2144
  };
2148
2145
  D.nav.addEventListener("changeEnterpriseHandle", () => {
2149
2146
  r();
@@ -2233,7 +2230,7 @@ const wt = (n, e = "") => {
2233
2230
  }), $u = () => {
2234
2231
  me.addEventListenerFromMicroApp("iot:change-instance", (n) => {
2235
2232
  const e = J(), t = e.currentSubAppCode;
2236
- let o = yt(t);
2233
+ let o = _t(t);
2237
2234
  o.forEach((s) => {
2238
2235
  s.fixed && (s.name = n.data.instanceInfo.instanceName);
2239
2236
  }), D.menu.setItems(o);
@@ -2271,7 +2268,7 @@ const wt = (n, e = "") => {
2271
2268
  rs();
2272
2269
  });
2273
2270
  }, Mu = nn.get("/platform/login/pwd-advance-notify-check"), Ru = () => {
2274
- const n = E([]), e = E(null), t = E([]), { entryApp: o } = _t.hooks.useEntryApp(), r = () => {
2271
+ const n = E([]), e = E(null), t = E([]), { entryApp: o } = wt.hooks.useEntryApp(), r = () => {
2275
2272
  var c;
2276
2273
  const l = (((c = J().appcategorys) == null ? void 0 : c.map((i) => i.apps).flat()) ?? []).find((i) => i.code === "messagecenter");
2277
2274
  l && o({ microApp: l });
@@ -2287,8 +2284,8 @@ const wt = (n, e = "") => {
2287
2284
  const c = Pe().id;
2288
2285
  n.value = a.filter(
2289
2286
  (i) => i.projectId === c || i.projectId === 0 || i.projectId === "0"
2290
- ), t.value && t.value.length && (t.value.forEach((i) => vt.close(i)), t.value = []), await Fe(), n.value.forEach((i, u) => {
2291
- vt.info({
2287
+ ), t.value && t.value.length && (t.value.forEach((i) => yt.close(i)), t.value = []), await Fe(), n.value.forEach((i, u) => {
2288
+ yt.info({
2292
2289
  key: i.id,
2293
2290
  class: "message-center-notify",
2294
2291
  message: i.title,
@@ -2319,8 +2316,8 @@ const wt = (n, e = "") => {
2319
2316
  });
2320
2317
  };
2321
2318
  Qe(async () => {
2322
- await St(), s();
2323
- }), It(() => {
2319
+ await Tt(), s();
2320
+ }), Et(() => {
2324
2321
  e.value && e.value.disconnect(), e.value = null;
2325
2322
  });
2326
2323
  }, Qu = "v1", ju = Xe(`/api/enterpriseright/permission/${Qu}`), pr = Xe("/api/device-relation/deviceproject/v1/project/device/video", Nu), Hu = rn.get("/permissionset/user-portal-menu");
@@ -2625,7 +2622,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
2625
2622
  x(
2626
2623
  "div",
2627
2624
  td,
2628
- Z(t.title.length > 20 ? t.title.slice(0, 19) + "..." : t.title),
2625
+ X(t.title.length > 20 ? t.title.slice(0, 19) + "..." : t.title),
2629
2626
  1
2630
2627
  /* TEXT */
2631
2628
  )
@@ -2910,9 +2907,9 @@ const ud = /* @__PURE__ */ pe({
2910
2907
  let r = document.body.querySelector("#video-dialog");
2911
2908
  r || (r = document.createElement("div"), r.setAttribute("id", "video-dialog-container"), document.body.appendChild(r));
2912
2909
  const a = fe(ud, { gridNum: e, deviceList: t, closeCallback: () => {
2913
- mt(null, r), document.body.removeChild(r), o(null);
2910
+ vt(null, r), document.body.removeChild(r), o(null);
2914
2911
  } });
2915
- mt(a, r);
2912
+ vt(a, r);
2916
2913
  });
2917
2914
  }, pd = () => {
2918
2915
  const n = E(4), e = E([]), t = E(null), o = async (s) => {
@@ -2952,8 +2949,8 @@ const ud = /* @__PURE__ */ pe({
2952
2949
  }));
2953
2950
  };
2954
2951
  return Qe(async () => {
2955
- await St(), r();
2956
- }), It(() => {
2952
+ await Tt(), r();
2953
+ }), Et(() => {
2957
2954
  t.value && t.value.disconnect(), t.value = null;
2958
2955
  }), {
2959
2956
  gridNum: n,
@@ -3052,7 +3049,7 @@ class hr {
3052
3049
  this.statusCode = e, this.statusText = t, this.content = o;
3053
3050
  }
3054
3051
  }
3055
- class Ot {
3052
+ class Dt {
3056
3053
  get(e, t) {
3057
3054
  return this.send({
3058
3055
  ...t,
@@ -3098,7 +3095,7 @@ class at {
3098
3095
  }
3099
3096
  at.instance = new at();
3100
3097
  const md = "8.0.7";
3101
- class Y {
3098
+ class Z {
3102
3099
  static isRequired(e, t) {
3103
3100
  if (e == null)
3104
3101
  throw new Error(`The '${t}' argument is required.`);
@@ -3160,7 +3157,7 @@ async function gr(n, e, t, o, r, s) {
3160
3157
  n.log(g.Trace, `(${e} transport) request complete. Response status: ${u.statusCode}.`);
3161
3158
  }
3162
3159
  function yd(n) {
3163
- return n === void 0 ? new Ct(g.Information) : n === null ? at.instance : n.log !== void 0 ? n : new Ct(n);
3160
+ return n === void 0 ? new It(g.Information) : n === null ? at.instance : n.log !== void 0 ? n : new It(n);
3164
3161
  }
3165
3162
  class _d {
3166
3163
  constructor(e, t) {
@@ -3172,7 +3169,7 @@ class _d {
3172
3169
  });
3173
3170
  }
3174
3171
  }
3175
- class Ct {
3172
+ class It {
3176
3173
  constructor(e) {
3177
3174
  this._minLevel = e, this.out = console;
3178
3175
  }
@@ -3242,7 +3239,7 @@ function Ed() {
3242
3239
  return global;
3243
3240
  throw new Error("could not find global");
3244
3241
  }
3245
- class Sd extends Ot {
3242
+ class Sd extends Dt {
3246
3243
  constructor(e) {
3247
3244
  if (super(), this._logger = e, typeof fetch > "u" || K.isNode) {
3248
3245
  const t = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
@@ -3327,7 +3324,7 @@ function ho(n, e) {
3327
3324
  }
3328
3325
  return t;
3329
3326
  }
3330
- class Td extends Ot {
3327
+ class Td extends Dt {
3331
3328
  constructor(e) {
3332
3329
  super(), this._logger = e;
3333
3330
  }
@@ -3351,7 +3348,7 @@ class Td extends Ot {
3351
3348
  }) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
3352
3349
  }
3353
3350
  }
3354
- class kd extends Ot {
3351
+ class kd extends Dt {
3355
3352
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
3356
3353
  constructor(e) {
3357
3354
  if (super(), typeof fetch < "u" || K.isNode)
@@ -3546,7 +3543,7 @@ class _n {
3546
3543
  constructor(e, t, o, r, s, a, l) {
3547
3544
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
3548
3545
  this._logger.log(g.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");
3549
- }, Y.isRequired(e, "connection"), Y.isRequired(t, "logger"), Y.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = s ?? $d, this.keepAliveIntervalInMilliseconds = a ?? Ld, this._statefulReconnectBufferSize = l ?? xd, this._logger = t, this._protocol = o, this.connection = e, this._reconnectPolicy = r, this._handshakeProtocol = new Pd(), this.connection.onreceive = (c) => this._processIncomingData(c), this.connection.onclose = (c) => this._connectionClosed(c), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = q.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: j.Ping });
3546
+ }, Z.isRequired(e, "connection"), Z.isRequired(t, "logger"), Z.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = s ?? $d, this.keepAliveIntervalInMilliseconds = a ?? Ld, this._statefulReconnectBufferSize = l ?? xd, this._logger = t, this._protocol = o, this.connection = e, this._reconnectPolicy = r, this._handshakeProtocol = new Pd(), this.connection.onreceive = (c) => this._processIncomingData(c), this.connection.onclose = (c) => this._connectionClosed(c), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = q.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: j.Ping });
3550
3547
  }
3551
3548
  /** Indicates the state of the {@link HubConnection} to the server. */
3552
3549
  get state() {
@@ -4049,7 +4046,7 @@ class xe {
4049
4046
  }
4050
4047
  xe.Authorization = "Authorization";
4051
4048
  xe.Cookie = "Cookie";
4052
- class Rd extends Ot {
4049
+ class Rd extends Dt {
4053
4050
  constructor(e, t) {
4054
4051
  super(), this._innerClient = e, this._accessTokenFactory = t;
4055
4052
  }
@@ -4066,10 +4063,10 @@ class Rd extends Ot {
4066
4063
  return this._innerClient.getCookieString(e);
4067
4064
  }
4068
4065
  }
4069
- var X;
4066
+ var G;
4070
4067
  (function(n) {
4071
4068
  n[n.None = 0] = "None", n[n.WebSockets = 1] = "WebSockets", n[n.ServerSentEvents = 2] = "ServerSentEvents", n[n.LongPolling = 4] = "LongPolling";
4072
- })(X || (X = {}));
4069
+ })(G || (G = {}));
4073
4070
  var se;
4074
4071
  (function(n) {
4075
4072
  n[n.Text = 1] = "Text", n[n.Binary = 2] = "Binary";
@@ -4097,7 +4094,7 @@ class Ao {
4097
4094
  this._httpClient = e, this._logger = t, this._pollAbort = new Qd(), this._options = o, this._running = !1, this.onreceive = null, this.onclose = null;
4098
4095
  }
4099
4096
  async connect(e, t) {
4100
- if (Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, se, "transferFormat"), this._url = e, this._logger.log(g.Trace, "(LongPolling transport) Connecting."), t === se.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
4097
+ if (Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t, se, "transferFormat"), this._url = e, this._logger.log(g.Trace, "(LongPolling transport) Connecting."), t === se.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
4101
4098
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
4102
4099
  const [o, r] = Ke(), s = { [o]: r, ...this._options.headers }, a = {
4103
4100
  abortSignal: this._pollAbort.signal,
@@ -4163,7 +4160,7 @@ class jd {
4163
4160
  this._httpClient = e, this._accessToken = t, this._logger = o, this._options = r, this.onreceive = null, this.onclose = null;
4164
4161
  }
4165
4162
  async connect(e, t) {
4166
- return Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, se, "transferFormat"), this._logger.log(g.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((o, r) => {
4163
+ return Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t, se, "transferFormat"), this._logger.log(g.Trace, "(SSE transport) Connecting."), this._url = e, this._accessToken && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((o, r) => {
4167
4164
  let s = !1;
4168
4165
  if (t !== se.Text) {
4169
4166
  r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
@@ -4213,7 +4210,7 @@ class Hd {
4213
4210
  this._logger = o, this._accessTokenFactory = t, this._logMessageContent = r, this._webSocketConstructor = s, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = a;
4214
4211
  }
4215
4212
  async connect(e, t) {
4216
- Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, se, "transferFormat"), this._logger.log(g.Trace, "(WebSockets transport) Connecting.");
4213
+ Z.isRequired(e, "url"), Z.isRequired(t, "transferFormat"), Z.isIn(t, se, "transferFormat"), this._logger.log(g.Trace, "(WebSockets transport) Connecting.");
4217
4214
  let o;
4218
4215
  return this._accessTokenFactory && (o = await this._accessTokenFactory()), new Promise((r, s) => {
4219
4216
  e = e.replace(/^http/, "ws");
@@ -4270,7 +4267,7 @@ const mo = 100;
4270
4267
  class Nd {
4271
4268
  constructor(e, t = {}) {
4272
4269
  if (this._stopPromiseResolver = () => {
4273
- }, this.features = {}, this._negotiateVersion = 1, Y.isRequired(e, "url"), this._logger = yd(t.logger), this.baseUrl = this._resolveUrl(e), t = t || {}, t.logMessageContent = t.logMessageContent === void 0 ? !1 : t.logMessageContent, typeof t.withCredentials == "boolean" || t.withCredentials === void 0)
4270
+ }, this.features = {}, this._negotiateVersion = 1, Z.isRequired(e, "url"), this._logger = yd(t.logger), this.baseUrl = this._resolveUrl(e), t = t || {}, t.logMessageContent = t.logMessageContent === void 0 ? !1 : t.logMessageContent, typeof t.withCredentials == "boolean" || t.withCredentials === void 0)
4274
4271
  t.withCredentials = t.withCredentials === void 0 ? !0 : t.withCredentials;
4275
4272
  else
4276
4273
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
@@ -4283,7 +4280,7 @@ class Nd {
4283
4280
  !K.isNode && typeof WebSocket < "u" && !t.WebSocket ? t.WebSocket = WebSocket : K.isNode && !t.WebSocket && o && (t.WebSocket = o), !K.isNode && typeof EventSource < "u" && !t.EventSource ? t.EventSource = EventSource : K.isNode && !t.EventSource && typeof r < "u" && (t.EventSource = r), this._httpClient = new Rd(t.httpClient || new kd(this._logger), t.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = t, this.onreceive = null, this.onclose = null;
4284
4281
  }
4285
4282
  async start(e) {
4286
- if (e = e || se.Binary, Y.isIn(e, se, "transferFormat"), this._logger.log(g.Debug, `Starting connection with transfer format '${se[e]}'.`), this._connectionState !== "Disconnected")
4283
+ if (e = e || se.Binary, Z.isIn(e, se, "transferFormat"), this._logger.log(g.Debug, `Starting connection with transfer format '${se[e]}'.`), this._connectionState !== "Disconnected")
4287
4284
  return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
4288
4285
  if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
4289
4286
  const t = "Failed to start the HttpConnection before stop() was called.";
@@ -4327,8 +4324,8 @@ class Nd {
4327
4324
  this._accessTokenFactory = this._options.accessTokenFactory, this._httpClient._accessTokenFactory = this._accessTokenFactory;
4328
4325
  try {
4329
4326
  if (this._options.skipNegotiation)
4330
- if (this._options.transport === X.WebSockets)
4331
- this.transport = this._constructTransport(X.WebSockets), await this._startTransport(t, e);
4327
+ if (this._options.transport === G.WebSockets)
4328
+ this.transport = this._constructTransport(G.WebSockets), await this._startTransport(t, e);
4332
4329
  else
4333
4330
  throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");
4334
4331
  else {
@@ -4404,7 +4401,7 @@ class Nd {
4404
4401
  await this._startTransport(s, r), this.connectionId = c.connectionId;
4405
4402
  return;
4406
4403
  } catch (A) {
4407
- if (this._logger.log(g.Error, `Failed to start the transport '${i.transport}': ${A}`), c = void 0, a.push(new gd(`${i.transport} failed: ${A}`, X[i.transport])), this._connectionState !== "Connecting") {
4404
+ if (this._logger.log(g.Error, `Failed to start the transport '${i.transport}': ${A}`), c = void 0, a.push(new gd(`${i.transport} failed: ${A}`, G[i.transport])), this._connectionState !== "Connecting") {
4408
4405
  const p = "Failed to select transport before stop() was called.";
4409
4406
  return this._logger.log(g.Debug, p), Promise.reject(new ve(p));
4410
4407
  }
@@ -4415,15 +4412,15 @@ class Nd {
4415
4412
  }
4416
4413
  _constructTransport(e) {
4417
4414
  switch (e) {
4418
- case X.WebSockets:
4415
+ case G.WebSockets:
4419
4416
  if (!this._options.WebSocket)
4420
4417
  throw new Error("'WebSocket' is not supported in your environment.");
4421
4418
  return new Hd(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
4422
- case X.ServerSentEvents:
4419
+ case G.ServerSentEvents:
4423
4420
  if (!this._options.EventSource)
4424
4421
  throw new Error("'EventSource' is not supported in your environment.");
4425
4422
  return new jd(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
4426
- case X.LongPolling:
4423
+ case G.LongPolling:
4427
4424
  return new Ao(this._httpClient, this._logger, this._options);
4428
4425
  default:
4429
4426
  throw new Error(`Unknown transport: ${e}.`);
@@ -4446,23 +4443,23 @@ class Nd {
4446
4443
  } : this.transport.onclose = (o) => this._stopConnection(o), this.transport.connect(e, t);
4447
4444
  }
4448
4445
  _resolveTransportOrError(e, t, o, r) {
4449
- const s = X[e.transport];
4446
+ const s = G[e.transport];
4450
4447
  if (s == null)
4451
4448
  return this._logger.log(g.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.`);
4452
4449
  if (Ud(t, s))
4453
4450
  if (e.transferFormats.map((l) => se[l]).indexOf(o) >= 0) {
4454
- if (s === X.WebSockets && !this._options.WebSocket || s === X.ServerSentEvents && !this._options.EventSource)
4455
- return this._logger.log(g.Debug, `Skipping transport '${X[s]}' because it is not supported in your environment.'`), new fd(`'${X[s]}' is not supported in your environment.`, s);
4456
- this._logger.log(g.Debug, `Selecting transport '${X[s]}'.`);
4451
+ if (s === G.WebSockets && !this._options.WebSocket || s === G.ServerSentEvents && !this._options.EventSource)
4452
+ return this._logger.log(g.Debug, `Skipping transport '${G[s]}' because it is not supported in your environment.'`), new fd(`'${G[s]}' is not supported in your environment.`, s);
4453
+ this._logger.log(g.Debug, `Selecting transport '${G[s]}'.`);
4457
4454
  try {
4458
- return this.features.reconnect = s === X.WebSockets ? r : void 0, this._constructTransport(s);
4455
+ return this.features.reconnect = s === G.WebSockets ? r : void 0, this._constructTransport(s);
4459
4456
  } catch (l) {
4460
4457
  return l;
4461
4458
  }
4462
4459
  } else
4463
- return this._logger.log(g.Debug, `Skipping transport '${X[s]}' because it does not support the requested transfer format '${se[o]}'.`), new Error(`'${X[s]}' does not support ${se[o]}.`);
4460
+ return this._logger.log(g.Debug, `Skipping transport '${G[s]}' because it does not support the requested transfer format '${se[o]}'.`), new Error(`'${G[s]}' does not support ${se[o]}.`);
4464
4461
  else
4465
- return this._logger.log(g.Debug, `Skipping transport '${X[s]}' because it was disabled by the client.`), new hd(`'${X[s]}' is disabled by the client.`, s);
4462
+ return this._logger.log(g.Debug, `Skipping transport '${G[s]}' because it was disabled by the client.`), new hd(`'${G[s]}' is disabled by the client.`, s);
4466
4463
  }
4467
4464
  _isITransport(e) {
4468
4465
  return e && typeof e == "object" && "connect" in e;
@@ -4505,10 +4502,10 @@ function Ud(n, e) {
4505
4502
  }
4506
4503
  class wn {
4507
4504
  constructor(e) {
4508
- this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new ht(), this._transportResult = new ht(), this._sendLoopPromise = this._sendLoop();
4505
+ this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new gt(), this._transportResult = new gt(), this._sendLoopPromise = this._sendLoop();
4509
4506
  }
4510
4507
  send(e) {
4511
- return this._bufferData(e), this._transportResult || (this._transportResult = new ht()), this._transportResult.promise;
4508
+ return this._bufferData(e), this._transportResult || (this._transportResult = new gt()), this._transportResult.promise;
4512
4509
  }
4513
4510
  stop() {
4514
4511
  return this._executing = !1, this._sendBufferedData.resolve(), this._sendLoopPromise;
@@ -4524,7 +4521,7 @@ class wn {
4524
4521
  this._transportResult && this._transportResult.reject("Connection stopped.");
4525
4522
  break;
4526
4523
  }
4527
- this._sendBufferedData = new ht();
4524
+ this._sendBufferedData = new gt();
4528
4525
  const e = this._transportResult;
4529
4526
  this._transportResult = void 0;
4530
4527
  const t = typeof this._buffer[0] == "string" ? this._buffer.join("") : wn._concatBuffers(this._buffer);
@@ -4544,7 +4541,7 @@ class wn {
4544
4541
  return o.buffer;
4545
4542
  }
4546
4543
  }
4547
- class ht {
4544
+ class gt {
4548
4545
  constructor() {
4549
4546
  this.promise = new Promise((e, t) => [this._resolver, this._rejecter] = [e, t]);
4550
4547
  }
@@ -4656,17 +4653,17 @@ function zd(n) {
4656
4653
  }
4657
4654
  class Vd {
4658
4655
  configureLogging(e) {
4659
- if (Y.isRequired(e, "logging"), qd(e))
4656
+ if (Z.isRequired(e, "logging"), qd(e))
4660
4657
  this.logger = e;
4661
4658
  else if (typeof e == "string") {
4662
4659
  const t = zd(e);
4663
- this.logger = new Ct(t);
4660
+ this.logger = new It(t);
4664
4661
  } else
4665
- this.logger = new Ct(e);
4662
+ this.logger = new It(e);
4666
4663
  return this;
4667
4664
  }
4668
4665
  withUrl(e, t) {
4669
- return Y.isRequired(e, "url"), Y.isNotEmpty(e, "url"), this.url = e, typeof t == "object" ? this.httpConnectionOptions = { ...this.httpConnectionOptions, ...t } : this.httpConnectionOptions = {
4666
+ return Z.isRequired(e, "url"), Z.isNotEmpty(e, "url"), this.url = e, typeof t == "object" ? this.httpConnectionOptions = { ...this.httpConnectionOptions, ...t } : this.httpConnectionOptions = {
4670
4667
  ...this.httpConnectionOptions,
4671
4668
  transport: t
4672
4669
  }, this;
@@ -4676,7 +4673,7 @@ class Vd {
4676
4673
  * @param {IHubProtocol} protocol The {@link @microsoft/signalr.IHubProtocol} implementation to use.
4677
4674
  */
4678
4675
  withHubProtocol(e) {
4679
- return Y.isRequired(e, "protocol"), this.protocol = e, this;
4676
+ return Z.isRequired(e, "protocol"), this.protocol = e, this;
4680
4677
  }
4681
4678
  withAutomaticReconnect(e) {
4682
4679
  if (this.reconnectPolicy)
@@ -4688,14 +4685,14 @@ class Vd {
4688
4685
  * @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
4689
4686
  */
4690
4687
  withServerTimeout(e) {
4691
- return Y.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
4688
+ return Z.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
4692
4689
  }
4693
4690
  /** Configures {@link @microsoft/signalr.HubConnection.keepAliveIntervalInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
4694
4691
  *
4695
4692
  * @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
4696
4693
  */
4697
4694
  withKeepAliveInterval(e) {
4698
- return Y.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
4695
+ return Z.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
4699
4696
  }
4700
4697
  /** Enables and configures options for the Stateful Reconnect feature.
4701
4698
  *
@@ -4723,23 +4720,23 @@ let { baseURL: Kd } = He();
4723
4720
  const Gd = () => {
4724
4721
  const n = new Vd().withUrl(`${Kd}/api/tool/event-bus`, {
4725
4722
  skipNegotiation: !0,
4726
- transport: X.WebSockets
4723
+ transport: G.WebSockets
4727
4724
  }).withAutomaticReconnect().build();
4728
4725
  return n.start().then(() => {
4729
4726
  }).catch((e) => {
4730
4727
  }), n.onclose((e) => {
4731
4728
  }), n.onreconnected(() => {
4732
4729
  }), n;
4733
- }, Dt = "v1", Xd = je(`/api/graphics-engine/component/${Dt}`, (n) => (n.customErrorMessage = () => "", n)), Zd = je(`/api/portal/manager/${Dt}`, (n) => (n.customErrorMessage = () => "", n)), Yd = je(`/api/speech-base/speech/${Dt}`, (n) => (n.customErrorMessage = () => "", n)), vo = Xd.get("/component/client/heartbeat"), ep = Zd.get("/basics/by-alias");
4730
+ }, $t = "v1", Xd = je(`/api/graphics-engine/component/${$t}`, (n) => (n.customErrorMessage = () => "", n)), Zd = je(`/api/portal/manager/${$t}`, (n) => (n.customErrorMessage = () => "", n)), Yd = je(`/api/speech-base/speech/${$t}`, (n) => (n.customErrorMessage = () => "", n)), vo = Xd.get("/component/client/heartbeat"), ep = Zd.get("/basics/by-alias");
4734
4731
  Yd.post("/control/callBack");
4735
- const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.get("/permissionset/application"), op = () => {
4736
- const n = on(), { entryApp: e } = _t.hooks.useEntryApp(), { entryMenu: t } = _t.hooks.useEntryMenu();
4732
+ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.get("/permissionset/application"), op = () => {
4733
+ const n = on(), { entryApp: e } = wt.hooks.useEntryApp(), { entryMenu: t } = wt.hooks.useEntryMenu();
4737
4734
  let o = null;
4738
4735
  return Qe(async () => {
4739
4736
  var d;
4740
4737
  let r = ((d = n.meta) == null ? void 0 : d.showLayout) ?? !0, { showLayout: s = !0 } = n.query;
4741
4738
  if (s === "false" && (s = !1), !r || !s) return;
4742
- await St();
4739
+ await Tt();
4743
4740
  const a = (m) => {
4744
4741
  try {
4745
4742
  return JSON.parse(m);
@@ -4829,10 +4826,10 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
4829
4826
  }, 5e3), w.value = (window.navigator.onLine ? "on" : "off") + "line";
4830
4827
  };
4831
4828
  window.addEventListener("online", () => f("online")), window.addEventListener("offline", () => f("offline"));
4832
- }), It(() => {
4829
+ }), Et(() => {
4833
4830
  o && clearInterval(o);
4834
4831
  }), {};
4835
- }, $t = "v1", rp = Xe(`/api/fms/report/${$t}`), bn = Xe(`/api/emergency/manage/${$t}`), sp = rn.get("/permissionset/user-portal-menu"), Ar = Xe(`/api/alarm/config/${$t}`), ip = Xe(`/api/alarm/run-time/${$t}`), ap = Ar.get("/alarm-definition/status-option"), cp = ip.post("/record/handling"), lp = Ar.get("/alarm-level/prompttone"), up = rp.get("/alarm/rule/list"), dp = Eo.get("/controller/space-children-all-type"), pp = Eo.get("/controller/fuzzy-area-small"), fp = bn.get("/emergency-event/event/type"), hp = bn.get("/emergency-event/event/level"), gp = bn.get("/emergency-plan/plan/handle-time"), Ap = { class: "handle-alarm-container" }, mp = { class: "select-check" }, vp = { class: "form-box" }, yp = { class: "select-check" }, _p = { style: { "margin-left": "8px" } }, wp = { class: "foot-btn-box" }, bp = {
4832
+ }, Lt = "v1", rp = Xe(`/api/fms/report/${Lt}`), bn = Xe(`/api/emergency/manage/${Lt}`), sp = rn.get("/permissionset/user-portal-menu"), Ar = Xe(`/api/alarm/config/${Lt}`), ip = Xe(`/api/alarm/run-time/${Lt}`), ap = Ar.get("/alarm-definition/status-option"), cp = ip.post("/record/handling"), lp = Ar.get("/alarm-level/prompttone"), up = rp.get("/alarm/rule/list"), dp = Eo.get("/controller/space-children-all-type"), pp = Eo.get("/controller/fuzzy-area-small"), fp = bn.get("/emergency-event/event/type"), hp = bn.get("/emergency-event/event/level"), gp = bn.get("/emergency-plan/plan/handle-time"), Ap = { class: "handle-alarm-container" }, mp = { class: "select-check" }, vp = { class: "form-box" }, yp = { class: "select-check" }, _p = { style: { "margin-left": "8px" } }, wp = { class: "foot-btn-box" }, bp = {
4836
4833
  name: "handleAlarm"
4837
4834
  }, Cp = /* @__PURE__ */ pe({
4838
4835
  ...bp,
@@ -4910,7 +4907,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
4910
4907
  $.value = I.data.filter((k) => k.status), $.value.length > 0 && (i.value.workOrderRules = $.value[0].id);
4911
4908
  };
4912
4909
  re(c, (O) => {
4913
- O || (G(), Oe());
4910
+ O || (Y(), ne());
4914
4911
  }), re(
4915
4912
  B,
4916
4913
  (O) => {
@@ -4931,15 +4928,15 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
4931
4928
  u.value.reportTheme = "";
4932
4929
  }, Te = (O, I) => {
4933
4930
  I.length > 0 && (f.value = I[0].path), i.value.reportPosition = O, _.value = "";
4934
- }, oe = (O) => {
4931
+ }, ft = (O) => {
4935
4932
  O && (u.value.reportPosition = "", f.value = ""), O ? (i.value.reportPosition = null, f.value = "", d.value = "告警对象位置") : (i.value.reportPosition = null, f.value = "", d.value = "请选择");
4936
- }, ne = (O) => {
4933
+ }, oe = (O) => {
4937
4934
  O && (u.value.reportTheme = ""), O ? (i.value.reportTheme = "", m.value = "告警对象") : (i.value.reportTheme = "", m.value = "请输入");
4938
- }, G = () => {
4935
+ }, Y = () => {
4939
4936
  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 = "";
4940
- }, Oe = () => {
4937
+ }, ne = () => {
4941
4938
  i.value.processTypeId = "confirm", i.value.reason = "", i.value.treatmentPlan = "", i.value.remarks = "", i.value.reportPosition = "", i.value.reportTheme = "", i.value.workOrderRules = null, B.value = !0, P.value = !0, C.value = !0, i.value.reportTheme = Q("告警对象").value, f.value = "", d.value = "告警对象位置", m.value = "请输入", i.value.eventTypeId = "", i.value.eventLevelId = null, i.value.timeLimit = "", i.value.interval = 1, p.value = [], h.value = [];
4942
- }, Lt = (O) => {
4939
+ }, Oe = (O) => {
4943
4940
  O == "eventTypeId" && (i.value.eventLevelId = null, Cn()), O == "eventLevelId" && In(), O == "interval" && (u.value.timeLimit = "", i.value.interval == 3 ? (A.value = !0, i.value.timeLimit = "") : A.value = !1);
4944
4941
  }, mr = async () => {
4945
4942
  const [O, I] = await fp().run();
@@ -4951,9 +4948,9 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
4951
4948
  }, [I, k] = await hp(O).run();
4952
4949
  if (I) return {};
4953
4950
  const Ae = { 1: "一级", 2: "二级", 3: "三级", 4: "四级" };
4954
- h.value = k.map((ft) => ({
4955
- id: `${ft}`,
4956
- name: Ae[ft] ? Ae[ft] : ft
4951
+ h.value = k.map((ht) => ({
4952
+ id: `${ht}`,
4953
+ name: Ae[ht] ? Ae[ht] : ht
4957
4954
  })), k.length && !i.value.eventLevelId && (i.value.eventLevelId = h.value[0].id, In());
4958
4955
  }, In = async () => {
4959
4956
  const O = {
@@ -4963,7 +4960,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
4963
4960
  if (I) return {};
4964
4961
  i.value.interval = k.handleTimeUnit, k.handleTimeUnit == 3 ? i.value.timeLimit = "" : i.value.timeLimit = k.handleTime;
4965
4962
  }, vr = (O) => {
4966
- G();
4963
+ Y();
4967
4964
  }, yr = async () => {
4968
4965
  const O = {
4969
4966
  logic: !1,
@@ -5038,7 +5035,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5038
5035
  }, {
5039
5036
  header: M(() => [
5040
5037
  ue(
5041
- Z(v(Q)("告警处理").value),
5038
+ X(v(Q)("告警处理").value),
5042
5039
  1
5043
5040
  /* TEXT */
5044
5041
  )
@@ -5051,7 +5048,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5051
5048
  }, {
5052
5049
  default: M(() => [
5053
5050
  ue(
5054
- Z(v(Q)("取消").value),
5051
+ X(v(Q)("取消").value),
5055
5052
  1
5056
5053
  /* TEXT */
5057
5054
  )
@@ -5065,7 +5062,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5065
5062
  }, {
5066
5063
  default: M(() => [
5067
5064
  ue(
5068
- Z(v(Q)("结束处理").value),
5065
+ X(v(Q)("结束处理").value),
5069
5066
  1
5070
5067
  /* TEXT */
5071
5068
  )
@@ -5080,7 +5077,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5080
5077
  }, {
5081
5078
  default: M(() => [
5082
5079
  ue(
5083
- Z(v(Q)("继续处理").value),
5080
+ X(v(Q)("继续处理").value),
5084
5081
  1
5085
5082
  /* TEXT */
5086
5083
  )
@@ -5210,12 +5207,12 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5210
5207
  modelValue: B.value,
5211
5208
  "onUpdate:modelValue": I[12] || (I[12] = (k) => B.value = k),
5212
5209
  checkboxType: "default",
5213
- onChange: oe,
5210
+ onChange: ft,
5214
5211
  size: "middle"
5215
5212
  }, {
5216
5213
  default: M(() => [
5217
5214
  ue(
5218
- Z(v(Q)("告警对象位置").value),
5215
+ X(v(Q)("告警对象位置").value),
5219
5216
  1
5220
5217
  /* TEXT */
5221
5218
  )
@@ -5252,12 +5249,12 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5252
5249
  modelValue: P.value,
5253
5250
  "onUpdate:modelValue": I[15] || (I[15] = (k) => P.value = k),
5254
5251
  checkboxType: "default",
5255
- onChange: ne,
5252
+ onChange: oe,
5256
5253
  size: "middle"
5257
5254
  }, {
5258
5255
  default: M(() => [
5259
5256
  ue(
5260
- Z(v(Q)("告警对象").value),
5257
+ X(v(Q)("告警对象").value),
5261
5258
  1
5262
5259
  /* TEXT */
5263
5260
  )
@@ -5304,7 +5301,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5304
5301
  "get-popup-container": F,
5305
5302
  marginBottom: "30px",
5306
5303
  marginRight: "0",
5307
- onChange: I[21] || (I[21] = (k) => Lt("eventTypeId"))
5304
+ onChange: I[21] || (I[21] = (k) => Oe("eventTypeId"))
5308
5305
  }, null, 8, ["label", "modelValue", "error", "options"])) : U("v-if", !0),
5309
5306
  i.value.processTypeId == "createcontingency" ? (N(), V(v(_e), {
5310
5307
  key: 7,
@@ -5322,7 +5319,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5322
5319
  "get-popup-container": F,
5323
5320
  marginBottom: "30px",
5324
5321
  marginRight: "0",
5325
- onChange: I[24] || (I[24] = (k) => Lt("eventLevelId"))
5322
+ onChange: I[24] || (I[24] = (k) => Oe("eventLevelId"))
5326
5323
  }, null, 8, ["label", "modelValue", "error", "options"])) : U("v-if", !0),
5327
5324
  i.value.processTypeId == "createcontingency" ? (N(), V(v(_e), {
5328
5325
  key: 8,
@@ -5354,7 +5351,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5354
5351
  "border-type": "underline",
5355
5352
  size: "small",
5356
5353
  "get-popup-container": F,
5357
- onChange: I[26] || (I[26] = (k) => Lt("interval")),
5354
+ onChange: I[26] || (I[26] = (k) => Oe("interval")),
5358
5355
  placeholder: "请选择"
5359
5356
  }, null, 8, ["modelValue", "options"])
5360
5357
  ])
@@ -5383,7 +5380,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5383
5380
  }), Ip = /* @__PURE__ */ Ee(Cp, [["__scopeId", "data-v-1ecf3324"]]), Ep = (n, e, t) => ({
5384
5381
  handleAlarmVue: () => fe(Ip, {
5385
5382
  handerIds: e.value,
5386
- projectId: Et().id,
5383
+ projectId: St().id,
5387
5384
  ref: n,
5388
5385
  onEmitFn: (r, s) => {
5389
5386
  }
@@ -5424,7 +5421,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5424
5421
  x(
5425
5422
  "div",
5426
5423
  Pp,
5427
- Z(v(Q)("新告警").value),
5424
+ X(v(Q)("新告警").value),
5428
5425
  1
5429
5426
  /* TEXT */
5430
5427
  )
@@ -5445,7 +5442,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5445
5442
  x(
5446
5443
  "div",
5447
5444
  Dp,
5448
- Z(v(Q)("告警等级:").value),
5445
+ X(v(Q)("告警等级:").value),
5449
5446
  1
5450
5447
  /* TEXT */
5451
5448
  ),
@@ -5455,7 +5452,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5455
5452
  class: "alarm-msg-line-right alarm-content-object",
5456
5453
  style: Sn({ color: a.msgItem.color })
5457
5454
  },
5458
- Z(a.msgItem.alarmLevelName || ""),
5455
+ X(a.msgItem.alarmLevelName || ""),
5459
5456
  5
5460
5457
  /* TEXT, STYLE */
5461
5458
  )
@@ -5464,14 +5461,14 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5464
5461
  x(
5465
5462
  "div",
5466
5463
  Lp,
5467
- Z(v(Q)("告警对象:").value),
5464
+ X(v(Q)("告警对象:").value),
5468
5465
  1
5469
5466
  /* TEXT */
5470
5467
  ),
5471
5468
  x(
5472
5469
  "div",
5473
5470
  xp,
5474
- Z(a.msgItem.equipmentName || ""),
5471
+ X(a.msgItem.equipmentName || ""),
5475
5472
  1
5476
5473
  /* TEXT */
5477
5474
  )
@@ -5480,14 +5477,14 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5480
5477
  x(
5481
5478
  "div",
5482
5479
  Rp,
5483
- Z(v(Q)("告警内容:").value),
5480
+ X(v(Q)("告警内容:").value),
5484
5481
  1
5485
5482
  /* TEXT */
5486
5483
  ),
5487
5484
  x(
5488
5485
  "div",
5489
5486
  Qp,
5490
- Z(a.msgItem.alarmContent || ""),
5487
+ X(a.msgItem.alarmContent || ""),
5491
5488
  1
5492
5489
  /* TEXT */
5493
5490
  )
@@ -5502,7 +5499,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5502
5499
  }, {
5503
5500
  default: M(() => [
5504
5501
  ue(
5505
- Z(v(Q)("设备详情").value),
5502
+ X(v(Q)("设备详情").value),
5506
5503
  1
5507
5504
  /* TEXT */
5508
5505
  )
@@ -5519,7 +5516,7 @@ const tp = je(`/api/tool/event-bus/${Dt}/`), Ht = tp.post("/publish"), np = tn.g
5519
5516
  }, {
5520
5517
  default: M(() => [
5521
5518
  ue(
5522
- Z(v(Q)("处理").value),
5519
+ X(v(Q)("处理").value),
5523
5520
  1
5524
5521
  /* TEXT */
5525
5522
  )
@@ -5570,7 +5567,7 @@ const Fp = () => {
5570
5567
  var P;
5571
5568
  const C = [];
5572
5569
  C.push({ alarmId: b.recordId }), r.value = C, (P = t.value) == null || P.open();
5573
- }, { entryApp: A } = _t.hooks.useEntryApp(), p = (b) => {
5570
+ }, { entryApp: A } = wt.hooks.useEntryApp(), p = (b) => {
5574
5571
  So(b.equipmentCode, b.equipmentPanelCode);
5575
5572
  }, { handleAlarmVue: h } = Ep(t, r), S = async () => {
5576
5573
  var P;
@@ -5584,7 +5581,7 @@ const Fp = () => {
5584
5581
  }, d = (b) => {
5585
5582
  if (!b) return;
5586
5583
  const C = Up();
5587
- vt.open({
5584
+ yt.open({
5588
5585
  key: C,
5589
5586
  class: "alarm-notify",
5590
5587
  message: Q("新告警").value,
@@ -5672,8 +5669,8 @@ const Fp = () => {
5672
5669
  setup(n) {
5673
5670
  const { alarmSocket: e, creatAlarmSocket: t, audioObj: o, audioAlarmRef: r, handleAlarmVue: s } = Fp();
5674
5671
  return Qe(async () => {
5675
- await St(), t();
5676
- }), It(() => {
5672
+ await Tt(), t();
5673
+ }), Et(() => {
5677
5674
  e.value && e.value.disconnect(), e.value = null;
5678
5675
  }), (a, l) => (N(), de(
5679
5676
  We,
@@ -5697,7 +5694,7 @@ const Fp = () => {
5697
5694
  }), zp = { class: "das-main-app-container" }, Vp = /* @__PURE__ */ pe({
5698
5695
  __name: "index",
5699
5696
  setup(n) {
5700
- const { isFullscreen: e } = lt(), t = Ce(() => !e.value), o = Ce(() => ee.excludeRoutes), r = Ce(() => ee.routeKeepAliveVisible), s = Ce(() => ({ mode: bt.value === 1 ? "vertical" : "inline" })), { initNextTick: a } = gu(), { innerPage: l, commandList: c, initNextTick: i } = Au(a);
5697
+ const { isFullscreen: e } = lt(), t = Ce(() => !e.value), o = Ce(() => ee.excludeRoutes), r = Ce(() => ee.routeKeepAliveVisible), s = Ce(() => ({ mode: Ct.value === 1 ? "vertical" : "inline" })), { initNextTick: a } = gu(), { innerPage: l, commandList: c, initNextTick: i } = Au(a);
5701
5698
  bu(l, a, i), wu(), yu(), Su();
5702
5699
  const { $changePwd: u, $personSetDialog: A } = Cu(), { changeEnterprisesVisible: p, userId: h, tenantId: S, changeEnterprise: w } = dr();
5703
5700
  vu();
@@ -5755,15 +5752,15 @@ E("@das-fed/web");
5755
5752
  const Kp = [
5756
5753
  {
5757
5754
  path: Ie,
5758
- component: () => import("./index-C2gtyFHH.js")
5755
+ component: () => import("./index-DE3A2Eyv.js")
5759
5756
  },
5760
5757
  {
5761
5758
  path: Je,
5762
- component: () => import("./index-BYJ_iw6e.js")
5759
+ component: () => import("./index-czNdTV8H.js")
5763
5760
  },
5764
5761
  {
5765
5762
  path: Bo,
5766
- component: () => import("./index-FJjkdoP_.js")
5763
+ component: () => import("./index-CsB4a8gH.js")
5767
5764
  }
5768
5765
  ], Hf = {
5769
5766
  routes: Kp,
@@ -5773,7 +5770,7 @@ const Kp = [
5773
5770
  },
5774
5771
  hooks: {
5775
5772
  useEntryApp: et,
5776
- useEntryMenu: Bt
5773
+ useEntryMenu: Ot
5777
5774
  }
5778
5775
  };
5779
5776
  export {
@@ -5783,7 +5780,7 @@ export {
5783
5780
  ao as b,
5784
5781
  qe as c,
5785
5782
  Wt as d,
5786
- gt as e,
5783
+ At as e,
5787
5784
  ee as l,
5788
5785
  Hf as m,
5789
5786
  et as u