@vitessce/dev 3.9.1 → 3.9.2

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 { aI as getDefaultExportFromCjs, aJ as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aK as PCFSoftShadowMap, aL as VSMShadowMap, aM as PCFShadowMap, aN as BasicShadowMap, aO as NoToneMapping, aP as ACESFilmicToneMapping, e as Vector3, V as Vector2, aQ as Clock, aR as WebGLRenderer, aS as Camera, x as BufferGeometry, r as Material, aT as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aU as THREE, aV as EventDispatcher, aW as MOUSE, aX as TOUCH, aY as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-D4RkbvuW.js";
1
+ import { aI as getDefaultExportFromCjs, aJ as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aK as PCFSoftShadowMap, aL as VSMShadowMap, aM as PCFShadowMap, aN as BasicShadowMap, aO as NoToneMapping, aP as ACESFilmicToneMapping, e as Vector3, V as Vector2, aQ as Clock, aR as WebGLRenderer, aS as Camera, x as BufferGeometry, r as Material, aT as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aU as THREE, aV as EventDispatcher, aW as MOUSE, aX as TOUCH, aY as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-B_ya-V9U.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo } from "react";
4
4
  var constants = { exports: {} };
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { aI as getDefaultExportFromCjs, b3 as requireAssign, b4 as require_export, b5 as require_core, b6 as require_fails, b7 as require_toObject, b8 as require_objectKeys, b9 as require_cof, ba as require_wks, bb as require_iterators, bc as requireWeb_dom_iterable, bd as requireEs6_string_iterator, be as require_anObject, bf as require_hide, bg as require_ctx, bh as require_toLength, bi as require_global, bj as require_objectDp, bk as require_descriptors, bl as require_isObject, bm as require_objectCreate, bn as require_iterDefine, bo as require_iterStep, bp as require_meta, bq as require_isArray, br as require_iobject, bs as require_setToStringTag, bt as require_aFunction, bu as requireIterator, bv as require_propertyDesc, bw as require_root, bx as require_baseGetTag, by as requireIsObjectLike, bz as requireIsObject, bA as requireEs6_symbol, bB as requireDefineProperty, bC as require_toIobject, bD as require_objectGopd, bE as require_html, bF as require_domCreate, bG as require_library, bH as requireSymbol, bI as require_objectPie, bJ as require_has, bK as require_redefine, bL as require_objectAssign, bM as diffCameraState, ao as jsxRuntimeExports } from "./index-D4RkbvuW.js";
4
+ import { aI as getDefaultExportFromCjs, b3 as requireAssign, b4 as require_export, b5 as require_core, b6 as require_fails, b7 as require_toObject, b8 as require_objectKeys, b9 as require_cof, ba as require_wks, bb as require_iterators, bc as requireWeb_dom_iterable, bd as requireEs6_string_iterator, be as require_anObject, bf as require_hide, bg as require_ctx, bh as require_toLength, bi as require_global, bj as require_objectDp, bk as require_descriptors, bl as require_isObject, bm as require_objectCreate, bn as require_iterDefine, bo as require_iterStep, bp as require_meta, bq as require_isArray, br as require_iobject, bs as require_setToStringTag, bt as require_aFunction, bu as requireIterator, bv as require_propertyDesc, bw as require_root, bx as require_baseGetTag, by as requireIsObjectLike, bz as requireIsObject, bA as requireEs6_symbol, bB as requireDefineProperty, bC as require_toIobject, bD as require_objectGopd, bE as require_html, bF as require_domCreate, bG as require_library, bH as requireSymbol, bI as require_objectPie, bJ as require_has, bK as require_redefine, bL as require_objectAssign, bM as diffCameraState, ao as jsxRuntimeExports } from "./index-B_ya-V9U.js";
5
5
  import React__default from "react";
6
6
  var assignExports = requireAssign();
7
7
  const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aZ as BaseDecoder } from "./index-D4RkbvuW.js";
2
+ import { aZ as BaseDecoder } from "./index-B_ya-V9U.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -1,7 +1,7 @@
1
1
  import * as React$7 from "react";
2
2
  import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
3
3
  import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
4
- import { b0 as commonjsGlobal$1, b1 as requireObjectAssign, aI as getDefaultExportFromCjs$1, b2 as earcut } from "./index-D4RkbvuW.js";
4
+ import { b0 as commonjsGlobal$1, b1 as requireObjectAssign, aI as getDefaultExportFromCjs$1, b2 as earcut } from "./index-B_ya-V9U.js";
5
5
  var promise = {};
6
6
  var hasRequiredPromise;
7
7
  function requirePromise() {
@@ -1345,7 +1345,7 @@ const COMPONENT_COORDINATION_TYPES = {
1345
1345
  CoordinationType$2.HIERARCHY_LEVELS
1346
1346
  ]
1347
1347
  };
1348
- const version$6 = "3.9.1";
1348
+ const version$6 = "3.9.2";
1349
1349
  const META_VERSION = {
1350
1350
  version: version$6
1351
1351
  };
@@ -71072,21 +71072,20 @@ Popper$1.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
71072
71072
  Popper$1.placements = placements$1;
71073
71073
  Popper$1.Defaults = Defaults;
71074
71074
  function createChainedFunction(...funcs) {
71075
- return funcs.reduce((acc, func) => {
71076
- if (func == null) {
71077
- return acc;
71078
- }
71079
- {
71080
- if (typeof func !== "function") {
71081
- console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
71075
+ return funcs.reduce(
71076
+ (acc, func) => {
71077
+ if (func == null) {
71078
+ return acc;
71082
71079
  }
71080
+ return function chainedFunction(...args) {
71081
+ acc.apply(this, args);
71082
+ func.apply(this, args);
71083
+ };
71084
+ },
71085
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
71086
+ () => {
71083
71087
  }
71084
- return function chainedFunction(...args) {
71085
- acc.apply(this, args);
71086
- func.apply(this, args);
71087
- };
71088
- }, () => {
71089
- });
71088
+ );
71090
71089
  }
71091
71090
  function setRef(ref2, value2) {
71092
71091
  if (typeof ref2 === "function") {
@@ -71125,7 +71124,7 @@ function flipPlacement(placement, theme) {
71125
71124
  }
71126
71125
  }
71127
71126
  function getAnchorEl(anchorEl) {
71128
- return typeof anchorEl === "function" ? anchorEl() : anchorEl;
71127
+ return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
71129
71128
  }
71130
71129
  const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
71131
71130
  const defaultPopperOptions = {};
@@ -71155,25 +71154,18 @@ const Popper = React.forwardRef((props, ref2) => {
71155
71154
  }
71156
71155
  if (popperRef.current) {
71157
71156
  popperRef.current.destroy();
71158
- handlePopperRefRef.current(null);
71157
+ if (handlePopperRefRef.current) {
71158
+ setRef(handlePopperRefRef.current, null);
71159
+ }
71159
71160
  }
71160
71161
  const handlePopperUpdate = (data2) => {
71161
71162
  setPlacement(data2.placement);
71162
71163
  };
71163
- const resolvedAnchorEl = getAnchorEl(anchorEl);
71164
- {
71165
- if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
71166
- const box = resolvedAnchorEl.getBoundingClientRect();
71167
- if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
71168
- console.warn([
71169
- "Material-UI: The `anchorEl` prop provided to the component is invalid.",
71170
- "The anchor element should be part of the document layout.",
71171
- "Make sure the element is present in the document or that it's not display none."
71172
- ].join("\n"));
71173
- }
71174
- }
71164
+ const anchorElement = getAnchorEl(anchorEl);
71165
+ if (!anchorElement) {
71166
+ return;
71175
71167
  }
71176
- const popper2 = new Popper$1(getAnchorEl(anchorEl), tooltipRef.current, {
71168
+ const popper2 = new Popper$1(anchorElement, tooltipRef.current, {
71177
71169
  placement: rtlPlacement,
71178
71170
  ...popperOptions,
71179
71171
  modifiers: {
@@ -71191,7 +71183,9 @@ const Popper = React.forwardRef((props, ref2) => {
71191
71183
  onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
71192
71184
  onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
71193
71185
  });
71194
- handlePopperRefRef.current(popper2);
71186
+ if (handlePopperRefRef.current) {
71187
+ setRef(handlePopperRefRef.current, popper2);
71188
+ }
71195
71189
  }, [anchorEl, disablePortal, modifiers2, open2, rtlPlacement, popperOptions]);
71196
71190
  const handleRef = React.useCallback((node2) => {
71197
71191
  setRef(ownRef, node2);
@@ -71205,7 +71199,9 @@ const Popper = React.forwardRef((props, ref2) => {
71205
71199
  return;
71206
71200
  }
71207
71201
  popperRef.current.destroy();
71208
- handlePopperRefRef.current(null);
71202
+ if (handlePopperRefRef.current) {
71203
+ setRef(handlePopperRefRef.current, null);
71204
+ }
71209
71205
  };
71210
71206
  const handleExited = () => {
71211
71207
  setExited(true);
@@ -71236,7 +71232,7 @@ const Popper = React.forwardRef((props, ref2) => {
71236
71232
  // Fix Popper.js display issue
71237
71233
  top: 0,
71238
71234
  left: 0,
71239
- display: !open2 && keepMounted && !transition3 ? "none" : null,
71235
+ display: !open2 && keepMounted && !transition3 ? "none" : void 0,
71240
71236
  ...style2
71241
71237
  }, children: typeof children3 === "function" ? children3(childProps) : children3 }) });
71242
71238
  });
@@ -71251,7 +71247,7 @@ function ScopedGlobalStyles(props) {
71251
71247
  const component = useMemo$1(() => {
71252
71248
  const computedStyles = prependParentClassName(styles2, parentClassName);
71253
71249
  return jsxRuntimeExports.jsx(GlobalStyles$3, { styles: computedStyles });
71254
- }, [parentClassName]);
71250
+ }, [parentClassName, styles2]);
71255
71251
  return component;
71256
71252
  }
71257
71253
  var Subscribable = class {
@@ -82679,6 +82675,7 @@ const lightPalette = {
82679
82675
  gridLayoutBackground: "#FFFFFF",
82680
82676
  paperBackground: "#FFFFFF",
82681
82677
  cardBorder: "rgba(241, 241, 241, 0.125)",
82678
+ cardInfoBorder: "#ccc",
82682
82679
  tooltipText: "rgba(0, 0, 0, 0.87)"
82683
82680
  };
82684
82681
  const muiTheme = {
@@ -82704,6 +82701,7 @@ const muiTheme = {
82704
82701
  gridLayoutBackground: "#333333",
82705
82702
  paperBackground: "#2b2b2b",
82706
82703
  cardBorder: "rgba(0, 0, 0, 0.125)",
82704
+ cardInfoBorder: "#222222",
82707
82705
  tooltipText: "#FFFFFF",
82708
82706
  ...globalColors
82709
82707
  },
@@ -82713,6 +82711,7 @@ const muiTheme = {
82713
82711
  light: createTheme({
82714
82712
  palette: {
82715
82713
  ...lightPalette,
82714
+ cardInfoBorder: "#F1F1F1",
82716
82715
  ...globalColors
82717
82716
  },
82718
82717
  ...sharedThemeOptions,
@@ -82730,7 +82729,7 @@ const muiTheme = {
82730
82729
  ...globalColors
82731
82730
  },
82732
82731
  ...sharedThemeOptions,
82733
- cardBorderSize: "2px"
82732
+ cardBorderSize: "1px"
82734
82733
  })
82735
82734
  };
82736
82735
  const createStoreImpl = (createState2) => {
@@ -91030,7 +91029,7 @@ const gridLayoutStyles = {
91030
91029
  },
91031
91030
  ".react-grid-item > .react-resizable-handle.react-resizable-handle-se": {
91032
91031
  bottom: "0",
91033
- right: "0",
91032
+ right: "10px",
91034
91033
  cursor: "se-resize"
91035
91034
  },
91036
91035
  ".react-grid-item > .react-resizable-handle.react-resizable-handle-nw": {
@@ -91166,18 +91165,23 @@ const useTitleStyles = makeStyles()((theme) => ({
91166
91165
  textOverflow: "ellipsis",
91167
91166
  whiteSpace: "nowrap"
91168
91167
  },
91169
- titleInfo: {
91168
+ infoText: {
91169
+ color: theme.palette.primaryForeground,
91170
91170
  width: "100%",
91171
91171
  textOverflow: "ellipsis",
91172
91172
  whiteSpace: "nowrap",
91173
91173
  overflow: "hidden",
91174
- fontSize: "80% !important",
91174
+ fontSize: "60% !important",
91175
91175
  opacity: ".8",
91176
- padding: "0 4px",
91176
+ padding: "0",
91177
91177
  justifyContent: "center",
91178
- lineHeight: "25px !important",
91179
- flexShrink: "1",
91180
- textAlign: "right !important"
91178
+ textAlign: "center !important",
91179
+ borderTop: "0px",
91180
+ borderBottom: `1px solid ${theme.palette.cardInfoBorder}`,
91181
+ borderLeft: `1px solid ${theme.palette.cardInfoBorder}`,
91182
+ borderRight: `1px solid ${theme.palette.cardInfoBorder}`,
91183
+ borderBottomLeftRadius: "4px",
91184
+ borderBottomRightRadius: "4px"
91181
91185
  },
91182
91186
  titleButtons: {
91183
91187
  display: "flex",
@@ -91193,15 +91197,20 @@ const useTitleStyles = makeStyles()((theme) => ({
91193
91197
  border: `${theme.cardBorderSize} solid ${theme.palette.cardBorder}`,
91194
91198
  flex: "1 1 auto",
91195
91199
  minHeight: "1px",
91196
- marginTop: "8px",
91197
- marginBottom: "8px",
91200
+ marginTop: "0",
91201
+ marginBottom: "0",
91198
91202
  position: "relative",
91199
91203
  display: "flex",
91200
91204
  flexDirection: "column",
91201
91205
  minWidth: "0",
91202
91206
  wordWrap: "break-word",
91203
91207
  backgroundClip: "border-box",
91204
- borderRadius: "4px"
91208
+ borderTopLeftRadius: "4px",
91209
+ borderTopRightRadius: "4px"
91210
+ },
91211
+ cardWithoutInfoText: {
91212
+ borderBottomLeftRadius: "4px",
91213
+ borderBottomRightRadius: "4px"
91205
91214
  },
91206
91215
  paddingCard: {
91207
91216
  padding: "12px"
@@ -91831,15 +91840,17 @@ function TitleInfo(props) {
91831
91840
  const { title: title2, info: info2, children: children3, isScroll, isSpatial, removeGridComponent, urls: urls2, isReady, options, closeButtonVisible = true, downloadButtonVisible = true, helpText, withPadding = true, errors: errorsProp } = props;
91832
91841
  const errors = errorsProp?.filter(Boolean);
91833
91842
  const { classes: classes2 } = useTitleStyles();
91843
+ const hasInfoText = Boolean(info2);
91834
91844
  return (
91835
91845
  // d-flex without wrapping div is not always full height; I don't understand the root cause.
91836
- jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs("div", { className: classes2.title, role: "banner", children: [jsxRuntimeExports.jsx("div", { className: classes2.titleLeft, role: "heading", "aria-level": "1", children: title2 }), jsxRuntimeExports.jsx("div", { className: classes2.titleInfo, title: info2, role: "note", children: info2 }), jsxRuntimeExports.jsxs("div", { className: classes2.titleButtons, role: "toolbar", "aria-label": "Plot options and controls", children: [jsxRuntimeExports.jsx(PlotOptions, { options }), downloadButtonVisible ? jsxRuntimeExports.jsx(DownloadOptions, { urls: urls2 }) : null, Array.isArray(errors) && errors.length > 0 ? jsxRuntimeExports.jsx(ErrorInfo, { errors }) : null, helpText ? jsxRuntimeExports.jsx(HelpButton, { helpText }) : null, closeButtonVisible && removeGridComponent ? jsxRuntimeExports.jsx(ClosePaneButton, { removeGridComponent }) : null] })] }), jsxRuntimeExports.jsxs("div", { className: clsx(TOOLTIP_ANCESTOR, classes2.card, {
91846
+ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs("div", { className: classes2.title, role: "banner", children: [jsxRuntimeExports.jsx("div", { className: classes2.titleLeft, role: "heading", "aria-level": "1", children: title2 }), jsxRuntimeExports.jsxs("div", { className: classes2.titleButtons, role: "toolbar", "aria-label": "Plot options and controls", children: [jsxRuntimeExports.jsx(PlotOptions, { options }), downloadButtonVisible ? jsxRuntimeExports.jsx(DownloadOptions, { urls: urls2 }) : null, Array.isArray(errors) && errors.length > 0 ? jsxRuntimeExports.jsx(ErrorInfo, { errors }) : null, helpText ? jsxRuntimeExports.jsx(HelpButton, { helpText }) : null, closeButtonVisible && removeGridComponent ? jsxRuntimeExports.jsx(ClosePaneButton, { removeGridComponent }) : null] })] }), jsxRuntimeExports.jsxs("div", { className: clsx(TOOLTIP_ANCESTOR, classes2.card, {
91837
91847
  [classes2.scrollCard]: isScroll,
91838
91848
  [classes2.spatialCard]: isSpatial,
91839
91849
  [classes2.noScrollCard]: !isScroll && !isSpatial,
91840
91850
  [classes2.noPaddingCard]: !withPadding,
91841
- [classes2.paddingCard]: withPadding
91842
- }), "aria-busy": !isReady, role: "main", children: [!isReady ? jsxRuntimeExports.jsx(LoadingIndicator, {}) : null, children3] })] })
91851
+ [classes2.paddingCard]: withPadding,
91852
+ [classes2.cardWithoutInfoText]: !hasInfoText
91853
+ }), "aria-busy": !isReady, role: "main", children: [!isReady ? jsxRuntimeExports.jsx(LoadingIndicator, {}) : null, children3] }), hasInfoText ? jsxRuntimeExports.jsx("div", { className: classes2.infoText, title: info2, role: "note", children: info2 }) : null] })
91843
91854
  );
91844
91855
  }
91845
91856
  class VitessceError extends Error {
@@ -229062,22 +229073,22 @@ async function getDecoder(fileDirectory) {
229062
229073
  const Decoder = await importFn();
229063
229074
  return new Decoder(fileDirectory);
229064
229075
  }
229065
- addDecoder([void 0, 1], () => import("./raw-B9C7wwCT.js").then((m2) => m2.default));
229066
- addDecoder(5, () => import("./lzw-BLhuO_Wm.js").then((m2) => m2.default));
229076
+ addDecoder([void 0, 1], () => import("./raw-CDLaLCyf.js").then((m2) => m2.default));
229077
+ addDecoder(5, () => import("./lzw-II1TrWs9.js").then((m2) => m2.default));
229067
229078
  addDecoder(6, () => {
229068
229079
  throw new Error("old style JPEG compression is not supported.");
229069
229080
  });
229070
- addDecoder(7, () => import("./jpeg-Bm_SJrtp.js").then((m2) => m2.default));
229071
- addDecoder([8, 32946], () => import("./deflate-CB3_OBbG.js").then((m2) => m2.default));
229072
- addDecoder(32773, () => import("./packbits-BJBaYgcY.js").then((m2) => m2.default));
229081
+ addDecoder(7, () => import("./jpeg-DnHzjtjh.js").then((m2) => m2.default));
229082
+ addDecoder([8, 32946], () => import("./deflate-Bc4Fa1GF.js").then((m2) => m2.default));
229083
+ addDecoder(32773, () => import("./packbits-BuDro0Xt.js").then((m2) => m2.default));
229073
229084
  addDecoder(
229074
229085
  34887,
229075
- () => import("./lerc-dsrFlWfH.js").then(async (m2) => {
229086
+ () => import("./lerc-pBYHs7LI.js").then(async (m2) => {
229076
229087
  await m2.zstd.init();
229077
229088
  return m2;
229078
229089
  }).then((m2) => m2.default)
229079
229090
  );
229080
- addDecoder(50001, () => import("./webimage-DgSczDFu.js").then((m2) => m2.default));
229091
+ addDecoder(50001, () => import("./webimage-C2W4yjEt.js").then((m2) => m2.default));
229081
229092
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
229082
229093
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
229083
229094
  }
@@ -269366,21 +269377,18 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
269366
269377
  };
269367
269378
  }
269368
269379
  }
269369
- const isStaticColor = obsColorEncoding === "spatialLayerColor";
269370
- const getMoleculeColor = (object2, { data: data2, index: index2, target: target2 }) => {
269371
- const obsId = data2.src.obsIndex[index2];
269372
- if (data2.src.obsLabelsMap && data2.src.uniqueObsLabels && data2.src.PALETTE) {
269373
- const obsLabel = data2.src.obsLabelsMap.get(obsId);
269374
- const labelIndex = data2.src.uniqueObsLabels.indexOf(obsLabel);
269375
- target2[0] = data2.src.PALETTE[labelIndex % data2.src.PALETTE.length]?.[0];
269376
- target2[1] = data2.src.PALETTE[labelIndex % data2.src.PALETTE.length]?.[1];
269377
- target2[2] = data2.src.PALETTE[labelIndex % data2.src.PALETTE.length]?.[2];
269378
- }
269379
- return target2;
269380
- };
269381
- const { obsPointsModelMatrix, obsPoints, obsPointsTilingType, loadPointsInRect } = this.obsPointsData?.[layerScope]?.src ?? {};
269380
+ const {
269381
+ obsPointsModelMatrix,
269382
+ obsPoints,
269383
+ // featureIndices: obsPointsFeatureIndices,
269384
+ obsPointsTilingType,
269385
+ loadPointsInRect
269386
+ } = this.obsPointsData?.[layerScope]?.src ?? {};
269382
269387
  obsPoints?.shape?.[0] === 3;
269383
269388
  const modelMatrix2 = obsPointsModelMatrix?.clone();
269389
+ const hasFeatureIndicesMinMax = !showUnselected && Array.isArray(featureIndices) && featureIndices.length === 1;
269390
+ const FILTER_PLACEHOLDER = 0;
269391
+ const featureIndicesMinMax = hasFeatureIndicesMinMax ? [featureIndices[0], featureIndices[0]] : [FILTER_PLACEHOLDER, FILTER_PLACEHOLDER];
269384
269392
  if (obsPointsTilingType === "tiled") {
269385
269393
  return new TileLayer({
269386
269394
  id: `Tiled-${POINT_LAYER_PREFIX}${layerScope}`,
@@ -269431,9 +269439,6 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
269431
269439
  renderSubLayers: (subLayerProps) => {
269432
269440
  const { bbox: bbox2, content: tileData } = subLayerProps.tile;
269433
269441
  const { left: left2, top: top2, right: right2, bottom: bottom2 } = bbox2;
269434
- const hasFeatureIndicesMinMax = !showUnselected && Array.isArray(featureIndices) && featureIndices.length === 1;
269435
- const FILTER_PLACEHOLDER = 0;
269436
- const featureIndicesMinMax = hasFeatureIndicesMinMax ? [featureIndices[0], featureIndices[0]] : [FILTER_PLACEHOLDER, FILTER_PLACEHOLDER];
269437
269442
  return new ScatterplotLayer(subLayerProps, {
269438
269443
  bounds: [left2, top2, right2, bottom2],
269439
269444
  data: tileData,
@@ -269510,26 +269515,44 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
269510
269515
  coordinateSystem: COORDINATE_SYSTEM.CARTESIAN,
269511
269516
  pickable: true,
269512
269517
  autoHighlight: AUTO_HIGHLIGHT,
269513
- radiusMaxPixels: 3,
269514
269518
  opacity: spatialLayerOpacity,
269515
269519
  visible: spatialLayerVisible,
269516
269520
  modelMatrix: modelMatrix2,
269517
- getRadius: 300,
269521
+ getRadius: 5,
269522
+ radiusMaxPixels: 3,
269518
269523
  getPosition: (object2, { data: data2, index: index2, target: target2 }) => {
269519
269524
  target2[0] = data2.src.obsPoints.data[0][index2];
269520
269525
  target2[1] = data2.src.obsPoints.data[1][index2];
269521
269526
  target2[2] = 0;
269522
269527
  return target2;
269523
269528
  },
269524
- getLineColor: isStaticColor ? staticColor : getMoleculeColor,
269525
- getFillColor: isStaticColor ? staticColor : getMoleculeColor,
269529
+ getFillColor,
269526
269530
  onHover: (info2) => delegateHover(info2, "point", layerScope),
269531
+ // Use GPU filtering to filter to only the points in the tile bounding box,
269532
+ // since the row groups may contain points from other tiles.
269533
+ // Note: this can be improved using filterCategories,
269534
+ // but it is not available until post-v9 deck.gl/extensions.
269535
+ filterRange: [featureIndicesMinMax],
269536
+ getFilterValue: hasFeatureIndicesMinMax ? (object2, { data: data2, index: index2 }) => [
269537
+ data2.src.featureIndices[index2]
269538
+ ] : (object2, { data: data2, index: index2 }) => [
269539
+ FILTER_PLACEHOLDER
269540
+ ],
269541
+ extensions: [
269542
+ new DataFilterExtension({ filterSize: 1 })
269543
+ ],
269527
269544
  updateTriggers: {
269528
- getRadius: [],
269529
- getFillColor: [obsColorEncoding, staticColor],
269530
- getLineColor: [obsColorEncoding, staticColor]
269531
- },
269532
- ...{}
269545
+ getFillColor: [
269546
+ showUnselected,
269547
+ featureColor,
269548
+ obsColorEncoding,
269549
+ spatialLayerColor,
269550
+ featureSelection,
269551
+ hasMultipleFeaturesSelected
269552
+ ],
269553
+ getFilterValue: [hasFeatureIndicesMinMax, showUnselected, featureSelection],
269554
+ filterRange: [hasFeatureIndicesMinMax, showUnselected, featureSelection]
269555
+ }
269533
269556
  });
269534
269557
  }
269535
269558
  createSelectionLayer() {
@@ -270068,8 +270091,8 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
270068
270091
  this.obsSegmentationsLayers = this.createSegmentationLayers();
270069
270092
  }
270070
270093
  onUpdatePointsData(layerScope) {
270071
- const { obsPoints, pointMultiObsLabels } = this.props;
270072
- const { obsIndex, obsPoints: layerObsPoints, obsPointsModelMatrix, loadPointsInRect, obsPointsTilingType } = obsPoints?.[layerScope] || {};
270094
+ const { obsPoints, pointMultiObsLabels, pointMatrixIndices } = this.props;
270095
+ const { obsIndex, obsPoints: layerObsPoints, featureIds: layerObsPointsFeatureIds, obsPointsModelMatrix, loadPointsInRect, obsPointsTilingType } = obsPoints?.[layerScope] || {};
270073
270096
  const { obsIndex: obsLabelsIndex, obsLabels } = pointMultiObsLabels?.[layerScope] || {};
270074
270097
  if (obsPointsTilingType === "tiled") {
270075
270098
  this.obsPointsData[layerScope] = {
@@ -270077,6 +270100,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
270077
270100
  obsPointsTilingType,
270078
270101
  obsIndex: null,
270079
270102
  obsPoints: null,
270103
+ featureIndices: null,
270080
270104
  obsPointsModelMatrix,
270081
270105
  obsLabelsMap: null,
270082
270106
  uniqueObsLabels: null,
@@ -270089,11 +270113,17 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
270089
270113
  if (layerObsPoints) {
270090
270114
  const getCellCoords = makeDefaultGetObsCoords(layerObsPoints);
270091
270115
  this.obsPointsQuadTree[layerScope] = createQuadTree(layerObsPoints, getCellCoords);
270116
+ let pointFeatureIndex = pointMatrixIndices?.[layerScope]?.featureIndex;
270117
+ if (!pointFeatureIndex) {
270118
+ pointFeatureIndex = Array.from(new Set(layerObsPointsFeatureIds));
270119
+ }
270120
+ const featureIndices = layerObsPointsFeatureIds.map((featureId2) => pointFeatureIndex?.indexOf(featureId2));
270092
270121
  this.obsPointsData[layerScope] = {
270093
270122
  src: {
270094
270123
  obsPointsTilingType,
270095
270124
  obsIndex,
270096
270125
  obsPoints: layerObsPoints,
270126
+ featureIndices,
270097
270127
  obsPointsModelMatrix,
270098
270128
  obsLabelsMap: null,
270099
270129
  uniqueObsLabels: null,
@@ -270306,7 +270336,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
270306
270336
  forceUpdate = true;
270307
270337
  } else {
270308
270338
  this.props.pointLayerScopes.forEach((layerScope) => {
270309
- if (shallowDiffByLayer("obsPoints", layerScope) || shallowDiffByLayer("pointMultiObsLabels", layerScope)) {
270339
+ if (shallowDiffByLayer("obsPoints", layerScope) || shallowDiffByLayer("pointMultiObsLabels", layerScope) || shallowDiffByLayer("pointMatrixIndices", layerScope)) {
270310
270340
  this.onUpdatePointsData(layerScope);
270311
270341
  forceUpdate = true;
270312
270342
  }
@@ -270471,12 +270501,12 @@ class ErrorBoundary2 extends React__default.Component {
270471
270501
  }
270472
270502
  }
270473
270503
  const LazySpatialThree = React__default.lazy(async () => {
270474
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-Rt4Kn4Ra.js");
270504
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DJmvz0Hs.js");
270475
270505
  return { default: SpatialWrapper2 };
270476
270506
  });
270477
270507
  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 }) }) }) }));
270478
270508
  const LazySpatialAccelerated = React__default.lazy(async () => {
270479
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-ByJRcSWV.js");
270509
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-C9zKxyci.js");
270480
270510
  return { default: SpatialWrapper2 };
270481
270511
  });
270482
270512
  const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialAccelerated, { ...props }) }) }) }));
@@ -282720,7 +282750,7 @@ function HiglassGlobalStyles(props) {
282720
282750
  }
282721
282751
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
282722
282752
  const LazyHiGlassComponent = React__default.lazy(async () => {
282723
- const { HiGlassComponent } = await import("./higlass-C-cVw2J8.js");
282753
+ const { HiGlassComponent } = await import("./higlass-B_NdD8MN.js");
282724
282754
  return { default: HiGlassComponent };
282725
282755
  });
282726
282756
  const HG_SIZE = 800;
@@ -285667,7 +285697,7 @@ function NeuroglancerGlobalStyles(props) {
285667
285697
  const { classes: classes2 } = props;
285668
285698
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
285669
285699
  }
285670
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-C8BcA6uO.js"));
285700
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-89UjQzAy.js"));
285671
285701
  function createWorker() {
285672
285702
  return new WorkerFactory();
285673
285703
  }
@@ -371478,6 +371508,9 @@ class AnnDataSource extends ZarrDataSource {
371478
371508
  async getFlatArrDecompressed(path2) {
371479
371509
  const { storeRoot } = this;
371480
371510
  const arr = await open$1(storeRoot.resolve(path2), { kind: "array" });
371511
+ if (arr.shape[0] === 0) {
371512
+ return [];
371513
+ }
371481
371514
  const data2 = await get$f(arr);
371482
371515
  if (data2.data?.[Symbol.iterator]) {
371483
371516
  return (
@@ -373810,20 +373843,39 @@ class SpatialDataObsPointsLoader extends AbstractTwoStepLoader {
373810
373843
  * @returns {Promise} A promise for an array of columns.
373811
373844
  */
373812
373845
  async loadPoints() {
373813
- const { path: path2, featureIndexColumn } = this.options;
373846
+ const { path: path2 } = this.options;
373814
373847
  if (this.locations) {
373815
373848
  return this.locations;
373816
373849
  }
373817
373850
  let locations;
373818
373851
  const formatVersion = await this.dataSource.getPointsFormatVersion(path2);
373819
373852
  if (formatVersion === "0.1") {
373820
- locations = await this.dataSource.loadPoints(path2, featureIndexColumn);
373853
+ locations = await this.dataSource.loadPoints(path2);
373821
373854
  } else {
373822
373855
  throw new UnknownSpatialDataFormatError("Only points format version 0.1 is supported.");
373823
373856
  }
373824
373857
  this.locations = locations;
373825
373858
  return this.locations;
373826
373859
  }
373860
+ /**
373861
+ * Class method for loading the feature index column for points.
373862
+ * @returns {Promise} A promise for a column array of integers.
373863
+ */
373864
+ async loadPointsFeatureIds() {
373865
+ const { path: path2 } = this.options;
373866
+ if (this.locationsFeatureIndex) {
373867
+ return this.locationsFeatureIndex;
373868
+ }
373869
+ let locationsFeatureIndex;
373870
+ const formatVersion = await this.dataSource.getPointsFormatVersion(path2);
373871
+ if (formatVersion === "0.1") {
373872
+ locationsFeatureIndex = await this.dataSource.loadPointsFeatureIds(path2);
373873
+ } else {
373874
+ throw new UnknownSpatialDataFormatError("Only points format version 0.1 is supported.");
373875
+ }
373876
+ this.locationsFeatureIndex = locationsFeatureIndex;
373877
+ return this.locationsFeatureIndex;
373878
+ }
373827
373879
  async loadPointsInRect(bounds2, signal) {
373828
373880
  const { path: path2, featureIndexColumn, mortonCodeColumn } = this.options;
373829
373881
  let locations;
@@ -373886,23 +373938,19 @@ class SpatialDataObsPointsLoader extends AbstractTwoStepLoader {
373886
373938
  };
373887
373939
  let obsIndex = null;
373888
373940
  let obsPoints = null;
373889
- const featureIndices = null;
373941
+ let featureIds = null;
373890
373942
  if (!supportsTiling) {
373891
- [obsIndex, obsPoints] = await Promise.all([
373943
+ [obsIndex, obsPoints, featureIds] = await Promise.all([
373892
373944
  this.loadObsIndex(),
373893
- this.loadPoints()
373945
+ this.loadPoints(),
373946
+ this.loadPointsFeatureIds()
373894
373947
  ]);
373895
373948
  }
373896
373949
  return new LoaderResult({
373897
- /* obsIndex: ["1"], // TEMP
373898
- obsPoints: { // TEMP
373899
- shape: [2, 1],
373900
- data: [[0], [0]],
373901
- }, */
373902
373950
  // These will be null if tiling is supported.
373903
373951
  obsIndex,
373904
373952
  obsPoints,
373905
- featureIndices,
373953
+ featureIds,
373906
373954
  obsPointsModelMatrix: modelMatrix2,
373907
373955
  // Return 'tiled' if the morton_code_2d column
373908
373956
  // and bounding_box metadata are present,
@@ -390303,14 +390351,13 @@ class SpatialDataPointsSource extends SpatialDataTableSource {
390303
390351
  * shape: [number, number],
390304
390352
  * }>} A promise for a zarr array containing the data.
390305
390353
  */
390306
- async loadPoints(elementPath, featureIndexColumnNameFromOptions) {
390354
+ async loadPoints(elementPath) {
390307
390355
  const parquetPath = getParquetPath(elementPath);
390308
390356
  const zattrs = await this.loadSpatialDataElementAttrs(elementPath);
390309
- const { axes, spatialdata_attrs: spatialDataAttrs } = zattrs;
390357
+ const { axes } = zattrs;
390310
390358
  const normAxes = normalizeAxes(axes);
390311
390359
  const axisNames = normAxes.map((axis2) => axis2.name);
390312
- const { feature_key: featureKey } = spatialDataAttrs;
390313
- const columnNames = [...axisNames, featureKey].filter(Boolean);
390360
+ const columnNames = axisNames.filter(Boolean);
390314
390361
  const arrowTable = await this.loadParquetTable(parquetPath, columnNames);
390315
390362
  const axisColumnArrs = axisNames.map((name2) => {
390316
390363
  const column2 = arrowTable.getChild(name2);
@@ -390324,6 +390371,30 @@ class SpatialDataPointsSource extends SpatialDataTableSource {
390324
390371
  data: axisColumnArrs
390325
390372
  };
390326
390373
  }
390374
+ /**
390375
+ *
390376
+ * @param {string} elementPath The path to the points element,
390377
+ * like "points/element_name".
390378
+ * @param {string|undefined} featureIndexColumnNameFromOptions The name
390379
+ * of the feature index column specified in the file definition options, if any.
390380
+ * @returns {Promise<number[]>} A promise for a zarr array containing the data.
390381
+ */
390382
+ async loadPointsFeatureIds(elementPath) {
390383
+ const parquetPath = getParquetPath(elementPath);
390384
+ const zattrs = await this.loadSpatialDataElementAttrs(elementPath);
390385
+ const { spatialdata_attrs: spatialDataAttrs } = zattrs;
390386
+ const { feature_key: featureKey } = spatialDataAttrs;
390387
+ const columnNames = [featureKey];
390388
+ const arrowTable = await this.loadParquetTable(parquetPath, columnNames);
390389
+ const axisColumnArrs = columnNames.map((name2) => {
390390
+ const column2 = arrowTable.getChild(name2);
390391
+ if (!column2) {
390392
+ throw new Error(`Column "${name2}" not found in the arrow table.`);
390393
+ }
390394
+ return column2.toArray();
390395
+ });
390396
+ return axisColumnArrs[0];
390397
+ }
390327
390398
  /**
390328
390399
  *
390329
390400
  * @param {string} elementPath
@@ -1,6 +1,6 @@
1
- import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, aG as useEventCallback, ao as jsxRuntimeExports, aH as GLSL3, am as BackSide } from "./index-D4RkbvuW.js";
1
+ import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, aG as useEventCallback, ao as jsxRuntimeExports, aH as GLSL3, am as BackSide } from "./index-B_ya-V9U.js";
2
2
  import { useRef, useState, useMemo, useEffect, Suspense } from "react";
3
- import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-tHA8Hk-K.js";
3
+ import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-BfPaE-Sg.js";
4
4
  const BRICK_SIZE = 32;
5
5
  const BRICK_CACHE_SIZE_X = 64;
6
6
  const BRICK_CACHE_SIZE_Y = 64;
@@ -1,7 +1,7 @@
1
- import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-D4RkbvuW.js";
1
+ import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-B_ya-V9U.js";
2
2
  import * as React from "react";
3
3
  import { useRef, useEffect, useState, forwardRef } from "react";
4
- import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-tHA8Hk-K.js";
4
+ import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-BfPaE-Sg.js";
5
5
  const isPromise = (promise) => typeof promise === "object" && typeof promise.then === "function";
6
6
  const globalCache = [];
7
7
  function shallowEqualArrays(arrA, arrB, equal = (a, b) => a === b) {
@@ -5027,7 +5027,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
5027
5027
  const {
5028
5028
  Text: TextMeshImpl,
5029
5029
  preloadFont
5030
- } = suspend(async () => import("./troika-three-text.esm-BkvTw-z2.js"), []);
5030
+ } = suspend(async () => import("./troika-three-text.esm-C2e9XS8V.js"), []);
5031
5031
  const invalidate = useThree(({
5032
5032
  invalidate: invalidate2
5033
5033
  }) => invalidate2);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c0, bX, bV, bW, c4, c5, bY, cg, ce, cc, cf, cd, bU, cb, bZ, bT, bS, c2, c8, c1, c3, c7, c6, b$, c9, ca, cl, co, ci, cp, cq, cj, cm, cn, ck, b_, ch } from "./index-D4RkbvuW.js";
1
+ import { c0, bX, bV, bW, c4, c5, bY, cg, ce, cc, cf, cd, bU, cb, bZ, bT, bS, c2, c8, c1, c3, c7, c6, b$, c9, ca, cl, co, ci, cp, cq, cj, cm, cn, ck, b_, ch } from "./index-B_ya-V9U.js";
2
2
  import "react";
3
3
  export {
4
4
  c0 as CoordinationLevel,
@@ -1,4 +1,4 @@
1
- import { aZ as BaseDecoder } from "./index-D4RkbvuW.js";
1
+ import { aZ as BaseDecoder } from "./index-B_ya-V9U.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 { aI as getDefaultExportFromCjs, aZ as BaseDecoder, a_ as LercParameters, a$ as LercAddCompression } from "./index-D4RkbvuW.js";
2
+ import { aI as getDefaultExportFromCjs, aZ as BaseDecoder, a_ as LercParameters, a$ as LercAddCompression } from "./index-B_ya-V9U.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aZ as BaseDecoder } from "./index-D4RkbvuW.js";
1
+ import { aZ as BaseDecoder } from "./index-B_ya-V9U.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 { aZ as BaseDecoder } from "./index-D4RkbvuW.js";
1
+ import { aZ as BaseDecoder } from "./index-B_ya-V9U.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aZ as BaseDecoder } from "./index-D4RkbvuW.js";
1
+ import { aZ as BaseDecoder } from "./index-B_ya-V9U.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bN as MeshDistanceMaterial, bO as MeshDepthMaterial, bP as RGBADepthPacking, ae as UniformsUtils, bQ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bR as InstancedBufferAttribute } from "./index-D4RkbvuW.js";
1
+ import { bN as MeshDistanceMaterial, bO as MeshDepthMaterial, bP as RGBADepthPacking, ae as UniformsUtils, bQ as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bR as InstancedBufferAttribute } from "./index-B_ya-V9U.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 { aZ as BaseDecoder } from "./index-D4RkbvuW.js";
1
+ import { aZ as BaseDecoder } from "./index-B_ya-V9U.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/dev",
3
- "version": "3.9.1",
3
+ "version": "3.9.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.9.1",
20
- "@vitessce/config": "3.9.1",
21
- "@vitessce/export-utils": "3.9.1",
22
- "@vitessce/constants": "3.9.1"
19
+ "@vitessce/config": "3.9.2",
20
+ "@vitessce/constants": "3.9.2",
21
+ "@vitessce/export-utils": "3.9.2",
22
+ "@vitessce/all": "3.9.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.5.0",