@vitessce/scatterplot-embedding 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-Cjo_e-1O.js";
2
+ import { B as BaseDecoder } from "./index-BbjZ8DdQ.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -9557,6 +9557,7 @@ const FileType$1 = {
9557
9557
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
9558
9558
  ANNDATA_H5AD: "anndata.h5ad",
9559
9559
  SPATIALDATA_ZARR: "spatialdata.zarr",
9560
+ SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
9560
9561
  // Atomic file types
9561
9562
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
9562
9563
  OBS_SPOTS_CSV: "obsSpots.csv",
@@ -9637,6 +9638,14 @@ const FileType$1 = {
9637
9638
  // TODO:
9638
9639
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
9639
9640
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
9641
+ // SpatialData - zipped
9642
+ IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
9643
+ LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
9644
+ SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
9645
+ OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
9646
+ OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
9647
+ OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
9648
+ FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
9640
9649
  // MuData
9641
9650
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
9642
9651
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -10037,6 +10046,28 @@ const ViewHelpMapping = {
10037
10046
  },
10038
10047
  [FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
10039
10048
  zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
10049
+ },
10050
+ // For SpatialData:
10051
+ [FileType$1.IMAGE_SPATIALDATA_ZARR]: {
10052
+ zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
10053
+ },
10054
+ [FileType$1.LABELS_SPATIALDATA_ZARR]: {
10055
+ zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
10056
+ },
10057
+ [FileType$1.SHAPES_SPATIALDATA_ZARR]: {
10058
+ zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
10059
+ },
10060
+ [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
10061
+ zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
10062
+ },
10063
+ [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
10064
+ zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
10065
+ },
10066
+ [FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
10067
+ zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
10068
+ },
10069
+ [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
10070
+ zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
10040
10071
  }
10041
10072
  });
10042
10073
  [
@@ -11157,6 +11188,7 @@ const anndataZarrSchema = z.object({
11157
11188
  z.array(annDataConvenienceFeatureLabelsItem)
11158
11189
  ]),
11159
11190
  obsFeatureMatrix: annDataObsFeatureMatrix,
11191
+ obsFeatureColumns: annDataObsFeatureColumnsArr,
11160
11192
  obsSets: annDataObsSetsArr,
11161
11193
  obsSpots: annDataObsSpots,
11162
11194
  obsPoints: annDataObsPoints,
@@ -123213,22 +123245,22 @@ function addDecoder(cases, importFn) {
123213
123245
  }
123214
123246
  cases.forEach((c2) => registry$1.set(c2, importFn));
123215
123247
  }
123216
- addDecoder([void 0, 1], () => import("./raw-7khL7CHs.js").then((m2) => m2.default));
123217
- addDecoder(5, () => import("./lzw-BB7DzK4H.js").then((m2) => m2.default));
123248
+ addDecoder([void 0, 1], () => import("./raw-WRJq_qgI.js").then((m2) => m2.default));
123249
+ addDecoder(5, () => import("./lzw-_mWQ1Oer.js").then((m2) => m2.default));
123218
123250
  addDecoder(6, () => {
123219
123251
  throw new Error("old style JPEG compression is not supported.");
123220
123252
  });
123221
- addDecoder(7, () => import("./jpeg-Ctq9g9DE.js").then((m2) => m2.default));
123222
- addDecoder([8, 32946], () => import("./deflate-BNjVGM_n.js").then((m2) => m2.default));
123223
- addDecoder(32773, () => import("./packbits-C1sP_Cxs.js").then((m2) => m2.default));
123253
+ addDecoder(7, () => import("./jpeg-ET8zpUp5.js").then((m2) => m2.default));
123254
+ addDecoder([8, 32946], () => import("./deflate-BX6lKDZ-.js").then((m2) => m2.default));
123255
+ addDecoder(32773, () => import("./packbits-B6osqCFz.js").then((m2) => m2.default));
123224
123256
  addDecoder(
123225
123257
  34887,
123226
- () => import("./lerc-BOvxa_Oj.js").then(async (m2) => {
123258
+ () => import("./lerc-cY-fi3aQ.js").then(async (m2) => {
123227
123259
  await m2.zstd.init();
123228
123260
  return m2;
123229
123261
  }).then((m2) => m2.default)
123230
123262
  );
123231
- addDecoder(50001, () => import("./webimage-CFAQsrry.js").then((m2) => m2.default));
123263
+ addDecoder(50001, () => import("./webimage-CCAyLy5a.js").then((m2) => m2.default));
123232
123264
  function decodeRowAcc(row, stride) {
123233
123265
  let length2 = row.length - stride;
123234
123266
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, E } from "./index-Cjo_e-1O.js";
1
+ import { D, E } from "./index-BbjZ8DdQ.js";
2
2
  export {
3
3
  D as DualEmbeddingScatterplotSubscriber,
4
4
  E as EmbeddingScatterplotSubscriber
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-Cjo_e-1O.js";
1
+ import { B as BaseDecoder } from "./index-BbjZ8DdQ.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-Cjo_e-1O.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-BbjZ8DdQ.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-Cjo_e-1O.js";
1
+ import { B as BaseDecoder } from "./index-BbjZ8DdQ.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-Cjo_e-1O.js";
1
+ import { B as BaseDecoder } from "./index-BbjZ8DdQ.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-Cjo_e-1O.js";
1
+ import { B as BaseDecoder } from "./index-BbjZ8DdQ.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-Cjo_e-1O.js";
1
+ import { B as BaseDecoder } from "./index-BbjZ8DdQ.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/scatterplot-embedding",
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": {
@@ -20,13 +20,13 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "react-aria": "^3.28.0",
22
22
  "@turf/circle": "^7.2.0",
23
- "@vitessce/styles": "3.6.3",
24
- "@vitessce/constants-internal": "3.6.3",
25
- "@vitessce/legend": "3.6.3",
26
- "@vitessce/scatterplot": "3.6.3",
27
- "@vitessce/sets-utils": "3.6.3",
28
- "@vitessce/utils": "3.6.3",
29
- "@vitessce/vit-s": "3.6.3"
23
+ "@vitessce/styles": "3.6.4",
24
+ "@vitessce/constants-internal": "3.6.4",
25
+ "@vitessce/legend": "3.6.4",
26
+ "@vitessce/scatterplot": "3.6.4",
27
+ "@vitessce/sets-utils": "3.6.4",
28
+ "@vitessce/utils": "3.6.4",
29
+ "@vitessce/vit-s": "3.6.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "react": "^18.0.0",