@vitessce/all 4.1.3 → 4.2.0
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-BO4cB8Py.js → GeometryAndMeshXR-DqhNYyWN.js} +1 -1
- package/dist/{ReactNeuroglancer-D2Sm_o8g.js → ReactNeuroglancer-BCCCGaB3.js} +71903 -44406
- package/dist/{XREnterButton-DePbBRY6.js → XREnterButton-BQBs8JY3.js} +1 -1
- package/dist/{XRSceneComponents-CXXeqxgE.js → XRSceneComponents-vBRunoIm.js} +1 -1
- package/dist/{XRWrapper-ChEnDQOC.js → XRWrapper-B2fLQwXP.js} +2 -2
- package/dist/{deflate-Dw6ATHuZ.js → deflate-Cb7BLMcY.js} +1 -1
- package/dist/{higlass-B8HiKDgZ.js → higlass-DhKpwKZb.js} +1 -1
- package/dist/{index-IrX1v-qA.js → index-B8vCcRIo.js} +1 -1
- package/dist/index-BKaSNvEI.js +11 -0
- package/dist/{index-D7sxxfGG.js → index-DDrHxgd4.js} +3190 -1721
- package/dist/{index-4JZT6bFU.js → index-DTS9-geK.js} +5 -5
- package/dist/index.js +15 -15
- package/dist/{jpeg--u-M0g9b.js → jpeg-DXWNICTh.js} +1 -1
- package/dist/{lerc-7EC7_2zX.js → lerc-IDQ0zVXY.js} +1 -1
- package/dist/{lzw-BhiKtyvb.js → lzw-B0xVstn-.js} +1 -1
- package/dist/{packbits-BJuD6cdw.js → packbits-rIhGVLo1.js} +1 -1
- package/dist/{raw-Bi4zouCM.js → raw-DrlAS9B5.js} +1 -1
- package/dist/{webimage-BEdUDFND.js → webimage-DBuAT3j3.js} +1 -1
- package/dist/{xrStore-Dt0n9R6Z.js → xrStore-CPm67K6a.js} +1 -1
- package/package.json +34 -34
|
@@ -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, b as getImageSize } from "./index-
|
|
6
|
+
import { C as CoordinationType, b as getImageSize } from "./index-DDrHxgd4.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-DqhNYyWN.js").catch(() => ({ default: GeometryAndMesh })));
|
|
949
|
+
const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-vBRunoIm.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-B2fLQwXP.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-BQBs8JY3.js").catch(() => ({
|
|
1313
1313
|
default: () => null
|
|
1314
1314
|
}))
|
|
1315
1315
|
);
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o, m, P, n, k, V, q, y, x, p, v, w, s, z } from "./index-DDrHxgd4.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
o as PluginAsyncFunction,
|
|
7
|
+
m as PluginCoordinationType,
|
|
8
|
+
P as PluginFileType,
|
|
9
|
+
n as PluginJointFileType,
|
|
10
|
+
k as PluginViewType,
|
|
11
|
+
V as Vitessce,
|
|
12
|
+
q as addAnnotationControllerView,
|
|
13
|
+
y as disableAnnotationEditing,
|
|
14
|
+
x as enableAnnotationEditing,
|
|
15
|
+
p as hasAnnotationControllerView,
|
|
16
|
+
v as hasAnyAnnotationStory,
|
|
17
|
+
w as isAnyAnnotationEditing,
|
|
18
|
+
s as removeAnnotationControllerView,
|
|
19
19
|
useComplexCoordination,
|
|
20
20
|
useComplexCoordinationSecondary,
|
|
21
21
|
useCoordination,
|
|
@@ -25,5 +25,5 @@ export {
|
|
|
25
25
|
useMultiCoordinationScopesNonNull,
|
|
26
26
|
useMultiCoordinationScopesSecondaryNonNull,
|
|
27
27
|
usePageModeView,
|
|
28
|
-
|
|
28
|
+
z
|
|
29
29
|
};
|
|
@@ -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, a as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-DDrHxgd4.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/all",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,39 +17,39 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "^3.21.4",
|
|
20
|
-
"@vitessce/
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/annotation-controller": "4.
|
|
26
|
-
"@vitessce/description": "4.
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/feature-list": "4.
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/
|
|
32
|
-
"@vitessce/layer-controller": "4.
|
|
33
|
-
"@vitessce/
|
|
34
|
-
"@vitessce/
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/
|
|
37
|
-
"@vitessce/
|
|
38
|
-
"@vitessce/scatterplot-
|
|
39
|
-
"@vitessce/
|
|
40
|
-
"@vitessce/
|
|
41
|
-
"@vitessce/
|
|
42
|
-
"@vitessce/spatial-beta": "4.
|
|
43
|
-
"@vitessce/status": "4.
|
|
44
|
-
"@vitessce/
|
|
45
|
-
"@vitessce/
|
|
46
|
-
"@vitessce/
|
|
47
|
-
"@vitessce/
|
|
48
|
-
"@vitessce/
|
|
49
|
-
"@vitessce/spatial-
|
|
50
|
-
"@vitessce/biomarker-select": "4.
|
|
51
|
-
"@vitessce/spatial-
|
|
52
|
-
"@vitessce/neuroglancer": "4.
|
|
20
|
+
"@vitessce/styles": "4.2.0",
|
|
21
|
+
"@vitessce/constants-internal": "4.2.0",
|
|
22
|
+
"@vitessce/csv": "4.2.0",
|
|
23
|
+
"@vitessce/error": "4.2.0",
|
|
24
|
+
"@vitessce/abstract": "4.2.0",
|
|
25
|
+
"@vitessce/annotation-controller": "4.2.0",
|
|
26
|
+
"@vitessce/description": "4.2.0",
|
|
27
|
+
"@vitessce/heatmap": "4.2.0",
|
|
28
|
+
"@vitessce/feature-list": "4.2.0",
|
|
29
|
+
"@vitessce/genomic-profiles": "4.2.0",
|
|
30
|
+
"@vitessce/json": "4.2.0",
|
|
31
|
+
"@vitessce/layer-controller": "4.2.0",
|
|
32
|
+
"@vitessce/layer-controller-beta": "4.2.0",
|
|
33
|
+
"@vitessce/obs-sets-manager": "4.2.0",
|
|
34
|
+
"@vitessce/glb": "4.2.0",
|
|
35
|
+
"@vitessce/ome-tiff": "4.2.0",
|
|
36
|
+
"@vitessce/link-controller": "4.2.0",
|
|
37
|
+
"@vitessce/plugins": "4.2.0",
|
|
38
|
+
"@vitessce/scatterplot-embedding": "4.2.0",
|
|
39
|
+
"@vitessce/scatterplot-gating": "4.2.0",
|
|
40
|
+
"@vitessce/schemas": "4.2.0",
|
|
41
|
+
"@vitessce/spatial": "4.2.0",
|
|
42
|
+
"@vitessce/spatial-beta": "4.2.0",
|
|
43
|
+
"@vitessce/status": "4.2.0",
|
|
44
|
+
"@vitessce/vit-s": "4.2.0",
|
|
45
|
+
"@vitessce/zarr": "4.2.0",
|
|
46
|
+
"@vitessce/statistical-plots": "4.2.0",
|
|
47
|
+
"@vitessce/globals": "4.2.0",
|
|
48
|
+
"@vitessce/spatial-three": "4.2.0",
|
|
49
|
+
"@vitessce/spatial-accelerated": "4.2.0",
|
|
50
|
+
"@vitessce/biomarker-select": "4.2.0",
|
|
51
|
+
"@vitessce/spatial-zarr": "4.2.0",
|
|
52
|
+
"@vitessce/neuroglancer": "4.2.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^19.0.0",
|