@teselagen/ove 0.5.22 → 0.5.23

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
@@ -35202,25 +35202,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
35202
35202
  return value;
35203
35203
  }, "GetIntrinsic");
35204
35204
  var callBind$3 = { exports: {} };
35205
- var esDefineProperty;
35206
- var hasRequiredEsDefineProperty;
35207
- function requireEsDefineProperty() {
35208
- if (hasRequiredEsDefineProperty)
35209
- return esDefineProperty;
35210
- hasRequiredEsDefineProperty = 1;
35211
- var GetIntrinsic3 = getIntrinsic;
35212
- var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
35213
- if ($defineProperty2) {
35214
- try {
35215
- $defineProperty2({}, "a", { value: 1 });
35216
- } catch (e2) {
35217
- $defineProperty2 = false;
35218
- }
35205
+ var GetIntrinsic$4 = getIntrinsic;
35206
+ var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
35207
+ if ($defineProperty$2) {
35208
+ try {
35209
+ $defineProperty$2({}, "a", { value: 1 });
35210
+ } catch (e2) {
35211
+ $defineProperty$2 = false;
35219
35212
  }
35220
- esDefineProperty = $defineProperty2;
35221
- return esDefineProperty;
35222
35213
  }
35223
- __name(requireEsDefineProperty, "requireEsDefineProperty");
35214
+ var esDefineProperty = $defineProperty$2;
35224
35215
  var GetIntrinsic$3 = getIntrinsic;
35225
35216
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
35226
35217
  if ($gOPD$1) {
@@ -35231,7 +35222,7 @@ if ($gOPD$1) {
35231
35222
  }
35232
35223
  }
35233
35224
  var gopd$1 = $gOPD$1;
35234
- var $defineProperty$1 = requireEsDefineProperty();
35225
+ var $defineProperty$1 = esDefineProperty;
35235
35226
  var $SyntaxError = syntax;
35236
35227
  var $TypeError$4 = type$1;
35237
35228
  var gopd = gopd$1;
@@ -35272,7 +35263,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
35272
35263
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
35273
35264
  }
35274
35265
  }, "defineDataProperty");
35275
- var $defineProperty = requireEsDefineProperty();
35266
+ var $defineProperty = esDefineProperty;
35276
35267
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
35277
35268
  return !!$defineProperty;
35278
35269
  }, "hasPropertyDescriptors");
@@ -35341,7 +35332,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
35341
35332
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
35342
35333
  var $call = GetIntrinsic3("%Function.prototype.call%");
35343
35334
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
35344
- var $defineProperty2 = requireEsDefineProperty();
35335
+ var $defineProperty2 = esDefineProperty;
35345
35336
  var $max = GetIntrinsic3("%Math.max%");
35346
35337
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
35347
35338
  if (typeof originalFunction !== "function") {
@@ -89529,7 +89520,13 @@ function getReverseComplementAnnotation(annotation, sequenceLength) {
89529
89520
  start: sequenceLength - (annotation.end + 1),
89530
89521
  end: sequenceLength - (annotation.start + 1),
89531
89522
  forward: !annotation.forward,
89532
- strand: annotation.strand === 1 ? -1 : 1
89523
+ strand: annotation.strand === 1 ? -1 : 1,
89524
+ locations: annotation.locations ? annotation.locations.map((location2) => {
89525
+ return {
89526
+ start: sequenceLength - (location2.end + 1),
89527
+ end: sequenceLength - (location2.start + 1)
89528
+ };
89529
+ }) : void 0
89533
89530
  });
89534
89531
  }
89535
89532
  __name(getReverseComplementAnnotation, "getReverseComplementAnnotation");
@@ -119223,7 +119220,7 @@ function PointedAnnotation(props) {
119223
119220
  isProtein: isProtein2,
119224
119221
  readOnly: readOnly2
119225
119222
  })),
119226
- isStriped && getStripedPattern({ color: color2 }),
119223
+ isStriped && getStripedPattern({ color: color2, id: id2 }),
119227
119224
  /* @__PURE__ */ React$2.createElement(
119228
119225
  "path",
119229
119226
  {
@@ -122409,7 +122406,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122409
122406
  }
122410
122407
  __name(showFileDialog, "showFileDialog");
122411
122408
  const name = "@teselagen/ove";
122412
- const version = "0.5.21";
122409
+ const version = "0.5.22";
122413
122410
  const main = "./src/index.js";
122414
122411
  const type = "module";
122415
122412
  const exports$1 = {
package/index.es.js CHANGED
@@ -35184,25 +35184,16 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
35184
35184
  return value;
35185
35185
  }, "GetIntrinsic");
35186
35186
  var callBind$3 = { exports: {} };
35187
- var esDefineProperty;
35188
- var hasRequiredEsDefineProperty;
35189
- function requireEsDefineProperty() {
35190
- if (hasRequiredEsDefineProperty)
35191
- return esDefineProperty;
35192
- hasRequiredEsDefineProperty = 1;
35193
- var GetIntrinsic3 = getIntrinsic;
35194
- var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
35195
- if ($defineProperty2) {
35196
- try {
35197
- $defineProperty2({}, "a", { value: 1 });
35198
- } catch (e2) {
35199
- $defineProperty2 = false;
35200
- }
35187
+ var GetIntrinsic$4 = getIntrinsic;
35188
+ var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
35189
+ if ($defineProperty$2) {
35190
+ try {
35191
+ $defineProperty$2({}, "a", { value: 1 });
35192
+ } catch (e2) {
35193
+ $defineProperty$2 = false;
35201
35194
  }
35202
- esDefineProperty = $defineProperty2;
35203
- return esDefineProperty;
35204
35195
  }
35205
- __name(requireEsDefineProperty, "requireEsDefineProperty");
35196
+ var esDefineProperty = $defineProperty$2;
35206
35197
  var GetIntrinsic$3 = getIntrinsic;
35207
35198
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
35208
35199
  if ($gOPD$1) {
@@ -35213,7 +35204,7 @@ if ($gOPD$1) {
35213
35204
  }
35214
35205
  }
35215
35206
  var gopd$1 = $gOPD$1;
35216
- var $defineProperty$1 = requireEsDefineProperty();
35207
+ var $defineProperty$1 = esDefineProperty;
35217
35208
  var $SyntaxError = syntax;
35218
35209
  var $TypeError$4 = type$1;
35219
35210
  var gopd = gopd$1;
@@ -35254,7 +35245,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
35254
35245
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
35255
35246
  }
35256
35247
  }, "defineDataProperty");
35257
- var $defineProperty = requireEsDefineProperty();
35248
+ var $defineProperty = esDefineProperty;
35258
35249
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
35259
35250
  return !!$defineProperty;
35260
35251
  }, "hasPropertyDescriptors");
@@ -35323,7 +35314,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
35323
35314
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
35324
35315
  var $call = GetIntrinsic3("%Function.prototype.call%");
35325
35316
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
35326
- var $defineProperty2 = requireEsDefineProperty();
35317
+ var $defineProperty2 = esDefineProperty;
35327
35318
  var $max = GetIntrinsic3("%Math.max%");
35328
35319
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
35329
35320
  if (typeof originalFunction !== "function") {
@@ -89511,7 +89502,13 @@ function getReverseComplementAnnotation(annotation, sequenceLength) {
89511
89502
  start: sequenceLength - (annotation.end + 1),
89512
89503
  end: sequenceLength - (annotation.start + 1),
89513
89504
  forward: !annotation.forward,
89514
- strand: annotation.strand === 1 ? -1 : 1
89505
+ strand: annotation.strand === 1 ? -1 : 1,
89506
+ locations: annotation.locations ? annotation.locations.map((location2) => {
89507
+ return {
89508
+ start: sequenceLength - (location2.end + 1),
89509
+ end: sequenceLength - (location2.start + 1)
89510
+ };
89511
+ }) : void 0
89515
89512
  });
89516
89513
  }
89517
89514
  __name(getReverseComplementAnnotation, "getReverseComplementAnnotation");
@@ -119205,7 +119202,7 @@ function PointedAnnotation(props) {
119205
119202
  isProtein: isProtein2,
119206
119203
  readOnly: readOnly2
119207
119204
  })),
119208
- isStriped && getStripedPattern({ color: color2 }),
119205
+ isStriped && getStripedPattern({ color: color2, id: id2 }),
119209
119206
  /* @__PURE__ */ React__default$1.createElement(
119210
119207
  "path",
119211
119208
  {
@@ -122391,7 +122388,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122391
122388
  }
122392
122389
  __name(showFileDialog, "showFileDialog");
122393
122390
  const name = "@teselagen/ove";
122394
- const version = "0.5.21";
122391
+ const version = "0.5.22";
122395
122392
  const main = "./src/index.js";
122396
122393
  const type = "module";
122397
122394
  const exports$1 = {
package/index.umd.js CHANGED
@@ -118625,7 +118625,13 @@ ${latestSubscriptionCallbackError.current.stack}
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
118628
+ strand: annotation.strand === 1 ? -1 : 1,
118629
+ locations: annotation.locations ? annotation.locations.map((location2) => {
118630
+ return {
118631
+ start: sequenceLength - (location2.end + 1),
118632
+ end: sequenceLength - (location2.start + 1)
118633
+ };
118634
+ }) : void 0
118629
118635
  });
118630
118636
  }
118631
118637
  __name(getReverseComplementAnnotation, "getReverseComplementAnnotation");
@@ -147724,7 +147730,7 @@ double click --> edit`}`;
147724
147730
  isProtein: isProtein2,
147725
147731
  readOnly: readOnly2
147726
147732
  })),
147727
- isStriped && getStripedPattern({ color: color2 }),
147733
+ isStriped && getStripedPattern({ color: color2, id: id2 }),
147728
147734
  /* @__PURE__ */ React$2.createElement(
147729
147735
  "path",
147730
147736
  {
@@ -150876,7 +150882,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150876
150882
  }
150877
150883
  __name(showFileDialog, "showFileDialog");
150878
150884
  const name = "@teselagen/ove";
150879
- const version = "0.5.21";
150885
+ const version = "0.5.22";
150880
150886
  const main = "./src/index.js";
150881
150887
  const type = "module";
150882
150888
  const exports$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.5.22",
3
+ "version": "0.5.23",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -15,7 +15,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.19",
18
+ "@teselagen/bio-parsers": "0.4.20",
19
19
  "@blueprintjs/core": "3.52.0",
20
20
  "@blueprintjs/datetime": "3.23.19",
21
21
  "@blueprintjs/icons": "3.33.0",
@@ -233,7 +233,7 @@ function PointedAnnotation(props) {
233
233
  })}
234
234
  </title>
235
235
  )}
236
- {isStriped && getStripedPattern({ color })}
236
+ {isStriped && getStripedPattern({ color, id })}
237
237
 
238
238
  <path
239
239
  strokeWidth="1"