@ibiz-template/core 0.7.40 → 0.7.41-alpha.101
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/dist/index.esm.js +81 -15
- package/dist/index.system.min.js +1 -1
- package/out/context/index.d.ts.map +1 -1
- package/out/environment/environment.d.ts.map +1 -1
- package/out/environment/environment.js +8 -1
- package/out/error/http-error/http-error.d.ts +2 -2
- package/out/error/http-error/http-error.d.ts.map +1 -1
- package/out/interface/api/chat-message/i-api-chat-message.d.ts +63 -0
- package/out/interface/api/chat-message/i-api-chat-message.d.ts.map +1 -0
- package/out/interface/api/chat-message/i-api-chat-message.js +1 -0
- package/out/interface/api/chat-message/index.d.ts +2 -0
- package/out/interface/api/chat-message/index.d.ts.map +1 -0
- package/out/interface/api/chat-message/index.js +1 -0
- package/out/interface/api/environment/i-devtool-config.d.ts +11 -1
- package/out/interface/api/environment/i-devtool-config.d.ts.map +1 -1
- package/out/interface/api/environment/i-environment.d.ts +138 -1
- package/out/interface/api/environment/i-environment.d.ts.map +1 -1
- package/out/interface/api/ibizsys/i-app-data.d.ts +57 -0
- package/out/interface/api/ibizsys/i-app-data.d.ts.map +1 -0
- package/out/interface/api/ibizsys/i-app-data.js +1 -0
- package/out/interface/api/ibizsys/i-org-data.d.ts +1 -1
- package/out/interface/api/ibizsys/index.d.ts +1 -0
- package/out/interface/api/ibizsys/index.d.ts.map +1 -1
- package/out/interface/api/index.d.ts +1 -0
- package/out/interface/api/index.d.ts.map +1 -1
- package/out/interface/api/index.js +1 -0
- package/out/interface/api/utils/i-api-i18n.d.ts +9 -9
- package/out/interface/api/utils/index.d.ts +1 -0
- package/out/interface/api/utils/index.d.ts.map +1 -1
- package/out/interface/api/utils/message-center/base/i-message-base.d.ts +3 -3
- package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts +1 -1
- package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts +1 -1
- package/out/interface/api/utils/message-center/command/i-message-command.d.ts +1 -1
- package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts +1 -1
- package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts +1 -1
- package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts +5 -0
- package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts.map +1 -1
- package/out/interface/api/utils/message-center/common/i-portal-message.d.ts +3 -3
- package/out/interface/api/utils/message-center/console/i-message-console.d.ts +1 -1
- package/out/interface/api/utils/message-center/error/i-message-error.d.ts +1 -1
- package/out/interface/api/utils/message-center/i-message-center.d.ts +2 -2
- package/out/interface/api/utils/net/i-api-http-error.d.ts +39 -0
- package/out/interface/api/utils/net/i-api-http-error.d.ts.map +1 -0
- package/out/interface/api/utils/net/i-api-http-error.js +1 -0
- package/out/interface/api/utils/net/i-api-net.d.ts +1 -1
- package/out/interface/i-chat-message/i-chat-message.d.ts +2 -49
- package/out/interface/i-chat-message/i-chat-message.d.ts.map +1 -1
- package/out/utils/download-file/download-file.d.ts.map +1 -1
- package/out/utils/download-file/download-file.js +11 -1
- package/out/utils/interceptor/core-interceptor.js +2 -1
- package/out/utils/net/http-response.d.ts +2 -1
- package/out/utils/net/http-response.d.ts.map +1 -1
- package/out/utils/net/http-response.js +5 -1
- package/out/utils/net/net.d.ts +1 -1
- package/out/utils/net/net.d.ts.map +1 -1
- package/out/utils/net/net.js +8 -0
- package/out/utils/recursive/find-recursive-child.d.ts +20 -0
- package/out/utils/recursive/find-recursive-child.d.ts.map +1 -1
- package/out/utils/recursive/find-recursive-child.js +69 -7
- package/out/utils/string-util/string-util.d.ts.map +1 -1
- package/out/utils/string-util/string-util.js +2 -4
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C;;;;;GAKG;AACH,qBAAa,WAAY,YAAW,YAAY;IAE9C,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;OAIG;IACK,QAAQ,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACK,YAAY,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,UAAkB,mBAAmB,EAAE,WAAW,EAAE,CAAC;IAErD;;;;;OAKG;IACH,UAAkB,QAAQ,EAAE,KAAK,CAAC;IAElC;;;;OAIG;IACK,OAAO,CAAC,EAAE,QAAQ,CAAC;IAE3B;;;;;OAKG;IACH,OAAO;IAeP;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAiDtB;;;;OAIG;IACH,aAAa,IAAI,KAAK;IAgBtB;;;OAGG;IACH,OAAO,IAAI,IAAI;IAQf;;;;OAIG;IACH,KAAK,IAAI,WAAW;IASpB;;;;OAIG;IACH,SAAS,IAAI,KAAK;IAQlB;;;;;OAKG;IACH,KAAK,CAAC,OAAO,GAAE,KAAU,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI;IA0BnD;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW;CAG/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/environment/environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,cAAc,CAAC;AAE3E,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/environment/environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,cAAc,CAAC;AAE3E,eAAO,MAAM,WAAW,EAAE,YA6DzB,CAAC"}
|
|
@@ -23,6 +23,7 @@ export const Environment = {
|
|
|
23
23
|
// 配置示例 DefaultOSSCat=cat
|
|
24
24
|
downloadFileUrl: '/ibizutil/download/{cat}',
|
|
25
25
|
uploadFileUrl: '/ibizutil/upload/{cat}',
|
|
26
|
+
defaultOSSCat: '',
|
|
26
27
|
casLoginUrl: '',
|
|
27
28
|
loginMode: LoginMode.DEFAULT,
|
|
28
29
|
menuPermissionMode: MenuPermissionMode.MIXIN,
|
|
@@ -53,5 +54,11 @@ export const Environment = {
|
|
|
53
54
|
enableAI: true,
|
|
54
55
|
aMapSecurityJsCode: '',
|
|
55
56
|
aMapKey: '',
|
|
56
|
-
runContainer: '
|
|
57
|
+
runContainer: 'DYNAENGINE',
|
|
58
|
+
mobWeChatAppId: '',
|
|
59
|
+
isPortalApp: false,
|
|
60
|
+
isEnableMobLoading: false,
|
|
61
|
+
mobLoadingCaption: '',
|
|
62
|
+
mobLoadingDescription: '',
|
|
63
|
+
mobLoadingBackground: '',
|
|
57
64
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
|
-
import { InputError } from '../../interface';
|
|
2
|
+
import { IApiHttpError, InputError } from '../../interface';
|
|
3
3
|
/**
|
|
4
4
|
* @description 请求异常
|
|
5
5
|
* @export
|
|
6
6
|
* @class HttpError
|
|
7
7
|
* @extends {Error}
|
|
8
8
|
*/
|
|
9
|
-
export declare class HttpError extends Error {
|
|
9
|
+
export declare class HttpError extends Error implements IApiHttpError {
|
|
10
10
|
name: string;
|
|
11
11
|
message: string;
|
|
12
12
|
status: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-error.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/http-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"http-error.d.ts","sourceRoot":"","sources":["../../../src/error/http-error/http-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE5D;;;;;GAKG;AACH,qBAAa,SAAU,SAAQ,KAAM,YAAW,aAAa;IAC3D,IAAI,EAAE,MAAM,CAAe;IAE3B,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IAEZ,QAAQ,CAAC,EAAE,aAAa,CAAC;gBAEb,GAAG,EAAE,UAAU;CA8B5B"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { IApiData } from '../global-param';
|
|
2
|
+
/**
|
|
3
|
+
* @description AI聊天消息
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IApiChatMessage
|
|
6
|
+
*/
|
|
7
|
+
export interface IApiChatMessage {
|
|
8
|
+
/**
|
|
9
|
+
* @description 消息标识
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof IApiChatMessage
|
|
12
|
+
*/
|
|
13
|
+
messageid?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @description 消息名称
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof IApiChatMessage
|
|
18
|
+
*/
|
|
19
|
+
messagename?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @description 消息类型
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof IApiChatMessage
|
|
24
|
+
*/
|
|
25
|
+
type?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @description 消息子类型
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IApiChatMessage
|
|
30
|
+
*/
|
|
31
|
+
subtype?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @description 消息角色
|
|
34
|
+
* @type {('ASSISTANT' | 'USER' | 'SYSTEM')} 助手 | 用户 | 系统
|
|
35
|
+
* @memberof IApiChatMessage
|
|
36
|
+
*/
|
|
37
|
+
role: 'ASSISTANT' | 'USER' | 'SYSTEM';
|
|
38
|
+
/**
|
|
39
|
+
* @description 内容摘要
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof IApiChatMessage
|
|
42
|
+
*/
|
|
43
|
+
content: string;
|
|
44
|
+
/**
|
|
45
|
+
* @description 消息数据
|
|
46
|
+
* @type {(IApiData | string | unknown)}
|
|
47
|
+
* @memberof IApiChatMessage
|
|
48
|
+
*/
|
|
49
|
+
data?: IApiData | string | unknown;
|
|
50
|
+
/**
|
|
51
|
+
* @description 消息路径
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof IApiChatMessage
|
|
54
|
+
*/
|
|
55
|
+
url?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @description 内容(排除排除think、resources、suggesions内容)
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof IApiChatMessage
|
|
60
|
+
*/
|
|
61
|
+
realcontent?: string;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=i-api-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/chat-message/i-api-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;IAEtC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAEnC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/chat-message/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,18 +9,24 @@ export interface IDevToolConfig {
|
|
|
9
9
|
* @description 配置平台基础路径
|
|
10
10
|
* @type {string}
|
|
11
11
|
* @default https://open.ibizlab.cn/modeldesign/#/
|
|
12
|
+
* @platform web
|
|
13
|
+
* @platform mob
|
|
12
14
|
* @memberof IDevToolConfig
|
|
13
15
|
*/
|
|
14
16
|
studioBaseUrl?: string;
|
|
15
17
|
/**
|
|
16
18
|
* @description 模型预览宽度
|
|
17
19
|
* @type {number}
|
|
20
|
+
* @platform web
|
|
21
|
+
* @platform mob
|
|
18
22
|
* @memberof IDevToolConfig
|
|
19
23
|
*/
|
|
20
24
|
modelPreviewWidth?: number;
|
|
21
25
|
/**
|
|
22
26
|
* @description 日志级别
|
|
23
27
|
* @type {LogLevelDesc}
|
|
28
|
+
* @platform web
|
|
29
|
+
* @platform mob
|
|
24
30
|
* @memberof IDevToolConfig
|
|
25
31
|
*/
|
|
26
32
|
logLevel?: LogLevelDesc;
|
|
@@ -28,13 +34,17 @@ export interface IDevToolConfig {
|
|
|
28
34
|
* @description 是否启用v9模式
|
|
29
35
|
* @type {boolean}
|
|
30
36
|
* @default false
|
|
37
|
+
* @platform web
|
|
38
|
+
* @platform mob
|
|
31
39
|
* @memberof IDevToolConfig
|
|
32
40
|
*/
|
|
33
41
|
v9Mode?: boolean;
|
|
34
42
|
/**
|
|
35
43
|
* @description 默认打开模式
|
|
36
44
|
* @type {('open' | 'close')}
|
|
37
|
-
* @default
|
|
45
|
+
* @default close
|
|
46
|
+
* @platform web
|
|
47
|
+
* @platform mob
|
|
38
48
|
* @memberof IDevToolConfig
|
|
39
49
|
*/
|
|
40
50
|
defaultMode?: 'open' | 'close';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-devtool-config.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/environment/i-devtool-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B
|
|
1
|
+
{"version":3,"file":"i-devtool-config.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/environment/i-devtool-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAChC"}
|
|
@@ -14,6 +14,8 @@ export interface IEnvironment {
|
|
|
14
14
|
* @description 样式bem的命名空间
|
|
15
15
|
* @default ibiz
|
|
16
16
|
* @type {string}
|
|
17
|
+
* @platform web
|
|
18
|
+
* @platform mob
|
|
17
19
|
* @memberof IEnvironment
|
|
18
20
|
*/
|
|
19
21
|
namespace?: string;
|
|
@@ -21,6 +23,8 @@ export interface IEnvironment {
|
|
|
21
23
|
* @description 是否为开发模式
|
|
22
24
|
* @type {boolean}
|
|
23
25
|
* @default false
|
|
26
|
+
* @platform web
|
|
27
|
+
* @platform mob
|
|
24
28
|
* @memberof IEnvironment
|
|
25
29
|
*/
|
|
26
30
|
dev: boolean;
|
|
@@ -28,6 +32,8 @@ export interface IEnvironment {
|
|
|
28
32
|
* @description 是否为多应用 hub 基座模式
|
|
29
33
|
* @type {boolean}
|
|
30
34
|
* @default true
|
|
35
|
+
* @platform web
|
|
36
|
+
* @platform mob
|
|
31
37
|
* @memberof IEnvironment
|
|
32
38
|
*/
|
|
33
39
|
hub: boolean;
|
|
@@ -35,6 +41,8 @@ export interface IEnvironment {
|
|
|
35
41
|
* @description 是否启用 mqtt (ws模式消息)
|
|
36
42
|
* @type {boolean}
|
|
37
43
|
* @default false
|
|
44
|
+
* @platform web
|
|
45
|
+
* @platform mob
|
|
38
46
|
* @memberof IEnvironment
|
|
39
47
|
*/
|
|
40
48
|
enableMqtt: boolean;
|
|
@@ -42,12 +50,16 @@ export interface IEnvironment {
|
|
|
42
50
|
* @description mqtt 默认连接地址,emq 服务地址 /portal/mqtt/mqtt, rebbitmq 服务地址 /portal/mqtt/ws
|
|
43
51
|
* @type {string}
|
|
44
52
|
* @default /portal/mqtt/mqtt
|
|
53
|
+
* @platform web
|
|
54
|
+
* @platform mob
|
|
45
55
|
* @memberof IEnvironment
|
|
46
56
|
*/
|
|
47
57
|
mqttUrl: string;
|
|
48
58
|
/**
|
|
49
59
|
* @description 默认应用的应用标识
|
|
50
60
|
* @type {string}
|
|
61
|
+
* @platform web
|
|
62
|
+
* @platform mob
|
|
51
63
|
* @memberof IEnvironment
|
|
52
64
|
*/
|
|
53
65
|
appId: string;
|
|
@@ -55,6 +67,8 @@ export interface IEnvironment {
|
|
|
55
67
|
* @description 日志级别,使用`loglevel`插件包生成
|
|
56
68
|
* @type {LogLevelDesc}
|
|
57
69
|
* @default ERROR
|
|
70
|
+
* @platform web
|
|
71
|
+
* @platform mob
|
|
58
72
|
* @memberof IEnvironment
|
|
59
73
|
*/
|
|
60
74
|
logLevel: LogLevelDesc;
|
|
@@ -62,6 +76,8 @@ export interface IEnvironment {
|
|
|
62
76
|
* @description 请求根路径
|
|
63
77
|
* @type {string}
|
|
64
78
|
* @default /api
|
|
79
|
+
* @platform web
|
|
80
|
+
* @platform mob
|
|
65
81
|
* @memberof IEnvironment
|
|
66
82
|
*/
|
|
67
83
|
baseUrl: string;
|
|
@@ -69,6 +85,8 @@ export interface IEnvironment {
|
|
|
69
85
|
* @description 插件默认所在目录,获取插件时根据该值拼接出完整的url
|
|
70
86
|
* @type {string}
|
|
71
87
|
* @default http://172.16.240.221
|
|
88
|
+
* @platform web
|
|
89
|
+
* @platform mob
|
|
72
90
|
* @memberof IEnvironment
|
|
73
91
|
*/
|
|
74
92
|
pluginBaseUrl: string;
|
|
@@ -76,18 +94,24 @@ export interface IEnvironment {
|
|
|
76
94
|
* @description 登录模式;DEFAULT: 默认标准登录,CUSTOM: 自定义登录,CAS: 中央认证登录,OAUTH: oauth登录
|
|
77
95
|
* @type {LoginMode}
|
|
78
96
|
* @default DEFAULT
|
|
97
|
+
* @platform web
|
|
98
|
+
* @platform mob
|
|
79
99
|
* @memberof IEnvironment
|
|
80
100
|
*/
|
|
81
101
|
loginMode: LoginMode;
|
|
82
102
|
/**
|
|
83
103
|
* @description oauth 开放接入标识
|
|
84
104
|
* @type {string}
|
|
105
|
+
* @platform web
|
|
106
|
+
* @platform mob
|
|
85
107
|
* @memberof IEnvironment
|
|
86
108
|
*/
|
|
87
109
|
oauthOpenAccessId: string;
|
|
88
110
|
/**
|
|
89
111
|
* @description 中央认证登录地址
|
|
90
112
|
* @type {string}
|
|
113
|
+
* @platform web
|
|
114
|
+
* @platform mob
|
|
91
115
|
* @memberof IEnvironment
|
|
92
116
|
*/
|
|
93
117
|
casLoginUrl: string;
|
|
@@ -102,6 +126,8 @@ export interface IEnvironment {
|
|
|
102
126
|
* @description 远程模型路径
|
|
103
127
|
* @type {string}
|
|
104
128
|
* @default /remotemodel
|
|
129
|
+
* @platform web
|
|
130
|
+
* @platform mob
|
|
105
131
|
* @memberof IEnvironment
|
|
106
132
|
*/
|
|
107
133
|
remoteModelUrl: string;
|
|
@@ -109,12 +135,16 @@ export interface IEnvironment {
|
|
|
109
135
|
* @description 资源文件根路径
|
|
110
136
|
* @type {string}
|
|
111
137
|
* @default ./assets
|
|
138
|
+
* @platform web
|
|
139
|
+
* @platform mob
|
|
112
140
|
* @memberof IEnvironment
|
|
113
141
|
*/
|
|
114
142
|
assetsUrl: string;
|
|
115
143
|
/**
|
|
116
144
|
* @description 中心系统标识
|
|
117
145
|
* @type {string}
|
|
146
|
+
* @platform web
|
|
147
|
+
* @platform mob
|
|
118
148
|
* @memberof IEnvironment
|
|
119
149
|
*/
|
|
120
150
|
dcSystem: string;
|
|
@@ -122,6 +152,8 @@ export interface IEnvironment {
|
|
|
122
152
|
* @description 文件下载url
|
|
123
153
|
* @type {string}
|
|
124
154
|
* @default /ibizutil/download/{cat}
|
|
155
|
+
* @platform web
|
|
156
|
+
* @platform mob
|
|
125
157
|
* @memberof IEnvironment
|
|
126
158
|
*/
|
|
127
159
|
downloadFileUrl: string;
|
|
@@ -129,13 +161,26 @@ export interface IEnvironment {
|
|
|
129
161
|
* @description 文件上传url
|
|
130
162
|
* @type {string}
|
|
131
163
|
* @default /ibizutil/upload/{cat}
|
|
164
|
+
* @platform web
|
|
165
|
+
* @platform mob
|
|
132
166
|
* @memberof IEnvironment
|
|
133
167
|
*/
|
|
134
168
|
uploadFileUrl: string;
|
|
169
|
+
/**
|
|
170
|
+
* @description 上传文件存储目录
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @default '''
|
|
173
|
+
* @platform web
|
|
174
|
+
* @platform mob
|
|
175
|
+
* @memberof IEnvironment
|
|
176
|
+
*/
|
|
177
|
+
defaultOSSCat: string;
|
|
135
178
|
/**
|
|
136
179
|
* @description 是否启用权限校验(默认true)
|
|
137
180
|
* @type {boolean}
|
|
138
181
|
* @default true
|
|
182
|
+
* @platform web
|
|
183
|
+
* @platform mob
|
|
139
184
|
* @memberof IEnvironment
|
|
140
185
|
*/
|
|
141
186
|
enablePermission: boolean;
|
|
@@ -149,7 +194,9 @@ export interface IEnvironment {
|
|
|
149
194
|
/**
|
|
150
195
|
* @description 路由占位符
|
|
151
196
|
* @type {string}
|
|
152
|
-
* @default
|
|
197
|
+
* @default `-`
|
|
198
|
+
* @platform web
|
|
199
|
+
* @platform mob
|
|
153
200
|
* @memberof IEnvironment
|
|
154
201
|
*/
|
|
155
202
|
routePlaceholder: string;
|
|
@@ -164,6 +211,8 @@ export interface IEnvironment {
|
|
|
164
211
|
* @description 是否启用加密,加密模式为RSA加密
|
|
165
212
|
* @type {boolean}
|
|
166
213
|
* @default false
|
|
214
|
+
* @platform web
|
|
215
|
+
* @platform mob
|
|
167
216
|
* @memberof IEnvironment
|
|
168
217
|
*/
|
|
169
218
|
enableEncryption: boolean;
|
|
@@ -171,18 +220,23 @@ export interface IEnvironment {
|
|
|
171
220
|
* @description 应用loadding主题
|
|
172
221
|
* @type {('DEFAULT' | 'DARK' | 'LIGHT')}
|
|
173
222
|
* @default DEFAULT
|
|
223
|
+
* @platform web
|
|
174
224
|
* @memberof IEnvironment
|
|
175
225
|
*/
|
|
176
226
|
appLoadingTheme: 'DEFAULT' | 'DARK' | 'LIGHT';
|
|
177
227
|
/**
|
|
178
228
|
* @description 应用标题
|
|
179
229
|
* @type {string}
|
|
230
|
+
* @platform web
|
|
231
|
+
* @platform mob
|
|
180
232
|
* @memberof IEnvironment
|
|
181
233
|
*/
|
|
182
234
|
AppTitle?: string;
|
|
183
235
|
/**
|
|
184
236
|
* @description 应用标记
|
|
185
237
|
* @type {string}
|
|
238
|
+
* @platform web
|
|
239
|
+
* @platform mob
|
|
186
240
|
* @memberof IEnvironment
|
|
187
241
|
*/
|
|
188
242
|
AppLabel?: string;
|
|
@@ -190,6 +244,8 @@ export interface IEnvironment {
|
|
|
190
244
|
* @description 是否为 SaaS 模式
|
|
191
245
|
* @type {boolean}
|
|
192
246
|
* @default true
|
|
247
|
+
* @platform web
|
|
248
|
+
* @platform mob
|
|
193
249
|
* @memberof IEnvironment
|
|
194
250
|
*/
|
|
195
251
|
isSaaSMode?: boolean;
|
|
@@ -197,6 +253,7 @@ export interface IEnvironment {
|
|
|
197
253
|
* @description 是否为移动端应用
|
|
198
254
|
* @type {boolean}
|
|
199
255
|
* @default false
|
|
256
|
+
* @platform mob
|
|
200
257
|
* @memberof IEnvironment
|
|
201
258
|
*/
|
|
202
259
|
isMob?: boolean;
|
|
@@ -204,6 +261,7 @@ export interface IEnvironment {
|
|
|
204
261
|
* @description 应用图标地址
|
|
205
262
|
* @type {string}
|
|
206
263
|
* @default ./favicon.ico
|
|
264
|
+
* @platform web
|
|
207
265
|
* @memberof IEnvironment
|
|
208
266
|
*/
|
|
209
267
|
favicon?: string;
|
|
@@ -211,18 +269,24 @@ export interface IEnvironment {
|
|
|
211
269
|
* @description 是否启用多语言,此值是默认加载后,根据应用模型中的配置来决定是否启用多语言。请勿手动修改此值
|
|
212
270
|
* @type {boolean}
|
|
213
271
|
* @default false
|
|
272
|
+
* @platform web
|
|
273
|
+
* @platform mob
|
|
214
274
|
* @memberof IEnvironment
|
|
215
275
|
*/
|
|
216
276
|
isEnableMultiLan?: boolean;
|
|
217
277
|
/**
|
|
218
278
|
* @description 匿名用户名
|
|
219
279
|
* @type {string}
|
|
280
|
+
* @platform web
|
|
281
|
+
* @platform mob
|
|
220
282
|
* @memberof IEnvironment
|
|
221
283
|
*/
|
|
222
284
|
anonymousUser?: string;
|
|
223
285
|
/**
|
|
224
286
|
* @description 匿名用户密码
|
|
225
287
|
* @type {string}
|
|
288
|
+
* @platform web
|
|
289
|
+
* @platform mob
|
|
226
290
|
* @memberof IEnvironment
|
|
227
291
|
*/
|
|
228
292
|
anonymousPwd?: string;
|
|
@@ -230,6 +294,8 @@ export interface IEnvironment {
|
|
|
230
294
|
* @description 启用匿名模式
|
|
231
295
|
* @type {boolean}
|
|
232
296
|
* @default false
|
|
297
|
+
* @platform web
|
|
298
|
+
* @platform mob
|
|
233
299
|
* @memberof IEnvironment
|
|
234
300
|
*/
|
|
235
301
|
enableAnonymous?: boolean;
|
|
@@ -237,18 +303,23 @@ export interface IEnvironment {
|
|
|
237
303
|
* @description 访问数据存储区域
|
|
238
304
|
* @type {('COOKIE' | 'LOCALSTORAGE' | 'SESSIONSTORAGE')}
|
|
239
305
|
* @default COOKIE
|
|
306
|
+
* @platform web
|
|
307
|
+
* @platform mob
|
|
240
308
|
* @memberof IEnvironment
|
|
241
309
|
*/
|
|
242
310
|
accessStoreArea: 'COOKIE' | 'LOCALSTORAGE' | 'SESSIONSTORAGE';
|
|
243
311
|
/**
|
|
244
312
|
* @description 市场地址,与实体子应用引用视图配合使用
|
|
245
313
|
* @type {string}
|
|
314
|
+
* @platform web
|
|
246
315
|
* @memberof IEnvironment
|
|
247
316
|
*/
|
|
248
317
|
marketAddress?: string;
|
|
249
318
|
/**
|
|
250
319
|
* @description devtool的配置对象
|
|
251
320
|
* @type {IDevToolConfig}
|
|
321
|
+
* @platform web
|
|
322
|
+
* @platform mob
|
|
252
323
|
* @memberof IEnvironment
|
|
253
324
|
*/
|
|
254
325
|
devtoolConfig?: IDevToolConfig;
|
|
@@ -256,30 +327,39 @@ export interface IEnvironment {
|
|
|
256
327
|
* @description 是否启用title,是否hover时线上title提示
|
|
257
328
|
* @type {boolean}
|
|
258
329
|
* @default true
|
|
330
|
+
* @platform web
|
|
259
331
|
* @memberof IEnvironment
|
|
260
332
|
*/
|
|
261
333
|
enableTitle?: boolean;
|
|
262
334
|
/**
|
|
263
335
|
* @description token头
|
|
264
336
|
* @type {string}
|
|
337
|
+
* @platform web
|
|
338
|
+
* @platform mob
|
|
265
339
|
* @memberof IEnvironment
|
|
266
340
|
*/
|
|
267
341
|
tokenHeader?: string;
|
|
268
342
|
/**
|
|
269
343
|
* @description token前缀
|
|
270
344
|
* @type {string}
|
|
345
|
+
* @platform web
|
|
346
|
+
* @platform mob
|
|
271
347
|
* @memberof IEnvironment
|
|
272
348
|
*/
|
|
273
349
|
tokenPrefix?: string;
|
|
274
350
|
/**
|
|
275
351
|
* @description 自定义动态参数,格式如:{\"XXX\":\"YYY\",\"AAA\":\"BBB\"}
|
|
276
352
|
* @type {IApiParams}
|
|
353
|
+
* @platform web
|
|
354
|
+
* @platform mob
|
|
277
355
|
* @memberof IEnvironment
|
|
278
356
|
*/
|
|
279
357
|
customParams?: IApiParams;
|
|
280
358
|
/**
|
|
281
359
|
* @description 定义cookie作用域
|
|
282
360
|
* @type {string}
|
|
361
|
+
* @platform web
|
|
362
|
+
* @platform mob
|
|
283
363
|
* @memberof IEnvironment
|
|
284
364
|
*/
|
|
285
365
|
cookieDomain?: string;
|
|
@@ -287,6 +367,8 @@ export interface IEnvironment {
|
|
|
287
367
|
* @description 环境类型
|
|
288
368
|
* @type {('development' | 'test' | 'production')}
|
|
289
369
|
* @default development
|
|
370
|
+
* @platform web
|
|
371
|
+
* @platform mob
|
|
290
372
|
* @memberof IEnvironment
|
|
291
373
|
*/
|
|
292
374
|
environmentTag?: 'development' | 'test' | 'production';
|
|
@@ -294,6 +376,7 @@ export interface IEnvironment {
|
|
|
294
376
|
* @description 移动端菜单呈现模式,DEFAULT:菜单映射的页面菜单显示,非菜单映射的页面菜单不显示;ALWAYS:所有页面菜单都显示,默认:DEFAULT
|
|
295
377
|
* @type {('DEFAULT' | 'ALWAYS')}
|
|
296
378
|
* @default DEFAULT
|
|
379
|
+
* @platform mob
|
|
297
380
|
* @memberof IEnvironment
|
|
298
381
|
*/
|
|
299
382
|
mobMenuShowMode?: 'DEFAULT' | 'ALWAYS';
|
|
@@ -301,32 +384,86 @@ export interface IEnvironment {
|
|
|
301
384
|
* @description 是否启用AI支持
|
|
302
385
|
* @type {boolean}
|
|
303
386
|
* @default true
|
|
387
|
+
* @platform web
|
|
304
388
|
* @memberof IEnvironment
|
|
305
389
|
*/
|
|
306
390
|
enableAI: boolean;
|
|
307
391
|
/**
|
|
308
392
|
* @description 应用版本号
|
|
309
393
|
* @type {string}
|
|
394
|
+
* @platform web
|
|
395
|
+
* @platform mob
|
|
310
396
|
* @memberof IEnvironment
|
|
311
397
|
*/
|
|
312
398
|
appVersion?: string;
|
|
313
399
|
/**
|
|
314
400
|
* @description 高德地图安全密钥
|
|
315
401
|
* @type {string}
|
|
402
|
+
* @platform web
|
|
403
|
+
* @platform mob
|
|
316
404
|
* @memberof IEnvironment
|
|
317
405
|
*/
|
|
318
406
|
aMapSecurityJsCode?: string;
|
|
319
407
|
/**
|
|
320
408
|
* @description 高德地图key
|
|
321
409
|
* @type {string}
|
|
410
|
+
* @platform web
|
|
411
|
+
* @platform mob
|
|
322
412
|
* @memberof IEnvironment
|
|
323
413
|
*/
|
|
324
414
|
aMapKey?: string;
|
|
325
415
|
/**
|
|
326
416
|
* @description 运行容器
|
|
327
417
|
* @type {('DYNAENGINE' | 'FULLCODE')} 动态引擎 | 全代码
|
|
418
|
+
* @platform web
|
|
419
|
+
* @platform mob
|
|
328
420
|
* @memberof IEnvironment
|
|
329
421
|
*/
|
|
330
422
|
runContainer?: 'DYNAENGINE' | 'FULLCODE';
|
|
423
|
+
/**
|
|
424
|
+
* @description 移动端微信appid
|
|
425
|
+
* @type {string}
|
|
426
|
+
* @platform mob
|
|
427
|
+
* @memberof IEnvironment
|
|
428
|
+
*/
|
|
429
|
+
mobWeChatAppId?: string;
|
|
430
|
+
/**
|
|
431
|
+
* @description 是否为门户应用
|
|
432
|
+
* @type {boolean}
|
|
433
|
+
* @platform web
|
|
434
|
+
* @platform mob
|
|
435
|
+
* @default false
|
|
436
|
+
* @memberof IEnvironment
|
|
437
|
+
*/
|
|
438
|
+
isPortalApp?: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* @description 是否启用移动端loading
|
|
441
|
+
* @type {boolean}
|
|
442
|
+
* @platform mob
|
|
443
|
+
* @default false
|
|
444
|
+
* @memberof IEnvironment
|
|
445
|
+
*/
|
|
446
|
+
isEnableMobLoading?: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* @description 移动端loading标题
|
|
449
|
+
* @type {string}
|
|
450
|
+
* @platform mob
|
|
451
|
+
* @memberof IEnvironment
|
|
452
|
+
*/
|
|
453
|
+
mobLoadingCaption?: string;
|
|
454
|
+
/**
|
|
455
|
+
* @description 移动端loading描述
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @platform mob
|
|
458
|
+
* @memberof IEnvironment
|
|
459
|
+
*/
|
|
460
|
+
mobLoadingDescription?: string;
|
|
461
|
+
/**
|
|
462
|
+
* @description 移动端loading背景色
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @platform mob
|
|
465
|
+
* @memberof IEnvironment
|
|
466
|
+
*/
|
|
467
|
+
mobLoadingBackground?: string;
|
|
331
468
|
}
|
|
332
469
|
//# sourceMappingURL=i-environment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-environment.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/environment/i-environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B
|
|
1
|
+
{"version":3,"file":"i-environment.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/environment/i-environment.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { IApiContext } from '../global-param';
|
|
2
|
+
/**
|
|
3
|
+
* @description 当前用户应用数据
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IOrgData
|
|
6
|
+
*/
|
|
7
|
+
export interface IAppData {
|
|
8
|
+
/**
|
|
9
|
+
* @description 当前用户可看到的菜单项集合,启用菜单权限控制才生效
|
|
10
|
+
* @type {string[]}
|
|
11
|
+
* @memberof IAppData
|
|
12
|
+
*/
|
|
13
|
+
appmenu: string[];
|
|
14
|
+
/**
|
|
15
|
+
* @description 当前用户用户身份信息
|
|
16
|
+
* @type {IApiContext}
|
|
17
|
+
* @memberof IAppData
|
|
18
|
+
*/
|
|
19
|
+
context: IApiContext;
|
|
20
|
+
/**
|
|
21
|
+
* @description 是否启用权限控制
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof IAppData
|
|
24
|
+
*/
|
|
25
|
+
enablepermissionvalid: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @description 当前用户过期时间,字符串格式,如 "2026-03-24 15:43:25"(本地时间)
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IAppData
|
|
30
|
+
*/
|
|
31
|
+
expireddate: string;
|
|
32
|
+
/**
|
|
33
|
+
* @description 当前用户过期剩余时间,单位秒
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof IAppData
|
|
36
|
+
*/
|
|
37
|
+
expirein: number;
|
|
38
|
+
/**
|
|
39
|
+
* @description 当前用户权限资源,配合前端权限控制使用
|
|
40
|
+
* @type {string[]}
|
|
41
|
+
* @memberof IAppData
|
|
42
|
+
*/
|
|
43
|
+
unires: string[];
|
|
44
|
+
/**
|
|
45
|
+
* @description 当前后台服务版本
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof IAppData
|
|
48
|
+
*/
|
|
49
|
+
version: string;
|
|
50
|
+
/**
|
|
51
|
+
* @description 模型动态标记
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof IAppData
|
|
54
|
+
*/
|
|
55
|
+
dynamodeltag: string;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=i-app-data.d.ts.map
|