@museumwnf/viewer-layout 3.22.1 → 3.23.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/{FeaturedRecord-CNRUaZBY.js → FeaturedRecord-CmirL4Qc.js} +1 -1
- package/dist/{ItemDetailView-5t8skbHY.js → ItemDetailView-JJeTCjRe.js} +4 -4
- package/dist/{OnDisplayIn-DdqVmd4F.js → OnDisplayIn-D6oHJJnl.js} +1 -1
- package/dist/{PartnerMap-BozCpzY8.js → PartnerMap-9FSjyPPa.js} +52 -41
- package/dist/{RecordView-Bi53L29_.js → RecordView-DWREsdNX.js} +29 -17
- package/dist/{Theme-CUxHnUlI.js → Theme-B01sbkhs.js} +2 -2
- package/dist/{TimelineEventList-B_lhlQOG.js → TimelineEventList-B5_OflLs.js} +1 -1
- package/dist/{TimelineResultsView-D63r1Vjq.js → TimelineResultsView-Dya1cmLT.js} +2 -2
- package/dist/{content-DzEj-kdq.js → content-BjWJl4z6.js} +2 -2
- package/dist/content.js +5 -5
- package/dist/dxa.js +8 -8
- package/dist/index.js +5 -5
- package/dist/standalone.js +2 -2
- package/dist/views.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "./PartnerMap-
|
|
1
|
+
import { d as e } from "./PartnerMap-9FSjyPPa.js";
|
|
2
2
|
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, openBlock as s, renderList as c, renderSlot as l, toDisplayString as u, useSlots as d, withCtx as f } from "vue";
|
|
3
3
|
//#region src/content/FeaturedRecord.vue
|
|
4
4
|
var p = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./chrome-DNsZQXrL.js";
|
|
2
|
-
import { r as t } from "./PartnerMap-
|
|
3
|
-
import { n } from "./TimelineEventList-
|
|
4
|
-
import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-
|
|
5
|
-
import { t as c } from "./RecordView-
|
|
2
|
+
import { r as t } from "./PartnerMap-9FSjyPPa.js";
|
|
3
|
+
import { n } from "./TimelineEventList-B5_OflLs.js";
|
|
4
|
+
import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-D6oHJJnl.js";
|
|
5
|
+
import { t as c } from "./RecordView-DWREsdNX.js";
|
|
6
6
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ee, createTextVNode as h, createVNode as g, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as te, openBlock as b, renderList as x, renderSlot as S, toDisplayString as C, unref as w, useSlots as ne, withCtx as T } from "vue";
|
|
7
7
|
import { NotFoundView as re, byId as E, loadEntities as ie, mdInline as D, mdStrip as ae, mwnfLinks as O, partnerView as oe, useDataPackage as se, useI18n as ce, useProjects as le, useSiteConfig as ue } from "@museumwnf/viewer-core";
|
|
8
8
|
//#region src/dxa/ItemDetailView.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, o as t } from "./PartnerMap-
|
|
1
|
+
import { d as e, o as t } from "./PartnerMap-9FSjyPPa.js";
|
|
2
2
|
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, mergeProps as u, normalizeClass as d, openBlock as f, ref as p, renderList as m, renderSlot as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, vModelSelect as y, vModelText as b, watch as x, withCtx as S, withDirectives as C, withKeys as w } from "vue";
|
|
3
3
|
import { useI18n as T } from "@museumwnf/viewer-core/i18n";
|
|
4
4
|
import { md as E, mdInline as D, searchGlossary as ee } from "@museumwnf/viewer-core";
|
|
@@ -364,7 +364,10 @@ var E = [
|
|
|
364
364
|
}, ke = { class: "mwnf-credits__label" }, Ae = { class: "mwnf-credits__value" }, je = {
|
|
365
365
|
key: 2,
|
|
366
366
|
class: "mwnf-credits__number"
|
|
367
|
-
}, Me = { class: "mwnf-credits__label" }, Ne = { class: "mwnf-credits__heading mwnf-credits__heading--citation" }, Pe =
|
|
367
|
+
}, Me = { class: "mwnf-credits__label" }, Ne = { class: "mwnf-credits__heading mwnf-credits__heading--citation" }, Pe = ["innerHTML"], Fe = {
|
|
368
|
+
key: 1,
|
|
369
|
+
class: "mwnf-credits__citation"
|
|
370
|
+
}, Ie = {
|
|
368
371
|
__name: "RecordCredits",
|
|
369
372
|
props: {
|
|
370
373
|
credits: {
|
|
@@ -383,6 +386,10 @@ var E = [
|
|
|
383
386
|
type: String,
|
|
384
387
|
default: ""
|
|
385
388
|
},
|
|
389
|
+
citationHtml: {
|
|
390
|
+
type: String,
|
|
391
|
+
default: ""
|
|
392
|
+
},
|
|
386
393
|
heading: {
|
|
387
394
|
type: String,
|
|
388
395
|
default: ""
|
|
@@ -393,18 +400,22 @@ var E = [
|
|
|
393
400
|
}
|
|
394
401
|
},
|
|
395
402
|
setup(n) {
|
|
396
|
-
let s = n, { t: c } = C(), l = t(() => s.credits.length > 0 || s.workingNumber || s.citation);
|
|
403
|
+
let s = n, { t: c } = C(), l = t(() => s.credits.length > 0 || s.workingNumber || s.citation || s.citationHtml);
|
|
397
404
|
return (t, s) => l.value ? (f(), i("section", Ee, [
|
|
398
405
|
n.credits.length || n.workingNumber ? (f(), i("h2", De, _(n.heading || v(c)("record.sheet.credits")), 1)) : r("", !0),
|
|
399
406
|
n.credits.length ? (f(), i("dl", Oe, [(f(!0), i(e, null, m(n.credits, (t) => (f(), i(e, { key: t.label }, [a("dt", ke, _(t.label), 1), a("dd", Ae, _(t.value), 1)], 64))), 128))])) : r("", !0),
|
|
400
407
|
n.workingNumber ? (f(), i("p", je, [n.workingNumberLabel ? (f(), i(e, { key: 0 }, [a("span", Me, _(n.workingNumberLabel), 1), s[0] ||= o(_(" "), -1)], 64)) : r("", !0), a("strong", null, _(n.workingNumber), 1)])) : r("", !0),
|
|
401
|
-
n.citation ? (f(), i(e, { key: 3 }, [a("h2", Ne, _(n.citationHeading || v(c)("record.citation.heading")), 1),
|
|
408
|
+
n.citation || n.citationHtml ? (f(), i(e, { key: 3 }, [a("h2", Ne, _(n.citationHeading || v(c)("record.citation.heading")), 1), n.citationHtml ? (f(), i("p", {
|
|
409
|
+
key: 0,
|
|
410
|
+
class: "mwnf-credits__citation",
|
|
411
|
+
innerHTML: n.citationHtml
|
|
412
|
+
}, null, 8, Pe)) : (f(), i("p", Fe, _(n.citation), 1))], 64)) : r("", !0)
|
|
402
413
|
])) : r("", !0);
|
|
403
414
|
}
|
|
404
|
-
},
|
|
415
|
+
}, Le = {
|
|
405
416
|
key: 0,
|
|
406
417
|
class: "mwnf-source-credit"
|
|
407
|
-
},
|
|
418
|
+
}, Re = { class: "mwnf-source-credit__label" }, ze = ["href"], Be = {
|
|
408
419
|
__name: "SourceCredit",
|
|
409
420
|
props: {
|
|
410
421
|
route: {
|
|
@@ -418,19 +429,19 @@ var E = [
|
|
|
418
429
|
},
|
|
419
430
|
setup(e) {
|
|
420
431
|
let n = e, { t: s } = C(), c = T(), l = t(() => w(n.route ?? c));
|
|
421
|
-
return (t, n) => l.value ? (f(), i("p",
|
|
422
|
-
a("span",
|
|
432
|
+
return (t, n) => l.value ? (f(), i("p", Le, [
|
|
433
|
+
a("span", Re, _(v(s)(e.labelEntry)), 1),
|
|
423
434
|
n[0] ||= o(),
|
|
424
|
-
a("a", { href: l.value }, _(l.value), 9,
|
|
435
|
+
a("a", { href: l.value }, _(l.value), 9, ze)
|
|
425
436
|
])) : r("", !0);
|
|
426
437
|
}
|
|
427
|
-
},
|
|
438
|
+
}, Ve = {
|
|
428
439
|
key: 0,
|
|
429
440
|
class: "mwnf-related"
|
|
430
|
-
},
|
|
441
|
+
}, He = {
|
|
431
442
|
key: 0,
|
|
432
443
|
class: "mwnf-related__heading"
|
|
433
|
-
},
|
|
444
|
+
}, Ue = {
|
|
434
445
|
__name: "RelatedRecords",
|
|
435
446
|
props: {
|
|
436
447
|
heading: {
|
|
@@ -451,8 +462,8 @@ var E = [
|
|
|
451
462
|
}
|
|
452
463
|
},
|
|
453
464
|
setup(e) {
|
|
454
|
-
return (t, a) => e.records.length || t.$slots.default ? (f(), i("section",
|
|
455
|
-
e.heading ? (f(), i("h2",
|
|
465
|
+
return (t, a) => e.records.length || t.$slots.default ? (f(), i("section", Ve, [
|
|
466
|
+
e.heading ? (f(), i("h2", He, _(e.heading), 1)) : r("", !0),
|
|
456
467
|
e.variant === "grid" ? (f(), n(X, {
|
|
457
468
|
key: 1,
|
|
458
469
|
records: e.records,
|
|
@@ -464,29 +475,29 @@ var E = [
|
|
|
464
475
|
h(t.$slots, "default")
|
|
465
476
|
])) : r("", !0);
|
|
466
477
|
}
|
|
467
|
-
},
|
|
478
|
+
}, We = ["src", "alt"], Ge = {
|
|
468
479
|
key: 0,
|
|
469
480
|
class: "mwnf-media__caption"
|
|
470
|
-
},
|
|
481
|
+
}, Ke = { key: 0 }, qe = {
|
|
471
482
|
key: 1,
|
|
472
483
|
class: "mwnf-media__credit"
|
|
473
|
-
},
|
|
484
|
+
}, Je = {
|
|
474
485
|
key: 2,
|
|
475
486
|
class: "mwnf-media__credit"
|
|
476
|
-
},
|
|
487
|
+
}, $ = ["src", "alt"], Ye = {
|
|
477
488
|
key: 0,
|
|
478
489
|
class: "mwnf-media__thumbs"
|
|
479
|
-
},
|
|
490
|
+
}, Xe = [
|
|
480
491
|
"aria-pressed",
|
|
481
492
|
"title",
|
|
482
493
|
"onClick"
|
|
483
|
-
],
|
|
494
|
+
], Ze = ["src", "alt"], Qe = {
|
|
484
495
|
key: 1,
|
|
485
496
|
class: "mwnf-media__caption"
|
|
486
|
-
},
|
|
497
|
+
}, $e = { key: 0 }, et = {
|
|
487
498
|
key: 1,
|
|
488
499
|
class: "mwnf-media__credit"
|
|
489
|
-
},
|
|
500
|
+
}, tt = ["aria-label"], nt = ["aria-label"], rt = ["src", "alt"], it = ["aria-label"], at = {
|
|
490
501
|
__name: "MediaGallery",
|
|
491
502
|
props: {
|
|
492
503
|
images: {
|
|
@@ -534,10 +545,10 @@ var E = [
|
|
|
534
545
|
src: e.url,
|
|
535
546
|
alt: e.alt ?? "",
|
|
536
547
|
loading: "lazy"
|
|
537
|
-
}, null, 8,
|
|
538
|
-
e.caption ? (f(), i("span",
|
|
539
|
-
e.photographer ? (f(), i("span",
|
|
540
|
-
e.copyright ? (f(), i("span",
|
|
548
|
+
}, null, 8, We), e.caption || e.photographer || e.copyright ? (f(), i("figcaption", Ge, [
|
|
549
|
+
e.caption ? (f(), i("span", Ke, _(e.caption), 1)) : r("", !0),
|
|
550
|
+
e.photographer ? (f(), i("span", qe, _(v(s)("record.media.photograph")) + ": " + _(e.photographer), 1)) : r("", !0),
|
|
551
|
+
e.copyright ? (f(), i("span", Je, "© " + _(e.copyright), 1)) : r("", !0)
|
|
541
552
|
])) : r("", !0)]))), 128)) : (f(), i(e, { key: 1 }, [
|
|
542
553
|
a("button", {
|
|
543
554
|
type: "button",
|
|
@@ -547,8 +558,8 @@ var E = [
|
|
|
547
558
|
class: "mwnf-media__image",
|
|
548
559
|
src: l.value.url,
|
|
549
560
|
alt: l.value.alt ?? ""
|
|
550
|
-
}, null, 8,
|
|
551
|
-
n.images.length > 1 ? (f(), i("ul",
|
|
561
|
+
}, null, 8, $)]),
|
|
562
|
+
n.images.length > 1 ? (f(), i("ul", Ye, [(f(!0), i(e, null, m(n.images, (e, t) => (f(), i("li", { key: e.url ?? t }, [a("button", {
|
|
552
563
|
type: "button",
|
|
553
564
|
class: u(["mwnf-media__thumb", { "mwnf-media__thumb--active": t === c.value }]),
|
|
554
565
|
"aria-pressed": t === c.value ? "true" : "false",
|
|
@@ -558,8 +569,8 @@ var E = [
|
|
|
558
569
|
src: e.url,
|
|
559
570
|
alt: e.alt ?? "",
|
|
560
571
|
loading: "lazy"
|
|
561
|
-
}, null, 8,
|
|
562
|
-
l.value.caption || h.value ? (f(), i("p",
|
|
572
|
+
}, null, 8, Ze)], 10, Xe)]))), 128))])) : r("", !0),
|
|
573
|
+
l.value.caption || h.value ? (f(), i("p", Qe, [l.value.caption ? (f(), i("span", $e, _(l.value.caption), 1)) : r("", !0), h.value ? (f(), i("span", et, _(h.value), 1)) : r("", !0)])) : r("", !0),
|
|
563
574
|
g.value ? (f(), i("div", {
|
|
564
575
|
key: 2,
|
|
565
576
|
class: "mwnf-lightbox",
|
|
@@ -574,36 +585,36 @@ var E = [
|
|
|
574
585
|
class: "mwnf-lightbox__close",
|
|
575
586
|
"aria-label": v(s)("core.action.close"),
|
|
576
587
|
onClick: E
|
|
577
|
-
}, "✕", 8,
|
|
588
|
+
}, "✕", 8, tt),
|
|
578
589
|
n.images.length > 1 ? (f(), i("button", {
|
|
579
590
|
key: 0,
|
|
580
591
|
type: "button",
|
|
581
592
|
class: "mwnf-lightbox__control mwnf-lightbox__control--previous",
|
|
582
593
|
"aria-label": v(s)("core.pagination.previous"),
|
|
583
594
|
onClick: o[0] ||= S((e) => w(c.value - 1), ["stop"])
|
|
584
|
-
}, "‹", 8,
|
|
595
|
+
}, "‹", 8, nt)) : r("", !0),
|
|
585
596
|
a("img", {
|
|
586
597
|
class: "mwnf-lightbox__image",
|
|
587
598
|
src: l.value.url,
|
|
588
599
|
alt: l.value.alt ?? ""
|
|
589
|
-
}, null, 8,
|
|
600
|
+
}, null, 8, rt),
|
|
590
601
|
n.images.length > 1 ? (f(), i("button", {
|
|
591
602
|
key: 1,
|
|
592
603
|
type: "button",
|
|
593
604
|
class: "mwnf-lightbox__control mwnf-lightbox__control--next",
|
|
594
605
|
"aria-label": v(s)("core.pagination.next"),
|
|
595
606
|
onClick: o[1] ||= S((e) => w(c.value + 1), ["stop"])
|
|
596
|
-
}, "›", 8,
|
|
607
|
+
}, "›", 8, it)) : r("", !0)
|
|
597
608
|
])) : r("", !0)
|
|
598
609
|
], 64))], 2)) : r("", !0);
|
|
599
610
|
}
|
|
600
|
-
},
|
|
611
|
+
}, ot = {
|
|
601
612
|
key: 0,
|
|
602
613
|
class: "mwnf-partner-map__title"
|
|
603
|
-
},
|
|
614
|
+
}, st = ["src", "title"], ct = {
|
|
604
615
|
key: 1,
|
|
605
616
|
class: "mwnf-partner-map__link"
|
|
606
|
-
},
|
|
617
|
+
}, lt = ["href"], ut = {
|
|
607
618
|
__name: "PartnerMap",
|
|
608
619
|
props: {
|
|
609
620
|
latitude: {
|
|
@@ -657,21 +668,21 @@ var E = [
|
|
|
657
668
|
key: 0,
|
|
658
669
|
class: u(["mwnf-partner-map", { "mwnf-partner-map--google": l.value }])
|
|
659
670
|
}, [
|
|
660
|
-
l.value ? r("", !0) : (f(), i("p",
|
|
671
|
+
l.value ? r("", !0) : (f(), i("p", ot, _(t.$t(e.mapTitleEntry)), 1)),
|
|
661
672
|
a("iframe", {
|
|
662
673
|
src: d.value,
|
|
663
674
|
title: p.value,
|
|
664
675
|
loading: "lazy",
|
|
665
676
|
referrerpolicy: "no-referrer",
|
|
666
677
|
class: "mwnf-partner-map__embed"
|
|
667
|
-
}, null, 8,
|
|
668
|
-
l.value ? r("", !0) : (f(), i("p",
|
|
678
|
+
}, null, 8, st),
|
|
679
|
+
l.value ? r("", !0) : (f(), i("p", ct, [a("a", {
|
|
669
680
|
href: m.value,
|
|
670
681
|
target: "_blank",
|
|
671
682
|
rel: "noopener"
|
|
672
|
-
}, "↗ " + _(t.$t(e.openMapLinkEntry)), 9,
|
|
683
|
+
}, "↗ " + _(t.$t(e.openMapLinkEntry)), 9, lt)]))
|
|
673
684
|
], 2)) : r("", !0);
|
|
674
685
|
}
|
|
675
686
|
};
|
|
676
687
|
//#endregion
|
|
677
|
-
export {
|
|
688
|
+
export { Ie as a, ne as c, D as d, Be as i, X as l, at as n, Te as o, Ue as r, xe as s, ut as t, I as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, n as i, o as ee, r as te, s as ne } from "./PartnerMap-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, n as i, o as ee, r as te, s as ne } from "./PartnerMap-9FSjyPPa.js";
|
|
2
2
|
import { t as re } from "./GlossaryPopover-B7E6BsjS.js";
|
|
3
3
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as ie, createTextVNode as ae, createVNode as d, guardReactiveProps as f, normalizeClass as oe, normalizeProps as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useSlots as se, watch as b, withCtx as x } from "vue";
|
|
4
4
|
import { useI18n as S } from "@museumwnf/viewer-core/i18n";
|
|
@@ -137,22 +137,32 @@ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class
|
|
|
137
137
|
label: "sheet.field.translationCopyeditedBy"
|
|
138
138
|
}
|
|
139
139
|
];
|
|
140
|
-
function
|
|
140
|
+
function Je(e) {
|
|
141
141
|
let t = j.value.creditNames ? I.value.credit_names?.[e] : null;
|
|
142
142
|
return t?.length ? de(t) : I.value[e] ?? z.value[e] ?? "";
|
|
143
143
|
}
|
|
144
|
-
let
|
|
144
|
+
let Ye = o(() => (j.value.credits ?? qe).map(({ field: e, label: t }) => ({
|
|
145
145
|
label: S(t),
|
|
146
|
-
value:
|
|
147
|
-
})).filter((e) => e.value)),
|
|
146
|
+
value: Je(e)
|
|
147
|
+
})).filter((e) => e.value)), Xe = o(() => String(M.value?.[j.value.workingNumber ?? "mwnf_reference"] ?? ""));
|
|
148
|
+
function X(e) {
|
|
149
|
+
if (e?.permalink !== !1) return typeof e?.permalink == "string" ? e.permalink : _e(Ne) ?? void 0;
|
|
150
|
+
}
|
|
151
|
+
let Ze = o(() => {
|
|
152
|
+
let e = j.value.citation;
|
|
153
|
+
return !M.value || typeof e?.format != "function" ? "" : e.format(W.value, {
|
|
154
|
+
permalink: X(e),
|
|
155
|
+
year: (/* @__PURE__ */ new Date()).getFullYear()
|
|
156
|
+
});
|
|
157
|
+
}), Qe = o(() => {
|
|
148
158
|
let e = j.value.citation;
|
|
149
|
-
if (!M.value || e === !1) return "";
|
|
150
|
-
let t = typeof e?.project == "function" ? null : e?.project ?? M.value.project_id, n = typeof e?.project == "function" ? e.project(M.value, W.value) : D.label(t)
|
|
159
|
+
if (!M.value || e === !1 || typeof e?.format == "function") return "";
|
|
160
|
+
let t = typeof e?.project == "function" ? null : e?.project ?? M.value.project_id, n = typeof e?.project == "function" ? e.project(M.value, W.value) : D.label(t);
|
|
151
161
|
return ue({
|
|
152
|
-
author:
|
|
162
|
+
author: Je("author") || void 0,
|
|
153
163
|
name: I.value.name ?? M.value.internal_name ?? "",
|
|
154
164
|
project: n,
|
|
155
|
-
permalink:
|
|
165
|
+
permalink: X(e),
|
|
156
166
|
inWord: S("record.citation.in")
|
|
157
167
|
});
|
|
158
168
|
}), Z = Ce(M, {
|
|
@@ -160,10 +170,10 @@ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class
|
|
|
160
170
|
language: N
|
|
161
171
|
}), Q = o(() => j.value.related === !1 ? null : j.value.related ?? {}), $ = o(() => {
|
|
162
172
|
if (!Q.value) return [];
|
|
163
|
-
let e = Q.value.record ??
|
|
173
|
+
let e = Q.value.record ?? $e;
|
|
164
174
|
return Z.value.inPackage.map((t) => e(t, W.value));
|
|
165
175
|
});
|
|
166
|
-
function
|
|
176
|
+
function $e({ record: e, justification: t }) {
|
|
167
177
|
let n = U(A, e.id).name ?? e.internal_name ?? e.id;
|
|
168
178
|
return {
|
|
169
179
|
id: e.id,
|
|
@@ -178,7 +188,7 @@ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class
|
|
|
178
188
|
}
|
|
179
189
|
};
|
|
180
190
|
}
|
|
181
|
-
let
|
|
191
|
+
let et = /* @__PURE__ */ new Set([
|
|
182
192
|
"header",
|
|
183
193
|
"before-sheet",
|
|
184
194
|
"after-sheet",
|
|
@@ -187,7 +197,7 @@ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class
|
|
|
187
197
|
"related",
|
|
188
198
|
"after",
|
|
189
199
|
"default"
|
|
190
|
-
]),
|
|
200
|
+
]), tt = o(() => Object.keys(k).filter((e) => !et.has(e)));
|
|
191
201
|
return (o, h) => Ie.value && !M.value ? (m(), s(y(ce), { key: 0 })) : M.value ? (m(), l("article", {
|
|
192
202
|
key: 1,
|
|
193
203
|
class: oe(["mwnf-record", { "mwnf-record--spaced": j.value.spaced }]),
|
|
@@ -232,7 +242,7 @@ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class
|
|
|
232
242
|
dir: y(P),
|
|
233
243
|
"short-description": Y.value,
|
|
234
244
|
"short-description-after": J.value
|
|
235
|
-
}, ie({ _: 2 }, [g(
|
|
245
|
+
}, ie({ _: 2 }, [g(tt.value, (e) => ({
|
|
236
246
|
name: e,
|
|
237
247
|
fn: x((t) => [_(o.$slots, e, p(f({
|
|
238
248
|
...t,
|
|
@@ -260,16 +270,18 @@ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class
|
|
|
260
270
|
}, null, 8, ["html", "dir"])) : c("", !0)], 64))), 128)),
|
|
261
271
|
_(o.$slots, "after-sheet", p(f(W.value))),
|
|
262
272
|
d(e, {
|
|
263
|
-
credits:
|
|
264
|
-
"working-number":
|
|
273
|
+
credits: Ye.value,
|
|
274
|
+
"working-number": Xe.value,
|
|
265
275
|
"working-number-label": y(S)(j.value.workingNumberLabel ?? "sheet.field.workingNumber"),
|
|
266
|
-
citation:
|
|
276
|
+
citation: Qe.value,
|
|
277
|
+
"citation-html": Ze.value,
|
|
267
278
|
"citation-heading": j.value.citation?.heading ? y(S)(j.value.citation.heading) : ""
|
|
268
279
|
}, null, 8, [
|
|
269
280
|
"credits",
|
|
270
281
|
"working-number",
|
|
271
282
|
"working-number-label",
|
|
272
283
|
"citation",
|
|
284
|
+
"citation-html",
|
|
273
285
|
"citation-heading"
|
|
274
286
|
]),
|
|
275
287
|
_(o.$slots, "source", p(f(W.value)), () => [d(r)]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e, i as t } from "./PartnerMap-
|
|
2
|
-
import { o as n } from "./TimelineResultsView-
|
|
1
|
+
import { d as e, i as t } from "./PartnerMap-9FSjyPPa.js";
|
|
2
|
+
import { o as n } from "./TimelineResultsView-Dya1cmLT.js";
|
|
3
3
|
import { A as r, F as i, h as a, m as o } from "./data-BINc9QjV.js";
|
|
4
4
|
import { n as s, r as c, t as l } from "./themeSpecs-DP9xWiVJ.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, n as t, t as n } from "./PartnerMap-
|
|
1
|
+
import { d as e, n as t, t as n } from "./PartnerMap-9FSjyPPa.js";
|
|
2
2
|
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, mergeProps as d, nextTick as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, renderSlot as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, useId as x, useSlots as S, vModelText as C, vShow as ee, watch as w, withCtx as T, withDirectives as E, withKeys as D, withModifiers as O } from "vue";
|
|
3
3
|
import { useI18n as k } from "@museumwnf/viewer-core/i18n";
|
|
4
4
|
import { mdInline as A } from "@museumwnf/viewer-core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e, i as t, l as n, n as r, u as i } from "./PartnerMap-
|
|
2
|
-
import { a, i as o, n as s, o as c, r as l, t as u } from "./TimelineEventList-
|
|
1
|
+
import { d as e, i as t, l as n, n as r, u as i } from "./PartnerMap-9FSjyPPa.js";
|
|
2
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "./TimelineEventList-B5_OflLs.js";
|
|
3
3
|
import { t as d } from "./GlossaryPopover-B7E6BsjS.js";
|
|
4
4
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as v, createTextVNode as y, createVNode as b, guardReactiveProps as x, isRef as S, mergeProps as C, normalizeClass as ee, normalizeProps as w, openBlock as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as te, toDisplayString as A, unref as j, useSlots as M, vModelCheckbox as N, vModelRadio as P, vModelSelect as F, vModelText as ne, watch as I, withCtx as L, withDirectives as R } from "vue";
|
|
5
5
|
import { I18nText as z, NotFoundView as B, byId as V, centuryPresets as H, dateRange as re, entityRef as ie, eventDateLabel as U, glossaryEntries as ae, glossaryTermsForText as W, groupByCountry as G, md as K, mdInline as oe, partnerHierarchy as q, partnerView as J, renderBlock as se, renderInline as Y, renderPlain as X, sortChronological as Z, useCollectionTree as ce, useDataPackage as Q, useFacets as le, useGlossaryPopup as ue, useI18n as de, useListQuery as fe, useLocale as pe, usePagination as me, useRecordLanguage as he, useSearchLanguage as ge, useTimelineEvents as _e, yearBuckets as ve } from "@museumwnf/viewer-core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./FeaturedRecord-
|
|
2
|
-
import { n as e, o as t } from "./PartnerMap-
|
|
1
|
+
import "./FeaturedRecord-CmirL4Qc.js";
|
|
2
|
+
import { n as e, o as t } from "./PartnerMap-9FSjyPPa.js";
|
|
3
3
|
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, openBlock as c, renderList as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
|
|
4
4
|
import { useI18n as p } from "@museumwnf/viewer-core/i18n";
|
|
5
5
|
import { md as m, mdInline as h } from "@museumwnf/viewer-core";
|
package/dist/content.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./FeaturedRecord-
|
|
2
|
-
import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./PartnerMap-
|
|
3
|
-
import { a as d, i as f, n as p, o as m, r as h, s as g, t as _ } from "./TimelineEventList-
|
|
1
|
+
import { t as e } from "./FeaturedRecord-CmirL4Qc.js";
|
|
2
|
+
import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./PartnerMap-9FSjyPPa.js";
|
|
3
|
+
import { a as d, i as f, n as p, o as m, r as h, s as g, t as _ } from "./TimelineEventList-B5_OflLs.js";
|
|
4
4
|
import { t as v } from "./GlossaryPopover-B7E6BsjS.js";
|
|
5
|
-
import { a as y, i as b, n as x, o as S, r as C, s as w, t as T } from "./OnDisplayIn-
|
|
6
|
-
import { t as E } from "./content-
|
|
5
|
+
import { a as y, i as b, n as x, o as S, r as C, s as w, t as T } from "./OnDisplayIn-D6oHJJnl.js";
|
|
6
|
+
import { t as E } from "./content-BjWJl4z6.js";
|
|
7
7
|
export { w as BackLink, b as DynastyList, y as DynastyPopout, d as FacetSelect, e as FeaturedRecord, f as FilterPanel, v as GlossaryPopover, S as GlossaryTool, a as MediaGallery, T as OnDisplayIn, m as Pagination, l as PartnerMap, p as PartnerPanel, t as RecordCredits, i as RecordGrid, n as RecordLanguages, u as RecordList, c as RecordSheet, x as RelatedMedia, s as RelatedRecords, h as ResultsSummary, g as SectionCards, o as SheetSection, r as SourceCredit, E as SpecialFeatures, _ as TimelineEventList, C as TimelineLookup };
|
package/dist/dxa.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as e, i as t, n, r } from "./Theme-
|
|
1
|
+
import { a as e, i as t, n, r } from "./Theme-B01sbkhs.js";
|
|
2
2
|
import { i } from "./PageShell-BT9SnXav.js";
|
|
3
3
|
import { i as a, n as o, r as s, t as c } from "./chrome-DNsZQXrL.js";
|
|
4
|
-
import { c as l, d as u } from "./PartnerMap-
|
|
5
|
-
import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-
|
|
6
|
-
import { s as g } from "./OnDisplayIn-
|
|
7
|
-
import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-
|
|
8
|
-
import { t as ee } from "./RecordView-
|
|
4
|
+
import { c as l, d as u } from "./PartnerMap-9FSjyPPa.js";
|
|
5
|
+
import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-B5_OflLs.js";
|
|
6
|
+
import { s as g } from "./OnDisplayIn-D6oHJJnl.js";
|
|
7
|
+
import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-Dya1cmLT.js";
|
|
8
|
+
import { t as ee } from "./RecordView-DWREsdNX.js";
|
|
9
9
|
import { t as te } from "./SiteShell-DPdTxtJ5.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
|
-
import { t as dt } from "./ItemDetailView-
|
|
12
|
+
import { t as dt } from "./ItemDetailView-JJeTCjRe.js";
|
|
13
13
|
import { n as j, r as ft, t as pt } from "./themeSpecs-DP9xWiVJ.js";
|
|
14
14
|
import { Fragment as M, computed as N, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createSlots as mt, createTextVNode as R, createVNode as z, normalizeClass as ht, normalizeStyle as gt, onBeforeUnmount as _t, onMounted as vt, openBlock as B, ref as V, renderList as H, renderSlot as yt, resolveDynamicComponent as bt, toDisplayString as U, unref as W, vModelText as xt, vShow as St, withCtx as G, withDirectives as K, withModifiers as Ct } from "vue";
|
|
15
15
|
import { I18nText as q, NotFoundView as wt, languageLabels as Tt, loadEntities as J, mwnfLinks as Y, offeredLanguages as Et, renderInline as Dt, sectionMeta as Ot, useDataPackage as kt, useFacets as At, useI18n as X, useKeywordIndex as jt, useSection as Mt, useSiteConfig as Nt, yearBuckets as Z } from "@museumwnf/viewer-core";
|
|
@@ -718,7 +718,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
718
718
|
_: 1
|
|
719
719
|
}, 8, ["spec"])) : F("", !0);
|
|
720
720
|
}
|
|
721
|
-
}, 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-
|
|
721
|
+
}, 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-B01sbkhs.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 = {
|
|
722
722
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
723
723
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
724
724
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
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";
|
|
2
2
|
import { n as u, r as d, t as f } from "./chrome-DNsZQXrL.js";
|
|
3
|
-
import { t as p } from "./FeaturedRecord-
|
|
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-
|
|
5
|
-
import { a as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./TimelineEventList-
|
|
3
|
+
import { t as p } from "./FeaturedRecord-CmirL4Qc.js";
|
|
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-9FSjyPPa.js";
|
|
5
|
+
import { a as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./TimelineEventList-B5_OflLs.js";
|
|
6
6
|
import { t as j } from "./GlossaryPopover-B7E6BsjS.js";
|
|
7
|
-
import { a as M, i as N, n as P, o as F, r as I, s as L, t as R } from "./OnDisplayIn-
|
|
8
|
-
import { t as z } from "./content-
|
|
7
|
+
import { a as M, i as N, n as P, o as F, r as I, s as L, t as R } from "./OnDisplayIn-D6oHJJnl.js";
|
|
8
|
+
import { t as z } from "./content-BjWJl4z6.js";
|
|
9
9
|
export { r as AppBanner, s as AppContent, i as AppFooter, l as AppHeader, a as AppHyperlinks, t as AppNavigation, e as AppSponsors, L as BackLink, N as DynastyList, M as DynastyPopout, w as FacetSelect, p as FeaturedRecord, T as FilterPanel, j as GlossaryPopover, F as GlossaryTool, v as MediaGallery, R as OnDisplayIn, c as PageShell, D as Pagination, S as PartnerMap, E as PartnerPanel, m as RecordCredits, _ as RecordGrid, h as RecordLanguages, C as RecordList, x as RecordSheet, P as RelatedMedia, b as RelatedRecords, O as ResultsSummary, k as SectionCards, y as SheetSection, o as SocialLinks, g as SourceCredit, z as SpecialFeatures, A as TimelineEventList, I as TimelineLookup, f as chromeAsset, u as chromePicture, d as chromeSource, n as mwnfSocialLinks };
|
package/dist/standalone.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./chrome-DNsZQXrL.js";
|
|
2
|
-
import { c as t, d as n, n as r, t as i } from "./PartnerMap-
|
|
3
|
-
import { n as a, t as o } from "./RecordView-
|
|
2
|
+
import { c as t, d as n, n as r, t as i } from "./PartnerMap-9FSjyPPa.js";
|
|
3
|
+
import { n as a, t as o } from "./RecordView-DWREsdNX.js";
|
|
4
4
|
import { t as s } from "./SiteShell-DPdTxtJ5.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 _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, unref as D, useId as O, useSlots as k, vShow as A, watch as j, withCtx as M, withDirectives as N, withModifiers as P } from "vue";
|
|
6
6
|
import { byId as F, loadEntities as I, pictureCredits as L, picturesInLanguage as R, removeEndingPoint as z, renderBlock as B, renderInline as V, renderPlain as H, useDataPackage as ee, useI18n as U, useSection as te, useSiteConfig as W } from "@museumwnf/viewer-core";
|
package/dist/views.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./FeaturedRecord-
|
|
2
|
-
import { s as t } from "./TimelineEventList-
|
|
3
|
-
import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./TimelineResultsView-
|
|
4
|
-
import { t as l } from "./RecordView-
|
|
1
|
+
import { t as e } from "./FeaturedRecord-CmirL4Qc.js";
|
|
2
|
+
import { s as t } from "./TimelineEventList-B5_OflLs.js";
|
|
3
|
+
import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./TimelineResultsView-Dya1cmLT.js";
|
|
4
|
+
import { t as l } from "./RecordView-DWREsdNX.js";
|
|
5
5
|
import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createVNode as m, mergeProps as h, normalizeClass as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b } from "vue";
|
|
6
6
|
import { I18nText as x, renderInline as S, renderPlain as C, useDataPackage as w, useFeaturedRecord as T, useI18n as E, useSiteConfig as D } from "@museumwnf/viewer-core";
|
|
7
7
|
//#region src/views/HomeView.vue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@museumwnf/viewer-layout",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.0",
|
|
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",
|