UNPKG

14.6 kBTypeScriptView Raw
1import { App } from 'vue';
2import ButtonGroup from './button-group';
3declare const _default: ({
4 new (...args: any[]): {
5 $: import("vue").ComponentInternalInstance;
6 $data: {
7 sizeMap: {
8 large: string;
9 small: string;
10 };
11 sLoading: boolean;
12 hasTwoCNChar: boolean;
13 };
14 $props: Partial<{
15 title: string;
16 onClick: (...args: any[]) => any;
17 prefixCls: string;
18 size: "default" | "small" | "large";
19 href: string;
20 htmlType: "button" | "reset" | "submit";
21 }> & Pick<Readonly<{
22 title: string;
23 onClick: (...args: any[]) => any;
24 prefixCls: string;
25 size: "default" | "small" | "large";
26 href: string;
27 htmlType: "button" | "reset" | "submit";
28 } & {
29 icon?: import("../_util/type").VueNode;
30 block?: boolean;
31 disabled?: boolean;
32 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
33 loading?: boolean | {
34 [key: string]: any;
35 };
36 shape?: "circle" | "round" | "circle-outline";
37 ghost?: boolean;
38 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "icon" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "block" | "disabled" | "type" | "loading" | "shape" | "ghost">;
39 $attrs: Record<string, unknown>;
40 $refs: Record<string, unknown>;
41 $slots: Readonly<{
42 [name: string]: import("vue").Slot;
43 }>;
44 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
45 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
46 $emit: (event: string, ...args: any[]) => void;
47 $el: any;
48 $options: import("vue").ComponentOptionsBase<Readonly<{
49 title: string;
50 onClick: (...args: any[]) => any;
51 prefixCls: string;
52 size: "default" | "small" | "large";
53 href: string;
54 htmlType: "button" | "reset" | "submit";
55 } & {
56 icon?: import("../_util/type").VueNode;
57 block?: boolean;
58 disabled?: boolean;
59 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
60 loading?: boolean | {
61 [key: string]: any;
62 };
63 shape?: "circle" | "round" | "circle-outline";
64 ghost?: boolean;
65 }>, {
66 configProvider: import("../config-provider").ConfigConsumerProps;
67 children: any[];
68 iconCom: any;
69 delayTimeout: any;
70 }, {
71 sizeMap: {
72 large: string;
73 small: string;
74 };
75 sLoading: boolean;
76 hasTwoCNChar: boolean;
77 }, {}, {
78 getClasses(): {
79 [x: string]: any;
80 };
81 fixTwoCNChar(): void;
82 handleClick(event: Event): void;
83 insertSpace(child: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
84 [key: string]: any;
85 }>, needInserted: boolean): JSX.Element;
86 isNeedInserted(): boolean;
87 }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
88 title: string;
89 onClick: (...args: any[]) => any;
90 prefixCls: string;
91 size: "default" | "small" | "large";
92 href: string;
93 htmlType: "button" | "reset" | "submit";
94 }>;
95 $forceUpdate: import("vue").ReactiveEffect<any>;
96 $nextTick: typeof import("vue").nextTick;
97 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
98 } & Readonly<{
99 title: string;
100 onClick: (...args: any[]) => any;
101 prefixCls: string;
102 size: "default" | "small" | "large";
103 href: string;
104 htmlType: "button" | "reset" | "submit";
105 } & {
106 icon?: import("../_util/type").VueNode;
107 block?: boolean;
108 disabled?: boolean;
109 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
110 loading?: boolean | {
111 [key: string]: any;
112 };
113 shape?: "circle" | "round" | "circle-outline";
114 ghost?: boolean;
115 }> & import("vue").ShallowUnwrapRef<{
116 configProvider: import("../config-provider").ConfigConsumerProps;
117 children: any[];
118 iconCom: any;
119 delayTimeout: any;
120 }> & {
121 sizeMap: {
122 large: string;
123 small: string;
124 };
125 sLoading: boolean;
126 hasTwoCNChar: boolean;
127 } & {} & {
128 getClasses(): {
129 [x: string]: any;
130 };
131 fixTwoCNChar(): void;
132 handleClick(event: Event): void;
133 insertSpace(child: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
134 [key: string]: any;
135 }>, needInserted: boolean): JSX.Element;
136 isNeedInserted(): boolean;
137 } & import("vue").ComponentCustomProperties;
138 __isFragment?: never;
139 __isTeleport?: never;
140 __isSuspense?: never;
141} & import("vue").ComponentOptionsBase<Readonly<{
142 title: string;
143 onClick: (...args: any[]) => any;
144 prefixCls: string;
145 size: "default" | "small" | "large";
146 href: string;
147 htmlType: "button" | "reset" | "submit";
148} & {
149 icon?: import("../_util/type").VueNode;
150 block?: boolean;
151 disabled?: boolean;
152 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
153 loading?: boolean | {
154 [key: string]: any;
155 };
156 shape?: "circle" | "round" | "circle-outline";
157 ghost?: boolean;
158}>, {
159 configProvider: import("../config-provider").ConfigConsumerProps;
160 children: any[];
161 iconCom: any;
162 delayTimeout: any;
163}, {
164 sizeMap: {
165 large: string;
166 small: string;
167 };
168 sLoading: boolean;
169 hasTwoCNChar: boolean;
170}, {}, {
171 getClasses(): {
172 [x: string]: any;
173 };
174 fixTwoCNChar(): void;
175 handleClick(event: Event): void;
176 insertSpace(child: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
177 [key: string]: any;
178 }>, needInserted: boolean): JSX.Element;
179 isNeedInserted(): boolean;
180}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
181 title: string;
182 onClick: (...args: any[]) => any;
183 prefixCls: string;
184 size: "default" | "small" | "large";
185 href: string;
186 htmlType: "button" | "reset" | "submit";
187}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: App<any>, ...options: any[]) => any) & {
188 install?: (app: App<any>, ...options: any[]) => any;
189} & {
190 readonly Group: typeof ButtonGroup;
191}) | ({
192 new (...args: any[]): {
193 $: import("vue").ComponentInternalInstance;
194 $data: {
195 sizeMap: {
196 large: string;
197 small: string;
198 };
199 sLoading: boolean;
200 hasTwoCNChar: boolean;
201 };
202 $props: Partial<{
203 title: string;
204 onClick: (...args: any[]) => any;
205 prefixCls: string;
206 size: "default" | "small" | "large";
207 href: string;
208 htmlType: "button" | "reset" | "submit";
209 }> & Pick<Readonly<{
210 title: string;
211 onClick: (...args: any[]) => any;
212 prefixCls: string;
213 size: "default" | "small" | "large";
214 href: string;
215 htmlType: "button" | "reset" | "submit";
216 } & {
217 icon?: import("../_util/type").VueNode;
218 block?: boolean;
219 disabled?: boolean;
220 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
221 loading?: boolean | {
222 [key: string]: any;
223 };
224 shape?: "circle" | "round" | "circle-outline";
225 ghost?: boolean;
226 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "icon" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "block" | "disabled" | "type" | "loading" | "shape" | "ghost">;
227 $attrs: Record<string, unknown>;
228 $refs: Record<string, unknown>;
229 $slots: Readonly<{
230 [name: string]: import("vue").Slot;
231 }>;
232 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
233 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
234 $emit: (event: string, ...args: any[]) => void;
235 $el: any;
236 $options: import("vue").ComponentOptionsBase<Readonly<{
237 title: string;
238 onClick: (...args: any[]) => any;
239 prefixCls: string;
240 size: "default" | "small" | "large";
241 href: string;
242 htmlType: "button" | "reset" | "submit";
243 } & {
244 icon?: import("../_util/type").VueNode;
245 block?: boolean;
246 disabled?: boolean;
247 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
248 loading?: boolean | {
249 [key: string]: any;
250 };
251 shape?: "circle" | "round" | "circle-outline";
252 ghost?: boolean;
253 }>, {
254 configProvider: import("../config-provider").ConfigConsumerProps;
255 children: any[];
256 iconCom: any;
257 delayTimeout: any;
258 }, {
259 sizeMap: {
260 large: string;
261 small: string;
262 };
263 sLoading: boolean;
264 hasTwoCNChar: boolean;
265 }, {}, {
266 getClasses(): {
267 [x: string]: any;
268 };
269 fixTwoCNChar(): void;
270 handleClick(event: Event): void;
271 insertSpace(child: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
272 [key: string]: any;
273 }>, needInserted: boolean): JSX.Element;
274 isNeedInserted(): boolean;
275 }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
276 title: string;
277 onClick: (...args: any[]) => any;
278 prefixCls: string;
279 size: "default" | "small" | "large";
280 href: string;
281 htmlType: "button" | "reset" | "submit";
282 }>;
283 $forceUpdate: import("vue").ReactiveEffect<any>;
284 $nextTick: typeof import("vue").nextTick;
285 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
286 } & Readonly<{
287 title: string;
288 onClick: (...args: any[]) => any;
289 prefixCls: string;
290 size: "default" | "small" | "large";
291 href: string;
292 htmlType: "button" | "reset" | "submit";
293 } & {
294 icon?: import("../_util/type").VueNode;
295 block?: boolean;
296 disabled?: boolean;
297 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
298 loading?: boolean | {
299 [key: string]: any;
300 };
301 shape?: "circle" | "round" | "circle-outline";
302 ghost?: boolean;
303 }> & import("vue").ShallowUnwrapRef<{
304 configProvider: import("../config-provider").ConfigConsumerProps;
305 children: any[];
306 iconCom: any;
307 delayTimeout: any;
308 }> & {
309 sizeMap: {
310 large: string;
311 small: string;
312 };
313 sLoading: boolean;
314 hasTwoCNChar: boolean;
315 } & {} & {
316 getClasses(): {
317 [x: string]: any;
318 };
319 fixTwoCNChar(): void;
320 handleClick(event: Event): void;
321 insertSpace(child: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
322 [key: string]: any;
323 }>, needInserted: boolean): JSX.Element;
324 isNeedInserted(): boolean;
325 } & import("vue").ComponentCustomProperties;
326 __isFragment?: never;
327 __isTeleport?: never;
328 __isSuspense?: never;
329} & import("vue").ComponentOptionsBase<Readonly<{
330 title: string;
331 onClick: (...args: any[]) => any;
332 prefixCls: string;
333 size: "default" | "small" | "large";
334 href: string;
335 htmlType: "button" | "reset" | "submit";
336} & {
337 icon?: import("../_util/type").VueNode;
338 block?: boolean;
339 disabled?: boolean;
340 type?: "default" | "link" | "dashed" | "primary" | "ghost" | "danger";
341 loading?: boolean | {
342 [key: string]: any;
343 };
344 shape?: "circle" | "round" | "circle-outline";
345 ghost?: boolean;
346}>, {
347 configProvider: import("../config-provider").ConfigConsumerProps;
348 children: any[];
349 iconCom: any;
350 delayTimeout: any;
351}, {
352 sizeMap: {
353 large: string;
354 small: string;
355 };
356 sLoading: boolean;
357 hasTwoCNChar: boolean;
358}, {}, {
359 getClasses(): {
360 [x: string]: any;
361 };
362 fixTwoCNChar(): void;
363 handleClick(event: Event): void;
364 insertSpace(child: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
365 [key: string]: any;
366 }>, needInserted: boolean): JSX.Element;
367 isNeedInserted(): boolean;
368}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
369 title: string;
370 onClick: (...args: any[]) => any;
371 prefixCls: string;
372 size: "default" | "small" | "large";
373 href: string;
374 htmlType: "button" | "reset" | "submit";
375}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
376 install: (app: App<any>, ...options: any[]) => any;
377} & {
378 readonly Group: typeof ButtonGroup;
379});
380export default _default;