1 | import { type PropType, type CSSProperties, type TeleportProps, type ExtractPropTypes } from 'vue';
|
2 | import { PopoverTheme, PopoverAction, PopoverActionsDirection, PopoverTrigger, PopoverPlacement } from './types';
|
3 | export declare const popoverProps: {
|
4 | show: BooleanConstructor;
|
5 | theme: {
|
6 | type: PropType<PopoverTheme>;
|
7 | default: PopoverTheme;
|
8 | };
|
9 | overlay: BooleanConstructor;
|
10 | actions: {
|
11 | type: PropType<PopoverAction[]>;
|
12 | default: () => never[];
|
13 | };
|
14 | actionsDirection: {
|
15 | type: PropType<PopoverActionsDirection>;
|
16 | default: PopoverActionsDirection;
|
17 | };
|
18 | trigger: {
|
19 | type: PropType<PopoverTrigger>;
|
20 | default: PopoverTrigger;
|
21 | };
|
22 | duration: (NumberConstructor | StringConstructor)[];
|
23 | showArrow: {
|
24 | type: BooleanConstructor;
|
25 | default: true;
|
26 | };
|
27 | placement: {
|
28 | type: PropType<PopoverPlacement>;
|
29 | default: PopoverPlacement;
|
30 | };
|
31 | iconPrefix: StringConstructor;
|
32 | overlayClass: PropType<unknown>;
|
33 | overlayStyle: PropType<CSSProperties>;
|
34 | closeOnClickAction: {
|
35 | type: BooleanConstructor;
|
36 | default: true;
|
37 | };
|
38 | closeOnClickOverlay: {
|
39 | type: BooleanConstructor;
|
40 | default: true;
|
41 | };
|
42 | closeOnClickOutside: {
|
43 | type: BooleanConstructor;
|
44 | default: true;
|
45 | };
|
46 | offset: {
|
47 | type: PropType<[number, number]>;
|
48 | default: () => number[];
|
49 | };
|
50 | teleport: {
|
51 | type: PropType<TeleportProps["to"]>;
|
52 | default: string;
|
53 | };
|
54 | };
|
55 | export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
|
56 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
57 | show: BooleanConstructor;
|
58 | theme: {
|
59 | type: PropType<PopoverTheme>;
|
60 | default: PopoverTheme;
|
61 | };
|
62 | overlay: BooleanConstructor;
|
63 | actions: {
|
64 | type: PropType<PopoverAction[]>;
|
65 | default: () => never[];
|
66 | };
|
67 | actionsDirection: {
|
68 | type: PropType<PopoverActionsDirection>;
|
69 | default: PopoverActionsDirection;
|
70 | };
|
71 | trigger: {
|
72 | type: PropType<PopoverTrigger>;
|
73 | default: PopoverTrigger;
|
74 | };
|
75 | duration: (NumberConstructor | StringConstructor)[];
|
76 | showArrow: {
|
77 | type: BooleanConstructor;
|
78 | default: true;
|
79 | };
|
80 | placement: {
|
81 | type: PropType<PopoverPlacement>;
|
82 | default: PopoverPlacement;
|
83 | };
|
84 | iconPrefix: StringConstructor;
|
85 | overlayClass: PropType<unknown>;
|
86 | overlayStyle: PropType<CSSProperties>;
|
87 | closeOnClickAction: {
|
88 | type: BooleanConstructor;
|
89 | default: true;
|
90 | };
|
91 | closeOnClickOverlay: {
|
92 | type: BooleanConstructor;
|
93 | default: true;
|
94 | };
|
95 | closeOnClickOutside: {
|
96 | type: BooleanConstructor;
|
97 | default: true;
|
98 | };
|
99 | offset: {
|
100 | type: PropType<[number, number]>;
|
101 | default: () => number[];
|
102 | };
|
103 | teleport: {
|
104 | type: PropType<TeleportProps["to"]>;
|
105 | default: string;
|
106 | };
|
107 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
108 | show: BooleanConstructor;
|
109 | theme: {
|
110 | type: PropType<PopoverTheme>;
|
111 | default: PopoverTheme;
|
112 | };
|
113 | overlay: BooleanConstructor;
|
114 | actions: {
|
115 | type: PropType<PopoverAction[]>;
|
116 | default: () => never[];
|
117 | };
|
118 | actionsDirection: {
|
119 | type: PropType<PopoverActionsDirection>;
|
120 | default: PopoverActionsDirection;
|
121 | };
|
122 | trigger: {
|
123 | type: PropType<PopoverTrigger>;
|
124 | default: PopoverTrigger;
|
125 | };
|
126 | duration: (NumberConstructor | StringConstructor)[];
|
127 | showArrow: {
|
128 | type: BooleanConstructor;
|
129 | default: true;
|
130 | };
|
131 | placement: {
|
132 | type: PropType<PopoverPlacement>;
|
133 | default: PopoverPlacement;
|
134 | };
|
135 | iconPrefix: StringConstructor;
|
136 | overlayClass: PropType<unknown>;
|
137 | overlayStyle: PropType<CSSProperties>;
|
138 | closeOnClickAction: {
|
139 | type: BooleanConstructor;
|
140 | default: true;
|
141 | };
|
142 | closeOnClickOverlay: {
|
143 | type: BooleanConstructor;
|
144 | default: true;
|
145 | };
|
146 | closeOnClickOutside: {
|
147 | type: BooleanConstructor;
|
148 | default: true;
|
149 | };
|
150 | offset: {
|
151 | type: PropType<[number, number]>;
|
152 | default: () => number[];
|
153 | };
|
154 | teleport: {
|
155 | type: PropType<TeleportProps["to"]>;
|
156 | default: string;
|
157 | };
|
158 | }>> & Readonly<{
|
159 | onSelect?: ((...args: any[]) => any) | undefined;
|
160 | onTouchstart?: ((...args: any[]) => any) | undefined;
|
161 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
162 | }>, {
|
163 | offset: [number, number];
|
164 | theme: PopoverTheme;
|
165 | overlay: boolean;
|
166 | show: boolean;
|
167 | teleport: string | import("vue").RendererElement | null | undefined;
|
168 | closeOnClickOverlay: boolean;
|
169 | actions: PopoverAction[];
|
170 | closeOnClickAction: boolean;
|
171 | closeOnClickOutside: boolean;
|
172 | actionsDirection: PopoverActionsDirection;
|
173 | trigger: PopoverTrigger;
|
174 | showArrow: boolean;
|
175 | placement: PopoverPlacement;
|
176 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
177 | export default _default;
|
178 |
|
\ | No newline at end of file |