@vitessce/csv 3.8.10 → 3.9.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
@@ -523,6 +523,7 @@ const CoordinationType$1 = {
523
523
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
524
524
  OBS_SET_EXPANSION: "obsSetExpansion",
525
525
  OBS_SET_COLOR: "obsSetColor",
526
+ FEATURE_COLOR: "featureColor",
526
527
  FEATURE_HIGHLIGHT: "featureHighlight",
527
528
  FEATURE_SELECTION: "featureSelection",
528
529
  FEATURE_SET_SELECTION: "featureSetSelection",
@@ -578,6 +579,8 @@ const CoordinationType$1 = {
578
579
  // Per-spatial-layer
579
580
  SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
580
581
  // Per-image-channel (for spatial-accelerated)
582
+ SPATIAL_LOD_FACTOR: "spatialLodFactor",
583
+ // LOD factor for 3D volume rendering
581
584
  // For clipping plane sliders
582
585
  SPATIAL_SLICE_X: "spatialSliceX",
583
586
  SPATIAL_SLICE_Y: "spatialSliceY",
@@ -1095,6 +1098,8 @@ const CoordinationType$1 = {
1095
1098
  CoordinationType$1.OBS_SET_FILTER,
1096
1099
  CoordinationType$1.OBS_SET_HIGHLIGHT,
1097
1100
  CoordinationType$1.OBS_SET_COLOR,
1101
+ CoordinationType$1.FEATURE_COLOR,
1102
+ CoordinationType$1.FEATURE_FILTER_MODE,
1098
1103
  CoordinationType$1.FEATURE_HIGHLIGHT,
1099
1104
  CoordinationType$1.FEATURE_SELECTION,
1100
1105
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
@@ -1309,6 +1314,8 @@ const CoordinationType$1 = {
1309
1314
  CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
1310
1315
  CoordinationType$1.SPATIAL_LAYER_COLOR,
1311
1316
  CoordinationType$1.OBS_COLOR_ENCODING,
1317
+ CoordinationType$1.FEATURE_COLOR,
1318
+ CoordinationType$1.FEATURE_FILTER_MODE,
1312
1319
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
1313
1320
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
1314
1321
  CoordinationType$1.FEATURE_SELECTION,
@@ -2516,7 +2523,7 @@ class ObsPointsCsvLoader extends CsvLoader {
2516
2523
  data: [obsLocationsX, obsLocationsY],
2517
2524
  shape: [2, obsLocationsX.length]
2518
2525
  };
2519
- this.cachedResult = { obsIndex, obsPoints };
2526
+ this.cachedResult = { obsIndex, obsPoints, obsPointsTilingType: "full" };
2520
2527
  return this.cachedResult;
2521
2528
  }
2522
2529
  async load() {
@@ -5,6 +5,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
5
5
  data: Float32Array[];
6
6
  shape: number[];
7
7
  };
8
+ obsPointsTilingType: string;
8
9
  };
9
10
  cachedResult: {
10
11
  obsIndex: any;
@@ -12,6 +13,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
12
13
  data: Float32Array[];
13
14
  shape: number[];
14
15
  };
16
+ obsPointsTilingType: string;
15
17
  } | undefined;
16
18
  load(): Promise<LoaderResult<{
17
19
  obsIndex: any;
@@ -19,6 +21,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
19
21
  data: Float32Array[];
20
22
  shape: number[];
21
23
  };
24
+ obsPointsTilingType: string;
22
25
  }>>;
23
26
  }
24
27
  import CsvLoader from './CsvLoader.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ObsPointsCsv.d.ts","sourceRoot":"","sources":["../../src/csv-loaders/ObsPointsCsv.js"],"names":[],"mappings":"AAIA;IACE;;;;;;MAcC;IAFC;;;;;;kBAA2C;IAI7C;;;;;;QA2BC;CACF;sBA/CqB,gBAAgB;6BADT,oBAAoB"}
1
+ {"version":3,"file":"ObsPointsCsv.d.ts","sourceRoot":"","sources":["../../src/csv-loaders/ObsPointsCsv.js"],"names":[],"mappings":"AAIA;IACE;;;;;;;MAcC;IAFC;;;;;;;kBAAwE;IAI1E;;;;;;;QA2BC;CACF;sBA/CqB,gBAAgB;6BADT,oBAAoB"}
@@ -14,7 +14,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
14
14
  data: [obsLocationsX, obsLocationsY],
15
15
  shape: [2, obsLocationsX.length],
16
16
  };
17
- this.cachedResult = { obsIndex, obsPoints };
17
+ this.cachedResult = { obsIndex, obsPoints, obsPointsTilingType: 'full' };
18
18
  return this.cachedResult;
19
19
  }
20
20
  async load() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/csv",
3
- "version": "3.8.10",
3
+ "version": "3.9.0",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,11 +18,11 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "d3-dsv": "^1.1.1",
21
- "@vitessce/constants-internal": "3.8.10",
22
- "@vitessce/sets-utils": "3.8.10",
23
- "@vitessce/abstract": "3.8.10",
24
- "@vitessce/error": "3.8.10",
25
- "@vitessce/config": "3.8.10"
21
+ "@vitessce/constants-internal": "3.9.0",
22
+ "@vitessce/abstract": "3.9.0",
23
+ "@vitessce/sets-utils": "3.9.0",
24
+ "@vitessce/config": "3.9.0",
25
+ "@vitessce/error": "3.9.0"
26
26
  },
27
27
  "scripts": {
28
28
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
@@ -15,7 +15,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
15
15
  data: [obsLocationsX, obsLocationsY],
16
16
  shape: [2, obsLocationsX.length],
17
17
  };
18
- this.cachedResult = { obsIndex, obsPoints };
18
+ this.cachedResult = { obsIndex, obsPoints, obsPointsTilingType: 'full' };
19
19
  return this.cachedResult;
20
20
  }
21
21