@das-fed/web 7.0.5-beta.8 → 7.0.5-beta.8.2

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 (76) hide show
  1. package/index.js +7 -32
  2. package/package.json +9 -7
  3. package/packages/create-das-web-app/index.js +1 -58
  4. package/packages/create-das-web-app/runtime.js +71 -0
  5. package/packages/create-das-web-app/runtime.js.gz +0 -0
  6. package/packages/i18n/index.js +1 -175
  7. package/packages/i18n/runtime.js +175 -0
  8. package/packages/layout/index.js +2 -785
  9. package/packages/layout/runtime.js +784 -0
  10. package/packages/layout/runtime.js.gz +0 -0
  11. package/packages/layout/style.css +1 -1
  12. package/packages/layout/style.css.gz +0 -0
  13. package/packages/main-app-framework/assets/black-logo-B-Qipuvf.png +0 -0
  14. package/packages/main-app-framework/assets/cjb-CTZzysmN.png +0 -0
  15. package/packages/main-app-framework/assets/cjb-preview-Cz6ZEp0h.png +0 -0
  16. package/packages/main-app-framework/assets/cjb-preview-DWYaDhQb.png +0 -0
  17. package/packages/main-app-framework/assets/default-DOjV2jIm.png +0 -0
  18. package/packages/main-app-framework/assets/default-preview-DEfMZxi2.png +0 -0
  19. package/packages/main-app-framework/assets/default-preview-HZjPO_Oz.png +0 -0
  20. package/packages/main-app-framework/assets/dkh-DkyUTuR0.png +0 -0
  21. package/packages/main-app-framework/assets/dkh-preview-DQZDuJfb.png +0 -0
  22. package/packages/main-app-framework/assets/dkh-preview-SJ0YoU2z.png +0 -0
  23. package/packages/main-app-framework/assets/feedback-QNGIKgWm.png +0 -0
  24. package/packages/main-app-framework/assets/hengxian-CyCsW-Hu.png +0 -0
  25. package/packages/main-app-framework/assets/kjl-DozNzlyC.png +0 -0
  26. package/packages/main-app-framework/assets/kjl-preview-CCoSuYDK.png +0 -0
  27. package/packages/main-app-framework/assets/kjl-preview-xHIEscys.png +0 -0
  28. package/packages/main-app-framework/assets/noIconurl-7L4lHbul.png +0 -0
  29. package/packages/main-app-framework/assets/qianru-Bsf1Lhh2.png +0 -0
  30. package/packages/main-app-framework/assets/setected-tvECHVG9.svg +31 -0
  31. package/packages/main-app-framework/assets/ssl-XnQ4A9bQ.png +0 -0
  32. package/packages/main-app-framework/assets/ssl-preview-C4BD2d61.png +0 -0
  33. package/packages/main-app-framework/assets/ssl-preview-DI5pA3Df.png +0 -0
  34. package/packages/main-app-framework/assets/unselected-C4QVkFPL.svg +39 -0
  35. package/packages/main-app-framework/assets/white-logo-D7bqAkJL.png +0 -0
  36. package/{index-VFHeVlbQ.js → packages/main-app-framework/index-CbPnzzxg.js} +1 -1
  37. package/packages/main-app-framework/index-DBZ2IMHx.js +16887 -0
  38. package/packages/main-app-framework/index-DBZ2IMHx.js.gz +0 -0
  39. package/packages/main-app-framework/{index-9Btqmzxh.js → index-v2jIZW8u.js} +1 -1
  40. package/packages/main-app-framework/index-v2jIZW8u.js.gz +0 -0
  41. package/packages/main-app-framework/index.js +2 -7
  42. package/packages/main-app-framework/runtime.js +6 -0
  43. package/packages/main-app-framework/style.css +1 -1
  44. package/packages/main-app-framework/style.css.gz +0 -0
  45. package/packages/micro-frontend/index.js +2 -848
  46. package/packages/micro-frontend/runtime.js +847 -0
  47. package/packages/micro-frontend/runtime.js.gz +0 -0
  48. package/packages/style/index.js +3 -5
  49. package/packages/style/runtime.js +4 -0
  50. package/packages/theme/index.js +2 -75
  51. package/packages/theme/runtime.js +75 -0
  52. package/types/create-das-web-app/get-web-config.d.ts +1 -0
  53. package/types/main-app-framework/business/video-link/open.d.ts +1 -0
  54. package/types/main-app-framework/i18n/index.d.ts +10 -0
  55. package/types/main-app-framework/init-platform/api.d.ts +1 -0
  56. package/types/main-app-framework/init-sso/useTokenRefresh.d.ts +9 -0
  57. package/types/main-app-framework/project-custom/jiangling/auth-recovery.d.ts +5 -0
  58. package/types/main-app-framework/project-custom/jiangling/sso-api.d.ts +49 -0
  59. package/types/main-app-framework/project-custom/jiangling/use-sso.d.ts +11 -0
  60. package/types/main-app-framework/project-custom/jiangling/utils.d.ts +3 -0
  61. package/types/main-app-framework/utils/src/set-common-info.d.ts +11 -11
  62. package/index-3qGmnX0K.js +0 -18065
  63. package/index-3qGmnX0K.js.gz +0 -0
  64. package/index-Cg1zDISe.js +0 -88
  65. package/index-Cg1zDISe.js.gz +0 -0
  66. package/packages/create-das-web-app/index.js.gz +0 -0
  67. package/packages/layout/index.js.gz +0 -0
  68. package/packages/main-app-framework/index-9Btqmzxh.js.gz +0 -0
  69. package/packages/main-app-framework/index-BTkL8vcq.js +0 -16573
  70. package/packages/main-app-framework/index-BTkL8vcq.js.gz +0 -0
  71. package/packages/main-app-framework/index-DjY3P4GQ.js +0 -10
  72. package/packages/micro-frontend/index.js.gz +0 -0
  73. package/style.css +0 -7
  74. package/style.css.gz +0 -0
  75. /package/packages/i18n/{index.js.gz → runtime.js.gz} +0 -0
  76. /package/packages/theme/{index.js.gz → runtime.js.gz} +0 -0
Binary file
package/index-Cg1zDISe.js DELETED
@@ -1,88 +0,0 @@
1
- import { defineComponent as v, computed as p, withDirectives as U, createBlock as C, openBlock as A, unref as c, withCtx as S, createVNode as I, vShow as j } from "vue";
2
- import { layoutData as D } from "@das-fed/web/packages/layout/index";
3
- import { t as $ } from "@das-fed/web/packages/i18n/index";
4
- import { DasAppContainer as x } from "@das-fed/ui/packages/business-components/app-container/index";
5
- import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
6
- import { getTabInfo as b } from "@das-fed/utils/common-info";
7
- import { setShowLayout as E } from "@das-fed/utils/common-tools";
8
- import { createService as L } from "@das-fed/utils/create-api-service";
9
- import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-3qGmnX0K.js";
10
- const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
11
- __name: "index",
12
- setup(G) {
13
- const { beforeEntryApp: g, entryApp: m } = P(), h = p(() => q.value.skinStyle), w = p(() => !!D.menu.items.length), y = p(() => {
14
- if (!u.value || !u.value.length) return [];
15
- const t = d(u.value);
16
- return Array.isArray(t) ? t.length ? (t.forEach((r) => {
17
- r.apps = _(
18
- r.apps,
19
- // element.apps.filter((item: any) => item?.code && item.code !== 'dasaiassistant'),
20
- 4
21
- );
22
- }), t) : [] : [];
23
- }), _ = (t, r) => {
24
- const i = [];
25
- for (let e = 0; e < t.length; e += r)
26
- i.push(t.slice(e, e + r));
27
- return i;
28
- }, k = async (t, r = !0) => {
29
- if (!t) return;
30
- if (!sessionStorage.getItem("projectInfo")) {
31
- window.confirm($("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
32
- return;
33
- }
34
- const e = d(t);
35
- if (K.innerSet = r, e.routeUrl) {
36
- if (t.code === "Ioc") {
37
- window.open(e.routeUrl, "_blank");
38
- return;
39
- }
40
- if (t.code === "wojiacloud") {
41
- const o = sessionStorage.getItem("kingdee_token") || "";
42
- if (o) {
43
- const [n, a] = await F().run({ accessToken: o });
44
- if (a) {
45
- const s = (a == null ? void 0 : a.auth_code) ?? "";
46
- e.routeUrl = e.routeUrl.includes("?") ? `${e.routeUrl}&code=${s}` : `${e.routeUrl}?code=${s}`;
47
- }
48
- }
49
- }
50
- }
51
- const l = (t == null ? void 0 : t.openType) ?? 1, f = (t == null ? void 0 : t.type) ?? 1;
52
- if (l === 1) {
53
- if (!await g(t)) return;
54
- const n = b().preTab[t.code], a = (n == null ? void 0 : n.code) ?? "", s = { ...(n == null ? void 0 : n.query) ?? {} };
55
- m({ microApp: e, menuCode: a, route: { query: s } });
56
- }
57
- if (l === 2 && e.routeUrl) {
58
- let o = "";
59
- if (f === 1)
60
- o = e != null && e.applicationPath ? ("/" + e.applicationPath + "/" + e.routeUrl).replace(/\/\//g, "/") : ("/" + e.routeUrl).replace(/\/\//g, "/"), o = E(o);
61
- else if (f === 2) {
62
- const n = await M(e.routeUrl, (e == null ? void 0 : e.param) ?? []);
63
- o = N(n);
64
- }
65
- window.open(o, "_blank");
66
- }
67
- };
68
- return (t, r) => U((A(), C(c(T), {
69
- full: "",
70
- spinning: c(B)
71
- }, {
72
- default: S(() => [
73
- I(c(x), {
74
- theme: h.value,
75
- appCategorys: y.value,
76
- onOpenApp: k
77
- }, null, 8, ["theme", "appCategorys"])
78
- ]),
79
- _: 1
80
- /* STABLE */
81
- }, 8, ["spinning"])), [
82
- [j, !w.value]
83
- ]);
84
- }
85
- });
86
- export {
87
- ee as default
88
- };
Binary file
Binary file