/*
 * @Author: yehuozhili
 * @Date: 2021-07-07 14:31:20
 * @LastEditors: yehuozhili
 * @LastEditTime: 2021-08-05 15:10:23
 * @FilePath: \dooringx\packages\dooringx-example\src\plugin\formTypes.ts
 */
export interface FormBaseType {
	receive?: string;
}
export interface FormInputType extends FormBaseType {
	label: string;
}
export interface FormInputNumberType extends FormBaseType {
	label: string;
}
export interface FormActionButtonType {}
export interface FormAnimateControlType {}

export interface FormSwitchType extends FormBaseType {
	label: string;
}
export interface FormUploadType extends FormBaseType {
	label: string;
}
export interface FormColorSelectType extends FormBaseType {
	label: string;
	initValue?: string;
}
export interface FormSelectType extends FormBaseType {
	label: string;
	initValue?: string;
	options: any[];
}
export interface FormMap {
	input: FormInputType;
	actionButton: FormActionButtonType;
	animateControl: FormAnimateControlType;
	switch: FormSwitchType;
	colorSelect: FormColorSelectType;
	select: FormSelectType;
	inputNumber: FormInputNumberType;
	upload: FormUploadType;
}
