@das-fed/upf-web 6.4.0-dev.233 → 6.4.0-dev.235

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 (32) hide show
  1. package/es5.js +38 -38
  2. package/{packages/main-app-framework/index-BP8gHC_g.js → index-CX9RvZWP.js} +1 -1
  3. package/index-CX9RvZWP.js.gz +0 -0
  4. package/{index-DeaZJ_4F.js → index-DVHBljsO.js} +36 -36
  5. package/index-DVHBljsO.js.gz +0 -0
  6. package/{index-CNxj49VD.js → index-oetoET_T.js} +1 -1
  7. package/index.js +1 -1
  8. package/package.json +5 -5
  9. package/packages/create-das-web-app/es5.js +22 -22
  10. package/packages/create-das-web-app/index.js +13 -13
  11. package/packages/create-das-web-app/index.js.gz +0 -0
  12. package/packages/layout/es5.js +96 -96
  13. package/packages/layout/index.js +98 -98
  14. package/packages/layout/index.js.gz +0 -0
  15. package/packages/main-app-framework/es5.js +29 -29
  16. package/{index-CUR2UuLR.js → packages/main-app-framework/index-BSIXDWdJ.js} +1 -1
  17. package/packages/main-app-framework/index-BSIXDWdJ.js.gz +0 -0
  18. package/packages/main-app-framework/{index-7BUmPh7i.js → index-C0K5zcvx.js} +1 -1
  19. package/packages/main-app-framework/{index-CUuJCTjN.js → index-y647qjnX.js} +27 -27
  20. package/packages/main-app-framework/index-y647qjnX.js.gz +0 -0
  21. package/packages/main-app-framework/index.js +1 -1
  22. package/packages/main-app-framework/style.css +1 -1
  23. package/packages/main-app-framework/style.css.gz +0 -0
  24. package/packages/micro-frontend/es5.js +156 -156
  25. package/packages/micro-frontend/index.js +127 -127
  26. package/packages/micro-frontend/index.js.gz +0 -0
  27. package/style.css +1 -1
  28. package/style.css.gz +0 -0
  29. package/index-CUR2UuLR.js.gz +0 -0
  30. package/index-DeaZJ_4F.js.gz +0 -0
  31. package/packages/main-app-framework/index-BP8gHC_g.js.gz +0 -0
  32. package/packages/main-app-framework/index-CUuJCTjN.js.gz +0 -0
package/es5.js CHANGED
@@ -202,7 +202,7 @@ var X0 = function X0(t) {
202
202
  w = typeof b == "string" ? [b] : b;
203
203
  s.markLoaded(C, k);
204
204
  _context.p = 5;
205
- B = "/web/".concat(k, "/");
205
+ B = "/web/".concat(k.split("/")[1], "/");
206
206
  _context.n = 6;
207
207
  return registerMicroI18nData(w, C, B);
208
208
  case 6:
@@ -1348,7 +1348,7 @@ var Ho = function Ho(t, e) {
1348
1348
  f.path.toLowerCase() === d.toLowerCase() && (f.meta.isOpen = false);
1349
1349
  });
1350
1350
  }), function (d, f) {
1351
- return openBlock(), createElementBlock(Fragment, null, [d.needTransition ? (openBlock(), createBlock(TransitionGroup, normalizeProps(mergeProps({
1351
+ return openBlock(), createElementBlock(Fragment, null, [t.needTransition ? (openBlock(), createBlock(TransitionGroup, normalizeProps(mergeProps({
1352
1352
  key: 0
1353
1353
  }, n.value)), {
1354
1354
  "default": withCtx(function () {
@@ -1368,7 +1368,7 @@ var Ho = function Ho(t, e) {
1368
1368
  _: 1
1369
1369
  /* STABLE */
1370
1370
  }, 16
1371
- /* FULL_PROPS */)) : createCommentVNode("v-if", true), d.needTransition ? createCommentVNode("v-if", true) : (openBlock(true), createElementBlock(Fragment, {
1371
+ /* FULL_PROPS */)) : createCommentVNode("v-if", true), t.needTransition ? createCommentVNode("v-if", true) : (openBlock(true), createElementBlock(Fragment, {
1372
1372
  key: 1
1373
1373
  }, renderList(i.value, function (_ref20) {
1374
1374
  var p = _ref20.path,
@@ -1600,13 +1600,13 @@ var Ho = function Ho(t, e) {
1600
1600
  /* NEED_PATCH */)), [[vShow, h$1.value]]) : createCommentVNode("v-if", true), createElementVNode("div", yc, [l.value ? withDirectives((openBlock(), createElementBlock("div", bc, [renderSlot(g.$slots, "tab", {}, undefined, true)], 512
1601
1601
  /* NEED_PATCH */)), [[vShow, h$1.value]]) : createCommentVNode("v-if", true), createElementVNode("div", wc, [withDirectives(createElementVNode("div", Ac, [renderSlot(g.$slots, "banner", {}, undefined, true)], 512
1602
1602
  /* NEED_PATCH */), [[vShow, h$1.value]]), createElementVNode("div", Ec, [withDirectives((openBlock(), createElementBlock("div", {
1603
- key: g.pageKey,
1603
+ key: t.pageKey,
1604
1604
  style: {
1605
1605
  width: "100%",
1606
1606
  height: "100%"
1607
1607
  }
1608
1608
  }, [renderSlot(g.$slots, "router-view", {}, function () {
1609
- return [createCommentVNode(" 有动画 "), g.needTransition ? (openBlock(), createBlock(E, {
1609
+ return [createCommentVNode(" 有动画 "), t.needTransition ? (openBlock(), createBlock(E, {
1610
1610
  key: 0
1611
1611
  }, {
1612
1612
  "default": withCtx(function (_ref23) {
@@ -1637,7 +1637,7 @@ var Ho = function Ho(t, e) {
1637
1637
  }),
1638
1638
  _: 1
1639
1639
  /* STABLE */
1640
- })) : createCommentVNode("v-if", true), createCommentVNode(" 无动画 "), g.needTransition ? createCommentVNode("v-if", true) : (openBlock(), createBlock(E, {
1640
+ })) : createCommentVNode("v-if", true), createCommentVNode(" 无动画 "), t.needTransition ? createCommentVNode("v-if", true) : (openBlock(), createBlock(E, {
1641
1641
  key: 1
1642
1642
  }, {
1643
1643
  "default": withCtx(function (_ref24) {
@@ -1656,7 +1656,7 @@ var Ho = function Ho(t, e) {
1656
1656
  })), withDirectives(createElementVNode("div", Dc, [createVNode(vc, {
1657
1657
  exclude: f.value,
1658
1658
  transitionConfig: v.value,
1659
- needTransition: g.needTransition
1659
+ needTransition: t.needTransition
1660
1660
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])], 512
1661
1661
  /* NEED_PATCH */), [[vShow, unref(n).meta.isIframe]])];
1662
1662
  }, true)])), [[vShow, s.value]]), withDirectives(createElementVNode("div", Sc, [renderSlot(g.$slots, "default", {}, undefined, true)], 512
@@ -3058,14 +3058,14 @@ var Zc = ["src", "entry", "name"],
3058
3058
  aside: withCtx(function () {
3059
3059
  return [renderSlot(a.$slots, "aside", {}, function () {
3060
3060
  return [createVNode(unref(DasWebMenu), {
3061
- menuAttr: a.menuAttr
3061
+ menuAttr: t.menuAttr
3062
3062
  }, null, 8, ["menuAttr"])];
3063
3063
  })];
3064
3064
  }),
3065
3065
  tab: withCtx(function () {
3066
3066
  return [renderSlot(a.$slots, "tab", {}, function () {
3067
3067
  return [createVNode(unref(DasWebTabs), {
3068
- tabsAttr: a.tabsAttr
3068
+ tabsAttr: t.tabsAttr
3069
3069
  }, null, 8, ["tabsAttr"])];
3070
3070
  })];
3071
3071
  }),
@@ -3402,7 +3402,7 @@ var Zc = ["src", "entry", "name"],
3402
3402
  });
3403
3403
  return function (o, a) {
3404
3404
  return openBlock(), createBlock(unref(DasWebLayout), mergeProps({
3405
- pageKey: o.pageKey,
3405
+ pageKey: t.pageKey,
3406
3406
  "transition-config": n.value
3407
3407
  }, r.value), {
3408
3408
  header: withCtx(function () {
@@ -3413,14 +3413,14 @@ var Zc = ["src", "entry", "name"],
3413
3413
  aside: withCtx(function () {
3414
3414
  return [renderSlot(o.$slots, "aside", {}, function () {
3415
3415
  return [createVNode(unref(DasWebMenu), {
3416
- menuAttr: o.menuAttr
3416
+ menuAttr: t.menuAttr
3417
3417
  }, null, 8, ["menuAttr"])];
3418
3418
  })];
3419
3419
  }),
3420
3420
  tab: withCtx(function () {
3421
3421
  return [renderSlot(o.$slots, "tab", {}, function () {
3422
3422
  return [createVNode(unref(DasWebTabs), {
3423
- tabsAttr: o.tabsAttr
3423
+ tabsAttr: t.tabsAttr
3424
3424
  }, null, 8, ["tabsAttr"])];
3425
3425
  })];
3426
3426
  }),
@@ -3620,17 +3620,17 @@ var Zc = ["src", "entry", "name"],
3620
3620
  }),
3621
3621
  type: "feedback",
3622
3622
  feedType: "warning",
3623
- width: n.desc && n.desc.length ? 480 : 460,
3624
- height: n.desc && n.desc.length ? 450 : 340,
3625
- title: n.title,
3623
+ width: t.desc && t.desc.length ? 480 : 460,
3624
+ height: t.desc && t.desc.length ? 450 : 340,
3625
+ title: t.title,
3626
3626
  "custom-class": "menu-tip-diaolg",
3627
- onClosed: n.closeCallback
3627
+ onClosed: t.closeCallback
3628
3628
  }, {
3629
3629
  footer: withCtx(function () {
3630
3630
  return [createElementVNode("div", gl, [createVNode(unref(DasButton), {
3631
3631
  btnType: "default",
3632
3632
  size: "small",
3633
- onClick: n.closeCallback
3633
+ onClick: t.closeCallback
3634
3634
  }, {
3635
3635
  "default": withCtx(function () {
3636
3636
  return [createTextVNode(toDisplayString(unref(t$1)("我知道了")), 1
@@ -3643,13 +3643,13 @@ var Zc = ["src", "entry", "name"],
3643
3643
  "default": withCtx(function () {
3644
3644
  return [createElementVNode("div", {
3645
3645
  "class": "content",
3646
- innerHTML: n.content
3647
- }, null, 8, vl), n.desc && n.desc.length ? (openBlock(), createElementBlock(Fragment, {
3646
+ innerHTML: t.content
3647
+ }, null, 8, vl), t.desc && t.desc.length ? (openBlock(), createElementBlock(Fragment, {
3648
3648
  key: 0
3649
3649
  }, [r[1] || (r[1] = createElementVNode("div", {
3650
3650
  "class": "divide"
3651
3651
  }, null, -1
3652
- /* CACHED */)), (openBlock(true), createElementBlock(Fragment, null, renderList(n.desc, function (o, a) {
3652
+ /* CACHED */)), (openBlock(true), createElementBlock(Fragment, null, renderList(t.desc, function (o, a) {
3653
3653
  return withDirectives((openBlock(), createElementBlock("div", {
3654
3654
  key: a,
3655
3655
  "class": "desc-item"
@@ -9492,7 +9492,7 @@ var yh = /*#__PURE__*/function () {
9492
9492
  return onBeforeUnmount(function () {
9493
9493
  r.value = false;
9494
9494
  }), function (i, c) {
9495
- return openBlock(), createElementBlock("div", Eh, [i.src ? (openBlock(), createBlock(unref(DasSpin), {
9495
+ return openBlock(), createElementBlock("div", Eh, [t.src ? (openBlock(), createBlock(unref(DasSpin), {
9496
9496
  key: 0,
9497
9497
  spinning: !r.value
9498
9498
  }, {
@@ -9503,7 +9503,7 @@ var yh = /*#__PURE__*/function () {
9503
9503
  ref: n,
9504
9504
  width: "100%",
9505
9505
  height: "100%",
9506
- src: i.src,
9506
+ src: t.src,
9507
9507
  onLoad: a
9508
9508
  }, null, 40, kh), [[vShow, r.value]])];
9509
9509
  }),
@@ -11418,7 +11418,7 @@ var Jh = Gh.post("data/device-auth"),
11418
11418
  var e = _ref135.emit;
11419
11419
  useCssVars(function (u) {
11420
11420
  return {
11421
- "23bfa220": s.value
11421
+ v23bfa220: s.value
11422
11422
  };
11423
11423
  });
11424
11424
  var n = t,
@@ -11487,7 +11487,7 @@ var Jh = Gh.post("data/device-auth"),
11487
11487
  }
11488
11488
  }, {
11489
11489
  "default": withCtx(function () {
11490
- return [a.showFn(l) ? renderSlot(a.$slots, "default", {
11490
+ return [t.showFn(l) ? renderSlot(a.$slots, "default", {
11491
11491
  key: 0,
11492
11492
  index: l
11493
11493
  }, undefined, true) : createCommentVNode("v-if", true)];
@@ -11788,7 +11788,7 @@ var Jh = Gh.post("data/device-auth"),
11788
11788
  }, {
11789
11789
  "default": withCtx(function () {
11790
11790
  return [createElementVNode("div", ix, [createElementVNode("div", cx, [createElementVNode("div", lx, [createElementVNode("div", ux, toDisplayString(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title), 1
11791
- /* TEXT */)])]), createElementVNode("div", dx, [["live"].includes(g.type) ? (openBlock(), createElementBlock("span", fx, toDisplayString(unref(t$1)("正在实时预览")), 1
11791
+ /* TEXT */)])]), createElementVNode("div", dx, [["live"].includes(t.type) ? (openBlock(), createElementBlock("span", fx, toDisplayString(unref(t$1)("正在实时预览")), 1
11792
11792
  /* TEXT */)) : createCommentVNode("v-if", true), createCommentVNode(' <das-icon class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')])]), n.videoUrl && u.value ? (openBlock(), createBlock(unref(DasLivePlayer), {
11793
11793
  key: 0,
11794
11794
  type: "flv",
@@ -12075,7 +12075,7 @@ var _x = /* @__PURE__ */defineComponent({
12075
12075
  justifyContent: "space-between",
12076
12076
  alignItems: "center"
12077
12077
  },
12078
- onClosed: i.closeCallback
12078
+ onClosed: t.closeCallback
12079
12079
  }, {
12080
12080
  header: withCtx(function () {
12081
12081
  return [createElementVNode("div", null, toDisplayString(unref(t$1)("视频监控")), 1
@@ -12443,7 +12443,7 @@ var un = /*#__PURE__*/function () {
12443
12443
  }]);
12444
12444
  }();
12445
12445
  un.instance = new un();
12446
- var kx = "8.0.7";
12446
+ var kx = "8.0.17";
12447
12447
  var be = /*#__PURE__*/function () {
12448
12448
  function be() {
12449
12449
  _classCallCheck(this, be);
@@ -16760,7 +16760,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
16760
16760
  return function (i, c) {
16761
16761
  return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" <div class=\"alarm-msg\" :style=\"{ 'border-color': msgItem.color }\"> "), createElementVNode("div", $v, [createElementVNode("div", Mv, [createElementVNode("div", {
16762
16762
  style: normalizeStyle({
16763
- "background-color": i.msgItem.color
16763
+ "background-color": t.msgItem.color
16764
16764
  }),
16765
16765
  "class": "title-detail"
16766
16766
  }, [createElementVNode("div", Ov, [createCommentVNode(" <div class=\"icon-box\" :style=\"{ color: msgItem.color }\">\r\n !\r\n </div> "), createElementVNode("div", Nv, toDisplayString(unref(i18n)("新告警").value), 1
@@ -16772,14 +16772,14 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
16772
16772
  /* TEXT */), createElementVNode("div", {
16773
16773
  "class": "alarm-msg-line-right alarm-content-object",
16774
16774
  style: normalizeStyle({
16775
- color: i.msgItem.color
16775
+ color: t.msgItem.color
16776
16776
  })
16777
- }, toDisplayString(i.msgItem.alarmLevelName || ""), 5
16777
+ }, toDisplayString(t.msgItem.alarmLevelName || ""), 5
16778
16778
  /* TEXT, STYLE */)]), createElementVNode("div", Uv, [createElementVNode("div", qv, toDisplayString(unref(i18n)("告警对象:").value), 1
16779
- /* TEXT */), createElementVNode("div", Wv, toDisplayString(i.msgItem.equipmentName || ""), 1
16779
+ /* TEXT */), createElementVNode("div", Wv, toDisplayString(t.msgItem.equipmentName || ""), 1
16780
16780
  /* TEXT */)]), createElementVNode("div", Vv, [createElementVNode("div", Kv, toDisplayString(unref(i18n)("告警内容:").value), 1
16781
- /* TEXT */), createElementVNode("div", Gv, toDisplayString(i.msgItem.alarmContent || ""), 1
16782
- /* TEXT */)]), createElementVNode("div", Xv, [i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (openBlock(), createBlock(unref(DasButton), {
16781
+ /* TEXT */), createElementVNode("div", Gv, toDisplayString(t.msgItem.alarmContent || ""), 1
16782
+ /* TEXT */)]), createElementVNode("div", Xv, [t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (openBlock(), createBlock(unref(DasButton), {
16783
16783
  key: 0,
16784
16784
  block: "",
16785
16785
  onClick: withModifiers(a, ["stop"]),
@@ -16792,7 +16792,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
16792
16792
  }),
16793
16793
  _: 1
16794
16794
  /* STABLE */
16795
- })) : createCommentVNode("v-if", true), i.alarmhandle ? (openBlock(), createBlock(unref(DasButton), {
16795
+ })) : createCommentVNode("v-if", true), t.alarmhandle ? (openBlock(), createBlock(unref(DasButton), {
16796
16796
  key: 1,
16797
16797
  block: "",
16798
16798
  btnType: "primary-text",
@@ -17826,14 +17826,14 @@ var sg = [{
17826
17826
  path: ot,
17827
17827
  component: function component() {
17828
17828
  return Promise.resolve().then(function () {
17829
- return indexCUR2UuLR;
17829
+ return indexCX9RvZWP;
17830
17830
  });
17831
17831
  }
17832
17832
  }, {
17833
17833
  path: Os,
17834
17834
  component: function component() {
17835
17835
  return Promise.resolve().then(function () {
17836
- return indexCNxj49VD;
17836
+ return indexOetoET_T;
17837
17837
  });
17838
17838
  }
17839
17839
  }],
@@ -18016,7 +18016,7 @@ var V = "v1",
18016
18016
  };
18017
18017
  }
18018
18018
  });
18019
- var indexCUR2UuLR = /*#__PURE__*/Object.freeze({
18019
+ var indexCX9RvZWP = /*#__PURE__*/Object.freeze({
18020
18020
  __proto__: null,
18021
18021
  "default": oo
18022
18022
  });
@@ -18025,7 +18025,7 @@ function t(n, _) {
18025
18025
  return openBlock(), createElementBlock("div");
18026
18026
  }
18027
18027
  var a = /* @__PURE__ */Ne(o, [["render", t]]);
18028
- var indexCNxj49VD = /*#__PURE__*/Object.freeze({
18028
+ var indexOetoET_T = /*#__PURE__*/Object.freeze({
18029
18029
  __proto__: null,
18030
18030
  "default": a
18031
18031
  });
@@ -6,7 +6,7 @@ import { DasSpin as E } from "@das-fed/upf-ui/packages/components/spin/index";
6
6
  import { getTabInfo as L } from "@das-fed/upf-utils/common-info";
7
7
  import { setShowLayout as P } from "@das-fed/upf-utils/common-tools";
8
8
  import { createService as b } from "@das-fed/upf-utils/create-api-service";
9
- import { u as q, p as B, c as h, l as K, g as M, a as N } from "./index-CUuJCTjN.js";
9
+ import { u as q, p as B, c as h, l as K, g as M, a as N } from "./index-DVHBljsO.js";
10
10
  const O = d(!1), c = d([]);
11
11
  p(() => {
12
12
  var l;
Binary file
@@ -94,7 +94,7 @@ const X0 = (t) => {
94
94
  const w = typeof b == "string" ? [b] : b;
95
95
  s.markLoaded(C, k);
96
96
  try {
97
- const B = `/web/${k}/`;
97
+ const B = `/web/${k.split("/")[1]}/`;
98
98
  await u0(w, C, B);
99
99
  } catch {
100
100
  s.markUnloaded(C, k);
@@ -619,7 +619,7 @@ const Ho = (t, e) => {
619
619
  Ye,
620
620
  null,
621
621
  [
622
- d.needTransition ? (N(), re(
622
+ t.needTransition ? (N(), re(
623
623
  Ki,
624
624
  Rr(fn({ key: 0 }, n.value)),
625
625
  {
@@ -648,7 +648,7 @@ const Ho = (t, e) => {
648
648
  16
649
649
  /* FULL_PROPS */
650
650
  )) : Q("v-if", !0),
651
- d.needTransition ? Q("v-if", !0) : (N(!0), ce(
651
+ t.needTransition ? Q("v-if", !0) : (N(!0), ce(
652
652
  Ye,
653
653
  { key: 1 },
654
654
  Nt(i.value, ({ path: p, meta: v }) => je((N(), ce("div", {
@@ -807,12 +807,12 @@ const Ho = (t, e) => {
807
807
  ]),
808
808
  q("div", Ec, [
809
809
  je((N(), ce("div", {
810
- key: g.pageKey,
810
+ key: t.pageKey,
811
811
  style: { width: "100%", height: "100%" }
812
812
  }, [
813
813
  Be(g.$slots, "router-view", {}, () => [
814
814
  Q(" 有动画 "),
815
- g.needTransition ? (N(), re(E, { key: 0 }, {
815
+ t.needTransition ? (N(), re(E, { key: 0 }, {
816
816
  default: V(({ Component: k }) => [
817
817
  Y(
818
818
  Po,
@@ -859,7 +859,7 @@ const Ho = (t, e) => {
859
859
  /* STABLE */
860
860
  })) : Q("v-if", !0),
861
861
  Q(" 无动画 "),
862
- g.needTransition ? Q("v-if", !0) : (N(), re(E, { key: 1 }, {
862
+ t.needTransition ? Q("v-if", !0) : (N(), re(E, { key: 1 }, {
863
863
  default: V(({ Component: k }) => [
864
864
  D(n).meta.keepAlive ? (N(), re(Lo, {
865
865
  key: 0,
@@ -885,7 +885,7 @@ const Ho = (t, e) => {
885
885
  Y(vc, {
886
886
  exclude: f.value,
887
887
  transitionConfig: v.value,
888
- needTransition: g.needTransition
888
+ needTransition: t.needTransition
889
889
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])
890
890
  ],
891
891
  512
@@ -1527,12 +1527,12 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1527
1527
  ]),
1528
1528
  aside: V(() => [
1529
1529
  Be(a.$slots, "aside", {}, () => [
1530
- Y(D(vs), { menuAttr: a.menuAttr }, null, 8, ["menuAttr"])
1530
+ Y(D(vs), { menuAttr: t.menuAttr }, null, 8, ["menuAttr"])
1531
1531
  ])
1532
1532
  ]),
1533
1533
  tab: V(() => [
1534
1534
  Be(a.$slots, "tab", {}, () => [
1535
- Y(D(gs), { tabsAttr: a.tabsAttr }, null, 8, ["tabsAttr"])
1535
+ Y(D(gs), { tabsAttr: t.tabsAttr }, null, 8, ["tabsAttr"])
1536
1536
  ])
1537
1537
  ]),
1538
1538
  default: V(() => [
@@ -1719,7 +1719,7 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1719
1719
  routeKeepAliveVisible: e.routeKeepAliveVisible
1720
1720
  }));
1721
1721
  return (o, a) => (N(), re(D(Xr), fn({
1722
- pageKey: o.pageKey,
1722
+ pageKey: t.pageKey,
1723
1723
  "transition-config": n.value
1724
1724
  }, r.value), {
1725
1725
  header: V(() => [
@@ -1729,12 +1729,12 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1729
1729
  ]),
1730
1730
  aside: V(() => [
1731
1731
  Be(o.$slots, "aside", {}, () => [
1732
- Y(D(vs), { menuAttr: o.menuAttr }, null, 8, ["menuAttr"])
1732
+ Y(D(vs), { menuAttr: t.menuAttr }, null, 8, ["menuAttr"])
1733
1733
  ])
1734
1734
  ]),
1735
1735
  tab: V(() => [
1736
1736
  Be(o.$slots, "tab", {}, () => [
1737
- Y(D(gs), { tabsAttr: o.tabsAttr }, null, 8, ["tabsAttr"])
1737
+ Y(D(gs), { tabsAttr: t.tabsAttr }, null, 8, ["tabsAttr"])
1738
1738
  ])
1739
1739
  ]),
1740
1740
  banner: V(() => [
@@ -1846,18 +1846,18 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1846
1846
  "onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o),
1847
1847
  type: "feedback",
1848
1848
  feedType: "warning",
1849
- width: n.desc && n.desc.length ? 480 : 460,
1850
- height: n.desc && n.desc.length ? 450 : 340,
1851
- title: n.title,
1849
+ width: t.desc && t.desc.length ? 480 : 460,
1850
+ height: t.desc && t.desc.length ? 450 : 340,
1851
+ title: t.title,
1852
1852
  "custom-class": "menu-tip-diaolg",
1853
- onClosed: n.closeCallback
1853
+ onClosed: t.closeCallback
1854
1854
  }, {
1855
1855
  footer: V(() => [
1856
1856
  q("div", gl, [
1857
1857
  Y(D(Lt), {
1858
1858
  btnType: "default",
1859
1859
  size: "small",
1860
- onClick: n.closeCallback
1860
+ onClick: t.closeCallback
1861
1861
  }, {
1862
1862
  default: V(() => [
1863
1863
  Xe(
@@ -1874,9 +1874,9 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1874
1874
  default: V(() => [
1875
1875
  q("div", {
1876
1876
  class: "content",
1877
- innerHTML: n.content
1877
+ innerHTML: t.content
1878
1878
  }, null, 8, vl),
1879
- n.desc && n.desc.length ? (N(), ce(
1879
+ t.desc && t.desc.length ? (N(), ce(
1880
1880
  Ye,
1881
1881
  { key: 0 },
1882
1882
  [
@@ -1890,7 +1890,7 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1890
1890
  (N(!0), ce(
1891
1891
  Ye,
1892
1892
  null,
1893
- Nt(n.desc, (o, a) => je((N(), ce("div", {
1893
+ Nt(t.desc, (o, a) => je((N(), ce("div", {
1894
1894
  key: a,
1895
1895
  class: "desc-item"
1896
1896
  }, [
@@ -8126,7 +8126,7 @@ const yh = async () => {
8126
8126
  return pn(() => {
8127
8127
  r.value = !1;
8128
8128
  }), (i, c) => (N(), ce("div", Eh, [
8129
- i.src ? (N(), re(D(Zr), {
8129
+ t.src ? (N(), re(D(Zr), {
8130
8130
  key: 0,
8131
8131
  spinning: !r.value
8132
8132
  }, {
@@ -8137,7 +8137,7 @@ const yh = async () => {
8137
8137
  ref: n,
8138
8138
  width: "100%",
8139
8139
  height: "100%",
8140
- src: i.src,
8140
+ src: t.src,
8141
8141
  onLoad: a
8142
8142
  }, null, 40, kh), [
8143
8143
  [We, r.value]
@@ -8874,7 +8874,7 @@ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
8874
8874
  emits: ["itemClick"],
8875
8875
  setup(t, { emit: e }) {
8876
8876
  e0((u) => ({
8877
- "23bfa220": s.value
8877
+ v23bfa220: s.value
8878
8878
  }));
8879
8879
  const n = t, r = e, o = L(), { toggle: a, isFullscreen: i } = Wt(o), c = () => {
8880
8880
  o.value != document.fullscreenElement && (i.value ? (i.value = !1, rt(() => {
@@ -8922,7 +8922,7 @@ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
8922
8922
  onItemClick: (s) => o(l)
8923
8923
  }, {
8924
8924
  default: V(() => [
8925
- a.showFn(l) ? Be(a.$slots, "default", {
8925
+ t.showFn(l) ? Be(a.$slots, "default", {
8926
8926
  key: 0,
8927
8927
  index: l
8928
8928
  }, void 0, !0) : Q("v-if", !0)
@@ -9175,7 +9175,7 @@ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
9175
9175
  ])
9176
9176
  ]),
9177
9177
  q("div", dx, [
9178
- ["live"].includes(g.type) ? (N(), ce(
9178
+ ["live"].includes(t.type) ? (N(), ce(
9179
9179
  "span",
9180
9180
  fx,
9181
9181
  Ce(D(ie)("正在实时预览")),
@@ -9427,7 +9427,7 @@ const _x = /* @__PURE__ */ xe({
9427
9427
  "close-on-press-escape": !1,
9428
9428
  modal: !1,
9429
9429
  "header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
9430
- onClosed: i.closeCallback
9430
+ onClosed: t.closeCallback
9431
9431
  }, {
9432
9432
  header: V(() => [
9433
9433
  q(
@@ -9652,7 +9652,7 @@ class un {
9652
9652
  }
9653
9653
  }
9654
9654
  un.instance = new un();
9655
- const kx = "8.0.7";
9655
+ const kx = "8.0.17";
9656
9656
  class be {
9657
9657
  static isRequired(e, n) {
9658
9658
  if (e == null)
@@ -12012,7 +12012,7 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12012
12012
  q(
12013
12013
  "div",
12014
12014
  {
12015
- style: Lr({ "background-color": i.msgItem.color }),
12015
+ style: Lr({ "background-color": t.msgItem.color }),
12016
12016
  class: "title-detail"
12017
12017
  },
12018
12018
  [
@@ -12052,9 +12052,9 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12052
12052
  "div",
12053
12053
  {
12054
12054
  class: "alarm-msg-line-right alarm-content-object",
12055
- style: Lr({ color: i.msgItem.color })
12055
+ style: Lr({ color: t.msgItem.color })
12056
12056
  },
12057
- Ce(i.msgItem.alarmLevelName || ""),
12057
+ Ce(t.msgItem.alarmLevelName || ""),
12058
12058
  5
12059
12059
  /* TEXT, STYLE */
12060
12060
  )
@@ -12070,7 +12070,7 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12070
12070
  q(
12071
12071
  "div",
12072
12072
  Wv,
12073
- Ce(i.msgItem.equipmentName || ""),
12073
+ Ce(t.msgItem.equipmentName || ""),
12074
12074
  1
12075
12075
  /* TEXT */
12076
12076
  )
@@ -12086,13 +12086,13 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12086
12086
  q(
12087
12087
  "div",
12088
12088
  Gv,
12089
- Ce(i.msgItem.alarmContent || ""),
12089
+ Ce(t.msgItem.alarmContent || ""),
12090
12090
  1
12091
12091
  /* TEXT */
12092
12092
  )
12093
12093
  ]),
12094
12094
  q("div", Xv, [
12095
- i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
12095
+ t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
12096
12096
  key: 0,
12097
12097
  block: "",
12098
12098
  onClick: Ae(a, ["stop"]),
@@ -12109,7 +12109,7 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12109
12109
  _: 1
12110
12110
  /* STABLE */
12111
12111
  })) : Q("v-if", !0),
12112
- i.alarmhandle ? (N(), re(D(Lt), {
12112
+ t.alarmhandle ? (N(), re(D(Lt), {
12113
12113
  key: 1,
12114
12114
  block: "",
12115
12115
  btnType: "primary-text",
@@ -12527,11 +12527,11 @@ L("@das-fed/upf-web");
12527
12527
  const sg = [
12528
12528
  {
12529
12529
  path: ot,
12530
- component: () => import("./index-CUR2UuLR.js")
12530
+ component: () => import("./index-CX9RvZWP.js")
12531
12531
  },
12532
12532
  {
12533
12533
  path: Os,
12534
- component: () => import("./index-CNxj49VD.js")
12534
+ component: () => import("./index-oetoET_T.js")
12535
12535
  }
12536
12536
  ], ym = {
12537
12537
  routes: sg,
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-DeaZJ_4F.js";
2
+ import { _ as c } from "./index-DVHBljsO.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as s, D as t, F as n, E as r, G as i, b as o, m as u, z as g, o as m, d as l, f as p, k as D, y as c, B as L, C as b, h, i as y, J as A, K as I, w as M, e as T, H as R, I as W, q as F, N as d, L as V, r as f, v as k, s as v, j as w, n as x, x as K, A as N, t as j } from "./index-DeaZJ_4F.js";
1
+ import { M as s, D as t, F as n, E as r, G as i, b as o, m as u, z as g, o as m, d as l, f as p, k as D, y as c, B as L, C as b, h, i as y, J as A, K as I, w as M, e as T, H as R, I as W, q as F, N as d, L as V, r as f, v as k, s as v, j as w, n as x, x as K, A as N, t as j } from "./index-DVHBljsO.js";
2
2
  export {
3
3
  s as DasMainAppLayout,
4
4
  t as DasWebLayout,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@das-fed/upf-web",
3
- "version": "6.4.0-dev.233",
3
+ "version": "6.4.0-dev.235",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
7
  "@das-fed/mframe": "0.0.41",
8
- "@das-fed/upf-ui": "6.4.0-dev.233",
9
- "@das-fed/upf-utils": "6.4.0-dev.233",
10
- "@das-fed/upf-web-components": "6.4.0-dev.233",
8
+ "@das-fed/upf-ui": "6.4.0-dev.235",
9
+ "@das-fed/upf-utils": "6.4.0-dev.235",
10
+ "@das-fed/upf-web-components": "6.4.0-dev.235",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -19,7 +19,7 @@
19
19
  "vue-router": "^4.4.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@das-fed/upf-cli": "6.4.0-dev.233",
22
+ "@das-fed/upf-cli": "6.4.0-dev.235",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",