@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.
- package/esm-map.json +12 -10
- package/index-BqgahaIi.js +11086 -0
- package/index-BqgahaIi.js.gz +0 -0
- package/index-CC5hN73H.js +10 -0
- package/index-D4LFa1We.js +68 -0
- package/index-D4LFa1We.js.gz +0 -0
- package/index-DpLK467K.js +70 -0
- package/index-DpLK467K.js.gz +0 -0
- package/index.js +27 -2202
- package/package.json +10 -6
- package/packages/create-das-web-app/index.js +307 -289
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js +29 -30
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +301 -289
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css +1 -1
- package/packages/layout/style.css.gz +0 -0
- package/packages/main-app-framework/index-2WWk8ggi.js +9022 -0
- package/packages/main-app-framework/index-2WWk8ggi.js.gz +0 -0
- package/packages/main-app-framework/index-BqkWKMMe.js +70 -0
- package/packages/main-app-framework/index-BqkWKMMe.js.gz +0 -0
- package/packages/main-app-framework/index-CRT8yHn-.js +10 -0
- package/packages/main-app-framework/index-Twj2RXRy.js +68 -0
- package/packages/main-app-framework/index-Twj2RXRy.js.gz +0 -0
- package/packages/main-app-framework/index.js +5 -0
- package/packages/main-app-framework/style.css +1 -0
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/index.js +174 -170
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/style/index.js +5 -2
- package/packages/theme/index.js +38 -39
- package/packages/theme/index.js.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/types/create-das-web-app/index.d.ts +1 -1
- package/types/create-das-web-app/router/index.d.ts +2 -1
- package/types/i18n/index.d.ts +2 -2
- package/types/index.d.ts +1 -0
- package/types/layout/store/index.d.ts +1 -1
- package/types/main-app-framework/business/alarm/api.d.ts +34 -0
- package/types/main-app-framework/business/alarm/components/hooks/use-handle-alarm.d.ts +7 -0
- package/types/main-app-framework/business/alarm/use-alarm.d.ts +12 -0
- package/types/main-app-framework/business/index.d.ts +4 -0
- package/types/main-app-framework/business/message-notify/index.d.ts +1 -0
- package/types/main-app-framework/business/remote-control/apis.d.ts +6 -0
- package/types/main-app-framework/business/remote-control/createServiceConnection.d.ts +3 -0
- package/types/main-app-framework/business/remote-control/index.d.ts +1 -0
- package/types/main-app-framework/business/video-link/api.d.ts +28 -0
- package/types/main-app-framework/business/video-link/index.d.ts +6 -0
- package/types/main-app-framework/business/video-link/open.d.ts +4 -0
- package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +4 -0
- package/types/main-app-framework/business/video-link/video-dialog/hooks/index.d.ts +6 -0
- package/types/main-app-framework/components/entry-page-tip/index.d.ts +3 -0
- package/types/main-app-framework/components/entry-page-tip/src/index.d.ts +1 -0
- package/types/main-app-framework/components/entry-page-tip/src/open.d.ts +5 -0
- package/types/main-app-framework/components/entry-page-tip/theme/index.d.ts +6 -0
- package/types/main-app-framework/components/index.d.ts +3 -0
- package/types/main-app-framework/components/person-set-dialog/index.d.ts +4 -0
- package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +2 -0
- package/types/main-app-framework/components/watermark/index.d.ts +3 -0
- package/types/main-app-framework/components/watermark/src/api.d.ts +1 -0
- package/types/main-app-framework/constant/index.d.ts +6 -0
- package/types/main-app-framework/index.d.ts +28 -0
- package/types/main-app-framework/init-config/get-manu-config/api.d.ts +4 -0
- package/types/main-app-framework/init-config/get-manu-config/getInstanceInfo.d.ts +1 -0
- package/types/main-app-framework/init-config/get-manu-config/index.d.ts +47 -0
- 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 -0
- package/types/main-app-framework/init-config/get-project-config/api.d.ts +4 -0
- package/types/main-app-framework/init-config/get-project-config/index.d.ts +1 -0
- package/types/main-app-framework/init-config/get-system-config/api.d.ts +8 -0
- package/types/main-app-framework/init-config/get-system-config/index.d.ts +11 -0
- package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +6 -0
- package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +6 -0
- package/types/main-app-framework/init-config/index.d.ts +5 -0
- package/types/main-app-framework/init-layout/apis/index.d.ts +2 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/index.d.ts +4 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +8 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-project.d.ts +1 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-search.d.ts +4 -0
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +4 -0
- package/types/main-app-framework/init-layout/hooks/use-entry-app.d.ts +11 -0
- package/types/main-app-framework/init-layout/hooks/use-entry-menu.d.ts +7 -0
- package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +8 -0
- package/types/main-app-framework/init-layout/hooks/use-menu.d.ts +1 -0
- package/types/main-app-framework/init-layout/hooks/use-nav.d.ts +1 -0
- package/types/main-app-framework/init-layout/hooks/use-route-reload-unload.d.ts +4 -0
- package/types/main-app-framework/init-layout/hooks/use-route-watcher.d.ts +3 -0
- package/types/main-app-framework/init-layout/hooks/use-system-confirm.d.ts +1 -0
- package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +5 -0
- package/types/main-app-framework/init-layout/index.d.ts +11 -0
- package/types/main-app-framework/init-layout/store/index.d.ts +4 -0
- package/types/main-app-framework/init-platform/api.d.ts +2 -0
- package/types/main-app-framework/init-platform/index.d.ts +4 -0
- package/types/main-app-framework/micro-apps/index.d.ts +3 -0
- package/types/main-app-framework/micro-apps/use-device-panel-watcher.d.ts +1 -0
- package/types/main-app-framework/micro-apps/use-iot-watcher.d.ts +1 -0
- package/types/main-app-framework/micro-apps/use-user-info-watcher.d.ts +3 -0
- package/types/main-app-framework/pages/app/api.d.ts +2 -0
- package/types/main-app-framework/utils/index.d.ts +3 -0
- package/types/main-app-framework/utils/src/layout-confirm.d.ts +12 -0
- package/types/main-app-framework/utils/src/set-common-info.d.ts +62 -0
- package/types/main-app-framework/utils/src/tools.d.ts +1 -0
- package/types/micro-frontend/store.d.ts +5 -5
- package/types/theme/index.d.ts +1 -1
- package/index.js.gz +0 -0
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
export * from './open';
|
|
@@ -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,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,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,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,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 @@
|
|
|
1
|
+
export declare const useSystemConfirm: () => void;
|
|
@@ -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 @@
|
|
|
1
|
+
export declare const useDevicePanelWatcher: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIotWatcher: () => void;
|
|
@@ -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>;
|
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.js.gz
DELETED
|
Binary file
|