@museumwnf/viewer-layout 3.17.1 → 3.18.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.
@@ -1,4 +1,4 @@
1
- import { u as e } from "./MediaGallery-CR-LDrnJ.js";
1
+ import { u as e } from "./MediaGallery-DeXLadYl.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 { n as t } from "./MediaGallery-CR-LDrnJ.js";
3
- import { n } from "./TimelineEventList-DUxaMPx5.js";
4
- import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-6rySfGfg.js";
5
- import { t as c } from "./RecordView-BVwiCyYi.js";
2
+ import { n as t } from "./MediaGallery-DeXLadYl.js";
3
+ import { n } from "./TimelineEventList-QLk6KLMq.js";
4
+ import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-zdKWIPTZ.js";
5
+ import { t as c } from "./RecordView-GckO9PmG.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
@@ -357,14 +357,14 @@ var E = [
357
357
  class: "mwnf-credits"
358
358
  }, De = {
359
359
  key: 0,
360
- class: "mwnf-credits__heading"
360
+ class: "mwnf-credits__heading mwnf-credits__heading--credits"
361
361
  }, Oe = {
362
362
  key: 1,
363
363
  class: "mwnf-credits__list"
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" }, Pe = { class: "mwnf-credits__citation" }, Fe = {
367
+ }, Me = { class: "mwnf-credits__label" }, Ne = { class: "mwnf-credits__heading mwnf-credits__heading--citation" }, Pe = { class: "mwnf-credits__citation" }, Fe = {
368
368
  __name: "RecordCredits",
369
369
  props: {
370
370
  credits: {
@@ -1,4 +1,4 @@
1
- import { a as e, u as t } from "./MediaGallery-CR-LDrnJ.js";
1
+ import { a as e, u as t } from "./MediaGallery-DeXLadYl.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";
@@ -0,0 +1,313 @@
1
+ import { a as e, i as t, n, o as r, r as i, s as ee, t as te, u as ne } from "./MediaGallery-DeXLadYl.js";
2
+ import { t as re } from "./GlossaryPopover-B7E6BsjS.js";
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
+ import { useI18n as S } from "@museumwnf/viewer-core/i18n";
5
+ import { NotFoundView as ce, byId as le, citation as ue, creditLine as de, entityRef as fe, languageLabels as pe, pictureCredits as me, picturesInLanguage as he, renderBlock as ge, renderInline as C, renderPlain as w, sheetRows as T, sourceUrl as _e, useDataPackage as ve, useGlossaryPopup as ye, useI18n as be, useProjects as xe, useRecordSheet as Se, useRelatedRecords as Ce } from "@museumwnf/viewer-core";
6
+ import { useRoute as we } from "vue-router";
7
+ //#region src/content/ShortDescription.vue
8
+ var Te = ["dir"], E = ["aria-expanded"], D = ["innerHTML"], Ee = {
9
+ __name: "ShortDescription",
10
+ props: {
11
+ html: {
12
+ type: String,
13
+ required: !0
14
+ },
15
+ dir: {
16
+ type: String,
17
+ default: void 0
18
+ }
19
+ },
20
+ setup(e) {
21
+ let t = e, { t: n } = S(), r = h(!1);
22
+ return b(() => t.html, () => {
23
+ r.value = !1;
24
+ }), (t, i) => (m(), l("div", {
25
+ class: "mwnf-sheet__short",
26
+ dir: e.dir
27
+ }, [u("button", {
28
+ type: "button",
29
+ class: "mwnf-sheet__toggle",
30
+ "aria-expanded": r.value ? "true" : "false",
31
+ onClick: i[0] ||= (e) => r.value = !r.value
32
+ }, v(r.value ? y(n)("record.action.hideShortDescription") : y(n)("record.action.viewShortDescription")), 9, E), r.value ? (m(), l("div", {
33
+ key: 0,
34
+ class: "mwnf-sheet__block",
35
+ innerHTML: e.html
36
+ }, null, 8, D)) : c("", !0)], 8, Te));
37
+ }
38
+ };
39
+ //#endregion
40
+ //#region src/views/pictureLimit.js
41
+ function O(e, t, n) {
42
+ let r = typeof t == "function" ? t(n) : t;
43
+ return Number.isInteger(r) && r > 0 ? e.slice(0, r) : e;
44
+ }
45
+ //#endregion
46
+ //#region src/views/RecordView.vue
47
+ var De = ["dir", "innerHTML"], Oe = { class: "mwnf-record__body" }, ke = { class: "mwnf-record__main" }, Ae = {
48
+ key: 1,
49
+ class: "mwnf-record__status"
50
+ }, je = {
51
+ key: 0,
52
+ class: "mwnf-record__aside"
53
+ }, Me = {
54
+ key: 2,
55
+ class: "mwnf-record__status"
56
+ }, k = {
57
+ __name: "RecordView",
58
+ props: {
59
+ spec: {
60
+ type: Object,
61
+ required: !0
62
+ },
63
+ id: {
64
+ type: String,
65
+ required: !0
66
+ },
67
+ entity: {
68
+ type: String,
69
+ default: ""
70
+ }
71
+ },
72
+ setup(h) {
73
+ let b = h, { t: S, locale: Te } = be(), E = ve(), D = xe(), k = se(), Ne = we(), A = b.spec.entity ?? b.entity, j = o(() => b.spec), Pe = fe(A), Fe = le(A), M = o(() => Fe.value.get(b.id) ?? null), Ie = o(() => Pe.value !== null), { language: N, languages: Le, dir: P, select: F, text: I, ready: L, terms: Re, glossary: R, attribution: z } = Se(M, {
74
+ entity: A,
75
+ translations: b.spec.translations ?? [],
76
+ attribution: b.spec.attribution ?? []
77
+ }), B = o(() => pe(Le.value)), { active: V, onClick: H, close: ze } = ye(Re), Be = o(() => V.value ? ge(V.value.definition, { breaks: !0 }) : ""), U = (e, t) => E.tr(e, t, N.value, "en"), Ve = (e) => E.translations(e, N.value), W = o(() => ({
78
+ record: M.value,
79
+ text: I.value,
80
+ language: N.value,
81
+ languages: B.value,
82
+ select: F,
83
+ dir: P.value,
84
+ glossary: R.value,
85
+ ready: L.value,
86
+ attribution: z.value,
87
+ t: S,
88
+ tr: U,
89
+ translations: Ve
90
+ }));
91
+ function G(e) {
92
+ return ((typeof e == "function" ? e(W.value) : e) ?? []).map((e) => ({
93
+ ...e,
94
+ label: e.label ? S(e.label) : ""
95
+ }));
96
+ }
97
+ let K = o(() => M.value ? T(G(j.value.fields), W.value) : []), q = o(() => M.value ? T(G(j.value.sections).map((e) => ({
98
+ render: "block",
99
+ ...e
100
+ })), W.value) : []), J = o(() => j.value.shortDescriptionAfter ?? "description"), He = o(() => !K.value.some((e) => e.key === J.value) && q.value.some((e) => e.key === J.value)), Ue = o(() => j.value.shortDescription === !1 ? "" : j.value.shortDescription ?? "short_description"), Y = o(() => {
101
+ let e = Ue.value ? I.value[Ue.value] : "";
102
+ return e ? { html: ge(String(e), {
103
+ breaks: !0,
104
+ glossary: R.value
105
+ }) } : null;
106
+ }), We = o(() => {
107
+ if (!M.value) return "";
108
+ if (j.value.title) return j.value.title(W.value);
109
+ let e = I.value.name ?? M.value.internal_name ?? M.value.id;
110
+ return C(String(e), { glossary: R.value });
111
+ }), Ge = o(() => M.value ? O(Ke(), j.value.pictureLimit, W.value) : []);
112
+ function Ke() {
113
+ if (j.value.media) return j.value.media(M.value, W.value);
114
+ let e = w(String(I.value.name ?? M.value.internal_name ?? ""));
115
+ return he(M.value.images, N.value).map((t) => ({
116
+ url: t.url,
117
+ alt: t.captions?.[N.value] ?? e,
118
+ caption: t.captions?.[N.value] ?? "",
119
+ ...me(t, N.value)
120
+ }));
121
+ }
122
+ let qe = [
123
+ {
124
+ field: "author",
125
+ label: "sheet.field.preparedBy"
126
+ },
127
+ {
128
+ field: "copy_editor",
129
+ label: "sheet.field.copyeditedBy"
130
+ },
131
+ {
132
+ field: "translator",
133
+ label: "sheet.field.translationBy"
134
+ },
135
+ {
136
+ field: "translation_copy_editor",
137
+ label: "sheet.field.translationCopyeditedBy"
138
+ }
139
+ ];
140
+ function X(e) {
141
+ let t = j.value.creditNames ? I.value.credit_names?.[e] : null;
142
+ return t?.length ? de(t) : I.value[e] ?? z.value[e] ?? "";
143
+ }
144
+ let Je = o(() => (j.value.credits ?? qe).map(({ field: e, label: t }) => ({
145
+ label: S(t),
146
+ value: X(e)
147
+ })).filter((e) => e.value)), Ye = o(() => String(M.value?.[j.value.workingNumber ?? "mwnf_reference"] ?? "")), Xe = o(() => {
148
+ 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), r = e?.permalink === !1 ? void 0 : typeof e?.permalink == "string" ? e.permalink : _e(Ne) ?? void 0;
151
+ return ue({
152
+ author: X("author") || void 0,
153
+ name: I.value.name ?? M.value.internal_name ?? "",
154
+ project: n,
155
+ permalink: r,
156
+ inWord: S("record.citation.in")
157
+ });
158
+ }), Z = Ce(M, {
159
+ entity: A,
160
+ language: N
161
+ }), Q = o(() => j.value.related === !1 ? null : j.value.related ?? {}), $ = o(() => {
162
+ if (!Q.value) return [];
163
+ let e = Q.value.record ?? Ze;
164
+ return Z.value.inPackage.map((t) => e(t, W.value));
165
+ });
166
+ function Ze({ record: e, justification: t }) {
167
+ let n = U(A, e.id).name ?? e.internal_name ?? e.id;
168
+ return {
169
+ id: e.id,
170
+ image: e.images?.[0]?.url ?? "",
171
+ imageAlt: w(String(n)),
172
+ name: C(String(n)),
173
+ meta: t ? [t] : [],
174
+ badge: e.type ?? "",
175
+ to: {
176
+ name: j.value.route ?? (b.entity ? `${b.entity}-detail` : "item"),
177
+ params: { id: e.id }
178
+ }
179
+ };
180
+ }
181
+ let Qe = /* @__PURE__ */ new Set([
182
+ "header",
183
+ "before-sheet",
184
+ "after-sheet",
185
+ "aside",
186
+ "source",
187
+ "related",
188
+ "after",
189
+ "default"
190
+ ]), $e = o(() => Object.keys(k).filter((e) => !Qe.has(e)));
191
+ return (o, h) => Ie.value && !M.value ? (m(), s(y(ce), { key: 0 })) : M.value ? (m(), l("article", {
192
+ key: 1,
193
+ class: oe(["mwnf-record", { "mwnf-record--spaced": j.value.spaced }]),
194
+ onClick: h[0] ||= (...e) => y(H) && y(H)(...e)
195
+ }, [
196
+ _(o.$slots, "header", p(f(W.value)), () => [
197
+ j.value.back ? (m(), s(ne, {
198
+ key: 0,
199
+ class: "mwnf-record__back",
200
+ to: j.value.back.to,
201
+ href: j.value.back.href
202
+ }, {
203
+ default: x(() => [ae("← " + v(y(S)(j.value.back.label)), 1)]),
204
+ _: 1
205
+ }, 8, ["to", "href"])) : c("", !0),
206
+ d(ee, {
207
+ languages: B.value,
208
+ language: y(N),
209
+ onSelect: y(F)
210
+ }, null, 8, [
211
+ "languages",
212
+ "language",
213
+ "onSelect"
214
+ ]),
215
+ u("h1", {
216
+ class: "mwnf-record__title",
217
+ dir: y(P) || void 0,
218
+ innerHTML: We.value
219
+ }, null, 8, De)
220
+ ]),
221
+ u("div", Oe, [u("div", ke, [
222
+ Ge.value.length ? (m(), s(te, {
223
+ key: 0,
224
+ images: Ge.value,
225
+ variant: j.value.mediaVariant ?? ""
226
+ }, null, 8, ["images", "variant"])) : c("", !0),
227
+ y(L) ? c("", !0) : (m(), l("p", Ae, v(y(S)("core.status.loading")), 1)),
228
+ _(o.$slots, "before-sheet", p(f(W.value))),
229
+ d(r, {
230
+ rows: K.value,
231
+ layout: j.value.layout ?? "table",
232
+ dir: y(P),
233
+ "short-description": Y.value,
234
+ "short-description-after": J.value
235
+ }, ie({ _: 2 }, [g($e.value, (e) => ({
236
+ name: e,
237
+ fn: x((t) => [_(o.$slots, e, p(f({
238
+ ...t,
239
+ ...W.value
240
+ })))])
241
+ }))]), 1032, [
242
+ "rows",
243
+ "layout",
244
+ "dir",
245
+ "short-description",
246
+ "short-description-after"
247
+ ]),
248
+ (m(!0), l(a, null, g(q.value, (t) => (m(), l(a, { key: t.key }, [d(e, {
249
+ heading: t.label,
250
+ html: t.html,
251
+ dir: y(P)
252
+ }, null, 8, [
253
+ "heading",
254
+ "html",
255
+ "dir"
256
+ ]), Y.value && He.value && t.key === J.value ? (m(), s(Ee, {
257
+ key: 0,
258
+ html: Y.value.html,
259
+ dir: y(P)
260
+ }, null, 8, ["html", "dir"])) : c("", !0)], 64))), 128)),
261
+ _(o.$slots, "after-sheet", p(f(W.value))),
262
+ d(t, {
263
+ credits: Je.value,
264
+ "working-number": Ye.value,
265
+ "working-number-label": y(S)(j.value.workingNumberLabel ?? "sheet.field.workingNumber"),
266
+ citation: Xe.value,
267
+ "citation-heading": j.value.citation?.heading ? y(S)(j.value.citation.heading) : ""
268
+ }, null, 8, [
269
+ "credits",
270
+ "working-number",
271
+ "working-number-label",
272
+ "citation",
273
+ "citation-heading"
274
+ ]),
275
+ _(o.$slots, "source", p(f(W.value)), () => [d(i)]),
276
+ _(o.$slots, "related", p(f({
277
+ ...W.value,
278
+ records: $.value,
279
+ outside: y(Z).outside
280
+ })), () => [Q.value ? (m(), s(n, {
281
+ key: 0,
282
+ heading: y(S)(Q.value.heading ?? "record.related.items"),
283
+ records: $.value,
284
+ variant: Q.value.variant ?? "list",
285
+ "action-label": Q.value.actionLabel ? y(S)(Q.value.actionLabel) : ""
286
+ }, null, 8, [
287
+ "heading",
288
+ "records",
289
+ "variant",
290
+ "action-label"
291
+ ])) : c("", !0)])
292
+ ]), o.$slots.aside ? (m(), l("aside", je, [_(o.$slots, "aside", p(f({
293
+ ...W.value,
294
+ records: $.value,
295
+ outside: y(Z).outside
296
+ })))])) : c("", !0)]),
297
+ _(o.$slots, "after", p(f(W.value))),
298
+ d(re, {
299
+ term: y(V),
300
+ html: Be.value,
301
+ dir: y(P),
302
+ onClose: y(ze)
303
+ }, null, 8, [
304
+ "term",
305
+ "html",
306
+ "dir",
307
+ "onClose"
308
+ ])
309
+ ], 2)) : (m(), l("p", Me, v(y(S)("core.status.loading")), 1));
310
+ }
311
+ };
312
+ //#endregion
313
+ export { O as n, k as t };
@@ -1,5 +1,5 @@
1
- import { r as e, u as t } from "./MediaGallery-CR-LDrnJ.js";
2
- import { o as n } from "./TimelineResultsView-ByYMSCoC.js";
1
+ import { r as e, u as t } from "./MediaGallery-DeXLadYl.js";
2
+ import { o as n } from "./TimelineResultsView-COoWXGu4.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 { t as e, u as t } from "./MediaGallery-CR-LDrnJ.js";
1
+ import { t as e, u as t } from "./MediaGallery-DeXLadYl.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, nextTick as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, renderSlot as g, resolveDynamicComponent as _, toDisplayString as v, unref as y, useId as b, useSlots as x, vModelText as S, vShow as ee, watch as C, withCtx as w, withDirectives as T, withKeys as E, withModifiers as D } from "vue";
3
3
  import { useI18n as O } from "@museumwnf/viewer-core/i18n";
4
4
  import { mdInline as k } from "@museumwnf/viewer-core";
@@ -1,5 +1,5 @@
1
- import { c as e, l as t, r as n, t as r, u as i } from "./MediaGallery-CR-LDrnJ.js";
2
- import { a, i as o, n as s, o as c, s as l, t as u } from "./TimelineEventList-DUxaMPx5.js";
1
+ import { c as e, l as t, r as n, t as r, u as i } from "./MediaGallery-DeXLadYl.js";
2
+ import { a, i as o, n as s, o as c, s as l, t as u } from "./TimelineEventList-QLk6KLMq.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-BUvwk7N3.js";
2
- import { a as e, t } from "./MediaGallery-CR-LDrnJ.js";
1
+ import "./FeaturedRecord-MjTQmZFW.js";
2
+ import { a as e, t } from "./MediaGallery-DeXLadYl.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-BUvwk7N3.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 } from "./MediaGallery-CR-LDrnJ.js";
3
- import { a as u, c as d, i as f, n as p, o as m, r as h, s as g, t as _ } from "./TimelineEventList-DUxaMPx5.js";
1
+ import { t as e } from "./FeaturedRecord-MjTQmZFW.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 } from "./MediaGallery-DeXLadYl.js";
3
+ import { a as u, c as d, i as f, n as p, o as m, r as h, s as g, t as _ } from "./TimelineEventList-QLk6KLMq.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-6rySfGfg.js";
6
- import { t as E } from "./content-D0P7YuAo.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-zdKWIPTZ.js";
6
+ import { t as E } from "./content-CzCospyc.js";
7
7
  export { w as BackLink, b as DynastyList, y as DynastyPopout, m as FacetSelect, e as FeaturedRecord, u as FilterPanel, v as GlossaryPopover, S as GlossaryTool, l as MediaGallery, T as OnDisplayIn, g as Pagination, h as PartnerMap, p as PartnerPanel, r as RecordCredits, n as RecordGrid, c as RecordLanguages, i as RecordList, o as RecordSheet, x as RelatedMedia, a as RelatedRecords, f as ResultsSummary, d as SectionCards, t as SheetSection, s 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-Cp33Wfl-.js";
1
+ import { a as e, i as t, n, r } from "./Theme-DL9vKuSD.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 { s as l, u } from "./MediaGallery-CR-LDrnJ.js";
5
- import { a as d, c as f, n as p, o as m, s as h } from "./TimelineEventList-DUxaMPx5.js";
6
- import { s as g } from "./OnDisplayIn-6rySfGfg.js";
7
- import { a as ee, i as _, n as v, r as y, s as b, t as x } from "./TimelineResultsView-ByYMSCoC.js";
8
- import { t as te } from "./RecordView-BVwiCyYi.js";
4
+ import { s as l, u } from "./MediaGallery-DeXLadYl.js";
5
+ import { a as d, c as f, n as p, o as m, s as h } from "./TimelineEventList-QLk6KLMq.js";
6
+ import { s as g } from "./OnDisplayIn-zdKWIPTZ.js";
7
+ import { a as ee, i as _, n as v, r as y, s as b, t as x } from "./TimelineResultsView-COoWXGu4.js";
8
+ import { t as te } from "./RecordView-GckO9PmG.js";
9
9
  import { t as ne } from "./SiteShell-DPdTxtJ5.js";
10
10
  import { A as re, C as ie, D as ae, E as oe, M as se, N as ce, O as le, S as ue, T as de, _ as fe, a as pe, b as S, c as me, d as he, f as ge, g as C, h as _e, i as ve, j as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, u as w, v as T, 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-D-JU7YtR.js";
12
+ import { t as dt } from "./ItemDetailView-B5hE3Oof.js";
13
13
  import { n as ft, r as pt, t as mt } from "./themeSpecs-DP9xWiVJ.js";
14
14
  import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ht, createTextVNode as L, createVNode as R, normalizeClass as gt, normalizeStyle as _t, onBeforeUnmount as vt, onMounted as yt, openBlock as z, ref as B, renderList as V, renderSlot as bt, resolveDynamicComponent as xt, toDisplayString as H, unref as U, vModelText as St, vShow as Ct, withCtx as W, withDirectives as G, withModifiers as wt } from "vue";
15
15
  import { I18nText as K, NotFoundView as Tt, languageLabels as Et, loadEntities as q, mwnfLinks as J, offeredLanguages as Dt, renderInline as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as Y, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as X, 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"])) : P("", !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-Cp33Wfl-.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 = {
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-DL9vKuSD.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-BUvwk7N3.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 } from "./MediaGallery-CR-LDrnJ.js";
5
- import { a as C, c as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./TimelineEventList-DUxaMPx5.js";
3
+ import { t as p } from "./FeaturedRecord-MjTQmZFW.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 } from "./MediaGallery-DeXLadYl.js";
5
+ import { a as C, c as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./TimelineEventList-QLk6KLMq.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-6rySfGfg.js";
8
- import { t as z } from "./content-D0P7YuAo.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-zdKWIPTZ.js";
8
+ import { t as z } from "./content-CzCospyc.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, D as FacetSelect, p as FeaturedRecord, C as FilterPanel, j as GlossaryPopover, F as GlossaryTool, S as MediaGallery, R as OnDisplayIn, c as PageShell, k as Pagination, O as PartnerMap, E as PartnerPanel, g as RecordCredits, h as RecordGrid, x as RecordLanguages, _ as RecordList, y as RecordSheet, P as RelatedMedia, v as RelatedRecords, T as ResultsSummary, w as SectionCards, m as SheetSection, o as SocialLinks, b as SourceCredit, z as SpecialFeatures, A as TimelineEventList, I as TimelineLookup, f as chromeAsset, u as chromePicture, d as chromeSource, n as mwnfSocialLinks };
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "./chrome-DNsZQXrL.js";
2
- import { s as t, t as n, u as r } from "./MediaGallery-CR-LDrnJ.js";
3
- import { n as i, t as a } from "./RecordView-BVwiCyYi.js";
2
+ import { s as t, t as n, u as r } from "./MediaGallery-DeXLadYl.js";
3
+ import { n as i, t as a } from "./RecordView-GckO9PmG.js";
4
4
  import { t as o } from "./SiteShell-DPdTxtJ5.js";
5
5
  import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as p, createTextVNode as m, createVNode as h, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useSlots as E, watch as D, withCtx as O } from "vue";
6
6
  import { byId as k, loadEntities as A, pictureCredits as j, picturesInLanguage as M, removeEndingPoint as N, renderBlock as P, renderInline as F, renderPlain as I, useDataPackage as L, useI18n as R, useSection as ee, useSiteConfig as z } from "@museumwnf/viewer-core";
@@ -594,7 +594,8 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
594
594
  "before-sheet",
595
595
  "related",
596
596
  "sidebar",
597
- "aside"
597
+ "aside",
598
+ "source"
598
599
  ]), N = c(() => Object.keys(y).filter((e) => !A.has(e)));
599
600
  function P() {
600
601
  window.history.back();
@@ -641,6 +642,7 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
641
642
  "groups",
642
643
  "download"
643
644
  ])]),
645
+ source: O((e) => [C(i.$slots, "source", v(g(e)))]),
644
646
  _: 2
645
647
  }, [S(N.value, (e) => ({
646
648
  name: e,