@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,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 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";
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 re, render as Vt, onBeforeUnmount as Zt, 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 Vt } from "@das-fed/ui/packages/components/notification/index";
11
+ import { DasNotification as Wt } 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 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";
13
+ import { getSubApps as J, getTabInfo as ve, getPersonalInfo as Yt, getTenantInfo as Mn, getProjectInfo as Fe, getToken as Bn, getUserInfo as cr, getMenus as zt } 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,8 +28,8 @@ 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 Yt } from "@das-fed/utils/nextTiken";
32
- import { mainAppFramework as zt } from "@das-fed/web/packages/main-app-framework/index";
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
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";
@@ -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({}), qt = E("zh-CN"), ha = "dasI18n", ho = (t, e) => {
95
+ }, mr = Ne({}), vr = Ne({}), Jt = 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[qt.value];
112
- return qt.value === "zh-CN" && n["zh-cn"] && !n["zh-CN"] && (o = n["zh-cn"]), e.map((r, s) => {
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) => {
113
113
  o = o.replace(`$${s}`, r);
114
114
  }), o;
115
115
  }), ma = ga, Qg = (t, ...e) => ma(t, ...e).value, jg = (t) => {
116
- qt.value = t;
117
- }, Ng = () => qt, it = E("light"), yt = E({
116
+ Jt.value = t;
117
+ }, Ng = () => Jt, it = E("light"), yt = E({
118
118
  light: {},
119
119
  dark: {}
120
120
  }), wt = E({
@@ -582,8 +582,8 @@ const go = (t, e) => {
582
582
  app: F
583
583
  } = _;
584
584
  ca(I);
585
- let z = !0, ie = !0, Ce = !0;
586
- (C === !1 || T === !1 || T === "false") && (z = !1, ie = !1, Ce = !1), (S === !1 || D === !1 || D === "false") && (ie = !1), (P === !1 || O === !1 || O === "false") && (Ce = !1), o.value = z, r.value = ie, s.value = Ce;
585
+ let z = !0, ae = !0, Ce = !0;
586
+ (C === !1 || T === !1 || T === "false") && (z = !1, ae = !1, Ce = !1), (S === !1 || D === !1 || D === "false") && (ae = !1), (P === !1 || O === !1 || O === "false") && (Ce = !1), o.value = z, r.value = ae, s.value = Ce;
587
587
  }
588
588
  );
589
589
  const y = H(() => ({
@@ -905,7 +905,7 @@ const go = (t, e) => {
905
905
  "on:toggleFullScreen": u
906
906
  }), null, 16, qa)) : j("v-if", !0);
907
907
  }
908
- }), mo = E("/das-micro-app"), de = E([]), Nt = E(!1), xt = E([]), Qt = E(!0);
908
+ }), mo = E("/das-micro-app"), de = E([]), Ht = E(!1), Qt = E([]), jt = E(!0);
909
909
  let Te = null, Ee = null, rt = null;
910
910
  const st = (t, e, n) => {
911
911
  var r, s, a, c;
@@ -969,7 +969,7 @@ const st = (t, e, n) => {
969
969
  );
970
970
  }, ee = {
971
971
  loadMicroApp: (t) => {
972
- Nt.value = !0;
972
+ Ht.value = !0;
973
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;
974
974
  if (!o) {
975
975
  n && (n.actived = !1);
@@ -997,7 +997,7 @@ const st = (t, e, n) => {
997
997
  }));
998
998
  },
999
999
  hideAllMicroApp: () => {
1000
- Nt.value = !1, de.value.map((t) => {
1000
+ Ht.value = !1, de.value.map((t) => {
1001
1001
  t.actived = !1;
1002
1002
  });
1003
1003
  },
@@ -1006,7 +1006,7 @@ const st = (t, e, n) => {
1006
1006
  e && (e.loaded = !1, e.actived = !1, e.dom = void 0);
1007
1007
  },
1008
1008
  unloadAllMicroApp: () => {
1009
- Nt.value = !1, de.value.map((t) => {
1009
+ Ht.value = !1, de.value.map((t) => {
1010
1010
  t.loaded = !1, t.actived = !1, t.dom = void 0;
1011
1011
  });
1012
1012
  },
@@ -1349,7 +1349,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1349
1349
  } }
1350
1350
  },
1351
1351
  setup(t) {
1352
- const e = t, n = H(() => !Nt.value), o = H(() => ({
1352
+ const e = t, n = H(() => !Ht.value), o = H(() => ({
1353
1353
  "enter-active-class": "animate__animated animate__fadeInLeft",
1354
1354
  ...e.transitionConfig
1355
1355
  })), r = H(() => ({ showLayout: e.showLayout, showAside: e.showAside, showTabs: e.showTabs }));
@@ -1472,10 +1472,10 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1472
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();
1473
1473
  }), ee.addEventListenerFromMainApp("route", (a) => {
1474
1474
  const { cmd: c, path: l } = a.data;
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 = [];
1475
+ c === "reload" && (Qt.value.push(l), jt.value = !1, setTimeout(() => {
1476
+ jt.value = !0, Qt.value = [];
1477
+ }, 300)), c === "unload" && (Qt.value.push(l), jt.value = !1, setTimeout(() => {
1478
+ jt.value = !0, Qt.value = [];
1479
1479
  }, 100));
1480
1480
  });
1481
1481
  }, Ct = "/", je = "/application", br = [
@@ -1677,7 +1677,7 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1677
1677
  class: "desc-item"
1678
1678
  }, [
1679
1679
  ye(
1680
- se(r),
1680
+ re(r),
1681
1681
  1
1682
1682
  /* TEXT */
1683
1683
  )
@@ -1700,9 +1700,9 @@ const di = ["src", "entry", "name"], pi = /* @__PURE__ */ ne({
1700
1700
  const r = document.createElement("div");
1701
1701
  r.setAttribute("id", "entry-app-dialog"), document.body.appendChild(r);
1702
1702
  const a = he(Ei, { title: t, content: e, desc: n, closeCallback: () => {
1703
- Ft(null, r), document.body.removeChild(r), o(null);
1703
+ Vt(null, r), document.body.removeChild(r), o(null);
1704
1704
  } });
1705
- Ft(a, r);
1705
+ Vt(a, r);
1706
1706
  });
1707
1707
  Ss(bi);
1708
1708
  const Si = "data:image/png;base64,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", ki = "data:image/png;base64,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", Pi = (t = {}) => {
@@ -1829,7 +1829,7 @@ const Si = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
1829
1829
  if (e.exitConfirmPages.includes(n) && !window.confirm("切换后已录入的数据将会丢失且不可恢复,确定切换?"))
1830
1830
  throw new Error("取消切换");
1831
1831
  }
1832
- }, Ht = (t, e) => {
1832
+ }, Ut = (t, e) => {
1833
1833
  if (!e || !e.length) return;
1834
1834
  const n = JSON.parse(sessionStorage.getItem(t) || "{}");
1835
1835
  if (n && JSON.stringify(n) !== "{}" && n != null && n.closeTabPageConfirm && n.closeTabPageConfirm.length) {
@@ -1850,7 +1850,7 @@ const Si = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
1850
1850
  return t ? { tenantConfig: null } : (Li(e), { tenantConfig: e });
1851
1851
  }, Ki = async () => {
1852
1852
  const [t, e] = await zi().run({
1853
- userId: Zt().id,
1853
+ userId: Yt().id,
1854
1854
  pageSize: 20,
1855
1855
  pageIndex: 1
1856
1856
  });
@@ -1866,7 +1866,7 @@ function Yi() {
1866
1866
  function kr(t, e) {
1867
1867
  return t === e || t !== t && e !== e;
1868
1868
  }
1869
- function en(t, e) {
1869
+ function tn(t, e) {
1870
1870
  for (var n = t.length; n--; )
1871
1871
  if (kr(t[n][0], e))
1872
1872
  return n;
@@ -1874,21 +1874,21 @@ function en(t, e) {
1874
1874
  }
1875
1875
  var ec = Array.prototype, tc = ec.splice;
1876
1876
  function nc(t) {
1877
- var e = this.__data__, n = en(e, t);
1877
+ var e = this.__data__, n = tn(e, t);
1878
1878
  if (n < 0)
1879
1879
  return !1;
1880
1880
  var o = e.length - 1;
1881
1881
  return n == o ? e.pop() : tc.call(e, n, 1), --this.size, !0;
1882
1882
  }
1883
1883
  function oc(t) {
1884
- var e = this.__data__, n = en(e, t);
1884
+ var e = this.__data__, n = tn(e, t);
1885
1885
  return n < 0 ? void 0 : e[n][1];
1886
1886
  }
1887
1887
  function rc(t) {
1888
- return en(this.__data__, t) > -1;
1888
+ return tn(this.__data__, t) > -1;
1889
1889
  }
1890
1890
  function sc(t, e) {
1891
- var n = this.__data__, o = en(n, t);
1891
+ var n = this.__data__, o = tn(n, t);
1892
1892
  return o < 0 ? (++this.size, n.push([t, e])) : n[o][1] = e, this;
1893
1893
  }
1894
1894
  function He(t) {
@@ -2033,22 +2033,22 @@ function qc(t) {
2033
2033
  var e = typeof t;
2034
2034
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
2035
2035
  }
2036
- function tn(t, e) {
2036
+ function nn(t, e) {
2037
2037
  var n = t.__data__;
2038
2038
  return qc(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
2039
2039
  }
2040
2040
  function Jc(t) {
2041
- var e = tn(this, t).delete(t);
2041
+ var e = nn(this, t).delete(t);
2042
2042
  return this.size -= e ? 1 : 0, e;
2043
2043
  }
2044
2044
  function Kc(t) {
2045
- return tn(this, t).get(t);
2045
+ return nn(this, t).get(t);
2046
2046
  }
2047
2047
  function Gc(t) {
2048
- return tn(this, t).has(t);
2048
+ return nn(this, t).has(t);
2049
2049
  }
2050
2050
  function Xc(t, e) {
2051
- var n = tn(this, t), o = n.size;
2051
+ var n = nn(this, t), o = n.size;
2052
2052
  return n.set(t, e), this.size += n.size == o ? 0 : 1, this;
2053
2053
  }
2054
2054
  function gt(t) {
@@ -2108,7 +2108,7 @@ function Or(t, e, n) {
2108
2108
  var o = t[e];
2109
2109
  (!(nl.call(t, e) && kr(o, n)) || n === void 0 && !(e in t)) && Dr(t, e, n);
2110
2110
  }
2111
- function nn(t, e, n, o) {
2111
+ function on(t, e, n, o) {
2112
2112
  var r = !n;
2113
2113
  n || (n = {});
2114
2114
  for (var s = -1, a = e.length; ++s < a; ) {
@@ -2200,7 +2200,7 @@ function qn(t) {
2200
2200
  return Hr(t) ? jr(t) : Jl(t);
2201
2201
  }
2202
2202
  function Kl(t, e) {
2203
- return t && nn(e, qn(e), t);
2203
+ return t && on(e, qn(e), t);
2204
2204
  }
2205
2205
  function Gl(t) {
2206
2206
  var e = [];
@@ -2222,7 +2222,7 @@ function Jn(t) {
2222
2222
  return Hr(t) ? jr(t, !0) : Yl(t);
2223
2223
  }
2224
2224
  function eu(t, e) {
2225
- return t && nn(e, Jn(e), t);
2225
+ return t && on(e, Jn(e), t);
2226
2226
  }
2227
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;
2228
2228
  function nu(t, e) {
@@ -2253,7 +2253,7 @@ var su = Object.prototype, au = su.propertyIsEnumerable, Mo = Object.getOwnPrope
2253
2253
  }));
2254
2254
  } : Fr;
2255
2255
  function iu(t, e) {
2256
- return nn(t, Kn(t), e);
2256
+ return on(t, Kn(t), e);
2257
2257
  }
2258
2258
  function Vr(t, e) {
2259
2259
  for (var n = -1, o = e.length, r = t.length; ++n < o; )
@@ -2266,7 +2266,7 @@ var Wr = Nr(Object.getPrototypeOf, Object), cu = Object.getOwnPropertySymbols, z
2266
2266
  return e;
2267
2267
  } : Fr;
2268
2268
  function lu(t, e) {
2269
- return nn(t, zr(t), e);
2269
+ return on(t, zr(t), e);
2270
2270
  }
2271
2271
  function qr(t, e, n) {
2272
2272
  var o = e(t);
@@ -2384,7 +2384,7 @@ function Zu(t) {
2384
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 = {};
2385
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;
2386
2386
  K[ad] = K[Kr] = K[hd] = !1;
2387
- function Ut(t, e, n, o, r, s) {
2387
+ function Ft(t, e, n, o, r, s) {
2388
2388
  var a, c = e & ed, l = e & td, i = e & nd;
2389
2389
  if (a !== void 0)
2390
2390
  return a;
@@ -2412,34 +2412,34 @@ function Ut(t, e, n, o, r, s) {
2412
2412
  if (h)
2413
2413
  return h;
2414
2414
  s.set(t, a), Yu(t) ? t.forEach(function(g) {
2415
- a.add(Ut(g, e, n, g, t, s));
2415
+ a.add(Ft(g, e, n, g, t, s));
2416
2416
  }) : Gu(t) && t.forEach(function(g, p) {
2417
- a.set(p, Ut(g, e, n, p, t, s));
2417
+ a.set(p, Ft(g, e, n, p, t, s));
2418
2418
  });
2419
2419
  var b = i ? l ? du : uu : l ? Jn : qn, y = u ? void 0 : b(t);
2420
2420
  return el(y || t, function(g, p) {
2421
- y && (p = g, g = t[p]), Or(a, p, Ut(g, e, n, p, t, s));
2421
+ y && (p = g, g = t[p]), Or(a, p, Ft(g, e, n, p, t, s));
2422
2422
  }), a;
2423
2423
  }
2424
2424
  var Ed = 1, Sd = 4;
2425
2425
  function dt(t) {
2426
- return Ut(t, Ed | Sd);
2426
+ return Ft(t, Ed | Sd);
2427
2427
  }
2428
- const Jt = (t, e = "") => {
2428
+ const Kt = (t, e = "") => {
2429
2429
  for (let n of t)
2430
2430
  if (!(n != null && n.disable) && !(n != null && n.expired))
2431
2431
  if (e) {
2432
2432
  if (n.routeUrl && n.code === e)
2433
2433
  return n;
2434
2434
  if (n.children && n.children.length) {
2435
- const o = Jt(n.children, e);
2435
+ const o = Kt(n.children, e);
2436
2436
  if (o) return o;
2437
2437
  }
2438
2438
  } else {
2439
2439
  if (n.routeUrl)
2440
2440
  return n;
2441
2441
  if (n.children && n.children.length) {
2442
- const o = Jt(n.children, e);
2442
+ const o = Kt(n.children, e);
2443
2443
  if (o) return o;
2444
2444
  }
2445
2445
  }
@@ -2573,7 +2573,7 @@ const Jt = (t, e = "") => {
2573
2573
  query: { ...r.query, app: c }
2574
2574
  };
2575
2575
  }
2576
- let f = Jt(l, n);
2576
+ let f = Kt(l, n);
2577
2577
  if (!f) {
2578
2578
  if (!s || !a)
2579
2579
  return { menuConfig: l, currentApp: null, currentMenu: null, query: { ...r.query, app: c } };
@@ -2660,14 +2660,14 @@ const Jt = (t, e = "") => {
2660
2660
  }, Zr = E(null), zd = async () => {
2661
2661
  const [t, e] = await Ud().run();
2662
2662
  return t ? { homeConfig: null } : (e && ($i(e), Zr.value = e), { homeConfig: e });
2663
- }, Kt = E(1), Yr = async () => {
2663
+ }, Gt = E(1), Yr = async () => {
2664
2664
  const [t, e] = await Fd().run();
2665
- return t ? { personalMenuConfig: null } : (Kt.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
2665
+ return t ? { personalMenuConfig: null } : (Gt.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
2666
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({
2667
2667
  __name: "index",
2668
2668
  setup(t, { expose: e }) {
2669
2669
  const n = E(!1), o = E(!1), r = E(!1), s = E(!1), a = () => {
2670
- o.value = Kt.value === 1, r.value = Kt.value === 2, n.value = !0;
2670
+ o.value = Gt.value === 1, r.value = Gt.value === 2, n.value = !0;
2671
2671
  }, c = (i) => {
2672
2672
  i === 1 ? r.value = !1 : o.value = !1;
2673
2673
  }, l = async () => {
@@ -2717,7 +2717,7 @@ const Jt = (t, e = "") => {
2717
2717
  B(
2718
2718
  "p",
2719
2719
  Gd,
2720
- se(m(N)("侧边菜单栏").value),
2720
+ re(m(N)("侧边菜单栏").value),
2721
2721
  1
2722
2722
  /* TEXT */
2723
2723
  ),
@@ -2736,7 +2736,7 @@ const Jt = (t, e = "") => {
2736
2736
  }, {
2737
2737
  default: x(() => [
2738
2738
  ye(
2739
- se(m(N)("弹出式菜单栏").value),
2739
+ re(m(N)("弹出式菜单栏").value),
2740
2740
  1
2741
2741
  /* TEXT */
2742
2742
  )
@@ -2759,7 +2759,7 @@ const Jt = (t, e = "") => {
2759
2759
  }, {
2760
2760
  default: x(() => [
2761
2761
  ye(
2762
- se(m(N)("内嵌式菜单栏").value),
2762
+ re(m(N)("内嵌式菜单栏").value),
2763
2763
  1
2764
2764
  /* TEXT */
2765
2765
  )
@@ -2782,7 +2782,7 @@ const Jt = (t, e = "") => {
2782
2782
  Di(i), Qs(i);
2783
2783
  }, n = async () => {
2784
2784
  const [a, c] = await ap().run({ userId: cr().id });
2785
- a || !c || JSON.stringify(c) === "{}" || (Vt.open({
2785
+ a || !c || JSON.stringify(c) === "{}" || (Wt.open({
2786
2786
  key: "loginTip",
2787
2787
  message: "上次登录信息",
2788
2788
  placement: "bottomRight",
@@ -2861,7 +2861,7 @@ const Jt = (t, e = "") => {
2861
2861
  // 树打平之后保留的数据
2862
2862
  filterFlatCondition: (T) => T.type === 7
2863
2863
  }), R.nav.setProjects(g || []), p && R.nav.setActiveProject(p));
2864
- const C = Zt() ?? {}, S = C != null && C.headPicture ? On(C.headPicture) : void 0;
2864
+ const C = Yt() ?? {}, S = C != null && C.headPicture ? On(C.headPicture) : void 0;
2865
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({
2866
2866
  getHistoryList: r,
2867
2867
  getSearchList: s
@@ -2892,10 +2892,10 @@ const Jt = (t, e = "") => {
2892
2892
  desc: n.menuExpirationExpiredInfo
2893
2893
  };
2894
2894
  }, up = () => {
2895
- const { entryMenu: t } = on();
2895
+ const { entryMenu: t } = rn();
2896
2896
  R.menu.addEventListener("onItemClick", async (e) => {
2897
2897
  ce.innerSet = !0;
2898
- const n = Oe(Wt(e.applicationCode)).filter((o) => !o.disable && !o.expired).find((o) => o.code === e.code);
2898
+ const n = Oe(zt(e.applicationCode)).filter((o) => !o.disable && !o.expired).find((o) => o.code === e.code);
2899
2899
  if (!(n && !n.routeUrl)) {
2900
2900
  if (!n) {
2901
2901
  const { title: o, content: r, desc: s } = await Zn(n);
@@ -2919,7 +2919,7 @@ const Jt = (t, e = "") => {
2919
2919
  const s = J();
2920
2920
  if (!((i = s.subAppList) != null && i.length) || s.subAppList.findIndex((u) => u.code === r.code) === -1) return;
2921
2921
  const l = (ve().tabMap[r.code] ?? []).map((u) => u.code);
2922
- l && l.length && Ht(r.code, l), e(r);
2922
+ l && l.length && Ut(r.code, l), e(r);
2923
2923
  });
2924
2924
  const { enter: o } = ht();
2925
2925
  return R.nav.addEventListener("fullScreenHandle", o), {};
@@ -2942,9 +2942,9 @@ const Jt = (t, e = "") => {
2942
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);
2943
2943
  }
2944
2944
  );
2945
- const { deleteApp: i } = vt(), { entryMenu: u } = on(), { reloadRoute: f, unloadRoute: d } = es(), h = (p) => {
2945
+ const { deleteApp: i } = vt(), { entryMenu: u } = rn(), { reloadRoute: f, unloadRoute: d } = es(), h = (p) => {
2946
2946
  var C;
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);
2947
+ const v = Oe(zt(p.applicationCode)).find((S) => S.code === p.code), _ = (((C = ve().tabMap) == null ? void 0 : C[p.applicationCode]) ?? []).find((S) => S.code === p.code);
2948
2948
  u({ currentMenu: v, route: { path: _.path, query: _.query ?? {} } });
2949
2949
  }, b = (p) => {
2950
2950
  if (!p || !p.length) return;
@@ -2957,7 +2957,7 @@ const Jt = (t, e = "") => {
2957
2957
  if (C === -1) return;
2958
2958
  const S = () => {
2959
2959
  var z;
2960
- let F = (((z = J().appcategorys) == null ? void 0 : z.map((ie) => ie.apps).flat()) ?? []).find((ie) => ie.code === v);
2960
+ let F = (((z = J().appcategorys) == null ? void 0 : z.map((ae) => ae.apps).flat()) ?? []).find((ae) => ae.code === v);
2961
2961
  F = { ...F, value: F.code, label: F.name }, i(F), R.nav.removeItem(v);
2962
2962
  };
2963
2963
  ({
@@ -2977,8 +2977,8 @@ const Jt = (t, e = "") => {
2977
2977
  path: `/${F.applicationPath}${F.path}`.replace(/\/\//g, "/"),
2978
2978
  query: F.query
2979
2979
  }), R.menu.setActiveItem(F.menuId), R.tab.setActiveItem(F.code);
2980
- const z = _.filter((ie) => ie.code !== O.value);
2981
- z.forEach((ie) => R.tab.removeItem(ie.code)), b(z), Ae([{ key: `tabMap:${v}`, value: [F] }]), h(F);
2980
+ const z = _.filter((ae) => ae.code !== O.value);
2981
+ z.forEach((ae) => R.tab.removeItem(ae.code)), b(z), Ae([{ key: `tabMap:${v}`, value: [F] }]), h(F);
2982
2982
  },
2983
2983
  right: async (O) => {
2984
2984
  const F = A.currentCode;
@@ -2987,7 +2987,7 @@ const Jt = (t, e = "") => {
2987
2987
  h(Ce);
2988
2988
  }
2989
2989
  const z = _.slice(C + 1);
2990
- z.forEach((ie) => R.tab.removeItem(ie.code)), b(z), _.splice(C + 1), Ae([{ key: `tabMap:${v}`, value: _ }]);
2990
+ z.forEach((ae) => R.tab.removeItem(ae.code)), b(z), _.splice(C + 1), Ae([{ key: `tabMap:${v}`, value: _ }]);
2991
2991
  }
2992
2992
  })[p.type](p.data);
2993
2993
  };
@@ -2995,7 +2995,7 @@ const Jt = (t, e = "") => {
2995
2995
  ve().currentCode !== p.currentCode && (ce.innerSet = !0, h(p));
2996
2996
  }), R.tab.addEventListener("onItemRemove", (p) => {
2997
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 }));
2998
+ v.tabMap[A].findIndex((S) => S.code === p.code) !== -1 && (Ut(p.applicationCode, [p.code]), y({ type: "me", data: p }));
2999
2999
  }), R.tab.addEventListener("onMenuClick", (p) => {
3000
3000
  let v = [];
3001
3001
  const A = ve().tabMap[p.applicationCode] ?? [];
@@ -3003,14 +3003,14 @@ const Jt = (t, e = "") => {
3003
3003
  const _ = A.findIndex((C) => C.code === p.data.value);
3004
3004
  v = A.slice(_ + 1);
3005
3005
  }
3006
- p.type.key === "other" && (v = A.filter((_) => _.code !== p.data.value)), p.type.key === "all" && (v = [...A]), Ht(
3006
+ p.type.key === "other" && (v = A.filter((_) => _.code !== p.data.value)), p.type.key === "all" && (v = [...A]), Ut(
3007
3007
  p.applicationCode,
3008
3008
  v.map((_) => _.code)
3009
3009
  ), y({ type: p.type.key, data: p.data });
3010
3010
  }), R.tab.addEventListener("onPageRefresh", async (p) => {
3011
3011
  if (!p || p.path === ct) return;
3012
- Ht(p.applicationCode, [p.code]);
3013
- const v = Oe(Wt(p.applicationCode)).find((C) => C.code === p.code);
3012
+ Ut(p.applicationCode, [p.code]);
3013
+ const v = Oe(zt(p.applicationCode)).find((C) => C.code === p.code);
3014
3014
  if (!v) return;
3015
3015
  if (v.routeUrl !== p.path) {
3016
3016
  f([p.path]), d([`/${p.applicationPath}${v.routeUrl}`]), await u({ currentMenu: v });
@@ -3043,7 +3043,7 @@ const Jt = (t, e = "") => {
3043
3043
  t(), window.__isAutoCloseApp = !1, window.location.replace(`${location.origin}/`);
3044
3044
  });
3045
3045
  }, vt = () => {
3046
- const t = Ye(), { entryMenu: e } = on(), { unloadRoute: n } = es();
3046
+ const t = Ye(), { entryMenu: e } = rn(), { unloadRoute: n } = es();
3047
3047
  let { mainAppName: o = "", microAppName: r = "", microApps: s = [] } = tt();
3048
3048
  !o && r && (s = [{ name: r }]);
3049
3049
  const a = s.map((d) => d.name), c = () => {
@@ -3057,15 +3057,15 @@ const Jt = (t, e = "") => {
3057
3057
  if (S) return !1;
3058
3058
  g = _ ?? [], p = C ?? [];
3059
3059
  }
3060
- if (g.length ? Jt(g) || (await Et({ title: "提示", content: "此应用菜单已过期/已收回/配置有误<br/>无法使用" }), v = !0) : (await Et({ title: "提示", content: "此应用未配置菜单/无菜单权限<br/>无法使用" }), v = !0), v) return !1;
3060
+ if (g.length ? Kt(g) || (await Et({ title: "提示", content: "此应用菜单已过期/已收回/配置有误<br/>无法使用" }), v = !0) : (await Et({ title: "提示", content: "此应用未配置菜单/无菜单权限<br/>无法使用" }), v = !0), v) return !1;
3061
3061
  const A = { ...d, menus: g, originalMenus: p };
3062
3062
  return Se([{ key: "subAppList", value: A }]), !0;
3063
3063
  }, i = async (d) => {
3064
- var F, z, ie, Ce;
3064
+ var F, z, ae, Ce, Rt;
3065
3065
  const { microApp: h = null, menuCode: b = "", menuPath: y = "", route: g = {} } = d;
3066
3066
  let p = g;
3067
3067
  if (!h && y) {
3068
- if (c(), !(a && a.find((ue) => y.startsWith("/" + ue) || y.startsWith(ue)))) return;
3068
+ if (c(), !(a && a.find((ie) => y.startsWith("/" + ie) || y.startsWith(ie)))) return;
3069
3069
  await t.push({ path: y, query: p.query });
3070
3070
  return;
3071
3071
  }
@@ -3075,26 +3075,26 @@ const Jt = (t, e = "") => {
3075
3075
  const _ = (h == null ? void 0 : h.openType) ?? 1, C = (h == null ? void 0 : h.type) ?? 1;
3076
3076
  if (h.routeUrl && !a.includes(h.routeUrl)) {
3077
3077
  c();
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([
3078
+ const pe = ((ae = J()) == null ? void 0 : ae.subAppList) ?? [];
3079
+ if ((pe == null ? void 0 : pe.find((ue) => ue.code === h.code)) || pe == null || pe.push(h), Se([
3080
3080
  { key: "currentSubApp", value: h },
3081
3081
  { key: "currentSubAppCode", value: h.code },
3082
3082
  { key: "subAppList", value: pe }
3083
- ]), pe.forEach((oe) => {
3084
- const ze = { ...oe, value: oe.code, label: oe.name };
3083
+ ]), pe.forEach((ue) => {
3084
+ const ze = { ...ue, value: ue.code, label: ue.name };
3085
3085
  R.nav.appendItem(ze);
3086
3086
  }), R.nav.setActiveItem(h.code), h.routeUrl.includes("entrance=main")) {
3087
3087
  await t.push({ path: h.routeUrl, query: { ...p.query, app: h.code } });
3088
3088
  return;
3089
3089
  }
3090
3090
  if (_ === 1 && C === 2) {
3091
- const oe = En(_n(bn(h.routeUrl)));
3091
+ const ue = En(_n(bn(h.routeUrl)));
3092
3092
  await t.push({
3093
3093
  path: ct,
3094
3094
  query: {
3095
3095
  ...p.query,
3096
3096
  app: h.code,
3097
- iframeSrc: oe
3097
+ iframeSrc: ue
3098
3098
  }
3099
3099
  });
3100
3100
  return;
@@ -3113,8 +3113,8 @@ const Jt = (t, e = "") => {
3113
3113
  meta: { ...(p == null ? void 0 : p.meta) ?? {} }
3114
3114
  }), P && (P == null ? void 0 : P.code) !== (h == null ? void 0 : h.code)) {
3115
3115
  if (P.fixed && (await t.push(P.path), c(), R.nav.setActiveItem(P.path)), !P.fixed) {
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 } });
3116
+ const pe = (Ce = J().subAppList) == null ? void 0 : Ce.find((ze) => ze.code === P.code), ie = ve().preTab[P.code], ue = { ...(ie == null ? void 0 : ie.query) ?? {} };
3117
+ await i({ microApp: pe, menuCode: (ie == null ? void 0 : ie.code) ?? "", route: { query: ue } });
3118
3118
  }
3119
3119
  return;
3120
3120
  }
@@ -3130,21 +3130,18 @@ const Jt = (t, e = "") => {
3130
3130
  return;
3131
3131
  }
3132
3132
  if (v && A) {
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);
3133
+ (Rt = J().subAppList) == null || Rt.forEach((ie) => {
3134
+ const ue = { ...ie, value: ie.code, label: ie.name };
3135
+ R.nav.appendItem(ue);
3136
+ }), R.nav.setActiveItem(O.code), R.menu.setItems(S);
3140
3137
  const pe = ve().tabMap[O.code] ?? [];
3141
3138
  if (pe.length) {
3142
- const ue = pe.map((oe) => ({
3143
- ...oe,
3144
- value: oe.code,
3145
- label: oe.name
3139
+ const ie = pe.map((ue) => ({
3140
+ ...ue,
3141
+ value: ue.code,
3142
+ label: ue.name
3146
3143
  })) || [];
3147
- R.tab.setItems(ue);
3144
+ R.tab.setItems(ie);
3148
3145
  }
3149
3146
  }
3150
3147
  e({ currentMenu: I, microPath: T, route: p });
@@ -3195,7 +3192,7 @@ const Jt = (t, e = "") => {
3195
3192
  }
3196
3193
  }
3197
3194
  };
3198
- }, on = () => {
3195
+ }, rn = () => {
3199
3196
  const t = Ye();
3200
3197
  let { mainAppName: e = "", microAppName: n = "", microApps: o = [] } = tt();
3201
3198
  return !e && n && (o = [{ name: n }]), o.map((s) => s.name), { entryMenu: async (s) => {
@@ -3415,7 +3412,7 @@ const Jt = (t, e = "") => {
3415
3412
  };
3416
3413
  }, mp = dr.get("/convert/tenant"), vp = Rn.get("/platform/withdefault"), ts = () => {
3417
3414
  const t = tt(), e = E(!1), n = E(""), o = E(""), r = () => {
3418
- n.value = Zt().id, o.value = cr().tenantId, e.value = !0;
3415
+ n.value = Yt().id, o.value = cr().tenantId, e.value = !0;
3419
3416
  };
3420
3417
  R.nav.addEventListener("changeEnterpriseHandle", () => {
3421
3418
  r();
@@ -3505,7 +3502,7 @@ const Jt = (t, e = "") => {
3505
3502
  }), Tp = () => {
3506
3503
  Le.addEventListenerFromMicroApp("iot:change-instance", (t) => {
3507
3504
  const e = J(), n = e.currentSubAppCode;
3508
- let o = Wt(n);
3505
+ let o = zt(n);
3509
3506
  o.forEach((s) => {
3510
3507
  s.fixed && (s.name = t.data.instanceInfo.instanceName);
3511
3508
  }), R.menu.setItems(o);
@@ -3543,7 +3540,7 @@ const Jt = (t, e = "") => {
3543
3540
  Ys();
3544
3541
  });
3545
3542
  }, kp = Qn.get("/platform/login/pwd-advance-notify-check"), Pp = () => {
3546
- const t = E([]), e = E(null), n = E([]), { entryApp: o } = zt.hooks.useEntryApp(), r = () => {
3543
+ const t = E([]), e = E(null), n = E([]), { entryApp: o } = qt.hooks.useEntryApp(), r = () => {
3547
3544
  var l;
3548
3545
  const c = (((l = J().appcategorys) == null ? void 0 : l.map((i) => i.apps).flat()) ?? []).find((i) => i.code === "messagecenter");
3549
3546
  c && o({ microApp: c });
@@ -3559,8 +3556,8 @@ const Jt = (t, e = "") => {
3559
3556
  const l = Fe().id;
3560
3557
  t.value = a.filter(
3561
3558
  (i) => i.projectId === l || i.projectId === 0 || i.projectId === "0"
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({
3559
+ ), n.value && n.value.length && (n.value.forEach((i) => Wt.close(i)), n.value = []), await Qe(), t.value.forEach((i, u) => {
3560
+ Wt.info({
3564
3561
  key: i.id,
3565
3562
  class: "message-center-notify",
3566
3563
  message: i.title,
@@ -3591,8 +3588,8 @@ const Jt = (t, e = "") => {
3591
3588
  });
3592
3589
  };
3593
3590
  Ve(async () => {
3594
- await Yt(), s();
3595
- }), Xt(() => {
3591
+ await en(), s();
3592
+ }), Zt(() => {
3596
3593
  e.value && e.value.disconnect(), e.value = null;
3597
3594
  });
3598
3595
  }, 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");
@@ -3897,7 +3894,7 @@ const Bp = $p.post("data/device-auth"), Rp = /* @__PURE__ */ ne({
3897
3894
  B(
3898
3895
  "div",
3899
3896
  qp,
3900
- se(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
3897
+ re(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
3901
3898
  1
3902
3899
  /* TEXT */
3903
3900
  )
@@ -4182,9 +4179,9 @@ const nf = /* @__PURE__ */ ne({
4182
4179
  let r = document.body.querySelector("#video-dialog");
4183
4180
  r || (r = document.createElement("div"), r.setAttribute("id", "video-dialog-container"), document.body.appendChild(r));
4184
4181
  const a = he(nf, { gridNum: e, deviceList: n, closeCallback: () => {
4185
- Ft(null, r), document.body.removeChild(r), o(null);
4182
+ Vt(null, r), document.body.removeChild(r), o(null);
4186
4183
  } });
4187
- Ft(a, r);
4184
+ Vt(a, r);
4188
4185
  });
4189
4186
  }, rf = () => {
4190
4187
  const t = E(4), e = E([]), n = E(null), o = async (s) => {
@@ -4224,8 +4221,8 @@ const nf = /* @__PURE__ */ ne({
4224
4221
  }));
4225
4222
  };
4226
4223
  return Ve(async () => {
4227
- await Yt(), r();
4228
- }), Xt(() => {
4224
+ await en(), r();
4225
+ }), Zt(() => {
4229
4226
  n.value && n.value.disconnect(), n.value = null;
4230
4227
  }), {
4231
4228
  gridNum: t,
@@ -4324,7 +4321,7 @@ class rs {
4324
4321
  this.statusCode = e, this.statusText = n, this.content = o;
4325
4322
  }
4326
4323
  }
4327
- class rn {
4324
+ class sn {
4328
4325
  get(e, n) {
4329
4326
  return this.send({
4330
4327
  ...n,
@@ -4370,7 +4367,7 @@ class Pt {
4370
4367
  }
4371
4368
  Pt.instance = new Pt();
4372
4369
  const uf = "8.0.7";
4373
- class ae {
4370
+ class se {
4374
4371
  static isRequired(e, n) {
4375
4372
  if (e == null)
4376
4373
  throw new Error(`The '${n}' argument is required.`);
@@ -4432,7 +4429,7 @@ async function ss(t, e, n, o, r, s) {
4432
4429
  t.log(w.Trace, `(${e} transport) request complete. Response status: ${u.statusCode}.`);
4433
4430
  }
4434
4431
  function pf(t) {
4435
- return t === void 0 ? new Gt(w.Information) : t === null ? Pt.instance : t.log !== void 0 ? t : new Gt(t);
4432
+ return t === void 0 ? new Xt(w.Information) : t === null ? Pt.instance : t.log !== void 0 ? t : new Xt(t);
4436
4433
  }
4437
4434
  class ff {
4438
4435
  constructor(e, n) {
@@ -4444,7 +4441,7 @@ class ff {
4444
4441
  });
4445
4442
  }
4446
4443
  }
4447
- class Gt {
4444
+ class Xt {
4448
4445
  constructor(e) {
4449
4446
  this._minLevel = e, this.out = console;
4450
4447
  }
@@ -4514,7 +4511,7 @@ function Af() {
4514
4511
  return global;
4515
4512
  throw new Error("could not find global");
4516
4513
  }
4517
- class yf extends rn {
4514
+ class yf extends sn {
4518
4515
  constructor(e) {
4519
4516
  if (super(), this._logger = e, typeof fetch > "u" || te.isNode) {
4520
4517
  const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
@@ -4599,7 +4596,7 @@ function Yo(t, e) {
4599
4596
  }
4600
4597
  return n;
4601
4598
  }
4602
- class wf extends rn {
4599
+ class wf extends sn {
4603
4600
  constructor(e) {
4604
4601
  super(), this._logger = e;
4605
4602
  }
@@ -4623,7 +4620,7 @@ class wf extends rn {
4623
4620
  }) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
4624
4621
  }
4625
4622
  }
4626
- class _f extends rn {
4623
+ class _f extends sn {
4627
4624
  /** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
4628
4625
  constructor(e) {
4629
4626
  if (super(), typeof fetch < "u" || te.isNode)
@@ -4818,7 +4815,7 @@ class eo {
4818
4815
  constructor(e, n, o, r, s, a, c) {
4819
4816
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
4820
4817
  this._logger.log(w.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");
4821
- }, ae.isRequired(e, "connection"), ae.isRequired(n, "logger"), ae.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = s ?? Ef, this.keepAliveIntervalInMilliseconds = a ?? Sf, this._statefulReconnectBufferSize = c ?? kf, this._logger = n, this._protocol = o, this.connection = e, this._reconnectPolicy = r, this._handshakeProtocol = new bf(), this.connection.onreceive = (l) => this._processIncomingData(l), this.connection.onclose = (l) => this._connectionClosed(l), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = Y.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: U.Ping });
4818
+ }, se.isRequired(e, "connection"), se.isRequired(n, "logger"), se.isRequired(o, "protocol"), this.serverTimeoutInMilliseconds = s ?? Ef, this.keepAliveIntervalInMilliseconds = a ?? Sf, this._statefulReconnectBufferSize = c ?? kf, this._logger = n, this._protocol = o, this.connection = e, this._reconnectPolicy = r, this._handshakeProtocol = new bf(), this.connection.onreceive = (l) => this._processIncomingData(l), this.connection.onclose = (l) => this._connectionClosed(l), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = Y.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: U.Ping });
4822
4819
  }
4823
4820
  /** Indicates the state of the {@link HubConnection} to the server. */
4824
4821
  get state() {
@@ -5321,7 +5318,7 @@ class Ge {
5321
5318
  }
5322
5319
  Ge.Authorization = "Authorization";
5323
5320
  Ge.Cookie = "Cookie";
5324
- class Lf extends rn {
5321
+ class Lf extends sn {
5325
5322
  constructor(e, n) {
5326
5323
  super(), this._innerClient = e, this._accessTokenFactory = n;
5327
5324
  }
@@ -5338,10 +5335,10 @@ class Lf extends rn {
5338
5335
  return this._innerClient.getCookieString(e);
5339
5336
  }
5340
5337
  }
5341
- var re;
5338
+ var oe;
5342
5339
  (function(t) {
5343
5340
  t[t.None = 0] = "None", t[t.WebSockets = 1] = "WebSockets", t[t.ServerSentEvents = 2] = "ServerSentEvents", t[t.LongPolling = 4] = "LongPolling";
5344
- })(re || (re = {}));
5341
+ })(oe || (oe = {}));
5345
5342
  var ge;
5346
5343
  (function(t) {
5347
5344
  t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
@@ -5369,7 +5366,7 @@ class tr {
5369
5366
  this._httpClient = e, this._logger = n, this._pollAbort = new $f(), this._options = o, this._running = !1, this.onreceive = null, this.onclose = null;
5370
5367
  }
5371
5368
  async connect(e, n) {
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")
5369
+ if (se.isRequired(e, "url"), se.isRequired(n, "transferFormat"), se.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
5370
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
5374
5371
  const [o, r] = pt(), s = { [o]: r, ...this._options.headers }, a = {
5375
5372
  abortSignal: this._pollAbort.signal,
@@ -5435,7 +5432,7 @@ class Df {
5435
5432
  this._httpClient = e, this._accessToken = n, this._logger = o, this._options = r, this.onreceive = null, this.onclose = null;
5436
5433
  }
5437
5434
  async connect(e, n) {
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) => {
5435
+ return se.isRequired(e, "url"), se.isRequired(n, "transferFormat"), se.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
5436
  let s = !1;
5440
5437
  if (n !== ge.Text) {
5441
5438
  r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
@@ -5485,7 +5482,7 @@ class Of {
5485
5482
  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
5483
  }
5487
5484
  async connect(e, n) {
5488
- ae.isRequired(e, "url"), ae.isRequired(n, "transferFormat"), ae.isIn(n, ge, "transferFormat"), this._logger.log(w.Trace, "(WebSockets transport) Connecting.");
5485
+ se.isRequired(e, "url"), se.isRequired(n, "transferFormat"), se.isIn(n, ge, "transferFormat"), this._logger.log(w.Trace, "(WebSockets transport) Connecting.");
5489
5486
  let o;
5490
5487
  return this._accessTokenFactory && (o = await this._accessTokenFactory()), new Promise((r, s) => {
5491
5488
  e = e.replace(/^http/, "ws");
@@ -5542,7 +5539,7 @@ const nr = 100;
5542
5539
  class Mf {
5543
5540
  constructor(e, n = {}) {
5544
5541
  if (this._stopPromiseResolver = () => {
5545
- }, this.features = {}, this._negotiateVersion = 1, ae.isRequired(e, "url"), this._logger = pf(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
5542
+ }, this.features = {}, this._negotiateVersion = 1, se.isRequired(e, "url"), this._logger = pf(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
5546
5543
  n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
5547
5544
  else
5548
5545
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
@@ -5555,7 +5552,7 @@ class Mf {
5555
5552
  !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
5553
  }
5557
5554
  async start(e) {
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")
5555
+ if (e = e || ge.Binary, se.isIn(e, ge, "transferFormat"), this._logger.log(w.Debug, `Starting connection with transfer format '${ge[e]}'.`), this._connectionState !== "Disconnected")
5559
5556
  return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
5560
5557
  if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
5561
5558
  const n = "Failed to start the HttpConnection before stop() was called.";
@@ -5599,8 +5596,8 @@ class Mf {
5599
5596
  this._accessTokenFactory = this._options.accessTokenFactory, this._httpClient._accessTokenFactory = this._accessTokenFactory;
5600
5597
  try {
5601
5598
  if (this._options.skipNegotiation)
5602
- if (this._options.transport === re.WebSockets)
5603
- this.transport = this._constructTransport(re.WebSockets), await this._startTransport(n, e);
5599
+ if (this._options.transport === oe.WebSockets)
5600
+ this.transport = this._constructTransport(oe.WebSockets), await this._startTransport(n, e);
5604
5601
  else
5605
5602
  throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");
5606
5603
  else {
@@ -5676,7 +5673,7 @@ class Mf {
5676
5673
  await this._startTransport(s, r), this.connectionId = l.connectionId;
5677
5674
  return;
5678
5675
  } catch (f) {
5679
- if (this._logger.log(w.Error, `Failed to start the transport '${i.transport}': ${f}`), l = void 0, a.push(new cf(`${i.transport} failed: ${f}`, re[i.transport])), this._connectionState !== "Connecting") {
5676
+ if (this._logger.log(w.Error, `Failed to start the transport '${i.transport}': ${f}`), l = void 0, a.push(new cf(`${i.transport} failed: ${f}`, oe[i.transport])), this._connectionState !== "Connecting") {
5680
5677
  const d = "Failed to select transport before stop() was called.";
5681
5678
  return this._logger.log(w.Debug, d), Promise.reject(new $e(d));
5682
5679
  }
@@ -5687,15 +5684,15 @@ class Mf {
5687
5684
  }
5688
5685
  _constructTransport(e) {
5689
5686
  switch (e) {
5690
- case re.WebSockets:
5687
+ case oe.WebSockets:
5691
5688
  if (!this._options.WebSocket)
5692
5689
  throw new Error("'WebSocket' is not supported in your environment.");
5693
5690
  return new Of(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
5694
- case re.ServerSentEvents:
5691
+ case oe.ServerSentEvents:
5695
5692
  if (!this._options.EventSource)
5696
5693
  throw new Error("'EventSource' is not supported in your environment.");
5697
5694
  return new Df(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
5698
- case re.LongPolling:
5695
+ case oe.LongPolling:
5699
5696
  return new tr(this._httpClient, this._logger, this._options);
5700
5697
  default:
5701
5698
  throw new Error(`Unknown transport: ${e}.`);
@@ -5718,23 +5715,23 @@ class Mf {
5718
5715
  } : this.transport.onclose = (o) => this._stopConnection(o), this.transport.connect(e, n);
5719
5716
  }
5720
5717
  _resolveTransportOrError(e, n, o, r) {
5721
- const s = re[e.transport];
5718
+ const s = oe[e.transport];
5722
5719
  if (s == null)
5723
5720
  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
5721
  if (Bf(n, s))
5725
5722
  if (e.transferFormats.map((c) => ge[c]).indexOf(o) >= 0) {
5726
- if (s === re.WebSockets && !this._options.WebSocket || s === re.ServerSentEvents && !this._options.EventSource)
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
- this._logger.log(w.Debug, `Selecting transport '${re[s]}'.`);
5723
+ if (s === oe.WebSockets && !this._options.WebSocket || s === oe.ServerSentEvents && !this._options.EventSource)
5724
+ return this._logger.log(w.Debug, `Skipping transport '${oe[s]}' because it is not supported in your environment.'`), new sf(`'${oe[s]}' is not supported in your environment.`, s);
5725
+ this._logger.log(w.Debug, `Selecting transport '${oe[s]}'.`);
5729
5726
  try {
5730
- return this.features.reconnect = s === re.WebSockets ? r : void 0, this._constructTransport(s);
5727
+ return this.features.reconnect = s === oe.WebSockets ? r : void 0, this._constructTransport(s);
5731
5728
  } catch (c) {
5732
5729
  return c;
5733
5730
  }
5734
5731
  } else
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]}.`);
5732
+ return this._logger.log(w.Debug, `Skipping transport '${oe[s]}' because it does not support the requested transfer format '${ge[o]}'.`), new Error(`'${oe[s]}' does not support ${ge[o]}.`);
5736
5733
  else
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);
5734
+ return this._logger.log(w.Debug, `Skipping transport '${oe[s]}' because it was disabled by the client.`), new af(`'${oe[s]}' is disabled by the client.`, s);
5738
5735
  }
5739
5736
  _isITransport(e) {
5740
5737
  return e && typeof e == "object" && "connect" in e;
@@ -5777,10 +5774,10 @@ function Bf(t, e) {
5777
5774
  }
5778
5775
  class to {
5779
5776
  constructor(e) {
5780
- this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new jt(), this._transportResult = new jt(), this._sendLoopPromise = this._sendLoop();
5777
+ this._transport = e, this._buffer = [], this._executing = !0, this._sendBufferedData = new Nt(), this._transportResult = new Nt(), this._sendLoopPromise = this._sendLoop();
5781
5778
  }
5782
5779
  send(e) {
5783
- return this._bufferData(e), this._transportResult || (this._transportResult = new jt()), this._transportResult.promise;
5780
+ return this._bufferData(e), this._transportResult || (this._transportResult = new Nt()), this._transportResult.promise;
5784
5781
  }
5785
5782
  stop() {
5786
5783
  return this._executing = !1, this._sendBufferedData.resolve(), this._sendLoopPromise;
@@ -5796,7 +5793,7 @@ class to {
5796
5793
  this._transportResult && this._transportResult.reject("Connection stopped.");
5797
5794
  break;
5798
5795
  }
5799
- this._sendBufferedData = new jt();
5796
+ this._sendBufferedData = new Nt();
5800
5797
  const e = this._transportResult;
5801
5798
  this._transportResult = void 0;
5802
5799
  const n = typeof this._buffer[0] == "string" ? this._buffer.join("") : to._concatBuffers(this._buffer);
@@ -5816,7 +5813,7 @@ class to {
5816
5813
  return o.buffer;
5817
5814
  }
5818
5815
  }
5819
- class jt {
5816
+ class Nt {
5820
5817
  constructor() {
5821
5818
  this.promise = new Promise((e, n) => [this._resolver, this._rejecter] = [e, n]);
5822
5819
  }
@@ -5928,17 +5925,17 @@ function jf(t) {
5928
5925
  }
5929
5926
  class Nf {
5930
5927
  configureLogging(e) {
5931
- if (ae.isRequired(e, "logging"), Hf(e))
5928
+ if (se.isRequired(e, "logging"), Hf(e))
5932
5929
  this.logger = e;
5933
5930
  else if (typeof e == "string") {
5934
5931
  const n = jf(e);
5935
- this.logger = new Gt(n);
5932
+ this.logger = new Xt(n);
5936
5933
  } else
5937
- this.logger = new Gt(e);
5934
+ this.logger = new Xt(e);
5938
5935
  return this;
5939
5936
  }
5940
5937
  withUrl(e, n) {
5941
- return ae.isRequired(e, "url"), ae.isNotEmpty(e, "url"), this.url = e, typeof n == "object" ? this.httpConnectionOptions = { ...this.httpConnectionOptions, ...n } : this.httpConnectionOptions = {
5938
+ return se.isRequired(e, "url"), se.isNotEmpty(e, "url"), this.url = e, typeof n == "object" ? this.httpConnectionOptions = { ...this.httpConnectionOptions, ...n } : this.httpConnectionOptions = {
5942
5939
  ...this.httpConnectionOptions,
5943
5940
  transport: n
5944
5941
  }, this;
@@ -5948,7 +5945,7 @@ class Nf {
5948
5945
  * @param {IHubProtocol} protocol The {@link @microsoft/signalr.IHubProtocol} implementation to use.
5949
5946
  */
5950
5947
  withHubProtocol(e) {
5951
- return ae.isRequired(e, "protocol"), this.protocol = e, this;
5948
+ return se.isRequired(e, "protocol"), this.protocol = e, this;
5952
5949
  }
5953
5950
  withAutomaticReconnect(e) {
5954
5951
  if (this.reconnectPolicy)
@@ -5960,14 +5957,14 @@ class Nf {
5960
5957
  * @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
5961
5958
  */
5962
5959
  withServerTimeout(e) {
5963
- return ae.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
5960
+ return se.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
5964
5961
  }
5965
5962
  /** Configures {@link @microsoft/signalr.HubConnection.keepAliveIntervalInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
5966
5963
  *
5967
5964
  * @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
5968
5965
  */
5969
5966
  withKeepAliveInterval(e) {
5970
- return ae.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
5967
+ return se.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
5971
5968
  }
5972
5969
  /** Enables and configures options for the Stateful Reconnect feature.
5973
5970
  *
@@ -5995,23 +5992,23 @@ let { baseURL: Uf } = tt();
5995
5992
  const Ff = () => {
5996
5993
  const t = new Nf().withUrl(`${Uf}/api/tool/event-bus`, {
5997
5994
  skipNegotiation: !0,
5998
- transport: re.WebSockets
5995
+ transport: oe.WebSockets
5999
5996
  }).withAutomaticReconnect().build();
6000
5997
  return t.start().then(() => {
6001
5998
  }).catch((e) => {
6002
5999
  }), t.onclose((e) => {
6003
6000
  }), t.onreconnected(() => {
6004
6001
  }), t;
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");
6002
+ }, 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");
6006
6003
  zf.post("/control/callBack");
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();
6004
+ const Jf = et(`/api/tool/event-bus/${an}/`), vn = Jf.post("/publish"), Kf = xn.get("/permissionset/application"), Gf = () => {
6005
+ const t = Dt(), { entryApp: e } = qt.hooks.useEntryApp(), { entryMenu: n } = qt.hooks.useEntryMenu();
6009
6006
  let o = null;
6010
6007
  return Ve(async () => {
6011
6008
  var p;
6012
6009
  let r = ((p = t.meta) == null ? void 0 : p.showLayout) ?? !0, { showLayout: s = !0 } = t.query;
6013
6010
  if (s === "false" && (s = !1), !r || !s) return;
6014
- await Yt();
6011
+ await en();
6015
6012
  const a = (v) => {
6016
6013
  try {
6017
6014
  return JSON.parse(v);
@@ -6101,10 +6098,10 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6101
6098
  }, 5e3), y.value = (window.navigator.onLine ? "on" : "off") + "line";
6102
6099
  };
6103
6100
  window.addEventListener("online", () => g("online")), window.addEventListener("offline", () => g("offline"));
6104
- }), Xt(() => {
6101
+ }), Zt(() => {
6105
6102
  o && clearInterval(o);
6106
6103
  }), {};
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 = {
6104
+ }, 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 = {
6108
6105
  name: "handleAlarm"
6109
6106
  }, mh = /* @__PURE__ */ ne({
6110
6107
  ...gh,
@@ -6182,7 +6179,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6182
6179
  O.value = k.data.filter((L) => L.status), O.value.length > 0 && (i.value.workOrderRules = O.value[0].id);
6183
6180
  };
6184
6181
  G(l, (M) => {
6185
- M || (oe(), ze());
6182
+ M || (ie(), ue());
6186
6183
  }), G(
6187
6184
  S,
6188
6185
  (M) => {
@@ -6199,19 +6196,19 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6199
6196
  const z = (M) => {
6200
6197
  var k;
6201
6198
  return (k = a.value) == null ? void 0 : k.parentNode.parentNode;
6202
- }, ie = (M) => {
6199
+ }, ae = (M) => {
6203
6200
  u.value.reportTheme = "";
6204
6201
  }, Ce = (M, k) => {
6205
6202
  k.length > 0 && (g.value = k[0].path), i.value.reportPosition = M, _.value = "";
6206
- }, pe = (M) => {
6203
+ }, Rt = (M) => {
6207
6204
  M && (u.value.reportPosition = "", g.value = ""), M ? (i.value.reportPosition = null, g.value = "", p.value = "告警对象位置") : (i.value.reportPosition = null, g.value = "", p.value = "请选择");
6208
- }, ue = (M) => {
6205
+ }, pe = (M) => {
6209
6206
  M && (u.value.reportTheme = ""), M ? (i.value.reportTheme = "", v.value = "告警对象") : (i.value.reportTheme = "", v.value = "请输入");
6210
- }, oe = () => {
6207
+ }, ie = () => {
6211
6208
  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
- }, ze = () => {
6209
+ }, ue = () => {
6213
6210
  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
- }, cn = (M) => {
6211
+ }, ze = (M) => {
6215
6212
  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
6213
  }, is = async () => {
6217
6214
  const [M, k] = await ah().run();
@@ -6223,9 +6220,9 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6223
6220
  }, [k, L] = await ih(M).run();
6224
6221
  if (k) return {};
6225
6222
  const ke = { 1: "一级", 2: "二级", 3: "三级", 4: "四级" };
6226
- h.value = L.map((Rt) => ({
6227
- id: `${Rt}`,
6228
- name: ke[Rt] ? ke[Rt] : Rt
6223
+ h.value = L.map((xt) => ({
6224
+ id: `${xt}`,
6225
+ name: ke[xt] ? ke[xt] : xt
6229
6226
  })), L.length && !i.value.eventLevelId && (i.value.eventLevelId = h.value[0].id, ro());
6230
6227
  }, ro = async () => {
6231
6228
  const M = {
@@ -6235,7 +6232,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6235
6232
  if (k) return {};
6236
6233
  i.value.interval = L.handleTimeUnit, L.handleTimeUnit == 3 ? i.value.timeLimit = "" : i.value.timeLimit = L.handleTime;
6237
6234
  }, cs = (M) => {
6238
- oe();
6235
+ ie();
6239
6236
  }, ls = async () => {
6240
6237
  const M = {
6241
6238
  logic: !1,
@@ -6310,7 +6307,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6310
6307
  }, {
6311
6308
  header: x(() => [
6312
6309
  ye(
6313
- se(m(N)("告警处理").value),
6310
+ re(m(N)("告警处理").value),
6314
6311
  1
6315
6312
  /* TEXT */
6316
6313
  )
@@ -6323,7 +6320,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6323
6320
  }, {
6324
6321
  default: x(() => [
6325
6322
  ye(
6326
- se(m(N)("取消").value),
6323
+ re(m(N)("取消").value),
6327
6324
  1
6328
6325
  /* TEXT */
6329
6326
  )
@@ -6337,7 +6334,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6337
6334
  }, {
6338
6335
  default: x(() => [
6339
6336
  ye(
6340
- se(m(N)("结束处理").value),
6337
+ re(m(N)("结束处理").value),
6341
6338
  1
6342
6339
  /* TEXT */
6343
6340
  )
@@ -6352,7 +6349,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6352
6349
  }, {
6353
6350
  default: x(() => [
6354
6351
  ye(
6355
- se(m(N)("继续处理").value),
6352
+ re(m(N)("继续处理").value),
6356
6353
  1
6357
6354
  /* TEXT */
6358
6355
  )
@@ -6482,12 +6479,12 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6482
6479
  modelValue: S.value,
6483
6480
  "onUpdate:modelValue": k[12] || (k[12] = (L) => S.value = L),
6484
6481
  checkboxType: "default",
6485
- onChange: pe,
6482
+ onChange: Rt,
6486
6483
  size: "middle"
6487
6484
  }, {
6488
6485
  default: x(() => [
6489
6486
  ye(
6490
- se(m(N)("告警对象位置").value),
6487
+ re(m(N)("告警对象位置").value),
6491
6488
  1
6492
6489
  /* TEXT */
6493
6490
  )
@@ -6518,18 +6515,18 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6518
6515
  modelValue: i.value.reportTheme,
6519
6516
  "onUpdate:modelValue": k[14] || (k[14] = (L) => i.value.reportTheme = L),
6520
6517
  placeholder: v.value,
6521
- onChange: ie
6518
+ onChange: ae
6522
6519
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
6523
6520
  Q(m(fo), {
6524
6521
  modelValue: D.value,
6525
6522
  "onUpdate:modelValue": k[15] || (k[15] = (L) => D.value = L),
6526
6523
  checkboxType: "default",
6527
- onChange: ue,
6524
+ onChange: pe,
6528
6525
  size: "middle"
6529
6526
  }, {
6530
6527
  default: x(() => [
6531
6528
  ye(
6532
- se(m(N)("告警对象").value),
6529
+ re(m(N)("告警对象").value),
6533
6530
  1
6534
6531
  /* TEXT */
6535
6532
  )
@@ -6576,7 +6573,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6576
6573
  "get-popup-container": z,
6577
6574
  marginBottom: "30px",
6578
6575
  marginRight: "0",
6579
- onChange: k[21] || (k[21] = (L) => cn("eventTypeId"))
6576
+ onChange: k[21] || (k[21] = (L) => ze("eventTypeId"))
6580
6577
  }, null, 8, ["label", "modelValue", "error", "options"])) : j("v-if", !0),
6581
6578
  i.value.processTypeId == "createcontingency" ? ($(), V(m(Me), {
6582
6579
  key: 7,
@@ -6594,7 +6591,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6594
6591
  "get-popup-container": z,
6595
6592
  marginBottom: "30px",
6596
6593
  marginRight: "0",
6597
- onChange: k[24] || (k[24] = (L) => cn("eventLevelId"))
6594
+ onChange: k[24] || (k[24] = (L) => ze("eventLevelId"))
6598
6595
  }, null, 8, ["label", "modelValue", "error", "options"])) : j("v-if", !0),
6599
6596
  i.value.processTypeId == "createcontingency" ? ($(), V(m(Me), {
6600
6597
  key: 8,
@@ -6626,7 +6623,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6626
6623
  "border-type": "underline",
6627
6624
  size: "small",
6628
6625
  "get-popup-container": z,
6629
- onChange: k[26] || (k[26] = (L) => cn("interval")),
6626
+ onChange: k[26] || (k[26] = (L) => ze("interval")),
6630
6627
  placeholder: "请选择"
6631
6628
  }, null, 8, ["modelValue", "options"])
6632
6629
  ])
@@ -6655,7 +6652,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6655
6652
  }), vh = /* @__PURE__ */ be(mh, [["__scopeId", "data-v-1ecf3324"]]), Ah = (t, e, n) => ({
6656
6653
  handleAlarmVue: () => he(vh, {
6657
6654
  handerIds: e.value,
6658
- projectId: Zt().id,
6655
+ projectId: Yt().id,
6659
6656
  ref: t,
6660
6657
  onEmitFn: (r, s) => {
6661
6658
  }
@@ -6696,7 +6693,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6696
6693
  B(
6697
6694
  "div",
6698
6695
  bh,
6699
- se(m(N)("新告警").value),
6696
+ re(m(N)("新告警").value),
6700
6697
  1
6701
6698
  /* TEXT */
6702
6699
  )
@@ -6717,7 +6714,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6717
6714
  B(
6718
6715
  "div",
6719
6716
  Th,
6720
- se(m(N)("告警等级:").value),
6717
+ re(m(N)("告警等级:").value),
6721
6718
  1
6722
6719
  /* TEXT */
6723
6720
  ),
@@ -6727,7 +6724,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6727
6724
  class: "alarm-msg-line-right alarm-content-object",
6728
6725
  style: yn({ color: a.msgItem.color })
6729
6726
  },
6730
- se(a.msgItem.alarmLevelName || ""),
6727
+ re(a.msgItem.alarmLevelName || ""),
6731
6728
  5
6732
6729
  /* TEXT, STYLE */
6733
6730
  )
@@ -6736,14 +6733,14 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6736
6733
  B(
6737
6734
  "div",
6738
6735
  Sh,
6739
- se(m(N)("告警对象:").value),
6736
+ re(m(N)("告警对象:").value),
6740
6737
  1
6741
6738
  /* TEXT */
6742
6739
  ),
6743
6740
  B(
6744
6741
  "div",
6745
6742
  kh,
6746
- se(a.msgItem.equipmentName || ""),
6743
+ re(a.msgItem.equipmentName || ""),
6747
6744
  1
6748
6745
  /* TEXT */
6749
6746
  )
@@ -6752,14 +6749,14 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6752
6749
  B(
6753
6750
  "div",
6754
6751
  Lh,
6755
- se(m(N)("告警内容:").value),
6752
+ re(m(N)("告警内容:").value),
6756
6753
  1
6757
6754
  /* TEXT */
6758
6755
  ),
6759
6756
  B(
6760
6757
  "div",
6761
6758
  $h,
6762
- se(a.msgItem.alarmContent || ""),
6759
+ re(a.msgItem.alarmContent || ""),
6763
6760
  1
6764
6761
  /* TEXT */
6765
6762
  )
@@ -6774,7 +6771,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6774
6771
  }, {
6775
6772
  default: x(() => [
6776
6773
  ye(
6777
- se(m(N)("设备详情").value),
6774
+ re(m(N)("设备详情").value),
6778
6775
  1
6779
6776
  /* TEXT */
6780
6777
  )
@@ -6791,7 +6788,7 @@ const Jf = et(`/api/tool/event-bus/${sn}/`), vn = Jf.post("/publish"), Kf = xn.g
6791
6788
  }, {
6792
6789
  default: x(() => [
6793
6790
  ye(
6794
- se(m(N)("处理").value),
6791
+ re(m(N)("处理").value),
6795
6792
  1
6796
6793
  /* TEXT */
6797
6794
  )
@@ -6842,7 +6839,7 @@ const Rh = () => {
6842
6839
  var D;
6843
6840
  const T = [];
6844
6841
  T.push({ alarmId: I.recordId }), r.value = T, (D = n.value) == null || D.open();
6845
- }, { entryApp: f } = zt.hooks.useEntryApp(), d = (I) => {
6842
+ }, { entryApp: f } = qt.hooks.useEntryApp(), d = (I) => {
6846
6843
  fr(I.equipmentCode, I.equipmentPanelCode);
6847
6844
  }, { handleAlarmVue: h } = Ah(n, r), b = async () => {
6848
6845
  var D;
@@ -6856,7 +6853,7 @@ const Rh = () => {
6856
6853
  }, p = (I) => {
6857
6854
  if (!I) return;
6858
6855
  const T = Bh();
6859
- Vt.open({
6856
+ Wt.open({
6860
6857
  key: T,
6861
6858
  class: "alarm-notify",
6862
6859
  message: N("新告警").value,
@@ -6944,8 +6941,8 @@ const Rh = () => {
6944
6941
  setup(t) {
6945
6942
  const { alarmSocket: e, creatAlarmSocket: n, audioObj: o, audioAlarmRef: r, handleAlarmVue: s } = Rh();
6946
6943
  return Ve(async () => {
6947
- await Yt(), n();
6948
- }), Xt(() => {
6944
+ await en(), n();
6945
+ }), Zt(() => {
6949
6946
  e.value && e.value.disconnect(), e.value = null;
6950
6947
  }), (a, c) => ($(), W(
6951
6948
  De,
@@ -6969,7 +6966,7 @@ const Rh = () => {
6969
6966
  }), jh = { class: "das-main-app-container" }, Nh = /* @__PURE__ */ ne({
6970
6967
  __name: "index",
6971
6968
  setup(t) {
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);
6969
+ 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);
6973
6970
  hp(c, a, i), fp(), dp(), Ap();
6974
6971
  const { $changePwd: u, $personSetDialog: f } = gp(), { changeEnterprisesVisible: d, userId: h, tenantId: b, changeEnterprise: y } = ts();
6975
6972
  up();
@@ -7027,15 +7024,15 @@ E("@das-fed/web");
7027
7024
  const Uh = [
7028
7025
  {
7029
7026
  path: je,
7030
- component: () => import("./index-XC7gVyAV.js")
7027
+ component: () => import("./index-CdeRqI3I.js")
7031
7028
  },
7032
7029
  {
7033
7030
  path: ct,
7034
- component: () => import("./index-DJ8zDx6p.js")
7031
+ component: () => import("./index-B5iFuaK1.js")
7035
7032
  },
7036
7033
  {
7037
7034
  path: Cr,
7038
- component: () => import("./index-DKcYM4y1.js")
7035
+ component: () => import("./index-5QUs9_j8.js")
7039
7036
  }
7040
7037
  ], Yg = {
7041
7038
  routes: Uh,
@@ -7045,7 +7042,7 @@ const Uh = [
7045
7042
  },
7046
7043
  hooks: {
7047
7044
  useEntryApp: vt,
7048
- useEntryMenu: on
7045
+ useEntryMenu: rn
7049
7046
  }
7050
7047
  };
7051
7048
  export {
@@ -7062,7 +7059,7 @@ export {
7062
7059
  qo as b,
7063
7060
  dt as c,
7064
7061
  En as d,
7065
- Ht as e,
7062
+ Ut as e,
7066
7063
  Rg as f,
7067
7064
  ga as g,
7068
7065
  ma as h,
@@ -7070,7 +7067,7 @@ export {
7070
7067
  jg as j,
7071
7068
  Ng as k,
7072
7069
  ce as l,
7073
- qt as m,
7070
+ Jt as m,
7074
7071
  Hg as n,
7075
7072
  Ug as o,
7076
7073
  wa as p,