@vitessce/heatmap 3.6.10 → 3.6.12

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-B0L-VWVv.js";
2
+ import { B as BaseDecoder } from "./index-CKyU9G5F.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -33705,6 +33705,9 @@ function Legend(props) {
33705
33705
  featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw[0];
33706
33706
  } else if (featureAggregationStrategy === "last") {
33707
33707
  featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw.at(-1);
33708
+ } else if (typeof featureAggregationStrategy === "number") {
33709
+ const i2 = featureAggregationStrategy;
33710
+ featureSelectionLabelRawStr = featureSelectionLabelRaw == null ? void 0 : featureSelectionLabelRaw[i2];
33708
33711
  } else if (featureAggregationStrategy === "sum") {
33709
33712
  featureSelectionLabelRawStr = "Sum of features";
33710
33713
  } else if (featureAggregationStrategy === "mean") {
@@ -136688,7 +136691,8 @@ const PIXELATED_TEXTURE_PARAMETERS = {
136688
136691
  const GLSL_COLORMAPS = [
136689
136692
  "plasma",
136690
136693
  "viridis",
136691
- "jet"
136694
+ "jet",
136695
+ "greys"
136692
136696
  ];
136693
136697
  const GLSL_COLORMAP_DEFAULT = "plasma";
136694
136698
  const COLORMAP_SHADER_PLACEHOLDER = "COLORMAP_FUNC";
@@ -137777,22 +137781,22 @@ function addDecoder(cases, importFn) {
137777
137781
  }
137778
137782
  cases.forEach((c) => registry$1.set(c, importFn));
137779
137783
  }
137780
- addDecoder([void 0, 1], () => import("./raw-BjMoBSb_.js").then((m) => m.default));
137781
- addDecoder(5, () => import("./lzw-mnIGkDYD.js").then((m) => m.default));
137784
+ addDecoder([void 0, 1], () => import("./raw-D7AT3QBM.js").then((m) => m.default));
137785
+ addDecoder(5, () => import("./lzw-B40RInbs.js").then((m) => m.default));
137782
137786
  addDecoder(6, () => {
137783
137787
  throw new Error("old style JPEG compression is not supported.");
137784
137788
  });
137785
- addDecoder(7, () => import("./jpeg-CVofsHGA.js").then((m) => m.default));
137786
- addDecoder([8, 32946], () => import("./deflate-7acU01X0.js").then((m) => m.default));
137787
- addDecoder(32773, () => import("./packbits-CYaZXwaR.js").then((m) => m.default));
137789
+ addDecoder(7, () => import("./jpeg-CZX-agQp.js").then((m) => m.default));
137790
+ addDecoder([8, 32946], () => import("./deflate-5WdyZc_p.js").then((m) => m.default));
137791
+ addDecoder(32773, () => import("./packbits-q39Eb8Qb.js").then((m) => m.default));
137788
137792
  addDecoder(
137789
137793
  34887,
137790
- () => import("./lerc-BH5xK4HA.js").then(async (m) => {
137794
+ () => import("./lerc-IORPHcSy.js").then(async (m) => {
137791
137795
  await m.zstd.init();
137792
137796
  return m;
137793
137797
  }).then((m) => m.default)
137794
137798
  );
137795
- addDecoder(50001, () => import("./webimage-CRtplJ4s.js").then((m) => m.default));
137799
+ addDecoder(50001, () => import("./webimage-C8FEIC0H.js").then((m) => m.default));
137796
137800
  function decodeRowAcc(row, stride) {
137797
137801
  let length2 = row.length - stride;
137798
137802
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-B0L-VWVv.js";
1
+ import { a, H } from "./index-CKyU9G5F.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-B0L-VWVv.js";
1
+ import { B as BaseDecoder } from "./index-CKyU9G5F.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-B0L-VWVv.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-CKyU9G5F.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-B0L-VWVv.js";
1
+ import { B as BaseDecoder } from "./index-CKyU9G5F.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-B0L-VWVv.js";
1
+ import { B as BaseDecoder } from "./index-CKyU9G5F.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-B0L-VWVv.js";
1
+ import { B as BaseDecoder } from "./index-CKyU9G5F.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-B0L-VWVv.js";
1
+ import { B as BaseDecoder } from "./index-CKyU9G5F.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.6.10",
3
+ "version": "3.6.12",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,15 +19,15 @@
19
19
  "lodash-es": "^4.17.21",
20
20
  "uuid": "^9.0.0",
21
21
  "react-aria": "^3.28.0",
22
- "@vitessce/styles": "3.6.10",
23
- "@vitessce/constants-internal": "3.6.10",
24
- "@vitessce/gl": "3.6.10",
25
- "@vitessce/legend": "3.6.10",
26
- "@vitessce/sets-utils": "3.6.10",
27
- "@vitessce/tooltip": "3.6.10",
28
- "@vitessce/utils": "3.6.10",
29
- "@vitessce/vit-s": "3.6.10",
30
- "@vitessce/workers": "3.6.10"
22
+ "@vitessce/styles": "3.6.12",
23
+ "@vitessce/constants-internal": "3.6.12",
24
+ "@vitessce/gl": "3.6.12",
25
+ "@vitessce/legend": "3.6.12",
26
+ "@vitessce/sets-utils": "3.6.12",
27
+ "@vitessce/tooltip": "3.6.12",
28
+ "@vitessce/utils": "3.6.12",
29
+ "@vitessce/vit-s": "3.6.12",
30
+ "@vitessce/workers": "3.6.12"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",