@vitessce/comparative 3.9.8 → 3.9.9
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/{OrbitControls-CB4_BqU2.js → OrbitControls-CTwuQBHm.js} +1 -1
- package/dist/{ReactNeuroglancer-CE5BWIK4.js → ReactNeuroglancer-DVTouLdy.js} +1 -1
- package/dist/{deflate-CtA97hlB.js → deflate-dpVUbWzG.js} +1 -1
- package/dist/{higlass-D2gNX31w.js → higlass-DA6D2z7x.js} +1 -1
- package/dist/{index-SC5sO708.js → index-Cl09bGJd.js} +3 -3
- package/dist/{index-Btns1g6n.js → index-CtfYbkUc.js} +2 -2
- package/dist/{index-B9IWYFLb.js → index-D10X079V.js} +34 -21
- package/dist/index.min.js +1 -1
- package/dist/{jpeg-CaNYi5CO.js → jpeg-B-udBgEy.js} +1 -1
- package/dist/{lerc-ck2zboQd.js → lerc-C__sKrTH.js} +1 -1
- package/dist/{lzw-Bb-3ohV3.js → lzw-CtJXYMNt.js} +1 -1
- package/dist/{packbits-CFMBkL5y.js → packbits-DapYEvYC.js} +1 -1
- package/dist/{raw-D3Ae4W6p.js → raw-DacX-0Ky.js} +1 -1
- package/dist/{troika-three-text.esm-CW_spfgD.js → troika-three-text.esm-CDlWralX.js} +1 -1
- package/dist/{webimage-pBpOzOWO.js → webimage-CXsNm_Gt.js} +1 -1
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as vs, aJ as gs, W as sr, K as ar, av as Qu, aK as Ao, aL as Qa, aM as Ya, aN as Va, aO as Xa, aP as Ka, e as Te, V as tt, aQ as Ga, aR as Za, aS as Ja, x as qa, r as $a, aT as Fo, a1 as ba, aE as ec, az as tc, C as nc, aj as ti, aU as rc, aV as lc, aW as xn, aX as zn, aY as Yu, Q as Vu, an as oc, ak as ic } from "./index-
|
|
1
|
+
import { aI as vs, aJ as gs, W as sr, K as ar, av as Qu, aK as Ao, aL as Qa, aM as Ya, aN as Va, aO as Xa, aP as Ka, e as Te, V as tt, aQ as Ga, aR as Za, aS as Ja, x as qa, r as $a, aT as Fo, a1 as ba, aE as ec, az as tc, C as nc, aj as ti, aU as rc, aV as lc, aW as xn, aX as zn, aY as Yu, Q as Vu, an as oc, ak as ic } from "./index-D10X079V.js";
|
|
2
2
|
import * as X from "react";
|
|
3
3
|
import uc, { useReducer as sc, useRef as Gt, useEffect as Nn, useLayoutEffect as ac, useDebugValue as cc, useState as fc, useMemo as dc } from "react";
|
|
4
4
|
var Uo = { exports: {} }, Xt = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var p_ = Object.defineProperty;
|
|
2
2
|
var g_ = (i, e, t) => e in i ? p_(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
3
|
var Qn = (i, e, t) => g_(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { aI as Qe, b2 as m_, b3 as Ot, b4 as ut, b5 as Hv, b6 as qv, b7 as Gk, b8 as jv, b9 as Nr, ba as Jv, bb as aa, bc as Ro, bd as Ao, be as Wk, bf as oa, bg as qu, bh as Or, bi as ju, bj as Ju, bk as xs, bl as v_, bm as y_, bn as S_, bo as Ku, bp as b_, bq as w_, br as Hk, bs as Yu, bt as C_, bu as x_, bv as E_, bw as k_, bx as T_, by as Kv, bz as qk, bA as L_, bB as Yv, bC as D_, bD as I_, bE as P_, bF as R_, bG as A_, bH as __, bI as M_, bJ as N_, bK as O_, bL as V_, ao as Hb } from "./index-
|
|
4
|
+
import { aI as Qe, b2 as m_, b3 as Ot, b4 as ut, b5 as Hv, b6 as qv, b7 as Gk, b8 as jv, b9 as Nr, ba as Jv, bb as aa, bc as Ro, bd as Ao, be as Wk, bf as oa, bg as qu, bh as Or, bi as ju, bj as Ju, bk as xs, bl as v_, bm as y_, bn as S_, bo as Ku, bp as b_, bq as w_, br as Hk, bs as Yu, bt as C_, bu as x_, bv as E_, bw as k_, bx as T_, by as Kv, bz as qk, bA as L_, bB as Yv, bC as D_, bD as I_, bE as P_, bF as R_, bG as A_, bH as __, bI as M_, bJ as N_, bK as O_, bL as V_, ao as Hb } from "./index-D10X079V.js";
|
|
5
5
|
import qb from "react";
|
|
6
6
|
var B_ = m_();
|
|
7
7
|
const H = /* @__PURE__ */ Qe(B_);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as iK from "react";
|
|
2
2
|
import C, { isValidElement as oK, PureComponent as c1, Component as Ps, createElement as av, createContext as aK, createRef as jC } from "react";
|
|
3
3
|
import Xo, { findDOMNode as BC } from "react-dom";
|
|
4
|
-
import { b0 as sv, aI as W0, b1 as FC } from "./index-
|
|
4
|
+
import { b0 as sv, aI as W0, b1 as FC } from "./index-D10X079V.js";
|
|
5
5
|
var pm = {}, oI;
|
|
6
6
|
function sK() {
|
|
7
7
|
return oI || (oI = 1, function(t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Ge, M as J, T as di, a as vn, b as Bs, R as Ds, L as hi, c as Xe, F as Os, d as Re, V as k, C as Ue, S as pi, P as mi, D as gi, e as L, I as xi, Q as Fs, O as Fn, f as yi, g as vi, B as _t, h as Ai, i as Us, N as _i, j as Ti, k as wi, l as Wt, m as Si, n as An, o as bi, p as Ei, q as Mi, r as Jt, s as Li, t as Un, u as zs, v as ke, w as Ci, x as js, y as Pi, z as ze, A as Ri, E as Ii, H as Ni, J as Bi, K as Di, U as Hs, W as Oi, X as Fi, Y as Ui, Z as ks, _ as zi, $ as ji, a0 as Ve, a1 as qn, a2 as Hi, a3 as Kn, a4 as ki, a5 as at, a6 as Vi, a7 as Y, a8 as ct, a9 as Gi, aa as Wn, ab as _n, ac as Xi, ad as qi, ae as Tn, af as $n, ag as bt, ah as Ee, ai as Ki, aj as St, ak as Vs, al as vt, am as Gs, an as Wi, ao as N, ap as $i, aq as ue, ar as Yi, as as Zi, at as Qi, au as Ji, av as eo } from "./index-
|
|
1
|
+
import { G as Ge, M as J, T as di, a as vn, b as Bs, R as Ds, L as hi, c as Xe, F as Os, d as Re, V as k, C as Ue, S as pi, P as mi, D as gi, e as L, I as xi, Q as Fs, O as Fn, f as yi, g as vi, B as _t, h as Ai, i as Us, N as _i, j as Ti, k as wi, l as Wt, m as Si, n as An, o as bi, p as Ei, q as Mi, r as Jt, s as Li, t as Un, u as zs, v as ke, w as Ci, x as js, y as Pi, z as ze, A as Ri, E as Ii, H as Ni, J as Bi, K as Di, U as Hs, W as Oi, X as Fi, Y as Ui, Z as ks, _ as zi, $ as ji, a0 as Ve, a1 as qn, a2 as Hi, a3 as Kn, a4 as ki, a5 as at, a6 as Vi, a7 as Y, a8 as ct, a9 as Gi, aa as Wn, ab as _n, ac as Xi, ad as qi, ae as Tn, af as $n, ag as bt, ah as Ee, ai as Ki, aj as St, ak as Vs, al as vt, am as Gs, an as Wi, ao as N, ap as $i, aq as ue, ar as Yi, as as Zi, at as Qi, au as Ji, av as eo } from "./index-D10X079V.js";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import { useRef as Fe, useEffect as qt, useState as oe, forwardRef as to } from "react";
|
|
4
|
-
import { u as Ce, a as lt, c as Xs, e as qs, b as wn, O as no, C as so } from "./OrbitControls-
|
|
4
|
+
import { u as Ce, a as lt, c as Xs, e as qs, b as wn, O as no, C as so } from "./OrbitControls-CTwuQBHm.js";
|
|
5
5
|
const io = (r) => typeof r == "object" && typeof r.then == "function", Mt = [];
|
|
6
6
|
function oo(r, e, t = (s, n) => s === n) {
|
|
7
7
|
if (r === e) return !0;
|
|
@@ -3346,7 +3346,7 @@ const Mr = /* @__PURE__ */ C.forwardRef(function({
|
|
|
3346
3346
|
const {
|
|
3347
3347
|
Text: u,
|
|
3348
3348
|
preloadFont: f
|
|
3349
|
-
} = Yn(async () => import("./troika-three-text.esm-
|
|
3349
|
+
} = Yn(async () => import("./troika-three-text.esm-CDlWralX.js"), []), d = Ce(({
|
|
3350
3350
|
invalidate: x
|
|
3351
3351
|
}) => x), [h] = C.useState(() => new u()), [y, A] = C.useMemo(() => {
|
|
3352
3352
|
const x = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aw as n, ax as we, ay as se, ar as ue, as as ze, az as _e, l as he, aA as ke, aB as Ie, m as re, aC as le, e as C, V as _, ag as Z, ae as De, aq as M, aD as Me, aE as Pe, av as Ae, W as Be, ad as Ne, z as Ue, aF as Le, aG as j, ao as N, aH as Oe, am as Fe } from "./index-
|
|
1
|
+
import { aw as n, ax as we, ay as se, ar as ue, as as ze, az as _e, l as he, aA as ke, aB as Ie, m as re, aC as le, e as C, V as _, ag as Z, ae as De, aq as M, aD as Me, aE as Pe, av as Ae, W as Be, ad as Ne, z as Ue, aF as Le, aG as j, ao as N, aH as Oe, am as Fe } from "./index-D10X079V.js";
|
|
2
2
|
import { useRef as P, useState as fe, useMemo as de, useEffect as $, Suspense as Ve } from "react";
|
|
3
|
-
import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-
|
|
3
|
+
import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-CTwuQBHm.js";
|
|
4
4
|
const S = 32, B = 64, G = 64, ce = 4, oe = B * G * ce, ge = B * S, xe = G * S, pe = ce * S, V = {
|
|
5
5
|
NOT_STARTED: "not_started",
|
|
6
6
|
IN_PROGRESS: "in_progress",
|
|
@@ -1294,7 +1294,7 @@ const eXt = {
|
|
|
1294
1294
|
re.SAMPLE_HIGHLIGHT,
|
|
1295
1295
|
re.HIERARCHY_LEVELS
|
|
1296
1296
|
]
|
|
1297
|
-
}, nXt = "3.9.
|
|
1297
|
+
}, nXt = "3.9.9", iXt = {
|
|
1298
1298
|
version: nXt
|
|
1299
1299
|
}, HY = ["z", "t"], tIt = "Min/Max", rXt = {
|
|
1300
1300
|
opacity: 1,
|
|
@@ -159677,19 +159677,19 @@ async function L0i(t) {
|
|
|
159677
159677
|
const n = await e();
|
|
159678
159678
|
return new n(t);
|
|
159679
159679
|
}
|
|
159680
|
-
_R([void 0, 1], () => import("./raw-
|
|
159681
|
-
_R(5, () => import("./lzw-
|
|
159680
|
+
_R([void 0, 1], () => import("./raw-DacX-0Ky.js").then((t) => t.default));
|
|
159681
|
+
_R(5, () => import("./lzw-CtJXYMNt.js").then((t) => t.default));
|
|
159682
159682
|
_R(6, () => {
|
|
159683
159683
|
throw new Error("old style JPEG compression is not supported.");
|
|
159684
159684
|
});
|
|
159685
|
-
_R(7, () => import("./jpeg-
|
|
159686
|
-
_R([8, 32946], () => import("./deflate-
|
|
159687
|
-
_R(32773, () => import("./packbits-
|
|
159685
|
+
_R(7, () => import("./jpeg-B-udBgEy.js").then((t) => t.default));
|
|
159686
|
+
_R([8, 32946], () => import("./deflate-dpVUbWzG.js").then((t) => t.default));
|
|
159687
|
+
_R(32773, () => import("./packbits-DapYEvYC.js").then((t) => t.default));
|
|
159688
159688
|
_R(
|
|
159689
159689
|
34887,
|
|
159690
|
-
() => import("./lerc-
|
|
159690
|
+
() => import("./lerc-C__sKrTH.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
|
|
159691
159691
|
);
|
|
159692
|
-
_R(50001, () => import("./webimage-
|
|
159692
|
+
_R(50001, () => import("./webimage-CXsNm_Gt.js").then((t) => t.default));
|
|
159693
159693
|
function Ere(t, e, n, i = 1) {
|
|
159694
159694
|
return new (Object.getPrototypeOf(t)).constructor(e * n * i);
|
|
159695
159695
|
}
|
|
@@ -188695,10 +188695,10 @@ class wNt extends pn.Component {
|
|
|
188695
188695
|
}
|
|
188696
188696
|
}
|
|
188697
188697
|
const P2i = pn.lazy(async () => {
|
|
188698
|
-
const { SpatialWrapper: t } = await import("./index-
|
|
188698
|
+
const { SpatialWrapper: t } = await import("./index-Cl09bGJd.js");
|
|
188699
188699
|
return { default: t };
|
|
188700
188700
|
}), K2i = pn.forwardRef((t, e) => T.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: T.jsx(wNt, { children: T.jsx(XX, { fallback: T.jsx("div", { children: "Loading..." }), children: T.jsx(P2i, { ...t }) }) }) })), j2i = pn.lazy(async () => {
|
|
188701
|
-
const { SpatialWrapper: t } = await import("./index-
|
|
188701
|
+
const { SpatialWrapper: t } = await import("./index-CtfYbkUc.js");
|
|
188702
188702
|
return { default: t };
|
|
188703
188703
|
}), q2i = pn.forwardRef((t, e) => T.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: T.jsx(wNt, { children: T.jsx(XX, { fallback: T.jsx("div", { children: "Loading..." }), children: T.jsx(j2i, { ...t }) }) }) })), GNt = "first";
|
|
188704
188704
|
function $2i({ multiExpressionData: t, layerScopes: e, layerCoordination: n }) {
|
|
@@ -195642,7 +195642,7 @@ function Lwi(t) {
|
|
|
195642
195642
|
}, [C, E]), z = Qn((te, le) => b(le), [b]);
|
|
195643
195643
|
Qn(() => g((te) => !te), []);
|
|
195644
195644
|
const [ne, Ue] = mn(0), { featureIndex: fe } = s || {}, he = Array.isArray(f) && f.length > 0;
|
|
195645
|
-
return T.jsxs(Kt, { className: Ie.layerControllerGrid, children: [T.jsxs(Ec, { elevation: 4, className: Ie.layerControllerRoot, children: [T.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [T.jsx(Kt, { size: 1, children: T.jsx(Cl, { onClick: Ce, className: oe.imageLayerVisibleButton, "aria-label": "Toggle layer visibility", children: T.jsx(P, {}) }) }), T.jsx(Kt, { size: 1, children: T.jsx(MG, { theme: e, color: Se, setColor: de, palette: o, isStaticColor: ae, isColormap: Re, featureValueColormap: F, visible: C }) }), T.jsx(Kt, { size: 6, children: T.jsx(Do, { className: oe.imageLayerName, children: L }) }), T.jsx(Kt, { size: 2, children: T.jsx(es, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${L}` }) }), T.jsx(Kt, { size: 1, children: T.jsx(Xwi, { featureSelection: f, obsColorEncoding: u, setObsColorEncoding: V, featureValueColormapRange: U, setFeatureValueColormapRange: W, tooltipsVisible: Q, setTooltipsVisible: D, tooltipCrosshairsVisible: S, setTooltipCrosshairsVisible: _, legendVisible: R, setLegendVisible: M, featureFilterMode: B, setFeatureFilterMode: v }) }), T.jsxs(Kt, { size: 1, container: !0, direction: "row", children: [T.jsx(VUe, { className: be.layerTypePointIcon }), null] })] }), c < 1 ? T.jsx(Kt, { size: 12, container: !0, direction: "column", justifyContent: "space-between", className: be.pointFeatureControllerGrid, children: T.jsx(Ane, { variant: c === 0 ? "indeterminate" : "determinate", value: c * 100 }) }) : null, null] }), he ? T.jsxs(T.Fragment, { children: [f.map((te) => T.jsx(Ywi, { theme: e, featureName: te, featureColor: h, setFeatureColor: Z, spatialLayerColor: m, featureIndex: fe, featureValueColormap: F, featureSelection: f, setFeatureSelection: N, obsColorEncoding: u, loadingDoneFraction: c, opacity: d, handleOpacityChange: z }, te)), T.jsx(Kt, { className: Ie.layerControllerGrid, children: T.jsx(Ec, { elevation: 2, className: Ie.layerControllerSubRow, children: T.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [T.jsx(Kt, { size: 1, children: T.jsx(Cl, { onClick: () => v(B === "featureSelection" ? null : "featureSelection"), className: oe.imageLayerVisibleButton, "aria-label": "Toggle visibility of unselected points", children: B === "featureSelection" ? T.jsx(Pw, {}) : T.jsx(zw, {}) }) }), T.jsx(Kt, { size: 1, children: T.jsx(MG, { theme: e, color: va("dark"), setColor: null, isStaticColor: !0, isColormap: !1, visible: !0 }) }), T.jsx(Kt, { size: 6, children: T.jsx(Do, { className: oe.imageLayerName, children: "Unselected" }) }), T.jsx(Kt, { size: 2, sx: { paddingRight: "12px", overflow: "visible" }, children: T.jsx(es, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": "Adjust opacity for unselected layer" }) }), T.jsx(Kt, { size: 1, children: T.jsx(VUe, { className: be.layerTypePointIcon }) })] }) }) })] }) : null] });
|
|
195645
|
+
return T.jsxs(Kt, { className: Ie.layerControllerGrid, children: [T.jsxs(Ec, { elevation: 4, className: Ie.layerControllerRoot, children: [T.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [T.jsx(Kt, { size: 1, children: T.jsx(Cl, { onClick: Ce, className: oe.imageLayerVisibleButton, "aria-label": "Toggle layer visibility", children: T.jsx(P, {}) }) }), T.jsx(Kt, { size: 1, children: T.jsx(MG, { theme: e, color: Se, setColor: de, palette: o, isStaticColor: ae, isColormap: Re, featureValueColormap: F, visible: C }) }), T.jsx(Kt, { size: 6, children: T.jsx(Do, { className: oe.imageLayerName, children: L }) }), T.jsx(Kt, { size: 2, children: T.jsx(es, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${L}` }) }), T.jsx(Kt, { size: 1, children: T.jsx(Xwi, { featureSelection: f, obsColorEncoding: u, setObsColorEncoding: V, featureValueColormapRange: U, setFeatureValueColormapRange: W, tooltipsVisible: Q, setTooltipsVisible: D, tooltipCrosshairsVisible: S, setTooltipCrosshairsVisible: _, legendVisible: R, setLegendVisible: M, featureFilterMode: B, setFeatureFilterMode: v }) }), T.jsxs(Kt, { size: 1, container: !0, direction: "row", children: [T.jsx(VUe, { className: be.layerTypePointIcon }), null] })] }), c < 1 ? T.jsx(Kt, { size: 12, container: !0, direction: "column", justifyContent: "space-between", className: be.pointFeatureControllerGrid, children: T.jsx(Ane, { variant: c === 0 ? "indeterminate" : "determinate", value: c * 100 }) }) : null, null] }), l && he ? T.jsxs(T.Fragment, { children: [f.map((te) => T.jsx(Ywi, { theme: e, featureName: te, featureColor: h, setFeatureColor: Z, spatialLayerColor: m, featureIndex: fe, featureValueColormap: F, featureSelection: f, setFeatureSelection: N, obsColorEncoding: u, loadingDoneFraction: c, opacity: d, handleOpacityChange: z }, te)), T.jsx(Kt, { className: Ie.layerControllerGrid, children: T.jsx(Ec, { elevation: 2, className: Ie.layerControllerSubRow, children: T.jsxs(Kt, { container: !0, direction: "row", justifyContent: "space-between", children: [T.jsx(Kt, { size: 1, children: T.jsx(Cl, { onClick: () => v(B === "featureSelection" ? null : "featureSelection"), className: oe.imageLayerVisibleButton, "aria-label": "Toggle visibility of unselected points", children: B === "featureSelection" ? T.jsx(Pw, {}) : T.jsx(zw, {}) }) }), T.jsx(Kt, { size: 1, children: T.jsx(MG, { theme: e, color: va("dark"), setColor: null, isStaticColor: !0, isColormap: !1, visible: !0 }) }), T.jsx(Kt, { size: 6, children: T.jsx(Do, { className: oe.imageLayerName, children: "Unselected" }) }), T.jsx(Kt, { size: 2, sx: { paddingRight: "12px", overflow: "visible" }, children: T.jsx(es, { value: d, min: 0, max: 1, step: 1e-3, onChange: z, className: oe.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": "Adjust opacity for unselected layer" }) }), T.jsx(Kt, { size: 1, children: T.jsx(VUe, { className: be.layerTypePointIcon }) })] }) }) })] }) : null] });
|
|
195646
195646
|
}
|
|
195647
195647
|
const pvt = Cr()(() => ({
|
|
195648
195648
|
layerTypeSegmentationIcon: {
|
|
@@ -197579,7 +197579,7 @@ function Zvt(t) {
|
|
|
197579
197579
|
}
|
|
197580
197580
|
SGi({ dataFetcher: ome, config: ome.config }, { pluginType: "dataFetcher" });
|
|
197581
197581
|
const fTi = pn.lazy(async () => {
|
|
197582
|
-
const { HiGlassComponent: t } = await import("./higlass-
|
|
197582
|
+
const { HiGlassComponent: t } = await import("./higlass-DA6D2z7x.js");
|
|
197583
197583
|
return { default: t };
|
|
197584
197584
|
}), KK = 800;
|
|
197585
197585
|
function UTi(t, e) {
|
|
@@ -200453,7 +200453,7 @@ function vTi(t) {
|
|
|
200453
200453
|
const { classes: e } = t;
|
|
200454
200454
|
return T.jsxs(T.Fragment, { children: [T.jsx(tEe, { styles: ZTi }), T.jsx(nD, { styles: NTi, parentClassName: e.neuroglancerWrapper })] });
|
|
200455
200455
|
}
|
|
200456
|
-
const WTi = pn.lazy(() => import("./ReactNeuroglancer-
|
|
200456
|
+
const WTi = pn.lazy(() => import("./ReactNeuroglancer-DVTouLdy.js"));
|
|
200457
200457
|
function JTi() {
|
|
200458
200458
|
const t = new ETi();
|
|
200459
200459
|
return t.AsyncComputationWorker = yTi, t;
|
|
@@ -261407,9 +261407,19 @@ class Ic extends PV {
|
|
|
261407
261407
|
const { dtype: d } = await Pa(n.resolve(`${o}/${s}`), { kind: "array" });
|
|
261408
261408
|
(d === "v2:object" || d === "|O") && (l = await this.getFlatArrDecompressed(`${o}/${s}`));
|
|
261409
261409
|
} else if (a === "categorical") {
|
|
261410
|
-
const
|
|
261411
|
-
(
|
|
261410
|
+
const u = (await this.getJson(`${i}/categories/.zattrs`))?.["encoding-type"];
|
|
261411
|
+
if (u === "nullable-string-array")
|
|
261412
|
+
l = await this.getFlatArrDecompressed(`${i}/categories/values`);
|
|
261413
|
+
else if (u === "string-array")
|
|
261414
|
+
l = await this.getFlatArrDecompressed(`${i}/categories`);
|
|
261415
|
+
else {
|
|
261416
|
+
const { dtype: h } = await Pa(n.resolve(`${i}/categories`), { kind: "array" });
|
|
261417
|
+
(h === "v2:object" || h === "|O") && (l = await this.getFlatArrDecompressed(`${i}/categories`));
|
|
261418
|
+
}
|
|
261419
|
+
A = `${i}/codes`;
|
|
261412
261420
|
} else {
|
|
261421
|
+
if (a === "nullable-string-array")
|
|
261422
|
+
return this.getFlatArrDecompressed(`${i}/values`);
|
|
261413
261423
|
if (a === "string-array")
|
|
261414
261424
|
return this.getFlatArrDecompressed(i);
|
|
261415
261425
|
{
|
|
@@ -263241,7 +263251,8 @@ class qBr extends Ga {
|
|
|
263241
263251
|
if (this.locations)
|
|
263242
263252
|
return this.locations;
|
|
263243
263253
|
let n;
|
|
263244
|
-
|
|
263254
|
+
const i = await this.dataSource.getPointsFormatVersion(e);
|
|
263255
|
+
if (i === "0.1" || i === "0.2")
|
|
263245
263256
|
n = await this.dataSource.loadPoints(e);
|
|
263246
263257
|
else
|
|
263247
263258
|
throw new Xce("Only points format version 0.1 is supported.");
|
|
@@ -263256,7 +263267,8 @@ class qBr extends Ga {
|
|
|
263256
263267
|
if (this.locationsFeatureIndex)
|
|
263257
263268
|
return this.locationsFeatureIndex;
|
|
263258
263269
|
let n;
|
|
263259
|
-
|
|
263270
|
+
const i = await this.dataSource.getPointsFormatVersion(e);
|
|
263271
|
+
if (i === "0.1" || i === "0.2")
|
|
263260
263272
|
n = await this.dataSource.loadPointsFeatureIds(e);
|
|
263261
263273
|
else
|
|
263262
263274
|
throw new Xce("Only points format version 0.1 is supported.");
|
|
@@ -263265,7 +263277,8 @@ class qBr extends Ga {
|
|
|
263265
263277
|
async loadPointsInRect(e, n) {
|
|
263266
263278
|
const { path: i, featureIndexColumn: r, mortonCodeColumn: o } = this.options;
|
|
263267
263279
|
let s;
|
|
263268
|
-
|
|
263280
|
+
const a = await this.dataSource.getPointsFormatVersion(i);
|
|
263281
|
+
if (a === "0.1" || a === "0.2")
|
|
263269
263282
|
s = await this.dataSource.loadPointsInRect(i, e, n, r, o);
|
|
263270
263283
|
else
|
|
263271
263284
|
throw new Xce("Only points format version 0.1 is supported.");
|
|
@@ -263285,7 +263298,7 @@ class qBr extends Ga {
|
|
|
263285
263298
|
// Check the size of parquet row groups,
|
|
263286
263299
|
// and for the presence of morton_code_2d and feature_index columns.
|
|
263287
263300
|
this.dataSource.supportsLoadPointsInRect(e, a, i)
|
|
263288
|
-
]), g = l === "0.1", c = r?.bounding_box, I = typeof c?.x_max == "number" && typeof c?.x_min == "number" && typeof c?.y_max == "number" && typeof c?.y_min == "number";
|
|
263301
|
+
]), g = l === "0.1" || l === "0.2", c = r?.bounding_box, I = typeof c?.x_max == "number" && typeof c?.x_min == "number" && typeof c?.y_max == "number" && typeof c?.y_min == "number";
|
|
263289
263302
|
return g && I && A;
|
|
263290
263303
|
}
|
|
263291
263304
|
async load() {
|
|
@@ -270729,7 +270742,7 @@ async function DUr({ queryClient: t, store: e }, n, i = void 0) {
|
|
|
270729
270742
|
suffixLength: a
|
|
270730
270743
|
})), !A || A.length < a)
|
|
270731
270744
|
throw new Error(`Failed to load parquet footerLength for ${l}`);
|
|
270732
|
-
const g = new DataView(A.buffer).getInt32(0, !0);
|
|
270745
|
+
const g = new DataView(A.buffer, A.byteOffset, A.byteLength).getInt32(0, !0);
|
|
270733
270746
|
if (new TextDecoder().decode(A.slice(4, 8)) !== "PAR1")
|
|
270734
270747
|
throw new Error("Invalid Parquet file: missing PAR1 magic number");
|
|
270735
270748
|
const I = await s(`/${l}`, {
|
|
@@ -276082,7 +276095,7 @@ class Upr extends h1 {
|
|
|
276082
276095
|
*/
|
|
276083
276096
|
async getPointsFormatVersion(e) {
|
|
276084
276097
|
const n = await this.loadSpatialDataElementAttrs(e), i = n.spatialdata_attrs.version;
|
|
276085
|
-
if (n["encoding-type"] === "ngff:points" && i
|
|
276098
|
+
if (n["encoding-type"] === "ngff:points" && !(i === "0.1" || i === "0.2"))
|
|
276086
276099
|
throw new Error(`Unexpected version for points spatialdata_attrs: ${i}`);
|
|
276087
276100
|
return i;
|
|
276088
276101
|
}
|
package/dist/index.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cq as s, b$ as i, bW as n, bU as c, bV as t, c3 as r, c4 as l, bX as p, cf as d, cd as C, cb as u, ce as g, cc as T, cr as S, bT as y, ca as b, bY as m, bS as P, bR as f, c1 as I, c7 as N, c0 as F, c2 as _, c6 as U, c5 as V, b_ as v, c8 as x, c9 as A, ck as M, cn as O, ch as w, co as E, cp as H, ci as L, cl as Y, cm as h, cj as z, bZ as G, cg as R } from "./index-
|
|
1
|
+
import { cq as s, b$ as i, bW as n, bU as c, bV as t, c3 as r, c4 as l, bX as p, cf as d, cd as C, cb as u, ce as g, cc as T, cr as S, bT as y, ca as b, bY as m, bS as P, bR as f, c1 as I, c7 as N, c0 as F, c2 as _, c6 as U, c5 as V, b_ as v, c8 as x, c9 as A, ck as M, cn as O, ch as w, co as E, cp as H, ci as L, cl as Y, cm as h, cj as z, bZ as G, cg as R } from "./index-D10X079V.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ControlledComparative,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as sA } from "./pako.esm-D68R8YXe.js";
|
|
2
|
-
import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-
|
|
2
|
+
import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-D10X079V.js";
|
|
3
3
|
var BA = { exports: {} }, iA;
|
|
4
4
|
function tA() {
|
|
5
5
|
return iA || (iA = 1, function(j) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bM as wn, bN as Tn, bO as Fn, ae as Cn, bP as An, a9 as Dn, a8 as En, a7 as Mn, am as Rn, u as on, z as vr, a5 as Gn, v as On, C as pr, e as gr, M as Ln, V as Bt, ap as Bn, ag as Wr, a1 as Pn, l as zr, aF as mr, x as In, aa as Nn, bQ as Wn } from "./index-
|
|
1
|
+
import { bM as wn, bN as Tn, bO as Fn, ae as Cn, bP as An, a9 as Dn, a8 as En, a7 as Mn, am as Rn, u as on, z as vr, a5 as Gn, v as On, C as pr, e as gr, M as Ln, V as Bt, ap as Bn, ag as Wr, a1 as Pn, l as zr, aF as mr, x as In, aa as Nn, bQ as Wn } from "./index-D10X079V.js";
|
|
2
2
|
function zn() {
|
|
3
3
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
function r(t, e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/comparative",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.9",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"react-sticky-el": "^2.1.1",
|
|
23
23
|
"react-window": "^1.8.10",
|
|
24
24
|
"nuqs": "^2.6.0",
|
|
25
|
-
"@vitessce/abstract": "3.9.
|
|
26
|
-
"@vitessce/error": "3.9.
|
|
27
|
-
"@vitessce/all": "3.9.
|
|
28
|
-
"@vitessce/config": "3.9.
|
|
29
|
-
"@vitessce/constants": "3.9.
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/
|
|
32
|
-
"@vitessce/constants
|
|
33
|
-
"@vitessce/zarr": "3.9.
|
|
34
|
-
"@vitessce/styles": "3.9.
|
|
25
|
+
"@vitessce/abstract": "3.9.9",
|
|
26
|
+
"@vitessce/error": "3.9.9",
|
|
27
|
+
"@vitessce/all": "3.9.9",
|
|
28
|
+
"@vitessce/config": "3.9.9",
|
|
29
|
+
"@vitessce/constants-internal": "3.9.9",
|
|
30
|
+
"@vitessce/vit-s": "3.9.9",
|
|
31
|
+
"@vitessce/export-utils": "3.9.9",
|
|
32
|
+
"@vitessce/constants": "3.9.9",
|
|
33
|
+
"@vitessce/zarr": "3.9.9",
|
|
34
|
+
"@vitessce/styles": "3.9.9"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@vitejs/plugin-react": "^4.5.0",
|