@leabankab/component-library 8.12.0 → 8.12.1
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/CHANGELOG.md +7 -0
- package/dist/component-library.es.js +8 -8
- package/dist/component-library.es.js.map +1 -1
- package/dist/component-library.umd.js +2 -2
- package/dist/component-library.umd.js.map +1 -1
- package/dist/cookie-consent-react.cjs +1 -1
- package/dist/cookie-consent-react.cjs.map +1 -1
- package/dist/cookie-consent-react.mjs +8 -8
- package/dist/cookie-consent-react.mjs.map +1 -1
- package/dist/cookie-consent.css +1 -1
- package/dist/index.css +1 -1
- package/dist/website/arrow-reveal-link.d.ts +11 -4
- package/dist/website/side-nav/side-nav.d.ts +5 -2
- package/dist/website.cjs +1 -1
- package/dist/website.cjs.map +1 -1
- package/dist/website.css +1 -1
- package/dist/website.mjs +84 -65
- package/dist/website.mjs.map +1 -1
- package/package.json +1 -1
package/dist/website.mjs
CHANGED
|
@@ -1025,19 +1025,20 @@ function Xe({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
1027
|
var Ze = {
|
|
1028
|
-
ArrowRevealLink: "
|
|
1029
|
-
Arrow: "
|
|
1030
|
-
Text: "
|
|
1028
|
+
ArrowRevealLink: "_ArrowRevealLink_zq26l_2",
|
|
1029
|
+
Arrow: "_Arrow_zq26l_2",
|
|
1030
|
+
Text: "_Text_zq26l_40"
|
|
1031
1031
|
};
|
|
1032
1032
|
//#endregion
|
|
1033
1033
|
//#region src/website/arrow-reveal-link.tsx
|
|
1034
|
-
function G({ render: n, className: r, children: i, size: a = "md",
|
|
1034
|
+
function G({ render: n, className: r, children: i, size: a = "md", marked: o = !1, ...s }) {
|
|
1035
1035
|
return e({
|
|
1036
1036
|
render: n,
|
|
1037
1037
|
defaultTagName: "a",
|
|
1038
1038
|
props: {
|
|
1039
|
-
...
|
|
1039
|
+
...s,
|
|
1040
1040
|
"data-size": a === "md" ? void 0 : a,
|
|
1041
|
+
"data-marked": o ? "" : void 0,
|
|
1041
1042
|
className: N(Ze.ArrowRevealLink, r)({}),
|
|
1042
1043
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
1043
1044
|
"aria-hidden": !0,
|
|
@@ -1064,8 +1065,15 @@ var K = {
|
|
|
1064
1065
|
//#endregion
|
|
1065
1066
|
//#region src/website/side-nav/side-nav.tsx
|
|
1066
1067
|
function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
|
|
1067
|
-
let o = Qe();
|
|
1068
|
-
|
|
1068
|
+
let o = Qe(), s = e.findIndex((e) => e.current), [c, l] = T(null);
|
|
1069
|
+
c && c.from !== s && l(null);
|
|
1070
|
+
let u = c?.index ?? s;
|
|
1071
|
+
return S(() => {
|
|
1072
|
+
let e = (e) => {
|
|
1073
|
+
e.persisted && l(null);
|
|
1074
|
+
};
|
|
1075
|
+
return window.addEventListener("pageshow", e), () => window.removeEventListener("pageshow", e);
|
|
1076
|
+
}, []), /* @__PURE__ */ m("div", {
|
|
1069
1077
|
...a,
|
|
1070
1078
|
className: [K.SideNav, i].filter(Boolean).join(" "),
|
|
1071
1079
|
children: [/* @__PURE__ */ p("nav", {
|
|
@@ -1078,6 +1086,13 @@ function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...
|
|
|
1078
1086
|
href: e.href,
|
|
1079
1087
|
render: e.render,
|
|
1080
1088
|
"aria-current": e.current ? "page" : void 0,
|
|
1089
|
+
marked: t === u,
|
|
1090
|
+
onClick: (e) => {
|
|
1091
|
+
et(e) && l({
|
|
1092
|
+
index: t,
|
|
1093
|
+
from: s
|
|
1094
|
+
});
|
|
1095
|
+
},
|
|
1081
1096
|
children: e.label
|
|
1082
1097
|
}) }, t))
|
|
1083
1098
|
})
|
|
@@ -1088,9 +1103,13 @@ function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...
|
|
|
1088
1103
|
})]
|
|
1089
1104
|
});
|
|
1090
1105
|
}
|
|
1106
|
+
function et(e) {
|
|
1107
|
+
let t = e.currentTarget, n = t.getAttribute("target");
|
|
1108
|
+
return !e.defaultPrevented && e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && (!n || n === "_self") && !t.hasAttribute("download");
|
|
1109
|
+
}
|
|
1091
1110
|
//#endregion
|
|
1092
1111
|
//#region src/website/site-footer/flags.tsx
|
|
1093
|
-
var
|
|
1112
|
+
var tt = "M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z", nt = "M19.9154 8.69625H7.82613H7.82609V0.238281C6.90195 0.443203 6.02582 0.775352 5.21738 1.21648V8.69617V8.69621H0.0846484C0.0289844 9.1232 0 9.55852 0 10.0006C0 10.4427 0.0289844 10.878 0.0846484 11.3049H5.21734H5.21738V18.7846C6.02582 19.2257 6.90195 19.558 7.82609 19.7629V11.305V11.305H19.9154C19.9709 10.878 20 10.4427 20 10.0006C20 9.55852 19.9709 9.1232 19.9154 8.69625V8.69625Z";
|
|
1094
1113
|
function q({ children: e, ...t }) {
|
|
1095
1114
|
return /* @__PURE__ */ p("svg", {
|
|
1096
1115
|
width: "20",
|
|
@@ -1103,12 +1122,12 @@ function q({ children: e, ...t }) {
|
|
|
1103
1122
|
children: e
|
|
1104
1123
|
});
|
|
1105
1124
|
}
|
|
1106
|
-
function
|
|
1125
|
+
function rt(e) {
|
|
1107
1126
|
return /* @__PURE__ */ m(q, {
|
|
1108
1127
|
...e,
|
|
1109
1128
|
children: [
|
|
1110
1129
|
/* @__PURE__ */ p("path", {
|
|
1111
|
-
d:
|
|
1130
|
+
d: tt,
|
|
1112
1131
|
fill: "#F0F0F0"
|
|
1113
1132
|
}),
|
|
1114
1133
|
/* @__PURE__ */ p("path", {
|
|
@@ -1128,18 +1147,18 @@ function nt(e) {
|
|
|
1128
1147
|
fill: "#D80027"
|
|
1129
1148
|
}),
|
|
1130
1149
|
/* @__PURE__ */ p("path", {
|
|
1131
|
-
d:
|
|
1150
|
+
d: nt,
|
|
1132
1151
|
fill: "#0052B4"
|
|
1133
1152
|
})
|
|
1134
1153
|
]
|
|
1135
1154
|
});
|
|
1136
1155
|
}
|
|
1137
|
-
function
|
|
1156
|
+
function it(e) {
|
|
1138
1157
|
return /* @__PURE__ */ m(q, {
|
|
1139
1158
|
...e,
|
|
1140
1159
|
children: [
|
|
1141
1160
|
/* @__PURE__ */ p("path", {
|
|
1142
|
-
d:
|
|
1161
|
+
d: tt,
|
|
1143
1162
|
fill: "#FFDA44"
|
|
1144
1163
|
}),
|
|
1145
1164
|
/* @__PURE__ */ p("path", {
|
|
@@ -1161,19 +1180,19 @@ function rt(e) {
|
|
|
1161
1180
|
]
|
|
1162
1181
|
});
|
|
1163
1182
|
}
|
|
1164
|
-
function
|
|
1183
|
+
function at(e) {
|
|
1165
1184
|
return /* @__PURE__ */ m(q, {
|
|
1166
1185
|
...e,
|
|
1167
1186
|
children: [/* @__PURE__ */ p("path", {
|
|
1168
|
-
d:
|
|
1187
|
+
d: tt,
|
|
1169
1188
|
fill: "#F0F0F0"
|
|
1170
1189
|
}), /* @__PURE__ */ p("path", {
|
|
1171
|
-
d:
|
|
1190
|
+
d: nt,
|
|
1172
1191
|
fill: "#0052B4"
|
|
1173
1192
|
})]
|
|
1174
1193
|
});
|
|
1175
1194
|
}
|
|
1176
|
-
function
|
|
1195
|
+
function ot(e) {
|
|
1177
1196
|
return /* @__PURE__ */ m(q, {
|
|
1178
1197
|
...e,
|
|
1179
1198
|
children: [
|
|
@@ -1204,7 +1223,7 @@ function J({ href: t, render: n, ...r }) {
|
|
|
1204
1223
|
}
|
|
1205
1224
|
});
|
|
1206
1225
|
}
|
|
1207
|
-
var
|
|
1226
|
+
var st = (e) => e.groups != null && e.groups.length > 0, ct = (e) => e.href != null || e.render != null, Y = {
|
|
1208
1227
|
SiteFooter: "_SiteFooter_o2ixe_7",
|
|
1209
1228
|
Content: "_Content_o2ixe_23",
|
|
1210
1229
|
Main: "_Main_o2ixe_32",
|
|
@@ -1220,7 +1239,7 @@ var ot = (e) => e.groups != null && e.groups.length > 0, st = (e) => e.href != n
|
|
|
1220
1239
|
Divider: "_Divider_o2ixe_165",
|
|
1221
1240
|
CookieSettings: "_CookieSettings_o2ixe_176",
|
|
1222
1241
|
Copyright: "_Copyright_o2ixe_192"
|
|
1223
|
-
},
|
|
1242
|
+
}, lt = O({
|
|
1224
1243
|
market: {
|
|
1225
1244
|
no: "Marked",
|
|
1226
1245
|
se: "Marknad",
|
|
@@ -1245,7 +1264,7 @@ var ot = (e) => e.groups != null && e.groups.length > 0, st = (e) => e.href != n
|
|
|
1245
1264
|
fi: "fi",
|
|
1246
1265
|
es: "es"
|
|
1247
1266
|
}
|
|
1248
|
-
}),
|
|
1267
|
+
}), ut = O({
|
|
1249
1268
|
navigation: {
|
|
1250
1269
|
no: "Hovedmeny",
|
|
1251
1270
|
se: "Huvudmeny",
|
|
@@ -1270,30 +1289,30 @@ var ot = (e) => e.groups != null && e.groups.length > 0, st = (e) => e.href != n
|
|
|
1270
1289
|
fi: "Lea Bank, etusivu",
|
|
1271
1290
|
es: "Lea Bank, página de inicio"
|
|
1272
1291
|
}
|
|
1273
|
-
}),
|
|
1292
|
+
}), dt = {
|
|
1274
1293
|
no: {
|
|
1275
1294
|
name: "Norge",
|
|
1276
|
-
flag: /* @__PURE__ */ p(
|
|
1295
|
+
flag: /* @__PURE__ */ p(rt, {})
|
|
1277
1296
|
},
|
|
1278
1297
|
se: {
|
|
1279
1298
|
name: "Sverige",
|
|
1280
|
-
flag: /* @__PURE__ */ p(
|
|
1299
|
+
flag: /* @__PURE__ */ p(it, {})
|
|
1281
1300
|
},
|
|
1282
1301
|
fi: {
|
|
1283
1302
|
name: "Suomi",
|
|
1284
|
-
flag: /* @__PURE__ */ p(
|
|
1303
|
+
flag: /* @__PURE__ */ p(at, {})
|
|
1285
1304
|
},
|
|
1286
1305
|
es: {
|
|
1287
1306
|
name: "España",
|
|
1288
|
-
flag: /* @__PURE__ */ p(
|
|
1307
|
+
flag: /* @__PURE__ */ p(ot, {})
|
|
1289
1308
|
}
|
|
1290
|
-
},
|
|
1309
|
+
}, ft = [
|
|
1291
1310
|
"no",
|
|
1292
1311
|
"se",
|
|
1293
1312
|
"fi",
|
|
1294
1313
|
"es"
|
|
1295
1314
|
];
|
|
1296
|
-
function
|
|
1315
|
+
function pt({ render: t, id: n, children: r }) {
|
|
1297
1316
|
return e({
|
|
1298
1317
|
render: t,
|
|
1299
1318
|
defaultTagName: "h2",
|
|
@@ -1304,16 +1323,16 @@ function ft({ render: t, id: n, children: r }) {
|
|
|
1304
1323
|
}
|
|
1305
1324
|
});
|
|
1306
1325
|
}
|
|
1307
|
-
function
|
|
1308
|
-
let n =
|
|
1326
|
+
function mt({ market: e, render: t }) {
|
|
1327
|
+
let n = lt(), r = C(), i = e.options ?? ft, a = ee(() => {
|
|
1309
1328
|
let e = new Intl.Collator(n.collation, { sensitivity: "base" });
|
|
1310
|
-
return [...i].sort((t, n) => e.compare(
|
|
1329
|
+
return [...i].sort((t, n) => e.compare(dt[t].name, dt[n].name)).map((e) => ({
|
|
1311
1330
|
value: e,
|
|
1312
|
-
label:
|
|
1313
|
-
icon:
|
|
1331
|
+
label: dt[e].name,
|
|
1332
|
+
icon: dt[e].flag
|
|
1314
1333
|
}));
|
|
1315
1334
|
}, [i, n.collation]);
|
|
1316
|
-
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
1335
|
+
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(pt, {
|
|
1317
1336
|
render: t,
|
|
1318
1337
|
id: r,
|
|
1319
1338
|
children: e.title ?? n.market
|
|
@@ -1326,8 +1345,8 @@ function pt({ market: e, render: t }) {
|
|
|
1326
1345
|
className: Y.Market
|
|
1327
1346
|
})] });
|
|
1328
1347
|
}
|
|
1329
|
-
function
|
|
1330
|
-
let u =
|
|
1348
|
+
function ht({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onOpenCookieSettings: a, copyright: o, titleRender: s, className: c, ...l }) {
|
|
1349
|
+
let u = lt(), d = ut(), h = a != null || o != null;
|
|
1331
1350
|
return /* @__PURE__ */ p("footer", {
|
|
1332
1351
|
...l,
|
|
1333
1352
|
className: [Y.SiteFooter, c].filter(Boolean).join(" "),
|
|
@@ -1345,7 +1364,7 @@ function mt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onO
|
|
|
1345
1364
|
className: Y.Columns,
|
|
1346
1365
|
children: [n.map((e, t) => /* @__PURE__ */ m("div", {
|
|
1347
1366
|
className: Y.Column,
|
|
1348
|
-
children: [/* @__PURE__ */ p(
|
|
1367
|
+
children: [/* @__PURE__ */ p(pt, {
|
|
1349
1368
|
render: s,
|
|
1350
1369
|
children: e.title
|
|
1351
1370
|
}), e.links.length > 0 && /* @__PURE__ */ p("ul", {
|
|
@@ -1359,10 +1378,10 @@ function mt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onO
|
|
|
1359
1378
|
})]
|
|
1360
1379
|
}, t)), (r != null || i != null) && /* @__PURE__ */ m("div", {
|
|
1361
1380
|
className: Y.Column,
|
|
1362
|
-
children: [r != null && /* @__PURE__ */ p(
|
|
1381
|
+
children: [r != null && /* @__PURE__ */ p(mt, {
|
|
1363
1382
|
market: r,
|
|
1364
1383
|
render: s
|
|
1365
|
-
}), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
1384
|
+
}), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(pt, {
|
|
1366
1385
|
render: s,
|
|
1367
1386
|
children: i.title ?? u.social
|
|
1368
1387
|
}), /* @__PURE__ */ p("ul", {
|
|
@@ -1434,8 +1453,8 @@ var X = {
|
|
|
1434
1453
|
SubmenuPanel: "_SubmenuPanel_dcn2t_556",
|
|
1435
1454
|
Submenu: "_Submenu_dcn2t_556",
|
|
1436
1455
|
Parent: "_Parent_dcn2t_577"
|
|
1437
|
-
},
|
|
1438
|
-
function
|
|
1456
|
+
}, gt = "(min-width: 1312px)";
|
|
1457
|
+
function _t({ item: e, open: t, onOpenChange: i }) {
|
|
1439
1458
|
let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
|
|
1440
1459
|
return /* @__PURE__ */ m(ue.Root, {
|
|
1441
1460
|
open: t,
|
|
@@ -1451,9 +1470,9 @@ function gt({ item: e, open: t, onOpenChange: i }) {
|
|
|
1451
1470
|
children: /* @__PURE__ */ m("div", {
|
|
1452
1471
|
className: X.Submenu,
|
|
1453
1472
|
children: [
|
|
1454
|
-
(
|
|
1473
|
+
(ct(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
|
|
1455
1474
|
className: X.Links,
|
|
1456
|
-
children: [
|
|
1475
|
+
children: [ct(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
|
|
1457
1476
|
className: X.Parent,
|
|
1458
1477
|
href: e.href,
|
|
1459
1478
|
render: e.render,
|
|
@@ -1482,13 +1501,13 @@ function gt({ item: e, open: t, onOpenChange: i }) {
|
|
|
1482
1501
|
})]
|
|
1483
1502
|
});
|
|
1484
1503
|
}
|
|
1485
|
-
function
|
|
1486
|
-
let t =
|
|
1504
|
+
function vt({ items: e }) {
|
|
1505
|
+
let t = ut(), [n, r] = T(null);
|
|
1487
1506
|
return /* @__PURE__ */ p("nav", {
|
|
1488
1507
|
"aria-label": t.navigation,
|
|
1489
1508
|
children: /* @__PURE__ */ p("ul", {
|
|
1490
1509
|
className: X.MenuList,
|
|
1491
|
-
children: e.map((e, t) => /* @__PURE__ */ p("li", { children:
|
|
1510
|
+
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: st(e) ? /* @__PURE__ */ p(_t, {
|
|
1492
1511
|
item: e,
|
|
1493
1512
|
open: n === t,
|
|
1494
1513
|
onOpenChange: (e) => r(e ? t : null)
|
|
@@ -1501,11 +1520,11 @@ function _t({ items: e }) {
|
|
|
1501
1520
|
})
|
|
1502
1521
|
});
|
|
1503
1522
|
}
|
|
1504
|
-
function
|
|
1505
|
-
let r =
|
|
1523
|
+
function yt({ items: e, home: t, account: n }) {
|
|
1524
|
+
let r = ut(), [i, a] = T(!1);
|
|
1506
1525
|
return S(() => {
|
|
1507
1526
|
if (!i) return;
|
|
1508
|
-
let e = window.matchMedia(
|
|
1527
|
+
let e = window.matchMedia(gt), t = () => {
|
|
1509
1528
|
e.matches && a(!1);
|
|
1510
1529
|
};
|
|
1511
1530
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
@@ -1547,7 +1566,7 @@ function vt({ items: e, home: t, account: n }) {
|
|
|
1547
1566
|
}), /* @__PURE__ */ p(re, { size: "sm" })]
|
|
1548
1567
|
}), /* @__PURE__ */ p(A.Content, {
|
|
1549
1568
|
className: X.MenuContent,
|
|
1550
|
-
children: /* @__PURE__ */ p(
|
|
1569
|
+
children: /* @__PURE__ */ p(vt, { items: e })
|
|
1551
1570
|
})]
|
|
1552
1571
|
})
|
|
1553
1572
|
})] })]
|
|
@@ -1555,7 +1574,7 @@ function vt({ items: e, home: t, account: n }) {
|
|
|
1555
1574
|
}
|
|
1556
1575
|
//#endregion
|
|
1557
1576
|
//#region src/website/site-header/site-header.tsx
|
|
1558
|
-
function
|
|
1577
|
+
function bt({ group: e }) {
|
|
1559
1578
|
let t = C(), r = e.title != null, i = e.links.length > 0;
|
|
1560
1579
|
return /* @__PURE__ */ m("div", {
|
|
1561
1580
|
className: X.Group,
|
|
@@ -1594,13 +1613,13 @@ function yt({ group: e }) {
|
|
|
1594
1613
|
]
|
|
1595
1614
|
});
|
|
1596
1615
|
}
|
|
1597
|
-
function
|
|
1616
|
+
function xt({ item: e, value: t, end: n, onFocus: i }) {
|
|
1598
1617
|
return /* @__PURE__ */ p(k.Item, {
|
|
1599
1618
|
value: t,
|
|
1600
1619
|
className: X.Item,
|
|
1601
1620
|
"data-end": n || void 0,
|
|
1602
1621
|
onFocus: () => i(t),
|
|
1603
|
-
children:
|
|
1622
|
+
children: st(e) ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(k.Trigger, {
|
|
1604
1623
|
className: X.Pill,
|
|
1605
1624
|
children: [e.label, /* @__PURE__ */ p(k.Icon, {
|
|
1606
1625
|
className: X.Chevron,
|
|
@@ -1609,7 +1628,7 @@ function bt({ item: e, value: t, end: n, onFocus: i }) {
|
|
|
1609
1628
|
}), /* @__PURE__ */ p(k.Content, {
|
|
1610
1629
|
keepMounted: !0,
|
|
1611
1630
|
className: X.Content,
|
|
1612
|
-
children: e.groups.map((e, t) => /* @__PURE__ */ p(
|
|
1631
|
+
children: e.groups.map((e, t) => /* @__PURE__ */ p(bt, { group: e }, t))
|
|
1613
1632
|
})] }) : /* @__PURE__ */ p(k.Link, {
|
|
1614
1633
|
closeOnClick: !0,
|
|
1615
1634
|
className: X.Pill,
|
|
@@ -1619,8 +1638,8 @@ function bt({ item: e, value: t, end: n, onFocus: i }) {
|
|
|
1619
1638
|
})
|
|
1620
1639
|
});
|
|
1621
1640
|
}
|
|
1622
|
-
function
|
|
1623
|
-
let l =
|
|
1641
|
+
function St({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, action: a, className: s, ...c }) {
|
|
1642
|
+
let l = ut(), [u, d] = T(null), f = (e) => {
|
|
1624
1643
|
u != null && u !== e && d(null);
|
|
1625
1644
|
}, h = /* @__PURE__ */ p(J, {
|
|
1626
1645
|
href: t == null ? "/" : void 0,
|
|
@@ -1643,7 +1662,7 @@ function xt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
|
|
|
1643
1662
|
children: /* @__PURE__ */ m("div", {
|
|
1644
1663
|
className: X.BarContent,
|
|
1645
1664
|
children: [
|
|
1646
|
-
/* @__PURE__ */ p(
|
|
1665
|
+
/* @__PURE__ */ p(yt, {
|
|
1647
1666
|
items: [...n, ...r],
|
|
1648
1667
|
home: h,
|
|
1649
1668
|
account: g
|
|
@@ -1657,7 +1676,7 @@ function xt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
|
|
|
1657
1676
|
onValueChange: d,
|
|
1658
1677
|
children: [/* @__PURE__ */ p(k.List, {
|
|
1659
1678
|
className: X.List,
|
|
1660
|
-
children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(
|
|
1679
|
+
children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(xt, {
|
|
1661
1680
|
item: e,
|
|
1662
1681
|
value: `item-${t}`,
|
|
1663
1682
|
end: r.length > 0 && t === n.length,
|
|
@@ -1701,7 +1720,7 @@ var Z = {
|
|
|
1701
1720
|
};
|
|
1702
1721
|
//#endregion
|
|
1703
1722
|
//#region src/website/split-content/split-content.tsx
|
|
1704
|
-
function
|
|
1723
|
+
function Ct({ title: t, titleRender: n, text: r, src: i, alt: a, imageRender: o, imagePosition: s = "end", action: c, priceExample: l, render: u, ref: d, className: h, ...g }) {
|
|
1705
1724
|
let _ = e({
|
|
1706
1725
|
render: n,
|
|
1707
1726
|
defaultTagName: "h2",
|
|
@@ -1764,7 +1783,7 @@ var Q = {
|
|
|
1764
1783
|
};
|
|
1765
1784
|
//#endregion
|
|
1766
1785
|
//#region src/website/stats/stats.tsx
|
|
1767
|
-
function
|
|
1786
|
+
function wt({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
1768
1787
|
return e({
|
|
1769
1788
|
render: o,
|
|
1770
1789
|
ref: s,
|
|
@@ -1779,7 +1798,7 @@ function Ct({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
|
|
|
1779
1798
|
children: [n.map((e, t) => /* @__PURE__ */ m(g, { children: [/* @__PURE__ */ p("li", {
|
|
1780
1799
|
"aria-hidden": !0,
|
|
1781
1800
|
className: Q.Bar
|
|
1782
|
-
}), /* @__PURE__ */ p(
|
|
1801
|
+
}), /* @__PURE__ */ p(Tt, {
|
|
1783
1802
|
...e,
|
|
1784
1803
|
titleRender: r
|
|
1785
1804
|
})] }, t)), /* @__PURE__ */ p("li", {
|
|
@@ -1798,7 +1817,7 @@ function Ct({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
|
|
|
1798
1817
|
}
|
|
1799
1818
|
});
|
|
1800
1819
|
}
|
|
1801
|
-
function
|
|
1820
|
+
function Tt({ number: t, title: n, text: r, titleRender: i }) {
|
|
1802
1821
|
let a = e({
|
|
1803
1822
|
enabled: n != null,
|
|
1804
1823
|
render: i,
|
|
@@ -1837,7 +1856,7 @@ var $ = {
|
|
|
1837
1856
|
DialogPopup: "_DialogPopup_13hpt_143",
|
|
1838
1857
|
DialogVideo: "_DialogVideo_13hpt_149",
|
|
1839
1858
|
Close: "_Close_13hpt_157"
|
|
1840
|
-
},
|
|
1859
|
+
}, Et = O({
|
|
1841
1860
|
reviews: {
|
|
1842
1861
|
no: "Kundeomtaler",
|
|
1843
1862
|
se: "Kundomdömen",
|
|
@@ -1877,8 +1896,8 @@ var $ = {
|
|
|
1877
1896
|
});
|
|
1878
1897
|
//#endregion
|
|
1879
1898
|
//#region src/website/testimonials/testimonials.tsx
|
|
1880
|
-
function
|
|
1881
|
-
let w =
|
|
1899
|
+
function Dt({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o, rating: s, videoSrc: c, videoPoster: u, videoCaptions: g, videoPosition: v = "start", render: y, ref: b, className: x, children: S, ...ee }) {
|
|
1900
|
+
let w = Et(), T = C(), te = i != null || a != null, ne = h.toArray(S).length > 0;
|
|
1882
1901
|
return e({
|
|
1883
1902
|
render: y,
|
|
1884
1903
|
ref: b,
|
|
@@ -1974,6 +1993,6 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1974
1993
|
});
|
|
1975
1994
|
}
|
|
1976
1995
|
//#endregion
|
|
1977
|
-
export { fe as AlertBanner, _e as BrandLetters, ve as Calculator, Ee as Carousel, De as CtaBanner, Fe as ExpandingCards, Ie as ExpandingCardsItem, Le as Hero, Re as HeroServiceGrid, ze as NavigationGrid, Ve as PartnerList, He as PaymentFeature, We as PromoGrid, qe as Section, Je as SectionHeader, Xe as ServiceCardGrid, $e as SideNav,
|
|
1996
|
+
export { fe as AlertBanner, _e as BrandLetters, ve as Calculator, Ee as Carousel, De as CtaBanner, Fe as ExpandingCards, Ie as ExpandingCardsItem, Le as Hero, Re as HeroServiceGrid, ze as NavigationGrid, Ve as PartnerList, He as PaymentFeature, We as PromoGrid, qe as Section, Je as SectionHeader, Xe as ServiceCardGrid, $e as SideNav, ht as SiteFooter, St as SiteHeader, Ct as SplitContent, wt as Stats, Dt as Testimonials };
|
|
1978
1997
|
|
|
1979
1998
|
//# sourceMappingURL=website.mjs.map
|