@vitessce/dev 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-DjHg7LmD.js → OrbitControls-DFx3WlWM.js} +1 -1
- package/dist/{ReactNeuroglancer-BeBHVTed.js → ReactNeuroglancer-DvvZ7TpP.js} +1 -1
- package/dist/{deflate-BO8U0f-B.js → deflate-BCgzIRaf.js} +1 -1
- package/dist/{higlass-OmKZOSSo.js → higlass-BNRNwGCm.js} +1 -1
- package/dist/{index-Iv8UkaIJ.js → index-4QK113Cn.js} +3 -3
- package/dist/{index-DjEMnpx3.js → index-B31N-uNr.js} +31 -21
- package/dist/{index-BmJxxT9m.js → index-BopFrQ1h.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-B63iC4Df.js → jpeg-DF0DG_In.js} +1 -1
- package/dist/{lerc-Cq3zOE2J.js → lerc-CixLzOtk.js} +1 -1
- package/dist/{lzw-BtBv3TjK.js → lzw-Dp8k6fHh.js} +1 -1
- package/dist/{packbits-DIdOwI-e.js → packbits-BpGraQ9h.js} +1 -1
- package/dist/{raw-DMpwMWTL.js → raw-COQICf8o.js} +1 -1
- package/dist/{troika-three-text.esm-Wh8GRZYy.js → troika-three-text.esm-xgm2rxtX.js} +1 -1
- package/dist/{webimage-DQvrB4B4.js → webimage-CQDe7uUY.js} +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as getDefaultExportFromCjs, aJ as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aK as PCFSoftShadowMap, aL as VSMShadowMap, aM as PCFShadowMap, aN as BasicShadowMap, aO as NoToneMapping, aP as ACESFilmicToneMapping, e as Vector3, V as Vector2, aQ as Clock, aR as WebGLRenderer, aS as Camera, x as BufferGeometry, r as Material, aT as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aU as THREE, aV as EventDispatcher, aW as MOUSE, aX as TOUCH, aY as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-
|
|
1
|
+
import { aI as getDefaultExportFromCjs, aJ as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aK as PCFSoftShadowMap, aL as VSMShadowMap, aM as PCFShadowMap, aN as BasicShadowMap, aO as NoToneMapping, aP as ACESFilmicToneMapping, e as Vector3, V as Vector2, aQ as Clock, aR as WebGLRenderer, aS as Camera, x as BufferGeometry, r as Material, aT as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aU as THREE, aV as EventDispatcher, aW as MOUSE, aX as TOUCH, aY as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-B31N-uNr.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo } from "react";
|
|
4
4
|
var constants = { exports: {} };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { aI as getDefaultExportFromCjs, b3 as requireAssign, b4 as require_export, b5 as require_core, b6 as require_fails, b7 as require_toObject, b8 as require_objectKeys, b9 as require_cof, ba as require_wks, bb as require_iterators, bc as requireWeb_dom_iterable, bd as requireEs6_string_iterator, be as require_anObject, bf as require_hide, bg as require_ctx, bh as require_toLength, bi as require_global, bj as require_objectDp, bk as require_descriptors, bl as require_isObject, bm as require_objectCreate, bn as require_iterDefine, bo as require_iterStep, bp as require_meta, bq as require_isArray, br as require_iobject, bs as require_setToStringTag, bt as require_aFunction, bu as requireIterator, bv as require_propertyDesc, bw as require_root, bx as require_baseGetTag, by as requireIsObjectLike, bz as requireIsObject, bA as requireEs6_symbol, bB as requireDefineProperty, bC as require_toIobject, bD as require_objectGopd, bE as require_html, bF as require_domCreate, bG as require_library, bH as requireSymbol, bI as require_objectPie, bJ as require_has, bK as require_redefine, bL as require_objectAssign, bM as diffCameraState, ao as jsxRuntimeExports } from "./index-
|
|
4
|
+
import { aI as getDefaultExportFromCjs, b3 as requireAssign, b4 as require_export, b5 as require_core, b6 as require_fails, b7 as require_toObject, b8 as require_objectKeys, b9 as require_cof, ba as require_wks, bb as require_iterators, bc as requireWeb_dom_iterable, bd as requireEs6_string_iterator, be as require_anObject, bf as require_hide, bg as require_ctx, bh as require_toLength, bi as require_global, bj as require_objectDp, bk as require_descriptors, bl as require_isObject, bm as require_objectCreate, bn as require_iterDefine, bo as require_iterStep, bp as require_meta, bq as require_isArray, br as require_iobject, bs as require_setToStringTag, bt as require_aFunction, bu as requireIterator, bv as require_propertyDesc, bw as require_root, bx as require_baseGetTag, by as requireIsObjectLike, bz as requireIsObject, bA as requireEs6_symbol, bB as requireDefineProperty, bC as require_toIobject, bD as require_objectGopd, bE as require_html, bF as require_domCreate, bG as require_library, bH as requireSymbol, bI as require_objectPie, bJ as require_has, bK as require_redefine, bL as require_objectAssign, bM as diffCameraState, ao as jsxRuntimeExports } from "./index-B31N-uNr.js";
|
|
5
5
|
import React__default from "react";
|
|
6
6
|
var assignExports = requireAssign();
|
|
7
7
|
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aZ as BaseDecoder } from "./index-
|
|
2
|
+
import { aZ as BaseDecoder } from "./index-B31N-uNr.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$7 from "react";
|
|
2
2
|
import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
|
|
3
3
|
import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
|
|
4
|
-
import { b0 as commonjsGlobal$1, b1 as requireObjectAssign, aI as getDefaultExportFromCjs$1, b2 as earcut } from "./index-
|
|
4
|
+
import { b0 as commonjsGlobal$1, b1 as requireObjectAssign, aI as getDefaultExportFromCjs$1, b2 as earcut } from "./index-B31N-uNr.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-
|
|
1
|
+
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-B31N-uNr.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRef, useEffect, useState, forwardRef } from "react";
|
|
4
|
-
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
4
|
+
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-DFx3WlWM.js";
|
|
5
5
|
const isPromise = (promise) => typeof promise === "object" && typeof promise.then === "function";
|
|
6
6
|
const globalCache = [];
|
|
7
7
|
function shallowEqualArrays(arrA, arrB, equal = (a, b) => a === b) {
|
|
@@ -5027,7 +5027,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
5027
5027
|
const {
|
|
5028
5028
|
Text: TextMeshImpl,
|
|
5029
5029
|
preloadFont
|
|
5030
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
5030
|
+
} = suspend(async () => import("./troika-three-text.esm-xgm2rxtX.js"), []);
|
|
5031
5031
|
const invalidate = useThree(({
|
|
5032
5032
|
invalidate: invalidate2
|
|
5033
5033
|
}) => invalidate2);
|
|
@@ -1383,7 +1383,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1383
1383
|
CoordinationType$2.HIERARCHY_LEVELS
|
|
1384
1384
|
]
|
|
1385
1385
|
};
|
|
1386
|
-
const version$6 = "3.9.
|
|
1386
|
+
const version$6 = "3.9.9";
|
|
1387
1387
|
const META_VERSION = {
|
|
1388
1388
|
version: version$6
|
|
1389
1389
|
};
|
|
@@ -230369,22 +230369,22 @@ async function getDecoder(fileDirectory) {
|
|
|
230369
230369
|
const Decoder = await importFn();
|
|
230370
230370
|
return new Decoder(fileDirectory);
|
|
230371
230371
|
}
|
|
230372
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
230373
|
-
addDecoder(5, () => import("./lzw-
|
|
230372
|
+
addDecoder([void 0, 1], () => import("./raw-COQICf8o.js").then((m2) => m2.default));
|
|
230373
|
+
addDecoder(5, () => import("./lzw-Dp8k6fHh.js").then((m2) => m2.default));
|
|
230374
230374
|
addDecoder(6, () => {
|
|
230375
230375
|
throw new Error("old style JPEG compression is not supported.");
|
|
230376
230376
|
});
|
|
230377
|
-
addDecoder(7, () => import("./jpeg-
|
|
230378
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
230379
|
-
addDecoder(32773, () => import("./packbits-
|
|
230377
|
+
addDecoder(7, () => import("./jpeg-DF0DG_In.js").then((m2) => m2.default));
|
|
230378
|
+
addDecoder([8, 32946], () => import("./deflate-BCgzIRaf.js").then((m2) => m2.default));
|
|
230379
|
+
addDecoder(32773, () => import("./packbits-BpGraQ9h.js").then((m2) => m2.default));
|
|
230380
230380
|
addDecoder(
|
|
230381
230381
|
34887,
|
|
230382
|
-
() => import("./lerc-
|
|
230382
|
+
() => import("./lerc-CixLzOtk.js").then(async (m2) => {
|
|
230383
230383
|
await m2.zstd.init();
|
|
230384
230384
|
return m2;
|
|
230385
230385
|
}).then((m2) => m2.default)
|
|
230386
230386
|
);
|
|
230387
|
-
addDecoder(50001, () => import("./webimage-
|
|
230387
|
+
addDecoder(50001, () => import("./webimage-CQDe7uUY.js").then((m2) => m2.default));
|
|
230388
230388
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
230389
230389
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
230390
230390
|
}
|
|
@@ -271801,12 +271801,12 @@ class ErrorBoundary2 extends React__default.Component {
|
|
|
271801
271801
|
}
|
|
271802
271802
|
}
|
|
271803
271803
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
271804
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
271804
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-4QK113Cn.js");
|
|
271805
271805
|
return { default: SpatialWrapper2 };
|
|
271806
271806
|
});
|
|
271807
271807
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
|
|
271808
271808
|
const LazySpatialAccelerated = React__default.lazy(async () => {
|
|
271809
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
271809
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BopFrQ1h.js");
|
|
271810
271810
|
return { default: SpatialWrapper2 };
|
|
271811
271811
|
});
|
|
271812
271812
|
const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialAccelerated, { ...props }) }) }) }));
|
|
@@ -281679,7 +281679,7 @@ function PointLayerController(props) {
|
|
|
281679
281679
|
const [coloringTabIndex, setColoringTabIndex] = useState(0);
|
|
281680
281680
|
const { featureIndex } = pointMatrixIndicesData || {};
|
|
281681
281681
|
const hasSelectedFeatures = Array.isArray(featureSelection) && featureSelection.length > 0;
|
|
281682
|
-
return jsxRuntimeExports.jsxs(Grid$1, { className: lcClasses.layerControllerGrid, children: [jsxRuntimeExports.jsxs(Paper, { elevation: 4, className: lcClasses.layerControllerRoot, children: [jsxRuntimeExports.jsxs(Grid$1, { container: true, direction: "row", justifyContent: "space-between", children: [jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(Button, { onClick: handleVisibleChange, className: menuClasses.imageLayerVisibleButton, "aria-label": "Toggle layer visibility", children: jsxRuntimeExports.jsx(Visibility, {}) }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(ChannelColorPickerMenu, { theme, color: color2, setColor: setColor2, palette, isStaticColor, isColormap, featureValueColormap, visible }) }), jsxRuntimeExports.jsx(Grid$1, { size: 6, children: jsxRuntimeExports.jsx(Typography, { className: menuClasses.imageLayerName, children: label2 }) }), jsxRuntimeExports.jsx(Grid$1, { size: 2, children: jsxRuntimeExports.jsx(Slider, { value: opacity2, min: 0, max: 1, step: 1e-3, onChange: handleOpacityChange, className: menuClasses.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${label2}` }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(PointLayerEllipsisMenu, { featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible, featureFilterMode, setFeatureFilterMode }) }), jsxRuntimeExports.jsxs(Grid$1, { size: 1, container: true, direction: "row", children: [jsxRuntimeExports.jsx(SvgPoints, { className: classes2.layerTypePointIcon }), null] })] }), loadingDoneFraction < 1 ? jsxRuntimeExports.jsx(Grid$1, { size: 12, container: true, direction: "column", justifyContent: "space-between", className: classes2.pointFeatureControllerGrid, children: jsxRuntimeExports.jsx(LinearProgress, { variant: loadingDoneFraction === 0 ? "indeterminate" : "determinate", value: loadingDoneFraction * 100 }) }) : null, null] }), hasSelectedFeatures ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [featureSelection.map((featureName) => jsxRuntimeExports.jsx(LayerPerFeatureController, { theme, featureName, featureColor, setFeatureColor, spatialLayerColor, featureIndex, featureValueColormap, featureSelection, setFeatureSelection, obsColorEncoding, loadingDoneFraction, opacity: opacity2, handleOpacityChange }, featureName)), jsxRuntimeExports.jsx(Grid$1, { className: lcClasses.layerControllerGrid, children: jsxRuntimeExports.jsx(Paper, { elevation: 2, className: lcClasses.layerControllerSubRow, children: jsxRuntimeExports.jsxs(Grid$1, { container: true, direction: "row", justifyContent: "space-between", children: [jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(Button, { onClick: () => setFeatureFilterMode(featureFilterMode === "featureSelection" ? null : "featureSelection"), className: menuClasses.imageLayerVisibleButton, "aria-label": "Toggle visibility of unselected points", children: featureFilterMode === "featureSelection" ? jsxRuntimeExports.jsx(VisibilityOffIcon, {}) : jsxRuntimeExports.jsx(VisibilityIcon, {}) }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(ChannelColorPickerMenu, { theme, color: getDefaultColor("dark"), setColor: null, isStaticColor: true, isColormap: false, visible: true }) }), jsxRuntimeExports.jsx(Grid$1, { size: 6, children: jsxRuntimeExports.jsx(Typography, { className: menuClasses.imageLayerName, children: "Unselected" }) }), jsxRuntimeExports.jsx(Grid$1, { size: 2, sx: { paddingRight: "12px", overflow: "visible" }, children: jsxRuntimeExports.jsx(Slider, { value: opacity2, min: 0, max: 1, step: 1e-3, onChange: handleOpacityChange, className: menuClasses.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": "Adjust opacity for unselected layer" }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(SvgPoints, { className: classes2.layerTypePointIcon }) })] }) }) })] }) : null] });
|
|
281682
|
+
return jsxRuntimeExports.jsxs(Grid$1, { className: lcClasses.layerControllerGrid, children: [jsxRuntimeExports.jsxs(Paper, { elevation: 4, className: lcClasses.layerControllerRoot, children: [jsxRuntimeExports.jsxs(Grid$1, { container: true, direction: "row", justifyContent: "space-between", children: [jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(Button, { onClick: handleVisibleChange, className: menuClasses.imageLayerVisibleButton, "aria-label": "Toggle layer visibility", children: jsxRuntimeExports.jsx(Visibility, {}) }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(ChannelColorPickerMenu, { theme, color: color2, setColor: setColor2, palette, isStaticColor, isColormap, featureValueColormap, visible }) }), jsxRuntimeExports.jsx(Grid$1, { size: 6, children: jsxRuntimeExports.jsx(Typography, { className: menuClasses.imageLayerName, children: label2 }) }), jsxRuntimeExports.jsx(Grid$1, { size: 2, children: jsxRuntimeExports.jsx(Slider, { value: opacity2, min: 0, max: 1, step: 1e-3, onChange: handleOpacityChange, className: menuClasses.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${label2}` }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(PointLayerEllipsisMenu, { featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible, featureFilterMode, setFeatureFilterMode }) }), jsxRuntimeExports.jsxs(Grid$1, { size: 1, container: true, direction: "row", children: [jsxRuntimeExports.jsx(SvgPoints, { className: classes2.layerTypePointIcon }), null] })] }), loadingDoneFraction < 1 ? jsxRuntimeExports.jsx(Grid$1, { size: 12, container: true, direction: "column", justifyContent: "space-between", className: classes2.pointFeatureControllerGrid, children: jsxRuntimeExports.jsx(LinearProgress, { variant: loadingDoneFraction === 0 ? "indeterminate" : "determinate", value: loadingDoneFraction * 100 }) }) : null, null] }), layerPerFeatureForPoints && hasSelectedFeatures ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [featureSelection.map((featureName) => jsxRuntimeExports.jsx(LayerPerFeatureController, { theme, featureName, featureColor, setFeatureColor, spatialLayerColor, featureIndex, featureValueColormap, featureSelection, setFeatureSelection, obsColorEncoding, loadingDoneFraction, opacity: opacity2, handleOpacityChange }, featureName)), jsxRuntimeExports.jsx(Grid$1, { className: lcClasses.layerControllerGrid, children: jsxRuntimeExports.jsx(Paper, { elevation: 2, className: lcClasses.layerControllerSubRow, children: jsxRuntimeExports.jsxs(Grid$1, { container: true, direction: "row", justifyContent: "space-between", children: [jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(Button, { onClick: () => setFeatureFilterMode(featureFilterMode === "featureSelection" ? null : "featureSelection"), className: menuClasses.imageLayerVisibleButton, "aria-label": "Toggle visibility of unselected points", children: featureFilterMode === "featureSelection" ? jsxRuntimeExports.jsx(VisibilityOffIcon, {}) : jsxRuntimeExports.jsx(VisibilityIcon, {}) }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(ChannelColorPickerMenu, { theme, color: getDefaultColor("dark"), setColor: null, isStaticColor: true, isColormap: false, visible: true }) }), jsxRuntimeExports.jsx(Grid$1, { size: 6, children: jsxRuntimeExports.jsx(Typography, { className: menuClasses.imageLayerName, children: "Unselected" }) }), jsxRuntimeExports.jsx(Grid$1, { size: 2, sx: { paddingRight: "12px", overflow: "visible" }, children: jsxRuntimeExports.jsx(Slider, { value: opacity2, min: 0, max: 1, step: 1e-3, onChange: handleOpacityChange, className: menuClasses.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": "Adjust opacity for unselected layer" }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(SvgPoints, { className: classes2.layerTypePointIcon }) })] }) }) })] }) : null] });
|
|
281683
281683
|
}
|
|
281684
281684
|
const useStyles$d = makeStyles()(() => ({
|
|
281685
281685
|
layerTypeSegmentationIcon: {
|
|
@@ -284284,7 +284284,7 @@ function HiglassGlobalStyles(props) {
|
|
|
284284
284284
|
}
|
|
284285
284285
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
284286
284286
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
284287
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
284287
|
+
const { HiGlassComponent } = await import("./higlass-BNRNwGCm.js");
|
|
284288
284288
|
return { default: HiGlassComponent };
|
|
284289
284289
|
});
|
|
284290
284290
|
const HG_SIZE = 800;
|
|
@@ -287232,7 +287232,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
287232
287232
|
const { classes: classes2 } = props;
|
|
287233
287233
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
287234
287234
|
}
|
|
287235
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
287235
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-DvvZ7TpP.js"));
|
|
287236
287236
|
function createWorker() {
|
|
287237
287237
|
const worker = new WorkerFactory$1();
|
|
287238
287238
|
worker.AsyncComputationWorker = WorkerFactory;
|
|
@@ -373622,11 +373622,21 @@ class AnnDataSource extends ZarrDataSource {
|
|
|
373622
373622
|
categoriesValues = await this.getFlatArrDecompressed(`${prefix2}/${categories}`);
|
|
373623
373623
|
}
|
|
373624
373624
|
} else if (encodingType === "categorical") {
|
|
373625
|
-
const
|
|
373626
|
-
|
|
373625
|
+
const categoriesZattrs = await this.getJson(`${path2}/categories/.zattrs`);
|
|
373626
|
+
const categoriesEncodingType = categoriesZattrs?.["encoding-type"];
|
|
373627
|
+
if (categoriesEncodingType === "nullable-string-array") {
|
|
373628
|
+
categoriesValues = await this.getFlatArrDecompressed(`${path2}/categories/values`);
|
|
373629
|
+
} else if (categoriesEncodingType === "string-array") {
|
|
373627
373630
|
categoriesValues = await this.getFlatArrDecompressed(`${path2}/categories`);
|
|
373631
|
+
} else {
|
|
373632
|
+
const { dtype } = await open$1(storeRoot.resolve(`${path2}/categories`), { kind: "array" });
|
|
373633
|
+
if (dtype === "v2:object" || dtype === "|O") {
|
|
373634
|
+
categoriesValues = await this.getFlatArrDecompressed(`${path2}/categories`);
|
|
373635
|
+
}
|
|
373628
373636
|
}
|
|
373629
373637
|
codesPath = `${path2}/codes`;
|
|
373638
|
+
} else if (encodingType === "nullable-string-array") {
|
|
373639
|
+
return this.getFlatArrDecompressed(`${path2}/values`);
|
|
373630
373640
|
} else if (encodingType === "string-array") {
|
|
373631
373641
|
return this.getFlatArrDecompressed(path2);
|
|
373632
373642
|
} else {
|
|
@@ -376021,7 +376031,7 @@ class SpatialDataObsPointsLoader extends AbstractTwoStepLoader {
|
|
|
376021
376031
|
}
|
|
376022
376032
|
let locations;
|
|
376023
376033
|
const formatVersion = await this.dataSource.getPointsFormatVersion(path2);
|
|
376024
|
-
if (formatVersion === "0.1") {
|
|
376034
|
+
if (formatVersion === "0.1" || formatVersion === "0.2") {
|
|
376025
376035
|
locations = await this.dataSource.loadPoints(path2);
|
|
376026
376036
|
} else {
|
|
376027
376037
|
throw new UnknownSpatialDataFormatError("Only points format version 0.1 is supported.");
|
|
@@ -376040,7 +376050,7 @@ class SpatialDataObsPointsLoader extends AbstractTwoStepLoader {
|
|
|
376040
376050
|
}
|
|
376041
376051
|
let locationsFeatureIndex;
|
|
376042
376052
|
const formatVersion = await this.dataSource.getPointsFormatVersion(path2);
|
|
376043
|
-
if (formatVersion === "0.1") {
|
|
376053
|
+
if (formatVersion === "0.1" || formatVersion === "0.2") {
|
|
376044
376054
|
locationsFeatureIndex = await this.dataSource.loadPointsFeatureIds(path2);
|
|
376045
376055
|
} else {
|
|
376046
376056
|
throw new UnknownSpatialDataFormatError("Only points format version 0.1 is supported.");
|
|
@@ -376052,7 +376062,7 @@ class SpatialDataObsPointsLoader extends AbstractTwoStepLoader {
|
|
|
376052
376062
|
const { path: path2, featureIndexColumn, mortonCodeColumn } = this.options;
|
|
376053
376063
|
let locations;
|
|
376054
376064
|
const formatVersion = await this.dataSource.getPointsFormatVersion(path2);
|
|
376055
|
-
if (formatVersion === "0.1") {
|
|
376065
|
+
if (formatVersion === "0.1" || formatVersion === "0.2") {
|
|
376056
376066
|
locations = await this.dataSource.loadPointsInRect(path2, bounds2, signal, featureIndexColumn, mortonCodeColumn);
|
|
376057
376067
|
} else {
|
|
376058
376068
|
throw new UnknownSpatialDataFormatError("Only points format version 0.1 is supported.");
|
|
@@ -376084,7 +376094,7 @@ class SpatialDataObsPointsLoader extends AbstractTwoStepLoader {
|
|
|
376084
376094
|
// and for the presence of morton_code_2d and feature_index columns.
|
|
376085
376095
|
this.dataSource.supportsLoadPointsInRect(path2, featureIndexColumnName, mortonCodeColumn)
|
|
376086
376096
|
]);
|
|
376087
|
-
const isSupportedVersion = formatVersion === "0.1";
|
|
376097
|
+
const isSupportedVersion = formatVersion === "0.1" || formatVersion === "0.2";
|
|
376088
376098
|
const boundingBox = zattrs?.bounding_box;
|
|
376089
376099
|
const hasBoundingBox2D = typeof boundingBox?.x_max === "number" && typeof boundingBox?.x_min === "number" && typeof boundingBox?.y_max === "number" && typeof boundingBox?.y_min === "number";
|
|
376090
376100
|
return isSupportedVersion && hasBoundingBox2D && hasRequiredColumnsAndRowGroupSize;
|
|
@@ -385712,7 +385722,7 @@ async function _loadParquetSchemaBytes({ queryClient, store }, parquetPath, part
|
|
|
385712
385722
|
if (!tailBytes || tailBytes.length < TAIL_LENGTH) {
|
|
385713
385723
|
throw new Error(`Failed to load parquet footerLength for ${partZeroPath}`);
|
|
385714
385724
|
}
|
|
385715
|
-
const footerLength = new DataView(tailBytes.buffer).getInt32(0, true);
|
|
385725
|
+
const footerLength = new DataView(tailBytes.buffer, tailBytes.byteOffset, tailBytes.byteLength).getInt32(0, true);
|
|
385716
385726
|
const magic = new TextDecoder().decode(tailBytes.slice(4, 8));
|
|
385717
385727
|
if (magic !== "PAR1") {
|
|
385718
385728
|
throw new Error("Invalid Parquet file: missing PAR1 magic number");
|
|
@@ -392488,7 +392498,7 @@ class SpatialDataPointsSource extends SpatialDataTableSource {
|
|
|
392488
392498
|
const zattrs = await this.loadSpatialDataElementAttrs(path2);
|
|
392489
392499
|
const formatVersion = zattrs.spatialdata_attrs.version;
|
|
392490
392500
|
const encodingType = zattrs["encoding-type"];
|
|
392491
|
-
if (encodingType === "ngff:points" && !(formatVersion === "0.1")) {
|
|
392501
|
+
if (encodingType === "ngff:points" && !(formatVersion === "0.1" || formatVersion === "0.2")) {
|
|
392492
392502
|
throw new Error(`Unexpected version for points spatialdata_attrs: ${formatVersion}`);
|
|
392493
392503
|
}
|
|
392494
392504
|
return formatVersion;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, aG as useEventCallback, ao as jsxRuntimeExports, aH as GLSL3, am as BackSide } from "./index-
|
|
1
|
+
import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, aG as useEventCallback, ao as jsxRuntimeExports, aH as GLSL3, am as BackSide } from "./index-B31N-uNr.js";
|
|
2
2
|
import { useRef, useState, useMemo, useEffect, Suspense } from "react";
|
|
3
|
-
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
3
|
+
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-DFx3WlWM.js";
|
|
4
4
|
const BRICK_SIZE = 32;
|
|
5
5
|
const BRICK_CACHE_SIZE_X = 64;
|
|
6
6
|
const BRICK_CACHE_SIZE_Y = 64;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c0, bX, bV, bW, c4, c5, bY, cg, ce, cc, cf, cd, bU, cb, bZ, bT, bS, c2, c8, c1, c3, c7, c6, b$, c9, ca, cl, co, ci, cp, cq, cj, cm, cn, ck, b_, ch } from "./index-
|
|
1
|
+
import { c0, bX, bV, bW, c4, c5, bY, cg, ce, cc, cf, cd, bU, cb, bZ, bT, bS, c2, c8, c1, c3, c7, c6, b$, c9, ca, cl, co, ci, cp, cq, cj, cm, cn, ck, b_, ch } from "./index-B31N-uNr.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
c0 as CoordinationLevel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aI as getDefaultExportFromCjs, aZ as BaseDecoder, a_ as LercParameters, a$ as LercAddCompression } from "./index-
|
|
2
|
+
import { aI as getDefaultExportFromCjs, aZ as BaseDecoder, a_ as LercParameters, a$ as LercAddCompression } from "./index-B31N-uNr.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as MeshDistanceMaterial, bO as MeshDepthMaterial, bP as RGBADepthPacking, ae as UniformsUtils, bQ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bR as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bN as MeshDistanceMaterial, bO as MeshDepthMaterial, bP as RGBADepthPacking, ae as UniformsUtils, bQ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bR as InstancedBufferAttribute } from "./index-B31N-uNr.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/dev",
|
|
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": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vitessce/all": "3.9.
|
|
20
|
-
"@vitessce/
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/
|
|
19
|
+
"@vitessce/all": "3.9.9",
|
|
20
|
+
"@vitessce/constants": "3.9.9",
|
|
21
|
+
"@vitessce/export-utils": "3.9.9",
|
|
22
|
+
"@vitessce/config": "3.9.9"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.5.0",
|