import type { SelectOptionData } from '@arco-design/web-vue/es/select/interface'

export interface FormItem {
  field: string
  label: string
  type: 'input' | 'select' | 'dateRange' | 'slot'
  span?: number
  placeholder?: string
  options?: SelectOptionData[]
  /** 仅对 select 生效 */
  disabled?: boolean
  /** 仅对 select 生效 */
  allowSearch?: boolean
  /** 仅对 select 生效 */
  onSearch?: (value: string) => void
}
