@museumwnf/viewer-layout 3.54.0 → 3.56.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/{ItemDetailView-DWNJy_PQ.js → ItemDetailView-Bbn-uNaR.js} +2 -2
- package/dist/{OnDisplayIn-DPRwCoYO.js → OnDisplayIn-DZHRKjL0.js} +65 -64
- package/dist/RecordView-DEKHp1A3.js +348 -0
- package/dist/content.js +1 -1
- package/dist/dxa.js +3 -3
- package/dist/index.js +1 -1
- package/dist/standalone.js +73 -61
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +1 -1
- package/package.json +1 -1
- package/src/tokens.reference.css +17 -4
- package/dist/RecordView-kkpYLtL_.js +0 -344
package/dist/dxa.js
CHANGED
|
@@ -3,13 +3,13 @@ import { i } from "./PageShell-CcaLOuXI.js";
|
|
|
3
3
|
import { i as a, n as o, r as s, t as c } from "./chrome-DNsZQXrL.js";
|
|
4
4
|
import { c as l, d as u } from "./PartnerMap-BIKd-AGP.js";
|
|
5
5
|
import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-CTJJOWGh.js";
|
|
6
|
-
import { s as g } from "./OnDisplayIn-
|
|
6
|
+
import { s as g } from "./OnDisplayIn-DZHRKjL0.js";
|
|
7
7
|
import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-D15BMWZM.js";
|
|
8
|
-
import { t as ee } from "./RecordView-
|
|
8
|
+
import { t as ee } from "./RecordView-DEKHp1A3.js";
|
|
9
9
|
import { t as te } from "./SiteShell-CYQxXosD.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-
|
|
12
|
+
import { t as dt } from "./ItemDetailView-Bbn-uNaR.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";
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,6 @@ import { t as p } from "./FeaturedRecord-CTqnQFox.js";
|
|
|
4
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-BIKd-AGP.js";
|
|
5
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-CTJJOWGh.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-
|
|
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-DZHRKjL0.js";
|
|
8
8
|
import { t as z } from "./content-PQeMx8U5.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 };
|
package/dist/standalone.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./chrome-DNsZQXrL.js";
|
|
2
2
|
import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
|
|
3
|
-
import { n as a, t as o } from "./RecordView-
|
|
3
|
+
import { n as a, t as o } from "./RecordView-DEKHp1A3.js";
|
|
4
4
|
import { t as s } from "./SiteShell-CYQxXosD.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 _, mergeModels as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onMounted as w, openBlock as T, reactive as E, ref as D, renderList as O, renderSlot as k, toDisplayString as A, unref as j, useId as M, useModel as N, useSlots as P, vModelSelect as F, vModelText as I, vShow as L, watch as R, withCtx as z, withDirectives as B, withModifiers as V } from "vue";
|
|
6
6
|
import { byId as ee, collate as H, entityRef as te, loadEntities as U, md as W, pictureCredits as ne, picturesInLanguage as re, removeEndingPoint as ie, renderBlock as ae, renderInline as G, renderPlain as K, useDataPackage as oe, useI18n as q, useSection as se, useSiteConfig as J } from "@museumwnf/viewer-core";
|
|
@@ -773,13 +773,14 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
773
773
|
function D() {
|
|
774
774
|
window.history.back();
|
|
775
775
|
}
|
|
776
|
+
let j = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
|
|
776
777
|
return (i, a) => (T(), u(o, {
|
|
777
778
|
spec: y.value,
|
|
778
779
|
id: e.id,
|
|
779
780
|
class: "mwnf-standalone-item"
|
|
780
781
|
}, m({
|
|
781
782
|
header: z(({ languages: e, language: n, select: r }) => [p("div", bt, [g(t, {
|
|
782
|
-
languages: e,
|
|
783
|
+
languages: j(e),
|
|
783
784
|
language: n,
|
|
784
785
|
from: 1,
|
|
785
786
|
onSelect: r
|
|
@@ -1108,6 +1109,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1108
1109
|
dropCap: {
|
|
1109
1110
|
type: Boolean,
|
|
1110
1111
|
default: !1
|
|
1112
|
+
},
|
|
1113
|
+
narrow: {
|
|
1114
|
+
type: Boolean,
|
|
1115
|
+
default: !1
|
|
1111
1116
|
}
|
|
1112
1117
|
},
|
|
1113
1118
|
setup(e) {
|
|
@@ -1115,7 +1120,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1115
1120
|
function a() {
|
|
1116
1121
|
window.print();
|
|
1117
1122
|
}
|
|
1118
|
-
return (t, o) => (T(), f("article", { class: b(["mwnf-standalone-page", {
|
|
1123
|
+
return (t, o) => (T(), f("article", { class: b(["mwnf-standalone-page", {
|
|
1124
|
+
"mwnf-standalone-page--drop-cap": e.dropCap,
|
|
1125
|
+
"mwnf-standalone-page--narrow": e.narrow
|
|
1126
|
+
}]) }, [
|
|
1119
1127
|
p("div", {
|
|
1120
1128
|
class: "mwnf-standalone-page__body",
|
|
1121
1129
|
innerHTML: i.value
|
|
@@ -1862,6 +1870,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1862
1870
|
key: 0,
|
|
1863
1871
|
class: "mwnf-standalone-pages"
|
|
1864
1872
|
}, bi = { class: "mwnf-standalone-pages__previous" }, xi = ["aria-current", "onClick"], Si = { class: "mwnf-standalone-pages__next" }, Ci = {
|
|
1873
|
+
key: 1,
|
|
1874
|
+
class: "mwnf-standalone-pages",
|
|
1875
|
+
"aria-hidden": "true"
|
|
1876
|
+
}, wi = {
|
|
1865
1877
|
__name: "Pagination",
|
|
1866
1878
|
props: {
|
|
1867
1879
|
pageInfo: {
|
|
@@ -1909,26 +1921,26 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1909
1921
|
href: "#",
|
|
1910
1922
|
onClick: n[1] ||= V((e) => s(i.value + 1), ["prevent"])
|
|
1911
1923
|
}, A(e.nextLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.nextLabel), 1)], 64))])
|
|
1912
|
-
])) :
|
|
1924
|
+
])) : (T(), f("div", Ci));
|
|
1913
1925
|
}
|
|
1914
|
-
},
|
|
1926
|
+
}, Ti = { class: "mwnf-standalone-tlr" }, Ei = { class: "mwnf-standalone-tlr__band" }, Di = { class: "mwnf-standalone-tlr__band-inner" }, Oi = { class: "mwnf-standalone-tlr__summary" }, ki = { class: "mwnf-standalone-tlr__selects" }, Ai = ["for"], ji = [
|
|
1915
1927
|
"id",
|
|
1916
1928
|
"value",
|
|
1917
1929
|
"disabled",
|
|
1918
1930
|
"onChange"
|
|
1919
|
-
],
|
|
1931
|
+
], Mi = ["value"], Ni = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Pi = {
|
|
1920
1932
|
key: 0,
|
|
1921
1933
|
class: "mwnf-standalone-tlr__heads"
|
|
1922
|
-
},
|
|
1934
|
+
}, Fi = { class: "mwnf-standalone-tlr__body" }, Ii = { class: "mwnf-standalone-tlr__list" }, Li = { class: "mwnf-standalone-tlr__date" }, Ri = { class: "mwnf-standalone-tlr__content" }, zi = ["innerHTML"], Bi = {
|
|
1923
1935
|
key: 0,
|
|
1924
1936
|
class: "mwnf-standalone-tlr__empty"
|
|
1925
|
-
},
|
|
1937
|
+
}, Vi = { class: "mwnf-standalone-tlr__related" }, Hi = {
|
|
1926
1938
|
key: 0,
|
|
1927
1939
|
class: "mwnf-standalone-tlr__panel"
|
|
1928
|
-
},
|
|
1940
|
+
}, Ui = { key: 0 }, Wi = {
|
|
1929
1941
|
key: 1,
|
|
1930
1942
|
class: "mwnf-standalone-tlr__panel"
|
|
1931
|
-
},
|
|
1943
|
+
}, Gi = { class: "mwnf-standalone-tlr__download" }, Ki = {
|
|
1932
1944
|
__name: "TimelineResults",
|
|
1933
1945
|
props: {
|
|
1934
1946
|
heading: {
|
|
@@ -2001,8 +2013,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2001
2013
|
dir: t ? getComputedStyle(t).direction : ""
|
|
2002
2014
|
}), r.download?.file ?? "timeline.doc");
|
|
2003
2015
|
}
|
|
2004
|
-
return (t, r) => (T(), f("div",
|
|
2005
|
-
p("section",
|
|
2016
|
+
return (t, r) => (T(), f("div", Ti, [
|
|
2017
|
+
p("section", Ei, [p("div", Di, [p("p", Oi, [p("b", null, A(e.heading), 1), h(" | " + A(e.summary), 1)]), p("div", ki, [(T(!0), f(c, null, O(e.selects, (e) => (T(), f("p", { key: e.key }, [p("label", { for: `mwnf-tlr-${e.key}` }, A(e.label), 9, Ai), p("select", {
|
|
2006
2018
|
id: `mwnf-tlr-${e.key}`,
|
|
2007
2019
|
value: e.value,
|
|
2008
2020
|
disabled: e.disabled || void 0,
|
|
@@ -2013,8 +2025,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2013
2025
|
}, [(T(!0), f(c, null, O(e.options, (e) => (T(), f("option", {
|
|
2014
2026
|
key: e.value,
|
|
2015
2027
|
value: e.value
|
|
2016
|
-
}, A(e.label), 9,
|
|
2017
|
-
p("p",
|
|
2028
|
+
}, A(e.label), 9, Mi))), 128))], 40, ji)]))), 128))])])]),
|
|
2029
|
+
p("p", Ni, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
2018
2030
|
key: 0,
|
|
2019
2031
|
type: "button",
|
|
2020
2032
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -2028,14 +2040,14 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2028
2040
|
default: z(() => [h(A(e.label), 1)]),
|
|
2029
2041
|
_: 2
|
|
2030
2042
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
2031
|
-
a.value ? (T(), f("div",
|
|
2032
|
-
p("div",
|
|
2043
|
+
a.value ? (T(), f("div", Pi, [p("h3", null, A(e.heads.date), 1), p("h3", null, A(e.heads.countryDescription), 1)])) : d("", !0),
|
|
2044
|
+
p("div", Fi, [p("div", Ii, [
|
|
2033
2045
|
(T(!0), f(c, null, O(e.rows, (e) => (T(), f("div", {
|
|
2034
2046
|
key: e.id,
|
|
2035
2047
|
class: "mwnf-standalone-tlr__row"
|
|
2036
|
-
}, [p("div",
|
|
2037
|
-
a.value ? d("", !0) : (T(), f("p",
|
|
2038
|
-
e.pageInfo ? (T(), u(
|
|
2048
|
+
}, [p("div", Li, [p("p", null, [p("span", null, A(e.date), 1)]), k(t.$slots, "media", { row: e })]), p("div", Ri, [p("p", null, [p("span", null, A(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, zi)])]))), 128)),
|
|
2049
|
+
a.value ? d("", !0) : (T(), f("p", Bi, A(e.empty), 1)),
|
|
2050
|
+
e.pageInfo ? (T(), u(wi, {
|
|
2039
2051
|
key: 1,
|
|
2040
2052
|
"page-info": e.pageInfo,
|
|
2041
2053
|
"previous-label": e.previousLabel,
|
|
@@ -2046,7 +2058,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2046
2058
|
"previous-label",
|
|
2047
2059
|
"next-label"
|
|
2048
2060
|
])) : d("", !0)
|
|
2049
|
-
]), p("aside",
|
|
2061
|
+
]), p("aside", Vi, [e.related ? (T(), f("div", Hi, [
|
|
2050
2062
|
p("p", null, [p("strong", null, A(e.related.heading), 1)]),
|
|
2051
2063
|
(T(!0), f(c, null, O(e.related.links ?? [], (e) => (T(), f("p", { key: e.label }, [g(n, {
|
|
2052
2064
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2063,7 +2075,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2063
2075
|
"title",
|
|
2064
2076
|
"target"
|
|
2065
2077
|
])]))), 128)),
|
|
2066
|
-
e.related.gallery ? (T(), f("p",
|
|
2078
|
+
e.related.gallery ? (T(), f("p", Ui, [g(n, {
|
|
2067
2079
|
class: "mwnf-standalone-tlr__link",
|
|
2068
2080
|
to: e.related.gallery.to,
|
|
2069
2081
|
title: e.related.gallery.title
|
|
@@ -2071,8 +2083,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2071
2083
|
default: z(() => [h(A(e.related.gallery.label), 1)]),
|
|
2072
2084
|
_: 1
|
|
2073
2085
|
}, 8, ["to", "title"])])) : d("", !0)
|
|
2074
|
-
])) : d("", !0), e.download ? (T(), f("div",
|
|
2075
|
-
p("p",
|
|
2086
|
+
])) : d("", !0), e.download ? (T(), f("div", Wi, [
|
|
2087
|
+
p("p", Gi, A(e.download.heading), 1),
|
|
2076
2088
|
p("p", null, [p("a", {
|
|
2077
2089
|
href: "#",
|
|
2078
2090
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2086,7 +2098,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2086
2098
|
])) : d("", !0)])])
|
|
2087
2099
|
]));
|
|
2088
2100
|
}
|
|
2089
|
-
},
|
|
2101
|
+
}, qi = ["dir"], Ji = { class: "mwnf-standalone-window__box" }, Yi = { class: "mwnf-standalone-window__header" }, Xi = { class: "mwnf-standalone-window__heading" }, Zi = ["aria-label"], Qi = { class: "mwnf-standalone-window__article" }, $ = {
|
|
2090
2102
|
__name: "Window",
|
|
2091
2103
|
props: {
|
|
2092
2104
|
heading: {
|
|
@@ -2109,24 +2121,24 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2109
2121
|
return (n, r) => (T(), f("div", {
|
|
2110
2122
|
class: "mwnf-standalone-window",
|
|
2111
2123
|
dir: e.dir || void 0
|
|
2112
|
-
}, [p("div",
|
|
2113
|
-
p("header",
|
|
2124
|
+
}, [p("div", Ji, [
|
|
2125
|
+
p("header", Yi, [p("h1", Xi, A(e.heading), 1), p("button", {
|
|
2114
2126
|
type: "button",
|
|
2115
2127
|
class: "mwnf-standalone-window__close",
|
|
2116
2128
|
"aria-label": e.closeLabel || void 0,
|
|
2117
2129
|
onClick: t
|
|
2118
|
-
}, "×", 8,
|
|
2130
|
+
}, "×", 8, Zi)]),
|
|
2119
2131
|
k(n.$slots, "before"),
|
|
2120
|
-
p("article",
|
|
2121
|
-
])], 8,
|
|
2132
|
+
p("article", Qi, [k(n.$slots, "default")])
|
|
2133
|
+
])], 8, qi));
|
|
2122
2134
|
}
|
|
2123
|
-
},
|
|
2135
|
+
}, $i = {
|
|
2124
2136
|
class: "mwnf-standalone-hcr__scale",
|
|
2125
2137
|
"aria-hidden": "true"
|
|
2126
|
-
},
|
|
2138
|
+
}, ea = { class: "mwnf-standalone-hcr__years" }, ta = { class: "mwnf-standalone-hcr__body" }, na = { class: "mwnf-standalone-hcr__left" }, ra = { class: "mwnf-standalone-hcr__title" }, ia = ["value", "aria-label"], aa = ["value"], oa = { class: "mwnf-standalone-hcr__title" }, sa = ["value", "aria-label"], ca = ["value"], la = {
|
|
2127
2139
|
key: 0,
|
|
2128
2140
|
class: "mwnf-standalone-hcr__image"
|
|
2129
|
-
},
|
|
2141
|
+
}, ua = ["src", "alt"], da = { key: 1 }, fa = ["innerHTML"], pa = { key: 2 }, ma = { class: "mwnf-standalone-hcr__main" }, ha = ["innerHTML"], ga = {
|
|
2130
2142
|
__name: "HistoricalCrossRef",
|
|
2131
2143
|
props: {
|
|
2132
2144
|
labels: {
|
|
@@ -2192,12 +2204,12 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2192
2204
|
"close-label": e.labels.close,
|
|
2193
2205
|
dir: e.dir
|
|
2194
2206
|
}, {
|
|
2195
|
-
before: z(() => [p("section",
|
|
2207
|
+
before: z(() => [p("section", $i, [p("div", ea, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("span", {
|
|
2196
2208
|
key: e.value,
|
|
2197
2209
|
class: b({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2198
2210
|
}, A(e.value), 3))), 128))]), n[2] ||= p("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2199
|
-
default: z(() => [p("div",
|
|
2200
|
-
p("p",
|
|
2211
|
+
default: z(() => [p("div", ta, [p("div", na, [
|
|
2212
|
+
p("p", ra, A(e.labels.country), 1),
|
|
2201
2213
|
p("select", {
|
|
2202
2214
|
value: e.country,
|
|
2203
2215
|
"aria-label": e.labels.country,
|
|
@@ -2208,8 +2220,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2208
2220
|
}, [(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
2209
2221
|
key: e.value,
|
|
2210
2222
|
value: e.value
|
|
2211
|
-
}, A(e.label), 9,
|
|
2212
|
-
p("p",
|
|
2223
|
+
}, A(e.label), 9, aa))), 128))], 40, ia),
|
|
2224
|
+
p("p", oa, A(e.labels.range), 1),
|
|
2213
2225
|
p("select", {
|
|
2214
2226
|
value: String(e.range),
|
|
2215
2227
|
"aria-label": e.labels.range,
|
|
@@ -2220,22 +2232,22 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2220
2232
|
}, [(T(!0), f(c, null, O(e.ranges, (e) => (T(), f("option", {
|
|
2221
2233
|
key: e.value,
|
|
2222
2234
|
value: String(e.value)
|
|
2223
|
-
}, A(e.label), 9,
|
|
2235
|
+
}, A(e.label), 9, ca))), 128))], 40, sa),
|
|
2224
2236
|
e.item ? (T(), f(c, { key: 0 }, [
|
|
2225
|
-
e.item.image ? (T(), f("div",
|
|
2237
|
+
e.item.image ? (T(), f("div", la, [p("img", {
|
|
2226
2238
|
src: e.item.image,
|
|
2227
2239
|
alt: e.item.name
|
|
2228
|
-
}, null, 8,
|
|
2229
|
-
e.item.name ? (T(), f("p",
|
|
2230
|
-
e.item.lines?.length ? (T(), f("p",
|
|
2240
|
+
}, null, 8, ua)])) : d("", !0),
|
|
2241
|
+
e.item.name ? (T(), f("p", da, [p("strong", { innerHTML: e.item.name }, null, 8, fa)])) : d("", !0),
|
|
2242
|
+
e.item.lines?.length ? (T(), f("p", pa, [(T(!0), f(c, null, O(e.item.lines, (e, t) => (T(), f(c, { key: t }, [h(A(e), 1), n[3] ||= p("br", null, null, -1)], 64))), 128))])) : d("", !0)
|
|
2231
2243
|
], 64)) : d("", !0)
|
|
2232
|
-
]), p("div",
|
|
2244
|
+
]), p("div", ma, [p("h3", null, A(e.heading), 1), (T(!0), f(c, null, O(e.events, (e) => (T(), f("div", {
|
|
2233
2245
|
key: e.id,
|
|
2234
2246
|
class: "mwnf-standalone-hcr__event"
|
|
2235
2247
|
}, [p("p", null, [p("b", null, A(e.date), 1)]), p("div", {
|
|
2236
2248
|
class: "mwnf-standalone-hcr__text",
|
|
2237
2249
|
innerHTML: e.html
|
|
2238
|
-
}, null, 8,
|
|
2250
|
+
}, null, 8, ha)]))), 128))])])]),
|
|
2239
2251
|
_: 1
|
|
2240
2252
|
}, 8, [
|
|
2241
2253
|
"heading",
|
|
@@ -2243,10 +2255,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2243
2255
|
"dir"
|
|
2244
2256
|
]));
|
|
2245
2257
|
}
|
|
2246
|
-
},
|
|
2258
|
+
}, _a = ["disabled", "aria-label"], va = { class: "mwnf-standalone-slider__track" }, ya = ["src", "alt"], ba = {
|
|
2247
2259
|
key: 0,
|
|
2248
2260
|
class: "mwnf-standalone-slider__label"
|
|
2249
|
-
},
|
|
2261
|
+
}, xa = ["disabled", "aria-label"], Sa = {
|
|
2250
2262
|
__name: "Slider",
|
|
2251
2263
|
props: {
|
|
2252
2264
|
slides: {
|
|
@@ -2283,8 +2295,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2283
2295
|
disabled: a.value === 0,
|
|
2284
2296
|
"aria-label": j(r)(e.previousLabel),
|
|
2285
2297
|
onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
|
|
2286
|
-
}, "‹", 8,
|
|
2287
|
-
p("ul",
|
|
2298
|
+
}, "‹", 8, _a),
|
|
2299
|
+
p("ul", va, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
|
|
2288
2300
|
key: e.image,
|
|
2289
2301
|
class: "mwnf-standalone-slider__slide"
|
|
2290
2302
|
}, [g(n, {
|
|
@@ -2294,7 +2306,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2294
2306
|
default: z(() => [p("img", {
|
|
2295
2307
|
src: e.image,
|
|
2296
2308
|
alt: e.label
|
|
2297
|
-
}, null, 8,
|
|
2309
|
+
}, null, 8, ya), e.label ? (T(), f("span", ba, A(e.label), 1)) : d("", !0)]),
|
|
2298
2310
|
_: 2
|
|
2299
2311
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2300
2312
|
p("button", {
|
|
@@ -2303,17 +2315,17 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2303
2315
|
disabled: a.value >= o.value,
|
|
2304
2316
|
"aria-label": j(r)(e.nextLabel),
|
|
2305
2317
|
onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
|
|
2306
|
-
}, "›", 8,
|
|
2318
|
+
}, "›", 8, xa)
|
|
2307
2319
|
], 4)) : d("", !0);
|
|
2308
2320
|
}
|
|
2309
|
-
},
|
|
2321
|
+
}, Ca = { class: "mwnf-standalone-glossary" }, wa = { class: "mwnf-standalone-glossary__intro" }, Ta = { class: "mwnf-standalone-glossary__body" }, Ea = { class: "mwnf-standalone-glossary__field" }, Da = ["aria-expanded", "aria-label"], Oa = {
|
|
2310
2322
|
key: 0,
|
|
2311
2323
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2312
2324
|
role: "listbox"
|
|
2313
|
-
},
|
|
2325
|
+
}, ka = ["aria-selected", "onMousedown"], Aa = {
|
|
2314
2326
|
class: "mwnf-standalone-glossary__result",
|
|
2315
2327
|
"aria-live": "polite"
|
|
2316
|
-
},
|
|
2328
|
+
}, ja = { class: "mwnf-standalone-glossary__label" }, Ma = ["innerHTML"], Na = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Pa = { class: "mwnf-standalone-glossary__note" }, Fa = { class: "mwnf-standalone-glossary__spellings" }, Ia = {
|
|
2317
2329
|
__name: "GlossarySpelling",
|
|
2318
2330
|
props: {
|
|
2319
2331
|
language: {
|
|
@@ -2374,7 +2386,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2374
2386
|
"close-label": e.labels.close,
|
|
2375
2387
|
dir: e.dir
|
|
2376
2388
|
}, {
|
|
2377
|
-
default: z(() => [p("div",
|
|
2389
|
+
default: z(() => [p("div", Ca, [p("h2", wa, A(e.labels.intro), 1), p("div", Ta, [p("div", Ea, [B(p("input", {
|
|
2378
2390
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
2379
2391
|
type: "text",
|
|
2380
2392
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2384,19 +2396,19 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2384
2396
|
"aria-label": e.labels.heading,
|
|
2385
2397
|
onInput: y,
|
|
2386
2398
|
onKeydown: x
|
|
2387
|
-
}, null, 40,
|
|
2399
|
+
}, null, 40, Da), [[I, a.value]]), h.value.length ? (T(), f("ul", Oa, [(T(!0), f(c, null, O(h.value, (e, t) => (T(), f("li", {
|
|
2388
2400
|
key: e.spelling,
|
|
2389
2401
|
role: "option",
|
|
2390
2402
|
"aria-selected": t === s.value,
|
|
2391
2403
|
class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
|
|
2392
2404
|
onMousedown: V((t) => v(e), ["prevent"])
|
|
2393
|
-
}, A(e.spelling), 43,
|
|
2405
|
+
}, A(e.spelling), 43, ka))), 128))])) : d("", !0)]), p("div", Aa, [o.value ? (T(), f(c, { key: 0 }, [g.value ? (T(), f(c, { key: 0 }, [p("h3", ja, A(e.labels.definition), 1), p("div", {
|
|
2394
2406
|
class: "mwnf-standalone-glossary__definition",
|
|
2395
2407
|
innerHTML: g.value
|
|
2396
|
-
}, null, 8,
|
|
2397
|
-
p("h3",
|
|
2398
|
-
p("p",
|
|
2399
|
-
p("ul",
|
|
2408
|
+
}, null, 8, Ma)], 64)) : d("", !0), _.value.length ? (T(), f(c, { key: 1 }, [
|
|
2409
|
+
p("h3", Na, A(e.labels.spellings), 1),
|
|
2410
|
+
p("p", Pa, A(e.labels.spellingsNote), 1),
|
|
2411
|
+
p("ul", Fa, [(T(!0), f(c, null, O(_.value, (e) => (T(), f("li", { key: e }, A(e), 1))), 128))])
|
|
2400
2412
|
], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
|
|
2401
2413
|
_: 1
|
|
2402
2414
|
}, 8, [
|
|
@@ -2407,4 +2419,4 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2407
2419
|
}
|
|
2408
2420
|
};
|
|
2409
2421
|
//#endregion
|
|
2410
|
-
export { yt as RelatedContent, ue as StandaloneBanner, ni as StandaloneDatabaseForm,
|
|
2422
|
+
export { yt as RelatedContent, ue as StandaloneBanner, ni as StandaloneDatabaseForm, Ia as StandaloneGlossarySpelling, ga as StandaloneHistoricalCrossRef, tt as StandaloneHome, Ct as StandaloneItemSheet, wi as StandalonePagination, nr as StandalonePartnerList, Qt as StandalonePartnerPage, Or as StandalonePartnersEntrance, Kn as StandaloneRefine, yn as StandaloneResultsGrid, Bn as StandaloneResultsList, Ie as StandaloneShell, Sa as StandaloneSlider, hr as StandaloneSponsorList, Oe as StandaloneSponsors, on as StandaloneSubNav, nn as StandaloneTextPage, Ze as StandaloneTileGrid, vi as StandaloneTimelineEntrance, Ki as StandaloneTimelineResults, $ as StandaloneWindow, We as TodayHighlight, de as byLanguage, fe as dayOfYear, pe as legacyHomeItemKey, X as pickForDay };
|