@mirweb/mir-web-components 1.8.2 → 1.8.3
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as g, computed as q, openBlock as l, createElementBlock as i, normalizeClass as
|
|
1
|
+
import { defineComponent as g, computed as q, openBlock as l, createElementBlock as i, normalizeClass as h, toDisplayString as d, createElementVNode as t, renderSlot as c, pushScopeId as H, popScopeId as R, createTextVNode as J, ref as C, resolveDirective as _e, withDirectives as U, Fragment as D, renderList as V, vShow as Z, normalizeProps as O, guardReactiveProps as z, toRefs as Se, mergeProps as M, createVNode as S, Transition as Ie, withCtx as y, withModifiers as he, createBlock as L, createCommentVNode as _, watchEffect as pe, withKeys as Ce, useSlots as qe, normalizeStyle as ee, isRef as x, unref as I, onMounted as me, watch as Q, onUnmounted as Ae } from "vue";
|
|
2
2
|
const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
3
3
|
__name: "button",
|
|
4
4
|
props: {
|
|
@@ -16,7 +16,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
16
16
|
previous: "previous"
|
|
17
17
|
}, r = e, s = q(() => a[r.variant]);
|
|
18
18
|
return (o, u) => (l(), i("button", {
|
|
19
|
-
class:
|
|
19
|
+
class: h(["button", "button--" + s.value]),
|
|
20
20
|
"aria-label": o.ariaLabel
|
|
21
21
|
}, d(s.value === "close" ? "" : o.buttonText), 11, Le));
|
|
22
22
|
}
|
|
@@ -42,7 +42,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
42
42
|
r("input", u.checked);
|
|
43
43
|
};
|
|
44
44
|
return (o, u) => (l(), i("div", {
|
|
45
|
-
class:
|
|
45
|
+
class: h(["checkbox__wrapper", o.disabled ? "disabled" : ""])
|
|
46
46
|
}, [
|
|
47
47
|
t("input", {
|
|
48
48
|
id: o.id,
|
|
@@ -57,7 +57,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
57
57
|
}, null, 40, Ve),
|
|
58
58
|
t("label", {
|
|
59
59
|
for: o.id,
|
|
60
|
-
class:
|
|
60
|
+
class: h(["checkbox__label", o.required ? "required" : ""])
|
|
61
61
|
}, [
|
|
62
62
|
Fe,
|
|
63
63
|
c(o.$slots, "default", {}, void 0, !0)
|
|
@@ -107,7 +107,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
107
107
|
const r = {
|
|
108
108
|
primary: "dropdown-dark-bg-primary",
|
|
109
109
|
dark: "dropdown-dark dropdown-dark-bg-dark"
|
|
110
|
-
}, s = e, o = q(() => r[s.variant]), u = C(null),
|
|
110
|
+
}, s = e, o = q(() => r[s.variant]), u = C(null), p = C(null), n = C([]), b = C(0), f = C(""), k = C(!0), w = C(0), ae = a, re = q(() => {
|
|
111
111
|
const m = s.options.find(
|
|
112
112
|
(B) => B.value === s.modelValue
|
|
113
113
|
);
|
|
@@ -200,12 +200,12 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
200
200
|
), Y = n.value[N];
|
|
201
201
|
ce(Y);
|
|
202
202
|
}
|
|
203
|
-
if (m.setAttribute("aria-selected", "true"), (A =
|
|
203
|
+
if (m.setAttribute("aria-selected", "true"), (A = p.value) == null || A.setAttribute(
|
|
204
204
|
"aria-activedescendant",
|
|
205
205
|
B || ""
|
|
206
|
-
), ne(B || ""),
|
|
207
|
-
const N =
|
|
208
|
-
Y > N ?
|
|
206
|
+
), ne(B || ""), p.value && p.value.scrollHeight > p.value.clientHeight) {
|
|
207
|
+
const N = p.value.clientHeight + p.value.scrollTop, Y = m.offsetTop + m.offsetHeight;
|
|
208
|
+
Y > N ? p.value.scrollTop = Y - ((T = p.value) == null ? void 0 : T.clientHeight) : m.offsetTop < p.value.scrollTop && (p.value.scrollTop = m.offsetTop);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
function $e() {
|
|
@@ -219,7 +219,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
219
219
|
}
|
|
220
220
|
function ue() {
|
|
221
221
|
var m, B;
|
|
222
|
-
k.value = !1, (m = u.value) == null || m.setAttribute("aria-expanded", "true"), (B =
|
|
222
|
+
k.value = !1, (m = u.value) == null || m.setAttribute("aria-expanded", "true"), (B = p.value) == null || B.focus();
|
|
223
223
|
}
|
|
224
224
|
function we() {
|
|
225
225
|
s.disabled || (k.value ? ue() : se());
|
|
@@ -233,7 +233,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
233
233
|
}, [
|
|
234
234
|
t("label", {
|
|
235
235
|
id: `${m.name}-label`,
|
|
236
|
-
class:
|
|
236
|
+
class: h([{
|
|
237
237
|
"listbox__label--visually-hidden": !m.showLabel,
|
|
238
238
|
"is-disabled": m.disabled,
|
|
239
239
|
"is-required": m.required
|
|
@@ -248,13 +248,13 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
248
248
|
type: "button",
|
|
249
249
|
"aria-haspopup": "listbox",
|
|
250
250
|
"aria-disabled": m.disabled,
|
|
251
|
-
class:
|
|
251
|
+
class: h(["listbox__button", o.value]),
|
|
252
252
|
onClick: we,
|
|
253
253
|
onKeydown: oe
|
|
254
254
|
}, d(m.modelValue ? re.value : m.placeholder), 43, Ue),
|
|
255
255
|
U(t("ul", {
|
|
256
256
|
ref_key: "listboxNode",
|
|
257
|
-
ref:
|
|
257
|
+
ref: p,
|
|
258
258
|
"aria-labelledby": `${m.name}-label`,
|
|
259
259
|
"aria-activedescendant": m.modelValue,
|
|
260
260
|
tabindex: "0",
|
|
@@ -310,7 +310,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
310
310
|
t("span", {
|
|
311
311
|
"aria-label": r.value,
|
|
312
312
|
"label-dark": s.labelDark,
|
|
313
|
-
class:
|
|
313
|
+
class: h(s.labelDark ? "label--dark" : "label--light")
|
|
314
314
|
}, d(s.text), 11, xe)
|
|
315
315
|
]));
|
|
316
316
|
}
|
|
@@ -336,12 +336,12 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
336
336
|
hover: "underline-hover",
|
|
337
337
|
true: "add-underline",
|
|
338
338
|
false: "remove-underline"
|
|
339
|
-
}, s = e, o = q(() => a[s.linkType]), u = q(() => r[s.underline]),
|
|
339
|
+
}, s = e, o = q(() => a[s.linkType]), u = q(() => r[s.underline]), p = q(() => {
|
|
340
340
|
const { ...n } = Se(s);
|
|
341
341
|
return n;
|
|
342
342
|
});
|
|
343
343
|
return (n, b) => (l(), i("div", tt, [
|
|
344
|
-
t("div", M(
|
|
344
|
+
t("div", M(p.value, {
|
|
345
345
|
class: ["mir-link", [
|
|
346
346
|
o.value,
|
|
347
347
|
n.disabled ? "disabled" : "",
|
|
@@ -370,7 +370,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
370
370
|
r("input", u.checked);
|
|
371
371
|
};
|
|
372
372
|
return (o, u) => (l(), i("div", {
|
|
373
|
-
class:
|
|
373
|
+
class: h(["radio__wrapper", o.disabled ? "disabled" : ""])
|
|
374
374
|
}, [
|
|
375
375
|
t("input", {
|
|
376
376
|
id: o.id,
|
|
@@ -385,7 +385,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
385
385
|
}, null, 40, ot),
|
|
386
386
|
t("label", {
|
|
387
387
|
for: o.id,
|
|
388
|
-
class:
|
|
388
|
+
class: h(["radio__label", o.required ? "required" : ""])
|
|
389
389
|
}, [
|
|
390
390
|
lt,
|
|
391
391
|
c(o.$slots, "default", {}, void 0, !0)
|
|
@@ -408,11 +408,11 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
408
408
|
return (a, r) => (l(), i("div", nt, [
|
|
409
409
|
t("label", {
|
|
410
410
|
for: a.id,
|
|
411
|
-
class:
|
|
411
|
+
class: h([a.required ? "required" : "", a.disabled ? "disabled" : ""])
|
|
412
412
|
}, d(a.label), 11, dt),
|
|
413
413
|
t("select", {
|
|
414
414
|
id: a.id,
|
|
415
|
-
class:
|
|
415
|
+
class: h(a.disabled ? "disabled" : ""),
|
|
416
416
|
disabled: a.disabled,
|
|
417
417
|
name: a.name,
|
|
418
418
|
value: a.modelValue,
|
|
@@ -438,22 +438,22 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
438
438
|
const r = e, s = a, o = () => {
|
|
439
439
|
s("update:show", !r.show);
|
|
440
440
|
};
|
|
441
|
-
return (u,
|
|
441
|
+
return (u, p) => (l(), i("div", pt, [
|
|
442
442
|
S(Ie, {
|
|
443
443
|
duration: 300,
|
|
444
444
|
name: "nested"
|
|
445
445
|
}, {
|
|
446
446
|
default: y(() => [
|
|
447
447
|
U(t("div", {
|
|
448
|
-
class:
|
|
448
|
+
class: h(["overlay", u.searchBar ? "overlay-search" : "overlay-default"]),
|
|
449
449
|
ariaLabel: "modal",
|
|
450
450
|
role: "dialog",
|
|
451
451
|
onClick: o
|
|
452
452
|
}, [
|
|
453
453
|
t("div", {
|
|
454
454
|
id: "modal",
|
|
455
|
-
class:
|
|
456
|
-
onClick:
|
|
455
|
+
class: h([u.searchBar ? "search" : ""]),
|
|
456
|
+
onClick: p[0] || (p[0] = he(() => {
|
|
457
457
|
}, ["stop"]))
|
|
458
458
|
}, [
|
|
459
459
|
t("div", null, [
|
|
@@ -490,7 +490,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
490
490
|
},
|
|
491
491
|
emits: ["update:modelValue"],
|
|
492
492
|
setup(e, { emit: a }) {
|
|
493
|
-
const r = e, s = a, o = C(r.modelValue), u = C(),
|
|
493
|
+
const r = e, s = a, o = C(r.modelValue), u = C(), p = C(!1), n = (f, k, w) => (f - k) / (w - k) * 100, b = (f) => {
|
|
494
494
|
var k;
|
|
495
495
|
(k = u.value) == null || k.style.setProperty("--ProgressPercent", `${f}%`);
|
|
496
496
|
};
|
|
@@ -506,22 +506,22 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
506
506
|
t("div", vt, [
|
|
507
507
|
t("label", {
|
|
508
508
|
for: f.id,
|
|
509
|
-
class:
|
|
509
|
+
class: h([f.variant, ""])
|
|
510
510
|
}, d(f.label), 11, gt),
|
|
511
511
|
f.information ? (l(), i("i", {
|
|
512
512
|
key: 0,
|
|
513
513
|
role: "button",
|
|
514
|
-
class:
|
|
514
|
+
class: h([f.variant, "slider__information"]),
|
|
515
515
|
"aria-label": f.informationLabel,
|
|
516
516
|
tabindex: "0",
|
|
517
517
|
"aria-haspopup": "dialog",
|
|
518
|
-
onClick: k[0] || (k[0] = (w) =>
|
|
519
|
-
onKeyup: k[1] || (k[1] = Ce((w) =>
|
|
518
|
+
onClick: k[0] || (k[0] = (w) => p.value = !p.value),
|
|
519
|
+
onKeyup: k[1] || (k[1] = Ce((w) => p.value = !p.value, ["enter"]))
|
|
520
520
|
}, null, 42, bt)) : _("", !0)
|
|
521
521
|
]),
|
|
522
522
|
t("div", yt, [
|
|
523
523
|
t("span", {
|
|
524
|
-
class:
|
|
524
|
+
class: h([f.variant, "slider__minmax"])
|
|
525
525
|
}, d(f.min), 3),
|
|
526
526
|
t("input", {
|
|
527
527
|
id: f.id,
|
|
@@ -533,21 +533,21 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
533
533
|
min: f.min,
|
|
534
534
|
step: f.step,
|
|
535
535
|
max: f.max,
|
|
536
|
-
class:
|
|
536
|
+
class: h(f.variant),
|
|
537
537
|
onInput: k[2] || (k[2] = ({ target: w }) => o.value = parseFloat(w.value))
|
|
538
538
|
}, null, 42, kt),
|
|
539
539
|
t("span", {
|
|
540
|
-
class:
|
|
540
|
+
class: h([f.variant, "slider__minmax"])
|
|
541
541
|
}, d(f.max), 3)
|
|
542
542
|
]),
|
|
543
543
|
t("span", {
|
|
544
|
-
class:
|
|
544
|
+
class: h([f.variant, "slider__value"])
|
|
545
545
|
}, d(f.modelValue), 3)
|
|
546
546
|
]),
|
|
547
547
|
f.information ? (l(), L(ve, {
|
|
548
548
|
key: 0,
|
|
549
|
-
show:
|
|
550
|
-
"onUpdate:show": k[3] || (k[3] = (w) =>
|
|
549
|
+
show: p.value,
|
|
550
|
+
"onUpdate:show": k[3] || (k[3] = (w) => p.value = w)
|
|
551
551
|
}, {
|
|
552
552
|
default: y(() => [
|
|
553
553
|
t("p", $t, d(f.information), 1)
|
|
@@ -573,7 +573,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
573
573
|
return (a, r) => (l(), i("div", St, [
|
|
574
574
|
t("label", {
|
|
575
575
|
for: a.id,
|
|
576
|
-
class:
|
|
576
|
+
class: h({ required: a.required })
|
|
577
577
|
}, d(a.labelText) + d(a.required ? " *" : ""), 11, It),
|
|
578
578
|
t("div", {
|
|
579
579
|
id: a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? "textarea-wrapper__inner" : ""
|
|
@@ -588,7 +588,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
588
588
|
disabled: a.disabled,
|
|
589
589
|
maxlength: a.maxLength,
|
|
590
590
|
value: a.modelValue,
|
|
591
|
-
class:
|
|
591
|
+
class: h(
|
|
592
592
|
a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? "reached-meter-limit" : "border"
|
|
593
593
|
),
|
|
594
594
|
onInput: r[0] || (r[0] = (s) => a.$emit("update:modelValue", s.target.value))
|
|
@@ -599,7 +599,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
599
599
|
a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? (l(), i("p", Lt, " Too many characters. Please make it shorter ")) : _("", !0)
|
|
600
600
|
]),
|
|
601
601
|
t("p", {
|
|
602
|
-
class:
|
|
602
|
+
class: h(
|
|
603
603
|
a.modelValue !== void 0 && a.modelValue.length === a.maxLength ? "reached-meter-limit-meter" : ""
|
|
604
604
|
)
|
|
605
605
|
}, d(a.maxLength !== void 0 && a.modelValue !== void 0 && a.maxLength - a.modelValue.length >= 0 ? a.modelValue.length : 0) + " / " + d(a.maxLength), 3)
|
|
@@ -644,13 +644,13 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
644
644
|
search: "search"
|
|
645
645
|
}, r = e, s = q(() => a[r.type]), o = C(!0), u = q(
|
|
646
646
|
() => o.value ? "showPassword" : "hidePassword"
|
|
647
|
-
),
|
|
647
|
+
), p = q(
|
|
648
648
|
() => o.value ? "password" : "text"
|
|
649
649
|
);
|
|
650
650
|
return (n, b) => (l(), i("div", Vt, [
|
|
651
651
|
t("label", {
|
|
652
652
|
for: n.id,
|
|
653
|
-
class:
|
|
653
|
+
class: h([
|
|
654
654
|
n.required ? "required" : "",
|
|
655
655
|
n.disabled ? "disabled" : "",
|
|
656
656
|
n.search ? "search" : ""
|
|
@@ -660,7 +660,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
660
660
|
t("input", {
|
|
661
661
|
id: n.id,
|
|
662
662
|
ref: "passwordField",
|
|
663
|
-
type:
|
|
663
|
+
type: p.value,
|
|
664
664
|
value: n.modelValue,
|
|
665
665
|
placeholder: n.placeholder,
|
|
666
666
|
required: n.required,
|
|
@@ -670,7 +670,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
670
670
|
}, null, 40, Mt),
|
|
671
671
|
t("i", {
|
|
672
672
|
role: "button",
|
|
673
|
-
class:
|
|
673
|
+
class: h([u.value]),
|
|
674
674
|
"aria-controls": "password",
|
|
675
675
|
"aria-expanded": !o.value,
|
|
676
676
|
onClick: b[1] || (b[1] = (f) => o.value = !o.value)
|
|
@@ -683,7 +683,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
683
683
|
value: n.modelValue,
|
|
684
684
|
placeholder: n.placeholder,
|
|
685
685
|
required: n.required,
|
|
686
|
-
class:
|
|
686
|
+
class: h([
|
|
687
687
|
n.invalid ? "invalid" : "",
|
|
688
688
|
n.valid ? "valid" : "",
|
|
689
689
|
n.search ? "search" : ""
|
|
@@ -722,7 +722,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
722
722
|
resetVideo: () => {
|
|
723
723
|
s.value && (s.value.currentTime = 0, s.value.play());
|
|
724
724
|
}
|
|
725
|
-
}), (u,
|
|
725
|
+
}), (u, p) => (l(), i("div", Kt, [
|
|
726
726
|
u.localVideo ? (l(), i("video", {
|
|
727
727
|
key: 0,
|
|
728
728
|
ref_key: "videoRef",
|
|
@@ -833,7 +833,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
833
833
|
setup(e) {
|
|
834
834
|
return (a, r) => (l(), i("div", ra, [
|
|
835
835
|
t("div", {
|
|
836
|
-
class:
|
|
836
|
+
class: h(["bullet-list", e.variant])
|
|
837
837
|
}, [
|
|
838
838
|
t("ul", null, [
|
|
839
839
|
(l(!0), i(D, null, V(e.list, (s) => (l(), i("li", { key: s }, [
|
|
@@ -889,14 +889,14 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
889
889
|
width: "596",
|
|
890
890
|
height: "335"
|
|
891
891
|
}
|
|
892
|
-
}, o = e, u = q(() => s[o.size]),
|
|
892
|
+
}, o = e, u = q(() => s[o.size]), p = q(() => o.variant === "article" || o.variant === "product" ? `card--${o.size}-${o.variant}` : `card--${o.variant}`);
|
|
893
893
|
return (n, b) => (l(), i("div", ua, [
|
|
894
894
|
t("div", {
|
|
895
|
-
class:
|
|
895
|
+
class: h(["card", [
|
|
896
896
|
n.theme === "dark" ? "card--dark" : "card--light",
|
|
897
897
|
n.orientation === "vertical" ? "vertical" : "horizontal",
|
|
898
898
|
u.value.class,
|
|
899
|
-
|
|
899
|
+
p.value,
|
|
900
900
|
n.variant === "product" ? "card--product" : "card--article"
|
|
901
901
|
]]),
|
|
902
902
|
style: ee([n.variant === "product" ? "font-weight: 700" : "font-weight: 300"]),
|
|
@@ -919,7 +919,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
919
919
|
_: 3
|
|
920
920
|
})) : (l(), i("div", {
|
|
921
921
|
key: 1,
|
|
922
|
-
class:
|
|
922
|
+
class: h(["video-card__wrapper", I(r) === !0 ? "vimeoPlaying" : ""])
|
|
923
923
|
}, [
|
|
924
924
|
S(te, {
|
|
925
925
|
play: I(r),
|
|
@@ -940,14 +940,14 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
940
940
|
])) : _("", !0),
|
|
941
941
|
n.variant === "product" ? (l(), i("div", {
|
|
942
942
|
key: 3,
|
|
943
|
-
class:
|
|
943
|
+
class: h([
|
|
944
944
|
"card__headline",
|
|
945
945
|
n.theme === "dark" ? "regular-dark" : "regular-blue"
|
|
946
946
|
]),
|
|
947
947
|
style: { "font-weight": "700" }
|
|
948
948
|
}, d(n.headline), 3)) : (l(), i("div", {
|
|
949
949
|
key: 4,
|
|
950
|
-
class:
|
|
950
|
+
class: h([
|
|
951
951
|
"card__headline",
|
|
952
952
|
n.theme === "dark" ? "regular-dark" : "regular-dark-blue"
|
|
953
953
|
])
|
|
@@ -969,7 +969,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
969
969
|
t("div", va, [
|
|
970
970
|
a.image.filename ? (l(), i("div", {
|
|
971
971
|
key: 0,
|
|
972
|
-
class:
|
|
972
|
+
class: h(["column-card__image", { cover: a.imageFit, contain: !a.imageFit }])
|
|
973
973
|
}, [
|
|
974
974
|
c(a.$slots, "column-card-image", O(z({
|
|
975
975
|
src: a.image.filename,
|
|
@@ -1074,13 +1074,13 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1074
1074
|
a.value = !a.value;
|
|
1075
1075
|
}
|
|
1076
1076
|
return (s, o) => {
|
|
1077
|
-
var u,
|
|
1077
|
+
var u, p, n, b, f, k;
|
|
1078
1078
|
return l(), i("div", {
|
|
1079
1079
|
class: "flashcard-container",
|
|
1080
1080
|
onClick: r
|
|
1081
1081
|
}, [
|
|
1082
1082
|
t("div", {
|
|
1083
|
-
class:
|
|
1083
|
+
class: h(["flashcard", {
|
|
1084
1084
|
flipped: a.value,
|
|
1085
1085
|
"flashcard--sm": s.size === "sm",
|
|
1086
1086
|
"flashcard--md": s.size === "md",
|
|
@@ -1096,17 +1096,17 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1096
1096
|
Pa
|
|
1097
1097
|
])) : (l(), i("div", {
|
|
1098
1098
|
key: 1,
|
|
1099
|
-
class:
|
|
1099
|
+
class: h(["flashcard-image", {
|
|
1100
1100
|
contain: s.imageFit,
|
|
1101
1101
|
cover: !s.imageFit
|
|
1102
1102
|
}])
|
|
1103
1103
|
}, [
|
|
1104
|
-
c(s.$slots, "flashcard-front-image", O(z({ src: (
|
|
1104
|
+
c(s.$slots, "flashcard-front-image", O(z({ src: (p = s.image) == null ? void 0 : p.filename, alt: (n = s.image) == null ? void 0 : n.alt })), void 0, !0),
|
|
1105
1105
|
Fa
|
|
1106
1106
|
], 2))
|
|
1107
1107
|
]),
|
|
1108
1108
|
t("div", {
|
|
1109
|
-
class:
|
|
1109
|
+
class: h([
|
|
1110
1110
|
"flashcard-side flashcard-back",
|
|
1111
1111
|
(b = s.imagebackside) != null && b.filename ? "flashcard-back--image" : "flashcard-back--no-image"
|
|
1112
1112
|
])
|
|
@@ -1119,7 +1119,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1119
1119
|
Ha
|
|
1120
1120
|
])) : (l(), i("div", {
|
|
1121
1121
|
key: 1,
|
|
1122
|
-
class:
|
|
1122
|
+
class: h(["flashcard-image", {
|
|
1123
1123
|
contain: s.imageFitBack,
|
|
1124
1124
|
cover: !s.imageFitBack
|
|
1125
1125
|
}])
|
|
@@ -1178,36 +1178,36 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1178
1178
|
}, s = (o) => a.value.includes(o);
|
|
1179
1179
|
return (o, u) => (l(), i("section", Ja, [
|
|
1180
1180
|
t("div", Wa, [
|
|
1181
|
-
(l(!0), i(D, null, V(o.accordions, (
|
|
1182
|
-
key:
|
|
1181
|
+
(l(!0), i(D, null, V(o.accordions, (p) => (l(), i("div", {
|
|
1182
|
+
key: p._uid
|
|
1183
1183
|
}, [
|
|
1184
1184
|
t("div", Ya, [
|
|
1185
1185
|
t("div", {
|
|
1186
1186
|
class: "accordion__header",
|
|
1187
|
-
onClick: (n) => r(
|
|
1187
|
+
onClick: (n) => r(p._uid)
|
|
1188
1188
|
}, [
|
|
1189
|
-
t("h3", Za, d(
|
|
1189
|
+
t("h3", Za, d(p.headline), 1),
|
|
1190
1190
|
t("span", Xa, [
|
|
1191
|
-
s(
|
|
1191
|
+
s(p._uid) ? (l(), i("img", eo)) : (l(), i("img", xa))
|
|
1192
1192
|
])
|
|
1193
1193
|
], 8, Qa),
|
|
1194
1194
|
t("div", {
|
|
1195
|
-
class:
|
|
1195
|
+
class: h(["accordion__content", { "accordion__content--reverse": p.imageFirst }]),
|
|
1196
1196
|
style: ee({
|
|
1197
|
-
display: s(
|
|
1197
|
+
display: s(p._uid) ? "flex" : "none"
|
|
1198
1198
|
})
|
|
1199
1199
|
}, [
|
|
1200
1200
|
t("div", to, [
|
|
1201
|
-
c(o.$slots, "accordion-body", M({ ref_for: !0 }, { body:
|
|
1201
|
+
c(o.$slots, "accordion-body", M({ ref_for: !0 }, { body: p.bodytext }), void 0, !0)
|
|
1202
1202
|
]),
|
|
1203
1203
|
S(F, null, {
|
|
1204
1204
|
default: y(() => [
|
|
1205
|
-
|
|
1205
|
+
p.image ? c(o.$slots, "accordion-image", M({
|
|
1206
1206
|
key: 0,
|
|
1207
1207
|
ref_for: !0
|
|
1208
1208
|
}, {
|
|
1209
|
-
src:
|
|
1210
|
-
alt:
|
|
1209
|
+
src: p.image.filename,
|
|
1210
|
+
alt: p.image.alt,
|
|
1211
1211
|
class: "accordion__image"
|
|
1212
1212
|
}), void 0, !0) : _("", !0)
|
|
1213
1213
|
]),
|
|
@@ -1240,7 +1240,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1240
1240
|
},
|
|
1241
1241
|
setup(e) {
|
|
1242
1242
|
return (a, r) => (l(), i("div", {
|
|
1243
|
-
class:
|
|
1243
|
+
class: h([
|
|
1244
1244
|
"card-display",
|
|
1245
1245
|
e.bgColor === "blue" ? "card-display--blue" : "card-display--white"
|
|
1246
1246
|
])
|
|
@@ -1272,7 +1272,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1272
1272
|
},
|
|
1273
1273
|
setup(e) {
|
|
1274
1274
|
return (a, r) => (l(), i("div", {
|
|
1275
|
-
class:
|
|
1275
|
+
class: h([
|
|
1276
1276
|
"column-grid",
|
|
1277
1277
|
a.bgColor === "dark" ? "column-grid--dark" : a.bgColor === "light" ? "column-grid--light" : "column-grid--white"
|
|
1278
1278
|
])
|
|
@@ -1389,7 +1389,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1389
1389
|
c(a.$slots, "features-body", {}, void 0, !0)
|
|
1390
1390
|
])) : _("", !0),
|
|
1391
1391
|
t("div", {
|
|
1392
|
-
class:
|
|
1392
|
+
class: h(["features__elements", [a.elements.length === 6 ? "features__elements--grid-6" : ""]])
|
|
1393
1393
|
}, [
|
|
1394
1394
|
(l(!0), i(D, null, V(a.elements, (s) => (l(), i("div", {
|
|
1395
1395
|
key: s.headline,
|
|
@@ -1434,11 +1434,11 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1434
1434
|
return o === 4 || o === 5 ? "sm" : o === 6 || o === 3 ? "md" : o === 2 ? "lg" : "sm";
|
|
1435
1435
|
});
|
|
1436
1436
|
return (o, u) => (l(), i("div", {
|
|
1437
|
-
class:
|
|
1437
|
+
class: h(["flashcards", o.bgColor === "light" ? "flashcards--light" : "flashcards--white"])
|
|
1438
1438
|
}, [
|
|
1439
1439
|
t("div", Fo, [
|
|
1440
1440
|
t("div", {
|
|
1441
|
-
class:
|
|
1441
|
+
class: h([
|
|
1442
1442
|
{ "no-bodytext": !r.value },
|
|
1443
1443
|
"flashcard-wrapper__top-section"
|
|
1444
1444
|
])
|
|
@@ -1449,23 +1449,23 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1449
1449
|
])) : _("", !0)
|
|
1450
1450
|
], 2),
|
|
1451
1451
|
t("div", {
|
|
1452
|
-
class:
|
|
1452
|
+
class: h(["flashcard-wrapper__teaser-list", {
|
|
1453
1453
|
sm: s.value === "sm",
|
|
1454
1454
|
md: s.value === "md",
|
|
1455
1455
|
lg: s.value === "lg"
|
|
1456
1456
|
}])
|
|
1457
1457
|
}, [
|
|
1458
|
-
(l(!0), i(D, null, V(o.flashcards, (
|
|
1459
|
-
key:
|
|
1460
|
-
name:
|
|
1461
|
-
bodytext:
|
|
1462
|
-
image:
|
|
1463
|
-
namebackside:
|
|
1464
|
-
bodytextbackside:
|
|
1465
|
-
imagebackside:
|
|
1458
|
+
(l(!0), i(D, null, V(o.flashcards, (p) => (l(), L(I(be), {
|
|
1459
|
+
key: p._uid,
|
|
1460
|
+
name: p.name,
|
|
1461
|
+
bodytext: p.bodytext,
|
|
1462
|
+
image: p.image,
|
|
1463
|
+
namebackside: p.namebackside ? p.namebackside : "",
|
|
1464
|
+
bodytextbackside: p.bodytextbackside,
|
|
1465
|
+
imagebackside: p.imagebackside ? p.imagebackside : { filename: "", alt: "" },
|
|
1466
1466
|
size: s.value,
|
|
1467
|
-
"image-fit":
|
|
1468
|
-
"image-fit-back":
|
|
1467
|
+
"image-fit": p.imageFit,
|
|
1468
|
+
"image-fit-back": p.imageFitBack
|
|
1469
1469
|
}, {
|
|
1470
1470
|
"flashcard-front-body": y(({ bodytext: n }) => [
|
|
1471
1471
|
c(o.$slots, "flashcard-front-body", M({ ref_for: !0 }, { bodytext: n }), void 0, !0)
|
|
@@ -1500,7 +1500,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1500
1500
|
default: "form__wrapper--default"
|
|
1501
1501
|
}, r = e, s = q(() => a[r.variant]);
|
|
1502
1502
|
return (o, u) => (l(), i("div", {
|
|
1503
|
-
class:
|
|
1503
|
+
class: h(["form__wrapper", s.value])
|
|
1504
1504
|
}, [
|
|
1505
1505
|
t("div", Ro, [
|
|
1506
1506
|
t("div", No, [
|
|
@@ -1544,7 +1544,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1544
1544
|
setup(e) {
|
|
1545
1545
|
return (a, r) => (l(), i("div", Jo, [
|
|
1546
1546
|
t("div", {
|
|
1547
|
-
class:
|
|
1547
|
+
class: h({
|
|
1548
1548
|
"headline__content--article-and-submenu": e.article && e.subMenu,
|
|
1549
1549
|
"headline__content--article": e.article && !e.subMenu,
|
|
1550
1550
|
"headline__content--default headline__content--submenu": !e.article && e.subMenu,
|
|
@@ -1664,10 +1664,10 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1664
1664
|
dark: "gallery__wrapper--dark mirsaic--dark"
|
|
1665
1665
|
}, r = e, s = q(() => a[r.bgColor]);
|
|
1666
1666
|
return (o, u) => (l(), i("div", {
|
|
1667
|
-
class:
|
|
1667
|
+
class: h(["gallery__wrapper", s.value])
|
|
1668
1668
|
}, [
|
|
1669
1669
|
t("div", {
|
|
1670
|
-
class:
|
|
1670
|
+
class: h([
|
|
1671
1671
|
"gallery__content",
|
|
1672
1672
|
o.flipHorizontal ? "gallery__content--reverse" : "gallery__content--default"
|
|
1673
1673
|
])
|
|
@@ -1703,13 +1703,13 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1703
1703
|
]),
|
|
1704
1704
|
t("div", {
|
|
1705
1705
|
style: ee([o.mediaSmall.length === 2 ? "grid-gap: 38px;" : ""]),
|
|
1706
|
-
class:
|
|
1706
|
+
class: h([
|
|
1707
1707
|
"gallery__small",
|
|
1708
1708
|
o.flipVertical ? "gallery__small--reverse" : "gallery__small--default"
|
|
1709
1709
|
])
|
|
1710
1710
|
}, [
|
|
1711
|
-
(l(!0), i(D, null, V(o.mediaSmall, (
|
|
1712
|
-
key:
|
|
1711
|
+
(l(!0), i(D, null, V(o.mediaSmall, (p) => (l(), i("div", {
|
|
1712
|
+
key: p.src + p.alt,
|
|
1713
1713
|
class: "image image--small"
|
|
1714
1714
|
}, [
|
|
1715
1715
|
S(F, null, {
|
|
@@ -1717,8 +1717,8 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1717
1717
|
c(o.$slots, "image-small", M({ ref_for: !0 }, {
|
|
1718
1718
|
width: 328,
|
|
1719
1719
|
height: 246,
|
|
1720
|
-
src:
|
|
1721
|
-
alt:
|
|
1720
|
+
src: p.src,
|
|
1721
|
+
alt: p.alt
|
|
1722
1722
|
}))
|
|
1723
1723
|
]),
|
|
1724
1724
|
_: 2
|
|
@@ -1726,7 +1726,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1726
1726
|
]))), 128)),
|
|
1727
1727
|
o.mediaSmall.length < 2 ? (l(), i("div", {
|
|
1728
1728
|
key: 0,
|
|
1729
|
-
class:
|
|
1729
|
+
class: h(["body", o.bgColor === "dark" ? "body--dark" : ""])
|
|
1730
1730
|
}, [
|
|
1731
1731
|
t("p", null, d(o.body), 1)
|
|
1732
1732
|
], 2)) : _("", !0)
|
|
@@ -1813,7 +1813,7 @@ const Le = ["aria-label"], Te = /* @__PURE__ */ g({
|
|
|
1813
1813
|
dark: "micro-stories__wrapper--dark"
|
|
1814
1814
|
}, r = q(() => a[s.bgColor]), s = e;
|
|
1815
1815
|
return (o, u) => (l(), i("div", {
|
|
1816
|
-
class:
|
|
1816
|
+
class: h(["micro-stories__wrapper", r.value])
|
|
1817
1817
|
}, [
|
|
1818
1818
|
t("div", Ls, [
|
|
1819
1819
|
o.headline ? (l(), i("div", Ts, [
|
|
@@ -1943,7 +1943,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
1943
1943
|
default: "promo__wrapper--default"
|
|
1944
1944
|
}, r = e, s = q(() => a[r.variant]);
|
|
1945
1945
|
return (o, u) => (l(), i("div", {
|
|
1946
|
-
class:
|
|
1946
|
+
class: h([
|
|
1947
1947
|
"promo__wrapper",
|
|
1948
1948
|
s.value,
|
|
1949
1949
|
o.teaser ? "promo__wrapper--teaser" : "",
|
|
@@ -1953,7 +1953,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
1953
1953
|
t("div", Ys, [
|
|
1954
1954
|
o.mediaType === "image" ? (l(), i("div", {
|
|
1955
1955
|
key: 0,
|
|
1956
|
-
class:
|
|
1956
|
+
class: h([
|
|
1957
1957
|
"promo__image",
|
|
1958
1958
|
o.reverse ? "promo__image--reverse" : "promo__image--default"
|
|
1959
1959
|
])
|
|
@@ -1967,7 +1967,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
1967
1967
|
], 2)) : _("", !0),
|
|
1968
1968
|
o.mediaType === "video" ? (l(), i("div", {
|
|
1969
1969
|
key: 1,
|
|
1970
|
-
class:
|
|
1970
|
+
class: h([
|
|
1971
1971
|
"promo__video",
|
|
1972
1972
|
o.reverse ? "promo__video--reverse" : "promo__video--default"
|
|
1973
1973
|
])
|
|
@@ -1985,7 +1985,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
1985
1985
|
}, null, 8, ["src", "aria-label", "poster"])
|
|
1986
1986
|
], 2)) : _("", !0),
|
|
1987
1987
|
t("div", {
|
|
1988
|
-
class:
|
|
1988
|
+
class: h([
|
|
1989
1989
|
"promo__text",
|
|
1990
1990
|
o.reverse ? "promo__text--reverse" : "promo__text--default"
|
|
1991
1991
|
])
|
|
@@ -1996,7 +1996,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
1996
1996
|
"label-dark": o.variant === "dark"
|
|
1997
1997
|
}, null, 8, ["text", "label-dark"])) : _("", !0),
|
|
1998
1998
|
t("div", {
|
|
1999
|
-
class:
|
|
1999
|
+
class: h([
|
|
2000
2000
|
"promo__title",
|
|
2001
2001
|
o.variant === "dark" ? "promo__title--dark" : ""
|
|
2002
2002
|
])
|
|
@@ -2098,7 +2098,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
2098
2098
|
},
|
|
2099
2099
|
setup(e) {
|
|
2100
2100
|
return (a, r) => (l(), i("div", {
|
|
2101
|
-
class:
|
|
2101
|
+
class: h([
|
|
2102
2102
|
"rich-text",
|
|
2103
2103
|
a.bgColor === "blue" ? "rich-text--blue" : "rich-text--white"
|
|
2104
2104
|
])
|
|
@@ -2111,19 +2111,19 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
2111
2111
|
}, null, 8, ["text"])) : _("", !0),
|
|
2112
2112
|
a.headline ? (l(), i("h2", {
|
|
2113
2113
|
key: 1,
|
|
2114
|
-
class:
|
|
2114
|
+
class: h([
|
|
2115
2115
|
"rich-text__headline",
|
|
2116
2116
|
a.leftAligned || a.bulletList || a.image ? "rich-text__headline--left-aligned" : "rich-text__headline--centered"
|
|
2117
2117
|
])
|
|
2118
2118
|
}, d(a.headline), 3)) : _("", !0),
|
|
2119
2119
|
t("div", {
|
|
2120
|
-
class:
|
|
2120
|
+
class: h([
|
|
2121
2121
|
"rich-text__content",
|
|
2122
2122
|
a.leftAligned || a.bulletList || a.image ? "rich-text__content--left-aligned" : "rich-text__content--centered"
|
|
2123
2123
|
])
|
|
2124
2124
|
}, [
|
|
2125
2125
|
t("div", {
|
|
2126
|
-
class:
|
|
2126
|
+
class: h([
|
|
2127
2127
|
"rich-text__body",
|
|
2128
2128
|
a.bulletList || a.image ? "rich-text__body--content-right" : ""
|
|
2129
2129
|
])
|
|
@@ -2138,7 +2138,7 @@ const Hs = /* @__PURE__ */ v(Fs, [["render", zs], ["__scopeId", "data-v-ea887d7a
|
|
|
2138
2138
|
])) : _("", !0),
|
|
2139
2139
|
a.image ? (l(), i("div", {
|
|
2140
2140
|
key: 1,
|
|
2141
|
-
class:
|
|
2141
|
+
class: h([
|
|
2142
2142
|
"rich-text__image",
|
|
2143
2143
|
a.imageClip ? "rich-text__image--clip" : ""
|
|
2144
2144
|
])
|
|
@@ -2463,7 +2463,7 @@ const $l = /* @__PURE__ */ v(fl, [["render", kl], ["__scopeId", "data-v-776750d2
|
|
|
2463
2463
|
t("i", {
|
|
2464
2464
|
width: "19",
|
|
2465
2465
|
height: "14",
|
|
2466
|
-
class:
|
|
2466
|
+
class: h(["footer__social--icon", [s.title ? "bg-" + s.title : ""]])
|
|
2467
2467
|
}, null, 2)
|
|
2468
2468
|
], 8, Oi)
|
|
2469
2469
|
]),
|
|
@@ -2484,7 +2484,7 @@ const $l = /* @__PURE__ */ v(fl, [["render", kl], ["__scopeId", "data-v-776750d2
|
|
|
2484
2484
|
t("i", {
|
|
2485
2485
|
width: "19",
|
|
2486
2486
|
height: "14",
|
|
2487
|
-
class:
|
|
2487
|
+
class: h(["footer__social--icon", [s.title ? "bg-" + s.title : ""]])
|
|
2488
2488
|
}, null, 2)
|
|
2489
2489
|
], 8, Hi)
|
|
2490
2490
|
]),
|
|
@@ -2593,13 +2593,13 @@ const $l = /* @__PURE__ */ v(fl, [["render", kl], ["__scopeId", "data-v-776750d2
|
|
|
2593
2593
|
setup(e, { expose: a, emit: r }) {
|
|
2594
2594
|
let s = null;
|
|
2595
2595
|
const o = e;
|
|
2596
|
-
let u = C(o.burgerState),
|
|
2596
|
+
let u = C(o.burgerState), p = C(o.search), n = C(o.showDropDown), b = C(o.showPortalSwitcherDropDown), f = C(o.showProfileDropDown), k = C(o.isAuthenticated);
|
|
2597
2597
|
Q(
|
|
2598
2598
|
() => o.burgerState,
|
|
2599
2599
|
($) => u.value = $
|
|
2600
2600
|
), Q(
|
|
2601
2601
|
() => o.search,
|
|
2602
|
-
($) =>
|
|
2602
|
+
($) => p.value = $
|
|
2603
2603
|
), Q(
|
|
2604
2604
|
() => o.showDropDown,
|
|
2605
2605
|
($) => n.value = $
|
|
@@ -2661,7 +2661,7 @@ const $l = /* @__PURE__ */ v(fl, [["render", kl], ["__scopeId", "data-v-776750d2
|
|
|
2661
2661
|
[Z, I(n)]
|
|
2662
2662
|
])
|
|
2663
2663
|
], 512)) : _("", !0),
|
|
2664
|
-
I(
|
|
2664
|
+
I(p) ? (l(), i("div", Qi, [
|
|
2665
2665
|
t("button", {
|
|
2666
2666
|
ref_key: "navSearchButton",
|
|
2667
2667
|
ref: G,
|
|
@@ -2727,13 +2727,13 @@ const $l = /* @__PURE__ */ v(fl, [["render", kl], ["__scopeId", "data-v-776750d2
|
|
|
2727
2727
|
])) : _("", !0)
|
|
2728
2728
|
]),
|
|
2729
2729
|
t("div", {
|
|
2730
|
-
class:
|
|
2730
|
+
class: h(["mobile-nav-wrapper", I(u) === !0 ? "mirsaic-mobile-bg mirsaic--dark" : ""])
|
|
2731
2731
|
}, [
|
|
2732
2732
|
t("div", cr, [
|
|
2733
2733
|
t("div", ur, [
|
|
2734
2734
|
c($.$slots, "link-logo", {}, void 0, !0)
|
|
2735
2735
|
]),
|
|
2736
|
-
I(
|
|
2736
|
+
I(p) ? (l(), i("div", _r, [
|
|
2737
2737
|
t("button", {
|
|
2738
2738
|
ref_key: "mobileSearchButton",
|
|
2739
2739
|
ref: oe,
|
|
@@ -2854,7 +2854,7 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2854
2854
|
function u(b, f) {
|
|
2855
2855
|
!s.selectedOptions.includes(b) && !s.selectedOptions.includes(f) ? o("filter", b) : o("remove-filter", b);
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2857
|
+
function p() {
|
|
2858
2858
|
r.value = !1;
|
|
2859
2859
|
}
|
|
2860
2860
|
const n = q(() => s.options.length > 8);
|
|
@@ -2862,7 +2862,7 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2862
2862
|
const k = _e("click-outside");
|
|
2863
2863
|
return U((l(), i("div", Pr, [
|
|
2864
2864
|
t("button", {
|
|
2865
|
-
class: "dropdown-button",
|
|
2865
|
+
class: h(["dropdown-button", { clicked: r.value }]),
|
|
2866
2866
|
style: ee({ "z-index": r.value ? 2 : 0 }),
|
|
2867
2867
|
"aria-expanded": r.value ? "true" : "false",
|
|
2868
2868
|
onClick: f[0] || (f[0] = (w) => r.value = !r.value)
|
|
@@ -2870,9 +2870,9 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2870
2870
|
c(b.$slots, "button", {}, () => [
|
|
2871
2871
|
J(d(b.label), 1)
|
|
2872
2872
|
], !0)
|
|
2873
|
-
],
|
|
2873
|
+
], 14, Fr),
|
|
2874
2874
|
t("div", {
|
|
2875
|
-
class:
|
|
2875
|
+
class: h([{ hidden: !r.value, "adjust-height": n.value }, "dropdown-content"])
|
|
2876
2876
|
}, [
|
|
2877
2877
|
(l(!0), i(D, null, V(b.options, (w) => (l(), L(I(fe), {
|
|
2878
2878
|
id: w.value,
|
|
@@ -2891,11 +2891,11 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2891
2891
|
}, 1032, ["id", "name", "value", "checked", "onInput"]))), 128))
|
|
2892
2892
|
], 2)
|
|
2893
2893
|
])), [
|
|
2894
|
-
[k,
|
|
2894
|
+
[k, p]
|
|
2895
2895
|
]);
|
|
2896
2896
|
};
|
|
2897
2897
|
}
|
|
2898
|
-
}), Or = /* @__PURE__ */ v(Mr, [["__scopeId", "data-v-
|
|
2898
|
+
}), Or = /* @__PURE__ */ v(Mr, [["__scopeId", "data-v-678cc92e"]]), zr = { class: "promo__content" }, Hr = { class: "pallet-jack__media-wrap" }, Rr = { class: "pallet-jack-link" }, Nr = { class: "pallet-jack__media-wrap__inner-wrap" }, Er = { class: "pallet-jack__media-wrap__content-wrap" }, jr = { class: "regular-blue" }, Kr = /* @__PURE__ */ g({
|
|
2899
2899
|
__name: "pallet-jack",
|
|
2900
2900
|
props: {
|
|
2901
2901
|
label: { default: "" },
|
|
@@ -2915,7 +2915,7 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2915
2915
|
default: "promo__wrapper--default"
|
|
2916
2916
|
}, r = e, s = q(() => a[r.variant]);
|
|
2917
2917
|
return (o, u) => (l(), i("div", {
|
|
2918
|
-
class:
|
|
2918
|
+
class: h([
|
|
2919
2919
|
"promo__wrapper",
|
|
2920
2920
|
s.value,
|
|
2921
2921
|
o.teaser ? "promo__wrapper--teaser" : ""
|
|
@@ -2923,7 +2923,7 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2923
2923
|
}, [
|
|
2924
2924
|
t("div", zr, [
|
|
2925
2925
|
t("div", {
|
|
2926
|
-
class:
|
|
2926
|
+
class: h([
|
|
2927
2927
|
"promo__video",
|
|
2928
2928
|
o.reverse ? "promo__video--reverse" : "promo__video--default"
|
|
2929
2929
|
])
|
|
@@ -2942,7 +2942,7 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2942
2942
|
])
|
|
2943
2943
|
], 2),
|
|
2944
2944
|
t("div", {
|
|
2945
|
-
class:
|
|
2945
|
+
class: h([
|
|
2946
2946
|
"promo__text",
|
|
2947
2947
|
o.reverse ? "promo__text--reverse" : "promo__text--default"
|
|
2948
2948
|
])
|
|
@@ -2953,7 +2953,7 @@ const Vr = /* @__PURE__ */ v(Lr, [["render", Dr], ["__scopeId", "data-v-c07a6cf3
|
|
|
2953
2953
|
"label-dark": o.variant === "dark"
|
|
2954
2954
|
}, null, 8, ["text", "label-dark"])) : _("", !0),
|
|
2955
2955
|
t("div", {
|
|
2956
|
-
class:
|
|
2956
|
+
class: h([
|
|
2957
2957
|
"promo__title",
|
|
2958
2958
|
o.variant === "dark" ? "promo__title--dark" : ""
|
|
2959
2959
|
])
|