@das-fed/web 6.4.0-test.2.1 → 6.4.0-test.21
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.
- package/esm-map.json +3 -1
- package/{index-DC-9kRIP.js → index-BR2K2L20.js} +1 -1
- package/index-CqHbFeJ4.js +81 -0
- package/index-CqHbFeJ4.js.gz +0 -0
- package/index-pa8JpqiR.js +13340 -0
- package/index-pa8JpqiR.js.gz +0 -0
- package/index.js +22 -20
- package/package.json +8 -6
- package/packages/i18n/index.js +172 -31
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +454 -518
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css +2 -2
- package/packages/layout/style.css.gz +0 -0
- package/packages/main-app-framework/{index-DCVBm-dM.js → index-D-yLFNAt.js} +1 -1
- package/packages/main-app-framework/index-PIgnnyL3.js +11956 -0
- package/packages/main-app-framework/index-PIgnnyL3.js.gz +0 -0
- package/packages/main-app-framework/index-gbopgvrS.js +81 -0
- package/packages/main-app-framework/index-gbopgvrS.js.gz +0 -0
- package/packages/main-app-framework/index.js +3 -2
- package/packages/main-app-framework/style.css +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/index.js +316 -304
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/style/style.css +1 -1
- package/packages/style/style.css.gz +0 -0
- package/style.css +2 -2
- package/style.css.gz +0 -0
- package/types/create-das-web-app/index.d.ts +1 -1
- package/types/i18n/global.d.ts +583 -0
- package/types/i18n/index.d.ts +6 -4
- package/types/layout/store/index.d.ts +7 -2
- package/types/layout/store/menu.d.ts +2 -0
- package/types/layout/store/nav.d.ts +2 -1
- package/types/layout/store/tab.d.ts +1 -0
- package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
- package/types/main-app-framework/business/video-link/index.d.ts +3 -3
- package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
- package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
- package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +2 -0
- package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +2 -0
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +20 -0
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +19 -0
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +22 -0
- package/types/main-app-framework/constant/index.d.ts +1 -1
- package/types/main-app-framework/data-track/api.d.ts +2 -0
- package/types/main-app-framework/data-track/index.d.ts +2 -0
- package/types/main-app-framework/i18n/index.d.ts +518 -0
- package/types/main-app-framework/index.d.ts +2 -1
- package/types/main-app-framework/init-config/get-nav-config/api.d.ts +2 -0
- package/types/main-app-framework/init-config/get-nav-config/index.d.ts +4 -3
- package/types/main-app-framework/init-config/get-project-config/api.d.ts +3 -2
- package/types/main-app-framework/init-config/get-system-config/api.d.ts +2 -0
- package/types/main-app-framework/init-config/get-system-config/index.d.ts +4 -4
- package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +1 -1
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
- package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +5 -4
- package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
- package/types/main-app-framework/init-platform/index.d.ts +1 -1
- package/types/main-app-framework/utils/src/get-portal-url/crypto.d.ts +14 -0
- package/types/main-app-framework/utils/src/get-portal-url/encrypt.d.ts +42 -0
- package/types/main-app-framework/utils/src/get-portal-url/generate-url.d.ts +4 -0
- package/types/main-app-framework/utils/src/get-portal-url/handle-portal-params.d.ts +2 -0
- package/types/main-app-framework/utils/src/get-portal-url/index.d.ts +2 -0
- package/types/main-app-framework/utils/src/get-portal-url/type.d.ts +16 -0
- package/types/main-app-framework/utils/src/set-common-info.d.ts +4 -2
- package/types/main-app-framework/utils/src/tools.d.ts +5 -1
- package/types/micro-frontend/store.d.ts +5 -5
- package/types/theme/index.d.ts +1 -1
- package/index-6_iWBDs0.js +0 -7173
- package/index-6_iWBDs0.js.gz +0 -0
- package/index-C9vVY6r3.js +0 -74
- package/index-C9vVY6r3.js.gz +0 -0
- package/packages/main-app-framework/index-DHWdFr1t.js +0 -5859
- package/packages/main-app-framework/index-DHWdFr1t.js.gz +0 -0
- package/packages/main-app-framework/index-DiKwf0Vc.js +0 -74
- package/packages/main-app-framework/index-DiKwf0Vc.js.gz +0 -0
package/index-6_iWBDs0.js.gz
DELETED
|
Binary file
|
package/index-C9vVY6r3.js
DELETED
|
@@ -1,74 +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 { DasAppContainer as I } from "@das-fed/ui/packages/business-components/app-container/index";
|
|
3
|
-
import { DasSpin as j } from "@das-fed/ui/packages/components/spin/index";
|
|
4
|
-
import { layoutData as D } from "@das-fed/web/packages/layout/index";
|
|
5
|
-
import { getTabInfo as $ } from "@das-fed/utils/common-info";
|
|
6
|
-
import { setShowLayout as x } from "@das-fed/utils/common-tools";
|
|
7
|
-
import { createService as T } from "@das-fed/utils/create-api-service";
|
|
8
|
-
import { u as b, a as c, c as f, b as E, l as L, d as q } from "./index-6_iWBDs0.js";
|
|
9
|
-
const B = "v1", P = T(`/api/justauth/client/${B}`), K = P.get("/visitor/kingdee/auth/user/auth_code"), R = /* @__PURE__ */ _({
|
|
10
|
-
__name: "index",
|
|
11
|
-
setup(N) {
|
|
12
|
-
const { beforeEntryApp: d, entryApp: g } = b(), h = l(() => !!D.menu.items.length), m = l(() => {
|
|
13
|
-
if (!c.value || !c.value.length) return [];
|
|
14
|
-
const o = f(c.value);
|
|
15
|
-
return Array.isArray(o) ? o.length ? (o.forEach((n) => n.apps = w(n.apps, 4)), o) : [] : [];
|
|
16
|
-
}), w = (o, n) => {
|
|
17
|
-
const t = [];
|
|
18
|
-
for (let r = 0; r < o.length; r += n)
|
|
19
|
-
t.push(o.slice(r, r + n));
|
|
20
|
-
return t;
|
|
21
|
-
}, y = async (o) => {
|
|
22
|
-
if (!o) return;
|
|
23
|
-
if (!sessionStorage.getItem("projectInfo")) {
|
|
24
|
-
window.confirm("系统资源更新,请刷新系统") && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const t = f(o);
|
|
28
|
-
if (L.innerSet = !0, t.routeUrl) {
|
|
29
|
-
if (o.code === "Ioc") {
|
|
30
|
-
window.open(t.routeUrl, "_blank");
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
if (o.code === "wojiacloud") {
|
|
34
|
-
const e = sessionStorage.getItem("kingdee_token") || "";
|
|
35
|
-
if (e) {
|
|
36
|
-
const [i, a] = await K().run({ accessToken: e });
|
|
37
|
-
if (a) {
|
|
38
|
-
const s = (a == null ? void 0 : a.auth_code) ?? "";
|
|
39
|
-
t.routeUrl = t.routeUrl.includes("?") ? `${t.routeUrl}&code=${s}` : `${t.routeUrl}?code=${s}`;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
const r = (o == null ? void 0 : o.openType) ?? 1, u = (o == null ? void 0 : o.type) ?? 1;
|
|
45
|
-
if (r === 1) {
|
|
46
|
-
if (!await d(o)) return;
|
|
47
|
-
const i = $().preTab[o.code], a = (i == null ? void 0 : i.code) ?? "", s = { ...(i == null ? void 0 : i.query) ?? {} };
|
|
48
|
-
g({ microApp: t, menuCode: a, route: { query: s } });
|
|
49
|
-
}
|
|
50
|
-
if (r === 2 && t.routeUrl) {
|
|
51
|
-
let e = "";
|
|
52
|
-
u === 1 ? (e = t != null && t.applicationPath ? location.origin + "/" + t.applicationPath + t.routeUrl : location.origin + t.routeUrl, e = x(e)) : u === 2 && (e = q(t.routeUrl)), window.open(e, "_blank");
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
return (o, n) => k((v(), A(p(j), {
|
|
56
|
-
full: "",
|
|
57
|
-
spinning: p(E)
|
|
58
|
-
}, {
|
|
59
|
-
default: U(() => [
|
|
60
|
-
C(p(I), {
|
|
61
|
-
appCategorys: m.value,
|
|
62
|
-
onOpenApp: y
|
|
63
|
-
}, null, 8, ["appCategorys"])
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
/* STABLE */
|
|
67
|
-
}, 8, ["spinning"])), [
|
|
68
|
-
[S, !h.value]
|
|
69
|
-
]);
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export {
|
|
73
|
-
R as default
|
|
74
|
-
};
|
package/index-C9vVY6r3.js.gz
DELETED
|
Binary file
|