@vitessce/constants-internal 3.9.5 → 3.9.6
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 +28 -5
- package/dist-tsc/constant-relationships.d.ts.map +1 -1
- package/dist-tsc/constant-relationships.js +1 -0
- package/dist-tsc/constants.d.ts +1 -0
- package/dist-tsc/constants.d.ts.map +1 -1
- package/dist-tsc/constants.js +2 -1
- package/dist-tsc/coordination.d.ts.map +1 -1
- package/dist-tsc/coordination.js +21 -0
- package/dist-tsc/version.json +3 -3
- package/package.json +1 -1
- package/src/constant-relationships.ts +1 -0
- package/src/constants.ts +2 -1
- package/src/coordination.ts +21 -1
- package/src/version.json +3 -3
package/dist/index.js
CHANGED
|
@@ -188,6 +188,7 @@ const FileType = {
|
|
|
188
188
|
// Neuroglancer
|
|
189
189
|
// Precomputed (mesh) format
|
|
190
190
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
191
|
+
OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
|
|
191
192
|
// New file types to support old file types:
|
|
192
193
|
// - cells.json
|
|
193
194
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -397,7 +398,7 @@ const ViewHelpMapping = {
|
|
|
397
398
|
FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
|
|
398
399
|
DOT_PLOT: "The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).",
|
|
399
400
|
FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.",
|
|
400
|
-
NEUROGLANCER: "
|
|
401
|
+
NEUROGLANCER: "This view displays 3D meshes and points using Neuroglancer developed by Google.",
|
|
401
402
|
TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
|
|
402
403
|
VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
|
|
403
404
|
OBS_SET_COMPOSITION_BAR_PLOT: "The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).",
|
|
@@ -449,6 +450,7 @@ const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
449
450
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
450
451
|
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
451
452
|
[FileType.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType.OBS_SEGMENTATIONS,
|
|
453
|
+
[FileType.OBS_POINTS_NG_ANNOTATIONS]: DataType.OBS_POINTS,
|
|
452
454
|
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
453
455
|
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
454
456
|
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
@@ -668,6 +670,8 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
|
668
670
|
];
|
|
669
671
|
const COMPONENT_COORDINATION_TYPES = {
|
|
670
672
|
[ViewType.NEUROGLANCER]: [
|
|
673
|
+
CoordinationType.META_COORDINATION_SCOPES,
|
|
674
|
+
CoordinationType.META_COORDINATION_SCOPES_BY,
|
|
671
675
|
CoordinationType.DATASET,
|
|
672
676
|
CoordinationType.SPATIAL_TARGET_X,
|
|
673
677
|
CoordinationType.SPATIAL_TARGET_Y,
|
|
@@ -689,7 +693,26 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
689
693
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
690
694
|
CoordinationType.EMBEDDING_TYPE,
|
|
691
695
|
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
692
|
-
CoordinationType.TOOLTIPS_VISIBLE
|
|
696
|
+
CoordinationType.TOOLTIPS_VISIBLE,
|
|
697
|
+
CoordinationType.FILE_UID,
|
|
698
|
+
CoordinationType.IMAGE_LAYER,
|
|
699
|
+
CoordinationType.SEGMENTATION_LAYER,
|
|
700
|
+
CoordinationType.IMAGE_CHANNEL,
|
|
701
|
+
CoordinationType.SEGMENTATION_CHANNEL,
|
|
702
|
+
CoordinationType.POINT_LAYER,
|
|
703
|
+
CoordinationType.FEATURE_COLOR,
|
|
704
|
+
CoordinationType.FEATURE_FILTER_MODE,
|
|
705
|
+
CoordinationType.FEATURE_HIGHLIGHT,
|
|
706
|
+
CoordinationType.FEATURE_SELECTION,
|
|
707
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
708
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
709
|
+
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
710
|
+
CoordinationType.SPATIAL_LAYER_OPACITY,
|
|
711
|
+
CoordinationType.SPATIAL_LAYER_VISIBLE,
|
|
712
|
+
CoordinationType.SPATIAL_CHANNEL_COLOR,
|
|
713
|
+
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
714
|
+
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
715
|
+
CoordinationType.LEGEND_VISIBLE
|
|
693
716
|
],
|
|
694
717
|
[ViewType.SCATTERPLOT]: [
|
|
695
718
|
CoordinationType.DATASET,
|
|
@@ -1328,10 +1351,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1328
1351
|
]
|
|
1329
1352
|
};
|
|
1330
1353
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
1331
|
-
const version = "3.9.
|
|
1332
|
-
const date = "2026-
|
|
1354
|
+
const version = "3.9.6";
|
|
1355
|
+
const date = "2026-03-26";
|
|
1333
1356
|
const branch = "changeset-release/main";
|
|
1334
|
-
const hash = "
|
|
1357
|
+
const hash = "36296438";
|
|
1335
1358
|
const version$1 = {
|
|
1336
1359
|
note,
|
|
1337
1360
|
version,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constant-relationships.d.ts","sourceRoot":"","sources":["../src/constant-relationships.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;
|
|
1
|
+
{"version":3,"file":"constant-relationships.d.ts","sourceRoot":"","sources":["../src/constant-relationships.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;CAwEvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;CA6D9C,CAAC;AAKF,eAAO,MAAM,oBAAoB;;;;;;;;CAuGhC,CAAC"}
|
|
@@ -48,6 +48,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
48
48
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
49
49
|
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
50
50
|
[FileType.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType.OBS_SEGMENTATIONS,
|
|
51
|
+
[FileType.OBS_POINTS_NG_ANNOTATIONS]: DataType.OBS_POINTS,
|
|
51
52
|
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
52
53
|
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
53
54
|
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
package/dist-tsc/constants.d.ts
CHANGED
|
@@ -167,6 +167,7 @@ export declare const FileType: {
|
|
|
167
167
|
OBS_SEGMENTATIONS_OME_TIFF: string;
|
|
168
168
|
OBS_SEGMENTATIONS_GLB: string;
|
|
169
169
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: string;
|
|
170
|
+
OBS_POINTS_NG_ANNOTATIONS: string;
|
|
170
171
|
OBS_EMBEDDING_CELLS_JSON: string;
|
|
171
172
|
OBS_SEGMENTATIONS_CELLS_JSON: string;
|
|
172
173
|
OBS_LOCATIONS_CELLS_JSON: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+I5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAuB3B,CAAC"}
|
package/dist-tsc/constants.js
CHANGED
|
@@ -184,6 +184,7 @@ export const FileType = {
|
|
|
184
184
|
// Neuroglancer
|
|
185
185
|
// Precomputed (mesh) format
|
|
186
186
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: 'obsSegmentations.ng-precomputed',
|
|
187
|
+
OBS_POINTS_NG_ANNOTATIONS: 'obsPoints.ng-annotations',
|
|
187
188
|
// New file types to support old file types:
|
|
188
189
|
// - cells.json
|
|
189
190
|
OBS_EMBEDDING_CELLS_JSON: 'obsEmbedding.cells.json',
|
|
@@ -394,7 +395,7 @@ export const ViewHelpMapping = {
|
|
|
394
395
|
FEATURE_VALUE_HISTOGRAM: 'The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).',
|
|
395
396
|
DOT_PLOT: 'The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).',
|
|
396
397
|
FEATURE_BAR_PLOT: 'The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.',
|
|
397
|
-
NEUROGLANCER: '
|
|
398
|
+
NEUROGLANCER: 'This view displays 3D meshes and points using Neuroglancer developed by Google.',
|
|
398
399
|
TREEMAP: 'The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.',
|
|
399
400
|
VOLCANO_PLOT: 'The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).',
|
|
400
401
|
OBS_SET_COMPOSITION_BAR_PLOT: 'The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UA0B/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;
|
|
1
|
+
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UA0B/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;CAyqBxC,CAAC"}
|
package/dist-tsc/coordination.js
CHANGED
|
@@ -43,6 +43,8 @@ export const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
|
43
43
|
*/
|
|
44
44
|
export const COMPONENT_COORDINATION_TYPES = {
|
|
45
45
|
[ViewType.NEUROGLANCER]: [
|
|
46
|
+
CoordinationType.META_COORDINATION_SCOPES,
|
|
47
|
+
CoordinationType.META_COORDINATION_SCOPES_BY,
|
|
46
48
|
CoordinationType.DATASET,
|
|
47
49
|
CoordinationType.SPATIAL_TARGET_X,
|
|
48
50
|
CoordinationType.SPATIAL_TARGET_Y,
|
|
@@ -65,6 +67,25 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
65
67
|
CoordinationType.EMBEDDING_TYPE,
|
|
66
68
|
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
67
69
|
CoordinationType.TOOLTIPS_VISIBLE,
|
|
70
|
+
CoordinationType.FILE_UID,
|
|
71
|
+
CoordinationType.IMAGE_LAYER,
|
|
72
|
+
CoordinationType.SEGMENTATION_LAYER,
|
|
73
|
+
CoordinationType.IMAGE_CHANNEL,
|
|
74
|
+
CoordinationType.SEGMENTATION_CHANNEL,
|
|
75
|
+
CoordinationType.POINT_LAYER,
|
|
76
|
+
CoordinationType.FEATURE_COLOR,
|
|
77
|
+
CoordinationType.FEATURE_FILTER_MODE,
|
|
78
|
+
CoordinationType.FEATURE_HIGHLIGHT,
|
|
79
|
+
CoordinationType.FEATURE_SELECTION,
|
|
80
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
81
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
82
|
+
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
83
|
+
CoordinationType.SPATIAL_LAYER_OPACITY,
|
|
84
|
+
CoordinationType.SPATIAL_LAYER_VISIBLE,
|
|
85
|
+
CoordinationType.SPATIAL_CHANNEL_COLOR,
|
|
86
|
+
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
87
|
+
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
88
|
+
CoordinationType.LEGEND_VISIBLE,
|
|
68
89
|
],
|
|
69
90
|
[ViewType.SCATTERPLOT]: [
|
|
70
91
|
CoordinationType.DATASET,
|
package/dist-tsc/version.json
CHANGED
package/package.json
CHANGED
|
@@ -49,6 +49,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
49
49
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
50
50
|
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
51
51
|
[FileType.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType.OBS_SEGMENTATIONS,
|
|
52
|
+
[FileType.OBS_POINTS_NG_ANNOTATIONS]: DataType.OBS_POINTS,
|
|
52
53
|
|
|
53
54
|
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
54
55
|
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
package/src/constants.ts
CHANGED
|
@@ -196,6 +196,7 @@ export const FileType = {
|
|
|
196
196
|
// Neuroglancer
|
|
197
197
|
// Precomputed (mesh) format
|
|
198
198
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: 'obsSegmentations.ng-precomputed',
|
|
199
|
+
OBS_POINTS_NG_ANNOTATIONS: 'obsPoints.ng-annotations',
|
|
199
200
|
// New file types to support old file types:
|
|
200
201
|
// - cells.json
|
|
201
202
|
OBS_EMBEDDING_CELLS_JSON: 'obsEmbedding.cells.json',
|
|
@@ -410,7 +411,7 @@ export const ViewHelpMapping = {
|
|
|
410
411
|
FEATURE_VALUE_HISTOGRAM: 'The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).',
|
|
411
412
|
DOT_PLOT: 'The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).',
|
|
412
413
|
FEATURE_BAR_PLOT: 'The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.',
|
|
413
|
-
NEUROGLANCER: '
|
|
414
|
+
NEUROGLANCER: 'This view displays 3D meshes and points using Neuroglancer developed by Google.',
|
|
414
415
|
TREEMAP: 'The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.',
|
|
415
416
|
VOLCANO_PLOT: 'The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).',
|
|
416
417
|
OBS_SET_COMPOSITION_BAR_PLOT: 'The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).',
|
package/src/coordination.ts
CHANGED
|
@@ -45,6 +45,8 @@ export const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
|
45
45
|
*/
|
|
46
46
|
export const COMPONENT_COORDINATION_TYPES = {
|
|
47
47
|
[ViewType.NEUROGLANCER]: [
|
|
48
|
+
CoordinationType.META_COORDINATION_SCOPES,
|
|
49
|
+
CoordinationType.META_COORDINATION_SCOPES_BY,
|
|
48
50
|
CoordinationType.DATASET,
|
|
49
51
|
CoordinationType.SPATIAL_TARGET_X,
|
|
50
52
|
CoordinationType.SPATIAL_TARGET_Y,
|
|
@@ -67,7 +69,25 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
67
69
|
CoordinationType.EMBEDDING_TYPE,
|
|
68
70
|
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
69
71
|
CoordinationType.TOOLTIPS_VISIBLE,
|
|
70
|
-
|
|
72
|
+
CoordinationType.FILE_UID,
|
|
73
|
+
CoordinationType.IMAGE_LAYER,
|
|
74
|
+
CoordinationType.SEGMENTATION_LAYER,
|
|
75
|
+
CoordinationType.IMAGE_CHANNEL,
|
|
76
|
+
CoordinationType.SEGMENTATION_CHANNEL,
|
|
77
|
+
CoordinationType.POINT_LAYER,
|
|
78
|
+
CoordinationType.FEATURE_COLOR,
|
|
79
|
+
CoordinationType.FEATURE_FILTER_MODE,
|
|
80
|
+
CoordinationType.FEATURE_HIGHLIGHT,
|
|
81
|
+
CoordinationType.FEATURE_SELECTION,
|
|
82
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
83
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
84
|
+
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
85
|
+
CoordinationType.SPATIAL_LAYER_OPACITY,
|
|
86
|
+
CoordinationType.SPATIAL_LAYER_VISIBLE,
|
|
87
|
+
CoordinationType.SPATIAL_CHANNEL_COLOR,
|
|
88
|
+
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
89
|
+
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
90
|
+
CoordinationType.LEGEND_VISIBLE,
|
|
71
91
|
],
|
|
72
92
|
[ViewType.SCATTERPLOT]: [
|
|
73
93
|
CoordinationType.DATASET,
|
package/src/version.json
CHANGED