1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import type { FieldTextAlign, FieldValidateTrigger } from '../field/types';
|
3 | export declare const formProps: {
|
4 | colon: BooleanConstructor;
|
5 | disabled: BooleanConstructor;
|
6 | readonly: BooleanConstructor;
|
7 | required: PropType<boolean | "auto">;
|
8 | showError: BooleanConstructor;
|
9 | labelWidth: (NumberConstructor | StringConstructor)[];
|
10 | labelAlign: PropType<FieldTextAlign>;
|
11 | inputAlign: PropType<FieldTextAlign>;
|
12 | scrollToError: BooleanConstructor;
|
13 | scrollToErrorPosition: PropType<ScrollLogicalPosition>;
|
14 | validateFirst: BooleanConstructor;
|
15 | submitOnEnter: {
|
16 | type: BooleanConstructor;
|
17 | default: true;
|
18 | };
|
19 | showErrorMessage: {
|
20 | type: BooleanConstructor;
|
21 | default: true;
|
22 | };
|
23 | errorMessageAlign: PropType<FieldTextAlign>;
|
24 | validateTrigger: {
|
25 | type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
26 | default: string;
|
27 | };
|
28 | };
|
29 | export type FormProps = ExtractPropTypes<typeof formProps>;
|
30 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
31 | colon: BooleanConstructor;
|
32 | disabled: BooleanConstructor;
|
33 | readonly: BooleanConstructor;
|
34 | required: PropType<boolean | "auto">;
|
35 | showError: BooleanConstructor;
|
36 | labelWidth: (NumberConstructor | StringConstructor)[];
|
37 | labelAlign: PropType<FieldTextAlign>;
|
38 | inputAlign: PropType<FieldTextAlign>;
|
39 | scrollToError: BooleanConstructor;
|
40 | scrollToErrorPosition: PropType<ScrollLogicalPosition>;
|
41 | validateFirst: BooleanConstructor;
|
42 | submitOnEnter: {
|
43 | type: BooleanConstructor;
|
44 | default: true;
|
45 | };
|
46 | showErrorMessage: {
|
47 | type: BooleanConstructor;
|
48 | default: true;
|
49 | };
|
50 | errorMessageAlign: PropType<FieldTextAlign>;
|
51 | validateTrigger: {
|
52 | type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
53 | default: string;
|
54 | };
|
55 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
56 | colon: BooleanConstructor;
|
57 | disabled: BooleanConstructor;
|
58 | readonly: BooleanConstructor;
|
59 | required: PropType<boolean | "auto">;
|
60 | showError: BooleanConstructor;
|
61 | labelWidth: (NumberConstructor | StringConstructor)[];
|
62 | labelAlign: PropType<FieldTextAlign>;
|
63 | inputAlign: PropType<FieldTextAlign>;
|
64 | scrollToError: BooleanConstructor;
|
65 | scrollToErrorPosition: PropType<ScrollLogicalPosition>;
|
66 | validateFirst: BooleanConstructor;
|
67 | submitOnEnter: {
|
68 | type: BooleanConstructor;
|
69 | default: true;
|
70 | };
|
71 | showErrorMessage: {
|
72 | type: BooleanConstructor;
|
73 | default: true;
|
74 | };
|
75 | errorMessageAlign: PropType<FieldTextAlign>;
|
76 | validateTrigger: {
|
77 | type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
78 | default: string;
|
79 | };
|
80 | }>> & Readonly<{
|
81 | onSubmit?: ((...args: any[]) => any) | undefined;
|
82 | onFailed?: ((...args: any[]) => any) | undefined;
|
83 | }>, {
|
84 | disabled: boolean;
|
85 | readonly: boolean;
|
86 | colon: boolean;
|
87 | showError: boolean;
|
88 | scrollToError: boolean;
|
89 | validateFirst: boolean;
|
90 | submitOnEnter: boolean;
|
91 | showErrorMessage: boolean;
|
92 | validateTrigger: FieldValidateTrigger | FieldValidateTrigger[];
|
93 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
94 | export default _default;
|
95 |
|
\ | No newline at end of file |