@wikicasa-dev/components 2.4.2-alpha.1 → 2.4.2-alpha.10
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/Autoplay/factory.js +5 -3
- package/dist/Swiper/Autoplay/index.js +1 -1
- package/dist/Swiper/Controller/factory.js +4 -6
- package/dist/Swiper/Controller/index.js +1 -1
- package/dist/Swiper/FreeMode/factory.js +7 -5
- package/dist/Swiper/Keyboard/factory.js +8 -6
- package/dist/Swiper/Keyboard/index.js +1 -1
- package/dist/Swiper/Navigation/factory.js +7 -11
- package/dist/Swiper/Pagination/factory.js +5 -5
- package/dist/Swiper/Thumbs/factory.js +6 -6
- package/dist/Swiper/Thumbs/index.js +1 -1
- package/dist/Swiper/Zoom/factory.js +8 -6
- package/dist/Swiper/factory.js +9 -6
- package/dist/assets/SwiperCarousel2.css +1 -1
- package/dist/components/carousel/SwiperCarousel.d.ts +2 -4
- package/dist/components/carousel/SwiperCarousel.js +1 -1
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +69 -65
- package/package.json +1 -1
- /package/dist/assets/{swiper-keyboard.css → swiper-autoplay.css} +0 -0
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
options: {
|
|
4
|
-
controller: o
|
|
5
|
-
}
|
|
1
|
+
const l = (o) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
|
+
...o ? { options: { controller: o } } : {}
|
|
6
4
|
});
|
|
7
5
|
export {
|
|
8
|
-
|
|
6
|
+
l as ControllerModule
|
|
9
7
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
1
|
+
const d = (e) => ({
|
|
2
2
|
loader: () => import("./index.js").then((o) => o.default),
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
...e ? {
|
|
4
|
+
options: {
|
|
5
|
+
freeMode: e
|
|
6
|
+
}
|
|
7
|
+
} : {}
|
|
6
8
|
});
|
|
7
9
|
export {
|
|
8
|
-
|
|
10
|
+
d as FreemodeModule
|
|
9
11
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const d = (e) => ({
|
|
2
|
+
loader: () => import("./index.js").then((o) => o.default),
|
|
3
|
+
...e ? {
|
|
4
|
+
options: {
|
|
5
|
+
keyboard: e
|
|
6
|
+
}
|
|
7
|
+
} : {}
|
|
6
8
|
});
|
|
7
9
|
export {
|
|
8
|
-
|
|
10
|
+
d as KeyboardModule
|
|
9
11
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
1
|
+
const o = (t) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
3
|
options: {
|
|
4
|
-
navigation:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
...e?.prevEl ?? {
|
|
10
|
-
prevEl: ".swiper-button-prev"
|
|
11
|
-
}
|
|
4
|
+
navigation: {
|
|
5
|
+
nextEl: ".swiper-button-next",
|
|
6
|
+
prevEl: ".swiper-button-prev",
|
|
7
|
+
...typeof t == "boolean" ? {} : t
|
|
12
8
|
}
|
|
13
9
|
}
|
|
14
10
|
});
|
|
15
11
|
export {
|
|
16
|
-
|
|
12
|
+
o as NavigationModule
|
|
17
13
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const n = (
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
1
|
+
const n = (i) => ({
|
|
2
|
+
loader: () => import("./index.js").then((a) => a.default),
|
|
3
3
|
options: {
|
|
4
4
|
pagination: {
|
|
5
5
|
el: ".swiper-pagination",
|
|
6
|
-
renderFraction: (
|
|
7
|
-
<span data-cy="swiper-pagination-current" class="${
|
|
6
|
+
renderFraction: (a, t) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
|
|
7
|
+
<span data-cy="swiper-pagination-current" class="${a}"></span>
|
|
8
8
|
/
|
|
9
9
|
<span data-cy="swiper-pagination-total" class="${t}"></span>
|
|
10
10
|
</div>`,
|
|
11
|
-
...typeof
|
|
11
|
+
...typeof i == "boolean" || !i ? {} : i
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
|
|
4
|
-
thumbs:
|
|
5
|
-
}
|
|
1
|
+
const o = (t) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
|
+
...t ? {
|
|
4
|
+
options: { thumbs: t }
|
|
5
|
+
} : {}
|
|
6
6
|
});
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
o as ThumbsModule
|
|
9
9
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
loader: () => import("./index.js").then((
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const t = (o) => ({
|
|
2
|
+
loader: () => import("./index.js").then((e) => e.default),
|
|
3
|
+
...o ? {
|
|
4
|
+
options: {
|
|
5
|
+
zoom: o
|
|
6
|
+
}
|
|
7
|
+
} : {}
|
|
6
8
|
});
|
|
7
9
|
export {
|
|
8
|
-
|
|
10
|
+
t as ZoomModule
|
|
9
11
|
};
|
package/dist/Swiper/factory.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
const a = async (o, r, s) => {
|
|
2
|
-
const
|
|
2
|
+
const i = s.map((e) => e.loader()), [{ Swiper: n }, ...p] = await Promise.all([
|
|
3
3
|
import("./index.js"),
|
|
4
|
-
...
|
|
5
|
-
]),
|
|
6
|
-
(e,
|
|
7
|
-
{ ...r, modules:
|
|
4
|
+
...i
|
|
5
|
+
]), t = s.reduce(
|
|
6
|
+
(e, c) => Object.assign(e, c.options),
|
|
7
|
+
{ ...r, modules: p }
|
|
8
8
|
);
|
|
9
|
-
return console.log("DEBUG:createSwiper",
|
|
9
|
+
return console.log("DEBUG:createSwiper", {
|
|
10
|
+
container: o,
|
|
11
|
+
options: t
|
|
12
|
+
}), new n(o, t);
|
|
10
13
|
};
|
|
11
14
|
export {
|
|
12
15
|
a as createSwiper
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.no-transition[data-v-
|
|
1
|
+
.no-transition[data-v-6fb3d4e8]{transition-duration:0ms!important}.disable-select[data-v-6fb3d4e8]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.swiper-button-disabled[data-v-6fb3d4e8]{pointer-events:auto!important}
|
|
@@ -20,8 +20,7 @@ declare function __VLS_template(): {
|
|
|
20
20
|
last_slide?(_: {}): any;
|
|
21
21
|
};
|
|
22
22
|
refs: {
|
|
23
|
-
|
|
24
|
-
swiperWrapperRef: HTMLDivElement;
|
|
23
|
+
swiperRef: HTMLDivElement;
|
|
25
24
|
thumbsRef: HTMLDivElement;
|
|
26
25
|
};
|
|
27
26
|
rootEl: any;
|
|
@@ -46,8 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<SwiperCarouselProps
|
|
|
46
45
|
}) => any) | undefined;
|
|
47
46
|
onFirstSlideLoaded?: (() => any) | undefined;
|
|
48
47
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
49
|
-
|
|
50
|
-
swiperWrapperRef: HTMLDivElement;
|
|
48
|
+
swiperRef: HTMLDivElement;
|
|
51
49
|
thumbsRef: HTMLDivElement;
|
|
52
50
|
}, any>;
|
|
53
51
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2,7 +2,7 @@ import o from "../../packages/components/lib/components/carousel/SwiperCarousel.
|
|
|
2
2
|
import '../../assets/SwiperCarousel2.css';import '../../assets/SwiperCarousel.css';/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
5
|
+
const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6fb3d4e8"]]);
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { createSwiper as
|
|
1
|
+
import { defineComponent as W, shallowRef as z, useTemplateRef as C, useId as X, computed as Y, onMounted as x, watch as _, nextTick as M, createElementBlock as n, openBlock as l, normalizeClass as d, createElementVNode as p, createCommentVNode as $, unref as ee, renderSlot as L, Fragment as k, renderList as V, mergeProps as B, withModifiers as O } from "vue";
|
|
2
|
+
import { createSwiper as R } from "../../../../../Swiper/factory.js";
|
|
3
3
|
import { AutoplayModule as te } from "../../../../../Swiper/Autoplay/factory.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
const de = ["data-cy"], ue = ["data-idx", "alt", "width", "height", "onLoad"], ce = ["alt"], ke = /* @__PURE__ */ U({
|
|
4
|
+
import { FreemodeModule as se } from "../../../../../Swiper/FreeMode/factory.js";
|
|
5
|
+
import { KeyboardModule as ie } from "../../../../../Swiper/Keyboard/factory.js";
|
|
6
|
+
import { NavigationModule as re } from "../../../../../Swiper/Navigation/factory.js";
|
|
7
|
+
import { PaginationModule as ae } from "../../../../../Swiper/Pagination/factory.js";
|
|
8
|
+
import { ThumbsModule as oe } from "../../../../../Swiper/Thumbs/factory.js";
|
|
9
|
+
import { ZoomModule as ne } from "../../../../../Swiper/Zoom/factory.js";
|
|
10
|
+
const le = ["id", "data-cy"], de = ["data-idx", "alt", "width", "height", "onLoad"], ue = ["id"], ce = ["alt"], ye = /* @__PURE__ */ W({
|
|
12
11
|
inheritAttrs: !1,
|
|
13
12
|
__name: "SwiperCarousel",
|
|
14
13
|
props: {
|
|
@@ -22,81 +21,84 @@ const de = ["data-cy"], ue = ["data-idx", "alt", "width", "height", "onLoad"], c
|
|
|
22
21
|
shiftFirstImage: { type: Boolean, default: !1 }
|
|
23
22
|
},
|
|
24
23
|
emits: ["moved", "click", "firstSlideLoaded", "init"],
|
|
25
|
-
setup(t, { expose:
|
|
26
|
-
const
|
|
24
|
+
setup(t, { expose: T, emit: D }) {
|
|
25
|
+
const h = D, u = z(null), y = C("swiperRef"), A = C("thumbsRef"), F = z(!1), N = X(), w = Y(() => t.id ?? N), v = t.swiperOptions?.slidesPerView || 1, j = !!t.swiperOptions?.keyboard, S = !!t.swiperOptions.navigation, I = !!t.swiperOptions.pagination, q = !!t.swiperOptions.autoplay, G = t.swiperOptions?.effect || "slider", P = (e, s = -1, i = !1) => {
|
|
27
26
|
if (!e.images)
|
|
28
27
|
return { src: e.src || "" };
|
|
29
|
-
let r = "", o = "",
|
|
28
|
+
let r = "", o = "", g = "";
|
|
30
29
|
if (t.artDirection) {
|
|
31
30
|
for (const a in t.artDirection) {
|
|
32
|
-
const { mq: c, width:
|
|
33
|
-
|
|
31
|
+
const { mq: c, width: m } = t.artDirection[a];
|
|
32
|
+
m && (g += g ? `,${c} ${parseInt(m)}px` : `${c} ${parseInt(m)}px`);
|
|
34
33
|
}
|
|
35
|
-
o = e.images.reduce((a, c,
|
|
36
|
-
const
|
|
37
|
-
return !
|
|
34
|
+
o = e.images.reduce((a, c, m) => {
|
|
35
|
+
const f = Object.values(t.artDirection)[m];
|
|
36
|
+
return !f || !f.width || (a += a ? `, ${c.storagePath} ${f.width}` : `${c.storagePath} ${f.width}`), a;
|
|
38
37
|
}, ""), r = e.images[0].storagePath;
|
|
39
38
|
} else {
|
|
40
39
|
let a = e.images;
|
|
41
|
-
e.images.length > 3 ? a = e.images.slice(2, 5) : t.shiftFirstImage && (a[0] = a[1]), o = a.reduce((c,
|
|
40
|
+
e.images.length > 3 ? a = e.images.slice(2, 5) : t.shiftFirstImage && (a[0] = a[1]), o = a.reduce((c, m, f) => (f === 0 && (r = `${m.storagePath}`), f > 0 && (c += ", "), `${c}${m.storagePath} ${f + 1}x`), "");
|
|
42
41
|
}
|
|
43
42
|
const J = r, Q = o;
|
|
44
|
-
return typeof
|
|
43
|
+
return typeof v == "number" && s > v ? (r = "", o = "", { sizes: g, "data-src": J, "data-srcset": Q }) : i ? {
|
|
45
44
|
src: r,
|
|
46
45
|
srcset: o,
|
|
47
|
-
sizes:
|
|
46
|
+
sizes: g,
|
|
48
47
|
loading: "lazy",
|
|
49
48
|
fetchpriority: "low"
|
|
50
49
|
} : {
|
|
51
50
|
src: r,
|
|
52
51
|
srcset: o,
|
|
53
|
-
sizes:
|
|
54
|
-
loading: t.lazyLoadImages || s >=
|
|
52
|
+
sizes: g,
|
|
53
|
+
loading: t.lazyLoadImages || s >= v ? "lazy" : void 0,
|
|
55
54
|
fetchpriority: !t.lazyLoadImages && s === 0 ? "high" : "low"
|
|
56
55
|
};
|
|
57
|
-
},
|
|
58
|
-
if (typeof
|
|
59
|
-
const s =
|
|
60
|
-
if (s && !s.src && (s.src = s.dataset.src || "", s.srcset = s.dataset.srcset || ""), e <
|
|
56
|
+
}, b = [], K = (e) => {
|
|
57
|
+
if (typeof v == "string") return;
|
|
58
|
+
const s = b[e];
|
|
59
|
+
if (s && !s.src && (s.src = s.dataset.src || "", s.srcset = s.dataset.srcset || ""), e < v || e + 1 >= (t.images ?? []).length)
|
|
61
60
|
return;
|
|
62
|
-
const i =
|
|
61
|
+
const i = b[e + 1];
|
|
63
62
|
i && !i.src && (i.src = i?.dataset.src || "", i.srcset = i?.dataset.srcset || "");
|
|
64
|
-
},
|
|
65
|
-
e || !
|
|
66
|
-
y.value?.setAttribute("data-first-slide-loaded", "true"),
|
|
63
|
+
}, U = (e) => {
|
|
64
|
+
e || !b?.[e] || M(() => {
|
|
65
|
+
y.value?.setAttribute("data-first-slide-loaded", "true"), h("firstSlideLoaded");
|
|
66
|
+
});
|
|
67
|
+
}, Z = (e) => t.thumbSwiperOptions ? R(e, t.thumbSwiperOptions, [
|
|
68
|
+
se(t.thumbSwiperOptions.freeMode)
|
|
69
|
+
]) : null, E = async (e, s) => {
|
|
70
|
+
console.log("DEBUG:SwiperCarousel", {
|
|
71
|
+
rootEl: e,
|
|
72
|
+
thumbEl: s
|
|
67
73
|
});
|
|
68
|
-
}, Z = (e) => t.thumbSwiperOptions ? T(e, t.thumbSwiperOptions, [
|
|
69
|
-
ie(t.thumbSwiperOptions.freeMode)
|
|
70
|
-
]) : null, G = async (e, s) => {
|
|
71
74
|
const i = s ? await Z(s) : null;
|
|
72
|
-
u.value = await
|
|
75
|
+
u.value = await R(
|
|
73
76
|
e,
|
|
74
77
|
{
|
|
75
78
|
on: {
|
|
76
79
|
init: () => {
|
|
77
|
-
F.value = !0,
|
|
80
|
+
F.value = !0, h("init");
|
|
78
81
|
},
|
|
79
82
|
slideChange: (r) => {
|
|
80
|
-
K(r.activeIndex),
|
|
83
|
+
K(r.activeIndex), h("moved", { activeIndex: r.activeIndex });
|
|
81
84
|
}
|
|
82
85
|
},
|
|
83
|
-
...i ? { thumbs: { swiper: i } } : {},
|
|
86
|
+
...i ? { thumbs: { ...t.swiperOptions.thumbs, swiper: i } } : {},
|
|
84
87
|
...t.swiperOptions
|
|
85
88
|
},
|
|
86
89
|
[
|
|
87
|
-
|
|
88
|
-
j ?
|
|
89
|
-
I ?
|
|
90
|
-
S ?
|
|
90
|
+
ne(t.swiperOptions.zoom),
|
|
91
|
+
j ? ie(t.swiperOptions.keyboard) : void 0,
|
|
92
|
+
I ? ae(t.swiperOptions.pagination) : void 0,
|
|
93
|
+
S ? re(t.swiperOptions.navigation) : void 0,
|
|
91
94
|
q ? te(t.swiperOptions.autoplay) : void 0,
|
|
92
95
|
//Thumbs specific modules
|
|
93
|
-
i ?
|
|
94
|
-
i ? se(t.swiperOptions.controller) : void 0
|
|
96
|
+
i ? oe() : void 0
|
|
95
97
|
].filter(Boolean)
|
|
96
98
|
);
|
|
97
99
|
};
|
|
98
100
|
x(() => {
|
|
99
|
-
y.value && setTimeout(() =>
|
|
101
|
+
y.value && setTimeout(() => E(y.value, A.value));
|
|
100
102
|
});
|
|
101
103
|
const H = (e) => {
|
|
102
104
|
!u.value || u.value.params.slidesPerView === e || (u.value.params.slidesPerView = e, u.value.update());
|
|
@@ -104,11 +106,11 @@ const de = ["data-cy"], ue = ["data-idx", "alt", "width", "height", "onLoad"], c
|
|
|
104
106
|
return _(
|
|
105
107
|
() => t.images,
|
|
106
108
|
() => {
|
|
107
|
-
|
|
109
|
+
M(() => {
|
|
108
110
|
u.value?.update();
|
|
109
111
|
});
|
|
110
112
|
}
|
|
111
|
-
),
|
|
113
|
+
), T({
|
|
112
114
|
swiper: u,
|
|
113
115
|
moveTo(e, s = 0, i = !0) {
|
|
114
116
|
u.value?.slideTo(e, s, i);
|
|
@@ -118,41 +120,41 @@ const de = ["data-cy"], ue = ["data-idx", "alt", "width", "height", "onLoad"], c
|
|
|
118
120
|
class: d(["swiper-carousel-root", e.$attrs["root-classes"]])
|
|
119
121
|
}, [
|
|
120
122
|
p("div", {
|
|
121
|
-
ref: "
|
|
123
|
+
ref: "swiperRef",
|
|
124
|
+
id: w.value,
|
|
122
125
|
"data-cy": e.$attrs["data-cy"],
|
|
123
126
|
class: d(["swiper uikit-carousel", e.$attrs["swiper-classes"]])
|
|
124
127
|
}, [
|
|
125
128
|
p("div", {
|
|
126
|
-
ref: "swiperWrapperRef",
|
|
127
129
|
class: d(["swiper-wrapper", [
|
|
128
130
|
e.$attrs["swiper-wrapper-classes"],
|
|
129
|
-
ee(
|
|
131
|
+
ee(G) === "none" && "no-transition"
|
|
130
132
|
]]),
|
|
131
|
-
onClick: s[0] || (s[0] = (i) =>
|
|
133
|
+
onClick: s[0] || (s[0] = (i) => h("click"))
|
|
132
134
|
}, [
|
|
133
135
|
L(e.$slots, "default", {}, () => [
|
|
134
136
|
(l(!0), n(k, null, V(t.images, (i, r) => (l(), n("div", {
|
|
135
|
-
key: `swiper_${
|
|
137
|
+
key: `swiper_${w.value}_${r}`,
|
|
136
138
|
class: d(["swiper-slide", e.$attrs["swiper-slide-classes"]])
|
|
137
139
|
}, [
|
|
138
140
|
p("div", {
|
|
139
141
|
class: d(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
|
|
140
142
|
}, [
|
|
141
|
-
t.backgroundImage ?
|
|
143
|
+
t.backgroundImage ? $("", !0) : (l(), n("img", B({
|
|
142
144
|
key: 0,
|
|
143
145
|
ref_for: !0,
|
|
144
146
|
ref: (o) => {
|
|
145
|
-
|
|
147
|
+
b.push(o);
|
|
146
148
|
},
|
|
147
149
|
class: ["disable-select", [e.$attrs["slide-img-classes"] || i.classes]],
|
|
148
|
-
"data-idx": `${
|
|
150
|
+
"data-idx": `${w.value}-slide-img-${r}`
|
|
149
151
|
}, { ref_for: !0 }, P(i, r), {
|
|
150
152
|
alt: i.alt,
|
|
151
153
|
itemprop: "image",
|
|
152
154
|
width: i.width,
|
|
153
155
|
height: i.height,
|
|
154
|
-
onLoad: (o) =>
|
|
155
|
-
}), null, 16,
|
|
156
|
+
onLoad: (o) => U(r)
|
|
157
|
+
}), null, 16, de))
|
|
156
158
|
], 2)
|
|
157
159
|
], 2))), 128)),
|
|
158
160
|
L(e.$slots, "last_slide", {}, void 0, !0)
|
|
@@ -163,7 +165,7 @@ const de = ["data-cy"], ue = ["data-idx", "alt", "width", "height", "onLoad"], c
|
|
|
163
165
|
class: d([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
|
|
164
166
|
onClick: s[1] || (s[1] = O(() => {
|
|
165
167
|
}, ["stop"]))
|
|
166
|
-
}, null, 2)) :
|
|
168
|
+
}, null, 2)) : $("", !0),
|
|
167
169
|
S ? (l(), n(k, { key: 1 }, [
|
|
168
170
|
p("div", {
|
|
169
171
|
class: "swiper-button-prev",
|
|
@@ -177,31 +179,33 @@ const de = ["data-cy"], ue = ["data-idx", "alt", "width", "height", "onLoad"], c
|
|
|
177
179
|
onClick: s[3] || (s[3] = O(() => {
|
|
178
180
|
}, ["stop"]))
|
|
179
181
|
})
|
|
180
|
-
], 64)) :
|
|
181
|
-
], 10,
|
|
182
|
+
], 64)) : $("", !0)
|
|
183
|
+
], 10, le),
|
|
182
184
|
t.thumbSwiperOptions ? (l(), n("div", {
|
|
183
185
|
key: 0,
|
|
186
|
+
id: `thumb_${w.value}`,
|
|
184
187
|
ref: "thumbsRef",
|
|
185
|
-
class: d(["swiper", e.$attrs["thumb-swiper-classes"]])
|
|
188
|
+
class: d(["swiper", e.$attrs["thumb-swiper-classes"]]),
|
|
189
|
+
thumbsSlider: ""
|
|
186
190
|
}, [
|
|
187
191
|
p("div", {
|
|
188
192
|
class: d(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
|
|
189
193
|
}, [
|
|
190
194
|
(l(!0), n(k, null, V(t.images, (i, r) => (l(), n("div", {
|
|
191
|
-
key: `thumb_${
|
|
195
|
+
key: `thumb_${w.value}_${r}`,
|
|
192
196
|
class: d(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
|
|
193
197
|
}, [
|
|
194
|
-
p("img",
|
|
198
|
+
p("img", B({
|
|
195
199
|
class: e.$attrs["thumb-img-classes"]
|
|
196
200
|
}, { ref_for: !0 }, P(i, -1, !1), {
|
|
197
201
|
alt: i.alt
|
|
198
202
|
}), null, 16, ce)
|
|
199
203
|
], 2))), 128))
|
|
200
204
|
], 2)
|
|
201
|
-
],
|
|
205
|
+
], 10, ue)) : $("", !0)
|
|
202
206
|
], 2));
|
|
203
207
|
}
|
|
204
208
|
});
|
|
205
209
|
export {
|
|
206
|
-
|
|
210
|
+
ye as default
|
|
207
211
|
};
|
package/package.json
CHANGED
|
File without changes
|