@museumwnf/viewer-layout 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ItemDetailView-BdGFnbLG.js → ItemDetailView-CzSe_jZn.js} +1 -1
- package/dist/{SiteShell-4vV2jIzf.js → SiteShell-CXMfLqzq.js} +5 -3
- package/dist/{Theme-CZ-OVXao.js → Theme-tF4wOaNa.js} +2 -2
- package/dist/{chrome-DPuPeWzV.js → chrome-i1DOEyLS.js} +84 -66
- package/dist/components.js +1 -1
- package/dist/{data-DTbAYdr2.js → data-CCcDVsTG.js} +1 -1
- package/dist/{data-CJlLA-Mf.js → data-CGFEbGab.js} +1 -1
- package/dist/dxa.js +8 -8
- package/dist/index.js +1 -1
- package/dist/standalone.js +157 -113
- package/dist/{themeSpecs-B885l456.js → themeSpecs-C2Y2abxd.js} +1 -1
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
- package/src/tokens.reference.css +16 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./chrome-
|
|
1
|
+
import { t as e } from "./chrome-i1DOEyLS.js";
|
|
2
2
|
import { r as t } from "./GlossaryPopover-DcptyNWI.js";
|
|
3
3
|
import { n } from "./TimelineEventList-gsoc-SBx.js";
|
|
4
4
|
import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-BfJoPonn.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, r as t } from "./chrome-
|
|
1
|
+
import { a as e, r as t } from "./chrome-i1DOEyLS.js";
|
|
2
2
|
import { computed as n, createBlock as r, createSlots as i, mergeProps as a, openBlock as o, renderSlot as s, useAttrs as c, withCtx as l } from "vue";
|
|
3
3
|
import { mwnfLinks as u, useI18n as d, useSection as f, useSiteConfig as p, useSiteRights as m } from "@museumwnf/viewer-core";
|
|
4
4
|
import { useRouter as h } from "vue-router";
|
|
@@ -62,11 +62,13 @@ var g = /*@__PURE__*/ Object.assign({ inheritAttrs: !1 }, {
|
|
|
62
62
|
}
|
|
63
63
|
function F(e, { active: t = !1 } = {}) {
|
|
64
64
|
let n = {
|
|
65
|
-
label: v(e.label),
|
|
65
|
+
label: e.text ?? v(e.label),
|
|
66
66
|
href: N(e),
|
|
67
67
|
external: !!e.external
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
t && (n.active = e.section === x.value);
|
|
70
|
+
let r = typeof e.children == "function" ? e.children() : e.children;
|
|
71
|
+
return Array.isArray(r) && r.length && (n.children = r.filter(P).map((e) => F(e))), n;
|
|
70
72
|
}
|
|
71
73
|
let I = n(() => Array.isArray(w.value.links) ? w.value.links.filter(P).map((e) => F(e, { active: !0 })) : null), L = n(() => Array.isArray(w.value.headerLinks) ? w.value.headerLinks.map((e) => F(e)) : null), R = n(() => (Array.isArray(w.value.footerLinks) ? w.value.footerLinks : O).map((e) => F(e))), z = n(() => {
|
|
72
74
|
let e = w.value.search;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, i as t } from "./GlossaryPopover-DcptyNWI.js";
|
|
2
2
|
import { o as n } from "./TimelineResultsView-C2-TnM71.js";
|
|
3
|
-
import { A as r, F as i, h as a, m as o } from "./data-
|
|
4
|
-
import { n as s, r as c, t as l } from "./themeSpecs-
|
|
3
|
+
import { A as r, F as i, h as a, m as o } from "./data-CGFEbGab.js";
|
|
4
|
+
import { n as s, r as c, t as l } from "./themeSpecs-C2Y2abxd.js";
|
|
5
5
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, normalizeClass as v, onMounted as ee, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vModelCheckbox as w, watch as T, withCtx as E, withDirectives as D } from "vue";
|
|
6
6
|
import { renderBlock as O, useI18n as k } from "@museumwnf/viewer-core";
|
|
7
7
|
import { RouterLink as A, useRoute as te, useRouter as ne } from "vue-router";
|
|
@@ -362,15 +362,23 @@ var w = {
|
|
|
362
362
|
}, ke = [
|
|
363
363
|
"href",
|
|
364
364
|
"aria-current",
|
|
365
|
+
"aria-haspopup",
|
|
365
366
|
"target",
|
|
366
367
|
"rel"
|
|
367
368
|
], Ae = {
|
|
369
|
+
key: 0,
|
|
370
|
+
class: "mwnf-nav__sublinks"
|
|
371
|
+
}, je = [
|
|
372
|
+
"href",
|
|
373
|
+
"target",
|
|
374
|
+
"rel"
|
|
375
|
+
], Me = {
|
|
368
376
|
key: 1,
|
|
369
377
|
class: "mwnf-nav__language"
|
|
370
|
-
},
|
|
378
|
+
}, Ne = { class: "mwnf-nav__language-label" }, Pe = ["value"], Fe = ["value"], Ie = {
|
|
371
379
|
key: 0,
|
|
372
380
|
class: "mwnf-nav__notice"
|
|
373
|
-
},
|
|
381
|
+
}, Le = {
|
|
374
382
|
key: 0,
|
|
375
383
|
class: "mwnf-nav__notice-title"
|
|
376
384
|
}, U = {
|
|
@@ -419,29 +427,39 @@ var w = {
|
|
|
419
427
|
"aria-expanded": w.value ? "true" : "false",
|
|
420
428
|
"aria-controls": "mwnf-nav-links",
|
|
421
429
|
onClick: o[0] ||= (e) => w.value = !w.value
|
|
422
|
-
}, [o[
|
|
430
|
+
}, [o[4] ||= a("span", {
|
|
423
431
|
class: "mwnf-nav__toggle-icon",
|
|
424
432
|
"aria-hidden": "true"
|
|
425
433
|
}, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, De)) : r("", !0),
|
|
426
|
-
p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Oe, [(u(!0), i(e, null, f(n.links, (
|
|
427
|
-
|
|
434
|
+
p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Oe, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
|
|
435
|
+
key: t.href ?? t.label,
|
|
436
|
+
class: l({ "mwnf-nav__item--parent": t.children?.length })
|
|
437
|
+
}, [a("a", {
|
|
438
|
+
class: l(["mwnf-nav__link", { "mwnf-nav__link--active": t.active }]),
|
|
439
|
+
href: t.href,
|
|
440
|
+
"aria-current": t.active ? "page" : void 0,
|
|
441
|
+
"aria-haspopup": t.children?.length ? "true" : void 0,
|
|
442
|
+
target: t.external ? "_blank" : void 0,
|
|
443
|
+
rel: t.external ? "noopener" : void 0,
|
|
444
|
+
onClick: o[1] ||= (e) => w.value = !1
|
|
445
|
+
}, h(t.label), 11, ke), t.children?.length ? (u(), i("ul", Ae, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
|
|
446
|
+
class: "mwnf-nav__sublink",
|
|
428
447
|
href: e.href,
|
|
429
|
-
"aria-current": e.active ? "page" : void 0,
|
|
430
448
|
target: e.external ? "_blank" : void 0,
|
|
431
449
|
rel: e.external ? "noopener" : void 0,
|
|
432
|
-
onClick: o[
|
|
433
|
-
}, h(e.label),
|
|
434
|
-
x.value ? (u(), i("label",
|
|
450
|
+
onClick: o[2] ||= (e) => w.value = !1
|
|
451
|
+
}, h(e.label), 9, je)]))), 128))])) : r("", !0)], 2))), 128))])) : r("", !0)]),
|
|
452
|
+
x.value ? (u(), i("label", Me, [a("span", Ne, h(g(y)("layout.language.label")), 1), a("select", {
|
|
435
453
|
class: "mwnf-nav__language-select",
|
|
436
454
|
value: n.language,
|
|
437
|
-
onChange: o[
|
|
455
|
+
onChange: o[3] ||= (e) => m("update:language", e.target.value)
|
|
438
456
|
}, [(u(!0), i(e, null, f(b.value, (e) => (u(), i("option", {
|
|
439
457
|
key: e.code,
|
|
440
458
|
value: e.code
|
|
441
|
-
}, h(e.label), 9,
|
|
442
|
-
]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p",
|
|
459
|
+
}, h(e.label), 9, Fe))), 128))], 40, Pe)])) : r("", !0)
|
|
460
|
+
]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Ie, [n.notice.title ? (u(), i("strong", Le, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)], 10, Te)) : r("", !0);
|
|
443
461
|
}
|
|
444
|
-
},
|
|
462
|
+
}, Re = {
|
|
445
463
|
key: 0,
|
|
446
464
|
id: "mwnf-content",
|
|
447
465
|
class: "mwnf-content"
|
|
@@ -452,22 +470,22 @@ var w = {
|
|
|
452
470
|
function n() {
|
|
453
471
|
return !!t.default;
|
|
454
472
|
}
|
|
455
|
-
return (e, t) => n() ? (u(), i("main",
|
|
473
|
+
return (e, t) => n() ? (u(), i("main", Re, [p(e.$slots, "default")])) : r("", !0);
|
|
456
474
|
}
|
|
457
|
-
},
|
|
475
|
+
}, ze = ["aria-label"], Be = {
|
|
458
476
|
key: 0,
|
|
459
477
|
class: "mwnf-hyperlinks__title"
|
|
460
|
-
},
|
|
478
|
+
}, Ve = {
|
|
461
479
|
key: 1,
|
|
462
480
|
class: "mwnf-hyperlinks__subtitle"
|
|
463
|
-
},
|
|
481
|
+
}, He = {
|
|
464
482
|
key: 1,
|
|
465
483
|
class: "mwnf-hyperlinks__title"
|
|
466
|
-
},
|
|
484
|
+
}, Ue = { class: "mwnf-hyperlinks__list" }, We = [
|
|
467
485
|
"href",
|
|
468
486
|
"target",
|
|
469
487
|
"rel"
|
|
470
|
-
],
|
|
488
|
+
], Ge = { class: "mwnf-hyperlinks__label" }, Ke = {
|
|
471
489
|
key: 0,
|
|
472
490
|
class: "mwnf-hyperlinks__description"
|
|
473
491
|
}, G = {
|
|
@@ -508,28 +526,28 @@ var w = {
|
|
|
508
526
|
class: "mwnf-hyperlinks__lockup",
|
|
509
527
|
href: t.titleHref || void 0
|
|
510
528
|
}, {
|
|
511
|
-
default: y(() => [t.title ? (u(), i("p",
|
|
529
|
+
default: y(() => [t.title ? (u(), i("p", Be, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", Ve, h(t.subtitle), 1)) : r("", !0)]),
|
|
512
530
|
_: 1
|
|
513
|
-
}, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p",
|
|
531
|
+
}, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", He, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Ue, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
|
|
514
532
|
class: "mwnf-hyperlinks__link",
|
|
515
533
|
href: e.href,
|
|
516
534
|
target: e.external ? "_blank" : void 0,
|
|
517
535
|
rel: e.external ? "noopener" : void 0
|
|
518
|
-
}, [a("span",
|
|
536
|
+
}, [a("span", Ge, h(e.label), 1), e.description ? (u(), i("span", Ke, h(e.description), 1)) : r("", !0)], 8, We)]))), 128))])])], 10, ze)) : r("", !0);
|
|
519
537
|
}
|
|
520
|
-
},
|
|
538
|
+
}, qe = ["aria-label"], Je = {
|
|
521
539
|
key: 0,
|
|
522
540
|
class: "mwnf-sponsors__title"
|
|
523
|
-
},
|
|
541
|
+
}, Ye = {
|
|
524
542
|
key: 0,
|
|
525
543
|
class: "mwnf-sponsors__list"
|
|
526
|
-
},
|
|
544
|
+
}, Xe = ["src", "alt"], Ze = {
|
|
527
545
|
key: 1,
|
|
528
546
|
class: "mwnf-sponsors__groups"
|
|
529
|
-
},
|
|
547
|
+
}, Qe = {
|
|
530
548
|
key: 0,
|
|
531
549
|
class: "mwnf-sponsors__group-title"
|
|
532
|
-
},
|
|
550
|
+
}, $e = { class: "mwnf-sponsors__list" }, et = ["src", "alt"], K = {
|
|
533
551
|
__name: "AppSponsors",
|
|
534
552
|
props: {
|
|
535
553
|
title: {
|
|
@@ -554,7 +572,7 @@ var w = {
|
|
|
554
572
|
key: 0,
|
|
555
573
|
class: "mwnf-sponsors",
|
|
556
574
|
"aria-label": o.title || g(d)("layout.sponsors.label")
|
|
557
|
-
}, [o.title ? (u(), i("p",
|
|
575
|
+
}, [o.title ? (u(), i("p", Je, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", Ye, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
|
|
558
576
|
class: "mwnf-sponsors__item",
|
|
559
577
|
href: t.href,
|
|
560
578
|
target: t.href ? "_blank" : void 0,
|
|
@@ -565,16 +583,16 @@ var w = {
|
|
|
565
583
|
class: "mwnf-sponsors__logo",
|
|
566
584
|
src: t.logo,
|
|
567
585
|
alt: t.name
|
|
568
|
-
}, null, 8,
|
|
586
|
+
}, null, 8, Xe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
|
|
569
587
|
_: 2
|
|
570
588
|
}, 1032, [
|
|
571
589
|
"href",
|
|
572
590
|
"target",
|
|
573
591
|
"rel"
|
|
574
|
-
]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div",
|
|
592
|
+
]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Ze, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
|
|
575
593
|
key: t.title,
|
|
576
594
|
class: "mwnf-sponsors__group"
|
|
577
|
-
}, [t.title ? (u(), i("p",
|
|
595
|
+
}, [t.title ? (u(), i("p", Qe, h(t.title), 1)) : r("", !0), a("ul", $e, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
|
|
578
596
|
class: "mwnf-sponsors__item",
|
|
579
597
|
href: t.href,
|
|
580
598
|
target: t.href ? "_blank" : void 0,
|
|
@@ -586,14 +604,14 @@ var w = {
|
|
|
586
604
|
class: "mwnf-sponsors__logo",
|
|
587
605
|
src: t.logo,
|
|
588
606
|
alt: t.name
|
|
589
|
-
}, null, 8,
|
|
607
|
+
}, null, 8, et)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
|
|
590
608
|
_: 2
|
|
591
609
|
}, 1032, [
|
|
592
610
|
"href",
|
|
593
611
|
"target",
|
|
594
612
|
"rel",
|
|
595
613
|
"title"
|
|
596
|
-
]))]))), 128))])]))), 128))])) : r("", !0)])], 8,
|
|
614
|
+
]))]))), 128))])]))), 128))])) : r("", !0)])], 8, qe)) : r("", !0);
|
|
597
615
|
}
|
|
598
616
|
}, q = {
|
|
599
617
|
youtube: {
|
|
@@ -620,7 +638,7 @@ var w = {
|
|
|
620
638
|
viewBox: "0 0 448 512",
|
|
621
639
|
path: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
|
|
622
640
|
}
|
|
623
|
-
},
|
|
641
|
+
}, tt = Object.freeze([
|
|
624
642
|
{
|
|
625
643
|
label: "YouTube",
|
|
626
644
|
href: "https://www.youtube.com/channel/UC5X2a5jDFyIfTEV5prWNF5Q",
|
|
@@ -651,14 +669,14 @@ var w = {
|
|
|
651
669
|
href: "https://www.linkedin.com/company/museum-with-no-frontiers/",
|
|
652
670
|
icon: "linkedin"
|
|
653
671
|
}
|
|
654
|
-
]),
|
|
672
|
+
]), nt = {
|
|
655
673
|
key: 0,
|
|
656
674
|
class: "mwnf-footer__social"
|
|
657
|
-
},
|
|
675
|
+
}, rt = [
|
|
658
676
|
"href",
|
|
659
677
|
"aria-label",
|
|
660
678
|
"title"
|
|
661
|
-
],
|
|
679
|
+
], it = ["viewBox"], at = ["d"], J = {
|
|
662
680
|
__name: "SocialLinks",
|
|
663
681
|
props: { links: {
|
|
664
682
|
type: Array,
|
|
@@ -666,7 +684,7 @@ var w = {
|
|
|
666
684
|
} },
|
|
667
685
|
setup(n) {
|
|
668
686
|
let o = n, s = t(() => o.links.filter((e) => q[e.icon]));
|
|
669
|
-
return (t, n) => s.value.length ? (u(), i("ul",
|
|
687
|
+
return (t, n) => s.value.length ? (u(), i("ul", nt, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
|
|
670
688
|
class: "mwnf-footer__social-link",
|
|
671
689
|
href: e.href,
|
|
672
690
|
target: "_blank",
|
|
@@ -681,28 +699,28 @@ var w = {
|
|
|
681
699
|
}, [a("path", {
|
|
682
700
|
fill: "currentColor",
|
|
683
701
|
d: g(q)[e.icon].path
|
|
684
|
-
}, null, 8,
|
|
702
|
+
}, null, 8, at)], 8, it))], 8, rt)]))), 128))])) : r("", !0);
|
|
685
703
|
}
|
|
686
|
-
},
|
|
704
|
+
}, ot = {
|
|
687
705
|
key: 0,
|
|
688
706
|
class: "mwnf-footer"
|
|
689
|
-
},
|
|
707
|
+
}, st = {
|
|
690
708
|
key: 0,
|
|
691
709
|
class: "mwnf-footer__links"
|
|
692
|
-
},
|
|
710
|
+
}, ct = [
|
|
693
711
|
"href",
|
|
694
712
|
"target",
|
|
695
713
|
"rel"
|
|
696
|
-
],
|
|
714
|
+
], lt = {
|
|
697
715
|
key: 1,
|
|
698
716
|
class: "mwnf-footer__text"
|
|
699
|
-
},
|
|
717
|
+
}, ut = {
|
|
700
718
|
key: 2,
|
|
701
719
|
class: "mwnf-footer__attribution"
|
|
702
|
-
},
|
|
720
|
+
}, dt = {
|
|
703
721
|
key: 0,
|
|
704
722
|
class: "mwnf-footer__attribution-label"
|
|
705
|
-
},
|
|
723
|
+
}, ft = ["href"], Y = {
|
|
706
724
|
__name: "AppFooter",
|
|
707
725
|
props: {
|
|
708
726
|
text: {
|
|
@@ -739,30 +757,30 @@ var w = {
|
|
|
739
757
|
function m() {
|
|
740
758
|
return !!(l.default || o.text || o.links.length || o.attributionText || d.value.length);
|
|
741
759
|
}
|
|
742
|
-
return (t, o) => m() ? (u(), i("footer",
|
|
743
|
-
n.links.length ? (u(), i("ul",
|
|
760
|
+
return (t, o) => m() ? (u(), i("footer", ot, [p(t.$slots, "default", {}, () => [
|
|
761
|
+
n.links.length ? (u(), i("ul", st, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
|
|
744
762
|
class: "mwnf-footer__link",
|
|
745
763
|
href: e.href,
|
|
746
764
|
target: e.external ? "_blank" : void 0,
|
|
747
765
|
rel: e.external ? "noopener" : void 0
|
|
748
|
-
}, h(e.label), 9,
|
|
749
|
-
n.text ? (u(), i("p",
|
|
750
|
-
n.attributionText ? (u(), i("p",
|
|
751
|
-
n.attributionLabel ? (u(), i("span",
|
|
766
|
+
}, h(e.label), 9, ct)]))), 128))])) : r("", !0),
|
|
767
|
+
n.text ? (u(), i("p", lt, h(n.text), 1)) : r("", !0),
|
|
768
|
+
n.attributionText ? (u(), i("p", ut, [
|
|
769
|
+
n.attributionLabel ? (u(), i("span", dt, h(n.attributionLabel), 1)) : r("", !0),
|
|
752
770
|
s(" " + h(n.attributionText) + " ", 1),
|
|
753
771
|
n.termsHref ? (u(), i("a", {
|
|
754
772
|
key: 1,
|
|
755
773
|
class: "mwnf-footer__terms",
|
|
756
774
|
href: n.termsHref
|
|
757
|
-
}, h(n.termsLabel), 9,
|
|
775
|
+
}, h(n.termsLabel), 9, ft)) : r("", !0)
|
|
758
776
|
])) : r("", !0),
|
|
759
777
|
c(J, { links: d.value }, null, 8, ["links"])
|
|
760
778
|
])])) : r("", !0);
|
|
761
779
|
}
|
|
762
|
-
},
|
|
780
|
+
}, pt = { class: "mwnf-page" }, mt = {
|
|
763
781
|
class: "mwnf-skip-link",
|
|
764
782
|
href: "#mwnf-content"
|
|
765
|
-
},
|
|
783
|
+
}, ht = {
|
|
766
784
|
__name: "PageShell",
|
|
767
785
|
props: {
|
|
768
786
|
headerTitle: {
|
|
@@ -953,8 +971,8 @@ var w = {
|
|
|
953
971
|
emits: ["update:language", "search"],
|
|
954
972
|
setup(r, { emit: s }) {
|
|
955
973
|
let l = r, d = s, { t: m } = C(), _ = t(() => l.navigationPlacement === "before-banner" ? ["navigation", "banner"] : ["banner", "navigation"]);
|
|
956
|
-
return (t, s) => (u(), i("div",
|
|
957
|
-
a("a",
|
|
974
|
+
return (t, s) => (u(), i("div", pt, [
|
|
975
|
+
a("a", mt, h(g(m)("layout.nav.skipToContent")), 1),
|
|
958
976
|
c(N, {
|
|
959
977
|
title: r.headerTitle,
|
|
960
978
|
subtitle: r.headerSubtitle,
|
|
@@ -1083,7 +1101,7 @@ var w = {
|
|
|
1083
1101
|
"sponsors",
|
|
1084
1102
|
"groups"
|
|
1085
1103
|
]),
|
|
1086
|
-
c(
|
|
1104
|
+
c(Y, {
|
|
1087
1105
|
text: r.footerText,
|
|
1088
1106
|
links: r.footerLinks,
|
|
1089
1107
|
social: r.footerSocial,
|
|
@@ -1106,8 +1124,8 @@ var w = {
|
|
|
1106
1124
|
])
|
|
1107
1125
|
]));
|
|
1108
1126
|
}
|
|
1109
|
-
},
|
|
1110
|
-
function
|
|
1127
|
+
}, X = /^.*?theme\/assets\//, Z = /* @__PURE__ */ new WeakMap();
|
|
1128
|
+
function gt(e) {
|
|
1111
1129
|
let t = Z.get(e);
|
|
1112
1130
|
if (!t) {
|
|
1113
1131
|
t = /* @__PURE__ */ new Map();
|
|
@@ -1117,18 +1135,18 @@ function mt(e) {
|
|
|
1117
1135
|
return t;
|
|
1118
1136
|
}
|
|
1119
1137
|
function Q(e) {
|
|
1120
|
-
return String(e).replaceAll("\\", "/").replace(
|
|
1138
|
+
return String(e).replaceAll("\\", "/").replace(X, "").replace(/^(\.\/|\/)+/, "");
|
|
1121
1139
|
}
|
|
1122
1140
|
function $(e, t) {
|
|
1123
|
-
return !e || typeof e != "object" || !t ? null :
|
|
1141
|
+
return !e || typeof e != "object" || !t ? null : gt(e).get(Q(t)) ?? null;
|
|
1124
1142
|
}
|
|
1125
|
-
function
|
|
1143
|
+
function _t(e, t) {
|
|
1126
1144
|
return t ? $(e, `chrome/${String(t).replace(/^\/+/, "")}`) : null;
|
|
1127
1145
|
}
|
|
1128
|
-
function
|
|
1146
|
+
function vt(e, t) {
|
|
1129
1147
|
return !t || typeof t != "string" ? null : /^(?:[a-z][a-z0-9+.-]*:|\/\/|\/)/i.test(t) ? t : $(e, t);
|
|
1130
1148
|
}
|
|
1131
|
-
function
|
|
1149
|
+
function yt(e, t) {
|
|
1132
1150
|
if (!e || typeof DOMParser > "u") return e;
|
|
1133
1151
|
let n = new DOMParser().parseFromString(`<body>${e}</body>`, "text/html"), r = !1;
|
|
1134
1152
|
for (let e of n.body.querySelectorAll("img[src]")) {
|
|
@@ -1138,4 +1156,4 @@ function _t(e, t) {
|
|
|
1138
1156
|
return r ? n.body.innerHTML : e;
|
|
1139
1157
|
}
|
|
1140
1158
|
//#endregion
|
|
1141
|
-
export {
|
|
1159
|
+
export { ht as a, tt as c, W as d, U as f, yt as i, K as l, N as m, _t as n, Y as o, H as p, vt as r, J as s, $ as t, G as u };
|
package/dist/components.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./SiteShell-
|
|
1
|
+
import { t as e } from "./SiteShell-CXMfLqzq.js";
|
|
2
2
|
export { e as SiteShell };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./chrome-
|
|
1
|
+
import { n as e } from "./chrome-i1DOEyLS.js";
|
|
2
2
|
import { partnerView as t, useSiteConfig as n } from "@museumwnf/viewer-core";
|
|
3
3
|
import { FACET_CATEGORIES as r, FACET_LABEL_KEYS as i, PAGE_SIZE as a, useFacetLabels as o, useGalleryCollection as s, useGalleryData as c, useGalleryItemDetail as l, useGalleryPartner as u, useGalleryTimeline as d } from "@museumwnf/viewer-core/dxa";
|
|
4
4
|
//#region src/dxa/gallery/data.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./chrome-
|
|
1
|
+
import { n as e } from "./chrome-i1DOEyLS.js";
|
|
2
2
|
import { partnerView as t, useSiteConfig as n } from "@museumwnf/viewer-core";
|
|
3
3
|
import { FACET_CATEGORIES as r, FACET_LABEL_KEYS as i, PAGE_SIZE as a, useExhibitionCollection as ee, useExhibitionData as o, useExhibitionItemDetail as s, useExhibitionPartner as c, useExhibitionThemes as l, useExhibitionTimeline as u, useFacetLabels as d } from "@museumwnf/viewer-core/dxa";
|
|
4
4
|
//#region src/dxa/exhibition/data.js
|
package/dist/dxa.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as e, i as t, n, r } from "./Theme-
|
|
2
|
-
import { c as i, i as a, n as o, r as s, t as c } from "./chrome-
|
|
1
|
+
import { a as e, i as t, n, r } from "./Theme-tF4wOaNa.js";
|
|
2
|
+
import { c as i, i as a, n as o, r as s, t as c } from "./chrome-i1DOEyLS.js";
|
|
3
3
|
import { c as l, d as u } from "./GlossaryPopover-DcptyNWI.js";
|
|
4
4
|
import { a as d, c as f, n as p, o as m, s as h } from "./TimelineEventList-gsoc-SBx.js";
|
|
5
5
|
import { s as g } from "./OnDisplayIn-BfJoPonn.js";
|
|
6
6
|
import { a as ee, i as _, n as v, r as y, s as b, t as x } from "./TimelineResultsView-C2-TnM71.js";
|
|
7
7
|
import { t as te } from "./RecordView-DovgfTMz.js";
|
|
8
|
-
import { t as ne } from "./SiteShell-
|
|
9
|
-
import { A as re, C as ie, D as ae, E as oe, M as se, N as ce, O as le, S as ue, T as de, _ as fe, a as pe, b as S, c as me, d as he, f as ge, g as C, h as _e, i as ve, j as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, u as w, v as ke, w as Ae, x as je, y as Me } from "./data-
|
|
10
|
-
import { A as Ne, C as Pe, D as Fe, E as Ie, F as Le, I as Re, L as ze, M as Be, N as Ve, O as He, P as Ue, R as We, S as Ge, T, _ as Ke, a as qe, b as Je, c as Ye, d as Xe, f as E, g as Ze, h as Qe, i as $e, j as et, k as tt, l as nt, m as rt, n as it, o as D, p as at, r as ot, s as st, t as ct, u as lt, v as O, w as k, x as A, y as ut } from "./data-
|
|
11
|
-
import { t as dt } from "./ItemDetailView-
|
|
12
|
-
import { n as ft, r as pt, t as mt } from "./themeSpecs-
|
|
8
|
+
import { t as ne } from "./SiteShell-CXMfLqzq.js";
|
|
9
|
+
import { A as re, C as ie, D as ae, E as oe, M as se, N as ce, O as le, S as ue, T as de, _ as fe, a as pe, b as S, c as me, d as he, f as ge, g as C, h as _e, i as ve, j as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, u as w, v as ke, w as Ae, x as je, y as Me } from "./data-CCcDVsTG.js";
|
|
10
|
+
import { A as Ne, C as Pe, D as Fe, E as Ie, F as Le, I as Re, L as ze, M as Be, N as Ve, O as He, P as Ue, R as We, S as Ge, T, _ as Ke, a as qe, b as Je, c as Ye, d as Xe, f as E, g as Ze, h as Qe, i as $e, j as et, k as tt, l as nt, m as rt, n as it, o as D, p as at, r as ot, s as st, t as ct, u as lt, v as O, w as k, x as A, y as ut } from "./data-CGFEbGab.js";
|
|
11
|
+
import { t as dt } from "./ItemDetailView-CzSe_jZn.js";
|
|
12
|
+
import { n as ft, r as pt, t as mt } from "./themeSpecs-C2Y2abxd.js";
|
|
13
13
|
import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ht, createTextVNode as L, createVNode as R, normalizeClass as gt, normalizeStyle as _t, onBeforeUnmount as vt, onMounted as yt, openBlock as z, ref as B, renderList as V, renderSlot as bt, resolveDynamicComponent as xt, toDisplayString as H, unref as U, vModelText as St, vShow as Ct, withCtx as W, withDirectives as G, withModifiers as wt } from "vue";
|
|
14
14
|
import { I18nText as K, NotFoundView as Tt, languageLabels as Et, loadEntities as q, mwnfLinks as J, offeredLanguages as Dt, renderInline as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as Y, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as X, yearBuckets as Z } from "@museumwnf/viewer-core";
|
|
15
15
|
import { RouterLink as Q, useRoute as Pt, useRouter as Ft } from "vue-router";
|
|
@@ -717,7 +717,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
717
717
|
_: 1
|
|
718
718
|
}, 8, ["spec"])) : P("", !0);
|
|
719
719
|
}
|
|
720
|
-
}, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-
|
|
720
|
+
}, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-tF4wOaNa.js").then((e) => e.t), Fn = () => Promise.resolve().then(() => oi), In = () => Promise.resolve().then(() => ui), Ln = () => Promise.resolve().then(() => pi), Rn = () => Promise.resolve().then(() => hi), zn = {
|
|
721
721
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
722
722
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
723
723
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, l as i, m as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./chrome-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, l as i, m as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./chrome-i1DOEyLS.js";
|
|
2
2
|
import { t as p } from "./FeaturedRecord-DJfyvfqt.js";
|
|
3
3
|
import { a as m, c as h, i as g, l as _, n as v, o as y, r as b, s as x, t as S, u as C } from "./GlossaryPopover-DcptyNWI.js";
|
|
4
4
|
import { a as w, c as T, i as E, n as D, o as O, r as k, s as A, t as j } from "./TimelineEventList-gsoc-SBx.js";
|