@vitessce/dev 3.5.0 → 3.5.1
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/{deflate-4dac9e19.js → deflate-6539796d.js} +1 -1
- package/dist/{higlass-5e48282e.js → higlass-5c91add8.js} +1 -1
- package/dist/{index-95e276a1.js → index-47d7a9c6.js} +49 -24
- package/dist/{index-ab2ea219.js → index-ace20502.js} +3 -3
- package/dist/index.js +8 -7
- package/dist/{jpeg-050ce4df.js → jpeg-065f4da6.js} +1 -1
- package/dist/{lerc-d658f291.js → lerc-02ddad96.js} +1 -1
- package/dist/{lzw-8a0f76a0.js → lzw-26ab68ea.js} +1 -1
- package/dist/{packbits-37b5e4bb.js → packbits-da50d49a.js} +1 -1
- package/dist/{raw-edd2aec3.js → raw-9d629513.js} +1 -1
- package/dist/{troika-three-text.esm-ffb13fc0.js → troika-three-text.esm-4b57abfe.js} +1 -1
- package/dist/{webimage-0aca513a.js → webimage-f6a30aae.js} +1 -1
- package/package.json +5 -5
|
@@ -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 { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-
|
|
3
|
+
import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-47d7a9c6.js";
|
|
4
4
|
var promise = {};
|
|
5
5
|
(function(exports2) {
|
|
6
6
|
(function(global) {
|
|
@@ -913,10 +913,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
913
913
|
]
|
|
914
914
|
};
|
|
915
915
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
916
|
-
const version$6 = "3.5.
|
|
917
|
-
const date$5 = "2024-11-
|
|
916
|
+
const version$6 = "3.5.1";
|
|
917
|
+
const date$5 = "2024-11-22";
|
|
918
918
|
const branch = "changeset-release/main";
|
|
919
|
-
const hash$1 = "
|
|
919
|
+
const hash$1 = "233b667a";
|
|
920
920
|
const META_VERSION = {
|
|
921
921
|
note,
|
|
922
922
|
version: version$6,
|
|
@@ -45938,6 +45938,16 @@ const PageModeViewContext = createContext$1({
|
|
|
45938
45938
|
// Keys are view UIDs and values are
|
|
45939
45939
|
// the corresponding React components.
|
|
45940
45940
|
});
|
|
45941
|
+
function ensureComponent(component) {
|
|
45942
|
+
if (!component) {
|
|
45943
|
+
return () => null;
|
|
45944
|
+
}
|
|
45945
|
+
return component;
|
|
45946
|
+
}
|
|
45947
|
+
function usePageModeView(uid2) {
|
|
45948
|
+
const context2 = useContext(PageModeViewContext);
|
|
45949
|
+
return ensureComponent(context2?.[uid2]);
|
|
45950
|
+
}
|
|
45941
45951
|
const ResponsiveGridLayout = reactGridLayoutWithLodashExports.WidthProvider(reactGridLayoutWithLodashExports.Responsive);
|
|
45942
45952
|
class ResponsiveHeightGridLayout extends ResponsiveGridLayout {
|
|
45943
45953
|
componentDidUpdate(prevProps) {
|
|
@@ -186166,16 +186176,16 @@ async function getDecoder(fileDirectory) {
|
|
|
186166
186176
|
const Decoder = await importFn();
|
|
186167
186177
|
return new Decoder(fileDirectory);
|
|
186168
186178
|
}
|
|
186169
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
186170
|
-
addDecoder(5, () => import("./lzw-
|
|
186179
|
+
addDecoder([void 0, 1], () => import("./raw-9d629513.js").then((m2) => m2.default));
|
|
186180
|
+
addDecoder(5, () => import("./lzw-26ab68ea.js").then((m2) => m2.default));
|
|
186171
186181
|
addDecoder(6, () => {
|
|
186172
186182
|
throw new Error("old style JPEG compression is not supported.");
|
|
186173
186183
|
});
|
|
186174
|
-
addDecoder(7, () => import("./jpeg-
|
|
186175
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
186176
|
-
addDecoder(32773, () => import("./packbits-
|
|
186177
|
-
addDecoder(34887, () => import("./lerc-
|
|
186178
|
-
addDecoder(50001, () => import("./webimage-
|
|
186184
|
+
addDecoder(7, () => import("./jpeg-065f4da6.js").then((m2) => m2.default));
|
|
186185
|
+
addDecoder([8, 32946], () => import("./deflate-6539796d.js").then((m2) => m2.default));
|
|
186186
|
+
addDecoder(32773, () => import("./packbits-da50d49a.js").then((m2) => m2.default));
|
|
186187
|
+
addDecoder(34887, () => import("./lerc-02ddad96.js").then((m2) => m2.default));
|
|
186188
|
+
addDecoder(50001, () => import("./webimage-f6a30aae.js").then((m2) => m2.default));
|
|
186179
186189
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
186180
186190
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
186181
186191
|
}
|
|
@@ -205935,12 +205945,14 @@ function ChannelNamesLegend(props) {
|
|
|
205935
205945
|
}), children: channelScopes.map((cScope) => {
|
|
205936
205946
|
const { spatialTargetC, spatialChannelVisible, spatialChannelColor } = channelCoordination[cScope];
|
|
205937
205947
|
const rgbColor = colorArrayToString(spatialChannelColor);
|
|
205938
|
-
const
|
|
205939
|
-
const
|
|
205948
|
+
const imageWrapperInstance = images?.[layerScope]?.image?.instance;
|
|
205949
|
+
const channelNames = imageWrapperInstance?.getChannelNames();
|
|
205950
|
+
const channelIndex = imageWrapperInstance?.getChannelIndex(spatialTargetC);
|
|
205951
|
+
const channelName = channelNames?.[channelIndex];
|
|
205940
205952
|
return spatialLayerVisible && spatialChannelVisible && spatialChannelLabelsVisible ? jsxRuntimeExports.jsx(Typography$1, { variant: "h6", className: classes.channelNameText, style: {
|
|
205941
205953
|
color: rgbColor,
|
|
205942
205954
|
fontSize: `${spatialChannelLabelSize}px`
|
|
205943
|
-
}, children: channelName }, `${layerScope}-${cScope}-${
|
|
205955
|
+
}, children: channelName }, `${layerScope}-${cScope}-${channelIndex}-${rgbColor}`) : null;
|
|
205944
205956
|
}) }, layerScope) : null;
|
|
205945
205957
|
}) : null });
|
|
205946
205958
|
}
|
|
@@ -226314,7 +226326,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
|
|
|
226314
226326
|
const nextLoaderSelection = channelScopes.map((cScope) => filterSelection(data2, {
|
|
226315
226327
|
z: targetZ,
|
|
226316
226328
|
t: targetT,
|
|
226317
|
-
c: channelCoordination[cScope][CoordinationType$2.SPATIAL_TARGET_C]
|
|
226329
|
+
c: image2?.obsSegmentations?.instance?.getChannelIndex(channelCoordination[cScope][CoordinationType$2.SPATIAL_TARGET_C])
|
|
226318
226330
|
}));
|
|
226319
226331
|
const prevLoaderSelection = this.segmentationLayerLoaderSelections[layerScope];
|
|
226320
226332
|
if (isEqual$5(prevLoaderSelection, nextLoaderSelection)) {
|
|
@@ -226408,7 +226420,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
|
|
|
226408
226420
|
})) : channelScopes.map((cScope) => filterSelection(data2, {
|
|
226409
226421
|
z: targetZ,
|
|
226410
226422
|
t: targetT,
|
|
226411
|
-
c: channelCoordination[cScope][CoordinationType$2.SPATIAL_TARGET_C]
|
|
226423
|
+
c: image2?.image?.instance?.getChannelIndex(channelCoordination[cScope][CoordinationType$2.SPATIAL_TARGET_C])
|
|
226412
226424
|
}));
|
|
226413
226425
|
const prevLoaderSelection = this.imageLayerLoaderSelections[layerScope];
|
|
226414
226426
|
if (isEqual$5(prevLoaderSelection, nextLoaderSelection)) {
|
|
@@ -227138,7 +227150,7 @@ class ErrorBoundary extends React__default.Component {
|
|
|
227138
227150
|
}
|
|
227139
227151
|
}
|
|
227140
227152
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
227141
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
227153
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-ace20502.js");
|
|
227142
227154
|
return { default: SpatialWrapper2 };
|
|
227143
227155
|
});
|
|
227144
227156
|
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 }) }) }) }));
|
|
@@ -234686,7 +234698,8 @@ function ImageLayerController(props) {
|
|
|
234686
234698
|
return jsxRuntimeExports.jsx(Grid$3, { item: true, className: controllerSectionClasses.layerControllerGrid, children: jsxRuntimeExports.jsxs(M$1, { className: controllerSectionClasses.layerControllerRoot, children: [jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "row", justifyContent: "space-between", children: [jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 1, children: jsxRuntimeExports.jsx(Button$1, { className: menuClasses.imageLayerVisibleButton, onClick: handleVisibleChange, "aria-label": "Toggle layer visibility", children: jsxRuntimeExports.jsx(Visibility, {}) }) }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 1 }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 6, children: jsxRuntimeExports.jsx(Typography$1, { className: menuClasses.imageLayerName, children: label2 }) }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 2, children: jsxRuntimeExports.jsx(Slider$1, { 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$3, { item: true, xs: 1, children: jsxRuntimeExports.jsx(ImageLayerEllipsisMenu, { colormap, setColormap, photometricInterpretation, setPhotometricInterpretation, spatialTargetResolution, setSpatialTargetResolution, volumetricRenderingAlgorithm, setVolumetricRenderingAlgorithm, spatialLayerTransparentColor, setSpatialLayerTransparentColor, spatialRenderingMode, image: image2, channelScopes, tooltipsVisible, setTooltipsVisible, channelLabelsVisible, setChannelLabelsVisible, channelLabelsOrientation, setChannelLabelsOrientation, channelLabelSize, setChannelLabelSize }) }), jsxRuntimeExports.jsxs(Grid$3, { item: true, xs: 1, container: true, direction: "row", children: [jsxRuntimeExports.jsx(ImageIcon, { className: classes.layerTypeImageIcon }), isMultiChannel ? jsxRuntimeExports.jsx(Button$1, { onClick: handleOpenChange, className: classes.channelExpansionButton, "aria-label": "Expand or collapse channel controls", children: open2 ? jsxRuntimeExports.jsx(ExpandLess, {}) : jsxRuntimeExports.jsx(ExpandMoreIcon, {}) }) : null] })] }), isMultiChannel && open2 ? jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "column", justifyContent: "space-between", className: classes.imageChannelControllerGrid, children: [channelScopes.map((cScope) => {
|
|
234687
234699
|
const { spatialTargetC, spatialChannelVisible, spatialChannelOpacity, spatialChannelColor, spatialChannelWindow } = channelCoordination[cScope];
|
|
234688
234700
|
const { setSpatialTargetC, setSpatialChannelVisible, setSpatialChannelOpacity, setSpatialChannelColor, setSpatialChannelWindow } = setChannelCoordination[cScope];
|
|
234689
|
-
|
|
234701
|
+
const channelIndex = image2?.getChannelIndex(spatialTargetC);
|
|
234702
|
+
return jsxRuntimeExports.jsx(ImageChannelController, { theme, coordinationScopesRaw, layerScope, channelScope: cScope, targetT, targetZ, targetC: channelIndex, setTargetC: setSpatialTargetC, visible: spatialChannelVisible, setVisible: setSpatialChannelVisible, opacity: spatialChannelOpacity, setOpacity: setSpatialChannelOpacity, color: spatialChannelColor, setColor: setSpatialChannelColor, window: spatialChannelWindow, setWindow: setSpatialChannelWindow, colormapOn: colormap !== null, featureIndex, image: image2, spatialRenderingMode }, cScope);
|
|
234690
234703
|
}), jsxRuntimeExports.jsx(Button$1, { disabled: channelScopes.length === MAX_CHANNELS$1 || channelScopes.length === imageNumChannels, onClick: handleChannelAdd, fullWidth: true, variant: "outlined", className: classes.imageLayerButton, startIcon: jsxRuntimeExports.jsx(AddIcon, {}), size: "small", "aria-label": "Add a channel to this layer", children: "Add Channel" })] }) : null, is3dMode && image2 ? jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "column", justifyContent: "space-between", className: classes.imageChannelControllerGrid, children: [jsxRuntimeExports.jsx(Typography$1, { className: classes.clippingPanesLabel, children: "Clipping planes:" }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 12, className: classes.clippingSliders, children: jsxRuntimeExports.jsx(ClippingSliders, { image: image2, spatialSliceX, spatialSliceY, spatialSliceZ, setSpatialSliceX, setSpatialSliceY, setSpatialSliceZ }) })] }) : null] }) });
|
|
234691
234704
|
}
|
|
234692
234705
|
const useStyles$5 = makeStyles((theme) => ({
|
|
@@ -236443,7 +236456,7 @@ const useStyles$3 = makeStyles((theme) => ({
|
|
|
236443
236456
|
}));
|
|
236444
236457
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
236445
236458
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
236446
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
236459
|
+
const { HiGlassComponent } = await import("./higlass-5c91add8.js");
|
|
236447
236460
|
return { default: HiGlassComponent };
|
|
236448
236461
|
});
|
|
236449
236462
|
const HG_SIZE = 800;
|
|
@@ -311666,6 +311679,17 @@ class ImageWrapper {
|
|
|
311666
311679
|
}
|
|
311667
311680
|
return [];
|
|
311668
311681
|
}
|
|
311682
|
+
getChannelIndex(channelSpecifier) {
|
|
311683
|
+
if (typeof channelSpecifier === "number") {
|
|
311684
|
+
return channelSpecifier;
|
|
311685
|
+
}
|
|
311686
|
+
const channelNames = this.getChannelNames();
|
|
311687
|
+
const channelIndex = channelNames.indexOf(channelSpecifier);
|
|
311688
|
+
if (channelIndex === -1) {
|
|
311689
|
+
console.error(`Channel ${channelSpecifier} not found in image.`);
|
|
311690
|
+
}
|
|
311691
|
+
return channelIndex;
|
|
311692
|
+
}
|
|
311669
311693
|
// TODO: support passing a custom color palette array.
|
|
311670
311694
|
getChannelObjects() {
|
|
311671
311695
|
if ("image-label" in this.vivLoader.metadata) {
|
|
@@ -357228,12 +357252,13 @@ export {
|
|
|
357228
357252
|
z as bo,
|
|
357229
357253
|
useCoordination as bp,
|
|
357230
357254
|
useGridItemSize as bq,
|
|
357231
|
-
|
|
357232
|
-
|
|
357233
|
-
|
|
357234
|
-
|
|
357235
|
-
|
|
357236
|
-
|
|
357255
|
+
usePageModeView as br,
|
|
357256
|
+
useComplexCoordination as bs,
|
|
357257
|
+
useMultiCoordinationScopesNonNull as bt,
|
|
357258
|
+
useMultiCoordinationScopesSecondaryNonNull as bu,
|
|
357259
|
+
useComplexCoordinationSecondary as bv,
|
|
357260
|
+
useCoordinationScopes as bw,
|
|
357261
|
+
useCoordinationScopesBy as bx,
|
|
357237
357262
|
create$e as c,
|
|
357238
357263
|
RGBAFormat as d,
|
|
357239
357264
|
PCFShadowMap as e,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-47d7a9c6.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useState, useRef, useEffect, useMemo, forwardRef } from "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -23693,7 +23693,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
23693
23693
|
const {
|
|
23694
23694
|
Text: TextMeshImpl,
|
|
23695
23695
|
preloadFont
|
|
23696
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
23696
|
+
} = suspend(async () => import("./troika-three-text.esm-4b57abfe.js"), []);
|
|
23697
23697
|
const invalidate2 = useThree(({
|
|
23698
23698
|
invalidate: invalidate3
|
|
23699
23699
|
}) => invalidate3);
|
|
@@ -28038,7 +28038,7 @@ function extractInformationFromProps(layerScope, layerCoordination, channelScope
|
|
|
28038
28038
|
visible && true
|
|
28039
28039
|
] : channelScopes.map((cScope) => (
|
|
28040
28040
|
// Layer visible AND channel visible
|
|
28041
|
-
visible && channelCoordination[cScope][CoordinationType.SPATIAL_TARGET_C]
|
|
28041
|
+
visible && imageWrapperInstance.getChannelIndex(channelCoordination[cScope][CoordinationType.SPATIAL_TARGET_C])
|
|
28042
28042
|
));
|
|
28043
28043
|
const autoTargetResolution = imageWrapperInstance.getAutoTargetResolution();
|
|
28044
28044
|
const targetResolution = layerCoordination[CoordinationType.SPATIAL_TARGET_RESOLUTION];
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9,
|
|
1
|
+
import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-47d7a9c6.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
export {
|
|
@@ -25,14 +25,15 @@ export {
|
|
|
25
25
|
bh as getInitialCoordinationScopeName,
|
|
26
26
|
bg as getInitialCoordinationScopePrefix,
|
|
27
27
|
b9 as hconcat,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
bs as useComplexCoordination,
|
|
29
|
+
bv as useComplexCoordinationSecondary,
|
|
30
30
|
bp as useCoordination,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
bw as useCoordinationScopes,
|
|
32
|
+
bx as useCoordinationScopesBy,
|
|
33
33
|
bq as useGridItemSize,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
bt as useMultiCoordinationScopesNonNull,
|
|
35
|
+
bu as useMultiCoordinationScopesSecondaryNonNull,
|
|
36
|
+
br as usePageModeView,
|
|
36
37
|
b8 as vconcat,
|
|
37
38
|
bo as z
|
|
38
39
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-47d7a9c6.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
var LercDecode = { exports: {} };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-
|
|
1
|
+
import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-47d7a9c6.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
function workerBootstrap() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/dev",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
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.5.
|
|
20
|
-
"@vitessce/config": "3.5.
|
|
21
|
-
"@vitessce/constants": "3.5.
|
|
22
|
-
"@vitessce/export-utils": "3.5.
|
|
19
|
+
"@vitessce/all": "3.5.1",
|
|
20
|
+
"@vitessce/config": "3.5.1",
|
|
21
|
+
"@vitessce/constants": "3.5.1",
|
|
22
|
+
"@vitessce/export-utils": "3.5.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.0.0",
|