@teselagen/ove 0.3.20 → 0.3.21

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
@@ -30429,20 +30429,12 @@ var _cof = function (it) {
30429
30429
  return toString$6.call(it).slice(8, -1);
30430
30430
  };
30431
30431
 
30432
- var _iobject;
30433
- var hasRequired_iobject;
30434
-
30435
- function require_iobject () {
30436
- if (hasRequired_iobject) return _iobject;
30437
- hasRequired_iobject = 1;
30438
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
30439
- var cof = _cof;
30440
- // eslint-disable-next-line no-prototype-builtins
30441
- _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30442
- return cof(it) == 'String' ? it.split('') : Object(it);
30443
- };
30444
- return _iobject;
30445
- }
30432
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
30433
+ var cof$2 = _cof;
30434
+ // eslint-disable-next-line no-prototype-builtins
30435
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30436
+ return cof$2(it) == 'String' ? it.split('') : Object(it);
30437
+ };
30446
30438
 
30447
30439
  // 7.2.1 RequireObjectCoercible(argument)
30448
30440
  var _defined = function (it) {
@@ -30451,7 +30443,7 @@ var _defined = function (it) {
30451
30443
  };
30452
30444
 
30453
30445
  // to indexed object, toObject with fallback for non-array-like ES3 strings
30454
- var IObject = require_iobject();
30446
+ var IObject = _iobject;
30455
30447
  var defined$2 = _defined;
30456
30448
  var _toIobject = function (it) {
30457
30449
  return IObject(defined$2(it));
@@ -30571,14 +30563,7 @@ _objectGops.f = Object.getOwnPropertySymbols;
30571
30563
 
30572
30564
  var _objectPie = {};
30573
30565
 
30574
- var hasRequired_objectPie;
30575
-
30576
- function require_objectPie () {
30577
- if (hasRequired_objectPie) return _objectPie;
30578
- hasRequired_objectPie = 1;
30579
- _objectPie.f = {}.propertyIsEnumerable;
30580
- return _objectPie;
30581
- }
30566
+ _objectPie.f = {}.propertyIsEnumerable;
30582
30567
 
30583
30568
  // 7.1.13 ToObject(argument)
30584
30569
  var defined$1 = _defined;
@@ -30596,9 +30581,9 @@ function require_objectAssign () {
30596
30581
  var DESCRIPTORS = _descriptors;
30597
30582
  var getKeys = _objectKeys;
30598
30583
  var gOPS = _objectGops;
30599
- var pIE = require_objectPie();
30584
+ var pIE = _objectPie;
30600
30585
  var toObject = _toObject;
30601
- var IObject = require_iobject();
30586
+ var IObject = _iobject;
30602
30587
  var $assign = Object.assign;
30603
30588
 
30604
30589
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -31311,7 +31296,7 @@ var _wksDefine = function (name) {
31311
31296
  // all enumerable object keys, includes symbols
31312
31297
  var getKeys = _objectKeys;
31313
31298
  var gOPS$1 = _objectGops;
31314
- var pIE$1 = require_objectPie();
31299
+ var pIE$1 = _objectPie;
31315
31300
  var _enumKeys = function (it) {
31316
31301
  var result = getKeys(it);
31317
31302
  var getSymbols = gOPS$1.f;
@@ -31364,7 +31349,7 @@ _objectGopnExt.f = function getOwnPropertyNames(it) {
31364
31349
 
31365
31350
  var _objectGopd = {};
31366
31351
 
31367
- var pIE = require_objectPie();
31352
+ var pIE = _objectPie;
31368
31353
  var createDesc$1 = _propertyDesc;
31369
31354
  var toIObject$1 = _toIobject;
31370
31355
  var toPrimitive$1 = _toPrimitive$1;
@@ -31532,7 +31517,7 @@ if (!USE_NATIVE) {
31532
31517
  $GOPD.f = $getOwnPropertyDescriptor;
31533
31518
  $DP.f = $defineProperty$1;
31534
31519
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
31535
- require_objectPie().f = $propertyIsEnumerable;
31520
+ _objectPie.f = $propertyIsEnumerable;
31536
31521
  $GOPS.f = $getOwnPropertySymbols;
31537
31522
 
31538
31523
  if (DESCRIPTORS && !_library) {
@@ -161185,7 +161170,7 @@ function showFileDialog({ multiple = false, onSelect }) {
161185
161170
  }
161186
161171
 
161187
161172
  const name = "@teselagen/ove";
161188
- const version = "0.3.19";
161173
+ const version = "0.3.20";
161189
161174
  const main = "./src/index.js";
161190
161175
  const exports$1 = {
161191
161176
  ".": {
@@ -162653,7 +162638,7 @@ const editCommandDefs = {
162653
162638
  },
162654
162639
  useGtgAndCtgAsStartCodons: {
162655
162640
  isHidden: isProtein,
162656
- name: "Use GTG And CTG As Start Codons",
162641
+ name: (props) => isRna(props) ? "Use GUG And CUG As Start Codons" : "Use GTG And CTG As Start Codons",
162657
162642
  isActive: (props) => props.useAdditionalOrfStartCodons,
162658
162643
  handler: (props) => props.useAdditionalOrfStartCodonsToggle()
162659
162644
  },
package/index.es.js CHANGED
@@ -30408,20 +30408,12 @@ var _cof = function (it) {
30408
30408
  return toString$6.call(it).slice(8, -1);
30409
30409
  };
30410
30410
 
30411
- var _iobject;
30412
- var hasRequired_iobject;
30413
-
30414
- function require_iobject () {
30415
- if (hasRequired_iobject) return _iobject;
30416
- hasRequired_iobject = 1;
30417
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
30418
- var cof = _cof;
30419
- // eslint-disable-next-line no-prototype-builtins
30420
- _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30421
- return cof(it) == 'String' ? it.split('') : Object(it);
30422
- };
30423
- return _iobject;
30424
- }
30411
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
30412
+ var cof$2 = _cof;
30413
+ // eslint-disable-next-line no-prototype-builtins
30414
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
30415
+ return cof$2(it) == 'String' ? it.split('') : Object(it);
30416
+ };
30425
30417
 
30426
30418
  // 7.2.1 RequireObjectCoercible(argument)
30427
30419
  var _defined = function (it) {
@@ -30430,7 +30422,7 @@ var _defined = function (it) {
30430
30422
  };
30431
30423
 
30432
30424
  // to indexed object, toObject with fallback for non-array-like ES3 strings
30433
- var IObject = require_iobject();
30425
+ var IObject = _iobject;
30434
30426
  var defined$2 = _defined;
30435
30427
  var _toIobject = function (it) {
30436
30428
  return IObject(defined$2(it));
@@ -30550,14 +30542,7 @@ _objectGops.f = Object.getOwnPropertySymbols;
30550
30542
 
30551
30543
  var _objectPie = {};
30552
30544
 
30553
- var hasRequired_objectPie;
30554
-
30555
- function require_objectPie () {
30556
- if (hasRequired_objectPie) return _objectPie;
30557
- hasRequired_objectPie = 1;
30558
- _objectPie.f = {}.propertyIsEnumerable;
30559
- return _objectPie;
30560
- }
30545
+ _objectPie.f = {}.propertyIsEnumerable;
30561
30546
 
30562
30547
  // 7.1.13 ToObject(argument)
30563
30548
  var defined$1 = _defined;
@@ -30575,9 +30560,9 @@ function require_objectAssign () {
30575
30560
  var DESCRIPTORS = _descriptors;
30576
30561
  var getKeys = _objectKeys;
30577
30562
  var gOPS = _objectGops;
30578
- var pIE = require_objectPie();
30563
+ var pIE = _objectPie;
30579
30564
  var toObject = _toObject;
30580
- var IObject = require_iobject();
30565
+ var IObject = _iobject;
30581
30566
  var $assign = Object.assign;
30582
30567
 
30583
30568
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -31290,7 +31275,7 @@ var _wksDefine = function (name) {
31290
31275
  // all enumerable object keys, includes symbols
31291
31276
  var getKeys = _objectKeys;
31292
31277
  var gOPS$1 = _objectGops;
31293
- var pIE$1 = require_objectPie();
31278
+ var pIE$1 = _objectPie;
31294
31279
  var _enumKeys = function (it) {
31295
31280
  var result = getKeys(it);
31296
31281
  var getSymbols = gOPS$1.f;
@@ -31343,7 +31328,7 @@ _objectGopnExt.f = function getOwnPropertyNames(it) {
31343
31328
 
31344
31329
  var _objectGopd = {};
31345
31330
 
31346
- var pIE = require_objectPie();
31331
+ var pIE = _objectPie;
31347
31332
  var createDesc$1 = _propertyDesc;
31348
31333
  var toIObject$1 = _toIobject;
31349
31334
  var toPrimitive$1 = _toPrimitive$1;
@@ -31511,7 +31496,7 @@ if (!USE_NATIVE) {
31511
31496
  $GOPD.f = $getOwnPropertyDescriptor;
31512
31497
  $DP.f = $defineProperty$1;
31513
31498
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
31514
- require_objectPie().f = $propertyIsEnumerable;
31499
+ _objectPie.f = $propertyIsEnumerable;
31515
31500
  $GOPS.f = $getOwnPropertySymbols;
31516
31501
 
31517
31502
  if (DESCRIPTORS && !_library) {
@@ -161164,7 +161149,7 @@ function showFileDialog({ multiple = false, onSelect }) {
161164
161149
  }
161165
161150
 
161166
161151
  const name = "@teselagen/ove";
161167
- const version = "0.3.19";
161152
+ const version = "0.3.20";
161168
161153
  const main = "./src/index.js";
161169
161154
  const exports$1 = {
161170
161155
  ".": {
@@ -162632,7 +162617,7 @@ const editCommandDefs = {
162632
162617
  },
162633
162618
  useGtgAndCtgAsStartCodons: {
162634
162619
  isHidden: isProtein,
162635
- name: "Use GTG And CTG As Start Codons",
162620
+ name: (props) => isRna(props) ? "Use GUG And CUG As Start Codons" : "Use GTG And CTG As Start Codons",
162636
162621
  isActive: (props) => props.useAdditionalOrfStartCodons,
162637
162622
  handler: (props) => props.useAdditionalOrfStartCodonsToggle()
162638
162623
  },
package/index.umd.js CHANGED
@@ -57196,20 +57196,12 @@
57196
57196
  return toString$4.call(it).slice(8, -1);
57197
57197
  };
57198
57198
 
57199
- var _iobject;
57200
- var hasRequired_iobject;
57201
-
57202
- function require_iobject () {
57203
- if (hasRequired_iobject) return _iobject;
57204
- hasRequired_iobject = 1;
57205
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
57206
- var cof = _cof;
57207
- // eslint-disable-next-line no-prototype-builtins
57208
- _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
57209
- return cof(it) == 'String' ? it.split('') : Object(it);
57210
- };
57211
- return _iobject;
57212
- }
57199
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
57200
+ var cof$2 = _cof;
57201
+ // eslint-disable-next-line no-prototype-builtins
57202
+ var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
57203
+ return cof$2(it) == 'String' ? it.split('') : Object(it);
57204
+ };
57213
57205
 
57214
57206
  // 7.2.1 RequireObjectCoercible(argument)
57215
57207
  var _defined = function (it) {
@@ -57218,7 +57210,7 @@
57218
57210
  };
57219
57211
 
57220
57212
  // to indexed object, toObject with fallback for non-array-like ES3 strings
57221
- var IObject = require_iobject();
57213
+ var IObject = _iobject;
57222
57214
  var defined$2 = _defined;
57223
57215
  var _toIobject = function (it) {
57224
57216
  return IObject(defined$2(it));
@@ -57338,14 +57330,7 @@
57338
57330
 
57339
57331
  var _objectPie = {};
57340
57332
 
57341
- var hasRequired_objectPie;
57342
-
57343
- function require_objectPie () {
57344
- if (hasRequired_objectPie) return _objectPie;
57345
- hasRequired_objectPie = 1;
57346
- _objectPie.f = {}.propertyIsEnumerable;
57347
- return _objectPie;
57348
- }
57333
+ _objectPie.f = {}.propertyIsEnumerable;
57349
57334
 
57350
57335
  // 7.1.13 ToObject(argument)
57351
57336
  var defined$1 = _defined;
@@ -57363,9 +57348,9 @@
57363
57348
  var DESCRIPTORS = require_descriptors();
57364
57349
  var getKeys = _objectKeys;
57365
57350
  var gOPS = _objectGops;
57366
- var pIE = require_objectPie();
57351
+ var pIE = _objectPie;
57367
57352
  var toObject = _toObject;
57368
- var IObject = require_iobject();
57353
+ var IObject = _iobject;
57369
57354
  var $assign = Object.assign;
57370
57355
 
57371
57356
  // should work with symbols and should have deterministic property order (V8 bug)
@@ -58078,7 +58063,7 @@
58078
58063
  // all enumerable object keys, includes symbols
58079
58064
  var getKeys = _objectKeys;
58080
58065
  var gOPS$1 = _objectGops;
58081
- var pIE$1 = require_objectPie();
58066
+ var pIE$1 = _objectPie;
58082
58067
  var _enumKeys = function (it) {
58083
58068
  var result = getKeys(it);
58084
58069
  var getSymbols = gOPS$1.f;
@@ -58131,7 +58116,7 @@
58131
58116
 
58132
58117
  var _objectGopd = {};
58133
58118
 
58134
- var pIE = require_objectPie();
58119
+ var pIE = _objectPie;
58135
58120
  var createDesc$1 = _propertyDesc;
58136
58121
  var toIObject$1 = _toIobject;
58137
58122
  var toPrimitive$1 = _toPrimitive$1;
@@ -58299,7 +58284,7 @@
58299
58284
  $GOPD.f = $getOwnPropertyDescriptor;
58300
58285
  $DP.f = $defineProperty;
58301
58286
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
58302
- require_objectPie().f = $propertyIsEnumerable;
58287
+ _objectPie.f = $propertyIsEnumerable;
58303
58288
  $GOPS.f = $getOwnPropertySymbols;
58304
58289
 
58305
58290
  if (DESCRIPTORS && !_library) {
@@ -188792,7 +188777,7 @@ double click --> edit`}`;
188792
188777
  }
188793
188778
 
188794
188779
  const name = "@teselagen/ove";
188795
- const version = "0.3.19";
188780
+ const version = "0.3.20";
188796
188781
  const main = "./src/index.js";
188797
188782
  const exports$1 = {
188798
188783
  ".": {
@@ -190260,7 +190245,7 @@ double click --> edit`}`;
190260
190245
  },
190261
190246
  useGtgAndCtgAsStartCodons: {
190262
190247
  isHidden: isProtein,
190263
- name: "Use GTG And CTG As Start Codons",
190248
+ name: (props) => isRna(props) ? "Use GUG And CUG As Start Codons" : "Use GTG And CTG As Start Codons",
190264
190249
  isActive: (props) => props.useAdditionalOrfStartCodons,
190265
190250
  handler: (props) => props.useAdditionalOrfStartCodonsToggle()
190266
190251
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -930,7 +930,10 @@ const editCommandDefs = {
930
930
  useGtgAndCtgAsStartCodons: {
931
931
  isHidden: isProtein,
932
932
 
933
- name: "Use GTG And CTG As Start Codons",
933
+ name: props =>
934
+ isRna(props)
935
+ ? "Use GUG And CUG As Start Codons"
936
+ : "Use GTG And CTG As Start Codons",
934
937
  isActive: props => props.useAdditionalOrfStartCodons,
935
938
  handler: props => props.useAdditionalOrfStartCodonsToggle()
936
939
  },