@vitessce/dev 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-DcRs0BW4.js → ReactNeuroglancer-BUSnHNS7.js} +1 -1
- package/dist/{deflate-BEEFrc82.js → deflate-slWLiOga.js} +1 -1
- package/dist/{higlass-s5F9bo4Z.js → higlass-Cq-3GxyK.js} +1 -1
- package/dist/{index-DIP-3U1s.js → index-BBDd_SYU.js} +256 -220
- package/dist/{index-DQRAt0HF.js → index-BVMYrt6n.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-OpT8hqt7.js → jpeg-BC5wEBR0.js} +1 -1
- package/dist/{lerc-BZECv4pL.js → lerc-DDVwAYcy.js} +1 -1
- package/dist/{lzw-M40QpoDn.js → lzw-DpaJo2GK.js} +1 -1
- package/dist/{packbits-B03X3zfJ.js → packbits-BH1iePXX.js} +1 -1
- package/dist/{raw-DL6E_arU.js → raw-CO_uKRKR.js} +1 -1
- package/dist/{troika-three-text.esm-DAt1m3Kx.js → troika-three-text.esm-B-O_R43q.js} +1 -1
- package/dist/{webimage-DQckZ9z1.js → webimage-XNPvQnH9.js} +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, bm as require_root, bn as require_baseGetTag, bo as requireIsObjectLike, bp as requireIsObject, bq as requireEs6_symbol, br as requireDefineProperty, bs as require_toIobject, bt as require_objectGopd, bu as require_html, bv as require_domCreate, bw as require_library, bx as requireSymbol, by as require_objectPie, bz as require_has, bA as require_redefine, bB as require_objectAssign, bC as getAugmentedNamespace, bD as requirePropTypes, aI as jsxRuntimeExports } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, bm as require_root, bn as require_baseGetTag, bo as requireIsObjectLike, bp as requireIsObject, bq as requireEs6_symbol, br as requireDefineProperty, bs as require_toIobject, bt as require_objectGopd, bu as require_html, bv as require_domCreate, bw as require_library, bx as requireSymbol, by as require_objectPie, bz as require_has, bA as require_redefine, bB as require_objectAssign, bC as getAugmentedNamespace, bD as requirePropTypes, aI as jsxRuntimeExports } from "./index-BBDd_SYU.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-BBDd_SYU.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-BBDd_SYU.js";
|
|
5
5
|
var promise = {};
|
|
6
6
|
var hasRequiredPromise;
|
|
7
7
|
function requirePromise() {
|
|
@@ -1330,7 +1330,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1330
1330
|
CoordinationType$2.HIERARCHY_LEVELS
|
|
1331
1331
|
]
|
|
1332
1332
|
};
|
|
1333
|
-
const version$6 = "3.6.
|
|
1333
|
+
const version$6 = "3.6.18";
|
|
1334
1334
|
const META_VERSION = {
|
|
1335
1335
|
version: version$6
|
|
1336
1336
|
};
|
|
@@ -99288,8 +99288,9 @@ function Description(props) {
|
|
|
99288
99288
|
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)] });
|
|
99289
99289
|
}
|
|
99290
99290
|
function DescriptionSubscriber(props) {
|
|
99291
|
-
const { coordinationScopes, description: descriptionOverride, descriptionType, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible, helpText = ViewHelpMapping.DESCRIPTION } = props;
|
|
99291
|
+
const { coordinationScopes: coordinationScopesRaw, description: descriptionOverride, descriptionType, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible, helpText = ViewHelpMapping.DESCRIPTION } = props;
|
|
99292
99292
|
const loaders = useLoaders();
|
|
99293
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
99293
99294
|
const [{ dataset, spatialImageLayer: rasterLayers }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.DESCRIPTION], coordinationScopes);
|
|
99294
99295
|
const [description2] = useDescription(loaders, dataset);
|
|
99295
99296
|
const [{ image: image2 }, imageStatus, imageUrls, imageError] = useImageData(loaders, dataset, false, {}, {}, {});
|
|
@@ -119731,87 +119732,83 @@ function SetsManager(props) {
|
|
|
119731
119732
|
}
|
|
119732
119733
|
const packageJson = { name: "vitessce" };
|
|
119733
119734
|
function ObsSetsManagerSubscriber(props) {
|
|
119734
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SETS } = props;
|
|
119735
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SETS } = props;
|
|
119735
119736
|
const loaders = useLoaders();
|
|
119737
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
119736
119738
|
const setWarning = useSetWarning();
|
|
119737
|
-
const [{ dataset, obsType, obsSetSelection
|
|
119739
|
+
const [{ dataset, obsType, obsSetSelection, obsSetExpansion, obsSetColor, additionalObsSets, obsColorEncoding }, { setObsSetSelection, setObsColorEncoding, setObsSetColor, setObsSetExpansion, setAdditionalObsSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.OBS_SETS], coordinationScopes);
|
|
119738
119740
|
const title2 = titleOverride || `${capitalize$3(obsType)} Sets`;
|
|
119739
|
-
|
|
119740
|
-
if (cellSetExpansion && cellSetExpansion.length > 0) {
|
|
119741
|
-
setCellSetExpansion([]);
|
|
119742
|
-
}
|
|
119743
|
-
}, [loaders, dataset]);
|
|
119744
|
-
const [{ obsIndex, obsSets: cellSets }, obsSetsStatus, obsSetsUrls, obsSetsError] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { obsSetSelection: cellSetSelection, obsSetColor: cellSetColor }, { obsType });
|
|
119741
|
+
const [{ obsIndex, obsSets: cellSets }, obsSetsStatus, obsSetsUrls, obsSetsError] = useObsSetsData(loaders, dataset, false, { setObsSetSelection, setObsSetColor, setObsSetExpansion }, { obsSetSelection, obsSetColor, obsSetExpansion }, { obsType });
|
|
119745
119742
|
const errors = [
|
|
119746
119743
|
obsSetsError
|
|
119747
119744
|
];
|
|
119748
119745
|
const isReady = useReady([obsSetsStatus]);
|
|
119749
119746
|
const urls2 = useUrls([obsSetsUrls]);
|
|
119750
119747
|
useEffect(() => {
|
|
119751
|
-
if (
|
|
119748
|
+
if (additionalObsSets) {
|
|
119752
119749
|
let upgradedCellSets;
|
|
119753
119750
|
let didUpgrade;
|
|
119754
119751
|
try {
|
|
119755
|
-
[upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(
|
|
119752
|
+
[upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(additionalObsSets, SETS_DATATYPE_OBS);
|
|
119756
119753
|
} catch (e3) {
|
|
119757
119754
|
setWarning(e3.message);
|
|
119758
119755
|
return;
|
|
119759
119756
|
}
|
|
119760
119757
|
if (didUpgrade) {
|
|
119761
|
-
|
|
119758
|
+
setAdditionalObsSets(upgradedCellSets);
|
|
119762
119759
|
}
|
|
119763
119760
|
}
|
|
119764
|
-
}, [
|
|
119761
|
+
}, [additionalObsSets, setAdditionalObsSets, setWarning]);
|
|
119765
119762
|
const allCellIds = useMemo$1(() => obsIndex || [], [obsIndex]);
|
|
119766
|
-
const
|
|
119767
|
-
|
|
119768
|
-
}, [
|
|
119769
|
-
const
|
|
119763
|
+
const setObsSetColorEncoding = useCallback(() => {
|
|
119764
|
+
setObsColorEncoding("cellSetSelection");
|
|
119765
|
+
}, [setObsColorEncoding]);
|
|
119766
|
+
const mergedObsSets = useMemo$1(() => mergeObsSets(cellSets, additionalObsSets), [cellSets, additionalObsSets]);
|
|
119770
119767
|
const checkedLevel = useMemo$1(() => {
|
|
119771
|
-
if (
|
|
119772
|
-
return treeToExpectedCheckedLevel(
|
|
119768
|
+
if (obsSetSelection && obsSetSelection.length > 0 && mergedObsSets && mergedObsSets.tree.length > 0) {
|
|
119769
|
+
return treeToExpectedCheckedLevel(mergedObsSets, obsSetSelection);
|
|
119773
119770
|
}
|
|
119774
119771
|
return null;
|
|
119775
|
-
}, [
|
|
119772
|
+
}, [obsSetSelection, mergedObsSets]);
|
|
119776
119773
|
const onCheckLevel = useCallback((levelZeroName, levelIndex) => {
|
|
119777
|
-
const lzn =
|
|
119774
|
+
const lzn = mergedObsSets.tree.find((n3) => n3.name === levelZeroName);
|
|
119778
119775
|
if (lzn) {
|
|
119779
|
-
const
|
|
119780
|
-
|
|
119781
|
-
|
|
119776
|
+
const newObsSetSelection = nodeToLevelDescendantNamePaths(lzn, levelIndex, [], true);
|
|
119777
|
+
setObsSetSelection(newObsSetSelection);
|
|
119778
|
+
setObsSetColorEncoding();
|
|
119782
119779
|
}
|
|
119783
|
-
}, [
|
|
119780
|
+
}, [mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
|
|
119784
119781
|
const onCheckNode = useCallback((targetKey, checked) => {
|
|
119785
119782
|
const targetPath = Array.isArray(targetKey) ? targetKey : targetKey.split(PATH_SEP);
|
|
119786
119783
|
if (!targetKey) {
|
|
119787
119784
|
return;
|
|
119788
119785
|
}
|
|
119789
119786
|
if (checked) {
|
|
119790
|
-
|
|
119787
|
+
setObsSetSelection([...obsSetSelection, targetPath]);
|
|
119791
119788
|
} else {
|
|
119792
|
-
|
|
119789
|
+
setObsSetSelection(obsSetSelection.filter((d) => !isEqual$3(d, targetPath)));
|
|
119793
119790
|
}
|
|
119794
|
-
|
|
119795
|
-
}, [
|
|
119791
|
+
setObsSetColorEncoding();
|
|
119792
|
+
}, [obsSetSelection, setObsSetColorEncoding, setObsSetSelection]);
|
|
119796
119793
|
const onExpandNode = useCallback((expandedKeys, targetKey, expanded) => {
|
|
119797
|
-
const
|
|
119794
|
+
const prevObsSetExpansion = obsSetExpansion || [];
|
|
119798
119795
|
if (expanded) {
|
|
119799
|
-
|
|
119796
|
+
setObsSetExpansion([...prevObsSetExpansion, targetKey.split(PATH_SEP)]);
|
|
119800
119797
|
} else {
|
|
119801
|
-
const
|
|
119802
|
-
|
|
119798
|
+
const newObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqual$3(d, targetKey.split(PATH_SEP)));
|
|
119799
|
+
setObsSetExpansion(newObsSetExpansion);
|
|
119803
119800
|
}
|
|
119804
|
-
}, [
|
|
119801
|
+
}, [obsSetExpansion, setObsSetExpansion]);
|
|
119805
119802
|
const onDropNode = useCallback((dropKey, dragKey, dropPosition, dropToGap) => {
|
|
119806
119803
|
const dropPath = dropKey.split(PATH_SEP);
|
|
119807
|
-
const dropNode = treeFindNodeByNamePath(
|
|
119804
|
+
const dropNode = treeFindNodeByNamePath(additionalObsSets, dropPath);
|
|
119808
119805
|
if (!dropNode.children && !dropToGap) {
|
|
119809
119806
|
return;
|
|
119810
119807
|
}
|
|
119811
119808
|
const dropNodeLevel = dropPath.length - 1;
|
|
119812
119809
|
const dropNodeIsLevelZero = dropNodeLevel === 0;
|
|
119813
119810
|
const dragPath = dragKey.split(PATH_SEP);
|
|
119814
|
-
const dragNode = treeFindNodeByNamePath(
|
|
119811
|
+
const dragNode = treeFindNodeByNamePath(additionalObsSets, dragPath);
|
|
119815
119812
|
if (dropNodeIsLevelZero && dropToGap && !dragNode.children) {
|
|
119816
119813
|
return;
|
|
119817
119814
|
}
|
|
@@ -119820,10 +119817,10 @@ function ObsSetsManagerSubscriber(props) {
|
|
|
119820
119817
|
let dropNodeCurrIndex;
|
|
119821
119818
|
if (!dropNodeIsLevelZero) {
|
|
119822
119819
|
dropParentPath = dropPath.slice(0, -1);
|
|
119823
|
-
dropParentNode = treeFindNodeByNamePath(
|
|
119820
|
+
dropParentNode = treeFindNodeByNamePath(additionalObsSets, dropParentPath);
|
|
119824
119821
|
dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
|
|
119825
119822
|
} else {
|
|
119826
|
-
dropNodeCurrIndex =
|
|
119823
|
+
dropNodeCurrIndex = additionalObsSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
|
|
119827
119824
|
}
|
|
119828
119825
|
let hasSiblingNameConflict;
|
|
119829
119826
|
const dragNodeName = dragNode.name;
|
|
@@ -119832,19 +119829,19 @@ function ObsSetsManagerSubscriber(props) {
|
|
|
119832
119829
|
} else if (!dropToGap) {
|
|
119833
119830
|
hasSiblingNameConflict = dropNode.children.find((c2) => c2 !== dragNode && c2.name === dragNodeName);
|
|
119834
119831
|
} else {
|
|
119835
|
-
hasSiblingNameConflict =
|
|
119832
|
+
hasSiblingNameConflict = additionalObsSets.tree.find((lzn) => lzn !== dragNode && lzn.name === dragNodeName);
|
|
119836
119833
|
}
|
|
119837
119834
|
if (hasSiblingNameConflict) {
|
|
119838
119835
|
return;
|
|
119839
119836
|
}
|
|
119840
|
-
const
|
|
119841
|
-
...
|
|
119842
|
-
tree:
|
|
119837
|
+
const nextAdditionalObsSets = {
|
|
119838
|
+
...additionalObsSets,
|
|
119839
|
+
tree: additionalObsSets.tree.map((lzn) => filterNode(lzn, [], dragPath)).filter(Boolean)
|
|
119843
119840
|
};
|
|
119844
119841
|
if (!dropNodeIsLevelZero) {
|
|
119845
119842
|
dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
|
|
119846
119843
|
} else {
|
|
119847
|
-
dropNodeCurrIndex =
|
|
119844
|
+
dropNodeCurrIndex = nextAdditionalObsSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
|
|
119848
119845
|
}
|
|
119849
119846
|
let newDragPath = [];
|
|
119850
119847
|
if (!dropToGap || !dropNodeIsLevelZero) {
|
|
@@ -119863,67 +119860,67 @@ function ObsSetsManagerSubscriber(props) {
|
|
|
119863
119860
|
addChildFunction = (n3) => nodeInsertChild(n3, dragNode, insertIndex);
|
|
119864
119861
|
}
|
|
119865
119862
|
}
|
|
119866
|
-
|
|
119863
|
+
nextAdditionalObsSets.tree = nextAdditionalObsSets.tree.map((node2) => nodeTransform(node2, (n3, path2) => checkPathFunction(path2), (n3) => {
|
|
119867
119864
|
const newNode = addChildFunction(n3);
|
|
119868
119865
|
return newNode;
|
|
119869
119866
|
}, newPath));
|
|
119870
|
-
|
|
119867
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
|
119871
119868
|
newDragPath = [...newPath[0], dragNode.name];
|
|
119872
|
-
|
|
119869
|
+
setObsSetSelection([newDragPath]);
|
|
119873
119870
|
} else if (dropPosition === -1) {
|
|
119874
|
-
|
|
119875
|
-
|
|
119871
|
+
nextAdditionalObsSets.tree.unshift(dragNode);
|
|
119872
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
|
119876
119873
|
newDragPath = [dragNode.name];
|
|
119877
|
-
|
|
119874
|
+
setObsSetSelection([newDragPath]);
|
|
119878
119875
|
} else {
|
|
119879
119876
|
const insertIndex = dropNodeCurrIndex + (dropPosition > dropNodeCurrIndex ? 1 : 0);
|
|
119880
|
-
const newLevelZero = Array.from(
|
|
119877
|
+
const newLevelZero = Array.from(nextAdditionalObsSets.tree);
|
|
119881
119878
|
newLevelZero.splice(insertIndex, 0, dragNode);
|
|
119882
|
-
|
|
119883
|
-
|
|
119879
|
+
nextAdditionalObsSets.tree = newLevelZero;
|
|
119880
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
|
119884
119881
|
newDragPath = [dragNode.name];
|
|
119885
|
-
|
|
119882
|
+
setObsSetSelection([newDragPath]);
|
|
119886
119883
|
}
|
|
119887
|
-
const oldColors =
|
|
119884
|
+
const oldColors = obsSetColor.filter((i2) => isEqualOrPrefix(dragPath, i2.path));
|
|
119888
119885
|
const newColors = oldColors.map((i2) => ({
|
|
119889
119886
|
...i2,
|
|
119890
119887
|
path: !isEqual$3(i2.path, dragPath) ? newDragPath.concat(i2.path.slice(dragPath.length)) : newDragPath
|
|
119891
119888
|
}));
|
|
119892
|
-
const
|
|
119893
|
-
|
|
119894
|
-
|
|
119889
|
+
const newObsSetColor = obsSetColor.filter((i2) => !isEqualOrPrefix(dragPath, i2.path));
|
|
119890
|
+
newObsSetColor.push(...newColors);
|
|
119891
|
+
setObsSetColor(newObsSetColor);
|
|
119895
119892
|
}, [
|
|
119896
|
-
|
|
119897
|
-
|
|
119898
|
-
|
|
119899
|
-
|
|
119900
|
-
|
|
119893
|
+
additionalObsSets,
|
|
119894
|
+
obsSetColor,
|
|
119895
|
+
setAdditionalObsSets,
|
|
119896
|
+
setObsSetColor,
|
|
119897
|
+
setObsSetSelection
|
|
119901
119898
|
]);
|
|
119902
119899
|
const onNodeSetColor = useCallback((targetPath, color2) => {
|
|
119903
|
-
const prevNodeColor =
|
|
119900
|
+
const prevNodeColor = obsSetColor?.find((d) => isEqual$3(d.path, targetPath));
|
|
119904
119901
|
if (!prevNodeColor) {
|
|
119905
|
-
|
|
119906
|
-
...
|
|
119902
|
+
setObsSetColor([
|
|
119903
|
+
...obsSetColor || [],
|
|
119907
119904
|
{
|
|
119908
119905
|
path: targetPath,
|
|
119909
119906
|
color: color2
|
|
119910
119907
|
}
|
|
119911
119908
|
]);
|
|
119912
119909
|
} else {
|
|
119913
|
-
|
|
119914
|
-
...
|
|
119910
|
+
setObsSetColor([
|
|
119911
|
+
...obsSetColor.filter((d) => !isEqual$3(d.path, targetPath)),
|
|
119915
119912
|
{
|
|
119916
119913
|
path: targetPath,
|
|
119917
119914
|
color: color2
|
|
119918
119915
|
}
|
|
119919
119916
|
]);
|
|
119920
119917
|
}
|
|
119921
|
-
}, [
|
|
119918
|
+
}, [obsSetColor, setObsSetColor]);
|
|
119922
119919
|
const onNodeSetName = useCallback((targetPath, name2) => {
|
|
119923
119920
|
const nextNamePath = [...targetPath];
|
|
119924
119921
|
nextNamePath.pop();
|
|
119925
119922
|
nextNamePath.push(name2);
|
|
119926
|
-
const
|
|
119923
|
+
const prevObsSetExpansion = obsSetExpansion || [];
|
|
119927
119924
|
function renameNode(node2, prevPath) {
|
|
119928
119925
|
if (isEqual$3([...prevPath, node2.name], targetPath)) {
|
|
119929
119926
|
return {
|
|
@@ -119939,64 +119936,64 @@ function ObsSetsManagerSubscriber(props) {
|
|
|
119939
119936
|
children: node2.children.map((c2) => renameNode(c2, [...prevPath, node2.name]))
|
|
119940
119937
|
};
|
|
119941
119938
|
}
|
|
119942
|
-
const
|
|
119943
|
-
...
|
|
119944
|
-
tree:
|
|
119939
|
+
const nextAdditionalObsSets = {
|
|
119940
|
+
...additionalObsSets,
|
|
119941
|
+
tree: additionalObsSets.tree.map((lzn) => renameNode(lzn, []))
|
|
119945
119942
|
};
|
|
119946
|
-
const
|
|
119943
|
+
const nextObsSetColor = obsSetColor.map((d) => ({
|
|
119947
119944
|
path: tryRenamePath(targetPath, d.path, nextNamePath),
|
|
119948
119945
|
color: d.color
|
|
119949
119946
|
}));
|
|
119950
|
-
const
|
|
119951
|
-
const
|
|
119952
|
-
|
|
119953
|
-
|
|
119954
|
-
|
|
119955
|
-
|
|
119947
|
+
const nextObsSetSelection = obsSetSelection.map((d) => tryRenamePath(targetPath, d, nextNamePath));
|
|
119948
|
+
const nextObsSetExpansion = prevObsSetExpansion.map((d) => tryRenamePath(targetPath, d, nextNamePath));
|
|
119949
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
|
119950
|
+
setObsSetColor(nextObsSetColor);
|
|
119951
|
+
setObsSetSelection(nextObsSetSelection);
|
|
119952
|
+
setObsSetExpansion(nextObsSetExpansion);
|
|
119956
119953
|
}, [
|
|
119957
|
-
|
|
119958
|
-
|
|
119959
|
-
|
|
119960
|
-
|
|
119961
|
-
|
|
119962
|
-
|
|
119963
|
-
|
|
119964
|
-
|
|
119954
|
+
additionalObsSets,
|
|
119955
|
+
obsSetColor,
|
|
119956
|
+
obsSetExpansion,
|
|
119957
|
+
obsSetSelection,
|
|
119958
|
+
setAdditionalObsSets,
|
|
119959
|
+
setObsSetColor,
|
|
119960
|
+
setObsSetSelection,
|
|
119961
|
+
setObsSetExpansion
|
|
119965
119962
|
]);
|
|
119966
119963
|
const onNodeCheckNewName = useCallback((targetPath, name2) => {
|
|
119967
119964
|
const nextNamePath = [...targetPath];
|
|
119968
119965
|
nextNamePath.pop();
|
|
119969
119966
|
nextNamePath.push(name2);
|
|
119970
|
-
const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(
|
|
119967
|
+
const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(additionalObsSets, nextNamePath);
|
|
119971
119968
|
return hasConflicts;
|
|
119972
|
-
}, [
|
|
119969
|
+
}, [additionalObsSets]);
|
|
119973
119970
|
const onNodeRemove = useCallback((targetPath) => {
|
|
119974
|
-
const
|
|
119975
|
-
const
|
|
119976
|
-
...
|
|
119977
|
-
tree:
|
|
119978
|
-
};
|
|
119979
|
-
const
|
|
119980
|
-
const
|
|
119981
|
-
const
|
|
119982
|
-
|
|
119983
|
-
|
|
119984
|
-
|
|
119985
|
-
|
|
119971
|
+
const prevObsSetExpansion = obsSetExpansion || [];
|
|
119972
|
+
const nextAdditionalObsSets = {
|
|
119973
|
+
...additionalObsSets,
|
|
119974
|
+
tree: additionalObsSets.tree.map((lzn) => filterNode(lzn, [], targetPath)).filter(Boolean)
|
|
119975
|
+
};
|
|
119976
|
+
const nextObsSetColor = obsSetColor.filter((d) => !isEqualOrPrefix(targetPath, d.path));
|
|
119977
|
+
const nextObsSetSelection = obsSetSelection.filter((d) => !isEqualOrPrefix(targetPath, d));
|
|
119978
|
+
const nextObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqualOrPrefix(targetPath, d));
|
|
119979
|
+
setAdditionalObsSets(nextAdditionalObsSets);
|
|
119980
|
+
setObsSetColor(nextObsSetColor);
|
|
119981
|
+
setObsSetSelection(nextObsSetSelection);
|
|
119982
|
+
setObsSetExpansion(nextObsSetExpansion);
|
|
119986
119983
|
}, [
|
|
119987
|
-
|
|
119988
|
-
|
|
119989
|
-
|
|
119990
|
-
|
|
119991
|
-
|
|
119992
|
-
|
|
119993
|
-
|
|
119994
|
-
|
|
119984
|
+
additionalObsSets,
|
|
119985
|
+
obsSetColor,
|
|
119986
|
+
obsSetExpansion,
|
|
119987
|
+
obsSetSelection,
|
|
119988
|
+
setAdditionalObsSets,
|
|
119989
|
+
setObsSetColor,
|
|
119990
|
+
setObsSetSelection,
|
|
119991
|
+
setObsSetExpansion
|
|
119995
119992
|
]);
|
|
119996
119993
|
const onNodeView = useCallback((targetPath) => {
|
|
119997
119994
|
const setsToView = [];
|
|
119998
119995
|
function viewNode(node2, nodePath) {
|
|
119999
|
-
if (
|
|
119996
|
+
if (obsSetExpansion?.find((expandedPath) => isEqual$3(nodePath, expandedPath))) {
|
|
120000
119997
|
if (node2.children) {
|
|
120001
119998
|
node2.children.forEach((c2) => {
|
|
120002
119999
|
viewNode(c2, [...nodePath, c2.name]);
|
|
@@ -120008,105 +120005,105 @@ function ObsSetsManagerSubscriber(props) {
|
|
|
120008
120005
|
setsToView.push(nodePath);
|
|
120009
120006
|
}
|
|
120010
120007
|
}
|
|
120011
|
-
const targetNode = treeFindNodeByNamePath(
|
|
120008
|
+
const targetNode = treeFindNodeByNamePath(mergedObsSets, targetPath);
|
|
120012
120009
|
viewNode(targetNode, targetPath);
|
|
120013
|
-
|
|
120014
|
-
|
|
120015
|
-
}, [
|
|
120010
|
+
setObsSetSelection(setsToView);
|
|
120011
|
+
setObsSetColorEncoding();
|
|
120012
|
+
}, [obsSetExpansion, mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
|
|
120016
120013
|
const onCreateLevelZeroNode = useCallback(() => {
|
|
120017
|
-
const nextName = getNextNumberedNodeName(
|
|
120018
|
-
|
|
120019
|
-
...
|
|
120014
|
+
const nextName = getNextNumberedNodeName(additionalObsSets?.tree, "My hierarchy ", "");
|
|
120015
|
+
setAdditionalObsSets({
|
|
120016
|
+
...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
|
|
120020
120017
|
tree: [
|
|
120021
|
-
...
|
|
120018
|
+
...additionalObsSets ? additionalObsSets.tree : [],
|
|
120022
120019
|
{
|
|
120023
120020
|
name: nextName,
|
|
120024
120021
|
children: []
|
|
120025
120022
|
}
|
|
120026
120023
|
]
|
|
120027
120024
|
});
|
|
120028
|
-
}, [
|
|
120025
|
+
}, [additionalObsSets, setAdditionalObsSets]);
|
|
120029
120026
|
const onUnion = useCallback(() => {
|
|
120030
|
-
const newSet = treeToUnion(
|
|
120031
|
-
setObsSelection(newSet,
|
|
120027
|
+
const newSet = treeToUnion(mergedObsSets, obsSetSelection);
|
|
120028
|
+
setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Union ");
|
|
120032
120029
|
}, [
|
|
120033
|
-
|
|
120034
|
-
|
|
120035
|
-
|
|
120036
|
-
|
|
120037
|
-
|
|
120038
|
-
|
|
120039
|
-
|
|
120040
|
-
|
|
120030
|
+
additionalObsSets,
|
|
120031
|
+
obsSetColor,
|
|
120032
|
+
obsSetSelection,
|
|
120033
|
+
mergedObsSets,
|
|
120034
|
+
setAdditionalObsSets,
|
|
120035
|
+
setObsColorEncoding,
|
|
120036
|
+
setObsSetColor,
|
|
120037
|
+
setObsSetSelection
|
|
120041
120038
|
]);
|
|
120042
120039
|
const onIntersection = useCallback(() => {
|
|
120043
|
-
const newSet = treeToIntersection(
|
|
120044
|
-
setObsSelection(newSet,
|
|
120040
|
+
const newSet = treeToIntersection(mergedObsSets, obsSetSelection);
|
|
120041
|
+
setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Intersection ");
|
|
120045
120042
|
}, [
|
|
120046
|
-
|
|
120047
|
-
|
|
120048
|
-
|
|
120049
|
-
|
|
120050
|
-
|
|
120051
|
-
|
|
120052
|
-
|
|
120053
|
-
|
|
120043
|
+
additionalObsSets,
|
|
120044
|
+
obsSetColor,
|
|
120045
|
+
obsSetSelection,
|
|
120046
|
+
mergedObsSets,
|
|
120047
|
+
setAdditionalObsSets,
|
|
120048
|
+
setObsColorEncoding,
|
|
120049
|
+
setObsSetColor,
|
|
120050
|
+
setObsSetSelection
|
|
120054
120051
|
]);
|
|
120055
120052
|
const onComplement = useCallback(() => {
|
|
120056
|
-
const newSet = treeToComplement(
|
|
120057
|
-
setObsSelection(newSet,
|
|
120053
|
+
const newSet = treeToComplement(mergedObsSets, obsSetSelection, allCellIds);
|
|
120054
|
+
setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Complement ");
|
|
120058
120055
|
}, [
|
|
120059
|
-
|
|
120056
|
+
additionalObsSets,
|
|
120060
120057
|
allCellIds,
|
|
120061
|
-
|
|
120062
|
-
|
|
120063
|
-
|
|
120064
|
-
|
|
120065
|
-
|
|
120066
|
-
|
|
120067
|
-
|
|
120058
|
+
obsSetColor,
|
|
120059
|
+
obsSetSelection,
|
|
120060
|
+
mergedObsSets,
|
|
120061
|
+
setAdditionalObsSets,
|
|
120062
|
+
setObsColorEncoding,
|
|
120063
|
+
setObsSetColor,
|
|
120064
|
+
setObsSetSelection
|
|
120068
120065
|
]);
|
|
120069
120066
|
const onImportTree = useCallback((treeToImport) => {
|
|
120070
|
-
const hasConflict = treesConflict(
|
|
120067
|
+
const hasConflict = treesConflict(mergedObsSets, treeToImport);
|
|
120071
120068
|
if (!hasConflict) {
|
|
120072
|
-
|
|
120073
|
-
...
|
|
120069
|
+
setAdditionalObsSets({
|
|
120070
|
+
...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
|
|
120074
120071
|
tree: [
|
|
120075
|
-
...
|
|
120072
|
+
...additionalObsSets ? additionalObsSets.tree : [],
|
|
120076
120073
|
...treeToImport.tree
|
|
120077
120074
|
]
|
|
120078
120075
|
});
|
|
120079
|
-
const importAutoSetColors = initializeCellSetColor(treeToImport,
|
|
120080
|
-
|
|
120081
|
-
...
|
|
120076
|
+
const importAutoSetColors = initializeCellSetColor(treeToImport, obsSetColor);
|
|
120077
|
+
setObsSetColor([
|
|
120078
|
+
...obsSetColor,
|
|
120082
120079
|
...importAutoSetColors
|
|
120083
120080
|
]);
|
|
120084
120081
|
}
|
|
120085
120082
|
}, [
|
|
120086
|
-
|
|
120087
|
-
|
|
120088
|
-
|
|
120089
|
-
|
|
120090
|
-
|
|
120083
|
+
additionalObsSets,
|
|
120084
|
+
obsSetColor,
|
|
120085
|
+
mergedObsSets,
|
|
120086
|
+
setAdditionalObsSets,
|
|
120087
|
+
setObsSetColor
|
|
120091
120088
|
]);
|
|
120092
120089
|
const onExportLevelZeroNodeJSON = useCallback((nodePath) => {
|
|
120093
|
-
const { treeToExport, nodeName } = treeExportLevelZeroNode(
|
|
120090
|
+
const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedObsSets, nodePath, SETS_DATATYPE_OBS, obsSetColor, theme);
|
|
120094
120091
|
downloadForUser(handleExportJSON(treeToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-hierarchy.${FILE_EXTENSION_JSON}`);
|
|
120095
|
-
}, [
|
|
120092
|
+
}, [obsSetColor, mergedObsSets, theme]);
|
|
120096
120093
|
const onExportLevelZeroNodeTabular = useCallback((nodePath) => {
|
|
120097
|
-
const { treeToExport, nodeName } = treeExportLevelZeroNode(
|
|
120094
|
+
const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedObsSets, nodePath, SETS_DATATYPE_OBS, obsSetColor, theme);
|
|
120098
120095
|
downloadForUser(handleExportTabular(treeToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-hierarchy.${FILE_EXTENSION_TABULAR}`);
|
|
120099
|
-
}, [
|
|
120096
|
+
}, [obsSetColor, mergedObsSets, theme]);
|
|
120100
120097
|
const onExportSetJSON = useCallback((nodePath) => {
|
|
120101
|
-
const { setToExport, nodeName } = treeExportSet(
|
|
120098
|
+
const { setToExport, nodeName } = treeExportSet(mergedObsSets, nodePath);
|
|
120102
120099
|
downloadForUser(handleExportJSON(setToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-set.${FILE_EXTENSION_JSON}`);
|
|
120103
|
-
}, [
|
|
120104
|
-
const manager2 = useMemo$1(() => jsxRuntimeExports.jsx(SetsManager, { setColor:
|
|
120105
|
-
|
|
120106
|
-
|
|
120107
|
-
|
|
120108
|
-
|
|
120109
|
-
|
|
120100
|
+
}, [mergedObsSets]);
|
|
120101
|
+
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?.length > 1, hasCheckedSetsToIntersect: obsSetSelection?.length > 1, hasCheckedSetsToComplement: obsSetSelection?.length > 0, theme }), [
|
|
120102
|
+
additionalObsSets,
|
|
120103
|
+
obsColorEncoding,
|
|
120104
|
+
obsSetColor,
|
|
120105
|
+
obsSetExpansion,
|
|
120106
|
+
obsSetSelection,
|
|
120110
120107
|
cellSets,
|
|
120111
120108
|
checkedLevel,
|
|
120112
120109
|
onCheckLevel,
|
|
@@ -225693,22 +225690,22 @@ async function getDecoder(fileDirectory) {
|
|
|
225693
225690
|
const Decoder = await importFn();
|
|
225694
225691
|
return new Decoder(fileDirectory);
|
|
225695
225692
|
}
|
|
225696
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
225697
|
-
addDecoder(5, () => import("./lzw-
|
|
225693
|
+
addDecoder([void 0, 1], () => import("./raw-CO_uKRKR.js").then((m2) => m2.default));
|
|
225694
|
+
addDecoder(5, () => import("./lzw-DpaJo2GK.js").then((m2) => m2.default));
|
|
225698
225695
|
addDecoder(6, () => {
|
|
225699
225696
|
throw new Error("old style JPEG compression is not supported.");
|
|
225700
225697
|
});
|
|
225701
|
-
addDecoder(7, () => import("./jpeg-
|
|
225702
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
225703
|
-
addDecoder(32773, () => import("./packbits-
|
|
225698
|
+
addDecoder(7, () => import("./jpeg-BC5wEBR0.js").then((m2) => m2.default));
|
|
225699
|
+
addDecoder([8, 32946], () => import("./deflate-slWLiOga.js").then((m2) => m2.default));
|
|
225700
|
+
addDecoder(32773, () => import("./packbits-BH1iePXX.js").then((m2) => m2.default));
|
|
225704
225701
|
addDecoder(
|
|
225705
225702
|
34887,
|
|
225706
|
-
() => import("./lerc-
|
|
225703
|
+
() => import("./lerc-DDVwAYcy.js").then(async (m2) => {
|
|
225707
225704
|
await m2.zstd.init();
|
|
225708
225705
|
return m2;
|
|
225709
225706
|
}).then((m2) => m2.default)
|
|
225710
225707
|
);
|
|
225711
|
-
addDecoder(50001, () => import("./webimage-
|
|
225708
|
+
addDecoder(50001, () => import("./webimage-XNPvQnH9.js").then((m2) => m2.default));
|
|
225712
225709
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
225713
225710
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
225714
225711
|
}
|
|
@@ -247786,7 +247783,7 @@ const DEFAULT_FEATURE_AGGREGATION_STRATEGY$1 = "first";
|
|
|
247786
247783
|
function EmbeddingScatterplotSubscriber(props) {
|
|
247787
247784
|
const {
|
|
247788
247785
|
uuid: uuid2,
|
|
247789
|
-
coordinationScopes,
|
|
247786
|
+
coordinationScopes: coordinationScopesRaw,
|
|
247790
247787
|
closeButtonVisible,
|
|
247791
247788
|
downloadButtonVisible,
|
|
247792
247789
|
removeGridComponent,
|
|
@@ -247800,6 +247797,7 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
|
247800
247797
|
sampleSetSelection: sampleSetSelectionFromProps
|
|
247801
247798
|
} = props;
|
|
247802
247799
|
const loaders = useLoaders();
|
|
247800
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
247803
247801
|
const setComponentHover = useSetComponentHover();
|
|
247804
247802
|
const setComponentViewInfo = useSetComponentViewInfo(uuid2);
|
|
247805
247803
|
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$2.SCATTERPLOT], coordinationScopes);
|
|
@@ -248143,7 +248141,8 @@ function EmbeddingScatterplotSubscriber(props) {
|
|
|
248143
248141
|
})] });
|
|
248144
248142
|
}
|
|
248145
248143
|
function DualEmbeddingScatterplotSubscriber(props) {
|
|
248146
|
-
const { uuid: uuid2, coordinationScopes } = props;
|
|
248144
|
+
const { uuid: uuid2, coordinationScopes: coordinationScopesRaw } = props;
|
|
248145
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
248147
248146
|
const [{ embeddingType, sampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.DUAL_SCATTERPLOT], coordinationScopes);
|
|
248148
248147
|
const isCaseCtrl = Array.isArray(sampleSetSelection) && sampleSetSelection.length === 2;
|
|
248149
248148
|
const caseSampleSetSelection = useMemo$1(() => sampleSetSelection?.[0] ? [sampleSetSelection[0]] : null, [sampleSetSelection]);
|
|
@@ -248192,7 +248191,7 @@ function GatingScatterplotOptions(props) {
|
|
|
248192
248191
|
function GatingSubscriber(props) {
|
|
248193
248192
|
const {
|
|
248194
248193
|
uuid: uuid2,
|
|
248195
|
-
coordinationScopes,
|
|
248194
|
+
coordinationScopes: coordinationScopesRaw,
|
|
248196
248195
|
closeButtonVisible,
|
|
248197
248196
|
downloadButtonVisible,
|
|
248198
248197
|
removeGridComponent,
|
|
@@ -248204,6 +248203,7 @@ function GatingSubscriber(props) {
|
|
|
248204
248203
|
helpText = ViewHelpMapping.GATING
|
|
248205
248204
|
} = props;
|
|
248206
248205
|
const loaders = useLoaders();
|
|
248206
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
248207
248207
|
const setComponentHover = useSetComponentHover();
|
|
248208
248208
|
const setComponentViewInfo = useSetComponentViewInfo(uuid2);
|
|
248209
248209
|
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$2.GATING], coordinationScopes);
|
|
@@ -269210,7 +269210,7 @@ class ErrorBoundary2 extends React__default.Component {
|
|
|
269210
269210
|
}
|
|
269211
269211
|
}
|
|
269212
269212
|
const LazySpatialThree = React__default.lazy(async () => {
|
|
269213
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
|
269213
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BVMYrt6n.js");
|
|
269214
269214
|
return { default: SpatialWrapper2 };
|
|
269215
269215
|
});
|
|
269216
269216
|
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 }) }) }) }));
|
|
@@ -270700,8 +270700,9 @@ function HeatmapOptions(props) {
|
|
|
270700
270700
|
}, 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 }) })] })] });
|
|
270701
270701
|
}
|
|
270702
270702
|
function HeatmapSubscriber(props) {
|
|
270703
|
-
const { uuid: uuid2, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap", helpText = ViewHelpMapping.HEATMAP } = props;
|
|
270703
|
+
const { uuid: uuid2, coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap", helpText = ViewHelpMapping.HEATMAP } = props;
|
|
270704
270704
|
const loaders = useLoaders();
|
|
270705
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
270705
270706
|
const setComponentHover = useSetComponentHover();
|
|
270706
270707
|
const setComponentViewInfo = useSetComponentViewInfo(uuid2);
|
|
270707
270708
|
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$2.HEATMAP], coordinationScopes);
|
|
@@ -277513,7 +277514,7 @@ function FeatureList(props) {
|
|
|
277513
277514
|
[primaryColumnName]
|
|
277514
277515
|
];
|
|
277515
277516
|
}, [showFeatureTable, primaryColumnName, hasFeatureLabels]);
|
|
277516
|
-
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 })] });
|
|
277517
|
+
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;
|
|
277517
277518
|
}
|
|
277518
277519
|
function FeatureListOptions(props) {
|
|
277519
277520
|
const { children: children3, featureListSort, setFeatureListSort, featureListSortKey, setFeatureListSortKey, showFeatureTable, setShowFeatureTable, hasFeatureLabels, primaryColumnName } = props;
|
|
@@ -277549,8 +277550,9 @@ const useStyles$k = makeStyles()((theme) => ({
|
|
|
277549
277550
|
}
|
|
277550
277551
|
}));
|
|
277551
277552
|
function FeatureListSubscriber(props) {
|
|
277552
|
-
const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null, closeButtonVisible, downloadButtonVisible, helpText = ViewHelpMapping.FEATURE_LIST } = props;
|
|
277553
|
+
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;
|
|
277553
277554
|
const loaders = useLoaders();
|
|
277555
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
277554
277556
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
277555
277557
|
const { classes: classes2 } = useStyles$k();
|
|
277556
277558
|
const [{ dataset, obsType, featureType, featureSelection: geneSelection, featureFilter: geneFilter, obsColorEncoding: cellColorEncoding }, { setFeatureSelection: setGeneSelection, setFeatureFilter: setGeneFilter, setFeatureHighlight: setGeneHighlight, setObsColorEncoding: setCellColorEncoding }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.FEATURE_LIST], coordinationScopes);
|
|
@@ -279491,7 +279493,8 @@ function Status(props) {
|
|
|
279491
279493
|
return messages2;
|
|
279492
279494
|
}
|
|
279493
279495
|
function StatusSubscriber(props) {
|
|
279494
|
-
const { coordinationScopes, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status", helpText = ViewHelpMapping.STATUS } = props;
|
|
279496
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status", helpText = ViewHelpMapping.STATUS } = props;
|
|
279497
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
279495
279498
|
const [{ obsHighlight: cellHighlight, featureHighlight: geneHighlight, moleculeHighlight }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.STATUS], coordinationScopes);
|
|
279496
279499
|
const warn2 = useWarning();
|
|
279497
279500
|
const infos = [
|
|
@@ -281312,7 +281315,7 @@ function HiglassGlobalStyles(props) {
|
|
|
281312
281315
|
}
|
|
281313
281316
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
|
281314
281317
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
281315
|
-
const { HiGlassComponent } = await import("./higlass-
|
|
281318
|
+
const { HiGlassComponent } = await import("./higlass-Cq-3GxyK.js");
|
|
281316
281319
|
return { default: HiGlassComponent };
|
|
281317
281320
|
});
|
|
281318
281321
|
const HG_SIZE = 800;
|
|
@@ -281320,7 +281323,8 @@ function setStoreRootForHiGlass(url, storeRoot) {
|
|
|
281320
281323
|
ZarrMultivecDataFetcher_default.urlToStoreRoot[url] = storeRoot;
|
|
281321
281324
|
}
|
|
281322
281325
|
function HiGlassLazy(props) {
|
|
281323
|
-
const { coordinationScopes, theme, hgViewConfig: hgViewConfigProp, hgOptions: hgOptionsProp, genomeSize = 31e8, height: height2 } = props;
|
|
281326
|
+
const { coordinationScopes: coordinationScopesRaw, theme, hgViewConfig: hgViewConfigProp, hgOptions: hgOptionsProp, genomeSize = 31e8, height: height2 } = props;
|
|
281327
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
281324
281328
|
const [{ genomicZoomX, genomicZoomY, genomicTargetX, genomicTargetY }, { setGenomicZoomX, setGenomicZoomY, setGenomicTargetX, setGenomicTargetY }] = useCoordination(COMPONENT_COORDINATION_TYPES.higlass, coordinationScopes);
|
|
281325
281329
|
const [width2, computedHeight, containerRef] = useGridItemSize();
|
|
281326
281330
|
const [hgInstance, setHgInstance] = useState();
|
|
@@ -281478,9 +281482,10 @@ const REFERENCE_STATIC_FILES = {
|
|
|
281478
281482
|
}
|
|
281479
281483
|
};
|
|
281480
281484
|
function GenomicProfilesSubscriber(props) {
|
|
281481
|
-
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;
|
|
281485
|
+
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;
|
|
281482
281486
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
281483
281487
|
const loaders = useLoaders();
|
|
281488
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
281484
281489
|
const [{ dataset, obsSetColor: cellSetColor, obsSetSelection: cellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.GENOMIC_PROFILES], coordinationScopes);
|
|
281485
281490
|
const [genomicProfilesData, genomicProfilesStatus, genomicProfilesUrls, genomicProfilesError] = useGenomicProfilesData(loaders, dataset, true, {}, {}, {});
|
|
281486
281491
|
const errors = [
|
|
@@ -284255,7 +284260,7 @@ function NeuroglancerGlobalStyles(props) {
|
|
|
284255
284260
|
const { classes: classes2 } = props;
|
|
284256
284261
|
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
|
|
284257
284262
|
}
|
|
284258
|
-
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-
|
|
284263
|
+
const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BUSnHNS7.js"));
|
|
284259
284264
|
function createWorker() {
|
|
284260
284265
|
return new WorkerFactory();
|
|
284261
284266
|
}
|
|
@@ -284380,7 +284385,9 @@ function normalizeQuaternion(q) {
|
|
|
284380
284385
|
return q.map((value2) => value2 / length2);
|
|
284381
284386
|
}
|
|
284382
284387
|
function NeuroglancerSubscriber(props) {
|
|
284383
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Neuroglancer", helpText = ViewHelpMapping.NEUROGLANCER, viewerState: initialViewerState } = props;
|
|
284388
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Neuroglancer", helpText = ViewHelpMapping.NEUROGLANCER, viewerState: initialViewerState } = props;
|
|
284389
|
+
const loaders = useLoaders();
|
|
284390
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
284384
284391
|
const [{
|
|
284385
284392
|
dataset,
|
|
284386
284393
|
obsType,
|
|
@@ -284411,7 +284418,6 @@ function NeuroglancerSubscriber(props) {
|
|
|
284411
284418
|
setSpatialZoom: setZoom
|
|
284412
284419
|
}] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.NEUROGLANCER], coordinationScopes);
|
|
284413
284420
|
const { classes: classes2 } = useStyles$4();
|
|
284414
|
-
const loaders = useLoaders();
|
|
284415
284421
|
const [{ obsSets: cellSets }] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { cellSetSelection, obsSetColor: cellSetColor }, { obsType });
|
|
284416
284422
|
const [{ obsIndex }] = useObsEmbeddingData(loaders, dataset, true, {}, {}, { obsType, embeddingType: mapping });
|
|
284417
284423
|
const handleStateUpdate = useCallback((newState) => {
|
|
@@ -286800,9 +286806,10 @@ function useExpressionByCellSet(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
|
286800
286806
|
return [expressionArr, setArr, expressionMax];
|
|
286801
286807
|
}
|
|
286802
286808
|
function CellSetExpressionPlotSubscriber(props) {
|
|
286803
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2, xAxisTitle, jitter: jitter2 = false, yMin = null, yUnits = null, helpText = ViewHelpMapping.OBS_SET_FEATURE_VALUE_DISTRIBUTION } = props;
|
|
286809
|
+
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;
|
|
286804
286810
|
const { classes: classes2 } = useStyles$3();
|
|
286805
286811
|
const loaders = useLoaders();
|
|
286812
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
286806
286813
|
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$2.OBS_SET_FEATURE_VALUE_DISTRIBUTION], coordinationScopes);
|
|
286807
286814
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
286808
286815
|
const transformOptions = VALUE_TRANSFORM_OPTIONS;
|
|
@@ -337579,9 +337586,10 @@ function CellSetSizesPlot(props) {
|
|
|
337579
337586
|
return jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, signalListeners, getTooltipText });
|
|
337580
337587
|
}
|
|
337581
337588
|
function CellSetSizesPlotSubscriber(props) {
|
|
337582
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SET_SIZES } = props;
|
|
337589
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SET_SIZES } = props;
|
|
337583
337590
|
const { classes: classes2 } = useStyles$3();
|
|
337584
337591
|
const loaders = useLoaders();
|
|
337592
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
337585
337593
|
const [{ dataset, obsType, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, obsSetExpansion: cellSetExpansion }, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.OBS_SET_SIZES], coordinationScopes);
|
|
337586
337594
|
const title2 = titleOverride || `${capitalize$3(obsType)} Set Sizes`;
|
|
337587
337595
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
@@ -337688,9 +337696,10 @@ function ExpressionHistogram(props) {
|
|
|
337688
337696
|
return jsxRuntimeExports.jsx(VegaPlot, { data: data2, signalListeners, spec });
|
|
337689
337697
|
}
|
|
337690
337698
|
function ExpressionHistogramSubscriber(props) {
|
|
337691
|
-
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_VALUE_HISTOGRAM } = props;
|
|
337699
|
+
const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_VALUE_HISTOGRAM } = props;
|
|
337692
337700
|
const { classes: classes2 } = useStyles$3();
|
|
337693
337701
|
const loaders = useLoaders();
|
|
337702
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
337694
337703
|
const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, additionalObsSets: additionalCellSets, obsSetColor: cellSetColor }, { setAdditionalObsSets: setAdditionalCellSets, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setObsSetSelection: setCellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.FEATURE_VALUE_HISTOGRAM], coordinationScopes);
|
|
337695
337704
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
337696
337705
|
const [{ obsIndex, featureIndex, obsFeatureMatrix }, matrixStatus, matrixUrls, matrixError] = useObsFeatureMatrixData(loaders, dataset, true, {}, {}, { obsType, featureType, featureValueType });
|
|
@@ -337953,9 +337962,10 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
|
|
|
337953
337962
|
return [resultArr, meanExpressionMax];
|
|
337954
337963
|
}
|
|
337955
337964
|
function DotPlotSubscriber(props) {
|
|
337956
|
-
const { coordinationScopes, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
|
|
337965
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
|
|
337957
337966
|
const { classes: classes2 } = useStyles$3();
|
|
337958
337967
|
const loaders = useLoaders();
|
|
337968
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
337959
337969
|
const [{
|
|
337960
337970
|
dataset,
|
|
337961
337971
|
obsType,
|
|
@@ -338131,9 +338141,10 @@ function FeatureBarPlot(props) {
|
|
|
338131
338141
|
} });
|
|
338132
338142
|
}
|
|
338133
338143
|
function FeatureBarPlotSubscriber(props) {
|
|
338134
|
-
const { coordinationScopes, removeGridComponent, theme, yMin = 0, yUnits = null, helpText = ViewHelpMapping.FEATURE_BAR_PLOT } = props;
|
|
338144
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, yMin = 0, yUnits = null, helpText = ViewHelpMapping.FEATURE_BAR_PLOT } = props;
|
|
338135
338145
|
const { classes: classes2 } = useStyles$3();
|
|
338136
338146
|
const loaders = useLoaders();
|
|
338147
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
338137
338148
|
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$2.FEATURE_BAR_PLOT], coordinationScopes);
|
|
338138
338149
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
338139
338150
|
const [
|
|
@@ -338335,9 +338346,10 @@ function TreemapOptions(props) {
|
|
|
338335
338346
|
}
|
|
338336
338347
|
const DEFAULT_HIERARCHY_LEVELS = ["obsSet", "sampleSet"];
|
|
338337
338348
|
function TreemapSubscriber(props) {
|
|
338338
|
-
const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
|
|
338349
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
|
|
338339
338350
|
const { classes: classes2 } = useStyles$3();
|
|
338340
338351
|
const loaders = useLoaders();
|
|
338352
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
338341
338353
|
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$2.TREEMAP], coordinationScopes);
|
|
338342
338354
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
338343
338355
|
const [{ obsIndex }, matrixIndicesStatus, matrixIndicesUrls, matrixIndicesError] = useObsFeatureMatrixIndices(loaders, dataset, false, { obsType, featureType, featureValueType });
|
|
@@ -338580,9 +338592,10 @@ function VolcanoPlotOptions(props) {
|
|
|
338580
338592
|
}, 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 }) })] })] });
|
|
338581
338593
|
}
|
|
338582
338594
|
function VolcanoPlotSubscriber(props) {
|
|
338583
|
-
const { title: title2 = "Volcano Plot", coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.VOLCANO_PLOT } = props;
|
|
338595
|
+
const { title: title2 = "Volcano Plot", coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.VOLCANO_PLOT } = props;
|
|
338584
338596
|
const { classes: classes2 } = useStyles$3();
|
|
338585
338597
|
const loaders = useLoaders();
|
|
338598
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
338586
338599
|
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$2.VOLCANO_PLOT], coordinationScopes);
|
|
338587
338600
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
338588
338601
|
const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.OBS_SETS, { obsType });
|
|
@@ -338786,9 +338799,10 @@ function CellSetCompositionBarPlot(props) {
|
|
|
338786
338799
|
return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
|
|
338787
338800
|
}
|
|
338788
338801
|
function CellSetCompositionBarPlotSubscriber(props) {
|
|
338789
|
-
const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.OBS_SET_COMPOSITION_BAR_PLOT } = props;
|
|
338802
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.OBS_SET_COMPOSITION_BAR_PLOT } = props;
|
|
338790
338803
|
const { classes: classes2 } = useStyles$3();
|
|
338791
338804
|
const loaders = useLoaders();
|
|
338805
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
338792
338806
|
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$2.OBS_SET_COMPOSITION_BAR_PLOT], coordinationScopes);
|
|
338793
338807
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
338794
338808
|
const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.OBS_SETS, { obsType });
|
|
@@ -338969,9 +338983,10 @@ function FeatureSetEnrichmentBarPlot(props) {
|
|
|
338969
338983
|
return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
|
|
338970
338984
|
}
|
|
338971
338985
|
function FeatureSetEnrichmentBarPlotSubscriber(props) {
|
|
338972
|
-
const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_SET_ENRICHMENT_BAR_PLOT } = props;
|
|
338986
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_SET_ENRICHMENT_BAR_PLOT } = props;
|
|
338973
338987
|
const { classes: classes2 } = useStyles$3();
|
|
338974
338988
|
const loaders = useLoaders();
|
|
338989
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
338975
338990
|
const transformFeature2 = useAsyncFunction(AsyncFunctionType.TRANSFORM_FEATURE);
|
|
338976
338991
|
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$2.FEATURE_SET_ENRICHMENT_BAR_PLOT], coordinationScopes);
|
|
338977
338992
|
const [width2, height2, containerRef] = useGridItemSize();
|
|
@@ -339100,8 +339115,9 @@ function FeatureStatsTable(props) {
|
|
|
339100
339115
|
});
|
|
339101
339116
|
}
|
|
339102
339117
|
function FeatureStatsTableSubscriber(props) {
|
|
339103
|
-
const { title: title2 = "Differential Expression Results", coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_STATS_TABLE } = props;
|
|
339118
|
+
const { title: title2 = "Differential Expression Results", coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_STATS_TABLE } = props;
|
|
339104
339119
|
const loaders = useLoaders();
|
|
339120
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
339105
339121
|
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$2.FEATURE_STATS_TABLE], coordinationScopes);
|
|
339106
339122
|
const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.OBS_SETS, { obsType });
|
|
339107
339123
|
const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.SAMPLE_SETS, { sampleType });
|
|
@@ -342449,19 +342465,36 @@ class SpatialDataObsSegmentationsLoader extends AbstractTwoStepLoader {
|
|
|
342449
342465
|
this.loadObsIndex(),
|
|
342450
342466
|
this.loadPolygons()
|
|
342451
342467
|
]);
|
|
342468
|
+
const channelCoordination = [{
|
|
342469
|
+
// obsType: null,
|
|
342470
|
+
spatialChannelColor: [255, 255, 255],
|
|
342471
|
+
spatialChannelVisible: true,
|
|
342472
|
+
spatialChannelOpacity: 1,
|
|
342473
|
+
spatialChannelWindow: null,
|
|
342474
|
+
// featureType: 'feature',
|
|
342475
|
+
// featureValueType: 'value',
|
|
342476
|
+
obsColorEncoding: "spatialChannelColor",
|
|
342477
|
+
spatialSegmentationFilled: true,
|
|
342478
|
+
spatialSegmentationStrokeWidth: 1,
|
|
342479
|
+
obsHighlight: null
|
|
342480
|
+
}];
|
|
342452
342481
|
const coordinationValues = {
|
|
342453
|
-
segmentationLayer: CL(
|
|
342454
|
-
|
|
342455
|
-
|
|
342456
|
-
|
|
342457
|
-
|
|
342458
|
-
|
|
342459
|
-
|
|
342460
|
-
|
|
342461
|
-
|
|
342462
|
-
|
|
342463
|
-
|
|
342464
|
-
|
|
342482
|
+
segmentationLayer: CL([
|
|
342483
|
+
{
|
|
342484
|
+
// TODO: more coordination values here?
|
|
342485
|
+
// obsColorEncoding: 'spatialLayerColor',
|
|
342486
|
+
// spatialLayerColor: [255, 255, 255],
|
|
342487
|
+
fileUid: this.coordinationValues?.fileUid || null,
|
|
342488
|
+
spatialLayerVisible: true,
|
|
342489
|
+
spatialLayerOpacity: 1,
|
|
342490
|
+
segmentationChannel: CL(channelCoordination)
|
|
342491
|
+
// featureValueColormapRange: [0, 1],
|
|
342492
|
+
// obsHighlight: null,
|
|
342493
|
+
// obsSetColor: null,
|
|
342494
|
+
// obsSetSelection: null,
|
|
342495
|
+
// additionalObsSets: null,
|
|
342496
|
+
}
|
|
342497
|
+
])
|
|
342465
342498
|
};
|
|
342466
342499
|
return new LoaderResult({ obsIndex, obsSegmentations, obsSegmentationsType: "polygon" }, null, coordinationValues);
|
|
342467
342500
|
}
|
|
@@ -391891,11 +391924,12 @@ function ScmdUi(props) {
|
|
|
391891
391924
|
}
|
|
391892
391925
|
function BiomarkerSelectSubscriber(props) {
|
|
391893
391926
|
const {
|
|
391894
|
-
coordinationScopes,
|
|
391927
|
+
coordinationScopes: coordinationScopesRaw,
|
|
391895
391928
|
stratificationOptions: stratificationOptionsProp
|
|
391896
391929
|
// TODO: Remove; Get from comparisonMetadata instead
|
|
391897
391930
|
} = props;
|
|
391898
391931
|
const loaders = useLoaders();
|
|
391932
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
391899
391933
|
const [{ dataset, obsType, sampleType, sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.BIOMARKER_SELECT], coordinationScopes);
|
|
391900
391934
|
const viewConfigStoreApi = useViewConfigStoreApi();
|
|
391901
391935
|
const viewConfig = useViewConfig();
|
|
@@ -391989,7 +392023,8 @@ const useStyles$1 = makeStyles()((theme) => ({
|
|
|
391989
392023
|
}
|
|
391990
392024
|
}));
|
|
391991
392025
|
function ComparativeHeadingSubscriber(props) {
|
|
391992
|
-
const { coordinationScopes } = props;
|
|
392026
|
+
const { coordinationScopes: coordinationScopesRaw } = props;
|
|
392027
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
391993
392028
|
const [{ sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.COMPARATIVE_HEADING], coordinationScopes);
|
|
391994
392029
|
const { classes: classes2 } = useStyles$1();
|
|
391995
392030
|
const swapSampleSets = useCallback(() => {
|
|
@@ -392026,9 +392061,10 @@ const useStyles = makeStyles()(() => ({
|
|
|
392026
392061
|
}
|
|
392027
392062
|
}));
|
|
392028
392063
|
function SampleSetPairManagerSubscriber(props) {
|
|
392029
|
-
const { coordinationScopes, removeGridComponent, theme, title: title2 = "Sample Sets", closeButtonVisible, helpText = ViewHelpMapping.SAMPLE_SET_PAIR_MANAGER } = props;
|
|
392064
|
+
const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, title: title2 = "Sample Sets", closeButtonVisible, helpText = ViewHelpMapping.SAMPLE_SET_PAIR_MANAGER } = props;
|
|
392030
392065
|
const { classes: classes2 } = useStyles();
|
|
392031
392066
|
const loaders = useLoaders();
|
|
392067
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
392032
392068
|
const [{ dataset, obsType, sampleType, sampleSetSelection }, { setSampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.SAMPLE_SET_PAIR_MANAGER], coordinationScopes);
|
|
392033
392069
|
const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.SAMPLE_SETS, { sampleType });
|
|
392034
392070
|
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-BBDd_SYU.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-B-O_R43q.js"), []);
|
|
23641
23641
|
const invalidate2 = useThree(({
|
|
23642
23642
|
invalidate: invalidate3
|
|
23643
23643
|
}) => invalidate3);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bU, bP, bN, bO, bY, bZ, bQ, c5, c3, c1, c4, c2, bM, c0, bR, bL, bK, bW, bV, bX, b$, b_, bT, ca, cd, c7, ce, cf, c8, cb, cc, c9, bS, c6 } from "./index-
|
|
1
|
+
import { bU, bP, bN, bO, bY, bZ, bQ, c5, c3, c1, c4, c2, bM, c0, bR, bL, bK, bW, bV, bX, b$, b_, bT, ca, cd, c7, ce, cf, c8, cb, cc, c9, bS, c6 } from "./index-BBDd_SYU.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
bU as CoordinationLevel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-BBDd_SYU.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bE as MeshDistanceMaterial, bF as MeshDepthMaterial, bG as RGBADepthPacking, aB as UniformsUtils, bH as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bI as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bJ as InstancedBufferAttribute } from "./index-
|
|
1
|
+
import { bE as MeshDistanceMaterial, bF as MeshDepthMaterial, bG as RGBADepthPacking, aB as UniformsUtils, bH as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bI as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bJ as InstancedBufferAttribute } from "./index-BBDd_SYU.js";
|
|
2
2
|
function workerBootstrap() {
|
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
function registerModule(ref, callback) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/dev",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.18",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vitessce/all": "3.6.
|
|
20
|
-
"@vitessce/config": "3.6.
|
|
21
|
-
"@vitessce/constants": "3.6.
|
|
22
|
-
"@vitessce/export-utils": "3.6.
|
|
19
|
+
"@vitessce/all": "3.6.18",
|
|
20
|
+
"@vitessce/config": "3.6.18",
|
|
21
|
+
"@vitessce/constants": "3.6.18",
|
|
22
|
+
"@vitessce/export-utils": "3.6.18"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.5.0",
|