@museumwnf/viewer-layout 3.61.0 → 3.63.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-Fe19w6_G.js +213 -0
- package/dist/LegacyItemSheet-Bmg8etGz.js +532 -0
- package/dist/{OnDisplayIn-DW4iC5BB.js → OnDisplayIn-BH3Bqope.js} +16 -9
- package/dist/{PageShell-CPtgzcxv.js → PageShell-CIGVv7sK.js} +144 -111
- package/dist/{PartnerMap-U-Hi2FBi.js → PartnerMap-DdyMLtgH.js} +5 -1
- package/dist/RecordView-Bgd5mm_e.js +384 -0
- package/dist/{SiteShell-qvsZO4Iz.js → SiteShell-UsZ_cpe9.js} +3 -2
- package/dist/Theme-Daezwp0p.js +391 -0
- package/dist/{TimelineEventList-1feZA5t7.js → TimelineEventList-CIkKxyQu.js} +122 -238
- package/dist/TimelineResultsView-BF3VoCs_.js +686 -0
- package/dist/components.js +1 -1
- package/dist/{content-BNS5U0Xv.js → content-hV5uyd-b.js} +2 -2
- package/dist/content.js +6 -6
- package/dist/data-CsMfGCkv.js +77 -0
- package/dist/data-DzrH9ikw.js +45 -0
- package/dist/dxa.js +2046 -1008
- package/dist/index.js +7 -7
- package/dist/standalone.js +3 -3
- package/dist/{themeSpecs-CsDpl4rR.js → themeSpecs-DIdmAEc3.js} +1 -1
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +755 -37
- package/package.json +1 -1
- package/src/dxa/testing.js +176 -120
- package/src/styles/dxa-exhibition.css +2289 -32
- package/src/styles/dxa-gallery.css +17 -2
- package/dist/FeaturedRecord-DaGLHyhD.js +0 -87
- package/dist/ItemDetailView-D7m2C1Mg.js +0 -310
- package/dist/RecordView-BE4mbj6G.js +0 -363
- package/dist/Theme-4RmyRY0x.js +0 -318
- package/dist/TimelineResultsView-CkH3NDqL.js +0 -1401
- package/dist/data-EKYeMQcC.js +0 -45
- package/dist/data-kqAkoQvf.js +0 -37
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import { t as e } from "./GlossaryPopover-DbQKXhx9.js";
|
|
2
|
+
import { O as t, d as n, j as r, u as i, v as a } from "./data-CsMfGCkv.js";
|
|
3
|
+
import { n as o } from "./themeSpecs-DIdmAEc3.js";
|
|
4
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, nextTick as ee, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as te, onMounted as ne, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vModelCheckbox as re, watch as S, withCtx as C, withDirectives as ie } from "vue";
|
|
5
|
+
import { glossaryEntries as ae, glossaryTermsForText as oe, renderBlock as w, renderInline as T, useGlossaryPopup as se, useI18n as ce } from "@museumwnf/viewer-core";
|
|
6
|
+
import { RouterLink as E, useRoute as le, useRouter as ue } from "vue-router";
|
|
7
|
+
// \0rolldown/runtime.js
|
|
8
|
+
var D = Object.defineProperty, O = (e, t) => {
|
|
9
|
+
let n = {};
|
|
10
|
+
for (var r in e) D(n, r, {
|
|
11
|
+
get: e[r],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
return t || D(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
15
|
+
}, de = ["src", "alt"], fe = ["src"], pe = {
|
|
16
|
+
__name: "HoverZoom",
|
|
17
|
+
props: {
|
|
18
|
+
src: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: !0
|
|
21
|
+
},
|
|
22
|
+
alt: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: ""
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(e) {
|
|
28
|
+
let t = v(null), n = v(null), r = v(null), i = v(!1);
|
|
29
|
+
function a(e) {
|
|
30
|
+
let i = t.value?.getBoundingClientRect();
|
|
31
|
+
if (!i || !n.value || !r.value) return;
|
|
32
|
+
let a = (e.clientX - i.left) / n.value.offsetWidth, o = (e.clientY - i.top) / n.value.offsetHeight;
|
|
33
|
+
r.value.style.left = `${-a * (r.value.offsetWidth - n.value.offsetWidth)}px`, r.value.style.top = `${-o * (r.value.offsetHeight - n.value.offsetHeight)}px`;
|
|
34
|
+
}
|
|
35
|
+
return (o, s) => (_(), d("div", {
|
|
36
|
+
ref_key: "box",
|
|
37
|
+
ref: t,
|
|
38
|
+
class: "mwnf-hover-zoom",
|
|
39
|
+
onMouseenter: s[0] ||= (e) => i.value = !0,
|
|
40
|
+
onMouseleave: s[1] ||= (e) => i.value = !1,
|
|
41
|
+
onMousemove: a
|
|
42
|
+
}, [f("img", {
|
|
43
|
+
ref_key: "normal",
|
|
44
|
+
ref: n,
|
|
45
|
+
class: "mwnf-hover-zoom__normal",
|
|
46
|
+
style: g({ opacity: +!i.value }),
|
|
47
|
+
src: e.src,
|
|
48
|
+
alt: e.alt
|
|
49
|
+
}, null, 12, de), f("img", {
|
|
50
|
+
ref_key: "zoom",
|
|
51
|
+
ref: r,
|
|
52
|
+
class: "mwnf-hover-zoom__zoom",
|
|
53
|
+
style: g({ opacity: +!!i.value }),
|
|
54
|
+
src: e.src,
|
|
55
|
+
alt: "",
|
|
56
|
+
"aria-hidden": "true"
|
|
57
|
+
}, null, 12, fe)], 544));
|
|
58
|
+
}
|
|
59
|
+
}, me = /* @__PURE__ */ O({ default: () => k }), he = { class: "mwnf-dxa-theme-page__band" }, ge = { class: "mwnf-dxa-theme-page__thumbs-frame" }, _e = {
|
|
60
|
+
key: 0,
|
|
61
|
+
class: "mwnf-dxa-theme-page__arrows"
|
|
62
|
+
}, ve = ["aria-label"], ye = ["aria-label"], be = [
|
|
63
|
+
"src",
|
|
64
|
+
"alt",
|
|
65
|
+
"onClick"
|
|
66
|
+
], xe = ["innerHTML"], Se = ["innerHTML"], Ce = {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "mwnf-dxa-theme-page__controls"
|
|
69
|
+
}, we = { class: "mwnf-dxa-theme-page__control" }, Te = { class: "mwnf-dxa-theme-page__switch" }, Ee = { class: "mwnf-dxa-theme-page__body" }, De = {
|
|
70
|
+
key: 0,
|
|
71
|
+
class: "mwnf-dxa-theme-page__selected"
|
|
72
|
+
}, Oe = { class: "mwnf-dxa-theme-page__lightbox-frame" }, ke = ["src", "alt"], Ae = {
|
|
73
|
+
key: 2,
|
|
74
|
+
class: "mwnf-dxa-theme-page__details"
|
|
75
|
+
}, je = { class: "mwnf-dxa-theme-page__detail mwnf-dxa-theme-page__detail--title" }, Me = ["innerHTML"], Ne = ["innerHTML"], Pe = {
|
|
76
|
+
key: 0,
|
|
77
|
+
class: "mwnf-dxa-theme-page__detail"
|
|
78
|
+
}, Fe = ["innerHTML"], Ie = ["innerHTML"], Le = ["innerHTML"], Re = ["innerHTML"], ze = ["innerHTML"], Be = {
|
|
79
|
+
key: 5,
|
|
80
|
+
class: "mwnf-dxa-theme-page__detail"
|
|
81
|
+
}, Ve = {
|
|
82
|
+
key: 1,
|
|
83
|
+
class: "mwnf-dxa-theme-page__empty"
|
|
84
|
+
}, He = { class: "mwnf-dxa-theme-page__theme-title" }, Ue = { class: "mwnf-dxa-theme-page__title" }, We = ["innerHTML"], Ge = ["innerHTML"], Ke = ["innerHTML"], qe = {
|
|
85
|
+
key: 3,
|
|
86
|
+
class: "mwnf-dxa-theme-page__related"
|
|
87
|
+
}, Je = { class: "mwnf-dxa-theme-page__related-heading" }, Ye = ["innerHTML"], Xe = { class: "mwnf-dxa-theme-page__related-images" }, Ze = { class: "mwnf-dxa-theme-page__related-image mwnf-dxa-theme-page__related-image--main" }, Qe = ["src", "alt"], $e = [
|
|
88
|
+
"src",
|
|
89
|
+
"alt",
|
|
90
|
+
"onClick"
|
|
91
|
+
], et = {
|
|
92
|
+
key: 4,
|
|
93
|
+
class: "mwnf-dxa-theme-page__related"
|
|
94
|
+
}, tt = { class: "mwnf-dxa-theme-page__related-heading" }, nt = { class: "mwnf-dxa-theme-page__justification mwnf-dxa-theme-page__reciprocal" }, rt = ["innerHTML"], it = { key: 1 }, at = { class: "mwnf-dxa-theme-page__related-image" }, ot = ["src", "alt"], st = { class: "mwnf-dxa-theme-page__tour" }, ct = {
|
|
95
|
+
key: 5,
|
|
96
|
+
class: "mwnf-dxa-theme-page__links"
|
|
97
|
+
}, lt = { class: "mwnf-dxa-theme-page__links-inner" }, ut = { class: "mwnf-dxa-theme-page__links-label" }, dt = {
|
|
98
|
+
key: 1,
|
|
99
|
+
class: "mwnf-loader"
|
|
100
|
+
}, k = {
|
|
101
|
+
__name: "Theme",
|
|
102
|
+
props: { aboutMode: {
|
|
103
|
+
type: Boolean,
|
|
104
|
+
default: !1
|
|
105
|
+
} },
|
|
106
|
+
setup(g) {
|
|
107
|
+
let D = g, { aboutTheme: O, listedThemes: de, pictureById: fe, pictureParent: me, themeByRouteId: k, themeText: A, useThemePictures: ft } = t, { t: j, locale: M } = ce(), N = le(), pt = ue(), P = c(() => D.aboutMode ? O.value : k(N.params.id)), F = c(() => {
|
|
108
|
+
let e = N.params.subtheme;
|
|
109
|
+
if (D.aboutMode || !e || e === "overview") return null;
|
|
110
|
+
let t = Number(e);
|
|
111
|
+
return Number.isInteger(t) && t >= 1 ? t : null;
|
|
112
|
+
}), I = c(() => F.value === null ? null : (P.value?.sub_themes ?? [])[F.value - 1] ?? null), L = c(() => I.value ?? P.value), R = ft(L), z = (e) => (e.backRelated ?? []).length > 0, mt = c(() => R.value.some(z)), B = v(!1), V = c(() => B.value ? R.value : R.value.filter((e) => !z(e))), ht = [
|
|
113
|
+
[774, 4],
|
|
114
|
+
[899, 5],
|
|
115
|
+
[1024, 6],
|
|
116
|
+
[1199, 7],
|
|
117
|
+
[1299, 8]
|
|
118
|
+
], gt = v(typeof window > "u" ? 1366 : window.innerWidth), _t = () => {
|
|
119
|
+
gt.value = window.innerWidth;
|
|
120
|
+
};
|
|
121
|
+
ne(() => window.addEventListener("resize", _t)), te(() => window.removeEventListener("resize", _t));
|
|
122
|
+
let vt = c(() => ht.find(([e]) => gt.value <= e)?.[1] ?? 9), yt = c(() => !B.value && V.value.length > vt.value), H = v(null);
|
|
123
|
+
function bt(e) {
|
|
124
|
+
let t = (H.value?.querySelector("img")?.clientWidth ?? 125) + 50;
|
|
125
|
+
H.value?.scrollTo({
|
|
126
|
+
left: (H.value.scrollLeft ?? 0) + e * t,
|
|
127
|
+
behavior: "smooth"
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
let xt = v(!1);
|
|
131
|
+
function St(e) {
|
|
132
|
+
xt.value = e.clientX > window.innerWidth / 2;
|
|
133
|
+
}
|
|
134
|
+
let U = v(null), W = v(null);
|
|
135
|
+
function Ct() {
|
|
136
|
+
let e = Number(N.params.image);
|
|
137
|
+
return (R.value.find((t) => t.displayOrder === e) ?? V.value[0] ?? R.value[0])?.id ?? null;
|
|
138
|
+
}
|
|
139
|
+
function wt() {
|
|
140
|
+
U.value = Ct(), W.value = null;
|
|
141
|
+
}
|
|
142
|
+
ne(wt), S([
|
|
143
|
+
() => N.params.id,
|
|
144
|
+
() => N.params.subtheme,
|
|
145
|
+
() => D.aboutMode
|
|
146
|
+
], () => {
|
|
147
|
+
B.value = !1, wt();
|
|
148
|
+
}), S(R, (e) => {
|
|
149
|
+
e.some((e) => e.id === U.value) || wt();
|
|
150
|
+
});
|
|
151
|
+
let G = c(() => R.value.find((e) => e.id === U.value) ?? null), K = c(() => W.value === null ? null : G.value?.related?.[W.value] ?? null), q = c(() => K.value?.picture ?? G.value);
|
|
152
|
+
function Tt(e) {
|
|
153
|
+
U.value = e.id, W.value = null, D.aboutMode || pt.replace({
|
|
154
|
+
name: "theme",
|
|
155
|
+
params: {
|
|
156
|
+
id: N.params.id,
|
|
157
|
+
subtheme: N.params.subtheme ?? "overview",
|
|
158
|
+
image: String(e.displayOrder)
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
let Et = v(!1), J = c(() => {
|
|
163
|
+
let e = q.value;
|
|
164
|
+
if (!e) return null;
|
|
165
|
+
let t = fe.value.get(e.id), n = t ? me(t) : null, i = n ? r("items", n.id, M.value) : {}, o = Array.isArray(i.materials) ? i.materials.join(", ") : i.materials ?? "";
|
|
166
|
+
return {
|
|
167
|
+
caption: K.value ? "" : e.imageCaption ?? "",
|
|
168
|
+
name: e.name ?? "",
|
|
169
|
+
alsoKnownAs: i.alternate_name ? T(i.alternate_name) : "",
|
|
170
|
+
artist: i.artist ? T(i.artist) : "",
|
|
171
|
+
materials: o ? T(o) : "",
|
|
172
|
+
date: i.dates ? T(i.dates) : "",
|
|
173
|
+
dynasty: i.dynasty ? T(i.dynasty) : "",
|
|
174
|
+
place: [
|
|
175
|
+
i.holder || (n ? a("partners", n.partner_id) : ""),
|
|
176
|
+
i.location,
|
|
177
|
+
i.province,
|
|
178
|
+
n ? a("countries", n.country_id) : ""
|
|
179
|
+
].filter(Boolean).join(", "),
|
|
180
|
+
to: e.to ?? null
|
|
181
|
+
};
|
|
182
|
+
}), Y = c(() => L.value ? A(L.value, M.value) : {}), Dt = c(() => D.aboutMode ? n(M.value) : A(P.value, M.value).title ?? P.value?.internal_name ?? ""), Ot = c(() => D.aboutMode ? i(M.value) : I.value ? A(I.value, M.value).title ?? I.value.internal_name ?? "" : j("exhibition.theme.overview")), X = c(() => !L.value?.id || !G.value?.id || K.value ? "" : r("themes", `${L.value.id}/${G.value.id}`, M.value).contextual_description ?? ""), kt = c(() => oe([
|
|
183
|
+
Y.value.quote,
|
|
184
|
+
Y.value.presentation,
|
|
185
|
+
X.value
|
|
186
|
+
].filter(Boolean).join("\n\n"), M.value)), At = c(() => ae(kt.value)), { active: jt, onClick: Mt, close: Nt } = se(kt), Pt = c(() => jt.value ? w(jt.value.definition, { breaks: !0 }) : ""), Ft = c(() => Y.value.quote ? T(String(Y.value.quote), { glossary: At.value }) : ""), It = c(() => Y.value.presentation ? w(String(Y.value.presentation), {
|
|
187
|
+
breaks: !0,
|
|
188
|
+
glossary: At.value
|
|
189
|
+
}) : ""), Lt = c(() => X.value ? w(String(X.value), {
|
|
190
|
+
breaks: !0,
|
|
191
|
+
glossary: At.value
|
|
192
|
+
}) : ""), Rt = c(() => F.value === null || !G.value ? [] : G.value.related ?? []), Z = c(() => G.value && !K.value ? (G.value.backRelated ?? [])[0] ?? null : null);
|
|
193
|
+
function zt() {
|
|
194
|
+
let e = R.value.find((e) => e.id === Z.value?.picture?.id);
|
|
195
|
+
e && Tt(e);
|
|
196
|
+
}
|
|
197
|
+
let Q = c(() => {
|
|
198
|
+
let e = O.value ? [O.value] : [];
|
|
199
|
+
for (let t of de.value) e.push(t, ...t.sub_themes ?? []);
|
|
200
|
+
return e;
|
|
201
|
+
}), $ = c(() => Q.value.findIndex((e) => e.id === L.value?.id)), Bt = c(() => $.value > 0 ? o(Q.value[$.value - 1]) : null), Vt = c(() => $.value >= 0 && $.value < Q.value.length - 1 ? o(Q.value[$.value + 1]) : null), Ht = c(() => D.aboutMode ? [] : (P.value?.sub_themes ?? []).map((e, t) => ({
|
|
202
|
+
index: t + 1,
|
|
203
|
+
title: A(e, M.value).title ?? e.internal_name ?? "",
|
|
204
|
+
to: o(e)
|
|
205
|
+
}))), Ut = c(() => P.value ? o(P.value) : null);
|
|
206
|
+
return S(B, () => ee(() => H.value?.scrollTo({ left: 0 }))), (t, n) => L.value ? (_(), d("div", {
|
|
207
|
+
key: 0,
|
|
208
|
+
class: h(["mwnf-dxa-theme-page", { "mwnf-dxa-theme-page--about": g.aboutMode }])
|
|
209
|
+
}, [
|
|
210
|
+
f("div", he, [f("div", ge, [yt.value ? (_(), d("div", _e, [f("button", {
|
|
211
|
+
type: "button",
|
|
212
|
+
class: "mwnf-dxa-theme-page__arrow",
|
|
213
|
+
"aria-label": x(j)("core.pagination.previous"),
|
|
214
|
+
onClick: n[0] ||= (e) => bt(-1)
|
|
215
|
+
}, "‹", 8, ve), f("button", {
|
|
216
|
+
type: "button",
|
|
217
|
+
class: "mwnf-dxa-theme-page__arrow",
|
|
218
|
+
"aria-label": x(j)("core.pagination.next"),
|
|
219
|
+
onClick: n[1] ||= (e) => bt(1)
|
|
220
|
+
}, "›", 8, ye)])) : u("", !0), x(R).length ? (_(), d("div", {
|
|
221
|
+
key: 1,
|
|
222
|
+
ref_key: "strip",
|
|
223
|
+
ref: H,
|
|
224
|
+
class: h(["mwnf-dxa-theme-page__thumbs", { "mwnf-dxa-theme-page__thumbs--scroll": yt.value }])
|
|
225
|
+
}, [(_(!0), d(s, null, y(V.value, (e) => (_(), d("div", {
|
|
226
|
+
key: e.id,
|
|
227
|
+
class: h(["mwnf-dxa-theme-page__thumb", {
|
|
228
|
+
"mwnf-dxa-theme-page__thumb--selected": e.id === U.value,
|
|
229
|
+
"mwnf-dxa-theme-page__thumb--related": z(e)
|
|
230
|
+
}])
|
|
231
|
+
}, [f("img", {
|
|
232
|
+
src: e.image,
|
|
233
|
+
alt: e.imageAlt,
|
|
234
|
+
onClick: (t) => Tt(e),
|
|
235
|
+
onMouseover: St
|
|
236
|
+
}, null, 40, be), f("div", { class: h(["mwnf-dxa-theme-page__tip", { "mwnf-dxa-theme-page__tip--left": xt.value }]) }, [f("div", null, [
|
|
237
|
+
e.imageCaption ? (_(), d(s, { key: 0 }, [f("span", { innerHTML: x(T)(e.imageCaption) }, null, 8, xe), n[8] ||= p(", ", -1)], 64)) : u("", !0),
|
|
238
|
+
f("i", { innerHTML: e.name }, null, 8, Se),
|
|
239
|
+
e.detail ? (_(), d(s, { key: 1 }, [p(", " + b(e.detail), 1)], 64)) : u("", !0)
|
|
240
|
+
])], 2)], 2))), 128))], 2)) : u("", !0)]), mt.value ? (_(), d("div", Ce, [f("div", we, [f("label", Te, [ie(f("input", {
|
|
241
|
+
"onUpdate:modelValue": n[2] ||= (e) => B.value = e,
|
|
242
|
+
type: "checkbox"
|
|
243
|
+
}, null, 512), [[re, B.value]]), n[9] ||= f("span", { class: "mwnf-dxa-theme-page__slider" }, null, -1)]), f("span", { onClick: n[3] ||= (e) => B.value = !B.value }, b(B.value ? x(j)("exhibition.theme.hideRelatedWorks") : x(j)("exhibition.theme.addRelatedWorks")), 1)])])) : u("", !0)]),
|
|
244
|
+
f("div", Ee, [x(R).length ? (_(), d("div", De, [
|
|
245
|
+
q.value ? (_(), d("div", {
|
|
246
|
+
key: 0,
|
|
247
|
+
class: "mwnf-dxa-theme-page__picture",
|
|
248
|
+
onClick: n[4] ||= (e) => Et.value = !0
|
|
249
|
+
}, [m(pe, {
|
|
250
|
+
src: q.value.image,
|
|
251
|
+
alt: q.value.imageAlt
|
|
252
|
+
}, null, 8, ["src", "alt"])])) : u("", !0),
|
|
253
|
+
Et.value && q.value ? (_(), d("div", {
|
|
254
|
+
key: 1,
|
|
255
|
+
class: "mwnf-dxa-theme-page__lightbox",
|
|
256
|
+
onClick: n[5] ||= (e) => Et.value = !1
|
|
257
|
+
}, [f("div", Oe, [f("img", {
|
|
258
|
+
src: q.value.image,
|
|
259
|
+
alt: q.value.imageAlt
|
|
260
|
+
}, null, 8, ke)])])) : u("", !0),
|
|
261
|
+
J.value ? (_(), d("div", Ae, [
|
|
262
|
+
f("div", je, [J.value.caption ? (_(), d(s, { key: 0 }, [f("span", { innerHTML: x(T)(J.value.caption) }, null, 8, Me), n[10] ||= p(", ", -1)], 64)) : u("", !0), f("span", { innerHTML: J.value.name }, null, 8, Ne)]),
|
|
263
|
+
J.value.alsoKnownAs ? (_(), d("div", Pe, [p(b(x(j)("sheet.field.alsoKnownAs")) + ": ", 1), f("span", { innerHTML: J.value.alsoKnownAs }, null, 8, Fe)])) : u("", !0),
|
|
264
|
+
J.value.artist ? (_(), d("div", {
|
|
265
|
+
key: 1,
|
|
266
|
+
class: "mwnf-dxa-theme-page__detail",
|
|
267
|
+
innerHTML: J.value.artist
|
|
268
|
+
}, null, 8, Ie)) : u("", !0),
|
|
269
|
+
J.value.materials ? (_(), d("div", {
|
|
270
|
+
key: 2,
|
|
271
|
+
class: "mwnf-dxa-theme-page__detail",
|
|
272
|
+
innerHTML: J.value.materials
|
|
273
|
+
}, null, 8, Le)) : u("", !0),
|
|
274
|
+
J.value.date ? (_(), d("div", {
|
|
275
|
+
key: 3,
|
|
276
|
+
class: "mwnf-dxa-theme-page__detail",
|
|
277
|
+
innerHTML: J.value.date
|
|
278
|
+
}, null, 8, Re)) : u("", !0),
|
|
279
|
+
J.value.dynasty ? (_(), d("div", {
|
|
280
|
+
key: 4,
|
|
281
|
+
class: "mwnf-dxa-theme-page__detail",
|
|
282
|
+
innerHTML: J.value.dynasty
|
|
283
|
+
}, null, 8, ze)) : u("", !0),
|
|
284
|
+
J.value.place ? (_(), d("div", Be, b(J.value.place), 1)) : u("", !0),
|
|
285
|
+
J.value.to ? (_(), l(x(E), {
|
|
286
|
+
key: 6,
|
|
287
|
+
to: J.value.to,
|
|
288
|
+
class: "mwnf-dxa-theme-page__detail mwnf-dxa-theme-page__entry"
|
|
289
|
+
}, {
|
|
290
|
+
default: C(() => [p(b(x(j)("exhibition.theme.seeItemEntry")), 1)]),
|
|
291
|
+
_: 1
|
|
292
|
+
}, 8, ["to"])) : u("", !0)
|
|
293
|
+
])) : u("", !0)
|
|
294
|
+
])) : (_(), d("div", Ve, b(x(j)("exhibition.theme.additionalContent")), 1)), f("div", {
|
|
295
|
+
class: "mwnf-dxa-theme-page__content",
|
|
296
|
+
onClick: n[7] ||= (...e) => x(Mt) && x(Mt)(...e)
|
|
297
|
+
}, [
|
|
298
|
+
f("div", He, b(Dt.value), 1),
|
|
299
|
+
f("div", Ue, b(Ot.value), 1),
|
|
300
|
+
Ft.value ? (_(), d(s, { key: 0 }, [n[11] ||= f("br", null, null, -1), f("div", {
|
|
301
|
+
class: "mwnf-dxa-theme-page__quote",
|
|
302
|
+
innerHTML: Ft.value
|
|
303
|
+
}, null, 8, We)], 64)) : u("", !0),
|
|
304
|
+
It.value ? (_(), d(s, { key: 1 }, [n[12] ||= f("br", null, null, -1), f("div", {
|
|
305
|
+
class: "mwnf-dxa-theme-page__presentation",
|
|
306
|
+
innerHTML: It.value
|
|
307
|
+
}, null, 8, Ge)], 64)) : u("", !0),
|
|
308
|
+
n[13] ||= f("br", null, null, -1),
|
|
309
|
+
Lt.value ? (_(), d("div", {
|
|
310
|
+
key: 2,
|
|
311
|
+
class: "mwnf-dxa-theme-page__justification",
|
|
312
|
+
innerHTML: Lt.value
|
|
313
|
+
}, null, 8, Ke)) : u("", !0),
|
|
314
|
+
Rt.value.length ? (_(), d("div", qe, [
|
|
315
|
+
f("div", Je, b(x(j)("exhibition.related.items")), 1),
|
|
316
|
+
K.value?.text ? (_(), d("div", {
|
|
317
|
+
key: 0,
|
|
318
|
+
class: "mwnf-dxa-theme-page__justification",
|
|
319
|
+
innerHTML: x(T)(K.value.text)
|
|
320
|
+
}, null, 8, Ye)) : u("", !0),
|
|
321
|
+
f("div", Xe, [f("div", Ze, [f("img", {
|
|
322
|
+
src: G.value.image,
|
|
323
|
+
alt: G.value.imageAlt,
|
|
324
|
+
onClick: n[6] ||= (e) => W.value = null
|
|
325
|
+
}, null, 8, Qe)]), (_(!0), d(s, null, y(Rt.value, (e, t) => (_(), d("div", {
|
|
326
|
+
key: e.picture.id,
|
|
327
|
+
class: h(["mwnf-dxa-theme-page__related-image", { "mwnf-dxa-theme-page__thumb--selected": t === W.value }])
|
|
328
|
+
}, [f("img", {
|
|
329
|
+
src: e.picture.image,
|
|
330
|
+
alt: e.picture.imageAlt,
|
|
331
|
+
onClick: (e) => W.value = t
|
|
332
|
+
}, null, 8, $e)], 2))), 128))])
|
|
333
|
+
])) : u("", !0),
|
|
334
|
+
Z.value ? (_(), d("div", et, [
|
|
335
|
+
f("div", tt, b(x(j)("exhibition.related.items")), 1),
|
|
336
|
+
f("div", nt, [Z.value.reciprocalText ? (_(), d("span", {
|
|
337
|
+
key: 0,
|
|
338
|
+
innerHTML: x(T)(Z.value.reciprocalText)
|
|
339
|
+
}, null, 8, rt)) : (_(), d("span", it, b(x(j)("exhibition.related.reciprocal")), 1))]),
|
|
340
|
+
f("div", at, [f("img", {
|
|
341
|
+
src: Z.value.picture.image,
|
|
342
|
+
alt: Z.value.picture.imageAlt,
|
|
343
|
+
onClick: zt
|
|
344
|
+
}, null, 8, ot)])
|
|
345
|
+
])) : u("", !0),
|
|
346
|
+
f("div", st, [Bt.value ? (_(), l(x(E), {
|
|
347
|
+
key: 0,
|
|
348
|
+
to: Bt.value,
|
|
349
|
+
class: "mwnf-dxa-theme-page__tour-link mwnf-dxa-theme-page__tour-link--previous"
|
|
350
|
+
}, {
|
|
351
|
+
default: C(() => [p("← " + b(x(j)("core.pagination.previous")), 1)]),
|
|
352
|
+
_: 1
|
|
353
|
+
}, 8, ["to"])) : u("", !0), Vt.value ? (_(), l(x(E), {
|
|
354
|
+
key: 1,
|
|
355
|
+
to: Vt.value,
|
|
356
|
+
class: "mwnf-dxa-theme-page__tour-link mwnf-dxa-theme-page__tour-link--next"
|
|
357
|
+
}, {
|
|
358
|
+
default: C(() => [p(b(x(j)("core.pagination.next")) + " →", 1)]),
|
|
359
|
+
_: 1
|
|
360
|
+
}, 8, ["to"])) : u("", !0)]),
|
|
361
|
+
Ht.value.length ? (_(), d("div", ct, [f("div", lt, [
|
|
362
|
+
f("div", ut, b(x(j)("exhibition.theme.inThisTheme")), 1),
|
|
363
|
+
f("div", null, [m(x(E), {
|
|
364
|
+
to: Ut.value,
|
|
365
|
+
class: h({ "mwnf-dxa-theme-page__link--current": F.value === null })
|
|
366
|
+
}, {
|
|
367
|
+
default: C(() => [p(b(x(j)("exhibition.theme.overview")), 1)]),
|
|
368
|
+
_: 1
|
|
369
|
+
}, 8, ["to", "class"])]),
|
|
370
|
+
(_(!0), d(s, null, y(Ht.value, (e) => (_(), d("div", { key: e.index }, [m(x(E), {
|
|
371
|
+
to: e.to,
|
|
372
|
+
class: h({ "mwnf-dxa-theme-page__link--current": F.value === e.index })
|
|
373
|
+
}, {
|
|
374
|
+
default: C(() => [p(b(e.index) + ". " + b(e.title), 1)]),
|
|
375
|
+
_: 2
|
|
376
|
+
}, 1032, ["to", "class"])]))), 128))
|
|
377
|
+
])])) : u("", !0)
|
|
378
|
+
])]),
|
|
379
|
+
m(e, {
|
|
380
|
+
term: x(jt),
|
|
381
|
+
html: Pt.value,
|
|
382
|
+
onClose: x(Nt)
|
|
383
|
+
}, null, 8, [
|
|
384
|
+
"term",
|
|
385
|
+
"html",
|
|
386
|
+
"onClose"
|
|
387
|
+
])
|
|
388
|
+
], 2)) : (_(), d("div", dt, b(x(j)("exhibition.theme.notInExhibition")), 1));
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
export { k as n, O as r, me as t };
|