@vitessce/dev 3.6.16 → 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.
@@ -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-uQdvQBfF.js";
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-uQdvQBfF.js";
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-uQdvQBfF.js";
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.16";
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: cellSetSelection, obsSetExpansion: cellSetExpansion, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, obsColorEncoding: cellColorEncoding }, { setObsSetSelection: setCellSetSelection, setObsColorEncoding: setCellColorEncoding, setObsSetColor: setCellSetColor, setObsSetExpansion: setCellSetExpansion, setAdditionalObsSets: setAdditionalCellSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.OBS_SETS], coordinationScopes);
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
- useEffect(() => {
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 (additionalCellSets) {
119748
+ if (additionalObsSets) {
119752
119749
  let upgradedCellSets;
119753
119750
  let didUpgrade;
119754
119751
  try {
119755
- [upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(additionalCellSets, SETS_DATATYPE_OBS);
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
- setAdditionalCellSets(upgradedCellSets);
119758
+ setAdditionalObsSets(upgradedCellSets);
119762
119759
  }
119763
119760
  }
119764
- }, [additionalCellSets, setAdditionalCellSets, setWarning]);
119761
+ }, [additionalObsSets, setAdditionalObsSets, setWarning]);
119765
119762
  const allCellIds = useMemo$1(() => obsIndex || [], [obsIndex]);
119766
- const setCellSetColorEncoding = useCallback(() => {
119767
- setCellColorEncoding("cellSetSelection");
119768
- }, [setCellColorEncoding]);
119769
- const mergedCellSets = useMemo$1(() => mergeObsSets(cellSets, additionalCellSets), [cellSets, additionalCellSets]);
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 (cellSetSelection && cellSetSelection.length > 0 && mergedCellSets && mergedCellSets.tree.length > 0) {
119772
- return treeToExpectedCheckedLevel(mergedCellSets, cellSetSelection);
119768
+ if (obsSetSelection && obsSetSelection.length > 0 && mergedObsSets && mergedObsSets.tree.length > 0) {
119769
+ return treeToExpectedCheckedLevel(mergedObsSets, obsSetSelection);
119773
119770
  }
119774
119771
  return null;
119775
- }, [cellSetSelection, mergedCellSets]);
119772
+ }, [obsSetSelection, mergedObsSets]);
119776
119773
  const onCheckLevel = useCallback((levelZeroName, levelIndex) => {
119777
- const lzn = mergedCellSets.tree.find((n3) => n3.name === levelZeroName);
119774
+ const lzn = mergedObsSets.tree.find((n3) => n3.name === levelZeroName);
119778
119775
  if (lzn) {
119779
- const newCellSetSelection = nodeToLevelDescendantNamePaths(lzn, levelIndex, [], true);
119780
- setCellSetSelection(newCellSetSelection);
119781
- setCellSetColorEncoding();
119776
+ const newObsSetSelection = nodeToLevelDescendantNamePaths(lzn, levelIndex, [], true);
119777
+ setObsSetSelection(newObsSetSelection);
119778
+ setObsSetColorEncoding();
119782
119779
  }
119783
- }, [mergedCellSets, setCellSetColorEncoding, setCellSetSelection]);
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
- setCellSetSelection([...cellSetSelection, targetPath]);
119787
+ setObsSetSelection([...obsSetSelection, targetPath]);
119791
119788
  } else {
119792
- setCellSetSelection(cellSetSelection.filter((d) => !isEqual$3(d, targetPath)));
119789
+ setObsSetSelection(obsSetSelection.filter((d) => !isEqual$3(d, targetPath)));
119793
119790
  }
119794
- setCellSetColorEncoding();
119795
- }, [cellSetSelection, setCellSetColorEncoding, setCellSetSelection]);
119791
+ setObsSetColorEncoding();
119792
+ }, [obsSetSelection, setObsSetColorEncoding, setObsSetSelection]);
119796
119793
  const onExpandNode = useCallback((expandedKeys, targetKey, expanded) => {
119797
- const prevCellSetExpansion = cellSetExpansion || [];
119794
+ const prevObsSetExpansion = obsSetExpansion || [];
119798
119795
  if (expanded) {
119799
- setCellSetExpansion([...prevCellSetExpansion, targetKey.split(PATH_SEP)]);
119796
+ setObsSetExpansion([...prevObsSetExpansion, targetKey.split(PATH_SEP)]);
119800
119797
  } else {
119801
- const newCellSetExpansion = prevCellSetExpansion.filter((d) => !isEqual$3(d, targetKey.split(PATH_SEP)));
119802
- setCellSetExpansion(newCellSetExpansion);
119798
+ const newObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqual$3(d, targetKey.split(PATH_SEP)));
119799
+ setObsSetExpansion(newObsSetExpansion);
119803
119800
  }
119804
- }, [cellSetExpansion, setCellSetExpansion]);
119801
+ }, [obsSetExpansion, setObsSetExpansion]);
119805
119802
  const onDropNode = useCallback((dropKey, dragKey, dropPosition, dropToGap) => {
119806
119803
  const dropPath = dropKey.split(PATH_SEP);
119807
- const dropNode = treeFindNodeByNamePath(additionalCellSets, dropPath);
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(additionalCellSets, dragPath);
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(additionalCellSets, dropParentPath);
119820
+ dropParentNode = treeFindNodeByNamePath(additionalObsSets, dropParentPath);
119824
119821
  dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
119825
119822
  } else {
119826
- dropNodeCurrIndex = additionalCellSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
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 = additionalCellSets.tree.find((lzn) => lzn !== dragNode && lzn.name === dragNodeName);
119832
+ hasSiblingNameConflict = additionalObsSets.tree.find((lzn) => lzn !== dragNode && lzn.name === dragNodeName);
119836
119833
  }
119837
119834
  if (hasSiblingNameConflict) {
119838
119835
  return;
119839
119836
  }
119840
- const nextAdditionalCellSets = {
119841
- ...additionalCellSets,
119842
- tree: additionalCellSets.tree.map((lzn) => filterNode(lzn, [], dragPath)).filter(Boolean)
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 = nextAdditionalCellSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
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
- nextAdditionalCellSets.tree = nextAdditionalCellSets.tree.map((node2) => nodeTransform(node2, (n3, path2) => checkPathFunction(path2), (n3) => {
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
- setAdditionalCellSets(nextAdditionalCellSets);
119867
+ setAdditionalObsSets(nextAdditionalObsSets);
119871
119868
  newDragPath = [...newPath[0], dragNode.name];
119872
- setCellSetSelection([newDragPath]);
119869
+ setObsSetSelection([newDragPath]);
119873
119870
  } else if (dropPosition === -1) {
119874
- nextAdditionalCellSets.tree.unshift(dragNode);
119875
- setAdditionalCellSets(nextAdditionalCellSets);
119871
+ nextAdditionalObsSets.tree.unshift(dragNode);
119872
+ setAdditionalObsSets(nextAdditionalObsSets);
119876
119873
  newDragPath = [dragNode.name];
119877
- setCellSetSelection([newDragPath]);
119874
+ setObsSetSelection([newDragPath]);
119878
119875
  } else {
119879
119876
  const insertIndex = dropNodeCurrIndex + (dropPosition > dropNodeCurrIndex ? 1 : 0);
119880
- const newLevelZero = Array.from(nextAdditionalCellSets.tree);
119877
+ const newLevelZero = Array.from(nextAdditionalObsSets.tree);
119881
119878
  newLevelZero.splice(insertIndex, 0, dragNode);
119882
- nextAdditionalCellSets.tree = newLevelZero;
119883
- setAdditionalCellSets(nextAdditionalCellSets);
119879
+ nextAdditionalObsSets.tree = newLevelZero;
119880
+ setAdditionalObsSets(nextAdditionalObsSets);
119884
119881
  newDragPath = [dragNode.name];
119885
- setCellSetSelection([newDragPath]);
119882
+ setObsSetSelection([newDragPath]);
119886
119883
  }
119887
- const oldColors = cellSetColor.filter((i2) => isEqualOrPrefix(dragPath, i2.path));
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 newCellSetColor = cellSetColor.filter((i2) => !isEqualOrPrefix(dragPath, i2.path));
119893
- newCellSetColor.push(...newColors);
119894
- setCellSetColor(newCellSetColor);
119889
+ const newObsSetColor = obsSetColor.filter((i2) => !isEqualOrPrefix(dragPath, i2.path));
119890
+ newObsSetColor.push(...newColors);
119891
+ setObsSetColor(newObsSetColor);
119895
119892
  }, [
119896
- additionalCellSets,
119897
- cellSetColor,
119898
- setAdditionalCellSets,
119899
- setCellSetColor,
119900
- setCellSetSelection
119893
+ additionalObsSets,
119894
+ obsSetColor,
119895
+ setAdditionalObsSets,
119896
+ setObsSetColor,
119897
+ setObsSetSelection
119901
119898
  ]);
119902
119899
  const onNodeSetColor = useCallback((targetPath, color2) => {
119903
- const prevNodeColor = cellSetColor?.find((d) => isEqual$3(d.path, targetPath));
119900
+ const prevNodeColor = obsSetColor?.find((d) => isEqual$3(d.path, targetPath));
119904
119901
  if (!prevNodeColor) {
119905
- setCellSetColor([
119906
- ...cellSetColor || [],
119902
+ setObsSetColor([
119903
+ ...obsSetColor || [],
119907
119904
  {
119908
119905
  path: targetPath,
119909
119906
  color: color2
119910
119907
  }
119911
119908
  ]);
119912
119909
  } else {
119913
- setCellSetColor([
119914
- ...cellSetColor.filter((d) => !isEqual$3(d.path, targetPath)),
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
- }, [cellSetColor, setCellSetColor]);
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 prevCellSetExpansion = cellSetExpansion || [];
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 nextAdditionalCellSets = {
119943
- ...additionalCellSets,
119944
- tree: additionalCellSets.tree.map((lzn) => renameNode(lzn, []))
119939
+ const nextAdditionalObsSets = {
119940
+ ...additionalObsSets,
119941
+ tree: additionalObsSets.tree.map((lzn) => renameNode(lzn, []))
119945
119942
  };
119946
- const nextCellSetColor = cellSetColor.map((d) => ({
119943
+ const nextObsSetColor = obsSetColor.map((d) => ({
119947
119944
  path: tryRenamePath(targetPath, d.path, nextNamePath),
119948
119945
  color: d.color
119949
119946
  }));
119950
- const nextCellSetSelection = cellSetSelection.map((d) => tryRenamePath(targetPath, d, nextNamePath));
119951
- const nextCellSetExpansion = prevCellSetExpansion.map((d) => tryRenamePath(targetPath, d, nextNamePath));
119952
- setAdditionalCellSets(nextAdditionalCellSets);
119953
- setCellSetColor(nextCellSetColor);
119954
- setCellSetSelection(nextCellSetSelection);
119955
- setCellSetExpansion(nextCellSetExpansion);
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
- additionalCellSets,
119958
- cellSetColor,
119959
- cellSetExpansion,
119960
- cellSetSelection,
119961
- setAdditionalCellSets,
119962
- setCellSetColor,
119963
- setCellSetSelection,
119964
- setCellSetExpansion
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(additionalCellSets, nextNamePath);
119967
+ const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(additionalObsSets, nextNamePath);
119971
119968
  return hasConflicts;
119972
- }, [additionalCellSets]);
119969
+ }, [additionalObsSets]);
119973
119970
  const onNodeRemove = useCallback((targetPath) => {
119974
- const prevCellSetExpansion = cellSetExpansion || [];
119975
- const nextAdditionalCellSets = {
119976
- ...additionalCellSets,
119977
- tree: additionalCellSets.tree.map((lzn) => filterNode(lzn, [], targetPath)).filter(Boolean)
119978
- };
119979
- const nextCellSetColor = cellSetColor.filter((d) => !isEqualOrPrefix(targetPath, d.path));
119980
- const nextCellSetSelection = cellSetSelection.filter((d) => !isEqualOrPrefix(targetPath, d));
119981
- const nextCellSetExpansion = prevCellSetExpansion.filter((d) => !isEqualOrPrefix(targetPath, d));
119982
- setAdditionalCellSets(nextAdditionalCellSets);
119983
- setCellSetColor(nextCellSetColor);
119984
- setCellSetSelection(nextCellSetSelection);
119985
- setCellSetExpansion(nextCellSetExpansion);
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
- additionalCellSets,
119988
- cellSetColor,
119989
- cellSetExpansion,
119990
- cellSetSelection,
119991
- setAdditionalCellSets,
119992
- setCellSetColor,
119993
- setCellSetSelection,
119994
- setCellSetExpansion
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 (cellSetExpansion?.find((expandedPath) => isEqual$3(nodePath, expandedPath))) {
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(mergedCellSets, targetPath);
120008
+ const targetNode = treeFindNodeByNamePath(mergedObsSets, targetPath);
120012
120009
  viewNode(targetNode, targetPath);
120013
- setCellSetSelection(setsToView);
120014
- setCellSetColorEncoding();
120015
- }, [cellSetExpansion, mergedCellSets, setCellSetColorEncoding, setCellSetSelection]);
120010
+ setObsSetSelection(setsToView);
120011
+ setObsSetColorEncoding();
120012
+ }, [obsSetExpansion, mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
120016
120013
  const onCreateLevelZeroNode = useCallback(() => {
120017
- const nextName = getNextNumberedNodeName(additionalCellSets?.tree, "My hierarchy ", "");
120018
- setAdditionalCellSets({
120019
- ...additionalCellSets || treeInitialize(SETS_DATATYPE_OBS),
120014
+ const nextName = getNextNumberedNodeName(additionalObsSets?.tree, "My hierarchy ", "");
120015
+ setAdditionalObsSets({
120016
+ ...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
120020
120017
  tree: [
120021
- ...additionalCellSets ? additionalCellSets.tree : [],
120018
+ ...additionalObsSets ? additionalObsSets.tree : [],
120022
120019
  {
120023
120020
  name: nextName,
120024
120021
  children: []
120025
120022
  }
120026
120023
  ]
120027
120024
  });
120028
- }, [additionalCellSets, setAdditionalCellSets]);
120025
+ }, [additionalObsSets, setAdditionalObsSets]);
120029
120026
  const onUnion = useCallback(() => {
120030
- const newSet = treeToUnion(mergedCellSets, cellSetSelection);
120031
- setObsSelection(newSet, additionalCellSets, cellSetColor, setCellSetSelection, setAdditionalCellSets, setCellSetColor, setCellColorEncoding, "Union ");
120027
+ const newSet = treeToUnion(mergedObsSets, obsSetSelection);
120028
+ setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Union ");
120032
120029
  }, [
120033
- additionalCellSets,
120034
- cellSetColor,
120035
- cellSetSelection,
120036
- mergedCellSets,
120037
- setAdditionalCellSets,
120038
- setCellColorEncoding,
120039
- setCellSetColor,
120040
- setCellSetSelection
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(mergedCellSets, cellSetSelection);
120044
- setObsSelection(newSet, additionalCellSets, cellSetColor, setCellSetSelection, setAdditionalCellSets, setCellSetColor, setCellColorEncoding, "Intersection ");
120040
+ const newSet = treeToIntersection(mergedObsSets, obsSetSelection);
120041
+ setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Intersection ");
120045
120042
  }, [
120046
- additionalCellSets,
120047
- cellSetColor,
120048
- cellSetSelection,
120049
- mergedCellSets,
120050
- setAdditionalCellSets,
120051
- setCellColorEncoding,
120052
- setCellSetColor,
120053
- setCellSetSelection
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(mergedCellSets, cellSetSelection, allCellIds);
120057
- setObsSelection(newSet, additionalCellSets, cellSetColor, setCellSetSelection, setAdditionalCellSets, setCellSetColor, setCellColorEncoding, "Complement ");
120053
+ const newSet = treeToComplement(mergedObsSets, obsSetSelection, allCellIds);
120054
+ setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Complement ");
120058
120055
  }, [
120059
- additionalCellSets,
120056
+ additionalObsSets,
120060
120057
  allCellIds,
120061
- cellSetColor,
120062
- cellSetSelection,
120063
- mergedCellSets,
120064
- setAdditionalCellSets,
120065
- setCellColorEncoding,
120066
- setCellSetColor,
120067
- setCellSetSelection
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(mergedCellSets, treeToImport);
120067
+ const hasConflict = treesConflict(mergedObsSets, treeToImport);
120071
120068
  if (!hasConflict) {
120072
- setAdditionalCellSets({
120073
- ...additionalCellSets || treeInitialize(SETS_DATATYPE_OBS),
120069
+ setAdditionalObsSets({
120070
+ ...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
120074
120071
  tree: [
120075
- ...additionalCellSets ? additionalCellSets.tree : [],
120072
+ ...additionalObsSets ? additionalObsSets.tree : [],
120076
120073
  ...treeToImport.tree
120077
120074
  ]
120078
120075
  });
120079
- const importAutoSetColors = initializeCellSetColor(treeToImport, cellSetColor);
120080
- setCellSetColor([
120081
- ...cellSetColor,
120076
+ const importAutoSetColors = initializeCellSetColor(treeToImport, obsSetColor);
120077
+ setObsSetColor([
120078
+ ...obsSetColor,
120082
120079
  ...importAutoSetColors
120083
120080
  ]);
120084
120081
  }
120085
120082
  }, [
120086
- additionalCellSets,
120087
- cellSetColor,
120088
- mergedCellSets,
120089
- setAdditionalCellSets,
120090
- setCellSetColor
120083
+ additionalObsSets,
120084
+ obsSetColor,
120085
+ mergedObsSets,
120086
+ setAdditionalObsSets,
120087
+ setObsSetColor
120091
120088
  ]);
120092
120089
  const onExportLevelZeroNodeJSON = useCallback((nodePath) => {
120093
- const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedCellSets, nodePath, SETS_DATATYPE_OBS, cellSetColor, theme);
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
- }, [cellSetColor, mergedCellSets, theme]);
120092
+ }, [obsSetColor, mergedObsSets, theme]);
120096
120093
  const onExportLevelZeroNodeTabular = useCallback((nodePath) => {
120097
- const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedCellSets, nodePath, SETS_DATATYPE_OBS, cellSetColor, theme);
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
- }, [cellSetColor, mergedCellSets, theme]);
120096
+ }, [obsSetColor, mergedObsSets, theme]);
120100
120097
  const onExportSetJSON = useCallback((nodePath) => {
120101
- const { setToExport, nodeName } = treeExportSet(mergedCellSets, nodePath);
120098
+ const { setToExport, nodeName } = treeExportSet(mergedObsSets, nodePath);
120102
120099
  downloadForUser(handleExportJSON(setToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-set.${FILE_EXTENSION_JSON}`);
120103
- }, [mergedCellSets]);
120104
- const manager2 = useMemo$1(() => jsxRuntimeExports.jsx(SetsManager, { setColor: cellSetColor, sets: cellSets, additionalSets: additionalCellSets, levelSelection: checkedLevel, setSelection: cellSetSelection, setExpansion: cellSetExpansion, hasColorEncoding: cellColorEncoding === "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: cellSetSelection?.length > 1, hasCheckedSetsToIntersect: cellSetSelection?.length > 1, hasCheckedSetsToComplement: cellSetSelection?.length > 0, theme }), [
120105
- additionalCellSets,
120106
- cellColorEncoding,
120107
- cellSetColor,
120108
- cellSetExpansion,
120109
- cellSetSelection,
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-BN1d74qu.js").then((m2) => m2.default));
225697
- addDecoder(5, () => import("./lzw-puG0Z4Sb.js").then((m2) => m2.default));
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-DKNCqScC.js").then((m2) => m2.default));
225702
- addDecoder([8, 32946], () => import("./deflate-ClAdBP51.js").then((m2) => m2.default));
225703
- addDecoder(32773, () => import("./packbits-CZX0buZ0.js").then((m2) => m2.default));
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-D5ERTHhJ.js").then(async (m2) => {
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-BFzga2Wm.js").then((m2) => m2.default));
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);
@@ -268501,6 +268501,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
268501
268501
  contrastLimits,
268502
268502
  selections,
268503
268503
  channelsVisible,
268504
+ visible,
268504
268505
  opacity: layerCoordination[CoordinationType$2.SPATIAL_LAYER_OPACITY],
268505
268506
  colormap,
268506
268507
  modelMatrix: layerDefModelMatrix,
@@ -269209,7 +269210,7 @@ class ErrorBoundary2 extends React__default.Component {
269209
269210
  }
269210
269211
  }
269211
269212
  const LazySpatialThree = React__default.lazy(async () => {
269212
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-J_nFG5zv.js");
269213
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-BVMYrt6n.js");
269213
269214
  return { default: SpatialWrapper2 };
269214
269215
  });
269215
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 }) }) }) }));
@@ -270699,8 +270700,9 @@ function HeatmapOptions(props) {
270699
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 }) })] })] });
270700
270701
  }
270701
270702
  function HeatmapSubscriber(props) {
270702
- 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;
270703
270704
  const loaders = useLoaders();
270705
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
270704
270706
  const setComponentHover = useSetComponentHover();
270705
270707
  const setComponentViewInfo = useSetComponentViewInfo(uuid2);
270706
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);
@@ -277512,7 +277514,7 @@ function FeatureList(props) {
277512
277514
  [primaryColumnName]
277513
277515
  ];
277514
277516
  }, [showFeatureTable, primaryColumnName, hasFeatureLabels]);
277515
- 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;
277516
277518
  }
277517
277519
  function FeatureListOptions(props) {
277518
277520
  const { children: children3, featureListSort, setFeatureListSort, featureListSortKey, setFeatureListSortKey, showFeatureTable, setShowFeatureTable, hasFeatureLabels, primaryColumnName } = props;
@@ -277548,8 +277550,9 @@ const useStyles$k = makeStyles()((theme) => ({
277548
277550
  }
277549
277551
  }));
277550
277552
  function FeatureListSubscriber(props) {
277551
- 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;
277552
277554
  const loaders = useLoaders();
277555
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
277553
277556
  const [width2, height2, containerRef] = useGridItemSize();
277554
277557
  const { classes: classes2 } = useStyles$k();
277555
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);
@@ -279490,7 +279493,8 @@ function Status(props) {
279490
279493
  return messages2;
279491
279494
  }
279492
279495
  function StatusSubscriber(props) {
279493
- 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);
279494
279498
  const [{ obsHighlight: cellHighlight, featureHighlight: geneHighlight, moleculeHighlight }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.STATUS], coordinationScopes);
279495
279499
  const warn2 = useWarning();
279496
279500
  const infos = [
@@ -281311,7 +281315,7 @@ function HiglassGlobalStyles(props) {
281311
281315
  }
281312
281316
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
281313
281317
  const LazyHiGlassComponent = React__default.lazy(async () => {
281314
- const { HiGlassComponent } = await import("./higlass-hMsNZc7y.js");
281318
+ const { HiGlassComponent } = await import("./higlass-Cq-3GxyK.js");
281315
281319
  return { default: HiGlassComponent };
281316
281320
  });
281317
281321
  const HG_SIZE = 800;
@@ -281319,7 +281323,8 @@ function setStoreRootForHiGlass(url, storeRoot) {
281319
281323
  ZarrMultivecDataFetcher_default.urlToStoreRoot[url] = storeRoot;
281320
281324
  }
281321
281325
  function HiGlassLazy(props) {
281322
- 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);
281323
281328
  const [{ genomicZoomX, genomicZoomY, genomicTargetX, genomicTargetY }, { setGenomicZoomX, setGenomicZoomY, setGenomicTargetX, setGenomicTargetY }] = useCoordination(COMPONENT_COORDINATION_TYPES.higlass, coordinationScopes);
281324
281329
  const [width2, computedHeight, containerRef] = useGridItemSize();
281325
281330
  const [hgInstance, setHgInstance] = useState();
@@ -281477,9 +281482,10 @@ const REFERENCE_STATIC_FILES = {
281477
281482
  }
281478
281483
  };
281479
281484
  function GenomicProfilesSubscriber(props) {
281480
- 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;
281481
281486
  const [width2, height2, containerRef] = useGridItemSize();
281482
281487
  const loaders = useLoaders();
281488
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
281483
281489
  const [{ dataset, obsSetColor: cellSetColor, obsSetSelection: cellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.GENOMIC_PROFILES], coordinationScopes);
281484
281490
  const [genomicProfilesData, genomicProfilesStatus, genomicProfilesUrls, genomicProfilesError] = useGenomicProfilesData(loaders, dataset, true, {}, {}, {});
281485
281491
  const errors = [
@@ -284254,7 +284260,7 @@ function NeuroglancerGlobalStyles(props) {
284254
284260
  const { classes: classes2 } = props;
284255
284261
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
284256
284262
  }
284257
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-hsGm39zr.js"));
284263
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BUSnHNS7.js"));
284258
284264
  function createWorker() {
284259
284265
  return new WorkerFactory();
284260
284266
  }
@@ -284379,7 +284385,9 @@ function normalizeQuaternion(q) {
284379
284385
  return q.map((value2) => value2 / length2);
284380
284386
  }
284381
284387
  function NeuroglancerSubscriber(props) {
284382
- 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);
284383
284391
  const [{
284384
284392
  dataset,
284385
284393
  obsType,
@@ -284410,7 +284418,6 @@ function NeuroglancerSubscriber(props) {
284410
284418
  setSpatialZoom: setZoom
284411
284419
  }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.NEUROGLANCER], coordinationScopes);
284412
284420
  const { classes: classes2 } = useStyles$4();
284413
- const loaders = useLoaders();
284414
284421
  const [{ obsSets: cellSets }] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { cellSetSelection, obsSetColor: cellSetColor }, { obsType });
284415
284422
  const [{ obsIndex }] = useObsEmbeddingData(loaders, dataset, true, {}, {}, { obsType, embeddingType: mapping });
284416
284423
  const handleStateUpdate = useCallback((newState) => {
@@ -286799,9 +286806,10 @@ function useExpressionByCellSet(sampleEdges, sampleSets, sampleSetSelection, exp
286799
286806
  return [expressionArr, setArr, expressionMax];
286800
286807
  }
286801
286808
  function CellSetExpressionPlotSubscriber(props) {
286802
- 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;
286803
286810
  const { classes: classes2 } = useStyles$3();
286804
286811
  const loaders = useLoaders();
286812
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
286805
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);
286806
286814
  const [width2, height2, containerRef] = useGridItemSize();
286807
286815
  const transformOptions = VALUE_TRANSFORM_OPTIONS;
@@ -337578,9 +337586,10 @@ function CellSetSizesPlot(props) {
337578
337586
  return jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, signalListeners, getTooltipText });
337579
337587
  }
337580
337588
  function CellSetSizesPlotSubscriber(props) {
337581
- 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;
337582
337590
  const { classes: classes2 } = useStyles$3();
337583
337591
  const loaders = useLoaders();
337592
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
337584
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);
337585
337594
  const title2 = titleOverride || `${capitalize$3(obsType)} Set Sizes`;
337586
337595
  const [width2, height2, containerRef] = useGridItemSize();
@@ -337687,9 +337696,10 @@ function ExpressionHistogram(props) {
337687
337696
  return jsxRuntimeExports.jsx(VegaPlot, { data: data2, signalListeners, spec });
337688
337697
  }
337689
337698
  function ExpressionHistogramSubscriber(props) {
337690
- 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;
337691
337700
  const { classes: classes2 } = useStyles$3();
337692
337701
  const loaders = useLoaders();
337702
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
337693
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);
337694
337704
  const [width2, height2, containerRef] = useGridItemSize();
337695
337705
  const [{ obsIndex, featureIndex, obsFeatureMatrix }, matrixStatus, matrixUrls, matrixError] = useObsFeatureMatrixData(loaders, dataset, true, {}, {}, { obsType, featureType, featureValueType });
@@ -337952,9 +337962,10 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
337952
337962
  return [resultArr, meanExpressionMax];
337953
337963
  }
337954
337964
  function DotPlotSubscriber(props) {
337955
- 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;
337956
337966
  const { classes: classes2 } = useStyles$3();
337957
337967
  const loaders = useLoaders();
337968
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
337958
337969
  const [{
337959
337970
  dataset,
337960
337971
  obsType,
@@ -338130,9 +338141,10 @@ function FeatureBarPlot(props) {
338130
338141
  } });
338131
338142
  }
338132
338143
  function FeatureBarPlotSubscriber(props) {
338133
- 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;
338134
338145
  const { classes: classes2 } = useStyles$3();
338135
338146
  const loaders = useLoaders();
338147
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
338136
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);
338137
338149
  const [width2, height2, containerRef] = useGridItemSize();
338138
338150
  const [
@@ -338334,9 +338346,10 @@ function TreemapOptions(props) {
338334
338346
  }
338335
338347
  const DEFAULT_HIERARCHY_LEVELS = ["obsSet", "sampleSet"];
338336
338348
  function TreemapSubscriber(props) {
338337
- const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
338349
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
338338
338350
  const { classes: classes2 } = useStyles$3();
338339
338351
  const loaders = useLoaders();
338352
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
338340
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);
338341
338354
  const [width2, height2, containerRef] = useGridItemSize();
338342
338355
  const [{ obsIndex }, matrixIndicesStatus, matrixIndicesUrls, matrixIndicesError] = useObsFeatureMatrixIndices(loaders, dataset, false, { obsType, featureType, featureValueType });
@@ -338579,9 +338592,10 @@ function VolcanoPlotOptions(props) {
338579
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 }) })] })] });
338580
338593
  }
338581
338594
  function VolcanoPlotSubscriber(props) {
338582
- 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;
338583
338596
  const { classes: classes2 } = useStyles$3();
338584
338597
  const loaders = useLoaders();
338598
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
338585
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);
338586
338600
  const [width2, height2, containerRef] = useGridItemSize();
338587
338601
  const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.OBS_SETS, { obsType });
@@ -338785,9 +338799,10 @@ function CellSetCompositionBarPlot(props) {
338785
338799
  return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
338786
338800
  }
338787
338801
  function CellSetCompositionBarPlotSubscriber(props) {
338788
- 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;
338789
338803
  const { classes: classes2 } = useStyles$3();
338790
338804
  const loaders = useLoaders();
338805
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
338791
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);
338792
338807
  const [width2, height2, containerRef] = useGridItemSize();
338793
338808
  const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.OBS_SETS, { obsType });
@@ -338968,9 +338983,10 @@ function FeatureSetEnrichmentBarPlot(props) {
338968
338983
  return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
338969
338984
  }
338970
338985
  function FeatureSetEnrichmentBarPlotSubscriber(props) {
338971
- 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;
338972
338987
  const { classes: classes2 } = useStyles$3();
338973
338988
  const loaders = useLoaders();
338989
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
338974
338990
  const transformFeature2 = useAsyncFunction(AsyncFunctionType.TRANSFORM_FEATURE);
338975
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);
338976
338992
  const [width2, height2, containerRef] = useGridItemSize();
@@ -339099,8 +339115,9 @@ function FeatureStatsTable(props) {
339099
339115
  });
339100
339116
  }
339101
339117
  function FeatureStatsTableSubscriber(props) {
339102
- 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;
339103
339119
  const loaders = useLoaders();
339120
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
339104
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);
339105
339122
  const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.OBS_SETS, { obsType });
339106
339123
  const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.SAMPLE_SETS, { sampleType });
@@ -342448,19 +342465,36 @@ class SpatialDataObsSegmentationsLoader extends AbstractTwoStepLoader {
342448
342465
  this.loadObsIndex(),
342449
342466
  this.loadPolygons()
342450
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
+ }];
342451
342481
  const coordinationValues = {
342452
- segmentationLayer: CL({
342453
- // TODO: more coordination values here?
342454
- // obsColorEncoding: 'spatialLayerColor',
342455
- // spatialLayerColor: [255, 255, 255],
342456
- spatialLayerVisible: true,
342457
- spatialLayerOpacity: 1
342458
- // featureValueColormapRange: [0, 1],
342459
- // obsHighlight: null,
342460
- // obsSetColor: null,
342461
- // obsSetSelection: null,
342462
- // additionalObsSets: null,
342463
- })
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
+ ])
342464
342498
  };
342465
342499
  return new LoaderResult({ obsIndex, obsSegmentations, obsSegmentationsType: "polygon" }, null, coordinationValues);
342466
342500
  }
@@ -391890,11 +391924,12 @@ function ScmdUi(props) {
391890
391924
  }
391891
391925
  function BiomarkerSelectSubscriber(props) {
391892
391926
  const {
391893
- coordinationScopes,
391927
+ coordinationScopes: coordinationScopesRaw,
391894
391928
  stratificationOptions: stratificationOptionsProp
391895
391929
  // TODO: Remove; Get from comparisonMetadata instead
391896
391930
  } = props;
391897
391931
  const loaders = useLoaders();
391932
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
391898
391933
  const [{ dataset, obsType, sampleType, sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.BIOMARKER_SELECT], coordinationScopes);
391899
391934
  const viewConfigStoreApi = useViewConfigStoreApi();
391900
391935
  const viewConfig = useViewConfig();
@@ -391988,7 +392023,8 @@ const useStyles$1 = makeStyles()((theme) => ({
391988
392023
  }
391989
392024
  }));
391990
392025
  function ComparativeHeadingSubscriber(props) {
391991
- const { coordinationScopes } = props;
392026
+ const { coordinationScopes: coordinationScopesRaw } = props;
392027
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
391992
392028
  const [{ sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.COMPARATIVE_HEADING], coordinationScopes);
391993
392029
  const { classes: classes2 } = useStyles$1();
391994
392030
  const swapSampleSets = useCallback(() => {
@@ -392025,9 +392061,10 @@ const useStyles = makeStyles()(() => ({
392025
392061
  }
392026
392062
  }));
392027
392063
  function SampleSetPairManagerSubscriber(props) {
392028
- 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;
392029
392065
  const { classes: classes2 } = useStyles();
392030
392066
  const loaders = useLoaders();
392067
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
392031
392068
  const [{ dataset, obsType, sampleType, sampleSetSelection }, { setSampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.SAMPLE_SET_PAIR_MANAGER], coordinationScopes);
392032
392069
  const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$4.SAMPLE_SETS, { sampleType });
392033
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-uQdvQBfF.js";
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-BikQYhlK.js"), []);
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-uQdvQBfF.js";
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,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-uQdvQBfF.js";
1
+ import { aP as BaseDecoder } from "./index-BBDd_SYU.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -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-uQdvQBfF.js";
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 { aP as BaseDecoder } from "./index-uQdvQBfF.js";
1
+ import { aP as BaseDecoder } from "./index-BBDd_SYU.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-uQdvQBfF.js";
1
+ import { aP as BaseDecoder } from "./index-BBDd_SYU.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-uQdvQBfF.js";
1
+ import { aP as BaseDecoder } from "./index-BBDd_SYU.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -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-uQdvQBfF.js";
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) {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-uQdvQBfF.js";
1
+ import { aP as BaseDecoder } from "./index-BBDd_SYU.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.6.16",
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.16",
20
- "@vitessce/config": "3.6.16",
21
- "@vitessce/constants": "3.6.16",
22
- "@vitessce/export-utils": "3.6.16"
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",