@club-employes/utopia 4.59.0 → 4.61.0
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/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as U, computed as M, ref as G, provide as Ds, onMounted as vA, onBeforeUnmount as qe, watch as rA, createElementBlock as m, openBlock as f, renderSlot as AA, normalizeStyle as oA, normalizeClass as H, useSlots as ks, createCommentVNode as O, Fragment as eA, createBlock as V, createElementVNode as v, createVNode as Z, toDisplayString as
|
|
1
|
+
import { defineComponent as U, computed as M, ref as G, provide as Ds, onMounted as vA, onBeforeUnmount as qe, watch as rA, createElementBlock as m, openBlock as f, renderSlot as AA, normalizeStyle as oA, normalizeClass as H, useSlots as ks, createCommentVNode as O, Fragment as eA, createBlock as V, createElementVNode as v, createVNode as Z, toDisplayString as k, withDirectives as _e, unref as J, vModelDynamic as Ts, createTextVNode as nA, nextTick as mA, resolveDynamicComponent as Be, withCtx as K, renderList as aA, onUnmounted as MA, useTemplateRef as pe, Teleport as EA, Transition as bA, withModifiers as gA, TransitionGroup as Gs, vModelText as Zs, useCssVars as Hs, resolveComponent as Js, withKeys as Ae, mergeProps as Cs } from "vue";
|
|
2
2
|
import { RouterLink as Ls, useRoute as Es } from "vue-router";
|
|
3
3
|
import { useBreakpoints as Xs, useScrollLock as $e, unrefElement as Qs, tryOnScopeDispose as hs, useMediaQuery as Fs, useEventListener as Ns } from "@vueuse/core";
|
|
4
4
|
const je = (A, s, e) => {
|
|
@@ -553,62 +553,62 @@ const ot = ["aria-label", "innerHTML"], ct = /* @__PURE__ */ U({
|
|
|
553
553
|
"utopia-inputtext__field--numeric-text": e.type === "number" && e.maxlength !== void 0 && e.isCode
|
|
554
554
|
})), l = M(() => ({
|
|
555
555
|
[`utopia-inputtext__message--${e.state}`]: e.state === "error" || e.state === "valid"
|
|
556
|
-
})), d = (
|
|
557
|
-
t("focus",
|
|
558
|
-
}, z = (
|
|
559
|
-
e.forceModelValueOnBlur && (o.value = e.modelValue), t("blur",
|
|
560
|
-
}, x = (
|
|
561
|
-
const D =
|
|
556
|
+
})), d = (T) => {
|
|
557
|
+
t("focus", T);
|
|
558
|
+
}, z = (T) => {
|
|
559
|
+
e.forceModelValueOnBlur && (o.value = e.modelValue), t("blur", T);
|
|
560
|
+
}, x = (T) => {
|
|
561
|
+
const D = T.target;
|
|
562
562
|
let P = D.value;
|
|
563
|
-
e.isCode && (P = P.charAt(0).toUpperCase(), e.type === "number" ? /^\d$/.test(P) || (P = "") : /^[A-Z0-9]$/.test(P) || (P = ""), D.value = P), o.value = P, t("update:modelValue", P), t("input",
|
|
564
|
-
}, p = (
|
|
565
|
-
t("change",
|
|
566
|
-
}, b = (
|
|
563
|
+
e.isCode && (P = P.charAt(0).toUpperCase(), e.type === "number" ? /^\d$/.test(P) || (P = "") : /^[A-Z0-9]$/.test(P) || (P = ""), D.value = P), o.value = P, t("update:modelValue", P), t("input", T);
|
|
564
|
+
}, p = (T) => {
|
|
565
|
+
t("change", T);
|
|
566
|
+
}, b = (T) => {
|
|
567
567
|
if (e.isCode) {
|
|
568
|
-
const D =
|
|
568
|
+
const D = T.key;
|
|
569
569
|
if (e.type === "number") {
|
|
570
570
|
if (!/^\d$/.test(D)) {
|
|
571
|
-
|
|
571
|
+
T.preventDefault();
|
|
572
572
|
return;
|
|
573
573
|
}
|
|
574
574
|
} else if (!/^[A-Za-z0-9]$/.test(D)) {
|
|
575
|
-
|
|
575
|
+
T.preventDefault();
|
|
576
576
|
return;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
}, Y = (
|
|
580
|
-
t("keydown",
|
|
581
|
-
}, B = (
|
|
582
|
-
t("paste",
|
|
583
|
-
}, C = (
|
|
584
|
-
e.iconClickable && !e.disabled && !e.readonly && t("icon-click",
|
|
585
|
-
}, I = (
|
|
586
|
-
const D = parseFloat(
|
|
579
|
+
}, Y = (T) => {
|
|
580
|
+
t("keydown", T);
|
|
581
|
+
}, B = (T) => {
|
|
582
|
+
t("paste", T);
|
|
583
|
+
}, C = (T) => {
|
|
584
|
+
e.iconClickable && !e.disabled && !e.readonly && t("icon-click", T);
|
|
585
|
+
}, I = (T) => {
|
|
586
|
+
const D = parseFloat(T);
|
|
587
587
|
return Number.isFinite(D) ? D : 0;
|
|
588
|
-
}, L = (
|
|
588
|
+
}, L = (T) => (typeof e.min == "number" && (T = Math.max(T, e.min)), typeof e.max == "number" && (T = Math.min(T, e.max)), T), j = (T) => {
|
|
589
589
|
const D = i.value, P = D && !Number.isInteger(D) ? D.toString().split(".")[1]?.length ?? 0 : 0;
|
|
590
|
-
return
|
|
590
|
+
return T.toFixed(P);
|
|
591
591
|
}, h = () => {
|
|
592
|
-
const
|
|
592
|
+
const T = I(o.value), D = L(T + i.value), P = j(D);
|
|
593
593
|
o.value = P, t("update:modelValue", P);
|
|
594
594
|
}, w = () => {
|
|
595
|
-
const
|
|
595
|
+
const T = I(o.value), D = L(T - i.value), P = j(D);
|
|
596
596
|
o.value = P, t("update:modelValue", P);
|
|
597
|
-
}, N = (
|
|
598
|
-
o.value =
|
|
599
|
-
n.value && (n.value.value =
|
|
597
|
+
}, N = (T) => {
|
|
598
|
+
o.value = T, mA(() => {
|
|
599
|
+
n.value && (n.value.value = T);
|
|
600
600
|
});
|
|
601
601
|
};
|
|
602
|
-
return rA(() => e.modelValue, (
|
|
603
|
-
|
|
604
|
-
}), (
|
|
602
|
+
return rA(() => e.modelValue, (T) => {
|
|
603
|
+
T !== o.value && N(T || "");
|
|
604
|
+
}), (T, D) => (f(), m("div", {
|
|
605
605
|
class: H(["utopia-inputtext", u.value])
|
|
606
606
|
}, [
|
|
607
607
|
A.label ? (f(), m("label", {
|
|
608
608
|
key: 0,
|
|
609
609
|
class: "utopia-inputtext__label",
|
|
610
610
|
for: c.value
|
|
611
|
-
},
|
|
611
|
+
}, k(A.label), 9, xt)) : O("", !0),
|
|
612
612
|
v("div", Pt, [
|
|
613
613
|
(A.icon || A.state === "valid" || A.state === "error") && A.iconPosition === "left" ? (f(), m("div", {
|
|
614
614
|
key: 0,
|
|
@@ -730,7 +730,7 @@ const ot = ["aria-label", "innerHTML"], ct = /* @__PURE__ */ U({
|
|
|
730
730
|
class: "utopia-inputtext__message-icon",
|
|
731
731
|
"stroke-width": "2"
|
|
732
732
|
})) : O("", !0),
|
|
733
|
-
nA(" " +
|
|
733
|
+
nA(" " + k(A.message), 1)
|
|
734
734
|
], 2)) : O("", !0)
|
|
735
735
|
], 2));
|
|
736
736
|
}
|
|
@@ -1190,7 +1190,7 @@ const Qt = /* @__PURE__ */ U({
|
|
|
1190
1190
|
color: s.color
|
|
1191
1191
|
}, {
|
|
1192
1192
|
default: K(() => [
|
|
1193
|
-
nA(
|
|
1193
|
+
nA(k(A.label), 1)
|
|
1194
1194
|
]),
|
|
1195
1195
|
_: 1
|
|
1196
1196
|
}, 8, ["size", "weight", "color"]),
|
|
@@ -1446,12 +1446,12 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1446
1446
|
class: "utopia-rangeslider__range-value",
|
|
1447
1447
|
ref_key: "fromValueRef",
|
|
1448
1448
|
ref: p
|
|
1449
|
-
},
|
|
1449
|
+
}, k(n.value) + k(A.unit ? ` ${A.unit}` : ""), 513)) : O("", !0),
|
|
1450
1450
|
v("div", {
|
|
1451
1451
|
class: "utopia-rangeslider__range-value",
|
|
1452
1452
|
ref_key: "toValueRef",
|
|
1453
1453
|
ref: b
|
|
1454
|
-
},
|
|
1454
|
+
}, k(o.value) + k(A.unit ? ` ${A.unit}` : ""), 513)
|
|
1455
1455
|
], 4)
|
|
1456
1456
|
], 512));
|
|
1457
1457
|
}
|
|
@@ -1508,7 +1508,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1508
1508
|
class: H(["bottomsheet", n.value])
|
|
1509
1509
|
}, [
|
|
1510
1510
|
a[0] || (a[0] = v("div", { class: "bottomsheet__handle" }, null, -1)),
|
|
1511
|
-
A.title ? (f(), m("h3", tn,
|
|
1511
|
+
A.title ? (f(), m("h3", tn, k(A.title), 1)) : O("", !0),
|
|
1512
1512
|
v("div", nn, [
|
|
1513
1513
|
AA(r.$slots, "default", {}, void 0, !0)
|
|
1514
1514
|
])
|
|
@@ -1603,7 +1603,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1603
1603
|
"utopia-dropdown__trigger--open": u.value
|
|
1604
1604
|
})), w = M(() => ({
|
|
1605
1605
|
[`utopia-dropdown__message--${e.state}`]: e.state === "error" || e.state === "valid"
|
|
1606
|
-
})), N = (X) => e.multiple ? Array.isArray(e.modelValue) && e.modelValue.includes(X) : e.modelValue === X,
|
|
1606
|
+
})), N = (X) => e.multiple ? Array.isArray(e.modelValue) && e.modelValue.includes(X) : e.modelValue === X, T = (X, _) => ({
|
|
1607
1607
|
"utopia-dropdown__option--selected": N(X.value),
|
|
1608
1608
|
"utopia-dropdown__option--highlighted": l.value === _,
|
|
1609
1609
|
"utopia-dropdown__option--disabled": X.disabled
|
|
@@ -1700,7 +1700,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1700
1700
|
key: 0,
|
|
1701
1701
|
class: "utopia-dropdown__label",
|
|
1702
1702
|
for: z.value
|
|
1703
|
-
},
|
|
1703
|
+
}, k(A.label), 9, cn)) : O("", !0),
|
|
1704
1704
|
v("div", rn, [
|
|
1705
1705
|
v("button", {
|
|
1706
1706
|
id: z.value,
|
|
@@ -1740,15 +1740,15 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1740
1740
|
onRemove: (cA) => W($.value)
|
|
1741
1741
|
}, {
|
|
1742
1742
|
default: K(() => [
|
|
1743
|
-
nA(
|
|
1743
|
+
nA(k($.label), 1)
|
|
1744
1744
|
]),
|
|
1745
1745
|
_: 2
|
|
1746
1746
|
}, 1032, ["onRemove"]))), 128)),
|
|
1747
|
-
p.value.length > b.value ? (f(), m("span", dn, " +" +
|
|
1747
|
+
p.value.length > b.value ? (f(), m("span", dn, " +" + k(p.value.length - b.value) + " autres ", 1)) : O("", !0)
|
|
1748
1748
|
], 544),
|
|
1749
1749
|
a.value && Y.value ? (f(), m("div", vn)) : O("", !0)
|
|
1750
|
-
])) : (f(), m("span", un,
|
|
1751
|
-
], 64)) : (f(), m("span", fn,
|
|
1750
|
+
])) : (f(), m("span", un, k(A.placeholder), 1))
|
|
1751
|
+
], 64)) : (f(), m("span", fn, k(I.value), 1))
|
|
1752
1752
|
], 2),
|
|
1753
1753
|
A.clearable && x.value && !A.disabled ? (f(), m("div", {
|
|
1754
1754
|
key: 0,
|
|
@@ -1823,7 +1823,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1823
1823
|
(f(!0), m(eA, null, aA(L.value, ($, cA) => (f(), m("div", {
|
|
1824
1824
|
key: `option-${$.value}-${cA}`,
|
|
1825
1825
|
class: H(["utopia-dropdown__option", [
|
|
1826
|
-
|
|
1826
|
+
T($, cA),
|
|
1827
1827
|
{ "utopia-dropdown__option--multiple": A.multiple }
|
|
1828
1828
|
]]),
|
|
1829
1829
|
role: "option",
|
|
@@ -1842,12 +1842,12 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1842
1842
|
v("span", {
|
|
1843
1843
|
class: "utopia-dropdown__checkbox-label",
|
|
1844
1844
|
title: $.label
|
|
1845
|
-
},
|
|
1845
|
+
}, k($.label), 9, Mn)
|
|
1846
1846
|
])) : (f(), m("span", {
|
|
1847
1847
|
key: 1,
|
|
1848
1848
|
class: "utopia-dropdown__option-label",
|
|
1849
1849
|
title: $.label
|
|
1850
|
-
},
|
|
1850
|
+
}, k($.label), 9, On))
|
|
1851
1851
|
], 42, xn))), 128)),
|
|
1852
1852
|
L.value.length === 0 ? (f(), m("div", yn, " Aucun résultat trouvé ")) : O("", !0)
|
|
1853
1853
|
])
|
|
@@ -1871,7 +1871,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1871
1871
|
class: "utopia-dropdown__message-icon",
|
|
1872
1872
|
"stroke-width": "2"
|
|
1873
1873
|
})) : O("", !0),
|
|
1874
|
-
nA(" " +
|
|
1874
|
+
nA(" " + k(A.message), 1)
|
|
1875
1875
|
], 2)) : O("", !0)
|
|
1876
1876
|
], 2));
|
|
1877
1877
|
}
|
|
@@ -1938,8 +1938,8 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1938
1938
|
}, null, 8, Gn)) : O("", !0)
|
|
1939
1939
|
]),
|
|
1940
1940
|
v("div", Zn, [
|
|
1941
|
-
v("h3", Hn,
|
|
1942
|
-
c.value ? (f(), m("p", Jn,
|
|
1941
|
+
v("h3", Hn, k(n.value), 1),
|
|
1942
|
+
c.value ? (f(), m("p", Jn, k(c.value), 1)) : O("", !0),
|
|
1943
1943
|
o.value ? (f(), V(uA, {
|
|
1944
1944
|
key: 1,
|
|
1945
1945
|
class: "utopia-errorstate__action",
|
|
@@ -1948,7 +1948,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1948
1948
|
size: "sm"
|
|
1949
1949
|
}, {
|
|
1950
1950
|
default: K(() => [
|
|
1951
|
-
nA(
|
|
1951
|
+
nA(k(o.value), 1)
|
|
1952
1952
|
]),
|
|
1953
1953
|
_: 1
|
|
1954
1954
|
})) : O("", !0)
|
|
@@ -1994,7 +1994,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
1994
1994
|
onRemove: (u) => o(String(a))
|
|
1995
1995
|
}, {
|
|
1996
1996
|
default: K(() => [
|
|
1997
|
-
nA(
|
|
1997
|
+
nA(k(r), 1)
|
|
1998
1998
|
]),
|
|
1999
1999
|
_: 2
|
|
2000
2000
|
}, 1032, ["value", "variant", "size", "removable", "disabled", "onRemove"]))), 128))
|
|
@@ -2058,9 +2058,9 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
2058
2058
|
});
|
|
2059
2059
|
const N = i.value.join("");
|
|
2060
2060
|
n("update:modelValue", N), n("change", N), N.length === t.length && n("complete", N);
|
|
2061
|
-
const
|
|
2061
|
+
const T = w.length < t.length ? w.length : t.length - 1;
|
|
2062
2062
|
mA(() => {
|
|
2063
|
-
B(
|
|
2063
|
+
B(T);
|
|
2064
2064
|
});
|
|
2065
2065
|
}, B = (L) => {
|
|
2066
2066
|
if (c.value[L]) {
|
|
@@ -2098,7 +2098,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
2098
2098
|
key: 0,
|
|
2099
2099
|
class: "utopia-inputcode__label",
|
|
2100
2100
|
for: o.value
|
|
2101
|
-
},
|
|
2101
|
+
}, k(A.label), 9, Xn)) : O("", !0),
|
|
2102
2102
|
v("div", Qn, [
|
|
2103
2103
|
v("div", hn, [
|
|
2104
2104
|
(f(!0), m(eA, null, aA(u.value, (h, w) => (f(), V(J(ne), {
|
|
@@ -2136,7 +2136,7 @@ const St = ["href", "target"], Wt = /* @__PURE__ */ U({
|
|
|
2136
2136
|
class: "utopia-inputcode__message-icon",
|
|
2137
2137
|
"stroke-width": "2"
|
|
2138
2138
|
})) : O("", !0),
|
|
2139
|
-
nA(" " +
|
|
2139
|
+
nA(" " + k(A.message), 1)
|
|
2140
2140
|
], 2)) : O("", !0)
|
|
2141
2141
|
])
|
|
2142
2142
|
], 2));
|
|
@@ -2740,7 +2740,7 @@ var Qe = {
|
|
|
2740
2740
|
});
|
|
2741
2741
|
});
|
|
2742
2742
|
y && z(g());
|
|
2743
|
-
}, N = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(w) : void 0,
|
|
2743
|
+
}, N = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(w) : void 0, T = function() {
|
|
2744
2744
|
N && (N.disconnect(), c.active && !c.paused && c.containers.map(function(P) {
|
|
2745
2745
|
N.observe(P, {
|
|
2746
2746
|
subtree: !0,
|
|
@@ -2761,7 +2761,7 @@ var Qe = {
|
|
|
2761
2761
|
var y = r(P, "onActivate"), E = r(P, "onPostActivate"), F = r(P, "checkCanFocusTrap");
|
|
2762
2762
|
F || l(), c.active = !0, c.paused = !1, c.nodeFocusedBeforeActivation = d(t), y?.();
|
|
2763
2763
|
var S = function() {
|
|
2764
|
-
F && l(), j(),
|
|
2764
|
+
F && l(), j(), T(), E?.();
|
|
2765
2765
|
};
|
|
2766
2766
|
return F ? (F(c.containers.concat()).then(S, S), this) : (S(), this);
|
|
2767
2767
|
},
|
|
@@ -2773,7 +2773,7 @@ var Qe = {
|
|
|
2773
2773
|
onPostDeactivate: o.onPostDeactivate,
|
|
2774
2774
|
checkCanReturnFocus: o.checkCanReturnFocus
|
|
2775
2775
|
}, P);
|
|
2776
|
-
clearTimeout(c.delayInitialFocusTimer), c.delayInitialFocusTimer = void 0, h(), c.active = !1, c.paused = !1,
|
|
2776
|
+
clearTimeout(c.delayInitialFocusTimer), c.delayInitialFocusTimer = void 0, h(), c.active = !1, c.paused = !1, T(), Qe.deactivateTrap(n, i);
|
|
2777
2777
|
var E = r(y, "onDeactivate"), F = r(y, "onPostDeactivate"), S = r(y, "checkCanReturnFocus"), W = r(y, "returnFocus", "returnFocusOnDeactivate");
|
|
2778
2778
|
E?.();
|
|
2779
2779
|
var R = function() {
|
|
@@ -2793,7 +2793,7 @@ var Qe = {
|
|
|
2793
2793
|
var y = [].concat(P).filter(Boolean);
|
|
2794
2794
|
return c.containers = y.map(function(E) {
|
|
2795
2795
|
return typeof E == "string" ? t.querySelector(E) : E;
|
|
2796
|
-
}), c.active && l(),
|
|
2796
|
+
}), c.active && l(), T(), this;
|
|
2797
2797
|
}
|
|
2798
2798
|
}, Object.defineProperties(i, {
|
|
2799
2799
|
_isManuallyPaused: {
|
|
@@ -2807,10 +2807,10 @@ var Qe = {
|
|
|
2807
2807
|
return this;
|
|
2808
2808
|
if (c.paused = P, P) {
|
|
2809
2809
|
var E = r(y, "onPause"), F = r(y, "onPostPause");
|
|
2810
|
-
E?.(), h(),
|
|
2810
|
+
E?.(), h(), T(), F?.();
|
|
2811
2811
|
} else {
|
|
2812
2812
|
var S = r(y, "onUnpause"), W = r(y, "onPostUnpause");
|
|
2813
|
-
S?.(), l(), j(),
|
|
2813
|
+
S?.(), l(), j(), T(), W?.();
|
|
2814
2814
|
}
|
|
2815
2815
|
return this;
|
|
2816
2816
|
}
|
|
@@ -2988,7 +2988,7 @@ const Oo = ["aria-hidden"], yo = ["aria-labelledby"], bo = {
|
|
|
2988
2988
|
key: 0,
|
|
2989
2989
|
class: "utopia-modal__title",
|
|
2990
2990
|
id: l.value
|
|
2991
|
-
},
|
|
2991
|
+
}, k(A.title), 9, wo)) : O("", !0)
|
|
2992
2992
|
], !0),
|
|
2993
2993
|
A.showCloseButton ? (f(), V(uA, {
|
|
2994
2994
|
key: 0,
|
|
@@ -3053,13 +3053,14 @@ const Oo = ["aria-hidden"], yo = ["aria-labelledby"], bo = {
|
|
|
3053
3053
|
]));
|
|
3054
3054
|
}
|
|
3055
3055
|
}), Ka = /* @__PURE__ */ q(Do, [["__scopeId", "data-v-f0fcbc3f"]]), ko = { class: "utopia-pricetag" }, To = { key: 0 }, Go = { key: 1 }, Zo = { class: "utopia-pricetag--price-container" }, Ho = {
|
|
3056
|
-
key:
|
|
3056
|
+
key: 2,
|
|
3057
3057
|
class: "utopia-pricetag--old-price"
|
|
3058
3058
|
}, Jo = /* @__PURE__ */ U({
|
|
3059
3059
|
__name: "PriceTag",
|
|
3060
3060
|
props: {
|
|
3061
3061
|
variantCount: {},
|
|
3062
3062
|
price: {},
|
|
3063
|
+
formattedPrice: {},
|
|
3063
3064
|
oldPrice: {},
|
|
3064
3065
|
currency: { default: "€" },
|
|
3065
3066
|
isSubventioned: { type: Boolean, default: !1 },
|
|
@@ -3076,23 +3077,27 @@ const Oo = ["aria-hidden"], yo = ["aria-labelledby"], bo = {
|
|
|
3076
3077
|
from: "À partir de"
|
|
3077
3078
|
},
|
|
3078
3079
|
en: {
|
|
3079
|
-
availableOffers: "available
|
|
3080
|
-
from: "
|
|
3080
|
+
availableOffers: "offers available starting from",
|
|
3081
|
+
from: "Starting from"
|
|
3081
3082
|
}
|
|
3082
3083
|
})), n = M(() => t.value[s.language]);
|
|
3083
3084
|
return (o, c) => (f(), m("div", ko, [
|
|
3084
|
-
A.variantCount ? (f(), m("div", To,
|
|
3085
|
+
A.variantCount ? (f(), m("div", To, k(A.variantCount) + " " + k(n.value.availableOffers), 1)) : A.isSubventioned ? (f(), m("div", Go, k(n.value.from), 1)) : O("", !0),
|
|
3085
3086
|
v("div", Zo, [
|
|
3086
|
-
|
|
3087
|
+
A.formattedPrice ? (f(), m("div", {
|
|
3088
|
+
key: 0,
|
|
3089
|
+
class: H(["utopia-pricetag--price", e.value])
|
|
3090
|
+
}, k(A.formattedPrice), 3)) : (f(), m("div", {
|
|
3091
|
+
key: 1,
|
|
3087
3092
|
class: H(["utopia-pricetag--price", e.value])
|
|
3088
|
-
},
|
|
3089
|
-
A.oldPrice ? (f(), m("div", Ho, [
|
|
3090
|
-
v("s", null,
|
|
3093
|
+
}, k(A.price) + " " + k(A.currency), 3)),
|
|
3094
|
+
A.oldPrice && A.oldPrice !== A.price ? (f(), m("div", Ho, [
|
|
3095
|
+
v("s", null, k(A.oldPrice) + " " + k(A.currency), 1)
|
|
3091
3096
|
])) : O("", !0)
|
|
3092
3097
|
])
|
|
3093
3098
|
]));
|
|
3094
3099
|
}
|
|
3095
|
-
}), Co = /* @__PURE__ */ q(Jo, [["__scopeId", "data-v-
|
|
3100
|
+
}), Co = /* @__PURE__ */ q(Jo, [["__scopeId", "data-v-81783a99"]]), Lo = ["placeholder"], Eo = /* @__PURE__ */ U({
|
|
3096
3101
|
__name: "SearchBox",
|
|
3097
3102
|
props: {
|
|
3098
3103
|
modelValue: { default: "" },
|
|
@@ -3208,21 +3213,21 @@ const Oo = ["aria-hidden"], yo = ["aria-labelledby"], bo = {
|
|
|
3208
3213
|
}
|
|
3209
3214
|
}, j = (w) => {
|
|
3210
3215
|
if (!r.value) return;
|
|
3211
|
-
let N,
|
|
3216
|
+
let N, T;
|
|
3212
3217
|
if (w.type === "touchmove") {
|
|
3213
3218
|
w.preventDefault();
|
|
3214
3219
|
const E = w.touches[0];
|
|
3215
|
-
N = E.clientX,
|
|
3220
|
+
N = E.clientX, T = E.clientY;
|
|
3216
3221
|
} else
|
|
3217
|
-
w.preventDefault(), N = w.clientX,
|
|
3218
|
-
g.value = N, l.value =
|
|
3219
|
-
const D = e.direction === "vertical" ?
|
|
3222
|
+
w.preventDefault(), N = w.clientX, T = w.clientY;
|
|
3223
|
+
g.value = N, l.value = T;
|
|
3224
|
+
const D = e.direction === "vertical" ? T - u.value : N - a.value, P = n.value === 0, y = n.value === e.slides.length - 1;
|
|
3220
3225
|
P && D > 0 || y && D < 0 ? d.value = D * 0.3 : d.value = D;
|
|
3221
3226
|
}, h = (w) => {
|
|
3222
3227
|
if (!r.value) return;
|
|
3223
3228
|
r.value = !1, (w.type === "mouseup" || w.type === "mouseleave") && (document.removeEventListener("mousemove", j), document.removeEventListener("mouseup", h));
|
|
3224
|
-
const N = 50,
|
|
3225
|
-
(Math.abs(
|
|
3229
|
+
const N = 50, T = e.direction === "vertical" ? l.value - u.value : g.value - a.value, D = document.querySelector(".slide"), P = D ? e.direction === "vertical" ? D.clientHeight : D.clientWidth : 300, y = Math.abs(T) / P * 100;
|
|
3230
|
+
(Math.abs(T) > N || y > 20) && (T > 0 && n.value > 0 ? p() : T < 0 && n.value < e.slides.length - 1 && x()), d.value = 0, e.autoplay && C();
|
|
3226
3231
|
};
|
|
3227
3232
|
return rA(n, (w) => {
|
|
3228
3233
|
t("slide-change", w);
|
|
@@ -3287,24 +3292,24 @@ const Oo = ["aria-hidden"], yo = ["aria-labelledby"], bo = {
|
|
|
3287
3292
|
onTouchcancel: h,
|
|
3288
3293
|
onMousedown: L
|
|
3289
3294
|
}, [
|
|
3290
|
-
(f(!0), m(eA, null, aA(A.slides, (
|
|
3295
|
+
(f(!0), m(eA, null, aA(A.slides, (T, D) => (f(), m("div", {
|
|
3291
3296
|
key: D,
|
|
3292
3297
|
class: H(["slide", { "slide--active": D === n.value }])
|
|
3293
3298
|
}, [
|
|
3294
3299
|
AA(w.$slots, "slide", {
|
|
3295
|
-
slide:
|
|
3300
|
+
slide: T,
|
|
3296
3301
|
index: D
|
|
3297
3302
|
}, () => [
|
|
3298
|
-
|
|
3303
|
+
T.image ? (f(), m("div", Qo, [
|
|
3299
3304
|
v("img", {
|
|
3300
|
-
src:
|
|
3301
|
-
alt:
|
|
3305
|
+
src: T.image,
|
|
3306
|
+
alt: T.alt || `Slide ${D + 1}`
|
|
3302
3307
|
}, null, 8, ho)
|
|
3303
3308
|
])) : O("", !0),
|
|
3304
|
-
|
|
3309
|
+
T.content ? (f(), m("div", {
|
|
3305
3310
|
key: 1,
|
|
3306
3311
|
class: "slide-content",
|
|
3307
|
-
innerHTML:
|
|
3312
|
+
innerHTML: T.content
|
|
3308
3313
|
}, null, 8, Fo)) : O("", !0)
|
|
3309
3314
|
], !0)
|
|
3310
3315
|
], 2))), 128))
|
|
@@ -3313,7 +3318,7 @@ const Oo = ["aria-hidden"], yo = ["aria-labelledby"], bo = {
|
|
|
3313
3318
|
key: 2,
|
|
3314
3319
|
class: H(["slider-dots", `slider-dots--${A.direction}`])
|
|
3315
3320
|
}, [
|
|
3316
|
-
(f(!0), m(eA, null, aA(A.slides, (
|
|
3321
|
+
(f(!0), m(eA, null, aA(A.slides, (T, D) => (f(), m("button", {
|
|
3317
3322
|
key: D,
|
|
3318
3323
|
class: H(["dot", { "dot--active": D === n.value }]),
|
|
3319
3324
|
onClick: (P) => b(D),
|
|
@@ -3607,7 +3612,7 @@ const tc = (A) => ({
|
|
|
3607
3612
|
}, d = De(n), z = Ye(d), x = await c.getDimensions(a), p = d === "y", b = p ? "top" : "left", Y = p ? "bottom" : "right", B = p ? "clientHeight" : "clientWidth", C = o.reference[z] + o.reference[d] - l[d] - o.floating[z], I = l[d] - o.reference[d], L = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(a));
|
|
3608
3613
|
let j = L ? L[B] : 0;
|
|
3609
3614
|
(!j || !await (c.isElement == null ? void 0 : c.isElement(L))) && (j = i.floating[B] || o.floating[z]);
|
|
3610
|
-
const h = C / 2 - I / 2, w = j / 2 - x[z] / 2 - 1, N = CA(g[b], w),
|
|
3615
|
+
const h = C / 2 - I / 2, w = j / 2 - x[z] / 2 - 1, N = CA(g[b], w), T = CA(g[Y], w), D = N, P = j - x[z] - T, y = j / 2 - x[z] / 2 + h, E = ye(D, y, P), F = !r.arrow && WA(n) != null && y !== E && o.reference[z] / 2 - (y < D ? N : T) - x[z] / 2 < 0, S = F ? y < D ? y - D : y - P : 0;
|
|
3611
3616
|
return {
|
|
3612
3617
|
[d]: l[d] + S,
|
|
3613
3618
|
data: {
|
|
@@ -3656,8 +3661,8 @@ const tc = (A) => ({
|
|
|
3656
3661
|
placement: n,
|
|
3657
3662
|
overflows: w
|
|
3658
3663
|
}], !w.every((y) => y <= 0)) {
|
|
3659
|
-
var
|
|
3660
|
-
const y = (((
|
|
3664
|
+
var T, D;
|
|
3665
|
+
const y = (((T = o.flip) == null ? void 0 : T.index) || 0) + 1, E = j[y];
|
|
3661
3666
|
if (E && (!(g === "alignment" ? Y !== BA(E) : !1) || // We leave the current main axis only if every placement on that axis
|
|
3662
3667
|
// overflows the main axis.
|
|
3663
3668
|
N.every((W) => BA(W.placement) === Y ? W.overflows[0] > 0 : !0)))
|
|
@@ -4352,7 +4357,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4352
4357
|
function N(F) {
|
|
4353
4358
|
window.mouseX = F.clientX, window.mouseY = F.clientY;
|
|
4354
4359
|
}
|
|
4355
|
-
const
|
|
4360
|
+
const T = { onEnter: C, onLeave: I }, D = G({}), P = G(e);
|
|
4356
4361
|
function y(F) {
|
|
4357
4362
|
switch (F) {
|
|
4358
4363
|
case "top_left":
|
|
@@ -4406,13 +4411,13 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4406
4411
|
ref_key: "triggerRef",
|
|
4407
4412
|
ref: a,
|
|
4408
4413
|
onMouseenter: S[0] || (S[0] = //@ts-ignore
|
|
4409
|
-
(...W) =>
|
|
4414
|
+
(...W) => T.onEnter && T.onEnter(...W)),
|
|
4410
4415
|
onMouseleave: S[1] || (S[1] = //@ts-ignore
|
|
4411
|
-
(...W) =>
|
|
4416
|
+
(...W) => T.onLeave && T.onLeave(...W)),
|
|
4412
4417
|
onFocusin: S[2] || (S[2] = //@ts-ignore
|
|
4413
|
-
(...W) =>
|
|
4418
|
+
(...W) => T.onEnter && T.onEnter(...W)),
|
|
4414
4419
|
onFocusout: S[3] || (S[3] = //@ts-ignore
|
|
4415
|
-
(...W) =>
|
|
4420
|
+
(...W) => T.onLeave && T.onLeave(...W))
|
|
4416
4421
|
}, [
|
|
4417
4422
|
AA(F.$slots, "default", {}, void 0, !0)
|
|
4418
4423
|
], 34),
|
|
@@ -4484,14 +4489,14 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4484
4489
|
class: H(["utopia-dropfilter__button", { "utopia-dropfilter__active": A.activeFiltersCount || s.value }]),
|
|
4485
4490
|
onClick: e
|
|
4486
4491
|
}, [
|
|
4487
|
-
v("span", Nc,
|
|
4492
|
+
v("span", Nc, k(A.label), 1),
|
|
4488
4493
|
Z(Q, {
|
|
4489
4494
|
class: H([{ "utopia-dropfilter__icon--open": s.value }, "utopia-dropfilter__icon"]),
|
|
4490
4495
|
name: "Chevron-down",
|
|
4491
4496
|
"stroke-width": "2"
|
|
4492
4497
|
}, null, 8, ["class"]),
|
|
4493
4498
|
A.activeFiltersCount ? (f(), m("div", Ic, [
|
|
4494
|
-
v("span", Vc,
|
|
4499
|
+
v("span", Vc, k(A.activeFiltersCount), 1)
|
|
4495
4500
|
])) : O("", !0)
|
|
4496
4501
|
], 2),
|
|
4497
4502
|
Z(bA, { name: "utopia-dropfilter-fade" }, {
|
|
@@ -4596,7 +4601,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4596
4601
|
"no-wrap": e.truncate
|
|
4597
4602
|
}, {
|
|
4598
4603
|
default: K(() => [
|
|
4599
|
-
nA(
|
|
4604
|
+
nA(k(x.label), 1)
|
|
4600
4605
|
]),
|
|
4601
4606
|
_: 2
|
|
4602
4607
|
}, 1032, ["size", "color", "weight", "title", "truncate", "no-wrap"])
|
|
@@ -4753,8 +4758,8 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4753
4758
|
ref: l,
|
|
4754
4759
|
onMouseenter: z,
|
|
4755
4760
|
onMouseleave: x
|
|
4756
|
-
},
|
|
4757
|
-
d.value && s.campaignName.length > 20 ? (f(), m("div", oi,
|
|
4761
|
+
}, k(s.campaignName), 545),
|
|
4762
|
+
d.value && s.campaignName.length > 20 ? (f(), m("div", oi, k(s.campaignName), 1)) : O("", !0)
|
|
4758
4763
|
]),
|
|
4759
4764
|
s.disabled ? O("", !0) : (f(), m("div", ci, [
|
|
4760
4765
|
Z(Q, {
|
|
@@ -4763,7 +4768,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4763
4768
|
class: "utopia-cardcampaign__calendar-icon",
|
|
4764
4769
|
strokeWidth: 2
|
|
4765
4770
|
}),
|
|
4766
|
-
v("span", ii,
|
|
4771
|
+
v("span", ii, k(u.value.expiresOn) + " " + k(i.value), 1)
|
|
4767
4772
|
]))
|
|
4768
4773
|
]),
|
|
4769
4774
|
s.actionable ? (f(), m("div", ri, [
|
|
@@ -4776,11 +4781,11 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4776
4781
|
]),
|
|
4777
4782
|
v("div", ai, [
|
|
4778
4783
|
s.disabled ? (f(), m("div", mi, [
|
|
4779
|
-
v("div", zi,
|
|
4784
|
+
v("div", zi, k(g.value) + " " + k(i.value), 1)
|
|
4780
4785
|
])) : (f(), m("div", fi, [
|
|
4781
4786
|
v("div", li, [
|
|
4782
|
-
v("div", di,
|
|
4783
|
-
v("div", vi,
|
|
4787
|
+
v("div", di, k(o.value), 1),
|
|
4788
|
+
v("div", vi, k(c.value), 1)
|
|
4784
4789
|
]),
|
|
4785
4790
|
v("div", ui, [
|
|
4786
4791
|
v("div", gi, [
|
|
@@ -4851,11 +4856,11 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4851
4856
|
]),
|
|
4852
4857
|
v("div", yi, [
|
|
4853
4858
|
v("div", bi, [
|
|
4854
|
-
v("h3", wi,
|
|
4855
|
-
v("div", Bi,
|
|
4859
|
+
v("h3", wi, k(u.campaignName), 1),
|
|
4860
|
+
v("div", Bi, k(u.campaignCount) + " " + k(u.campaignCount > 1 ? o.value.campaigns : o.value.campaign), 1)
|
|
4856
4861
|
]),
|
|
4857
4862
|
v("div", ji, [
|
|
4858
|
-
v("div", Yi,
|
|
4863
|
+
v("div", Yi, k(c(u.amount)), 1),
|
|
4859
4864
|
v("div", Di, [
|
|
4860
4865
|
v("div", ki, [
|
|
4861
4866
|
v("div", {
|
|
@@ -4863,7 +4868,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4863
4868
|
style: oA({ width: `${i(u)}%` })
|
|
4864
4869
|
}, null, 4)
|
|
4865
4870
|
]),
|
|
4866
|
-
v("div", Ti,
|
|
4871
|
+
v("div", Ti, k(c(u.totalAmount)), 1)
|
|
4867
4872
|
])
|
|
4868
4873
|
])
|
|
4869
4874
|
]),
|
|
@@ -4947,7 +4952,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4947
4952
|
}
|
|
4948
4953
|
return (p, b) => (f(), m("div", Hi, [
|
|
4949
4954
|
A.title || p.$slots.header ? (f(), m("div", Ji, [
|
|
4950
|
-
A.title ? (f(), m("h3", Ci,
|
|
4955
|
+
A.title ? (f(), m("h3", Ci, k(A.title), 1)) : O("", !0),
|
|
4951
4956
|
AA(p.$slots, "header", {}, void 0, !0)
|
|
4952
4957
|
])) : O("", !0),
|
|
4953
4958
|
v("div", Li, [
|
|
@@ -4960,7 +4965,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4960
4965
|
onClick: (B) => a(Y)
|
|
4961
4966
|
}, [
|
|
4962
4967
|
v("div", Qi, [
|
|
4963
|
-
v("span", null,
|
|
4968
|
+
v("span", null, k(Y.label), 1),
|
|
4964
4969
|
Y.sortable ? (f(), V(J(Q), {
|
|
4965
4970
|
key: 0,
|
|
4966
4971
|
name: u(Y.key),
|
|
@@ -4986,7 +4991,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
4986
4991
|
column: C,
|
|
4987
4992
|
index: B
|
|
4988
4993
|
}, () => [
|
|
4989
|
-
nA(
|
|
4994
|
+
nA(k(z(i(Y, C.key), C)), 1)
|
|
4990
4995
|
], !0)
|
|
4991
4996
|
], 2))), 128))
|
|
4992
4997
|
], 10, hi))), 128))
|
|
@@ -5060,6 +5065,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5060
5065
|
available: { type: Boolean, default: !0 },
|
|
5061
5066
|
variantCount: {},
|
|
5062
5067
|
price: {},
|
|
5068
|
+
formattedPrice: {},
|
|
5063
5069
|
oldPrice: {},
|
|
5064
5070
|
discount: {},
|
|
5065
5071
|
discountTooltip: {},
|
|
@@ -5116,7 +5122,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5116
5122
|
size: "extra-small"
|
|
5117
5123
|
}, {
|
|
5118
5124
|
default: K(() => [
|
|
5119
|
-
nA(
|
|
5125
|
+
nA(k(b), 1)
|
|
5120
5126
|
]),
|
|
5121
5127
|
_: 2
|
|
5122
5128
|
}, 1024))), 128))
|
|
@@ -5128,7 +5134,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5128
5134
|
variant: "danger"
|
|
5129
5135
|
}, {
|
|
5130
5136
|
default: K(() => [
|
|
5131
|
-
nA(
|
|
5137
|
+
nA(k(i.value.outOfStock), 1)
|
|
5132
5138
|
]),
|
|
5133
5139
|
_: 1
|
|
5134
5140
|
})),
|
|
@@ -5142,7 +5148,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5142
5148
|
active: !!A.subventionTooltip
|
|
5143
5149
|
}, {
|
|
5144
5150
|
content: K(() => [
|
|
5145
|
-
nA(
|
|
5151
|
+
nA(k(A.subventionTooltip), 1)
|
|
5146
5152
|
]),
|
|
5147
5153
|
default: K(() => [
|
|
5148
5154
|
Z(HA, {
|
|
@@ -5152,7 +5158,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5152
5158
|
leftIcon: A.subventionTooltip ? "Info" : void 0
|
|
5153
5159
|
}, {
|
|
5154
5160
|
default: K(() => [
|
|
5155
|
-
nA(
|
|
5161
|
+
nA(k(A.subventionName), 1)
|
|
5156
5162
|
]),
|
|
5157
5163
|
_: 1
|
|
5158
5164
|
}, 8, ["leftIcon"])
|
|
@@ -5170,8 +5176,8 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5170
5176
|
}, {
|
|
5171
5177
|
content: K(() => [
|
|
5172
5178
|
v("div", sr, [
|
|
5173
|
-
v("p", null,
|
|
5174
|
-
d.value ? (f(), m("p", tr,
|
|
5179
|
+
v("p", null, k(A.discountTooltip), 1),
|
|
5180
|
+
d.value ? (f(), m("p", tr, k(A.discount), 1)) : O("", !0)
|
|
5175
5181
|
])
|
|
5176
5182
|
]),
|
|
5177
5183
|
default: K(() => [
|
|
@@ -5182,7 +5188,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5182
5188
|
customTextColor: "--theme-colors-surface-card"
|
|
5183
5189
|
}, {
|
|
5184
5190
|
default: K(() => [
|
|
5185
|
-
nA(
|
|
5191
|
+
nA(k(z.value), 1)
|
|
5186
5192
|
]),
|
|
5187
5193
|
_: 1
|
|
5188
5194
|
})
|
|
@@ -5201,14 +5207,14 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5201
5207
|
active: u.value
|
|
5202
5208
|
}, {
|
|
5203
5209
|
content: K(() => [
|
|
5204
|
-
nA(
|
|
5210
|
+
nA(k(A.title), 1)
|
|
5205
5211
|
]),
|
|
5206
5212
|
default: K(() => [
|
|
5207
5213
|
v("h3", {
|
|
5208
5214
|
ref_key: "titleRef",
|
|
5209
5215
|
ref: a,
|
|
5210
5216
|
class: "utopia-productcard__title"
|
|
5211
|
-
},
|
|
5217
|
+
}, k(A.title), 513)
|
|
5212
5218
|
]),
|
|
5213
5219
|
_: 1
|
|
5214
5220
|
}, 8, ["active"])) : O("", !0),
|
|
@@ -5222,32 +5228,33 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5222
5228
|
active: l.value
|
|
5223
5229
|
}, {
|
|
5224
5230
|
content: K(() => [
|
|
5225
|
-
nA(
|
|
5231
|
+
nA(k(A.description), 1)
|
|
5226
5232
|
]),
|
|
5227
5233
|
default: K(() => [
|
|
5228
5234
|
v("p", {
|
|
5229
5235
|
ref_key: "descriptionRef",
|
|
5230
5236
|
ref: g,
|
|
5231
5237
|
class: "utopia-productcard__description"
|
|
5232
|
-
},
|
|
5238
|
+
}, k(A.description), 513)
|
|
5233
5239
|
]),
|
|
5234
5240
|
_: 1
|
|
5235
5241
|
}, 8, ["active"])) : O("", !0),
|
|
5236
|
-
A.available ? A.price || A.price === 0 ? (f(), V(Co, {
|
|
5242
|
+
A.available ? A.price || A.price === 0 || A.formattedPrice ? (f(), V(Co, {
|
|
5237
5243
|
key: 4,
|
|
5238
5244
|
class: "utopia-productcard__price-tag",
|
|
5239
5245
|
variantCount: A.variantCount,
|
|
5240
5246
|
price: A.price,
|
|
5247
|
+
formattedPrice: A.formattedPrice,
|
|
5241
5248
|
oldPrice: A.oldPrice,
|
|
5242
5249
|
currency: A.currency,
|
|
5243
5250
|
isDiscounted: !!A.discount,
|
|
5244
5251
|
isSubventioned: !!A.subventionName,
|
|
5245
5252
|
language: A.language
|
|
5246
|
-
}, null, 8, ["variantCount", "price", "oldPrice", "currency", "isDiscounted", "isSubventioned", "language"])) : O("", !0) : (f(), m("div", nr,
|
|
5253
|
+
}, null, 8, ["variantCount", "price", "formattedPrice", "oldPrice", "currency", "isDiscounted", "isSubventioned", "language"])) : O("", !0) : (f(), m("div", nr, k(i.value.comingBackSoon), 1))
|
|
5247
5254
|
])
|
|
5248
5255
|
], 34));
|
|
5249
5256
|
}
|
|
5250
|
-
}), sf = /* @__PURE__ */ q(or, [["__scopeId", "data-v-
|
|
5257
|
+
}), sf = /* @__PURE__ */ q(or, [["__scopeId", "data-v-cab446a0"]]), cr = { class: "utopia-filterprice" }, ir = { class: "utopia-filterprice--inputs-container" }, rr = { class: "utopia-filterprice--range-slider-container" }, ar = /* @__PURE__ */ U({
|
|
5251
5258
|
__name: "FilterPrice",
|
|
5252
5259
|
props: {
|
|
5253
5260
|
labelMin: { default: "Prix minimum" },
|
|
@@ -5377,7 +5384,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5377
5384
|
])]),
|
|
5378
5385
|
_: 1
|
|
5379
5386
|
}, 8, ["disabled"]),
|
|
5380
|
-
v("div", vr, "Page " +
|
|
5387
|
+
v("div", vr, "Page " + k(A.currentPage) + " sur " + k(A.totalPages), 1),
|
|
5381
5388
|
Z(uA, {
|
|
5382
5389
|
class: "utopia-pagenavigation__compact-button",
|
|
5383
5390
|
size: "xs",
|
|
@@ -5414,7 +5421,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5414
5421
|
onClick: () => i("page-change", l)
|
|
5415
5422
|
}, {
|
|
5416
5423
|
default: K(() => [
|
|
5417
|
-
nA(
|
|
5424
|
+
nA(k(l), 1)
|
|
5418
5425
|
]),
|
|
5419
5426
|
_: 2
|
|
5420
5427
|
}, 1032, ["class", "variant", "onClick"]),
|
|
@@ -5438,7 +5445,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5438
5445
|
A.showGoToPage ? (f(), m("div", mr, [
|
|
5439
5446
|
v("div", {
|
|
5440
5447
|
class: H(["utopia-pagenavigation__go-to-page-label", n.value])
|
|
5441
|
-
},
|
|
5448
|
+
}, k(A.goToPageLabel), 3),
|
|
5442
5449
|
Z(Ze, {
|
|
5443
5450
|
modelValue: r.value,
|
|
5444
5451
|
"onUpdate:modelValue": g[4] || (g[4] = (l) => r.value = l),
|
|
@@ -5451,7 +5458,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5451
5458
|
A.showSize ? (f(), m("div", pr, [
|
|
5452
5459
|
v("div", {
|
|
5453
5460
|
class: H(["utopia-pagenavigation__size-label", n.value])
|
|
5454
|
-
},
|
|
5461
|
+
}, k(A.sizeLabel), 3),
|
|
5455
5462
|
Z(Ze, {
|
|
5456
5463
|
modelValue: a.value,
|
|
5457
5464
|
"onUpdate:modelValue": g[6] || (g[6] = (l) => a.value = l),
|
|
@@ -5947,7 +5954,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5947
5954
|
])) : O("", !0),
|
|
5948
5955
|
A.collapsed ? O("", !0) : (f(), m("span", Nr, [
|
|
5949
5956
|
AA(l.$slots, "default", {}, () => [
|
|
5950
|
-
nA(
|
|
5957
|
+
nA(k(A.label), 1)
|
|
5951
5958
|
], !0)
|
|
5952
5959
|
]))
|
|
5953
5960
|
]),
|
|
@@ -5960,7 +5967,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5960
5967
|
v("div", {
|
|
5961
5968
|
class: "nav-item-tooltip-teleported",
|
|
5962
5969
|
style: oA(c.value)
|
|
5963
|
-
},
|
|
5970
|
+
}, k(A.label), 5)
|
|
5964
5971
|
])) : O("", !0)
|
|
5965
5972
|
], 64));
|
|
5966
5973
|
}
|
|
@@ -5999,9 +6006,9 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
5999
6006
|
ref_key: "sectionRef",
|
|
6000
6007
|
ref: e
|
|
6001
6008
|
}, [
|
|
6002
|
-
v("span", Wr,
|
|
6009
|
+
v("span", Wr, k(A.label.toUpperCase()), 1)
|
|
6003
6010
|
], 544)) : (f(), m("div", Vr, [
|
|
6004
|
-
v("span", Sr,
|
|
6011
|
+
v("span", Sr, k(A.label.toUpperCase()), 1)
|
|
6005
6012
|
])),
|
|
6006
6013
|
A.collapsed && t.value ? (f(), V(EA, {
|
|
6007
6014
|
key: 2,
|
|
@@ -6010,7 +6017,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
6010
6017
|
v("div", {
|
|
6011
6018
|
class: "section-tooltip-teleported",
|
|
6012
6019
|
style: oA(n.value)
|
|
6013
|
-
},
|
|
6020
|
+
}, k(A.label), 5)
|
|
6014
6021
|
])) : O("", !0)
|
|
6015
6022
|
], 2));
|
|
6016
6023
|
}
|
|
@@ -6125,7 +6132,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
6125
6132
|
class: H(["mode-toggle", { dark: A.currentMode === "dark" }])
|
|
6126
6133
|
}, {
|
|
6127
6134
|
default: K(() => [
|
|
6128
|
-
v("span", qr,
|
|
6135
|
+
v("span", qr, k(A.currentMode === "light" ? "🌙" : "☀️"), 1)
|
|
6129
6136
|
]),
|
|
6130
6137
|
_: 1
|
|
6131
6138
|
}, 8, ["aria-label", "class"])
|
|
@@ -6253,10 +6260,10 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
6253
6260
|
]),
|
|
6254
6261
|
v("div", ia, [
|
|
6255
6262
|
v("h1", ra, [
|
|
6256
|
-
nA(
|
|
6263
|
+
nA(k(A.title) + " ", 1),
|
|
6257
6264
|
A.showWaveEmoji ? (f(), m("span", aa, "👋")) : O("", !0)
|
|
6258
6265
|
]),
|
|
6259
|
-
v("p", fa,
|
|
6266
|
+
v("p", fa, k(A.subtitle), 1)
|
|
6260
6267
|
]),
|
|
6261
6268
|
v("div", la, [
|
|
6262
6269
|
AA(i.$slots, "default", {}, void 0, !0)
|
|
@@ -6269,19 +6276,19 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
6269
6276
|
})
|
|
6270
6277
|
]),
|
|
6271
6278
|
v("div", ua, [
|
|
6272
|
-
v("h3", ga,
|
|
6273
|
-
v("p", ma,
|
|
6279
|
+
v("h3", ga, k(A.tipsTitle), 1),
|
|
6280
|
+
v("p", ma, k(A.tipsText), 1),
|
|
6274
6281
|
A.contactInfo ? (f(), m("div", za, [
|
|
6275
|
-
v("span", null,
|
|
6282
|
+
v("span", null, k(A.contactInfo.text), 1),
|
|
6276
6283
|
v("a", {
|
|
6277
6284
|
href: `tel:${A.contactInfo.phone}`,
|
|
6278
6285
|
class: "contact-phone"
|
|
6279
|
-
},
|
|
6286
|
+
}, k(A.contactInfo.phone), 9, pa),
|
|
6280
6287
|
r[0] || (r[0] = v("span", null, "ou à l'adresse", -1)),
|
|
6281
6288
|
v("a", {
|
|
6282
6289
|
href: `mailto:${A.contactInfo.email}`,
|
|
6283
6290
|
class: "contact-email"
|
|
6284
|
-
},
|
|
6291
|
+
}, k(A.contactInfo.email), 9, xa)
|
|
6285
6292
|
])) : O("", !0)
|
|
6286
6293
|
])
|
|
6287
6294
|
])) : O("", !0)
|
|
@@ -6336,9 +6343,9 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
6336
6343
|
})
|
|
6337
6344
|
]),
|
|
6338
6345
|
v("div", wa, [
|
|
6339
|
-
v("strong", null,
|
|
6346
|
+
v("strong", null, k(a.tips.title), 1),
|
|
6340
6347
|
r[3] || (r[3] = v("br", null, null, -1)),
|
|
6341
|
-
nA(" " +
|
|
6348
|
+
nA(" " + k(a.tips.text), 1)
|
|
6342
6349
|
])
|
|
6343
6350
|
])) : O("", !0),
|
|
6344
6351
|
a.title || a.subtitle ? (f(), m("div", Ba, [
|
|
@@ -6347,7 +6354,7 @@ const Jc = ic, Cc = rc, Lc = nc, Ec = tc, Xc = (A, s, e) => {
|
|
|
6347
6354
|
class: "slide-title",
|
|
6348
6355
|
innerHTML: a.title
|
|
6349
6356
|
}, null, 8, ja)) : O("", !0),
|
|
6350
|
-
a.subtitle ? (f(), m("p", Ya,
|
|
6357
|
+
a.subtitle ? (f(), m("p", Ya, k(a.subtitle), 1)) : O("", !0)
|
|
6351
6358
|
])) : O("", !0)
|
|
6352
6359
|
])
|
|
6353
6360
|
]),
|