@teselagen/ove 0.7.12 → 0.7.14
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 +18 -27
- package/index.es.js +18 -27
- package/index.umd.js +7 -7
- package/package.json +3 -3
- package/src/withEditorInteractions/index.js +2 -1
package/index.cjs.js
CHANGED
|
@@ -17944,25 +17944,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
|
|
|
17944
17944
|
return value;
|
|
17945
17945
|
}, "GetIntrinsic");
|
|
17946
17946
|
var callBind$3 = { exports: {} };
|
|
17947
|
-
var
|
|
17948
|
-
var
|
|
17949
|
-
|
|
17950
|
-
|
|
17951
|
-
|
|
17952
|
-
|
|
17953
|
-
|
|
17954
|
-
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
|
|
17955
|
-
if ($defineProperty2) {
|
|
17956
|
-
try {
|
|
17957
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
17958
|
-
} catch (e) {
|
|
17959
|
-
$defineProperty2 = false;
|
|
17960
|
-
}
|
|
17947
|
+
var GetIntrinsic$4 = getIntrinsic;
|
|
17948
|
+
var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
|
|
17949
|
+
if ($defineProperty$2) {
|
|
17950
|
+
try {
|
|
17951
|
+
$defineProperty$2({}, "a", { value: 1 });
|
|
17952
|
+
} catch (e) {
|
|
17953
|
+
$defineProperty$2 = false;
|
|
17961
17954
|
}
|
|
17962
|
-
esDefineProperty = $defineProperty2;
|
|
17963
|
-
return esDefineProperty;
|
|
17964
17955
|
}
|
|
17965
|
-
|
|
17956
|
+
var esDefineProperty = $defineProperty$2;
|
|
17966
17957
|
var GetIntrinsic$3 = getIntrinsic;
|
|
17967
17958
|
var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
|
|
17968
17959
|
if ($gOPD$1) {
|
|
@@ -17973,7 +17964,7 @@ if ($gOPD$1) {
|
|
|
17973
17964
|
}
|
|
17974
17965
|
}
|
|
17975
17966
|
var gopd$1 = $gOPD$1;
|
|
17976
|
-
var $defineProperty$1 =
|
|
17967
|
+
var $defineProperty$1 = esDefineProperty;
|
|
17977
17968
|
var $SyntaxError = syntax;
|
|
17978
17969
|
var $TypeError$4 = type$1;
|
|
17979
17970
|
var gopd = gopd$1;
|
|
@@ -18014,7 +18005,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
|
|
|
18014
18005
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
18015
18006
|
}
|
|
18016
18007
|
}, "defineDataProperty");
|
|
18017
|
-
var $defineProperty =
|
|
18008
|
+
var $defineProperty = esDefineProperty;
|
|
18018
18009
|
var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
|
|
18019
18010
|
return !!$defineProperty;
|
|
18020
18011
|
}, "hasPropertyDescriptors");
|
|
@@ -18083,7 +18074,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
|
|
|
18083
18074
|
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
18084
18075
|
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
18085
18076
|
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
|
|
18086
|
-
var $defineProperty2 =
|
|
18077
|
+
var $defineProperty2 = esDefineProperty;
|
|
18087
18078
|
var $max = GetIntrinsic3("%Math.max%");
|
|
18088
18079
|
module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
|
|
18089
18080
|
if (typeof originalFunction !== "function") {
|
|
@@ -31888,7 +31879,7 @@ const AbstractInput = /* @__PURE__ */ __name(({
|
|
|
31888
31879
|
disabled,
|
|
31889
31880
|
fileLimit,
|
|
31890
31881
|
inlineLabel,
|
|
31891
|
-
input: { name: name2
|
|
31882
|
+
input: { name: name2 },
|
|
31892
31883
|
intent,
|
|
31893
31884
|
isLabelTooltip,
|
|
31894
31885
|
isLoadingDefaultValue,
|
|
@@ -31896,7 +31887,7 @@ const AbstractInput = /* @__PURE__ */ __name(({
|
|
|
31896
31887
|
label,
|
|
31897
31888
|
labelStyle,
|
|
31898
31889
|
leftEl,
|
|
31899
|
-
meta: { form, touched, error, warning: warning2 },
|
|
31890
|
+
meta: { form, touched, error, warning: warning2, initial },
|
|
31900
31891
|
noFillField,
|
|
31901
31892
|
noMarginBottom,
|
|
31902
31893
|
noOuterLabel,
|
|
@@ -31913,10 +31904,9 @@ const AbstractInput = /* @__PURE__ */ __name(({
|
|
|
31913
31904
|
tooltipProps
|
|
31914
31905
|
}) => {
|
|
31915
31906
|
const dispatch = reactRedux.useDispatch();
|
|
31916
|
-
const initalValuePassed = React$2.useRef(value);
|
|
31917
31907
|
const onDefaultValChanged = useStableReference(_onDefaultValChanged);
|
|
31918
31908
|
const onFieldSubmit = useStableReference(_onFieldSubmit);
|
|
31919
|
-
const doesNotHaveInitialValue = !
|
|
31909
|
+
const doesNotHaveInitialValue = !initial;
|
|
31920
31910
|
React$2.useEffect(() => {
|
|
31921
31911
|
if (defaultValue2 !== void 0 && doesNotHaveInitialValue) {
|
|
31922
31912
|
dispatch(reduxForm.change(form, name2, defaultValue2));
|
|
@@ -122403,7 +122393,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
122403
122393
|
}
|
|
122404
122394
|
__name(showFileDialog, "showFileDialog");
|
|
122405
122395
|
const name = "@teselagen/ove";
|
|
122406
|
-
const version = "0.7.
|
|
122396
|
+
const version = "0.7.13";
|
|
122407
122397
|
const main = "./src/index.js";
|
|
122408
122398
|
const type = "module";
|
|
122409
122399
|
const exports$1 = {
|
|
@@ -122411,7 +122401,7 @@ const exports$1 = {
|
|
|
122411
122401
|
"import": "./index.es.js",
|
|
122412
122402
|
require: "./index.cjs.js"
|
|
122413
122403
|
},
|
|
122414
|
-
"
|
|
122404
|
+
"./*": "./*"
|
|
122415
122405
|
};
|
|
122416
122406
|
const packageJson = {
|
|
122417
122407
|
name,
|
|
@@ -127398,7 +127388,7 @@ function VectorInteractionHOC(Component) {
|
|
|
127398
127388
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
127399
127389
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
127400
127390
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc) => {
|
|
127401
|
-
return () => __async(this, null, function* () {
|
|
127391
|
+
return (e) => __async(this, null, function* () {
|
|
127402
127392
|
const { editorName, store: store2 } = this.props;
|
|
127403
127393
|
const { sequenceData: sequenceData22, copyOptions: copyOptions2, selectionLayer: selectionLayer22 } = store2.getState().VectorEditor[editorName];
|
|
127404
127394
|
const selectedSeqData = getSequenceDataBetweenRange(
|
|
@@ -127427,6 +127417,7 @@ function VectorInteractionHOC(Component) {
|
|
|
127427
127417
|
window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
|
|
127428
127418
|
window.Cypress.seqDataToCopy = sequenceDataToCopy;
|
|
127429
127419
|
}
|
|
127420
|
+
this.handleCopy(e);
|
|
127430
127421
|
});
|
|
127431
127422
|
}, "makeTextCopyable");
|
|
127432
127423
|
const aaCopy = {
|
package/index.es.js
CHANGED
|
@@ -17926,25 +17926,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
|
|
|
17926
17926
|
return value;
|
|
17927
17927
|
}, "GetIntrinsic");
|
|
17928
17928
|
var callBind$3 = { exports: {} };
|
|
17929
|
-
var
|
|
17930
|
-
var
|
|
17931
|
-
|
|
17932
|
-
|
|
17933
|
-
|
|
17934
|
-
|
|
17935
|
-
|
|
17936
|
-
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
|
|
17937
|
-
if ($defineProperty2) {
|
|
17938
|
-
try {
|
|
17939
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
17940
|
-
} catch (e) {
|
|
17941
|
-
$defineProperty2 = false;
|
|
17942
|
-
}
|
|
17929
|
+
var GetIntrinsic$4 = getIntrinsic;
|
|
17930
|
+
var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
|
|
17931
|
+
if ($defineProperty$2) {
|
|
17932
|
+
try {
|
|
17933
|
+
$defineProperty$2({}, "a", { value: 1 });
|
|
17934
|
+
} catch (e) {
|
|
17935
|
+
$defineProperty$2 = false;
|
|
17943
17936
|
}
|
|
17944
|
-
esDefineProperty = $defineProperty2;
|
|
17945
|
-
return esDefineProperty;
|
|
17946
17937
|
}
|
|
17947
|
-
|
|
17938
|
+
var esDefineProperty = $defineProperty$2;
|
|
17948
17939
|
var GetIntrinsic$3 = getIntrinsic;
|
|
17949
17940
|
var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
|
|
17950
17941
|
if ($gOPD$1) {
|
|
@@ -17955,7 +17946,7 @@ if ($gOPD$1) {
|
|
|
17955
17946
|
}
|
|
17956
17947
|
}
|
|
17957
17948
|
var gopd$1 = $gOPD$1;
|
|
17958
|
-
var $defineProperty$1 =
|
|
17949
|
+
var $defineProperty$1 = esDefineProperty;
|
|
17959
17950
|
var $SyntaxError = syntax;
|
|
17960
17951
|
var $TypeError$4 = type$1;
|
|
17961
17952
|
var gopd = gopd$1;
|
|
@@ -17996,7 +17987,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
|
|
|
17996
17987
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
17997
17988
|
}
|
|
17998
17989
|
}, "defineDataProperty");
|
|
17999
|
-
var $defineProperty =
|
|
17990
|
+
var $defineProperty = esDefineProperty;
|
|
18000
17991
|
var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
|
|
18001
17992
|
return !!$defineProperty;
|
|
18002
17993
|
}, "hasPropertyDescriptors");
|
|
@@ -18065,7 +18056,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
|
|
|
18065
18056
|
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
18066
18057
|
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
18067
18058
|
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
|
|
18068
|
-
var $defineProperty2 =
|
|
18059
|
+
var $defineProperty2 = esDefineProperty;
|
|
18069
18060
|
var $max = GetIntrinsic3("%Math.max%");
|
|
18070
18061
|
module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
|
|
18071
18062
|
if (typeof originalFunction !== "function") {
|
|
@@ -31870,7 +31861,7 @@ const AbstractInput = /* @__PURE__ */ __name(({
|
|
|
31870
31861
|
disabled,
|
|
31871
31862
|
fileLimit,
|
|
31872
31863
|
inlineLabel,
|
|
31873
|
-
input: { name: name2
|
|
31864
|
+
input: { name: name2 },
|
|
31874
31865
|
intent,
|
|
31875
31866
|
isLabelTooltip,
|
|
31876
31867
|
isLoadingDefaultValue,
|
|
@@ -31878,7 +31869,7 @@ const AbstractInput = /* @__PURE__ */ __name(({
|
|
|
31878
31869
|
label,
|
|
31879
31870
|
labelStyle,
|
|
31880
31871
|
leftEl,
|
|
31881
|
-
meta: { form, touched, error, warning: warning2 },
|
|
31872
|
+
meta: { form, touched, error, warning: warning2, initial },
|
|
31882
31873
|
noFillField,
|
|
31883
31874
|
noMarginBottom,
|
|
31884
31875
|
noOuterLabel,
|
|
@@ -31895,10 +31886,9 @@ const AbstractInput = /* @__PURE__ */ __name(({
|
|
|
31895
31886
|
tooltipProps
|
|
31896
31887
|
}) => {
|
|
31897
31888
|
const dispatch = useDispatch();
|
|
31898
|
-
const initalValuePassed = useRef(value);
|
|
31899
31889
|
const onDefaultValChanged = useStableReference(_onDefaultValChanged);
|
|
31900
31890
|
const onFieldSubmit = useStableReference(_onFieldSubmit);
|
|
31901
|
-
const doesNotHaveInitialValue = !
|
|
31891
|
+
const doesNotHaveInitialValue = !initial;
|
|
31902
31892
|
useEffect(() => {
|
|
31903
31893
|
if (defaultValue2 !== void 0 && doesNotHaveInitialValue) {
|
|
31904
31894
|
dispatch(change(form, name2, defaultValue2));
|
|
@@ -122385,7 +122375,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
122385
122375
|
}
|
|
122386
122376
|
__name(showFileDialog, "showFileDialog");
|
|
122387
122377
|
const name = "@teselagen/ove";
|
|
122388
|
-
const version = "0.7.
|
|
122378
|
+
const version = "0.7.13";
|
|
122389
122379
|
const main = "./src/index.js";
|
|
122390
122380
|
const type = "module";
|
|
122391
122381
|
const exports$1 = {
|
|
@@ -122393,7 +122383,7 @@ const exports$1 = {
|
|
|
122393
122383
|
"import": "./index.es.js",
|
|
122394
122384
|
require: "./index.cjs.js"
|
|
122395
122385
|
},
|
|
122396
|
-
"
|
|
122386
|
+
"./*": "./*"
|
|
122397
122387
|
};
|
|
122398
122388
|
const packageJson = {
|
|
122399
122389
|
name,
|
|
@@ -127380,7 +127370,7 @@ function VectorInteractionHOC(Component2) {
|
|
|
127380
127370
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
127381
127371
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
127382
127372
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc) => {
|
|
127383
|
-
return () => __async(this, null, function* () {
|
|
127373
|
+
return (e) => __async(this, null, function* () {
|
|
127384
127374
|
const { editorName, store: store2 } = this.props;
|
|
127385
127375
|
const { sequenceData: sequenceData22, copyOptions: copyOptions2, selectionLayer: selectionLayer22 } = store2.getState().VectorEditor[editorName];
|
|
127386
127376
|
const selectedSeqData = getSequenceDataBetweenRange(
|
|
@@ -127409,6 +127399,7 @@ function VectorInteractionHOC(Component2) {
|
|
|
127409
127399
|
window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
|
|
127410
127400
|
window.Cypress.seqDataToCopy = sequenceDataToCopy;
|
|
127411
127401
|
}
|
|
127402
|
+
this.handleCopy(e);
|
|
127412
127403
|
});
|
|
127413
127404
|
}, "makeTextCopyable");
|
|
127414
127405
|
const aaCopy = {
|
package/index.umd.js
CHANGED
|
@@ -61163,7 +61163,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61163
61163
|
disabled,
|
|
61164
61164
|
fileLimit,
|
|
61165
61165
|
inlineLabel,
|
|
61166
|
-
input: { name: name2
|
|
61166
|
+
input: { name: name2 },
|
|
61167
61167
|
intent,
|
|
61168
61168
|
isLabelTooltip,
|
|
61169
61169
|
isLoadingDefaultValue,
|
|
@@ -61171,7 +61171,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61171
61171
|
label,
|
|
61172
61172
|
labelStyle,
|
|
61173
61173
|
leftEl,
|
|
61174
|
-
meta: { form: form2, touched, error, warning: warning2 },
|
|
61174
|
+
meta: { form: form2, touched, error, warning: warning2, initial },
|
|
61175
61175
|
noFillField,
|
|
61176
61176
|
noMarginBottom,
|
|
61177
61177
|
noOuterLabel,
|
|
@@ -61188,10 +61188,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
61188
61188
|
tooltipProps
|
|
61189
61189
|
}) => {
|
|
61190
61190
|
const dispatch = useDispatch();
|
|
61191
|
-
const initalValuePassed = reactExports.useRef(value);
|
|
61192
61191
|
const onDefaultValChanged = useStableReference(_onDefaultValChanged);
|
|
61193
61192
|
const onFieldSubmit = useStableReference(_onFieldSubmit);
|
|
61194
|
-
const doesNotHaveInitialValue = !
|
|
61193
|
+
const doesNotHaveInitialValue = !initial;
|
|
61195
61194
|
reactExports.useEffect(() => {
|
|
61196
61195
|
if (defaultValue2 !== void 0 && doesNotHaveInitialValue) {
|
|
61197
61196
|
dispatch(change(form2, name2, defaultValue2));
|
|
@@ -150974,7 +150973,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
150974
150973
|
}
|
|
150975
150974
|
__name(showFileDialog, "showFileDialog");
|
|
150976
150975
|
const name = "@teselagen/ove";
|
|
150977
|
-
const version = "0.7.
|
|
150976
|
+
const version = "0.7.13";
|
|
150978
150977
|
const main = "./src/index.js";
|
|
150979
150978
|
const type = "module";
|
|
150980
150979
|
const exports$1 = {
|
|
@@ -150982,7 +150981,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
150982
150981
|
"import": "./index.es.js",
|
|
150983
150982
|
require: "./index.cjs.js"
|
|
150984
150983
|
},
|
|
150985
|
-
"
|
|
150984
|
+
"./*": "./*"
|
|
150986
150985
|
};
|
|
150987
150986
|
const packageJson = {
|
|
150988
150987
|
name,
|
|
@@ -154364,7 +154363,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
154364
154363
|
const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
|
|
154365
154364
|
const { isProtein: isProtein2 } = sequenceData2;
|
|
154366
154365
|
const makeTextCopyable = /* @__PURE__ */ __name((transformFunc) => {
|
|
154367
|
-
return () => __async(this, null, function* () {
|
|
154366
|
+
return (e2) => __async(this, null, function* () {
|
|
154368
154367
|
const { editorName, store: store2 } = this.props;
|
|
154369
154368
|
const { sequenceData: sequenceData22, copyOptions: copyOptions2, selectionLayer: selectionLayer22 } = store2.getState().VectorEditor[editorName];
|
|
154370
154369
|
const selectedSeqData = getSequenceDataBetweenRange(
|
|
@@ -154393,6 +154392,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
154393
154392
|
window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
|
|
154394
154393
|
window.Cypress.seqDataToCopy = sequenceDataToCopy;
|
|
154395
154394
|
}
|
|
154395
|
+
this.handleCopy(e2);
|
|
154396
154396
|
});
|
|
154397
154397
|
}, "makeTextCopyable");
|
|
154398
154398
|
const aaCopy = {
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"import": "./index.es.js",
|
|
8
8
|
"require": "./index.cjs.js"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
10
|
+
"./*": "./*"
|
|
11
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.17",
|
|
16
16
|
"@teselagen/file-utils": "0.3.18",
|
|
17
17
|
"@teselagen/bounce-loader": "0.3.11",
|
|
18
18
|
"@teselagen/bio-parsers": "0.4.22",
|
|
@@ -609,7 +609,7 @@ function VectorInteractionHOC(Component /* options */) {
|
|
|
609
609
|
this.props;
|
|
610
610
|
const { isProtein } = sequenceData;
|
|
611
611
|
const makeTextCopyable = transformFunc => {
|
|
612
|
-
return async
|
|
612
|
+
return async e => {
|
|
613
613
|
const { editorName, store } = this.props;
|
|
614
614
|
const { sequenceData, copyOptions, selectionLayer } =
|
|
615
615
|
store.getState().VectorEditor[editorName];
|
|
@@ -641,6 +641,7 @@ function VectorInteractionHOC(Component /* options */) {
|
|
|
641
641
|
window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
|
|
642
642
|
window.Cypress.seqDataToCopy = sequenceDataToCopy;
|
|
643
643
|
}
|
|
644
|
+
this.handleCopy(e);
|
|
644
645
|
};
|
|
645
646
|
};
|
|
646
647
|
const aaCopy = {
|