@vitessce/layer-controller 3.7.0 → 3.7.1
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-D3mL8ngO.js → deflate-D2IuNnTJ.js} +1 -1
- package/dist/{index-CYIYE8B7.js → index-Cg8VJ2KT.js} +10 -12
- package/dist/index.js +1 -1
- package/dist/{jpeg-C-T48Smu.js → jpeg-CtJBK85o.js} +1 -1
- package/dist/{lerc-BkWxYHtF.js → lerc-BeaUIbpj.js} +1 -1
- package/dist/{lzw-CbTZfKs9.js → lzw-O8XnQHW3.js} +1 -1
- package/dist/{packbits-D6o4d29o.js → packbits-0obvAeIX.js} +1 -1
- package/dist/{raw-BfRzHTth.js → raw-BJ4Qj133.js} +1 -1
- package/dist/{webimage-DsTVvuUV.js → webimage-Dhg-pE0F.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-Cg8VJ2KT.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -21860,6 +21860,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
21860
21860
|
CoordinationType.SPATIAL_ROTATION_Y,
|
|
21861
21861
|
CoordinationType.SPATIAL_ROTATION_Z,
|
|
21862
21862
|
CoordinationType.SPATIAL_AXIS_FIXED,
|
|
21863
|
+
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
21863
21864
|
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
21864
21865
|
CoordinationType.SPATIAL_ZOOM,
|
|
21865
21866
|
CoordinationType.OBS_FILTER,
|
|
@@ -21867,14 +21868,11 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
21867
21868
|
CoordinationType.OBS_SET_SELECTION,
|
|
21868
21869
|
CoordinationType.OBS_SET_FILTER,
|
|
21869
21870
|
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
21870
|
-
CoordinationType.OBS_SET_COLOR,
|
|
21871
21871
|
CoordinationType.OBS_TYPE,
|
|
21872
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
21873
21872
|
CoordinationType.OBS_SET_COLOR,
|
|
21874
21873
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
21875
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
21876
21874
|
CoordinationType.EMBEDDING_TYPE,
|
|
21877
|
-
CoordinationType.
|
|
21875
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
21878
21876
|
CoordinationType.TOOLTIPS_VISIBLE
|
|
21879
21877
|
],
|
|
21880
21878
|
[ViewType.SCATTERPLOT]: [
|
|
@@ -128045,22 +128043,22 @@ function addDecoder(cases, importFn) {
|
|
|
128045
128043
|
}
|
|
128046
128044
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
128047
128045
|
}
|
|
128048
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
128049
|
-
addDecoder(5, () => import("./lzw-
|
|
128046
|
+
addDecoder([void 0, 1], () => import("./raw-BJ4Qj133.js").then((m) => m.default));
|
|
128047
|
+
addDecoder(5, () => import("./lzw-O8XnQHW3.js").then((m) => m.default));
|
|
128050
128048
|
addDecoder(6, () => {
|
|
128051
128049
|
throw new Error("old style JPEG compression is not supported.");
|
|
128052
128050
|
});
|
|
128053
|
-
addDecoder(7, () => import("./jpeg-
|
|
128054
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
128055
|
-
addDecoder(32773, () => import("./packbits-
|
|
128051
|
+
addDecoder(7, () => import("./jpeg-CtJBK85o.js").then((m) => m.default));
|
|
128052
|
+
addDecoder([8, 32946], () => import("./deflate-D2IuNnTJ.js").then((m) => m.default));
|
|
128053
|
+
addDecoder(32773, () => import("./packbits-0obvAeIX.js").then((m) => m.default));
|
|
128056
128054
|
addDecoder(
|
|
128057
128055
|
34887,
|
|
128058
|
-
() => import("./lerc-
|
|
128056
|
+
() => import("./lerc-BeaUIbpj.js").then(async (m) => {
|
|
128059
128057
|
await m.zstd.init();
|
|
128060
128058
|
return m;
|
|
128061
128059
|
}).then((m) => m.default)
|
|
128062
128060
|
);
|
|
128063
|
-
addDecoder(50001, () => import("./webimage-
|
|
128061
|
+
addDecoder(50001, () => import("./webimage-Dhg-pE0F.js").then((m) => m.default));
|
|
128064
128062
|
function decodeRowAcc(row, stride) {
|
|
128065
128063
|
let length2 = row.length - stride;
|
|
128066
128064
|
let offset2 = 0;
|
|
@@ -145343,7 +145341,7 @@ const canLoadResolution = (loader, resolution) => {
|
|
|
145343
145341
|
const { totalBytes, height: height2, width: width2, depthDownsampled } = getStatsForResolution(loader, resolution);
|
|
145344
145342
|
const maxHeapSize = ((_a3 = window.performance) == null ? void 0 : _a3.memory) && ((_c = (_b2 = window.performance) == null ? void 0 : _b2.memory) == null ? void 0 : _c.jsHeapSizeLimit) / 2;
|
|
145345
145343
|
const maxSize = maxHeapSize || 2 ** 31 - 1;
|
|
145346
|
-
return totalBytes < maxSize && height2 <= 2048 &&
|
|
145344
|
+
return totalBytes < maxSize && height2 <= 2048 && width2 <= 2048 && depthDownsampled <= 2048;
|
|
145347
145345
|
};
|
|
145348
145346
|
function isRgb(loader, channels2) {
|
|
145349
145347
|
const source = getSourceFromLoader(loader);
|
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-Cg8VJ2KT.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.7.
|
|
3
|
+
"version": "3.7.1",
|
|
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.7.
|
|
23
|
-
"@vitessce/constants-internal": "3.7.
|
|
24
|
-
"@vitessce/gl": "3.7.
|
|
25
|
-
"@vitessce/spatial-utils": "3.7.
|
|
26
|
-
"@vitessce/utils": "3.7.
|
|
27
|
-
"@vitessce/vit-s": "3.7.
|
|
22
|
+
"@vitessce/styles": "3.7.1",
|
|
23
|
+
"@vitessce/constants-internal": "3.7.1",
|
|
24
|
+
"@vitessce/gl": "3.7.1",
|
|
25
|
+
"@vitessce/spatial-utils": "3.7.1",
|
|
26
|
+
"@vitessce/utils": "3.7.1",
|
|
27
|
+
"@vitessce/vit-s": "3.7.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|