@ibiz-template/runtime 0.7.41-alpha.130 → 0.7.41-alpha.132
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 +38 -9
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.d.ts.map +1 -1
- package/out/config/global-config.js +2 -0
- package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.d.ts +9 -1
- package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.d.ts.map +1 -1
- package/out/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.js +25 -3
- package/out/controller/control/form/search-form/search-form.controller.d.ts +7 -0
- package/out/controller/control/form/search-form/search-form.controller.d.ts.map +1 -1
- package/out/controller/control/form/search-form/search-form.controller.js +13 -1
- package/out/interface/api/common/global-config/i-api-global-app-menu-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-app-menu-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +10 -2
- 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-form-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-form-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-img-assets.d.ts +12 -0
- package/out/interface/api/common/global-config/i-api-global-img-assets.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts +8 -0
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-view-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-view-config.d.ts.map +1 -1
- package/out/interface/api/common/i-api-popover-options.d.ts +10 -0
- package/out/interface/api/common/i-api-popover-options.d.ts.map +1 -1
- package/out/utils/script/script-function.d.ts.map +1 -1
- package/out/utils/script/script-function.js +2 -1
- package/package.json +2 -2
- package/src/config/global-config.ts +2 -0
- package/src/controller/control/form/form-detail/form-mdctrl/form-mdctrl-repeater.controller.ts +29 -7
- package/src/controller/control/form/search-form/search-form.controller.ts +14 -1
- package/src/interface/api/common/global-config/i-api-global-app-menu-config.ts +1 -0
- package/src/interface/api/common/global-config/i-api-global-common-config.ts +11 -2
- package/src/interface/api/common/global-config/i-api-global-form-config.ts +1 -0
- package/src/interface/api/common/global-config/i-api-global-img-assets.ts +12 -0
- package/src/interface/api/common/global-config/i-api-global-mob-config.ts +1 -0
- package/src/interface/api/common/global-config/i-api-global-search-form-config.ts +9 -0
- package/src/interface/api/common/global-config/i-api-global-view-config.ts +1 -0
- package/src/interface/api/common/i-api-popover-options.ts +10 -0
- package/src/utils/script/script-function.ts +2 -1
|
@@ -7,6 +7,7 @@ export interface IApiGlobalImgAssets {
|
|
|
7
7
|
/**
|
|
8
8
|
* @description 无权限403图片
|
|
9
9
|
* @type {string}
|
|
10
|
+
* @default ./assets/images/403.png
|
|
10
11
|
* @platform web
|
|
11
12
|
* @memberof IApiGlobalImgAssets
|
|
12
13
|
*/
|
|
@@ -15,6 +16,7 @@ export interface IApiGlobalImgAssets {
|
|
|
15
16
|
/**
|
|
16
17
|
* @description 未找到404图片
|
|
17
18
|
* @type {string}
|
|
19
|
+
* @default ./assets/images/404.png
|
|
18
20
|
* @platform web
|
|
19
21
|
* @memberof IApiGlobalImgAssets
|
|
20
22
|
*/
|
|
@@ -23,6 +25,7 @@ export interface IApiGlobalImgAssets {
|
|
|
23
25
|
/**
|
|
24
26
|
* @description 登录页头像图片
|
|
25
27
|
* @type {string}
|
|
28
|
+
* @default ./assets/images/login-avatar.png
|
|
26
29
|
* @platform web
|
|
27
30
|
* @memberof IApiGlobalImgAssets
|
|
28
31
|
*/
|
|
@@ -31,6 +34,7 @@ export interface IApiGlobalImgAssets {
|
|
|
31
34
|
/**
|
|
32
35
|
* @description 登录页头部背景图
|
|
33
36
|
* @type {string}
|
|
37
|
+
* @default ./assets/images/login-header.png
|
|
34
38
|
* @platform web
|
|
35
39
|
* @memberof IApiGlobalImgAssets
|
|
36
40
|
*/
|
|
@@ -39,6 +43,7 @@ export interface IApiGlobalImgAssets {
|
|
|
39
43
|
/**
|
|
40
44
|
* @description 地图位置标记图标
|
|
41
45
|
* @type {string}
|
|
46
|
+
* @default ./assets/images/poi-marker-default.png
|
|
42
47
|
* @platform web
|
|
43
48
|
* @memberof IApiGlobalImgAssets
|
|
44
49
|
*/
|
|
@@ -47,6 +52,7 @@ export interface IApiGlobalImgAssets {
|
|
|
47
52
|
/**
|
|
48
53
|
* @description 用户头像图片
|
|
49
54
|
* @type {string}
|
|
55
|
+
* @default ./assets/images/user-avatar.png
|
|
50
56
|
* @platform web
|
|
51
57
|
* @memberof IApiGlobalImgAssets
|
|
52
58
|
*/
|
|
@@ -55,6 +61,7 @@ export interface IApiGlobalImgAssets {
|
|
|
55
61
|
/**
|
|
56
62
|
* @description ai对话框按钮图标
|
|
57
63
|
* @type {string}
|
|
64
|
+
* @default ./assets/images/svg/chat.svg
|
|
58
65
|
* @platform web
|
|
59
66
|
* @memberof IApiGlobalImgAssets
|
|
60
67
|
*/
|
|
@@ -63,6 +70,7 @@ export interface IApiGlobalImgAssets {
|
|
|
63
70
|
/**
|
|
64
71
|
* @description 自定义用户行为图标
|
|
65
72
|
* @type {string}
|
|
73
|
+
* @default ./assets/images/svg/custom-workbench.svg
|
|
66
74
|
* @platform web
|
|
67
75
|
* @memberof IApiGlobalImgAssets
|
|
68
76
|
*/
|
|
@@ -71,6 +79,7 @@ export interface IApiGlobalImgAssets {
|
|
|
71
79
|
/**
|
|
72
80
|
* @description 帮助用户行为图标
|
|
73
81
|
* @type {string}
|
|
82
|
+
* @default ./assets/images/svg/helper.svg
|
|
74
83
|
* @platform web
|
|
75
84
|
* @memberof IApiGlobalImgAssets
|
|
76
85
|
*/
|
|
@@ -79,6 +88,7 @@ export interface IApiGlobalImgAssets {
|
|
|
79
88
|
/**
|
|
80
89
|
* @description 数据导入图标
|
|
81
90
|
* @type {string}
|
|
91
|
+
* @default ./assets/images/svg/icon-import.svg
|
|
82
92
|
* @platform web
|
|
83
93
|
* @memberof IApiGlobalImgAssets
|
|
84
94
|
*/
|
|
@@ -87,6 +97,7 @@ export interface IApiGlobalImgAssets {
|
|
|
87
97
|
/**
|
|
88
98
|
* @description 用户消息图标
|
|
89
99
|
* @type {string}
|
|
100
|
+
* @default ./assets/images/svg/message.svg
|
|
90
101
|
* @platform web
|
|
91
102
|
* @memberof IApiGlobalImgAssets
|
|
92
103
|
*/
|
|
@@ -95,6 +106,7 @@ export interface IApiGlobalImgAssets {
|
|
|
95
106
|
/**
|
|
96
107
|
* @description 用户设置图标
|
|
97
108
|
* @type {string}
|
|
109
|
+
* @default ./assets/images/svg/setting.svg
|
|
98
110
|
* @platform web
|
|
99
111
|
* @memberof IApiGlobalImgAssets
|
|
100
112
|
*/
|
|
@@ -32,4 +32,13 @@ export interface IApiGlobalSearchFormConfig {
|
|
|
32
32
|
* @memberof IApiGlobalFormConfig
|
|
33
33
|
*/
|
|
34
34
|
resetSearchMode: 'default' | 'clearonly';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @description 搜索表单是否启用回车搜索
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @default true
|
|
40
|
+
* @platform web
|
|
41
|
+
* @memberof IApiGlobalSearchFormConfig
|
|
42
|
+
*/
|
|
43
|
+
enableEnterSearch: boolean;
|
|
35
44
|
}
|
|
@@ -2,6 +2,11 @@ export declare type ApiAlignment = 'start' | 'end';
|
|
|
2
2
|
export declare type ApiSide = 'top' | 'right' | 'bottom' | 'left';
|
|
3
3
|
export declare type ApiAlignedPlacement = `${ApiSide}-${ApiAlignment}`;
|
|
4
4
|
export declare type ApiPlacement = ApiSide | ApiAlignedPlacement;
|
|
5
|
+
/**
|
|
6
|
+
* @description 偏移参数
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IApiAxesOffsets
|
|
9
|
+
*/
|
|
5
10
|
export interface IApiAxesOffsets {
|
|
6
11
|
/**
|
|
7
12
|
* @description 浮动元素与参考元素之间的间距
|
|
@@ -15,6 +20,11 @@ export interface IApiAxesOffsets {
|
|
|
15
20
|
* @memberof IApiAxesOffsets
|
|
16
21
|
*/
|
|
17
22
|
crossAxis?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @description 浮动元素与参考元素之间的对齐轴偏移量
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof IApiAxesOffsets
|
|
27
|
+
*/
|
|
18
28
|
alignmentAxis?: number | null;
|
|
19
29
|
}
|
|
20
30
|
|
|
@@ -53,7 +53,8 @@ export class ScriptFunction {
|
|
|
53
53
|
options: IScriptFunctionOpts,
|
|
54
54
|
): string {
|
|
55
55
|
let code = scriptCode;
|
|
56
|
-
|
|
56
|
+
// 单行脚本模式脚本代码中没有return时,自动添加return
|
|
57
|
+
if (options.singleRowReturn && !code.includes('return')) {
|
|
57
58
|
code = `return (${code})`;
|
|
58
59
|
}
|
|
59
60
|
if (options.isAsync) {
|