@teselagen/ove 0.7.5 → 0.7.6-beta.2
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/AlignmentView/index.d.ts +4 -4
- package/index.cjs.js +9287 -10427
- package/index.es.js +9281 -10421
- package/index.umd.js +7754 -9446
- package/package.json +2 -3
- package/src/AlignmentView/index.js +4 -4
- package/src/withEditorInteractions/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6-beta.2",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,11 +12,10 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@teselagen/sequence-utils": "0.3.27",
|
|
14
14
|
"@teselagen/range-utils": "0.3.7",
|
|
15
|
-
"@teselagen/ui": "0.7.
|
|
15
|
+
"@teselagen/ui": "0.7.10-beta.2",
|
|
16
16
|
"@teselagen/file-utils": "0.3.16",
|
|
17
17
|
"@teselagen/bounce-loader": "0.3.11",
|
|
18
18
|
"@teselagen/bio-parsers": "0.4.22",
|
|
19
|
-
"@blueprintjs/core": "3.52.0",
|
|
20
19
|
"@blueprintjs/icons": "3.33.0",
|
|
21
20
|
"@blueprintjs/select": "3.18.11",
|
|
22
21
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Droppable,
|
|
5
5
|
Draggable as DndDraggable
|
|
6
6
|
} from "@hello-pangea/dnd";
|
|
7
|
-
import
|
|
7
|
+
import ClipboardJS from "clipboard";
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { connect } from "react-redux";
|
|
10
10
|
import {
|
|
@@ -1214,7 +1214,7 @@ export class AlignmentView extends React.Component {
|
|
|
1214
1214
|
},
|
|
1215
1215
|
didMount: () => {
|
|
1216
1216
|
this.copyAllAlignmentsFastaClipboardHelper =
|
|
1217
|
-
new
|
|
1217
|
+
new ClipboardJS(
|
|
1218
1218
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
1219
1219
|
{
|
|
1220
1220
|
action: "copyAllAlignmentsFasta",
|
|
@@ -1239,7 +1239,7 @@ export class AlignmentView extends React.Component {
|
|
|
1239
1239
|
},
|
|
1240
1240
|
didMount: () => {
|
|
1241
1241
|
this.copySpecificAlignmentFastaClipboardHelper =
|
|
1242
|
-
new
|
|
1242
|
+
new ClipboardJS(
|
|
1243
1243
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
1244
1244
|
{
|
|
1245
1245
|
action: "copySpecificAlignmentFasta",
|
|
@@ -1278,7 +1278,7 @@ export class AlignmentView extends React.Component {
|
|
|
1278
1278
|
},
|
|
1279
1279
|
didMount: () => {
|
|
1280
1280
|
this.copySpecificAlignmentAsPlainClipboardHelper =
|
|
1281
|
-
new
|
|
1281
|
+
new ClipboardJS(
|
|
1282
1282
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
1283
1283
|
{
|
|
1284
1284
|
action: "copySpecificAlignmentFasta",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getAminoAcidStringFromSequenceString
|
|
5
5
|
} from "@teselagen/sequence-utils";
|
|
6
6
|
import { getSequenceWithinRange } from "@teselagen/range-utils";
|
|
7
|
-
import
|
|
7
|
+
import ClipboardJS from "clipboard";
|
|
8
8
|
import { compose } from "redux";
|
|
9
9
|
import {
|
|
10
10
|
getReverseComplementSequenceAndAnnotations,
|
|
@@ -599,7 +599,7 @@ function VectorInteractionHOC(Component /* options */) {
|
|
|
599
599
|
this.props;
|
|
600
600
|
const { isProtein } = sequenceData;
|
|
601
601
|
const makeTextCopyable = (transformFunc, className, action = "copy") => {
|
|
602
|
-
return new
|
|
602
|
+
return new ClipboardJS(`.${className}`, {
|
|
603
603
|
action: () => action,
|
|
604
604
|
text: () => {
|
|
605
605
|
if (action === "copy") {
|