@teselagen/ove 0.3.22 → 0.3.23
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 +20 -34
- package/index.es.js +20 -34
- package/index.umd.js +72 -87
- package/package.json +1 -1
- package/src/AlignmentView/index.js +5 -2
- package/src/AlignmentView/style.css +4 -0
- package/src/Editor/index.js +1 -1
- package/src/ToolBar/index.js +1 -1
- package/style.css +4 -0
package/index.cjs.js
CHANGED
|
@@ -30452,20 +30452,12 @@ var _cof = function (it) {
|
|
|
30452
30452
|
return toString$6.call(it).slice(8, -1);
|
|
30453
30453
|
};
|
|
30454
30454
|
|
|
30455
|
-
|
|
30456
|
-
var
|
|
30457
|
-
|
|
30458
|
-
|
|
30459
|
-
|
|
30460
|
-
|
|
30461
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
30462
|
-
var cof = _cof;
|
|
30463
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
30464
|
-
_iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
30465
|
-
return cof(it) == 'String' ? it.split('') : Object(it);
|
|
30466
|
-
};
|
|
30467
|
-
return _iobject;
|
|
30468
|
-
}
|
|
30455
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
30456
|
+
var cof$2 = _cof;
|
|
30457
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
30458
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
30459
|
+
return cof$2(it) == 'String' ? it.split('') : Object(it);
|
|
30460
|
+
};
|
|
30469
30461
|
|
|
30470
30462
|
// 7.2.1 RequireObjectCoercible(argument)
|
|
30471
30463
|
var _defined = function (it) {
|
|
@@ -30474,7 +30466,7 @@ var _defined = function (it) {
|
|
|
30474
30466
|
};
|
|
30475
30467
|
|
|
30476
30468
|
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
30477
|
-
var IObject =
|
|
30469
|
+
var IObject = _iobject;
|
|
30478
30470
|
var defined$2 = _defined;
|
|
30479
30471
|
var _toIobject = function (it) {
|
|
30480
30472
|
return IObject(defined$2(it));
|
|
@@ -30594,14 +30586,7 @@ _objectGops.f = Object.getOwnPropertySymbols;
|
|
|
30594
30586
|
|
|
30595
30587
|
var _objectPie = {};
|
|
30596
30588
|
|
|
30597
|
-
|
|
30598
|
-
|
|
30599
|
-
function require_objectPie () {
|
|
30600
|
-
if (hasRequired_objectPie) return _objectPie;
|
|
30601
|
-
hasRequired_objectPie = 1;
|
|
30602
|
-
_objectPie.f = {}.propertyIsEnumerable;
|
|
30603
|
-
return _objectPie;
|
|
30604
|
-
}
|
|
30589
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
|
30605
30590
|
|
|
30606
30591
|
// 7.1.13 ToObject(argument)
|
|
30607
30592
|
var defined$1 = _defined;
|
|
@@ -30619,9 +30604,9 @@ function require_objectAssign () {
|
|
|
30619
30604
|
var DESCRIPTORS = require_descriptors();
|
|
30620
30605
|
var getKeys = _objectKeys;
|
|
30621
30606
|
var gOPS = _objectGops;
|
|
30622
|
-
var pIE =
|
|
30607
|
+
var pIE = _objectPie;
|
|
30623
30608
|
var toObject = _toObject;
|
|
30624
|
-
var IObject =
|
|
30609
|
+
var IObject = _iobject;
|
|
30625
30610
|
var $assign = Object.assign;
|
|
30626
30611
|
|
|
30627
30612
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
@@ -31334,7 +31319,7 @@ var _wksDefine = function (name) {
|
|
|
31334
31319
|
// all enumerable object keys, includes symbols
|
|
31335
31320
|
var getKeys = _objectKeys;
|
|
31336
31321
|
var gOPS$1 = _objectGops;
|
|
31337
|
-
var pIE$1 =
|
|
31322
|
+
var pIE$1 = _objectPie;
|
|
31338
31323
|
var _enumKeys = function (it) {
|
|
31339
31324
|
var result = getKeys(it);
|
|
31340
31325
|
var getSymbols = gOPS$1.f;
|
|
@@ -31387,7 +31372,7 @@ _objectGopnExt.f = function getOwnPropertyNames(it) {
|
|
|
31387
31372
|
|
|
31388
31373
|
var _objectGopd = {};
|
|
31389
31374
|
|
|
31390
|
-
var pIE =
|
|
31375
|
+
var pIE = _objectPie;
|
|
31391
31376
|
var createDesc$1 = _propertyDesc;
|
|
31392
31377
|
var toIObject$1 = _toIobject;
|
|
31393
31378
|
var toPrimitive$1 = _toPrimitive$1;
|
|
@@ -31555,7 +31540,7 @@ if (!USE_NATIVE) {
|
|
|
31555
31540
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
31556
31541
|
$DP.f = $defineProperty$1;
|
|
31557
31542
|
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
31558
|
-
|
|
31543
|
+
_objectPie.f = $propertyIsEnumerable;
|
|
31559
31544
|
$GOPS.f = $getOwnPropertySymbols;
|
|
31560
31545
|
|
|
31561
31546
|
if (DESCRIPTORS && !_library) {
|
|
@@ -161208,7 +161193,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
161208
161193
|
}
|
|
161209
161194
|
|
|
161210
161195
|
const name = "@teselagen/ove";
|
|
161211
|
-
const version = "0.3.
|
|
161196
|
+
const version = "0.3.22";
|
|
161212
161197
|
const main = "./src/index.js";
|
|
161213
161198
|
const exports$1 = {
|
|
161214
161199
|
".": {
|
|
@@ -178987,8 +178972,6 @@ class AlignmentView extends React$3.Component {
|
|
|
178987
178972
|
delete window.updateAlignmentSelection;
|
|
178988
178973
|
delete window.Cypress.updateAlignmentSelection;
|
|
178989
178974
|
}
|
|
178990
|
-
const { removeAlignmentFromRedux, id } = this.props;
|
|
178991
|
-
removeAlignmentFromRedux({ id });
|
|
178992
178975
|
this.onShortcutCopy && document.removeEventListener("keydown", this.handleAlignmentCopy);
|
|
178993
178976
|
}
|
|
178994
178977
|
handleAlignmentCopy = (event) => {
|
|
@@ -179553,6 +179536,7 @@ ${seqDataToCopy}\r
|
|
|
179553
179536
|
vectorInteractionWrapperStyle: {
|
|
179554
179537
|
overflowY: "hidden"
|
|
179555
179538
|
},
|
|
179539
|
+
withZoomLinearView: false,
|
|
179556
179540
|
marginWidth: 0,
|
|
179557
179541
|
linearViewCharWidth: charWidthInLinearView,
|
|
179558
179542
|
ignoreGapsOnHighlight: true,
|
|
@@ -180405,6 +180389,7 @@ const AlignmentView$1 = compose(
|
|
|
180405
180389
|
scrollPercentageToJumpTo,
|
|
180406
180390
|
pairwiseOverviewAlignmentTracks,
|
|
180407
180391
|
loading,
|
|
180392
|
+
name,
|
|
180408
180393
|
alignmentAnnotationVisibility,
|
|
180409
180394
|
alignmentAnnotationLabelVisibility,
|
|
180410
180395
|
caretPosition = -1,
|
|
@@ -180478,6 +180463,7 @@ const AlignmentView$1 = compose(
|
|
|
180478
180463
|
unmappedSeqs,
|
|
180479
180464
|
caretPosition,
|
|
180480
180465
|
alignmentId,
|
|
180466
|
+
...name && { alignmentName: name },
|
|
180481
180467
|
stateTrackingId,
|
|
180482
180468
|
sequenceData: {
|
|
180483
180469
|
//pass fake seq data in so editor interactions work
|
|
@@ -180506,12 +180492,12 @@ const AlignmentView$1 = compose(
|
|
|
180506
180492
|
}
|
|
180507
180493
|
});
|
|
180508
180494
|
},
|
|
180509
|
-
alignmentAnnotationLabelVisibilityToggle: (
|
|
180495
|
+
alignmentAnnotationLabelVisibilityToggle: (name2) => {
|
|
180510
180496
|
updateAlignmentViewVisibility({
|
|
180511
180497
|
...alignment,
|
|
180512
180498
|
alignmentAnnotationLabelVisibility: {
|
|
180513
180499
|
...alignment.alignmentAnnotationLabelVisibility,
|
|
180514
|
-
[
|
|
180500
|
+
[name2]: !alignment.alignmentAnnotationLabelVisibility[name2]
|
|
180515
180501
|
}
|
|
180516
180502
|
});
|
|
180517
180503
|
},
|
|
@@ -194643,7 +194629,7 @@ class Editor extends React$3.Component {
|
|
|
194643
194629
|
style: {
|
|
194644
194630
|
zIndex: 15002,
|
|
194645
194631
|
position: "fixed",
|
|
194646
|
-
top:
|
|
194632
|
+
top: 3,
|
|
194647
194633
|
right: 25
|
|
194648
194634
|
}
|
|
194649
194635
|
},
|
package/index.es.js
CHANGED
|
@@ -30431,20 +30431,12 @@ var _cof = function (it) {
|
|
|
30431
30431
|
return toString$6.call(it).slice(8, -1);
|
|
30432
30432
|
};
|
|
30433
30433
|
|
|
30434
|
-
|
|
30435
|
-
var
|
|
30436
|
-
|
|
30437
|
-
|
|
30438
|
-
|
|
30439
|
-
|
|
30440
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
30441
|
-
var cof = _cof;
|
|
30442
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
30443
|
-
_iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
30444
|
-
return cof(it) == 'String' ? it.split('') : Object(it);
|
|
30445
|
-
};
|
|
30446
|
-
return _iobject;
|
|
30447
|
-
}
|
|
30434
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
30435
|
+
var cof$2 = _cof;
|
|
30436
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
30437
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
30438
|
+
return cof$2(it) == 'String' ? it.split('') : Object(it);
|
|
30439
|
+
};
|
|
30448
30440
|
|
|
30449
30441
|
// 7.2.1 RequireObjectCoercible(argument)
|
|
30450
30442
|
var _defined = function (it) {
|
|
@@ -30453,7 +30445,7 @@ var _defined = function (it) {
|
|
|
30453
30445
|
};
|
|
30454
30446
|
|
|
30455
30447
|
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
30456
|
-
var IObject =
|
|
30448
|
+
var IObject = _iobject;
|
|
30457
30449
|
var defined$2 = _defined;
|
|
30458
30450
|
var _toIobject = function (it) {
|
|
30459
30451
|
return IObject(defined$2(it));
|
|
@@ -30573,14 +30565,7 @@ _objectGops.f = Object.getOwnPropertySymbols;
|
|
|
30573
30565
|
|
|
30574
30566
|
var _objectPie = {};
|
|
30575
30567
|
|
|
30576
|
-
|
|
30577
|
-
|
|
30578
|
-
function require_objectPie () {
|
|
30579
|
-
if (hasRequired_objectPie) return _objectPie;
|
|
30580
|
-
hasRequired_objectPie = 1;
|
|
30581
|
-
_objectPie.f = {}.propertyIsEnumerable;
|
|
30582
|
-
return _objectPie;
|
|
30583
|
-
}
|
|
30568
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
|
30584
30569
|
|
|
30585
30570
|
// 7.1.13 ToObject(argument)
|
|
30586
30571
|
var defined$1 = _defined;
|
|
@@ -30598,9 +30583,9 @@ function require_objectAssign () {
|
|
|
30598
30583
|
var DESCRIPTORS = require_descriptors();
|
|
30599
30584
|
var getKeys = _objectKeys;
|
|
30600
30585
|
var gOPS = _objectGops;
|
|
30601
|
-
var pIE =
|
|
30586
|
+
var pIE = _objectPie;
|
|
30602
30587
|
var toObject = _toObject;
|
|
30603
|
-
var IObject =
|
|
30588
|
+
var IObject = _iobject;
|
|
30604
30589
|
var $assign = Object.assign;
|
|
30605
30590
|
|
|
30606
30591
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
@@ -31313,7 +31298,7 @@ var _wksDefine = function (name) {
|
|
|
31313
31298
|
// all enumerable object keys, includes symbols
|
|
31314
31299
|
var getKeys = _objectKeys;
|
|
31315
31300
|
var gOPS$1 = _objectGops;
|
|
31316
|
-
var pIE$1 =
|
|
31301
|
+
var pIE$1 = _objectPie;
|
|
31317
31302
|
var _enumKeys = function (it) {
|
|
31318
31303
|
var result = getKeys(it);
|
|
31319
31304
|
var getSymbols = gOPS$1.f;
|
|
@@ -31366,7 +31351,7 @@ _objectGopnExt.f = function getOwnPropertyNames(it) {
|
|
|
31366
31351
|
|
|
31367
31352
|
var _objectGopd = {};
|
|
31368
31353
|
|
|
31369
|
-
var pIE =
|
|
31354
|
+
var pIE = _objectPie;
|
|
31370
31355
|
var createDesc$1 = _propertyDesc;
|
|
31371
31356
|
var toIObject$1 = _toIobject;
|
|
31372
31357
|
var toPrimitive$1 = _toPrimitive$1;
|
|
@@ -31534,7 +31519,7 @@ if (!USE_NATIVE) {
|
|
|
31534
31519
|
$GOPD.f = $getOwnPropertyDescriptor;
|
|
31535
31520
|
$DP.f = $defineProperty$1;
|
|
31536
31521
|
_objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
|
|
31537
|
-
|
|
31522
|
+
_objectPie.f = $propertyIsEnumerable;
|
|
31538
31523
|
$GOPS.f = $getOwnPropertySymbols;
|
|
31539
31524
|
|
|
31540
31525
|
if (DESCRIPTORS && !_library) {
|
|
@@ -161187,7 +161172,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
161187
161172
|
}
|
|
161188
161173
|
|
|
161189
161174
|
const name = "@teselagen/ove";
|
|
161190
|
-
const version = "0.3.
|
|
161175
|
+
const version = "0.3.22";
|
|
161191
161176
|
const main = "./src/index.js";
|
|
161192
161177
|
const exports$1 = {
|
|
161193
161178
|
".": {
|
|
@@ -178966,8 +178951,6 @@ class AlignmentView extends React__default$1.Component {
|
|
|
178966
178951
|
delete window.updateAlignmentSelection;
|
|
178967
178952
|
delete window.Cypress.updateAlignmentSelection;
|
|
178968
178953
|
}
|
|
178969
|
-
const { removeAlignmentFromRedux, id } = this.props;
|
|
178970
|
-
removeAlignmentFromRedux({ id });
|
|
178971
178954
|
this.onShortcutCopy && document.removeEventListener("keydown", this.handleAlignmentCopy);
|
|
178972
178955
|
}
|
|
178973
178956
|
handleAlignmentCopy = (event) => {
|
|
@@ -179532,6 +179515,7 @@ ${seqDataToCopy}\r
|
|
|
179532
179515
|
vectorInteractionWrapperStyle: {
|
|
179533
179516
|
overflowY: "hidden"
|
|
179534
179517
|
},
|
|
179518
|
+
withZoomLinearView: false,
|
|
179535
179519
|
marginWidth: 0,
|
|
179536
179520
|
linearViewCharWidth: charWidthInLinearView,
|
|
179537
179521
|
ignoreGapsOnHighlight: true,
|
|
@@ -180384,6 +180368,7 @@ const AlignmentView$1 = compose(
|
|
|
180384
180368
|
scrollPercentageToJumpTo,
|
|
180385
180369
|
pairwiseOverviewAlignmentTracks,
|
|
180386
180370
|
loading,
|
|
180371
|
+
name,
|
|
180387
180372
|
alignmentAnnotationVisibility,
|
|
180388
180373
|
alignmentAnnotationLabelVisibility,
|
|
180389
180374
|
caretPosition = -1,
|
|
@@ -180457,6 +180442,7 @@ const AlignmentView$1 = compose(
|
|
|
180457
180442
|
unmappedSeqs,
|
|
180458
180443
|
caretPosition,
|
|
180459
180444
|
alignmentId,
|
|
180445
|
+
...name && { alignmentName: name },
|
|
180460
180446
|
stateTrackingId,
|
|
180461
180447
|
sequenceData: {
|
|
180462
180448
|
//pass fake seq data in so editor interactions work
|
|
@@ -180485,12 +180471,12 @@ const AlignmentView$1 = compose(
|
|
|
180485
180471
|
}
|
|
180486
180472
|
});
|
|
180487
180473
|
},
|
|
180488
|
-
alignmentAnnotationLabelVisibilityToggle: (
|
|
180474
|
+
alignmentAnnotationLabelVisibilityToggle: (name2) => {
|
|
180489
180475
|
updateAlignmentViewVisibility({
|
|
180490
180476
|
...alignment,
|
|
180491
180477
|
alignmentAnnotationLabelVisibility: {
|
|
180492
180478
|
...alignment.alignmentAnnotationLabelVisibility,
|
|
180493
|
-
[
|
|
180479
|
+
[name2]: !alignment.alignmentAnnotationLabelVisibility[name2]
|
|
180494
180480
|
}
|
|
180495
180481
|
});
|
|
180496
180482
|
},
|
|
@@ -194622,7 +194608,7 @@ class Editor extends React__default$1.Component {
|
|
|
194622
194608
|
style: {
|
|
194623
194609
|
zIndex: 15002,
|
|
194624
194610
|
position: "fixed",
|
|
194625
|
-
top:
|
|
194611
|
+
top: 3,
|
|
194626
194612
|
right: 25
|
|
194627
194613
|
}
|
|
194628
194614
|
},
|
package/index.umd.js
CHANGED
|
@@ -57113,10 +57113,10 @@
|
|
|
57113
57113
|
};
|
|
57114
57114
|
};
|
|
57115
57115
|
|
|
57116
|
-
var dP$
|
|
57116
|
+
var dP$2 = require_objectDp();
|
|
57117
57117
|
var createDesc$3 = _propertyDesc;
|
|
57118
57118
|
var _hide = require_descriptors() ? function (object, key, value) {
|
|
57119
|
-
return dP$
|
|
57119
|
+
return dP$2.f(object, key, createDesc$3(1, value));
|
|
57120
57120
|
} : function (object, key, value) {
|
|
57121
57121
|
object[key] = value;
|
|
57122
57122
|
return object;
|
|
@@ -57132,7 +57132,7 @@
|
|
|
57132
57132
|
var ctx$1 = _ctx;
|
|
57133
57133
|
var hide$2 = _hide;
|
|
57134
57134
|
var has$d = _has;
|
|
57135
|
-
var PROTOTYPE$
|
|
57135
|
+
var PROTOTYPE$2 = 'prototype';
|
|
57136
57136
|
|
|
57137
57137
|
var $export$8 = function (type, name, source) {
|
|
57138
57138
|
var IS_FORCED = type & $export$8.F;
|
|
@@ -57142,8 +57142,8 @@
|
|
|
57142
57142
|
var IS_BIND = type & $export$8.B;
|
|
57143
57143
|
var IS_WRAP = type & $export$8.W;
|
|
57144
57144
|
var exports = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
|
|
57145
|
-
var expProto = exports[PROTOTYPE$
|
|
57146
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$
|
|
57145
|
+
var expProto = exports[PROTOTYPE$2];
|
|
57146
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$2];
|
|
57147
57147
|
var key, own, out;
|
|
57148
57148
|
if (IS_GLOBAL) source = name;
|
|
57149
57149
|
for (key in source) {
|
|
@@ -57167,7 +57167,7 @@
|
|
|
57167
57167
|
} return new C(a, b, c);
|
|
57168
57168
|
} return C.apply(this, arguments);
|
|
57169
57169
|
};
|
|
57170
|
-
F[PROTOTYPE$
|
|
57170
|
+
F[PROTOTYPE$2] = C[PROTOTYPE$2];
|
|
57171
57171
|
return F;
|
|
57172
57172
|
// make static versions for prototype methods
|
|
57173
57173
|
})(out) : IS_PROTO && typeof out == 'function' ? ctx$1(Function.call, out) : out;
|
|
@@ -57304,14 +57304,14 @@
|
|
|
57304
57304
|
var has$c = _has;
|
|
57305
57305
|
var toIObject$4 = _toIobject;
|
|
57306
57306
|
var arrayIndexOf = _arrayIncludes$1(false);
|
|
57307
|
-
var IE_PROTO$
|
|
57307
|
+
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
57308
57308
|
|
|
57309
57309
|
var _objectKeysInternal = function (object, names) {
|
|
57310
57310
|
var O = toIObject$4(object);
|
|
57311
57311
|
var i = 0;
|
|
57312
57312
|
var result = [];
|
|
57313
57313
|
var key;
|
|
57314
|
-
for (key in O) if (key != IE_PROTO$
|
|
57314
|
+
for (key in O) if (key != IE_PROTO$2) has$c(O, key) && result.push(key);
|
|
57315
57315
|
// Don't enum bug & hidden keys
|
|
57316
57316
|
while (names.length > i) if (has$c(O, key = names[i++])) {
|
|
57317
57317
|
~arrayIndexOf(result, key) || result.push(key);
|
|
@@ -57326,10 +57326,10 @@
|
|
|
57326
57326
|
|
|
57327
57327
|
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
57328
57328
|
var $keys$3 = _objectKeysInternal;
|
|
57329
|
-
var enumBugKeys = _enumBugKeys;
|
|
57329
|
+
var enumBugKeys$1 = _enumBugKeys;
|
|
57330
57330
|
|
|
57331
57331
|
var _objectKeys = Object.keys || function keys(O) {
|
|
57332
|
-
return $keys$3(O, enumBugKeys);
|
|
57332
|
+
return $keys$3(O, enumBugKeys$1);
|
|
57333
57333
|
};
|
|
57334
57334
|
|
|
57335
57335
|
var _objectGops = {};
|
|
@@ -57436,27 +57436,19 @@
|
|
|
57436
57436
|
|
|
57437
57437
|
var _redefine = _hide;
|
|
57438
57438
|
|
|
57439
|
-
var
|
|
57440
|
-
var
|
|
57441
|
-
|
|
57442
|
-
function require_objectDps () {
|
|
57443
|
-
if (hasRequired_objectDps) return _objectDps;
|
|
57444
|
-
hasRequired_objectDps = 1;
|
|
57445
|
-
var dP = require_objectDp();
|
|
57446
|
-
var anObject = _anObject;
|
|
57447
|
-
var getKeys = _objectKeys;
|
|
57439
|
+
var dP$1 = require_objectDp();
|
|
57440
|
+
var anObject$4 = _anObject;
|
|
57441
|
+
var getKeys$1 = _objectKeys;
|
|
57448
57442
|
|
|
57449
|
-
|
|
57450
|
-
|
|
57451
|
-
|
|
57452
|
-
|
|
57453
|
-
|
|
57454
|
-
|
|
57455
|
-
|
|
57456
|
-
|
|
57457
|
-
|
|
57458
|
-
return _objectDps;
|
|
57459
|
-
}
|
|
57443
|
+
var _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
57444
|
+
anObject$4(O);
|
|
57445
|
+
var keys = getKeys$1(Properties);
|
|
57446
|
+
var length = keys.length;
|
|
57447
|
+
var i = 0;
|
|
57448
|
+
var P;
|
|
57449
|
+
while (length > i) dP$1.f(O, P = keys[i++], Properties[P]);
|
|
57450
|
+
return O;
|
|
57451
|
+
};
|
|
57460
57452
|
|
|
57461
57453
|
var _html;
|
|
57462
57454
|
var hasRequired_html;
|
|
@@ -57469,55 +57461,47 @@
|
|
|
57469
57461
|
return _html;
|
|
57470
57462
|
}
|
|
57471
57463
|
|
|
57472
|
-
|
|
57473
|
-
var
|
|
57464
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
57465
|
+
var anObject$3 = _anObject;
|
|
57466
|
+
var dPs = _objectDps;
|
|
57467
|
+
var enumBugKeys = _enumBugKeys;
|
|
57468
|
+
var IE_PROTO$1 = _sharedKey('IE_PROTO');
|
|
57469
|
+
var Empty = function () { /* empty */ };
|
|
57470
|
+
var PROTOTYPE$1 = 'prototype';
|
|
57474
57471
|
|
|
57475
|
-
|
|
57476
|
-
|
|
57477
|
-
|
|
57478
|
-
|
|
57479
|
-
|
|
57480
|
-
|
|
57481
|
-
|
|
57482
|
-
|
|
57483
|
-
|
|
57484
|
-
|
|
57485
|
-
|
|
57486
|
-
|
|
57487
|
-
|
|
57488
|
-
|
|
57489
|
-
|
|
57490
|
-
|
|
57491
|
-
|
|
57492
|
-
|
|
57493
|
-
|
|
57494
|
-
|
|
57495
|
-
|
|
57496
|
-
|
|
57497
|
-
|
|
57498
|
-
|
|
57499
|
-
|
|
57500
|
-
|
|
57501
|
-
|
|
57502
|
-
|
|
57503
|
-
|
|
57504
|
-
|
|
57505
|
-
|
|
57506
|
-
|
|
57507
|
-
|
|
57508
|
-
_objectCreate = Object.create || function create(O, Properties) {
|
|
57509
|
-
var result;
|
|
57510
|
-
if (O !== null) {
|
|
57511
|
-
Empty[PROTOTYPE] = anObject(O);
|
|
57512
|
-
result = new Empty();
|
|
57513
|
-
Empty[PROTOTYPE] = null;
|
|
57514
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
57515
|
-
result[IE_PROTO] = O;
|
|
57516
|
-
} else result = createDict();
|
|
57517
|
-
return Properties === undefined ? result : dPs(result, Properties);
|
|
57518
|
-
};
|
|
57519
|
-
return _objectCreate;
|
|
57520
|
-
}
|
|
57472
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
57473
|
+
var createDict = function () {
|
|
57474
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
57475
|
+
var iframe = require_domCreate()('iframe');
|
|
57476
|
+
var i = enumBugKeys.length;
|
|
57477
|
+
var lt = '<';
|
|
57478
|
+
var gt = '>';
|
|
57479
|
+
var iframeDocument;
|
|
57480
|
+
iframe.style.display = 'none';
|
|
57481
|
+
require_html().appendChild(iframe);
|
|
57482
|
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
57483
|
+
// createDict = iframe.contentWindow.Object;
|
|
57484
|
+
// html.removeChild(iframe);
|
|
57485
|
+
iframeDocument = iframe.contentWindow.document;
|
|
57486
|
+
iframeDocument.open();
|
|
57487
|
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
57488
|
+
iframeDocument.close();
|
|
57489
|
+
createDict = iframeDocument.F;
|
|
57490
|
+
while (i--) delete createDict[PROTOTYPE$1][enumBugKeys[i]];
|
|
57491
|
+
return createDict();
|
|
57492
|
+
};
|
|
57493
|
+
|
|
57494
|
+
var _objectCreate = Object.create || function create(O, Properties) {
|
|
57495
|
+
var result;
|
|
57496
|
+
if (O !== null) {
|
|
57497
|
+
Empty[PROTOTYPE$1] = anObject$3(O);
|
|
57498
|
+
result = new Empty();
|
|
57499
|
+
Empty[PROTOTYPE$1] = null;
|
|
57500
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
57501
|
+
result[IE_PROTO$1] = O;
|
|
57502
|
+
} else result = createDict();
|
|
57503
|
+
return Properties === undefined ? result : dPs(result, Properties);
|
|
57504
|
+
};
|
|
57521
57505
|
|
|
57522
57506
|
var _wks = {exports: {}};
|
|
57523
57507
|
|
|
@@ -57543,7 +57527,7 @@
|
|
|
57543
57527
|
if (it && !has$b(it = stat ? it : it.prototype, TAG$1)) def(it, TAG$1, { configurable: true, value: tag });
|
|
57544
57528
|
};
|
|
57545
57529
|
|
|
57546
|
-
var create$4 =
|
|
57530
|
+
var create$4 = _objectCreate;
|
|
57547
57531
|
var descriptor = _propertyDesc;
|
|
57548
57532
|
var setToStringTag$2 = _setToStringTag;
|
|
57549
57533
|
var IteratorPrototype = {};
|
|
@@ -58186,7 +58170,7 @@
|
|
|
58186
58170
|
var toIObject = _toIobject;
|
|
58187
58171
|
var toPrimitive = _toPrimitive$1;
|
|
58188
58172
|
var createDesc = _propertyDesc;
|
|
58189
|
-
var _create$1 =
|
|
58173
|
+
var _create$1 = _objectCreate;
|
|
58190
58174
|
var gOPNExt = _objectGopnExt;
|
|
58191
58175
|
var $GOPD = _objectGopd;
|
|
58192
58176
|
var $GOPS = _objectGops;
|
|
@@ -58496,7 +58480,7 @@
|
|
|
58496
58480
|
|
|
58497
58481
|
var $export = _export;
|
|
58498
58482
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
58499
|
-
$export($export.S, 'Object', { create:
|
|
58483
|
+
$export($export.S, 'Object', { create: _objectCreate });
|
|
58500
58484
|
|
|
58501
58485
|
var $Object = _coreExports.Object;
|
|
58502
58486
|
var create$3 = function create(P, D) {
|
|
@@ -188808,7 +188792,7 @@ double click --> edit`}`;
|
|
|
188808
188792
|
}
|
|
188809
188793
|
|
|
188810
188794
|
const name = "@teselagen/ove";
|
|
188811
|
-
const version = "0.3.
|
|
188795
|
+
const version = "0.3.22";
|
|
188812
188796
|
const main = "./src/index.js";
|
|
188813
188797
|
const exports$1 = {
|
|
188814
188798
|
".": {
|
|
@@ -203971,8 +203955,6 @@ double click --> edit`}`;
|
|
|
203971
203955
|
delete window.updateAlignmentSelection;
|
|
203972
203956
|
delete window.Cypress.updateAlignmentSelection;
|
|
203973
203957
|
}
|
|
203974
|
-
const { removeAlignmentFromRedux, id } = this.props;
|
|
203975
|
-
removeAlignmentFromRedux({ id });
|
|
203976
203958
|
this.onShortcutCopy && document.removeEventListener("keydown", this.handleAlignmentCopy);
|
|
203977
203959
|
}
|
|
203978
203960
|
handleAlignmentCopy = (event) => {
|
|
@@ -204537,6 +204519,7 @@ ${seqDataToCopy}\r
|
|
|
204537
204519
|
vectorInteractionWrapperStyle: {
|
|
204538
204520
|
overflowY: "hidden"
|
|
204539
204521
|
},
|
|
204522
|
+
withZoomLinearView: false,
|
|
204540
204523
|
marginWidth: 0,
|
|
204541
204524
|
linearViewCharWidth: charWidthInLinearView,
|
|
204542
204525
|
ignoreGapsOnHighlight: true,
|
|
@@ -205389,6 +205372,7 @@ ${seqDataToCopy}\r
|
|
|
205389
205372
|
scrollPercentageToJumpTo,
|
|
205390
205373
|
pairwiseOverviewAlignmentTracks,
|
|
205391
205374
|
loading,
|
|
205375
|
+
name,
|
|
205392
205376
|
alignmentAnnotationVisibility,
|
|
205393
205377
|
alignmentAnnotationLabelVisibility,
|
|
205394
205378
|
caretPosition = -1,
|
|
@@ -205462,6 +205446,7 @@ ${seqDataToCopy}\r
|
|
|
205462
205446
|
unmappedSeqs,
|
|
205463
205447
|
caretPosition,
|
|
205464
205448
|
alignmentId,
|
|
205449
|
+
...name && { alignmentName: name },
|
|
205465
205450
|
stateTrackingId,
|
|
205466
205451
|
sequenceData: {
|
|
205467
205452
|
//pass fake seq data in so editor interactions work
|
|
@@ -205490,12 +205475,12 @@ ${seqDataToCopy}\r
|
|
|
205490
205475
|
}
|
|
205491
205476
|
});
|
|
205492
205477
|
},
|
|
205493
|
-
alignmentAnnotationLabelVisibilityToggle: (
|
|
205478
|
+
alignmentAnnotationLabelVisibilityToggle: (name2) => {
|
|
205494
205479
|
updateAlignmentViewVisibility({
|
|
205495
205480
|
...alignment,
|
|
205496
205481
|
alignmentAnnotationLabelVisibility: {
|
|
205497
205482
|
...alignment.alignmentAnnotationLabelVisibility,
|
|
205498
|
-
[
|
|
205483
|
+
[name2]: !alignment.alignmentAnnotationLabelVisibility[name2]
|
|
205499
205484
|
}
|
|
205500
205485
|
});
|
|
205501
205486
|
},
|
|
@@ -218700,7 +218685,7 @@ ${seqDataToCopy}\r
|
|
|
218700
218685
|
style: {
|
|
218701
218686
|
zIndex: 15002,
|
|
218702
218687
|
position: "fixed",
|
|
218703
|
-
top:
|
|
218688
|
+
top: 3,
|
|
218704
218689
|
right: 25
|
|
218705
218690
|
}
|
|
218706
218691
|
},
|
package/package.json
CHANGED
|
@@ -170,8 +170,8 @@ export class AlignmentView extends React.Component {
|
|
|
170
170
|
delete window.updateAlignmentSelection;
|
|
171
171
|
delete window.Cypress.updateAlignmentSelection;
|
|
172
172
|
}
|
|
173
|
-
const { removeAlignmentFromRedux, id } = this.props;
|
|
174
|
-
removeAlignmentFromRedux({ id });
|
|
173
|
+
// const { removeAlignmentFromRedux, id } = this.props;
|
|
174
|
+
// removeAlignmentFromRedux({ id });
|
|
175
175
|
this.onShortcutCopy &&
|
|
176
176
|
document.removeEventListener("keydown", this.handleAlignmentCopy);
|
|
177
177
|
}
|
|
@@ -922,6 +922,7 @@ export class AlignmentView extends React.Component {
|
|
|
922
922
|
vectorInteractionWrapperStyle: {
|
|
923
923
|
overflowY: "hidden"
|
|
924
924
|
},
|
|
925
|
+
withZoomLinearView: false,
|
|
925
926
|
marginWidth: 0,
|
|
926
927
|
linearViewCharWidth: charWidthInLinearView,
|
|
927
928
|
ignoreGapsOnHighlight: true,
|
|
@@ -1888,6 +1889,7 @@ export default compose(
|
|
|
1888
1889
|
scrollPercentageToJumpTo,
|
|
1889
1890
|
pairwiseOverviewAlignmentTracks,
|
|
1890
1891
|
loading,
|
|
1892
|
+
name,
|
|
1891
1893
|
alignmentAnnotationVisibility,
|
|
1892
1894
|
alignmentAnnotationLabelVisibility,
|
|
1893
1895
|
caretPosition = -1,
|
|
@@ -1967,6 +1969,7 @@ export default compose(
|
|
|
1967
1969
|
unmappedSeqs,
|
|
1968
1970
|
caretPosition,
|
|
1969
1971
|
alignmentId,
|
|
1972
|
+
...(name && { alignmentName: name }),
|
|
1970
1973
|
stateTrackingId,
|
|
1971
1974
|
sequenceData: {
|
|
1972
1975
|
//pass fake seq data in so editor interactions work
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.alignmentViewTrackContainer .veLinearView .veRowItemWrapper {
|
|
19
19
|
display: block;
|
|
20
|
+
overflow-x: hidden;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.alignmentHolder::-webkit-scrollbar {
|
|
@@ -67,6 +68,9 @@
|
|
|
67
68
|
top: 0;
|
|
68
69
|
}
|
|
69
70
|
|
|
71
|
+
.tg-reflex-element-inner .alignmentView {
|
|
72
|
+
height: unset !important;
|
|
73
|
+
}
|
|
70
74
|
.veTracksAndAlignmentHolder {
|
|
71
75
|
position: relative;
|
|
72
76
|
width: fit-content;
|
package/src/Editor/index.js
CHANGED
package/src/ToolBar/index.js
CHANGED
package/style.css
CHANGED
|
@@ -11016,6 +11016,7 @@ li.bp3-menu-divider:last-child {
|
|
|
11016
11016
|
|
|
11017
11017
|
.alignmentViewTrackContainer .veLinearView .veRowItemWrapper {
|
|
11018
11018
|
display: block;
|
|
11019
|
+
overflow-x: hidden;
|
|
11019
11020
|
}
|
|
11020
11021
|
|
|
11021
11022
|
.alignmentHolder::-webkit-scrollbar {
|
|
@@ -11066,6 +11067,9 @@ li.bp3-menu-divider:last-child {
|
|
|
11066
11067
|
top: 0;
|
|
11067
11068
|
}
|
|
11068
11069
|
|
|
11070
|
+
.tg-reflex-element-inner .alignmentView {
|
|
11071
|
+
height: unset !important;
|
|
11072
|
+
}
|
|
11069
11073
|
.veTracksAndAlignmentHolder {
|
|
11070
11074
|
position: relative;
|
|
11071
11075
|
width: fit-content;
|