@das-fed/web 6.4.0-hot.7 → 6.4.0-hot.9
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/{packages/main-app-framework/index-E1pACiHI.js → index-2T_H15dv.js} +1 -1
- package/index-2T_H15dv.js.gz +0 -0
- package/{packages/main-app-framework/index-CfM1liO6.js → index-CjVC66ff.js} +14 -14
- package/index-CjVC66ff.js.gz +0 -0
- package/{index-C-ieIBXO.js → index-DPpRTnrf.js} +1 -1
- package/{index-CwfFnT6z.js → index-puk4QfAT.js} +2279 -2275
- package/index-puk4QfAT.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +27 -35
- 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-DRQHVvCk.js → index-A69EQVG4.js} +1927 -1915
- package/packages/main-app-framework/index-A69EQVG4.js.gz +0 -0
- package/{index-C8k4wrGJ.js → packages/main-app-framework/index-B9FQmM02.js} +14 -14
- package/packages/main-app-framework/index-B9FQmM02.js.gz +0 -0
- package/packages/main-app-framework/{index-Bcz8SW2I.js → index-DLw2CpC0.js} +1 -1
- package/{index-CicbdbyR.js → packages/main-app-framework/index-j5ACjIDv.js} +1 -1
- package/packages/main-app-framework/index-j5ACjIDv.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- 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 +16 -24
- 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/index.d.ts +2 -2
- package/types/layout/store/index.d.ts +1 -1
- package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
- 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/person-set-dialog/index.d.ts +1 -1
- package/types/main-app-framework/index.d.ts +1 -1
- package/types/main-app-framework/init-config/get-nav-config/index.d.ts +2 -2
- package/types/main-app-framework/init-config/get-system-config/index.d.ts +2 -2
- 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 +4 -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/micro-frontend/store.d.ts +5 -5
- package/types/theme/index.d.ts +1 -1
- package/index-C8k4wrGJ.js.gz +0 -0
- package/index-CicbdbyR.js.gz +0 -0
- package/index-CwfFnT6z.js.gz +0 -0
- package/packages/main-app-framework/index-CfM1liO6.js.gz +0 -0
- package/packages/main-app-framework/index-DRQHVvCk.js.gz +0 -0
- package/packages/main-app-framework/index-E1pACiHI.js.gz +0 -0
|
@@ -4,7 +4,7 @@ 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
5
|
import { setShowLayout as S } from "@das-fed/utils/common-tools";
|
|
6
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-
|
|
7
|
+
import { u as $, a as c, c as l, b as x, l as T, d as b } from "./index-puk4QfAT.js";
|
|
8
8
|
const D = "v1", E = j(`/api/justauth/client/${D}`), L = E.get("/visitor/kingdee/auth/user/auth_code"), G = /* @__PURE__ */ _({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(q) {
|
|
Binary file
|
|
@@ -2,26 +2,26 @@ 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
|
|
6
|
-
import { getToken as
|
|
7
|
-
import { getUrlParams as
|
|
8
|
-
const
|
|
5
|
+
import { I as R, e as b, _ as L } from "./index-puk4QfAT.js";
|
|
6
|
+
import { getToken as M, getPersonalInfo as j, getProjectInfo as B } from "@das-fed/utils/common-info";
|
|
7
|
+
import { getUrlParams as D } from "@das-fed/utils/common-tools";
|
|
8
|
+
const E = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "iframe-container"
|
|
11
|
-
},
|
|
11
|
+
}, N = ["src"], T = /* @__PURE__ */ v({
|
|
12
12
|
__name: "index",
|
|
13
|
-
setup(
|
|
13
|
+
setup(U) {
|
|
14
14
|
const t = r(""), n = r(!0);
|
|
15
15
|
C.tab.addEventListener("onPageRefresh", async (e) => {
|
|
16
|
-
e && e.path === R && (
|
|
16
|
+
e && e.path === R && (b(e.applicationCode, [e.code]), n.value = !1, await u(), n.value = !0);
|
|
17
17
|
});
|
|
18
18
|
const a = r(!1), i = r(null), o = r(!1), f = () => {
|
|
19
19
|
var e, s;
|
|
20
20
|
o.value && (e = i.value) != null && e.contentWindow && ((s = i.value.contentWindow) == null || s.postMessage(
|
|
21
21
|
{
|
|
22
|
-
token:
|
|
23
|
-
userInfo:
|
|
24
|
-
projectInfo:
|
|
22
|
+
token: M(),
|
|
23
|
+
userInfo: j(),
|
|
24
|
+
projectInfo: B()
|
|
25
25
|
},
|
|
26
26
|
t.value
|
|
27
27
|
));
|
|
@@ -36,10 +36,10 @@ const N = {
|
|
|
36
36
|
o.value = !0, f();
|
|
37
37
|
};
|
|
38
38
|
return _(() => {
|
|
39
|
-
a.value = !0, t.value =
|
|
39
|
+
a.value = !0, t.value = D(location.href, "iframeSrc");
|
|
40
40
|
}), h(() => {
|
|
41
41
|
o.value = !1, a.value = !1;
|
|
42
|
-
}), (e, s) => a.value && n.value ? (c(), l("div",
|
|
42
|
+
}), (e, s) => a.value && n.value ? (c(), l("div", E, [
|
|
43
43
|
w(g(S), {
|
|
44
44
|
spinning: !o.value
|
|
45
45
|
}, {
|
|
@@ -53,7 +53,7 @@ const N = {
|
|
|
53
53
|
src: t.value,
|
|
54
54
|
key: t.value,
|
|
55
55
|
onLoad: d
|
|
56
|
-
}, null, 40,
|
|
56
|
+
}, null, 40, N)), [
|
|
57
57
|
[y, o.value]
|
|
58
58
|
])
|
|
59
59
|
]),
|
|
@@ -62,7 +62,7 @@ const N = {
|
|
|
62
62
|
}, 8, ["spinning"])
|
|
63
63
|
])) : I("v-if", !0);
|
|
64
64
|
}
|
|
65
|
-
}), H = /* @__PURE__ */
|
|
65
|
+
}), H = /* @__PURE__ */ L(T, [["__scopeId", "data-v-98dbb97f"]]);
|
|
66
66
|
export {
|
|
67
67
|
H as default
|
|
68
68
|
};
|
|
Binary file
|