@vitessce/all 3.5.7 → 3.5.9
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/{deflate-04bafa55.js → deflate-348b8ed0.js} +1 -1
- package/dist/{higlass-4fa163b9.js → higlass-ac63bd26.js} +1 -1
- package/dist/{index-1a4d9e84.js → index-13b53ff7.js} +7411 -2541
- package/dist/index-e5a1091b.js +66430 -0
- package/dist/{index-0b46e436.js → index-f14612ce.js} +18 -3
- package/dist/index.js +8 -8
- package/dist/{jpeg-6c54524a.js → jpeg-74f08245.js} +1 -1
- package/dist/{lerc-df637713.js → lerc-14ea355d.js} +1 -1
- package/dist/{lzw-bb4fcd5c.js → lzw-ef19357e.js} +1 -1
- package/dist/{packbits-8de5f515.js → packbits-07b796e7.js} +1 -1
- package/dist/{raw-13d1e148.js → raw-0fa2e626.js} +1 -1
- package/dist/{troika-three-text.esm-a4aeebaf.js → troika-three-text.esm-bb9bae50.js} +1 -1
- package/dist/{webimage-3d32244e.js → webimage-bf47d44e.js} +1 -1
- package/dist/zstd-561fda0e.js +778 -0
- package/dist-tsc/Vitessce.js +2 -2
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +19 -4
- package/package.json +30 -29
- package/src/Vitessce.tsx +2 -2
- package/src/base-plugins.ts +28 -0
- package/dist/zstd-ec5a40b8.js +0 -808
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, L as Layers, T as Texture, c as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, d as PCFShadowMap, e as VSMShadowMap, f as BufferGeometry, M as Material, h as Color, i as Clock, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, p as Ray$1, q as Plane, E as EventDispatcher, r as MOUSE, s as TOUCH, Q as Quaternion, t as Spherical, u as Loader, v as LoaderUtils, F as FileLoader, w as SpotLight, x as PointLight, D as DirectionalLight, y as MeshBasicMaterial, z as MeshPhysicalMaterial, I as InstancedMesh, H as Object3D, J as TextureLoader, K as ImageBitmapLoader, X as BufferAttribute, Y as InterleavedBuffer, Z as LinearFilter, $ as LinearMipmapLinearFilter, a0 as RepeatWrapping, a1 as PointsMaterial, a2 as LineBasicMaterial, a3 as MeshStandardMaterial, a4 as DoubleSide, a5 as PropertyBinding, a6 as SkinnedMesh, a7 as Mesh, a8 as LineSegments, a9 as Line$1, aa as LineLoop, ab as Points, ac as MathUtils, ad as Skeleton, ae as InterpolateLinear, af as AnimationClip, ag as Bone, ah as NearestFilter, ai as NearestMipmapNearestFilter, aj as LinearMipmapNearestFilter, ak as NearestMipmapLinearFilter, al as ClampToEdgeWrapping, am as MirroredRepeatWrapping, an as InterpolateDiscrete, ao as FrontSide, ap as InterleavedBufferAttribute, aq as VectorKeyframeTrack, ar as QuaternionKeyframeTrack, as as NumberKeyframeTrack, at as Box3, au as Sphere, av as Interpolant, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-
|
1
|
+
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, L as Layers, T as Texture, c as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, d as PCFShadowMap, e as VSMShadowMap, f as BufferGeometry, M as Material, h as Color, i as Clock, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, p as Ray$1, q as Plane, E as EventDispatcher, r as MOUSE, s as TOUCH, Q as Quaternion, t as Spherical, u as Loader, v as LoaderUtils, F as FileLoader, w as SpotLight, x as PointLight, D as DirectionalLight, y as MeshBasicMaterial, z as MeshPhysicalMaterial, I as InstancedMesh, H as Object3D, J as TextureLoader, K as ImageBitmapLoader, X as BufferAttribute, Y as InterleavedBuffer, Z as LinearFilter, $ as LinearMipmapLinearFilter, a0 as RepeatWrapping, a1 as PointsMaterial, a2 as LineBasicMaterial, a3 as MeshStandardMaterial, a4 as DoubleSide, a5 as PropertyBinding, a6 as SkinnedMesh, a7 as Mesh, a8 as LineSegments, a9 as Line$1, aa as LineLoop, ab as Points, ac as MathUtils, ad as Skeleton, ae as InterpolateLinear, af as AnimationClip, ag as Bone, ah as NearestFilter, ai as NearestMipmapNearestFilter, aj as LinearMipmapNearestFilter, ak as NearestMipmapLinearFilter, al as ClampToEdgeWrapping, am as MirroredRepeatWrapping, an as InterpolateDiscrete, ao as FrontSide, ap as InterleavedBufferAttribute, aq as VectorKeyframeTrack, ar as QuaternionKeyframeTrack, as as NumberKeyframeTrack, at as Box3, au as Sphere, av as Interpolant, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-13b53ff7.js";
|
2
2
|
import * as React from "react";
|
3
3
|
import React__default, { useReducer, useRef, useDebugValue, useEffect, useLayoutEffect, useState, useMemo, forwardRef } from "react";
|
4
4
|
import "@vitessce/vit-s";
|
@@ -23800,7 +23800,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
23800
23800
|
const {
|
23801
23801
|
Text: TextMeshImpl,
|
23802
23802
|
preloadFont
|
23803
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
23803
|
+
} = suspend(async () => import("./troika-three-text.esm-bb9bae50.js"), []);
|
23804
23804
|
const invalidate2 = useThree(({
|
23805
23805
|
invalidate: invalidate3
|
23806
23806
|
}) => invalidate3);
|
@@ -28266,11 +28266,26 @@ function setUniformsTextures(uniforms, textures, volume, volConfig, renderstyle,
|
|
28266
28266
|
uniforms.u_color5.value.set(colors.length > 4 ? colors[4][0] : null, colors.length > 4 ? colors[4][1] : null, colors.length > 4 ? colors[4][2] : null);
|
28267
28267
|
uniforms.u_color6.value.set(colors.length > 5 ? colors[5][0] : null, colors.length > 5 ? colors[5][1] : null, colors.length > 5 ? colors[5][2] : null);
|
28268
28268
|
}
|
28269
|
-
function create3DRendering(volumes, channelTargetC, channelsVisible, colors, textures, contrastLimits, volumeMinMax,
|
28269
|
+
function create3DRendering(volumes, channelTargetC, channelsVisible, colors, textures, contrastLimits, volumeMinMax, scaleOrUndefined, renderstyle, layerTransparency, xSlice, ySlice, zSlice, originalScale) {
|
28270
|
+
var _a2, _b2, _c;
|
28270
28271
|
const texturesList = [];
|
28271
28272
|
const colorsSave = [];
|
28272
28273
|
const contrastLimitsList = [];
|
28273
28274
|
let volume = null;
|
28275
|
+
let scale = scaleOrUndefined;
|
28276
|
+
if (scale === void 0 || scale === null || !Array.isArray(scale) || scale.length < 3) {
|
28277
|
+
scale = [
|
28278
|
+
{ size: ((_a2 = scale == null ? void 0 : scale[0]) == null ? void 0 : _a2.size) ?? 1 },
|
28279
|
+
{ size: ((_b2 = scale == null ? void 0 : scale[1]) == null ? void 0 : _b2.size) ?? 1 },
|
28280
|
+
{ size: ((_c = scale == null ? void 0 : scale[2]) == null ? void 0 : _c.size) ?? 1 }
|
28281
|
+
];
|
28282
|
+
} else {
|
28283
|
+
for (let i2 = 0; i2 < scale.length; i2++) {
|
28284
|
+
if (!scale[i2] || scale[i2].size === void 0 || scale[i2].size === null) {
|
28285
|
+
scale[i2] = { size: 1 };
|
28286
|
+
}
|
28287
|
+
}
|
28288
|
+
}
|
28274
28289
|
channelTargetC.forEach((channel, id) => {
|
28275
28290
|
if (channelsVisible[id]) {
|
28276
28291
|
volume = volumes.get(channel);
|
package/dist/index.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
import {
|
1
|
+
import { bM, bK, bI, bL, bJ, bH, bN } from "./index-13b53ff7.js";
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
3
3
|
import "react";
|
4
4
|
import "react-dom";
|
5
5
|
export {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
bM as PluginAsyncFunction,
|
7
|
+
bK as PluginCoordinationType,
|
8
|
+
bI as PluginFileType,
|
9
|
+
bL as PluginJointFileType,
|
10
|
+
bJ as PluginViewType,
|
11
|
+
bH as Vitessce,
|
12
12
|
useComplexCoordination,
|
13
13
|
useComplexCoordinationSecondary,
|
14
14
|
useCoordination,
|
@@ -18,5 +18,5 @@ export {
|
|
18
18
|
useMultiCoordinationScopesNonNull,
|
19
19
|
useMultiCoordinationScopesSecondaryNonNull,
|
20
20
|
usePageModeView,
|
21
|
-
|
21
|
+
bN as z
|
22
22
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
2
|
-
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-
|
2
|
+
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-13b53ff7.js";
|
3
3
|
import "react";
|
4
4
|
import "@vitessce/vit-s";
|
5
5
|
import "react-dom";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { aB as UniformsUtils,
|
1
|
+
import { aB as UniformsUtils, bB as MeshDepthMaterial, bC as RGBADepthPacking, bD as MeshDistanceMaterial, bE as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, bF as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, bG as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-13b53ff7.js";
|
2
2
|
import "react";
|
3
3
|
import "@vitessce/vit-s";
|
4
4
|
import "react-dom";
|