1 | import { type InjectionKey, type ExtractPropTypes } from 'vue';
|
2 | import type { DropdownMenuProvide, DropdownMenuDirection } from './types';
|
3 | export declare const dropdownMenuProps: {
|
4 | overlay: {
|
5 | type: BooleanConstructor;
|
6 | default: true;
|
7 | };
|
8 | zIndex: (NumberConstructor | StringConstructor)[];
|
9 | duration: {
|
10 | type: (NumberConstructor | StringConstructor)[];
|
11 | default: number;
|
12 | };
|
13 | direction: {
|
14 | type: import("vue").PropType<DropdownMenuDirection>;
|
15 | default: DropdownMenuDirection;
|
16 | };
|
17 | activeColor: StringConstructor;
|
18 | autoLocate: BooleanConstructor;
|
19 | closeOnClickOutside: {
|
20 | type: BooleanConstructor;
|
21 | default: true;
|
22 | };
|
23 | closeOnClickOverlay: {
|
24 | type: BooleanConstructor;
|
25 | default: true;
|
26 | };
|
27 | swipeThreshold: (NumberConstructor | StringConstructor)[];
|
28 | };
|
29 | export type DropdownMenuProps = ExtractPropTypes<typeof dropdownMenuProps>;
|
30 | export declare const DROPDOWN_KEY: InjectionKey<DropdownMenuProvide>;
|
31 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
32 | overlay: {
|
33 | type: BooleanConstructor;
|
34 | default: true;
|
35 | };
|
36 | zIndex: (NumberConstructor | StringConstructor)[];
|
37 | duration: {
|
38 | type: (NumberConstructor | StringConstructor)[];
|
39 | default: number;
|
40 | };
|
41 | direction: {
|
42 | type: import("vue").PropType<DropdownMenuDirection>;
|
43 | default: DropdownMenuDirection;
|
44 | };
|
45 | activeColor: StringConstructor;
|
46 | autoLocate: BooleanConstructor;
|
47 | closeOnClickOutside: {
|
48 | type: BooleanConstructor;
|
49 | default: true;
|
50 | };
|
51 | closeOnClickOverlay: {
|
52 | type: BooleanConstructor;
|
53 | default: true;
|
54 | };
|
55 | swipeThreshold: (NumberConstructor | StringConstructor)[];
|
56 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
57 | overlay: {
|
58 | type: BooleanConstructor;
|
59 | default: true;
|
60 | };
|
61 | zIndex: (NumberConstructor | StringConstructor)[];
|
62 | duration: {
|
63 | type: (NumberConstructor | StringConstructor)[];
|
64 | default: number;
|
65 | };
|
66 | direction: {
|
67 | type: import("vue").PropType<DropdownMenuDirection>;
|
68 | default: DropdownMenuDirection;
|
69 | };
|
70 | activeColor: StringConstructor;
|
71 | autoLocate: BooleanConstructor;
|
72 | closeOnClickOutside: {
|
73 | type: BooleanConstructor;
|
74 | default: true;
|
75 | };
|
76 | closeOnClickOverlay: {
|
77 | type: BooleanConstructor;
|
78 | default: true;
|
79 | };
|
80 | swipeThreshold: (NumberConstructor | StringConstructor)[];
|
81 | }>> & Readonly<{}>, {
|
82 | overlay: boolean;
|
83 | duration: string | number;
|
84 | closeOnClickOverlay: boolean;
|
85 | direction: DropdownMenuDirection;
|
86 | autoLocate: boolean;
|
87 | closeOnClickOutside: boolean;
|
88 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
89 | export default _default;
|