@wikicasa-dev/components 1.7.49 → 1.7.51
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/BaseTab.js +1 -1
- package/dist/BaseTabList.js +4 -0
- package/dist/BaseTabView.js +1 -1
- package/dist/SwiperCarousel.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +2 -2
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +2 -2
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +4 -0
- package/dist/UIKit/Tab/BaseTabList.vue.d.ts +37 -0
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +17 -8
- package/dist/chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js +15 -0
- package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.BEX0zH-7.js +42 -0
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Cs-5T5J3.js +85 -0
- package/dist/chunks/{SwiperCarousel.vue_vue_type_style_index_0_lang.7z9WGfLj.js → SwiperCarousel.vue_vue_type_style_index_0_lang.BiS3BhWj.js} +174 -172
- package/dist/chunks/{index.DUnHxi5U.js → index.C70510OV.js} +294 -293
- package/dist/index.js +3 -3
- package/dist/types.d.ts +12 -0
- package/package.json +10 -10
- package/dist/chunks/BaseTab.vue_vue_type_script_setup_true_lang.BRubYI9e.js +0 -14
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CbqroZ_c.js +0 -96
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as Ye, reactive as Me, ref as we, computed as k, onMounted as $e, openBlock as Y, createElementBlock as M, normalizeClass as $, createElementVNode as D, renderSlot as Te, Fragment as
|
|
1
|
+
import { defineComponent as Ye, reactive as Me, ref as we, computed as k, onMounted as $e, openBlock as Y, createElementBlock as M, normalizeClass as $, createElementVNode as D, renderSlot as Te, Fragment as ne, renderList as Ee, mergeProps as ye, createCommentVNode as J, withModifiers as re, nextTick as We } from "vue";
|
|
2
2
|
import { Swiper as be } from "swiper";
|
|
3
3
|
import { r as Pe } from "./ObjectUtils.B1Dk4qsM.js";
|
|
4
4
|
import "./js.cookie.CkZE2oaL.js";
|
|
5
|
-
import '../assets/SwiperCarousel.css';function Se(
|
|
6
|
-
return
|
|
5
|
+
import '../assets/SwiperCarousel.css';function Se(n) {
|
|
6
|
+
return n !== null && typeof n == "object" && "constructor" in n && n.constructor === Object;
|
|
7
7
|
}
|
|
8
|
-
function ae(
|
|
9
|
-
|
|
10
|
-
typeof
|
|
8
|
+
function ae(n, e) {
|
|
9
|
+
n === void 0 && (n = {}), e === void 0 && (e = {}), Object.keys(e).forEach((u) => {
|
|
10
|
+
typeof n[u] > "u" ? n[u] = e[u] : Se(e[u]) && Se(n[u]) && Object.keys(e[u]).length > 0 && ae(n[u], e[u]);
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
const Xe = {
|
|
@@ -66,8 +66,8 @@ const Xe = {
|
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
function Le() {
|
|
69
|
-
const
|
|
70
|
-
return ae(
|
|
69
|
+
const n = typeof document < "u" ? document : {};
|
|
70
|
+
return ae(n, Xe), n;
|
|
71
71
|
}
|
|
72
72
|
const Oe = {
|
|
73
73
|
document: Xe,
|
|
@@ -120,91 +120,93 @@ const Oe = {
|
|
|
120
120
|
matchMedia() {
|
|
121
121
|
return {};
|
|
122
122
|
},
|
|
123
|
-
requestAnimationFrame(
|
|
124
|
-
return typeof setTimeout > "u" ? (
|
|
123
|
+
requestAnimationFrame(n) {
|
|
124
|
+
return typeof setTimeout > "u" ? (n(), null) : setTimeout(n, 0);
|
|
125
125
|
},
|
|
126
|
-
cancelAnimationFrame(
|
|
127
|
-
typeof setTimeout > "u" || clearTimeout(
|
|
126
|
+
cancelAnimationFrame(n) {
|
|
127
|
+
typeof setTimeout > "u" || clearTimeout(n);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
function V() {
|
|
131
|
-
const
|
|
132
|
-
return ae(
|
|
131
|
+
const n = typeof window < "u" ? window : {};
|
|
132
|
+
return ae(n, Oe), n;
|
|
133
133
|
}
|
|
134
|
-
function ke(
|
|
135
|
-
return
|
|
134
|
+
function ke(n) {
|
|
135
|
+
return n === void 0 && (n = ""), n.trim().split(" ").filter((e) => !!e.trim());
|
|
136
136
|
}
|
|
137
|
-
function Ge(
|
|
138
|
-
return e === void 0 && (e = 0), setTimeout(
|
|
137
|
+
function Ge(n, e) {
|
|
138
|
+
return e === void 0 && (e = 0), setTimeout(n, e);
|
|
139
139
|
}
|
|
140
140
|
function Ke() {
|
|
141
141
|
return Date.now();
|
|
142
142
|
}
|
|
143
|
-
function De(
|
|
143
|
+
function De(n) {
|
|
144
144
|
const e = V();
|
|
145
145
|
let u;
|
|
146
|
-
return e.getComputedStyle && (u = e.getComputedStyle(
|
|
146
|
+
return e.getComputedStyle && (u = e.getComputedStyle(n, null)), !u && n.currentStyle && (u = n.currentStyle), u || (u = n.style), u;
|
|
147
147
|
}
|
|
148
|
-
function xe(
|
|
148
|
+
function xe(n, e) {
|
|
149
149
|
e === void 0 && (e = "x");
|
|
150
150
|
const u = V();
|
|
151
|
-
let
|
|
152
|
-
const g = De(
|
|
153
|
-
return u.WebKitCSSMatrix ? (v = g.transform || g.webkitTransform, v.split(",").length > 6 && (v = v.split(", ").map((y) => y.replace(",", ".")).join(", ")), d = new u.WebKitCSSMatrix(v === "none" ? "" : v)) : (d = g.MozTransform || g.OTransform || g.MsTransform || g.msTransform || g.transform || g.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"),
|
|
151
|
+
let a, v, d;
|
|
152
|
+
const g = De(n);
|
|
153
|
+
return u.WebKitCSSMatrix ? (v = g.transform || g.webkitTransform, v.split(",").length > 6 && (v = v.split(", ").map((y) => y.replace(",", ".")).join(", ")), d = new u.WebKitCSSMatrix(v === "none" ? "" : v)) : (d = g.MozTransform || g.OTransform || g.MsTransform || g.msTransform || g.transform || g.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), a = d.toString().split(",")), e === "x" && (u.WebKitCSSMatrix ? v = d.m41 : a.length === 16 ? v = parseFloat(a[12]) : v = parseFloat(a[4])), e === "y" && (u.WebKitCSSMatrix ? v = d.m42 : a.length === 16 ? v = parseFloat(a[13]) : v = parseFloat(a[5])), v || 0;
|
|
154
154
|
}
|
|
155
|
-
function Ze(
|
|
156
|
-
return typeof
|
|
155
|
+
function Ze(n) {
|
|
156
|
+
return typeof n == "object" && n !== null && n.constructor && Object.prototype.toString.call(n).slice(8, -1) === "Object";
|
|
157
157
|
}
|
|
158
|
-
function Ce(
|
|
159
|
-
|
|
158
|
+
function Ce(n, e) {
|
|
159
|
+
e === void 0 && (e = "");
|
|
160
|
+
const u = [...n.children];
|
|
161
|
+
return n instanceof HTMLSlotElement && u.push(...n.assignedElements()), e ? u.filter((a) => a.matches(e)) : u;
|
|
160
162
|
}
|
|
161
|
-
function Je(
|
|
163
|
+
function Je(n, e) {
|
|
162
164
|
e === void 0 && (e = []);
|
|
163
|
-
const u = document.createElement(
|
|
165
|
+
const u = document.createElement(n);
|
|
164
166
|
return u.classList.add(...Array.isArray(e) ? e : ke(e)), u;
|
|
165
167
|
}
|
|
166
|
-
function ze(
|
|
167
|
-
const e = V(), u = Le(),
|
|
168
|
+
function ze(n) {
|
|
169
|
+
const e = V(), u = Le(), a = n.getBoundingClientRect(), v = u.body, d = n.clientTop || v.clientTop || 0, g = n.clientLeft || v.clientLeft || 0, y = n === e ? e.scrollY : n.scrollTop, T = n === e ? e.scrollX : n.scrollLeft;
|
|
168
170
|
return {
|
|
169
|
-
top:
|
|
170
|
-
left:
|
|
171
|
+
top: a.top + y - d,
|
|
172
|
+
left: a.left + T - g
|
|
171
173
|
};
|
|
172
174
|
}
|
|
173
|
-
function Qe(
|
|
174
|
-
let e =
|
|
175
|
+
function Qe(n) {
|
|
176
|
+
let e = n, u;
|
|
175
177
|
if (e) {
|
|
176
178
|
for (u = 0; (e = e.previousSibling) !== null; )
|
|
177
179
|
e.nodeType === 1 && (u += 1);
|
|
178
180
|
return u;
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
|
-
function se(
|
|
183
|
+
function se(n, e) {
|
|
182
184
|
const u = [];
|
|
183
|
-
let
|
|
184
|
-
for (;
|
|
185
|
-
e ?
|
|
185
|
+
let a = n.parentElement;
|
|
186
|
+
for (; a; )
|
|
187
|
+
e ? a.matches(e) && u.push(a) : u.push(a), a = a.parentElement;
|
|
186
188
|
return u;
|
|
187
189
|
}
|
|
188
|
-
function Ue(
|
|
189
|
-
function u(
|
|
190
|
-
|
|
190
|
+
function Ue(n, e) {
|
|
191
|
+
function u(a) {
|
|
192
|
+
a.target === n && (e.call(n, a), n.removeEventListener("transitionend", u));
|
|
191
193
|
}
|
|
192
|
-
e &&
|
|
194
|
+
e && n.addEventListener("transitionend", u);
|
|
193
195
|
}
|
|
194
|
-
function _e(
|
|
195
|
-
const
|
|
196
|
-
return
|
|
196
|
+
function _e(n, e, u) {
|
|
197
|
+
const a = V();
|
|
198
|
+
return n[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(a.getComputedStyle(n, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(a.getComputedStyle(n, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
|
|
197
199
|
}
|
|
198
|
-
function et(
|
|
199
|
-
return (Array.isArray(
|
|
200
|
+
function et(n) {
|
|
201
|
+
return (Array.isArray(n) ? n : [n]).filter((e) => !!e);
|
|
200
202
|
}
|
|
201
|
-
function Ie(
|
|
203
|
+
function Ie(n) {
|
|
202
204
|
let {
|
|
203
205
|
swiper: e,
|
|
204
206
|
extendParams: u,
|
|
205
|
-
on:
|
|
207
|
+
on: a,
|
|
206
208
|
emit: v
|
|
207
|
-
} =
|
|
209
|
+
} = n;
|
|
208
210
|
const d = V();
|
|
209
211
|
u({
|
|
210
212
|
zoom: {
|
|
@@ -256,24 +258,24 @@ function Ie(r) {
|
|
|
256
258
|
get() {
|
|
257
259
|
return H;
|
|
258
260
|
},
|
|
259
|
-
set(
|
|
260
|
-
if (H !==
|
|
261
|
-
const s = t.imageEl,
|
|
262
|
-
v("zoomChange",
|
|
261
|
+
set(r) {
|
|
262
|
+
if (H !== r) {
|
|
263
|
+
const s = t.imageEl, o = t.slideEl;
|
|
264
|
+
v("zoomChange", r, s, o);
|
|
263
265
|
}
|
|
264
|
-
H =
|
|
266
|
+
H = r;
|
|
265
267
|
}
|
|
266
268
|
});
|
|
267
269
|
function F() {
|
|
268
270
|
if (m.length < 2) return 1;
|
|
269
|
-
const
|
|
270
|
-
return Math.sqrt((
|
|
271
|
+
const r = m[0].pageX, s = m[0].pageY, o = m[1].pageX, w = m[1].pageY;
|
|
272
|
+
return Math.sqrt((o - r) ** 2 + (w - s) ** 2);
|
|
271
273
|
}
|
|
272
274
|
function W() {
|
|
273
|
-
const
|
|
274
|
-
if (
|
|
275
|
-
const
|
|
276
|
-
return Math.min(
|
|
275
|
+
const r = e.params.zoom, s = t.imageWrapEl.getAttribute("data-swiper-zoom") || r.maxRatio;
|
|
276
|
+
if (r.limitToOriginalSize && t.imageEl && t.imageEl.naturalWidth) {
|
|
277
|
+
const o = t.imageEl.naturalWidth / t.imageEl.offsetWidth;
|
|
278
|
+
return Math.min(o, s);
|
|
277
279
|
}
|
|
278
280
|
return s;
|
|
279
281
|
}
|
|
@@ -282,49 +284,49 @@ function Ie(r) {
|
|
|
282
284
|
x: null,
|
|
283
285
|
y: null
|
|
284
286
|
};
|
|
285
|
-
const
|
|
286
|
-
return [(m[0].pageX + (m[1].pageX - m[0].pageX) / 2 -
|
|
287
|
+
const r = t.imageEl.getBoundingClientRect();
|
|
288
|
+
return [(m[0].pageX + (m[1].pageX - m[0].pageX) / 2 - r.x - d.scrollX) / g, (m[0].pageY + (m[1].pageY - m[0].pageY) / 2 - r.y - d.scrollY) / g];
|
|
287
289
|
}
|
|
288
290
|
function N() {
|
|
289
291
|
return e.isElement ? "swiper-slide" : `.${e.params.slideClass}`;
|
|
290
292
|
}
|
|
291
|
-
function R(
|
|
293
|
+
function R(r) {
|
|
292
294
|
const s = N();
|
|
293
|
-
return !!(
|
|
295
|
+
return !!(r.target.matches(s) || e.slides.filter((o) => o.contains(r.target)).length > 0);
|
|
294
296
|
}
|
|
295
|
-
function l(
|
|
297
|
+
function l(r) {
|
|
296
298
|
const s = `.${e.params.zoom.containerClass}`;
|
|
297
|
-
return !!(
|
|
299
|
+
return !!(r.target.matches(s) || [...e.hostEl.querySelectorAll(s)].filter((o) => o.contains(r.target)).length > 0);
|
|
298
300
|
}
|
|
299
|
-
function f(
|
|
300
|
-
if (
|
|
301
|
+
function f(r) {
|
|
302
|
+
if (r.pointerType === "mouse" && m.splice(0, m.length), !R(r)) return;
|
|
301
303
|
const s = e.params.zoom;
|
|
302
|
-
if (T = !1, I = !1, m.push(
|
|
304
|
+
if (T = !1, I = !1, m.push(r), !(m.length < 2)) {
|
|
303
305
|
if (T = !0, t.scaleStart = F(), !t.slideEl) {
|
|
304
|
-
t.slideEl =
|
|
305
|
-
let
|
|
306
|
-
if (
|
|
306
|
+
t.slideEl = r.target.closest(`.${e.params.slideClass}, swiper-slide`), t.slideEl || (t.slideEl = e.slides[e.activeIndex]);
|
|
307
|
+
let o = t.slideEl.querySelector(`.${s.containerClass}`);
|
|
308
|
+
if (o && (o = o.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = o, o ? t.imageWrapEl = se(t.imageEl, `.${s.containerClass}`)[0] : t.imageWrapEl = void 0, !t.imageWrapEl) {
|
|
307
309
|
t.imageEl = void 0;
|
|
308
310
|
return;
|
|
309
311
|
}
|
|
310
312
|
t.maxRatio = W();
|
|
311
313
|
}
|
|
312
314
|
if (t.imageEl) {
|
|
313
|
-
const [
|
|
314
|
-
t.originX =
|
|
315
|
+
const [o, w] = Q();
|
|
316
|
+
t.originX = o, t.originY = w, t.imageEl.style.transitionDuration = "0ms";
|
|
315
317
|
}
|
|
316
318
|
y = !0;
|
|
317
319
|
}
|
|
318
320
|
}
|
|
319
|
-
function c(
|
|
320
|
-
if (!R(
|
|
321
|
-
const s = e.params.zoom,
|
|
322
|
-
w >= 0 && (m[w] =
|
|
321
|
+
function c(r) {
|
|
322
|
+
if (!R(r)) return;
|
|
323
|
+
const s = e.params.zoom, o = e.zoom, w = m.findIndex((S) => S.pointerId === r.pointerId);
|
|
324
|
+
w >= 0 && (m[w] = r), !(m.length < 2) && (I = !0, t.scaleMove = F(), t.imageEl && (o.scale = t.scaleMove / t.scaleStart * g, o.scale > t.maxRatio && (o.scale = t.maxRatio - 1 + (o.scale - t.maxRatio + 1) ** 0.5), o.scale < s.minRatio && (o.scale = s.minRatio + 1 - (s.minRatio - o.scale + 1) ** 0.5), t.imageEl.style.transform = `translate3d(0,0,0) scale(${o.scale})`));
|
|
323
325
|
}
|
|
324
|
-
function h(
|
|
325
|
-
if (!R(
|
|
326
|
-
const s = e.params.zoom,
|
|
327
|
-
w >= 0 && m.splice(w, 1), !(!T || !I) && (T = !1, I = !1, t.imageEl && (
|
|
326
|
+
function h(r) {
|
|
327
|
+
if (!R(r) || r.pointerType === "mouse" && r.type === "pointerout") return;
|
|
328
|
+
const s = e.params.zoom, o = e.zoom, w = m.findIndex((S) => S.pointerId === r.pointerId);
|
|
329
|
+
w >= 0 && m.splice(w, 1), !(!T || !I) && (T = !1, I = !1, t.imageEl && (o.scale = Math.max(Math.min(o.scale, t.maxRatio), s.minRatio), t.imageEl.style.transitionDuration = `${e.params.speed}ms`, t.imageEl.style.transform = `translate3d(0,0,0) scale(${o.scale})`, g = o.scale, y = !1, o.scale > 1 && t.slideEl ? t.slideEl.classList.add(`${s.zoomedSlideClass}`) : o.scale <= 1 && t.slideEl && t.slideEl.classList.remove(`${s.zoomedSlideClass}`), o.scale === 1 && (t.originX = 0, t.originY = 0, t.slideEl = void 0)));
|
|
328
330
|
}
|
|
329
331
|
let E;
|
|
330
332
|
function j() {
|
|
@@ -335,22 +337,22 @@ function Ie(r) {
|
|
|
335
337
|
j();
|
|
336
338
|
});
|
|
337
339
|
}
|
|
338
|
-
function b(
|
|
340
|
+
function b(r) {
|
|
339
341
|
const s = e.device;
|
|
340
342
|
if (!t.imageEl || i.isTouched) return;
|
|
341
|
-
s.android &&
|
|
342
|
-
const
|
|
343
|
-
i.touchesStart.x =
|
|
343
|
+
s.android && r.cancelable && r.preventDefault(), i.isTouched = !0;
|
|
344
|
+
const o = m.length > 0 ? m[0] : r;
|
|
345
|
+
i.touchesStart.x = o.pageX, i.touchesStart.y = o.pageY;
|
|
344
346
|
}
|
|
345
|
-
function x(
|
|
346
|
-
if (!R(
|
|
347
|
+
function x(r) {
|
|
348
|
+
if (!R(r) || !l(r))
|
|
347
349
|
return;
|
|
348
350
|
const s = e.zoom;
|
|
349
351
|
if (!t.imageEl || !i.isTouched || !t.slideEl)
|
|
350
352
|
return;
|
|
351
353
|
i.isMoved || (i.width = t.imageEl.offsetWidth || t.imageEl.clientWidth, i.height = t.imageEl.offsetHeight || t.imageEl.clientHeight, i.startX = xe(t.imageWrapEl, "x") || 0, i.startY = xe(t.imageWrapEl, "y") || 0, t.slideWidth = t.slideEl.offsetWidth, t.slideHeight = t.slideEl.offsetHeight, t.imageWrapEl.style.transitionDuration = "0ms");
|
|
352
|
-
const
|
|
353
|
-
if (i.minX = Math.min(t.slideWidth / 2 -
|
|
354
|
+
const o = i.width * s.scale, w = i.height * s.scale;
|
|
355
|
+
if (i.minX = Math.min(t.slideWidth / 2 - o / 2, 0), i.maxX = -i.minX, i.minY = Math.min(t.slideHeight / 2 - w / 2, 0), i.maxY = -i.minY, i.touchesCurrent.x = m.length > 0 ? m[0].pageX : r.pageX, i.touchesCurrent.y = m.length > 0 ? m[0].pageY : r.pageY, Math.max(Math.abs(i.touchesCurrent.x - i.touchesStart.x), Math.abs(i.touchesCurrent.y - i.touchesStart.y)) > 5 && (e.allowClick = !1), !i.isMoved && !y) {
|
|
354
356
|
if (e.isHorizontal() && (Math.floor(i.minX) === Math.floor(i.startX) && i.touchesCurrent.x < i.touchesStart.x || Math.floor(i.maxX) === Math.floor(i.startX) && i.touchesCurrent.x > i.touchesStart.x)) {
|
|
355
357
|
i.isTouched = !1, j();
|
|
356
358
|
return;
|
|
@@ -360,7 +362,7 @@ function Ie(r) {
|
|
|
360
362
|
return;
|
|
361
363
|
}
|
|
362
364
|
}
|
|
363
|
-
|
|
365
|
+
r.cancelable && r.preventDefault(), r.stopPropagation(), U(), i.isMoved = !0;
|
|
364
366
|
const P = (s.scale - g) / (t.maxRatio - e.params.zoom.minRatio), {
|
|
365
367
|
originX: L,
|
|
366
368
|
originY: A
|
|
@@ -368,56 +370,56 @@ function Ie(r) {
|
|
|
368
370
|
i.currentX = i.touchesCurrent.x - i.touchesStart.x + i.startX + P * (i.width - L * 2), i.currentY = i.touchesCurrent.y - i.touchesStart.y + i.startY + P * (i.height - A * 2), i.currentX < i.minX && (i.currentX = i.minX + 1 - (i.minX - i.currentX + 1) ** 0.8), i.currentX > i.maxX && (i.currentX = i.maxX - 1 + (i.currentX - i.maxX + 1) ** 0.8), i.currentY < i.minY && (i.currentY = i.minY + 1 - (i.minY - i.currentY + 1) ** 0.8), i.currentY > i.maxY && (i.currentY = i.maxY - 1 + (i.currentY - i.maxY + 1) ** 0.8), p.prevPositionX || (p.prevPositionX = i.touchesCurrent.x), p.prevPositionY || (p.prevPositionY = i.touchesCurrent.y), p.prevTime || (p.prevTime = Date.now()), p.x = (i.touchesCurrent.x - p.prevPositionX) / (Date.now() - p.prevTime) / 2, p.y = (i.touchesCurrent.y - p.prevPositionY) / (Date.now() - p.prevTime) / 2, Math.abs(i.touchesCurrent.x - p.prevPositionX) < 2 && (p.x = 0), Math.abs(i.touchesCurrent.y - p.prevPositionY) < 2 && (p.y = 0), p.prevPositionX = i.touchesCurrent.x, p.prevPositionY = i.touchesCurrent.y, p.prevTime = Date.now(), t.imageWrapEl.style.transform = `translate3d(${i.currentX}px, ${i.currentY}px,0)`;
|
|
369
371
|
}
|
|
370
372
|
function z() {
|
|
371
|
-
const
|
|
373
|
+
const r = e.zoom;
|
|
372
374
|
if (!t.imageEl) return;
|
|
373
375
|
if (!i.isTouched || !i.isMoved) {
|
|
374
376
|
i.isTouched = !1, i.isMoved = !1;
|
|
375
377
|
return;
|
|
376
378
|
}
|
|
377
379
|
i.isTouched = !1, i.isMoved = !1;
|
|
378
|
-
let s = 300,
|
|
379
|
-
const w = p.x * s, S = i.currentX + w, P = p.y *
|
|
380
|
-
p.x !== 0 && (s = Math.abs((S - i.currentX) / p.x)), p.y !== 0 && (
|
|
381
|
-
const A = Math.max(s,
|
|
380
|
+
let s = 300, o = 300;
|
|
381
|
+
const w = p.x * s, S = i.currentX + w, P = p.y * o, L = i.currentY + P;
|
|
382
|
+
p.x !== 0 && (s = Math.abs((S - i.currentX) / p.x)), p.y !== 0 && (o = Math.abs((L - i.currentY) / p.y));
|
|
383
|
+
const A = Math.max(s, o);
|
|
382
384
|
i.currentX = S, i.currentY = L;
|
|
383
|
-
const G = i.width *
|
|
385
|
+
const G = i.width * r.scale, X = i.height * r.scale;
|
|
384
386
|
i.minX = Math.min(t.slideWidth / 2 - G / 2, 0), i.maxX = -i.minX, i.minY = Math.min(t.slideHeight / 2 - X / 2, 0), i.maxY = -i.minY, i.currentX = Math.max(Math.min(i.currentX, i.maxX), i.minX), i.currentY = Math.max(Math.min(i.currentY, i.maxY), i.minY), t.imageWrapEl.style.transitionDuration = `${A}ms`, t.imageWrapEl.style.transform = `translate3d(${i.currentX}px, ${i.currentY}px,0)`;
|
|
385
387
|
}
|
|
386
388
|
function C() {
|
|
387
|
-
const
|
|
388
|
-
t.slideEl && e.activeIndex !== e.slides.indexOf(t.slideEl) && (t.imageEl && (t.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), t.imageWrapEl && (t.imageWrapEl.style.transform = "translate3d(0,0,0)"), t.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),
|
|
389
|
+
const r = e.zoom;
|
|
390
|
+
t.slideEl && e.activeIndex !== e.slides.indexOf(t.slideEl) && (t.imageEl && (t.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), t.imageWrapEl && (t.imageWrapEl.style.transform = "translate3d(0,0,0)"), t.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`), r.scale = 1, g = 1, t.slideEl = void 0, t.imageEl = void 0, t.imageWrapEl = void 0, t.originX = 0, t.originY = 0);
|
|
389
391
|
}
|
|
390
|
-
function oe(
|
|
391
|
-
const s = e.zoom,
|
|
392
|
+
function oe(r) {
|
|
393
|
+
const s = e.zoom, o = e.params.zoom;
|
|
392
394
|
if (!t.slideEl) {
|
|
393
|
-
|
|
394
|
-
let B = t.slideEl.querySelector(`.${
|
|
395
|
-
B && (B = B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = B, B ? t.imageWrapEl = se(t.imageEl, `.${
|
|
395
|
+
r && r.target && (t.slideEl = r.target.closest(`.${e.params.slideClass}, swiper-slide`)), t.slideEl || (e.params.virtual && e.params.virtual.enabled && e.virtual ? t.slideEl = Ce(e.slidesEl, `.${e.params.slideActiveClass}`)[0] : t.slideEl = e.slides[e.activeIndex]);
|
|
396
|
+
let B = t.slideEl.querySelector(`.${o.containerClass}`);
|
|
397
|
+
B && (B = B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = B, B ? t.imageWrapEl = se(t.imageEl, `.${o.containerClass}`)[0] : t.imageWrapEl = void 0;
|
|
396
398
|
}
|
|
397
399
|
if (!t.imageEl || !t.imageWrapEl) return;
|
|
398
|
-
e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), t.slideEl.classList.add(`${
|
|
400
|
+
e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), t.slideEl.classList.add(`${o.zoomedSlideClass}`);
|
|
399
401
|
let w, S, P, L, A, G, X, O, pe, fe, ge, he, K, Z, _, ee, te, ie;
|
|
400
|
-
typeof i.touchesStart.x > "u" &&
|
|
401
|
-
const q = typeof
|
|
402
|
+
typeof i.touchesStart.x > "u" && r ? (w = r.pageX, S = r.pageY) : (w = i.touchesStart.x, S = i.touchesStart.y);
|
|
403
|
+
const q = typeof r == "number" ? r : null;
|
|
402
404
|
g === 1 && q && (w = void 0, S = void 0);
|
|
403
405
|
const ve = W();
|
|
404
|
-
s.scale = q || ve, g = q || ve,
|
|
406
|
+
s.scale = q || ve, g = q || ve, r && !(g === 1 && q) ? (te = t.slideEl.offsetWidth, ie = t.slideEl.offsetHeight, P = ze(t.slideEl).left + d.scrollX, L = ze(t.slideEl).top + d.scrollY, A = P + te / 2 - w, G = L + ie / 2 - S, pe = t.imageEl.offsetWidth || t.imageEl.clientWidth, fe = t.imageEl.offsetHeight || t.imageEl.clientHeight, ge = pe * s.scale, he = fe * s.scale, K = Math.min(te / 2 - ge / 2, 0), Z = Math.min(ie / 2 - he / 2, 0), _ = -K, ee = -Z, X = A * s.scale, O = G * s.scale, X < K && (X = K), X > _ && (X = _), O < Z && (O = Z), O > ee && (O = ee)) : (X = 0, O = 0), q && s.scale === 1 && (t.originX = 0, t.originY = 0), t.imageWrapEl.style.transitionDuration = "300ms", t.imageWrapEl.style.transform = `translate3d(${X}px, ${O}px,0)`, t.imageEl.style.transitionDuration = "300ms", t.imageEl.style.transform = `translate3d(0,0,0) scale(${s.scale})`;
|
|
405
407
|
}
|
|
406
408
|
function le() {
|
|
407
|
-
const
|
|
409
|
+
const r = e.zoom, s = e.params.zoom;
|
|
408
410
|
if (!t.slideEl) {
|
|
409
411
|
e.params.virtual && e.params.virtual.enabled && e.virtual ? t.slideEl = Ce(e.slidesEl, `.${e.params.slideActiveClass}`)[0] : t.slideEl = e.slides[e.activeIndex];
|
|
410
|
-
let
|
|
411
|
-
|
|
412
|
+
let o = t.slideEl.querySelector(`.${s.containerClass}`);
|
|
413
|
+
o && (o = o.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = o, o ? t.imageWrapEl = se(t.imageEl, `.${s.containerClass}`)[0] : t.imageWrapEl = void 0;
|
|
412
414
|
}
|
|
413
|
-
!t.imageEl || !t.imageWrapEl || (e.params.cssMode && (e.wrapperEl.style.overflow = "", e.wrapperEl.style.touchAction = ""),
|
|
415
|
+
!t.imageEl || !t.imageWrapEl || (e.params.cssMode && (e.wrapperEl.style.overflow = "", e.wrapperEl.style.touchAction = ""), r.scale = 1, g = 1, t.imageWrapEl.style.transitionDuration = "300ms", t.imageWrapEl.style.transform = "translate3d(0,0,0)", t.imageEl.style.transitionDuration = "300ms", t.imageEl.style.transform = "translate3d(0,0,0) scale(1)", t.slideEl.classList.remove(`${s.zoomedSlideClass}`), t.slideEl = void 0, t.originX = 0, t.originY = 0);
|
|
414
416
|
}
|
|
415
|
-
function ue(
|
|
417
|
+
function ue(r) {
|
|
416
418
|
const s = e.zoom;
|
|
417
|
-
s.scale && s.scale !== 1 ? le() : oe(
|
|
419
|
+
s.scale && s.scale !== 1 ? le() : oe(r);
|
|
418
420
|
}
|
|
419
421
|
function ce() {
|
|
420
|
-
const
|
|
422
|
+
const r = e.params.passiveListeners ? {
|
|
421
423
|
passive: !0,
|
|
422
424
|
capture: !1
|
|
423
425
|
} : !1, s = e.params.passiveListeners ? {
|
|
@@ -425,47 +427,47 @@ function Ie(r) {
|
|
|
425
427
|
capture: !0
|
|
426
428
|
} : !0;
|
|
427
429
|
return {
|
|
428
|
-
passiveListener:
|
|
430
|
+
passiveListener: r,
|
|
429
431
|
activeListenerWithCapture: s
|
|
430
432
|
};
|
|
431
433
|
}
|
|
432
434
|
function de() {
|
|
433
|
-
const
|
|
434
|
-
if (
|
|
435
|
-
|
|
435
|
+
const r = e.zoom;
|
|
436
|
+
if (r.enabled) return;
|
|
437
|
+
r.enabled = !0;
|
|
436
438
|
const {
|
|
437
439
|
passiveListener: s,
|
|
438
|
-
activeListenerWithCapture:
|
|
440
|
+
activeListenerWithCapture: o
|
|
439
441
|
} = ce();
|
|
440
|
-
e.wrapperEl.addEventListener("pointerdown", f, s), e.wrapperEl.addEventListener("pointermove", c,
|
|
442
|
+
e.wrapperEl.addEventListener("pointerdown", f, s), e.wrapperEl.addEventListener("pointermove", c, o), ["pointerup", "pointercancel", "pointerout"].forEach((w) => {
|
|
441
443
|
e.wrapperEl.addEventListener(w, h, s);
|
|
442
|
-
}), e.wrapperEl.addEventListener("pointermove", x,
|
|
444
|
+
}), e.wrapperEl.addEventListener("pointermove", x, o);
|
|
443
445
|
}
|
|
444
446
|
function me() {
|
|
445
|
-
const
|
|
446
|
-
if (!
|
|
447
|
-
|
|
447
|
+
const r = e.zoom;
|
|
448
|
+
if (!r.enabled) return;
|
|
449
|
+
r.enabled = !1;
|
|
448
450
|
const {
|
|
449
451
|
passiveListener: s,
|
|
450
|
-
activeListenerWithCapture:
|
|
452
|
+
activeListenerWithCapture: o
|
|
451
453
|
} = ce();
|
|
452
|
-
e.wrapperEl.removeEventListener("pointerdown", f, s), e.wrapperEl.removeEventListener("pointermove", c,
|
|
454
|
+
e.wrapperEl.removeEventListener("pointerdown", f, s), e.wrapperEl.removeEventListener("pointermove", c, o), ["pointerup", "pointercancel", "pointerout"].forEach((w) => {
|
|
453
455
|
e.wrapperEl.removeEventListener(w, h, s);
|
|
454
|
-
}), e.wrapperEl.removeEventListener("pointermove", x,
|
|
456
|
+
}), e.wrapperEl.removeEventListener("pointermove", x, o);
|
|
455
457
|
}
|
|
456
|
-
|
|
458
|
+
a("init", () => {
|
|
457
459
|
e.params.zoom.enabled && de();
|
|
458
|
-
}),
|
|
460
|
+
}), a("destroy", () => {
|
|
459
461
|
me();
|
|
460
|
-
}),
|
|
462
|
+
}), a("touchStart", (r, s) => {
|
|
461
463
|
e.zoom.enabled && b(s);
|
|
462
|
-
}),
|
|
464
|
+
}), a("touchEnd", (r, s) => {
|
|
463
465
|
e.zoom.enabled && z();
|
|
464
|
-
}),
|
|
466
|
+
}), a("doubleTap", (r, s) => {
|
|
465
467
|
!e.animating && e.params.zoom.enabled && e.zoom.enabled && e.params.zoom.toggle && ue(s);
|
|
466
|
-
}),
|
|
468
|
+
}), a("transitionEnd", () => {
|
|
467
469
|
e.zoom.enabled && e.params.zoom.enabled && C();
|
|
468
|
-
}),
|
|
470
|
+
}), a("slideChange", () => {
|
|
469
471
|
e.zoom.enabled && e.params.zoom.enabled && e.params.cssMode && C();
|
|
470
472
|
}), Object.assign(e.zoom, {
|
|
471
473
|
enable: de,
|
|
@@ -489,47 +491,47 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
489
491
|
shiftFirstImage: { type: Boolean, default: !1 }
|
|
490
492
|
},
|
|
491
493
|
emits: ["moved", "click", "firstSlideLoaded"],
|
|
492
|
-
setup(
|
|
493
|
-
const
|
|
494
|
+
setup(n, { expose: e, emit: u }) {
|
|
495
|
+
const a = n, v = u, d = Me({
|
|
494
496
|
swiperParams: { modules: [Ie] },
|
|
495
497
|
swiper: null,
|
|
496
498
|
initCarousel: !1
|
|
497
|
-
}), g = we(), y = k(() =>
|
|
498
|
-
const l =
|
|
499
|
+
}), g = we(), y = k(() => a.swiperOptions?.slidesPerView || 1), T = k(() => a.thumbSwiperOptions?.slidesPerView || 1), I = k(() => !!a.swiperOptions?.keyboard), m = k(() => {
|
|
500
|
+
const l = a.swiperOptions;
|
|
499
501
|
return l ? !!l.navigation : !1;
|
|
500
502
|
}), t = k(() => {
|
|
501
|
-
const l =
|
|
503
|
+
const l = a.swiperOptions;
|
|
502
504
|
return l ? !!l.pagination : !1;
|
|
503
505
|
}), i = k(() => {
|
|
504
|
-
const l =
|
|
506
|
+
const l = a.swiperOptions;
|
|
505
507
|
return l ? !!l.autoplay : !1;
|
|
506
508
|
}), p = k(
|
|
507
|
-
() =>
|
|
509
|
+
() => a.swiperOptions?.effect || "slider"
|
|
508
510
|
), H = () => {
|
|
509
|
-
|
|
511
|
+
a.swiperOptions && Pe(a.swiperOptions, d.swiperParams);
|
|
510
512
|
}, F = (l, f = -1) => {
|
|
511
513
|
if (!l.images)
|
|
512
514
|
return { src: l.src || "" };
|
|
513
515
|
let c = "", h = "", E = "";
|
|
514
|
-
if (
|
|
515
|
-
for (const b in
|
|
516
|
-
const { mq: x, width: z } =
|
|
516
|
+
if (a.artDirection) {
|
|
517
|
+
for (const b in a.artDirection) {
|
|
518
|
+
const { mq: x, width: z } = a.artDirection[b];
|
|
517
519
|
z && (E += E ? `,${x} ${parseInt(z)}px` : `${x} ${parseInt(z)}px`);
|
|
518
520
|
}
|
|
519
521
|
h = l.images.reduce((b, x, z) => {
|
|
520
|
-
const C = Object.values(
|
|
522
|
+
const C = Object.values(a.artDirection)[z];
|
|
521
523
|
return !C || !C.width || (b += b ? `, ${x.storagePath} ${C.width}` : `${x.storagePath} ${C.width}`), b;
|
|
522
524
|
}, ""), c = l.images[0].storagePath;
|
|
523
525
|
} else {
|
|
524
526
|
let b = l.images;
|
|
525
|
-
l.images.length > 3 ? b = l.images.slice(2, 5) :
|
|
527
|
+
l.images.length > 3 ? b = l.images.slice(2, 5) : a.shiftFirstImage && (b[0] = b[1]), h = b.reduce((x, z, C) => (C === 0 && (c = `${z.storagePath}`), C > 0 && (x += ", "), `${x}${z.storagePath} ${C + 1}x`), "");
|
|
526
528
|
}
|
|
527
529
|
const j = c, U = h;
|
|
528
530
|
return typeof y.value == "number" && f > y.value ? (c = "", h = "", { sizes: E, "data-src": j, "data-srcset": U }) : { src: c, srcset: h, sizes: E };
|
|
529
531
|
}, W = [], Q = (l) => {
|
|
530
532
|
if (typeof y.value == "string") return;
|
|
531
533
|
const f = W[l];
|
|
532
|
-
if (f && !f.src && (f.src = f.dataset.src || "", f.srcset = f.dataset.srcset || ""), l < y.value || l + 1 >= (
|
|
534
|
+
if (f && !f.src && (f.src = f.dataset.src || "", f.srcset = f.dataset.srcset || ""), l < y.value || l + 1 >= (a.images ?? []).length)
|
|
533
535
|
return;
|
|
534
536
|
const c = W[l + 1];
|
|
535
537
|
c && !c.src && (c.src = c?.dataset.src || "", c.srcset = c?.dataset.srcset || "");
|
|
@@ -546,11 +548,11 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
546
548
|
};
|
|
547
549
|
return $e(async () => {
|
|
548
550
|
if (H(), I.value) {
|
|
549
|
-
const { Keyboard: c } = await import("./index.
|
|
550
|
-
d.swiperParams.modules?.push(c), d.swiperParams.keyboard =
|
|
551
|
+
const { Keyboard: c } = await import("./index.C70510OV.js");
|
|
552
|
+
d.swiperParams.modules?.push(c), d.swiperParams.keyboard = a.swiperOptions.keyboard;
|
|
551
553
|
}
|
|
552
554
|
if (t.value) {
|
|
553
|
-
const { Pagination: c } = await import("./index.
|
|
555
|
+
const { Pagination: c } = await import("./index.C70510OV.js");
|
|
554
556
|
d.swiperParams.modules?.push(c), d.swiperParams.pagination = {
|
|
555
557
|
el: ".swiper-pagination",
|
|
556
558
|
renderFraction: (h, E) => `<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]">
|
|
@@ -562,24 +564,24 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
562
564
|
};
|
|
563
565
|
}
|
|
564
566
|
if (m.value) {
|
|
565
|
-
const { Navigation: c } = await import("./index.
|
|
567
|
+
const { Navigation: c } = await import("./index.C70510OV.js");
|
|
566
568
|
d.swiperParams.modules?.push(c);
|
|
567
569
|
const h = {
|
|
568
|
-
...
|
|
570
|
+
...a.swiperOptions.navigation.nextEl ?? {
|
|
569
571
|
nextEl: ".swiper-button-next"
|
|
570
572
|
},
|
|
571
|
-
...
|
|
573
|
+
...a.swiperOptions.navigation.prevEl ?? {
|
|
572
574
|
prevEl: ".swiper-button-prev"
|
|
573
575
|
}
|
|
574
576
|
};
|
|
575
577
|
d.swiperParams.navigation = {
|
|
576
|
-
...typeof
|
|
578
|
+
...typeof a.swiperOptions.navigation == "object" ? a.swiperOptions.navigation : {},
|
|
577
579
|
...h
|
|
578
580
|
};
|
|
579
581
|
}
|
|
580
582
|
if (i.value) {
|
|
581
|
-
const { Autoplay: c } = await import("./index.
|
|
582
|
-
d.swiperParams.modules?.push(c), d.swiperParams.autoplay =
|
|
583
|
+
const { Autoplay: c } = await import("./index.C70510OV.js");
|
|
584
|
+
d.swiperParams.modules?.push(c), d.swiperParams.autoplay = a.swiperOptions.autoplay;
|
|
583
585
|
}
|
|
584
586
|
const l = {
|
|
585
587
|
...d.swiperParams,
|
|
@@ -590,16 +592,16 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
590
592
|
}
|
|
591
593
|
};
|
|
592
594
|
let f = null;
|
|
593
|
-
if (
|
|
594
|
-
const { Thumbs: c, FreeMode: h, Controller: E } = await import("./index.
|
|
595
|
-
d.swiperParams.modules?.push(c), d.swiperParams.modules?.push(E), f = new be(`#thumb_${
|
|
596
|
-
...
|
|
595
|
+
if (a.thumbSwiperOptions) {
|
|
596
|
+
const { Thumbs: c, FreeMode: h, Controller: E } = await import("./index.C70510OV.js");
|
|
597
|
+
d.swiperParams.modules?.push(c), d.swiperParams.modules?.push(E), f = new be(`#thumb_${a.id}`, {
|
|
598
|
+
...a.thumbSwiperOptions,
|
|
597
599
|
modules: [h]
|
|
598
600
|
}), l.thumbs = {
|
|
599
601
|
swiper: f
|
|
600
602
|
};
|
|
601
603
|
}
|
|
602
|
-
l.lazyPreloadPrevNext = 1, d.swiper = new be(`#${
|
|
604
|
+
l.lazyPreloadPrevNext = 1, d.swiper = new be(`#${a.id}`, l), g.value?.classList.remove("uikit-hidden");
|
|
603
605
|
}), (l, f) => (Y(), M("div", {
|
|
604
606
|
id: `root-${l.id}`,
|
|
605
607
|
ref_key: "root",
|
|
@@ -621,7 +623,7 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
621
623
|
onClick: f[0] || (f[0] = (c) => v("click"))
|
|
622
624
|
}, [
|
|
623
625
|
Te(l.$slots, "default", {}, () => [
|
|
624
|
-
(Y(!0), M(
|
|
626
|
+
(Y(!0), M(ne, null, Ee(l.images, (c, h) => (Y(), M("div", {
|
|
625
627
|
key: `swiper_${l.id}_${h}`,
|
|
626
628
|
class: $(["swiper-slide", l.$attrs["swiper-slide-classes"]])
|
|
627
629
|
}, [
|
|
@@ -651,20 +653,20 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
651
653
|
t.value ? (Y(), M("div", {
|
|
652
654
|
key: 0,
|
|
653
655
|
class: $([l.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
|
|
654
|
-
onClick: f[1] || (f[1] =
|
|
656
|
+
onClick: f[1] || (f[1] = re(() => {
|
|
655
657
|
}, ["stop"]))
|
|
656
658
|
}, null, 2)) : J("", !0),
|
|
657
|
-
m.value ? (Y(), M(
|
|
659
|
+
m.value ? (Y(), M(ne, { key: 1 }, [
|
|
658
660
|
D("div", {
|
|
659
661
|
class: "swiper-button-prev",
|
|
660
662
|
"data-cy": "swiper-button-prev",
|
|
661
|
-
onClick: f[2] || (f[2] =
|
|
663
|
+
onClick: f[2] || (f[2] = re(() => {
|
|
662
664
|
}, ["stop"]))
|
|
663
665
|
}),
|
|
664
666
|
D("div", {
|
|
665
667
|
class: "swiper-button-next",
|
|
666
668
|
"data-cy": "swiper-button-next",
|
|
667
|
-
onClick: f[3] || (f[3] =
|
|
669
|
+
onClick: f[3] || (f[3] = re(() => {
|
|
668
670
|
}, ["stop"]))
|
|
669
671
|
})
|
|
670
672
|
], 64)) : J("", !0)
|
|
@@ -678,7 +680,7 @@ const Re = ["id"], Ae = ["id", "data-cy"], He = ["data-idx", "loading", "alt", "
|
|
|
678
680
|
D("div", {
|
|
679
681
|
class: $(["swiper-wrapper", l.$attrs["thumb-swiper-wrapper-classes"]])
|
|
680
682
|
}, [
|
|
681
|
-
(Y(!0), M(
|
|
683
|
+
(Y(!0), M(ne, null, Ee(l.images, (c, h) => (Y(), M("div", {
|
|
682
684
|
key: `thumb_${l.id}_${h}`,
|
|
683
685
|
class: $(["swiper-slide", l.$attrs["thumb-img-wrapper-classes"]])
|
|
684
686
|
}, [
|