@das-fed/web 6.4.0-dev.6 → 6.4.0-dev.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-D6wvy23o.js +76 -0
- package/index-D6wvy23o.js.gz +0 -0
- package/index-DHTeOa5D.js +7623 -0
- package/index-DHTeOa5D.js.gz +0 -0
- package/{index-CeDdJysJ.js → index-DSodtjfX.js} +1 -1
- package/index.js +25 -22
- package/package.json +6 -6
- package/packages/create-das-web-app/index.js +48 -805
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js +76 -31
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +479 -441
- 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-CxDxCkSy.js → index-DJS2UJ9p.js} +1 -1
- package/packages/main-app-framework/index-VFl407K9.js +76 -0
- package/packages/main-app-framework/index-VFl407K9.js.gz +0 -0
- package/packages/main-app-framework/index-dN-CBG0Y.js +6241 -0
- package/packages/main-app-framework/index-dN-CBG0Y.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 +181 -164
- 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 +118 -0
- package/types/i18n/index.d.ts +6 -4
- package/types/layout/index.d.ts +1 -1
- package/types/layout/store/index.d.ts +6 -1
- package/types/layout/store/menu.d.ts +2 -0
- package/types/layout/store/nav.d.ts +1 -0
- 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/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/constant/index.d.ts +1 -1
- package/types/main-app-framework/i18n/index.d.ts +473 -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-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/main-app-framework/utils/src/set-common-info.d.ts +2 -0
- package/types/micro-frontend/store.d.ts +5 -5
- package/types/theme/index.d.ts +1 -1
- package/index-BBbzRiUk.js +0 -68
- package/index-BBbzRiUk.js.gz +0 -0
- package/index-C8iO4QVt.js +0 -7884
- package/index-C8iO4QVt.js.gz +0 -0
- package/index-GDnK0PX4.js +0 -70
- package/index-GDnK0PX4.js.gz +0 -0
- package/packages/main-app-framework/index-CB6yJ78W.js +0 -68
- package/packages/main-app-framework/index-CB6yJ78W.js.gz +0 -0
- package/packages/main-app-framework/index-CIYEqxNR.js +0 -5851
- package/packages/main-app-framework/index-CIYEqxNR.js.gz +0 -0
- package/packages/main-app-framework/index-DHvYQRkj.js +0 -70
- package/packages/main-app-framework/index-DHvYQRkj.js.gz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** 系统配置===姚凯提供的 */
|
|
2
2
|
export declare const getWithdefault: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
3
3
|
export declare const useChangeEnterprise: () => {
|
|
4
|
-
changeEnterprisesVisible: import('vue').Ref<any>;
|
|
5
|
-
userId: import('vue').Ref<any>;
|
|
6
|
-
tenantId: import('vue').Ref<any>;
|
|
4
|
+
changeEnterprisesVisible: import('vue').Ref<any, any>;
|
|
5
|
+
userId: import('vue').Ref<any, any>;
|
|
6
|
+
tenantId: import('vue').Ref<any, any>;
|
|
7
7
|
changeEnterprise: (tenantId: string) => any;
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const useLayoutInit: (platformInitNextTick: () => Promise<any>) => {
|
|
2
|
-
loading: import('vue').Ref<any>;
|
|
3
|
-
innerPage: import('vue').Ref<any>;
|
|
4
|
-
commandList: import('vue').Ref<any>;
|
|
5
|
-
layoutInited: import('vue').Ref<any>;
|
|
2
|
+
loading: import('vue').Ref<any, any>;
|
|
3
|
+
innerPage: import('vue').Ref<any, any>;
|
|
4
|
+
commandList: import('vue').Ref<any, any>;
|
|
5
|
+
layoutInited: import('vue').Ref<any, any>;
|
|
6
6
|
initNextTick: () => Promise<void>;
|
|
7
7
|
};
|
|
8
8
|
export { useLayoutInit };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const useTabs: () => {
|
|
2
|
-
fontColor: import('vue').Ref<any>;
|
|
3
|
-
backgroudColor: import('vue').Ref<any>;
|
|
4
|
-
borderColor: import('vue').Ref<any>;
|
|
2
|
+
fontColor: import('vue').Ref<any, any>;
|
|
3
|
+
backgroudColor: import('vue').Ref<any, any>;
|
|
4
|
+
borderColor: import('vue').Ref<any, any>;
|
|
5
5
|
};
|
|
@@ -12,6 +12,8 @@ export declare const setFavIcon: (data: string) => void;
|
|
|
12
12
|
export declare const clearHomeInfo: () => void;
|
|
13
13
|
/** 存储项目信息 */
|
|
14
14
|
export declare const setProjectInfo: (data: any) => void;
|
|
15
|
+
/** 存储项目详细信息 */
|
|
16
|
+
export declare const setProjectMessage: (data?: any) => void;
|
|
15
17
|
/** 清除项目数据 */
|
|
16
18
|
export declare const clearProjectInfo: () => void;
|
|
17
19
|
/** 存储标签页信息,如果传入对象则进行该项替换 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const microAppRouterPrefix: import('vue').Ref<any>;
|
|
2
|
-
export declare const microApps: import('vue').Ref<any>;
|
|
3
|
-
export declare const microAppVisible: import('vue').Ref<any>;
|
|
4
|
-
export declare const excludeRoutes: import('vue').Ref<any>;
|
|
5
|
-
export declare const routeKeepAliveVisible: import('vue').Ref<any>;
|
|
1
|
+
export declare const microAppRouterPrefix: import('vue').Ref<any, any>;
|
|
2
|
+
export declare const microApps: import('vue').Ref<any, any>;
|
|
3
|
+
export declare const microAppVisible: import('vue').Ref<any, any>;
|
|
4
|
+
export declare const excludeRoutes: import('vue').Ref<any, any>;
|
|
5
|
+
export declare const routeKeepAliveVisible: import('vue').Ref<any, any>;
|
package/types/theme/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const currentTheme: import('vue').Ref<any>;
|
|
1
|
+
declare const currentTheme: import('vue').Ref<any, any>;
|
|
2
2
|
declare const setThemeRule: (data: any, type?: "global" | "custom") => void;
|
|
3
3
|
declare const initTheme: (opt?: any) => any;
|
|
4
4
|
declare const setTheme: (value: string) => void;
|
package/index-BBbzRiUk.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as r, nextTick as u, watch as p, onMounted as _, onUnmounted as h, openBlock as c, createElementBlock as l, createVNode as w, unref as g, withCtx as k, withDirectives as x, vShow as y, createCommentVNode as I } from "vue";
|
|
2
|
-
import { useRoute as P } from "vue-router";
|
|
3
|
-
import { DasSpin as S } from "@das-fed/ui/packages/components/spin/index";
|
|
4
|
-
import { layout as C } from "@das-fed/web/packages/layout/index";
|
|
5
|
-
import { I as R, e as L, _ as M } from "./index-C8iO4QVt.js";
|
|
6
|
-
import { getToken as j, getPersonalInfo as B, getProjectInfo as D } from "@das-fed/utils/common-info";
|
|
7
|
-
import { getUrlParams as E } from "@das-fed/utils/common-tools";
|
|
8
|
-
const N = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "iframe-container"
|
|
11
|
-
}, T = ["src"], U = /* @__PURE__ */ v({
|
|
12
|
-
__name: "index",
|
|
13
|
-
setup(V) {
|
|
14
|
-
const t = r(""), n = r(!0);
|
|
15
|
-
C.tab.addEventListener("onPageRefresh", async (e) => {
|
|
16
|
-
e && e.path === R && (L(e.applicationCode, [e.code]), n.value = !1, await u(), n.value = !0);
|
|
17
|
-
});
|
|
18
|
-
const a = r(!1), i = r(null), o = r(!1), f = () => {
|
|
19
|
-
var e, s;
|
|
20
|
-
o.value && (e = i.value) != null && e.contentWindow && ((s = i.value.contentWindow) == null || s.postMessage(
|
|
21
|
-
{
|
|
22
|
-
token: j(),
|
|
23
|
-
userInfo: B(),
|
|
24
|
-
projectInfo: D()
|
|
25
|
-
},
|
|
26
|
-
t.value
|
|
27
|
-
));
|
|
28
|
-
}, m = P();
|
|
29
|
-
p(
|
|
30
|
-
() => m.query.iframeSrc,
|
|
31
|
-
async (e) => {
|
|
32
|
-
e && (t.value = e, a.value = !1, await u(), a.value = !0, f());
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
const d = () => {
|
|
36
|
-
o.value = !0, f();
|
|
37
|
-
};
|
|
38
|
-
return _(() => {
|
|
39
|
-
a.value = !0, t.value = E(location.href, "iframeSrc");
|
|
40
|
-
}), h(() => {
|
|
41
|
-
o.value = !1, a.value = !1;
|
|
42
|
-
}), (e, s) => a.value && n.value ? (c(), l("div", N, [
|
|
43
|
-
w(g(S), {
|
|
44
|
-
spinning: !o.value
|
|
45
|
-
}, {
|
|
46
|
-
default: k(() => [
|
|
47
|
-
x((c(), l("iframe", {
|
|
48
|
-
id: "iframe-view",
|
|
49
|
-
ref_key: "iframeRef",
|
|
50
|
-
ref: i,
|
|
51
|
-
width: "100%",
|
|
52
|
-
height: "100%",
|
|
53
|
-
src: t.value,
|
|
54
|
-
key: t.value,
|
|
55
|
-
onLoad: d
|
|
56
|
-
}, null, 40, T)), [
|
|
57
|
-
[y, o.value]
|
|
58
|
-
])
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
61
|
-
/* STABLE */
|
|
62
|
-
}, 8, ["spinning"])
|
|
63
|
-
])) : I("v-if", !0);
|
|
64
|
-
}
|
|
65
|
-
}), H = /* @__PURE__ */ M(U, [["__scopeId", "data-v-9d185d90"]]);
|
|
66
|
-
export {
|
|
67
|
-
H as default
|
|
68
|
-
};
|
package/index-BBbzRiUk.js.gz
DELETED
|
Binary file
|