@vitessce/heatmap 3.6.1 → 3.6.3
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-BVibX3Uq.js → deflate-CGbC7PRY.js} +1 -1
- package/dist/{index-BNko92Yi.js → index-DqIJTivP.js} +26 -22
- package/dist/index.js +1 -1
- package/dist/{jpeg-DwLtkwvP.js → jpeg-Cj4rIFBy.js} +1 -1
- package/dist/{lerc-D_5wOo-k.js → lerc-BDKNZy62.js} +1 -1
- package/dist/{lzw-D3bPG8e2.js → lzw-BcXamXYW.js} +1 -1
- package/dist/{packbits-CFQqWTBP.js → packbits-rQvXF0nL.js} +1 -1
- package/dist/{raw-DYPRCwoj.js → raw-BeDDwWGA.js} +1 -1
- package/dist/{webimage-B4Bpj0Mc.js → webimage-CV0zm01h.js} +1 -1
- package/package.json +10 -10
|
@@ -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-DqIJTivP.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -34223,21 +34223,25 @@ const rectMarginY = 2;
|
|
|
34223
34223
|
const rectMarginX = 2;
|
|
34224
34224
|
function combineExtents(extents, featureAggregationStrategy) {
|
|
34225
34225
|
if (Array.isArray(extents)) {
|
|
34226
|
-
if (
|
|
34227
|
-
|
|
34228
|
-
|
|
34229
|
-
|
|
34230
|
-
|
|
34231
|
-
|
|
34232
|
-
|
|
34233
|
-
|
|
34234
|
-
|
|
34235
|
-
|
|
34236
|
-
|
|
34237
|
-
|
|
34238
|
-
|
|
34239
|
-
|
|
34240
|
-
|
|
34226
|
+
if (Array.isArray(extents == null ? void 0 : extents[0])) {
|
|
34227
|
+
if (featureAggregationStrategy === "first") {
|
|
34228
|
+
return extents[0];
|
|
34229
|
+
}
|
|
34230
|
+
if (featureAggregationStrategy === "last") {
|
|
34231
|
+
return extents.at(-1);
|
|
34232
|
+
}
|
|
34233
|
+
if (typeof featureAggregationStrategy === "number") {
|
|
34234
|
+
const i2 = featureAggregationStrategy;
|
|
34235
|
+
return extents[i2];
|
|
34236
|
+
}
|
|
34237
|
+
if (featureAggregationStrategy === "sum") {
|
|
34238
|
+
return extents.reduce((a2, h) => [a2[0] + h[0], a2[1] + h[1]]);
|
|
34239
|
+
}
|
|
34240
|
+
if (featureAggregationStrategy === "mean") {
|
|
34241
|
+
return extents.reduce((a2, h) => [a2[0] + h[0], a2[1] + h[1]]).map((v) => v / extents.length);
|
|
34242
|
+
}
|
|
34243
|
+
} else {
|
|
34244
|
+
return extents;
|
|
34241
34245
|
}
|
|
34242
34246
|
}
|
|
34243
34247
|
return null;
|
|
@@ -138426,22 +138430,22 @@ function addDecoder(cases, importFn) {
|
|
|
138426
138430
|
}
|
|
138427
138431
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
138428
138432
|
}
|
|
138429
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
138430
|
-
addDecoder(5, () => import("./lzw-
|
|
138433
|
+
addDecoder([void 0, 1], () => import("./raw-BeDDwWGA.js").then((m) => m.default));
|
|
138434
|
+
addDecoder(5, () => import("./lzw-BcXamXYW.js").then((m) => m.default));
|
|
138431
138435
|
addDecoder(6, () => {
|
|
138432
138436
|
throw new Error("old style JPEG compression is not supported.");
|
|
138433
138437
|
});
|
|
138434
|
-
addDecoder(7, () => import("./jpeg-
|
|
138435
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
138436
|
-
addDecoder(32773, () => import("./packbits-
|
|
138438
|
+
addDecoder(7, () => import("./jpeg-Cj4rIFBy.js").then((m) => m.default));
|
|
138439
|
+
addDecoder([8, 32946], () => import("./deflate-CGbC7PRY.js").then((m) => m.default));
|
|
138440
|
+
addDecoder(32773, () => import("./packbits-rQvXF0nL.js").then((m) => m.default));
|
|
138437
138441
|
addDecoder(
|
|
138438
138442
|
34887,
|
|
138439
|
-
() => import("./lerc-
|
|
138443
|
+
() => import("./lerc-BDKNZy62.js").then(async (m) => {
|
|
138440
138444
|
await m.zstd.init();
|
|
138441
138445
|
return m;
|
|
138442
138446
|
}).then((m) => m.default)
|
|
138443
138447
|
);
|
|
138444
|
-
addDecoder(50001, () => import("./webimage-
|
|
138448
|
+
addDecoder(50001, () => import("./webimage-CV0zm01h.js").then((m) => m.default));
|
|
138445
138449
|
function decodeRowAcc(row, stride) {
|
|
138446
138450
|
let length2 = row.length - stride;
|
|
138447
138451
|
let offset2 = 0;
|
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-DqIJTivP.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/heatmap",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
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.3",
|
|
23
|
+
"@vitessce/constants-internal": "3.6.3",
|
|
24
|
+
"@vitessce/gl": "3.6.3",
|
|
25
|
+
"@vitessce/legend": "3.6.3",
|
|
26
|
+
"@vitessce/sets-utils": "3.6.3",
|
|
27
|
+
"@vitessce/tooltip": "3.6.3",
|
|
28
|
+
"@vitessce/utils": "3.6.3",
|
|
29
|
+
"@vitessce/vit-s": "3.6.3",
|
|
30
|
+
"@vitessce/workers": "3.6.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^6.6.3",
|