@byteluck-fe/model-driven-core 2.2.1-beta.1 → 2.2.1-beta.2
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/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 +34 -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 +44 -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 +358 -358
- package/dist/types/index.d.ts +3 -3
- package/dist/types/type.d.ts +91 -91
- package/package.json +3 -3
|
@@ -1,358 +1,358 @@
|
|
|
1
|
-
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
|
-
export * from './RegisterControls';
|
|
3
|
-
export declare class DataBind {
|
|
4
|
-
dataCode: string;
|
|
5
|
-
fieldCode: string;
|
|
6
|
-
fieldType: string;
|
|
7
|
-
constructor(props?: Partial<DataBind>);
|
|
8
|
-
}
|
|
9
|
-
export declare class AutoWidth {
|
|
10
|
-
minWidth: number;
|
|
11
|
-
maxWidth?: number;
|
|
12
|
-
flex: number;
|
|
13
|
-
constructor(props?: Partial<AutoWidth>);
|
|
14
|
-
}
|
|
15
|
-
export declare class FormBind {
|
|
16
|
-
dataCode: string;
|
|
17
|
-
formKey: string;
|
|
18
|
-
appId: string;
|
|
19
|
-
constructor(props?: Partial<FormBind>);
|
|
20
|
-
}
|
|
21
|
-
export declare class FormSelectBind extends FormBind {
|
|
22
|
-
primaryControlId: string;
|
|
23
|
-
constructor(props?: Partial<FormSelectBind>);
|
|
24
|
-
}
|
|
25
|
-
declare class ListBindHeaderItem {
|
|
26
|
-
fieldCode: string;
|
|
27
|
-
constructor(props?: Partial<ListBindHeaderItem>);
|
|
28
|
-
}
|
|
29
|
-
export declare class ListBind {
|
|
30
|
-
appId: string;
|
|
31
|
-
formKey: string;
|
|
32
|
-
headers: ListBindHeaderItem[];
|
|
33
|
-
constructor(props?: Partial<ListBind>);
|
|
34
|
-
}
|
|
35
|
-
export declare class FieldBindItem {
|
|
36
|
-
fieldName: string;
|
|
37
|
-
fieldCode: string;
|
|
38
|
-
fieldType: FieldTypes;
|
|
39
|
-
constructor(props?: Partial<FieldBindItem>);
|
|
40
|
-
}
|
|
41
|
-
export declare class SubListItem extends FormBind {
|
|
42
|
-
title: string;
|
|
43
|
-
svcCode: string;
|
|
44
|
-
isOpenFilter: boolean;
|
|
45
|
-
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
46
|
-
constructor(props?: Partial<SubListItem>);
|
|
47
|
-
}
|
|
48
|
-
export declare class SubListPageConfig {
|
|
49
|
-
type: string;
|
|
50
|
-
formBind: FormBind;
|
|
51
|
-
displayFields: FieldBindItem[];
|
|
52
|
-
sublists: SubListItem[];
|
|
53
|
-
constructor(props?: Partial<SubListPageConfig>);
|
|
54
|
-
}
|
|
55
|
-
export declare class LeftVariable {
|
|
56
|
-
type?: FieldTypes;
|
|
57
|
-
value?: string;
|
|
58
|
-
constructor(props?: Partial<LeftVariable>);
|
|
59
|
-
}
|
|
60
|
-
export declare class RightVariable {
|
|
61
|
-
type: 'form' | 'system' | 'custom';
|
|
62
|
-
value: string[];
|
|
63
|
-
displayBos: Record<string, unknown>[];
|
|
64
|
-
constructor(props?: Partial<RightVariable>);
|
|
65
|
-
}
|
|
66
|
-
export declare class FieldFilterConditions {
|
|
67
|
-
id: string;
|
|
68
|
-
ruleId: number;
|
|
69
|
-
type: string;
|
|
70
|
-
level: number;
|
|
71
|
-
value: 'and' | 'or';
|
|
72
|
-
children: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
73
|
-
constructor(props?: Partial<FieldFilterConditions>);
|
|
74
|
-
}
|
|
75
|
-
export declare class FieldFilterCondition {
|
|
76
|
-
id: string;
|
|
77
|
-
ruleId: number;
|
|
78
|
-
type: string;
|
|
79
|
-
symbol: string;
|
|
80
|
-
checked: boolean;
|
|
81
|
-
describe: string;
|
|
82
|
-
leftVariableBo: LeftVariable;
|
|
83
|
-
rightVariableBo: RightVariable;
|
|
84
|
-
constructor(props?: Partial<FieldFilterCondition>);
|
|
85
|
-
}
|
|
86
|
-
export declare class MultistageFillingItem {
|
|
87
|
-
controlId: string;
|
|
88
|
-
fieldCode: string;
|
|
89
|
-
/**
|
|
90
|
-
* 事件在填充时,需要根据数据类型进行判断处理动作。
|
|
91
|
-
*/
|
|
92
|
-
fieldType: string;
|
|
93
|
-
propName: string;
|
|
94
|
-
constructor(props: Partial<MultistageFillingItem>);
|
|
95
|
-
}
|
|
96
|
-
export declare class DisplayBoListItem {
|
|
97
|
-
type: 'FIELD' | 'MOSAICS';
|
|
98
|
-
value: string;
|
|
99
|
-
fieldType?: FieldTypes;
|
|
100
|
-
constructor(props?: Partial<DisplayBoListItem>);
|
|
101
|
-
}
|
|
102
|
-
export declare class DataSourceOrderItem {
|
|
103
|
-
columnName: string;
|
|
104
|
-
desc: boolean;
|
|
105
|
-
constructor(props: Partial<DataSourceOrderItem>);
|
|
106
|
-
}
|
|
107
|
-
export declare class DataSourceDataSetValue {
|
|
108
|
-
code: string;
|
|
109
|
-
value: string;
|
|
110
|
-
field_type?: FieldTypes;
|
|
111
|
-
constructor(props: Partial<DataSourceDataSetValue>);
|
|
112
|
-
}
|
|
113
|
-
export declare class DataSourceParamItem {
|
|
114
|
-
/**
|
|
115
|
-
* 字段ID
|
|
116
|
-
*/
|
|
117
|
-
id: string;
|
|
118
|
-
limit: number;
|
|
119
|
-
orders: DataSourceOrderItem[];
|
|
120
|
-
formKey: string;
|
|
121
|
-
dataSet: DataSourceDataSetValue[];
|
|
122
|
-
constructor(props: Partial<DataSourceParamItem>);
|
|
123
|
-
}
|
|
124
|
-
export declare class DataSourceBind {
|
|
125
|
-
dataCode: string;
|
|
126
|
-
valueFieldCode: string;
|
|
127
|
-
displayBoList: DisplayBoListItem[];
|
|
128
|
-
svcCode: string;
|
|
129
|
-
appId?: string;
|
|
130
|
-
filters?: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
131
|
-
orders?: DataSourceOrderItem[];
|
|
132
|
-
showOrder?: boolean;
|
|
133
|
-
constructor(props?: Partial<DataSourceBind>);
|
|
134
|
-
}
|
|
135
|
-
export interface CustomAttribute {
|
|
136
|
-
key: string;
|
|
137
|
-
name: string;
|
|
138
|
-
required?: boolean;
|
|
139
|
-
}
|
|
140
|
-
export declare class CustomAttributeItem {
|
|
141
|
-
name: string;
|
|
142
|
-
key: string;
|
|
143
|
-
value: DisplayBoListItem[];
|
|
144
|
-
constructor(props?: Partial<CustomAttributeItem>);
|
|
145
|
-
}
|
|
146
|
-
export declare class SuperDataSourceBind extends DataSourceBind {
|
|
147
|
-
attributes: CustomAttributeItem[];
|
|
148
|
-
constructor(props?: Omit<Partial<SuperDataSourceBind>, 'attributes'> & {
|
|
149
|
-
attributes?: Partial<CustomAttributeItem>[];
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
export declare class TreeDataSourceBind extends SuperDataSourceBind {
|
|
153
|
-
rootNode: RightVariable;
|
|
154
|
-
constructor(props?: Omit<Partial<TreeDataSourceBind>, 'attributes'> & {
|
|
155
|
-
attributes?: Partial<CustomAttributeItem>[];
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
declare class FillBind {
|
|
159
|
-
dataCode: string;
|
|
160
|
-
appId: string;
|
|
161
|
-
fillList: MultistageFillingItem[];
|
|
162
|
-
constructor(props?: Partial<FillBind>);
|
|
163
|
-
}
|
|
164
|
-
export declare class FillPayloadBind extends FillBind {
|
|
165
|
-
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
166
|
-
orders: DataSourceOrderItem[];
|
|
167
|
-
constructor(props?: Partial<FillPayloadBind>);
|
|
168
|
-
}
|
|
169
|
-
export declare class FillBackBind extends FillBind {
|
|
170
|
-
mode: 'current' | 'subtable';
|
|
171
|
-
multiple: boolean;
|
|
172
|
-
constructor(props?: Partial<FillBackBind>);
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* 目前仅subtable,未来的dataview/datagrid/datalist使用该接口
|
|
176
|
-
* dataview/datalist都支持嵌套使用
|
|
177
|
-
*/
|
|
178
|
-
export interface DataSourceBindLayout {
|
|
179
|
-
getChildrenFormControl(): unknown[];
|
|
180
|
-
getChildrenDataSourceBindLayout(): unknown[];
|
|
181
|
-
}
|
|
182
|
-
export declare class Language {
|
|
183
|
-
zh: string;
|
|
184
|
-
en: string;
|
|
185
|
-
ja: string;
|
|
186
|
-
constructor(props?: Partial<Language>);
|
|
187
|
-
}
|
|
188
|
-
export declare class RegularRules {
|
|
189
|
-
stencilName: string;
|
|
190
|
-
expression: string;
|
|
191
|
-
errMessage: string;
|
|
192
|
-
constructor(props?: Partial<RegularRules>);
|
|
193
|
-
}
|
|
194
|
-
export declare class OptionSetting {
|
|
195
|
-
readonly id: string;
|
|
196
|
-
label: string;
|
|
197
|
-
value: string;
|
|
198
|
-
constructor(props?: Partial<OptionSetting>);
|
|
199
|
-
}
|
|
200
|
-
export declare class ImageOptionSetting extends OptionSetting {
|
|
201
|
-
image: string;
|
|
202
|
-
type: 'attachment' | 'src';
|
|
203
|
-
constructor(props?: Partial<ImageOptionSetting>);
|
|
204
|
-
}
|
|
205
|
-
export declare function initOptions(options?: Partial<OptionSetting>[]): OptionSetting[];
|
|
206
|
-
export declare function initImageOptions(options?: Partial<ImageOptionSetting>[]): ImageOptionSetting[];
|
|
207
|
-
export declare class ObjectDataBind {
|
|
208
|
-
[key: string]: DataBind;
|
|
209
|
-
}
|
|
210
|
-
export declare class AmountDataBind extends ObjectDataBind {
|
|
211
|
-
amount: DataBind;
|
|
212
|
-
currency: DataBind;
|
|
213
|
-
constructor(props?: Partial<AmountDataBind>);
|
|
214
|
-
}
|
|
215
|
-
export declare class AmountValue {
|
|
216
|
-
amount: number | '';
|
|
217
|
-
currency: AMOUNT_TYPE;
|
|
218
|
-
constructor(props?: Partial<AmountValue>);
|
|
219
|
-
}
|
|
220
|
-
export declare class RangeDataBind extends ObjectDataBind {
|
|
221
|
-
min: DataBind;
|
|
222
|
-
max: DataBind;
|
|
223
|
-
constructor(props?: Partial<AmountDataBind>);
|
|
224
|
-
}
|
|
225
|
-
export declare class RangeDateValue {
|
|
226
|
-
min: string;
|
|
227
|
-
max: string;
|
|
228
|
-
constructor(props?: Partial<RangeDateValue>);
|
|
229
|
-
}
|
|
230
|
-
export declare class AddressValue {
|
|
231
|
-
city?: string;
|
|
232
|
-
cityDisplay?: string;
|
|
233
|
-
district?: string;
|
|
234
|
-
districtDisplay?: string;
|
|
235
|
-
province?: string;
|
|
236
|
-
provinceDisplay?: string;
|
|
237
|
-
constructor(props?: Partial<AddressValue>);
|
|
238
|
-
}
|
|
239
|
-
export declare class CalcDataBind extends ObjectDataBind {
|
|
240
|
-
result: DataBind;
|
|
241
|
-
unit: DataBind;
|
|
242
|
-
constructor(props?: Partial<CalcDataBind>);
|
|
243
|
-
}
|
|
244
|
-
export declare class CalcValue {
|
|
245
|
-
result: number | 0;
|
|
246
|
-
unit: string;
|
|
247
|
-
constructor(props?: Partial<CalcValue>);
|
|
248
|
-
}
|
|
249
|
-
export declare enum AMOUNT_TYPE {
|
|
250
|
-
CNY = "CNY",
|
|
251
|
-
USD = "USD",
|
|
252
|
-
JPY = "JPY",
|
|
253
|
-
EUR = "EUR",
|
|
254
|
-
INR = "INR",
|
|
255
|
-
IDR = "IDR",
|
|
256
|
-
BRL = "BRL",
|
|
257
|
-
AED = "AED",
|
|
258
|
-
AUD = "AUD",
|
|
259
|
-
CAD = "CAD",
|
|
260
|
-
EGP = "EGP",
|
|
261
|
-
GBP = "GBP",
|
|
262
|
-
ZAR = "ZAR",
|
|
263
|
-
KRW = "KRW",
|
|
264
|
-
MAD = "MAD",
|
|
265
|
-
MXN = "MXN",
|
|
266
|
-
MYR = "MYR",
|
|
267
|
-
PHP = "PHP",
|
|
268
|
-
PLN = "PLN",
|
|
269
|
-
RUB = "RUB",
|
|
270
|
-
SGD = "SGD",
|
|
271
|
-
THB = "THB",
|
|
272
|
-
TRY = "TRY",
|
|
273
|
-
TWD = "TWD",
|
|
274
|
-
VND = "VND",
|
|
275
|
-
HKD = "HKD",
|
|
276
|
-
IEP = "IEP"
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* 选项设置
|
|
280
|
-
* REQUIRED: 必填
|
|
281
|
-
* isHide: 隐藏
|
|
282
|
-
* IS_SHOW_UNIT: 单位
|
|
283
|
-
* CAN_SEARCH: 支持搜索
|
|
284
|
-
* MULTIPLE: 允许选中多个日期
|
|
285
|
-
* SUBMIT_SELECT_CURRENCY: 提交时选择币种
|
|
286
|
-
*/
|
|
287
|
-
export declare enum COMMON_SETTING_TYPE {
|
|
288
|
-
REQUIRED = "required",
|
|
289
|
-
IS_HIDE = "isHide",
|
|
290
|
-
IS_SHOW_UNIT = "isShowUnit",
|
|
291
|
-
IMD_SEARCH = "immediatelySearch",
|
|
292
|
-
MULTIPLE = "multiple",
|
|
293
|
-
SUBMIT_SELECT_CURRENCY = "submitSelectCurrency",
|
|
294
|
-
CAPTION = "caption",
|
|
295
|
-
IS_HIDE_CAPTION = "isHideCaption",
|
|
296
|
-
DEFAULT_SHOW_OPTIONS = "defaultShowOptions",
|
|
297
|
-
CAN_SEARCH = "canSearch",
|
|
298
|
-
CAN_CHECK = "canCheck",
|
|
299
|
-
CAN_EDIT = "canEdit",
|
|
300
|
-
CAN_DELETE = "canDelete",
|
|
301
|
-
SHOW_UPPER_CASE = "showUpperCase",
|
|
302
|
-
MICROMETER = "micrometer",
|
|
303
|
-
PRECISION = "precision",
|
|
304
|
-
PERCENTAGE = "percentage",
|
|
305
|
-
OPTIONAL_LEVEL = "optionalLevel",
|
|
306
|
-
CONTAINS_SUB_NODE = "containsSubNode",
|
|
307
|
-
DEFAULT_COLLAPSE = "defaultCollapse",
|
|
308
|
-
CAN_VIEW_FORM = "canViewForm",
|
|
309
|
-
SERVER_PAGINATION = "serverPagination",
|
|
310
|
-
IS_SHOW_CAPTION_TIP = "isShowCaptionTip",
|
|
311
|
-
ENCRYPTED = "encrypted",
|
|
312
|
-
IS_INLINE_EDIT = "isInlineEdit",
|
|
313
|
-
REVISIONS_MODE = "revisionsMode",
|
|
314
|
-
ALLOW_COPY_OPTIONS = "allowCopyOptions"
|
|
315
|
-
}
|
|
316
|
-
export declare enum PAGE_STATUS {
|
|
317
|
-
UNKNOWN = 0,
|
|
318
|
-
READONLY = 1,
|
|
319
|
-
EDITABLE = 2,
|
|
320
|
-
PRINT = 5
|
|
321
|
-
}
|
|
322
|
-
export declare class OperationItem {
|
|
323
|
-
isShow: boolean;
|
|
324
|
-
priorityProcess: boolean;
|
|
325
|
-
formKey: string;
|
|
326
|
-
content: string;
|
|
327
|
-
openType: 'modal' | 'window' | 'dialog' | 'tab';
|
|
328
|
-
readonly type: string;
|
|
329
|
-
constructor(props?: Partial<OperationItem>);
|
|
330
|
-
}
|
|
331
|
-
export declare class ViewOperationItem {
|
|
332
|
-
id: string;
|
|
333
|
-
title: string;
|
|
334
|
-
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
335
|
-
headers: ListBindHeaderItem[];
|
|
336
|
-
constructor(props: Partial<ViewOperationItem>);
|
|
337
|
-
}
|
|
338
|
-
/**
|
|
339
|
-
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
340
|
-
*/
|
|
341
|
-
export declare class CustomPermissionItem {
|
|
342
|
-
/**
|
|
343
|
-
* 人工输入的权限key
|
|
344
|
-
*/
|
|
345
|
-
key: string;
|
|
346
|
-
/**
|
|
347
|
-
* 权限名称
|
|
348
|
-
*/
|
|
349
|
-
caption: string;
|
|
350
|
-
constructor(props: Partial<CustomPermissionItem>);
|
|
351
|
-
}
|
|
352
|
-
export declare class BaseStyle {
|
|
353
|
-
width: number | '';
|
|
354
|
-
height: number | '';
|
|
355
|
-
widthConfig: 'px' | '%' | 'fill' | 'hug';
|
|
356
|
-
heightConfig: 'px' | '%' | 'fill' | 'hug';
|
|
357
|
-
constructor(props?: Partial<BaseStyle>);
|
|
358
|
-
}
|
|
1
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
2
|
+
export * from './RegisterControls';
|
|
3
|
+
export declare class DataBind {
|
|
4
|
+
dataCode: string;
|
|
5
|
+
fieldCode: string;
|
|
6
|
+
fieldType: string;
|
|
7
|
+
constructor(props?: Partial<DataBind>);
|
|
8
|
+
}
|
|
9
|
+
export declare class AutoWidth {
|
|
10
|
+
minWidth: number;
|
|
11
|
+
maxWidth?: number;
|
|
12
|
+
flex: number;
|
|
13
|
+
constructor(props?: Partial<AutoWidth>);
|
|
14
|
+
}
|
|
15
|
+
export declare class FormBind {
|
|
16
|
+
dataCode: string;
|
|
17
|
+
formKey: string;
|
|
18
|
+
appId: string;
|
|
19
|
+
constructor(props?: Partial<FormBind>);
|
|
20
|
+
}
|
|
21
|
+
export declare class FormSelectBind extends FormBind {
|
|
22
|
+
primaryControlId: string;
|
|
23
|
+
constructor(props?: Partial<FormSelectBind>);
|
|
24
|
+
}
|
|
25
|
+
declare class ListBindHeaderItem {
|
|
26
|
+
fieldCode: string;
|
|
27
|
+
constructor(props?: Partial<ListBindHeaderItem>);
|
|
28
|
+
}
|
|
29
|
+
export declare class ListBind {
|
|
30
|
+
appId: string;
|
|
31
|
+
formKey: string;
|
|
32
|
+
headers: ListBindHeaderItem[];
|
|
33
|
+
constructor(props?: Partial<ListBind>);
|
|
34
|
+
}
|
|
35
|
+
export declare class FieldBindItem {
|
|
36
|
+
fieldName: string;
|
|
37
|
+
fieldCode: string;
|
|
38
|
+
fieldType: FieldTypes;
|
|
39
|
+
constructor(props?: Partial<FieldBindItem>);
|
|
40
|
+
}
|
|
41
|
+
export declare class SubListItem extends FormBind {
|
|
42
|
+
title: string;
|
|
43
|
+
svcCode: string;
|
|
44
|
+
isOpenFilter: boolean;
|
|
45
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
46
|
+
constructor(props?: Partial<SubListItem>);
|
|
47
|
+
}
|
|
48
|
+
export declare class SubListPageConfig {
|
|
49
|
+
type: string;
|
|
50
|
+
formBind: FormBind;
|
|
51
|
+
displayFields: FieldBindItem[];
|
|
52
|
+
sublists: SubListItem[];
|
|
53
|
+
constructor(props?: Partial<SubListPageConfig>);
|
|
54
|
+
}
|
|
55
|
+
export declare class LeftVariable {
|
|
56
|
+
type?: FieldTypes;
|
|
57
|
+
value?: string;
|
|
58
|
+
constructor(props?: Partial<LeftVariable>);
|
|
59
|
+
}
|
|
60
|
+
export declare class RightVariable {
|
|
61
|
+
type: 'form' | 'system' | 'custom';
|
|
62
|
+
value: string[];
|
|
63
|
+
displayBos: Record<string, unknown>[];
|
|
64
|
+
constructor(props?: Partial<RightVariable>);
|
|
65
|
+
}
|
|
66
|
+
export declare class FieldFilterConditions {
|
|
67
|
+
id: string;
|
|
68
|
+
ruleId: number;
|
|
69
|
+
type: string;
|
|
70
|
+
level: number;
|
|
71
|
+
value: 'and' | 'or';
|
|
72
|
+
children: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
73
|
+
constructor(props?: Partial<FieldFilterConditions>);
|
|
74
|
+
}
|
|
75
|
+
export declare class FieldFilterCondition {
|
|
76
|
+
id: string;
|
|
77
|
+
ruleId: number;
|
|
78
|
+
type: string;
|
|
79
|
+
symbol: string;
|
|
80
|
+
checked: boolean;
|
|
81
|
+
describe: string;
|
|
82
|
+
leftVariableBo: LeftVariable;
|
|
83
|
+
rightVariableBo: RightVariable;
|
|
84
|
+
constructor(props?: Partial<FieldFilterCondition>);
|
|
85
|
+
}
|
|
86
|
+
export declare class MultistageFillingItem {
|
|
87
|
+
controlId: string;
|
|
88
|
+
fieldCode: string;
|
|
89
|
+
/**
|
|
90
|
+
* 事件在填充时,需要根据数据类型进行判断处理动作。
|
|
91
|
+
*/
|
|
92
|
+
fieldType: string;
|
|
93
|
+
propName: string;
|
|
94
|
+
constructor(props: Partial<MultistageFillingItem>);
|
|
95
|
+
}
|
|
96
|
+
export declare class DisplayBoListItem {
|
|
97
|
+
type: 'FIELD' | 'MOSAICS';
|
|
98
|
+
value: string;
|
|
99
|
+
fieldType?: FieldTypes;
|
|
100
|
+
constructor(props?: Partial<DisplayBoListItem>);
|
|
101
|
+
}
|
|
102
|
+
export declare class DataSourceOrderItem {
|
|
103
|
+
columnName: string;
|
|
104
|
+
desc: boolean;
|
|
105
|
+
constructor(props: Partial<DataSourceOrderItem>);
|
|
106
|
+
}
|
|
107
|
+
export declare class DataSourceDataSetValue {
|
|
108
|
+
code: string;
|
|
109
|
+
value: string;
|
|
110
|
+
field_type?: FieldTypes;
|
|
111
|
+
constructor(props: Partial<DataSourceDataSetValue>);
|
|
112
|
+
}
|
|
113
|
+
export declare class DataSourceParamItem {
|
|
114
|
+
/**
|
|
115
|
+
* 字段ID
|
|
116
|
+
*/
|
|
117
|
+
id: string;
|
|
118
|
+
limit: number;
|
|
119
|
+
orders: DataSourceOrderItem[];
|
|
120
|
+
formKey: string;
|
|
121
|
+
dataSet: DataSourceDataSetValue[];
|
|
122
|
+
constructor(props: Partial<DataSourceParamItem>);
|
|
123
|
+
}
|
|
124
|
+
export declare class DataSourceBind {
|
|
125
|
+
dataCode: string;
|
|
126
|
+
valueFieldCode: string;
|
|
127
|
+
displayBoList: DisplayBoListItem[];
|
|
128
|
+
svcCode: string;
|
|
129
|
+
appId?: string;
|
|
130
|
+
filters?: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
131
|
+
orders?: DataSourceOrderItem[];
|
|
132
|
+
showOrder?: boolean;
|
|
133
|
+
constructor(props?: Partial<DataSourceBind>);
|
|
134
|
+
}
|
|
135
|
+
export interface CustomAttribute {
|
|
136
|
+
key: string;
|
|
137
|
+
name: string;
|
|
138
|
+
required?: boolean;
|
|
139
|
+
}
|
|
140
|
+
export declare class CustomAttributeItem {
|
|
141
|
+
name: string;
|
|
142
|
+
key: string;
|
|
143
|
+
value: DisplayBoListItem[];
|
|
144
|
+
constructor(props?: Partial<CustomAttributeItem>);
|
|
145
|
+
}
|
|
146
|
+
export declare class SuperDataSourceBind extends DataSourceBind {
|
|
147
|
+
attributes: CustomAttributeItem[];
|
|
148
|
+
constructor(props?: Omit<Partial<SuperDataSourceBind>, 'attributes'> & {
|
|
149
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
export declare class TreeDataSourceBind extends SuperDataSourceBind {
|
|
153
|
+
rootNode: RightVariable;
|
|
154
|
+
constructor(props?: Omit<Partial<TreeDataSourceBind>, 'attributes'> & {
|
|
155
|
+
attributes?: Partial<CustomAttributeItem>[];
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
declare class FillBind {
|
|
159
|
+
dataCode: string;
|
|
160
|
+
appId: string;
|
|
161
|
+
fillList: MultistageFillingItem[];
|
|
162
|
+
constructor(props?: Partial<FillBind>);
|
|
163
|
+
}
|
|
164
|
+
export declare class FillPayloadBind extends FillBind {
|
|
165
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
166
|
+
orders: DataSourceOrderItem[];
|
|
167
|
+
constructor(props?: Partial<FillPayloadBind>);
|
|
168
|
+
}
|
|
169
|
+
export declare class FillBackBind extends FillBind {
|
|
170
|
+
mode: 'current' | 'subtable';
|
|
171
|
+
multiple: boolean;
|
|
172
|
+
constructor(props?: Partial<FillBackBind>);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* 目前仅subtable,未来的dataview/datagrid/datalist使用该接口
|
|
176
|
+
* dataview/datalist都支持嵌套使用
|
|
177
|
+
*/
|
|
178
|
+
export interface DataSourceBindLayout {
|
|
179
|
+
getChildrenFormControl(): unknown[];
|
|
180
|
+
getChildrenDataSourceBindLayout(): unknown[];
|
|
181
|
+
}
|
|
182
|
+
export declare class Language {
|
|
183
|
+
zh: string;
|
|
184
|
+
en: string;
|
|
185
|
+
ja: string;
|
|
186
|
+
constructor(props?: Partial<Language>);
|
|
187
|
+
}
|
|
188
|
+
export declare class RegularRules {
|
|
189
|
+
stencilName: string;
|
|
190
|
+
expression: string;
|
|
191
|
+
errMessage: string;
|
|
192
|
+
constructor(props?: Partial<RegularRules>);
|
|
193
|
+
}
|
|
194
|
+
export declare class OptionSetting {
|
|
195
|
+
readonly id: string;
|
|
196
|
+
label: string;
|
|
197
|
+
value: string;
|
|
198
|
+
constructor(props?: Partial<OptionSetting>);
|
|
199
|
+
}
|
|
200
|
+
export declare class ImageOptionSetting extends OptionSetting {
|
|
201
|
+
image: string;
|
|
202
|
+
type: 'attachment' | 'src';
|
|
203
|
+
constructor(props?: Partial<ImageOptionSetting>);
|
|
204
|
+
}
|
|
205
|
+
export declare function initOptions(options?: Partial<OptionSetting>[]): OptionSetting[];
|
|
206
|
+
export declare function initImageOptions(options?: Partial<ImageOptionSetting>[]): ImageOptionSetting[];
|
|
207
|
+
export declare class ObjectDataBind {
|
|
208
|
+
[key: string]: DataBind;
|
|
209
|
+
}
|
|
210
|
+
export declare class AmountDataBind extends ObjectDataBind {
|
|
211
|
+
amount: DataBind;
|
|
212
|
+
currency: DataBind;
|
|
213
|
+
constructor(props?: Partial<AmountDataBind>);
|
|
214
|
+
}
|
|
215
|
+
export declare class AmountValue {
|
|
216
|
+
amount: number | '';
|
|
217
|
+
currency: AMOUNT_TYPE;
|
|
218
|
+
constructor(props?: Partial<AmountValue>);
|
|
219
|
+
}
|
|
220
|
+
export declare class RangeDataBind extends ObjectDataBind {
|
|
221
|
+
min: DataBind;
|
|
222
|
+
max: DataBind;
|
|
223
|
+
constructor(props?: Partial<AmountDataBind>);
|
|
224
|
+
}
|
|
225
|
+
export declare class RangeDateValue {
|
|
226
|
+
min: string;
|
|
227
|
+
max: string;
|
|
228
|
+
constructor(props?: Partial<RangeDateValue>);
|
|
229
|
+
}
|
|
230
|
+
export declare class AddressValue {
|
|
231
|
+
city?: string;
|
|
232
|
+
cityDisplay?: string;
|
|
233
|
+
district?: string;
|
|
234
|
+
districtDisplay?: string;
|
|
235
|
+
province?: string;
|
|
236
|
+
provinceDisplay?: string;
|
|
237
|
+
constructor(props?: Partial<AddressValue>);
|
|
238
|
+
}
|
|
239
|
+
export declare class CalcDataBind extends ObjectDataBind {
|
|
240
|
+
result: DataBind;
|
|
241
|
+
unit: DataBind;
|
|
242
|
+
constructor(props?: Partial<CalcDataBind>);
|
|
243
|
+
}
|
|
244
|
+
export declare class CalcValue {
|
|
245
|
+
result: number | 0;
|
|
246
|
+
unit: string;
|
|
247
|
+
constructor(props?: Partial<CalcValue>);
|
|
248
|
+
}
|
|
249
|
+
export declare enum AMOUNT_TYPE {
|
|
250
|
+
CNY = "CNY",
|
|
251
|
+
USD = "USD",
|
|
252
|
+
JPY = "JPY",
|
|
253
|
+
EUR = "EUR",
|
|
254
|
+
INR = "INR",
|
|
255
|
+
IDR = "IDR",
|
|
256
|
+
BRL = "BRL",
|
|
257
|
+
AED = "AED",
|
|
258
|
+
AUD = "AUD",
|
|
259
|
+
CAD = "CAD",
|
|
260
|
+
EGP = "EGP",
|
|
261
|
+
GBP = "GBP",
|
|
262
|
+
ZAR = "ZAR",
|
|
263
|
+
KRW = "KRW",
|
|
264
|
+
MAD = "MAD",
|
|
265
|
+
MXN = "MXN",
|
|
266
|
+
MYR = "MYR",
|
|
267
|
+
PHP = "PHP",
|
|
268
|
+
PLN = "PLN",
|
|
269
|
+
RUB = "RUB",
|
|
270
|
+
SGD = "SGD",
|
|
271
|
+
THB = "THB",
|
|
272
|
+
TRY = "TRY",
|
|
273
|
+
TWD = "TWD",
|
|
274
|
+
VND = "VND",
|
|
275
|
+
HKD = "HKD",
|
|
276
|
+
IEP = "IEP"
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* 选项设置
|
|
280
|
+
* REQUIRED: 必填
|
|
281
|
+
* isHide: 隐藏
|
|
282
|
+
* IS_SHOW_UNIT: 单位
|
|
283
|
+
* CAN_SEARCH: 支持搜索
|
|
284
|
+
* MULTIPLE: 允许选中多个日期
|
|
285
|
+
* SUBMIT_SELECT_CURRENCY: 提交时选择币种
|
|
286
|
+
*/
|
|
287
|
+
export declare enum COMMON_SETTING_TYPE {
|
|
288
|
+
REQUIRED = "required",
|
|
289
|
+
IS_HIDE = "isHide",
|
|
290
|
+
IS_SHOW_UNIT = "isShowUnit",
|
|
291
|
+
IMD_SEARCH = "immediatelySearch",
|
|
292
|
+
MULTIPLE = "multiple",
|
|
293
|
+
SUBMIT_SELECT_CURRENCY = "submitSelectCurrency",
|
|
294
|
+
CAPTION = "caption",
|
|
295
|
+
IS_HIDE_CAPTION = "isHideCaption",
|
|
296
|
+
DEFAULT_SHOW_OPTIONS = "defaultShowOptions",
|
|
297
|
+
CAN_SEARCH = "canSearch",
|
|
298
|
+
CAN_CHECK = "canCheck",
|
|
299
|
+
CAN_EDIT = "canEdit",
|
|
300
|
+
CAN_DELETE = "canDelete",
|
|
301
|
+
SHOW_UPPER_CASE = "showUpperCase",
|
|
302
|
+
MICROMETER = "micrometer",
|
|
303
|
+
PRECISION = "precision",
|
|
304
|
+
PERCENTAGE = "percentage",
|
|
305
|
+
OPTIONAL_LEVEL = "optionalLevel",
|
|
306
|
+
CONTAINS_SUB_NODE = "containsSubNode",
|
|
307
|
+
DEFAULT_COLLAPSE = "defaultCollapse",
|
|
308
|
+
CAN_VIEW_FORM = "canViewForm",
|
|
309
|
+
SERVER_PAGINATION = "serverPagination",
|
|
310
|
+
IS_SHOW_CAPTION_TIP = "isShowCaptionTip",
|
|
311
|
+
ENCRYPTED = "encrypted",
|
|
312
|
+
IS_INLINE_EDIT = "isInlineEdit",
|
|
313
|
+
REVISIONS_MODE = "revisionsMode",
|
|
314
|
+
ALLOW_COPY_OPTIONS = "allowCopyOptions"
|
|
315
|
+
}
|
|
316
|
+
export declare enum PAGE_STATUS {
|
|
317
|
+
UNKNOWN = 0,
|
|
318
|
+
READONLY = 1,
|
|
319
|
+
EDITABLE = 2,
|
|
320
|
+
PRINT = 5
|
|
321
|
+
}
|
|
322
|
+
export declare class OperationItem {
|
|
323
|
+
isShow: boolean;
|
|
324
|
+
priorityProcess: boolean;
|
|
325
|
+
formKey: string;
|
|
326
|
+
content: string;
|
|
327
|
+
openType: 'modal' | 'window' | 'dialog' | 'tab';
|
|
328
|
+
readonly type: string;
|
|
329
|
+
constructor(props?: Partial<OperationItem>);
|
|
330
|
+
}
|
|
331
|
+
export declare class ViewOperationItem {
|
|
332
|
+
id: string;
|
|
333
|
+
title: string;
|
|
334
|
+
filters: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
335
|
+
headers: ListBindHeaderItem[];
|
|
336
|
+
constructor(props: Partial<ViewOperationItem>);
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
340
|
+
*/
|
|
341
|
+
export declare class CustomPermissionItem {
|
|
342
|
+
/**
|
|
343
|
+
* 人工输入的权限key
|
|
344
|
+
*/
|
|
345
|
+
key: string;
|
|
346
|
+
/**
|
|
347
|
+
* 权限名称
|
|
348
|
+
*/
|
|
349
|
+
caption: string;
|
|
350
|
+
constructor(props: Partial<CustomPermissionItem>);
|
|
351
|
+
}
|
|
352
|
+
export declare class BaseStyle {
|
|
353
|
+
width: number | '';
|
|
354
|
+
height: number | '';
|
|
355
|
+
widthConfig: 'px' | '%' | 'fill' | 'hug';
|
|
356
|
+
heightConfig: 'px' | '%' | 'fill' | 'hug';
|
|
357
|
+
constructor(props?: Partial<BaseStyle>);
|
|
358
|
+
}
|