@ibiz-template/runtime 0.7.41-alpha.87 → 0.7.41-alpha.89
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 +108 -31
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.js +2 -2
- package/out/controller/common/view/view.controller.js +2 -1
- package/out/controller/control/app-menu/app-menu.controller.js +4 -4
- package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts +7 -0
- package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts.map +1 -1
- package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.js +20 -13
- package/out/controller/control/form/form-detail/form-druipart/form-druipart.state.d.ts +2 -1
- package/out/controller/control/form/form-detail/form-druipart/form-druipart.state.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +2 -1
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts +6 -0
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts.map +1 -1
- package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.js +13 -0
- package/out/controller/control/toolbar/toolbar.controller.d.ts.map +1 -1
- package/out/controller/control/toolbar/toolbar.controller.js +9 -7
- package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +2 -1
- package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts +6 -0
- package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts.map +1 -1
- package/out/controller/control/wizard-panel/wizard-panel.controller.js +22 -0
- package/out/interface/api/app/i-api-app-hub-service.d.ts +7 -7
- package/out/interface/api/app/i-api-app-service.d.ts +1 -1
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +4 -6
- 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 +15 -15
- package/out/interface/api/common/global-config/i-api-global-img-compress-config.d.ts +3 -3
- package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts +4 -4
- package/out/interface/api/common/global-config/i-api-global-view-config.d.ts +5 -5
- package/out/interface/api/common/global-config/i-api-global-water-mark-config.d.ts +14 -14
- package/out/interface/api/common/i-api-data-ability-params.d.ts +4 -4
- package/out/interface/api/common/i-api-modal-data.d.ts +1 -1
- package/out/interface/api/common/i-api-ui-action-result.d.ts +1 -1
- package/out/interface/api/controller/common/i-api.controller.d.ts +2 -2
- package/out/interface/api/controller/control/form-detail/i-api-form-item.controller.d.ts +5 -5
- package/out/interface/api/controller/control/i-api-form.controller.d.ts +7 -6
- package/out/interface/api/controller/control/i-api-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/view/i-api-view.controller.d.ts +1 -1
- package/out/interface/api/i-api-runtime-ibizsys.d.ts +12 -12
- package/out/interface/api/service/i-api-code-list.service.d.ts +1 -1
- package/out/interface/api/service/i-api-de-service-util.d.ts +1 -1
- package/out/interface/api/state/common/i-api-button-container.state.d.ts +3 -3
- package/out/interface/api/state/common/i-api-button.state.d.ts +3 -3
- package/out/interface/api/state/control/i-api-form.state.d.ts +2 -2
- package/out/interface/api/state/view/i-api-view-session.d.ts +1 -1
- package/out/interface/api/util/i-api-app-util.d.ts +7 -7
- package/out/interface/api/util/i-api-confirm-util.d.ts +4 -4
- package/out/interface/api/util/i-api-file-util.d.ts +6 -6
- package/out/interface/api/util/i-api-fullscreen-util.d.ts +2 -2
- package/out/interface/api/util/i-api-global-util.d.ts +11 -11
- package/out/interface/api/util/i-api-html2canvas-util.d.ts +2 -2
- package/out/interface/api/util/i-api-inline-ai-util.d.ts +1 -1
- package/out/interface/api/util/i-api-message-util.d.ts +5 -5
- package/out/interface/api/util/i-api-modal-util.d.ts +9 -9
- package/out/interface/api/util/i-api-notification-util.d.ts +5 -5
- package/out/interface/api/util/i-api-open-view-util.d.ts +7 -7
- package/out/interface/api/util/i-api-print-preview-util.d.ts +5 -5
- package/out/interface/api/util/i-api-print-preview-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-qrcode-util.d.ts +4 -5
- package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-raw-value-util.d.ts +2 -2
- package/out/interface/api/util/i-api-text-util.d.ts +6 -6
- package/out/interface/api/util/i-api-theme-util.d.ts +3 -3
- package/out/interface/api/util/i-api-ui-action-util.d.ts +3 -3
- package/out/interface/api/util/i-api-water-mark-util.d.ts +1 -1
- package/out/model/utils/util.d.ts.map +1 -1
- package/out/model/utils/util.js +7 -3
- package/package.json +3 -3
|
@@ -14,7 +14,7 @@ export interface IApiGlobalViewConfig {
|
|
|
14
14
|
*/
|
|
15
15
|
enableDataInfoBar: boolean;
|
|
16
16
|
/**
|
|
17
|
-
* @description
|
|
17
|
+
* @description 导航部件缓存控制配置;使用 : 分隔(如:TABEXPPANEL:GRIDEXPBAR:),需以 : 结尾
|
|
18
18
|
* @default TABEXPPANEL:
|
|
19
19
|
* @type {string}
|
|
20
20
|
* @platform web
|
|
@@ -23,7 +23,7 @@ export interface IApiGlobalViewConfig {
|
|
|
23
23
|
*/
|
|
24
24
|
expCacheMode: string;
|
|
25
25
|
/**
|
|
26
|
-
* @description
|
|
26
|
+
* @description 是否禁用首页分页导航栏
|
|
27
27
|
* @default false
|
|
28
28
|
* @type {boolean}
|
|
29
29
|
* @platform web
|
|
@@ -31,7 +31,7 @@ export interface IApiGlobalViewConfig {
|
|
|
31
31
|
*/
|
|
32
32
|
disableHomeTabs: boolean;
|
|
33
33
|
/**
|
|
34
|
-
* @description
|
|
34
|
+
* @description 移动端是否显示系统返回按钮
|
|
35
35
|
* @default true
|
|
36
36
|
* @type {boolean}
|
|
37
37
|
* @platform mob
|
|
@@ -39,7 +39,7 @@ export interface IApiGlobalViewConfig {
|
|
|
39
39
|
*/
|
|
40
40
|
mobShowPresetBack: boolean;
|
|
41
41
|
/**
|
|
42
|
-
* @description
|
|
42
|
+
* @description 移动端是否显示视图头部
|
|
43
43
|
* @default true
|
|
44
44
|
* @type {boolean}
|
|
45
45
|
* @platform mob
|
|
@@ -73,7 +73,7 @@ export interface IApiGlobalViewConfig {
|
|
|
73
73
|
*/
|
|
74
74
|
viewAccUserMode: 1 | 2 | 3 | 4;
|
|
75
75
|
/**
|
|
76
|
-
* @description
|
|
76
|
+
* @description 视图加载过程中的提示文本
|
|
77
77
|
* @type {string}
|
|
78
78
|
* @platform web
|
|
79
79
|
* @platform mob
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export interface IApiGlobalWaterMarkConfig {
|
|
7
7
|
/**
|
|
8
|
-
* @description
|
|
8
|
+
* @description 是否启用水印
|
|
9
9
|
* @type {boolean}
|
|
10
10
|
* @platform web
|
|
11
11
|
* @platform mob
|
|
@@ -14,7 +14,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
14
14
|
*/
|
|
15
15
|
enable: boolean;
|
|
16
16
|
/**
|
|
17
|
-
* @description
|
|
17
|
+
* @description 水印文本内容(支持多行)
|
|
18
18
|
* @type {(string | string[])}
|
|
19
19
|
* @platform web
|
|
20
20
|
* @platform mob
|
|
@@ -22,7 +22,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
22
22
|
*/
|
|
23
23
|
text: string | string[];
|
|
24
24
|
/**
|
|
25
|
-
* @description
|
|
25
|
+
* @description 字体大小(px)
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @platform web
|
|
28
28
|
* @platform mob
|
|
@@ -31,7 +31,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
31
31
|
*/
|
|
32
32
|
fontSize: number;
|
|
33
33
|
/**
|
|
34
|
-
* @description 字体族(遵循 CSS
|
|
34
|
+
* @description 字体族(遵循 CSS 规范)
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @platform web
|
|
37
37
|
* @platform mob
|
|
@@ -40,7 +40,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
40
40
|
*/
|
|
41
41
|
fontFamily: string;
|
|
42
42
|
/**
|
|
43
|
-
* @description
|
|
43
|
+
* @description 字体粗细(如:400 / bold)
|
|
44
44
|
* @type {(string | number)}
|
|
45
45
|
* @platform web
|
|
46
46
|
* @platform mob
|
|
@@ -49,7 +49,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
49
49
|
*/
|
|
50
50
|
fontWeight: string | number;
|
|
51
51
|
/**
|
|
52
|
-
* @description
|
|
52
|
+
* @description 字体样式(normal / italic / oblique)
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @platform web
|
|
55
55
|
* @platform mob
|
|
@@ -58,7 +58,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
58
58
|
*/
|
|
59
59
|
fontStyle: string;
|
|
60
60
|
/**
|
|
61
|
-
* @description 字体颜色(支持 CSS
|
|
61
|
+
* @description 字体颜色(支持 CSS 格式)
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @platform web
|
|
64
64
|
* @platform mob
|
|
@@ -67,7 +67,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
67
67
|
*/
|
|
68
68
|
color: string;
|
|
69
69
|
/**
|
|
70
|
-
* @description
|
|
70
|
+
* @description 水印透明度(0~1)
|
|
71
71
|
* @type {number}
|
|
72
72
|
* @platform web
|
|
73
73
|
* @platform mob
|
|
@@ -76,7 +76,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
76
76
|
*/
|
|
77
77
|
opacity: number;
|
|
78
78
|
/**
|
|
79
|
-
* @description
|
|
79
|
+
* @description 旋转角度(单位:度,支持负值)
|
|
80
80
|
* @type {number}
|
|
81
81
|
* @platform web
|
|
82
82
|
* @platform mob
|
|
@@ -85,7 +85,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
85
85
|
*/
|
|
86
86
|
rotate: number;
|
|
87
87
|
/**
|
|
88
|
-
* @description
|
|
88
|
+
* @description 平铺间距(x / y)
|
|
89
89
|
* @type {[number, number]}
|
|
90
90
|
* @platform web
|
|
91
91
|
* @platform mob
|
|
@@ -94,7 +94,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
94
94
|
*/
|
|
95
95
|
gap: [number, number];
|
|
96
96
|
/**
|
|
97
|
-
* @description
|
|
97
|
+
* @description 偏移量(x / y)
|
|
98
98
|
* @type {[number, number]}
|
|
99
99
|
* @platform web
|
|
100
100
|
* @platform mob
|
|
@@ -103,7 +103,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
103
103
|
*/
|
|
104
104
|
offset: [number, number];
|
|
105
105
|
/**
|
|
106
|
-
* @description
|
|
106
|
+
* @description 单个水印块尺寸(0 表示自适应)
|
|
107
107
|
* @type {{ width: number; height: number }}
|
|
108
108
|
* @platform web
|
|
109
109
|
* @platform mob
|
|
@@ -115,7 +115,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
115
115
|
height: number;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
|
-
* @description
|
|
118
|
+
* @description 水印层级控制
|
|
119
119
|
* @type {number}
|
|
120
120
|
* @platform web
|
|
121
121
|
* @platform mob
|
|
@@ -142,7 +142,7 @@ export interface IApiGlobalWaterMarkConfig {
|
|
|
142
142
|
*/
|
|
143
143
|
protect: boolean;
|
|
144
144
|
/**
|
|
145
|
-
* @description
|
|
145
|
+
* @description 是否允许鼠标穿透选择文本
|
|
146
146
|
* @type {boolean}
|
|
147
147
|
* @platform web
|
|
148
148
|
* @platform mob
|
|
@@ -6,25 +6,25 @@ import { IApiContext, IApiData, IApiParams } from '@ibiz-template/core';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface IApiDataAbilityParams {
|
|
8
8
|
/**
|
|
9
|
-
* @description
|
|
9
|
+
* @description 额外传入的上下文参数(会与当前上下文合并)
|
|
10
10
|
* @type {IApiContext}
|
|
11
11
|
* @memberof IApiDataAbilityParams
|
|
12
12
|
*/
|
|
13
13
|
context?: IApiContext;
|
|
14
14
|
/**
|
|
15
|
-
* @description
|
|
15
|
+
* @description 额外传入的视图参数(会覆盖默认视图参数)
|
|
16
16
|
* @type {IApiParams}
|
|
17
17
|
* @memberof IApiDataAbilityParams
|
|
18
18
|
*/
|
|
19
19
|
viewParam?: IApiParams;
|
|
20
20
|
/**
|
|
21
|
-
* @description
|
|
21
|
+
* @description 指定执行的数据集合,若不传,则默认使用控件当前数据或选中数据
|
|
22
22
|
* @type {(IApiData[] | IApiData)}
|
|
23
23
|
* @memberof IApiDataAbilityParams
|
|
24
24
|
*/
|
|
25
25
|
data?: IApiData[] | IApiData;
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description 是否静默执行,为true时不显示 loading,不弹出成功提示
|
|
28
28
|
* @type {boolean}
|
|
29
29
|
* @memberof IApiDataAbilityParams
|
|
30
30
|
*/
|
|
@@ -12,7 +12,7 @@ export interface IApiUIActionResult {
|
|
|
12
12
|
*/
|
|
13
13
|
refresh?: boolean;
|
|
14
14
|
/**
|
|
15
|
-
* @description 刷新引用视图模式,0
|
|
15
|
+
* @description 刷新引用视图模式,0:无刷新(默认)、 1:引用视图或树节点、 2:引用树节点父节点、 3:引用树节点根节点,默认无刷新
|
|
16
16
|
* @type {(number | 0 | 1 | 2 | 3)}
|
|
17
17
|
* @memberof IApiUIActionResult
|
|
18
18
|
*/
|
|
@@ -17,13 +17,13 @@ export interface IApiController<T extends object = object, S extends object = ob
|
|
|
17
17
|
*/
|
|
18
18
|
readonly id: string;
|
|
19
19
|
/**
|
|
20
|
-
* @description
|
|
20
|
+
* @description 状态对象
|
|
21
21
|
* @type {S}
|
|
22
22
|
* @memberof IApiController
|
|
23
23
|
*/
|
|
24
24
|
state: S;
|
|
25
25
|
/**
|
|
26
|
-
* @description
|
|
26
|
+
* @description 模型对象
|
|
27
27
|
* @type {T}
|
|
28
28
|
* @memberof IApiController
|
|
29
29
|
*/
|
|
@@ -9,7 +9,7 @@ import { IApiFormDetailController } from './i-api-form-detail.controller';
|
|
|
9
9
|
*/
|
|
10
10
|
export interface IApiFormItemController extends IApiFormDetailController {
|
|
11
11
|
/**
|
|
12
|
-
* @description
|
|
12
|
+
* @description 表单项状态对象(响应式),包含可见性、禁用状态、校验状态等
|
|
13
13
|
* @type {IApiFormItemState}
|
|
14
14
|
* @memberof IApiFormItemController
|
|
15
15
|
*/
|
|
@@ -33,19 +33,19 @@ export interface IApiFormItemController extends IApiFormDetailController {
|
|
|
33
33
|
*/
|
|
34
34
|
readonly value: unknown;
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description 值项名称(用于复杂控件绑定值)
|
|
37
37
|
* @type {(string | undefined)}
|
|
38
38
|
* @memberof IApiFormItemController
|
|
39
39
|
*/
|
|
40
40
|
readonly valueItemName: string | undefined;
|
|
41
41
|
/**
|
|
42
|
-
* @description
|
|
42
|
+
* @description 表单项标签显示文本
|
|
43
43
|
* @type {(string | undefined)}
|
|
44
44
|
* @memberof IApiFormItemController
|
|
45
45
|
*/
|
|
46
46
|
readonly labelCaption: string | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description 单位名称(用于数值类字段显示)
|
|
49
49
|
* @type {(string | undefined)}
|
|
50
50
|
* @memberof IApiFormItemController
|
|
51
51
|
*/
|
|
@@ -63,7 +63,7 @@ export interface IApiFormItemController extends IApiFormDetailController {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly dataType: number | undefined;
|
|
65
65
|
/**
|
|
66
|
-
* @description
|
|
66
|
+
* @description 校验当前表单项(若不可见则自动跳过校验)
|
|
67
67
|
* @returns {*} {Promise<boolean>}
|
|
68
68
|
* @memberof IApiFormItemController
|
|
69
69
|
*/
|
|
@@ -6,6 +6,7 @@ import { IApiFormDetailController } from './form-detail/i-api-form-detail.contro
|
|
|
6
6
|
import { IApiFormMDCtrlController } from './form-detail/i-api-form-mdctrl.controller';
|
|
7
7
|
import { IApiFormDruipartController } from './form-detail/i-api-form-druipart.controller';
|
|
8
8
|
import { IApiFormDetailMapping } from '../common';
|
|
9
|
+
import { IApiFormItemController } from './form-detail';
|
|
9
10
|
/**
|
|
10
11
|
* 表单
|
|
11
12
|
* @primary
|
|
@@ -32,7 +33,7 @@ import { IApiFormDetailMapping } from '../common';
|
|
|
32
33
|
*/
|
|
33
34
|
export interface IApiFormController<T extends IDEForm = IDEForm, S extends IApiFormState = IApiFormState> extends IApiControlController<T, S> {
|
|
34
35
|
/**
|
|
35
|
-
* @description
|
|
36
|
+
* @description 表单成员控件集合(key 为成员 id),包括:按钮、分组、分页、关系界面等
|
|
36
37
|
* @type {{ [key: string]: IApiFormDetailController }}
|
|
37
38
|
* @memberof IApiFormController
|
|
38
39
|
*/
|
|
@@ -41,12 +42,12 @@ export interface IApiFormController<T extends IDEForm = IDEForm, S extends IApiF
|
|
|
41
42
|
};
|
|
42
43
|
/**
|
|
43
44
|
* @description 表单项控制器集合
|
|
44
|
-
* @type {
|
|
45
|
+
* @type {IApiFormItemController[]}
|
|
45
46
|
* @memberof IApiFormController
|
|
46
47
|
*/
|
|
47
|
-
formItems:
|
|
48
|
+
formItems: IApiFormItemController[];
|
|
48
49
|
/**
|
|
49
|
-
* @description
|
|
50
|
+
* @description 表单关系界面控制器集合(嵌入视图)
|
|
50
51
|
* @type {IApiFormMDCtrlController[]}
|
|
51
52
|
* @memberof IApiFormController
|
|
52
53
|
*/
|
|
@@ -70,7 +71,7 @@ export interface IApiFormController<T extends IDEForm = IDEForm, S extends IApiF
|
|
|
70
71
|
*/
|
|
71
72
|
getReal(): IApiData[];
|
|
72
73
|
/**
|
|
73
|
-
* @description
|
|
74
|
+
* @description 刷新表单数据(通常重新加载当前数据)
|
|
74
75
|
* @returns {*} {Promise<void>}
|
|
75
76
|
* @memberof IApiFormController
|
|
76
77
|
*/
|
|
@@ -91,7 +92,7 @@ export interface IApiFormController<T extends IDEForm = IDEForm, S extends IApiF
|
|
|
91
92
|
*/
|
|
92
93
|
setActiveTab(name: string): void;
|
|
93
94
|
/**
|
|
94
|
-
* @description
|
|
95
|
+
* @description 设置指定表单项的数据值(name 为字段标识)
|
|
95
96
|
* @param {string} name 表单项名称
|
|
96
97
|
* @param {unknown} value 值
|
|
97
98
|
* @param {boolean} [ignore] 是否忽略脏值检查
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-form.controller.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/controller/control/i-api-form.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"i-api-form.controller.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/controller/control/i-api-form.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,kBAAkB,CACjC,CAAC,SAAS,OAAO,GAAG,OAAO,EAC3B,CAAC,SAAS,aAAa,GAAG,aAAa,CACvC,SAAQ,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC;IACnC;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAA;KAAE,CAAC;IAErD;;;;OAIG;IACH,SAAS,EAAE,sBAAsB,EAAE,CAAC;IAEpC;;;;OAIG;IACH,WAAW,EAAE,wBAAwB,EAAE,CAAC;IAExC;;;;OAIG;IACH,YAAY,EAAE,0BAA0B,EAAE,CAAC;IAE3C;;;;OAIG;IACH,OAAO,IAAI,QAAQ,EAAE,CAAC;IAEtB;;;;OAIG;IACH,OAAO,IAAI,QAAQ,EAAE,CAAC;IAEtB;;;;OAIG;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;OAIG;IACH,cAAc,CAAC,MAAM,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAElE;;;;OAIG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;;;;;;OAOG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5E;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpD;;;;OAIG;IACH,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAE7B;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAEnC;;;;;;;OAOG;IACH,aAAa,CAAC,CAAC,SAAS,MAAM,qBAAqB,EACjD,IAAI,EAAE,CAAC,EACP,EAAE,EAAE,MAAM,GACT,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAE5B;;;;OAIG;IACH,kBAAkB,IAAI,MAAM,CAAC;IAE7B;;;;OAIG;IACH,kBAAkB,IAAI,MAAM,CAAC;CAC9B"}
|
|
@@ -62,7 +62,7 @@ export interface IApiViewController<T extends IAppView = IAppView, S extends IAp
|
|
|
62
62
|
*/
|
|
63
63
|
parentData?: IApiData[];
|
|
64
64
|
/**
|
|
65
|
-
* @description
|
|
65
|
+
* @description 关闭视图,modalData为返回至外层的数据
|
|
66
66
|
* @param {IApiModalData} [modalData] 返回数据
|
|
67
67
|
* @returns {*} {Promise<void>}
|
|
68
68
|
* @memberof IApiViewController
|
|
@@ -9,73 +9,73 @@ import { IApiOpenViewUtil } from './util/i-api-open-view-util';
|
|
|
9
9
|
*/
|
|
10
10
|
export interface IApiRuntimeIbizsys {
|
|
11
11
|
/**
|
|
12
|
-
* @description
|
|
12
|
+
* @description 应用中心服务,用于应用级资源调度、服务注册与统一访问入口
|
|
13
13
|
* @type {IApiAppHubService}
|
|
14
14
|
* @memberof IApiRuntimeIbizsys
|
|
15
15
|
*/
|
|
16
16
|
hub: IApiAppHubService;
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
18
|
+
* @description 全局配置对象,用于获取系统级配置、运行环境参数及全局变量
|
|
19
19
|
* @type {IApiGlobalConfig}
|
|
20
20
|
* @memberof IApiRuntimeIbizsys
|
|
21
21
|
*/
|
|
22
22
|
config: IApiGlobalConfig;
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description 模态框工具服务,用于弹出对话框(如信息提示、表单弹窗等)
|
|
25
25
|
* @type {IApiModalUtil}
|
|
26
26
|
* @memberof IApiRuntimeIbizsys
|
|
27
27
|
*/
|
|
28
28
|
modal: IApiModalUtil;
|
|
29
29
|
/**
|
|
30
|
-
* @description
|
|
30
|
+
* @description 确认框服务,用于触发用户确认操作(如删除确认、操作二次确认等)
|
|
31
31
|
* @type {IApiConfirmUtil}
|
|
32
32
|
* @memberof IApiRuntimeIbizsys
|
|
33
33
|
*/
|
|
34
34
|
confirm: IApiConfirmUtil;
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description 消息提示服务,用于在页面顶部居中展示轻量级反馈信息(如成功、警告、错误提示)
|
|
37
37
|
* @type {IApiMessageUtil}
|
|
38
38
|
* @memberof IApiRuntimeIbizsys
|
|
39
39
|
*/
|
|
40
40
|
message: IApiMessageUtil;
|
|
41
41
|
/**
|
|
42
|
-
* @description
|
|
42
|
+
* @description 全局通知服务,用于展示系统级通知(支持持久化或可关闭通知)
|
|
43
43
|
* @type {IApiNotificationUtil}
|
|
44
44
|
* @memberof IApiRuntimeIbizsys
|
|
45
45
|
*/
|
|
46
46
|
notification: IApiNotificationUtil;
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description 视图打开服务,用于打开或跳转至指定视图(支持路由、模态、抽屉等多种方式)
|
|
49
49
|
* @type {IApiOpenViewUtil}
|
|
50
50
|
* @memberof IApiRuntimeIbizsys
|
|
51
51
|
*/
|
|
52
52
|
openView: IApiOpenViewUtil;
|
|
53
53
|
/**
|
|
54
|
-
* @description
|
|
54
|
+
* @description 全局工具服务,提供通用方法(如自定义主题、文本格式化等)
|
|
55
55
|
* @type {IApiGlobalUtil}
|
|
56
56
|
* @memberof IApiRuntimeIbizsys
|
|
57
57
|
*/
|
|
58
58
|
util: IApiGlobalUtil;
|
|
59
59
|
/**
|
|
60
|
-
* @description
|
|
60
|
+
* @description 全屏工具服务,用于控制页面或指定元素进入/退出全屏模式
|
|
61
61
|
* @type {IApiFullscreenUtil}
|
|
62
62
|
* @memberof IApiRuntimeIbizsys
|
|
63
63
|
*/
|
|
64
64
|
fullscreenUtil: IApiFullscreenUtil;
|
|
65
65
|
/**
|
|
66
|
-
* @description
|
|
66
|
+
* @description 二维码工具服务,用于生成或解析二维码内容
|
|
67
67
|
* @type {IApiQrcodeUtil}
|
|
68
68
|
* @memberof IApiRuntimeIbizsys
|
|
69
69
|
*/
|
|
70
70
|
qrcodeUtil: IApiQrcodeUtil;
|
|
71
71
|
/**
|
|
72
|
-
* @description
|
|
72
|
+
* @description 应用级工具服务,提供调整整个应用状态的功能(如登录、登出、切换主题等)
|
|
73
73
|
* @type {IApiAppUtil}
|
|
74
74
|
* @memberof IApiRuntimeIbizsys
|
|
75
75
|
*/
|
|
76
76
|
appUtil: IApiAppUtil;
|
|
77
77
|
/**
|
|
78
|
-
* @description
|
|
78
|
+
* @description 打印预览服务,用于生成并展示打印预览内容,支持导出或打印操作
|
|
79
79
|
*/
|
|
80
80
|
printPreview: IApiPrintPreviewUtil;
|
|
81
81
|
}
|
|
@@ -15,7 +15,7 @@ export interface IApiCodeListService {
|
|
|
15
15
|
*/
|
|
16
16
|
getCodeList(tag: string): IAppCodeList | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
18
|
+
* @description 获取指定代码表所有代码表项,返回树形结构数据格式
|
|
19
19
|
* @param {string} tag 代码表标识
|
|
20
20
|
* @param {IApiContext} context 应用上下文
|
|
21
21
|
* @param {IApiParams} [params] 视图参数
|
|
@@ -21,7 +21,7 @@ export interface IApiDEServiceUtil {
|
|
|
21
21
|
*/
|
|
22
22
|
reset(context: IApiContext): void;
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description 执行服务方法(无需提前 getService,直传appDataEntityId一步到位;如已有服务实例则用IApiAppDEService.exec),appDataEntityId 通常是应用标识.实体标识,如:checkinweb.shift,methodName 即当前实体的行为标识,如:'create' / 'update' / 'remove' / 'get' / 'fetchDefault'
|
|
25
25
|
* @param {string} appDataEntityId 实体标识,通常是应用标识.实体标识,如:checkinweb.shift
|
|
26
26
|
* @param {string} methodName 方法名
|
|
27
27
|
* @param {IApiContext} context 应用上下文
|
|
@@ -6,19 +6,19 @@ import { IApiContext, IApiData } from '@ibiz-template/core';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface IApiButtonContainerState {
|
|
8
8
|
/**
|
|
9
|
-
* @description
|
|
9
|
+
* @description 是否显示,直接修改值界面即可生效
|
|
10
10
|
* @type {boolean}
|
|
11
11
|
* @memberof IApiButtonContainerState
|
|
12
12
|
*/
|
|
13
13
|
visible: boolean;
|
|
14
14
|
/**
|
|
15
|
-
* @description
|
|
15
|
+
* @description 是否禁用,直接修改值界面即可生效
|
|
16
16
|
* @type {boolean}
|
|
17
17
|
* @memberof IApiButtonContainerState
|
|
18
18
|
*/
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
/**
|
|
21
|
-
* @description
|
|
21
|
+
* @description 设置当前执行的按钮,name为按钮标识
|
|
22
22
|
* @param {string} name
|
|
23
23
|
* @memberof IApiButtonContainerState
|
|
24
24
|
*/
|
|
@@ -6,19 +6,19 @@ import { IApiContext, IApiData } from '@ibiz-template/core';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface IApiButtonState {
|
|
8
8
|
/**
|
|
9
|
-
* @description
|
|
9
|
+
* @description 是否禁用,直接修改值界面即可生效
|
|
10
10
|
* @type {boolean}
|
|
11
11
|
* @memberof IApiButtonState
|
|
12
12
|
*/
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
/**
|
|
15
|
-
* @description
|
|
15
|
+
* @description 显示与否,直接修改值界面即可生效
|
|
16
16
|
* @type {boolean}
|
|
17
17
|
* @memberof IApiButtonState
|
|
18
18
|
*/
|
|
19
19
|
visible: boolean;
|
|
20
20
|
/**
|
|
21
|
-
* @description 是否显示loading
|
|
21
|
+
* @description 是否显示loading状态,直接修改值界面即可生效
|
|
22
22
|
* @type {boolean}
|
|
23
23
|
* @memberof IApiButtonState
|
|
24
24
|
*/
|
|
@@ -30,14 +30,14 @@ export interface IApiFormState extends IApiControlState {
|
|
|
30
30
|
*/
|
|
31
31
|
processing: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* @description
|
|
33
|
+
* @description 表单数据是否已被修改(是否存在未保存变更)
|
|
34
34
|
* @type {boolean}
|
|
35
35
|
* @default false
|
|
36
36
|
* @memberof IApiFormState
|
|
37
37
|
*/
|
|
38
38
|
modified: boolean;
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description 当前激活的分页标识
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof IApiFormState
|
|
43
43
|
*/
|
|
@@ -75,7 +75,7 @@ export interface IApiAppUtil {
|
|
|
75
75
|
*/
|
|
76
76
|
onRouteIsReady(): Promise<void>;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* 登录
|
|
79
79
|
*
|
|
80
80
|
* @author tony001
|
|
81
81
|
* @date 2024-05-14 15:05:07
|
|
@@ -88,7 +88,7 @@ export interface IApiAppUtil {
|
|
|
88
88
|
*/
|
|
89
89
|
login(loginName: string, password: string, remember?: boolean, headers?: IApiData, opts?: IApiData): Promise<boolean>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* 登出
|
|
92
92
|
*
|
|
93
93
|
* @author tony001
|
|
94
94
|
* @date 2024-05-14 15:05:24
|
|
@@ -97,7 +97,7 @@ export interface IApiAppUtil {
|
|
|
97
97
|
*/
|
|
98
98
|
logout(opts?: IApiData): Promise<boolean>;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* 修改当前用户登录密码
|
|
101
101
|
*
|
|
102
102
|
* @author tony001
|
|
103
103
|
* @date 2024-05-14 15:05:33
|
|
@@ -112,7 +112,7 @@ export interface IApiAppUtil {
|
|
|
112
112
|
surePwd: string;
|
|
113
113
|
}): Promise<IApiAuthResult>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 切换当前登录用户所属组织
|
|
116
116
|
*
|
|
117
117
|
* @author tony001
|
|
118
118
|
* @date 2024-05-14 15:05:51
|
|
@@ -123,7 +123,7 @@ export interface IApiAppUtil {
|
|
|
123
123
|
*/
|
|
124
124
|
switchOrg(oldOrgId: string, newOrgId: string, opts?: IApiData): Promise<boolean>;
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* 切换应用显示主题(如:light / dark)
|
|
127
127
|
*
|
|
128
128
|
* @author tony001
|
|
129
129
|
* @date 2024-05-14 16:05:06
|
|
@@ -134,7 +134,7 @@ export interface IApiAppUtil {
|
|
|
134
134
|
*/
|
|
135
135
|
switchTheme(oldTheme: string, newTheme: string, opts?: IApiData): Promise<boolean>;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* 切换应用语言环境(国际化)
|
|
138
138
|
*
|
|
139
139
|
* @author tony001
|
|
140
140
|
* @date 2024-05-14 16:05:20
|
|
@@ -160,7 +160,7 @@ export interface IApiAppUtil {
|
|
|
160
160
|
*/
|
|
161
161
|
openAiChat(params: IApiAiChatParam): Promise<IApiChatMessage[]>;
|
|
162
162
|
/**
|
|
163
|
-
* @description
|
|
163
|
+
* @description 视图缓存中心,用于缓存已加载的视图控制器实例,避免重复创建
|
|
164
164
|
* @type {Map<string, IApiViewController>}
|
|
165
165
|
* @memberof IApiAppUtil
|
|
166
166
|
*/
|
|
@@ -31,28 +31,28 @@ export interface IApiConfirmParams {
|
|
|
31
31
|
*/
|
|
32
32
|
export interface IApiConfirmUtil {
|
|
33
33
|
/**
|
|
34
|
-
* @description
|
|
34
|
+
* @description 显示普通信息确认框,用户确认返回 true
|
|
35
35
|
* @param {IApiConfirmParams} params 确认框参数
|
|
36
36
|
* @returns {*} {Promise<boolean>}
|
|
37
37
|
* @memberof IApiConfirmUtil
|
|
38
38
|
*/
|
|
39
39
|
info(params: IApiConfirmParams): Promise<boolean>;
|
|
40
40
|
/**
|
|
41
|
-
* @description
|
|
41
|
+
* @description 显示成功类型确认框,常用于用户确认提示
|
|
42
42
|
* @param {IApiConfirmParams} params 确认框参数
|
|
43
43
|
* @returns {*} {Promise<boolean>}
|
|
44
44
|
* @memberof IApiConfirmUtil
|
|
45
45
|
*/
|
|
46
46
|
success(params: IApiConfirmParams): Promise<boolean>;
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description 显示警告类型确认框,常用于风险提示
|
|
49
49
|
* @param {IApiConfirmParams} params 确认框参数
|
|
50
50
|
* @returns {*} {Promise<boolean>}
|
|
51
51
|
* @memberof IApiConfirmUtil
|
|
52
52
|
*/
|
|
53
53
|
warning(params: IApiConfirmParams): Promise<boolean>;
|
|
54
54
|
/**
|
|
55
|
-
* @description
|
|
55
|
+
* @description 显示错误类型确认框,常用于确认错误信息
|
|
56
56
|
* @param {IApiConfirmParams} params 确认框参数
|
|
57
57
|
* @returns {*} {Promise<boolean>}
|
|
58
58
|
* @memberof IApiConfirmUtil
|