dbf-mirador 4.3.7 → 4.3.8
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/README.md +8 -0
- package/dist/{CommentSharp-CqGF7axd.js → CommentSharp-c9-KZf2H.js} +2 -2
- package/dist/{CommentSharp-CqGF7axd.js.map → CommentSharp-c9-KZf2H.js.map} +1 -1
- package/dist/{FailedImageContext-yYxY_Y6U.js → FailedImageContext-B8nqS86j.js} +7 -1
- package/dist/FailedImageContext-B8nqS86j.js.map +1 -0
- package/dist/{GalleryView-CVBvyOpD.js → GalleryView-UEgvJwF4.js} +3 -3
- package/dist/{GalleryView-CVBvyOpD.js.map → GalleryView-UEgvJwF4.js.map} +1 -1
- package/dist/{OpenSeadragonViewer-CYMXINoT.js → OpenSeadragonViewer-Dm_GZoQ8.js} +407 -363
- package/dist/OpenSeadragonViewer-Dm_GZoQ8.js.map +1 -0
- package/dist/{WindowViewer-CCpOO735.js → WindowViewer-DARS4uQ5.js} +2 -2
- package/dist/{WindowViewer-CCpOO735.js.map → WindowViewer-DARS4uQ5.js.map} +1 -1
- package/dist/{WorkspaceArea-XNVTbI7k.js → WorkspaceArea-CjoBaSS5.js} +46 -39
- package/dist/WorkspaceArea-CjoBaSS5.js.map +1 -0
- package/dist/mirador.es.js +3311 -1974
- package/dist/mirador.es.js.map +1 -1
- package/dist/mirador.min.js +73 -73
- package/dist/mirador.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AnnotationsOverlay.jsx +9 -1
- package/src/components/AppProviders.jsx +22 -2
- package/src/components/CompanionWindow.jsx +61 -52
- package/src/components/MapViewer.jsx +31 -3
- package/src/components/OpenSeadragonViewer.jsx +3 -1
- package/src/components/Workspace.jsx +8 -3
- package/src/components/WorkspaceArea.jsx +10 -1
- package/src/containers/AppProviders.js +3 -0
- package/src/containers/OpenSeadragonViewer.js +2 -0
- package/src/containers/Workspace.js +2 -0
- package/src/containers/WorkspaceArea.js +2 -0
- package/src/lib/AnnotationItem.js +5 -0
- package/src/lib/AnnotationResource.js +5 -0
- package/src/lib/CanvasAnnotationDisplay.js +23 -2
- package/src/lib/smoothPath.js +54 -0
- package/src/plugins/audioPlayer.tsx +244 -0
- package/src/plugins/fillView.ts +152 -0
- package/src/plugins/index.js +2 -0
- package/src/plugins/mapInteractionPlugin.tsx +13 -49
- package/src/plugins/nestedMapPlugin.tsx +161 -12
- package/src/plugins/poiPreviewPlugin.tsx +849 -35
- package/src/plugins/previewIds.ts +15 -0
- package/src/plugins/scrollSelect.ts +146 -0
- package/src/plugins/sheetGestures.ts +215 -0
- package/src/plugins/siteMapToolsPlugin.tsx +264 -0
- package/src/plugins/sitePanelState.ts +162 -0
- package/src/plugins/sitePins.ts +295 -0
- package/src/plugins/tourOrder.ts +48 -0
- package/dist/FailedImageContext-yYxY_Y6U.js.map +0 -1
- package/dist/OpenSeadragonViewer-CYMXINoT.js.map +0 -1
- package/dist/WorkspaceArea-XNVTbI7k.js.map +0 -1
|
@@ -4,7 +4,7 @@ import { t as o } from "./WindowCanvasNavigationControls-D5yfHP-5.js";
|
|
|
4
4
|
import { Suspense as s, lazy as c } from "react";
|
|
5
5
|
import { jsx as l } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/WindowViewer.jsx
|
|
7
|
-
var u = /* @__PURE__ */ r(t(), 1), d = c(() => import("./OpenSeadragonViewer-
|
|
7
|
+
var u = /* @__PURE__ */ r(t(), 1), d = c(() => import("./OpenSeadragonViewer-Dm_GZoQ8.js").then((e) => e.n));
|
|
8
8
|
function f({ windowId: e }) {
|
|
9
9
|
return /* @__PURE__ */ l(a, {
|
|
10
10
|
fallback: null,
|
|
@@ -24,4 +24,4 @@ var p = /* @__PURE__ */ n({ default: () => m }), m = e(i("WindowViewer"))(f);
|
|
|
24
24
|
//#endregion
|
|
25
25
|
export { p as n, f as r, m as t };
|
|
26
26
|
|
|
27
|
-
//# sourceMappingURL=WindowViewer-
|
|
27
|
+
//# sourceMappingURL=WindowViewer-DARS4uQ5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WindowViewer-
|
|
1
|
+
{"version":3,"file":"WindowViewer-DARS4uQ5.js","names":[],"sources":["../src/components/WindowViewer.jsx","../src/containers/WindowViewer.js"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { ErrorBoundary } from 'react-error-boundary';\nimport PropTypes from 'prop-types';\nimport WindowCanvasNavigationControls from '../containers/WindowCanvasNavigationControls';\n\nconst OSDViewer = lazy(() => import('../containers/OpenSeadragonViewer'));\n\n/**\n * Represents a WindowViewer in the mirador workspace. Responsible for mounting\n * OSD and Navigation\n */\nexport function WindowViewer({ windowId }) {\n return (\n <ErrorBoundary fallback={null}>\n <Suspense fallback={<div />}>\n <OSDViewer windowId={windowId}>\n <WindowCanvasNavigationControls windowId={windowId} />\n </OSDViewer>\n </Suspense>\n </ErrorBoundary>\n );\n}\n\nWindowViewer.propTypes = {\n windowId: PropTypes.string.isRequired,\n};\n","import { compose } from 'redux';\nimport { withPlugins } from '../extend/withPlugins';\nimport { WindowViewer } from '../components/WindowViewer';\n\nconst enhance = compose(\n withPlugins('WindowViewer'),\n // further HOC go here\n);\n\nexport default enhance(WindowViewer);\n"],"mappings":";;;;;;mCAKM,IAAY,QAAW,OAAO,oCAAoC,CAAA,MAAA,MAAA,EAAA,CAAA,CAAA;AAMxE,SAAgB,EAAa,EAAE,eAAY;CACzC,OACE,kBAAC,GAAD;EAAe,UAAU;EACvB,UAAA,kBAAC,GAAD;GAAU,UAAU,kBAAC,OAAD,CAAM,CAAA;GACxB,UAAA,kBAAC,GAAD;IAAqB;IACnB,UAAA,kBAAC,GAAD,EAA0C,YAAW,CAAA;GAC5C,CAAA;EACH,CAAA;CACG,CAAA;AAEnB;AAEA,EAAa,YAAY,EACvB,UAAU,EAAA,QAAU,OAAO,WAC7B;;;iDChBA,IALgB,EACd,EAAY,cAAc,CAIb,CAAA,CAAQ,CAAY"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { B as e, M as t, U as n, V as r, W as i, Z as a, _ as o, a as s, at as c, ct as l, d as u, dt as d, f, ft as p, g as m, h, i as g, l as _, lt as v, m as y, n as b, o as x, ot as S, s as C, st as w, t as T, u as E, ut as D } from "./getters-CD0HjudG.js";
|
|
2
2
|
import { $ as ee, A as te, Bt as ne, C as re, D as ie, Dt as ae, E as oe, Et as se, F as ce, Ft as O, G as le, Gt as ue, H as de, Ht as fe, I as pe, It as me, J as he, K as ge, Lt as _e, M as ve, Mt as ye, N as k, Nt as be, Ot as xe, P as Se, Q as Ce, R as we, S as Te, St as Ee, T as De, Tt as Oe, U as ke, V as Ae, Vt as je, W as Me, Y as Ne, Z as Pe, _ as Fe, _t as Ie, a as Le, at as Re, b as ze, c as Be, ct as Ve, d as He, et as Ue, g as We, gt as Ge, h as Ke, i as qe, it as Je, j as Ye, jt as Xe, k as Ze, l as Qe, lt as $e, mt as et, n as tt, nt, o as rt, on as it, ot as at, p as ot, q as st, rt as ct, s as lt, tt as ut, u as dt, un as ft, w as pt, x as mt, xt as ht, y as gt, yt as _t } from "./canvases-DKeoerqc.js";
|
|
3
3
|
import { t as A } from "./action-types-DjIbTE-A.js";
|
|
4
|
-
import { E as vt, S as yt, _ as bt, b as xt, c as St, d as Ct, f as wt, k as Tt, l as Et, n as Dt, p as Ot, r as kt, v as At, w as jt, x as Mt, y as Nt } from "./FailedImageContext-
|
|
4
|
+
import { E as vt, S as yt, _ as bt, b as xt, c as St, d as Ct, f as wt, k as Tt, l as Et, n as Dt, p as Ot, r as kt, v as At, w as jt, x as Mt, y as Nt } from "./FailedImageContext-B8nqS86j.js";
|
|
5
5
|
import { a as Pt, c as Ft, d as It, f as Lt, l as Rt, m as zt, n as Bt, t as Vt, u as Ht } from "./index.module-B1DwyIwz.js";
|
|
6
6
|
import { a as Ut, c as Wt, d as Gt, f as Kt, i as qt, l as Jt, n as Yt, o as Xt, r as Zt, s as Qt, t as $t, u as en } from "./window-DiDL2pT4.js";
|
|
7
7
|
import { n as tn, r as nn, t as rn } from "./canvas-DNE0BtDK.js";
|
|
8
8
|
import { i as an, n as on, r as j, t as sn } from "./PluginHook-Bs9Qkrjd.js";
|
|
9
|
-
import { a as cn, n as ln, o as un, r as dn, t as fn } from "./CommentSharp-
|
|
9
|
+
import { a as cn, n as ln, o as un, r as dn, t as fn } from "./CommentSharp-c9-KZf2H.js";
|
|
10
10
|
import { t as M } from "./createSvgIcon-Cwt8YPfm.js";
|
|
11
11
|
import { i as pn, n as mn, o as hn, r as gn, t as _n } from "./visuallyHidden-BKK1-SDh.js";
|
|
12
12
|
import { t as vn } from "./react-error-boundary.esm-ByHqCaxk.js";
|
|
@@ -3744,7 +3744,7 @@ var el = {
|
|
|
3744
3744
|
name: "CompanionWindow",
|
|
3745
3745
|
slot: "closeButton"
|
|
3746
3746
|
})({}), hl = En((e, t) => {
|
|
3747
|
-
let { ariaLabel: n = void 0, classes: r = {}, direction: i, id: a, paperClassName: o = "", onCloseClick: s = () => {}, updateCompanionWindow: c = void 0, isDisplayed: u = !1, position: d = null, title: f = null, children: p = void 0, titleControls: m = null, defaultSidebarPanelWidth: h = 350, defaultSidebarPanelHeight: g = 201 } = e, [
|
|
3747
|
+
let { ariaLabel: n = void 0, classes: r = {}, direction: i, id: a, paperClassName: o = "", onCloseClick: s = () => {}, updateCompanionWindow: c = void 0, isDisplayed: u = !1, position: d = null, title: f = null, children: p = void 0, titleControls: m = null, defaultSidebarPanelWidth: h = 350, defaultSidebarPanelHeight: g = 201, header: _ = !0, resizable: v = !0 } = e, [y, b] = (0, rl.useElementSize)(), { t: x } = V(), S = l((e) => xe(e, { companionWindowId: a }), [a]), C = i === "rtl" ? { transform: "scale(-1, 1)" } : {}, w = (() => {
|
|
3748
3748
|
let e = {
|
|
3749
3749
|
ltr: {
|
|
3750
3750
|
default: "left",
|
|
@@ -3774,10 +3774,10 @@ var el = {
|
|
|
3774
3774
|
...t,
|
|
3775
3775
|
top: !0
|
|
3776
3776
|
} : t;
|
|
3777
|
-
})(),
|
|
3777
|
+
})(), T = d === "bottom" || d === "far-bottom", E = yn.map(p, (e) => e ? Sn(e, { parentactions: { closeCompanionWindow: s } }) : null);
|
|
3778
3778
|
return /* @__PURE__ */ z(sl, {
|
|
3779
3779
|
ownerState: e,
|
|
3780
|
-
ref: mn(t,
|
|
3780
|
+
ref: mn(t, y),
|
|
3781
3781
|
style: {
|
|
3782
3782
|
display: u ? null : "none",
|
|
3783
3783
|
order: d === "left" ? -1 : null
|
|
@@ -3792,7 +3792,7 @@ var el = {
|
|
|
3792
3792
|
role: "region",
|
|
3793
3793
|
"aria-label": n || f,
|
|
3794
3794
|
children: /* @__PURE__ */ z(un.Provider, {
|
|
3795
|
-
value:
|
|
3795
|
+
value: S,
|
|
3796
3796
|
children: /* @__PURE__ */ B(fl, {
|
|
3797
3797
|
style: {
|
|
3798
3798
|
display: "inherit",
|
|
@@ -3800,16 +3800,16 @@ var el = {
|
|
|
3800
3800
|
},
|
|
3801
3801
|
ownerState: e,
|
|
3802
3802
|
default: {
|
|
3803
|
-
height:
|
|
3804
|
-
width:
|
|
3803
|
+
height: T ? g : "100%",
|
|
3804
|
+
width: T ? "auto" : h
|
|
3805
3805
|
},
|
|
3806
3806
|
disableDragging: !0,
|
|
3807
|
-
enableResizing:
|
|
3808
|
-
minHeight: 50,
|
|
3807
|
+
enableResizing: v ? w : !1,
|
|
3808
|
+
minHeight: v ? 50 : 0,
|
|
3809
3809
|
minWidth: d === "left" ? 235 : 100,
|
|
3810
|
-
children: [/* @__PURE__ */ B(cl, {
|
|
3810
|
+
children: [_ && /* @__PURE__ */ B(cl, {
|
|
3811
3811
|
variant: "dense",
|
|
3812
|
-
className: [j("companion-window-header"),
|
|
3812
|
+
className: [j("companion-window-header"), b.width < 370 ? "test" : null].join(" "),
|
|
3813
3813
|
disableGutters: !0,
|
|
3814
3814
|
children: [
|
|
3815
3815
|
/* @__PURE__ */ z(ll, {
|
|
@@ -3817,26 +3817,26 @@ var el = {
|
|
|
3817
3817
|
children: f
|
|
3818
3818
|
}),
|
|
3819
3819
|
d === "left" ? c && /* @__PURE__ */ z(pn, {
|
|
3820
|
-
"aria-label":
|
|
3820
|
+
"aria-label": x("openInCompanionWindow"),
|
|
3821
3821
|
onClick: () => {
|
|
3822
3822
|
c({ position: "right" });
|
|
3823
3823
|
},
|
|
3824
|
-
children: /* @__PURE__ */ z(Ms, { style:
|
|
3824
|
+
children: /* @__PURE__ */ z(Ms, { style: C })
|
|
3825
3825
|
}) : /* @__PURE__ */ B(R, { children: [c && /* @__PURE__ */ z(pl, {
|
|
3826
|
-
"aria-label":
|
|
3826
|
+
"aria-label": x(d === "bottom" ? "moveCompanionWindowToRight" : "moveCompanionWindowToBottom"),
|
|
3827
3827
|
onClick: () => {
|
|
3828
3828
|
c({ position: d === "bottom" ? "right" : "bottom" });
|
|
3829
3829
|
},
|
|
3830
3830
|
children: /* @__PURE__ */ z(Ns, {})
|
|
3831
3831
|
}), /* @__PURE__ */ z(ml, {
|
|
3832
|
-
sx: { ...
|
|
3833
|
-
"aria-label":
|
|
3832
|
+
sx: { ...b.width < 370 && { order: "unset" } },
|
|
3833
|
+
"aria-label": x("closeCompanionWindow"),
|
|
3834
3834
|
onClick: s,
|
|
3835
3835
|
children: /* @__PURE__ */ z(js, {})
|
|
3836
3836
|
})] }),
|
|
3837
3837
|
m && /* @__PURE__ */ z(ul, {
|
|
3838
3838
|
ownerState: { position: d },
|
|
3839
|
-
sx: { order:
|
|
3839
|
+
sx: { order: T || b.width < 370 ? "unset" : 1e3 },
|
|
3840
3840
|
className: j("companion-window-title-controls"),
|
|
3841
3841
|
children: m
|
|
3842
3842
|
})
|
|
@@ -3844,7 +3844,7 @@ var el = {
|
|
|
3844
3844
|
}), /* @__PURE__ */ z(dl, {
|
|
3845
3845
|
className: j("scrollto-scrollable"),
|
|
3846
3846
|
elevation: 0,
|
|
3847
|
-
children:
|
|
3847
|
+
children: E
|
|
3848
3848
|
})]
|
|
3849
3849
|
})
|
|
3850
3850
|
})
|
|
@@ -3857,6 +3857,8 @@ hl.propTypes = {
|
|
|
3857
3857
|
defaultSidebarPanelHeight: W.default.number,
|
|
3858
3858
|
defaultSidebarPanelWidth: W.default.number,
|
|
3859
3859
|
direction: W.default.string.isRequired,
|
|
3860
|
+
header: W.default.bool,
|
|
3861
|
+
resizable: W.default.bool,
|
|
3860
3862
|
id: W.default.string.isRequired,
|
|
3861
3863
|
isDisplayed: W.default.bool,
|
|
3862
3864
|
onCloseClick: W.default.func,
|
|
@@ -18816,7 +18818,7 @@ var dF = n(w((e, { windowId: t }) => {
|
|
|
18816
18818
|
setWorkspaceAddVisibility: Qi,
|
|
18817
18819
|
showCollectionDialog: en,
|
|
18818
18820
|
updateWindow: Kt
|
|
18819
|
-
}), m("CollectionDialog"))(uF), fF = On(() => import("./AudioViewer-Bw9Dw4zn.js").then((e) => e.n)), pF = On(() => import("./GalleryView-
|
|
18821
|
+
}), m("CollectionDialog"))(uF), fF = On(() => import("./AudioViewer-Bw9Dw4zn.js").then((e) => e.n)), pF = On(() => import("./GalleryView-UEgvJwF4.js").then((e) => e.n)), mF = On(() => import("./SelectCollection-3NmzQDwN.js").then((e) => e.n)), hF = On(() => import("./WindowViewer-DARS4uQ5.js").then((e) => e.n)), gF = On(() => import("./VideoViewer-cPgF9ddg.js").then((e) => e.n)), _F = On(() => import("./TextViewer-CVXiOE35.js").then((e) => e.n));
|
|
18820
18822
|
pF.displayName = "GalleryView", mF.displayName = "SelectCollection", hF.displayName = "WindowViewer";
|
|
18821
18823
|
var vF = H("div", {
|
|
18822
18824
|
name: "PrimaryWindow",
|
|
@@ -20691,8 +20693,8 @@ var BI = n(w((e) => ({
|
|
|
20691
20693
|
}) });
|
|
20692
20694
|
};
|
|
20693
20695
|
UI.propTypes = {};
|
|
20694
|
-
function WI({ addWindow: e = () => {}, allowNewWindows: t = !0, maximizedWindowIds: n = [],
|
|
20695
|
-
let { t:
|
|
20696
|
+
function WI({ addWindow: e = () => {}, allowNewWindows: t = !0, maximizedWindowIds: n = [], site: r = !1, windowIds: i = [], workspaceId: a, workspaceType: o }) {
|
|
20697
|
+
let { t: s } = V();
|
|
20696
20698
|
return /* @__PURE__ */ z(dI, {
|
|
20697
20699
|
onDrop: ({ canvasId: n, manifestId: r, manifestJson: i }, a, o) => {
|
|
20698
20700
|
t && e({
|
|
@@ -20705,25 +20707,25 @@ function WI({ addWindow: e = () => {}, allowNewWindows: t = !0, maximizedWindowI
|
|
|
20705
20707
|
ownerState: {
|
|
20706
20708
|
allowNewWindows: t,
|
|
20707
20709
|
maximizedWindowIds: n,
|
|
20708
|
-
windowIds:
|
|
20709
|
-
workspaceId:
|
|
20710
|
-
workspaceType:
|
|
20710
|
+
windowIds: i,
|
|
20711
|
+
workspaceId: a,
|
|
20712
|
+
workspaceType: o
|
|
20711
20713
|
},
|
|
20712
20714
|
className: (0, G.default)(j("workspace-viewport")),
|
|
20713
|
-
children: [/* @__PURE__ */ z(U, {
|
|
20715
|
+
children: [!r && /* @__PURE__ */ z(U, {
|
|
20714
20716
|
style: _n,
|
|
20715
20717
|
component: "h1",
|
|
20716
|
-
children:
|
|
20718
|
+
children: s("miradorViewer")
|
|
20717
20719
|
}), (() => {
|
|
20718
20720
|
if (n.length > 0 && n.length > 0) return n.map((e) => /* @__PURE__ */ z(KF, {
|
|
20719
20721
|
windowId: e,
|
|
20720
20722
|
className: (0, G.default)(j("workspace-maximized-window"))
|
|
20721
|
-
}, `${e}-${
|
|
20722
|
-
if (
|
|
20723
|
-
switch (
|
|
20723
|
+
}, `${e}-${a}`));
|
|
20724
|
+
if (i.length === 0) return /* @__PURE__ */ z(UI, {});
|
|
20725
|
+
switch (o) {
|
|
20724
20726
|
case "elastic": return /* @__PURE__ */ z(VI, {});
|
|
20725
20727
|
case "mosaic": return /* @__PURE__ */ z(BI, {});
|
|
20726
|
-
default: return
|
|
20728
|
+
default: return i.map((e) => /* @__PURE__ */ z(KF, { windowId: e }, `${e}-${a}`));
|
|
20727
20729
|
}
|
|
20728
20730
|
})()]
|
|
20729
20731
|
})
|
|
@@ -20732,6 +20734,7 @@ function WI({ addWindow: e = () => {}, allowNewWindows: t = !0, maximizedWindowI
|
|
|
20732
20734
|
WI.propTypes = {
|
|
20733
20735
|
addWindow: W.default.func,
|
|
20734
20736
|
allowNewWindows: W.default.bool,
|
|
20737
|
+
site: W.default.bool,
|
|
20735
20738
|
maximizedWindowIds: W.default.arrayOf(W.default.string),
|
|
20736
20739
|
windowIds: W.default.arrayOf(W.default.string),
|
|
20737
20740
|
workspaceId: W.default.string.isRequired,
|
|
@@ -22177,6 +22180,7 @@ function IL({ variant: e = "default", ...t }) {
|
|
|
22177
22180
|
IL.propTypes = { variant: W.default.oneOf(["default", "wide"]) };
|
|
22178
22181
|
var LL = n(m("WorkspaceControlPanel"))(IL), RL = n(w((e) => ({
|
|
22179
22182
|
allowNewWindows: et(e).workspace.allowNewWindows,
|
|
22183
|
+
site: et(e).maps?.site === !0,
|
|
22180
22184
|
maximizedWindowIds: mt(e),
|
|
22181
22185
|
windowIds: x(e),
|
|
22182
22186
|
workspaceId: _(e).id,
|
|
@@ -22205,14 +22209,15 @@ var LL = n(m("WorkspaceControlPanel"))(IL), RL = n(w((e) => ({
|
|
|
22205
22209
|
flexGrow: 1,
|
|
22206
22210
|
position: "relative"
|
|
22207
22211
|
}));
|
|
22208
|
-
function UL({ areaRef: e = null, controlPanelVariant: t = void 0, isWorkspaceAddVisible: n = !1, isWorkspaceControlPanelVisible: r, lang: i = void 0 }) {
|
|
22209
|
-
let { t:
|
|
22212
|
+
function UL({ areaRef: e = null, controlPanelVariant: t = void 0, isWorkspaceAddVisible: n = !1, isWorkspaceControlPanelVisible: r, lang: i = void 0, site: a = !1 }) {
|
|
22213
|
+
let { t: o } = V(), s = arguments[0];
|
|
22210
22214
|
return /* @__PURE__ */ B(VL, {
|
|
22211
|
-
ownerState:
|
|
22215
|
+
ownerState: s,
|
|
22212
22216
|
children: [r && /* @__PURE__ */ z(LL, { variant: t }), /* @__PURE__ */ B(HL, {
|
|
22217
|
+
as: a ? "div" : void 0,
|
|
22213
22218
|
className: j("viewer"),
|
|
22214
22219
|
lang: i,
|
|
22215
|
-
"aria-label": a("workspace"),
|
|
22220
|
+
"aria-label": a ? void 0 : o("workspace"),
|
|
22216
22221
|
...e ? { ref: e } : {},
|
|
22217
22222
|
children: [
|
|
22218
22223
|
z(n ? zL : RL, {}),
|
|
@@ -22227,7 +22232,8 @@ UL.propTypes = {
|
|
|
22227
22232
|
controlPanelVariant: W.default.string,
|
|
22228
22233
|
isWorkspaceAddVisible: W.default.bool,
|
|
22229
22234
|
isWorkspaceControlPanelVisible: W.default.bool.isRequired,
|
|
22230
|
-
lang: W.default.string
|
|
22235
|
+
lang: W.default.string,
|
|
22236
|
+
site: W.default.bool
|
|
22231
22237
|
};
|
|
22232
22238
|
//#endregion
|
|
22233
22239
|
//#region src/containers/WorkspaceArea.js
|
|
@@ -22235,9 +22241,10 @@ var WL = /* @__PURE__ */ d({ default: () => GL }), GL = n(w((e) => ({
|
|
|
22235
22241
|
controlPanelVariant: _(e).isWorkspaceAddVisible || x(e).length > 0 ? void 0 : "wide",
|
|
22236
22242
|
isWorkspaceAddVisible: _(e).isWorkspaceAddVisible,
|
|
22237
22243
|
isWorkspaceControlPanelVisible: et(e).workspaceControlPanel.enabled,
|
|
22238
|
-
lang: et(e).language
|
|
22244
|
+
lang: et(e).language,
|
|
22245
|
+
site: et(e).maps?.site === !0
|
|
22239
22246
|
})), m("WorkspaceArea"))(UL);
|
|
22240
22247
|
//#endregion
|
|
22241
|
-
export { dI as $, Rl as $n,
|
|
22248
|
+
export { dI as $, Rl as $n, ta as $r, rP as $t, rL as A, Kf as An, qa as Ar, XP as At, zI as B, cf as Bn, ua as Br, TP as Bt, dL as C, Ai as Ci, kb as Cn, ws as Cr, bF as Ct, sL as D, Ti as Di, Xf as Dn, Za as Dr, iF as Dt, cL as E, Ci as Ei, Zf as En, Qa as Er, aF as Et, qI as F, Af as Fn, ga as Fr, BP as Ft, EI as G, q as Gn, oa as Gr, gP as Gt, jI as H, af as Hn, la as Hr, xP as Ht, KI as I, Df as In, ma as Ir, zP as It, xI as J, Kl as Jn, sa as Jr, lP as Jt, TI as K, Xl as Kn, ia as Kr, hP as Kt, WI as L, Ef as Ln, da as Lr, PP as Lt, eL as M, Vf as Mn, Ga as Mr, JP as Mt, $I as N, Mf as Nn, _a as Nr, qP as Nt, aL as O, bi as Oi, Yf as On, Ya as Or, tF as Ot, XI as P, jf as Pn, va as Pr, VP as Pt, pI as Q, zl as Qn, $i as Qr, iP as Qt, VI as R, vf as Rn, fa as Rr, AP as Rt, fL as S, Di as Si, Ab as Sn, Ts as Sr, xF as St, lL as T, wi as Ti, Db as Tn, xs as Tr, uF as Tt, kI as U, rf as Un, na as Ur, bP as Ut, NI as V, sf as Vn, ha as Vr, SP as Vt, OI as W, Cu as Wn, aa as Wr, yP as Wt, hI as X, Wl as Xn, Qi as Xr, oP as Xt, gI as Y, Gl as Yn, ra as Yr, sP as Yt, mI as Z, Ul as Zn, ea as Zr, aP as Zt, CL as _, Fi as _i, Lb as _n, gl as _r, OF as _t, zL as a, Ki as ai, JN as an, Al as ar, tI as at, bL as b, Oi as bi, Mb as bn, ks as br, wF as bt, IL as c, Hi as ci, VN as cn, El as cr, QF as ct, kL as d, Vi as di, zw as dn, Cl as dr, KF as dt, Xi as ei, nP as en, Ll as er, uI as et, OL as f, zi as fi, Rw as fn, Sl as fr, GF as ft, wL as g, Li as gi, Rb as gn, _l as gr, MF as gt, TL as h, Ni as hi, PS as hn, vl as hr, NF as ht, BL as i, Gi as ii, YN as in, jl as ir, rI as it, tL as j, Gf as jn, Ka as jr, YP as jt, iL as k, fi as ki, Jf as kn, Ja as kr, eF as kt, jL as l, Ui as li, BN as ln, Tl as lr, YF as lt, EL as m, Mi as mi, UC as mn, yl as mr, PF as mt, WL as n, Zi as ni, $N as nn, Pl as nr, oI as nt, RL as o, Ji as oi, GN as on, kl as or, eI as ot, DL as p, Bi as pi, Lw as pn, xl as pr, FF as pt, SI as q, Yl as qn, ca as qr, uP as qt, UL as r, qi as ri, QN as rn, Nl as rr, aI as rt, LL as s, Wi as si, WN as sn, Ol as sr, $F as st, GL as t, Yi as ti, tP as tn, Il as tr, cI as tt, AL as u, Ri as ui, Bw as un, wl as ur, JF as ut, SL as v, Ii as vi, Ib as vn, hl as vr, DF as vt, uL as w, Ei as wi, Ob as wn, Ss as wr, dF as wt, pL as x, ki as xi, jb as xn, Os as xr, CF as xt, xL as y, Pi as yi, Fb as yn, As as yr, EF as yt, BI as z, _f as zn, pa as zr, EP as zt };
|
|
22242
22249
|
|
|
22243
|
-
//# sourceMappingURL=WorkspaceArea-
|
|
22250
|
+
//# sourceMappingURL=WorkspaceArea-CjoBaSS5.js.map
|