@vitessce/heatmap 3.9.3 → 3.9.4

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-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-BYqNlxEk.js";
2
+ import { B as BaseDecoder } from "./index-CdqVjZrU.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -19368,14 +19368,14 @@ var createCache = function createCache2(options) {
19368
19368
  cache2.sheet.hydrate(nodesToHydrate);
19369
19369
  return cache2;
19370
19370
  };
19371
- function _extends$3() {
19372
- return _extends$3 = Object.assign ? Object.assign.bind() : function(n2) {
19371
+ function _extends$2() {
19372
+ return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
19373
19373
  for (var e3 = 1; e3 < arguments.length; e3++) {
19374
19374
  var t = arguments[e3];
19375
19375
  for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
19376
19376
  }
19377
19377
  return n2;
19378
- }, _extends$3.apply(null, arguments);
19378
+ }, _extends$2.apply(null, arguments);
19379
19379
  }
19380
19380
  var reactIs$1 = { exports: {} };
19381
19381
  var reactIs_development$1 = {};
@@ -20868,7 +20868,7 @@ var createStyled$1 = function createStyled(tag, options) {
20868
20868
  }
20869
20869
  });
20870
20870
  Styled.withComponent = function(nextTag, nextOptions) {
20871
- var newStyled2 = createStyled(nextTag, _extends$3({}, options, nextOptions, {
20871
+ var newStyled2 = createStyled(nextTag, _extends$2({}, options, nextOptions, {
20872
20872
  shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
20873
20873
  }));
20874
20874
  return newStyled2.apply(void 0, styles);
@@ -25642,14 +25642,14 @@ function chainPropTypes(propType1, propType2) {
25642
25642
  return propType1(...args) || propType2(...args);
25643
25643
  };
25644
25644
  }
25645
- function _extends$2() {
25646
- return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
25645
+ function _extends$1() {
25646
+ return _extends$1 = Object.assign ? Object.assign.bind() : function(n2) {
25647
25647
  for (var e3 = 1; e3 < arguments.length; e3++) {
25648
25648
  var t = arguments[e3];
25649
25649
  for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
25650
25650
  }
25651
25651
  return n2;
25652
- }, _extends$2.apply(null, arguments);
25652
+ }, _extends$1.apply(null, arguments);
25653
25653
  }
25654
25654
  function _objectWithoutPropertiesLoose(r2, e3) {
25655
25655
  if (null == r2) return {};
@@ -25660,16 +25660,16 @@ function _objectWithoutPropertiesLoose(r2, e3) {
25660
25660
  }
25661
25661
  return t;
25662
25662
  }
25663
- function _setPrototypeOf$1(t, e3) {
25664
- return _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e4) {
25663
+ function _setPrototypeOf(t, e3) {
25664
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e4) {
25665
25665
  return t2.__proto__ = e4, t2;
25666
- }, _setPrototypeOf$1(t, e3);
25666
+ }, _setPrototypeOf(t, e3);
25667
25667
  }
25668
- function _inheritsLoose$1(t, o2) {
25669
- t.prototype = Object.create(o2.prototype), t.prototype.constructor = t, _setPrototypeOf$1(t, o2);
25668
+ function _inheritsLoose(t, o2) {
25669
+ t.prototype = Object.create(o2.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o2);
25670
25670
  }
25671
25671
  const TransitionGroupContext = React__default.createContext(null);
25672
- function _assertThisInitialized$1(e3) {
25672
+ function _assertThisInitialized(e3) {
25673
25673
  if (void 0 === e3) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
25674
25674
  return e3;
25675
25675
  }
@@ -25777,11 +25777,11 @@ var defaultProps$P = {
25777
25777
  }
25778
25778
  };
25779
25779
  var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
25780
- _inheritsLoose$1(TransitionGroup2, _React$Component);
25780
+ _inheritsLoose(TransitionGroup2, _React$Component);
25781
25781
  function TransitionGroup2(props, context) {
25782
25782
  var _this;
25783
25783
  _this = _React$Component.call(this, props, context) || this;
25784
- var handleExited = _this.handleExited.bind(_assertThisInitialized$1(_this));
25784
+ var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
25785
25785
  _this.state = {
25786
25786
  contextValue: {
25787
25787
  isMounting: true
@@ -25818,7 +25818,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
25818
25818
  }
25819
25819
  if (this.mounted) {
25820
25820
  this.setState(function(state) {
25821
- var children2 = _extends$2({}, state.children);
25821
+ var children2 = _extends$1({}, state.children);
25822
25822
  delete children2[child.key];
25823
25823
  return {
25824
25824
  children: children2
@@ -30597,7 +30597,7 @@ var defineProperty = function(obj, key, value) {
30597
30597
  }
30598
30598
  return obj;
30599
30599
  };
30600
- var _extends$1 = Object.assign || function(target) {
30600
+ var _extends = Object.assign || function(target) {
30601
30601
  for (var i2 = 1; i2 < arguments.length; i2++) {
30602
30602
  var source = arguments[i2];
30603
30603
  for (var key in source) {
@@ -30609,7 +30609,7 @@ var _extends$1 = Object.assign || function(target) {
30609
30609
  return target;
30610
30610
  };
30611
30611
  function getClientRect(offsets) {
30612
- return _extends$1({}, offsets, {
30612
+ return _extends({}, offsets, {
30613
30613
  right: offsets.left + offsets.width,
30614
30614
  bottom: offsets.top + offsets.height
30615
30615
  });
@@ -30793,7 +30793,7 @@ function computeAutoPlacement(placement, refRect, popper, reference, boundariesE
30793
30793
  }
30794
30794
  };
30795
30795
  var sortedAreas = Object.keys(rects).map(function(key) {
30796
- return _extends$1({
30796
+ return _extends({
30797
30797
  key
30798
30798
  }, rects[key], {
30799
30799
  area: getArea(rects[key])
@@ -31101,9 +31101,9 @@ function computeStyle(data, options) {
31101
31101
  var attributes = {
31102
31102
  "x-placement": data.placement
31103
31103
  };
31104
- data.attributes = _extends$1({}, attributes, data.attributes);
31105
- data.styles = _extends$1({}, styles, data.styles);
31106
- data.arrowStyles = _extends$1({}, data.offsets.arrow, data.arrowStyles);
31104
+ data.attributes = _extends({}, attributes, data.attributes);
31105
+ data.styles = _extends({}, styles, data.styles);
31106
+ data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
31107
31107
  return data;
31108
31108
  }
31109
31109
  function isModifierRequired(modifiers2, requestingName, requestedName) {
@@ -31238,7 +31238,7 @@ function flip(data, options) {
31238
31238
  variation = getOppositeVariation(variation);
31239
31239
  }
31240
31240
  data.placement = placement + (variation ? "-" + variation : "");
31241
- data.offsets.popper = _extends$1({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
31241
+ data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
31242
31242
  data = runModifiers(data.instance.modifiers, data, "flip");
31243
31243
  }
31244
31244
  });
@@ -31397,7 +31397,7 @@ function preventOverflow(data, options) {
31397
31397
  };
31398
31398
  order.forEach(function(placement) {
31399
31399
  var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
31400
- popper = _extends$1({}, popper, check[side](placement));
31400
+ popper = _extends({}, popper, check[side](placement));
31401
31401
  });
31402
31402
  data.offsets.popper = popper;
31403
31403
  return data;
@@ -31415,7 +31415,7 @@ function shift(data) {
31415
31415
  start: defineProperty({}, side, reference[side]),
31416
31416
  end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
31417
31417
  };
31418
- data.offsets.popper = _extends$1({}, popper, shiftOffsets[shiftvariation]);
31418
+ data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
31419
31419
  }
31420
31420
  return data;
31421
31421
  }
@@ -31818,7 +31818,7 @@ var Popper$1 = function() {
31818
31818
  return requestAnimationFrame(_this.update);
31819
31819
  };
31820
31820
  this.update = debounce(this.update.bind(this));
31821
- this.options = _extends$1({}, Popper2.Defaults, options);
31821
+ this.options = _extends({}, Popper2.Defaults, options);
31822
31822
  this.state = {
31823
31823
  isDestroyed: false,
31824
31824
  isCreated: false,
@@ -31827,11 +31827,11 @@ var Popper$1 = function() {
31827
31827
  this.reference = reference && reference.jquery ? reference[0] : reference;
31828
31828
  this.popper = popper && popper.jquery ? popper[0] : popper;
31829
31829
  this.options.modifiers = {};
31830
- Object.keys(_extends$1({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name2) {
31831
- _this.options.modifiers[name2] = _extends$1({}, Popper2.Defaults.modifiers[name2] || {}, options.modifiers ? options.modifiers[name2] : {});
31830
+ Object.keys(_extends({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name2) {
31831
+ _this.options.modifiers[name2] = _extends({}, Popper2.Defaults.modifiers[name2] || {}, options.modifiers ? options.modifiers[name2] : {});
31832
31832
  });
31833
31833
  this.modifiers = Object.keys(this.options.modifiers).map(function(name2) {
31834
- return _extends$1({
31834
+ return _extends({
31835
31835
  name: name2
31836
31836
  }, _this.options.modifiers[name2]);
31837
31837
  }).sort(function(a2, b) {
@@ -32061,38 +32061,6 @@ const Popper = React.forwardRef((props, ref) => {
32061
32061
  ...style2
32062
32062
  }, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
32063
32063
  });
32064
- function _extends() {
32065
- _extends = Object.assign ? Object.assign.bind() : function(target) {
32066
- for (var i2 = 1; i2 < arguments.length; i2++) {
32067
- var source = arguments[i2];
32068
- for (var key in source) {
32069
- if (Object.prototype.hasOwnProperty.call(source, key)) {
32070
- target[key] = source[key];
32071
- }
32072
- }
32073
- }
32074
- return target;
32075
- };
32076
- return _extends.apply(this, arguments);
32077
- }
32078
- function _assertThisInitialized(self2) {
32079
- if (self2 === void 0) {
32080
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
32081
- }
32082
- return self2;
32083
- }
32084
- function _setPrototypeOf(o2, p) {
32085
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
32086
- o3.__proto__ = p2;
32087
- return o3;
32088
- };
32089
- return _setPrototypeOf(o2, p);
32090
- }
32091
- function _inheritsLoose(subClass, superClass) {
32092
- subClass.prototype = Object.create(superClass.prototype);
32093
- subClass.prototype.constructor = subClass;
32094
- _setPrototypeOf(subClass, superClass);
32095
- }
32096
32064
  var safeIsNaN = Number.isNaN || function ponyfill(value) {
32097
32065
  return typeof value === "number" && value !== value;
32098
32066
  };
@@ -32460,7 +32428,7 @@ function createListComponent(_ref) {
32460
32428
  className,
32461
32429
  onScroll,
32462
32430
  ref: this._outerRefSetter,
32463
- style: _extends({
32431
+ style: _extends$1({
32464
32432
  position: "relative",
32465
32433
  height: height2,
32466
32434
  width: width2,
@@ -139198,22 +139166,22 @@ function addDecoder(cases, importFn) {
139198
139166
  }
139199
139167
  cases.forEach((c) => registry$1.set(c, importFn));
139200
139168
  }
139201
- addDecoder([void 0, 1], () => import("./raw-Bm2u0Lwc.js").then((m) => m.default));
139202
- addDecoder(5, () => import("./lzw-BekgzvbP.js").then((m) => m.default));
139169
+ addDecoder([void 0, 1], () => import("./raw-M2AeXGn-.js").then((m) => m.default));
139170
+ addDecoder(5, () => import("./lzw-SmfMfK-N.js").then((m) => m.default));
139203
139171
  addDecoder(6, () => {
139204
139172
  throw new Error("old style JPEG compression is not supported.");
139205
139173
  });
139206
- addDecoder(7, () => import("./jpeg-B02WYPwH.js").then((m) => m.default));
139207
- addDecoder([8, 32946], () => import("./deflate-BQiUjtex.js").then((m) => m.default));
139208
- addDecoder(32773, () => import("./packbits-8Jb3k-fa.js").then((m) => m.default));
139174
+ addDecoder(7, () => import("./jpeg-MuaEoA29.js").then((m) => m.default));
139175
+ addDecoder([8, 32946], () => import("./deflate-CafSYkE8.js").then((m) => m.default));
139176
+ addDecoder(32773, () => import("./packbits-DM8_km8s.js").then((m) => m.default));
139209
139177
  addDecoder(
139210
139178
  34887,
139211
- () => import("./lerc-nZgXornh.js").then(async (m) => {
139179
+ () => import("./lerc-Crl3Us1z.js").then(async (m) => {
139212
139180
  await m.zstd.init();
139213
139181
  return m;
139214
139182
  }).then((m) => m.default)
139215
139183
  );
139216
- addDecoder(50001, () => import("./webimage-C67hv5tG.js").then((m) => m.default));
139184
+ addDecoder(50001, () => import("./webimage-BH-xh1eM.js").then((m) => m.default));
139217
139185
  function decodeRowAcc(row, stride) {
139218
139186
  let length2 = row.length - stride;
139219
139187
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-BYqNlxEk.js";
1
+ import { a, H } from "./index-CdqVjZrU.js";
2
2
  export {
3
3
  a as Heatmap,
4
4
  H as HeatmapSubscriber
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BYqNlxEk.js";
1
+ import { B as BaseDecoder } from "./index-CdqVjZrU.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 { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-BYqNlxEk.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-CdqVjZrU.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BYqNlxEk.js";
1
+ import { B as BaseDecoder } from "./index-CdqVjZrU.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 { B as BaseDecoder } from "./index-BYqNlxEk.js";
1
+ import { B as BaseDecoder } from "./index-CdqVjZrU.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BYqNlxEk.js";
1
+ import { B as BaseDecoder } from "./index-CdqVjZrU.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BYqNlxEk.js";
1
+ import { B as BaseDecoder } from "./index-CdqVjZrU.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/heatmap",
3
- "version": "3.9.3",
3
+ "version": "3.9.4",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,15 +19,15 @@
19
19
  "lodash-es": "^4.17.21",
20
20
  "uuid": "^9.0.0",
21
21
  "react-aria": "^3.28.0",
22
- "@vitessce/styles": "3.9.3",
23
- "@vitessce/constants-internal": "3.9.3",
24
- "@vitessce/gl": "3.9.3",
25
- "@vitessce/legend": "3.9.3",
26
- "@vitessce/tooltip": "3.9.3",
27
- "@vitessce/utils": "3.9.3",
28
- "@vitessce/sets-utils": "3.9.3",
29
- "@vitessce/vit-s": "3.9.3",
30
- "@vitessce/workers": "3.9.3"
22
+ "@vitessce/constants-internal": "3.9.4",
23
+ "@vitessce/gl": "3.9.4",
24
+ "@vitessce/sets-utils": "3.9.4",
25
+ "@vitessce/legend": "3.9.4",
26
+ "@vitessce/styles": "3.9.4",
27
+ "@vitessce/tooltip": "3.9.4",
28
+ "@vitessce/utils": "3.9.4",
29
+ "@vitessce/workers": "3.9.4",
30
+ "@vitessce/vit-s": "3.9.4"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",