@vitessce/constants 4.0.8 → 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
|
@@ -29,7 +29,8 @@ const ViewType$2 = {
|
|
|
29
29
|
TREEMAP: "treemap",
|
|
30
30
|
SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
|
|
31
31
|
FEATURE_STATS_TABLE: "featureStatsTable",
|
|
32
|
-
SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector"
|
|
32
|
+
SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector",
|
|
33
|
+
ANNOTATION_CONTROLLER: "annotationController"
|
|
33
34
|
};
|
|
34
35
|
const DataType$2 = {
|
|
35
36
|
OBS_LABELS: "obsLabels",
|
|
@@ -50,7 +51,8 @@ const DataType$2 = {
|
|
|
50
51
|
COMPARISON_METADATA: "comparisonMetadata",
|
|
51
52
|
FEATURE_STATS: "featureStats",
|
|
52
53
|
FEATURE_SET_STATS: "featureSetStats",
|
|
53
|
-
OBS_SET_STATS: "obsSetStats"
|
|
54
|
+
OBS_SET_STATS: "obsSetStats",
|
|
55
|
+
ANNOTATION_STORY: "annotationStory"
|
|
54
56
|
};
|
|
55
57
|
const FileType$2 = {
|
|
56
58
|
// Joint file types
|
|
@@ -72,6 +74,7 @@ const FileType$2 = {
|
|
|
72
74
|
OBS_SETS_CSV: "obsSets.csv",
|
|
73
75
|
OBS_SETS_JSON: "obsSets.json",
|
|
74
76
|
SAMPLE_SETS_CSV: "sampleSets.csv",
|
|
77
|
+
ANNOTATION_STORY_JSON: "annotationStory.json",
|
|
75
78
|
// OME-Zarr
|
|
76
79
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
77
80
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
@@ -356,7 +359,15 @@ const CoordinationType$2 = {
|
|
|
356
359
|
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
|
|
357
360
|
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
|
|
358
361
|
// Treemap
|
|
359
|
-
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"
|
|
360
371
|
};
|
|
361
372
|
({
|
|
362
373
|
// For new file types
|
|
@@ -372,6 +383,7 @@ const CoordinationType$2 = {
|
|
|
372
383
|
[FileType$2.OBS_SEGMENTATIONS_JSON]: DataType$2.OBS_SEGMENTATIONS,
|
|
373
384
|
[FileType$2.OBS_SETS_CSV]: DataType$2.OBS_SETS,
|
|
374
385
|
[FileType$2.OBS_SETS_JSON]: DataType$2.OBS_SETS,
|
|
386
|
+
[FileType$2.ANNOTATION_STORY_JSON]: DataType$2.ANNOTATION_STORY,
|
|
375
387
|
[FileType$2.IMAGE_OME_ZARR]: DataType$2.IMAGE,
|
|
376
388
|
[FileType$2.OBS_SEGMENTATIONS_OME_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
377
389
|
[FileType$2.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
|
|
@@ -494,7 +506,8 @@ const CoordinationType$2 = {
|
|
|
494
506
|
[DataType$2.OBS_SET_STATS]: [
|
|
495
507
|
CoordinationType$2.OBS_TYPE
|
|
496
508
|
// TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
|
|
497
|
-
]
|
|
509
|
+
],
|
|
510
|
+
[DataType$2.ANNOTATION_STORY]: []
|
|
498
511
|
});
|
|
499
512
|
({
|
|
500
513
|
// For AnnData:
|
|
@@ -627,7 +640,9 @@ const CoordinationType$2 = {
|
|
|
627
640
|
CoordinationType$2.SPATIAL_TARGET_Z,
|
|
628
641
|
CoordinationType$2.SPATIAL_AXIS_FIXED,
|
|
629
642
|
CoordinationType$2.SPATIAL_ORBIT_AXIS,
|
|
630
|
-
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
|
|
631
646
|
];
|
|
632
647
|
({
|
|
633
648
|
[ViewType$2.NEUROGLANCER]: [
|
|
@@ -719,7 +734,14 @@ const CoordinationType$2 = {
|
|
|
719
734
|
CoordinationType$2.EMBEDDING_CONTOURS_FILLED,
|
|
720
735
|
CoordinationType$2.EMBEDDING_CONTOUR_PERCENTILES,
|
|
721
736
|
CoordinationType$2.CONTOUR_COLOR_ENCODING,
|
|
722
|
-
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
|
|
723
745
|
],
|
|
724
746
|
[ViewType$2.DUAL_SCATTERPLOT]: [
|
|
725
747
|
CoordinationType$2.DATASET,
|
|
@@ -835,7 +857,14 @@ const CoordinationType$2 = {
|
|
|
835
857
|
CoordinationType$2.ADDITIONAL_OBS_SETS,
|
|
836
858
|
CoordinationType$2.MOLECULE_HIGHLIGHT,
|
|
837
859
|
CoordinationType$2.TOOLTIPS_VISIBLE,
|
|
838
|
-
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
|
|
839
868
|
],
|
|
840
869
|
[ViewType$2.SPATIAL_BETA]: [
|
|
841
870
|
CoordinationType$2.META_COORDINATION_SCOPES,
|
|
@@ -913,7 +942,27 @@ const CoordinationType$2 = {
|
|
|
913
942
|
CoordinationType$2.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
914
943
|
CoordinationType$2.SPATIAL_CHANNEL_LABEL_SIZE,
|
|
915
944
|
CoordinationType$2.SPATIAL_CHANNELS_SORT_ORDER,
|
|
916
|
-
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.
|
|
917
966
|
],
|
|
918
967
|
[ViewType$2.HEATMAP]: [
|
|
919
968
|
CoordinationType$2.DATASET,
|
|
@@ -29,6 +29,7 @@ export const ViewType: {
|
|
|
29
29
|
SAMPLE_SET_PAIR_MANAGER: string;
|
|
30
30
|
FEATURE_STATS_TABLE: string;
|
|
31
31
|
SINGLE_OBS_SET_SELECTOR: string;
|
|
32
|
+
ANNOTATION_CONTROLLER: string;
|
|
32
33
|
};
|
|
33
34
|
export const DataType: {
|
|
34
35
|
OBS_LABELS: string;
|
|
@@ -50,6 +51,7 @@ export const DataType: {
|
|
|
50
51
|
FEATURE_STATS: string;
|
|
51
52
|
FEATURE_SET_STATS: string;
|
|
52
53
|
OBS_SET_STATS: string;
|
|
54
|
+
ANNOTATION_STORY: string;
|
|
53
55
|
};
|
|
54
56
|
export const FileType: {
|
|
55
57
|
ANNDATA_ZARR: string;
|
|
@@ -69,6 +71,7 @@ export const FileType: {
|
|
|
69
71
|
OBS_SETS_CSV: string;
|
|
70
72
|
OBS_SETS_JSON: string;
|
|
71
73
|
SAMPLE_SETS_CSV: string;
|
|
74
|
+
ANNOTATION_STORY_JSON: string;
|
|
72
75
|
IMAGE_OME_ZARR: string;
|
|
73
76
|
OBS_SEGMENTATIONS_OME_ZARR: string;
|
|
74
77
|
IMAGE_OME_ZARR_ZIP: string;
|
|
@@ -317,5 +320,12 @@ export const CoordinationType: {
|
|
|
317
320
|
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: string;
|
|
318
321
|
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: string;
|
|
319
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;
|
|
320
330
|
};
|
|
321
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"
|