@vitessce/description 3.1.2 → 3.2.0

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.
Files changed (2) hide show
  1. package/dist/index.js +169 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -893,8 +893,10 @@ const ViewType = {
893
893
  STATUS: "status",
894
894
  SCATTERPLOT: "scatterplot",
895
895
  SPATIAL: "spatial",
896
+ SPATIAL_BETA: "spatialBeta",
896
897
  HEATMAP: "heatmap",
897
898
  LAYER_CONTROLLER: "layerController",
899
+ LAYER_CONTROLLER_BETA: "layerControllerBeta",
898
900
  GENOMIC_PROFILES: "genomicProfiles",
899
901
  GATING: "gating",
900
902
  FEATURE_LIST: "featureList",
@@ -904,10 +906,8 @@ const ViewType = {
904
906
  FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
905
907
  };
906
908
  const CoordinationType = {
907
- // Meta coordination scopes
908
909
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
909
910
  META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
910
- // Other coordination scopes
911
911
  DATASET: "dataset",
912
912
  // Entity types
913
913
  OBS_TYPE: "obsType",
@@ -933,6 +933,7 @@ const CoordinationType = {
933
933
  SPATIAL_TARGET_X: "spatialTargetX",
934
934
  SPATIAL_TARGET_Y: "spatialTargetY",
935
935
  SPATIAL_TARGET_Z: "spatialTargetZ",
936
+ SPATIAL_TARGET_T: "spatialTargetT",
936
937
  SPATIAL_ROTATION_X: "spatialRotationX",
937
938
  SPATIAL_ROTATION_Y: "spatialRotationY",
938
939
  SPATIAL_ROTATION_Z: "spatialRotationZ",
@@ -970,7 +971,46 @@ const CoordinationType = {
970
971
  GATING_FEATURE_SELECTION_X: "gatingFeatureSelectionX",
971
972
  GATING_FEATURE_SELECTION_Y: "gatingFeatureSelectionY",
972
973
  FEATURE_VALUE_TRANSFORM_COEFFICIENT: "featureValueTransformCoefficient",
973
- TOOLTIPS_VISIBLE: "tooltipsVisible"
974
+ TOOLTIPS_VISIBLE: "tooltipsVisible",
975
+ FILE_UID: "fileUid",
976
+ IMAGE_LAYER: "imageLayer",
977
+ IMAGE_CHANNEL: "imageChannel",
978
+ SEGMENTATION_LAYER: "segmentationLayer",
979
+ SEGMENTATION_CHANNEL: "segmentationChannel",
980
+ SPATIAL_TARGET_C: "spatialTargetC",
981
+ SPATIAL_LAYER_VISIBLE: "spatialLayerVisible",
982
+ SPATIAL_LAYER_OPACITY: "spatialLayerOpacity",
983
+ SPATIAL_LAYER_COLORMAP: "spatialLayerColormap",
984
+ SPATIAL_LAYER_TRANSPARENT_COLOR: "spatialLayerTransparentColor",
985
+ SPATIAL_LAYER_MODEL_MATRIX: "spatialLayerModelMatrix",
986
+ SPATIAL_SEGMENTATION_FILLED: "spatialSegmentationFilled",
987
+ SPATIAL_SEGMENTATION_STROKE_WIDTH: "spatialSegmentationStrokeWidth",
988
+ SPATIAL_CHANNEL_COLOR: "spatialChannelColor",
989
+ SPATIAL_CHANNEL_VISIBLE: "spatialChannelVisible",
990
+ SPATIAL_CHANNEL_OPACITY: "spatialChannelOpacity",
991
+ SPATIAL_CHANNEL_WINDOW: "spatialChannelWindow",
992
+ PHOTOMETRIC_INTERPRETATION: "photometricInterpretation",
993
+ // For 3D volume rendering
994
+ SPATIAL_RENDERING_MODE: "spatialRenderingMode",
995
+ VOLUMETRIC_RENDERING_ALGORITHM: "volumetricRenderingAlgorithm",
996
+ SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
997
+ // For clipping plane sliders
998
+ SPATIAL_SLICE_X: "spatialSliceX",
999
+ SPATIAL_SLICE_Y: "spatialSliceY",
1000
+ SPATIAL_SLICE_Z: "spatialSliceZ",
1001
+ // For spatial spot and point layers
1002
+ SPOT_LAYER: "spotLayer",
1003
+ POINT_LAYER: "pointLayer",
1004
+ SPATIAL_SPOT_RADIUS: "spatialSpotRadius",
1005
+ SPATIAL_SPOT_FILLED: "spatialSpotFilled",
1006
+ SPATIAL_SPOT_STROKE_WIDTH: "spatialSpotStrokeWidth",
1007
+ SPATIAL_LAYER_COLOR: "spatialLayerColor",
1008
+ PIXEL_HIGHLIGHT: "pixelHighlight",
1009
+ TOOLTIP_CROSSHAIRS_VISIBLE: "tooltipCrosshairsVisible",
1010
+ LEGEND_VISIBLE: "legendVisible",
1011
+ SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
1012
+ SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
1013
+ SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize"
974
1014
  };
975
1015
  const COMPONENT_COORDINATION_TYPES = {
976
1016
  [ViewType.SCATTERPLOT]: [
@@ -1074,6 +1114,77 @@ const COMPONENT_COORDINATION_TYPES = {
1074
1114
  CoordinationType.MOLECULE_HIGHLIGHT,
1075
1115
  CoordinationType.TOOLTIPS_VISIBLE
1076
1116
  ],
1117
+ [ViewType.SPATIAL_BETA]: [
1118
+ CoordinationType.META_COORDINATION_SCOPES,
1119
+ CoordinationType.META_COORDINATION_SCOPES_BY,
1120
+ CoordinationType.DATASET,
1121
+ CoordinationType.OBS_TYPE,
1122
+ CoordinationType.OBS_LABELS_TYPE,
1123
+ CoordinationType.FEATURE_TYPE,
1124
+ CoordinationType.FEATURE_VALUE_TYPE,
1125
+ CoordinationType.SPATIAL_ZOOM,
1126
+ CoordinationType.SPATIAL_ROTATION,
1127
+ CoordinationType.SPATIAL_POINT_LAYER,
1128
+ CoordinationType.SPATIAL_NEIGHBORHOOD_LAYER,
1129
+ CoordinationType.SPATIAL_TARGET_X,
1130
+ CoordinationType.SPATIAL_TARGET_Y,
1131
+ CoordinationType.SPATIAL_TARGET_Z,
1132
+ CoordinationType.SPATIAL_TARGET_T,
1133
+ CoordinationType.SPATIAL_ROTATION_X,
1134
+ CoordinationType.SPATIAL_ROTATION_Y,
1135
+ CoordinationType.SPATIAL_ROTATION_Z,
1136
+ CoordinationType.SPATIAL_ROTATION_ORBIT,
1137
+ CoordinationType.SPATIAL_ORBIT_AXIS,
1138
+ CoordinationType.SPATIAL_AXIS_FIXED,
1139
+ CoordinationType.OBS_FILTER,
1140
+ CoordinationType.OBS_HIGHLIGHT,
1141
+ CoordinationType.OBS_SET_SELECTION,
1142
+ CoordinationType.OBS_SET_HIGHLIGHT,
1143
+ CoordinationType.OBS_SET_COLOR,
1144
+ CoordinationType.FEATURE_HIGHLIGHT,
1145
+ CoordinationType.FEATURE_SELECTION,
1146
+ CoordinationType.FEATURE_VALUE_COLORMAP,
1147
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
1148
+ CoordinationType.OBS_COLOR_ENCODING,
1149
+ CoordinationType.ADDITIONAL_OBS_SETS,
1150
+ CoordinationType.MOLECULE_HIGHLIGHT,
1151
+ CoordinationType.TOOLTIPS_VISIBLE,
1152
+ CoordinationType.FILE_UID,
1153
+ CoordinationType.SPATIAL_TARGET_C,
1154
+ CoordinationType.SPATIAL_LAYER_VISIBLE,
1155
+ CoordinationType.SPATIAL_LAYER_OPACITY,
1156
+ CoordinationType.SPATIAL_LAYER_COLORMAP,
1157
+ CoordinationType.SPATIAL_LAYER_TRANSPARENT_COLOR,
1158
+ CoordinationType.SPATIAL_LAYER_MODEL_MATRIX,
1159
+ CoordinationType.SPATIAL_CHANNEL_COLOR,
1160
+ CoordinationType.SPATIAL_SEGMENTATION_FILLED,
1161
+ CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
1162
+ CoordinationType.IMAGE_LAYER,
1163
+ CoordinationType.SEGMENTATION_LAYER,
1164
+ CoordinationType.IMAGE_CHANNEL,
1165
+ CoordinationType.SEGMENTATION_CHANNEL,
1166
+ CoordinationType.SPATIAL_CHANNEL_VISIBLE,
1167
+ CoordinationType.SPATIAL_CHANNEL_OPACITY,
1168
+ CoordinationType.SPATIAL_CHANNEL_WINDOW,
1169
+ CoordinationType.SPATIAL_RENDERING_MODE,
1170
+ CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
1171
+ CoordinationType.SPATIAL_TARGET_RESOLUTION,
1172
+ CoordinationType.SPATIAL_SLICE_X,
1173
+ CoordinationType.SPATIAL_SLICE_Y,
1174
+ CoordinationType.SPATIAL_SLICE_Z,
1175
+ CoordinationType.SPOT_LAYER,
1176
+ CoordinationType.POINT_LAYER,
1177
+ CoordinationType.SPATIAL_SPOT_RADIUS,
1178
+ CoordinationType.SPATIAL_SPOT_FILLED,
1179
+ CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
1180
+ CoordinationType.SPATIAL_LAYER_COLOR,
1181
+ CoordinationType.PIXEL_HIGHLIGHT,
1182
+ CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
1183
+ CoordinationType.LEGEND_VISIBLE,
1184
+ CoordinationType.SPATIAL_CHANNEL_LABELS_VISIBLE,
1185
+ CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
1186
+ CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE
1187
+ ],
1077
1188
  [ViewType.HEATMAP]: [
1078
1189
  CoordinationType.DATASET,
1079
1190
  CoordinationType.OBS_TYPE,
@@ -1179,6 +1290,61 @@ const COMPONENT_COORDINATION_TYPES = {
1179
1290
  CoordinationType.SPATIAL_ROTATION_ORBIT,
1180
1291
  CoordinationType.SPATIAL_ORBIT_AXIS
1181
1292
  ],
1293
+ [ViewType.LAYER_CONTROLLER_BETA]: [
1294
+ CoordinationType.META_COORDINATION_SCOPES,
1295
+ CoordinationType.META_COORDINATION_SCOPES_BY,
1296
+ CoordinationType.DATASET,
1297
+ CoordinationType.OBS_TYPE,
1298
+ CoordinationType.FEATURE_TYPE,
1299
+ CoordinationType.FEATURE_VALUE_TYPE,
1300
+ CoordinationType.SPATIAL_POINT_LAYER,
1301
+ CoordinationType.SPATIAL_NEIGHBORHOOD_LAYER,
1302
+ CoordinationType.SPATIAL_ZOOM,
1303
+ CoordinationType.SPATIAL_TARGET_X,
1304
+ CoordinationType.SPATIAL_TARGET_Y,
1305
+ CoordinationType.SPATIAL_TARGET_Z,
1306
+ CoordinationType.SPATIAL_TARGET_T,
1307
+ CoordinationType.SPATIAL_ROTATION_X,
1308
+ CoordinationType.SPATIAL_ROTATION_Y,
1309
+ CoordinationType.SPATIAL_ROTATION_Z,
1310
+ CoordinationType.SPATIAL_ROTATION_ORBIT,
1311
+ CoordinationType.SPATIAL_ORBIT_AXIS,
1312
+ CoordinationType.FILE_UID,
1313
+ CoordinationType.SPATIAL_TARGET_C,
1314
+ CoordinationType.SPATIAL_LAYER_VISIBLE,
1315
+ CoordinationType.SPATIAL_LAYER_OPACITY,
1316
+ CoordinationType.SPATIAL_LAYER_COLORMAP,
1317
+ CoordinationType.SPATIAL_LAYER_TRANSPARENT_COLOR,
1318
+ CoordinationType.SPATIAL_LAYER_MODEL_MATRIX,
1319
+ CoordinationType.SPATIAL_CHANNEL_COLOR,
1320
+ CoordinationType.SPATIAL_SEGMENTATION_FILLED,
1321
+ CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
1322
+ CoordinationType.IMAGE_CHANNEL,
1323
+ CoordinationType.SEGMENTATION_CHANNEL,
1324
+ CoordinationType.SPATIAL_CHANNEL_VISIBLE,
1325
+ CoordinationType.SPATIAL_CHANNEL_OPACITY,
1326
+ CoordinationType.SPATIAL_CHANNEL_WINDOW,
1327
+ CoordinationType.PHOTOMETRIC_INTERPRETATION,
1328
+ CoordinationType.SPATIAL_RENDERING_MODE,
1329
+ CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
1330
+ CoordinationType.SPATIAL_TARGET_RESOLUTION,
1331
+ CoordinationType.SPATIAL_SLICE_X,
1332
+ CoordinationType.SPATIAL_SLICE_Y,
1333
+ CoordinationType.SPATIAL_SLICE_Z,
1334
+ CoordinationType.SPOT_LAYER,
1335
+ CoordinationType.POINT_LAYER,
1336
+ CoordinationType.SPATIAL_SPOT_RADIUS,
1337
+ CoordinationType.SPATIAL_SPOT_FILLED,
1338
+ CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
1339
+ CoordinationType.SPATIAL_LAYER_COLOR,
1340
+ CoordinationType.OBS_COLOR_ENCODING,
1341
+ CoordinationType.TOOLTIPS_VISIBLE,
1342
+ CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
1343
+ CoordinationType.LEGEND_VISIBLE,
1344
+ CoordinationType.SPATIAL_CHANNEL_LABELS_VISIBLE,
1345
+ CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
1346
+ CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE
1347
+ ],
1182
1348
  [ViewType.GENOMIC_PROFILES]: [
1183
1349
  CoordinationType.DATASET,
1184
1350
  CoordinationType.OBS_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/description",
3
- "version": "3.1.2",
3
+ "version": "3.2.0",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
- "@vitessce/constants-internal": "3.1.2",
21
- "@vitessce/vit-s": "3.1.2"
20
+ "@vitessce/constants-internal": "3.2.0",
21
+ "@vitessce/vit-s": "3.2.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@testing-library/jest-dom": "^5.16.4",