@museumwnf/viewer-layout 2.14.0 → 2.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist/BackLink-BJ16COHd.js +106 -0
- package/dist/TimelineEventList-BmfLBaTT.js +967 -0
- package/dist/TimelineLookup-DRc43FkL.js +444 -0
- package/dist/TimelineResultsView-D78PPWk-.js +1220 -0
- package/dist/content-DUXrQ-l8.js +353 -0
- package/dist/content.js +5 -3
- package/dist/dxa.js +1116 -0
- package/dist/index.js +5 -3
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +400 -1609
- package/package.json +4 -3
- package/src/tokens.reference.css +4 -0
- package/dist/TimelineLookup-D8qr1tmY.js +0 -1403
- package/dist/content-G-g7U3_2.js +0 -452
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import "./TimelineLookup-DRc43FkL.js";
|
|
2
|
+
import { g as e } from "./TimelineEventList-BmfLBaTT.js";
|
|
3
|
+
import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, normalizeClass as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, unref as g, vModelCheckbox as _, vShow as v, watch as y, withCtx as b, withDirectives as x } from "vue";
|
|
4
|
+
import { renderBlock as S, renderInline as C, useI18n as w } from "@museumwnf/viewer-core";
|
|
5
|
+
//#region src/content/FeaturedPartners.vue
|
|
6
|
+
var T = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "mwnf-featured-partners"
|
|
9
|
+
}, E = { class: "mwnf-featured-partners__heading" }, D = { class: "mwnf-featured-partners__carousel" }, O = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "mwnf-featured-partners__image"
|
|
12
|
+
}, ee = ["src", "alt"], te = { class: "mwnf-featured-partners__body" }, k = { class: "mwnf-featured-partners__name" }, A = { class: "mwnf-featured-partners__location" }, j = { key: 0 }, M = { class: "mwnf-featured-partners__description" }, N = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "mwnf-featured-partners__controls"
|
|
15
|
+
}, P = ["aria-label", "onClick"], F = 8e3, I = {
|
|
16
|
+
__name: "FeaturedPartners",
|
|
17
|
+
props: {
|
|
18
|
+
records: {
|
|
19
|
+
type: Array,
|
|
20
|
+
default: () => []
|
|
21
|
+
},
|
|
22
|
+
headingEntry: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: "partner.featured"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(n) {
|
|
28
|
+
let l = n, g = p(0), _ = null;
|
|
29
|
+
function y(e) {
|
|
30
|
+
g.value = e, S();
|
|
31
|
+
}
|
|
32
|
+
function S() {
|
|
33
|
+
_ && clearInterval(_), l.records.length > 0 && (_ = setInterval(() => {
|
|
34
|
+
g.value = (g.value + 1) % l.records.length;
|
|
35
|
+
}, F));
|
|
36
|
+
}
|
|
37
|
+
return d(S), u(() => _ && clearInterval(_)), (l, u) => n.records.length ? (f(), a("section", T, [
|
|
38
|
+
o("h2", E, h(l.$t(n.headingEntry)), 1),
|
|
39
|
+
o("div", D, [(f(!0), a(t, null, m(n.records, (t, n) => x((f(), r(e, {
|
|
40
|
+
key: t.id,
|
|
41
|
+
to: t.route,
|
|
42
|
+
class: "mwnf-featured-partners__card"
|
|
43
|
+
}, {
|
|
44
|
+
default: b(() => [t.logo ? (f(), a("span", O, [o("img", {
|
|
45
|
+
src: t.logo,
|
|
46
|
+
alt: t.name,
|
|
47
|
+
class: "mwnf-featured-partners__logo"
|
|
48
|
+
}, null, 8, ee)])) : i("", !0), o("span", te, [
|
|
49
|
+
o("span", k, h(t.name), 1),
|
|
50
|
+
o("span", A, [t.city ? (f(), a("span", j, h(t.city) + ", ", 1)) : i("", !0), s(h(t.country), 1)]),
|
|
51
|
+
o("span", M, h(t.description), 1)
|
|
52
|
+
])]),
|
|
53
|
+
_: 2
|
|
54
|
+
}, 1032, ["to"])), [[v, n === g.value]])), 128))]),
|
|
55
|
+
n.records.length > 1 ? (f(), a("div", N, [(f(!0), a(t, null, m(n.records, (e, t) => (f(), a("button", {
|
|
56
|
+
key: e.id,
|
|
57
|
+
class: c(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": t === g.value }]),
|
|
58
|
+
"aria-label": `${l.$t("core.action.show")} ${e.name}`,
|
|
59
|
+
onClick: (e) => y(t)
|
|
60
|
+
}, null, 10, P))), 128))])) : i("", !0)
|
|
61
|
+
])) : i("", !0);
|
|
62
|
+
}
|
|
63
|
+
}, L = { class: "mwnf-sibling-galleries" }, R = {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "mwnf-sibling-galleries__galleries"
|
|
66
|
+
}, z = { class: "mwnf-sibling-galleries__header" }, B = { class: "mwnf-sibling-galleries__heading" }, V = ["href"], H = { class: "mwnf-sibling-galleries__grid" }, U = {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "mwnf-sibling-galleries__image"
|
|
69
|
+
}, W = ["src", "alt"], G = {
|
|
70
|
+
key: 1,
|
|
71
|
+
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
72
|
+
}, K = { class: "mwnf-sibling-galleries__name" }, q = {
|
|
73
|
+
key: 1,
|
|
74
|
+
class: "mwnf-sibling-galleries__museums"
|
|
75
|
+
}, J = { class: "mwnf-sibling-galleries__heading" }, Y = { class: "mwnf-sibling-galleries__museums-grid" }, X = ["href"], Z = { class: "mwnf-sibling-galleries__museum-image" }, Q = { class: "mwnf-sibling-galleries__museum-name" }, ne = {
|
|
76
|
+
__name: "SiblingGalleries",
|
|
77
|
+
props: {
|
|
78
|
+
galleries: {
|
|
79
|
+
type: Array,
|
|
80
|
+
default: () => []
|
|
81
|
+
},
|
|
82
|
+
museums: {
|
|
83
|
+
type: Array,
|
|
84
|
+
default: () => []
|
|
85
|
+
},
|
|
86
|
+
galleriesHeadingEntry: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: "sibling.galleries"
|
|
89
|
+
},
|
|
90
|
+
seeMoreGalleriesEntry: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: "sibling.seeMoreGalleries"
|
|
93
|
+
},
|
|
94
|
+
seeMoreGalleriesHref: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: ""
|
|
97
|
+
},
|
|
98
|
+
museumsHeadingEntry: {
|
|
99
|
+
type: String,
|
|
100
|
+
default: "sibling.otherVirtualMuseums"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
setup(n) {
|
|
104
|
+
return (s, u) => (f(), a("section", L, [n.galleries.length ? (f(), a("div", R, [o("div", z, [o("p", B, h(s.$t(n.galleriesHeadingEntry)), 1), n.seeMoreGalleriesHref ? (f(), a("a", {
|
|
105
|
+
key: 0,
|
|
106
|
+
href: n.seeMoreGalleriesHref,
|
|
107
|
+
target: "_blank",
|
|
108
|
+
rel: "noopener",
|
|
109
|
+
class: "mwnf-sibling-galleries__see-more"
|
|
110
|
+
}, h(s.$t(n.seeMoreGalleriesEntry)) + " » ", 9, V)) : i("", !0)]), o("div", H, [(f(!0), a(t, null, m(n.galleries, (t) => (f(), r(e, {
|
|
111
|
+
key: t.id,
|
|
112
|
+
to: t.route,
|
|
113
|
+
class: c(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !t.route }])
|
|
114
|
+
}, {
|
|
115
|
+
default: b(() => [t.image ? (f(), a("span", U, [o("img", {
|
|
116
|
+
src: t.image,
|
|
117
|
+
alt: t.name
|
|
118
|
+
}, null, 8, W)])) : (f(), a("span", G)), o("p", K, h(t.name), 1)]),
|
|
119
|
+
_: 2
|
|
120
|
+
}, 1032, ["to", "class"]))), 128))])])) : i("", !0), n.museums.length ? (f(), a("div", q, [o("div", J, h(s.$t(n.museumsHeadingEntry)), 1), o("div", Y, [(f(!0), a(t, null, m(n.museums, (e) => (f(), a("a", {
|
|
121
|
+
key: e.name,
|
|
122
|
+
href: e.href || e.to,
|
|
123
|
+
target: "_blank",
|
|
124
|
+
rel: "noopener",
|
|
125
|
+
class: "mwnf-sibling-galleries__museum",
|
|
126
|
+
style: l({
|
|
127
|
+
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
128
|
+
"--mwnf-museum-text": e.textColor || "inherit"
|
|
129
|
+
})
|
|
130
|
+
}, [o("div", Z, h(e.name.split(" ").map((e) => e[0]).join("")), 1), o("p", Q, h(e.name), 1)], 12, X))), 128))])])) : i("", !0)]));
|
|
131
|
+
}
|
|
132
|
+
}, re = {
|
|
133
|
+
key: 0,
|
|
134
|
+
class: "mwnf-popup-logo"
|
|
135
|
+
}, ie = ["aria-label"], ae = ["innerHTML"], oe = ["innerHTML"], se = {
|
|
136
|
+
__name: "PopupLogo",
|
|
137
|
+
props: {
|
|
138
|
+
content: {
|
|
139
|
+
type: String,
|
|
140
|
+
default: ""
|
|
141
|
+
},
|
|
142
|
+
rawHtml: {
|
|
143
|
+
type: Boolean,
|
|
144
|
+
default: !1
|
|
145
|
+
},
|
|
146
|
+
enabled: {
|
|
147
|
+
type: Boolean,
|
|
148
|
+
default: !0
|
|
149
|
+
},
|
|
150
|
+
closeLabel: {
|
|
151
|
+
type: String,
|
|
152
|
+
default: "core.action.close"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
setup(e) {
|
|
156
|
+
let t = e, r = p(!1), s = n(() => t.rawHtml ? t.content : C(t.content)), c = n(() => t.enabled && !!t.content && !r.value);
|
|
157
|
+
return (t, n) => c.value ? (f(), a("div", re, [o("button", {
|
|
158
|
+
class: "mwnf-popup-logo__close",
|
|
159
|
+
"aria-label": t.$t(e.closeLabel),
|
|
160
|
+
onClick: n[0] ||= (e) => r.value = !0
|
|
161
|
+
}, "✕", 8, ie), e.rawHtml ? (f(), a("div", {
|
|
162
|
+
key: 0,
|
|
163
|
+
class: "mwnf-popup-logo__content",
|
|
164
|
+
innerHTML: s.value
|
|
165
|
+
}, null, 8, ae)) : (f(), a("div", {
|
|
166
|
+
key: 1,
|
|
167
|
+
class: "mwnf-popup-logo__content",
|
|
168
|
+
innerHTML: s.value
|
|
169
|
+
}, null, 8, oe))])) : i("", !0);
|
|
170
|
+
}
|
|
171
|
+
}, ce = { class: "mwnf-picture-gallery" }, le = {
|
|
172
|
+
key: 0,
|
|
173
|
+
class: "mwnf-picture-gallery__selected"
|
|
174
|
+
}, ue = { class: "mwnf-picture-gallery__image" }, de = ["src", "alt"], fe = { class: "mwnf-picture-gallery__details" }, pe = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, me = { key: 0 }, he = ["innerHTML"], ge = {
|
|
175
|
+
key: 0,
|
|
176
|
+
class: "mwnf-picture-gallery__label"
|
|
177
|
+
}, _e = ["innerHTML"], ve = {
|
|
178
|
+
key: 0,
|
|
179
|
+
class: "mwnf-picture-gallery__detail"
|
|
180
|
+
}, ye = {
|
|
181
|
+
key: 2,
|
|
182
|
+
class: "mwnf-picture-gallery__unresolved"
|
|
183
|
+
}, be = {
|
|
184
|
+
key: 1,
|
|
185
|
+
class: "mwnf-picture-gallery__empty"
|
|
186
|
+
}, xe = {
|
|
187
|
+
key: 2,
|
|
188
|
+
class: "mwnf-picture-gallery__strip"
|
|
189
|
+
}, Se = { class: "mwnf-picture-gallery__thumbs" }, Ce = ["onClick"], we = ["src", "alt"], Te = { class: "mwnf-picture-gallery__thumb-text" }, Ee = { key: 0 }, De = ["innerHTML"], Oe = { key: 1 }, ke = {
|
|
190
|
+
key: 0,
|
|
191
|
+
class: "mwnf-picture-gallery__toggle"
|
|
192
|
+
}, Ae = {
|
|
193
|
+
__name: "PictureGallery",
|
|
194
|
+
props: {
|
|
195
|
+
pictures: {
|
|
196
|
+
type: Array,
|
|
197
|
+
default: () => []
|
|
198
|
+
},
|
|
199
|
+
selectedId: {
|
|
200
|
+
type: [String, Number],
|
|
201
|
+
default: null
|
|
202
|
+
},
|
|
203
|
+
seeItemEntry: {
|
|
204
|
+
type: String,
|
|
205
|
+
default: "exhibition.theme.seeItemEntry"
|
|
206
|
+
},
|
|
207
|
+
unresolvedEntry: {
|
|
208
|
+
type: String,
|
|
209
|
+
default: "exhibition.theme.recordNotInSite"
|
|
210
|
+
},
|
|
211
|
+
emptyEntry: {
|
|
212
|
+
type: String,
|
|
213
|
+
default: "exhibition.theme.additionalContent"
|
|
214
|
+
},
|
|
215
|
+
addRelatedEntry: {
|
|
216
|
+
type: String,
|
|
217
|
+
default: "exhibition.theme.addRelatedWorks"
|
|
218
|
+
},
|
|
219
|
+
hideRelatedEntry: {
|
|
220
|
+
type: String,
|
|
221
|
+
default: "exhibition.theme.hideRelatedWorks"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
emits: ["update:selectedId"],
|
|
225
|
+
setup(l, { emit: u }) {
|
|
226
|
+
let d = l, v = u, { t: S } = w(), C = n(() => d.pictures.find((e) => e.id === d.selectedId) ?? null), T = n(() => d.pictures.some((e) => e.backRelated?.length)), E = p(!1);
|
|
227
|
+
y(() => d.pictures, () => {
|
|
228
|
+
E.value = !1;
|
|
229
|
+
});
|
|
230
|
+
let D = n(() => E.value ? d.pictures : d.pictures.filter((e) => !e.backRelated?.length));
|
|
231
|
+
function O(e) {
|
|
232
|
+
v("update:selectedId", e.id);
|
|
233
|
+
}
|
|
234
|
+
return (n, u) => (f(), a("div", ce, [C.value ? (f(), a("div", le, [o("div", ue, [o("img", {
|
|
235
|
+
src: C.value.image,
|
|
236
|
+
alt: C.value.imageAlt ?? ""
|
|
237
|
+
}, null, 8, de)]), o("div", fe, [
|
|
238
|
+
o("div", pe, [C.value.imageCaption ? (f(), a("span", me, h(C.value.imageCaption) + ", ", 1)) : i("", !0), o("span", { innerHTML: C.value.name }, null, 8, he)]),
|
|
239
|
+
(f(!0), a(t, null, m(C.value.fields ?? [], (e, t) => (f(), a("div", {
|
|
240
|
+
key: t,
|
|
241
|
+
class: "mwnf-picture-gallery__detail"
|
|
242
|
+
}, [e.label ? (f(), a("span", ge, h(e.label), 1)) : i("", !0), o("span", { innerHTML: e.value }, null, 8, _e)]))), 128)),
|
|
243
|
+
C.value.detail ? (f(), a("div", ve, h(C.value.detail), 1)) : i("", !0),
|
|
244
|
+
C.value.to ? (f(), r(e, {
|
|
245
|
+
key: 1,
|
|
246
|
+
class: "mwnf-picture-gallery__link",
|
|
247
|
+
to: C.value.to
|
|
248
|
+
}, {
|
|
249
|
+
default: b(() => [s(h(g(S)(l.seeItemEntry)) + " →", 1)]),
|
|
250
|
+
_: 1
|
|
251
|
+
}, 8, ["to"])) : (f(), a("div", ye, h(g(S)(l.unresolvedEntry)), 1))
|
|
252
|
+
])])) : (f(), a("div", be, h(g(S)(l.emptyEntry)), 1)), l.pictures.length ? (f(), a("div", xe, [o("ul", Se, [(f(!0), a(t, null, m(D.value, (e) => (f(), a("li", {
|
|
253
|
+
key: e.id,
|
|
254
|
+
class: c(["mwnf-picture-gallery__thumb", {
|
|
255
|
+
"mwnf-picture-gallery__thumb--active": e.id === l.selectedId,
|
|
256
|
+
"mwnf-picture-gallery__thumb--related": e.backRelated?.length
|
|
257
|
+
}])
|
|
258
|
+
}, [o("button", {
|
|
259
|
+
type: "button",
|
|
260
|
+
onClick: (t) => O(e)
|
|
261
|
+
}, [o("img", {
|
|
262
|
+
src: e.image,
|
|
263
|
+
alt: e.imageAlt ?? "",
|
|
264
|
+
loading: "lazy"
|
|
265
|
+
}, null, 8, we)], 8, Ce), o("div", Te, [
|
|
266
|
+
e.imageCaption ? (f(), a("span", Ee, h(e.imageCaption) + ", ", 1)) : i("", !0),
|
|
267
|
+
o("span", {
|
|
268
|
+
class: "mwnf-picture-gallery__thumb-name",
|
|
269
|
+
innerHTML: e.name
|
|
270
|
+
}, null, 8, De),
|
|
271
|
+
e.detail ? (f(), a("span", Oe, ", " + h(e.detail), 1)) : i("", !0)
|
|
272
|
+
])], 2))), 128))]), T.value ? (f(), a("label", ke, [x(o("input", {
|
|
273
|
+
"onUpdate:modelValue": u[0] ||= (e) => E.value = e,
|
|
274
|
+
type: "checkbox"
|
|
275
|
+
}, null, 512), [[_, E.value]]), o("span", null, h(E.value ? g(S)(l.hideRelatedEntry) : g(S)(l.addRelatedEntry)), 1)])) : i("", !0)])) : i("", !0)]));
|
|
276
|
+
}
|
|
277
|
+
}, je = {
|
|
278
|
+
key: 0,
|
|
279
|
+
class: "mwnf-picture-narrative"
|
|
280
|
+
}, Me = ["innerHTML"], Ne = {
|
|
281
|
+
key: 1,
|
|
282
|
+
class: "mwnf-picture-narrative__related"
|
|
283
|
+
}, Pe = { class: "mwnf-picture-narrative__heading" }, Fe = { class: "mwnf-picture-narrative__images" }, Ie = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Le = ["src", "alt"], Re = { class: "mwnf-picture-narrative__thumb-text" }, ze = ["innerHTML"], Be = { key: 0 }, Ve = ["onClick"], $ = ["src", "alt"], He = { class: "mwnf-picture-narrative__thumb-text" }, Ue = ["innerHTML"], We = { key: 0 }, Ge = {
|
|
284
|
+
key: 0,
|
|
285
|
+
class: "mwnf-picture-narrative__relation"
|
|
286
|
+
}, Ke = {
|
|
287
|
+
key: 2,
|
|
288
|
+
class: "mwnf-picture-narrative__related"
|
|
289
|
+
}, qe = { class: "mwnf-picture-narrative__heading" }, Je = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, Ye = { class: "mwnf-picture-narrative__image" }, Xe = ["src", "alt"], Ze = { class: "mwnf-picture-narrative__thumb-text" }, Qe = ["innerHTML"], $e = { key: 0 }, et = {
|
|
290
|
+
__name: "PictureNarrative",
|
|
291
|
+
props: {
|
|
292
|
+
picture: {
|
|
293
|
+
type: Object,
|
|
294
|
+
default: null
|
|
295
|
+
},
|
|
296
|
+
contextualDescription: {
|
|
297
|
+
type: String,
|
|
298
|
+
default: ""
|
|
299
|
+
},
|
|
300
|
+
relatedHeadingEntry: {
|
|
301
|
+
type: String,
|
|
302
|
+
default: "exhibition.related.items"
|
|
303
|
+
},
|
|
304
|
+
reciprocalFallbackEntry: {
|
|
305
|
+
type: String,
|
|
306
|
+
default: "exhibition.related.reciprocal"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
emits: ["select"],
|
|
310
|
+
setup(e, { emit: r }) {
|
|
311
|
+
let s = e, c = r, { t: l } = w(), u = n(() => s.contextualDescription ? S(s.contextualDescription, { breaks: !0 }) : ""), d = n(() => s.picture?.related ?? []), p = n(() => s.picture?.backRelated?.[0] ?? null);
|
|
312
|
+
function _(e) {
|
|
313
|
+
c("select", e.id);
|
|
314
|
+
}
|
|
315
|
+
return (n, r) => e.picture ? (f(), a("div", je, [
|
|
316
|
+
u.value ? (f(), a("div", {
|
|
317
|
+
key: 0,
|
|
318
|
+
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
319
|
+
innerHTML: u.value
|
|
320
|
+
}, null, 8, Me)) : i("", !0),
|
|
321
|
+
d.value.length ? (f(), a("div", Ne, [o("div", Pe, h(g(l)(e.relatedHeadingEntry)), 1), o("div", Fe, [o("div", Ie, [o("img", {
|
|
322
|
+
src: e.picture.image,
|
|
323
|
+
alt: e.picture.imageAlt ?? ""
|
|
324
|
+
}, null, 8, Le), o("div", Re, [o("span", { innerHTML: e.picture.name }, null, 8, ze), e.picture.detail ? (f(), a("span", Be, ", " + h(e.picture.detail), 1)) : i("", !0)])]), (f(!0), a(t, null, m(d.value, (e) => (f(), a("div", {
|
|
325
|
+
key: e.picture.id,
|
|
326
|
+
class: "mwnf-picture-narrative__image"
|
|
327
|
+
}, [
|
|
328
|
+
o("button", {
|
|
329
|
+
type: "button",
|
|
330
|
+
onClick: (t) => _(e.picture)
|
|
331
|
+
}, [o("img", {
|
|
332
|
+
src: e.picture.image,
|
|
333
|
+
alt: e.picture.imageAlt ?? ""
|
|
334
|
+
}, null, 8, $)], 8, Ve),
|
|
335
|
+
o("div", He, [o("span", { innerHTML: e.picture.name }, null, 8, Ue), e.picture.detail ? (f(), a("span", We, ", " + h(e.picture.detail), 1)) : i("", !0)]),
|
|
336
|
+
e.text ? (f(), a("div", Ge, h(e.text), 1)) : i("", !0)
|
|
337
|
+
]))), 128))])])) : i("", !0),
|
|
338
|
+
p.value ? (f(), a("div", Ke, [
|
|
339
|
+
o("div", qe, h(g(l)(e.relatedHeadingEntry)), 1),
|
|
340
|
+
o("p", Je, h(p.value.reciprocalText || g(l)(e.reciprocalFallbackEntry)), 1),
|
|
341
|
+
o("div", Ye, [o("button", {
|
|
342
|
+
type: "button",
|
|
343
|
+
onClick: r[0] ||= (e) => _(p.value.picture)
|
|
344
|
+
}, [o("img", {
|
|
345
|
+
src: p.value.picture.image,
|
|
346
|
+
alt: p.value.picture.imageAlt ?? ""
|
|
347
|
+
}, null, 8, Xe)]), o("div", Ze, [o("span", { innerHTML: p.value.picture.name }, null, 8, Qe), p.value.picture.detail ? (f(), a("span", $e, ", " + h(p.value.picture.detail), 1)) : i("", !0)])])
|
|
348
|
+
])) : i("", !0)
|
|
349
|
+
])) : i("", !0);
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
//#endregion
|
|
353
|
+
export { I as a, ne as i, Ae as n, se as r, et as t };
|
package/dist/content.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./TimelineLookup-DRc43FkL.js";
|
|
2
|
+
import { a as o, c as s, d as c, f as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b } from "./TimelineEventList-BmfLBaTT.js";
|
|
3
|
+
import { n as x, t as S } from "./BackLink-BJ16COHd.js";
|
|
4
|
+
import { a as C, i as w, n as T, r as E, t as D } from "./content-DUXrQ-l8.js";
|
|
5
|
+
export { S as BackLink, n as DynastyList, i as DynastyPopout, l as FacetSelect, C as FeaturedPartners, e as FeaturedRecord, c as FilterPanel, m as GlossaryPopover, t as GlossaryTool, _ as MediaGallery, g as Pagination, x as PartnerMap, T as PictureGallery, D as PictureNarrative, E as PopupLogo, h as RecordCredits, p as RecordGrid, f as RecordLanguages, u as RecordList, s as RecordSheet, d as RelatedRecords, b as ResultsSummary, r as SectionCards, v as SheetSection, w as SiblingGalleries, o as SourceCredit, y as TimelineEventList, a as TimelineLookup };
|