@das-fed/web 6.3.0-beta.9 → 6.4.0-dev.1

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 (108) hide show
  1. package/esm-map.json +12 -10
  2. package/index-BqgahaIi.js +11086 -0
  3. package/index-BqgahaIi.js.gz +0 -0
  4. package/index-CC5hN73H.js +10 -0
  5. package/index-D4LFa1We.js +68 -0
  6. package/index-D4LFa1We.js.gz +0 -0
  7. package/index-DpLK467K.js +70 -0
  8. package/index-DpLK467K.js.gz +0 -0
  9. package/index.js +27 -2202
  10. package/package.json +10 -6
  11. package/packages/create-das-web-app/index.js +307 -289
  12. package/packages/create-das-web-app/index.js.gz +0 -0
  13. package/packages/i18n/index.js +29 -30
  14. package/packages/i18n/index.js.gz +0 -0
  15. package/packages/layout/index.js +301 -289
  16. package/packages/layout/index.js.gz +0 -0
  17. package/packages/layout/style.css +1 -1
  18. package/packages/layout/style.css.gz +0 -0
  19. package/packages/main-app-framework/index-2WWk8ggi.js +9022 -0
  20. package/packages/main-app-framework/index-2WWk8ggi.js.gz +0 -0
  21. package/packages/main-app-framework/index-BqkWKMMe.js +70 -0
  22. package/packages/main-app-framework/index-BqkWKMMe.js.gz +0 -0
  23. package/packages/main-app-framework/index-CRT8yHn-.js +10 -0
  24. package/packages/main-app-framework/index-Twj2RXRy.js +68 -0
  25. package/packages/main-app-framework/index-Twj2RXRy.js.gz +0 -0
  26. package/packages/main-app-framework/index.js +5 -0
  27. package/packages/main-app-framework/style.css +1 -0
  28. package/packages/main-app-framework/style.css.gz +0 -0
  29. package/packages/micro-frontend/index.js +174 -170
  30. package/packages/micro-frontend/index.js.gz +0 -0
  31. package/packages/style/index.js +5 -2
  32. package/packages/theme/index.js +38 -39
  33. package/packages/theme/index.js.gz +0 -0
  34. package/style.css +1 -1
  35. package/style.css.gz +0 -0
  36. package/types/create-das-web-app/index.d.ts +1 -1
  37. package/types/create-das-web-app/router/index.d.ts +2 -1
  38. package/types/i18n/index.d.ts +2 -2
  39. package/types/index.d.ts +1 -0
  40. package/types/layout/store/index.d.ts +1 -1
  41. package/types/main-app-framework/business/alarm/api.d.ts +34 -0
  42. package/types/main-app-framework/business/alarm/components/hooks/use-handle-alarm.d.ts +7 -0
  43. package/types/main-app-framework/business/alarm/use-alarm.d.ts +12 -0
  44. package/types/main-app-framework/business/index.d.ts +4 -0
  45. package/types/main-app-framework/business/message-notify/index.d.ts +1 -0
  46. package/types/main-app-framework/business/remote-control/apis.d.ts +6 -0
  47. package/types/main-app-framework/business/remote-control/createServiceConnection.d.ts +3 -0
  48. package/types/main-app-framework/business/remote-control/index.d.ts +1 -0
  49. package/types/main-app-framework/business/video-link/api.d.ts +28 -0
  50. package/types/main-app-framework/business/video-link/index.d.ts +6 -0
  51. package/types/main-app-framework/business/video-link/open.d.ts +4 -0
  52. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +4 -0
  53. package/types/main-app-framework/business/video-link/video-dialog/hooks/index.d.ts +6 -0
  54. package/types/main-app-framework/components/entry-page-tip/index.d.ts +3 -0
  55. package/types/main-app-framework/components/entry-page-tip/src/index.d.ts +1 -0
  56. package/types/main-app-framework/components/entry-page-tip/src/open.d.ts +5 -0
  57. package/types/main-app-framework/components/entry-page-tip/theme/index.d.ts +6 -0
  58. package/types/main-app-framework/components/index.d.ts +3 -0
  59. package/types/main-app-framework/components/person-set-dialog/index.d.ts +4 -0
  60. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +2 -0
  61. package/types/main-app-framework/components/watermark/index.d.ts +3 -0
  62. package/types/main-app-framework/components/watermark/src/api.d.ts +1 -0
  63. package/types/main-app-framework/constant/index.d.ts +6 -0
  64. package/types/main-app-framework/index.d.ts +28 -0
  65. package/types/main-app-framework/init-config/get-manu-config/api.d.ts +4 -0
  66. package/types/main-app-framework/init-config/get-manu-config/getInstanceInfo.d.ts +1 -0
  67. package/types/main-app-framework/init-config/get-manu-config/index.d.ts +47 -0
  68. package/types/main-app-framework/init-config/get-nav-config/api.d.ts +2 -0
  69. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +4 -0
  70. package/types/main-app-framework/init-config/get-project-config/api.d.ts +4 -0
  71. package/types/main-app-framework/init-config/get-project-config/index.d.ts +1 -0
  72. package/types/main-app-framework/init-config/get-system-config/api.d.ts +8 -0
  73. package/types/main-app-framework/init-config/get-system-config/index.d.ts +11 -0
  74. package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +6 -0
  75. package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +6 -0
  76. package/types/main-app-framework/init-config/index.d.ts +5 -0
  77. package/types/main-app-framework/init-layout/apis/index.d.ts +2 -0
  78. package/types/main-app-framework/init-layout/hooks/nav-slots/index.d.ts +4 -0
  79. package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +8 -0
  80. package/types/main-app-framework/init-layout/hooks/nav-slots/use-project.d.ts +1 -0
  81. package/types/main-app-framework/init-layout/hooks/nav-slots/use-search.d.ts +4 -0
  82. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +4 -0
  83. package/types/main-app-framework/init-layout/hooks/use-entry-app.d.ts +11 -0
  84. package/types/main-app-framework/init-layout/hooks/use-entry-menu.d.ts +7 -0
  85. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +8 -0
  86. package/types/main-app-framework/init-layout/hooks/use-menu.d.ts +1 -0
  87. package/types/main-app-framework/init-layout/hooks/use-nav.d.ts +1 -0
  88. package/types/main-app-framework/init-layout/hooks/use-route-reload-unload.d.ts +4 -0
  89. package/types/main-app-framework/init-layout/hooks/use-route-watcher.d.ts +3 -0
  90. package/types/main-app-framework/init-layout/hooks/use-system-confirm.d.ts +1 -0
  91. package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +5 -0
  92. package/types/main-app-framework/init-layout/index.d.ts +11 -0
  93. package/types/main-app-framework/init-layout/store/index.d.ts +4 -0
  94. package/types/main-app-framework/init-platform/api.d.ts +2 -0
  95. package/types/main-app-framework/init-platform/index.d.ts +4 -0
  96. package/types/main-app-framework/micro-apps/index.d.ts +3 -0
  97. package/types/main-app-framework/micro-apps/use-device-panel-watcher.d.ts +1 -0
  98. package/types/main-app-framework/micro-apps/use-iot-watcher.d.ts +1 -0
  99. package/types/main-app-framework/micro-apps/use-user-info-watcher.d.ts +3 -0
  100. package/types/main-app-framework/pages/app/api.d.ts +2 -0
  101. package/types/main-app-framework/utils/index.d.ts +3 -0
  102. package/types/main-app-framework/utils/src/layout-confirm.d.ts +12 -0
  103. package/types/main-app-framework/utils/src/set-common-info.d.ts +62 -0
  104. package/types/main-app-framework/utils/src/tools.d.ts +1 -0
  105. package/types/micro-frontend/store.d.ts +5 -5
  106. package/types/theme/index.d.ts +1 -1
  107. package/index.js.gz +0 -0
  108. package/types/create-das-web-app/get-global-config.d.ts +0 -2
@@ -0,0 +1,12 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export declare const useAlarm: () => {
4
+ alarmSocket: Ref<any, any>;
5
+ alarmCount: Ref<any, any>;
6
+ audioObj: Ref<any, any>;
7
+ audioAlarmRef: Ref<any, any>;
8
+ handleAlarmVue: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
9
+ [key: string]: any;
10
+ }>;
11
+ creatAlarmSocket: () => any;
12
+ };
@@ -0,0 +1,4 @@
1
+ export * from './message-notify/index';
2
+ export * from './video-link/index';
3
+ export * from './remote-control/index';
4
+ export { default as Alarm } from './alarm/index.vue';
@@ -0,0 +1 @@
1
+ export declare const useMessageNotify: () => void;
@@ -0,0 +1,6 @@
1
+ export declare const heartbeatApi: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
2
+ export declare const basics: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
+ export declare const callBack: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
4
+ export declare const publish: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
5
+ /** 根据菜单编码获取应用编码 */
6
+ export declare const getApplicationFromMenu: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,3 @@
1
+ import * as signalR from '@microsoft/signalr';
2
+ declare const _default: () => signalR.HubConnection;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const useRemoteControl: () => {};
@@ -0,0 +1,28 @@
1
+ /** 查询当前项目下用户可见菜单-企管 */
2
+ export declare const enterpriserightQueryportalmenu: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
+ export declare function mergeCommonParams(config: any): any;
4
+ export declare function paramsToQuery(params: Record<string, any>): any;
5
+ export type OperateDeviceParams = {
6
+ direction: 'up' | 'down' | 'left' | 'right' | 'leftUp' | 'leftDown' | 'rightUp' | 'rightDown' | '';
7
+ zoom: 'zoomIn' /** 放大 */ | 'zoomOut' /** 缩小 */ | '';
8
+ };
9
+ export declare function operateDevice(params: {
10
+ productId: string;
11
+ /** 产品id */ deviceId: string;
12
+ /** 设备id */ direction?: OperateDeviceParams['direction'];
13
+ /** 方向控制 */ zoom?: OperateDeviceParams['zoom']; /** 缩放 */
14
+ }): Promise<[error: {
15
+ code: string | number;
16
+ msg: string;
17
+ error: import('axios').AxiosError;
18
+ } | null, data: any]>;
19
+ /** 获取设备实时视频播放地址 */
20
+ export declare function getRealTimeUrl(params: {
21
+ productId?: string;
22
+ deviceId: string;
23
+ }): Promise<[error: {
24
+ code: string | number;
25
+ msg: string;
26
+ error: import('axios').AxiosError;
27
+ } | null, data: any]>;
28
+ export declare const devicePermission: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,6 @@
1
+ export declare const useVideoLink: () => {
2
+ gridNum: import('vue').Ref<any, any>;
3
+ deviceList: import('vue').Ref<any, any>;
4
+ videoSocket: import('vue').Ref<any, any>;
5
+ connectLinkVideoSocket: () => any;
6
+ };
@@ -0,0 +1,4 @@
1
+ export declare const openVideoDialog: (option: {
2
+ gridNum: number;
3
+ deviceList: any[];
4
+ }) => any;
@@ -0,0 +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
+ }, {}>;
4
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Props } from '../type';
2
+
3
+ export declare function useVideo(props: Props): {
4
+ render: () => any;
5
+ toggleFullscreen: () => Promise<void>;
6
+ };
@@ -0,0 +1,3 @@
1
+ import { openTip as openEntryPageTip } from './src';
2
+
3
+ export { openEntryPageTip };
@@ -0,0 +1 @@
1
+ export * from './open';
@@ -0,0 +1,5 @@
1
+ export declare const openTip: ({ title, content, desc }: {
2
+ title?: string | undefined;
3
+ content?: string | undefined;
4
+ desc?: {} | undefined;
5
+ }) => any;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ '--menu-tip-diaolg-content': string;
3
+ '--menu-tip-diaolg-divide': string;
4
+ '--menu-tip-diaolg-info': string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export * from './watermark';
2
+ export * from './entry-page-tip';
3
+ export * from './person-set-dialog';
@@ -0,0 +1,4 @@
1
+ import { default as PersonSetDialog } from './src/index.vue';
2
+
3
+ declare const PersonSetDialogRef: () => import('vue').Ref<any, any>;
4
+ export { PersonSetDialog, PersonSetDialogRef };
@@ -0,0 +1,2 @@
1
+ /** 修改用户菜单个性化设置(菜单风格,1表示横向抽屉式(默认),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;
@@ -0,0 +1,3 @@
1
+ import { default as Watermark } from './src/index.vue';
2
+
3
+ export { Watermark };
@@ -0,0 +1 @@
1
+ export declare const getWatermark: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,6 @@
1
+ export declare const RootPath = "/";
2
+ export declare const ApplicationPath = "/application";
3
+ export declare const FixedPages: {};
4
+ export declare const IframePath = "/outerView";
5
+ export declare const PlaceholderPath = "/placeholder";
6
+ export declare const UserCommandList: {};
@@ -0,0 +1,28 @@
1
+ declare const mainAppFramework: {
2
+ routes: {};
3
+ Layout: any;
4
+ data: {
5
+ homeInfo: import('vue').Ref<any, any>;
6
+ };
7
+ hooks: {
8
+ useEntryApp: () => {
9
+ beforeEntryApp: (microApp: any) => unknown;
10
+ entryApp: (options: {
11
+ microApp: any;
12
+ menuCode?: string;
13
+ menuPath?: string;
14
+ route?: any;
15
+ }) => any;
16
+ changeApp: (e: any) => any;
17
+ deleteApp: (e: any) => any;
18
+ };
19
+ useEntryMenu: () => {
20
+ entryMenu: (options: {
21
+ currentMenu: any;
22
+ route?: any;
23
+ microPath?: string;
24
+ }) => any;
25
+ };
26
+ };
27
+ };
28
+ export { mainAppFramework };
@@ -0,0 +1,4 @@
1
+ /** 查询当前项目下用户可见菜单-企管 */
2
+ export declare const enterpriserightQueryportalmenu: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
+ /** 设备接入-获取最后操作的设备实例 */
4
+ export declare const getLast: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1 @@
1
+ export declare const getInstanceInfo: () => unknown;
@@ -0,0 +1,47 @@
1
+ /**
2
+ * 查找第一个可打开的菜单
3
+ * @param tree 菜单数据
4
+ * @param code 菜单code
5
+ * @returns
6
+ */
7
+ declare const findFirstEnabledMenu: (tree: any[], code?: string) => any;
8
+ /**
9
+ * 查找附近有权限的应用 && 清除当前应用数据
10
+ * @param code 当前的应用
11
+ */
12
+ declare const getNearMicroApp: (code: any) => {
13
+ currentApp: any;
14
+ };
15
+ declare const findLeftAndRight: (array: any[], code: any) => {
16
+ left: any;
17
+ right: any;
18
+ };
19
+ /**
20
+ * 调用接口获取菜单数据并存入缓存
21
+ * @param appCode 应用code
22
+ * @returns menus,originalMenus
23
+ */
24
+ declare const getMenuData: (appCode: string) => unknown;
25
+ /**
26
+ * 进入应用==》数据查询、数据存储:
27
+ * 1、获取接口查询当前应用菜单数据
28
+ * 2、统一处理菜单数据(如sessionStorage中没有当前菜单数据则需要重新获取菜单接口)
29
+ * 3、获取到需要打开的菜单页
30
+ * 4、存储应用、菜单数据、;
31
+ * 4、重新获取菜单接口则存入按钮权限数据、面包屑数据、页签风格数据;
32
+ * @param option microApp:应用数据;menuCode:菜单编码;menuPath:携带应用前缀的路由path;route:当前路由;
33
+ * @returns menuConfig: 菜单数据;currentApp: 当前应用; currentMenu: 当前菜单;microPath:如果不是菜单根路由,比如详情路由则返回;query:路由参数
34
+ */
35
+ declare const getMenuConfig: (option: {
36
+ microApp: any;
37
+ menuCode?: string;
38
+ menuPath?: string;
39
+ route?: any;
40
+ }) => Promise<{
41
+ menuConfig: null | any[];
42
+ currentApp: any;
43
+ currentMenu: any;
44
+ query: any;
45
+ microPath?: string;
46
+ }>;
47
+ export { getMenuConfig, getNearMicroApp, getMenuData, findFirstEnabledMenu, findLeftAndRight };
@@ -0,0 +1,2 @@
1
+ /** 获取应用*/
2
+ export declare const getAppcategory: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,4 @@
1
+ declare const appcategorys: import('vue').Ref<any, any>;
2
+ declare const appLoading: import('vue').Ref<any, any>;
3
+ declare const getNavConfig: () => unknown;
4
+ export { getNavConfig, appcategorys, appLoading };
@@ -0,0 +1,4 @@
1
+ /** 获取项目数据 */
2
+ export declare const queryproject: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
+ /** 获取C端用户所能切换的项目列表 */
4
+ export declare const customerList: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1 @@
1
+ export declare const getProjectConfig: () => unknown;
@@ -0,0 +1,8 @@
1
+ /** 获取登录配置(如未配置返回默认配置) */
2
+ export declare const getLoginWithDefault: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
+ /** 获取平台配置(如未配置返回默认配置) */
4
+ export declare const getPlatformWithDefault: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
5
+ /** 获取首页配置 */
6
+ export declare const getHomeInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
7
+ /** 获取用户菜单个性化设置(菜单风格,1表示横向抽屉式(默认),2表示纵向下拉式) */
8
+ export declare const getPersonalMenuMode: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,11 @@
1
+ /** 获取登录配置 */
2
+ declare const getLoginConfig: () => unknown;
3
+ /** 获取平台配置 */
4
+ declare const getPlatformConfig: () => unknown;
5
+ declare const homeInfo: import('vue').Ref<any, any>;
6
+ /** 获取首页配置 */
7
+ declare const getHomeConfig: () => unknown;
8
+ declare const personMenuStyle: import('vue').Ref<any, any>;
9
+ /** 获取菜单个性化配置 */
10
+ declare const getPersonalMenuConfig: () => unknown;
11
+ export { getLoginConfig, getPlatformConfig, homeInfo, getHomeConfig, getPersonalMenuConfig, personMenuStyle };
@@ -0,0 +1,6 @@
1
+ /** 用token换取用户信息 */
2
+ export declare const getPersonInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
+ /** 获取用户信息 */
4
+ export declare const getTenantInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
5
+ /** 获取租户列表 */
6
+ export declare const getPageTenant: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,6 @@
1
+ /** 获取用户信息 */
2
+ export declare const getPersonalConfig: () => unknown;
3
+ /** 获取租户详情 */
4
+ export declare const getTenantConfig: () => unknown;
5
+ /** 获取租户列表 */
6
+ export declare const getTenantList: () => unknown;
@@ -0,0 +1,5 @@
1
+ export * from './get-tenant-config';
2
+ export * from './get-manu-config';
3
+ export * from './get-nav-config';
4
+ export * from './get-project-config';
5
+ export * from './get-system-config';
@@ -0,0 +1,2 @@
1
+ /** 获取菜单过期/禁用提示信息 */
2
+ export declare const getEntryPageTip: (currentMenu: any) => unknown;
@@ -0,0 +1,4 @@
1
+ export * from './use-user-command';
2
+ export * from './use-project';
3
+ export * from './use-search';
4
+ export * from './use-change-enterprises';
@@ -0,0 +1,8 @@
1
+ /** 系统配置===姚凯提供的 */
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
+ export declare const useChangeEnterprise: () => {
4
+ changeEnterprisesVisible: import('vue').Ref<any, any>;
5
+ userId: import('vue').Ref<any, any>;
6
+ tenantId: import('vue').Ref<any, any>;
7
+ changeEnterprise: (tenantId: string) => any;
8
+ };
@@ -0,0 +1 @@
1
+ export declare const useProject: () => void;
@@ -0,0 +1,4 @@
1
+ export declare const useSearch: () => {
2
+ getHistoryList: () => unknown;
3
+ getSearchList: (keyword: string) => unknown;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const useUserCommand: () => {
2
+ $changePwd: import('vue').Ref<any, any>;
3
+ $personSetDialog: import('vue').Ref<any, any>;
4
+ };
@@ -0,0 +1,11 @@
1
+ export declare const useEntryApp: () => {
2
+ beforeEntryApp: (microApp: any) => unknown;
3
+ entryApp: (options: {
4
+ microApp: any;
5
+ menuCode?: string;
6
+ menuPath?: string;
7
+ route?: any;
8
+ }) => any;
9
+ changeApp: (e: any) => any;
10
+ deleteApp: (e: any) => any;
11
+ };
@@ -0,0 +1,7 @@
1
+ export declare const useEntryMenu: () => {
2
+ entryMenu: (options: {
3
+ currentMenu: any;
4
+ route?: any;
5
+ microPath?: string;
6
+ }) => any;
7
+ };
@@ -0,0 +1,8 @@
1
+ declare const useLayoutInit: (platformInitNextTick: () => Promise<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
+ initNextTick: () => Promise<void>;
7
+ };
8
+ export { useLayoutInit };
@@ -0,0 +1 @@
1
+ export declare const useMenu: () => void;
@@ -0,0 +1 @@
1
+ export declare const useNav: () => {};
@@ -0,0 +1,4 @@
1
+ export declare const useRouteReloadOrUnload: () => {
2
+ reloadRoute: (paths: any[]) => void;
3
+ unloadRoute: (paths: any[]) => void;
4
+ };
@@ -0,0 +1,3 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export declare const useRouteWatcher: (innerPage: Ref<any[]>, platformInitNextTick: () => Promise<any>, initNextTick: () => Promise<any>) => void;
@@ -0,0 +1 @@
1
+ export declare const useSystemConfirm: () => void;
@@ -0,0 +1,5 @@
1
+ export declare const useTabs: () => {
2
+ fontColor: import('vue').Ref<any, any>;
3
+ backgroudColor: import('vue').Ref<any, any>;
4
+ borderColor: import('vue').Ref<any, any>;
5
+ };
@@ -0,0 +1,11 @@
1
+ export * from './hooks/use-initialization';
2
+ export * from './hooks/use-menu';
3
+ export * from './hooks/use-nav';
4
+ export * from './hooks/use-tabs';
5
+ export * from './hooks/use-system-confirm';
6
+ export * from './hooks/use-entry-app';
7
+ export * from './hooks/use-entry-menu';
8
+ export * from './hooks/use-route-watcher';
9
+ export * from './hooks/use-route-reload-unload';
10
+ export * from './hooks/nav-slots';
11
+ export * from './store';
@@ -0,0 +1,4 @@
1
+ import { LayoutStore } from './type';
2
+
3
+ declare const layoutStore: LayoutStore;
4
+ export { layoutStore };
@@ -0,0 +1,2 @@
1
+ /** 获取登录信息 */
2
+ export declare const getLoginHistory: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -0,0 +1,4 @@
1
+ export declare const usePlatformInit: () => {
2
+ platformInited: import('vue').Ref<any, any>;
3
+ initNextTick: () => Promise<void>;
4
+ };
@@ -0,0 +1,3 @@
1
+ export * from './use-iot-watcher';
2
+ export * from './use-user-info-watcher';
3
+ export * from './use-device-panel-watcher';
@@ -0,0 +1 @@
1
+ export declare const useDevicePanelWatcher: () => void;
@@ -0,0 +1 @@
1
+ export declare const useIotWatcher: () => void;
@@ -0,0 +1,3 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export declare const useUserInfoWatcher: (commandList: Ref<any[]>) => void;
@@ -0,0 +1,2 @@
1
+ /** 金蝶云通行证获取auth_code */
2
+ export declare const getKingdeeAuthCode: (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 * from './src/set-common-info';
2
+ export * from './src/layout-confirm';
3
+ export * from './src/tools';
@@ -0,0 +1,12 @@
1
+ /**
2
+ * 切换应用确认
3
+ * @param appCode 当前应用code
4
+ */
5
+ declare const changeConfirm: (appCode: string) => void;
6
+ /**
7
+ * 关闭应用或者关闭页签确认
8
+ * @param appCode 当前应用code
9
+ * @param deleteTabs 当前需要关闭的页签code集合
10
+ */
11
+ declare const closeConfirm: (appCode: string, deleteTabCodes: any[]) => void;
12
+ export { changeConfirm, closeConfirm };
@@ -0,0 +1,62 @@
1
+ /** 存储用户信息 */
2
+ export declare const setPersonalInfo: (data?: any) => void;
3
+ /** 存储租户详情 */
4
+ export declare const setTenantInfo: (data?: any) => void;
5
+ /** 清除租户信息 */
6
+ export declare const clearTenantInfo: () => void;
7
+ /** 存储首页信息 */
8
+ export declare const setHomeInfo: (data?: {}) => void;
9
+ /** 存储favIcon */
10
+ export declare const setFavIcon: (data: string) => void;
11
+ /** 清除首页信息 */
12
+ export declare const clearHomeInfo: () => void;
13
+ /** 存储项目信息 */
14
+ export declare const setProjectInfo: (data: any) => void;
15
+ /** 清除项目数据 */
16
+ export declare const clearProjectInfo: () => void;
17
+ /** 存储标签页信息,如果传入对象则进行该项替换 */
18
+ export declare const setTabs: (options: any[]) => void;
19
+ /** 清除标签页信息 */
20
+ export declare const clearTabs: () => void;
21
+ /**
22
+ * 存储应用数据
23
+ * @param options
24
+ */
25
+ export declare const setSubApps: (options: any[]) => void;
26
+ /** 清除应用数据 */
27
+ export declare const clearSubApps: () => void;
28
+ /** 设置应用当前选中菜单 */
29
+ export declare const setSubAppsCurrentMenuCode: (value: string) => void;
30
+ /**
31
+ * 存储权限按钮数据
32
+ * @param data 菜单list
33
+ * @param code 当前子应用code
34
+ * @returns
35
+ */
36
+ export declare const setPermissionBtns: (data: any[], code: string) => any;
37
+ /** 清除菜单数据 */
38
+ export declare const clearPermissionBtns: () => void;
39
+ /**
40
+ * 存储面包屑显示、隐藏数据
41
+ * @param flatMenuList 拍平的菜单list
42
+ * @param code 当前子应用code
43
+ * @returns
44
+ */
45
+ export declare const setBreadcrumb: (flatMenuList: any[], code: string) => any;
46
+ /** 清除面包屑数据 */
47
+ export declare const clearBreadcrumb: () => void;
48
+ /**
49
+ * 存储页签风格数据
50
+ * @param flatMenuList 拍平的菜单list
51
+ * @param code 当前子应用code
52
+ * @returns
53
+ */
54
+ export declare const setTabStyle: (flatMenuList: any[], code: string) => any;
55
+ /** 清除页签风格数据 */
56
+ export declare const clearTabStyle: () => void;
57
+ /** 存储设备实例数据 */
58
+ export declare const setInstanceInfo: (data: {
59
+ instanceInfo: any;
60
+ }) => void;
61
+ /** 关闭所有应用:清除所有portal数据 */
62
+ export declare const clearPortal: () => void;
@@ -0,0 +1 @@
1
+ export declare const addTokenToUrl: (href: string) => any;
@@ -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>;
@@ -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.js.gz DELETED
Binary file
@@ -1,2 +0,0 @@
1
- declare const getGlobalConfig: () => object;
2
- export { getGlobalConfig };