@raxium/vue-addons-swiper 0.1.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/dist/Swiper.js +481 -0
- package/dist/Swiper.vue.d.ts +183 -0
- package/dist/SwiperNavigationNext.js +100 -0
- package/dist/SwiperNavigationNext.vue.d.ts +26 -0
- package/dist/SwiperNavigationPrev.js +100 -0
- package/dist/SwiperNavigationPrev.vue.d.ts +26 -0
- package/dist/SwiperNext.js +32 -0
- package/dist/SwiperNext.vue.d.ts +18 -0
- package/dist/SwiperPagination.js +168 -0
- package/dist/SwiperPagination.vue.d.ts +14 -0
- package/dist/SwiperPrev.js +32 -0
- package/dist/SwiperPrev.vue.d.ts +18 -0
- package/dist/SwiperScrollbar.js +89 -0
- package/dist/SwiperScrollbar.vue.d.ts +12 -0
- package/dist/index.css +115 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +8 -0
- package/dist/props.d.ts +47 -0
- package/dist/props.js +0 -0
- package/dist/swiper.ai.js +13 -0
- package/dist/utils.d.ts +17 -0
- package/dist/utils.js +67 -0
- package/package.json +57 -0
package/dist/Swiper.js
ADDED
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
import { createElementBlock, createPropsRestProxy, createSlots, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, shallowRef, unref, withCtx } from "vue";
|
|
2
|
+
import { cn } from "@raxium/themes/utils";
|
|
3
|
+
import { useForwardPropsEmits } from "@raxium/vue-addons-shared";
|
|
4
|
+
import { Swiper } from "swiper/vue";
|
|
5
|
+
import { useSwiperModule } from "./utils.js";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
inheritAttrs: false,
|
|
8
|
+
__name: "Swiper",
|
|
9
|
+
props: {
|
|
10
|
+
tag: {},
|
|
11
|
+
wrapperTag: {},
|
|
12
|
+
modules: {},
|
|
13
|
+
class: {
|
|
14
|
+
type: [
|
|
15
|
+
Boolean,
|
|
16
|
+
null,
|
|
17
|
+
String,
|
|
18
|
+
Object,
|
|
19
|
+
Array
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
injectStyles: {},
|
|
23
|
+
injectStylesUrls: {},
|
|
24
|
+
init: {
|
|
25
|
+
type: Boolean
|
|
26
|
+
},
|
|
27
|
+
enabled: {
|
|
28
|
+
type: Boolean
|
|
29
|
+
},
|
|
30
|
+
updateOnWindowResize: {
|
|
31
|
+
type: Boolean
|
|
32
|
+
},
|
|
33
|
+
resizeObserver: {
|
|
34
|
+
type: Boolean
|
|
35
|
+
},
|
|
36
|
+
initialSlide: {},
|
|
37
|
+
direction: {
|
|
38
|
+
default: "horizontal"
|
|
39
|
+
},
|
|
40
|
+
oneWayMovement: {
|
|
41
|
+
type: Boolean
|
|
42
|
+
},
|
|
43
|
+
swiperElementNodeName: {},
|
|
44
|
+
speed: {},
|
|
45
|
+
setWrapperSize: {
|
|
46
|
+
type: Boolean
|
|
47
|
+
},
|
|
48
|
+
virtualTranslate: {
|
|
49
|
+
type: Boolean
|
|
50
|
+
},
|
|
51
|
+
width: {},
|
|
52
|
+
height: {},
|
|
53
|
+
autoHeight: {
|
|
54
|
+
type: Boolean
|
|
55
|
+
},
|
|
56
|
+
roundLengths: {
|
|
57
|
+
type: Boolean
|
|
58
|
+
},
|
|
59
|
+
nested: {
|
|
60
|
+
type: Boolean
|
|
61
|
+
},
|
|
62
|
+
createElements: {
|
|
63
|
+
type: Boolean
|
|
64
|
+
},
|
|
65
|
+
eventsPrefix: {},
|
|
66
|
+
focusableElements: {},
|
|
67
|
+
uniqueNavElements: {
|
|
68
|
+
type: Boolean
|
|
69
|
+
},
|
|
70
|
+
effect: {},
|
|
71
|
+
runCallbacksOnInit: {
|
|
72
|
+
type: Boolean
|
|
73
|
+
},
|
|
74
|
+
watchOverflow: {
|
|
75
|
+
type: Boolean
|
|
76
|
+
},
|
|
77
|
+
userAgent: {},
|
|
78
|
+
url: {},
|
|
79
|
+
on: {},
|
|
80
|
+
onAny: {
|
|
81
|
+
type: Function
|
|
82
|
+
},
|
|
83
|
+
cssMode: {
|
|
84
|
+
type: Boolean
|
|
85
|
+
},
|
|
86
|
+
spaceBetween: {},
|
|
87
|
+
slidesPerView: {},
|
|
88
|
+
maxBackfaceHiddenSlides: {},
|
|
89
|
+
slidesPerGroup: {},
|
|
90
|
+
slidesPerGroupSkip: {},
|
|
91
|
+
slidesPerGroupAuto: {
|
|
92
|
+
type: Boolean
|
|
93
|
+
},
|
|
94
|
+
centeredSlides: {
|
|
95
|
+
type: Boolean
|
|
96
|
+
},
|
|
97
|
+
centeredSlidesBounds: {
|
|
98
|
+
type: Boolean
|
|
99
|
+
},
|
|
100
|
+
slidesOffsetBefore: {},
|
|
101
|
+
slidesOffsetAfter: {},
|
|
102
|
+
normalizeSlideIndex: {
|
|
103
|
+
type: Boolean
|
|
104
|
+
},
|
|
105
|
+
centerInsufficientSlides: {
|
|
106
|
+
type: Boolean
|
|
107
|
+
},
|
|
108
|
+
snapToSlideEdge: {
|
|
109
|
+
type: Boolean
|
|
110
|
+
},
|
|
111
|
+
grabCursor: {
|
|
112
|
+
type: Boolean
|
|
113
|
+
},
|
|
114
|
+
touchEventsTarget: {},
|
|
115
|
+
touchRatio: {},
|
|
116
|
+
touchAngle: {},
|
|
117
|
+
simulateTouch: {
|
|
118
|
+
type: Boolean
|
|
119
|
+
},
|
|
120
|
+
shortSwipes: {
|
|
121
|
+
type: Boolean
|
|
122
|
+
},
|
|
123
|
+
longSwipes: {
|
|
124
|
+
type: Boolean
|
|
125
|
+
},
|
|
126
|
+
longSwipesRatio: {},
|
|
127
|
+
longSwipesMs: {},
|
|
128
|
+
followFinger: {
|
|
129
|
+
type: Boolean
|
|
130
|
+
},
|
|
131
|
+
allowTouchMove: {
|
|
132
|
+
type: Boolean
|
|
133
|
+
},
|
|
134
|
+
threshold: {},
|
|
135
|
+
touchStartPreventDefault: {
|
|
136
|
+
type: Boolean
|
|
137
|
+
},
|
|
138
|
+
touchStartForcePreventDefault: {
|
|
139
|
+
type: Boolean
|
|
140
|
+
},
|
|
141
|
+
touchMoveStopPropagation: {
|
|
142
|
+
type: Boolean
|
|
143
|
+
},
|
|
144
|
+
edgeSwipeDetection: {
|
|
145
|
+
type: [
|
|
146
|
+
Boolean,
|
|
147
|
+
String
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
edgeSwipeThreshold: {},
|
|
151
|
+
touchReleaseOnEdges: {
|
|
152
|
+
type: Boolean
|
|
153
|
+
},
|
|
154
|
+
passiveListeners: {
|
|
155
|
+
type: Boolean
|
|
156
|
+
},
|
|
157
|
+
resistance: {
|
|
158
|
+
type: Boolean
|
|
159
|
+
},
|
|
160
|
+
resistanceRatio: {},
|
|
161
|
+
preventInteractionOnTransition: {
|
|
162
|
+
type: Boolean
|
|
163
|
+
},
|
|
164
|
+
allowSlidePrev: {
|
|
165
|
+
type: Boolean
|
|
166
|
+
},
|
|
167
|
+
allowSlideNext: {
|
|
168
|
+
type: Boolean
|
|
169
|
+
},
|
|
170
|
+
noSwiping: {
|
|
171
|
+
type: Boolean
|
|
172
|
+
},
|
|
173
|
+
noSwipingClass: {},
|
|
174
|
+
noSwipingSelector: {},
|
|
175
|
+
swipeHandler: {},
|
|
176
|
+
preventClicks: {
|
|
177
|
+
type: Boolean
|
|
178
|
+
},
|
|
179
|
+
preventClicksPropagation: {
|
|
180
|
+
type: Boolean
|
|
181
|
+
},
|
|
182
|
+
slideToClickedSlide: {
|
|
183
|
+
type: Boolean
|
|
184
|
+
},
|
|
185
|
+
watchSlidesProgress: {
|
|
186
|
+
type: Boolean
|
|
187
|
+
},
|
|
188
|
+
loop: {
|
|
189
|
+
type: Boolean
|
|
190
|
+
},
|
|
191
|
+
loopAddBlankSlides: {
|
|
192
|
+
type: Boolean
|
|
193
|
+
},
|
|
194
|
+
loopAdditionalSlides: {},
|
|
195
|
+
loopPreventsSliding: {
|
|
196
|
+
type: Boolean
|
|
197
|
+
},
|
|
198
|
+
rewind: {
|
|
199
|
+
type: Boolean
|
|
200
|
+
},
|
|
201
|
+
breakpoints: {},
|
|
202
|
+
breakpointsBase: {},
|
|
203
|
+
observer: {
|
|
204
|
+
type: Boolean
|
|
205
|
+
},
|
|
206
|
+
observeSlideChildren: {
|
|
207
|
+
type: Boolean
|
|
208
|
+
},
|
|
209
|
+
observeParents: {
|
|
210
|
+
type: Boolean
|
|
211
|
+
},
|
|
212
|
+
containerModifierClass: {},
|
|
213
|
+
slideClass: {},
|
|
214
|
+
slideActiveClass: {},
|
|
215
|
+
slideVisibleClass: {},
|
|
216
|
+
slideFullyVisibleClass: {},
|
|
217
|
+
slideBlankClass: {},
|
|
218
|
+
slideNextClass: {},
|
|
219
|
+
slidePrevClass: {},
|
|
220
|
+
wrapperClass: {},
|
|
221
|
+
lazyPreloaderClass: {},
|
|
222
|
+
lazyPreloadPrevNext: {},
|
|
223
|
+
a11y: {
|
|
224
|
+
type: [
|
|
225
|
+
Object,
|
|
226
|
+
Boolean
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
autoplay: {
|
|
230
|
+
type: [
|
|
231
|
+
Object,
|
|
232
|
+
Boolean
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
controller: {},
|
|
236
|
+
coverflowEffect: {},
|
|
237
|
+
cubeEffect: {},
|
|
238
|
+
fadeEffect: {},
|
|
239
|
+
flipEffect: {},
|
|
240
|
+
creativeEffect: {},
|
|
241
|
+
cardsEffect: {},
|
|
242
|
+
hashNavigation: {
|
|
243
|
+
type: [
|
|
244
|
+
Object,
|
|
245
|
+
Boolean
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
history: {
|
|
249
|
+
type: [
|
|
250
|
+
Object,
|
|
251
|
+
Boolean
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
keyboard: {
|
|
255
|
+
type: [
|
|
256
|
+
Object,
|
|
257
|
+
Boolean
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
mousewheel: {
|
|
261
|
+
type: [
|
|
262
|
+
Object,
|
|
263
|
+
Boolean
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
navigation: {
|
|
267
|
+
type: [
|
|
268
|
+
Object,
|
|
269
|
+
Boolean
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
pagination: {
|
|
273
|
+
type: [
|
|
274
|
+
Object,
|
|
275
|
+
Boolean
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
parallax: {
|
|
279
|
+
type: [
|
|
280
|
+
Object,
|
|
281
|
+
Boolean
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
scrollbar: {
|
|
285
|
+
type: [
|
|
286
|
+
Object,
|
|
287
|
+
Boolean
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
thumbs: {},
|
|
291
|
+
virtual: {
|
|
292
|
+
type: [
|
|
293
|
+
Object,
|
|
294
|
+
Boolean
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
zoom: {
|
|
298
|
+
type: [
|
|
299
|
+
Object,
|
|
300
|
+
Boolean
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
freeMode: {
|
|
304
|
+
type: [
|
|
305
|
+
Object,
|
|
306
|
+
Boolean
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
grid: {},
|
|
310
|
+
_emitClasses: {
|
|
311
|
+
type: Boolean
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
emits: [
|
|
315
|
+
"swiper",
|
|
316
|
+
"init",
|
|
317
|
+
"beforeDestroy",
|
|
318
|
+
"slidesUpdated",
|
|
319
|
+
"slideChange",
|
|
320
|
+
"slideChangeTransitionStart",
|
|
321
|
+
"slideChangeTransitionEnd",
|
|
322
|
+
"slideNextTransitionStart",
|
|
323
|
+
"slideNextTransitionEnd",
|
|
324
|
+
"slidePrevTransitionStart",
|
|
325
|
+
"slidePrevTransitionEnd",
|
|
326
|
+
"transitionStart",
|
|
327
|
+
"transitionEnd",
|
|
328
|
+
"touchStart",
|
|
329
|
+
"touchMove",
|
|
330
|
+
"touchMoveOpposite",
|
|
331
|
+
"sliderMove",
|
|
332
|
+
"touchEnd",
|
|
333
|
+
"click",
|
|
334
|
+
"tap",
|
|
335
|
+
"doubleTap",
|
|
336
|
+
"progress",
|
|
337
|
+
"reachBeginning",
|
|
338
|
+
"reachEnd",
|
|
339
|
+
"toEdge",
|
|
340
|
+
"fromEdge",
|
|
341
|
+
"setTranslate",
|
|
342
|
+
"setTransition",
|
|
343
|
+
"resize",
|
|
344
|
+
"observerUpdate",
|
|
345
|
+
"beforeLoopFix",
|
|
346
|
+
"loopFix",
|
|
347
|
+
"breakpoint",
|
|
348
|
+
"_beforeBreakpoint",
|
|
349
|
+
"_containerClasses",
|
|
350
|
+
"_slideClass",
|
|
351
|
+
"_slideClasses",
|
|
352
|
+
"_swiper",
|
|
353
|
+
"_freeModeNoMomentumRelease",
|
|
354
|
+
"activeIndexChange",
|
|
355
|
+
"snapIndexChange",
|
|
356
|
+
"realIndexChange",
|
|
357
|
+
"afterInit",
|
|
358
|
+
"beforeInit",
|
|
359
|
+
"beforeResize",
|
|
360
|
+
"beforeSlideChangeStart",
|
|
361
|
+
"beforeTransitionStart",
|
|
362
|
+
"changeDirection",
|
|
363
|
+
"doubleClick",
|
|
364
|
+
"destroy",
|
|
365
|
+
"momentumBounce",
|
|
366
|
+
"orientationchange",
|
|
367
|
+
"slideResetTransitionStart",
|
|
368
|
+
"slideResetTransitionEnd",
|
|
369
|
+
"sliderFirstMove",
|
|
370
|
+
"slidesLengthChange",
|
|
371
|
+
"slidesGridLengthChange",
|
|
372
|
+
"snapGridLengthChange",
|
|
373
|
+
"update",
|
|
374
|
+
"lock",
|
|
375
|
+
"unlock"
|
|
376
|
+
],
|
|
377
|
+
setup (__props, { expose: __expose, emit: __emit }) {
|
|
378
|
+
const props = createPropsRestProxy(__props, [
|
|
379
|
+
"class",
|
|
380
|
+
"direction"
|
|
381
|
+
]);
|
|
382
|
+
const emits = __emit;
|
|
383
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
384
|
+
const swiperInstance = shallowRef(null);
|
|
385
|
+
const swiperEl = ref();
|
|
386
|
+
const { hasModule } = useSwiperModule(swiperInstance);
|
|
387
|
+
function onSwiperInit(swiper) {
|
|
388
|
+
swiperEl.value = swiper.el;
|
|
389
|
+
swiperInstance.value = swiper;
|
|
390
|
+
}
|
|
391
|
+
function onFocusIn() {
|
|
392
|
+
if (hasModule("Keyboard")) swiperInstance.value?.keyboard.enable();
|
|
393
|
+
}
|
|
394
|
+
function onFocusOut() {
|
|
395
|
+
if (hasModule("Keyboard")) swiperInstance.value?.keyboard.disable();
|
|
396
|
+
}
|
|
397
|
+
function onKeyDown(event) {
|
|
398
|
+
if (hasModule("Keyboard")) return;
|
|
399
|
+
const prevKey = "vertical" === __props.direction ? "ArrowUp" : "ArrowLeft";
|
|
400
|
+
const nextKey = "vertical" === __props.direction ? "ArrowDown" : "ArrowRight";
|
|
401
|
+
if (event.key === prevKey) {
|
|
402
|
+
event.preventDefault();
|
|
403
|
+
swiperInstance.value?.slidePrev();
|
|
404
|
+
return;
|
|
405
|
+
}
|
|
406
|
+
if (event.key === nextKey) {
|
|
407
|
+
event.preventDefault();
|
|
408
|
+
swiperInstance.value?.slideNext();
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
__expose({
|
|
412
|
+
swiper: swiperInstance,
|
|
413
|
+
$el: swiperEl
|
|
414
|
+
});
|
|
415
|
+
return (_ctx, _cache)=>(openBlock(), createElementBlock("div", {
|
|
416
|
+
class: "swiper-region",
|
|
417
|
+
role: "region",
|
|
418
|
+
"aria-roledescription": "carousel",
|
|
419
|
+
tabindex: "0",
|
|
420
|
+
"data-scope": "swiper",
|
|
421
|
+
"data-part": "region",
|
|
422
|
+
onFocusin: onFocusIn,
|
|
423
|
+
onFocusout: onFocusOut,
|
|
424
|
+
onKeydown: onKeyDown
|
|
425
|
+
}, [
|
|
426
|
+
createVNode(unref(Swiper), mergeProps({
|
|
427
|
+
...unref(forwarded),
|
|
428
|
+
..._ctx.$attrs
|
|
429
|
+
}, {
|
|
430
|
+
class: unref(cn)("rui-swiper", __props.class),
|
|
431
|
+
direction: __props.direction,
|
|
432
|
+
"data-scope": "swiper",
|
|
433
|
+
"data-part": "root",
|
|
434
|
+
onSwiper: onSwiperInit
|
|
435
|
+
}), createSlots({
|
|
436
|
+
_: 2
|
|
437
|
+
}, [
|
|
438
|
+
_ctx.$slots.default ? {
|
|
439
|
+
name: "default",
|
|
440
|
+
fn: withCtx(()=>[
|
|
441
|
+
renderSlot(_ctx.$slots, "default")
|
|
442
|
+
]),
|
|
443
|
+
key: "0"
|
|
444
|
+
} : void 0,
|
|
445
|
+
_ctx.$slots["container-start"] ? {
|
|
446
|
+
name: "container-start",
|
|
447
|
+
fn: withCtx(()=>[
|
|
448
|
+
renderSlot(_ctx.$slots, "container-start")
|
|
449
|
+
]),
|
|
450
|
+
key: "1"
|
|
451
|
+
} : void 0,
|
|
452
|
+
_ctx.$slots["container-end"] ? {
|
|
453
|
+
name: "container-end",
|
|
454
|
+
fn: withCtx(()=>[
|
|
455
|
+
renderSlot(_ctx.$slots, "container-end")
|
|
456
|
+
]),
|
|
457
|
+
key: "2"
|
|
458
|
+
} : void 0,
|
|
459
|
+
_ctx.$slots["wrapper-start"] ? {
|
|
460
|
+
name: "wrapper-start",
|
|
461
|
+
fn: withCtx(()=>[
|
|
462
|
+
renderSlot(_ctx.$slots, "wrapper-start")
|
|
463
|
+
]),
|
|
464
|
+
key: "3"
|
|
465
|
+
} : void 0,
|
|
466
|
+
_ctx.$slots["wrapper-end"] ? {
|
|
467
|
+
name: "wrapper-end",
|
|
468
|
+
fn: withCtx(()=>[
|
|
469
|
+
renderSlot(_ctx.$slots, "wrapper-end")
|
|
470
|
+
]),
|
|
471
|
+
key: "4"
|
|
472
|
+
} : void 0
|
|
473
|
+
]), 1040, [
|
|
474
|
+
"class",
|
|
475
|
+
"direction"
|
|
476
|
+
])
|
|
477
|
+
], 32));
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
const src_Swiper = _sfc_main;
|
|
481
|
+
export default src_Swiper;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import type { Swiper as SwiperInstance } from 'swiper/types';
|
|
2
|
+
import type { SwiperProps, SwiperSlots } from '.';
|
|
3
|
+
type __VLS_Slots = SwiperSlots;
|
|
4
|
+
declare const __VLS_base: import("vue").DefineComponent<SwiperProps, {
|
|
5
|
+
swiper: import("vue").ShallowRef<SwiperInstance | null, SwiperInstance | null>;
|
|
6
|
+
$el: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
swiper: () => any;
|
|
9
|
+
progress: () => any;
|
|
10
|
+
update: () => any;
|
|
11
|
+
changeDirection: () => any;
|
|
12
|
+
init: () => any;
|
|
13
|
+
destroy: () => any;
|
|
14
|
+
setTranslate: () => any;
|
|
15
|
+
autoplay: () => any;
|
|
16
|
+
beforeDestroy: () => any;
|
|
17
|
+
slidesUpdated: () => any;
|
|
18
|
+
slideChange: () => any;
|
|
19
|
+
slideChangeTransitionStart: () => any;
|
|
20
|
+
slideChangeTransitionEnd: () => any;
|
|
21
|
+
slideNextTransitionStart: () => any;
|
|
22
|
+
slideNextTransitionEnd: () => any;
|
|
23
|
+
slidePrevTransitionStart: () => any;
|
|
24
|
+
slidePrevTransitionEnd: () => any;
|
|
25
|
+
transitionStart: () => any;
|
|
26
|
+
transitionEnd: () => any;
|
|
27
|
+
touchStart: () => any;
|
|
28
|
+
touchMove: () => any;
|
|
29
|
+
touchMoveOpposite: () => any;
|
|
30
|
+
sliderMove: () => any;
|
|
31
|
+
touchEnd: () => any;
|
|
32
|
+
click: () => any;
|
|
33
|
+
tap: () => any;
|
|
34
|
+
doubleTap: () => any;
|
|
35
|
+
reachBeginning: () => any;
|
|
36
|
+
reachEnd: () => any;
|
|
37
|
+
toEdge: () => any;
|
|
38
|
+
fromEdge: () => any;
|
|
39
|
+
setTransition: () => any;
|
|
40
|
+
resize: () => any;
|
|
41
|
+
observerUpdate: () => any;
|
|
42
|
+
beforeLoopFix: () => any;
|
|
43
|
+
loopFix: () => any;
|
|
44
|
+
breakpoint: () => any;
|
|
45
|
+
_beforeBreakpoint: () => any;
|
|
46
|
+
_containerClasses: () => any;
|
|
47
|
+
_slideClass: () => any;
|
|
48
|
+
_slideClasses: () => any;
|
|
49
|
+
_swiper: () => any;
|
|
50
|
+
_freeModeNoMomentumRelease: () => any;
|
|
51
|
+
activeIndexChange: () => any;
|
|
52
|
+
snapIndexChange: () => any;
|
|
53
|
+
realIndexChange: () => any;
|
|
54
|
+
afterInit: () => any;
|
|
55
|
+
beforeInit: () => any;
|
|
56
|
+
beforeResize: () => any;
|
|
57
|
+
beforeSlideChangeStart: () => any;
|
|
58
|
+
beforeTransitionStart: () => any;
|
|
59
|
+
doubleClick: () => any;
|
|
60
|
+
momentumBounce: () => any;
|
|
61
|
+
orientationchange: () => any;
|
|
62
|
+
slideResetTransitionStart: () => any;
|
|
63
|
+
slideResetTransitionEnd: () => any;
|
|
64
|
+
sliderFirstMove: () => any;
|
|
65
|
+
slidesLengthChange: () => any;
|
|
66
|
+
slidesGridLengthChange: () => any;
|
|
67
|
+
snapGridLengthChange: () => any;
|
|
68
|
+
lock: () => any;
|
|
69
|
+
unlock: () => any;
|
|
70
|
+
autoplayStart: () => any;
|
|
71
|
+
autoplayStop: () => any;
|
|
72
|
+
autoplayPause: () => any;
|
|
73
|
+
autoplayResume: () => any;
|
|
74
|
+
autoplayTimeLeft: () => any;
|
|
75
|
+
hashChange: () => any;
|
|
76
|
+
hashSet: () => any;
|
|
77
|
+
keyPress: () => any;
|
|
78
|
+
scroll: () => any;
|
|
79
|
+
navigationHide: () => any;
|
|
80
|
+
navigationShow: () => any;
|
|
81
|
+
navigationPrev: () => any;
|
|
82
|
+
navigationNext: () => any;
|
|
83
|
+
paginationRender: () => any;
|
|
84
|
+
paginationUpdate: () => any;
|
|
85
|
+
paginationHide: () => any;
|
|
86
|
+
paginationShow: () => any;
|
|
87
|
+
scrollbarDragStart: () => any;
|
|
88
|
+
scrollbarDragMove: () => any;
|
|
89
|
+
scrollbarDragEnd: () => any;
|
|
90
|
+
zoomChange: () => any;
|
|
91
|
+
}, string, import("vue").PublicProps, Readonly<SwiperProps> & Readonly<{
|
|
92
|
+
onSwiper?: (() => any) | undefined;
|
|
93
|
+
onProgress?: (() => any) | undefined;
|
|
94
|
+
onUpdate?: (() => any) | undefined;
|
|
95
|
+
onChangeDirection?: (() => any) | undefined;
|
|
96
|
+
onInit?: (() => any) | undefined;
|
|
97
|
+
onDestroy?: (() => any) | undefined;
|
|
98
|
+
onSetTranslate?: (() => any) | undefined;
|
|
99
|
+
onAutoplay?: (() => any) | undefined;
|
|
100
|
+
onBeforeDestroy?: (() => any) | undefined;
|
|
101
|
+
onSlidesUpdated?: (() => any) | undefined;
|
|
102
|
+
onSlideChange?: (() => any) | undefined;
|
|
103
|
+
onSlideChangeTransitionStart?: (() => any) | undefined;
|
|
104
|
+
onSlideChangeTransitionEnd?: (() => any) | undefined;
|
|
105
|
+
onSlideNextTransitionStart?: (() => any) | undefined;
|
|
106
|
+
onSlideNextTransitionEnd?: (() => any) | undefined;
|
|
107
|
+
onSlidePrevTransitionStart?: (() => any) | undefined;
|
|
108
|
+
onSlidePrevTransitionEnd?: (() => any) | undefined;
|
|
109
|
+
onTransitionStart?: (() => any) | undefined;
|
|
110
|
+
onTransitionEnd?: (() => any) | undefined;
|
|
111
|
+
onTouchStart?: (() => any) | undefined;
|
|
112
|
+
onTouchMove?: (() => any) | undefined;
|
|
113
|
+
onTouchMoveOpposite?: (() => any) | undefined;
|
|
114
|
+
onSliderMove?: (() => any) | undefined;
|
|
115
|
+
onTouchEnd?: (() => any) | undefined;
|
|
116
|
+
onClick?: (() => any) | undefined;
|
|
117
|
+
onTap?: (() => any) | undefined;
|
|
118
|
+
onDoubleTap?: (() => any) | undefined;
|
|
119
|
+
onReachBeginning?: (() => any) | undefined;
|
|
120
|
+
onReachEnd?: (() => any) | undefined;
|
|
121
|
+
onToEdge?: (() => any) | undefined;
|
|
122
|
+
onFromEdge?: (() => any) | undefined;
|
|
123
|
+
onSetTransition?: (() => any) | undefined;
|
|
124
|
+
onResize?: (() => any) | undefined;
|
|
125
|
+
onObserverUpdate?: (() => any) | undefined;
|
|
126
|
+
onBeforeLoopFix?: (() => any) | undefined;
|
|
127
|
+
onLoopFix?: (() => any) | undefined;
|
|
128
|
+
onBreakpoint?: (() => any) | undefined;
|
|
129
|
+
on_beforeBreakpoint?: (() => any) | undefined;
|
|
130
|
+
on_containerClasses?: (() => any) | undefined;
|
|
131
|
+
on_slideClass?: (() => any) | undefined;
|
|
132
|
+
on_slideClasses?: (() => any) | undefined;
|
|
133
|
+
on_swiper?: (() => any) | undefined;
|
|
134
|
+
on_freeModeNoMomentumRelease?: (() => any) | undefined;
|
|
135
|
+
onActiveIndexChange?: (() => any) | undefined;
|
|
136
|
+
onSnapIndexChange?: (() => any) | undefined;
|
|
137
|
+
onRealIndexChange?: (() => any) | undefined;
|
|
138
|
+
onAfterInit?: (() => any) | undefined;
|
|
139
|
+
onBeforeInit?: (() => any) | undefined;
|
|
140
|
+
onBeforeResize?: (() => any) | undefined;
|
|
141
|
+
onBeforeSlideChangeStart?: (() => any) | undefined;
|
|
142
|
+
onBeforeTransitionStart?: (() => any) | undefined;
|
|
143
|
+
onDoubleClick?: (() => any) | undefined;
|
|
144
|
+
onMomentumBounce?: (() => any) | undefined;
|
|
145
|
+
onOrientationchange?: (() => any) | undefined;
|
|
146
|
+
onSlideResetTransitionStart?: (() => any) | undefined;
|
|
147
|
+
onSlideResetTransitionEnd?: (() => any) | undefined;
|
|
148
|
+
onSliderFirstMove?: (() => any) | undefined;
|
|
149
|
+
onSlidesLengthChange?: (() => any) | undefined;
|
|
150
|
+
onSlidesGridLengthChange?: (() => any) | undefined;
|
|
151
|
+
onSnapGridLengthChange?: (() => any) | undefined;
|
|
152
|
+
onLock?: (() => any) | undefined;
|
|
153
|
+
onUnlock?: (() => any) | undefined;
|
|
154
|
+
onAutoplayStart?: (() => any) | undefined;
|
|
155
|
+
onAutoplayStop?: (() => any) | undefined;
|
|
156
|
+
onAutoplayPause?: (() => any) | undefined;
|
|
157
|
+
onAutoplayResume?: (() => any) | undefined;
|
|
158
|
+
onAutoplayTimeLeft?: (() => any) | undefined;
|
|
159
|
+
onHashChange?: (() => any) | undefined;
|
|
160
|
+
onHashSet?: (() => any) | undefined;
|
|
161
|
+
onKeyPress?: (() => any) | undefined;
|
|
162
|
+
onScroll?: (() => any) | undefined;
|
|
163
|
+
onNavigationHide?: (() => any) | undefined;
|
|
164
|
+
onNavigationShow?: (() => any) | undefined;
|
|
165
|
+
onNavigationPrev?: (() => any) | undefined;
|
|
166
|
+
onNavigationNext?: (() => any) | undefined;
|
|
167
|
+
onPaginationRender?: (() => any) | undefined;
|
|
168
|
+
onPaginationUpdate?: (() => any) | undefined;
|
|
169
|
+
onPaginationHide?: (() => any) | undefined;
|
|
170
|
+
onPaginationShow?: (() => any) | undefined;
|
|
171
|
+
onScrollbarDragStart?: (() => any) | undefined;
|
|
172
|
+
onScrollbarDragMove?: (() => any) | undefined;
|
|
173
|
+
onScrollbarDragEnd?: (() => any) | undefined;
|
|
174
|
+
onZoomChange?: (() => any) | undefined;
|
|
175
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
176
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
177
|
+
declare const _default: typeof __VLS_export;
|
|
178
|
+
export default _default;
|
|
179
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
180
|
+
new (): {
|
|
181
|
+
$slots: S;
|
|
182
|
+
};
|
|
183
|
+
};
|