@vitessce/dev 3.8.8 → 3.8.9
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/{OrbitControls-J2IHe2x7.js → OrbitControls-DY24S_TZ.js} +1 -1
- package/dist/{ReactNeuroglancer-BfY6eP2z.js → ReactNeuroglancer-BM1UeLFe.js} +1 -1
- package/dist/{deflate-D9J7cgqi.js → deflate-CJB4Em0i.js} +1 -1
- package/dist/{higlass-C5JPMXw_.js → higlass-DOCdAMGa.js} +1 -1
- package/dist/{index-C3ET3Ldz.js → index-CehJSm7Q.js} +83 -27
- package/dist/{index-D8RTEOfi.js → index-Cz8VeLk0.js} +2 -2
- package/dist/{index-DGhVps82.js → index-DxF5s9IL.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{jpeg-DY9HYPjR.js → jpeg-QUQIu3So.js} +1 -1
- package/dist/{lerc-DTMv-HxU.js → lerc-DC8QpFYH.js} +1 -1
- package/dist/{lzw-Cb9mzb7W.js → lzw-s7DCcl7I.js} +1 -1
- package/dist/{packbits-BblqXNO8.js → packbits-T1F-rYAi.js} +1 -1
- package/dist/{raw-B_i4ezsQ.js → raw-DW2QNLGU.js} +1 -1
- package/dist/{troika-three-text.esm-BL61IENu.js → troika-three-text.esm-B-wuOgxN.js} +1 -1
- package/dist/{webimage-kI_hc8kD.js → webimage-8khvHmiT.js} +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aH as getDefaultExportFromCjs, aI as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aJ as PCFSoftShadowMap, aK as VSMShadowMap, aL as PCFShadowMap, aM as BasicShadowMap, aN as NoToneMapping, aO as ACESFilmicToneMapping, e as Vector3, V as Vector2, aP as Clock, aQ as WebGLRenderer, aR as Camera, x as BufferGeometry, r as Material, aS as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aT as THREE, aU as EventDispatcher, aV as MOUSE, aW as TOUCH, aX as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-
|
|
1
|
+
import { aH as getDefaultExportFromCjs, aI as Raycaster, W as OrthographicCamera, K as PerspectiveCamera, av as Scene, aJ as PCFSoftShadowMap, aK as VSMShadowMap, aL as PCFShadowMap, aM as BasicShadowMap, aN as NoToneMapping, aO as ACESFilmicToneMapping, e as Vector3, V as Vector2, aP as Clock, aQ as WebGLRenderer, aR as Camera, x as BufferGeometry, r as Material, aS as Layers, a1 as Texture, aE as RGBAFormat, az as UnsignedByteType, C as Color, aj as _extends, aT as THREE, aU as EventDispatcher, aV as MOUSE, aW as TOUCH, aX as Spherical, Q as Quaternion, an as Ray, ak as Plane } from "./index-CehJSm7Q.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo } from "react";
|
|
4
4
|
var constants = { exports: {} };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { aH as getDefaultExportFromCjs, b2 as requireAssign, b3 as require_export, b4 as require_core, b5 as require_fails, b6 as require_toObject, b7 as require_objectKeys, b8 as require_cof, b9 as require_wks, ba as require_iterators, bb as requireWeb_dom_iterable, bc as requireEs6_string_iterator, bd as require_anObject, be as require_hide, bf as require_ctx, bg as require_toLength, bh as require_global, bi as require_objectDp, bj as require_descriptors, bk as require_isObject, bl as require_objectCreate, bm as require_iterDefine, bn as require_iterStep, bo as require_meta, bp as require_isArray, bq as require_iobject, br as require_setToStringTag, bs as require_aFunction, bt as requireIterator, bu as require_propertyDesc, bv as require_root, bw as require_baseGetTag, bx as requireIsObjectLike, by as requireIsObject, bz as requireEs6_symbol, bA as requireDefineProperty, bB as require_toIobject, bC as require_objectGopd, bD as require_html, bE as require_domCreate, bF as require_library, bG as requireSymbol, bH as require_objectPie, bI as require_has, bJ as require_redefine, bK as require_objectAssign, bL as diffCameraState, ao as jsxRuntimeExports } from "./index-
|
|
4
|
+
import { aH as getDefaultExportFromCjs, b2 as requireAssign, b3 as require_export, b4 as require_core, b5 as require_fails, b6 as require_toObject, b7 as require_objectKeys, b8 as require_cof, b9 as require_wks, ba as require_iterators, bb as requireWeb_dom_iterable, bc as requireEs6_string_iterator, bd as require_anObject, be as require_hide, bf as require_ctx, bg as require_toLength, bh as require_global, bi as require_objectDp, bj as require_descriptors, bk as require_isObject, bl as require_objectCreate, bm as require_iterDefine, bn as require_iterStep, bo as require_meta, bp as require_isArray, bq as require_iobject, br as require_setToStringTag, bs as require_aFunction, bt as requireIterator, bu as require_propertyDesc, bv as require_root, bw as require_baseGetTag, bx as requireIsObjectLike, by as requireIsObject, bz as requireEs6_symbol, bA as requireDefineProperty, bB as require_toIobject, bC as require_objectGopd, bD as require_html, bE as require_domCreate, bF as require_library, bG as requireSymbol, bH as require_objectPie, bI as require_has, bJ as require_redefine, bK as require_objectAssign, bL as diffCameraState, ao as jsxRuntimeExports } from "./index-CehJSm7Q.js";
|
|
5
5
|
import React__default from "react";
|
|
6
6
|
var assignExports = requireAssign();
|
|
7
7
|
const _Object$assign = /* @__PURE__ */ getDefaultExportFromCjs(assignExports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aY as BaseDecoder } from "./index-
|
|
2
|
+
import { aY as BaseDecoder } from "./index-CehJSm7Q.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 { a$ as commonjsGlobal$1, b0 as requireObjectAssign, aH as getDefaultExportFromCjs$1, b1 as earcut } from "./index-
|
|
4
|
+
import { a$ as commonjsGlobal$1, b0 as requireObjectAssign, aH as getDefaultExportFromCjs$1, b1 as earcut } from "./index-CehJSm7Q.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1338,7 +1338,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1338
1338
|
CoordinationType$2.HIERARCHY_LEVELS
|
|
1339
1339
|
]
|
|
1340
1340
|
};
|
|
1341
|
-
const version$6 = "3.8.
|
|
1341
|
+
const version$6 = "3.8.9";
|
|
1342
1342
|
const META_VERSION = {
|
|
1343
1343
|
version: version$6
|
|
1344
1344
|
};
|
|
@@ -2462,6 +2462,59 @@ class Pool {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
}
|
|
2464
2464
|
}
|
|
2465
|
+
function aggregateFeatureArrays(arrays, strategy) {
|
|
2466
|
+
if (!arrays || arrays.length === 0)
|
|
2467
|
+
return null;
|
|
2468
|
+
let targetArray;
|
|
2469
|
+
if (strategy === "first" || typeof strategy === "number" && strategy === 0) {
|
|
2470
|
+
targetArray = arrays[0];
|
|
2471
|
+
} else if (strategy === "last") {
|
|
2472
|
+
targetArray = arrays[arrays.length - 1];
|
|
2473
|
+
} else if (typeof strategy === "number") {
|
|
2474
|
+
if (strategy >= 0 && strategy < arrays.length) {
|
|
2475
|
+
targetArray = arrays[strategy];
|
|
2476
|
+
} else {
|
|
2477
|
+
throw new Error(`Array index out of bounds: ${strategy}`);
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
if (targetArray) {
|
|
2481
|
+
return targetArray;
|
|
2482
|
+
}
|
|
2483
|
+
const numArrays = arrays.length;
|
|
2484
|
+
const firstArrayLength = arrays[0].length;
|
|
2485
|
+
if (arrays.some((arr) => arr.length !== firstArrayLength)) {
|
|
2486
|
+
throw new Error("All arrays must have the same length for aggregation.");
|
|
2487
|
+
}
|
|
2488
|
+
if (strategy === "sum" || strategy === "mean") {
|
|
2489
|
+
const resultArray = new Float64Array(firstArrayLength);
|
|
2490
|
+
for (let i2 = 0; i2 < numArrays; i2++) {
|
|
2491
|
+
const arr = arrays[i2];
|
|
2492
|
+
for (let j = 0; j < firstArrayLength; j++) {
|
|
2493
|
+
resultArray[j] += arr[j];
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2496
|
+
if (strategy === "mean") {
|
|
2497
|
+
for (let i2 = 0; i2 < firstArrayLength; i2++) {
|
|
2498
|
+
resultArray[i2] /= numArrays;
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
return resultArray;
|
|
2502
|
+
}
|
|
2503
|
+
if (strategy === "difference") {
|
|
2504
|
+
if (numArrays !== 2) {
|
|
2505
|
+
console.warn("Difference strategy requires exactly 2 arrays.");
|
|
2506
|
+
return arrays[0];
|
|
2507
|
+
}
|
|
2508
|
+
const arr0 = arrays[0];
|
|
2509
|
+
const arr1 = arrays[1];
|
|
2510
|
+
const resultArray = new Float64Array(firstArrayLength);
|
|
2511
|
+
for (let i2 = 0; i2 < firstArrayLength; i2++) {
|
|
2512
|
+
resultArray[i2] = arr0[i2] - arr1[i2];
|
|
2513
|
+
}
|
|
2514
|
+
return resultArray;
|
|
2515
|
+
}
|
|
2516
|
+
throw new Error(`Unknown aggregation strategy: ${strategy}`);
|
|
2517
|
+
}
|
|
2465
2518
|
class VitessceConfigDatasetFile {
|
|
2466
2519
|
/**
|
|
2467
2520
|
* Construct a new file definition instance.
|
|
@@ -90718,7 +90771,7 @@ function useClosestVitessceContainerSize(ref2, sidebarWidth) {
|
|
|
90718
90771
|
function onWindowResize() {
|
|
90719
90772
|
if (ref2.current) {
|
|
90720
90773
|
const { clientHeight: componentHeight, clientWidth: componentWidth } = ref2.current.closest(`.${VITESSCE_CONTAINER}`);
|
|
90721
|
-
setWidth(componentWidth -
|
|
90774
|
+
setWidth(componentWidth - 0);
|
|
90722
90775
|
setHeight(componentHeight);
|
|
90723
90776
|
}
|
|
90724
90777
|
}
|
|
@@ -228938,22 +228991,22 @@ async function getDecoder(fileDirectory) {
|
|
|
228938
228991
|
const Decoder = await importFn();
|
|
228939
228992
|
return new Decoder(fileDirectory);
|
|
228940
228993
|
}
|
|
228941
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
228942
|
-
addDecoder(5, () => import("./lzw-
|
|
228994
|
+
addDecoder([void 0, 1], () => import("./raw-DW2QNLGU.js").then((m2) => m2.default));
|
|
228995
|
+
addDecoder(5, () => import("./lzw-s7DCcl7I.js").then((m2) => m2.default));
|
|
228943
228996
|
addDecoder(6, () => {
|
|
228944
228997
|
throw new Error("old style JPEG compression is not supported.");
|
|
228945
228998
|
});
|
|
228946
|
-
addDecoder(7, () => import("./jpeg-
|
|
228947
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
228948
|
-
addDecoder(32773, () => import("./packbits-
|
|
228999
|
+
addDecoder(7, () => import("./jpeg-QUQIu3So.js").then((m2) => m2.default));
|
|
229000
|
+
addDecoder([8, 32946], () => import("./deflate-CJB4Em0i.js").then((m2) => m2.default));
|
|
229001
|
+
addDecoder(32773, () => import("./packbits-T1F-rYAi.js").then((m2) => m2.default));
|
|
228949
229002
|
addDecoder(
|
|
228950
229003
|
34887,
|
|
228951
|
-
() => import("./lerc-
|
|
229004
|
+
() => import("./lerc-DC8QpFYH.js").then(async (m2) => {
|
|
228952
229005
|
await m2.zstd.init();
|
|
228953
229006
|
return m2;
|
|
228954
229007
|
}).then((m2) => m2.default)
|
|
228955
229008
|
);
|
|
228956
|
-
addDecoder(50001, () => import("./webimage-
|
|
229009
|
+
addDecoder(50001, () => import("./webimage-8khvHmiT.js").then((m2) => m2.default));
|
|
228957
229010
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
228958
229011
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
228959
229012
|
}
|
|
@@ -251268,7 +251321,14 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
|
251268
251321
|
const getCellIsSelected = useCallback((object2, { index: index2 }) => (cellSelectionSet || /* @__PURE__ */ new Set([])).has(obsEmbeddingIndex[index2]) ? 1 : 0, [cellSelectionSet, obsEmbeddingIndex]);
|
|
251269
251322
|
const cellRadius = cellRadiusMode === "manual" ? cellRadiusFixed : dynamicCellRadius;
|
|
251270
251323
|
const cellOpacity = cellOpacityMode === "manual" ? cellOpacityFixed : dynamicCellOpacity;
|
|
251271
|
-
const
|
|
251324
|
+
const aggregatedExpressionData = useMemo$1(() => {
|
|
251325
|
+
if (featureAggregationStrategyToUse != null && expressionData && expressionData.length > 1) {
|
|
251326
|
+
const aggregated = aggregateFeatureArrays(expressionData, featureAggregationStrategyToUse);
|
|
251327
|
+
return [aggregated];
|
|
251328
|
+
}
|
|
251329
|
+
return expressionData;
|
|
251330
|
+
}, [expressionData, featureAggregationStrategyToUse]);
|
|
251331
|
+
const { normData: uint8ExpressionData, extents: expressionExtents, missing: expressionMissing } = useUint8FeatureSelection(aggregatedExpressionData);
|
|
251272
251332
|
const getExpressionValue = useExpressionValueGetter({
|
|
251273
251333
|
instanceObsIndex: obsEmbeddingIndex,
|
|
251274
251334
|
matrixObsIndex,
|
|
@@ -269752,12 +269812,12 @@ class ErrorBoundary2 extends React__default.Component {
|
|
|
269752
269812
|
}
|
|
269753
269813
|
}
|
|
269754
269814
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
269755
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
269815
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DxF5s9IL.js");
|
|
269756
269816
|
return { default: SpatialWrapper2 };
|
|
269757
269817
|
});
|
|
269758
269818
|
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 }) }) }) }));
|
|
269759
269819
|
const LazySpatialAccelerated = React__default.lazy(async () => {
|
|
269760
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
269820
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-Cz8VeLk0.js");
|
|
269761
269821
|
return { default: SpatialWrapper2 };
|
|
269762
269822
|
});
|
|
269763
269823
|
const SpatialAcceleratedAdapter = 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(LazySpatialAccelerated, { ...props }) }) }) }));
|
|
@@ -277918,22 +277978,18 @@ function FeatureList(props) {
|
|
|
277918
277978
|
const { width: width2, height: height2, hasColorEncoding, geneList = [], featureLabelsMap, geneSelection = [], geneFilter = null, setGeneSelection, enableMultiSelect, showFeatureTable, featureListSort, featureListSortKey, hasFeatureLabels, primaryColumnName } = props;
|
|
277919
277979
|
const { classes: classes2 } = useStyles$l();
|
|
277920
277980
|
const [searchTerm, setSearchTerm] = useState("");
|
|
277921
|
-
const [searchResults, setSearchResults] = useState(geneList);
|
|
277922
277981
|
const selectableTableSortKey = featureListSortKey === "featureIndex" ? "key" : "name";
|
|
277923
|
-
|
|
277924
|
-
const results = geneList.filter((gene) => gene.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(gene)?.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(cleanFeatureId(gene))?.toLowerCase().includes(searchTerm.toLowerCase()));
|
|
277925
|
-
setSearchResults(results);
|
|
277926
|
-
}, [searchTerm, geneList, featureLabelsMap]);
|
|
277982
|
+
const searchResults = useMemo$1(() => geneList.filter((gene) => gene.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(gene)?.toLowerCase().includes(searchTerm.toLowerCase()) || featureLabelsMap?.get(cleanFeatureId(gene))?.toLowerCase().includes(searchTerm.toLowerCase())), [geneList, searchTerm, featureLabelsMap]);
|
|
277927
277983
|
function onChange(selection) {
|
|
277928
277984
|
if (setGeneSelection && selection) {
|
|
277929
|
-
|
|
277930
|
-
|
|
277931
|
-
|
|
277932
|
-
|
|
277933
|
-
|
|
277934
|
-
|
|
277935
|
-
} else
|
|
277936
|
-
setGeneSelection(
|
|
277985
|
+
const selectedHiddenKeys = (geneSelection || []).filter((key2) => !searchResults.includes(key2));
|
|
277986
|
+
const selectionArray = Array.isArray(selection) ? selection : [selection];
|
|
277987
|
+
const selectedVisibleKeys = selectionArray.map((s2) => s2.key).filter((key2) => searchResults.includes(key2));
|
|
277988
|
+
const newSelection = [...selectedHiddenKeys, ...selectedVisibleKeys].filter(Boolean);
|
|
277989
|
+
if (newSelection.length > 0) {
|
|
277990
|
+
setGeneSelection(newSelection);
|
|
277991
|
+
} else {
|
|
277992
|
+
setGeneSelection(null);
|
|
277937
277993
|
}
|
|
277938
277994
|
}
|
|
277939
277995
|
}
|
|
@@ -281663,7 +281719,7 @@ function HiglassGlobalStyles(props) {
|
|
|
281663
281719
|
}
|
|
281664
281720
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
281665
281721
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
281666
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
281722
|
+
const { HiGlassComponent } = await import("./higlass-DOCdAMGa.js");
|
|
281667
281723
|
return { default: HiGlassComponent };
|
|
281668
281724
|
});
|
|
281669
281725
|
const HG_SIZE = 800;
|
|
@@ -284610,7 +284666,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
284610
284666
|
const { classes: classes2 } = props;
|
|
284611
284667
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
284612
284668
|
}
|
|
284613
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
284669
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BM1UeLFe.js"));
|
|
284614
284670
|
function createWorker() {
|
|
284615
284671
|
return new WorkerFactory();
|
|
284616
284672
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, ao as jsxRuntimeExports, aG as GLSL3, am as BackSide } from "./index-
|
|
1
|
+
import { aw as log, ax as isEqual, ay as atLeastLogLevel, ar as Data3DTexture, as as RedFormat, az as UnsignedByteType, l as LinearFilter, aA as RedIntegerFormat, aB as UnsignedIntType, m as NearestFilter, aC as LogLevel, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aD as WebGLMultipleRenderTargets, aE as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aF as PlaneGeometry, ao as jsxRuntimeExports, aG as GLSL3, am as BackSide } from "./index-CehJSm7Q.js";
|
|
2
2
|
import { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
3
|
-
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
3
|
+
import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-DY24S_TZ.js";
|
|
4
4
|
const BRICK_SIZE = 32;
|
|
5
5
|
const BRICK_CACHE_SIZE_X = 64;
|
|
6
6
|
const BRICK_CACHE_SIZE_Y = 64;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-
|
|
1
|
+
import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-CehJSm7Q.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRef, useEffect, useState, forwardRef } from "react";
|
|
4
|
-
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-
|
|
4
|
+
import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-DY24S_TZ.js";
|
|
5
5
|
const isPromise = (promise) => typeof promise === "object" && typeof promise.then === "function";
|
|
6
6
|
const globalCache = [];
|
|
7
7
|
function shallowEqualArrays(arrA, arrB, equal = (a, b) => a === b) {
|
|
@@ -5027,7 +5027,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
|
5027
5027
|
const {
|
|
5028
5028
|
Text: TextMeshImpl,
|
|
5029
5029
|
preloadFont
|
|
5030
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
|
5030
|
+
} = suspend(async () => import("./troika-three-text.esm-B-wuOgxN.js"), []);
|
|
5031
5031
|
const invalidate = useThree(({
|
|
5032
5032
|
invalidate: invalidate2
|
|
5033
5033
|
}) => invalidate2);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b$, bW, bU, bV, c3, c4, bX, cf, cd, cb, ce, cc, bT, ca, bY, bS, bR, c1, c7, c0, c2, c6, c5, b_, c8, c9, ck, cn, ch, co, cp, ci, cl, cm, cj, bZ, cg } from "./index-
|
|
1
|
+
import { b$, bW, bU, bV, c3, c4, bX, cf, cd, cb, ce, cc, bT, ca, bY, bS, bR, c1, c7, c0, c2, c6, c5, b_, c8, c9, ck, cn, ch, co, cp, ci, cl, cm, cj, bZ, cg } from "./index-CehJSm7Q.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
b$ as CoordinationLevel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { aH as getDefaultExportFromCjs, aY as BaseDecoder, aZ as LercParameters, a_ as LercAddCompression } from "./index-
|
|
2
|
+
import { aH as getDefaultExportFromCjs, aY as BaseDecoder, aZ as LercParameters, a_ as LercAddCompression } from "./index-CehJSm7Q.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bM as MeshDistanceMaterial, bN as MeshDepthMaterial, bO as RGBADepthPacking, ae as UniformsUtils, bP as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bQ as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bM as MeshDistanceMaterial, bN as MeshDepthMaterial, bO as RGBADepthPacking, ae as UniformsUtils, bP as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aF as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bQ as InstancedBufferAttribute } from "./index-CehJSm7Q.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.8.
|
|
3
|
+
"version": "3.8.9",
|
|
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.8.
|
|
20
|
-
"@vitessce/config": "3.8.
|
|
21
|
-
"@vitessce/constants": "3.8.
|
|
22
|
-
"@vitessce/export-utils": "3.8.
|
|
19
|
+
"@vitessce/all": "3.8.9",
|
|
20
|
+
"@vitessce/config": "3.8.9",
|
|
21
|
+
"@vitessce/constants": "3.8.9",
|
|
22
|
+
"@vitessce/export-utils": "3.8.9"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.5.0",
|