@das-fed/web 6.4.0-dev.55.1 → 6.4.0-dev.55.10

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.
Files changed (31) hide show
  1. package/{packages/main-app-framework/index-BCjUHPOB.js → index-DFEL-Cga.js} +1 -1
  2. package/index-DFEL-Cga.js.gz +0 -0
  3. package/{index-TIWfkC3W.js → index-DMBEOUj9.js} +473 -461
  4. package/index-DMBEOUj9.js.gz +0 -0
  5. package/{index-CBH-AKKo.js → index-Dj8wsECZ.js} +1 -1
  6. package/index.js +1 -1
  7. package/package.json +6 -6
  8. package/packages/i18n/index.js +45 -45
  9. package/packages/i18n/index.js.gz +0 -0
  10. package/packages/layout/index.js +174 -176
  11. package/packages/layout/index.js.gz +0 -0
  12. package/packages/layout/style.css +1 -1
  13. package/packages/layout/style.css.gz +0 -0
  14. package/packages/main-app-framework/{index-Cx8AIMAF.js → index-BLejWQsR.js} +658 -644
  15. package/packages/main-app-framework/index-BLejWQsR.js.gz +0 -0
  16. package/{index-YvyM8fd6.js → packages/main-app-framework/index-BdObFLUU.js} +1 -1
  17. package/packages/main-app-framework/index-BdObFLUU.js.gz +0 -0
  18. package/packages/main-app-framework/{index-CsJoK0gc.js → index-D4viUcnM.js} +1 -1
  19. package/packages/main-app-framework/index.js +1 -1
  20. package/packages/main-app-framework/style.css +1 -1
  21. package/packages/main-app-framework/style.css.gz +0 -0
  22. package/packages/micro-frontend/index.js.gz +0 -0
  23. package/packages/style/style.css +1 -1
  24. package/packages/style/style.css.gz +0 -0
  25. package/style.css +2 -2
  26. package/style.css.gz +0 -0
  27. package/types/main-app-framework/i18n/index.d.ts +105 -0
  28. package/index-TIWfkC3W.js.gz +0 -0
  29. package/index-YvyM8fd6.js.gz +0 -0
  30. package/packages/main-app-framework/index-BCjUHPOB.js.gz +0 -0
  31. package/packages/main-app-framework/index-Cx8AIMAF.js.gz +0 -0
@@ -1,13 +1,13 @@
1
- import { ref as R, createApp as Rv, reactive as gA, computed as B, defineComponent as fA, watch as C, openBlock as L, createElementBlock as F, Fragment as IA, createBlock as U, TransitionGroup as ov, normalizeProps as xf, mergeProps as we, withCtx as M, renderList as Te, withDirectives as RA, resolveDynamicComponent as Xe, vShow as DA, unref as i, createCommentVNode as k, nextTick as GA, resolveComponent as Nv, createElementVNode as T, normalizeClass as s9, normalizeStyle as Df, renderSlot as sA, createVNode as g, Transition as cn, guardReactiveProps as sn, KeepAlive as qn, h as uA, onBeforeMount as xv, onMounted as SA, onUnmounted as Dv, getCurrentScope as jv, onScopeDispose as Zv, getCurrentInstance as Tv, onActivated as yv, createTextVNode as bA, toDisplayString as S, render as Af, onBeforeUnmount as Me, useCssVars as Lv, withModifiers as XA, toRefs as Wv, isRef as Iv } from "vue";
1
+ import { ref as R, createApp as Rv, reactive as gA, computed as B, defineComponent as fA, watch as C, openBlock as L, createElementBlock as F, Fragment as IA, createBlock as U, TransitionGroup as ov, normalizeProps as xf, mergeProps as Me, withCtx as M, renderList as ye, withDirectives as RA, resolveDynamicComponent as Xe, vShow as DA, unref as i, createCommentVNode as k, nextTick as GA, resolveComponent as Nv, createElementVNode as T, normalizeClass as s9, normalizeStyle as Df, renderSlot as sA, createVNode as g, Transition as cn, guardReactiveProps as sn, KeepAlive as qn, h as uA, onBeforeMount as xv, onMounted as SA, onUnmounted as Dv, getCurrentScope as jv, onScopeDispose as Zv, getCurrentInstance as Tv, onActivated as yv, createTextVNode as bA, toDisplayString as S, render as Af, onBeforeUnmount as ge, useCssVars as Lv, withModifiers as XA, toRefs as Wv, isRef as Iv } from "vue";
2
2
  import { initTheme as Ev, setThemeRule as wv } from "@das-fed/web/packages/theme/index";
3
3
  import { initI18n as Mv, t as J, i18n as w, setI18nRule as gv } from "@das-fed/web/packages/i18n/index";
4
4
  import { DasWebLayout as Qf, DasWebNav as q9, DasWebMenu as m9, DasWebTabs as p9, layout as W, layoutData as H9 } from "@das-fed/web/packages/layout/index";
5
5
  import { createPinia as kv } from "pinia";
6
6
  import Bv from "pinia-plugin-persistedstate";
7
- import { createRouter as Qv, createWebHistory as Gv, useRouter as fe, useRoute as ge } from "vue-router";
7
+ import { createRouter as Qv, createWebHistory as Gv, useRouter as fe, useRoute as ke } from "vue-router";
8
8
  import { DasChangePwdRef as Uv, DasChangePwd as Jv } from "@das-fed/ui/packages/business-components/change-pwd/index";
9
9
  import { DasChangeEnterprises as Yv } from "@das-fed/ui/packages/business-components/change-enterprises/index";
10
- import { getSubApps as K, getTabInfo as pA, getPersonalInfo as ke, getTenantInfo as Gf, getProjectInfo as JA, getToken as Be, getUserInfo as l9, getMenus as ef } from "@das-fed/utils/common-info";
10
+ import { getSubApps as K, getTabInfo as pA, getPersonalInfo as Be, getTenantInfo as Gf, getProjectInfo as JA, getToken as Qe, getUserInfo as l9, getMenus as ef } from "@das-fed/utils/common-info";
11
11
  import { pureImageSrc as Pf } from "@das-fed/utils/pure-image-src";
12
12
  import { DasNotification as ff } from "@das-fed/ui/packages/components/notification/index";
13
13
  import { flatTree as EA, filterTreeArray as Fv, isEmpty as hv, treeFind as mn, setBrowseTitle as Sv, updateFavIcon as Kv, dateFormat as Cv, runPromiseByQueue as _v, objEqual as jf, setShowWatermark as Zf, setShowLayout as Tf, getUrlParams as $v, withToken as A3 } from "@das-fed/utils/common-tools";
@@ -57,13 +57,13 @@ const o3 = {
57
57
  }, Lf = kv();
58
58
  Lf.use(Bv);
59
59
  const N3 = (e) => {
60
- var P, X, p, u, a;
60
+ var P, X, p, u, c;
61
61
  const A = ((P = e == null ? void 0 : e.router) == null ? void 0 : P.routerBase) ?? "/", f = ((X = e == null ? void 0 : e.router) == null ? void 0 : X.options) || {};
62
62
  let n = Object.assign(((p = e == null ? void 0 : e.router) == null ? void 0 : p.glob) || {});
63
63
  const v = Object.values(n).filter((l) => !!l).flat().sort((l, m) => (l.index ?? 0) - (m.index ?? 0)), t = [];
64
64
  (u = e == null ? void 0 : e.microApps) == null || u.map((l) => {
65
65
  var s;
66
- const m = Object.values(((s = l.router) == null ? void 0 : s.glob) || {}).filter((b) => !!b).flat().sort((b, c) => (b.index ?? 0) - (c.index ?? 0));
66
+ const m = Object.values(((s = l.router) == null ? void 0 : s.glob) || {}).filter((b) => !!b).flat().sort((b, a) => (b.index ?? 0) - (a.index ?? 0));
67
67
  t.push(
68
68
  ...m.map((b) => ({ ...b, path: `/${l.microAppName}${b.path}` }))
69
69
  ), t.push(
@@ -74,7 +74,7 @@ const N3 = (e) => {
74
74
  }))
75
75
  );
76
76
  });
77
- const r = ((a = e == null ? void 0 : e.router) == null ? void 0 : a.routers) || [], d = [
77
+ const r = ((c = e == null ? void 0 : e.router) == null ? void 0 : c.routers) || [], d = [
78
78
  ...pf(v, e),
79
79
  ...pf(r, e),
80
80
  ...pf(t, e)
@@ -93,7 +93,7 @@ const N3 = (e) => {
93
93
  t.use(o3, e), t.use(Lf);
94
94
  const { router: r } = N3(e);
95
95
  return t.use(r), t.mount(f || "#app"), { app: t, router: r, loading: A, store: Lf };
96
- }, be = gA({}), ae = gA({}), Ke = gA({});
96
+ }, be = gA({}), ae = gA({}), De = gA({});
97
97
  var i9;
98
98
  const x3 = (i9 = navigator.language) != null && i9.toLowerCase().startsWith("zh") ? "zh-CN" : "en", vf = R(x3), D3 = "dasI18n", V8 = (e = {}, A) => {
99
99
  const f = A === "global", n = !f, v = {};
@@ -106,7 +106,7 @@ const x3 = (i9 = navigator.language) != null && i9.toLowerCase().startsWith("zh"
106
106
  for (const t in e)
107
107
  if (f && !ae[t] && (ae[t] = e[t]), n) {
108
108
  const r = (v = e[t]) != null && v._appCode ? e[t]._appCode.toLowerCase() : "";
109
- r && (Ke[r] || (Ke[r] = {}), Ke[r][t] = e[t]), be[t] || (be[t] = e[t]);
109
+ r && (De[r] || (De[r] = {}), De[r][t] = e[t]), be[t] || (be[t] = e[t]);
110
110
  }
111
111
  }, O8 = async (e) => {
112
112
  var n, v;
@@ -123,13 +123,13 @@ const x3 = (i9 = navigator.language) != null && i9.toLowerCase().startsWith("zh"
123
123
  return n && n.length >= 3 && (A = n[1] + "/" + n[2]), A ? A.toLowerCase() : "";
124
124
  }, Z3 = (e, ...A) => B(() => {
125
125
  const f = j3(location.pathname);
126
- let n = Ke[f] ?? {}, v = ae[e] || n[e] || be[e] || e;
127
- if (v === e) return e;
128
- typeof v == "string" && (v = { "zh-CN": v });
129
- let t = v[vf.value];
130
- return vf.value === "zh-CN" && v["zh-cn"] && !v["zh-CN"] && (t = v["zh-cn"]), A.map((r, d) => {
131
- t = t.replace(`$${d}`, r);
132
- }), t;
126
+ let n = De.framework ?? {}, v = De[f] ?? {}, t = ae[e] || n[e] || v[e] || be[e] || e;
127
+ if (t === e) return e;
128
+ typeof t == "string" && (t = { "zh-CN": t });
129
+ let r = t[vf.value];
130
+ return vf.value === "zh-CN" && t["zh-cn"] && !t["zh-CN"] && (r = t["zh-cn"]), A.map((d, z) => {
131
+ r = r.replace(`$${z}`, d);
132
+ }), r;
133
133
  }), T3 = Z3, R8 = (e, ...A) => T3(e, ...A).value, o8 = (e) => {
134
134
  vf.value = e;
135
135
  }, N8 = () => vf, ce = R("light"), oe = R({
@@ -138,7 +138,7 @@ const x3 = (i9 = navigator.language) != null && i9.toLowerCase().startsWith("zh"
138
138
  }), Ne = R({
139
139
  light: {},
140
140
  dark: {}
141
- }), y3 = "dasTheme", De = "das-theme", L3 = (e) => {
141
+ }), y3 = "dasTheme", je = "das-theme", L3 = (e) => {
142
142
  let A = {
143
143
  light: {},
144
144
  dark: {}
@@ -174,12 +174,12 @@ const Vn = (e, A) => {
174
174
  for (const t in n) {
175
175
  const r = n[t];
176
176
  for (const d in r) {
177
- const z = r[d], P = `${De}-${t}`;
177
+ const z = r[d], P = `${je}-${t}`;
178
178
  f.insertRule(`.${P} { ${d}:${z} } `, f.cssRules.length);
179
179
  }
180
180
  A === "global" && (Ne.value[t] || (Ne.value[t] = {}), Ne.value[t] = { ...Ne.value[t], ...r }), A === "custom" && (oe.value[t] || (oe.value[t] = {}), oe.value[t] = { ...oe.value[t], ...r });
181
181
  }
182
- const v = `${De}-${ce.value}`;
182
+ const v = `${je}-${ce.value}`;
183
183
  document.body.classList.contains(v) || document.body.classList.add(v);
184
184
  }, x8 = async (e) => {
185
185
  var n, v;
@@ -191,7 +191,7 @@ const Vn = (e, A) => {
191
191
  f = Object.assign(f, ((r = t.theme) == null ? void 0 : r.glob) || {});
192
192
  }), Object.values(f).filter((t) => !!t).flat().map((t) => Vn(t));
193
193
  }, D8 = (e) => {
194
- document.body.classList.add(`${De}-light`), e === "light" && document.body.classList.remove(`${De}-${ce.value}`), ce.value = e, document.body.classList.add(`${De}-${ce.value}`);
194
+ document.body.classList.add(`${je}-light`), e === "light" && document.body.classList.remove(`${je}-${ce.value}`), ce.value = e, document.body.classList.add(`${je}-${ce.value}`);
195
195
  }, I3 = (e) => B(() => {
196
196
  var A, f, n, v;
197
197
  return ((f = (A = Ne.value) == null ? void 0 : A[ce.value]) == null ? void 0 : f[e]) || ((v = (n = oe.value) == null ? void 0 : n[ce.value]) == null ? void 0 : v[e]) || e;
@@ -457,18 +457,18 @@ const Vn = (e, A) => {
457
457
  },
458
458
  setup(e) {
459
459
  const A = e, f = B(() => {
460
- const { mode: u = "", ...a } = {
460
+ const { mode: u = "", ...c } = {
461
461
  mode: "out-in",
462
462
  "enter-active-class": "animate__animated animate__fadeInLeft",
463
463
  ...A.transitionConfig || {}
464
464
  };
465
- return a;
466
- }), n = fe(), v = ge(), t = R([]), r = B(() => t.value.filter((u) => {
467
- var a;
468
- return (a = u.meta) == null ? void 0 : a.isOpen;
465
+ return c;
466
+ }), n = fe(), v = ke(), t = R([]), r = B(() => t.value.filter((u) => {
467
+ var c;
468
+ return (c = u.meta) == null ? void 0 : c.isOpen;
469
469
  })), d = (u) => {
470
- const a = u.lastIndexOf("-");
471
- let l = a !== -1 ? u.substring(a + 1) : "";
470
+ const c = u.lastIndexOf("-");
471
+ let l = c !== -1 ? u.substring(c + 1) : "";
472
472
  l === "0" ? l = "1" : l = "0", r.value.forEach((m) => {
473
473
  m.meta.key === u && (m.meta.key = `${m.path}-${l}`);
474
474
  });
@@ -477,20 +477,20 @@ const Vn = (e, A) => {
477
477
  () => A.exclude,
478
478
  (u) => {
479
479
  if (!u || !u.length) return;
480
- const a = r.value.find((l) => u.includes(l.path));
481
- a && d(a.meta.key);
480
+ const c = r.value.find((l) => u.includes(l.path));
481
+ c && d(c.meta.key);
482
482
  },
483
483
  { deep: !0 }
484
484
  );
485
485
  const z = async (u) => {
486
- const a = u.component;
486
+ const c = u.component;
487
487
  let l = null;
488
- return typeof a == "function" ? l = (await a()).default : l = a, l;
488
+ return typeof c == "function" ? l = (await c()).default : l = c, l;
489
489
  }, P = async () => {
490
- var a;
490
+ var c;
491
491
  const u = n.options.routes;
492
492
  for (const l of u)
493
- if ((a = l == null ? void 0 : l.meta) != null && a.isIframe && !t.value.find((m) => m.path === l.path)) {
493
+ if ((c = l == null ? void 0 : l.meta) != null && c.isIframe && !t.value.find((m) => m.path === l.path)) {
494
494
  const m = await z(l);
495
495
  t.value.push({
496
496
  ...l,
@@ -503,8 +503,8 @@ const Vn = (e, A) => {
503
503
  if (!t.value || !t.value.length) return;
504
504
  const u = t.value.find((s) => s.meta.isShow);
505
505
  u && (u.meta.isShow = !1, await GA(), Y.iframeView.triggerEventListener("onDeactivated", { route: u }));
506
- const a = t.value.find((s) => s.path === v.path);
507
- a && ((l = a.meta) != null && l.isOpen || (a.meta.isOpen = !0), (m = a.meta) != null && m.isShow || (a.meta.isShow = !0), await GA(), Y.iframeView.triggerEventListener("onActivated", { route: a }));
506
+ const c = t.value.find((s) => s.path === v.path);
507
+ c && ((l = c.meta) != null && l.isOpen || (c.meta.isOpen = !0), (m = c.meta) != null && m.isShow || (c.meta.isShow = !0), await GA(), Y.iframeView.triggerEventListener("onActivated", { route: c }));
508
508
  };
509
509
  let p = 0;
510
510
  return C(
@@ -516,30 +516,28 @@ const Vn = (e, A) => {
516
516
  { immediate: !0 }
517
517
  ), Y.iframeView.addEventListener("onRefreshCurrentPage", () => {
518
518
  r.value.forEach((u) => {
519
- var a;
520
- (a = u.meta) != null && a.isShow && (u.meta.key.includes("0") ? u.meta.key = u.meta.key.replaceAll("0", "1") : u.meta.key = u.meta.key.replaceAll("1", "0"));
521
- });
522
- }), Y.iframeView.addEventListener("onRefreshPage", (u) => {
523
- r.value.forEach((a) => {
524
- a.path === u && (a.meta.key.includes("0") ? a.meta.key = a.meta.key.replaceAll("0", "1") : a.meta.key = a.meta.key.replaceAll("1", "0"));
519
+ var c;
520
+ (c = u.meta) != null && c.isShow && (u.meta.key.includes("0") ? u.meta.key = u.meta.key.replaceAll("0", "1") : u.meta.key = u.meta.key.replaceAll("1", "0"));
525
521
  });
526
- }), Y.iframeView.addEventListener("onRefreshAllPage", () => {
527
- r.value.forEach((u) => {
528
- u.meta.key.includes("0") ? u.meta.key = u.meta.key.replaceAll("0", "1") : u.meta.key = u.meta.key.replaceAll("1", "0");
522
+ }), Y.iframeView.addEventListener("onUnloadPage", (u) => {
523
+ u ? t.value.forEach((c) => {
524
+ c.path === u && (c.meta.isOpen = !1);
525
+ }) : t.value.forEach((c) => {
526
+ c.meta.isOpen = !1;
529
527
  });
530
- }), (u, a) => (L(), F(
528
+ }), (u, c) => (L(), F(
531
529
  IA,
532
530
  null,
533
531
  [
534
532
  u.needTransition ? (L(), U(
535
533
  ov,
536
- xf(we({ key: 0 }, f.value)),
534
+ xf(Me({ key: 0 }, f.value)),
537
535
  {
538
536
  default: M(() => [
539
537
  (L(!0), F(
540
538
  IA,
541
539
  null,
542
- Te(r.value, ({ path: l, meta: m }) => RA((L(), F("div", {
540
+ ye(r.value, ({ path: l, meta: m }) => RA((L(), F("div", {
543
541
  class: "das-iframe-router-view",
544
542
  key: m.key,
545
543
  name: l
@@ -563,7 +561,7 @@ const Vn = (e, A) => {
563
561
  u.needTransition ? k("v-if", !0) : (L(!0), F(
564
562
  IA,
565
563
  { key: 1 },
566
- Te(r.value, ({ path: l, meta: m }) => RA((L(), F("div", {
564
+ ye(r.value, ({ path: l, meta: m }) => RA((L(), F("div", {
567
565
  class: "das-iframe-router-view",
568
566
  key: m.key,
569
567
  name: l
@@ -587,7 +585,7 @@ const Vn = (e, A) => {
587
585
  for (const [n, v] of A)
588
586
  f[n] = v;
589
587
  return f;
590
- }, B3 = /* @__PURE__ */ OA(k3, [["__scopeId", "data-v-b03d395b"]]), Q3 = { class: "das-web-app-container" }, G3 = {
588
+ }, B3 = /* @__PURE__ */ OA(k3, [["__scopeId", "data-v-81183074"]]), Q3 = { class: "das-web-app-container" }, G3 = {
591
589
  key: 0,
592
590
  class: "das-web-app-header"
593
591
  }, U3 = { class: "das-web-app-main" }, J3 = {
@@ -620,11 +618,11 @@ const Vn = (e, A) => {
620
618
  setup(e) {
621
619
  const A = e;
622
620
  V3(), O3(), R3();
623
- const f = ge(), n = R(!1), v = R(!1), t = R(!1), r = B(() => n.value && A.showLayout), d = B(() => v.value && A.showLayout && A.showAside), z = B(() => n.value && A.showLayout && A.showTabs), P = B(() => A.routerViewVisible ?? !0), X = B(() => CA.overlay.visible ?? !1), p = B(() => ({
621
+ const f = ke(), n = R(!1), v = R(!1), t = R(!1), r = B(() => n.value && A.showLayout), d = B(() => v.value && A.showLayout && A.showAside), z = B(() => n.value && A.showLayout && A.showTabs), P = B(() => A.routerViewVisible ?? !0), X = B(() => CA.overlay.visible ?? !1), p = B(() => ({
624
622
  "das-web-app-overlay-show": X.value === !0,
625
623
  "das-web-app-overlay-hide": X.value === !1,
626
624
  "das-web-app-overlay-destroy": X.value === "destroy"
627
- })), u = B(() => CA.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = B(() => A.excludeRoutes), l = B(() => A.routeKeepAliveVisible);
625
+ })), u = B(() => CA.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), c = B(() => A.excludeRoutes), l = B(() => A.routeKeepAliveVisible);
628
626
  C(
629
627
  () => [f.meta, f.query],
630
628
  ([q, H]) => {
@@ -653,7 +651,7 @@ const Vn = (e, A) => {
653
651
  return uA("div", { style: { width: "100%", height: "100%" } }, [uA(q)]);
654
652
  }
655
653
  }, s.set(H, j)), uA(j);
656
- }, c = B(() => CA.visible.value);
654
+ }, a = B(() => CA.visible.value);
657
655
  return (q, H) => {
658
656
  const j = Nv("router-view");
659
657
  return L(), F("div", Q3, [
@@ -667,7 +665,7 @@ const Vn = (e, A) => {
667
665
  6
668
666
  /* CLASS, STYLE */
669
667
  ), [
670
- [DA, c.value]
668
+ [DA, a.value]
671
669
  ]),
672
670
  r.value ? RA((L(), F(
673
671
  "div",
@@ -678,7 +676,7 @@ const Vn = (e, A) => {
678
676
  512
679
677
  /* NEED_PATCH */
680
678
  )), [
681
- [DA, c.value]
679
+ [DA, a.value]
682
680
  ]) : k("v-if", !0),
683
681
  T("div", U3, [
684
682
  d.value ? RA((L(), F(
@@ -690,7 +688,7 @@ const Vn = (e, A) => {
690
688
  512
691
689
  /* NEED_PATCH */
692
690
  )), [
693
- [DA, c.value]
691
+ [DA, a.value]
694
692
  ]) : k("v-if", !0),
695
693
  T("div", Y3, [
696
694
  z.value ? RA((L(), F(
@@ -702,7 +700,7 @@ const Vn = (e, A) => {
702
700
  512
703
701
  /* NEED_PATCH */
704
702
  )), [
705
- [DA, c.value]
703
+ [DA, a.value]
706
704
  ]) : k("v-if", !0),
707
705
  T("div", h3, [
708
706
  RA(T(
@@ -714,7 +712,7 @@ const Vn = (e, A) => {
714
712
  512
715
713
  /* NEED_PATCH */
716
714
  ), [
717
- [DA, c.value]
715
+ [DA, a.value]
718
716
  ]),
719
717
  T("div", K3, [
720
718
  RA(T(
@@ -734,7 +732,7 @@ const Vn = (e, A) => {
734
732
  return [
735
733
  i(f).meta.keepAlive ? (L(), U(qn, {
736
734
  key: 0,
737
- exclude: a.value
735
+ exclude: c.value
738
736
  }, [
739
737
  l.value && !((Z = i(f).meta) != null && Z.isIframe) ? (L(), U(Xe(b(o, i(f).path)), {
740
738
  key: i(f).path
@@ -774,7 +772,7 @@ const Vn = (e, A) => {
774
772
  default: M(({ Component: o }) => [
775
773
  i(f).meta.keepAlive ? (L(), U(qn, {
776
774
  key: 0,
777
- exclude: a.value
775
+ exclude: c.value
778
776
  }, [
779
777
  l.value && !i(f).meta.isIframe ? (L(), U(Xe(b(o, i(f).path)), {
780
778
  key: i(f).path
@@ -794,7 +792,7 @@ const Vn = (e, A) => {
794
792
  A7,
795
793
  [
796
794
  g(B3, {
797
- exclude: a.value,
795
+ exclude: c.value,
798
796
  transitionConfig: m.value,
799
797
  needTransition: q.needTransition
800
798
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])
@@ -856,7 +854,7 @@ const Vn = (e, A) => {
856
854
  })), X = B(() => A.userInfo), p = B(() => A.searchConfig), u = async (o) => {
857
855
  const Z = o.detail[0], V = t.value.find((N) => Z.value === N.value);
858
856
  await Y.nav.triggerEventListener("onItemClick", V) && Y.nav.setActiveItem(V.value);
859
- }, a = async (o) => {
857
+ }, c = async (o) => {
860
858
  const Z = o.detail[0], V = r.value.find((N) => Z === N.value);
861
859
  await Y.nav.triggerEventListener("onItemClick", V) && Y.nav.setActiveItem(V.value);
862
860
  }, l = async (o) => {
@@ -869,7 +867,7 @@ const Vn = (e, A) => {
869
867
  Y.nav.triggerEventListener("onUserCommandChange", o.detail[0]);
870
868
  }, b = (o) => {
871
869
  Y.nav.triggerEventListener("searchToPage", { item: o.detail[0], keyword: o.detail[1], cb: o.detail[2] });
872
- }, c = (o) => {
870
+ }, a = (o) => {
873
871
  Y.nav.triggerEventListener("clearSearchList", { cb: o.detail[0] });
874
872
  }, q = (o) => {
875
873
  Y.nav.triggerEventListener("deleteSearchItem", { value: o.detail[0], cb: o.detail[1] });
@@ -895,11 +893,11 @@ const Vn = (e, A) => {
895
893
  userInfoConfig: X.value,
896
894
  "on:userCommandHandle": s,
897
895
  "on:changeInnerPage": u,
898
- "on:handleTabClick": a,
896
+ "on:handleTabClick": c,
899
897
  "on:handleTabDelete": l,
900
898
  "on:changeTreeHandle": m,
901
899
  "on:searchToPage": b,
902
- "on:clearSearchList": c,
900
+ "on:clearSearchList": a,
903
901
  "on:deleteSearchItem": q,
904
902
  "on:changeEnterpriseHandle": H,
905
903
  "on:fullScreen": j
@@ -912,12 +910,12 @@ const Vn = (e, A) => {
912
910
  },
913
911
  setup(e) {
914
912
  const { menu: A } = CA, f = e, n = B(() => A.theme), v = B(() => f.menuAttr || {}), t = B(() => A.items), r = B(() => A.items.find((u) => u.fixed)), d = B(() => A.activeItem || ""), z = B(() => A.collapse || !1), P = B(() => ({ popupClassName: A.popupClassName ?? "" })), X = async (u) => {
915
- const a = u.detail[0], l = H3(t.value).find((s) => a === s.id);
913
+ const c = u.detail[0], l = H3(t.value).find((s) => c === s.id);
916
914
  await Y.menu.triggerEventListener("onItemClick", l) && Y.menu.setActiveItem(l.id);
917
915
  }, p = (u) => {
918
916
  Y.menu.setCollapse(u.detail[0]), Y.menu.triggerEventListener("toggleCollapse", u.detail[0]);
919
917
  };
920
- return (u, a) => t.value.length > 0 ? (L(), F("das-ce-menu", we({
918
+ return (u, c) => t.value.length > 0 ? (L(), F("das-ce-menu", Me({
921
919
  key: 0,
922
920
  theme: n.value,
923
921
  modelValue: d.value,
@@ -941,10 +939,10 @@ const Vn = (e, A) => {
941
939
  key: u.value,
942
940
  tab: u.label
943
941
  }))), r = B(() => A.activeItem || ""), d = async (u) => {
944
- const a = u.detail[0], l = t.value.find((s) => a === s.value);
942
+ const c = u.detail[0], l = t.value.find((s) => c === s.value);
945
943
  await Y.tab.triggerEventListener("onItemClick", l) && Y.tab.setActiveItem(l.value);
946
944
  }, z = async (u) => {
947
- const a = u.detail[0], l = t.value.find((s) => a === s.value);
945
+ const c = u.detail[0], l = t.value.find((s) => c === s.value);
948
946
  await Y.tab.triggerEventListener("onItemRemove", l) && Y.tab.removeItem(l.value);
949
947
  }, P = async (u) => {
950
948
  await Y.tab.triggerEventListener("onMenuClick", { type: u.detail[0], data: u.detail[1] });
@@ -953,7 +951,7 @@ const Vn = (e, A) => {
953
951
  }, p = () => {
954
952
  Y.tab.triggerEventListener("onToggleFullScreen");
955
953
  };
956
- return (u, a) => t.value.length > 0 ? (L(), F("das-ce-tabs", we({
954
+ return (u, c) => t.value.length > 0 ? (L(), F("das-ce-tabs", Me({
957
955
  key: 0,
958
956
  theme: v.value,
959
957
  modelValue: r.value,
@@ -966,7 +964,7 @@ const Vn = (e, A) => {
966
964
  "on:toggleFullScreen": p
967
965
  }), null, 16, t7)) : k("v-if", !0);
968
966
  }
969
- }), Nn = R("/das-micro-app"), cA = R([]), Ce = R(!1), Fe = R([]), he = R(!0);
967
+ }), Nn = R("/das-micro-app"), cA = R([]), Ce = R(!1), he = R([]), Se = R(!0);
970
968
  let jA = null, ZA = null, ze = null;
971
969
  const ue = (e, A, f) => {
972
970
  var v, t, r, d;
@@ -1172,8 +1170,8 @@ function s7(...e) {
1172
1170
  Array.isArray(f) || (f = [f]), Array.isArray(n) || (n = [n]);
1173
1171
  const t = [], r = () => {
1174
1172
  t.forEach((X) => X()), t.length = 0;
1175
- }, d = (X, p, u, a) => (X.addEventListener(p, u, a), () => X.removeEventListener(p, u, a)), z = C(() => [Z9(A), D9(v)], ([X, p]) => {
1176
- r(), X && t.push(...f.flatMap((u) => n.map((a) => d(X, u, a, p))));
1173
+ }, d = (X, p, u, c) => (X.addEventListener(p, u, c), () => X.removeEventListener(p, u, c)), z = C(() => [Z9(A), D9(v)], ([X, p]) => {
1174
+ r(), X && t.push(...f.flatMap((u) => n.map((c) => d(X, u, c, p))));
1177
1175
  }, { immediate: !0, flush: "post" }), P = () => {
1178
1176
  z(), r();
1179
1177
  };
@@ -1242,7 +1240,7 @@ function He(e, A = {}) {
1242
1240
  async function u() {
1243
1241
  d.value && (f != null && f[X] && await f[P](), t.value = !1);
1244
1242
  }
1245
- async function a() {
1243
+ async function c() {
1246
1244
  if (!d.value)
1247
1245
  return;
1248
1246
  await u();
@@ -1250,14 +1248,14 @@ function He(e, A = {}) {
1250
1248
  m && (await m[z](), t.value = !0);
1251
1249
  }
1252
1250
  async function l() {
1253
- t.value ? await u() : await a();
1251
+ t.value ? await u() : await c();
1254
1252
  }
1255
1253
  return f && s7(f, p, () => {
1256
1254
  t.value = !!(f != null && f[X]);
1257
1255
  }, !1), n && j9(u), {
1258
1256
  isSupported: d,
1259
1257
  isFullscreen: t,
1260
- enter: a,
1258
+ enter: c,
1261
1259
  exit: u,
1262
1260
  toggle: l
1263
1261
  };
@@ -1369,7 +1367,7 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1369
1367
  (L(!0), F(
1370
1368
  IA,
1371
1369
  null,
1372
- Te(i(cA), (d) => (L(), F(
1370
+ ye(i(cA), (d) => (L(), F(
1373
1371
  IA,
1374
1372
  null,
1375
1373
  [
@@ -1414,7 +1412,7 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1414
1412
  "enter-active-class": "animate__animated animate__fadeInLeft",
1415
1413
  ...A.transitionConfig
1416
1414
  })), v = B(() => ({ showLayout: A.showLayout, showAside: A.showAside, showTabs: A.showTabs }));
1417
- return (t, r) => (L(), U(i(Qf), we({
1415
+ return (t, r) => (L(), U(i(Qf), Me({
1418
1416
  "transition-config": n.value,
1419
1417
  "router-view-visible": f.value
1420
1418
  }, v.value), {
@@ -1533,15 +1531,15 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1533
1531
  d === "setItem" && window.sessionStorage.setItem(z, P), d === "getItem" && window.sessionStorage.getItem(z), d === "removeItem" && window.sessionStorage.removeItem(z), d === "clear" && window.sessionStorage.clear();
1534
1532
  }), nA.addEventListenerFromMainApp("route", (r) => {
1535
1533
  const { cmd: d, path: z } = r.data;
1536
- d === "reload" && (Fe.value.push(z), he.value = !1, setTimeout(() => {
1537
- he.value = !0, Fe.value = [];
1538
- }, 300)), d === "unload" && (Fe.value.push(z), he.value = !1, setTimeout(() => {
1539
- he.value = !0, Fe.value = [];
1534
+ d === "reload" && (he.value.push(z), Se.value = !1, setTimeout(() => {
1535
+ Se.value = !0, he.value = [];
1536
+ }, 300)), d === "unload" && (he.value.push(z), Se.value = !1, setTimeout(() => {
1537
+ Se.value = !0, he.value = [];
1540
1538
  }, 100));
1541
1539
  });
1542
- }, je = "/home", NA = "/application", y9 = [
1540
+ }, Ze = "/home", NA = "/application", y9 = [
1543
1541
  { value: NA, label: "应用", path: NA, fixed: !0 },
1544
- { value: je, label: "首页", path: je, fixed: !0 }
1542
+ { value: Ze, label: "首页", path: Ze, fixed: !0 }
1545
1543
  ], UA = "/outerView", L9 = "/placeholder", j7 = [
1546
1544
  { value: "0", label: "主题设置" },
1547
1545
  { value: "1", label: "个人中心" },
@@ -1570,7 +1568,7 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1570
1568
  excludeRoutes: A.excludeRoutes,
1571
1569
  routeKeepAliveVisible: A.routeKeepAliveVisible
1572
1570
  }));
1573
- return (v, t) => (L(), U(i(Qf), we({ "transition-config": f.value }, n.value), {
1571
+ return (v, t) => (L(), U(i(Qf), Me({ "transition-config": f.value }, n.value), {
1574
1572
  header: M(() => [
1575
1573
  sA(v.$slots, "header", {}, () => [
1576
1574
  g(i(q9))
@@ -1605,8 +1603,8 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1605
1603
  }), z = (m, s) => {
1606
1604
  const b = document.createElement("span");
1607
1605
  b.innerHTML = m, b.style.fontSize = s + "px", b.style.fontFamily = "sans-serif", b.style.visibility = "hidden", document.body.appendChild(b);
1608
- const c = b.getBoundingClientRect();
1609
- n.value = Math.ceil(c.width) + s / 2, v.value = Math.ceil(c.height), document.body.removeChild(b);
1606
+ const a = b.getBoundingClientRect();
1607
+ n.value = Math.ceil(a.width) + s / 2, v.value = Math.ceil(a.height), document.body.removeChild(b);
1610
1608
  }, P = R(!1), X = () => new Promise((m) => {
1611
1609
  const s = () => {
1612
1610
  if (P) return m(!0);
@@ -1619,11 +1617,11 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1619
1617
  const s = !!((b = f.value) != null && b.pageSwith);
1620
1618
  r.value = m && s ? [...t.value] : [];
1621
1619
  }, u = async () => {
1622
- var c, q, H, j, o, Z, V;
1620
+ var a, q, H, j, o, Z, V;
1623
1621
  P.value = !0, await (A == null ? void 0 : A.platformInitNextTick());
1624
1622
  const [m, s] = await T7().run();
1625
1623
  if (m) return null;
1626
- if (f.value = s, !!((c = f.value) != null && c.pageSwith)) {
1624
+ if (f.value = s, !!((a = f.value) != null && a.pageSwith)) {
1627
1625
  t.value = [];
1628
1626
  const { name: D, phone: N } = await b3();
1629
1627
  let I = "";
@@ -1643,21 +1641,21 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1643
1641
  return P.value = !1, s;
1644
1642
  };
1645
1643
  u();
1646
- const a = fe(), l = ge();
1644
+ const c = fe(), l = ke();
1647
1645
  return C(
1648
- () => a.currentRoute.value,
1646
+ () => c.currentRoute.value,
1649
1647
  (m) => {
1650
1648
  var q, H, j;
1651
1649
  const s = !!((q = f.value) != null && q.pageSwith), b = ((H = m.meta) == null ? void 0 : H.showWatermark) ?? !0;
1652
- let c = ((j = m.query) == null ? void 0 : j.showWatermark) ?? !0;
1653
- c === "false" && (c = !1), p(s && !!(b && c));
1650
+ let a = ((j = m.query) == null ? void 0 : j.showWatermark) ?? !0;
1651
+ a === "false" && (a = !1), p(s && !!(b && a));
1654
1652
  },
1655
1653
  { immediate: !0 }
1656
1654
  ), LA.addEventListenerFromMicroApp("systemconfig:watermark-change", async () => {
1657
- var b, c;
1655
+ var b, a;
1658
1656
  await u();
1659
1657
  const m = !!((b = f.value) != null && b.pageSwith);
1660
- let s = ((c = l.query) == null ? void 0 : c.showWatermark) ?? !0;
1658
+ let s = ((a = l.query) == null ? void 0 : a.showWatermark) ?? !0;
1661
1659
  s === "false" && (s = !1), p(!!(m && s));
1662
1660
  }), (m, s) => (L(), U(i(c3), {
1663
1661
  class: "watermark",
@@ -1737,7 +1735,7 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1737
1735
  (L(!0), F(
1738
1736
  IA,
1739
1737
  null,
1740
- Te(f.desc, (v, t) => RA((L(), F("div", {
1738
+ ye(f.desc, (v, t) => RA((L(), F("div", {
1741
1739
  key: t,
1742
1740
  class: "desc-item"
1743
1741
  }, [
@@ -1761,7 +1759,7 @@ const O7 = ["src", "entry", "name"], R7 = /* @__PURE__ */ fA({
1761
1759
  /* STABLE */
1762
1760
  }, 8, ["modelValue", "width", "height", "title", "onClosed"]));
1763
1761
  }
1764
- }), M7 = /* @__PURE__ */ OA(w7, [["__scopeId", "data-v-816eb0f2"]]), ye = ({ title: e = "", content: A = "", desc: f = [] }) => new Promise((n) => {
1762
+ }), M7 = /* @__PURE__ */ OA(w7, [["__scopeId", "data-v-816eb0f2"]]), Le = ({ title: e = "", content: A = "", desc: f = [] }) => new Promise((n) => {
1765
1763
  const v = document.createElement("div");
1766
1764
  v.setAttribute("id", "entry-app-dialog"), document.body.appendChild(v);
1767
1765
  const r = uA(M7, { title: e, content: A, desc: f, closeCallback: () => {
@@ -1840,25 +1838,25 @@ const g7 = (e = {}) => {
1840
1838
  const P = z.code, X = (z == null ? void 0 : z.originalCode) ?? "";
1841
1839
  d[P] || (d[P] = []);
1842
1840
  let p = [];
1843
- z != null && z.children && ((u = z == null ? void 0 : z.children) != null && u.length) && (z.children.forEach((a) => {
1841
+ z != null && z.children && ((u = z == null ? void 0 : z.children) != null && u.length) && (z.children.forEach((c) => {
1844
1842
  var l;
1845
- !(a != null && a.children) || !((l = a.children) != null && l.length) ? p.push({
1846
- code: a.code,
1847
- originalCode: a.originalCode,
1848
- name: a.name
1849
- }) : EA([a]).forEach((s) => {
1843
+ !(c != null && c.children) || !((l = c.children) != null && l.length) ? p.push({
1844
+ code: c.code,
1845
+ originalCode: c.originalCode,
1846
+ name: c.name
1847
+ }) : EA([c]).forEach((s) => {
1850
1848
  p.push({
1851
1849
  code: s.code,
1852
1850
  originalCode: s.originalCode,
1853
1851
  name: s.name
1854
1852
  });
1855
1853
  });
1856
- }), p.forEach((a) => {
1857
- let l = a.originalCode ? a.originalCode : a.code ? a.code : "";
1854
+ }), p.forEach((c) => {
1855
+ let l = c.originalCode ? c.originalCode : c.code ? c.code : "";
1858
1856
  l.includes(P + ".") && (l = l.replace(P + ".", "").replaceAll(".", "-")), l.includes(X + ".") && (l = l.replace(X + ".", "").replaceAll(".", "-"));
1859
1857
  const m = {
1860
1858
  code: l,
1861
- name: a.name
1859
+ name: c.name
1862
1860
  };
1863
1861
  d[P].push(m), X && P !== X && (d["origin-auth"] || (d["origin-auth"] = {}), d["origin-auth"][X] || (d["origin-auth"][X] = []), d["origin-auth"][X].push(m));
1864
1862
  }));
@@ -1916,7 +1914,7 @@ const g7 = (e = {}) => {
1916
1914
  return e ? { tenantConfig: null } : (k7(A), { tenantConfig: A });
1917
1915
  }, tt = async () => {
1918
1916
  const [e, A] = await ft().run({
1919
- userId: ke().id,
1917
+ userId: Be().id,
1920
1918
  pageSize: 20,
1921
1919
  pageIndex: 1
1922
1920
  });
@@ -1998,18 +1996,18 @@ function Nt(e) {
1998
1996
  return ot.call(e);
1999
1997
  }
2000
1998
  var xt = "[object Null]", Dt = "[object Undefined]", Wn = ie ? ie.toStringTag : void 0;
2001
- function Qe(e) {
1999
+ function Ge(e) {
2002
2000
  return e == null ? e === void 0 ? Dt : xt : Wn && Wn in Object(e) ? Ot(e) : Nt(e);
2003
2001
  }
2004
- function Ge(e) {
2002
+ function Ue(e) {
2005
2003
  var A = typeof e;
2006
2004
  return e != null && (A == "object" || A == "function");
2007
2005
  }
2008
2006
  var jt = "[object AsyncFunction]", Zt = "[object Function]", Tt = "[object GeneratorFunction]", yt = "[object Proxy]";
2009
2007
  function B9(e) {
2010
- if (!Ge(e))
2008
+ if (!Ue(e))
2011
2009
  return !1;
2012
- var A = Qe(e);
2010
+ var A = Ge(e);
2013
2011
  return A == Zt || A == Tt || A == jt || A == yt;
2014
2012
  }
2015
2013
  var Vf = kA["__core-js_shared__"], In = function() {
@@ -2037,7 +2035,7 @@ var Et = /[\\^$.*+?()[\]{}|]/g, wt = /^\[object .+?Constructor\]$/, Mt = Functio
2037
2035
  "^" + kt.call(Bt).replace(Et, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2038
2036
  );
2039
2037
  function Gt(e) {
2040
- if (!Ge(e) || Lt(e))
2038
+ if (!Ue(e) || Lt(e))
2041
2039
  return !1;
2042
2040
  var A = B9(e) ? Qt : wt;
2043
2041
  return A.test(te(e));
@@ -2049,9 +2047,9 @@ function re(e, A) {
2049
2047
  var f = Ut(e, A);
2050
2048
  return Gt(f) ? f : void 0;
2051
2049
  }
2052
- var Le = re(kA, "Map"), We = re(Object, "create");
2050
+ var We = re(kA, "Map"), Ie = re(Object, "create");
2053
2051
  function Jt() {
2054
- this.__data__ = We ? We(null) : {}, this.size = 0;
2052
+ this.__data__ = Ie ? Ie(null) : {}, this.size = 0;
2055
2053
  }
2056
2054
  function Yt(e) {
2057
2055
  var A = this.has(e) && delete this.__data__[e];
@@ -2060,7 +2058,7 @@ function Yt(e) {
2060
2058
  var Ft = "__lodash_hash_undefined__", ht = Object.prototype, St = ht.hasOwnProperty;
2061
2059
  function Kt(e) {
2062
2060
  var A = this.__data__;
2063
- if (We) {
2061
+ if (Ie) {
2064
2062
  var f = A[e];
2065
2063
  return f === Ft ? void 0 : f;
2066
2064
  }
@@ -2069,12 +2067,12 @@ function Kt(e) {
2069
2067
  var Ct = Object.prototype, _t = Ct.hasOwnProperty;
2070
2068
  function $t(e) {
2071
2069
  var A = this.__data__;
2072
- return We ? A[e] !== void 0 : _t.call(A, e);
2070
+ return Ie ? A[e] !== void 0 : _t.call(A, e);
2073
2071
  }
2074
2072
  var Ar = "__lodash_hash_undefined__";
2075
2073
  function er(e, A) {
2076
2074
  var f = this.__data__;
2077
- return this.size += this.has(e) ? 0 : 1, f[e] = We && A === void 0 ? Ar : A, this;
2075
+ return this.size += this.has(e) ? 0 : 1, f[e] = Ie && A === void 0 ? Ar : A, this;
2078
2076
  }
2079
2077
  function Ae(e) {
2080
2078
  var A = -1, f = e == null ? 0 : e.length;
@@ -2091,7 +2089,7 @@ Ae.prototype.set = er;
2091
2089
  function fr() {
2092
2090
  this.size = 0, this.__data__ = {
2093
2091
  hash: new Ae(),
2094
- map: new (Le || FA)(),
2092
+ map: new (We || FA)(),
2095
2093
  string: new Ae()
2096
2094
  };
2097
2095
  }
@@ -2134,7 +2132,7 @@ function zr(e, A) {
2134
2132
  var f = this.__data__;
2135
2133
  if (f instanceof FA) {
2136
2134
  var n = f.__data__;
2137
- if (!Le || n.length < dr - 1)
2135
+ if (!We || n.length < dr - 1)
2138
2136
  return n.push([e, A]), this.size = ++f.size, this;
2139
2137
  f = this.__data__ = new le(n);
2140
2138
  }
@@ -2188,17 +2186,17 @@ function ar(e, A) {
2188
2186
  n[f] = A(f);
2189
2187
  return n;
2190
2188
  }
2191
- function Ue(e) {
2189
+ function Je(e) {
2192
2190
  return e != null && typeof e == "object";
2193
2191
  }
2194
2192
  var cr = "[object Arguments]";
2195
2193
  function wn(e) {
2196
- return Ue(e) && Qe(e) == cr;
2194
+ return Je(e) && Ge(e) == cr;
2197
2195
  }
2198
2196
  var U9 = Object.prototype, ir = U9.hasOwnProperty, sr = U9.propertyIsEnumerable, qr = wn(/* @__PURE__ */ function() {
2199
2197
  return arguments;
2200
2198
  }()) ? wn : function(e) {
2201
- return Ue(e) && ir.call(e, "callee") && !sr.call(e, "callee");
2199
+ return Je(e) && ir.call(e, "callee") && !sr.call(e, "callee");
2202
2200
  }, _f = Array.isArray;
2203
2201
  function mr() {
2204
2202
  return !1;
@@ -2216,16 +2214,16 @@ var or = "[object Arguments]", Nr = "[object Array]", xr = "[object Boolean]", D
2216
2214
  AA[kr] = AA[Br] = AA[Qr] = AA[Gr] = AA[Ur] = AA[Jr] = AA[Yr] = AA[Fr] = AA[hr] = !0;
2217
2215
  AA[or] = AA[Nr] = AA[Mr] = AA[xr] = AA[gr] = AA[Dr] = AA[jr] = AA[Zr] = AA[Tr] = AA[yr] = AA[Lr] = AA[Wr] = AA[Ir] = AA[Er] = AA[wr] = !1;
2218
2216
  function Sr(e) {
2219
- return Ue(e) && F9(e.length) && !!AA[Qe(e)];
2217
+ return Je(e) && F9(e.length) && !!AA[Ge(e)];
2220
2218
  }
2221
2219
  function $f(e) {
2222
2220
  return function(A) {
2223
2221
  return e(A);
2224
2222
  };
2225
2223
  }
2226
- var h9 = typeof exports == "object" && exports && !exports.nodeType && exports, Ze = h9 && typeof module == "object" && module && !module.nodeType && module, Kr = Ze && Ze.exports === h9, Of = Kr && g9.process, se = function() {
2224
+ var h9 = typeof exports == "object" && exports && !exports.nodeType && exports, Te = h9 && typeof module == "object" && module && !module.nodeType && module, Kr = Te && Te.exports === h9, Of = Kr && g9.process, se = function() {
2227
2225
  try {
2228
- var e = Ze && Ze.require && Ze.require("util").types;
2226
+ var e = Te && Te.require && Te.require("util").types;
2229
2227
  return e || Of && Of.binding && Of.binding("util");
2230
2228
  } catch {
2231
2229
  }
@@ -2277,7 +2275,7 @@ function rP(e) {
2277
2275
  }
2278
2276
  var PP = Object.prototype, dP = PP.hasOwnProperty;
2279
2277
  function zP(e) {
2280
- if (!Ge(e))
2278
+ if (!Ue(e))
2281
2279
  return rP(e);
2282
2280
  var A = An(e), f = [];
2283
2281
  for (var n in e)
@@ -2344,9 +2342,9 @@ function HP(e) {
2344
2342
  function lP(e) {
2345
2343
  return nv(e, fn, fv);
2346
2344
  }
2347
- var Ef = re(kA, "DataView"), wf = re(kA, "Promise"), Mf = re(kA, "Set"), gf = re(kA, "WeakMap"), Jn = "[object Map]", VP = "[object Object]", Yn = "[object Promise]", Fn = "[object Set]", hn = "[object WeakMap]", Sn = "[object DataView]", OP = te(Ef), RP = te(Le), oP = te(wf), NP = te(Mf), xP = te(gf), BA = Qe;
2348
- (Ef && BA(new Ef(new ArrayBuffer(1))) != Sn || Le && BA(new Le()) != Jn || wf && BA(wf.resolve()) != Yn || Mf && BA(new Mf()) != Fn || gf && BA(new gf()) != hn) && (BA = function(e) {
2349
- var A = Qe(e), f = A == VP ? e.constructor : void 0, n = f ? te(f) : "";
2345
+ var Ef = re(kA, "DataView"), wf = re(kA, "Promise"), Mf = re(kA, "Set"), gf = re(kA, "WeakMap"), Jn = "[object Map]", VP = "[object Object]", Yn = "[object Promise]", Fn = "[object Set]", hn = "[object WeakMap]", Sn = "[object DataView]", OP = te(Ef), RP = te(We), oP = te(wf), NP = te(Mf), xP = te(gf), BA = Ge;
2346
+ (Ef && BA(new Ef(new ArrayBuffer(1))) != Sn || We && BA(new We()) != Jn || wf && BA(wf.resolve()) != Yn || Mf && BA(new Mf()) != Fn || gf && BA(new gf()) != hn) && (BA = function(e) {
2347
+ var A = Ge(e), f = A == VP ? e.constructor : void 0, n = f ? te(f) : "";
2350
2348
  if (n)
2351
2349
  switch (n) {
2352
2350
  case OP:
@@ -2427,7 +2425,7 @@ var $n = Object.create, fd = /* @__PURE__ */ function() {
2427
2425
  function e() {
2428
2426
  }
2429
2427
  return function(A) {
2430
- if (!Ge(A))
2428
+ if (!Ue(A))
2431
2429
  return {};
2432
2430
  if ($n)
2433
2431
  return $n(A);
@@ -2441,11 +2439,11 @@ function nd(e) {
2441
2439
  }
2442
2440
  var vd = "[object Map]";
2443
2441
  function td(e) {
2444
- return Ue(e) && BA(e) == vd;
2442
+ return Je(e) && BA(e) == vd;
2445
2443
  }
2446
2444
  var A9 = se && se.isMap, rd = A9 ? $f(A9) : td, Pd = "[object Set]";
2447
2445
  function dd(e) {
2448
- return Ue(e) && BA(e) == Pd;
2446
+ return Je(e) && BA(e) == Pd;
2449
2447
  }
2450
2448
  var e9 = se && se.isSet, zd = e9 ? $f(e9) : dd, ud = 1, Xd = 2, bd = 4, vv = "[object Arguments]", ad = "[object Array]", cd = "[object Boolean]", id = "[object Date]", sd = "[object Error]", tv = "[object Function]", qd = "[object GeneratorFunction]", md = "[object Map]", pd = "[object Number]", rv = "[object Object]", Hd = "[object RegExp]", ld = "[object Set]", Vd = "[object String]", Od = "[object Symbol]", Rd = "[object WeakMap]", od = "[object ArrayBuffer]", Nd = "[object DataView]", xd = "[object Float32Array]", Dd = "[object Float64Array]", jd = "[object Int8Array]", Zd = "[object Int16Array]", Td = "[object Int32Array]", yd = "[object Uint8Array]", Ld = "[object Uint8ClampedArray]", Wd = "[object Uint16Array]", Id = "[object Uint32Array]", $ = {};
2451
2449
  $[vv] = $[ad] = $[od] = $[Nd] = $[cd] = $[id] = $[xd] = $[Dd] = $[jd] = $[Zd] = $[Td] = $[md] = $[pd] = $[rv] = $[Hd] = $[ld] = $[Vd] = $[Od] = $[yd] = $[Ld] = $[Wd] = $[Id] = !0;
@@ -2454,7 +2452,7 @@ function $e(e, A, f, n, v, t) {
2454
2452
  var r, d = A & ud, z = A & Xd, P = A & bd;
2455
2453
  if (r !== void 0)
2456
2454
  return r;
2457
- if (!Ge(e))
2455
+ if (!Ue(e))
2458
2456
  return e;
2459
2457
  var X = _f(e);
2460
2458
  if (X) {
@@ -2474,9 +2472,9 @@ function $e(e, A, f, n, v, t) {
2474
2472
  }
2475
2473
  }
2476
2474
  t || (t = new Ve());
2477
- var a = t.get(e);
2478
- if (a)
2479
- return a;
2475
+ var c = t.get(e);
2476
+ if (c)
2477
+ return c;
2480
2478
  t.set(e, r), zd(e) ? e.forEach(function(s) {
2481
2479
  r.add($e(s, A, f, s, e, t));
2482
2480
  }) : rd(e) && e.forEach(function(s, b) {
@@ -2530,7 +2528,7 @@ const tf = (e, A = "") => {
2530
2528
  return { left: n, right: v };
2531
2529
  }, kd = (e, A, f) => {
2532
2530
  var p;
2533
- const n = EA(A).filter((u) => u.routeUrl).filter((u) => !(u != null && u.disable) && !(u != null && u.expired)), t = (((p = pA()) == null ? void 0 : p.tabMap) ?? {})[e] ?? [], { left: r, right: d } = gd(t, f), z = t.filter((u) => n.find((a) => a.code === u.code));
2531
+ const n = EA(A).filter((u) => u.routeUrl).filter((u) => !(u != null && u.disable) && !(u != null && u.expired)), t = (((p = pA()) == null ? void 0 : p.tabMap) ?? {})[e] ?? [], { left: r, right: d } = gd(t, f), z = t.filter((u) => n.find((c) => c.code === u.code));
2534
2532
  if (!r.length && !d.length || !z.length)
2535
2533
  return HA([
2536
2534
  { key: "currentCode", value: "" },
@@ -2540,11 +2538,11 @@ const tf = (e, A = "") => {
2540
2538
  ]), kf(e);
2541
2539
  let P = null;
2542
2540
  if (d.length) {
2543
- const u = d.find((a) => z.map((l) => l.code).includes(a.code));
2541
+ const u = d.find((c) => z.map((l) => l.code).includes(c.code));
2544
2542
  u && (P = u);
2545
2543
  }
2546
2544
  if (!P && r.length) {
2547
- const u = r.reverse().find((a) => z.map((l) => l.code).includes(a.code));
2545
+ const u = r.reverse().find((c) => z.map((l) => l.code).includes(c.code));
2548
2546
  u && (P = u);
2549
2547
  }
2550
2548
  return P ? (HA([
@@ -2581,10 +2579,10 @@ const tf = (e, A = "") => {
2581
2579
  r != null && r.children && r.children.length && (r.originalChildren = qe(r.children)), (r != null && r.expired || r != null && r.disable) && (r.children = []);
2582
2580
  }), { menus: v, originalMenus: t };
2583
2581
  }, Bd = async (e) => {
2584
- var u, a, l, m;
2582
+ var u, c, l, m;
2585
2583
  let { microApp: A = null, menuCode: f = "", menuPath: n = "", route: v = {} } = e;
2586
2584
  const t = ((u = v.meta) == null ? void 0 : u.showLayout) ?? !0;
2587
- let r = ((a = v.query) == null ? void 0 : a.showLayout) ?? !0;
2585
+ let r = ((c = v.query) == null ? void 0 : c.showLayout) ?? !0;
2588
2586
  r === "false" && (r = !1);
2589
2587
  let d = (A == null ? void 0 : A.code) ?? "";
2590
2588
  if (!d) return { menuConfig: [], currentApp: null, currentMenu: null, query: null };
@@ -2603,8 +2601,8 @@ const tf = (e, A = "") => {
2603
2601
  z.forEach((q) => {
2604
2602
  q.routeUrl === "/deviceInstance" && (q.fixed = !0, q.divise = !0, q.menuCode = q.code, q.tagName = q.tabName = J("实例"), q.name = s.instanceName, q.leftIcon = "change2", q.rightIcon = "change2");
2605
2603
  });
2606
- const c = hv(s.endTime) || s.endTime == 0 || s.endTime === 253370736e6 || s.endTime === "253370736000000" ? "-" : Number(s.endTime);
2607
- if (b = yf().endOf("day") > yf(c).endOf("day"), !f && !n && s.id && !b) {
2604
+ const a = hv(s.endTime) || s.endTime == 0 || s.endTime === 253370736e6 || s.endTime === "253370736000000" ? "-" : Number(s.endTime);
2605
+ if (b = yf().endOf("day") > yf(a).endOf("day"), !f && !n && s.id && !b) {
2608
2606
  const H = EA(z).find((j) => j.routeUrl === "/statisticalReport");
2609
2607
  H && (f = H.code);
2610
2608
  }
@@ -2613,21 +2611,21 @@ const tf = (e, A = "") => {
2613
2611
  if (t && r) {
2614
2612
  const b = (pA().tabMap ?? {})[A.code] ?? [];
2615
2613
  if (b.length) {
2616
- const c = b.filter(
2614
+ const a = b.filter(
2617
2615
  (q) => f && f === q.code || n && n === `/${q.applicationPath}${q.path}`.replace(/\/\//g, "/") || EA(z).map((H) => H.code).includes(q.code)
2618
2616
  );
2619
2617
  HA([
2620
2618
  {
2621
2619
  key: `tabMap:${A.code}`,
2622
- value: c
2620
+ value: a
2623
2621
  }
2624
2622
  ]);
2625
2623
  }
2626
2624
  }
2627
2625
  if (!f && n) {
2628
2626
  const s = EA(z).find((b) => {
2629
- const c = `/${b.applicationPath}${b.routeUrl}`.replace(/\/\//g, "/");
2630
- return b.applicationPath && b.routeUrl && (n === c || n.startsWith(`/${c}/`));
2627
+ const a = `/${b.applicationPath}${b.routeUrl}`.replace(/\/\//g, "/");
2628
+ return b.applicationPath && b.routeUrl && (n === a || n.startsWith(`/${a}/`));
2631
2629
  });
2632
2630
  if (s)
2633
2631
  f = s.code;
@@ -2652,7 +2650,7 @@ const tf = (e, A = "") => {
2652
2650
  const s = `/${p.applicationPath}${p.routeUrl}`;
2653
2651
  let b = "";
2654
2652
  n && n.startsWith(s) && n !== s && (b = n);
2655
- const c = { ...v.query, app: d, menu: p.code };
2653
+ const a = { ...v.query, app: d, menu: p.code };
2656
2654
  if (t && r) {
2657
2655
  const q = { ...A, currentMenuCode: p.code, menus: z, originalMenus: P };
2658
2656
  VA([
@@ -2668,7 +2666,7 @@ const tf = (e, A = "") => {
2668
2666
  code: p.code,
2669
2667
  name: (p == null ? void 0 : p.tabName) ?? p.name,
2670
2668
  path: p.routeUrl,
2671
- query: c
2669
+ query: a
2672
2670
  };
2673
2671
  HA([
2674
2672
  {
@@ -2689,7 +2687,7 @@ const tf = (e, A = "") => {
2689
2687
  }
2690
2688
  ]);
2691
2689
  }
2692
- return { menuConfig: z, currentApp: A, currentMenu: p, query: c, microPath: b };
2690
+ return { menuConfig: z, currentApp: A, currentMenu: p, query: a, microPath: b };
2693
2691
  }
2694
2692
  return { menuConfig: z, currentApp: A, currentMenu: null, query: { ...v.query, app: d } };
2695
2693
  }, Qd = YA.get("/appcategory"), Gd = YA.get("/app/common"), f9 = R(!1), n9 = R([]), Pv = async () => {
@@ -2729,7 +2727,7 @@ const tf = (e, A = "") => {
2729
2727
  const [e, A] = await Cd().run();
2730
2728
  return e ? { loginConfig: null } : { loginConfig: A };
2731
2729
  }, dv = async () => {
2732
- const e = Be() ? $d : _d, [A, f] = await e().run();
2730
+ const e = Qe() ? $d : _d, [A, f] = await e().run();
2733
2731
  return A ? { platformConfig: null } : { platformConfig: f };
2734
2732
  }, zv = R(null), rz = async () => {
2735
2733
  const [e, A] = await ez().run();
@@ -2749,8 +2747,8 @@ const tf = (e, A = "") => {
2749
2747
  setup(e, { expose: A }) {
2750
2748
  const f = R(!1), n = R(!1), v = R(!1), t = R(!1), r = R(!1), d = R(!1), z = R(!1), P = R(!1), X = () => {
2751
2749
  n.value = QA.value.style === 1, v.value = QA.value.style === 2, t.value = QA.value.skinStyle === "default", r.value = QA.value.skinStyle === "kjl", d.value = QA.value.skinStyle === "cjb", z.value = QA.value.skinStyle === "ssl", f.value = !0;
2752
- }, p = (b, c) => {
2753
- b === "menu" ? (n.value = c === 1, v.value = c === 2) : (t.value = c === 1, r.value = c === 2, d.value = c === 3, z.value = c === 4);
2750
+ }, p = (b, a) => {
2751
+ b === "menu" ? (n.value = a === 1, v.value = a === 2) : (t.value = a === 1, r.value = a === 2, d.value = a === 3, z.value = a === 4);
2754
2752
  }, u = () => {
2755
2753
  const b = {
2756
2754
  default: t.value,
@@ -2758,8 +2756,8 @@ const tf = (e, A = "") => {
2758
2756
  cjb: d.value,
2759
2757
  ssl: z.value
2760
2758
  };
2761
- return Object.keys(b).find((c) => b[c] === !0) ?? "default";
2762
- }, a = B(() => ({
2759
+ return Object.keys(b).find((a) => b[a] === !0) ?? "default";
2760
+ }, c = B(() => ({
2763
2761
  default: cz,
2764
2762
  kjl: iz,
2765
2763
  cjb: sz,
@@ -2768,19 +2766,19 @@ const tf = (e, A = "") => {
2768
2766
  const b = {
2769
2767
  style: n.value ? 1 : 2,
2770
2768
  skinStyle: u()
2771
- }, [c] = await Pz().run(b);
2772
- c || (await uv(), f.value = !1);
2769
+ }, [a] = await Pz().run(b);
2770
+ a || (await uv(), f.value = !1);
2773
2771
  }, { onPreview: m } = s3(), s = () => {
2774
- m({ previewList: [a.value], previewBtnConfig: !0 });
2772
+ m({ previewList: [c.value], previewBtnConfig: !0 });
2775
2773
  };
2776
2774
  return A({
2777
2775
  /** 打开弹窗 */
2778
2776
  openDialog: X
2779
- }), (b, c) => (L(), F("div", mz, [
2777
+ }), (b, a) => (L(), F("div", mz, [
2780
2778
  g(i(i3), {
2781
2779
  title: i(w)("主题设置").value,
2782
2780
  modelValue: f.value,
2783
- "onUpdate:modelValue": c[19] || (c[19] = (q) => f.value = q),
2781
+ "onUpdate:modelValue": a[19] || (a[19] = (q) => f.value = q),
2784
2782
  "body-style": { padding: 0 },
2785
2783
  direction: "rtl"
2786
2784
  }, {
@@ -2788,7 +2786,7 @@ const tf = (e, A = "") => {
2788
2786
  T("div", wz, [
2789
2787
  g(i(hA), {
2790
2788
  size: "middle",
2791
- onClick: c[18] || (c[18] = (q) => f.value = !1),
2789
+ onClick: a[18] || (a[18] = (q) => f.value = !1),
2792
2790
  style: { "margin-right": "12px" }
2793
2791
  }, {
2794
2792
  default: M(() => [
@@ -2832,7 +2830,7 @@ const tf = (e, A = "") => {
2832
2830
  T("div", Vz, [
2833
2831
  T("div", {
2834
2832
  class: "item-content",
2835
- onClick: c[2] || (c[2] = (q) => p("menu", 1))
2833
+ onClick: a[2] || (a[2] = (q) => p("menu", 1))
2836
2834
  }, [
2837
2835
  T("img", {
2838
2836
  src: i(dz),
@@ -2842,8 +2840,8 @@ const tf = (e, A = "") => {
2842
2840
  }, null, 8, Oz),
2843
2841
  g(i(de), {
2844
2842
  modelValue: n.value,
2845
- "onUpdate:modelValue": c[0] || (c[0] = (q) => n.value = q),
2846
- onChange: c[1] || (c[1] = (q) => p("menu", 1))
2843
+ "onUpdate:modelValue": a[0] || (a[0] = (q) => n.value = q),
2844
+ onChange: a[1] || (a[1] = (q) => p("menu", 1))
2847
2845
  }, {
2848
2846
  default: M(() => [
2849
2847
  bA(
@@ -2858,7 +2856,7 @@ const tf = (e, A = "") => {
2858
2856
  ]),
2859
2857
  T("div", {
2860
2858
  class: "item-content",
2861
- onClick: c[5] || (c[5] = (q) => p("menu", 2))
2859
+ onClick: a[5] || (a[5] = (q) => p("menu", 2))
2862
2860
  }, [
2863
2861
  T("img", {
2864
2862
  src: i(zz),
@@ -2868,8 +2866,8 @@ const tf = (e, A = "") => {
2868
2866
  }, null, 8, Rz),
2869
2867
  g(i(de), {
2870
2868
  modelValue: v.value,
2871
- "onUpdate:modelValue": c[3] || (c[3] = (q) => v.value = q),
2872
- onChange: c[4] || (c[4] = (q) => p("menu", 2))
2869
+ "onUpdate:modelValue": a[3] || (a[3] = (q) => v.value = q),
2870
+ onChange: a[4] || (a[4] = (q) => p("menu", 2))
2873
2871
  }, {
2874
2872
  default: M(() => [
2875
2873
  bA(
@@ -2895,7 +2893,7 @@ const tf = (e, A = "") => {
2895
2893
  T("div", xz, [
2896
2894
  T("div", {
2897
2895
  class: "item-content",
2898
- onClick: c[8] || (c[8] = (q) => p("skin", 1))
2896
+ onClick: a[8] || (a[8] = (q) => p("skin", 1))
2899
2897
  }, [
2900
2898
  T("img", {
2901
2899
  src: i(uz),
@@ -2905,8 +2903,8 @@ const tf = (e, A = "") => {
2905
2903
  }, null, 8, Dz),
2906
2904
  g(i(de), {
2907
2905
  modelValue: t.value,
2908
- "onUpdate:modelValue": c[6] || (c[6] = (q) => t.value = q),
2909
- onChange: c[7] || (c[7] = (q) => p("skin", 1))
2906
+ "onUpdate:modelValue": a[6] || (a[6] = (q) => t.value = q),
2907
+ onChange: a[7] || (a[7] = (q) => p("skin", 1))
2910
2908
  }, {
2911
2909
  default: M(() => [
2912
2910
  bA(
@@ -2921,7 +2919,7 @@ const tf = (e, A = "") => {
2921
2919
  ]),
2922
2920
  T("div", {
2923
2921
  class: "item-content",
2924
- onClick: c[11] || (c[11] = (q) => p("skin", 2))
2922
+ onClick: a[11] || (a[11] = (q) => p("skin", 2))
2925
2923
  }, [
2926
2924
  T("img", {
2927
2925
  src: i(Xz),
@@ -2931,8 +2929,8 @@ const tf = (e, A = "") => {
2931
2929
  }, null, 8, jz),
2932
2930
  g(i(de), {
2933
2931
  modelValue: r.value,
2934
- "onUpdate:modelValue": c[9] || (c[9] = (q) => r.value = q),
2935
- onChange: c[10] || (c[10] = (q) => p("skin", 2))
2932
+ "onUpdate:modelValue": a[9] || (a[9] = (q) => r.value = q),
2933
+ onChange: a[10] || (a[10] = (q) => p("skin", 2))
2936
2934
  }, {
2937
2935
  default: M(() => [
2938
2936
  bA(
@@ -2949,7 +2947,7 @@ const tf = (e, A = "") => {
2949
2947
  T("div", Zz, [
2950
2948
  T("div", {
2951
2949
  class: "item-content",
2952
- onClick: c[14] || (c[14] = (q) => p("skin", 3))
2950
+ onClick: a[14] || (a[14] = (q) => p("skin", 3))
2953
2951
  }, [
2954
2952
  T("img", {
2955
2953
  src: i(bz),
@@ -2959,8 +2957,8 @@ const tf = (e, A = "") => {
2959
2957
  }, null, 8, Tz),
2960
2958
  g(i(de), {
2961
2959
  modelValue: d.value,
2962
- "onUpdate:modelValue": c[12] || (c[12] = (q) => d.value = q),
2963
- onChange: c[13] || (c[13] = (q) => p("skin", 3))
2960
+ "onUpdate:modelValue": a[12] || (a[12] = (q) => d.value = q),
2961
+ onChange: a[13] || (a[13] = (q) => p("skin", 3))
2964
2962
  }, {
2965
2963
  default: M(() => [
2966
2964
  bA(
@@ -2975,7 +2973,7 @@ const tf = (e, A = "") => {
2975
2973
  ]),
2976
2974
  T("div", {
2977
2975
  class: "item-content",
2978
- onClick: c[17] || (c[17] = (q) => p("skin", 4))
2976
+ onClick: a[17] || (a[17] = (q) => p("skin", 4))
2979
2977
  }, [
2980
2978
  T("img", {
2981
2979
  src: i(az),
@@ -2985,8 +2983,8 @@ const tf = (e, A = "") => {
2985
2983
  }, null, 8, yz),
2986
2984
  g(i(de), {
2987
2985
  modelValue: z.value,
2988
- "onUpdate:modelValue": c[15] || (c[15] = (q) => z.value = q),
2989
- onChange: c[16] || (c[16] = (q) => p("skin", 4))
2986
+ "onUpdate:modelValue": a[15] || (a[15] = (q) => z.value = q),
2987
+ onChange: a[16] || (a[16] = (q) => p("skin", 4))
2990
2988
  }, {
2991
2989
  default: M(() => [
2992
2990
  bA(
@@ -3011,7 +3009,7 @@ const tf = (e, A = "") => {
3011
3009
  ),
3012
3010
  T("div", Iz, [
3013
3011
  T("img", {
3014
- src: a.value,
3012
+ src: c.value,
3015
3013
  alt: "",
3016
3014
  width: "100%",
3017
3015
  height: "100% ",
@@ -3036,8 +3034,8 @@ const tf = (e, A = "") => {
3036
3034
  var r, d;
3037
3035
  n.value && (r = f.value) != null && r.contentWindow && ((d = f.value.contentWindow) == null || d.postMessage(
3038
3036
  {
3039
- token: Be(),
3040
- userInfo: ke(),
3037
+ token: Qe(),
3038
+ userInfo: Be(),
3041
3039
  projectInfo: JA()
3042
3040
  },
3043
3041
  A.src
@@ -3045,7 +3043,7 @@ const tf = (e, A = "") => {
3045
3043
  }, t = () => {
3046
3044
  n.value = !0, v();
3047
3045
  };
3048
- return Me(() => {
3046
+ return ge(() => {
3049
3047
  n.value = !1;
3050
3048
  }), (r, d) => (L(), F("div", Bz, [
3051
3049
  r.src ? (L(), U(i(Ff), {
@@ -3102,18 +3100,18 @@ const tf = (e, A = "") => {
3102
3100
  return SA(async () => {
3103
3101
  if (await n(), e()) return;
3104
3102
  await vt(), await nt();
3105
- const r = Be();
3103
+ const r = Qe();
3106
3104
  O9({ accessToken: r }), v.value = !0;
3107
3105
  }), {
3108
3106
  platformInited: v,
3109
3107
  initNextTick: t
3110
3108
  };
3111
3109
  }, Yz = (e) => {
3112
- const A = fe(), f = ge(), { getMenu: n } = f3(), { getHistoryList: v, getSearchList: t } = du(), r = R(!0), d = R([]), z = R([]), P = R(!1), X = R(!1);
3110
+ const A = fe(), f = ke(), { getMenu: n } = f3(), { getHistoryList: v, getSearchList: t } = du(), r = R(!0), d = R([]), z = R([]), P = R(!1), X = R(!1);
3113
3111
  C(
3114
3112
  () => f.path,
3115
3113
  (l) => {
3116
- P.value = l === je;
3114
+ P.value = l === Ze;
3117
3115
  },
3118
3116
  {
3119
3117
  immediate: !0
@@ -3148,15 +3146,15 @@ const tf = (e, A = "") => {
3148
3146
  await e();
3149
3147
  const l = await p();
3150
3148
  if (!l) return;
3151
- const { homeConfig: m, projectConfig: s, currentProject: b, tenantList: c, personalMenuConfig: q, fixedAppsConfig: H } = l;
3152
- X.value = ((D = Gf()) == null ? void 0 : D.flag) !== 4 && c && c.length > 1;
3149
+ const { homeConfig: m, projectConfig: s, currentProject: b, tenantList: a, personalMenuConfig: q, fixedAppsConfig: H } = l;
3150
+ X.value = ((D = Gf()) == null ? void 0 : D.flag) !== 4 && a && a.length > 1;
3153
3151
  const j = [...y9].map((N) => ({
3154
3152
  ...N,
3155
3153
  label: J(N.label)
3156
3154
  }));
3157
3155
  j.forEach((N) => {
3158
- m != null && m.appAlias && N.value === NA && (N.label = m.appAlias), m != null && m.homeAlias && N.value === je && (N.label = m.homeAlias);
3159
- }), m != null && m.enable ? d.value = j : (d.value = j.filter((N) => N.path === NA), f.path === je && await A.replace(NA)), W.nav.setItems(d.value), s && s.length && (W.nav.setProjectConfig({
3156
+ m != null && m.appAlias && N.value === NA && (N.label = m.appAlias), m != null && m.homeAlias && N.value === Ze && (N.label = m.homeAlias);
3157
+ }), m != null && m.enable ? d.value = j : (d.value = j.filter((N) => N.path === NA), f.path === Ze && await A.replace(NA)), W.nav.setItems(d.value), s && s.length && (W.nav.setProjectConfig({
3160
3158
  treeProps: {
3161
3159
  disabled: (N) => N.type !== 7
3162
3160
  },
@@ -3165,7 +3163,7 @@ const tf = (e, A = "") => {
3165
3163
  // 树打平之后保留的数据
3166
3164
  filterFlatCondition: (N) => N.type === 7
3167
3165
  }), W.nav.setProjects(s || []), b && W.nav.setActiveProject(b));
3168
- const o = ke() ?? {}, Z = o != null && o.headPicture ? Pf(o.headPicture) : void 0;
3166
+ const o = Be() ?? {}, Z = o != null && o.headPicture ? Pf(o.headPicture) : void 0;
3169
3167
  z.value = [...j7].map((N) => ({
3170
3168
  ...N,
3171
3169
  label: J(N.label)
@@ -3179,8 +3177,8 @@ const tf = (e, A = "") => {
3179
3177
  }), VA([{ key: "subAppList", value: V }])), u.value = !0;
3180
3178
  }), { loading: r, innerPage: d, commandList: z, layoutInited: u, initNextTick: () => new Promise((l) => {
3181
3179
  const m = async () => {
3182
- var c;
3183
- let s = ((c = f.meta) == null ? void 0 : c.showLayout) ?? !0, { showLayout: b = !0 } = f.query;
3180
+ var a;
3181
+ let s = ((a = f.meta) == null ? void 0 : a.showLayout) ?? !0, { showLayout: b = !0 } = f.query;
3184
3182
  if (b === "false" && (b = !1), !s || !b || u.value) {
3185
3183
  l();
3186
3184
  return;
@@ -3206,7 +3204,7 @@ const tf = (e, A = "") => {
3206
3204
  if (!(f && !f.routeUrl)) {
3207
3205
  if (!f) {
3208
3206
  const { title: n, content: v, desc: t } = await rn(f);
3209
- await ye({ title: n, content: v, desc: t });
3207
+ await Le({ title: n, content: v, desc: t });
3210
3208
  return;
3211
3209
  }
3212
3210
  e({ currentMenu: f });
@@ -3241,9 +3239,9 @@ const tf = (e, A = "") => {
3241
3239
  () => e.currentRoute.value,
3242
3240
  async (b) => {
3243
3241
  var Z, V, D, N, I, G, h;
3244
- const c = ((Z = b.meta) == null ? void 0 : Z.showLayout) ?? !0;
3242
+ const a = ((Z = b.meta) == null ? void 0 : Z.showLayout) ?? !0;
3245
3243
  let q = ((V = b.query) == null ? void 0 : V.showLayout) ?? !0;
3246
- if (q === "false" && (q = !1), !c || !q || b.path === d && jf(b.query, z)) return;
3244
+ if (q === "false" && (q = !1), !a || !q || b.path === d && jf(b.query, z)) return;
3247
3245
  d = qe(b.path), z = qe(b.query);
3248
3246
  const H = K().currentSubAppCode ?? "";
3249
3247
  if (!H) return;
@@ -3253,23 +3251,23 @@ const tf = (e, A = "") => {
3253
3251
  o && JSON.stringify(o) !== "{}" && (v.value = (I = o[H][j]) != null && I.fontColor ? o[H][j].fontColor : A, t.value = (G = o[H][j]) != null && G.backgroundColor ? o[H][j].backgroundColor : f, r.value = (h = o[H][j]) != null && h.backgroundColor ? o[H][j].backgroundColor : n);
3254
3252
  }
3255
3253
  );
3256
- const { deleteApp: P } = Oe(), { entryMenu: X } = af(), { reloadRoute: p, unloadRoute: u } = Xv(), a = (b) => {
3254
+ const { deleteApp: P } = Oe(), { entryMenu: X } = af(), { reloadRoute: p, unloadRoute: u } = Xv(), c = (b) => {
3257
3255
  var j;
3258
- const c = EA(ef(b.applicationCode)).find((o) => o.code === b.code), H = (((j = pA().tabMap) == null ? void 0 : j[b.applicationCode]) ?? []).find((o) => o.code === b.code);
3259
- X({ currentMenu: c, route: { path: H.path, query: H.query ?? {} } });
3256
+ const a = EA(ef(b.applicationCode)).find((o) => o.code === b.code), H = (((j = pA().tabMap) == null ? void 0 : j[b.applicationCode]) ?? []).find((o) => o.code === b.code);
3257
+ X({ currentMenu: a, route: { path: H.path, query: H.query ?? {} } });
3260
3258
  }, l = (b) => {
3261
3259
  if (!b || !b.length) return;
3262
- const c = b.filter((H) => !H.path.startsWith(UA)).map((H) => H.path);
3263
- u(c), b.filter((H) => H.path.startsWith(UA)).map((H) => H.path).forEach((H) => W.iframeView.triggerEventListener("onRefreshPage", H));
3260
+ const a = b.filter((H) => !H.path.startsWith(UA)).map((H) => H.path);
3261
+ u(a), b.filter((H) => H.path.startsWith(UA)).map((H) => H.path).forEach((H) => W.iframeView.triggerEventListener("onUnloadPage", H));
3264
3262
  }, m = (b) => {
3265
- const c = K().currentSubAppCode ?? "";
3263
+ const a = K().currentSubAppCode ?? "";
3266
3264
  zA.innerSet = !0;
3267
- const q = pA(), H = q.tabMap[c], j = H.findIndex((I) => I.code === b.data.code);
3265
+ const q = pA(), H = q.tabMap[a], j = H.findIndex((I) => I.code === b.data.code);
3268
3266
  if (j === -1) return;
3269
3267
  const o = () => {
3270
3268
  var h;
3271
- let G = (((h = K().appcategorys) == null ? void 0 : h.map((PA) => PA.apps).flat()) ?? []).find((PA) => PA.code === c);
3272
- G = { ...G, value: G.code, label: G.name }, P(G), W.nav.removeItem(c);
3269
+ let G = (((h = K().appcategorys) == null ? void 0 : h.map((PA) => PA.apps).flat()) ?? []).find((PA) => PA.code === a);
3270
+ G = { ...G, value: G.code, label: G.name }, P(G), W.nav.removeItem(a);
3273
3271
  };
3274
3272
  ({
3275
3273
  me: async (I) => {
@@ -3279,7 +3277,7 @@ const tf = (e, A = "") => {
3279
3277
  }
3280
3278
  const G = q.currentCode;
3281
3279
  let h = null;
3282
- G === I.value && (j + 1 === H.length ? H[j - 1] && (h = H[j - 1]) : H[j + 1] && (h = H[j + 1])), H.splice(j, 1), l([I]), HA([{ key: `tabMap:${c}`, value: H }]), h ? a(h) : HA([{ key: `preTab:${c}`, value: {} }]);
3280
+ G === I.value && (j + 1 === H.length ? H[j - 1] && (h = H[j - 1]) : H[j + 1] && (h = H[j + 1])), H.splice(j, 1), l([I]), HA([{ key: `tabMap:${a}`, value: H }]), h ? c(h) : HA([{ key: `preTab:${a}`, value: {} }]);
3283
3281
  },
3284
3282
  all: o,
3285
3283
  other: async (I) => {
@@ -3289,34 +3287,34 @@ const tf = (e, A = "") => {
3289
3287
  query: G.query
3290
3288
  }), W.menu.setActiveItem(G.menuId), W.tab.setActiveItem(G.code);
3291
3289
  const h = H.filter((PA) => PA.code !== I.value);
3292
- h.forEach((PA) => W.tab.removeItem(PA.code)), l(h), HA([{ key: `tabMap:${c}`, value: [G] }]), a(G);
3290
+ h.forEach((PA) => W.tab.removeItem(PA.code)), l(h), HA([{ key: `tabMap:${a}`, value: [G] }]), c(G);
3293
3291
  },
3294
3292
  right: async (I) => {
3295
3293
  const G = q.currentCode;
3296
3294
  if (G !== I.value && H.findIndex((xA) => xA.code === G) > j) {
3297
3295
  const xA = H[j];
3298
- a(xA);
3296
+ c(xA);
3299
3297
  }
3300
3298
  const h = H.slice(j + 1);
3301
- h.forEach((PA) => W.tab.removeItem(PA.code)), l(h), H.splice(j + 1), HA([{ key: `tabMap:${c}`, value: H }]);
3299
+ h.forEach((PA) => W.tab.removeItem(PA.code)), l(h), H.splice(j + 1), HA([{ key: `tabMap:${a}`, value: H }]);
3302
3300
  }
3303
3301
  })[b.type](b.data);
3304
3302
  };
3305
3303
  W.tab.addEventListener("onItemClick", async (b) => {
3306
- pA().currentCode !== b.currentCode && (zA.innerSet = !0, a(b));
3304
+ pA().currentCode !== b.currentCode && (zA.innerSet = !0, c(b));
3307
3305
  }), W.tab.addEventListener("onItemRemove", (b) => {
3308
- const c = pA(), q = K().currentSubAppCode ?? "";
3309
- c.tabMap[q].findIndex((o) => o.code === b.code) !== -1 && (_e(b.applicationCode, [b.code]), m({ type: "me", data: b }));
3306
+ const a = pA(), q = K().currentSubAppCode ?? "";
3307
+ a.tabMap[q].findIndex((o) => o.code === b.code) !== -1 && (_e(b.applicationCode, [b.code]), m({ type: "me", data: b }));
3310
3308
  }), W.tab.addEventListener("onMenuClick", (b) => {
3311
- let c = [];
3309
+ let a = [];
3312
3310
  const q = pA().tabMap[b.applicationCode] ?? [];
3313
3311
  if (b.type.key === "right") {
3314
3312
  const H = q.findIndex((j) => j.code === b.data.value);
3315
- c = q.slice(H + 1);
3313
+ a = q.slice(H + 1);
3316
3314
  }
3317
- b.type.key === "other" && (c = q.filter((H) => H.code !== b.data.value)), b.type.key === "all" && (c = [...q]), _e(
3315
+ b.type.key === "other" && (a = q.filter((H) => H.code !== b.data.value)), b.type.key === "all" && (a = [...q]), _e(
3318
3316
  b.applicationCode,
3319
- c.map((H) => H.code)
3317
+ a.map((H) => H.code)
3320
3318
  ), m({ type: b.type.key, data: b.data });
3321
3319
  }), W.tab.addEventListener("onPageRefresh", async (b) => {
3322
3320
  if (!b) return;
@@ -3325,14 +3323,14 @@ const tf = (e, A = "") => {
3325
3323
  return;
3326
3324
  }
3327
3325
  _e(b.applicationCode, [b.code]);
3328
- const c = EA(ef(b.applicationCode)).find((j) => j.code === b.code);
3329
- if (!c) return;
3330
- if (c.routeUrl !== b.path) {
3331
- p([b.path]), u([`/${b.applicationPath}${c.routeUrl}`]), await X({ currentMenu: c });
3326
+ const a = EA(ef(b.applicationCode)).find((j) => j.code === b.code);
3327
+ if (!a) return;
3328
+ if (a.routeUrl !== b.path) {
3329
+ p([b.path]), u([`/${b.applicationPath}${a.routeUrl}`]), await X({ currentMenu: a });
3332
3330
  return;
3333
3331
  }
3334
- const q = { app: c.applicationCode, menu: c.code }, H = { ...b.query };
3335
- jf(q, H) || await X({ currentMenu: c }), p([b.path]);
3332
+ const q = { app: a.applicationCode, menu: a.code }, H = { ...b.query };
3333
+ jf(q, H) || await X({ currentMenu: a }), p([b.path]);
3336
3334
  });
3337
3335
  const { enter: s } = He();
3338
3336
  return W.tab.addEventListener("onToggleFullScreen", s), { fontColor: v, backgroudColor: t, borderColor: r };
@@ -3365,48 +3363,48 @@ const tf = (e, A = "") => {
3365
3363
  W.menu.setItems([]), W.menu.setActiveItem(""), W.tab.setItems([]), W.tab.setActiveItem("");
3366
3364
  }, z = async (u) => {
3367
3365
  if (u.routeUrl && !r.includes(u.routeUrl)) return !0;
3368
- const a = u.code ?? "", m = (K().subAppList ?? []).find((H) => H.code === a);
3369
- let s = [], b = [], c = !1;
3366
+ const c = u.code ?? "", m = (K().subAppList ?? []).find((H) => H.code === c);
3367
+ let s = [], b = [], a = !1;
3370
3368
  if (m && (s = m.menus ?? []), !s.length) {
3371
- const { menus: H, originalMenus: j, err: o } = await tn(a);
3369
+ const { menus: H, originalMenus: j, err: o } = await tn(c);
3372
3370
  if (o) return !1;
3373
3371
  s = H ?? [], b = j ?? [];
3374
3372
  }
3375
- if (s.length ? tf(s) || (await ye({
3373
+ if (s.length ? tf(s) || (await Le({
3376
3374
  title: J("提示"),
3377
3375
  content: J("此应用菜单已过期/已收回/配置有误") + "<br/>" + J("无法使用")
3378
- }), c = !0) : (await ye({ title: J("提示"), content: J("此应用未配置菜单/无菜单权限") + "<br/>" + J("无法使用") }), c = !0), c) return !1;
3376
+ }), a = !0) : (await Le({ title: J("提示"), content: J("此应用未配置菜单/无菜单权限") + "<br/>" + J("无法使用") }), a = !0), a) return !1;
3379
3377
  const q = { ...u, menus: s, originalMenus: b };
3380
3378
  return VA([{ key: "subAppList", value: q }]), !0;
3381
3379
  }, P = async (u) => {
3382
- var G, h, PA, xA, Je;
3383
- const { microApp: a = null, menuCode: l = "", menuPath: m = "", route: s = {} } = u;
3380
+ var G, h, PA, xA, Ye;
3381
+ const { microApp: c = null, menuCode: l = "", menuPath: m = "", route: s = {} } = u;
3384
3382
  let b = s;
3385
- if (!a && m) {
3383
+ if (!c && m) {
3386
3384
  if (d(), !(r && r.find((dA) => m.startsWith("/" + dA) || m.startsWith(dA)))) return;
3387
3385
  await e.push({ path: m, query: b.query });
3388
3386
  return;
3389
3387
  }
3390
- const c = ((G = b.meta) == null ? void 0 : G.showLayout) ?? !0;
3388
+ const a = ((G = b.meta) == null ? void 0 : G.showLayout) ?? !0;
3391
3389
  let q = ((h = b.query) == null ? void 0 : h.showLayout) ?? !0;
3392
3390
  q === "false" && (q = !1);
3393
- const H = (a == null ? void 0 : a.openType) ?? 1, j = (a == null ? void 0 : a.type) ?? 1;
3394
- if (a.routeUrl && !r.includes(a.routeUrl)) {
3391
+ const H = (c == null ? void 0 : c.openType) ?? 1, j = (c == null ? void 0 : c.type) ?? 1;
3392
+ if (c.routeUrl && !r.includes(c.routeUrl)) {
3395
3393
  d();
3396
3394
  const iA = ((PA = K()) == null ? void 0 : PA.subAppList) ?? [];
3397
- if ((iA == null ? void 0 : iA.find((aA) => aA.code === a.code)) || iA == null || iA.push(a), VA([
3398
- { key: "currentSubApp", value: a },
3399
- { key: "currentSubAppCode", value: a.code },
3395
+ if ((iA == null ? void 0 : iA.find((aA) => aA.code === c.code)) || iA == null || iA.push(c), VA([
3396
+ { key: "currentSubApp", value: c },
3397
+ { key: "currentSubAppCode", value: c.code },
3400
3398
  { key: "subAppList", value: iA }
3401
3399
  ]), iA.forEach((aA) => {
3402
3400
  const TA = { ...aA, value: aA.code, label: aA.name };
3403
3401
  W.nav.appendItem(TA);
3404
- }), W.nav.setActiveItem(a.code), a.routeUrl.includes("entrance=main")) {
3405
- await e.push({ path: a.routeUrl, query: { ...b.query, app: a.code } });
3402
+ }), W.nav.setActiveItem(c.code), c.routeUrl.includes("entrance=main")) {
3403
+ await e.push({ path: c.routeUrl, query: { ...b.query, app: c.code } });
3406
3404
  return;
3407
3405
  }
3408
3406
  if (H === 1 && j === 2) {
3409
- const aA = If(Zf(Tf(a.routeUrl))), TA = `${UA}-${a.code}`;
3407
+ const aA = If(Zf(Tf(c.routeUrl))), TA = `${UA}-${c.code}`;
3410
3408
  if (!e.options.routes.find((Pe) => Pe.path === TA)) {
3411
3409
  const Pe = {
3412
3410
  path: TA,
@@ -3421,7 +3419,7 @@ const tf = (e, A = "") => {
3421
3419
  path: TA,
3422
3420
  query: {
3423
3421
  ...b.query,
3424
- app: a.code
3422
+ app: c.code
3425
3423
  }
3426
3424
  });
3427
3425
  return;
@@ -3433,19 +3431,19 @@ const tf = (e, A = "") => {
3433
3431
  currentMenu: V = null,
3434
3432
  microPath: D = "",
3435
3433
  query: N = {}
3436
- } = await Bd({ microApp: a, menuCode: l, menuPath: m, route: b });
3434
+ } = await Bd({ microApp: c, menuCode: l, menuPath: m, route: b });
3437
3435
  if (V && (b = {
3438
3436
  path: D || `/${V.applicationPath}${V.routeUrl}`.replace(/\/\//g, "/"),
3439
3437
  query: { ...N, app: V.applicationCode, menu: V.code },
3440
3438
  meta: { ...(b == null ? void 0 : b.meta) ?? {} }
3441
- }), Z && (Z == null ? void 0 : Z.code) !== (a == null ? void 0 : a.code)) {
3439
+ }), Z && (Z == null ? void 0 : Z.code) !== (c == null ? void 0 : c.code)) {
3442
3440
  if (Z.fixed && (await e.push(Z.path), d(), W.nav.setActiveItem(Z.path)), !Z.fixed) {
3443
3441
  const iA = (xA = K().subAppList) == null ? void 0 : xA.find((TA) => TA.code === Z.code), dA = pA().preTab[Z.code], aA = { ...(dA == null ? void 0 : dA.query) ?? {} };
3444
3442
  await P({ microApp: iA, menuCode: (dA == null ? void 0 : dA.code) ?? "", route: { query: aA } });
3445
3443
  }
3446
3444
  return;
3447
3445
  }
3448
- const I = Z || a;
3446
+ const I = Z || c;
3449
3447
  if (!V && m) {
3450
3448
  await e.push({
3451
3449
  path: m,
@@ -3456,8 +3454,8 @@ const tf = (e, A = "") => {
3456
3454
  });
3457
3455
  return;
3458
3456
  }
3459
- if (c && q) {
3460
- (Je = K().subAppList) == null || Je.forEach((dA) => {
3457
+ if (a && q) {
3458
+ (Ye = K().subAppList) == null || Ye.forEach((dA) => {
3461
3459
  const aA = { ...dA, value: dA.code, label: dA.name };
3462
3460
  W.nav.appendItem(aA);
3463
3461
  }), W.nav.setActiveItem(I.code), W.menu.setItems(o);
@@ -3474,7 +3472,7 @@ const tf = (e, A = "") => {
3474
3472
  }
3475
3473
  A({ currentMenu: V, microPath: D, route: b });
3476
3474
  }, X = async (u) => {
3477
- var a;
3475
+ var c;
3478
3476
  if (zA.innerSet = !0, u.fixed) {
3479
3477
  await e.push(u.path), W.menu.setItems([]), W.tab.setItems([]), W.nav.setActiveItem(u.path), VA([
3480
3478
  { key: "currentSubAppCode", value: "" },
@@ -3486,7 +3484,7 @@ const tf = (e, A = "") => {
3486
3484
  return;
3487
3485
  }
3488
3486
  if (!u.fixed) {
3489
- const l = (a = K().subAppList) == null ? void 0 : a.find((c) => c.code === u.code), m = pA().preTab[u.code], s = (m == null ? void 0 : m.code) ?? "", b = { ...(m == null ? void 0 : m.query) ?? {} };
3487
+ const l = (c = K().subAppList) == null ? void 0 : c.find((a) => a.code === u.code), m = pA().preTab[u.code], s = (m == null ? void 0 : m.code) ?? "", b = { ...(m == null ? void 0 : m.query) ?? {} };
3490
3488
  await P({ microApp: l, menuCode: s, route: { query: b } });
3491
3489
  }
3492
3490
  };
@@ -3496,27 +3494,27 @@ const tf = (e, A = "") => {
3496
3494
  changeApp: X,
3497
3495
  deleteApp: async (u) => {
3498
3496
  var b;
3499
- const a = K();
3500
- if (!((b = a.subAppList) != null && b.length)) return;
3501
- const l = a.subAppList.findIndex((c) => c.code === u.code);
3497
+ const c = K();
3498
+ if (!((b = c.subAppList) != null && b.length)) return;
3499
+ const l = c.subAppList.findIndex((a) => a.code === u.code);
3502
3500
  if (l === -1) return;
3503
3501
  const m = pA().tabMap[u.code] ?? [];
3504
3502
  if (m.length) {
3505
- const c = m.filter((H) => !H.path.startsWith(UA)).map((H) => H.path);
3506
- f(c), m.filter((H) => H.path.startsWith(UA)).map((H) => H.path).forEach((H) => W.iframeView.triggerEventListener("onRefreshPage", H));
3503
+ const a = m.filter((H) => !H.path.startsWith(UA)).map((H) => H.path);
3504
+ f(a), m.filter((H) => H.path.startsWith(UA)).map((H) => H.path).forEach((H) => W.iframeView.triggerEventListener("onUnloadPage", H));
3507
3505
  }
3508
3506
  let s = null;
3509
- if (a.currentSubAppCode === u.code && (l + 1 !== a.subAppList.length ? a.subAppList[l + 1] && (s = a.subAppList[l + 1]) : a.subAppList[l - 1] && (s = a.subAppList[l - 1])), a.subAppList.splice(l, 1), VA([{ key: "subAppList", value: a.subAppList }]), HA([
3507
+ if (c.currentSubAppCode === u.code && (l + 1 !== c.subAppList.length ? c.subAppList[l + 1] && (s = c.subAppList[l + 1]) : c.subAppList[l - 1] && (s = c.subAppList[l - 1])), c.subAppList.splice(l, 1), VA([{ key: "subAppList", value: c.subAppList }]), HA([
3510
3508
  { key: `preTab:${u.code}`, value: {} },
3511
3509
  { key: `tabMap:${u.code}`, value: [] }
3512
3510
  ]), s) {
3513
- const c = { ...s, value: s.code, label: s.name };
3514
- await X(c), W.nav.setActiveItem(s.code);
3511
+ const a = { ...s, value: s.code, label: s.name };
3512
+ await X(a), W.nav.setActiveItem(s.code);
3515
3513
  }
3516
- if (!a.subAppList.length) {
3514
+ if (!c.subAppList.length) {
3517
3515
  W.menu.setItems([]), W.tab.setItems([]);
3518
- const c = y9.find((q) => q.value === NA);
3519
- c && X(c), Cf(), I9();
3516
+ const a = y9.find((q) => q.value === NA);
3517
+ a && X(a), Cf(), I9();
3520
3518
  }
3521
3519
  }
3522
3520
  };
@@ -3569,9 +3567,9 @@ const tf = (e, A = "") => {
3569
3567
  query: P
3570
3568
  }));
3571
3569
  }
3572
- const a = ((m = d.meta) == null ? void 0 : m.showLayout) ?? !0;
3570
+ const c = ((m = d.meta) == null ? void 0 : m.showLayout) ?? !0;
3573
3571
  let l = (P == null ? void 0 : P.showLayout) ?? !0;
3574
- if (l === "false" && (l = !1), a && l) {
3572
+ if (l === "false" && (l = !1), c && l) {
3575
3573
  const s = {
3576
3574
  currentApplication: K().currentSubApp.routeUrl,
3577
3575
  applicationPath: r.applicationPath,
@@ -3612,8 +3610,8 @@ const tf = (e, A = "") => {
3612
3610
  !t && r && (d = [{ name: r }]);
3613
3611
  const z = async (p) => {
3614
3612
  var H, j, o, Z;
3615
- let u = { ...p }, { showLayout: a = !0 } = u.query;
3616
- a === "false" && (a = !1);
3613
+ let u = { ...p }, { showLayout: c = !0 } = u.query;
3614
+ c === "false" && (c = !1);
3617
3615
  const l = async () => {
3618
3616
  var N, I;
3619
3617
  let V = K().appcategorys ?? [];
@@ -3642,10 +3640,10 @@ const tf = (e, A = "") => {
3642
3640
  return;
3643
3641
  }
3644
3642
  }
3645
- const s = await l(), b = s.map((V) => V.code), c = ((H = u.query) == null ? void 0 : H.app) ?? "", q = ((j = K()) == null ? void 0 : j.subAppList) ?? [];
3643
+ const s = await l(), b = s.map((V) => V.code), a = ((H = u.query) == null ? void 0 : H.app) ?? "", q = ((j = K()) == null ? void 0 : j.subAppList) ?? [];
3646
3644
  if (q.length) {
3647
- const V = q.filter((N) => N.code !== c && !b.includes(N.code)), D = q.filter(
3648
- (N) => c === N.code || b.includes(N.code)
3645
+ const V = q.filter((N) => N.code !== a && !b.includes(N.code)), D = q.filter(
3646
+ (N) => a === N.code || b.includes(N.code)
3649
3647
  );
3650
3648
  VA([{ key: "subAppList", value: D }]), V && V.length && V.forEach((N) => {
3651
3649
  HA([
@@ -3656,7 +3654,7 @@ const tf = (e, A = "") => {
3656
3654
  }
3657
3655
  if (u.query.app) {
3658
3656
  let V = s.find((D) => D.code === u.query.app);
3659
- if (!V && a) {
3657
+ if (!V && c) {
3660
3658
  const { currentApp: D } = kf(u.query.app);
3661
3659
  if (D) {
3662
3660
  V = D;
@@ -3683,7 +3681,7 @@ const tf = (e, A = "") => {
3683
3681
  return;
3684
3682
  }
3685
3683
  }
3686
- if (a) {
3684
+ if (c) {
3687
3685
  (Z = (o = K()) == null ? void 0 : o.subAppList) == null || Z.forEach((D) => {
3688
3686
  const N = { ...D, value: D.code, label: D.name };
3689
3687
  W.nav.appendItem(N);
@@ -3729,7 +3727,7 @@ const tf = (e, A = "") => {
3729
3727
  client_id: "sys",
3730
3728
  state: +/* @__PURE__ */ new Date(),
3731
3729
  redirect_uri: d,
3732
- logout_token: Be(),
3730
+ logout_token: Qe(),
3733
3731
  // 写用户访问日志逻辑配合
3734
3732
  logout: "true"
3735
3733
  };
@@ -3737,13 +3735,13 @@ const tf = (e, A = "") => {
3737
3735
  const P = Object.keys(z).map((p) => `${p}=${z[p]}`).join("&"), X = `${f.baseURL}${r.logout}?${P}`;
3738
3736
  window.__isAutoCloseApp = !1, location.replace(X), sessionStorage.clear(), localStorage.removeItem("idelTime"), t3();
3739
3737
  }, { entryApp: v } = Oe(), t = async () => {
3740
- const r = "personCenter", z = (K().appcategorys || []).map((a) => a.apps).flat(), { originalMenus: P = [] } = await tn(r), p = EA(P).filter((a) => a.isMenu && a.routeUrl).find((a) => a.routeUrl === "/userInfo");
3738
+ const r = "personCenter", z = (K().appcategorys || []).map((c) => c.apps).flat(), { originalMenus: P = [] } = await tn(r), p = EA(P).filter((c) => c.isMenu && c.routeUrl).find((c) => c.routeUrl === "/userInfo");
3741
3739
  if (p != null && p.disable || p != null && p.expired) {
3742
- const { title: a, content: l, desc: m } = await rn(p);
3743
- await ye({ title: a, content: l, desc: m });
3740
+ const { title: c, content: l, desc: m } = await rn(p);
3741
+ await Le({ title: c, content: l, desc: m });
3744
3742
  return;
3745
3743
  }
3746
- const u = z.find((a) => a.code === r);
3744
+ const u = z.find((c) => c.code === r);
3747
3745
  u && v({ microApp: u, menuPath: `/${u.routeUrl}/userInfo` });
3748
3746
  };
3749
3747
  return W.nav.addEventListener("onUserCommandChange", (r) => {
@@ -3760,7 +3758,7 @@ const tf = (e, A = "") => {
3760
3758
  };
3761
3759
  }, Au = R9.get("/convert/tenant"), eu = Uf.get("/platform/withdefault"), bv = () => {
3762
3760
  const e = ve(), A = R(!1), f = R(""), n = R(""), v = () => {
3763
- f.value = ke().id, n.value = l9().tenantId, A.value = !0;
3761
+ f.value = Be().id, n.value = l9().tenantId, A.value = !0;
3764
3762
  };
3765
3763
  W.nav.addEventListener("changeEnterpriseHandle", () => {
3766
3764
  v();
@@ -3776,20 +3774,20 @@ const tf = (e, A = "") => {
3776
3774
  const [z, P] = await Au().run({ tenant: d });
3777
3775
  if (z) return;
3778
3776
  A.value = !1;
3779
- const { access_token: X = "", refresh_token: p = "", expires_in: u = 0, sub: a = "", name: l = "", flag: m = "", tenant: s = "" } = P, b = {
3777
+ const { access_token: X = "", refresh_token: p = "", expires_in: u = 0, sub: c = "", name: l = "", flag: m = "", tenant: s = "" } = P, b = {
3780
3778
  accessToken: X,
3781
3779
  accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(u) * 1e3,
3782
3780
  refreshToken: p,
3783
3781
  info: P
3784
3782
  };
3785
3783
  P3().save(b), O9(b);
3786
- const c = {
3787
- id: a,
3784
+ const a = {
3785
+ id: c,
3788
3786
  name: l,
3789
3787
  flag: m,
3790
3788
  tenantId: s
3791
3789
  };
3792
- sessionStorage.setItem("hotentUserInfo", JSON.stringify(c)), d3(X);
3790
+ sessionStorage.setItem("hotentUserInfo", JSON.stringify(a)), d3(X);
3793
3791
  let q = "";
3794
3792
  if (e != null && e.ssoLocale)
3795
3793
  q = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${d}`;
@@ -3826,7 +3824,7 @@ const tf = (e, A = "") => {
3826
3824
  const { item: v, keyword: t, cb: r } = n;
3827
3825
  if (v != null && v.disable || v != null && v.expired) {
3828
3826
  const { title: X, content: p, desc: u } = await rn(v);
3829
- await ye({ title: X, content: p, desc: u });
3827
+ await Le({ title: X, content: p, desc: u });
3830
3828
  return;
3831
3829
  }
3832
3830
  await tu().run({ searchVal: t, clickData: v });
@@ -3937,7 +3935,7 @@ const tf = (e, A = "") => {
3937
3935
  };
3938
3936
  SA(async () => {
3939
3937
  await zf(), t();
3940
- }), Me(() => {
3938
+ }), ge(() => {
3941
3939
  A.value && A.value.disconnect(), A.value = null;
3942
3940
  });
3943
3941
  }, cu = "v1", iu = pe(`/api/enterpriseright/permission/${cu}`), av = pe("/api/device-relation/deviceproject/v1/project/device/video", qu), su = Yf.get("/permissionset/user-portal-menu");
@@ -4008,7 +4006,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4008
4006
  (L(!0), F(
4009
4007
  IA,
4010
4008
  null,
4011
- Te(f.gridNum, (d, z) => (L(), U(lu, {
4009
+ ye(f.gridNum, (d, z) => (L(), U(lu, {
4012
4010
  active: !1,
4013
4011
  "grid-num": f.gridNum,
4014
4012
  onItemClick: (P) => v(z)
@@ -4187,7 +4185,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4187
4185
  });
4188
4186
  }, u = () => {
4189
4187
  v.value = !v.value, t.value && (t.value.muted = v.value);
4190
- }, a = () => {
4188
+ }, c = () => {
4191
4189
  r.value = !r.value;
4192
4190
  }, l = R(""), m = () => {
4193
4191
  const q = document.createElement("canvas");
@@ -4205,7 +4203,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4205
4203
  n("directionControl", q);
4206
4204
  }, b = (q) => {
4207
4205
  n("zoomControl", q);
4208
- }, c = (q) => f.authType.includes(q);
4206
+ }, a = (q) => f.authType.includes(q);
4209
4207
  return C(
4210
4208
  () => z.value,
4211
4209
  () => {
@@ -4328,7 +4326,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4328
4326
  _: 1
4329
4327
  /* STABLE */
4330
4328
  }, 8, ["content"]),
4331
- c("control") ? (L(), U(i(mA), {
4329
+ a("control") ? (L(), U(i(mA), {
4332
4330
  key: 0,
4333
4331
  content: i(J)("聚焦-")
4334
4332
  }, {
@@ -4343,7 +4341,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4343
4341
  _: 1
4344
4342
  /* STABLE */
4345
4343
  }, 8, ["content"])) : k("v-if", !0),
4346
- c("control") ? (L(), U(i(mA), {
4344
+ a("control") ? (L(), U(i(mA), {
4347
4345
  key: 1,
4348
4346
  content: i(J)("聚焦+")
4349
4347
  }, {
@@ -4358,7 +4356,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4358
4356
  _: 1
4359
4357
  /* STABLE */
4360
4358
  }, 8, ["content"])) : k("v-if", !0),
4361
- c("control") ? (L(), U(i(mA), {
4359
+ a("control") ? (L(), U(i(mA), {
4362
4360
  key: 2,
4363
4361
  content: i(J)("方向控制")
4364
4362
  }, {
@@ -4367,7 +4365,7 @@ const pu = iu.post("data/device-auth"), Hu = /* @__PURE__ */ fA({
4367
4365
  key: 0,
4368
4366
  class: "icon icon-direction-control",
4369
4367
  icon: "direction-control",
4370
- onClick: XA(a, ["stop"])
4368
+ onClick: XA(c, ["stop"])
4371
4369
  })) : k("v-if", !0)
4372
4370
  ]),
4373
4371
  _: 1
@@ -4576,12 +4574,12 @@ const ku = /* @__PURE__ */ fA({
4576
4574
  params: { project: t },
4577
4575
  message: async (P) => {
4578
4576
  var X;
4579
- if ((P == null ? void 0 : P.project) === t) {
4577
+ if (window.self === window.top && (P == null ? void 0 : P.project) === t) {
4580
4578
  e.value = P.layout;
4581
4579
  let p = {
4582
4580
  projectId: t,
4583
4581
  deviceIds: P == null ? void 0 : P.deviceId
4584
- }, a = (await n(p)).map((l) => {
4582
+ }, c = (await n(p)).map((l) => {
4585
4583
  let m = l.lookupOrOperation == 1;
4586
4584
  return {
4587
4585
  id: l.id,
@@ -4593,14 +4591,14 @@ const ku = /* @__PURE__ */ fA({
4593
4591
  show: !!m
4594
4592
  };
4595
4593
  });
4596
- A.value = a.filter((l) => !!l.show), (X = A.value) != null && X.length && Bu({ gridNum: e.value, deviceList: A.value });
4594
+ A.value = c.filter((l) => !!l.show), (X = A.value) != null && X.length && Bu({ gridNum: e.value, deviceList: A.value });
4597
4595
  }
4598
4596
  }
4599
4597
  }));
4600
4598
  };
4601
4599
  return SA(async () => {
4602
4600
  await zf(), v();
4603
- }), Me(() => {
4601
+ }), ge(() => {
4604
4602
  f.value && f.value.disconnect(), f.value = null;
4605
4603
  }), {
4606
4604
  gridNum: e,
@@ -4735,7 +4733,7 @@ var O;
4735
4733
  (function(e) {
4736
4734
  e[e.Trace = 0] = "Trace", e[e.Debug = 1] = "Debug", e[e.Information = 2] = "Information", e[e.Warning = 3] = "Warning", e[e.Error = 4] = "Error", e[e.Critical = 5] = "Critical", e[e.None = 6] = "None";
4737
4735
  })(O || (O = {}));
4738
- class Ie {
4736
+ class Ee {
4739
4737
  constructor() {
4740
4738
  }
4741
4739
  /** @inheritDoc */
@@ -4743,7 +4741,7 @@ class Ie {
4743
4741
  log(A, f) {
4744
4742
  }
4745
4743
  }
4746
- Ie.instance = new Ie();
4744
+ Ee.instance = new Ee();
4747
4745
  const Fu = "8.0.7";
4748
4746
  class rA {
4749
4747
  static isRequired(A, f) {
@@ -4778,7 +4776,7 @@ class vA {
4778
4776
  return typeof process < "u" && process.release && process.release.name === "node";
4779
4777
  }
4780
4778
  }
4781
- function Ee(e, A) {
4779
+ function we(e, A) {
4782
4780
  let f = "";
4783
4781
  return ee(e) ? (f = `Binary data of length ${e.byteLength}`, A && (f += `. Content: '${hu(e)}'`)) : typeof e == "string" && (f = `String data of length ${e.length}`, A && (f += `. Content: '${e}'`)), f;
4784
4782
  }
@@ -4796,7 +4794,7 @@ function ee(e) {
4796
4794
  }
4797
4795
  async function sv(e, A, f, n, v, t) {
4798
4796
  const r = {}, [d, z] = me();
4799
- r[d] = z, e.log(O.Trace, `(${A} transport) sending data. ${Ee(v, t.logMessageContent)}.`);
4797
+ r[d] = z, e.log(O.Trace, `(${A} transport) sending data. ${we(v, t.logMessageContent)}.`);
4800
4798
  const P = ee(v) ? "arraybuffer" : "text", X = await f.post(n, {
4801
4799
  content: v,
4802
4800
  headers: { ...r, ...t.headers },
@@ -4807,7 +4805,7 @@ async function sv(e, A, f, n, v, t) {
4807
4805
  e.log(O.Trace, `(${A} transport) request complete. Response status: ${X.statusCode}.`);
4808
4806
  }
4809
4807
  function Su(e) {
4810
- return e === void 0 ? new rf(O.Information) : e === null ? Ie.instance : e.log !== void 0 ? e : new rf(e);
4808
+ return e === void 0 ? new rf(O.Information) : e === null ? Ee.instance : e.log !== void 0 ? e : new rf(e);
4811
4809
  }
4812
4810
  class Ku {
4813
4811
  constructor(A, f) {
@@ -5765,7 +5763,7 @@ class b9 {
5765
5763
  const n = `${A}&_=${Date.now()}`;
5766
5764
  this._logger.log(O.Trace, `(LongPolling transport) polling: ${n}.`);
5767
5765
  const v = await this._httpClient.get(n, f);
5768
- v.statusCode === 204 ? (this._logger.log(O.Information, "(LongPolling transport) Poll terminated by server."), this._running = !1) : v.statusCode !== 200 ? (this._logger.log(O.Error, `(LongPolling transport) Unexpected response code: ${v.statusCode}.`), this._closeError = new _A(v.statusText || "", v.statusCode), this._running = !1) : v.content ? (this._logger.log(O.Trace, `(LongPolling transport) data received. ${Ee(v.content, this._options.logMessageContent)}.`), this.onreceive && this.onreceive(v.content)) : this._logger.log(O.Trace, "(LongPolling transport) Poll timed out, reissuing.");
5766
+ v.statusCode === 204 ? (this._logger.log(O.Information, "(LongPolling transport) Poll terminated by server."), this._running = !1) : v.statusCode !== 200 ? (this._logger.log(O.Error, `(LongPolling transport) Unexpected response code: ${v.statusCode}.`), this._closeError = new _A(v.statusText || "", v.statusCode), this._running = !1) : v.content ? (this._logger.log(O.Trace, `(LongPolling transport) data received. ${we(v.content, this._options.logMessageContent)}.`), this.onreceive && this.onreceive(v.content)) : this._logger.log(O.Trace, "(LongPolling transport) Poll timed out, reissuing.");
5769
5767
  } catch (n) {
5770
5768
  this._running ? n instanceof Pn ? this._logger.log(O.Trace, "(LongPolling transport) Poll timed out, reissuing.") : (this._closeError = n, this._running = !1) : this._logger.log(O.Trace, `(LongPolling transport) Poll errored after shutdown: ${n.message}`);
5771
5769
  }
@@ -5829,7 +5827,7 @@ class i5 {
5829
5827
  r.onmessage = (d) => {
5830
5828
  if (this.onreceive)
5831
5829
  try {
5832
- this._logger.log(O.Trace, `(SSE transport) data received. ${Ee(d.data, this._options.logMessageContent)}.`), this.onreceive(d.data);
5830
+ this._logger.log(O.Trace, `(SSE transport) data received. ${we(d.data, this._options.logMessageContent)}.`), this.onreceive(d.data);
5833
5831
  } catch (z) {
5834
5832
  this._close(z);
5835
5833
  return;
@@ -5880,7 +5878,7 @@ class s5 {
5880
5878
  let X = null;
5881
5879
  typeof ErrorEvent < "u" && P instanceof ErrorEvent ? X = P.error : X = "There was an error with the transport", this._logger.log(O.Information, `(WebSockets transport) ${X}.`);
5882
5880
  }, r.onmessage = (P) => {
5883
- if (this._logger.log(O.Trace, `(WebSockets transport) data received. ${Ee(P.data, this._logMessageContent)}.`), this.onreceive)
5881
+ if (this._logger.log(O.Trace, `(WebSockets transport) data received. ${we(P.data, this._logMessageContent)}.`), this.onreceive)
5884
5882
  try {
5885
5883
  this.onreceive(P.data);
5886
5884
  } catch (X) {
@@ -5898,7 +5896,7 @@ class s5 {
5898
5896
  });
5899
5897
  }
5900
5898
  send(A) {
5901
- return this._webSocket && this._webSocket.readyState === this._webSocketConstructor.OPEN ? (this._logger.log(O.Trace, `(WebSockets transport) sending data. ${Ee(A, this._logMessageContent)}.`), this._webSocket.send(A), Promise.resolve()) : Promise.reject("WebSocket is not in the OPEN state");
5899
+ return this._webSocket && this._webSocket.readyState === this._webSocketConstructor.OPEN ? (this._logger.log(O.Trace, `(WebSockets transport) sending data. ${we(A, this._logMessageContent)}.`), this._webSocket.send(A), Promise.resolve()) : Promise.reject("WebSocket is not in the OPEN state");
5902
5900
  }
5903
5901
  stop() {
5904
5902
  return this._webSocket && this._close(void 0), Promise.resolve();
@@ -6152,10 +6150,10 @@ function m5(e, A) {
6152
6150
  }
6153
6151
  class zn {
6154
6152
  constructor(A) {
6155
- this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new Se(), this._transportResult = new Se(), this._sendLoopPromise = this._sendLoop();
6153
+ this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new Ke(), this._transportResult = new Ke(), this._sendLoopPromise = this._sendLoop();
6156
6154
  }
6157
6155
  send(A) {
6158
- return this._bufferData(A), this._transportResult || (this._transportResult = new Se()), this._transportResult.promise;
6156
+ return this._bufferData(A), this._transportResult || (this._transportResult = new Ke()), this._transportResult.promise;
6159
6157
  }
6160
6158
  stop() {
6161
6159
  return this._executing = !1, this._sendBufferedData.resolve(), this._sendLoopPromise;
@@ -6171,7 +6169,7 @@ class zn {
6171
6169
  this._transportResult && this._transportResult.reject("Connection stopped.");
6172
6170
  break;
6173
6171
  }
6174
- this._sendBufferedData = new Se();
6172
+ this._sendBufferedData = new Ke();
6175
6173
  const A = this._transportResult;
6176
6174
  this._transportResult = void 0;
6177
6175
  const f = typeof this._buffer[0] == "string" ? this._buffer.join("") : zn._concatBuffers(this._buffer);
@@ -6191,7 +6189,7 @@ class zn {
6191
6189
  return n.buffer;
6192
6190
  }
6193
6191
  }
6194
- class Se {
6192
+ class Ke {
6195
6193
  constructor() {
6196
6194
  this.promise = new Promise((A, f) => [this._resolver, this._rejecter] = [A, f]);
6197
6195
  }
@@ -6217,7 +6215,7 @@ class H5 {
6217
6215
  throw new Error("Invalid input for JSON hub protocol. Expected a string.");
6218
6216
  if (!A)
6219
6217
  return [];
6220
- f === null && (f = Ie.instance);
6218
+ f === null && (f = Ee.instance);
6221
6219
  const n = oA.parse(A), v = [];
6222
6220
  for (const t of n) {
6223
6221
  const r = JSON.parse(t);
@@ -6360,7 +6358,7 @@ class O5 {
6360
6358
  if (A.logger === void 0 && (A.logger = this.logger), !this.url)
6361
6359
  throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
6362
6360
  const f = new q5(this.url, A);
6363
- return dn.create(f, this.logger || Ie.instance, this.protocol || new H5(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
6361
+ return dn.create(f, this.logger || Ee.instance, this.protocol || new H5(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
6364
6362
  }
6365
6363
  }
6366
6364
  function R5(e) {
@@ -6380,25 +6378,25 @@ const N5 = () => {
6380
6378
  }, sf = "v1", x5 = ne(`/api/graphics-engine/component/${sf}`, (e) => (e.customErrorMessage = () => "", e)), D5 = ne(`/api/portal/manager/${sf}`, (e) => (e.customErrorMessage = () => "", e)), j5 = ne(`/api/speech-base/speech/${sf}`, (e) => (e.customErrorMessage = () => "", e)), c9 = x5.get("/component/client/heartbeat"), Z5 = D5.get("/basics/by-alias");
6381
6379
  j5.post("/control/callBack");
6382
6380
  const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.get("/permissionset/application"), L5 = () => {
6383
- const e = ge(), { entryApp: A } = nf.hooks.useEntryApp(), { entryMenu: f } = nf.hooks.useEntryMenu();
6381
+ const e = ke(), { entryApp: A } = nf.hooks.useEntryApp(), { entryMenu: f } = nf.hooks.useEntryMenu();
6384
6382
  let n = null;
6385
6383
  return SA(async () => {
6386
6384
  var b;
6387
6385
  let v = ((b = e.meta) == null ? void 0 : b.showLayout) ?? !0, { showLayout: t = !0 } = e.query;
6388
6386
  if (t === "false" && (t = !1), !v || !t) return;
6389
6387
  await zf();
6390
- const r = (c) => {
6388
+ const r = (a) => {
6391
6389
  try {
6392
- return JSON.parse(c);
6390
+ return JSON.parse(a);
6393
6391
  } catch {
6394
6392
  return !1;
6395
6393
  }
6396
- }, d = async (c) => {
6394
+ }, d = async (a) => {
6397
6395
  var j;
6398
6396
  const q = K(), H = ((j = q.appcategorys) == null ? void 0 : j.map((o) => o.apps).flat()) || [];
6399
- if (Array.isArray(c)) {
6400
- const o = c.filter((Z) => Z.code).map((Z) => Z.code);
6401
- if (c.length) {
6397
+ if (Array.isArray(a)) {
6398
+ const o = a.filter((Z) => Z.code).map((Z) => Z.code);
6399
+ if (a.length) {
6402
6400
  if (q.currentSubAppCode) {
6403
6401
  const V = q.currentSubApp.menus ?? [], D = EA(V).find((N) => o.includes(N.code));
6404
6402
  if (D) {
@@ -6410,14 +6408,14 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6410
6408
  Z && A({ microApp: Z });
6411
6409
  }
6412
6410
  }
6413
- if (typeof c == "string")
6414
- if (c.includes(":")) {
6415
- const o = c.split(":"), [Z = "", V = ""] = o;
6411
+ if (typeof a == "string")
6412
+ if (a.includes(":")) {
6413
+ const o = a.split(":"), [Z = "", V = ""] = o;
6416
6414
  if (!Z) return;
6417
6415
  const D = H.find((N) => N.code === Z);
6418
6416
  D && A({ microApp: D, menuCode: V });
6419
6417
  } else {
6420
- const o = c, Z = H.find((V) => V.code === o);
6418
+ const o = a, Z = H.find((V) => V.code === o);
6421
6419
  if (Z)
6422
6420
  A({ microApp: Z });
6423
6421
  else {
@@ -6429,30 +6427,30 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6429
6427
  }
6430
6428
  };
6431
6429
  let z = R(!0);
6432
- const P = (c) => {
6430
+ const P = (a) => {
6433
6431
  setTimeout(async () => {
6434
6432
  var q, H;
6435
6433
  if (z.value) {
6436
- const [j, o] = await Z5().run({}, { params: { aliasName: c.actionValue } });
6434
+ const [j, o] = await Z5().run({}, { params: { aliasName: a.actionValue } });
6437
6435
  j ? await Nf().run({
6438
- uniqueId: c.uniqueId,
6436
+ uniqueId: a.uniqueId,
6439
6437
  status: 0,
6440
- errorMsg: "未找到" + c.actionValue
6438
+ errorMsg: "未找到" + a.actionValue
6441
6439
  }) : o.length ? (o.length > 1 ? d(o) : d((q = o[0]) == null ? void 0 : q.code), await Nf().run({
6442
- uniqueId: c.uniqueId,
6440
+ uniqueId: a.uniqueId,
6443
6441
  status: 1,
6444
6442
  targetName: (H = o[0]) == null ? void 0 : H.name
6445
6443
  })) : await Nf().run({
6446
- uniqueId: c.uniqueId,
6444
+ uniqueId: a.uniqueId,
6447
6445
  status: 0,
6448
- errorMsg: "未找到" + c.actionValue
6446
+ errorMsg: "未找到" + a.actionValue
6449
6447
  });
6450
6448
  }
6451
6449
  z.value = !0;
6452
6450
  }, 2e3);
6453
- }, X = (c) => {
6454
- const q = Be(), H = JSON.parse(atob(q.split(".")[1])).sub;
6455
- N5().on(`${c}:${H}`, async function(o) {
6451
+ }, X = (a) => {
6452
+ const q = Qe(), H = JSON.parse(atob(q.split(".")[1])).sub;
6453
+ N5().on(`${a}:${H}`, async function(o) {
6456
6454
  let Z = r(o);
6457
6455
  if (Z)
6458
6456
  Z.uniqueId && Z.actionKey == "switch-menu" && P(Z);
@@ -6461,22 +6459,22 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6461
6459
  d(D);
6462
6460
  } else o.includes("iocIsRun") && (z.value = !1);
6463
6461
  });
6464
- }, p = R(""), [u, a] = await c9().run();
6465
- p.value = a, X(p.value);
6462
+ }, p = R(""), [u, c] = await c9().run();
6463
+ p.value = c, X(p.value);
6466
6464
  const l = async () => {
6467
- const [c, q] = await c9().run();
6465
+ const [a, q] = await c9().run();
6468
6466
  q !== p.value && (p.value = q, X(p.value));
6469
6467
  };
6470
6468
  n = setInterval(() => {
6471
6469
  l();
6472
6470
  }, 72e5);
6473
- const m = R("online"), s = (c) => {
6474
- c === "online" && m.value === "offline" && setTimeout(() => {
6471
+ const m = R("online"), s = (a) => {
6472
+ a === "online" && m.value === "offline" && setTimeout(() => {
6475
6473
  l();
6476
6474
  }, 5e3), m.value = (window.navigator.onLine ? "on" : "off") + "line";
6477
6475
  };
6478
6476
  window.addEventListener("online", () => s("online")), window.addEventListener("offline", () => s("offline"));
6479
- }), Me(() => {
6477
+ }), ge(() => {
6480
6478
  n && clearInterval(n);
6481
6479
  }), {};
6482
6480
  }, qf = "v1", W5 = pe(`/api/fms/report/${qf}`), un = pe(`/api/emergency/manage/${qf}`), I5 = Yf.get("/permissionset/user-portal-menu"), qv = pe(`/api/alarm/config/${qf}`), E5 = pe(`/api/alarm/run-time/${qf}`), w5 = qv.get("/alarm-definition/status-option"), M5 = E5.post("/record/handling"), g5 = qv.get("/alarm-level/prompttone"), k5 = W5.get("/alarm/rule/list"), B5 = o9.get("/controller/space-children-all-type"), Q5 = o9.get("/controller/fuzzy-area-small"), G5 = un.get("/emergency-event/event/type"), U5 = un.get("/emergency-event/event/level"), J5 = un.get("/emergency-plan/plan/handle-time"), Y5 = { class: "handle-alarm-container" }, F5 = { class: "select-check" }, h5 = { class: "form-box" }, S5 = { class: "select-check" }, K5 = { style: { "margin-left": "8px" } }, C5 = { class: "foot-btn-box" }, _5 = {
@@ -6537,11 +6535,11 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6537
6535
  // 事件等级id
6538
6536
  timeLimit: ""
6539
6537
  // 处置时限
6540
- }), p = R(!1), u = R([]), a = R([]), l = R([
6538
+ }), p = R(!1), u = R([]), c = R([]), l = R([
6541
6539
  { id: 2, name: w("时").value },
6542
6540
  { id: 1, name: w("分").value },
6543
6541
  { id: 3, name: w("不限").value }
6544
- ]), m = R([]), s = R(""), b = R(w("告警对象位置").value), c = R(""), q = R([]), H = R("");
6542
+ ]), m = R([]), s = R(""), b = R(w("告警对象位置").value), a = R(""), q = R([]), H = R("");
6545
6543
  R("[]");
6546
6544
  const j = R(!0), o = R(!0), Z = async (E) => {
6547
6545
  const x = { name: "1" };
@@ -6567,7 +6565,7 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6567
6565
  ), C(
6568
6566
  N,
6569
6567
  (E) => {
6570
- E ? (P.value.reportTheme = w("告警对象").value, D.value = !0) : (c.value = w("请输入").value, P.value.reportTheme = "", D.value = !1);
6568
+ E ? (P.value.reportTheme = w("告警对象").value, D.value = !0) : (a.value = w("请输入").value, P.value.reportTheme = "", D.value = !1);
6571
6569
  },
6572
6570
  { immediate: !0 }
6573
6571
  );
@@ -6578,14 +6576,14 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6578
6576
  X.value.reportTheme = "";
6579
6577
  }, xA = (E, x) => {
6580
6578
  x.length > 0 && (s.value = x[0].path), P.value.reportPosition = E, H.value = "";
6581
- }, Je = (E) => {
6579
+ }, Ye = (E) => {
6582
6580
  E && (X.value.reportPosition = "", s.value = ""), E ? (P.value.reportPosition = null, s.value = "", b.value = w("告警对象位置").value) : (P.value.reportPosition = null, s.value = "", b.value = w("请选择").value);
6583
6581
  }, iA = (E) => {
6584
- E && (X.value.reportTheme = ""), E ? (P.value.reportTheme = "", c.value = w("告警对象").value) : (P.value.reportTheme = "", c.value = w("请输入").value);
6582
+ E && (X.value.reportTheme = ""), E ? (P.value.reportTheme = "", a.value = w("告警对象").value) : (P.value.reportTheme = "", a.value = w("请输入").value);
6585
6583
  }, dA = () => {
6586
6584
  X.value.processTypeId = "", X.value.reason = "", X.value.treatmentPlan = "", X.value.reportPosition = "", X.value.reportTheme = "", X.value.workOrderRules = "", X.value.eventTypeId = "", X.value.eventLevelId = "", X.value.timeLimit = "";
6587
6585
  }, aA = () => {
6588
- P.value.processTypeId = "confirm", P.value.reason = "", P.value.treatmentPlan = "", P.value.remarks = "", P.value.reportPosition = "", P.value.reportTheme = "", P.value.workOrderRules = null, o.value = !0, N.value = !0, D.value = !0, P.value.reportTheme = w("告警对象").value, s.value = "", b.value = w("告警对象位置").value, c.value = w("请输入").value, P.value.eventTypeId = "", P.value.eventLevelId = null, P.value.timeLimit = "", P.value.interval = 1, u.value = [], a.value = [];
6586
+ P.value.processTypeId = "confirm", P.value.reason = "", P.value.treatmentPlan = "", P.value.remarks = "", P.value.reportPosition = "", P.value.reportTheme = "", P.value.workOrderRules = null, o.value = !0, N.value = !0, D.value = !0, P.value.reportTheme = w("告警对象").value, s.value = "", b.value = w("告警对象位置").value, a.value = w("请输入").value, P.value.eventTypeId = "", P.value.eventLevelId = null, P.value.timeLimit = "", P.value.interval = 1, u.value = [], c.value = [];
6589
6587
  }, TA = (E) => {
6590
6588
  E == "eventTypeId" && (P.value.eventLevelId = null, Xn()), E == "eventLevelId" && bn(), E == "interval" && (X.value.timeLimit = "", P.value.interval == 3 ? (p.value = !0, P.value.timeLimit = "") : p.value = !1);
6591
6589
  }, Pe = async () => {
@@ -6598,10 +6596,10 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6598
6596
  }, [x, y] = await U5(E).run();
6599
6597
  if (x) return {};
6600
6598
  const wA = { 1: w("一级").value, 2: w("二级").value, 3: w("三级").value, 4: w("四级").value };
6601
- a.value = y.map((Ye) => ({
6602
- id: `${Ye}`,
6603
- name: wA[Ye] ? wA[Ye] : Ye
6604
- })), y.length && !P.value.eventLevelId && (P.value.eventLevelId = a.value[0].id, bn());
6599
+ c.value = y.map((Fe) => ({
6600
+ id: `${Fe}`,
6601
+ name: wA[Fe] ? wA[Fe] : Fe
6602
+ })), y.length && !P.value.eventLevelId && (P.value.eventLevelId = c.value[0].id, bn());
6605
6603
  }, bn = async () => {
6606
6604
  const E = {
6607
6605
  eventTypeId: P.value.eventTypeId,
@@ -6707,6 +6705,7 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6707
6705
  /* STABLE */
6708
6706
  }),
6709
6707
  g(i(hA), {
6708
+ block: "",
6710
6709
  size: "middle",
6711
6710
  onClick: x[29] || (x[29] = (y) => an(1))
6712
6711
  }, {
@@ -6721,6 +6720,7 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6721
6720
  /* STABLE */
6722
6721
  }),
6723
6722
  g(i(hA), {
6723
+ block: "",
6724
6724
  btnType: "primary",
6725
6725
  size: "middle",
6726
6726
  onClick: x[30] || (x[30] = (y) => an(2))
@@ -6857,7 +6857,7 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6857
6857
  modelValue: o.value,
6858
6858
  "onUpdate:modelValue": x[12] || (x[12] = (y) => o.value = y),
6859
6859
  checkboxType: "default",
6860
- onChange: Je,
6860
+ onChange: Ye,
6861
6861
  size: "middle"
6862
6862
  }, {
6863
6863
  default: M(() => [
@@ -6892,7 +6892,7 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6892
6892
  disabled: D.value,
6893
6893
  modelValue: P.value.reportTheme,
6894
6894
  "onUpdate:modelValue": x[14] || (x[14] = (y) => P.value.reportTheme = y),
6895
- placeholder: c.value,
6895
+ placeholder: a.value,
6896
6896
  onChange: PA
6897
6897
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
6898
6898
  g(i(Hn), {
@@ -6962,7 +6962,7 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
6962
6962
  "onUpdate:modelValue": x[22] || (x[22] = (y) => P.value.eventLevelId = y),
6963
6963
  error: X.value.eventLevelId,
6964
6964
  "onUpdate:error": x[23] || (x[23] = (y) => X.value.eventLevelId = y),
6965
- options: a.value,
6965
+ options: c.value,
6966
6966
  col: 1,
6967
6967
  optionsLabelKey: "name",
6968
6968
  optionsValueKey: "id",
@@ -7027,10 +7027,10 @@ const T5 = ne(`/api/tool/event-bus/${sf}/`), Nf = T5.post("/publish"), y5 = Jf.g
7027
7027
  }, 8, ["modelValue"])
7028
7028
  ]));
7029
7029
  }
7030
- }), A6 = /* @__PURE__ */ OA($5, [["__scopeId", "data-v-4430686d"]]), e6 = (e, A, f) => ({
7030
+ }), A6 = /* @__PURE__ */ OA($5, [["__scopeId", "data-v-bae36ff1"]]), e6 = (e, A, f) => ({
7031
7031
  handleAlarmVue: () => uA(A6, {
7032
7032
  handerIds: A.value,
7033
- projectId: ke().id,
7033
+ projectId: Be().id,
7034
7034
  ref: e,
7035
7035
  onEmitFn: (v, t) => {
7036
7036
  }
@@ -7219,7 +7219,7 @@ const p6 = () => {
7219
7219
  D.push({ alarmId: V.recordId }), v.value = D, (N = f.value) == null || N.open();
7220
7220
  }, { entryApp: p } = nf.hooks.useEntryApp(), u = (V) => {
7221
7221
  N9(V.equipmentCode, V.equipmentPanelCode);
7222
- }, { handleAlarmVue: a } = e6(f, v), l = async () => {
7222
+ }, { handleAlarmVue: c } = e6(f, v), l = async () => {
7223
7223
  var N;
7224
7224
  const D = (((N = K().appcategorys) == null ? void 0 : N.map((I) => I.apps).flat()) ?? []).find((I) => I.code === "alarm");
7225
7225
  D && p({ microApp: D, menuPath: `/${D.routeUrl}/realTimeAlarm` });
@@ -7255,8 +7255,8 @@ const p6 = () => {
7255
7255
  }
7256
7256
  }, 300);
7257
7257
  }
7258
- }), t.value.includes(D) || t.value.push(D), c(V);
7259
- }, c = (V) => {
7258
+ }), t.value.includes(D) || t.value.push(D), a(V);
7259
+ }, a = (V) => {
7260
7260
  if (V) {
7261
7261
  if (!z.value) {
7262
7262
  H();
@@ -7288,7 +7288,7 @@ const p6 = () => {
7288
7288
  alarmCount: A,
7289
7289
  audioObj: P,
7290
7290
  audioAlarmRef: n,
7291
- handleAlarmVue: a,
7291
+ handleAlarmVue: c,
7292
7292
  creatAlarmSocket: async () => {
7293
7293
  o();
7294
7294
  const [V, D] = await I5().run({
@@ -7320,7 +7320,7 @@ const p6 = () => {
7320
7320
  const { alarmSocket: A, creatAlarmSocket: f, audioObj: n, audioAlarmRef: v, handleAlarmVue: t } = p6();
7321
7321
  return SA(async () => {
7322
7322
  await zf(), f();
7323
- }), Me(() => {
7323
+ }), ge(() => {
7324
7324
  A.value && A.value.disconnect(), A.value = null;
7325
7325
  }), (r, d) => (L(), F(
7326
7326
  IA,
@@ -7358,9 +7358,9 @@ const p6 = () => {
7358
7358
  );
7359
7359
  const { initNextTick: r } = Jz(), { innerPage: d, commandList: z, initNextTick: P } = Yz(r);
7360
7360
  _z(d, r, P), Cz(), Sz(), fu();
7361
- const { $changePwd: X, $personSetDialog: p } = $z(), { changeEnterprisesVisible: u, userId: a, tenantId: l, changeEnterprise: m } = bv();
7361
+ const { $changePwd: X, $personSetDialog: p } = $z(), { changeEnterprisesVisible: u, userId: c, tenantId: l, changeEnterprise: m } = bv();
7362
7362
  hz();
7363
- const { fontColor: s, backgroudColor: b, borderColor: c } = Kz();
7363
+ const { fontColor: s, backgroudColor: b, borderColor: a } = Kz();
7364
7364
  return zu(), uu(z), Xu(), au(), Qu(), L5(), (q, H) => (L(), F("div", V6, [
7365
7365
  g(i(L7), { platformInitNextTick: i(r) }, {
7366
7366
  default: M(() => [
@@ -7368,7 +7368,7 @@ const p6 = () => {
7368
7368
  showLayout: f.value,
7369
7369
  excludeRoutes: n.value,
7370
7370
  routeKeepAliveVisible: v.value,
7371
- tabsAttr: { fontColor: i(s), backgroudColor: i(b), borderColor: i(c) },
7371
+ tabsAttr: { fontColor: i(s), backgroudColor: i(b), borderColor: i(a) },
7372
7372
  menuAttr: t.value
7373
7373
  }, null, 8, ["showLayout", "excludeRoutes", "routeKeepAliveVisible", "tabsAttr", "menuAttr"])
7374
7374
  ]),
@@ -7379,7 +7379,7 @@ const p6 = () => {
7379
7379
  g(i(Yv), {
7380
7380
  visible: i(u),
7381
7381
  "onUpdate:visible": H[0] || (H[0] = (j) => Iv(u) ? u.value = j : null),
7382
- userId: i(a),
7382
+ userId: i(c),
7383
7383
  tenantId: i(l),
7384
7384
  onConfirm: i(m)
7385
7385
  }, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
@@ -7410,134 +7410,146 @@ const p6 = () => {
7410
7410
  ]));
7411
7411
  }
7412
7412
  }), R6 = /* @__PURE__ */ OA(O6, [["__scopeId", "data-v-e1ffa468"]]), o6 = {
7413
- 正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Preview" },
7414
- 声音: { "zh-CN": "声音", en: "Sound" },
7415
- 截图: { "zh-CN": "截图", en: "Screenshot" },
7416
- 聚焦: { "zh-CN": "聚焦", en: "Focus" },
7417
- 方向控制: { "zh-CN": "方向控制", en: "Direction Control" },
7418
- 左上: { "zh-CN": "左上", en: "Top Left" },
7419
- 上: { "zh-CN": "上", en: "Up" },
7420
- 右上: { "zh-CN": "右上", en: "Top Right" },
7421
- 左: { "zh-CN": "左", en: "Left" },
7422
- 自动: { "zh-CN": "自动", en: "Auto" },
7423
- 右: { "zh-CN": "右", en: "Right" },
7424
- 左下: { "zh-CN": "左下", en: "Bottom Left" },
7425
- 下: { "zh-CN": "下", en: "Down" },
7426
- 右下: { "zh-CN": "右下", en: "Bottom Right" },
7427
- 侧边菜单栏: { "zh-CN": "侧边菜单栏", en: "Sidebar Menu" },
7428
- 弹出式菜单栏: { "zh-CN": "弹出式菜单栏", en: "Popup Menu" },
7429
- 内嵌式菜单栏: { "zh-CN": "内嵌式菜单栏", en: "Embedded Menu" },
7430
- 皮肤风格设置: { "zh-CN": "皮肤风格设置", en: "Skin Style Settings" },
7431
- 默认皮肤: { "zh-CN": "默认皮肤", en: "Default Skin" },
7432
- 科技蓝: { "zh-CN": "科技蓝", en: "Tech Blue" },
7433
- 纯净白: { "zh-CN": "纯净白", en: "Pure White" },
7434
- 深邃蓝: { "zh-CN": "深邃蓝", en: "Deep Blue" },
7435
- 效果预览: { "zh-CN": "效果预览", en: "Effect Preview" },
7436
- 确定: { "zh-CN": "确定", en: "Confirm" },
7437
- 我知道了: { "zh-CN": "我知道了", en: "Got It" },
7438
- 视频监控: { "zh-CN": "视频监控", en: "Video Surveillance" },
7439
- 页面全屏: { "zh-CN": "页面全屏", en: "Fullscreen Page" },
7440
- 告警处理: { "zh-CN": "告警处理", en: "Alarm Handling" },
7441
- 处理类型: { "zh-CN": "处理类型", en: "Handling Type" },
7442
- 告警原因: { "zh-CN": "告警原因", en: "Alarm Reason" },
7443
- 处理方案: { "zh-CN": "处理方案", en: "Handling Plan" },
7444
- 备注: { "zh-CN": "备注", en: "Remarks" },
7445
- 报事位置: { "zh-CN": "报事位置", en: "Incident Location" },
7446
- 选填: { "zh-CN": "选填", en: "Optional" },
7447
- 告警对象位置: { "zh-CN": "告警对象位置", en: "Alarm Object Location" },
7448
- 报事主题: { "zh-CN": "报事主题", en: "Incident Subject" },
7449
- 工单规则: { "zh-CN": "工单规则", en: "Work Order Rules" },
7450
- 事件类型: { "zh-CN": "事件类型", en: "Event Type" },
7451
- 事件等级: { "zh-CN": "事件等级", en: "Event Level" },
7452
- 处置时限: { "zh-CN": "处置时限", en: "Handling Deadline" },
7453
- 请选择: { "zh-CN": "请选择", en: "Please Select" },
7454
- 取消: { "zh-CN": "取消", en: "Cancel" },
7455
- 结束处理: { "zh-CN": "结束处理", en: "Finish Handling" },
7456
- 继续处理: { "zh-CN": "继续处理", en: "Continue Handling" },
7457
- 时: { "zh-CN": "时", en: "Hour" },
7458
- 分: { "zh-CN": "分", en: "Minute" },
7459
- 不限: { "zh-CN": "不限", en: "Unlimited" },
7460
- 请输入: { "zh-CN": "请输入", en: "Please Enter" },
7461
- 一级: { "zh-CN": "一级", en: "Level 1" },
7462
- 二级: { "zh-CN": "二级", en: "Level 2" },
7463
- 三级: { "zh-CN": "三级", en: "Level 3" },
7464
- 四级: { "zh-CN": "四级", en: "Level 4" },
7465
- 必填: { "zh-CN": "必填", en: "Required" },
7466
- 最多: { "zh-CN": "最多", en: "Up to" },
7467
- 个字符: { "zh-CN": "个字符", en: "Characters" },
7468
- 汉字: { "zh-CN": "汉字", en: "Chinese Characters" },
7469
- 个汉字: { "zh-CN": "个汉字", en: "Chinese Characters" },
7470
- 字符: { "zh-CN": "字符", en: "Characters" },
7471
- 必选: { "zh-CN": "必选", en: "Mandatory" },
7472
- 之间的正整数: { "zh-CN": "之间的正整数", en: "An Integer Between" },
7473
- 告警等级: { "zh-CN": "告警等级", en: "Alert Level" },
7474
- 告警对象: { "zh-CN": "告警对象", en: "Alarm Object" },
7475
- 告警内容: { "zh-CN": "告警内容", en: "Alert Content" },
7476
- 设备详情: { "zh-CN": "设备详情", en: "Device Details" },
7477
- 处理: { "zh-CN": "处理", en: "Handle" },
7478
- 系统资源更新: { "zh-CN": "系统资源更新", en: "System resources updated" },
7479
- 请刷新系统: { "zh-CN": "请刷新系统", en: "Please refresh the system" },
7413
+ 正在实时预览: { "zh-CN": "正在实时预览", en: "Real-Time Preview", _appCode: "framework" },
7414
+ 声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
7415
+ 截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
7416
+ 聚焦: { "zh-CN": "聚焦", en: "Focus", _appCode: "framework" },
7417
+ 方向控制: { "zh-CN": "方向控制", en: "Direction Control", _appCode: "framework" },
7418
+ 左上: { "zh-CN": "左上", en: "Top Left", _appCode: "framework" },
7419
+ 上: { "zh-CN": "上", en: "Up", _appCode: "framework" },
7420
+ 右上: { "zh-CN": "右上", en: "Top Right", _appCode: "framework" },
7421
+ 左: { "zh-CN": "左", en: "Left", _appCode: "framework" },
7422
+ 自动: { "zh-CN": "自动", en: "Auto", _appCode: "framework" },
7423
+ 右: { "zh-CN": "右", en: "Right", _appCode: "framework" },
7424
+ 左下: { "zh-CN": "左下", en: "Bottom Left", _appCode: "framework" },
7425
+ 下: { "zh-CN": "下", en: "Down", _appCode: "framework" },
7426
+ 右下: { "zh-CN": "右下", en: "Bottom Right", _appCode: "framework" },
7427
+ 侧边菜单栏: { "zh-CN": "侧边菜单栏", en: "Sidebar Menu", _appCode: "framework" },
7428
+ 弹出式菜单栏: { "zh-CN": "弹出式菜单栏", en: "Popup Menu", _appCode: "framework" },
7429
+ 内嵌式菜单栏: { "zh-CN": "内嵌式菜单栏", en: "Embedded Menu", _appCode: "framework" },
7430
+ 皮肤风格设置: { "zh-CN": "皮肤风格设置", en: "Skin Style Settings", _appCode: "framework" },
7431
+ 默认皮肤: { "zh-CN": "默认皮肤", en: "Default Skin", _appCode: "framework" },
7432
+ 科技蓝: { "zh-CN": "科技蓝", en: "Tech Blue", _appCode: "framework" },
7433
+ 纯净白: { "zh-CN": "纯净白", en: "Pure White", _appCode: "framework" },
7434
+ 深邃蓝: { "zh-CN": "深邃蓝", en: "Deep Blue", _appCode: "framework" },
7435
+ 效果预览: { "zh-CN": "效果预览", en: "Effect Preview", _appCode: "framework" },
7436
+ 确定: { "zh-CN": "确定", en: "Confirm", _appCode: "framework" },
7437
+ 我知道了: { "zh-CN": "我知道了", en: "Got It", _appCode: "framework" },
7438
+ 视频监控: { "zh-CN": "视频监控", en: "Video Surveillance", _appCode: "framework" },
7439
+ 页面全屏: { "zh-CN": "页面全屏", en: "Fullscreen Page", _appCode: "framework" },
7440
+ 告警处理: { "zh-CN": "告警处理", en: "Alarm Processing", _appCode: "framework" },
7441
+ 处理类型: { "zh-CN": "处理类型", en: "Processing Type", _appCode: "framework" },
7442
+ 告警原因: { "zh-CN": "告警原因", en: "Alarm Reason", _appCode: "framework" },
7443
+ 处理方案: { "zh-CN": "处理方案", en: "Processing Plan", _appCode: "framework" },
7444
+ 备注: { "zh-CN": "备注", en: "Remarks", _appCode: "framework" },
7445
+ 报事位置: { "zh-CN": "报事位置", en: "Incident Location", _appCode: "framework" },
7446
+ 选填: { "zh-CN": "选填", en: "Optional", _appCode: "framework" },
7447
+ 告警对象位置: { "zh-CN": "告警对象位置", en: "Alarm Object Location", _appCode: "framework" },
7448
+ 报事主题: { "zh-CN": "报事主题", en: "Incident Subject", _appCode: "framework" },
7449
+ 工单规则: { "zh-CN": "工单规则", en: "Work Order Rules", _appCode: "framework" },
7450
+ 事件类型: { "zh-CN": "事件类型", en: "Event Type", _appCode: "framework" },
7451
+ 事件等级: { "zh-CN": "事件等级", en: "Event Level", _appCode: "framework" },
7452
+ 处置时限: { "zh-CN": "处置时限", en: "Processing Deadline", _appCode: "framework" },
7453
+ 请选择: { "zh-CN": "请选择", en: "Please Select", _appCode: "framework" },
7454
+ 取消: { "zh-CN": "取消", en: "Cancel", _appCode: "framework" },
7455
+ 结束处理: { "zh-CN": "结束处理", en: "Finish Processing", _appCode: "framework" },
7456
+ 继续处理: { "zh-CN": "继续处理", en: "Continue Processing", _appCode: "framework" },
7457
+ 时: { "zh-CN": "时", en: "Hour", _appCode: "framework" },
7458
+ 分: { "zh-CN": "分", en: "Minute", _appCode: "framework" },
7459
+ 不限: { "zh-CN": "不限", en: "Unlimited", _appCode: "framework" },
7460
+ 请输入: { "zh-CN": "请输入", en: "Please Enter", _appCode: "framework" },
7461
+ 一级: { "zh-CN": "一级", en: "Level 1", _appCode: "framework" },
7462
+ 二级: { "zh-CN": "二级", en: "Level 2", _appCode: "framework" },
7463
+ 三级: { "zh-CN": "三级", en: "Level 3", _appCode: "framework" },
7464
+ 四级: { "zh-CN": "四级", en: "Level 4", _appCode: "framework" },
7465
+ 必填: { "zh-CN": "必填", en: "Required", _appCode: "framework" },
7466
+ 最多: { "zh-CN": "最多", en: "Up to", _appCode: "framework" },
7467
+ 个字符: { "zh-CN": "个字符", en: "Characters", _appCode: "framework" },
7468
+ 汉字: { "zh-CN": "汉字", en: "Chinese Characters", _appCode: "framework" },
7469
+ 个汉字: { "zh-CN": "个汉字", en: "Chinese Characters", _appCode: "framework" },
7470
+ 字符: { "zh-CN": "字符", en: "Characters", _appCode: "framework" },
7471
+ 必选: { "zh-CN": "必选", en: "Mandatory", _appCode: "framework" },
7472
+ 之间的正整数: { "zh-CN": "之间的正整数", en: "An Integer Between", _appCode: "framework" },
7473
+ 告警等级: { "zh-CN": "告警等级", en: "Alert Level", _appCode: "framework" },
7474
+ 告警对象: { "zh-CN": "告警对象", en: "Alarm Object", _appCode: "framework" },
7475
+ 告警内容: { "zh-CN": "告警内容", en: "Alert Content", _appCode: "framework" },
7476
+ 设备详情: { "zh-CN": "设备详情", en: "Device Details", _appCode: "framework" },
7477
+ 处理: { "zh-CN": "处理", en: "Process", _appCode: "framework" },
7478
+ 系统资源更新: { "zh-CN": "系统资源更新", en: "System Resources Updated", _appCode: "framework" },
7479
+ 请刷新系统: { "zh-CN": "请刷新系统", en: "Please Refresh the System", _appCode: "framework" },
7480
7480
  切换后已录入的数据将会丢失且不可恢复: {
7481
7481
  "zh-CN": "切换后已录入的数据将会丢失且不可恢复",
7482
- en: "Data entered after switching will be lost and cannot be recovered"
7482
+ en: "Data Entered After Switching Will be Lost and Cannot be Recovered",
7483
+ _appCode: "framework"
7484
+ },
7485
+ 确定切换: { "zh-CN": "确定切换", en: "Confirm Switch", _appCode: "framework" },
7486
+ 确认关闭: { "zh-CN": "确认关闭", en: "Confirm Close", _appCode: "framework" },
7487
+ 取消关闭: { "zh-CN": "取消关闭", en: "Cancel Close", _appCode: "framework" },
7488
+ 实例: { "zh-CN": "实例", en: "Instance", _appCode: "framework" },
7489
+ 取消切换: { "zh-CN": "取消切换", en: "Cancel Switch", _appCode: "framework" },
7490
+ 提示: { "zh-CN": "提示", en: "Tip", _appCode: "framework" },
7491
+ 此应用未配置菜单: {
7492
+ "zh-CN": "此应用未配置菜单",
7493
+ en: "This Application Is Not Configured with a Menu",
7494
+ _appCode: "framework"
7483
7495
  },
7484
- 确定切换: { "zh-CN": "确定切换", en: "Confirm switch" },
7485
- 确认关闭: { "zh-CN": "确认关闭", en: "Confirm close" },
7486
- 取消关闭: { "zh-CN": "取消关闭", en: "Cancel Close" },
7487
- 实例: { "zh-CN": "实例", en: "Instance" },
7488
- 取消切换: { "zh-CN": "取消切换", en: "Cancel Switch" },
7489
- 提示: { "zh-CN": "提示", en: "Tip" },
7490
- 此应用未配置菜单: { "zh-CN": "此应用未配置菜单", en: "This application is not configured with a menu" },
7491
- 无菜单权限: { "zh-CN": "无菜单权限", en: "No menu permissions" },
7492
- 无法使用: { "zh-CN": "无法使用", en: "Unavailable" },
7493
- 此应用菜单已过期: { "zh-CN": "此应用菜单已过期", en: "Menu of this application has expired" },
7494
- 已收回: { "zh-CN": "已收回", en: "Reclaimed" },
7495
- 配置有误: { "zh-CN": "配置有误", en: "Configuration error" },
7496
- 查看详情: { "zh-CN": "查看详情", en: "View Details" },
7497
- 新告警: { "zh-CN": "新告警", en: "New Alarm" },
7498
- 上次登录信息: { "zh-CN": "上次登录信息", en: "Last Login Information" },
7499
- 时间: { "zh-CN": "时间", en: "Time" },
7500
- 地址: { "zh-CN": "地址", en: "Address" },
7501
- 应用: { "zh-CN": "应用", en: "Application" },
7502
- 首页: { "zh-CN": "首页", en: "Home" },
7503
- 主题设置: { "zh-CN": "主题设置", en: "Theme Settings" },
7504
- 个人中心: { "zh-CN": "个人中心", en: "Personal center" },
7505
- 修改密码: { "zh-CN": "修改密码", en: "Change password" },
7506
- 退出登录: { "zh-CN": "退出登录", en: "Logout" },
7507
- "告警等级:": { "zh-CN": "告警等级:", en: "Alarm Level:" },
7508
- "告警对象:": { "zh-CN": "告警对象:", en: "Alarm Object:" },
7509
- "告警内容:": { "zh-CN": "告警内容:", en: "Alarm Content:" },
7496
+ 无菜单权限: { "zh-CN": "无菜单权限", en: "No Menu Permissions", _appCode: "framework" },
7497
+ 无法使用: { "zh-CN": "无法使用", en: "Unavailable", _appCode: "framework" },
7498
+ 此应用菜单已过期: { "zh-CN": "此应用菜单已过期", en: "Menu of This Application Has Expired", _appCode: "framework" },
7499
+ 已收回: { "zh-CN": "已收回", en: "Reclaimed", _appCode: "framework" },
7500
+ 配置有误: { "zh-CN": "配置有误", en: "Configuration Error", _appCode: "framework" },
7501
+ 查看详情: { "zh-CN": "查看详情", en: "View Details", _appCode: "framework" },
7502
+ 新告警: { "zh-CN": "新告警", en: "New Alarm", _appCode: "framework" },
7503
+ 上次登录信息: { "zh-CN": "上次登录信息", en: "Last Login Information", _appCode: "framework" },
7504
+ 时间: { "zh-CN": "时间", en: "Time", _appCode: "framework" },
7505
+ 地址: { "zh-CN": "地址", en: "Address", _appCode: "framework" },
7506
+ 应用: { "zh-CN": "应用", en: "Application", _appCode: "framework" },
7507
+ 首页: { "zh-CN": "首页", en: "Home", _appCode: "framework" },
7508
+ 主题设置: { "zh-CN": "主题设置", en: "Theme Settings", _appCode: "framework" },
7509
+ 个人中心: { "zh-CN": "个人中心", en: "Personal Center", _appCode: "framework" },
7510
+ 修改密码: { "zh-CN": "修改密码", en: "Change Password", _appCode: "framework" },
7511
+ 退出登录: { "zh-CN": "退出登录", en: "Logout", _appCode: "framework" },
7512
+ "告警等级:": { "zh-CN": "告警等级:", en: "Alarm Level:", _appCode: "framework" },
7513
+ "告警对象:": { "zh-CN": "告警对象:", en: "Alarm Object:", _appCode: "framework" },
7514
+ "告警内容:": { "zh-CN": "告警内容:", en: "Alarm Content:", _appCode: "framework" },
7510
7515
  "必填,最多50个字符/汉字": {
7511
7516
  "zh-CN": "必填,最多50个字符/汉字",
7512
- en: "Required, up to 50 characters/Chinese characters"
7517
+ en: "Required, Up to 50 Characters/Chinese Characters",
7518
+ _appCode: "framework"
7513
7519
  },
7514
7520
  "必填,最多20个汉字/字符": {
7515
7521
  "zh-CN": "必填,最多20个汉字/字符",
7516
- en: "Required, up to 20 Chinese characters/characters"
7522
+ en: "Required, Up to 20 Chinese Characters/Characters",
7523
+ _appCode: "framework"
7517
7524
  },
7518
7525
  "必填,请输入1~999之间的正整数": {
7519
7526
  "zh-CN": "必填,请输入1~999之间的正整数",
7520
- en: "Required, please enter a positive integer between 1 and 999"
7527
+ en: "Required, Please Enter a Positive Integer Between 1 and 999",
7528
+ _appCode: "framework"
7521
7529
  },
7522
- "聚焦-": { "zh-CN": "聚焦-", en: "Focus-" },
7523
- "聚焦+": { "zh-CN": "聚焦+", en: "Focus+" },
7530
+ "聚焦-": { "zh-CN": "聚焦-", en: "Focus-", _appCode: "framework" },
7531
+ "聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" },
7524
7532
  "此应用未配置菜单/无菜单权限": {
7525
7533
  "zh-CN": "此应用未配置菜单/无菜单权限",
7526
- en: "This app is not configured with menu/no menu permissions"
7534
+ en: "This App Is Not Configured with Menu/No Menu Permissions",
7535
+ _appCode: "framework"
7527
7536
  },
7528
7537
  "此应用菜单已过期/已收回/配置有误": {
7529
7538
  "zh-CN": "此应用菜单已过期/已收回/配置有误",
7530
- en: "This app menu has expired/been withdrawn/configured incorrectly"
7539
+ en: "This App Menu Has Expired/Been Withdrawn/Configured Incorrectly",
7540
+ _appCode: "framework"
7531
7541
  },
7532
- "时间:": { "zh-CN": "时间:", en: "Time:" },
7542
+ "时间:": { "zh-CN": "时间:", en: "Time:", _appCode: "framework" },
7533
7543
  "切换后已录入的数据将会丢失且不可恢复,确定切换?": {
7534
7544
  "zh-CN": "切换后已录入的数据将会丢失且不可恢复,确定切换?",
7535
- en: "The data entered will be lost and irrecoverable after switching. Confirm switch?"
7545
+ en: "The Data Entered Will be Lost and Irrecoverable After Switching. Confirm Switch?",
7546
+ _appCode: "framework"
7536
7547
  },
7537
- "确认关闭?": { "zh-CN": "确认关闭?", en: "Confirm close?" },
7548
+ "确认关闭?": { "zh-CN": "确认关闭?", en: "Confirm Close?", _appCode: "framework" },
7538
7549
  "系统资源更新,请刷新系统": {
7539
7550
  "zh-CN": "系统资源更新,请刷新系统",
7540
- en: "System resources updated, please refresh the system"
7551
+ en: "System Resources Updated, Please Refresh the System",
7552
+ _appCode: "framework"
7541
7553
  }
7542
7554
  };
7543
7555
  gv(o6);
@@ -7551,11 +7563,11 @@ const N6 = [
7551
7563
  },
7552
7564
  {
7553
7565
  path: NA,
7554
- component: () => import("./index-YvyM8fd6.js")
7566
+ component: () => import("./index-DFEL-Cga.js")
7555
7567
  },
7556
7568
  {
7557
7569
  path: L9,
7558
- component: () => import("./index-CBH-AKKo.js")
7570
+ component: () => import("./index-Dj8wsECZ.js")
7559
7571
  }
7560
7572
  ], g8 = {
7561
7573
  routes: N6,