@wikicasa-dev/components 2.1.8 → 2.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/controller.js +1 -1
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/free-mode.js +1 -1
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js +67 -0
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/pagination.js +17 -17
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/thumbs.js +1 -1
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/zoom.js +13 -13
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/shared/classes-to-selector.js +1 -1
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/shared/utils.js +26 -32
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/controller.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/free-mode.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/navigation.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/pagination.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +2 -2
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +4 -4
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +9 -10
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +4 -5
- package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +3 -3
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +12 -13
- package/dist/packages/components/lib/UIKit/BasePagination.vue.js +39 -38
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +45 -45
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +11 -12
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +10 -10
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/keyboard.js +0 -67
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/free-mode.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/navigation.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/pagination.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/zoom.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/swiper.css +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_vue-composables@0.0.24-alpha.5_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3}/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/autoplay.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/autoplay.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/controller.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/keyboard.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/navigation.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/thumbs.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/shared/create-element-if-not-defined.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as L, mergeModels as b, useId as M, useModel as E, ref as h, computed as O, useTemplateRef as W, watch as n, onBeforeMount as $, onMounted as H, onUnmounted as K, createElementBlock as N, openBlock as u, withModifiers as C, normalizeClass as i, renderSlot as g, createBlock as y, createVNode as T, unref as l, withCtx as D, createElementVNode as V, createCommentVNode as q, resolveDynamicComponent as z } from "vue";
|
|
2
2
|
import R from "./BaseButton.vue.js";
|
|
3
|
-
import { ArrowIcon as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
4
|
-
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
5
|
-
import { useKeyboardController as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.
|
|
3
|
+
import { ArrowIcon as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
4
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
5
|
+
import { useKeyboardController as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
|
|
6
6
|
const F = ["innerHTML"], Z = /* @__PURE__ */ L({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "BaseDropDown",
|
|
@@ -1,12 +1,11 @@
|
|
|
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 s, normalizeClass as o, withModifiers as v, createElementBlock as y, createCommentVNode as h, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
|
|
2
2
|
import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import { awaitableSetTimeout as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.4/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
|
|
3
|
+
import { isWindows as w } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
|
|
4
|
+
import { awaitableSetTimeout as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
|
|
6
5
|
import "../../../../_virtual/polyline.js";
|
|
7
|
-
import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
8
|
-
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
9
|
-
const F = ["id", "data-cy"], U = ["innerHTML"],
|
|
6
|
+
import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
|
|
7
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
8
|
+
const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
|
|
10
9
|
__name: "BaseModal",
|
|
11
10
|
props: {
|
|
12
11
|
id: { default: "base-bt-modal" },
|
|
@@ -29,12 +28,12 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
|
|
|
29
28
|
},
|
|
30
29
|
emits: ["closed", "opened", "dialogClick"],
|
|
31
30
|
setup(l, { emit: C }) {
|
|
32
|
-
const r = C, t = n(!1), m = n(null), a = z("modalDialog"), c = n(!1), u = n(!1),
|
|
31
|
+
const r = C, t = n(!1), m = n(null), a = z("modalDialog"), c = n(!1), u = n(!1), f = ({ key: e }) => {
|
|
33
32
|
e === "Escape" && i();
|
|
34
33
|
}, g = () => {
|
|
35
|
-
document?.body.addEventListener("keydown",
|
|
36
|
-
},
|
|
37
|
-
document?.body.removeEventListener("keydown",
|
|
34
|
+
document?.body.addEventListener("keydown", f);
|
|
35
|
+
}, p = () => {
|
|
36
|
+
document?.body.removeEventListener("keydown", f);
|
|
38
37
|
}, M = async () => {
|
|
39
38
|
t.value = !0, N(() => {
|
|
40
39
|
g(), w() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
|
|
@@ -54,12 +53,12 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
|
|
|
54
53
|
await i();
|
|
55
54
|
}
|
|
56
55
|
}, i = async () => {
|
|
57
|
-
t.value = !1,
|
|
56
|
+
t.value = !1, p(), document?.documentElement.classList.remove("uikit-no-scrolling"), navigator.userAgent.includes("Windows") ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling"), await S(() => {
|
|
58
57
|
m.value?.classList.add("uikit-hidden"), r("closed");
|
|
59
58
|
}, 250);
|
|
60
59
|
};
|
|
61
60
|
return H(() => {
|
|
62
|
-
|
|
61
|
+
p(), document?.documentElement.classList.remove("uikit-no-scrolling"), w() ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling");
|
|
63
62
|
}), I(
|
|
64
63
|
() => l.showModal,
|
|
65
64
|
async (e) => {
|
|
@@ -143,5 +142,5 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
|
|
|
143
142
|
}
|
|
144
143
|
});
|
|
145
144
|
export {
|
|
146
|
-
|
|
145
|
+
J as default
|
|
147
146
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ArrowIcon as B } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
3
|
-
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as O, mergeModels as V, useModel as A, computed as s, createElementBlock as o, openBlock as r, createCommentVNode as k, createElementVNode as x, createBlock as c, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as M, unref as $, toDisplayString as d, Fragment as w, createTextVNode as g, renderList as j } from "vue";
|
|
2
|
+
import { ArrowIcon as B } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
3
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
4
|
+
const Q = {
|
|
5
5
|
"aria-label": "Page navigation",
|
|
6
6
|
class: "uikit-overflow-auto"
|
|
7
|
-
},
|
|
7
|
+
}, E = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "uikit-text-14 uikit-m-0 uikit-flex uikit-list-none uikit-content-center uikit-gap-4 uikit-p-0 uikit-pl-0 uikit-font-semibold sm:uikit-gap-5"
|
|
10
|
-
}, R = ["data-cy"],
|
|
10
|
+
}, R = ["data-cy"], q = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "uikit-mx-10px uikit-select-none"
|
|
13
|
-
},
|
|
13
|
+
}, z = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "font-weight-bold uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
16
|
-
},
|
|
16
|
+
}, G = ["onClick"], H = ["onClick"], J = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
19
19
|
}, K = ["data-cy"], W = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "uikit-mx-10px uikit-select-none"
|
|
22
|
-
}, I = /* @__PURE__ */
|
|
22
|
+
}, I = /* @__PURE__ */ O({
|
|
23
23
|
__name: "BasePagination",
|
|
24
24
|
props: /* @__PURE__ */ V({
|
|
25
25
|
count: { default: 0 },
|
|
@@ -33,7 +33,7 @@ const E = {
|
|
|
33
33
|
prevDataCy: {},
|
|
34
34
|
nextDataCy: {},
|
|
35
35
|
linkProps: {},
|
|
36
|
-
linkTag: {
|
|
36
|
+
linkTag: { default: "a" },
|
|
37
37
|
baseUrl: {},
|
|
38
38
|
pageQueryParameter: { default: "p" },
|
|
39
39
|
formatter: { type: Function }
|
|
@@ -43,7 +43,7 @@ const E = {
|
|
|
43
43
|
}),
|
|
44
44
|
emits: ["update:pageNumber"],
|
|
45
45
|
setup(l) {
|
|
46
|
-
const u = A(l, "pageNumber"),
|
|
46
|
+
const u = A(l, "pageNumber"), y = s(() => (u.value || 1) + 1), b = s(() => (u.value || 1) - 1), v = s(() => l.baseUrl ? l.linkTag : "span"), a = s(() => Math.ceil((l.count + l.additionalCount) / l.limit)), D = (e = 1) => e < 1, S = (e = 1) => e === a.value, P = s(() => (u.value || 0) > l.siblings + 2), C = s(
|
|
47
47
|
() => (u.value || 0) < a.value - l.siblings - 1
|
|
48
48
|
), N = s(() => {
|
|
49
49
|
let i = u.value || 0, t = 0;
|
|
@@ -64,10 +64,10 @@ const E = {
|
|
|
64
64
|
const t = [];
|
|
65
65
|
for (i; i < (u.value || 0); i++) t.push(i);
|
|
66
66
|
return t;
|
|
67
|
-
}),
|
|
67
|
+
}), T = s(() => {
|
|
68
68
|
const e = L.value + /* Filling with the remaining left siblings */
|
|
69
69
|
Math.abs(N.value - l.siblings) + /* If there is no suspension points on the left, let's fill it */
|
|
70
|
-
new Number(!
|
|
70
|
+
new Number(!P.value).valueOf() + /* If the pageNumber is the same of the firstPage, let's fill it */
|
|
71
71
|
new Number(u.value === 1).valueOf();
|
|
72
72
|
let i = Math.min(u.value || 0, a.value - 1);
|
|
73
73
|
const t = [];
|
|
@@ -75,7 +75,7 @@ const E = {
|
|
|
75
75
|
t.push(i + 1);
|
|
76
76
|
return t;
|
|
77
77
|
}), p = (e) => {
|
|
78
|
-
|
|
78
|
+
e < 1 || e > a.value || setTimeout(() => {
|
|
79
79
|
u.value = e;
|
|
80
80
|
});
|
|
81
81
|
}, n = (e = 1) => {
|
|
@@ -88,16 +88,16 @@ const E = {
|
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return (e, i) => (r(), o("nav",
|
|
92
|
-
e.count > 0 ? (r(), o("ul",
|
|
93
|
-
|
|
91
|
+
return (e, i) => (r(), o("nav", Q, [
|
|
92
|
+
e.count > 0 ? (r(), o("ul", E, [
|
|
93
|
+
x("li", {
|
|
94
94
|
"data-cy": e.prevDataCy,
|
|
95
95
|
onClick: i[0] || (i[0] = (t) => p(b.value))
|
|
96
96
|
}, [
|
|
97
97
|
(r(), c(m(D(b.value) ? "span" : v.value), h({
|
|
98
98
|
href: n(b.value),
|
|
99
99
|
to: n(b.value),
|
|
100
|
-
class: ["arrow-button prev-page uikit-h-30px uikit-
|
|
100
|
+
class: ["arrow-button prev-page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
|
|
101
101
|
"uikit-cursor-pointer hover:uikit-bg-w-primary [&_svg]:hover:uikit-brightness-0 [&_svg]:hover:uikit-invert": u.value !== 1,
|
|
102
102
|
"hover:uikit-text-white": e.small && u.value !== 1,
|
|
103
103
|
"uikit-rounded-xs": e.small && e.prevLabel
|
|
@@ -110,12 +110,12 @@ const E = {
|
|
|
110
110
|
"stroke-color": u.value === 1 ? "#8996A9" : e.arrowColor,
|
|
111
111
|
class: "uikit-inline-block uikit-rotate-90"
|
|
112
112
|
}, null, 8, ["stroke-color"]),
|
|
113
|
-
e.small && e.prevLabel ? (r(), o("span",
|
|
113
|
+
e.small && e.prevLabel ? (r(), o("span", q, d(e.prevLabel), 1)) : k("", !0)
|
|
114
114
|
]),
|
|
115
115
|
_: 1
|
|
116
116
|
}, 16, ["href", "to", "class"]))
|
|
117
117
|
], 8, R),
|
|
118
|
-
e.small ? k("", !0) : (r(), o(
|
|
118
|
+
e.small ? k("", !0) : (r(), o(w, { key: 0 }, [
|
|
119
119
|
(u.value || 0) > 1 ? (r(), o("li", {
|
|
120
120
|
key: 0,
|
|
121
121
|
onClick: i[1] || (i[1] = (t) => p(0))
|
|
@@ -128,28 +128,28 @@ const E = {
|
|
|
128
128
|
default: f(() => i[4] || (i[4] = [
|
|
129
129
|
g(" 1 ")
|
|
130
130
|
])),
|
|
131
|
-
_: 1
|
|
132
|
-
__: [4]
|
|
131
|
+
_: 1
|
|
133
132
|
}, 16, ["href", "to"]))
|
|
134
133
|
])) : k("", !0),
|
|
135
|
-
|
|
136
|
-
(r(!0), o(
|
|
134
|
+
P.value ? (r(), o("li", z, " ... ")) : k("", !0),
|
|
135
|
+
(r(!0), o(w, null, j(U.value, (t) => (r(), o("li", {
|
|
137
136
|
key: t,
|
|
138
|
-
onClick: (
|
|
137
|
+
onClick: (F) => p(t)
|
|
139
138
|
}, [
|
|
140
139
|
(r(), c(m(v.value), h({
|
|
141
140
|
href: n(t),
|
|
142
141
|
to: n(t),
|
|
143
|
-
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
144
|
-
|
|
142
|
+
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white",
|
|
143
|
+
ref_for: !0
|
|
144
|
+
}, e.linkProps), {
|
|
145
145
|
default: f(() => [
|
|
146
146
|
g(d(e.formatter ? e.formatter(t) : t), 1)
|
|
147
147
|
]),
|
|
148
148
|
_: 2
|
|
149
149
|
}, 1040, ["href", "to"]))
|
|
150
|
-
], 8,
|
|
150
|
+
], 8, G))), 128))
|
|
151
151
|
], 64)),
|
|
152
|
-
|
|
152
|
+
x("li", null, [
|
|
153
153
|
(r(), c(m(v.value), h({
|
|
154
154
|
href: n(u.value),
|
|
155
155
|
to: n(u.value),
|
|
@@ -163,16 +163,17 @@ const E = {
|
|
|
163
163
|
_: 1
|
|
164
164
|
}, 16, ["href", "to", "class"]))
|
|
165
165
|
]),
|
|
166
|
-
e.small ? k("", !0) : (r(), o(
|
|
167
|
-
(r(!0), o(
|
|
166
|
+
e.small ? k("", !0) : (r(), o(w, { key: 1 }, [
|
|
167
|
+
(r(!0), o(w, null, j(T.value, (t) => (r(), o("li", {
|
|
168
168
|
key: t,
|
|
169
|
-
onClick: (
|
|
169
|
+
onClick: (F) => p(t)
|
|
170
170
|
}, [
|
|
171
171
|
(r(), c(m(v.value), h({
|
|
172
172
|
href: n(t),
|
|
173
173
|
to: n(t),
|
|
174
|
-
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-
|
|
175
|
-
|
|
174
|
+
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-text-w-black uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white",
|
|
175
|
+
ref_for: !0
|
|
176
|
+
}, e.linkProps), {
|
|
176
177
|
default: f(() => [
|
|
177
178
|
g(d(e.formatter ? e.formatter(t) : t), 1)
|
|
178
179
|
]),
|
|
@@ -196,13 +197,13 @@ const E = {
|
|
|
196
197
|
}, 16, ["href", "to"]))
|
|
197
198
|
])) : k("", !0)
|
|
198
199
|
], 64)),
|
|
199
|
-
|
|
200
|
+
x("li", {
|
|
200
201
|
"data-cy": e.nextDataCy,
|
|
201
|
-
onClick: i[3] || (i[3] = (t) => p(
|
|
202
|
+
onClick: i[3] || (i[3] = (t) => p(y.value))
|
|
202
203
|
}, [
|
|
203
204
|
(r(), c(m(S(u.value) ? "span" : v.value), h({
|
|
204
|
-
href: n(
|
|
205
|
-
to: n(
|
|
205
|
+
href: n(y.value),
|
|
206
|
+
to: n(y.value),
|
|
206
207
|
class: ["arrow-button next-page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
|
|
207
208
|
"uikit-cursor-pointer hover:uikit-bg-w-primary [&_svg]:hover:uikit-brightness-0 [&_svg]:hover:uikit-invert": (u.value || 0) < a.value,
|
|
208
209
|
"hover:uikit-text-white": e.small && (u.value || 0) < a.value,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as _, mergeModels as j, useModel as D, ref as p, useTemplateRef as T, useAttrs as q, onMounted as G, createElementBlock as H, openBlock as J, createElementVNode as x, withModifiers as k, unref as h, createVNode as C } from "vue";
|
|
2
|
+
import E from "../../../../UIKit/BaseInput.js";
|
|
3
|
+
const K = { class: "range_container" }, O = { class: "sliders_control" }, Q = ["value", "min", "max", "step"], W = ["value", "min", "max", "step"], X = { class: "form_control row" }, Y = { class: "pb-15 pb-sm-0 col-sm-6 col-xl-4" }, Z = { class: "col-sm-6 col-xl-4" }, te = /* @__PURE__ */ _({
|
|
4
4
|
__name: "BaseSlider",
|
|
5
|
-
props: /* @__PURE__ */
|
|
5
|
+
props: /* @__PURE__ */ j({
|
|
6
6
|
type: { default: "linear" },
|
|
7
7
|
min: { default: 0 },
|
|
8
8
|
max: { default: 100 }
|
|
@@ -14,11 +14,11 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
14
14
|
}),
|
|
15
15
|
emits: ["update:minValue", "update:maxValue"],
|
|
16
16
|
setup(m) {
|
|
17
|
-
function
|
|
17
|
+
function M(e, l) {
|
|
18
18
|
const a = parseInt(e.value, 10), t = parseInt(l.value, 10);
|
|
19
19
|
return [a, t];
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const L = (e) => e.minPos + (Math.log(e.value) - e.minlval) / e.scale, z = (e) => Math.exp(
|
|
22
22
|
(e.position - e.minPos) * e.scale + e.minlval
|
|
23
23
|
);
|
|
24
24
|
function V(e, l, a, t, v) {
|
|
@@ -32,39 +32,39 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
32
32
|
${a} ${$ / s * 100}%,
|
|
33
33
|
${a} 100%)`;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function y(e, l) {
|
|
36
36
|
e <= 0 ? l.style.zIndex = "2" : l.style.zIndex = "0";
|
|
37
37
|
}
|
|
38
|
-
const r =
|
|
38
|
+
const r = D(m, "minValue"), o = D(m, "maxValue"), n = p(0), u = p(100), c = p(10), d = p(40), F = p(0), P = p(0), B = p(0), g = T("fromSlider"), i = T("toSlider"), S = (e, l) => {
|
|
39
39
|
if (!g.value || !i.value) return;
|
|
40
40
|
l || (l = "0");
|
|
41
41
|
const a = parseInt(l, 10);
|
|
42
42
|
if (e == "min-input") {
|
|
43
43
|
if (a >= o.value) return;
|
|
44
|
-
r.value = a,
|
|
44
|
+
r.value = a, A(i.value, a, o.value);
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
a < r.value || (o.value = a,
|
|
47
|
+
a < r.value || (o.value = a, N(i.value, i.value, r.value, a));
|
|
48
48
|
}, I = (e) => {
|
|
49
49
|
if (m.type === "logarithmic")
|
|
50
50
|
return e = e || 1, parseInt(
|
|
51
|
-
|
|
51
|
+
L({
|
|
52
52
|
value: e,
|
|
53
53
|
minPos: n.value,
|
|
54
54
|
minlval: F.value,
|
|
55
|
-
scale:
|
|
55
|
+
scale: B.value
|
|
56
56
|
}).toFixed(0),
|
|
57
57
|
10
|
|
58
58
|
);
|
|
59
59
|
if (m.type === "linear")
|
|
60
60
|
return e;
|
|
61
61
|
throw new Error("The slider type has not been implemented");
|
|
62
|
-
},
|
|
62
|
+
}, b = (e) => {
|
|
63
63
|
if (m.type === "logarithmic")
|
|
64
64
|
return e = e || 1, parseInt(
|
|
65
|
-
|
|
65
|
+
z({
|
|
66
66
|
position: e,
|
|
67
|
-
scale:
|
|
67
|
+
scale: B.value,
|
|
68
68
|
minlval: F.value,
|
|
69
69
|
minPos: n.value
|
|
70
70
|
}).toFixed(0),
|
|
@@ -73,7 +73,7 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
73
73
|
if (m.type === "linear")
|
|
74
74
|
return e;
|
|
75
75
|
throw new Error("The slider type has not been implemented");
|
|
76
|
-
},
|
|
76
|
+
}, A = (e, l, a) => {
|
|
77
77
|
const t = I(l), v = I(a);
|
|
78
78
|
V(
|
|
79
79
|
t,
|
|
@@ -88,7 +88,7 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
88
88
|
);
|
|
89
89
|
const s = t, f = o.value;
|
|
90
90
|
s > f ? c.value = f : c.value = s;
|
|
91
|
-
},
|
|
91
|
+
}, N = (e, l, a, t) => {
|
|
92
92
|
const v = I(a), s = I(t);
|
|
93
93
|
V(
|
|
94
94
|
v,
|
|
@@ -102,10 +102,10 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
102
102
|
l
|
|
103
103
|
);
|
|
104
104
|
const f = r.value, $ = s;
|
|
105
|
-
|
|
106
|
-
},
|
|
105
|
+
y(o.value, e), f <= $ ? d.value = $ : d.value = f;
|
|
106
|
+
}, U = (e, l) => {
|
|
107
107
|
if (!l.value) return;
|
|
108
|
-
const [a, t] =
|
|
108
|
+
const [a, t] = M(e, l), v = b(a);
|
|
109
109
|
V(
|
|
110
110
|
a,
|
|
111
111
|
{
|
|
@@ -117,9 +117,9 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
117
117
|
"#2B5DFF",
|
|
118
118
|
l
|
|
119
119
|
), a > t ? (e.value = `${t}`, c.value = t, r.value = t) : (c.value = a, r.value = v);
|
|
120
|
-
},
|
|
120
|
+
}, R = (e, l) => {
|
|
121
121
|
if (!l.value) return;
|
|
122
|
-
const [a, t] =
|
|
122
|
+
const [a, t] = M(e, l), v = b(t);
|
|
123
123
|
V(
|
|
124
124
|
c.value,
|
|
125
125
|
{
|
|
@@ -130,11 +130,11 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
130
130
|
"#B4C2F0",
|
|
131
131
|
"#2B5DFF",
|
|
132
132
|
l
|
|
133
|
-
),
|
|
134
|
-
},
|
|
133
|
+
), y(parseInt(l.value, 10), l), a <= t ? (d.value = t, o.value = v) : (l.value = `${a}`, d.value = a, o.value = a);
|
|
134
|
+
}, w = q();
|
|
135
135
|
return (() => {
|
|
136
|
-
n.value = parseInt(`${m.min || 0}`, 10), u.value = parseInt(`${m.max || 100}`, 10), c.value = n.value, d.value = u.value, r.value = parseInt(`${
|
|
137
|
-
})(),
|
|
136
|
+
n.value = parseInt(`${m.min || 0}`, 10), u.value = parseInt(`${m.max || 100}`, 10), c.value = n.value, d.value = u.value, r.value = parseInt(`${w.minValue || n.value}`, 10), o.value = parseInt(`${w.maxValue || u.value}`, 10), F.value = Math.log(r.value || 1), P.value = Math.log(o.value), B.value = (P.value - F.value) / (u.value - n.value);
|
|
137
|
+
})(), G(() => {
|
|
138
138
|
!g.value || !i.value || (V(
|
|
139
139
|
c.value,
|
|
140
140
|
{
|
|
@@ -145,9 +145,9 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
145
145
|
"#B4C2F0",
|
|
146
146
|
"#2B5DFF",
|
|
147
147
|
i.value
|
|
148
|
-
),
|
|
149
|
-
}), (e, l) => (
|
|
150
|
-
x("div",
|
|
148
|
+
), y(d.value, i.value));
|
|
149
|
+
}), (e, l) => (J(), H("div", K, [
|
|
150
|
+
x("div", O, [
|
|
151
151
|
x("input", {
|
|
152
152
|
ref_key: "fromSlider",
|
|
153
153
|
ref: g,
|
|
@@ -157,11 +157,11 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
157
157
|
min: n.value,
|
|
158
158
|
max: u.value,
|
|
159
159
|
step: e.$attrs.step,
|
|
160
|
-
onInput: l[0] || (l[0] =
|
|
161
|
-
g
|
|
162
|
-
i
|
|
160
|
+
onInput: l[0] || (l[0] = k((a) => U(
|
|
161
|
+
h(g),
|
|
162
|
+
h(i)
|
|
163
163
|
), ["stop"]))
|
|
164
|
-
}, null, 40,
|
|
164
|
+
}, null, 40, Q),
|
|
165
165
|
x("input", {
|
|
166
166
|
ref_key: "toSlider",
|
|
167
167
|
ref: i,
|
|
@@ -171,31 +171,31 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
171
171
|
min: n.value,
|
|
172
172
|
max: u.value,
|
|
173
173
|
step: e.$attrs.step,
|
|
174
|
-
onInput: l[1] || (l[1] =
|
|
175
|
-
g
|
|
176
|
-
i
|
|
174
|
+
onInput: l[1] || (l[1] = k((a) => R(
|
|
175
|
+
h(g),
|
|
176
|
+
h(i)
|
|
177
177
|
), ["stop"]))
|
|
178
|
-
}, null, 40,
|
|
178
|
+
}, null, 40, W)
|
|
179
179
|
]),
|
|
180
|
-
x("div",
|
|
181
|
-
x("div",
|
|
182
|
-
|
|
180
|
+
x("div", X, [
|
|
181
|
+
x("div", Y, [
|
|
182
|
+
C(E, {
|
|
183
183
|
"label-text": "Min",
|
|
184
184
|
type: "text",
|
|
185
185
|
pattern: "[0-9]*",
|
|
186
186
|
inputmode: "numeric",
|
|
187
187
|
"model-value": r.value,
|
|
188
|
-
"onUpdate:modelValue": l[2] || (l[2] = (a) =>
|
|
188
|
+
"onUpdate:modelValue": l[2] || (l[2] = (a) => S("min-input", `${a || ""}`))
|
|
189
189
|
}, null, 8, ["model-value"])
|
|
190
190
|
]),
|
|
191
|
-
x("div",
|
|
192
|
-
|
|
191
|
+
x("div", Z, [
|
|
192
|
+
C(E, {
|
|
193
193
|
"label-text": "Max",
|
|
194
194
|
type: "text",
|
|
195
195
|
pattern: "[0-9]*",
|
|
196
196
|
inputmode: "numeric",
|
|
197
197
|
"model-value": o.value,
|
|
198
|
-
"onUpdate:modelValue": l[3] || (l[3] = (a) =>
|
|
198
|
+
"onUpdate:modelValue": l[3] || (l[3] = (a) => S("max-input", `${a || ""}`))
|
|
199
199
|
}, null, 8, ["model-value"])
|
|
200
200
|
])
|
|
201
201
|
])
|
|
@@ -203,5 +203,5 @@ const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["
|
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
205
|
export {
|
|
206
|
-
|
|
206
|
+
te as default
|
|
207
207
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as u, onBeforeMount as f, createBlock as h, openBlock as i, Teleport as y, createElementVNode as e, withModifiers as l, normalizeClass as x, createElementBlock as a, createCommentVNode as s, createVNode as v, unref as _ } from "vue";
|
|
2
|
-
import { CloseIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
3
|
-
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
2
|
+
import { CloseIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
|
|
3
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
4
4
|
const g = { class: "snackbar-container uikit-fixed uikit-bottom-10px uikit-left-10px uikit-z-[2000] max-sm:uikit-left-0 max-sm:uikit-w-full" }, T = ["data-cy"], w = ["src", "alt"], L = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "snackbar-type-icon uikit-bg-contain uikit-bg-no-repeat"
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { defineComponent as y, ref as v, computed as h, watch as x, renderSlot as m, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as b, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
|
|
2
|
-
import { isArrNullOrEmpty as V } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.
|
|
2
|
+
import { isArrNullOrEmpty as V } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
|
|
3
3
|
import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
4
|
-
import "
|
|
5
|
-
import { stringToHyphened as L } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.4/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
|
|
4
|
+
import { stringToHyphened as L } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
|
|
6
5
|
import "../../../../../_virtual/polyline.js";
|
|
7
6
|
import G from "../../../../../UIKit/Checkbox/CheckboxBtn.js";
|
|
8
|
-
const N = ["id", "data-cy"],
|
|
7
|
+
const N = ["id", "data-cy"], F = /* @__PURE__ */ y({
|
|
9
8
|
inheritAttrs: !1,
|
|
10
9
|
__name: "CheckboxGroup",
|
|
11
10
|
props: {
|
|
@@ -18,15 +17,15 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ y({
|
|
|
18
17
|
autoCheckResetAll: { type: Boolean, default: !1 },
|
|
19
18
|
autoCheckResetEmpty: { type: Boolean, default: !1 },
|
|
20
19
|
manualToggleResetButton: { type: Boolean, default: !1 },
|
|
21
|
-
getKey: {
|
|
22
|
-
return (
|
|
20
|
+
getKey: { default() {
|
|
21
|
+
return (r) => typeof r == "string" || typeof r == "number" ? `${r}` : `${r.id}`;
|
|
23
22
|
} },
|
|
24
23
|
groupId: { default: "" },
|
|
25
24
|
dataCy: { default: "" }
|
|
26
25
|
},
|
|
27
26
|
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
28
|
-
setup(
|
|
29
|
-
const o =
|
|
27
|
+
setup(r, { emit: g }) {
|
|
28
|
+
const o = r, n = g, c = v(/* @__PURE__ */ new Map()), s = h(() => {
|
|
30
29
|
for (const e of o.checkboxData)
|
|
31
30
|
if (e.reset) return e;
|
|
32
31
|
return null;
|
|
@@ -43,7 +42,7 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ y({
|
|
|
43
42
|
`${t.id}`,
|
|
44
43
|
t
|
|
45
44
|
), t.checked && e.push(t);
|
|
46
|
-
|
|
45
|
+
n("update:modelValue", e);
|
|
47
46
|
})();
|
|
48
47
|
const u = (e, t) => {
|
|
49
48
|
const a = c.value.get(e);
|
|
@@ -59,7 +58,7 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ y({
|
|
|
59
58
|
e.checked = !1;
|
|
60
59
|
});
|
|
61
60
|
}, p = () => {
|
|
62
|
-
k(),
|
|
61
|
+
k(), n("update:modelValue", []), n("resetted");
|
|
63
62
|
}, d = (e) => c.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
|
|
64
63
|
if (V(o.checkboxData)) return;
|
|
65
64
|
const t = c.value.get(e.id);
|
|
@@ -69,7 +68,7 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ y({
|
|
|
69
68
|
const a = [];
|
|
70
69
|
c.value.forEach((l) => {
|
|
71
70
|
l.checked && a.push(l);
|
|
72
|
-
}),
|
|
71
|
+
}), n("update:modelValue", a), n("checkedGroup", o.groupId);
|
|
73
72
|
};
|
|
74
73
|
return x(
|
|
75
74
|
() => o.reset,
|
|
@@ -111,5 +110,5 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ y({
|
|
|
111
110
|
}
|
|
112
111
|
});
|
|
113
112
|
export {
|
|
114
|
-
|
|
113
|
+
F as default
|
|
115
114
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent as J, reactive as Q, ref as k, useId as U, computed as f, onMounted as X, watch as Y, nextTick as M, createElementBlock as l, openBlock as u, normalizeClass as p, createElementVNode as v, createCommentVNode as y, renderSlot as E, Fragment as P, renderList as F, mergeProps as T, withModifiers as O } from "vue";
|
|
2
2
|
import { Swiper as B } from "swiper";
|
|
3
|
-
import x from "../../../../../node_modules/.pnpm/swiper@11.2.
|
|
4
|
-
import '../../../../../assets/node_modules/.pnpm/swiper@11.2.
|
|
5
|
-
/* empty css
|
|
3
|
+
import x from "../../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js";
|
|
4
|
+
import '../../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css';/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
6
|
import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
7
|
-
import { shallowCopyObjectTo as _ } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.
|
|
8
|
-
import "date-fns";
|
|
7
|
+
import { shallowCopyObjectTo as _ } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
|
|
9
8
|
import "../../../../../_virtual/polyline.js";
|
|
10
|
-
const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "height", "onLoad"], ie = ["id"], ae = ["alt"],
|
|
9
|
+
const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "height", "onLoad"], ie = ["id"], ae = ["alt"], me = /* @__PURE__ */ J({
|
|
11
10
|
inheritAttrs: !1,
|
|
12
11
|
__name: "SwiperCarousel",
|
|
13
12
|
props: {
|
|
@@ -185,7 +184,7 @@ const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "he
|
|
|
185
184
|
},
|
|
186
185
|
class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
|
|
187
186
|
"data-idx": `${d.value}-slide-img-${a}`
|
|
188
|
-
},
|
|
187
|
+
}, z(t, a), {
|
|
189
188
|
alt: t.alt,
|
|
190
189
|
itemprop: "image",
|
|
191
190
|
width: t.width,
|
|
@@ -232,8 +231,9 @@ const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "he
|
|
|
232
231
|
class: p(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
|
|
233
232
|
}, [
|
|
234
233
|
v("img", T({
|
|
235
|
-
class: e.$attrs["thumb-img-classes"]
|
|
236
|
-
|
|
234
|
+
class: e.$attrs["thumb-img-classes"],
|
|
235
|
+
ref_for: !0
|
|
236
|
+
}, z(t, -1, !1), {
|
|
237
237
|
alt: t.alt
|
|
238
238
|
}), null, 16, ae)
|
|
239
239
|
], 2))), 128))
|
|
@@ -243,5 +243,5 @@ const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "he
|
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
export {
|
|
246
|
-
|
|
246
|
+
me as default
|
|
247
247
|
};
|