@wikicasa-dev/components 2.1.26 → 2.1.27
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/_virtual/polyline.js +1 -1
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +1 -1
- package/dist/packages/components/lazyModules/Swiper/controller.js +1 -1
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +1 -1
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +1 -1
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +11 -10
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +5 -4
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +10 -9
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +12 -11
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +31 -30
- package/package.json +8 -8
- /package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/{keyboard.css → autoplay.css} +0 -0
- /package/dist/{node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21 → packages/components}/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -0
- /package/dist/{node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21 → packages/components}/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -0
- /package/dist/{node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21 → packages/components}/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -0
- /package/dist/{node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21 → packages/components}/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -0
- /package/dist/{node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21 → packages/components}/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -0
- /package/dist/{node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21 → packages/components}/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -0
- /package/dist/{node_modules/.pnpm/google-polyline@1.0.3 → packages/components}/node_modules/google-polyline/lib/decode.js +0 -0
- /package/dist/{node_modules/.pnpm/google-polyline@1.0.3 → packages/components}/node_modules/google-polyline/lib/encode.js +0 -0
- /package/dist/{node_modules/.pnpm/google-polyline@1.0.3 → packages/components}/node_modules/google-polyline/lib/polyline.js +0 -0
- /package/dist/{node_modules/.pnpm/js-cookie@3.0.5 → packages/components}/node_modules/js-cookie/dist/js.cookie.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { __require as r } from "../
|
|
1
|
+
import { __require as r } from "../packages/components/node_modules/google-polyline/lib/polyline.js";
|
|
2
2
|
r();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as p } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.js";
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
p as Autoplay
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as e } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/controller.js";
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
e as Controller
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as e } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.js";
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
e as Keyboard
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as t } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/thumbs.js";
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
t as Thumbs
|
|
5
5
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import "
|
|
3
|
-
import { isEmptyObject as f } from "
|
|
1
|
+
import { defineComponent as s, ref as u, provide as i, renderSlot as d } from "vue";
|
|
2
|
+
import "../../../node_modules/js-cookie/dist/js.cookie.js";
|
|
3
|
+
import { isEmptyObject as f } from "../../../node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
|
|
4
|
+
import "date-fns";
|
|
4
5
|
import "../../../../../_virtual/polyline.js";
|
|
5
|
-
const
|
|
6
|
+
const y = /* @__PURE__ */ s({
|
|
6
7
|
__name: "BaseAccordion",
|
|
7
8
|
props: {
|
|
8
9
|
autoClose: { type: Boolean, default: !0 },
|
|
@@ -11,23 +12,23 @@ const k = /* @__PURE__ */ p({
|
|
|
11
12
|
setup(l) {
|
|
12
13
|
const n = u(null), o = u(
|
|
13
14
|
{}
|
|
14
|
-
),
|
|
15
|
+
), c = (e, t) => {
|
|
15
16
|
if (l.autoClose && t && !f(t))
|
|
16
17
|
for (const a in t)
|
|
17
18
|
a !== `${e}` && (t[a].active = !1);
|
|
18
|
-
},
|
|
19
|
+
}, p = (e, t) => {
|
|
19
20
|
t && (t[e].active = !(t[e].active ?? !1));
|
|
20
21
|
}, r = (e, t) => {
|
|
21
|
-
|
|
22
|
+
c(e.id, t ?? o.value), n.value = e, p(e.id, t ?? o.value);
|
|
22
23
|
};
|
|
23
|
-
return
|
|
24
|
+
return i("handleClick", (e) => {
|
|
24
25
|
l.autoUpdate && r(e);
|
|
25
|
-
}),
|
|
26
|
+
}), i("accordionItems", o), (e, t) => d(e.$slots, "default", {
|
|
26
27
|
updatePrev: r,
|
|
27
28
|
prev: n.value
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
y as default
|
|
33
34
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as L, watch as f, createBlock as g, openBlock as w, normalizeClass as H, withCtx as s, createElementBlock as K, Fragment as T, renderList as z, unref as A, createElementVNode as N, createVNode as U, renderSlot as $ } from "vue";
|
|
2
2
|
import W from "../../../../UIKit/BaseInput.js";
|
|
3
3
|
import j from "./BaseDropDown.vue.js";
|
|
4
|
-
import "
|
|
5
|
-
import
|
|
4
|
+
import "../../node_modules/js-cookie/dist/js.cookie.js";
|
|
5
|
+
import "date-fns";
|
|
6
|
+
import { debounce as q } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
|
|
6
7
|
import "../../../../_virtual/polyline.js";
|
|
7
8
|
import G from "./BaseSelect/SelectItem.vue.js";
|
|
8
9
|
import { useKeyboardController as J } from "../../node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
|
|
9
|
-
const Q = ["innerHTML"],
|
|
10
|
+
const Q = ["innerHTML"], oe = /* @__PURE__ */ P({
|
|
10
11
|
__name: "BaseAutocomplete",
|
|
11
12
|
props: /* @__PURE__ */ y({
|
|
12
13
|
isValid: { type: [Boolean, null], default: null },
|
|
@@ -188,5 +189,5 @@ const Q = ["innerHTML"], ae = /* @__PURE__ */ P({
|
|
|
188
189
|
}
|
|
189
190
|
});
|
|
190
191
|
export {
|
|
191
|
-
|
|
192
|
+
oe as default
|
|
192
193
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as k, Teleport as $, createElementVNode as l, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import "../../node_modules/js-cookie/dist/js.cookie.js";
|
|
3
|
+
import "date-fns";
|
|
4
|
+
import { isWindows as C } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
|
|
5
|
+
import { awaitableSetTimeout as S } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
|
|
5
6
|
import "../../../../_virtual/polyline.js";
|
|
6
7
|
import { CloseIcon as V } from "../../node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
|
|
7
8
|
import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
8
|
-
const F = ["id", "data-cy"], U = ["innerHTML"],
|
|
9
|
+
const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
|
|
9
10
|
__name: "BaseModal",
|
|
10
11
|
props: {
|
|
11
12
|
id: { default: "base-bt-modal" },
|
|
@@ -27,16 +28,16 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
|
|
|
27
28
|
titleClasses: {}
|
|
28
29
|
},
|
|
29
30
|
emits: ["closed", "opened", "dialogClick"],
|
|
30
|
-
setup(e, { emit:
|
|
31
|
-
const c =
|
|
31
|
+
setup(e, { emit: p }) {
|
|
32
|
+
const c = p, i = n(!1), m = n(null), a = z("modalDialog"), r = n(!1), u = n(!1), f = ({ key: t }) => {
|
|
32
33
|
t === "Escape" && o();
|
|
33
|
-
},
|
|
34
|
+
}, g = () => {
|
|
34
35
|
document?.body.addEventListener("keydown", f);
|
|
35
36
|
}, b = () => {
|
|
36
37
|
document?.body.removeEventListener("keydown", f);
|
|
37
38
|
}, x = async () => {
|
|
38
39
|
i.value = !0, N(() => {
|
|
39
|
-
|
|
40
|
+
g(), C() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
|
|
40
41
|
}), c("opened"), e.autoClose !== void 0 && setTimeout(() => {
|
|
41
42
|
o();
|
|
42
43
|
}, e.autoClose);
|
|
@@ -142,5 +143,5 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
|
|
|
142
143
|
}
|
|
143
144
|
});
|
|
144
145
|
export {
|
|
145
|
-
|
|
146
|
+
Q as default
|
|
146
147
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as y, computed as h, watch as v, renderSlot as b, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as C, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
|
|
2
|
-
import { isArrNullOrEmpty as V } from "
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
2
|
+
import { isArrNullOrEmpty as V } from "../../../node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
|
|
3
|
+
import "../../../node_modules/js-cookie/dist/js.cookie.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { stringToHyphened as L } from "../../../node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
|
|
5
6
|
import "../../../../../_virtual/polyline.js";
|
|
6
7
|
import G from "../../../../../UIKit/Checkbox/CheckboxBtn.js";
|
|
7
|
-
const N = ["id", "data-cy"],
|
|
8
|
+
const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
|
|
8
9
|
inheritAttrs: !1,
|
|
9
10
|
__name: "CheckboxGroup",
|
|
10
11
|
props: {
|
|
@@ -23,7 +24,7 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
|
|
|
23
24
|
},
|
|
24
25
|
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
25
26
|
setup(t, { emit: g }) {
|
|
26
|
-
const o = t,
|
|
27
|
+
const o = t, r = g, l = y(/* @__PURE__ */ new Map()), s = h(() => {
|
|
27
28
|
for (const e of o.checkboxData)
|
|
28
29
|
if (e.reset) return e;
|
|
29
30
|
return null;
|
|
@@ -40,7 +41,7 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
|
|
|
40
41
|
`${a.id}`,
|
|
41
42
|
a
|
|
42
43
|
), a.checked && e.push(a);
|
|
43
|
-
|
|
44
|
+
r("update:modelValue", e);
|
|
44
45
|
})();
|
|
45
46
|
const u = (e, a) => {
|
|
46
47
|
const c = l.value.get(e);
|
|
@@ -56,17 +57,17 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
|
|
|
56
57
|
e.checked = !1;
|
|
57
58
|
});
|
|
58
59
|
}, m = () => {
|
|
59
|
-
k(),
|
|
60
|
+
k(), r("update:modelValue", []), r("resetted");
|
|
60
61
|
}, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
|
|
61
62
|
if (V(o.checkboxData)) return;
|
|
62
63
|
const a = l.value.get(e.id);
|
|
63
|
-
a?.reset && e.checked ? k() :
|
|
64
|
+
a?.reset && e.checked ? k() : s.value && !a?.reset && u(o.getKey(s.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && s.value && f.value === p.value - 1 && l.value.forEach((n) => {
|
|
64
65
|
n.checked = !!n.reset;
|
|
65
|
-
}), o.autoCheckResetEmpty &&
|
|
66
|
+
}), o.autoCheckResetEmpty && s.value && !f.value && (!o.manualToggleResetButton || !a?.reset) && u(o.getKey(s.value), { checked: !0 });
|
|
66
67
|
const c = [];
|
|
67
68
|
l.value.forEach((n) => {
|
|
68
69
|
n.checked && c.push(n);
|
|
69
|
-
}),
|
|
70
|
+
}), r("update:modelValue", c), r("checkedGroup", o.groupId);
|
|
70
71
|
};
|
|
71
72
|
return v(
|
|
72
73
|
() => o.reset,
|
|
@@ -108,5 +109,5 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
|
|
|
108
109
|
}
|
|
109
110
|
});
|
|
110
111
|
export {
|
|
111
|
-
|
|
112
|
+
H as default
|
|
112
113
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
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
|
|
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 p, normalizeClass as u, createElementVNode as v, createCommentVNode as $, renderSlot as M, Fragment as P, renderList as E, mergeProps as F, withModifiers as O } from "vue";
|
|
2
2
|
import { Swiper as T } from "swiper";
|
|
3
3
|
import _ from "../../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.js";
|
|
4
4
|
import '../../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import "
|
|
7
|
-
import { shallowCopyObjectTo as ee } from "
|
|
6
|
+
import "../../../node_modules/js-cookie/dist/js.cookie.js";
|
|
7
|
+
import { shallowCopyObjectTo as ee } from "../../../node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
|
|
8
|
+
import "date-fns";
|
|
8
9
|
import "../../../../../_virtual/polyline.js";
|
|
9
|
-
const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "height", "onLoad"], ae = ["id"], re = ["alt"],
|
|
10
|
+
const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "height", "onLoad"], ae = ["id"], re = ["alt"], ve = /* @__PURE__ */ Q({
|
|
10
11
|
inheritAttrs: !1,
|
|
11
12
|
__name: "SwiperCarousel",
|
|
12
13
|
props: {
|
|
@@ -25,7 +26,7 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
|
|
|
25
26
|
swiperParams: { modules: [_] },
|
|
26
27
|
swiper: null,
|
|
27
28
|
initCarousel: !1
|
|
28
|
-
}), S = k(), j = k(!1), A = X(),
|
|
29
|
+
}), S = k(), j = k(!1), A = X(), d = 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(
|
|
29
30
|
() => s.swiperOptions?.effect || "slider"
|
|
30
31
|
), R = () => {
|
|
31
32
|
s.swiperOptions && ee(s.swiperOptions, a.swiperParams);
|
|
@@ -127,14 +128,14 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
|
|
|
127
128
|
import("../../../lazyModules/Swiper/free-mode.js"),
|
|
128
129
|
import("../../../lazyModules/Swiper/controller.js")
|
|
129
130
|
]);
|
|
130
|
-
a.swiperParams.modules?.push(t.Thumbs), a.swiperParams.modules?.push(o.Controller), i = new T(`#thumb_${
|
|
131
|
+
a.swiperParams.modules?.push(t.Thumbs), a.swiperParams.modules?.push(o.Controller), i = new T(`#thumb_${d.value}`, {
|
|
131
132
|
...s.thumbSwiperOptions,
|
|
132
133
|
modules: [r.FreeMode]
|
|
133
134
|
}), e.thumbs = {
|
|
134
135
|
swiper: i
|
|
135
136
|
};
|
|
136
137
|
}
|
|
137
|
-
e.lazyPreloadPrevNext = 1, a.swiper = new T(`#${
|
|
138
|
+
e.lazyPreloadPrevNext = 1, a.swiper = new T(`#${d.value}`, e), S.value?.classList.remove("uikit-hidden");
|
|
138
139
|
}), x(
|
|
139
140
|
() => s.images,
|
|
140
141
|
() => {
|
|
@@ -150,42 +151,42 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
|
|
|
150
151
|
updateSlidesPerView: (e) => {
|
|
151
152
|
!a.swiper || a.swiper.params.slidesPerView === e || (a.swiper.params.slidesPerView = e, a.swiper.update());
|
|
152
153
|
}
|
|
153
|
-
}), (e, i) => (
|
|
154
|
-
id: `root-${
|
|
154
|
+
}), (e, i) => (p(), l("div", {
|
|
155
|
+
id: `root-${d.value}`,
|
|
155
156
|
ref_key: "root",
|
|
156
157
|
ref: L,
|
|
157
|
-
class:
|
|
158
|
+
class: u(["swiper-carousel-root", e.$attrs["root-classes"]])
|
|
158
159
|
}, [
|
|
159
160
|
v("div", {
|
|
160
|
-
id:
|
|
161
|
+
id: d.value,
|
|
161
162
|
"data-cy": e.$attrs["data-cy"],
|
|
162
|
-
class:
|
|
163
|
+
class: u(["swiper", e.$attrs["swiper-classes"]])
|
|
163
164
|
}, [
|
|
164
165
|
v("div", {
|
|
165
166
|
ref_key: "swiperWrapper",
|
|
166
167
|
ref: S,
|
|
167
|
-
class:
|
|
168
|
+
class: u(["swiper-wrapper", [
|
|
168
169
|
e.$attrs["swiper-wrapper-classes"],
|
|
169
170
|
K.value === "none" && "no-transition"
|
|
170
171
|
]]),
|
|
171
172
|
onClick: i[0] || (i[0] = (t) => y("click"))
|
|
172
173
|
}, [
|
|
173
174
|
M(e.$slots, "default", {}, () => [
|
|
174
|
-
(
|
|
175
|
-
key: `swiper_${
|
|
176
|
-
class:
|
|
175
|
+
(p(!0), l(P, null, E(s.images, (t, r) => (p(), l("div", {
|
|
176
|
+
key: `swiper_${d.value}_${r}`,
|
|
177
|
+
class: u(["swiper-slide", e.$attrs["swiper-slide-classes"]])
|
|
177
178
|
}, [
|
|
178
179
|
v("div", {
|
|
179
|
-
class:
|
|
180
|
+
class: u(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
|
|
180
181
|
}, [
|
|
181
|
-
s.backgroundImage ? $("", !0) : (
|
|
182
|
+
s.backgroundImage ? $("", !0) : (p(), l("img", F({
|
|
182
183
|
key: 0,
|
|
183
184
|
ref_for: !0,
|
|
184
185
|
ref: (o) => {
|
|
185
186
|
h.push(o);
|
|
186
187
|
},
|
|
187
188
|
class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
|
|
188
|
-
"data-idx": `${
|
|
189
|
+
"data-idx": `${d.value}-slide-img-${r}`
|
|
189
190
|
}, { ref_for: !0 }, z(t, r), {
|
|
190
191
|
alt: t.alt,
|
|
191
192
|
itemprop: "image",
|
|
@@ -198,13 +199,13 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
|
|
|
198
199
|
M(e.$slots, "last_slide", {}, void 0, !0)
|
|
199
200
|
], !0)
|
|
200
201
|
], 2),
|
|
201
|
-
I.value ? (
|
|
202
|
+
I.value ? (p(), l("div", {
|
|
202
203
|
key: 0,
|
|
203
|
-
class:
|
|
204
|
+
class: u([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
|
|
204
205
|
onClick: i[1] || (i[1] = O(() => {
|
|
205
206
|
}, ["stop"]))
|
|
206
207
|
}, null, 2)) : $("", !0),
|
|
207
|
-
C.value ? (
|
|
208
|
+
C.value ? (p(), l(P, { key: 1 }, [
|
|
208
209
|
v("div", {
|
|
209
210
|
class: "swiper-button-prev",
|
|
210
211
|
"data-cy": "swiper-button-prev",
|
|
@@ -219,18 +220,18 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
|
|
|
219
220
|
})
|
|
220
221
|
], 64)) : $("", !0)
|
|
221
222
|
], 10, se),
|
|
222
|
-
s.thumbSwiperOptions ? (
|
|
223
|
+
s.thumbSwiperOptions ? (p(), l("div", {
|
|
223
224
|
key: 0,
|
|
224
|
-
id: `thumb_${
|
|
225
|
+
id: `thumb_${d.value}`,
|
|
225
226
|
thumbsSlider: "",
|
|
226
|
-
class:
|
|
227
|
+
class: u(["swiper", e.$attrs["thumb-swiper-classes"]])
|
|
227
228
|
}, [
|
|
228
229
|
v("div", {
|
|
229
|
-
class:
|
|
230
|
+
class: u(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
|
|
230
231
|
}, [
|
|
231
|
-
(
|
|
232
|
-
key: `thumb_${
|
|
233
|
-
class:
|
|
232
|
+
(p(!0), l(P, null, E(s.images, (t, r) => (p(), l("div", {
|
|
233
|
+
key: `thumb_${d.value}_${r}`,
|
|
234
|
+
class: u(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
|
|
234
235
|
}, [
|
|
235
236
|
v("img", F({
|
|
236
237
|
class: e.$attrs["thumb-img-classes"]
|
|
@@ -244,5 +245,5 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
|
|
|
244
245
|
}
|
|
245
246
|
});
|
|
246
247
|
export {
|
|
247
|
-
|
|
248
|
+
ve as default
|
|
248
249
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wikicasa-dev/components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.27",
|
|
4
4
|
"description": "Wikicasa frontend components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,16 +40,17 @@
|
|
|
40
40
|
"url": "https://bitbucket.org/wikicasa/wikicasa-fe/issues"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vue": "^3.5.0",
|
|
45
|
+
"date-fns": "^4.0.0"
|
|
46
|
+
},
|
|
43
47
|
"dependencies": {
|
|
44
|
-
"caniuse-lite": "^1.0.30001756",
|
|
45
48
|
"chart.js": "4.5.1",
|
|
46
49
|
"chartjs-adapter-date-fns": "3.0.0",
|
|
47
|
-
"date-fns": "4.1.0",
|
|
48
50
|
"reka-ui": "^2.6.0",
|
|
49
51
|
"swiper": "^12.0.3",
|
|
50
52
|
"vue": "^3.5.24",
|
|
51
|
-
"vue-chartjs": "5.3.3"
|
|
52
|
-
"vue-router": "^4.6.3"
|
|
53
|
+
"vue-chartjs": "5.3.3"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@babel/eslint-parser": "^7.28.5",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"@wikicasa-dev/types": "2.4.6",
|
|
65
66
|
"@wikicasa-dev/utilities": "1.1.22",
|
|
66
67
|
"autoprefixer": "^10.4.22",
|
|
68
|
+
"date-fns": "4.1.0",
|
|
67
69
|
"eslint": "^9.39",
|
|
68
70
|
"eslint-plugin-vue": "^10.5.1",
|
|
69
71
|
"jiti": "^2.6.1",
|
|
@@ -78,11 +80,9 @@
|
|
|
78
80
|
"vite": "7.2.4",
|
|
79
81
|
"vite-plugin-dts": "^4.5.4",
|
|
80
82
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
83
|
+
"vue-router": "^4.6.3",
|
|
81
84
|
"vue-tsc": "3.1.4"
|
|
82
85
|
},
|
|
83
|
-
"peerDependencies": {
|
|
84
|
-
"vue": "^3.5.0"
|
|
85
|
-
},
|
|
86
86
|
"readme": "ERROR: No README data found!",
|
|
87
87
|
"scripts": {
|
|
88
88
|
"dev": "vite",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|