@vitessce/dev 3.5.4 → 3.5.5

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 { aQ as BaseDecoder } from "./index-0dd94049.js";
2
+ import { aQ as BaseDecoder } from "./index-c58bafdf.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -1,6 +1,6 @@
1
1
  import React__default, { createElement, isValidElement, PureComponent, Component } from "react";
2
2
  import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
3
- import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-0dd94049.js";
3
+ import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-c58bafdf.js";
4
4
  var promise = {};
5
5
  (function(exports2) {
6
6
  (function(global) {
@@ -919,10 +919,10 @@ const COMPONENT_COORDINATION_TYPES = {
919
919
  ]
920
920
  };
921
921
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
922
- const version$6 = "3.5.4";
923
- const date$5 = "2025-01-14";
922
+ const version$6 = "3.5.5";
923
+ const date$5 = "2025-01-17";
924
924
  const branch = "changeset-release/main";
925
- const hash$1 = "76d60b64";
925
+ const hash$1 = "fe1f84e9";
926
926
  const META_VERSION = {
927
927
  note,
928
928
  version: version$6,
@@ -46850,8 +46850,9 @@ function useGetObsInfo(obsType, obsLabelsTypes, obsLabelsData, obsSetsMembership
46850
46850
  function useExpandedFeatureLabelsMap(featureType, featureLabelsMap, options) {
46851
46851
  const { stripCuriePrefixes = true } = options || {};
46852
46852
  const getTermMapping2 = useAsyncFunction(AsyncFunctionType.GET_TERM_MAPPING);
46853
+ const enabled = featureType === "gene";
46853
46854
  const termMappingQuery = useQuery({
46854
- enabled: featureType === "gene",
46855
+ enabled,
46855
46856
  queryKey: ["useExpandedFeatureLabelsMap", "ensembl", "hgnc"],
46856
46857
  queryFn: async () => getTermMapping2("ensembl", "hgnc")
46857
46858
  });
@@ -46864,7 +46865,7 @@ function useExpandedFeatureLabelsMap(featureType, featureLabelsMap, options) {
46864
46865
  ...featureLabelsMap || []
46865
46866
  ]);
46866
46867
  }, [fetchedMapping, featureLabelsMap, stripCuriePrefixes]);
46867
- const dataStatus = isFetching ? STATUS$1.LOADING : status;
46868
+ const dataStatus = enabled ? isFetching ? STATUS$1.LOADING : status : STATUS$1.SUCCESS;
46868
46869
  return [updatedFeatureLabelsMap, dataStatus];
46869
46870
  }
46870
46871
  const useVitessceContainerStyles = makeStyles((theme) => ({
@@ -68089,10 +68090,10 @@ var _objectKeysInternal = function(object2, names) {
68089
68090
  return result;
68090
68091
  };
68091
68092
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
68092
- var $keys$1 = _objectKeysInternal;
68093
+ var $keys$2 = _objectKeysInternal;
68093
68094
  var enumBugKeys$1 = _enumBugKeys;
68094
68095
  var _objectKeys$1 = Object.keys || function keys(O) {
68095
- return $keys$1(O, enumBugKeys$1);
68096
+ return $keys$2(O, enumBugKeys$1);
68096
68097
  };
68097
68098
  var _objectGops = {};
68098
68099
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -68563,20 +68564,13 @@ var _isArray = Array.isArray || function isArray2(arg) {
68563
68564
  };
68564
68565
  var _objectGopnExt = {};
68565
68566
  var _objectGopn = {};
68566
- var hasRequired_objectGopn;
68567
- function require_objectGopn() {
68568
- if (hasRequired_objectGopn)
68569
- return _objectGopn;
68570
- hasRequired_objectGopn = 1;
68571
- var $keys2 = _objectKeysInternal;
68572
- var hiddenKeys = _enumBugKeys.concat("length", "prototype");
68573
- _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames4(O) {
68574
- return $keys2(O, hiddenKeys);
68575
- };
68576
- return _objectGopn;
68577
- }
68567
+ var $keys$1 = _objectKeysInternal;
68568
+ var hiddenKeys = _enumBugKeys.concat("length", "prototype");
68569
+ _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames2(O) {
68570
+ return $keys$1(O, hiddenKeys);
68571
+ };
68578
68572
  var toIObject$2 = _toIobject;
68579
- var gOPN$1 = require_objectGopn().f;
68573
+ var gOPN$1 = _objectGopn.f;
68580
68574
  var toString$4 = {}.toString;
68581
68575
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
68582
68576
  var getWindowNames = function(it2) {
@@ -68586,7 +68580,7 @@ var getWindowNames = function(it2) {
68586
68580
  return windowNames.slice();
68587
68581
  }
68588
68582
  };
68589
- _objectGopnExt.f = function getOwnPropertyNames2(it2) {
68583
+ _objectGopnExt.f = function getOwnPropertyNames3(it2) {
68590
68584
  return windowNames && toString$4.call(it2) == "[object Window]" ? getWindowNames(it2) : gOPN$1(toIObject$2(it2));
68591
68585
  };
68592
68586
  var _objectGopd = {};
@@ -68725,7 +68719,7 @@ var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor3(it2, key2) {
68725
68719
  D2.enumerable = true;
68726
68720
  return D2;
68727
68721
  };
68728
- var $getOwnPropertyNames = function getOwnPropertyNames3(it2) {
68722
+ var $getOwnPropertyNames = function getOwnPropertyNames4(it2) {
68729
68723
  var names = gOPN(toIObject(it2));
68730
68724
  var result = [];
68731
68725
  var i2 = 0;
@@ -68769,7 +68763,7 @@ if (!USE_NATIVE) {
68769
68763
  });
68770
68764
  $GOPD.f = $getOwnPropertyDescriptor;
68771
68765
  $DP.f = $defineProperty$4;
68772
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
68766
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
68773
68767
  require_objectPie().f = $propertyIsEnumerable;
68774
68768
  $GOPS.f = $getOwnPropertySymbols;
68775
68769
  if (DESCRIPTORS && !_library) {
@@ -186181,16 +186175,16 @@ async function getDecoder(fileDirectory) {
186181
186175
  const Decoder = await importFn();
186182
186176
  return new Decoder(fileDirectory);
186183
186177
  }
186184
- addDecoder([void 0, 1], () => import("./raw-b871aa33.js").then((m2) => m2.default));
186185
- addDecoder(5, () => import("./lzw-1877cafe.js").then((m2) => m2.default));
186178
+ addDecoder([void 0, 1], () => import("./raw-605b3dae.js").then((m2) => m2.default));
186179
+ addDecoder(5, () => import("./lzw-2ebe37ef.js").then((m2) => m2.default));
186186
186180
  addDecoder(6, () => {
186187
186181
  throw new Error("old style JPEG compression is not supported.");
186188
186182
  });
186189
- addDecoder(7, () => import("./jpeg-ddb5ba7e.js").then((m2) => m2.default));
186190
- addDecoder([8, 32946], () => import("./deflate-badb3b0c.js").then((m2) => m2.default));
186191
- addDecoder(32773, () => import("./packbits-22a5c520.js").then((m2) => m2.default));
186192
- addDecoder(34887, () => import("./lerc-bc6d9782.js").then((m2) => m2.default));
186193
- addDecoder(50001, () => import("./webimage-916f21dc.js").then((m2) => m2.default));
186183
+ addDecoder(7, () => import("./jpeg-4a8dd832.js").then((m2) => m2.default));
186184
+ addDecoder([8, 32946], () => import("./deflate-c52145fa.js").then((m2) => m2.default));
186185
+ addDecoder(32773, () => import("./packbits-69a10647.js").then((m2) => m2.default));
186186
+ addDecoder(34887, () => import("./lerc-229a68d7.js").then((m2) => m2.default));
186187
+ addDecoder(50001, () => import("./webimage-5453f579.js").then((m2) => m2.default));
186194
186188
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
186195
186189
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
186196
186190
  }
@@ -227199,7 +227193,7 @@ class ErrorBoundary extends React__default.Component {
227199
227193
  }
227200
227194
  }
227201
227195
  const LazySpatialThree = React__default.lazy(async () => {
227202
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-507e7fae.js");
227196
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-ecfcf2f3.js");
227203
227197
  return { default: SpatialWrapper2 };
227204
227198
  });
227205
227199
  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 }) }) }) }));
@@ -235703,7 +235697,7 @@ const useStyles$3 = makeStyles((theme) => ({
235703
235697
  }));
235704
235698
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
235705
235699
  const LazyHiGlassComponent = React__default.lazy(async () => {
235706
- const { HiGlassComponent } = await import("./higlass-148ab938.js");
235700
+ const { HiGlassComponent } = await import("./higlass-0bc95289.js");
235707
235701
  return { default: HiGlassComponent };
235708
235702
  });
235709
235703
  const HG_SIZE = 800;
@@ -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, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, 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 SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-0dd94049.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, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, 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 SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-c58bafdf.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useState, useRef, useEffect, useMemo, forwardRef } from "react";
4
4
  import "react-dom";
@@ -23693,7 +23693,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23693
23693
  const {
23694
23694
  Text: TextMeshImpl,
23695
23695
  preloadFont
23696
- } = suspend(async () => import("./troika-three-text.esm-de05f2bd.js"), []);
23696
+ } = suspend(async () => import("./troika-three-text.esm-4cfc8853.js"), []);
23697
23697
  const invalidate2 = useThree(({
23698
23698
  invalidate: invalidate3
23699
23699
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-0dd94049.js";
1
+ import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-0dd94049.js";
2
+ import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-c58bafdf.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-0dd94049.js";
1
+ import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function workerBootstrap() {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-c58bafdf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.5.4",
3
+ "version": "3.5.5",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.5.4",
20
- "@vitessce/config": "3.5.4",
21
- "@vitessce/constants": "3.5.4",
22
- "@vitessce/export-utils": "3.5.4"
19
+ "@vitessce/all": "3.5.5",
20
+ "@vitessce/config": "3.5.5",
21
+ "@vitessce/constants": "3.5.5",
22
+ "@vitessce/export-utils": "3.5.5"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",