@vitessce/dev 3.5.3 → 3.5.4

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-036cde70.js";
2
+ import { aQ as BaseDecoder } from "./index-0dd94049.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-036cde70.js";
3
+ import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-0dd94049.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.3";
922
+ const version$6 = "3.5.4";
923
923
  const date$5 = "2025-01-14";
924
924
  const branch = "changeset-release/main";
925
- const hash$1 = "681f7748";
925
+ const hash$1 = "76d60b64";
926
926
  const META_VERSION = {
927
927
  note,
928
928
  version: version$6,
@@ -68089,10 +68089,10 @@ var _objectKeysInternal = function(object2, names) {
68089
68089
  return result;
68090
68090
  };
68091
68091
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
68092
- var $keys$2 = _objectKeysInternal;
68092
+ var $keys$1 = _objectKeysInternal;
68093
68093
  var enumBugKeys$1 = _enumBugKeys;
68094
68094
  var _objectKeys$1 = Object.keys || function keys(O) {
68095
- return $keys$2(O, enumBugKeys$1);
68095
+ return $keys$1(O, enumBugKeys$1);
68096
68096
  };
68097
68097
  var _objectGops = {};
68098
68098
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -68563,13 +68563,20 @@ var _isArray = Array.isArray || function isArray2(arg) {
68563
68563
  };
68564
68564
  var _objectGopnExt = {};
68565
68565
  var _objectGopn = {};
68566
- var $keys$1 = _objectKeysInternal;
68567
- var hiddenKeys = _enumBugKeys.concat("length", "prototype");
68568
- _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames2(O) {
68569
- return $keys$1(O, hiddenKeys);
68570
- };
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
+ }
68571
68578
  var toIObject$2 = _toIobject;
68572
- var gOPN$1 = _objectGopn.f;
68579
+ var gOPN$1 = require_objectGopn().f;
68573
68580
  var toString$4 = {}.toString;
68574
68581
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
68575
68582
  var getWindowNames = function(it2) {
@@ -68579,7 +68586,7 @@ var getWindowNames = function(it2) {
68579
68586
  return windowNames.slice();
68580
68587
  }
68581
68588
  };
68582
- _objectGopnExt.f = function getOwnPropertyNames3(it2) {
68589
+ _objectGopnExt.f = function getOwnPropertyNames2(it2) {
68583
68590
  return windowNames && toString$4.call(it2) == "[object Window]" ? getWindowNames(it2) : gOPN$1(toIObject$2(it2));
68584
68591
  };
68585
68592
  var _objectGopd = {};
@@ -68718,7 +68725,7 @@ var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor3(it2, key2) {
68718
68725
  D2.enumerable = true;
68719
68726
  return D2;
68720
68727
  };
68721
- var $getOwnPropertyNames = function getOwnPropertyNames4(it2) {
68728
+ var $getOwnPropertyNames = function getOwnPropertyNames3(it2) {
68722
68729
  var names = gOPN(toIObject(it2));
68723
68730
  var result = [];
68724
68731
  var i2 = 0;
@@ -68762,7 +68769,7 @@ if (!USE_NATIVE) {
68762
68769
  });
68763
68770
  $GOPD.f = $getOwnPropertyDescriptor;
68764
68771
  $DP.f = $defineProperty$4;
68765
- _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
68772
+ require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
68766
68773
  require_objectPie().f = $propertyIsEnumerable;
68767
68774
  $GOPS.f = $getOwnPropertySymbols;
68768
68775
  if (DESCRIPTORS && !_library) {
@@ -186174,16 +186181,16 @@ async function getDecoder(fileDirectory) {
186174
186181
  const Decoder = await importFn();
186175
186182
  return new Decoder(fileDirectory);
186176
186183
  }
186177
- addDecoder([void 0, 1], () => import("./raw-ac1ba16f.js").then((m2) => m2.default));
186178
- addDecoder(5, () => import("./lzw-39675865.js").then((m2) => m2.default));
186184
+ addDecoder([void 0, 1], () => import("./raw-b871aa33.js").then((m2) => m2.default));
186185
+ addDecoder(5, () => import("./lzw-1877cafe.js").then((m2) => m2.default));
186179
186186
  addDecoder(6, () => {
186180
186187
  throw new Error("old style JPEG compression is not supported.");
186181
186188
  });
186182
- addDecoder(7, () => import("./jpeg-2cb49c87.js").then((m2) => m2.default));
186183
- addDecoder([8, 32946], () => import("./deflate-e91f3096.js").then((m2) => m2.default));
186184
- addDecoder(32773, () => import("./packbits-c56ea923.js").then((m2) => m2.default));
186185
- addDecoder(34887, () => import("./lerc-eb27ad81.js").then((m2) => m2.default));
186186
- addDecoder(50001, () => import("./webimage-44d8ec7f.js").then((m2) => m2.default));
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));
186187
186194
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
186188
186195
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
186189
186196
  }
@@ -227192,7 +227199,7 @@ class ErrorBoundary extends React__default.Component {
227192
227199
  }
227193
227200
  }
227194
227201
  const LazySpatialThree = React__default.lazy(async () => {
227195
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-de1a84ab.js");
227202
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-507e7fae.js");
227196
227203
  return { default: SpatialWrapper2 };
227197
227204
  });
227198
227205
  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 }) }) }) }));
@@ -235696,7 +235703,7 @@ const useStyles$3 = makeStyles((theme) => ({
235696
235703
  }));
235697
235704
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
235698
235705
  const LazyHiGlassComponent = React__default.lazy(async () => {
235699
- const { HiGlassComponent } = await import("./higlass-47994720.js");
235706
+ const { HiGlassComponent } = await import("./higlass-148ab938.js");
235700
235707
  return { default: HiGlassComponent };
235701
235708
  });
235702
235709
  const HG_SIZE = 800;
@@ -294434,7 +294441,12 @@ class AnnDataSource extends ZarrDataSource {
294434
294441
  if (encodingType === "dict" && encodingVersion === "0.1.0") {
294435
294442
  const result = {};
294436
294443
  await Promise.all(keys4.map(async (key2) => {
294437
- const val = await this._loadElement(`${path2}/${key2}`);
294444
+ let val;
294445
+ try {
294446
+ val = await this._loadElement(`${path2}/${key2}`);
294447
+ } catch (e3) {
294448
+ console.error(`Error in _loadDict: could not load ${key2}`);
294449
+ }
294438
294450
  result[key2] = val;
294439
294451
  }));
294440
294452
  return result;
@@ -311354,10 +311366,13 @@ class SpatialDataShapesSource extends AnnDataSource {
311354
311366
  }
311355
311367
  const readParquet = await getReadParquet();
311356
311368
  const parquetPath = getParquetPath(path2);
311357
- const parquetBytes = await this.storeRoot.store.get(`/${parquetPath}`);
311369
+ let parquetBytes = await this.storeRoot.store.get(`/${parquetPath}`);
311358
311370
  if (!parquetBytes) {
311359
311371
  throw new Error("Failed to load parquet data from store.");
311360
311372
  }
311373
+ if (!ArrayBuffer.isView(parquetBytes)) {
311374
+ parquetBytes = new Uint8Array(parquetBytes);
311375
+ }
311361
311376
  const wasmTable = readParquet(parquetBytes);
311362
311377
  const arrowTable = tableFromIPC(wasmTable.intoIPCStream());
311363
311378
  this.parquetTable = arrowTable;
@@ -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-036cde70.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-0dd94049.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-14d9b994.js"), []);
23696
+ } = suspend(async () => import("./troika-three-text.esm-de05f2bd.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-036cde70.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-0dd94049.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-036cde70.js";
1
+ import { aQ as BaseDecoder } from "./index-0dd94049.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-036cde70.js";
2
+ import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-0dd94049.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-036cde70.js";
1
+ import { aQ as BaseDecoder } from "./index-0dd94049.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-036cde70.js";
1
+ import { aQ as BaseDecoder } from "./index-0dd94049.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-036cde70.js";
1
+ import { aQ as BaseDecoder } from "./index-0dd94049.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-036cde70.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-0dd94049.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-036cde70.js";
1
+ import { aQ as BaseDecoder } from "./index-0dd94049.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.3",
3
+ "version": "3.5.4",
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.3",
20
- "@vitessce/config": "3.5.3",
21
- "@vitessce/constants": "3.5.3",
22
- "@vitessce/export-utils": "3.5.3"
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"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",