@vitessce/constants-internal 3.3.11 → 3.4.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.
- package/dist/index.js +23 -4
- package/dist-tsc/constant-relationships.d.ts.map +1 -1
- package/dist-tsc/constant-relationships.js +1 -0
- package/dist-tsc/constants.d.ts +2 -0
- package/dist-tsc/constants.d.ts.map +1 -1
- package/dist-tsc/constants.js +3 -0
- package/dist-tsc/coordination.d.ts.map +1 -1
- package/dist-tsc/coordination.js +15 -0
- package/dist-tsc/version.json +3 -3
- package/package.json +1 -1
- package/src/constant-relationships.ts +1 -0
- package/src/constants.ts +3 -0
- package/src/coordination.ts +15 -0
- package/src/version.json +3 -3
package/dist/index.js
CHANGED
|
@@ -13,7 +13,8 @@ const ViewType = {
|
|
|
13
13
|
OBS_SETS: "obsSets",
|
|
14
14
|
OBS_SET_SIZES: "obsSetSizes",
|
|
15
15
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
16
|
-
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
|
|
16
|
+
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
17
|
+
FEATURE_BAR_PLOT: "featureBarPlot"
|
|
17
18
|
};
|
|
18
19
|
const DataType = {
|
|
19
20
|
OBS_LABELS: "obsLabels",
|
|
@@ -101,6 +102,8 @@ const FileType = {
|
|
|
101
102
|
// OME-TIFF
|
|
102
103
|
IMAGE_OME_TIFF: "image.ome-tiff",
|
|
103
104
|
OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
|
|
105
|
+
// GLB
|
|
106
|
+
OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
|
|
104
107
|
// New file types to support old file types:
|
|
105
108
|
// - cells.json
|
|
106
109
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -291,6 +294,7 @@ const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
291
294
|
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
292
295
|
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
293
296
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
297
|
+
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
294
298
|
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
295
299
|
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
296
300
|
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
@@ -781,13 +785,28 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
781
785
|
CoordinationType.FEATURE_FILTER,
|
|
782
786
|
CoordinationType.FEATURE_HIGHLIGHT,
|
|
783
787
|
CoordinationType.FEATURE_SELECTION
|
|
788
|
+
],
|
|
789
|
+
[ViewType.FEATURE_BAR_PLOT]: [
|
|
790
|
+
CoordinationType.DATASET,
|
|
791
|
+
CoordinationType.OBS_TYPE,
|
|
792
|
+
CoordinationType.FEATURE_TYPE,
|
|
793
|
+
CoordinationType.FEATURE_VALUE_TYPE,
|
|
794
|
+
CoordinationType.FEATURE_SELECTION,
|
|
795
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
796
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
797
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
798
|
+
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
799
|
+
CoordinationType.OBS_HIGHLIGHT,
|
|
800
|
+
CoordinationType.OBS_SET_COLOR,
|
|
801
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
802
|
+
CoordinationType.ADDITIONAL_OBS_SETS
|
|
784
803
|
]
|
|
785
804
|
};
|
|
786
805
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
787
|
-
const version = "3.
|
|
788
|
-
const date = "2024-
|
|
806
|
+
const version = "3.4.0";
|
|
807
|
+
const date = "2024-05-06";
|
|
789
808
|
const branch = "changeset-release/main";
|
|
790
|
-
const hash = "
|
|
809
|
+
const hash = "e540a905";
|
|
791
810
|
const version$1 = {
|
|
792
811
|
note,
|
|
793
812
|
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;;CA+DvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;CA6C9C,CAAC;AAKF,eAAO,MAAM,oBAAoB;;;;CAkChC,CAAC"}
|
|
@@ -41,6 +41,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
41
41
|
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
42
42
|
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
43
43
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
44
|
+
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
44
45
|
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
45
46
|
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
46
47
|
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
package/dist-tsc/constants.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare const ViewType: {
|
|
|
19
19
|
OBS_SET_SIZES: string;
|
|
20
20
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: string;
|
|
21
21
|
FEATURE_VALUE_HISTOGRAM: string;
|
|
22
|
+
FEATURE_BAR_PLOT: string;
|
|
22
23
|
};
|
|
23
24
|
export declare const DataType: {
|
|
24
25
|
OBS_LABELS: string;
|
|
@@ -95,6 +96,7 @@ export declare const FileType: {
|
|
|
95
96
|
NEIGHBORHOODS_JSON: string;
|
|
96
97
|
IMAGE_OME_TIFF: string;
|
|
97
98
|
OBS_SEGMENTATIONS_OME_TIFF: string;
|
|
99
|
+
OBS_SEGMENTATIONS_GLB: string;
|
|
98
100
|
OBS_EMBEDDING_CELLS_JSON: string;
|
|
99
101
|
OBS_SEGMENTATIONS_CELLS_JSON: string;
|
|
100
102
|
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
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;CAiBpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAepB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6G5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
package/dist-tsc/constants.js
CHANGED
|
@@ -19,6 +19,7 @@ export const ViewType = {
|
|
|
19
19
|
OBS_SET_SIZES: 'obsSetSizes',
|
|
20
20
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: 'obsSetFeatureValueDistribution',
|
|
21
21
|
FEATURE_VALUE_HISTOGRAM: 'featureValueHistogram',
|
|
22
|
+
FEATURE_BAR_PLOT: 'featureBarPlot',
|
|
22
23
|
};
|
|
23
24
|
export const DataType = {
|
|
24
25
|
OBS_LABELS: 'obsLabels',
|
|
@@ -106,6 +107,8 @@ export const FileType = {
|
|
|
106
107
|
// OME-TIFF
|
|
107
108
|
IMAGE_OME_TIFF: 'image.ome-tiff',
|
|
108
109
|
OBS_SEGMENTATIONS_OME_TIFF: 'obsSegmentations.ome-tiff',
|
|
110
|
+
// GLB
|
|
111
|
+
OBS_SEGMENTATIONS_GLB: 'obsSegmentations.glb',
|
|
109
112
|
// New file types to support old file types:
|
|
110
113
|
// - cells.json
|
|
111
114
|
OBS_EMBEDDING_CELLS_JSON: 'obsEmbedding.cells.json',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/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,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;CAkYxC,CAAC"}
|
package/dist-tsc/coordination.js
CHANGED
|
@@ -400,4 +400,19 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
400
400
|
CoordinationType.FEATURE_HIGHLIGHT,
|
|
401
401
|
CoordinationType.FEATURE_SELECTION,
|
|
402
402
|
],
|
|
403
|
+
[ViewType.FEATURE_BAR_PLOT]: [
|
|
404
|
+
CoordinationType.DATASET,
|
|
405
|
+
CoordinationType.OBS_TYPE,
|
|
406
|
+
CoordinationType.FEATURE_TYPE,
|
|
407
|
+
CoordinationType.FEATURE_VALUE_TYPE,
|
|
408
|
+
CoordinationType.FEATURE_SELECTION,
|
|
409
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
410
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
411
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
412
|
+
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
413
|
+
CoordinationType.OBS_HIGHLIGHT,
|
|
414
|
+
CoordinationType.OBS_SET_COLOR,
|
|
415
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
416
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
417
|
+
],
|
|
403
418
|
};
|
package/dist-tsc/version.json
CHANGED
package/package.json
CHANGED
|
@@ -42,6 +42,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
42
42
|
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
43
43
|
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
44
44
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
45
|
+
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
45
46
|
|
|
46
47
|
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
47
48
|
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
package/src/constants.ts
CHANGED
|
@@ -19,6 +19,7 @@ export const ViewType = {
|
|
|
19
19
|
OBS_SET_SIZES: 'obsSetSizes',
|
|
20
20
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: 'obsSetFeatureValueDistribution',
|
|
21
21
|
FEATURE_VALUE_HISTOGRAM: 'featureValueHistogram',
|
|
22
|
+
FEATURE_BAR_PLOT: 'featureBarPlot',
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
export const DataType = {
|
|
@@ -109,6 +110,8 @@ export const FileType = {
|
|
|
109
110
|
// OME-TIFF
|
|
110
111
|
IMAGE_OME_TIFF: 'image.ome-tiff',
|
|
111
112
|
OBS_SEGMENTATIONS_OME_TIFF: 'obsSegmentations.ome-tiff',
|
|
113
|
+
// GLB
|
|
114
|
+
OBS_SEGMENTATIONS_GLB: 'obsSegmentations.glb',
|
|
112
115
|
// New file types to support old file types:
|
|
113
116
|
// - cells.json
|
|
114
117
|
OBS_EMBEDDING_CELLS_JSON: 'obsEmbedding.cells.json',
|
package/src/coordination.ts
CHANGED
|
@@ -402,4 +402,19 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
402
402
|
CoordinationType.FEATURE_HIGHLIGHT,
|
|
403
403
|
CoordinationType.FEATURE_SELECTION,
|
|
404
404
|
],
|
|
405
|
+
[ViewType.FEATURE_BAR_PLOT]: [
|
|
406
|
+
CoordinationType.DATASET,
|
|
407
|
+
CoordinationType.OBS_TYPE,
|
|
408
|
+
CoordinationType.FEATURE_TYPE,
|
|
409
|
+
CoordinationType.FEATURE_VALUE_TYPE,
|
|
410
|
+
CoordinationType.FEATURE_SELECTION,
|
|
411
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
412
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
413
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
414
|
+
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
415
|
+
CoordinationType.OBS_HIGHLIGHT,
|
|
416
|
+
CoordinationType.OBS_SET_COLOR,
|
|
417
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
418
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
419
|
+
],
|
|
405
420
|
};
|
package/src/version.json
CHANGED