UNPKG

1.04 kBTypeScriptView Raw
1import {CreatorHelper} from "@form-create/core";
2import {CreatorAttrs, OptionAttrs, RuleAttrs, ApiAttrs} from "./config";
3
4declare const makerFactory: CreatorHelper<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
5
6declare enum MakerName {
7 "datePicker", "year", "month", "date", "dates", "week", "datetime", "datetimeRange", "dateRange", "monthRange", "hidden", "input", "password", "url", "email", "text", "textarea", "idate", "slider", "sliderRange", "timePicker", "time", "timeRange", "group", "tree", "switch", "upload", "autoComplete", "checkbox", "cascader", "colorPicker", "frame", "inputNumber", "radio", "rate", "select", "auto", "number", "color", "selectMultiple", "selectOne", "treeSelected", "treeChecked", "image", "file", "uploadFileOne", "uploadImageOne", "uploadImage", "uploadFile", "frameInputs", "frameFiles", "frameImages", "frameInputOne", "frameFileOne", "frameImageOne", "frameInput", "frameFile", "frameImage"
8}
9
10type Maker = {
11 [name in keyof typeof MakerName]: typeof makerFactory;
12}
13
14export default Maker;
\No newline at end of file