@vitessce/statistical-plots 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-CA8GNk6M.js";
2
+ import { B as BaseDecoder } from "./index-CBlESl44.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -32,6 +32,7 @@ const ViewType$1 = {
32
32
  SCATTERPLOT: "scatterplot",
33
33
  SPATIAL: "spatial",
34
34
  SPATIAL_BETA: "spatialBeta",
35
+ SPATIAL_ACCELERATED: "spatialAccelerated",
35
36
  HEATMAP: "heatmap",
36
37
  LAYER_CONTROLLER: "layerController",
37
38
  LAYER_CONTROLLER_BETA: "layerControllerBeta",
@@ -328,6 +329,8 @@ const CoordinationType$1 = {
328
329
  // Could be per-image-layer
329
330
  SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
330
331
  // Per-spatial-layer
332
+ SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
333
+ // Per-image-channel (for spatial-accelerated)
331
334
  // For clipping plane sliders
332
335
  SPATIAL_SLICE_X: "spatialSliceX",
333
336
  SPATIAL_SLICE_Y: "spatialSliceY",
@@ -653,6 +656,7 @@ const COMPONENT_COORDINATION_TYPES = {
653
656
  CoordinationType$1.SPATIAL_ROTATION_Y,
654
657
  CoordinationType$1.SPATIAL_ROTATION_Z,
655
658
  CoordinationType$1.SPATIAL_AXIS_FIXED,
659
+ CoordinationType$1.SPATIAL_ROTATION_ORBIT,
656
660
  CoordinationType$1.SPATIAL_ORBIT_AXIS,
657
661
  CoordinationType$1.SPATIAL_ZOOM,
658
662
  CoordinationType$1.OBS_FILTER,
@@ -660,14 +664,11 @@ const COMPONENT_COORDINATION_TYPES = {
660
664
  CoordinationType$1.OBS_SET_SELECTION,
661
665
  CoordinationType$1.OBS_SET_FILTER,
662
666
  CoordinationType$1.OBS_SET_HIGHLIGHT,
663
- CoordinationType$1.OBS_SET_COLOR,
664
667
  CoordinationType$1.OBS_TYPE,
665
- CoordinationType$1.ADDITIONAL_OBS_SETS,
666
668
  CoordinationType$1.OBS_SET_COLOR,
667
669
  CoordinationType$1.OBS_COLOR_ENCODING,
668
- CoordinationType$1.OBS_SET_SELECTION,
669
670
  CoordinationType$1.EMBEDDING_TYPE,
670
- CoordinationType$1.OBS_COLOR_ENCODING,
671
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
671
672
  CoordinationType$1.TOOLTIPS_VISIBLE
672
673
  ],
673
674
  [ViewType$1.SCATTERPLOT]: [
@@ -887,6 +888,7 @@ const COMPONENT_COORDINATION_TYPES = {
887
888
  CoordinationType$1.SPATIAL_RENDERING_MODE,
888
889
  CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
889
890
  CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
891
+ CoordinationType$1.SPATIAL_MAX_RESOLUTION,
890
892
  CoordinationType$1.SPATIAL_SLICE_X,
891
893
  CoordinationType$1.SPATIAL_SLICE_Y,
892
894
  CoordinationType$1.SPATIAL_SLICE_Z,
@@ -1060,6 +1062,7 @@ const COMPONENT_COORDINATION_TYPES = {
1060
1062
  CoordinationType$1.SPATIAL_RENDERING_MODE,
1061
1063
  CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
1062
1064
  CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
1065
+ CoordinationType$1.SPATIAL_MAX_RESOLUTION,
1063
1066
  CoordinationType$1.SPATIAL_SLICE_X,
1064
1067
  CoordinationType$1.SPATIAL_SLICE_Y,
1065
1068
  CoordinationType$1.SPATIAL_SLICE_Z,
@@ -178739,22 +178742,22 @@ function addDecoder(cases2, importFn) {
178739
178742
  }
178740
178743
  cases2.forEach((c2) => registry$1.set(c2, importFn));
178741
178744
  }
178742
- addDecoder([void 0, 1], () => import("./raw-CmQNUdnh.js").then((m2) => m2.default));
178743
- addDecoder(5, () => import("./lzw-CCOmLsId.js").then((m2) => m2.default));
178745
+ addDecoder([void 0, 1], () => import("./raw-BRhDP5pl.js").then((m2) => m2.default));
178746
+ addDecoder(5, () => import("./lzw-C3n2EPuo.js").then((m2) => m2.default));
178744
178747
  addDecoder(6, () => {
178745
178748
  throw new Error("old style JPEG compression is not supported.");
178746
178749
  });
178747
- addDecoder(7, () => import("./jpeg-BzxWgvmY.js").then((m2) => m2.default));
178748
- addDecoder([8, 32946], () => import("./deflate-B5Mg3kwY.js").then((m2) => m2.default));
178749
- addDecoder(32773, () => import("./packbits-1HUBp5DU.js").then((m2) => m2.default));
178750
+ addDecoder(7, () => import("./jpeg-BHVtMh8a.js").then((m2) => m2.default));
178751
+ addDecoder([8, 32946], () => import("./deflate-BE3DOVpx.js").then((m2) => m2.default));
178752
+ addDecoder(32773, () => import("./packbits-Byi5S9of.js").then((m2) => m2.default));
178750
178753
  addDecoder(
178751
178754
  34887,
178752
- () => import("./lerc-DD_Qgv9w.js").then(async (m2) => {
178755
+ () => import("./lerc-CCK2xeTV.js").then(async (m2) => {
178753
178756
  await m2.zstd.init();
178754
178757
  return m2;
178755
178758
  }).then((m2) => m2.default)
178756
178759
  );
178757
- addDecoder(50001, () => import("./webimage-Bl4VBRx9.js").then((m2) => m2.default));
178760
+ addDecoder(50001, () => import("./webimage-Bss6PdfZ.js").then((m2) => m2.default));
178758
178761
  function decodeRowAcc(row, stride) {
178759
178762
  let length2 = row.length - stride;
178760
178763
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-CA8GNk6M.js";
1
+ import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-CBlESl44.js";
2
2
  export {
3
3
  b as CellSetCompositionBarPlotSubscriber,
4
4
  f as CellSetExpressionPlot,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CA8GNk6M.js";
1
+ import { B as BaseDecoder } from "./index-CBlESl44.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 } from "./index-CA8GNk6M.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-CBlESl44.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CA8GNk6M.js";
1
+ import { B as BaseDecoder } from "./index-CBlESl44.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-CA8GNk6M.js";
1
+ import { B as BaseDecoder } from "./index-CBlESl44.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-CA8GNk6M.js";
1
+ import { B as BaseDecoder } from "./index-CBlESl44.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-CA8GNk6M.js";
1
+ import { B as BaseDecoder } from "./index-CBlESl44.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/statistical-plots",
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": {
@@ -28,17 +28,17 @@
28
28
  "react-aria": "^3.28.0",
29
29
  "internmap": "^2.0.3",
30
30
  "uuid": "^9.0.0",
31
- "@vitessce/styles": "3.7.0",
32
- "@vitessce/constants-internal": "3.7.0",
33
- "@vitessce/sets-utils": "3.7.0",
34
- "@vitessce/utils": "3.7.0",
35
- "@vitessce/vega": "3.7.0",
36
- "@vitessce/vit-s": "3.7.0",
37
- "@vitessce/gl": "3.7.0"
31
+ "@vitessce/styles": "3.8.0",
32
+ "@vitessce/constants-internal": "3.8.0",
33
+ "@vitessce/sets-utils": "3.8.0",
34
+ "@vitessce/utils": "3.8.0",
35
+ "@vitessce/vega": "3.8.0",
36
+ "@vitessce/vit-s": "3.8.0",
37
+ "@vitessce/gl": "3.8.0"
38
38
  },
39
39
  "devDependencies": {
40
- "react": "^18.0.0",
41
- "react-dom": "^18.0.0",
40
+ "react": "18.3.1",
41
+ "react-dom": "18.3.1",
42
42
  "vite": "^7.0.0",
43
43
  "vitest": "^3.1.4"
44
44
  },