@progress/kendo-vue-scrollview 5.3.0-dev.202409130647 → 5.3.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -22
- package/ScrollView.js +8 -0
- package/ScrollView.mjs +191 -0
- package/dist/cdn/js/kendo-vue-scrollview.js +8 -1
- package/index.d.mts +224 -0
- package/index.d.ts +224 -0
- package/index.js +8 -0
- package/index.mjs +11 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +18 -0
- package/package.json +24 -43
- package/dist/es/ScrollView.d.ts +0 -115
- package/dist/es/ScrollView.js +0 -353
- package/dist/es/ScrollViewProps.d.ts +0 -54
- package/dist/es/ScrollViewProps.js +0 -1
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/main.d.ts +0 -2
- package/dist/es/main.js +0 -2
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/esm/ScrollView.d.ts +0 -115
- package/dist/esm/ScrollView.js +0 -353
- package/dist/esm/ScrollViewProps.d.ts +0 -54
- package/dist/esm/ScrollViewProps.js +0 -1
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/main.d.ts +0 -2
- package/dist/esm/main.js +0 -2
- package/dist/esm/package-metadata.d.ts +0 -5
- package/dist/esm/package-metadata.js +0 -11
- package/dist/esm/package.json +0 -3
- package/dist/npm/ScrollView.d.ts +0 -115
- package/dist/npm/ScrollView.js +0 -360
- package/dist/npm/ScrollViewProps.d.ts +0 -54
- package/dist/npm/ScrollViewProps.js +0 -5
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/main.d.ts +0 -2
- package/dist/npm/main.js +0 -18
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
package/index.d.mts
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
9
|
+
import { ComponentProvideOptions } from 'vue';
|
|
10
|
+
import { DefineComponent } from 'vue';
|
|
11
|
+
import { ExtractPropTypes } from 'vue';
|
|
12
|
+
import { PropType } from 'vue';
|
|
13
|
+
import { PublicProps } from 'vue';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* Represents the [Kendo UI for Vue Native ScrollView component]({% slug overview_scrollview %}).
|
|
18
|
+
*
|
|
19
|
+
* ```jsx
|
|
20
|
+
* <template>
|
|
21
|
+
* <div>
|
|
22
|
+
* <ScrollView
|
|
23
|
+
* :style="{
|
|
24
|
+
* width: '512px',
|
|
25
|
+
* height: '384px',
|
|
26
|
+
* }"
|
|
27
|
+
* :data-items="items"
|
|
28
|
+
* :content="'content'"
|
|
29
|
+
* >
|
|
30
|
+
* <template v-slot:content="{ props }">
|
|
31
|
+
* <div class="image-with-text">
|
|
32
|
+
* <img
|
|
33
|
+
* :src="props.item.url"
|
|
34
|
+
* :alt="`Photo ${props.item.position}`"
|
|
35
|
+
* :style="{
|
|
36
|
+
* width: '512px',
|
|
37
|
+
* height: '384px',
|
|
38
|
+
* }"
|
|
39
|
+
* :draggable="false"
|
|
40
|
+
* />
|
|
41
|
+
* </div>
|
|
42
|
+
* </template>
|
|
43
|
+
* </ScrollView>
|
|
44
|
+
* </div>
|
|
45
|
+
* </template>
|
|
46
|
+
*
|
|
47
|
+
* <script>
|
|
48
|
+
* import { ScrollView } from '@progress/kendo-vue-scrollview';
|
|
49
|
+
*
|
|
50
|
+
* export default {
|
|
51
|
+
* components: {
|
|
52
|
+
* ScrollView,
|
|
53
|
+
* },
|
|
54
|
+
* data() {
|
|
55
|
+
* return {
|
|
56
|
+
* items: [
|
|
57
|
+
* {
|
|
58
|
+
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/kukeri.jpg',
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/martenitsa.jpg',
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/rose_festival.jpg',
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* };
|
|
68
|
+
* },
|
|
69
|
+
* };
|
|
70
|
+
* </script>
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare const ScrollView: DefineComponent<ExtractPropTypes< {
|
|
74
|
+
activeView: {
|
|
75
|
+
type: PropType<number>;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
dataItems: {
|
|
79
|
+
type: PropType<any[]>;
|
|
80
|
+
default: () => any[];
|
|
81
|
+
};
|
|
82
|
+
arrows: {
|
|
83
|
+
type: PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
automaticViewChange: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
automaticViewChangeInterval: {
|
|
91
|
+
type: PropType<number>;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
content: PropType<any>;
|
|
95
|
+
dir: PropType<string>;
|
|
96
|
+
endless: PropType<boolean>;
|
|
97
|
+
pageable: {
|
|
98
|
+
type: PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
pagerOverlay: {
|
|
102
|
+
type: PropType<string>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
}>, {}, {
|
|
106
|
+
active: number;
|
|
107
|
+
currentDir: any;
|
|
108
|
+
}, {
|
|
109
|
+
scrollViewClasses(): {
|
|
110
|
+
'k-scrollview': boolean;
|
|
111
|
+
'k-scrollview-light': boolean;
|
|
112
|
+
'k-scrollview-dark': boolean;
|
|
113
|
+
};
|
|
114
|
+
displayLeftArrow(): boolean;
|
|
115
|
+
displayRightArrow(): boolean;
|
|
116
|
+
isRtl(): boolean;
|
|
117
|
+
}, {
|
|
118
|
+
runAutomaticChange(): void;
|
|
119
|
+
resetTimeout(): void;
|
|
120
|
+
setActive(value: number): void;
|
|
121
|
+
focusElement(): void;
|
|
122
|
+
prev(): void;
|
|
123
|
+
next(): void;
|
|
124
|
+
handlePrevClick(): void;
|
|
125
|
+
handleNextClick(): void;
|
|
126
|
+
handleKeyDown(event: any): void;
|
|
127
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
128
|
+
activeView: {
|
|
129
|
+
type: PropType<number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
|
+
dataItems: {
|
|
133
|
+
type: PropType<any[]>;
|
|
134
|
+
default: () => any[];
|
|
135
|
+
};
|
|
136
|
+
arrows: {
|
|
137
|
+
type: PropType<boolean>;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
automaticViewChange: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
automaticViewChangeInterval: {
|
|
145
|
+
type: PropType<number>;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
content: PropType<any>;
|
|
149
|
+
dir: PropType<string>;
|
|
150
|
+
endless: PropType<boolean>;
|
|
151
|
+
pageable: {
|
|
152
|
+
type: PropType<boolean>;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
pagerOverlay: {
|
|
156
|
+
type: PropType<string>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
}>> & Readonly<{}>, {
|
|
160
|
+
activeView: number;
|
|
161
|
+
dataItems: any[];
|
|
162
|
+
arrows: boolean;
|
|
163
|
+
automaticViewChangeInterval: number;
|
|
164
|
+
pageable: boolean;
|
|
165
|
+
pagerOverlay: string;
|
|
166
|
+
automaticViewChange: boolean;
|
|
167
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Represents the props of the [Kendo UI for Vue ScrollView component]({% slug overview_scrollview %}).
|
|
171
|
+
*/
|
|
172
|
+
export declare interface ScrollViewProps {
|
|
173
|
+
/**
|
|
174
|
+
* Represents the current active view ([see example]({% slug activeview_scrollview %})). Defaults to `1`.
|
|
175
|
+
*/
|
|
176
|
+
activeView?: number;
|
|
177
|
+
/**
|
|
178
|
+
* Enables or disables the built-in navigation arrows ([see example]({% slug arrows_scrollview %})). Defaults to `true`.
|
|
179
|
+
*/
|
|
180
|
+
arrows?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Allows the ScrollView to switch the next page automatically after a short delay ([see example]({% slug automatic_scrolling_scrollview %})).
|
|
183
|
+
* Defaults to `true`.
|
|
184
|
+
*/
|
|
185
|
+
automaticViewChange?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Defines the automatic page change delay in milliseconds ([see example]({% slug automatic_scrolling_scrollview %})).
|
|
188
|
+
* Defaults to `5000`.
|
|
189
|
+
*/
|
|
190
|
+
automaticViewChangeInterval?: number;
|
|
191
|
+
/**
|
|
192
|
+
* Content Template for the ScrollView items.
|
|
193
|
+
*/
|
|
194
|
+
content?: any;
|
|
195
|
+
/**
|
|
196
|
+
* An array of the items that are passed to the ScrollView component.
|
|
197
|
+
*/
|
|
198
|
+
dataItems?: any[];
|
|
199
|
+
/**
|
|
200
|
+
* Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
|
|
201
|
+
*/
|
|
202
|
+
dir?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Toggles the endless scrolling mode in which the data items are endlessly looped
|
|
205
|
+
* ([see example]({% slug endlessscrolling_scrollview %})). Defaults to `false`.
|
|
206
|
+
*/
|
|
207
|
+
endless?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Toggles the built-in pager ([see example]({% slug paging_scrollview %})). Defaults to `true`.
|
|
210
|
+
*/
|
|
211
|
+
pageable?: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Sets the pager overlay ([see example]({% slug paging_scrollview %})).
|
|
214
|
+
*
|
|
215
|
+
* * The possible values are:
|
|
216
|
+
* * `none`(Default) — No overlay is set.
|
|
217
|
+
* * `dark` — Dark overlay is set.
|
|
218
|
+
* * `light` — Light overlay is set.
|
|
219
|
+
*
|
|
220
|
+
*/
|
|
221
|
+
pagerOverlay?: 'dark' | 'light' | 'none' | string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export { }
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
9
|
+
import { ComponentProvideOptions } from 'vue';
|
|
10
|
+
import { DefineComponent } from 'vue';
|
|
11
|
+
import { ExtractPropTypes } from 'vue';
|
|
12
|
+
import { PropType } from 'vue';
|
|
13
|
+
import { PublicProps } from 'vue';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* Represents the [Kendo UI for Vue Native ScrollView component]({% slug overview_scrollview %}).
|
|
18
|
+
*
|
|
19
|
+
* ```jsx
|
|
20
|
+
* <template>
|
|
21
|
+
* <div>
|
|
22
|
+
* <ScrollView
|
|
23
|
+
* :style="{
|
|
24
|
+
* width: '512px',
|
|
25
|
+
* height: '384px',
|
|
26
|
+
* }"
|
|
27
|
+
* :data-items="items"
|
|
28
|
+
* :content="'content'"
|
|
29
|
+
* >
|
|
30
|
+
* <template v-slot:content="{ props }">
|
|
31
|
+
* <div class="image-with-text">
|
|
32
|
+
* <img
|
|
33
|
+
* :src="props.item.url"
|
|
34
|
+
* :alt="`Photo ${props.item.position}`"
|
|
35
|
+
* :style="{
|
|
36
|
+
* width: '512px',
|
|
37
|
+
* height: '384px',
|
|
38
|
+
* }"
|
|
39
|
+
* :draggable="false"
|
|
40
|
+
* />
|
|
41
|
+
* </div>
|
|
42
|
+
* </template>
|
|
43
|
+
* </ScrollView>
|
|
44
|
+
* </div>
|
|
45
|
+
* </template>
|
|
46
|
+
*
|
|
47
|
+
* <script>
|
|
48
|
+
* import { ScrollView } from '@progress/kendo-vue-scrollview';
|
|
49
|
+
*
|
|
50
|
+
* export default {
|
|
51
|
+
* components: {
|
|
52
|
+
* ScrollView,
|
|
53
|
+
* },
|
|
54
|
+
* data() {
|
|
55
|
+
* return {
|
|
56
|
+
* items: [
|
|
57
|
+
* {
|
|
58
|
+
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/kukeri.jpg',
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/martenitsa.jpg',
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/rose_festival.jpg',
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* };
|
|
68
|
+
* },
|
|
69
|
+
* };
|
|
70
|
+
* </script>
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare const ScrollView: DefineComponent<ExtractPropTypes< {
|
|
74
|
+
activeView: {
|
|
75
|
+
type: PropType<number>;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
dataItems: {
|
|
79
|
+
type: PropType<any[]>;
|
|
80
|
+
default: () => any[];
|
|
81
|
+
};
|
|
82
|
+
arrows: {
|
|
83
|
+
type: PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
automaticViewChange: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
automaticViewChangeInterval: {
|
|
91
|
+
type: PropType<number>;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
content: PropType<any>;
|
|
95
|
+
dir: PropType<string>;
|
|
96
|
+
endless: PropType<boolean>;
|
|
97
|
+
pageable: {
|
|
98
|
+
type: PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
pagerOverlay: {
|
|
102
|
+
type: PropType<string>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
}>, {}, {
|
|
106
|
+
active: number;
|
|
107
|
+
currentDir: any;
|
|
108
|
+
}, {
|
|
109
|
+
scrollViewClasses(): {
|
|
110
|
+
'k-scrollview': boolean;
|
|
111
|
+
'k-scrollview-light': boolean;
|
|
112
|
+
'k-scrollview-dark': boolean;
|
|
113
|
+
};
|
|
114
|
+
displayLeftArrow(): boolean;
|
|
115
|
+
displayRightArrow(): boolean;
|
|
116
|
+
isRtl(): boolean;
|
|
117
|
+
}, {
|
|
118
|
+
runAutomaticChange(): void;
|
|
119
|
+
resetTimeout(): void;
|
|
120
|
+
setActive(value: number): void;
|
|
121
|
+
focusElement(): void;
|
|
122
|
+
prev(): void;
|
|
123
|
+
next(): void;
|
|
124
|
+
handlePrevClick(): void;
|
|
125
|
+
handleNextClick(): void;
|
|
126
|
+
handleKeyDown(event: any): void;
|
|
127
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
128
|
+
activeView: {
|
|
129
|
+
type: PropType<number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
|
+
dataItems: {
|
|
133
|
+
type: PropType<any[]>;
|
|
134
|
+
default: () => any[];
|
|
135
|
+
};
|
|
136
|
+
arrows: {
|
|
137
|
+
type: PropType<boolean>;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
automaticViewChange: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
automaticViewChangeInterval: {
|
|
145
|
+
type: PropType<number>;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
content: PropType<any>;
|
|
149
|
+
dir: PropType<string>;
|
|
150
|
+
endless: PropType<boolean>;
|
|
151
|
+
pageable: {
|
|
152
|
+
type: PropType<boolean>;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
pagerOverlay: {
|
|
156
|
+
type: PropType<string>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
}>> & Readonly<{}>, {
|
|
160
|
+
activeView: number;
|
|
161
|
+
dataItems: any[];
|
|
162
|
+
arrows: boolean;
|
|
163
|
+
automaticViewChangeInterval: number;
|
|
164
|
+
pageable: boolean;
|
|
165
|
+
pagerOverlay: string;
|
|
166
|
+
automaticViewChange: boolean;
|
|
167
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Represents the props of the [Kendo UI for Vue ScrollView component]({% slug overview_scrollview %}).
|
|
171
|
+
*/
|
|
172
|
+
export declare interface ScrollViewProps {
|
|
173
|
+
/**
|
|
174
|
+
* Represents the current active view ([see example]({% slug activeview_scrollview %})). Defaults to `1`.
|
|
175
|
+
*/
|
|
176
|
+
activeView?: number;
|
|
177
|
+
/**
|
|
178
|
+
* Enables or disables the built-in navigation arrows ([see example]({% slug arrows_scrollview %})). Defaults to `true`.
|
|
179
|
+
*/
|
|
180
|
+
arrows?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Allows the ScrollView to switch the next page automatically after a short delay ([see example]({% slug automatic_scrolling_scrollview %})).
|
|
183
|
+
* Defaults to `true`.
|
|
184
|
+
*/
|
|
185
|
+
automaticViewChange?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Defines the automatic page change delay in milliseconds ([see example]({% slug automatic_scrolling_scrollview %})).
|
|
188
|
+
* Defaults to `5000`.
|
|
189
|
+
*/
|
|
190
|
+
automaticViewChangeInterval?: number;
|
|
191
|
+
/**
|
|
192
|
+
* Content Template for the ScrollView items.
|
|
193
|
+
*/
|
|
194
|
+
content?: any;
|
|
195
|
+
/**
|
|
196
|
+
* An array of the items that are passed to the ScrollView component.
|
|
197
|
+
*/
|
|
198
|
+
dataItems?: any[];
|
|
199
|
+
/**
|
|
200
|
+
* Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
|
|
201
|
+
*/
|
|
202
|
+
dir?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Toggles the endless scrolling mode in which the data items are endlessly looped
|
|
205
|
+
* ([see example]({% slug endlessscrolling_scrollview %})). Defaults to `false`.
|
|
206
|
+
*/
|
|
207
|
+
endless?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Toggles the built-in pager ([see example]({% slug paging_scrollview %})). Defaults to `true`.
|
|
210
|
+
*/
|
|
211
|
+
pageable?: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Sets the pager overlay ([see example]({% slug paging_scrollview %})).
|
|
214
|
+
*
|
|
215
|
+
* * The possible values are:
|
|
216
|
+
* * `none`(Default) — No overlay is set.
|
|
217
|
+
* * `dark` — Dark overlay is set.
|
|
218
|
+
* * `light` — Light overlay is set.
|
|
219
|
+
*
|
|
220
|
+
*/
|
|
221
|
+
pagerOverlay?: 'dark' | 'light' | 'none' | string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export { }
|
package/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ScrollView.js");exports.ScrollView=e.ScrollView;
|
package/index.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ScrollView as e } from "./ScrollView.mjs";
|
|
9
|
+
export {
|
|
10
|
+
e as ScrollView
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-scrollview",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
const e = {
|
|
9
|
+
name: "@progress/kendo-vue-scrollview",
|
|
10
|
+
productName: "Kendo UI for Vue",
|
|
11
|
+
productCodes: ["KENDOUIVUE", "KENDOUICOMPLETE"],
|
|
12
|
+
publishDate: 1731078001,
|
|
13
|
+
version: "",
|
|
14
|
+
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
e as packageMetadata
|
|
18
|
+
};
|
package/package.json
CHANGED
|
@@ -1,63 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-scrollview",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"types": "dist/npm/main.d.ts",
|
|
11
|
-
"module": "dist/es/main.js",
|
|
12
|
-
"jsnext:main": "dist/es/main.js",
|
|
3
|
+
"version": "5.3.0-develop.1",
|
|
4
|
+
"description": "TODO",
|
|
5
|
+
"author": "Progress",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-vue-ui",
|
|
8
|
+
"main": "./index.js",
|
|
9
|
+
"types": "./index.d.ts",
|
|
13
10
|
"exports": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./index.mjs",
|
|
13
|
+
"require": "./index.js"
|
|
14
|
+
}
|
|
18
15
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"@progress/kendo-licensing": "^1.3.4",
|
|
19
|
+
"@progress/kendo-vue-common": "5.3.0-develop.1",
|
|
20
|
+
"vue": "^3.0.2"
|
|
23
21
|
},
|
|
24
|
-
"
|
|
22
|
+
"dependencies": {},
|
|
25
23
|
"keywords": [
|
|
26
24
|
"Kendo UI",
|
|
27
25
|
"Vue",
|
|
28
26
|
"Progress",
|
|
29
|
-
"
|
|
30
|
-
"Kendo UI for Vue",
|
|
31
|
-
"vuejs",
|
|
27
|
+
"Scrollview",
|
|
32
28
|
"UI",
|
|
33
29
|
"components",
|
|
34
30
|
"Vue component",
|
|
35
31
|
"Telerik"
|
|
36
32
|
],
|
|
37
|
-
"peerDependencies": {
|
|
38
|
-
"@progress/kendo-licensing": "^1.3.0",
|
|
39
|
-
"@progress/kendo-svg-icons": "^3.0.0",
|
|
40
|
-
"vue": "^2.6.12 || ^3.0.2"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@progress/kendo-drawing": "^1.20.1",
|
|
44
|
-
"@progress/kendo-licensing": "^1.3.0",
|
|
45
|
-
"@progress/kendo-svg-icons": "^3.0.0",
|
|
46
|
-
"@progress/kendo-vue-animation": "5.3.0-dev.202409130647",
|
|
47
|
-
"@progress/kendo-vue-buttons": "5.3.0-dev.202409130647",
|
|
48
|
-
"@progress/kendo-vue-inputs": "5.3.0-dev.202409130647",
|
|
49
|
-
"@progress/kendo-vue-intl": "5.3.0-dev.202409130647"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@progress/kendo-vue-common": "5.3.0-dev.202409130647"
|
|
53
|
-
},
|
|
54
33
|
"@progress": {
|
|
55
|
-
"friendlyName": "
|
|
34
|
+
"friendlyName": "Scrollview",
|
|
56
35
|
"framework": "Kendo UI for Vue"
|
|
57
36
|
},
|
|
58
|
-
"author": "Progress",
|
|
59
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
60
37
|
"publishConfig": {
|
|
61
38
|
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/telerik/kendo-react.git"
|
|
62
43
|
}
|
|
63
|
-
}
|
|
44
|
+
}
|
package/dist/es/ScrollView.d.ts
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
3
|
-
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
|
-
declare type DefaultMethods<V> = {
|
|
5
|
-
[key: string]: (this: V, ...args: any[]) => any;
|
|
6
|
-
};
|
|
7
|
-
import { ScrollViewProps } from './ScrollViewProps';
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface ScrollViewHandle {
|
|
12
|
-
/**
|
|
13
|
-
* The ScrollView element.
|
|
14
|
-
*/
|
|
15
|
-
element: HTMLDivElement | null;
|
|
16
|
-
/**
|
|
17
|
-
* Focus the ScrollView.
|
|
18
|
-
*/
|
|
19
|
-
focus: () => void;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export interface ScrollViewState {
|
|
25
|
-
timeoutRef: any;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export interface ScrollViewComputed {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
scrollViewClasses: object;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
export interface ScrollViewMethods {
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
export interface ScrollViewData {
|
|
44
|
-
active: number;
|
|
45
|
-
currentDir?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
export interface ScrollViewAll extends Vue, ScrollViewMethods, ScrollViewData, ScrollViewComputed, ScrollViewState {
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
declare let ScrollViewVue2: ComponentOptions<ScrollViewAll, DefaultData<ScrollViewData>, DefaultMethods<ScrollViewAll>, ScrollViewComputed, RecordPropsDefinition<ScrollViewProps>>;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* Represents the [Kendo UI for Vue Native ScrollView component]({% slug overview_scrollview %}).
|
|
59
|
-
*
|
|
60
|
-
* ```jsx
|
|
61
|
-
* <template>
|
|
62
|
-
* <div>
|
|
63
|
-
* <ScrollView
|
|
64
|
-
* :style="{
|
|
65
|
-
* width: '512px',
|
|
66
|
-
* height: '384px',
|
|
67
|
-
* }"
|
|
68
|
-
* :data-items="items"
|
|
69
|
-
* :content="'content'"
|
|
70
|
-
* >
|
|
71
|
-
* <template v-slot:content="{ props }">
|
|
72
|
-
* <div class="image-with-text">
|
|
73
|
-
* <img
|
|
74
|
-
* :src="props.item.url"
|
|
75
|
-
* :alt="`Photo ${props.item.position}`"
|
|
76
|
-
* :style="{
|
|
77
|
-
* width: '512px',
|
|
78
|
-
* height: '384px',
|
|
79
|
-
* }"
|
|
80
|
-
* :draggable="false"
|
|
81
|
-
* />
|
|
82
|
-
* </div>
|
|
83
|
-
* </template>
|
|
84
|
-
* </ScrollView>
|
|
85
|
-
* </div>
|
|
86
|
-
* </template>
|
|
87
|
-
*
|
|
88
|
-
* <script>
|
|
89
|
-
* import { ScrollView } from '@progress/kendo-vue-scrollview';
|
|
90
|
-
*
|
|
91
|
-
* export default {
|
|
92
|
-
* components: {
|
|
93
|
-
* ScrollView,
|
|
94
|
-
* },
|
|
95
|
-
* data() {
|
|
96
|
-
* return {
|
|
97
|
-
* items: [
|
|
98
|
-
* {
|
|
99
|
-
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/kukeri.jpg',
|
|
100
|
-
* },
|
|
101
|
-
* {
|
|
102
|
-
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/martenitsa.jpg',
|
|
103
|
-
* },
|
|
104
|
-
* {
|
|
105
|
-
* url: 'https://www.telerik.com/kendo-vue-ui/components/layout/assets/card/rose_festival.jpg',
|
|
106
|
-
* },
|
|
107
|
-
* ],
|
|
108
|
-
* };
|
|
109
|
-
* },
|
|
110
|
-
* };
|
|
111
|
-
* </script>
|
|
112
|
-
* ```
|
|
113
|
-
*/
|
|
114
|
-
declare const ScrollView: DefineComponent<ScrollViewProps, any, ScrollViewData, ScrollViewComputed, ScrollViewMethods, {}, {}, {}, string, ScrollViewProps, ScrollViewProps, {}>;
|
|
115
|
-
export { ScrollView, ScrollViewVue2 };
|