1 | import { FieldProps } from './Field';
|
2 | export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3 | tag: {
|
4 | type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
5 | default: keyof HTMLElementTagNameMap;
|
6 | };
|
7 | icon: StringConstructor;
|
8 | size: import("vue").PropType<import("..").CellSize>;
|
9 | title: (NumberConstructor | StringConstructor)[];
|
10 | value: (NumberConstructor | StringConstructor)[];
|
11 | label: (NumberConstructor | StringConstructor)[];
|
12 | center: BooleanConstructor;
|
13 | isLink: BooleanConstructor;
|
14 | border: {
|
15 | type: BooleanConstructor;
|
16 | default: true;
|
17 | };
|
18 | iconPrefix: StringConstructor;
|
19 | valueClass: import("vue").PropType<unknown>;
|
20 | labelClass: import("vue").PropType<unknown>;
|
21 | titleClass: import("vue").PropType<unknown>;
|
22 | titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
23 | arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
|
24 | required: {
|
25 | type: import("vue").PropType<boolean | "auto">;
|
26 | default: null;
|
27 | };
|
28 | clickable: {
|
29 | type: import("vue").PropType<boolean | null>;
|
30 | default: null;
|
31 | };
|
32 | } & {
|
33 | id: StringConstructor;
|
34 | name: StringConstructor;
|
35 | leftIcon: StringConstructor;
|
36 | rightIcon: StringConstructor;
|
37 | autofocus: BooleanConstructor;
|
38 | clearable: BooleanConstructor;
|
39 | maxlength: (NumberConstructor | StringConstructor)[];
|
40 | max: NumberConstructor;
|
41 | min: NumberConstructor;
|
42 | formatter: import("vue").PropType<(value: string) => string>;
|
43 | clearIcon: {
|
44 | type: import("vue").PropType<string>;
|
45 | default: string;
|
46 | };
|
47 | modelValue: {
|
48 | type: (NumberConstructor | StringConstructor)[];
|
49 | default: string;
|
50 | };
|
51 | inputAlign: import("vue").PropType<import("./types").FieldTextAlign>;
|
52 | placeholder: StringConstructor;
|
53 | autocomplete: StringConstructor;
|
54 | autocapitalize: StringConstructor;
|
55 | autocorrect: StringConstructor;
|
56 | errorMessage: StringConstructor;
|
57 | enterkeyhint: StringConstructor;
|
58 | clearTrigger: {
|
59 | type: import("vue").PropType<import("./types").FieldClearTrigger>;
|
60 | default: import("./types").FieldClearTrigger;
|
61 | };
|
62 | formatTrigger: {
|
63 | type: import("vue").PropType<import("./types").FieldFormatTrigger>;
|
64 | default: import("./types").FieldFormatTrigger;
|
65 | };
|
66 | spellcheck: {
|
67 | type: BooleanConstructor;
|
68 | default: null;
|
69 | };
|
70 | error: {
|
71 | type: BooleanConstructor;
|
72 | default: null;
|
73 | };
|
74 | disabled: {
|
75 | type: BooleanConstructor;
|
76 | default: null;
|
77 | };
|
78 | readonly: {
|
79 | type: BooleanConstructor;
|
80 | default: null;
|
81 | };
|
82 | } & {
|
83 | rows: (NumberConstructor | StringConstructor)[];
|
84 | type: {
|
85 | type: import("vue").PropType<import("./types").FieldType>;
|
86 | default: import("./types").FieldType;
|
87 | };
|
88 | rules: import("vue").PropType<import("./types").FieldRule[]>;
|
89 | autosize: import("vue").PropType<boolean | import("./types").FieldAutosizeConfig>;
|
90 | labelWidth: (NumberConstructor | StringConstructor)[];
|
91 | labelClass: import("vue").PropType<unknown>;
|
92 | labelAlign: import("vue").PropType<import("./types").FieldTextAlign>;
|
93 | showWordLimit: BooleanConstructor;
|
94 | errorMessageAlign: import("vue").PropType<import("./types").FieldTextAlign>;
|
95 | colon: {
|
96 | type: BooleanConstructor;
|
97 | default: null;
|
98 | };
|
99 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
100 | tag: {
|
101 | type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
102 | default: keyof HTMLElementTagNameMap;
|
103 | };
|
104 | icon: StringConstructor;
|
105 | size: import("vue").PropType<import("..").CellSize>;
|
106 | title: (NumberConstructor | StringConstructor)[];
|
107 | value: (NumberConstructor | StringConstructor)[];
|
108 | label: (NumberConstructor | StringConstructor)[];
|
109 | center: BooleanConstructor;
|
110 | isLink: BooleanConstructor;
|
111 | border: {
|
112 | type: BooleanConstructor;
|
113 | default: true;
|
114 | };
|
115 | iconPrefix: StringConstructor;
|
116 | valueClass: import("vue").PropType<unknown>;
|
117 | labelClass: import("vue").PropType<unknown>;
|
118 | titleClass: import("vue").PropType<unknown>;
|
119 | titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
120 | arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
|
121 | required: {
|
122 | type: import("vue").PropType<boolean | "auto">;
|
123 | default: null;
|
124 | };
|
125 | clickable: {
|
126 | type: import("vue").PropType<boolean | null>;
|
127 | default: null;
|
128 | };
|
129 | } & {
|
130 | id: StringConstructor;
|
131 | name: StringConstructor;
|
132 | leftIcon: StringConstructor;
|
133 | rightIcon: StringConstructor;
|
134 | autofocus: BooleanConstructor;
|
135 | clearable: BooleanConstructor;
|
136 | maxlength: (NumberConstructor | StringConstructor)[];
|
137 | max: NumberConstructor;
|
138 | min: NumberConstructor;
|
139 | formatter: import("vue").PropType<(value: string) => string>;
|
140 | clearIcon: {
|
141 | type: import("vue").PropType<string>;
|
142 | default: string;
|
143 | };
|
144 | modelValue: {
|
145 | type: (NumberConstructor | StringConstructor)[];
|
146 | default: string;
|
147 | };
|
148 | inputAlign: import("vue").PropType<import("./types").FieldTextAlign>;
|
149 | placeholder: StringConstructor;
|
150 | autocomplete: StringConstructor;
|
151 | autocapitalize: StringConstructor;
|
152 | autocorrect: StringConstructor;
|
153 | errorMessage: StringConstructor;
|
154 | enterkeyhint: StringConstructor;
|
155 | clearTrigger: {
|
156 | type: import("vue").PropType<import("./types").FieldClearTrigger>;
|
157 | default: import("./types").FieldClearTrigger;
|
158 | };
|
159 | formatTrigger: {
|
160 | type: import("vue").PropType<import("./types").FieldFormatTrigger>;
|
161 | default: import("./types").FieldFormatTrigger;
|
162 | };
|
163 | spellcheck: {
|
164 | type: BooleanConstructor;
|
165 | default: null;
|
166 | };
|
167 | error: {
|
168 | type: BooleanConstructor;
|
169 | default: null;
|
170 | };
|
171 | disabled: {
|
172 | type: BooleanConstructor;
|
173 | default: null;
|
174 | };
|
175 | readonly: {
|
176 | type: BooleanConstructor;
|
177 | default: null;
|
178 | };
|
179 | } & {
|
180 | rows: (NumberConstructor | StringConstructor)[];
|
181 | type: {
|
182 | type: import("vue").PropType<import("./types").FieldType>;
|
183 | default: import("./types").FieldType;
|
184 | };
|
185 | rules: import("vue").PropType<import("./types").FieldRule[]>;
|
186 | autosize: import("vue").PropType<boolean | import("./types").FieldAutosizeConfig>;
|
187 | labelWidth: (NumberConstructor | StringConstructor)[];
|
188 | labelClass: import("vue").PropType<unknown>;
|
189 | labelAlign: import("vue").PropType<import("./types").FieldTextAlign>;
|
190 | showWordLimit: BooleanConstructor;
|
191 | errorMessageAlign: import("vue").PropType<import("./types").FieldTextAlign>;
|
192 | colon: {
|
193 | type: BooleanConstructor;
|
194 | default: null;
|
195 | };
|
196 | }>> & Readonly<{
|
197 | onFocus?: ((...args: any[]) => any) | undefined;
|
198 | onBlur?: ((...args: any[]) => any) | undefined;
|
199 | onKeypress?: ((...args: any[]) => any) | undefined;
|
200 | onClear?: ((...args: any[]) => any) | undefined;
|
201 | onClickInput?: ((...args: any[]) => any) | undefined;
|
202 | onEndValidate?: ((...args: any[]) => any) | undefined;
|
203 | onStartValidate?: ((...args: any[]) => any) | undefined;
|
204 | onClickLeftIcon?: ((...args: any[]) => any) | undefined;
|
205 | onClickRightIcon?: ((...args: any[]) => any) | undefined;
|
206 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
207 | }>, {
|
208 | type: import("./types").FieldType;
|
209 | tag: keyof HTMLElementTagNameMap;
|
210 | center: boolean;
|
211 | autofocus: boolean;
|
212 | disabled: boolean;
|
213 | border: boolean;
|
214 | isLink: boolean;
|
215 | required: boolean | "auto";
|
216 | clickable: boolean | null;
|
217 | clearable: boolean;
|
218 | clearIcon: string;
|
219 | modelValue: string | number;
|
220 | clearTrigger: import("./types").FieldClearTrigger;
|
221 | formatTrigger: import("./types").FieldFormatTrigger;
|
222 | spellcheck: boolean;
|
223 | error: boolean;
|
224 | readonly: boolean;
|
225 | showWordLimit: boolean;
|
226 | colon: boolean;
|
227 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
228 | export default Field;
|
229 | export { fieldProps } from './Field';
|
230 | export type { FieldProps };
|
231 | export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldThemeVars, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FieldRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
|
232 | declare module 'vue' {
|
233 | interface GlobalComponents {
|
234 | VanField: typeof Field;
|
235 | }
|
236 | }
|
237 |
|
\ | No newline at end of file |