@vitessce/heatmap 3.6.3 → 3.6.4

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-DqIJTivP.js";
2
+ import { B as BaseDecoder } from "./index-DU_8cT8W.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -9487,6 +9487,7 @@ const FileType$1 = {
9487
9487
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
9488
9488
  ANNDATA_H5AD: "anndata.h5ad",
9489
9489
  SPATIALDATA_ZARR: "spatialdata.zarr",
9490
+ SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
9490
9491
  // Atomic file types
9491
9492
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
9492
9493
  OBS_SPOTS_CSV: "obsSpots.csv",
@@ -9567,6 +9568,14 @@ const FileType$1 = {
9567
9568
  // TODO:
9568
9569
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
9569
9570
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
9571
+ // SpatialData - zipped
9572
+ IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
9573
+ LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
9574
+ SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
9575
+ OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
9576
+ OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
9577
+ OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
9578
+ FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
9570
9579
  // MuData
9571
9580
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
9572
9581
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -9967,6 +9976,28 @@ const ViewHelpMapping = {
9967
9976
  },
9968
9977
  [FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
9969
9978
  zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
9979
+ },
9980
+ // For SpatialData:
9981
+ [FileType$1.IMAGE_SPATIALDATA_ZARR]: {
9982
+ zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
9983
+ },
9984
+ [FileType$1.LABELS_SPATIALDATA_ZARR]: {
9985
+ zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
9986
+ },
9987
+ [FileType$1.SHAPES_SPATIALDATA_ZARR]: {
9988
+ zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
9989
+ },
9990
+ [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
9991
+ zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
9992
+ },
9993
+ [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
9994
+ zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
9995
+ },
9996
+ [FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
9997
+ zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
9998
+ },
9999
+ [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
10000
+ zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
9970
10001
  }
9971
10002
  });
9972
10003
  [
@@ -11087,6 +11118,7 @@ const anndataZarrSchema = z.object({
11087
11118
  z.array(annDataConvenienceFeatureLabelsItem)
11088
11119
  ]),
11089
11120
  obsFeatureMatrix: annDataObsFeatureMatrix,
11121
+ obsFeatureColumns: annDataObsFeatureColumnsArr,
11090
11122
  obsSets: annDataObsSetsArr,
11091
11123
  obsSpots: annDataObsSpots,
11092
11124
  obsPoints: annDataObsPoints,
@@ -138430,22 +138462,22 @@ function addDecoder(cases, importFn) {
138430
138462
  }
138431
138463
  cases.forEach((c) => registry$1.set(c, importFn));
138432
138464
  }
138433
- addDecoder([void 0, 1], () => import("./raw-BeDDwWGA.js").then((m) => m.default));
138434
- addDecoder(5, () => import("./lzw-BcXamXYW.js").then((m) => m.default));
138465
+ addDecoder([void 0, 1], () => import("./raw-B5s0amXm.js").then((m) => m.default));
138466
+ addDecoder(5, () => import("./lzw-DybK6JHW.js").then((m) => m.default));
138435
138467
  addDecoder(6, () => {
138436
138468
  throw new Error("old style JPEG compression is not supported.");
138437
138469
  });
138438
- addDecoder(7, () => import("./jpeg-Cj4rIFBy.js").then((m) => m.default));
138439
- addDecoder([8, 32946], () => import("./deflate-CGbC7PRY.js").then((m) => m.default));
138440
- addDecoder(32773, () => import("./packbits-rQvXF0nL.js").then((m) => m.default));
138470
+ addDecoder(7, () => import("./jpeg-B-5_7L9w.js").then((m) => m.default));
138471
+ addDecoder([8, 32946], () => import("./deflate-w__udh-B.js").then((m) => m.default));
138472
+ addDecoder(32773, () => import("./packbits-B29YGzCg.js").then((m) => m.default));
138441
138473
  addDecoder(
138442
138474
  34887,
138443
- () => import("./lerc-BDKNZy62.js").then(async (m) => {
138475
+ () => import("./lerc-BHhU86Dn.js").then(async (m) => {
138444
138476
  await m.zstd.init();
138445
138477
  return m;
138446
138478
  }).then((m) => m.default)
138447
138479
  );
138448
- addDecoder(50001, () => import("./webimage-CV0zm01h.js").then((m) => m.default));
138480
+ addDecoder(50001, () => import("./webimage-77A_wjHi.js").then((m) => m.default));
138449
138481
  function decodeRowAcc(row, stride) {
138450
138482
  let length2 = row.length - stride;
138451
138483
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-DqIJTivP.js";
1
+ import { a, H } from "./index-DU_8cT8W.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-DqIJTivP.js";
1
+ import { B as BaseDecoder } from "./index-DU_8cT8W.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-DqIJTivP.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-DU_8cT8W.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DqIJTivP.js";
1
+ import { B as BaseDecoder } from "./index-DU_8cT8W.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-DqIJTivP.js";
1
+ import { B as BaseDecoder } from "./index-DU_8cT8W.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-DqIJTivP.js";
1
+ import { B as BaseDecoder } from "./index-DU_8cT8W.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-DqIJTivP.js";
1
+ import { B as BaseDecoder } from "./index-DU_8cT8W.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.3",
3
+ "version": "3.6.4",
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.3",
23
- "@vitessce/constants-internal": "3.6.3",
24
- "@vitessce/gl": "3.6.3",
25
- "@vitessce/legend": "3.6.3",
26
- "@vitessce/sets-utils": "3.6.3",
27
- "@vitessce/tooltip": "3.6.3",
28
- "@vitessce/utils": "3.6.3",
29
- "@vitessce/vit-s": "3.6.3",
30
- "@vitessce/workers": "3.6.3"
22
+ "@vitessce/styles": "3.6.4",
23
+ "@vitessce/constants-internal": "3.6.4",
24
+ "@vitessce/gl": "3.6.4",
25
+ "@vitessce/legend": "3.6.4",
26
+ "@vitessce/sets-utils": "3.6.4",
27
+ "@vitessce/tooltip": "3.6.4",
28
+ "@vitessce/utils": "3.6.4",
29
+ "@vitessce/vit-s": "3.6.4",
30
+ "@vitessce/workers": "3.6.4"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",