@vitessce/all 3.8.13 → 3.9.1

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.
@@ -1,7 +1,7 @@
1
- import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-B0JyLhTY.js";
1
+ import { G as Group, M as Matrix4, T as TrianglesDrawMode, a as TriangleFanDrawMode, b as TriangleStripDrawMode, R as REVISION, L as Loader, c as LoaderUtils, F as FileLoader, d as MeshPhysicalMaterial, V as Vector2, C as Color, S as SpotLight, P as PointLight, D as DirectionalLight, e as Vector3, I as InstancedMesh, Q as Quaternion, O as Object3D, f as TextureLoader, g as ImageBitmapLoader, B as BufferAttribute, h as InterleavedBuffer, i as LinearMipmapLinearFilter, N as NearestMipmapLinearFilter, j as LinearMipmapNearestFilter, k as NearestMipmapNearestFilter, l as LinearFilter, m as NearestFilter, n as RepeatWrapping, o as MirroredRepeatWrapping, p as ClampToEdgeWrapping, q as PointsMaterial, r as Material, s as LineBasicMaterial, t as MeshStandardMaterial, u as DoubleSide, v as MeshBasicMaterial, w as PropertyBinding, x as BufferGeometry, y as SkinnedMesh, z as Mesh, A as LineSegments, E as Line$1, H as LineLoop, J as Points, K as PerspectiveCamera, U as MathUtils, W as OrthographicCamera, X as Skeleton, Y as InterpolateDiscrete, Z as InterpolateLinear, _ as AnimationClip, $ as Bone, a0 as InterleavedBufferAttribute, a1 as Texture, a2 as VectorKeyframeTrack, a3 as QuaternionKeyframeTrack, a4 as NumberKeyframeTrack, a5 as FrontSide, a6 as Interpolant, a7 as Box3, a8 as Sphere, a9 as InstancedBufferGeometry, aa as Float32BufferAttribute, ab as InstancedInterleavedBuffer, ac as WireframeGeometry, ad as ShaderMaterial, ae as UniformsUtils, af as UniformsLib, ag as Vector4, ah as Line3, ai as SphereGeometry, aj as _extends, ak as Plane, al as Triangle, am as BackSide, an as Ray$1, ao as jsxRuntimeExports, ap as Matrix3, aq as CoordinationType, ar as Data3DTexture, as as RedFormat, at as FloatType, au as getImageSize, av as Scene } from "./index-B-aCUFst.js";
2
2
  import * as React from "react";
3
3
  import { useRef, useEffect, useState, forwardRef } from "react";
4
- import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-Bq0h_Ctg.js";
4
+ import { u as useThree, a as useFrame, c as create, e as extend, b as createPortal, O as OrbitControls, C as Canvas } from "./OrbitControls-BpeUSyh9.js";
5
5
  const isPromise = (promise) => typeof promise === "object" && typeof promise.then === "function";
6
6
  const globalCache = [];
7
7
  function shallowEqualArrays(arrA, arrB, equal = (a, b) => a === b) {
@@ -5027,7 +5027,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
5027
5027
  const {
5028
5028
  Text: TextMeshImpl,
5029
5029
  preloadFont
5030
- } = suspend(async () => import("./troika-three-text.esm-aenn8tL8.js"), []);
5030
+ } = suspend(async () => import("./troika-three-text.esm-Cf8otk5M.js"), []);
5031
5031
  const invalidate = useThree(({
5032
5032
  invalidate: invalidate2
5033
5033
  }) => invalidate2);
@@ -1,6 +1,6 @@
1
- import { aw as log, ax as isEqual, ar as Data3DTexture, as as RedFormat, ay as UnsignedByteType, l as LinearFilter, az as RedIntegerFormat, aA as UnsignedIntType, m as NearestFilter, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aB as WebGLMultipleRenderTargets, aC as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aD as PlaneGeometry, aE as useEventCallback, ao as jsxRuntimeExports, aF as GLSL3, am as BackSide } from "./index-B0JyLhTY.js";
1
+ import { aw as log, ax as isEqual, ar as Data3DTexture, as as RedFormat, ay as UnsignedByteType, l as LinearFilter, az as RedIntegerFormat, aA as UnsignedIntType, m as NearestFilter, e as Vector3, V as Vector2, ag as Vector4, ae as UniformsUtils, aq as CoordinationType, aB as WebGLMultipleRenderTargets, aC as RGBAFormat, av as Scene, W as OrthographicCamera, ad as ShaderMaterial, z as Mesh, aD as PlaneGeometry, aE as useEventCallback, ao as jsxRuntimeExports, aF as GLSL3, am as BackSide } from "./index-B-aCUFst.js";
2
2
  import { useRef, useState, useMemo, useEffect, Suspense } from "react";
3
- import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-Bq0h_Ctg.js";
3
+ import { u as useThree, a as useFrame, O as OrbitControls, C as Canvas } from "./OrbitControls-BpeUSyh9.js";
4
4
  const LogLevel = {
5
5
  INFO: "info",
6
6
  WARN: "warn",
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bR, bP, bN, bQ, bO, bM, bS } from "./index-B0JyLhTY.js";
1
+ import { bR, bP, bN, bQ, bO, bM, bS } from "./index-B-aCUFst.js";
2
2
  import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
3
3
  export {
4
4
  bR as PluginAsyncFunction,
@@ -1,4 +1,4 @@
1
- import { aX as BaseDecoder } from "./index-B0JyLhTY.js";
1
+ import { aX as BaseDecoder } from "./index-B-aCUFst.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aG as getDefaultExportFromCjs, aX as BaseDecoder, aY as LercParameters, aZ as LercAddCompression } from "./index-B0JyLhTY.js";
2
+ import { aG as getDefaultExportFromCjs, aX as BaseDecoder, aY as LercParameters, aZ as LercAddCompression } from "./index-B-aCUFst.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aX as BaseDecoder } from "./index-B0JyLhTY.js";
1
+ import { aX as BaseDecoder } from "./index-B-aCUFst.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aX as BaseDecoder } from "./index-B0JyLhTY.js";
1
+ import { aX as BaseDecoder } from "./index-B-aCUFst.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aX as BaseDecoder } from "./index-B0JyLhTY.js";
1
+ import { aX as BaseDecoder } from "./index-B-aCUFst.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bH as MeshDistanceMaterial, bI as MeshDepthMaterial, bJ as RGBADepthPacking, ae as UniformsUtils, bK as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bL as InstancedBufferAttribute } from "./index-B0JyLhTY.js";
1
+ import { bH as MeshDistanceMaterial, bI as MeshDepthMaterial, bJ as RGBADepthPacking, ae as UniformsUtils, bK as ShaderChunk, a9 as InstancedBufferGeometry, a8 as Sphere, a7 as Box3, am as BackSide, u as DoubleSide, z as Mesh, a5 as FrontSide, v as MeshBasicMaterial, C as Color, e as Vector3, M as Matrix4, V as Vector2, ap as Matrix3, ag as Vector4, a1 as Texture, l as LinearFilter, aD as PlaneGeometry, x as BufferGeometry, aa as Float32BufferAttribute, bL as InstancedBufferAttribute } from "./index-B-aCUFst.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aX as BaseDecoder } from "./index-B0JyLhTY.js";
1
+ import { aX as BaseDecoder } from "./index-B-aCUFst.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -267,14 +267,20 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
267
267
  path: z.ZodString;
268
268
  tablePath: z.ZodOptional<z.ZodString>;
269
269
  coordinateSystem: z.ZodOptional<z.ZodString>;
270
+ featureIndexColumn: z.ZodOptional<z.ZodString>;
271
+ mortonCodeColumn: z.ZodOptional<z.ZodString>;
270
272
  }, "strip", z.ZodTypeAny, {
271
273
  path: string;
272
274
  tablePath?: string | undefined;
273
275
  coordinateSystem?: string | undefined;
276
+ featureIndexColumn?: string | undefined;
277
+ mortonCodeColumn?: string | undefined;
274
278
  }, {
275
279
  path: string;
276
280
  tablePath?: string | undefined;
277
281
  coordinateSystem?: string | undefined;
282
+ featureIndexColumn?: string | undefined;
283
+ mortonCodeColumn?: string | undefined;
278
284
  }>>;
279
285
  obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
280
286
  path: z.ZodString;
@@ -394,6 +400,8 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
394
400
  path: string;
395
401
  tablePath?: string | undefined;
396
402
  coordinateSystem?: string | undefined;
403
+ featureIndexColumn?: string | undefined;
404
+ mortonCodeColumn?: string | undefined;
397
405
  } | undefined;
398
406
  obsFeatureMatrix?: {
399
407
  path: string;
@@ -445,6 +453,8 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
445
453
  path: string;
446
454
  tablePath?: string | undefined;
447
455
  coordinateSystem?: string | undefined;
456
+ featureIndexColumn?: string | undefined;
457
+ mortonCodeColumn?: string | undefined;
448
458
  } | undefined;
449
459
  obsFeatureMatrix?: {
450
460
  path: string;
@@ -996,7 +1006,16 @@ export declare const baseCoordinationTypes: (PluginCoordinationType<z.ZodNullabl
996
1006
  }, {
997
1007
  path: string[];
998
1008
  color: number[];
999
- }>, "many">>> | PluginCoordinationType<z.ZodEnum<["geneSelection", "cellSetSelection", "spatialChannelColor", "spatialLayerColor", "obsLabels"]>> | PluginCoordinationType<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["first", "last", "mean", "sum", "difference"]>, z.ZodNumber]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["featureSelection", "featureSetSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["featureFilter", "featureSetFilter"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["log1p", "arcsinh"]>>> | PluginCoordinationType<z.ZodArray<z.ZodNumber, "many">> | PluginCoordinationType<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
1009
+ }>, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodObject<{
1010
+ name: z.ZodString;
1011
+ color: z.ZodArray<z.ZodNumber, "many">;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ color: number[];
1014
+ name: string;
1015
+ }, {
1016
+ color: number[];
1017
+ name: string;
1018
+ }>, "many">>> | PluginCoordinationType<z.ZodEnum<["geneSelection", "cellSetSelection", "spatialChannelColor", "spatialLayerColor", "obsLabels", "random", "randomByFeature"]>> | PluginCoordinationType<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["first", "last", "mean", "sum", "difference"]>, z.ZodNumber]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["featureSelection", "featureSetSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["featureFilter", "featureSetFilter", "featureSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["log1p", "arcsinh"]>>> | PluginCoordinationType<z.ZodArray<z.ZodNumber, "many">> | PluginCoordinationType<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
1000
1019
  version: z.ZodLiteral<"0.1.3">;
1001
1020
  tree: z.ZodArray<z.ZodType<{
1002
1021
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"base-plugins.d.ts","sourceRoot":"","sources":["../src/base-plugins.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,CAAC,EAqDF,MAAM,mBAAmB,CAAC;AAmL3B,eAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBAyiB1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
@@ -253,7 +253,15 @@ export const baseCoordinationTypes = [
253
253
  path: obsSetPath,
254
254
  color: rgbArray,
255
255
  })).nullable()),
256
- new PluginCoordinationType(CoordinationType.OBS_COLOR_ENCODING, 'cellSetSelection', z.enum(['geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels'])),
256
+ new PluginCoordinationType(CoordinationType.FEATURE_COLOR, null, z.array(z.object({
257
+ name: z.string(),
258
+ color: rgbArray,
259
+ })).nullable()),
260
+ new PluginCoordinationType(CoordinationType.OBS_COLOR_ENCODING, 'cellSetSelection', z.enum([
261
+ 'geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels',
262
+ // For point coloring.
263
+ 'random', 'randomByFeature',
264
+ ])),
257
265
  new PluginCoordinationType(CoordinationType.FEATURE_FILTER, null, z.array(z.string()).nullable()),
258
266
  new PluginCoordinationType(CoordinationType.FEATURE_HIGHLIGHT, null, z.string().nullable()),
259
267
  new PluginCoordinationType(CoordinationType.FEATURE_SELECTION, null, z.array(z.string()).nullable()),
@@ -267,7 +275,7 @@ export const baseCoordinationTypes = [
267
275
  new PluginCoordinationType(CoordinationType.FEATURE_SET_SELECTION, null, z.array(obsSetPath).nullable()),
268
276
  new PluginCoordinationType(CoordinationType.FEATURE_SELECTION_MODE, null, z.enum(['featureSelection', 'featureSetSelection']).nullable()),
269
277
  new PluginCoordinationType(CoordinationType.FEATURE_SET_FILTER, null, z.array(obsSetPath).nullable()),
270
- new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter']).nullable()),
278
+ new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter', 'featureSelection']).nullable()),
271
279
  new PluginCoordinationType(CoordinationType.FEATURE_VALUE_TRANSFORM, null, z.enum(['log1p', 'arcsinh']).nullable()),
272
280
  new PluginCoordinationType(CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT, 1, z.number()),
273
281
  new PluginCoordinationType(CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD, 0, z.number()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.8.13",
3
+ "version": "3.9.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,38 +17,38 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.8.13",
21
- "@vitessce/constants-internal": "3.8.13",
22
- "@vitessce/abstract": "3.8.13",
23
- "@vitessce/error": "3.8.13",
24
- "@vitessce/csv": "3.8.13",
25
- "@vitessce/description": "3.8.13",
26
- "@vitessce/genomic-profiles": "3.8.13",
27
- "@vitessce/heatmap": "3.8.13",
28
- "@vitessce/feature-list": "3.8.13",
29
- "@vitessce/glb": "3.8.13",
30
- "@vitessce/json": "3.8.13",
31
- "@vitessce/layer-controller": "3.8.13",
32
- "@vitessce/layer-controller-beta": "3.8.13",
33
- "@vitessce/obs-sets-manager": "3.8.13",
34
- "@vitessce/link-controller": "3.8.13",
35
- "@vitessce/plugins": "3.8.13",
36
- "@vitessce/scatterplot-embedding": "3.8.13",
37
- "@vitessce/ome-tiff": "3.8.13",
38
- "@vitessce/scatterplot-gating": "3.8.13",
39
- "@vitessce/spatial": "3.8.13",
40
- "@vitessce/schemas": "3.8.13",
41
- "@vitessce/status": "3.8.13",
42
- "@vitessce/spatial-beta": "3.8.13",
43
- "@vitessce/vit-s": "3.8.13",
44
- "@vitessce/zarr": "3.8.13",
45
- "@vitessce/statistical-plots": "3.8.13",
46
- "@vitessce/globals": "3.8.13",
47
- "@vitessce/spatial-three": "3.8.13",
48
- "@vitessce/spatial-zarr": "3.8.13",
49
- "@vitessce/spatial-accelerated": "3.8.13",
50
- "@vitessce/biomarker-select": "3.8.13",
51
- "@vitessce/neuroglancer": "3.8.13"
20
+ "@vitessce/styles": "3.9.1",
21
+ "@vitessce/abstract": "3.9.1",
22
+ "@vitessce/constants-internal": "3.9.1",
23
+ "@vitessce/error": "3.9.1",
24
+ "@vitessce/description": "3.9.1",
25
+ "@vitessce/feature-list": "3.9.1",
26
+ "@vitessce/genomic-profiles": "3.9.1",
27
+ "@vitessce/csv": "3.9.1",
28
+ "@vitessce/heatmap": "3.9.1",
29
+ "@vitessce/json": "3.9.1",
30
+ "@vitessce/layer-controller": "3.9.1",
31
+ "@vitessce/link-controller": "3.9.1",
32
+ "@vitessce/glb": "3.9.1",
33
+ "@vitessce/obs-sets-manager": "3.9.1",
34
+ "@vitessce/ome-tiff": "3.9.1",
35
+ "@vitessce/layer-controller-beta": "3.9.1",
36
+ "@vitessce/plugins": "3.9.1",
37
+ "@vitessce/scatterplot-gating": "3.9.1",
38
+ "@vitessce/scatterplot-embedding": "3.9.1",
39
+ "@vitessce/schemas": "3.9.1",
40
+ "@vitessce/statistical-plots": "3.9.1",
41
+ "@vitessce/spatial": "3.9.1",
42
+ "@vitessce/spatial-beta": "3.9.1",
43
+ "@vitessce/vit-s": "3.9.1",
44
+ "@vitessce/status": "3.9.1",
45
+ "@vitessce/zarr": "3.9.1",
46
+ "@vitessce/spatial-zarr": "3.9.1",
47
+ "@vitessce/globals": "3.9.1",
48
+ "@vitessce/spatial-three": "3.9.1",
49
+ "@vitessce/spatial-accelerated": "3.9.1",
50
+ "@vitessce/biomarker-select": "3.9.1",
51
+ "@vitessce/neuroglancer": "3.9.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^18.0.28",
@@ -480,10 +480,22 @@ export const baseCoordinationTypes = [
480
480
  color: rgbArray,
481
481
  })).nullable(),
482
482
  ),
483
+ new PluginCoordinationType(
484
+ CoordinationType.FEATURE_COLOR,
485
+ null,
486
+ z.array(z.object({
487
+ name: z.string(),
488
+ color: rgbArray,
489
+ })).nullable(),
490
+ ),
483
491
  new PluginCoordinationType(
484
492
  CoordinationType.OBS_COLOR_ENCODING,
485
493
  'cellSetSelection',
486
- z.enum(['geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels']),
494
+ z.enum([
495
+ 'geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels',
496
+ // For point coloring.
497
+ 'random', 'randomByFeature',
498
+ ]),
487
499
  ),
488
500
  new PluginCoordinationType(CoordinationType.FEATURE_FILTER, null, z.array(z.string()).nullable()),
489
501
  new PluginCoordinationType(CoordinationType.FEATURE_HIGHLIGHT, null, z.string().nullable()),
@@ -510,7 +522,7 @@ export const baseCoordinationTypes = [
510
522
  null,
511
523
  z.array(obsSetPath).nullable(),
512
524
  ),
513
- new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter']).nullable()),
525
+ new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter', 'featureSelection']).nullable()),
514
526
  new PluginCoordinationType(
515
527
  CoordinationType.FEATURE_VALUE_TRANSFORM,
516
528
  null,