@teselagen/ove 0.7.13 → 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 CHANGED
@@ -122393,7 +122393,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122393
122393
  }
122394
122394
  __name(showFileDialog, "showFileDialog");
122395
122395
  const name = "@teselagen/ove";
122396
- const version = "0.7.12";
122396
+ const version = "0.7.13";
122397
122397
  const main = "./src/index.js";
122398
122398
  const type = "module";
122399
122399
  const exports$1 = {
@@ -122401,7 +122401,7 @@ const exports$1 = {
122401
122401
  "import": "./index.es.js",
122402
122402
  require: "./index.cjs.js"
122403
122403
  },
122404
- "./style.css": "./style.css"
122404
+ "./*": "./*"
122405
122405
  };
122406
122406
  const packageJson = {
122407
122407
  name,
@@ -127388,7 +127388,7 @@ function VectorInteractionHOC(Component) {
127388
127388
  const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
127389
127389
  const { isProtein: isProtein2 } = sequenceData2;
127390
127390
  const makeTextCopyable = /* @__PURE__ */ __name((transformFunc) => {
127391
- return () => __async(this, null, function* () {
127391
+ return (e) => __async(this, null, function* () {
127392
127392
  const { editorName, store: store2 } = this.props;
127393
127393
  const { sequenceData: sequenceData22, copyOptions: copyOptions2, selectionLayer: selectionLayer22 } = store2.getState().VectorEditor[editorName];
127394
127394
  const selectedSeqData = getSequenceDataBetweenRange(
@@ -127417,6 +127417,7 @@ function VectorInteractionHOC(Component) {
127417
127417
  window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
127418
127418
  window.Cypress.seqDataToCopy = sequenceDataToCopy;
127419
127419
  }
127420
+ this.handleCopy(e);
127420
127421
  });
127421
127422
  }, "makeTextCopyable");
127422
127423
  const aaCopy = {
package/index.es.js CHANGED
@@ -122375,7 +122375,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122375
122375
  }
122376
122376
  __name(showFileDialog, "showFileDialog");
122377
122377
  const name = "@teselagen/ove";
122378
- const version = "0.7.12";
122378
+ const version = "0.7.13";
122379
122379
  const main = "./src/index.js";
122380
122380
  const type = "module";
122381
122381
  const exports$1 = {
@@ -122383,7 +122383,7 @@ const exports$1 = {
122383
122383
  "import": "./index.es.js",
122384
122384
  require: "./index.cjs.js"
122385
122385
  },
122386
- "./style.css": "./style.css"
122386
+ "./*": "./*"
122387
122387
  };
122388
122388
  const packageJson = {
122389
122389
  name,
@@ -127370,7 +127370,7 @@ function VectorInteractionHOC(Component2) {
127370
127370
  const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
127371
127371
  const { isProtein: isProtein2 } = sequenceData2;
127372
127372
  const makeTextCopyable = /* @__PURE__ */ __name((transformFunc) => {
127373
- return () => __async(this, null, function* () {
127373
+ return (e) => __async(this, null, function* () {
127374
127374
  const { editorName, store: store2 } = this.props;
127375
127375
  const { sequenceData: sequenceData22, copyOptions: copyOptions2, selectionLayer: selectionLayer22 } = store2.getState().VectorEditor[editorName];
127376
127376
  const selectedSeqData = getSequenceDataBetweenRange(
@@ -127399,6 +127399,7 @@ function VectorInteractionHOC(Component2) {
127399
127399
  window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
127400
127400
  window.Cypress.seqDataToCopy = sequenceDataToCopy;
127401
127401
  }
127402
+ this.handleCopy(e);
127402
127403
  });
127403
127404
  }, "makeTextCopyable");
127404
127405
  const aaCopy = {
package/index.umd.js CHANGED
@@ -150973,7 +150973,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150973
150973
  }
150974
150974
  __name(showFileDialog, "showFileDialog");
150975
150975
  const name = "@teselagen/ove";
150976
- const version = "0.7.12";
150976
+ const version = "0.7.13";
150977
150977
  const main = "./src/index.js";
150978
150978
  const type = "module";
150979
150979
  const exports$1 = {
@@ -150981,7 +150981,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150981
150981
  "import": "./index.es.js",
150982
150982
  require: "./index.cjs.js"
150983
150983
  },
150984
- "./style.css": "./style.css"
150984
+ "./*": "./*"
150985
150985
  };
150986
150986
  const packageJson = {
150987
150987
  name,
@@ -154363,7 +154363,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
154363
154363
  const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
154364
154364
  const { isProtein: isProtein2 } = sequenceData2;
154365
154365
  const makeTextCopyable = /* @__PURE__ */ __name((transformFunc) => {
154366
- return () => __async(this, null, function* () {
154366
+ return (e2) => __async(this, null, function* () {
154367
154367
  const { editorName, store: store2 } = this.props;
154368
154368
  const { sequenceData: sequenceData22, copyOptions: copyOptions2, selectionLayer: selectionLayer22 } = store2.getState().VectorEditor[editorName];
154369
154369
  const selectedSeqData = getSequenceDataBetweenRange(
@@ -154392,6 +154392,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
154392
154392
  window.Cypress.textToCopy = sequenceDataToCopy.textToCopy;
154393
154393
  window.Cypress.seqDataToCopy = sequenceDataToCopy;
154394
154394
  }
154395
+ this.handleCopy(e2);
154395
154396
  });
154396
154397
  }, "makeTextCopyable");
154397
154398
  const aaCopy = {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.13",
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
- "./style.css": "./style.css"
10
+ "./*": "./*"
11
11
  },
12
12
  "dependencies": {
13
13
  "@teselagen/sequence-utils": "0.3.27",
@@ -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 = {