@das-fed/web 6.4.0-dev.7 → 6.4.0-dev.70
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-Cn4teP61.js +13649 -0
- package/index-Cn4teP61.js.gz +0 -0
- package/index-D7_ubq4h.js +82 -0
- package/index-D7_ubq4h.js.gz +0 -0
- package/{packages/main-app-framework/index-Cg3QA-m6.js → index-DvteJZXR.js} +1 -1
- package/index.js +24 -21
- package/package.json +8 -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-5xg7Vb1b.js +82 -0
- package/packages/main-app-framework/index-5xg7Vb1b.js.gz +0 -0
- package/packages/main-app-framework/index-CnqisfM0.js +12267 -0
- package/packages/main-app-framework/index-CnqisfM0.js.gz +0 -0
- package/{index-Bxc6TFIP.js → packages/main-app-framework/index-DWA8k2YZ.js} +1 -1
- 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/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 +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/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 +513 -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 +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/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-BVFBG18b.js +0 -70
- package/index-BVFBG18b.js.gz +0 -0
- package/index-DjvYNTdd.js +0 -7952
- package/index-DjvYNTdd.js.gz +0 -0
- package/index-KF0qlXuZ.js +0 -68
- package/index-KF0qlXuZ.js.gz +0 -0
- package/packages/main-app-framework/index-B-mymH8S.js +0 -70
- package/packages/main-app-framework/index-B-mymH8S.js.gz +0 -0
- package/packages/main-app-framework/index-C0DqSXpB.js +0 -5915
- package/packages/main-app-framework/index-C0DqSXpB.js.gz +0 -0
- package/packages/main-app-framework/index-C7g0JYXU.js +0 -68
- package/packages/main-app-framework/index-C7g0JYXU.js.gz +0 -0
|
@@ -4,13 +4,14 @@ declare const layoutData: {
|
|
|
4
4
|
tab: any;
|
|
5
5
|
overlay: any;
|
|
6
6
|
iframeView: any;
|
|
7
|
-
visible: import('vue').Ref<any>;
|
|
7
|
+
visible: import('vue').Ref<any, any>;
|
|
8
8
|
};
|
|
9
9
|
declare const layout: {
|
|
10
10
|
nav: {
|
|
11
11
|
show: () => void;
|
|
12
12
|
hide: () => void;
|
|
13
13
|
setLogo: (value: any) => void;
|
|
14
|
+
setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
|
|
14
15
|
setItems: (value: import('./type').NavMenuItem[]) => void;
|
|
15
16
|
getItems: () => any;
|
|
16
17
|
removeItem: (value: string) => void;
|
|
@@ -32,7 +33,9 @@ declare const layout: {
|
|
|
32
33
|
menu: {
|
|
33
34
|
setItems: (menuItems: import('./type').MenuItem[]) => void;
|
|
34
35
|
getItems: () => any;
|
|
36
|
+
setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
|
|
35
37
|
setActiveItem: (value: string) => void;
|
|
38
|
+
setCollapse: (value: boolean) => void;
|
|
36
39
|
setPopupClassName: (value: string) => void;
|
|
37
40
|
triggerEventListener: (type: import('./type').MenuEventType, payload?: any, options?: {
|
|
38
41
|
autoRemove?: boolean;
|
|
@@ -44,6 +47,7 @@ declare const layout: {
|
|
|
44
47
|
tab: {
|
|
45
48
|
setItems: (items: import('./type').TabItem[]) => void;
|
|
46
49
|
getItems: () => any;
|
|
50
|
+
setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
|
|
47
51
|
removeItem: (value: string) => void;
|
|
48
52
|
appendItem: (tabItem: import('./type').TabItem) => void;
|
|
49
53
|
setActiveItem: (value: string) => void;
|
|
@@ -66,5 +70,6 @@ declare const layout: {
|
|
|
66
70
|
};
|
|
67
71
|
};
|
|
68
72
|
setVisible: (value: boolean) => boolean;
|
|
73
|
+
setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
|
|
69
74
|
};
|
|
70
75
|
export { layout, layoutData };
|
|
@@ -4,7 +4,9 @@ declare const menuData: any;
|
|
|
4
4
|
declare const menu: {
|
|
5
5
|
setItems: (menuItems: MenuItem[]) => void;
|
|
6
6
|
getItems: () => any;
|
|
7
|
+
setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
|
|
7
8
|
setActiveItem: (value: string) => void;
|
|
9
|
+
setCollapse: (value: boolean) => void;
|
|
8
10
|
setPopupClassName: (value: string) => void;
|
|
9
11
|
triggerEventListener: (type: MenuEventType, payload?: any, options?: {
|
|
10
12
|
autoRemove?: boolean;
|
|
@@ -4,6 +4,7 @@ declare const tabData: any;
|
|
|
4
4
|
declare const tab: {
|
|
5
5
|
setItems: (items: TabItem[]) => void;
|
|
6
6
|
getItems: () => any;
|
|
7
|
+
setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
|
|
7
8
|
removeItem: (value: string) => void;
|
|
8
9
|
appendItem: (tabItem: TabItem) => void;
|
|
9
10
|
setActiveItem: (value: string) => void;
|
|
@@ -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
|
}>;
|
|
@@ -11,6 +11,7 @@ export declare function operateDevice(params: {
|
|
|
11
11
|
/** 产品id */ deviceId: string;
|
|
12
12
|
/** 设备id */ direction?: OperateDeviceParams['direction'];
|
|
13
13
|
/** 方向控制 */ zoom?: OperateDeviceParams['zoom']; /** 缩放 */
|
|
14
|
+
/** 操作设备的应用编码 */ source?: string;
|
|
14
15
|
}): Promise<[error: {
|
|
15
16
|
code: string | number;
|
|
16
17
|
msg: string;
|
|
@@ -20,6 +21,7 @@ export declare function operateDevice(params: {
|
|
|
20
21
|
export declare function getRealTimeUrl(params: {
|
|
21
22
|
productId?: string;
|
|
22
23
|
deviceId: string;
|
|
24
|
+
source?: string;
|
|
23
25
|
}): Promise<[error: {
|
|
24
26
|
code: string | number;
|
|
25
27
|
msg: string;
|
|
@@ -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;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
/** 修改用户菜单个性化设置(菜单风格,1表示横向抽屉式(默认),2表示纵向下拉式) */
|
|
2
2
|
export declare const setPersonalMenuMode: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
3
|
+
/** 个人门户首页编辑 */
|
|
4
|
+
export declare const updateUserHomePageApi: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** 获取个人门户首页详情 */
|
|
2
|
+
export declare const userHomePageDetailApi: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
3
|
+
/** 删除个人门户首页详情 */
|
|
4
|
+
export declare const deleteUserHomePageApi: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
5
|
+
/** 获取门户首页展示类型 */
|
|
6
|
+
export declare const homePageTypesApi: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
7
|
+
/** 门户管理树懒加载(租户级) */
|
|
8
|
+
export declare const portalTree: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
9
|
+
/** 门户管理树查询 */
|
|
10
|
+
export declare const portalTreeSearch: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
11
|
+
/** 查询设备编排 */
|
|
12
|
+
export declare const deviceOrchestration: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
13
|
+
/** 查询图纸编排 */
|
|
14
|
+
export declare const drawingOrchestration: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
15
|
+
/** 查询数据编排 */
|
|
16
|
+
export declare const dataOrchestration: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
17
|
+
/** 查询轻分析 */
|
|
18
|
+
export declare const workbench: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
19
|
+
/** 查询流程引擎 */
|
|
20
|
+
export declare const formList: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const useBuiltInDialog: (options: {
|
|
4
|
+
orgInfo: any;
|
|
5
|
+
information: Ref<any>;
|
|
6
|
+
validate: any;
|
|
7
|
+
}) => {
|
|
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
|
+
openBuiltInDialog: () => void;
|
|
15
|
+
loadChildNode: (nodeData: any) => unknown;
|
|
16
|
+
search: (name: string) => unknown;
|
|
17
|
+
toggleTree: (data: any) => void;
|
|
18
|
+
confirmFormBuiltIn: () => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const useNotBuiltInDialog: (options: {
|
|
4
|
+
orgInfo: any;
|
|
5
|
+
information: Ref<any>;
|
|
6
|
+
}) => {
|
|
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
|
+
openUrlDialog: () => void;
|
|
18
|
+
tableChange: (val: string | number, row: any, index: number) => void;
|
|
19
|
+
confirmUrl: () => void;
|
|
20
|
+
changeType: (data: any) => void;
|
|
21
|
+
getTable: () => void;
|
|
22
|
+
};
|