@teselagen/ove 0.7.18 → 0.7.20
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 +7 -3
- package/index.es.js +7 -3
- package/index.umd.js +7 -3
- package/package.json +2 -2
- package/src/AlignmentView/index.js +1 -1
- package/src/AlignmentView/style.css +3 -3
- package/src/RowItem/Chromatograms/Chromatogram.js +3 -1
- package/style.css +3 -3
package/index.cjs.js
CHANGED
|
@@ -34060,6 +34060,7 @@ const multiViewColumn = __spreadProps(__spreadValues({}, viewColumn), {
|
|
|
34060
34060
|
return /* @__PURE__ */ React$3.createElement(core.Tooltip, { content: allVisible ? "Hide All" : "Show All" }, /* @__PURE__ */ React$3.createElement(
|
|
34061
34061
|
core.Button,
|
|
34062
34062
|
{
|
|
34063
|
+
className: `showHideAllButton-${allVisible ? "visible" : "hidden"}`,
|
|
34063
34064
|
minimal: true,
|
|
34064
34065
|
onClick: /* @__PURE__ */ __name(() => {
|
|
34065
34066
|
setRecordIdToIsVisibleMap(
|
|
@@ -34096,6 +34097,7 @@ const multiViewColumn = __spreadProps(__spreadValues({}, viewColumn), {
|
|
|
34096
34097
|
}, "onClick"),
|
|
34097
34098
|
minimal: true,
|
|
34098
34099
|
small: true,
|
|
34100
|
+
className: `showHideButton-${isVisible ? "visible" : "hidden"}-${record.id}`,
|
|
34099
34101
|
icon: isVisible ? "eye-open" : "eye-off"
|
|
34100
34102
|
}
|
|
34101
34103
|
));
|
|
@@ -121498,7 +121500,9 @@ function Chromatogram(props) {
|
|
|
121498
121500
|
]);
|
|
121499
121501
|
const marginLeft = gapsBeforeRow * charWidth2;
|
|
121500
121502
|
if (chromatogramData.basePos && !chromatogramData.baseTraces) {
|
|
121501
|
-
throw new Error(
|
|
121503
|
+
throw new Error(
|
|
121504
|
+
'Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor'
|
|
121505
|
+
);
|
|
121502
121506
|
}
|
|
121503
121507
|
return /* @__PURE__ */ React$3.createElement(
|
|
121504
121508
|
"div",
|
|
@@ -123047,7 +123051,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
123047
123051
|
}
|
|
123048
123052
|
__name(showFileDialog, "showFileDialog");
|
|
123049
123053
|
const name = "@teselagen/ove";
|
|
123050
|
-
const version = "0.7.
|
|
123054
|
+
const version = "0.7.19";
|
|
123051
123055
|
const main = "./src/index.js";
|
|
123052
123056
|
const type = "module";
|
|
123053
123057
|
const exports$1 = {
|
|
@@ -146087,7 +146091,7 @@ ${seqDataToCopy}\r
|
|
|
146087
146091
|
}, [scrollPercentageToJumpTo]);
|
|
146088
146092
|
React$3.useEffect(() => {
|
|
146089
146093
|
const saveAlignment = /* @__PURE__ */ __name(() => __async(exports, null, function* () {
|
|
146090
|
-
if (shouldAutosave && stateTrackingId) {
|
|
146094
|
+
if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
|
|
146091
146095
|
setSaveMessage("Alignment Saving..");
|
|
146092
146096
|
setSaveMessageLoading(true);
|
|
146093
146097
|
let cleanedTracks;
|
package/index.es.js
CHANGED
|
@@ -34042,6 +34042,7 @@ const multiViewColumn = __spreadProps(__spreadValues({}, viewColumn), {
|
|
|
34042
34042
|
return /* @__PURE__ */ React__default$1.createElement(Tooltip, { content: allVisible ? "Hide All" : "Show All" }, /* @__PURE__ */ React__default$1.createElement(
|
|
34043
34043
|
Button,
|
|
34044
34044
|
{
|
|
34045
|
+
className: `showHideAllButton-${allVisible ? "visible" : "hidden"}`,
|
|
34045
34046
|
minimal: true,
|
|
34046
34047
|
onClick: /* @__PURE__ */ __name(() => {
|
|
34047
34048
|
setRecordIdToIsVisibleMap(
|
|
@@ -34078,6 +34079,7 @@ const multiViewColumn = __spreadProps(__spreadValues({}, viewColumn), {
|
|
|
34078
34079
|
}, "onClick"),
|
|
34079
34080
|
minimal: true,
|
|
34080
34081
|
small: true,
|
|
34082
|
+
className: `showHideButton-${isVisible ? "visible" : "hidden"}-${record.id}`,
|
|
34081
34083
|
icon: isVisible ? "eye-open" : "eye-off"
|
|
34082
34084
|
}
|
|
34083
34085
|
));
|
|
@@ -121480,7 +121482,9 @@ function Chromatogram(props) {
|
|
|
121480
121482
|
]);
|
|
121481
121483
|
const marginLeft = gapsBeforeRow * charWidth2;
|
|
121482
121484
|
if (chromatogramData.basePos && !chromatogramData.baseTraces) {
|
|
121483
|
-
throw new Error(
|
|
121485
|
+
throw new Error(
|
|
121486
|
+
'Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor'
|
|
121487
|
+
);
|
|
121484
121488
|
}
|
|
121485
121489
|
return /* @__PURE__ */ React__default$1.createElement(
|
|
121486
121490
|
"div",
|
|
@@ -123029,7 +123033,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
123029
123033
|
}
|
|
123030
123034
|
__name(showFileDialog, "showFileDialog");
|
|
123031
123035
|
const name = "@teselagen/ove";
|
|
123032
|
-
const version = "0.7.
|
|
123036
|
+
const version = "0.7.19";
|
|
123033
123037
|
const main = "./src/index.js";
|
|
123034
123038
|
const type = "module";
|
|
123035
123039
|
const exports$1 = {
|
|
@@ -146069,7 +146073,7 @@ ${seqDataToCopy}\r
|
|
|
146069
146073
|
}, [scrollPercentageToJumpTo]);
|
|
146070
146074
|
useEffect(() => {
|
|
146071
146075
|
const saveAlignment = /* @__PURE__ */ __name(() => __async(void 0, null, function* () {
|
|
146072
|
-
if (shouldAutosave && stateTrackingId) {
|
|
146076
|
+
if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
|
|
146073
146077
|
setSaveMessage("Alignment Saving..");
|
|
146074
146078
|
setSaveMessageLoading(true);
|
|
146075
146079
|
let cleanedTracks;
|
package/index.umd.js
CHANGED
|
@@ -62760,6 +62760,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
62760
62760
|
return /* @__PURE__ */ React$5.createElement(Tooltip, { content: allVisible ? "Hide All" : "Show All" }, /* @__PURE__ */ React$5.createElement(
|
|
62761
62761
|
Button,
|
|
62762
62762
|
{
|
|
62763
|
+
className: `showHideAllButton-${allVisible ? "visible" : "hidden"}`,
|
|
62763
62764
|
minimal: true,
|
|
62764
62765
|
onClick: /* @__PURE__ */ __name(() => {
|
|
62765
62766
|
setRecordIdToIsVisibleMap(
|
|
@@ -62796,6 +62797,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
62796
62797
|
}, "onClick"),
|
|
62797
62798
|
minimal: true,
|
|
62798
62799
|
small: true,
|
|
62800
|
+
className: `showHideButton-${isVisible ? "visible" : "hidden"}-${record.id}`,
|
|
62799
62801
|
icon: isVisible ? "eye-open" : "eye-off"
|
|
62800
62802
|
}
|
|
62801
62803
|
));
|
|
@@ -149375,7 +149377,9 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
149375
149377
|
]);
|
|
149376
149378
|
const marginLeft2 = gapsBeforeRow * charWidth2;
|
|
149377
149379
|
if (chromatogramData.basePos && !chromatogramData.baseTraces) {
|
|
149378
|
-
throw new Error(
|
|
149380
|
+
throw new Error(
|
|
149381
|
+
'Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor'
|
|
149382
|
+
);
|
|
149379
149383
|
}
|
|
149380
149384
|
return /* @__PURE__ */ React$5.createElement(
|
|
149381
149385
|
"div",
|
|
@@ -150924,7 +150928,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
150924
150928
|
}
|
|
150925
150929
|
__name(showFileDialog, "showFileDialog");
|
|
150926
150930
|
const name = "@teselagen/ove";
|
|
150927
|
-
const version = "0.7.
|
|
150931
|
+
const version = "0.7.19";
|
|
150928
150932
|
const main = "./src/index.js";
|
|
150929
150933
|
const type = "module";
|
|
150930
150934
|
const exports$1 = {
|
|
@@ -172362,7 +172366,7 @@ ${seqDataToCopy}\r
|
|
|
172362
172366
|
}, [scrollPercentageToJumpTo]);
|
|
172363
172367
|
reactExports.useEffect(() => {
|
|
172364
172368
|
const saveAlignment = /* @__PURE__ */ __name(() => __async(this, null, function* () {
|
|
172365
|
-
if (shouldAutosave && stateTrackingId) {
|
|
172369
|
+
if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
|
|
172366
172370
|
setSaveMessage("Alignment Saving..");
|
|
172367
172371
|
setSaveMessageLoading(true);
|
|
172368
172372
|
let cleanedTracks;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.20",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@teselagen/sequence-utils": "0.3.27",
|
|
15
15
|
"@teselagen/range-utils": "0.3.10",
|
|
16
|
-
"@teselagen/ui": "0.7.
|
|
16
|
+
"@teselagen/ui": "0.7.20",
|
|
17
17
|
"@teselagen/file-utils": "0.3.18",
|
|
18
18
|
"@teselagen/bounce-loader": "0.3.11",
|
|
19
19
|
"@teselagen/bio-parsers": "0.4.22",
|
|
@@ -459,7 +459,7 @@ export const AlignmentView = props => {
|
|
|
459
459
|
useEffect(() => {
|
|
460
460
|
const saveAlignment = async () => {
|
|
461
461
|
//autosave if necessary!
|
|
462
|
-
if (shouldAutosave && stateTrackingId) {
|
|
462
|
+
if (shouldAutosave && stateTrackingId && handleAlignmentSave) {
|
|
463
463
|
setSaveMessage("Alignment Saving..");
|
|
464
464
|
setSaveMessageLoading(true);
|
|
465
465
|
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
.alignmentView .veSelectionLayer {
|
|
71
71
|
top: 0;
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
.tg-reflex-element-inner .alignmentView {
|
|
73
|
+
/* tnw - commenting this out to improve scrolling of alignment view inside editor - https://github.com/TeselaGen/tg-oss/issues/128 */
|
|
74
|
+
/* .tg-reflex-element-inner .alignmentView {
|
|
75
75
|
height: unset !important;
|
|
76
|
-
}
|
|
76
|
+
} */
|
|
77
77
|
.veTracksAndAlignmentHolder {
|
|
78
78
|
position: relative;
|
|
79
79
|
width: fit-content;
|
|
@@ -53,7 +53,9 @@ export default function Chromatogram(props) {
|
|
|
53
53
|
]);
|
|
54
54
|
const marginLeft = gapsBeforeRow * charWidth;
|
|
55
55
|
if (chromatogramData.basePos && !chromatogramData.baseTraces) {
|
|
56
|
-
throw new Error(
|
|
56
|
+
throw new Error(
|
|
57
|
+
'Chromatogram data is missing "baseTraces". Be sure to call the convertBasePosTraceToPerBpTrace(_chromData) before passing it to the editor'
|
|
58
|
+
);
|
|
57
59
|
}
|
|
58
60
|
return (
|
|
59
61
|
<div
|
package/style.css
CHANGED
|
@@ -11141,10 +11141,10 @@ li.bp3-menu-divider:last-child {
|
|
|
11141
11141
|
.alignmentView .veSelectionLayer {
|
|
11142
11142
|
top: 0;
|
|
11143
11143
|
}
|
|
11144
|
-
|
|
11145
|
-
.tg-reflex-element-inner .alignmentView {
|
|
11144
|
+
/* tnw - commenting this out to improve scrolling of alignment view inside editor - https://github.com/TeselaGen/tg-oss/issues/128 */
|
|
11145
|
+
/* .tg-reflex-element-inner .alignmentView {
|
|
11146
11146
|
height: unset !important;
|
|
11147
|
-
}
|
|
11147
|
+
} */
|
|
11148
11148
|
.veTracksAndAlignmentHolder {
|
|
11149
11149
|
position: relative;
|
|
11150
11150
|
width: fit-content;
|