UNPKG

2.55 kBTypeScriptView Raw
1export declare const FloatingBubble: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 gap: {
3 type: NumberConstructor;
4 default: number;
5 };
6 icon: StringConstructor;
7 axis: {
8 type: import("vue").PropType<import("./types").FloatingBubbleAxis>;
9 default: import("./types").FloatingBubbleAxis;
10 };
11 magnetic: import("vue").PropType<import("./types").FloatingBubbleMagnetic>;
12 offset: {
13 type: import("vue").PropType<import("./types").FloatingBubbleOffset>;
14 default: () => {
15 x: number;
16 y: number;
17 };
18 };
19 teleport: {
20 type: import("vue").PropType<import("vue").TeleportProps["to"]>;
21 default: string;
22 };
23}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:offset" | "offsetChange")[], "click" | "update:offset" | "offsetChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24 gap: {
25 type: NumberConstructor;
26 default: number;
27 };
28 icon: StringConstructor;
29 axis: {
30 type: import("vue").PropType<import("./types").FloatingBubbleAxis>;
31 default: import("./types").FloatingBubbleAxis;
32 };
33 magnetic: import("vue").PropType<import("./types").FloatingBubbleMagnetic>;
34 offset: {
35 type: import("vue").PropType<import("./types").FloatingBubbleOffset>;
36 default: () => {
37 x: number;
38 y: number;
39 };
40 };
41 teleport: {
42 type: import("vue").PropType<import("vue").TeleportProps["to"]>;
43 default: string;
44 };
45}>> & Readonly<{
46 onClick?: ((...args: any[]) => any) | undefined;
47 "onUpdate:offset"?: ((...args: any[]) => any) | undefined;
48 onOffsetChange?: ((...args: any[]) => any) | undefined;
49}>, {
50 offset: import("./types").FloatingBubbleOffset;
51 teleport: string | import("vue").RendererElement | null | undefined;
52 gap: number;
53 axis: import("./types").FloatingBubbleAxis;
54}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
55export default FloatingBubble;
56export { floatingBubbleProps } from './FloatingBubble';
57export type { FloatingBubbleProps } from './FloatingBubble';
58export type { FloatingBubbleThemeVars, FloatingBubbleAxis, FloatingBubbleMagnetic, FloatingBubbleOffset, } from './types';
59declare module 'vue' {
60 interface GlobalComponents {
61 VanFloatingBubble: typeof FloatingBubble;
62 }
63}
64
\No newline at end of file