@vitessce/scatterplot-embedding 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-Db2cTk_W.js → deflate-BNjVGM_n.js} +1 -1
- package/dist/{index-j0ihMbBE.js → index-Cjo_e-1O.js} +26 -22
- package/dist/index.js +1 -1
- package/dist/{jpeg-CHU3I9No.js → jpeg-Ctq9g9DE.js} +1 -1
- package/dist/{lerc-D8PUPaYD.js → lerc-BOvxa_Oj.js} +1 -1
- package/dist/{lzw-CUWU5SBx.js → lzw-BB7DzK4H.js} +1 -1
- package/dist/{packbits-Jo_SZrPf.js → packbits-C1sP_Cxs.js} +1 -1
- package/dist/{raw-ufiv5yWM.js → raw-7khL7CHs.js} +1 -1
- package/dist/{webimage-7P2vy2jd.js → webimage-CFAQsrry.js} +1 -1
- package/package.json +8 -8
|
@@ -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-Cjo_e-1O.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -123213,22 +123213,22 @@ function addDecoder(cases, importFn) {
|
|
|
123213
123213
|
}
|
|
123214
123214
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123215
123215
|
}
|
|
123216
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123217
|
-
addDecoder(5, () => import("./lzw-
|
|
123216
|
+
addDecoder([void 0, 1], () => import("./raw-7khL7CHs.js").then((m2) => m2.default));
|
|
123217
|
+
addDecoder(5, () => import("./lzw-BB7DzK4H.js").then((m2) => m2.default));
|
|
123218
123218
|
addDecoder(6, () => {
|
|
123219
123219
|
throw new Error("old style JPEG compression is not supported.");
|
|
123220
123220
|
});
|
|
123221
|
-
addDecoder(7, () => import("./jpeg-
|
|
123222
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123223
|
-
addDecoder(32773, () => import("./packbits-
|
|
123221
|
+
addDecoder(7, () => import("./jpeg-Ctq9g9DE.js").then((m2) => m2.default));
|
|
123222
|
+
addDecoder([8, 32946], () => import("./deflate-BNjVGM_n.js").then((m2) => m2.default));
|
|
123223
|
+
addDecoder(32773, () => import("./packbits-C1sP_Cxs.js").then((m2) => m2.default));
|
|
123224
123224
|
addDecoder(
|
|
123225
123225
|
34887,
|
|
123226
|
-
() => import("./lerc-
|
|
123226
|
+
() => import("./lerc-BOvxa_Oj.js").then(async (m2) => {
|
|
123227
123227
|
await m2.zstd.init();
|
|
123228
123228
|
return m2;
|
|
123229
123229
|
}).then((m2) => m2.default)
|
|
123230
123230
|
);
|
|
123231
|
-
addDecoder(50001, () => import("./webimage-
|
|
123231
|
+
addDecoder(50001, () => import("./webimage-CFAQsrry.js").then((m2) => m2.default));
|
|
123232
123232
|
function decodeRowAcc(row, stride) {
|
|
123233
123233
|
let length2 = row.length - stride;
|
|
123234
123234
|
let offset2 = 0;
|
|
@@ -153736,21 +153736,25 @@ const rectMarginY = 2;
|
|
|
153736
153736
|
const rectMarginX = 2;
|
|
153737
153737
|
function combineExtents(extents, featureAggregationStrategy) {
|
|
153738
153738
|
if (Array.isArray(extents)) {
|
|
153739
|
-
if (
|
|
153740
|
-
|
|
153741
|
-
|
|
153742
|
-
|
|
153743
|
-
|
|
153744
|
-
|
|
153745
|
-
|
|
153746
|
-
|
|
153747
|
-
|
|
153748
|
-
|
|
153749
|
-
|
|
153750
|
-
|
|
153751
|
-
|
|
153752
|
-
|
|
153753
|
-
|
|
153739
|
+
if (Array.isArray(extents == null ? void 0 : extents[0])) {
|
|
153740
|
+
if (featureAggregationStrategy === "first") {
|
|
153741
|
+
return extents[0];
|
|
153742
|
+
}
|
|
153743
|
+
if (featureAggregationStrategy === "last") {
|
|
153744
|
+
return extents.at(-1);
|
|
153745
|
+
}
|
|
153746
|
+
if (typeof featureAggregationStrategy === "number") {
|
|
153747
|
+
const i2 = featureAggregationStrategy;
|
|
153748
|
+
return extents[i2];
|
|
153749
|
+
}
|
|
153750
|
+
if (featureAggregationStrategy === "sum") {
|
|
153751
|
+
return extents.reduce((a2, h) => [a2[0] + h[0], a2[1] + h[1]]);
|
|
153752
|
+
}
|
|
153753
|
+
if (featureAggregationStrategy === "mean") {
|
|
153754
|
+
return extents.reduce((a2, h) => [a2[0] + h[0], a2[1] + h[1]]).map((v) => v / extents.length);
|
|
153755
|
+
}
|
|
153756
|
+
} else {
|
|
153757
|
+
return extents;
|
|
153754
153758
|
}
|
|
153755
153759
|
}
|
|
153756
153760
|
return null;
|
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-Cjo_e-1O.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/scatterplot-embedding",
|
|
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": {
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
22
|
"@turf/circle": "^7.2.0",
|
|
23
|
-
"@vitessce/styles": "3.6.
|
|
24
|
-
"@vitessce/constants-internal": "3.6.
|
|
25
|
-
"@vitessce/legend": "3.6.
|
|
26
|
-
"@vitessce/scatterplot": "3.6.
|
|
27
|
-
"@vitessce/sets-utils": "3.6.
|
|
28
|
-
"@vitessce/utils": "3.6.
|
|
29
|
-
"@vitessce/vit-s": "3.6.
|
|
23
|
+
"@vitessce/styles": "3.6.3",
|
|
24
|
+
"@vitessce/constants-internal": "3.6.3",
|
|
25
|
+
"@vitessce/legend": "3.6.3",
|
|
26
|
+
"@vitessce/scatterplot": "3.6.3",
|
|
27
|
+
"@vitessce/sets-utils": "3.6.3",
|
|
28
|
+
"@vitessce/utils": "3.6.3",
|
|
29
|
+
"@vitessce/vit-s": "3.6.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"react": "^18.0.0",
|