@vitessce/launcher 4.0.6 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GeometryAndMeshXR-CRmUfduo.js → GeometryAndMeshXR-Bd_KHMnf.js} +2 -2
- package/dist/{ReactNeuroglancer-lhHqb26z.js → ReactNeuroglancer-xKMYi5cX.js} +1 -1
- package/dist/{XREnterButton-D6okITo8.js → XREnterButton-BIb-FC3x.js} +4 -4
- package/dist/{XRSceneComponents-DPWM9Kof.js → XRSceneComponents-0fj6v22S.js} +3 -3
- package/dist/XRWrapper-B6lEkPyW.js +10 -0
- package/dist/{deflate-DQl9IP3Y.js → deflate-Ii7WwEhp.js} +1 -1
- package/dist/{higlass-D15hvJ_M.js → higlass-VqG4P171.js} +1 -1
- package/dist/{index-DBBuqo_C.js → index-B36-W2UC.js} +1 -1
- package/dist/{index-KhSE41J7.js → index-BuazjiSy.js} +5 -5
- package/dist/{index-BCBR2wdG.js → index-DbVw_AS1.js} +14 -14
- package/dist/index.js +1 -1
- package/dist/{jpeg-VQtOPzqo.js → jpeg-Bn1PlHTE.js} +1 -1
- package/dist/{lerc-BOZdP3CI.js → lerc-eT9g3QYX.js} +1 -1
- package/dist/{lzw-DsVNTHOy.js → lzw-BNU2HDa1.js} +1 -1
- package/dist/{packbits-MGL9I2T5.js → packbits-D30eBheI.js} +1 -1
- package/dist/{raw-xWXN4EOw.js → raw-BQShasMq.js} +1 -1
- package/dist/{webimage-gXvzmhsO.js → webimage-Dg3r2wab.js} +1 -1
- package/dist/xrStore-CCVgKb-W.js +14 -0
- package/package.json +9 -9
- package/dist/XRWrapper-DjLzFqbp.js +0 -10
- package/dist/xrStore-CSrwcN_T.js +0 -8
|
@@ -3,8 +3,7 @@ import { useRef, useEffect, useState } from "react";
|
|
|
3
3
|
import { useThree, useFrame } from "@react-three/fiber";
|
|
4
4
|
import { Bvh } from "@react-three/drei";
|
|
5
5
|
import { Matrix4, Vector3, Box3, FrontSide } from "three";
|
|
6
|
-
import { g as getXRModule, i as isValidGeometrySize, M as MeasureLine, s as stringifyLineData } from "./index-
|
|
7
|
-
const { useXR, useXRInputSourceState } = getXRModule();
|
|
6
|
+
import { g as getXRModule, i as isValidGeometrySize, M as MeasureLine, s as stringifyLineData } from "./index-BuazjiSy.js";
|
|
8
7
|
function getHandJoint(hand, jointName) {
|
|
9
8
|
return hand.get(jointName);
|
|
10
9
|
}
|
|
@@ -27,6 +26,7 @@ function isPinching(hand, frame, refSpace, threshold = 0.02) {
|
|
|
27
26
|
return thumbPos.distanceTo(indexPos) < threshold;
|
|
28
27
|
}
|
|
29
28
|
function GeometryAndMeshXR(props) {
|
|
29
|
+
const { useXR, useXRInputSourceState } = getXRModule();
|
|
30
30
|
const { segmentationGroup, segmentationSettings, segmentationSceneScale, renderingSettings, materialRef, highlightEntity, setObsHighlight } = props;
|
|
31
31
|
const model = useRef(null);
|
|
32
32
|
const distanceRef = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as getDefaultExportFromCjs, d as requireAssign, f as require_export, h as require_core, j as require_fails, k as require_toObject, m as require_objectKeys, n as require_cof, o as require_wks, p as require_iterators, q as requireWeb_dom_iterable, s as requireEs6_string_iterator, t as require_anObject, v as require_hide, w as require_ctx, x as require_toLength, y as require_global, z as require_objectDp, A as require_descriptors, D as require_isObject, E as require_objectCreate, F as require_iterDefine, G as require_iterStep, H as require_meta, I as require_isArray, J as require_iobject, K as require_setToStringTag, M as require_aFunction, N as requireIterator, O as require_propertyDesc, c as commonjsGlobal, P as requireEs6_symbol, Q as requireDefineProperty, R as require_toIobject, S as require_objectGopd, T as require_html, U as require_domCreate, V as require_library, W as requireSymbol, X as require_objectPie, Y as require_has, Z as require_redefine, _ as require_objectAssign, $ as GREY_HEX, a0 as diffCameraState } from "./index-
|
|
3
|
+
import { a as getDefaultExportFromCjs, d as requireAssign, f as require_export, h as require_core, j as require_fails, k as require_toObject, m as require_objectKeys, n as require_cof, o as require_wks, p as require_iterators, q as requireWeb_dom_iterable, s as requireEs6_string_iterator, t as require_anObject, v as require_hide, w as require_ctx, x as require_toLength, y as require_global, z as require_objectDp, A as require_descriptors, D as require_isObject, E as require_objectCreate, F as require_iterDefine, G as require_iterStep, H as require_meta, I as require_isArray, J as require_iobject, K as require_setToStringTag, M as require_aFunction, N as requireIterator, O as require_propertyDesc, c as commonjsGlobal, P as requireEs6_symbol, Q as requireDefineProperty, R as require_toIobject, S as require_objectGopd, T as require_html, U as require_domCreate, V as require_library, W as requireSymbol, X as require_objectPie, Y as require_has, Z as require_redefine, _ as require_objectAssign, $ as GREY_HEX, a0 as diffCameraState } from "./index-DbVw_AS1.js";
|
|
4
4
|
var assignExports = requireAssign();
|
|
5
5
|
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
|
|
6
6
|
var es6_object_keys = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { g as getXrStore } from "./xrStore-CCVgKb-W.js";
|
|
4
4
|
function XREnterButton() {
|
|
5
5
|
const [supported, setSupported] = useState(false);
|
|
6
6
|
const [entered, setEntered] = useState(false);
|
|
@@ -18,7 +18,7 @@ function XREnterButton() {
|
|
|
18
18
|
};
|
|
19
19
|
}, []);
|
|
20
20
|
useEffect(() => {
|
|
21
|
-
const unsubscribe =
|
|
21
|
+
const unsubscribe = getXrStore().subscribe((state) => {
|
|
22
22
|
setEntered(state.session != null);
|
|
23
23
|
});
|
|
24
24
|
return unsubscribe;
|
|
@@ -27,11 +27,11 @@ function XREnterButton() {
|
|
|
27
27
|
return null;
|
|
28
28
|
const handleClick = () => {
|
|
29
29
|
if (entered) {
|
|
30
|
-
const { session } =
|
|
30
|
+
const { session } = getXrStore().getState();
|
|
31
31
|
if (session)
|
|
32
32
|
session.end();
|
|
33
33
|
} else {
|
|
34
|
-
|
|
34
|
+
getXrStore().enterAR();
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
return jsx("button", { type: "button", onClick: handleClick, style: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useRef } from "react";
|
|
3
3
|
import { useThree, useFrame } from "@react-three/fiber";
|
|
4
|
-
import { g as getXRModule } from "./index-
|
|
5
|
-
const { useXRInputSourceState } = getXRModule();
|
|
4
|
+
import { g as getXRModule } from "./index-BuazjiSy.js";
|
|
6
5
|
function getHandJoint(hand, jointName) {
|
|
7
6
|
return hand.get(jointName);
|
|
8
7
|
}
|
|
9
8
|
function HandBbox() {
|
|
9
|
+
const { useXRInputSourceState } = getXRModule();
|
|
10
10
|
const rightHand = useXRInputSourceState("hand", "right");
|
|
11
11
|
const leftHand = useXRInputSourceState("hand", "left");
|
|
12
12
|
const rightTipRef = useRef(null);
|
|
@@ -39,8 +39,8 @@ function HandBbox() {
|
|
|
39
39
|
});
|
|
40
40
|
return jsxs(Fragment, { children: [jsxs("mesh", { name: "leftTipBbox", ref: leftTipRef, children: [jsx("boxGeometry", { args: [0.02, 0.02, 0.02] }), jsx("meshStandardMaterial", { color: "blue", transparent: true, opacity: 0 })] }), jsxs("mesh", { name: "rightTipBbox", ref: rightTipRef, children: [jsx("boxGeometry", { args: [0.02, 0.02, 0.02] }), jsx("meshStandardMaterial", { color: "orange", transparent: true, opacity: 0 })] })] });
|
|
41
41
|
}
|
|
42
|
-
const { useXR } = getXRModule();
|
|
43
42
|
function HandDecorate() {
|
|
43
|
+
const { useXR } = getXRModule();
|
|
44
44
|
const session = useXR((state) => state.session);
|
|
45
45
|
const { scene } = useThree();
|
|
46
46
|
useFrame(() => {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { g as getXRModule } from "./index-BuazjiSy.js";
|
|
3
|
+
import { g as getXrStore } from "./xrStore-CCVgKb-W.js";
|
|
4
|
+
function XRWrapper({ children }) {
|
|
5
|
+
const { XR } = getXRModule();
|
|
6
|
+
return jsx(XR, { store: getXrStore(), 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-
|
|
2
|
+
import { B as BaseDecoder } from "./index-DbVw_AS1.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -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 { r as requireObjectAssign, a as getDefaultExportFromCjs$1, c as commonjsGlobal, e as earcut } from "./index-
|
|
3
|
+
import { r as requireObjectAssign, a as getDefaultExportFromCjs$1, c as commonjsGlobal, e as earcut } from "./index-DbVw_AS1.js";
|
|
4
4
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from "react-dom";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
function finallyConstructor(callback) {
|
|
@@ -4,7 +4,7 @@ import { useThree, useFrame, Canvas } from "@react-three/fiber";
|
|
|
4
4
|
import { OrbitControls } from "@react-three/drei";
|
|
5
5
|
import * as THREE from "three";
|
|
6
6
|
import { Data3DTexture, RedFormat, UnsignedByteType, LinearFilter, RedIntegerFormat, UnsignedIntType, NearestFilter, Vector3, Vector2, Vector4, UniformsUtils } from "three";
|
|
7
|
-
import { l as log, i as isEqual, C as CoordinationType, u as useEventCallback } from "./index-
|
|
7
|
+
import { l as log, i as isEqual, C as CoordinationType, u as useEventCallback } from "./index-DbVw_AS1.js";
|
|
8
8
|
const LogLevel = {
|
|
9
9
|
INFO: "info",
|
|
10
10
|
WARN: "warn",
|
|
@@ -3,7 +3,7 @@ import React__default, { useRef, useState, useEffect, Suspense, forwardRef } fro
|
|
|
3
3
|
import { Canvas } from "@react-three/fiber";
|
|
4
4
|
import { Center, Text, Line, Bvh, OrbitControls } from "@react-three/drei";
|
|
5
5
|
import { Matrix3, Matrix4, Vector3, Vector2, UniformsUtils, Data3DTexture, RedFormat, FloatType, LinearFilter, FrontSide, Scene, Group, MeshPhysicalMaterial, MeshBasicMaterial, MeshStandardMaterial, BackSide } from "three";
|
|
6
|
-
import { C as CoordinationType, g as getImageSize } from "./index-
|
|
6
|
+
import { C as CoordinationType, g as getImageSize } from "./index-DbVw_AS1.js";
|
|
7
7
|
function MeasureLine({ currentLine, scale }) {
|
|
8
8
|
const textRef = useRef(null);
|
|
9
9
|
return jsxs("group", { children: [jsx(Center, { bottom: true, right: true, position: [currentLine.midPoint.x, currentLine.midPoint.y, currentLine.midPoint.z], rotation: [0, 0, 0], children: jsx(Text, { color: "gray", scale: 0.05, ref: textRef, children: `${(currentLine.startPoint.distanceTo(currentLine.endPoint) * scale).toFixed(2)} µm` }) }), jsx(Line, {
|
|
@@ -945,8 +945,8 @@ function GeometryAndMesh(props) {
|
|
|
945
945
|
setObsHighlight(e.object.name);
|
|
946
946
|
}, onPointerOut: () => setObsHighlight(null) }) })] }) : null, renderingSettings.uniforms && renderingSettings.shader && renderingSettings.meshScale && renderingSettings.geometrySize ? jsx("group", { children: jsxs("mesh", { scale: renderingSettings.meshScale, ref: materialRef, children: [jsx("boxGeometry", { args: renderingSettings.geometrySize }), jsx("shaderMaterial", { customProgramCacheKey: () => "1", side: FrontSide, uniforms: renderingSettings.uniforms, needsUpdate: true, transparent: true, vertexShader: renderingSettings.shader.vertexShader, fragmentShader: renderingSettings.shader.fragmentShader })] }) }) : null] }), jsx("group", { name: "lines", children: lines.map((object) => jsx(MeasureLine, { currentLine: object, scale: 1 }, stringifyLineData(object))) })] });
|
|
947
947
|
}
|
|
948
|
-
const LazyGeometryAndMeshXR = React__default.lazy(() => import("./GeometryAndMeshXR-
|
|
949
|
-
const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-
|
|
948
|
+
const LazyGeometryAndMeshXR = React__default.lazy(() => import("./GeometryAndMeshXR-Bd_KHMnf.js").catch(() => ({ default: GeometryAndMesh })));
|
|
949
|
+
const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-0fj6v22S.js").catch(() => ({ default: () => null })));
|
|
950
950
|
function SpatialThree(props) {
|
|
951
951
|
const materialRef = useRef(null);
|
|
952
952
|
const orbitRef = useRef(null);
|
|
@@ -1303,13 +1303,13 @@ function getXRModule() {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
const LazyXRWrapper = React__default.lazy(
|
|
1305
1305
|
// eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
|
|
1306
|
-
() => import("./XRWrapper-
|
|
1306
|
+
() => import("./XRWrapper-B6lEkPyW.js").catch(() => ({
|
|
1307
1307
|
default: ({ children }) => children
|
|
1308
1308
|
}))
|
|
1309
1309
|
);
|
|
1310
1310
|
const LazyXREnterButton = React__default.lazy(
|
|
1311
1311
|
// eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
|
|
1312
|
-
() => import("./XREnterButton-
|
|
1312
|
+
() => import("./XREnterButton-BIb-FC3x.js").catch(() => ({
|
|
1313
1313
|
default: () => null
|
|
1314
1314
|
}))
|
|
1315
1315
|
);
|
|
@@ -206572,22 +206572,22 @@ async function getDecoder(fileDirectory) {
|
|
|
206572
206572
|
const Decoder = await importFn();
|
|
206573
206573
|
return new Decoder(fileDirectory);
|
|
206574
206574
|
}
|
|
206575
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
206576
|
-
addDecoder(5, () => import("./lzw-
|
|
206575
|
+
addDecoder([void 0, 1], () => import("./raw-BQShasMq.js").then((m2) => m2.default));
|
|
206576
|
+
addDecoder(5, () => import("./lzw-BNU2HDa1.js").then((m2) => m2.default));
|
|
206577
206577
|
addDecoder(6, () => {
|
|
206578
206578
|
throw new Error("old style JPEG compression is not supported.");
|
|
206579
206579
|
});
|
|
206580
|
-
addDecoder(7, () => import("./jpeg-
|
|
206581
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
206582
|
-
addDecoder(32773, () => import("./packbits-
|
|
206580
|
+
addDecoder(7, () => import("./jpeg-Bn1PlHTE.js").then((m2) => m2.default));
|
|
206581
|
+
addDecoder([8, 32946], () => import("./deflate-Ii7WwEhp.js").then((m2) => m2.default));
|
|
206582
|
+
addDecoder(32773, () => import("./packbits-D30eBheI.js").then((m2) => m2.default));
|
|
206583
206583
|
addDecoder(
|
|
206584
206584
|
34887,
|
|
206585
|
-
() => import("./lerc-
|
|
206585
|
+
() => import("./lerc-eT9g3QYX.js").then(async (m2) => {
|
|
206586
206586
|
await m2.zstd.init();
|
|
206587
206587
|
return m2;
|
|
206588
206588
|
}).then((m2) => m2.default)
|
|
206589
206589
|
);
|
|
206590
|
-
addDecoder(50001, () => import("./webimage-
|
|
206590
|
+
addDecoder(50001, () => import("./webimage-Dg3r2wab.js").then((m2) => m2.default));
|
|
206591
206591
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
206592
206592
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
206593
206593
|
}
|
|
@@ -251925,12 +251925,12 @@ class ErrorBoundary extends React__default.Component {
|
|
|
251925
251925
|
}
|
|
251926
251926
|
}
|
|
251927
251927
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
251928
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
251928
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BuazjiSy.js").then((n3) => n3.a);
|
|
251929
251929
|
return { default: SpatialWrapper2 };
|
|
251930
251930
|
});
|
|
251931
251931
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsx$1("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsx$1(ErrorBoundary, { fallback: jsx$1("div", { children: "3D spatial view is not available in this environment." }), children: jsx$1(Suspense, { fallback: jsx$1("div", { children: "Loading..." }), children: jsx$1(LazySpatialThree, { ...props }) }) }) }));
|
|
251932
251932
|
const LazySpatialAccelerated = React__default.lazy(async () => {
|
|
251933
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
251933
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-B36-W2UC.js");
|
|
251934
251934
|
return { default: SpatialWrapper2 };
|
|
251935
251935
|
});
|
|
251936
251936
|
const SpatialAcceleratedAdapter = React__default.forwardRef((props, ref2) => jsx$1("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsx$1(ErrorBoundary, { fallback: jsx$1("div", { children: "3D spatial view is not available in this environment." }), children: jsx$1(Suspense, { fallback: jsx$1("div", { children: "Loading..." }), children: jsx$1(LazySpatialAccelerated, { ...props }) }) }) }));
|
|
@@ -267285,7 +267285,7 @@ function HiglassGlobalStyles(props) {
|
|
|
267285
267285
|
}
|
|
267286
267286
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
267287
267287
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
267288
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
267288
|
+
const { HiGlassComponent } = await import("./higlass-VqG4P171.js");
|
|
267289
267289
|
return { default: HiGlassComponent };
|
|
267290
267290
|
});
|
|
267291
267291
|
const HG_SIZE = 800;
|
|
@@ -270242,7 +270242,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
270242
270242
|
const { classes: classes2 } = props;
|
|
270243
270243
|
return jsxs(Fragment, { children: [jsx$1(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsx$1(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
270244
270244
|
}
|
|
270245
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
270245
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-xKMYi5cX.js"));
|
|
270246
270246
|
function createWorker() {
|
|
270247
270247
|
const worker = new WorkerFactory$1();
|
|
270248
270248
|
worker.AsyncComputationWorker = WorkerFactory;
|
|
@@ -329164,7 +329164,7 @@ class MuDataSource extends AnnDataSource {
|
|
|
329164
329164
|
if (this.obsIndex[obsPath]) {
|
|
329165
329165
|
return this.obsIndex[obsPath];
|
|
329166
329166
|
}
|
|
329167
|
-
this.obsIndex[obsPath] = this.getJson(`${obsPath}/.zattrs`).then(({ _index }) => this.
|
|
329167
|
+
this.obsIndex[obsPath] = this.getJson(`${obsPath}/.zattrs`).then(({ _index }) => this._loadColumn(`${obsPath}/${_index}`));
|
|
329168
329168
|
return this.obsIndex[obsPath];
|
|
329169
329169
|
}
|
|
329170
329170
|
/**
|
|
@@ -329179,7 +329179,7 @@ class MuDataSource extends AnnDataSource {
|
|
|
329179
329179
|
if (this.varIndex[varPath]) {
|
|
329180
329180
|
return this.varIndex[varPath];
|
|
329181
329181
|
}
|
|
329182
|
-
this.varIndex[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this.
|
|
329182
|
+
this.varIndex[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this._loadColumn(`${varPath}/${_index}`));
|
|
329183
329183
|
return this.varIndex[varPath];
|
|
329184
329184
|
}
|
|
329185
329185
|
/**
|
|
@@ -341812,7 +341812,7 @@ class SpatialDataTableSource extends AnnDataSource {
|
|
|
341812
341812
|
if (varPath in this.varIndices) {
|
|
341813
341813
|
return this.varIndices[varPath];
|
|
341814
341814
|
}
|
|
341815
|
-
this.varIndices[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this.
|
|
341815
|
+
this.varIndices[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this._loadColumn(`${varPath}/${_index}`));
|
|
341816
341816
|
return this.varIndices[varPath];
|
|
341817
341817
|
}
|
|
341818
341818
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { a as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, b as LercAddCompression } from "./index-
|
|
2
|
+
import { a as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, b as LercAddCompression } from "./index-DbVw_AS1.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { g as getXRModule } from "./index-BuazjiSy.js";
|
|
2
|
+
let store = null;
|
|
3
|
+
function getXrStore() {
|
|
4
|
+
if (!store) {
|
|
5
|
+
store = getXRModule().createXRStore({
|
|
6
|
+
handTracking: true,
|
|
7
|
+
emulate: false
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
return store;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
getXrStore as g
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/launcher",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"use-query-params": "^1.1.9",
|
|
21
21
|
"react-dropzone": "^14.3.8",
|
|
22
22
|
"@tanstack/react-query": "^5.80.2",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/example-plugins": "4.0.
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/config": "4.0.
|
|
30
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/example-configs": "4.0.7",
|
|
24
|
+
"@vitessce/constants-internal": "4.0.7",
|
|
25
|
+
"@vitessce/all": "4.0.7",
|
|
26
|
+
"@vitessce/example-plugins": "4.0.7",
|
|
27
|
+
"@vitessce/globals": "4.0.7",
|
|
28
|
+
"@vitessce/styles": "4.0.7",
|
|
29
|
+
"@vitessce/config": "4.0.7",
|
|
30
|
+
"@vitessce/vit-s": "4.0.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"react": "19.2.6",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { g as getXRModule } from "./index-KhSE41J7.js";
|
|
3
|
-
import { x as xrStore } from "./xrStore-CSrwcN_T.js";
|
|
4
|
-
const { XR } = getXRModule();
|
|
5
|
-
function XRWrapper({ children }) {
|
|
6
|
-
return jsx(XR, { store: xrStore, children });
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
XRWrapper as default
|
|
10
|
-
};
|