@vitessce/layer-controller 3.5.5 → 3.5.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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-3fd0c76a.js";
2
+ import { B as BaseDecoder } from "./index-2323f9be.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -16712,7 +16712,8 @@ const ViewType = {
16712
16712
  DOT_PLOT: "dotPlot",
16713
16713
  FEATURE_BAR_PLOT: "featureBarPlot",
16714
16714
  BIOMARKER_SELECT: "biomarkerSelect",
16715
- LINK_CONTROLLER: "linkController"
16715
+ LINK_CONTROLLER: "linkController",
16716
+ DUAL_SCATTERPLOT: "dualScatterplot"
16716
16717
  };
16717
16718
  const CoordinationType = {
16718
16719
  META_COORDINATION_SCOPES: "metaCoordinationScopes",
@@ -16754,15 +16755,23 @@ const CoordinationType = {
16754
16755
  HEATMAP_ZOOM_Y: "heatmapZoomY",
16755
16756
  HEATMAP_TARGET_X: "heatmapTargetX",
16756
16757
  HEATMAP_TARGET_Y: "heatmapTargetY",
16757
- OBS_FILTER: "obsFilter",
16758
16758
  OBS_HIGHLIGHT: "obsHighlight",
16759
+ OBS_SELECTION: "obsSelection",
16759
16760
  OBS_SET_SELECTION: "obsSetSelection",
16761
+ OBS_SELECTION_MODE: "obsSelectionMode",
16762
+ OBS_FILTER: "obsFilter",
16763
+ OBS_SET_FILTER: "obsSetFilter",
16764
+ OBS_FILTER_MODE: "obsFilterMode",
16760
16765
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
16761
16766
  OBS_SET_EXPANSION: "obsSetExpansion",
16762
16767
  OBS_SET_COLOR: "obsSetColor",
16763
- FEATURE_FILTER: "featureFilter",
16764
16768
  FEATURE_HIGHLIGHT: "featureHighlight",
16765
16769
  FEATURE_SELECTION: "featureSelection",
16770
+ FEATURE_SET_SELECTION: "featureSetSelection",
16771
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
16772
+ FEATURE_FILTER: "featureFilter",
16773
+ FEATURE_SET_FILTER: "featureSetFilter",
16774
+ FEATURE_FILTER_MODE: "featureFilterMode",
16766
16775
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
16767
16776
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
16768
16777
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -16829,7 +16838,12 @@ const CoordinationType = {
16829
16838
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
16830
16839
  // Multi-sample / comparative
16831
16840
  SAMPLE_TYPE: "sampleType",
16841
+ SAMPLE_SELECTION: "sampleSelection",
16832
16842
  SAMPLE_SET_SELECTION: "sampleSetSelection",
16843
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
16844
+ SAMPLE_FILTER: "sampleFilter",
16845
+ SAMPLE_SET_FILTER: "sampleSetFilter",
16846
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
16833
16847
  SAMPLE_SET_COLOR: "sampleSetColor",
16834
16848
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
16835
16849
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -16878,6 +16892,50 @@ const COMPONENT_COORDINATION_TYPES = {
16878
16892
  CoordinationType.OBS_FILTER,
16879
16893
  CoordinationType.OBS_HIGHLIGHT,
16880
16894
  CoordinationType.OBS_SET_SELECTION,
16895
+ CoordinationType.OBS_SET_FILTER,
16896
+ CoordinationType.OBS_SET_HIGHLIGHT,
16897
+ CoordinationType.OBS_SET_COLOR,
16898
+ CoordinationType.FEATURE_HIGHLIGHT,
16899
+ CoordinationType.FEATURE_SELECTION,
16900
+ CoordinationType.FEATURE_VALUE_COLORMAP,
16901
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
16902
+ CoordinationType.OBS_COLOR_ENCODING,
16903
+ CoordinationType.ADDITIONAL_OBS_SETS,
16904
+ CoordinationType.TOOLTIPS_VISIBLE,
16905
+ CoordinationType.SAMPLE_TYPE,
16906
+ CoordinationType.SAMPLE_SET_SELECTION,
16907
+ CoordinationType.SAMPLE_SET_FILTER,
16908
+ CoordinationType.SAMPLE_SET_COLOR,
16909
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
16910
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
16911
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
16912
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
16913
+ CoordinationType.CONTOUR_COLOR_ENCODING,
16914
+ CoordinationType.CONTOUR_COLOR
16915
+ ],
16916
+ [ViewType.DUAL_SCATTERPLOT]: [
16917
+ CoordinationType.DATASET,
16918
+ CoordinationType.OBS_TYPE,
16919
+ CoordinationType.FEATURE_TYPE,
16920
+ CoordinationType.FEATURE_VALUE_TYPE,
16921
+ CoordinationType.OBS_LABELS_TYPE,
16922
+ CoordinationType.EMBEDDING_TYPE,
16923
+ CoordinationType.EMBEDDING_ZOOM,
16924
+ CoordinationType.EMBEDDING_ROTATION,
16925
+ CoordinationType.EMBEDDING_TARGET_X,
16926
+ CoordinationType.EMBEDDING_TARGET_Y,
16927
+ CoordinationType.EMBEDDING_TARGET_Z,
16928
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
16929
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
16930
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
16931
+ CoordinationType.EMBEDDING_OBS_RADIUS,
16932
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
16933
+ CoordinationType.EMBEDDING_OBS_OPACITY,
16934
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
16935
+ CoordinationType.OBS_FILTER,
16936
+ CoordinationType.OBS_HIGHLIGHT,
16937
+ CoordinationType.OBS_SET_SELECTION,
16938
+ CoordinationType.OBS_SET_FILTER,
16881
16939
  CoordinationType.OBS_SET_HIGHLIGHT,
16882
16940
  CoordinationType.OBS_SET_COLOR,
16883
16941
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -16889,6 +16947,7 @@ const COMPONENT_COORDINATION_TYPES = {
16889
16947
  CoordinationType.TOOLTIPS_VISIBLE,
16890
16948
  CoordinationType.SAMPLE_TYPE,
16891
16949
  CoordinationType.SAMPLE_SET_SELECTION,
16950
+ CoordinationType.SAMPLE_SET_FILTER,
16892
16951
  CoordinationType.SAMPLE_SET_COLOR,
16893
16952
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
16894
16953
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -16955,6 +17014,7 @@ const COMPONENT_COORDINATION_TYPES = {
16955
17014
  CoordinationType.OBS_FILTER,
16956
17015
  CoordinationType.OBS_HIGHLIGHT,
16957
17016
  CoordinationType.OBS_SET_SELECTION,
17017
+ CoordinationType.OBS_SET_FILTER,
16958
17018
  CoordinationType.OBS_SET_HIGHLIGHT,
16959
17019
  CoordinationType.OBS_SET_COLOR,
16960
17020
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -16991,6 +17051,7 @@ const COMPONENT_COORDINATION_TYPES = {
16991
17051
  CoordinationType.OBS_FILTER,
16992
17052
  CoordinationType.OBS_HIGHLIGHT,
16993
17053
  CoordinationType.OBS_SET_SELECTION,
17054
+ CoordinationType.OBS_SET_FILTER,
16994
17055
  CoordinationType.OBS_SET_HIGHLIGHT,
16995
17056
  CoordinationType.OBS_SET_COLOR,
16996
17057
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -17050,6 +17111,7 @@ const COMPONENT_COORDINATION_TYPES = {
17050
17111
  CoordinationType.OBS_FILTER,
17051
17112
  CoordinationType.OBS_HIGHLIGHT,
17052
17113
  CoordinationType.OBS_SET_SELECTION,
17114
+ CoordinationType.OBS_SET_FILTER,
17053
17115
  CoordinationType.OBS_SET_HIGHLIGHT,
17054
17116
  CoordinationType.OBS_SET_COLOR,
17055
17117
  CoordinationType.FEATURE_FILTER,
@@ -17065,6 +17127,7 @@ const COMPONENT_COORDINATION_TYPES = {
17065
17127
  CoordinationType.DATASET,
17066
17128
  CoordinationType.OBS_TYPE,
17067
17129
  CoordinationType.OBS_SET_SELECTION,
17130
+ CoordinationType.OBS_SET_FILTER,
17068
17131
  CoordinationType.OBS_SET_EXPANSION,
17069
17132
  CoordinationType.OBS_SET_HIGHLIGHT,
17070
17133
  CoordinationType.OBS_SET_COLOR,
@@ -17076,6 +17139,7 @@ const COMPONENT_COORDINATION_TYPES = {
17076
17139
  CoordinationType.DATASET,
17077
17140
  CoordinationType.OBS_TYPE,
17078
17141
  CoordinationType.OBS_SET_SELECTION,
17142
+ CoordinationType.OBS_SET_FILTER,
17079
17143
  CoordinationType.OBS_SET_EXPANSION,
17080
17144
  CoordinationType.OBS_SET_HIGHLIGHT,
17081
17145
  CoordinationType.OBS_SET_COLOR,
@@ -17108,6 +17172,7 @@ const COMPONENT_COORDINATION_TYPES = {
17108
17172
  CoordinationType.FEATURE_VALUE_TRANSFORM,
17109
17173
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
17110
17174
  CoordinationType.OBS_SET_SELECTION,
17175
+ CoordinationType.OBS_SET_FILTER,
17111
17176
  CoordinationType.OBS_SET_HIGHLIGHT,
17112
17177
  CoordinationType.OBS_SET_COLOR,
17113
17178
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -17124,7 +17189,8 @@ const COMPONENT_COORDINATION_TYPES = {
17124
17189
  CoordinationType.ADDITIONAL_OBS_SETS,
17125
17190
  CoordinationType.OBS_SET_COLOR,
17126
17191
  CoordinationType.OBS_COLOR_ENCODING,
17127
- CoordinationType.OBS_SET_SELECTION
17192
+ CoordinationType.OBS_SET_SELECTION,
17193
+ CoordinationType.OBS_SET_FILTER
17128
17194
  ],
17129
17195
  [ViewType.LAYER_CONTROLLER]: [
17130
17196
  CoordinationType.DATASET,
@@ -17239,11 +17305,13 @@ const COMPONENT_COORDINATION_TYPES = {
17239
17305
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
17240
17306
  CoordinationType.FEATURE_VALUE_COLORMAP,
17241
17307
  CoordinationType.OBS_SET_SELECTION,
17308
+ CoordinationType.OBS_SET_FILTER,
17242
17309
  CoordinationType.OBS_SET_HIGHLIGHT,
17243
17310
  CoordinationType.OBS_SET_COLOR,
17244
17311
  CoordinationType.ADDITIONAL_OBS_SETS,
17245
17312
  CoordinationType.SAMPLE_TYPE,
17246
17313
  CoordinationType.SAMPLE_SET_SELECTION,
17314
+ CoordinationType.SAMPLE_SET_FILTER,
17247
17315
  CoordinationType.SAMPLE_SET_COLOR
17248
17316
  ],
17249
17317
  higlass: [
@@ -17274,7 +17342,10 @@ const COMPONENT_COORDINATION_TYPES = {
17274
17342
  [ViewType.LINK_CONTROLLER]: [],
17275
17343
  [ViewType.BIOMARKER_SELECT]: [
17276
17344
  CoordinationType.FEATURE_SELECTION,
17277
- CoordinationType.SAMPLE_SET_SELECTION
17345
+ CoordinationType.SAMPLE_SET_SELECTION,
17346
+ CoordinationType.SAMPLE_SET_FILTER,
17347
+ CoordinationType.OBS_SET_SELECTION,
17348
+ CoordinationType.OBS_SET_FILTER
17278
17349
  // TODO: create coordination types for internal state of the biomarker selection view?
17279
17350
  ]
17280
17351
  };
@@ -121479,16 +121550,16 @@ function addDecoder(cases, importFn) {
121479
121550
  }
121480
121551
  cases.forEach((c) => registry$1.set(c, importFn));
121481
121552
  }
121482
- addDecoder([void 0, 1], () => import("./raw-a099467a.js").then((m) => m.default));
121483
- addDecoder(5, () => import("./lzw-6f21c4d9.js").then((m) => m.default));
121553
+ addDecoder([void 0, 1], () => import("./raw-2af7db47.js").then((m) => m.default));
121554
+ addDecoder(5, () => import("./lzw-42db9931.js").then((m) => m.default));
121484
121555
  addDecoder(6, () => {
121485
121556
  throw new Error("old style JPEG compression is not supported.");
121486
121557
  });
121487
- addDecoder(7, () => import("./jpeg-17e2ad80.js").then((m) => m.default));
121488
- addDecoder([8, 32946], () => import("./deflate-b2382f28.js").then((m) => m.default));
121489
- addDecoder(32773, () => import("./packbits-7c083149.js").then((m) => m.default));
121490
- addDecoder(34887, () => import("./lerc-634fdf8c.js").then((m) => m.default));
121491
- addDecoder(50001, () => import("./webimage-a97b6f77.js").then((m) => m.default));
121558
+ addDecoder(7, () => import("./jpeg-04438802.js").then((m) => m.default));
121559
+ addDecoder([8, 32946], () => import("./deflate-fe4d93d9.js").then((m) => m.default));
121560
+ addDecoder(32773, () => import("./packbits-8247f54b.js").then((m) => m.default));
121561
+ addDecoder(34887, () => import("./lerc-75c58a66.js").then((m) => m.default));
121562
+ addDecoder(50001, () => import("./webimage-dfdc750b.js").then((m) => m.default));
121492
121563
  function decodeRowAcc(row, stride) {
121493
121564
  let length2 = row.length - stride;
121494
121565
  let offset4 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, L, V, d, c, e, f, b, h, u } from "./index-3fd0c76a.js";
1
+ import { a, L, V, d, c, e, f, b, h, u } from "./index-2323f9be.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-3fd0c76a.js";
1
+ import { B as BaseDecoder } from "./index-2323f9be.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-3fd0c76a.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-2323f9be.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-3fd0c76a.js";
1
+ import { B as BaseDecoder } from "./index-2323f9be.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-3fd0c76a.js";
1
+ import { B as BaseDecoder } from "./index-2323f9be.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-3fd0c76a.js";
1
+ import { B as BaseDecoder } from "./index-2323f9be.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-3fd0c76a.js";
1
+ import { B as BaseDecoder } from "./index-2323f9be.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/layer-controller",
3
- "version": "3.5.5",
3
+ "version": "3.5.6",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -21,11 +21,11 @@
21
21
  "lodash-es": "^4.17.21",
22
22
  "math.gl": "^3.5.6",
23
23
  "react-aria": "^3.28.0",
24
- "@vitessce/constants-internal": "3.5.5",
25
- "@vitessce/gl": "3.5.5",
26
- "@vitessce/spatial-utils": "3.5.5",
27
- "@vitessce/utils": "3.5.5",
28
- "@vitessce/vit-s": "3.5.5"
24
+ "@vitessce/constants-internal": "3.5.6",
25
+ "@vitessce/gl": "3.5.6",
26
+ "@vitessce/spatial-utils": "3.5.6",
27
+ "@vitessce/utils": "3.5.6",
28
+ "@vitessce/vit-s": "3.5.6"
29
29
  },
30
30
  "devDependencies": {
31
31
  "react": "^18.0.0",