@teselagen/ove 0.5.6 → 0.5.7
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 +220 -281
- package/index.es.js +220 -281
- package/index.umd.js +7 -16
- package/package.json +2 -4
- package/src/CircularView/index.js +4 -4
- package/src/RowItem/StackedAnnotations/primerBases.js +4 -4
- package/src/helperComponents/AddOrEditPrimerDialog/index.js +2 -2
- package/src/utils/getAnnotationNameAndStartStopString.js +2 -2
- package/src/withEditorInteractions/clickAndDragUtils.js +2 -2
package/index.umd.js
CHANGED
|
@@ -40158,25 +40158,16 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
40158
40158
|
var _cof = /* @__PURE__ */ __name(function(it) {
|
|
40159
40159
|
return toString$3.call(it).slice(8, -1);
|
|
40160
40160
|
}, "_cof");
|
|
40161
|
-
var
|
|
40162
|
-
var
|
|
40163
|
-
|
|
40164
|
-
|
|
40165
|
-
return _iobject;
|
|
40166
|
-
hasRequired_iobject = 1;
|
|
40167
|
-
var cof2 = _cof;
|
|
40168
|
-
_iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
40169
|
-
return cof2(it) == "String" ? it.split("") : Object(it);
|
|
40170
|
-
};
|
|
40171
|
-
return _iobject;
|
|
40172
|
-
}
|
|
40173
|
-
__name(require_iobject, "require_iobject");
|
|
40161
|
+
var cof$2 = _cof;
|
|
40162
|
+
var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
40163
|
+
return cof$2(it) == "String" ? it.split("") : Object(it);
|
|
40164
|
+
};
|
|
40174
40165
|
var _defined = /* @__PURE__ */ __name(function(it) {
|
|
40175
40166
|
if (it == void 0)
|
|
40176
40167
|
throw TypeError("Can't call method on " + it);
|
|
40177
40168
|
return it;
|
|
40178
40169
|
}, "_defined");
|
|
40179
|
-
var IObject =
|
|
40170
|
+
var IObject = _iobject;
|
|
40180
40171
|
var defined$2 = _defined;
|
|
40181
40172
|
var _toIobject = /* @__PURE__ */ __name(function(it) {
|
|
40182
40173
|
return IObject(defined$2(it));
|
|
@@ -40297,7 +40288,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
40297
40288
|
var gOPS2 = _objectGops;
|
|
40298
40289
|
var pIE2 = require_objectPie();
|
|
40299
40290
|
var toObject2 = _toObject;
|
|
40300
|
-
var IObject2 =
|
|
40291
|
+
var IObject2 = _iobject;
|
|
40301
40292
|
var $assign = Object.assign;
|
|
40302
40293
|
_objectAssign = !$assign || _fails(function() {
|
|
40303
40294
|
var A2 = {};
|
|
@@ -149269,7 +149260,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
149269
149260
|
}
|
|
149270
149261
|
__name(showFileDialog, "showFileDialog");
|
|
149271
149262
|
const name = "@teselagen/ove";
|
|
149272
|
-
const version = "0.5.
|
|
149263
|
+
const version = "0.5.6";
|
|
149273
149264
|
const main = "./src/index.js";
|
|
149274
149265
|
const type = "module";
|
|
149275
149266
|
const exports$1 = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@teselagen/ui": "0.4.5",
|
|
16
16
|
"@teselagen/file-utils": "0.3.16",
|
|
17
17
|
"@teselagen/bounce-loader": "0.3.11",
|
|
18
|
-
"@teselagen/bio-parsers": "0.4.
|
|
18
|
+
"@teselagen/bio-parsers": "0.4.17",
|
|
19
19
|
"@blueprintjs/core": "3.52.0",
|
|
20
20
|
"@blueprintjs/datetime": "3.23.19",
|
|
21
21
|
"@blueprintjs/icons": "3.33.0",
|
|
@@ -64,9 +64,7 @@
|
|
|
64
64
|
"popper.js": "^1.16.1",
|
|
65
65
|
"prop-types": "^15.6.2",
|
|
66
66
|
"qs": "^6.9.6",
|
|
67
|
-
"react": "18.2.0",
|
|
68
67
|
"react-color": "^2.19.3",
|
|
69
|
-
"react-dom": "18.2.0",
|
|
70
68
|
"react-draggable": "4.4.5",
|
|
71
69
|
"react-dropzone": "^11.4.2",
|
|
72
70
|
"react-markdown": "8.0.7",
|
|
@@ -275,8 +275,8 @@ export function CircularView(props) {
|
|
|
275
275
|
rangeToShowLength < 10
|
|
276
276
|
? 2
|
|
277
277
|
: rangeToShowLength < 50
|
|
278
|
-
|
|
279
|
-
|
|
278
|
+
? Math.ceil(rangeToShowLength / 25) * 5
|
|
279
|
+
: Math.ceil(rangeToShowLength / 100) * 10,
|
|
280
280
|
sequenceLength,
|
|
281
281
|
isProtein
|
|
282
282
|
}).map(pos => {
|
|
@@ -767,8 +767,8 @@ export function CircularView(props) {
|
|
|
767
767
|
caretPosition > -1
|
|
768
768
|
? caretPosition
|
|
769
769
|
: selectionLayer.start > -1
|
|
770
|
-
|
|
771
|
-
|
|
770
|
+
? getMiddleOfRange(selectionLayer, sequenceLength)
|
|
771
|
+
: undefined;
|
|
772
772
|
if (caret !== undefined) {
|
|
773
773
|
const radToRotateTo = (caret / sequenceLength) * Math.PI * 2;
|
|
774
774
|
rotateHelper.current.triggerChange &&
|
|
@@ -167,10 +167,10 @@ export function getBasesToShow({
|
|
|
167
167
|
b === "&"
|
|
168
168
|
? "tg-no-show-seq"
|
|
169
169
|
: isMatch
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
? ""
|
|
171
|
+
: isAmbiguousMatch
|
|
172
|
+
? "tg-ambiguous-match-seq"
|
|
173
|
+
: "tg-no-match-seq"
|
|
174
174
|
}
|
|
175
175
|
textLength={textLength}
|
|
176
176
|
>
|
|
@@ -48,12 +48,12 @@ export default function getAnnotationNameAndStartStopString(
|
|
|
48
48
|
readOnly
|
|
49
49
|
? ""
|
|
50
50
|
: annotationTypePlural === "cutsites"
|
|
51
|
-
|
|
51
|
+
? `
|
|
52
52
|
|
|
53
53
|
click --> top cut position
|
|
54
54
|
alt/option+click --> bottom cut position
|
|
55
55
|
cmd/ctrl+click --> recognition range`
|
|
56
|
-
|
|
56
|
+
: `
|
|
57
57
|
|
|
58
58
|
alt/option+click --> jump row view to start/end
|
|
59
59
|
double click --> edit`
|
|
@@ -89,8 +89,8 @@ export const editorDragStarted = function (opts) {
|
|
|
89
89
|
selectionStartOrEndGrabbed = opts.selectionStartGrabbed
|
|
90
90
|
? "start"
|
|
91
91
|
: opts.selectionEndGrabbed
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
? "end"
|
|
93
|
+
: null;
|
|
94
94
|
};
|
|
95
95
|
export const editorDragStopped = function () {
|
|
96
96
|
document.body.classList.remove("sequenceDragging"); //needed to prevent the input bubble from losing focus post user drag
|