evo-vue-carousel 1.1.7 → 1.1.9
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/evo-vue-carousel.js +3 -3
- package/package.json +2 -2
package/dist/evo-vue-carousel.js
CHANGED
|
@@ -604,13 +604,13 @@ var Dt = (e, t = !1) => {
|
|
|
604
604
|
return yt(e, Et.bind(e));
|
|
605
605
|
});
|
|
606
606
|
}, Ot = Symbol.for("evo-vue-carousel__config"), kt = Symbol.for("evo-vue-carousel__slide-count"), At = Symbol.for("evo-vue-carousel__current-index"), jt = Symbol.for("evo-vue-carousel__is-hovered"), Mt = Symbol.for("evo-vue-carousel__is-navigating"), Nt = Symbol.for("evo-vue-carousel__autoplay-fn"), Pt = (e, t, n, r = !1) => {
|
|
607
|
-
let i = O(!1), a = O(!1), s = Dt(e, r), c = O(
|
|
607
|
+
let i = O(!1), a = O(!1), s = Dt(e, r), c = O(0), l = Me(n, {
|
|
608
608
|
delayEnter: +e.hoverDelayEnter,
|
|
609
609
|
delayLeave: +e.hoverDelayLeave
|
|
610
610
|
});
|
|
611
611
|
F(() => e.initialIndex, (e) => {
|
|
612
|
-
a.value === !1 && (c.value = +e);
|
|
613
|
-
});
|
|
612
|
+
a.value === !1 && e !== 0 && (c.value = +e);
|
|
613
|
+
}, { immediate: !0 });
|
|
614
614
|
let u = F(t, async (t) => {
|
|
615
615
|
t > 0 && (c.value = Ie(+e.initialIndex, t, s), c.value > t && (c.value = t - 1), i.value = !0, await ee(), u());
|
|
616
616
|
}, { immediate: !0 }), d = o(() => s.value.autoplay ?? 0), f = (e) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "evo-vue-carousel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"files": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/js": "^10.0.1",
|
|
40
40
|
"@testing-library/vue": "^8.1.0",
|
|
41
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
41
|
+
"@vitejs/plugin-vue": "^6.0.9",
|
|
42
42
|
"@vue/test-utils": "^2.5.0",
|
|
43
43
|
"eslint": "^10.10.0",
|
|
44
44
|
"eslint-config-prettier": "^10.1.8",
|