@das-fed/web 6.4.0-beta.2 → 6.4.0-beta.20

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.
Files changed (87) hide show
  1. package/esm-map.json +4 -1
  2. package/{packages/main-app-framework/index-CRT8yHn-.js → index-6hjtvvxZ.js} +1 -1
  3. package/index-BtJvxwn2.js +82 -0
  4. package/index-BtJvxwn2.js.gz +0 -0
  5. package/index-Dtpm43Tu.js +13617 -0
  6. package/index-Dtpm43Tu.js.gz +0 -0
  7. package/index.js +24 -21
  8. package/package.json +8 -6
  9. package/packages/create-das-web-app/config.js +1 -0
  10. package/packages/create-das-web-app/index.js +48 -807
  11. package/packages/create-das-web-app/index.js.gz +0 -0
  12. package/packages/i18n/config.js +1 -0
  13. package/packages/i18n/index.js +76 -31
  14. package/packages/i18n/index.js.gz +0 -0
  15. package/packages/layout/config.js +1 -0
  16. package/packages/layout/index.js +450 -415
  17. package/packages/layout/index.js.gz +0 -0
  18. package/packages/layout/style.css +2 -2
  19. package/packages/layout/style.css.gz +0 -0
  20. package/packages/main-app-framework/config.js +1 -0
  21. package/packages/main-app-framework/index-BMKC9TNb.js +12235 -0
  22. package/packages/main-app-framework/index-BMKC9TNb.js.gz +0 -0
  23. package/packages/main-app-framework/index-CQyuOmuN.js +82 -0
  24. package/packages/main-app-framework/index-CQyuOmuN.js.gz +0 -0
  25. package/{index-DZPzbqdK.js → packages/main-app-framework/index-CcvXAmt-.js} +1 -1
  26. package/packages/main-app-framework/index.js +3 -1
  27. package/packages/main-app-framework/style.css +1 -1
  28. package/packages/main-app-framework/style.css.gz +0 -0
  29. package/packages/micro-frontend/config.js +1 -0
  30. package/packages/micro-frontend/index.js +310 -293
  31. package/packages/micro-frontend/index.js.gz +0 -0
  32. package/packages/micro-frontend/style.css +1 -1
  33. package/packages/style/config.js +1 -0
  34. package/packages/style/style.css +1 -1
  35. package/packages/style/style.css.gz +0 -0
  36. package/packages/theme/config.js +1 -0
  37. package/packages/theme/index.js +24 -24
  38. package/packages/theme/index.js.gz +0 -0
  39. package/style.css +2 -2
  40. package/style.css.gz +0 -0
  41. package/types/i18n/global.d.ts +118 -0
  42. package/types/i18n/index.d.ts +4 -2
  43. package/types/layout/index.d.ts +1 -1
  44. package/types/layout/store/index.d.ts +5 -0
  45. package/types/layout/store/menu.d.ts +2 -0
  46. package/types/layout/store/nav.d.ts +1 -0
  47. package/types/layout/store/tab.d.ts +1 -0
  48. package/types/main-app-framework/business/video-link/api.d.ts +2 -0
  49. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
  50. package/types/main-app-framework/components/iframe-page/index.d.ts +3 -0
  51. package/types/main-app-framework/components/index.d.ts +1 -0
  52. package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
  53. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +2 -0
  54. package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +2 -0
  55. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +20 -0
  56. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +19 -0
  57. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +22 -0
  58. package/types/main-app-framework/constant/index.d.ts +1 -1
  59. package/types/main-app-framework/i18n/index.d.ts +513 -0
  60. package/types/main-app-framework/index.d.ts +1 -0
  61. package/types/main-app-framework/init-config/get-nav-config/api.d.ts +2 -0
  62. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +3 -2
  63. package/types/main-app-framework/init-config/get-project-config/api.d.ts +3 -2
  64. package/types/main-app-framework/init-config/get-system-config/api.d.ts +2 -0
  65. package/types/main-app-framework/init-config/get-system-config/index.d.ts +3 -3
  66. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
  67. package/types/main-app-framework/utils/src/get-portal-url/crypto.d.ts +14 -0
  68. package/types/main-app-framework/utils/src/get-portal-url/encrypt.d.ts +42 -0
  69. package/types/main-app-framework/utils/src/get-portal-url/generate-url.d.ts +4 -0
  70. package/types/main-app-framework/utils/src/get-portal-url/handle-portal-params.d.ts +2 -0
  71. package/types/main-app-framework/utils/src/get-portal-url/index.d.ts +2 -0
  72. package/types/main-app-framework/utils/src/get-portal-url/type.d.ts +16 -0
  73. package/types/main-app-framework/utils/src/set-common-info.d.ts +4 -2
  74. package/types/main-app-framework/utils/src/tools.d.ts +5 -1
  75. package/types/micro-frontend/index.d.ts +1 -1
  76. package/index-CTiS2AQx.js +0 -68
  77. package/index-CTiS2AQx.js.gz +0 -0
  78. package/index-DjsZCo03.js +0 -70
  79. package/index-DjsZCo03.js.gz +0 -0
  80. package/index-LVjuqzoG.js +0 -11086
  81. package/index-LVjuqzoG.js.gz +0 -0
  82. package/packages/main-app-framework/index-2WWk8ggi.js +0 -9022
  83. package/packages/main-app-framework/index-2WWk8ggi.js.gz +0 -0
  84. package/packages/main-app-framework/index-BqkWKMMe.js +0 -70
  85. package/packages/main-app-framework/index-BqkWKMMe.js.gz +0 -0
  86. package/packages/main-app-framework/index-Twj2RXRy.js +0 -68
  87. package/packages/main-app-framework/index-Twj2RXRy.js.gz +0 -0
@@ -0,0 +1,118 @@
1
+ declare const _default: {
2
+ 详情: {
3
+ 'zh-CN': string;
4
+ en: string;
5
+ _appCode: string;
6
+ };
7
+ 下载: {
8
+ 'zh-CN': string;
9
+ en: string;
10
+ _appCode: string;
11
+ };
12
+ 审核: {
13
+ 'zh-CN': string;
14
+ en: string;
15
+ _appCode: string;
16
+ };
17
+ 通过: {
18
+ 'zh-CN': string;
19
+ en: string;
20
+ _appCode: string;
21
+ };
22
+ 驳回: {
23
+ 'zh-CN': string;
24
+ en: string;
25
+ _appCode: string;
26
+ };
27
+ 分派: {
28
+ 'zh-CN': string;
29
+ en: string;
30
+ _appCode: string;
31
+ };
32
+ 处理: {
33
+ 'zh-CN': string;
34
+ en: string;
35
+ _appCode: string;
36
+ };
37
+ 删除: {
38
+ 'zh-CN': string;
39
+ en: string;
40
+ _appCode: string;
41
+ };
42
+ 回复: {
43
+ 'zh-CN': string;
44
+ en: string;
45
+ _appCode: string;
46
+ };
47
+ 新增: {
48
+ 'zh-CN': string;
49
+ en: string;
50
+ _appCode: string;
51
+ };
52
+ 批量删除: {
53
+ 'zh-CN': string;
54
+ en: string;
55
+ _appCode: string;
56
+ };
57
+ 提交: {
58
+ 'zh-CN': string;
59
+ en: string;
60
+ _appCode: string;
61
+ };
62
+ 查看记录: {
63
+ 'zh-CN': string;
64
+ en: string;
65
+ _appCode: string;
66
+ };
67
+ 分享: {
68
+ 'zh-CN': string;
69
+ en: string;
70
+ _appCode: string;
71
+ };
72
+ 取消: {
73
+ 'zh-CN': string;
74
+ en: string;
75
+ _appCode: string;
76
+ };
77
+ 编辑: {
78
+ 'zh-CN': string;
79
+ en: string;
80
+ _appCode: string;
81
+ };
82
+ 保存: {
83
+ 'zh-CN': string;
84
+ en: string;
85
+ _appCode: string;
86
+ };
87
+ 确定: {
88
+ 'zh-CN': string;
89
+ en: string;
90
+ _appCode: string;
91
+ };
92
+ 设备总数: {
93
+ 'zh-CN': string;
94
+ en: string;
95
+ _appCode: string;
96
+ };
97
+ 在线数: {
98
+ 'zh-CN': string;
99
+ en: string;
100
+ _appCode: string;
101
+ };
102
+ 离线数: {
103
+ 'zh-CN': string;
104
+ en: string;
105
+ _appCode: string;
106
+ };
107
+ 已停用: {
108
+ 'zh-CN': string;
109
+ en: string;
110
+ _appCode: string;
111
+ };
112
+ 未激活: {
113
+ 'zh-CN': string;
114
+ en: string;
115
+ _appCode: string;
116
+ };
117
+ };
118
+ export default _default;
@@ -1,5 +1,7 @@
1
+ declare const customLangeData: any;
1
2
  declare const currentLang: import('vue').Ref<any, any>;
2
- declare const setI18nRule: (data: any, type?: "global" | "custom") => void;
3
+ declare const setLangRule: (data?: any, type?: "global" | "custom") => void;
4
+ declare const setI18nRule: (data?: any, type?: "global" | "custom") => void;
3
5
  declare const initI18n: (opt?: any) => any;
4
6
  /**
5
7
  * 获取国际化键名对应的文本
@@ -18,4 +20,4 @@ declare const i18n: (key: string, ...args: any[]) => import('vue').ComputedRef<s
18
20
  declare const t: (key: string, ...args: any) => string;
19
21
  declare const setLang: (lang: string) => void;
20
22
  declare const getLang: () => import('vue').Ref<any, any>;
21
- export { initI18n, setI18nRule, getI18nRule, i18n, t, setLang, getLang, currentLang };
23
+ export { initI18n, setI18nRule, getI18nRule, i18n, t, setLang, getLang, currentLang, setLangRule, customLangeData };
@@ -2,4 +2,4 @@ export { default as DasWebLayout } from './components/das-web-layout.vue';
2
2
  export { default as DasWebNav } from './components/das-web-nav.vue';
3
3
  export { default as DasWebMenu } from './components/das-web-menu.vue';
4
4
  export { default as DasWebTabs } from './components/das-web-tabs.vue';
5
- export { layout } from './store';
5
+ export { layout, layoutData } from './store';
@@ -11,6 +11,7 @@ declare const layout: {
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;
@@ -5,6 +5,7 @@ declare const nav: {
5
5
  show: () => void;
6
6
  hide: () => void;
7
7
  setLogo: (value: any) => void;
8
+ setTheme: (value: "default" | "kjl" | "cjb" | "ssl") => void;
8
9
  setItems: (value: NavMenuItem[]) => void;
9
10
  getItems: () => any;
10
11
  removeItem: (value: string) => void;
@@ -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;
@@ -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,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, any, {
2
- [x: string]: Record<string, any>;
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;
@@ -0,0 +1,3 @@
1
+ import { default as IframePage } from './src/index.vue';
2
+
3
+ export { IframePage };
@@ -1,3 +1,4 @@
1
1
  export * from './watermark';
2
2
  export * from './entry-page-tip';
3
3
  export * from './person-set-dialog';
4
+ export * from './iframe-page';
@@ -1,4 +1,4 @@
1
1
  import { default as PersonSetDialog } from './src/index.vue';
2
2
 
3
- declare const PersonSetDialogRef: () => import('vue').Ref<any, any>;
3
+ declare const PersonSetDialogRef: () => any;
4
4
  export { PersonSetDialog, PersonSetDialogRef };
@@ -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;
@@ -0,0 +1,2 @@
1
+ export { default as SetThemeStyle } from './set-theme-style/index.vue';
2
+ export { default as SetHome } from './set-home/index.vue';
@@ -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
+ };
@@ -1,4 +1,4 @@
1
- export declare const RootPath = "/";
1
+ export declare const HomePath = "/home";
2
2
  export declare const ApplicationPath = "/application";
3
3
  export declare const FixedPages: {};
4
4
  export declare const IframePath = "/outerView";