@teselagen/ove 0.7.4 → 0.7.5
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 +12 -12
- package/index.es.js +13 -13
- package/index.umd.js +23 -32
- package/package.json +3 -7
- package/src/withEditorInteractions/Keyboard.js +2 -2
- package/withEditorInteractions/Keyboard.d.ts +2 -2
package/index.cjs.js
CHANGED
|
@@ -73513,7 +73513,7 @@ let FillWindow$1 = (_F = class extends React$2.Component {
|
|
|
73513
73513
|
this.props.children && isFunction$7(this.props.children) ? this.props.children(windowDimensions) : this.props.children
|
|
73514
73514
|
);
|
|
73515
73515
|
if (asPortal)
|
|
73516
|
-
return
|
|
73516
|
+
return React$2.createPortal(inner2, window.document.body);
|
|
73517
73517
|
return inner2;
|
|
73518
73518
|
}
|
|
73519
73519
|
}, __name(_F, "FillWindow"), _F);
|
|
@@ -117104,7 +117104,7 @@ var clipboard = { exports: {} };
|
|
|
117104
117104
|
});
|
|
117105
117105
|
})(clipboard);
|
|
117106
117106
|
var clipboardExports = clipboard.exports;
|
|
117107
|
-
const Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
117107
|
+
const Clipboard$1 = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
117108
117108
|
var connectionStore = /* @__PURE__ */ new WeakMap();
|
|
117109
117109
|
var ITERATION_KEY = Symbol("iteration key");
|
|
117110
117110
|
function storeObservable(obj) {
|
|
@@ -123079,7 +123079,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
123079
123079
|
}
|
|
123080
123080
|
__name(showFileDialog, "showFileDialog");
|
|
123081
123081
|
const name = "@teselagen/ove";
|
|
123082
|
-
const version = "0.7.
|
|
123082
|
+
const version = "0.7.4";
|
|
123083
123083
|
const main = "./src/index.js";
|
|
123084
123084
|
const type = "module";
|
|
123085
123085
|
const exports$1 = {
|
|
@@ -126987,7 +126987,7 @@ function isElementInViewport(el) {
|
|
|
126987
126987
|
return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
|
|
126988
126988
|
}
|
|
126989
126989
|
__name(isElementInViewport, "isElementInViewport");
|
|
126990
|
-
const
|
|
126990
|
+
const _Clipboard = class _Clipboard extends React$2.Component {
|
|
126991
126991
|
constructor() {
|
|
126992
126992
|
super(...arguments);
|
|
126993
126993
|
__publicField(this, "handleKeyDown", /* @__PURE__ */ __name((e) => {
|
|
@@ -127056,14 +127056,14 @@ const _Keyboard = class _Keyboard extends React$2.Component {
|
|
|
127056
127056
|
);
|
|
127057
127057
|
}
|
|
127058
127058
|
};
|
|
127059
|
-
__name(
|
|
127059
|
+
__name(_Clipboard, "Clipboard");
|
|
127060
127060
|
// static propTypes = {
|
|
127061
127061
|
// value: PropTypes.string.isRequired
|
|
127062
127062
|
// };
|
|
127063
|
-
__publicField(
|
|
127063
|
+
__publicField(_Clipboard, "defaultProps", {
|
|
127064
127064
|
className: "clipboard"
|
|
127065
127065
|
});
|
|
127066
|
-
let
|
|
127066
|
+
let Clipboard = _Clipboard;
|
|
127067
127067
|
let dragInProgress = false;
|
|
127068
127068
|
let selectionStartOrEndGrabbed;
|
|
127069
127069
|
let caretPositionOnDragStart;
|
|
@@ -128079,7 +128079,7 @@ function VectorInteractionHOC(Component) {
|
|
|
128079
128079
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
128080
128080
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
128081
128081
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
|
|
128082
|
-
return new Clipboard(`.${className}`, {
|
|
128082
|
+
return new Clipboard$1(`.${className}`, {
|
|
128083
128083
|
action: () => action2,
|
|
128084
128084
|
text: () => {
|
|
128085
128085
|
if (action2 === "copy") {
|
|
@@ -128754,7 +128754,7 @@ function VectorInteractionHOC(Component) {
|
|
|
128754
128754
|
},
|
|
128755
128755
|
closePanelButton,
|
|
128756
128756
|
/* @__PURE__ */ React$2.createElement(
|
|
128757
|
-
|
|
128757
|
+
Clipboard,
|
|
128758
128758
|
{
|
|
128759
128759
|
value: selectedBps,
|
|
128760
128760
|
onCopy: this.handleCopy,
|
|
@@ -146927,7 +146927,7 @@ ${seqDataToCopy}\r
|
|
|
146927
146927
|
this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
|
|
146928
146928
|
},
|
|
146929
146929
|
didMount: () => {
|
|
146930
|
-
this.copyAllAlignmentsFastaClipboardHelper = new Clipboard(
|
|
146930
|
+
this.copyAllAlignmentsFastaClipboardHelper = new Clipboard$1(
|
|
146931
146931
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
146932
146932
|
{
|
|
146933
146933
|
action: "copyAllAlignmentsFasta",
|
|
@@ -146948,7 +146948,7 @@ ${seqDataToCopy}\r
|
|
|
146948
146948
|
this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
|
|
146949
146949
|
},
|
|
146950
146950
|
didMount: () => {
|
|
146951
|
-
this.copySpecificAlignmentFastaClipboardHelper = new Clipboard(
|
|
146951
|
+
this.copySpecificAlignmentFastaClipboardHelper = new Clipboard$1(
|
|
146952
146952
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
146953
146953
|
{
|
|
146954
146954
|
action: "copySpecificAlignmentFasta",
|
|
@@ -146979,7 +146979,7 @@ ${seqDataToCopy}\r
|
|
|
146979
146979
|
this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
|
|
146980
146980
|
},
|
|
146981
146981
|
didMount: () => {
|
|
146982
|
-
this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard(
|
|
146982
|
+
this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard$1(
|
|
146983
146983
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
146984
146984
|
{
|
|
146985
146985
|
action: "copySpecificAlignmentFasta",
|
package/index.es.js
CHANGED
|
@@ -59,7 +59,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
59
59
|
var _E, _F, _G, _H, _I, _L, _O, _V;
|
|
60
60
|
import { Icon, Classes, Button, Intent, MenuItem, Keys, Tag, Popover, Tooltip, Spinner, Position, FormGroup, Checkbox, Switch, InputGroup, TextArea, EditableText, NumericInput, RadioGroup, Menu, Toaster, MenuDivider, useHotkeys, ContextMenu, Callout, Dialog, Card, Tabs, Tab, Colors, KeyCombo, AnchorButton, Slider as Slider$1, ButtonGroup, HTMLSelect, Label, ResizeSensor, FocusStyleManager } from "@blueprintjs/core";
|
|
61
61
|
import * as React$2 from "react";
|
|
62
|
-
import React__default$1, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo as useMemo$1, useRef, useReducer, useCallback as useCallback$1, createElement, Component, useLayoutEffect as useLayoutEffect$1, createContext, memo, useContext, isValidElement, PureComponent } from "react";
|
|
62
|
+
import React__default$1, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo as useMemo$1, useRef, useReducer, useCallback as useCallback$1, createElement, Component, useLayoutEffect as useLayoutEffect$1, createContext, memo, useContext, isValidElement, PureComponent, createPortal as createPortal$1 } from "react";
|
|
63
63
|
import { formValueSelector, initialize, change, Field, reduxForm, SubmissionError, destroy as destroy$1, touch, FormName, reducer as reducer$4, getFormValues, FieldArray } from "redux-form";
|
|
64
64
|
import ReactDOM$1, { unstable_batchedUpdates, createPortal, flushSync, findDOMNode as findDOMNode$1, unmountComponentAtNode, render as render$2 } from "react-dom";
|
|
65
65
|
import { connect, useDispatch, useSelector, useStore, Provider } from "react-redux";
|
|
@@ -73495,7 +73495,7 @@ let FillWindow$1 = (_F = class extends React__default$1.Component {
|
|
|
73495
73495
|
this.props.children && isFunction$7(this.props.children) ? this.props.children(windowDimensions) : this.props.children
|
|
73496
73496
|
);
|
|
73497
73497
|
if (asPortal)
|
|
73498
|
-
return
|
|
73498
|
+
return createPortal$1(inner2, window.document.body);
|
|
73499
73499
|
return inner2;
|
|
73500
73500
|
}
|
|
73501
73501
|
}, __name(_F, "FillWindow"), _F);
|
|
@@ -117086,7 +117086,7 @@ var clipboard = { exports: {} };
|
|
|
117086
117086
|
});
|
|
117087
117087
|
})(clipboard);
|
|
117088
117088
|
var clipboardExports = clipboard.exports;
|
|
117089
|
-
const Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
117089
|
+
const Clipboard$1 = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
117090
117090
|
var connectionStore = /* @__PURE__ */ new WeakMap();
|
|
117091
117091
|
var ITERATION_KEY = Symbol("iteration key");
|
|
117092
117092
|
function storeObservable(obj) {
|
|
@@ -123061,7 +123061,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
123061
123061
|
}
|
|
123062
123062
|
__name(showFileDialog, "showFileDialog");
|
|
123063
123063
|
const name = "@teselagen/ove";
|
|
123064
|
-
const version = "0.7.
|
|
123064
|
+
const version = "0.7.4";
|
|
123065
123065
|
const main = "./src/index.js";
|
|
123066
123066
|
const type = "module";
|
|
123067
123067
|
const exports$1 = {
|
|
@@ -126969,7 +126969,7 @@ function isElementInViewport(el) {
|
|
|
126969
126969
|
return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
|
|
126970
126970
|
}
|
|
126971
126971
|
__name(isElementInViewport, "isElementInViewport");
|
|
126972
|
-
const
|
|
126972
|
+
const _Clipboard = class _Clipboard extends React__default$1.Component {
|
|
126973
126973
|
constructor() {
|
|
126974
126974
|
super(...arguments);
|
|
126975
126975
|
__publicField(this, "handleKeyDown", /* @__PURE__ */ __name((e) => {
|
|
@@ -127038,14 +127038,14 @@ const _Keyboard = class _Keyboard extends React__default$1.Component {
|
|
|
127038
127038
|
);
|
|
127039
127039
|
}
|
|
127040
127040
|
};
|
|
127041
|
-
__name(
|
|
127041
|
+
__name(_Clipboard, "Clipboard");
|
|
127042
127042
|
// static propTypes = {
|
|
127043
127043
|
// value: PropTypes.string.isRequired
|
|
127044
127044
|
// };
|
|
127045
|
-
__publicField(
|
|
127045
|
+
__publicField(_Clipboard, "defaultProps", {
|
|
127046
127046
|
className: "clipboard"
|
|
127047
127047
|
});
|
|
127048
|
-
let
|
|
127048
|
+
let Clipboard = _Clipboard;
|
|
127049
127049
|
let dragInProgress = false;
|
|
127050
127050
|
let selectionStartOrEndGrabbed;
|
|
127051
127051
|
let caretPositionOnDragStart;
|
|
@@ -128061,7 +128061,7 @@ function VectorInteractionHOC(Component2) {
|
|
|
128061
128061
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
128062
128062
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
128063
128063
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
|
|
128064
|
-
return new Clipboard(`.${className}`, {
|
|
128064
|
+
return new Clipboard$1(`.${className}`, {
|
|
128065
128065
|
action: () => action2,
|
|
128066
128066
|
text: () => {
|
|
128067
128067
|
if (action2 === "copy") {
|
|
@@ -128736,7 +128736,7 @@ function VectorInteractionHOC(Component2) {
|
|
|
128736
128736
|
},
|
|
128737
128737
|
closePanelButton,
|
|
128738
128738
|
/* @__PURE__ */ React__default$1.createElement(
|
|
128739
|
-
|
|
128739
|
+
Clipboard,
|
|
128740
128740
|
{
|
|
128741
128741
|
value: selectedBps,
|
|
128742
128742
|
onCopy: this.handleCopy,
|
|
@@ -146909,7 +146909,7 @@ ${seqDataToCopy}\r
|
|
|
146909
146909
|
this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
|
|
146910
146910
|
},
|
|
146911
146911
|
didMount: () => {
|
|
146912
|
-
this.copyAllAlignmentsFastaClipboardHelper = new Clipboard(
|
|
146912
|
+
this.copyAllAlignmentsFastaClipboardHelper = new Clipboard$1(
|
|
146913
146913
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
146914
146914
|
{
|
|
146915
146915
|
action: "copyAllAlignmentsFasta",
|
|
@@ -146930,7 +146930,7 @@ ${seqDataToCopy}\r
|
|
|
146930
146930
|
this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
|
|
146931
146931
|
},
|
|
146932
146932
|
didMount: () => {
|
|
146933
|
-
this.copySpecificAlignmentFastaClipboardHelper = new Clipboard(
|
|
146933
|
+
this.copySpecificAlignmentFastaClipboardHelper = new Clipboard$1(
|
|
146934
146934
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
146935
146935
|
{
|
|
146936
146936
|
action: "copySpecificAlignmentFasta",
|
|
@@ -146961,7 +146961,7 @@ ${seqDataToCopy}\r
|
|
|
146961
146961
|
this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
|
|
146962
146962
|
},
|
|
146963
146963
|
didMount: () => {
|
|
146964
|
-
this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard(
|
|
146964
|
+
this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard$1(
|
|
146965
146965
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
146966
146966
|
{
|
|
146967
146967
|
action: "copySpecificAlignmentFasta",
|
package/index.umd.js
CHANGED
|
@@ -9860,25 +9860,16 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9860
9860
|
return value;
|
|
9861
9861
|
}, "GetIntrinsic");
|
|
9862
9862
|
var callBind$3 = { exports: {} };
|
|
9863
|
-
var
|
|
9864
|
-
var
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
var $defineProperty2 = GetIntrinsic2("%Object.defineProperty%", true) || false;
|
|
9871
|
-
if ($defineProperty2) {
|
|
9872
|
-
try {
|
|
9873
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
9874
|
-
} catch (e2) {
|
|
9875
|
-
$defineProperty2 = false;
|
|
9876
|
-
}
|
|
9863
|
+
var GetIntrinsic$4 = getIntrinsic;
|
|
9864
|
+
var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
|
|
9865
|
+
if ($defineProperty$2) {
|
|
9866
|
+
try {
|
|
9867
|
+
$defineProperty$2({}, "a", { value: 1 });
|
|
9868
|
+
} catch (e2) {
|
|
9869
|
+
$defineProperty$2 = false;
|
|
9877
9870
|
}
|
|
9878
|
-
esDefineProperty = $defineProperty2;
|
|
9879
|
-
return esDefineProperty;
|
|
9880
9871
|
}
|
|
9881
|
-
|
|
9872
|
+
var esDefineProperty = $defineProperty$2;
|
|
9882
9873
|
var GetIntrinsic$3 = getIntrinsic;
|
|
9883
9874
|
var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
|
|
9884
9875
|
if ($gOPD$1) {
|
|
@@ -9889,7 +9880,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9889
9880
|
}
|
|
9890
9881
|
}
|
|
9891
9882
|
var gopd$1 = $gOPD$1;
|
|
9892
|
-
var $defineProperty$1 =
|
|
9883
|
+
var $defineProperty$1 = esDefineProperty;
|
|
9893
9884
|
var $SyntaxError = syntax;
|
|
9894
9885
|
var $TypeError$4 = type$1;
|
|
9895
9886
|
var gopd = gopd$1;
|
|
@@ -9930,7 +9921,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9930
9921
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
9931
9922
|
}
|
|
9932
9923
|
}, "defineDataProperty");
|
|
9933
|
-
var $defineProperty =
|
|
9924
|
+
var $defineProperty = esDefineProperty;
|
|
9934
9925
|
var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
|
|
9935
9926
|
return !!$defineProperty;
|
|
9936
9927
|
}, "hasPropertyDescriptors");
|
|
@@ -9999,7 +9990,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
9999
9990
|
var $apply = GetIntrinsic2("%Function.prototype.apply%");
|
|
10000
9991
|
var $call = GetIntrinsic2("%Function.prototype.call%");
|
|
10001
9992
|
var $reflectApply = GetIntrinsic2("%Reflect.apply%", true) || bind2.call($call, $apply);
|
|
10002
|
-
var $defineProperty2 =
|
|
9993
|
+
var $defineProperty2 = esDefineProperty;
|
|
10003
9994
|
var $max = GetIntrinsic2("%Math.max%");
|
|
10004
9995
|
module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
|
|
10005
9996
|
if (typeof originalFunction !== "function") {
|
|
@@ -102805,7 +102796,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
102805
102796
|
this.props.children && isFunction$2(this.props.children) ? this.props.children(windowDimensions) : this.props.children
|
|
102806
102797
|
);
|
|
102807
102798
|
if (asPortal)
|
|
102808
|
-
return
|
|
102799
|
+
return reactExports.createPortal(inner2, window.document.body);
|
|
102809
102800
|
return inner2;
|
|
102810
102801
|
}
|
|
102811
102802
|
}, __name(_F, "FillWindow"), _F);
|
|
@@ -145727,7 +145718,7 @@ ${seq.sequence}
|
|
|
145727
145718
|
});
|
|
145728
145719
|
})(clipboard);
|
|
145729
145720
|
var clipboardExports = clipboard.exports;
|
|
145730
|
-
const Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
145721
|
+
const Clipboard$1 = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
|
|
145731
145722
|
var connectionStore = /* @__PURE__ */ new WeakMap();
|
|
145732
145723
|
var ITERATION_KEY = Symbol("iteration key");
|
|
145733
145724
|
function storeObservable(obj) {
|
|
@@ -151668,7 +151659,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
151668
151659
|
}
|
|
151669
151660
|
__name(showFileDialog, "showFileDialog");
|
|
151670
151661
|
const name = "@teselagen/ove";
|
|
151671
|
-
const version = "0.7.
|
|
151662
|
+
const version = "0.7.4";
|
|
151672
151663
|
const main = "./src/index.js";
|
|
151673
151664
|
const type = "module";
|
|
151674
151665
|
const exports$1 = {
|
|
@@ -153971,7 +153962,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
153971
153962
|
return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
|
|
153972
153963
|
}
|
|
153973
153964
|
__name(isElementInViewport, "isElementInViewport");
|
|
153974
|
-
const
|
|
153965
|
+
const _Clipboard = class _Clipboard extends React$2.Component {
|
|
153975
153966
|
constructor() {
|
|
153976
153967
|
super(...arguments);
|
|
153977
153968
|
__publicField(this, "handleKeyDown", /* @__PURE__ */ __name((e2) => {
|
|
@@ -154040,14 +154031,14 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
154040
154031
|
);
|
|
154041
154032
|
}
|
|
154042
154033
|
};
|
|
154043
|
-
__name(
|
|
154034
|
+
__name(_Clipboard, "Clipboard");
|
|
154044
154035
|
// static propTypes = {
|
|
154045
154036
|
// value: PropTypes.string.isRequired
|
|
154046
154037
|
// };
|
|
154047
|
-
__publicField(
|
|
154038
|
+
__publicField(_Clipboard, "defaultProps", {
|
|
154048
154039
|
className: "clipboard"
|
|
154049
154040
|
});
|
|
154050
|
-
let
|
|
154041
|
+
let Clipboard = _Clipboard;
|
|
154051
154042
|
let dragInProgress = false;
|
|
154052
154043
|
let selectionStartOrEndGrabbed;
|
|
154053
154044
|
let caretPositionOnDragStart;
|
|
@@ -155063,7 +155054,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155063
155054
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
155064
155055
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
155065
155056
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
|
|
155066
|
-
return new Clipboard(`.${className}`, {
|
|
155057
|
+
return new Clipboard$1(`.${className}`, {
|
|
155067
155058
|
action: () => action2,
|
|
155068
155059
|
text: () => {
|
|
155069
155060
|
if (action2 === "copy") {
|
|
@@ -155738,7 +155729,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
155738
155729
|
},
|
|
155739
155730
|
closePanelButton,
|
|
155740
155731
|
/* @__PURE__ */ React$2.createElement(
|
|
155741
|
-
|
|
155732
|
+
Clipboard,
|
|
155742
155733
|
{
|
|
155743
155734
|
value: selectedBps,
|
|
155744
155735
|
onCopy: this.handleCopy,
|
|
@@ -173911,7 +173902,7 @@ ${seqDataToCopy}\r
|
|
|
173911
173902
|
this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
|
|
173912
173903
|
},
|
|
173913
173904
|
didMount: () => {
|
|
173914
|
-
this.copyAllAlignmentsFastaClipboardHelper = new Clipboard(
|
|
173905
|
+
this.copyAllAlignmentsFastaClipboardHelper = new Clipboard$1(
|
|
173915
173906
|
`.copyAllAlignmentsFastaClipboardHelper`,
|
|
173916
173907
|
{
|
|
173917
173908
|
action: "copyAllAlignmentsFasta",
|
|
@@ -173932,7 +173923,7 @@ ${seqDataToCopy}\r
|
|
|
173932
173923
|
this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
|
|
173933
173924
|
},
|
|
173934
173925
|
didMount: () => {
|
|
173935
|
-
this.copySpecificAlignmentFastaClipboardHelper = new Clipboard(
|
|
173926
|
+
this.copySpecificAlignmentFastaClipboardHelper = new Clipboard$1(
|
|
173936
173927
|
`.copySpecificAlignmentFastaClipboardHelper`,
|
|
173937
173928
|
{
|
|
173938
173929
|
action: "copySpecificAlignmentFasta",
|
|
@@ -173963,7 +173954,7 @@ ${seqDataToCopy}\r
|
|
|
173963
173954
|
this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
|
|
173964
173955
|
},
|
|
173965
173956
|
didMount: () => {
|
|
173966
|
-
this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard(
|
|
173957
|
+
this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard$1(
|
|
173967
173958
|
`.copySpecificAlignmentAsPlainClipboardHelper`,
|
|
173968
173959
|
{
|
|
173969
173960
|
action: "copySpecificAlignmentFasta",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,12 +12,11 @@
|
|
|
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.9",
|
|
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.
|
|
20
|
-
"@blueprintjs/datetime": "^3.24.1",
|
|
19
|
+
"@blueprintjs/core": "3.52.0",
|
|
21
20
|
"@blueprintjs/icons": "3.33.0",
|
|
22
21
|
"@blueprintjs/select": "3.18.11",
|
|
23
22
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -34,7 +33,6 @@
|
|
|
34
33
|
"buffer": "5.7.1",
|
|
35
34
|
"bufferpack": "0.0.6",
|
|
36
35
|
"classnames": "^2.3.2",
|
|
37
|
-
"clipboard": "2.0.11",
|
|
38
36
|
"color": "^3.2.1",
|
|
39
37
|
"combokeys": "^3.0.1",
|
|
40
38
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -72,7 +70,6 @@
|
|
|
72
70
|
"react-dom": "^18.3.1",
|
|
73
71
|
"react-draggable": "4.4.5",
|
|
74
72
|
"react-dropzone": "^11.4.2",
|
|
75
|
-
"react-markdown": "9.0.1",
|
|
76
73
|
"react-measure": "^2.5.2",
|
|
77
74
|
"react-redux": "^8.0.5",
|
|
78
75
|
"react-rnd": "^10.2.4",
|
|
@@ -84,7 +81,6 @@
|
|
|
84
81
|
"redux-act": "^1.8.0",
|
|
85
82
|
"redux-form": "^8.3.10",
|
|
86
83
|
"redux-thunk": "2.4.1",
|
|
87
|
-
"remark-gfm": "^4.0.0",
|
|
88
84
|
"reselect": "^4.1.7",
|
|
89
85
|
"shortid": "^2.2.16",
|
|
90
86
|
"tg-use-local-storage-state": "^16.0.3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { noop } from "lodash-es";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class Clipboard extends React.Component {
|
|
5
5
|
// static propTypes = {
|
|
6
6
|
// value: PropTypes.string.isRequired
|
|
7
7
|
// };
|
|
@@ -82,4 +82,4 @@ class Keyboard extends React.Component {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
export default
|
|
85
|
+
export default Clipboard;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from '../../../../node_modules/react';
|
|
2
|
-
export default
|
|
3
|
-
declare class
|
|
2
|
+
export default Clipboard;
|
|
3
|
+
declare class Clipboard extends React.Component<any, any, any> {
|
|
4
4
|
static defaultProps: {
|
|
5
5
|
className: string;
|
|
6
6
|
};
|