@teselagen/ove 0.7.3-beta.4 → 0.7.3-beta.6
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 +44 -29
- package/index.es.js +44 -29
- package/index.umd.js +13 -9
- package/package.json +2 -2
- package/src/AlignmentView/index.js +4 -4
- package/src/withEditorInteractions/index.js +2 -2
package/AlignmentView/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from '../../../../node_modules/react';
|
|
2
|
-
import { default as Clipboard } from 'clipboard';
|
|
3
2
|
export class AlignmentView extends React.Component<any, any, any> {
|
|
4
3
|
constructor(props: any);
|
|
5
4
|
bindOutsideChangeHelper: {};
|
|
@@ -90,9 +89,9 @@ export class AlignmentView extends React.Component<any, any, any> {
|
|
|
90
89
|
}) => void;
|
|
91
90
|
render(): import("react/jsx-runtime").JSX.Element | "corrupted data!";
|
|
92
91
|
veTracksAndAlignmentHolder: HTMLDivElement | null | undefined;
|
|
93
|
-
copyAllAlignmentsFastaClipboardHelper:
|
|
94
|
-
copySpecificAlignmentFastaClipboardHelper:
|
|
95
|
-
copySpecificAlignmentAsPlainClipboardHelper:
|
|
92
|
+
copyAllAlignmentsFastaClipboardHelper: ClipboardJS | undefined;
|
|
93
|
+
copySpecificAlignmentFastaClipboardHelper: ClipboardJS | undefined;
|
|
94
|
+
copySpecificAlignmentAsPlainClipboardHelper: ClipboardJS | undefined;
|
|
96
95
|
InfiniteScroller: any;
|
|
97
96
|
isZooming: boolean | undefined;
|
|
98
97
|
getTrackTrimmingOptions({ e, allTracks, upsertAlignmentRun, currentPairwiseAlignmentIndex, alignmentId }: {
|
|
@@ -105,3 +104,4 @@ export class AlignmentView extends React.Component<any, any, any> {
|
|
|
105
104
|
}
|
|
106
105
|
declare const _default: any;
|
|
107
106
|
export default _default;
|
|
107
|
+
import * as ClipboardJS from "clipboard";
|
package/index.cjs.js
CHANGED
|
@@ -84,6 +84,26 @@ function _interopNamespaceDefault(e) {
|
|
|
84
84
|
return Object.freeze(n2);
|
|
85
85
|
}
|
|
86
86
|
__name(_interopNamespaceDefault, "_interopNamespaceDefault");
|
|
87
|
+
function _mergeNamespaces(n2, m2) {
|
|
88
|
+
for (var i = 0; i < m2.length; i++) {
|
|
89
|
+
const e = m2[i];
|
|
90
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
91
|
+
for (const k2 in e) {
|
|
92
|
+
if (k2 !== "default" && !(k2 in n2)) {
|
|
93
|
+
const d2 = Object.getOwnPropertyDescriptor(e, k2);
|
|
94
|
+
if (d2) {
|
|
95
|
+
Object.defineProperty(n2, k2, d2.get ? d2 : {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: () => e[k2]
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
|
|
105
|
+
}
|
|
106
|
+
__name(_mergeNamespaces, "_mergeNamespaces");
|
|
87
107
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React$2);
|
|
88
108
|
var top = "top";
|
|
89
109
|
var bottom = "bottom";
|
|
@@ -17928,25 +17948,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
|
|
|
17928
17948
|
return value;
|
|
17929
17949
|
}, "GetIntrinsic");
|
|
17930
17950
|
var callBind$3 = { exports: {} };
|
|
17931
|
-
var
|
|
17932
|
-
var
|
|
17933
|
-
|
|
17934
|
-
|
|
17935
|
-
|
|
17936
|
-
|
|
17937
|
-
|
|
17938
|
-
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
|
|
17939
|
-
if ($defineProperty2) {
|
|
17940
|
-
try {
|
|
17941
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
17942
|
-
} catch (e) {
|
|
17943
|
-
$defineProperty2 = false;
|
|
17944
|
-
}
|
|
17951
|
+
var GetIntrinsic$4 = getIntrinsic;
|
|
17952
|
+
var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
|
|
17953
|
+
if ($defineProperty$2) {
|
|
17954
|
+
try {
|
|
17955
|
+
$defineProperty$2({}, "a", { value: 1 });
|
|
17956
|
+
} catch (e) {
|
|
17957
|
+
$defineProperty$2 = false;
|
|
17945
17958
|
}
|
|
17946
|
-
esDefineProperty = $defineProperty2;
|
|
17947
|
-
return esDefineProperty;
|
|
17948
17959
|
}
|
|
17949
|
-
|
|
17960
|
+
var esDefineProperty = $defineProperty$2;
|
|
17950
17961
|
var GetIntrinsic$3 = getIntrinsic;
|
|
17951
17962
|
var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
|
|
17952
17963
|
if ($gOPD$1) {
|
|
@@ -17957,7 +17968,7 @@ if ($gOPD$1) {
|
|
|
17957
17968
|
}
|
|
17958
17969
|
}
|
|
17959
17970
|
var gopd$1 = $gOPD$1;
|
|
17960
|
-
var $defineProperty$1 =
|
|
17971
|
+
var $defineProperty$1 = esDefineProperty;
|
|
17961
17972
|
var $SyntaxError = syntax;
|
|
17962
17973
|
var $TypeError$4 = type$1;
|
|
17963
17974
|
var gopd = gopd$1;
|
|
@@ -17998,7 +18009,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
|
|
|
17998
18009
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
17999
18010
|
}
|
|
18000
18011
|
}, "defineDataProperty");
|
|
18001
|
-
var $defineProperty =
|
|
18012
|
+
var $defineProperty = esDefineProperty;
|
|
18002
18013
|
var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
|
|
18003
18014
|
return !!$defineProperty;
|
|
18004
18015
|
}, "hasPropertyDescriptors");
|
|
@@ -18067,7 +18078,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
|
|
|
18067
18078
|
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
18068
18079
|
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
18069
18080
|
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
|
|
18070
|
-
var $defineProperty2 =
|
|
18081
|
+
var $defineProperty2 = esDefineProperty;
|
|
18071
18082
|
var $max = GetIntrinsic3("%Math.max%");
|
|
18072
18083
|
module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
|
|
18073
18084
|
if (typeof originalFunction !== "function") {
|
|
@@ -116405,7 +116416,7 @@ const ConnectedDroppable = reactRedux.connect(
|
|
|
116405
116416
|
)(Droppable$1);
|
|
116406
116417
|
ConnectedDroppable.defaultProps = defaultProps;
|
|
116407
116418
|
var ConnectedDroppable$1 = ConnectedDroppable;
|
|
116408
|
-
var clipboard = { exports: {} };
|
|
116419
|
+
var clipboard$1 = { exports: {} };
|
|
116409
116420
|
/*!
|
|
116410
116421
|
* clipboard.js v2.0.8
|
|
116411
116422
|
* https://clipboardjs.com/
|
|
@@ -117181,9 +117192,13 @@ var clipboard = { exports: {} };
|
|
|
117181
117192
|
}().default
|
|
117182
117193
|
);
|
|
117183
117194
|
});
|
|
117184
|
-
})(clipboard);
|
|
117185
|
-
var clipboardExports = clipboard.exports;
|
|
117186
|
-
const
|
|
117195
|
+
})(clipboard$1);
|
|
117196
|
+
var clipboardExports = clipboard$1.exports;
|
|
117197
|
+
const clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
117198
|
+
const ClipboardJS = /* @__PURE__ */ _mergeNamespaces({
|
|
117199
|
+
__proto__: null,
|
|
117200
|
+
default: clipboard
|
|
117201
|
+
}, [clipboardExports]);
|
|
117187
117202
|
var connectionStore = /* @__PURE__ */ new WeakMap();
|
|
117188
117203
|
var ITERATION_KEY = Symbol("iteration key");
|
|
117189
117204
|
function storeObservable(obj) {
|
|
@@ -123158,7 +123173,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
123158
123173
|
}
|
|
123159
123174
|
__name(showFileDialog, "showFileDialog");
|
|
123160
123175
|
const name = "@teselagen/ove";
|
|
123161
|
-
const version = "0.7.3-beta.
|
|
123176
|
+
const version = "0.7.3-beta.5";
|
|
123162
123177
|
const main = "./src/index.js";
|
|
123163
123178
|
const type = "module";
|
|
123164
123179
|
const exports$1 = {
|
|
@@ -128158,7 +128173,7 @@ function VectorInteractionHOC(Component) {
|
|
|
128158
128173
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
128159
128174
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
128160
128175
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
|
|
128161
|
-
return new
|
|
128176
|
+
return new ClipboardJS(`.${className}`, {
|
|
128162
128177
|
action: () => action2,
|
|
128163
128178
|
text: () => {
|
|
128164
128179
|
const { selectionLayer: selectionLayer22, editorName, store: store2 } = this.props;
|
|
@@ -141036,7 +141051,7 @@ ${seqDataToCopy}\r
|
|
|
141036
141051
|
this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
|
|
141037
141052
|
},
|
|
141038
141053
|
didMount: () => {
|
|
141039
|
-
this.copyAllAlignmentsFastaClipboardHelper = new
|
|
141054
|
+
this.copyAllAlignmentsFastaClipboardHelper = new ClipboardJS(
|
|
141040
141055
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
141041
141056
|
{
|
|
141042
141057
|
action: "copyAllAlignmentsFasta",
|
|
@@ -141057,7 +141072,7 @@ ${seqDataToCopy}\r
|
|
|
141057
141072
|
this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
|
|
141058
141073
|
},
|
|
141059
141074
|
didMount: () => {
|
|
141060
|
-
this.copySpecificAlignmentFastaClipboardHelper = new
|
|
141075
|
+
this.copySpecificAlignmentFastaClipboardHelper = new ClipboardJS(
|
|
141061
141076
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
141062
141077
|
{
|
|
141063
141078
|
action: "copySpecificAlignmentFasta",
|
|
@@ -141088,7 +141103,7 @@ ${seqDataToCopy}\r
|
|
|
141088
141103
|
this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
|
|
141089
141104
|
},
|
|
141090
141105
|
didMount: () => {
|
|
141091
|
-
this.copySpecificAlignmentAsPlainClipboardHelper = new
|
|
141106
|
+
this.copySpecificAlignmentAsPlainClipboardHelper = new ClipboardJS(
|
|
141092
141107
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
141093
141108
|
{
|
|
141094
141109
|
action: "copySpecificAlignmentFasta",
|
package/index.es.js
CHANGED
|
@@ -67,6 +67,26 @@ import { DateRangeInput, DateInput } from "@blueprintjs/datetime";
|
|
|
67
67
|
import { getCreateNewItem, MultiSelect, Suggest } from "@blueprintjs/select";
|
|
68
68
|
import { compose as compose$1, combineReducers, createStore as createStore$2, applyMiddleware, bindActionCreators } from "redux";
|
|
69
69
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
70
|
+
function _mergeNamespaces(n2, m2) {
|
|
71
|
+
for (var i = 0; i < m2.length; i++) {
|
|
72
|
+
const e = m2[i];
|
|
73
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
74
|
+
for (const k2 in e) {
|
|
75
|
+
if (k2 !== "default" && !(k2 in n2)) {
|
|
76
|
+
const d2 = Object.getOwnPropertyDescriptor(e, k2);
|
|
77
|
+
if (d2) {
|
|
78
|
+
Object.defineProperty(n2, k2, d2.get ? d2 : {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: () => e[k2]
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
|
|
88
|
+
}
|
|
89
|
+
__name(_mergeNamespaces, "_mergeNamespaces");
|
|
70
90
|
var top = "top";
|
|
71
91
|
var bottom = "bottom";
|
|
72
92
|
var right = "right";
|
|
@@ -17910,25 +17930,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
|
|
|
17910
17930
|
return value;
|
|
17911
17931
|
}, "GetIntrinsic");
|
|
17912
17932
|
var callBind$3 = { exports: {} };
|
|
17913
|
-
var
|
|
17914
|
-
var
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
|
|
17921
|
-
if ($defineProperty2) {
|
|
17922
|
-
try {
|
|
17923
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
17924
|
-
} catch (e) {
|
|
17925
|
-
$defineProperty2 = false;
|
|
17926
|
-
}
|
|
17933
|
+
var GetIntrinsic$4 = getIntrinsic;
|
|
17934
|
+
var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
|
|
17935
|
+
if ($defineProperty$2) {
|
|
17936
|
+
try {
|
|
17937
|
+
$defineProperty$2({}, "a", { value: 1 });
|
|
17938
|
+
} catch (e) {
|
|
17939
|
+
$defineProperty$2 = false;
|
|
17927
17940
|
}
|
|
17928
|
-
esDefineProperty = $defineProperty2;
|
|
17929
|
-
return esDefineProperty;
|
|
17930
17941
|
}
|
|
17931
|
-
|
|
17942
|
+
var esDefineProperty = $defineProperty$2;
|
|
17932
17943
|
var GetIntrinsic$3 = getIntrinsic;
|
|
17933
17944
|
var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
|
|
17934
17945
|
if ($gOPD$1) {
|
|
@@ -17939,7 +17950,7 @@ if ($gOPD$1) {
|
|
|
17939
17950
|
}
|
|
17940
17951
|
}
|
|
17941
17952
|
var gopd$1 = $gOPD$1;
|
|
17942
|
-
var $defineProperty$1 =
|
|
17953
|
+
var $defineProperty$1 = esDefineProperty;
|
|
17943
17954
|
var $SyntaxError = syntax;
|
|
17944
17955
|
var $TypeError$4 = type$1;
|
|
17945
17956
|
var gopd = gopd$1;
|
|
@@ -17980,7 +17991,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
|
|
|
17980
17991
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
17981
17992
|
}
|
|
17982
17993
|
}, "defineDataProperty");
|
|
17983
|
-
var $defineProperty =
|
|
17994
|
+
var $defineProperty = esDefineProperty;
|
|
17984
17995
|
var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
|
|
17985
17996
|
return !!$defineProperty;
|
|
17986
17997
|
}, "hasPropertyDescriptors");
|
|
@@ -18049,7 +18060,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
|
|
|
18049
18060
|
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
18050
18061
|
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
18051
18062
|
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
|
|
18052
|
-
var $defineProperty2 =
|
|
18063
|
+
var $defineProperty2 = esDefineProperty;
|
|
18053
18064
|
var $max = GetIntrinsic3("%Math.max%");
|
|
18054
18065
|
module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
|
|
18055
18066
|
if (typeof originalFunction !== "function") {
|
|
@@ -116387,7 +116398,7 @@ const ConnectedDroppable = connect(
|
|
|
116387
116398
|
)(Droppable$1);
|
|
116388
116399
|
ConnectedDroppable.defaultProps = defaultProps;
|
|
116389
116400
|
var ConnectedDroppable$1 = ConnectedDroppable;
|
|
116390
|
-
var clipboard = { exports: {} };
|
|
116401
|
+
var clipboard$1 = { exports: {} };
|
|
116391
116402
|
/*!
|
|
116392
116403
|
* clipboard.js v2.0.8
|
|
116393
116404
|
* https://clipboardjs.com/
|
|
@@ -117163,9 +117174,13 @@ var clipboard = { exports: {} };
|
|
|
117163
117174
|
}().default
|
|
117164
117175
|
);
|
|
117165
117176
|
});
|
|
117166
|
-
})(clipboard);
|
|
117167
|
-
var clipboardExports = clipboard.exports;
|
|
117168
|
-
const
|
|
117177
|
+
})(clipboard$1);
|
|
117178
|
+
var clipboardExports = clipboard$1.exports;
|
|
117179
|
+
const clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
117180
|
+
const ClipboardJS = /* @__PURE__ */ _mergeNamespaces({
|
|
117181
|
+
__proto__: null,
|
|
117182
|
+
default: clipboard
|
|
117183
|
+
}, [clipboardExports]);
|
|
117169
117184
|
var connectionStore = /* @__PURE__ */ new WeakMap();
|
|
117170
117185
|
var ITERATION_KEY = Symbol("iteration key");
|
|
117171
117186
|
function storeObservable(obj) {
|
|
@@ -123140,7 +123155,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
123140
123155
|
}
|
|
123141
123156
|
__name(showFileDialog, "showFileDialog");
|
|
123142
123157
|
const name = "@teselagen/ove";
|
|
123143
|
-
const version = "0.7.3-beta.
|
|
123158
|
+
const version = "0.7.3-beta.5";
|
|
123144
123159
|
const main = "./src/index.js";
|
|
123145
123160
|
const type = "module";
|
|
123146
123161
|
const exports$1 = {
|
|
@@ -128140,7 +128155,7 @@ function VectorInteractionHOC(Component2) {
|
|
|
128140
128155
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
128141
128156
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
128142
128157
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
|
|
128143
|
-
return new
|
|
128158
|
+
return new ClipboardJS(`.${className}`, {
|
|
128144
128159
|
action: () => action2,
|
|
128145
128160
|
text: () => {
|
|
128146
128161
|
const { selectionLayer: selectionLayer22, editorName, store: store2 } = this.props;
|
|
@@ -141018,7 +141033,7 @@ ${seqDataToCopy}\r
|
|
|
141018
141033
|
this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
|
|
141019
141034
|
},
|
|
141020
141035
|
didMount: () => {
|
|
141021
|
-
this.copyAllAlignmentsFastaClipboardHelper = new
|
|
141036
|
+
this.copyAllAlignmentsFastaClipboardHelper = new ClipboardJS(
|
|
141022
141037
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
141023
141038
|
{
|
|
141024
141039
|
action: "copyAllAlignmentsFasta",
|
|
@@ -141039,7 +141054,7 @@ ${seqDataToCopy}\r
|
|
|
141039
141054
|
this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
|
|
141040
141055
|
},
|
|
141041
141056
|
didMount: () => {
|
|
141042
|
-
this.copySpecificAlignmentFastaClipboardHelper = new
|
|
141057
|
+
this.copySpecificAlignmentFastaClipboardHelper = new ClipboardJS(
|
|
141043
141058
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
141044
141059
|
{
|
|
141045
141060
|
action: "copySpecificAlignmentFasta",
|
|
@@ -141070,7 +141085,7 @@ ${seqDataToCopy}\r
|
|
|
141070
141085
|
this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
|
|
141071
141086
|
},
|
|
141072
141087
|
didMount: () => {
|
|
141073
|
-
this.copySpecificAlignmentAsPlainClipboardHelper = new
|
|
141088
|
+
this.copySpecificAlignmentAsPlainClipboardHelper = new ClipboardJS(
|
|
141074
141089
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
141075
141090
|
{
|
|
141076
141091
|
action: "copySpecificAlignmentFasta",
|
package/index.umd.js
CHANGED
|
@@ -145010,7 +145010,7 @@ ${seq.sequence}
|
|
|
145010
145010
|
)(Droppable$1);
|
|
145011
145011
|
ConnectedDroppable.defaultProps = defaultProps;
|
|
145012
145012
|
var ConnectedDroppable$1 = ConnectedDroppable;
|
|
145013
|
-
var clipboard = { exports: {} };
|
|
145013
|
+
var clipboard$1 = { exports: {} };
|
|
145014
145014
|
/*!
|
|
145015
145015
|
* clipboard.js v2.0.8
|
|
145016
145016
|
* https://clipboardjs.com/
|
|
@@ -145786,9 +145786,13 @@ ${seq.sequence}
|
|
|
145786
145786
|
}().default
|
|
145787
145787
|
);
|
|
145788
145788
|
});
|
|
145789
|
-
})(clipboard);
|
|
145790
|
-
var clipboardExports = clipboard.exports;
|
|
145791
|
-
const
|
|
145789
|
+
})(clipboard$1);
|
|
145790
|
+
var clipboardExports = clipboard$1.exports;
|
|
145791
|
+
const clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
145792
|
+
const ClipboardJS = /* @__PURE__ */ _mergeNamespaces({
|
|
145793
|
+
__proto__: null,
|
|
145794
|
+
default: clipboard
|
|
145795
|
+
}, [clipboardExports]);
|
|
145792
145796
|
var connectionStore = /* @__PURE__ */ new WeakMap();
|
|
145793
145797
|
var ITERATION_KEY = Symbol("iteration key");
|
|
145794
145798
|
function storeObservable(obj) {
|
|
@@ -151729,7 +151733,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
151729
151733
|
}
|
|
151730
151734
|
__name(showFileDialog, "showFileDialog");
|
|
151731
151735
|
const name = "@teselagen/ove";
|
|
151732
|
-
const version = "0.7.3-beta.
|
|
151736
|
+
const version = "0.7.3-beta.5";
|
|
151733
151737
|
const main = "./src/index.js";
|
|
151734
151738
|
const type = "module";
|
|
151735
151739
|
const exports$1 = {
|
|
@@ -155124,7 +155128,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155124
155128
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
155125
155129
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
155126
155130
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
|
|
155127
|
-
return new
|
|
155131
|
+
return new ClipboardJS(`.${className}`, {
|
|
155128
155132
|
action: () => action2,
|
|
155129
155133
|
text: () => {
|
|
155130
155134
|
const { selectionLayer: selectionLayer22, editorName, store: store2 } = this.props;
|
|
@@ -168002,7 +168006,7 @@ ${seqDataToCopy}\r
|
|
|
168002
168006
|
this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
|
|
168003
168007
|
},
|
|
168004
168008
|
didMount: () => {
|
|
168005
|
-
this.copyAllAlignmentsFastaClipboardHelper = new
|
|
168009
|
+
this.copyAllAlignmentsFastaClipboardHelper = new ClipboardJS(
|
|
168006
168010
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
168007
168011
|
{
|
|
168008
168012
|
action: "copyAllAlignmentsFasta",
|
|
@@ -168023,7 +168027,7 @@ ${seqDataToCopy}\r
|
|
|
168023
168027
|
this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
|
|
168024
168028
|
},
|
|
168025
168029
|
didMount: () => {
|
|
168026
|
-
this.copySpecificAlignmentFastaClipboardHelper = new
|
|
168030
|
+
this.copySpecificAlignmentFastaClipboardHelper = new ClipboardJS(
|
|
168027
168031
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
168028
168032
|
{
|
|
168029
168033
|
action: "copySpecificAlignmentFasta",
|
|
@@ -168054,7 +168058,7 @@ ${seqDataToCopy}\r
|
|
|
168054
168058
|
this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
|
|
168055
168059
|
},
|
|
168056
168060
|
didMount: () => {
|
|
168057
|
-
this.copySpecificAlignmentAsPlainClipboardHelper = new
|
|
168061
|
+
this.copySpecificAlignmentAsPlainClipboardHelper = new ClipboardJS(
|
|
168058
168062
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
168059
168063
|
{
|
|
168060
168064
|
action: "copySpecificAlignmentFasta",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.3-beta.
|
|
3
|
+
"version": "0.7.3-beta.6",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@teselagen/sequence-utils": "0.3.27",
|
|
14
14
|
"@teselagen/range-utils": "0.3.7",
|
|
15
|
-
"@teselagen/ui": "0.7.3-beta.
|
|
15
|
+
"@teselagen/ui": "0.7.3-beta.5",
|
|
16
16
|
"@teselagen/file-utils": "0.3.16",
|
|
17
17
|
"@teselagen/bounce-loader": "0.3.11",
|
|
18
18
|
"@teselagen/bio-parsers": "0.4.22",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Droppable,
|
|
5
5
|
Draggable as DndDraggable
|
|
6
6
|
} from "@hello-pangea/dnd";
|
|
7
|
-
import
|
|
7
|
+
import * as 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 * as 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
|
const { selectionLayer, editorName, store } = this.props;
|