@vitessce/all 3.6.17 → 3.6.18
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-p7igJLiX.js → ReactNeuroglancer-BEVcmeJW.js} +1 -1
- package/dist/{deflate-D8z1Ios4.js → deflate-D4WUbeKy.js} +1 -1
- package/dist/{higlass-DsOagm-3.js → higlass-B5A5XLB4.js} +1 -1
- package/dist/{index-D3fYyovt.js → index-B2chDEFY.js} +257 -220
- package/dist/{index-JzXR5qZF.js → index-DTVSAAC6.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-Dro94QxC.js → jpeg-CP3IBASq.js} +1 -1
- package/dist/{lerc-P1L7rhmK.js → lerc-BAp1E_M5.js} +1 -1
- package/dist/{lzw-DHxw4stx.js → lzw-BSD1S9eX.js} +1 -1
- package/dist/{packbits-LTJg549O.js → packbits-BjpOk8Mk.js} +1 -1
- package/dist/{raw-qu9pkSoP.js → raw-Dcut_m0H.js} +1 -1
- package/dist/{troika-three-text.esm-CBXagbbi.js → troika-three-text.esm-C4kMzHny.js} +1 -1
- package/dist/{webimage-fqLvuewG.js → webimage-CmDy5gE2.js} +1 -1
- package/package.json +32 -32
@@ -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, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz 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, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-B2chDEFY.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-B2chDEFY.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-B2chDEFY.js";
|
5
5
|
var promise = {};
|
6
6
|
var hasRequiredPromise;
|
7
7
|
function requirePromise() {
|
@@ -12,7 +12,7 @@ var __privateMethod = (obj, member, method2) => (__accessCheck(obj, member, "acc
|
|
12
12
|
var _a2, _b2, _overrides, _use_suffix_request, _FetchStore_instances, merge_init_fn, _c, _bytes, _d, _encoder, _e, _data, _f, _stride, _TypedArray, _BYTES_PER_ELEMENT, _shape, _endian, _g, _encoder_config, _decoder_config, _h, _order, _inverseOrder, _i, _shape2, _strides, _j, _metadata, _k, _metadata2, _l, _overrides2, _refs, _opts, _overrides3, _focused, _cleanup, _setup, _m2, _online, _cleanup2, _setup2, _n, _client, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _o2, _client2, _result, _queries, _options, _observers, _combinedResult, _lastCombine, _lastResult, _observerMatches, _QueriesObserver_instances, trackResult_fn, combineResult_fn, findMatchingObservers_fn, onUpdate_fn, notify_fn2, _p2, _bytes2, _encoder2, _data2, _stride2, _TypedArray2, _BYTES_PER_ELEMENT2, _shape3, _endian2, _encoder_config2, _decoder_config2, _order2, _inverseOrder2, _shape4, _strides2, _metadata3, _q, _metadata4, _r, _overrides4, _use_suffix_request2, _FetchStore_instances2, merge_init_fn2;
|
13
13
|
import * as React from "react";
|
14
14
|
import React__default, { useContext, forwardRef as forwardRef$1, useRef, useMemo as useMemo$1, createContext, createElement, isValidElement, cloneElement, Children, version as version$6, useLayoutEffect as useLayoutEffect$1, useEffect, useImperativeHandle, PureComponent, Component as Component$1, useState, useCallback, Suspense, useReducer } from "react";
|
15
|
-
import { useLoaders, useCoordination, useDescription, useImageData, useReady, TitleInfo, useVitessceContainer, useSetWarning, useObsSetsData, useUrls, usePlotOptionsStyles, OptionsContainer, CellColorEncodingOption, OptionSelect, useComponentHover, useComponentViewInfo, useSetComponentHover, useSetComponentViewInfo, useInitialCoordination, useDeckCanvasSize, useMultiObsLabels, useObsEmbeddingData, useFeatureSelection, useObsFeatureMatrixIndices, useFeatureLabelsData, useExpandedFeatureLabelsMap, useSampleSetsData, useSampleEdgesData, useGetObsInfo, useUint8FeatureSelection, useExpressionValueGetter, useAuxiliaryCoordination, useHasLoader, useObsLocationsData, useObsLabelsData, useObsSegmentationsData, useNeighborhoodsData, useMergeCoordination,
|
15
|
+
import { useLoaders, useCoordinationScopes, useCoordination, useDescription, useImageData, useReady, TitleInfo, useVitessceContainer, useSetWarning, useObsSetsData, useUrls, usePlotOptionsStyles, OptionsContainer, CellColorEncodingOption, OptionSelect, useComponentHover, useComponentViewInfo, useSetComponentHover, useSetComponentViewInfo, useInitialCoordination, useDeckCanvasSize, useMultiObsLabels, useObsEmbeddingData, useFeatureSelection, useObsFeatureMatrixIndices, useFeatureLabelsData, useExpandedFeatureLabelsMap, useSampleSetsData, useSampleEdgesData, useGetObsInfo, useUint8FeatureSelection, useExpressionValueGetter, useAuxiliaryCoordination, useHasLoader, useObsLocationsData, useObsLabelsData, useObsSegmentationsData, useNeighborhoodsData, useMergeCoordination, useCoordinationScopesBy, useMultiCoordinationScopesSecondaryNonNull, useMultiCoordinationScopesNonNull, useComplexCoordination, useComplexCoordinationSecondary, useGridItemSize, useMultiObsPoints, usePointMultiObsLabels, useMultiObsSpots, useSpotMultiObsSets, useSpotMultiFeatureLabels, useSpotMultiFeatureSelection, useSpotMultiObsFeatureMatrixIndices, useSegmentationMultiObsLocations, useMultiObsSegmentations, useSegmentationMultiObsSets, useSegmentationMultiFeatureSelection, useSegmentationMultiObsFeatureMatrixIndices, useMultiImages, useObsFeatureMatrixData, useUint8ObsFeatureMatrix, useGetObsMembership, PopperMenu, useComponentLayout, useClosestVitessceContainerSize, useWindowDimensions, useRemoveImageChannelInMetaCoordinationScopes, useAddImageChannelInMetaCoordinationScopes, useViewConfigStoreApi, useViewConfig, useSetViewConfig, createLoaders, useWarning, useGenomicProfilesData, useMatchingLoader, useColumnNameMapping, useFeatureStatsData, useObsSetStatsData, useAsyncFunction, useFeatureSetStatsData, useComparisonMetadata, logConfig, VitSContainer } from "@vitessce/vit-s";
|
16
16
|
import * as ReactDOM from "react-dom";
|
17
17
|
import ReactDOM__default, { createPortal } from "react-dom";
|
18
18
|
function _mergeNamespaces(n3, m2) {
|
@@ -82846,8 +82846,9 @@ function Description(props) {
|
|
82846
82846
|
return jsxRuntimeExports.jsxs("div", { className: classes2.description, children: [descriptionType && descriptionType === DescriptionType.MARKDOWN ? jsxRuntimeExports.jsx(Markdown, { children: description2 }) : jsxRuntimeExports.jsx("p", { children: description2 }), metadata2 && Array.from(metadata2.entries()).map(([layerIndex, { name: layerName, metadata: metadataRecord }]) => metadataRecord && Object.entries(metadataRecord).length > 0 ? jsxRuntimeExports.jsxs("details", { children: [jsxRuntimeExports.jsx("summary", { children: layerName }), jsxRuntimeExports.jsx("div", { className: classes2.metadataContainer, children: jsxRuntimeExports.jsx("table", { children: jsxRuntimeExports.jsx("tbody", { children: Object.entries(metadataRecord).map(([key2, value2]) => jsxRuntimeExports.jsxs("tr", { children: [jsxRuntimeExports.jsx("th", { title: key2, children: key2 }), jsxRuntimeExports.jsx("td", { title: value2, children: value2 })] }, key2)) }) }) })] }, layerIndex) : null)] });
|
82847
82847
|
}
|
82848
82848
|
function DescriptionSubscriber(props) {
|
82849
|
-
const { coordinationScopes, description: descriptionOverride, descriptionType, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible, helpText = ViewHelpMapping.DESCRIPTION } = props;
|
82849
|
+
const { coordinationScopes: coordinationScopesRaw, description: descriptionOverride, descriptionType, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible, helpText = ViewHelpMapping.DESCRIPTION } = props;
|
82850
82850
|
const loaders = useLoaders();
|
82851
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
82851
82852
|
const [{ dataset, spatialImageLayer: rasterLayers }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DESCRIPTION], coordinationScopes);
|
82852
82853
|
const [description2] = useDescription(loaders, dataset);
|
82853
82854
|
const [{ image: image2 }, imageStatus, imageUrls, imageError] = useImageData(loaders, dataset, false, {}, {}, {});
|
@@ -103386,87 +103387,83 @@ function SetsManager(props) {
|
|
103386
103387
|
}
|
103387
103388
|
const packageJson = { name: "vitessce" };
|
103388
103389
|
function ObsSetsManagerSubscriber(props) {
|
103389
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SETS } = props;
|
103390
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SETS } = props;
|
103390
103391
|
const loaders = useLoaders();
|
103392
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
103391
103393
|
const setWarning = useSetWarning();
|
103392
|
-
const [{ dataset, obsType, obsSetSelection
|
103394
|
+
const [{ dataset, obsType, obsSetSelection, obsSetExpansion, obsSetColor, additionalObsSets, obsColorEncoding }, { setObsSetSelection, setObsColorEncoding, setObsSetColor, setObsSetExpansion, setAdditionalObsSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SETS], coordinationScopes);
|
103393
103395
|
const title2 = titleOverride || `${capitalize$3(obsType)} Sets`;
|
103394
|
-
|
103395
|
-
if (cellSetExpansion && cellSetExpansion.length > 0) {
|
103396
|
-
setCellSetExpansion([]);
|
103397
|
-
}
|
103398
|
-
}, [loaders, dataset]);
|
103399
|
-
const [{ obsIndex, obsSets: cellSets }, obsSetsStatus, obsSetsUrls, obsSetsError] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { obsSetSelection: cellSetSelection, obsSetColor: cellSetColor }, { obsType });
|
103396
|
+
const [{ obsIndex, obsSets: cellSets }, obsSetsStatus, obsSetsUrls, obsSetsError] = useObsSetsData(loaders, dataset, false, { setObsSetSelection, setObsSetColor, setObsSetExpansion }, { obsSetSelection, obsSetColor, obsSetExpansion }, { obsType });
|
103400
103397
|
const errors = [
|
103401
103398
|
obsSetsError
|
103402
103399
|
];
|
103403
103400
|
const isReady = useReady([obsSetsStatus]);
|
103404
103401
|
const urls2 = useUrls([obsSetsUrls]);
|
103405
103402
|
useEffect(() => {
|
103406
|
-
if (
|
103403
|
+
if (additionalObsSets) {
|
103407
103404
|
let upgradedCellSets;
|
103408
103405
|
let didUpgrade;
|
103409
103406
|
try {
|
103410
|
-
[upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(
|
103407
|
+
[upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(additionalObsSets, SETS_DATATYPE_OBS);
|
103411
103408
|
} catch (e3) {
|
103412
103409
|
setWarning(e3.message);
|
103413
103410
|
return;
|
103414
103411
|
}
|
103415
103412
|
if (didUpgrade) {
|
103416
|
-
|
103413
|
+
setAdditionalObsSets(upgradedCellSets);
|
103417
103414
|
}
|
103418
103415
|
}
|
103419
|
-
}, [
|
103416
|
+
}, [additionalObsSets, setAdditionalObsSets, setWarning]);
|
103420
103417
|
const allCellIds = useMemo$1(() => obsIndex || [], [obsIndex]);
|
103421
|
-
const
|
103422
|
-
|
103423
|
-
}, [
|
103424
|
-
const
|
103418
|
+
const setObsSetColorEncoding = useCallback(() => {
|
103419
|
+
setObsColorEncoding("cellSetSelection");
|
103420
|
+
}, [setObsColorEncoding]);
|
103421
|
+
const mergedObsSets = useMemo$1(() => mergeObsSets(cellSets, additionalObsSets), [cellSets, additionalObsSets]);
|
103425
103422
|
const checkedLevel = useMemo$1(() => {
|
103426
|
-
if (
|
103427
|
-
return treeToExpectedCheckedLevel(
|
103423
|
+
if (obsSetSelection && obsSetSelection.length > 0 && mergedObsSets && mergedObsSets.tree.length > 0) {
|
103424
|
+
return treeToExpectedCheckedLevel(mergedObsSets, obsSetSelection);
|
103428
103425
|
}
|
103429
103426
|
return null;
|
103430
|
-
}, [
|
103427
|
+
}, [obsSetSelection, mergedObsSets]);
|
103431
103428
|
const onCheckLevel = useCallback((levelZeroName, levelIndex) => {
|
103432
|
-
const lzn =
|
103429
|
+
const lzn = mergedObsSets.tree.find((n3) => n3.name === levelZeroName);
|
103433
103430
|
if (lzn) {
|
103434
|
-
const
|
103435
|
-
|
103436
|
-
|
103431
|
+
const newObsSetSelection = nodeToLevelDescendantNamePaths(lzn, levelIndex, [], true);
|
103432
|
+
setObsSetSelection(newObsSetSelection);
|
103433
|
+
setObsSetColorEncoding();
|
103437
103434
|
}
|
103438
|
-
}, [
|
103435
|
+
}, [mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
|
103439
103436
|
const onCheckNode = useCallback((targetKey, checked) => {
|
103440
103437
|
const targetPath = Array.isArray(targetKey) ? targetKey : targetKey.split(PATH_SEP);
|
103441
103438
|
if (!targetKey) {
|
103442
103439
|
return;
|
103443
103440
|
}
|
103444
103441
|
if (checked) {
|
103445
|
-
|
103442
|
+
setObsSetSelection([...obsSetSelection, targetPath]);
|
103446
103443
|
} else {
|
103447
|
-
|
103444
|
+
setObsSetSelection(obsSetSelection.filter((d) => !isEqual$3(d, targetPath)));
|
103448
103445
|
}
|
103449
|
-
|
103450
|
-
}, [
|
103446
|
+
setObsSetColorEncoding();
|
103447
|
+
}, [obsSetSelection, setObsSetColorEncoding, setObsSetSelection]);
|
103451
103448
|
const onExpandNode = useCallback((expandedKeys, targetKey, expanded) => {
|
103452
|
-
const
|
103449
|
+
const prevObsSetExpansion = obsSetExpansion || [];
|
103453
103450
|
if (expanded) {
|
103454
|
-
|
103451
|
+
setObsSetExpansion([...prevObsSetExpansion, targetKey.split(PATH_SEP)]);
|
103455
103452
|
} else {
|
103456
|
-
const
|
103457
|
-
|
103453
|
+
const newObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqual$3(d, targetKey.split(PATH_SEP)));
|
103454
|
+
setObsSetExpansion(newObsSetExpansion);
|
103458
103455
|
}
|
103459
|
-
}, [
|
103456
|
+
}, [obsSetExpansion, setObsSetExpansion]);
|
103460
103457
|
const onDropNode = useCallback((dropKey, dragKey, dropPosition, dropToGap) => {
|
103461
103458
|
const dropPath = dropKey.split(PATH_SEP);
|
103462
|
-
const dropNode = treeFindNodeByNamePath(
|
103459
|
+
const dropNode = treeFindNodeByNamePath(additionalObsSets, dropPath);
|
103463
103460
|
if (!dropNode.children && !dropToGap) {
|
103464
103461
|
return;
|
103465
103462
|
}
|
103466
103463
|
const dropNodeLevel = dropPath.length - 1;
|
103467
103464
|
const dropNodeIsLevelZero = dropNodeLevel === 0;
|
103468
103465
|
const dragPath = dragKey.split(PATH_SEP);
|
103469
|
-
const dragNode = treeFindNodeByNamePath(
|
103466
|
+
const dragNode = treeFindNodeByNamePath(additionalObsSets, dragPath);
|
103470
103467
|
if (dropNodeIsLevelZero && dropToGap && !dragNode.children) {
|
103471
103468
|
return;
|
103472
103469
|
}
|
@@ -103475,10 +103472,10 @@ function ObsSetsManagerSubscriber(props) {
|
|
103475
103472
|
let dropNodeCurrIndex;
|
103476
103473
|
if (!dropNodeIsLevelZero) {
|
103477
103474
|
dropParentPath = dropPath.slice(0, -1);
|
103478
|
-
dropParentNode = treeFindNodeByNamePath(
|
103475
|
+
dropParentNode = treeFindNodeByNamePath(additionalObsSets, dropParentPath);
|
103479
103476
|
dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
|
103480
103477
|
} else {
|
103481
|
-
dropNodeCurrIndex =
|
103478
|
+
dropNodeCurrIndex = additionalObsSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
|
103482
103479
|
}
|
103483
103480
|
let hasSiblingNameConflict;
|
103484
103481
|
const dragNodeName = dragNode.name;
|
@@ -103487,19 +103484,19 @@ function ObsSetsManagerSubscriber(props) {
|
|
103487
103484
|
} else if (!dropToGap) {
|
103488
103485
|
hasSiblingNameConflict = dropNode.children.find((c2) => c2 !== dragNode && c2.name === dragNodeName);
|
103489
103486
|
} else {
|
103490
|
-
hasSiblingNameConflict =
|
103487
|
+
hasSiblingNameConflict = additionalObsSets.tree.find((lzn) => lzn !== dragNode && lzn.name === dragNodeName);
|
103491
103488
|
}
|
103492
103489
|
if (hasSiblingNameConflict) {
|
103493
103490
|
return;
|
103494
103491
|
}
|
103495
|
-
const
|
103496
|
-
...
|
103497
|
-
tree:
|
103492
|
+
const nextAdditionalObsSets = {
|
103493
|
+
...additionalObsSets,
|
103494
|
+
tree: additionalObsSets.tree.map((lzn) => filterNode(lzn, [], dragPath)).filter(Boolean)
|
103498
103495
|
};
|
103499
103496
|
if (!dropNodeIsLevelZero) {
|
103500
103497
|
dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
|
103501
103498
|
} else {
|
103502
|
-
dropNodeCurrIndex =
|
103499
|
+
dropNodeCurrIndex = nextAdditionalObsSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
|
103503
103500
|
}
|
103504
103501
|
let newDragPath = [];
|
103505
103502
|
if (!dropToGap || !dropNodeIsLevelZero) {
|
@@ -103518,67 +103515,67 @@ function ObsSetsManagerSubscriber(props) {
|
|
103518
103515
|
addChildFunction = (n3) => nodeInsertChild(n3, dragNode, insertIndex);
|
103519
103516
|
}
|
103520
103517
|
}
|
103521
|
-
|
103518
|
+
nextAdditionalObsSets.tree = nextAdditionalObsSets.tree.map((node2) => nodeTransform(node2, (n3, path2) => checkPathFunction(path2), (n3) => {
|
103522
103519
|
const newNode = addChildFunction(n3);
|
103523
103520
|
return newNode;
|
103524
103521
|
}, newPath));
|
103525
|
-
|
103522
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
103526
103523
|
newDragPath = [...newPath[0], dragNode.name];
|
103527
|
-
|
103524
|
+
setObsSetSelection([newDragPath]);
|
103528
103525
|
} else if (dropPosition === -1) {
|
103529
|
-
|
103530
|
-
|
103526
|
+
nextAdditionalObsSets.tree.unshift(dragNode);
|
103527
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
103531
103528
|
newDragPath = [dragNode.name];
|
103532
|
-
|
103529
|
+
setObsSetSelection([newDragPath]);
|
103533
103530
|
} else {
|
103534
103531
|
const insertIndex = dropNodeCurrIndex + (dropPosition > dropNodeCurrIndex ? 1 : 0);
|
103535
|
-
const newLevelZero = Array.from(
|
103532
|
+
const newLevelZero = Array.from(nextAdditionalObsSets.tree);
|
103536
103533
|
newLevelZero.splice(insertIndex, 0, dragNode);
|
103537
|
-
|
103538
|
-
|
103534
|
+
nextAdditionalObsSets.tree = newLevelZero;
|
103535
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
103539
103536
|
newDragPath = [dragNode.name];
|
103540
|
-
|
103537
|
+
setObsSetSelection([newDragPath]);
|
103541
103538
|
}
|
103542
|
-
const oldColors =
|
103539
|
+
const oldColors = obsSetColor.filter((i2) => isEqualOrPrefix(dragPath, i2.path));
|
103543
103540
|
const newColors = oldColors.map((i2) => ({
|
103544
103541
|
...i2,
|
103545
103542
|
path: !isEqual$3(i2.path, dragPath) ? newDragPath.concat(i2.path.slice(dragPath.length)) : newDragPath
|
103546
103543
|
}));
|
103547
|
-
const
|
103548
|
-
|
103549
|
-
|
103544
|
+
const newObsSetColor = obsSetColor.filter((i2) => !isEqualOrPrefix(dragPath, i2.path));
|
103545
|
+
newObsSetColor.push(...newColors);
|
103546
|
+
setObsSetColor(newObsSetColor);
|
103550
103547
|
}, [
|
103551
|
-
|
103552
|
-
|
103553
|
-
|
103554
|
-
|
103555
|
-
|
103548
|
+
additionalObsSets,
|
103549
|
+
obsSetColor,
|
103550
|
+
setAdditionalObsSets,
|
103551
|
+
setObsSetColor,
|
103552
|
+
setObsSetSelection
|
103556
103553
|
]);
|
103557
103554
|
const onNodeSetColor = useCallback((targetPath, color2) => {
|
103558
|
-
const prevNodeColor =
|
103555
|
+
const prevNodeColor = obsSetColor == null ? void 0 : obsSetColor.find((d) => isEqual$3(d.path, targetPath));
|
103559
103556
|
if (!prevNodeColor) {
|
103560
|
-
|
103561
|
-
...
|
103557
|
+
setObsSetColor([
|
103558
|
+
...obsSetColor || [],
|
103562
103559
|
{
|
103563
103560
|
path: targetPath,
|
103564
103561
|
color: color2
|
103565
103562
|
}
|
103566
103563
|
]);
|
103567
103564
|
} else {
|
103568
|
-
|
103569
|
-
...
|
103565
|
+
setObsSetColor([
|
103566
|
+
...obsSetColor.filter((d) => !isEqual$3(d.path, targetPath)),
|
103570
103567
|
{
|
103571
103568
|
path: targetPath,
|
103572
103569
|
color: color2
|
103573
103570
|
}
|
103574
103571
|
]);
|
103575
103572
|
}
|
103576
|
-
}, [
|
103573
|
+
}, [obsSetColor, setObsSetColor]);
|
103577
103574
|
const onNodeSetName = useCallback((targetPath, name2) => {
|
103578
103575
|
const nextNamePath = [...targetPath];
|
103579
103576
|
nextNamePath.pop();
|
103580
103577
|
nextNamePath.push(name2);
|
103581
|
-
const
|
103578
|
+
const prevObsSetExpansion = obsSetExpansion || [];
|
103582
103579
|
function renameNode(node2, prevPath) {
|
103583
103580
|
if (isEqual$3([...prevPath, node2.name], targetPath)) {
|
103584
103581
|
return {
|
@@ -103594,64 +103591,64 @@ function ObsSetsManagerSubscriber(props) {
|
|
103594
103591
|
children: node2.children.map((c2) => renameNode(c2, [...prevPath, node2.name]))
|
103595
103592
|
};
|
103596
103593
|
}
|
103597
|
-
const
|
103598
|
-
...
|
103599
|
-
tree:
|
103594
|
+
const nextAdditionalObsSets = {
|
103595
|
+
...additionalObsSets,
|
103596
|
+
tree: additionalObsSets.tree.map((lzn) => renameNode(lzn, []))
|
103600
103597
|
};
|
103601
|
-
const
|
103598
|
+
const nextObsSetColor = obsSetColor.map((d) => ({
|
103602
103599
|
path: tryRenamePath(targetPath, d.path, nextNamePath),
|
103603
103600
|
color: d.color
|
103604
103601
|
}));
|
103605
|
-
const
|
103606
|
-
const
|
103607
|
-
|
103608
|
-
|
103609
|
-
|
103610
|
-
|
103602
|
+
const nextObsSetSelection = obsSetSelection.map((d) => tryRenamePath(targetPath, d, nextNamePath));
|
103603
|
+
const nextObsSetExpansion = prevObsSetExpansion.map((d) => tryRenamePath(targetPath, d, nextNamePath));
|
103604
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
103605
|
+
setObsSetColor(nextObsSetColor);
|
103606
|
+
setObsSetSelection(nextObsSetSelection);
|
103607
|
+
setObsSetExpansion(nextObsSetExpansion);
|
103611
103608
|
}, [
|
103612
|
-
|
103613
|
-
|
103614
|
-
|
103615
|
-
|
103616
|
-
|
103617
|
-
|
103618
|
-
|
103619
|
-
|
103609
|
+
additionalObsSets,
|
103610
|
+
obsSetColor,
|
103611
|
+
obsSetExpansion,
|
103612
|
+
obsSetSelection,
|
103613
|
+
setAdditionalObsSets,
|
103614
|
+
setObsSetColor,
|
103615
|
+
setObsSetSelection,
|
103616
|
+
setObsSetExpansion
|
103620
103617
|
]);
|
103621
103618
|
const onNodeCheckNewName = useCallback((targetPath, name2) => {
|
103622
103619
|
const nextNamePath = [...targetPath];
|
103623
103620
|
nextNamePath.pop();
|
103624
103621
|
nextNamePath.push(name2);
|
103625
|
-
const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(
|
103622
|
+
const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(additionalObsSets, nextNamePath);
|
103626
103623
|
return hasConflicts;
|
103627
|
-
}, [
|
103624
|
+
}, [additionalObsSets]);
|
103628
103625
|
const onNodeRemove = useCallback((targetPath) => {
|
103629
|
-
const
|
103630
|
-
const
|
103631
|
-
...
|
103632
|
-
tree:
|
103633
|
-
};
|
103634
|
-
const
|
103635
|
-
const
|
103636
|
-
const
|
103637
|
-
|
103638
|
-
|
103639
|
-
|
103640
|
-
|
103626
|
+
const prevObsSetExpansion = obsSetExpansion || [];
|
103627
|
+
const nextAdditionalObsSets = {
|
103628
|
+
...additionalObsSets,
|
103629
|
+
tree: additionalObsSets.tree.map((lzn) => filterNode(lzn, [], targetPath)).filter(Boolean)
|
103630
|
+
};
|
103631
|
+
const nextObsSetColor = obsSetColor.filter((d) => !isEqualOrPrefix(targetPath, d.path));
|
103632
|
+
const nextObsSetSelection = obsSetSelection.filter((d) => !isEqualOrPrefix(targetPath, d));
|
103633
|
+
const nextObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqualOrPrefix(targetPath, d));
|
103634
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
103635
|
+
setObsSetColor(nextObsSetColor);
|
103636
|
+
setObsSetSelection(nextObsSetSelection);
|
103637
|
+
setObsSetExpansion(nextObsSetExpansion);
|
103641
103638
|
}, [
|
103642
|
-
|
103643
|
-
|
103644
|
-
|
103645
|
-
|
103646
|
-
|
103647
|
-
|
103648
|
-
|
103649
|
-
|
103639
|
+
additionalObsSets,
|
103640
|
+
obsSetColor,
|
103641
|
+
obsSetExpansion,
|
103642
|
+
obsSetSelection,
|
103643
|
+
setAdditionalObsSets,
|
103644
|
+
setObsSetColor,
|
103645
|
+
setObsSetSelection,
|
103646
|
+
setObsSetExpansion
|
103650
103647
|
]);
|
103651
103648
|
const onNodeView = useCallback((targetPath) => {
|
103652
103649
|
const setsToView = [];
|
103653
103650
|
function viewNode(node2, nodePath) {
|
103654
|
-
if (
|
103651
|
+
if (obsSetExpansion == null ? void 0 : obsSetExpansion.find((expandedPath) => isEqual$3(nodePath, expandedPath))) {
|
103655
103652
|
if (node2.children) {
|
103656
103653
|
node2.children.forEach((c2) => {
|
103657
103654
|
viewNode(c2, [...nodePath, c2.name]);
|
@@ -103663,105 +103660,105 @@ function ObsSetsManagerSubscriber(props) {
|
|
103663
103660
|
setsToView.push(nodePath);
|
103664
103661
|
}
|
103665
103662
|
}
|
103666
|
-
const targetNode = treeFindNodeByNamePath(
|
103663
|
+
const targetNode = treeFindNodeByNamePath(mergedObsSets, targetPath);
|
103667
103664
|
viewNode(targetNode, targetPath);
|
103668
|
-
|
103669
|
-
|
103670
|
-
}, [
|
103665
|
+
setObsSetSelection(setsToView);
|
103666
|
+
setObsSetColorEncoding();
|
103667
|
+
}, [obsSetExpansion, mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
|
103671
103668
|
const onCreateLevelZeroNode = useCallback(() => {
|
103672
|
-
const nextName = getNextNumberedNodeName(
|
103673
|
-
|
103674
|
-
...
|
103669
|
+
const nextName = getNextNumberedNodeName(additionalObsSets == null ? void 0 : additionalObsSets.tree, "My hierarchy ", "");
|
103670
|
+
setAdditionalObsSets({
|
103671
|
+
...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
|
103675
103672
|
tree: [
|
103676
|
-
...
|
103673
|
+
...additionalObsSets ? additionalObsSets.tree : [],
|
103677
103674
|
{
|
103678
103675
|
name: nextName,
|
103679
103676
|
children: []
|
103680
103677
|
}
|
103681
103678
|
]
|
103682
103679
|
});
|
103683
|
-
}, [
|
103680
|
+
}, [additionalObsSets, setAdditionalObsSets]);
|
103684
103681
|
const onUnion = useCallback(() => {
|
103685
|
-
const newSet = treeToUnion(
|
103686
|
-
setObsSelection(newSet,
|
103682
|
+
const newSet = treeToUnion(mergedObsSets, obsSetSelection);
|
103683
|
+
setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Union ");
|
103687
103684
|
}, [
|
103688
|
-
|
103689
|
-
|
103690
|
-
|
103691
|
-
|
103692
|
-
|
103693
|
-
|
103694
|
-
|
103695
|
-
|
103685
|
+
additionalObsSets,
|
103686
|
+
obsSetColor,
|
103687
|
+
obsSetSelection,
|
103688
|
+
mergedObsSets,
|
103689
|
+
setAdditionalObsSets,
|
103690
|
+
setObsColorEncoding,
|
103691
|
+
setObsSetColor,
|
103692
|
+
setObsSetSelection
|
103696
103693
|
]);
|
103697
103694
|
const onIntersection = useCallback(() => {
|
103698
|
-
const newSet = treeToIntersection(
|
103699
|
-
setObsSelection(newSet,
|
103695
|
+
const newSet = treeToIntersection(mergedObsSets, obsSetSelection);
|
103696
|
+
setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Intersection ");
|
103700
103697
|
}, [
|
103701
|
-
|
103702
|
-
|
103703
|
-
|
103704
|
-
|
103705
|
-
|
103706
|
-
|
103707
|
-
|
103708
|
-
|
103698
|
+
additionalObsSets,
|
103699
|
+
obsSetColor,
|
103700
|
+
obsSetSelection,
|
103701
|
+
mergedObsSets,
|
103702
|
+
setAdditionalObsSets,
|
103703
|
+
setObsColorEncoding,
|
103704
|
+
setObsSetColor,
|
103705
|
+
setObsSetSelection
|
103709
103706
|
]);
|
103710
103707
|
const onComplement = useCallback(() => {
|
103711
|
-
const newSet = treeToComplement(
|
103712
|
-
setObsSelection(newSet,
|
103708
|
+
const newSet = treeToComplement(mergedObsSets, obsSetSelection, allCellIds);
|
103709
|
+
setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Complement ");
|
103713
103710
|
}, [
|
103714
|
-
|
103711
|
+
additionalObsSets,
|
103715
103712
|
allCellIds,
|
103716
|
-
|
103717
|
-
|
103718
|
-
|
103719
|
-
|
103720
|
-
|
103721
|
-
|
103722
|
-
|
103713
|
+
obsSetColor,
|
103714
|
+
obsSetSelection,
|
103715
|
+
mergedObsSets,
|
103716
|
+
setAdditionalObsSets,
|
103717
|
+
setObsColorEncoding,
|
103718
|
+
setObsSetColor,
|
103719
|
+
setObsSetSelection
|
103723
103720
|
]);
|
103724
103721
|
const onImportTree = useCallback((treeToImport) => {
|
103725
|
-
const hasConflict = treesConflict(
|
103722
|
+
const hasConflict = treesConflict(mergedObsSets, treeToImport);
|
103726
103723
|
if (!hasConflict) {
|
103727
|
-
|
103728
|
-
...
|
103724
|
+
setAdditionalObsSets({
|
103725
|
+
...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
|
103729
103726
|
tree: [
|
103730
|
-
...
|
103727
|
+
...additionalObsSets ? additionalObsSets.tree : [],
|
103731
103728
|
...treeToImport.tree
|
103732
103729
|
]
|
103733
103730
|
});
|
103734
|
-
const importAutoSetColors = initializeCellSetColor(treeToImport,
|
103735
|
-
|
103736
|
-
...
|
103731
|
+
const importAutoSetColors = initializeCellSetColor(treeToImport, obsSetColor);
|
103732
|
+
setObsSetColor([
|
103733
|
+
...obsSetColor,
|
103737
103734
|
...importAutoSetColors
|
103738
103735
|
]);
|
103739
103736
|
}
|
103740
103737
|
}, [
|
103741
|
-
|
103742
|
-
|
103743
|
-
|
103744
|
-
|
103745
|
-
|
103738
|
+
additionalObsSets,
|
103739
|
+
obsSetColor,
|
103740
|
+
mergedObsSets,
|
103741
|
+
setAdditionalObsSets,
|
103742
|
+
setObsSetColor
|
103746
103743
|
]);
|
103747
103744
|
const onExportLevelZeroNodeJSON = useCallback((nodePath) => {
|
103748
|
-
const { treeToExport, nodeName } = treeExportLevelZeroNode(
|
103745
|
+
const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedObsSets, nodePath, SETS_DATATYPE_OBS, obsSetColor, theme);
|
103749
103746
|
downloadForUser(handleExportJSON(treeToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-hierarchy.${FILE_EXTENSION_JSON}`);
|
103750
|
-
}, [
|
103747
|
+
}, [obsSetColor, mergedObsSets, theme]);
|
103751
103748
|
const onExportLevelZeroNodeTabular = useCallback((nodePath) => {
|
103752
|
-
const { treeToExport, nodeName } = treeExportLevelZeroNode(
|
103749
|
+
const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedObsSets, nodePath, SETS_DATATYPE_OBS, obsSetColor, theme);
|
103753
103750
|
downloadForUser(handleExportTabular(treeToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-hierarchy.${FILE_EXTENSION_TABULAR}`);
|
103754
|
-
}, [
|
103751
|
+
}, [obsSetColor, mergedObsSets, theme]);
|
103755
103752
|
const onExportSetJSON = useCallback((nodePath) => {
|
103756
|
-
const { setToExport, nodeName } = treeExportSet(
|
103753
|
+
const { setToExport, nodeName } = treeExportSet(mergedObsSets, nodePath);
|
103757
103754
|
downloadForUser(handleExportJSON(setToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-set.${FILE_EXTENSION_JSON}`);
|
103758
|
-
}, [
|
103759
|
-
const manager2 = useMemo$1(() => jsxRuntimeExports.jsx(SetsManager, { setColor:
|
103760
|
-
|
103761
|
-
|
103762
|
-
|
103763
|
-
|
103764
|
-
|
103755
|
+
}, [mergedObsSets]);
|
103756
|
+
const manager2 = useMemo$1(() => jsxRuntimeExports.jsx(SetsManager, { setColor: obsSetColor, sets: cellSets, additionalSets: additionalObsSets, levelSelection: checkedLevel, setSelection: obsSetSelection, setExpansion: obsSetExpansion, hasColorEncoding: obsColorEncoding === "cellSetSelection", draggable: true, datatype: SETS_DATATYPE_OBS, onError: setWarning, onCheckNode, onExpandNode, onDropNode, onCheckLevel, onNodeSetColor, onNodeSetName, onNodeCheckNewName, onNodeRemove, onNodeView, onImportTree, onCreateLevelZeroNode, onExportLevelZeroNodeJSON, onExportLevelZeroNodeTabular, onExportSetJSON, onUnion, onIntersection, onComplement, hasCheckedSetsToUnion: (obsSetSelection == null ? void 0 : obsSetSelection.length) > 1, hasCheckedSetsToIntersect: (obsSetSelection == null ? void 0 : obsSetSelection.length) > 1, hasCheckedSetsToComplement: (obsSetSelection == null ? void 0 : obsSetSelection.length) > 0, theme }), [
|
103757
|
+
additionalObsSets,
|
103758
|
+
obsColorEncoding,
|
103759
|
+
obsSetColor,
|
103760
|
+
obsSetExpansion,
|
103761
|
+
obsSetSelection,
|
103765
103762
|
cellSets,
|
103766
103763
|
checkedLevel,
|
103767
103764
|
onCheckLevel,
|
@@ -209686,22 +209683,22 @@ async function getDecoder(fileDirectory) {
|
|
209686
209683
|
const Decoder = await importFn();
|
209687
209684
|
return new Decoder(fileDirectory);
|
209688
209685
|
}
|
209689
|
-
addDecoder([void 0, 1], () => import("./raw-
|
209690
|
-
addDecoder(5, () => import("./lzw-
|
209686
|
+
addDecoder([void 0, 1], () => import("./raw-Dcut_m0H.js").then((m2) => m2.default));
|
209687
|
+
addDecoder(5, () => import("./lzw-BSD1S9eX.js").then((m2) => m2.default));
|
209691
209688
|
addDecoder(6, () => {
|
209692
209689
|
throw new Error("old style JPEG compression is not supported.");
|
209693
209690
|
});
|
209694
|
-
addDecoder(7, () => import("./jpeg-
|
209695
|
-
addDecoder([8, 32946], () => import("./deflate-
|
209696
|
-
addDecoder(32773, () => import("./packbits-
|
209691
|
+
addDecoder(7, () => import("./jpeg-CP3IBASq.js").then((m2) => m2.default));
|
209692
|
+
addDecoder([8, 32946], () => import("./deflate-D4WUbeKy.js").then((m2) => m2.default));
|
209693
|
+
addDecoder(32773, () => import("./packbits-BjpOk8Mk.js").then((m2) => m2.default));
|
209697
209694
|
addDecoder(
|
209698
209695
|
34887,
|
209699
|
-
() => import("./lerc-
|
209696
|
+
() => import("./lerc-BAp1E_M5.js").then(async (m2) => {
|
209700
209697
|
await m2.zstd.init();
|
209701
209698
|
return m2;
|
209702
209699
|
}).then((m2) => m2.default)
|
209703
209700
|
);
|
209704
|
-
addDecoder(50001, () => import("./webimage-
|
209701
|
+
addDecoder(50001, () => import("./webimage-CmDy5gE2.js").then((m2) => m2.default));
|
209705
209702
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
209706
209703
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
209707
209704
|
}
|
@@ -232047,7 +232044,7 @@ const DEFAULT_FEATURE_AGGREGATION_STRATEGY$1 = "first";
|
|
232047
232044
|
function EmbeddingScatterplotSubscriber(props) {
|
232048
232045
|
const {
|
232049
232046
|
uuid: uuid2,
|
232050
|
-
coordinationScopes,
|
232047
|
+
coordinationScopes: coordinationScopesRaw,
|
232051
232048
|
closeButtonVisible,
|
232052
232049
|
downloadButtonVisible,
|
232053
232050
|
removeGridComponent,
|
@@ -232061,6 +232058,7 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
232061
232058
|
sampleSetSelection: sampleSetSelectionFromProps
|
232062
232059
|
} = props;
|
232063
232060
|
const loaders = useLoaders();
|
232061
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
232064
232062
|
const setComponentHover = useSetComponentHover();
|
232065
232063
|
const setComponentViewInfo = useSetComponentViewInfo(uuid2);
|
232066
232064
|
const [{ dataset, obsType, featureType, featureValueType, sampleType, embeddingZoom: zoom2, embeddingTargetX: targetX2, embeddingTargetY: targetY2, embeddingTargetZ: targetZ, embeddingType: mapping, obsFilter: cellFilter, obsHighlight: cellHighlight, featureSelection: geneSelection, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, embeddingObsSetPolygonsVisible: cellSetPolygonsVisible, embeddingObsSetLabelsVisible: cellSetLabelsVisible, embeddingObsSetLabelSize: cellSetLabelSize, embeddingObsRadius: cellRadiusFixed, embeddingObsRadiusMode: cellRadiusMode, embeddingObsOpacity: cellOpacityFixed, embeddingObsOpacityMode: cellOpacityMode, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, tooltipsVisible, sampleSetSelection: sampleSetSelectionFromCoordination, sampleSetColor, embeddingPointsVisible, embeddingContoursVisible, embeddingContoursFilled, embeddingContourPercentiles: contourPercentiles, contourColorEncoding, contourColor, featureAggregationStrategy }, { setEmbeddingZoom: setZoom, setEmbeddingTargetX: setTargetX, setEmbeddingTargetY: setTargetY, setEmbeddingTargetZ: setTargetZ, setObsFilter: setCellFilter, setObsSetSelection: setCellSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setEmbeddingObsSetPolygonsVisible: setCellSetPolygonsVisible, setEmbeddingObsSetLabelsVisible: setCellSetLabelsVisible, setEmbeddingObsSetLabelSize: setCellSetLabelSize, setEmbeddingObsRadius: setCellRadiusFixed, setEmbeddingObsRadiusMode: setCellRadiusMode, setEmbeddingObsOpacity: setCellOpacityFixed, setEmbeddingObsOpacityMode: setCellOpacityMode, setFeatureValueColormap: setGeneExpressionColormap, setFeatureValueColormapRange: setGeneExpressionColormapRange, setTooltipsVisible, setEmbeddingPointsVisible, setEmbeddingContoursVisible, setEmbeddingContoursFilled, setEmbeddingContourPercentiles: setContourPercentiles, setContourColorEncoding, setFeatureAggregationStrategy }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.SCATTERPLOT], coordinationScopes);
|
@@ -232409,7 +232407,8 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
232409
232407
|
}
|
232410
232408
|
function DualEmbeddingScatterplotSubscriber(props) {
|
232411
232409
|
var _a3, _b3;
|
232412
|
-
const { uuid: uuid2, coordinationScopes } = props;
|
232410
|
+
const { uuid: uuid2, coordinationScopes: coordinationScopesRaw } = props;
|
232411
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
232413
232412
|
const [{ embeddingType, sampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DUAL_SCATTERPLOT], coordinationScopes);
|
232414
232413
|
const isCaseCtrl = Array.isArray(sampleSetSelection) && sampleSetSelection.length === 2;
|
232415
232414
|
const caseSampleSetSelection = useMemo$1(() => (sampleSetSelection == null ? void 0 : sampleSetSelection[0]) ? [sampleSetSelection[0]] : null, [sampleSetSelection]);
|
@@ -232458,7 +232457,7 @@ function GatingScatterplotOptions(props) {
|
|
232458
232457
|
function GatingSubscriber(props) {
|
232459
232458
|
const {
|
232460
232459
|
uuid: uuid2,
|
232461
|
-
coordinationScopes,
|
232460
|
+
coordinationScopes: coordinationScopesRaw,
|
232462
232461
|
closeButtonVisible,
|
232463
232462
|
downloadButtonVisible,
|
232464
232463
|
removeGridComponent,
|
@@ -232470,6 +232469,7 @@ function GatingSubscriber(props) {
|
|
232470
232469
|
helpText = ViewHelpMapping.GATING
|
232471
232470
|
} = props;
|
232472
232471
|
const loaders = useLoaders();
|
232472
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
232473
232473
|
const setComponentHover = useSetComponentHover();
|
232474
232474
|
const setComponentViewInfo = useSetComponentViewInfo(uuid2);
|
232475
232475
|
const [{ dataset, obsType, featureType, featureValueType, embeddingZoom: zoom2, embeddingTargetX: targetX2, embeddingTargetY: targetY2, embeddingTargetZ: targetZ, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, embeddingObsSetPolygonsVisible: cellSetPolygonsVisible, embeddingObsSetLabelsVisible: cellSetLabelsVisible, embeddingObsSetLabelSize: cellSetLabelSize, embeddingObsRadius: cellRadiusFixed, embeddingObsRadiusMode: cellRadiusMode, embeddingObsOpacity: cellOpacityFixed, embeddingObsOpacityMode: cellOpacityMode, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, featureSelection: gatingFeatureSelectionColor, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY }, { setEmbeddingZoom: setZoom, setEmbeddingTargetX: setTargetX, setEmbeddingTargetY: setTargetY, setEmbeddingTargetZ: setTargetZ, setObsFilter: setCellFilter, setObsSetSelection: setCellSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setEmbeddingObsSetPolygonsVisible: setCellSetPolygonsVisible, setEmbeddingObsSetLabelsVisible: setCellSetLabelsVisible, setEmbeddingObsSetLabelSize: setCellSetLabelSize, setEmbeddingObsRadius: setCellRadiusFixed, setEmbeddingObsRadiusMode: setCellRadiusMode, setEmbeddingObsOpacity: setCellOpacityFixed, setEmbeddingObsOpacityMode: setCellOpacityMode, setFeatureValueColormap: setGeneExpressionColormap, setFeatureValueColormapRange: setGeneExpressionColormapRange, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.GATING], coordinationScopes);
|
@@ -253596,7 +253596,7 @@ class ErrorBoundary extends React__default.Component {
|
|
253596
253596
|
}
|
253597
253597
|
}
|
253598
253598
|
const LazySpatialThree = React__default.lazy(async () => {
|
253599
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
253599
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DTVSAAC6.js");
|
253600
253600
|
return { default: SpatialWrapper2 };
|
253601
253601
|
});
|
253602
253602
|
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 }) }) }) }));
|
@@ -255100,8 +255100,9 @@ function HeatmapOptions(props) {
|
|
255100
255100
|
}, value: geneExpressionColormapRange, onChange: handleColormapRangeChangeDebounced, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider", id: `heatmap-gene-expression-colormap-range-${heatmapOptionsId}`, valueLabelDisplay: "auto", step: 5e-3, min: 0, max: 1 }) })] })] });
|
255101
255101
|
}
|
255102
255102
|
function HeatmapSubscriber(props) {
|
255103
|
-
const { uuid: uuid2, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap", helpText = ViewHelpMapping.HEATMAP } = props;
|
255103
|
+
const { uuid: uuid2, coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap", helpText = ViewHelpMapping.HEATMAP } = props;
|
255104
255104
|
const loaders = useLoaders();
|
255105
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
255105
255106
|
const setComponentHover = useSetComponentHover();
|
255106
255107
|
const setComponentViewInfo = useSetComponentViewInfo(uuid2);
|
255107
255108
|
const [{ dataset, obsType, featureType, featureValueType, heatmapZoomX: zoomX, heatmapTargetX: targetX2, heatmapTargetY: targetY2, featureSelection: geneSelection, obsHighlight: cellHighlight, featureHighlight: geneHighlight, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, tooltipsVisible }, { setHeatmapZoomX: setZoomX, setHeatmapZoomY: setZoomY, setHeatmapTargetX: setTargetX, setHeatmapTargetY: setTargetY, setObsHighlight: setCellHighlight, setFeatureSelection: setGeneSelection, setObsColorEncoding: setCellColorEncoding, setFeatureHighlight: setGeneHighlight, setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor, setFeatureValueColormapRange: setGeneExpressionColormapRange, setFeatureValueColormap: setGeneExpressionColormap, setTooltipsVisible }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.HEATMAP], coordinationScopes);
|
@@ -261916,7 +261917,7 @@ function FeatureList(props) {
|
|
261916
261917
|
[primaryColumnName]
|
261917
261918
|
];
|
261918
261919
|
}, [showFeatureTable, primaryColumnName, hasFeatureLabels]);
|
261919
|
-
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("input", { className: classes2.searchBar, type: "text", placeholder: "Search", value: searchTerm, onChange: handleChange }), jsxRuntimeExports.jsx(SelectableTable, { columns: columns2, columnLabels, data: data2, hasColorEncoding, idKey: "key", valueKey: "value", onChange, allowMultiple: enableMultiSelect, allowUncheck: enableMultiSelect, showTableHead: columnLabels.length > 1, width: width2, height: height2 - 34 })] });
|
261920
|
+
return width2 > 0 && height2 > 0 ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("input", { className: classes2.searchBar, type: "text", placeholder: "Search", value: searchTerm, onChange: handleChange }), jsxRuntimeExports.jsx(SelectableTable, { columns: columns2, columnLabels, data: data2, hasColorEncoding, idKey: "key", valueKey: "value", onChange, allowMultiple: enableMultiSelect, allowUncheck: enableMultiSelect, showTableHead: columnLabels.length > 1, width: width2, height: height2 - 34 })] }) : null;
|
261920
261921
|
}
|
261921
261922
|
function FeatureListOptions(props) {
|
261922
261923
|
const { children: children3, featureListSort, setFeatureListSort, featureListSortKey, setFeatureListSortKey, showFeatureTable, setShowFeatureTable, hasFeatureLabels, primaryColumnName } = props;
|
@@ -261952,8 +261953,9 @@ const useStyles$k = makeStyles()((theme) => ({
|
|
261952
261953
|
}
|
261953
261954
|
}));
|
261954
261955
|
function FeatureListSubscriber(props) {
|
261955
|
-
const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null, closeButtonVisible, downloadButtonVisible, helpText = ViewHelpMapping.FEATURE_LIST } = props;
|
261956
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null, closeButtonVisible, downloadButtonVisible, helpText = ViewHelpMapping.FEATURE_LIST } = props;
|
261956
261957
|
const loaders = useLoaders();
|
261958
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
261957
261959
|
const [width2, height2, containerRef] = useGridItemSize();
|
261958
261960
|
const { classes: classes2 } = useStyles$k();
|
261959
261961
|
const [{ dataset, obsType, featureType, featureSelection: geneSelection, featureFilter: geneFilter, obsColorEncoding: cellColorEncoding }, { setFeatureSelection: setGeneSelection, setFeatureFilter: setGeneFilter, setFeatureHighlight: setGeneHighlight, setObsColorEncoding: setCellColorEncoding }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_LIST], coordinationScopes);
|
@@ -265186,7 +265188,8 @@ function Status(props) {
|
|
265186
265188
|
return messages2;
|
265187
265189
|
}
|
265188
265190
|
function StatusSubscriber(props) {
|
265189
|
-
const { coordinationScopes, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status", helpText = ViewHelpMapping.STATUS } = props;
|
265191
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status", helpText = ViewHelpMapping.STATUS } = props;
|
265192
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
265190
265193
|
const [{ obsHighlight: cellHighlight, featureHighlight: geneHighlight, moleculeHighlight }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.STATUS], coordinationScopes);
|
265191
265194
|
const warn2 = useWarning();
|
265192
265195
|
const infos = [
|
@@ -266990,7 +266993,7 @@ function HiglassGlobalStyles(props) {
|
|
266990
266993
|
}
|
266991
266994
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
266992
266995
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
266993
|
-
const { HiGlassComponent } = await import("./higlass-
|
266996
|
+
const { HiGlassComponent } = await import("./higlass-B5A5XLB4.js");
|
266994
266997
|
return { default: HiGlassComponent };
|
266995
266998
|
});
|
266996
266999
|
const HG_SIZE = 800;
|
@@ -266998,7 +267001,8 @@ function setStoreRootForHiGlass(url, storeRoot) {
|
|
266998
267001
|
ZarrMultivecDataFetcher_default.urlToStoreRoot[url] = storeRoot;
|
266999
267002
|
}
|
267000
267003
|
function HiGlassLazy(props) {
|
267001
|
-
const { coordinationScopes, theme, hgViewConfig: hgViewConfigProp, hgOptions: hgOptionsProp, genomeSize = 31e8, height: height2 } = props;
|
267004
|
+
const { coordinationScopes: coordinationScopesRaw, theme, hgViewConfig: hgViewConfigProp, hgOptions: hgOptionsProp, genomeSize = 31e8, height: height2 } = props;
|
267005
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
267002
267006
|
const [{ genomicZoomX, genomicZoomY, genomicTargetX, genomicTargetY }, { setGenomicZoomX, setGenomicZoomY, setGenomicTargetX, setGenomicTargetY }] = useCoordination(COMPONENT_COORDINATION_TYPES.higlass, coordinationScopes);
|
267003
267007
|
const [width2, computedHeight, containerRef] = useGridItemSize();
|
267004
267008
|
const [hgInstance, setHgInstance] = useState();
|
@@ -267156,9 +267160,10 @@ const REFERENCE_STATIC_FILES = {
|
|
267156
267160
|
}
|
267157
267161
|
};
|
267158
267162
|
function GenomicProfilesSubscriber(props) {
|
267159
|
-
const { coordinationScopes, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, profileTrackUidKey = "path", profileTrackNameKey = null, higlassServer = "https://higlass.io/api/v1", assembly = "hg38", title: title2 = "Genomic Profiles", showGeneAnnotations = true, helpText = ViewHelpMapping.GENOMIC_PROFILES } = props;
|
267163
|
+
const { coordinationScopes: coordinationScopesRaw, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, profileTrackUidKey = "path", profileTrackNameKey = null, higlassServer = "https://higlass.io/api/v1", assembly = "hg38", title: title2 = "Genomic Profiles", showGeneAnnotations = true, helpText = ViewHelpMapping.GENOMIC_PROFILES } = props;
|
267160
267164
|
const [width2, height2, containerRef] = useGridItemSize();
|
267161
267165
|
const loaders = useLoaders();
|
267166
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
267162
267167
|
const [{ dataset, obsSetColor: cellSetColor, obsSetSelection: cellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.GENOMIC_PROFILES], coordinationScopes);
|
267163
267168
|
const [genomicProfilesData, genomicProfilesStatus, genomicProfilesUrls, genomicProfilesError] = useGenomicProfilesData(loaders, dataset, true, {}, {}, {});
|
267164
267169
|
const errors = [
|
@@ -269934,7 +269939,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
269934
269939
|
const { classes: classes2 } = props;
|
269935
269940
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
269936
269941
|
}
|
269937
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
269942
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BEVcmeJW.js"));
|
269938
269943
|
function createWorker() {
|
269939
269944
|
return new WorkerFactory();
|
269940
269945
|
}
|
@@ -270059,7 +270064,9 @@ function normalizeQuaternion(q) {
|
|
270059
270064
|
return q.map((value2) => value2 / length2);
|
270060
270065
|
}
|
270061
270066
|
function NeuroglancerSubscriber(props) {
|
270062
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Neuroglancer", helpText = ViewHelpMapping.NEUROGLANCER, viewerState: initialViewerState } = props;
|
270067
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Neuroglancer", helpText = ViewHelpMapping.NEUROGLANCER, viewerState: initialViewerState } = props;
|
270068
|
+
const loaders = useLoaders();
|
270069
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
270063
270070
|
const [{
|
270064
270071
|
dataset,
|
270065
270072
|
obsType,
|
@@ -270090,7 +270097,6 @@ function NeuroglancerSubscriber(props) {
|
|
270090
270097
|
setSpatialZoom: setZoom
|
270091
270098
|
}] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.NEUROGLANCER], coordinationScopes);
|
270092
270099
|
const { classes: classes2 } = useStyles$4();
|
270093
|
-
const loaders = useLoaders();
|
270094
270100
|
const [{ obsSets: cellSets }] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { cellSetSelection, obsSetColor: cellSetColor }, { obsType });
|
270095
270101
|
const [{ obsIndex }] = useObsEmbeddingData(loaders, dataset, true, {}, {}, { obsType, embeddingType: mapping });
|
270096
270102
|
const handleStateUpdate = useCallback((newState) => {
|
@@ -272487,9 +272493,10 @@ function useExpressionByCellSet(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
272487
272493
|
}
|
272488
272494
|
function CellSetExpressionPlotSubscriber(props) {
|
272489
272495
|
var _a3;
|
272490
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2, xAxisTitle, jitter: jitter2 = false, yMin = null, yUnits = null, helpText = ViewHelpMapping.OBS_SET_FEATURE_VALUE_DISTRIBUTION } = props;
|
272496
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2, xAxisTitle, jitter: jitter2 = false, yMin = null, yUnits = null, helpText = ViewHelpMapping.OBS_SET_FEATURE_VALUE_DISTRIBUTION } = props;
|
272491
272497
|
const { classes: classes2 } = useStyles$3();
|
272492
272498
|
const loaders = useLoaders();
|
272499
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
272493
272500
|
const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, featureValueTransform, featureValueTransformCoefficient, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, sampleType, sampleSetSelection, sampleSetColor, featureAggregationStrategy }, { setFeatureValueTransform, setFeatureValueTransformCoefficient, setSampleSetColor, setFeatureAggregationStrategy }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_FEATURE_VALUE_DISTRIBUTION], coordinationScopes);
|
272494
272501
|
const [width2, height2, containerRef] = useGridItemSize();
|
272495
272502
|
const transformOptions = VALUE_TRANSFORM_OPTIONS;
|
@@ -323252,9 +323259,10 @@ function CellSetSizesPlot(props) {
|
|
323252
323259
|
return jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, signalListeners, getTooltipText });
|
323253
323260
|
}
|
323254
323261
|
function CellSetSizesPlotSubscriber(props) {
|
323255
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SET_SIZES } = props;
|
323262
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SET_SIZES } = props;
|
323256
323263
|
const { classes: classes2 } = useStyles$3();
|
323257
323264
|
const loaders = useLoaders();
|
323265
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
323258
323266
|
const [{ dataset, obsType, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, obsSetExpansion: cellSetExpansion }, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_SIZES], coordinationScopes);
|
323259
323267
|
const title2 = titleOverride || `${capitalize$3(obsType)} Set Sizes`;
|
323260
323268
|
const [width2, height2, containerRef] = useGridItemSize();
|
@@ -323361,9 +323369,10 @@ function ExpressionHistogram(props) {
|
|
323361
323369
|
return jsxRuntimeExports.jsx(VegaPlot, { data: data2, signalListeners, spec });
|
323362
323370
|
}
|
323363
323371
|
function ExpressionHistogramSubscriber(props) {
|
323364
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_VALUE_HISTOGRAM } = props;
|
323372
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_VALUE_HISTOGRAM } = props;
|
323365
323373
|
const { classes: classes2 } = useStyles$3();
|
323366
323374
|
const loaders = useLoaders();
|
323375
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
323367
323376
|
const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, additionalObsSets: additionalCellSets, obsSetColor: cellSetColor }, { setAdditionalObsSets: setAdditionalCellSets, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setObsSetSelection: setCellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_VALUE_HISTOGRAM], coordinationScopes);
|
323368
323377
|
const [width2, height2, containerRef] = useGridItemSize();
|
323369
323378
|
const [{ obsIndex, featureIndex, obsFeatureMatrix }, matrixStatus, matrixUrls, matrixError] = useObsFeatureMatrixData(loaders, dataset, true, {}, {}, { obsType, featureType, featureValueType });
|
@@ -323628,9 +323637,10 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
323628
323637
|
}
|
323629
323638
|
function DotPlotSubscriber(props) {
|
323630
323639
|
var _a3;
|
323631
|
-
const { coordinationScopes, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
|
323640
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
|
323632
323641
|
const { classes: classes2 } = useStyles$3();
|
323633
323642
|
const loaders = useLoaders();
|
323643
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
323634
323644
|
const [{
|
323635
323645
|
dataset,
|
323636
323646
|
obsType,
|
@@ -323807,9 +323817,10 @@ function FeatureBarPlot(props) {
|
|
323807
323817
|
} });
|
323808
323818
|
}
|
323809
323819
|
function FeatureBarPlotSubscriber(props) {
|
323810
|
-
const { coordinationScopes, removeGridComponent, theme, yMin = 0, yUnits = null, helpText = ViewHelpMapping.FEATURE_BAR_PLOT } = props;
|
323820
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, yMin = 0, yUnits = null, helpText = ViewHelpMapping.FEATURE_BAR_PLOT } = props;
|
323811
323821
|
const { classes: classes2 } = useStyles$3();
|
323812
323822
|
const loaders = useLoaders();
|
323823
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
323813
323824
|
const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, featureValueTransform, featureValueTransformCoefficient, obsHighlight: cellHighlight, additionalObsSets: additionalCellSets, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor }, { setObsSetSelection: setCellSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_BAR_PLOT], coordinationScopes);
|
323814
323825
|
const [width2, height2, containerRef] = useGridItemSize();
|
323815
323826
|
const [
|
@@ -324019,9 +324030,10 @@ function TreemapOptions(props) {
|
|
324019
324030
|
}
|
324020
324031
|
const DEFAULT_HIERARCHY_LEVELS = ["obsSet", "sampleSet"];
|
324021
324032
|
function TreemapSubscriber(props) {
|
324022
|
-
const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
|
324033
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
|
324023
324034
|
const { classes: classes2 } = useStyles$3();
|
324024
324035
|
const loaders = useLoaders();
|
324036
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
324025
324037
|
const [{ dataset, obsType, featureType, featureValueType, obsFilter, obsHighlight, obsSetSelection, obsSetFilter, obsSelection, obsSelectionMode, obsSetHighlight, obsSetColor, obsColorEncoding, additionalObsSets, sampleType, sampleSetSelection, sampleSetFilter, sampleSetColor, sampleSelection, sampleSelectionMode, sampleFilter, sampleFilterMode, sampleHighlight, hierarchyLevels }, { setObsFilter, setObsSelection: setObsSelection2, setObsSetFilter, setObsSetSelection, setObsSelectionMode, setObsFilterMode, setObsHighlight, setObsSetColor, setObsColorEncoding, setAdditionalObsSets, setSampleFilter, setSampleSetFilter, setSampleFilterMode, setSampleSelection, setSampleSetSelection, setSampleSelectionMode, setSampleHighlight, setSampleSetColor, setHierarchyLevels }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.TREEMAP], coordinationScopes);
|
324026
324038
|
const [width2, height2, containerRef] = useGridItemSize();
|
324027
324039
|
const [{ obsIndex }, matrixIndicesStatus, matrixIndicesUrls, matrixIndicesError] = useObsFeatureMatrixIndices(loaders, dataset, false, { obsType, featureType, featureValueType });
|
@@ -324267,9 +324279,10 @@ function VolcanoPlotOptions(props) {
|
|
324267
324279
|
}, value: featurePointFoldChangeThreshold, onChange: handlePointFoldChangeChange, "aria-label": "Volcano plot point fold-change threshold slider", id: `volcano-point-fc-${volcanoOptionsId}`, valueLabelDisplay: "auto", step: 0.5, min: 0, max: 50 }) })] })] });
|
324268
324280
|
}
|
324269
324281
|
function VolcanoPlotSubscriber(props) {
|
324270
|
-
const { title: title2 = "Volcano Plot", coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.VOLCANO_PLOT } = props;
|
324282
|
+
const { title: title2 = "Volcano Plot", coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.VOLCANO_PLOT } = props;
|
324271
324283
|
const { classes: classes2 } = useStyles$3();
|
324272
324284
|
const loaders = useLoaders();
|
324285
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
324273
324286
|
const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureLabelSignificanceThreshold, featureLabelFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureLabelSignificanceThreshold, setFeatureLabelFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.VOLCANO_PLOT], coordinationScopes);
|
324274
324287
|
const [width2, height2, containerRef] = useGridItemSize();
|
324275
324288
|
const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.OBS_SETS, { obsType });
|
@@ -324474,9 +324487,10 @@ function CellSetCompositionBarPlot(props) {
|
|
324474
324487
|
return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
|
324475
324488
|
}
|
324476
324489
|
function CellSetCompositionBarPlotSubscriber(props) {
|
324477
|
-
const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.OBS_SET_COMPOSITION_BAR_PLOT } = props;
|
324490
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.OBS_SET_COMPOSITION_BAR_PLOT } = props;
|
324478
324491
|
const { classes: classes2 } = useStyles$3();
|
324479
324492
|
const loaders = useLoaders();
|
324493
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
324480
324494
|
const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureLabelSignificanceThreshold, featureLabelFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureLabelSignificanceThreshold, setFeatureLabelFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_COMPOSITION_BAR_PLOT], coordinationScopes);
|
324481
324495
|
const [width2, height2, containerRef] = useGridItemSize();
|
324482
324496
|
const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.OBS_SETS, { obsType });
|
@@ -324658,9 +324672,10 @@ function FeatureSetEnrichmentBarPlot(props) {
|
|
324658
324672
|
return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
|
324659
324673
|
}
|
324660
324674
|
function FeatureSetEnrichmentBarPlotSubscriber(props) {
|
324661
|
-
const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_SET_ENRICHMENT_BAR_PLOT } = props;
|
324675
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_SET_ENRICHMENT_BAR_PLOT } = props;
|
324662
324676
|
const { classes: classes2 } = useStyles$3();
|
324663
324677
|
const loaders = useLoaders();
|
324678
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
324664
324679
|
const transformFeature2 = useAsyncFunction(AsyncFunctionType.TRANSFORM_FEATURE);
|
324665
324680
|
const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureLabelSignificanceThreshold, featureLabelFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureLabelSignificanceThreshold, setFeatureLabelFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_SET_ENRICHMENT_BAR_PLOT], coordinationScopes);
|
324666
324681
|
const [width2, height2, containerRef] = useGridItemSize();
|
@@ -324789,8 +324804,9 @@ function FeatureStatsTable(props) {
|
|
324789
324804
|
});
|
324790
324805
|
}
|
324791
324806
|
function FeatureStatsTableSubscriber(props) {
|
324792
|
-
const { title: title2 = "Differential Expression Results", coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_STATS_TABLE } = props;
|
324807
|
+
const { title: title2 = "Differential Expression Results", coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_STATS_TABLE } = props;
|
324793
324808
|
const loaders = useLoaders();
|
324809
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
324794
324810
|
const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_STATS_TABLE], coordinationScopes);
|
324795
324811
|
const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.OBS_SETS, { obsType });
|
324796
324812
|
const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.SAMPLE_SETS, { sampleType });
|
@@ -328201,23 +328217,41 @@ class SpatialDataObsSegmentationsLoader extends AbstractTwoStepLoader {
|
|
328201
328217
|
return null;
|
328202
328218
|
}
|
328203
328219
|
async load() {
|
328220
|
+
var _a3;
|
328204
328221
|
const [obsIndex, obsSegmentations] = await Promise.all([
|
328205
328222
|
this.loadObsIndex(),
|
328206
328223
|
this.loadPolygons()
|
328207
328224
|
]);
|
328225
|
+
const channelCoordination = [{
|
328226
|
+
// obsType: null,
|
328227
|
+
spatialChannelColor: [255, 255, 255],
|
328228
|
+
spatialChannelVisible: true,
|
328229
|
+
spatialChannelOpacity: 1,
|
328230
|
+
spatialChannelWindow: null,
|
328231
|
+
// featureType: 'feature',
|
328232
|
+
// featureValueType: 'value',
|
328233
|
+
obsColorEncoding: "spatialChannelColor",
|
328234
|
+
spatialSegmentationFilled: true,
|
328235
|
+
spatialSegmentationStrokeWidth: 1,
|
328236
|
+
obsHighlight: null
|
328237
|
+
}];
|
328208
328238
|
const coordinationValues = {
|
328209
|
-
segmentationLayer: CL(
|
328210
|
-
|
328211
|
-
|
328212
|
-
|
328213
|
-
|
328214
|
-
|
328215
|
-
|
328216
|
-
|
328217
|
-
|
328218
|
-
|
328219
|
-
|
328220
|
-
|
328239
|
+
segmentationLayer: CL([
|
328240
|
+
{
|
328241
|
+
// TODO: more coordination values here?
|
328242
|
+
// obsColorEncoding: 'spatialLayerColor',
|
328243
|
+
// spatialLayerColor: [255, 255, 255],
|
328244
|
+
fileUid: ((_a3 = this.coordinationValues) == null ? void 0 : _a3.fileUid) || null,
|
328245
|
+
spatialLayerVisible: true,
|
328246
|
+
spatialLayerOpacity: 1,
|
328247
|
+
segmentationChannel: CL(channelCoordination)
|
328248
|
+
// featureValueColormapRange: [0, 1],
|
328249
|
+
// obsHighlight: null,
|
328250
|
+
// obsSetColor: null,
|
328251
|
+
// obsSetSelection: null,
|
328252
|
+
// additionalObsSets: null,
|
328253
|
+
}
|
328254
|
+
])
|
328221
328255
|
};
|
328222
328256
|
return new LoaderResult({ obsIndex, obsSegmentations, obsSegmentationsType: "polygon" }, null, coordinationValues);
|
328223
328257
|
}
|
@@ -377656,11 +377690,12 @@ function ScmdUi(props) {
|
|
377656
377690
|
}
|
377657
377691
|
function BiomarkerSelectSubscriber(props) {
|
377658
377692
|
const {
|
377659
|
-
coordinationScopes,
|
377693
|
+
coordinationScopes: coordinationScopesRaw,
|
377660
377694
|
stratificationOptions: stratificationOptionsProp
|
377661
377695
|
// TODO: Remove; Get from comparisonMetadata instead
|
377662
377696
|
} = props;
|
377663
377697
|
const loaders = useLoaders();
|
377698
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
377664
377699
|
const [{ dataset, obsType, sampleType, sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.BIOMARKER_SELECT], coordinationScopes);
|
377665
377700
|
const viewConfigStoreApi = useViewConfigStoreApi();
|
377666
377701
|
const viewConfig = useViewConfig();
|
@@ -377755,7 +377790,8 @@ const useStyles$1 = makeStyles()((theme) => ({
|
|
377755
377790
|
}));
|
377756
377791
|
function ComparativeHeadingSubscriber(props) {
|
377757
377792
|
var _a3, _b3;
|
377758
|
-
const { coordinationScopes } = props;
|
377793
|
+
const { coordinationScopes: coordinationScopesRaw } = props;
|
377794
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
377759
377795
|
const [{ sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.COMPARATIVE_HEADING], coordinationScopes);
|
377760
377796
|
const { classes: classes2 } = useStyles$1();
|
377761
377797
|
const swapSampleSets = useCallback(() => {
|
@@ -377792,9 +377828,10 @@ const useStyles = makeStyles()(() => ({
|
|
377792
377828
|
}
|
377793
377829
|
}));
|
377794
377830
|
function SampleSetPairManagerSubscriber(props) {
|
377795
|
-
const { coordinationScopes, removeGridComponent, theme, title: title2 = "Sample Sets", closeButtonVisible, helpText = ViewHelpMapping.SAMPLE_SET_PAIR_MANAGER } = props;
|
377831
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, title: title2 = "Sample Sets", closeButtonVisible, helpText = ViewHelpMapping.SAMPLE_SET_PAIR_MANAGER } = props;
|
377796
377832
|
const { classes: classes2 } = useStyles();
|
377797
377833
|
const loaders = useLoaders();
|
377834
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
377798
377835
|
const [{ dataset, obsType, sampleType, sampleSetSelection }, { setSampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.SAMPLE_SET_PAIR_MANAGER], coordinationScopes);
|
377799
377836
|
const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.SAMPLE_SETS, { sampleType });
|
377800
377837
|
const sampleSetsColumnNameMappingReversed = useColumnNameMapping(sampleSetsLoader, true);
|
@@ -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-B2chDEFY.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-C4kMzHny.js"), []);
|
23641
23641
|
const invalidate2 = useThree(({
|
23642
23642
|
invalidate: invalidate3
|
23643
23643
|
}) => invalidate3);
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { bL, bJ, bH, bK, bI, bG, bM } from "./index-
|
1
|
+
import { bL, bJ, bH, bK, bI, bG, bM } from "./index-B2chDEFY.js";
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
3
3
|
export {
|
4
4
|
bL as PluginAsyncFunction,
|
@@ -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-B2chDEFY.js";
|
3
3
|
var LercDecode = { exports: {} };
|
4
4
|
var hasRequiredLercDecode;
|
5
5
|
function requireLercDecode() {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD 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, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-
|
1
|
+
import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD 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, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-B2chDEFY.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/all",
|
3
|
-
"version": "3.6.
|
3
|
+
"version": "3.6.18",
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
5
5
|
"homepage": "http://vitessce.io",
|
6
6
|
"repository": {
|
@@ -17,37 +17,37 @@
|
|
17
17
|
],
|
18
18
|
"dependencies": {
|
19
19
|
"zod": "^3.21.4",
|
20
|
-
"@vitessce/styles": "3.6.
|
21
|
-
"@vitessce/constants-internal": "3.6.
|
22
|
-
"@vitessce/abstract": "3.6.
|
23
|
-
"@vitessce/error": "3.6.
|
24
|
-
"@vitessce/csv": "3.6.
|
25
|
-
"@vitessce/description": "3.6.
|
26
|
-
"@vitessce/feature-list": "3.6.
|
27
|
-
"@vitessce/genomic-profiles": "3.6.
|
28
|
-
"@vitessce/heatmap": "3.6.
|
29
|
-
"@vitessce/glb": "3.6.
|
30
|
-
"@vitessce/json": "3.6.
|
31
|
-
"@vitessce/layer-controller": "3.6.
|
32
|
-
"@vitessce/layer-controller-beta": "3.6.
|
33
|
-
"@vitessce/link-controller": "3.6.
|
34
|
-
"@vitessce/obs-sets-manager": "3.6.
|
35
|
-
"@vitessce/ome-tiff": "3.6.
|
36
|
-
"@vitessce/plugins": "3.6.
|
37
|
-
"@vitessce/scatterplot-embedding": "3.6.
|
38
|
-
"@vitessce/scatterplot-gating": "3.6.
|
39
|
-
"@vitessce/schemas": "3.6.
|
40
|
-
"@vitessce/spatial": "3.6.
|
41
|
-
"@vitessce/spatial-beta": "3.6.
|
42
|
-
"@vitessce/statistical-plots": "3.6.
|
43
|
-
"@vitessce/status": "3.6.
|
44
|
-
"@vitessce/vit-s": "3.6.
|
45
|
-
"@vitessce/zarr": "3.6.
|
46
|
-
"@vitessce/globals": "3.6.
|
47
|
-
"@vitessce/spatial-zarr": "3.6.
|
48
|
-
"@vitessce/spatial-three": "3.6.
|
49
|
-
"@vitessce/biomarker-select": "3.6.
|
50
|
-
"@vitessce/neuroglancer": "3.6.
|
20
|
+
"@vitessce/styles": "3.6.18",
|
21
|
+
"@vitessce/constants-internal": "3.6.18",
|
22
|
+
"@vitessce/abstract": "3.6.18",
|
23
|
+
"@vitessce/error": "3.6.18",
|
24
|
+
"@vitessce/csv": "3.6.18",
|
25
|
+
"@vitessce/description": "3.6.18",
|
26
|
+
"@vitessce/feature-list": "3.6.18",
|
27
|
+
"@vitessce/genomic-profiles": "3.6.18",
|
28
|
+
"@vitessce/heatmap": "3.6.18",
|
29
|
+
"@vitessce/glb": "3.6.18",
|
30
|
+
"@vitessce/json": "3.6.18",
|
31
|
+
"@vitessce/layer-controller": "3.6.18",
|
32
|
+
"@vitessce/layer-controller-beta": "3.6.18",
|
33
|
+
"@vitessce/link-controller": "3.6.18",
|
34
|
+
"@vitessce/obs-sets-manager": "3.6.18",
|
35
|
+
"@vitessce/ome-tiff": "3.6.18",
|
36
|
+
"@vitessce/plugins": "3.6.18",
|
37
|
+
"@vitessce/scatterplot-embedding": "3.6.18",
|
38
|
+
"@vitessce/scatterplot-gating": "3.6.18",
|
39
|
+
"@vitessce/schemas": "3.6.18",
|
40
|
+
"@vitessce/spatial": "3.6.18",
|
41
|
+
"@vitessce/spatial-beta": "3.6.18",
|
42
|
+
"@vitessce/statistical-plots": "3.6.18",
|
43
|
+
"@vitessce/status": "3.6.18",
|
44
|
+
"@vitessce/vit-s": "3.6.18",
|
45
|
+
"@vitessce/zarr": "3.6.18",
|
46
|
+
"@vitessce/globals": "3.6.18",
|
47
|
+
"@vitessce/spatial-zarr": "3.6.18",
|
48
|
+
"@vitessce/spatial-three": "3.6.18",
|
49
|
+
"@vitessce/biomarker-select": "3.6.18",
|
50
|
+
"@vitessce/neuroglancer": "3.6.18"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
53
|
"@types/react": "^18.0.28",
|