提交 | 用户 | 时间
|
314507
|
1 |
export type ComponentName = |
H |
2 |
| 'Radio' |
|
3 |
| 'RadioButton' |
|
4 |
| 'Checkbox' |
|
5 |
| 'CheckboxButton' |
|
6 |
| 'Input' |
|
7 |
| 'Autocomplete' |
|
8 |
| 'InputNumber' |
|
9 |
| 'Select' |
|
10 |
| 'Cascader' |
|
11 |
| 'Switch' |
|
12 |
| 'Slider' |
|
13 |
| 'TimePicker' |
|
14 |
| 'DatePicker' |
|
15 |
| 'Rate' |
|
16 |
| 'ColorPicker' |
|
17 |
| 'Transfer' |
|
18 |
| 'Divider' |
|
19 |
| 'TimeSelect' |
|
20 |
| 'SelectV2' |
|
21 |
| 'TreeSelect' |
|
22 |
| 'InputPassword' |
|
23 |
| 'Editor' |
|
24 |
| 'UploadImg' |
|
25 |
| 'UploadImgs' |
|
26 |
| 'UploadFile' |
|
27 |
|
|
28 |
export type ColProps = { |
|
29 |
span?: number |
|
30 |
xs?: number |
|
31 |
sm?: number |
|
32 |
md?: number |
|
33 |
lg?: number |
|
34 |
xl?: number |
|
35 |
tag?: string |
|
36 |
} |
|
37 |
|
|
38 |
export type ComponentOptions = { |
|
39 |
label?: string |
|
40 |
value?: FormValueType |
|
41 |
disabled?: boolean |
|
42 |
key?: string | number |
|
43 |
children?: ComponentOptions[] |
|
44 |
options?: ComponentOptions[] |
|
45 |
} & Recordable |
|
46 |
|
|
47 |
export type ComponentOptionsAlias = { |
|
48 |
labelField?: string |
|
49 |
valueField?: string |
|
50 |
} |
|
51 |
|
|
52 |
export type ComponentProps = { |
|
53 |
optionsAlias?: ComponentOptionsAlias |
|
54 |
options?: ComponentOptions[] |
|
55 |
optionsSlot?: boolean |
|
56 |
} & Recordable |