@mirweb/mir-web-components 1.5.1 → 1.5.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
|
|
1
|
+
import { defineComponent as g, computed as C, openBlock as o, createElementBlock as s, normalizeClass as m, toDisplayString as d, createElementVNode as t, renderSlot as c, pushScopeId as H, popScopeId as R, createTextVNode as G, ref as q, resolveDirective as ue, withDirectives as K, Fragment as V, renderList as P, vShow as Q, normalizeProps as O, guardReactiveProps as F, toRefs as ke, mergeProps as le, createVNode as B, Transition as we, withCtx as y, withModifiers as _e, createBlock as D, createCommentVNode as p, watchEffect as he, withKeys as Se, useSlots as Be, normalizeStyle as X, isRef as de, unref as I, onMounted as pe, watch as Y, onUnmounted as Ie } from "vue";
|
|
2
2
|
const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
3
3
|
__name: "button",
|
|
4
4
|
props: {
|
|
@@ -14,7 +14,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
14
14
|
close: "close",
|
|
15
15
|
next: "next",
|
|
16
16
|
previous: "previous"
|
|
17
|
-
}, r = e, i =
|
|
17
|
+
}, r = e, i = C(() => a[r.variant]);
|
|
18
18
|
return (l, u) => (o(), s("button", {
|
|
19
19
|
class: m(["button", "button--" + i.value]),
|
|
20
20
|
"aria-label": l.ariaLabel
|
|
@@ -25,7 +25,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
25
25
|
for (const [i, l] of a)
|
|
26
26
|
r[i] = l;
|
|
27
27
|
return r;
|
|
28
|
-
}, oe = /* @__PURE__ */ f(Le, [["__scopeId", "data-v-f61b579c"]]),
|
|
28
|
+
}, oe = /* @__PURE__ */ f(Le, [["__scopeId", "data-v-f61b579c"]]), Ae = (e) => (H("data-v-0c4c6d8e"), e = e(), R(), e), Ce = ["id", "name", "value", "disabled", "required", "checked"], De = ["for"], Te = /* @__PURE__ */ Ae(() => /* @__PURE__ */ t("span", { class: "checkmark" }, null, -1)), Ve = /* @__PURE__ */ g({
|
|
29
29
|
__name: "checkbox",
|
|
30
30
|
props: {
|
|
31
31
|
name: { default: "checkbox" },
|
|
@@ -54,14 +54,14 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
54
54
|
checked: l.checked,
|
|
55
55
|
class: "checkbox__checkbox",
|
|
56
56
|
onChange: i
|
|
57
|
-
}, null, 40,
|
|
57
|
+
}, null, 40, Ce),
|
|
58
58
|
t("label", {
|
|
59
59
|
for: l.id,
|
|
60
60
|
class: m(["checkbox__label", l.required ? "required" : ""])
|
|
61
61
|
}, [
|
|
62
62
|
Te,
|
|
63
63
|
c(l.$slots, "default", {}, void 0, !0)
|
|
64
|
-
], 10,
|
|
64
|
+
], 10, De)
|
|
65
65
|
], 2));
|
|
66
66
|
}
|
|
67
67
|
}), me = /* @__PURE__ */ f(Ve, [["__scopeId", "data-v-0c4c6d8e"]]), Pe = (e) => (H("data-v-08813346"), e = e(), R(), e), Me = ["aria-label"], Oe = /* @__PURE__ */ Pe(() => /* @__PURE__ */ t("img", {
|
|
@@ -75,7 +75,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["remove-chip"],
|
|
77
77
|
setup(e) {
|
|
78
|
-
const a = e, r =
|
|
78
|
+
const a = e, r = C(() => `Chip: ${a.text}`);
|
|
79
79
|
return (i, l) => (o(), s("div", {
|
|
80
80
|
class: "chip__wrapper",
|
|
81
81
|
onClick: l[0] || (l[0] = (u) => i.$emit("remove-chip"))
|
|
@@ -107,7 +107,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
107
107
|
const r = {
|
|
108
108
|
primary: "dropdown-dark-bg-primary",
|
|
109
109
|
dark: "dropdown-dark dropdown-dark-bg-dark"
|
|
110
|
-
}, i = e, l =
|
|
110
|
+
}, i = e, l = C(() => r[i.variant]), u = q(null), n = q(null), _ = q([]), b = q(0), v = q(""), k = q(!0), w = q(0), ee = a, se = C(() => {
|
|
111
111
|
const h = i.options.find(
|
|
112
112
|
(S) => S.value === i.modelValue
|
|
113
113
|
);
|
|
@@ -128,11 +128,11 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
128
128
|
case "ArrowUp":
|
|
129
129
|
case "ArrowDown": {
|
|
130
130
|
h.preventDefault();
|
|
131
|
-
const
|
|
131
|
+
const A = i.options.findIndex(
|
|
132
132
|
(W) => W.value === i.modelValue
|
|
133
133
|
);
|
|
134
|
-
let z =
|
|
135
|
-
S === "ArrowUp" ?
|
|
134
|
+
let z = A ? _.value[A] : _.value[0];
|
|
135
|
+
S === "ArrowUp" ? A - 1 >= 0 && (z = _.value[A - 1]) : A + 1 <= i.options.length && (z = _.value[A + 1]), z && J(z);
|
|
136
136
|
break;
|
|
137
137
|
}
|
|
138
138
|
case "Home":
|
|
@@ -148,8 +148,8 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
148
148
|
h.preventDefault(), ae(), (L = u.value) == null || L.focus();
|
|
149
149
|
break;
|
|
150
150
|
default: {
|
|
151
|
-
const
|
|
152
|
-
|
|
151
|
+
const A = N(S);
|
|
152
|
+
A && J(A);
|
|
153
153
|
break;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -174,7 +174,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
174
174
|
function N(h) {
|
|
175
175
|
let S = "";
|
|
176
176
|
(v.value === "" || S !== h) && (w.value = i.options.findIndex(
|
|
177
|
-
(
|
|
177
|
+
(A) => A.value === i.modelValue
|
|
178
178
|
)), v.value = S === h ? h : v.value + h, S = h, $();
|
|
179
179
|
let L = j(
|
|
180
180
|
w.value + 1,
|
|
@@ -192,7 +192,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
192
192
|
J(_.value[0]);
|
|
193
193
|
}
|
|
194
194
|
function J(h) {
|
|
195
|
-
var L,
|
|
195
|
+
var L, A;
|
|
196
196
|
const S = h.getAttribute("data-value");
|
|
197
197
|
if (i.modelValue) {
|
|
198
198
|
const z = i.options.findIndex(
|
|
@@ -205,7 +205,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
205
205
|
S || ""
|
|
206
206
|
), ie(S || ""), n.value && n.value.scrollHeight > n.value.clientHeight) {
|
|
207
207
|
const z = n.value.clientHeight + n.value.scrollTop, W = h.offsetTop + h.offsetHeight;
|
|
208
|
-
W > z ? n.value.scrollTop = W - ((
|
|
208
|
+
W > z ? n.value.scrollTop = W - ((A = n.value) == null ? void 0 : A.clientHeight) : h.offsetTop < n.value.scrollTop && (n.value.scrollTop = h.offsetTop);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
function be() {
|
|
@@ -263,16 +263,16 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
263
263
|
onKeydown: U,
|
|
264
264
|
onClick: re
|
|
265
265
|
}, [
|
|
266
|
-
(o(!0), s(V, null, P(h.options, (
|
|
266
|
+
(o(!0), s(V, null, P(h.options, (A, z) => (o(), s("li", {
|
|
267
267
|
key: `${h.name}-option-${z}`,
|
|
268
268
|
ref_for: !0,
|
|
269
269
|
ref_key: "listboxOptions",
|
|
270
270
|
ref: _,
|
|
271
|
-
"aria-selected":
|
|
272
|
-
"data-value":
|
|
271
|
+
"aria-selected": A.value === h.modelValue,
|
|
272
|
+
"data-value": A.value,
|
|
273
273
|
class: "listbox__option",
|
|
274
274
|
role: "option"
|
|
275
|
-
}, d(
|
|
275
|
+
}, d(A.label), 9, Ke))), 128))
|
|
276
276
|
], 40, je), [
|
|
277
277
|
[Q, !k.value]
|
|
278
278
|
])
|
|
@@ -305,7 +305,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
305
305
|
labelDark: { type: Boolean, default: !1 }
|
|
306
306
|
},
|
|
307
307
|
setup(e) {
|
|
308
|
-
const a = e, r =
|
|
308
|
+
const a = e, r = C(() => `Label: ${a.text}`);
|
|
309
309
|
return (i, l) => (o(), s("div", Ye, [
|
|
310
310
|
t("span", {
|
|
311
311
|
"aria-label": r.value,
|
|
@@ -336,7 +336,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
336
336
|
hover: "underline-hover",
|
|
337
337
|
true: "add-underline",
|
|
338
338
|
false: "remove-underline"
|
|
339
|
-
}, i = e, l =
|
|
339
|
+
}, i = e, l = C(() => a[i.linkType]), u = C(() => r[i.underline]), n = C(() => {
|
|
340
340
|
const { ..._ } = ke(i);
|
|
341
341
|
return _;
|
|
342
342
|
});
|
|
@@ -457,7 +457,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
457
457
|
}, ["stop"]))
|
|
458
458
|
}, [
|
|
459
459
|
t("div", null, [
|
|
460
|
-
u.searchBar ? p("", !0) : (o(),
|
|
460
|
+
u.searchBar ? p("", !0) : (o(), D(oe, {
|
|
461
461
|
key: 0,
|
|
462
462
|
"aria-label": "close",
|
|
463
463
|
variant: "close",
|
|
@@ -544,7 +544,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
544
544
|
class: m([v.variant, "slider__value"])
|
|
545
545
|
}, d(v.modelValue), 3)
|
|
546
546
|
]),
|
|
547
|
-
v.information ? (o(),
|
|
547
|
+
v.information ? (o(), D(ve, {
|
|
548
548
|
key: 0,
|
|
549
549
|
show: n.value,
|
|
550
550
|
"onUpdate:show": k[3] || (k[3] = (w) => n.value = w)
|
|
@@ -606,7 +606,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
606
606
|
])
|
|
607
607
|
]));
|
|
608
608
|
}
|
|
609
|
-
}),
|
|
609
|
+
}), At = /* @__PURE__ */ f(Lt, [["__scopeId", "data-v-220a973c"]]), Ct = { class: "text-field__wrapper" }, Dt = ["for"], Tt = { key: 0 }, Vt = ["id", "type", "value", "placeholder", "required", "disabled", "name"], Pt = ["aria-expanded"], Mt = ["id", "type", "value", "placeholder", "required", "disabled", "name"], Ot = {
|
|
610
610
|
key: 2,
|
|
611
611
|
class: "search"
|
|
612
612
|
}, zt = {
|
|
@@ -642,12 +642,12 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
642
642
|
tel: "tel",
|
|
643
643
|
url: "url",
|
|
644
644
|
search: "search"
|
|
645
|
-
}, r = e, i =
|
|
645
|
+
}, r = e, i = C(() => a[r.type]), l = q(!0), u = C(
|
|
646
646
|
() => l.value ? "showPassword" : "hidePassword"
|
|
647
|
-
), n =
|
|
647
|
+
), n = C(
|
|
648
648
|
() => l.value ? "password" : "text"
|
|
649
649
|
);
|
|
650
|
-
return (_, b) => (o(), s("div",
|
|
650
|
+
return (_, b) => (o(), s("div", Ct, [
|
|
651
651
|
t("label", {
|
|
652
652
|
for: _.id,
|
|
653
653
|
class: m([
|
|
@@ -655,7 +655,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
655
655
|
_.disabled ? "disabled" : "",
|
|
656
656
|
_.search ? "search" : ""
|
|
657
657
|
])
|
|
658
|
-
}, d(_.label), 11,
|
|
658
|
+
}, d(_.label), 11, Dt),
|
|
659
659
|
i.value === "password" ? (o(), s("div", Tt, [
|
|
660
660
|
t("input", {
|
|
661
661
|
id: _.id,
|
|
@@ -777,7 +777,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
777
777
|
a.addressLine3 ? (o(), s("p", Qt, d(a.addressLine3), 1)) : p("", !0)
|
|
778
778
|
]),
|
|
779
779
|
t("div", Zt, [
|
|
780
|
-
a.website ? (o(),
|
|
780
|
+
a.website ? (o(), D(T, {
|
|
781
781
|
key: 0,
|
|
782
782
|
underline: "false",
|
|
783
783
|
"link-type": "regular"
|
|
@@ -790,7 +790,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
790
790
|
]),
|
|
791
791
|
_: 1
|
|
792
792
|
})) : p("", !0),
|
|
793
|
-
(o(!0), s(V, null, P(a.phoneNumbers, (i) => (o(),
|
|
793
|
+
(o(!0), s(V, null, P(a.phoneNumbers, (i) => (o(), D(T, {
|
|
794
794
|
key: i,
|
|
795
795
|
underline: "false",
|
|
796
796
|
"link-type": "regular"
|
|
@@ -889,7 +889,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
889
889
|
width: "596",
|
|
890
890
|
height: "335"
|
|
891
891
|
}
|
|
892
|
-
}, l = e, u =
|
|
892
|
+
}, l = e, u = C(() => i[l.size]);
|
|
893
893
|
return (n, _) => (o(), s("div", na, [
|
|
894
894
|
t("div", {
|
|
895
895
|
class: m(["card", [
|
|
@@ -903,7 +903,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
903
903
|
onMouseover: _[0] || (_[0] = (b) => de(r) ? r.value = !0 : r = !0),
|
|
904
904
|
onMouseout: _[1] || (_[1] = (b) => de(r) ? r.value = !1 : r = !1)
|
|
905
905
|
}, [
|
|
906
|
-
n.mediaType === "image" ? (o(),
|
|
906
|
+
n.mediaType === "image" ? (o(), D(M, { key: 0 }, {
|
|
907
907
|
default: y(() => [
|
|
908
908
|
c(n.$slots, "card-image", le({
|
|
909
909
|
src: n.imgSrc,
|
|
@@ -1021,7 +1021,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1021
1021
|
])
|
|
1022
1022
|
]));
|
|
1023
1023
|
}
|
|
1024
|
-
}), Ba = /* @__PURE__ */ f(Sa, [["__scopeId", "data-v-ebdea819"]]), Ia = { class: "accordions" }, qa = { class: "accordions__wrapper" }, La = { class: "accordion" },
|
|
1024
|
+
}), Ba = /* @__PURE__ */ f(Sa, [["__scopeId", "data-v-ebdea819"]]), Ia = { class: "accordions" }, qa = { class: "accordions__wrapper" }, La = { class: "accordion" }, Aa = ["onClick"], Ca = { class: "accordion__headline" }, Da = { class: "accordion__icon" }, Ta = {
|
|
1025
1025
|
key: 0,
|
|
1026
1026
|
src: "https://a.storyblok.com/f/230581/21x21/42c9c3b5ba/icon_add.svg"
|
|
1027
1027
|
}, Va = {
|
|
@@ -1033,16 +1033,10 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1033
1033
|
accordions: {}
|
|
1034
1034
|
},
|
|
1035
1035
|
setup(e) {
|
|
1036
|
-
const a =
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
const u = a.accordions.find(
|
|
1041
|
-
(n) => n._uid === l
|
|
1042
|
-
);
|
|
1043
|
-
u ? r.value = u._uid : r.value = "";
|
|
1044
|
-
}
|
|
1045
|
-
};
|
|
1036
|
+
const a = q([]), r = (l) => {
|
|
1037
|
+
const u = a.value.indexOf(l);
|
|
1038
|
+
u > -1 ? a.value.splice(u, 1) : a.value.push(l);
|
|
1039
|
+
}, i = (l) => a.value.includes(l);
|
|
1046
1040
|
return (l, u) => (o(), s("section", Ia, [
|
|
1047
1041
|
t("div", qa, [
|
|
1048
1042
|
(o(!0), s(V, null, P(l.accordions, (n) => (o(), s("div", {
|
|
@@ -1051,16 +1045,18 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1051
1045
|
t("div", La, [
|
|
1052
1046
|
t("div", {
|
|
1053
1047
|
class: "accordion__header",
|
|
1054
|
-
onClick: (_) =>
|
|
1048
|
+
onClick: (_) => r(n._uid)
|
|
1055
1049
|
}, [
|
|
1056
|
-
t("h3",
|
|
1057
|
-
t("span",
|
|
1058
|
-
n._uid
|
|
1050
|
+
t("h3", Ca, d(n.headline), 1),
|
|
1051
|
+
t("span", Da, [
|
|
1052
|
+
i(n._uid) ? (o(), s("img", Va)) : (o(), s("img", Ta))
|
|
1059
1053
|
])
|
|
1060
|
-
], 8,
|
|
1054
|
+
], 8, Aa),
|
|
1061
1055
|
t("div", {
|
|
1062
1056
|
class: m(["accordion__content", { "accordion__content--reverse": n.imageFirst }]),
|
|
1063
|
-
style: X({
|
|
1057
|
+
style: X({
|
|
1058
|
+
display: i(n._uid) ? "flex" : "none"
|
|
1059
|
+
})
|
|
1064
1060
|
}, [
|
|
1065
1061
|
t("div", Pa, [
|
|
1066
1062
|
c(l.$slots, "accordion-body", O(F({ body: n.bodytext })), void 0, !0)
|
|
@@ -1081,7 +1077,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1081
1077
|
])
|
|
1082
1078
|
]));
|
|
1083
1079
|
}
|
|
1084
|
-
}), Oa = /* @__PURE__ */ f(Ma, [["__scopeId", "data-v-
|
|
1080
|
+
}), Oa = /* @__PURE__ */ f(Ma, [["__scopeId", "data-v-8e3c34ec"]]), za = { class: "card-display__wrapper" }, Fa = {
|
|
1085
1081
|
key: 0,
|
|
1086
1082
|
class: "card__content"
|
|
1087
1083
|
}, Ha = { key: 0 }, Ra = { key: 1 }, Ea = { class: "card__cards" }, Na = /* @__PURE__ */ g({
|
|
@@ -1275,7 +1271,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1275
1271
|
], 2)
|
|
1276
1272
|
]));
|
|
1277
1273
|
}
|
|
1278
|
-
}), bo = /* @__PURE__ */ f(go, [["__scopeId", "data-v-3ef1567e"]]), yo = (e) => (H("data-v-22f9be13"), e = e(), R(), e), $o = { class: "hero__wrapper" }, ko = { class: "hero__content" }, wo = { class: "hero__top" }, So = { class: "hero__elements" }, Bo = { class: "hero__headline" }, Io = { class: "hero__link" }, qo = { class: "hero__video" }, Lo = /* @__PURE__ */ yo(() => /* @__PURE__ */ t("div", { class: "hero__gradient" }, null, -1)),
|
|
1274
|
+
}), bo = /* @__PURE__ */ f(go, [["__scopeId", "data-v-3ef1567e"]]), yo = (e) => (H("data-v-22f9be13"), e = e(), R(), e), $o = { class: "hero__wrapper" }, ko = { class: "hero__content" }, wo = { class: "hero__top" }, So = { class: "hero__elements" }, Bo = { class: "hero__headline" }, Io = { class: "hero__link" }, qo = { class: "hero__video" }, Lo = /* @__PURE__ */ yo(() => /* @__PURE__ */ t("div", { class: "hero__gradient" }, null, -1)), Ao = { class: "hero__video__video" }, Co = { class: "hero__image" }, Do = /* @__PURE__ */ g({
|
|
1279
1275
|
__name: "hero",
|
|
1280
1276
|
props: {
|
|
1281
1277
|
headline: {
|
|
@@ -1306,17 +1302,17 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1306
1302
|
]),
|
|
1307
1303
|
t("div", qo, [
|
|
1308
1304
|
Lo,
|
|
1309
|
-
t("div",
|
|
1305
|
+
t("div", Ao, [
|
|
1310
1306
|
c(a.$slots, "hero-video", {}, void 0, !0)
|
|
1311
1307
|
]),
|
|
1312
|
-
t("div",
|
|
1308
|
+
t("div", Co, [
|
|
1313
1309
|
c(a.$slots, "hero-image", {}, void 0, !0)
|
|
1314
1310
|
])
|
|
1315
1311
|
])
|
|
1316
1312
|
])
|
|
1317
1313
|
]));
|
|
1318
1314
|
}
|
|
1319
|
-
}), To = /* @__PURE__ */ f(
|
|
1315
|
+
}), To = /* @__PURE__ */ f(Do, [["__scopeId", "data-v-22f9be13"]]), Vo = { class: "image__wrapper" }, Po = { class: "image__content" }, Mo = { class: "image__image" }, Oo = { class: "image__caption" }, zo = /* @__PURE__ */ g({
|
|
1320
1316
|
inheritAttrs: !1,
|
|
1321
1317
|
__name: "image",
|
|
1322
1318
|
props: {
|
|
@@ -1385,7 +1381,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1385
1381
|
white: "",
|
|
1386
1382
|
light: "gallery__wrapper--light",
|
|
1387
1383
|
dark: "gallery__wrapper--dark mirsaic--dark"
|
|
1388
|
-
}, r = e, i =
|
|
1384
|
+
}, r = e, i = C(() => a[r.bgColor]);
|
|
1389
1385
|
return (l, u) => (o(), s("div", {
|
|
1390
1386
|
class: m(["gallery__wrapper", i.value])
|
|
1391
1387
|
}, [
|
|
@@ -1531,7 +1527,7 @@ const qe = ["aria-label"], Le = /* @__PURE__ */ g({
|
|
|
1531
1527
|
white: "micro-stories__wrapper--white",
|
|
1532
1528
|
blue: "micro-stories__wrapper--blue",
|
|
1533
1529
|
dark: "micro-stories__wrapper--dark"
|
|
1534
|
-
}, r =
|
|
1530
|
+
}, r = C(() => a[i.bgColor]), i = e;
|
|
1535
1531
|
return (l, u) => (o(), s("div", {
|
|
1536
1532
|
class: m(["micro-stories__wrapper", r.value])
|
|
1537
1533
|
}, [
|
|
@@ -1602,7 +1598,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1602
1598
|
t("div", ul, [
|
|
1603
1599
|
t("div", _l, d(e.headline), 1),
|
|
1604
1600
|
t("div", hl, [
|
|
1605
|
-
e.videoSrc !== "" ? (o(),
|
|
1601
|
+
e.videoSrc !== "" ? (o(), D(x, {
|
|
1606
1602
|
key: 0,
|
|
1607
1603
|
play: "",
|
|
1608
1604
|
"local-video": !0,
|
|
@@ -1613,7 +1609,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1613
1609
|
autoplay: "",
|
|
1614
1610
|
loop: "",
|
|
1615
1611
|
muted: ""
|
|
1616
|
-
}, null, 8, ["src", "aria-label", "poster"])) : (o(),
|
|
1612
|
+
}, null, 8, ["src", "aria-label", "poster"])) : (o(), D(I(M), { key: 1 }, {
|
|
1617
1613
|
default: y(() => [
|
|
1618
1614
|
c(a.$slots, "product-hero-image", {}, void 0, !0)
|
|
1619
1615
|
]),
|
|
@@ -1661,7 +1657,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1661
1657
|
dark: "promo__wrapper--dark",
|
|
1662
1658
|
light: "promo__wrapper--light",
|
|
1663
1659
|
default: "promo__wrapper--default"
|
|
1664
|
-
}, r = e, i =
|
|
1660
|
+
}, r = e, i = C(() => a[r.variant]);
|
|
1665
1661
|
return (l, u) => (o(), s("div", {
|
|
1666
1662
|
class: m([
|
|
1667
1663
|
"promo__wrapper",
|
|
@@ -1710,7 +1706,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1710
1706
|
l.reverse ? "promo__text--reverse" : "promo__text--default"
|
|
1711
1707
|
])
|
|
1712
1708
|
}, [
|
|
1713
|
-
l.label ? (o(),
|
|
1709
|
+
l.label ? (o(), D(Z, {
|
|
1714
1710
|
key: 0,
|
|
1715
1711
|
text: l.label,
|
|
1716
1712
|
"label-dark": l.variant === "dark"
|
|
@@ -1723,7 +1719,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1723
1719
|
}, [
|
|
1724
1720
|
c(l.$slots, "promo-headline")
|
|
1725
1721
|
], 2),
|
|
1726
|
-
l.linkType === "link" ? (o(),
|
|
1722
|
+
l.linkType === "link" ? (o(), D(T, {
|
|
1727
1723
|
key: 1,
|
|
1728
1724
|
"link-type": l.variant === "dark" ? "regular_dark" : (l.variant === "light", "regular_light"),
|
|
1729
1725
|
arrow: ""
|
|
@@ -1733,7 +1729,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1733
1729
|
]),
|
|
1734
1730
|
_: 3
|
|
1735
1731
|
}, 8, ["link-type"])) : p("", !0),
|
|
1736
|
-
l.linkType === "button" ? (o(),
|
|
1732
|
+
l.linkType === "button" ? (o(), D(T, {
|
|
1737
1733
|
key: 2,
|
|
1738
1734
|
"link-type": l.variant === "dark" ? "secondary_dark" : (l.variant === "light", "secondary")
|
|
1739
1735
|
}, {
|
|
@@ -1746,10 +1742,10 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1746
1742
|
])
|
|
1747
1743
|
], 2));
|
|
1748
1744
|
}
|
|
1749
|
-
}), $l = /* @__PURE__ */ f(yl, [["__scopeId", "data-v-df54d965"]]), kl = (e) => (H("data-v-e3cc8e27"), e = e(), R(), e), wl = { class: "quote__wrapper" }, Sl = { class: "quote__content" }, Bl = /* @__PURE__ */ kl(() => /* @__PURE__ */ t("p", { class: "quote__quote-mark" }, "“", -1)), Il = { class: "quote__quote" }, ql = { class: "quote__quote-text" }, Ll = { class: "quote__author" },
|
|
1745
|
+
}), $l = /* @__PURE__ */ f(yl, [["__scopeId", "data-v-df54d965"]]), kl = (e) => (H("data-v-e3cc8e27"), e = e(), R(), e), wl = { class: "quote__wrapper" }, Sl = { class: "quote__content" }, Bl = /* @__PURE__ */ kl(() => /* @__PURE__ */ t("p", { class: "quote__quote-mark" }, "“", -1)), Il = { class: "quote__quote" }, ql = { class: "quote__quote-text" }, Ll = { class: "quote__author" }, Al = {
|
|
1750
1746
|
key: 0,
|
|
1751
1747
|
class: "quote__image"
|
|
1752
|
-
},
|
|
1748
|
+
}, Cl = { class: "quote__text" }, Dl = { class: "quote__author-name" }, Tl = { class: "quote__author-title" }, Vl = /* @__PURE__ */ g({
|
|
1753
1749
|
__name: "quote",
|
|
1754
1750
|
props: {
|
|
1755
1751
|
quote: {
|
|
@@ -1777,7 +1773,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1777
1773
|
t("div", Il, [
|
|
1778
1774
|
t("p", ql, d(e.quote), 1),
|
|
1779
1775
|
t("div", Ll, [
|
|
1780
|
-
e.authorImage ? (o(), s("div",
|
|
1776
|
+
e.authorImage ? (o(), s("div", Al, [
|
|
1781
1777
|
B(M, null, {
|
|
1782
1778
|
default: y(() => [
|
|
1783
1779
|
c(a.$slots, "author-image", O(F({
|
|
@@ -1789,8 +1785,8 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1789
1785
|
_: 3
|
|
1790
1786
|
})
|
|
1791
1787
|
])) : p("", !0),
|
|
1792
|
-
t("div",
|
|
1793
|
-
t("p",
|
|
1788
|
+
t("div", Cl, [
|
|
1789
|
+
t("p", Dl, d(e.author), 1),
|
|
1794
1790
|
t("p", Tl, d(e.authorTitle), 1)
|
|
1795
1791
|
])
|
|
1796
1792
|
])
|
|
@@ -1824,7 +1820,7 @@ const dl = /* @__PURE__ */ f(sl, [["render", nl], ["__scopeId", "data-v-ea887d7a
|
|
|
1824
1820
|
])
|
|
1825
1821
|
}, [
|
|
1826
1822
|
t("div", Ml, [
|
|
1827
|
-
a.label ? (o(),
|
|
1823
|
+
a.label ? (o(), D(Z, {
|
|
1828
1824
|
key: 0,
|
|
1829
1825
|
text: a.label,
|
|
1830
1826
|
"label-dark": !1
|
|
@@ -2017,7 +2013,7 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2017
2013
|
])
|
|
2018
2014
|
]));
|
|
2019
2015
|
}
|
|
2020
|
-
}), Ss = /* @__PURE__ */ f(ws, [["__scopeId", "data-v-98275425"]]), Bs = { class: "not-found__wrapper" }, Is = { class: "not-found__content" }, qs = { class: "not-found__headline" }, Ls = { class: "not-found__body" },
|
|
2016
|
+
}), Ss = /* @__PURE__ */ f(ws, [["__scopeId", "data-v-98275425"]]), Bs = { class: "not-found__wrapper" }, Is = { class: "not-found__content" }, qs = { class: "not-found__headline" }, Ls = { class: "not-found__body" }, As = /* @__PURE__ */ g({
|
|
2021
2017
|
__name: "404",
|
|
2022
2018
|
props: {
|
|
2023
2019
|
headline: {
|
|
@@ -2035,7 +2031,7 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2035
2031
|
])
|
|
2036
2032
|
]));
|
|
2037
2033
|
}
|
|
2038
|
-
}),
|
|
2034
|
+
}), Cs = /* @__PURE__ */ f(As, [["__scopeId", "data-v-b829ca6c"]]), Ds = { class: "filter__wrapper" }, Ts = { class: "filter__content" }, Vs = { class: "filter__dropdowns" }, Ps = { class: "filter__chips" }, Ms = /* @__PURE__ */ g({
|
|
2039
2035
|
__name: "filter",
|
|
2040
2036
|
props: {
|
|
2041
2037
|
hasChips: {
|
|
@@ -2049,7 +2045,7 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2049
2045
|
},
|
|
2050
2046
|
emits: ["clearFilters"],
|
|
2051
2047
|
setup(e) {
|
|
2052
|
-
return (a, r) => (o(), s("div",
|
|
2048
|
+
return (a, r) => (o(), s("div", Ds, [
|
|
2053
2049
|
t("div", Ts, [
|
|
2054
2050
|
t("div", Vs, [
|
|
2055
2051
|
c(a.$slots, "filter-dropdowns")
|
|
@@ -2169,7 +2165,7 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2169
2165
|
c(a.$slots, "footer-cookie-link")
|
|
2170
2166
|
]),
|
|
2171
2167
|
a.language !== "zh" ? (o(), s("div", ii, [
|
|
2172
|
-
(o(!0), s(V, null, P(a.socialMedia, (i) => (o(),
|
|
2168
|
+
(o(!0), s(V, null, P(a.socialMedia, (i) => (o(), D(T, {
|
|
2173
2169
|
key: i.title,
|
|
2174
2170
|
underline: "false",
|
|
2175
2171
|
"link-type": "regular"
|
|
@@ -2190,7 +2186,7 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2190
2186
|
_: 2
|
|
2191
2187
|
}, 1024))), 128))
|
|
2192
2188
|
])) : (o(), s("div", ni, [
|
|
2193
|
-
(o(!0), s(V, null, P(a.socialMediaChina, (i) => (o(),
|
|
2189
|
+
(o(!0), s(V, null, P(a.socialMediaChina, (i) => (o(), D(T, {
|
|
2194
2190
|
key: i.title,
|
|
2195
2191
|
underline: "false",
|
|
2196
2192
|
"link-type": "regular"
|
|
@@ -2242,20 +2238,20 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2242
2238
|
height: "15"
|
|
2243
2239
|
}, null, -1)), Si = [
|
|
2244
2240
|
wi
|
|
2245
|
-
], Bi = { class: "portal-switcher-content" }, Ii = { class: "portal-switcher-links" }, qi = ["href"], Li = ["src"],
|
|
2241
|
+
], Bi = { class: "portal-switcher-content" }, Ii = { class: "portal-switcher-links" }, qi = ["href"], Li = ["src"], Ai = {
|
|
2246
2242
|
key: 3,
|
|
2247
2243
|
id: "menu-profile-dropdown",
|
|
2248
2244
|
class: "profile-dropdown-wrapper"
|
|
2249
|
-
},
|
|
2245
|
+
}, Ci = {
|
|
2250
2246
|
key: 0,
|
|
2251
2247
|
class: "profile-dropdown-sign-in"
|
|
2252
|
-
},
|
|
2248
|
+
}, Di = /* @__PURE__ */ ge(() => /* @__PURE__ */ t("img", {
|
|
2253
2249
|
src: "https://a.storyblok.com/f/230581/15x14/3b3253dd12/icon-user.svg?cv=1712916615014",
|
|
2254
2250
|
alt: "profiledropdownicon",
|
|
2255
2251
|
width: "15",
|
|
2256
2252
|
height: "15"
|
|
2257
2253
|
}, null, -1)), Ti = [
|
|
2258
|
-
|
|
2254
|
+
Di
|
|
2259
2255
|
], Vi = { class: "profile-dropdown-content" }, Pi = { class: "mobile-logo-search-burger-wrapper" }, Mi = { class: "mobile-mir-link-logo" }, Oi = {
|
|
2260
2256
|
key: 0,
|
|
2261
2257
|
class: "mobile-search-wrapper"
|
|
@@ -2430,8 +2426,8 @@ const Gl = /* @__PURE__ */ f(Rl, [["render", Ul], ["__scopeId", "data-v-449f3040
|
|
|
2430
2426
|
[Q, I(b)]
|
|
2431
2427
|
])
|
|
2432
2428
|
])) : p("", !0),
|
|
2433
|
-
e.useProfileDropdown ? (o(), s("div",
|
|
2434
|
-
I(k) ? p("", !0) : (o(), s("div",
|
|
2429
|
+
e.useProfileDropdown ? (o(), s("div", Ai, [
|
|
2430
|
+
I(k) ? p("", !0) : (o(), s("div", Ci, [
|
|
2435
2431
|
c($.$slots, "profile-dropdown-sign-in", {}, void 0, !0)
|
|
2436
2432
|
])),
|
|
2437
2433
|
I(k) ? (o(), s("button", {
|
|
@@ -2577,7 +2573,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2577
2573
|
function n() {
|
|
2578
2574
|
r.value = !1;
|
|
2579
2575
|
}
|
|
2580
|
-
const _ =
|
|
2576
|
+
const _ = C(() => i.options.length > 8);
|
|
2581
2577
|
return (b, v) => {
|
|
2582
2578
|
const k = ue("click-outside");
|
|
2583
2579
|
return K((o(), s("div", lr, [
|
|
@@ -2594,7 +2590,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2594
2590
|
t("div", {
|
|
2595
2591
|
class: m([{ hidden: !r.value, "adjust-height": _.value }, "dropdown-content"])
|
|
2596
2592
|
}, [
|
|
2597
|
-
(o(!0), s(V, null, P(b.options, (w) => (o(),
|
|
2593
|
+
(o(!0), s(V, null, P(b.options, (w) => (o(), D(I(me), {
|
|
2598
2594
|
id: w.value,
|
|
2599
2595
|
key: w.value,
|
|
2600
2596
|
name: w.text,
|
|
@@ -2633,7 +2629,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2633
2629
|
dark: "promo__wrapper--dark",
|
|
2634
2630
|
light: "promo__wrapper--light",
|
|
2635
2631
|
default: "promo__wrapper--default"
|
|
2636
|
-
}, r = e, i =
|
|
2632
|
+
}, r = e, i = C(() => a[r.variant]);
|
|
2637
2633
|
return (l, u) => (o(), s("div", {
|
|
2638
2634
|
class: m([
|
|
2639
2635
|
"promo__wrapper",
|
|
@@ -2667,7 +2663,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2667
2663
|
l.reverse ? "promo__text--reverse" : "promo__text--default"
|
|
2668
2664
|
])
|
|
2669
2665
|
}, [
|
|
2670
|
-
l.label ? (o(),
|
|
2666
|
+
l.label ? (o(), D(Z, {
|
|
2671
2667
|
key: 0,
|
|
2672
2668
|
text: l.label,
|
|
2673
2669
|
"label-dark": l.variant === "dark"
|
|
@@ -2680,7 +2676,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2680
2676
|
}, [
|
|
2681
2677
|
c(l.$slots, "promo-text")
|
|
2682
2678
|
], 2),
|
|
2683
|
-
l.linkType === "link" ? (o(),
|
|
2679
|
+
l.linkType === "link" ? (o(), D(T, {
|
|
2684
2680
|
key: 1,
|
|
2685
2681
|
"link-type": l.variant === "dark" ? "regular_dark" : (l.variant === "light", "regular_light"),
|
|
2686
2682
|
arrow: ""
|
|
@@ -2690,7 +2686,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2690
2686
|
]),
|
|
2691
2687
|
_: 3
|
|
2692
2688
|
}, 8, ["link-type"])) : p("", !0),
|
|
2693
|
-
l.linkType === "button" ? (o(),
|
|
2689
|
+
l.linkType === "button" ? (o(), D(T, {
|
|
2694
2690
|
key: 2,
|
|
2695
2691
|
"link-type": l.variant === "dark" ? "secondary_dark" : (l.variant === "light", "secondary")
|
|
2696
2692
|
}, {
|
|
@@ -2705,7 +2701,7 @@ const or = /* @__PURE__ */ f(er, [["render", ar], ["__scopeId", "data-v-c07a6cf3
|
|
|
2705
2701
|
}
|
|
2706
2702
|
}), mr = /* @__PURE__ */ f(pr, [["__scopeId", "data-v-00c0bad3"]]), fr = {
|
|
2707
2703
|
install: (e) => {
|
|
2708
|
-
e.component("AtomButton", oe), e.component("AtomCheckbox", me), e.component("AtomChip", Fe), e.component("AtomDropdown", Ge), e.component("AtomImage", M), e.component("AtomLabel", Z), e.component("AtomLink", T), e.component("AtomRadioButton", lt), e.component("AtomSelect", ct), e.component("AtomSelectMultiple", rr), e.component("AtomSlider", $t), e.component("AtomTextarea",
|
|
2704
|
+
e.component("AtomButton", oe), e.component("AtomCheckbox", me), e.component("AtomChip", Fe), e.component("AtomDropdown", Ge), e.component("AtomImage", M), e.component("AtomLabel", Z), e.component("AtomLink", T), e.component("AtomRadioButton", lt), e.component("AtomSelect", ct), e.component("AtomSelectMultiple", rr), e.component("AtomSlider", $t), e.component("AtomTextarea", At), e.component("AtomTextField", Rt), e.component("AtomVideo", x), e.component("MoleculeAddress", aa), e.component("MoleculeBulletList", ra), e.component("MoleculeCard", _a), e.component("MoleculeEventCard", ya), e.component("MoleculeModal", ve), e.component("MoleculeTextCard", Ba), e.component("BlockAccordion", Oa), e.component("BlockFacts", Xa), e.component("BlockFeatures", io), e.component("BlockFormScript", mo), e.component("BlockHeadline", bo), e.component("BlockHero", To), e.component("BlockImage", Fo), e.component("BlockImageGallery", Ko), e.component("BlockLogoWall", xo), e.component("BlockMicroStories", ll), e.component("BlockPolicy", dl), e.component("BlockProductHero", gl), e.component("BlockPromo", $l), e.component("BlockQuote", Pl), e.component("BlockRichText", Hl), e.component("BlockRichTextColumns", Gl), e.component("BlockTimeline", as), e.component("BlockCardDisplay", ja), e.component("BlockVimeo", ns), e.component("BlockPalletJack", mr), e.component("BlockFrontPageHero", Ss), e.component("Organism404", Cs), e.component("OrganismFilter", Os), e.component("OrganismFooter", ui), e.component("OrganismHeader", Ni), e.component("OrganismLanguageSwitcher", Yi), e.component("OrganismPagination", xi), e.component("OrganismSearch", or);
|
|
2709
2705
|
}
|
|
2710
2706
|
};
|
|
2711
2707
|
export {
|
|
@@ -2721,7 +2717,7 @@ export {
|
|
|
2721
2717
|
rr as AtomSelectMultiple,
|
|
2722
2718
|
$t as AtomSlider,
|
|
2723
2719
|
Rt as AtomTextField,
|
|
2724
|
-
|
|
2720
|
+
At as AtomTextarea,
|
|
2725
2721
|
x as AtomVideo,
|
|
2726
2722
|
Oa as BlockAccordion,
|
|
2727
2723
|
ja as BlockCardDisplay,
|
|
@@ -2750,7 +2746,7 @@ export {
|
|
|
2750
2746
|
ya as MoleculeEventCard,
|
|
2751
2747
|
ve as MoleculeModal,
|
|
2752
2748
|
Ba as MoleculeTextCard,
|
|
2753
|
-
|
|
2749
|
+
Cs as Organism404,
|
|
2754
2750
|
Os as OrganismFilter,
|
|
2755
2751
|
ui as OrganismFooter,
|
|
2756
2752
|
Ni as OrganismHeader,
|