@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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-DANgoewd.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",
@@ -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.OBS_COLOR_ENCODING,
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-M4MNiZFn.js").then((m) => m.default));
137095
- addDecoder(5, () => import("./lzw-Cbro5Fik.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));
137096
137099
  addDecoder(6, () => {
137097
137100
  throw new Error("old style JPEG compression is not supported.");
137098
137101
  });
137099
- addDecoder(7, () => import("./jpeg-DBVO_XI5.js").then((m) => m.default));
137100
- addDecoder([8, 32946], () => import("./deflate-489pvTIA.js").then((m) => m.default));
137101
- addDecoder(32773, () => import("./packbits-DgDDmRs8.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));
137102
137105
  addDecoder(
137103
137106
  34887,
137104
- () => import("./lerc-BF7rOe-8.js").then(async (m) => {
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-Cb33bXFe.js").then((m) => m.default));
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,4 +1,4 @@
1
- import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-DANgoewd.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-DANgoewd.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-DANgoewd.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-DANgoewd.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-DANgoewd.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-DANgoewd.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-DANgoewd.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.0",
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.0",
24
- "@vitessce/gl": "3.7.0",
25
- "@vitessce/globals": "3.7.0",
26
- "@vitessce/schemas": "3.7.0",
27
- "@vitessce/sets-utils": "3.7.0",
28
- "@vitessce/spatial-utils": "3.7.0",
29
- "@vitessce/utils": "3.7.0",
30
- "@vitessce/abstract": "3.7.0",
31
- "@vitessce/error": "3.7.0",
32
- "@vitessce/zarr-utils": "3.7.0",
33
- "@vitessce/config": "3.7.0"
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",