@museumwnf/viewer-layout 3.2.0 → 3.2.2

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 { y as e } from "./TimelineEventList-BhkWyY5-.js";
1
+ import { y as e } from "./TimelineEventList-COjkXEzS.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,6 +1,6 @@
1
- import { n as e, o as t } from "./TimelineEventList-BhkWyY5-.js";
2
- import { i as n, n as r, o as i, r as a, t as o } from "./OnDisplayIn-eSG5r48j.js";
3
- import { s } from "./TimelineResultsView-DfgxLwGt.js";
1
+ import { n as e, o as t } from "./TimelineEventList-COjkXEzS.js";
2
+ import { i as n, n as r, o as i, r as a, t as o } from "./OnDisplayIn-Dv8i7uvH.js";
3
+ import { s } from "./TimelineResultsView-5Cy-OkZY.js";
4
4
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as ee, createTextVNode as m, createVNode as h, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, openBlock as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C, useSlots as te, withCtx as w } from "vue";
5
5
  import { NotFoundView as ne, byId as T, loadEntities as re, mdInline as E, mdStrip as ie, mwnfLinks as D, partnerView as ae, useDataPackage as oe, useI18n as se, useProjects as ce } from "@museumwnf/viewer-core";
6
6
  //#region src/dxa/ItemDetailView.vue
@@ -1,4 +1,4 @@
1
- import { l as e, y as t } from "./TimelineEventList-BhkWyY5-.js";
1
+ import { l as e, y as t } from "./TimelineEventList-COjkXEzS.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,5 +1,5 @@
1
- import { s as e, y as t } from "./TimelineEventList-BhkWyY5-.js";
2
- import { o as n } from "./TimelineResultsView-DfgxLwGt.js";
1
+ import { s as e, y as t } from "./TimelineEventList-COjkXEzS.js";
2
+ import { o as n } from "./TimelineResultsView-5Cy-OkZY.js";
3
3
  import { A as r, F as i, h as a, m as o } from "./data-BfyYB8ff.js";
4
4
  import { n as s, r as c, t as l } from "./themeSpecs-C_uGarTs.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";
@@ -24,8 +24,8 @@ var N = [
24
24
  }
25
25
  },
26
26
  setup(e) {
27
- let r = e, a = c()?.appContext.components.RouterLink ?? null, o = t(() => !!(r.to && a)), s = t(() => r.href || (typeof r.to == "string" ? r.to : ""));
28
- return (t, r) => o.value ? (p(), n(_(y(a)), l({
27
+ let r = e, a = /^[a-z][a-z0-9+.-]*:/i, o = c()?.appContext.components.RouterLink ?? null, s = t(() => typeof r.to == "string" && a.test(r.to)), u = t(() => !!(r.to && o && !s.value)), d = t(() => r.href || (typeof r.to == "string" ? r.to : ""));
28
+ return (t, r) => u.value ? (p(), n(_(y(o)), l({
29
29
  key: 0,
30
30
  to: e.to
31
31
  }, t.$attrs), {
@@ -33,7 +33,7 @@ var N = [
33
33
  _: 3
34
34
  }, 16, ["to"])) : (p(), i("a", l({
35
35
  key: 1,
36
- href: s.value || void 0,
36
+ href: d.value || void 0,
37
37
  target: e.external ? "_blank" : void 0,
38
38
  rel: e.external ? "noopener" : void 0
39
39
  }, t.$attrs), [g(t.$slots, "default")], 16, N));
@@ -1,4 +1,4 @@
1
- import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, s as ee, t as p, u as te, y as m } from "./TimelineEventList-BhkWyY5-.js";
1
+ import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, s as ee, t as p, u as te, y as m } from "./TimelineEventList-COjkXEzS.js";
2
2
  import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, guardReactiveProps as w, isRef as T, mergeProps as E, normalizeClass as D, normalizeProps as O, openBlock as k, reactive as ne, ref as A, renderList as j, renderSlot as M, resolveDynamicComponent as N, toDisplayString as P, unref as F, useSlots as I, vModelCheckbox as L, vModelRadio as R, vModelSelect as z, vModelText as B, watch as V, withCtx as H, withDirectives as U } from "vue";
3
3
  import { I18nText as re, NotFoundView as ie, byId as W, centuryPresets as ae, citation as G, dateRange as K, entityRef as oe, eventDateLabel as q, glossaryEntries as J, glossaryTermsForText as Y, groupByCountry as se, languageLabels as ce, md as X, mdInline as Z, partnerHierarchy as Q, partnerView as le, renderBlock as ue, renderInline as $, renderPlain as de, sheetRows as fe, sortChronological as pe, sourceUrl as me, useCollectionTree as he, useDataPackage as ge, useFacets as _e, useGlossaryPopup as ve, useI18n as ye, useListQuery as be, useLocale as xe, usePagination as Se, useProjects as Ce, useRecordLanguage as we, useRecordSheet as Te, useRelatedRecords as Ee, useSearchLanguage as De, useTimelineEvents as Oe, yearBuckets as ke } from "@museumwnf/viewer-core";
4
4
  import { useRoute as Ae, useRouter as je } from "vue-router";
@@ -1,5 +1,5 @@
1
- import "./FeaturedRecord-Dw6uf3ax.js";
2
- import { a as e, l as t } from "./TimelineEventList-BhkWyY5-.js";
1
+ import "./FeaturedRecord-BJ8LaWGP.js";
2
+ import { a as e, l as t } from "./TimelineEventList-COjkXEzS.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,5 +1,5 @@
1
- import { t as e } from "./FeaturedRecord-Dw6uf3ax.js";
2
- import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v } from "./TimelineEventList-BhkWyY5-.js";
3
- import { a as y, i as b, n as x, o as S, r as C, s as w, t as T } from "./OnDisplayIn-eSG5r48j.js";
4
- import { t as E } from "./content-BxaDJIvY.js";
1
+ import { t as e } from "./FeaturedRecord-BJ8LaWGP.js";
2
+ import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v } from "./TimelineEventList-COjkXEzS.js";
3
+ import { a as y, i as b, n as x, o as S, r as C, s as w, t as T } from "./OnDisplayIn-Dv8i7uvH.js";
4
+ import { t as E } from "./content-p0tqKkcD.js";
5
5
  export { w as BackLink, b as DynastyList, y as DynastyPopout, u as FacetSelect, e as FeaturedRecord, p as FilterPanel, c as GlossaryPopover, S as GlossaryTool, n as MediaGallery, T as OnDisplayIn, s as Pagination, m as PartnerMap, d as PartnerPanel, r as RecordCredits, o as RecordGrid, i as RecordLanguages, t as RecordList, _ as RecordSheet, x as RelatedMedia, f as RelatedRecords, a as ResultsSummary, v as SectionCards, l as SheetSection, h as SourceCredit, E as SpecialFeatures, g as TimelineEventList, C as TimelineLookup };
package/dist/dxa.js CHANGED
@@ -1,11 +1,11 @@
1
- import { a as e, i as t, n, r } from "./Theme-wWxk-ihS.js";
2
- import { d as i, h as a, m as o, n as s, p as c, v as l, y as u } from "./TimelineEventList-BhkWyY5-.js";
3
- import { s as d } from "./OnDisplayIn-eSG5r48j.js";
4
- import { a as f, c as p, i as m, n as h, r as g, s as ee, t as _ } from "./TimelineResultsView-DfgxLwGt.js";
1
+ import { a as e, i as t, n, r } from "./Theme-Dd8G1RA3.js";
2
+ import { d as i, h as a, m as o, n as s, p as c, v as l, y as u } from "./TimelineEventList-COjkXEzS.js";
3
+ import { s as d } from "./OnDisplayIn-Dv8i7uvH.js";
4
+ import { a as f, c as p, i as m, n as h, r as g, s as ee, t as _ } from "./TimelineResultsView-5Cy-OkZY.js";
5
5
  import { t as te } from "./SiteShell-C3OgZO8p.js";
6
6
  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 v, c as pe, d as me, f as he, g as y, 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 b, v as Oe, w as ke, x as Ae, y as je } from "./data-G8uXeEfE.js";
7
7
  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 x, _ as Ge, a as Ke, b as qe, c as Je, d as Ye, f as S, g as Xe, h as Ze, i as Qe, j as C, k as $e, l as w, m as et, n as tt, o as nt, p as rt, r as it, s as at, t as ot, u as st, v as T, w as E, x as D, y as ct } from "./data-BfyYB8ff.js";
8
- import { t as O } from "./ItemDetailView-CCbM_mwL.js";
8
+ import { t as O } from "./ItemDetailView-C-X-LgJU.js";
9
9
  import { n as k, r as lt, t as ut } from "./themeSpecs-C_uGarTs.js";
10
10
  import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, normalizeClass as dt, normalizeStyle as ft, onBeforeUnmount as pt, onMounted as mt, openBlock as R, ref as z, renderList as B, renderSlot as ht, toDisplayString as V, unref as H, vModelText as gt, vShow as _t, withCtx as U, withDirectives as W, withModifiers as vt } from "vue";
11
11
  import { I18nText as G, NotFoundView as yt, languageLabels as bt, loadEntities as K, mwnfLinks as q, offeredLanguages as xt, renderInline as St, sectionMeta as Ct, useDataPackage as wt, useFacets as Tt, useI18n as J, useKeywordIndex as Et, useSection as Dt, useSiteConfig as Y, yearBuckets as X } from "@museumwnf/viewer-core";
@@ -392,7 +392,7 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
392
392
  class: "mwnf-dxa-profile-link",
393
393
  to: H(ue)(n.value)
394
394
  }, {
395
- default: U(() => [I("➤ " + V(e.$t("gallery.action.partnerProfile")), 1)]),
395
+ default: U(() => [I("➤ " + V(e.$t("partner.action.partnerProfile")), 1)]),
396
396
  _: 1
397
397
  }, 8, ["to"])])]),
398
398
  _: 1
@@ -714,11 +714,11 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
714
714
  _: 1
715
715
  }, 8, ["spec"])) : N("", !0);
716
716
  }
717
- }, xn = () => Promise.resolve().then(() => Er), Sn = () => Promise.resolve().then(() => jr), Cn = () => Promise.resolve().then(() => Pr), wn = () => Promise.resolve().then(() => Lr), Tn = () => Promise.resolve().then(() => Br), En = () => Promise.resolve().then(() => Ur), Dn = () => import("./Theme-wWxk-ihS.js").then((e) => e.t), On = () => Promise.resolve().then(() => qr), kn = () => Promise.resolve().then(() => Zr), An = () => Promise.resolve().then(() => ei), jn = () => Promise.resolve().then(() => ni), Mn = {
717
+ }, xn = () => Promise.resolve().then(() => Er), Sn = () => Promise.resolve().then(() => jr), Cn = () => Promise.resolve().then(() => Pr), wn = () => Promise.resolve().then(() => Lr), Tn = () => Promise.resolve().then(() => Br), En = () => Promise.resolve().then(() => Ur), Dn = () => import("./Theme-Dd8G1RA3.js").then((e) => e.t), On = () => Promise.resolve().then(() => qr), kn = () => Promise.resolve().then(() => Zr), An = () => Promise.resolve().then(() => ei), jn = () => Promise.resolve().then(() => ni), Mn = {
718
718
  emptyPartner: "exhibition.partnerObjects.emptyPartner",
719
719
  emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
720
720
  institutionSummary: "exhibition.partner.monumentsInExhibition",
721
- partnerProfileLabel: "exhibition.partnerObjects.partnerProfile",
721
+ partnerProfileLabel: "partner.action.partnerProfile",
722
722
  institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
723
723
  };
724
724
  function Nn(e) {
@@ -1174,7 +1174,7 @@ var zn = {
1174
1174
  "header-title-href": "#/about",
1175
1175
  "banner-image": u.value,
1176
1176
  "banner-caption": d.value,
1177
- "banner-caption-label": H(i)("exhibition.media.detailFrom"),
1177
+ "banner-caption-label": H(i)("layout.banner.detailFrom"),
1178
1178
  "banner-title": c.value ? H(Ze)(H(a)) : "",
1179
1179
  "banner-subtitle": c.value ? H(et)(H(a)) : "",
1180
1180
  "banner-headline": c.value ? H(rt)(H(a)) : "",
@@ -1327,7 +1327,7 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1327
1327
  banner: {
1328
1328
  variant: ({ section: e }) => e === "home" ? "strip" : "section",
1329
1329
  eyebrow: ({ section: e, t }) => e === "home" ? t("gallery.banner.discoverGalleries") : "",
1330
- captionLabel: "gallery.banner.detailFrom",
1330
+ captionLabel: "layout.banner.detailFrom",
1331
1331
  enter: ({ section: e, t }) => e === "home" ? {
1332
1332
  label: "»",
1333
1333
  href: "#/collection",
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./PageShell-CbJ9lQoQ.js";
2
- import { t as c } from "./FeaturedRecord-Dw6uf3ax.js";
3
- import { _ as l, a as u, c as d, d as f, f as p, g as m, h, i as g, l as _, m as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T, v as E } from "./TimelineEventList-BhkWyY5-.js";
4
- import { a as D, i as O, n as k, o as A, r as j, s as M, t as N } from "./OnDisplayIn-eSG5r48j.js";
5
- import { t as P } from "./content-BxaDJIvY.js";
2
+ import { t as c } from "./FeaturedRecord-BJ8LaWGP.js";
3
+ import { _ as l, a as u, c as d, d as f, f as p, g as m, h, i as g, l as _, m as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T, v as E } from "./TimelineEventList-COjkXEzS.js";
4
+ import { a as D, i as O, n as k, o as A, r as j, s as M, t as N } from "./OnDisplayIn-Dv8i7uvH.js";
5
+ import { t as P } from "./content-p0tqKkcD.js";
6
6
  export { o as AppBanner, e as AppContent, r as AppFooter, t as AppHeader, n as AppHyperlinks, i as AppNavigation, a as AppSponsors, M as BackLink, O as DynastyList, D as DynastyPopout, v as FacetSelect, c as FeaturedRecord, x as FilterPanel, g as GlossaryPopover, A as GlossaryTool, u as MediaGallery, N as OnDisplayIn, s as PageShell, h as Pagination, S as PartnerMap, y as PartnerPanel, d as RecordCredits, m as RecordGrid, f as RecordLanguages, l as RecordList, T as RecordSheet, k as RelatedMedia, b as RelatedRecords, p as ResultsSummary, E as SectionCards, _ as SheetSection, C as SourceCredit, P as SpecialFeatures, w as TimelineEventList, j as TimelineLookup };
package/dist/views.js CHANGED
@@ -1,6 +1,6 @@
1
- import { t as e } from "./FeaturedRecord-Dw6uf3ax.js";
2
- import { v as t } from "./TimelineEventList-BhkWyY5-.js";
3
- import { a as n, c as r, i, n as a, o, r as s, s as c, t as l } from "./TimelineResultsView-DfgxLwGt.js";
1
+ import { t as e } from "./FeaturedRecord-BJ8LaWGP.js";
2
+ import { v as t } from "./TimelineEventList-COjkXEzS.js";
3
+ import { a as n, c as r, i, n as a, o, r as s, s as c, t as l } from "./TimelineResultsView-5Cy-OkZY.js";
4
4
  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";
5
5
  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";
6
6
  //#region src/views/HomeView.vue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@museumwnf/viewer-layout",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
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",