@vitessce/heatmap 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.
- package/dist/{deflate-BPUN1lvi.js → deflate-9nZ87Z1F.js} +1 -1
- package/dist/{index-C1af7JPH.js → index-gbnJAInw.js} +10 -9
- package/dist/index.js +1 -1
- package/dist/{jpeg-CpmVJ42X.js → jpeg-D4w6F2QL.js} +1 -1
- package/dist/{lerc-CPHfI-f2.js → lerc-DDvnNSMa.js} +1 -1
- package/dist/{lzw-CvkIL6nh.js → lzw-DmLr47v3.js} +1 -1
- package/dist/{packbits-B-NeN4CG.js → packbits-BXfNep8e.js} +1 -1
- package/dist/{raw-tr07gm2Y.js → raw-BqSl12fx.js} +1 -1
- package/dist/{webimage-D-qAx2Yj.js → webimage-DRT49Aaq.js} +1 -1
- package/dist-tsc/HeatmapSubscriber.d.ts.map +1 -1
- package/dist-tsc/HeatmapSubscriber.js +3 -2
- package/package.json +10 -10
- package/src/HeatmapSubscriber.js +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-gbnJAInw.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
var _a2, _b;
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import React__default, { useContext, forwardRef, useRef, useMemo, createContext, createElement, isValidElement, cloneElement, Children, useEffect, useLayoutEffect, useState, useImperativeHandle, useReducer, useCallback } from "react";
|
|
7
|
-
import { useVitessceContainer, useComponentHover, useComponentViewInfo, usePlotOptionsStyles, OptionsContainer, OptionSelect, useLoaders, useSetComponentHover, useSetComponentViewInfo, useCoordination, useDeckCanvasSize, useMultiObsLabels, useFeatureLabelsData, useExpandedFeatureLabelsMap, useObsFeatureMatrixData, useObsSetsData, useReady, useUrls, useUint8ObsFeatureMatrix, useGetObsInfo, useGetObsMembership, TitleInfo } from "@vitessce/vit-s";
|
|
7
|
+
import { useVitessceContainer, useComponentHover, useComponentViewInfo, usePlotOptionsStyles, OptionsContainer, OptionSelect, useLoaders, useCoordinationScopes, useSetComponentHover, useSetComponentViewInfo, useCoordination, useDeckCanvasSize, useMultiObsLabels, useFeatureLabelsData, useExpandedFeatureLabelsMap, useObsFeatureMatrixData, useObsSetsData, useReady, useUrls, useUint8ObsFeatureMatrix, useGetObsInfo, useGetObsMembership, TitleInfo } from "@vitessce/vit-s";
|
|
8
8
|
import * as ReactDOM from "react-dom";
|
|
9
9
|
function _mergeNamespaces(n2, m) {
|
|
10
10
|
for (var i2 = 0; i2 < m.length; i2++) {
|
|
@@ -137800,22 +137800,22 @@ function addDecoder(cases, importFn) {
|
|
|
137800
137800
|
}
|
|
137801
137801
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
137802
137802
|
}
|
|
137803
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
137804
|
-
addDecoder(5, () => import("./lzw-
|
|
137803
|
+
addDecoder([void 0, 1], () => import("./raw-BqSl12fx.js").then((m) => m.default));
|
|
137804
|
+
addDecoder(5, () => import("./lzw-DmLr47v3.js").then((m) => m.default));
|
|
137805
137805
|
addDecoder(6, () => {
|
|
137806
137806
|
throw new Error("old style JPEG compression is not supported.");
|
|
137807
137807
|
});
|
|
137808
|
-
addDecoder(7, () => import("./jpeg-
|
|
137809
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
137810
|
-
addDecoder(32773, () => import("./packbits-
|
|
137808
|
+
addDecoder(7, () => import("./jpeg-D4w6F2QL.js").then((m) => m.default));
|
|
137809
|
+
addDecoder([8, 32946], () => import("./deflate-9nZ87Z1F.js").then((m) => m.default));
|
|
137810
|
+
addDecoder(32773, () => import("./packbits-BXfNep8e.js").then((m) => m.default));
|
|
137811
137811
|
addDecoder(
|
|
137812
137812
|
34887,
|
|
137813
|
-
() => import("./lerc-
|
|
137813
|
+
() => import("./lerc-DDvnNSMa.js").then(async (m) => {
|
|
137814
137814
|
await m.zstd.init();
|
|
137815
137815
|
return m;
|
|
137816
137816
|
}).then((m) => m.default)
|
|
137817
137817
|
);
|
|
137818
|
-
addDecoder(50001, () => import("./webimage-
|
|
137818
|
+
addDecoder(50001, () => import("./webimage-DRT49Aaq.js").then((m) => m.default));
|
|
137819
137819
|
function decodeRowAcc(row, stride) {
|
|
137820
137820
|
let length2 = row.length - stride;
|
|
137821
137821
|
let offset2 = 0;
|
|
@@ -152535,7 +152535,7 @@ function HeatmapOptions(props) {
|
|
|
152535
152535
|
function HeatmapSubscriber(props) {
|
|
152536
152536
|
const {
|
|
152537
152537
|
uuid,
|
|
152538
|
-
coordinationScopes,
|
|
152538
|
+
coordinationScopes: coordinationScopesRaw,
|
|
152539
152539
|
closeButtonVisible,
|
|
152540
152540
|
downloadButtonVisible,
|
|
152541
152541
|
removeGridComponent,
|
|
@@ -152547,6 +152547,7 @@ function HeatmapSubscriber(props) {
|
|
|
152547
152547
|
helpText = ViewHelpMapping.HEATMAP
|
|
152548
152548
|
} = props;
|
|
152549
152549
|
const loaders = useLoaders();
|
|
152550
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
152550
152551
|
const setComponentHover = useSetComponentHover();
|
|
152551
152552
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
152552
152553
|
const [{
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-gbnJAInw.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapSubscriber.d.ts","sourceRoot":"","sources":["../src/HeatmapSubscriber.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeatmapSubscriber.d.ts","sourceRoot":"","sources":["../src/HeatmapSubscriber.js"],"names":[],"mappings":"AA6BA;;;;;;;;;;GAUG;AACH,yCATG;IAAsB,IAAI,EAAlB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACS,SAAS,EAAxB,OAAO;CAEjB,eA0RA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useState, useCallback, useMemo, } from 'react';
|
|
3
|
-
import { TitleInfo, useDeckCanvasSize, useGetObsMembership, useGetObsInfo, useReady, useUrls, useObsSetsData, useObsFeatureMatrixData, useUint8ObsFeatureMatrix, useMultiObsLabels, useFeatureLabelsData, useCoordination, useLoaders, useSetComponentHover, useSetComponentViewInfo, useExpandedFeatureLabelsMap, } from '@vitessce/vit-s';
|
|
3
|
+
import { TitleInfo, useDeckCanvasSize, useGetObsMembership, useGetObsInfo, useReady, useUrls, useObsSetsData, useObsFeatureMatrixData, useUint8ObsFeatureMatrix, useMultiObsLabels, useFeatureLabelsData, useCoordination, useLoaders, useSetComponentHover, useSetComponentViewInfo, useExpandedFeatureLabelsMap, useCoordinationScopes, } from '@vitessce/vit-s';
|
|
4
4
|
import { pluralize as plur, capitalize, commaNumber, cleanFeatureId } from '@vitessce/utils';
|
|
5
5
|
import { mergeObsSets, findLongestCommonPath, getCellColors } from '@vitessce/sets-utils';
|
|
6
6
|
import { COMPONENT_COORDINATION_TYPES, ViewType, ViewHelpMapping } from '@vitessce/constants-internal';
|
|
@@ -20,8 +20,9 @@ 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, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose, observationsLabelOverride, variablesLabelOverride, title = 'Heatmap', helpText = ViewHelpMapping.HEATMAP, } = props;
|
|
23
|
+
const { uuid, coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose, observationsLabelOverride, variablesLabelOverride, title = 'Heatmap', helpText = ViewHelpMapping.HEATMAP, } = props;
|
|
24
24
|
const loaders = useLoaders();
|
|
25
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
25
26
|
const setComponentHover = useSetComponentHover();
|
|
26
27
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
27
28
|
// Get "props" from the coordination space.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/heatmap",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.18",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"uuid": "^9.0.0",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
|
-
"@vitessce/styles": "3.6.
|
|
23
|
-
"@vitessce/constants-internal": "3.6.
|
|
24
|
-
"@vitessce/gl": "3.6.
|
|
25
|
-
"@vitessce/legend": "3.6.
|
|
26
|
-
"@vitessce/sets-utils": "3.6.
|
|
27
|
-
"@vitessce/tooltip": "3.6.
|
|
28
|
-
"@vitessce/utils": "3.6.
|
|
29
|
-
"@vitessce/vit-s": "3.6.
|
|
30
|
-
"@vitessce/workers": "3.6.
|
|
22
|
+
"@vitessce/styles": "3.6.18",
|
|
23
|
+
"@vitessce/constants-internal": "3.6.18",
|
|
24
|
+
"@vitessce/gl": "3.6.18",
|
|
25
|
+
"@vitessce/legend": "3.6.18",
|
|
26
|
+
"@vitessce/sets-utils": "3.6.18",
|
|
27
|
+
"@vitessce/tooltip": "3.6.18",
|
|
28
|
+
"@vitessce/utils": "3.6.18",
|
|
29
|
+
"@vitessce/vit-s": "3.6.18",
|
|
30
|
+
"@vitessce/workers": "3.6.18"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^6.6.3",
|
package/src/HeatmapSubscriber.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
useCoordination, useLoaders,
|
|
17
17
|
useSetComponentHover, useSetComponentViewInfo,
|
|
18
18
|
useExpandedFeatureLabelsMap,
|
|
19
|
+
useCoordinationScopes,
|
|
19
20
|
} from '@vitessce/vit-s';
|
|
20
21
|
import { pluralize as plur, capitalize, commaNumber, cleanFeatureId } from '@vitessce/utils';
|
|
21
22
|
import { mergeObsSets, findLongestCommonPath, getCellColors } from '@vitessce/sets-utils';
|
|
@@ -40,7 +41,7 @@ import HeatmapOptions from './HeatmapOptions.js';
|
|
|
40
41
|
export function HeatmapSubscriber(props) {
|
|
41
42
|
const {
|
|
42
43
|
uuid,
|
|
43
|
-
coordinationScopes,
|
|
44
|
+
coordinationScopes: coordinationScopesRaw,
|
|
44
45
|
closeButtonVisible,
|
|
45
46
|
downloadButtonVisible,
|
|
46
47
|
removeGridComponent,
|
|
@@ -53,6 +54,7 @@ export function HeatmapSubscriber(props) {
|
|
|
53
54
|
} = props;
|
|
54
55
|
|
|
55
56
|
const loaders = useLoaders();
|
|
57
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
56
58
|
const setComponentHover = useSetComponentHover();
|
|
57
59
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
58
60
|
|