@museumwnf/viewer-layout 3.25.0 → 3.25.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.
@@ -1,4 +1,4 @@
1
- import { d as e } from "./PartnerMap-m7g0xlwk.js";
1
+ import { d as e } from "./PartnerMap-CyuhYm1j.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-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";
2
+ import { r as t } from "./PartnerMap-CyuhYm1j.js";
3
+ import { n } from "./TimelineEventList-B-XUnWiG.js";
4
+ import { i as r, n as i, o as a, r as o, t as s } from "./OnDisplayIn-DUSMgEIx.js";
5
+ import { t as c } from "./RecordView-D5q5LNvv.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-m7g0xlwk.js";
1
+ import { d as e, o as t } from "./PartnerMap-CyuhYm1j.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";
@@ -529,6 +529,10 @@ var D = [
529
529
  variant: {
530
530
  type: String,
531
531
  default: ""
532
+ },
533
+ thumbsFrom: {
534
+ type: Number,
535
+ default: 2
532
536
  }
533
537
  },
534
538
  setup(n) {
@@ -577,7 +581,7 @@ var D = [
577
581
  src: l.value.url,
578
582
  alt: l.value.alt ?? ""
579
583
  }, 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", {
584
+ n.images.length >= n.thumbsFrom ? (f(), i("ul", tt, [(f(!0), i(e, null, m(n.images, (e, t) => (f(), i("li", { key: e.url ?? t }, [a("button", {
581
585
  type: "button",
582
586
  class: u(["mwnf-media__thumb", { "mwnf-media__thumb--active": t === c.value }]),
583
587
  "aria-pressed": t === c.value ? "true" : "false",
@@ -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-m7g0xlwk.js";
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-CyuhYm1j.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-m7g0xlwk.js";
2
- import { o as n } from "./TimelineResultsView-QgdKeJKo.js";
1
+ import { d as e, i as t } from "./PartnerMap-CyuhYm1j.js";
2
+ import { o as n } from "./TimelineResultsView-CMLvGzPD.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-m7g0xlwk.js";
1
+ import { d as e, n as t, t as n } from "./PartnerMap-CyuhYm1j.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-m7g0xlwk.js";
2
- import { a, i as o, n as s, o as c, r as l, t as u } from "./TimelineEventList-Ci4MHdWd.js";
1
+ import { d as e, i as t, l as n, n as r, u as i } from "./PartnerMap-CyuhYm1j.js";
2
+ import { a, i as o, n as s, o as c, r as l, t as u } from "./TimelineEventList-B-XUnWiG.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-FbQkGB68.js";
2
- import { n as e, o as t } from "./PartnerMap-m7g0xlwk.js";
1
+ import "./FeaturedRecord-BINuFBnk.js";
2
+ import { n as e, o as t } from "./PartnerMap-CyuhYm1j.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-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";
1
+ import { t as e } from "./FeaturedRecord-BINuFBnk.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-CyuhYm1j.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-B-XUnWiG.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-Ccpjc-xL.js";
6
- import { t as E } from "./content-DXEV-ylX.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-DUSMgEIx.js";
6
+ import { t as E } from "./content-C4ChQ_Bx.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 };
package/dist/dxa.js CHANGED
@@ -1,15 +1,15 @@
1
- import { a as e, i as t, n, r } from "./Theme-B29puDqw.js";
1
+ import { a as e, i as t, n, r } from "./Theme-DnSqegTx.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 { c as l, d as u } from "./PartnerMap-m7g0xlwk.js";
5
- import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-Ci4MHdWd.js";
6
- import { s as g } from "./OnDisplayIn-Ccpjc-xL.js";
7
- import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-QgdKeJKo.js";
8
- import { t as ee } from "./RecordView-ZrD6BOnT.js";
4
+ import { c as l, d as u } from "./PartnerMap-CyuhYm1j.js";
5
+ import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-B-XUnWiG.js";
6
+ import { s as g } from "./OnDisplayIn-DUSMgEIx.js";
7
+ import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-CMLvGzPD.js";
8
+ import { t as ee } from "./RecordView-D5q5LNvv.js";
9
9
  import { t as te } from "./SiteShell-DPdTxtJ5.js";
10
10
  import { A as ne, C as re, D as ie, E as ae, M as oe, N as se, O as ce, S as le, T as ue, _ as de, a as fe, b as C, c as pe, d as me, f as he, g as w, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, u as T, v as Oe, 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-CKb2O9h5.js";
12
+ import { t as dt } from "./ItemDetailView-6zT3r0AE.js";
13
13
  import { n as j, r as ft, t as pt } from "./themeSpecs-DP9xWiVJ.js";
14
14
  import { Fragment as M, computed as N, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createSlots as mt, createTextVNode as R, createVNode as z, normalizeClass as ht, normalizeStyle as gt, onBeforeUnmount as _t, onMounted as vt, openBlock as B, ref as V, renderList as H, renderSlot as yt, resolveDynamicComponent as bt, toDisplayString as U, unref as W, vModelText as xt, vShow as St, withCtx as G, withDirectives as K, withModifiers as Ct } from "vue";
15
15
  import { I18nText as q, NotFoundView as wt, languageLabels as Tt, loadEntities as J, mwnfLinks as Y, offeredLanguages as Et, renderInline as Dt, sectionMeta as Ot, useDataPackage as kt, useFacets as At, useI18n as X, useKeywordIndex as jt, useSection as Mt, useSiteConfig as Nt, 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"])) : F("", !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-B29puDqw.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-DnSqegTx.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-FbQkGB68.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, u as C } from "./PartnerMap-m7g0xlwk.js";
5
- import { a as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./TimelineEventList-Ci4MHdWd.js";
3
+ import { t as p } from "./FeaturedRecord-BINuFBnk.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, u as C } from "./PartnerMap-CyuhYm1j.js";
5
+ import { a as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./TimelineEventList-B-XUnWiG.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-Ccpjc-xL.js";
8
- import { t as z } from "./content-DXEV-ylX.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-DUSMgEIx.js";
8
+ import { t as z } from "./content-C4ChQ_Bx.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, w as FacetSelect, p as FeaturedRecord, T as FilterPanel, j as GlossaryPopover, F as GlossaryTool, v as MediaGallery, R as OnDisplayIn, c as PageShell, D as Pagination, S as PartnerMap, E as PartnerPanel, m as RecordCredits, _ as RecordGrid, h as RecordLanguages, C as RecordList, x as RecordSheet, P as RelatedMedia, b as RelatedRecords, O as ResultsSummary, k as SectionCards, y as SheetSection, o as SocialLinks, g 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 { c as t, d as n, n as r, t as i } from "./PartnerMap-m7g0xlwk.js";
3
- import { n as a, t as o } from "./RecordView-ZrD6BOnT.js";
2
+ import { c as t, d as n, n as r, t as i } from "./PartnerMap-CyuhYm1j.js";
3
+ import { n as a, t as o } from "./RecordView-D5q5LNvv.js";
4
4
  import { t as s } from "./SiteShell-DPdTxtJ5.js";
5
5
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, unref as D, useId as O, useSlots as k, vShow as A, watch as j, withCtx as M, withDirectives as N, withModifiers as P } from "vue";
6
6
  import { byId as F, loadEntities as I, pictureCredits as L, picturesInLanguage as R, removeEndingPoint as z, renderBlock as B, renderInline as V, renderPlain as H, useDataPackage as ee, useI18n as U, useSection as te, useSiteConfig as W } from "@museumwnf/viewer-core";
@@ -633,7 +633,10 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
633
633
  }, {
634
634
  default: M(() => [h(E(e.label), 1)]),
635
635
  _: 2
636
- }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, { images: x(e) }, null, 8, ["images"])]), T(i.$slots, "before-sheet", b(_(e)))]),
636
+ }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, {
637
+ images: x(e),
638
+ "thumbs-from": 1
639
+ }, null, 8, ["images"])]), T(i.$slots, "before-sheet", b(_(e)))]),
637
640
  related: M((t) => [g(Je, {
638
641
  heading: e.related.heading ?? "record.related.title",
639
642
  records: t.records,
package/dist/views.js CHANGED
@@ -1,7 +1,7 @@
1
- import { t as e } from "./FeaturedRecord-FbQkGB68.js";
2
- import { s as t } from "./TimelineEventList-Ci4MHdWd.js";
3
- import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./TimelineResultsView-QgdKeJKo.js";
4
- import { t as l } from "./RecordView-ZrD6BOnT.js";
1
+ import { t as e } from "./FeaturedRecord-BINuFBnk.js";
2
+ import { s as t } from "./TimelineEventList-B-XUnWiG.js";
3
+ import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./TimelineResultsView-CMLvGzPD.js";
4
+ import { t as l } from "./RecordView-D5q5LNvv.js";
5
5
  import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createVNode as m, mergeProps as h, normalizeClass as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b } from "vue";
6
6
  import { I18nText as x, renderInline as S, renderPlain as C, useDataPackage as w, useFeaturedRecord as T, useI18n as E, useSiteConfig as D } from "@museumwnf/viewer-core";
7
7
  //#region src/views/HomeView.vue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@museumwnf/viewer-layout",
3
- "version": "3.25.0",
3
+ "version": "3.25.1",
4
4
  "description": "Page structure for MWNF websites: PageShell composing seven optional, token-styled sections, the content components a page is made of, and the composed views a website names instead of writing a page.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",