@vitessce/statistical-plots 3.6.2 → 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-pAs1WCwy.js";
2
+ import { B as BaseDecoder } from "./index-DzSp7avt.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -85,6 +85,7 @@ const FileType$1 = {
85
85
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
86
86
  ANNDATA_H5AD: "anndata.h5ad",
87
87
  SPATIALDATA_ZARR: "spatialdata.zarr",
88
+ SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
88
89
  // Atomic file types
89
90
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
90
91
  OBS_SPOTS_CSV: "obsSpots.csv",
@@ -165,6 +166,14 @@ const FileType$1 = {
165
166
  // TODO:
166
167
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
167
168
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
169
+ // SpatialData - zipped
170
+ IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
171
+ LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
172
+ SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
173
+ OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
174
+ OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
175
+ OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
176
+ FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
168
177
  // MuData
169
178
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
170
179
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -574,6 +583,28 @@ const ViewHelpMapping = {
574
583
  },
575
584
  [FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
576
585
  zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
586
+ },
587
+ // For SpatialData:
588
+ [FileType$1.IMAGE_SPATIALDATA_ZARR]: {
589
+ zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
590
+ },
591
+ [FileType$1.LABELS_SPATIALDATA_ZARR]: {
592
+ zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
593
+ },
594
+ [FileType$1.SHAPES_SPATIALDATA_ZARR]: {
595
+ zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
596
+ },
597
+ [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
598
+ zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
599
+ },
600
+ [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
601
+ zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
602
+ },
603
+ [FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
604
+ zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
605
+ },
606
+ [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
607
+ zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
577
608
  }
578
609
  });
579
610
  [
@@ -11080,6 +11111,7 @@ const anndataZarrSchema = z.object({
11080
11111
  z.array(annDataConvenienceFeatureLabelsItem)
11081
11112
  ]),
11082
11113
  obsFeatureMatrix: annDataObsFeatureMatrix,
11114
+ obsFeatureColumns: annDataObsFeatureColumnsArr,
11083
11115
  obsSets: annDataObsSetsArr,
11084
11116
  obsSpots: annDataObsSpots,
11085
11117
  obsPoints: annDataObsPoints,
@@ -178627,22 +178659,22 @@ function addDecoder(cases2, importFn) {
178627
178659
  }
178628
178660
  cases2.forEach((c2) => registry$1.set(c2, importFn));
178629
178661
  }
178630
- addDecoder([void 0, 1], () => import("./raw-C0V1wwX1.js").then((m2) => m2.default));
178631
- addDecoder(5, () => import("./lzw-Dv-TvqHY.js").then((m2) => m2.default));
178662
+ addDecoder([void 0, 1], () => import("./raw-DIE4jzWq.js").then((m2) => m2.default));
178663
+ addDecoder(5, () => import("./lzw-B-qpXsGl.js").then((m2) => m2.default));
178632
178664
  addDecoder(6, () => {
178633
178665
  throw new Error("old style JPEG compression is not supported.");
178634
178666
  });
178635
- addDecoder(7, () => import("./jpeg-CM00LzXt.js").then((m2) => m2.default));
178636
- addDecoder([8, 32946], () => import("./deflate-CENZcXCs.js").then((m2) => m2.default));
178637
- addDecoder(32773, () => import("./packbits-DlIDTIdL.js").then((m2) => m2.default));
178667
+ addDecoder(7, () => import("./jpeg-y7PF_nSc.js").then((m2) => m2.default));
178668
+ addDecoder([8, 32946], () => import("./deflate-B9PTbBiU.js").then((m2) => m2.default));
178669
+ addDecoder(32773, () => import("./packbits-FhWzPcDK.js").then((m2) => m2.default));
178638
178670
  addDecoder(
178639
178671
  34887,
178640
- () => import("./lerc-vsy3sZIv.js").then(async (m2) => {
178672
+ () => import("./lerc-CfcJUqP7.js").then(async (m2) => {
178641
178673
  await m2.zstd.init();
178642
178674
  return m2;
178643
178675
  }).then((m2) => m2.default)
178644
178676
  );
178645
- addDecoder(50001, () => import("./webimage-JQPK3vx3.js").then((m2) => m2.default));
178677
+ addDecoder(50001, () => import("./webimage-BZqd-i1R.js").then((m2) => m2.default));
178646
178678
  function decodeRowAcc(row, stride) {
178647
178679
  let length2 = row.length - stride;
178648
178680
  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-pAs1WCwy.js";
1
+ import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-DzSp7avt.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-pAs1WCwy.js";
1
+ import { B as BaseDecoder } from "./index-DzSp7avt.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-pAs1WCwy.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-DzSp7avt.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-pAs1WCwy.js";
1
+ import { B as BaseDecoder } from "./index-DzSp7avt.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-pAs1WCwy.js";
1
+ import { B as BaseDecoder } from "./index-DzSp7avt.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-pAs1WCwy.js";
1
+ import { B as BaseDecoder } from "./index-DzSp7avt.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-pAs1WCwy.js";
1
+ import { B as BaseDecoder } from "./index-DzSp7avt.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.6.2",
3
+ "version": "3.6.4",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,13 +28,13 @@
28
28
  "react-aria": "^3.28.0",
29
29
  "internmap": "^2.0.3",
30
30
  "uuid": "^9.0.0",
31
- "@vitessce/styles": "3.6.2",
32
- "@vitessce/constants-internal": "3.6.2",
33
- "@vitessce/sets-utils": "3.6.2",
34
- "@vitessce/utils": "3.6.2",
35
- "@vitessce/vega": "3.6.2",
36
- "@vitessce/vit-s": "3.6.2",
37
- "@vitessce/gl": "3.6.2"
31
+ "@vitessce/styles": "3.6.4",
32
+ "@vitessce/constants-internal": "3.6.4",
33
+ "@vitessce/sets-utils": "3.6.4",
34
+ "@vitessce/utils": "3.6.4",
35
+ "@vitessce/vega": "3.6.4",
36
+ "@vitessce/vit-s": "3.6.4",
37
+ "@vitessce/gl": "3.6.4"
38
38
  },
39
39
  "devDependencies": {
40
40
  "react": "^18.0.0",