@vitessce/dev 3.6.9 → 3.6.10
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/{ReactNeuroglancer-DEC2vD25.js → ReactNeuroglancer-DmSpxUz2.js} +1 -1
- package/dist/{deflate-DS-j5D8Y.js → deflate-BeW_-drp.js} +1 -1
- package/dist/{higlass-DMUqLMyJ.js → higlass-BnvfA_Ju.js} +1 -1
- package/dist/{index-CliaAL-R.js → index-Cr2q7qvQ.js} +19 -14
- package/dist/{index-DWavuhNX.js → index-Dz87k9HK.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-DHDVkHGs.js → jpeg-BqN3hODs.js} +1 -1
- package/dist/{lerc-DheTJ9gK.js → lerc-teu3lY5P.js} +1 -1
- package/dist/{lzw-BdUbOYEc.js → lzw-DemqF65k.js} +1 -1
- package/dist/{packbits-CleRlgF_.js → packbits-DV-nsibU.js} +1 -1
- package/dist/{raw-D6O0d5sn.js → raw-BbBj4Aoj.js} +1 -1
- package/dist/{troika-three-text.esm-DMVFT1Fz.js → troika-three-text.esm-BtHhk0OO.js} +1 -1
- package/dist/{webimage-BvPL1W7W.js → webimage-SuGzu9KX.js} +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, bm as require_root, bn as require_baseGetTag, bo as requireIsObjectLike, bp as requireIsObject, bq as requireEs6_symbol, br as requireDefineProperty, bs as require_toIobject, bt as require_objectGopd, bu as require_html, bv as require_domCreate, bw as require_library, bx as requireSymbol, by as require_objectPie, bz as require_has, bA as require_redefine, bB as require_objectAssign, bC as getAugmentedNamespace, bD as requirePropTypes, aI as jsxRuntimeExports } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, bm as require_root, bn as require_baseGetTag, bo as requireIsObjectLike, bp as requireIsObject, bq as requireEs6_symbol, br as requireDefineProperty, bs as require_toIobject, bt as require_objectGopd, bu as require_html, bv as require_domCreate, bw as require_library, bx as requireSymbol, by as require_objectPie, bz as require_has, bA as require_redefine, bB as require_objectAssign, bC as getAugmentedNamespace, bD as requirePropTypes, aI as jsxRuntimeExports } from "./index-Cr2q7qvQ.js";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
var lib = {};
|
|
4
4
|
var assignExports = requireAssign();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aP as BaseDecoder } from "./index-
|
|
2
|
+
import { aP as BaseDecoder } from "./index-Cr2q7qvQ.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$7 from "react";
|
|
2
2
|
import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
|
|
3
3
|
import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
|
|
4
|
-
import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-
|
|
4
|
+
import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-Cr2q7qvQ.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1324,7 +1324,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1324
1324
|
CoordinationType$2.HIERARCHY_LEVELS
|
|
1325
1325
|
]
|
|
1326
1326
|
};
|
|
1327
|
-
const version$6 = "3.6.
|
|
1327
|
+
const version$6 = "3.6.10";
|
|
1328
1328
|
const META_VERSION = {
|
|
1329
1329
|
version: version$6
|
|
1330
1330
|
};
|
|
@@ -225665,22 +225665,22 @@ async function getDecoder(fileDirectory) {
|
|
|
225665
225665
|
const Decoder = await importFn();
|
|
225666
225666
|
return new Decoder(fileDirectory);
|
|
225667
225667
|
}
|
|
225668
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
225669
|
-
addDecoder(5, () => import("./lzw-
|
|
225668
|
+
addDecoder([void 0, 1], () => import("./raw-BbBj4Aoj.js").then((m2) => m2.default));
|
|
225669
|
+
addDecoder(5, () => import("./lzw-DemqF65k.js").then((m2) => m2.default));
|
|
225670
225670
|
addDecoder(6, () => {
|
|
225671
225671
|
throw new Error("old style JPEG compression is not supported.");
|
|
225672
225672
|
});
|
|
225673
|
-
addDecoder(7, () => import("./jpeg-
|
|
225674
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
225675
|
-
addDecoder(32773, () => import("./packbits-
|
|
225673
|
+
addDecoder(7, () => import("./jpeg-BqN3hODs.js").then((m2) => m2.default));
|
|
225674
|
+
addDecoder([8, 32946], () => import("./deflate-BeW_-drp.js").then((m2) => m2.default));
|
|
225675
|
+
addDecoder(32773, () => import("./packbits-DV-nsibU.js").then((m2) => m2.default));
|
|
225676
225676
|
addDecoder(
|
|
225677
225677
|
34887,
|
|
225678
|
-
() => import("./lerc-
|
|
225678
|
+
() => import("./lerc-teu3lY5P.js").then(async (m2) => {
|
|
225679
225679
|
await m2.zstd.init();
|
|
225680
225680
|
return m2;
|
|
225681
225681
|
}).then((m2) => m2.default)
|
|
225682
225682
|
);
|
|
225683
|
-
addDecoder(50001, () => import("./webimage-
|
|
225683
|
+
addDecoder(50001, () => import("./webimage-SuGzu9KX.js").then((m2) => m2.default));
|
|
225684
225684
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
225685
225685
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
225686
225686
|
}
|
|
@@ -269092,7 +269092,7 @@ class ErrorBoundary2 extends React__default.Component {
|
|
|
269092
269092
|
}
|
|
269093
269093
|
}
|
|
269094
269094
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
269095
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
269095
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-Dz87k9HK.js");
|
|
269096
269096
|
return { default: SpatialWrapper2 };
|
|
269097
269097
|
});
|
|
269098
269098
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary2, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
|
|
@@ -279624,7 +279624,7 @@ function HiglassGlobalStyles(props) {
|
|
|
279624
279624
|
}
|
|
279625
279625
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
279626
279626
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
279627
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
279627
|
+
const { HiGlassComponent } = await import("./higlass-BnvfA_Ju.js");
|
|
279628
279628
|
return { default: HiGlassComponent };
|
|
279629
279629
|
});
|
|
279630
279630
|
const HG_SIZE = 800;
|
|
@@ -282567,7 +282567,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
282567
282567
|
const { classes: classes2 } = props;
|
|
282568
282568
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
282569
282569
|
}
|
|
282570
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
282570
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-DmSpxUz2.js"));
|
|
282571
282571
|
function createWorker() {
|
|
282572
282572
|
return new WorkerFactory();
|
|
282573
282573
|
}
|
|
@@ -340567,9 +340567,10 @@ class SpatialDataObsSpotsLoader extends AbstractTwoStepLoader {
|
|
|
340567
340567
|
}
|
|
340568
340568
|
const zattrs = await this.dataSource.loadSpatialDataElementAttrs(path2);
|
|
340569
340569
|
const coordinateTransformationsFromFile = (zattrs?.coordinateTransformations || DEFAULT_COORDINATE_TRANSFORMATIONS$1).filter(({ input: { name: inputName }, output: { name: outputName } }) => inputName === "xy" && outputName === coordinateSystem);
|
|
340570
|
-
const axes = zattrs?.axes
|
|
340570
|
+
const axes = zattrs?.axes ?? DEFAULT_AXES$1;
|
|
340571
|
+
const normAxes = normalizeAxes(axes);
|
|
340571
340572
|
const normCoordinateTransformationsFromFile = normalizeCoordinateTransformations(coordinateTransformationsFromFile, null);
|
|
340572
|
-
const transformMatrixFromFile = coordinateTransformationsToMatrix(normCoordinateTransformationsFromFile,
|
|
340573
|
+
const transformMatrixFromFile = coordinateTransformationsToMatrix(normCoordinateTransformationsFromFile, normAxes);
|
|
340573
340574
|
this.modelMatrix = transformMatrixFromFile;
|
|
340574
340575
|
return this.modelMatrix;
|
|
340575
340576
|
}
|
|
@@ -356379,7 +356380,11 @@ function toFloat32Array(input) {
|
|
|
356379
356380
|
if (input instanceof Float64Array) {
|
|
356380
356381
|
return new Float32Array(input);
|
|
356381
356382
|
}
|
|
356382
|
-
|
|
356383
|
+
if (input instanceof Array) {
|
|
356384
|
+
return new Float32Array(input);
|
|
356385
|
+
}
|
|
356386
|
+
log$c.warn("toFloat32Array expected Float32Array, Float64Array, BigInt64Array, or Array input");
|
|
356387
|
+
return new Float32Array(input);
|
|
356383
356388
|
}
|
|
356384
356389
|
class SpatialDataShapesSource extends SpatialDataTableSource {
|
|
356385
356390
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, 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, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, 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-Cr2q7qvQ.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo, forwardRef } from "react";
|
|
4
4
|
var constants = { exports: {} };
|
|
@@ -23637,7 +23637,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
23637
23637
|
const {
|
|
23638
23638
|
Text: TextMeshImpl,
|
|
23639
23639
|
preloadFont
|
|
23640
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
23640
|
+
} = suspend(async () => import("./troika-three-text.esm-BtHhk0OO.js"), []);
|
|
23641
23641
|
const invalidate2 = useThree(({
|
|
23642
23642
|
invalidate: invalidate3
|
|
23643
23643
|
}) => invalidate3);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bU, bP, bN, bO, bY, bZ, bQ, c5, c3, c1, c4, c2, bM, c0, bR, bL, bK, bW, bV, bX, b$, b_, bT, ca, cd, c7, ce, cf, c8, cb, cc, c9, bS, c6 } from "./index-
|
|
1
|
+
import { bU, bP, bN, bO, bY, bZ, bQ, c5, c3, c1, c4, c2, bM, c0, bR, bL, bK, bW, bV, bX, b$, b_, bT, ca, cd, c7, ce, cf, c8, cb, cc, c9, bS, c6 } from "./index-Cr2q7qvQ.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
bU as CoordinationLevel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.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-Cr2q7qvQ.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bE as MeshDistanceMaterial, bF as MeshDepthMaterial, bG as RGBADepthPacking, aB as UniformsUtils, bH as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bI as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bJ as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bE as MeshDistanceMaterial, bF as MeshDepthMaterial, bG as RGBADepthPacking, aB as UniformsUtils, bH as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bI as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bJ as InstancedBufferAttribute } from "./index-Cr2q7qvQ.js";
|
|
2
2
|
function workerBootstrap() {
|
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
function registerModule(ref, callback) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/dev",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.10",
|
|
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.6.
|
|
20
|
-
"@vitessce/config": "3.6.
|
|
21
|
-
"@vitessce/constants": "3.6.
|
|
22
|
-
"@vitessce/export-utils": "3.6.
|
|
19
|
+
"@vitessce/all": "3.6.10",
|
|
20
|
+
"@vitessce/config": "3.6.10",
|
|
21
|
+
"@vitessce/constants": "3.6.10",
|
|
22
|
+
"@vitessce/export-utils": "3.6.10"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.5.0",
|