star-horse-lowcode 3.1.5 → 3.1.7
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/README.md +11 -0
- package/dist/api/star_horse_apis.d.ts +1 -1
- package/dist/api/star_horse_utils.d.ts +7 -5
- package/dist/api/system.d.ts +3 -3
- package/dist/assets/index.css +1 -1
- package/dist/components/comp/StarHorseDataSelector.vue.d.ts +2 -2
- package/dist/components/comp/utils/DataPicker.vue.d.ts +0 -45
- package/dist/components/formcomp/utils/ItemRelationEventUtils.d.ts +13 -3
- package/dist/components/types/ApiUrls.d.ts +20 -0
- package/dist/components/types/ItemPreps.d.ts +155 -2
- package/dist/components/types/PageFieldInfo.d.ts +8 -0
- package/dist/index.es.js +6 -6
- package/dist/lang/en_US.d.ts +16 -0
- package/dist/lang/zh_CN.d.ts +16 -0
- package/dist/store/FormDataCache.d.ts +252 -0
- package/dist/store/SelfOperation.d.ts +30 -0
- package/dist/store/StoreManager.d.ts +564 -0
- package/dist/types/api/star_horse_apis.d.ts +1 -1
- package/dist/types/api/star_horse_utils.d.ts +7 -6
- package/dist/types/api/system.d.ts +3 -3
- package/dist/types/components/comp/StarHorseDataSelector.vue.d.ts +2 -2
- package/dist/types/components/comp/StarHorseTableComp.vue.d.ts +1 -1
- package/dist/types/components/comp/StarHorseTree.vue.d.ts +2 -2
- package/dist/types/components/comp/utils/DataPicker.vue.d.ts +0 -45
- package/dist/types/components/formcomp/utils/ItemRelationEventUtils.d.ts +13 -3
- package/dist/types/components/system/PageConfig.vue.d.ts +1 -1
- package/dist/types/components/system/code-editor/ApiConfigDialog.vue.d.ts +2 -2
- package/dist/types/components/types/ApiUrls.d.ts +20 -0
- package/dist/types/components/types/ItemPreps.d.ts +155 -2
- package/dist/types/components/types/PageFieldInfo.d.ts +8 -0
- package/dist/types/lang/en_US.d.ts +16 -0
- package/dist/types/lang/zh_CN.d.ts +16 -0
- package/dist/types/store/FormDataCache.d.ts +252 -0
- package/dist/types/store/SelfOperation.d.ts +30 -0
- package/dist/types/store/StoreManager.d.ts +564 -0
- package/dist/types/utils/ImagePreview.d.ts +105 -0
- package/dist/utils/ImagePreview.d.ts +105 -0
- package/package.json +13 -12
|
@@ -50,7 +50,7 @@ export declare function httpRequest(url: string, method: string, data: any): Pro
|
|
|
50
50
|
* @param url
|
|
51
51
|
* @param data
|
|
52
52
|
*/
|
|
53
|
-
export declare function uploadRequest(url: string, data:
|
|
53
|
+
export declare function uploadRequest(url: string, data: any): Promise<AxiosResponse<any, any, {}>>;
|
|
54
54
|
/**
|
|
55
55
|
* 加载Post 数据
|
|
56
56
|
* @param url 接口地址
|
|
@@ -4,7 +4,6 @@ import { SelectOption } from "../components/types/SearchProps";
|
|
|
4
4
|
import { BatchFieldInfo, FieldInfo, PageFieldInfo } from "../components/types/PageFieldInfo";
|
|
5
5
|
import { ApiUrls } from "../components/types/ApiUrls";
|
|
6
6
|
import { DialogProps } from "../components/types/DialogProps";
|
|
7
|
-
import "preview-image-js/icon.js";
|
|
8
7
|
/**
|
|
9
8
|
* 构建菜单树
|
|
10
9
|
* @param data
|
|
@@ -145,15 +144,16 @@ export declare function batchFieldDefaultValues(datas: BatchFieldInfo, dataForm:
|
|
|
145
144
|
* 动态组件数据
|
|
146
145
|
* @param field 组件参数信息
|
|
147
146
|
* @param analysisUrl 是否解析Url
|
|
147
|
+
* @param proxyUrl 代理接口
|
|
148
148
|
*/
|
|
149
|
-
export declare function compDynamicData(field: any, analysisUrl?: false): Promise<any>;
|
|
149
|
+
export declare function compDynamicData(field: any, analysisUrl?: false, proxyUrl?: string): Promise<any>;
|
|
150
150
|
/**
|
|
151
151
|
*
|
|
152
152
|
* @param preps 组件参数信息
|
|
153
153
|
* @param queryInfo 查询条件
|
|
154
154
|
* @param proxyUrl 代理接口,为空时,默认使用/system-config/redirect/execute
|
|
155
155
|
*/
|
|
156
|
-
export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams[], proxyUrl?: string): Promise<
|
|
156
|
+
export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams[], proxyUrl?: string): Promise<any>;
|
|
157
157
|
/**
|
|
158
158
|
* 创建过滤器
|
|
159
159
|
* @param queryString 查询参数
|
|
@@ -196,10 +196,11 @@ export declare function objectToBase64(object: any): string;
|
|
|
196
196
|
*/
|
|
197
197
|
export declare function base64Decode(param: string): string;
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
200
|
-
* @param images
|
|
199
|
+
* 预览图片(纯JS实现,无第三方依赖)
|
|
200
|
+
* @param images 图片URL数组或单个URL
|
|
201
201
|
*/
|
|
202
|
-
export
|
|
202
|
+
export { ImagePreview, imagesPreview } from "../utils/ImagePreview";
|
|
203
|
+
export type { ImagePreviewOptions, ImageTransition } from "../utils/ImagePreview";
|
|
203
204
|
/**
|
|
204
205
|
* 设置css 全局变量
|
|
205
206
|
* @param name 变量名称
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DyCompField } from "../components/types/DyCompField";
|
|
2
|
-
import { RelationDetail } from "../components/types/ItemPreps";
|
|
3
2
|
import { SearchParams } from "../components/types/Params";
|
|
4
3
|
import { Ref } from "vue";
|
|
4
|
+
import { ItemRelation } from "../components/types";
|
|
5
5
|
/**
|
|
6
6
|
* UUID
|
|
7
7
|
*/
|
|
@@ -74,5 +74,5 @@ export declare const useZIndex: (zIndexOverrides?: Ref<number>) => {
|
|
|
74
74
|
nextZIndex: () => number;
|
|
75
75
|
};
|
|
76
76
|
export declare const baseEvent: (eventName: string, recall?: Function) => (e: Event) => void;
|
|
77
|
-
export declare const baseRelationEvent: (props: any,
|
|
78
|
-
export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
|
|
77
|
+
export declare const baseRelationEvent: (props: any, relation: ItemRelation, formData: any, actionName: string) => (e: Event) => void;
|
|
78
|
+
export declare function getDynamicEvents(props: any, recall: Function, formData: any): Record<string, any>;
|
|
@@ -25,13 +25,13 @@ export interface DataSelectorProps {
|
|
|
25
25
|
tagEffect: "" | "light" | "dark" | "plain";
|
|
26
26
|
}
|
|
27
27
|
declare const __VLS_export: import("vue").DefineComponent<DataSelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
|
-
"update:modelValue": (modelValue: any) => any;
|
|
29
28
|
change: (selectData: any) => any;
|
|
29
|
+
"update:modelValue": (modelValue: any) => any;
|
|
30
30
|
selectedData: (selectData: any) => any;
|
|
31
31
|
"update:selectedData": (selectData: any) => any;
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<DataSelectorProps> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: (modelValue: any) => any;
|
|
34
33
|
onChange?: (selectData: any) => any;
|
|
34
|
+
"onUpdate:modelValue"?: (modelValue: any) => any;
|
|
35
35
|
onSelectedData?: (selectData: any) => any;
|
|
36
36
|
"onUpdate:selectedData"?: (selectData: any) => any;
|
|
37
37
|
}>, {
|
|
@@ -28,12 +28,12 @@ declare const __VLS_export: import("vue").DefineComponent<DataListProps, {
|
|
|
28
28
|
allowSelectParent: boolean;
|
|
29
29
|
hideBtnCondition: BtnHideCondition[];
|
|
30
30
|
showPageBar: boolean;
|
|
31
|
-
commonPersons: Array<any>;
|
|
32
31
|
reverseDataList: Array<any>;
|
|
33
32
|
needLoad: boolean;
|
|
34
33
|
preValidFunc: PreValid[];
|
|
35
34
|
lineHeight: string;
|
|
36
35
|
showSelection: boolean;
|
|
36
|
+
commonPersons: Array<any>;
|
|
37
37
|
userColumnName: string;
|
|
38
38
|
btnPermissions: Record<string, string>;
|
|
39
39
|
pageCombList: number[];
|
|
@@ -235,6 +235,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
235
235
|
checkStrictly: boolean;
|
|
236
236
|
showCheckBox: boolean;
|
|
237
237
|
expand: boolean;
|
|
238
|
+
showPageBar: boolean;
|
|
239
|
+
commonPersons: any;
|
|
238
240
|
showCollapse: boolean;
|
|
239
241
|
treeTitle: string;
|
|
240
242
|
showSelectData: boolean;
|
|
@@ -242,7 +244,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
242
244
|
checkOnClickNode: boolean;
|
|
243
245
|
treeType: string;
|
|
244
246
|
showCode: boolean;
|
|
245
|
-
showPageBar: boolean;
|
|
246
247
|
isDynamicData: boolean;
|
|
247
248
|
autoLoad: boolean;
|
|
248
249
|
btnTitle: string;
|
|
@@ -250,7 +251,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
250
251
|
rmvTitle: string;
|
|
251
252
|
rmvVisible: boolean;
|
|
252
253
|
showDropdown: boolean;
|
|
253
|
-
commonPersons: any;
|
|
254
254
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
255
255
|
declare const _default: typeof __VLS_export;
|
|
256
256
|
export default _default;
|
|
@@ -1,65 +1,20 @@
|
|
|
1
1
|
import { SearchParams } from "../../../components/types";
|
|
2
2
|
export type ModelValueType = any;
|
|
3
3
|
export interface DataDropdownProps {
|
|
4
|
-
/**
|
|
5
|
-
* 模型值
|
|
6
|
-
*/
|
|
7
4
|
modelValue: ModelValueType;
|
|
8
|
-
/**
|
|
9
|
-
* 接口地址
|
|
10
|
-
*/
|
|
11
5
|
dataUrl?: string;
|
|
12
|
-
/**
|
|
13
|
-
* 是否使用代理
|
|
14
|
-
*/
|
|
15
6
|
proxy?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 代理地址
|
|
18
|
-
*/
|
|
19
7
|
proxyUrl?: string;
|
|
20
|
-
/**
|
|
21
|
-
* 接口参数
|
|
22
|
-
*/
|
|
23
8
|
params?: SearchParams[];
|
|
24
|
-
/**
|
|
25
|
-
* 页码
|
|
26
|
-
*/
|
|
27
9
|
pageSize?: number;
|
|
28
|
-
/**
|
|
29
|
-
* 数据
|
|
30
|
-
*/
|
|
31
10
|
data?: Array<any>;
|
|
32
|
-
/**
|
|
33
|
-
* 标题
|
|
34
|
-
*/
|
|
35
11
|
title?: string;
|
|
36
|
-
/**
|
|
37
|
-
* 组件大小
|
|
38
|
-
*/
|
|
39
12
|
compSize?: string;
|
|
40
|
-
/**
|
|
41
|
-
* 显示名称
|
|
42
|
-
*/
|
|
43
13
|
displayName?: string;
|
|
44
|
-
/**
|
|
45
|
-
* 显示值
|
|
46
|
-
*/
|
|
47
14
|
displayValue?: string;
|
|
48
|
-
/**
|
|
49
|
-
* 是否多选
|
|
50
|
-
*/
|
|
51
15
|
multiple?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* 是否严格选择
|
|
54
|
-
*/
|
|
55
16
|
checkStrictly?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* 是否只选叶子节点
|
|
58
|
-
*/
|
|
59
17
|
selectLeaf?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* 自动关闭弹窗
|
|
62
|
-
*/
|
|
63
18
|
autoClose?: boolean;
|
|
64
19
|
}
|
|
65
20
|
declare const __VLS_export: import("vue").DefineComponent<DataDropdownProps, {
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { RelationDetail } from "../../../components/types";
|
|
1
|
+
import { ItemRelation, RelationDetail } from "../../../components/types";
|
|
2
|
+
import { Ref } from "vue";
|
|
2
3
|
import { executeFormulaWithFill, initFormFormulaWatchers, setupFormulaWatchers } from "../../../components/formcomp/utils/FormulaEngine";
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* 联动事件分发函数
|
|
6
|
+
* @param props
|
|
7
|
+
* @param item
|
|
8
|
+
* @param e
|
|
9
|
+
* @param formData
|
|
10
|
+
* @param actionName
|
|
11
|
+
*/
|
|
12
|
+
declare const relationEventDispatcher: (props: any, item: ItemRelation, e: any, formData: Ref<Record<string, any>>, actionName: string) => void;
|
|
13
|
+
declare const relationEvent: (props: any, relationDetails: RelationDetail[], e: any, formData: Ref<Record<string, any>>, actionName: string) => void;
|
|
4
14
|
/** 所有触发的事件 */
|
|
5
15
|
declare const allAction: (context: any, emits: any, formData: any, actionName: string, _isInit?: boolean) => void;
|
|
6
16
|
/** Button 组件的点击事件 */
|
|
@@ -13,4 +23,4 @@ declare const useFormField: (context: any, field: any) => {
|
|
|
13
23
|
declare const initCompCallEvent: (props: any, emits: any, formData: any) => void;
|
|
14
24
|
declare const prepsFilter: (preps: any) => any;
|
|
15
25
|
declare const convertData: (data: any) => any;
|
|
16
|
-
export { allAction, buttonAction, checkIsDisabled, initCompCallEvent, prepsFilter, relationEvent, useFormField, convertData, executeFormulaWithFill, initFormFormulaWatchers, setupFormulaWatchers, };
|
|
26
|
+
export { allAction, buttonAction, checkIsDisabled, initCompCallEvent, prepsFilter, relationEvent, relationEventDispatcher, useFormField, convertData, executeFormulaWithFill, initFormFormulaWatchers, setupFormulaWatchers, };
|
|
@@ -51,8 +51,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
51
51
|
}>, {
|
|
52
52
|
title: string;
|
|
53
53
|
compSize: string;
|
|
54
|
-
modelValue: boolean;
|
|
55
54
|
direction: string;
|
|
55
|
+
modelValue: boolean;
|
|
56
56
|
hideDefaultConfig: boolean;
|
|
57
57
|
resizable: boolean;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,12 +6,12 @@ type __VLS_Props = {
|
|
|
6
6
|
themeVars: Record<string, string>;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
save: (config: IdeApiConfig) => any;
|
|
10
9
|
reset: () => any;
|
|
10
|
+
save: (config: IdeApiConfig) => any;
|
|
11
11
|
"update:visible": (val: boolean) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
onSave?: (config: IdeApiConfig) => any;
|
|
14
13
|
onReset?: () => any;
|
|
14
|
+
onSave?: (config: IdeApiConfig) => any;
|
|
15
15
|
"onUpdate:visible"?: (val: boolean) => any;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -71,6 +71,26 @@ export type ApiUrls = {
|
|
|
71
71
|
* 修改字段接口
|
|
72
72
|
*/
|
|
73
73
|
modifyColumnsUrl?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 用户自定义接口1,用户自定义接口使用时保持原样,不会像系统接口那样拼接上下文
|
|
76
|
+
*/
|
|
77
|
+
customerUrl1?: string;
|
|
78
|
+
/**
|
|
79
|
+
* 用户自定义接口2
|
|
80
|
+
*/
|
|
81
|
+
customerUrl2?: string;
|
|
82
|
+
/**
|
|
83
|
+
* 用户自定义接口3
|
|
84
|
+
*/
|
|
85
|
+
customerUrl3?: string;
|
|
86
|
+
/**
|
|
87
|
+
* 用户自定义接口4
|
|
88
|
+
*/
|
|
89
|
+
customerUrl4?: string;
|
|
90
|
+
/**
|
|
91
|
+
* 用户自定义接口5
|
|
92
|
+
*/
|
|
93
|
+
customerUrl5?: string;
|
|
74
94
|
/**
|
|
75
95
|
* 接口路径前缀
|
|
76
96
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiUrls } from "./ApiUrls";
|
|
2
|
-
import { FieldInfo, PageFieldInfo } from "./PageFieldInfo";
|
|
2
|
+
import { FieldInfo, FieldMapping, PageFieldInfo } from "./PageFieldInfo";
|
|
3
3
|
import { RedirectParams } from "./Params";
|
|
4
4
|
import { SelectOption } from "./SearchProps";
|
|
5
5
|
export interface ItemPreps {
|
|
@@ -143,6 +143,155 @@ export interface RelationDetail {
|
|
|
143
143
|
*/
|
|
144
144
|
isWorking: boolean;
|
|
145
145
|
}
|
|
146
|
+
export interface ApiParam {
|
|
147
|
+
/**
|
|
148
|
+
* 值类型,如果是动态值,需要提取value 中的${xx},替换为具体的xx
|
|
149
|
+
*/
|
|
150
|
+
valueType: "dynamic" | "static";
|
|
151
|
+
/**
|
|
152
|
+
* 名称
|
|
153
|
+
*/
|
|
154
|
+
paramName?: string;
|
|
155
|
+
/**
|
|
156
|
+
* 值
|
|
157
|
+
*/
|
|
158
|
+
paramValue?: string;
|
|
159
|
+
/**
|
|
160
|
+
* 数据匹配方式
|
|
161
|
+
*/
|
|
162
|
+
matchType?: string;
|
|
163
|
+
}
|
|
164
|
+
export interface ApiInfo {
|
|
165
|
+
/**
|
|
166
|
+
* 请求头
|
|
167
|
+
*/
|
|
168
|
+
headers?: ApiParam[];
|
|
169
|
+
/**
|
|
170
|
+
* 请求参数
|
|
171
|
+
*/
|
|
172
|
+
requestParams?: ApiParam[];
|
|
173
|
+
/**
|
|
174
|
+
* 数据返回模板
|
|
175
|
+
*/
|
|
176
|
+
responseTemplate?: string;
|
|
177
|
+
/**
|
|
178
|
+
* 消息路径,如:返回数据位 {code:0,msg:'xxx',data:业务数据},这里的路径是msg
|
|
179
|
+
* 返回数据位 {code:0,data:{
|
|
180
|
+
* msg:'xxx',
|
|
181
|
+
* instanceData:{}
|
|
182
|
+
* }},这里的路径是data.msg
|
|
183
|
+
*/
|
|
184
|
+
messagePath?: string;
|
|
185
|
+
/**
|
|
186
|
+
* 编码路径,参考messagePath
|
|
187
|
+
*/
|
|
188
|
+
codePath?: string;
|
|
189
|
+
/**
|
|
190
|
+
* 业务数据路径,参考messagePath
|
|
191
|
+
*/
|
|
192
|
+
dataPath?: string;
|
|
193
|
+
/**
|
|
194
|
+
* 成功码
|
|
195
|
+
*/
|
|
196
|
+
successCode?: string;
|
|
197
|
+
/**
|
|
198
|
+
* 请求方式
|
|
199
|
+
*/
|
|
200
|
+
httpMethod?: string;
|
|
201
|
+
/**
|
|
202
|
+
* 请求数据类型
|
|
203
|
+
*/
|
|
204
|
+
requestDataType?: "form" | "json" | "binary";
|
|
205
|
+
/**
|
|
206
|
+
* 接口地址
|
|
207
|
+
*/
|
|
208
|
+
url?: string;
|
|
209
|
+
/**
|
|
210
|
+
* 请求协议
|
|
211
|
+
*/
|
|
212
|
+
protocol?: string;
|
|
213
|
+
/**
|
|
214
|
+
* 超时
|
|
215
|
+
*/
|
|
216
|
+
timeout?: number;
|
|
217
|
+
/**
|
|
218
|
+
* 接口类型
|
|
219
|
+
*/
|
|
220
|
+
apiType: "systemApi" | "thirdApi";
|
|
221
|
+
/*******************以下参数是systemApi专属**********************/
|
|
222
|
+
/**
|
|
223
|
+
* 是否代理
|
|
224
|
+
*/
|
|
225
|
+
redirect?: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* 接口调用方法
|
|
228
|
+
*/
|
|
229
|
+
method?: string;
|
|
230
|
+
/**
|
|
231
|
+
* 接口名称
|
|
232
|
+
*/
|
|
233
|
+
interfaceName?: string;
|
|
234
|
+
/**
|
|
235
|
+
* 服务名
|
|
236
|
+
*/
|
|
237
|
+
serviceName?: string;
|
|
238
|
+
}
|
|
239
|
+
export interface OptionField {
|
|
240
|
+
/**
|
|
241
|
+
* 显示属性
|
|
242
|
+
*/
|
|
243
|
+
displayField: string;
|
|
244
|
+
/**
|
|
245
|
+
* 值属性
|
|
246
|
+
*/
|
|
247
|
+
valueField: string;
|
|
248
|
+
/**
|
|
249
|
+
* 子节点属性
|
|
250
|
+
*/
|
|
251
|
+
childrenField?: string;
|
|
252
|
+
/**
|
|
253
|
+
* 是否叶子节点属性
|
|
254
|
+
*/
|
|
255
|
+
leafField?: string;
|
|
256
|
+
/**
|
|
257
|
+
* 禁用属性
|
|
258
|
+
*/
|
|
259
|
+
disabledField?: string;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* 第三方接口
|
|
263
|
+
*/
|
|
264
|
+
export interface ApiLinkageDetail {
|
|
265
|
+
/**
|
|
266
|
+
* 业务接口
|
|
267
|
+
*/
|
|
268
|
+
apiInfo: ApiInfo;
|
|
269
|
+
/**
|
|
270
|
+
* 认证信息
|
|
271
|
+
*/
|
|
272
|
+
authInfo?: ApiInfo;
|
|
273
|
+
/**
|
|
274
|
+
* 字段映射,接口字段与表单字段之间的转换关系
|
|
275
|
+
*/
|
|
276
|
+
fieldMappings?: FieldMapping[];
|
|
277
|
+
/**
|
|
278
|
+
* 数据源中数据返回后的显示属性配置
|
|
279
|
+
*/
|
|
280
|
+
optionField?: OptionField;
|
|
281
|
+
/**
|
|
282
|
+
* 代理接口
|
|
283
|
+
*/
|
|
284
|
+
proxyUrl?: string;
|
|
285
|
+
/**
|
|
286
|
+
* 赋值方式
|
|
287
|
+
*/
|
|
288
|
+
assignValueType?: "form" | "datasource";
|
|
289
|
+
/** 接口来源模式 */
|
|
290
|
+
apiMode: "system" | "custom";
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* 联动对象
|
|
294
|
+
*/
|
|
146
295
|
export interface ItemRelation {
|
|
147
296
|
/**
|
|
148
297
|
* 关联事件名称
|
|
@@ -151,5 +300,9 @@ export interface ItemRelation {
|
|
|
151
300
|
/**
|
|
152
301
|
* 关联关系详情
|
|
153
302
|
*/
|
|
154
|
-
relationDetails
|
|
303
|
+
relationDetails?: RelationDetail[];
|
|
304
|
+
/**
|
|
305
|
+
* 动态接口
|
|
306
|
+
*/
|
|
307
|
+
apiLinkage?: ApiLinkageDetail;
|
|
155
308
|
}
|
|
@@ -44,6 +44,15 @@ declare const _default: {
|
|
|
44
44
|
"dialog.minimize": string;
|
|
45
45
|
"dialog.restore": string;
|
|
46
46
|
"dialog.close": string;
|
|
47
|
+
"image.preview.prev": string;
|
|
48
|
+
"image.preview.next": string;
|
|
49
|
+
"image.preview.zoomIn": string;
|
|
50
|
+
"image.preview.zoomOut": string;
|
|
51
|
+
"image.preview.rotate": string;
|
|
52
|
+
"image.preview.fitWindow": string;
|
|
53
|
+
"image.preview.download": string;
|
|
54
|
+
"image.preview.close": string;
|
|
55
|
+
"image.preview.downloading": string;
|
|
47
56
|
"dialog.editTitle": string;
|
|
48
57
|
"dialog.viewTitle": string;
|
|
49
58
|
/**
|
|
@@ -104,6 +113,11 @@ declare const _default: {
|
|
|
104
113
|
"datapicker.pendingDataArea": string;
|
|
105
114
|
"datapicker.enterKeywords": string;
|
|
106
115
|
"datapicker.selectedDataArea": string;
|
|
116
|
+
"datapicker.moveUp": string;
|
|
117
|
+
"datapicker.moveDown": string;
|
|
118
|
+
"datapicker.dragSortTip": string;
|
|
119
|
+
"datapicker.helpTitle": string;
|
|
120
|
+
"datapicker.helpContent": string;
|
|
107
121
|
/**
|
|
108
122
|
* Data Selector--------------
|
|
109
123
|
*/
|
|
@@ -284,6 +298,8 @@ declare const _default: {
|
|
|
284
298
|
"form.selectParentContainer": string;
|
|
285
299
|
"form.moveUp": string;
|
|
286
300
|
"form.moveDown": string;
|
|
301
|
+
"datapicker.moveToFirst": string;
|
|
302
|
+
"datapicker.moveToEnd": string;
|
|
287
303
|
"form.deleteComponent": string;
|
|
288
304
|
"form.searchPlaceholder": string;
|
|
289
305
|
/**
|
|
@@ -44,6 +44,15 @@ declare const _default: {
|
|
|
44
44
|
"dialog.minimize": string;
|
|
45
45
|
"dialog.restore": string;
|
|
46
46
|
"dialog.close": string;
|
|
47
|
+
"image.preview.prev": string;
|
|
48
|
+
"image.preview.next": string;
|
|
49
|
+
"image.preview.zoomIn": string;
|
|
50
|
+
"image.preview.zoomOut": string;
|
|
51
|
+
"image.preview.rotate": string;
|
|
52
|
+
"image.preview.fitWindow": string;
|
|
53
|
+
"image.preview.download": string;
|
|
54
|
+
"image.preview.close": string;
|
|
55
|
+
"image.preview.downloading": string;
|
|
47
56
|
"dialog.editTitle": string;
|
|
48
57
|
"dialog.viewTitle": string;
|
|
49
58
|
/**
|
|
@@ -104,6 +113,13 @@ declare const _default: {
|
|
|
104
113
|
"datapicker.pendingDataArea": string;
|
|
105
114
|
"datapicker.enterKeywords": string;
|
|
106
115
|
"datapicker.selectedDataArea": string;
|
|
116
|
+
"datapicker.moveUp": string;
|
|
117
|
+
"datapicker.moveDown": string;
|
|
118
|
+
"datapicker.moveToFirst": string;
|
|
119
|
+
"datapicker.moveToEnd": string;
|
|
120
|
+
"datapicker.dragSortTip": string;
|
|
121
|
+
"datapicker.helpTitle": string;
|
|
122
|
+
"datapicker.helpContent": string;
|
|
107
123
|
/**
|
|
108
124
|
* 数据选择器--------------
|
|
109
125
|
*/
|