@ibiz-template/runtime 0.7.41-alpha.127 → 0.7.41-alpha.128
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 +59 -11
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.d.ts +7 -1
- package/out/config/global-config.d.ts.map +1 -1
- package/out/config/global-config.js +20 -0
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +8 -0
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-config.d.ts +7 -0
- package/out/interface/api/common/global-config/i-api-global-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-img-assets.d.ts +92 -0
- package/out/interface/api/common/global-config/i-api-global-img-assets.d.ts.map +1 -0
- package/out/interface/api/common/global-config/i-api-global-img-assets.js +1 -0
- package/out/interface/api/common/global-config/index.d.ts +1 -0
- package/out/interface/api/common/global-config/index.d.ts.map +1 -1
- package/out/interface/common/i-global-config/i-global-img-assets.d.ts +10 -0
- package/out/interface/common/i-global-config/i-global-img-assets.d.ts.map +1 -0
- package/out/interface/common/i-global-config/i-global-img-assets.js +1 -0
- package/out/interface/common/i-global-config/index.d.ts +1 -0
- package/out/interface/common/i-global-config/index.d.ts.map +1 -1
- package/out/interface/common/i-global-config/index.js +1 -0
- package/out/interface/common/index.d.ts +1 -1
- package/out/interface/common/index.d.ts.map +1 -1
- package/out/register/custom-register.d.ts.map +1 -1
- package/out/register/custom-register.js +5 -0
- package/out/utils/theme-util/theme-util.d.ts +9 -1
- package/out/utils/theme-util/theme-util.d.ts.map +1 -1
- package/out/utils/theme-util/theme-util.js +38 -12
- package/package.json +2 -2
- package/src/config/global-config.ts +22 -0
- package/src/interface/api/common/global-config/i-api-global-common-config.ts +9 -0
- package/src/interface/api/common/global-config/i-api-global-config.ts +8 -0
- package/src/interface/api/common/global-config/i-api-global-img-assets.ts +102 -0
- package/src/interface/api/common/global-config/index.ts +1 -0
- package/src/interface/common/i-global-config/i-global-img-assets.ts +9 -0
- package/src/interface/common/i-global-config/index.ts +1 -0
- package/src/interface/common/index.ts +1 -0
- package/src/register/custom-register.ts +5 -0
- package/src/utils/theme-util/theme-util.ts +39 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IGlobalConfig, IGlobalGridConfig, IGlobalAppMenuConfig, IGlobalCodeListConfig, IGlobalViewConfig, IGlobalPickerEditorConfig, IGlobalUploadEditorConfig, IGlobalFormConfig, IGlobalSearchFormConfig, IGlobalTreeConfig, IGlobalCommonConfig, IApiGlobalKanbanConfig, IGlobalFlowDrtabConfig, IApiGlobalWaterMarkConfig, IGlobalMobConfig, IGlobalImgCompressConfig } from '../interface';
|
|
1
|
+
import { IGlobalConfig, IGlobalGridConfig, IGlobalAppMenuConfig, IGlobalCodeListConfig, IGlobalViewConfig, IGlobalPickerEditorConfig, IGlobalUploadEditorConfig, IGlobalFormConfig, IGlobalSearchFormConfig, IGlobalTreeConfig, IGlobalCommonConfig, IApiGlobalKanbanConfig, IGlobalFlowDrtabConfig, IApiGlobalWaterMarkConfig, IGlobalMobConfig, IGlobalImgCompressConfig, IGlobalImgAssets } from '../interface';
|
|
2
2
|
/**
|
|
3
3
|
* 全局配置类,控制应用的功能开关。
|
|
4
4
|
*
|
|
@@ -38,5 +38,11 @@ export declare class GlobalConfig implements IGlobalConfig {
|
|
|
38
38
|
* @memberof GlobalConfig
|
|
39
39
|
*/
|
|
40
40
|
imgCompressConfig: IGlobalImgCompressConfig;
|
|
41
|
+
/**
|
|
42
|
+
* @description 静态图片资源
|
|
43
|
+
* @type {IGlobalImgAssets}
|
|
44
|
+
* @memberof GlobalConfig
|
|
45
|
+
*/
|
|
46
|
+
imageAssets: IGlobalImgAssets;
|
|
41
47
|
}
|
|
42
48
|
//# sourceMappingURL=global-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-config.d.ts","sourceRoot":"","sources":["../../src/config/global-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"global-config.d.ts","sourceRoot":"","sources":["../../src/config/global-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAEtB;;;;;;;;GAQG;AACH,qBAAa,YAAa,YAAW,aAAa;IAEhD,IAAI,EAAE,iBAAiB,CAUrB;IAGF,IAAI,EAAE,iBAAiB,CAOrB;IAGF,OAAO,EAAE,oBAAoB,CAI3B;IAGF,QAAQ,EAAE,qBAAqB,CAE7B;IAGF,IAAI,EAAE,iBAAiB,CAWrB;IAGF,MAAM,EAAE,sBAAsB,CAG5B;IAGF,YAAY,EAAE,yBAAyB,CAErC;IAGF,YAAY,EAAE,yBAAyB,CAErC;IAGF,UAAU,EAAE,uBAAuB,CAIjC;IAGF,IAAI,EAAE,iBAAiB,CAGrB;IAGF,MAAM,EAAE,mBAAmB,CAgCzB;IAGF,KAAK,EAAE,sBAAsB,CAI3B;IAGF,iBAAiB,EAAE,MAAM,CAAM;IAG/B,iBAAiB,EAAE,SAAS,GAAG,OAAO,CAAW;IAGjD,iBAAiB,EAAE,MAAM,CAAM;IAG/B,iBAAiB,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAAQ;IAGjD,SAAS,EAAE,yBAAyB,CAmBlC;IAEF;;;;OAIG;IACH,GAAG,EAAE,gBAAgB,CAWnB;IAEF;;;;OAIG;IACH,iBAAiB,EAAE,wBAAwB,CAIzC;IAEF;;;;OAIG;IACH,WAAW,EAAE,gBAAgB,CAa3B;CACH"}
|
|
@@ -87,6 +87,7 @@ export class GlobalConfig {
|
|
|
87
87
|
mergeAppMenu: 'default',
|
|
88
88
|
enableAIMinimize: true,
|
|
89
89
|
aiChatTopicCaptionMode: 'default',
|
|
90
|
+
aiChatTopicCaptionComputedMode: 'question',
|
|
90
91
|
aiResourceMode: undefined,
|
|
91
92
|
enableAIAgentChange: true,
|
|
92
93
|
globalDownloadPrifix: false,
|
|
@@ -172,5 +173,24 @@ export class GlobalConfig {
|
|
|
172
173
|
quality: 0,
|
|
173
174
|
maxWidth: 1280,
|
|
174
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* @description 静态图片资源
|
|
178
|
+
* @type {IGlobalImgAssets}
|
|
179
|
+
* @memberof GlobalConfig
|
|
180
|
+
*/
|
|
181
|
+
this.imageAssets = {
|
|
182
|
+
noPermission: `${ibiz.env.assetsUrl}/images/403.png`,
|
|
183
|
+
noFind: `${ibiz.env.assetsUrl}/images/404.png`,
|
|
184
|
+
loginAvatar: `${ibiz.env.assetsUrl}/images/login-avatar.png`,
|
|
185
|
+
loginHeader: `${ibiz.env.assetsUrl}/images/login-header.png`,
|
|
186
|
+
poiMarker: `${ibiz.env.assetsUrl}/images/poi-marker-default.png`,
|
|
187
|
+
userAvatar: `${ibiz.env.assetsUrl}/images/user-avatar.png`,
|
|
188
|
+
chat: `${ibiz.env.assetsUrl}/images/svg/chat.svg`,
|
|
189
|
+
customWorkbench: `${ibiz.env.assetsUrl}/images/svg/custom-workbench.svg`,
|
|
190
|
+
helper: `${ibiz.env.assetsUrl}/images/svg/helper.svg`,
|
|
191
|
+
iconImport: `${ibiz.env.assetsUrl}/images/svg/icon-import.svg`,
|
|
192
|
+
message: `${ibiz.env.assetsUrl}/images/svg/message.svg`,
|
|
193
|
+
setting: `${ibiz.env.assetsUrl}/images/svg/setting.svg`,
|
|
194
|
+
};
|
|
175
195
|
}
|
|
176
196
|
}
|
|
@@ -102,6 +102,14 @@ export interface IApiGlobalCommonConfig {
|
|
|
102
102
|
* @memberof IApiGlobalCommonConfig
|
|
103
103
|
*/
|
|
104
104
|
aiChatTopicCaptionMode: 'default' | 'snippet' | 'summary';
|
|
105
|
+
/**
|
|
106
|
+
* @description AI聊天话题标题计算模式
|
|
107
|
+
* @type {('history' | 'question' | 'none')} history:如果获取到的history内容中包含user信息,则取最后一条user信息截取用作标题;question:默认值,等待用户输入第一个user消息后截取作为标题;none:不进行计算,由外部传入标题决定
|
|
108
|
+
* @default question
|
|
109
|
+
* @platform web
|
|
110
|
+
* @memberof IApiGlobalCommonConfig
|
|
111
|
+
*/
|
|
112
|
+
aiChatTopicCaptionComputedMode: 'history' | 'question' | 'none';
|
|
105
113
|
/**
|
|
106
114
|
* @description AI资源模式,LOCAL:默认值,会话基于config存储、消息内容均存储客户端; REMOTE:远程,会话基于config和远程session存储、消息内容基于远程消息存储
|
|
107
115
|
* @type {'LOCAL' | 'REMOTE'}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-global-common-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-common-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,aAAa,EAAE,SAAS,GAAG,aAAa,CAAC;IAEzC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;OAOG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;;;;;;OAOG;IACH,oBAAo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E,MAAM,CAAC;IAExB;;;;;;;OAOG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;;;;OAOG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;;;;;;OAOG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"i-api-global-common-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-common-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,aAAa,EAAE,SAAS,GAAG,aAAa,CAAC;IAEzC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;OAOG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;;;;;;OAOG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;;;;;OAMG;IACH,gBAAgB,EAAE,SAAS,GAAG,UAAU,CAAC;IAEzC;;;;;;;OAOG;IACH,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;IAEpC;;;;;;OAMG;IACH,mBAAmB,EAAE,SAAS,GAAG,QAAQ,CAAC;IAE1C;;;;;;;OAOG;IACH,sBAAsB,EAAE,SAAS,GAAG,QAAQ,CAAC;IAE7C;;;;;;OAMG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;;;;;OAMG;IACH,sBAAsB,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAE1D;;;;;;OAMG;IACH,8BAA8B,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;IAEhE;;;;;;OAMG;IACH,cAAc,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IAE/C;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;;OAMG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,kBAAkB,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE9B;;;;;OAKG;IACH,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1C;;;;;OAKG;IACH,0BAA0B,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/C;;;;;;OAMG;IACH,0BAA0B,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAE9C;;;;;;;OAOG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;;;;;OAMG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAE5B;;;;;;;OAOG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;;;;;OAOG;IACH,uBAAuB,EAAE,OAAO,CAAC;IAEjC;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;;OAOG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;;;OAOG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;;;;OAOG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;;;;;;OAOG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -13,6 +13,7 @@ import { IApiGlobalFlowDrtabConfig } from './i-api-global-flow-drtab-config';
|
|
|
13
13
|
import { IApiGlobalWaterMarkConfig } from './i-api-global-water-mark-config';
|
|
14
14
|
import { IApiGlobalMobConfig } from './i-api-global-mob-config';
|
|
15
15
|
import { IApiGlobalImgCompressConfig } from './i-api-global-img-compress-config';
|
|
16
|
+
import { IApiGlobalImgAssets } from './i-api-global-img-assets';
|
|
16
17
|
/**
|
|
17
18
|
* 全局配置
|
|
18
19
|
* @description 全局配置参数,应用将依据这些参数进行调整和适配。
|
|
@@ -157,5 +158,11 @@ export interface IApiGlobalConfig {
|
|
|
157
158
|
* @memberof IApiGlobalConfig
|
|
158
159
|
*/
|
|
159
160
|
imgCompressConfig: IApiGlobalImgCompressConfig;
|
|
161
|
+
/**
|
|
162
|
+
* @description 图片静态资源
|
|
163
|
+
* @type {IApiGlobalImgAssets}
|
|
164
|
+
* @memberof IApiGlobalConfig
|
|
165
|
+
*/
|
|
166
|
+
imageAssets: IApiGlobalImgAssets;
|
|
160
167
|
}
|
|
161
168
|
//# sourceMappingURL=i-api-global-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-global-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"i-api-global-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;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|
|
4
|
+
* @interface IApiGlobalImgAssets
|
|
5
|
+
*/
|
|
6
|
+
export interface IApiGlobalImgAssets {
|
|
7
|
+
/**
|
|
8
|
+
* @description 无权限403图片
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @platform web
|
|
11
|
+
* @memberof IApiGlobalImgAssets
|
|
12
|
+
*/
|
|
13
|
+
noPermission: string;
|
|
14
|
+
/**
|
|
15
|
+
* @description 未找到404图片
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @platform web
|
|
18
|
+
* @memberof IApiGlobalImgAssets
|
|
19
|
+
*/
|
|
20
|
+
noFind: string;
|
|
21
|
+
/**
|
|
22
|
+
* @description 登录页头像图片
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @platform web
|
|
25
|
+
* @memberof IApiGlobalImgAssets
|
|
26
|
+
*/
|
|
27
|
+
loginAvatar: string;
|
|
28
|
+
/**
|
|
29
|
+
* @description 登录页头部背景图
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @platform web
|
|
32
|
+
* @memberof IApiGlobalImgAssets
|
|
33
|
+
*/
|
|
34
|
+
loginHeader: string;
|
|
35
|
+
/**
|
|
36
|
+
* @description 地图位置标记图标
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @platform web
|
|
39
|
+
* @memberof IApiGlobalImgAssets
|
|
40
|
+
*/
|
|
41
|
+
poiMarker: string;
|
|
42
|
+
/**
|
|
43
|
+
* @description 用户头像图片
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @platform web
|
|
46
|
+
* @memberof IApiGlobalImgAssets
|
|
47
|
+
*/
|
|
48
|
+
userAvatar: string;
|
|
49
|
+
/**
|
|
50
|
+
* @description ai对话框按钮图标
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @platform web
|
|
53
|
+
* @memberof IApiGlobalImgAssets
|
|
54
|
+
*/
|
|
55
|
+
chat: string;
|
|
56
|
+
/**
|
|
57
|
+
* @description 自定义用户行为图标
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @platform web
|
|
60
|
+
* @memberof IApiGlobalImgAssets
|
|
61
|
+
*/
|
|
62
|
+
customWorkbench: string;
|
|
63
|
+
/**
|
|
64
|
+
* @description 帮助用户行为图标
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @platform web
|
|
67
|
+
* @memberof IApiGlobalImgAssets
|
|
68
|
+
*/
|
|
69
|
+
helper: string;
|
|
70
|
+
/**
|
|
71
|
+
* @description 数据导入图标
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @platform web
|
|
74
|
+
* @memberof IApiGlobalImgAssets
|
|
75
|
+
*/
|
|
76
|
+
iconImport: string;
|
|
77
|
+
/**
|
|
78
|
+
* @description 用户消息图标
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @platform web
|
|
81
|
+
* @memberof IApiGlobalImgAssets
|
|
82
|
+
*/
|
|
83
|
+
message: string;
|
|
84
|
+
/**
|
|
85
|
+
* @description 用户设置图标
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @platform web
|
|
88
|
+
* @memberof IApiGlobalImgAssets
|
|
89
|
+
*/
|
|
90
|
+
setting: string;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=i-api-global-img-assets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-global-img-assets.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-img-assets.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -14,4 +14,5 @@ export type { IApiGlobalFlowDrtabConfig } from './i-api-global-flow-drtab-config
|
|
|
14
14
|
export type { IApiGlobalWaterMarkConfig } from './i-api-global-water-mark-config';
|
|
15
15
|
export type { IApiGlobalMobConfig } from './i-api-global-mob-config';
|
|
16
16
|
export type { IApiGlobalImgCompressConfig } from './i-api-global-img-compress-config';
|
|
17
|
+
export type { IApiGlobalImgAssets } from './i-api-global-img-assets';
|
|
17
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,YAAY,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,YAAY,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,YAAY,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACxF,YAAY,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACxF,YAAY,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AACpF,YAAY,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MA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ACrE,YAAY,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACtF,YAAY,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IApiGlobalImgAssets } from '../../api';
|
|
2
|
+
/**
|
|
3
|
+
* @description 静态图片资源
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IGlobalImgAssets
|
|
6
|
+
* @extends {IApiGlobalImgAssets}
|
|
7
|
+
*/
|
|
8
|
+
export interface IGlobalImgAssets extends IApiGlobalImgAssets {
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=i-global-img-assets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-global-img-assets.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-global-config/i-global-img-assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-global-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-global-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export type { IPluginFactory } from './i-plugin-factory/i-plugin-factory';
|
|
|
11
11
|
export type { IPluginItem } from './i-plugin-item/i-plugin-item';
|
|
12
12
|
export type { IUIActionResult } from './i-ui-action-result/i-ui-action-result';
|
|
13
13
|
export type { IUIActionHandler } from './i-ui-action-handler/i-ui-action-handler';
|
|
14
|
-
export type { IGlobalConfig, IGlobalCodeListConfig, IGlobalGridConfig, IGlobalAppMenuConfig, IGlobalViewConfig, IGlobalPickerEditorConfig, IGlobalUploadEditorConfig, IGlobalFormConfig, IGlobalSearchFormConfig, IGlobalTreeConfig, IGlobalCommonConfig, IGlobalFlowDrtabConfig, IGlobalMobConfig, IGlobalImgCompressConfig, } from './i-global-config';
|
|
14
|
+
export type { IGlobalConfig, IGlobalCodeListConfig, IGlobalGridConfig, IGlobalAppMenuConfig, IGlobalViewConfig, IGlobalPickerEditorConfig, IGlobalUploadEditorConfig, IGlobalFormConfig, IGlobalSearchFormConfig, IGlobalTreeConfig, IGlobalCommonConfig, IGlobalFlowDrtabConfig, IGlobalMobConfig, IGlobalImgCompressConfig, IGlobalImgAssets, } from './i-global-config';
|
|
15
15
|
export type { IDataAbilityParams } from './i-data-ability-params/i-data-ability-params';
|
|
16
16
|
export type { IAppConfigService } from './i-app-config-service/i-app-config-service';
|
|
17
17
|
export type { IAppViewConfigService, IViewConfig, } from './i-app-view-config-service/i-app-view-config-service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,YAAY,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,YAAY,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,YAAY,EACV,eAAe,EACf,SAAS,GACV,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,YAAY,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,YAAY,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,YAAY,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,YAAY,EACV,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,YAA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BAA2B,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,YAAY,EAAE,wBAAwB,EAAE,MAAM,2DAA2D,CAAC;AAC1G,YAAY,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC/E,YAAY,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,YAAY,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-register.d.ts","sourceRoot":"","sources":["../../src/register/custom-register.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAoB/C;;GAEG;AACH,qBAAa,cAAc;IACzB;;;;;;;OAOG;IACH,MAAM,CAAC,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"custom-register.d.ts","sourceRoot":"","sources":["../../src/register/custom-register.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAoB/C;;GAEG;AACH,qBAAa,cAAc;IACzB;;;;;;;OAOG;IACH,MAAM,CAAC,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,GAAG,MAAM;IAoC1E;;;;;;OAMG;IACH,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAa1D;;;;;;OAMG;IACH,MAAM,CAAC,uBAAuB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAqB7D;;;;;;OAMG;IACH,MAAM,CAAC,yBAAyB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAiB/D;;;;;;OAMG;IACH,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAyBjE;;;;;;OAMG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAmB5D;;;;;;;;OAQG;IACH,MAAM,CAAC,wBAAwB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAiB9D;;;;;;OAMG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAe5D;;;;;;OAMG;IACH,MAAM,CAAC,qBAAqB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAY3D;;;;;;OAMG;IACH,MAAM,CAAC,yBAAyB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;CAchE"}
|
|
@@ -13,6 +13,11 @@ export class CustomRegister {
|
|
|
13
13
|
* @memberof CustomRegister
|
|
14
14
|
*/
|
|
15
15
|
static getRegisterKey(registerType, opts) {
|
|
16
|
+
// 如果自定义扩展标记,则直接返回
|
|
17
|
+
const { mainModel } = opts;
|
|
18
|
+
if (mainModel && mainModel.customExtTag) {
|
|
19
|
+
return mainModel.customExtTag;
|
|
20
|
+
}
|
|
16
21
|
switch (registerType) {
|
|
17
22
|
case VIEW_PROVIDER_PREFIX:
|
|
18
23
|
return this.calcExtensionViewKey(opts);
|
|
@@ -37,11 +37,19 @@ export declare class ThemeUtil implements IApiThemeUtil {
|
|
|
37
37
|
/**
|
|
38
38
|
* @description 加载主题插件
|
|
39
39
|
* @param {IAppUITheme} theme
|
|
40
|
-
* @param {('COLOR' | 'ICON')} [type='COLOR']
|
|
40
|
+
* @param {('COLOR' | 'ICON')} [type='COLOR'] 颜色主题|图标主题,默认值为颜色主题,颜色主题包含远程插件和主题变量共存的情况,主题变量的优先级大于远程插件的优先级
|
|
41
41
|
* @returns {*} {Promise<void>}
|
|
42
42
|
* @memberof ThemeUtil
|
|
43
43
|
*/
|
|
44
44
|
loadTheme(theme: IAppUITheme, type?: 'COLOR' | 'ICON'): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* @description 设置主题变量
|
|
47
|
+
* @protected
|
|
48
|
+
* @param {IAppUITheme} theme
|
|
49
|
+
* @returns {*} {void}
|
|
50
|
+
* @memberof ThemeUtil
|
|
51
|
+
*/
|
|
52
|
+
protected setThemeCssStyle(theme: IAppUITheme): void;
|
|
45
53
|
/**
|
|
46
54
|
* @description 设置额外修改的主题参数
|
|
47
55
|
* @protected
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-util.d.ts","sourceRoot":"","sources":["../../../src/utils/theme-util/theme-util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAgB,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;;GAKG;AACH,qBAAa,SAAU,YAAW,aAAa;IAC7C;;;;;OAKG;IACH,SAAS,CAAC,IAAI,EAAE,WAAW,CAA4C;IAEvE;;;;;OAKG;IACH,SAAS,CAAC,UAAU,EAAE,eAAe,CAAyB;IAE9D;;;OAGG;IACH,QAAQ,CAAC,GAAG,yBAAgC;IAE5C;;;;OAIG;IACI,WAAW,EAAE,WAAW,EAAE,CAAM;IAEvC;;;;;;OAMG;IACG,SAAS,CACb,KAAK,EAAE,WAAW,EAClB,IAAI,GAAE,OAAO,GAAG,MAAgB,GAC/B,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"theme-util.d.ts","sourceRoot":"","sources":["../../../src/utils/theme-util/theme-util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAgB,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;;GAKG;AACH,qBAAa,SAAU,YAAW,aAAa;IAC7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,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC;IAI1E;;;;;;;OAOG;IACG,eAAe,CACnB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjC,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,KAAK,CAAC;IAKjB;;;;;;OAMG;IACG,gBAAgB,CACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAI9B;;;;;;OAMG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;CAGrE"}
|
|
@@ -38,7 +38,7 @@ export class ThemeUtil {
|
|
|
38
38
|
/**
|
|
39
39
|
* @description 加载主题插件
|
|
40
40
|
* @param {IAppUITheme} theme
|
|
41
|
-
* @param {('COLOR' | 'ICON')} [type='COLOR']
|
|
41
|
+
* @param {('COLOR' | 'ICON')} [type='COLOR'] 颜色主题|图标主题,默认值为颜色主题,颜色主题包含远程插件和主题变量共存的情况,主题变量的优先级大于远程插件的优先级
|
|
42
42
|
* @returns {*} {Promise<void>}
|
|
43
43
|
* @memberof ThemeUtil
|
|
44
44
|
*/
|
|
@@ -47,21 +47,47 @@ export class ThemeUtil {
|
|
|
47
47
|
const path = data['theme-package-path'] || theme.themeUrl;
|
|
48
48
|
delete data.appId;
|
|
49
49
|
delete data['theme-package-path'];
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
// 远程主题插件
|
|
51
|
+
if (path) {
|
|
52
|
+
await ibiz.plugin.loadPlugin({
|
|
53
|
+
runtimeObject: true,
|
|
54
|
+
rtobjectName: theme.themeTag,
|
|
55
|
+
rtobjectRepo: path,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
55
58
|
if (type === 'COLOR') {
|
|
56
59
|
this.setThemeParams(theme, data);
|
|
60
|
+
// 内置样式变量主题
|
|
61
|
+
if (theme.cssStyle) {
|
|
62
|
+
this.setThemeCssStyle(theme);
|
|
63
|
+
}
|
|
57
64
|
this.setTheme(theme.themeTag);
|
|
58
|
-
// 只计算颜色主题插件
|
|
59
65
|
this.pluginTheme.push(theme);
|
|
60
66
|
}
|
|
61
67
|
else {
|
|
62
68
|
this.html.classList.add(theme.themeTag);
|
|
63
69
|
}
|
|
64
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* @description 设置主题变量
|
|
73
|
+
* @protected
|
|
74
|
+
* @param {IAppUITheme} theme
|
|
75
|
+
* @returns {*} {void}
|
|
76
|
+
* @memberof ThemeUtil
|
|
77
|
+
*/
|
|
78
|
+
setThemeCssStyle(theme) {
|
|
79
|
+
// 加上 var-css 后缀,避免与 setThemeParams 生成的主题参数 style 标签 id 冲突
|
|
80
|
+
const styleId = `${theme.themeTag}-var-css`;
|
|
81
|
+
const themeStyle = document.getElementById(styleId);
|
|
82
|
+
if (themeStyle) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const style = document.createElement('style');
|
|
86
|
+
style.id = styleId;
|
|
87
|
+
style.type = 'text/css';
|
|
88
|
+
style.innerHTML = theme.cssStyle;
|
|
89
|
+
document.head.appendChild(style);
|
|
90
|
+
}
|
|
65
91
|
/**
|
|
66
92
|
* @description 设置额外修改的主题参数
|
|
67
93
|
* @protected
|
|
@@ -83,11 +109,11 @@ export class ThemeUtil {
|
|
|
83
109
|
}
|
|
84
110
|
}
|
|
85
111
|
content += '}';
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
document.head.appendChild(
|
|
112
|
+
const style = document.createElement('style');
|
|
113
|
+
style.id = theme.themeTag;
|
|
114
|
+
style.type = 'text/css';
|
|
115
|
+
style.innerHTML = content;
|
|
116
|
+
document.head.appendChild(style);
|
|
91
117
|
}
|
|
92
118
|
/**
|
|
93
119
|
* @description 设置主题
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/runtime",
|
|
3
|
-
"version": "0.7.41-alpha.
|
|
3
|
+
"version": "0.7.41-alpha.128",
|
|
4
4
|
"description": "运行时逻辑库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "out/index.js",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"qx-util": "^0.4.8",
|
|
71
71
|
"ramda": "^0.29.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "88c0bcdd210b21bf5c15ff46cada35d2d211e47c"
|
|
74
74
|
}
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
IApiGlobalWaterMarkConfig,
|
|
16
16
|
IGlobalMobConfig,
|
|
17
17
|
IGlobalImgCompressConfig,
|
|
18
|
+
IGlobalImgAssets,
|
|
18
19
|
} from '../interface';
|
|
19
20
|
|
|
20
21
|
/**
|
|
@@ -115,6 +116,7 @@ export class GlobalConfig implements IGlobalConfig {
|
|
|
115
116
|
mergeAppMenu: 'default',
|
|
116
117
|
enableAIMinimize: true,
|
|
117
118
|
aiChatTopicCaptionMode: 'default',
|
|
119
|
+
aiChatTopicCaptionComputedMode: 'question',
|
|
118
120
|
aiResourceMode: undefined,
|
|
119
121
|
enableAIAgentChange: true,
|
|
120
122
|
globalDownloadPrifix: false,
|
|
@@ -208,4 +210,24 @@ export class GlobalConfig implements IGlobalConfig {
|
|
|
208
210
|
quality: 0,
|
|
209
211
|
maxWidth: 1280,
|
|
210
212
|
};
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @description 静态图片资源
|
|
216
|
+
* @type {IGlobalImgAssets}
|
|
217
|
+
* @memberof GlobalConfig
|
|
218
|
+
*/
|
|
219
|
+
imageAssets: IGlobalImgAssets = {
|
|
220
|
+
noPermission: `${ibiz.env.assetsUrl}/images/403.png`,
|
|
221
|
+
noFind: `${ibiz.env.assetsUrl}/images/404.png`,
|
|
222
|
+
loginAvatar: `${ibiz.env.assetsUrl}/images/login-avatar.png`,
|
|
223
|
+
loginHeader: `${ibiz.env.assetsUrl}/images/login-header.png`,
|
|
224
|
+
poiMarker: `${ibiz.env.assetsUrl}/images/poi-marker-default.png`,
|
|
225
|
+
userAvatar: `${ibiz.env.assetsUrl}/images/user-avatar.png`,
|
|
226
|
+
chat: `${ibiz.env.assetsUrl}/images/svg/chat.svg`,
|
|
227
|
+
customWorkbench: `${ibiz.env.assetsUrl}/images/svg/custom-workbench.svg`,
|
|
228
|
+
helper: `${ibiz.env.assetsUrl}/images/svg/helper.svg`,
|
|
229
|
+
iconImport: `${ibiz.env.assetsUrl}/images/svg/icon-import.svg`,
|
|
230
|
+
message: `${ibiz.env.assetsUrl}/images/svg/message.svg`,
|
|
231
|
+
setting: `${ibiz.env.assetsUrl}/images/svg/setting.svg`,
|
|
232
|
+
};
|
|
211
233
|
}
|
|
@@ -114,6 +114,15 @@ export interface IApiGlobalCommonConfig {
|
|
|
114
114
|
*/
|
|
115
115
|
aiChatTopicCaptionMode: 'default' | 'snippet' | 'summary';
|
|
116
116
|
|
|
117
|
+
/**
|
|
118
|
+
* @description AI聊天话题标题计算模式
|
|
119
|
+
* @type {('history' | 'question' | 'none')} history:如果获取到的history内容中包含user信息,则取最后一条user信息截取用作标题;question:默认值,等待用户输入第一个user消息后截取作为标题;none:不进行计算,由外部传入标题决定
|
|
120
|
+
* @default question
|
|
121
|
+
* @platform web
|
|
122
|
+
* @memberof IApiGlobalCommonConfig
|
|
123
|
+
*/
|
|
124
|
+
aiChatTopicCaptionComputedMode: 'history' | 'question' | 'none';
|
|
125
|
+
|
|
117
126
|
/**
|
|
118
127
|
* @description AI资源模式,LOCAL:默认值,会话基于config存储、消息内容均存储客户端; REMOTE:远程,会话基于config和远程session存储、消息内容基于远程消息存储
|
|
119
128
|
* @type {'LOCAL' | 'REMOTE'}
|
|
@@ -13,6 +13,7 @@ import { IApiGlobalFlowDrtabConfig } from './i-api-global-flow-drtab-config';
|
|
|
13
13
|
import { IApiGlobalWaterMarkConfig } from './i-api-global-water-mark-config';
|
|
14
14
|
import { IApiGlobalMobConfig } from './i-api-global-mob-config';
|
|
15
15
|
import { IApiGlobalImgCompressConfig } from './i-api-global-img-compress-config';
|
|
16
|
+
import { IApiGlobalImgAssets } from './i-api-global-img-assets';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* 全局配置
|
|
@@ -178,4 +179,11 @@ export interface IApiGlobalConfig {
|
|
|
178
179
|
* @memberof IApiGlobalConfig
|
|
179
180
|
*/
|
|
180
181
|
imgCompressConfig: IApiGlobalImgCompressConfig;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @description 图片静态资源
|
|
185
|
+
* @type {IApiGlobalImgAssets}
|
|
186
|
+
* @memberof IApiGlobalConfig
|
|
187
|
+
*/
|
|
188
|
+
imageAssets: IApiGlobalImgAssets;
|
|
181
189
|
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description 静态图片资源
|
|
3
|
+
* @export
|
|
4
|
+
* @interface IApiGlobalImgAssets
|
|
5
|
+
*/
|
|
6
|
+
export interface IApiGlobalImgAssets {
|
|
7
|
+
/**
|
|
8
|
+
* @description 无权限403图片
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @platform web
|
|
11
|
+
* @memberof IApiGlobalImgAssets
|
|
12
|
+
*/
|
|
13
|
+
noPermission: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @description 未找到404图片
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @platform web
|
|
19
|
+
* @memberof IApiGlobalImgAssets
|
|
20
|
+
*/
|
|
21
|
+
noFind: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @description 登录页头像图片
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @platform web
|
|
27
|
+
* @memberof IApiGlobalImgAssets
|
|
28
|
+
*/
|
|
29
|
+
loginAvatar: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @description 登录页头部背景图
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @platform web
|
|
35
|
+
* @memberof IApiGlobalImgAssets
|
|
36
|
+
*/
|
|
37
|
+
loginHeader: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @description 地图位置标记图标
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @platform web
|
|
43
|
+
* @memberof IApiGlobalImgAssets
|
|
44
|
+
*/
|
|
45
|
+
poiMarker: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @description 用户头像图片
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @platform web
|
|
51
|
+
* @memberof IApiGlobalImgAssets
|
|
52
|
+
*/
|
|
53
|
+
userAvatar: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @description ai对话框按钮图标
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @platform web
|
|
59
|
+
* @memberof IApiGlobalImgAssets
|
|
60
|
+
*/
|
|
61
|
+
chat: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @description 自定义用户行为图标
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @platform web
|
|
67
|
+
* @memberof IApiGlobalImgAssets
|
|
68
|
+
*/
|
|
69
|
+
customWorkbench: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @description 帮助用户行为图标
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @platform web
|
|
75
|
+
* @memberof IApiGlobalImgAssets
|
|
76
|
+
*/
|
|
77
|
+
helper: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @description 数据导入图标
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @platform web
|
|
83
|
+
* @memberof IApiGlobalImgAssets
|
|
84
|
+
*/
|
|
85
|
+
iconImport: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @description 用户消息图标
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @platform web
|
|
91
|
+
* @memberof IApiGlobalImgAssets
|
|
92
|
+
*/
|
|
93
|
+
message: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @description 用户设置图标
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @platform web
|
|
99
|
+
* @memberof IApiGlobalImgAssets
|
|
100
|
+
*/
|
|
101
|
+
setting: string;
|
|
102
|
+
}
|
|
@@ -14,3 +14,4 @@ export type { IApiGlobalFlowDrtabConfig } from './i-api-global-flow-drtab-config
|
|
|
14
14
|
export type { IApiGlobalWaterMarkConfig } from './i-api-global-water-mark-config';
|
|
15
15
|
export type { IApiGlobalMobConfig } from './i-api-global-mob-config';
|
|
16
16
|
export type { IApiGlobalImgCompressConfig } from './i-api-global-img-compress-config';
|
|
17
|
+
export type { IApiGlobalImgAssets } from './i-api-global-img-assets';
|