@vitessce/statistical-plots 3.6.14 → 3.6.16
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-DtacI9Tr.js → deflate-CWzHkMt8.js} +1 -1
- package/dist/{index-Bl5G_g7_.js → index-jTgzybKh.js} +11 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-DpTJpPfi.js → jpeg-CKLZ6Ujk.js} +1 -1
- package/dist/{lerc-AgxxbtnZ.js → lerc-Bg8_SUgD.js} +1 -1
- package/dist/{lzw-C-VsgZSP.js → lzw-BeELIhvX.js} +1 -1
- package/dist/{packbits-DeV-Nsa4.js → packbits-Dt1MSk9z.js} +1 -1
- package/dist/{raw-B1LxGKSB.js → raw-DDZdro0w.js} +1 -1
- package/dist/{webimage-pA0rKUmE.js → webimage-rE8shGdx.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-jTgzybKh.js";
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
4
4
|
decodeBlock(buffer) {
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
@@ -178737,22 +178737,22 @@ function addDecoder(cases2, importFn) {
|
|
178737
178737
|
}
|
178738
178738
|
cases2.forEach((c2) => registry$1.set(c2, importFn));
|
178739
178739
|
}
|
178740
|
-
addDecoder([void 0, 1], () => import("./raw-
|
178741
|
-
addDecoder(5, () => import("./lzw-
|
178740
|
+
addDecoder([void 0, 1], () => import("./raw-DDZdro0w.js").then((m2) => m2.default));
|
178741
|
+
addDecoder(5, () => import("./lzw-BeELIhvX.js").then((m2) => m2.default));
|
178742
178742
|
addDecoder(6, () => {
|
178743
178743
|
throw new Error("old style JPEG compression is not supported.");
|
178744
178744
|
});
|
178745
|
-
addDecoder(7, () => import("./jpeg-
|
178746
|
-
addDecoder([8, 32946], () => import("./deflate-
|
178747
|
-
addDecoder(32773, () => import("./packbits-
|
178745
|
+
addDecoder(7, () => import("./jpeg-CKLZ6Ujk.js").then((m2) => m2.default));
|
178746
|
+
addDecoder([8, 32946], () => import("./deflate-CWzHkMt8.js").then((m2) => m2.default));
|
178747
|
+
addDecoder(32773, () => import("./packbits-Dt1MSk9z.js").then((m2) => m2.default));
|
178748
178748
|
addDecoder(
|
178749
178749
|
34887,
|
178750
|
-
() => import("./lerc-
|
178750
|
+
() => import("./lerc-Bg8_SUgD.js").then(async (m2) => {
|
178751
178751
|
await m2.zstd.init();
|
178752
178752
|
return m2;
|
178753
178753
|
}).then((m2) => m2.default)
|
178754
178754
|
);
|
178755
|
-
addDecoder(50001, () => import("./webimage-
|
178755
|
+
addDecoder(50001, () => import("./webimage-rE8shGdx.js").then((m2) => m2.default));
|
178756
178756
|
function decodeRowAcc(row, stride) {
|
178757
178757
|
let length2 = row.length - stride;
|
178758
178758
|
let offset2 = 0;
|
@@ -189043,10 +189043,10 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
189043
189043
|
channelIsSetColorMode.forEach((isSetColorMode, channelIndex) => {
|
189044
189044
|
var _a3, _b2, _c2, _d2;
|
189045
189045
|
if (isSetColorMode) {
|
189046
|
-
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length)
|
189046
|
+
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length) ?? 0) * 3;
|
189047
189047
|
totalValuesLength += ((_c2 = setColorValues[channelIndex]) == null ? void 0 : _c2.obsIndex) ? max$3(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
189048
189048
|
} else {
|
189049
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$3(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d2 = multiFeatureValues[channelIndex]) == null ? void 0 : _d2.length)
|
189049
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$3(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d2 = multiFeatureValues[channelIndex]) == null ? void 0 : _d2.length) ?? 0;
|
189050
189050
|
}
|
189051
189051
|
});
|
189052
189052
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
@@ -189067,7 +189067,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
189067
189067
|
const matrixObsIndex = multiMatrixObsIndex[channelIndex];
|
189068
189068
|
const bitmaskValueIsIndex = matrixObsIndex === null;
|
189069
189069
|
if (isSetColorMode) {
|
189070
|
-
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex]
|
189070
|
+
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex] ?? {};
|
189071
189071
|
if (setColorIndices && setColors && obsIndex) {
|
189072
189072
|
for (let i2 = 0; i2 < obsIndex.length; i2++) {
|
189073
189073
|
let obsId = String(i2 + 1);
|
@@ -189091,7 +189091,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
189091
189091
|
indexOffset += (obsIndex == null ? void 0 : obsIndex.length) || 0;
|
189092
189092
|
colorOffset += (setColors == null ? void 0 : setColors.length) || 0;
|
189093
189093
|
} else {
|
189094
|
-
const featureArr = multiFeatureValues[channelIndex];
|
189094
|
+
const featureArr = multiFeatureValues[channelIndex] ?? [];
|
189095
189095
|
const normalizedFeatureArr = normalize$3(featureArr);
|
189096
189096
|
if (!bitmaskValueIsIndex && matrixObsIndex) {
|
189097
189097
|
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-jTgzybKh.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/statistical-plots",
|
3
|
-
"version": "3.6.
|
3
|
+
"version": "3.6.16",
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
5
5
|
"homepage": "http://vitessce.io",
|
6
6
|
"repository": {
|
@@ -28,13 +28,13 @@
|
|
28
28
|
"react-aria": "^3.28.0",
|
29
29
|
"internmap": "^2.0.3",
|
30
30
|
"uuid": "^9.0.0",
|
31
|
-
"@vitessce/styles": "3.6.
|
32
|
-
"@vitessce/constants-internal": "3.6.
|
33
|
-
"@vitessce/sets-utils": "3.6.
|
34
|
-
"@vitessce/utils": "3.6.
|
35
|
-
"@vitessce/vega": "3.6.
|
36
|
-
"@vitessce/vit-s": "3.6.
|
37
|
-
"@vitessce/gl": "3.6.
|
31
|
+
"@vitessce/styles": "3.6.16",
|
32
|
+
"@vitessce/constants-internal": "3.6.16",
|
33
|
+
"@vitessce/sets-utils": "3.6.16",
|
34
|
+
"@vitessce/utils": "3.6.16",
|
35
|
+
"@vitessce/vega": "3.6.16",
|
36
|
+
"@vitessce/vit-s": "3.6.16",
|
37
|
+
"@vitessce/gl": "3.6.16"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
40
|
"react": "^18.0.0",
|