@vitessce/all 3.3.1 → 3.3.2
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/{deflate-4c7ad087.js → deflate-71cf29f7.js} +1 -1
- package/dist/{hglib-7473f81f.js → hglib-872ad77b.js} +1 -1
- package/dist/{index-1b56347b.js → index-e1f3ff32.js} +47 -37
- package/dist/index.js +1 -1
- package/dist/{jpeg-d4932e74.js → jpeg-b2781c48.js} +1 -1
- package/dist/{lerc-8e20c0a6.js → lerc-69270d36.js} +1 -1
- package/dist/{lzw-54abbb89.js → lzw-3f41da4f.js} +1 -1
- package/dist/{packbits-0cb854db.js → packbits-19b767c9.js} +1 -1
- package/dist/{raw-da28bf32.js → raw-bd484be0.js} +1 -1
- package/dist/{webimage-344622f8.js → webimage-c810ada2.js} +1 -1
- package/package.json +22 -22
@@ -1,6 +1,6 @@
|
|
1
1
|
import React__default from "react";
|
2
2
|
import ReactDOM__default from "react-dom";
|
3
|
-
import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-
|
3
|
+
import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-e1f3ff32.js";
|
4
4
|
function _mergeNamespaces(n, m) {
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
6
6
|
const e = m[i];
|
@@ -38827,7 +38827,7 @@ function Description(props2) {
|
|
38827
38827
|
return jsxRuntimeExports.jsxs("div", { className: classes.description, children: [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: classes.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)] });
|
38828
38828
|
}
|
38829
38829
|
function DescriptionSubscriber(props2) {
|
38830
|
-
const { coordinationScopes, description: descriptionOverride, removeGridComponent, theme, title: title2 = "Description" } = props2;
|
38830
|
+
const { coordinationScopes, description: descriptionOverride, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible } = props2;
|
38831
38831
|
const loaders = useLoaders();
|
38832
38832
|
const [{ dataset, spatialImageLayer: rasterLayers }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DESCRIPTION], coordinationScopes);
|
38833
38833
|
const [description2] = useDescription(loaders, dataset);
|
@@ -38849,7 +38849,7 @@ function DescriptionSubscriber(props2) {
|
|
38849
38849
|
}
|
38850
38850
|
return result;
|
38851
38851
|
}, [rasterLayers, imageLayerMeta, imageLayerLoaders]);
|
38852
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, removeGridComponent, isScroll: true, theme, isReady, children: jsxRuntimeExports.jsx(Description, { description: descriptionOverride || description2, metadata: metadata2 }) });
|
38852
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, closeButtonVisible, removeGridComponent, isScroll: true, theme, isReady, children: jsxRuntimeExports.jsx(Description, { description: descriptionOverride || description2, metadata: metadata2 }) });
|
38853
38853
|
}
|
38854
38854
|
var _global = { exports: {} };
|
38855
38855
|
var global$6 = _global.exports = typeof window != "undefined" && window.Math == Math ? window : typeof self != "undefined" && self.Math == Math ? self : Function("return this")();
|
@@ -52163,7 +52163,7 @@ function SetsManager(props2) {
|
|
52163
52163
|
}
|
52164
52164
|
const packageJson = { name: "vitessce" };
|
52165
52165
|
function ObsSetsManagerSubscriber(props2) {
|
52166
|
-
const { coordinationScopes, removeGridComponent, theme, title: titleOverride } = props2;
|
52166
|
+
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride } = props2;
|
52167
52167
|
const loaders = useLoaders();
|
52168
52168
|
const setWarning = useSetWarning();
|
52169
52169
|
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$1.OBS_SETS], coordinationScopes);
|
@@ -52556,7 +52556,7 @@ function ObsSetsManagerSubscriber(props2) {
|
|
52556
52556
|
setWarning,
|
52557
52557
|
theme
|
52558
52558
|
]);
|
52559
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, isScroll: true, removeGridComponent, urls: urls2, theme, isReady, children: manager });
|
52559
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, isScroll: true, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, children: manager });
|
52560
52560
|
}
|
52561
52561
|
function ascending$6(a2, b2) {
|
52562
52562
|
return a2 < b2 ? -1 : a2 > b2 ? 1 : a2 >= b2 ? 0 : NaN;
|
@@ -156081,16 +156081,16 @@ async function getDecoder(fileDirectory) {
|
|
156081
156081
|
const Decoder = await importFn();
|
156082
156082
|
return new Decoder(fileDirectory);
|
156083
156083
|
}
|
156084
|
-
addDecoder([void 0, 1], () => import("./raw-
|
156085
|
-
addDecoder(5, () => import("./lzw-
|
156084
|
+
addDecoder([void 0, 1], () => import("./raw-bd484be0.js").then((m2) => m2.default));
|
156085
|
+
addDecoder(5, () => import("./lzw-3f41da4f.js").then((m2) => m2.default));
|
156086
156086
|
addDecoder(6, () => {
|
156087
156087
|
throw new Error("old style JPEG compression is not supported.");
|
156088
156088
|
});
|
156089
|
-
addDecoder(7, () => import("./jpeg-
|
156090
|
-
addDecoder([8, 32946], () => import("./deflate-
|
156091
|
-
addDecoder(32773, () => import("./packbits-
|
156092
|
-
addDecoder(34887, () => import("./lerc-
|
156093
|
-
addDecoder(50001, () => import("./webimage-
|
156089
|
+
addDecoder(7, () => import("./jpeg-b2781c48.js").then((m2) => m2.default));
|
156090
|
+
addDecoder([8, 32946], () => import("./deflate-71cf29f7.js").then((m2) => m2.default));
|
156091
|
+
addDecoder(32773, () => import("./packbits-19b767c9.js").then((m2) => m2.default));
|
156092
|
+
addDecoder(34887, () => import("./lerc-69270d36.js").then((m2) => m2.default));
|
156093
|
+
addDecoder(50001, () => import("./webimage-c810ada2.js").then((m2) => m2.default));
|
156094
156094
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
156095
156095
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
156096
156096
|
}
|
@@ -173967,6 +173967,8 @@ function EmbeddingScatterplotSubscriber(props2) {
|
|
173967
173967
|
const {
|
173968
173968
|
uuid,
|
173969
173969
|
coordinationScopes,
|
173970
|
+
closeButtonVisible,
|
173971
|
+
downloadButtonVisible,
|
173970
173972
|
removeGridComponent,
|
173971
173973
|
theme,
|
173972
173974
|
observationsLabelOverride,
|
@@ -174126,7 +174128,7 @@ function EmbeddingScatterplotSubscriber(props2) {
|
|
174126
174128
|
setTargetY(target2[1]);
|
174127
174129
|
setTargetZ(target2[2] || 0);
|
174128
174130
|
};
|
174129
|
-
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: `${commaNumber(cellsCount)} ${pluralize(observationsLabel, cellsCount)}`, removeGridComponent, urls: urls2, theme, isReady, options: jsxRuntimeExports.jsx(ScatterplotOptions, { observationsLabel, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode, setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, tooltipsVisible, setTooltipsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange }), children: [jsxRuntimeExports.jsx(ScatterplotWrapper, { ref: deckRef, uuid, theme, viewState: { zoom: zoom2, target: [targetX2, targetY2, targetZ] }, setViewState, originalViewState, obsEmbeddingIndex, obsEmbedding, cellFilter, cellSelection, cellHighlight, cellColors, cellSetPolygons, cellSetLabelSize, cellSetLabelsVisible, cellSetPolygonsVisible, setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight, cellRadius, cellOpacity, cellColorEncoding, geneExpressionColormap, geneExpressionColormapRange, setComponentHover: () => {
|
174131
|
+
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: `${commaNumber(cellsCount)} ${pluralize(observationsLabel, cellsCount)}`, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, options: jsxRuntimeExports.jsx(ScatterplotOptions, { observationsLabel, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode, setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, tooltipsVisible, setTooltipsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange }), children: [jsxRuntimeExports.jsx(ScatterplotWrapper, { ref: deckRef, uuid, theme, viewState: { zoom: zoom2, target: [targetX2, targetY2, targetZ] }, setViewState, originalViewState, obsEmbeddingIndex, obsEmbedding, cellFilter, cellSelection, cellHighlight, cellColors, cellSetPolygons, cellSetLabelSize, cellSetLabelsVisible, cellSetPolygonsVisible, setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight, cellRadius, cellOpacity, cellColorEncoding, geneExpressionColormap, geneExpressionColormapRange, setComponentHover: () => {
|
174130
174132
|
setComponentHover(uuid);
|
174131
174133
|
}, updateViewInfo: setComponentViewInfo, getExpressionValue, getCellIsSelected }), tooltipsVisible && jsxRuntimeExports.jsx(ScatterplotTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width2, height: height2, getObsInfo }), jsxRuntimeExports.jsx(Legend, { visible: true, theme, featureType, featureValueType, obsColorEncoding: cellColorEncoding, featureSelection: geneSelection, featureLabelsMap, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, extent: expressionExtents == null ? void 0 : expressionExtents[0] })] });
|
174132
174134
|
}
|
@@ -174175,6 +174177,8 @@ function GatingSubscriber(props2) {
|
|
174175
174177
|
const {
|
174176
174178
|
uuid,
|
174177
174179
|
coordinationScopes,
|
174180
|
+
closeButtonVisible,
|
174181
|
+
downloadButtonVisible,
|
174178
174182
|
removeGridComponent,
|
174179
174183
|
theme,
|
174180
174184
|
disableTooltip = false,
|
@@ -174369,7 +174373,7 @@ function GatingSubscriber(props2) {
|
|
174369
174373
|
gatingFeatureSelectionY,
|
174370
174374
|
obsType
|
174371
174375
|
]);
|
174372
|
-
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: `${commaNumber(cellsCount)} ${pluralize(obsType, cellsCount)}`, removeGridComponent, urls: urls2, theme, isReady, options: jsxRuntimeExports.jsx(ScatterplotOptions, { observationsLabel: obsType, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode, setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, children: jsxRuntimeExports.jsx(GatingScatterplotOptions, { featureType, gatingFeatureSelectionX, setGatingFeatureSelectionX, gatingFeatureSelectionY, setGatingFeatureSelectionY, gatingFeatureValueTransform: featureValueTransform, setGatingFeatureValueTransform: (newValue) => {
|
174376
|
+
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: `${commaNumber(cellsCount)} ${pluralize(obsType, cellsCount)}`, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, options: jsxRuntimeExports.jsx(ScatterplotOptions, { observationsLabel: obsType, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode, setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, children: jsxRuntimeExports.jsx(GatingScatterplotOptions, { featureType, gatingFeatureSelectionX, setGatingFeatureSelectionX, gatingFeatureSelectionY, setGatingFeatureSelectionY, gatingFeatureValueTransform: featureValueTransform, setGatingFeatureValueTransform: (newValue) => {
|
174373
174377
|
setFeatureValueTransform(newValue);
|
174374
174378
|
setTargetX(null);
|
174375
174379
|
setTargetY(null);
|
@@ -192169,7 +192173,7 @@ function SpatialTooltipSubscriber$1(props2) {
|
|
192169
192173
|
return cellInfo ? jsxRuntimeExports.jsx(Tooltip2D, { x: x2, y: y2, parentUuid, sourceUuid, parentWidth: width2, parentHeight: height2, children: jsxRuntimeExports.jsx(TooltipContent, { info: cellInfo }) }) : null;
|
192170
192174
|
}
|
192171
192175
|
function SpatialSubscriber$1(props2) {
|
192172
|
-
const { uuid, coordinationScopes, removeGridComponent, observationsLabelOverride, subobservationsLabelOverride: subobservationsLabel = "molecule", theme, title: title2 = "Spatial", disable3d, globalDisable3d, useFullResolutionImage = {}, channelNamesVisible = false } = props2;
|
192176
|
+
const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, observationsLabelOverride, subobservationsLabelOverride: subobservationsLabel = "molecule", theme, title: title2 = "Spatial", disable3d, globalDisable3d, useFullResolutionImage = {}, channelNamesVisible = false } = props2;
|
192173
192177
|
const loaders = useLoaders();
|
192174
192178
|
const setComponentHover = useSetComponentHover();
|
192175
192179
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
@@ -192418,7 +192422,7 @@ function SpatialSubscriber$1(props2) {
|
|
192418
192422
|
}
|
192419
192423
|
return [names, colors2];
|
192420
192424
|
}, [imageLayers, imageLayerLoaders]);
|
192421
|
-
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: subtitle, isSpatial: true, urls: urls2, theme, removeGridComponent, isReady, options, children: [jsxRuntimeExports.jsx("div", { style: {
|
192425
|
+
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: subtitle, isSpatial: true, urls: urls2, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, isReady, options, children: [jsxRuntimeExports.jsx("div", { style: {
|
192422
192426
|
position: "absolute",
|
192423
192427
|
bottom: "5px",
|
192424
192428
|
left: "5px",
|
@@ -193818,7 +193822,7 @@ function getHoverData(hoverInfo, layerType) {
|
|
193818
193822
|
return null;
|
193819
193823
|
}
|
193820
193824
|
function SpatialSubscriber(props2) {
|
193821
|
-
const { uuid, coordinationScopes: coordinationScopesRaw, coordinationScopesBy: coordinationScopesByRaw, removeGridComponent, observationsLabelOverride, subobservationsLabelOverride: subobservationsLabel = "molecule", theme, disableTooltip = false, title: title2 = "Spatial" } = props2;
|
193825
|
+
const { uuid, coordinationScopes: coordinationScopesRaw, coordinationScopesBy: coordinationScopesByRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, observationsLabelOverride, subobservationsLabelOverride: subobservationsLabel = "molecule", theme, disableTooltip = false, title: title2 = "Spatial" } = props2;
|
193822
193826
|
const loaders = useLoaders();
|
193823
193827
|
const setComponentHover = useSetComponentHover();
|
193824
193828
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
@@ -194168,7 +194172,7 @@ function SpatialSubscriber(props2) {
|
|
194168
194172
|
var _a3;
|
194169
194173
|
return (_a3 = obsSegmentationsLocationsData == null ? void 0 : obsSegmentationsLocationsData[layerScope]) == null ? void 0 : _a3[channelScope];
|
194170
194174
|
})).length > 0;
|
194171
|
-
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: subtitle, isSpatial: true, urls: urls2, theme, removeGridComponent, isReady, children: [jsxRuntimeExports.jsx(SpatialWrapper, {
|
194175
|
+
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: subtitle, isSpatial: true, urls: urls2, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, isReady, children: [jsxRuntimeExports.jsx(SpatialWrapper, {
|
194172
194176
|
ref: deckRef,
|
194173
194177
|
uuid,
|
194174
194178
|
width: width2,
|
@@ -195131,7 +195135,7 @@ function HeatmapOptions(props2) {
|
|
195131
195135
|
}) })] }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, variant: "head", scope: "row", children: jsxRuntimeExports.jsx("label", { htmlFor: `heatmap-gene-expression-colormap-range-${heatmapOptionsId}`, children: "Gene Expression Colormap Range" }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, variant: "body", children: jsxRuntimeExports.jsx(Slider$1, { classes: { root: classes.slider, valueLabel: classes.sliderValueLabel }, 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 }) })] })] });
|
195132
195136
|
}
|
195133
195137
|
function HeatmapSubscriber(props2) {
|
195134
|
-
const { uuid, coordinationScopes, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap" } = props2;
|
195138
|
+
const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap" } = props2;
|
195135
195139
|
const loaders = useLoaders();
|
195136
195140
|
const setComponentHover = useSetComponentHover();
|
195137
195141
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
@@ -195207,7 +195211,7 @@ function HeatmapSubscriber(props2) {
|
|
195207
195211
|
], [observationsLabel]);
|
195208
195212
|
const selectedCount = cellColors.size;
|
195209
195213
|
return jsxRuntimeExports.jsxs(TitleInfo, { title: title2, info: `${commaNumber(cellsCount)} ${pluralize(observationsLabel, cellsCount)} × ${commaNumber(genesCount)} ${pluralize(variablesLabel, genesCount)},
|
195210
|
-
with ${commaNumber(selectedCount)} ${pluralize(observationsLabel, selectedCount)} selected`, urls: urls2, theme, removeGridComponent, isReady: isReady && !isRendering, options: jsxRuntimeExports.jsx(HeatmapOptions, { geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, tooltipsVisible, setTooltipsVisible }), children: [jsxRuntimeExports.jsx(Heatmap$1, { ref: deckRef, transpose: transpose2, viewState: { zoom: zoomX, target: [targetX2, targetY2] }, setViewState: ({ zoom: zoom2, target: target2 }) => {
|
195214
|
+
with ${commaNumber(selectedCount)} ${pluralize(observationsLabel, selectedCount)} selected`, urls: urls2, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, isReady: isReady && !isRendering, options: jsxRuntimeExports.jsx(HeatmapOptions, { geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, tooltipsVisible, setTooltipsVisible }), children: [jsxRuntimeExports.jsx(Heatmap$1, { ref: deckRef, transpose: transpose2, viewState: { zoom: zoomX, target: [targetX2, targetY2] }, setViewState: ({ zoom: zoom2, target: target2 }) => {
|
195211
195215
|
setZoomX(zoom2);
|
195212
195216
|
setZoomY(zoom2);
|
195213
195217
|
setTargetX(target2[0]);
|
@@ -199613,7 +199617,7 @@ function FeatureListOptions(props2) {
|
|
199613
199617
|
} }) })] })] }) : null] });
|
199614
199618
|
}
|
199615
199619
|
function FeatureListSubscriber(props2) {
|
199616
|
-
const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null } = props2;
|
199620
|
+
const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null, closeButtonVisible, downloadButtonVisible } = props2;
|
199617
199621
|
const loaders = useLoaders();
|
199618
199622
|
const [{ dataset, obsType, featureType, featureSelection: geneSelection, featureFilter: geneFilter, obsColorEncoding: cellColorEncoding }, { setFeatureSelection: setGeneSelection, setFeatureFilter: setGeneFilter, setFeatureHighlight: setGeneHighlight, setObsColorEncoding: setCellColorEncoding }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_LIST], coordinationScopes);
|
199619
199623
|
const variablesLabel = variablesLabelOverride || featureType;
|
@@ -199648,6 +199652,8 @@ function FeatureListSubscriber(props2) {
|
|
199648
199652
|
// even though this no longer uses the TitleInfo component's
|
199649
199653
|
// scroll css (SelectableTable is virtual scroll).
|
199650
199654
|
isScroll: true,
|
199655
|
+
closeButtonVisible,
|
199656
|
+
downloadButtonVisible,
|
199651
199657
|
removeGridComponent,
|
199652
199658
|
isReady,
|
199653
199659
|
urls: urls2,
|
@@ -200428,6 +200434,8 @@ function ImageAddButton({ imageOptions, handleImageAdd }) {
|
|
200428
200434
|
const LayerControllerMemoized = React__default.memo(forwardRef((props2, ref2) => {
|
200429
200435
|
const {
|
200430
200436
|
title: title2,
|
200437
|
+
closeButtonVisible,
|
200438
|
+
downloadButtonVisible,
|
200431
200439
|
removeGridComponent,
|
200432
200440
|
theme,
|
200433
200441
|
isReady,
|
@@ -200473,7 +200481,7 @@ const LayerControllerMemoized = React__default.memo(forwardRef((props2, ref2) =>
|
|
200473
200481
|
enableLayerButtonsWithOneLayer
|
200474
200482
|
} = props2;
|
200475
200483
|
const shouldShowImageLayerButton = Boolean(enableLayerButtonsWithOneLayer || (imageLayerLoaders == null ? void 0 : imageLayerLoaders.length) > 1);
|
200476
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, isScroll: true, removeGridComponent, theme, isReady, children: jsxRuntimeExports.jsxs("div", { className: "layer-controller-container", ref: ref2, children: [moleculesLayer && jsxRuntimeExports.jsx(VectorLayerController, { label: "Molecules", layerType: "molecules", layer: moleculesLayer, handleLayerChange: setMoleculesLayer }, `${dataset}-molecules`), cellsLayer && obsSegmentationsType === "polygon" && jsxRuntimeExports.jsx(VectorLayerController, { label: `${capitalize$2(obsType)} Segmentations`, layerType: "cells", layer: cellsLayer, handleLayerChange: setCellsLayer }, `${dataset}-cells`), cellsLayer && obsSegmentationsType === "bitmask" && cellsLayer.map((layer, i2) => {
|
200484
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, isScroll: true, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, isReady, children: jsxRuntimeExports.jsxs("div", { className: "layer-controller-container", ref: ref2, children: [moleculesLayer && jsxRuntimeExports.jsx(VectorLayerController, { label: "Molecules", layerType: "molecules", layer: moleculesLayer, handleLayerChange: setMoleculesLayer }, `${dataset}-molecules`), cellsLayer && obsSegmentationsType === "polygon" && jsxRuntimeExports.jsx(VectorLayerController, { label: `${capitalize$2(obsType)} Segmentations`, layerType: "cells", layer: cellsLayer, handleLayerChange: setCellsLayer }, `${dataset}-cells`), cellsLayer && obsSegmentationsType === "bitmask" && cellsLayer.map((layer, i2) => {
|
200477
200485
|
const { index: index2 } = layer;
|
200478
200486
|
const loader2 = segmentationLayerLoaders == null ? void 0 : segmentationLayerLoaders[index2];
|
200479
200487
|
const layerMeta = segmentationLayerMeta == null ? void 0 : segmentationLayerMeta[index2];
|
@@ -200588,7 +200596,7 @@ const LayerControllerMemoized = React__default.memo(forwardRef((props2, ref2) =>
|
|
200588
200596
|
}), shouldShowImageLayerButton ? jsxRuntimeExports.jsx(Grid$3, { item: true, children: jsxRuntimeExports.jsx(ImageAddButton, { imageOptions: imageLayerMeta, handleImageAdd }) }) : null] }) });
|
200589
200597
|
}));
|
200590
200598
|
function LayerControllerSubscriber$1(props2) {
|
200591
|
-
const { coordinationScopes, removeGridComponent, theme, title: title2 = "Spatial Layers", disable3d, globalDisable3d, disableChannelsIfRgbDetected, enableLayerButtonsWithOneLayer } = props2;
|
200599
|
+
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Spatial Layers", disable3d, globalDisable3d, disableChannelsIfRgbDetected, enableLayerButtonsWithOneLayer } = props2;
|
200592
200600
|
const loaders = useLoaders();
|
200593
200601
|
const [{ dataset, obsType, spatialImageLayer: rasterLayers, spatialSegmentationLayer: cellsLayer, spatialPointLayer: moleculesLayer }, { setSpatialImageLayer: setRasterLayers, setSpatialSegmentationLayer: setCellsLayer, setSpatialPointLayer: setMoleculesLayer, setSpatialTargetX: setTargetX, setSpatialTargetY: setTargetY, setSpatialTargetZ: setTargetZ, setSpatialRotationX: setRotationX, setSpatialRotationOrbit: setRotationOrbit, setSpatialZoom: setZoom }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.LAYER_CONTROLLER], coordinationScopes);
|
200594
200602
|
const [{ imageLayerCallbacks, areLoadingImageChannels, segmentationLayerCallbacks, areLoadingSegmentationChannels }, { setImageLayerCallbacks, setAreLoadingImageChannels, setSegmentationLayerCallbacks, setAreLoadingSegmentationChannels }] = useAuxiliaryCoordination(COMPONENT_COORDINATION_TYPES.layerController, coordinationScopes);
|
@@ -200645,6 +200653,8 @@ function LayerControllerSubscriber$1(props2) {
|
|
200645
200653
|
return jsxRuntimeExports.jsx(LayerControllerMemoized, {
|
200646
200654
|
ref: layerControllerRef,
|
200647
200655
|
title: title2,
|
200656
|
+
closeButtonVisible,
|
200657
|
+
downloadButtonVisible,
|
200648
200658
|
removeGridComponent,
|
200649
200659
|
theme,
|
200650
200660
|
isReady,
|
@@ -202281,7 +202291,7 @@ function LayerController(props2) {
|
|
202281
202291
|
})] });
|
202282
202292
|
}
|
202283
202293
|
function LayerControllerSubscriber(props2) {
|
202284
|
-
const { coordinationScopes: coordinationScopesRaw, coordinationScopesBy: coordinationScopesByRaw, removeGridComponent, theme, title: title2 = "Spatial Layers" } = props2;
|
202294
|
+
const { coordinationScopes: coordinationScopesRaw, coordinationScopesBy: coordinationScopesByRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Spatial Layers" } = props2;
|
202285
202295
|
const loaders = useLoaders();
|
202286
202296
|
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
202287
202297
|
const coordinationScopesBy = useCoordinationScopesBy(coordinationScopes, coordinationScopesByRaw);
|
@@ -202382,7 +202392,7 @@ function LayerControllerSubscriber(props2) {
|
|
202382
202392
|
obsSegmentationsDataStatus,
|
202383
202393
|
imageDataStatus
|
202384
202394
|
]);
|
202385
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, isScroll: true, removeGridComponent, theme, isReady, children: jsxRuntimeExports.jsx(LayerController, { theme, coordinationScopesRaw, segmentationLayerScopes, segmentationLayerCoordination, segmentationChannelScopesByLayer, segmentationChannelCoordination, images: imageData, imageLayerScopes, imageLayerCoordination, targetT, targetZ, setTargetT, setTargetZ, spatialRenderingMode, setSpatialRenderingMode, imageChannelScopesByLayer, imageChannelCoordination, spotLayerScopes, spotLayerCoordination, pointLayerScopes, pointLayerCoordination }) });
|
202395
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, isScroll: true, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, isReady, children: jsxRuntimeExports.jsx(LayerController, { theme, coordinationScopesRaw, segmentationLayerScopes, segmentationLayerCoordination, segmentationChannelScopesByLayer, segmentationChannelCoordination, images: imageData, imageLayerScopes, imageLayerCoordination, targetT, targetZ, setTargetT, setTargetZ, spatialRenderingMode, setSpatialRenderingMode, imageChannelScopesByLayer, imageChannelCoordination, spotLayerScopes, spotLayerCoordination, pointLayerScopes, pointLayerCoordination }) });
|
202386
202396
|
}
|
202387
202397
|
const useStyles$3 = makeStyles(() => ({
|
202388
202398
|
info: {
|
@@ -202416,7 +202426,7 @@ function Status(props2) {
|
|
202416
202426
|
return messages2;
|
202417
202427
|
}
|
202418
202428
|
function StatusSubscriber(props2) {
|
202419
|
-
const { coordinationScopes, removeGridComponent, theme, title: title2 = "Status" } = props2;
|
202429
|
+
const { coordinationScopes, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status" } = props2;
|
202420
202430
|
const [{ obsHighlight: cellHighlight, featureHighlight: geneHighlight, moleculeHighlight }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.STATUS], coordinationScopes);
|
202421
202431
|
const warn2 = useWarning();
|
202422
202432
|
const infos = [
|
@@ -202425,7 +202435,7 @@ function StatusSubscriber(props2) {
|
|
202425
202435
|
...moleculeHighlight ? [`Hovered gene ${moleculeHighlight}`] : []
|
202426
202436
|
];
|
202427
202437
|
const info2 = infos.join("; ");
|
202428
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, theme, removeGridComponent, isScroll: true, isReady: true, children: jsxRuntimeExports.jsx(Status, { warn: warn2, info: info2 }) });
|
202438
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, theme, closeButtonVisible, removeGridComponent, isScroll: true, isReady: true, children: jsxRuntimeExports.jsx(Status, { warn: warn2, info: info2 }) });
|
202429
202439
|
}
|
202430
202440
|
window.higlassTracks = window.higlassTracks || {};
|
202431
202441
|
window.higlassTracksByType = window.higlassTracksByType || {};
|
@@ -202677,7 +202687,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
|
|
202677
202687
|
const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
|
202678
202688
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
202679
202689
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
202680
|
-
const { HiGlassComponent } = await import("./hglib-
|
202690
|
+
const { HiGlassComponent } = await import("./hglib-872ad77b.js").then((n3) => n3.h);
|
202681
202691
|
return { default: HiGlassComponent };
|
202682
202692
|
});
|
202683
202693
|
const HG_SIZE = 800;
|
@@ -202806,10 +202816,10 @@ HiGlassLazy.defaultProps = {
|
|
202806
202816
|
};
|
202807
202817
|
const urls = [];
|
202808
202818
|
function HiGlassSubscriber(props2) {
|
202809
|
-
const { coordinationScopes, theme, hgViewConfig, removeGridComponent } = props2;
|
202819
|
+
const { coordinationScopes, theme, hgViewConfig, closeButtonVisible, downloadButtonVisible, removeGridComponent } = props2;
|
202810
202820
|
const [width2, height2, containerRef] = useGridItemSize();
|
202811
202821
|
const classes = useStyles$2();
|
202812
|
-
return jsxRuntimeExports.jsx("div", { className: classes.higlassTitleWrapper, children: jsxRuntimeExports.jsx(TitleInfo, { title: "HiGlass", removeGridComponent, theme, isReady: true, urls, children: jsxRuntimeExports.jsx("div", { className: classes.higlassLazyWrapper, ref: containerRef, children: jsxRuntimeExports.jsx(HiGlassLazy, { coordinationScopes, theme, hgViewConfig, height: height2 }) }) }) });
|
202822
|
+
return jsxRuntimeExports.jsx("div", { className: classes.higlassTitleWrapper, children: jsxRuntimeExports.jsx(TitleInfo, { title: "HiGlass", closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, isReady: true, urls, children: jsxRuntimeExports.jsx("div", { className: classes.higlassLazyWrapper, ref: containerRef, children: jsxRuntimeExports.jsx(HiGlassLazy, { coordinationScopes, theme, hgViewConfig, height: height2 }) }) }) });
|
202813
202823
|
}
|
202814
202824
|
const REFERENCE_TILESETS = {
|
202815
202825
|
hg38: {
|
@@ -202830,7 +202840,7 @@ const REFERENCE_TILESETS = {
|
|
202830
202840
|
}
|
202831
202841
|
};
|
202832
202842
|
function GenomicProfilesSubscriber(props2) {
|
202833
|
-
const { coordinationScopes, theme, removeGridComponent, profileTrackUidKey = "path", profileTrackNameKey = null, higlassServer = "https://higlass.io/api/v1", assembly = "hg38", title: title2 = "Genomic Profiles" } = props2;
|
202843
|
+
const { coordinationScopes, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, profileTrackUidKey = "path", profileTrackNameKey = null, higlassServer = "https://higlass.io/api/v1", assembly = "hg38", title: title2 = "Genomic Profiles" } = props2;
|
202834
202844
|
const [width2, height2, containerRef] = useGridItemSize();
|
202835
202845
|
const loaders = useLoaders();
|
202836
202846
|
const [{ dataset, obsSetColor: cellSetColor, obsSetSelection: cellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.GENOMIC_PROFILES], coordinationScopes);
|
@@ -202961,7 +202971,7 @@ function GenomicProfilesSubscriber(props2) {
|
|
202961
202971
|
assembly
|
202962
202972
|
]);
|
202963
202973
|
const classes = useStyles$2();
|
202964
|
-
return jsxRuntimeExports.jsx("div", { className: classes.higlassTitleWrapper, children: jsxRuntimeExports.jsx(TitleInfo, { title: title2, removeGridComponent, theme, isReady, urls: urls2, children: jsxRuntimeExports.jsx("div", { className: classes.higlassLazyWrapper, ref: containerRef, children: hgViewConfig ? jsxRuntimeExports.jsx(HiGlassLazy, { coordinationScopes, theme, hgViewConfig, height: height2 }) : null }) }) });
|
202974
|
+
return jsxRuntimeExports.jsx("div", { className: classes.higlassTitleWrapper, children: jsxRuntimeExports.jsx(TitleInfo, { title: title2, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, isReady, urls: urls2, children: jsxRuntimeExports.jsx("div", { className: classes.higlassLazyWrapper, ref: containerRef, children: hgViewConfig ? jsxRuntimeExports.jsx(HiGlassLazy, { coordinationScopes, theme, hgViewConfig, height: height2 }) : null }) }) });
|
202965
202975
|
}
|
202966
202976
|
function CellSetExpressionPlotOptions(props2) {
|
202967
202977
|
const { featureValueTransform, setFeatureValueTransform, featureValueTransformCoefficient, setFeatureValueTransformCoefficient, transformOptions } = props2;
|
@@ -259600,7 +259610,7 @@ function useExpressionByCellSet(expressionData, obsIndex, cellSets, additionalCe
|
|
259600
259610
|
}
|
259601
259611
|
function CellSetExpressionPlotSubscriber(props2) {
|
259602
259612
|
var _a3;
|
259603
|
-
const { coordinationScopes, removeGridComponent, theme } = props2;
|
259613
|
+
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme } = props2;
|
259604
259614
|
const classes = useStyles();
|
259605
259615
|
const loaders = useLoaders();
|
259606
259616
|
const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, featureValueTransform, featureValueTransformCoefficient, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets }, { setFeatureValueTransform, setFeatureValueTransformCoefficient }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_FEATURE_VALUE_DISTRIBUTION], coordinationScopes);
|
@@ -259624,7 +259634,7 @@ function CellSetExpressionPlotSubscriber(props2) {
|
|
259624
259634
|
const [expressionArr, setArr, expressionMax] = useExpressionByCellSet(expressionData, obsIndex, cellSets, additionalCellSets, geneSelection, cellSetSelection, cellSetColor, featureValueTransform, featureValueTransformCoefficient, theme);
|
259625
259635
|
const firstGeneSelected = geneSelection && geneSelection.length >= 1 ? (featureLabelsMap == null ? void 0 : featureLabelsMap.get(geneSelection[0])) || geneSelection[0] : null;
|
259626
259636
|
const selectedTransformName = (_a3 = transformOptions.find((o2) => o2.value === featureValueTransform)) == null ? void 0 : _a3.name;
|
259627
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: `Expression by ${capitalize$2(obsType)} Set${firstGeneSelected ? ` (${firstGeneSelected})` : ""}`, removeGridComponent, urls: urls2, theme, isReady, options: jsxRuntimeExports.jsx(CellSetExpressionPlotOptions, { featureValueTransform, setFeatureValueTransform, featureValueTransformCoefficient, setFeatureValueTransformCoefficient, transformOptions }), children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes.vegaContainer, children: expressionArr ? jsxRuntimeExports.jsx(CellSetExpressionPlot, { domainMax: expressionMax, colors: setArr, data: expressionArr, theme, width: width2, height: height2, obsType, featureValueType, featureValueTransformName: selectedTransformName }) : jsxRuntimeExports.jsxs("span", { children: ["Select a ", featureType, "."] }) }) });
|
259637
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: `Expression by ${capitalize$2(obsType)} Set${firstGeneSelected ? ` (${firstGeneSelected})` : ""}`, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, options: jsxRuntimeExports.jsx(CellSetExpressionPlotOptions, { featureValueTransform, setFeatureValueTransform, featureValueTransformCoefficient, setFeatureValueTransformCoefficient, transformOptions }), children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes.vegaContainer, children: expressionArr ? jsxRuntimeExports.jsx(CellSetExpressionPlot, { domainMax: expressionMax, colors: setArr, data: expressionArr, theme, width: width2, height: height2, obsType, featureValueType, featureValueTransformName: selectedTransformName }) : jsxRuntimeExports.jsxs("span", { children: ["Select a ", featureType, "."] }) }) });
|
259628
259638
|
}
|
259629
259639
|
function CellSetSizesPlot(props2) {
|
259630
259640
|
const { data: rawData, theme, width: width2, height: height2, marginRight = 90, marginBottom = 120, keyLength = 36, obsType, onBarSelect } = props2;
|
@@ -259744,7 +259754,7 @@ function CellSetSizesPlot(props2) {
|
|
259744
259754
|
return jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, signalListeners, getTooltipText });
|
259745
259755
|
}
|
259746
259756
|
function CellSetSizesPlotSubscriber(props2) {
|
259747
|
-
const { coordinationScopes, removeGridComponent, theme, title: titleOverride } = props2;
|
259757
|
+
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride } = props2;
|
259748
259758
|
const classes = useStyles();
|
259749
259759
|
const loaders = useLoaders();
|
259750
259760
|
const [{ dataset, obsType, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, obsSetExpansion: cellSetExpansion }, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_SIZES], coordinationScopes);
|
@@ -259791,7 +259801,7 @@ function CellSetSizesPlotSubscriber(props2) {
|
|
259791
259801
|
setCellSetSelection([...cellSetSelection, setNamePath]);
|
259792
259802
|
}
|
259793
259803
|
};
|
259794
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, removeGridComponent, urls: urls2, theme, isReady, children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes.vegaContainer, children: jsxRuntimeExports.jsx(CellSetSizesPlot, { data: data2, onBarSelect, theme, width: width2, height: height2, obsType }) }) });
|
259804
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: title2, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes.vegaContainer, children: jsxRuntimeExports.jsx(CellSetSizesPlot, { data: data2, onBarSelect, theme, width: width2, height: height2, obsType }) }) });
|
259795
259805
|
}
|
259796
259806
|
function ExpressionHistogram(props2) {
|
259797
259807
|
const { geneSelection, data: data2, theme, width: width2, height: height2, marginRight = 90, marginBottom = 50, onSelect } = props2;
|
@@ -259849,7 +259859,7 @@ function ExpressionHistogram(props2) {
|
|
259849
259859
|
return jsxRuntimeExports.jsx(VegaPlot, { data: data2, signalListeners, spec });
|
259850
259860
|
}
|
259851
259861
|
function ExpressionHistogramSubscriber(props2) {
|
259852
|
-
const { coordinationScopes, removeGridComponent, theme } = props2;
|
259862
|
+
const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme } = props2;
|
259853
259863
|
const classes = useStyles();
|
259854
259864
|
const loaders = useLoaders();
|
259855
259865
|
const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, additionalObsSets: additionalCellSets, obsSetColor: cellSetColor }, { setAdditionalObsSets: setAdditionalCellSets, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setObsSetSelection: setCellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_VALUE_HISTOGRAM], coordinationScopes);
|
@@ -259898,7 +259908,7 @@ function ExpressionHistogramSubscriber(props2) {
|
|
259898
259908
|
setCellSetSelection,
|
259899
259909
|
firstGeneSelected
|
259900
259910
|
]);
|
259901
|
-
return jsxRuntimeExports.jsx(TitleInfo, { title: `Expression Histogram${firstGeneSelected ? ` (${firstGeneSelected})` : ""}`, removeGridComponent, urls: urls2, theme, isReady, children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes.vegaContainer, children: jsxRuntimeExports.jsx(ExpressionHistogram, { geneSelection, onSelect, data: data2, theme, width: width2, height: height2 }) }) });
|
259911
|
+
return jsxRuntimeExports.jsx(TitleInfo, { title: `Expression Histogram${firstGeneSelected ? ` (${firstGeneSelected})` : ""}`, closeButtonVisible, downloadButtonVisible, removeGridComponent, urls: urls2, theme, isReady, children: jsxRuntimeExports.jsx("div", { ref: containerRef, className: classes.vegaContainer, children: jsxRuntimeExports.jsx(ExpressionHistogram, { geneSelection, onSelect, data: data2, theme, width: width2, height: height2 }) }) });
|
259902
259912
|
}
|
259903
259913
|
class CsvSource {
|
259904
259914
|
constructor({ url, requestInit: requestInit2 }) {
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-e1f3ff32.js";
|
3
3
|
import "react";
|
4
4
|
import "@vitessce/vit-s";
|
5
5
|
import "react-dom";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.2",
|
4
4
|
"author": "Gehlenborg Lab",
|
5
5
|
"homepage": "http://vitessce.io",
|
6
6
|
"repository": {
|
@@ -18,27 +18,27 @@
|
|
18
18
|
"dependencies": {
|
19
19
|
"@material-ui/core": "~4.12.3",
|
20
20
|
"zod": "^3.21.4",
|
21
|
-
"@vitessce/constants-internal": "3.3.
|
22
|
-
"@vitessce/csv": "3.3.
|
23
|
-
"@vitessce/description": "3.3.
|
24
|
-
"@vitessce/
|
25
|
-
"@vitessce/
|
26
|
-
"@vitessce/
|
27
|
-
"@vitessce/
|
28
|
-
"@vitessce/layer-controller
|
29
|
-
"@vitessce/
|
30
|
-
"@vitessce/obs-sets-manager": "3.3.
|
31
|
-
"@vitessce/ome-tiff": "3.3.
|
32
|
-
"@vitessce/plugins": "3.3.
|
33
|
-
"@vitessce/scatterplot-embedding": "3.3.
|
34
|
-
"@vitessce/scatterplot-gating": "3.3.
|
35
|
-
"@vitessce/schemas": "3.3.
|
36
|
-
"@vitessce/spatial": "3.3.
|
37
|
-
"@vitessce/
|
38
|
-
"@vitessce/
|
39
|
-
"@vitessce/status": "3.3.
|
40
|
-
"@vitessce/vit-s": "3.3.
|
41
|
-
"@vitessce/zarr": "3.3.
|
21
|
+
"@vitessce/constants-internal": "3.3.2",
|
22
|
+
"@vitessce/csv": "3.3.2",
|
23
|
+
"@vitessce/description": "3.3.2",
|
24
|
+
"@vitessce/feature-list": "3.3.2",
|
25
|
+
"@vitessce/genomic-profiles": "3.3.2",
|
26
|
+
"@vitessce/heatmap": "3.3.2",
|
27
|
+
"@vitessce/json": "3.3.2",
|
28
|
+
"@vitessce/layer-controller": "3.3.2",
|
29
|
+
"@vitessce/layer-controller-beta": "3.3.2",
|
30
|
+
"@vitessce/obs-sets-manager": "3.3.2",
|
31
|
+
"@vitessce/ome-tiff": "3.3.2",
|
32
|
+
"@vitessce/plugins": "3.3.2",
|
33
|
+
"@vitessce/scatterplot-embedding": "3.3.2",
|
34
|
+
"@vitessce/scatterplot-gating": "3.3.2",
|
35
|
+
"@vitessce/schemas": "3.3.2",
|
36
|
+
"@vitessce/spatial": "3.3.2",
|
37
|
+
"@vitessce/spatial-beta": "3.3.2",
|
38
|
+
"@vitessce/statistical-plots": "3.3.2",
|
39
|
+
"@vitessce/status": "3.3.2",
|
40
|
+
"@vitessce/vit-s": "3.3.2",
|
41
|
+
"@vitessce/zarr": "3.3.2"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@types/react": "^18.0.28",
|