@teselagen/ove 0.7.30 → 0.7.31
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 +8 -3
- package/index.es.js +8 -3
- package/index.umd.js +8 -3
- package/package.json +2 -2
- package/src/AlignmentView/index.js +6 -2
package/index.cjs.js
CHANGED
|
@@ -84408,7 +84408,7 @@ function insertSequenceDataAtPositionOrRange(_sequenceDataToInsert, _existingSeq
|
|
|
84408
84408
|
topLevelSeqData: existingSequenceData
|
|
84409
84409
|
}, options));
|
|
84410
84410
|
const newSequenceData = cloneDeep(existingSequenceData);
|
|
84411
|
-
const insertLength = sequenceDataToInsert.proteinSequence ? sequenceDataToInsert.proteinSequence.length * 3 : sequenceDataToInsert.sequence.length;
|
|
84411
|
+
const insertLength = sequenceDataToInsert.isProtein && sequenceDataToInsert.proteinSequence ? sequenceDataToInsert.proteinSequence.length * 3 : sequenceDataToInsert.sequence.length;
|
|
84412
84412
|
let caretPosition2 = caretPositionOrRange;
|
|
84413
84413
|
const isInsertSameLengthAsSelection = sequenceDataToInsert.sequence.length === getRangeLength(caretPositionOrRange, existingSequenceData.sequence.length);
|
|
84414
84414
|
if (caretPositionOrRange.start > -1 && getRangeLength(
|
|
@@ -124877,7 +124877,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
124877
124877
|
input.click();
|
|
124878
124878
|
}
|
|
124879
124879
|
__name(showFileDialog, "showFileDialog");
|
|
124880
|
-
const version = "0.7.
|
|
124880
|
+
const version = "0.7.30";
|
|
124881
124881
|
const packageJson = {
|
|
124882
124882
|
version
|
|
124883
124883
|
};
|
|
@@ -145951,6 +145951,7 @@ try {
|
|
|
145951
145951
|
}
|
|
145952
145952
|
const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
145953
145953
|
const {
|
|
145954
|
+
dimensions,
|
|
145954
145955
|
alignmentType,
|
|
145955
145956
|
alignmentRunUpdate: alignmentRunUpdate2,
|
|
145956
145957
|
alignmentName: _alignmentName,
|
|
@@ -145964,7 +145965,7 @@ const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
|
145964
145965
|
sequenceLength,
|
|
145965
145966
|
shouldAutosave,
|
|
145966
145967
|
store: store2,
|
|
145967
|
-
height,
|
|
145968
|
+
height: _height,
|
|
145968
145969
|
minimapLaneHeight,
|
|
145969
145970
|
minimapLaneSpacing,
|
|
145970
145971
|
isInPairwiseOverviewView,
|
|
@@ -145980,6 +145981,10 @@ const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
|
145980
145981
|
style: style2,
|
|
145981
145982
|
unmappedSeqs
|
|
145982
145983
|
} = props;
|
|
145984
|
+
let height = _height;
|
|
145985
|
+
if (dimensions && dimensions.height) {
|
|
145986
|
+
height = dimensions.height;
|
|
145987
|
+
}
|
|
145983
145988
|
const _a2 = props, {
|
|
145984
145989
|
alignmentId,
|
|
145985
145990
|
alignmentTrackIndex,
|
package/index.es.js
CHANGED
|
@@ -84390,7 +84390,7 @@ function insertSequenceDataAtPositionOrRange(_sequenceDataToInsert, _existingSeq
|
|
|
84390
84390
|
topLevelSeqData: existingSequenceData
|
|
84391
84391
|
}, options));
|
|
84392
84392
|
const newSequenceData = cloneDeep(existingSequenceData);
|
|
84393
|
-
const insertLength = sequenceDataToInsert.proteinSequence ? sequenceDataToInsert.proteinSequence.length * 3 : sequenceDataToInsert.sequence.length;
|
|
84393
|
+
const insertLength = sequenceDataToInsert.isProtein && sequenceDataToInsert.proteinSequence ? sequenceDataToInsert.proteinSequence.length * 3 : sequenceDataToInsert.sequence.length;
|
|
84394
84394
|
let caretPosition2 = caretPositionOrRange;
|
|
84395
84395
|
const isInsertSameLengthAsSelection = sequenceDataToInsert.sequence.length === getRangeLength(caretPositionOrRange, existingSequenceData.sequence.length);
|
|
84396
84396
|
if (caretPositionOrRange.start > -1 && getRangeLength(
|
|
@@ -124859,7 +124859,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
124859
124859
|
input.click();
|
|
124860
124860
|
}
|
|
124861
124861
|
__name(showFileDialog, "showFileDialog");
|
|
124862
|
-
const version = "0.7.
|
|
124862
|
+
const version = "0.7.30";
|
|
124863
124863
|
const packageJson = {
|
|
124864
124864
|
version
|
|
124865
124865
|
};
|
|
@@ -145933,6 +145933,7 @@ try {
|
|
|
145933
145933
|
}
|
|
145934
145934
|
const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
145935
145935
|
const {
|
|
145936
|
+
dimensions,
|
|
145936
145937
|
alignmentType,
|
|
145937
145938
|
alignmentRunUpdate: alignmentRunUpdate2,
|
|
145938
145939
|
alignmentName: _alignmentName,
|
|
@@ -145946,7 +145947,7 @@ const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
|
145946
145947
|
sequenceLength,
|
|
145947
145948
|
shouldAutosave,
|
|
145948
145949
|
store: store2,
|
|
145949
|
-
height,
|
|
145950
|
+
height: _height,
|
|
145950
145951
|
minimapLaneHeight,
|
|
145951
145952
|
minimapLaneSpacing,
|
|
145952
145953
|
isInPairwiseOverviewView,
|
|
@@ -145962,6 +145963,10 @@ const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
|
145962
145963
|
style: style2,
|
|
145963
145964
|
unmappedSeqs
|
|
145964
145965
|
} = props;
|
|
145966
|
+
let height = _height;
|
|
145967
|
+
if (dimensions && dimensions.height) {
|
|
145968
|
+
height = dimensions.height;
|
|
145969
|
+
}
|
|
145965
145970
|
const _a2 = props, {
|
|
145966
145971
|
alignmentId,
|
|
145967
145972
|
alignmentTrackIndex,
|
package/index.umd.js
CHANGED
|
@@ -113311,7 +113311,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
113311
113311
|
topLevelSeqData: existingSequenceData
|
|
113312
113312
|
}, options));
|
|
113313
113313
|
const newSequenceData = cloneDeep(existingSequenceData);
|
|
113314
|
-
const insertLength = sequenceDataToInsert.proteinSequence ? sequenceDataToInsert.proteinSequence.length * 3 : sequenceDataToInsert.sequence.length;
|
|
113314
|
+
const insertLength = sequenceDataToInsert.isProtein && sequenceDataToInsert.proteinSequence ? sequenceDataToInsert.proteinSequence.length * 3 : sequenceDataToInsert.sequence.length;
|
|
113315
113315
|
let caretPosition2 = caretPositionOrRange;
|
|
113316
113316
|
const isInsertSameLengthAsSelection = sequenceDataToInsert.sequence.length === getRangeLength(caretPositionOrRange, existingSequenceData.sequence.length);
|
|
113317
113317
|
if (caretPositionOrRange.start > -1 && getRangeLength(
|
|
@@ -152975,7 +152975,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
152975
152975
|
input.click();
|
|
152976
152976
|
}
|
|
152977
152977
|
__name(showFileDialog, "showFileDialog");
|
|
152978
|
-
const version = "0.7.
|
|
152978
|
+
const version = "0.7.30";
|
|
152979
152979
|
const packageJson = {
|
|
152980
152980
|
version
|
|
152981
152981
|
};
|
|
@@ -172447,6 +172447,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
172447
172447
|
}
|
|
172448
172448
|
const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
172449
172449
|
const {
|
|
172450
|
+
dimensions,
|
|
172450
172451
|
alignmentType,
|
|
172451
172452
|
alignmentRunUpdate: alignmentRunUpdate2,
|
|
172452
172453
|
alignmentName: _alignmentName,
|
|
@@ -172460,7 +172461,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
172460
172461
|
sequenceLength,
|
|
172461
172462
|
shouldAutosave,
|
|
172462
172463
|
store: store2,
|
|
172463
|
-
height,
|
|
172464
|
+
height: _height,
|
|
172464
172465
|
minimapLaneHeight,
|
|
172465
172466
|
minimapLaneSpacing,
|
|
172466
172467
|
isInPairwiseOverviewView,
|
|
@@ -172476,6 +172477,10 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
172476
172477
|
style: style2,
|
|
172477
172478
|
unmappedSeqs
|
|
172478
172479
|
} = props;
|
|
172480
|
+
let height = _height;
|
|
172481
|
+
if (dimensions && dimensions.height) {
|
|
172482
|
+
height = dimensions.height;
|
|
172483
|
+
}
|
|
172479
172484
|
const _a2 = props, {
|
|
172480
172485
|
alignmentId,
|
|
172481
172486
|
alignmentTrackIndex,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.31",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@teselagen/file-utils": "0.3.20",
|
|
19
19
|
"@teselagen/range-utils": "0.3.13",
|
|
20
20
|
"@teselagen/react-list": "0.8.18",
|
|
21
|
-
"@teselagen/sequence-utils": "0.3.
|
|
21
|
+
"@teselagen/sequence-utils": "0.3.32",
|
|
22
22
|
"@teselagen/ui": "0.9.4",
|
|
23
23
|
"@use-gesture/react": "10.3.0",
|
|
24
24
|
"biomsa": "^0.2.4",
|
|
@@ -87,6 +87,7 @@ try {
|
|
|
87
87
|
|
|
88
88
|
export const AlignmentView = props => {
|
|
89
89
|
const {
|
|
90
|
+
dimensions,
|
|
90
91
|
alignmentType,
|
|
91
92
|
alignmentRunUpdate,
|
|
92
93
|
alignmentName: _alignmentName,
|
|
@@ -100,7 +101,7 @@ export const AlignmentView = props => {
|
|
|
100
101
|
sequenceLength,
|
|
101
102
|
shouldAutosave,
|
|
102
103
|
store,
|
|
103
|
-
height,
|
|
104
|
+
height: _height,
|
|
104
105
|
minimapLaneHeight,
|
|
105
106
|
minimapLaneSpacing,
|
|
106
107
|
isInPairwiseOverviewView,
|
|
@@ -116,6 +117,10 @@ export const AlignmentView = props => {
|
|
|
116
117
|
style,
|
|
117
118
|
unmappedSeqs
|
|
118
119
|
} = props;
|
|
120
|
+
let height = _height;
|
|
121
|
+
if (dimensions && dimensions.height) {
|
|
122
|
+
height = dimensions.height;
|
|
123
|
+
}
|
|
119
124
|
|
|
120
125
|
const {
|
|
121
126
|
alignmentId,
|
|
@@ -1404,7 +1409,6 @@ export const AlignmentView = props => {
|
|
|
1404
1409
|
updateLabelsForInViewFeatures();
|
|
1405
1410
|
}
|
|
1406
1411
|
};
|
|
1407
|
-
|
|
1408
1412
|
return (
|
|
1409
1413
|
<PinchHelper {...pinchHandler}>
|
|
1410
1414
|
<ResizeSensor onResize={handleResize}>
|