@vitessce/json 3.7.1 → 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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-QLczdGx-.js";
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",
@@ -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-BP5eKOA5.js").then((m) => m.default));
137093
- addDecoder(5, () => import("./lzw-DvlaVaG-.js").then((m) => m.default));
137097
+ addDecoder([void 0, 1], () => import("./raw-DLxVEQnX.js").then((m) => m.default));
137098
+ addDecoder(5, () => import("./lzw-BKGKZlvA.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-XX08oKrs.js").then((m) => m.default));
137098
- addDecoder([8, 32946], () => import("./deflate-C-zGDPFg.js").then((m) => m.default));
137099
- addDecoder(32773, () => import("./packbits-CfkQ2l4M.js").then((m) => m.default));
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));
137100
137105
  addDecoder(
137101
137106
  34887,
137102
- () => import("./lerc-DTLAzplT.js").then(async (m) => {
137107
+ () => import("./lerc-LFVAZE-7.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-C1LCHbGi.js").then((m) => m.default));
137112
+ addDecoder(50001, () => import("./webimage-q52vwMPe.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,4 +1,4 @@
1
- import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-QLczdGx-.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-DaRjcRmk.js";
2
2
  export {
3
3
  C as CellsJsonAsObsEmbeddingLoader,
4
4
  d as CellsJsonAsObsLabelsLoader,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-QLczdGx-.js";
1
+ import { B as BaseDecoder } from "./index-DaRjcRmk.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -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-QLczdGx-.js";
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() {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-QLczdGx-.js";
1
+ import { B as BaseDecoder } from "./index-DaRjcRmk.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-QLczdGx-.js";
1
+ import { B as BaseDecoder } from "./index-DaRjcRmk.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-QLczdGx-.js";
1
+ import { B as BaseDecoder } from "./index-DaRjcRmk.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-QLczdGx-.js";
1
+ import { B as BaseDecoder } from "./index-DaRjcRmk.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/json",
3
- "version": "3.7.1",
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.7.1",
24
- "@vitessce/gl": "3.7.1",
25
- "@vitessce/globals": "3.7.1",
26
- "@vitessce/schemas": "3.7.1",
27
- "@vitessce/sets-utils": "3.7.1",
28
- "@vitessce/spatial-utils": "3.7.1",
29
- "@vitessce/utils": "3.7.1",
30
- "@vitessce/abstract": "3.7.1",
31
- "@vitessce/error": "3.7.1",
32
- "@vitessce/zarr-utils": "3.7.1",
33
- "@vitessce/config": "3.7.1"
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",