vitessce 3.6.1 → 3.6.3
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/{index-CGb9JHk9.js → ReactNeuroglancer-B0q2YP8m.js} +2779 -2798
- package/dist/{deflate-JIgkfrJp.js → deflate-D5MLQFDE.js} +1 -1
- package/dist/{higlass-DtQYm-cf.js → higlass-Ddk-cyab.js} +1 -1
- package/dist/{index-axVzbAYY.js → index-BWcqRX7W.js} +2 -2
- package/dist/{index-NeyzZ285.js → index-BxSr-R9j.js} +40 -34
- package/dist/index.min.js +1 -1
- package/dist/{jpeg-CpdHV9ON.js → jpeg-CzVQLlWw.js} +1 -1
- package/dist/{lerc-CEsOhIb6.js → lerc-kEFDTmW_.js} +1 -1
- package/dist/{lzw-CTsRA3aT.js → lzw-BhIWBl7O.js} +1 -1
- package/dist/{packbits-BvYiWUAv.js → packbits-C0Gc2iRj.js} +1 -1
- package/dist/{raw-dTBk71WO.js → raw-D_qTNHNp.js} +1 -1
- package/dist/{troika-three-text.esm-C0dD1f80.js → troika-three-text.esm-DnqgdTMC.js} +1 -1
- package/dist/{webimage-Djrqr9Ff.js → webimage-DZ_dwnNH.js} +1 -1
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import I, { createElement as oD, isValidElement as vJ, PureComponent as Sv, Component as ql } from "react";
|
|
2
2
|
import Hn, { findDOMNode as Bg } from "react-dom";
|
|
3
|
-
import { aS as Xb, g as CE, aT as aD } from "./index-
|
|
3
|
+
import { aS as Xb, g as CE, aT as aD } from "./index-BxSr-R9j.js";
|
|
4
4
|
var xy = {}, YL;
|
|
5
5
|
function yJ() {
|
|
6
6
|
return YL || (YL = 1, function(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as Qf, R as Zf, O as Wr, P as Xr, S as va, a as kl, V as qp, b as Qp, B as Zp, N as Jp, A as $p, c as V, d as ye, C as eh, W as th, e as nh, f as Ba, M as po, L as Fl, T as ya, h as rh, U as ih, i as _n, _ as Wn, j as sh, G as ar, k as $e, l as oh, m as xa, n as Jf, o as $f, E as lh, p as Mr, q as Lr, r as kc, Q as go, s as ed, t as ja, u as ah, v as ur, F as td, w as Tn, x as uh, y as ch, D as fh, I as dh, z as Ua, H as ph, J as hh, K as ki, X as mh, Y as nd, Z as gh, $ as vh, a0 as yh, a1 as vo, a2 as xh, a3 as Sa, a4 as Sh, a5 as wh, a6 as _h, a7 as Eh, a8 as Ha, a9 as rd, aa as or, ab as Th, ac as Ah, ad as Xn, ae as Ph, af as Ch, ag as Mh, ah as Lh, ai as id, aj as Rh, ak as Nh, al as sd, am as Ih, an as zh, ao as lr, ap as Oh, aq as Fc, ar as bh, as as Qr, at as Dh, au as Ye, av as Jr, aw as kh, ax as Bc, ay as wa, az as Fh, aA as Bh, aB as _a, aC as jc, aD as Ui, aE as pn, aF as jh, aG as bi, aH as od, aI as re, aJ as Uh, aK as Bt, aL as Hh, aM as Vh, aN as Gh, aO as Wh } from "./index-
|
|
1
|
+
import { g as Qf, R as Zf, O as Wr, P as Xr, S as va, a as kl, V as qp, b as Qp, B as Zp, N as Jp, A as $p, c as V, d as ye, C as eh, W as th, e as nh, f as Ba, M as po, L as Fl, T as ya, h as rh, U as ih, i as _n, _ as Wn, j as sh, G as ar, k as $e, l as oh, m as xa, n as Jf, o as $f, E as lh, p as Mr, q as Lr, r as kc, Q as go, s as ed, t as ja, u as ah, v as ur, F as td, w as Tn, x as uh, y as ch, D as fh, I as dh, z as Ua, H as ph, J as hh, K as ki, X as mh, Y as nd, Z as gh, $ as vh, a0 as yh, a1 as vo, a2 as xh, a3 as Sa, a4 as Sh, a5 as wh, a6 as _h, a7 as Eh, a8 as Ha, a9 as rd, aa as or, ab as Th, ac as Ah, ad as Xn, ae as Ph, af as Ch, ag as Mh, ah as Lh, ai as id, aj as Rh, ak as Nh, al as sd, am as Ih, an as zh, ao as lr, ap as Oh, aq as Fc, ar as bh, as as Qr, at as Dh, au as Ye, av as Jr, aw as kh, ax as Bc, ay as wa, az as Fh, aA as Bh, aB as _a, aC as jc, aD as Ui, aE as pn, aF as jh, aG as bi, aH as od, aI as re, aJ as Uh, aK as Bt, aL as Hh, aM as Vh, aN as Gh, aO as Wh } from "./index-BxSr-R9j.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import Xh, { useReducer as Kh, useRef as dt, useEffect as hn, useLayoutEffect as Yh, useDebugValue as qh, useState as mt, useMemo as Qh, forwardRef as Zh } from "react";
|
|
4
4
|
var Bl = { exports: {} }, Bn = {};
|
|
@@ -9493,7 +9493,7 @@ const vv = /* @__PURE__ */ B.forwardRef(function({
|
|
|
9493
9493
|
const {
|
|
9494
9494
|
Text: p,
|
|
9495
9495
|
preloadFont: h
|
|
9496
|
-
} = qc(async () => import("./troika-three-text.esm-
|
|
9496
|
+
} = qc(async () => import("./troika-three-text.esm-DnqgdTMC.js"), []), v = rt(({
|
|
9497
9497
|
invalidate: T
|
|
9498
9498
|
}) => T), [x] = B.useState(() => new p()), [_, A] = B.useMemo(() => {
|
|
9499
9499
|
const T = [];
|
|
@@ -1205,7 +1205,7 @@ const IPt = {
|
|
|
1205
1205
|
le.SAMPLE_HIGHLIGHT,
|
|
1206
1206
|
le.HIERARCHY_LEVELS
|
|
1207
1207
|
]
|
|
1208
|
-
}, CPt = "3.6.
|
|
1208
|
+
}, CPt = "3.6.3", fPt = {
|
|
1209
1209
|
version: CPt
|
|
1210
1210
|
}, PO = ["z", "t"], Jut = "Min/Max", pPt = {
|
|
1211
1211
|
opacity: 1,
|
|
@@ -155588,19 +155588,19 @@ async function ECr(t) {
|
|
|
155588
155588
|
const n = await e();
|
|
155589
155589
|
return new n(t);
|
|
155590
155590
|
}
|
|
155591
|
-
LS([void 0, 1], () => import("./raw-
|
|
155592
|
-
LS(5, () => import("./lzw-
|
|
155591
|
+
LS([void 0, 1], () => import("./raw-D_qTNHNp.js").then((t) => t.default));
|
|
155592
|
+
LS(5, () => import("./lzw-BhIWBl7O.js").then((t) => t.default));
|
|
155593
155593
|
LS(6, () => {
|
|
155594
155594
|
throw new Error("old style JPEG compression is not supported.");
|
|
155595
155595
|
});
|
|
155596
|
-
LS(7, () => import("./jpeg-
|
|
155597
|
-
LS([8, 32946], () => import("./deflate-
|
|
155598
|
-
LS(32773, () => import("./packbits-
|
|
155596
|
+
LS(7, () => import("./jpeg-CzVQLlWw.js").then((t) => t.default));
|
|
155597
|
+
LS([8, 32946], () => import("./deflate-D5MLQFDE.js").then((t) => t.default));
|
|
155598
|
+
LS(32773, () => import("./packbits-C0Gc2iRj.js").then((t) => t.default));
|
|
155599
155599
|
LS(
|
|
155600
155600
|
34887,
|
|
155601
|
-
() => import("./lerc-
|
|
155601
|
+
() => import("./lerc-kEFDTmW_.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
|
|
155602
155602
|
);
|
|
155603
|
-
LS(50001, () => import("./webimage-
|
|
155603
|
+
LS(50001, () => import("./webimage-DZ_dwnNH.js").then((t) => t.default));
|
|
155604
155604
|
function Tie(t, e, n, r = 1) {
|
|
155605
155605
|
return new (Object.getPrototypeOf(t)).constructor(e * n * r);
|
|
155606
155606
|
}
|
|
@@ -171917,18 +171917,20 @@ const cRr = Fi()(() => ({
|
|
|
171917
171917
|
}
|
|
171918
171918
|
})), xb = 10, Hp = 8, ent = 2, gRr = 2;
|
|
171919
171919
|
function uRr(t, e) {
|
|
171920
|
-
if (Array.isArray(t))
|
|
171921
|
-
if (
|
|
171922
|
-
|
|
171923
|
-
|
|
171924
|
-
|
|
171925
|
-
|
|
171926
|
-
|
|
171927
|
-
|
|
171928
|
-
|
|
171929
|
-
|
|
171930
|
-
|
|
171931
|
-
|
|
171920
|
+
if (Array.isArray(t))
|
|
171921
|
+
if (Array.isArray(t?.[0])) {
|
|
171922
|
+
if (e === "first")
|
|
171923
|
+
return t[0];
|
|
171924
|
+
if (e === "last")
|
|
171925
|
+
return t.at(-1);
|
|
171926
|
+
if (typeof e == "number")
|
|
171927
|
+
return t[e];
|
|
171928
|
+
if (e === "sum")
|
|
171929
|
+
return t.reduce((n, r) => [n[0] + r[0], n[1] + r[1]]);
|
|
171930
|
+
if (e === "mean")
|
|
171931
|
+
return t.reduce((n, r) => [n[0] + r[0], n[1] + r[1]]).map((n) => n / t.length);
|
|
171932
|
+
} else
|
|
171933
|
+
return t;
|
|
171932
171934
|
return null;
|
|
171933
171935
|
}
|
|
171934
171936
|
function dRr(t, e) {
|
|
@@ -172078,13 +172080,13 @@ function hRr(t) {
|
|
|
172078
172080
|
height: w
|
|
172079
172081
|
}, f) : null;
|
|
172080
172082
|
}) : null, a ? h.flatMap((f) => {
|
|
172081
|
-
const m = l[0][f], { spatialLayerVisible: p, obsColorEncoding: B, featureValueColormap: E, featureValueColormapRange: y, obsType: Q, featureType: S, featureValueType: v, featureSelection: F,
|
|
172082
|
-
return p &&
|
|
172083
|
+
const m = l[0][f], { spatialLayerVisible: p, obsColorEncoding: B, featureValueColormap: E, featureValueColormapRange: y, obsType: Q, featureType: S, featureValueType: v, featureSelection: F, featureAggregationStrategy: w, spatialLayerColor: U, legendVisible: N, obsSetSelection: x, obsSetColor: T } = m, _ = A?.[f]?.[0], H = B === "spatialLayerColor" ? 20 : 36, W = c?.[f]?.featureLabelsMap;
|
|
172084
|
+
return p && N ? O.jsx(qV, { positionRelative: !0, highContrast: !0, showObsLabel: !0, visible: p, theme: e, obsType: Q, featureType: S, featureValueType: v, obsColorEncoding: B, spatialLayerColor: U, featureSelection: F, featureAggregationStrategy: w, featureLabelsMap: W, featureValueColormap: E, featureValueColormapRange: y, extent: _, height: H, obsSetSelection: x, obsSetColor: T }, f) : null;
|
|
172083
172085
|
}) : null, n ? I.flatMap((f) => {
|
|
172084
172086
|
const m = r[0][f], p = i[f], B = o[0][f], { spatialLayerVisible: E } = m, y = [...p || []].reverse();
|
|
172085
172087
|
return B && p ? y.map((Q) => {
|
|
172086
|
-
const { spatialChannelVisible: S, spatialChannelColor: v, obsColorEncoding: F, featureValueColormap: w, featureValueColormapRange: U, obsType: N, featureType: x, featureValueType: T, featureSelection: G,
|
|
172087
|
-
return E && S &&
|
|
172088
|
+
const { spatialChannelVisible: S, spatialChannelColor: v, obsColorEncoding: F, featureValueColormap: w, featureValueColormapRange: U, obsType: N, featureType: x, featureValueType: T, featureSelection: G, featureAggregationStrategy: _, legendVisible: D, obsSetSelection: H, obsSetColor: W } = B[Q], J = s?.[f]?.[Q]?.[0], q = F === "spatialChannelColor" ? 20 : 36;
|
|
172089
|
+
return E && S && D ? O.jsx(qV, {
|
|
172088
172090
|
positionRelative: !0,
|
|
172089
172091
|
highContrast: !0,
|
|
172090
172092
|
showObsLabel: !0,
|
|
@@ -172095,14 +172097,15 @@ function hRr(t) {
|
|
|
172095
172097
|
featureValueType: T,
|
|
172096
172098
|
obsColorEncoding: F,
|
|
172097
172099
|
featureSelection: G,
|
|
172100
|
+
featureAggregationStrategy: _,
|
|
172098
172101
|
// featureLabelsMap={featureLabelsMap} // TODO
|
|
172099
172102
|
featureValueColormap: w,
|
|
172100
172103
|
featureValueColormapRange: U,
|
|
172101
|
-
extent:
|
|
172102
|
-
height:
|
|
172104
|
+
extent: J,
|
|
172105
|
+
height: q,
|
|
172103
172106
|
spatialChannelColor: v,
|
|
172104
|
-
obsSetSelection:
|
|
172105
|
-
obsSetColor:
|
|
172107
|
+
obsSetSelection: H,
|
|
172108
|
+
obsSetColor: W
|
|
172106
172109
|
}, `${f}-${Q}`) : null;
|
|
172107
172110
|
}) : null;
|
|
172108
172111
|
}) : null] });
|
|
@@ -186710,7 +186713,7 @@ class JGr extends Qn.Component {
|
|
|
186710
186713
|
}
|
|
186711
186714
|
}
|
|
186712
186715
|
const HGr = Qn.lazy(async () => {
|
|
186713
|
-
const { SpatialWrapper: t } = await import("./index-
|
|
186716
|
+
const { SpatialWrapper: t } = await import("./index-BWcqRX7W.js");
|
|
186714
186717
|
return { default: t };
|
|
186715
186718
|
}), PGr = Qn.forwardRef((t, e) => O.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: O.jsx(JGr, { children: O.jsx(Yte, { fallback: O.jsx("div", { children: "Loading..." }), children: O.jsx(HGr, { ...t }) }) }) })), irt = {
|
|
186716
186719
|
zoom: 0,
|
|
@@ -186805,6 +186808,7 @@ function YGr(t) {
|
|
|
186805
186808
|
le.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
186806
186809
|
le.OBS_COLOR_ENCODING,
|
|
186807
186810
|
le.FEATURE_SELECTION,
|
|
186811
|
+
le.FEATURE_AGGREGATION_STRATEGY,
|
|
186808
186812
|
le.FEATURE_VALUE_COLORMAP,
|
|
186809
186813
|
le.FEATURE_VALUE_COLORMAP_RANGE,
|
|
186810
186814
|
le.OBS_SET_COLOR,
|
|
@@ -186847,6 +186851,7 @@ function YGr(t) {
|
|
|
186847
186851
|
le.SPATIAL_SPOT_STROKE_WIDTH,
|
|
186848
186852
|
le.OBS_COLOR_ENCODING,
|
|
186849
186853
|
le.FEATURE_SELECTION,
|
|
186854
|
+
le.FEATURE_AGGREGATION_STRATEGY,
|
|
186850
186855
|
le.FEATURE_VALUE_COLORMAP,
|
|
186851
186856
|
le.FEATURE_VALUE_COLORMAP_RANGE,
|
|
186852
186857
|
le.OBS_SET_COLOR,
|
|
@@ -195199,7 +195204,7 @@ function rDr(t) {
|
|
|
195199
195204
|
}
|
|
195200
195205
|
lMr({ dataFetcher: Krt, config: Krt.config }, { pluginType: "dataFetcher" });
|
|
195201
195206
|
const iDr = Qn.lazy(async () => {
|
|
195202
|
-
const { HiGlassComponent: t } = await import("./higlass-
|
|
195207
|
+
const { HiGlassComponent: t } = await import("./higlass-Ddk-cyab.js");
|
|
195203
195208
|
return { default: t };
|
|
195204
195209
|
}), g4 = 800;
|
|
195205
195210
|
function JNe(t) {
|
|
@@ -198064,7 +198069,7 @@ function CDr(t) {
|
|
|
198064
198069
|
const { classes: e } = t;
|
|
198065
198070
|
return O.jsxs(O.Fragment, { children: [O.jsx(Uve, { styles: IDr }), O.jsx(oD, { styles: hDr, parentClassName: e.neuroglancerWrapper })] });
|
|
198066
198071
|
}
|
|
198067
|
-
const fDr = Qn.lazy(
|
|
198072
|
+
const fDr = Qn.lazy(() => import("./ReactNeuroglancer-B0q2YP8m.js"));
|
|
198068
198073
|
function pDr() {
|
|
198069
198074
|
return new uDr();
|
|
198070
198075
|
}
|
|
@@ -240985,7 +240990,8 @@ class n0e extends pc {
|
|
|
240985
240990
|
* @returns
|
|
240986
240991
|
*/
|
|
240987
240992
|
async loadSpatialDataAttrs(e) {
|
|
240988
|
-
|
|
240993
|
+
const n = await this.getJson(`${e}.zattrs`), r = Object.keys(n);
|
|
240994
|
+
return ["instance_key", "region", "region_key"].every((o) => r.includes(o)) ? n : await this._loadDict(`${e}uns/spatialdata_attrs`, ["instance_key", "region", "region_key"]);
|
|
240989
240995
|
}
|
|
240990
240996
|
/**
|
|
240991
240997
|
* Class method for loading the obs index.
|
|
@@ -241001,7 +241007,7 @@ class n0e extends pc {
|
|
|
241001
241007
|
// region_key: regionKey,
|
|
241002
241008
|
// region,
|
|
241003
241009
|
} = await this.loadSpatialDataAttrs(GDe(e));
|
|
241004
|
-
return i = `${n}/${o}
|
|
241010
|
+
return o != null && (i = `${n}/${o}`), i in this.obsIndices ? this.obsIndices[i] : (this.obsIndices[i] = this._loadColumn(i), this.obsIndices[i]);
|
|
241005
241011
|
}
|
|
241006
241012
|
/**
|
|
241007
241013
|
* Class method for loading the var index.
|
|
@@ -277211,7 +277217,7 @@ ZZ.createIndex = RHt;
|
|
|
277211
277217
|
ZZ.parseIndex = JQi;
|
|
277212
277218
|
ZZ.config = Ia;
|
|
277213
277219
|
ZZ.parseQuery = jQi;
|
|
277214
|
-
const yle = "https://storage.googleapis.com/vitessce-demo-data/enrichr-kg-september-2023", nFi = "https://
|
|
277220
|
+
const yle = "https://storage.googleapis.com/vitessce-demo-data/enrichr-kg-september-2023", nFi = "https://data-1.vitessce.io/genes_filtered.json";
|
|
277215
277221
|
function wHt() {
|
|
277216
277222
|
return fetch(`${yle}/Gene.nodes.csv`).then((t) => t.text()).then((t) => DP(t).map((n) => ({
|
|
277217
277223
|
kgId: n.id,
|
package/dist/index.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bT as i, bO as n, bM as s, bN as c, bX as t, bY as d, bP as r, c4 as p, c2 as l, c0 as C, c3 as b, c1 as u, bL as T, b$ as g, bQ as y, bK as S, bJ as P, bV as N, bU as I, bW as m, b_ as _, bZ as f, bS as F, c9 as V, cc as M, c6 as O, cd as x, ce as L, c7 as w, ca as A, cb as E, c8 as H, bR as U, c5 as Y } from "./index-
|
|
1
|
+
import { bT as i, bO as n, bM as s, bN as c, bX as t, bY as d, bP as r, c4 as p, c2 as l, c0 as C, c3 as b, c1 as u, bL as T, b$ as g, bQ as y, bK as S, bJ as P, bV as N, bU as I, bW as m, b_ as _, bZ as f, bS as F, c9 as V, cc as M, c6 as O, cd as x, ce as L, c7 as w, ca as A, cb as E, c8 as H, bR as U, c5 as Y } from "./index-BxSr-R9j.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
i as CoordinationLevel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as sA } from "./pako.esm-D68R8YXe.js";
|
|
2
|
-
import { g as DA, aP as nA, aQ as fA, aR as gA } from "./index-
|
|
2
|
+
import { g as DA, aP as nA, aQ as fA, aR as gA } from "./index-BxSr-R9j.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 { bD as wn, bE as Tn, bF as Fn, aB as Cn, bG as An, aw as Dn, av as En, au as Mn, aH as Rn, a9 as on, ad as vr, as as Gn, aa as On, i as pr, c as gr, k as Ln, d as Bt, aJ as Bn, aD as Wr, T as Pn, a1 as zr, bH as mr, f as In, ax as Nn, bI as Wn } from "./index-
|
|
1
|
+
import { bD as wn, bE as Tn, bF as Fn, aB as Cn, bG as An, aw as Dn, av as En, au as Mn, aH as Rn, a9 as on, ad as vr, as as Gn, aa as On, i as pr, c as gr, k as Ln, d as Bt, aJ as Bn, aD as Wr, T as Pn, a1 as zr, bH as mr, f as In, ax as Nn, bI as Wn } from "./index-BxSr-R9j.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",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vitessce/abstract": "3.6.
|
|
20
|
-
"@vitessce/all": "3.6.
|
|
21
|
-
"@vitessce/config": "3.6.
|
|
22
|
-
"@vitessce/constants": "3.6.
|
|
23
|
-
"@vitessce/export-utils": "3.6.
|
|
19
|
+
"@vitessce/abstract": "3.6.3",
|
|
20
|
+
"@vitessce/all": "3.6.3",
|
|
21
|
+
"@vitessce/config": "3.6.3",
|
|
22
|
+
"@vitessce/constants": "3.6.3",
|
|
23
|
+
"@vitessce/export-utils": "3.6.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@vitejs/plugin-react": "^4.5.0",
|