@vitessce/all 3.6.2 → 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/{ReactNeuroglancer-CeoyM_6M.js → ReactNeuroglancer-CKMORRgM.js} +1 -1
- package/dist/{deflate-DTO-rr8G.js → deflate-B7HotUQS.js} +1 -1
- package/dist/{higlass-BDwTvH9n.js → higlass-C-jSScTq.js} +1 -1
- package/dist/{index-BLLQzyXB.js → index-C5TlHik4.js} +2 -2
- package/dist/{index-Dysf8251.js → index-CbSllawi.js} +46 -31
- package/dist/index.js +1 -1
- package/dist/{jpeg-C2g1td_K.js → jpeg-DJyIIvO7.js} +1 -1
- package/dist/{lerc-DiBZtw18.js → lerc-B0cTVDdb.js} +1 -1
- package/dist/{lzw-DmDsHkC2.js → lzw-BWwSMLET.js} +1 -1
- package/dist/{packbits-B_GD-k-S.js → packbits-CpM-jL5s.js} +1 -1
- package/dist/{raw-C8Sljmcb.js → raw-BnKrggy7.js} +1 -1
- package/dist/{troika-three-text.esm-Brh3NnXI.js → troika-three-text.esm-C71wQV-C.js} +1 -1
- package/dist/{webimage-CbHUHFQy.js → webimage-DkWfOrrK.js} +1 -1
- package/package.json +31 -31
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-
|
1
|
+
import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-CbSllawi.js";
|
2
2
|
import React__default from "react";
|
3
3
|
var lib = {};
|
4
4
|
var assignExports = requireAssign();
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
2
|
-
import { aP as BaseDecoder } from "./index-
|
2
|
+
import { aP as BaseDecoder } from "./index-CbSllawi.js";
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
4
4
|
decodeBlock(buffer) {
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React__default, { createElement, isValidElement, PureComponent, Component } from "react";
|
2
2
|
import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
|
3
|
-
import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-
|
3
|
+
import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-CbSllawi.js";
|
4
4
|
var promise = {};
|
5
5
|
var hasRequiredPromise;
|
6
6
|
function requirePromise() {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-
|
1
|
+
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-CbSllawi.js";
|
2
2
|
import * as React from "react";
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo, forwardRef } from "react";
|
4
4
|
var constants = { exports: {} };
|
@@ -23637,7 +23637,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
23637
23637
|
const {
|
23638
23638
|
Text: TextMeshImpl,
|
23639
23639
|
preloadFont
|
23640
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
23640
|
+
} = suspend(async () => import("./troika-three-text.esm-C71wQV-C.js"), []);
|
23641
23641
|
const invalidate2 = useThree(({
|
23642
23642
|
invalidate: invalidate3
|
23643
23643
|
}) => invalidate3);
|
@@ -209284,22 +209284,22 @@ async function getDecoder(fileDirectory) {
|
|
209284
209284
|
const Decoder = await importFn();
|
209285
209285
|
return new Decoder(fileDirectory);
|
209286
209286
|
}
|
209287
|
-
addDecoder([void 0, 1], () => import("./raw-
|
209288
|
-
addDecoder(5, () => import("./lzw-
|
209287
|
+
addDecoder([void 0, 1], () => import("./raw-BnKrggy7.js").then((m2) => m2.default));
|
209288
|
+
addDecoder(5, () => import("./lzw-BWwSMLET.js").then((m2) => m2.default));
|
209289
209289
|
addDecoder(6, () => {
|
209290
209290
|
throw new Error("old style JPEG compression is not supported.");
|
209291
209291
|
});
|
209292
|
-
addDecoder(7, () => import("./jpeg-
|
209293
|
-
addDecoder([8, 32946], () => import("./deflate-
|
209294
|
-
addDecoder(32773, () => import("./packbits-
|
209292
|
+
addDecoder(7, () => import("./jpeg-DJyIIvO7.js").then((m2) => m2.default));
|
209293
|
+
addDecoder([8, 32946], () => import("./deflate-B7HotUQS.js").then((m2) => m2.default));
|
209294
|
+
addDecoder(32773, () => import("./packbits-CpM-jL5s.js").then((m2) => m2.default));
|
209295
209295
|
addDecoder(
|
209296
209296
|
34887,
|
209297
|
-
() => import("./lerc-
|
209297
|
+
() => import("./lerc-B0cTVDdb.js").then(async (m2) => {
|
209298
209298
|
await m2.zstd.init();
|
209299
209299
|
return m2;
|
209300
209300
|
}).then((m2) => m2.default)
|
209301
209301
|
);
|
209302
|
-
addDecoder(50001, () => import("./webimage-
|
209302
|
+
addDecoder(50001, () => import("./webimage-DkWfOrrK.js").then((m2) => m2.default));
|
209303
209303
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
209304
209304
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
209305
209305
|
}
|
@@ -232185,21 +232185,25 @@ const rectMarginY = 2;
|
|
232185
232185
|
const rectMarginX = 2;
|
232186
232186
|
function combineExtents(extents, featureAggregationStrategy) {
|
232187
232187
|
if (Array.isArray(extents)) {
|
232188
|
-
if (
|
232189
|
-
|
232190
|
-
|
232191
|
-
|
232192
|
-
|
232193
|
-
|
232194
|
-
|
232195
|
-
|
232196
|
-
|
232197
|
-
|
232198
|
-
|
232199
|
-
|
232200
|
-
|
232201
|
-
|
232202
|
-
|
232188
|
+
if (Array.isArray(extents == null ? void 0 : extents[0])) {
|
232189
|
+
if (featureAggregationStrategy === "first") {
|
232190
|
+
return extents[0];
|
232191
|
+
}
|
232192
|
+
if (featureAggregationStrategy === "last") {
|
232193
|
+
return extents.at(-1);
|
232194
|
+
}
|
232195
|
+
if (typeof featureAggregationStrategy === "number") {
|
232196
|
+
const i2 = featureAggregationStrategy;
|
232197
|
+
return extents[i2];
|
232198
|
+
}
|
232199
|
+
if (featureAggregationStrategy === "sum") {
|
232200
|
+
return extents.reduce((a2, h2) => [a2[0] + h2[0], a2[1] + h2[1]]);
|
232201
|
+
}
|
232202
|
+
if (featureAggregationStrategy === "mean") {
|
232203
|
+
return extents.reduce((a2, h2) => [a2[0] + h2[0], a2[1] + h2[1]]).map((v) => v / extents.length);
|
232204
|
+
}
|
232205
|
+
} else {
|
232206
|
+
return extents;
|
232203
232207
|
}
|
232204
232208
|
}
|
232205
232209
|
return null;
|
@@ -232425,13 +232429,13 @@ function MultiLegend(props) {
|
|
232425
232429
|
}) : null, spotLayerScopes ? reversedSpotLayerScopes.flatMap((layerScope) => {
|
232426
232430
|
var _a3;
|
232427
232431
|
const layerCoordination = spotLayerCoordination[0][layerScope];
|
232428
|
-
const { spatialLayerVisible, obsColorEncoding, featureValueColormap, featureValueColormapRange, obsType, featureType, featureValueType, featureSelection, spatialLayerColor, legendVisible, obsSetSelection, obsSetColor } = layerCoordination;
|
232432
|
+
const { spatialLayerVisible, obsColorEncoding, featureValueColormap, featureValueColormapRange, obsType, featureType, featureValueType, featureSelection, featureAggregationStrategy, spatialLayerColor, legendVisible, obsSetSelection, obsSetColor } = layerCoordination;
|
232429
232433
|
const expressionExtents = spotMultiExpressionExtents == null ? void 0 : spotMultiExpressionExtents[layerScope];
|
232430
232434
|
const firstExpressionExtent = expressionExtents == null ? void 0 : expressionExtents[0];
|
232431
232435
|
const isStaticColor = obsColorEncoding === "spatialLayerColor";
|
232432
232436
|
const height2 = isStaticColor ? 20 : 36;
|
232433
232437
|
const featureLabelsMap = (_a3 = spotMultiFeatureLabels == null ? void 0 : spotMultiFeatureLabels[layerScope]) == null ? void 0 : _a3.featureLabelsMap;
|
232434
|
-
return spatialLayerVisible && legendVisible ? jsxRuntimeExports.jsx(Legend, { positionRelative: true, highContrast: true, showObsLabel: true, visible: spatialLayerVisible, theme, obsType, featureType, featureValueType, obsColorEncoding, spatialLayerColor, featureSelection, featureLabelsMap, featureValueColormap, featureValueColormapRange, extent: firstExpressionExtent, height: height2, obsSetSelection, obsSetColor }, layerScope) : null;
|
232438
|
+
return spatialLayerVisible && legendVisible ? jsxRuntimeExports.jsx(Legend, { positionRelative: true, highContrast: true, showObsLabel: true, visible: spatialLayerVisible, theme, obsType, featureType, featureValueType, obsColorEncoding, spatialLayerColor, featureSelection, featureAggregationStrategy, featureLabelsMap, featureValueColormap, featureValueColormapRange, extent: firstExpressionExtent, height: height2, obsSetSelection, obsSetColor }, layerScope) : null;
|
232435
232439
|
}) : null, segmentationLayerScopes ? reversedSegmentationLayerScopes.flatMap((layerScope) => {
|
232436
232440
|
const layerCoordination = segmentationLayerCoordination[0][layerScope];
|
232437
232441
|
const channelScopes = segmentationChannelScopesByLayer[layerScope];
|
@@ -232440,7 +232444,7 @@ function MultiLegend(props) {
|
|
232440
232444
|
const reversedChannelScopes = [...channelScopes || []].reverse();
|
232441
232445
|
return channelCoordination && channelScopes ? reversedChannelScopes.map((cScope) => {
|
232442
232446
|
var _a3;
|
232443
|
-
const { spatialChannelVisible, spatialChannelColor, obsColorEncoding, featureValueColormap, featureValueColormapRange, obsType, featureType, featureValueType, featureSelection, legendVisible, obsSetSelection, obsSetColor } = channelCoordination[cScope];
|
232447
|
+
const { spatialChannelVisible, spatialChannelColor, obsColorEncoding, featureValueColormap, featureValueColormapRange, obsType, featureType, featureValueType, featureSelection, featureAggregationStrategy, legendVisible, obsSetSelection, obsSetColor } = channelCoordination[cScope];
|
232444
232448
|
const expressionExtents = (_a3 = segmentationMultiExpressionExtents == null ? void 0 : segmentationMultiExpressionExtents[layerScope]) == null ? void 0 : _a3[cScope];
|
232445
232449
|
const firstExpressionExtent = expressionExtents == null ? void 0 : expressionExtents[0];
|
232446
232450
|
const isStaticColor = obsColorEncoding === "spatialChannelColor";
|
@@ -232456,6 +232460,7 @@ function MultiLegend(props) {
|
|
232456
232460
|
featureValueType,
|
232457
232461
|
obsColorEncoding,
|
232458
232462
|
featureSelection,
|
232463
|
+
featureAggregationStrategy,
|
232459
232464
|
// featureLabelsMap={featureLabelsMap} // TODO
|
232460
232465
|
featureValueColormap,
|
232461
232466
|
featureValueColormapRange,
|
@@ -253698,7 +253703,7 @@ class ErrorBoundary extends React__default.Component {
|
|
253698
253703
|
}
|
253699
253704
|
}
|
253700
253705
|
const LazySpatialThree = React__default.lazy(async () => {
|
253701
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
253706
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-C5TlHik4.js");
|
253702
253707
|
return { default: SpatialWrapper2 };
|
253703
253708
|
});
|
253704
253709
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
|
@@ -253828,6 +253833,7 @@ function SpatialSubscriber(props) {
|
|
253828
253833
|
CoordinationType$1.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
253829
253834
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
253830
253835
|
CoordinationType$1.FEATURE_SELECTION,
|
253836
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
253831
253837
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
253832
253838
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
253833
253839
|
CoordinationType$1.OBS_SET_COLOR,
|
@@ -253873,6 +253879,7 @@ function SpatialSubscriber(props) {
|
|
253873
253879
|
CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
|
253874
253880
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
253875
253881
|
CoordinationType$1.FEATURE_SELECTION,
|
253882
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
253876
253883
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
253877
253884
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
253878
253885
|
CoordinationType$1.OBS_SET_COLOR,
|
@@ -266864,7 +266871,7 @@ function HiglassGlobalStyles(props) {
|
|
266864
266871
|
}
|
266865
266872
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
266866
266873
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
266867
|
-
const { HiGlassComponent } = await import("./higlass-
|
266874
|
+
const { HiGlassComponent } = await import("./higlass-C-jSScTq.js");
|
266868
266875
|
return { default: HiGlassComponent };
|
266869
266876
|
});
|
266870
266877
|
const HG_SIZE = 800;
|
@@ -269801,7 +269808,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
269801
269808
|
const { classes: classes2 } = props;
|
269802
269809
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
269803
269810
|
}
|
269804
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
269811
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-CKMORRgM.js"));
|
269805
269812
|
function createWorker() {
|
269806
269813
|
return new WorkerFactory();
|
269807
269814
|
}
|
@@ -330127,7 +330134,13 @@ class SpatialDataTableSource extends AnnDataSource {
|
|
330127
330134
|
* @returns
|
330128
330135
|
*/
|
330129
330136
|
async loadSpatialDataAttrs(tablePath) {
|
330130
|
-
|
330137
|
+
const v0_4_0_attrs = await this.getJson(`${tablePath}.zattrs`);
|
330138
|
+
const attrsKeys = Object.keys(v0_4_0_attrs);
|
330139
|
+
if (["instance_key", "region", "region_key"].every((k) => attrsKeys.includes(k))) {
|
330140
|
+
return v0_4_0_attrs;
|
330141
|
+
}
|
330142
|
+
const pre_v0_4_0_attrs = await this._loadDict(`${tablePath}uns/spatialdata_attrs`, ["instance_key", "region", "region_key"]);
|
330143
|
+
return pre_v0_4_0_attrs;
|
330131
330144
|
}
|
330132
330145
|
/**
|
330133
330146
|
* Class method for loading the obs index.
|
@@ -330144,7 +330157,9 @@ class SpatialDataTableSource extends AnnDataSource {
|
|
330144
330157
|
// region_key: regionKey,
|
330145
330158
|
// region,
|
330146
330159
|
} = await this.loadSpatialDataAttrs(getTablePrefix(path2));
|
330147
|
-
|
330160
|
+
if (instanceKey !== void 0 && instanceKey !== null) {
|
330161
|
+
indexPath = `${obsPath}/${instanceKey}`;
|
330162
|
+
}
|
330148
330163
|
if (indexPath in this.obsIndices) {
|
330149
330164
|
return this.obsIndices[indexPath];
|
330150
330165
|
}
|
@@ -380194,7 +380209,7 @@ Fuse.config = Config;
|
|
380194
380209
|
Fuse.parseQuery = parse;
|
380195
380210
|
}
|
380196
380211
|
const KG_BASE_URL = "https://storage.googleapis.com/vitessce-demo-data/enrichr-kg-september-2023";
|
380197
|
-
const ENSG_TO_GENE_SYMBOL_URL = "https://
|
380212
|
+
const ENSG_TO_GENE_SYMBOL_URL = "https://data-1.vitessce.io/genes_filtered.json";
|
380198
380213
|
function loadGeneNodes() {
|
380199
380214
|
return fetch(`${KG_BASE_URL}/Gene.nodes.csv`).then((res) => res.text()).then((res) => {
|
380200
380215
|
const result = csvParse(res);
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { bL, bJ, bH, bK, bI, bG, bM } from "./index-
|
1
|
+
import { bL, bJ, bH, bK, bI, bG, bM } from "./index-CbSllawi.js";
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
3
3
|
export {
|
4
4
|
bL as PluginAsyncFunction,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
2
|
-
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-
|
2
|
+
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-CbSllawi.js";
|
3
3
|
var LercDecode = { exports: {} };
|
4
4
|
var hasRequiredLercDecode;
|
5
5
|
function requireLercDecode() {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-
|
1
|
+
import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-CbSllawi.js";
|
2
2
|
function workerBootstrap() {
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
4
4
|
function registerModule(ref, callback) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
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": {
|
@@ -17,36 +17,36 @@
|
|
17
17
|
],
|
18
18
|
"dependencies": {
|
19
19
|
"zod": "^3.21.4",
|
20
|
-
"@vitessce/styles": "3.6.
|
21
|
-
"@vitessce/constants-internal": "3.6.
|
22
|
-
"@vitessce/abstract": "3.6.
|
23
|
-
"@vitessce/csv": "3.6.
|
24
|
-
"@vitessce/description": "3.6.
|
25
|
-
"@vitessce/feature-list": "3.6.
|
26
|
-
"@vitessce/genomic-profiles": "3.6.
|
27
|
-
"@vitessce/heatmap": "3.6.
|
28
|
-
"@vitessce/glb": "3.6.
|
29
|
-
"@vitessce/json": "3.6.
|
30
|
-
"@vitessce/layer-controller": "3.6.
|
31
|
-
"@vitessce/layer-controller-beta": "3.6.
|
32
|
-
"@vitessce/link-controller": "3.6.
|
33
|
-
"@vitessce/obs-sets-manager": "3.6.
|
34
|
-
"@vitessce/ome-tiff": "3.6.
|
35
|
-
"@vitessce/plugins": "3.6.
|
36
|
-
"@vitessce/scatterplot-embedding": "3.6.
|
37
|
-
"@vitessce/scatterplot-gating": "3.6.
|
38
|
-
"@vitessce/schemas": "3.6.
|
39
|
-
"@vitessce/spatial": "3.6.
|
40
|
-
"@vitessce/spatial-beta": "3.6.
|
41
|
-
"@vitessce/statistical-plots": "3.6.
|
42
|
-
"@vitessce/status": "3.6.
|
43
|
-
"@vitessce/vit-s": "3.6.
|
44
|
-
"@vitessce/zarr": "3.6.
|
45
|
-
"@vitessce/globals": "3.6.
|
46
|
-
"@vitessce/spatial-zarr": "3.6.
|
47
|
-
"@vitessce/spatial-three": "3.6.
|
48
|
-
"@vitessce/biomarker-select": "3.6.
|
49
|
-
"@vitessce/neuroglancer": "3.6.
|
20
|
+
"@vitessce/styles": "3.6.3",
|
21
|
+
"@vitessce/constants-internal": "3.6.3",
|
22
|
+
"@vitessce/abstract": "3.6.3",
|
23
|
+
"@vitessce/csv": "3.6.3",
|
24
|
+
"@vitessce/description": "3.6.3",
|
25
|
+
"@vitessce/feature-list": "3.6.3",
|
26
|
+
"@vitessce/genomic-profiles": "3.6.3",
|
27
|
+
"@vitessce/heatmap": "3.6.3",
|
28
|
+
"@vitessce/glb": "3.6.3",
|
29
|
+
"@vitessce/json": "3.6.3",
|
30
|
+
"@vitessce/layer-controller": "3.6.3",
|
31
|
+
"@vitessce/layer-controller-beta": "3.6.3",
|
32
|
+
"@vitessce/link-controller": "3.6.3",
|
33
|
+
"@vitessce/obs-sets-manager": "3.6.3",
|
34
|
+
"@vitessce/ome-tiff": "3.6.3",
|
35
|
+
"@vitessce/plugins": "3.6.3",
|
36
|
+
"@vitessce/scatterplot-embedding": "3.6.3",
|
37
|
+
"@vitessce/scatterplot-gating": "3.6.3",
|
38
|
+
"@vitessce/schemas": "3.6.3",
|
39
|
+
"@vitessce/spatial": "3.6.3",
|
40
|
+
"@vitessce/spatial-beta": "3.6.3",
|
41
|
+
"@vitessce/statistical-plots": "3.6.3",
|
42
|
+
"@vitessce/status": "3.6.3",
|
43
|
+
"@vitessce/vit-s": "3.6.3",
|
44
|
+
"@vitessce/zarr": "3.6.3",
|
45
|
+
"@vitessce/globals": "3.6.3",
|
46
|
+
"@vitessce/spatial-zarr": "3.6.3",
|
47
|
+
"@vitessce/spatial-three": "3.6.3",
|
48
|
+
"@vitessce/biomarker-select": "3.6.3",
|
49
|
+
"@vitessce/neuroglancer": "3.6.3"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
52
|
"@types/react": "^18.0.28",
|