evo-vue-carousel 2.1.0 → 2.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/evo-vue-carousel.js +8 -7
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/evo-vue-carousel.js
CHANGED
|
@@ -3511,7 +3511,7 @@ var hi = /* @__PURE__ */ mi({
|
|
|
3511
3511
|
}
|
|
3512
3512
|
},
|
|
3513
3513
|
setup(e) {
|
|
3514
|
-
ae((e) => ({
|
|
3514
|
+
ae((e) => ({ d62beeb4: E.value }));
|
|
3515
3515
|
let t = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, n = Object.freeze({
|
|
3516
3516
|
element: !0,
|
|
3517
3517
|
component: !0,
|
|
@@ -3535,12 +3535,13 @@ var hi = /* @__PURE__ */ mi({
|
|
|
3535
3535
|
P(a, (e) => {
|
|
3536
3536
|
r.isInit && (u.value === !1 && (b.value = y.value), y.value = C(e), t && ie());
|
|
3537
3537
|
}, { immediate: !0 });
|
|
3538
|
-
let k = () => {
|
|
3539
|
-
d(!0);
|
|
3540
|
-
}, ie = async () => {
|
|
3538
|
+
let k = (e) => {
|
|
3539
|
+
e.target.classList.contains("evo-vue-carousel__viewport-track") !== !1 && d(!0);
|
|
3540
|
+
}, ie = async (e) => {
|
|
3541
|
+
if (e.target.classList.contains("evo-vue-carousel__viewport-track") === !1) return;
|
|
3541
3542
|
_.value = !0, await oi();
|
|
3542
|
-
let
|
|
3543
|
-
s(ei(a.value, 0,
|
|
3543
|
+
let t = r.totalSlides;
|
|
3544
|
+
s(ei(a.value, 0, t)), await oi(), _.value = !1, d(!1);
|
|
3544
3545
|
};
|
|
3545
3546
|
P(c, (e) => {
|
|
3546
3547
|
i.value.pauseOnHover === !0 && (e ? p() : m());
|
|
@@ -3604,7 +3605,7 @@ var hi = /* @__PURE__ */ mi({
|
|
|
3604
3605
|
_: 1
|
|
3605
3606
|
}, 8, ["slots"])], 8, Si));
|
|
3606
3607
|
}
|
|
3607
|
-
}), [["__scopeId", "data-v-
|
|
3608
|
+
}), [["__scopeId", "data-v-049f31e0"]]), wi = ["data-height"], Ti = {
|
|
3608
3609
|
__name: "Gallery",
|
|
3609
3610
|
props: {
|
|
3610
3611
|
totalSlides: {
|
package/dist/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.evo-vue-carousel__pagination{pointer-events:none}.evo-vue-carousel__pagination>*{pointer-events:auto}.evo-vue-carousel__navigation{pointer-events:none}.evo-vue-carousel__navigation>*{pointer-events:auto}.evo-vue-carousel__viewport-track[data-v-
|
|
1
|
+
.evo-vue-carousel__pagination{pointer-events:none}.evo-vue-carousel__pagination>*{pointer-events:auto}.evo-vue-carousel__navigation{pointer-events:none}.evo-vue-carousel__navigation>*{pointer-events:auto}.evo-vue-carousel__viewport-track[data-v-049f31e0]{--slide-width:var(--d62beeb4)}
|