@vitessce/heatmap 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-wqNAdDqn.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",
@@ -10097,6 +10100,7 @@ const COMPONENT_COORDINATION_TYPES = {
10097
10100
  CoordinationType$1.SPATIAL_ROTATION_Y,
10098
10101
  CoordinationType$1.SPATIAL_ROTATION_Z,
10099
10102
  CoordinationType$1.SPATIAL_AXIS_FIXED,
10103
+ CoordinationType$1.SPATIAL_ROTATION_ORBIT,
10100
10104
  CoordinationType$1.SPATIAL_ORBIT_AXIS,
10101
10105
  CoordinationType$1.SPATIAL_ZOOM,
10102
10106
  CoordinationType$1.OBS_FILTER,
@@ -10104,14 +10108,11 @@ const COMPONENT_COORDINATION_TYPES = {
10104
10108
  CoordinationType$1.OBS_SET_SELECTION,
10105
10109
  CoordinationType$1.OBS_SET_FILTER,
10106
10110
  CoordinationType$1.OBS_SET_HIGHLIGHT,
10107
- CoordinationType$1.OBS_SET_COLOR,
10108
10111
  CoordinationType$1.OBS_TYPE,
10109
- CoordinationType$1.ADDITIONAL_OBS_SETS,
10110
10112
  CoordinationType$1.OBS_SET_COLOR,
10111
10113
  CoordinationType$1.OBS_COLOR_ENCODING,
10112
- CoordinationType$1.OBS_SET_SELECTION,
10113
10114
  CoordinationType$1.EMBEDDING_TYPE,
10114
- CoordinationType$1.OBS_COLOR_ENCODING,
10115
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
10115
10116
  CoordinationType$1.TOOLTIPS_VISIBLE
10116
10117
  ],
10117
10118
  [ViewType$1.SCATTERPLOT]: [
@@ -10331,6 +10332,7 @@ const COMPONENT_COORDINATION_TYPES = {
10331
10332
  CoordinationType$1.SPATIAL_RENDERING_MODE,
10332
10333
  CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
10333
10334
  CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
10335
+ CoordinationType$1.SPATIAL_MAX_RESOLUTION,
10334
10336
  CoordinationType$1.SPATIAL_SLICE_X,
10335
10337
  CoordinationType$1.SPATIAL_SLICE_Y,
10336
10338
  CoordinationType$1.SPATIAL_SLICE_Z,
@@ -10504,6 +10506,7 @@ const COMPONENT_COORDINATION_TYPES = {
10504
10506
  CoordinationType$1.SPATIAL_RENDERING_MODE,
10505
10507
  CoordinationType$1.VOLUMETRIC_RENDERING_ALGORITHM,
10506
10508
  CoordinationType$1.SPATIAL_TARGET_RESOLUTION,
10509
+ CoordinationType$1.SPATIAL_MAX_RESOLUTION,
10507
10510
  CoordinationType$1.SPATIAL_SLICE_X,
10508
10511
  CoordinationType$1.SPATIAL_SLICE_Y,
10509
10512
  CoordinationType$1.SPATIAL_SLICE_Z,
@@ -137806,22 +137809,22 @@ function addDecoder(cases, importFn) {
137806
137809
  }
137807
137810
  cases.forEach((c) => registry$1.set(c, importFn));
137808
137811
  }
137809
- addDecoder([void 0, 1], () => import("./raw-RUWYtfg3.js").then((m) => m.default));
137810
- addDecoder(5, () => import("./lzw-PVTKOGZx.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));
137811
137814
  addDecoder(6, () => {
137812
137815
  throw new Error("old style JPEG compression is not supported.");
137813
137816
  });
137814
- addDecoder(7, () => import("./jpeg-BOEyAvbW.js").then((m) => m.default));
137815
- addDecoder([8, 32946], () => import("./deflate-BBecmfW2.js").then((m) => m.default));
137816
- addDecoder(32773, () => import("./packbits-CIowXOvq.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));
137817
137820
  addDecoder(
137818
137821
  34887,
137819
- () => import("./lerc-Dfs0vw1A.js").then(async (m) => {
137822
+ () => import("./lerc-Cff4czL5.js").then(async (m) => {
137820
137823
  await m.zstd.init();
137821
137824
  return m;
137822
137825
  }).then((m) => m.default)
137823
137826
  );
137824
- addDecoder(50001, () => import("./webimage-hdqqAfOj.js").then((m) => m.default));
137827
+ addDecoder(50001, () => import("./webimage-BJMsI42A.js").then((m) => m.default));
137825
137828
  function decodeRowAcc(row, stride) {
137826
137829
  let length2 = row.length - stride;
137827
137830
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-wqNAdDqn.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-wqNAdDqn.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-wqNAdDqn.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-wqNAdDqn.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-wqNAdDqn.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-wqNAdDqn.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-wqNAdDqn.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.0",
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.0",
23
- "@vitessce/constants-internal": "3.7.0",
24
- "@vitessce/gl": "3.7.0",
25
- "@vitessce/legend": "3.7.0",
26
- "@vitessce/sets-utils": "3.7.0",
27
- "@vitessce/tooltip": "3.7.0",
28
- "@vitessce/utils": "3.7.0",
29
- "@vitessce/vit-s": "3.7.0",
30
- "@vitessce/workers": "3.7.0"
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
  },