@vitessce/heatmap 3.5.10 → 3.5.12
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-388f87f7.js → deflate-7e579a30.js} +1 -1
- package/dist/{index-de9c69b2.js → index-b56eab52.js} +95 -20
- package/dist/index.js +1 -1
- package/dist/{jpeg-91b6cf9a.js → jpeg-f15f272b.js} +1 -1
- package/dist/{lerc-73f4cfa5.js → lerc-0a74f6b0.js} +1 -1
- package/dist/{lzw-eb7143f8.js → lzw-01a17337.js} +1 -1
- package/dist/{packbits-90e50bfa.js → packbits-5a5ae26c.js} +1 -1
- package/dist/{raw-fa20d93e.js → raw-f60f82d6.js} +1 -1
- package/dist/{webimage-f3e4d686.js → webimage-98ff0639.js} +1 -1
- package/package.json +9 -9
|
@@ -11431,6 +11431,7 @@ const CoordinationType$1 = {
|
|
|
11431
11431
|
FEATURE_VALUE_COLORMAP: "featureValueColormap",
|
|
11432
11432
|
FEATURE_VALUE_TRANSFORM: "featureValueTransform",
|
|
11433
11433
|
FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
|
|
11434
|
+
FEATURE_AGGREGATION_STRATEGY: "featureAggregationStrategy",
|
|
11434
11435
|
OBS_COLOR_ENCODING: "obsColorEncoding",
|
|
11435
11436
|
SPATIAL_IMAGE_LAYER: "spatialImageLayer",
|
|
11436
11437
|
SPATIAL_SEGMENTATION_LAYER: "spatialSegmentationLayer",
|
|
@@ -11573,6 +11574,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11573
11574
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11574
11575
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11575
11576
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11577
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11576
11578
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11577
11579
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11578
11580
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
@@ -11616,6 +11618,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11616
11618
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11617
11619
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11618
11620
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11621
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11619
11622
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11620
11623
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11621
11624
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
@@ -11695,10 +11698,12 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11695
11698
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11696
11699
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11697
11700
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11701
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11698
11702
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11699
11703
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11700
11704
|
CoordinationType$1.MOLECULE_HIGHLIGHT,
|
|
11701
|
-
CoordinationType$1.TOOLTIPS_VISIBLE
|
|
11705
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
11706
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
11702
11707
|
],
|
|
11703
11708
|
[ViewType$1.SPATIAL_BETA]: [
|
|
11704
11709
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -11732,6 +11737,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11732
11737
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11733
11738
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11734
11739
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11740
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11735
11741
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11736
11742
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11737
11743
|
CoordinationType$1.MOLECULE_HIGHLIGHT,
|
|
@@ -11770,7 +11776,8 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11770
11776
|
CoordinationType$1.LEGEND_VISIBLE,
|
|
11771
11777
|
CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
|
|
11772
11778
|
CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
11773
|
-
CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE
|
|
11779
|
+
CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
|
|
11780
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
11774
11781
|
],
|
|
11775
11782
|
[ViewType$1.HEATMAP]: [
|
|
11776
11783
|
CoordinationType$1.DATASET,
|
|
@@ -11845,6 +11852,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11845
11852
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11846
11853
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM,
|
|
11847
11854
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
11855
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11848
11856
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
11849
11857
|
CoordinationType$1.OBS_SET_FILTER,
|
|
11850
11858
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
@@ -11860,6 +11868,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11860
11868
|
CoordinationType$1.FEATURE_TYPE,
|
|
11861
11869
|
CoordinationType$1.FEATURE_VALUE_TYPE,
|
|
11862
11870
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11871
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11863
11872
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11864
11873
|
CoordinationType$1.OBS_SET_COLOR,
|
|
11865
11874
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
@@ -11883,7 +11892,8 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11883
11892
|
CoordinationType$1.SPATIAL_ROTATION_Y,
|
|
11884
11893
|
CoordinationType$1.SPATIAL_ROTATION_Z,
|
|
11885
11894
|
CoordinationType$1.SPATIAL_ROTATION_ORBIT,
|
|
11886
|
-
CoordinationType$1.SPATIAL_ORBIT_AXIS
|
|
11895
|
+
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
11896
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
11887
11897
|
],
|
|
11888
11898
|
[ViewType$1.LAYER_CONTROLLER_BETA]: [
|
|
11889
11899
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -11938,6 +11948,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11938
11948
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11939
11949
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11940
11950
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11951
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11941
11952
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
11942
11953
|
CoordinationType$1.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
11943
11954
|
CoordinationType$1.LEGEND_VISIBLE,
|
|
@@ -11978,6 +11989,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11978
11989
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
11979
11990
|
CoordinationType$1.FEATURE_VALUE_POSITIVITY_THRESHOLD,
|
|
11980
11991
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11992
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11981
11993
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
11982
11994
|
CoordinationType$1.OBS_SET_FILTER,
|
|
11983
11995
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
@@ -12006,6 +12018,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12006
12018
|
CoordinationType$1.FEATURE_SELECTION,
|
|
12007
12019
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM,
|
|
12008
12020
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
12021
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
12009
12022
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
12010
12023
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
12011
12024
|
CoordinationType$1.OBS_HIGHLIGHT,
|
|
@@ -12110,6 +12123,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12110
12123
|
CoordinationType$1.OBS_TYPE,
|
|
12111
12124
|
CoordinationType$1.SAMPLE_TYPE,
|
|
12112
12125
|
CoordinationType$1.FEATURE_SELECTION,
|
|
12126
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
12113
12127
|
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12114
12128
|
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
12115
12129
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
@@ -12417,6 +12431,7 @@ z.object({
|
|
|
12417
12431
|
termColumn: z.string().optional(),
|
|
12418
12432
|
pValueColumn: z.string(),
|
|
12419
12433
|
pValueAdjusted: z.boolean().optional(),
|
|
12434
|
+
featureSetLibrary: z.string().optional().describe("Optionally, provide a feature set library name. By default, Reactome_2022."),
|
|
12420
12435
|
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
|
|
12421
12436
|
});
|
|
12422
12437
|
z.object({
|
|
@@ -12427,7 +12442,6 @@ z.object({
|
|
|
12427
12442
|
foldChangeColumn: z.string().describe("The log-fold change is then calculated between this expected sample and the expected sample with no active covariates from the intercept section."),
|
|
12428
12443
|
foldChangeTransformation: z.enum(["log2"]).optional(),
|
|
12429
12444
|
isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
|
|
12430
|
-
covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
|
|
12431
12445
|
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
|
|
12432
12446
|
});
|
|
12433
12447
|
const annDataObsLabels = annDataObs;
|
|
@@ -31759,8 +31773,50 @@ const titleHeight = 10;
|
|
|
31759
31773
|
const rectHeight = 8;
|
|
31760
31774
|
const rectMarginY = 2;
|
|
31761
31775
|
const rectMarginX = 2;
|
|
31776
|
+
function combineExtents(extents, featureAggregationStrategy) {
|
|
31777
|
+
if (Array.isArray(extents)) {
|
|
31778
|
+
if (featureAggregationStrategy === "first") {
|
|
31779
|
+
return extents[0];
|
|
31780
|
+
}
|
|
31781
|
+
if (featureAggregationStrategy === "last") {
|
|
31782
|
+
return extents.at(-1);
|
|
31783
|
+
}
|
|
31784
|
+
if (typeof featureAggregationStrategy === "number") {
|
|
31785
|
+
const i2 = featureAggregationStrategy;
|
|
31786
|
+
return extents[i2];
|
|
31787
|
+
}
|
|
31788
|
+
if (featureAggregationStrategy === "sum") {
|
|
31789
|
+
return extents.reduce((a2, h) => [a2[0] + h[0], a2[1] + h[1]]);
|
|
31790
|
+
}
|
|
31791
|
+
if (featureAggregationStrategy === "mean") {
|
|
31792
|
+
return extents.reduce((a2, h) => [a2[0] + h[0], a2[1] + h[1]]).map((v) => v / extents.length);
|
|
31793
|
+
}
|
|
31794
|
+
}
|
|
31795
|
+
return null;
|
|
31796
|
+
}
|
|
31797
|
+
function combineMissings(missings, featureAggregationStrategy) {
|
|
31798
|
+
if (Array.isArray(missings)) {
|
|
31799
|
+
if (featureAggregationStrategy === "first") {
|
|
31800
|
+
return missings[0];
|
|
31801
|
+
}
|
|
31802
|
+
if (featureAggregationStrategy === "last") {
|
|
31803
|
+
return missings.at(-1);
|
|
31804
|
+
}
|
|
31805
|
+
if (typeof featureAggregationStrategy === "number") {
|
|
31806
|
+
const i2 = featureAggregationStrategy;
|
|
31807
|
+
return missings[i2];
|
|
31808
|
+
}
|
|
31809
|
+
if (featureAggregationStrategy === "sum") {
|
|
31810
|
+
return missings.reduce((a2, h) => a2 + h, 0);
|
|
31811
|
+
}
|
|
31812
|
+
if (featureAggregationStrategy === "mean") {
|
|
31813
|
+
return missings.reduce((a2, h) => a2 + h / missings.length, 0);
|
|
31814
|
+
}
|
|
31815
|
+
}
|
|
31816
|
+
return null;
|
|
31817
|
+
}
|
|
31762
31818
|
function Legend(props) {
|
|
31763
|
-
const { visible: visibleProp, positionRelative = false, highContrast = false, obsType, featureValueType, considerSelections = true, obsColorEncoding, featureSelection, featureLabelsMap, featureValueColormap, featureValueColormapRange, spatialChannelColor, spatialLayerColor, obsSetSelection, obsSetColor, extent: extent2, missing, width = 100, height = 36, theme, showObsLabel = false, pointsVisible = true, contoursVisible = false, contoursFilled, contourPercentiles, contourThresholds } = props;
|
|
31819
|
+
const { visible: visibleProp, positionRelative = false, highContrast = false, obsType, featureValueType, considerSelections = true, obsColorEncoding, featureSelection, featureLabelsMap, featureValueColormap, featureValueColormapRange, spatialChannelColor, spatialLayerColor, obsSetSelection, obsSetColor, featureAggregationStrategy, extent: extent2, missing, width = 100, height = 36, theme, showObsLabel = false, pointsVisible = true, contoursVisible = false, contoursFilled, contourPercentiles, contourThresholds } = props;
|
|
31764
31820
|
const svgRef = useRef();
|
|
31765
31821
|
const classes = useStyles$1();
|
|
31766
31822
|
const isDarkTheme = theme === "dark";
|
|
@@ -31769,9 +31825,9 @@ function Legend(props) {
|
|
|
31769
31825
|
const layerColor = Array.isArray(spatialLayerColor) && spatialLayerColor.length === 3 ? spatialLayerColor : getDefaultColor(theme);
|
|
31770
31826
|
const channelColor = Array.isArray(spatialChannelColor) && spatialChannelColor.length === 3 ? spatialChannelColor : getDefaultColor(theme);
|
|
31771
31827
|
const staticColor = obsColorEncoding === "spatialChannelColor" ? channelColor : layerColor;
|
|
31772
|
-
const visible = visibleProp && (!considerSelections || obsColorEncoding === "geneSelection" && featureSelection && Array.isArray(featureSelection) && featureSelection.length
|
|
31828
|
+
const visible = visibleProp && (!considerSelections || obsColorEncoding === "geneSelection" && featureSelection && Array.isArray(featureSelection) && featureSelection.length >= 1 || isSetColor && (obsSetSelection == null ? void 0 : obsSetSelection.length) > 0 && (obsSetColor == null ? void 0 : obsSetColor.length) > 0 || isStaticColor);
|
|
31773
31829
|
const levelZeroNames = useMemo(() => Array.from(new Set((obsSetSelection == null ? void 0 : obsSetSelection.map((setPath) => setPath[0])) || [])), [obsSetSelection]);
|
|
31774
|
-
const dynamicHeight = isSetColor ? levelZeroNames.length * titleHeight + (obsSetSelection == null ? void 0 : obsSetSelection.length) * (rectHeight + rectMarginY) : height + (!pointsVisible && contoursVisible ? 25 : 0);
|
|
31830
|
+
const dynamicHeight = isSetColor && obsSetSelection ? levelZeroNames.length * titleHeight + (obsSetSelection == null ? void 0 : obsSetSelection.length) * (rectHeight + rectMarginY) : height + (!pointsVisible && contoursVisible ? 25 : 0);
|
|
31775
31831
|
useEffect(() => {
|
|
31776
31832
|
const domElement = svgRef.current;
|
|
31777
31833
|
const foregroundColor = highContrast ? "black" : isDarkTheme ? "white" : "black";
|
|
@@ -31780,7 +31836,7 @@ function Legend(props) {
|
|
|
31780
31836
|
svg.attr("width", width).attr("height", dynamicHeight);
|
|
31781
31837
|
const g2 = svg.append("g").attr("width", width).attr("height", dynamicHeight);
|
|
31782
31838
|
if (!considerSelections || obsColorEncoding === "geneSelection") {
|
|
31783
|
-
const [xMin, xMax] = extent2 || [0, 1];
|
|
31839
|
+
const [xMin, xMax] = combineExtents(extent2, featureAggregationStrategy) || [0, 1];
|
|
31784
31840
|
if (featureValueColormap && pointsVisible) {
|
|
31785
31841
|
const xlinkHref = getXlinkHref(featureValueColormap);
|
|
31786
31842
|
g2.append("image").attr("x", 0).attr("y", titleHeight).attr("width", width).attr("height", rectHeight).attr("preserveAspectRatio", "none").attr("href", xlinkHref);
|
|
@@ -31844,8 +31900,19 @@ function Legend(props) {
|
|
|
31844
31900
|
});
|
|
31845
31901
|
});
|
|
31846
31902
|
}
|
|
31847
|
-
const featureSelectionLabelRaw = featureSelection && featureSelection.length >= 1 && !isStaticColor ? (featureLabelsMap == null ? void 0 : featureLabelsMap.get(
|
|
31848
|
-
|
|
31903
|
+
const featureSelectionLabelRaw = featureSelection && featureSelection.length >= 1 && !isStaticColor ? featureSelection.map((geneName) => (featureLabelsMap == null ? void 0 : featureLabelsMap.get(geneName)) || (featureLabelsMap == null ? void 0 : featureLabelsMap.get(cleanFeatureId(geneName))) || geneName) : null;
|
|
31904
|
+
let featureSelectionLabelRawStr = "";
|
|
31905
|
+
if (featureAggregationStrategy === "first") {
|
|
31906
|
+
featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw[0];
|
|
31907
|
+
} else if (featureAggregationStrategy === "last") {
|
|
31908
|
+
featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw.at(-1);
|
|
31909
|
+
} else if (featureAggregationStrategy === "sum") {
|
|
31910
|
+
featureSelectionLabelRawStr = "Sum of features";
|
|
31911
|
+
} else if (featureAggregationStrategy === "mean") {
|
|
31912
|
+
featureSelectionLabelRawStr = "Mean of features";
|
|
31913
|
+
}
|
|
31914
|
+
const combinedMissing = combineMissings(missing, featureAggregationStrategy);
|
|
31915
|
+
const featureSelectionLabel = combinedMissing ? `${featureSelectionLabelRawStr} (${Math.round(combinedMissing * 100)}% NaN)` : featureSelectionLabelRawStr;
|
|
31849
31916
|
const obsLabel = capitalize$1(obsType);
|
|
31850
31917
|
const featureLabel = considerSelections ? featureSelectionLabel || capitalize$1(featureValueType) : capitalize$1(featureValueType);
|
|
31851
31918
|
const mainLabel = showObsLabel ? obsLabel : featureLabel;
|
|
@@ -31879,7 +31946,8 @@ function Legend(props) {
|
|
|
31879
31946
|
contourThresholds,
|
|
31880
31947
|
contoursFilled,
|
|
31881
31948
|
contoursVisible,
|
|
31882
|
-
pointsVisible
|
|
31949
|
+
pointsVisible,
|
|
31950
|
+
featureAggregationStrategy
|
|
31883
31951
|
]);
|
|
31884
31952
|
return jsxRuntimeExports.jsx("div", { className: clsx(classes.legend, {
|
|
31885
31953
|
[classes.legendRelative]: positionRelative,
|
|
@@ -139071,8 +139139,15 @@ class SelectionLayer extends CompositeLayer {
|
|
|
139071
139139
|
if (!nodePolygonContainsSelectedPolygon && !nodePolygonWithinSelectedPolygon && !nodePolygonOverlapsSelectedPolgyon) {
|
|
139072
139140
|
return true;
|
|
139073
139141
|
}
|
|
139074
|
-
if (node.data
|
|
139075
|
-
|
|
139142
|
+
if (node.data) {
|
|
139143
|
+
let current = node;
|
|
139144
|
+
while (current) {
|
|
139145
|
+
const pointCoords = [].slice.call(getObsCoords(current.data));
|
|
139146
|
+
if (booleanPointInPolygon$1(point$1(pointCoords), selectedPolygon)) {
|
|
139147
|
+
pickingInfos.push(current.data);
|
|
139148
|
+
}
|
|
139149
|
+
current = current.next;
|
|
139150
|
+
}
|
|
139076
139151
|
}
|
|
139077
139152
|
return false;
|
|
139078
139153
|
});
|
|
@@ -140255,16 +140330,16 @@ function addDecoder(cases, importFn) {
|
|
|
140255
140330
|
}
|
|
140256
140331
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
140257
140332
|
}
|
|
140258
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
140259
|
-
addDecoder(5, () => import("./lzw-
|
|
140333
|
+
addDecoder([void 0, 1], () => import("./raw-f60f82d6.js").then((m) => m.default));
|
|
140334
|
+
addDecoder(5, () => import("./lzw-01a17337.js").then((m) => m.default));
|
|
140260
140335
|
addDecoder(6, () => {
|
|
140261
140336
|
throw new Error("old style JPEG compression is not supported.");
|
|
140262
140337
|
});
|
|
140263
|
-
addDecoder(7, () => import("./jpeg-
|
|
140264
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
140265
|
-
addDecoder(32773, () => import("./packbits-
|
|
140266
|
-
addDecoder(34887, () => import("./lerc-
|
|
140267
|
-
addDecoder(50001, () => import("./webimage-
|
|
140338
|
+
addDecoder(7, () => import("./jpeg-f15f272b.js").then((m) => m.default));
|
|
140339
|
+
addDecoder([8, 32946], () => import("./deflate-7e579a30.js").then((m) => m.default));
|
|
140340
|
+
addDecoder(32773, () => import("./packbits-5a5ae26c.js").then((m) => m.default));
|
|
140341
|
+
addDecoder(34887, () => import("./lerc-0a74f6b0.js").then((m) => m.default));
|
|
140342
|
+
addDecoder(50001, () => import("./webimage-98ff0639.js").then((m) => m.default));
|
|
140268
140343
|
function decodeRowAcc(row, stride) {
|
|
140269
140344
|
let length2 = row.length - stride;
|
|
140270
140345
|
let offset5 = 0;
|
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-b56eab52.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/heatmap",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.12",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
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/constants-internal": "3.5.
|
|
24
|
-
"@vitessce/gl": "3.5.
|
|
25
|
-
"@vitessce/legend": "3.5.
|
|
26
|
-
"@vitessce/sets-utils": "3.5.
|
|
27
|
-
"@vitessce/tooltip": "3.5.
|
|
28
|
-
"@vitessce/utils": "3.5.
|
|
29
|
-
"@vitessce/vit-s": "3.5.
|
|
30
|
-
"@vitessce/workers": "3.5.
|
|
23
|
+
"@vitessce/constants-internal": "3.5.12",
|
|
24
|
+
"@vitessce/gl": "3.5.12",
|
|
25
|
+
"@vitessce/legend": "3.5.12",
|
|
26
|
+
"@vitessce/sets-utils": "3.5.12",
|
|
27
|
+
"@vitessce/tooltip": "3.5.12",
|
|
28
|
+
"@vitessce/utils": "3.5.12",
|
|
29
|
+
"@vitessce/vit-s": "3.5.12",
|
|
30
|
+
"@vitessce/workers": "3.5.12"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^5.16.4",
|