@vitessce/heatmap 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-9263f588.js → deflate-75a89dc6.js} +1 -1
- package/dist/{index-6515eb5d.js → index-b879347c.js} +11 -7
- package/dist/index.js +1 -1
- package/dist/{jpeg-aa77b6ec.js → jpeg-f4efd5d2.js} +1 -1
- package/dist/{lerc-1fcb6280.js → lerc-24acd19a.js} +1 -1
- package/dist/{lzw-a69646f9.js → lzw-4bad7337.js} +1 -1
- package/dist/{packbits-fe4063d1.js → packbits-2b4a014a.js} +1 -1
- package/dist/{raw-70e6b59a.js → raw-486d710b.js} +1 -1
- package/dist/{webimage-093820b7.js → webimage-5effa8da.js} +1 -1
- package/dist-tsc/HeatmapSubscriber.d.ts.map +1 -1
- package/dist-tsc/HeatmapSubscriber.js +2 -2
- package/package.json +9 -9
- package/src/HeatmapSubscriber.js +4 -0
|
@@ -132610,16 +132610,16 @@ function addDecoder(cases, importFn) {
|
|
|
132610
132610
|
}
|
|
132611
132611
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
132612
132612
|
}
|
|
132613
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
132614
|
-
addDecoder(5, () => import("./lzw-
|
|
132613
|
+
addDecoder([void 0, 1], () => import("./raw-486d710b.js").then((m) => m.default));
|
|
132614
|
+
addDecoder(5, () => import("./lzw-4bad7337.js").then((m) => m.default));
|
|
132615
132615
|
addDecoder(6, () => {
|
|
132616
132616
|
throw new Error("old style JPEG compression is not supported.");
|
|
132617
132617
|
});
|
|
132618
|
-
addDecoder(7, () => import("./jpeg-
|
|
132619
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
132620
|
-
addDecoder(32773, () => import("./packbits-
|
|
132621
|
-
addDecoder(34887, () => import("./lerc-
|
|
132622
|
-
addDecoder(50001, () => import("./webimage-
|
|
132618
|
+
addDecoder(7, () => import("./jpeg-f4efd5d2.js").then((m) => m.default));
|
|
132619
|
+
addDecoder([8, 32946], () => import("./deflate-75a89dc6.js").then((m) => m.default));
|
|
132620
|
+
addDecoder(32773, () => import("./packbits-2b4a014a.js").then((m) => m.default));
|
|
132621
|
+
addDecoder(34887, () => import("./lerc-24acd19a.js").then((m) => m.default));
|
|
132622
|
+
addDecoder(50001, () => import("./webimage-5effa8da.js").then((m) => m.default));
|
|
132623
132623
|
function decodeRowAcc(row, stride) {
|
|
132624
132624
|
let length2 = row.length - stride;
|
|
132625
132625
|
let offset5 = 0;
|
|
@@ -145237,6 +145237,8 @@ function HeatmapSubscriber(props2) {
|
|
|
145237
145237
|
const {
|
|
145238
145238
|
uuid,
|
|
145239
145239
|
coordinationScopes,
|
|
145240
|
+
closeButtonVisible,
|
|
145241
|
+
downloadButtonVisible,
|
|
145240
145242
|
removeGridComponent,
|
|
145241
145243
|
theme,
|
|
145242
145244
|
transpose: transpose2,
|
|
@@ -145397,6 +145399,8 @@ function HeatmapSubscriber(props2) {
|
|
|
145397
145399
|
with ${commaNumber(selectedCount)} ${pluralize(observationsLabel, selectedCount)} selected`,
|
|
145398
145400
|
urls,
|
|
145399
145401
|
theme,
|
|
145402
|
+
closeButtonVisible,
|
|
145403
|
+
downloadButtonVisible,
|
|
145400
145404
|
removeGridComponent,
|
|
145401
145405
|
isReady: isReady && !isRendering,
|
|
145402
145406
|
options: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
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-b879347c.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapSubscriber.d.ts","sourceRoot":"","sources":["../src/HeatmapSubscriber.js"],"names":[],"mappings":"AA2BA;;;;;;;;;;GAUG;AACH;IATyB,IAAI,EAAlB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACS,SAAS,EAAxB,OAAO;
|
|
1
|
+
{"version":3,"file":"HeatmapSubscriber.d.ts","sourceRoot":"","sources":["../src/HeatmapSubscriber.js"],"names":[],"mappings":"AA2BA;;;;;;;;;;GAUG;AACH;IATyB,IAAI,EAAlB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACS,SAAS,EAAxB,OAAO;gBA0PjB"}
|
|
@@ -20,7 +20,7 @@ import HeatmapOptions from './HeatmapOptions.js';
|
|
|
20
20
|
* render as cell-by-gene or gene-by-cell.
|
|
21
21
|
*/
|
|
22
22
|
export function HeatmapSubscriber(props) {
|
|
23
|
-
const { uuid, coordinationScopes, removeGridComponent, theme, transpose, observationsLabelOverride, variablesLabelOverride, title = 'Heatmap', } = props;
|
|
23
|
+
const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose, observationsLabelOverride, variablesLabelOverride, title = 'Heatmap', } = props;
|
|
24
24
|
const loaders = useLoaders();
|
|
25
25
|
const setComponentHover = useSetComponentHover();
|
|
26
26
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
@@ -100,7 +100,7 @@ export function HeatmapSubscriber(props) {
|
|
|
100
100
|
]), [observationsLabel]);
|
|
101
101
|
const selectedCount = cellColors.size;
|
|
102
102
|
return (_jsxs(TitleInfo, { title: title, info: `${commaNumber(cellsCount)} ${plur(observationsLabel, cellsCount)} × ${commaNumber(genesCount)} ${plur(variablesLabel, genesCount)},
|
|
103
|
-
with ${commaNumber(selectedCount)} ${plur(observationsLabel, selectedCount)} selected`, urls: urls, theme: theme, removeGridComponent: removeGridComponent, isReady: isReady && !isRendering, options: (_jsx(HeatmapOptions, { geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange, tooltipsVisible: tooltipsVisible, setTooltipsVisible: setTooltipsVisible })), children: [_jsx(Heatmap, { ref: deckRef, transpose: transpose, viewState: { zoom: zoomX, target: [targetX, targetY] }, setViewState: ({ zoom, target }) => {
|
|
103
|
+
with ${commaNumber(selectedCount)} ${plur(observationsLabel, selectedCount)} selected`, urls: urls, theme: theme, closeButtonVisible: closeButtonVisible, downloadButtonVisible: downloadButtonVisible, removeGridComponent: removeGridComponent, isReady: isReady && !isRendering, options: (_jsx(HeatmapOptions, { geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange, tooltipsVisible: tooltipsVisible, setTooltipsVisible: setTooltipsVisible })), children: [_jsx(Heatmap, { ref: deckRef, transpose: transpose, viewState: { zoom: zoomX, target: [targetX, targetY] }, setViewState: ({ zoom, target }) => {
|
|
104
104
|
setZoomX(zoom);
|
|
105
105
|
setZoomY(zoom);
|
|
106
106
|
setTargetX(target[0]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/heatmap",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"uuid": "^9.0.0",
|
|
22
22
|
"react-aria": "^3.28.0",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/utils": "3.3.
|
|
29
|
-
"@vitessce/workers": "3.3.
|
|
30
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/gl": "3.3.2",
|
|
24
|
+
"@vitessce/sets-utils": "3.3.2",
|
|
25
|
+
"@vitessce/legend": "3.3.2",
|
|
26
|
+
"@vitessce/tooltip": "3.3.2",
|
|
27
|
+
"@vitessce/vit-s": "3.3.2",
|
|
28
|
+
"@vitessce/utils": "3.3.2",
|
|
29
|
+
"@vitessce/workers": "3.3.2",
|
|
30
|
+
"@vitessce/constants-internal": "3.3.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^5.16.4",
|
package/src/HeatmapSubscriber.js
CHANGED
|
@@ -40,6 +40,8 @@ export function HeatmapSubscriber(props) {
|
|
|
40
40
|
const {
|
|
41
41
|
uuid,
|
|
42
42
|
coordinationScopes,
|
|
43
|
+
closeButtonVisible,
|
|
44
|
+
downloadButtonVisible,
|
|
43
45
|
removeGridComponent,
|
|
44
46
|
theme,
|
|
45
47
|
transpose,
|
|
@@ -201,6 +203,8 @@ export function HeatmapSubscriber(props) {
|
|
|
201
203
|
with ${commaNumber(selectedCount)} ${plur(observationsLabel, selectedCount)} selected`}
|
|
202
204
|
urls={urls}
|
|
203
205
|
theme={theme}
|
|
206
|
+
closeButtonVisible={closeButtonVisible}
|
|
207
|
+
downloadButtonVisible={downloadButtonVisible}
|
|
204
208
|
removeGridComponent={removeGridComponent}
|
|
205
209
|
isReady={isReady && !isRendering}
|
|
206
210
|
options={(
|