@vitessce/constants 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
CHANGED
|
@@ -28,7 +28,9 @@ const ViewType$2 = {
|
|
|
28
28
|
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
29
29
|
TREEMAP: "treemap",
|
|
30
30
|
SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
|
|
31
|
-
FEATURE_STATS_TABLE: "featureStatsTable"
|
|
31
|
+
FEATURE_STATS_TABLE: "featureStatsTable",
|
|
32
|
+
SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
|
|
33
|
+
ANNOTATION_CONTROLLER: "annotationController"
|
|
32
34
|
};
|
|
33
35
|
const DataType$2 = {
|
|
34
36
|
OBS_LABELS: "obsLabels",
|
|
@@ -49,7 +51,8 @@ const DataType$2 = {
|
|
|
49
51
|
COMPARISON_METADATA: "comparisonMetadata",
|
|
50
52
|
FEATURE_STATS: "featureStats",
|
|
51
53
|
FEATURE_SET_STATS: "featureSetStats",
|
|
52
|
-
OBS_SET_STATS: "obsSetStats"
|
|
54
|
+
OBS_SET_STATS: "obsSetStats",
|
|
55
|
+
ANNOTATION_STORY: "annotationStory"
|
|
53
56
|
};
|
|
54
57
|
const FileType$2 = {
|
|
55
58
|
// Joint file types
|
|
@@ -71,6 +74,7 @@ const FileType$2 = {
|
|
|
71
74
|
OBS_SETS_CSV: "obsSets.csv",
|
|
72
75
|
OBS_SETS_JSON: "obsSets.json",
|
|
73
76
|
SAMPLE_SETS_CSV: "sampleSets.csv",
|
|
77
|
+
ANNOTATION_STORY_JSON: "annotationStory.json",
|
|
74
78
|
// OME-Zarr
|
|
75
79
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
76
80
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
@@ -355,7 +359,15 @@ const CoordinationType$2 = {
|
|
|
355
359
|
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
|
|
356
360
|
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
|
|
357
361
|
// Treemap
|
|
358
|
-
HIERARCHY_LEVELS: "hierarchyLevels"
|
|
362
|
+
HIERARCHY_LEVELS: "hierarchyLevels",
|
|
363
|
+
// Annotation frames
|
|
364
|
+
ANNOTATION_STORY: "annotationStory",
|
|
365
|
+
ANNOTATION_FRAME_INDEX: "annotationFrameIndex",
|
|
366
|
+
ANNOTATION_SHAPES: "annotationShapes",
|
|
367
|
+
ANNOTATION_OVERLAY_VISIBLE: "annotationOverlayVisible",
|
|
368
|
+
ANNOTATION_TRANSITION_DURATION: "annotationTransitionDuration",
|
|
369
|
+
ANNOTATION_SEMANTIC_ZOOM: "annotationSemanticZoom",
|
|
370
|
+
ANNOTATION_EDITABLE: "annotationEditable"
|
|
359
371
|
};
|
|
360
372
|
({
|
|
361
373
|
// For new file types
|
|
@@ -371,6 +383,7 @@ const CoordinationType$2 = {
|
|
|
371
383
|
[FileType$2.OBS_SEGMENTATIONS_JSON]: DataType$2.OBS_SEGMENTATIONS,
|
|
372
384
|
[FileType$2.OBS_SETS_CSV]: DataType$2.OBS_SETS,
|
|
373
385
|
[FileType$2.OBS_SETS_JSON]: DataType$2.OBS_SETS,
|
|
386
|
+
[FileType$2.ANNOTATION_STORY_JSON]: DataType$2.ANNOTATION_STORY,
|
|
374
387
|
[FileType$2.IMAGE_OME_ZARR]: DataType$2.IMAGE,
|
|
375
388
|
[FileType$2.OBS_SEGMENTATIONS_OME_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
376
389
|
[FileType$2.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
|
|
@@ -493,7 +506,8 @@ const CoordinationType$2 = {
|
|
|
493
506
|
[DataType$2.OBS_SET_STATS]: [
|
|
494
507
|
CoordinationType$2.OBS_TYPE
|
|
495
508
|
// TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
|
|
496
|
-
]
|
|
509
|
+
],
|
|
510
|
+
[DataType$2.ANNOTATION_STORY]: []
|
|
497
511
|
});
|
|
498
512
|
({
|
|
499
513
|
// For AnnData:
|
|
@@ -626,7 +640,9 @@ const CoordinationType$2 = {
|
|
|
626
640
|
CoordinationType$2.SPATIAL_TARGET_Z,
|
|
627
641
|
CoordinationType$2.SPATIAL_AXIS_FIXED,
|
|
628
642
|
CoordinationType$2.SPATIAL_ORBIT_AXIS,
|
|
629
|
-
CoordinationType$2.FEATURE_AGGREGATION_STRATEGY
|
|
643
|
+
CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
|
|
644
|
+
// Annotation shapes are specific to a view's coordinate system.
|
|
645
|
+
CoordinationType$2.ANNOTATION_SHAPES
|
|
630
646
|
];
|
|
631
647
|
({
|
|
632
648
|
[ViewType$2.NEUROGLANCER]: [
|
|
@@ -718,7 +734,14 @@ const CoordinationType$2 = {
|
|
|
718
734
|
CoordinationType$2.EMBEDDING_CONTOURS_FILLED,
|
|
719
735
|
CoordinationType$2.EMBEDDING_CONTOUR_PERCENTILES,
|
|
720
736
|
CoordinationType$2.CONTOUR_COLOR_ENCODING,
|
|
721
|
-
CoordinationType$2.CONTOUR_COLOR
|
|
737
|
+
CoordinationType$2.CONTOUR_COLOR,
|
|
738
|
+
CoordinationType$2.ANNOTATION_STORY,
|
|
739
|
+
CoordinationType$2.ANNOTATION_SHAPES,
|
|
740
|
+
CoordinationType$2.ANNOTATION_FRAME_INDEX,
|
|
741
|
+
CoordinationType$2.ANNOTATION_OVERLAY_VISIBLE,
|
|
742
|
+
CoordinationType$2.ANNOTATION_TRANSITION_DURATION,
|
|
743
|
+
CoordinationType$2.ANNOTATION_EDITABLE,
|
|
744
|
+
CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM
|
|
722
745
|
],
|
|
723
746
|
[ViewType$2.DUAL_SCATTERPLOT]: [
|
|
724
747
|
CoordinationType$2.DATASET,
|
|
@@ -834,7 +857,14 @@ const CoordinationType$2 = {
|
|
|
834
857
|
CoordinationType$2.ADDITIONAL_OBS_SETS,
|
|
835
858
|
CoordinationType$2.MOLECULE_HIGHLIGHT,
|
|
836
859
|
CoordinationType$2.TOOLTIPS_VISIBLE,
|
|
837
|
-
CoordinationType$2.PHOTOMETRIC_INTERPRETATION
|
|
860
|
+
CoordinationType$2.PHOTOMETRIC_INTERPRETATION,
|
|
861
|
+
CoordinationType$2.ANNOTATION_STORY,
|
|
862
|
+
CoordinationType$2.ANNOTATION_SHAPES,
|
|
863
|
+
CoordinationType$2.ANNOTATION_FRAME_INDEX,
|
|
864
|
+
CoordinationType$2.ANNOTATION_OVERLAY_VISIBLE,
|
|
865
|
+
CoordinationType$2.ANNOTATION_TRANSITION_DURATION,
|
|
866
|
+
CoordinationType$2.ANNOTATION_EDITABLE,
|
|
867
|
+
CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM
|
|
838
868
|
],
|
|
839
869
|
[ViewType$2.SPATIAL_BETA]: [
|
|
840
870
|
CoordinationType$2.META_COORDINATION_SCOPES,
|
|
@@ -912,7 +942,27 @@ const CoordinationType$2 = {
|
|
|
912
942
|
CoordinationType$2.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
913
943
|
CoordinationType$2.SPATIAL_CHANNEL_LABEL_SIZE,
|
|
914
944
|
CoordinationType$2.SPATIAL_CHANNELS_SORT_ORDER,
|
|
915
|
-
CoordinationType$2.PHOTOMETRIC_INTERPRETATION
|
|
945
|
+
CoordinationType$2.PHOTOMETRIC_INTERPRETATION,
|
|
946
|
+
CoordinationType$2.ANNOTATION_STORY,
|
|
947
|
+
CoordinationType$2.ANNOTATION_SHAPES,
|
|
948
|
+
CoordinationType$2.ANNOTATION_FRAME_INDEX,
|
|
949
|
+
CoordinationType$2.ANNOTATION_OVERLAY_VISIBLE,
|
|
950
|
+
CoordinationType$2.ANNOTATION_TRANSITION_DURATION,
|
|
951
|
+
CoordinationType$2.ANNOTATION_EDITABLE,
|
|
952
|
+
CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM
|
|
953
|
+
],
|
|
954
|
+
[ViewType$2.ANNOTATION_CONTROLLER]: [
|
|
955
|
+
CoordinationType$2.DATASET,
|
|
956
|
+
CoordinationType$2.ANNOTATION_STORY,
|
|
957
|
+
CoordinationType$2.ANNOTATION_FRAME_INDEX,
|
|
958
|
+
CoordinationType$2.ANNOTATION_OVERLAY_VISIBLE,
|
|
959
|
+
CoordinationType$2.ANNOTATION_TRANSITION_DURATION,
|
|
960
|
+
CoordinationType$2.ANNOTATION_EDITABLE,
|
|
961
|
+
CoordinationType$2.ANNOTATION_SEMANTIC_ZOOM
|
|
962
|
+
// Note: the annotation controller also needs to read the coordination state
|
|
963
|
+
// of all other views/coordination types via the full config.
|
|
964
|
+
// Note: we get/set the CoordinationType.ANNOTATION_SHAPES from the full config,
|
|
965
|
+
// as this info is view-specific rather than global to the story.
|
|
916
966
|
],
|
|
917
967
|
[ViewType$2.HEATMAP]: [
|
|
918
968
|
CoordinationType$2.DATASET,
|
|
@@ -1222,6 +1272,11 @@ const CoordinationType$2 = {
|
|
|
1222
1272
|
CoordinationType$2.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
1223
1273
|
CoordinationType$2.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
1224
1274
|
],
|
|
1275
|
+
[ViewType$2.SINGLE_OBS_SET_SELECTOR]: [
|
|
1276
|
+
CoordinationType$2.OBS_TYPE,
|
|
1277
|
+
CoordinationType$2.OBS_SET_COLOR,
|
|
1278
|
+
CoordinationType$2.OBS_SET_SELECTION
|
|
1279
|
+
],
|
|
1225
1280
|
[ViewType$2.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
1226
1281
|
CoordinationType$2.DATASET,
|
|
1227
1282
|
CoordinationType$2.OBS_TYPE,
|
|
@@ -28,6 +28,8 @@ export const ViewType: {
|
|
|
28
28
|
TREEMAP: string;
|
|
29
29
|
SAMPLE_SET_PAIR_MANAGER: string;
|
|
30
30
|
FEATURE_STATS_TABLE: string;
|
|
31
|
+
SINGLE_OBS_SET_SELECTOR: string;
|
|
32
|
+
ANNOTATION_CONTROLLER: string;
|
|
31
33
|
};
|
|
32
34
|
export const DataType: {
|
|
33
35
|
OBS_LABELS: string;
|
|
@@ -49,6 +51,7 @@ export const DataType: {
|
|
|
49
51
|
FEATURE_STATS: string;
|
|
50
52
|
FEATURE_SET_STATS: string;
|
|
51
53
|
OBS_SET_STATS: string;
|
|
54
|
+
ANNOTATION_STORY: string;
|
|
52
55
|
};
|
|
53
56
|
export const FileType: {
|
|
54
57
|
ANNDATA_ZARR: string;
|
|
@@ -68,6 +71,7 @@ export const FileType: {
|
|
|
68
71
|
OBS_SETS_CSV: string;
|
|
69
72
|
OBS_SETS_JSON: string;
|
|
70
73
|
SAMPLE_SETS_CSV: string;
|
|
74
|
+
ANNOTATION_STORY_JSON: string;
|
|
71
75
|
IMAGE_OME_ZARR: string;
|
|
72
76
|
OBS_SEGMENTATIONS_OME_ZARR: string;
|
|
73
77
|
IMAGE_OME_ZARR_ZIP: string;
|
|
@@ -316,5 +320,12 @@ export const CoordinationType: {
|
|
|
316
320
|
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: string;
|
|
317
321
|
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: string;
|
|
318
322
|
HIERARCHY_LEVELS: string;
|
|
323
|
+
ANNOTATION_STORY: string;
|
|
324
|
+
ANNOTATION_FRAME_INDEX: string;
|
|
325
|
+
ANNOTATION_SHAPES: string;
|
|
326
|
+
ANNOTATION_OVERLAY_VISIBLE: string;
|
|
327
|
+
ANNOTATION_TRANSITION_DURATION: string;
|
|
328
|
+
ANNOTATION_SEMANTIC_ZOOM: string;
|
|
329
|
+
ANNOTATION_EDITABLE: string;
|
|
319
330
|
};
|
|
320
331
|
//# sourceMappingURL=constants-merged.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-merged.d.ts","sourceRoot":"","sources":["../src/constants-merged.js"],"names":[],"mappings":"AA8CA
|
|
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.0.
|
|
3
|
+
"version": "4.0.9",
|
|
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/
|
|
20
|
-
"@vitessce/
|
|
19
|
+
"@vitessce/constants-internal": "4.0.9",
|
|
20
|
+
"@vitessce/globals": "4.0.9"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@vitessce/types": "4.0.
|
|
23
|
+
"@vitessce/types": "4.0.9"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"bundle": "pnpm exec vite build -c ../../scripts/vite.config.mjs"
|