@museumwnf/viewer-layout 3.44.0 → 3.46.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.
@@ -16,30 +16,30 @@ var w = {
16
16
  }, A = { class: "mwnf-header__logo-list" }, j = ["src", "alt"], M = {
17
17
  key: 0,
18
18
  class: "mwnf-header__eyebrow"
19
- }, ee = {
19
+ }, N = {
20
20
  key: 1,
21
21
  class: "mwnf-header__title"
22
- }, te = {
22
+ }, P = {
23
23
  key: 2,
24
24
  class: "mwnf-header__subtitle"
25
- }, ne = {
25
+ }, ee = {
26
26
  key: 2,
27
27
  class: "mwnf-header__tools"
28
- }, re = {
28
+ }, te = {
29
29
  key: 0,
30
30
  class: "mwnf-header__links"
31
- }, ie = [
31
+ }, ne = [
32
32
  "href",
33
33
  "target",
34
34
  "rel"
35
- ], ae = ["placeholder", "aria-label"], oe = ["aria-label"], se = ["aria-label"], ce = [
35
+ ], re = ["placeholder", "aria-label"], ie = ["aria-label"], ae = ["aria-label"], oe = [
36
36
  "aria-pressed",
37
37
  "lang",
38
38
  "onClick"
39
- ], le = {
39
+ ], se = {
40
40
  key: 3,
41
41
  class: "mwnf-header__languages"
42
- }, N = { class: "mwnf-header__language-label" }, P = ["value"], F = ["value"], I = {
42
+ }, ce = { class: "mwnf-header__language-label" }, le = ["value"], F = ["value"], I = {
43
43
  __name: "AppHeader",
44
44
  props: {
45
45
  title: {
@@ -150,18 +150,18 @@ var w = {
150
150
  }, {
151
151
  default: y(() => [
152
152
  o.eyebrow ? (u(), i("p", M, h(o.eyebrow), 1)) : r("", !0),
153
- o.title ? (u(), i("p", ee, h(o.title), 1)) : r("", !0),
154
- o.subtitle ? (u(), i("p", te, h(o.subtitle), 1)) : r("", !0)
153
+ o.title ? (u(), i("p", N, h(o.title), 1)) : r("", !0),
154
+ o.subtitle ? (u(), i("p", P, h(o.subtitle), 1)) : r("", !0)
155
155
  ]),
156
156
  _: 1
157
157
  }, 8, ["href"])) : r("", !0),
158
- o.links.length || o.search || B.value ? (u(), i("div", ne, [
159
- o.links.length ? (u(), i("ul", re, [(u(!0), i(e, null, f(o.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
158
+ o.links.length || o.search || B.value ? (u(), i("div", ee, [
159
+ o.links.length ? (u(), i("ul", te, [(u(!0), i(e, null, f(o.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
160
160
  class: "mwnf-header__link",
161
161
  href: e.href,
162
162
  target: e.external ? "_blank" : void 0,
163
163
  rel: e.external ? "noopener" : void 0
164
- }, h(e.label), 9, ie)]))), 128))])) : r("", !0),
164
+ }, h(e.label), 9, ne)]))), 128))])) : r("", !0),
165
165
  o.search ? (u(), i("form", {
166
166
  key: 1,
167
167
  class: "mwnf-header__search",
@@ -173,11 +173,11 @@ var w = {
173
173
  type: "search",
174
174
  placeholder: o.search.placeholder ?? "",
175
175
  "aria-label": o.search.placeholder ?? o.search.submitLabel ?? ""
176
- }, null, 8, ae), [[v, H.value]]), a("button", {
176
+ }, null, 8, re), [[v, H.value]]), a("button", {
177
177
  class: "mwnf-header__search-submit",
178
178
  type: "submit",
179
179
  "aria-label": o.search.submitLabel ?? ""
180
- }, h(o.search.submitText ?? "⌕"), 9, oe)], 32)) : r("", !0),
180
+ }, h(o.search.submitText ?? "⌕"), 9, ie)], 32)) : r("", !0),
181
181
  B.value && o.languageStyle === "buttons" ? (u(), i("div", {
182
182
  key: 2,
183
183
  class: "mwnf-header__languages",
@@ -190,14 +190,14 @@ var w = {
190
190
  "aria-pressed": e.code === o.language ? "true" : "false",
191
191
  lang: e.code,
192
192
  onClick: (t) => I("update:language", e.code)
193
- }, h(e.label), 11, ce))), 128))], 8, se)) : B.value ? (u(), i("label", le, [a("span", N, h(g(R)("layout.language.label")), 1), a("select", {
193
+ }, h(e.label), 11, oe))), 128))], 8, ae)) : B.value ? (u(), i("label", se, [a("span", ce, h(g(R)("layout.language.label")), 1), a("select", {
194
194
  class: "mwnf-header__language-select",
195
195
  value: o.language,
196
196
  onChange: c[1] ||= (e) => I("update:language", e.target.value)
197
197
  }, [(u(!0), i(e, null, f(z.value, (e) => (u(), i("option", {
198
198
  key: e.code,
199
199
  value: e.code
200
- }, h(e.label), 9, F))), 128))], 40, P)])) : r("", !0)
200
+ }, h(e.label), 9, F))), 128))], 40, le)])) : r("", !0)
201
201
  ])) : r("", !0)
202
202
  ])])])) : r("", !0);
203
203
  }
@@ -366,20 +366,24 @@ var w = {
366
366
  "aria-haspopup",
367
367
  "target",
368
368
  "rel"
369
- ], De = {
370
- key: 0,
369
+ ], De = [
370
+ "aria-label",
371
+ "aria-expanded",
372
+ "onClick"
373
+ ], Oe = {
374
+ key: 1,
371
375
  class: "mwnf-nav__sublinks"
372
- }, Oe = [
376
+ }, ke = [
373
377
  "href",
374
378
  "target",
375
379
  "rel"
376
- ], ke = {
380
+ ], Ae = {
377
381
  key: 1,
378
382
  class: "mwnf-nav__language"
379
- }, Ae = { class: "mwnf-nav__language-label" }, je = ["value"], Me = ["value"], Ne = {
380
- key: 0,
383
+ }, je = { class: "mwnf-nav__language-label" }, Me = ["value"], Ne = ["value"], Pe = {
384
+ key: 1,
381
385
  class: "mwnf-nav__notice"
382
- }, Pe = {
386
+ }, Fe = {
383
387
  key: 0,
384
388
  class: "mwnf-nav__notice-title"
385
389
  }, K = {
@@ -415,52 +419,79 @@ var w = {
415
419
  function S() {
416
420
  return !!(v.default || c.links.length || x.value || c.notice);
417
421
  }
418
- let w = d(!1);
422
+ let w = d(!1), T = d(/* @__PURE__ */ new Set());
423
+ function E(e) {
424
+ let t = new Set(T.value);
425
+ t.has(e) ? t.delete(e) : t.add(e), T.value = t;
426
+ }
419
427
  return (t, o) => S() ? (u(), i("nav", {
420
428
  key: 0,
421
429
  class: l(["mwnf-nav", { "mwnf-nav--open": w.value }]),
422
430
  "aria-label": g(y)("layout.nav.label")
423
- }, [a("div", Ce, [
424
- n.links.length ? (u(), i("button", {
431
+ }, [
432
+ a("div", Ce, [
433
+ n.links.length ? (u(), i("button", {
434
+ key: 0,
435
+ type: "button",
436
+ class: "mwnf-nav__toggle",
437
+ "aria-expanded": w.value ? "true" : "false",
438
+ "aria-controls": "mwnf-nav-links",
439
+ onClick: o[0] ||= (e) => w.value = !w.value
440
+ }, [o[5] ||= a("span", {
441
+ class: "mwnf-nav__toggle-icon",
442
+ "aria-hidden": "true"
443
+ }, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, we)) : r("", !0),
444
+ p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Te, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
445
+ key: t.href ?? t.label,
446
+ class: l({
447
+ "mwnf-nav__item--parent": t.children?.length,
448
+ "mwnf-nav__item--unfolded": T.value.has(t.href ?? t.label)
449
+ })
450
+ }, [
451
+ a("a", {
452
+ class: l(["mwnf-nav__link", { "mwnf-nav__link--active": t.active }]),
453
+ href: t.href,
454
+ "aria-current": t.active ? "page" : void 0,
455
+ "aria-haspopup": t.children?.length ? "true" : void 0,
456
+ target: t.external ? "_blank" : void 0,
457
+ rel: t.external ? "noopener" : void 0,
458
+ onClick: o[1] ||= (e) => w.value = !1
459
+ }, h(t.label), 11, Ee),
460
+ t.children?.length ? (u(), i("button", {
461
+ key: 0,
462
+ type: "button",
463
+ class: "mwnf-nav__fold",
464
+ "aria-label": t.label,
465
+ "aria-expanded": T.value.has(t.href ?? t.label) ? "true" : "false",
466
+ onClick: (e) => E(t.href ?? t.label)
467
+ }, null, 8, De)) : r("", !0),
468
+ t.children?.length ? (u(), i("ul", Oe, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
469
+ class: "mwnf-nav__sublink",
470
+ href: e.href,
471
+ target: e.external ? "_blank" : void 0,
472
+ rel: e.external ? "noopener" : void 0,
473
+ onClick: o[2] ||= (e) => w.value = !1
474
+ }, h(e.label), 9, ke)]))), 128))])) : r("", !0)
475
+ ], 2))), 128))])) : r("", !0)]),
476
+ x.value ? (u(), i("label", Ae, [a("span", je, h(g(y)("layout.language.label")), 1), a("select", {
477
+ class: "mwnf-nav__language-select",
478
+ value: n.language,
479
+ onChange: o[3] ||= (e) => m("update:language", e.target.value)
480
+ }, [(u(!0), i(e, null, f(b.value, (e) => (u(), i("option", {
481
+ key: e.code,
482
+ value: e.code
483
+ }, h(e.label), 9, Ne))), 128))], 40, Me)])) : r("", !0)
484
+ ]),
485
+ w.value ? (u(), i("div", {
425
486
  key: 0,
426
- type: "button",
427
- class: "mwnf-nav__toggle",
428
- "aria-expanded": w.value ? "true" : "false",
429
- "aria-controls": "mwnf-nav-links",
430
- onClick: o[0] ||= (e) => w.value = !w.value
431
- }, [o[4] ||= a("span", {
432
- class: "mwnf-nav__toggle-icon",
433
- "aria-hidden": "true"
434
- }, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, we)) : r("", !0),
435
- p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Te, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
436
- key: t.href ?? t.label,
437
- class: l({ "mwnf-nav__item--parent": t.children?.length })
438
- }, [a("a", {
439
- class: l(["mwnf-nav__link", { "mwnf-nav__link--active": t.active }]),
440
- href: t.href,
441
- "aria-current": t.active ? "page" : void 0,
442
- "aria-haspopup": t.children?.length ? "true" : void 0,
443
- target: t.external ? "_blank" : void 0,
444
- rel: t.external ? "noopener" : void 0,
445
- onClick: o[1] ||= (e) => w.value = !1
446
- }, h(t.label), 11, Ee), t.children?.length ? (u(), i("ul", De, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
447
- class: "mwnf-nav__sublink",
448
- href: e.href,
449
- target: e.external ? "_blank" : void 0,
450
- rel: e.external ? "noopener" : void 0,
451
- onClick: o[2] ||= (e) => w.value = !1
452
- }, h(e.label), 9, Oe)]))), 128))])) : r("", !0)], 2))), 128))])) : r("", !0)]),
453
- x.value ? (u(), i("label", ke, [a("span", Ae, h(g(y)("layout.language.label")), 1), a("select", {
454
- class: "mwnf-nav__language-select",
455
- value: n.language,
456
- onChange: o[3] ||= (e) => m("update:language", e.target.value)
457
- }, [(u(!0), i(e, null, f(b.value, (e) => (u(), i("option", {
458
- key: e.code,
459
- value: e.code
460
- }, h(e.label), 9, Me))), 128))], 40, je)])) : r("", !0)
461
- ]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Ne, [n.notice.title ? (u(), i("strong", Pe, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)], 10, Se)) : r("", !0);
487
+ class: "mwnf-nav__backdrop",
488
+ "aria-hidden": "true",
489
+ onClick: o[4] ||= (e) => w.value = !1
490
+ })) : r("", !0),
491
+ n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Pe, [n.notice.title ? (u(), i("strong", Fe, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)
492
+ ], 10, Se)) : r("", !0);
462
493
  }
463
- }, Fe = {
494
+ }, Ie = {
464
495
  key: 0,
465
496
  id: "mwnf-content",
466
497
  class: "mwnf-content"
@@ -471,22 +502,22 @@ var w = {
471
502
  function n() {
472
503
  return !!t.default;
473
504
  }
474
- return (e, t) => n() ? (u(), i("main", Fe, [p(e.$slots, "default")])) : r("", !0);
505
+ return (e, t) => n() ? (u(), i("main", Ie, [p(e.$slots, "default")])) : r("", !0);
475
506
  }
476
- }, Ie = ["aria-label"], Le = {
507
+ }, Le = ["aria-label"], Re = {
477
508
  key: 0,
478
509
  class: "mwnf-hyperlinks__title"
479
- }, Re = {
510
+ }, ze = {
480
511
  key: 1,
481
512
  class: "mwnf-hyperlinks__subtitle"
482
- }, ze = {
513
+ }, Be = {
483
514
  key: 1,
484
515
  class: "mwnf-hyperlinks__title"
485
- }, Be = { class: "mwnf-hyperlinks__list" }, Ve = [
516
+ }, Ve = { class: "mwnf-hyperlinks__list" }, He = [
486
517
  "href",
487
518
  "target",
488
519
  "rel"
489
- ], He = { class: "mwnf-hyperlinks__label" }, Ue = {
520
+ ], Ue = { class: "mwnf-hyperlinks__label" }, We = {
490
521
  key: 0,
491
522
  class: "mwnf-hyperlinks__description"
492
523
  }, J = {
@@ -527,28 +558,28 @@ var w = {
527
558
  class: "mwnf-hyperlinks__lockup",
528
559
  href: t.titleHref || void 0
529
560
  }, {
530
- default: y(() => [t.title ? (u(), i("p", Le, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", Re, h(t.subtitle), 1)) : r("", !0)]),
561
+ default: y(() => [t.title ? (u(), i("p", Re, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", ze, h(t.subtitle), 1)) : r("", !0)]),
531
562
  _: 1
532
- }, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", ze, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Be, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
563
+ }, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", Be, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Ve, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
533
564
  class: "mwnf-hyperlinks__link",
534
565
  href: e.href,
535
566
  target: e.external ? "_blank" : void 0,
536
567
  rel: e.external ? "noopener" : void 0
537
- }, [a("span", He, h(e.label), 1), e.description ? (u(), i("span", Ue, h(e.description), 1)) : r("", !0)], 8, Ve)]))), 128))])])], 10, Ie)) : r("", !0);
568
+ }, [a("span", Ue, h(e.label), 1), e.description ? (u(), i("span", We, h(e.description), 1)) : r("", !0)], 8, He)]))), 128))])])], 10, Le)) : r("", !0);
538
569
  }
539
- }, We = ["aria-label"], Ge = {
570
+ }, Ge = ["aria-label"], Ke = {
540
571
  key: 0,
541
572
  class: "mwnf-sponsors__title"
542
- }, Ke = {
573
+ }, qe = {
543
574
  key: 0,
544
575
  class: "mwnf-sponsors__list"
545
- }, qe = ["src", "alt"], Je = {
576
+ }, Je = ["src", "alt"], Ye = {
546
577
  key: 1,
547
578
  class: "mwnf-sponsors__groups"
548
- }, Ye = {
579
+ }, Xe = {
549
580
  key: 0,
550
581
  class: "mwnf-sponsors__group-title"
551
- }, Xe = { class: "mwnf-sponsors__list" }, Ze = ["src", "alt"], Y = {
582
+ }, Ze = { class: "mwnf-sponsors__list" }, Qe = ["src", "alt"], Y = {
552
583
  __name: "AppSponsors",
553
584
  props: {
554
585
  title: {
@@ -573,7 +604,7 @@ var w = {
573
604
  key: 0,
574
605
  class: "mwnf-sponsors",
575
606
  "aria-label": o.title || g(d)("layout.sponsors.label")
576
- }, [o.title ? (u(), i("p", Ge, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", Ke, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
607
+ }, [o.title ? (u(), i("p", Ke, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", qe, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
577
608
  class: "mwnf-sponsors__item",
578
609
  href: t.href,
579
610
  target: t.href ? "_blank" : void 0,
@@ -584,16 +615,16 @@ var w = {
584
615
  class: "mwnf-sponsors__logo",
585
616
  src: t.logo,
586
617
  alt: t.name
587
- }, null, 8, qe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
618
+ }, null, 8, Je)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
588
619
  _: 2
589
620
  }, 1032, [
590
621
  "href",
591
622
  "target",
592
623
  "rel"
593
- ]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Je, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
624
+ ]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Ye, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
594
625
  key: t.title,
595
626
  class: "mwnf-sponsors__group"
596
- }, [t.title ? (u(), i("p", Ye, h(t.title), 1)) : r("", !0), a("ul", Xe, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
627
+ }, [t.title ? (u(), i("p", Xe, h(t.title), 1)) : r("", !0), a("ul", Ze, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
597
628
  class: "mwnf-sponsors__item",
598
629
  href: t.href,
599
630
  target: t.href ? "_blank" : void 0,
@@ -605,14 +636,14 @@ var w = {
605
636
  class: "mwnf-sponsors__logo",
606
637
  src: t.logo,
607
638
  alt: t.name
608
- }, null, 8, Ze)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
639
+ }, null, 8, Qe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
609
640
  _: 2
610
641
  }, 1032, [
611
642
  "href",
612
643
  "target",
613
644
  "rel",
614
645
  "title"
615
- ]))]))), 128))])]))), 128))])) : r("", !0)])], 8, We)) : r("", !0);
646
+ ]))]))), 128))])]))), 128))])) : r("", !0)])], 8, Ge)) : r("", !0);
616
647
  }
617
648
  }, X = {
618
649
  youtube: {
@@ -639,7 +670,7 @@ var w = {
639
670
  viewBox: "0 0 448 512",
640
671
  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"
641
672
  }
642
- }, Qe = Object.freeze([
673
+ }, $e = Object.freeze([
643
674
  {
644
675
  label: "YouTube",
645
676
  href: "https://www.youtube.com/channel/UC5X2a5jDFyIfTEV5prWNF5Q",
@@ -670,14 +701,14 @@ var w = {
670
701
  href: "https://www.linkedin.com/company/museum-with-no-frontiers/",
671
702
  icon: "linkedin"
672
703
  }
673
- ]), $e = {
704
+ ]), et = {
674
705
  key: 0,
675
706
  class: "mwnf-footer__social"
676
- }, et = [
707
+ }, tt = [
677
708
  "href",
678
709
  "aria-label",
679
710
  "title"
680
- ], tt = ["viewBox"], nt = ["d"], Z = {
711
+ ], nt = ["viewBox"], rt = ["d"], Z = {
681
712
  __name: "SocialLinks",
682
713
  props: { links: {
683
714
  type: Array,
@@ -685,7 +716,7 @@ var w = {
685
716
  } },
686
717
  setup(n) {
687
718
  let o = n, s = t(() => o.links.filter((e) => X[e.icon]));
688
- return (t, n) => s.value.length ? (u(), i("ul", $e, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
719
+ return (t, n) => s.value.length ? (u(), i("ul", et, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
689
720
  class: "mwnf-footer__social-link",
690
721
  href: e.href,
691
722
  target: "_blank",
@@ -700,28 +731,28 @@ var w = {
700
731
  }, [a("path", {
701
732
  fill: "currentColor",
702
733
  d: g(X)[e.icon].path
703
- }, null, 8, nt)], 8, tt))], 8, et)]))), 128))])) : r("", !0);
734
+ }, null, 8, rt)], 8, nt))], 8, tt)]))), 128))])) : r("", !0);
704
735
  }
705
- }, Q = {
736
+ }, it = {
706
737
  key: 0,
707
738
  class: "mwnf-footer"
708
- }, rt = {
739
+ }, at = {
709
740
  key: 0,
710
741
  class: "mwnf-footer__links"
711
- }, it = [
742
+ }, Q = [
712
743
  "href",
713
744
  "target",
714
745
  "rel"
715
- ], at = {
746
+ ], ot = {
716
747
  key: 1,
717
748
  class: "mwnf-footer__text"
718
- }, ot = {
749
+ }, st = {
719
750
  key: 2,
720
751
  class: "mwnf-footer__attribution"
721
- }, st = {
752
+ }, ct = {
722
753
  key: 0,
723
754
  class: "mwnf-footer__attribution-label"
724
- }, ct = ["href"], $ = {
755
+ }, lt = ["href"], $ = {
725
756
  __name: "AppFooter",
726
757
  props: {
727
758
  text: {
@@ -758,30 +789,30 @@ var w = {
758
789
  function m() {
759
790
  return !!(l.default || o.text || o.links.length || o.attributionText || d.value.length);
760
791
  }
761
- return (t, o) => m() ? (u(), i("footer", Q, [p(t.$slots, "default", {}, () => [
762
- n.links.length ? (u(), i("ul", rt, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
792
+ return (t, o) => m() ? (u(), i("footer", it, [p(t.$slots, "default", {}, () => [
793
+ n.links.length ? (u(), i("ul", at, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
763
794
  class: "mwnf-footer__link",
764
795
  href: e.href,
765
796
  target: e.external ? "_blank" : void 0,
766
797
  rel: e.external ? "noopener" : void 0
767
- }, h(e.label), 9, it)]))), 128))])) : r("", !0),
768
- n.text ? (u(), i("p", at, h(n.text), 1)) : r("", !0),
769
- n.attributionText ? (u(), i("p", ot, [
770
- n.attributionLabel ? (u(), i("span", st, h(n.attributionLabel), 1)) : r("", !0),
798
+ }, h(e.label), 9, Q)]))), 128))])) : r("", !0),
799
+ n.text ? (u(), i("p", ot, h(n.text), 1)) : r("", !0),
800
+ n.attributionText ? (u(), i("p", st, [
801
+ n.attributionLabel ? (u(), i("span", ct, h(n.attributionLabel), 1)) : r("", !0),
771
802
  s(" " + h(n.attributionText) + " ", 1),
772
803
  n.termsHref ? (u(), i("a", {
773
804
  key: 1,
774
805
  class: "mwnf-footer__terms",
775
806
  href: n.termsHref
776
- }, h(n.termsLabel), 9, ct)) : r("", !0)
807
+ }, h(n.termsLabel), 9, lt)) : r("", !0)
777
808
  ])) : r("", !0),
778
809
  c(Z, { links: d.value }, null, 8, ["links"])
779
810
  ])])) : r("", !0);
780
811
  }
781
- }, lt = { class: "mwnf-page" }, ut = {
812
+ }, ut = { class: "mwnf-page" }, dt = {
782
813
  class: "mwnf-skip-link",
783
814
  href: "#mwnf-content"
784
- }, dt = {
815
+ }, ft = {
785
816
  __name: "PageShell",
786
817
  props: {
787
818
  headerTitle: {
@@ -972,8 +1003,8 @@ var w = {
972
1003
  emits: ["update:language", "search"],
973
1004
  setup(r, { emit: s }) {
974
1005
  let l = r, d = s, { t: m } = C(), _ = t(() => l.navigationPlacement === "before-banner" ? ["navigation", "banner"] : ["banner", "navigation"]);
975
- return (t, s) => (u(), i("div", lt, [
976
- a("a", ut, h(g(m)("layout.nav.skipToContent")), 1),
1006
+ return (t, s) => (u(), i("div", ut, [
1007
+ a("a", dt, h(g(m)("layout.nav.skipToContent")), 1),
977
1008
  c(I, {
978
1009
  title: r.headerTitle,
979
1010
  subtitle: r.headerSubtitle,
@@ -1127,4 +1158,4 @@ var w = {
1127
1158
  }
1128
1159
  };
1129
1160
  //#endregion
1130
- export { Y as a, K as c, Qe as i, G as l, $ as n, J as o, Z as r, q as s, dt as t, I as u };
1161
+ export { Y as a, K as c, $e as i, G as l, $ as n, J as o, Z as r, q as s, ft as t, I as u };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./PageShell-BT9SnXav.js";
1
+ import { t as e } from "./PageShell-CcaLOuXI.js";
2
2
  import { r as t } from "./chrome-DNsZQXrL.js";
3
3
  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";
4
4
  import { mwnfLinks as u, useI18n as d, useSection as f, useSiteConfig as p, useSiteRights as m } from "@museumwnf/viewer-core";
@@ -1,2 +1,2 @@
1
- import { t as e } from "./SiteShell-DPdTxtJ5.js";
1
+ import { t as e } from "./SiteShell-CYQxXosD.js";
2
2
  export { e as SiteShell };
package/dist/dxa.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { a as e, i as t, n, r } from "./Theme-Co1bf81Z.js";
2
- import { i } from "./PageShell-BT9SnXav.js";
2
+ import { i } from "./PageShell-CcaLOuXI.js";
3
3
  import { i as a, n as o, r as s, t as c } from "./chrome-DNsZQXrL.js";
4
4
  import { c as l, d as u } from "./PartnerMap-BIKd-AGP.js";
5
5
  import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-CTJJOWGh.js";
6
6
  import { s as g } from "./OnDisplayIn-DPRwCoYO.js";
7
7
  import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-D15BMWZM.js";
8
8
  import { t as ee } from "./RecordView-kkpYLtL_.js";
9
- import { t as te } from "./SiteShell-DPdTxtJ5.js";
9
+ import { t as te } from "./SiteShell-CYQxXosD.js";
10
10
  import { A as ne, C as re, D as ie, E as ae, M as oe, N as se, O as ce, S as le, T as ue, _ as de, a as fe, b as C, c as pe, d as me, f as he, g as w, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, u as T, v as Oe, w as ke, x as Ae, y as je } from "./data-CXRsGwLQ.js";
11
11
  import { A as Me, C as Ne, D as Pe, E as Fe, F as Ie, I as Le, L as Re, M as ze, N as Be, O as Ve, P as He, R as Ue, S as We, T as E, _ as Ge, a as Ke, b as qe, c as Je, d as Ye, f as D, g as Xe, h as Ze, i as Qe, j as $e, k as et, l as tt, m as nt, n as rt, o as O, p as it, r as at, s as ot, t as st, u as ct, v as k, w as A, x as lt, y as ut } from "./data-BINc9QjV.js";
12
12
  import { t as dt } from "./ItemDetailView-DWNJy_PQ.js";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./PageShell-BT9SnXav.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./PageShell-CcaLOuXI.js";
2
2
  import { n as u, r as d, t as f } from "./chrome-DNsZQXrL.js";
3
3
  import { t as p } from "./FeaturedRecord-CTqnQFox.js";
4
4
  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 "./PartnerMap-BIKd-AGP.js";
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./chrome-DNsZQXrL.js";
2
2
  import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
3
3
  import { n as a, t as o } from "./RecordView-kkpYLtL_.js";
4
- import { t as s } from "./SiteShell-DPdTxtJ5.js";
4
+ import { t as s } from "./SiteShell-CYQxXosD.js";
5
5
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, mergeModels as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onMounted as C, openBlock as w, reactive as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useId as j, useModel as M, useSlots as N, vModelSelect as P, vModelText as F, vShow as I, watch as L, withCtx as R, withDirectives as z, withModifiers as B } from "vue";
6
6
  import { byId as V, collate as H, entityRef as ee, loadEntities as te, md as U, pictureCredits as ne, picturesInLanguage as re, removeEndingPoint as ie, renderBlock as W, renderInline as G, renderPlain as K, useDataPackage as ae, useI18n as q, useSection as oe, useSiteConfig as J } from "@museumwnf/viewer-core";
7
7
  import { useRoute as se } from "vue-router";
@@ -583,14 +583,18 @@ function lt({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty
583
583
  let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
584
584
  let t = document.createElement("div");
585
585
  return t.innerHTML = e ?? "", Q(t);
586
- }, c = r.length ? `<tr><td style="padding:10px;">
587
- <table border='1' cellspacing='1' cellpadding='1' width="100%">
588
- <tr>
589
- <td style="padding:5px;" width="28%"><b>${Z(n.date)}</b></td>
586
+ }, c = !!n.theme, l = c ? `<td style="padding:5px;" width="28%"><b>${Z(n.date)}</b></td>
587
+ <td style="padding:5px;" width="35%"><b>${Z(n.country)}</b></td>
588
+ <td style="padding:5px;" width="37%"><b>${Z(n.theme)}</b></td>` : `<td style="padding:5px;" width="28%"><b>${Z(n.date)}</b></td>
590
589
  <td style="padding:5px;" width="36%"><b>${Z(n.countryDescription)}</b></td>
591
- <td width="37%"><b></b></td>
590
+ <td width="37%"><b></b></td>`, u = c ? (e) => `<tr>
591
+ <td style="padding:5px;">${Z(e.date)}</td>
592
+ <td style="padding:5px;">${Z(e.country)}</td>
593
+ <td style="padding:5px;">${Z(e.theme)}</td>
592
594
  </tr>
593
- ${r.map((e) => `<tr>
595
+ <tr>
596
+ <td style="padding:5px; width:558px; vertical-align:top;" colspan="3">${s(e.html)}</td>
597
+ </tr>` : (e) => `<tr>
594
598
  <td style="padding:5px; vertical-align:top;">&nbsp;${Z(e.date)}</td>
595
599
  <td style="padding:5px;">${Z(e.country)}</td>
596
600
  <td>&nbsp;</td>
@@ -598,7 +602,12 @@ ${r.map((e) => `<tr>
598
602
  <tr>
599
603
  <td style="padding:5px;">&nbsp;</td>
600
604
  <td style="padding:5px;" colspan="2"><span>${s(e.html)}</span></td>
601
- </tr>`).join("\n")}
605
+ </tr>`, d = r.length ? `<tr><td style="padding:10px;">
606
+ <table border='1' cellspacing='1' cellpadding='1' width="100%">
607
+ <tr>
608
+ ${l}
609
+ </tr>
610
+ ${r.map(u).join("\n")}
602
611
  </table>
603
612
  </td></tr>
604
613
  <tr><td>&nbsp;</td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${Z(i)}</td></tr>`;
@@ -614,9 +623,9 @@ ${tt}
614
623
  <div class="content">
615
624
  <div class="item_description">
616
625
  <table style="${o}" border="0" width="750px">
617
- <tr><td class="txt" align="left" width="750px"><div style="width: 750px;">&nbsp;&nbsp;${Z(t).replace(/^([^|]*)/, "<b>$1</b>")}</div></td></tr>
626
+ <tr><td class="txt" align="left" width="750px"><div style="width: 750px;">&nbsp;&nbsp;${Z(t).replace(/^([^|/]*)/, "<b>$1</b>")}</div></td></tr>
618
627
  <tr><td>&nbsp;</td></tr>
619
- ${c}
628
+ ${d}
620
629
  </table>
621
630
  </div>
622
631
  </div>
@@ -1815,6 +1824,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
1815
1824
  }, ui = { class: "mwnf-standalone-tlr" }, di = { class: "mwnf-standalone-tlr__band" }, fi = { class: "mwnf-standalone-tlr__band-inner" }, pi = { class: "mwnf-standalone-tlr__summary" }, mi = { class: "mwnf-standalone-tlr__selects" }, hi = ["for"], gi = [
1816
1825
  "id",
1817
1826
  "value",
1827
+ "disabled",
1818
1828
  "onChange"
1819
1829
  ], _i = ["value"], vi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, yi = {
1820
1830
  key: 0,
@@ -1905,6 +1915,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
1905
1915
  p("section", di, [p("div", fi, [p("p", pi, [p("b", null, k(e.heading), 1), h(" | " + k(e.summary), 1)]), p("div", mi, [(w(!0), f(c, null, D(e.selects, (e) => (w(), f("p", { key: e.key }, [p("label", { for: `mwnf-tlr-${e.key}` }, k(e.label), 9, hi), p("select", {
1906
1916
  id: `mwnf-tlr-${e.key}`,
1907
1917
  value: e.value,
1918
+ disabled: e.disabled || void 0,
1908
1919
  onChange: (t) => i("change", {
1909
1920
  key: e.key,
1910
1921
  value: t.target.value
@@ -1932,7 +1943,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
1932
1943
  (w(!0), f(c, null, D(e.rows, (e) => (w(), f("div", {
1933
1944
  key: e.id,
1934
1945
  class: "mwnf-standalone-tlr__row"
1935
- }, [p("div", Si, [p("p", null, [p("span", null, k(e.date), 1)])]), p("div", Ci, [p("p", null, [p("span", null, k(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, wi)])]))), 128)),
1946
+ }, [p("div", Si, [p("p", null, [p("span", null, k(e.date), 1)]), O(t.$slots, "media", { row: e })]), p("div", Ci, [p("p", null, [p("span", null, k(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, wi)])]))), 128)),
1936
1947
  a.value ? d("", !0) : (w(), f("p", Ti, k(e.empty), 1)),
1937
1948
  e.pageInfo ? (w(), u(li, {
1938
1949
  key: 1,
@@ -1945,14 +1956,32 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
1945
1956
  "previous-label",
1946
1957
  "next-label"
1947
1958
  ])) : d("", !0)
1948
- ]), p("aside", Ei, [e.related ? (w(), f("div", Di, [p("p", null, [p("strong", null, k(e.related.heading), 1)]), e.related.gallery ? (w(), f("p", Oi, [g(n, {
1949
- class: "mwnf-standalone-tlr__link",
1950
- to: e.related.gallery.to,
1951
- title: e.related.gallery.title
1952
- }, {
1953
- default: R(() => [h(k(e.related.gallery.label), 1)]),
1954
- _: 1
1955
- }, 8, ["to", "title"])])) : d("", !0)])) : d("", !0), e.download ? (w(), f("div", ki, [
1959
+ ]), p("aside", Ei, [e.related ? (w(), f("div", Di, [
1960
+ p("p", null, [p("strong", null, k(e.related.heading), 1)]),
1961
+ (w(!0), f(c, null, D(e.related.links ?? [], (e) => (w(), f("p", { key: e.label }, [g(n, {
1962
+ class: "mwnf-standalone-tlr__link",
1963
+ to: e.to,
1964
+ href: e.href,
1965
+ title: e.title,
1966
+ target: e.target
1967
+ }, {
1968
+ default: R(() => [h(k(e.label), 1)]),
1969
+ _: 2
1970
+ }, 1032, [
1971
+ "to",
1972
+ "href",
1973
+ "title",
1974
+ "target"
1975
+ ])]))), 128)),
1976
+ e.related.gallery ? (w(), f("p", Oi, [g(n, {
1977
+ class: "mwnf-standalone-tlr__link",
1978
+ to: e.related.gallery.to,
1979
+ title: e.related.gallery.title
1980
+ }, {
1981
+ default: R(() => [h(k(e.related.gallery.label), 1)]),
1982
+ _: 1
1983
+ }, 8, ["to", "title"])])) : d("", !0)
1984
+ ])) : d("", !0), e.download ? (w(), f("div", ki, [
1956
1985
  p("p", Ai, k(e.download.heading), 1),
1957
1986
  p("p", null, [p("a", {
1958
1987
  href: "#",