@das-fed/upf-web 6.4.0-dev.220 → 6.4.0-dev.222

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 (35) hide show
  1. package/es5.js +44 -46
  2. package/front-end/i18n/front-end-page/dasweb_en-US.js +2 -2
  3. package/front-end/i18n/front-end-page/dasweb_zh-CN.js +2 -2
  4. package/front-end/i18n/front-end-page/dasweb_zh-MO.js +2 -2
  5. package/{index-Ce8elCTc.js → index-BY6POt5_.js} +40 -40
  6. package/index-BY6POt5_.js.gz +0 -0
  7. package/{index-CPKfChpe.js → index-CUJfUQFX.js} +1 -1
  8. package/index-CUJfUQFX.js.gz +0 -0
  9. package/{index-DnBWnSE3.js → index-wW15s_in.js} +1 -1
  10. package/index.js +1 -1
  11. package/package.json +5 -6
  12. package/packages/i18n/es5.js +27 -29
  13. package/packages/i18n/index.js +20 -20
  14. package/packages/i18n/index.js.gz +0 -0
  15. package/packages/layout/es5.js +96 -96
  16. package/packages/layout/index.js +98 -98
  17. package/packages/layout/index.js.gz +0 -0
  18. package/packages/main-app-framework/es5.js +29 -29
  19. package/packages/main-app-framework/{index-BP8gHC_g.js → index-BSIXDWdJ.js} +1 -1
  20. package/packages/main-app-framework/index-BSIXDWdJ.js.gz +0 -0
  21. package/packages/main-app-framework/{index-7BUmPh7i.js → index-C0K5zcvx.js} +1 -1
  22. package/packages/main-app-framework/{index-CUuJCTjN.js → index-y647qjnX.js} +27 -27
  23. package/packages/main-app-framework/index-y647qjnX.js.gz +0 -0
  24. package/packages/main-app-framework/index.js +1 -1
  25. package/packages/main-app-framework/style.css +1 -1
  26. package/packages/main-app-framework/style.css.gz +0 -0
  27. package/packages/micro-frontend/es5.js +156 -156
  28. package/packages/micro-frontend/index.js +127 -127
  29. package/packages/micro-frontend/index.js.gz +0 -0
  30. package/style.css +1 -1
  31. package/style.css.gz +0 -0
  32. package/index-CPKfChpe.js.gz +0 -0
  33. package/index-Ce8elCTc.js.gz +0 -0
  34. package/packages/main-app-framework/index-BP8gHC_g.js.gz +0 -0
  35. package/packages/main-app-framework/index-CUuJCTjN.js.gz +0 -0
package/es5.js CHANGED
@@ -52,8 +52,8 @@ import { setThemeRule, initTheme } from '@das-fed/upf-web/packages/theme/index';
52
52
  import { createPinia } from 'pinia';
53
53
  import s0 from 'pinia-plugin-persistedstate';
54
54
  import { createRouter, createWebHistory, useRouter, useRoute } from 'vue-router';
55
+ import { setI18nBridge } from '@das-fed/upf-utils/i18n-bridge';
55
56
  import { getConfig } from '@das-fed/upf-utils/config';
56
- import { setCreateApiServiceI18nAdapter } from '@das-fed/upf-utils/create-api-service/i18n-adapter';
57
57
  import { microFrontend } from '@das-fed/upf-web/packages/micro-frontend/index';
58
58
  import { DasIconWarning } from '@das-fed/upf-ui/packages/icons/warning/index';
59
59
  import { DasIconClose2 } from '@das-fed/upf-ui/packages/icons/close-2/index';
@@ -419,17 +419,15 @@ var X0 = function X0(t) {
419
419
  e[_key2 - 1] = arguments[_key2];
420
420
  }
421
421
  return oc.apply(void 0, [t].concat(e)).value;
422
- },
423
- sc = function sc(t) {
424
- zt.value = t, Ps();
425
422
  };
426
- setCreateApiServiceI18nAdapter({
423
+ setI18nBridge({
427
424
  t: ac,
428
- getLang: function getLang() {
429
- return String(zt.value || "");
430
- }
425
+ currentLang: zt
431
426
  });
432
- var am = function am() {
427
+ var sc = function sc(t) {
428
+ zt.value = t, Ps();
429
+ },
430
+ am = function am() {
433
431
  return zt;
434
432
  },
435
433
  jo = {
@@ -1331,7 +1329,7 @@ var Ho = function Ho(t, e) {
1331
1329
  f.path.toLowerCase() === d.toLowerCase() && (f.meta.isOpen = false);
1332
1330
  });
1333
1331
  }), function (d, f) {
1334
- return openBlock(), createElementBlock(Fragment, null, [d.needTransition ? (openBlock(), createBlock(TransitionGroup, normalizeProps(mergeProps({
1332
+ return openBlock(), createElementBlock(Fragment, null, [t.needTransition ? (openBlock(), createBlock(TransitionGroup, normalizeProps(mergeProps({
1335
1333
  key: 0
1336
1334
  }, n.value)), {
1337
1335
  "default": withCtx(function () {
@@ -1351,7 +1349,7 @@ var Ho = function Ho(t, e) {
1351
1349
  _: 1
1352
1350
  /* STABLE */
1353
1351
  }, 16
1354
- /* FULL_PROPS */)) : createCommentVNode("v-if", true), d.needTransition ? createCommentVNode("v-if", true) : (openBlock(true), createElementBlock(Fragment, {
1352
+ /* FULL_PROPS */)) : createCommentVNode("v-if", true), t.needTransition ? createCommentVNode("v-if", true) : (openBlock(true), createElementBlock(Fragment, {
1355
1353
  key: 1
1356
1354
  }, renderList(i.value, function (_ref20) {
1357
1355
  var p = _ref20.path,
@@ -1583,13 +1581,13 @@ var Ho = function Ho(t, e) {
1583
1581
  /* 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
1584
1582
  /* NEED_PATCH */)), [[vShow, h$1.value]]) : createCommentVNode("v-if", true), createElementVNode("div", wc, [withDirectives(createElementVNode("div", Ac, [renderSlot(g.$slots, "banner", {}, undefined, true)], 512
1585
1583
  /* NEED_PATCH */), [[vShow, h$1.value]]), createElementVNode("div", Ec, [withDirectives((openBlock(), createElementBlock("div", {
1586
- key: g.pageKey,
1584
+ key: t.pageKey,
1587
1585
  style: {
1588
1586
  width: "100%",
1589
1587
  height: "100%"
1590
1588
  }
1591
1589
  }, [renderSlot(g.$slots, "router-view", {}, function () {
1592
- return [createCommentVNode(" 有动画 "), g.needTransition ? (openBlock(), createBlock(E, {
1590
+ return [createCommentVNode(" 有动画 "), t.needTransition ? (openBlock(), createBlock(E, {
1593
1591
  key: 0
1594
1592
  }, {
1595
1593
  "default": withCtx(function (_ref23) {
@@ -1620,7 +1618,7 @@ var Ho = function Ho(t, e) {
1620
1618
  }),
1621
1619
  _: 1
1622
1620
  /* STABLE */
1623
- })) : createCommentVNode("v-if", true), createCommentVNode(" 无动画 "), g.needTransition ? createCommentVNode("v-if", true) : (openBlock(), createBlock(E, {
1621
+ })) : createCommentVNode("v-if", true), createCommentVNode(" 无动画 "), t.needTransition ? createCommentVNode("v-if", true) : (openBlock(), createBlock(E, {
1624
1622
  key: 1
1625
1623
  }, {
1626
1624
  "default": withCtx(function (_ref24) {
@@ -1639,7 +1637,7 @@ var Ho = function Ho(t, e) {
1639
1637
  })), withDirectives(createElementVNode("div", Dc, [createVNode(vc, {
1640
1638
  exclude: f.value,
1641
1639
  transitionConfig: v.value,
1642
- needTransition: g.needTransition
1640
+ needTransition: t.needTransition
1643
1641
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])], 512
1644
1642
  /* NEED_PATCH */), [[vShow, unref(n).meta.isIframe]])];
1645
1643
  }, true)])), [[vShow, s.value]]), withDirectives(createElementVNode("div", Sc, [renderSlot(g.$slots, "default", {}, undefined, true)], 512
@@ -3041,14 +3039,14 @@ var Zc = ["src", "entry", "name"],
3041
3039
  aside: withCtx(function () {
3042
3040
  return [renderSlot(a.$slots, "aside", {}, function () {
3043
3041
  return [createVNode(unref(DasWebMenu), {
3044
- menuAttr: a.menuAttr
3042
+ menuAttr: t.menuAttr
3045
3043
  }, null, 8, ["menuAttr"])];
3046
3044
  })];
3047
3045
  }),
3048
3046
  tab: withCtx(function () {
3049
3047
  return [renderSlot(a.$slots, "tab", {}, function () {
3050
3048
  return [createVNode(unref(DasWebTabs), {
3051
- tabsAttr: a.tabsAttr
3049
+ tabsAttr: t.tabsAttr
3052
3050
  }, null, 8, ["tabsAttr"])];
3053
3051
  })];
3054
3052
  }),
@@ -3385,7 +3383,7 @@ var Zc = ["src", "entry", "name"],
3385
3383
  });
3386
3384
  return function (o, a) {
3387
3385
  return openBlock(), createBlock(unref(DasWebLayout), mergeProps({
3388
- pageKey: o.pageKey,
3386
+ pageKey: t.pageKey,
3389
3387
  "transition-config": n.value
3390
3388
  }, r.value), {
3391
3389
  header: withCtx(function () {
@@ -3396,14 +3394,14 @@ var Zc = ["src", "entry", "name"],
3396
3394
  aside: withCtx(function () {
3397
3395
  return [renderSlot(o.$slots, "aside", {}, function () {
3398
3396
  return [createVNode(unref(DasWebMenu), {
3399
- menuAttr: o.menuAttr
3397
+ menuAttr: t.menuAttr
3400
3398
  }, null, 8, ["menuAttr"])];
3401
3399
  })];
3402
3400
  }),
3403
3401
  tab: withCtx(function () {
3404
3402
  return [renderSlot(o.$slots, "tab", {}, function () {
3405
3403
  return [createVNode(unref(DasWebTabs), {
3406
- tabsAttr: o.tabsAttr
3404
+ tabsAttr: t.tabsAttr
3407
3405
  }, null, 8, ["tabsAttr"])];
3408
3406
  })];
3409
3407
  }),
@@ -3603,17 +3601,17 @@ var Zc = ["src", "entry", "name"],
3603
3601
  }),
3604
3602
  type: "feedback",
3605
3603
  feedType: "warning",
3606
- width: n.desc && n.desc.length ? 480 : 460,
3607
- height: n.desc && n.desc.length ? 450 : 340,
3608
- title: n.title,
3604
+ width: t.desc && t.desc.length ? 480 : 460,
3605
+ height: t.desc && t.desc.length ? 450 : 340,
3606
+ title: t.title,
3609
3607
  "custom-class": "menu-tip-diaolg",
3610
- onClosed: n.closeCallback
3608
+ onClosed: t.closeCallback
3611
3609
  }, {
3612
3610
  footer: withCtx(function () {
3613
3611
  return [createElementVNode("div", gl, [createVNode(unref(DasButton), {
3614
3612
  btnType: "default",
3615
3613
  size: "small",
3616
- onClick: n.closeCallback
3614
+ onClick: t.closeCallback
3617
3615
  }, {
3618
3616
  "default": withCtx(function () {
3619
3617
  return [createTextVNode(toDisplayString(unref(t$1)("我知道了")), 1
@@ -3626,13 +3624,13 @@ var Zc = ["src", "entry", "name"],
3626
3624
  "default": withCtx(function () {
3627
3625
  return [createElementVNode("div", {
3628
3626
  "class": "content",
3629
- innerHTML: n.content
3630
- }, null, 8, vl), n.desc && n.desc.length ? (openBlock(), createElementBlock(Fragment, {
3627
+ innerHTML: t.content
3628
+ }, null, 8, vl), t.desc && t.desc.length ? (openBlock(), createElementBlock(Fragment, {
3631
3629
  key: 0
3632
3630
  }, [r[1] || (r[1] = createElementVNode("div", {
3633
3631
  "class": "divide"
3634
3632
  }, null, -1
3635
- /* CACHED */)), (openBlock(true), createElementBlock(Fragment, null, renderList(n.desc, function (o, a) {
3633
+ /* CACHED */)), (openBlock(true), createElementBlock(Fragment, null, renderList(t.desc, function (o, a) {
3636
3634
  return withDirectives((openBlock(), createElementBlock("div", {
3637
3635
  key: a,
3638
3636
  "class": "desc-item"
@@ -9475,7 +9473,7 @@ var yh = /*#__PURE__*/function () {
9475
9473
  return onBeforeUnmount(function () {
9476
9474
  r.value = false;
9477
9475
  }), function (i, c) {
9478
- return openBlock(), createElementBlock("div", Eh, [i.src ? (openBlock(), createBlock(unref(DasSpin), {
9476
+ return openBlock(), createElementBlock("div", Eh, [t.src ? (openBlock(), createBlock(unref(DasSpin), {
9479
9477
  key: 0,
9480
9478
  spinning: !r.value
9481
9479
  }, {
@@ -9486,7 +9484,7 @@ var yh = /*#__PURE__*/function () {
9486
9484
  ref: n,
9487
9485
  width: "100%",
9488
9486
  height: "100%",
9489
- src: i.src,
9487
+ src: t.src,
9490
9488
  onLoad: a
9491
9489
  }, null, 40, kh), [[vShow, r.value]])];
9492
9490
  }),
@@ -11401,7 +11399,7 @@ var Jh = Gh.post("data/device-auth"),
11401
11399
  var e = _ref135.emit;
11402
11400
  useCssVars(function (u) {
11403
11401
  return {
11404
- "23bfa220": s.value
11402
+ v23bfa220: s.value
11405
11403
  };
11406
11404
  });
11407
11405
  var n = t,
@@ -11470,7 +11468,7 @@ var Jh = Gh.post("data/device-auth"),
11470
11468
  }
11471
11469
  }, {
11472
11470
  "default": withCtx(function () {
11473
- return [a.showFn(l) ? renderSlot(a.$slots, "default", {
11471
+ return [t.showFn(l) ? renderSlot(a.$slots, "default", {
11474
11472
  key: 0,
11475
11473
  index: l
11476
11474
  }, undefined, true) : createCommentVNode("v-if", true)];
@@ -11771,7 +11769,7 @@ var Jh = Gh.post("data/device-auth"),
11771
11769
  }, {
11772
11770
  "default": withCtx(function () {
11773
11771
  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
11774
- /* TEXT */)])]), createElementVNode("div", dx, [["live"].includes(g.type) ? (openBlock(), createElementBlock("span", fx, toDisplayString(unref(t$1)("正在实时预览")), 1
11772
+ /* TEXT */)])]), createElementVNode("div", dx, [["live"].includes(t.type) ? (openBlock(), createElementBlock("span", fx, toDisplayString(unref(t$1)("正在实时预览")), 1
11775
11773
  /* 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), {
11776
11774
  key: 0,
11777
11775
  type: "flv",
@@ -12058,7 +12056,7 @@ var _x = /* @__PURE__ */defineComponent({
12058
12056
  justifyContent: "space-between",
12059
12057
  alignItems: "center"
12060
12058
  },
12061
- onClosed: i.closeCallback
12059
+ onClosed: t.closeCallback
12062
12060
  }, {
12063
12061
  header: withCtx(function () {
12064
12062
  return [createElementVNode("div", null, toDisplayString(unref(t$1)("视频监控")), 1
@@ -12426,7 +12424,7 @@ var un = /*#__PURE__*/function () {
12426
12424
  }]);
12427
12425
  }();
12428
12426
  un.instance = new un();
12429
- var kx = "8.0.7";
12427
+ var kx = "8.0.17";
12430
12428
  var be = /*#__PURE__*/function () {
12431
12429
  function be() {
12432
12430
  _classCallCheck(this, be);
@@ -16743,7 +16741,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
16743
16741
  return function (i, c) {
16744
16742
  return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" <div class=\"alarm-msg\" :style=\"{ 'border-color': msgItem.color }\"> "), createElementVNode("div", $v, [createElementVNode("div", Mv, [createElementVNode("div", {
16745
16743
  style: normalizeStyle({
16746
- "background-color": i.msgItem.color
16744
+ "background-color": t.msgItem.color
16747
16745
  }),
16748
16746
  "class": "title-detail"
16749
16747
  }, [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
@@ -16755,14 +16753,14 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
16755
16753
  /* TEXT */), createElementVNode("div", {
16756
16754
  "class": "alarm-msg-line-right alarm-content-object",
16757
16755
  style: normalizeStyle({
16758
- color: i.msgItem.color
16756
+ color: t.msgItem.color
16759
16757
  })
16760
- }, toDisplayString(i.msgItem.alarmLevelName || ""), 5
16758
+ }, toDisplayString(t.msgItem.alarmLevelName || ""), 5
16761
16759
  /* TEXT, STYLE */)]), createElementVNode("div", Uv, [createElementVNode("div", qv, toDisplayString(unref(i18n)("告警对象:").value), 1
16762
- /* TEXT */), createElementVNode("div", Wv, toDisplayString(i.msgItem.equipmentName || ""), 1
16760
+ /* TEXT */), createElementVNode("div", Wv, toDisplayString(t.msgItem.equipmentName || ""), 1
16763
16761
  /* TEXT */)]), createElementVNode("div", Vv, [createElementVNode("div", Kv, toDisplayString(unref(i18n)("告警内容:").value), 1
16764
- /* TEXT */), createElementVNode("div", Gv, toDisplayString(i.msgItem.alarmContent || ""), 1
16765
- /* TEXT */)]), createElementVNode("div", Xv, [i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (openBlock(), createBlock(unref(DasButton), {
16762
+ /* TEXT */), createElementVNode("div", Gv, toDisplayString(t.msgItem.alarmContent || ""), 1
16763
+ /* TEXT */)]), createElementVNode("div", Xv, [t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (openBlock(), createBlock(unref(DasButton), {
16766
16764
  key: 0,
16767
16765
  block: "",
16768
16766
  onClick: withModifiers(a, ["stop"]),
@@ -16775,7 +16773,7 @@ var uv = createService("/api/tool/event-bus/".concat(Hn, "/")),
16775
16773
  }),
16776
16774
  _: 1
16777
16775
  /* STABLE */
16778
- })) : createCommentVNode("v-if", true), i.alarmhandle ? (openBlock(), createBlock(unref(DasButton), {
16776
+ })) : createCommentVNode("v-if", true), t.alarmhandle ? (openBlock(), createBlock(unref(DasButton), {
16779
16777
  key: 1,
16780
16778
  block: "",
16781
16779
  btnType: "primary-text",
@@ -17809,14 +17807,14 @@ var sg = [{
17809
17807
  path: ot,
17810
17808
  component: function component() {
17811
17809
  return Promise.resolve().then(function () {
17812
- return indexCPKfChpe;
17810
+ return indexCUJfUQFX;
17813
17811
  });
17814
17812
  }
17815
17813
  }, {
17816
17814
  path: Os,
17817
17815
  component: function component() {
17818
17816
  return Promise.resolve().then(function () {
17819
- return indexDnBWnSE3;
17817
+ return indexWW15s_in;
17820
17818
  });
17821
17819
  }
17822
17820
  }],
@@ -17999,7 +17997,7 @@ var V = "v1",
17999
17997
  };
18000
17998
  }
18001
17999
  });
18002
- var indexCPKfChpe = /*#__PURE__*/Object.freeze({
18000
+ var indexCUJfUQFX = /*#__PURE__*/Object.freeze({
18003
18001
  __proto__: null,
18004
18002
  "default": oo
18005
18003
  });
@@ -18008,7 +18006,7 @@ function t(n, _) {
18008
18006
  return openBlock(), createElementBlock("div");
18009
18007
  }
18010
18008
  var a = /* @__PURE__ */Ne(o, [["render", t]]);
18011
- var indexDnBWnSE3 = /*#__PURE__*/Object.freeze({
18009
+ var indexWW15s_in = /*#__PURE__*/Object.freeze({
18012
18010
  __proto__: null,
18013
18011
  "default": a
18014
18012
  });
@@ -229,10 +229,10 @@ export default {
229
229
  "此应用菜单已过期": "",
230
230
  "已收回": "",
231
231
  "配置有误": "",
232
- "切换后已录入的数据将会丢失且不可恢复": "",
233
- "确定切换": "",
234
232
  "系统资源更新": "",
235
233
  "请刷新系统": "",
234
+ "切换后已录入的数据将会丢失且不可恢复": "",
235
+ "确定切换": "",
236
236
  "秘钥为空": "",
237
237
  "非": "",
238
238
  "模式": "",
@@ -224,11 +224,11 @@ export default {
224
224
  "此应用菜单已过期": "此应用菜单已过期",
225
225
  "已收回": "已收回",
226
226
  "配置有误": "配置有误",
227
+ "系统资源更新": "系统资源更新",
228
+ "请刷新系统": "请刷新系统",
227
229
  "切换后已录入的数据将会丢失且不可恢复":
228
230
  "切换后已录入的数据将会丢失且不可恢复",
229
231
  "确定切换": "确定切换",
230
- "系统资源更新": "系统资源更新",
231
- "请刷新系统": "请刷新系统",
232
232
  "秘钥为空": "秘钥为空",
233
233
  "非": "非",
234
234
  "模式": "模式",
@@ -224,10 +224,10 @@ export default {
224
224
  "此应用菜单已过期": "",
225
225
  "已收回": "",
226
226
  "配置有误": "",
227
- "切换后已录入的数据将会丢失且不可恢复": "",
228
- "确定切换": "",
229
227
  "系统资源更新": "",
230
228
  "请刷新系统": "",
229
+ "切换后已录入的数据将会丢失且不可恢复": "",
230
+ "确定切换": "",
231
231
  "秘钥为空": "",
232
232
  "非": "",
233
233
  "模式": "",
@@ -6,8 +6,8 @@ import s0 from "pinia-plugin-persistedstate";
6
6
  import { createRouter as i0, createWebHistory as c0, useRouter as hn, useRoute as xn } from "vue-router";
7
7
  import { languageKey as l0, registerMicroI18nData as u0, microI18nStore as d0, i18n as X, t as ie, currentLang as _s, setI18nRule as f0 } from "@das-fed/upf-web/packages/i18n/index";
8
8
  import { handleI18nData as p0, getUrlParams as Cs, flatTree as Ve, filterTreeArray as h0, setBrowseTitle as x0, updateFavIcon as v0, dateFormat as g0, objEqual as $o, setShowWatermark as $r, setShowLayout as Mr, isEmpty as m0, withToken as _0 } from "@das-fed/upf-utils/common-tools";
9
+ import { setI18nBridge as C0 } from "@das-fed/upf-utils/i18n-bridge";
9
10
  import { getConfig as At } from "@das-fed/upf-utils/config";
10
- import { setCreateApiServiceI18nAdapter as C0 } from "@das-fed/upf-utils/create-api-service/i18n-adapter";
11
11
  import { microFrontend as Fe } from "@das-fed/upf-web/packages/micro-frontend/index";
12
12
  import { DasIconWarning as y0 } from "@das-fed/upf-ui/packages/icons/warning/index";
13
13
  import { DasIconClose2 as b0 } from "@das-fed/upf-ui/packages/icons/close-2/index";
@@ -184,11 +184,11 @@ const X0 = (t) => {
184
184
  return zt.value === "zh-CN" && a["zh-cn"] && !a["zh-CN"] && (i = a["zh-cn"]), e.map((c, l) => {
185
185
  i && (i = i.replace(`$${l}`, c));
186
186
  }), i;
187
- }), oc = rc, ac = (t, ...e) => oc(t, ...e).value, sc = (t) => {
187
+ }), oc = rc, ac = (t, ...e) => oc(t, ...e).value;
188
+ C0({ t: ac, currentLang: zt });
189
+ const sc = (t) => {
188
190
  zt.value = t, Ps();
189
- };
190
- C0({ t: ac, getLang: () => String(zt.value || "") });
191
- const am = () => zt, jo = {
191
+ }, am = () => zt, jo = {
192
192
  "en-US": { ant: () => import("ant-design-vue/es/locale/en_US"), dayjs: () => import("dayjs/locale/en") },
193
193
  "zh-CN": { ant: () => import("ant-design-vue/es/locale/zh_CN"), dayjs: () => import("dayjs/locale/zh-cn") },
194
194
  "zh-MO": { ant: () => import("ant-design-vue/es/locale/zh_TW"), dayjs: () => import("dayjs/locale/zh-tw") },
@@ -618,7 +618,7 @@ const Ho = (t, e) => {
618
618
  Ye,
619
619
  null,
620
620
  [
621
- d.needTransition ? (N(), re(
621
+ t.needTransition ? (N(), re(
622
622
  Ki,
623
623
  Rr(fn({ key: 0 }, n.value)),
624
624
  {
@@ -647,7 +647,7 @@ const Ho = (t, e) => {
647
647
  16
648
648
  /* FULL_PROPS */
649
649
  )) : Q("v-if", !0),
650
- d.needTransition ? Q("v-if", !0) : (N(!0), ce(
650
+ t.needTransition ? Q("v-if", !0) : (N(!0), ce(
651
651
  Ye,
652
652
  { key: 1 },
653
653
  Nt(i.value, ({ path: p, meta: v }) => je((N(), ce("div", {
@@ -806,12 +806,12 @@ const Ho = (t, e) => {
806
806
  ]),
807
807
  q("div", Ec, [
808
808
  je((N(), ce("div", {
809
- key: g.pageKey,
809
+ key: t.pageKey,
810
810
  style: { width: "100%", height: "100%" }
811
811
  }, [
812
812
  Be(g.$slots, "router-view", {}, () => [
813
813
  Q(" 有动画 "),
814
- g.needTransition ? (N(), re(E, { key: 0 }, {
814
+ t.needTransition ? (N(), re(E, { key: 0 }, {
815
815
  default: V(({ Component: k }) => [
816
816
  Y(
817
817
  Po,
@@ -858,7 +858,7 @@ const Ho = (t, e) => {
858
858
  /* STABLE */
859
859
  })) : Q("v-if", !0),
860
860
  Q(" 无动画 "),
861
- g.needTransition ? Q("v-if", !0) : (N(), re(E, { key: 1 }, {
861
+ t.needTransition ? Q("v-if", !0) : (N(), re(E, { key: 1 }, {
862
862
  default: V(({ Component: k }) => [
863
863
  D(n).meta.keepAlive ? (N(), re(Lo, {
864
864
  key: 0,
@@ -884,7 +884,7 @@ const Ho = (t, e) => {
884
884
  Y(vc, {
885
885
  exclude: f.value,
886
886
  transitionConfig: v.value,
887
- needTransition: g.needTransition
887
+ needTransition: t.needTransition
888
888
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])
889
889
  ],
890
890
  512
@@ -1526,12 +1526,12 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1526
1526
  ]),
1527
1527
  aside: V(() => [
1528
1528
  Be(a.$slots, "aside", {}, () => [
1529
- Y(D(vs), { menuAttr: a.menuAttr }, null, 8, ["menuAttr"])
1529
+ Y(D(vs), { menuAttr: t.menuAttr }, null, 8, ["menuAttr"])
1530
1530
  ])
1531
1531
  ]),
1532
1532
  tab: V(() => [
1533
1533
  Be(a.$slots, "tab", {}, () => [
1534
- Y(D(gs), { tabsAttr: a.tabsAttr }, null, 8, ["tabsAttr"])
1534
+ Y(D(gs), { tabsAttr: t.tabsAttr }, null, 8, ["tabsAttr"])
1535
1535
  ])
1536
1536
  ]),
1537
1537
  default: V(() => [
@@ -1718,7 +1718,7 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1718
1718
  routeKeepAliveVisible: e.routeKeepAliveVisible
1719
1719
  }));
1720
1720
  return (o, a) => (N(), re(D(Xr), fn({
1721
- pageKey: o.pageKey,
1721
+ pageKey: t.pageKey,
1722
1722
  "transition-config": n.value
1723
1723
  }, r.value), {
1724
1724
  header: V(() => [
@@ -1728,12 +1728,12 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1728
1728
  ]),
1729
1729
  aside: V(() => [
1730
1730
  Be(o.$slots, "aside", {}, () => [
1731
- Y(D(vs), { menuAttr: o.menuAttr }, null, 8, ["menuAttr"])
1731
+ Y(D(vs), { menuAttr: t.menuAttr }, null, 8, ["menuAttr"])
1732
1732
  ])
1733
1733
  ]),
1734
1734
  tab: V(() => [
1735
1735
  Be(o.$slots, "tab", {}, () => [
1736
- Y(D(gs), { tabsAttr: o.tabsAttr }, null, 8, ["tabsAttr"])
1736
+ Y(D(gs), { tabsAttr: t.tabsAttr }, null, 8, ["tabsAttr"])
1737
1737
  ])
1738
1738
  ]),
1739
1739
  banner: V(() => [
@@ -1845,18 +1845,18 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1845
1845
  "onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o),
1846
1846
  type: "feedback",
1847
1847
  feedType: "warning",
1848
- width: n.desc && n.desc.length ? 480 : 460,
1849
- height: n.desc && n.desc.length ? 450 : 340,
1850
- title: n.title,
1848
+ width: t.desc && t.desc.length ? 480 : 460,
1849
+ height: t.desc && t.desc.length ? 450 : 340,
1850
+ title: t.title,
1851
1851
  "custom-class": "menu-tip-diaolg",
1852
- onClosed: n.closeCallback
1852
+ onClosed: t.closeCallback
1853
1853
  }, {
1854
1854
  footer: V(() => [
1855
1855
  q("div", gl, [
1856
1856
  Y(D(Lt), {
1857
1857
  btnType: "default",
1858
1858
  size: "small",
1859
- onClick: n.closeCallback
1859
+ onClick: t.closeCallback
1860
1860
  }, {
1861
1861
  default: V(() => [
1862
1862
  Xe(
@@ -1873,9 +1873,9 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1873
1873
  default: V(() => [
1874
1874
  q("div", {
1875
1875
  class: "content",
1876
- innerHTML: n.content
1876
+ innerHTML: t.content
1877
1877
  }, null, 8, vl),
1878
- n.desc && n.desc.length ? (N(), ce(
1878
+ t.desc && t.desc.length ? (N(), ce(
1879
1879
  Ye,
1880
1880
  { key: 0 },
1881
1881
  [
@@ -1889,7 +1889,7 @@ const Zc = ["src", "entry", "name"], el = /* @__PURE__ */ xe({
1889
1889
  (N(!0), ce(
1890
1890
  Ye,
1891
1891
  null,
1892
- Nt(n.desc, (o, a) => je((N(), ce("div", {
1892
+ Nt(t.desc, (o, a) => je((N(), ce("div", {
1893
1893
  key: a,
1894
1894
  class: "desc-item"
1895
1895
  }, [
@@ -8125,7 +8125,7 @@ const yh = async () => {
8125
8125
  return pn(() => {
8126
8126
  r.value = !1;
8127
8127
  }), (i, c) => (N(), ce("div", Eh, [
8128
- i.src ? (N(), re(D(Zr), {
8128
+ t.src ? (N(), re(D(Zr), {
8129
8129
  key: 0,
8130
8130
  spinning: !r.value
8131
8131
  }, {
@@ -8136,7 +8136,7 @@ const yh = async () => {
8136
8136
  ref: n,
8137
8137
  width: "100%",
8138
8138
  height: "100%",
8139
- src: i.src,
8139
+ src: t.src,
8140
8140
  onLoad: a
8141
8141
  }, null, 40, kh), [
8142
8142
  [We, r.value]
@@ -8873,7 +8873,7 @@ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
8873
8873
  emits: ["itemClick"],
8874
8874
  setup(t, { emit: e }) {
8875
8875
  e0((u) => ({
8876
- "23bfa220": s.value
8876
+ v23bfa220: s.value
8877
8877
  }));
8878
8878
  const n = t, r = e, o = L(), { toggle: a, isFullscreen: i } = Wt(o), c = () => {
8879
8879
  o.value != document.fullscreenElement && (i.value ? (i.value = !1, rt(() => {
@@ -8921,7 +8921,7 @@ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
8921
8921
  onItemClick: (s) => o(l)
8922
8922
  }, {
8923
8923
  default: V(() => [
8924
- a.showFn(l) ? Be(a.$slots, "default", {
8924
+ t.showFn(l) ? Be(a.$slots, "default", {
8925
8925
  key: 0,
8926
8926
  index: l
8927
8927
  }, void 0, !0) : Q("v-if", !0)
@@ -9174,7 +9174,7 @@ const Jh = Gh.post("data/device-auth"), Zh = /* @__PURE__ */ xe({
9174
9174
  ])
9175
9175
  ]),
9176
9176
  q("div", dx, [
9177
- ["live"].includes(g.type) ? (N(), ce(
9177
+ ["live"].includes(t.type) ? (N(), ce(
9178
9178
  "span",
9179
9179
  fx,
9180
9180
  Ce(D(ie)("正在实时预览")),
@@ -9426,7 +9426,7 @@ const _x = /* @__PURE__ */ xe({
9426
9426
  "close-on-press-escape": !1,
9427
9427
  modal: !1,
9428
9428
  "header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
9429
- onClosed: i.closeCallback
9429
+ onClosed: t.closeCallback
9430
9430
  }, {
9431
9431
  header: V(() => [
9432
9432
  q(
@@ -9651,7 +9651,7 @@ class un {
9651
9651
  }
9652
9652
  }
9653
9653
  un.instance = new un();
9654
- const kx = "8.0.7";
9654
+ const kx = "8.0.17";
9655
9655
  class be {
9656
9656
  static isRequired(e, n) {
9657
9657
  if (e == null)
@@ -12011,7 +12011,7 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12011
12011
  q(
12012
12012
  "div",
12013
12013
  {
12014
- style: Lr({ "background-color": i.msgItem.color }),
12014
+ style: Lr({ "background-color": t.msgItem.color }),
12015
12015
  class: "title-detail"
12016
12016
  },
12017
12017
  [
@@ -12051,9 +12051,9 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12051
12051
  "div",
12052
12052
  {
12053
12053
  class: "alarm-msg-line-right alarm-content-object",
12054
- style: Lr({ color: i.msgItem.color })
12054
+ style: Lr({ color: t.msgItem.color })
12055
12055
  },
12056
- Ce(i.msgItem.alarmLevelName || ""),
12056
+ Ce(t.msgItem.alarmLevelName || ""),
12057
12057
  5
12058
12058
  /* TEXT, STYLE */
12059
12059
  )
@@ -12069,7 +12069,7 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12069
12069
  q(
12070
12070
  "div",
12071
12071
  Wv,
12072
- Ce(i.msgItem.equipmentName || ""),
12072
+ Ce(t.msgItem.equipmentName || ""),
12073
12073
  1
12074
12074
  /* TEXT */
12075
12075
  )
@@ -12085,13 +12085,13 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12085
12085
  q(
12086
12086
  "div",
12087
12087
  Gv,
12088
- Ce(i.msgItem.alarmContent || ""),
12088
+ Ce(t.msgItem.alarmContent || ""),
12089
12089
  1
12090
12090
  /* TEXT */
12091
12091
  )
12092
12092
  ]),
12093
12093
  q("div", Xv, [
12094
- i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
12094
+ t.msgItem.equipmentCode && t.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
12095
12095
  key: 0,
12096
12096
  block: "",
12097
12097
  onClick: Ae(a, ["stop"]),
@@ -12108,7 +12108,7 @@ const uv = pt(`/api/tool/event-bus/${Hn}/`), Pr = uv.post("/publish"), dv = Jr.g
12108
12108
  _: 1
12109
12109
  /* STABLE */
12110
12110
  })) : Q("v-if", !0),
12111
- i.alarmhandle ? (N(), re(D(Lt), {
12111
+ t.alarmhandle ? (N(), re(D(Lt), {
12112
12112
  key: 1,
12113
12113
  block: "",
12114
12114
  btnType: "primary-text",
@@ -12526,11 +12526,11 @@ L("@das-fed/upf-web");
12526
12526
  const sg = [
12527
12527
  {
12528
12528
  path: ot,
12529
- component: () => import("./index-CPKfChpe.js")
12529
+ component: () => import("./index-CUJfUQFX.js")
12530
12530
  },
12531
12531
  {
12532
12532
  path: Os,
12533
- component: () => import("./index-DnBWnSE3.js")
12533
+ component: () => import("./index-wW15s_in.js")
12534
12534
  }
12535
12535
  ], ym = {
12536
12536
  routes: sg,
Binary file
@@ -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-Ce8elCTc.js";
9
+ import { u as q, p as B, c as h, l as K, g as M, a as N } from "./index-BY6POt5_.js";
10
10
  const O = d(!1), c = d([]);
11
11
  p(() => {
12
12
  var l;
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-Ce8elCTc.js";
2
+ import { _ as c } from "./index-BY6POt5_.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-Ce8elCTc.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-BY6POt5_.js";
2
2
  export {
3
3
  s as DasMainAppLayout,
4
4
  t as DasWebLayout,