@vitessce/all 3.6.9 → 3.6.11

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.
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-czE8px9n.js";
1
+ import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-Dr34Nsn3.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-czE8px9n.js";
2
+ import { aP as BaseDecoder } from "./index-Dr34Nsn3.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-czE8px9n.js";
4
+ import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-Dr34Nsn3.js";
5
5
  var promise = {};
6
6
  var hasRequiredPromise;
7
7
  function requirePromise() {
@@ -207897,7 +207897,8 @@ const PIXELATED_TEXTURE_PARAMETERS = {
207897
207897
  const GLSL_COLORMAPS = [
207898
207898
  "plasma",
207899
207899
  "viridis",
207900
- "jet"
207900
+ "jet",
207901
+ "greys"
207901
207902
  ];
207902
207903
  const GLSL_COLORMAP_DEFAULT = "plasma";
207903
207904
  const COLORMAP_SHADER_PLACEHOLDER = "COLORMAP_FUNC";
@@ -209668,22 +209669,22 @@ async function getDecoder(fileDirectory) {
209668
209669
  const Decoder = await importFn();
209669
209670
  return new Decoder(fileDirectory);
209670
209671
  }
209671
- addDecoder([void 0, 1], () => import("./raw-lwr9XUzN.js").then((m2) => m2.default));
209672
- addDecoder(5, () => import("./lzw-DtyOGnJ3.js").then((m2) => m2.default));
209672
+ addDecoder([void 0, 1], () => import("./raw-BloA4686.js").then((m2) => m2.default));
209673
+ addDecoder(5, () => import("./lzw-DhNvTBt-.js").then((m2) => m2.default));
209673
209674
  addDecoder(6, () => {
209674
209675
  throw new Error("old style JPEG compression is not supported.");
209675
209676
  });
209676
- addDecoder(7, () => import("./jpeg-HoY3tQW-.js").then((m2) => m2.default));
209677
- addDecoder([8, 32946], () => import("./deflate-4_5LP3c7.js").then((m2) => m2.default));
209678
- addDecoder(32773, () => import("./packbits-BomSh4rs.js").then((m2) => m2.default));
209677
+ addDecoder(7, () => import("./jpeg-BchP2GI5.js").then((m2) => m2.default));
209678
+ addDecoder([8, 32946], () => import("./deflate-DlNs33aU.js").then((m2) => m2.default));
209679
+ addDecoder(32773, () => import("./packbits-C6We0BcA.js").then((m2) => m2.default));
209679
209680
  addDecoder(
209680
209681
  34887,
209681
- () => import("./lerc-DoPOl6hh.js").then(async (m2) => {
209682
+ () => import("./lerc-Yewj5Mkt.js").then(async (m2) => {
209682
209683
  await m2.zstd.init();
209683
209684
  return m2;
209684
209685
  }).then((m2) => m2.default)
209685
209686
  );
209686
- addDecoder(50001, () => import("./webimage-cJdBwvlo.js").then((m2) => m2.default));
209687
+ addDecoder(50001, () => import("./webimage-DyPRDNMg.js").then((m2) => m2.default));
209687
209688
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
209688
209689
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
209689
209690
  }
@@ -231817,6 +231818,9 @@ function Legend(props) {
231817
231818
  featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw[0];
231818
231819
  } else if (featureAggregationStrategy === "last") {
231819
231820
  featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw.at(-1);
231821
+ } else if (typeof featureAggregationStrategy === "number") {
231822
+ const i2 = featureAggregationStrategy;
231823
+ featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw[i2];
231820
231824
  } else if (featureAggregationStrategy === "sum") {
231821
231825
  featureSelectionLabelRawStr = "Sum of features";
231822
231826
  } else if (featureAggregationStrategy === "mean") {
@@ -232231,7 +232235,7 @@ function EmbeddingScatterplotSubscriber(props) {
232231
232235
  return [1, 10, 100];
232232
232236
  }, [contourPercentiles, sortedWeights]);
232233
232237
  const circleInfo = useMemo$1(() => {
232234
- if (!originalViewState || !width2 || !height2) {
232238
+ if (!originalViewState || !width2 || !height2 || !xRange || !yRange) {
232235
232239
  return null;
232236
232240
  }
232237
232241
  const center2 = [
@@ -232242,7 +232246,8 @@ function EmbeddingScatterplotSubscriber(props) {
232242
232246
  if (!(typeof scaleFactor === "number" && typeof center2[0] === "number" && typeof center2[1] === "number") || Number.isNaN(scaleFactor)) {
232243
232247
  return null;
232244
232248
  }
232245
- const radius2 = Math.min(width2, height2) / 2 / scaleFactor;
232249
+ const size2 = Math.max(xRange, yRange);
232250
+ const radius2 = size2 * Math.sqrt(2) / 2 * 0.8;
232246
232251
  const numPoints = 96;
232247
232252
  const options = { steps: numPoints, units: "degrees" };
232248
232253
  const circlePolygon = circle$5(center2, radius2, options);
@@ -232252,7 +232257,7 @@ function EmbeddingScatterplotSubscriber(props) {
232252
232257
  polygon: circlePolygon,
232253
232258
  steps: numPoints
232254
232259
  };
232255
- }, [originalViewState, width2, height2]);
232260
+ }, [originalViewState, width2, height2, xRange, yRange]);
232256
232261
  const [alignedEmbeddingIndex, alignedEmbeddingData] = useMemo$1(() => {
232257
232262
  if ((obsEmbedding == null ? void 0 : obsEmbedding.data) && obsEmbeddingIndex && matrixObsIndex) {
232258
232263
  const matrixIndexMap = new Map(matrixObsIndex.map((key2, i2) => [key2, i2]));
@@ -253488,7 +253493,7 @@ class ErrorBoundary extends React__default.Component {
253488
253493
  }
253489
253494
  }
253490
253495
  const LazySpatialThree = React__default.lazy(async () => {
253491
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-De563thb.js");
253496
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-xo9xcZLg.js");
253492
253497
  return { default: SpatialWrapper2 };
253493
253498
  });
253494
253499
  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 }) }) }) }));
@@ -265329,7 +265334,7 @@ function HiglassGlobalStyles(props) {
265329
265334
  }
265330
265335
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
265331
265336
  const LazyHiGlassComponent = React__default.lazy(async () => {
265332
- const { HiGlassComponent } = await import("./higlass-BQOSGkoX.js");
265337
+ const { HiGlassComponent } = await import("./higlass-cF4tD6Th.js");
265333
265338
  return { default: HiGlassComponent };
265334
265339
  });
265335
265340
  const HG_SIZE = 800;
@@ -268273,7 +268278,7 @@ function NeuroglancerGlobalStyles(props) {
268273
268278
  const { classes: classes2 } = props;
268274
268279
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
268275
268280
  }
268276
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BZs3FSdZ.js"));
268281
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-ByxOvkt_.js"));
268277
268282
  function createWorker() {
268278
268283
  return new WorkerFactory();
268279
268284
  }
@@ -321761,26 +321766,7 @@ function ExpressionHistogramSubscriber(props) {
321761
321766
  return jsxRuntimeExports.jsx(TitleInfo, { title: `Histogram${firstGeneSelected ? ` (${firstGeneSelected})` : ""}`, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, helpText, errors, children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes2.vegaContainer, children: jsxRuntimeExports.jsx(ExpressionHistogram, { geneSelection, obsType, featureType, featureValueType, onSelect, data: data2, theme, width: width2, height: height2 }) }) });
321762
321767
  }
321763
321768
  function DotPlot(props) {
321764
- const {
321765
- isStratified,
321766
- transpose: transpose2,
321767
- data: rawData,
321768
- theme,
321769
- width: width2,
321770
- height: height2,
321771
- marginRight,
321772
- marginBottom,
321773
- obsType,
321774
- sampleType,
321775
- keyLength = 36,
321776
- featureType,
321777
- featureValueType,
321778
- featureValueTransformName,
321779
- // TODO: re-enable featureValueColormap coordination
321780
- // featureValueColormap,
321781
- obsSetSelection,
321782
- obsSetColor
321783
- } = props;
321769
+ const { isStratified, transpose: transpose2, data: rawData, theme, width: width2, height: height2, marginRight, marginBottom, obsType, sampleType, keyLength = 36, featureType, featureValueType, featureValueTransformName, featureValueColormap, obsSetSelection, obsSetColor, onDotSelect } = props;
321784
321770
  const vegaContainerRef = useRef();
321785
321771
  const data2 = rawData.map((d) => ({
321786
321772
  ...d,
@@ -321818,6 +321804,26 @@ function DotPlot(props) {
321818
321804
  // Reference: https://vega.github.io/vega-lite/docs/mark.html
321819
321805
  opacity: 1
321820
321806
  },
321807
+ params: [
321808
+ {
321809
+ name: "dot_select",
321810
+ select: {
321811
+ type: "point",
321812
+ on: "click[event.shiftKey === false]",
321813
+ fields: ["feature"],
321814
+ empty: "none"
321815
+ }
321816
+ },
321817
+ {
321818
+ name: "shift_dot_select",
321819
+ select: {
321820
+ type: "point",
321821
+ on: "click[event.shiftKey]",
321822
+ fields: ["feature"],
321823
+ empty: "none"
321824
+ }
321825
+ }
321826
+ ],
321821
321827
  encoding: {
321822
321828
  [transpose2 ? "y" : "x"]: {
321823
321829
  field: "keyFeature",
@@ -321839,8 +321845,7 @@ function DotPlot(props) {
321839
321845
  type: "quantitative",
321840
321846
  title: meanTransform,
321841
321847
  scale: {
321842
- // scheme: featureValueColormap,
321843
- scheme: "greys"
321848
+ scheme: featureValueColormap
321844
321849
  },
321845
321850
  legend: {
321846
321851
  direction: "horizontal",
@@ -321882,6 +321887,14 @@ function DotPlot(props) {
321882
321887
  } : {}
321883
321888
  }
321884
321889
  };
321890
+ const handleSignal = (name2, value2) => {
321891
+ if (name2 === "dot_select") {
321892
+ onDotSelect(value2.feature);
321893
+ } else if (name2 === "shift_dot_select") {
321894
+ onDotSelect(value2.feature, true);
321895
+ }
321896
+ };
321897
+ const signalListeners = { dot_select: handleSignal, shift_dot_select: handleSignal };
321885
321898
  const getTooltipText = useCallback((item) => ({
321886
321899
  [`${capitalize$3(featureType)}`]: item.datum.feature,
321887
321900
  [`${capitalize$3(obsType)} Set`]: item.datum.group,
@@ -321906,7 +321919,7 @@ function DotPlot(props) {
321906
321919
  useEffect(() => {
321907
321920
  setVegaRenderIncrement((prev2) => prev2 + 1);
321908
321921
  }, [rawData]);
321909
- return jsxRuntimeExports.jsx("div", { ref: vegaContainerRef, children: jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, onNewView, getTooltipText, renderer: "svg" }) });
321922
+ return jsxRuntimeExports.jsx("div", { ref: vegaContainerRef, children: jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, onNewView, signalListeners, getTooltipText, renderer: "svg" }) });
321910
321923
  }
321911
321924
  function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, expressionData, obsIndex, cellSets, additionalCellSets, geneSelection, cellSetSelection, cellSetColor, featureValueTransform, featureValueTransformCoefficient, posThreshold, featureLabelsMap) {
321912
321925
  const mergedCellSets = useMemo$1(() => mergeObsSets(cellSets, additionalCellSets), [cellSets, additionalCellSets]);
@@ -321962,7 +321975,24 @@ function DotPlotSubscriber(props) {
321962
321975
  const { coordinationScopes, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
321963
321976
  const { classes: classes2 } = useStyles$3();
321964
321977
  const loaders = useLoaders();
321965
- const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, featureValueTransform, featureValueTransformCoefficient, featureValuePositivityThreshold: posThreshold, featureValueColormap, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, sampleType, sampleSetSelection }, { setFeatureValueTransform, setFeatureValueTransformCoefficient, setFeatureValuePositivityThreshold: setPosThreshold, setFeatureValueColormap }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DOT_PLOT], coordinationScopes);
321978
+ const [{
321979
+ dataset,
321980
+ obsType,
321981
+ featureType,
321982
+ featureValueType,
321983
+ featureSelection: geneSelection,
321984
+ featureValueTransform,
321985
+ featureValueTransformCoefficient,
321986
+ featureValuePositivityThreshold: posThreshold,
321987
+ featureValueColormap,
321988
+ obsSetSelection: cellSetSelection,
321989
+ obsSetColor: cellSetColor,
321990
+ additionalObsSets: additionalCellSets,
321991
+ sampleType,
321992
+ sampleSetSelection,
321993
+ // eslint-disable-next-line no-unused-vars
321994
+ featureAggregationStrategy
321995
+ }, { setFeatureValueTransform, setFeatureValueTransformCoefficient, setFeatureValuePositivityThreshold: setPosThreshold, setFeatureValueColormap, setFeatureAggregationStrategy }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DOT_PLOT], coordinationScopes);
321966
321996
  const [width2, height2, containerRef] = useGridItemSize();
321967
321997
  const transformOptions = VALUE_TRANSFORM_OPTIONS;
321968
321998
  const isStratified = Array.isArray(sampleSetSelection) && sampleSetSelection.length > 1;
@@ -322003,7 +322033,13 @@ function DotPlotSubscriber(props) {
322003
322033
  ]);
322004
322034
  const [resultArr, meanExpressionMax] = useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, expressionData, obsIndex, cellSets, additionalCellSets, geneSelection, cellSetSelection, cellSetColor, featureValueTransform, featureValueTransformCoefficient, posThreshold, featureLabelsMap);
322005
322035
  const selectedTransformName = (_a3 = transformOptions.find((o2) => o2.value === featureValueTransform)) == null ? void 0 : _a3.name;
322006
- return jsxRuntimeExports.jsx(TitleInfo, { title: title2, removeGridComponent, urls: urls2, theme, isReady, helpText, errors, options: jsxRuntimeExports.jsx(CellSetExpressionPlotOptions, { featureValueTransform, setFeatureValueTransform, featureValueTransformCoefficient, setFeatureValueTransformCoefficient, transformOptions, featureValuePositivityThreshold: posThreshold, setFeatureValuePositivityThreshold: setPosThreshold, featureValueColormap, setFeatureValueColormap }), children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes2.vegaContainer, children: resultArr ? jsxRuntimeExports.jsx(DotPlot, { isStratified, transpose: transpose2, domainMax: meanExpressionMax, data: resultArr, theme, width: width2, height: height2, obsType, sampleType, featureType, featureValueType, featureValueTransformName: selectedTransformName, featureValueColormap, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor }) : jsxRuntimeExports.jsxs("span", { children: ["Select at least one ", featureType, "."] }) }) });
322036
+ const onDotSelect = useCallback((featureName, isShiftDown = false) => {
322037
+ const featureI = geneSelection.indexOf(featureName == null ? void 0 : featureName[0]);
322038
+ if (featureI >= 0) {
322039
+ setFeatureAggregationStrategy(featureI);
322040
+ }
322041
+ }, [setFeatureAggregationStrategy, geneSelection]);
322042
+ return jsxRuntimeExports.jsx(TitleInfo, { title: title2, removeGridComponent, urls: urls2, theme, isReady, helpText, errors, options: jsxRuntimeExports.jsx(CellSetExpressionPlotOptions, { featureValueTransform, setFeatureValueTransform, featureValueTransformCoefficient, setFeatureValueTransformCoefficient, transformOptions, featureValuePositivityThreshold: posThreshold, setFeatureValuePositivityThreshold: setPosThreshold, featureValueColormap, setFeatureValueColormap }), children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes2.vegaContainer, children: resultArr ? jsxRuntimeExports.jsx(DotPlot, { isStratified, transpose: transpose2, domainMax: meanExpressionMax, data: resultArr, theme, width: width2, height: height2, obsType, sampleType, featureType, featureValueType, featureValueTransformName: selectedTransformName, featureValueColormap, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, onDotSelect }) : jsxRuntimeExports.jsxs("span", { children: ["Select at least one ", featureType, "."] }) }) });
322007
322043
  }
322008
322044
  const scaleBand = scale$6("band");
322009
322045
  const OBS_KEY = "obsId";
@@ -326349,9 +326385,10 @@ class SpatialDataObsSpotsLoader extends AbstractTwoStepLoader {
326349
326385
  }
326350
326386
  const zattrs = await this.dataSource.loadSpatialDataElementAttrs(path2);
326351
326387
  const coordinateTransformationsFromFile = ((zattrs == null ? void 0 : zattrs.coordinateTransformations) || DEFAULT_COORDINATE_TRANSFORMATIONS$1).filter(({ input: { name: inputName }, output: { name: outputName } }) => inputName === "xy" && outputName === coordinateSystem);
326352
- const axes = (zattrs == null ? void 0 : zattrs.axes) || DEFAULT_AXES$1;
326388
+ const axes = (zattrs == null ? void 0 : zattrs.axes) ?? DEFAULT_AXES$1;
326389
+ const normAxes = normalizeAxes(axes);
326353
326390
  const normCoordinateTransformationsFromFile = normalizeCoordinateTransformations(coordinateTransformationsFromFile, null);
326354
- const transformMatrixFromFile = coordinateTransformationsToMatrix(normCoordinateTransformationsFromFile, axes);
326391
+ const transformMatrixFromFile = coordinateTransformationsToMatrix(normCoordinateTransformationsFromFile, normAxes);
326355
326392
  this.modelMatrix = transformMatrixFromFile;
326356
326393
  return this.modelMatrix;
326357
326394
  }
@@ -342163,7 +342200,11 @@ function toFloat32Array(input) {
342163
342200
  if (input instanceof Float64Array) {
342164
342201
  return new Float32Array(input);
342165
342202
  }
342166
- throw new TypeError("Input must be Float32Array, Float64Array, or BigInt64Array");
342203
+ if (input instanceof Array) {
342204
+ return new Float32Array(input);
342205
+ }
342206
+ log$b.warn("toFloat32Array expected Float32Array, Float64Array, BigInt64Array, or Array input");
342207
+ return new Float32Array(input);
342167
342208
  }
342168
342209
  class SpatialDataShapesSource extends SpatialDataTableSource {
342169
342210
  /**
@@ -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-czE8px9n.js";
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-Dr34Nsn3.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-DXvEg9HL.js"), []);
23640
+ } = suspend(async () => import("./troika-three-text.esm-C4mcmvqE.js"), []);
23641
23641
  const invalidate2 = useThree(({
23642
23642
  invalidate: invalidate3
23643
23643
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bL, bJ, bH, bK, bI, bG, bM } from "./index-czE8px9n.js";
1
+ import { bL, bJ, bH, bK, bI, bG, bM } from "./index-Dr34Nsn3.js";
2
2
  import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
3
3
  export {
4
4
  bL as PluginAsyncFunction,
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-czE8px9n.js";
1
+ import { aP as BaseDecoder } from "./index-Dr34Nsn3.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -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-czE8px9n.js";
2
+ import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-Dr34Nsn3.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-czE8px9n.js";
1
+ import { aP as BaseDecoder } from "./index-Dr34Nsn3.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-czE8px9n.js";
1
+ import { aP as BaseDecoder } from "./index-Dr34Nsn3.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-czE8px9n.js";
1
+ import { aP as BaseDecoder } from "./index-Dr34Nsn3.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-czE8px9n.js";
1
+ import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-Dr34Nsn3.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-czE8px9n.js";
1
+ import { aP as BaseDecoder } from "./index-Dr34Nsn3.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.6.9",
3
+ "version": "3.6.11",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,37 +17,37 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.6.9",
21
- "@vitessce/constants-internal": "3.6.9",
22
- "@vitessce/abstract": "3.6.9",
23
- "@vitessce/error": "3.6.9",
24
- "@vitessce/csv": "3.6.9",
25
- "@vitessce/description": "3.6.9",
26
- "@vitessce/feature-list": "3.6.9",
27
- "@vitessce/genomic-profiles": "3.6.9",
28
- "@vitessce/heatmap": "3.6.9",
29
- "@vitessce/glb": "3.6.9",
30
- "@vitessce/json": "3.6.9",
31
- "@vitessce/layer-controller": "3.6.9",
32
- "@vitessce/layer-controller-beta": "3.6.9",
33
- "@vitessce/link-controller": "3.6.9",
34
- "@vitessce/obs-sets-manager": "3.6.9",
35
- "@vitessce/ome-tiff": "3.6.9",
36
- "@vitessce/plugins": "3.6.9",
37
- "@vitessce/scatterplot-embedding": "3.6.9",
38
- "@vitessce/scatterplot-gating": "3.6.9",
39
- "@vitessce/schemas": "3.6.9",
40
- "@vitessce/spatial": "3.6.9",
41
- "@vitessce/spatial-beta": "3.6.9",
42
- "@vitessce/statistical-plots": "3.6.9",
43
- "@vitessce/status": "3.6.9",
44
- "@vitessce/vit-s": "3.6.9",
45
- "@vitessce/zarr": "3.6.9",
46
- "@vitessce/globals": "3.6.9",
47
- "@vitessce/spatial-zarr": "3.6.9",
48
- "@vitessce/spatial-three": "3.6.9",
49
- "@vitessce/biomarker-select": "3.6.9",
50
- "@vitessce/neuroglancer": "3.6.9"
20
+ "@vitessce/styles": "3.6.11",
21
+ "@vitessce/constants-internal": "3.6.11",
22
+ "@vitessce/abstract": "3.6.11",
23
+ "@vitessce/error": "3.6.11",
24
+ "@vitessce/csv": "3.6.11",
25
+ "@vitessce/description": "3.6.11",
26
+ "@vitessce/feature-list": "3.6.11",
27
+ "@vitessce/genomic-profiles": "3.6.11",
28
+ "@vitessce/heatmap": "3.6.11",
29
+ "@vitessce/glb": "3.6.11",
30
+ "@vitessce/json": "3.6.11",
31
+ "@vitessce/layer-controller": "3.6.11",
32
+ "@vitessce/layer-controller-beta": "3.6.11",
33
+ "@vitessce/link-controller": "3.6.11",
34
+ "@vitessce/obs-sets-manager": "3.6.11",
35
+ "@vitessce/ome-tiff": "3.6.11",
36
+ "@vitessce/plugins": "3.6.11",
37
+ "@vitessce/scatterplot-embedding": "3.6.11",
38
+ "@vitessce/scatterplot-gating": "3.6.11",
39
+ "@vitessce/schemas": "3.6.11",
40
+ "@vitessce/spatial": "3.6.11",
41
+ "@vitessce/spatial-beta": "3.6.11",
42
+ "@vitessce/statistical-plots": "3.6.11",
43
+ "@vitessce/status": "3.6.11",
44
+ "@vitessce/vit-s": "3.6.11",
45
+ "@vitessce/zarr": "3.6.11",
46
+ "@vitessce/globals": "3.6.11",
47
+ "@vitessce/spatial-zarr": "3.6.11",
48
+ "@vitessce/spatial-three": "3.6.11",
49
+ "@vitessce/biomarker-select": "3.6.11",
50
+ "@vitessce/neuroglancer": "3.6.11"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^18.0.28",