You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
974 B
56 lines
974 B
export type ComponentName =
|
|
| 'Radio'
|
|
| 'RadioButton'
|
|
| 'Checkbox'
|
|
| 'CheckboxButton'
|
|
| 'Input'
|
|
| 'Autocomplete'
|
|
| 'InputNumber'
|
|
| 'Select'
|
|
| 'Cascader'
|
|
| 'Switch'
|
|
| 'Slider'
|
|
| 'TimePicker'
|
|
| 'DatePicker'
|
|
| 'Rate'
|
|
| 'ColorPicker'
|
|
| 'Transfer'
|
|
| 'Divider'
|
|
| 'TimeSelect'
|
|
| 'SelectV2'
|
|
| 'TreeSelect'
|
|
| 'InputPassword'
|
|
| 'Editor'
|
|
| 'UploadImg'
|
|
| 'UploadImgs'
|
|
| 'UploadFile'
|
|
|
|
export type ColProps = {
|
|
span?: number
|
|
xs?: number
|
|
sm?: number
|
|
md?: number
|
|
lg?: number
|
|
xl?: number
|
|
tag?: string
|
|
}
|
|
|
|
export type ComponentOptions = {
|
|
label?: string
|
|
value?: FormValueType
|
|
disabled?: boolean
|
|
key?: string | number
|
|
children?: ComponentOptions[]
|
|
options?: ComponentOptions[]
|
|
} & Recordable
|
|
|
|
export type ComponentOptionsAlias = {
|
|
labelField?: string
|
|
valueField?: string
|
|
}
|
|
|
|
export type ComponentProps = {
|
|
optionsAlias?: ComponentOptionsAlias
|
|
options?: ComponentOptions[]
|
|
optionsSlot?: boolean
|
|
} & Recordable
|
|
|