import { type } from 'ramda'
import { VComponent, VProps, VEvent } from './component'

export const FormDesign: VComponent<VProps, VEvent, FormDesignSlots>

export interface FormDesignSlots {
    headerLeft: () => any
    headerRight: () => any
}

export const FD_METAS: {
    button: object,
    cascader: object,
    checkbox: object,
    colorpicker: object,
    datetimepicker: object,
    draggablelist: object,
    expression: object,
    icon: object,
    input: object,
    inputnumber: object,
    ipinput: object,
    multiexp: object,
    radio: object,
    rate: object,
    select: object,
    slider: object,
    slot: object,
    switch: object,
    table: object,
    text: object,
    timepicker: object,
    transfer: object,
    tree: object,
    treeselect: object,
    upload: object,
}