@das-fed/web 6.4.0-hot.6 → 6.4.0-hot.61

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 (100) hide show
  1. package/esm-map.json +4 -1
  2. package/index-BfwALCed.js +88 -0
  3. package/index-BfwALCed.js.gz +0 -0
  4. package/index-C8ZCkxTL.js +10 -0
  5. package/index-CxCebyO1.js +18068 -0
  6. package/index-CxCebyO1.js.gz +0 -0
  7. package/index.js +24 -21
  8. package/package.json +8 -6
  9. package/packages/create-das-web-app/index.js.gz +0 -0
  10. package/packages/i18n/index.js +172 -31
  11. package/packages/i18n/index.js.gz +0 -0
  12. package/packages/layout/index.js +495 -465
  13. package/packages/layout/index.js.gz +0 -0
  14. package/packages/layout/style.css +2 -2
  15. package/packages/layout/style.css.gz +0 -0
  16. package/packages/main-app-framework/index-37UoNHkf.js +88 -0
  17. package/packages/main-app-framework/index-37UoNHkf.js.gz +0 -0
  18. package/packages/main-app-framework/index-DkanyGyv.js +16576 -0
  19. package/packages/main-app-framework/index-DkanyGyv.js.gz +0 -0
  20. package/packages/main-app-framework/index-wKB2TvCR.js +10 -0
  21. package/packages/main-app-framework/index.js +3 -2
  22. package/packages/main-app-framework/style.css +1 -1
  23. package/packages/main-app-framework/style.css.gz +0 -0
  24. package/packages/micro-frontend/index.js +289 -275
  25. package/packages/micro-frontend/index.js.gz +0 -0
  26. package/packages/micro-frontend/style.css +1 -1
  27. package/packages/style/style.css +1 -1
  28. package/packages/style/style.css.gz +0 -0
  29. package/packages/theme/index.js.gz +0 -0
  30. package/style.css +2 -2
  31. package/style.css.gz +0 -0
  32. package/types/create-das-web-app/index.d.ts +1 -1
  33. package/types/i18n/global.d.ts +583 -0
  34. package/types/i18n/index.d.ts +7 -5
  35. package/types/layout/index.d.ts +1 -1
  36. package/types/layout/store/index.d.ts +7 -2
  37. package/types/layout/store/menu.d.ts +2 -0
  38. package/types/layout/store/nav.d.ts +2 -1
  39. package/types/layout/store/tab.d.ts +1 -0
  40. package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
  41. package/types/main-app-framework/business/message-notify/index.d.ts +1 -0
  42. package/types/main-app-framework/business/remote-control/apis.d.ts +2 -0
  43. package/types/main-app-framework/business/remote-control/utils.d.ts +7 -0
  44. package/types/main-app-framework/business/video-link/api.d.ts +2 -0
  45. package/types/main-app-framework/business/video-link/index.d.ts +3 -3
  46. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
  47. package/types/main-app-framework/components/iframe-page/index.d.ts +3 -0
  48. package/types/main-app-framework/components/index.d.ts +1 -0
  49. package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
  50. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +4 -0
  51. package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +3 -0
  52. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +26 -0
  53. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +19 -0
  54. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +22 -0
  55. package/types/main-app-framework/constant/index.d.ts +1 -1
  56. package/types/main-app-framework/data-track/api.d.ts +2 -0
  57. package/types/main-app-framework/data-track/index.d.ts +2 -0
  58. package/types/main-app-framework/i18n/index.d.ts +558 -0
  59. package/types/main-app-framework/index.d.ts +3 -2
  60. package/types/main-app-framework/init-config/get-manu-config/index.d.ts +1 -1
  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 +6 -3
  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 +4 -0
  65. package/types/main-app-framework/init-config/get-system-config/index.d.ts +6 -4
  66. package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +3 -1
  67. package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +2 -0
  68. package/types/main-app-framework/init-layout/hooks/nav-slots/index.d.ts +1 -0
  69. package/types/main-app-framework/init-layout/hooks/nav-slots/use-ai-helper.d.ts +5 -0
  70. package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
  71. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
  72. package/types/main-app-framework/init-layout/hooks/use-entry-app.d.ts +1 -1
  73. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +4 -4
  74. package/types/main-app-framework/init-layout/hooks/use-route-watcher.d.ts +1 -3
  75. package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
  76. package/types/main-app-framework/init-platform/index.d.ts +1 -1
  77. package/types/main-app-framework/utils/src/get-portal-url/crypto.d.ts +14 -0
  78. package/types/main-app-framework/utils/src/get-portal-url/encrypt.d.ts +42 -0
  79. package/types/main-app-framework/utils/src/get-portal-url/generate-url.d.ts +4 -0
  80. package/types/main-app-framework/utils/src/get-portal-url/handle-portal-params.d.ts +2 -0
  81. package/types/main-app-framework/utils/src/get-portal-url/index.d.ts +2 -0
  82. package/types/main-app-framework/utils/src/get-portal-url/type.d.ts +16 -0
  83. package/types/main-app-framework/utils/src/set-common-info.d.ts +6 -2
  84. package/types/main-app-framework/utils/src/tools.d.ts +5 -1
  85. package/types/micro-frontend/store.d.ts +5 -5
  86. package/types/theme/index.d.ts +1 -1
  87. package/index-C-ieIBXO.js +0 -10
  88. package/index-C8k4wrGJ.js +0 -68
  89. package/index-C8k4wrGJ.js.gz +0 -0
  90. package/index-CicbdbyR.js +0 -71
  91. package/index-CicbdbyR.js.gz +0 -0
  92. package/index-CwfFnT6z.js +0 -7083
  93. package/index-CwfFnT6z.js.gz +0 -0
  94. package/packages/main-app-framework/index-Bcz8SW2I.js +0 -10
  95. package/packages/main-app-framework/index-CfM1liO6.js +0 -68
  96. package/packages/main-app-framework/index-CfM1liO6.js.gz +0 -0
  97. package/packages/main-app-framework/index-DRQHVvCk.js +0 -5774
  98. package/packages/main-app-framework/index-DRQHVvCk.js.gz +0 -0
  99. package/packages/main-app-framework/index-E1pACiHI.js +0 -71
  100. package/packages/main-app-framework/index-E1pACiHI.js.gz +0 -0
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 获取菜单信息
3
+ * @param appCode 应用code
4
+ * @param menuCode 菜单code
5
+ * @returns
6
+ */
7
+ export declare const getMenuInfo: (appCode: string, menuCode: string) => unknown;
@@ -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]: 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>;
3
+ declare const PersonSetDialogRef: () => any;
4
4
  export { PersonSetDialog, PersonSetDialogRef };
@@ -1,2 +1,6 @@
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;
5
+ /** 语言设置 */
6
+ export declare const updateLanguage: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,3 @@
1
+ export { default as SetThemeStyle } from './set-theme-style/index.vue';
2
+ export { default as SetLang } from './set-lang/index.vue';
3
+ export { default as SetHome } from './set-home/index.vue';
@@ -0,0 +1,26 @@
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;
21
+ /** 获取标识常用应用的用户应用分类列表 */
22
+ export declare const getAppCategory: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
23
+ /** 获取已选的常用应用 */
24
+ export declare const getAppSelected: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
25
+ /** 获取用户可查看项目 */
26
+ export declare const getProjectList: (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";
@@ -0,0 +1,2 @@
1
+ /** 数据埋点-记录用户操作 */
2
+ export declare const dataActions: (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 declare const accessSys: (projectId: string | number) => any;
2
+ export declare const accessApp: (data: any) => any;