@museumwnf/viewer-layout 3.74.0 → 3.75.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 { t as e } from "./PageShell-CIGVv7sK.js";
1
+ import { t as e } from "./PageShell-BAtk_qcb.js";
2
2
  import { r as t } from "./chrome-Bv_mLlHM.js";
3
3
  import { computed as n, createBlock as r, createSlots as i, mergeProps as a, openBlock as o, renderSlot as s, useAttrs as c, withCtx as l } from "vue";
4
4
  import { mwnfLinks as u, useI18n as d, useSection as f, useSiteConfig as p, useSiteRights as m } from "@museumwnf/viewer-core";
@@ -1 +1 @@
1
- export { t as SiteShell } from "./SiteShell-UsZ_cpe9.js";
1
+ export { t as SiteShell } from "./SiteShell-CzKgoOBm.js";
package/dist/dxa.js CHANGED
@@ -5,9 +5,9 @@ import { t as s } from "./RecordView-CBC7tBCX.js";
5
5
  import { A as c, C as l, D as u, E as d, M as f, N as p, O as m, S as h, T as g, _, a as v, b as y, c as ee, d as te, f as b, g as x, h as ne, i as re, j as ie, k as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./data-DlmKSxgh.js";
6
6
  import { A as S, C as ye, D as be, E as xe, M as Se, N as Ce, O as we, S as Te, T as Ee, _ as De, a as Oe, b as ke, c as C, d as Ae, f as je, g as Me, h as Ne, i as Pe, j as w, k as Fe, l as Ie, m as Le, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as T, w as Ge, x as Ke, y as qe } from "./data-BI5v-QYD.js";
7
7
  import { n as Je, r as E, t as Ye } from "./TimelineResultsView-Bn4rC_Se.js";
8
- import { t as Xe } from "./SiteShell-UsZ_cpe9.js";
8
+ import { t as Xe } from "./SiteShell-CzKgoOBm.js";
9
9
  import { i as Ze, n as Qe, r as $e, t as et } from "./chrome-Bv_mLlHM.js";
10
- import { i as tt } from "./PageShell-CIGVv7sK.js";
10
+ import { i as tt } from "./PageShell-BAtk_qcb.js";
11
11
  import { n as nt, t as rt } from "./LegacyItemSheet-B4Ob4upz.js";
12
12
  import { n as it, r as D } from "./Theme-DvCv48p7.js";
13
13
  import { n as at, r as ot, t as st } from "./themeSpecs-CKgLOhlP.js";
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
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-CIGVv7sK.js";
2
- import { n as u, r as d, t as f } from "./chrome-Bv_mLlHM.js";
3
- import { n as p, t as m } from "./FeaturedRecord-Fe19w6_G.js";
4
- import { a as h, c as g, i as _, l as v, n as y, o as b, r as x, s as S, t as C, u as w } from "./PartnerMap-DdyMLtgH.js";
5
- import { a as T, i as E, n as D, o as O, r as k, t as A } from "./TimelineEventList-CIkKxyQu.js";
6
- import { t as j } from "./GlossaryPopover-DbQKXhx9.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-BH3Bqope.js";
8
- import { t as z } from "./content-hV5uyd-b.js";
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, T as FacetSelect, m as FeaturedRecord, E as FilterPanel, j as GlossaryPopover, F as GlossaryTool, y as MediaGallery, R as OnDisplayIn, c as PageShell, O as Pagination, C as PartnerMap, D as PartnerPanel, h as RecordCredits, v as RecordGrid, g as RecordLanguages, w as RecordList, S as RecordSheet, P as RelatedMedia, x as RelatedRecords, k as ResultsSummary, p as SectionCards, b as SheetSection, o as SocialLinks, _ as SourceCredit, z as SpecialFeatures, A as TimelineEventList, I as TimelineLookup, f as chromeAsset, u as chromePicture, d as chromeSource, n as mwnfSocialLinks };
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./PageShell-BAtk_qcb.js";
2
+ import { n as d, r as f, t as p } from "./chrome-Bv_mLlHM.js";
3
+ import { n as m, t as h } from "./FeaturedRecord-Fe19w6_G.js";
4
+ import { a as g, c as _, i as v, l as y, n as b, o as x, r as S, s as C, t as w, u as T } from "./PartnerMap-DdyMLtgH.js";
5
+ import { a as E, i as D, n as O, o as k, r as A, t as j } from "./TimelineEventList-CIkKxyQu.js";
6
+ import { t as M } from "./GlossaryPopover-DbQKXhx9.js";
7
+ import { a as N, i as P, n as F, o as I, r as L, s as R, t as z } from "./OnDisplayIn-BH3Bqope.js";
8
+ import { t as B } from "./content-hV5uyd-b.js";
9
+ export { i as AppBanner, c as AppContent, a as AppFooter, u as AppHeader, o as AppHyperlinks, t as AppNavigation, e as AppSponsors, R as BackLink, P as DynastyList, N as DynastyPopout, E as FacetSelect, h as FeaturedRecord, D as FilterPanel, n as GlobalSearchBox, M as GlossaryPopover, I as GlossaryTool, b as MediaGallery, z as OnDisplayIn, l as PageShell, k as Pagination, w as PartnerMap, O as PartnerPanel, g as RecordCredits, y as RecordGrid, _ as RecordLanguages, T as RecordList, C as RecordSheet, F as RelatedMedia, S as RelatedRecords, A as ResultsSummary, m as SectionCards, x as SheetSection, s as SocialLinks, v as SourceCredit, B as SpecialFeatures, j as TimelineEventList, L as TimelineLookup, p as chromeAsset, d as chromePicture, f as chromeSource, r as mwnfSocialLinks };
@@ -108,16 +108,19 @@ function ce(e) {
108
108
  return t;
109
109
  }
110
110
  function le(e = {}, t = null) {
111
- let n = t?.texts ?? {}, r = (e, t) => e != null && e !== "" ? e : t ?? null;
111
+ let n = t?.texts ?? {}, r = (e, t) => e ?? t ?? null;
112
112
  return {
113
113
  title: r(n.title, e.title),
114
114
  subtitle: r(n.subtitle, e.subtitle),
115
- about: r(n.description1, e.description),
116
- moreAbout: r(n.description2, e.introduction),
115
+ about: r(n.description2, e.description),
116
+ moreAbout: r(n.description1, e.introduction),
117
117
  note: r(n.remarks1, null),
118
118
  authors: r(n.author, e.author_credit),
119
119
  photographers: r(n.photographer, e.photography_credit),
120
- editors: r(n.local_coordinator, e.coordination_credit)
120
+ editors: r(n.local_coordinator, e.coordination_credit),
121
+ pages: r(n.count_pages, t?.page_count),
122
+ images: r(n.count_images, t?.image_count),
123
+ plans: r(n.count_plans, t?.plan_count)
121
124
  };
122
125
  }
123
126
  function J(e) {
@@ -881,9 +884,9 @@ var Q = A.portal, be = Object.freeze({
881
884
  y(Y)(F.value.authors) ? (f(), a("div", gn, v(O("publications.edition.authors")) + ": " + v(F.value.authors), 1)) : i("", !0),
882
885
  y(Y)(F.value.photographers) ? (f(), a("div", _n, v(O("publications.edition.photographers")) + ": " + v(F.value.photographers), 1)) : i("", !0),
883
886
  y(Y)(F.value.editors) ? (f(), a("div", vn, v(O("publications.edition.editors")) + ": " + v(F.value.editors), 1)) : i("", !0),
884
- y(Y)(j.value?.page_count) ? (f(), a("div", yn, v(O("publications.edition.pages")) + ": " + v(j.value.page_count), 1)) : i("", !0),
885
- y(Y)(j.value?.image_count) ? (f(), a("div", bn, v(O("publications.edition.images")) + ": " + v(j.value.image_count), 1)) : i("", !0),
886
- y(Y)(j.value?.plan_count) ? (f(), a("div", xn, v(O("publications.edition.plans")) + ": " + v(j.value.plan_count), 1)) : i("", !0)
887
+ y(Y)(F.value.pages) ? (f(), a("div", yn, v(O("publications.edition.pages")) + ": " + v(F.value.pages), 1)) : i("", !0),
888
+ y(Y)(F.value.images) ? (f(), a("div", bn, v(O("publications.edition.images")) + ": " + v(F.value.images), 1)) : i("", !0),
889
+ y(Y)(F.value.plans) ? (f(), a("div", xn, v(O("publications.edition.plans")) + ": " + v(F.value.plans), 1)) : i("", !0)
887
890
  ]),
888
891
  o("div", Sn, [y(Y)(j.value?.publisher) ? (f(), a("div", Cn, v(O("publications.edition.publishers")) + ": " + v(j.value.publisher), 1)) : i("", !0), y(Y)(j.value?.isbn) ? (f(), a("div", wn, v(O("publications.edition.isbn")) + ": " + v(j.value.isbn), 1)) : i("", !0)]),
889
892
  y(Y)(F.value.about) ? (f(), a("div", Tn, [o("div", En, v(O("publications.edition.about")), 1), o("div", {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./SiteShell-UsZ_cpe9.js";
1
+ import { t as e } from "./SiteShell-CzKgoOBm.js";
2
2
  import { r as t } from "./chrome-Bv_mLlHM.js";
3
3
  import { c as n, d as r, n as i, t as a } from "./PartnerMap-DdyMLtgH.js";
4
4
  import { n as o, t as s } from "./RecordView-CBC7tBCX.js";