UNPKG

@caxa-form/ant-design-vue

Version:

ant-design-vue动态表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 3 UI frameworks, and supports the generation of any Vue components. Built-in 2

14 lines (10 loc) 946 B
import {CreatorHelper} from "@caxa-form/core"; import {ApiAttrs, CreatorAttrs, OptionAttrs, RuleAttrs} from "./config"; declare const makerFactory: CreatorHelper<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> declare enum MakerName { "checkbox", "datePicker", "dateRange", "datetimeRange", "date", "month", "week", "hidden", "input", "idate", "password", "url", "email", "text", "textarea", "search", "timePicker", "tree", "radio", "select", "upload", "frame", "autoComplete", "cascader", "inputNumber", "rate", "switch", "slider", "auto", "number", "time", "sliderRange", "frameInputs", "frameFiles", "frameImages", "frameInputOne", "frameFileOne", "frameImageOne", "frameInput", "frameFile", "frameImage", "image", "file", "uploadFileOne", "uploadImageOne", "uploadImage", "uploadFile", "selectMultiple", "selectTags", "selectCombobox" } type Maker = { [name in keyof typeof MakerName]: typeof makerFactory; } export default Maker;