@das-fed/web 6.4.0-dev.7 → 6.4.0-dev.9

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 (41) hide show
  1. package/{index-KF0qlXuZ.js → index-1rgcqPwr.js} +14 -14
  2. package/index-1rgcqPwr.js.gz +0 -0
  3. package/{index-DjvYNTdd.js → index-Dj08Rzpl.js} +2785 -2643
  4. package/index-Dj08Rzpl.js.gz +0 -0
  5. package/{packages/main-app-framework/index-Cg3QA-m6.js → index-FqrjMxhu.js} +1 -1
  6. package/{index-BVFBG18b.js → index-kp3YC2yr.js} +1 -1
  7. package/index-kp3YC2yr.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 +11 -14
  11. package/packages/create-das-web-app/index.js.gz +0 -0
  12. package/packages/i18n/index.js.gz +0 -0
  13. package/packages/layout/index.js +152 -154
  14. package/packages/layout/index.js.gz +0 -0
  15. package/packages/layout/style.css +2 -2
  16. package/packages/layout/style.css.gz +0 -0
  17. package/packages/main-app-framework/{index-B-mymH8S.js → index-Bb93MzFY.js} +1 -1
  18. package/packages/main-app-framework/index-Bb93MzFY.js.gz +0 -0
  19. package/packages/main-app-framework/index-BgnG17a9.js +6041 -0
  20. package/packages/main-app-framework/index-BgnG17a9.js.gz +0 -0
  21. package/packages/main-app-framework/index-CaRxqPOy.js +68 -0
  22. package/packages/main-app-framework/index-CaRxqPOy.js.gz +0 -0
  23. package/{index-Bxc6TFIP.js → packages/main-app-framework/index-CeWtWuF1.js} +1 -1
  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/index.js +3 -3
  28. package/packages/micro-frontend/index.js.gz +0 -0
  29. package/packages/micro-frontend/style.css +1 -1
  30. package/packages/style/style.css.gz +0 -0
  31. package/packages/theme/index.js.gz +0 -0
  32. package/style.css +2 -2
  33. package/style.css.gz +0 -0
  34. package/index-BVFBG18b.js.gz +0 -0
  35. package/index-DjvYNTdd.js.gz +0 -0
  36. package/index-KF0qlXuZ.js.gz +0 -0
  37. package/packages/main-app-framework/index-B-mymH8S.js.gz +0 -0
  38. package/packages/main-app-framework/index-C0DqSXpB.js +0 -5915
  39. package/packages/main-app-framework/index-C0DqSXpB.js.gz +0 -0
  40. package/packages/main-app-framework/index-C7g0JYXU.js +0 -68
  41. package/packages/main-app-framework/index-C7g0JYXU.js.gz +0 -0
@@ -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-DjvYNTdd.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-Dj08Rzpl.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