@wikicasa-dev/components 2.2.9-alpha.32 → 2.2.9-alpha.35
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.js +3 -4
- package/dist/Swiper/controller.js +1 -2
- package/dist/Swiper/free-mode.js +3 -4
- package/dist/Swiper/keyboard.js +3 -4
- package/dist/Swiper/navigation.js +3 -4
- package/dist/Swiper/pagination.js +3 -4
- package/dist/Swiper/thumbs.js +3 -4
- package/dist/UIKit/AccessibleSelect.js +2 -3
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionItem.js +2 -3
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +2 -3
- package/dist/UIKit/BaseAlert.js +2 -3
- package/dist/UIKit/BaseAutocomplete.js +2 -3
- package/dist/UIKit/BaseBadge.js +2 -3
- package/dist/UIKit/BaseBreadcrumb.js +1 -1
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +36 -5
- package/dist/UIKit/BaseComplexToggle.js +105 -5
- package/dist/UIKit/BaseDropDown.d.ts +4 -2
- package/dist/UIKit/BaseDropDown.js +2 -3
- package/dist/UIKit/BaseFloatingLabel.js +39 -5
- package/dist/UIKit/BaseInput.js +210 -5
- package/dist/UIKit/BaseModal.js +2 -3
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +206 -5
- package/dist/UIKit/BaseSnackbar.js +2 -3
- package/dist/UIKit/BaseTextarea.js +126 -5
- package/dist/UIKit/BaseToggle.js +41 -5
- package/dist/UIKit/BaseTooltip.js +40 -5
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -3
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
- package/dist/UIKit/Radio/RadioButton.js +1 -1
- package/dist/UIKit/Radio/RadioGroup.js +1 -1
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +20 -5
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.js +81 -5
- package/dist/UIKit/StaticSpinner.js +26 -5
- package/dist/UIKit/Tab/BaseTab.js +1 -1
- package/dist/UIKit/Tab/BaseTabList.js +1 -1
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
- package/dist/UIKit/Tab/BaseTabView.js +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/chart/DoughnutChart.js +1 -1
- package/dist/chart/LineChart.js +1 -1
- package/dist/{packages/components/lib/UIKit/AccessibleSelect.vue.js → chunks/AccessibleSelect.vue_vue_type_style_index_0_lang.DWwkWpAC.js} +69 -70
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js → chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.Qp6BrYox.js} +5 -5
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js → chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.CL5zNPzY.js} +4 -4
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js → chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.BqjzG2As.js} +5 -5
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js → chunks/BaseAccordionItem.vue_vue_type_style_index_0_lang.DwEHSyBO.js} +4 -4
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BVR-COlL.js +19 -0
- package/dist/{packages/components/lib/UIKit/BaseAutocomplete.vue.js → chunks/BaseAutocomplete.vue_vue_type_style_index_0_lang.BW_JCkOV.js} +24 -25
- package/dist/{packages/components/lib/UIKit/BaseBadge.vue.js → chunks/BaseBadge.vue_vue_type_style_index_0_lang.BnYtlFXq.js} +6 -6
- package/dist/{packages/components/lib/UIKit/BaseBreadcrumb.vue.js → chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.CcfuB26u.js} +7 -7
- package/dist/{packages/components/lib/UIKit/BaseButton.vue.js → chunks/BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js} +2 -2
- package/dist/{packages/components/lib/UIKit/BaseDropDown.vue.js → chunks/BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js} +39 -37
- package/dist/{packages/components/lib/UIKit/BaseModal.vue.js → chunks/BaseModal.vue_vue_type_style_index_0_lang.B8U_buif.js} +2 -2
- package/dist/{packages/components/lib/UIKit/BasePagination.vue.js → chunks/BasePagination.vue_vue_type_script_setup_true_lang.CkGMhOm-.js} +1 -1
- package/dist/{packages/components/lib/UIKit/BaseSnackbar.vue.js → chunks/BaseSnackbar.vue_vue_type_style_index_0_lang.DJqVfg6P.js} +2 -2
- package/dist/{packages/components/lib/UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabList.vue.js → chunks/BaseTabList.vue_vue_type_script_setup_true_lang.BXvkXKbT.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js → chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CM1ObHXU.js} +1 -1
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabView.vue.js → chunks/BaseTabView.vue_vue_type_script_setup_true_lang.BocXkfTw.js} +17 -17
- package/dist/{packages/components/lib/UIKit/BaseUploadFile.vue.js → chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.DMPiMivr.js} +7 -7
- package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js → chunks/CheckboxBtn.vue_vue_type_style_index_0_lang.MYOfjOwM.js} +8 -8
- package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js → chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.aDZDPjgR.js} +3 -4
- package/dist/{packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js → chunks/ClearableAutocomplete.vue_vue_type_style_index_0_lang.DUOBcBPN.js} +4 -5
- package/dist/{packages/components/lib/chart/DoughnutChart.vue.js → chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.yALl_gpB.js} +6 -6
- package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js → chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BidNzYDc.js} +5 -5
- package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js → chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BnLNx3be.js} +3 -3
- package/dist/{packages/components/lib/chart/LineChart.vue.js → chunks/LineChart.vue_vue_type_script_setup_true_lang.Df20jEOd.js} +7 -7
- package/dist/{packages/components/lib/UIKit/Radio/RadioButton.vue.js → chunks/RadioButton.vue_vue_type_script_setup_true_lang.g-a7DM3l.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Radio/RadioGroup.vue.js → chunks/RadioGroup.vue_vue_type_script_setup_true_lang.DtBZuHm2.js} +3 -3
- package/dist/{packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js → chunks/SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js} +9 -9
- package/dist/{packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js → chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DEb8nfZp.js} +4 -4
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +243 -6
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/index.js +82 -92
- package/package.json +2 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/assets/SwiperCarousel2.css +0 -1
- package/dist/assets/swiper-swiper.css +0 -1
- package/dist/assets/swiper-zoom.css +0 -1
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +0 -19
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +0 -106
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +0 -40
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +0 -211
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +0 -207
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +0 -127
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +0 -42
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -21
- package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
- package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +0 -27
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +0 -246
- /package/dist/assets/{swiper-free-mode.css → free-mode.css} +0 -0
- /package/dist/assets/{swiper-navigation.css → navigation.css} +0 -0
- /package/dist/assets/{swiper-pagination.css → pagination.css} +0 -0
- /package/dist/assets/{swiper-thumbs.css → thumbs.css} +0 -0
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, mergeModels as c, useModel as h, ref as $, watch as L, createElementBlock as b, openBlock as f, normalizeClass as s, createElementVNode as r, createCommentVNode as v, unref as u, createVNode as M, withModifiers as o, nextTick as C } from "vue";
|
|
2
|
-
import F from "../../../../UIKit/BaseFloatingLabel.js";
|
|
3
|
-
import { useFloatingLabel as B } from "../../../../composables/useFloatingLabel.js";
|
|
4
|
-
const z = ["id", "data-cy", "rows", "disabled", "aria-labelledby", "readonly", "value"], E = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "uikit-visible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-duration-[50s] uikit-ease-out"
|
|
7
|
-
}, H = ["innerHTML"], q = ["innerHTML"], S = /* @__PURE__ */ T({
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
__name: "BaseTextarea",
|
|
10
|
-
props: /* @__PURE__ */ c({
|
|
11
|
-
labelText: { default: "" },
|
|
12
|
-
feedback: {},
|
|
13
|
-
isValid: { type: [Boolean, null], default: null },
|
|
14
|
-
resize: { type: Boolean, default: !1 },
|
|
15
|
-
labelClasses: {}
|
|
16
|
-
}, {
|
|
17
|
-
modelValue: { default: "" },
|
|
18
|
-
modelModifiers: {}
|
|
19
|
-
}),
|
|
20
|
-
emits: /* @__PURE__ */ c(["focusin", "focusout", "click", "keydown"], ["update:modelValue"]),
|
|
21
|
-
setup(e, { expose: m, emit: x }) {
|
|
22
|
-
const n = h(e, "modelValue"), k = x, {
|
|
23
|
-
labelState: a,
|
|
24
|
-
handleFocusIn: w,
|
|
25
|
-
handleFocusOut: y,
|
|
26
|
-
setFloatingLabel: g,
|
|
27
|
-
setInlineLabel: p
|
|
28
|
-
} = B(k), t = $(null);
|
|
29
|
-
L(
|
|
30
|
-
n,
|
|
31
|
-
(i) => {
|
|
32
|
-
`${i}`.length && a.value !== "floating-label" ? g() : !i?.length && a.value !== "inline-label" && document.activeElement !== t.value && p();
|
|
33
|
-
},
|
|
34
|
-
{ immediate: !0 }
|
|
35
|
-
);
|
|
36
|
-
const V = ({ target: i }) => {
|
|
37
|
-
n.value = i.value;
|
|
38
|
-
};
|
|
39
|
-
return m({
|
|
40
|
-
disableTextarea: () => {
|
|
41
|
-
t.value && (t.value.setAttribute("readonly", "readonly"), t.value.classList.add("disabled"));
|
|
42
|
-
},
|
|
43
|
-
clearTextareaElem: () => {
|
|
44
|
-
t.value && (t.value.value = "");
|
|
45
|
-
},
|
|
46
|
-
focusDisabledTextarea: () => {
|
|
47
|
-
t.value && (t.value.removeAttribute("readonly"), t.value.classList.remove("disabled"), C(() => {
|
|
48
|
-
t.value && t.value.focus();
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
}), (i, l) => (f(), b("div", {
|
|
52
|
-
class: s(i.$attrs["wrapper-classes"])
|
|
53
|
-
}, [
|
|
54
|
-
r("div", {
|
|
55
|
-
class: s(["input-wrapper uikit-relative uikit-rounded-xs uikit-px-0", [
|
|
56
|
-
u(a) === "floating-label" ? "floating-state" : "inline-state"
|
|
57
|
-
]])
|
|
58
|
-
}, [
|
|
59
|
-
r("textarea", {
|
|
60
|
-
id: i.$attrs.id,
|
|
61
|
-
ref_key: "textarea",
|
|
62
|
-
ref: t,
|
|
63
|
-
"data-cy": i.$attrs["data-cy"],
|
|
64
|
-
class: s(["textarea-scrollbar uikit-peer/fieldset uikit-relative uikit-z-20 uikit-mb-10px uikit-mt-15px uikit-w-[calc(100%-1px)] uikit-overflow-y-auto uikit-whitespace-pre-wrap uikit-rounded-xs uikit-border-0 uikit-bg-transparent uikit-bg-no-repeat uikit-px-15px uikit-pb-[8px] uikit-outline-none", [
|
|
65
|
-
{ "is-invalid invalid-bg !uikit-pr-10": e.isValid === !1 },
|
|
66
|
-
{ "is-valid valid-bg !uikit-pr-10": e.isValid },
|
|
67
|
-
{ "uikit-resize-none": !e.resize },
|
|
68
|
-
i.$attrs.class
|
|
69
|
-
]]),
|
|
70
|
-
rows: i.$attrs.rows,
|
|
71
|
-
disabled: i.$attrs.disabled,
|
|
72
|
-
"aria-labelledby": i.$attrs.id,
|
|
73
|
-
readonly: i.$attrs.readonly,
|
|
74
|
-
onFocusin: l[0] || (l[0] = o((d) => u(w)(), ["stop"])),
|
|
75
|
-
onFocusout: l[1] || (l[1] = o((d) => u(y)(`${n.value}`.trim()), ["stop"])),
|
|
76
|
-
onInput: o(V, ["stop"]),
|
|
77
|
-
onKeydown: l[2] || (l[2] = o((d) => k("keydown", d), ["stop"])),
|
|
78
|
-
onClick: l[3] || (l[3] = (d) => k("click", d)),
|
|
79
|
-
value: n.value
|
|
80
|
-
}, null, 42, z),
|
|
81
|
-
r("fieldset", {
|
|
82
|
-
class: s(["uikit-pointer-events-none uikit-absolute -uikit-top-0 uikit-bottom-[3px] uikit-left-0 uikit-right-0 uikit-m-0 uikit-min-w-0 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-bg-white uikit-p-0 uikit-px-2 uikit-text-start uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus/fieldset:uikit-border-2 peer-focus/fieldset:uikit-border-w-primary peer-disabled/fieldset:uikit-bg-w-cultured peer-[&.disabled]/fieldset:uikit-bg-w-cultured peer-focus/fieldset:[&.is-invalid]:uikit-border-w-danger", [
|
|
83
|
-
{ "is-invalid": e.isValid === !1, "is-valid": e.isValid },
|
|
84
|
-
{ "uikit-border-w-danger": e.isValid === !1 },
|
|
85
|
-
{ "uikit-border-w-primary": e.isValid },
|
|
86
|
-
{ "uikit-border-w-secondary": e.isValid === null }
|
|
87
|
-
]])
|
|
88
|
-
}, [
|
|
89
|
-
e.labelText ? (f(), b("legend", E, [
|
|
90
|
-
r("span", {
|
|
91
|
-
class: s(["uikit-px-5px uikit-opacity-0", [
|
|
92
|
-
{
|
|
93
|
-
"uikit-visible uikit-inline-block": u(a) === "floating-label"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"uikit-invisible uikit-hidden": u(a) === "inline-label"
|
|
97
|
-
}
|
|
98
|
-
]]),
|
|
99
|
-
innerHTML: e.labelText
|
|
100
|
-
}, null, 10, H)
|
|
101
|
-
])) : v("", !0)
|
|
102
|
-
], 2),
|
|
103
|
-
M(F, {
|
|
104
|
-
for: i.$attrs.id,
|
|
105
|
-
"label-text": e.labelText,
|
|
106
|
-
"label-state": u(a),
|
|
107
|
-
required: i.$attrs.required,
|
|
108
|
-
"is-valid": e.isValid,
|
|
109
|
-
"label-classes": [
|
|
110
|
-
u(a) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4",
|
|
111
|
-
e.labelClasses
|
|
112
|
-
]
|
|
113
|
-
}, null, 8, ["for", "label-text", "label-state", "required", "is-valid", "label-classes"])
|
|
114
|
-
], 2),
|
|
115
|
-
(e.isValid || e.isValid === !1) && e.feedback ? (f(), b("div", {
|
|
116
|
-
key: 0,
|
|
117
|
-
class: s(
|
|
118
|
-
e.isValid === !1 ? "uikit-mt-1 uikit-text-12 uikit-text-w-danger" : "uikit-mt-1 uikit-text-12 uikit-text-w-primary"
|
|
119
|
-
),
|
|
120
|
-
innerHTML: e.isValid === !1 ? e.feedback.invalid : e.feedback.valid
|
|
121
|
-
}, null, 10, q)) : v("", !0)
|
|
122
|
-
], 2));
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
export {
|
|
126
|
-
S as default
|
|
127
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, mergeModels as n, useModel as d, createElementBlock as k, openBlock as b, normalizeClass as c, renderSlot as r, createElementVNode as i, createCommentVNode as f, withModifiers as m } from "vue";
|
|
2
|
-
const p = { class: "switch uikit-relative uikit-inline-block uikit-min-w-[40px] uikit-text-sm" }, h = ["data-cy", "checked"], g = ["innerHTML"], y = /* @__PURE__ */ s({
|
|
3
|
-
inheritAttrs: !1,
|
|
4
|
-
__name: "BaseToggle",
|
|
5
|
-
props: /* @__PURE__ */ n({
|
|
6
|
-
withRightLabel: { type: Boolean, default: !0 },
|
|
7
|
-
label: { default: "" }
|
|
8
|
-
}, {
|
|
9
|
-
modelValue: { type: Boolean, default: !1 },
|
|
10
|
-
modelModifiers: {}
|
|
11
|
-
}),
|
|
12
|
-
emits: ["update:modelValue"],
|
|
13
|
-
setup(o) {
|
|
14
|
-
const l = d(o, "modelValue"), u = ({ target: e }) => {
|
|
15
|
-
l.value = e.checked;
|
|
16
|
-
};
|
|
17
|
-
return (e, t) => (b(), k("div", {
|
|
18
|
-
class: c(["switch-container uikit-inline-block uikit-items-center", e.$attrs.class])
|
|
19
|
-
}, [
|
|
20
|
-
r(e.$slots, "leftLabel", {}, void 0, !0),
|
|
21
|
-
i("label", p, [
|
|
22
|
-
i("input", {
|
|
23
|
-
"data-cy": e.$attrs["data-cy"] ?? "",
|
|
24
|
-
class: "uikit-peer/toggle uikit-h-0 uikit-w-0 uikit-opacity-0",
|
|
25
|
-
type: "checkbox",
|
|
26
|
-
checked: l.value,
|
|
27
|
-
onInput: t[0] || (t[0] = m((a) => u(a), ["stop"]))
|
|
28
|
-
}, null, 40, h),
|
|
29
|
-
t[1] || (t[1] = i("span", { class: "slider round uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-cursor-pointer uikit-bg-w-lavender uikit-duration-300 before:uikit-absolute before:uikit-bottom-0 before:uikit-left-0 before:uikit-top-0 before:uikit-box-border before:uikit-h-[22px] before:uikit-w-[22px] before:uikit-rounded-circle before:uikit-border before:uikit-border-solid before:uikit-border-w-secondary before:uikit-bg-white before:uikit-shadow-sm before:uikit-duration-300 before:uikit-content-[''] peer-checked/toggle:uikit-bg-w-primary" }, null, -1))
|
|
30
|
-
]),
|
|
31
|
-
o.withRightLabel ? r(e.$slots, "rightLabel", { key: 0 }, () => [
|
|
32
|
-
i("span", {
|
|
33
|
-
class: "uikit-ml-10px",
|
|
34
|
-
innerHTML: o.label
|
|
35
|
-
}, null, 8, g)
|
|
36
|
-
], !0) : f("", !0)
|
|
37
|
-
], 2));
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
y as default
|
|
42
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, createElementBlock as o, openBlock as l, renderSlot as s, createElementVNode as i, normalizeClass as a, createCommentVNode as r } from "vue";
|
|
2
|
-
const c = { class: "base-tooltip" }, m = /* @__PURE__ */ n({
|
|
3
|
-
__name: "BaseTooltip",
|
|
4
|
-
props: {
|
|
5
|
-
theme: { default: () => ({
|
|
6
|
-
color: "blue",
|
|
7
|
-
size: "sm"
|
|
8
|
-
}) },
|
|
9
|
-
direction: { default: "top" },
|
|
10
|
-
customTooltipClass: { default: "" },
|
|
11
|
-
showTooltipContentManually: { type: Boolean, default: !0 },
|
|
12
|
-
tooltipContentClasses: { default: "" }
|
|
13
|
-
},
|
|
14
|
-
setup(t) {
|
|
15
|
-
return (e, u) => (l(), o("div", c, [
|
|
16
|
-
s(e.$slots, "trigger", {}, void 0, !0),
|
|
17
|
-
i("div", {
|
|
18
|
-
class: a(["bg-transparent", [
|
|
19
|
-
t.theme.size,
|
|
20
|
-
`${t.customTooltipClass ? t.customTooltipClass : "tooltip-content-wrapper"}`
|
|
21
|
-
]])
|
|
22
|
-
}, [
|
|
23
|
-
t.showTooltipContentManually ? (l(), o("div", {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: a(["tooltip-content uikit-shadow-lg uikit-shadow-w-primary/10", [
|
|
26
|
-
"base-tooltip-arrow",
|
|
27
|
-
t.direction,
|
|
28
|
-
t.theme.color,
|
|
29
|
-
t.theme.size,
|
|
30
|
-
t.tooltipContentClasses
|
|
31
|
-
]])
|
|
32
|
-
}, [
|
|
33
|
-
s(e.$slots, "content", {}, void 0, !0)
|
|
34
|
-
], 2)) : r("", !0)
|
|
35
|
-
], 2)
|
|
36
|
-
]));
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
export {
|
|
40
|
-
m as default
|
|
41
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, createElementBlock as l, openBlock as r, normalizeClass as t, createElementVNode as a, renderSlot as o } from "vue";
|
|
2
|
-
const m = /* @__PURE__ */ s({
|
|
3
|
-
inheritAttrs: !1,
|
|
4
|
-
__name: "BaseShimmerLoader",
|
|
5
|
-
props: {
|
|
6
|
-
shimmerClasses: { default: "" }
|
|
7
|
-
},
|
|
8
|
-
setup(i) {
|
|
9
|
-
return (e, u) => (r(), l("div", {
|
|
10
|
-
class: t(["uikit-relative uikit-overflow-hidden uikit-bg-w-lavender", e.$attrs.class])
|
|
11
|
-
}, [
|
|
12
|
-
a("div", {
|
|
13
|
-
class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full -uikit-translate-x-full", i.shimmerClasses])
|
|
14
|
-
}, null, 2),
|
|
15
|
-
o(e.$slots, "default", {}, void 0, !0)
|
|
16
|
-
], 2));
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
m as default
|
|
21
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent as V, mergeModels as L, useCssVars as T, ref as m, useTemplateRef as y, useModel as E, watch as S, onMounted as C, createElementBlock as X, openBlock as $, createElementVNode as d, withModifiers as B } from "vue";
|
|
2
|
-
const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__ */ V({
|
|
3
|
-
__name: "SimpleSlider",
|
|
4
|
-
props: /* @__PURE__ */ L({
|
|
5
|
-
min: { default: 0 },
|
|
6
|
-
max: { default: 100 },
|
|
7
|
-
step: { default: 1 },
|
|
8
|
-
dataCy: {},
|
|
9
|
-
logarithmic: { type: Boolean, default: !1 }
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: { default: 0 },
|
|
12
|
-
modelModifiers: {}
|
|
13
|
-
}),
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(t) {
|
|
16
|
-
T((i) => ({
|
|
17
|
-
v0f43c897: r.value,
|
|
18
|
-
ec9c737a: s.value
|
|
19
|
-
}));
|
|
20
|
-
const u = y("customSlider"), l = E(t, "modelValue"), o = m(!1), s = m("50%"), r = m("50%"), c = (i = 0) => {
|
|
21
|
-
const e = t.logarithmic ? b(i) : x(i), a = (e - t.min) / (t.max - t.min), f = t.logarithmic ? h(e) : a * 100;
|
|
22
|
-
l.value = Math.round(e), s.value = `${Math.round(f)}%`, r.value = t.logarithmic ? `${Math.round(h(e))}%` : `${a * 100}%`;
|
|
23
|
-
}, x = (i = 0) => {
|
|
24
|
-
const e = Math.round((i - t.min) / t.step) * t.step + t.min;
|
|
25
|
-
return Math.max(t.min, Math.min(t.max, e));
|
|
26
|
-
}, k = (i = 0) => {
|
|
27
|
-
const e = Math.log10(t.min), a = Math.log10(t.max);
|
|
28
|
-
return Math.pow(10, e + i / 100 * (a - e));
|
|
29
|
-
}, h = (i = 0) => {
|
|
30
|
-
const e = Math.log10(t.min), a = Math.log10(t.max);
|
|
31
|
-
return (Math.log10(i) - e) / (a - e) * 100;
|
|
32
|
-
}, b = (i = 0) => {
|
|
33
|
-
if (t.step === 1)
|
|
34
|
-
return Math.max(t.min, Math.min(t.max, i));
|
|
35
|
-
const e = Math.pow(
|
|
36
|
-
10,
|
|
37
|
-
Math.round(Math.log10(i) / Math.log10(t.step)) * Math.log10(t.step)
|
|
38
|
-
);
|
|
39
|
-
return Math.max(t.min, Math.min(t.max, e));
|
|
40
|
-
}, v = (i) => {
|
|
41
|
-
if (!o.value || !u.value) return;
|
|
42
|
-
const e = u.value.getBoundingClientRect(), a = u.value.offsetWidth;
|
|
43
|
-
let n = ("touches" in i ? i.touches[0].clientX : i.clientX) - e.left;
|
|
44
|
-
n = Math.max(0, Math.min(a, n));
|
|
45
|
-
const w = t.logarithmic ? k(n / a * 100) : n / a * (t.max - t.min) + t.min;
|
|
46
|
-
c(w);
|
|
47
|
-
}, M = () => {
|
|
48
|
-
o.value = !0;
|
|
49
|
-
}, g = () => {
|
|
50
|
-
o.value = !1;
|
|
51
|
-
};
|
|
52
|
-
return S(
|
|
53
|
-
l,
|
|
54
|
-
(i) => {
|
|
55
|
-
c(i);
|
|
56
|
-
},
|
|
57
|
-
{ immediate: !0 }
|
|
58
|
-
), C(() => {
|
|
59
|
-
document.addEventListener("mousemove", v), document.addEventListener("mouseup", g), document.addEventListener("touchmove", v, { passive: !0 }), document.addEventListener("touchend", g, { passive: !0 });
|
|
60
|
-
}), (i, e) => ($(), X("div", null, [
|
|
61
|
-
d("div", {
|
|
62
|
-
ref: "customSlider",
|
|
63
|
-
class: "uikit-relative uikit-my-20px uikit-h-1 uikit-rounded-2xs uikit-bg-w-secondary",
|
|
64
|
-
role: "slider",
|
|
65
|
-
"aria-valuemin": t.min,
|
|
66
|
-
"aria-valuemax": t.max,
|
|
67
|
-
"aria-valuenow": l.value,
|
|
68
|
-
tabindex: "0"
|
|
69
|
-
}, [
|
|
70
|
-
e[2] || (e[2] = d("div", { class: "slider-track uikit-absolute uikit-left-0 uikit-top-0 uikit-h-full uikit-rounded-2xs uikit-bg-w-primary" }, null, -1)),
|
|
71
|
-
d("div", {
|
|
72
|
-
class: "slider-thumb uikit-absolute -uikit-top-2 uikit-size-20px -uikit-translate-x-1/2 uikit-cursor-pointer uikit-rounded-full uikit-border-2 uikit-border-solid uikit-border-w-primary uikit-bg-white",
|
|
73
|
-
onMousedown: e[0] || (e[0] = (a) => M()),
|
|
74
|
-
onTouchstart: e[1] || (e[1] = B((a) => M(), ["prevent"]))
|
|
75
|
-
}, null, 32)
|
|
76
|
-
], 8, D)
|
|
77
|
-
]));
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
export {
|
|
81
|
-
P as default
|
|
82
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, createElementBlock as o, openBlock as s, createElementVNode as n } from "vue";
|
|
2
|
-
const c = {
|
|
3
|
-
viewBox: "0 0 128 128",
|
|
4
|
-
class: "icon-spin uikit-h-6 uikit-w-6"
|
|
5
|
-
}, i = ["stroke", "stroke-width"], k = /* @__PURE__ */ t({
|
|
6
|
-
__name: "StaticSpinner",
|
|
7
|
-
props: {
|
|
8
|
-
thickness: { default: 9 },
|
|
9
|
-
strokeColor: { default: "#fff" }
|
|
10
|
-
},
|
|
11
|
-
setup(e) {
|
|
12
|
-
return (r, l) => (s(), o("svg", c, [
|
|
13
|
-
n("circle", {
|
|
14
|
-
class: "path",
|
|
15
|
-
cx: "64",
|
|
16
|
-
cy: "64",
|
|
17
|
-
r: "42",
|
|
18
|
-
fill: "none",
|
|
19
|
-
stroke: e.strokeColor,
|
|
20
|
-
"stroke-width": e.thickness
|
|
21
|
-
}, null, 8, i)
|
|
22
|
-
]));
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
k as default
|
|
27
|
-
};
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Q, reactive as U, ref as k, useId as X, computed as f, onMounted as Y, watch as x, nextTick as V, createElementBlock as l, openBlock as u, normalizeClass as d, createElementVNode as v, createCommentVNode as $, renderSlot as M, Fragment as P, renderList as E, mergeProps as F, withModifiers as O } from "vue";
|
|
2
|
-
import { Swiper as T } from "swiper";
|
|
3
|
-
import { Zoom as _ } from "swiper/modules";
|
|
4
|
-
import '../../../../../assets/swiper-zoom.css';import '../../../../../assets/swiper-swiper.css';/* empty css */
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { shallowCopyObjectTo as ee } from "@wikicasa-dev/utilities";
|
|
7
|
-
const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "height", "onLoad"], ae = ["id"], re = ["alt"], ce = /* @__PURE__ */ Q({
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
__name: "SwiperCarousel",
|
|
10
|
-
props: {
|
|
11
|
-
id: {},
|
|
12
|
-
swiperOptions: {},
|
|
13
|
-
thumbSwiperOptions: {},
|
|
14
|
-
lazyLoadImages: { type: Boolean, default: !0 },
|
|
15
|
-
backgroundImage: { type: Boolean, default: !1 },
|
|
16
|
-
images: { default: () => [] },
|
|
17
|
-
artDirection: {},
|
|
18
|
-
shiftFirstImage: { type: Boolean, default: !1 }
|
|
19
|
-
},
|
|
20
|
-
emits: ["moved", "click", "firstSlideLoaded", "init"],
|
|
21
|
-
setup(s, { expose: B, emit: D }) {
|
|
22
|
-
const y = D, a = U({
|
|
23
|
-
swiperParams: { modules: [_] },
|
|
24
|
-
swiper: null,
|
|
25
|
-
initCarousel: !1
|
|
26
|
-
}), S = k(), j = k(!1), A = X(), p = f(() => s.id ?? A), N = f(() => a.swiper), g = f(() => s.swiperOptions?.slidesPerView || 1), W = f(() => !!s.swiperOptions?.keyboard), C = f(() => !!s.swiperOptions.navigation), I = f(() => !!s.swiperOptions.pagination), q = f(() => !!s.swiperOptions.autoplay), K = f(
|
|
27
|
-
() => s.swiperOptions?.effect || "slider"
|
|
28
|
-
), R = () => {
|
|
29
|
-
s.swiperOptions && ee(s.swiperOptions, a.swiperParams);
|
|
30
|
-
}, z = (e, i = -1, t = !1) => {
|
|
31
|
-
if (!e.images)
|
|
32
|
-
return { src: e.src || "" };
|
|
33
|
-
let r = "", o = "", b = "";
|
|
34
|
-
if (s.artDirection) {
|
|
35
|
-
for (const n in s.artDirection) {
|
|
36
|
-
const { mq: w, width: c } = s.artDirection[n];
|
|
37
|
-
c && (b += b ? `,${w} ${parseInt(c)}px` : `${w} ${parseInt(c)}px`);
|
|
38
|
-
}
|
|
39
|
-
o = e.images.reduce((n, w, c) => {
|
|
40
|
-
const m = Object.values(s.artDirection)[c];
|
|
41
|
-
return !m || !m.width || (n += n ? `, ${w.storagePath} ${m.width}` : `${w.storagePath} ${m.width}`), n;
|
|
42
|
-
}, ""), r = e.images[0].storagePath;
|
|
43
|
-
} else {
|
|
44
|
-
let n = e.images;
|
|
45
|
-
e.images.length > 3 ? n = e.images.slice(2, 5) : s.shiftFirstImage && (n[0] = n[1]), o = n.reduce((w, c, m) => (m === 0 && (r = `${c.storagePath}`), m > 0 && (w += ", "), `${w}${c.storagePath} ${m + 1}x`), "");
|
|
46
|
-
}
|
|
47
|
-
const H = r, J = o;
|
|
48
|
-
return typeof g.value == "number" && i > g.value ? (r = "", o = "", { sizes: b, "data-src": H, "data-srcset": J }) : t ? {
|
|
49
|
-
src: r,
|
|
50
|
-
srcset: o,
|
|
51
|
-
sizes: b,
|
|
52
|
-
loading: "lazy",
|
|
53
|
-
fetchpriority: "low"
|
|
54
|
-
} : {
|
|
55
|
-
src: r,
|
|
56
|
-
srcset: o,
|
|
57
|
-
sizes: b,
|
|
58
|
-
loading: s.lazyLoadImages || i >= g.value ? "lazy" : void 0,
|
|
59
|
-
fetchpriority: !s.lazyLoadImages && i === 0 ? "high" : "low"
|
|
60
|
-
};
|
|
61
|
-
}, h = [], Z = (e) => {
|
|
62
|
-
if (typeof g.value == "string") return;
|
|
63
|
-
const i = h[e];
|
|
64
|
-
if (i && !i.src && (i.src = i.dataset.src || "", i.srcset = i.dataset.srcset || ""), e < g.value || e + 1 >= (s.images ?? []).length)
|
|
65
|
-
return;
|
|
66
|
-
const t = h[e + 1];
|
|
67
|
-
t && !t.src && (t.src = t?.dataset.src || "", t.srcset = t?.dataset.srcset || "");
|
|
68
|
-
}, L = k(null), G = (e) => {
|
|
69
|
-
e === 0 && h && h[e] && V(() => {
|
|
70
|
-
L.value?.setAttribute("data-first-slide-loaded", "true"), y("firstSlideLoaded");
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
return Y(async () => {
|
|
74
|
-
if (R(), W.value) {
|
|
75
|
-
const { Keyboard: t } = await import("../../../../../Swiper/keyboard.js");
|
|
76
|
-
a.swiperParams.modules?.push(t), a.swiperParams.keyboard = s.swiperOptions.keyboard;
|
|
77
|
-
}
|
|
78
|
-
if (I.value) {
|
|
79
|
-
const { Pagination: t } = await import("../../../../../Swiper/pagination.js");
|
|
80
|
-
a.swiperParams.modules?.push(t), a.swiperParams.pagination = {
|
|
81
|
-
el: ".swiper-pagination",
|
|
82
|
-
renderFraction: (r, o) => `<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]">
|
|
83
|
-
<span data-cy="swiper-pagination-current" class="${r}"></span>
|
|
84
|
-
/
|
|
85
|
-
<span data-cy="swiper-pagination-total" class="${o}"></span>
|
|
86
|
-
</div>`,
|
|
87
|
-
...typeof a.swiperParams.pagination == "boolean" ? {} : a.swiperParams.pagination
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
if (C.value) {
|
|
91
|
-
const { Navigation: t } = await import("../../../../../Swiper/navigation.js");
|
|
92
|
-
a.swiperParams.modules?.push(t);
|
|
93
|
-
const r = {
|
|
94
|
-
...s.swiperOptions.navigation.nextEl ?? {
|
|
95
|
-
nextEl: ".swiper-button-next"
|
|
96
|
-
},
|
|
97
|
-
...s.swiperOptions.navigation.prevEl ?? {
|
|
98
|
-
prevEl: ".swiper-button-prev"
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
a.swiperParams.navigation = {
|
|
102
|
-
...typeof s.swiperOptions.navigation == "object" ? s.swiperOptions.navigation : {},
|
|
103
|
-
...r
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
if (q.value) {
|
|
107
|
-
const { Autoplay: t } = await import("../../../../../Swiper/autoplay.js");
|
|
108
|
-
a.swiperParams.modules?.push(t), a.swiperParams.autoplay = s.swiperOptions.autoplay;
|
|
109
|
-
}
|
|
110
|
-
const e = {
|
|
111
|
-
...a.swiperParams,
|
|
112
|
-
on: {
|
|
113
|
-
init: () => {
|
|
114
|
-
j.value = !0, y("init");
|
|
115
|
-
},
|
|
116
|
-
slideChange: (t) => {
|
|
117
|
-
Z(t.activeIndex), y("moved", { activeIndex: t.activeIndex });
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
let i = null;
|
|
122
|
-
if (s.thumbSwiperOptions) {
|
|
123
|
-
const [t, r, o] = await Promise.all([
|
|
124
|
-
import("../../../../../Swiper/thumbs.js"),
|
|
125
|
-
import("../../../../../Swiper/free-mode.js"),
|
|
126
|
-
import("../../../../../Swiper/controller.js")
|
|
127
|
-
]);
|
|
128
|
-
a.swiperParams.modules?.push(t.Thumbs), a.swiperParams.modules?.push(o.Controller), i = new T(`#thumb_${p.value}`, {
|
|
129
|
-
...s.thumbSwiperOptions,
|
|
130
|
-
modules: [r.FreeMode]
|
|
131
|
-
}), e.thumbs = {
|
|
132
|
-
swiper: i
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
e.lazyPreloadPrevNext = 1, a.swiper = new T(`#${p.value}`, e), S.value?.classList.remove("uikit-hidden");
|
|
136
|
-
}), x(
|
|
137
|
-
() => s.images,
|
|
138
|
-
() => {
|
|
139
|
-
V(() => {
|
|
140
|
-
a.swiper?.update();
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
), B({
|
|
144
|
-
swiper: N,
|
|
145
|
-
moveTo(e, i = 0, t = !0) {
|
|
146
|
-
a.swiper?.slideTo(e, i, t);
|
|
147
|
-
},
|
|
148
|
-
updateSlidesPerView: (e) => {
|
|
149
|
-
!a.swiper || a.swiper.params.slidesPerView === e || (a.swiper.params.slidesPerView = e, a.swiper.update());
|
|
150
|
-
}
|
|
151
|
-
}), (e, i) => (u(), l("div", {
|
|
152
|
-
id: `root-${p.value}`,
|
|
153
|
-
ref_key: "root",
|
|
154
|
-
ref: L,
|
|
155
|
-
class: d(["swiper-carousel-root", e.$attrs["root-classes"]])
|
|
156
|
-
}, [
|
|
157
|
-
v("div", {
|
|
158
|
-
id: p.value,
|
|
159
|
-
"data-cy": e.$attrs["data-cy"],
|
|
160
|
-
class: d(["swiper", e.$attrs["swiper-classes"]])
|
|
161
|
-
}, [
|
|
162
|
-
v("div", {
|
|
163
|
-
ref_key: "swiperWrapper",
|
|
164
|
-
ref: S,
|
|
165
|
-
class: d(["swiper-wrapper", [
|
|
166
|
-
e.$attrs["swiper-wrapper-classes"],
|
|
167
|
-
K.value === "none" && "no-transition"
|
|
168
|
-
]]),
|
|
169
|
-
onClick: i[0] || (i[0] = (t) => y("click"))
|
|
170
|
-
}, [
|
|
171
|
-
M(e.$slots, "default", {}, () => [
|
|
172
|
-
(u(!0), l(P, null, E(s.images, (t, r) => (u(), l("div", {
|
|
173
|
-
key: `swiper_${p.value}_${r}`,
|
|
174
|
-
class: d(["swiper-slide", e.$attrs["swiper-slide-classes"]])
|
|
175
|
-
}, [
|
|
176
|
-
v("div", {
|
|
177
|
-
class: d(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
|
|
178
|
-
}, [
|
|
179
|
-
s.backgroundImage ? $("", !0) : (u(), l("img", F({
|
|
180
|
-
key: 0,
|
|
181
|
-
ref_for: !0,
|
|
182
|
-
ref: (o) => {
|
|
183
|
-
h.push(o);
|
|
184
|
-
},
|
|
185
|
-
class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
|
|
186
|
-
"data-idx": `${p.value}-slide-img-${r}`
|
|
187
|
-
}, { ref_for: !0 }, z(t, r), {
|
|
188
|
-
alt: t.alt,
|
|
189
|
-
itemprop: "image",
|
|
190
|
-
width: t.width,
|
|
191
|
-
height: t.height,
|
|
192
|
-
onLoad: (o) => G(r)
|
|
193
|
-
}), null, 16, ie))
|
|
194
|
-
], 2)
|
|
195
|
-
], 2))), 128)),
|
|
196
|
-
M(e.$slots, "last_slide", {}, void 0, !0)
|
|
197
|
-
], !0)
|
|
198
|
-
], 2),
|
|
199
|
-
I.value ? (u(), l("div", {
|
|
200
|
-
key: 0,
|
|
201
|
-
class: d([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
|
|
202
|
-
onClick: i[1] || (i[1] = O(() => {
|
|
203
|
-
}, ["stop"]))
|
|
204
|
-
}, null, 2)) : $("", !0),
|
|
205
|
-
C.value ? (u(), l(P, { key: 1 }, [
|
|
206
|
-
v("div", {
|
|
207
|
-
class: "swiper-button-prev",
|
|
208
|
-
"data-cy": "swiper-button-prev",
|
|
209
|
-
onClick: i[2] || (i[2] = O(() => {
|
|
210
|
-
}, ["stop"]))
|
|
211
|
-
}),
|
|
212
|
-
v("div", {
|
|
213
|
-
class: "swiper-button-next",
|
|
214
|
-
"data-cy": "swiper-button-next",
|
|
215
|
-
onClick: i[3] || (i[3] = O(() => {
|
|
216
|
-
}, ["stop"]))
|
|
217
|
-
})
|
|
218
|
-
], 64)) : $("", !0)
|
|
219
|
-
], 10, se),
|
|
220
|
-
s.thumbSwiperOptions ? (u(), l("div", {
|
|
221
|
-
key: 0,
|
|
222
|
-
id: `thumb_${p.value}`,
|
|
223
|
-
thumbsSlider: "",
|
|
224
|
-
class: d(["swiper", e.$attrs["thumb-swiper-classes"]])
|
|
225
|
-
}, [
|
|
226
|
-
v("div", {
|
|
227
|
-
class: d(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
|
|
228
|
-
}, [
|
|
229
|
-
(u(!0), l(P, null, E(s.images, (t, r) => (u(), l("div", {
|
|
230
|
-
key: `thumb_${p.value}_${r}`,
|
|
231
|
-
class: d(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
|
|
232
|
-
}, [
|
|
233
|
-
v("img", F({
|
|
234
|
-
class: e.$attrs["thumb-img-classes"]
|
|
235
|
-
}, { ref_for: !0 }, z(t, -1, !1), {
|
|
236
|
-
alt: t.alt
|
|
237
|
-
}), null, 16, re)
|
|
238
|
-
], 2))), 128))
|
|
239
|
-
], 2)
|
|
240
|
-
], 10, ae)) : $("", !0)
|
|
241
|
-
], 10, te));
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
export {
|
|
245
|
-
ce as default
|
|
246
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|