@vitessce/dev 3.5.3 → 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.
- package/dist/{deflate-e91f3096.js → deflate-c52145fa.js} +1 -1
- package/dist/{higlass-47994720.js → higlass-0bc95289.js} +1 -1
- package/dist/{index-036cde70.js → index-c58bafdf.js} +25 -16
- package/dist/{index-de1a84ab.js → index-ecfcf2f3.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-2cb49c87.js → jpeg-4a8dd832.js} +1 -1
- package/dist/{lerc-eb27ad81.js → lerc-229a68d7.js} +1 -1
- package/dist/{lzw-39675865.js → lzw-2ebe37ef.js} +1 -1
- package/dist/{packbits-c56ea923.js → packbits-69a10647.js} +1 -1
- package/dist/{raw-ac1ba16f.js → raw-605b3dae.js} +1 -1
- package/dist/{troika-three-text.esm-14d9b994.js → troika-three-text.esm-4cfc8853.js} +1 -1
- package/dist/{webimage-44d8ec7f.js → webimage-5453f579.js} +1 -1
- package/package.json +5 -5
|
@@ -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-
|
|
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.
|
|
923
|
-
const date$5 = "2025-01-
|
|
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 = "
|
|
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
|
|
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) => ({
|
|
@@ -186174,16 +186175,16 @@ async function getDecoder(fileDirectory) {
|
|
|
186174
186175
|
const Decoder = await importFn();
|
|
186175
186176
|
return new Decoder(fileDirectory);
|
|
186176
186177
|
}
|
|
186177
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
186178
|
-
addDecoder(5, () => import("./lzw-
|
|
186178
|
+
addDecoder([void 0, 1], () => import("./raw-605b3dae.js").then((m2) => m2.default));
|
|
186179
|
+
addDecoder(5, () => import("./lzw-2ebe37ef.js").then((m2) => m2.default));
|
|
186179
186180
|
addDecoder(6, () => {
|
|
186180
186181
|
throw new Error("old style JPEG compression is not supported.");
|
|
186181
186182
|
});
|
|
186182
|
-
addDecoder(7, () => import("./jpeg-
|
|
186183
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
186184
|
-
addDecoder(32773, () => import("./packbits-
|
|
186185
|
-
addDecoder(34887, () => import("./lerc-
|
|
186186
|
-
addDecoder(50001, () => import("./webimage-
|
|
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));
|
|
186187
186188
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
186188
186189
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
186189
186190
|
}
|
|
@@ -227192,7 +227193,7 @@ class ErrorBoundary extends React__default.Component {
|
|
|
227192
227193
|
}
|
|
227193
227194
|
}
|
|
227194
227195
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
227195
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
227196
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-ecfcf2f3.js");
|
|
227196
227197
|
return { default: SpatialWrapper2 };
|
|
227197
227198
|
});
|
|
227198
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 }) }) }) }));
|
|
@@ -235696,7 +235697,7 @@ const useStyles$3 = makeStyles((theme) => ({
|
|
|
235696
235697
|
}));
|
|
235697
235698
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
235698
235699
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
235699
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
235700
|
+
const { HiGlassComponent } = await import("./higlass-0bc95289.js");
|
|
235700
235701
|
return { default: HiGlassComponent };
|
|
235701
235702
|
});
|
|
235702
235703
|
const HG_SIZE = 800;
|
|
@@ -294434,7 +294435,12 @@ class AnnDataSource extends ZarrDataSource {
|
|
|
294434
294435
|
if (encodingType === "dict" && encodingVersion === "0.1.0") {
|
|
294435
294436
|
const result = {};
|
|
294436
294437
|
await Promise.all(keys4.map(async (key2) => {
|
|
294437
|
-
|
|
294438
|
+
let val;
|
|
294439
|
+
try {
|
|
294440
|
+
val = await this._loadElement(`${path2}/${key2}`);
|
|
294441
|
+
} catch (e3) {
|
|
294442
|
+
console.error(`Error in _loadDict: could not load ${key2}`);
|
|
294443
|
+
}
|
|
294438
294444
|
result[key2] = val;
|
|
294439
294445
|
}));
|
|
294440
294446
|
return result;
|
|
@@ -311354,10 +311360,13 @@ class SpatialDataShapesSource extends AnnDataSource {
|
|
|
311354
311360
|
}
|
|
311355
311361
|
const readParquet = await getReadParquet();
|
|
311356
311362
|
const parquetPath = getParquetPath(path2);
|
|
311357
|
-
|
|
311363
|
+
let parquetBytes = await this.storeRoot.store.get(`/${parquetPath}`);
|
|
311358
311364
|
if (!parquetBytes) {
|
|
311359
311365
|
throw new Error("Failed to load parquet data from store.");
|
|
311360
311366
|
}
|
|
311367
|
+
if (!ArrayBuffer.isView(parquetBytes)) {
|
|
311368
|
+
parquetBytes = new Uint8Array(parquetBytes);
|
|
311369
|
+
}
|
|
311361
311370
|
const wasmTable = readParquet(parquetBytes);
|
|
311362
311371
|
const arrowTable = tableFromIPC(wasmTable.intoIPCStream());
|
|
311363
311372
|
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-
|
|
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-
|
|
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-
|
|
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,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-
|
|
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 { 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-
|
|
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() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/dev",
|
|
3
|
-
"version": "3.5.
|
|
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.
|
|
20
|
-
"@vitessce/config": "3.5.
|
|
21
|
-
"@vitessce/constants": "3.5.
|
|
22
|
-
"@vitessce/export-utils": "3.5.
|
|
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",
|