@vitessce/dev 4.0.0-test.1 → 4.0.0-test.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.
Files changed (24) hide show
  1. package/dist/{GeometryAndMeshXR-DAmAodts.js → GeometryAndMeshXR-CKq-QN2V.js} +4 -4
  2. package/dist/{OrbitControls-DBDt-BXS.js → OrbitControls-3kvAx_bm.js} +1 -1
  3. package/dist/{ReactNeuroglancer-CRls7hE2.js → ReactNeuroglancer-B2ZYQpR_.js} +1 -1
  4. package/dist/{XREnterButton-DcbCw28L.js → XREnterButton-D2bwhG22.js} +2 -2
  5. package/dist/{XRSceneComponents-BSDW2vwy.js → XRSceneComponents-CThu7a6X.js} +3 -3
  6. package/dist/XRWrapper-DRaWgrhr.js +10 -0
  7. package/dist/{deflate-DAT9nu6x.js → deflate-CMGMgnZ7.js} +1 -1
  8. package/dist/{emulate-ChmN5Fbs.js → emulate-DgwsWyZo.js} +2 -2
  9. package/dist/{higlass-BWODvZh4.js → higlass-CRUcLDuS.js} +1 -1
  10. package/dist/{index-9ZBePH-w.js → index-BfhRmnqb.js} +16 -6
  11. package/dist/{index-C5xtehNM.js → index-BkcsTpHg.js} +12 -12
  12. package/dist/{index-DicJonGa.js → index-C-X_ahOA.js} +60 -7
  13. package/dist/{index-DfOXNOfY.js → index-DuGF-3UQ.js} +2 -2
  14. package/dist/index.js +1 -1
  15. package/dist/{jpeg-CA8tJ1sb.js → jpeg-B73QAFMi.js} +1 -1
  16. package/dist/{lerc-FXo5BIDd.js → lerc-CAJ3Y0cq.js} +1 -1
  17. package/dist/{lzw-Creb2IFN.js → lzw-D76PzfLd.js} +1 -1
  18. package/dist/{packbits-7gQQb07I.js → packbits-DB_LLrYE.js} +1 -1
  19. package/dist/{raw-CrXe8WB5.js → raw-DE4Hzim5.js} +1 -1
  20. package/dist/{ray-grab-DkzBHLFJ.js → ray-grab-DZpbNNCS.js} +3 -3
  21. package/dist/{webimage-C31S8FEU.js → webimage-Cb-GqMg_.js} +1 -1
  22. package/dist/{xrStore-B4nYiuJO.js → xrStore-633UaA-M.js} +2 -2
  23. package/package.json +5 -5
  24. package/dist/XRWrapper-DLFl6IsW.js +0 -10
@@ -1,8 +1,8 @@
1
- import { M as Matrix4, V as Vector3, j as jsxRuntimeExports, F as FrontSide, a as Box3 } from "./index-C5xtehNM.js";
1
+ import { M as Matrix4, V as Vector3, j as jsxRuntimeExports, F as FrontSide, a as Box3 } from "./index-BkcsTpHg.js";
2
2
  import { useRef, useEffect, useState } from "react";
3
- import { M as useXR, s as useXRInputSourceState } from "./ray-grab-DkzBHLFJ.js";
4
- import { i as isValidGeometrySize, M as MeasureLine, s as stringifyLineData, B as Bvh } from "./index-DicJonGa.js";
5
- import { u as useThree, a as useFrame } from "./OrbitControls-DBDt-BXS.js";
3
+ import { M as useXR, s as useXRInputSourceState } from "./ray-grab-DZpbNNCS.js";
4
+ import { i as isValidGeometrySize, M as MeasureLine, s as stringifyLineData, B as Bvh } from "./index-C-X_ahOA.js";
5
+ import { u as useThree, a as useFrame } from "./OrbitControls-3kvAx_bm.js";
6
6
  function getHandJoint(hand, jointName) {
7
7
  return hand.get(jointName);
8
8
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import React__default, { useState, useRef, useEffect, useMemo } from "react";
3
- import { s as requireShim, g as getDefaultExportFromCjs, t as createStore$1, j as jsxRuntimeExports, v as WebGLRenderer, w as Raycaster, O as OrthographicCamera, x as PerspectiveCamera, S as Scene, y as PCFSoftShadowMap, z as VSMShadowMap, A as PCFShadowMap, E as BasicShadowMap, H as LinearSRGBColorSpace, I as SRGBColorSpace, J as NoToneMapping, K as ACESFilmicToneMapping, Q as Layers, T as Color, o as RGBAFormat, U as UnsignedByteType, V as Vector3, k as Vector2, X as Clock, Y as ColorManagement, Z as THREE, _ as Spherical, $ as Quaternion, a0 as MOUSE, a1 as TOUCH, a2 as Ray, a3 as Plane, a4 as _extends } from "./index-C5xtehNM.js";
3
+ import { s as requireShim, g as getDefaultExportFromCjs, t as createStore$1, j as jsxRuntimeExports, v as WebGLRenderer, w as Raycaster, O as OrthographicCamera, x as PerspectiveCamera, S as Scene, y as PCFSoftShadowMap, z as VSMShadowMap, A as PCFShadowMap, E as BasicShadowMap, H as LinearSRGBColorSpace, I as SRGBColorSpace, J as NoToneMapping, K as ACESFilmicToneMapping, Q as Layers, T as Color, o as RGBAFormat, U as UnsignedByteType, V as Vector3, k as Vector2, X as Clock, Y as ColorManagement, Z as THREE, _ as Spherical, $ as Quaternion, a0 as MOUSE, a1 as TOUCH, a2 as Ray, a3 as Plane, a4 as _extends } from "./index-BkcsTpHg.js";
4
4
  var withSelector = { exports: {} };
5
5
  var withSelector_development = {};
6
6
  var hasRequiredWithSelector_development;
@@ -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 { g as getDefaultExportFromCjs, bu as requireAssign, bv as require_export, bw as require_core, bx as require_fails, by as require_toObject, bz as require_objectKeys, bA as require_cof, bB as require_wks, bC as require_iterators, bD as requireWeb_dom_iterable, bE as requireEs6_string_iterator, bF as require_anObject, bG as require_hide, bH as require_ctx, bI as require_toLength, bJ as require_global, bK as require_objectDp, bL as require_descriptors, bM as require_isObject, bN as require_objectCreate, bO as require_iterDefine, bP as require_iterStep, bQ as require_meta, bR as require_isArray, bS as require_iobject, bT as require_setToStringTag, bU as require_aFunction, bV as requireIterator, bW as require_propertyDesc, bX as require_root, bY as require_baseGetTag, bZ as requireIsObjectLike, b_ as requireIsObject, b$ as requireEs6_symbol, c0 as requireDefineProperty, c1 as require_toIobject, c2 as require_objectGopd, c3 as require_html, c4 as require_domCreate, c5 as require_library, c6 as requireSymbol, c7 as require_objectPie, c8 as require_has, c9 as require_redefine, ca as require_objectAssign, cb as diffCameraState, j as jsxRuntimeExports } from "./index-C5xtehNM.js";
4
+ import { g as getDefaultExportFromCjs, bu as requireAssign, bv as require_export, bw as require_core, bx as require_fails, by as require_toObject, bz as require_objectKeys, bA as require_cof, bB as require_wks, bC as require_iterators, bD as requireWeb_dom_iterable, bE as requireEs6_string_iterator, bF as require_anObject, bG as require_hide, bH as require_ctx, bI as require_toLength, bJ as require_global, bK as require_objectDp, bL as require_descriptors, bM as require_isObject, bN as require_objectCreate, bO as require_iterDefine, bP as require_iterStep, bQ as require_meta, bR as require_isArray, bS as require_iobject, bT as require_setToStringTag, bU as require_aFunction, bV as requireIterator, bW as require_propertyDesc, bX as require_root, bY as require_baseGetTag, bZ as requireIsObjectLike, b_ as requireIsObject, b$ as requireEs6_symbol, c0 as requireDefineProperty, c1 as require_toIobject, c2 as require_objectGopd, c3 as require_html, c4 as require_domCreate, c5 as require_library, c6 as requireSymbol, c7 as require_objectPie, c8 as require_has, c9 as require_redefine, ca as require_objectAssign, cb as diffCameraState, j as jsxRuntimeExports } from "./index-BkcsTpHg.js";
5
5
  import React__default from "react";
6
6
  var assignExports = requireAssign();
7
7
  const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
@@ -1,6 +1,6 @@
1
- import { j as jsxRuntimeExports } from "./index-C5xtehNM.js";
1
+ import { j as jsxRuntimeExports } from "./index-BkcsTpHg.js";
2
2
  import { useState, useEffect } from "react";
3
- import { x as xrStore } from "./xrStore-B4nYiuJO.js";
3
+ import { x as xrStore } from "./xrStore-633UaA-M.js";
4
4
  function XREnterButton() {
5
5
  const [supported, setSupported] = useState(false);
6
6
  const [entered, setEntered] = useState(false);
@@ -1,7 +1,7 @@
1
- import { j as jsxRuntimeExports } from "./index-C5xtehNM.js";
1
+ import { j as jsxRuntimeExports } from "./index-BkcsTpHg.js";
2
2
  import { useRef } from "react";
3
- import { s as useXRInputSourceState, M as useXR } from "./ray-grab-DkzBHLFJ.js";
4
- import { u as useThree, a as useFrame } from "./OrbitControls-DBDt-BXS.js";
3
+ import { s as useXRInputSourceState, M as useXR } from "./ray-grab-DZpbNNCS.js";
4
+ import { u as useThree, a as useFrame } from "./OrbitControls-3kvAx_bm.js";
5
5
  function getHandJoint(hand, jointName) {
6
6
  return hand.get(jointName);
7
7
  }
@@ -0,0 +1,10 @@
1
+ import { j as jsxRuntimeExports } from "./index-BkcsTpHg.js";
2
+ import { K as XR } from "./ray-grab-DZpbNNCS.js";
3
+ import "react";
4
+ import { x as xrStore } from "./xrStore-633UaA-M.js";
5
+ function XRWrapper({ children }) {
6
+ return jsxRuntimeExports.jsx(XR, { store: xrStore, children });
7
+ }
8
+ export {
9
+ XRWrapper as default
10
+ };
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-C5xtehNM.js";
2
+ import { B as BaseDecoder } from "./index-BkcsTpHg.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -1,9 +1,9 @@
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 { aQ as PropTypes, g as getDefaultExportFromCjs, j as jsxRuntimeExports, aR as create$2, V as Vector3$3, M as Matrix4$1, $ as Quaternion$3, aO as Euler$1, a3 as Plane$1, aC as Object3D$1, T as Color$1, aS as LineSegments$1, az as BufferGeometry$1, aT as LineBasicMaterial$1, aa as Float32BufferAttribute$1, aw as Group$1, O as OrthographicCamera$1, am as MeshBasicMaterial$1, q as Mesh$1, aI as CylinderGeometry, aE as BoxGeometry$1, aU as OctahedronGeometry, aV as TorusGeometry, aB as SphereGeometry, k as Vector2$2, aW as create$3, aX as clone, aY as fromTranslation, aZ as create$4, a_ as getTranslation, a$ as fromRotationTranslation, b0 as copy$1, b1 as multiply$1, b2 as fromValues, b3 as create$5, b4 as set, b5 as copy$2, b6 as normalize$1, b7 as conjugate, b8 as multiply$2, b9 as setAxisAngle, ba as fromValues$1, bb as set$1, bc as copy$3, bd as normalize$2, be as add, bf as transformQuat, bg as invert, bh as getRotation, bi as set$2, bj as create$6, bk as transformMat4, bl as cross, bm as dot, bn as fromRotation, bo as identity, bp as perspective, bq as getScaling, br as lerp$1, bs as slerp, bt as fromRotationTranslationScale } from "./index-C5xtehNM.js";
4
+ import { aQ as PropTypes, g as getDefaultExportFromCjs, j as jsxRuntimeExports, aR as create$2, V as Vector3$3, M as Matrix4$1, $ as Quaternion$3, aO as Euler$1, a3 as Plane$1, aC as Object3D$1, T as Color$1, aS as LineSegments$1, az as BufferGeometry$1, aT as LineBasicMaterial$1, aa as Float32BufferAttribute$1, aw as Group$1, O as OrthographicCamera$1, am as MeshBasicMaterial$1, q as Mesh$1, aI as CylinderGeometry, aE as BoxGeometry$1, aU as OctahedronGeometry, aV as TorusGeometry, aB as SphereGeometry, k as Vector2$2, aW as create$3, aX as clone, aY as fromTranslation, aZ as create$4, a_ as getTranslation, a$ as fromRotationTranslation, b0 as copy$1, b1 as multiply$1, b2 as fromValues, b3 as create$5, b4 as set, b5 as copy$2, b6 as normalize$1, b7 as conjugate, b8 as multiply$2, b9 as setAxisAngle, ba as fromValues$1, bb as set$1, bc as copy$3, bd as normalize$2, be as add, bf as transformQuat, bg as invert, bh as getRotation, bi as set$2, bj as create$6, bk as transformMat4, bl as cross, bm as dot, bn as fromRotation, bo as identity, bp as perspective, bq as getScaling, br as lerp$1, bs as slerp, bt as fromRotationTranslationScale } from "./index-BkcsTpHg.js";
5
5
  import React__default, { useState, useMemo, useEffect, useContext, useDebugValue, createElement as createElement$1, useRef } from "react";
6
- import { _ as clamp$1, $ as forwardHtmlEvents, a0 as clientExports } from "./ray-grab-DkzBHLFJ.js";
6
+ import { _ as clamp$1, $ as forwardHtmlEvents, a0 as clientExports } from "./ray-grab-DZpbNNCS.js";
7
7
  const noop$1 = () => {
8
8
  };
9
9
  let _WINDOW = {};
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import React__default, { createContext, isValidElement, PureComponent, Component, useMemo, useState, useRef, useEffect, useCallback, memo, useContext, useReducer, useLayoutEffect } from "react";
3
- import { a5 as requireObjectAssign, g as getDefaultExportFromCjs$1, a6 as commonjsGlobal, a7 as earcut, j as jsxRuntimeExports } from "./index-C5xtehNM.js";
3
+ import { a5 as requireObjectAssign, g as getDefaultExportFromCjs$1, a6 as commonjsGlobal, a7 as earcut, j as jsxRuntimeExports } from "./index-BkcsTpHg.js";
4
4
  import ReactDOM__default, { unstable_batchedUpdates, createPortal } from "react-dom";
5
5
  function finallyConstructor(callback) {
6
6
  var constructor = this.constructor;
@@ -1,6 +1,6 @@
1
- import { l as log, i as isEqual, c as atLeastLogLevel, D as Data3DTexture, R as RedFormat, U as UnsignedByteType, d as LinearFilter, e as RedIntegerFormat, f as UnsignedIntType, N as NearestFilter, h as LogLevel, V as Vector3, k as Vector2, m as Vector4, n as UniformsUtils, C as CoordinationType, W as WebGLMultipleRenderTargets, o as RGBAFormat, S as Scene, O as OrthographicCamera, p as ShaderMaterial, q as Mesh, P as PlaneGeometry, u as useEventCallback, j as jsxRuntimeExports, G as GLSL3, r as BackSide } from "./index-C5xtehNM.js";
1
+ import { l as log, i as isEqual, c as atLeastLogLevel, D as Data3DTexture, R as RedFormat, U as UnsignedByteType, d as LinearFilter, e as RedIntegerFormat, f as UnsignedIntType, N as NearestFilter, h as LogLevel, V as Vector3, k as Vector2, m as Vector4, n as UniformsUtils, C as CoordinationType, W as WebGLMultipleRenderTargets, o as RGBAFormat, S as Scene, O as OrthographicCamera, p as ShaderMaterial, q as Mesh, P as PlaneGeometry, u as useEventCallback, j as jsxRuntimeExports, G as GLSL3, r as BackSide } from "./index-BkcsTpHg.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-DBDt-BXS.js";
3
+ import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-3kvAx_bm.js";
4
4
  const BRICK_SIZE = 32;
5
5
  const BRICK_CACHE_SIZE_X = 64;
6
6
  const BRICK_CACHE_SIZE_Y = 64;
@@ -205,7 +205,8 @@ function _requestBufferToRequestObjects(buffer, k, optsForWeighting) {
205
205
  }
206
206
  counts.set(packed, (counts.get(packed) || 0) + weight);
207
207
  }
208
- const requests = [...counts.entries()].sort((a, b) => b[1] - a[1]).slice(0, k).map(([packed]) => ({
208
+ const sorted = Array.from(counts.entries()).toSorted((a, b) => b[1] - a[1]);
209
+ const requests = sorted.slice(0, k).map(([packed]) => ({
209
210
  x: packed >> 22 & 1023,
210
211
  y: packed >> 12 & 1023,
211
212
  z: packed & 4095
@@ -873,6 +874,10 @@ class VolumeDataManager {
873
874
  * the center of the render target.
874
875
  */
875
876
  async processRequestData(buffer, optsForWeighting) {
877
+ if (this.initStatus !== INIT_STATUS.COMPLETE) {
878
+ log.debug("processRequestData: not yet initialized, skipping");
879
+ return;
880
+ }
876
881
  if (this.isBusy) {
877
882
  log.debug("processRequestData: already busy, skipping");
878
883
  return;
@@ -3557,6 +3562,7 @@ function VolumeView(props) {
3557
3562
  geometrySize: [1, 1, 1]
3558
3563
  });
3559
3564
  const is3D = spatialRenderingMode === "3D";
3565
+ const [dmInitComplete, setDmInitComplete] = useState(false);
3560
3566
  const screenSceneRef = useRef(null);
3561
3567
  const screenCameraRef = useRef(null);
3562
3568
  const screenQuadRef = useRef(null);
@@ -3629,6 +3635,7 @@ function VolumeView(props) {
3629
3635
  const initializeDataManager = async () => {
3630
3636
  if (dataManager.initStatus === INIT_STATUS.COMPLETE) {
3631
3637
  log.debug("dataManager already initialized, skipping");
3638
+ setDmInitComplete(true);
3632
3639
  return;
3633
3640
  }
3634
3641
  dataManager.initImages(images, imageLayerScopes);
@@ -3641,6 +3648,7 @@ function VolumeView(props) {
3641
3648
  renderManager.setZarrUniforms(dataManager.zarrStore, dataManager.PT);
3642
3649
  renderManager.setChannelMapping(dataManager.channels.colorMappings);
3643
3650
  log.debug("rm.uniforms", renderManager.uniforms);
3651
+ setDmInitComplete(true);
3644
3652
  invalidate();
3645
3653
  };
3646
3654
  initializeDataManager();
@@ -3650,7 +3658,7 @@ function VolumeView(props) {
3650
3658
  }, [dataManager, renderManager, images, imageLayerScopes]);
3651
3659
  useEffect(() => {
3652
3660
  const on3D = spatialRenderingMode === "3D";
3653
- if (on3D && dataManager && renderManager) {
3661
+ if (on3D && dataManager && renderManager && dmInitComplete) {
3654
3662
  logWithColor("useEffect spatialRenderingMode");
3655
3663
  const propsForRenderManager = {
3656
3664
  images,
@@ -3684,7 +3692,7 @@ function VolumeView(props) {
3684
3692
  }
3685
3693
  }
3686
3694
  }
3687
- }, [dataManager, renderManager, images, imageLayerScopes, imageLayerCoordination, imageChannelScopesByLayer, imageChannelCoordination, spatialRenderingMode]);
3695
+ }, [dataManager, renderManager, images, imageLayerScopes, imageLayerCoordination, imageChannelScopesByLayer, imageChannelCoordination, spatialRenderingMode, dmInitComplete]);
3688
3696
  const RENDER_PRIORITY = 1;
3689
3697
  useFrame((state, delta, xrFrame) => {
3690
3698
  if (!mrtRef.current || !dataManager || !renderManager) {
@@ -3735,6 +3743,8 @@ function VolumeView(props) {
3735
3743
  }, 300);
3736
3744
  });
3737
3745
  useEffect(() => {
3746
+ if (!dmInitComplete)
3747
+ return;
3738
3748
  logWithColor("useEffect firstImageLayerChannelCoordination");
3739
3749
  setIsInteracting(true);
3740
3750
  log.debug("something about channels changed");
@@ -3744,7 +3754,7 @@ function VolumeView(props) {
3744
3754
  interactionTimeoutRef.current = setTimeout(() => {
3745
3755
  setIsInteracting(false);
3746
3756
  }, 300);
3747
- }, [dataManager, firstImageLayerChannelCoordination, renderManager, setIsInteracting]);
3757
+ }, [dataManager, firstImageLayerChannelCoordination, renderManager, setIsInteracting, dmInitComplete]);
3748
3758
  const stopLoading = useEventCallback(() => {
3749
3759
  if (dataManager) {
3750
3760
  dataManager.stopLoading();
@@ -1383,7 +1383,7 @@ const COMPONENT_COORDINATION_TYPES = {
1383
1383
  CoordinationType$2.HIERARCHY_LEVELS
1384
1384
  ]
1385
1385
  };
1386
- const version$6 = "3.9.8";
1386
+ const version$6 = "4.0.0-test.2";
1387
1387
  const META_VERSION = {
1388
1388
  version: version$6
1389
1389
  };
@@ -230228,22 +230228,22 @@ async function getDecoder(fileDirectory) {
230228
230228
  const Decoder = await importFn();
230229
230229
  return new Decoder(fileDirectory);
230230
230230
  }
230231
- addDecoder([void 0, 1], () => import("./raw-CrXe8WB5.js").then((m2) => m2.default));
230232
- addDecoder(5, () => import("./lzw-Creb2IFN.js").then((m2) => m2.default));
230231
+ addDecoder([void 0, 1], () => import("./raw-DE4Hzim5.js").then((m2) => m2.default));
230232
+ addDecoder(5, () => import("./lzw-D76PzfLd.js").then((m2) => m2.default));
230233
230233
  addDecoder(6, () => {
230234
230234
  throw new Error("old style JPEG compression is not supported.");
230235
230235
  });
230236
- addDecoder(7, () => import("./jpeg-CA8tJ1sb.js").then((m2) => m2.default));
230237
- addDecoder([8, 32946], () => import("./deflate-DAT9nu6x.js").then((m2) => m2.default));
230238
- addDecoder(32773, () => import("./packbits-7gQQb07I.js").then((m2) => m2.default));
230236
+ addDecoder(7, () => import("./jpeg-B73QAFMi.js").then((m2) => m2.default));
230237
+ addDecoder([8, 32946], () => import("./deflate-CMGMgnZ7.js").then((m2) => m2.default));
230238
+ addDecoder(32773, () => import("./packbits-DB_LLrYE.js").then((m2) => m2.default));
230239
230239
  addDecoder(
230240
230240
  34887,
230241
- () => import("./lerc-FXo5BIDd.js").then(async (m2) => {
230241
+ () => import("./lerc-CAJ3Y0cq.js").then(async (m2) => {
230242
230242
  await m2.zstd.init();
230243
230243
  return m2;
230244
230244
  }).then((m2) => m2.default)
230245
230245
  );
230246
- addDecoder(50001, () => import("./webimage-C31S8FEU.js").then((m2) => m2.default));
230246
+ addDecoder(50001, () => import("./webimage-Cb-GqMg_.js").then((m2) => m2.default));
230247
230247
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
230248
230248
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
230249
230249
  }
@@ -271671,12 +271671,12 @@ class ErrorBoundary2 extends React__default.Component {
271671
271671
  }
271672
271672
  }
271673
271673
  const LazySpatialThree = React__default.lazy(async () => {
271674
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DicJonGa.js").then((n3) => n3.a);
271674
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-C-X_ahOA.js").then((n3) => n3.a);
271675
271675
  return { default: SpatialWrapper2 };
271676
271676
  });
271677
271677
  const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { fallback: jsxRuntimeExports.jsx("div", { children: "3D spatial view is not available in this environment." }), children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
271678
271678
  const LazySpatialAccelerated = React__default.lazy(async () => {
271679
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-9ZBePH-w.js");
271679
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BfhRmnqb.js");
271680
271680
  return { default: SpatialWrapper2 };
271681
271681
  });
271682
271682
  const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { fallback: jsxRuntimeExports.jsx("div", { children: "3D spatial view is not available in this environment." }), children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialAccelerated, { ...props }) }) }) }));
@@ -284018,7 +284018,7 @@ function HiglassGlobalStyles(props) {
284018
284018
  }
284019
284019
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
284020
284020
  const LazyHiGlassComponent = React__default.lazy(async () => {
284021
- const { HiGlassComponent } = await import("./higlass-BWODvZh4.js");
284021
+ const { HiGlassComponent } = await import("./higlass-CRUcLDuS.js");
284022
284022
  return { default: HiGlassComponent };
284023
284023
  });
284024
284024
  const HG_SIZE = 800;
@@ -286966,7 +286966,7 @@ function NeuroglancerGlobalStyles(props) {
286966
286966
  const { classes: classes2 } = props;
286967
286967
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
286968
286968
  }
286969
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-CRls7hE2.js"));
286969
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-B2ZYQpR_.js"));
286970
286970
  function createWorker() {
286971
286971
  const worker = new WorkerFactory$1();
286972
286972
  worker.AsyncComputationWorker = WorkerFactory;
@@ -1,10 +1,10 @@
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 { a8 as REVISION, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as InterleavedBufferAttribute, ad as WireframeGeometry, a as Box3, ae as Sphere, V as Vector3, p as ShaderMaterial, n as UniformsUtils, af as UniformsLib, k as Vector2, q as Mesh, m as Vector4, ag as Line3, M as Matrix4, ah as MathUtils, T as Color, a4 as _extends, ai as MeshDistanceMaterial, aj as MeshDepthMaterial, ak as RGBADepthPacking, al as ShaderChunk, am as MeshBasicMaterial, an as InstancedBufferAttribute, ao as Texture, d as LinearFilter, ap as Matrix3, aq as DoubleSide, P as PlaneGeometry, ar as BufferAttribute, a3 as Plane, as as Triangle, r as BackSide, F as FrontSide, at as BatchedMesh, a2 as Ray, j as jsxRuntimeExports, C as CoordinationType, D as Data3DTexture, R as RedFormat, au as FloatType, av as getImageSize, S as Scene, aw as Group, ax as MeshPhysicalMaterial, ay as MeshStandardMaterial } from "./index-C5xtehNM.js";
4
+ import { a8 as REVISION, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as InterleavedBufferAttribute, ad as WireframeGeometry, a as Box3, ae as Sphere, V as Vector3, p as ShaderMaterial, n as UniformsUtils, af as UniformsLib, k as Vector2, q as Mesh, m as Vector4, ag as Line3, M as Matrix4, ah as MathUtils, T as Color, a4 as _extends, ai as MeshDistanceMaterial, aj as MeshDepthMaterial, ak as RGBADepthPacking, al as ShaderChunk, am as MeshBasicMaterial, an as InstancedBufferAttribute, ao as Texture, d as LinearFilter, ap as Matrix3, aq as DoubleSide, P as PlaneGeometry, ar as BufferAttribute, a3 as Plane, as as Triangle, r as BackSide, F as FrontSide, at as BatchedMesh, a2 as Ray, j as jsxRuntimeExports, C as CoordinationType, D as Data3DTexture, R as RedFormat, au as FloatType, av as getImageSize, S as Scene, aw as Group, ax as MeshPhysicalMaterial, ay as MeshStandardMaterial } from "./index-BkcsTpHg.js";
5
5
  import * as React from "react";
6
6
  import React__default, { useRef, useState, useEffect, Suspense, forwardRef } from "react";
7
- import { u as useThree, s as suspend, O as OrbitControls, C as Canvas } from "./OrbitControls-DBDt-BXS.js";
7
+ import { u as useThree, s as suspend, O as OrbitControls, C as Canvas } from "./OrbitControls-3kvAx_bm.js";
8
8
  const version = /* @__PURE__ */ (() => parseInt(REVISION.replace(/\D+/g, "")))();
9
9
  const UV1 = version >= 125 ? "uv1" : "uv2";
10
10
  const _box$1 = /* @__PURE__ */ new Box3();
@@ -10081,16 +10081,42 @@ function MeasureLine({ currentLine, scale }) {
10081
10081
  })] });
10082
10082
  }
10083
10083
  class Volume {
10084
+ /**
10085
+ * @param {number} xLength Width of the volume
10086
+ * @param {number} yLength Length of the volume
10087
+ * @param {number} zLength Depth of the volume
10088
+ * @param {string} type The type of data (uint8, uint16, ...)
10089
+ * @param {ArrayBuffer} arrayBuffer The buffer with volume data
10090
+ */
10084
10091
  constructor(xLength, yLength, zLength, type, arrayBuffer) {
10085
10092
  __publicField(this, "spacing", [1, 1, 1]);
10093
+ // Offset of the volume in the RAS coordinate system
10086
10094
  __publicField(this, "offset", [0, 0, 0]);
10095
+ // The IJK to RAS matrix
10087
10096
  __publicField(this, "matrix", new Matrix3().identity());
10097
+ // The list of all the slices associated to this volume
10088
10098
  __publicField(this, "sliceList", []);
10099
+ /**
10100
+ * The voxels with values under this
10101
+ * threshold won't appear in the slices.
10102
+ * If changed, geometryNeedsUpdate is automatically set to true on all
10103
+ * the slices associated to this volume
10104
+ */
10089
10105
  __publicField(this, "lowerThresholdValue", -Infinity);
10106
+ /**
10107
+ * The voxels with values over this
10108
+ * threshold won't appear in the slices.
10109
+ * If changed, geometryNeedsUpdate is automatically set to true on all
10110
+ * the slices associated to this volume
10111
+ */
10090
10112
  __publicField(this, "upperThresholdValue", Infinity);
10113
+ // Width of the volume in the IJK coordinate system
10091
10114
  __publicField(this, "xLength", 1);
10115
+ // Height of the volume in the IJK coordinate system
10092
10116
  __publicField(this, "yLength", 1);
10117
+ // Depth of the volume in the IJK coordinate system
10093
10118
  __publicField(this, "zLength", 1);
10119
+ // Data of the volume
10094
10120
  __publicField(this, "data");
10095
10121
  __publicField(this, "RASDimensions");
10096
10122
  __publicField(this, "inverseMatrix");
@@ -10194,18 +10220,33 @@ class Volume {
10194
10220
  slice.geometryNeedsUpdate = true;
10195
10221
  });
10196
10222
  }
10223
+ /**
10224
+ * Shortcut for data[access(i,j,k)]
10225
+ */
10197
10226
  getData(i, j, k) {
10198
10227
  return this.data[k * this.xLength * this.yLength + j * this.xLength + i];
10199
10228
  }
10229
+ /**
10230
+ * Compute the index in the data
10231
+ * array corresponding to the given coordinates in IJK system
10232
+ */
10200
10233
  access(i, j, k) {
10201
10234
  return k * this.xLength * this.yLength + j * this.xLength + i;
10202
10235
  }
10236
+ /**
10237
+ * Retrieve the IJK coordinates of the voxel
10238
+ * corresponding of the given index in the data
10239
+ */
10203
10240
  reverseAccess(index2) {
10204
10241
  const z = Math.floor(index2 / (this.yLength * this.xLength));
10205
10242
  const y = Math.floor((index2 - z * this.yLength * this.xLength) / this.xLength);
10206
10243
  const x = index2 - z * this.yLength * this.xLength - y * this.xLength;
10207
10244
  return [x, y, z];
10208
10245
  }
10246
+ /**
10247
+ * Apply a function to all the voxels, be careful,
10248
+ * the value will be replaced
10249
+ */
10209
10250
  // eslint-disable-next-line max-len
10210
10251
  map(functionToMap, contextParam) {
10211
10252
  const { length } = this.data;
@@ -10215,6 +10256,13 @@ class Volume {
10215
10256
  }
10216
10257
  return this;
10217
10258
  }
10259
+ /**
10260
+ * Compute the orientation
10261
+ * of the slice and returns all the information relative to the
10262
+ * geometry such as sliceAccess,
10263
+ * the plane matrix (orientation and position in RAS coordinate)
10264
+ * and the dimensions of the plane in both coordinate system.
10265
+ */
10218
10266
  extractPerpendicularPlane(axis, RASIndex) {
10219
10267
  const planeMatrix = new Matrix4().identity();
10220
10268
  const volume = this;
@@ -10293,6 +10341,11 @@ class Volume {
10293
10341
  planeHeight
10294
10342
  };
10295
10343
  }
10344
+ /**
10345
+ * Compute the minimum
10346
+ * and the maximum of the data in the volume
10347
+ * @returns {Array} [min,max]
10348
+ */
10296
10349
  computeMinMax() {
10297
10350
  let min = Infinity;
10298
10351
  let max = -Infinity;
@@ -10957,8 +11010,8 @@ function GeometryAndMesh(props) {
10957
11010
  setObsHighlight(e.object.name);
10958
11011
  }, onPointerOut: () => setObsHighlight(null) }) })] }) : null, renderingSettings.uniforms && renderingSettings.shader && renderingSettings.meshScale && renderingSettings.geometrySize ? jsxRuntimeExports.jsx("group", { children: jsxRuntimeExports.jsxs("mesh", { scale: renderingSettings.meshScale, ref: materialRef, children: [jsxRuntimeExports.jsx("boxGeometry", { args: renderingSettings.geometrySize }), jsxRuntimeExports.jsx("shaderMaterial", { customProgramCacheKey: () => "1", side: FrontSide, uniforms: renderingSettings.uniforms, needsUpdate: true, transparent: true, vertexShader: renderingSettings.shader.vertexShader, fragmentShader: renderingSettings.shader.fragmentShader })] }) }) : null] }), jsxRuntimeExports.jsx("group", { name: "lines", children: lines.map((object) => jsxRuntimeExports.jsx(MeasureLine, { currentLine: object, scale: 1 }, stringifyLineData(object))) })] });
10959
11012
  }
10960
- const LazyGeometryAndMeshXR = React__default.lazy(() => import("./GeometryAndMeshXR-DAmAodts.js").catch(() => ({ default: GeometryAndMesh })));
10961
- const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-BSDW2vwy.js").catch(() => ({ default: () => null })));
11013
+ const LazyGeometryAndMeshXR = React__default.lazy(() => import("./GeometryAndMeshXR-CKq-QN2V.js").catch(() => ({ default: GeometryAndMesh })));
11014
+ const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-CThu7a6X.js").catch(() => ({ default: () => null })));
10962
11015
  function SpatialThree(props) {
10963
11016
  const materialRef = useRef(null);
10964
11017
  const orbitRef = useRef(null);
@@ -11304,20 +11357,20 @@ function SpatialThree(props) {
11304
11357
  }
11305
11358
  const LazyXRWrapper = React__default.lazy(
11306
11359
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
11307
- () => import("./XRWrapper-DLFl6IsW.js").catch(() => ({
11360
+ () => import("./XRWrapper-DRaWgrhr.js").catch(() => ({
11308
11361
  default: ({ children }) => children
11309
11362
  }))
11310
11363
  );
11311
11364
  const LazyXREnterButton = React__default.lazy(
11312
11365
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
11313
- () => import("./XREnterButton-DcbCw28L.js").catch(() => ({
11366
+ () => import("./XREnterButton-D2bwhG22.js").catch(() => ({
11314
11367
  default: () => null
11315
11368
  }))
11316
11369
  );
11317
11370
  const SpatialWrapper = forwardRef((props, canvasRef) => {
11318
11371
  const [xrAvailable, setXrAvailable] = useState(false);
11319
11372
  useEffect(() => {
11320
- import("./index-DfOXNOfY.js").then(() => setXrAvailable(true)).catch(() => {
11373
+ import("./index-DuGF-3UQ.js").then(() => setXrAvailable(true)).catch(() => {
11321
11374
  });
11322
11375
  }, []);
11323
11376
  return jsxRuntimeExports.jsxs("div", { style: { width: "100%", height: "100%" }, children: [xrAvailable && jsxRuntimeExports.jsx(Suspense, { fallback: null, children: jsxRuntimeExports.jsx(LazyXREnterButton, {}) }), jsxRuntimeExports.jsx(Canvas, { style: { position: "absolute", top: 0, left: 0 }, camera: {
@@ -1,5 +1,5 @@
1
- import { C, y, v, B, z, D, x, w, F, E, A, S, Z, m, P, R, T, K, W, d, e, Q, X, O, J, G, H, I, i, o, U, b, a, h, Y, V, k, n, j, l, M, c, N, s, t, f, g, r, q, p, u, L } from "./ray-grab-DkzBHLFJ.js";
2
- import "./index-C5xtehNM.js";
1
+ import { C, y, v, B, z, D, x, w, F, E, A, S, Z, m, P, R, T, K, W, d, e, Q, X, O, J, G, H, I, i, o, U, b, a, h, Y, V, k, n, j, l, M, c, N, s, t, f, g, r, q, p, u, L } from "./ray-grab-DZpbNNCS.js";
2
+ import "./index-BkcsTpHg.js";
3
3
  import "react";
4
4
  export {
5
5
  C as CombinedPointer,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cm, ch, cf, cg, cq, cr, ci, cC, cA, cy, cB, cz, ce, cx, cj, cd, cc, co, cu, cn, cp, ct, cs, cl, cv, cw, cH, cK, cE, cL, cM, cF, cI, cJ, cG, ck, cD } from "./index-C5xtehNM.js";
1
+ import { cm, ch, cf, cg, cq, cr, ci, cC, cA, cy, cB, cz, ce, cx, cj, cd, cc, co, cu, cn, cp, ct, cs, cl, cv, cw, cH, cK, cE, cL, cM, cF, cI, cJ, cG, ck, cD } from "./index-BkcsTpHg.js";
2
2
  import "react";
3
3
  export {
4
4
  cm as CoordinationLevel,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-C5xtehNM.js";
1
+ import { B as BaseDecoder } from "./index-BkcsTpHg.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, B as BaseDecoder, L as LercParameters, b as LercAddCompression } from "./index-C5xtehNM.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, b as LercAddCompression } from "./index-BkcsTpHg.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-C5xtehNM.js";
1
+ import { B as BaseDecoder } from "./index-BkcsTpHg.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 { B as BaseDecoder } from "./index-C5xtehNM.js";
1
+ import { B as BaseDecoder } from "./index-BkcsTpHg.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-C5xtehNM.js";
1
+ import { B as BaseDecoder } from "./index-BkcsTpHg.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,9 +1,9 @@
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 { az as BufferGeometry, M as Matrix4, V as Vector3, ar as BufferAttribute, p as ShaderMaterial, k as Vector2, T as Color, af as UniformsLib, a8 as REVISION, g as getDefaultExportFromCjs, q as Mesh, aA as Material, am as MeshBasicMaterial, $ as Quaternion, a2 as Ray, aB as SphereGeometry, aC as Object3D, as as Triangle, ag as Line3, a3 as Plane, w as Raycaster, ae as Sphere, aD as InstancedMesh, aE as BoxGeometry, P as PlaneGeometry, aF as Box2, aG as Shape, aH as ShapeGeometry, aI as CylinderGeometry, aJ as WebGLRenderTarget, aK as DepthTexture, aL as HalfFloatType, d as LinearFilter, aM as VideoTexture, ao as Texture, I as SRGBColorSpace, aN as QuadraticBezierCurve3, aO as Euler, aP as GLTFLoader, j as jsxRuntimeExports, x as PerspectiveCamera, S as Scene, m as Vector4, O as OrthographicCamera } from "./index-C5xtehNM.js";
4
+ import { az as BufferGeometry, M as Matrix4, V as Vector3, ar as BufferAttribute, p as ShaderMaterial, k as Vector2, T as Color, af as UniformsLib, a8 as REVISION, g as getDefaultExportFromCjs, q as Mesh, aA as Material, am as MeshBasicMaterial, $ as Quaternion, a2 as Ray, aB as SphereGeometry, aC as Object3D, as as Triangle, ag as Line3, a3 as Plane, w as Raycaster, ae as Sphere, aD as InstancedMesh, aE as BoxGeometry, P as PlaneGeometry, aF as Box2, aG as Shape, aH as ShapeGeometry, aI as CylinderGeometry, aJ as WebGLRenderTarget, aK as DepthTexture, aL as HalfFloatType, d as LinearFilter, aM as VideoTexture, ao as Texture, I as SRGBColorSpace, aN as QuadraticBezierCurve3, aO as Euler, aP as GLTFLoader, j as jsxRuntimeExports, x as PerspectiveCamera, S as Scene, m as Vector4, O as OrthographicCamera } from "./index-BkcsTpHg.js";
5
5
  import React__default, { createContext, forwardRef, useImperativeHandle, useMemo, useState, useRef, useContext, useEffect, Suspense, useSyncExternalStore, useCallback } from "react";
6
- import { s as suspend, a as useFrame, c as createPortal, b as useLoader, d as useStore$1, u as useThree, r as reconciler, e as context, f as addEffect } from "./OrbitControls-DBDt-BXS.js";
6
+ import { s as suspend, a as useFrame, c as createPortal, b as useLoader, d as useStore$1, u as useThree, r as reconciler, e as context, f as addEffect } from "./OrbitControls-3kvAx_bm.js";
7
7
  import ReactDOM__default from "react-dom";
8
8
  var client = {};
9
9
  var hasRequiredClient;
@@ -3345,7 +3345,7 @@ async function injectEmulator(store, emulateOptions, alert) {
3345
3345
  if (ar || vr) {
3346
3346
  return false;
3347
3347
  }
3348
- const { emulate } = await import("./emulate-ChmN5Fbs.js");
3348
+ const { emulate } = await import("./emulate-DgwsWyZo.js");
3349
3349
  if (alert) {
3350
3350
  window.alert(`emulator started`);
3351
3351
  }
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-C5xtehNM.js";
1
+ import { B as BaseDecoder } from "./index-BkcsTpHg.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -1,5 +1,5 @@
1
- import { J as createXRStore } from "./ray-grab-DkzBHLFJ.js";
2
- import "./index-C5xtehNM.js";
1
+ import { J as createXRStore } from "./ray-grab-DZpbNNCS.js";
2
+ import "./index-BkcsTpHg.js";
3
3
  import "react";
4
4
  const xrStore = createXRStore({
5
5
  handTracking: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "4.0.0-test.1",
3
+ "version": "4.0.0-test.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": "4.0.0-test.1",
20
- "@vitessce/config": "4.0.0-test.1",
21
- "@vitessce/constants": "4.0.0-test.1",
22
- "@vitessce/export-utils": "4.0.0-test.1"
19
+ "@vitessce/all": "4.0.0-test.2",
20
+ "@vitessce/constants": "4.0.0-test.2",
21
+ "@vitessce/export-utils": "4.0.0-test.2",
22
+ "@vitessce/config": "4.0.0-test.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.5.0",
@@ -1,10 +0,0 @@
1
- import { j as jsxRuntimeExports } from "./index-C5xtehNM.js";
2
- import { K as XR } from "./ray-grab-DkzBHLFJ.js";
3
- import "react";
4
- import { x as xrStore } from "./xrStore-B4nYiuJO.js";
5
- function XRWrapper({ children }) {
6
- return jsxRuntimeExports.jsx(XR, { store: xrStore, children });
7
- }
8
- export {
9
- XRWrapper as default
10
- };