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