@vitessce/heatmap 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-fc077d81.js";
2
+ import { B as BaseDecoder } from "./index-85bbcec2.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -11002,7 +11002,8 @@ const ViewType$1 = {
11002
11002
  DOT_PLOT: "dotPlot",
11003
11003
  FEATURE_BAR_PLOT: "featureBarPlot",
11004
11004
  BIOMARKER_SELECT: "biomarkerSelect",
11005
- LINK_CONTROLLER: "linkController"
11005
+ LINK_CONTROLLER: "linkController",
11006
+ DUAL_SCATTERPLOT: "dualScatterplot"
11006
11007
  };
11007
11008
  const DataType$2 = {
11008
11009
  OBS_LABELS: "obsLabels",
@@ -11181,15 +11182,23 @@ const CoordinationType$1 = {
11181
11182
  HEATMAP_ZOOM_Y: "heatmapZoomY",
11182
11183
  HEATMAP_TARGET_X: "heatmapTargetX",
11183
11184
  HEATMAP_TARGET_Y: "heatmapTargetY",
11184
- OBS_FILTER: "obsFilter",
11185
11185
  OBS_HIGHLIGHT: "obsHighlight",
11186
+ OBS_SELECTION: "obsSelection",
11186
11187
  OBS_SET_SELECTION: "obsSetSelection",
11188
+ OBS_SELECTION_MODE: "obsSelectionMode",
11189
+ OBS_FILTER: "obsFilter",
11190
+ OBS_SET_FILTER: "obsSetFilter",
11191
+ OBS_FILTER_MODE: "obsFilterMode",
11187
11192
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
11188
11193
  OBS_SET_EXPANSION: "obsSetExpansion",
11189
11194
  OBS_SET_COLOR: "obsSetColor",
11190
- FEATURE_FILTER: "featureFilter",
11191
11195
  FEATURE_HIGHLIGHT: "featureHighlight",
11192
11196
  FEATURE_SELECTION: "featureSelection",
11197
+ FEATURE_SET_SELECTION: "featureSetSelection",
11198
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
11199
+ FEATURE_FILTER: "featureFilter",
11200
+ FEATURE_SET_FILTER: "featureSetFilter",
11201
+ FEATURE_FILTER_MODE: "featureFilterMode",
11193
11202
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
11194
11203
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
11195
11204
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -11256,7 +11265,12 @@ const CoordinationType$1 = {
11256
11265
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
11257
11266
  // Multi-sample / comparative
11258
11267
  SAMPLE_TYPE: "sampleType",
11268
+ SAMPLE_SELECTION: "sampleSelection",
11259
11269
  SAMPLE_SET_SELECTION: "sampleSetSelection",
11270
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
11271
+ SAMPLE_FILTER: "sampleFilter",
11272
+ SAMPLE_SET_FILTER: "sampleSetFilter",
11273
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
11260
11274
  SAMPLE_SET_COLOR: "sampleSetColor",
11261
11275
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
11262
11276
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -11305,6 +11319,7 @@ const COMPONENT_COORDINATION_TYPES = {
11305
11319
  CoordinationType$1.OBS_FILTER,
11306
11320
  CoordinationType$1.OBS_HIGHLIGHT,
11307
11321
  CoordinationType$1.OBS_SET_SELECTION,
11322
+ CoordinationType$1.OBS_SET_FILTER,
11308
11323
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11309
11324
  CoordinationType$1.OBS_SET_COLOR,
11310
11325
  CoordinationType$1.FEATURE_HIGHLIGHT,
@@ -11316,6 +11331,50 @@ const COMPONENT_COORDINATION_TYPES = {
11316
11331
  CoordinationType$1.TOOLTIPS_VISIBLE,
11317
11332
  CoordinationType$1.SAMPLE_TYPE,
11318
11333
  CoordinationType$1.SAMPLE_SET_SELECTION,
11334
+ CoordinationType$1.SAMPLE_SET_FILTER,
11335
+ CoordinationType$1.SAMPLE_SET_COLOR,
11336
+ CoordinationType$1.EMBEDDING_POINTS_VISIBLE,
11337
+ CoordinationType$1.EMBEDDING_CONTOURS_VISIBLE,
11338
+ CoordinationType$1.EMBEDDING_CONTOURS_FILLED,
11339
+ CoordinationType$1.EMBEDDING_CONTOUR_PERCENTILES,
11340
+ CoordinationType$1.CONTOUR_COLOR_ENCODING,
11341
+ CoordinationType$1.CONTOUR_COLOR
11342
+ ],
11343
+ [ViewType$1.DUAL_SCATTERPLOT]: [
11344
+ CoordinationType$1.DATASET,
11345
+ CoordinationType$1.OBS_TYPE,
11346
+ CoordinationType$1.FEATURE_TYPE,
11347
+ CoordinationType$1.FEATURE_VALUE_TYPE,
11348
+ CoordinationType$1.OBS_LABELS_TYPE,
11349
+ CoordinationType$1.EMBEDDING_TYPE,
11350
+ CoordinationType$1.EMBEDDING_ZOOM,
11351
+ CoordinationType$1.EMBEDDING_ROTATION,
11352
+ CoordinationType$1.EMBEDDING_TARGET_X,
11353
+ CoordinationType$1.EMBEDDING_TARGET_Y,
11354
+ CoordinationType$1.EMBEDDING_TARGET_Z,
11355
+ CoordinationType$1.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
11356
+ CoordinationType$1.EMBEDDING_OBS_SET_LABELS_VISIBLE,
11357
+ CoordinationType$1.EMBEDDING_OBS_SET_LABEL_SIZE,
11358
+ CoordinationType$1.EMBEDDING_OBS_RADIUS,
11359
+ CoordinationType$1.EMBEDDING_OBS_RADIUS_MODE,
11360
+ CoordinationType$1.EMBEDDING_OBS_OPACITY,
11361
+ CoordinationType$1.EMBEDDING_OBS_OPACITY_MODE,
11362
+ CoordinationType$1.OBS_FILTER,
11363
+ CoordinationType$1.OBS_HIGHLIGHT,
11364
+ CoordinationType$1.OBS_SET_SELECTION,
11365
+ CoordinationType$1.OBS_SET_FILTER,
11366
+ CoordinationType$1.OBS_SET_HIGHLIGHT,
11367
+ CoordinationType$1.OBS_SET_COLOR,
11368
+ CoordinationType$1.FEATURE_HIGHLIGHT,
11369
+ CoordinationType$1.FEATURE_SELECTION,
11370
+ CoordinationType$1.FEATURE_VALUE_COLORMAP,
11371
+ CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
11372
+ CoordinationType$1.OBS_COLOR_ENCODING,
11373
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
11374
+ CoordinationType$1.TOOLTIPS_VISIBLE,
11375
+ CoordinationType$1.SAMPLE_TYPE,
11376
+ CoordinationType$1.SAMPLE_SET_SELECTION,
11377
+ CoordinationType$1.SAMPLE_SET_FILTER,
11319
11378
  CoordinationType$1.SAMPLE_SET_COLOR,
11320
11379
  CoordinationType$1.EMBEDDING_POINTS_VISIBLE,
11321
11380
  CoordinationType$1.EMBEDDING_CONTOURS_VISIBLE,
@@ -11382,6 +11441,7 @@ const COMPONENT_COORDINATION_TYPES = {
11382
11441
  CoordinationType$1.OBS_FILTER,
11383
11442
  CoordinationType$1.OBS_HIGHLIGHT,
11384
11443
  CoordinationType$1.OBS_SET_SELECTION,
11444
+ CoordinationType$1.OBS_SET_FILTER,
11385
11445
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11386
11446
  CoordinationType$1.OBS_SET_COLOR,
11387
11447
  CoordinationType$1.FEATURE_HIGHLIGHT,
@@ -11418,6 +11478,7 @@ const COMPONENT_COORDINATION_TYPES = {
11418
11478
  CoordinationType$1.OBS_FILTER,
11419
11479
  CoordinationType$1.OBS_HIGHLIGHT,
11420
11480
  CoordinationType$1.OBS_SET_SELECTION,
11481
+ CoordinationType$1.OBS_SET_FILTER,
11421
11482
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11422
11483
  CoordinationType$1.OBS_SET_COLOR,
11423
11484
  CoordinationType$1.FEATURE_HIGHLIGHT,
@@ -11477,6 +11538,7 @@ const COMPONENT_COORDINATION_TYPES = {
11477
11538
  CoordinationType$1.OBS_FILTER,
11478
11539
  CoordinationType$1.OBS_HIGHLIGHT,
11479
11540
  CoordinationType$1.OBS_SET_SELECTION,
11541
+ CoordinationType$1.OBS_SET_FILTER,
11480
11542
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11481
11543
  CoordinationType$1.OBS_SET_COLOR,
11482
11544
  CoordinationType$1.FEATURE_FILTER,
@@ -11492,6 +11554,7 @@ const COMPONENT_COORDINATION_TYPES = {
11492
11554
  CoordinationType$1.DATASET,
11493
11555
  CoordinationType$1.OBS_TYPE,
11494
11556
  CoordinationType$1.OBS_SET_SELECTION,
11557
+ CoordinationType$1.OBS_SET_FILTER,
11495
11558
  CoordinationType$1.OBS_SET_EXPANSION,
11496
11559
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11497
11560
  CoordinationType$1.OBS_SET_COLOR,
@@ -11503,6 +11566,7 @@ const COMPONENT_COORDINATION_TYPES = {
11503
11566
  CoordinationType$1.DATASET,
11504
11567
  CoordinationType$1.OBS_TYPE,
11505
11568
  CoordinationType$1.OBS_SET_SELECTION,
11569
+ CoordinationType$1.OBS_SET_FILTER,
11506
11570
  CoordinationType$1.OBS_SET_EXPANSION,
11507
11571
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11508
11572
  CoordinationType$1.OBS_SET_COLOR,
@@ -11535,6 +11599,7 @@ const COMPONENT_COORDINATION_TYPES = {
11535
11599
  CoordinationType$1.FEATURE_VALUE_TRANSFORM,
11536
11600
  CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
11537
11601
  CoordinationType$1.OBS_SET_SELECTION,
11602
+ CoordinationType$1.OBS_SET_FILTER,
11538
11603
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11539
11604
  CoordinationType$1.OBS_SET_COLOR,
11540
11605
  CoordinationType$1.ADDITIONAL_OBS_SETS,
@@ -11551,7 +11616,8 @@ const COMPONENT_COORDINATION_TYPES = {
11551
11616
  CoordinationType$1.ADDITIONAL_OBS_SETS,
11552
11617
  CoordinationType$1.OBS_SET_COLOR,
11553
11618
  CoordinationType$1.OBS_COLOR_ENCODING,
11554
- CoordinationType$1.OBS_SET_SELECTION
11619
+ CoordinationType$1.OBS_SET_SELECTION,
11620
+ CoordinationType$1.OBS_SET_FILTER
11555
11621
  ],
11556
11622
  [ViewType$1.LAYER_CONTROLLER]: [
11557
11623
  CoordinationType$1.DATASET,
@@ -11666,11 +11732,13 @@ const COMPONENT_COORDINATION_TYPES = {
11666
11732
  CoordinationType$1.FEATURE_VALUE_POSITIVITY_THRESHOLD,
11667
11733
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
11668
11734
  CoordinationType$1.OBS_SET_SELECTION,
11735
+ CoordinationType$1.OBS_SET_FILTER,
11669
11736
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11670
11737
  CoordinationType$1.OBS_SET_COLOR,
11671
11738
  CoordinationType$1.ADDITIONAL_OBS_SETS,
11672
11739
  CoordinationType$1.SAMPLE_TYPE,
11673
11740
  CoordinationType$1.SAMPLE_SET_SELECTION,
11741
+ CoordinationType$1.SAMPLE_SET_FILTER,
11674
11742
  CoordinationType$1.SAMPLE_SET_COLOR
11675
11743
  ],
11676
11744
  higlass: [
@@ -11701,7 +11769,10 @@ const COMPONENT_COORDINATION_TYPES = {
11701
11769
  [ViewType$1.LINK_CONTROLLER]: [],
11702
11770
  [ViewType$1.BIOMARKER_SELECT]: [
11703
11771
  CoordinationType$1.FEATURE_SELECTION,
11704
- CoordinationType$1.SAMPLE_SET_SELECTION
11772
+ CoordinationType$1.SAMPLE_SET_SELECTION,
11773
+ CoordinationType$1.SAMPLE_SET_FILTER,
11774
+ CoordinationType$1.OBS_SET_SELECTION,
11775
+ CoordinationType$1.OBS_SET_FILTER
11705
11776
  // TODO: create coordination types for internal state of the biomarker selection view?
11706
11777
  ]
11707
11778
  };
@@ -99690,16 +99761,24 @@ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
99690
99761
  return value;
99691
99762
  };
99692
99763
  var callBind$3 = { exports: {} };
99693
- var GetIntrinsic$4 = getIntrinsic;
99694
- var $defineProperty$3 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
99695
- if ($defineProperty$3) {
99696
- try {
99697
- $defineProperty$3({}, "a", { value: 1 });
99698
- } catch (e3) {
99699
- $defineProperty$3 = false;
99764
+ var esDefineProperty;
99765
+ var hasRequiredEsDefineProperty;
99766
+ function requireEsDefineProperty() {
99767
+ if (hasRequiredEsDefineProperty)
99768
+ return esDefineProperty;
99769
+ hasRequiredEsDefineProperty = 1;
99770
+ var GetIntrinsic3 = getIntrinsic;
99771
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
99772
+ if ($defineProperty2) {
99773
+ try {
99774
+ $defineProperty2({}, "a", { value: 1 });
99775
+ } catch (e3) {
99776
+ $defineProperty2 = false;
99777
+ }
99700
99778
  }
99779
+ esDefineProperty = $defineProperty2;
99780
+ return esDefineProperty;
99701
99781
  }
99702
- var esDefineProperty = $defineProperty$3;
99703
99782
  var GetIntrinsic$3 = getIntrinsic;
99704
99783
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
99705
99784
  if ($gOPD$1) {
@@ -99710,7 +99789,7 @@ if ($gOPD$1) {
99710
99789
  }
99711
99790
  }
99712
99791
  var gopd$1 = $gOPD$1;
99713
- var $defineProperty$2 = esDefineProperty;
99792
+ var $defineProperty$2 = requireEsDefineProperty();
99714
99793
  var $SyntaxError = syntax;
99715
99794
  var $TypeError$3 = type;
99716
99795
  var gopd = gopd$1;
@@ -99751,7 +99830,7 @@ var defineDataProperty$1 = function defineDataProperty(obj, property, value) {
99751
99830
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
99752
99831
  }
99753
99832
  };
99754
- var $defineProperty$1 = esDefineProperty;
99833
+ var $defineProperty$1 = requireEsDefineProperty();
99755
99834
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
99756
99835
  return !!$defineProperty$1;
99757
99836
  };
@@ -99820,7 +99899,7 @@ var setFunctionLength = function setFunctionLength2(fn, length2) {
99820
99899
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
99821
99900
  var $call = GetIntrinsic3("%Function.prototype.call%");
99822
99901
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
99823
- var $defineProperty2 = esDefineProperty;
99902
+ var $defineProperty2 = requireEsDefineProperty();
99824
99903
  var $max = GetIntrinsic3("%Math.max%");
99825
99904
  module2.exports = function callBind2(originalFunction) {
99826
99905
  if (typeof originalFunction !== "function") {
@@ -133473,16 +133552,16 @@ function addDecoder(cases, importFn) {
133473
133552
  }
133474
133553
  cases.forEach((c) => registry$1.set(c, importFn));
133475
133554
  }
133476
- addDecoder([void 0, 1], () => import("./raw-4e18410c.js").then((m) => m.default));
133477
- addDecoder(5, () => import("./lzw-f00259f5.js").then((m) => m.default));
133555
+ addDecoder([void 0, 1], () => import("./raw-563885e6.js").then((m) => m.default));
133556
+ addDecoder(5, () => import("./lzw-1dfe1a39.js").then((m) => m.default));
133478
133557
  addDecoder(6, () => {
133479
133558
  throw new Error("old style JPEG compression is not supported.");
133480
133559
  });
133481
- addDecoder(7, () => import("./jpeg-66adb130.js").then((m) => m.default));
133482
- addDecoder([8, 32946], () => import("./deflate-dc778494.js").then((m) => m.default));
133483
- addDecoder(32773, () => import("./packbits-a8d6509a.js").then((m) => m.default));
133484
- addDecoder(34887, () => import("./lerc-53ffc64c.js").then((m) => m.default));
133485
- addDecoder(50001, () => import("./webimage-8894b594.js").then((m) => m.default));
133560
+ addDecoder(7, () => import("./jpeg-189c0f73.js").then((m) => m.default));
133561
+ addDecoder([8, 32946], () => import("./deflate-654433d0.js").then((m) => m.default));
133562
+ addDecoder(32773, () => import("./packbits-d5a97c67.js").then((m) => m.default));
133563
+ addDecoder(34887, () => import("./lerc-a252d7c6.js").then((m) => m.default));
133564
+ addDecoder(50001, () => import("./webimage-67fc7734.js").then((m) => m.default));
133486
133565
  function decodeRowAcc(row, stride) {
133487
133566
  let length2 = row.length - stride;
133488
133567
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-fc077d81.js";
1
+ import { a, H } from "./index-85bbcec2.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-fc077d81.js";
1
+ import { B as BaseDecoder } from "./index-85bbcec2.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-fc077d81.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-85bbcec2.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-fc077d81.js";
1
+ import { B as BaseDecoder } from "./index-85bbcec2.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-fc077d81.js";
1
+ import { B as BaseDecoder } from "./index-85bbcec2.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-fc077d81.js";
1
+ import { B as BaseDecoder } from "./index-85bbcec2.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-fc077d81.js";
1
+ import { B as BaseDecoder } from "./index-85bbcec2.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/heatmap",
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": {
@@ -20,14 +20,14 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "uuid": "^9.0.0",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/constants-internal": "3.5.5",
24
- "@vitessce/gl": "3.5.5",
25
- "@vitessce/sets-utils": "3.5.5",
26
- "@vitessce/tooltip": "3.5.5",
27
- "@vitessce/utils": "3.5.5",
28
- "@vitessce/vit-s": "3.5.5",
29
- "@vitessce/workers": "3.5.5",
30
- "@vitessce/legend": "3.5.5"
23
+ "@vitessce/constants-internal": "3.5.6",
24
+ "@vitessce/gl": "3.5.6",
25
+ "@vitessce/legend": "3.5.6",
26
+ "@vitessce/sets-utils": "3.5.6",
27
+ "@vitessce/tooltip": "3.5.6",
28
+ "@vitessce/utils": "3.5.6",
29
+ "@vitessce/vit-s": "3.5.6",
30
+ "@vitessce/workers": "3.5.6"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^5.16.4",