@vitessce/constants 4.1.1 → 4.1.3

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.
package/dist/index.js CHANGED
@@ -174,6 +174,7 @@ const FileType$2 = {
174
174
  // Precomputed (mesh) format
175
175
  OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
176
176
  OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
177
+ OBS_LOCATIONS_NG_ANNOTATIONS: "obsLocations.ng-annotations",
177
178
  // New file types to support old file types:
178
179
  // - cells.json
179
180
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -303,6 +304,8 @@ const CoordinationType$2 = {
303
304
  SPATIAL_SEGMENTATION_FILLED: "spatialSegmentationFilled",
304
305
  SPATIAL_SEGMENTATION_STROKE_WIDTH: "spatialSegmentationStrokeWidth",
305
306
  SPATIAL_POINT_STROKE_WIDTH: "spatialPointStrokeWidth",
307
+ SPATIAL_POINT_RADIUS: "spatialPointRadius",
308
+ SPATIAL_POINT_PROJECTION_SPACING: "spatialPointProjectionSpacing",
306
309
  SPATIAL_CHANNEL_COLOR: "spatialChannelColor",
307
310
  SPATIAL_CHANNEL_VISIBLE: "spatialChannelVisible",
308
311
  SPATIAL_CHANNEL_OPACITY: "spatialChannelOpacity",
@@ -319,6 +322,12 @@ const CoordinationType$2 = {
319
322
  // Per-image-channel (for spatial-accelerated)
320
323
  SPATIAL_LOD_FACTOR: "spatialLodFactor",
321
324
  // LOD factor for 3D volume rendering
325
+ SPATIAL_AXIS_LINES_VISIBLE: "spatialAxisLinesVisible",
326
+ // axisLines' visibility in Neuroglancer View
327
+ SPATIAL_BOUNDS_VISIBLE: "spatialBoundsVisible",
328
+ // annotationBounds' visibility in Neuroglancer View
329
+ SPATIAL_SCALE_BAR_VISIBLE: "spatialScaleBarVisible",
330
+ SPATIAL_BACKGROUND_THEME: "spatialBackgroundTheme",
322
331
  // For clipping plane sliders
323
332
  SPATIAL_SLICE_X: "spatialSliceX",
324
333
  SPATIAL_SLICE_Y: "spatialSliceY",
@@ -328,6 +337,7 @@ const CoordinationType$2 = {
328
337
  POINT_LAYER: "pointLayer",
329
338
  SPATIAL_SPOT_RADIUS: "spatialSpotRadius",
330
339
  // In micrometers?
340
+ SPATIAL_SPOT_SHAPE: "spatialSpotShape",
331
341
  SPATIAL_SPOT_FILLED: "spatialSpotFilled",
332
342
  SPATIAL_SPOT_STROKE_WIDTH: "spatialSpotStrokeWidth",
333
343
  SPATIAL_LAYER_COLOR: "spatialLayerColor",
@@ -419,6 +429,7 @@ const CoordinationType$2 = {
419
429
  [FileType$2.OBS_SEGMENTATIONS_GLB]: DataType$2.OBS_SEGMENTATIONS,
420
430
  [FileType$2.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$2.OBS_SEGMENTATIONS,
421
431
  [FileType$2.OBS_POINTS_NG_ANNOTATIONS]: DataType$2.OBS_POINTS,
432
+ [FileType$2.OBS_LOCATIONS_NG_ANNOTATIONS]: DataType$2.OBS_LOCATIONS,
422
433
  [FileType$2.IMAGE_SPATIALDATA_ZARR]: DataType$2.IMAGE,
423
434
  [FileType$2.LABELS_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
424
435
  [FileType$2.SHAPES_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
@@ -645,7 +656,8 @@ const CoordinationType$2 = {
645
656
  CoordinationType$2.SPATIAL_ORBIT_AXIS,
646
657
  CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
647
658
  // Annotation shapes are specific to a view's coordinate system.
648
- CoordinationType$2.ANNOTATION_SHAPES
659
+ CoordinationType$2.ANNOTATION_SHAPES,
660
+ CoordinationType$2.SPATIAL_BACKGROUND_THEME
649
661
  ];
650
662
  ({
651
663
  [ViewType$2.NEUROGLANCER]: [
@@ -696,7 +708,13 @@ const CoordinationType$2 = {
696
708
  CoordinationType$2.SPATIAL_CHANNEL_OPACITY,
697
709
  CoordinationType$2.SPATIAL_CHANNEL_VISIBLE,
698
710
  CoordinationType$2.LEGEND_VISIBLE,
699
- CoordinationType$2.SPATIAL_POINT_STROKE_WIDTH
711
+ CoordinationType$2.SPATIAL_POINT_STROKE_WIDTH,
712
+ CoordinationType$2.SPATIAL_POINT_RADIUS,
713
+ CoordinationType$2.SPATIAL_AXIS_LINES_VISIBLE,
714
+ CoordinationType$2.SPATIAL_BOUNDS_VISIBLE,
715
+ CoordinationType$2.SPATIAL_POINT_PROJECTION_SPACING,
716
+ CoordinationType$2.SPATIAL_SCALE_BAR_VISIBLE,
717
+ CoordinationType$2.SPATIAL_BACKGROUND_THEME
700
718
  ],
701
719
  [ViewType$2.SCATTERPLOT]: [
702
720
  CoordinationType$2.DATASET,
@@ -873,7 +891,8 @@ const CoordinationType$2 = {
873
891
  CoordinationType$2.ANNOTATION_OVERLAY_VISIBLE,
874
892
  CoordinationType$2.ANNOTATION_TRANSITION_DURATION,
875
893
  CoordinationType$2.ANNOTATION_EDITABLE,
876
- CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM
894
+ CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM,
895
+ CoordinationType$2.SPATIAL_CHANNELS_SORT_ORDER
877
896
  ],
878
897
  [ViewType$2.SPATIAL_BETA]: [
879
898
  CoordinationType$2.META_COORDINATION_SCOPES,
@@ -944,6 +963,7 @@ const CoordinationType$2 = {
944
963
  CoordinationType$2.SPOT_LAYER,
945
964
  CoordinationType$2.POINT_LAYER,
946
965
  CoordinationType$2.SPATIAL_SPOT_RADIUS,
966
+ CoordinationType$2.SPATIAL_SPOT_SHAPE,
947
967
  CoordinationType$2.SPATIAL_SPOT_FILLED,
948
968
  CoordinationType$2.SPATIAL_SPOT_STROKE_WIDTH,
949
969
  CoordinationType$2.SPATIAL_LAYER_COLOR,
@@ -961,7 +981,10 @@ const CoordinationType$2 = {
961
981
  CoordinationType$2.ANNOTATION_OVERLAY_VISIBLE,
962
982
  CoordinationType$2.ANNOTATION_TRANSITION_DURATION,
963
983
  CoordinationType$2.ANNOTATION_EDITABLE,
964
- CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM
984
+ CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM,
985
+ CoordinationType$2.SPATIAL_POINT_RADIUS,
986
+ CoordinationType$2.SPATIAL_POINT_STROKE_WIDTH,
987
+ CoordinationType$2.SPATIAL_BACKGROUND_THEME
965
988
  ],
966
989
  [ViewType$2.ANNOTATION_CONTROLLER]: [
967
990
  CoordinationType$2.DATASET,
@@ -1091,7 +1114,8 @@ const CoordinationType$2 = {
1091
1114
  CoordinationType$2.SPATIAL_ROTATION_Z,
1092
1115
  CoordinationType$2.SPATIAL_ROTATION_ORBIT,
1093
1116
  CoordinationType$2.SPATIAL_ORBIT_AXIS,
1094
- CoordinationType$2.PHOTOMETRIC_INTERPRETATION
1117
+ CoordinationType$2.PHOTOMETRIC_INTERPRETATION,
1118
+ CoordinationType$2.SPATIAL_CHANNELS_SORT_ORDER
1095
1119
  ],
1096
1120
  [ViewType$2.LAYER_CONTROLLER_BETA]: [
1097
1121
  CoordinationType$2.META_COORDINATION_SCOPES,
@@ -1125,6 +1149,7 @@ const CoordinationType$2 = {
1125
1149
  CoordinationType$2.SPATIAL_SEGMENTATION_FILLED,
1126
1150
  CoordinationType$2.SPATIAL_SEGMENTATION_STROKE_WIDTH,
1127
1151
  CoordinationType$2.SPATIAL_POINT_STROKE_WIDTH,
1152
+ CoordinationType$2.SPATIAL_POINT_RADIUS,
1128
1153
  CoordinationType$2.IMAGE_CHANNEL,
1129
1154
  CoordinationType$2.IMAGE_LAYER,
1130
1155
  CoordinationType$2.SEGMENTATION_CHANNEL,
@@ -1143,6 +1168,7 @@ const CoordinationType$2 = {
1143
1168
  CoordinationType$2.SPOT_LAYER,
1144
1169
  CoordinationType$2.POINT_LAYER,
1145
1170
  CoordinationType$2.SPATIAL_SPOT_RADIUS,
1171
+ CoordinationType$2.SPATIAL_SPOT_SHAPE,
1146
1172
  CoordinationType$2.SPATIAL_SPOT_FILLED,
1147
1173
  CoordinationType$2.SPATIAL_SPOT_STROKE_WIDTH,
1148
1174
  CoordinationType$2.SPATIAL_LAYER_COLOR,
@@ -159,6 +159,7 @@ export const FileType: {
159
159
  OBS_SEGMENTATIONS_GLB: string;
160
160
  OBS_SEGMENTATIONS_NG_PRECOMPUTED: string;
161
161
  OBS_POINTS_NG_ANNOTATIONS: string;
162
+ OBS_LOCATIONS_NG_ANNOTATIONS: string;
162
163
  OBS_EMBEDDING_CELLS_JSON: string;
163
164
  OBS_SEGMENTATIONS_CELLS_JSON: string;
164
165
  OBS_LOCATIONS_CELLS_JSON: string;
@@ -276,6 +277,8 @@ export const CoordinationType: {
276
277
  SPATIAL_SEGMENTATION_FILLED: string;
277
278
  SPATIAL_SEGMENTATION_STROKE_WIDTH: string;
278
279
  SPATIAL_POINT_STROKE_WIDTH: string;
280
+ SPATIAL_POINT_RADIUS: string;
281
+ SPATIAL_POINT_PROJECTION_SPACING: string;
279
282
  SPATIAL_CHANNEL_COLOR: string;
280
283
  SPATIAL_CHANNEL_VISIBLE: string;
281
284
  SPATIAL_CHANNEL_OPACITY: string;
@@ -286,12 +289,17 @@ export const CoordinationType: {
286
289
  SPATIAL_TARGET_RESOLUTION: string;
287
290
  SPATIAL_MAX_RESOLUTION: string;
288
291
  SPATIAL_LOD_FACTOR: string;
292
+ SPATIAL_AXIS_LINES_VISIBLE: string;
293
+ SPATIAL_BOUNDS_VISIBLE: string;
294
+ SPATIAL_SCALE_BAR_VISIBLE: string;
295
+ SPATIAL_BACKGROUND_THEME: string;
289
296
  SPATIAL_SLICE_X: string;
290
297
  SPATIAL_SLICE_Y: string;
291
298
  SPATIAL_SLICE_Z: string;
292
299
  SPOT_LAYER: string;
293
300
  POINT_LAYER: string;
294
301
  SPATIAL_SPOT_RADIUS: string;
302
+ SPATIAL_SPOT_SHAPE: string;
295
303
  SPATIAL_SPOT_FILLED: string;
296
304
  SPATIAL_SPOT_STROKE_WIDTH: string;
297
305
  SPATIAL_LAYER_COLOR: string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants-merged.d.ts","sourceRoot":"","sources":["../src/constants-merged.js"],"names":[],"mappings":"AA8CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGE;AACF;;;;;;;;;;;;;;;;;;;;;EAGE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGE"}
1
+ {"version":3,"file":"constants-merged.d.ts","sourceRoot":"","sources":["../src/constants-merged.js"],"names":[],"mappings":"AA8CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGE;AACF;;;;;;;;;;;;;;;;;;;;;EAGE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/constants",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,11 +16,11 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/globals": "4.1.1",
20
- "@vitessce/constants-internal": "4.1.1"
19
+ "@vitessce/globals": "4.1.3",
20
+ "@vitessce/constants-internal": "4.1.3"
21
21
  },
22
22
  "devDependencies": {
23
- "@vitessce/types": "4.1.1"
23
+ "@vitessce/types": "4.1.3"
24
24
  },
25
25
  "scripts": {
26
26
  "bundle": "pnpm exec vite build -c ../../scripts/vite.config.mjs"