@vitessce/scatterplot-embedding 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-DKcX98mt.js";
2
+ import { B as BaseDecoder } from "./index-CDWR6IMJ.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -123422,22 +123422,22 @@ function addDecoder(cases, importFn) {
123422
123422
  }
123423
123423
  cases.forEach((c2) => registry$1.set(c2, importFn));
123424
123424
  }
123425
- addDecoder([void 0, 1], () => import("./raw-DR0jpevb.js").then((m2) => m2.default));
123426
- addDecoder(5, () => import("./lzw-BJeBHXe5.js").then((m2) => m2.default));
123425
+ addDecoder([void 0, 1], () => import("./raw-VHHlcd3d.js").then((m2) => m2.default));
123426
+ addDecoder(5, () => import("./lzw-C2v0Vgro.js").then((m2) => m2.default));
123427
123427
  addDecoder(6, () => {
123428
123428
  throw new Error("old style JPEG compression is not supported.");
123429
123429
  });
123430
- addDecoder(7, () => import("./jpeg-Z95qR9G6.js").then((m2) => m2.default));
123431
- addDecoder([8, 32946], () => import("./deflate-B3amQysb.js").then((m2) => m2.default));
123432
- addDecoder(32773, () => import("./packbits-Bg747Gns.js").then((m2) => m2.default));
123430
+ addDecoder(7, () => import("./jpeg-D1J3Yyuv.js").then((m2) => m2.default));
123431
+ addDecoder([8, 32946], () => import("./deflate-CWfNPY8G.js").then((m2) => m2.default));
123432
+ addDecoder(32773, () => import("./packbits-BdcRH7tW.js").then((m2) => m2.default));
123433
123433
  addDecoder(
123434
123434
  34887,
123435
- () => import("./lerc-CYJUh1Nd.js").then(async (m2) => {
123435
+ () => import("./lerc-BPUie9tO.js").then(async (m2) => {
123436
123436
  await m2.zstd.init();
123437
123437
  return m2;
123438
123438
  }).then((m2) => m2.default)
123439
123439
  );
123440
- addDecoder(50001, () => import("./webimage-FX5f_cgB.js").then((m2) => m2.default));
123440
+ addDecoder(50001, () => import("./webimage-DmwF48h3.js").then((m2) => m2.default));
123441
123441
  function decodeRowAcc(row, stride) {
123442
123442
  let length2 = row.length - stride;
123443
123443
  let offset2 = 0;
@@ -137705,14 +137705,14 @@ var createCache = function createCache2(options) {
137705
137705
  cache2.sheet.hydrate(nodesToHydrate);
137706
137706
  return cache2;
137707
137707
  };
137708
- function _extends$3() {
137709
- return _extends$3 = Object.assign ? Object.assign.bind() : function(n2) {
137708
+ function _extends$2() {
137709
+ return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
137710
137710
  for (var e3 = 1; e3 < arguments.length; e3++) {
137711
137711
  var t = arguments[e3];
137712
137712
  for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
137713
137713
  }
137714
137714
  return n2;
137715
- }, _extends$3.apply(null, arguments);
137715
+ }, _extends$2.apply(null, arguments);
137716
137716
  }
137717
137717
  var reactIs$1 = { exports: {} };
137718
137718
  var reactIs_development$1 = {};
@@ -139205,7 +139205,7 @@ var createStyled$1 = function createStyled(tag, options) {
139205
139205
  }
139206
139206
  });
139207
139207
  Styled.withComponent = function(nextTag, nextOptions) {
139208
- var newStyled2 = createStyled(nextTag, _extends$3({}, options, nextOptions, {
139208
+ var newStyled2 = createStyled(nextTag, _extends$2({}, options, nextOptions, {
139209
139209
  shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
139210
139210
  }));
139211
139211
  return newStyled2.apply(void 0, styles);
@@ -143979,14 +143979,14 @@ function chainPropTypes(propType1, propType2) {
143979
143979
  return propType1(...args) || propType2(...args);
143980
143980
  };
143981
143981
  }
143982
- function _extends$2() {
143983
- return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
143982
+ function _extends$1() {
143983
+ return _extends$1 = Object.assign ? Object.assign.bind() : function(n2) {
143984
143984
  for (var e3 = 1; e3 < arguments.length; e3++) {
143985
143985
  var t = arguments[e3];
143986
143986
  for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
143987
143987
  }
143988
143988
  return n2;
143989
- }, _extends$2.apply(null, arguments);
143989
+ }, _extends$1.apply(null, arguments);
143990
143990
  }
143991
143991
  function _objectWithoutPropertiesLoose(r2, e3) {
143992
143992
  if (null == r2) return {};
@@ -143997,16 +143997,16 @@ function _objectWithoutPropertiesLoose(r2, e3) {
143997
143997
  }
143998
143998
  return t;
143999
143999
  }
144000
- function _setPrototypeOf$1(t, e3) {
144001
- return _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e4) {
144000
+ function _setPrototypeOf(t, e3) {
144001
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e4) {
144002
144002
  return t2.__proto__ = e4, t2;
144003
- }, _setPrototypeOf$1(t, e3);
144003
+ }, _setPrototypeOf(t, e3);
144004
144004
  }
144005
- function _inheritsLoose$1(t, o2) {
144006
- t.prototype = Object.create(o2.prototype), t.prototype.constructor = t, _setPrototypeOf$1(t, o2);
144005
+ function _inheritsLoose(t, o2) {
144006
+ t.prototype = Object.create(o2.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o2);
144007
144007
  }
144008
144008
  const TransitionGroupContext = React__default.createContext(null);
144009
- function _assertThisInitialized$1(e3) {
144009
+ function _assertThisInitialized(e3) {
144010
144010
  if (void 0 === e3) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
144011
144011
  return e3;
144012
144012
  }
@@ -144114,11 +144114,11 @@ var defaultProps = {
144114
144114
  }
144115
144115
  };
144116
144116
  var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
144117
- _inheritsLoose$1(TransitionGroup2, _React$Component);
144117
+ _inheritsLoose(TransitionGroup2, _React$Component);
144118
144118
  function TransitionGroup2(props, context) {
144119
144119
  var _this;
144120
144120
  _this = _React$Component.call(this, props, context) || this;
144121
- var handleExited = _this.handleExited.bind(_assertThisInitialized$1(_this));
144121
+ var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
144122
144122
  _this.state = {
144123
144123
  contextValue: {
144124
144124
  isMounting: true
@@ -144155,7 +144155,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
144155
144155
  }
144156
144156
  if (this.mounted) {
144157
144157
  this.setState(function(state) {
144158
- var children2 = _extends$2({}, state.children);
144158
+ var children2 = _extends$1({}, state.children);
144159
144159
  delete children2[child.key];
144160
144160
  return {
144161
144161
  children: children2
@@ -148915,7 +148915,7 @@ var defineProperty = function(obj, key, value) {
148915
148915
  }
148916
148916
  return obj;
148917
148917
  };
148918
- var _extends$1 = Object.assign || function(target) {
148918
+ var _extends = Object.assign || function(target) {
148919
148919
  for (var i2 = 1; i2 < arguments.length; i2++) {
148920
148920
  var source = arguments[i2];
148921
148921
  for (var key in source) {
@@ -148927,7 +148927,7 @@ var _extends$1 = Object.assign || function(target) {
148927
148927
  return target;
148928
148928
  };
148929
148929
  function getClientRect(offsets) {
148930
- return _extends$1({}, offsets, {
148930
+ return _extends({}, offsets, {
148931
148931
  right: offsets.left + offsets.width,
148932
148932
  bottom: offsets.top + offsets.height
148933
148933
  });
@@ -149111,7 +149111,7 @@ function computeAutoPlacement(placement, refRect, popper, reference, boundariesE
149111
149111
  }
149112
149112
  };
149113
149113
  var sortedAreas = Object.keys(rects).map(function(key) {
149114
- return _extends$1({
149114
+ return _extends({
149115
149115
  key
149116
149116
  }, rects[key], {
149117
149117
  area: getArea(rects[key])
@@ -149419,9 +149419,9 @@ function computeStyle(data, options) {
149419
149419
  var attributes = {
149420
149420
  "x-placement": data.placement
149421
149421
  };
149422
- data.attributes = _extends$1({}, attributes, data.attributes);
149423
- data.styles = _extends$1({}, styles, data.styles);
149424
- data.arrowStyles = _extends$1({}, data.offsets.arrow, data.arrowStyles);
149422
+ data.attributes = _extends({}, attributes, data.attributes);
149423
+ data.styles = _extends({}, styles, data.styles);
149424
+ data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
149425
149425
  return data;
149426
149426
  }
149427
149427
  function isModifierRequired(modifiers2, requestingName, requestedName) {
@@ -149556,7 +149556,7 @@ function flip(data, options) {
149556
149556
  variation = getOppositeVariation(variation);
149557
149557
  }
149558
149558
  data.placement = placement + (variation ? "-" + variation : "");
149559
- data.offsets.popper = _extends$1({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
149559
+ data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
149560
149560
  data = runModifiers(data.instance.modifiers, data, "flip");
149561
149561
  }
149562
149562
  });
@@ -149715,7 +149715,7 @@ function preventOverflow(data, options) {
149715
149715
  };
149716
149716
  order.forEach(function(placement) {
149717
149717
  var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
149718
- popper = _extends$1({}, popper, check[side](placement));
149718
+ popper = _extends({}, popper, check[side](placement));
149719
149719
  });
149720
149720
  data.offsets.popper = popper;
149721
149721
  return data;
@@ -149733,7 +149733,7 @@ function shift(data) {
149733
149733
  start: defineProperty({}, side, reference[side]),
149734
149734
  end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
149735
149735
  };
149736
- data.offsets.popper = _extends$1({}, popper, shiftOffsets[shiftvariation]);
149736
+ data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
149737
149737
  }
149738
149738
  return data;
149739
149739
  }
@@ -150136,7 +150136,7 @@ var Popper$1 = function() {
150136
150136
  return requestAnimationFrame(_this.update);
150137
150137
  };
150138
150138
  this.update = debounce(this.update.bind(this));
150139
- this.options = _extends$1({}, Popper2.Defaults, options);
150139
+ this.options = _extends({}, Popper2.Defaults, options);
150140
150140
  this.state = {
150141
150141
  isDestroyed: false,
150142
150142
  isCreated: false,
@@ -150145,11 +150145,11 @@ var Popper$1 = function() {
150145
150145
  this.reference = reference && reference.jquery ? reference[0] : reference;
150146
150146
  this.popper = popper && popper.jquery ? popper[0] : popper;
150147
150147
  this.options.modifiers = {};
150148
- Object.keys(_extends$1({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name2) {
150149
- _this.options.modifiers[name2] = _extends$1({}, Popper2.Defaults.modifiers[name2] || {}, options.modifiers ? options.modifiers[name2] : {});
150148
+ Object.keys(_extends({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name2) {
150149
+ _this.options.modifiers[name2] = _extends({}, Popper2.Defaults.modifiers[name2] || {}, options.modifiers ? options.modifiers[name2] : {});
150150
150150
  });
150151
150151
  this.modifiers = Object.keys(this.options.modifiers).map(function(name2) {
150152
- return _extends$1({
150152
+ return _extends({
150153
150153
  name: name2
150154
150154
  }, _this.options.modifiers[name2]);
150155
150155
  }).sort(function(a2, b) {
@@ -150379,38 +150379,6 @@ const Popper = React.forwardRef((props, ref) => {
150379
150379
  ...style2
150380
150380
  }, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
150381
150381
  });
150382
- function _extends() {
150383
- _extends = Object.assign ? Object.assign.bind() : function(target) {
150384
- for (var i2 = 1; i2 < arguments.length; i2++) {
150385
- var source = arguments[i2];
150386
- for (var key in source) {
150387
- if (Object.prototype.hasOwnProperty.call(source, key)) {
150388
- target[key] = source[key];
150389
- }
150390
- }
150391
- }
150392
- return target;
150393
- };
150394
- return _extends.apply(this, arguments);
150395
- }
150396
- function _assertThisInitialized(self2) {
150397
- if (self2 === void 0) {
150398
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
150399
- }
150400
- return self2;
150401
- }
150402
- function _setPrototypeOf(o2, p) {
150403
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
150404
- o3.__proto__ = p2;
150405
- return o3;
150406
- };
150407
- return _setPrototypeOf(o2, p);
150408
- }
150409
- function _inheritsLoose(subClass, superClass) {
150410
- subClass.prototype = Object.create(superClass.prototype);
150411
- subClass.prototype.constructor = subClass;
150412
- _setPrototypeOf(subClass, superClass);
150413
- }
150414
150382
  var safeIsNaN = Number.isNaN || function ponyfill(value) {
150415
150383
  return typeof value === "number" && value !== value;
150416
150384
  };
@@ -150778,7 +150746,7 @@ function createListComponent(_ref) {
150778
150746
  className,
150779
150747
  onScroll,
150780
150748
  ref: this._outerRefSetter,
150781
- style: _extends({
150749
+ style: _extends$1({
150782
150750
  position: "relative",
150783
150751
  height: height2,
150784
150752
  width: width2,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, E } from "./index-DKcX98mt.js";
1
+ import { D, E } from "./index-CDWR6IMJ.js";
2
2
  export {
3
3
  D as DualEmbeddingScatterplotSubscriber,
4
4
  E as EmbeddingScatterplotSubscriber
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DKcX98mt.js";
1
+ import { B as BaseDecoder } from "./index-CDWR6IMJ.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-DKcX98mt.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-CDWR6IMJ.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DKcX98mt.js";
1
+ import { B as BaseDecoder } from "./index-CDWR6IMJ.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-DKcX98mt.js";
1
+ import { B as BaseDecoder } from "./index-CDWR6IMJ.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-DKcX98mt.js";
1
+ import { B as BaseDecoder } from "./index-CDWR6IMJ.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-DKcX98mt.js";
1
+ import { B as BaseDecoder } from "./index-CDWR6IMJ.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/scatterplot-embedding",
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": {
@@ -20,13 +20,13 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "react-aria": "^3.28.0",
22
22
  "@turf/circle": "^7.2.0",
23
- "@vitessce/scatterplot": "3.9.3",
24
- "@vitessce/legend": "3.9.3",
25
- "@vitessce/sets-utils": "3.9.3",
26
- "@vitessce/utils": "3.9.3",
27
- "@vitessce/constants-internal": "3.9.3",
28
- "@vitessce/styles": "3.9.3",
29
- "@vitessce/vit-s": "3.9.3"
23
+ "@vitessce/styles": "3.9.4",
24
+ "@vitessce/constants-internal": "3.9.4",
25
+ "@vitessce/legend": "3.9.4",
26
+ "@vitessce/scatterplot": "3.9.4",
27
+ "@vitessce/sets-utils": "3.9.4",
28
+ "@vitessce/utils": "3.9.4",
29
+ "@vitessce/vit-s": "3.9.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "react": "18.3.1",