@vitessce/json 3.7.0 → 3.8.0
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-489pvTIA.js → deflate-jxCcST-U.js} +1 -1
- package/dist/{index-DANgoewd.js → index-DaRjcRmk.js} +14 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-DBVO_XI5.js → jpeg-DrAIvFu7.js} +1 -1
- package/dist/{lerc-BF7rOe-8.js → lerc-LFVAZE-7.js} +1 -1
- package/dist/{lzw-Cbro5Fik.js → lzw-BKGKZlvA.js} +1 -1
- package/dist/{packbits-DgDDmRs8.js → packbits-PD3nxnN0.js} +1 -1
- package/dist/{raw-M4MNiZFn.js → raw-DLxVEQnX.js} +1 -1
- package/dist/{webimage-Cb33bXFe.js → webimage-q52vwMPe.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-DaRjcRmk.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",
|
|
@@ -675,6 +678,7 @@ const CoordinationType$1 = {
|
|
|
675
678
|
CoordinationType$1.SPATIAL_ROTATION_Y,
|
|
676
679
|
CoordinationType$1.SPATIAL_ROTATION_Z,
|
|
677
680
|
CoordinationType$1.SPATIAL_AXIS_FIXED,
|
|
681
|
+
CoordinationType$1.SPATIAL_ROTATION_ORBIT,
|
|
678
682
|
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
679
683
|
CoordinationType$1.SPATIAL_ZOOM,
|
|
680
684
|
CoordinationType$1.OBS_FILTER,
|
|
@@ -682,14 +686,11 @@ const CoordinationType$1 = {
|
|
|
682
686
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
683
687
|
CoordinationType$1.OBS_SET_FILTER,
|
|
684
688
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
685
|
-
CoordinationType$1.OBS_SET_COLOR,
|
|
686
689
|
CoordinationType$1.OBS_TYPE,
|
|
687
|
-
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
688
690
|
CoordinationType$1.OBS_SET_COLOR,
|
|
689
691
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
690
|
-
CoordinationType$1.OBS_SET_SELECTION,
|
|
691
692
|
CoordinationType$1.EMBEDDING_TYPE,
|
|
692
|
-
CoordinationType$1.
|
|
693
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
693
694
|
CoordinationType$1.TOOLTIPS_VISIBLE
|
|
694
695
|
],
|
|
695
696
|
[ViewType$1.SCATTERPLOT]: [
|
|
@@ -909,6 +910,7 @@ const CoordinationType$1 = {
|
|
|
909
910
|
CoordinationType$1.SPATIAL_RENDERING_MODE,
|
|
910
911
|
CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
|
|
911
912
|
CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
|
|
913
|
+
CoordinationType$1.SPATIAL_MAX_RESOLUTION,
|
|
912
914
|
CoordinationType$1.SPATIAL_SLICE_X,
|
|
913
915
|
CoordinationType$1.SPATIAL_SLICE_Y,
|
|
914
916
|
CoordinationType$1.SPATIAL_SLICE_Z,
|
|
@@ -1082,6 +1084,7 @@ const CoordinationType$1 = {
|
|
|
1082
1084
|
CoordinationType$1.SPATIAL_RENDERING_MODE,
|
|
1083
1085
|
CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
|
|
1084
1086
|
CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
|
|
1087
|
+
CoordinationType$1.SPATIAL_MAX_RESOLUTION,
|
|
1085
1088
|
CoordinationType$1.SPATIAL_SLICE_X,
|
|
1086
1089
|
CoordinationType$1.SPATIAL_SLICE_Y,
|
|
1087
1090
|
CoordinationType$1.SPATIAL_SLICE_Z,
|
|
@@ -137091,22 +137094,22 @@ async function getDecoder(fileDirectory) {
|
|
|
137091
137094
|
const Decoder = await importFn();
|
|
137092
137095
|
return new Decoder(fileDirectory);
|
|
137093
137096
|
}
|
|
137094
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
137095
|
-
addDecoder(5, () => import("./lzw-
|
|
137097
|
+
addDecoder([void 0, 1], () => import("./raw-DLxVEQnX.js").then((m) => m.default));
|
|
137098
|
+
addDecoder(5, () => import("./lzw-BKGKZlvA.js").then((m) => m.default));
|
|
137096
137099
|
addDecoder(6, () => {
|
|
137097
137100
|
throw new Error("old style JPEG compression is not supported.");
|
|
137098
137101
|
});
|
|
137099
|
-
addDecoder(7, () => import("./jpeg-
|
|
137100
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
137101
|
-
addDecoder(32773, () => import("./packbits-
|
|
137102
|
+
addDecoder(7, () => import("./jpeg-DrAIvFu7.js").then((m) => m.default));
|
|
137103
|
+
addDecoder([8, 32946], () => import("./deflate-jxCcST-U.js").then((m) => m.default));
|
|
137104
|
+
addDecoder(32773, () => import("./packbits-PD3nxnN0.js").then((m) => m.default));
|
|
137102
137105
|
addDecoder(
|
|
137103
137106
|
34887,
|
|
137104
|
-
() => import("./lerc-
|
|
137107
|
+
() => import("./lerc-LFVAZE-7.js").then(async (m) => {
|
|
137105
137108
|
await m.zstd.init();
|
|
137106
137109
|
return m;
|
|
137107
137110
|
}).then((m) => m.default)
|
|
137108
137111
|
);
|
|
137109
|
-
addDecoder(50001, () => import("./webimage-
|
|
137112
|
+
addDecoder(50001, () => import("./webimage-q52vwMPe.js").then((m) => m.default));
|
|
137110
137113
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
137111
137114
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
137112
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-DaRjcRmk.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.0",
|
|
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.0",
|
|
24
|
+
"@vitessce/gl": "3.8.0",
|
|
25
|
+
"@vitessce/globals": "3.8.0",
|
|
26
|
+
"@vitessce/schemas": "3.8.0",
|
|
27
|
+
"@vitessce/sets-utils": "3.8.0",
|
|
28
|
+
"@vitessce/spatial-utils": "3.8.0",
|
|
29
|
+
"@vitessce/utils": "3.8.0",
|
|
30
|
+
"@vitessce/abstract": "3.8.0",
|
|
31
|
+
"@vitessce/error": "3.8.0",
|
|
32
|
+
"@vitessce/zarr-utils": "3.8.0",
|
|
33
|
+
"@vitessce/config": "3.8.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|