UNPKG

@form-create/tdesign

Version:

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

29 lines (27 loc) 1.27 kB
import { FormCreate, FormCreateProps as $FormCreateProps, FormRule as $FormRule, Options as $Options, Rule as $Rule, Creator as $Creator, Control as $Control, Api as $Api, Effect as $Effect, Parser as $Parser, } from "@form-create/core"; import Maker from "./maker"; import {ApiAttrs, CreatorAttrs, OptionAttrs, RuleAttrs} from "./config"; import {ExtractPropTypes} from "vue"; declare const formCreate: FormCreate<Maker, OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>; export default formCreate; export declare const maker: typeof formCreate.maker; export type FormRule = $FormRule<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type Options = $Options<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type Rule = $Rule<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type Effect = $Effect<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type Creator = $Creator<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type Control = $Control<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type Api = $Api<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs> export type FormCreateProps = ExtractPropTypes<$FormCreateProps<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>> export type Parser = $Parser