@vitessce/heatmap 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-BDT04sKA.js";
2
+ import { B as BaseDecoder } from "./index-BelVDYaP.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -9488,6 +9488,7 @@ const ViewType$1 = {
9488
9488
  SCATTERPLOT: "scatterplot",
9489
9489
  SPATIAL: "spatial",
9490
9490
  SPATIAL_BETA: "spatialBeta",
9491
+ SPATIAL_ACCELERATED: "spatialAccelerated",
9491
9492
  HEATMAP: "heatmap",
9492
9493
  LAYER_CONTROLLER: "layerController",
9493
9494
  LAYER_CONTROLLER_BETA: "layerControllerBeta",
@@ -9781,6 +9782,8 @@ const CoordinationType$1 = {
9781
9782
  // Could be per-image-layer
9782
9783
  SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
9783
9784
  // Per-spatial-layer
9785
+ SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
9786
+ // Per-image-channel (for spatial-accelerated)
9784
9787
  // For clipping plane sliders
9785
9788
  SPATIAL_SLICE_X: "spatialSliceX",
9786
9789
  SPATIAL_SLICE_Y: "spatialSliceY",
@@ -10329,6 +10332,7 @@ const COMPONENT_COORDINATION_TYPES = {
10329
10332
  CoordinationType$1.SPATIAL_RENDERING_MODE,
10330
10333
  CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
10331
10334
  CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
10335
+ CoordinationType$1.SPATIAL_MAX_RESOLUTION,
10332
10336
  CoordinationType$1.SPATIAL_SLICE_X,
10333
10337
  CoordinationType$1.SPATIAL_SLICE_Y,
10334
10338
  CoordinationType$1.SPATIAL_SLICE_Z,
@@ -10502,6 +10506,7 @@ const COMPONENT_COORDINATION_TYPES = {
10502
10506
  CoordinationType$1.SPATIAL_RENDERING_MODE,
10503
10507
  CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
10504
10508
  CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
10509
+ CoordinationType$1.SPATIAL_MAX_RESOLUTION,
10505
10510
  CoordinationType$1.SPATIAL_SLICE_X,
10506
10511
  CoordinationType$1.SPATIAL_SLICE_Y,
10507
10512
  CoordinationType$1.SPATIAL_SLICE_Z,
@@ -137804,22 +137809,22 @@ function addDecoder(cases, importFn) {
137804
137809
  }
137805
137810
  cases.forEach((c) => registry$1.set(c, importFn));
137806
137811
  }
137807
- addDecoder([void 0, 1], () => import("./raw-DK1tS_1S.js").then((m) => m.default));
137808
- addDecoder(5, () => import("./lzw-CbPHwemm.js").then((m) => m.default));
137812
+ addDecoder([void 0, 1], () => import("./raw-CR3NQWRP.js").then((m) => m.default));
137813
+ addDecoder(5, () => import("./lzw-BKFpE4Dy.js").then((m) => m.default));
137809
137814
  addDecoder(6, () => {
137810
137815
  throw new Error("old style JPEG compression is not supported.");
137811
137816
  });
137812
- addDecoder(7, () => import("./jpeg-C2Vem90J.js").then((m) => m.default));
137813
- addDecoder([8, 32946], () => import("./deflate-9hig_prR.js").then((m) => m.default));
137814
- addDecoder(32773, () => import("./packbits-Biz7Ork3.js").then((m) => m.default));
137817
+ addDecoder(7, () => import("./jpeg-CoKnT_Gt.js").then((m) => m.default));
137818
+ addDecoder([8, 32946], () => import("./deflate-whCl2mvW.js").then((m) => m.default));
137819
+ addDecoder(32773, () => import("./packbits-ywafc8Ou.js").then((m) => m.default));
137815
137820
  addDecoder(
137816
137821
  34887,
137817
- () => import("./lerc-DK0VVejt.js").then(async (m) => {
137822
+ () => import("./lerc-Cff4czL5.js").then(async (m) => {
137818
137823
  await m.zstd.init();
137819
137824
  return m;
137820
137825
  }).then((m) => m.default)
137821
137826
  );
137822
- addDecoder(50001, () => import("./webimage-C31NcGoz.js").then((m) => m.default));
137827
+ addDecoder(50001, () => import("./webimage-BJMsI42A.js").then((m) => m.default));
137823
137828
  function decodeRowAcc(row, stride) {
137824
137829
  let length2 = row.length - stride;
137825
137830
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-BDT04sKA.js";
1
+ import { a, H } from "./index-BelVDYaP.js";
2
2
  export {
3
3
  a as Heatmap,
4
4
  H as HeatmapSubscriber
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BDT04sKA.js";
1
+ import { B as BaseDecoder } from "./index-BelVDYaP.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-BDT04sKA.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-BelVDYaP.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BDT04sKA.js";
1
+ import { B as BaseDecoder } from "./index-BelVDYaP.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-BDT04sKA.js";
1
+ import { B as BaseDecoder } from "./index-BelVDYaP.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-BDT04sKA.js";
1
+ import { B as BaseDecoder } from "./index-BelVDYaP.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-BDT04sKA.js";
1
+ import { B as BaseDecoder } from "./index-BelVDYaP.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/heatmap",
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": {
@@ -19,21 +19,21 @@
19
19
  "lodash-es": "^4.17.21",
20
20
  "uuid": "^9.0.0",
21
21
  "react-aria": "^3.28.0",
22
- "@vitessce/styles": "3.7.1",
23
- "@vitessce/constants-internal": "3.7.1",
24
- "@vitessce/gl": "3.7.1",
25
- "@vitessce/legend": "3.7.1",
26
- "@vitessce/sets-utils": "3.7.1",
27
- "@vitessce/tooltip": "3.7.1",
28
- "@vitessce/utils": "3.7.1",
29
- "@vitessce/vit-s": "3.7.1",
30
- "@vitessce/workers": "3.7.1"
22
+ "@vitessce/styles": "3.8.0",
23
+ "@vitessce/constants-internal": "3.8.0",
24
+ "@vitessce/gl": "3.8.0",
25
+ "@vitessce/legend": "3.8.0",
26
+ "@vitessce/sets-utils": "3.8.0",
27
+ "@vitessce/tooltip": "3.8.0",
28
+ "@vitessce/utils": "3.8.0",
29
+ "@vitessce/vit-s": "3.8.0",
30
+ "@vitessce/workers": "3.8.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",
34
34
  "@testing-library/react": "^16.3.0",
35
- "react": "^18.0.0",
36
- "react-dom": "^18.0.0",
35
+ "react": "18.3.1",
36
+ "react-dom": "18.3.1",
37
37
  "vite": "^7.0.0",
38
38
  "vitest": "^3.1.4"
39
39
  },