@vitessce/json 3.7.1 → 3.8.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-C-zGDPFg.js → deflate-DtzGaP17.js} +1 -1
- package/dist/{index-QLczdGx-.js → index-CapS2RSL.js} +12 -7
- package/dist/index.js +1 -1
- package/dist/{jpeg-XX08oKrs.js → jpeg-BL8_21rL.js} +1 -1
- package/dist/{lerc-DTLAzplT.js → lerc-BQ84sPs1.js} +1 -1
- package/dist/{lzw-DvlaVaG-.js → lzw-Dla9hala.js} +1 -1
- package/dist/{packbits-CfkQ2l4M.js → packbits-Dk6_Ha38.js} +1 -1
- package/dist/{raw-BP5eKOA5.js → raw-DEF4NOH4.js} +1 -1
- package/dist/{webimage-C1LCHbGi.js → webimage-DP87mugq.js} +1 -1
- package/package.json +12 -12
|
@@ -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-CapS2RSL.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -69,6 +69,7 @@ const ViewType$1 = {
|
|
|
69
69
|
SCATTERPLOT: "scatterplot",
|
|
70
70
|
SPATIAL: "spatial",
|
|
71
71
|
SPATIAL_BETA: "spatialBeta",
|
|
72
|
+
// SPATIAL_ACCELERATED: 'spatialAccelerated',
|
|
72
73
|
HEATMAP: "heatmap",
|
|
73
74
|
LAYER_CONTROLLER: "layerController",
|
|
74
75
|
LAYER_CONTROLLER_BETA: "layerControllerBeta",
|
|
@@ -362,6 +363,8 @@ const CoordinationType$1 = {
|
|
|
362
363
|
// Could be per-image-layer
|
|
363
364
|
SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
|
|
364
365
|
// Per-spatial-layer
|
|
366
|
+
SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
|
|
367
|
+
// Per-image-channel (for spatial-accelerated)
|
|
365
368
|
// For clipping plane sliders
|
|
366
369
|
SPATIAL_SLICE_X: "spatialSliceX",
|
|
367
370
|
SPATIAL_SLICE_Y: "spatialSliceY",
|
|
@@ -907,6 +910,7 @@ const CoordinationType$1 = {
|
|
|
907
910
|
CoordinationType$1.SPATIAL_RENDERING_MODE,
|
|
908
911
|
CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
|
|
909
912
|
CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
|
|
913
|
+
CoordinationType$1.SPATIAL_MAX_RESOLUTION,
|
|
910
914
|
CoordinationType$1.SPATIAL_SLICE_X,
|
|
911
915
|
CoordinationType$1.SPATIAL_SLICE_Y,
|
|
912
916
|
CoordinationType$1.SPATIAL_SLICE_Z,
|
|
@@ -1080,6 +1084,7 @@ const CoordinationType$1 = {
|
|
|
1080
1084
|
CoordinationType$1.SPATIAL_RENDERING_MODE,
|
|
1081
1085
|
CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
|
|
1082
1086
|
CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
|
|
1087
|
+
CoordinationType$1.SPATIAL_MAX_RESOLUTION,
|
|
1083
1088
|
CoordinationType$1.SPATIAL_SLICE_X,
|
|
1084
1089
|
CoordinationType$1.SPATIAL_SLICE_Y,
|
|
1085
1090
|
CoordinationType$1.SPATIAL_SLICE_Z,
|
|
@@ -137089,22 +137094,22 @@ async function getDecoder(fileDirectory) {
|
|
|
137089
137094
|
const Decoder = await importFn();
|
|
137090
137095
|
return new Decoder(fileDirectory);
|
|
137091
137096
|
}
|
|
137092
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
137093
|
-
addDecoder(5, () => import("./lzw-
|
|
137097
|
+
addDecoder([void 0, 1], () => import("./raw-DEF4NOH4.js").then((m) => m.default));
|
|
137098
|
+
addDecoder(5, () => import("./lzw-Dla9hala.js").then((m) => m.default));
|
|
137094
137099
|
addDecoder(6, () => {
|
|
137095
137100
|
throw new Error("old style JPEG compression is not supported.");
|
|
137096
137101
|
});
|
|
137097
|
-
addDecoder(7, () => import("./jpeg-
|
|
137098
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
137099
|
-
addDecoder(32773, () => import("./packbits-
|
|
137102
|
+
addDecoder(7, () => import("./jpeg-BL8_21rL.js").then((m) => m.default));
|
|
137103
|
+
addDecoder([8, 32946], () => import("./deflate-DtzGaP17.js").then((m) => m.default));
|
|
137104
|
+
addDecoder(32773, () => import("./packbits-Dk6_Ha38.js").then((m) => m.default));
|
|
137100
137105
|
addDecoder(
|
|
137101
137106
|
34887,
|
|
137102
|
-
() => import("./lerc-
|
|
137107
|
+
() => import("./lerc-BQ84sPs1.js").then(async (m) => {
|
|
137103
137108
|
await m.zstd.init();
|
|
137104
137109
|
return m;
|
|
137105
137110
|
}).then((m) => m.default)
|
|
137106
137111
|
);
|
|
137107
|
-
addDecoder(50001, () => import("./webimage-
|
|
137112
|
+
addDecoder(50001, () => import("./webimage-DP87mugq.js").then((m) => m.default));
|
|
137108
137113
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
137109
137114
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
137110
137115
|
}
|
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, L as LercParameters, a as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-CapS2RSL.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/json",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"zarrita": "0.5.3",
|
|
22
22
|
"zod": "^3.21.4",
|
|
23
|
-
"@vitessce/constants-internal": "3.
|
|
24
|
-
"@vitessce/gl": "3.
|
|
25
|
-
"@vitessce/globals": "3.
|
|
26
|
-
"@vitessce/schemas": "3.
|
|
27
|
-
"@vitessce/sets-utils": "3.
|
|
28
|
-
"@vitessce/spatial-utils": "3.
|
|
29
|
-
"@vitessce/utils": "3.
|
|
30
|
-
"@vitessce/abstract": "3.
|
|
31
|
-
"@vitessce/error": "3.
|
|
32
|
-
"@vitessce/zarr-utils": "3.
|
|
33
|
-
"@vitessce/config": "3.
|
|
23
|
+
"@vitessce/constants-internal": "3.8.1",
|
|
24
|
+
"@vitessce/gl": "3.8.1",
|
|
25
|
+
"@vitessce/globals": "3.8.1",
|
|
26
|
+
"@vitessce/schemas": "3.8.1",
|
|
27
|
+
"@vitessce/sets-utils": "3.8.1",
|
|
28
|
+
"@vitessce/spatial-utils": "3.8.1",
|
|
29
|
+
"@vitessce/utils": "3.8.1",
|
|
30
|
+
"@vitessce/abstract": "3.8.1",
|
|
31
|
+
"@vitessce/error": "3.8.1",
|
|
32
|
+
"@vitessce/zarr-utils": "3.8.1",
|
|
33
|
+
"@vitessce/config": "3.8.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|