UNPKG

2.46 kBTypeScriptView Raw
1import { DropdownMenuProps } from './DropdownMenu';
2export declare const DropdownMenu: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 overlay: {
4 type: BooleanConstructor;
5 default: true;
6 };
7 zIndex: (NumberConstructor | StringConstructor)[];
8 duration: {
9 type: (NumberConstructor | StringConstructor)[];
10 default: number;
11 };
12 direction: {
13 type: import("vue").PropType<import("./types").DropdownMenuDirection>;
14 default: import("./types").DropdownMenuDirection;
15 };
16 activeColor: StringConstructor;
17 autoLocate: BooleanConstructor;
18 closeOnClickOutside: {
19 type: BooleanConstructor;
20 default: true;
21 };
22 closeOnClickOverlay: {
23 type: BooleanConstructor;
24 default: true;
25 };
26 swipeThreshold: (NumberConstructor | StringConstructor)[];
27}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28 overlay: {
29 type: BooleanConstructor;
30 default: true;
31 };
32 zIndex: (NumberConstructor | StringConstructor)[];
33 duration: {
34 type: (NumberConstructor | StringConstructor)[];
35 default: number;
36 };
37 direction: {
38 type: import("vue").PropType<import("./types").DropdownMenuDirection>;
39 default: import("./types").DropdownMenuDirection;
40 };
41 activeColor: StringConstructor;
42 autoLocate: BooleanConstructor;
43 closeOnClickOutside: {
44 type: BooleanConstructor;
45 default: true;
46 };
47 closeOnClickOverlay: {
48 type: BooleanConstructor;
49 default: true;
50 };
51 swipeThreshold: (NumberConstructor | StringConstructor)[];
52}>> & Readonly<{}>, {
53 overlay: boolean;
54 duration: string | number;
55 closeOnClickOverlay: boolean;
56 direction: import("./types").DropdownMenuDirection;
57 autoLocate: boolean;
58 closeOnClickOutside: boolean;
59}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
60export default DropdownMenu;
61export { dropdownMenuProps } from './DropdownMenu';
62export type { DropdownMenuProps };
63export type { DropdownMenuInstance, DropdownMenuDirection, DropdownMenuThemeVars, } from './types';
64declare module 'vue' {
65 interface GlobalComponents {
66 VanDropdownMenu: typeof DropdownMenu;
67 }
68}