@vitessce/neuroglancer 3.6.3 → 3.6.5

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 React__default from "react";
2
- import { g as getDefaultExportFromCjs, c as commonjsGlobal, a as getAugmentedNamespace, r as requirePropTypes } from "./index-B3uD4mJg.js";
2
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal, a as getAugmentedNamespace, r as requirePropTypes } from "./index-DwxOxniV.js";
3
3
  var lib = {};
4
4
  var es6_object_assign = {};
5
5
  var _global = { exports: {} };
@@ -58,6 +58,7 @@ const FileType$1 = {
58
58
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
59
59
  ANNDATA_H5AD: "anndata.h5ad",
60
60
  SPATIALDATA_ZARR: "spatialdata.zarr",
61
+ SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
61
62
  // Atomic file types
62
63
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
63
64
  OBS_SPOTS_CSV: "obsSpots.csv",
@@ -138,6 +139,14 @@ const FileType$1 = {
138
139
  // TODO:
139
140
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
140
141
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
142
+ // SpatialData - zipped
143
+ IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
144
+ LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
145
+ SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
146
+ OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
147
+ OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
148
+ OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
149
+ FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
141
150
  // MuData
142
151
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
143
152
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -538,6 +547,28 @@ const ViewHelpMapping = {
538
547
  },
539
548
  [FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
540
549
  zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
550
+ },
551
+ // For SpatialData:
552
+ [FileType$1.IMAGE_SPATIALDATA_ZARR]: {
553
+ zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
554
+ },
555
+ [FileType$1.LABELS_SPATIALDATA_ZARR]: {
556
+ zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
557
+ },
558
+ [FileType$1.SHAPES_SPATIALDATA_ZARR]: {
559
+ zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
560
+ },
561
+ [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
562
+ zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
563
+ },
564
+ [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
565
+ zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
566
+ },
567
+ [FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
568
+ zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
569
+ },
570
+ [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
571
+ zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
541
572
  }
542
573
  });
543
574
  [
@@ -10647,6 +10678,7 @@ const anndataZarrSchema = z.object({
10647
10678
  z.array(annDataConvenienceFeatureLabelsItem)
10648
10679
  ]),
10649
10680
  obsFeatureMatrix: annDataObsFeatureMatrix,
10681
+ obsFeatureColumns: annDataObsFeatureColumnsArr,
10650
10682
  obsSets: annDataObsSetsArr,
10651
10683
  obsSpots: annDataObsSpots,
10652
10684
  obsPoints: annDataObsPoints,
@@ -10664,12 +10696,17 @@ anndataZarrSchema.extend({
10664
10696
  z.object({
10665
10697
  // TODO: should `image` be a special schema
10666
10698
  // to allow specifying fileUid (like for embeddingType)?
10667
- // TODO: allow multiple images
10699
+ // TODO: allow multiple images?
10668
10700
  image: imageSpatialdataSchema,
10669
10701
  // TODO: should this be a special schema
10670
10702
  // to allow specifying fileUid (like for embeddingType)?
10671
- // TODO: allow multiple labels
10703
+ // TODO: allow multiple labels?
10672
10704
  labels: obsSegmentationsSpatialdataSchema,
10705
+ // TODO: allow multiple shapes?
10706
+ // TODO: unify labels and shapes to obsSegmentations,
10707
+ // then distinguish in expand function based on
10708
+ // "labels/*" vs. "shapes/*" in path?
10709
+ shapes: obsSegmentationsSpatialdataSchema,
10673
10710
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
10674
10711
  obsSpots: obsSpotsSpatialdataSchema,
10675
10712
  // TODO: obsPoints
@@ -28319,7 +28356,7 @@ function NeuroglancerGlobalStyles(props) {
28319
28356
  }
28320
28357
  ));
28321
28358
  }
28322
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-DBBOgJbb.js"));
28359
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-CLniI-yW.js"));
28323
28360
  function createWorker() {
28324
28361
  return new WorkerFactory();
28325
28362
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { N } from "./index-B3uD4mJg.js";
1
+ import { N } from "./index-DwxOxniV.js";
2
2
  export {
3
3
  N as NeuroglancerSubscriber
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/neuroglancer",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,13 +19,13 @@
19
19
  "@janelia-flyem/react-neuroglancer": "2.5.0",
20
20
  "@janelia-flyem/neuroglancer": "2.37.5",
21
21
  "lodash-es": "^4.17.21",
22
- "@vitessce/neuroglancer-workers": "3.6.3",
23
- "@vitessce/styles": "3.6.3",
24
- "@vitessce/constants-internal": "3.6.3",
25
- "@vitessce/vit-s": "3.6.3",
26
- "@vitessce/sets-utils": "3.6.3",
27
- "@vitessce/utils": "3.6.3",
28
- "@vitessce/tooltip": "3.6.3"
22
+ "@vitessce/neuroglancer-workers": "3.6.5",
23
+ "@vitessce/styles": "3.6.5",
24
+ "@vitessce/constants-internal": "3.6.5",
25
+ "@vitessce/vit-s": "3.6.5",
26
+ "@vitessce/sets-utils": "3.6.5",
27
+ "@vitessce/utils": "3.6.5",
28
+ "@vitessce/tooltip": "3.6.5"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testing-library/jest-dom": "^6.6.3",