@vitessce/dev 3.6.18 → 3.7.0
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-BUSnHNS7.js → ReactNeuroglancer-Btj_WYRD.js} +1 -1
- package/dist/{deflate-slWLiOga.js → deflate-GVZsRApc.js} +1 -1
- package/dist/{higlass-Cq-3GxyK.js → higlass-yrrJnl2c.js} +1 -1
- package/dist/{index-BBDd_SYU.js → index-DvN0sI8S.js} +78 -71
- package/dist/{index-BVMYrt6n.js → index-UBpc7GeM.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-BC5wEBR0.js → jpeg-CUVKS95X.js} +1 -1
- package/dist/{lerc-DDVwAYcy.js → lerc-B5W05Jw1.js} +1 -1
- package/dist/{lzw-DpaJo2GK.js → lzw-DCIOwD8K.js} +1 -1
- package/dist/{packbits-BH1iePXX.js → packbits-Dt4Zs_GK.js} +1 -1
- package/dist/{raw-CO_uKRKR.js → raw-BlnZnXcF.js} +1 -1
- package/dist/{troika-three-text.esm-B-O_R43q.js → troika-three-text.esm-q8cvHOU4.js} +1 -1
- package/dist/{webimage-XNPvQnH9.js → webimage-GXOvK9UD.js} +1 -1
- package/package.json +6 -6
|
@@ -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, bm as require_root, bn as require_baseGetTag, bo as requireIsObjectLike, bp as requireIsObject, bq as requireEs6_symbol, br as requireDefineProperty, bs as require_toIobject, bt as require_objectGopd, bu as require_html, bv as require_domCreate, bw as require_library, bx as requireSymbol, by as require_objectPie, bz as require_has, bA as require_redefine, bB as require_objectAssign, bC as getAugmentedNamespace, bD 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, bm as require_root, bn as require_baseGetTag, bo as requireIsObjectLike, bp as requireIsObject, bq as requireEs6_symbol, br as requireDefineProperty, bs as require_toIobject, bt as require_objectGopd, bu as require_html, bv as require_domCreate, bw as require_library, bx as requireSymbol, by as require_objectPie, bz as require_has, bA as require_redefine, bB as require_objectAssign, bC as getAugmentedNamespace, bD as requirePropTypes, aI as jsxRuntimeExports } from "./index-DvN0sI8S.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-DvN0sI8S.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 { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-
|
|
4
|
+
import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-DvN0sI8S.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1330,7 +1330,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1330
1330
|
CoordinationType$2.HIERARCHY_LEVELS
|
|
1331
1331
|
]
|
|
1332
1332
|
};
|
|
1333
|
-
const version$6 = "3.
|
|
1333
|
+
const version$6 = "3.7.0";
|
|
1334
1334
|
const META_VERSION = {
|
|
1335
1335
|
version: version$6
|
|
1336
1336
|
};
|
|
@@ -223919,6 +223919,8 @@ const PIXELATED_TEXTURE_PARAMETERS = {
|
|
|
223919
223919
|
[GL$1.TEXTURE_WRAP_T]: GL$1.CLAMP_TO_EDGE
|
|
223920
223920
|
};
|
|
223921
223921
|
const GLSL_COLORMAPS = [
|
|
223922
|
+
// NOTE: the ordering of these is important,
|
|
223923
|
+
// as the shader code in bitmask-layer-beta-shaders hardcodes their indices.
|
|
223922
223924
|
"plasma",
|
|
223923
223925
|
"viridis",
|
|
223924
223926
|
"jet",
|
|
@@ -225690,22 +225692,22 @@ async function getDecoder(fileDirectory) {
|
|
|
225690
225692
|
const Decoder = await importFn();
|
|
225691
225693
|
return new Decoder(fileDirectory);
|
|
225692
225694
|
}
|
|
225693
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
225694
|
-
addDecoder(5, () => import("./lzw-
|
|
225695
|
+
addDecoder([void 0, 1], () => import("./raw-BlnZnXcF.js").then((m2) => m2.default));
|
|
225696
|
+
addDecoder(5, () => import("./lzw-DCIOwD8K.js").then((m2) => m2.default));
|
|
225695
225697
|
addDecoder(6, () => {
|
|
225696
225698
|
throw new Error("old style JPEG compression is not supported.");
|
|
225697
225699
|
});
|
|
225698
|
-
addDecoder(7, () => import("./jpeg-
|
|
225699
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
225700
|
-
addDecoder(32773, () => import("./packbits-
|
|
225700
|
+
addDecoder(7, () => import("./jpeg-CUVKS95X.js").then((m2) => m2.default));
|
|
225701
|
+
addDecoder([8, 32946], () => import("./deflate-GVZsRApc.js").then((m2) => m2.default));
|
|
225702
|
+
addDecoder(32773, () => import("./packbits-Dt4Zs_GK.js").then((m2) => m2.default));
|
|
225701
225703
|
addDecoder(
|
|
225702
225704
|
34887,
|
|
225703
|
-
() => import("./lerc-
|
|
225705
|
+
() => import("./lerc-B5W05Jw1.js").then(async (m2) => {
|
|
225704
225706
|
await m2.zstd.init();
|
|
225705
225707
|
return m2;
|
|
225706
225708
|
}).then((m2) => m2.default)
|
|
225707
225709
|
);
|
|
225708
|
-
addDecoder(50001, () => import("./webimage-
|
|
225710
|
+
addDecoder(50001, () => import("./webimage-GXOvK9UD.js").then((m2) => m2.default));
|
|
225709
225711
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
225710
225712
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
225711
225713
|
}
|
|
@@ -238799,7 +238801,7 @@ uniform float channelOpacities[7];
|
|
|
238799
238801
|
uniform bool channelIsStaticColorMode[7]; // TODO: should this be a single float?
|
|
238800
238802
|
uniform bool channelIsSetColorMode[7]; // TODO: should this be a single float?
|
|
238801
238803
|
|
|
238802
|
-
|
|
238804
|
+
uniform int channelColormapFuncIndices[7];
|
|
238803
238805
|
uniform float channelColormapRangeStarts[7];
|
|
238804
238806
|
uniform float channelColormapRangeEnds[7];
|
|
238805
238807
|
|
|
@@ -238865,7 +238867,30 @@ vec3 sampleAndGetData(sampler2D dataTex, vec2 coord, bool isFilled, float stroke
|
|
|
238865
238867
|
return vec3(clampedSampledData * float(isOn), sampledData, float(isEdge));
|
|
238866
238868
|
}
|
|
238867
238869
|
|
|
238868
|
-
|
|
238870
|
+
vec3 colormapFunc(float clampedScaledExpressionValue, int colormapIndex) {
|
|
238871
|
+
// Map indices of GLSL_COLORMAPS array to their function calls.
|
|
238872
|
+
// GLSL_COLORMAPS is defined in ./constants.js and needs to stay manually synced.
|
|
238873
|
+
// 0: 'plasma',
|
|
238874
|
+
// 1: 'viridis',
|
|
238875
|
+
// 2: 'jet',
|
|
238876
|
+
// 3: 'greys',
|
|
238877
|
+
|
|
238878
|
+
if (colormapIndex <= 0) {
|
|
238879
|
+
// This should also match -1, to account for a failed Array.indexOf lookup.
|
|
238880
|
+
return plasma(clampedScaledExpressionValue).rgb;
|
|
238881
|
+
}
|
|
238882
|
+
if (colormapIndex == 1) {
|
|
238883
|
+
return viridis(clampedScaledExpressionValue).rgb;
|
|
238884
|
+
}
|
|
238885
|
+
if (colormapIndex == 2) {
|
|
238886
|
+
return jet(clampedScaledExpressionValue).rgb;
|
|
238887
|
+
}
|
|
238888
|
+
if (colormapIndex == 3) {
|
|
238889
|
+
return greys(clampedScaledExpressionValue).rgb;
|
|
238890
|
+
}
|
|
238891
|
+
}
|
|
238892
|
+
|
|
238893
|
+
vec4 dataToColor(vec3 sampledDataAndIsEdge, bool isStaticColorMode, vec3 channelColor, float channelOpacity, float valueOffset, int colormapFuncIndex, float rangeStart, float rangeEnd, bool isSetColorMode, float setColorOffset) {
|
|
238869
238894
|
float clampedSampledDataAndIsOn = sampledDataAndIsEdge.x;
|
|
238870
238895
|
float sampledData = sampledDataAndIsEdge.y;
|
|
238871
238896
|
float isEdge = sampledDataAndIsEdge.z;
|
|
@@ -238909,7 +238934,7 @@ vec4 dataToColor(vec3 sampledDataAndIsEdge, bool isStaticColorMode, vec3 channel
|
|
|
238909
238934
|
}
|
|
238910
238935
|
|
|
238911
238936
|
|
|
238912
|
-
vec4 sampledColor = (1. - (float(isStaticColorMode) + float(isSetColorMode))) * vec4(
|
|
238937
|
+
vec4 sampledColor = (1. - (float(isStaticColorMode) + float(isSetColorMode))) * vec4(colormapFunc(clamp(scaledExpressionValue, 0.0, 1.0), colormapFuncIndex).rgb, channelOpacity) + float(isStaticColorMode) * vec4(channelColor.rgb, channelOpacity) + float(isSetColorMode) * vec4(setColor, channelOpacity);
|
|
238913
238938
|
// Only return a color if the data is non-zero.
|
|
238914
238939
|
|
|
238915
238940
|
return clampedSampledDataAndIsOn * isEdge * sampledColor;
|
|
@@ -238925,15 +238950,15 @@ void main() {
|
|
|
238925
238950
|
vec3 dat4 = sampleAndGetData(channel4, vTexCoord, channelsFilled[4], channelStrokeWidths[4], channelsVisible[4]);
|
|
238926
238951
|
vec3 dat5 = sampleAndGetData(channel5, vTexCoord, channelsFilled[5], channelStrokeWidths[5], channelsVisible[5]);
|
|
238927
238952
|
vec3 dat6 = sampleAndGetData(channel6, vTexCoord, channelsFilled[6], channelStrokeWidths[6], channelsVisible[6]);
|
|
238928
|
-
|
|
238929
|
-
vec4 val0 = dataToColor(dat0, channelIsStaticColorMode[0], color0, channelOpacities[0], valueTexOffsets[0], channelColormapRangeStarts[0], channelColormapRangeEnds[0], channelIsSetColorMode[0], colorTexOffsets[0]);
|
|
238930
|
-
vec4 val1 = dataToColor(dat1, channelIsStaticColorMode[1], color1, channelOpacities[1], valueTexOffsets[1], channelColormapRangeStarts[1], channelColormapRangeEnds[1], channelIsSetColorMode[1], colorTexOffsets[1]);
|
|
238931
|
-
vec4 val2 = dataToColor(dat2, channelIsStaticColorMode[2], color2, channelOpacities[2], valueTexOffsets[2], channelColormapRangeStarts[2], channelColormapRangeEnds[2], channelIsSetColorMode[2], colorTexOffsets[2]);
|
|
238932
|
-
vec4 val3 = dataToColor(dat3, channelIsStaticColorMode[3], color3, channelOpacities[3], valueTexOffsets[3], channelColormapRangeStarts[3], channelColormapRangeEnds[3], channelIsSetColorMode[3], colorTexOffsets[3]);
|
|
238933
|
-
vec4 val4 = dataToColor(dat4, channelIsStaticColorMode[4], color4, channelOpacities[4], valueTexOffsets[4], channelColormapRangeStarts[4], channelColormapRangeEnds[4], channelIsSetColorMode[4], colorTexOffsets[4]);
|
|
238934
|
-
vec4 val5 = dataToColor(dat5, channelIsStaticColorMode[5], color5, channelOpacities[5], valueTexOffsets[5], channelColormapRangeStarts[5], channelColormapRangeEnds[5], channelIsSetColorMode[5], colorTexOffsets[5]);
|
|
238935
|
-
vec4 val6 = dataToColor(dat6, channelIsStaticColorMode[6], color6, channelOpacities[6], valueTexOffsets[6], channelColormapRangeStarts[6], channelColormapRangeEnds[6], channelIsSetColorMode[6], colorTexOffsets[6]);
|
|
238936
|
-
|
|
238953
|
+
|
|
238954
|
+
vec4 val0 = dataToColor(dat0, channelIsStaticColorMode[0], color0, channelOpacities[0], valueTexOffsets[0], channelColormapFuncIndices[0], channelColormapRangeStarts[0], channelColormapRangeEnds[0], channelIsSetColorMode[0], colorTexOffsets[0]);
|
|
238955
|
+
vec4 val1 = dataToColor(dat1, channelIsStaticColorMode[1], color1, channelOpacities[1], valueTexOffsets[1], channelColormapFuncIndices[1], channelColormapRangeStarts[1], channelColormapRangeEnds[1], channelIsSetColorMode[1], colorTexOffsets[1]);
|
|
238956
|
+
vec4 val2 = dataToColor(dat2, channelIsStaticColorMode[2], color2, channelOpacities[2], valueTexOffsets[2], channelColormapFuncIndices[2], channelColormapRangeStarts[2], channelColormapRangeEnds[2], channelIsSetColorMode[2], colorTexOffsets[2]);
|
|
238957
|
+
vec4 val3 = dataToColor(dat3, channelIsStaticColorMode[3], color3, channelOpacities[3], valueTexOffsets[3], channelColormapFuncIndices[3], channelColormapRangeStarts[3], channelColormapRangeEnds[3], channelIsSetColorMode[3], colorTexOffsets[3]);
|
|
238958
|
+
vec4 val4 = dataToColor(dat4, channelIsStaticColorMode[4], color4, channelOpacities[4], valueTexOffsets[4], channelColormapFuncIndices[4], channelColormapRangeStarts[4], channelColormapRangeEnds[4], channelIsSetColorMode[4], colorTexOffsets[4]);
|
|
238959
|
+
vec4 val5 = dataToColor(dat5, channelIsStaticColorMode[5], color5, channelOpacities[5], valueTexOffsets[5], channelColormapFuncIndices[5], channelColormapRangeStarts[5], channelColormapRangeEnds[5], channelIsSetColorMode[5], colorTexOffsets[5]);
|
|
238960
|
+
vec4 val6 = dataToColor(dat6, channelIsStaticColorMode[6], color6, channelOpacities[6], valueTexOffsets[6], channelColormapFuncIndices[6], channelColormapRangeStarts[6], channelColormapRangeEnds[6], channelIsSetColorMode[6], colorTexOffsets[6]);
|
|
238961
|
+
|
|
238937
238962
|
// If all of the channels are "empty", then discard this pixel so that it is not considered during picking.
|
|
238938
238963
|
float emptyDat = 0.;
|
|
238939
238964
|
if(dat0.x == emptyDat && dat1.x == emptyDat && dat2.x == emptyDat && dat3.x == emptyDat && dat4.x == emptyDat && dat5.x == emptyDat && dat6.x == emptyDat) {
|
|
@@ -239088,14 +239113,10 @@ const defaultProps$1 = {
|
|
|
239088
239113
|
class BitmaskLayer2 extends XRLayer {
|
|
239089
239114
|
// eslint-disable-next-line class-methods-use-this
|
|
239090
239115
|
getShaders() {
|
|
239091
|
-
const { colormap } = this.props;
|
|
239092
239116
|
return {
|
|
239093
239117
|
fs,
|
|
239094
239118
|
vs,
|
|
239095
|
-
modules: [project32, picking]
|
|
239096
|
-
defines: {
|
|
239097
|
-
[COLORMAP_SHADER_PLACEHOLDER]: GLSL_COLORMAPS.includes(colormap) ? colormap : GLSL_COLORMAP_DEFAULT
|
|
239098
|
-
}
|
|
239119
|
+
modules: [project32, picking]
|
|
239099
239120
|
};
|
|
239100
239121
|
}
|
|
239101
239122
|
/**
|
|
@@ -239154,8 +239175,6 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
239154
239175
|
channelOpacities,
|
|
239155
239176
|
channelColors,
|
|
239156
239177
|
channelsVisible,
|
|
239157
|
-
// TODO: use `channelFeatureValueColormaps` in shader,
|
|
239158
|
-
// figure out how to call multiple GLSL colormap functions
|
|
239159
239178
|
channelFeatureValueColormaps,
|
|
239160
239179
|
channelFeatureValueColormapRanges,
|
|
239161
239180
|
channelIsStaticColorMode,
|
|
@@ -239216,6 +239235,12 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
239216
239235
|
// There are six texture entries on the shaders
|
|
239217
239236
|
MAX_CHANNELS - channelStrokeWidths.length
|
|
239218
239237
|
),
|
|
239238
|
+
channelColormapFuncIndices: padWithDefault(
|
|
239239
|
+
channelFeatureValueColormaps.map((d) => GLSL_COLORMAPS.indexOf(d)),
|
|
239240
|
+
0,
|
|
239241
|
+
// There are six texture entries on the shaders
|
|
239242
|
+
MAX_CHANNELS - channelFeatureValueColormaps.length
|
|
239243
|
+
),
|
|
239219
239244
|
channelColormapRangeStarts: padWithDefault(
|
|
239220
239245
|
channelFeatureValueColormapRanges.map((r3) => r3?.[0] || 0),
|
|
239221
239246
|
0,
|
|
@@ -247485,7 +247510,7 @@ function combineMissings(missings, featureAggregationStrategy) {
|
|
|
247485
247510
|
return null;
|
|
247486
247511
|
}
|
|
247487
247512
|
function Legend(props) {
|
|
247488
|
-
const { visible: visibleProp, positionRelative = false, highContrast = false, obsType, featureValueType, considerSelections = true, obsColorEncoding, featureSelection, featureLabelsMap, featureValueColormap, featureValueColormapRange, spatialChannelColor, spatialLayerColor, obsSetSelection, obsSetColor, featureAggregationStrategy, extent: extent2, missing, width: width2 = 100, height: height2 = 36, theme, showObsLabel = false, pointsVisible = true, contoursVisible = false, contoursFilled, contourPercentiles, contourThresholds } = props;
|
|
247513
|
+
const { visible: visibleProp, positionRelative = false, highContrast = false, obsType, featureValueType, considerSelections = true, obsColorEncoding, featureSelection, featureLabelsMap, featureValueColormap, featureValueColormapRange, spatialChannelColor, spatialLayerColor, obsSetSelection, obsSetColor, featureAggregationStrategy, extent: extent2, missing, width: width2 = 100, height: height2 = 36, maxHeight: maxHeight2 = null, theme, showObsLabel = false, pointsVisible = true, contoursVisible = false, contoursFilled, contourPercentiles, contourThresholds } = props;
|
|
247489
247514
|
const svgRef = useRef();
|
|
247490
247515
|
const { classes: classes2 } = useStyles$p();
|
|
247491
247516
|
const isDarkTheme = theme === "dark";
|
|
@@ -247497,6 +247522,8 @@ function Legend(props) {
|
|
|
247497
247522
|
const visible = visibleProp && (!considerSelections || obsColorEncoding === "geneSelection" && featureSelection && Array.isArray(featureSelection) && featureSelection.length >= 1 || isSetColor && obsSetSelection?.length > 0 && obsSetColor?.length > 0 || isStaticColor);
|
|
247498
247523
|
const levelZeroNames = useMemo$1(() => Array.from(new Set(obsSetSelection?.map((setPath) => setPath[0]) || [])), [obsSetSelection]);
|
|
247499
247524
|
const dynamicHeight = isSetColor && obsSetSelection ? levelZeroNames.length * titleHeight + obsSetSelection?.length * (rectHeight + rectMarginY) : height2 + (!pointsVisible && contoursVisible ? 25 : 0);
|
|
247525
|
+
const availHeight = maxHeight2 !== null ? Math.max(0, maxHeight2 - 4) : Infinity;
|
|
247526
|
+
const needsScroll = Number.isFinite(availHeight) && dynamicHeight > availHeight + 1;
|
|
247500
247527
|
useEffect(() => {
|
|
247501
247528
|
const domElement = svgRef.current;
|
|
247502
247529
|
const foregroundColor = highContrast ? "black" : isDarkTheme ? "white" : "black";
|
|
@@ -247628,7 +247655,9 @@ function Legend(props) {
|
|
|
247628
247655
|
[classes2.legendHighContrast]: highContrast,
|
|
247629
247656
|
[classes2.legendLowContrast]: !highContrast,
|
|
247630
247657
|
[classes2.legendInvisible]: !visible
|
|
247631
|
-
}),
|
|
247658
|
+
}), style: {
|
|
247659
|
+
...needsScroll ? { maxHeight: `${Math.floor(availHeight)}px`, overflowY: "auto" } : { maxHeight: void 0, overflowY: "visible" }
|
|
247660
|
+
}, children: jsxRuntimeExports.jsx("svg", { ref: svgRef, style: {
|
|
247632
247661
|
width: `${width2}px`,
|
|
247633
247662
|
height: `${dynamicHeight}px`
|
|
247634
247663
|
} }) });
|
|
@@ -247643,6 +247672,7 @@ const useStyles$o = makeStyles()(() => ({
|
|
|
247643
247672
|
function MultiLegend(props) {
|
|
247644
247673
|
const {
|
|
247645
247674
|
theme,
|
|
247675
|
+
maxHeight: maxHeight2,
|
|
247646
247676
|
// Segmentations
|
|
247647
247677
|
segmentationLayerScopes,
|
|
247648
247678
|
segmentationLayerCoordination,
|
|
@@ -247668,6 +247698,7 @@ function MultiLegend(props) {
|
|
|
247668
247698
|
const isStaticColor = obsColorEncoding === "spatialLayerColor";
|
|
247669
247699
|
const height2 = isStaticColor ? 20 : 36;
|
|
247670
247700
|
return spatialLayerVisible && legendVisible ? jsxRuntimeExports.jsx(Legend, {
|
|
247701
|
+
maxHeight: maxHeight2,
|
|
247671
247702
|
positionRelative: true,
|
|
247672
247703
|
highContrast: true,
|
|
247673
247704
|
showObsLabel: true,
|
|
@@ -247693,7 +247724,7 @@ function MultiLegend(props) {
|
|
|
247693
247724
|
const isStaticColor = obsColorEncoding === "spatialLayerColor";
|
|
247694
247725
|
const height2 = isStaticColor ? 20 : 36;
|
|
247695
247726
|
const featureLabelsMap = spotMultiFeatureLabels?.[layerScope]?.featureLabelsMap;
|
|
247696
|
-
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;
|
|
247727
|
+
return spatialLayerVisible && legendVisible ? jsxRuntimeExports.jsx(Legend, { maxHeight: maxHeight2, 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;
|
|
247697
247728
|
}) : null, segmentationLayerScopes ? reversedSegmentationLayerScopes.flatMap((layerScope) => {
|
|
247698
247729
|
const layerCoordination = segmentationLayerCoordination[0][layerScope];
|
|
247699
247730
|
const channelScopes = segmentationChannelScopesByLayer[layerScope];
|
|
@@ -247707,6 +247738,7 @@ function MultiLegend(props) {
|
|
|
247707
247738
|
const isStaticColor = obsColorEncoding === "spatialChannelColor";
|
|
247708
247739
|
const height2 = isStaticColor ? 20 : 36;
|
|
247709
247740
|
return spatialLayerVisible && spatialChannelVisible && legendVisible ? jsxRuntimeExports.jsx(Legend, {
|
|
247741
|
+
maxHeight: maxHeight2,
|
|
247710
247742
|
positionRelative: true,
|
|
247711
247743
|
highContrast: true,
|
|
247712
247744
|
showObsLabel: true,
|
|
@@ -269210,7 +269242,7 @@ class ErrorBoundary2 extends React__default.Component {
|
|
|
269210
269242
|
}
|
|
269211
269243
|
}
|
|
269212
269244
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
269213
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
269245
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-UBpc7GeM.js");
|
|
269214
269246
|
return { default: SpatialWrapper2 };
|
|
269215
269247
|
});
|
|
269216
269248
|
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 }) }) }) }));
|
|
@@ -269818,6 +269850,7 @@ function SpatialSubscriber(props) {
|
|
|
269818
269850
|
{
|
|
269819
269851
|
// Fix to dark theme due to black background of spatial plot.
|
|
269820
269852
|
theme: "dark",
|
|
269853
|
+
maxHeight: height2,
|
|
269821
269854
|
// Segmentations
|
|
269822
269855
|
segmentationLayerScopes,
|
|
269823
269856
|
segmentationLayerCoordination,
|
|
@@ -278761,19 +278794,20 @@ const useStyles$f = makeStyles()(() => ({
|
|
|
278761
278794
|
}
|
|
278762
278795
|
}));
|
|
278763
278796
|
function SpotLayerEllipsisMenu(props) {
|
|
278764
|
-
const { strokeWidth, setStrokeWidth, filled, setFilled, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible } = props;
|
|
278797
|
+
const { strokeWidth, setStrokeWidth, filled, setFilled, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormap, setFeatureValueColormap, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible } = props;
|
|
278765
278798
|
const [open2, setOpen] = useState(false);
|
|
278766
278799
|
const { classes: classes2 } = useStyles$f();
|
|
278767
278800
|
const { classes: selectClasses2 } = useSelectStyles();
|
|
278768
278801
|
const { classes: menuClasses } = useEllipsisMenuStyles();
|
|
278769
278802
|
const filledId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278770
278803
|
const strokeWidthId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278804
|
+
const colorEncodingId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278771
278805
|
const quantitativeColormapId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278772
278806
|
const colormapRangeId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278773
278807
|
const tooltipsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278774
278808
|
const crosshairsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278775
278809
|
const legendVisibleId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278776
|
-
return jsxRuntimeExports.jsxs(PopperMenu, { open: open2, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open spot layer options menu", children: [jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: filledId, children: "Filled: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: filled, onChange: (e3, v) => setFilled(v), slotProps: { input: { id: filledId, "aria-label": "Toggle between filled and stroked spots" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: strokeWidthId, children: "Stroke Width:" }), jsxRuntimeExports.jsx(Slider, { disabled: filled, value: strokeWidth, min: 0.01, max: 5, step: 0.01, onChange: (e3, v) => setStrokeWidth(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: strokeWidthId, "aria-label": "Stroke width slider" })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor:
|
|
278810
|
+
return jsxRuntimeExports.jsxs(PopperMenu, { open: open2, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open spot layer options menu", children: [jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: filledId, children: "Filled: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: filled, onChange: (e3, v) => setFilled(v), slotProps: { input: { id: filledId, "aria-label": "Toggle between filled and stroked spots" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: strokeWidthId, children: "Stroke Width:" }), jsxRuntimeExports.jsx(Slider, { disabled: filled, value: strokeWidth, min: 0.01, max: 5, step: 0.01, onChange: (e3, v) => setStrokeWidth(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: strokeWidthId, "aria-label": "Stroke width slider" })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colorEncodingId, children: "Color Encoding: " }), jsxRuntimeExports.jsxs(NativeSelect, { onChange: (e3) => setObsColorEncoding(e3.target.value), value: obsColorEncoding, inputProps: { id: colorEncodingId, "aria-label": "Color encoding selector" }, classes: { root: selectClasses2.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "spatialLayerColor", children: "Static Color" }), jsxRuntimeExports.jsx("option", { value: "geneSelection", children: "Feature Value" }), jsxRuntimeExports.jsx("option", { value: "cellSetSelection", children: "Set Selection" })] })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: quantitativeColormapId, children: "Colormap: " }), jsxRuntimeExports.jsx(NativeSelect, { onChange: (e3) => setFeatureValueColormap(e3.target.value), value: featureValueColormap, inputProps: { id: quantitativeColormapId, "aria-label": "Colormap selector" }, classes: { root: selectClasses2.selectRoot }, children: GLSL_COLORMAPS.map((cmap) => jsxRuntimeExports.jsx("option", { value: cmap, children: cmap }, cmap)) })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colormapRangeId, children: "Colormap Range: " }), jsxRuntimeExports.jsx(Slider, { disabled: obsColorEncoding !== "geneSelection", value: featureValueColormapRange, min: 0, max: 1, step: 0.01, onChange: (e3, v) => setFeatureValueColormapRange(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: colormapRangeId, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider" })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: tooltipsVisibleId, children: "Tooltips Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: tooltipsVisible, onChange: (e3, v) => setTooltipsVisible(v), slotProps: { input: { id: tooltipsVisibleId, "aria-label": "Toggle tooltip visibility" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: crosshairsVisibleId, children: "Tooltip Crosshairs Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: tooltipCrosshairsVisible, onChange: (e3, v) => setTooltipCrosshairsVisible(v), slotProps: { input: { id: crosshairsVisibleId, "aria-label": "Toggle tooltip crosshair visibility" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: legendVisibleId, children: "Legend Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: legendVisible, onChange: (e3, v) => setLegendVisible(v), slotProps: { input: { id: legendVisibleId, "aria-label": "Toggle legend visibility" } } })] })] });
|
|
278777
278811
|
}
|
|
278778
278812
|
function SpotLayerController(props) {
|
|
278779
278813
|
const { theme, layerScope, layerCoordination, setLayerCoordination, palette = null } = props;
|
|
@@ -278792,7 +278826,7 @@ function SpotLayerController(props) {
|
|
|
278792
278826
|
setVisible(nextVisible);
|
|
278793
278827
|
}, [visible, setVisible]);
|
|
278794
278828
|
const handleOpacityChange = useCallback((e3, v) => setOpacity2(v), [setOpacity2]);
|
|
278795
|
-
return jsxRuntimeExports.jsx(Grid$1, { className: lcClasses.layerControllerGrid, children: jsxRuntimeExports.jsx(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 spot 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(SpotLayerEllipsisMenu, { filled, setFilled, strokeWidth, setStrokeWidth, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(SvgSpots, { className: classes2.layerTypeSpotIcon }) })] }) }) });
|
|
278829
|
+
return jsxRuntimeExports.jsx(Grid$1, { className: lcClasses.layerControllerGrid, children: jsxRuntimeExports.jsx(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 spot 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(SpotLayerEllipsisMenu, { filled, setFilled, strokeWidth, setStrokeWidth, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormap, setFeatureValueColormap, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(SvgSpots, { className: classes2.layerTypeSpotIcon }) })] }) }) });
|
|
278796
278830
|
}
|
|
278797
278831
|
const useStyles$e = makeStyles()(() => ({
|
|
278798
278832
|
layerTypePointIcon: {
|
|
@@ -278846,52 +278880,23 @@ const useStyles$d = makeStyles()(() => ({
|
|
|
278846
278880
|
}
|
|
278847
278881
|
}));
|
|
278848
278882
|
function SegmentationChannelEllipsisMenu(props) {
|
|
278849
|
-
const { obsType, featureType, featureValueType, strokeWidth, setStrokeWidth, filled, setFilled, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible } = props;
|
|
278883
|
+
const { obsType, featureType, featureValueType, strokeWidth, setStrokeWidth, filled, setFilled, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormap, setFeatureValueColormap, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible } = props;
|
|
278850
278884
|
const [open2, setOpen] = useState(false);
|
|
278851
278885
|
const { classes: classes2 } = useStyles$d();
|
|
278852
278886
|
const { classes: selectClasses2 } = useSelectStyles();
|
|
278853
278887
|
const { classes: menuClasses } = useEllipsisMenuStyles();
|
|
278854
278888
|
const filledId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278855
278889
|
const strokeWidthId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278890
|
+
const colorEncodingId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278856
278891
|
const quantitativeColormapId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278857
278892
|
const colormapRangeId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278858
278893
|
const tooltipsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278859
278894
|
const crosshairsVisibleId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278860
278895
|
const legendVisibleId = $bdb11010cef70236$export$f680877a34711e37();
|
|
278861
|
-
return jsxRuntimeExports.jsxs(PopperMenu, { open: open2, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open segmentation channel options menu", children: [jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: filledId, children: "Filled: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: filled, onChange: (e3, v) => setFilled(v), slotProps: { input: { id: filledId, "aria-label": "Toggle between filled and stroked segmentations" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: strokeWidthId, children: "Stroke Width:" }), jsxRuntimeExports.jsx(Slider, { disabled: filled, value: strokeWidth, min: 0.01, max: 5, step: 0.01, onChange: (e3, v) => setStrokeWidth(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: strokeWidthId, "aria-label": "Stroke width slider" })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor:
|
|
278896
|
+
return jsxRuntimeExports.jsxs(PopperMenu, { open: open2, setOpen, buttonIcon: jsxRuntimeExports.jsx(MoreVertIcon, {}), buttonClassName: menuClasses.imageLayerMenuButton, containerClassName: menuClasses.imageLayerPopperContainer, withPaper: true, "aria-label": "Open segmentation channel options menu", children: [jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: filledId, children: "Filled: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: filled, onChange: (e3, v) => setFilled(v), slotProps: { input: { id: filledId, "aria-label": "Toggle between filled and stroked segmentations" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: strokeWidthId, children: "Stroke Width:" }), jsxRuntimeExports.jsx(Slider, { disabled: filled, value: strokeWidth, min: 0.01, max: 5, step: 0.01, onChange: (e3, v) => setStrokeWidth(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: strokeWidthId, "aria-label": "Stroke width slider" })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colorEncodingId, children: "Color Encoding: " }), jsxRuntimeExports.jsxs(NativeSelect, { onChange: (e3) => setObsColorEncoding(e3.target.value), value: obsColorEncoding, inputProps: { id: colorEncodingId, "aria-label": "Color encoding selector" }, classes: { root: selectClasses2.selectRoot }, children: [jsxRuntimeExports.jsx("option", { value: "spatialChannelColor", children: "Static Color" }), jsxRuntimeExports.jsx("option", { value: "geneSelection", children: "Feature Value" }), jsxRuntimeExports.jsx("option", { value: "cellSetSelection", children: "Set Selection" })] })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: quantitativeColormapId, children: "Colormap: " }), jsxRuntimeExports.jsx(NativeSelect, { onChange: (e3) => setFeatureValueColormap(e3.target.value), value: featureValueColormap, inputProps: { id: quantitativeColormapId, "aria-label": "Colormap selector" }, classes: { root: selectClasses2.selectRoot }, children: GLSL_COLORMAPS.map((cmap) => jsxRuntimeExports.jsx("option", { value: cmap, children: cmap }, cmap)) })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: colormapRangeId, children: "Colormap Range: " }), jsxRuntimeExports.jsx(Slider, { disabled: obsColorEncoding !== "geneSelection", value: featureValueColormapRange, min: 0, max: 1, step: 0.01, onChange: (e3, v) => setFeatureValueColormapRange(v), className: menuClasses.menuItemSlider, orientation: "horizontal", id: colormapRangeId, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider" })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: tooltipsVisibleId, children: "Tooltips Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: tooltipsVisible, onChange: (e3, v) => setTooltipsVisible(v), slotProps: { input: { id: tooltipsVisibleId, "aria-label": "Toggle tooltip visibility" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: crosshairsVisibleId, children: "Tooltip Crosshairs Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: tooltipCrosshairsVisible, onChange: (e3, v) => setTooltipCrosshairsVisible(v), slotProps: { input: { id: crosshairsVisibleId, "aria-label": "Toggle tooltip crosshair visibility" } } })] }), jsxRuntimeExports.jsxs(MenuItem, { dense: true, disableGutters: true, children: [jsxRuntimeExports.jsx("label", { className: menuClasses.imageLayerMenuLabel, htmlFor: legendVisibleId, children: "Legend Visible: " }), jsxRuntimeExports.jsx(Checkbox$1, { color: "primary", className: menuClasses.menuItemCheckbox, checked: legendVisible, onChange: (e3, v) => setLegendVisible(v), slotProps: { input: { id: legendVisibleId, "aria-label": "Toggle legend visibility" } } })] })] });
|
|
278862
278897
|
}
|
|
278863
278898
|
function SegmentationChannelController(props) {
|
|
278864
|
-
const {
|
|
278865
|
-
label: label2,
|
|
278866
|
-
theme,
|
|
278867
|
-
obsType,
|
|
278868
|
-
featureType,
|
|
278869
|
-
featureValueType,
|
|
278870
|
-
opacity: opacity2,
|
|
278871
|
-
setOpacity: setOpacity2,
|
|
278872
|
-
visible,
|
|
278873
|
-
setVisible,
|
|
278874
|
-
color: color2,
|
|
278875
|
-
setColor: setColor2,
|
|
278876
|
-
palette = null,
|
|
278877
|
-
filled,
|
|
278878
|
-
setFilled,
|
|
278879
|
-
strokeWidth,
|
|
278880
|
-
setStrokeWidth,
|
|
278881
|
-
featureSelection,
|
|
278882
|
-
obsColorEncoding,
|
|
278883
|
-
featureValueColormap,
|
|
278884
|
-
featureValueColormapRange,
|
|
278885
|
-
setObsColorEncoding,
|
|
278886
|
-
// setFeatureValueColormap, // TODO
|
|
278887
|
-
setFeatureValueColormapRange,
|
|
278888
|
-
tooltipsVisible,
|
|
278889
|
-
setTooltipsVisible,
|
|
278890
|
-
tooltipCrosshairsVisible,
|
|
278891
|
-
setTooltipCrosshairsVisible,
|
|
278892
|
-
legendVisible,
|
|
278893
|
-
setLegendVisible
|
|
278894
|
-
} = props;
|
|
278899
|
+
const { label: label2, theme, obsType, featureType, featureValueType, opacity: opacity2, setOpacity: setOpacity2, visible, setVisible, color: color2, setColor: setColor2, palette = null, filled, setFilled, strokeWidth, setStrokeWidth, featureSelection, obsColorEncoding, featureValueColormap, featureValueColormapRange, setObsColorEncoding, setFeatureValueColormap, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible } = props;
|
|
278895
278900
|
const visibleSetting = typeof visible === "boolean" ? visible : true;
|
|
278896
278901
|
const Visibility = useMemo$1(() => visibleSetting ? VisibilityIcon : VisibilityOffIcon, [visibleSetting]);
|
|
278897
278902
|
const isStaticColor = obsColorEncoding === "spatialChannelColor";
|
|
@@ -278904,7 +278909,7 @@ function SegmentationChannelController(props) {
|
|
|
278904
278909
|
setVisible(nextVisible);
|
|
278905
278910
|
}, [visible, setVisible]);
|
|
278906
278911
|
const handleOpacityChange = useCallback((e3, v) => setOpacity2(v), [setOpacity2]);
|
|
278907
|
-
return jsxRuntimeExports.jsx(Grid$1, { className: lcClasses.layerControllerGrid, children: jsxRuntimeExports.jsx(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 channel 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: capitalize$3(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(SegmentationChannelEllipsisMenu, { obsType, featureType, featureValueType, strokeWidth, setStrokeWidth, filled, setFilled, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(SvgVector, { className: classes2.layerTypeSegmentationIcon }) })] }) }) });
|
|
278912
|
+
return jsxRuntimeExports.jsx(Grid$1, { className: lcClasses.layerControllerGrid, children: jsxRuntimeExports.jsx(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 channel 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: capitalize$3(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(SegmentationChannelEllipsisMenu, { obsType, featureType, featureValueType, strokeWidth, setStrokeWidth, filled, setFilled, featureSelection, obsColorEncoding, setObsColorEncoding, featureValueColormap, setFeatureValueColormap, featureValueColormapRange, setFeatureValueColormapRange, tooltipsVisible, setTooltipsVisible, tooltipCrosshairsVisible, setTooltipCrosshairsVisible, legendVisible, setLegendVisible }) }), jsxRuntimeExports.jsx(Grid$1, { size: 1, children: jsxRuntimeExports.jsx(SvgVector, { className: classes2.layerTypeSegmentationIcon }) })] }) }) });
|
|
278908
278913
|
}
|
|
278909
278914
|
function SegmentationLayerController(props) {
|
|
278910
278915
|
const { theme, layerScope, layerCoordination, setLayerCoordination, channelScopes, channelCoordination, setChannelCoordination } = props;
|
|
@@ -281315,7 +281320,7 @@ function HiglassGlobalStyles(props) {
|
|
|
281315
281320
|
}
|
|
281316
281321
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
281317
281322
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
281318
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
281323
|
+
const { HiGlassComponent } = await import("./higlass-yrrJnl2c.js");
|
|
281319
281324
|
return { default: HiGlassComponent };
|
|
281320
281325
|
});
|
|
281321
281326
|
const HG_SIZE = 800;
|
|
@@ -284260,7 +284265,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
284260
284265
|
const { classes: classes2 } = props;
|
|
284261
284266
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
284262
284267
|
}
|
|
284263
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
284268
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-Btj_WYRD.js"));
|
|
284264
284269
|
function createWorker() {
|
|
284265
284270
|
return new WorkerFactory();
|
|
284266
284271
|
}
|
|
@@ -342182,6 +342187,7 @@ class OmeZarrAsObsSegmentationsLoader extends OmeZarrLoader {
|
|
|
342182
342187
|
spatialSegmentationFilled: true,
|
|
342183
342188
|
spatialSegmentationStrokeWidth: 1,
|
|
342184
342189
|
obsHighlight: null,
|
|
342190
|
+
featureValueColormap: GLSL_COLORMAP_DEFAULT,
|
|
342185
342191
|
...obsTypesFromChannelNames ? { obsType: channelObj.name } : {}
|
|
342186
342192
|
}));
|
|
342187
342193
|
const coordinationValues = {
|
|
@@ -342476,7 +342482,8 @@ class SpatialDataObsSegmentationsLoader extends AbstractTwoStepLoader {
|
|
|
342476
342482
|
obsColorEncoding: "spatialChannelColor",
|
|
342477
342483
|
spatialSegmentationFilled: true,
|
|
342478
342484
|
spatialSegmentationStrokeWidth: 1,
|
|
342479
|
-
obsHighlight: null
|
|
342485
|
+
obsHighlight: null,
|
|
342486
|
+
featureValueColormap: GLSL_COLORMAP_DEFAULT
|
|
342480
342487
|
}];
|
|
342481
342488
|
const coordinationValues = {
|
|
342482
342489
|
segmentationLayer: CL([
|
|
@@ -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-DvN0sI8S.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-q8cvHOU4.js"), []);
|
|
23641
23641
|
const invalidate2 = useThree(({
|
|
23642
23642
|
invalidate: invalidate3
|
|
23643
23643
|
}) => invalidate3);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bU, bP, bN, bO, bY, bZ, bQ, c5, c3, c1, c4, c2, bM, c0, bR, bL, bK, bW, bV, bX, b$, b_, bT, ca, cd, c7, ce, cf, c8, cb, cc, c9, bS, c6 } from "./index-
|
|
1
|
+
import { bU, bP, bN, bO, bY, bZ, bQ, c5, c3, c1, c4, c2, bM, c0, bR, bL, bK, bW, bV, bX, b$, b_, bT, ca, cd, c7, ce, cf, c8, cb, cc, c9, bS, c6 } from "./index-DvN0sI8S.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
bU as CoordinationLevel,
|
|
@@ -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-DvN0sI8S.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bE as MeshDistanceMaterial, bF as MeshDepthMaterial, bG as RGBADepthPacking, aB as UniformsUtils, bH 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, bI as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bJ as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bE as MeshDistanceMaterial, bF as MeshDepthMaterial, bG as RGBADepthPacking, aB as UniformsUtils, bH 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, bI as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bJ as InstancedBufferAttribute } from "./index-DvN0sI8S.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.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vitessce/all": "3.
|
|
20
|
-
"@vitessce/config": "3.
|
|
21
|
-
"@vitessce/constants": "3.
|
|
22
|
-
"@vitessce/export-utils": "3.
|
|
19
|
+
"@vitessce/all": "3.7.0",
|
|
20
|
+
"@vitessce/config": "3.7.0",
|
|
21
|
+
"@vitessce/constants": "3.7.0",
|
|
22
|
+
"@vitessce/export-utils": "3.7.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.5.0",
|
|
26
26
|
"cross-env": "^7.0.0",
|
|
27
27
|
"rimraf": "^3.0.2",
|
|
28
|
-
"vite": "^
|
|
28
|
+
"vite": "^7.0.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|