@vitessce/layer-controller 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-CfD7XI1J.js → deflate-C1xwcx5I.js} +1 -1
- package/dist/{index--tKOvOHS.js → index-DtuIAdKG.js} +11 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-Dxs20WzD.js → jpeg-ClELP1Y7.js} +1 -1
- package/dist/{lerc-DOOYL9jd.js → lerc-CFE3Ze_z.js} +1 -1
- package/dist/{lzw-Dz0GpPBw.js → lzw-qy2qAJDy.js} +1 -1
- package/dist/{packbits-C898JJ8R.js → packbits-u0sf9Ydw.js} +1 -1
- package/dist/{raw-C_QOClSc.js → raw-CYFJJ3fA.js} +1 -1
- package/dist/{webimage-DoxLrOMR.js → webimage-CQEHV8_N.js} +1 -1
- package/package.json +7 -7
|
@@ -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-DtuIAdKG.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -128043,22 +128043,22 @@ function addDecoder(cases, importFn) {
|
|
|
128043
128043
|
}
|
|
128044
128044
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
128045
128045
|
}
|
|
128046
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
128047
|
-
addDecoder(5, () => import("./lzw-
|
|
128046
|
+
addDecoder([void 0, 1], () => import("./raw-CYFJJ3fA.js").then((m) => m.default));
|
|
128047
|
+
addDecoder(5, () => import("./lzw-qy2qAJDy.js").then((m) => m.default));
|
|
128048
128048
|
addDecoder(6, () => {
|
|
128049
128049
|
throw new Error("old style JPEG compression is not supported.");
|
|
128050
128050
|
});
|
|
128051
|
-
addDecoder(7, () => import("./jpeg-
|
|
128052
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
128053
|
-
addDecoder(32773, () => import("./packbits-
|
|
128051
|
+
addDecoder(7, () => import("./jpeg-ClELP1Y7.js").then((m) => m.default));
|
|
128052
|
+
addDecoder([8, 32946], () => import("./deflate-C1xwcx5I.js").then((m) => m.default));
|
|
128053
|
+
addDecoder(32773, () => import("./packbits-u0sf9Ydw.js").then((m) => m.default));
|
|
128054
128054
|
addDecoder(
|
|
128055
128055
|
34887,
|
|
128056
|
-
() => import("./lerc-
|
|
128056
|
+
() => import("./lerc-CFE3Ze_z.js").then(async (m) => {
|
|
128057
128057
|
await m.zstd.init();
|
|
128058
128058
|
return m;
|
|
128059
128059
|
}).then((m) => m.default)
|
|
128060
128060
|
);
|
|
128061
|
-
addDecoder(50001, () => import("./webimage-
|
|
128061
|
+
addDecoder(50001, () => import("./webimage-CQEHV8_N.js").then((m) => m.default));
|
|
128062
128062
|
function decodeRowAcc(row, stride) {
|
|
128063
128063
|
let length2 = row.length - stride;
|
|
128064
128064
|
let offset2 = 0;
|
|
@@ -141713,10 +141713,10 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
141713
141713
|
channelIsSetColorMode.forEach((isSetColorMode, channelIndex) => {
|
|
141714
141714
|
var _a3, _b2, _c, _d;
|
|
141715
141715
|
if (isSetColorMode) {
|
|
141716
|
-
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length)
|
|
141716
|
+
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length) ?? 0) * 3;
|
|
141717
141717
|
totalValuesLength += ((_c = setColorValues[channelIndex]) == null ? void 0 : _c.obsIndex) ? max(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
141718
141718
|
} else {
|
|
141719
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length)
|
|
141719
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length) ?? 0;
|
|
141720
141720
|
}
|
|
141721
141721
|
});
|
|
141722
141722
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
|
@@ -141737,7 +141737,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
141737
141737
|
const matrixObsIndex = multiMatrixObsIndex[channelIndex];
|
|
141738
141738
|
const bitmaskValueIsIndex = matrixObsIndex === null;
|
|
141739
141739
|
if (isSetColorMode) {
|
|
141740
|
-
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex]
|
|
141740
|
+
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex] ?? {};
|
|
141741
141741
|
if (setColorIndices && setColors && obsIndex) {
|
|
141742
141742
|
for (let i2 = 0; i2 < obsIndex.length; i2++) {
|
|
141743
141743
|
let obsId = String(i2 + 1);
|
|
@@ -141761,7 +141761,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
141761
141761
|
indexOffset += (obsIndex == null ? void 0 : obsIndex.length) || 0;
|
|
141762
141762
|
colorOffset += (setColors == null ? void 0 : setColors.length) || 0;
|
|
141763
141763
|
} else {
|
|
141764
|
-
const featureArr = multiFeatureValues[channelIndex];
|
|
141764
|
+
const featureArr = multiFeatureValues[channelIndex] ?? [];
|
|
141765
141765
|
const normalizedFeatureArr = normalize(featureArr);
|
|
141766
141766
|
if (!bitmaskValueIsIndex && matrixObsIndex) {
|
|
141767
141767
|
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-DtuIAdKG.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/layer-controller",
|
|
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": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"math.gl": "^3.5.6",
|
|
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/spatial-utils": "3.6.
|
|
26
|
-
"@vitessce/utils": "3.6.
|
|
27
|
-
"@vitessce/vit-s": "3.6.
|
|
22
|
+
"@vitessce/styles": "3.6.16",
|
|
23
|
+
"@vitessce/constants-internal": "3.6.16",
|
|
24
|
+
"@vitessce/gl": "3.6.16",
|
|
25
|
+
"@vitessce/spatial-utils": "3.6.16",
|
|
26
|
+
"@vitessce/utils": "3.6.16",
|
|
27
|
+
"@vitessce/vit-s": "3.6.16"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|