@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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { g as K, a as U } from "../shared/ssr-window.esm.js";
|
|
2
|
+
import { a as C, b as W } from "../shared/utils.js";
|
|
3
|
+
function I(H) {
|
|
4
|
+
let {
|
|
5
|
+
swiper: e,
|
|
6
|
+
extendParams: V,
|
|
7
|
+
on: b,
|
|
8
|
+
emit: x
|
|
9
|
+
} = H;
|
|
10
|
+
const o = K(), m = U();
|
|
11
|
+
e.keyboard = {
|
|
12
|
+
enabled: !1
|
|
13
|
+
}, V({
|
|
14
|
+
keyboard: {
|
|
15
|
+
enabled: !1,
|
|
16
|
+
onlyInViewport: !0,
|
|
17
|
+
pageUpDown: !0
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
function y(L) {
|
|
21
|
+
if (!e.enabled) return;
|
|
22
|
+
const {
|
|
23
|
+
rtlTranslate: s
|
|
24
|
+
} = e;
|
|
25
|
+
let t = L;
|
|
26
|
+
t.originalEvent && (t = t.originalEvent);
|
|
27
|
+
const i = t.keyCode || t.charCode, k = e.params.keyboard.pageUpDown, r = k && i === 33, a = k && i === 34, d = i === 37, f = i === 39, c = i === 38, u = i === 40;
|
|
28
|
+
if (!e.allowSlideNext && (e.isHorizontal() && f || e.isVertical() && u || a) || !e.allowSlidePrev && (e.isHorizontal() && d || e.isVertical() && c || r))
|
|
29
|
+
return !1;
|
|
30
|
+
if (!(t.shiftKey || t.altKey || t.ctrlKey || t.metaKey) && !(o.activeElement && o.activeElement.nodeName && (o.activeElement.nodeName.toLowerCase() === "input" || o.activeElement.nodeName.toLowerCase() === "textarea"))) {
|
|
31
|
+
if (e.params.keyboard.onlyInViewport && (r || a || d || f || c || u)) {
|
|
32
|
+
let h = !1;
|
|
33
|
+
if (C(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && C(e.el, `.${e.params.slideActiveClass}`).length === 0)
|
|
34
|
+
return;
|
|
35
|
+
const p = e.el, D = p.clientWidth, E = p.clientHeight, N = m.innerWidth, A = m.innerHeight, n = W(p);
|
|
36
|
+
s && (n.left -= p.scrollLeft);
|
|
37
|
+
const P = [[n.left, n.top], [n.left + D, n.top], [n.left, n.top + E], [n.left + D, n.top + E]];
|
|
38
|
+
for (let w = 0; w < P.length; w += 1) {
|
|
39
|
+
const l = P[w];
|
|
40
|
+
if (l[0] >= 0 && l[0] <= N && l[1] >= 0 && l[1] <= A) {
|
|
41
|
+
if (l[0] === 0 && l[1] === 0) continue;
|
|
42
|
+
h = !0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
if (!h) return;
|
|
46
|
+
}
|
|
47
|
+
e.isHorizontal() ? ((r || a || d || f) && (t.preventDefault ? t.preventDefault() : t.returnValue = !1), ((a || f) && !s || (r || d) && s) && e.slideNext(), ((r || d) && !s || (a || f) && s) && e.slidePrev()) : ((r || a || c || u) && (t.preventDefault ? t.preventDefault() : t.returnValue = !1), (a || u) && e.slideNext(), (r || c) && e.slidePrev()), x("keyPress", i);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function g() {
|
|
51
|
+
e.keyboard.enabled || (o.addEventListener("keydown", y), e.keyboard.enabled = !0);
|
|
52
|
+
}
|
|
53
|
+
function v() {
|
|
54
|
+
e.keyboard.enabled && (o.removeEventListener("keydown", y), e.keyboard.enabled = !1);
|
|
55
|
+
}
|
|
56
|
+
b("init", () => {
|
|
57
|
+
e.params.keyboard.enabled && g();
|
|
58
|
+
}), b("destroy", () => {
|
|
59
|
+
e.keyboard.enabled && v();
|
|
60
|
+
}), Object.assign(e.keyboard, {
|
|
61
|
+
enable: g,
|
|
62
|
+
disable: v
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
I as default
|
|
67
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as $ } from "../shared/classes-to-selector.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { m,
|
|
4
|
-
function
|
|
2
|
+
import { c as F } from "../shared/create-element-if-not-defined.js";
|
|
3
|
+
import { m, a as E, f as T, h as S } from "../shared/utils.js";
|
|
4
|
+
function N(I) {
|
|
5
5
|
let {
|
|
6
6
|
swiper: e,
|
|
7
7
|
extendParams: H,
|
|
8
8
|
on: g,
|
|
9
9
|
emit: v
|
|
10
|
-
} =
|
|
10
|
+
} = I;
|
|
11
11
|
const d = "swiper-pagination";
|
|
12
12
|
H({
|
|
13
13
|
pagination: {
|
|
@@ -54,7 +54,7 @@ function j(O) {
|
|
|
54
54
|
} = e.params.pagination;
|
|
55
55
|
a && (a = a[`${s === "prev" ? "previous" : "next"}ElementSibling`], a && (a.classList.add(`${i}-${s}`), a = a[`${s === "prev" ? "previous" : "next"}ElementSibling`], a && a.classList.add(`${i}-${s}-${s}`)));
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function O(a, s, i) {
|
|
58
58
|
if (a = a % i, s = s % i, s === a + 1)
|
|
59
59
|
return "next";
|
|
60
60
|
if (s === a - 1)
|
|
@@ -68,7 +68,7 @@ function j(O) {
|
|
|
68
68
|
const i = S(s) * e.params.slidesPerGroup;
|
|
69
69
|
if (e.params.loop) {
|
|
70
70
|
if (e.realIndex === i) return;
|
|
71
|
-
const t =
|
|
71
|
+
const t = O(e.realIndex, i, e.slides.length);
|
|
72
72
|
t === "next" ? e.slideNext() : t === "previous" ? e.slidePrev() : e.slideToLoop(i);
|
|
73
73
|
} else
|
|
74
74
|
e.slideTo(i);
|
|
@@ -83,7 +83,7 @@ function j(O) {
|
|
|
83
83
|
if (e.params.loop ? (p = e.previousRealIndex || 0, t = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : typeof e.snapIndex < "u" ? (t = e.snapIndex, p = e.previousSnapIndex) : (p = e.previousIndex || 0, t = e.activeIndex || 0), s.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
|
|
84
84
|
const l = e.pagination.bullets;
|
|
85
85
|
let f, c, L;
|
|
86
|
-
if (s.dynamicBullets && (b =
|
|
86
|
+
if (s.dynamicBullets && (b = T(l[0], e.isHorizontal() ? "width" : "height"), i.forEach((n) => {
|
|
87
87
|
n.style[e.isHorizontal() ? "width" : "height"] = `${b * (s.dynamicMainBullets + 4)}px`;
|
|
88
88
|
}), s.dynamicMainBullets > 1 && p !== void 0 && (u += t - (p || 0), u > s.dynamicMainBullets - 1 ? u = s.dynamicMainBullets - 1 : u < 0 && (u = 0)), f = Math.max(t - u, 0), c = f + (Math.min(l.length, s.dynamicMainBullets) - 1), L = (c + f) / 2), l.forEach((n) => {
|
|
89
89
|
const r = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((o) => `${s.bulletActiveClass}${o}`)].map((o) => typeof o == "string" && o.includes(" ") ? o.split(" ") : o).flat();
|
|
@@ -125,7 +125,7 @@ function j(O) {
|
|
|
125
125
|
o.style.transform = `translate3d(0,0,0) scaleX(${n}) scaleY(${r})`, o.style.transitionDuration = `${e.params.speed}ms`;
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
s.type === "custom" && s.renderCustom ? (
|
|
128
|
+
s.type === "custom" && s.renderCustom ? (l.innerHTML = s.renderCustom(e, t + 1, z), f === 0 && v("paginationRender", l)) : (f === 0 && v("paginationRender", l), v("paginationUpdate", l)), e.params.watchOverflow && e.enabled && l.classList[e.isLocked ? "add" : "remove"](s.lockClass);
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
function B() {
|
|
@@ -142,17 +142,17 @@ function j(O) {
|
|
|
142
142
|
a.renderBullet ? t += a.renderBullet.call(e, C, a.bulletClass) : t += `<${a.bulletElement} ${e.isElement ? 'part="bullet"' : ""} class="${a.bulletClass}"></${a.bulletElement}>`;
|
|
143
143
|
}
|
|
144
144
|
a.type === "fraction" && (a.renderFraction ? t = a.renderFraction.call(e, a.currentClass, a.totalClass) : t = `<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`), a.type === "progressbar" && (a.renderProgressbar ? t = a.renderProgressbar.call(e, a.progressbarFillClass) : t = `<span class="${a.progressbarFillClass}"></span>`), e.pagination.bullets = [], i.forEach((p) => {
|
|
145
|
-
a.type !== "custom" &&
|
|
145
|
+
a.type !== "custom" && (p.innerHTML = t || ""), a.type === "bullets" && e.pagination.bullets.push(...p.querySelectorAll($(a.bulletClass)));
|
|
146
146
|
}), a.type !== "custom" && v("paginationRender", i[0]);
|
|
147
147
|
}
|
|
148
148
|
function A() {
|
|
149
|
-
e.params.pagination =
|
|
149
|
+
e.params.pagination = F(e, e.originalParams.pagination, e.params.pagination, {
|
|
150
150
|
el: "swiper-pagination"
|
|
151
151
|
});
|
|
152
152
|
const a = e.params.pagination;
|
|
153
153
|
if (!a.el) return;
|
|
154
154
|
let s;
|
|
155
|
-
typeof a.el == "string" && e.isElement && (s = e.el.querySelector(a.el)), !s && typeof a.el == "string" && (s = [...document.querySelectorAll(a.el)]), s || (s = a.el), !(!s || s.length === 0) && (e.params.uniqueNavElements && typeof a.el == "string" && Array.isArray(s) && s.length > 1 && (s = [...e.el.querySelectorAll(a.el)], s.length > 1 && (s = s.find((i) =>
|
|
155
|
+
typeof a.el == "string" && e.isElement && (s = e.el.querySelector(a.el)), !s && typeof a.el == "string" && (s = [...document.querySelectorAll(a.el)]), s || (s = a.el), !(!s || s.length === 0) && (e.params.uniqueNavElements && typeof a.el == "string" && Array.isArray(s) && s.length > 1 && (s = [...e.el.querySelectorAll(a.el)], s.length > 1 && (s = s.find((i) => E(i, ".swiper")[0] === e.el))), Array.isArray(s) && s.length === 1 && (s = s[0]), Object.assign(e.pagination, {
|
|
156
156
|
el: s
|
|
157
157
|
}), s = m(s), s.forEach((i) => {
|
|
158
158
|
a.type === "bullets" && a.clickable && i.classList.add(...(a.clickableClass || "").split(" ")), i.classList.add(a.modifierClass + a.type), i.classList.add(e.isHorizontal() ? a.horizontalClass : a.verticalClass), a.type === "bullets" && a.dynamicBullets && (i.classList.add(`${a.modifierClass}${a.type}-dynamic`), u = 0, a.dynamicMainBullets < 1 && (a.dynamicMainBullets = 1)), a.type === "progressbar" && a.progressbarOpposite && i.classList.add(a.progressbarOppositeClass), a.clickable && i.addEventListener("click", D), e.enabled || i.classList.add(a.lockClass);
|
|
@@ -176,7 +176,7 @@ function j(O) {
|
|
|
176
176
|
i.classList.remove(a.horizontalClass, a.verticalClass), i.classList.add(e.isHorizontal() ? a.horizontalClass : a.verticalClass);
|
|
177
177
|
});
|
|
178
178
|
}), g("init", () => {
|
|
179
|
-
e.params.pagination.enabled === !1 ?
|
|
179
|
+
e.params.pagination.enabled === !1 ? P() : (A(), B(), h());
|
|
180
180
|
}), g("activeIndexChange", () => {
|
|
181
181
|
typeof e.snapIndex > "u" && h();
|
|
182
182
|
}), g("snapIndexChange", () => {
|
|
@@ -200,13 +200,13 @@ function j(O) {
|
|
|
200
200
|
v(p === !0 ? "paginationShow" : "paginationHide"), t.forEach((C) => C.classList.toggle(e.params.pagination.hiddenClass));
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
|
-
const
|
|
203
|
+
const w = () => {
|
|
204
204
|
e.el.classList.remove(e.params.pagination.paginationDisabledClass);
|
|
205
205
|
let {
|
|
206
206
|
el: a
|
|
207
207
|
} = e.pagination;
|
|
208
208
|
a && (a = m(a), a.forEach((s) => s.classList.remove(e.params.pagination.paginationDisabledClass))), A(), B(), h();
|
|
209
|
-
},
|
|
209
|
+
}, P = () => {
|
|
210
210
|
e.el.classList.add(e.params.pagination.paginationDisabledClass);
|
|
211
211
|
let {
|
|
212
212
|
el: a
|
|
@@ -214,8 +214,8 @@ function j(O) {
|
|
|
214
214
|
a && (a = m(a), a.forEach((s) => s.classList.add(e.params.pagination.paginationDisabledClass))), M();
|
|
215
215
|
};
|
|
216
216
|
Object.assign(e.pagination, {
|
|
217
|
-
enable:
|
|
218
|
-
disable:
|
|
217
|
+
enable: w,
|
|
218
|
+
disable: P,
|
|
219
219
|
render: B,
|
|
220
220
|
update: h,
|
|
221
221
|
init: A,
|
|
@@ -223,5 +223,5 @@ function j(O) {
|
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
N as default
|
|
227
227
|
};
|
package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/modules/zoom.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as he } from "../shared/ssr-window.esm.js";
|
|
2
|
-
import { e as se,
|
|
2
|
+
import { e as se, a as q, b as re, j as oe } from "../shared/utils.js";
|
|
3
3
|
function xe(le) {
|
|
4
4
|
let {
|
|
5
5
|
swiper: a,
|
|
@@ -72,12 +72,12 @@ function xe(le) {
|
|
|
72
72
|
H = i;
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
function
|
|
75
|
+
function j() {
|
|
76
76
|
if (r.length < 2) return 1;
|
|
77
77
|
const i = r[0].pageX, s = r[0].pageY, n = r[1].pageX, o = r[1].pageY;
|
|
78
78
|
return Math.sqrt((n - i) ** 2 + (o - s) ** 2);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function k() {
|
|
81
81
|
const i = a.params.zoom, s = t.imageWrapEl.getAttribute("data-swiper-zoom") || i.maxRatio;
|
|
82
82
|
if (i.limitToOriginalSize && t.imageEl && t.imageEl.naturalWidth) {
|
|
83
83
|
const n = t.imageEl.naturalWidth / t.imageEl.offsetWidth;
|
|
@@ -100,22 +100,22 @@ function xe(le) {
|
|
|
100
100
|
const s = de();
|
|
101
101
|
return !!(i.target.matches(s) || a.slides.filter((n) => n.contains(i.target)).length > 0);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Z(i) {
|
|
104
104
|
const s = `.${a.params.zoom.containerClass}`;
|
|
105
105
|
return !!(i.target.matches(s) || [...a.hostEl.querySelectorAll(s)].filter((n) => n.contains(i.target)).length > 0);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function _(i) {
|
|
108
108
|
if (i.pointerType === "mouse" && r.splice(0, r.length), !M(i)) return;
|
|
109
109
|
const s = a.params.zoom;
|
|
110
110
|
if (w = !1, S = !1, r.push(i), !(r.length < 2)) {
|
|
111
|
-
if (w = !0, t.scaleStart =
|
|
111
|
+
if (w = !0, t.scaleStart = j(), !t.slideEl) {
|
|
112
112
|
t.slideEl = i.target.closest(`.${a.params.slideClass}, swiper-slide`), t.slideEl || (t.slideEl = a.slides[a.activeIndex]);
|
|
113
113
|
let n = t.slideEl.querySelector(`.${s.containerClass}`);
|
|
114
114
|
if (n && (n = n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), t.imageEl = n, n ? t.imageWrapEl = q(t.imageEl, `.${s.containerClass}`)[0] : t.imageWrapEl = void 0, !t.imageWrapEl) {
|
|
115
115
|
t.imageEl = void 0;
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
-
t.maxRatio =
|
|
118
|
+
t.maxRatio = k();
|
|
119
119
|
}
|
|
120
120
|
if (t.imageEl) {
|
|
121
121
|
const [n, o] = ue();
|
|
@@ -127,7 +127,7 @@ function xe(le) {
|
|
|
127
127
|
function B(i) {
|
|
128
128
|
if (!M(i)) return;
|
|
129
129
|
const s = a.params.zoom, n = a.zoom, o = r.findIndex((c) => c.pointerId === i.pointerId);
|
|
130
|
-
o >= 0 && (r[o] = i), !(r.length < 2) && (S = !0, t.scaleMove =
|
|
130
|
+
o >= 0 && (r[o] = i), !(r.length < 2) && (S = !0, t.scaleMove = j(), t.imageEl && (n.scale = t.scaleMove / t.scaleStart * u, n.scale > t.maxRatio && (n.scale = t.maxRatio - 1 + (n.scale - t.maxRatio + 1) ** 0.5), n.scale < s.minRatio && (n.scale = s.minRatio + 1 - (s.minRatio - n.scale + 1) ** 0.5), t.imageEl.style.transform = `translate3d(0,0,0) scale(${n.scale})`));
|
|
131
131
|
}
|
|
132
132
|
function F(i) {
|
|
133
133
|
if (!M(i) || i.pointerType === "mouse" && i.type === "pointerout") return;
|
|
@@ -152,7 +152,7 @@ function xe(le) {
|
|
|
152
152
|
}
|
|
153
153
|
function K(i) {
|
|
154
154
|
const n = i.pointerType === "mouse" && a.params.zoom.panOnMouseMove;
|
|
155
|
-
if (!M(i) || !
|
|
155
|
+
if (!M(i) || !Z(i))
|
|
156
156
|
return;
|
|
157
157
|
const o = a.zoom;
|
|
158
158
|
if (!t.imageEl)
|
|
@@ -205,7 +205,7 @@ function xe(le) {
|
|
|
205
205
|
t.slideEl && a.activeIndex !== a.slides.indexOf(t.slideEl) && (t.imageEl && (t.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), t.imageWrapEl && (t.imageWrapEl.style.transform = "translate3d(0,0,0)"), t.slideEl.classList.remove(`${a.params.zoom.zoomedSlideClass}`), i.scale = 1, u = 1, t.slideEl = void 0, t.imageEl = void 0, t.imageWrapEl = void 0, t.originX = 0, t.originY = 0);
|
|
206
206
|
}
|
|
207
207
|
function Q(i) {
|
|
208
|
-
if (u <= 1 || !t.imageWrapEl || !M(i) || !
|
|
208
|
+
if (u <= 1 || !t.imageWrapEl || !M(i) || !Z(i)) return;
|
|
209
209
|
const s = x.getComputedStyle(t.imageWrapEl).transform, n = new x.DOMMatrix(s);
|
|
210
210
|
if (!C) {
|
|
211
211
|
C = !0, v.x = i.clientX, v.y = i.clientY, e.startX = n.e, e.startY = n.f, e.width = t.imageEl.offsetWidth || t.imageEl.clientWidth, e.height = t.imageEl.offsetHeight || t.imageEl.clientHeight, t.slideWidth = t.slideEl.offsetWidth, t.slideHeight = t.slideEl.offsetHeight;
|
|
@@ -227,7 +227,7 @@ function xe(le) {
|
|
|
227
227
|
typeof e.touchesStart.x > "u" && i ? (o = i.pageX, c = i.pageY) : (o = e.touchesStart.x, c = e.touchesStart.y);
|
|
228
228
|
const A = u, y = typeof i == "number" ? i : null;
|
|
229
229
|
u === 1 && y && (o = void 0, c = void 0, e.touchesStart.x = void 0, e.touchesStart.y = void 0);
|
|
230
|
-
const ne =
|
|
230
|
+
const ne = k();
|
|
231
231
|
s.scale = y || ne, u = y || ne, i && !(u === 1 && y) ? (I = t.slideEl.offsetWidth, O = t.slideEl.offsetHeight, p = re(t.slideEl).left + x.scrollX, g = re(t.slideEl).top + x.scrollY, f = p + I / 2 - o, h = g + O / 2 - c, z = t.imageEl.offsetWidth || t.imageEl.clientWidth, T = t.imageEl.offsetHeight || t.imageEl.clientHeight, X = z * s.scale, Y = T * s.scale, b = Math.min(I / 2 - X / 2, 0), $ = Math.min(O / 2 - Y / 2, 0), L = -b, R = -$, A > 0 && y && typeof e.currentX == "number" && typeof e.currentY == "number" ? (m = e.currentX * s.scale / A, d = e.currentY * s.scale / A) : (m = f * s.scale, d = h * s.scale), m < b && (m = b), m > L && (m = L), d < $ && (d = $), d > R && (d = R)) : (m = 0, d = 0), y && s.scale === 1 && (t.originX = 0, t.originY = 0), e.currentX = m, e.currentY = d, t.imageWrapEl.style.transitionDuration = "300ms", t.imageWrapEl.style.transform = `translate3d(${m}px, ${d}px,0)`, t.imageEl.style.transitionDuration = "300ms", t.imageEl.style.transform = `translate3d(0,0,0) scale(${s.scale})`;
|
|
232
232
|
}
|
|
233
233
|
function V() {
|
|
@@ -267,7 +267,7 @@ function xe(le) {
|
|
|
267
267
|
passiveListener: s,
|
|
268
268
|
activeListenerWithCapture: n
|
|
269
269
|
} = te();
|
|
270
|
-
a.wrapperEl.addEventListener("pointerdown",
|
|
270
|
+
a.wrapperEl.addEventListener("pointerdown", _, s), a.wrapperEl.addEventListener("pointermove", B, n), ["pointerup", "pointercancel", "pointerout"].forEach((o) => {
|
|
271
271
|
a.wrapperEl.addEventListener(o, F, s);
|
|
272
272
|
}), a.wrapperEl.addEventListener("pointermove", K, n);
|
|
273
273
|
}
|
|
@@ -279,7 +279,7 @@ function xe(le) {
|
|
|
279
279
|
passiveListener: s,
|
|
280
280
|
activeListenerWithCapture: n
|
|
281
281
|
} = te();
|
|
282
|
-
a.wrapperEl.removeEventListener("pointerdown",
|
|
282
|
+
a.wrapperEl.removeEventListener("pointerdown", _, s), a.wrapperEl.removeEventListener("pointermove", B, n), ["pointerup", "pointercancel", "pointerout"].forEach((o) => {
|
|
283
283
|
a.wrapperEl.removeEventListener(o, F, s);
|
|
284
284
|
}), a.wrapperEl.removeEventListener("pointermove", K, n);
|
|
285
285
|
}
|
package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.6}/node_modules/swiper/shared/utils.js
RENAMED
|
@@ -2,7 +2,7 @@ import { a, g as c } from "./ssr-window.esm.js";
|
|
|
2
2
|
function u(t) {
|
|
3
3
|
return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function d(t, e) {
|
|
6
6
|
return e === void 0 && (e = 0), setTimeout(t, e);
|
|
7
7
|
}
|
|
8
8
|
function g() {
|
|
@@ -13,17 +13,17 @@ function m(t) {
|
|
|
13
13
|
let n;
|
|
14
14
|
return e.getComputedStyle && (n = e.getComputedStyle(t, null)), !n && t.currentStyle && (n = t.currentStyle), n || (n = t.style), n;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function y(t, e) {
|
|
17
17
|
e === void 0 && (e = "x");
|
|
18
18
|
const n = a();
|
|
19
|
-
let r, i,
|
|
19
|
+
let r, i, l;
|
|
20
20
|
const o = m(t);
|
|
21
|
-
return n.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((
|
|
21
|
+
return n.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((s) => s.replace(",", ".")).join(", ")), l = new n.WebKitCSSMatrix(i === "none" ? "" : i)) : (l = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = l.toString().split(",")), e === "x" && (n.WebKitCSSMatrix ? i = l.m41 : r.length === 16 ? i = parseFloat(r[12]) : i = parseFloat(r[4])), e === "y" && (n.WebKitCSSMatrix ? i = l.m42 : r.length === 16 ? i = parseFloat(r[13]) : i = parseFloat(r[5])), i || 0;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function S(t) {
|
|
24
24
|
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function h(t, e) {
|
|
27
27
|
e === void 0 && (e = "");
|
|
28
28
|
const n = a(), r = [...t.children];
|
|
29
29
|
return n.HTMLSlotElement && t instanceof HTMLSlotElement && r.push(...t.assignedElements()), e ? r.filter((i) => i.matches(e)) : r;
|
|
@@ -33,14 +33,14 @@ function w(t, e) {
|
|
|
33
33
|
const n = document.createElement(t);
|
|
34
34
|
return n.classList.add(...Array.isArray(e) ? e : u(e)), n;
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const e = a(), n = c(), r = t.getBoundingClientRect(), i = n.body,
|
|
36
|
+
function T(t) {
|
|
37
|
+
const e = a(), n = c(), r = t.getBoundingClientRect(), i = n.body, l = t.clientTop || i.clientTop || 0, o = t.clientLeft || i.clientLeft || 0, s = t === e ? e.scrollY : t.scrollTop, f = t === e ? e.scrollX : t.scrollLeft;
|
|
38
38
|
return {
|
|
39
|
-
top: r.top +
|
|
39
|
+
top: r.top + s - l,
|
|
40
40
|
left: r.left + f - o
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function b(t) {
|
|
44
44
|
let e = t, n;
|
|
45
45
|
if (e) {
|
|
46
46
|
for (n = 0; (e = e.previousSibling) !== null; )
|
|
@@ -48,44 +48,38 @@ function L(t) {
|
|
|
48
48
|
return n;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function C(t, e) {
|
|
52
52
|
const n = [];
|
|
53
53
|
let r = t.parentElement;
|
|
54
54
|
for (; r; )
|
|
55
55
|
e ? r.matches(e) && n.push(r) : n.push(r), r = r.parentElement;
|
|
56
56
|
return n;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function E(t, e) {
|
|
59
59
|
function n(r) {
|
|
60
60
|
r.target === t && (e.call(t, r), t.removeEventListener("transitionend", n));
|
|
61
61
|
}
|
|
62
62
|
e && t.addEventListener("transitionend", n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function x(t, e, n) {
|
|
65
65
|
const r = a();
|
|
66
66
|
return t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function L(t) {
|
|
69
69
|
return (Array.isArray(t) ? t : [t]).filter((e) => !!e);
|
|
70
70
|
}
|
|
71
|
-
function v(t, e) {
|
|
72
|
-
e === void 0 && (e = ""), typeof trustedTypes < "u" ? t.innerHTML = trustedTypes.createPolicy("html", {
|
|
73
|
-
createHTML: (n) => n
|
|
74
|
-
}).createHTML(e) : t.innerHTML = e;
|
|
75
|
-
}
|
|
76
71
|
export {
|
|
77
|
-
|
|
72
|
+
C as a,
|
|
73
|
+
T as b,
|
|
78
74
|
w as c,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
y as o,
|
|
90
|
-
v as s
|
|
75
|
+
g as d,
|
|
76
|
+
h as e,
|
|
77
|
+
x as f,
|
|
78
|
+
b as h,
|
|
79
|
+
u as i,
|
|
80
|
+
y as j,
|
|
81
|
+
E as k,
|
|
82
|
+
S as l,
|
|
83
|
+
L as m,
|
|
84
|
+
d as n
|
|
91
85
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as p } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import "../../../../node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as p } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js";
|
|
2
|
+
import "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js";
|
|
3
3
|
export {
|
|
4
4
|
p as Autoplay
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as e } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import "../../../../node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as e } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js";
|
|
2
|
+
import "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js";
|
|
3
3
|
export {
|
|
4
4
|
e as Controller
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as t } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as t } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js";
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
t as FreeMode
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as e } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import "../../../../node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as e } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js";
|
|
2
|
+
import "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js";
|
|
3
3
|
export {
|
|
4
4
|
e as Keyboard
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as i } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as i } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js";
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
i as Navigation
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as i } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import '../../../../assets/node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as i } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js";
|
|
2
|
+
import '../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
i as Pagination
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as t } from "../../../../node_modules/.pnpm/swiper@11.2.
|
|
2
|
-
import "../../../../node_modules/.pnpm/swiper@11.2.
|
|
1
|
+
import { default as t } from "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.js";
|
|
2
|
+
import "../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js";
|
|
3
3
|
export {
|
|
4
4
|
t as Thumbs
|
|
5
5
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as F, mergeModels as $, useModel as M, useId as A, computed as V, ref as L, watch as w, onMounted as E, onUnmounted as P, createElementBlock as s, openBlock as a, normalizeClass as l, createElementVNode as o, createCommentVNode as d, withModifiers as p, renderSlot as z, unref as b, createBlock as N, createVNode as O, Fragment as T, renderList as S } from "vue";
|
|
2
|
-
import { useKeyboardController as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.
|
|
3
|
-
import { ArrowIcon as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
4
|
-
import { WarningIconRounded as K } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
5
|
-
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
2
|
+
import { useKeyboardController as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
|
|
3
|
+
import { ArrowIcon as j } 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 { WarningIconRounded as K } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js";
|
|
5
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
6
6
|
const R = ["id", "innerHTML"], U = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], W = ["innerHTML"], G = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, J = ["innerHTML"], Q = ["data-cy"], X = ["id", "aria-selected", "onClick", "onMouseover"], Y = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Z = ["name", "checked", "onInput"], x = ["innerHTML"], _ = ["id", "arial-live", "innerHTML"], ee = ["id", "arial-live", "innerHTML"], se = /* @__PURE__ */ F({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "AccessibleSelect",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, ref as u, provide as c, renderSlot as d } from "vue";
|
|
2
2
|
import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
3
|
-
import { isEmptyObject as f } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.
|
|
4
|
-
import "date-fns";
|
|
3
|
+
import { isEmptyObject as f } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
|
|
5
4
|
import "../../../../../_virtual/polyline.js";
|
|
6
|
-
const
|
|
5
|
+
const k = /* @__PURE__ */ p({
|
|
7
6
|
__name: "BaseAccordion",
|
|
8
7
|
props: {
|
|
9
8
|
autoClose: { type: Boolean, default: !0 },
|
|
@@ -12,23 +11,23 @@ const y = /* @__PURE__ */ s({
|
|
|
12
11
|
setup(l) {
|
|
13
12
|
const n = u(null), o = u(
|
|
14
13
|
{}
|
|
15
|
-
),
|
|
14
|
+
), i = (e, t) => {
|
|
16
15
|
if (l.autoClose && t && !f(t))
|
|
17
16
|
for (const a in t)
|
|
18
17
|
a !== `${e}` && (t[a].active = !1);
|
|
19
|
-
},
|
|
18
|
+
}, s = (e, t) => {
|
|
20
19
|
t && (t[e].active = !(t[e].active ?? !1));
|
|
21
20
|
}, r = (e, t) => {
|
|
22
|
-
|
|
21
|
+
i(e.id, t ?? o.value), n.value = e, s(e.id, t ?? o.value);
|
|
23
22
|
};
|
|
24
|
-
return
|
|
23
|
+
return c("handleClick", (e) => {
|
|
25
24
|
l.autoUpdate && r(e);
|
|
26
|
-
}),
|
|
25
|
+
}), c("accordionItems", o), (e, t) => d(e.$slots, "default", {
|
|
27
26
|
updatePrev: r,
|
|
28
27
|
prev: n.value
|
|
29
28
|
});
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
31
|
export {
|
|
33
|
-
|
|
32
|
+
k as default
|
|
34
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as e, renderSlot as n, createElementVNode as c, withModifiers as p, createVNode as u, unref as k } from "vue";
|
|
2
|
-
import { ArrowIcon as m } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
3
|
-
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
2
|
+
import { ArrowIcon as m } 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
4
|
const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "BaseAccordionBtn",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, ref as $, inject as p, watch as l, unref as d, createElementBlock as v, openBlock as u, normalizeClass as m, createBlock as y, createCommentVNode as g, renderSlot as s, createElementVNode as f, withModifiers as O, createVNode as k, withCtx as c } from "vue";
|
|
2
2
|
import A from "./BaseAccordionBtn.vue.js";
|
|
3
3
|
import B from "./BaseAccordionContent.vue.js";
|
|
4
|
-
import { ArrowIcon as E } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
5
|
-
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.
|
|
4
|
+
import { ArrowIcon as E } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
5
|
+
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
6
6
|
const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], P = /* @__PURE__ */ h({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "BaseAccordionItem",
|
|
@@ -2,12 +2,11 @@ import { defineComponent as L, mergeModels as y, useModel as F, ref as d, comput
|
|
|
2
2
|
import j from "../../../../UIKit/BaseInput.js";
|
|
3
3
|
import q from "./BaseDropDown.vue.js";
|
|
4
4
|
import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
5
|
-
import "
|
|
6
|
-
import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.4/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
|
|
5
|
+
import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
|
|
7
6
|
import "../../../../_virtual/polyline.js";
|
|
8
7
|
import J from "./BaseSelect/SelectItem.vue.js";
|
|
9
|
-
import { useKeyboardController as Q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.
|
|
10
|
-
const R = ["innerHTML"],
|
|
8
|
+
import { useKeyboardController as Q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
|
|
9
|
+
const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
11
10
|
__name: "BaseAutocomplete",
|
|
12
11
|
props: /* @__PURE__ */ y({
|
|
13
12
|
isValid: { default: null },
|
|
@@ -189,5 +188,5 @@ const R = ["innerHTML"], ae = /* @__PURE__ */ L({
|
|
|
189
188
|
}
|
|
190
189
|
});
|
|
191
190
|
export {
|
|
192
|
-
|
|
191
|
+
ne as default
|
|
193
192
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, computed as k, createElementBlock as s, openBlock as i, createElementVNode as n, normalizeClass as a, Fragment as u, renderList as p, renderSlot as c, toDisplayString as h, createVNode as b, unref as f } from "vue";
|
|
2
|
-
import { ArrowIcon 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 { ArrowIcon as C } 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
4
|
const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], v = /* @__PURE__ */ d({
|
|
5
5
|
__name: "BaseBreadcrumb",
|
|
6
6
|
props: {
|