@vitessce/constants-internal 3.7.0 → 3.8.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 CHANGED
@@ -4,6 +4,7 @@ const ViewType = {
4
4
  SCATTERPLOT: "scatterplot",
5
5
  SPATIAL: "spatial",
6
6
  SPATIAL_BETA: "spatialBeta",
7
+ SPATIAL_ACCELERATED: "spatialAccelerated",
7
8
  HEATMAP: "heatmap",
8
9
  LAYER_CONTROLLER: "layerController",
9
10
  LAYER_CONTROLLER_BETA: "layerControllerBeta",
@@ -319,6 +320,8 @@ const CoordinationType = {
319
320
  // Could be per-image-layer
320
321
  SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
321
322
  // Per-spatial-layer
323
+ SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
324
+ // Per-image-channel (for spatial-accelerated)
322
325
  // For clipping plane sliders
323
326
  SPATIAL_SLICE_X: "spatialSliceX",
324
327
  SPATIAL_SLICE_Y: "spatialSliceY",
@@ -665,6 +668,7 @@ const COMPONENT_COORDINATION_TYPES = {
665
668
  CoordinationType.SPATIAL_ROTATION_Y,
666
669
  CoordinationType.SPATIAL_ROTATION_Z,
667
670
  CoordinationType.SPATIAL_AXIS_FIXED,
671
+ CoordinationType.SPATIAL_ROTATION_ORBIT,
668
672
  CoordinationType.SPATIAL_ORBIT_AXIS,
669
673
  CoordinationType.SPATIAL_ZOOM,
670
674
  CoordinationType.OBS_FILTER,
@@ -672,14 +676,11 @@ const COMPONENT_COORDINATION_TYPES = {
672
676
  CoordinationType.OBS_SET_SELECTION,
673
677
  CoordinationType.OBS_SET_FILTER,
674
678
  CoordinationType.OBS_SET_HIGHLIGHT,
675
- CoordinationType.OBS_SET_COLOR,
676
679
  CoordinationType.OBS_TYPE,
677
- CoordinationType.ADDITIONAL_OBS_SETS,
678
680
  CoordinationType.OBS_SET_COLOR,
679
681
  CoordinationType.OBS_COLOR_ENCODING,
680
- CoordinationType.OBS_SET_SELECTION,
681
682
  CoordinationType.EMBEDDING_TYPE,
682
- CoordinationType.OBS_COLOR_ENCODING,
683
+ CoordinationType.ADDITIONAL_OBS_SETS,
683
684
  CoordinationType.TOOLTIPS_VISIBLE
684
685
  ],
685
686
  [ViewType.SCATTERPLOT]: [
@@ -899,6 +900,7 @@ const COMPONENT_COORDINATION_TYPES = {
899
900
  CoordinationType.SPATIAL_RENDERING_MODE,
900
901
  CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
901
902
  CoordinationType.SPATIAL_TARGET_RESOLUTION,
903
+ CoordinationType.SPATIAL_MAX_RESOLUTION,
902
904
  CoordinationType.SPATIAL_SLICE_X,
903
905
  CoordinationType.SPATIAL_SLICE_Y,
904
906
  CoordinationType.SPATIAL_SLICE_Z,
@@ -1072,6 +1074,7 @@ const COMPONENT_COORDINATION_TYPES = {
1072
1074
  CoordinationType.SPATIAL_RENDERING_MODE,
1073
1075
  CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
1074
1076
  CoordinationType.SPATIAL_TARGET_RESOLUTION,
1077
+ CoordinationType.SPATIAL_MAX_RESOLUTION,
1075
1078
  CoordinationType.SPATIAL_SLICE_X,
1076
1079
  CoordinationType.SPATIAL_SLICE_Y,
1077
1080
  CoordinationType.SPATIAL_SLICE_Z,
@@ -1301,10 +1304,10 @@ const COMPONENT_COORDINATION_TYPES = {
1301
1304
  ]
1302
1305
  };
1303
1306
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
1304
- const version = "3.7.0";
1305
- const date = "2025-09-12";
1307
+ const version = "3.8.0";
1308
+ const date = "2025-09-17";
1306
1309
  const branch = "changeset-release/main";
1307
- const hash = "e541b61e";
1310
+ const hash = "571e67cb";
1308
1311
  const version$1 = {
1309
1312
  note,
1310
1313
  version,
@@ -9,6 +9,7 @@ export declare const ViewType: {
9
9
  SCATTERPLOT: string;
10
10
  SPATIAL: string;
11
11
  SPATIAL_BETA: string;
12
+ SPATIAL_ACCELERATED: string;
12
13
  HEATMAP: string;
13
14
  LAYER_CONTROLLER: string;
14
15
  LAYER_CONTROLLER_BETA: string;
@@ -289,6 +290,7 @@ export declare const CoordinationType: {
289
290
  SPATIAL_RENDERING_MODE: string;
290
291
  VOLUMETRIC_RENDERING_ALGORITHM: string;
291
292
  SPATIAL_TARGET_RESOLUTION: string;
293
+ SPATIAL_MAX_RESOLUTION: string;
292
294
  SPATIAL_SLICE_X: string;
293
295
  SPATIAL_SLICE_Y: string;
294
296
  SPATIAL_SLICE_Z: string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4I5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAuB3B,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6I5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAuB3B,CAAC"}
@@ -9,6 +9,7 @@ export const ViewType = {
9
9
  SCATTERPLOT: 'scatterplot',
10
10
  SPATIAL: 'spatial',
11
11
  SPATIAL_BETA: 'spatialBeta',
12
+ SPATIAL_ACCELERATED: 'spatialAccelerated',
12
13
  HEATMAP: 'heatmap',
13
14
  LAYER_CONTROLLER: 'layerController',
14
15
  LAYER_CONTROLLER_BETA: 'layerControllerBeta',
@@ -316,6 +317,7 @@ export const CoordinationType = {
316
317
  SPATIAL_RENDERING_MODE: 'spatialRenderingMode', // For whole spatial view
317
318
  VOLUMETRIC_RENDERING_ALGORITHM: 'volumetricRenderingAlgorithm', // Could be per-image-layer
318
319
  SPATIAL_TARGET_RESOLUTION: 'spatialTargetResolution', // Per-spatial-layer
320
+ SPATIAL_MAX_RESOLUTION: 'spatialMaxResolution', // Per-image-channel (for spatial-accelerated)
319
321
  // For clipping plane sliders
320
322
  SPATIAL_SLICE_X: 'spatialSliceX',
321
323
  SPATIAL_SLICE_Y: 'spatialSliceY',
@@ -51,6 +51,7 @@ export const COMPONENT_COORDINATION_TYPES = {
51
51
  CoordinationType.SPATIAL_ROTATION_Y,
52
52
  CoordinationType.SPATIAL_ROTATION_Z,
53
53
  CoordinationType.SPATIAL_AXIS_FIXED,
54
+ CoordinationType.SPATIAL_ROTATION_ORBIT,
54
55
  CoordinationType.SPATIAL_ORBIT_AXIS,
55
56
  CoordinationType.SPATIAL_ZOOM,
56
57
  CoordinationType.OBS_FILTER,
@@ -58,14 +59,11 @@ export const COMPONENT_COORDINATION_TYPES = {
58
59
  CoordinationType.OBS_SET_SELECTION,
59
60
  CoordinationType.OBS_SET_FILTER,
60
61
  CoordinationType.OBS_SET_HIGHLIGHT,
61
- CoordinationType.OBS_SET_COLOR,
62
62
  CoordinationType.OBS_TYPE,
63
- CoordinationType.ADDITIONAL_OBS_SETS,
64
63
  CoordinationType.OBS_SET_COLOR,
65
64
  CoordinationType.OBS_COLOR_ENCODING,
66
- CoordinationType.OBS_SET_SELECTION,
67
65
  CoordinationType.EMBEDDING_TYPE,
68
- CoordinationType.OBS_COLOR_ENCODING,
66
+ CoordinationType.ADDITIONAL_OBS_SETS,
69
67
  CoordinationType.TOOLTIPS_VISIBLE,
70
68
  ],
71
69
  [ViewType.SCATTERPLOT]: [
@@ -285,6 +283,7 @@ export const COMPONENT_COORDINATION_TYPES = {
285
283
  CoordinationType.SPATIAL_RENDERING_MODE,
286
284
  CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
287
285
  CoordinationType.SPATIAL_TARGET_RESOLUTION,
286
+ CoordinationType.SPATIAL_MAX_RESOLUTION,
288
287
  CoordinationType.SPATIAL_SLICE_X,
289
288
  CoordinationType.SPATIAL_SLICE_Y,
290
289
  CoordinationType.SPATIAL_SLICE_Z,
@@ -458,6 +457,7 @@ export const COMPONENT_COORDINATION_TYPES = {
458
457
  CoordinationType.SPATIAL_RENDERING_MODE,
459
458
  CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
460
459
  CoordinationType.SPATIAL_TARGET_RESOLUTION,
460
+ CoordinationType.SPATIAL_MAX_RESOLUTION,
461
461
  CoordinationType.SPATIAL_SLICE_X,
462
462
  CoordinationType.SPATIAL_SLICE_Y,
463
463
  CoordinationType.SPATIAL_SLICE_Z,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "note": "This file is autogenerated by .changeset/post-changelog.mjs.",
3
- "version": "3.7.0",
4
- "date": "2025-09-12",
3
+ "version": "3.8.0",
4
+ "date": "2025-09-17",
5
5
  "branch": "changeset-release/main",
6
- "hash": "e541b61e"
6
+ "hash": "571e67cb"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/constants-internal",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
package/src/constants.ts CHANGED
@@ -9,6 +9,7 @@ export const ViewType = {
9
9
  SCATTERPLOT: 'scatterplot',
10
10
  SPATIAL: 'spatial',
11
11
  SPATIAL_BETA: 'spatialBeta',
12
+ SPATIAL_ACCELERATED: 'spatialAccelerated',
12
13
  HEATMAP: 'heatmap',
13
14
  LAYER_CONTROLLER: 'layerController',
14
15
  LAYER_CONTROLLER_BETA: 'layerControllerBeta',
@@ -329,6 +330,7 @@ export const CoordinationType = {
329
330
  SPATIAL_RENDERING_MODE: 'spatialRenderingMode', // For whole spatial view
330
331
  VOLUMETRIC_RENDERING_ALGORITHM: 'volumetricRenderingAlgorithm', // Could be per-image-layer
331
332
  SPATIAL_TARGET_RESOLUTION: 'spatialTargetResolution', // Per-spatial-layer
333
+ SPATIAL_MAX_RESOLUTION: 'spatialMaxResolution', // Per-image-channel (for spatial-accelerated)
332
334
  // For clipping plane sliders
333
335
  SPATIAL_SLICE_X: 'spatialSliceX',
334
336
  SPATIAL_SLICE_Y: 'spatialSliceY',
@@ -53,6 +53,7 @@ export const COMPONENT_COORDINATION_TYPES = {
53
53
  CoordinationType.SPATIAL_ROTATION_Y,
54
54
  CoordinationType.SPATIAL_ROTATION_Z,
55
55
  CoordinationType.SPATIAL_AXIS_FIXED,
56
+ CoordinationType.SPATIAL_ROTATION_ORBIT,
56
57
  CoordinationType.SPATIAL_ORBIT_AXIS,
57
58
  CoordinationType.SPATIAL_ZOOM,
58
59
  CoordinationType.OBS_FILTER,
@@ -60,14 +61,11 @@ export const COMPONENT_COORDINATION_TYPES = {
60
61
  CoordinationType.OBS_SET_SELECTION,
61
62
  CoordinationType.OBS_SET_FILTER,
62
63
  CoordinationType.OBS_SET_HIGHLIGHT,
63
- CoordinationType.OBS_SET_COLOR,
64
64
  CoordinationType.OBS_TYPE,
65
- CoordinationType.ADDITIONAL_OBS_SETS,
66
65
  CoordinationType.OBS_SET_COLOR,
67
66
  CoordinationType.OBS_COLOR_ENCODING,
68
- CoordinationType.OBS_SET_SELECTION,
69
67
  CoordinationType.EMBEDDING_TYPE,
70
- CoordinationType.OBS_COLOR_ENCODING,
68
+ CoordinationType.ADDITIONAL_OBS_SETS,
71
69
  CoordinationType.TOOLTIPS_VISIBLE,
72
70
 
73
71
  ],
@@ -288,6 +286,7 @@ export const COMPONENT_COORDINATION_TYPES = {
288
286
  CoordinationType.SPATIAL_RENDERING_MODE,
289
287
  CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
290
288
  CoordinationType.SPATIAL_TARGET_RESOLUTION,
289
+ CoordinationType.SPATIAL_MAX_RESOLUTION,
291
290
  CoordinationType.SPATIAL_SLICE_X,
292
291
  CoordinationType.SPATIAL_SLICE_Y,
293
292
  CoordinationType.SPATIAL_SLICE_Z,
@@ -461,6 +460,7 @@ export const COMPONENT_COORDINATION_TYPES = {
461
460
  CoordinationType.SPATIAL_RENDERING_MODE,
462
461
  CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
463
462
  CoordinationType.SPATIAL_TARGET_RESOLUTION,
463
+ CoordinationType.SPATIAL_MAX_RESOLUTION,
464
464
  CoordinationType.SPATIAL_SLICE_X,
465
465
  CoordinationType.SPATIAL_SLICE_Y,
466
466
  CoordinationType.SPATIAL_SLICE_Z,
package/src/version.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "note": "This file is autogenerated by .changeset/post-changelog.mjs.",
3
- "version": "3.7.0",
4
- "date": "2025-09-12",
3
+ "version": "3.8.0",
4
+ "date": "2025-09-17",
5
5
  "branch": "changeset-release/main",
6
- "hash": "e541b61e"
6
+ "hash": "571e67cb"
7
7
  }