@vitessce/all 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-C6kmHlO-.js → GeometryAndMeshXR-BFra1Vtp.js} +2 -2
- package/dist/{ReactNeuroglancer-B-IYc5NJ.js → ReactNeuroglancer-Cq_BN9ep.js} +1 -1
- package/dist/{XREnterButton-YHfoEyJU.js → XREnterButton-LJz7SELV.js} +4 -4
- package/dist/{XRSceneComponents-TgABwiay.js → XRSceneComponents-FplyNrH4.js} +3 -3
- package/dist/XRWrapper-DYr1MVw6.js +10 -0
- package/dist/{deflate-B29mmhfD.js → deflate-BUinILsK.js} +1 -1
- package/dist/{higlass-CfCaZOam.js → higlass-D8mrBM5j.js} +1 -1
- package/dist/{index-DG1OhQF2.js → index-3OBv3LYY.js} +5 -5
- package/dist/{index-Bmbsroxo.js → index-DC_rMB58.js} +14 -14
- package/dist/{index-C8W5iPqT.js → index-DhF4t-yB.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{jpeg-B7FTWfDa.js → jpeg-CVa-0WrT.js} +1 -1
- package/dist/{lerc-BtYLTEh2.js → lerc-CFNGC10G.js} +1 -1
- package/dist/{lzw-BRuo6gLF.js → lzw-DgDQUU4J.js} +1 -1
- package/dist/{packbits-D8Q8sp5y.js → packbits-B_szFOR7.js} +1 -1
- package/dist/{raw-CuGBfj0P.js → raw-BHF356MG.js} +1 -1
- package/dist/{webimage-BDT4PNVW.js → webimage-DAevEuH-.js} +1 -1
- package/dist/xrStore-1BNZY1iQ.js +14 -0
- package/package.json +33 -33
- package/dist/XRWrapper-5X3Se-wN.js +0 -10
- package/dist/xrStore-CIMJKmPR.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-3OBv3LYY.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-DC_rMB58.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-1BNZY1iQ.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-3OBv3LYY.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-3OBv3LYY.js";
|
|
3
|
+
import { g as getXrStore } from "./xrStore-1BNZY1iQ.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-DC_rMB58.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-DC_rMB58.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) {
|
|
@@ -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-DC_rMB58.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-BFra1Vtp.js").catch(() => ({ default: GeometryAndMesh })));
|
|
949
|
+
const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-FplyNrH4.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-DYr1MVw6.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-LJz7SELV.js").catch(() => ({
|
|
1313
1313
|
default: () => null
|
|
1314
1314
|
}))
|
|
1315
1315
|
);
|
|
@@ -205104,22 +205104,22 @@ async function getDecoder(fileDirectory) {
|
|
|
205104
205104
|
const Decoder = await importFn();
|
|
205105
205105
|
return new Decoder(fileDirectory);
|
|
205106
205106
|
}
|
|
205107
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
205108
|
-
addDecoder(5, () => import("./lzw-
|
|
205107
|
+
addDecoder([void 0, 1], () => import("./raw-BHF356MG.js").then((m2) => m2.default));
|
|
205108
|
+
addDecoder(5, () => import("./lzw-DgDQUU4J.js").then((m2) => m2.default));
|
|
205109
205109
|
addDecoder(6, () => {
|
|
205110
205110
|
throw new Error("old style JPEG compression is not supported.");
|
|
205111
205111
|
});
|
|
205112
|
-
addDecoder(7, () => import("./jpeg-
|
|
205113
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
205114
|
-
addDecoder(32773, () => import("./packbits-
|
|
205112
|
+
addDecoder(7, () => import("./jpeg-CVa-0WrT.js").then((m2) => m2.default));
|
|
205113
|
+
addDecoder([8, 32946], () => import("./deflate-BUinILsK.js").then((m2) => m2.default));
|
|
205114
|
+
addDecoder(32773, () => import("./packbits-B_szFOR7.js").then((m2) => m2.default));
|
|
205115
205115
|
addDecoder(
|
|
205116
205116
|
34887,
|
|
205117
|
-
() => import("./lerc-
|
|
205117
|
+
() => import("./lerc-CFNGC10G.js").then(async (m2) => {
|
|
205118
205118
|
await m2.zstd.init();
|
|
205119
205119
|
return m2;
|
|
205120
205120
|
}).then((m2) => m2.default)
|
|
205121
205121
|
);
|
|
205122
|
-
addDecoder(50001, () => import("./webimage-
|
|
205122
|
+
addDecoder(50001, () => import("./webimage-DAevEuH-.js").then((m2) => m2.default));
|
|
205123
205123
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
205124
205124
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
205125
205125
|
}
|
|
@@ -250341,12 +250341,12 @@ class ErrorBoundary extends React__default.Component {
|
|
|
250341
250341
|
}
|
|
250342
250342
|
}
|
|
250343
250343
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
250344
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
250344
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-3OBv3LYY.js").then((n3) => n3.a);
|
|
250345
250345
|
return { default: SpatialWrapper2 };
|
|
250346
250346
|
});
|
|
250347
250347
|
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 }) }) }) }));
|
|
250348
250348
|
const LazySpatialAccelerated = React__default.lazy(async () => {
|
|
250349
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
250349
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DhF4t-yB.js");
|
|
250350
250350
|
return { default: SpatialWrapper2 };
|
|
250351
250351
|
});
|
|
250352
250352
|
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 }) }) }) }));
|
|
@@ -264224,7 +264224,7 @@ function HiglassGlobalStyles(props) {
|
|
|
264224
264224
|
}
|
|
264225
264225
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
264226
264226
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
264227
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
264227
|
+
const { HiGlassComponent } = await import("./higlass-D8mrBM5j.js");
|
|
264228
264228
|
return { default: HiGlassComponent };
|
|
264229
264229
|
});
|
|
264230
264230
|
const HG_SIZE = 800;
|
|
@@ -267181,7 +267181,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
267181
267181
|
const { classes: classes2 } = props;
|
|
267182
267182
|
return jsxs(Fragment, { children: [jsx$1(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsx$1(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
267183
267183
|
}
|
|
267184
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
267184
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-Cq_BN9ep.js"));
|
|
267185
267185
|
function createWorker() {
|
|
267186
267186
|
const worker = new WorkerFactory$1();
|
|
267187
267187
|
worker.AsyncComputationWorker = WorkerFactory;
|
|
@@ -325262,7 +325262,7 @@ class MuDataSource extends AnnDataSource {
|
|
|
325262
325262
|
if (this.obsIndex[obsPath]) {
|
|
325263
325263
|
return this.obsIndex[obsPath];
|
|
325264
325264
|
}
|
|
325265
|
-
this.obsIndex[obsPath] = this.getJson(`${obsPath}/.zattrs`).then(({ _index }) => this.
|
|
325265
|
+
this.obsIndex[obsPath] = this.getJson(`${obsPath}/.zattrs`).then(({ _index }) => this._loadColumn(`${obsPath}/${_index}`));
|
|
325266
325266
|
return this.obsIndex[obsPath];
|
|
325267
325267
|
}
|
|
325268
325268
|
/**
|
|
@@ -325277,7 +325277,7 @@ class MuDataSource extends AnnDataSource {
|
|
|
325277
325277
|
if (this.varIndex[varPath]) {
|
|
325278
325278
|
return this.varIndex[varPath];
|
|
325279
325279
|
}
|
|
325280
|
-
this.varIndex[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this.
|
|
325280
|
+
this.varIndex[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this._loadColumn(`${varPath}/${_index}`));
|
|
325281
325281
|
return this.varIndex[varPath];
|
|
325282
325282
|
}
|
|
325283
325283
|
/**
|
|
@@ -337910,7 +337910,7 @@ class SpatialDataTableSource extends AnnDataSource {
|
|
|
337910
337910
|
if (varPath in this.varIndices) {
|
|
337911
337911
|
return this.varIndices[varPath];
|
|
337912
337912
|
}
|
|
337913
|
-
this.varIndices[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this.
|
|
337913
|
+
this.varIndices[varPath] = this.getJson(`${varPath}/.zattrs`).then(({ _index }) => this._loadColumn(`${varPath}/${_index}`));
|
|
337914
337914
|
return this.varIndices[varPath];
|
|
337915
337915
|
}
|
|
337916
337916
|
/**
|
|
@@ -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-DC_rMB58.js";
|
|
8
8
|
const LogLevel = {
|
|
9
9
|
INFO: "info",
|
|
10
10
|
WARN: "warn",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a6, a4, a2, a5, a3, a1, a7 } from "./index-
|
|
1
|
+
import { a6, a4, a2, a5, a3, a1, a7 } from "./index-DC_rMB58.js";
|
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
|
3
3
|
export {
|
|
4
4
|
a6 as PluginAsyncFunction,
|
|
@@ -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-DC_rMB58.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-3OBv3LYY.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/all",
|
|
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": {
|
|
@@ -17,38 +17,38 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.21.4",
|
|
20
|
-
"@vitessce/
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/layer-controller": "4.0.
|
|
32
|
-
"@vitessce/layer-controller-beta": "4.0.
|
|
33
|
-
"@vitessce/
|
|
34
|
-
"@vitessce/
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/
|
|
37
|
-
"@vitessce/scatterplot-gating": "4.0.
|
|
38
|
-
"@vitessce/
|
|
39
|
-
"@vitessce/
|
|
40
|
-
"@vitessce/
|
|
41
|
-
"@vitessce/
|
|
42
|
-
"@vitessce/
|
|
43
|
-
"@vitessce/
|
|
44
|
-
"@vitessce/
|
|
45
|
-
"@vitessce/
|
|
46
|
-
"@vitessce/spatial-
|
|
47
|
-
"@vitessce/
|
|
48
|
-
"@vitessce/spatial-
|
|
49
|
-
"@vitessce/
|
|
50
|
-
"@vitessce/
|
|
51
|
-
"@vitessce/
|
|
20
|
+
"@vitessce/constants-internal": "4.0.7",
|
|
21
|
+
"@vitessce/styles": "4.0.7",
|
|
22
|
+
"@vitessce/csv": "4.0.7",
|
|
23
|
+
"@vitessce/description": "4.0.7",
|
|
24
|
+
"@vitessce/error": "4.0.7",
|
|
25
|
+
"@vitessce/feature-list": "4.0.7",
|
|
26
|
+
"@vitessce/heatmap": "4.0.7",
|
|
27
|
+
"@vitessce/abstract": "4.0.7",
|
|
28
|
+
"@vitessce/glb": "4.0.7",
|
|
29
|
+
"@vitessce/json": "4.0.7",
|
|
30
|
+
"@vitessce/genomic-profiles": "4.0.7",
|
|
31
|
+
"@vitessce/layer-controller": "4.0.7",
|
|
32
|
+
"@vitessce/layer-controller-beta": "4.0.7",
|
|
33
|
+
"@vitessce/obs-sets-manager": "4.0.7",
|
|
34
|
+
"@vitessce/link-controller": "4.0.7",
|
|
35
|
+
"@vitessce/ome-tiff": "4.0.7",
|
|
36
|
+
"@vitessce/plugins": "4.0.7",
|
|
37
|
+
"@vitessce/scatterplot-gating": "4.0.7",
|
|
38
|
+
"@vitessce/schemas": "4.0.7",
|
|
39
|
+
"@vitessce/spatial": "4.0.7",
|
|
40
|
+
"@vitessce/scatterplot-embedding": "4.0.7",
|
|
41
|
+
"@vitessce/spatial-beta": "4.0.7",
|
|
42
|
+
"@vitessce/statistical-plots": "4.0.7",
|
|
43
|
+
"@vitessce/status": "4.0.7",
|
|
44
|
+
"@vitessce/vit-s": "4.0.7",
|
|
45
|
+
"@vitessce/globals": "4.0.7",
|
|
46
|
+
"@vitessce/spatial-zarr": "4.0.7",
|
|
47
|
+
"@vitessce/zarr": "4.0.7",
|
|
48
|
+
"@vitessce/spatial-accelerated": "4.0.7",
|
|
49
|
+
"@vitessce/biomarker-select": "4.0.7",
|
|
50
|
+
"@vitessce/spatial-three": "4.0.7",
|
|
51
|
+
"@vitessce/neuroglancer": "4.0.7"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^19.0.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { g as getXRModule } from "./index-DG1OhQF2.js";
|
|
3
|
-
import { x as xrStore } from "./xrStore-CIMJKmPR.js";
|
|
4
|
-
const { XR } = getXRModule();
|
|
5
|
-
function XRWrapper({ children }) {
|
|
6
|
-
return jsx(XR, { store: xrStore, children });
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
XRWrapper as default
|
|
10
|
-
};
|