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