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

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 { defineComponent as de, 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 oe, reactive as yo, createElementVNode as x, createTextVNode as le, createElementBlock as ue, Fragment as We, renderList as _o, withDirectives as kr, toDisplayString as Z, 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";
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";
@@ -6,7 +6,7 @@ import { DasChangeEnterprises as jr } from "@das-fed/ui/packages/business-compon
6
6
  import { pureImageSrc as Xt } from "@das-fed/utils/pure-image-src";
7
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 ae, getPersonalInfo as St, getTenantInfo as Zt, getProjectInfo as Pe, getToken as Yt, getUserInfo as wo, getMenus as _t } 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";
@@ -28,7 +28,7 @@ import { DasIcon as De, DasAutoRegisterIcon as To } from "@das-fed/ui/packages/c
28
28
  import { socketService as an } from "@das-fed/utils/webSocket-service";
29
29
  import { userInfoNextTick as ss, tokenNextTick as Tt } from "@das-fed/utils/nextTiken";
30
30
  import { mainAppFramework as wt } from "@das-fed/web/packages/main-app-framework/index";
31
- import { DasTooltip as ie } from "@das-fed/ui/packages/components/tooltip/index";
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";
34
34
  import { DasWatermark as as } from "@das-fed/ui/packages/components/watermark/index";
@@ -48,7 +48,7 @@ const nt = "/", Ie = "/application", Po = [
48
48
  { value: "1", label: Q("个人中心").value },
49
49
  { value: "2", label: Q("修改密码").value },
50
50
  { value: "3", label: Q("退出登录").value }
51
- ], fs = /* @__PURE__ */ de({
51
+ ], fs = /* @__PURE__ */ pe({
52
52
  __name: "base-layout",
53
53
  props: {
54
54
  transitionConfig: { default: () => ({}) },
@@ -124,7 +124,7 @@ function _s(...n) {
124
124
  Array.isArray(t) || (t = [t]), Array.isArray(o) || (o = [o]);
125
125
  const s = [], a = () => {
126
126
  s.forEach((u) => u()), s.length = 0;
127
- }, l = (u, A, p, h) => (u.addEventListener(A, p, h), () => u.removeEventListener(A, p, h)), c = oe(() => [$o(e), Oo(r)], ([u, A]) => {
127
+ }, l = (u, A, p, h) => (u.addEventListener(A, p, h), () => u.removeEventListener(A, p, h)), c = re(() => [$o(e), Oo(r)], ([u, A]) => {
128
128
  a(), u && s.push(...t.flatMap((p) => o.map((h) => l(u, p, h, A))));
129
129
  }, { immediate: !0, flush: "post" }), i = () => {
130
130
  c(), a();
@@ -255,7 +255,7 @@ const Ss = {
255
255
  Es({
256
256
  linear: As
257
257
  }, Ss);
258
- const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ de({
258
+ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ pe({
259
259
  __name: "index",
260
260
  props: {
261
261
  platformInitNextTick: {}
@@ -306,7 +306,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ de({
306
306
  };
307
307
  p();
308
308
  const h = Ge(), S = on();
309
- return oe(
309
+ return re(
310
310
  () => h.currentRoute.value,
311
311
  (w) => {
312
312
  var y, _, T;
@@ -345,7 +345,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ de({
345
345
  "--menu-tip-diaolg-content": "#212121",
346
346
  "--menu-tip-diaolg-divide": "#d9d9d9",
347
347
  "--menu-tip-diaolg-info": "#999999"
348
- }, Os = ["innerHTML"], Ds = { class: "footer" }, $s = /* @__PURE__ */ de({
348
+ }, Os = ["innerHTML"], Ds = { class: "footer" }, $s = /* @__PURE__ */ pe({
349
349
  __name: "tip",
350
350
  props: {
351
351
  title: {},
@@ -374,7 +374,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ de({
374
374
  onClick: t.closeCallback
375
375
  }, {
376
376
  default: M(() => o[2] || (o[2] = [
377
- le("我知道了")
377
+ ue("我知道了")
378
378
  ])),
379
379
  _: 1
380
380
  /* STABLE */
@@ -386,7 +386,7 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ de({
386
386
  class: "content",
387
387
  innerHTML: t.content
388
388
  }, null, 8, Os),
389
- t.desc && t.desc.length ? (N(), ue(
389
+ t.desc && t.desc.length ? (N(), de(
390
390
  We,
391
391
  { key: 0 },
392
392
  [
@@ -397,15 +397,15 @@ const Ts = Kr.get("watermark"), ks = /* @__PURE__ */ de({
397
397
  -1
398
398
  /* HOISTED */
399
399
  )),
400
- (N(!0), ue(
400
+ (N(!0), de(
401
401
  We,
402
402
  null,
403
- _o(t.desc, (r, s) => kr((N(), ue("div", {
403
+ _o(t.desc, (r, s) => kr((N(), de("div", {
404
404
  key: s,
405
405
  class: "desc-item"
406
406
  }, [
407
- le(
408
- Z(r),
407
+ ue(
408
+ X(r),
409
409
  1
410
410
  /* TEXT */
411
411
  )
@@ -453,8 +453,8 @@ const xs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAFoCAYAAAAcpSI2AA
453
453
  sessionStorage.setItem("projectInfo", JSON.stringify(n || { id: 0 })), sessionStorage.setItem("project", (n == null ? void 0 : n.id) || 0);
454
454
  }, Ns = () => {
455
455
  sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
456
- }, ce = (n) => {
457
- let e = ae();
456
+ }, le = (n) => {
457
+ let e = ce();
458
458
  n.forEach((t) => {
459
459
  var o;
460
460
  if (t.key.startsWith("tabMap")) {
@@ -1181,7 +1181,7 @@ const bt = (n, e = "") => {
1181
1181
  }, Gt = (n) => {
1182
1182
  const e = J().subAppList ?? [];
1183
1183
  let { index: t, target: o } = Ml(e, n);
1184
- return e.splice(t, 1), e.length ? ge([{ key: "subAppList", value: e }]) : ln(), ce([
1184
+ return e.splice(t, 1), e.length ? ge([{ key: "subAppList", value: e }]) : ln(), le([
1185
1185
  { key: "currentCode", value: "" },
1186
1186
  { key: "currentTab", value: {} },
1187
1187
  { key: `preTab:${n}`, value: {} },
@@ -1192,9 +1192,9 @@ const bt = (n, e = "") => {
1192
1192
  return { left: o, right: r };
1193
1193
  }, Ql = (n, e, t) => {
1194
1194
  var A;
1195
- const o = ye(e).filter((p) => p.routeUrl).filter((p) => !(p != null && p.disable) && !(p != null && p.expired)), s = (((A = ae()) == null ? void 0 : A.tabMap) ?? {})[n] ?? [], { left: a, right: l } = Rl(s, t), c = s.filter((p) => o.find((h) => h.code === p.code));
1195
+ const o = ye(e).filter((p) => p.routeUrl).filter((p) => !(p != null && p.disable) && !(p != null && p.expired)), s = (((A = ce()) == null ? void 0 : A.tabMap) ?? {})[n] ?? [], { left: a, right: l } = Rl(s, t), c = s.filter((p) => o.find((h) => h.code === p.code));
1196
1196
  if (!a.length && !l.length || !c.length)
1197
- return ce([
1197
+ return le([
1198
1198
  { key: "currentCode", value: "" },
1199
1199
  { key: "currentTab", value: {} },
1200
1200
  { key: `preTab:${n}`, value: {} },
@@ -1209,7 +1209,7 @@ const bt = (n, e = "") => {
1209
1209
  const p = a.reverse().find((h) => c.map((S) => S.code).includes(h.code));
1210
1210
  p && (i = p);
1211
1211
  }
1212
- return i ? (ce([
1212
+ return i ? (le([
1213
1213
  {
1214
1214
  key: "currentCode",
1215
1215
  value: i.code
@@ -1223,7 +1223,7 @@ const bt = (n, e = "") => {
1223
1223
  value: i
1224
1224
  },
1225
1225
  { key: `tabMap:${n}`, value: c }
1226
- ]), Mo(i.code), { currentMenu: o.find((p) => p.code === i.code), currentTab: i }) : (ce([
1226
+ ]), Mo(i.code), { currentMenu: o.find((p) => p.code === i.code), currentTab: i }) : (le([
1227
1227
  { key: `preTab:${n}`, value: {} },
1228
1228
  { key: `tabMap:${n}`, value: [] }
1229
1229
  ]), Gt(n));
@@ -1273,12 +1273,12 @@ const bt = (n, e = "") => {
1273
1273
  }
1274
1274
  }
1275
1275
  if (s && a) {
1276
- const d = (ae().tabMap ?? {})[e.code] ?? [];
1276
+ const d = (ce().tabMap ?? {})[e.code] ?? [];
1277
1277
  if (d.length) {
1278
1278
  const m = d.filter(
1279
1279
  (y) => t && t === y.code || o && o === `/${y.applicationPath}${y.path}`.replace(/\/\//g, "/") || ye(c).map((_) => _.code).includes(y.code)
1280
1280
  );
1281
- ce([
1281
+ le([
1282
1282
  {
1283
1283
  key: `tabMap:${e.code}`,
1284
1284
  value: m
@@ -1332,7 +1332,7 @@ const bt = (n, e = "") => {
1332
1332
  path: A.routeUrl,
1333
1333
  query: m
1334
1334
  };
1335
- ce([
1335
+ le([
1336
1336
  {
1337
1337
  key: "currentCode",
1338
1338
  value: A.code
@@ -1391,7 +1391,7 @@ const bt = (n, e = "") => {
1391
1391
  }, Ct = E(1), lr = async () => {
1392
1392
  const [n, e] = await Xl().run();
1393
1393
  return n ? { personalMenuConfig: null } : (Ct.value = (e == null ? void 0 : e.style) ?? 1, { personalMenuConfig: e });
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__ */ de({
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 = () => {
@@ -1405,7 +1405,7 @@ const bt = (n, e = "") => {
1405
1405
  return e({
1406
1406
  /** 打开弹窗 */
1407
1407
  openDialog: a
1408
- }), (i, u) => (N(), ue("div", nu, [
1408
+ }), (i, u) => (N(), de("div", nu, [
1409
1409
  R(v(cs), {
1410
1410
  title: v(Q)("主题设置").value,
1411
1411
  modelValue: t.value,
@@ -1421,7 +1421,7 @@ const bt = (n, e = "") => {
1421
1421
  style: { "margin-right": "12px" }
1422
1422
  }, {
1423
1423
  default: M(() => u[6] || (u[6] = [
1424
- le("取消")
1424
+ ue("取消")
1425
1425
  ])),
1426
1426
  _: 1
1427
1427
  /* STABLE */
@@ -1433,7 +1433,7 @@ const bt = (n, e = "") => {
1433
1433
  onClick: c
1434
1434
  }, {
1435
1435
  default: M(() => u[7] || (u[7] = [
1436
- le("确定")
1436
+ ue("确定")
1437
1437
  ])),
1438
1438
  _: 1
1439
1439
  /* STABLE */
@@ -1445,7 +1445,7 @@ const bt = (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
  ),
@@ -1463,8 +1463,8 @@ const bt = (n, e = "") => {
1463
1463
  onChange: u[1] || (u[1] = (A) => l(1))
1464
1464
  }, {
1465
1465
  default: M(() => [
1466
- le(
1467
- Z(v(Q)("弹出式菜单栏").value),
1466
+ ue(
1467
+ X(v(Q)("弹出式菜单栏").value),
1468
1468
  1
1469
1469
  /* TEXT */
1470
1470
  )
@@ -1486,8 +1486,8 @@ const bt = (n, e = "") => {
1486
1486
  onChange: u[3] || (u[3] = (A) => l(2))
1487
1487
  }, {
1488
1488
  default: M(() => [
1489
- le(
1490
- Z(v(Q)("内嵌式菜单栏").value),
1489
+ ue(
1490
+ X(v(Q)("内嵌式菜单栏").value),
1491
1491
  1
1492
1492
  /* TEXT */
1493
1493
  )
@@ -1544,7 +1544,7 @@ const bt = (n, e = "") => {
1544
1544
  };
1545
1545
  }, Au = (n) => {
1546
1546
  const e = Ge(), t = on(), { getMenu: o } = qr(), { getHistoryList: r, getSearchList: s } = Du(), a = E(!0), l = E([]), c = E([]), i = E(!1), u = E(!1);
1547
- oe(
1547
+ re(
1548
1548
  () => t.path,
1549
1549
  (S) => {
1550
1550
  i.value = S === nt;
@@ -1552,7 +1552,7 @@ const bt = (n, e = "") => {
1552
1552
  {
1553
1553
  immediate: !0
1554
1554
  }
1555
- ), oe(
1555
+ ), re(
1556
1556
  () => [i.value, u.value],
1557
1557
  () => {
1558
1558
  D.nav.setConfig({
@@ -1646,7 +1646,7 @@ const bt = (n, e = "") => {
1646
1646
  var i;
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
- const c = (ae().tabMap[r.code] ?? []).map((u) => u.code);
1649
+ const c = (ce().tabMap[r.code] ?? []).map((u) => u.code);
1650
1650
  c && c.length && At(r.code, c), e(r);
1651
1651
  });
1652
1652
  const { enter: o } = lt();
@@ -1654,7 +1654,7 @@ const bt = (n, e = "") => {
1654
1654
  }, _u = () => {
1655
1655
  const n = Ge(), e = "#666666", t = "#FAFAFA", o = "#D9D9D9", r = E(e), s = E(t), a = E(o);
1656
1656
  let l = "", c = {};
1657
- oe(
1657
+ re(
1658
1658
  () => n.currentRoute.value,
1659
1659
  async (d) => {
1660
1660
  var L, b, C, P, $, H, F;
@@ -1664,7 +1664,7 @@ const bt = (n, e = "") => {
1664
1664
  l = qe(d.path), c = qe(d.query);
1665
1665
  const _ = J().currentSubAppCode ?? "";
1666
1666
  if (!_) return;
1667
- const T = ((C = d.query) == null ? void 0 : C.menu) ?? ((P = ae()) == null ? void 0 : P.currentCode) ?? "";
1667
+ const T = ((C = d.query) == null ? void 0 : C.menu) ?? ((P = ce()) == null ? void 0 : P.currentCode) ?? "";
1668
1668
  if (!T) return;
1669
1669
  const B = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
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);
@@ -1672,7 +1672,7 @@ const bt = (n, e = "") => {
1672
1672
  );
1673
1673
  const { deleteApp: i } = et(), { entryMenu: u } = Ot(), { reloadRoute: A, unloadRoute: p } = ur(), h = (d) => {
1674
1674
  var T;
1675
- const m = ye(_t(d.applicationCode)).find((B) => B.code === d.code), _ = (((T = ae().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;
@@ -1681,11 +1681,11 @@ const bt = (n, e = "") => {
1681
1681
  }, w = (d) => {
1682
1682
  const m = J().currentSubAppCode ?? "";
1683
1683
  ee.innerSet = !0;
1684
- const y = ae(), _ = y.tabMap[m], T = _.findIndex(($) => $.code === d.data.code);
1684
+ const y = ce(), _ = y.tabMap[m], T = _.findIndex(($) => $.code === d.data.code);
1685
1685
  if (T === -1) return;
1686
1686
  const B = () => {
1687
1687
  var F;
1688
- let H = (((F = J().appcategorys) == null ? void 0 : F.map((se) => se.apps).flat()) ?? []).find((se) => se.code === m);
1688
+ let H = (((F = J().appcategorys) == null ? void 0 : F.map((ie) => ie.apps).flat()) ?? []).find((ie) => ie.code === m);
1689
1689
  H = { ...H, value: H.code, label: H.name }, i(H), D.nav.removeItem(m);
1690
1690
  };
1691
1691
  ({
@@ -1696,7 +1696,7 @@ const bt = (n, e = "") => {
1696
1696
  }
1697
1697
  const H = y.currentCode;
1698
1698
  let F = null;
1699
- H === $.value && (T + 1 === _.length ? _[T - 1] && (F = _[T - 1]) : _[T + 1] && (F = _[T + 1])), _.splice(T, 1), S([$]), ce([{ key: `tabMap:${m}`, value: _ }]), F ? h(F) : ce([{ key: `preTab:${m}`, value: {} }]);
1699
+ H === $.value && (T + 1 === _.length ? _[T - 1] && (F = _[T - 1]) : _[T + 1] && (F = _[T + 1])), _.splice(T, 1), S([$]), le([{ key: `tabMap:${m}`, value: _ }]), F ? h(F) : le([{ key: `preTab:${m}`, value: {} }]);
1700
1700
  },
1701
1701
  all: B,
1702
1702
  other: async ($) => {
@@ -1705,8 +1705,8 @@ const bt = (n, e = "") => {
1705
1705
  path: `/${H.applicationPath}${H.path}`.replace(/\/\//g, "/"),
1706
1706
  query: H.query
1707
1707
  }), D.menu.setActiveItem(H.menuId), D.tab.setActiveItem(H.code);
1708
- const F = _.filter((se) => se.code !== $.value);
1709
- F.forEach((se) => D.tab.removeItem(se.code)), S(F), ce([{ key: `tabMap:${m}`, value: [H] }]), h(H);
1708
+ const F = _.filter((ie) => ie.code !== $.value);
1709
+ F.forEach((ie) => D.tab.removeItem(ie.code)), S(F), le([{ key: `tabMap:${m}`, value: [H] }]), h(H);
1710
1710
  },
1711
1711
  right: async ($) => {
1712
1712
  const H = y.currentCode;
@@ -1715,18 +1715,18 @@ const bt = (n, e = "") => {
1715
1715
  h(Te);
1716
1716
  }
1717
1717
  const F = _.slice(T + 1);
1718
- F.forEach((se) => D.tab.removeItem(se.code)), S(F), _.splice(T + 1), ce([{ key: `tabMap:${m}`, value: _ }]);
1718
+ F.forEach((ie) => D.tab.removeItem(ie.code)), S(F), _.splice(T + 1), le([{ key: `tabMap:${m}`, value: _ }]);
1719
1719
  }
1720
1720
  })[d.type](d.data);
1721
1721
  };
1722
1722
  D.tab.addEventListener("onItemClick", async (d) => {
1723
- ae().currentCode !== d.currentCode && (ee.innerSet = !0, h(d));
1723
+ ce().currentCode !== d.currentCode && (ee.innerSet = !0, h(d));
1724
1724
  }), D.tab.addEventListener("onItemRemove", (d) => {
1725
- const m = ae(), y = J().currentSubAppCode ?? "";
1725
+ const m = ce(), y = J().currentSubAppCode ?? "";
1726
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
- const y = ae().tabMap[d.applicationCode] ?? [];
1729
+ const y = ce().tabMap[d.applicationCode] ?? [];
1730
1730
  if (d.type.key === "right") {
1731
1731
  const _ = y.findIndex((T) => T.code === d.data.value);
1732
1732
  m = y.slice(_ + 1);
@@ -1789,11 +1789,11 @@ const bt = (n, e = "") => {
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, se, Te, ft;
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((G) => w.startsWith("/" + G) || w.startsWith(G)))) 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
  }
@@ -1803,26 +1803,26 @@ const bt = (n, e = "") => {
1803
1803
  const _ = (h == null ? void 0 : h.openType) ?? 1, T = (h == null ? void 0 : h.type) ?? 1;
1804
1804
  if (h.routeUrl && !a.includes(h.routeUrl)) {
1805
1805
  l();
1806
- const ne = ((se = J()) == null ? void 0 : se.subAppList) ?? [];
1807
- if ((ne == null ? void 0 : ne.find((pe) => pe.code === h.code)) || ne == null || ne.push(h), ge([
1806
+ const oe = ((ie = J()) == null ? void 0 : ie.subAppList) ?? [];
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
- { key: "subAppList", value: ne }
1811
- ]), ne.forEach((pe) => {
1812
- const Oe = { ...pe, value: pe.code, label: pe.name };
1810
+ { key: "subAppList", value: oe }
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 pe = 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: pe
1825
+ iframeSrc: ne
1826
1826
  }
1827
1827
  });
1828
1828
  return;
@@ -1841,8 +1841,8 @@ const bt = (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 ne = (Te = J().subAppList) == null ? void 0 : Te.find((Oe) => Oe.code === L.code), G = ae().preTab[L.code], pe = { ...(G == null ? void 0 : G.query) ?? {} };
1845
- await i({ microApp: ne, menuCode: (G == null ? void 0 : G.code) ?? "", route: { query: pe } });
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,18 +1858,19 @@ const bt = (n, e = "") => {
1858
1858
  return;
1859
1859
  }
1860
1860
  if (m && y) {
1861
- (ft = J().subAppList) == null || ft.forEach((G) => {
1862
- const pe = { ...G, value: G.code, label: G.name };
1863
- D.nav.appendItem(pe);
1861
+ (ft = J().subAppList) == null || ft.forEach((Y) => {
1862
+ const ne = { ...Y, value: Y.code, label: Y.name };
1863
+ D.nav.appendItem(ne);
1864
1864
  }), D.nav.setActiveItem($.code), D.menu.setItems(B);
1865
- const ne = ae().tabMap[$.code] ?? [];
1866
- ne.length && ne.forEach((G) => {
1867
- D.tab.appendItem({
1868
- ...G,
1869
- value: G.code,
1870
- label: G.name
1871
- });
1872
- });
1865
+ const oe = ce().tabMap[$.code] ?? [];
1866
+ if (oe.length) {
1867
+ const Y = oe.map((ne) => ({
1868
+ ...ne,
1869
+ value: ne.code,
1870
+ label: ne.name
1871
+ })) || [];
1872
+ D.tab.setItems(Y);
1873
+ }
1873
1874
  }
1874
1875
  e({ currentMenu: b, microPath: C, route: d });
1875
1876
  }, u = async (p) => {
@@ -1878,14 +1879,14 @@ const bt = (n, e = "") => {
1878
1879
  await n.push(p.path), D.menu.setItems([]), D.tab.setItems([]), D.nav.setActiveItem(p.path), ge([
1879
1880
  { key: "currentSubAppCode", value: "" },
1880
1881
  { key: "currentSubApp", value: {} }
1881
- ]), ce([
1882
+ ]), le([
1882
1883
  { key: "currentCode", value: "" },
1883
1884
  { key: "currentTab", value: {} }
1884
1885
  ]);
1885
1886
  return;
1886
1887
  }
1887
1888
  if (!p.fixed) {
1888
- const S = (h = J().subAppList) == null ? void 0 : h.find((m) => m.code === p.code), w = ae().preTab[p.code], f = (w == null ? void 0 : w.code) ?? "", d = { ...(w == null ? void 0 : w.query) ?? {} };
1889
+ const S = (h = J().subAppList) == null ? void 0 : h.find((m) => m.code === p.code), w = ce().preTab[p.code], f = (w == null ? void 0 : w.code) ?? "", d = { ...(w == null ? void 0 : w.query) ?? {} };
1889
1890
  await i({ microApp: S, menuCode: f, route: { query: d } });
1890
1891
  }
1891
1892
  };
@@ -1899,13 +1900,13 @@ const bt = (n, e = "") => {
1899
1900
  if (!((d = h.subAppList) != null && d.length)) return;
1900
1901
  const S = h.subAppList.findIndex((m) => m.code === p.code);
1901
1902
  if (S === -1) return;
1902
- const w = ae().tabMap[p.code] ?? [];
1903
+ const w = ce().tabMap[p.code] ?? [];
1903
1904
  if (w.length) {
1904
1905
  const m = w.map((y) => y.path);
1905
1906
  t(m);
1906
1907
  }
1907
1908
  let f = null;
1908
- if (h.currentSubAppCode === p.code && (S + 1 !== h.subAppList.length ? h.subAppList[S + 1] && (f = h.subAppList[S + 1]) : h.subAppList[S - 1] && (f = h.subAppList[S - 1])), h.subAppList.splice(S, 1), ge([{ key: "subAppList", value: h.subAppList }]), ce([
1909
+ if (h.currentSubAppCode === p.code && (S + 1 !== h.subAppList.length ? h.subAppList[S + 1] && (f = h.subAppList[S + 1]) : h.subAppList[S - 1] && (f = h.subAppList[S - 1])), h.subAppList.splice(S, 1), ge([{ key: "subAppList", value: h.subAppList }]), le([
1909
1910
  { key: `preTab:${p.code}`, value: {} },
1910
1911
  { key: `tabMap:${p.code}`, value: [] }
1911
1912
  ]), f) {
@@ -1965,7 +1966,7 @@ const bt = (n, e = "") => {
1965
1966
  ...f,
1966
1967
  value: f.code,
1967
1968
  label: f.name
1968
- }), D.tab.setActiveItem(a.code), D.menu.setActiveItem(a.id), Mo(a.code), ce([
1969
+ }), D.tab.setActiveItem(a.code), D.menu.setActiveItem(a.id), Mo(a.code), le([
1969
1970
  {
1970
1971
  key: "currentCode",
1971
1972
  value: a.code
@@ -2027,7 +2028,7 @@ const bt = (n, e = "") => {
2027
2028
  (P) => m === P.code || d.includes(P.code)
2028
2029
  );
2029
2030
  ge([{ key: "subAppList", value: C }]), b && b.length && b.forEach((P) => {
2030
- ce([
2031
+ le([
2031
2032
  { key: `preTab:${P.code}`, value: {} },
2032
2033
  { key: `tabMap:${P.code}`, value: [] }
2033
2034
  ]);
@@ -2039,7 +2040,7 @@ const bt = (n, e = "") => {
2039
2040
  const { currentApp: C } = Gt(p.query.app);
2040
2041
  if (C) {
2041
2042
  b = C;
2042
- const $ = (ae().preTab ?? {})[b.code];
2043
+ const $ = (ce().preTab ?? {})[b.code];
2043
2044
  p = {}, $ && (p.path = `/${$.applicationPath}${$.path}`.replace(/\/\//g, "/"), p.query = $.query);
2044
2045
  }
2045
2046
  }
@@ -2071,14 +2072,14 @@ const bt = (n, e = "") => {
2071
2072
  b && (D.nav.setActiveItem(b.path), D.menu.setItems([]), D.tab.setItems([]), ge([
2072
2073
  { key: "currentSubAppCode", value: "" },
2073
2074
  { key: "currentSubApp", value: {} }
2074
- ]), ce([
2075
+ ]), le([
2075
2076
  { key: "currentCode", value: "" },
2076
2077
  { key: "currentTab", value: {} }
2077
2078
  ]));
2078
2079
  }
2079
2080
  };
2080
2081
  let i = "", u = {};
2081
- oe(
2082
+ re(
2082
2083
  () => r.currentRoute.value,
2083
2084
  async (A) => {
2084
2085
  if (!(A.path === i && Nt(A.query, u))) {
@@ -2336,7 +2337,7 @@ function po(n) {
2336
2337
  function Uu(n) {
2337
2338
  return pr.post(`/url/preview?${fr(n)}`)().run();
2338
2339
  }
2339
- const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2340
+ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ pe({
2340
2341
  __name: "GridItem",
2341
2342
  props: {
2342
2343
  active: { type: Boolean },
@@ -2354,7 +2355,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2354
2355
  }, c = () => {
2355
2356
  o("itemClick");
2356
2357
  }, i = Ce(() => `calc(100% / ${Math.sqrt(t.gridNum)})`);
2357
- return (u, A) => (N(), ue(
2358
+ return (u, A) => (N(), de(
2358
2359
  "div",
2359
2360
  {
2360
2361
  ref_key: "containerRef",
@@ -2370,7 +2371,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2370
2371
  /* CLASS, NEED_HYDRATION */
2371
2372
  ));
2372
2373
  }
2373
- }), Wu = /* @__PURE__ */ Ee(Ju, [["__scopeId", "data-v-68946aef"]]), zu = { class: "layout-wrapper" }, Vu = /* @__PURE__ */ de({
2374
+ }), Wu = /* @__PURE__ */ Ee(Ju, [["__scopeId", "data-v-68946aef"]]), zu = { class: "layout-wrapper" }, Vu = /* @__PURE__ */ pe({
2374
2375
  __name: "GridLayout",
2375
2376
  props: {
2376
2377
  gridNum: {},
@@ -2382,9 +2383,9 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2382
2383
  const t = n, o = e, r = (s) => {
2383
2384
  o("update:activeIndex", s);
2384
2385
  };
2385
- return (s, a) => (N(), ue("div", zu, [
2386
+ return (s, a) => (N(), de("div", zu, [
2386
2387
  U(' :active="index === activeIndex" '),
2387
- (N(!0), ue(
2388
+ (N(!0), de(
2388
2389
  We,
2389
2390
  null,
2390
2391
  _o(t.gridNum, (l, c) => (N(), V(Wu, {
@@ -2406,21 +2407,21 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2406
2407
  ))
2407
2408
  ]));
2408
2409
  }
2409
- }), qu = /* @__PURE__ */ Ee(Vu, [["__scopeId", "data-v-22baf4d8"]]), Ku = /* @__PURE__ */ de({
2410
+ }), qu = /* @__PURE__ */ Ee(Vu, [["__scopeId", "data-v-22baf4d8"]]), Ku = /* @__PURE__ */ pe({
2410
2411
  __name: "DirectionControl",
2411
2412
  emits: ["change"],
2412
2413
  setup(n, { emit: e }) {
2413
2414
  const t = e, o = (r) => {
2414
2415
  t("change", r);
2415
2416
  };
2416
- return (r, s) => (N(), ue(
2417
+ return (r, s) => (N(), de(
2417
2418
  "div",
2418
2419
  {
2419
2420
  class: "direction-control",
2420
2421
  onDblclick: s[9] || (s[9] = te((a) => a.stopPropagation(), ["stop"]))
2421
2422
  },
2422
2423
  [
2423
- R(v(ie), { content: "左上" }, {
2424
+ R(v(ae), { content: "左上" }, {
2424
2425
  default: M(() => [
2425
2426
  x("div", {
2426
2427
  class: "icon icon-top-left",
@@ -2430,7 +2431,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2430
2431
  _: 1
2431
2432
  /* STABLE */
2432
2433
  }),
2433
- R(v(ie), { content: "上" }, {
2434
+ R(v(ae), { content: "上" }, {
2434
2435
  default: M(() => [
2435
2436
  x("div", {
2436
2437
  class: "icon icon-top",
@@ -2440,7 +2441,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2440
2441
  _: 1
2441
2442
  /* STABLE */
2442
2443
  }),
2443
- R(v(ie), { content: "右上" }, {
2444
+ R(v(ae), { content: "右上" }, {
2444
2445
  default: M(() => [
2445
2446
  x("div", {
2446
2447
  class: "icon icon-top-right",
@@ -2450,7 +2451,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2450
2451
  _: 1
2451
2452
  /* STABLE */
2452
2453
  }),
2453
- R(v(ie), { content: "左" }, {
2454
+ R(v(ae), { content: "左" }, {
2454
2455
  default: M(() => [
2455
2456
  x("div", {
2456
2457
  class: "icon icon-left",
@@ -2460,7 +2461,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2460
2461
  _: 1
2461
2462
  /* STABLE */
2462
2463
  }),
2463
- R(v(ie), { content: "自动" }, {
2464
+ R(v(ae), { content: "自动" }, {
2464
2465
  default: M(() => [
2465
2466
  x("div", {
2466
2467
  class: "icon icon-auto",
@@ -2470,7 +2471,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2470
2471
  _: 1
2471
2472
  /* STABLE */
2472
2473
  }),
2473
- R(v(ie), { content: "右" }, {
2474
+ R(v(ae), { content: "右" }, {
2474
2475
  default: M(() => [
2475
2476
  x("div", {
2476
2477
  class: "icon icon-right",
@@ -2480,7 +2481,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2480
2481
  _: 1
2481
2482
  /* STABLE */
2482
2483
  }),
2483
- R(v(ie), { content: "左下" }, {
2484
+ R(v(ae), { content: "左下" }, {
2484
2485
  default: M(() => [
2485
2486
  x("div", {
2486
2487
  class: "icon icon-bottom-left",
@@ -2490,7 +2491,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2490
2491
  _: 1
2491
2492
  /* STABLE */
2492
2493
  }),
2493
- R(v(ie), { content: "下" }, {
2494
+ R(v(ae), { content: "下" }, {
2494
2495
  default: M(() => [
2495
2496
  x("div", {
2496
2497
  class: "icon icon-bottom",
@@ -2500,7 +2501,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2500
2501
  _: 1
2501
2502
  /* STABLE */
2502
2503
  }),
2503
- R(v(ie), { content: "右下" }, {
2504
+ R(v(ae), { content: "右下" }, {
2504
2505
  default: M(() => [
2505
2506
  x("div", {
2506
2507
  class: "icon icon-bottom-right",
@@ -2518,7 +2519,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2518
2519
  }), Gu = /* @__PURE__ */ Ee(Ku, [["__scopeId", "data-v-69100474"]]), Xu = { class: "video-wrapper" }, Zu = { class: "video-top" }, Yu = { class: "video-top_l" }, ed = { class: "video-title-wrapper" }, td = { class: "video-title" }, nd = { class: "video-top_r" }, od = {
2519
2520
  key: 0,
2520
2521
  class: "play-status"
2521
- }, rd = { class: "video-bottom" }, sd = { class: "video-bottom_r" }, id = /* @__PURE__ */ de({
2522
+ }, rd = { class: "video-bottom" }, sd = { class: "video-bottom_r" }, id = /* @__PURE__ */ pe({
2522
2523
  __name: "index",
2523
2524
  props: {
2524
2525
  videoUrl: {},
@@ -2567,28 +2568,28 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2567
2568
  }, d = (y) => {
2568
2569
  o("zoomControl", y);
2569
2570
  }, m = (y) => t.authType.includes(y);
2570
- return oe(
2571
+ return re(
2571
2572
  () => c.value,
2572
2573
  () => {
2573
2574
  c.value && c.value.addEventListener("ended", () => {
2574
2575
  i.value = !0, t.type === "playback" && (u.value = !1);
2575
2576
  });
2576
2577
  }
2577
- ), oe(
2578
+ ), re(
2578
2579
  () => c.value,
2579
2580
  () => {
2580
2581
  c.value && Fe(() => {
2581
2582
  c.value.playbackRate = t.playbackRate || 1;
2582
2583
  });
2583
2584
  }
2584
- ), oe(
2585
+ ), re(
2585
2586
  () => s.value,
2586
2587
  () => {
2587
2588
  s.value && Fe(() => {
2588
2589
  s.value.muted = r.value;
2589
2590
  });
2590
2591
  }
2591
- ), oe(
2592
+ ), re(
2592
2593
  () => t.playbackRate,
2593
2594
  () => {
2594
2595
  c.value && (c.value.playbackRate = t.playbackRate || 1);
@@ -2596,19 +2597,19 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2596
2597
  {
2597
2598
  immediate: !0
2598
2599
  }
2599
- ), oe(
2600
+ ), re(
2600
2601
  () => t.paused,
2601
2602
  () => {
2602
2603
  s.value && (t.paused ? s.value.pause() : s.value.play());
2603
2604
  }
2604
- ), oe(
2605
+ ), re(
2605
2606
  () => t.videoUrl,
2606
2607
  () => {
2607
2608
  u.value = !1, Fe(() => {
2608
2609
  u.value = !0;
2609
2610
  });
2610
2611
  }
2611
- ), (y, _) => (N(), ue("div", Xu, [
2612
+ ), (y, _) => (N(), de("div", Xu, [
2612
2613
  R(v(ko), {
2613
2614
  spinning: t.loading,
2614
2615
  type: "component",
@@ -2621,14 +2622,14 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2621
2622
  x(
2622
2623
  "div",
2623
2624
  td,
2624
- 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),
2625
2626
  1
2626
2627
  /* TEXT */
2627
2628
  )
2628
2629
  ])
2629
2630
  ]),
2630
2631
  x("div", nd, [
2631
- ["live"].includes(y.type) ? (N(), ue("span", od, "正在实时预览")) : U("v-if", !0),
2632
+ ["live"].includes(y.type) ? (N(), de("span", od, "正在实时预览")) : U("v-if", !0),
2632
2633
  U(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
2633
2634
  ])
2634
2635
  ]),
@@ -2657,7 +2658,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2657
2658
  onDblclick: _[2] || (_[2] = te((T) => T.stopPropagation(), ["stop"]))
2658
2659
  },
2659
2660
  [
2660
- R(v(ie), { content: "声音" }, {
2661
+ R(v(ae), { content: "声音" }, {
2661
2662
  default: M(() => [
2662
2663
  R(v(De), {
2663
2664
  class: "icon icon-volume",
@@ -2668,7 +2669,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2668
2669
  _: 1
2669
2670
  /* STABLE */
2670
2671
  }),
2671
- R(v(ie), { content: "截图" }, {
2672
+ R(v(ae), { content: "截图" }, {
2672
2673
  default: M(() => [
2673
2674
  R(v(De), {
2674
2675
  class: "icon icon-screenshot",
@@ -2679,7 +2680,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2679
2680
  _: 1
2680
2681
  /* STABLE */
2681
2682
  }),
2682
- m("control") ? (N(), V(v(ie), {
2683
+ m("control") ? (N(), V(v(ae), {
2683
2684
  key: 0,
2684
2685
  content: "聚焦-"
2685
2686
  }, {
@@ -2694,7 +2695,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2694
2695
  _: 1
2695
2696
  /* STABLE */
2696
2697
  })) : U("v-if", !0),
2697
- m("control") ? (N(), V(v(ie), {
2698
+ m("control") ? (N(), V(v(ae), {
2698
2699
  key: 1,
2699
2700
  content: "聚焦+"
2700
2701
  }, {
@@ -2709,7 +2710,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2709
2710
  _: 1
2710
2711
  /* STABLE */
2711
2712
  })) : U("v-if", !0),
2712
- m("control") ? (N(), V(v(ie), {
2713
+ m("control") ? (N(), V(v(ae), {
2713
2714
  key: 2,
2714
2715
  content: "方向控制"
2715
2716
  }, {
@@ -2740,7 +2741,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2740
2741
  }, 8, ["spinning"])
2741
2742
  ]));
2742
2743
  }
2743
- }), ad = /* @__PURE__ */ Ee(id, [["__scopeId", "data-v-6c626546"]]), cd = /* @__PURE__ */ de({
2744
+ }), ad = /* @__PURE__ */ Ee(id, [["__scopeId", "data-v-6c626546"]]), cd = /* @__PURE__ */ pe({
2744
2745
  props: {
2745
2746
  deviceInfo: {
2746
2747
  type: Object,
@@ -2781,7 +2782,7 @@ const Fu = ju.post("data/device-auth"), Ju = /* @__PURE__ */ de({
2781
2782
  };
2782
2783
  return Qe(() => {
2783
2784
  s();
2784
- }), oe(() => t.value, () => {
2785
+ }), re(() => t.value, () => {
2785
2786
  s();
2786
2787
  }, {
2787
2788
  deep: !0
@@ -2833,7 +2834,7 @@ function ld(n) {
2833
2834
  toggleFullscreen: o
2834
2835
  };
2835
2836
  }
2836
- const ud = /* @__PURE__ */ de({
2837
+ const ud = /* @__PURE__ */ pe({
2837
2838
  __name: "index",
2838
2839
  props: {
2839
2840
  deviceList: { default: () => [] },
@@ -2880,7 +2881,7 @@ const ud = /* @__PURE__ */ de({
2880
2881
  -1
2881
2882
  /* HOISTED */
2882
2883
  )),
2883
- R(v(ie), { content: "页面全屏" }, {
2884
+ R(v(ae), { content: "页面全屏" }, {
2884
2885
  default: M(() => [
2885
2886
  R(v(De), {
2886
2887
  class: "icon",
@@ -3094,7 +3095,7 @@ class at {
3094
3095
  }
3095
3096
  at.instance = new at();
3096
3097
  const md = "8.0.7";
3097
- class Y {
3098
+ class Z {
3098
3099
  static isRequired(e, t) {
3099
3100
  if (e == null)
3100
3101
  throw new Error(`The '${t}' argument is required.`);
@@ -3542,7 +3543,7 @@ class _n {
3542
3543
  constructor(e, t, o, r, s, a, l) {
3543
3544
  this._nextKeepAlive = 0, this._freezeEventListener = () => {
3544
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");
3545
- }, 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 });
3546
3547
  }
3547
3548
  /** Indicates the state of the {@link HubConnection} to the server. */
3548
3549
  get state() {
@@ -4062,14 +4063,14 @@ class Rd extends Dt {
4062
4063
  return this._innerClient.getCookieString(e);
4063
4064
  }
4064
4065
  }
4065
- var X;
4066
+ var G;
4066
4067
  (function(n) {
4067
4068
  n[n.None = 0] = "None", n[n.WebSockets = 1] = "WebSockets", n[n.ServerSentEvents = 2] = "ServerSentEvents", n[n.LongPolling = 4] = "LongPolling";
4068
- })(X || (X = {}));
4069
- var re;
4069
+ })(G || (G = {}));
4070
+ var se;
4070
4071
  (function(n) {
4071
4072
  n[n.Text = 1] = "Text", n[n.Binary = 2] = "Binary";
4072
- })(re || (re = {}));
4073
+ })(se || (se = {}));
4073
4074
  let Qd = class {
4074
4075
  constructor() {
4075
4076
  this._isAborted = !1, this.onabort = null;
@@ -4093,7 +4094,7 @@ class Ao {
4093
4094
  this._httpClient = e, this._logger = t, this._pollAbort = new Qd(), this._options = o, this._running = !1, this.onreceive = null, this.onclose = null;
4094
4095
  }
4095
4096
  async connect(e, t) {
4096
- if (Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, re, "transferFormat"), this._url = e, this._logger.log(g.Trace, "(LongPolling transport) Connecting."), t === re.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")
4097
4098
  throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
4098
4099
  const [o, r] = Ke(), s = { [o]: r, ...this._options.headers }, a = {
4099
4100
  abortSignal: this._pollAbort.signal,
@@ -4101,7 +4102,7 @@ class Ao {
4101
4102
  timeout: 1e5,
4102
4103
  withCredentials: this._options.withCredentials
4103
4104
  };
4104
- t === re.Binary && (a.responseType = "arraybuffer");
4105
+ t === se.Binary && (a.responseType = "arraybuffer");
4105
4106
  const l = `${e}&_=${Date.now()}`;
4106
4107
  this._logger.log(g.Trace, `(LongPolling transport) polling: ${l}.`);
4107
4108
  const c = await this._httpClient.get(l, a);
@@ -4159,9 +4160,9 @@ class jd {
4159
4160
  this._httpClient = e, this._accessToken = t, this._logger = o, this._options = r, this.onreceive = null, this.onclose = null;
4160
4161
  }
4161
4162
  async connect(e, t) {
4162
- return Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, re, "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) => {
4163
4164
  let s = !1;
4164
- if (t !== re.Text) {
4165
+ if (t !== se.Text) {
4165
4166
  r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
4166
4167
  return;
4167
4168
  }
@@ -4209,7 +4210,7 @@ class Hd {
4209
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;
4210
4211
  }
4211
4212
  async connect(e, t) {
4212
- Y.isRequired(e, "url"), Y.isRequired(t, "transferFormat"), Y.isIn(t, re, "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.");
4213
4214
  let o;
4214
4215
  return this._accessTokenFactory && (o = await this._accessTokenFactory()), new Promise((r, s) => {
4215
4216
  e = e.replace(/^http/, "ws");
@@ -4223,7 +4224,7 @@ class Hd {
4223
4224
  });
4224
4225
  } else
4225
4226
  o && (e += (e.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(o)}`);
4226
- a || (a = new this._webSocketConstructor(e)), t === re.Binary && (a.binaryType = "arraybuffer"), a.onopen = (i) => {
4227
+ a || (a = new this._webSocketConstructor(e)), t === se.Binary && (a.binaryType = "arraybuffer"), a.onopen = (i) => {
4227
4228
  this._logger.log(g.Information, `WebSocket connected to ${e}.`), this._webSocket = a, c = !0, r();
4228
4229
  }, a.onerror = (i) => {
4229
4230
  let u = null;
@@ -4266,7 +4267,7 @@ const mo = 100;
4266
4267
  class Nd {
4267
4268
  constructor(e, t = {}) {
4268
4269
  if (this._stopPromiseResolver = () => {
4269
- }, 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)
4270
4271
  t.withCredentials = t.withCredentials === void 0 ? !0 : t.withCredentials;
4271
4272
  else
4272
4273
  throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
@@ -4279,7 +4280,7 @@ class Nd {
4279
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;
4280
4281
  }
4281
4282
  async start(e) {
4282
- if (e = e || re.Binary, Y.isIn(e, re, "transferFormat"), this._logger.log(g.Debug, `Starting connection with transfer format '${re[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")
4283
4284
  return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
4284
4285
  if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(e), await this._startInternalPromise, this._connectionState === "Disconnecting") {
4285
4286
  const t = "Failed to start the HttpConnection before stop() was called.";
@@ -4323,8 +4324,8 @@ class Nd {
4323
4324
  this._accessTokenFactory = this._options.accessTokenFactory, this._httpClient._accessTokenFactory = this._accessTokenFactory;
4324
4325
  try {
4325
4326
  if (this._options.skipNegotiation)
4326
- if (this._options.transport === X.WebSockets)
4327
- 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);
4328
4329
  else
4329
4330
  throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");
4330
4331
  else {
@@ -4400,7 +4401,7 @@ class Nd {
4400
4401
  await this._startTransport(s, r), this.connectionId = c.connectionId;
4401
4402
  return;
4402
4403
  } catch (A) {
4403
- 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") {
4404
4405
  const p = "Failed to select transport before stop() was called.";
4405
4406
  return this._logger.log(g.Debug, p), Promise.reject(new ve(p));
4406
4407
  }
@@ -4411,15 +4412,15 @@ class Nd {
4411
4412
  }
4412
4413
  _constructTransport(e) {
4413
4414
  switch (e) {
4414
- case X.WebSockets:
4415
+ case G.WebSockets:
4415
4416
  if (!this._options.WebSocket)
4416
4417
  throw new Error("'WebSocket' is not supported in your environment.");
4417
4418
  return new Hd(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
4418
- case X.ServerSentEvents:
4419
+ case G.ServerSentEvents:
4419
4420
  if (!this._options.EventSource)
4420
4421
  throw new Error("'EventSource' is not supported in your environment.");
4421
4422
  return new jd(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
4422
- case X.LongPolling:
4423
+ case G.LongPolling:
4423
4424
  return new Ao(this._httpClient, this._logger, this._options);
4424
4425
  default:
4425
4426
  throw new Error(`Unknown transport: ${e}.`);
@@ -4442,23 +4443,23 @@ class Nd {
4442
4443
  } : this.transport.onclose = (o) => this._stopConnection(o), this.transport.connect(e, t);
4443
4444
  }
4444
4445
  _resolveTransportOrError(e, t, o, r) {
4445
- const s = X[e.transport];
4446
+ const s = G[e.transport];
4446
4447
  if (s == null)
4447
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.`);
4448
4449
  if (Ud(t, s))
4449
- if (e.transferFormats.map((l) => re[l]).indexOf(o) >= 0) {
4450
- if (s === X.WebSockets && !this._options.WebSocket || s === X.ServerSentEvents && !this._options.EventSource)
4451
- 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);
4452
- this._logger.log(g.Debug, `Selecting transport '${X[s]}'.`);
4450
+ if (e.transferFormats.map((l) => se[l]).indexOf(o) >= 0) {
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]}'.`);
4453
4454
  try {
4454
- 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);
4455
4456
  } catch (l) {
4456
4457
  return l;
4457
4458
  }
4458
4459
  } else
4459
- return this._logger.log(g.Debug, `Skipping transport '${X[s]}' because it does not support the requested transfer format '${re[o]}'.`), new Error(`'${X[s]}' does not support ${re[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]}.`);
4460
4461
  else
4461
- 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);
4462
4463
  }
4463
4464
  _isITransport(e) {
4464
4465
  return e && typeof e == "object" && "connect" in e;
@@ -4554,7 +4555,7 @@ class gt {
4554
4555
  const Fd = "json";
4555
4556
  class Jd {
4556
4557
  constructor() {
4557
- this.name = Fd, this.version = 2, this.transferFormat = re.Text;
4558
+ this.name = Fd, this.version = 2, this.transferFormat = se.Text;
4558
4559
  }
4559
4560
  /** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
4560
4561
  *
@@ -4652,7 +4653,7 @@ function zd(n) {
4652
4653
  }
4653
4654
  class Vd {
4654
4655
  configureLogging(e) {
4655
- if (Y.isRequired(e, "logging"), qd(e))
4656
+ if (Z.isRequired(e, "logging"), qd(e))
4656
4657
  this.logger = e;
4657
4658
  else if (typeof e == "string") {
4658
4659
  const t = zd(e);
@@ -4662,7 +4663,7 @@ class Vd {
4662
4663
  return this;
4663
4664
  }
4664
4665
  withUrl(e, t) {
4665
- 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 = {
4666
4667
  ...this.httpConnectionOptions,
4667
4668
  transport: t
4668
4669
  }, this;
@@ -4672,7 +4673,7 @@ class Vd {
4672
4673
  * @param {IHubProtocol} protocol The {@link @microsoft/signalr.IHubProtocol} implementation to use.
4673
4674
  */
4674
4675
  withHubProtocol(e) {
4675
- return Y.isRequired(e, "protocol"), this.protocol = e, this;
4676
+ return Z.isRequired(e, "protocol"), this.protocol = e, this;
4676
4677
  }
4677
4678
  withAutomaticReconnect(e) {
4678
4679
  if (this.reconnectPolicy)
@@ -4684,14 +4685,14 @@ class Vd {
4684
4685
  * @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
4685
4686
  */
4686
4687
  withServerTimeout(e) {
4687
- return Y.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
4688
+ return Z.isRequired(e, "milliseconds"), this._serverTimeoutInMilliseconds = e, this;
4688
4689
  }
4689
4690
  /** Configures {@link @microsoft/signalr.HubConnection.keepAliveIntervalInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
4690
4691
  *
4691
4692
  * @returns The {@link @microsoft/signalr.HubConnectionBuilder} instance, for chaining.
4692
4693
  */
4693
4694
  withKeepAliveInterval(e) {
4694
- return Y.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
4695
+ return Z.isRequired(e, "milliseconds"), this._keepAliveIntervalInMilliseconds = e, this;
4695
4696
  }
4696
4697
  /** Enables and configures options for the Stateful Reconnect feature.
4697
4698
  *
@@ -4719,7 +4720,7 @@ let { baseURL: Kd } = He();
4719
4720
  const Gd = () => {
4720
4721
  const n = new Vd().withUrl(`${Kd}/api/tool/event-bus`, {
4721
4722
  skipNegotiation: !0,
4722
- transport: X.WebSockets
4723
+ transport: G.WebSockets
4723
4724
  }).withAutomaticReconnect().build();
4724
4725
  return n.start().then(() => {
4725
4726
  }).catch((e) => {
@@ -4830,7 +4831,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
4830
4831
  }), {};
4831
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 = {
4832
4833
  name: "handleAlarm"
4833
- }, Cp = /* @__PURE__ */ de({
4834
+ }, Cp = /* @__PURE__ */ pe({
4834
4835
  ...bp,
4835
4836
  props: {
4836
4837
  projectId: { default: "" },
@@ -4905,15 +4906,15 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
4905
4906
  if (O) return {};
4906
4907
  $.value = I.data.filter((k) => k.status), $.value.length > 0 && (i.value.workOrderRules = $.value[0].id);
4907
4908
  };
4908
- oe(c, (O) => {
4909
- O || (G(), pe());
4910
- }), oe(
4909
+ re(c, (O) => {
4910
+ O || (Y(), ne());
4911
+ }), re(
4911
4912
  B,
4912
4913
  (O) => {
4913
4914
  O ? (T.value = !0, i.value.customPath = Q("选填").value) : (T.value = !1, i.value.customPath = "");
4914
4915
  },
4915
4916
  { immediate: !0 }
4916
- ), oe(
4917
+ ), re(
4917
4918
  P,
4918
4919
  (O) => {
4919
4920
  O ? (i.value.reportTheme = Q("告警对象").value, C.value = !0) : (m.value = "请输入", i.value.reportTheme = "", C.value = !1);
@@ -4923,17 +4924,17 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
4923
4924
  const F = (O) => {
4924
4925
  var I;
4925
4926
  return (I = a.value) == null ? void 0 : I.parentNode.parentNode;
4926
- }, se = (O) => {
4927
+ }, ie = (O) => {
4927
4928
  u.value.reportTheme = "";
4928
4929
  }, Te = (O, I) => {
4929
4930
  I.length > 0 && (f.value = I[0].path), i.value.reportPosition = O, _.value = "";
4930
4931
  }, ft = (O) => {
4931
4932
  O && (u.value.reportPosition = "", f.value = ""), O ? (i.value.reportPosition = null, f.value = "", d.value = "告警对象位置") : (i.value.reportPosition = null, f.value = "", d.value = "请选择");
4932
- }, ne = (O) => {
4933
+ }, oe = (O) => {
4933
4934
  O && (u.value.reportTheme = ""), O ? (i.value.reportTheme = "", m.value = "告警对象") : (i.value.reportTheme = "", m.value = "请输入");
4934
- }, G = () => {
4935
+ }, Y = () => {
4935
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 = "";
4936
- }, pe = () => {
4937
+ }, ne = () => {
4937
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 = [];
4938
4939
  }, Oe = (O) => {
4939
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);
@@ -4959,7 +4960,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
4959
4960
  if (I) return {};
4960
4961
  i.value.interval = k.handleTimeUnit, k.handleTimeUnit == 3 ? i.value.timeLimit = "" : i.value.timeLimit = k.handleTime;
4961
4962
  }, vr = (O) => {
4962
- G();
4963
+ Y();
4963
4964
  }, yr = async () => {
4964
4965
  const O = {
4965
4966
  logic: !1,
@@ -5019,7 +5020,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5019
5020
  return e({
5020
5021
  open: Cr,
5021
5022
  close: xt
5022
- }), (O, I) => (N(), ue("div", Ap, [
5023
+ }), (O, I) => (N(), de("div", Ap, [
5023
5024
  R(v(sn), {
5024
5025
  modelValue: c.value,
5025
5026
  "onUpdate:modelValue": I[31] || (I[31] = (k) => c.value = k),
@@ -5033,8 +5034,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5033
5034
  "destroy-on-close": ""
5034
5035
  }, {
5035
5036
  header: M(() => [
5036
- le(
5037
- Z(v(Q)("告警处理").value),
5037
+ ue(
5038
+ X(v(Q)("告警处理").value),
5038
5039
  1
5039
5040
  /* TEXT */
5040
5041
  )
@@ -5046,8 +5047,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5046
5047
  onClick: wr
5047
5048
  }, {
5048
5049
  default: M(() => [
5049
- le(
5050
- Z(v(Q)("取消").value),
5050
+ ue(
5051
+ X(v(Q)("取消").value),
5051
5052
  1
5052
5053
  /* TEXT */
5053
5054
  )
@@ -5060,8 +5061,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5060
5061
  onClick: I[29] || (I[29] = (k) => En(1))
5061
5062
  }, {
5062
5063
  default: M(() => [
5063
- le(
5064
- Z(v(Q)("结束处理").value),
5064
+ ue(
5065
+ X(v(Q)("结束处理").value),
5065
5066
  1
5066
5067
  /* TEXT */
5067
5068
  )
@@ -5075,8 +5076,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5075
5076
  onClick: I[30] || (I[30] = (k) => En(2))
5076
5077
  }, {
5077
5078
  default: M(() => [
5078
- le(
5079
- Z(v(Q)("继续处理").value),
5079
+ ue(
5080
+ X(v(Q)("继续处理").value),
5080
5081
  1
5081
5082
  /* TEXT */
5082
5083
  )
@@ -5210,8 +5211,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5210
5211
  size: "middle"
5211
5212
  }, {
5212
5213
  default: M(() => [
5213
- le(
5214
- Z(v(Q)("告警对象位置").value),
5214
+ ue(
5215
+ X(v(Q)("告警对象位置").value),
5215
5216
  1
5216
5217
  /* TEXT */
5217
5218
  )
@@ -5242,18 +5243,18 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5242
5243
  modelValue: i.value.reportTheme,
5243
5244
  "onUpdate:modelValue": I[14] || (I[14] = (k) => i.value.reportTheme = k),
5244
5245
  placeholder: m.value,
5245
- onChange: se
5246
+ onChange: ie
5246
5247
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
5247
5248
  R(v(Bn), {
5248
5249
  modelValue: P.value,
5249
5250
  "onUpdate:modelValue": I[15] || (I[15] = (k) => P.value = k),
5250
5251
  checkboxType: "default",
5251
- onChange: ne,
5252
+ onChange: oe,
5252
5253
  size: "middle"
5253
5254
  }, {
5254
5255
  default: M(() => [
5255
- le(
5256
- Z(v(Q)("告警对象").value),
5256
+ ue(
5257
+ X(v(Q)("告警对象").value),
5257
5258
  1
5258
5259
  /* TEXT */
5259
5260
  )
@@ -5386,7 +5387,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5386
5387
  })
5387
5388
  }), Sp = { class: "alarm-msg" }, Tp = { style: { position: "relative" } }, kp = { class: "title-left" }, Pp = { class: "title-box" }, Bp = { class: "content-box" }, Op = { class: "alarm-msg-line" }, Dp = { class: "alarm-msg-line-left" }, $p = { class: "alarm-msg-line" }, Lp = { class: "alarm-msg-line-left" }, xp = { class: "alarm-msg-line-right alarm-content-object" }, Mp = { class: "alarm-msg-line" }, Rp = { class: "alarm-msg-line-left" }, Qp = { class: "alarm-msg-line-right alarm-content" }, jp = { class: "btn-box" }, Hp = {
5388
5389
  name: "alarm"
5389
- }, Np = /* @__PURE__ */ de({
5390
+ }, Np = /* @__PURE__ */ pe({
5390
5391
  ...Hp,
5391
5392
  props: {
5392
5393
  alarmhandle: { type: Boolean, default: !1 },
@@ -5399,7 +5400,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5399
5400
  }, s = () => {
5400
5401
  o("handerDetail", t.msgItem);
5401
5402
  };
5402
- return (a, l) => (N(), ue(
5403
+ return (a, l) => (N(), de(
5403
5404
  We,
5404
5405
  null,
5405
5406
  [
@@ -5420,7 +5421,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5420
5421
  x(
5421
5422
  "div",
5422
5423
  Pp,
5423
- Z(v(Q)("新告警").value),
5424
+ X(v(Q)("新告警").value),
5424
5425
  1
5425
5426
  /* TEXT */
5426
5427
  )
@@ -5441,7 +5442,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5441
5442
  x(
5442
5443
  "div",
5443
5444
  Dp,
5444
- Z(v(Q)("告警等级:").value),
5445
+ X(v(Q)("告警等级:").value),
5445
5446
  1
5446
5447
  /* TEXT */
5447
5448
  ),
@@ -5451,7 +5452,7 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5451
5452
  class: "alarm-msg-line-right alarm-content-object",
5452
5453
  style: Sn({ color: a.msgItem.color })
5453
5454
  },
5454
- Z(a.msgItem.alarmLevelName || ""),
5455
+ X(a.msgItem.alarmLevelName || ""),
5455
5456
  5
5456
5457
  /* TEXT, STYLE */
5457
5458
  )
@@ -5460,14 +5461,14 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5460
5461
  x(
5461
5462
  "div",
5462
5463
  Lp,
5463
- Z(v(Q)("告警对象:").value),
5464
+ X(v(Q)("告警对象:").value),
5464
5465
  1
5465
5466
  /* TEXT */
5466
5467
  ),
5467
5468
  x(
5468
5469
  "div",
5469
5470
  xp,
5470
- Z(a.msgItem.equipmentName || ""),
5471
+ X(a.msgItem.equipmentName || ""),
5471
5472
  1
5472
5473
  /* TEXT */
5473
5474
  )
@@ -5476,14 +5477,14 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5476
5477
  x(
5477
5478
  "div",
5478
5479
  Rp,
5479
- Z(v(Q)("告警内容:").value),
5480
+ X(v(Q)("告警内容:").value),
5480
5481
  1
5481
5482
  /* TEXT */
5482
5483
  ),
5483
5484
  x(
5484
5485
  "div",
5485
5486
  Qp,
5486
- Z(a.msgItem.alarmContent || ""),
5487
+ X(a.msgItem.alarmContent || ""),
5487
5488
  1
5488
5489
  /* TEXT */
5489
5490
  )
@@ -5497,8 +5498,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5497
5498
  size: "middle"
5498
5499
  }, {
5499
5500
  default: M(() => [
5500
- le(
5501
- Z(v(Q)("设备详情").value),
5501
+ ue(
5502
+ X(v(Q)("设备详情").value),
5502
5503
  1
5503
5504
  /* TEXT */
5504
5505
  )
@@ -5514,8 +5515,8 @@ const tp = je(`/api/tool/event-bus/${$t}/`), Ht = tp.post("/publish"), np = tn.g
5514
5515
  size: "middle"
5515
5516
  }, {
5516
5517
  default: M(() => [
5517
- le(
5518
- Z(v(Q)("处理").value),
5518
+ ue(
5519
+ X(v(Q)("处理").value),
5519
5520
  1
5520
5521
  /* TEXT */
5521
5522
  )
@@ -5663,7 +5664,7 @@ const Fp = () => {
5663
5664
  }));
5664
5665
  }
5665
5666
  };
5666
- }, Jp = ["src", "muted", "loop"], Wp = /* @__PURE__ */ de({
5667
+ }, Jp = ["src", "muted", "loop"], Wp = /* @__PURE__ */ pe({
5667
5668
  __name: "index",
5668
5669
  setup(n) {
5669
5670
  const { alarmSocket: e, creatAlarmSocket: t, audioObj: o, audioAlarmRef: r, handleAlarmVue: s } = Fp();
@@ -5671,7 +5672,7 @@ const Fp = () => {
5671
5672
  await Tt(), t();
5672
5673
  }), Et(() => {
5673
5674
  e.value && e.value.disconnect(), e.value = null;
5674
- }), (a, l) => (N(), ue(
5675
+ }), (a, l) => (N(), de(
5675
5676
  We,
5676
5677
  null,
5677
5678
  [
@@ -5690,7 +5691,7 @@ const Fp = () => {
5690
5691
  /* STABLE_FRAGMENT */
5691
5692
  ));
5692
5693
  }
5693
- }), zp = { class: "das-main-app-container" }, Vp = /* @__PURE__ */ de({
5694
+ }), zp = { class: "das-main-app-container" }, Vp = /* @__PURE__ */ pe({
5694
5695
  __name: "index",
5695
5696
  setup(n) {
5696
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);
@@ -5698,7 +5699,7 @@ const Fp = () => {
5698
5699
  const { $changePwd: u, $personSetDialog: A } = Cu(), { changeEnterprisesVisible: p, userId: h, tenantId: S, changeEnterprise: w } = dr();
5699
5700
  vu();
5700
5701
  const { fontColor: f, backgroudColor: d, borderColor: m } = _u();
5701
- return $u(), Lu(c), xu(), Ru(), pd(), op(), (y, _) => (N(), ue("div", zp, [
5702
+ return $u(), Lu(c), xu(), Ru(), pd(), op(), (y, _) => (N(), de("div", zp, [
5702
5703
  R(v(Ps), { platformInitNextTick: v(a) }, {
5703
5704
  default: M(() => [
5704
5705
  R(fs, {
@@ -5751,15 +5752,15 @@ E("@das-fed/web");
5751
5752
  const Kp = [
5752
5753
  {
5753
5754
  path: Ie,
5754
- component: () => import("./index-j5ACjIDv.js")
5755
+ component: () => import("./index-DE3A2Eyv.js")
5755
5756
  },
5756
5757
  {
5757
5758
  path: Je,
5758
- component: () => import("./index-B9FQmM02.js")
5759
+ component: () => import("./index-czNdTV8H.js")
5759
5760
  },
5760
5761
  {
5761
5762
  path: Bo,
5762
- component: () => import("./index-DLw2CpC0.js")
5763
+ component: () => import("./index-CsB4a8gH.js")
5763
5764
  }
5764
5765
  ], Hf = {
5765
5766
  routes: Kp,