@teselagen/ove 0.3.55 → 0.3.56

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
@@ -6816,10 +6816,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
6816
6816
  /* istanbul ignore next */
6817
6817
  Object.getOwnPropertyNames
6818
6818
  );
6819
- function toPrimitive$2(value) {
6819
+ function toPrimitive$3(value) {
6820
6820
  return value === null ? null : typeof value === "object" ? "" + value : value;
6821
6821
  }
6822
- __name(toPrimitive$2, "toPrimitive$2");
6822
+ __name(toPrimitive$3, "toPrimitive$3");
6823
6823
  function hasProp(target, prop2) {
6824
6824
  return objectPrototype$1.hasOwnProperty.call(target, prop2);
6825
6825
  }
@@ -7716,7 +7716,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
7716
7716
  return this.name_ + "[" + this.value_ + "]";
7717
7717
  }, "toString");
7718
7718
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
7719
- return toPrimitive$2(this.get());
7719
+ return toPrimitive$3(this.get());
7720
7720
  }, "valueOf");
7721
7721
  _proto[_Symbol$toPrimitive] = function() {
7722
7722
  return this.valueOf();
@@ -7901,7 +7901,7 @@ var ComputedValue = /* @__PURE__ */ function() {
7901
7901
  return this.name_ + "[" + this.derivation.toString() + "]";
7902
7902
  }, "toString");
7903
7903
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
7904
- return toPrimitive$2(this.get());
7904
+ return toPrimitive$3(this.get());
7905
7905
  }, "valueOf");
7906
7906
  _proto[_Symbol$toPrimitive$1] = function() {
7907
7907
  return this.valueOf();
@@ -12535,7 +12535,7 @@ lodash.exports;
12535
12535
  "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
12536
12536
  );
12537
12537
  var Buffer2 = moduleExports2 ? context.Buffer : undefined$12, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe2 = Buffer2 ? Buffer2.allocUnsafe : undefined$12, getPrototype2 = overArg2(Object2.getPrototypeOf, Object2), objectCreate2 = Object2.create, propertyIsEnumerable3 = objectProto2.propertyIsEnumerable, splice3 = arrayProto2.splice, spreadableSymbol2 = Symbol2 ? Symbol2.isConcatSpreadable : undefined$12, symIterator = Symbol2 ? Symbol2.iterator : undefined$12, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$12;
12538
- var defineProperty5 = function() {
12538
+ var defineProperty6 = function() {
12539
12539
  try {
12540
12540
  var func = getNative2(Object2, "defineProperty");
12541
12541
  func({}, "", {});
@@ -12975,8 +12975,8 @@ lodash.exports;
12975
12975
  }
12976
12976
  __name(baseAssignIn2, "baseAssignIn");
12977
12977
  function baseAssignValue2(object3, key, value) {
12978
- if (key == "__proto__" && defineProperty5) {
12979
- defineProperty5(object3, key, {
12978
+ if (key == "__proto__" && defineProperty6) {
12979
+ defineProperty6(object3, key, {
12980
12980
  "configurable": true,
12981
12981
  "enumerable": true,
12982
12982
  "value": value,
@@ -13709,8 +13709,8 @@ lodash.exports;
13709
13709
  metaMap.set(func, data);
13710
13710
  return func;
13711
13711
  };
13712
- var baseSetToString2 = !defineProperty5 ? identity4 : function(func, string2) {
13713
- return defineProperty5(func, "toString", {
13712
+ var baseSetToString2 = !defineProperty6 ? identity4 : function(func, string2) {
13713
+ return defineProperty6(func, "toString", {
13714
13714
  "configurable": true,
13715
13715
  "enumerable": false,
13716
13716
  "value": constant2(string2),
@@ -18234,20 +18234,11 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
18234
18234
  return true;
18235
18235
  }
18236
18236
  }, "_fails");
18237
- var _descriptors;
18238
- var hasRequired_descriptors;
18239
- function require_descriptors() {
18240
- if (hasRequired_descriptors)
18241
- return _descriptors;
18242
- hasRequired_descriptors = 1;
18243
- _descriptors = !_fails(function() {
18244
- return Object.defineProperty({}, "a", { get: function() {
18245
- return 7;
18246
- } }).a != 7;
18247
- });
18248
- return _descriptors;
18249
- }
18250
- __name(require_descriptors, "require_descriptors");
18237
+ var _descriptors = !_fails(function() {
18238
+ return Object.defineProperty({}, "a", { get: function() {
18239
+ return 7;
18240
+ } }).a != 7;
18241
+ });
18251
18242
  var _domCreate;
18252
18243
  var hasRequired_domCreate;
18253
18244
  function require_domCreate() {
@@ -18263,7 +18254,7 @@ function require_domCreate() {
18263
18254
  return _domCreate;
18264
18255
  }
18265
18256
  __name(require_domCreate, "require_domCreate");
18266
- var _ie8DomDefine = !require_descriptors() && !_fails(function() {
18257
+ var _ie8DomDefine = !_descriptors && !_fails(function() {
18267
18258
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
18268
18259
  return 7;
18269
18260
  } }).a != 7;
@@ -18281,33 +18272,25 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
18281
18272
  return val2;
18282
18273
  throw TypeError("Can't convert object to primitive value");
18283
18274
  }, "_toPrimitive$1");
18284
- var hasRequired_objectDp;
18285
- function require_objectDp() {
18286
- if (hasRequired_objectDp)
18287
- return _objectDp;
18288
- hasRequired_objectDp = 1;
18289
- var anObject2 = _anObject;
18290
- var IE8_DOM_DEFINE2 = _ie8DomDefine;
18291
- var toPrimitive2 = _toPrimitive$1;
18292
- var dP2 = Object.defineProperty;
18293
- _objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
18294
- anObject2(O2);
18295
- P2 = toPrimitive2(P2, true);
18296
- anObject2(Attributes);
18297
- if (IE8_DOM_DEFINE2)
18298
- try {
18299
- return dP2(O2, P2, Attributes);
18300
- } catch (e2) {
18301
- }
18302
- if ("get" in Attributes || "set" in Attributes)
18303
- throw TypeError("Accessors not supported!");
18304
- if ("value" in Attributes)
18305
- O2[P2] = Attributes.value;
18306
- return O2;
18307
- }, "defineProperty");
18308
- return _objectDp;
18309
- }
18310
- __name(require_objectDp, "require_objectDp");
18275
+ var anObject$3 = _anObject;
18276
+ var IE8_DOM_DEFINE$1 = _ie8DomDefine;
18277
+ var toPrimitive$2 = _toPrimitive$1;
18278
+ var dP$2 = Object.defineProperty;
18279
+ _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
18280
+ anObject$3(O2);
18281
+ P2 = toPrimitive$2(P2, true);
18282
+ anObject$3(Attributes);
18283
+ if (IE8_DOM_DEFINE$1)
18284
+ try {
18285
+ return dP$2(O2, P2, Attributes);
18286
+ } catch (e2) {
18287
+ }
18288
+ if ("get" in Attributes || "set" in Attributes)
18289
+ throw TypeError("Accessors not supported!");
18290
+ if ("value" in Attributes)
18291
+ O2[P2] = Attributes.value;
18292
+ return O2;
18293
+ }, "defineProperty");
18311
18294
  var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
18312
18295
  return {
18313
18296
  enumerable: !(bitmap & 1),
@@ -18316,9 +18299,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
18316
18299
  value
18317
18300
  };
18318
18301
  }, "_propertyDesc");
18319
- var dP$1 = require_objectDp();
18302
+ var dP$1 = _objectDp;
18320
18303
  var createDesc$3 = _propertyDesc;
18321
- var _hide = require_descriptors() ? function(object3, key, value) {
18304
+ var _hide = _descriptors ? function(object3, key, value) {
18322
18305
  return dP$1.f(object3, key, createDesc$3(1, value));
18323
18306
  } : function(object3, key, value) {
18324
18307
  object3[key] = value;
@@ -18390,25 +18373,16 @@ var toString$6 = {}.toString;
18390
18373
  var _cof = /* @__PURE__ */ __name(function(it) {
18391
18374
  return toString$6.call(it).slice(8, -1);
18392
18375
  }, "_cof");
18393
- var _iobject;
18394
- var hasRequired_iobject;
18395
- function require_iobject() {
18396
- if (hasRequired_iobject)
18397
- return _iobject;
18398
- hasRequired_iobject = 1;
18399
- var cof2 = _cof;
18400
- _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
18401
- return cof2(it) == "String" ? it.split("") : Object(it);
18402
- };
18403
- return _iobject;
18404
- }
18405
- __name(require_iobject, "require_iobject");
18376
+ var cof$2 = _cof;
18377
+ var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
18378
+ return cof$2(it) == "String" ? it.split("") : Object(it);
18379
+ };
18406
18380
  var _defined = /* @__PURE__ */ __name(function(it) {
18407
18381
  if (it == void 0)
18408
18382
  throw TypeError("Can't call method on " + it);
18409
18383
  return it;
18410
18384
  }, "_defined");
18411
- var IObject = require_iobject();
18385
+ var IObject = _iobject;
18412
18386
  var defined$2 = _defined;
18413
18387
  var _toIobject = /* @__PURE__ */ __name(function(it) {
18414
18388
  return IObject(defined$2(it));
@@ -18516,12 +18490,12 @@ function require_objectAssign() {
18516
18490
  if (hasRequired_objectAssign)
18517
18491
  return _objectAssign;
18518
18492
  hasRequired_objectAssign = 1;
18519
- var DESCRIPTORS2 = require_descriptors();
18493
+ var DESCRIPTORS2 = _descriptors;
18520
18494
  var getKeys2 = _objectKeys;
18521
18495
  var gOPS2 = _objectGops;
18522
18496
  var pIE2 = _objectPie;
18523
18497
  var toObject2 = _toObject;
18524
- var IObject2 = require_iobject();
18498
+ var IObject2 = _iobject;
18525
18499
  var $assign = Object.assign;
18526
18500
  _objectAssign = !$assign || _fails(function() {
18527
18501
  var A2 = {};
@@ -18588,10 +18562,10 @@ function require_objectDps() {
18588
18562
  if (hasRequired_objectDps)
18589
18563
  return _objectDps;
18590
18564
  hasRequired_objectDps = 1;
18591
- var dP2 = require_objectDp();
18565
+ var dP2 = _objectDp;
18592
18566
  var anObject2 = _anObject;
18593
18567
  var getKeys2 = _objectKeys;
18594
- _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
18568
+ _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
18595
18569
  anObject2(O2);
18596
18570
  var keys5 = getKeys2(Properties2);
18597
18571
  var length = keys5.length;
@@ -18670,7 +18644,7 @@ var $exports = _wks.exports = function(name2) {
18670
18644
  };
18671
18645
  $exports.store = store$2;
18672
18646
  var _wksExports = _wks.exports;
18673
- var def = require_objectDp().f;
18647
+ var def = _objectDp.f;
18674
18648
  var has$c = _has;
18675
18649
  var TAG$1 = _wksExports("toStringTag");
18676
18650
  var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
@@ -18943,7 +18917,7 @@ var ArrayProto = Array.prototype;
18943
18917
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
18944
18918
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
18945
18919
  }, "_isArrayIter");
18946
- var $defineProperty$2 = require_objectDp();
18920
+ var $defineProperty$2 = _objectDp;
18947
18921
  var createDesc$2 = _propertyDesc;
18948
18922
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
18949
18923
  if (index2 in object3)
@@ -19072,9 +19046,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
19072
19046
  }
19073
19047
  }, "_default$8");
19074
19048
  var $export$3 = _export;
19075
- $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
19049
+ $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
19076
19050
  var $Object$2 = _coreExports.Object;
19077
- var defineProperty$c = /* @__PURE__ */ __name(function defineProperty2(it, key, desc) {
19051
+ var defineProperty$c = /* @__PURE__ */ __name(function defineProperty3(it, key, desc) {
19078
19052
  return $Object$2.defineProperty(it, key, desc);
19079
19053
  }, "defineProperty");
19080
19054
  var defineProperty$b = { "default": defineProperty$c, __esModule: true };
@@ -19113,7 +19087,7 @@ var _meta = { exports: {} };
19113
19087
  var META$1 = _uid("meta");
19114
19088
  var isObject$c = _isObject;
19115
19089
  var has$a = _has;
19116
- var setDesc = require_objectDp().f;
19090
+ var setDesc = _objectDp.f;
19117
19091
  var id$1 = 0;
19118
19092
  var isExtensible = Object.isExtensible || function() {
19119
19093
  return true;
@@ -19166,7 +19140,7 @@ var meta = _meta.exports = {
19166
19140
  var _metaExports = _meta.exports;
19167
19141
  var core = _coreExports;
19168
19142
  var wksExt$1 = _wksExt;
19169
- var defineProperty$a = require_objectDp().f;
19143
+ var defineProperty$a = _objectDp.f;
19170
19144
  var _wksDefine = /* @__PURE__ */ __name(function(name2) {
19171
19145
  var $Symbol2 = core.Symbol || (core.Symbol = {});
19172
19146
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -19222,7 +19196,7 @@ var toPrimitive$1 = _toPrimitive$1;
19222
19196
  var has$9 = _has;
19223
19197
  var IE8_DOM_DEFINE = _ie8DomDefine;
19224
19198
  var gOPD$5 = Object.getOwnPropertyDescriptor;
19225
- _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
19199
+ _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
19226
19200
  O2 = toIObject$1(O2);
19227
19201
  P2 = toPrimitive$1(P2, true);
19228
19202
  if (IE8_DOM_DEFINE)
@@ -19235,7 +19209,7 @@ _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function
19235
19209
  }, "getOwnPropertyDescriptor");
19236
19210
  var global$2 = _globalExports;
19237
19211
  var has$8 = _has;
19238
- var DESCRIPTORS = require_descriptors();
19212
+ var DESCRIPTORS = _descriptors;
19239
19213
  var $export$2 = _export;
19240
19214
  var redefine = _redefine;
19241
19215
  var META = _metaExports.KEY;
@@ -19258,7 +19232,7 @@ var _create$1 = require_objectCreate();
19258
19232
  var gOPNExt = _objectGopnExt;
19259
19233
  var $GOPD = _objectGopd;
19260
19234
  var $GOPS = _objectGops;
19261
- var $DP = require_objectDp();
19235
+ var $DP = _objectDp;
19262
19236
  var $keys$1 = _objectKeys;
19263
19237
  var gOPD$4 = $GOPD.f;
19264
19238
  var dP = $DP.f;
@@ -19301,7 +19275,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
19301
19275
  } : function(it) {
19302
19276
  return it instanceof $Symbol;
19303
19277
  };
19304
- var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
19278
+ var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
19305
19279
  if (it === ObjectProto)
19306
19280
  $defineProperty$1(OPSymbols, key, D2);
19307
19281
  anObject(it);
@@ -56872,7 +56846,7 @@ const _DataTable = class _DataTable extends React$2.Component {
56872
56846
  }, "updateEntitiesHelper"));
56873
56847
  __publicField(this, "getRowCopyText", /* @__PURE__ */ __name((rowEl, { specificColumn } = {}) => {
56874
56848
  if (!rowEl)
56875
- return;
56849
+ return [];
56876
56850
  const textContent = [];
56877
56851
  const jsonText = [];
56878
56852
  lodashExports.forEach(rowEl.children, (cellEl) => {
@@ -58118,6 +58092,26 @@ const _DataTable = class _DataTable extends React$2.Component {
58118
58092
  return "";
58119
58093
  return stringText;
58120
58094
  }, "getCopyTextForCell"));
58095
+ __publicField(this, "addEditableTableEntities", /* @__PURE__ */ __name((incomingEnts) => {
58096
+ const { entities = [], reduxFormCellValidation } = computePresets(
58097
+ this.props
58098
+ );
58099
+ this.updateEntitiesHelper(entities, (entities2) => {
58100
+ const newEntities = incomingEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
58101
+ id: e2.id || nanoid(),
58102
+ _isClean: false
58103
+ }));
58104
+ const { newEnts, validationErrors } = this.formatAndValidateEntities(
58105
+ newEntities,
58106
+ {
58107
+ useDefaultValues: true,
58108
+ indexToStartAt: entities2.length
58109
+ }
58110
+ );
58111
+ entities2.splice(entities2.length, 0, ...newEnts);
58112
+ this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
58113
+ });
58114
+ }, "addEditableTableEntities"));
58121
58115
  __publicField(this, "insertRows", /* @__PURE__ */ __name(({ above, numRows = 1, appendToBottom } = {}) => {
58122
58116
  const { entities = [], reduxFormCellValidation } = computePresets(
58123
58117
  this.props
@@ -58510,6 +58504,9 @@ const _DataTable = class _DataTable extends React$2.Component {
58510
58504
  )
58511
58505
  );
58512
58506
  }, "renderColumnHeader"));
58507
+ if (this.props.helperProp) {
58508
+ this.props.helperProp.addEditableTableEntities = this.addEditableTableEntities;
58509
+ }
58513
58510
  this.hotkeyEnabler = withHotkeys(__spreadProps(__spreadValues({
58514
58511
  moveUpARow: {
58515
58512
  global: false,
@@ -59107,16 +59104,25 @@ const _DataTable = class _DataTable extends React$2.Component {
59107
59104
  this.table = n2;
59108
59105
  },
59109
59106
  additionalBodyEl: isCellEditable && !onlyShowRowsWErrors && /* @__PURE__ */ React$2.createElement(
59110
- core$5.Button,
59107
+ "div",
59111
59108
  {
59112
- icon: "add",
59113
- style: { marginTop: "auto" },
59114
- onClick: () => {
59115
- this.insertRows({ numRows: 10, appendToBottom: true });
59116
- },
59117
- minimal: true
59109
+ style: {
59110
+ width: "100%",
59111
+ display: "flex",
59112
+ justifyContent: "center"
59113
+ }
59118
59114
  },
59119
- "Add 10 Rows"
59115
+ /* @__PURE__ */ React$2.createElement(
59116
+ core$5.Button,
59117
+ {
59118
+ icon: "add",
59119
+ onClick: () => {
59120
+ this.insertRows({ numRows: 10, appendToBottom: true });
59121
+ },
59122
+ minimal: true
59123
+ },
59124
+ "Add 10 Rows"
59125
+ )
59120
59126
  ),
59121
59127
  className: classNames({
59122
59128
  isCellEditable,
@@ -61923,6 +61929,7 @@ const PreviewCsvData = observer(function(props) {
61923
61929
  isSimple: true,
61924
61930
  keepDirtyOnReinitialize: true,
61925
61931
  isCellEditable: true,
61932
+ initialEntities: (initialEntities ? initialEntities : data) || [],
61926
61933
  entities: (initialEntities ? initialEntities : data) || [],
61927
61934
  schema: validateAgainstSchema
61928
61935
  }
@@ -84141,7 +84148,7 @@ const modifiableTypes = [
84141
84148
  "primers",
84142
84149
  "guides"
84143
84150
  ];
84144
- function filterSequenceString(sequenceString, {
84151
+ function filterSequenceString(sequenceString = "", {
84145
84152
  additionalValidChars = "",
84146
84153
  isOligo: isOligo2,
84147
84154
  name: name2,
@@ -93839,12 +93846,6 @@ function validateSequence(sequence2, options = {}) {
93839
93846
  sequence2.proteinSize = sequence2.proteinSequence.length;
93840
93847
  } else {
93841
93848
  const temp = sequence2.sequence;
93842
- if (!sequence2.isOligo) {
93843
- sequence2.sequence = sequence2.sequence.replace(
93844
- /u/gi,
93845
- (u2) => u2 === "U" ? "T" : "t"
93846
- );
93847
- }
93848
93849
  if (temp !== sequence2.sequence && !sequence2.isDNA && !sequence2.isProtein && sequence2.isRNA !== false) {
93849
93850
  sequence2.type = "RNA";
93850
93851
  sequence2.sequence = temp;
@@ -125974,7 +125975,7 @@ function showFileDialog({ multiple = false, onSelect }) {
125974
125975
  }
125975
125976
  __name(showFileDialog, "showFileDialog");
125976
125977
  const name = "@teselagen/ove";
125977
- const version = "0.3.54";
125978
+ const version = "0.3.55";
125978
125979
  const main = "./src/index.js";
125979
125980
  const exports$1 = {
125980
125981
  ".": {
@@ -128301,7 +128302,7 @@ var createClass = function() {
128301
128302
  return Constructor;
128302
128303
  };
128303
128304
  }();
128304
- var defineProperty4 = /* @__PURE__ */ __name(function(obj, key, value) {
128305
+ var defineProperty5 = /* @__PURE__ */ __name(function(obj, key, value) {
128305
128306
  if (key in obj) {
128306
128307
  Object.defineProperty(obj, key, {
128307
128308
  value,
@@ -128912,7 +128913,7 @@ function arrow(data, options) {
128912
128913
  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
128913
128914
  sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
128914
128915
  data.arrowElement = arrowElement;
128915
- data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty4(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty4(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
128916
+ data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty5(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty5(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
128916
128917
  return data;
128917
128918
  }
128918
128919
  __name(arrow, "arrow");
@@ -129143,7 +129144,7 @@ function preventOverflow(data, options) {
129143
129144
  if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
129144
129145
  value = Math.max(popper2[placement], boundaries[placement]);
129145
129146
  }
129146
- return defineProperty4({}, placement, value);
129147
+ return defineProperty5({}, placement, value);
129147
129148
  }, "primary"),
129148
129149
  secondary: /* @__PURE__ */ __name(function secondary(placement) {
129149
129150
  var mainSide = placement === "right" ? "left" : "top";
@@ -129151,7 +129152,7 @@ function preventOverflow(data, options) {
129151
129152
  if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
129152
129153
  value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
129153
129154
  }
129154
- return defineProperty4({}, mainSide, value);
129155
+ return defineProperty5({}, mainSide, value);
129155
129156
  }, "secondary")
129156
129157
  };
129157
129158
  order2.forEach(function(placement) {
@@ -129172,8 +129173,8 @@ function shift3(data) {
129172
129173
  var side = isVertical ? "left" : "top";
129173
129174
  var measurement = isVertical ? "width" : "height";
129174
129175
  var shiftOffsets = {
129175
- start: defineProperty4({}, side, reference2[side]),
129176
- end: defineProperty4({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
129176
+ start: defineProperty5({}, side, reference2[side]),
129177
+ end: defineProperty5({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
129177
129178
  };
129178
129179
  data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
129179
129180
  }
@@ -135646,7 +135647,7 @@ function DrawAnnotationInner({
135646
135647
  "g",
135647
135648
  __spreadValues(__spreadProps(__spreadValues({
135648
135649
  transform: transform2,
135649
- title: noTitle ? null : titleText
135650
+ "data-title": noTitle ? null : titleText
135650
135651
  }, avoidOverlapWith), {
135651
135652
  key: isNotLocation ? "notLocation" : "location--" + annotation.id + "--" + i
135652
135653
  }), sharedProps),
package/index.es.js CHANGED
@@ -6798,10 +6798,10 @@ var ownKeys$7 = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownK
6798
6798
  /* istanbul ignore next */
6799
6799
  Object.getOwnPropertyNames
6800
6800
  );
6801
- function toPrimitive$2(value) {
6801
+ function toPrimitive$3(value) {
6802
6802
  return value === null ? null : typeof value === "object" ? "" + value : value;
6803
6803
  }
6804
- __name(toPrimitive$2, "toPrimitive$2");
6804
+ __name(toPrimitive$3, "toPrimitive$3");
6805
6805
  function hasProp(target, prop2) {
6806
6806
  return objectPrototype$1.hasOwnProperty.call(target, prop2);
6807
6807
  }
@@ -7698,7 +7698,7 @@ var ObservableValue = /* @__PURE__ */ function(_Atom) {
7698
7698
  return this.name_ + "[" + this.value_ + "]";
7699
7699
  }, "toString");
7700
7700
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
7701
- return toPrimitive$2(this.get());
7701
+ return toPrimitive$3(this.get());
7702
7702
  }, "valueOf");
7703
7703
  _proto[_Symbol$toPrimitive] = function() {
7704
7704
  return this.valueOf();
@@ -7883,7 +7883,7 @@ var ComputedValue = /* @__PURE__ */ function() {
7883
7883
  return this.name_ + "[" + this.derivation.toString() + "]";
7884
7884
  }, "toString");
7885
7885
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
7886
- return toPrimitive$2(this.get());
7886
+ return toPrimitive$3(this.get());
7887
7887
  }, "valueOf");
7888
7888
  _proto[_Symbol$toPrimitive$1] = function() {
7889
7889
  return this.valueOf();
@@ -12517,7 +12517,7 @@ lodash.exports;
12517
12517
  "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
12518
12518
  );
12519
12519
  var Buffer2 = moduleExports2 ? context.Buffer : undefined$12, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe2 = Buffer2 ? Buffer2.allocUnsafe : undefined$12, getPrototype2 = overArg2(Object2.getPrototypeOf, Object2), objectCreate2 = Object2.create, propertyIsEnumerable3 = objectProto2.propertyIsEnumerable, splice3 = arrayProto2.splice, spreadableSymbol2 = Symbol2 ? Symbol2.isConcatSpreadable : undefined$12, symIterator = Symbol2 ? Symbol2.iterator : undefined$12, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$12;
12520
- var defineProperty5 = function() {
12520
+ var defineProperty6 = function() {
12521
12521
  try {
12522
12522
  var func = getNative2(Object2, "defineProperty");
12523
12523
  func({}, "", {});
@@ -12957,8 +12957,8 @@ lodash.exports;
12957
12957
  }
12958
12958
  __name(baseAssignIn2, "baseAssignIn");
12959
12959
  function baseAssignValue2(object3, key, value) {
12960
- if (key == "__proto__" && defineProperty5) {
12961
- defineProperty5(object3, key, {
12960
+ if (key == "__proto__" && defineProperty6) {
12961
+ defineProperty6(object3, key, {
12962
12962
  "configurable": true,
12963
12963
  "enumerable": true,
12964
12964
  "value": value,
@@ -13691,8 +13691,8 @@ lodash.exports;
13691
13691
  metaMap.set(func, data);
13692
13692
  return func;
13693
13693
  };
13694
- var baseSetToString2 = !defineProperty5 ? identity4 : function(func, string2) {
13695
- return defineProperty5(func, "toString", {
13694
+ var baseSetToString2 = !defineProperty6 ? identity4 : function(func, string2) {
13695
+ return defineProperty6(func, "toString", {
13696
13696
  "configurable": true,
13697
13697
  "enumerable": false,
13698
13698
  "value": constant2(string2),
@@ -18216,20 +18216,11 @@ var _fails = /* @__PURE__ */ __name(function(exec) {
18216
18216
  return true;
18217
18217
  }
18218
18218
  }, "_fails");
18219
- var _descriptors;
18220
- var hasRequired_descriptors;
18221
- function require_descriptors() {
18222
- if (hasRequired_descriptors)
18223
- return _descriptors;
18224
- hasRequired_descriptors = 1;
18225
- _descriptors = !_fails(function() {
18226
- return Object.defineProperty({}, "a", { get: function() {
18227
- return 7;
18228
- } }).a != 7;
18229
- });
18230
- return _descriptors;
18231
- }
18232
- __name(require_descriptors, "require_descriptors");
18219
+ var _descriptors = !_fails(function() {
18220
+ return Object.defineProperty({}, "a", { get: function() {
18221
+ return 7;
18222
+ } }).a != 7;
18223
+ });
18233
18224
  var _domCreate;
18234
18225
  var hasRequired_domCreate;
18235
18226
  function require_domCreate() {
@@ -18245,7 +18236,7 @@ function require_domCreate() {
18245
18236
  return _domCreate;
18246
18237
  }
18247
18238
  __name(require_domCreate, "require_domCreate");
18248
- var _ie8DomDefine = !require_descriptors() && !_fails(function() {
18239
+ var _ie8DomDefine = !_descriptors && !_fails(function() {
18249
18240
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
18250
18241
  return 7;
18251
18242
  } }).a != 7;
@@ -18263,33 +18254,25 @@ var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
18263
18254
  return val2;
18264
18255
  throw TypeError("Can't convert object to primitive value");
18265
18256
  }, "_toPrimitive$1");
18266
- var hasRequired_objectDp;
18267
- function require_objectDp() {
18268
- if (hasRequired_objectDp)
18269
- return _objectDp;
18270
- hasRequired_objectDp = 1;
18271
- var anObject2 = _anObject;
18272
- var IE8_DOM_DEFINE2 = _ie8DomDefine;
18273
- var toPrimitive2 = _toPrimitive$1;
18274
- var dP2 = Object.defineProperty;
18275
- _objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty5(O2, P2, Attributes) {
18276
- anObject2(O2);
18277
- P2 = toPrimitive2(P2, true);
18278
- anObject2(Attributes);
18279
- if (IE8_DOM_DEFINE2)
18280
- try {
18281
- return dP2(O2, P2, Attributes);
18282
- } catch (e2) {
18283
- }
18284
- if ("get" in Attributes || "set" in Attributes)
18285
- throw TypeError("Accessors not supported!");
18286
- if ("value" in Attributes)
18287
- O2[P2] = Attributes.value;
18288
- return O2;
18289
- }, "defineProperty");
18290
- return _objectDp;
18291
- }
18292
- __name(require_objectDp, "require_objectDp");
18257
+ var anObject$3 = _anObject;
18258
+ var IE8_DOM_DEFINE$1 = _ie8DomDefine;
18259
+ var toPrimitive$2 = _toPrimitive$1;
18260
+ var dP$2 = Object.defineProperty;
18261
+ _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
18262
+ anObject$3(O2);
18263
+ P2 = toPrimitive$2(P2, true);
18264
+ anObject$3(Attributes);
18265
+ if (IE8_DOM_DEFINE$1)
18266
+ try {
18267
+ return dP$2(O2, P2, Attributes);
18268
+ } catch (e2) {
18269
+ }
18270
+ if ("get" in Attributes || "set" in Attributes)
18271
+ throw TypeError("Accessors not supported!");
18272
+ if ("value" in Attributes)
18273
+ O2[P2] = Attributes.value;
18274
+ return O2;
18275
+ }, "defineProperty");
18293
18276
  var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
18294
18277
  return {
18295
18278
  enumerable: !(bitmap & 1),
@@ -18298,9 +18281,9 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
18298
18281
  value
18299
18282
  };
18300
18283
  }, "_propertyDesc");
18301
- var dP$1 = require_objectDp();
18284
+ var dP$1 = _objectDp;
18302
18285
  var createDesc$3 = _propertyDesc;
18303
- var _hide = require_descriptors() ? function(object3, key, value) {
18286
+ var _hide = _descriptors ? function(object3, key, value) {
18304
18287
  return dP$1.f(object3, key, createDesc$3(1, value));
18305
18288
  } : function(object3, key, value) {
18306
18289
  object3[key] = value;
@@ -18372,25 +18355,16 @@ var toString$6 = {}.toString;
18372
18355
  var _cof = /* @__PURE__ */ __name(function(it) {
18373
18356
  return toString$6.call(it).slice(8, -1);
18374
18357
  }, "_cof");
18375
- var _iobject;
18376
- var hasRequired_iobject;
18377
- function require_iobject() {
18378
- if (hasRequired_iobject)
18379
- return _iobject;
18380
- hasRequired_iobject = 1;
18381
- var cof2 = _cof;
18382
- _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
18383
- return cof2(it) == "String" ? it.split("") : Object(it);
18384
- };
18385
- return _iobject;
18386
- }
18387
- __name(require_iobject, "require_iobject");
18358
+ var cof$2 = _cof;
18359
+ var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
18360
+ return cof$2(it) == "String" ? it.split("") : Object(it);
18361
+ };
18388
18362
  var _defined = /* @__PURE__ */ __name(function(it) {
18389
18363
  if (it == void 0)
18390
18364
  throw TypeError("Can't call method on " + it);
18391
18365
  return it;
18392
18366
  }, "_defined");
18393
- var IObject = require_iobject();
18367
+ var IObject = _iobject;
18394
18368
  var defined$2 = _defined;
18395
18369
  var _toIobject = /* @__PURE__ */ __name(function(it) {
18396
18370
  return IObject(defined$2(it));
@@ -18498,12 +18472,12 @@ function require_objectAssign() {
18498
18472
  if (hasRequired_objectAssign)
18499
18473
  return _objectAssign;
18500
18474
  hasRequired_objectAssign = 1;
18501
- var DESCRIPTORS2 = require_descriptors();
18475
+ var DESCRIPTORS2 = _descriptors;
18502
18476
  var getKeys2 = _objectKeys;
18503
18477
  var gOPS2 = _objectGops;
18504
18478
  var pIE2 = _objectPie;
18505
18479
  var toObject2 = _toObject;
18506
- var IObject2 = require_iobject();
18480
+ var IObject2 = _iobject;
18507
18481
  var $assign = Object.assign;
18508
18482
  _objectAssign = !$assign || _fails(function() {
18509
18483
  var A2 = {};
@@ -18570,10 +18544,10 @@ function require_objectDps() {
18570
18544
  if (hasRequired_objectDps)
18571
18545
  return _objectDps;
18572
18546
  hasRequired_objectDps = 1;
18573
- var dP2 = require_objectDp();
18547
+ var dP2 = _objectDp;
18574
18548
  var anObject2 = _anObject;
18575
18549
  var getKeys2 = _objectKeys;
18576
- _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
18550
+ _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties3(O2, Properties2) {
18577
18551
  anObject2(O2);
18578
18552
  var keys5 = getKeys2(Properties2);
18579
18553
  var length = keys5.length;
@@ -18652,7 +18626,7 @@ var $exports = _wks.exports = function(name2) {
18652
18626
  };
18653
18627
  $exports.store = store$2;
18654
18628
  var _wksExports = _wks.exports;
18655
- var def = require_objectDp().f;
18629
+ var def = _objectDp.f;
18656
18630
  var has$c = _has;
18657
18631
  var TAG$1 = _wksExports("toStringTag");
18658
18632
  var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
@@ -18925,7 +18899,7 @@ var ArrayProto = Array.prototype;
18925
18899
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
18926
18900
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
18927
18901
  }, "_isArrayIter");
18928
- var $defineProperty$2 = require_objectDp();
18902
+ var $defineProperty$2 = _objectDp;
18929
18903
  var createDesc$2 = _propertyDesc;
18930
18904
  var _createProperty = /* @__PURE__ */ __name(function(object3, index2, value) {
18931
18905
  if (index2 in object3)
@@ -19054,9 +19028,9 @@ var _default$8 = /* @__PURE__ */ __name(function(instance, Constructor) {
19054
19028
  }
19055
19029
  }, "_default$8");
19056
19030
  var $export$3 = _export;
19057
- $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
19031
+ $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
19058
19032
  var $Object$2 = _coreExports.Object;
19059
- var defineProperty$c = /* @__PURE__ */ __name(function defineProperty2(it, key, desc) {
19033
+ var defineProperty$c = /* @__PURE__ */ __name(function defineProperty3(it, key, desc) {
19060
19034
  return $Object$2.defineProperty(it, key, desc);
19061
19035
  }, "defineProperty");
19062
19036
  var defineProperty$b = { "default": defineProperty$c, __esModule: true };
@@ -19095,7 +19069,7 @@ var _meta = { exports: {} };
19095
19069
  var META$1 = _uid("meta");
19096
19070
  var isObject$c = _isObject;
19097
19071
  var has$a = _has;
19098
- var setDesc = require_objectDp().f;
19072
+ var setDesc = _objectDp.f;
19099
19073
  var id$1 = 0;
19100
19074
  var isExtensible = Object.isExtensible || function() {
19101
19075
  return true;
@@ -19148,7 +19122,7 @@ var meta = _meta.exports = {
19148
19122
  var _metaExports = _meta.exports;
19149
19123
  var core = _coreExports;
19150
19124
  var wksExt$1 = _wksExt;
19151
- var defineProperty$a = require_objectDp().f;
19125
+ var defineProperty$a = _objectDp.f;
19152
19126
  var _wksDefine = /* @__PURE__ */ __name(function(name2) {
19153
19127
  var $Symbol2 = core.Symbol || (core.Symbol = {});
19154
19128
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -19204,7 +19178,7 @@ var toPrimitive$1 = _toPrimitive$1;
19204
19178
  var has$9 = _has;
19205
19179
  var IE8_DOM_DEFINE = _ie8DomDefine;
19206
19180
  var gOPD$5 = Object.getOwnPropertyDescriptor;
19207
- _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
19181
+ _objectGopd.f = _descriptors ? gOPD$5 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor(O2, P2) {
19208
19182
  O2 = toIObject$1(O2);
19209
19183
  P2 = toPrimitive$1(P2, true);
19210
19184
  if (IE8_DOM_DEFINE)
@@ -19217,7 +19191,7 @@ _objectGopd.f = require_descriptors() ? gOPD$5 : /* @__PURE__ */ __name(function
19217
19191
  }, "getOwnPropertyDescriptor");
19218
19192
  var global$2 = _globalExports;
19219
19193
  var has$8 = _has;
19220
- var DESCRIPTORS = require_descriptors();
19194
+ var DESCRIPTORS = _descriptors;
19221
19195
  var $export$2 = _export;
19222
19196
  var redefine = _redefine;
19223
19197
  var META = _metaExports.KEY;
@@ -19240,7 +19214,7 @@ var _create$1 = require_objectCreate();
19240
19214
  var gOPNExt = _objectGopnExt;
19241
19215
  var $GOPD = _objectGopd;
19242
19216
  var $GOPS = _objectGops;
19243
- var $DP = require_objectDp();
19217
+ var $DP = _objectDp;
19244
19218
  var $keys$1 = _objectKeys;
19245
19219
  var gOPD$4 = $GOPD.f;
19246
19220
  var dP = $DP.f;
@@ -19283,7 +19257,7 @@ var isSymbol$8 = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it
19283
19257
  } : function(it) {
19284
19258
  return it instanceof $Symbol;
19285
19259
  };
19286
- var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty3(it, key, D2) {
19260
+ var $defineProperty$1 = /* @__PURE__ */ __name(function defineProperty4(it, key, D2) {
19287
19261
  if (it === ObjectProto)
19288
19262
  $defineProperty$1(OPSymbols, key, D2);
19289
19263
  anObject(it);
@@ -56854,7 +56828,7 @@ const _DataTable = class _DataTable extends React__default$1.Component {
56854
56828
  }, "updateEntitiesHelper"));
56855
56829
  __publicField(this, "getRowCopyText", /* @__PURE__ */ __name((rowEl, { specificColumn } = {}) => {
56856
56830
  if (!rowEl)
56857
- return;
56831
+ return [];
56858
56832
  const textContent = [];
56859
56833
  const jsonText = [];
56860
56834
  lodashExports.forEach(rowEl.children, (cellEl) => {
@@ -58100,6 +58074,26 @@ const _DataTable = class _DataTable extends React__default$1.Component {
58100
58074
  return "";
58101
58075
  return stringText;
58102
58076
  }, "getCopyTextForCell"));
58077
+ __publicField(this, "addEditableTableEntities", /* @__PURE__ */ __name((incomingEnts) => {
58078
+ const { entities = [], reduxFormCellValidation } = computePresets(
58079
+ this.props
58080
+ );
58081
+ this.updateEntitiesHelper(entities, (entities2) => {
58082
+ const newEntities = incomingEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
58083
+ id: e2.id || nanoid(),
58084
+ _isClean: false
58085
+ }));
58086
+ const { newEnts, validationErrors } = this.formatAndValidateEntities(
58087
+ newEntities,
58088
+ {
58089
+ useDefaultValues: true,
58090
+ indexToStartAt: entities2.length
58091
+ }
58092
+ );
58093
+ entities2.splice(entities2.length, 0, ...newEnts);
58094
+ this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
58095
+ });
58096
+ }, "addEditableTableEntities"));
58103
58097
  __publicField(this, "insertRows", /* @__PURE__ */ __name(({ above, numRows = 1, appendToBottom } = {}) => {
58104
58098
  const { entities = [], reduxFormCellValidation } = computePresets(
58105
58099
  this.props
@@ -58492,6 +58486,9 @@ const _DataTable = class _DataTable extends React__default$1.Component {
58492
58486
  )
58493
58487
  );
58494
58488
  }, "renderColumnHeader"));
58489
+ if (this.props.helperProp) {
58490
+ this.props.helperProp.addEditableTableEntities = this.addEditableTableEntities;
58491
+ }
58495
58492
  this.hotkeyEnabler = withHotkeys(__spreadProps(__spreadValues({
58496
58493
  moveUpARow: {
58497
58494
  global: false,
@@ -59089,16 +59086,25 @@ const _DataTable = class _DataTable extends React__default$1.Component {
59089
59086
  this.table = n2;
59090
59087
  },
59091
59088
  additionalBodyEl: isCellEditable && !onlyShowRowsWErrors && /* @__PURE__ */ React__default$1.createElement(
59092
- Button,
59089
+ "div",
59093
59090
  {
59094
- icon: "add",
59095
- style: { marginTop: "auto" },
59096
- onClick: () => {
59097
- this.insertRows({ numRows: 10, appendToBottom: true });
59098
- },
59099
- minimal: true
59091
+ style: {
59092
+ width: "100%",
59093
+ display: "flex",
59094
+ justifyContent: "center"
59095
+ }
59100
59096
  },
59101
- "Add 10 Rows"
59097
+ /* @__PURE__ */ React__default$1.createElement(
59098
+ Button,
59099
+ {
59100
+ icon: "add",
59101
+ onClick: () => {
59102
+ this.insertRows({ numRows: 10, appendToBottom: true });
59103
+ },
59104
+ minimal: true
59105
+ },
59106
+ "Add 10 Rows"
59107
+ )
59102
59108
  ),
59103
59109
  className: classNames({
59104
59110
  isCellEditable,
@@ -61905,6 +61911,7 @@ const PreviewCsvData = observer(function(props) {
61905
61911
  isSimple: true,
61906
61912
  keepDirtyOnReinitialize: true,
61907
61913
  isCellEditable: true,
61914
+ initialEntities: (initialEntities ? initialEntities : data) || [],
61908
61915
  entities: (initialEntities ? initialEntities : data) || [],
61909
61916
  schema: validateAgainstSchema
61910
61917
  }
@@ -84123,7 +84130,7 @@ const modifiableTypes = [
84123
84130
  "primers",
84124
84131
  "guides"
84125
84132
  ];
84126
- function filterSequenceString(sequenceString, {
84133
+ function filterSequenceString(sequenceString = "", {
84127
84134
  additionalValidChars = "",
84128
84135
  isOligo: isOligo2,
84129
84136
  name: name2,
@@ -93821,12 +93828,6 @@ function validateSequence(sequence2, options = {}) {
93821
93828
  sequence2.proteinSize = sequence2.proteinSequence.length;
93822
93829
  } else {
93823
93830
  const temp = sequence2.sequence;
93824
- if (!sequence2.isOligo) {
93825
- sequence2.sequence = sequence2.sequence.replace(
93826
- /u/gi,
93827
- (u2) => u2 === "U" ? "T" : "t"
93828
- );
93829
- }
93830
93831
  if (temp !== sequence2.sequence && !sequence2.isDNA && !sequence2.isProtein && sequence2.isRNA !== false) {
93831
93832
  sequence2.type = "RNA";
93832
93833
  sequence2.sequence = temp;
@@ -125956,7 +125957,7 @@ function showFileDialog({ multiple = false, onSelect }) {
125956
125957
  }
125957
125958
  __name(showFileDialog, "showFileDialog");
125958
125959
  const name = "@teselagen/ove";
125959
- const version = "0.3.54";
125960
+ const version = "0.3.55";
125960
125961
  const main = "./src/index.js";
125961
125962
  const exports$1 = {
125962
125963
  ".": {
@@ -128283,7 +128284,7 @@ var createClass = function() {
128283
128284
  return Constructor;
128284
128285
  };
128285
128286
  }();
128286
- var defineProperty4 = /* @__PURE__ */ __name(function(obj, key, value) {
128287
+ var defineProperty5 = /* @__PURE__ */ __name(function(obj, key, value) {
128287
128288
  if (key in obj) {
128288
128289
  Object.defineProperty(obj, key, {
128289
128290
  value,
@@ -128894,7 +128895,7 @@ function arrow(data, options) {
128894
128895
  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
128895
128896
  sideValue = Math.max(Math.min(popper2[len] - arrowElementSize, sideValue), 0);
128896
128897
  data.arrowElement = arrowElement;
128897
- data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty4(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty4(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
128898
+ data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty5(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty5(_data$offsets$arrow, altSide, ""), _data$offsets$arrow);
128898
128899
  return data;
128899
128900
  }
128900
128901
  __name(arrow, "arrow");
@@ -129125,7 +129126,7 @@ function preventOverflow(data, options) {
129125
129126
  if (popper2[placement] < boundaries[placement] && !options.escapeWithReference) {
129126
129127
  value = Math.max(popper2[placement], boundaries[placement]);
129127
129128
  }
129128
- return defineProperty4({}, placement, value);
129129
+ return defineProperty5({}, placement, value);
129129
129130
  }, "primary"),
129130
129131
  secondary: /* @__PURE__ */ __name(function secondary(placement) {
129131
129132
  var mainSide = placement === "right" ? "left" : "top";
@@ -129133,7 +129134,7 @@ function preventOverflow(data, options) {
129133
129134
  if (popper2[placement] > boundaries[placement] && !options.escapeWithReference) {
129134
129135
  value = Math.min(popper2[mainSide], boundaries[placement] - (placement === "right" ? popper2.width : popper2.height));
129135
129136
  }
129136
- return defineProperty4({}, mainSide, value);
129137
+ return defineProperty5({}, mainSide, value);
129137
129138
  }, "secondary")
129138
129139
  };
129139
129140
  order2.forEach(function(placement) {
@@ -129154,8 +129155,8 @@ function shift3(data) {
129154
129155
  var side = isVertical ? "left" : "top";
129155
129156
  var measurement = isVertical ? "width" : "height";
129156
129157
  var shiftOffsets = {
129157
- start: defineProperty4({}, side, reference2[side]),
129158
- end: defineProperty4({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
129158
+ start: defineProperty5({}, side, reference2[side]),
129159
+ end: defineProperty5({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
129159
129160
  };
129160
129161
  data.offsets.popper = _extends$1({}, popper2, shiftOffsets[shiftvariation]);
129161
129162
  }
@@ -135628,7 +135629,7 @@ function DrawAnnotationInner({
135628
135629
  "g",
135629
135630
  __spreadValues(__spreadProps(__spreadValues({
135630
135631
  transform: transform2,
135631
- title: noTitle ? null : titleText
135632
+ "data-title": noTitle ? null : titleText
135632
135633
  }, avoidOverlapWith), {
135633
135634
  key: isNotLocation ? "notLocation" : "location--" + annotation.id + "--" + i
135634
135635
  }), sharedProps),
package/index.umd.js CHANGED
@@ -27119,10 +27119,10 @@ var __async = (__this, __arguments, generator) => {
27119
27119
  /* istanbul ignore next */
27120
27120
  Object.getOwnPropertyNames
27121
27121
  );
27122
- function toPrimitive$3(value) {
27122
+ function toPrimitive$2(value) {
27123
27123
  return value === null ? null : typeof value === "object" ? "" + value : value;
27124
27124
  }
27125
- __name(toPrimitive$3, "toPrimitive$3");
27125
+ __name(toPrimitive$2, "toPrimitive$2");
27126
27126
  function hasProp(target, prop2) {
27127
27127
  return objectPrototype$2.hasOwnProperty.call(target, prop2);
27128
27128
  }
@@ -28019,7 +28019,7 @@ var __async = (__this, __arguments, generator) => {
28019
28019
  return this.name_ + "[" + this.value_ + "]";
28020
28020
  }, "toString");
28021
28021
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
28022
- return toPrimitive$3(this.get());
28022
+ return toPrimitive$2(this.get());
28023
28023
  }, "valueOf");
28024
28024
  _proto[_Symbol$toPrimitive] = function() {
28025
28025
  return this.valueOf();
@@ -28204,7 +28204,7 @@ var __async = (__this, __arguments, generator) => {
28204
28204
  return this.name_ + "[" + this.derivation.toString() + "]";
28205
28205
  }, "toString");
28206
28206
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
28207
- return toPrimitive$3(this.get());
28207
+ return toPrimitive$2(this.get());
28208
28208
  }, "valueOf");
28209
28209
  _proto[_Symbol$toPrimitive$1] = function() {
28210
28210
  return this.valueOf();
@@ -44862,11 +44862,20 @@ ${latestSubscriptionCallbackError.current.stack}
44862
44862
  return true;
44863
44863
  }
44864
44864
  }, "_fails");
44865
- var _descriptors = !_fails(function() {
44866
- return Object.defineProperty({}, "a", { get: function() {
44867
- return 7;
44868
- } }).a != 7;
44869
- });
44865
+ var _descriptors;
44866
+ var hasRequired_descriptors;
44867
+ function require_descriptors() {
44868
+ if (hasRequired_descriptors)
44869
+ return _descriptors;
44870
+ hasRequired_descriptors = 1;
44871
+ _descriptors = !_fails(function() {
44872
+ return Object.defineProperty({}, "a", { get: function() {
44873
+ return 7;
44874
+ } }).a != 7;
44875
+ });
44876
+ return _descriptors;
44877
+ }
44878
+ __name(require_descriptors, "require_descriptors");
44870
44879
  var _domCreate;
44871
44880
  var hasRequired_domCreate;
44872
44881
  function require_domCreate() {
@@ -44882,7 +44891,7 @@ ${latestSubscriptionCallbackError.current.stack}
44882
44891
  return _domCreate;
44883
44892
  }
44884
44893
  __name(require_domCreate, "require_domCreate");
44885
- var _ie8DomDefine = !_descriptors && !_fails(function() {
44894
+ var _ie8DomDefine = !require_descriptors() && !_fails(function() {
44886
44895
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
44887
44896
  return 7;
44888
44897
  } }).a != 7;
@@ -44900,25 +44909,33 @@ ${latestSubscriptionCallbackError.current.stack}
44900
44909
  return val2;
44901
44910
  throw TypeError("Can't convert object to primitive value");
44902
44911
  }, "_toPrimitive$1");
44903
- var anObject$5 = _anObject;
44904
- var IE8_DOM_DEFINE$1 = _ie8DomDefine;
44905
- var toPrimitive$2 = _toPrimitive$1;
44906
- var dP$3 = Object.defineProperty;
44907
- _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
44908
- anObject$5(O2);
44909
- P2 = toPrimitive$2(P2, true);
44910
- anObject$5(Attributes);
44911
- if (IE8_DOM_DEFINE$1)
44912
- try {
44913
- return dP$3(O2, P2, Attributes);
44914
- } catch (e2) {
44915
- }
44916
- if ("get" in Attributes || "set" in Attributes)
44917
- throw TypeError("Accessors not supported!");
44918
- if ("value" in Attributes)
44919
- O2[P2] = Attributes.value;
44920
- return O2;
44921
- }, "defineProperty");
44912
+ var hasRequired_objectDp;
44913
+ function require_objectDp() {
44914
+ if (hasRequired_objectDp)
44915
+ return _objectDp;
44916
+ hasRequired_objectDp = 1;
44917
+ var anObject2 = _anObject;
44918
+ var IE8_DOM_DEFINE2 = _ie8DomDefine;
44919
+ var toPrimitive2 = _toPrimitive$1;
44920
+ var dP2 = Object.defineProperty;
44921
+ _objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
44922
+ anObject2(O2);
44923
+ P2 = toPrimitive2(P2, true);
44924
+ anObject2(Attributes);
44925
+ if (IE8_DOM_DEFINE2)
44926
+ try {
44927
+ return dP2(O2, P2, Attributes);
44928
+ } catch (e2) {
44929
+ }
44930
+ if ("get" in Attributes || "set" in Attributes)
44931
+ throw TypeError("Accessors not supported!");
44932
+ if ("value" in Attributes)
44933
+ O2[P2] = Attributes.value;
44934
+ return O2;
44935
+ }, "defineProperty");
44936
+ return _objectDp;
44937
+ }
44938
+ __name(require_objectDp, "require_objectDp");
44922
44939
  var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
44923
44940
  return {
44924
44941
  enumerable: !(bitmap & 1),
@@ -44927,9 +44944,9 @@ ${latestSubscriptionCallbackError.current.stack}
44927
44944
  value
44928
44945
  };
44929
44946
  }, "_propertyDesc");
44930
- var dP$2 = _objectDp;
44947
+ var dP$2 = require_objectDp();
44931
44948
  var createDesc$3 = _propertyDesc;
44932
- var _hide = _descriptors ? function(object2, key2, value) {
44949
+ var _hide = require_descriptors() ? function(object2, key2, value) {
44933
44950
  return dP$2.f(object2, key2, createDesc$3(1, value));
44934
44951
  } : function(object2, key2, value) {
44935
44952
  object2[key2] = value;
@@ -45118,7 +45135,7 @@ ${latestSubscriptionCallbackError.current.stack}
45118
45135
  if (hasRequired_objectAssign)
45119
45136
  return _objectAssign;
45120
45137
  hasRequired_objectAssign = 1;
45121
- var DESCRIPTORS2 = _descriptors;
45138
+ var DESCRIPTORS2 = require_descriptors();
45122
45139
  var getKeys2 = _objectKeys;
45123
45140
  var gOPS2 = _objectGops;
45124
45141
  var pIE2 = _objectPie;
@@ -45184,10 +45201,10 @@ ${latestSubscriptionCallbackError.current.stack}
45184
45201
  }, "_iterStep");
45185
45202
  var _iterators = {};
45186
45203
  var _redefine = _hide;
45187
- var dP$1 = _objectDp;
45204
+ var dP$1 = require_objectDp();
45188
45205
  var anObject$4 = _anObject;
45189
45206
  var getKeys$1 = _objectKeys;
45190
- var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
45207
+ var _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
45191
45208
  anObject$4(O2);
45192
45209
  var keys2 = getKeys$1(Properties2);
45193
45210
  var length = keys2.length;
@@ -45254,7 +45271,7 @@ ${latestSubscriptionCallbackError.current.stack}
45254
45271
  };
45255
45272
  $exports.store = store$2;
45256
45273
  var _wksExports = _wks.exports;
45257
- var def = _objectDp.f;
45274
+ var def = require_objectDp().f;
45258
45275
  var has$b = _has;
45259
45276
  var TAG$1 = _wksExports("toStringTag");
45260
45277
  var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
@@ -45527,7 +45544,7 @@ ${latestSubscriptionCallbackError.current.stack}
45527
45544
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
45528
45545
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
45529
45546
  }, "_isArrayIter");
45530
- var $defineProperty$1 = _objectDp;
45547
+ var $defineProperty$1 = require_objectDp();
45531
45548
  var createDesc$2 = _propertyDesc;
45532
45549
  var _createProperty = /* @__PURE__ */ __name(function(object2, index2, value) {
45533
45550
  if (index2 in object2)
@@ -45656,7 +45673,7 @@ ${latestSubscriptionCallbackError.current.stack}
45656
45673
  }
45657
45674
  }, "_default$8");
45658
45675
  var $export$3 = _export;
45659
- $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
45676
+ $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
45660
45677
  var $Object$1 = _coreExports.Object;
45661
45678
  var defineProperty$6 = /* @__PURE__ */ __name(function defineProperty2(it, key2, desc) {
45662
45679
  return $Object$1.defineProperty(it, key2, desc);
@@ -45697,7 +45714,7 @@ ${latestSubscriptionCallbackError.current.stack}
45697
45714
  var META$1 = _uid("meta");
45698
45715
  var isObject$5 = _isObject;
45699
45716
  var has$9 = _has;
45700
- var setDesc = _objectDp.f;
45717
+ var setDesc = require_objectDp().f;
45701
45718
  var id$1 = 0;
45702
45719
  var isExtensible = Object.isExtensible || function() {
45703
45720
  return true;
@@ -45750,7 +45767,7 @@ ${latestSubscriptionCallbackError.current.stack}
45750
45767
  var _metaExports = _meta.exports;
45751
45768
  var core = _coreExports;
45752
45769
  var wksExt$1 = _wksExt;
45753
- var defineProperty$4 = _objectDp.f;
45770
+ var defineProperty$4 = require_objectDp().f;
45754
45771
  var _wksDefine = /* @__PURE__ */ __name(function(name2) {
45755
45772
  var $Symbol2 = core.Symbol || (core.Symbol = {});
45756
45773
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -45806,7 +45823,7 @@ ${latestSubscriptionCallbackError.current.stack}
45806
45823
  var has$8 = _has;
45807
45824
  var IE8_DOM_DEFINE = _ie8DomDefine;
45808
45825
  var gOPD$2 = Object.getOwnPropertyDescriptor;
45809
- _objectGopd.f = _descriptors ? gOPD$2 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor2(O2, P2) {
45826
+ _objectGopd.f = require_descriptors() ? gOPD$2 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor2(O2, P2) {
45810
45827
  O2 = toIObject$1(O2);
45811
45828
  P2 = toPrimitive$1(P2, true);
45812
45829
  if (IE8_DOM_DEFINE)
@@ -45819,7 +45836,7 @@ ${latestSubscriptionCallbackError.current.stack}
45819
45836
  }, "getOwnPropertyDescriptor");
45820
45837
  var global$1 = _globalExports;
45821
45838
  var has$7 = _has;
45822
- var DESCRIPTORS = _descriptors;
45839
+ var DESCRIPTORS = require_descriptors();
45823
45840
  var $export$2 = _export;
45824
45841
  var redefine = _redefine;
45825
45842
  var META = _metaExports.KEY;
@@ -45842,7 +45859,7 @@ ${latestSubscriptionCallbackError.current.stack}
45842
45859
  var gOPNExt = _objectGopnExt;
45843
45860
  var $GOPD = _objectGopd;
45844
45861
  var $GOPS = _objectGops;
45845
- var $DP = _objectDp;
45862
+ var $DP = require_objectDp();
45846
45863
  var $keys$1 = _objectKeys;
45847
45864
  var gOPD$1 = $GOPD.f;
45848
45865
  var dP = $DP.f;
@@ -86708,7 +86725,7 @@ ${latestSubscriptionCallbackError.current.stack}
86708
86725
  }, "updateEntitiesHelper"));
86709
86726
  __publicField(this, "getRowCopyText", /* @__PURE__ */ __name((rowEl, { specificColumn } = {}) => {
86710
86727
  if (!rowEl)
86711
- return;
86728
+ return [];
86712
86729
  const textContent = [];
86713
86730
  const jsonText = [];
86714
86731
  lodashExports.forEach(rowEl.children, (cellEl) => {
@@ -87954,6 +87971,26 @@ ${latestSubscriptionCallbackError.current.stack}
87954
87971
  return "";
87955
87972
  return stringText;
87956
87973
  }, "getCopyTextForCell"));
87974
+ __publicField(this, "addEditableTableEntities", /* @__PURE__ */ __name((incomingEnts) => {
87975
+ const { entities = [], reduxFormCellValidation } = computePresets(
87976
+ this.props
87977
+ );
87978
+ this.updateEntitiesHelper(entities, (entities2) => {
87979
+ const newEntities = incomingEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
87980
+ id: e2.id || nanoid(),
87981
+ _isClean: false
87982
+ }));
87983
+ const { newEnts, validationErrors } = this.formatAndValidateEntities(
87984
+ newEntities,
87985
+ {
87986
+ useDefaultValues: true,
87987
+ indexToStartAt: entities2.length
87988
+ }
87989
+ );
87990
+ entities2.splice(entities2.length, 0, ...newEnts);
87991
+ this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
87992
+ });
87993
+ }, "addEditableTableEntities"));
87957
87994
  __publicField(this, "insertRows", /* @__PURE__ */ __name(({ above, numRows = 1, appendToBottom } = {}) => {
87958
87995
  const { entities = [], reduxFormCellValidation } = computePresets(
87959
87996
  this.props
@@ -88346,6 +88383,9 @@ ${latestSubscriptionCallbackError.current.stack}
88346
88383
  )
88347
88384
  );
88348
88385
  }, "renderColumnHeader"));
88386
+ if (this.props.helperProp) {
88387
+ this.props.helperProp.addEditableTableEntities = this.addEditableTableEntities;
88388
+ }
88349
88389
  this.hotkeyEnabler = withHotkeys(__spreadProps(__spreadValues({
88350
88390
  moveUpARow: {
88351
88391
  global: false,
@@ -88943,16 +88983,25 @@ ${latestSubscriptionCallbackError.current.stack}
88943
88983
  this.table = n2;
88944
88984
  },
88945
88985
  additionalBodyEl: isCellEditable && !onlyShowRowsWErrors && /* @__PURE__ */ React$2.createElement(
88946
- Button,
88986
+ "div",
88947
88987
  {
88948
- icon: "add",
88949
- style: { marginTop: "auto" },
88950
- onClick: () => {
88951
- this.insertRows({ numRows: 10, appendToBottom: true });
88952
- },
88953
- minimal: true
88988
+ style: {
88989
+ width: "100%",
88990
+ display: "flex",
88991
+ justifyContent: "center"
88992
+ }
88954
88993
  },
88955
- "Add 10 Rows"
88994
+ /* @__PURE__ */ React$2.createElement(
88995
+ Button,
88996
+ {
88997
+ icon: "add",
88998
+ onClick: () => {
88999
+ this.insertRows({ numRows: 10, appendToBottom: true });
89000
+ },
89001
+ minimal: true
89002
+ },
89003
+ "Add 10 Rows"
89004
+ )
88956
89005
  ),
88957
89006
  className: classNames$1({
88958
89007
  isCellEditable,
@@ -91759,6 +91808,7 @@ ${latestSubscriptionCallbackError.current.stack}
91759
91808
  isSimple: true,
91760
91809
  keepDirtyOnReinitialize: true,
91761
91810
  isCellEditable: true,
91811
+ initialEntities: (initialEntities ? initialEntities : data) || [],
91762
91812
  entities: (initialEntities ? initialEntities : data) || [],
91763
91813
  schema: validateAgainstSchema
91764
91814
  }
@@ -113967,7 +114017,7 @@ ${latestSubscriptionCallbackError.current.stack}
113967
114017
  "primers",
113968
114018
  "guides"
113969
114019
  ];
113970
- function filterSequenceString(sequenceString, {
114020
+ function filterSequenceString(sequenceString = "", {
113971
114021
  additionalValidChars = "",
113972
114022
  isOligo: isOligo2,
113973
114023
  name: name2,
@@ -123665,12 +123715,6 @@ ${latestSubscriptionCallbackError.current.stack}
123665
123715
  sequence2.proteinSize = sequence2.proteinSequence.length;
123666
123716
  } else {
123667
123717
  const temp = sequence2.sequence;
123668
- if (!sequence2.isOligo) {
123669
- sequence2.sequence = sequence2.sequence.replace(
123670
- /u/gi,
123671
- (u2) => u2 === "U" ? "T" : "t"
123672
- );
123673
- }
123674
123718
  if (temp !== sequence2.sequence && !sequence2.isDNA && !sequence2.isProtein && sequence2.isRNA !== false) {
123675
123719
  sequence2.type = "RNA";
123676
123720
  sequence2.sequence = temp;
@@ -155183,7 +155227,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
155183
155227
  }
155184
155228
  __name(showFileDialog, "showFileDialog");
155185
155229
  const name = "@teselagen/ove";
155186
- const version = "0.3.54";
155230
+ const version = "0.3.55";
155187
155231
  const main = "./src/index.js";
155188
155232
  const exports$1 = {
155189
155233
  ".": {
@@ -163249,7 +163293,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
163249
163293
  "g",
163250
163294
  __spreadValues(__spreadProps(__spreadValues({
163251
163295
  transform: transform2,
163252
- title: noTitle ? null : titleText
163296
+ "data-title": noTitle ? null : titleText
163253
163297
  }, avoidOverlapWith), {
163254
163298
  key: isNotLocation ? "notLocation" : "location--" + annotation.id + "--" + i2
163255
163299
  }), sharedProps),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.55",
3
+ "version": "0.3.56",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -13,12 +13,12 @@
13
13
  "node": "16.20.2"
14
14
  },
15
15
  "dependencies": {
16
- "@teselagen/sequence-utils": "0.3.12",
16
+ "@teselagen/sequence-utils": "0.3.13",
17
17
  "@teselagen/range-utils": "0.3.7",
18
- "@teselagen/ui": "0.3.43",
18
+ "@teselagen/ui": "0.3.44",
19
19
  "@teselagen/file-utils": "0.3.9",
20
20
  "@teselagen/bounce-loader": "0.3.11",
21
- "@teselagen/bio-parsers": "0.4.6",
21
+ "@teselagen/bio-parsers": "0.4.7",
22
22
  "@blueprintjs/core": "3.52.0",
23
23
  "@blueprintjs/datetime": "3.23.19",
24
24
  "@blueprintjs/icons": "3.33.0",
@@ -380,8 +380,7 @@ function DrawAnnotationInner({
380
380
  return (
381
381
  <g
382
382
  transform={transform}
383
- // data-title={noTitle ? null : titleText}
384
- title={noTitle ? null : titleText}
383
+ data-title={noTitle ? null : titleText}
385
384
  {...avoidOverlapWith}
386
385
  key={
387
386
  isNotLocation