@das-fed/web 6.4.0-dev.8 → 6.4.0-hot.1

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 (37) hide show
  1. package/{index-BvM-HFBI.js → index-B0_oruhN.js} +1 -1
  2. package/index-C2ZSdOo4.js +7079 -0
  3. package/index-C2ZSdOo4.js.gz +0 -0
  4. package/{index-C1fLmvh9.js → index-DCv0mp9Q.js} +1 -1
  5. package/index-DCv0mp9Q.js.gz +0 -0
  6. package/{index-qg9IcruV.js → index-E3_VNsYI.js} +16 -15
  7. package/index-E3_VNsYI.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 +48 -805
  11. package/packages/create-das-web-app/index.js.gz +0 -0
  12. package/packages/layout/index.js +314 -304
  13. package/packages/layout/index.js.gz +0 -0
  14. package/packages/layout/style.css +1 -1
  15. package/packages/layout/style.css.gz +0 -0
  16. package/packages/main-app-framework/index-BKvL69_g.js +5768 -0
  17. package/packages/main-app-framework/index-BKvL69_g.js.gz +0 -0
  18. package/packages/main-app-framework/{index-Dmjld3JV.js → index-BmlzT8Nw.js} +1 -1
  19. package/packages/main-app-framework/{index-BY578Fmy.js → index-DGFe8dVS.js} +16 -15
  20. package/packages/main-app-framework/index-DGFe8dVS.js.gz +0 -0
  21. package/packages/main-app-framework/{index-C0d8UiUo.js → index-csrvxtZY.js} +17 -17
  22. package/packages/main-app-framework/index-csrvxtZY.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 +35 -23
  27. package/packages/micro-frontend/index.js.gz +0 -0
  28. package/style.css +1 -1
  29. package/style.css.gz +0 -0
  30. package/index-C1fLmvh9.js.gz +0 -0
  31. package/index-Zb481T6P.js +0 -7970
  32. package/index-Zb481T6P.js.gz +0 -0
  33. package/index-qg9IcruV.js.gz +0 -0
  34. package/packages/main-app-framework/index-BT66sFav.js +0 -5934
  35. package/packages/main-app-framework/index-BT66sFav.js.gz +0 -0
  36. package/packages/main-app-framework/index-BY578Fmy.js.gz +0 -0
  37. package/packages/main-app-framework/index-C0d8UiUo.js.gz +0 -0
Binary file
@@ -2,7 +2,7 @@ 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 L, _ as M } from "./index-Zb481T6P.js";
5
+ import { I as R, e as L, _ as M } from "./index-C2ZSdOo4.js";
6
6
  import { getToken as j, getPersonalInfo as B, getProjectInfo as D } from "@das-fed/utils/common-info";
7
7
  import { getUrlParams as E } from "@das-fed/utils/common-tools";
8
8
  const N = {
Binary file
@@ -1,13 +1,14 @@
1
- import { defineComponent as w, computed as y, openBlock as _, createBlock as k, unref as p, withCtx as U, createVNode as A } from "vue";
1
+ import { defineComponent as _, computed as w, openBlock as y, createBlock as k, unref as p, withCtx as U, createVNode as A } from "vue";
2
2
  import { DasAppContainer as C } from "@das-fed/ui/packages/business-components/app-container/index";
3
3
  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
+ import { setShowLayout as S } from "@das-fed/utils/common-tools";
5
6
  import { createService as j } from "@das-fed/utils/create-api-service";
6
- import { u as S, a as c, c as l, b as $, l as x, d as L } from "./index-Zb481T6P.js";
7
- const T = "v1", b = j(`/api/justauth/client/${T}`), D = b.get("/visitor/kingdee/auth/user/auth_code"), V = /* @__PURE__ */ w({
7
+ import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-C2ZSdOo4.js";
8
+ const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
8
9
  __name: "index",
9
- setup(E) {
10
- const { beforeEntryApp: f, entryApp: d } = S(), g = y(() => {
10
+ setup(q) {
11
+ const { beforeEntryApp: f, entryApp: d } = $(), g = w(() => {
11
12
  if (!c.value || !c.value.length) return [];
12
13
  const o = l(c.value);
13
14
  return Array.isArray(o) ? o.length ? (o.forEach((n) => n.apps = h(n.apps, 4)), o) : [] : [];
@@ -23,7 +24,7 @@ const T = "v1", b = j(`/api/justauth/client/${T}`), D = b.get("/visitor/kingdee/
23
24
  return;
24
25
  }
25
26
  const e = l(o);
26
- if (x.innerSet = !0, e.routeUrl) {
27
+ if (T.innerSet = !0, e.routeUrl) {
27
28
  if (o.code === "Ioc") {
28
29
  window.open(e.routeUrl, "_blank");
29
30
  return;
@@ -31,9 +32,9 @@ const T = "v1", b = j(`/api/justauth/client/${T}`), D = b.get("/visitor/kingdee/
31
32
  if (o.code === "wojiacloud") {
32
33
  const t = sessionStorage.getItem("kingdee_token") || "";
33
34
  if (t) {
34
- const [a, i] = await D().run({ accessToken: t });
35
- if (i) {
36
- const s = (i == null ? void 0 : i.auth_code) ?? "";
35
+ const [i, a] = await L().run({ accessToken: t });
36
+ if (a) {
37
+ const s = (a == null ? void 0 : a.auth_code) ?? "";
37
38
  e.routeUrl = e.routeUrl.includes("?") ? `${e.routeUrl}&code=${s}` : `${e.routeUrl}?code=${s}`;
38
39
  }
39
40
  }
@@ -42,17 +43,17 @@ const T = "v1", b = j(`/api/justauth/client/${T}`), D = b.get("/visitor/kingdee/
42
43
  const r = (o == null ? void 0 : o.openType) ?? 1, u = (o == null ? void 0 : o.type) ?? 1;
43
44
  if (r === 1) {
44
45
  if (!await f(o)) return;
45
- const a = I().preTab[o.code], i = (a == null ? void 0 : a.code) ?? "", s = { ...(a == null ? void 0 : a.query) ?? {} };
46
- d({ microApp: e, menuCode: i, route: { query: s } });
46
+ const i = I().preTab[o.code], a = (i == null ? void 0 : i.code) ?? "", s = { ...(i == null ? void 0 : i.query) ?? {} };
47
+ d({ microApp: e, menuCode: a, route: { query: s } });
47
48
  }
48
49
  if (r === 2 && e.routeUrl) {
49
50
  let t = "";
50
- u === 1 ? t = e != null && e.applicationPath ? location.origin + "/" + e.applicationPath + e.routeUrl + "?showLayout=false" : location.origin + e.routeUrl + "?showLayout=false" : u === 2 && (t = L(e.routeUrl)), window.open(t, "_blank");
51
+ u === 1 ? (t = e != null && e.applicationPath ? location.origin + "/" + e.applicationPath + e.routeUrl : location.origin + e.routeUrl, t = S(t)) : u === 2 && (t = b(e.routeUrl)), window.open(t, "_blank");
51
52
  }
52
53
  };
53
- return (o, n) => (_(), k(p(v), {
54
+ return (o, n) => (y(), k(p(v), {
54
55
  full: "",
55
- spinning: p($)
56
+ spinning: p(x)
56
57
  }, {
57
58
  default: U(() => [
58
59
  A(p(C), {
@@ -66,5 +67,5 @@ const T = "v1", b = j(`/api/justauth/client/${T}`), D = b.get("/visitor/kingdee/
66
67
  }
67
68
  });
68
69
  export {
69
- V as default
70
+ G as default
70
71
  };
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-Zb481T6P.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-C2ZSdOo4.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.8",
3
+ "version": "6.4.0-hot.1",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-dev.8",
8
- "@das-fed/utils": "6.4.0-dev.8",
9
- "@das-fed/web": "6.4.0-dev.8",
10
- "@das-fed/web-components": "6.4.0-dev.8",
7
+ "@das-fed/ui": "6.4.0-hot.1",
8
+ "@das-fed/utils": "6.4.0-hot.1",
9
+ "@das-fed/web": "6.4.0-hot.1",
10
+ "@das-fed/web-components": "6.4.0-hot.1",
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.8",
21
+ "@das-fed/cli": "6.4.0-hot.1",
22
22
  "@types/lodash": "^4.14.194",
23
23
  "@types/lodash-es": "^4.17.12",
24
24
  "@vitejs/plugin-vue": "^5.1.0",