@museumwnf/viewer-layout 3.13.0 → 3.13.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/README.md +4 -2
- package/dist/minisite.js +195 -187
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -879,12 +879,14 @@ export default {
|
|
|
879
879
|
- **Routes**: `home`, `introduction`, `theme` (`/theme/<theme>`, a theme's
|
|
880
880
|
overview), `subtheme` (`/theme/<theme>/<page>`), `further-reading`, and the
|
|
881
881
|
bare windows `credits`, `cover-image` and `zoom`. Next Page walks each
|
|
882
|
-
theme's overview, then its subthemes (`sharinghistoryReadingOrder`)
|
|
882
|
+
theme's overview, then its subthemes (`sharinghistoryReadingOrder`); a theme or
|
|
883
|
+
subtheme with no title is not a page, as legacy listed only titled ones
|
|
884
|
+
(`sharinghistoryListedThemes`, `sharinghistoryListedSubthemes`).
|
|
883
885
|
- **Legacy's rules**: a page shows a view only when the curator approved its
|
|
884
886
|
relation, and a position only with its main view
|
|
885
887
|
(`sharinghistorySlotsOf`); the item panel's "Related" lists the other views
|
|
886
888
|
at that position; the caption is `showItem()`'s
|
|
887
|
-
(`
|
|
889
|
+
(`sharinghistoryCaption`), the curator's justification only when
|
|
888
890
|
its status is "Y". The introduction shows the exhibition's own pictures,
|
|
889
891
|
the first five. Related Content leads to the parent's timelines and its
|
|
890
892
|
gallery, narrowed to the page's theme and subtheme
|
package/dist/minisite.js
CHANGED
|
@@ -1256,7 +1256,14 @@ function ar(e, t) {
|
|
|
1256
1256
|
themeNode: e
|
|
1257
1257
|
}))]);
|
|
1258
1258
|
}
|
|
1259
|
-
function or(e) {
|
|
1259
|
+
function or(e, t, n) {
|
|
1260
|
+
let r = e.filter((e) => t(e.id, n)?.trim());
|
|
1261
|
+
return r.length > 0 || n === "en" ? r : e.filter((e) => t(e.id, "en")?.trim());
|
|
1262
|
+
}
|
|
1263
|
+
function sr(e, t, n) {
|
|
1264
|
+
return e.filter((e) => t(e.id, n)?.trim());
|
|
1265
|
+
}
|
|
1266
|
+
function cr(e) {
|
|
1260
1267
|
return e.page === 0 ? {
|
|
1261
1268
|
name: "theme",
|
|
1262
1269
|
params: { theme: e.theme }
|
|
@@ -1268,14 +1275,14 @@ function or(e) {
|
|
|
1268
1275
|
}
|
|
1269
1276
|
};
|
|
1270
1277
|
}
|
|
1271
|
-
function
|
|
1278
|
+
function lr(e, t, n) {
|
|
1272
1279
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
1273
1280
|
return r < 0 ? null : {
|
|
1274
1281
|
...e[r],
|
|
1275
|
-
next: r < e.length - 1 ?
|
|
1282
|
+
next: r < e.length - 1 ? cr(e[r + 1]) : null
|
|
1276
1283
|
};
|
|
1277
1284
|
}
|
|
1278
|
-
function
|
|
1285
|
+
function ur(e) {
|
|
1279
1286
|
let t = /* @__PURE__ */ new Map();
|
|
1280
1287
|
for (let n of e?.items ?? []) {
|
|
1281
1288
|
if (!n.image_url || n.curator_status !== "Y") continue;
|
|
@@ -1287,7 +1294,7 @@ function cr(e) {
|
|
|
1287
1294
|
variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0))
|
|
1288
1295
|
})).filter((e) => (e.variants[0].variant_order ?? 1) === 1);
|
|
1289
1296
|
}
|
|
1290
|
-
function
|
|
1297
|
+
function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
1291
1298
|
let a = e?.type !== "monument", o = [
|
|
1292
1299
|
a ? t.holder : "",
|
|
1293
1300
|
t.location,
|
|
@@ -1304,7 +1311,7 @@ function lr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
|
1304
1311
|
justification: s.replace(/\s+/g, " ")
|
|
1305
1312
|
};
|
|
1306
1313
|
}
|
|
1307
|
-
function
|
|
1314
|
+
function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
|
|
1308
1315
|
let o = encodeURIComponent(t), s = [`exhibition=${o}`];
|
|
1309
1316
|
n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
|
|
1310
1317
|
let c = {
|
|
@@ -1332,18 +1339,18 @@ function ur({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1332
1339
|
function $() {
|
|
1333
1340
|
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
|
|
1334
1341
|
S(f, (e) => Promise.all(ir.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1335
|
-
let p = r.root,
|
|
1336
|
-
function
|
|
1337
|
-
return
|
|
1342
|
+
let p = (e) => t.translations("collections", f.value)[e] ?? {}, m = (e, n) => t.translations("collections", n)[e]?.title, h = r.root, g = i(() => h.value ? or(r.children(h.value.id), m, f.value) : []), _ = (e) => sr(r.children(e), m, f.value), v = i(() => ar(g.value, _)), y = (t.manifest.site?.languages ?? []).map((e) => e.code), b = (e) => t.manifest.site?.languages?.find((t) => t.code === e)?.label ?? e, x = (e) => e ? M(n.tr("countries", e, f.value).name ?? "") : "";
|
|
1343
|
+
function C(e) {
|
|
1344
|
+
return dr({
|
|
1338
1345
|
item: n.itemById.value.get(e.id),
|
|
1339
1346
|
own: n.tr("items", e.id, f.value),
|
|
1340
1347
|
entry: e,
|
|
1341
1348
|
lang: f.value,
|
|
1342
|
-
countryName:
|
|
1349
|
+
countryName: x
|
|
1343
1350
|
});
|
|
1344
1351
|
}
|
|
1345
|
-
let
|
|
1346
|
-
function
|
|
1352
|
+
let w = (t) => t ? e(s.chrome, t) : null;
|
|
1353
|
+
function T(e) {
|
|
1347
1354
|
return new URL(d.resolve({
|
|
1348
1355
|
...e,
|
|
1349
1356
|
query: {
|
|
@@ -1358,38 +1365,39 @@ function $() {
|
|
|
1358
1365
|
lang: f,
|
|
1359
1366
|
data: n,
|
|
1360
1367
|
tree: r,
|
|
1361
|
-
root:
|
|
1362
|
-
themes:
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1368
|
+
root: h,
|
|
1369
|
+
themes: g,
|
|
1370
|
+
subthemesOf: _,
|
|
1371
|
+
pages: v,
|
|
1372
|
+
text: p,
|
|
1373
|
+
offered: y,
|
|
1374
|
+
languageName: b,
|
|
1367
1375
|
settings: c,
|
|
1368
|
-
caption:
|
|
1369
|
-
picture:
|
|
1370
|
-
href:
|
|
1371
|
-
imagesOf: (e) => [...
|
|
1372
|
-
slots:
|
|
1373
|
-
pageAt: (e, t) =>
|
|
1374
|
-
title: i(() =>
|
|
1375
|
-
related: (e = null, t = null) =>
|
|
1376
|
+
caption: C,
|
|
1377
|
+
picture: w,
|
|
1378
|
+
href: T,
|
|
1379
|
+
imagesOf: (e) => [...h.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
|
|
1380
|
+
slots: ur,
|
|
1381
|
+
pageAt: (e, t) => lr(v.value, e, t),
|
|
1382
|
+
title: i(() => h.value ? p(h.value.id).title ?? "" : ""),
|
|
1383
|
+
related: (e = null, t = null) => h.value ? fr({
|
|
1376
1384
|
parent: c.parent,
|
|
1377
|
-
exhibitionId:
|
|
1385
|
+
exhibitionId: h.value.id,
|
|
1378
1386
|
themeId: e,
|
|
1379
1387
|
subthemeId: t,
|
|
1380
|
-
title:
|
|
1388
|
+
title: p(h.value.id).title ?? "",
|
|
1381
1389
|
furtherReading: { name: "further-reading" }
|
|
1382
1390
|
}) : []
|
|
1383
1391
|
};
|
|
1384
1392
|
}
|
|
1385
|
-
var
|
|
1393
|
+
var pr = {
|
|
1386
1394
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1387
1395
|
coverImage: ["exhCoverImage", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1388
1396
|
zoom: ["SHImages", "scrollbars=no,resize=no,width=565,height=435"]
|
|
1389
|
-
},
|
|
1397
|
+
}, mr = { class: "mwnf-sh-related" }, hr = { class: "mwnf-sh-related__heading" }, gr = ["src"], _r = ["href", "target"], vr = {
|
|
1390
1398
|
key: 0,
|
|
1391
1399
|
class: "mwnf-sh-related__all"
|
|
1392
|
-
},
|
|
1400
|
+
}, yr = ["src"], br = ["href"], xr = {
|
|
1393
1401
|
__name: "Related",
|
|
1394
1402
|
props: {
|
|
1395
1403
|
allExhibitions: {
|
|
@@ -1413,7 +1421,7 @@ var dr = {
|
|
|
1413
1421
|
let t = e, { label: r, picture: u, related: d, settings: f } = $(), m = i(() => d(t.themeId, t.subthemeId)), h = i(() => t.themeId ? "_blank" : void 0), _ = (e) => e.tipText ?? (e.tip ? r(`related.${e.tip}`) : "");
|
|
1414
1422
|
return (t, i) => {
|
|
1415
1423
|
let d = v("router-link");
|
|
1416
|
-
return p(), s("div",
|
|
1424
|
+
return p(), s("div", mr, [c("span", hr, "\xA0" + y(b(r)("related.heading")), 1), c("ul", null, [(p(!0), s(n, null, g(m.value, (t) => (p(), s("li", { key: t.key }, [
|
|
1417
1425
|
i[0] ||= l(" \xA0", -1),
|
|
1418
1426
|
c("img", {
|
|
1419
1427
|
src: b(u)(e.arrow),
|
|
@@ -1421,7 +1429,7 @@ var dr = {
|
|
|
1421
1429
|
class: "mwnf-sh-arrow",
|
|
1422
1430
|
width: "11",
|
|
1423
1431
|
height: "8"
|
|
1424
|
-
}, null, 8,
|
|
1432
|
+
}, null, 8, gr),
|
|
1425
1433
|
t.to ? w((p(), a(d, {
|
|
1426
1434
|
key: 0,
|
|
1427
1435
|
to: t.to,
|
|
@@ -1433,8 +1441,8 @@ var dr = {
|
|
|
1433
1441
|
key: 1,
|
|
1434
1442
|
href: t.href,
|
|
1435
1443
|
target: h.value
|
|
1436
|
-
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8,
|
|
1437
|
-
]))), 128)), e.allExhibitions ? (p(), s("li",
|
|
1444
|
+
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, _r)), [[b(G), { text: _(t) }]])
|
|
1445
|
+
]))), 128)), e.allExhibitions ? (p(), s("li", vr, [
|
|
1438
1446
|
i[1] ||= l(" \xA0", -1),
|
|
1439
1447
|
c("img", {
|
|
1440
1448
|
src: b(u)(e.arrow),
|
|
@@ -1442,136 +1450,136 @@ var dr = {
|
|
|
1442
1450
|
class: "mwnf-sh-arrow",
|
|
1443
1451
|
width: "11",
|
|
1444
1452
|
height: "8"
|
|
1445
|
-
}, null, 8,
|
|
1446
|
-
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9,
|
|
1453
|
+
}, null, 8, yr),
|
|
1454
|
+
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, br)])
|
|
1447
1455
|
])) : o("", !0)])]);
|
|
1448
1456
|
};
|
|
1449
1457
|
}
|
|
1450
|
-
},
|
|
1458
|
+
}, Sr = ["src"], Cr = ["src"], wr = ["src"], Tr = "https://www.museumwnf.org/about/support", Er = {
|
|
1451
1459
|
__name: "Windows",
|
|
1452
1460
|
setup(e) {
|
|
1453
1461
|
let { href: t, label: n, picture: r } = $(), i = r("legacy/arrow_curator.gif");
|
|
1454
1462
|
return (e, r) => (p(), s("div", null, [
|
|
1455
1463
|
c("a", {
|
|
1456
1464
|
href: "#",
|
|
1457
|
-
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(
|
|
1465
|
+
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(pr).credits), ["prevent"])
|
|
1458
1466
|
}, [l(y(b(n)("band.curatedBy")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1459
1467
|
key: 0,
|
|
1460
1468
|
src: b(i),
|
|
1461
1469
|
alt: "",
|
|
1462
1470
|
width: "12",
|
|
1463
1471
|
height: "7"
|
|
1464
|
-
}, null, 8,
|
|
1472
|
+
}, null, 8, Sr)) : o("", !0)]),
|
|
1465
1473
|
c("div", null, [c("a", {
|
|
1466
1474
|
href: "#",
|
|
1467
|
-
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(
|
|
1475
|
+
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(pr).coverImage), ["prevent"])
|
|
1468
1476
|
}, [l(y(b(n)("band.coverImage")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1469
1477
|
key: 0,
|
|
1470
1478
|
src: b(i),
|
|
1471
1479
|
alt: "",
|
|
1472
1480
|
width: "12",
|
|
1473
1481
|
height: "7"
|
|
1474
|
-
}, null, 8,
|
|
1475
|
-
c("div", null, [c("a", { href:
|
|
1482
|
+
}, null, 8, Cr)) : o("", !0)])]),
|
|
1483
|
+
c("div", null, [c("a", { href: Tr }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1476
1484
|
key: 0,
|
|
1477
1485
|
src: b(i),
|
|
1478
1486
|
alt: "",
|
|
1479
1487
|
width: "12",
|
|
1480
1488
|
height: "7"
|
|
1481
|
-
}, null, 8,
|
|
1489
|
+
}, null, 8, wr)) : o("", !0)])])
|
|
1482
1490
|
]));
|
|
1483
1491
|
}
|
|
1484
|
-
},
|
|
1492
|
+
}, Dr = {
|
|
1485
1493
|
key: 0,
|
|
1486
1494
|
class: "mwnf-sh-home"
|
|
1487
|
-
},
|
|
1495
|
+
}, Or = { class: "mwnf-sh-home__heading" }, kr = { class: "mwnf-sh-home__title" }, Ar = ["innerHTML"], jr = { class: "mwnf-sh-home__menu" }, Mr = { class: "mwnf-sh-home__themes" }, Nr = ["src"], Pr = ["aria-expanded", "onClick"], Fr = ["src"], Ir = {
|
|
1488
1496
|
key: 0,
|
|
1489
1497
|
class: "mwnf-sh-home__pages"
|
|
1490
|
-
},
|
|
1498
|
+
}, Lr = ["src"], Rr = ["src"], zr = { class: "mwnf-sh-band" }, Br = { class: "mwnf-sh-band__logos" }, Vr = {
|
|
1491
1499
|
key: 0,
|
|
1492
1500
|
class: "mwnf-sh-band__gap"
|
|
1493
|
-
},
|
|
1501
|
+
}, Hr = ["href"], Ur = ["src"], Wr = ["src"], Gr = {
|
|
1494
1502
|
__name: "Home",
|
|
1495
1503
|
setup(e) {
|
|
1496
|
-
let { data: t, imagesOf: r, label: a, picture: d, root: m, settings: _,
|
|
1504
|
+
let { data: t, imagesOf: r, label: a, picture: d, root: m, settings: _, subthemesOf: x, text: S, themes: T, title: E } = $(), D = (e) => _.partnerLinks?.[e.link] ?? e.link, O = i(() => m.value ? S(m.value.id).extra?.subtitle ?? "" : ""), k = i(() => r("logo")), A = h(-1);
|
|
1497
1505
|
return (e, r) => {
|
|
1498
1506
|
let i = v("router-link");
|
|
1499
|
-
return b(m) ? (p(), s("div",
|
|
1507
|
+
return b(m) ? (p(), s("div", Dr, [
|
|
1500
1508
|
c("div", {
|
|
1501
1509
|
class: "mwnf-sh-home__picture",
|
|
1502
1510
|
style: f({ backgroundImage: `url(${b(d)("legacy/home_bg.jpg") ?? ""})` })
|
|
1503
|
-
}, [c("div",
|
|
1511
|
+
}, [c("div", Or, [c("div", kr, y(b(E)), 1), O.value ? (p(), s("div", {
|
|
1504
1512
|
key: 0,
|
|
1505
1513
|
class: "mwnf-sh-home__quote",
|
|
1506
1514
|
innerHTML: b(t).mdInline(O.value)
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
c("div",
|
|
1515
|
+
}, null, 8, Ar)) : o("", !0)])], 4),
|
|
1516
|
+
c("div", jr, [c("div", Mr, [u(i, { to: { name: "introduction" } }, {
|
|
1509
1517
|
default: C(() => [c("b", null, y(b(a)("home.introduction")), 1), c("img", {
|
|
1510
1518
|
src: b(d)("legacy/arrow_black.gif"),
|
|
1511
1519
|
alt: "",
|
|
1512
1520
|
width: "15",
|
|
1513
1521
|
height: "9"
|
|
1514
|
-
}, null, 8,
|
|
1522
|
+
}, null, 8, Nr)]),
|
|
1515
1523
|
_: 1
|
|
1516
|
-
}), (p(!0), s(n, null, g(b(
|
|
1524
|
+
}), (p(!0), s(n, null, g(b(T), (e, t) => (p(), s("div", { key: e.id }, [c("button", {
|
|
1517
1525
|
type: "button",
|
|
1518
1526
|
class: "mwnf-sh-home__theme",
|
|
1519
1527
|
"aria-expanded": A.value === t,
|
|
1520
1528
|
onClick: (e) => A.value = A.value === t ? -1 : t
|
|
1521
|
-
}, [l(y(b(
|
|
1529
|
+
}, [l(y(b(S)(e.id).title) + " ", 1), c("img", {
|
|
1522
1530
|
src: b(d)("legacy/arrow_black_down.gif"),
|
|
1523
1531
|
alt: "",
|
|
1524
1532
|
width: "15",
|
|
1525
1533
|
height: "9"
|
|
1526
|
-
}, null, 8,
|
|
1534
|
+
}, null, 8, Fr)], 8, Pr), A.value === t ? (p(), s("ul", Ir, [c("li", null, [c("img", {
|
|
1527
1535
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1528
1536
|
alt: "",
|
|
1529
1537
|
class: "mwnf-sh-arrow",
|
|
1530
1538
|
width: "11",
|
|
1531
1539
|
height: "8"
|
|
1532
|
-
}, null, 8,
|
|
1540
|
+
}, null, 8, Lr), u(i, { to: {
|
|
1533
1541
|
name: "theme",
|
|
1534
1542
|
params: { theme: t + 1 }
|
|
1535
1543
|
} }, {
|
|
1536
1544
|
default: C(() => [l(y(b(a)("home.overview")), 1)]),
|
|
1537
1545
|
_: 1
|
|
1538
|
-
}, 8, ["to"])]), (p(!0), s(n, null, g(b(
|
|
1546
|
+
}, 8, ["to"])]), (p(!0), s(n, null, g(b(x)(e.id), (e, n) => (p(), s("li", { key: e.id }, [c("img", {
|
|
1539
1547
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1540
1548
|
alt: "",
|
|
1541
1549
|
class: "mwnf-sh-arrow",
|
|
1542
1550
|
width: "11",
|
|
1543
1551
|
height: "8"
|
|
1544
|
-
}, null, 8,
|
|
1552
|
+
}, null, 8, Rr), u(i, { to: {
|
|
1545
1553
|
name: "subtheme",
|
|
1546
1554
|
params: {
|
|
1547
1555
|
theme: t + 1,
|
|
1548
1556
|
page: n + 1
|
|
1549
1557
|
}
|
|
1550
1558
|
} }, {
|
|
1551
|
-
default: C(() => [l(y(b(
|
|
1559
|
+
default: C(() => [l(y(b(S)(e.id).title), 1)]),
|
|
1552
1560
|
_: 2
|
|
1553
|
-
}, 1032, ["to"])]))), 128))])) : o("", !0)]))), 128))]), u(
|
|
1554
|
-
c("div",
|
|
1561
|
+
}, 1032, ["to"])]))), 128))])) : o("", !0)]))), 128))]), u(xr, { "all-exhibitions": "" })]),
|
|
1562
|
+
c("div", zr, [u(Er, { class: "mwnf-sh-band__links" }), c("div", Br, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", Vr)) : o("", !0), e.link ? w((p(), s("a", {
|
|
1555
1563
|
key: 1,
|
|
1556
1564
|
href: D(e)
|
|
1557
1565
|
}, [c("img", {
|
|
1558
1566
|
src: e.url,
|
|
1559
1567
|
alt: ""
|
|
1560
|
-
}, null, 8,
|
|
1568
|
+
}, null, 8, Ur)], 8, Hr)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
|
|
1561
1569
|
key: 2,
|
|
1562
1570
|
src: e.url,
|
|
1563
1571
|
alt: ""
|
|
1564
|
-
}, null, 8,
|
|
1572
|
+
}, null, 8, Wr))], 64))), 128))])])
|
|
1565
1573
|
])) : o("", !0);
|
|
1566
1574
|
};
|
|
1567
1575
|
}
|
|
1568
|
-
},
|
|
1576
|
+
}, Kr = { class: "mwnf-sh-banner__title" }, qr = { class: "mwnf-sh-nav" }, Jr = { class: "mwnf-sh-nav__group" }, Yr = { class: "mwnf-sh-nav__first" }, Xr = { class: "mwnf-sh-nav__second" }, Zr = ["href"], Qr = {
|
|
1569
1577
|
key: 0,
|
|
1570
1578
|
class: "mwnf-sh-nav__group"
|
|
1571
|
-
},
|
|
1579
|
+
}, $r = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, ei = {
|
|
1572
1580
|
key: 0,
|
|
1573
1581
|
class: "mwnf-sh-nav__second mwnf-sh-nav__next"
|
|
1574
|
-
},
|
|
1582
|
+
}, ti = {
|
|
1575
1583
|
__name: "Banner",
|
|
1576
1584
|
props: {
|
|
1577
1585
|
kind: {
|
|
@@ -1607,21 +1615,21 @@ var dr = {
|
|
|
1607
1615
|
style: f({ backgroundImage: b(h) ? `url(${b(h)})` : "none" })
|
|
1608
1616
|
}, [
|
|
1609
1617
|
n[0] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
|
|
1610
|
-
c("div",
|
|
1611
|
-
c("nav",
|
|
1618
|
+
c("div", Kr, y(e.heading ?? b(m)), 1),
|
|
1619
|
+
c("nav", qr, [c("div", Jr, [c("div", Yr, [u(i, { to: { name: "home" } }, {
|
|
1612
1620
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
1613
1621
|
_: 1
|
|
1614
|
-
})]), c("div",
|
|
1622
|
+
})]), c("div", Xr, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Zr)])]), e.paging ? (p(), s("div", Qr, [c("div", $r, [c("button", {
|
|
1615
1623
|
type: "button",
|
|
1616
1624
|
onClick: g
|
|
1617
|
-
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div",
|
|
1625
|
+
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", ei, [u(i, { to: e.next }, {
|
|
1618
1626
|
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
1619
1627
|
_: 1
|
|
1620
1628
|
}, 8, ["to"])])) : o("", !0)])) : o("", !0)])
|
|
1621
1629
|
], 6);
|
|
1622
1630
|
};
|
|
1623
1631
|
}
|
|
1624
|
-
},
|
|
1632
|
+
}, ni = { class: "mwnf-sh-download" }, ri = ["src"], ii = ["src"], ai = ["src"], oi = {
|
|
1625
1633
|
__name: "Download",
|
|
1626
1634
|
props: {
|
|
1627
1635
|
title: {
|
|
@@ -1644,13 +1652,13 @@ var dr = {
|
|
|
1644
1652
|
let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(A(e))}</h2>` : ""}${t ? N(t) : ""}`).join(""), n = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${i(A(t.title))}</title></head><body><h1>${i(A(t.title))}</h1>${e}</body></html>`, r = document.createElement("a");
|
|
1645
1653
|
r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${A(t.title).replace(/[,:]/g, "").replace(/ /g, "-")}.doc`, document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(r.href);
|
|
1646
1654
|
}
|
|
1647
|
-
return (e, t) => (p(), s("div",
|
|
1655
|
+
return (e, t) => (p(), s("div", ni, [
|
|
1648
1656
|
c("img", {
|
|
1649
1657
|
src: b(r)("legacy/print.gif"),
|
|
1650
1658
|
alt: "",
|
|
1651
1659
|
width: "14",
|
|
1652
1660
|
height: "14"
|
|
1653
|
-
}, null, 8,
|
|
1661
|
+
}, null, 8, ri),
|
|
1654
1662
|
l(" / " + y(b(n)("download.heading")), 1),
|
|
1655
1663
|
t[1] ||= c("br", null, null, -1),
|
|
1656
1664
|
c("img", {
|
|
@@ -1659,7 +1667,7 @@ var dr = {
|
|
|
1659
1667
|
class: "mwnf-sh-arrow",
|
|
1660
1668
|
width: "11",
|
|
1661
1669
|
height: "8"
|
|
1662
|
-
}, null, 8,
|
|
1670
|
+
}, null, 8, ii),
|
|
1663
1671
|
c("a", {
|
|
1664
1672
|
href: "#",
|
|
1665
1673
|
onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
|
|
@@ -1671,23 +1679,23 @@ var dr = {
|
|
|
1671
1679
|
class: "mwnf-sh-arrow",
|
|
1672
1680
|
width: "11",
|
|
1673
1681
|
height: "8"
|
|
1674
|
-
}, null, 8,
|
|
1682
|
+
}, null, 8, ai),
|
|
1675
1683
|
c("a", {
|
|
1676
1684
|
href: "#",
|
|
1677
1685
|
onClick: T(a, ["prevent"])
|
|
1678
1686
|
}, y(b(n)("download.asWord")), 1)
|
|
1679
1687
|
]));
|
|
1680
1688
|
}
|
|
1681
|
-
},
|
|
1689
|
+
}, si = {
|
|
1682
1690
|
key: 0,
|
|
1683
1691
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1684
|
-
},
|
|
1692
|
+
}, ci = { class: "mwnf-sh-intro" }, li = { class: "mwnf-sh-intro__text" }, ui = { class: "mwnf-sh-intro__heading" }, di = ["innerHTML"], fi = { class: "mwnf-sh-intro__pictures" }, pi = {
|
|
1685
1693
|
key: 0,
|
|
1686
1694
|
class: "mwnf-sh-intro__picture"
|
|
1687
|
-
},
|
|
1695
|
+
}, mi = { class: "mwnf-sh-intro__frame" }, hi = ["src"], gi = ["src"], _i = ["innerHTML"], vi = ["innerHTML"], yi = ["innerHTML"], bi = ["src"], xi = ["href"], Si = {
|
|
1688
1696
|
key: 1,
|
|
1689
1697
|
class: "mwnf-sh-intro__thumbs"
|
|
1690
|
-
},
|
|
1698
|
+
}, Ci = ["onClick"], wi = ["src"], Ti = { class: "mwnf-sh-bottom" }, Ei = { class: "mwnf-sh-bottom__pages" }, Di = ["src"], Oi = { class: "mwnf-sh-bottom__current" }, ki = ["src"], Ai = { class: "mwnf-sh-bottom__related" }, ji = {
|
|
1691
1699
|
__name: "Introduction",
|
|
1692
1700
|
setup(e) {
|
|
1693
1701
|
let { caption: t, data: r, href: a, label: d, lang: f, pages: m, picture: _, root: x, settings: S, text: T, themes: E, title: D } = $(), O = i(() => x.value ? T(x.value.id) : {}), k = i(() => m.value[0] ? {
|
|
@@ -1706,31 +1714,31 @@ var dr = {
|
|
|
1706
1714
|
Z(a({
|
|
1707
1715
|
name: "zoom",
|
|
1708
1716
|
query: { img: M.value.image_url }
|
|
1709
|
-
}),
|
|
1717
|
+
}), pr.zoom);
|
|
1710
1718
|
}
|
|
1711
1719
|
return (e, t) => {
|
|
1712
1720
|
let i = v("router-link");
|
|
1713
|
-
return b(x) ? (p(), s("div",
|
|
1714
|
-
u(
|
|
1721
|
+
return b(x) ? (p(), s("div", si, [
|
|
1722
|
+
u(ti, {
|
|
1715
1723
|
kind: "intro",
|
|
1716
1724
|
previous: { name: "home" },
|
|
1717
1725
|
next: k.value
|
|
1718
1726
|
}, null, 8, ["next"]),
|
|
1719
|
-
c("div",
|
|
1720
|
-
c("div",
|
|
1727
|
+
c("div", ci, [c("div", li, [
|
|
1728
|
+
c("div", ui, y(b(d)("home.introduction")), 1),
|
|
1721
1729
|
c("div", {
|
|
1722
1730
|
class: "mwnf-sh-intro__body",
|
|
1723
1731
|
innerHTML: b(r).md(O.value.description ?? "")
|
|
1724
|
-
}, null, 8,
|
|
1725
|
-
u(
|
|
1732
|
+
}, null, 8, di),
|
|
1733
|
+
u(oi, {
|
|
1726
1734
|
title: b(D),
|
|
1727
1735
|
blocks: [{
|
|
1728
1736
|
heading: b(d)("home.introduction"),
|
|
1729
1737
|
text: O.value.description ?? ""
|
|
1730
1738
|
}]
|
|
1731
1739
|
}, null, 8, ["title", "blocks"])
|
|
1732
|
-
]), c("div",
|
|
1733
|
-
c("div",
|
|
1740
|
+
]), c("div", fi, [M.value ? (p(), s("div", pi, [
|
|
1741
|
+
c("div", mi, [c("div", null, [
|
|
1734
1742
|
w((p(), s("button", {
|
|
1735
1743
|
type: "button",
|
|
1736
1744
|
onClick: F
|
|
@@ -1738,7 +1746,7 @@ var dr = {
|
|
|
1738
1746
|
class: "mwnf-sh-intro__shown",
|
|
1739
1747
|
src: M.value.image_url,
|
|
1740
1748
|
alt: ""
|
|
1741
|
-
}, null, 8,
|
|
1749
|
+
}, null, 8, hi)])), [[b(G), { text: b(d)("item.showZoom") }]]),
|
|
1742
1750
|
t[0] ||= l("\xA0", -1),
|
|
1743
1751
|
t[1] ||= c("br", null, null, -1),
|
|
1744
1752
|
w((p(), s("button", {
|
|
@@ -1749,16 +1757,16 @@ var dr = {
|
|
|
1749
1757
|
alt: "",
|
|
1750
1758
|
width: "15",
|
|
1751
1759
|
height: "15"
|
|
1752
|
-
}, null, 8,
|
|
1760
|
+
}, null, 8, gi)])), [[b(G), { text: b(d)("item.showZoom") }]])
|
|
1753
1761
|
])]),
|
|
1754
1762
|
N.value.name ? (p(), s("b", {
|
|
1755
1763
|
key: 0,
|
|
1756
1764
|
innerHTML: b(r).mdInline(N.value.name)
|
|
1757
|
-
}, null, 8,
|
|
1765
|
+
}, null, 8, _i)) : o("", !0),
|
|
1758
1766
|
N.value.secondName ? (p(), s(n, { key: 1 }, [
|
|
1759
1767
|
t[2] ||= c("br", null, null, -1),
|
|
1760
1768
|
t[3] ||= c("br", null, null, -1),
|
|
1761
|
-
c("b", { innerHTML: b(r).mdInline(N.value.secondName) }, null, 8,
|
|
1769
|
+
c("b", { innerHTML: b(r).mdInline(N.value.secondName) }, null, 8, vi)
|
|
1762
1770
|
], 64)) : o("", !0),
|
|
1763
1771
|
(p(), s(n, null, g([
|
|
1764
1772
|
"date",
|
|
@@ -1770,7 +1778,7 @@ var dr = {
|
|
|
1770
1778
|
], (e) => (p(), s(n, { key: e }, [N.value[e] ? (p(), s(n, { key: 0 }, [
|
|
1771
1779
|
t[4] ||= c("br", null, null, -1),
|
|
1772
1780
|
t[5] ||= c("br", null, null, -1),
|
|
1773
|
-
c("span", { innerHTML: b(r).mdInline(N.value[e]) }, null, 8,
|
|
1781
|
+
c("span", { innerHTML: b(r).mdInline(N.value[e]) }, null, 8, yi)
|
|
1774
1782
|
], 64)) : o("", !0)], 64))), 64)),
|
|
1775
1783
|
t[6] ||= c("br", null, null, -1),
|
|
1776
1784
|
t[7] ||= c("br", null, null, -1),
|
|
@@ -1780,40 +1788,40 @@ var dr = {
|
|
|
1780
1788
|
class: "mwnf-sh-arrow",
|
|
1781
1789
|
width: "11",
|
|
1782
1790
|
height: "8"
|
|
1783
|
-
}, null, 8,
|
|
1784
|
-
c("a", { href: P.value }, y(b(d)("item.moreInfo")), 9,
|
|
1785
|
-
])) : o("", !0), A.value.length ? (p(), s("div",
|
|
1791
|
+
}, null, 8, bi),
|
|
1792
|
+
c("a", { href: P.value }, y(b(d)("item.moreInfo")), 9, xi)
|
|
1793
|
+
])) : o("", !0), A.value.length ? (p(), s("div", Si, [(p(!0), s(n, null, g(A.value, (e, t) => (p(), s("button", {
|
|
1786
1794
|
key: e.image_url,
|
|
1787
1795
|
type: "button",
|
|
1788
1796
|
onClick: (e) => j.value = t
|
|
1789
1797
|
}, [c("img", {
|
|
1790
1798
|
src: e.image_url,
|
|
1791
1799
|
alt: ""
|
|
1792
|
-
}, null, 8,
|
|
1793
|
-
c("div",
|
|
1800
|
+
}, null, 8, wi)], 8, Ci))), 128))])) : o("", !0)])]),
|
|
1801
|
+
c("div", Ti, [c("div", Ei, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
1794
1802
|
src: b(_)("legacy/arrow.gif"),
|
|
1795
1803
|
alt: "",
|
|
1796
1804
|
width: "10",
|
|
1797
1805
|
height: "9"
|
|
1798
|
-
}, null, 8,
|
|
1806
|
+
}, null, 8, Di), c("span", Oi, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
|
|
1799
1807
|
src: b(_)("legacy/arrow.gif"),
|
|
1800
1808
|
alt: "",
|
|
1801
1809
|
width: "10",
|
|
1802
1810
|
height: "9"
|
|
1803
|
-
}, null, 8,
|
|
1811
|
+
}, null, 8, ki), u(i, { to: {
|
|
1804
1812
|
name: "theme",
|
|
1805
1813
|
params: { theme: t + 1 }
|
|
1806
1814
|
} }, {
|
|
1807
1815
|
default: C(() => [l(y(b(T)(e.id).title), 1)]),
|
|
1808
1816
|
_: 2
|
|
1809
|
-
}, 1032, ["to"])]))), 128))])]), c("div",
|
|
1817
|
+
}, 1032, ["to"])]))), 128))])]), c("div", Ai, [u(xr, { arrow: "legacy/arrow_inner.gif" }), u(Er, { class: "mwnf-sh-bottom__windows" })])])
|
|
1810
1818
|
])) : o("", !0);
|
|
1811
1819
|
};
|
|
1812
1820
|
}
|
|
1813
|
-
},
|
|
1821
|
+
}, Mi = {
|
|
1814
1822
|
key: 0,
|
|
1815
1823
|
class: "mwnf-sh-panel"
|
|
1816
|
-
},
|
|
1824
|
+
}, Ni = { class: "mwnf-sh-panel__picture" }, Pi = { class: "mwnf-sh-panel__frame" }, Fi = ["src"], Ii = { class: "mwnf-sh-panel__magnify" }, Li = ["src"], Ri = { class: "mwnf-sh-panel__caption" }, zi = ["innerHTML"], Bi = ["innerHTML"], Vi = ["innerHTML"], Hi = ["innerHTML"], Ui = ["innerHTML"], Wi = ["innerHTML"], Gi = ["innerHTML"], Ki = ["src"], qi = ["href"], Ji = { class: "mwnf-sh-panel__related" }, Yi = ["onClick"], Xi = ["src"], Zi = {
|
|
1817
1825
|
__name: "Panel",
|
|
1818
1826
|
props: {
|
|
1819
1827
|
slot: {
|
|
@@ -1835,16 +1843,16 @@ var dr = {
|
|
|
1835
1843
|
Z(d({
|
|
1836
1844
|
name: "zoom",
|
|
1837
1845
|
query: { img: _.value.image_url }
|
|
1838
|
-
}),
|
|
1846
|
+
}), pr.zoom);
|
|
1839
1847
|
}
|
|
1840
|
-
return (e, t) => _.value ? (p(), s("div",
|
|
1848
|
+
return (e, t) => _.value ? (p(), s("div", Mi, [c("div", Ni, [c("div", Pi, [c("div", null, [w((p(), s("button", {
|
|
1841
1849
|
type: "button",
|
|
1842
1850
|
onClick: C
|
|
1843
1851
|
}, [c("img", {
|
|
1844
1852
|
class: "mwnf-sh-panel__shown",
|
|
1845
1853
|
src: _.value.image_url,
|
|
1846
1854
|
alt: ""
|
|
1847
|
-
}, null, 8,
|
|
1855
|
+
}, null, 8, Fi)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", Ii, [w((p(), s("button", {
|
|
1848
1856
|
type: "button",
|
|
1849
1857
|
onClick: C
|
|
1850
1858
|
}, [c("img", {
|
|
@@ -1852,75 +1860,75 @@ var dr = {
|
|
|
1852
1860
|
alt: "",
|
|
1853
1861
|
width: "15",
|
|
1854
1862
|
height: "15"
|
|
1855
|
-
}, null, 8,
|
|
1863
|
+
}, null, 8, Li)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", Ri, [
|
|
1856
1864
|
v.value.name ? (p(), s("p", {
|
|
1857
1865
|
key: 0,
|
|
1858
1866
|
class: "mwnf-sh-panel__name",
|
|
1859
1867
|
innerHTML: b(u).mdInline(v.value.name)
|
|
1860
|
-
}, null, 8,
|
|
1868
|
+
}, null, 8, zi)) : o("", !0),
|
|
1861
1869
|
v.value.date ? (p(), s("p", {
|
|
1862
1870
|
key: 1,
|
|
1863
1871
|
innerHTML: b(u).mdInline(v.value.date)
|
|
1864
|
-
}, null, 8,
|
|
1872
|
+
}, null, 8, Bi)) : o("", !0),
|
|
1865
1873
|
v.value.place ? (p(), s("p", {
|
|
1866
1874
|
key: 2,
|
|
1867
1875
|
innerHTML: b(u).mdInline(v.value.place)
|
|
1868
|
-
}, null, 8,
|
|
1876
|
+
}, null, 8, Vi)) : o("", !0),
|
|
1869
1877
|
v.value.artist ? (p(), s("p", {
|
|
1870
1878
|
key: 3,
|
|
1871
1879
|
innerHTML: b(u).mdInline(v.value.artist)
|
|
1872
|
-
}, null, 8,
|
|
1880
|
+
}, null, 8, Hi)) : o("", !0),
|
|
1873
1881
|
v.value.material ? (p(), s("p", {
|
|
1874
1882
|
key: 4,
|
|
1875
1883
|
innerHTML: b(u).mdInline(v.value.material)
|
|
1876
|
-
}, null, 8,
|
|
1884
|
+
}, null, 8, Ui)) : o("", !0),
|
|
1877
1885
|
v.value.architects ? (p(), s("p", {
|
|
1878
1886
|
key: 5,
|
|
1879
1887
|
innerHTML: b(u).mdInline(v.value.architects)
|
|
1880
|
-
}, null, 8,
|
|
1888
|
+
}, null, 8, Wi)) : o("", !0),
|
|
1881
1889
|
v.value.justification ? (p(), s("p", {
|
|
1882
1890
|
key: 6,
|
|
1883
1891
|
class: "mwnf-sh-panel__justification",
|
|
1884
1892
|
innerHTML: b(u).mdInline(v.value.justification)
|
|
1885
|
-
}, null, 8,
|
|
1893
|
+
}, null, 8, Gi)) : o("", !0),
|
|
1886
1894
|
c("p", null, [c("img", {
|
|
1887
1895
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1888
1896
|
alt: "",
|
|
1889
1897
|
class: "mwnf-sh-arrow",
|
|
1890
1898
|
width: "11",
|
|
1891
1899
|
height: "8"
|
|
1892
|
-
}, null, 8,
|
|
1900
|
+
}, null, 8, Ki), c("a", {
|
|
1893
1901
|
href: x.value,
|
|
1894
1902
|
target: "_blank",
|
|
1895
1903
|
rel: "noopener"
|
|
1896
|
-
}, y(b(f)("item.moreInfo")), 9,
|
|
1897
|
-
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div",
|
|
1904
|
+
}, y(b(f)("item.moreInfo")), 9, qi)]),
|
|
1905
|
+
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Ji, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
|
|
1898
1906
|
key: e.index,
|
|
1899
1907
|
type: "button",
|
|
1900
1908
|
onClick: (t) => a("update:view", e.index)
|
|
1901
1909
|
}, [c("img", {
|
|
1902
1910
|
src: e.variant.image_url,
|
|
1903
1911
|
alt: ""
|
|
1904
|
-
}, null, 8,
|
|
1912
|
+
}, null, 8, Xi)], 8, Yi))), 128))])], 64)) : o("", !0)
|
|
1905
1913
|
])])) : o("", !0);
|
|
1906
1914
|
}
|
|
1907
|
-
},
|
|
1915
|
+
}, Qi = {
|
|
1908
1916
|
key: 1,
|
|
1909
1917
|
class: "mwnf-sh-pagewrap",
|
|
1910
1918
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1911
|
-
},
|
|
1919
|
+
}, $i = { class: "mwnf-sh-page" }, ea = { class: "mwnf-sh-page__text" }, ta = { class: "mwnf-sh-page__theme" }, na = { class: "mwnf-sh-page__name" }, ra = {
|
|
1912
1920
|
key: 0,
|
|
1913
1921
|
class: "mwnf-sh-page__thumbs"
|
|
1914
|
-
},
|
|
1922
|
+
}, ia = ["onClick"], aa = ["src"], oa = { class: "mwnf-sh-page__body" }, sa = ["innerHTML"], ca = ["innerHTML"], la = { class: "mwnf-sh-more" }, ua = { class: "mwnf-sh-more__label" }, da = { class: "mwnf-sh-more__theme" }, fa = ["src"], pa = {
|
|
1915
1923
|
key: 0,
|
|
1916
1924
|
class: "mwnf-sh-more__current"
|
|
1917
|
-
},
|
|
1925
|
+
}, ma = ["src"], ha = {
|
|
1918
1926
|
key: 0,
|
|
1919
1927
|
class: "mwnf-sh-more__current"
|
|
1920
|
-
},
|
|
1928
|
+
}, ga = { class: "mwnf-sh-bottom" }, _a = { class: "mwnf-sh-bottom__pages" }, va = ["src"], ya = ["src"], ba = {
|
|
1921
1929
|
key: 0,
|
|
1922
1930
|
class: "mwnf-sh-bottom__current"
|
|
1923
|
-
},
|
|
1931
|
+
}, xa = { class: "mwnf-sh-bottom__related" }, Sa = {
|
|
1924
1932
|
__name: "Page",
|
|
1925
1933
|
props: {
|
|
1926
1934
|
theme: {
|
|
@@ -1933,53 +1941,53 @@ var dr = {
|
|
|
1933
1941
|
}
|
|
1934
1942
|
},
|
|
1935
1943
|
setup(e) {
|
|
1936
|
-
let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _,
|
|
1944
|
+
let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _, subthemesOf: x, text: w, themes: T, title: D } = $(), O = i(() => f(t.theme, t.page)), k = i(() => O.value?.themeNode ?? null), A = i(() => O.value?.node ?? null), j = i(() => A.value ? w(A.value.id) : {}), M = i(() => _(A.value)), N = i(() => k.value ? x(k.value.id) : []), P = h(0), F = h(0);
|
|
1937
1945
|
S(A, () => {
|
|
1938
1946
|
P.value = 0, F.value = 0;
|
|
1939
1947
|
});
|
|
1940
1948
|
let I = (e) => {
|
|
1941
1949
|
P.value = e, F.value = 0;
|
|
1942
1950
|
}, L = i(() => t.page === 0 ? d("home.overview") : j.value.title ?? ""), R = i(() => [
|
|
1943
|
-
{ heading:
|
|
1951
|
+
{ heading: w(k.value?.id).title },
|
|
1944
1952
|
{ heading: L.value },
|
|
1945
1953
|
{ text: j.value.quote ?? "" },
|
|
1946
1954
|
{ text: j.value.description ?? "" }
|
|
1947
1955
|
]);
|
|
1948
1956
|
return (t, i) => {
|
|
1949
1957
|
let f = v("router-link");
|
|
1950
|
-
return O.value ? (p(), s("div",
|
|
1951
|
-
u(
|
|
1952
|
-
c("div",
|
|
1953
|
-
c("div",
|
|
1954
|
-
c("div",
|
|
1955
|
-
M.value.length ? (p(), s("div",
|
|
1958
|
+
return O.value ? (p(), s("div", Qi, [
|
|
1959
|
+
u(ti, { next: O.value.next }, null, 8, ["next"]),
|
|
1960
|
+
c("div", $i, [c("div", ea, [
|
|
1961
|
+
c("div", ta, y(b(w)(k.value.id).title), 1),
|
|
1962
|
+
c("div", na, "\xA0" + y(L.value), 1),
|
|
1963
|
+
M.value.length ? (p(), s("div", ra, [(p(!0), s(n, null, g(M.value, (e, t) => (p(), s("button", {
|
|
1956
1964
|
key: e.n,
|
|
1957
1965
|
type: "button",
|
|
1958
1966
|
onClick: (e) => I(t)
|
|
1959
1967
|
}, [c("img", {
|
|
1960
1968
|
src: e.variants[0].image_url,
|
|
1961
1969
|
alt: ""
|
|
1962
|
-
}, null, 8,
|
|
1970
|
+
}, null, 8, aa)], 8, ia))), 128))])) : o("", !0),
|
|
1963
1971
|
i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
|
|
1964
|
-
c("div",
|
|
1972
|
+
c("div", oa, [j.value.quote ? (p(), s("div", {
|
|
1965
1973
|
key: 0,
|
|
1966
1974
|
class: "mwnf-sh-page__quote",
|
|
1967
1975
|
innerHTML: b(r).md(j.value.quote)
|
|
1968
|
-
}, null, 8,
|
|
1976
|
+
}, null, 8, sa)) : o("", !0), j.value.description ? (p(), s("div", {
|
|
1969
1977
|
key: 1,
|
|
1970
1978
|
innerHTML: b(r).md(j.value.description)
|
|
1971
|
-
}, null, 8,
|
|
1972
|
-
c("div",
|
|
1973
|
-
c("span",
|
|
1979
|
+
}, null, 8, ca)) : o("", !0)]),
|
|
1980
|
+
c("div", la, [c("b", null, [
|
|
1981
|
+
c("span", ua, y(b(d)("page.moreAbout")), 1),
|
|
1974
1982
|
i[1] ||= c("br", null, null, -1),
|
|
1975
|
-
c("span",
|
|
1983
|
+
c("span", da, y(b(w)(k.value.id).title), 1)
|
|
1976
1984
|
]), c("ul", null, [c("li", null, [c("img", {
|
|
1977
1985
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1978
1986
|
alt: "",
|
|
1979
1987
|
class: "mwnf-sh-arrow",
|
|
1980
1988
|
width: "11",
|
|
1981
1989
|
height: "8"
|
|
1982
|
-
}, null, 8,
|
|
1990
|
+
}, null, 8, fa), e.page === 0 ? (p(), s("span", pa, y(b(d)("home.overview")), 1)) : (p(), a(f, {
|
|
1983
1991
|
key: 1,
|
|
1984
1992
|
to: {
|
|
1985
1993
|
name: "theme",
|
|
@@ -1994,7 +2002,7 @@ var dr = {
|
|
|
1994
2002
|
class: "mwnf-sh-arrow",
|
|
1995
2003
|
width: "11",
|
|
1996
2004
|
height: "8"
|
|
1997
|
-
}, null, 8,
|
|
2005
|
+
}, null, 8, ma), e.page === n + 1 ? (p(), s("span", ha, y(b(w)(t.id).title), 1)) : (p(), a(f, {
|
|
1998
2006
|
key: 1,
|
|
1999
2007
|
to: {
|
|
2000
2008
|
name: "subtheme",
|
|
@@ -2004,72 +2012,72 @@ var dr = {
|
|
|
2004
2012
|
}
|
|
2005
2013
|
}
|
|
2006
2014
|
}, {
|
|
2007
|
-
default: C(() => [l(y(b(
|
|
2015
|
+
default: C(() => [l(y(b(w)(t.id).title), 1)]),
|
|
2008
2016
|
_: 2
|
|
2009
2017
|
}, 1032, ["to"]))]))), 128))])]),
|
|
2010
|
-
u(
|
|
2011
|
-
title: b(
|
|
2018
|
+
u(oi, {
|
|
2019
|
+
title: b(D),
|
|
2012
2020
|
blocks: R.value
|
|
2013
2021
|
}, null, 8, ["title", "blocks"])
|
|
2014
|
-
]), u(
|
|
2022
|
+
]), u(Zi, {
|
|
2015
2023
|
view: F.value,
|
|
2016
2024
|
"onUpdate:view": i[0] ||= (e) => F.value = e,
|
|
2017
2025
|
slot: M.value[P.value] ?? null
|
|
2018
2026
|
}, null, 8, ["view", "slot"])]),
|
|
2019
|
-
c("div",
|
|
2027
|
+
c("div", ga, [c("div", _a, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
2020
2028
|
src: b(m)("legacy/arrow.gif"),
|
|
2021
2029
|
alt: "",
|
|
2022
2030
|
width: "10",
|
|
2023
2031
|
height: "9"
|
|
2024
|
-
}, null, 8,
|
|
2032
|
+
}, null, 8, va), u(f, { to: { name: "introduction" } }, {
|
|
2025
2033
|
default: C(() => [l(y(b(d)("home.introduction")), 1)]),
|
|
2026
2034
|
_: 1
|
|
2027
|
-
})]), (p(!0), s(n, null, g(b(
|
|
2035
|
+
})]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
|
|
2028
2036
|
src: b(m)("legacy/arrow.gif"),
|
|
2029
2037
|
alt: "",
|
|
2030
2038
|
width: "10",
|
|
2031
2039
|
height: "9"
|
|
2032
|
-
}, null, 8,
|
|
2040
|
+
}, null, 8, ya), n + 1 === e.theme ? (p(), s("span", ba, y(b(w)(t.id).title), 1)) : (p(), a(f, {
|
|
2033
2041
|
key: 1,
|
|
2034
2042
|
to: {
|
|
2035
2043
|
name: "theme",
|
|
2036
2044
|
params: { theme: n + 1 }
|
|
2037
2045
|
}
|
|
2038
2046
|
}, {
|
|
2039
|
-
default: C(() => [l(y(b(
|
|
2047
|
+
default: C(() => [l(y(b(w)(t.id).title), 1)]),
|
|
2040
2048
|
_: 2
|
|
2041
|
-
}, 1032, ["to"]))]))), 128))])]), c("div",
|
|
2049
|
+
}, 1032, ["to"]))]))), 128))])]), c("div", xa, [u(xr, {
|
|
2042
2050
|
arrow: "legacy/arrow_inner.gif",
|
|
2043
2051
|
"theme-id": k.value.id,
|
|
2044
2052
|
"subtheme-id": e.page === 0 ? null : A.value.id
|
|
2045
|
-
}, null, 8, ["theme-id", "subtheme-id"]), u(
|
|
2053
|
+
}, null, 8, ["theme-id", "subtheme-id"]), u(Er, { class: "mwnf-sh-bottom__windows" })])])
|
|
2046
2054
|
])) : (p(), a(b(E), { key: 0 }));
|
|
2047
2055
|
};
|
|
2048
2056
|
}
|
|
2049
|
-
},
|
|
2057
|
+
}, Ca = { key: 0 }, wa = { class: "mwnf-sh-reading" }, Ta = { class: "mwnf-sh-reading__languages" }, Ea = {
|
|
2050
2058
|
key: 0,
|
|
2051
2059
|
class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
|
|
2052
|
-
},
|
|
2060
|
+
}, Da = {
|
|
2053
2061
|
key: 1,
|
|
2054
2062
|
class: "mwnf-sh-reading__language"
|
|
2055
|
-
},
|
|
2063
|
+
}, Oa = { class: "mwnf-sh-reading__content" }, ka = { class: "mwnf-sh-reading__close" }, Aa = ["src"], ja = { class: "mwnf-sh-reading__title" }, Ma = ["innerHTML"], Na = {
|
|
2056
2064
|
__name: "FurtherReading",
|
|
2057
2065
|
setup(e) {
|
|
2058
2066
|
let { data: t, label: r, lang: a, languageName: d, offered: f, picture: m, root: h, text: _, title: x } = $(), S = i(() => h.value ? _(h.value.id).extra?.bibliography ?? {} : {}), w = i(() => S.value[a.value] ? a.value : "en"), E = i(() => S.value[w.value] ?? []), D = i(() => f.filter((e) => S.value[e]?.length).reverse()), O = () => window.close();
|
|
2059
2067
|
return (e, i) => {
|
|
2060
2068
|
let a = v("router-link");
|
|
2061
|
-
return b(h) ? (p(), s("div",
|
|
2069
|
+
return b(h) ? (p(), s("div", Ca, [u(ti, {
|
|
2062
2070
|
kind: "intro",
|
|
2063
2071
|
heading: b(r)("related.furtherReading"),
|
|
2064
2072
|
paging: !1
|
|
2065
|
-
}, null, 8, ["heading"]), c("div",
|
|
2073
|
+
}, null, 8, ["heading"]), c("div", wa, [c("div", Ta, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", Ea, y(b(d)(e)), 1)) : (p(), s("div", Da, [u(a, { to: {
|
|
2066
2074
|
name: "further-reading",
|
|
2067
2075
|
query: { lang: e }
|
|
2068
2076
|
} }, {
|
|
2069
2077
|
default: C(() => [l(y(b(d)(e)), 1)]),
|
|
2070
2078
|
_: 2
|
|
2071
|
-
}, 1032, ["to"])]))], 64))), 128))]), c("div",
|
|
2072
|
-
c("div",
|
|
2079
|
+
}, 1032, ["to"])]))], 64))), 128))]), c("div", Oa, [
|
|
2080
|
+
c("div", ka, [c("a", {
|
|
2073
2081
|
href: "#",
|
|
2074
2082
|
onClick: T(O, ["prevent"])
|
|
2075
2083
|
}, [c("img", {
|
|
@@ -2077,16 +2085,16 @@ var dr = {
|
|
|
2077
2085
|
alt: "",
|
|
2078
2086
|
width: "11",
|
|
2079
2087
|
height: "8"
|
|
2080
|
-
}, null, 8,
|
|
2081
|
-
c("div",
|
|
2088
|
+
}, null, 8, Aa), l(y(b(r)("reading.close")), 1)])]),
|
|
2089
|
+
c("div", ja, [c("span", null, y(b(x)), 1)]),
|
|
2082
2090
|
(p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
|
|
2083
2091
|
key: e,
|
|
2084
2092
|
innerHTML: b(t).mdInline(e)
|
|
2085
|
-
}, null, 8,
|
|
2093
|
+
}, null, 8, Ma))), 128))
|
|
2086
2094
|
])])])) : o("", !0);
|
|
2087
2095
|
};
|
|
2088
2096
|
}
|
|
2089
|
-
},
|
|
2097
|
+
}, Pa = ["innerHTML"], Fa = {
|
|
2090
2098
|
__name: "Window",
|
|
2091
2099
|
props: { kind: {
|
|
2092
2100
|
type: String,
|
|
@@ -2101,10 +2109,10 @@ var dr = {
|
|
|
2101
2109
|
c("h3", null, y(b(l)), 1),
|
|
2102
2110
|
c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
|
|
2103
2111
|
n[0] ||= c("br", null, null, -1),
|
|
2104
|
-
c("div", { innerHTML: d.value }, null, 8,
|
|
2112
|
+
c("div", { innerHTML: d.value }, null, 8, Pa)
|
|
2105
2113
|
]));
|
|
2106
2114
|
}
|
|
2107
|
-
},
|
|
2115
|
+
}, Ia = ["src"], La = {
|
|
2108
2116
|
__name: "Zoom",
|
|
2109
2117
|
props: { image: {
|
|
2110
2118
|
type: String,
|
|
@@ -2119,58 +2127,58 @@ var dr = {
|
|
|
2119
2127
|
key: 0,
|
|
2120
2128
|
src: c.value,
|
|
2121
2129
|
alt: ""
|
|
2122
|
-
}, null, 8,
|
|
2130
|
+
}, null, 8, Ia)) : o("", !0);
|
|
2123
2131
|
}
|
|
2124
|
-
},
|
|
2132
|
+
}, Ra = [
|
|
2125
2133
|
"collections",
|
|
2126
2134
|
"items",
|
|
2127
2135
|
"countries",
|
|
2128
2136
|
"partners"
|
|
2129
2137
|
];
|
|
2130
|
-
function
|
|
2138
|
+
function za(e) {
|
|
2131
2139
|
return [
|
|
2132
2140
|
{
|
|
2133
2141
|
path: "/",
|
|
2134
2142
|
name: "home",
|
|
2135
|
-
component:
|
|
2136
|
-
meta: e("home", ...
|
|
2143
|
+
component: Gr,
|
|
2144
|
+
meta: e("home", ...Ra)
|
|
2137
2145
|
},
|
|
2138
2146
|
{
|
|
2139
2147
|
path: "/introduction",
|
|
2140
2148
|
name: "introduction",
|
|
2141
|
-
component:
|
|
2142
|
-
meta: e("introduction", ...
|
|
2149
|
+
component: ji,
|
|
2150
|
+
meta: e("introduction", ...Ra)
|
|
2143
2151
|
},
|
|
2144
2152
|
{
|
|
2145
2153
|
path: "/theme/:theme(\\d+)",
|
|
2146
2154
|
name: "theme",
|
|
2147
|
-
component:
|
|
2155
|
+
component: Sa,
|
|
2148
2156
|
props: (e) => ({
|
|
2149
2157
|
theme: Number(e.params.theme),
|
|
2150
2158
|
page: 0
|
|
2151
2159
|
}),
|
|
2152
|
-
meta: e("theme", ...
|
|
2160
|
+
meta: e("theme", ...Ra)
|
|
2153
2161
|
},
|
|
2154
2162
|
{
|
|
2155
2163
|
path: "/theme/:theme(\\d+)/:page(\\d+)",
|
|
2156
2164
|
name: "subtheme",
|
|
2157
|
-
component:
|
|
2165
|
+
component: Sa,
|
|
2158
2166
|
props: (e) => ({
|
|
2159
2167
|
theme: Number(e.params.theme),
|
|
2160
2168
|
page: Number(e.params.page)
|
|
2161
2169
|
}),
|
|
2162
|
-
meta: e("subtheme", ...
|
|
2170
|
+
meta: e("subtheme", ...Ra)
|
|
2163
2171
|
},
|
|
2164
2172
|
{
|
|
2165
2173
|
path: "/further-reading",
|
|
2166
2174
|
name: "further-reading",
|
|
2167
|
-
component:
|
|
2175
|
+
component: Na,
|
|
2168
2176
|
meta: e("further-reading", "collections")
|
|
2169
2177
|
},
|
|
2170
2178
|
{
|
|
2171
2179
|
path: "/credits",
|
|
2172
2180
|
name: "credits",
|
|
2173
|
-
component:
|
|
2181
|
+
component: Fa,
|
|
2174
2182
|
props: { kind: "curators" },
|
|
2175
2183
|
meta: {
|
|
2176
2184
|
...e("credits", "collections"),
|
|
@@ -2180,7 +2188,7 @@ function La(e) {
|
|
|
2180
2188
|
{
|
|
2181
2189
|
path: "/cover-image",
|
|
2182
2190
|
name: "cover-image",
|
|
2183
|
-
component:
|
|
2191
|
+
component: Fa,
|
|
2184
2192
|
props: { kind: "coverImage" },
|
|
2185
2193
|
meta: {
|
|
2186
2194
|
...e("cover-image", "collections"),
|
|
@@ -2190,7 +2198,7 @@ function La(e) {
|
|
|
2190
2198
|
{
|
|
2191
2199
|
path: "/zoom",
|
|
2192
2200
|
name: "zoom",
|
|
2193
|
-
component:
|
|
2201
|
+
component: La,
|
|
2194
2202
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2195
2203
|
meta: {
|
|
2196
2204
|
...e("zoom", "collections"),
|
|
@@ -2199,8 +2207,8 @@ function La(e) {
|
|
|
2199
2207
|
}
|
|
2200
2208
|
];
|
|
2201
2209
|
}
|
|
2202
|
-
var
|
|
2203
|
-
function
|
|
2210
|
+
var Ba = "https://www.museumwnf.org/about/language-policy";
|
|
2211
|
+
function Va({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
2204
2212
|
let i = [{
|
|
2205
2213
|
label: "header.project",
|
|
2206
2214
|
href: `${t}/#/about`
|
|
@@ -2274,7 +2282,7 @@ function za({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2274
2282
|
},
|
|
2275
2283
|
{
|
|
2276
2284
|
label: "footer.languagePolicy",
|
|
2277
|
-
href:
|
|
2285
|
+
href: Ba
|
|
2278
2286
|
},
|
|
2279
2287
|
{
|
|
2280
2288
|
label: "footer.cookies",
|
|
@@ -2283,7 +2291,7 @@ function za({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2283
2291
|
]
|
|
2284
2292
|
};
|
|
2285
2293
|
}
|
|
2286
|
-
function
|
|
2294
|
+
function Ha({ parent: e, texts: t = rr, ...n }) {
|
|
2287
2295
|
return {
|
|
2288
2296
|
parent: e,
|
|
2289
2297
|
texts: t,
|
|
@@ -2292,4 +2300,4 @@ function Ba({ parent: e, texts: t = rr, ...n }) {
|
|
|
2292
2300
|
};
|
|
2293
2301
|
}
|
|
2294
2302
|
//#endregion
|
|
2295
|
-
export { Be as EXHIBITION_ENTITIES, ve as ISLAMICART_NO_COUNTRY, Y as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, he as MinisiteShell, kn as MinisiteZoom, _e as PLACEHOLDER_TITLE, rr as SHARINGHISTORY_LABELS,
|
|
2303
|
+
export { Be as EXHIBITION_ENTITIES, ve as ISLAMICART_NO_COUNTRY, Y as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, he as MinisiteShell, kn as MinisiteZoom, _e as PLACEHOLDER_TITLE, rr as SHARINGHISTORY_LABELS, pr as SHARINGHISTORY_WINDOWS, Na as SharingHistoryFurtherReading, Gr as SharingHistoryHome, ji as SharingHistoryIntroduction, Sa as SharingHistoryPage, nr as SharingHistoryShell, Fa as SharingHistoryWindow, La as SharingHistoryZoom, Mn as baroqueartMenu, J as cleanText, Me as curatorLabel, Ne as curatorLink, De as detailViewCaption, ze as exhibitionData, Fe as familyOf, je as introCaption, jn as islamicartMenu, Ie as labelSet, Pn as minisiteNavigation, An as minisiteRoutes, Fn as minisiteSettings, be as pageWithNeighbours, Ee as placementCaption, Pe as quoteHasItalics, ye as readingOrder, dr as sharinghistoryCaption, sr as sharinghistoryListedSubthemes, or as sharinghistoryListedThemes, Va as sharinghistoryNavigation, cr as sharinghistoryPageRoute, lr as sharinghistoryPageWithNext, ar as sharinghistoryReadingOrder, fr as sharinghistoryRelatedLinks, za as sharinghistoryRoutes, Ha as sharinghistorySettings, ur as sharinghistorySlotsOf, ke as sheetItemId, xe as slotsOf, X as useExhibition, $ as useSharingHistoryExhibition, Ae as viewPicture, Oe as withFirstView };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@museumwnf/viewer-layout",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.1",
|
|
4
4
|
"description": "Page structure for MWNF websites: PageShell composing seven optional, token-styled sections, the content components a page is made of, and the composed views a website names instead of writing a page.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|