@vitessce/all 3.6.4 → 3.6.6

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,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-KG6yVDeM.js";
1
+ import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-DYlK7EWv.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo, forwardRef } from "react";
4
4
  var constants = { exports: {} };
@@ -23637,7 +23637,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23637
23637
  const {
23638
23638
  Text: TextMeshImpl,
23639
23639
  preloadFont
23640
- } = suspend(async () => import("./troika-three-text.esm-C7mJ9tlO.js"), []);
23640
+ } = suspend(async () => import("./troika-three-text.esm-CfbCff4s.js"), []);
23641
23641
  const invalidate2 = useThree(({
23642
23642
  invalidate: invalidate3
23643
23643
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bL, bJ, bH, bK, bI, bG, bM } from "./index-KG6yVDeM.js";
1
+ import { bL, bJ, bH, bK, bI, bG, bM } from "./index-DYlK7EWv.js";
2
2
  import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
3
3
  export {
4
4
  bL as PluginAsyncFunction,
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-KG6yVDeM.js";
1
+ import { aP as BaseDecoder } from "./index-DYlK7EWv.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, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-KG6yVDeM.js";
2
+ import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-DYlK7EWv.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-KG6yVDeM.js";
1
+ import { aP as BaseDecoder } from "./index-DYlK7EWv.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 { aP as BaseDecoder } from "./index-KG6yVDeM.js";
1
+ import { aP as BaseDecoder } from "./index-DYlK7EWv.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-KG6yVDeM.js";
1
+ import { aP as BaseDecoder } from "./index-DYlK7EWv.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-KG6yVDeM.js";
1
+ import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-DYlK7EWv.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-KG6yVDeM.js";
1
+ import { aP as BaseDecoder } from "./index-DYlK7EWv.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -263,6 +263,19 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
263
263
  tablePath?: string | undefined;
264
264
  coordinateSystem?: string | undefined;
265
265
  }>>;
266
+ shapes: z.ZodOptional<z.ZodObject<{
267
+ path: z.ZodString;
268
+ tablePath: z.ZodOptional<z.ZodString>;
269
+ coordinateSystem: z.ZodOptional<z.ZodString>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ path: string;
272
+ tablePath?: string | undefined;
273
+ coordinateSystem?: string | undefined;
274
+ }, {
275
+ path: string;
276
+ tablePath?: string | undefined;
277
+ coordinateSystem?: string | undefined;
278
+ }>>;
266
279
  obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
267
280
  path: z.ZodString;
268
281
  featureFilterPath: z.ZodOptional<z.ZodString>;
@@ -339,6 +352,11 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
339
352
  tablePath?: string | undefined;
340
353
  coordinateSystem?: string | undefined;
341
354
  } | undefined;
355
+ shapes?: {
356
+ path: string;
357
+ tablePath?: string | undefined;
358
+ coordinateSystem?: string | undefined;
359
+ } | undefined;
342
360
  obsFeatureMatrix?: {
343
361
  path: string;
344
362
  featureFilterPath?: string | undefined;
@@ -371,6 +389,11 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
371
389
  tablePath?: string | undefined;
372
390
  coordinateSystem?: string | undefined;
373
391
  } | undefined;
392
+ shapes?: {
393
+ path: string;
394
+ tablePath?: string | undefined;
395
+ coordinateSystem?: string | undefined;
396
+ } | undefined;
374
397
  obsFeatureMatrix?: {
375
398
  path: string;
376
399
  featureFilterPath?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"base-plugins.d.ts","sourceRoot":"","sources":["../src/base-plugins.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,CAAC,EAkDF,MAAM,mBAAmB,CAAC;AAuK3B,eAAO,MAAM,aAAa,kBA8BzB,CAAC;AAEF,eAAO,MAAM,aAAa,wDA2EzB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA0E7B,CAAD;gCAEmB,CAAC;;;yBAGnB,CAAC;gCAEmB,CAAC;;;;;;;;;;;;;;;;iBAS2D,CAAC;;;;iBAG/E,CAAF;;;;;;;YAKiB,CAAC;;;YAGV,CAAC;;;;;;;YAMP,CAAF;;;YAE0B,CAAC;;;;;;;YAQ3B,CAAC;;;YAEgC,CAAC;;;;;;;;;;;;;;YAShC,CAAJ;;;YAE0B,CAAC;;;;;;;;YAQH,CAAC;;;;YAIG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;yBAaK,CAAC;gCAIhC,CAAC;;;;;;;;iBAUkB,CAAC;;;;YAIrB,CAAA;;;;YAGS,CAAC;;;;YAIY,CAAC;;;;;;;YAOhB,CAAC;;;;YAGR,CAAF;;;;;;;;;;;;;;;;;;;;yBAI+E,CAAC;gCAC1C,CAAC;;;;;;;;iBAGhC,CAAC;;;;YAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBA4gB9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
@@ -37,7 +37,7 @@ import {
37
37
  // OME
38
38
  OmeZarrLoader, OmeZarrAsObsSegmentationsLoader,
39
39
  // SpatialData
40
- SpatialDataTableSource, SpatialDataShapesSource, SpatialDataImageLoader, SpatialDataLabelsLoader, SpatialDataObsSpotsLoader, SpatialDataObsSetsLoader, } from '@vitessce/spatial-zarr';
40
+ SpatialDataTableSource, SpatialDataShapesSource, SpatialDataImageLoader, SpatialDataLabelsLoader, SpatialDataObsSpotsLoader, SpatialDataObsSegmentationsLoader, SpatialDataObsSetsLoader, } from '@vitessce/spatial-zarr';
41
41
  import { OmeTiffAsObsSegmentationsLoader, OmeTiffLoader, OmeTiffSource, } from '@vitessce/ome-tiff';
42
42
  import { GlbSource, GlbLoader, } from '@vitessce/glb';
43
43
  // Joint file types
@@ -144,11 +144,8 @@ export const baseFileTypes = [
144
144
  makeFileType(FileType.OBS_SEGMENTATIONS_OME_TIFF, DataType.OBS_SEGMENTATIONS, OmeTiffAsObsSegmentationsLoader, OmeTiffSource, obsSegmentationsOmeTiffSchema),
145
145
  // SpatialData file types
146
146
  makeFileType(FileType.IMAGE_SPATIALDATA_ZARR, DataType.IMAGE, SpatialDataImageLoader, ZarrDataSource, imageSpatialdataSchema),
147
- // TODO: create a new loader for labels that returns obsSegmentations with obsSegmentationsType: 'bitmask'
148
147
  makeFileType(FileType.LABELS_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataLabelsLoader, ZarrDataSource, obsSegmentationsSpatialdataSchema),
149
- // TODO: create a new loader for shapes that returns obsSegmentations with obsSegmentationsType: 'polygon' (or switch this to 'shape' everywhere?)
150
- // TODO: create a new source for GeoPandas tables?
151
- makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
148
+ makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataObsSegmentationsLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
152
149
  makeFileType(FileType.OBS_SPOTS_SPATIALDATA_ZARR, DataType.OBS_SPOTS, SpatialDataObsSpotsLoader, SpatialDataShapesSource, obsSpotsSpatialdataSchema),
153
150
  makeFileType(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
154
151
  makeFileType(FileType.OBS_SETS_SPATIALDATA_ZARR, DataType.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
@@ -1 +1 @@
1
- {"version":3,"file":"joint-file-types.d.ts","sourceRoot":"","sources":["../src/joint-file-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6B7D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAsO7E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;;;;;;;;UAjQ1E,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;KA+VlB"}
1
+ {"version":3,"file":"joint-file-types.d.ts","sourceRoot":"","sources":["../src/joint-file-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6B7D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAsO7E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;;;;;;;;UAjQ1E,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;KA8WlB"}
@@ -306,7 +306,7 @@ export function expandSpatialdataZarr(fileDef) {
306
306
  // TODO: featureLabels
307
307
  // TODO: obsEmbedding
308
308
  // image
309
- // TODO: handle multiple images
309
+ // TODO: handle multiple image elements?
310
310
  ...(options.image ? [{
311
311
  ...baseFileDef,
312
312
  fileType: getFileType(FileType.IMAGE_SPATIALDATA_ZARR),
@@ -335,5 +335,20 @@ export function expandSpatialdataZarr(fileDef) {
335
335
  // TODO: fileUid?
336
336
  },
337
337
  }] : []),
338
+ // shapes
339
+ // TODO: handle multiple shape elements?
340
+ ...(options.shapes ? [{
341
+ ...baseFileDef,
342
+ fileType: getFileType(FileType.SHAPES_SPATIALDATA_ZARR),
343
+ options: {
344
+ coordinateSystem: defaultCoordinateSystem,
345
+ ...options.shapes,
346
+ },
347
+ coordinationValues: {
348
+ ...extraCoordinationValues,
349
+ obsType: baseFileDef.coordinationValues.obsType,
350
+ // TODO: fileUid?
351
+ },
352
+ }] : []),
338
353
  ];
339
354
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.6.4",
3
+ "version": "3.6.6",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,36 +17,36 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.6.4",
21
- "@vitessce/constants-internal": "3.6.4",
22
- "@vitessce/abstract": "3.6.4",
23
- "@vitessce/csv": "3.6.4",
24
- "@vitessce/description": "3.6.4",
25
- "@vitessce/feature-list": "3.6.4",
26
- "@vitessce/genomic-profiles": "3.6.4",
27
- "@vitessce/heatmap": "3.6.4",
28
- "@vitessce/glb": "3.6.4",
29
- "@vitessce/json": "3.6.4",
30
- "@vitessce/layer-controller": "3.6.4",
31
- "@vitessce/layer-controller-beta": "3.6.4",
32
- "@vitessce/link-controller": "3.6.4",
33
- "@vitessce/obs-sets-manager": "3.6.4",
34
- "@vitessce/ome-tiff": "3.6.4",
35
- "@vitessce/plugins": "3.6.4",
36
- "@vitessce/scatterplot-embedding": "3.6.4",
37
- "@vitessce/scatterplot-gating": "3.6.4",
38
- "@vitessce/schemas": "3.6.4",
39
- "@vitessce/spatial": "3.6.4",
40
- "@vitessce/spatial-beta": "3.6.4",
41
- "@vitessce/statistical-plots": "3.6.4",
42
- "@vitessce/status": "3.6.4",
43
- "@vitessce/vit-s": "3.6.4",
44
- "@vitessce/zarr": "3.6.4",
45
- "@vitessce/globals": "3.6.4",
46
- "@vitessce/spatial-zarr": "3.6.4",
47
- "@vitessce/spatial-three": "3.6.4",
48
- "@vitessce/biomarker-select": "3.6.4",
49
- "@vitessce/neuroglancer": "3.6.4"
20
+ "@vitessce/styles": "3.6.6",
21
+ "@vitessce/constants-internal": "3.6.6",
22
+ "@vitessce/abstract": "3.6.6",
23
+ "@vitessce/csv": "3.6.6",
24
+ "@vitessce/description": "3.6.6",
25
+ "@vitessce/feature-list": "3.6.6",
26
+ "@vitessce/genomic-profiles": "3.6.6",
27
+ "@vitessce/heatmap": "3.6.6",
28
+ "@vitessce/glb": "3.6.6",
29
+ "@vitessce/json": "3.6.6",
30
+ "@vitessce/layer-controller": "3.6.6",
31
+ "@vitessce/layer-controller-beta": "3.6.6",
32
+ "@vitessce/link-controller": "3.6.6",
33
+ "@vitessce/obs-sets-manager": "3.6.6",
34
+ "@vitessce/ome-tiff": "3.6.6",
35
+ "@vitessce/plugins": "3.6.6",
36
+ "@vitessce/scatterplot-embedding": "3.6.6",
37
+ "@vitessce/scatterplot-gating": "3.6.6",
38
+ "@vitessce/schemas": "3.6.6",
39
+ "@vitessce/spatial": "3.6.6",
40
+ "@vitessce/spatial-beta": "3.6.6",
41
+ "@vitessce/statistical-plots": "3.6.6",
42
+ "@vitessce/status": "3.6.6",
43
+ "@vitessce/vit-s": "3.6.6",
44
+ "@vitessce/zarr": "3.6.6",
45
+ "@vitessce/globals": "3.6.6",
46
+ "@vitessce/spatial-zarr": "3.6.6",
47
+ "@vitessce/spatial-three": "3.6.6",
48
+ "@vitessce/biomarker-select": "3.6.6",
49
+ "@vitessce/neuroglancer": "3.6.6"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react": "^18.0.28",
@@ -173,6 +173,7 @@ import {
173
173
  SpatialDataImageLoader,
174
174
  SpatialDataLabelsLoader,
175
175
  SpatialDataObsSpotsLoader,
176
+ SpatialDataObsSegmentationsLoader,
176
177
  SpatialDataObsSetsLoader,
177
178
  } from '@vitessce/spatial-zarr';
178
179
 
@@ -319,11 +320,8 @@ export const baseFileTypes = [
319
320
  makeFileType(FileType.OBS_SEGMENTATIONS_OME_TIFF, DataType.OBS_SEGMENTATIONS, OmeTiffAsObsSegmentationsLoader, OmeTiffSource, obsSegmentationsOmeTiffSchema),
320
321
  // SpatialData file types
321
322
  makeFileType(FileType.IMAGE_SPATIALDATA_ZARR, DataType.IMAGE, SpatialDataImageLoader, ZarrDataSource, imageSpatialdataSchema),
322
- // TODO: create a new loader for labels that returns obsSegmentations with obsSegmentationsType: 'bitmask'
323
323
  makeFileType(FileType.LABELS_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataLabelsLoader, ZarrDataSource, obsSegmentationsSpatialdataSchema),
324
- // TODO: create a new loader for shapes that returns obsSegmentations with obsSegmentationsType: 'polygon' (or switch this to 'shape' everywhere?)
325
- // TODO: create a new source for GeoPandas tables?
326
- makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
324
+ makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataObsSegmentationsLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
327
325
  makeFileType(FileType.OBS_SPOTS_SPATIALDATA_ZARR, DataType.OBS_SPOTS, SpatialDataObsSpotsLoader, SpatialDataShapesSource, obsSpotsSpatialdataSchema),
328
326
  makeFileType(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
329
327
  makeFileType(FileType.OBS_SETS_SPATIALDATA_ZARR, DataType.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
@@ -325,7 +325,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
325
325
  // TODO: featureLabels
326
326
  // TODO: obsEmbedding
327
327
  // image
328
- // TODO: handle multiple images
328
+ // TODO: handle multiple image elements?
329
329
  ...(options.image ? [{
330
330
  ...baseFileDef,
331
331
  fileType: getFileType(FileType.IMAGE_SPATIALDATA_ZARR),
@@ -354,5 +354,20 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
354
354
  // TODO: fileUid?
355
355
  },
356
356
  }] : []),
357
+ // shapes
358
+ // TODO: handle multiple shape elements?
359
+ ...(options.shapes ? [{
360
+ ...baseFileDef,
361
+ fileType: getFileType(FileType.SHAPES_SPATIALDATA_ZARR),
362
+ options: {
363
+ coordinateSystem: defaultCoordinateSystem,
364
+ ...options.shapes,
365
+ },
366
+ coordinationValues: {
367
+ ...extraCoordinationValues,
368
+ obsType: baseFileDef.coordinationValues.obsType,
369
+ // TODO: fileUid?
370
+ },
371
+ }] : []),
357
372
  ];
358
373
  }