@vitessce/scatterplot 3.6.13 → 3.6.15
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-KV2rU6XF.js → deflate-D7v9y_Ec.js} +1 -1
- package/dist/{index-9JozA7LF.js → index-DtMt-QI0.js} +11 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-CF0P30P8.js → jpeg-C7IlM-Ln.js} +1 -1
- package/dist/{lerc-B0to1gU8.js → lerc-D8906_Qm.js} +1 -1
- package/dist/{lzw-D-hHOYm_.js → lzw-CalgI7pl.js} +1 -1
- package/dist/{packbits-CIWrT1l4.js → packbits-CZKKaUwh.js} +1 -1
- package/dist/{raw-3_S9YVyH.js → raw-CsQY--F8.js} +1 -1
- package/dist/{webimage-DMr0pbig.js → webimage-AcNWv3Gx.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-DtMt-QI0.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -105939,22 +105939,22 @@ function addDecoder(cases, importFn) {
|
|
|
105939
105939
|
}
|
|
105940
105940
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
105941
105941
|
}
|
|
105942
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
105943
|
-
addDecoder(5, () => import("./lzw-
|
|
105942
|
+
addDecoder([void 0, 1], () => import("./raw-CsQY--F8.js").then((m2) => m2.default));
|
|
105943
|
+
addDecoder(5, () => import("./lzw-CalgI7pl.js").then((m2) => m2.default));
|
|
105944
105944
|
addDecoder(6, () => {
|
|
105945
105945
|
throw new Error("old style JPEG compression is not supported.");
|
|
105946
105946
|
});
|
|
105947
|
-
addDecoder(7, () => import("./jpeg-
|
|
105948
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
105949
|
-
addDecoder(32773, () => import("./packbits-
|
|
105947
|
+
addDecoder(7, () => import("./jpeg-C7IlM-Ln.js").then((m2) => m2.default));
|
|
105948
|
+
addDecoder([8, 32946], () => import("./deflate-D7v9y_Ec.js").then((m2) => m2.default));
|
|
105949
|
+
addDecoder(32773, () => import("./packbits-CZKKaUwh.js").then((m2) => m2.default));
|
|
105950
105950
|
addDecoder(
|
|
105951
105951
|
34887,
|
|
105952
|
-
() => import("./lerc-
|
|
105952
|
+
() => import("./lerc-D8906_Qm.js").then(async (m2) => {
|
|
105953
105953
|
await m2.zstd.init();
|
|
105954
105954
|
return m2;
|
|
105955
105955
|
}).then((m2) => m2.default)
|
|
105956
105956
|
);
|
|
105957
|
-
addDecoder(50001, () => import("./webimage-
|
|
105957
|
+
addDecoder(50001, () => import("./webimage-AcNWv3Gx.js").then((m2) => m2.default));
|
|
105958
105958
|
function decodeRowAcc(row, stride) {
|
|
105959
105959
|
let length2 = row.length - stride;
|
|
105960
105960
|
let offset2 = 0;
|
|
@@ -119781,10 +119781,10 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
119781
119781
|
channelIsSetColorMode.forEach((isSetColorMode, channelIndex) => {
|
|
119782
119782
|
var _a3, _b2, _c, _d;
|
|
119783
119783
|
if (isSetColorMode) {
|
|
119784
|
-
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length)
|
|
119784
|
+
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length) ?? 0) * 3;
|
|
119785
119785
|
totalValuesLength += ((_c = setColorValues[channelIndex]) == null ? void 0 : _c.obsIndex) ? max(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
119786
119786
|
} else {
|
|
119787
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length)
|
|
119787
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length) ?? 0;
|
|
119788
119788
|
}
|
|
119789
119789
|
});
|
|
119790
119790
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
|
@@ -119805,7 +119805,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
119805
119805
|
const matrixObsIndex = multiMatrixObsIndex[channelIndex];
|
|
119806
119806
|
const bitmaskValueIsIndex = matrixObsIndex === null;
|
|
119807
119807
|
if (isSetColorMode) {
|
|
119808
|
-
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex]
|
|
119808
|
+
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex] ?? {};
|
|
119809
119809
|
if (setColorIndices && setColors && obsIndex) {
|
|
119810
119810
|
for (let i2 = 0; i2 < obsIndex.length; i2++) {
|
|
119811
119811
|
let obsId = String(i2 + 1);
|
|
@@ -119829,7 +119829,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
119829
119829
|
indexOffset += (obsIndex == null ? void 0 : obsIndex.length) || 0;
|
|
119830
119830
|
colorOffset += (setColors == null ? void 0 : setColors.length) || 0;
|
|
119831
119831
|
} else {
|
|
119832
|
-
const featureArr = multiFeatureValues[channelIndex];
|
|
119832
|
+
const featureArr = multiFeatureValues[channelIndex] ?? [];
|
|
119833
119833
|
const normalizedFeatureArr = normalize(featureArr);
|
|
119834
119834
|
if (!bitmaskValueIsIndex && matrixObsIndex) {
|
|
119835
119835
|
for (let i2 = 0; i2 < matrixObsIndex.length; i2++) {
|
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-DtMt-QI0.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",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.15",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"d3-quadtree": "^1.0.7",
|
|
22
22
|
"lodash-es": "^4.17.21",
|
|
23
23
|
"react-aria": "^3.28.0",
|
|
24
|
-
"@vitessce/styles": "3.6.
|
|
25
|
-
"@vitessce/constants-internal": "3.6.
|
|
26
|
-
"@vitessce/gl": "3.6.
|
|
27
|
-
"@vitessce/icons": "3.6.
|
|
28
|
-
"@vitessce/tooltip": "3.6.
|
|
29
|
-
"@vitessce/utils": "3.6.
|
|
30
|
-
"@vitessce/vit-s": "3.6.
|
|
24
|
+
"@vitessce/styles": "3.6.15",
|
|
25
|
+
"@vitessce/constants-internal": "3.6.15",
|
|
26
|
+
"@vitessce/gl": "3.6.15",
|
|
27
|
+
"@vitessce/icons": "3.6.15",
|
|
28
|
+
"@vitessce/tooltip": "3.6.15",
|
|
29
|
+
"@vitessce/utils": "3.6.15",
|
|
30
|
+
"@vitessce/vit-s": "3.6.15"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^6.6.3",
|