@vitessce/description 4.0.7 → 4.0.9
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 +54 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -33,7 +33,9 @@ const ViewType = {
|
|
|
33
33
|
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
34
34
|
TREEMAP: "treemap",
|
|
35
35
|
SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
|
|
36
|
-
FEATURE_STATS_TABLE: "featureStatsTable"
|
|
36
|
+
FEATURE_STATS_TABLE: "featureStatsTable",
|
|
37
|
+
SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
|
|
38
|
+
ANNOTATION_CONTROLLER: "annotationController"
|
|
37
39
|
};
|
|
38
40
|
const CoordinationType = {
|
|
39
41
|
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
@@ -180,7 +182,15 @@ const CoordinationType = {
|
|
|
180
182
|
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
|
|
181
183
|
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
|
|
182
184
|
// Treemap
|
|
183
|
-
HIERARCHY_LEVELS: "hierarchyLevels"
|
|
185
|
+
HIERARCHY_LEVELS: "hierarchyLevels",
|
|
186
|
+
// Annotation frames
|
|
187
|
+
ANNOTATION_STORY: "annotationStory",
|
|
188
|
+
ANNOTATION_FRAME_INDEX: "annotationFrameIndex",
|
|
189
|
+
ANNOTATION_SHAPES: "annotationShapes",
|
|
190
|
+
ANNOTATION_OVERLAY_VISIBLE: "annotationOverlayVisible",
|
|
191
|
+
ANNOTATION_TRANSITION_DURATION: "annotationTransitionDuration",
|
|
192
|
+
ANNOTATION_SEMANTIC_ZOOM: "annotationSemanticZoom",
|
|
193
|
+
ANNOTATION_EDITABLE: "annotationEditable"
|
|
184
194
|
};
|
|
185
195
|
const DescriptionType = {
|
|
186
196
|
MARKDOWN: "markdown"
|
|
@@ -278,7 +288,14 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
278
288
|
CoordinationType.EMBEDDING_CONTOURS_FILLED,
|
|
279
289
|
CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
|
|
280
290
|
CoordinationType.CONTOUR_COLOR_ENCODING,
|
|
281
|
-
CoordinationType.CONTOUR_COLOR
|
|
291
|
+
CoordinationType.CONTOUR_COLOR,
|
|
292
|
+
CoordinationType.ANNOTATION_STORY,
|
|
293
|
+
CoordinationType.ANNOTATION_SHAPES,
|
|
294
|
+
CoordinationType.ANNOTATION_FRAME_INDEX,
|
|
295
|
+
CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
|
|
296
|
+
CoordinationType.ANNOTATION_TRANSITION_DURATION,
|
|
297
|
+
CoordinationType.ANNOTATION_EDITABLE,
|
|
298
|
+
CoordinationType.ANNOTATION_SEMANTIC_ZOOM
|
|
282
299
|
],
|
|
283
300
|
[ViewType.DUAL_SCATTERPLOT]: [
|
|
284
301
|
CoordinationType.DATASET,
|
|
@@ -394,7 +411,14 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
394
411
|
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
395
412
|
CoordinationType.MOLECULE_HIGHLIGHT,
|
|
396
413
|
CoordinationType.TOOLTIPS_VISIBLE,
|
|
397
|
-
CoordinationType.PHOTOMETRIC_INTERPRETATION
|
|
414
|
+
CoordinationType.PHOTOMETRIC_INTERPRETATION,
|
|
415
|
+
CoordinationType.ANNOTATION_STORY,
|
|
416
|
+
CoordinationType.ANNOTATION_SHAPES,
|
|
417
|
+
CoordinationType.ANNOTATION_FRAME_INDEX,
|
|
418
|
+
CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
|
|
419
|
+
CoordinationType.ANNOTATION_TRANSITION_DURATION,
|
|
420
|
+
CoordinationType.ANNOTATION_EDITABLE,
|
|
421
|
+
CoordinationType.ANNOTATION_SEMANTIC_ZOOM
|
|
398
422
|
],
|
|
399
423
|
[ViewType.SPATIAL_BETA]: [
|
|
400
424
|
CoordinationType.META_COORDINATION_SCOPES,
|
|
@@ -472,7 +496,27 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
472
496
|
CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
473
497
|
CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE,
|
|
474
498
|
CoordinationType.SPATIAL_CHANNELS_SORT_ORDER,
|
|
475
|
-
CoordinationType.PHOTOMETRIC_INTERPRETATION
|
|
499
|
+
CoordinationType.PHOTOMETRIC_INTERPRETATION,
|
|
500
|
+
CoordinationType.ANNOTATION_STORY,
|
|
501
|
+
CoordinationType.ANNOTATION_SHAPES,
|
|
502
|
+
CoordinationType.ANNOTATION_FRAME_INDEX,
|
|
503
|
+
CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
|
|
504
|
+
CoordinationType.ANNOTATION_TRANSITION_DURATION,
|
|
505
|
+
CoordinationType.ANNOTATION_EDITABLE,
|
|
506
|
+
CoordinationType.ANNOTATION_SEMANTIC_ZOOM
|
|
507
|
+
],
|
|
508
|
+
[ViewType.ANNOTATION_CONTROLLER]: [
|
|
509
|
+
CoordinationType.DATASET,
|
|
510
|
+
CoordinationType.ANNOTATION_STORY,
|
|
511
|
+
CoordinationType.ANNOTATION_FRAME_INDEX,
|
|
512
|
+
CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
|
|
513
|
+
CoordinationType.ANNOTATION_TRANSITION_DURATION,
|
|
514
|
+
CoordinationType.ANNOTATION_EDITABLE,
|
|
515
|
+
CoordinationType.ANNOTATION_SEMANTIC_ZOOM
|
|
516
|
+
// Note: the annotation controller also needs to read the coordination state
|
|
517
|
+
// of all other views/coordination types via the full config.
|
|
518
|
+
// Note: we get/set the CoordinationType.ANNOTATION_SHAPES from the full config,
|
|
519
|
+
// as this info is view-specific rather than global to the story.
|
|
476
520
|
],
|
|
477
521
|
[ViewType.HEATMAP]: [
|
|
478
522
|
CoordinationType.DATASET,
|
|
@@ -782,6 +826,11 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
782
826
|
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
783
827
|
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
784
828
|
],
|
|
829
|
+
[ViewType.SINGLE_OBS_SET_SELECTOR]: [
|
|
830
|
+
CoordinationType.OBS_TYPE,
|
|
831
|
+
CoordinationType.OBS_SET_COLOR,
|
|
832
|
+
CoordinationType.OBS_SET_SELECTION
|
|
833
|
+
],
|
|
785
834
|
[ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
786
835
|
CoordinationType.DATASET,
|
|
787
836
|
CoordinationType.OBS_TYPE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/description",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"react-markdown": "^9.0.1",
|
|
20
|
-
"@vitessce/
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/vit-s": "4.0.
|
|
20
|
+
"@vitessce/constants-internal": "4.0.9",
|
|
21
|
+
"@vitessce/styles": "4.0.9",
|
|
22
|
+
"@vitessce/vit-s": "4.0.9"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@testing-library/jest-dom": "^6.6.3",
|