1 | import {
|
2 | FormCreate,
|
3 | FormRule as $FormRule,
|
4 | Options as $Options,
|
5 | Rule as $Rule,
|
6 | Creator as $Creator,
|
7 | Control as $Control,
|
8 | Api as $Api,
|
9 | Effect as $Effect,
|
10 | Parser as $Parser
|
11 | } from "@form-create/core";
|
12 | import Maker from "./maker";
|
13 | import {ApiAttrs, CreatorAttrs, OptionAttrs, RuleAttrs} from "./config";
|
14 |
|
15 | declare module 'vue/types/vue' {
|
16 | interface Vue {
|
17 | $formCreate: FormCreate<Maker, OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>;
|
18 | }
|
19 | }
|
20 |
|
21 | declare const formCreate: FormCreate<Maker, OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>;
|
22 | export default formCreate;
|
23 | export declare const maker: typeof formCreate.maker;
|
24 | export type FormRule = $FormRule<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
25 | export type Options = $Options<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
26 | export type Rule = $Rule<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
27 | export type Effect = $Effect<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
28 | export type Creator = $Creator<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
29 | export type Control = $Control<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
30 | export type Api = $Api<OptionAttrs, CreatorAttrs, RuleAttrs, ApiAttrs>
|
31 | export type Parser = $Parser
|