@vitessce/scatterplot-embedding 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-fd4358a6.js → deflate-99ed3e4b.js} +1 -1
- package/dist/{index-1989acf5.js → index-e7cfe3df.js} +11 -7
- package/dist/index.js +1 -1
- package/dist/{jpeg-da8c250c.js → jpeg-59b4a15e.js} +1 -1
- package/dist/{lerc-d5bf01c3.js → lerc-ce83e5c1.js} +1 -1
- package/dist/{lzw-7366b7df.js → lzw-feb8dc70.js} +1 -1
- package/dist/{packbits-8da18e40.js → packbits-c190d867.js} +1 -1
- package/dist/{raw-87e3335a.js → raw-2f6386b1.js} +1 -1
- package/dist/{webimage-6b9ff4dc.js → webimage-0ef01b51.js} +1 -1
- package/dist-tsc/EmbeddingScatterplotSubscriber.d.ts.map +1 -1
- package/dist-tsc/EmbeddingScatterplotSubscriber.js +2 -2
- package/package.json +7 -7
- package/src/EmbeddingScatterplotSubscriber.js +4 -0
|
@@ -121261,16 +121261,16 @@ function addDecoder(cases, importFn) {
|
|
|
121261
121261
|
}
|
|
121262
121262
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121263
121263
|
}
|
|
121264
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121265
|
-
addDecoder(5, () => import("./lzw-
|
|
121264
|
+
addDecoder([void 0, 1], () => import("./raw-2f6386b1.js").then((m2) => m2.default));
|
|
121265
|
+
addDecoder(5, () => import("./lzw-feb8dc70.js").then((m2) => m2.default));
|
|
121266
121266
|
addDecoder(6, () => {
|
|
121267
121267
|
throw new Error("old style JPEG compression is not supported.");
|
|
121268
121268
|
});
|
|
121269
|
-
addDecoder(7, () => import("./jpeg-
|
|
121270
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121271
|
-
addDecoder(32773, () => import("./packbits-
|
|
121272
|
-
addDecoder(34887, () => import("./lerc-
|
|
121273
|
-
addDecoder(50001, () => import("./webimage-
|
|
121269
|
+
addDecoder(7, () => import("./jpeg-59b4a15e.js").then((m2) => m2.default));
|
|
121270
|
+
addDecoder([8, 32946], () => import("./deflate-99ed3e4b.js").then((m2) => m2.default));
|
|
121271
|
+
addDecoder(32773, () => import("./packbits-c190d867.js").then((m2) => m2.default));
|
|
121272
|
+
addDecoder(34887, () => import("./lerc-ce83e5c1.js").then((m2) => m2.default));
|
|
121273
|
+
addDecoder(50001, () => import("./webimage-0ef01b51.js").then((m2) => m2.default));
|
|
121274
121274
|
function decodeRowAcc(row, stride) {
|
|
121275
121275
|
let length2 = row.length - stride;
|
|
121276
121276
|
let offset5 = 0;
|
|
@@ -145676,6 +145676,8 @@ function EmbeddingScatterplotSubscriber(props2) {
|
|
|
145676
145676
|
const {
|
|
145677
145677
|
uuid,
|
|
145678
145678
|
coordinationScopes,
|
|
145679
|
+
closeButtonVisible,
|
|
145680
|
+
downloadButtonVisible,
|
|
145679
145681
|
removeGridComponent,
|
|
145680
145682
|
theme,
|
|
145681
145683
|
observationsLabelOverride,
|
|
@@ -145971,6 +145973,8 @@ function EmbeddingScatterplotSubscriber(props2) {
|
|
|
145971
145973
|
{
|
|
145972
145974
|
title,
|
|
145973
145975
|
info: `${commaNumber(cellsCount)} ${pluralize(observationsLabel, cellsCount)}`,
|
|
145976
|
+
closeButtonVisible,
|
|
145977
|
+
downloadButtonVisible,
|
|
145974
145978
|
removeGridComponent,
|
|
145975
145979
|
urls,
|
|
145976
145980
|
theme,
|
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 } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-e7cfe3df.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/EmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;GAYG;AACH;IAVyB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;
|
|
1
|
+
{"version":3,"file":"EmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/EmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;GAYG;AACH;IAVyB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;gBA8WhB"}
|
|
@@ -22,7 +22,7 @@ import { ViewType, COMPONENT_COORDINATION_TYPES } from '@vitessce/constants-inte
|
|
|
22
22
|
* when using dynamic opacity mode.
|
|
23
23
|
*/
|
|
24
24
|
export function EmbeddingScatterplotSubscriber(props) {
|
|
25
|
-
const { uuid, coordinationScopes, removeGridComponent, theme, observationsLabelOverride, title: titleOverride,
|
|
25
|
+
const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, observationsLabelOverride, title: titleOverride,
|
|
26
26
|
// Average fill density for dynamic opacity calculation.
|
|
27
27
|
averageFillDensity, } = props;
|
|
28
28
|
const loaders = useLoaders();
|
|
@@ -163,7 +163,7 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
163
163
|
setTargetY(target[1]);
|
|
164
164
|
setTargetZ(target[2] || 0);
|
|
165
165
|
};
|
|
166
|
-
return (_jsxs(TitleInfo, { title: title, info: `${commaNumber(cellsCount)} ${plur(observationsLabel, cellsCount)}`, removeGridComponent: removeGridComponent, urls: urls, theme: theme, isReady: isReady, options: (_jsx(ScatterplotOptions, { observationsLabel: observationsLabel, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode: cellRadiusMode, setCellRadiusMode: setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode: cellOpacityMode, setCellOpacityMode: setCellOpacityMode, cellSetLabelsVisible: cellSetLabelsVisible, setCellSetLabelsVisible: setCellSetLabelsVisible, tooltipsVisible: tooltipsVisible, setTooltipsVisible: setTooltipsVisible, cellSetLabelSize: cellSetLabelSize, setCellSetLabelSize: setCellSetLabelSize, cellSetPolygonsVisible: cellSetPolygonsVisible, setCellSetPolygonsVisible: setCellSetPolygonsVisible, cellColorEncoding: cellColorEncoding, setCellColorEncoding: setCellColorEncoding, geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange })), children: [_jsx(Scatterplot, { ref: deckRef, uuid: uuid, theme: theme, viewState: { zoom, target: [targetX, targetY, targetZ] }, setViewState: setViewState, originalViewState: originalViewState, obsEmbeddingIndex: obsEmbeddingIndex, obsEmbedding: obsEmbedding, cellFilter: cellFilter, cellSelection: cellSelection, cellHighlight: cellHighlight, cellColors: cellColors, cellSetPolygons: cellSetPolygons, cellSetLabelSize: cellSetLabelSize, cellSetLabelsVisible: cellSetLabelsVisible, cellSetPolygonsVisible: cellSetPolygonsVisible, setCellFilter: setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight: setCellHighlight, cellRadius: cellRadius, cellOpacity: cellOpacity, cellColorEncoding: cellColorEncoding, geneExpressionColormap: geneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setComponentHover: () => {
|
|
166
|
+
return (_jsxs(TitleInfo, { title: title, info: `${commaNumber(cellsCount)} ${plur(observationsLabel, cellsCount)}`, closeButtonVisible: closeButtonVisible, downloadButtonVisible: downloadButtonVisible, removeGridComponent: removeGridComponent, urls: urls, theme: theme, isReady: isReady, options: (_jsx(ScatterplotOptions, { observationsLabel: observationsLabel, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode: cellRadiusMode, setCellRadiusMode: setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode: cellOpacityMode, setCellOpacityMode: setCellOpacityMode, cellSetLabelsVisible: cellSetLabelsVisible, setCellSetLabelsVisible: setCellSetLabelsVisible, tooltipsVisible: tooltipsVisible, setTooltipsVisible: setTooltipsVisible, cellSetLabelSize: cellSetLabelSize, setCellSetLabelSize: setCellSetLabelSize, cellSetPolygonsVisible: cellSetPolygonsVisible, setCellSetPolygonsVisible: setCellSetPolygonsVisible, cellColorEncoding: cellColorEncoding, setCellColorEncoding: setCellColorEncoding, geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange })), children: [_jsx(Scatterplot, { ref: deckRef, uuid: uuid, theme: theme, viewState: { zoom, target: [targetX, targetY, targetZ] }, setViewState: setViewState, originalViewState: originalViewState, obsEmbeddingIndex: obsEmbeddingIndex, obsEmbedding: obsEmbedding, cellFilter: cellFilter, cellSelection: cellSelection, cellHighlight: cellHighlight, cellColors: cellColors, cellSetPolygons: cellSetPolygons, cellSetLabelSize: cellSetLabelSize, cellSetLabelsVisible: cellSetLabelsVisible, cellSetPolygonsVisible: cellSetPolygonsVisible, setCellFilter: setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight: setCellHighlight, cellRadius: cellRadius, cellOpacity: cellOpacity, cellColorEncoding: cellColorEncoding, geneExpressionColormap: geneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setComponentHover: () => {
|
|
167
167
|
setComponentHover(uuid);
|
|
168
168
|
}, updateViewInfo: setComponentViewInfo, getExpressionValue: getExpressionValue, getCellIsSelected: getCellIsSelected }), tooltipsVisible && (_jsx(ScatterplotTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width, height: height, getObsInfo: getObsInfo })), _jsx(Legend, { visible: true, theme: theme, featureType: featureType, featureValueType: featureValueType, obsColorEncoding: cellColorEncoding, featureSelection: geneSelection, featureLabelsMap: featureLabelsMap, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, extent: expressionExtents?.[0] })] }));
|
|
169
169
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-embedding",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"d3-array": "^2.4.0",
|
|
21
21
|
"lodash-es": "^4.17.21",
|
|
22
22
|
"react-aria": "^3.28.0",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/sets-utils": "3.3.
|
|
27
|
-
"@vitessce/utils": "3.3.
|
|
28
|
-
"@vitessce/vit-s": "3.3.
|
|
23
|
+
"@vitessce/legend": "3.3.2",
|
|
24
|
+
"@vitessce/constants-internal": "3.3.2",
|
|
25
|
+
"@vitessce/scatterplot": "3.3.2",
|
|
26
|
+
"@vitessce/sets-utils": "3.3.2",
|
|
27
|
+
"@vitessce/utils": "3.3.2",
|
|
28
|
+
"@vitessce/vit-s": "3.3.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"react": "^18.0.0",
|
|
@@ -49,6 +49,8 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
49
49
|
const {
|
|
50
50
|
uuid,
|
|
51
51
|
coordinationScopes,
|
|
52
|
+
closeButtonVisible,
|
|
53
|
+
downloadButtonVisible,
|
|
52
54
|
removeGridComponent,
|
|
53
55
|
theme,
|
|
54
56
|
observationsLabelOverride,
|
|
@@ -316,6 +318,8 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
316
318
|
<TitleInfo
|
|
317
319
|
title={title}
|
|
318
320
|
info={`${commaNumber(cellsCount)} ${plur(observationsLabel, cellsCount)}`}
|
|
321
|
+
closeButtonVisible={closeButtonVisible}
|
|
322
|
+
downloadButtonVisible={downloadButtonVisible}
|
|
319
323
|
removeGridComponent={removeGridComponent}
|
|
320
324
|
urls={urls}
|
|
321
325
|
theme={theme}
|