@das-fed/web 6.4.0-dev.13 → 6.4.0-dev.14

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 (38) hide show
  1. package/{packages/main-app-framework/index-BoLhjzZB.js → index-CNuui6rH.js} +1 -1
  2. package/index-CNuui6rH.js.gz +0 -0
  3. package/{index-BXPEkTcx.js → index-D_CiHfGN.js} +1 -1
  4. package/{index-BQz2IjQE.js → index-LTwaM8dS.js} +20 -20
  5. package/index-LTwaM8dS.js.gz +0 -0
  6. package/{index-B_wn2nAJ.js → index-_67_4aoo.js} +14 -14
  7. package/index-_67_4aoo.js.gz +0 -0
  8. package/index.js +1 -1
  9. package/package.json +6 -6
  10. package/packages/create-das-web-app/index.js.gz +0 -0
  11. package/packages/i18n/index.js.gz +0 -0
  12. package/packages/layout/index.js +2 -2
  13. package/packages/layout/index.js.gz +0 -0
  14. package/packages/layout/style.css +2 -2
  15. package/packages/layout/style.css.gz +0 -0
  16. package/packages/main-app-framework/{index-C9QdijG-.js → index-Bnb7HNMb.js} +14 -14
  17. package/packages/main-app-framework/index-Bnb7HNMb.js.gz +0 -0
  18. package/packages/main-app-framework/{index-D8WGTZ14.js → index-CBrBve1k.js} +1 -1
  19. package/packages/main-app-framework/{index-DbCJvZMG.js → index-DF7V-TBl.js} +16 -16
  20. package/packages/main-app-framework/index-DF7V-TBl.js.gz +0 -0
  21. package/{index-BW4jEqQ-.js → packages/main-app-framework/index-DOTMbc-l.js} +1 -1
  22. package/packages/main-app-framework/index-DOTMbc-l.js.gz +0 -0
  23. package/packages/main-app-framework/index.js +1 -1
  24. package/packages/main-app-framework/style.css +1 -1
  25. package/packages/main-app-framework/style.css.gz +0 -0
  26. package/packages/micro-frontend/index.js +2 -2
  27. package/packages/micro-frontend/index.js.gz +0 -0
  28. package/packages/micro-frontend/style.css +1 -1
  29. package/packages/style/style.css.gz +0 -0
  30. package/packages/theme/index.js.gz +0 -0
  31. package/style.css +2 -2
  32. package/style.css.gz +0 -0
  33. package/index-BQz2IjQE.js.gz +0 -0
  34. package/index-BW4jEqQ-.js.gz +0 -0
  35. package/index-B_wn2nAJ.js.gz +0 -0
  36. package/packages/main-app-framework/index-BoLhjzZB.js.gz +0 -0
  37. package/packages/main-app-framework/index-C9QdijG-.js.gz +0 -0
  38. package/packages/main-app-framework/index-DbCJvZMG.js.gz +0 -0
@@ -4,7 +4,7 @@ import { DasSpin as v } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { getTabInfo as I } from "@das-fed/utils/common-info";
5
5
  import { setShowLayout as S } from "@das-fed/utils/common-tools";
6
6
  import { createService as j } from "@das-fed/utils/create-api-service";
7
- import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-DbCJvZMG.js";
7
+ import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-LTwaM8dS.js";
8
8
  const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
9
9
  __name: "index",
10
10
  setup(q) {
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-BQz2IjQE.js";
2
+ import { _ as c } from "./index-LTwaM8dS.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
@@ -546,7 +546,7 @@ const go = (t, e) => {
546
546
  for (const [o, r] of e)
547
547
  n[o] = r;
548
548
  return n;
549
- }, $a = /* @__PURE__ */ Ce(La, [["__scopeId", "data-v-3c2c943c"]]), Da = { class: "das-web-app-container" }, Ma = {
549
+ }, $a = /* @__PURE__ */ Ce(La, [["__scopeId", "data-v-71479406"]]), Da = { class: "das-web-app-container" }, Ma = {
550
550
  key: 0,
551
551
  class: "das-web-app-header"
552
552
  }, Oa = { class: "das-web-app-main" }, Ba = {
@@ -788,7 +788,7 @@ const go = (t, e) => {
788
788
  ]);
789
789
  };
790
790
  }
791
- }), Yg = /* @__PURE__ */ Ce(za, [["__scopeId", "data-v-7a9c12fd"]]), qa = ["modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], em = /* @__PURE__ */ ne({
791
+ }), Yg = /* @__PURE__ */ Ce(za, [["__scopeId", "data-v-47a099d6"]]), qa = ["modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], em = /* @__PURE__ */ ne({
792
792
  __name: "das-web-nav",
793
793
  setup(t) {
794
794
  const { nav: e } = Je, n = H(() => e.logo || ""), o = H(() => e.activeItem || ""), r = H(() => (e.items || []).filter((k) => k.fixed)), s = H(() => (e.items || []).filter((k) => !k.fixed)), a = H(() => {
@@ -1277,7 +1277,7 @@ const fi = ["src", "entry", "name"], hi = /* @__PURE__ */ ne({
1277
1277
  onLoad: r
1278
1278
  }, null, 40, fi));
1279
1279
  }
1280
- }), gi = /* @__PURE__ */ Ce(hi, [["__scopeId", "data-v-8ae871f6"]]), mi = /* @__PURE__ */ ne({
1280
+ }), gi = /* @__PURE__ */ Ce(hi, [["__scopeId", "data-v-2266bab0"]]), mi = /* @__PURE__ */ ne({
1281
1281
  __name: "das-micro-apps",
1282
1282
  setup(t) {
1283
1283
  const e = E(null), n = async (s, a) => {
@@ -1347,7 +1347,7 @@ const fi = ["src", "entry", "name"], hi = /* @__PURE__ */ ne({
1347
1347
  /* NEED_PATCH */
1348
1348
  ));
1349
1349
  }
1350
- }), vi = /* @__PURE__ */ Ce(mi, [["__scopeId", "data-v-3abdb1e9"]]), om = /* @__PURE__ */ ne({
1350
+ }), vi = /* @__PURE__ */ Ce(mi, [["__scopeId", "data-v-2e3798bc"]]), om = /* @__PURE__ */ ne({
1351
1351
  __name: "das-main-app-layout",
1352
1352
  props: {
1353
1353
  transitionConfig: { default: () => {
@@ -1620,11 +1620,11 @@ const fi = ["src", "entry", "name"], hi = /* @__PURE__ */ ne({
1620
1620
  /* FORWARDED */
1621
1621
  }, 8, ["font", "content", "width", "height"]));
1622
1622
  }
1623
- }), Ci = /* @__PURE__ */ Ce(wi, [["__scopeId", "data-v-933399ef"]]), Ii = {
1623
+ }), Ci = /* @__PURE__ */ Ce(wi, [["__scopeId", "data-v-6be90334"]]), Ii = {
1624
1624
  "--menu-tip-diaolg-content": "#212121",
1625
1625
  "--menu-tip-diaolg-divide": "#d9d9d9",
1626
1626
  "--menu-tip-diaolg-info": "#999999"
1627
- }, Ti = (t) => (sr("data-v-72bc9a80"), t = t(), ar(), t), Ei = ["innerHTML"], Si = /* @__PURE__ */ Ti(() => /* @__PURE__ */ O(
1627
+ }, Ti = (t) => (sr("data-v-f9de08eb"), t = t(), ar(), t), Ei = ["innerHTML"], Si = /* @__PURE__ */ Ti(() => /* @__PURE__ */ O(
1628
1628
  "div",
1629
1629
  { class: "divide" },
1630
1630
  null,
@@ -1703,7 +1703,7 @@ const fi = ["src", "entry", "name"], hi = /* @__PURE__ */ ne({
1703
1703
  /* STABLE */
1704
1704
  }, 8, ["modelValue", "width", "height", "title", "onClosed"]));
1705
1705
  }
1706
- }), Li = /* @__PURE__ */ Ce(Pi, [["__scopeId", "data-v-72bc9a80"]]), Et = ({ title: t = "", content: e = "", desc: n = [] }) => new Promise((o) => {
1706
+ }), Li = /* @__PURE__ */ Ce(Pi, [["__scopeId", "data-v-f9de08eb"]]), Et = ({ title: t = "", content: e = "", desc: n = [] }) => new Promise((o) => {
1707
1707
  const r = document.createElement("div");
1708
1708
  r.setAttribute("id", "entry-app-dialog"), document.body.appendChild(r);
1709
1709
  const a = he(Li, { title: t, content: e, desc: n, closeCallback: () => {
@@ -2783,7 +2783,7 @@ const Kt = (t, e = "") => {
2783
2783
  }, 8, ["title", "modelValue"])
2784
2784
  ]));
2785
2785
  }
2786
- }), cp = /* @__PURE__ */ Ce(ip, [["__scopeId", "data-v-760eb710"]]), lp = () => E(null), up = Rn.get("/login/history"), dp = () => {
2786
+ }), cp = /* @__PURE__ */ Ce(ip, [["__scopeId", "data-v-d271fb9a"]]), lp = () => E(null), up = Rn.get("/login/history"), dp = () => {
2787
2787
  const t = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((c) => new RegExp(`^${c}$`, "i").test(location.pathname)), e = (a) => {
2788
2788
  const { browserLogoImgHost: l = "", browserLogoImg: c = "" } = a || {}, i = c ? l + Mn(c) : "";
2789
2789
  Ri(i), Ns(i);
@@ -3616,7 +3616,7 @@ const jp = Bp.post("data/device-auth"), Np = /* @__PURE__ */ ne({
3616
3616
  emits: ["itemClick"],
3617
3617
  setup(t, { emit: e }) {
3618
3618
  Ts((u) => ({
3619
- "23bfa220": i.value
3619
+ "6cb537a6": i.value
3620
3620
  }));
3621
3621
  const n = t, o = e, r = E(), { toggle: s, isFullscreen: a } = ht(r), l = () => {
3622
3622
  r.value != document.fullscreenElement && (a.value ? (a.value = !1, Qe(() => {
@@ -3641,7 +3641,7 @@ const jp = Bp.post("data/device-auth"), Np = /* @__PURE__ */ ne({
3641
3641
  /* CLASS, NEED_HYDRATION */
3642
3642
  ));
3643
3643
  }
3644
- }), Hp = /* @__PURE__ */ Ce(Np, [["__scopeId", "data-v-68946aef"]]), Up = { class: "layout-wrapper" }, Fp = /* @__PURE__ */ ne({
3644
+ }), Hp = /* @__PURE__ */ Ce(Np, [["__scopeId", "data-v-2e9b0fda"]]), Up = { class: "layout-wrapper" }, Fp = /* @__PURE__ */ ne({
3645
3645
  __name: "GridLayout",
3646
3646
  props: {
3647
3647
  gridNum: {},
@@ -3677,7 +3677,7 @@ const jp = Bp.post("data/device-auth"), Np = /* @__PURE__ */ ne({
3677
3677
  ))
3678
3678
  ]));
3679
3679
  }
3680
- }), Vp = /* @__PURE__ */ Ce(Fp, [["__scopeId", "data-v-22baf4d8"]]), Wp = /* @__PURE__ */ ne({
3680
+ }), Vp = /* @__PURE__ */ Ce(Fp, [["__scopeId", "data-v-d36ddc74"]]), Wp = /* @__PURE__ */ ne({
3681
3681
  __name: "DirectionControl",
3682
3682
  emits: ["change"],
3683
3683
  setup(t, { emit: e }) {
@@ -3786,7 +3786,7 @@ const jp = Bp.post("data/device-auth"), Np = /* @__PURE__ */ ne({
3786
3786
  /* NEED_HYDRATION */
3787
3787
  ));
3788
3788
  }
3789
- }), zp = /* @__PURE__ */ Ce(Wp, [["__scopeId", "data-v-69100474"]]), qp = (t) => (sr("data-v-6c626546"), t = t(), ar(), t), Jp = { class: "video-wrapper" }, Kp = { class: "video-top" }, Gp = { class: "video-top_l" }, Xp = { class: "video-title-wrapper" }, Zp = { class: "video-title" }, Yp = { class: "video-top_r" }, ef = {
3789
+ }), zp = /* @__PURE__ */ Ce(Wp, [["__scopeId", "data-v-6d1b5d7b"]]), qp = (t) => (sr("data-v-866a3799"), t = t(), ar(), t), Jp = { class: "video-wrapper" }, Kp = { class: "video-top" }, Gp = { class: "video-top_l" }, Xp = { class: "video-title-wrapper" }, Zp = { class: "video-title" }, Yp = { class: "video-top_r" }, ef = {
3790
3790
  key: 0,
3791
3791
  class: "play-status"
3792
3792
  }, tf = { class: "video-bottom" }, nf = /* @__PURE__ */ qp(() => /* @__PURE__ */ O(
@@ -4011,7 +4011,7 @@ const jp = Bp.post("data/device-auth"), Np = /* @__PURE__ */ ne({
4011
4011
  }, 8, ["spinning"])
4012
4012
  ]));
4013
4013
  }
4014
- }), sf = /* @__PURE__ */ Ce(rf, [["__scopeId", "data-v-6c626546"]]), af = /* @__PURE__ */ ne({
4014
+ }), sf = /* @__PURE__ */ Ce(rf, [["__scopeId", "data-v-866a3799"]]), af = /* @__PURE__ */ ne({
4015
4015
  props: {
4016
4016
  deviceInfo: {
4017
4017
  type: Object,
@@ -6644,7 +6644,7 @@ const th = et(`/api/tool/event-bus/${an}/`), vn = th.post("/publish"), nh = xn.g
6644
6644
  }, 8, ["modelValue"])
6645
6645
  ]));
6646
6646
  }
6647
- }), Ih = /* @__PURE__ */ Ce(Ch, [["__scopeId", "data-v-1ecf3324"]]), Th = (t, e, n) => ({
6647
+ }), Ih = /* @__PURE__ */ Ce(Ch, [["__scopeId", "data-v-a6a58a01"]]), Th = (t, e, n) => ({
6648
6648
  handleAlarmVue: () => he(Ih, {
6649
6649
  handerIds: e.value,
6650
6650
  projectId: Yt().id,
@@ -6688,8 +6688,8 @@ const th = et(`/api/tool/event-bus/${an}/`), vn = th.post("/publish"), nh = xn.g
6688
6688
  },
6689
6689
  [
6690
6690
  O("div", kh, [
6691
- j(` <div class="icon-box" :style="{ color: msgItem.color }">\r
6692
- !\r
6691
+ j(` <div class="icon-box" :style="{ color: msgItem.color }">
6692
+ !
6693
6693
  </div> `),
6694
6694
  O(
6695
6695
  "div",
@@ -7014,20 +7014,20 @@ const Vh = () => {
7014
7014
  R(v(zh))
7015
7015
  ]));
7016
7016
  }
7017
- }), Kh = /* @__PURE__ */ Ce(Jh, [["__scopeId", "data-v-45ef70df"]]);
7017
+ }), Kh = /* @__PURE__ */ Ce(Jh, [["__scopeId", "data-v-6e85c13f"]]);
7018
7018
  E("@das-fed/web");
7019
7019
  const Gh = [
7020
7020
  {
7021
7021
  path: Ue,
7022
- component: () => import("./index-BW4jEqQ-.js")
7022
+ component: () => import("./index-CNuui6rH.js")
7023
7023
  },
7024
7024
  {
7025
7025
  path: ct,
7026
- component: () => import("./index-B_wn2nAJ.js")
7026
+ component: () => import("./index-_67_4aoo.js")
7027
7027
  },
7028
7028
  {
7029
7029
  path: Tr,
7030
- component: () => import("./index-BXPEkTcx.js")
7030
+ component: () => import("./index-D_CiHfGN.js")
7031
7031
  }
7032
7032
  ], im = {
7033
7033
  routes: Gh,
Binary file
@@ -2,26 +2,26 @@ import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as
2
2
  import { useRoute as P } from "vue-router";
3
3
  import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
4
4
  import { layout as C } from "@das-fed/web/packages/layout/index";
5
- import { I as R, e as b, _ as L } from "./index-BQz2IjQE.js";
6
- import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
7
- import { getUrlParams as D } from "@das-fed/utils/common-tools";
8
- const E = {
5
+ import { I as R, e as L, _ as M } from "./index-LTwaM8dS.js";
6
+ import { getToken as j, getPersonalInfo as B, getProjectInfo as D } from "@das-fed/utils/common-info";
7
+ import { getUrlParams as E } from "@das-fed/utils/common-tools";
8
+ const N = {
9
9
  key: 0,
10
10
  class: "iframe-container"
11
- }, N = ["src"], T = /* @__PURE__ */ v({
11
+ }, T = ["src"], U = /* @__PURE__ */ v({
12
12
  __name: "index",
13
- setup(U) {
13
+ setup(V) {
14
14
  const t = r(""), n = r(!0);
15
15
  C.tab.addEventListener("onPageRefresh", async (e) => {
16
- e && e.path === R && (b(e.applicationCode, [e.code]), n.value = !1, await u(), n.value = !0);
16
+ e && e.path === R && (L(e.applicationCode, [e.code]), n.value = !1, await u(), n.value = !0);
17
17
  });
18
18
  const a = r(!1), i = r(null), o = r(!1), f = () => {
19
19
  var e, s;
20
20
  o.value && (e = i.value) != null && e.contentWindow && ((s = i.value.contentWindow) == null || s.postMessage(
21
21
  {
22
- token: M(),
23
- userInfo: j(),
24
- projectInfo: B()
22
+ token: j(),
23
+ userInfo: B(),
24
+ projectInfo: D()
25
25
  },
26
26
  t.value
27
27
  ));
@@ -36,10 +36,10 @@ const E = {
36
36
  o.value = !0, f();
37
37
  };
38
38
  return _(() => {
39
- a.value = !0, t.value = D(location.href, "iframeSrc");
39
+ a.value = !0, t.value = E(location.href, "iframeSrc");
40
40
  }), h(() => {
41
41
  o.value = !1, a.value = !1;
42
- }), (e, s) => a.value && n.value ? (c(), l("div", E, [
42
+ }), (e, s) => a.value && n.value ? (c(), l("div", N, [
43
43
  w(g(S), {
44
44
  spinning: !o.value
45
45
  }, {
@@ -53,7 +53,7 @@ const E = {
53
53
  src: t.value,
54
54
  key: t.value,
55
55
  onLoad: d
56
- }, null, 40, N)), [
56
+ }, null, 40, T)), [
57
57
  [y, o.value]
58
58
  ])
59
59
  ]),
@@ -62,7 +62,7 @@ const E = {
62
62
  }, 8, ["spinning"])
63
63
  ])) : I("v-if", !0);
64
64
  }
65
- }), H = /* @__PURE__ */ L(T, [["__scopeId", "data-v-98dbb97f"]]);
65
+ }), H = /* @__PURE__ */ M(U, [["__scopeId", "data-v-9d185d90"]]);
66
66
  export {
67
67
  H as default
68
68
  };
Binary file
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as s, x as t, z as n, y as i, A as r, f as p, m as u, q as m, g as o, k as g, p as D, v as b, w as h, h as l, i as A, C as T, D as c, n as L, B as W, G as y, E as M, s as R, j as F, o as I, r as V, t as f } from "./index-BQz2IjQE.js";
1
+ import { F as s, x as t, z as n, y as i, A as r, f as p, m as u, q as m, g as o, k as g, p as D, v as b, w as h, h as l, i as A, C as T, D as c, n as L, B as W, G as y, E as M, s as R, j as F, o as I, r as V, t as f } from "./index-LTwaM8dS.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/web",
3
- "version": "6.4.0-dev.13",
3
+ "version": "6.4.0-dev.14",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-dev.13",
8
- "@das-fed/utils": "6.4.0-dev.13",
9
- "@das-fed/web": "6.4.0-dev.13",
10
- "@das-fed/web-components": "6.4.0-dev.13",
7
+ "@das-fed/ui": "6.4.0-dev.14",
8
+ "@das-fed/utils": "6.4.0-dev.14",
9
+ "@das-fed/web": "6.4.0-dev.14",
10
+ "@das-fed/web-components": "6.4.0-dev.14",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -18,7 +18,7 @@
18
18
  "vue-router": "^4.4.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@das-fed/cli": "6.4.0-dev.13",
21
+ "@das-fed/cli": "6.4.0-dev.14",
22
22
  "@types/lodash": "^4.14.194",
23
23
  "@types/lodash-es": "^4.17.12",
24
24
  "@vitejs/plugin-vue": "^5.1.0",
Binary file
@@ -373,7 +373,7 @@ const g = U({
373
373
  for (const [c, i] of t)
374
374
  n[c] = i;
375
375
  return n;
376
- }, De = /* @__PURE__ */ ve(Se, [["__scopeId", "data-v-3c2c943c"]]), xe = { class: "das-web-app-container" }, Me = {
376
+ }, De = /* @__PURE__ */ ve(Se, [["__scopeId", "data-v-71479406"]]), xe = { class: "das-web-app-container" }, Me = {
377
377
  key: 0,
378
378
  class: "das-web-app-header"
379
379
  }, je = { class: "das-web-app-main" }, $e = {
@@ -615,7 +615,7 @@ const g = U({
615
615
  ]);
616
616
  };
617
617
  }
618
- }), at = /* @__PURE__ */ ve(qe, [["__scopeId", "data-v-7a9c12fd"]]), Ge = ["modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], rt = /* @__PURE__ */ z({
618
+ }), at = /* @__PURE__ */ ve(qe, [["__scopeId", "data-v-47a099d6"]]), Ge = ["modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], rt = /* @__PURE__ */ z({
619
619
  __name: "das-web-nav",
620
620
  setup(e) {
621
621
  const { nav: t } = $, n = v(() => t.logo || ""), c = v(() => t.activeItem || ""), i = v(() => (t.items || []).filter((d) => d.fixed)), u = v(() => (t.items || []).filter((d) => !d.fixed)), h = v(() => {
Binary file