@das-fed/web 6.4.0-hot.45 → 6.4.0-hot.46
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/{index-7MxGC4zi.js → index-Do-hi0sT.js} +2565 -2067
- package/index-Do-hi0sT.js.gz +0 -0
- package/{packages/main-app-framework/index-MSdiwQOa.js → index-Ho3juDFP.js} +1 -1
- package/{packages/main-app-framework/index-DZtdX2F3.js → index-ybkIe7Qx.js} +2 -1
- package/index-ybkIe7Qx.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 +188 -103
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css.gz +0 -0
- package/packages/main-app-framework/{index-DNa6cY9j.js → index-By_I7kxF.js} +2285 -1891
- package/packages/main-app-framework/index-By_I7kxF.js.gz +0 -0
- package/{index-Bh3fTesZ.js → packages/main-app-framework/index-D6tSxSCm.js} +1 -1
- package/{index-Dqp0YDBu.js → packages/main-app-framework/index-uy_tfCFy.js} +2 -1
- package/packages/main-app-framework/index-uy_tfCFy.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/index.js +38 -19
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/style/style.css.gz +0 -0
- package/packages/theme/index.js.gz +0 -0
- 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/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/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +6 -6
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +10 -10
- package/types/main-app-framework/index.d.ts +2 -2
- 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-ai-helper.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 -5
- 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-7MxGC4zi.js.gz +0 -0
- package/index-Dqp0YDBu.js.gz +0 -0
- package/packages/main-app-framework/index-DNa6cY9j.js.gz +0 -0
- package/packages/main-app-framework/index-DZtdX2F3.js.gz +0 -0
|
Binary file
|
|
@@ -6,7 +6,7 @@ import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as T } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as b } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as E } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-
|
|
9
|
+
import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-By_I7kxF.js";
|
|
10
10
|
const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(F) {
|
|
@@ -76,6 +76,7 @@ const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/
|
|
|
76
76
|
}, null, 8, ["theme", "appCategorys"])
|
|
77
77
|
]),
|
|
78
78
|
_: 1
|
|
79
|
+
/* STABLE */
|
|
79
80
|
}, 8, ["spinning"])), [
|
|
80
81
|
[I, !m.value]
|
|
81
82
|
]);
|
|
Binary file
|
|
Binary file
|
|
@@ -658,25 +658,43 @@ const Ue = ["src", "entry", "name"], Ge = /* @__PURE__ */ x({
|
|
|
658
658
|
const { dom: o, ...p } = r;
|
|
659
659
|
d.sendMessageToMicroApp(i, "onDeactivated"), d.triggerMicroAppLifeCycleListener("onDeactivated", p);
|
|
660
660
|
};
|
|
661
|
-
return (a, i) => (E(), D(
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
661
|
+
return (a, i) => (E(), D(
|
|
662
|
+
"div",
|
|
663
|
+
{
|
|
664
|
+
ref_key: "containerRef",
|
|
665
|
+
ref: t,
|
|
666
|
+
class: "das-micro-app-container"
|
|
667
|
+
},
|
|
668
|
+
[
|
|
669
|
+
(E(!0), D(
|
|
670
|
+
$,
|
|
671
|
+
null,
|
|
672
|
+
fe(I(f), (r) => (E(), D(
|
|
673
|
+
$,
|
|
674
|
+
null,
|
|
675
|
+
[
|
|
676
|
+
r.loaded ? ve((E(), se(Je, {
|
|
677
|
+
key: 0,
|
|
678
|
+
src: r.src || "",
|
|
679
|
+
name: r.name,
|
|
680
|
+
actived: r.actived,
|
|
681
|
+
onOnLoaded: (o) => n(o, r.name),
|
|
682
|
+
onOnActivated: (o) => s(o, r.name),
|
|
683
|
+
onOnDeactivated: (o) => c(o, r.name)
|
|
684
|
+
}, null, 8, ["src", "name", "actived", "onOnLoaded", "onOnActivated", "onOnDeactivated"])), [
|
|
685
|
+
[Ae, r.actived]
|
|
686
|
+
]) : he("v-if", !0)
|
|
687
|
+
],
|
|
688
|
+
64
|
|
689
|
+
/* STABLE_FRAGMENT */
|
|
690
|
+
))),
|
|
691
|
+
256
|
|
692
|
+
/* UNKEYED_FRAGMENT */
|
|
693
|
+
))
|
|
694
|
+
],
|
|
695
|
+
512
|
|
696
|
+
/* NEED_PATCH */
|
|
697
|
+
));
|
|
680
698
|
}
|
|
681
699
|
}), Xe = /* @__PURE__ */ re(Ke, [["__scopeId", "data-v-3abdb1e9"]]), tt = /* @__PURE__ */ x({
|
|
682
700
|
__name: "das-main-app-layout",
|
|
@@ -719,6 +737,7 @@ const Ue = ["src", "entry", "name"], Ge = /* @__PURE__ */ x({
|
|
|
719
737
|
C(Xe)
|
|
720
738
|
]),
|
|
721
739
|
_: 3
|
|
740
|
+
/* FORWARDED */
|
|
722
741
|
}, 16, ["transition-config", "router-view-visible"]));
|
|
723
742
|
}
|
|
724
743
|
}), ce = /* @__PURE__ */ x({
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/style.css.gz
CHANGED
|
Binary file
|
|
@@ -3,7 +3,7 @@ import { DasWebAppOptions } from './type';
|
|
|
3
3
|
declare const createDasWebApp: (options?: DasWebAppOptions) => {
|
|
4
4
|
app: import('vue').App<Element>;
|
|
5
5
|
router: import('vue-router').Router;
|
|
6
|
-
loading: import('vue').Ref<any>;
|
|
6
|
+
loading: import('vue').Ref<any, any>;
|
|
7
7
|
store: import('pinia').Pinia;
|
|
8
8
|
};
|
|
9
9
|
export { createDasWebApp };
|
package/types/i18n/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const customLangeData: any;
|
|
2
|
-
declare const currentLang: import('vue').Ref<any>;
|
|
2
|
+
declare const currentLang: import('vue').Ref<any, any>;
|
|
3
3
|
declare const setLangRule: (data?: any, type?: "global" | "custom") => void;
|
|
4
4
|
declare const setI18nRule: (data?: any, type?: "global" | "custom") => void;
|
|
5
5
|
declare const initI18n: (opt?: any) => any;
|
|
@@ -19,5 +19,5 @@ declare const i18n: (key: string, ...args: any[]) => import('vue').ComputedRef<s
|
|
|
19
19
|
*/
|
|
20
20
|
declare const t: (key: string, ...args: any) => string;
|
|
21
21
|
declare const setLang: (lang: "zh-CN" | "en") => void;
|
|
22
|
-
declare const getLang: () => import('vue').Ref<any>;
|
|
22
|
+
declare const getLang: () => import('vue').Ref<any, any>;
|
|
23
23
|
export { initI18n, setI18nRule, getI18nRule, i18n, t, setLang, getLang, currentLang, setLangRule, customLangeData };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
|
|
3
3
|
export declare const useAlarm: () => {
|
|
4
|
-
alarmSocket: Ref<any>;
|
|
5
|
-
alarmCount: Ref<any>;
|
|
6
|
-
audioObj: Ref<any>;
|
|
7
|
-
audioAlarmRef: Ref<any>;
|
|
4
|
+
alarmSocket: Ref<any, any>;
|
|
5
|
+
alarmCount: Ref<any, any>;
|
|
6
|
+
audioObj: Ref<any, any>;
|
|
7
|
+
audioAlarmRef: Ref<any, any>;
|
|
8
8
|
handleAlarmVue: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useVideoLink: () => {
|
|
2
|
-
gridNum: import('vue').Ref<any>;
|
|
3
|
-
deviceList: import('vue').Ref<any>;
|
|
4
|
-
videoSocket: import('vue').Ref<any>;
|
|
2
|
+
gridNum: import('vue').Ref<any, any>;
|
|
3
|
+
deviceList: import('vue').Ref<any, any>;
|
|
4
|
+
videoSocket: import('vue').Ref<any, any>;
|
|
5
5
|
connectLinkVideoSocket: () => any;
|
|
6
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, any, {
|
|
2
|
-
[x: string]:
|
|
3
|
-
}, {}>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, any, {} | {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, {}, {}, {}, string, any, true, {}, any>;
|
|
4
4
|
export default _default;
|
|
@@ -5,12 +5,12 @@ export declare const useBuiltInDialog: (options: {
|
|
|
5
5
|
information: Ref<any>;
|
|
6
6
|
validate: any;
|
|
7
7
|
}) => {
|
|
8
|
-
builtInDialog: Ref<any>;
|
|
9
|
-
$typeTree:
|
|
10
|
-
treeId: Ref<any>;
|
|
11
|
-
treePath: Ref<any>;
|
|
12
|
-
keyword: Ref<any>;
|
|
13
|
-
treeData: Ref<any>;
|
|
8
|
+
builtInDialog: Ref<any, any>;
|
|
9
|
+
$typeTree: any;
|
|
10
|
+
treeId: Ref<any, any>;
|
|
11
|
+
treePath: Ref<any, any>;
|
|
12
|
+
keyword: Ref<any, any>;
|
|
13
|
+
treeData: Ref<any, any>;
|
|
14
14
|
openBuiltInDialog: () => void;
|
|
15
15
|
loadChildNode: (nodeData: any) => unknown;
|
|
16
16
|
search: (name: string) => unknown;
|
|
@@ -4,16 +4,16 @@ export declare const useNotBuiltInDialog: (options: {
|
|
|
4
4
|
orgInfo: any;
|
|
5
5
|
information: Ref<any>;
|
|
6
6
|
}) => {
|
|
7
|
-
loading: Ref<any>;
|
|
8
|
-
urlDialog: Ref<any>;
|
|
9
|
-
urlType: Ref<any>;
|
|
10
|
-
urlTypeOptions: Ref<any>;
|
|
11
|
-
tableData: Ref<any>;
|
|
12
|
-
pageSize: Ref<any>;
|
|
13
|
-
pageIndex: Ref<any>;
|
|
14
|
-
totalCount: Ref<any>;
|
|
15
|
-
tableFilter: Ref<any>;
|
|
16
|
-
urlId: Ref<any>;
|
|
7
|
+
loading: Ref<any, any>;
|
|
8
|
+
urlDialog: Ref<any, any>;
|
|
9
|
+
urlType: Ref<any, any>;
|
|
10
|
+
urlTypeOptions: Ref<any, any>;
|
|
11
|
+
tableData: Ref<any, any>;
|
|
12
|
+
pageSize: Ref<any, any>;
|
|
13
|
+
pageIndex: Ref<any, any>;
|
|
14
|
+
totalCount: Ref<any, any>;
|
|
15
|
+
tableFilter: Ref<any, any>;
|
|
16
|
+
urlId: Ref<any, any>;
|
|
17
17
|
openUrlDialog: () => void;
|
|
18
18
|
tableChange: (val: string | number, row: any, index: number) => void;
|
|
19
19
|
confirmUrl: () => void;
|
|
@@ -2,8 +2,8 @@ declare const mainAppFramework: {
|
|
|
2
2
|
routes: {};
|
|
3
3
|
Layout: any;
|
|
4
4
|
data: {
|
|
5
|
-
homeInfo: import('vue').Ref<any>;
|
|
6
|
-
personalConfig: import('vue').Ref<any>;
|
|
5
|
+
homeInfo: import('vue').Ref<any, any>;
|
|
6
|
+
personalConfig: import('vue').Ref<any, any>;
|
|
7
7
|
};
|
|
8
8
|
hooks: {
|
|
9
9
|
useEntryApp: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const appLoading: import('vue').Ref<any>;
|
|
2
|
-
declare const appcategorys: import('vue').Ref<any>;
|
|
1
|
+
declare const appLoading: import('vue').Ref<any, any>;
|
|
2
|
+
declare const appcategorys: import('vue').Ref<any, any>;
|
|
3
3
|
declare const apps: import('vue').ComputedRef<any>;
|
|
4
4
|
declare const getNavConfig: () => unknown;
|
|
5
5
|
declare const getFixedAppsConfig: () => unknown;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
declare const getLoginConfig: () => unknown;
|
|
3
3
|
/** 获取平台配置 */
|
|
4
4
|
declare const getPlatformConfig: () => unknown;
|
|
5
|
-
declare const homeInfo: import('vue').Ref<any>;
|
|
5
|
+
declare const homeInfo: import('vue').Ref<any, any>;
|
|
6
6
|
/** 获取首页配置 */
|
|
7
7
|
declare const getHomeConfig: () => unknown;
|
|
8
|
-
declare const personalMenuConfig: import('vue').Ref<any>;
|
|
8
|
+
declare const personalMenuConfig: import('vue').Ref<any, any>;
|
|
9
9
|
/** 获取 侧边栏风格、皮肤风格 配置 */
|
|
10
10
|
declare const getPersonalMenuConfig: () => unknown;
|
|
11
11
|
/** 获取个人语言设置详情 */
|
|
@@ -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,9 +1,9 @@
|
|
|
1
1
|
declare const useLayoutInit: (platformInitNextTick: () => Promise<any>) => {
|
|
2
|
-
loading: import('vue').Ref<any>;
|
|
3
|
-
pageKey: import('vue').Ref<any>;
|
|
4
|
-
innerPage: import('vue').Ref<any>;
|
|
5
|
-
commandList: import('vue').Ref<any>;
|
|
6
|
-
layoutInited: import('vue').Ref<any>;
|
|
2
|
+
loading: import('vue').Ref<any, any>;
|
|
3
|
+
pageKey: import('vue').Ref<any, any>;
|
|
4
|
+
innerPage: import('vue').Ref<any, any>;
|
|
5
|
+
commandList: import('vue').Ref<any, any>;
|
|
6
|
+
layoutInited: import('vue').Ref<any, any>;
|
|
7
7
|
initNextTick: () => Promise<void>;
|
|
8
8
|
};
|
|
9
9
|
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
|
};
|
|
@@ -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-7MxGC4zi.js.gz
DELETED
|
Binary file
|
package/index-Dqp0YDBu.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|