@das-fed/web 6.4.0-hot.6 → 6.4.0-hot.60
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 +4 -1
- package/index-BMEz2Rwe.js +14011 -0
- package/index-BMEz2Rwe.js.gz +0 -0
- package/index-CfYrl5YO.js +10 -0
- package/index-gUXfXxWy.js +88 -0
- package/index-gUXfXxWy.js.gz +0 -0
- package/index.js +24 -21
- package/package.json +8 -6
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js +172 -31
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +495 -465
- 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-8ZnGin12.js +10 -0
- package/packages/main-app-framework/index-C_SRE5ma.js +12519 -0
- package/packages/main-app-framework/index-C_SRE5ma.js.gz +0 -0
- package/packages/main-app-framework/index-DZIXflPO.js +88 -0
- package/packages/main-app-framework/index-DZIXflPO.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 +289 -275
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/micro-frontend/style.css +1 -1
- package/packages/style/style.css +1 -1
- package/packages/style/style.css.gz +0 -0
- package/packages/theme/index.js.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 +7 -5
- package/types/layout/index.d.ts +1 -1
- 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/message-notify/index.d.ts +1 -0
- package/types/main-app-framework/business/remote-control/apis.d.ts +2 -0
- package/types/main-app-framework/business/remote-control/utils.d.ts +7 -0
- package/types/main-app-framework/business/video-link/api.d.ts +2 -0
- 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/iframe-page/index.d.ts +3 -0
- package/types/main-app-framework/components/index.d.ts +1 -0
- 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 +4 -0
- package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +3 -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 +538 -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 +5 -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 +4 -0
- package/types/main-app-framework/init-config/get-system-config/index.d.ts +6 -4
- package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +3 -1
- package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +2 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/index.d.ts +1 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-ai-helper.d.ts +5 -0
- 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 +6 -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-C-ieIBXO.js +0 -10
- package/index-C8k4wrGJ.js +0 -68
- package/index-C8k4wrGJ.js.gz +0 -0
- package/index-CicbdbyR.js +0 -71
- package/index-CicbdbyR.js.gz +0 -0
- package/index-CwfFnT6z.js +0 -7083
- package/index-CwfFnT6z.js.gz +0 -0
- package/packages/main-app-framework/index-Bcz8SW2I.js +0 -10
- package/packages/main-app-framework/index-CfM1liO6.js +0 -68
- package/packages/main-app-framework/index-CfM1liO6.js.gz +0 -0
- package/packages/main-app-framework/index-DRQHVvCk.js +0 -5774
- package/packages/main-app-framework/index-DRQHVvCk.js.gz +0 -0
- package/packages/main-app-framework/index-E1pACiHI.js +0 -71
- package/packages/main-app-framework/index-E1pACiHI.js.gz +0 -0
|
Binary file
|
|
@@ -1,71 +0,0 @@
|
|
|
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
|
-
import { DasAppContainer as C } from "@das-fed/ui/packages/business-components/app-container/index";
|
|
3
|
-
import { DasSpin as v } from "@das-fed/ui/packages/components/spin/index";
|
|
4
|
-
import { getTabInfo as I } from "@das-fed/utils/common-info";
|
|
5
|
-
import { setShowLayout as S } from "@das-fed/utils/common-tools";
|
|
6
|
-
import { createService as j } from "@das-fed/utils/create-api-service";
|
|
7
|
-
import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-DRQHVvCk.js";
|
|
8
|
-
const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
|
|
9
|
-
__name: "index",
|
|
10
|
-
setup(q) {
|
|
11
|
-
const { beforeEntryApp: f, entryApp: d } = $(), g = w(() => {
|
|
12
|
-
if (!c.value || !c.value.length) return [];
|
|
13
|
-
const o = l(c.value);
|
|
14
|
-
return Array.isArray(o) ? o.length ? (o.forEach((n) => n.apps = h(n.apps, 4)), o) : [] : [];
|
|
15
|
-
}), h = (o, n) => {
|
|
16
|
-
const e = [];
|
|
17
|
-
for (let r = 0; r < o.length; r += n)
|
|
18
|
-
e.push(o.slice(r, r + n));
|
|
19
|
-
return e;
|
|
20
|
-
}, m = async (o) => {
|
|
21
|
-
if (!o) return;
|
|
22
|
-
if (!sessionStorage.getItem("projectInfo")) {
|
|
23
|
-
window.confirm("系统资源更新,请刷新系统") && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const e = l(o);
|
|
27
|
-
if (T.innerSet = !0, e.routeUrl) {
|
|
28
|
-
if (o.code === "Ioc") {
|
|
29
|
-
window.open(e.routeUrl, "_blank");
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (o.code === "wojiacloud") {
|
|
33
|
-
const t = sessionStorage.getItem("kingdee_token") || "";
|
|
34
|
-
if (t) {
|
|
35
|
-
const [i, a] = await L().run({ accessToken: t });
|
|
36
|
-
if (a) {
|
|
37
|
-
const s = (a == null ? void 0 : a.auth_code) ?? "";
|
|
38
|
-
e.routeUrl = e.routeUrl.includes("?") ? `${e.routeUrl}&code=${s}` : `${e.routeUrl}?code=${s}`;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
const r = (o == null ? void 0 : o.openType) ?? 1, u = (o == null ? void 0 : o.type) ?? 1;
|
|
44
|
-
if (r === 1) {
|
|
45
|
-
if (!await f(o)) return;
|
|
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 } });
|
|
48
|
-
}
|
|
49
|
-
if (r === 2 && e.routeUrl) {
|
|
50
|
-
let t = "";
|
|
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");
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
return (o, n) => (y(), k(p(v), {
|
|
55
|
-
full: "",
|
|
56
|
-
spinning: p(x)
|
|
57
|
-
}, {
|
|
58
|
-
default: U(() => [
|
|
59
|
-
A(p(C), {
|
|
60
|
-
appCategorys: g.value,
|
|
61
|
-
onOpenApp: m
|
|
62
|
-
}, null, 8, ["appCategorys"])
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
/* STABLE */
|
|
66
|
-
}, 8, ["spinning"]));
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
G as default
|
|
71
|
-
};
|
|
Binary file
|