UNPKG

2.5 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2export declare const floatingPanelProps: {
3 height: {
4 type: (NumberConstructor | StringConstructor)[];
5 default: number;
6 };
7 anchors: {
8 type: import("vue").PropType<number[]>;
9 default: () => never[];
10 };
11 duration: {
12 type: (NumberConstructor | StringConstructor)[];
13 default: number;
14 };
15 contentDraggable: {
16 type: BooleanConstructor;
17 default: true;
18 };
19 lockScroll: BooleanConstructor;
20 safeAreaInsetBottom: {
21 type: BooleanConstructor;
22 default: true;
23 };
24};
25export type FloatingPanelProps = ExtractPropTypes<typeof floatingPanelProps>;
26declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
27 height: {
28 type: (NumberConstructor | StringConstructor)[];
29 default: number;
30 };
31 anchors: {
32 type: import("vue").PropType<number[]>;
33 default: () => never[];
34 };
35 duration: {
36 type: (NumberConstructor | StringConstructor)[];
37 default: number;
38 };
39 contentDraggable: {
40 type: BooleanConstructor;
41 default: true;
42 };
43 lockScroll: BooleanConstructor;
44 safeAreaInsetBottom: {
45 type: BooleanConstructor;
46 default: true;
47 };
48}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("heightChange" | "update:height")[], "heightChange" | "update:height", import("vue").PublicProps, Readonly<ExtractPropTypes<{
49 height: {
50 type: (NumberConstructor | StringConstructor)[];
51 default: number;
52 };
53 anchors: {
54 type: import("vue").PropType<number[]>;
55 default: () => never[];
56 };
57 duration: {
58 type: (NumberConstructor | StringConstructor)[];
59 default: number;
60 };
61 contentDraggable: {
62 type: BooleanConstructor;
63 default: true;
64 };
65 lockScroll: BooleanConstructor;
66 safeAreaInsetBottom: {
67 type: BooleanConstructor;
68 default: true;
69 };
70}>> & Readonly<{
71 onHeightChange?: ((...args: any[]) => any) | undefined;
72 "onUpdate:height"?: ((...args: any[]) => any) | undefined;
73}>, {
74 height: string | number;
75 safeAreaInsetBottom: boolean;
76 duration: string | number;
77 lockScroll: boolean;
78 anchors: number[];
79 contentDraggable: boolean;
80}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81export default _default;
82
\No newline at end of file