@museumwnf/viewer-layout 3.24.1 → 3.25.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-B7lsvwkg.js → FeaturedRecord-FbQkGB68.js} +1 -1
- package/dist/{ItemDetailView-C6SA1n2H.js → ItemDetailView-CKb2O9h5.js} +4 -4
- package/dist/{OnDisplayIn-CNcO6eW1.js → OnDisplayIn-Ccpjc-xL.js} +1 -1
- package/dist/{PartnerMap-CXbA_EFo.js → PartnerMap-m7g0xlwk.js} +114 -114
- package/dist/{RecordView-CF_bGx8F.js → RecordView-ZrD6BOnT.js} +1 -1
- package/dist/{Theme-D0eDKMW2.js → Theme-B29puDqw.js} +2 -2
- package/dist/{TimelineEventList-hN-ewFEl.js → TimelineEventList-Ci4MHdWd.js} +1 -1
- package/dist/{TimelineResultsView-BHJm5lkm.js → TimelineResultsView-QgdKeJKo.js} +2 -2
- package/dist/{content-D-dzl72f.js → content-DXEV-ylX.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/viewer-layout.css +1 -1
- package/dist/views.js +4 -4
- package/package.json +1 -1
- package/src/tokens.reference.css +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "./PartnerMap-
|
|
1
|
+
import { d as e } from "./PartnerMap-m7g0xlwk.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-m7g0xlwk.js";
|
|
3
|
+
import { n } from "./TimelineEventList-Ci4MHdWd.js";
|
|
4
|
+
import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-Ccpjc-xL.js";
|
|
5
|
+
import { t as c } from "./RecordView-ZrD6BOnT.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-m7g0xlwk.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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, getCurrentInstance as c, mergeProps as l, normalizeClass as u, onBeforeUnmount as d, openBlock as f, ref as p, renderList as m, renderSlot as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, useSlots as y, watch as b, withCtx as x, withModifiers as S } from "vue";
|
|
2
2
|
import { useI18n as C } from "@museumwnf/viewer-core/i18n";
|
|
3
|
-
import {
|
|
4
|
-
import { useRoute as
|
|
3
|
+
import { renderInline as w, sourceUrl as T } from "@museumwnf/viewer-core";
|
|
4
|
+
import { useRoute as E } from "vue-router";
|
|
5
5
|
//#region src/content/SmartLink.vue
|
|
6
|
-
var
|
|
6
|
+
var D = [
|
|
7
7
|
"href",
|
|
8
8
|
"target",
|
|
9
9
|
"rel"
|
|
10
|
-
],
|
|
10
|
+
], O = {
|
|
11
11
|
__name: "SmartLink",
|
|
12
12
|
props: {
|
|
13
13
|
to: {
|
|
@@ -36,24 +36,24 @@ var E = [
|
|
|
36
36
|
href: d.value || void 0,
|
|
37
37
|
target: e.external ? "_blank" : void 0,
|
|
38
38
|
rel: e.external ? "noopener" : void 0
|
|
39
|
-
}, t.$attrs), [h(t.$slots, "default")], 16,
|
|
39
|
+
}, t.$attrs), [h(t.$slots, "default")], 16, D));
|
|
40
40
|
}
|
|
41
|
-
},
|
|
41
|
+
}, k = ["aria-busy"], A = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "mwnf-list__status"
|
|
44
44
|
}, ee = {
|
|
45
45
|
key: 1,
|
|
46
46
|
class: "mwnf-list__rows"
|
|
47
|
-
}, te = { class: "mwnf-list__thumb" },
|
|
47
|
+
}, te = { class: "mwnf-list__thumb" }, j = ["src", "alt"], M = { class: "mwnf-list__body" }, N = ["innerHTML"], P = {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "mwnf-list__meta"
|
|
50
|
-
},
|
|
50
|
+
}, F = {
|
|
51
51
|
key: 0,
|
|
52
52
|
class: "mwnf-list__badge"
|
|
53
|
-
},
|
|
53
|
+
}, I = {
|
|
54
54
|
key: 2,
|
|
55
55
|
class: "mwnf-list__empty"
|
|
56
|
-
},
|
|
56
|
+
}, L = {
|
|
57
57
|
__name: "RecordList",
|
|
58
58
|
props: {
|
|
59
59
|
records: {
|
|
@@ -74,10 +74,10 @@ var E = [
|
|
|
74
74
|
return (o, c) => (f(), i("div", {
|
|
75
75
|
class: u(["mwnf-list", { "mwnf-list--loading": t.loading }]),
|
|
76
76
|
"aria-busy": t.loading ? "true" : void 0
|
|
77
|
-
}, [t.loading && t.loadingText ? (f(), i("p",
|
|
77
|
+
}, [t.loading && t.loadingText ? (f(), i("p", A, _(t.loadingText), 1)) : t.records.length ? (f(), i("ul", ee, [(f(!0), i(e, null, m(t.records, (t) => (f(), i("li", {
|
|
78
78
|
key: t.id,
|
|
79
79
|
class: "mwnf-list__row"
|
|
80
|
-
}, [s(
|
|
80
|
+
}, [s(O, {
|
|
81
81
|
class: "mwnf-list__link",
|
|
82
82
|
to: t.to,
|
|
83
83
|
href: t.href
|
|
@@ -87,33 +87,33 @@ var E = [
|
|
|
87
87
|
src: t.image,
|
|
88
88
|
alt: t.imageAlt ?? "",
|
|
89
89
|
loading: "lazy"
|
|
90
|
-
}, null, 8,
|
|
90
|
+
}, null, 8, j)) : r("", !0)]), a("span", M, [a("span", {
|
|
91
91
|
class: "mwnf-list__name",
|
|
92
92
|
innerHTML: t.name
|
|
93
|
-
}, null, 8,
|
|
93
|
+
}, null, 8, N), t.meta?.length || t.badge ? (f(), i("span", P, [(f(!0), i(e, null, m(t.meta ?? [], (e, t) => (f(), i("span", {
|
|
94
94
|
key: t,
|
|
95
95
|
class: "mwnf-list__meta-item"
|
|
96
|
-
}, _(e), 1))), 128)), t.badge ? (f(), i("span",
|
|
96
|
+
}, _(e), 1))), 128)), t.badge ? (f(), i("span", F, _(t.badge), 1)) : r("", !0)])) : r("", !0)])]),
|
|
97
97
|
_: 2
|
|
98
|
-
}, 1032, ["to", "href"])]))), 128))])) : v(n) ? (f(), i("div",
|
|
98
|
+
}, 1032, ["to", "href"])]))), 128))])) : v(n) ? (f(), i("div", I, [h(o.$slots, "empty")])) : r("", !0)], 10, k));
|
|
99
99
|
}
|
|
100
|
-
},
|
|
100
|
+
}, R = ["aria-busy"], z = {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "mwnf-grid__status"
|
|
103
|
-
},
|
|
103
|
+
}, B = {
|
|
104
104
|
key: 1,
|
|
105
105
|
class: "mwnf-grid__tiles"
|
|
106
|
-
},
|
|
106
|
+
}, V = ["onMouseenter", "onFocusin"], H = { class: "mwnf-grid__media" }, U = ["src", "alt"], W = {
|
|
107
107
|
key: 1,
|
|
108
108
|
class: "mwnf-grid__image mwnf-grid__image--empty",
|
|
109
109
|
"aria-hidden": "true"
|
|
110
|
-
},
|
|
110
|
+
}, G = { class: "mwnf-grid__card" }, K = ["src"], q = { class: "mwnf-grid__card-body" }, J = ["innerHTML"], Y = {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: "mwnf-grid__badge"
|
|
113
|
-
},
|
|
113
|
+
}, X = {
|
|
114
114
|
key: 2,
|
|
115
115
|
class: "mwnf-grid__empty"
|
|
116
|
-
},
|
|
116
|
+
}, Z = {
|
|
117
117
|
__name: "RecordGrid",
|
|
118
118
|
props: {
|
|
119
119
|
records: {
|
|
@@ -146,20 +146,20 @@ var E = [
|
|
|
146
146
|
return (n, p) => (f(), i("div", {
|
|
147
147
|
class: u(["mwnf-grid", { "mwnf-grid--loading": t.loading }]),
|
|
148
148
|
"aria-busy": t.loading ? "true" : void 0
|
|
149
|
-
}, [t.loading && t.loadingText ? (f(), i("p",
|
|
149
|
+
}, [t.loading && t.loadingText ? (f(), i("p", z, _(t.loadingText), 1)) : t.records.length ? (f(), i("ul", B, [(f(!0), i(e, null, m(t.records, (n) => (f(), i("li", {
|
|
150
150
|
key: n.id,
|
|
151
151
|
class: u(["mwnf-grid__tile", { "mwnf-grid__tile--hover": l.value === n.id }]),
|
|
152
152
|
onMouseenter: (e) => l.value = n.id,
|
|
153
153
|
onMouseleave: p[0] ||= (e) => l.value = null,
|
|
154
154
|
onFocusin: (e) => l.value = n.id,
|
|
155
155
|
onFocusout: p[1] ||= (e) => l.value = null
|
|
156
|
-
}, [a("span",
|
|
156
|
+
}, [a("span", H, [n.image ? (f(), i("img", {
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "mwnf-grid__image",
|
|
159
159
|
src: n.image,
|
|
160
160
|
alt: n.imageAlt ?? "",
|
|
161
161
|
loading: "lazy"
|
|
162
|
-
}, null, 8,
|
|
162
|
+
}, null, 8, U)) : (f(), i("span", W))]), a("div", G, [s(O, {
|
|
163
163
|
class: "mwnf-grid__card-media",
|
|
164
164
|
to: n.to,
|
|
165
165
|
href: n.href,
|
|
@@ -170,19 +170,19 @@ var E = [
|
|
|
170
170
|
key: 0,
|
|
171
171
|
src: n.image,
|
|
172
172
|
alt: ""
|
|
173
|
-
}, null, 8,
|
|
173
|
+
}, null, 8, K)) : r("", !0)]),
|
|
174
174
|
_: 2
|
|
175
|
-
}, 1032, ["to", "href"]), a("div",
|
|
175
|
+
}, 1032, ["to", "href"]), a("div", q, [
|
|
176
176
|
a("p", {
|
|
177
177
|
class: "mwnf-grid__name",
|
|
178
178
|
innerHTML: n.name
|
|
179
|
-
}, null, 8,
|
|
179
|
+
}, null, 8, J),
|
|
180
180
|
(f(!0), i(e, null, m(n.meta ?? [], (e, t) => (f(), i("p", {
|
|
181
181
|
key: t,
|
|
182
182
|
class: "mwnf-grid__meta"
|
|
183
183
|
}, _(d(e)), 1))), 128)),
|
|
184
|
-
n.badge ? (f(), i("p",
|
|
185
|
-
s(
|
|
184
|
+
n.badge ? (f(), i("p", Y, _(n.badge), 1)) : r("", !0),
|
|
185
|
+
s(O, {
|
|
186
186
|
class: "mwnf-grid__action",
|
|
187
187
|
to: n.to,
|
|
188
188
|
href: n.href
|
|
@@ -190,13 +190,13 @@ var E = [
|
|
|
190
190
|
default: x(() => [o(_(t.actionLabel || n.name.replace(/<[^>]+>/g, "")) + " › ", 1)]),
|
|
191
191
|
_: 2
|
|
192
192
|
}, 1032, ["to", "href"])
|
|
193
|
-
])])], 42,
|
|
193
|
+
])])], 42, V))), 128))])) : v(c) ? (f(), i("div", X, [h(n.$slots, "empty")])) : r("", !0)], 10, R));
|
|
194
194
|
}
|
|
195
|
-
},
|
|
195
|
+
}, Q = ["aria-label"], ne = [
|
|
196
196
|
"aria-pressed",
|
|
197
197
|
"lang",
|
|
198
198
|
"onClick"
|
|
199
|
-
],
|
|
199
|
+
], re = {
|
|
200
200
|
__name: "RecordLanguages",
|
|
201
201
|
props: {
|
|
202
202
|
languages: {
|
|
@@ -226,18 +226,18 @@ var E = [
|
|
|
226
226
|
"aria-pressed": e.code === n.language ? "true" : "false",
|
|
227
227
|
lang: e.code,
|
|
228
228
|
onClick: (t) => s("select", e.code)
|
|
229
|
-
}, _(e.label), 11,
|
|
229
|
+
}, _(e.label), 11, ne))), 128))], 8, Q)) : r("", !0);
|
|
230
230
|
}
|
|
231
|
-
},
|
|
231
|
+
}, ie = ["dir"], ae = { key: 0 }, oe = {
|
|
232
232
|
class: "mwnf-sheet__label",
|
|
233
233
|
scope: "row"
|
|
234
|
-
},
|
|
234
|
+
}, se = { class: "mwnf-sheet__value" }, ce = ["href"], le = ["innerHTML"], ue = {
|
|
235
235
|
key: 0,
|
|
236
236
|
class: "mwnf-sheet__row mwnf-sheet__row--short"
|
|
237
|
-
},
|
|
237
|
+
}, de = {
|
|
238
238
|
class: "mwnf-sheet__label",
|
|
239
239
|
scope: "row"
|
|
240
|
-
},
|
|
240
|
+
}, fe = ["aria-expanded"], pe = { class: "mwnf-sheet__value" }, me = ["innerHTML"], he = { class: "mwnf-sheet__value" }, ge = ["href"], _e = ["innerHTML"], ve = { class: "mwnf-sheet__label mwnf-sheet__label--short" }, ye = ["aria-expanded"], be = { class: "mwnf-sheet__value" }, xe = ["innerHTML"], Se = {
|
|
241
241
|
__name: "RecordSheet",
|
|
242
242
|
props: {
|
|
243
243
|
rows: {
|
|
@@ -277,52 +277,52 @@ var E = [
|
|
|
277
277
|
}, [(f(), n(g(t.layout === "list" ? "dl" : "table"), { class: "mwnf-sheet__rows" }, {
|
|
278
278
|
default: x(() => [t.layout === "list" ? (f(!0), i(e, { key: 1 }, m(t.rows, (n) => (f(), i(e, { key: n.key }, [
|
|
279
279
|
a("dt", { class: u(["mwnf-sheet__label", `mwnf-sheet__label--${n.key}`]) }, _(n.label), 3),
|
|
280
|
-
a("dd",
|
|
280
|
+
a("dd", he, [l(n) ? h(o.$slots, n.key, { row: n }, () => [n.render === "link" ? (f(), i("a", {
|
|
281
281
|
key: 0,
|
|
282
282
|
href: n.value,
|
|
283
283
|
target: "_blank",
|
|
284
284
|
rel: "noopener"
|
|
285
|
-
}, _(n.value), 9,
|
|
285
|
+
}, _(n.value), 9, ge)) : r("", !0)], void 0, 0) : (f(), i("span", {
|
|
286
286
|
key: 1,
|
|
287
287
|
class: u(`mwnf-sheet__${n.render}`),
|
|
288
288
|
innerHTML: n.html
|
|
289
|
-
}, null, 10,
|
|
290
|
-
t.shortDescription && n.key === t.shortDescriptionAfter ? (f(), i(e, { key: 0 }, [a("dt",
|
|
289
|
+
}, null, 10, _e))]),
|
|
290
|
+
t.shortDescription && n.key === t.shortDescriptionAfter ? (f(), i(e, { key: 0 }, [a("dt", ve, [a("button", {
|
|
291
291
|
type: "button",
|
|
292
292
|
class: "mwnf-sheet__toggle",
|
|
293
293
|
"aria-expanded": c.value ? "true" : "false",
|
|
294
294
|
onClick: d[1] ||= (e) => c.value = !c.value
|
|
295
|
-
}, _(c.value ? v(s)("record.action.hideShortDescription") : v(s)("record.action.viewShortDescription")), 9,
|
|
295
|
+
}, _(c.value ? v(s)("record.action.hideShortDescription") : v(s)("record.action.viewShortDescription")), 9, ye)]), a("dd", be, [c.value ? (f(), i("div", {
|
|
296
296
|
key: 0,
|
|
297
297
|
class: "mwnf-sheet__block",
|
|
298
298
|
innerHTML: t.shortDescription.html
|
|
299
|
-
}, null, 8,
|
|
300
|
-
], 64))), 128)) : (f(), i("tbody",
|
|
299
|
+
}, null, 8, xe)) : r("", !0)])], 64)) : r("", !0)
|
|
300
|
+
], 64))), 128)) : (f(), i("tbody", ae, [(f(!0), i(e, null, m(t.rows, (n) => (f(), i(e, { key: n.key }, [a("tr", { class: u(["mwnf-sheet__row", `mwnf-sheet__row--${n.key}`]) }, [a("th", oe, _(n.label), 1), a("td", se, [l(n) ? h(o.$slots, n.key, { row: n }, () => [n.render === "link" ? (f(), i("a", {
|
|
301
301
|
key: 0,
|
|
302
302
|
href: n.value,
|
|
303
303
|
target: "_blank",
|
|
304
304
|
rel: "noopener"
|
|
305
|
-
}, _(n.value), 9,
|
|
305
|
+
}, _(n.value), 9, ce)) : r("", !0)], void 0, 0) : (f(), i("span", {
|
|
306
306
|
key: 1,
|
|
307
307
|
class: u(`mwnf-sheet__${n.render}`),
|
|
308
308
|
innerHTML: n.html
|
|
309
|
-
}, null, 10,
|
|
309
|
+
}, null, 10, le))])], 2), t.shortDescription && n.key === t.shortDescriptionAfter ? (f(), i("tr", ue, [a("th", de, [a("button", {
|
|
310
310
|
type: "button",
|
|
311
311
|
class: "mwnf-sheet__toggle",
|
|
312
312
|
"aria-expanded": c.value ? "true" : "false",
|
|
313
313
|
onClick: d[0] ||= (e) => c.value = !c.value
|
|
314
|
-
}, _(c.value ? v(s)("record.action.hideShortDescription") : v(s)("record.action.viewShortDescription")), 9,
|
|
314
|
+
}, _(c.value ? v(s)("record.action.hideShortDescription") : v(s)("record.action.viewShortDescription")), 9, fe)]), a("td", pe, [c.value ? (f(), i("div", {
|
|
315
315
|
key: 0,
|
|
316
316
|
class: "mwnf-sheet__block",
|
|
317
317
|
innerHTML: t.shortDescription.html
|
|
318
|
-
}, null, 8,
|
|
318
|
+
}, null, 8, me)) : r("", !0)])])) : r("", !0)], 64))), 128))]))]),
|
|
319
319
|
_: 3
|
|
320
|
-
}))], 10,
|
|
320
|
+
}))], 10, ie));
|
|
321
321
|
}
|
|
322
|
-
},
|
|
322
|
+
}, Ce = ["dir"], we = {
|
|
323
323
|
key: 0,
|
|
324
324
|
class: "mwnf-sheet-section__heading"
|
|
325
|
-
},
|
|
325
|
+
}, Te = ["innerHTML"], Ee = {
|
|
326
326
|
__name: "SheetSection",
|
|
327
327
|
props: {
|
|
328
328
|
heading: {
|
|
@@ -343,44 +343,44 @@ var E = [
|
|
|
343
343
|
class: "mwnf-sheet-section",
|
|
344
344
|
dir: e.dir || void 0
|
|
345
345
|
}, [
|
|
346
|
-
e.heading ? (f(), i("h2",
|
|
346
|
+
e.heading ? (f(), i("h2", we, _(e.heading), 1)) : r("", !0),
|
|
347
347
|
e.html ? (f(), i("div", {
|
|
348
348
|
key: 1,
|
|
349
349
|
class: "mwnf-sheet-section__body mwnf-sheet__block",
|
|
350
350
|
innerHTML: e.html
|
|
351
|
-
}, null, 8,
|
|
351
|
+
}, null, 8, Te)) : r("", !0),
|
|
352
352
|
h(t.$slots, "default")
|
|
353
|
-
], 8,
|
|
353
|
+
], 8, Ce));
|
|
354
354
|
}
|
|
355
|
-
},
|
|
355
|
+
}, De = {
|
|
356
356
|
key: 0,
|
|
357
357
|
class: "mwnf-credits"
|
|
358
|
-
},
|
|
358
|
+
}, Oe = {
|
|
359
359
|
key: 0,
|
|
360
360
|
class: "mwnf-credits__heading mwnf-credits__heading--credits"
|
|
361
|
-
},
|
|
361
|
+
}, ke = {
|
|
362
362
|
key: 1,
|
|
363
363
|
class: "mwnf-credits__list"
|
|
364
|
-
},
|
|
364
|
+
}, Ae = { class: "mwnf-credits__label" }, je = {
|
|
365
365
|
key: 0,
|
|
366
366
|
class: "mwnf-credits__value"
|
|
367
|
-
},
|
|
367
|
+
}, Me = {
|
|
368
368
|
key: 1,
|
|
369
369
|
class: "mwnf-credits__person",
|
|
370
370
|
tabindex: "0"
|
|
371
|
-
},
|
|
371
|
+
}, Ne = {
|
|
372
372
|
class: "mwnf-credits__biography",
|
|
373
373
|
role: "tooltip"
|
|
374
|
-
},
|
|
374
|
+
}, Pe = ["innerHTML"], Fe = {
|
|
375
375
|
key: 1,
|
|
376
376
|
class: "mwnf-credits__value"
|
|
377
|
-
},
|
|
377
|
+
}, Ie = {
|
|
378
378
|
key: 2,
|
|
379
379
|
class: "mwnf-credits__number"
|
|
380
|
-
},
|
|
380
|
+
}, Le = { class: "mwnf-credits__label" }, Re = { class: "mwnf-credits__heading mwnf-credits__heading--citation" }, ze = ["innerHTML"], Be = {
|
|
381
381
|
key: 1,
|
|
382
382
|
class: "mwnf-credits__citation"
|
|
383
|
-
},
|
|
383
|
+
}, Ve = {
|
|
384
384
|
__name: "RecordCredits",
|
|
385
385
|
props: {
|
|
386
386
|
credits: {
|
|
@@ -414,26 +414,26 @@ var E = [
|
|
|
414
414
|
},
|
|
415
415
|
setup(n) {
|
|
416
416
|
let s = n, { t: c } = C(), l = t(() => s.credits.length > 0 || s.workingNumber || s.citation || s.citationHtml);
|
|
417
|
-
return (t, s) => l.value ? (f(), i("section",
|
|
418
|
-
n.credits.length || n.workingNumber ? (f(), i("h2",
|
|
419
|
-
n.credits.length ? (f(), i("dl",
|
|
417
|
+
return (t, s) => l.value ? (f(), i("section", De, [
|
|
418
|
+
n.credits.length || n.workingNumber ? (f(), i("h2", Oe, _(n.heading || v(c)("record.sheet.credits")), 1)) : r("", !0),
|
|
419
|
+
n.credits.length ? (f(), i("dl", ke, [(f(!0), i(e, null, m(n.credits, (t) => (f(), i(e, { key: t.label }, [a("dt", Ae, _(t.label), 1), t.people ? (f(), i("dd", je, [(f(!0), i(e, null, m(t.people, (t, n) => (f(), i(e, { key: n }, [n ? (f(), i(e, { key: 0 }, [o(", ")], 64)) : r("", !0), t.biography ? (f(), i("span", Me, [o(_(t.name), 1), a("span", Ne, [
|
|
420
420
|
a("b", null, _(t.heading), 1),
|
|
421
421
|
s[0] ||= a("br", null, null, -1),
|
|
422
422
|
s[1] ||= a("br", null, null, -1),
|
|
423
|
-
|
|
424
|
-
])])) : (f(), i(e, { key: 2 }, [o(_(t.name), 1)], 64))], 64))), 128))])) : (f(), i("dd",
|
|
425
|
-
n.workingNumber ? (f(), i("p",
|
|
426
|
-
n.citation || n.citationHtml ? (f(), i(e, { key: 3 }, [a("h2",
|
|
423
|
+
a("span", { innerHTML: v(w)(t.biography, { breaks: !0 }) }, null, 8, Pe)
|
|
424
|
+
])])) : (f(), i(e, { key: 2 }, [o(_(t.name), 1)], 64))], 64))), 128))])) : (f(), i("dd", Fe, _(t.value), 1))], 64))), 128))])) : r("", !0),
|
|
425
|
+
n.workingNumber ? (f(), i("p", Ie, [n.workingNumberLabel ? (f(), i(e, { key: 0 }, [a("span", Le, _(n.workingNumberLabel), 1), s[2] ||= o(_(" "), -1)], 64)) : r("", !0), a("strong", null, _(n.workingNumber), 1)])) : r("", !0),
|
|
426
|
+
n.citation || n.citationHtml ? (f(), i(e, { key: 3 }, [a("h2", Re, _(n.citationHeading || v(c)("record.citation.heading")), 1), n.citationHtml ? (f(), i("p", {
|
|
427
427
|
key: 0,
|
|
428
428
|
class: "mwnf-credits__citation",
|
|
429
429
|
innerHTML: n.citationHtml
|
|
430
|
-
}, null, 8,
|
|
430
|
+
}, null, 8, ze)) : (f(), i("p", Be, _(n.citation), 1))], 64)) : r("", !0)
|
|
431
431
|
])) : r("", !0);
|
|
432
432
|
}
|
|
433
|
-
},
|
|
433
|
+
}, He = {
|
|
434
434
|
key: 0,
|
|
435
435
|
class: "mwnf-source-credit"
|
|
436
|
-
},
|
|
436
|
+
}, Ue = { class: "mwnf-source-credit__label" }, We = ["href"], Ge = {
|
|
437
437
|
__name: "SourceCredit",
|
|
438
438
|
props: {
|
|
439
439
|
route: {
|
|
@@ -446,20 +446,20 @@ var E = [
|
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
setup(e) {
|
|
449
|
-
let n = e, { t: s } = C(), c =
|
|
450
|
-
return (t, n) => l.value ? (f(), i("p",
|
|
451
|
-
a("span",
|
|
449
|
+
let n = e, { t: s } = C(), c = E(), l = t(() => T(n.route ?? c));
|
|
450
|
+
return (t, n) => l.value ? (f(), i("p", He, [
|
|
451
|
+
a("span", Ue, _(v(s)(e.labelEntry)), 1),
|
|
452
452
|
n[0] ||= o(),
|
|
453
|
-
a("a", { href: l.value }, _(l.value), 9,
|
|
453
|
+
a("a", { href: l.value }, _(l.value), 9, We)
|
|
454
454
|
])) : r("", !0);
|
|
455
455
|
}
|
|
456
|
-
},
|
|
456
|
+
}, Ke = {
|
|
457
457
|
key: 0,
|
|
458
458
|
class: "mwnf-related"
|
|
459
|
-
},
|
|
459
|
+
}, qe = {
|
|
460
460
|
key: 0,
|
|
461
461
|
class: "mwnf-related__heading"
|
|
462
|
-
},
|
|
462
|
+
}, Je = {
|
|
463
463
|
__name: "RelatedRecords",
|
|
464
464
|
props: {
|
|
465
465
|
heading: {
|
|
@@ -480,42 +480,42 @@ var E = [
|
|
|
480
480
|
}
|
|
481
481
|
},
|
|
482
482
|
setup(e) {
|
|
483
|
-
return (t, a) => e.records.length || t.$slots.default ? (f(), i("section",
|
|
484
|
-
e.heading ? (f(), i("h2",
|
|
485
|
-
e.variant === "grid" ? (f(), n(
|
|
483
|
+
return (t, a) => e.records.length || t.$slots.default ? (f(), i("section", Ke, [
|
|
484
|
+
e.heading ? (f(), i("h2", qe, _(e.heading), 1)) : r("", !0),
|
|
485
|
+
e.variant === "grid" ? (f(), n(Z, {
|
|
486
486
|
key: 1,
|
|
487
487
|
records: e.records,
|
|
488
488
|
"action-label": e.actionLabel
|
|
489
|
-
}, null, 8, ["records", "action-label"])) : (f(), n(
|
|
489
|
+
}, null, 8, ["records", "action-label"])) : (f(), n(L, {
|
|
490
490
|
key: 2,
|
|
491
491
|
records: e.records
|
|
492
492
|
}, null, 8, ["records"])),
|
|
493
493
|
h(t.$slots, "default")
|
|
494
494
|
])) : r("", !0);
|
|
495
495
|
}
|
|
496
|
-
},
|
|
496
|
+
}, Ye = ["src", "alt"], Xe = {
|
|
497
497
|
key: 0,
|
|
498
498
|
class: "mwnf-media__caption"
|
|
499
|
-
},
|
|
499
|
+
}, Ze = { key: 0 }, Qe = {
|
|
500
500
|
key: 1,
|
|
501
501
|
class: "mwnf-media__credit"
|
|
502
|
-
},
|
|
502
|
+
}, $e = {
|
|
503
503
|
key: 2,
|
|
504
504
|
class: "mwnf-media__credit"
|
|
505
|
-
},
|
|
505
|
+
}, et = ["src", "alt"], tt = {
|
|
506
506
|
key: 0,
|
|
507
507
|
class: "mwnf-media__thumbs"
|
|
508
|
-
},
|
|
508
|
+
}, $ = [
|
|
509
509
|
"aria-pressed",
|
|
510
510
|
"title",
|
|
511
511
|
"onClick"
|
|
512
|
-
],
|
|
512
|
+
], nt = ["src", "alt"], rt = {
|
|
513
513
|
key: 1,
|
|
514
514
|
class: "mwnf-media__caption"
|
|
515
|
-
},
|
|
515
|
+
}, it = { key: 0 }, at = {
|
|
516
516
|
key: 1,
|
|
517
517
|
class: "mwnf-media__credit"
|
|
518
|
-
},
|
|
518
|
+
}, ot = ["aria-label"], st = ["aria-label"], ct = ["src", "alt"], lt = ["aria-label"], ut = {
|
|
519
519
|
__name: "MediaGallery",
|
|
520
520
|
props: {
|
|
521
521
|
images: {
|
|
@@ -563,10 +563,10 @@ var E = [
|
|
|
563
563
|
src: e.url,
|
|
564
564
|
alt: e.alt ?? "",
|
|
565
565
|
loading: "lazy"
|
|
566
|
-
}, null, 8,
|
|
567
|
-
e.caption ? (f(), i("span",
|
|
568
|
-
e.photographer ? (f(), i("span",
|
|
569
|
-
e.copyright ? (f(), i("span",
|
|
566
|
+
}, null, 8, Ye), e.caption || e.photographer || e.copyright ? (f(), i("figcaption", Xe, [
|
|
567
|
+
e.caption ? (f(), i("span", Ze, _(e.caption), 1)) : r("", !0),
|
|
568
|
+
e.photographer ? (f(), i("span", Qe, _(v(s)("record.media.photograph")) + ": " + _(e.photographer), 1)) : r("", !0),
|
|
569
|
+
e.copyright ? (f(), i("span", $e, "© " + _(e.copyright), 1)) : r("", !0)
|
|
570
570
|
])) : r("", !0)]))), 128)) : (f(), i(e, { key: 1 }, [
|
|
571
571
|
a("button", {
|
|
572
572
|
type: "button",
|
|
@@ -576,8 +576,8 @@ var E = [
|
|
|
576
576
|
class: "mwnf-media__image",
|
|
577
577
|
src: l.value.url,
|
|
578
578
|
alt: l.value.alt ?? ""
|
|
579
|
-
}, null, 8,
|
|
580
|
-
n.images.length > 1 ? (f(), i("ul",
|
|
579
|
+
}, null, 8, et)]),
|
|
580
|
+
n.images.length > 1 ? (f(), i("ul", tt, [(f(!0), i(e, null, m(n.images, (e, t) => (f(), i("li", { key: e.url ?? t }, [a("button", {
|
|
581
581
|
type: "button",
|
|
582
582
|
class: u(["mwnf-media__thumb", { "mwnf-media__thumb--active": t === c.value }]),
|
|
583
583
|
"aria-pressed": t === c.value ? "true" : "false",
|
|
@@ -587,8 +587,8 @@ var E = [
|
|
|
587
587
|
src: e.url,
|
|
588
588
|
alt: e.alt ?? "",
|
|
589
589
|
loading: "lazy"
|
|
590
|
-
}, null, 8,
|
|
591
|
-
l.value.caption || h.value ? (f(), i("p",
|
|
590
|
+
}, null, 8, nt)], 10, $)]))), 128))])) : r("", !0),
|
|
591
|
+
l.value.caption || h.value ? (f(), i("p", rt, [l.value.caption ? (f(), i("span", it, _(l.value.caption), 1)) : r("", !0), h.value ? (f(), i("span", at, _(h.value), 1)) : r("", !0)])) : r("", !0),
|
|
592
592
|
g.value ? (f(), i("div", {
|
|
593
593
|
key: 2,
|
|
594
594
|
class: "mwnf-lightbox",
|
|
@@ -603,36 +603,36 @@ var E = [
|
|
|
603
603
|
class: "mwnf-lightbox__close",
|
|
604
604
|
"aria-label": v(s)("core.action.close"),
|
|
605
605
|
onClick: E
|
|
606
|
-
}, "✕", 8,
|
|
606
|
+
}, "✕", 8, ot),
|
|
607
607
|
n.images.length > 1 ? (f(), i("button", {
|
|
608
608
|
key: 0,
|
|
609
609
|
type: "button",
|
|
610
610
|
class: "mwnf-lightbox__control mwnf-lightbox__control--previous",
|
|
611
611
|
"aria-label": v(s)("core.pagination.previous"),
|
|
612
612
|
onClick: o[0] ||= S((e) => w(c.value - 1), ["stop"])
|
|
613
|
-
}, "‹", 8,
|
|
613
|
+
}, "‹", 8, st)) : r("", !0),
|
|
614
614
|
a("img", {
|
|
615
615
|
class: "mwnf-lightbox__image",
|
|
616
616
|
src: l.value.url,
|
|
617
617
|
alt: l.value.alt ?? ""
|
|
618
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, ct),
|
|
619
619
|
n.images.length > 1 ? (f(), i("button", {
|
|
620
620
|
key: 1,
|
|
621
621
|
type: "button",
|
|
622
622
|
class: "mwnf-lightbox__control mwnf-lightbox__control--next",
|
|
623
623
|
"aria-label": v(s)("core.pagination.next"),
|
|
624
624
|
onClick: o[1] ||= S((e) => w(c.value + 1), ["stop"])
|
|
625
|
-
}, "›", 8,
|
|
625
|
+
}, "›", 8, lt)) : r("", !0)
|
|
626
626
|
])) : r("", !0)
|
|
627
627
|
], 64))], 2)) : r("", !0);
|
|
628
628
|
}
|
|
629
|
-
},
|
|
629
|
+
}, dt = {
|
|
630
630
|
key: 0,
|
|
631
631
|
class: "mwnf-partner-map__title"
|
|
632
|
-
},
|
|
632
|
+
}, ft = ["src", "title"], pt = {
|
|
633
633
|
key: 1,
|
|
634
634
|
class: "mwnf-partner-map__link"
|
|
635
|
-
},
|
|
635
|
+
}, mt = ["href"], ht = {
|
|
636
636
|
__name: "PartnerMap",
|
|
637
637
|
props: {
|
|
638
638
|
latitude: {
|
|
@@ -686,21 +686,21 @@ var E = [
|
|
|
686
686
|
key: 0,
|
|
687
687
|
class: u(["mwnf-partner-map", { "mwnf-partner-map--google": l.value }])
|
|
688
688
|
}, [
|
|
689
|
-
l.value ? r("", !0) : (f(), i("p",
|
|
689
|
+
l.value ? r("", !0) : (f(), i("p", dt, _(t.$t(e.mapTitleEntry)), 1)),
|
|
690
690
|
a("iframe", {
|
|
691
691
|
src: d.value,
|
|
692
692
|
title: p.value,
|
|
693
693
|
loading: "lazy",
|
|
694
694
|
referrerpolicy: "no-referrer",
|
|
695
695
|
class: "mwnf-partner-map__embed"
|
|
696
|
-
}, null, 8,
|
|
697
|
-
l.value ? r("", !0) : (f(), i("p",
|
|
696
|
+
}, null, 8, ft),
|
|
697
|
+
l.value ? r("", !0) : (f(), i("p", pt, [a("a", {
|
|
698
698
|
href: m.value,
|
|
699
699
|
target: "_blank",
|
|
700
700
|
rel: "noopener"
|
|
701
|
-
}, "↗ " + _(t.$t(e.openMapLinkEntry)), 9,
|
|
701
|
+
}, "↗ " + _(t.$t(e.openMapLinkEntry)), 9, mt)]))
|
|
702
702
|
], 2)) : r("", !0);
|
|
703
703
|
}
|
|
704
704
|
};
|
|
705
705
|
//#endregion
|
|
706
|
-
export {
|
|
706
|
+
export { Ve as a, re as c, O as d, Ge as i, Z as l, ut as n, Ee as o, Je as r, Se as s, ht as t, L 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-m7g0xlwk.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";
|
|
@@ -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-m7g0xlwk.js";
|
|
2
|
+
import { o as n } from "./TimelineResultsView-QgdKeJKo.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-m7g0xlwk.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-m7g0xlwk.js";
|
|
2
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "./TimelineEventList-Ci4MHdWd.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-FbQkGB68.js";
|
|
2
|
+
import { n as e, o as t } from "./PartnerMap-m7g0xlwk.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-FbQkGB68.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-m7g0xlwk.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-Ci4MHdWd.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-Ccpjc-xL.js";
|
|
6
|
+
import { t as E } from "./content-DXEV-ylX.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 };
|