@das-fed/web 6.4.0-test.2.1 → 6.4.0-test.21
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 +3 -1
- package/{index-DC-9kRIP.js → index-BR2K2L20.js} +1 -1
- package/index-CqHbFeJ4.js +81 -0
- package/index-CqHbFeJ4.js.gz +0 -0
- package/index-pa8JpqiR.js +13340 -0
- package/index-pa8JpqiR.js.gz +0 -0
- package/index.js +22 -20
- package/package.json +8 -6
- package/packages/i18n/index.js +172 -31
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +454 -518
- 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-DCVBm-dM.js → index-D-yLFNAt.js} +1 -1
- package/packages/main-app-framework/index-PIgnnyL3.js +11956 -0
- package/packages/main-app-framework/index-PIgnnyL3.js.gz +0 -0
- package/packages/main-app-framework/index-gbopgvrS.js +81 -0
- package/packages/main-app-framework/index-gbopgvrS.js.gz +0 -0
- 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 +316 -304
- 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 +583 -0
- package/types/i18n/index.d.ts +6 -4
- package/types/layout/store/index.d.ts +7 -2
- package/types/layout/store/menu.d.ts +2 -0
- package/types/layout/store/nav.d.ts +2 -1
- 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/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/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 +518 -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 +5 -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-6_iWBDs0.js +0 -7173
- package/index-6_iWBDs0.js.gz +0 -0
- package/index-C9vVY6r3.js +0 -74
- package/index-C9vVY6r3.js.gz +0 -0
- package/packages/main-app-framework/index-DHWdFr1t.js +0 -5859
- package/packages/main-app-framework/index-DHWdFr1t.js.gz +0 -0
- package/packages/main-app-framework/index-DiKwf0Vc.js +0 -74
- package/packages/main-app-framework/index-DiKwf0Vc.js.gz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** 系统配置===姚凯提供的 */
|
|
2
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
3
|
export declare const useChangeEnterprise: () => {
|
|
4
|
-
changeEnterprisesVisible: import('vue').Ref<any
|
|
5
|
-
userId: import('vue').Ref<any
|
|
6
|
-
tenantId: import('vue').Ref<any
|
|
4
|
+
changeEnterprisesVisible: import('vue').Ref<any>;
|
|
5
|
+
userId: import('vue').Ref<any>;
|
|
6
|
+
tenantId: import('vue').Ref<any>;
|
|
7
7
|
changeEnterprise: (tenantId: string) => any;
|
|
8
8
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
declare const useLayoutInit: (platformInitNextTick: () => Promise<any>) => {
|
|
2
|
-
loading: import('vue').Ref<any
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
loading: import('vue').Ref<any>;
|
|
3
|
+
pageKey: import('vue').Ref<any>;
|
|
4
|
+
innerPage: import('vue').Ref<any>;
|
|
5
|
+
commandList: import('vue').Ref<any>;
|
|
6
|
+
layoutInited: import('vue').Ref<any>;
|
|
6
7
|
initNextTick: () => Promise<void>;
|
|
7
8
|
};
|
|
8
9
|
export { useLayoutInit };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const useTabs: () => {
|
|
2
|
-
fontColor: import('vue').Ref<any
|
|
3
|
-
backgroudColor: import('vue').Ref<any
|
|
4
|
-
borderColor: import('vue').Ref<any
|
|
2
|
+
fontColor: import('vue').Ref<any>;
|
|
3
|
+
backgroudColor: import('vue').Ref<any>;
|
|
4
|
+
borderColor: import('vue').Ref<any>;
|
|
5
5
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type EncryptCallBackValue = {
|
|
2
|
+
value: null | string;
|
|
3
|
+
error: string | null;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* 加密
|
|
7
|
+
* @param options 配置项
|
|
8
|
+
* @param cryptoContent 带加密内容
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
declare const encrypt: (options: {
|
|
12
|
+
[k: string]: any;
|
|
13
|
+
} | undefined, cryptoContent: string) => Promise<EncryptCallBackValue>;
|
|
14
|
+
export { encrypt };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EncryptCallBackValue } from './type';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* aes 加密
|
|
5
|
+
* @param {string} encrypt
|
|
6
|
+
* @param {string} key
|
|
7
|
+
* @param {Object} options 配置对象, 可配置如下
|
|
8
|
+
* options.mode {String} 加密模式, 值 可能为 CBC (默认值) CFB OFB ECB, 如果是其他值 报错
|
|
9
|
+
* options.keySize {Number},秘钥长度字节数, 共三种可能, 为16, 24, 32, 如果是其他值, 返回 错误
|
|
10
|
+
* options.padding {String}, 填充, 值可能为 pkcs7(默认) pkcs5 zero iso10126 ansix923, 如果是其他值报错
|
|
11
|
+
* options.encoding {String} 输出的编码, base64 (默认) hex , 如果是其他, 报错
|
|
12
|
+
* options.iv {String} 偏移量, 当是 ECB模式时,要为空, 哪怕赋值也会被忽略, 其他模式不能为空
|
|
13
|
+
*
|
|
14
|
+
* @param {Function} complete 参数为 Object,其中
|
|
15
|
+
* object.value: 加密后的内容, 如果加密失败 则是 null
|
|
16
|
+
* object.error: 加密失败后的 错误提示
|
|
17
|
+
*/
|
|
18
|
+
declare function aes(encrypt: string, key: string, options: {
|
|
19
|
+
[k: string]: any;
|
|
20
|
+
}, complete: (p: EncryptCallBackValue) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* des 加密
|
|
23
|
+
* @param {string} encrypt
|
|
24
|
+
* @param {string} key
|
|
25
|
+
* @param {Object} options 配置对象, 可配置如下
|
|
26
|
+
* options.mode {String} 加密模式, 值 可能为 CBC (默认值) CFB OFB ECB, 如果是其他值 报错
|
|
27
|
+
* options.padding {String}, 填充, 值可能为 pkcs7(默认) pkcs5 zero iso10126 ansix923, 如果是其他值报错
|
|
28
|
+
* options.encoding {String} 输出的编码, base64 (默认) hex , 如果是其他, 报错
|
|
29
|
+
* options.iv {String} 偏移量, 当是 ECB模式时,要为空, 哪怕赋值也会被忽略, 其他模式不能为空
|
|
30
|
+
*
|
|
31
|
+
* @param {Function} complete 参数为 Object,其中
|
|
32
|
+
* object.value: 加密后的内容, 如果加密失败 则是 null
|
|
33
|
+
* object.error: 加密失败后的 错误提示
|
|
34
|
+
*/
|
|
35
|
+
declare function des(encrypt: string, key: string, options: {
|
|
36
|
+
[k: string]: any;
|
|
37
|
+
}, complete: (p: EncryptCallBackValue) => void): void;
|
|
38
|
+
declare const encryptUtil: {
|
|
39
|
+
aes: typeof aes;
|
|
40
|
+
des: typeof des;
|
|
41
|
+
};
|
|
42
|
+
export { encryptUtil };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum InnerParamType {
|
|
2
|
+
USER_ACCOUNT = "USER_ACCOUNT",
|
|
3
|
+
USER_PHONE = "USER_PHONE",
|
|
4
|
+
USER_TOKEN = "USER_TOKEN",
|
|
5
|
+
CURRENT_PROJECT = "CURRENT_PROJECT",
|
|
6
|
+
USER_NAME = "USER_NAME",
|
|
7
|
+
USER_NICKNAME = "USER_NICKNAME"
|
|
8
|
+
}
|
|
9
|
+
export declare enum HTMLQueryParamType {
|
|
10
|
+
TEXT = "TEXT",
|
|
11
|
+
JSON = "JSON"
|
|
12
|
+
}
|
|
13
|
+
export type EncryptCallBackValue = {
|
|
14
|
+
value: null | string;
|
|
15
|
+
error: string | null;
|
|
16
|
+
};
|
|
@@ -5,13 +5,15 @@ export declare const setTenantInfo: (data?: any) => void;
|
|
|
5
5
|
/** 清除租户信息 */
|
|
6
6
|
export declare const clearTenantInfo: () => void;
|
|
7
7
|
/** 存储首页信息 */
|
|
8
|
-
export declare const setHomeInfo: (data?:
|
|
8
|
+
export declare const setHomeInfo: (data?: any) => void;
|
|
9
9
|
/** 存储favIcon */
|
|
10
|
-
export declare const setFavIcon: (data
|
|
10
|
+
export declare const setFavIcon: (data?: string) => void;
|
|
11
11
|
/** 清除首页信息 */
|
|
12
12
|
export declare const clearHomeInfo: () => void;
|
|
13
13
|
/** 存储项目信息 */
|
|
14
14
|
export declare const setProjectInfo: (data: any) => void;
|
|
15
|
+
/** 存储项目详细信息 */
|
|
16
|
+
export declare const setProjectMessage: (data?: any) => void;
|
|
15
17
|
/** 清除项目数据 */
|
|
16
18
|
export declare const clearProjectInfo: () => void;
|
|
17
19
|
/** 存储标签页信息,如果传入对象则进行该项替换 */
|
|
@@ -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>;
|
|
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>;
|
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>;
|
|
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;
|