1 | import { type ExtractPropTypes, type InjectionKey } from 'vue';
|
2 | import { SwipeProvide } from './types';
|
3 | export declare const swipeProps: {
|
4 | loop: {
|
5 | type: BooleanConstructor;
|
6 | default: true;
|
7 | };
|
8 | width: (NumberConstructor | StringConstructor)[];
|
9 | height: (NumberConstructor | StringConstructor)[];
|
10 | vertical: BooleanConstructor;
|
11 | autoplay: {
|
12 | type: (NumberConstructor | StringConstructor)[];
|
13 | default: number;
|
14 | };
|
15 | duration: {
|
16 | type: (NumberConstructor | StringConstructor)[];
|
17 | default: number;
|
18 | };
|
19 | touchable: {
|
20 | type: BooleanConstructor;
|
21 | default: true;
|
22 | };
|
23 | lazyRender: BooleanConstructor;
|
24 | initialSwipe: {
|
25 | type: (NumberConstructor | StringConstructor)[];
|
26 | default: number;
|
27 | };
|
28 | indicatorColor: StringConstructor;
|
29 | showIndicators: {
|
30 | type: BooleanConstructor;
|
31 | default: true;
|
32 | };
|
33 | stopPropagation: {
|
34 | type: BooleanConstructor;
|
35 | default: true;
|
36 | };
|
37 | };
|
38 | export type SwipeProps = ExtractPropTypes<typeof swipeProps>;
|
39 | export declare const SWIPE_KEY: InjectionKey<SwipeProvide>;
|
40 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
41 | loop: {
|
42 | type: BooleanConstructor;
|
43 | default: true;
|
44 | };
|
45 | width: (NumberConstructor | StringConstructor)[];
|
46 | height: (NumberConstructor | StringConstructor)[];
|
47 | vertical: BooleanConstructor;
|
48 | autoplay: {
|
49 | type: (NumberConstructor | StringConstructor)[];
|
50 | default: number;
|
51 | };
|
52 | duration: {
|
53 | type: (NumberConstructor | StringConstructor)[];
|
54 | default: number;
|
55 | };
|
56 | touchable: {
|
57 | type: BooleanConstructor;
|
58 | default: true;
|
59 | };
|
60 | lazyRender: BooleanConstructor;
|
61 | initialSwipe: {
|
62 | type: (NumberConstructor | StringConstructor)[];
|
63 | default: number;
|
64 | };
|
65 | indicatorColor: StringConstructor;
|
66 | showIndicators: {
|
67 | type: BooleanConstructor;
|
68 | default: true;
|
69 | };
|
70 | stopPropagation: {
|
71 | type: BooleanConstructor;
|
72 | default: true;
|
73 | };
|
74 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "dragStart" | "dragEnd")[], "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
75 | loop: {
|
76 | type: BooleanConstructor;
|
77 | default: true;
|
78 | };
|
79 | width: (NumberConstructor | StringConstructor)[];
|
80 | height: (NumberConstructor | StringConstructor)[];
|
81 | vertical: BooleanConstructor;
|
82 | autoplay: {
|
83 | type: (NumberConstructor | StringConstructor)[];
|
84 | default: number;
|
85 | };
|
86 | duration: {
|
87 | type: (NumberConstructor | StringConstructor)[];
|
88 | default: number;
|
89 | };
|
90 | touchable: {
|
91 | type: BooleanConstructor;
|
92 | default: true;
|
93 | };
|
94 | lazyRender: BooleanConstructor;
|
95 | initialSwipe: {
|
96 | type: (NumberConstructor | StringConstructor)[];
|
97 | default: number;
|
98 | };
|
99 | indicatorColor: StringConstructor;
|
100 | showIndicators: {
|
101 | type: BooleanConstructor;
|
102 | default: true;
|
103 | };
|
104 | stopPropagation: {
|
105 | type: BooleanConstructor;
|
106 | default: true;
|
107 | };
|
108 | }>> & Readonly<{
|
109 | onChange?: ((...args: any[]) => any) | undefined;
|
110 | onDragStart?: ((...args: any[]) => any) | undefined;
|
111 | onDragEnd?: ((...args: any[]) => any) | undefined;
|
112 | }>, {
|
113 | autoplay: string | number;
|
114 | loop: boolean;
|
115 | vertical: boolean;
|
116 | duration: string | number;
|
117 | lazyRender: boolean;
|
118 | touchable: boolean;
|
119 | initialSwipe: string | number;
|
120 | showIndicators: boolean;
|
121 | stopPropagation: boolean;
|
122 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
123 | export default _default;
|
124 |
|
\ | No newline at end of file |