@vitessce/dev 3.5.1 → 3.5.2

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 { aQ as BaseDecoder } from "./index-47d7a9c6.js";
2
+ import { aQ as BaseDecoder } from "./index-52247fed.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -1,6 +1,6 @@
1
1
  import React__default, { createElement, isValidElement, PureComponent, Component } from "react";
2
2
  import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
3
- import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-47d7a9c6.js";
3
+ import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-52247fed.js";
4
4
  var promise = {};
5
5
  (function(exports2) {
6
6
  (function(global) {
@@ -913,10 +913,10 @@ const COMPONENT_COORDINATION_TYPES = {
913
913
  ]
914
914
  };
915
915
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
916
- const version$6 = "3.5.1";
917
- const date$5 = "2024-11-22";
916
+ const version$6 = "3.5.2";
917
+ const date$5 = "2024-11-25";
918
918
  const branch = "changeset-release/main";
919
- const hash$1 = "233b667a";
919
+ const hash$1 = "bca77bd4";
920
920
  const META_VERSION = {
921
921
  note,
922
922
  version: version$6,
@@ -9431,7 +9431,7 @@ function getStylesCreator(stylesOrCreator) {
9431
9431
  }
9432
9432
  }
9433
9433
  return {
9434
- create: function create6(theme, name2) {
9434
+ create: function create5(theme, name2) {
9435
9435
  var styles51;
9436
9436
  try {
9437
9437
  styles51 = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
@@ -20769,7 +20769,7 @@ var classCallCheck$1 = function(instance2, Constructor) {
20769
20769
  }
20770
20770
  };
20771
20771
  var createClass$1 = function() {
20772
- function defineProperties4(target2, props) {
20772
+ function defineProperties3(target2, props) {
20773
20773
  for (var i2 = 0; i2 < props.length; i2++) {
20774
20774
  var descriptor2 = props[i2];
20775
20775
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -20781,9 +20781,9 @@ var createClass$1 = function() {
20781
20781
  }
20782
20782
  return function(Constructor, protoProps, staticProps) {
20783
20783
  if (protoProps)
20784
- defineProperties4(Constructor.prototype, protoProps);
20784
+ defineProperties3(Constructor.prototype, protoProps);
20785
20785
  if (staticProps)
20786
- defineProperties4(Constructor, staticProps);
20786
+ defineProperties3(Constructor, staticProps);
20787
20787
  return Constructor;
20788
20788
  };
20789
20789
  }();
@@ -50531,14 +50531,14 @@ function toJsxRuntime(tree2, options) {
50531
50531
  throw new TypeError("Expected `Fragment` in options");
50532
50532
  }
50533
50533
  const filePath = options.filePath || void 0;
50534
- let create6;
50534
+ let create5;
50535
50535
  if (options.development) {
50536
50536
  if (typeof options.jsxDEV !== "function") {
50537
50537
  throw new TypeError(
50538
50538
  "Expected `jsxDEV` in options when `development: true`"
50539
50539
  );
50540
50540
  }
50541
- create6 = developmentCreate(filePath, options.jsxDEV);
50541
+ create5 = developmentCreate(filePath, options.jsxDEV);
50542
50542
  } else {
50543
50543
  if (typeof options.jsx !== "function") {
50544
50544
  throw new TypeError("Expected `jsx` in production options");
@@ -50546,13 +50546,13 @@ function toJsxRuntime(tree2, options) {
50546
50546
  if (typeof options.jsxs !== "function") {
50547
50547
  throw new TypeError("Expected `jsxs` in production options");
50548
50548
  }
50549
- create6 = productionCreate(filePath, options.jsx, options.jsxs);
50549
+ create5 = productionCreate(filePath, options.jsx, options.jsxs);
50550
50550
  }
50551
50551
  const state = {
50552
50552
  Fragment: options.Fragment,
50553
50553
  ancestors: [],
50554
50554
  components: options.components || {},
50555
- create: create6,
50555
+ create: create5,
50556
50556
  elementAttributeNameCase: options.elementAttributeNameCase || "react",
50557
50557
  evaluater: options.createEvaluater ? options.createEvaluater() : void 0,
50558
50558
  filePath,
@@ -50676,16 +50676,16 @@ function addChildren(props, children3) {
50676
50676
  }
50677
50677
  }
50678
50678
  function productionCreate(_2, jsx, jsxs) {
50679
- return create6;
50680
- function create6(_3, type3, props, key2) {
50679
+ return create5;
50680
+ function create5(_3, type3, props, key2) {
50681
50681
  const isStaticChildren = Array.isArray(props.children);
50682
50682
  const fn2 = isStaticChildren ? jsxs : jsx;
50683
50683
  return key2 ? fn2(type3, props, key2) : fn2(type3, props);
50684
50684
  }
50685
50685
  }
50686
50686
  function developmentCreate(filePath, jsxDEV) {
50687
- return create6;
50688
- function create6(node2, type3, props, key2) {
50687
+ return create5;
50688
+ function create5(node2, type3, props, key2) {
50689
50689
  const isStaticChildren = Array.isArray(props.children);
50690
50690
  const point2 = pointStart(node2);
50691
50691
  return jsxDEV(
@@ -54828,14 +54828,14 @@ function parse$e(options) {
54828
54828
  defined: [],
54829
54829
  lazy: {},
54830
54830
  constructs: constructs2,
54831
- content: create6(content$2),
54832
- document: create6(document$2),
54833
- flow: create6(flow$1),
54834
- string: create6(string$4),
54835
- text: create6(text$5)
54831
+ content: create5(content$2),
54832
+ document: create5(document$2),
54833
+ flow: create5(flow$1),
54834
+ string: create5(string$4),
54835
+ text: create5(text$5)
54836
54836
  };
54837
54837
  return parser2;
54838
- function create6(initial) {
54838
+ function create5(initial) {
54839
54839
  return creator2;
54840
54840
  function creator2(from) {
54841
54841
  return createTokenizer(parser2, initial, from);
@@ -55203,10 +55203,10 @@ function compiler(options) {
55203
55203
  events2[start][1]._spread = listSpread;
55204
55204
  return length2;
55205
55205
  }
55206
- function opener(create6, and) {
55206
+ function opener(create5, and) {
55207
55207
  return open2;
55208
55208
  function open2(token) {
55209
- enter.call(this, create6(token), token);
55209
+ enter.call(this, create5(token), token);
55210
55210
  if (and)
55211
55211
  and.call(this, token);
55212
55212
  }
@@ -67936,10 +67936,10 @@ var _propertyDesc = function(bitmap, value2) {
67936
67936
  value: value2
67937
67937
  };
67938
67938
  };
67939
- var dP$2 = require_objectDp();
67939
+ var dP$1 = require_objectDp();
67940
67940
  var createDesc$2 = _propertyDesc;
67941
67941
  var _hide = require_descriptors() ? function(object2, key2, value2) {
67942
- return dP$2.f(object2, key2, createDesc$2(1, value2));
67942
+ return dP$1.f(object2, key2, createDesc$2(1, value2));
67943
67943
  } : function(object2, key2, value2) {
67944
67944
  object2[key2] = value2;
67945
67945
  return object2;
@@ -67953,7 +67953,7 @@ var core$3 = _coreExports;
67953
67953
  var ctx = _ctx;
67954
67954
  var hide$2 = _hide;
67955
67955
  var has$a = _has$1;
67956
- var PROTOTYPE$2 = "prototype";
67956
+ var PROTOTYPE$1 = "prototype";
67957
67957
  var $export$6 = function(type3, name2, source2) {
67958
67958
  var IS_FORCED = type3 & $export$6.F;
67959
67959
  var IS_GLOBAL = type3 & $export$6.G;
@@ -67962,8 +67962,8 @@ var $export$6 = function(type3, name2, source2) {
67962
67962
  var IS_BIND = type3 & $export$6.B;
67963
67963
  var IS_WRAP = type3 & $export$6.W;
67964
67964
  var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
67965
- var expProto = exports2[PROTOTYPE$2];
67966
- var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
67965
+ var expProto = exports2[PROTOTYPE$1];
67966
+ var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$1];
67967
67967
  var key2, own2, out;
67968
67968
  if (IS_GLOBAL)
67969
67969
  source2 = name2;
@@ -67987,7 +67987,7 @@ var $export$6 = function(type3, name2, source2) {
67987
67987
  }
67988
67988
  return C3.apply(this, arguments);
67989
67989
  };
67990
- F[PROTOTYPE$2] = C3[PROTOTYPE$2];
67990
+ F[PROTOTYPE$1] = C3[PROTOTYPE$1];
67991
67991
  return F;
67992
67992
  }(out) : IS_PROTO && typeof out == "function" ? ctx(Function.call, out) : out;
67993
67993
  if (IS_PROTO) {
@@ -68092,22 +68092,30 @@ var px$2 = Math.random();
68092
68092
  var _uid = function(key2) {
68093
68093
  return "Symbol(".concat(key2 === void 0 ? "" : key2, ")_", (++id$4 + px$2).toString(36));
68094
68094
  };
68095
- var shared$1 = _sharedExports("keys");
68096
- var uid$3 = _uid;
68097
- var _sharedKey = function(key2) {
68098
- return shared$1[key2] || (shared$1[key2] = uid$3(key2));
68099
- };
68095
+ var _sharedKey;
68096
+ var hasRequired_sharedKey;
68097
+ function require_sharedKey() {
68098
+ if (hasRequired_sharedKey)
68099
+ return _sharedKey;
68100
+ hasRequired_sharedKey = 1;
68101
+ var shared2 = _sharedExports("keys");
68102
+ var uid2 = _uid;
68103
+ _sharedKey = function(key2) {
68104
+ return shared2[key2] || (shared2[key2] = uid2(key2));
68105
+ };
68106
+ return _sharedKey;
68107
+ }
68100
68108
  var has$9 = _has$1;
68101
68109
  var toIObject$4 = _toIobject;
68102
68110
  var arrayIndexOf = _arrayIncludes(false);
68103
- var IE_PROTO$2 = _sharedKey("IE_PROTO");
68111
+ var IE_PROTO$1 = require_sharedKey()("IE_PROTO");
68104
68112
  var _objectKeysInternal = function(object2, names) {
68105
68113
  var O = toIObject$4(object2);
68106
68114
  var i2 = 0;
68107
68115
  var result = [];
68108
68116
  var key2;
68109
68117
  for (key2 in O)
68110
- if (key2 != IE_PROTO$2)
68118
+ if (key2 != IE_PROTO$1)
68111
68119
  has$9(O, key2) && result.push(key2);
68112
68120
  while (names.length > i2)
68113
68121
  if (has$9(O, key2 = names[i2++])) {
@@ -68117,9 +68125,9 @@ var _objectKeysInternal = function(object2, names) {
68117
68125
  };
68118
68126
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
68119
68127
  var $keys$2 = _objectKeysInternal;
68120
- var enumBugKeys$1 = _enumBugKeys;
68128
+ var enumBugKeys = _enumBugKeys;
68121
68129
  var _objectKeys$1 = Object.keys || function keys(O) {
68122
- return $keys$2(O, enumBugKeys$1);
68130
+ return $keys$2(O, enumBugKeys);
68123
68131
  };
68124
68132
  var _objectGops = {};
68125
68133
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -68237,7 +68245,7 @@ function _interopRequireDefault$o(obj) {
68237
68245
  return obj && obj.__esModule ? obj : { default: obj };
68238
68246
  }
68239
68247
  var _default$5 = function() {
68240
- function defineProperties4(target2, props) {
68248
+ function defineProperties3(target2, props) {
68241
68249
  for (var i2 = 0; i2 < props.length; i2++) {
68242
68250
  var descriptor2 = props[i2];
68243
68251
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -68249,9 +68257,9 @@ var _default$5 = function() {
68249
68257
  }
68250
68258
  return function(Constructor, protoProps, staticProps) {
68251
68259
  if (protoProps)
68252
- defineProperties4(Constructor.prototype, protoProps);
68260
+ defineProperties3(Constructor.prototype, protoProps);
68253
68261
  if (staticProps)
68254
- defineProperties4(Constructor, staticProps);
68262
+ defineProperties3(Constructor, staticProps);
68255
68263
  return Constructor;
68256
68264
  };
68257
68265
  }();
@@ -68272,19 +68280,27 @@ var _stringAt = function(TO_STRING) {
68272
68280
  };
68273
68281
  var _redefine = _hide;
68274
68282
  var _iterators = {};
68275
- var dP$1 = require_objectDp();
68276
- var anObject$2 = _anObject;
68277
- var getKeys$1 = _objectKeys$1;
68278
- var _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
68279
- anObject$2(O);
68280
- var keys4 = getKeys$1(Properties);
68281
- var length2 = keys4.length;
68282
- var i2 = 0;
68283
- var P2;
68284
- while (length2 > i2)
68285
- dP$1.f(O, P2 = keys4[i2++], Properties[P2]);
68286
- return O;
68287
- };
68283
+ var _objectDps;
68284
+ var hasRequired_objectDps;
68285
+ function require_objectDps() {
68286
+ if (hasRequired_objectDps)
68287
+ return _objectDps;
68288
+ hasRequired_objectDps = 1;
68289
+ var dP2 = require_objectDp();
68290
+ var anObject2 = _anObject;
68291
+ var getKeys2 = _objectKeys$1;
68292
+ _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties3(O, Properties) {
68293
+ anObject2(O);
68294
+ var keys4 = getKeys2(Properties);
68295
+ var length2 = keys4.length;
68296
+ var i2 = 0;
68297
+ var P2;
68298
+ while (length2 > i2)
68299
+ dP2.f(O, P2 = keys4[i2++], Properties[P2]);
68300
+ return O;
68301
+ };
68302
+ return _objectDps;
68303
+ }
68288
68304
  var _html;
68289
68305
  var hasRequired_html;
68290
68306
  function require_html() {
@@ -68295,42 +68311,50 @@ function require_html() {
68295
68311
  _html = document2 && document2.documentElement;
68296
68312
  return _html;
68297
68313
  }
68298
- var anObject$1 = _anObject;
68299
- var dPs = _objectDps;
68300
- var enumBugKeys = _enumBugKeys;
68301
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
68302
- var Empty$2 = function() {
68303
- };
68304
- var PROTOTYPE$1 = "prototype";
68305
- var createDict = function() {
68306
- var iframe = require_domCreate()("iframe");
68307
- var i2 = enumBugKeys.length;
68308
- var lt2 = "<";
68309
- var gt2 = ">";
68310
- var iframeDocument;
68311
- iframe.style.display = "none";
68312
- require_html().appendChild(iframe);
68313
- iframe.src = "javascript:";
68314
- iframeDocument = iframe.contentWindow.document;
68315
- iframeDocument.open();
68316
- iframeDocument.write(lt2 + "script" + gt2 + "document.F=Object" + lt2 + "/script" + gt2);
68317
- iframeDocument.close();
68318
- createDict = iframeDocument.F;
68319
- while (i2--)
68320
- delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
68321
- return createDict();
68322
- };
68323
- var _objectCreate = Object.create || function create2(O, Properties) {
68324
- var result;
68325
- if (O !== null) {
68326
- Empty$2[PROTOTYPE$1] = anObject$1(O);
68327
- result = new Empty$2();
68328
- Empty$2[PROTOTYPE$1] = null;
68329
- result[IE_PROTO$1] = O;
68330
- } else
68331
- result = createDict();
68332
- return Properties === void 0 ? result : dPs(result, Properties);
68333
- };
68314
+ var _objectCreate;
68315
+ var hasRequired_objectCreate;
68316
+ function require_objectCreate() {
68317
+ if (hasRequired_objectCreate)
68318
+ return _objectCreate;
68319
+ hasRequired_objectCreate = 1;
68320
+ var anObject2 = _anObject;
68321
+ var dPs = require_objectDps();
68322
+ var enumBugKeys2 = _enumBugKeys;
68323
+ var IE_PROTO2 = require_sharedKey()("IE_PROTO");
68324
+ var Empty2 = function() {
68325
+ };
68326
+ var PROTOTYPE2 = "prototype";
68327
+ var createDict = function() {
68328
+ var iframe = require_domCreate()("iframe");
68329
+ var i2 = enumBugKeys2.length;
68330
+ var lt2 = "<";
68331
+ var gt2 = ">";
68332
+ var iframeDocument;
68333
+ iframe.style.display = "none";
68334
+ require_html().appendChild(iframe);
68335
+ iframe.src = "javascript:";
68336
+ iframeDocument = iframe.contentWindow.document;
68337
+ iframeDocument.open();
68338
+ iframeDocument.write(lt2 + "script" + gt2 + "document.F=Object" + lt2 + "/script" + gt2);
68339
+ iframeDocument.close();
68340
+ createDict = iframeDocument.F;
68341
+ while (i2--)
68342
+ delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
68343
+ return createDict();
68344
+ };
68345
+ _objectCreate = Object.create || function create5(O, Properties) {
68346
+ var result;
68347
+ if (O !== null) {
68348
+ Empty2[PROTOTYPE2] = anObject2(O);
68349
+ result = new Empty2();
68350
+ Empty2[PROTOTYPE2] = null;
68351
+ result[IE_PROTO2] = O;
68352
+ } else
68353
+ result = createDict();
68354
+ return Properties === void 0 ? result : dPs(result, Properties);
68355
+ };
68356
+ return _objectCreate;
68357
+ }
68334
68358
  var _wks = { exports: {} };
68335
68359
  var store = _sharedExports("wks");
68336
68360
  var uid$2 = _uid;
@@ -68348,7 +68372,7 @@ var _setToStringTag = function(it2, tag2, stat) {
68348
68372
  if (it2 && !has$8(it2 = stat ? it2 : it2.prototype, TAG))
68349
68373
  def$1(it2, TAG, { configurable: true, value: tag2 });
68350
68374
  };
68351
- var create$c = _objectCreate;
68375
+ var create$c = require_objectCreate();
68352
68376
  var descriptor = _propertyDesc;
68353
68377
  var setToStringTag$2 = _setToStringTag;
68354
68378
  var IteratorPrototype$2 = {};
@@ -68361,7 +68385,7 @@ var _iterCreate = function(Constructor, NAME2, next3) {
68361
68385
  };
68362
68386
  var has$7 = _has$1;
68363
68387
  var toObject$2 = _toObject;
68364
- var IE_PROTO = _sharedKey("IE_PROTO");
68388
+ var IE_PROTO = require_sharedKey()("IE_PROTO");
68365
68389
  var ObjectProto$1 = Object.prototype;
68366
68390
  var _objectGpo = Object.getPrototypeOf || function(O) {
68367
68391
  O = toObject$2(O);
@@ -68524,23 +68548,23 @@ var setMeta = function(it2) {
68524
68548
  // weak collections IDs
68525
68549
  } });
68526
68550
  };
68527
- var fastKey = function(it2, create6) {
68551
+ var fastKey = function(it2, create5) {
68528
68552
  if (!isObject$e(it2))
68529
68553
  return typeof it2 == "symbol" ? it2 : (typeof it2 == "string" ? "S" : "P") + it2;
68530
68554
  if (!has$6(it2, META$1)) {
68531
68555
  if (!isExtensible(it2))
68532
68556
  return "F";
68533
- if (!create6)
68557
+ if (!create5)
68534
68558
  return "E";
68535
68559
  setMeta(it2);
68536
68560
  }
68537
68561
  return it2[META$1].i;
68538
68562
  };
68539
- var getWeak = function(it2, create6) {
68563
+ var getWeak = function(it2, create5) {
68540
68564
  if (!has$6(it2, META$1)) {
68541
68565
  if (!isExtensible(it2))
68542
68566
  return true;
68543
- if (!create6)
68567
+ if (!create5)
68544
68568
  return false;
68545
68569
  setMeta(it2);
68546
68570
  }
@@ -68649,7 +68673,7 @@ var toObject$1 = _toObject;
68649
68673
  var toIObject = _toIobject;
68650
68674
  var toPrimitive = _toPrimitive;
68651
68675
  var createDesc = _propertyDesc;
68652
- var _create$1 = _objectCreate;
68676
+ var _create$1 = require_objectCreate();
68653
68677
  var gOPNExt = _objectGopnExt;
68654
68678
  var $GOPD = _objectGopd;
68655
68679
  var $GOPS = _objectGops;
@@ -68716,7 +68740,7 @@ var $defineProperty$4 = function defineProperty2(it2, key2, D2) {
68716
68740
  }
68717
68741
  return dP(it2, key2, D2);
68718
68742
  };
68719
- var $defineProperties = function defineProperties2(it2, P2) {
68743
+ var $defineProperties = function defineProperties(it2, P2) {
68720
68744
  anObject(it2);
68721
68745
  var keys4 = enumKeys(P2 = toIObject(P2));
68722
68746
  var i2 = 0;
@@ -68726,7 +68750,7 @@ var $defineProperties = function defineProperties2(it2, P2) {
68726
68750
  $defineProperty$4(it2, key2 = keys4[i2++], P2[key2]);
68727
68751
  return it2;
68728
68752
  };
68729
- var $create = function create3(it2, P2) {
68753
+ var $create = function create2(it2, P2) {
68730
68754
  return P2 === void 0 ? _create$1(it2) : $defineProperties(_create$1(it2), P2);
68731
68755
  };
68732
68756
  var $propertyIsEnumerable = function propertyIsEnumerable(key2) {
@@ -68953,9 +68977,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
68953
68977
  var setPrototypeOf$2 = _coreExports.Object.setPrototypeOf;
68954
68978
  var setPrototypeOf$1 = { "default": setPrototypeOf$2, __esModule: true };
68955
68979
  var $export = _export;
68956
- $export($export.S, "Object", { create: _objectCreate });
68980
+ $export($export.S, "Object", { create: require_objectCreate() });
68957
68981
  var $Object$2 = _coreExports.Object;
68958
- var create$b = function create4(P2, D2) {
68982
+ var create$b = function create3(P2, D2) {
68959
68983
  return $Object$2.create(P2, D2);
68960
68984
  };
68961
68985
  var create$a = { "default": create$b, __esModule: true };
@@ -123511,11 +123535,11 @@ class Tileset2D {
123511
123535
  this._dirty = false;
123512
123536
  }
123513
123537
  }
123514
- _getTile(index2, create6) {
123538
+ _getTile(index2, create5) {
123515
123539
  const id2 = this.getTileId(index2);
123516
123540
  let tile = this._cache.get(id2);
123517
123541
  let needsReload = false;
123518
- if (!tile && create6) {
123542
+ if (!tile && create5) {
123519
123543
  tile = new Tile2DHeader(index2);
123520
123544
  Object.assign(tile, this.getTileMetadata(tile.index));
123521
123545
  Object.assign(tile, {
@@ -151915,7 +151939,7 @@ var defineProperty$2 = function(object2, name2, value2, predicate) {
151915
151939
  defineDataProperty2(object2, name2, value2);
151916
151940
  }
151917
151941
  };
151918
- var defineProperties3 = function(object2, map2) {
151942
+ var defineProperties2 = function(object2, map2) {
151919
151943
  var predicates = arguments.length > 2 ? arguments[2] : {};
151920
151944
  var props = keys$4(map2);
151921
151945
  if (hasSymbols2) {
@@ -151925,8 +151949,8 @@ var defineProperties3 = function(object2, map2) {
151925
151949
  defineProperty$2(object2, props[i2], map2[props[i2]], predicates[props[i2]]);
151926
151950
  }
151927
151951
  };
151928
- defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
151929
- var defineProperties_1 = defineProperties3;
151952
+ defineProperties2.supportsDescriptors = !!supportsDescriptors$2;
151953
+ var defineProperties_1 = defineProperties2;
151930
151954
  var numberIsNaN = function(value2) {
151931
151955
  return value2 !== value2;
151932
151956
  };
@@ -186176,16 +186200,16 @@ async function getDecoder(fileDirectory) {
186176
186200
  const Decoder = await importFn();
186177
186201
  return new Decoder(fileDirectory);
186178
186202
  }
186179
- addDecoder([void 0, 1], () => import("./raw-9d629513.js").then((m2) => m2.default));
186180
- addDecoder(5, () => import("./lzw-26ab68ea.js").then((m2) => m2.default));
186203
+ addDecoder([void 0, 1], () => import("./raw-30423296.js").then((m2) => m2.default));
186204
+ addDecoder(5, () => import("./lzw-03433d00.js").then((m2) => m2.default));
186181
186205
  addDecoder(6, () => {
186182
186206
  throw new Error("old style JPEG compression is not supported.");
186183
186207
  });
186184
- addDecoder(7, () => import("./jpeg-065f4da6.js").then((m2) => m2.default));
186185
- addDecoder([8, 32946], () => import("./deflate-6539796d.js").then((m2) => m2.default));
186186
- addDecoder(32773, () => import("./packbits-da50d49a.js").then((m2) => m2.default));
186187
- addDecoder(34887, () => import("./lerc-02ddad96.js").then((m2) => m2.default));
186188
- addDecoder(50001, () => import("./webimage-f6a30aae.js").then((m2) => m2.default));
186208
+ addDecoder(7, () => import("./jpeg-fd91de62.js").then((m2) => m2.default));
186209
+ addDecoder([8, 32946], () => import("./deflate-72d799f5.js").then((m2) => m2.default));
186210
+ addDecoder(32773, () => import("./packbits-8bd96d43.js").then((m2) => m2.default));
186211
+ addDecoder(34887, () => import("./lerc-d9887b3e.js").then((m2) => m2.default));
186212
+ addDecoder(50001, () => import("./webimage-2d56d74e.js").then((m2) => m2.default));
186189
186213
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
186190
186214
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
186191
186215
  }
@@ -201511,18 +201535,18 @@ function selection_lower() {
201511
201535
  return this.each(lower);
201512
201536
  }
201513
201537
  function selection_append(name2) {
201514
- var create6 = typeof name2 === "function" ? name2 : creator(name2);
201538
+ var create5 = typeof name2 === "function" ? name2 : creator(name2);
201515
201539
  return this.select(function() {
201516
- return this.appendChild(create6.apply(this, arguments));
201540
+ return this.appendChild(create5.apply(this, arguments));
201517
201541
  });
201518
201542
  }
201519
201543
  function constantNull() {
201520
201544
  return null;
201521
201545
  }
201522
201546
  function selection_insert(name2, before) {
201523
- var create6 = typeof name2 === "function" ? name2 : creator(name2), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
201547
+ var create5 = typeof name2 === "function" ? name2 : creator(name2), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
201524
201548
  return this.select(function() {
201525
- return this.insertBefore(create6.apply(this, arguments), select2.apply(this, arguments) || null);
201549
+ return this.insertBefore(create5.apply(this, arguments), select2.apply(this, arguments) || null);
201526
201550
  });
201527
201551
  }
201528
201552
  function remove$1() {
@@ -206805,7 +206829,7 @@ var typedFunction$1 = { exports: {} };
206805
206829
  function undef() {
206806
206830
  return void 0;
206807
206831
  }
206808
- function create6() {
206832
+ function create5() {
206809
206833
  var _types = [
206810
206834
  { name: "number", test: function(x2) {
206811
206835
  return typeof x2 === "number";
@@ -207557,7 +207581,7 @@ var typedFunction$1 = { exports: {} };
207557
207581
  return createTypedFunction(name2, extractSignatures(fns));
207558
207582
  }
207559
207583
  });
207560
- typed2.create = create6;
207584
+ typed2.create = create5;
207561
207585
  typed2.types = _types;
207562
207586
  typed2.conversions = _conversions;
207563
207587
  typed2.ignore = _ignore;
@@ -207588,7 +207612,7 @@ var typedFunction$1 = { exports: {} };
207588
207612
  };
207589
207613
  return typed2;
207590
207614
  }
207591
- return create6();
207615
+ return create5();
207592
207616
  });
207593
207617
  })(typedFunction$1);
207594
207618
  var typedFunctionExports = typedFunction$1.exports;
@@ -208300,11 +208324,11 @@ function getArrayDataType(array2, typeOf2) {
208300
208324
  }
208301
208325
  return type3;
208302
208326
  }
208303
- function factory(name2, dependencies2, create6, meta2) {
208327
+ function factory(name2, dependencies2, create5, meta2) {
208304
208328
  function assertAndCreate(scope) {
208305
208329
  var deps = pickShallow(scope, dependencies2.map(stripOptionalNotation));
208306
208330
  assertDependencies(name2, dependencies2, scope);
208307
- return create6(deps);
208331
+ return create5(deps);
208308
208332
  }
208309
208333
  assertAndCreate.isFactory = true;
208310
208334
  assertAndCreate.fn = name2;
@@ -224974,6 +224998,7 @@ let Spatial$1 = class Spatial extends AbstractSpatialOrScatterplot {
224974
224998
  cellSelection,
224975
224999
  setCellHighlight,
224976
225000
  setComponentHover,
225001
+ setHoverInfo,
224977
225002
  getCellIsSelected = makeDefaultGetCellIsSelected(obsIndex.length === cellSelection.length ? null : cellSelection),
224978
225003
  cellColors,
224979
225004
  getCellColor = makeDefaultGetCellColors$1(cellColors, obsIndex, theme),
@@ -224991,6 +225016,12 @@ let Spatial$1 = class Spatial extends AbstractSpatialOrScatterplot {
224991
225016
  const r3 = radius2;
224992
225017
  return [[x2, y2 + r3], [x2 + r3, y2], [x2, y2 - r3], [x2 - r3, y2]];
224993
225018
  };
225019
+ const onHoverCallback = (info2) => {
225020
+ const standardOnHoverCallback = getOnHoverCallback(obsIndex, setCellHighlight, setComponentHover);
225021
+ const obsId = obsIndex[info2.index];
225022
+ setHoverInfo([obsId], [info2.x, info2.y]);
225023
+ standardOnHoverCallback(info2);
225024
+ };
224994
225025
  return new PolygonLayer({
224995
225026
  id: CELLS_LAYER_ID,
224996
225027
  data: this.obsSegmentationsData,
@@ -225025,7 +225056,7 @@ let Spatial$1 = class Spatial extends AbstractSpatialOrScatterplot {
225025
225056
  onCellClick(info2);
225026
225057
  }
225027
225058
  },
225028
- onHover: getOnHoverCallback(obsIndex, setCellHighlight, setComponentHover),
225059
+ onHover: onHoverCallback,
225029
225060
  visible,
225030
225061
  getLineWidth: stroked ? 1 : 0,
225031
225062
  lineWidthScale,
@@ -225537,7 +225568,7 @@ function SpatialTooltipSubscriber$1(props) {
225537
225568
  if (obsId) {
225538
225569
  [cellInfo, x2, y2] = [
225539
225570
  getObsInfo2(obsId),
225540
- ...viewInfo && viewInfo.project ? viewInfo.project(hoverCoord) : [null, null]
225571
+ ...hoverCoord
225541
225572
  ];
225542
225573
  }
225543
225574
  } else if (!useHoverInfoForTooltip && getObsInfo2 && obsHighlight) {
@@ -227150,7 +227181,7 @@ class ErrorBoundary extends React__default.Component {
227150
227181
  }
227151
227182
  }
227152
227183
  const LazySpatialThree = React__default.lazy(async () => {
227153
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-ace20502.js");
227184
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-a6bd5a94.js");
227154
227185
  return { default: SpatialWrapper2 };
227155
227186
  });
227156
227187
  const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
@@ -236456,7 +236487,7 @@ const useStyles$3 = makeStyles((theme) => ({
236456
236487
  }));
236457
236488
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
236458
236489
  const LazyHiGlassComponent = React__default.lazy(async () => {
236459
- const { HiGlassComponent } = await import("./higlass-5c91add8.js");
236490
+ const { HiGlassComponent } = await import("./higlass-7228720c.js");
236460
236491
  return { default: HiGlassComponent };
236461
236492
  });
236462
236493
  const HG_SIZE = 800;
@@ -267114,8 +267145,8 @@ function bind3(view, el2, binding) {
267114
267145
  bind4.update = debounce(param2.debounce, bind4.update);
267115
267146
  }
267116
267147
  }
267117
- const create6 = param2.input == null && param2.element ? target : generate$1;
267118
- create6(bind4, el2, param2, view);
267148
+ const create5 = param2.input == null && param2.element ? target : generate$1;
267149
+ create5(bind4, el2, param2, view);
267119
267150
  if (!bind4.active) {
267120
267151
  view.on(view._signals[param2.signal], null, () => {
267121
267152
  bind4.source ? bind4.source = false : bind4.set(view.signal(param2.signal));
@@ -305522,7 +305553,7 @@ function createStyleFunction(obj) {
305522
305553
  }
305523
305554
  const Feature$1 = Feature;
305524
305555
  new Array(6);
305525
- function create5() {
305556
+ function create4() {
305526
305557
  return [1, 0, 0, 1, 0, 0];
305527
305558
  }
305528
305559
  function compose(transform4, dx1, dy1, sx, sy, angle2, dx2, dy2) {
@@ -306191,7 +306222,7 @@ function translate(flatCoordinates, offset6, end, stride, deltaX, deltaY, dest)
306191
306222
  }
306192
306223
  return dest;
306193
306224
  }
306194
- const tmpTransform = create5();
306225
+ const tmpTransform = create4();
306195
306226
  class Geometry2 extends BaseObject$1 {
306196
306227
  constructor() {
306197
306228
  super();
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-47d7a9c6.js";
1
+ import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-52247fed.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useState, useRef, useEffect, useMemo, forwardRef } from "react";
4
4
  import "react-dom";
@@ -23693,7 +23693,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23693
23693
  const {
23694
23694
  Text: TextMeshImpl,
23695
23695
  preloadFont
23696
- } = suspend(async () => import("./troika-three-text.esm-4b57abfe.js"), []);
23696
+ } = suspend(async () => import("./troika-three-text.esm-1d9880de.js"), []);
23697
23697
  const invalidate2 = useThree(({
23698
23698
  invalidate: invalidate3
23699
23699
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-47d7a9c6.js";
1
+ import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-47d7a9c6.js";
1
+ import { aQ as BaseDecoder } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-47d7a9c6.js";
2
+ import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-52247fed.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-47d7a9c6.js";
1
+ import { aQ as BaseDecoder } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-47d7a9c6.js";
1
+ import { aQ as BaseDecoder } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-47d7a9c6.js";
1
+ import { aQ as BaseDecoder } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-47d7a9c6.js";
1
+ import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function workerBootstrap() {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-47d7a9c6.js";
1
+ import { aQ as BaseDecoder } from "./index-52247fed.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.5.1",
20
- "@vitessce/config": "3.5.1",
21
- "@vitessce/constants": "3.5.1",
22
- "@vitessce/export-utils": "3.5.1"
19
+ "@vitessce/all": "3.5.2",
20
+ "@vitessce/config": "3.5.2",
21
+ "@vitessce/constants": "3.5.2",
22
+ "@vitessce/export-utils": "3.5.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",