@teselagen/ove 0.5.7 → 0.5.8

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.
package/index.cjs.js CHANGED
@@ -14298,16 +14298,25 @@ var toString$5 = {}.toString;
14298
14298
  var _cof = /* @__PURE__ */ __name(function(it) {
14299
14299
  return toString$5.call(it).slice(8, -1);
14300
14300
  }, "_cof");
14301
- var cof$2 = _cof;
14302
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
14303
- return cof$2(it) == "String" ? it.split("") : Object(it);
14304
- };
14301
+ var _iobject;
14302
+ var hasRequired_iobject;
14303
+ function require_iobject() {
14304
+ if (hasRequired_iobject)
14305
+ return _iobject;
14306
+ hasRequired_iobject = 1;
14307
+ var cof2 = _cof;
14308
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
14309
+ return cof2(it) == "String" ? it.split("") : Object(it);
14310
+ };
14311
+ return _iobject;
14312
+ }
14313
+ __name(require_iobject, "require_iobject");
14305
14314
  var _defined = /* @__PURE__ */ __name(function(it) {
14306
14315
  if (it == void 0)
14307
14316
  throw TypeError("Can't call method on " + it);
14308
14317
  return it;
14309
14318
  }, "_defined");
14310
- var IObject = _iobject;
14319
+ var IObject = require_iobject();
14311
14320
  var defined$2 = _defined;
14312
14321
  var _toIobject = /* @__PURE__ */ __name(function(it) {
14313
14322
  return IObject(defined$2(it));
@@ -14396,15 +14405,23 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
14396
14405
  return result;
14397
14406
  }, "_objectKeysInternal");
14398
14407
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
14399
- var $keys$3 = _objectKeysInternal;
14408
+ var $keys$2 = _objectKeysInternal;
14400
14409
  var enumBugKeys$1 = _enumBugKeys;
14401
14410
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
14402
- return $keys$3(O2, enumBugKeys$1);
14411
+ return $keys$2(O2, enumBugKeys$1);
14403
14412
  }, "keys");
14404
14413
  var _objectGops = {};
14405
14414
  _objectGops.f = Object.getOwnPropertySymbols;
14406
14415
  var _objectPie = {};
14407
- _objectPie.f = {}.propertyIsEnumerable;
14416
+ var hasRequired_objectPie;
14417
+ function require_objectPie() {
14418
+ if (hasRequired_objectPie)
14419
+ return _objectPie;
14420
+ hasRequired_objectPie = 1;
14421
+ _objectPie.f = {}.propertyIsEnumerable;
14422
+ return _objectPie;
14423
+ }
14424
+ __name(require_objectPie, "require_objectPie");
14408
14425
  var defined$1 = _defined;
14409
14426
  var _toObject = /* @__PURE__ */ __name(function(it) {
14410
14427
  return Object(defined$1(it));
@@ -14418,9 +14435,9 @@ function require_objectAssign() {
14418
14435
  var DESCRIPTORS2 = _descriptors;
14419
14436
  var getKeys2 = _objectKeys;
14420
14437
  var gOPS2 = _objectGops;
14421
- var pIE2 = _objectPie;
14438
+ var pIE2 = require_objectPie();
14422
14439
  var toObject2 = _toObject;
14423
- var IObject2 = _iobject;
14440
+ var IObject2 = require_iobject();
14424
14441
  var $assign = Object.assign;
14425
14442
  _objectAssign = !$assign || _fails(function() {
14426
14443
  var A2 = {};
@@ -14824,11 +14841,11 @@ var ArrayProto = Array.prototype;
14824
14841
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
14825
14842
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
14826
14843
  }, "_isArrayIter");
14827
- var $defineProperty$4 = _objectDp;
14844
+ var $defineProperty$3 = _objectDp;
14828
14845
  var createDesc$2 = _propertyDesc;
14829
14846
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
14830
14847
  if (index2 in object3)
14831
- $defineProperty$4.f(object3, index2, createDesc$2(0, value));
14848
+ $defineProperty$3.f(object3, index2, createDesc$2(0, value));
14832
14849
  else
14833
14850
  object3[index2] = value;
14834
14851
  }, "_createProperty");
@@ -15055,7 +15072,7 @@ var _wksDefine = /* @__PURE__ */ __name(function(name2) {
15055
15072
  }, "_wksDefine");
15056
15073
  var getKeys = _objectKeys;
15057
15074
  var gOPS$1 = _objectGops;
15058
- var pIE$1 = _objectPie;
15075
+ var pIE$1 = require_objectPie();
15059
15076
  var _enumKeys = /* @__PURE__ */ __name(function(it) {
15060
15077
  var result = getKeys(it);
15061
15078
  var getSymbols2 = gOPS$1.f;
@@ -15076,13 +15093,21 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
15076
15093
  }, "isArray");
15077
15094
  var _objectGopnExt = {};
15078
15095
  var _objectGopn = {};
15079
- var $keys$2 = _objectKeysInternal;
15080
- var hiddenKeys = _enumBugKeys.concat("length", "prototype");
15081
- _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
15082
- return $keys$2(O2, hiddenKeys);
15083
- }, "getOwnPropertyNames");
15096
+ var hasRequired_objectGopn;
15097
+ function require_objectGopn() {
15098
+ if (hasRequired_objectGopn)
15099
+ return _objectGopn;
15100
+ hasRequired_objectGopn = 1;
15101
+ var $keys2 = _objectKeysInternal;
15102
+ var hiddenKeys = _enumBugKeys.concat("length", "prototype");
15103
+ _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
15104
+ return $keys2(O2, hiddenKeys);
15105
+ }, "getOwnPropertyNames");
15106
+ return _objectGopn;
15107
+ }
15108
+ __name(require_objectGopn, "require_objectGopn");
15084
15109
  var toIObject$2 = _toIobject;
15085
- var gOPN$1 = _objectGopn.f;
15110
+ var gOPN$1 = require_objectGopn().f;
15086
15111
  var toString$4 = {}.toString;
15087
15112
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
15088
15113
  var getWindowNames = /* @__PURE__ */ __name(function(it) {
@@ -15092,11 +15117,11 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
15092
15117
  return windowNames.slice();
15093
15118
  }
15094
15119
  }, "getWindowNames");
15095
- _objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
15120
+ _objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames(it) {
15096
15121
  return windowNames && toString$4.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
15097
15122
  }, "getOwnPropertyNames");
15098
15123
  var _objectGopd = {};
15099
- var pIE = _objectPie;
15124
+ var pIE = require_objectPie();
15100
15125
  var createDesc$1 = _propertyDesc;
15101
15126
  var toIObject$1 = _toIobject;
15102
15127
  var toPrimitive$1 = _toPrimitive$1;
@@ -15182,9 +15207,9 @@ var isSymbol$7 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
15182
15207
  } : function(it) {
15183
15208
  return it instanceof $Symbol;
15184
15209
  };
15185
- var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
15210
+ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
15186
15211
  if (it === ObjectProto)
15187
- $defineProperty$3(OPSymbols, key, D2);
15212
+ $defineProperty$2(OPSymbols, key, D2);
15188
15213
  anObject(it);
15189
15214
  key = toPrimitive(key, true);
15190
15215
  anObject(D2);
@@ -15209,7 +15234,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2
15209
15234
  var l2 = keys5.length;
15210
15235
  var key;
15211
15236
  while (l2 > i)
15212
- $defineProperty$3(it, key = keys5[i++], P2[key]);
15237
+ $defineProperty$2(it, key = keys5[i++], P2[key]);
15213
15238
  return it;
15214
15239
  }, "defineProperties");
15215
15240
  var $create = /* @__PURE__ */ __name(function create2(it, P2) {
@@ -15231,7 +15256,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
15231
15256
  D2.enumerable = true;
15232
15257
  return D2;
15233
15258
  }, "getOwnPropertyDescriptor");
15234
- var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
15259
+ var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
15235
15260
  var names2 = gOPN(toIObject(it));
15236
15261
  var result = [];
15237
15262
  var i = 0;
@@ -15274,9 +15299,9 @@ if (!USE_NATIVE) {
15274
15299
  return this._k;
15275
15300
  }, "toString"));
15276
15301
  $GOPD.f = $getOwnPropertyDescriptor;
15277
- $DP.f = $defineProperty$3;
15278
- _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
15279
- _objectPie.f = $propertyIsEnumerable;
15302
+ $DP.f = $defineProperty$2;
15303
+ require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
15304
+ require_objectPie().f = $propertyIsEnumerable;
15280
15305
  $GOPS.f = $getOwnPropertySymbols;
15281
15306
  if (DESCRIPTORS && !_library) {
15282
15307
  redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
@@ -15317,7 +15342,7 @@ $export$2($export$2.S + $export$2.F * !USE_NATIVE, "Object", {
15317
15342
  // 19.1.2.2 Object.create(O [, Properties])
15318
15343
  create: $create,
15319
15344
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
15320
- defineProperty: $defineProperty$3,
15345
+ defineProperty: $defineProperty$2,
15321
15346
  // 19.1.2.3 Object.defineProperties(O, Properties)
15322
15347
  defineProperties: $defineProperties,
15323
15348
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
@@ -36063,6 +36088,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36063
36088
  };
36064
36089
  }
36065
36090
  render() {
36091
+ var _b2;
36066
36092
  const _a2 = this.props, {
36067
36093
  multi,
36068
36094
  options,
@@ -36073,6 +36099,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36073
36099
  tagInputProps: tagInputProps,
36074
36100
  autoFocus,
36075
36101
  autoOpen,
36102
+ mustHaveQueryToOpen,
36076
36103
  noResultsText,
36077
36104
  noResults: _noResults,
36078
36105
  inputProps,
@@ -36096,6 +36123,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36096
36123
  "tagInputProps",
36097
36124
  "autoFocus",
36098
36125
  "autoOpen",
36126
+ "mustHaveQueryToOpen",
36099
36127
  "noResultsText",
36100
36128
  "noResults",
36101
36129
  "inputProps",
@@ -36112,6 +36140,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36112
36140
  let noResults = _noResults;
36113
36141
  if (noResults === void 0)
36114
36142
  noResults = noResultsDefault;
36143
+ const hasQuery = ((_b2 = this.state.query) == null ? void 0 : _b2.length) > 0;
36115
36144
  const hasValue = Array.isArray(value) ? value.length > 0 : !!value || value === 0;
36116
36145
  const rightElement = isLoading ? /* @__PURE__ */ React$2.createElement(core$5.Button, { loading: true, minimal: true }) : /* @__PURE__ */ React$2.createElement("span", null, additionalRightEl, hasValue && !disallowClear && !disabled && /* @__PURE__ */ React$2.createElement(
36117
36146
  core$5.Button,
@@ -36164,7 +36193,7 @@ const _TgSelect = class _TgSelect extends React$2.Component {
36164
36193
  wrapperTagName: "div",
36165
36194
  canEscapeKeyClose: true,
36166
36195
  onInteraction: this.onInteraction,
36167
- isOpen: this.state.isOpen,
36196
+ isOpen: mustHaveQueryToOpen ? hasQuery && this.state.isOpen : this.state.isOpen,
36168
36197
  modifiers: popoverOverflowModifiers
36169
36198
  }, popoverProps),
36170
36199
  onItemSelect: this.handleItemSelect,
@@ -37161,16 +37190,25 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
37161
37190
  return value;
37162
37191
  }, "GetIntrinsic");
37163
37192
  var callBind$3 = { exports: {} };
37164
- var GetIntrinsic$4 = getIntrinsic;
37165
- var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
37166
- if ($defineProperty$2) {
37167
- try {
37168
- $defineProperty$2({}, "a", { value: 1 });
37169
- } catch (e2) {
37170
- $defineProperty$2 = false;
37193
+ var esDefineProperty;
37194
+ var hasRequiredEsDefineProperty;
37195
+ function requireEsDefineProperty() {
37196
+ if (hasRequiredEsDefineProperty)
37197
+ return esDefineProperty;
37198
+ hasRequiredEsDefineProperty = 1;
37199
+ var GetIntrinsic3 = getIntrinsic;
37200
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
37201
+ if ($defineProperty2) {
37202
+ try {
37203
+ $defineProperty2({}, "a", { value: 1 });
37204
+ } catch (e2) {
37205
+ $defineProperty2 = false;
37206
+ }
37171
37207
  }
37208
+ esDefineProperty = $defineProperty2;
37209
+ return esDefineProperty;
37172
37210
  }
37173
- var esDefineProperty = $defineProperty$2;
37211
+ __name(requireEsDefineProperty, "requireEsDefineProperty");
37174
37212
  var GetIntrinsic$3 = getIntrinsic;
37175
37213
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
37176
37214
  if ($gOPD$1) {
@@ -37181,7 +37219,7 @@ if ($gOPD$1) {
37181
37219
  }
37182
37220
  }
37183
37221
  var gopd$1 = $gOPD$1;
37184
- var $defineProperty$1 = esDefineProperty;
37222
+ var $defineProperty$1 = requireEsDefineProperty();
37185
37223
  var $SyntaxError = syntax;
37186
37224
  var $TypeError$4 = type$1;
37187
37225
  var gopd = gopd$1;
@@ -37222,7 +37260,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
37222
37260
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
37223
37261
  }
37224
37262
  }, "defineDataProperty");
37225
- var $defineProperty = esDefineProperty;
37263
+ var $defineProperty = requireEsDefineProperty();
37226
37264
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
37227
37265
  return !!$defineProperty;
37228
37266
  }, "hasPropertyDescriptors");
@@ -37291,7 +37329,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
37291
37329
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
37292
37330
  var $call = GetIntrinsic3("%Function.prototype.call%");
37293
37331
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
37294
- var $defineProperty2 = esDefineProperty;
37332
+ var $defineProperty2 = requireEsDefineProperty();
37295
37333
  var $max = GetIntrinsic3("%Math.max%");
37296
37334
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
37297
37335
  if (typeof originalFunction !== "function") {
@@ -49743,7 +49781,7 @@ var KNOWN_STATICS = {
49743
49781
  arity: true
49744
49782
  };
49745
49783
  var defineProperty$3 = Object.defineProperty;
49746
- var getOwnPropertyNames4 = Object.getOwnPropertyNames;
49784
+ var getOwnPropertyNames3 = Object.getOwnPropertyNames;
49747
49785
  var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
49748
49786
  var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
49749
49787
  var getPrototypeOf = Object.getPrototypeOf;
@@ -49756,7 +49794,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
49756
49794
  hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
49757
49795
  }
49758
49796
  }
49759
- var keys5 = getOwnPropertyNames4(sourceComponent);
49797
+ var keys5 = getOwnPropertyNames3(sourceComponent);
49760
49798
  if (getOwnPropertySymbols3) {
49761
49799
  keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
49762
49800
  }
@@ -70720,11 +70758,13 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React$
70720
70758
  };
70721
70759
  __name(_ResizableDraggableDialog, "ResizableDraggableDialog");
70722
70760
  let ResizableDraggableDialog = _ResizableDraggableDialog;
70723
- function MenuItemLink({ text: text2, onClick, icon, navTo }) {
70761
+ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
70724
70762
  const handleLinkClick = /* @__PURE__ */ __name((e2) => {
70725
70763
  e2.target.closest(`.${core$5.Classes.POPOVER_DISMISS}`).click();
70726
70764
  }, "handleLinkClick");
70727
- return /* @__PURE__ */ React$2.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(Link, { onClick: handleLinkClick, to: navTo, className: "bp3-menu-item" }, icon && /* @__PURE__ */ React$2.createElement(core$5.Icon, { icon }), /* @__PURE__ */ React$2.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
70765
+ return /* @__PURE__ */ React$2.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(Link, { onClick: handleLinkClick, to: navTo, className: classNames(core$5.Classes.MENU_ITEM, {
70766
+ [core$5.Classes.ACTIVE]: active3
70767
+ }) }, icon && /* @__PURE__ */ React$2.createElement(core$5.Icon, { icon }), /* @__PURE__ */ React$2.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
70728
70768
  }
70729
70769
  __name(MenuItemLink, "MenuItemLink");
70730
70770
  const EnhancedMenuItem = compose(
@@ -89362,6 +89402,7 @@ function genbankToJson(string2, options = {}) {
89362
89402
  const feat = getCurrentFeature();
89363
89403
  feat.type = key;
89364
89404
  feat.strand = strand;
89405
+ feat.forward = strand === 1;
89365
89406
  feat.locations = feat.locations.concat(
89366
89407
  parseFeatureLocation(
89367
89408
  val2,
@@ -120805,7 +120846,7 @@ function showFileDialog({ multiple = false, onSelect }) {
120805
120846
  }
120806
120847
  __name(showFileDialog, "showFileDialog");
120807
120848
  const name = "@teselagen/ove";
120808
- const version = "0.5.6";
120849
+ const version = "0.5.7";
120809
120850
  const main = "./src/index.js";
120810
120851
  const type = "module";
120811
120852
  const exports$1 = {
package/index.es.js CHANGED
@@ -14280,16 +14280,25 @@ var toString$5 = {}.toString;
14280
14280
  var _cof = /* @__PURE__ */ __name(function(it) {
14281
14281
  return toString$5.call(it).slice(8, -1);
14282
14282
  }, "_cof");
14283
- var cof$2 = _cof;
14284
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
14285
- return cof$2(it) == "String" ? it.split("") : Object(it);
14286
- };
14283
+ var _iobject;
14284
+ var hasRequired_iobject;
14285
+ function require_iobject() {
14286
+ if (hasRequired_iobject)
14287
+ return _iobject;
14288
+ hasRequired_iobject = 1;
14289
+ var cof2 = _cof;
14290
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
14291
+ return cof2(it) == "String" ? it.split("") : Object(it);
14292
+ };
14293
+ return _iobject;
14294
+ }
14295
+ __name(require_iobject, "require_iobject");
14287
14296
  var _defined = /* @__PURE__ */ __name(function(it) {
14288
14297
  if (it == void 0)
14289
14298
  throw TypeError("Can't call method on " + it);
14290
14299
  return it;
14291
14300
  }, "_defined");
14292
- var IObject = _iobject;
14301
+ var IObject = require_iobject();
14293
14302
  var defined$2 = _defined;
14294
14303
  var _toIobject = /* @__PURE__ */ __name(function(it) {
14295
14304
  return IObject(defined$2(it));
@@ -14378,15 +14387,23 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object3, names2) {
14378
14387
  return result;
14379
14388
  }, "_objectKeysInternal");
14380
14389
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
14381
- var $keys$3 = _objectKeysInternal;
14390
+ var $keys$2 = _objectKeysInternal;
14382
14391
  var enumBugKeys$1 = _enumBugKeys;
14383
14392
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
14384
- return $keys$3(O2, enumBugKeys$1);
14393
+ return $keys$2(O2, enumBugKeys$1);
14385
14394
  }, "keys");
14386
14395
  var _objectGops = {};
14387
14396
  _objectGops.f = Object.getOwnPropertySymbols;
14388
14397
  var _objectPie = {};
14389
- _objectPie.f = {}.propertyIsEnumerable;
14398
+ var hasRequired_objectPie;
14399
+ function require_objectPie() {
14400
+ if (hasRequired_objectPie)
14401
+ return _objectPie;
14402
+ hasRequired_objectPie = 1;
14403
+ _objectPie.f = {}.propertyIsEnumerable;
14404
+ return _objectPie;
14405
+ }
14406
+ __name(require_objectPie, "require_objectPie");
14390
14407
  var defined$1 = _defined;
14391
14408
  var _toObject = /* @__PURE__ */ __name(function(it) {
14392
14409
  return Object(defined$1(it));
@@ -14400,9 +14417,9 @@ function require_objectAssign() {
14400
14417
  var DESCRIPTORS2 = _descriptors;
14401
14418
  var getKeys2 = _objectKeys;
14402
14419
  var gOPS2 = _objectGops;
14403
- var pIE2 = _objectPie;
14420
+ var pIE2 = require_objectPie();
14404
14421
  var toObject2 = _toObject;
14405
- var IObject2 = _iobject;
14422
+ var IObject2 = require_iobject();
14406
14423
  var $assign = Object.assign;
14407
14424
  _objectAssign = !$assign || _fails(function() {
14408
14425
  var A2 = {};
@@ -14806,11 +14823,11 @@ var ArrayProto = Array.prototype;
14806
14823
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
14807
14824
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
14808
14825
  }, "_isArrayIter");
14809
- var $defineProperty$4 = _objectDp;
14826
+ var $defineProperty$3 = _objectDp;
14810
14827
  var createDesc$2 = _propertyDesc;
14811
14828
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
14812
14829
  if (index2 in object3)
14813
- $defineProperty$4.f(object3, index2, createDesc$2(0, value));
14830
+ $defineProperty$3.f(object3, index2, createDesc$2(0, value));
14814
14831
  else
14815
14832
  object3[index2] = value;
14816
14833
  }, "_createProperty");
@@ -15037,7 +15054,7 @@ var _wksDefine = /* @__PURE__ */ __name(function(name2) {
15037
15054
  }, "_wksDefine");
15038
15055
  var getKeys = _objectKeys;
15039
15056
  var gOPS$1 = _objectGops;
15040
- var pIE$1 = _objectPie;
15057
+ var pIE$1 = require_objectPie();
15041
15058
  var _enumKeys = /* @__PURE__ */ __name(function(it) {
15042
15059
  var result = getKeys(it);
15043
15060
  var getSymbols2 = gOPS$1.f;
@@ -15058,13 +15075,21 @@ var _isArray = Array.isArray || /* @__PURE__ */ __name(function isArray(arg) {
15058
15075
  }, "isArray");
15059
15076
  var _objectGopnExt = {};
15060
15077
  var _objectGopn = {};
15061
- var $keys$2 = _objectKeysInternal;
15062
- var hiddenKeys = _enumBugKeys.concat("length", "prototype");
15063
- _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames(O2) {
15064
- return $keys$2(O2, hiddenKeys);
15065
- }, "getOwnPropertyNames");
15078
+ var hasRequired_objectGopn;
15079
+ function require_objectGopn() {
15080
+ if (hasRequired_objectGopn)
15081
+ return _objectGopn;
15082
+ hasRequired_objectGopn = 1;
15083
+ var $keys2 = _objectKeysInternal;
15084
+ var hiddenKeys = _enumBugKeys.concat("length", "prototype");
15085
+ _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames4(O2) {
15086
+ return $keys2(O2, hiddenKeys);
15087
+ }, "getOwnPropertyNames");
15088
+ return _objectGopn;
15089
+ }
15090
+ __name(require_objectGopn, "require_objectGopn");
15066
15091
  var toIObject$2 = _toIobject;
15067
- var gOPN$1 = _objectGopn.f;
15092
+ var gOPN$1 = require_objectGopn().f;
15068
15093
  var toString$4 = {}.toString;
15069
15094
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
15070
15095
  var getWindowNames = /* @__PURE__ */ __name(function(it) {
@@ -15074,11 +15099,11 @@ var getWindowNames = /* @__PURE__ */ __name(function(it) {
15074
15099
  return windowNames.slice();
15075
15100
  }
15076
15101
  }, "getWindowNames");
15077
- _objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
15102
+ _objectGopnExt.f = /* @__PURE__ */ __name(function getOwnPropertyNames(it) {
15078
15103
  return windowNames && toString$4.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
15079
15104
  }, "getOwnPropertyNames");
15080
15105
  var _objectGopd = {};
15081
- var pIE = _objectPie;
15106
+ var pIE = require_objectPie();
15082
15107
  var createDesc$1 = _propertyDesc;
15083
15108
  var toIObject$1 = _toIobject;
15084
15109
  var toPrimitive$1 = _toPrimitive$1;
@@ -15164,9 +15189,9 @@ var isSymbol$7 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
15164
15189
  } : function(it) {
15165
15190
  return it instanceof $Symbol;
15166
15191
  };
15167
- var $defineProperty$3 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
15192
+ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
15168
15193
  if (it === ObjectProto)
15169
- $defineProperty$3(OPSymbols, key, D2);
15194
+ $defineProperty$2(OPSymbols, key, D2);
15170
15195
  anObject(it);
15171
15196
  key = toPrimitive(key, true);
15172
15197
  anObject(D2);
@@ -15191,7 +15216,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2
15191
15216
  var l2 = keys5.length;
15192
15217
  var key;
15193
15218
  while (l2 > i)
15194
- $defineProperty$3(it, key = keys5[i++], P2[key]);
15219
+ $defineProperty$2(it, key = keys5[i++], P2[key]);
15195
15220
  return it;
15196
15221
  }, "defineProperties");
15197
15222
  var $create = /* @__PURE__ */ __name(function create2(it, P2) {
@@ -15213,7 +15238,7 @@ var $getOwnPropertyDescriptor = /* @__PURE__ */ __name(function getOwnPropertyDe
15213
15238
  D2.enumerable = true;
15214
15239
  return D2;
15215
15240
  }, "getOwnPropertyDescriptor");
15216
- var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames3(it) {
15241
+ var $getOwnPropertyNames = /* @__PURE__ */ __name(function getOwnPropertyNames2(it) {
15217
15242
  var names2 = gOPN(toIObject(it));
15218
15243
  var result = [];
15219
15244
  var i = 0;
@@ -15256,9 +15281,9 @@ if (!USE_NATIVE) {
15256
15281
  return this._k;
15257
15282
  }, "toString"));
15258
15283
  $GOPD.f = $getOwnPropertyDescriptor;
15259
- $DP.f = $defineProperty$3;
15260
- _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
15261
- _objectPie.f = $propertyIsEnumerable;
15284
+ $DP.f = $defineProperty$2;
15285
+ require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
15286
+ require_objectPie().f = $propertyIsEnumerable;
15262
15287
  $GOPS.f = $getOwnPropertySymbols;
15263
15288
  if (DESCRIPTORS && !_library) {
15264
15289
  redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
@@ -15299,7 +15324,7 @@ $export$2($export$2.S + $export$2.F * !USE_NATIVE, "Object", {
15299
15324
  // 19.1.2.2 Object.create(O [, Properties])
15300
15325
  create: $create,
15301
15326
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
15302
- defineProperty: $defineProperty$3,
15327
+ defineProperty: $defineProperty$2,
15303
15328
  // 19.1.2.3 Object.defineProperties(O, Properties)
15304
15329
  defineProperties: $defineProperties,
15305
15330
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
@@ -36045,6 +36070,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36045
36070
  };
36046
36071
  }
36047
36072
  render() {
36073
+ var _b2;
36048
36074
  const _a2 = this.props, {
36049
36075
  multi,
36050
36076
  options,
@@ -36055,6 +36081,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36055
36081
  tagInputProps: tagInputProps,
36056
36082
  autoFocus,
36057
36083
  autoOpen,
36084
+ mustHaveQueryToOpen,
36058
36085
  noResultsText,
36059
36086
  noResults: _noResults,
36060
36087
  inputProps,
@@ -36078,6 +36105,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36078
36105
  "tagInputProps",
36079
36106
  "autoFocus",
36080
36107
  "autoOpen",
36108
+ "mustHaveQueryToOpen",
36081
36109
  "noResultsText",
36082
36110
  "noResults",
36083
36111
  "inputProps",
@@ -36094,6 +36122,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36094
36122
  let noResults = _noResults;
36095
36123
  if (noResults === void 0)
36096
36124
  noResults = noResultsDefault;
36125
+ const hasQuery = ((_b2 = this.state.query) == null ? void 0 : _b2.length) > 0;
36097
36126
  const hasValue = Array.isArray(value) ? value.length > 0 : !!value || value === 0;
36098
36127
  const rightElement = isLoading ? /* @__PURE__ */ React__default$1.createElement(Button, { loading: true, minimal: true }) : /* @__PURE__ */ React__default$1.createElement("span", null, additionalRightEl, hasValue && !disallowClear && !disabled && /* @__PURE__ */ React__default$1.createElement(
36099
36128
  Button,
@@ -36146,7 +36175,7 @@ const _TgSelect = class _TgSelect extends React__default$1.Component {
36146
36175
  wrapperTagName: "div",
36147
36176
  canEscapeKeyClose: true,
36148
36177
  onInteraction: this.onInteraction,
36149
- isOpen: this.state.isOpen,
36178
+ isOpen: mustHaveQueryToOpen ? hasQuery && this.state.isOpen : this.state.isOpen,
36150
36179
  modifiers: popoverOverflowModifiers
36151
36180
  }, popoverProps),
36152
36181
  onItemSelect: this.handleItemSelect,
@@ -37143,16 +37172,25 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
37143
37172
  return value;
37144
37173
  }, "GetIntrinsic");
37145
37174
  var callBind$3 = { exports: {} };
37146
- var GetIntrinsic$4 = getIntrinsic;
37147
- var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
37148
- if ($defineProperty$2) {
37149
- try {
37150
- $defineProperty$2({}, "a", { value: 1 });
37151
- } catch (e2) {
37152
- $defineProperty$2 = false;
37175
+ var esDefineProperty;
37176
+ var hasRequiredEsDefineProperty;
37177
+ function requireEsDefineProperty() {
37178
+ if (hasRequiredEsDefineProperty)
37179
+ return esDefineProperty;
37180
+ hasRequiredEsDefineProperty = 1;
37181
+ var GetIntrinsic3 = getIntrinsic;
37182
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
37183
+ if ($defineProperty2) {
37184
+ try {
37185
+ $defineProperty2({}, "a", { value: 1 });
37186
+ } catch (e2) {
37187
+ $defineProperty2 = false;
37188
+ }
37153
37189
  }
37190
+ esDefineProperty = $defineProperty2;
37191
+ return esDefineProperty;
37154
37192
  }
37155
- var esDefineProperty = $defineProperty$2;
37193
+ __name(requireEsDefineProperty, "requireEsDefineProperty");
37156
37194
  var GetIntrinsic$3 = getIntrinsic;
37157
37195
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
37158
37196
  if ($gOPD$1) {
@@ -37163,7 +37201,7 @@ if ($gOPD$1) {
37163
37201
  }
37164
37202
  }
37165
37203
  var gopd$1 = $gOPD$1;
37166
- var $defineProperty$1 = esDefineProperty;
37204
+ var $defineProperty$1 = requireEsDefineProperty();
37167
37205
  var $SyntaxError = syntax;
37168
37206
  var $TypeError$4 = type$1;
37169
37207
  var gopd = gopd$1;
@@ -37204,7 +37242,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
37204
37242
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
37205
37243
  }
37206
37244
  }, "defineDataProperty");
37207
- var $defineProperty = esDefineProperty;
37245
+ var $defineProperty = requireEsDefineProperty();
37208
37246
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
37209
37247
  return !!$defineProperty;
37210
37248
  }, "hasPropertyDescriptors");
@@ -37273,7 +37311,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
37273
37311
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
37274
37312
  var $call = GetIntrinsic3("%Function.prototype.call%");
37275
37313
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
37276
- var $defineProperty2 = esDefineProperty;
37314
+ var $defineProperty2 = requireEsDefineProperty();
37277
37315
  var $max = GetIntrinsic3("%Math.max%");
37278
37316
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
37279
37317
  if (typeof originalFunction !== "function") {
@@ -49725,7 +49763,7 @@ var KNOWN_STATICS = {
49725
49763
  arity: true
49726
49764
  };
49727
49765
  var defineProperty$3 = Object.defineProperty;
49728
- var getOwnPropertyNames4 = Object.getOwnPropertyNames;
49766
+ var getOwnPropertyNames3 = Object.getOwnPropertyNames;
49729
49767
  var getOwnPropertySymbols3 = Object.getOwnPropertySymbols;
49730
49768
  var getOwnPropertyDescriptor3 = Object.getOwnPropertyDescriptor;
49731
49769
  var getPrototypeOf = Object.getPrototypeOf;
@@ -49738,7 +49776,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
49738
49776
  hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
49739
49777
  }
49740
49778
  }
49741
- var keys5 = getOwnPropertyNames4(sourceComponent);
49779
+ var keys5 = getOwnPropertyNames3(sourceComponent);
49742
49780
  if (getOwnPropertySymbols3) {
49743
49781
  keys5 = keys5.concat(getOwnPropertySymbols3(sourceComponent));
49744
49782
  }
@@ -70702,11 +70740,13 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React_
70702
70740
  };
70703
70741
  __name(_ResizableDraggableDialog, "ResizableDraggableDialog");
70704
70742
  let ResizableDraggableDialog = _ResizableDraggableDialog;
70705
- function MenuItemLink({ text: text2, onClick, icon, navTo }) {
70743
+ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
70706
70744
  const handleLinkClick = /* @__PURE__ */ __name((e2) => {
70707
70745
  e2.target.closest(`.${Classes.POPOVER_DISMISS}`).click();
70708
70746
  }, "handleLinkClick");
70709
- return /* @__PURE__ */ React__default$1.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default$1.createElement(Link, { onClick: handleLinkClick, to: navTo, className: "bp3-menu-item" }, icon && /* @__PURE__ */ React__default$1.createElement(Icon, { icon }), /* @__PURE__ */ React__default$1.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
70747
+ return /* @__PURE__ */ React__default$1.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default$1.createElement(Link, { onClick: handleLinkClick, to: navTo, className: classNames(Classes.MENU_ITEM, {
70748
+ [Classes.ACTIVE]: active3
70749
+ }) }, icon && /* @__PURE__ */ React__default$1.createElement(Icon, { icon }), /* @__PURE__ */ React__default$1.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
70710
70750
  }
70711
70751
  __name(MenuItemLink, "MenuItemLink");
70712
70752
  const EnhancedMenuItem = compose(
@@ -89344,6 +89384,7 @@ function genbankToJson(string2, options = {}) {
89344
89384
  const feat = getCurrentFeature();
89345
89385
  feat.type = key;
89346
89386
  feat.strand = strand;
89387
+ feat.forward = strand === 1;
89347
89388
  feat.locations = feat.locations.concat(
89348
89389
  parseFeatureLocation(
89349
89390
  val2,
@@ -120787,7 +120828,7 @@ function showFileDialog({ multiple = false, onSelect }) {
120787
120828
  }
120788
120829
  __name(showFileDialog, "showFileDialog");
120789
120830
  const name = "@teselagen/ove";
120790
- const version = "0.5.6";
120831
+ const version = "0.5.7";
120791
120832
  const main = "./src/index.js";
120792
120833
  const type = "module";
120793
120834
  const exports$1 = {
package/index.umd.js CHANGED
@@ -9853,16 +9853,25 @@ var __async = (__this, __arguments, generator) => {
9853
9853
  return value;
9854
9854
  }, "GetIntrinsic");
9855
9855
  var callBind$3 = { exports: {} };
9856
- var GetIntrinsic$4 = getIntrinsic;
9857
- var $defineProperty$4 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
9858
- if ($defineProperty$4) {
9859
- try {
9860
- $defineProperty$4({}, "a", { value: 1 });
9861
- } catch (e2) {
9862
- $defineProperty$4 = false;
9856
+ var esDefineProperty;
9857
+ var hasRequiredEsDefineProperty;
9858
+ function requireEsDefineProperty() {
9859
+ if (hasRequiredEsDefineProperty)
9860
+ return esDefineProperty;
9861
+ hasRequiredEsDefineProperty = 1;
9862
+ var GetIntrinsic2 = getIntrinsic;
9863
+ var $defineProperty2 = GetIntrinsic2("%Object.defineProperty%", true) || false;
9864
+ if ($defineProperty2) {
9865
+ try {
9866
+ $defineProperty2({}, "a", { value: 1 });
9867
+ } catch (e2) {
9868
+ $defineProperty2 = false;
9869
+ }
9863
9870
  }
9871
+ esDefineProperty = $defineProperty2;
9872
+ return esDefineProperty;
9864
9873
  }
9865
- var esDefineProperty = $defineProperty$4;
9874
+ __name(requireEsDefineProperty, "requireEsDefineProperty");
9866
9875
  var GetIntrinsic$3 = getIntrinsic;
9867
9876
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
9868
9877
  if ($gOPD$1) {
@@ -9873,7 +9882,7 @@ var __async = (__this, __arguments, generator) => {
9873
9882
  }
9874
9883
  }
9875
9884
  var gopd$1 = $gOPD$1;
9876
- var $defineProperty$3 = esDefineProperty;
9885
+ var $defineProperty$3 = requireEsDefineProperty();
9877
9886
  var $SyntaxError = syntax;
9878
9887
  var $TypeError$4 = type$1;
9879
9888
  var gopd = gopd$1;
@@ -9914,7 +9923,7 @@ var __async = (__this, __arguments, generator) => {
9914
9923
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
9915
9924
  }
9916
9925
  }, "defineDataProperty");
9917
- var $defineProperty$2 = esDefineProperty;
9926
+ var $defineProperty$2 = requireEsDefineProperty();
9918
9927
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
9919
9928
  return !!$defineProperty$2;
9920
9929
  }, "hasPropertyDescriptors");
@@ -9983,7 +9992,7 @@ var __async = (__this, __arguments, generator) => {
9983
9992
  var $apply = GetIntrinsic2("%Function.prototype.apply%");
9984
9993
  var $call = GetIntrinsic2("%Function.prototype.call%");
9985
9994
  var $reflectApply = GetIntrinsic2("%Reflect.apply%", true) || bind2.call($call, $apply);
9986
- var $defineProperty2 = esDefineProperty;
9995
+ var $defineProperty2 = requireEsDefineProperty();
9987
9996
  var $max = GetIntrinsic2("%Math.max%");
9988
9997
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
9989
9998
  if (typeof originalFunction !== "function") {
@@ -40158,16 +40167,25 @@ ${latestSubscriptionCallbackError.current.stack}
40158
40167
  var _cof = /* @__PURE__ */ __name(function(it) {
40159
40168
  return toString$3.call(it).slice(8, -1);
40160
40169
  }, "_cof");
40161
- var cof$2 = _cof;
40162
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
40163
- return cof$2(it) == "String" ? it.split("") : Object(it);
40164
- };
40170
+ var _iobject;
40171
+ var hasRequired_iobject;
40172
+ function require_iobject() {
40173
+ if (hasRequired_iobject)
40174
+ return _iobject;
40175
+ hasRequired_iobject = 1;
40176
+ var cof2 = _cof;
40177
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
40178
+ return cof2(it) == "String" ? it.split("") : Object(it);
40179
+ };
40180
+ return _iobject;
40181
+ }
40182
+ __name(require_iobject, "require_iobject");
40165
40183
  var _defined = /* @__PURE__ */ __name(function(it) {
40166
40184
  if (it == void 0)
40167
40185
  throw TypeError("Can't call method on " + it);
40168
40186
  return it;
40169
40187
  }, "_defined");
40170
- var IObject = _iobject;
40188
+ var IObject = require_iobject();
40171
40189
  var defined$2 = _defined;
40172
40190
  var _toIobject = /* @__PURE__ */ __name(function(it) {
40173
40191
  return IObject(defined$2(it));
@@ -40288,7 +40306,7 @@ ${latestSubscriptionCallbackError.current.stack}
40288
40306
  var gOPS2 = _objectGops;
40289
40307
  var pIE2 = require_objectPie();
40290
40308
  var toObject2 = _toObject;
40291
- var IObject2 = _iobject;
40309
+ var IObject2 = require_iobject();
40292
40310
  var $assign = Object.assign;
40293
40311
  _objectAssign = !$assign || _fails(function() {
40294
40312
  var A2 = {};
@@ -61385,6 +61403,7 @@ ${latestSubscriptionCallbackError.current.stack}
61385
61403
  };
61386
61404
  }
61387
61405
  render() {
61406
+ var _b2;
61388
61407
  const _a2 = this.props, {
61389
61408
  multi,
61390
61409
  options,
@@ -61395,6 +61414,7 @@ ${latestSubscriptionCallbackError.current.stack}
61395
61414
  tagInputProps: tagInputProps,
61396
61415
  autoFocus,
61397
61416
  autoOpen,
61417
+ mustHaveQueryToOpen,
61398
61418
  noResultsText,
61399
61419
  noResults: _noResults,
61400
61420
  inputProps,
@@ -61418,6 +61438,7 @@ ${latestSubscriptionCallbackError.current.stack}
61418
61438
  "tagInputProps",
61419
61439
  "autoFocus",
61420
61440
  "autoOpen",
61441
+ "mustHaveQueryToOpen",
61421
61442
  "noResultsText",
61422
61443
  "noResults",
61423
61444
  "inputProps",
@@ -61434,6 +61455,7 @@ ${latestSubscriptionCallbackError.current.stack}
61434
61455
  let noResults = _noResults;
61435
61456
  if (noResults === void 0)
61436
61457
  noResults = noResultsDefault;
61458
+ const hasQuery = ((_b2 = this.state.query) == null ? void 0 : _b2.length) > 0;
61437
61459
  const hasValue = Array.isArray(value) ? value.length > 0 : !!value || value === 0;
61438
61460
  const rightElement = isLoading ? /* @__PURE__ */ React$2.createElement(Button, { loading: true, minimal: true }) : /* @__PURE__ */ React$2.createElement("span", null, additionalRightEl, hasValue && !disallowClear && !disabled && /* @__PURE__ */ React$2.createElement(
61439
61461
  Button,
@@ -61486,7 +61508,7 @@ ${latestSubscriptionCallbackError.current.stack}
61486
61508
  wrapperTagName: "div",
61487
61509
  canEscapeKeyClose: true,
61488
61510
  onInteraction: this.onInteraction,
61489
- isOpen: this.state.isOpen,
61511
+ isOpen: mustHaveQueryToOpen ? hasQuery && this.state.isOpen : this.state.isOpen,
61490
61512
  modifiers: popoverOverflowModifiers
61491
61513
  }, popoverProps),
61492
61514
  onItemSelect: this.handleItemSelect,
@@ -99785,11 +99807,13 @@ ${latestSubscriptionCallbackError.current.stack}
99785
99807
  };
99786
99808
  __name(_ResizableDraggableDialog, "ResizableDraggableDialog");
99787
99809
  let ResizableDraggableDialog = _ResizableDraggableDialog;
99788
- function MenuItemLink({ text: text2, onClick, icon, navTo }) {
99810
+ function MenuItemLink({ text: text2, onClick, icon, navTo, active: active2 }) {
99789
99811
  const handleLinkClick = /* @__PURE__ */ __name((e2) => {
99790
99812
  e2.target.closest(`.${POPOVER_DISMISS}`).click();
99791
99813
  }, "handleLinkClick");
99792
- return /* @__PURE__ */ React$2.createElement("li", { className: POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(Link, { onClick: handleLinkClick, to: navTo, className: "bp3-menu-item" }, icon && /* @__PURE__ */ React$2.createElement(Icon, { icon }), /* @__PURE__ */ React$2.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
99814
+ return /* @__PURE__ */ React$2.createElement("li", { className: POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(Link, { onClick: handleLinkClick, to: navTo, className: classNames$1(MENU_ITEM, {
99815
+ [ACTIVE]: active2
99816
+ }) }, icon && /* @__PURE__ */ React$2.createElement(Icon, { icon }), /* @__PURE__ */ React$2.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
99793
99817
  }
99794
99818
  __name(MenuItemLink, "MenuItemLink");
99795
99819
  const EnhancedMenuItem = compose(
@@ -118427,6 +118451,7 @@ ${latestSubscriptionCallbackError.current.stack}
118427
118451
  const feat = getCurrentFeature();
118428
118452
  feat.type = key2;
118429
118453
  feat.strand = strand;
118454
+ feat.forward = strand === 1;
118430
118455
  feat.locations = feat.locations.concat(
118431
118456
  parseFeatureLocation(
118432
118457
  val2,
@@ -149260,7 +149285,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
149260
149285
  }
149261
149286
  __name(showFileDialog, "showFileDialog");
149262
149287
  const name = "@teselagen/ove";
149263
- const version = "0.5.6";
149288
+ const version = "0.5.7";
149264
149289
  const main = "./src/index.js";
149265
149290
  const type = "module";
149266
149291
  const exports$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@teselagen/sequence-utils": "0.3.24",
14
14
  "@teselagen/range-utils": "0.3.7",
15
- "@teselagen/ui": "0.4.5",
15
+ "@teselagen/ui": "0.4.6",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.17",