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