@byteluck-fe/model-driven-core 2.3.1-beta.3 → 2.3.1-beta.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/dist/esm/api-doc-index.js +4 -0
- package/dist/esm/common/ColumnControl/property.js +4 -1
- package/dist/esm/framework/index.js +32 -13
- package/dist/esm/index.js +0 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +4 -0
- package/dist/types/common/BaseControl/designer.d.ts +62 -62
- package/dist/types/common/BaseControl/index.d.ts +13 -13
- package/dist/types/common/BaseControl/property.d.ts +22 -22
- package/dist/types/common/BaseControl/runtime.d.ts +22 -22
- package/dist/types/common/BaseControl/types.d.ts +35 -35
- package/dist/types/common/ColumnControl/designer.d.ts +10 -10
- package/dist/types/common/ColumnControl/index.d.ts +12 -12
- package/dist/types/common/ColumnControl/property.d.ts +73 -34
- package/dist/types/common/ColumnControl/runtime.d.ts +10 -10
- package/dist/types/common/ControlArray.d.ts +8 -8
- package/dist/types/common/FormControl/designer.d.ts +13 -13
- package/dist/types/common/FormControl/index.d.ts +12 -12
- package/dist/types/common/FormControl/property.d.ts +96 -44
- package/dist/types/common/FormControl/runtime.d.ts +11 -11
- package/dist/types/common/LayoutControl/designer.d.ts +21 -21
- package/dist/types/common/LayoutControl/index.d.ts +12 -12
- package/dist/types/common/LayoutControl/property.d.ts +6 -6
- package/dist/types/common/LayoutControl/runtime.d.ts +11 -11
- package/dist/types/common/ListControl/designer.d.ts +16 -16
- package/dist/types/common/ListControl/index.d.ts +12 -12
- package/dist/types/common/ListControl/property.d.ts +12 -12
- package/dist/types/common/ListControl/runtime.d.ts +12 -12
- package/dist/types/common/SearchViewControl/designer.d.ts +11 -11
- package/dist/types/common/SearchViewControl/index.d.ts +12 -12
- package/dist/types/common/SearchViewControl/property.d.ts +8 -8
- package/dist/types/common/SearchViewControl/runtime.d.ts +11 -11
- package/dist/types/common/Validator.d.ts +15 -15
- package/dist/types/common/WrapControl/designer.d.ts +11 -11
- package/dist/types/common/WrapControl/index.d.ts +12 -12
- package/dist/types/common/WrapControl/property.d.ts +6 -6
- package/dist/types/common/WrapControl/runtime.d.ts +11 -11
- package/dist/types/common/controlHooksEmitter.d.ts +4 -4
- package/dist/types/common/index.d.ts +11 -11
- package/dist/types/common/initOptionAndDataSourceRules.d.ts +10 -10
- package/dist/types/framework/RegisterControls.d.ts +33 -33
- package/dist/types/framework/index.d.ts +544 -373
- package/dist/types/index.d.ts +3 -3
- package/dist/types/type.d.ts +91 -91
- package/package.json +3 -3
|
@@ -1,373 +1,544 @@
|
|
|
1
|
-
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
|
-
export * from './RegisterControls';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
constructor(props?: Partial<
|
|
43
|
-
}
|
|
44
|
-
export declare class
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
constructor(props?: Partial<
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
constructor(props?: Partial<
|
|
89
|
-
}
|
|
90
|
-
export declare class
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
export declare class
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
export declare class
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
constructor(props?: Partial<
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*/
|
|
302
|
-
export declare
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
331
|
-
export declare
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}
|
|
367
|
-
export declare class
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
1
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
|
+
export * from './RegisterControls';
|
|
3
|
+
/**
|
|
4
|
+
* 数据绑定配置
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class DataBind {
|
|
8
|
+
/**
|
|
9
|
+
* 数据模型编码
|
|
10
|
+
* @defaultValue ''
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
dataCode: string;
|
|
14
|
+
/**
|
|
15
|
+
* 字段编码
|
|
16
|
+
* @defaultValue ''
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
fieldCode: string;
|
|
20
|
+
/**
|
|
21
|
+
* 字段类型
|
|
22
|
+
* @defaultValue ''
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
fieldType: string;
|
|
26
|
+
constructor(props?: Partial<DataBind>);
|
|
27
|
+
}
|
|
28
|
+
export declare class AutoWidth {
|
|
29
|
+
minWidth: number;
|
|
30
|
+
maxWidth?: number;
|
|
31
|
+
flex: number;
|
|
32
|
+
constructor(props?: Partial<AutoWidth>);
|
|
33
|
+
}
|
|
34
|
+
export declare class MetaWidth extends AutoWidth {
|
|
35
|
+
width: number;
|
|
36
|
+
widthType: 'px' | 'auto';
|
|
37
|
+
constructor(props?: Partial<MetaWidth>);
|
|
38
|
+
}
|
|
39
|
+
export declare class MetaAutoWidth {
|
|
40
|
+
pc: MetaWidth;
|
|
41
|
+
mobile: MetaWidth;
|
|
42
|
+
constructor(props?: Partial<MetaAutoWidth>);
|
|
43
|
+
}
|
|
44
|
+
export declare class DataStorageDoc {
|
|
45
|
+
type: 'firstThree' | 'custom';
|
|
46
|
+
customOptions: string[];
|
|
47
|
+
constructor(props?: Partial<DataStorageDoc>);
|
|
48
|
+
}
|
|
49
|
+
export declare class FormBind {
|
|
50
|
+
dataCode: string;
|
|
51
|
+
formKey: string;
|
|
52
|
+
appId: string;
|
|
53
|
+
constructor(props?: Partial<FormBind>);
|
|
54
|
+
}
|
|
55
|
+
export declare class FormSelectBind extends FormBind {
|
|
56
|
+
primaryControlId: string;
|
|
57
|
+
constructor(props?: Partial<FormSelectBind>);
|
|
58
|
+
}
|
|
59
|
+
declare class ListBindHeaderItem {
|
|
60
|
+
fieldCode: string;
|
|
61
|
+
constructor(props?: Partial<ListBindHeaderItem>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 列表绑定配置
|
|
65
|
+
*/
|
|
66
|
+
export declare class ListBind {
|
|
67
|
+
/**
|
|
68
|
+
* 应用ID
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
appId: string;
|
|
72
|
+
/**
|
|
73
|
+
* 表单ID
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
formKey: string;
|
|
77
|
+
/**
|
|
78
|
+
* 显示字段
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
headers: ListBindHeaderItem[];
|
|
82
|
+
constructor(props?: Partial<ListBind>);
|
|
83
|
+
}
|
|
84
|
+
export declare class FieldBindItem {
|
|
85
|
+
fieldName: string;
|
|
86
|
+
fieldCode: string;
|
|
87
|
+
fieldType: FieldTypes;
|
|
88
|
+
constructor(props?: Partial<FieldBindItem>);
|
|
89
|
+
}
|
|
90
|
+
export declare class SubListItem extends FormBind {
|
|
91
|
+
title: string;
|
|
92
|
+
svcCode: string;
|
|
93
|
+
isOpenFilter: boolean;
|
|
94
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
95
|
+
constructor(props?: Partial<SubListItem>);
|
|
96
|
+
}
|
|
97
|
+
export declare class SubListPageConfig {
|
|
98
|
+
type: string;
|
|
99
|
+
formBind: FormBind;
|
|
100
|
+
displayFields: FieldBindItem[];
|
|
101
|
+
sublists: SubListItem[];
|
|
102
|
+
constructor(props?: Partial<SubListPageConfig>);
|
|
103
|
+
}
|
|
104
|
+
export declare class LeftVariable {
|
|
105
|
+
type?: FieldTypes;
|
|
106
|
+
value?: string;
|
|
107
|
+
constructor(props?: Partial<LeftVariable>);
|
|
108
|
+
}
|
|
109
|
+
export declare class RightVariable {
|
|
110
|
+
type: 'form' | 'system' | 'custom';
|
|
111
|
+
value: string[];
|
|
112
|
+
displayBos: Record<string, unknown>[];
|
|
113
|
+
constructor(props?: Partial<RightVariable>);
|
|
114
|
+
}
|
|
115
|
+
export declare class FieldFilterConditions {
|
|
116
|
+
id: string;
|
|
117
|
+
ruleId: number;
|
|
118
|
+
type: string;
|
|
119
|
+
level: number;
|
|
120
|
+
value: 'and' | 'or';
|
|
121
|
+
children: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
122
|
+
constructor(props?: Partial<FieldFilterConditions>);
|
|
123
|
+
}
|
|
124
|
+
export declare class FieldFilterCondition {
|
|
125
|
+
id: string;
|
|
126
|
+
ruleId: number;
|
|
127
|
+
type: string;
|
|
128
|
+
symbol: string;
|
|
129
|
+
checked: boolean;
|
|
130
|
+
describe: string;
|
|
131
|
+
leftVariableBo: LeftVariable;
|
|
132
|
+
rightVariableBo: RightVariable;
|
|
133
|
+
constructor(props?: Partial<FieldFilterCondition>);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* 数据填充项
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class MultistageFillingItem {
|
|
140
|
+
/**
|
|
141
|
+
* 控件ID
|
|
142
|
+
* @defaultValue ''
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
controlId: string;
|
|
146
|
+
/**
|
|
147
|
+
* 字段
|
|
148
|
+
* @defaultValue ''
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
fieldCode: string;
|
|
152
|
+
/**
|
|
153
|
+
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
154
|
+
* @defaultValue ''
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
fieldType: string;
|
|
158
|
+
/**
|
|
159
|
+
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
160
|
+
* @defaultValue ''
|
|
161
|
+
* @public
|
|
162
|
+
* */
|
|
163
|
+
propName: string;
|
|
164
|
+
constructor(props: Partial<MultistageFillingItem>);
|
|
165
|
+
}
|
|
166
|
+
export declare class DisplayBoListItem {
|
|
167
|
+
type: 'FIELD' | 'MOSAICS';
|
|
168
|
+
value: string;
|
|
169
|
+
fieldType?: FieldTypes;
|
|
170
|
+
constructor(props?: Partial<DisplayBoListItem>);
|
|
171
|
+
}
|
|
172
|
+
export declare class DataSourceOrderItem {
|
|
173
|
+
columnName: string;
|
|
174
|
+
desc: boolean;
|
|
175
|
+
constructor(props: Partial<DataSourceOrderItem>);
|
|
176
|
+
}
|
|
177
|
+
export declare class DataSourceDataSetValue {
|
|
178
|
+
code: string;
|
|
179
|
+
value: string;
|
|
180
|
+
field_type?: FieldTypes;
|
|
181
|
+
constructor(props: Partial<DataSourceDataSetValue>);
|
|
182
|
+
}
|
|
183
|
+
export declare class DataSourceParamItem {
|
|
184
|
+
/**
|
|
185
|
+
* 字段ID
|
|
186
|
+
*/
|
|
187
|
+
id: string;
|
|
188
|
+
limit: number;
|
|
189
|
+
orders: DataSourceOrderItem[];
|
|
190
|
+
formKey: string;
|
|
191
|
+
dataSet: DataSourceDataSetValue[];
|
|
192
|
+
constructor(props: Partial<DataSourceParamItem>);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* 数据源绑定配置
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export declare class DataSourceBind {
|
|
199
|
+
/**
|
|
200
|
+
* 绑定数据源id
|
|
201
|
+
* @defaultValue ''
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
dataCode: string;
|
|
205
|
+
/**
|
|
206
|
+
* 存储值
|
|
207
|
+
* @defaultValue ''
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
valueFieldCode: string;
|
|
211
|
+
/**
|
|
212
|
+
* 显示值
|
|
213
|
+
* @defaultValue []
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
displayBoList: DisplayBoListItem[];
|
|
217
|
+
/**
|
|
218
|
+
* 绑定服务
|
|
219
|
+
* @defaultValue ''
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
svcCode: string;
|
|
223
|
+
/**
|
|
224
|
+
* 应用Id
|
|
225
|
+
* @defaultValue ''
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
appId?: string;
|
|
229
|
+
/**
|
|
230
|
+
* 过滤条件
|
|
231
|
+
* @defaultValue []
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
filters?: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
235
|
+
/**
|
|
236
|
+
* 排序
|
|
237
|
+
* @defaultValue []
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
orders?: DataSourceOrderItem[];
|
|
241
|
+
/**
|
|
242
|
+
* 显示排序
|
|
243
|
+
* @defaultValue true
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
showOrder?: boolean;
|
|
247
|
+
constructor(props?: Partial<DataSourceBind>);
|
|
248
|
+
}
|
|
249
|
+
export interface CustomAttribute {
|
|
250
|
+
key: string;
|
|
251
|
+
name: string;
|
|
252
|
+
required?: boolean;
|
|
253
|
+
}
|
|
254
|
+
export declare class CustomAttributeItem {
|
|
255
|
+
name: string;
|
|
256
|
+
key: string;
|
|
257
|
+
value: DisplayBoListItem[];
|
|
258
|
+
constructor(props?: Partial<CustomAttributeItem>);
|
|
259
|
+
}
|
|
260
|
+
export declare class SuperDataSourceBind extends DataSourceBind {
|
|
261
|
+
attributes: CustomAttributeItem[];
|
|
262
|
+
constructor(props?: Omit<Partial<SuperDataSourceBind>, 'attributes'> & {
|
|
263
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
export declare class TreeDataSourceBind extends SuperDataSourceBind {
|
|
267
|
+
rootNode: RightVariable;
|
|
268
|
+
constructor(props?: Omit<Partial<TreeDataSourceBind>, 'attributes'> & {
|
|
269
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
declare class FillBind {
|
|
273
|
+
dataCode: string;
|
|
274
|
+
appId: string;
|
|
275
|
+
fillList: MultistageFillingItem[];
|
|
276
|
+
constructor(props?: Partial<FillBind>);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* FillPayloadBind 填充配置
|
|
280
|
+
* 填充的配置和需要携带的数据
|
|
281
|
+
* @public
|
|
282
|
+
* */
|
|
283
|
+
export declare class FillPayloadBind extends FillBind {
|
|
284
|
+
/**
|
|
285
|
+
* 数据源过滤条件
|
|
286
|
+
* @defaultValue []
|
|
287
|
+
* @public
|
|
288
|
+
**/
|
|
289
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
290
|
+
/**
|
|
291
|
+
* 数据源排序条件
|
|
292
|
+
* @defaultValue []
|
|
293
|
+
* @public
|
|
294
|
+
**/
|
|
295
|
+
orders: DataSourceOrderItem[];
|
|
296
|
+
constructor(props?: Partial<FillPayloadBind>);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* FillBackBind 回填需要的配置和参数
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export declare class FillBackBind extends FillBind {
|
|
303
|
+
/**
|
|
304
|
+
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
305
|
+
* @defaultValue 'current'
|
|
306
|
+
* @public
|
|
307
|
+
* */
|
|
308
|
+
mode: 'current' | 'subtable';
|
|
309
|
+
/**
|
|
310
|
+
* 多选
|
|
311
|
+
* @defaultValue false
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
multiple: boolean;
|
|
315
|
+
constructor(props?: Partial<FillBackBind>);
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* 目前仅subtable,未来的dataview/datagrid/datalist使用该接口
|
|
319
|
+
* dataview/datalist都支持嵌套使用
|
|
320
|
+
*/
|
|
321
|
+
export interface DataSourceBindLayout {
|
|
322
|
+
getChildrenFormControl(): unknown[];
|
|
323
|
+
getChildrenDataSourceBindLayout(): unknown[];
|
|
324
|
+
}
|
|
325
|
+
export declare class Language {
|
|
326
|
+
zh: string;
|
|
327
|
+
en: string;
|
|
328
|
+
ja: string;
|
|
329
|
+
constructor(props?: Partial<Language>);
|
|
330
|
+
}
|
|
331
|
+
export declare class RegularRules {
|
|
332
|
+
stencilName: string;
|
|
333
|
+
expression: string;
|
|
334
|
+
errMessage: string;
|
|
335
|
+
constructor(props?: Partial<RegularRules>);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* 选项设置-自定义选项
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
export declare class OptionSetting {
|
|
342
|
+
readonly id: string;
|
|
343
|
+
/**
|
|
344
|
+
* 显示值
|
|
345
|
+
* @defaultValue ''
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
label: string;
|
|
349
|
+
/**
|
|
350
|
+
* 选项ID
|
|
351
|
+
* @defaultValue this.label
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
value: string;
|
|
355
|
+
constructor(props?: Partial<OptionSetting>);
|
|
356
|
+
}
|
|
357
|
+
export declare class ImageOptionSetting extends OptionSetting {
|
|
358
|
+
image: string;
|
|
359
|
+
type: 'attachment' | 'src';
|
|
360
|
+
constructor(props?: Partial<ImageOptionSetting>);
|
|
361
|
+
}
|
|
362
|
+
export declare function initOptions(options?: Partial<OptionSetting>[]): OptionSetting[];
|
|
363
|
+
export declare function initImageOptions(options?: Partial<ImageOptionSetting>[]): ImageOptionSetting[];
|
|
364
|
+
export declare class ObjectDataBind {
|
|
365
|
+
[key: string]: DataBind;
|
|
366
|
+
}
|
|
367
|
+
export declare class AmountDataBind extends ObjectDataBind {
|
|
368
|
+
amount: DataBind;
|
|
369
|
+
currency: DataBind;
|
|
370
|
+
constructor(props?: Partial<AmountDataBind>);
|
|
371
|
+
}
|
|
372
|
+
export declare class AmountValue {
|
|
373
|
+
amount: number | '';
|
|
374
|
+
currency: AMOUNT_TYPE;
|
|
375
|
+
constructor(props?: Partial<AmountValue>);
|
|
376
|
+
}
|
|
377
|
+
export declare class RangeDataBind extends ObjectDataBind {
|
|
378
|
+
min: DataBind;
|
|
379
|
+
max: DataBind;
|
|
380
|
+
constructor(props?: Partial<AmountDataBind>);
|
|
381
|
+
}
|
|
382
|
+
export declare class RangeDateValue {
|
|
383
|
+
min: string;
|
|
384
|
+
max: string;
|
|
385
|
+
constructor(props?: Partial<RangeDateValue>);
|
|
386
|
+
}
|
|
387
|
+
export declare class AddressValue {
|
|
388
|
+
city?: string;
|
|
389
|
+
cityDisplay?: string;
|
|
390
|
+
district?: string;
|
|
391
|
+
districtDisplay?: string;
|
|
392
|
+
province?: string;
|
|
393
|
+
provinceDisplay?: string;
|
|
394
|
+
constructor(props?: Partial<AddressValue>);
|
|
395
|
+
}
|
|
396
|
+
export declare class CalcDataBind extends ObjectDataBind {
|
|
397
|
+
result: DataBind;
|
|
398
|
+
unit: DataBind;
|
|
399
|
+
constructor(props?: Partial<CalcDataBind>);
|
|
400
|
+
}
|
|
401
|
+
export declare class CalcValue {
|
|
402
|
+
result: number | 0;
|
|
403
|
+
unit: string;
|
|
404
|
+
constructor(props?: Partial<CalcValue>);
|
|
405
|
+
}
|
|
406
|
+
export declare enum AMOUNT_TYPE {
|
|
407
|
+
CNY = "CNY",
|
|
408
|
+
USD = "USD",
|
|
409
|
+
JPY = "JPY",
|
|
410
|
+
EUR = "EUR",
|
|
411
|
+
INR = "INR",
|
|
412
|
+
IDR = "IDR",
|
|
413
|
+
BRL = "BRL",
|
|
414
|
+
AED = "AED",
|
|
415
|
+
AUD = "AUD",
|
|
416
|
+
CAD = "CAD",
|
|
417
|
+
EGP = "EGP",
|
|
418
|
+
GBP = "GBP",
|
|
419
|
+
ZAR = "ZAR",
|
|
420
|
+
KRW = "KRW",
|
|
421
|
+
MAD = "MAD",
|
|
422
|
+
MXN = "MXN",
|
|
423
|
+
MYR = "MYR",
|
|
424
|
+
PHP = "PHP",
|
|
425
|
+
PLN = "PLN",
|
|
426
|
+
RUB = "RUB",
|
|
427
|
+
SGD = "SGD",
|
|
428
|
+
THB = "THB",
|
|
429
|
+
TRY = "TRY",
|
|
430
|
+
TWD = "TWD",
|
|
431
|
+
VND = "VND",
|
|
432
|
+
HKD = "HKD",
|
|
433
|
+
IEP = "IEP"
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* 选项设置
|
|
437
|
+
* REQUIRED: 必填
|
|
438
|
+
* isHide: 隐藏
|
|
439
|
+
* IS_SHOW_UNIT: 单位
|
|
440
|
+
* CAN_SEARCH: 支持搜索
|
|
441
|
+
* MULTIPLE: 允许选中多个日期
|
|
442
|
+
* SUBMIT_SELECT_CURRENCY: 提交时选择币种
|
|
443
|
+
*/
|
|
444
|
+
export declare enum COMMON_SETTING_TYPE {
|
|
445
|
+
REQUIRED = "required",
|
|
446
|
+
IS_HIDE = "isHide",
|
|
447
|
+
IS_SHOW_UNIT = "isShowUnit",
|
|
448
|
+
IMD_SEARCH = "immediatelySearch",
|
|
449
|
+
MULTIPLE = "multiple",
|
|
450
|
+
SUBMIT_SELECT_CURRENCY = "submitSelectCurrency",
|
|
451
|
+
CAPTION = "caption",
|
|
452
|
+
IS_HIDE_CAPTION = "isHideCaption",
|
|
453
|
+
DEFAULT_SHOW_OPTIONS = "defaultShowOptions",
|
|
454
|
+
CAN_SEARCH = "canSearch",
|
|
455
|
+
CAN_CHECK = "canCheck",
|
|
456
|
+
CAN_EDIT = "canEdit",
|
|
457
|
+
CAN_DELETE = "canDelete",
|
|
458
|
+
SHOW_UPPER_CASE = "showUpperCase",
|
|
459
|
+
MICROMETER = "micrometer",
|
|
460
|
+
PRECISION = "precision",
|
|
461
|
+
PERCENTAGE = "percentage",
|
|
462
|
+
OPTIONAL_LEVEL = "optionalLevel",
|
|
463
|
+
CONTAINS_SUB_NODE = "containsSubNode",
|
|
464
|
+
DEFAULT_COLLAPSE = "defaultCollapse",
|
|
465
|
+
CAN_VIEW_FORM = "canViewForm",
|
|
466
|
+
SERVER_PAGINATION = "serverPagination",
|
|
467
|
+
IS_SHOW_CAPTION_TIP = "isShowCaptionTip",
|
|
468
|
+
ENCRYPTED = "encrypted",
|
|
469
|
+
IS_INLINE_EDIT = "isInlineEdit",
|
|
470
|
+
REVISIONS_MODE = "revisionsMode",
|
|
471
|
+
ALLOW_COPY_OPTIONS = "allowCopyOptions"
|
|
472
|
+
}
|
|
473
|
+
export declare enum PAGE_STATUS {
|
|
474
|
+
UNKNOWN = 0,
|
|
475
|
+
READONLY = 1,
|
|
476
|
+
EDITABLE = 2,
|
|
477
|
+
PRINT = 5
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* 操作按钮
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export declare class OperationItem {
|
|
484
|
+
/**
|
|
485
|
+
* 是否显示
|
|
486
|
+
* @defaultValue true
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
isShow: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* 优先访问流程表单
|
|
492
|
+
* @defaultValue false
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
priorityProcess: boolean;
|
|
496
|
+
/**
|
|
497
|
+
* 表单ID
|
|
498
|
+
* @defaultValue ''
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
formKey: string;
|
|
502
|
+
/**
|
|
503
|
+
* 显示文字
|
|
504
|
+
* @defaultValue ''
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
content: string;
|
|
508
|
+
/**
|
|
509
|
+
* 打开方式
|
|
510
|
+
* @defaultValue 'modal'
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
openType: 'modal' | 'window' | 'dialog' | 'tab';
|
|
514
|
+
readonly type: string;
|
|
515
|
+
constructor(props?: Partial<OperationItem>);
|
|
516
|
+
}
|
|
517
|
+
export declare class ViewOperationItem {
|
|
518
|
+
id: string;
|
|
519
|
+
title: string;
|
|
520
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
521
|
+
headers: ListBindHeaderItem[];
|
|
522
|
+
constructor(props: Partial<ViewOperationItem>);
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
526
|
+
*/
|
|
527
|
+
export declare class CustomPermissionItem {
|
|
528
|
+
/**
|
|
529
|
+
* 人工输入的权限key
|
|
530
|
+
*/
|
|
531
|
+
key: string;
|
|
532
|
+
/**
|
|
533
|
+
* 权限名称
|
|
534
|
+
*/
|
|
535
|
+
caption: string;
|
|
536
|
+
constructor(props: Partial<CustomPermissionItem>);
|
|
537
|
+
}
|
|
538
|
+
export declare class BaseStyle {
|
|
539
|
+
width: number | '';
|
|
540
|
+
height: number | '';
|
|
541
|
+
widthConfig: 'px' | '%' | 'fill' | 'hug';
|
|
542
|
+
heightConfig: 'px' | '%' | 'fill' | 'hug';
|
|
543
|
+
constructor(props?: Partial<BaseStyle>);
|
|
544
|
+
}
|