@das-fed/web 6.4.0-test.3.2 → 6.4.0-test.30

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 (69) hide show
  1. package/esm-map.json +2 -1
  2. package/index-DeKFYMKY.js +10 -0
  3. package/index-DgV7dEtR.js +82 -0
  4. package/index-DgV7dEtR.js.gz +0 -0
  5. package/index-g3DWTus2.js +13893 -0
  6. package/index-g3DWTus2.js.gz +0 -0
  7. package/index.js +19 -18
  8. package/package.json +8 -6
  9. package/packages/i18n/index.js +172 -37
  10. package/packages/i18n/index.js.gz +0 -0
  11. package/packages/layout/index.js +272 -278
  12. package/packages/layout/index.js.gz +0 -0
  13. package/packages/layout/style.css +2 -2
  14. package/packages/layout/style.css.gz +0 -0
  15. package/packages/main-app-framework/index-CGXiI8Px.js +82 -0
  16. package/packages/main-app-framework/index-CGXiI8Px.js.gz +0 -0
  17. package/packages/main-app-framework/index-CX-Rv9Hu.js +10 -0
  18. package/packages/main-app-framework/index-iFGtZyh-.js +12405 -0
  19. package/packages/main-app-framework/index-iFGtZyh-.js.gz +0 -0
  20. package/packages/main-app-framework/index.js +3 -2
  21. package/packages/main-app-framework/style.css +1 -1
  22. package/packages/main-app-framework/style.css.gz +0 -0
  23. package/packages/micro-frontend/index.js +266 -259
  24. package/packages/micro-frontend/index.js.gz +0 -0
  25. package/packages/style/style.css +1 -1
  26. package/packages/style/style.css.gz +0 -0
  27. package/style.css +2 -2
  28. package/style.css.gz +0 -0
  29. package/types/i18n/global.d.ts +583 -0
  30. package/types/i18n/index.d.ts +4 -3
  31. package/types/layout/store/index.d.ts +1 -1
  32. package/types/layout/store/nav.d.ts +1 -1
  33. package/types/main-app-framework/business/remote-control/apis.d.ts +2 -0
  34. package/types/main-app-framework/business/remote-control/utils.d.ts +7 -0
  35. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +4 -0
  36. package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +3 -0
  37. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +20 -0
  38. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +19 -0
  39. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +22 -0
  40. package/types/main-app-framework/constant/index.d.ts +1 -1
  41. package/types/main-app-framework/data-track/api.d.ts +2 -0
  42. package/types/main-app-framework/data-track/index.d.ts +2 -0
  43. package/types/main-app-framework/i18n/index.d.ts +538 -0
  44. package/types/main-app-framework/index.d.ts +1 -0
  45. package/types/main-app-framework/init-config/get-project-config/api.d.ts +3 -2
  46. package/types/main-app-framework/init-config/get-system-config/api.d.ts +4 -0
  47. package/types/main-app-framework/init-config/get-system-config/index.d.ts +5 -3
  48. package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +1 -1
  49. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +1 -0
  50. package/types/main-app-framework/utils/src/get-portal-url/crypto.d.ts +14 -0
  51. package/types/main-app-framework/utils/src/get-portal-url/encrypt.d.ts +42 -0
  52. package/types/main-app-framework/utils/src/get-portal-url/generate-url.d.ts +4 -0
  53. package/types/main-app-framework/utils/src/get-portal-url/handle-portal-params.d.ts +2 -0
  54. package/types/main-app-framework/utils/src/get-portal-url/index.d.ts +2 -0
  55. package/types/main-app-framework/utils/src/get-portal-url/type.d.ts +16 -0
  56. package/types/main-app-framework/utils/src/set-common-info.d.ts +4 -2
  57. package/types/main-app-framework/utils/src/tools.d.ts +5 -1
  58. package/i18n-collection/en.js +0 -93
  59. package/i18n-collection/zh-CN.js +0 -93
  60. package/index-BSt1lmGg.js +0 -10
  61. package/index-BWjO8i-G.js +0 -75
  62. package/index-BWjO8i-G.js.gz +0 -0
  63. package/index-D-p5feGf.js +0 -7446
  64. package/index-D-p5feGf.js.gz +0 -0
  65. package/packages/main-app-framework/index-C1k_cOnk.js +0 -6099
  66. package/packages/main-app-framework/index-C1k_cOnk.js.gz +0 -0
  67. package/packages/main-app-framework/index-Cd2KFU7P.js +0 -75
  68. package/packages/main-app-framework/index-Cd2KFU7P.js.gz +0 -0
  69. package/packages/main-app-framework/index-D-KaGWK2.js +0 -10
@@ -1,75 +0,0 @@
1
- import { defineComponent as _, computed as l, withDirectives as k, openBlock as v, createBlock as A, unref as p, withCtx as U, createVNode as C, vShow as S } from "vue";
2
- import { layoutData as I } from "@das-fed/web/packages/layout/index";
3
- import { t as j } from "@das-fed/web/packages/i18n/index";
4
- import { DasAppContainer as D } from "@das-fed/ui/packages/business-components/app-container/index";
5
- import { DasSpin as $ } from "@das-fed/ui/packages/components/spin/index";
6
- import { getTabInfo as x } from "@das-fed/utils/common-info";
7
- import { setShowLayout as T } from "@das-fed/utils/common-tools";
8
- import { createService as b } from "@das-fed/utils/create-api-service";
9
- import { u as E, a as c, c as f, b as L, l as q, d as B } from "./index-C1k_cOnk.js";
10
- const P = "v1", K = b(`/api/justauth/client/${P}`), N = K.get("/visitor/kingdee/auth/user/auth_code"), X = /* @__PURE__ */ _({
11
- __name: "index",
12
- setup(O) {
13
- const { beforeEntryApp: d, entryApp: m } = E(), g = l(() => !!I.menu.items.length), h = l(() => {
14
- if (!c.value || !c.value.length) return [];
15
- const o = f(c.value);
16
- return Array.isArray(o) ? o.length ? (o.forEach((n) => n.apps = w(n.apps, 4)), o) : [] : [];
17
- }), w = (o, n) => {
18
- const t = [];
19
- for (let r = 0; r < o.length; r += n)
20
- t.push(o.slice(r, r + n));
21
- return t;
22
- }, y = async (o) => {
23
- if (!o) return;
24
- if (!sessionStorage.getItem("projectInfo")) {
25
- window.confirm(j("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
26
- return;
27
- }
28
- const t = f(o);
29
- if (q.innerSet = !0, t.routeUrl) {
30
- if (o.code === "Ioc") {
31
- window.open(t.routeUrl, "_blank");
32
- return;
33
- }
34
- if (o.code === "wojiacloud") {
35
- const e = sessionStorage.getItem("kingdee_token") || "";
36
- if (e) {
37
- const [i, a] = await N().run({ accessToken: e });
38
- if (a) {
39
- const s = (a == null ? void 0 : a.auth_code) ?? "";
40
- t.routeUrl = t.routeUrl.includes("?") ? `${t.routeUrl}&code=${s}` : `${t.routeUrl}?code=${s}`;
41
- }
42
- }
43
- }
44
- }
45
- const r = (o == null ? void 0 : o.openType) ?? 1, u = (o == null ? void 0 : o.type) ?? 1;
46
- if (r === 1) {
47
- if (!await d(o)) return;
48
- const i = x().preTab[o.code], a = (i == null ? void 0 : i.code) ?? "", s = { ...(i == null ? void 0 : i.query) ?? {} };
49
- m({ microApp: t, menuCode: a, route: { query: s } });
50
- }
51
- if (r === 2 && t.routeUrl) {
52
- let e = "";
53
- u === 1 ? (e = t != null && t.applicationPath ? location.origin + "/" + t.applicationPath + t.routeUrl : location.origin + t.routeUrl, e = T(e)) : u === 2 && (e = B(t.routeUrl)), window.open(e, "_blank");
54
- }
55
- };
56
- return (o, n) => k((v(), A(p($), {
57
- full: "",
58
- spinning: p(L)
59
- }, {
60
- default: U(() => [
61
- C(p(D), {
62
- appCategorys: h.value,
63
- onOpenApp: y
64
- }, null, 8, ["appCategorys"])
65
- ]),
66
- _: 1
67
- /* STABLE */
68
- }, 8, ["spinning"])), [
69
- [S, !g.value]
70
- ]);
71
- }
72
- });
73
- export {
74
- X as default
75
- };
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-C1k_cOnk.js";
3
- const o = {};
4
- function t(n, _) {
5
- return e(), r("div");
6
- }
7
- const a = /* @__PURE__ */ c(o, [["render", t]]);
8
- export {
9
- a as default
10
- };