@teselagen/ove 0.5.23 → 0.5.24

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
@@ -89516,18 +89516,19 @@ function getInsertBetweenVals(caretPosition2, selectionLayer2, sequenceLength) {
89516
89516
  }
89517
89517
  __name(getInsertBetweenVals, "getInsertBetweenVals");
89518
89518
  function getReverseComplementAnnotation(annotation, sequenceLength) {
89519
- return Object.assign({}, annotation, {
89519
+ return Object.assign({}, annotation, __spreadValues({
89520
89520
  start: sequenceLength - (annotation.end + 1),
89521
89521
  end: sequenceLength - (annotation.start + 1),
89522
89522
  forward: !annotation.forward,
89523
- strand: annotation.strand === 1 ? -1 : 1,
89524
- locations: annotation.locations ? annotation.locations.map((location2) => {
89523
+ strand: annotation.strand === 1 ? -1 : 1
89524
+ }, annotation.locations && {
89525
+ locations: annotation.locations.map((location2) => {
89525
89526
  return {
89526
89527
  start: sequenceLength - (location2.end + 1),
89527
89528
  end: sequenceLength - (location2.start + 1)
89528
89529
  };
89529
- }) : void 0
89530
- });
89530
+ })
89531
+ }));
89531
89532
  }
89532
89533
  __name(getReverseComplementAnnotation, "getReverseComplementAnnotation");
89533
89534
  function getReverseComplementSequenceAndAnnoations(pSeqObj, options = {}) {
@@ -122406,7 +122407,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122406
122407
  }
122407
122408
  __name(showFileDialog, "showFileDialog");
122408
122409
  const name = "@teselagen/ove";
122409
- const version = "0.5.22";
122410
+ const version = "0.5.23";
122410
122411
  const main = "./src/index.js";
122411
122412
  const type = "module";
122412
122413
  const exports$1 = {
package/index.es.js CHANGED
@@ -89498,18 +89498,19 @@ function getInsertBetweenVals(caretPosition2, selectionLayer2, sequenceLength) {
89498
89498
  }
89499
89499
  __name(getInsertBetweenVals, "getInsertBetweenVals");
89500
89500
  function getReverseComplementAnnotation(annotation, sequenceLength) {
89501
- return Object.assign({}, annotation, {
89501
+ return Object.assign({}, annotation, __spreadValues({
89502
89502
  start: sequenceLength - (annotation.end + 1),
89503
89503
  end: sequenceLength - (annotation.start + 1),
89504
89504
  forward: !annotation.forward,
89505
- strand: annotation.strand === 1 ? -1 : 1,
89506
- locations: annotation.locations ? annotation.locations.map((location2) => {
89505
+ strand: annotation.strand === 1 ? -1 : 1
89506
+ }, annotation.locations && {
89507
+ locations: annotation.locations.map((location2) => {
89507
89508
  return {
89508
89509
  start: sequenceLength - (location2.end + 1),
89509
89510
  end: sequenceLength - (location2.start + 1)
89510
89511
  };
89511
- }) : void 0
89512
- });
89512
+ })
89513
+ }));
89513
89514
  }
89514
89515
  __name(getReverseComplementAnnotation, "getReverseComplementAnnotation");
89515
89516
  function getReverseComplementSequenceAndAnnoations(pSeqObj, options = {}) {
@@ -122388,7 +122389,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122388
122389
  }
122389
122390
  __name(showFileDialog, "showFileDialog");
122390
122391
  const name = "@teselagen/ove";
122391
- const version = "0.5.22";
122392
+ const version = "0.5.23";
122392
122393
  const main = "./src/index.js";
122393
122394
  const type = "module";
122394
122395
  const exports$1 = {
package/index.umd.js CHANGED
@@ -118621,18 +118621,19 @@ ${latestSubscriptionCallbackError.current.stack}
118621
118621
  }
118622
118622
  __name(getInsertBetweenVals, "getInsertBetweenVals");
118623
118623
  function getReverseComplementAnnotation(annotation, sequenceLength) {
118624
- return Object.assign({}, annotation, {
118624
+ return Object.assign({}, annotation, __spreadValues({
118625
118625
  start: sequenceLength - (annotation.end + 1),
118626
118626
  end: sequenceLength - (annotation.start + 1),
118627
118627
  forward: !annotation.forward,
118628
- strand: annotation.strand === 1 ? -1 : 1,
118629
- locations: annotation.locations ? annotation.locations.map((location2) => {
118628
+ strand: annotation.strand === 1 ? -1 : 1
118629
+ }, annotation.locations && {
118630
+ locations: annotation.locations.map((location2) => {
118630
118631
  return {
118631
118632
  start: sequenceLength - (location2.end + 1),
118632
118633
  end: sequenceLength - (location2.start + 1)
118633
118634
  };
118634
- }) : void 0
118635
- });
118635
+ })
118636
+ }));
118636
118637
  }
118637
118638
  __name(getReverseComplementAnnotation, "getReverseComplementAnnotation");
118638
118639
  function getReverseComplementSequenceAndAnnoations(pSeqObj, options = {}) {
@@ -150882,7 +150883,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150882
150883
  }
150883
150884
  __name(showFileDialog, "showFileDialog");
150884
150885
  const name = "@teselagen/ove";
150885
- const version = "0.5.22";
150886
+ const version = "0.5.23";
150886
150887
  const main = "./src/index.js";
150887
150888
  const type = "module";
150888
150889
  const exports$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.5.23",
3
+ "version": "0.5.24",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -10,12 +10,12 @@
10
10
  "./style.css": "./style.css"
11
11
  },
12
12
  "dependencies": {
13
- "@teselagen/sequence-utils": "0.3.25",
13
+ "@teselagen/sequence-utils": "0.3.26",
14
14
  "@teselagen/range-utils": "0.3.7",
15
15
  "@teselagen/ui": "0.4.18",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
- "@teselagen/bio-parsers": "0.4.20",
18
+ "@teselagen/bio-parsers": "0.4.21",
19
19
  "@blueprintjs/core": "3.52.0",
20
20
  "@blueprintjs/datetime": "3.23.19",
21
21
  "@blueprintjs/icons": "3.33.0",