@vitessce/all 3.4.0 → 3.4.1

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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { aP as BaseDecoder } from "./index-140dc037.js";
2
+ import { aP as BaseDecoder } from "./index-0c4fa5f5.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
2
  import ReactDOM__default from "react-dom";
3
- import { aS as commonjsGlobal, aT as objectAssign, g as getDefaultExportFromCjs, aU as earcut, aV as getAugmentedNamespace } from "./index-140dc037.js";
3
+ import { aS as commonjsGlobal, aT as objectAssign, g as getDefaultExportFromCjs, aU as earcut, aV as getAugmentedNamespace } from "./index-0c4fa5f5.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -156444,16 +156444,16 @@ async function getDecoder(fileDirectory) {
156444
156444
  const Decoder = await importFn();
156445
156445
  return new Decoder(fileDirectory);
156446
156446
  }
156447
- addDecoder([void 0, 1], () => import("./raw-a53d8fa1.js").then((m2) => m2.default));
156448
- addDecoder(5, () => import("./lzw-c1df9f89.js").then((m2) => m2.default));
156447
+ addDecoder([void 0, 1], () => import("./raw-a34a5093.js").then((m2) => m2.default));
156448
+ addDecoder(5, () => import("./lzw-9be7353a.js").then((m2) => m2.default));
156449
156449
  addDecoder(6, () => {
156450
156450
  throw new Error("old style JPEG compression is not supported.");
156451
156451
  });
156452
- addDecoder(7, () => import("./jpeg-893c69ce.js").then((m2) => m2.default));
156453
- addDecoder([8, 32946], () => import("./deflate-7bb8f143.js").then((m2) => m2.default));
156454
- addDecoder(32773, () => import("./packbits-8783b2ea.js").then((m2) => m2.default));
156455
- addDecoder(34887, () => import("./lerc-4e4e101a.js").then((m2) => m2.default));
156456
- addDecoder(50001, () => import("./webimage-ec142aa2.js").then((m2) => m2.default));
156452
+ addDecoder(7, () => import("./jpeg-f5534146.js").then((m2) => m2.default));
156453
+ addDecoder([8, 32946], () => import("./deflate-483e0297.js").then((m2) => m2.default));
156454
+ addDecoder(32773, () => import("./packbits-6c1f233d.js").then((m2) => m2.default));
156455
+ addDecoder(34887, () => import("./lerc-c82d1d20.js").then((m2) => m2.default));
156456
+ addDecoder(50001, () => import("./webimage-305cb0b6.js").then((m2) => m2.default));
156457
156457
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
156458
156458
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
156459
156459
  }
@@ -199590,7 +199590,7 @@ class ErrorBoundary extends React__default.Component {
199590
199590
  }
199591
199591
  }
199592
199592
  const LazySpatialThree = React__default.lazy(async () => {
199593
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-023ed0ea.js");
199593
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-771532a3.js");
199594
199594
  return { default: SpatialWrapper2 };
199595
199595
  });
199596
199596
  const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
@@ -208647,7 +208647,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
208647
208647
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
208648
208648
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
208649
208649
  const LazyHiGlassComponent = React__default.lazy(async () => {
208650
- const { HiGlassComponent } = await import("./hglib-17711da5.js").then((n3) => n3.h);
208650
+ const { HiGlassComponent } = await import("./hglib-dfec9221.js").then((n3) => n3.h);
208651
208651
  return { default: HiGlassComponent };
208652
208652
  });
208653
208653
  const HG_SIZE = 800;
@@ -266660,9 +266660,10 @@ function FeatureBarPlot(props) {
266660
266660
  const { yMin, yMax, yUnits, jitter: jitter2, colors: colors2, data: data2, theme, width: width2, height: height2, marginTop = 5, marginRight = 5, marginLeft = 80, marginBottom, obsType, cellHighlight, cellSetSelection, additionalCellSets, cellSetColor, featureType, featureValueType, featureName, onBarSelect, onBarHighlight } = props;
266661
266661
  const setsSave = useMemo(() => {
266662
266662
  const result = /* @__PURE__ */ new Map();
266663
- cellSetSelection.forEach((obsSetPath2) => {
266663
+ cellSetSelection == null ? void 0 : cellSetSelection.forEach((obsSetPath2) => {
266664
+ var _a3, _b2, _c2;
266664
266665
  const selectedElement = obsSetPath2[1];
266665
- additionalCellSets.tree[0].children.forEach((child) => {
266666
+ (_c2 = (_b2 = (_a3 = additionalCellSets == null ? void 0 : additionalCellSets.tree) == null ? void 0 : _a3[0]) == null ? void 0 : _b2.children) == null ? void 0 : _c2.forEach((child) => {
266666
266667
  if (child.name === selectedElement) {
266667
266668
  child.set.forEach(([obsId]) => {
266668
266669
  const info2 = { name: "", id: "", color: [] };
@@ -266678,6 +266679,7 @@ function FeatureBarPlot(props) {
266678
266679
  }
266679
266680
  });
266680
266681
  });
266682
+ return result;
266681
266683
  }, [cellSetSelection, additionalCellSets, cellSetColor]);
266682
266684
  const svgRef = useRef();
266683
266685
  const maxCharactersForLabel = useMemo(() => data2.reduce((acc, val) => {
@@ -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 Loader, q as LoaderUtils, F as FileLoader, r as SpotLight, s as PointLight, D as DirectionalLight, t as MeshBasicMaterial, u as MeshPhysicalMaterial, I as InstancedMesh, v as Object3D, w as TextureLoader, x as ImageBitmapLoader, y as BufferAttribute, z as InterleavedBuffer, E as LinearFilter, H as LinearMipmapLinearFilter, J as RepeatWrapping, K as PointsMaterial, Q as LineBasicMaterial, X as MeshStandardMaterial, Y as DoubleSide, Z as PropertyBinding, $ as SkinnedMesh, a0 as Mesh, a1 as LineSegments, a2 as Line$1, a3 as LineLoop, a4 as Points, a5 as MathUtils, a6 as Skeleton, a7 as InterpolateLinear, a8 as AnimationClip, a9 as Bone, aa as Quaternion, ab as NearestFilter, ac as NearestMipmapNearestFilter, ad as LinearMipmapNearestFilter, ae as NearestMipmapLinearFilter, af as ClampToEdgeWrapping, ag as MirroredRepeatWrapping, ah as InterpolateDiscrete, ai as FrontSide, aj as InterleavedBufferAttribute, ak as VectorKeyframeTrack, al as QuaternionKeyframeTrack, am as NumberKeyframeTrack, an as Box3, ao as Sphere, ap as Interpolant, aq as SphereGeometry, ar as Ray$1, as as Plane, at as EventDispatcher, au as MOUSE, av as TOUCH, aw as Spherical, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, 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-140dc037.js";
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 Loader, q as LoaderUtils, F as FileLoader, r as SpotLight, s as PointLight, D as DirectionalLight, t as MeshBasicMaterial, u as MeshPhysicalMaterial, I as InstancedMesh, v as Object3D, w as TextureLoader, x as ImageBitmapLoader, y as BufferAttribute, z as InterleavedBuffer, E as LinearFilter, H as LinearMipmapLinearFilter, J as RepeatWrapping, K as PointsMaterial, Q as LineBasicMaterial, X as MeshStandardMaterial, Y as DoubleSide, Z as PropertyBinding, $ as SkinnedMesh, a0 as Mesh, a1 as LineSegments, a2 as Line$1, a3 as LineLoop, a4 as Points, a5 as MathUtils, a6 as Skeleton, a7 as InterpolateLinear, a8 as AnimationClip, a9 as Bone, aa as Quaternion, ab as NearestFilter, ac as NearestMipmapNearestFilter, ad as LinearMipmapNearestFilter, ae as NearestMipmapLinearFilter, af as ClampToEdgeWrapping, ag as MirroredRepeatWrapping, ah as InterpolateDiscrete, ai as FrontSide, aj as InterleavedBufferAttribute, ak as VectorKeyframeTrack, al as QuaternionKeyframeTrack, am as NumberKeyframeTrack, an as Box3, ao as Sphere, ap as Interpolant, aq as SphereGeometry, ar as Ray$1, as as Plane, at as EventDispatcher, au as MOUSE, av as TOUCH, aw as Spherical, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, 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-0c4fa5f5.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-85a44c26.js"), []);
23803
+ } = suspend(async () => import("./troika-three-text.esm-0934bf13.js"), []);
23804
23804
  const invalidate2 = useThree(({
23805
23805
  invalidate: invalidate3
23806
23806
  }) => invalidate3);
@@ -27393,7 +27393,7 @@ function GeometryAndMesh(props) {
27393
27393
  }
27394
27394
  } else if (!isPresenting) {
27395
27395
  if (materialRef !== null) {
27396
- materialRef.current.material.uniforms.u_physical_Pixel.value = 2;
27396
+ materialRef.current.material.uniforms.u_physical_Pixel.value = 2.5;
27397
27397
  }
27398
27398
  }
27399
27399
  }, [isPresenting]);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b3, b1, b4, b2, b0, b5 } from "./index-140dc037.js";
1
+ import { b3, b1, b4, b2, b0, b5 } from "./index-0c4fa5f5.js";
2
2
  import { useCoordination } from "@vitessce/vit-s";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-140dc037.js";
1
+ import { aP as BaseDecoder } from "./index-0c4fa5f5.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -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-140dc037.js";
2
+ import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-0c4fa5f5.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-140dc037.js";
1
+ import { aP as BaseDecoder } from "./index-0c4fa5f5.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-140dc037.js";
1
+ import { aP as BaseDecoder } from "./index-0c4fa5f5.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-140dc037.js";
1
+ import { aP as BaseDecoder } from "./index-0c4fa5f5.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, E as LinearFilter, ax as InstancedBufferGeometry, ao as Sphere, an as Box3, aH as BackSide, Y as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, h as Color, aJ as Matrix3, a0 as Mesh, ai as FrontSide, a$ as PlaneGeometry, f as BufferGeometry, ay as Float32BufferAttribute, t as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-140dc037.js";
1
+ import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, E as LinearFilter, ax as InstancedBufferGeometry, ao as Sphere, an as Box3, aH as BackSide, Y as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, h as Color, aJ as Matrix3, a0 as Mesh, ai as FrontSide, a$ as PlaneGeometry, f as BufferGeometry, ay as Float32BufferAttribute, t as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-0c4fa5f5.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-140dc037.js";
1
+ import { aP as BaseDecoder } from "./index-0c4fa5f5.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,29 +18,29 @@
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
20
  "zod": "^3.21.4",
21
- "@vitessce/constants-internal": "3.4.0",
22
- "@vitessce/csv": "3.4.0",
23
- "@vitessce/feature-list": "3.4.0",
24
- "@vitessce/glb": "3.4.0",
25
- "@vitessce/description": "3.4.0",
26
- "@vitessce/genomic-profiles": "3.4.0",
27
- "@vitessce/heatmap": "3.4.0",
28
- "@vitessce/json": "3.4.0",
29
- "@vitessce/layer-controller": "3.4.0",
30
- "@vitessce/layer-controller-beta": "3.4.0",
31
- "@vitessce/obs-sets-manager": "3.4.0",
32
- "@vitessce/ome-tiff": "3.4.0",
33
- "@vitessce/plugins": "3.4.0",
34
- "@vitessce/scatterplot-embedding": "3.4.0",
35
- "@vitessce/schemas": "3.4.0",
36
- "@vitessce/spatial": "3.4.0",
37
- "@vitessce/scatterplot-gating": "3.4.0",
38
- "@vitessce/spatial-beta": "3.4.0",
39
- "@vitessce/statistical-plots": "3.4.0",
40
- "@vitessce/status": "3.4.0",
41
- "@vitessce/zarr": "3.4.0",
42
- "@vitessce/spatial-three": "3.4.0",
43
- "@vitessce/vit-s": "3.4.0"
21
+ "@vitessce/constants-internal": "3.4.1",
22
+ "@vitessce/description": "3.4.1",
23
+ "@vitessce/csv": "3.4.1",
24
+ "@vitessce/feature-list": "3.4.1",
25
+ "@vitessce/heatmap": "3.4.1",
26
+ "@vitessce/glb": "3.4.1",
27
+ "@vitessce/genomic-profiles": "3.4.1",
28
+ "@vitessce/json": "3.4.1",
29
+ "@vitessce/layer-controller": "3.4.1",
30
+ "@vitessce/layer-controller-beta": "3.4.1",
31
+ "@vitessce/obs-sets-manager": "3.4.1",
32
+ "@vitessce/ome-tiff": "3.4.1",
33
+ "@vitessce/plugins": "3.4.1",
34
+ "@vitessce/scatterplot-embedding": "3.4.1",
35
+ "@vitessce/scatterplot-gating": "3.4.1",
36
+ "@vitessce/schemas": "3.4.1",
37
+ "@vitessce/spatial": "3.4.1",
38
+ "@vitessce/spatial-beta": "3.4.1",
39
+ "@vitessce/statistical-plots": "3.4.1",
40
+ "@vitessce/status": "3.4.1",
41
+ "@vitessce/vit-s": "3.4.1",
42
+ "@vitessce/spatial-three": "3.4.1",
43
+ "@vitessce/zarr": "3.4.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^18.0.28",