@teselagen/ove 0.0.3 → 0.0.4

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.
Files changed (4) hide show
  1. package/index.js +214 -248
  2. package/index.mjs +214 -248
  3. package/index.umd.js +99 -133
  4. package/package.json +1 -1
package/index.umd.js CHANGED
@@ -2434,11 +2434,11 @@ var __async = (__this, __arguments, generator) => {
2434
2434
  }
2435
2435
  bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
2436
2436
  if (target.prototype) {
2437
- var Empty = /* @__PURE__ */ __name(function Empty2() {
2437
+ var Empty2 = /* @__PURE__ */ __name(function Empty3() {
2438
2438
  }, "Empty");
2439
- Empty.prototype = target.prototype;
2440
- bound.prototype = new Empty();
2441
- Empty.prototype = null;
2439
+ Empty2.prototype = target.prototype;
2440
+ bound.prototype = new Empty2();
2441
+ Empty2.prototype = null;
2442
2442
  }
2443
2443
  return bound;
2444
2444
  }, "bind");
@@ -39183,7 +39183,7 @@ ${latestSubscriptionCallbackError.current.stack}
39183
39183
  })));
39184
39184
  }
39185
39185
  __name(SimpleStepViz, "SimpleStepViz");
39186
- const tgFormValues$1 = /* @__PURE__ */ __name((...fieldNames) => (Component) => (props) => {
39186
+ const tgFormValues = /* @__PURE__ */ __name((...fieldNames) => (Component) => (props) => {
39187
39187
  return /* @__PURE__ */ React$3.createElement(FormName$1, null, (formName) => {
39188
39188
  const name2 = formName.form;
39189
39189
  const Wrapped = React$3.useMemo(() => {
@@ -39199,7 +39199,7 @@ ${latestSubscriptionCallbackError.current.stack}
39199
39199
  }, [name2]);
39200
39200
  return /* @__PURE__ */ React$3.createElement(Wrapped, __spreadValues({}, props));
39201
39201
  });
39202
- }, "tgFormValues$1");
39202
+ }, "tgFormValues");
39203
39203
  const tgFormValueSelector = /* @__PURE__ */ __name((formName, ...fields) => {
39204
39204
  return connect((state2) => {
39205
39205
  return formValueSelector(formName)(state2, ...fields);
@@ -39362,17 +39362,17 @@ ${latestSubscriptionCallbackError.current.stack}
39362
39362
  return val2;
39363
39363
  throw TypeError("Can't convert object to primitive value");
39364
39364
  }, "_toPrimitive$1");
39365
- var anObject$3 = _anObject;
39365
+ var anObject$5 = _anObject;
39366
39366
  var IE8_DOM_DEFINE$1 = _ie8DomDefine;
39367
39367
  var toPrimitive$2 = _toPrimitive$1;
39368
- var dP$2 = Object.defineProperty;
39368
+ var dP$3 = Object.defineProperty;
39369
39369
  _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
39370
- anObject$3(O2);
39370
+ anObject$5(O2);
39371
39371
  P2 = toPrimitive$2(P2, true);
39372
- anObject$3(Attributes);
39372
+ anObject$5(Attributes);
39373
39373
  if (IE8_DOM_DEFINE$1)
39374
39374
  try {
39375
- return dP$2(O2, P2, Attributes);
39375
+ return dP$3(O2, P2, Attributes);
39376
39376
  } catch (e2) {
39377
39377
  }
39378
39378
  if ("get" in Attributes || "set" in Attributes)
@@ -39389,10 +39389,10 @@ ${latestSubscriptionCallbackError.current.stack}
39389
39389
  value
39390
39390
  };
39391
39391
  }, "_propertyDesc");
39392
- var dP$1 = _objectDp;
39392
+ var dP$2 = _objectDp;
39393
39393
  var createDesc$3 = _propertyDesc;
39394
39394
  var _hide = _descriptors ? function(object2, key2, value) {
39395
- return dP$1.f(object2, key2, createDesc$3(1, value));
39395
+ return dP$2.f(object2, key2, createDesc$3(1, value));
39396
39396
  } : function(object2, key2, value) {
39397
39397
  object2[key2] = value;
39398
39398
  return object2;
@@ -39406,7 +39406,7 @@ ${latestSubscriptionCallbackError.current.stack}
39406
39406
  var ctx$1 = _ctx;
39407
39407
  var hide$2 = _hide;
39408
39408
  var has$d = _has;
39409
- var PROTOTYPE$1 = "prototype";
39409
+ var PROTOTYPE$2 = "prototype";
39410
39410
  var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source2) {
39411
39411
  var IS_FORCED = type2 & $export$8.F;
39412
39412
  var IS_GLOBAL = type2 & $export$8.G;
@@ -39415,8 +39415,8 @@ ${latestSubscriptionCallbackError.current.stack}
39415
39415
  var IS_BIND = type2 & $export$8.B;
39416
39416
  var IS_WRAP = type2 & $export$8.W;
39417
39417
  var exports3 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
39418
- var expProto = exports3[PROTOTYPE$1];
39419
- var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$1];
39418
+ var expProto = exports3[PROTOTYPE$2];
39419
+ var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$2];
39420
39420
  var key2, own2, out;
39421
39421
  if (IS_GLOBAL)
39422
39422
  source2 = name2;
@@ -39440,7 +39440,7 @@ ${latestSubscriptionCallbackError.current.stack}
39440
39440
  }
39441
39441
  return C.apply(this, arguments);
39442
39442
  }, "F");
39443
- F2[PROTOTYPE$1] = C[PROTOTYPE$1];
39443
+ F2[PROTOTYPE$2] = C[PROTOTYPE$2];
39444
39444
  return F2;
39445
39445
  }(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
39446
39446
  if (IS_PROTO) {
@@ -39463,16 +39463,25 @@ ${latestSubscriptionCallbackError.current.stack}
39463
39463
  var _cof = /* @__PURE__ */ __name(function(it) {
39464
39464
  return toString$4.call(it).slice(8, -1);
39465
39465
  }, "_cof");
39466
- var cof$2 = _cof;
39467
- var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
39468
- return cof$2(it) == "String" ? it.split("") : Object(it);
39469
- };
39466
+ var _iobject;
39467
+ var hasRequired_iobject;
39468
+ function require_iobject() {
39469
+ if (hasRequired_iobject)
39470
+ return _iobject;
39471
+ hasRequired_iobject = 1;
39472
+ var cof2 = _cof;
39473
+ _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
39474
+ return cof2(it) == "String" ? it.split("") : Object(it);
39475
+ };
39476
+ return _iobject;
39477
+ }
39478
+ __name(require_iobject, "require_iobject");
39470
39479
  var _defined = /* @__PURE__ */ __name(function(it) {
39471
39480
  if (it == void 0)
39472
39481
  throw TypeError("Can't call method on " + it);
39473
39482
  return it;
39474
39483
  }, "_defined");
39475
- var IObject = _iobject;
39484
+ var IObject = require_iobject();
39476
39485
  var defined$2 = _defined;
39477
39486
  var _toIobject = /* @__PURE__ */ __name(function(it) {
39478
39487
  return IObject(defined$2(it));
@@ -39545,14 +39554,14 @@ ${latestSubscriptionCallbackError.current.stack}
39545
39554
  var has$c = _has;
39546
39555
  var toIObject$4 = _toIobject;
39547
39556
  var arrayIndexOf$1 = _arrayIncludes$1(false);
39548
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
39557
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
39549
39558
  var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
39550
39559
  var O2 = toIObject$4(object2);
39551
39560
  var i2 = 0;
39552
39561
  var result = [];
39553
39562
  var key2;
39554
39563
  for (key2 in O2)
39555
- if (key2 != IE_PROTO$1)
39564
+ if (key2 != IE_PROTO$2)
39556
39565
  has$c(O2, key2) && result.push(key2);
39557
39566
  while (names2.length > i2)
39558
39567
  if (has$c(O2, key2 = names2[i2++])) {
@@ -39561,10 +39570,10 @@ ${latestSubscriptionCallbackError.current.stack}
39561
39570
  return result;
39562
39571
  }, "_objectKeysInternal");
39563
39572
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
39564
- var $keys$2 = _objectKeysInternal;
39565
- var enumBugKeys = _enumBugKeys;
39573
+ var $keys$3 = _objectKeysInternal;
39574
+ var enumBugKeys$1 = _enumBugKeys;
39566
39575
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys2(O2) {
39567
- return $keys$2(O2, enumBugKeys);
39576
+ return $keys$3(O2, enumBugKeys$1);
39568
39577
  }, "keys");
39569
39578
  var _objectGops = {};
39570
39579
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -39593,7 +39602,7 @@ ${latestSubscriptionCallbackError.current.stack}
39593
39602
  var gOPS2 = _objectGops;
39594
39603
  var pIE2 = require_objectPie();
39595
39604
  var toObject2 = _toObject;
39596
- var IObject2 = _iobject;
39605
+ var IObject2 = require_iobject();
39597
39606
  var $assign = Object.assign;
39598
39607
  _objectAssign = !$assign || _fails(function() {
39599
39608
  var A2 = {};
@@ -39654,28 +39663,19 @@ ${latestSubscriptionCallbackError.current.stack}
39654
39663
  }, "_iterStep");
39655
39664
  var _iterators = {};
39656
39665
  var _redefine = _hide;
39657
- var _objectDps;
39658
- var hasRequired_objectDps;
39659
- function require_objectDps() {
39660
- if (hasRequired_objectDps)
39661
- return _objectDps;
39662
- hasRequired_objectDps = 1;
39663
- var dP2 = _objectDp;
39664
- var anObject2 = _anObject;
39665
- var getKeys2 = _objectKeys;
39666
- _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
39667
- anObject2(O2);
39668
- var keys2 = getKeys2(Properties2);
39669
- var length = keys2.length;
39670
- var i2 = 0;
39671
- var P2;
39672
- while (length > i2)
39673
- dP2.f(O2, P2 = keys2[i2++], Properties2[P2]);
39674
- return O2;
39675
- }, "defineProperties");
39676
- return _objectDps;
39677
- }
39678
- __name(require_objectDps, "require_objectDps");
39666
+ var dP$1 = _objectDp;
39667
+ var anObject$4 = _anObject;
39668
+ var getKeys$1 = _objectKeys;
39669
+ var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
39670
+ anObject$4(O2);
39671
+ var keys2 = getKeys$1(Properties2);
39672
+ var length = keys2.length;
39673
+ var i2 = 0;
39674
+ var P2;
39675
+ while (length > i2)
39676
+ dP$1.f(O2, P2 = keys2[i2++], Properties2[P2]);
39677
+ return O2;
39678
+ }, "defineProperties");
39679
39679
  var _html;
39680
39680
  var hasRequired_html;
39681
39681
  function require_html() {
@@ -39687,51 +39687,42 @@ ${latestSubscriptionCallbackError.current.stack}
39687
39687
  return _html;
39688
39688
  }
39689
39689
  __name(require_html, "require_html");
39690
- var _objectCreate;
39691
- var hasRequired_objectCreate;
39692
- function require_objectCreate() {
39693
- if (hasRequired_objectCreate)
39694
- return _objectCreate;
39695
- hasRequired_objectCreate = 1;
39696
- var anObject2 = _anObject;
39697
- var dPs = require_objectDps();
39698
- var enumBugKeys2 = _enumBugKeys;
39699
- var IE_PROTO2 = _sharedKey("IE_PROTO");
39700
- var Empty = /* @__PURE__ */ __name(function() {
39701
- }, "Empty");
39702
- var PROTOTYPE2 = "prototype";
39703
- var createDict = /* @__PURE__ */ __name(function() {
39704
- var iframe = require_domCreate()("iframe");
39705
- var i2 = enumBugKeys2.length;
39706
- var lt = "<";
39707
- var gt = ">";
39708
- var iframeDocument;
39709
- iframe.style.display = "none";
39710
- require_html().appendChild(iframe);
39711
- iframe.src = "javascript:";
39712
- iframeDocument = iframe.contentWindow.document;
39713
- iframeDocument.open();
39714
- iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
39715
- iframeDocument.close();
39716
- createDict = iframeDocument.F;
39717
- while (i2--)
39718
- delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
39719
- return createDict();
39720
- }, "createDict");
39721
- _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
39722
- var result;
39723
- if (O2 !== null) {
39724
- Empty[PROTOTYPE2] = anObject2(O2);
39725
- result = new Empty();
39726
- Empty[PROTOTYPE2] = null;
39727
- result[IE_PROTO2] = O2;
39728
- } else
39729
- result = createDict();
39730
- return Properties2 === void 0 ? result : dPs(result, Properties2);
39731
- }, "create");
39732
- return _objectCreate;
39733
- }
39734
- __name(require_objectCreate, "require_objectCreate");
39690
+ var anObject$3 = _anObject;
39691
+ var dPs = _objectDps;
39692
+ var enumBugKeys = _enumBugKeys;
39693
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
39694
+ var Empty = /* @__PURE__ */ __name(function() {
39695
+ }, "Empty");
39696
+ var PROTOTYPE$1 = "prototype";
39697
+ var createDict = /* @__PURE__ */ __name(function() {
39698
+ var iframe = require_domCreate()("iframe");
39699
+ var i2 = enumBugKeys.length;
39700
+ var lt = "<";
39701
+ var gt = ">";
39702
+ var iframeDocument;
39703
+ iframe.style.display = "none";
39704
+ require_html().appendChild(iframe);
39705
+ iframe.src = "javascript:";
39706
+ iframeDocument = iframe.contentWindow.document;
39707
+ iframeDocument.open();
39708
+ iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
39709
+ iframeDocument.close();
39710
+ createDict = iframeDocument.F;
39711
+ while (i2--)
39712
+ delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
39713
+ return createDict();
39714
+ }, "createDict");
39715
+ var _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
39716
+ var result;
39717
+ if (O2 !== null) {
39718
+ Empty[PROTOTYPE$1] = anObject$3(O2);
39719
+ result = new Empty();
39720
+ Empty[PROTOTYPE$1] = null;
39721
+ result[IE_PROTO$1] = O2;
39722
+ } else
39723
+ result = createDict();
39724
+ return Properties2 === void 0 ? result : dPs(result, Properties2);
39725
+ }, "create");
39735
39726
  var _wks = { exports: {} };
39736
39727
  var store$2 = _sharedExports("wks");
39737
39728
  var uid$1 = _uid;
@@ -39749,7 +39740,7 @@ ${latestSubscriptionCallbackError.current.stack}
39749
39740
  if (it && !has$b(it = stat ? it : it.prototype, TAG$1))
39750
39741
  def(it, TAG$1, { configurable: true, value: tag });
39751
39742
  }, "_setToStringTag");
39752
- var create$4 = require_objectCreate();
39743
+ var create$4 = _objectCreate;
39753
39744
  var descriptor = _propertyDesc;
39754
39745
  var setToStringTag$2 = _setToStringTag;
39755
39746
  var IteratorPrototype = {};
@@ -40267,21 +40258,13 @@ ${latestSubscriptionCallbackError.current.stack}
40267
40258
  }, "isArray");
40268
40259
  var _objectGopnExt = {};
40269
40260
  var _objectGopn = {};
40270
- var hasRequired_objectGopn;
40271
- function require_objectGopn() {
40272
- if (hasRequired_objectGopn)
40273
- return _objectGopn;
40274
- hasRequired_objectGopn = 1;
40275
- var $keys2 = _objectKeysInternal;
40276
- var hiddenKeys = _enumBugKeys.concat("length", "prototype");
40277
- _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames2(O2) {
40278
- return $keys2(O2, hiddenKeys);
40279
- }, "getOwnPropertyNames");
40280
- return _objectGopn;
40281
- }
40282
- __name(require_objectGopn, "require_objectGopn");
40261
+ var $keys$2 = _objectKeysInternal;
40262
+ var hiddenKeys = _enumBugKeys.concat("length", "prototype");
40263
+ _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames2(O2) {
40264
+ return $keys$2(O2, hiddenKeys);
40265
+ }, "getOwnPropertyNames");
40283
40266
  var toIObject$2 = _toIobject;
40284
- var gOPN$1 = require_objectGopn().f;
40267
+ var gOPN$1 = _objectGopn.f;
40285
40268
  var toString$3 = {}.toString;
40286
40269
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
40287
40270
  var getWindowNames = /* @__PURE__ */ __name(function(it) {
@@ -40334,7 +40317,7 @@ ${latestSubscriptionCallbackError.current.stack}
40334
40317
  var toIObject = _toIobject;
40335
40318
  var toPrimitive = _toPrimitive$1;
40336
40319
  var createDesc = _propertyDesc;
40337
- var _create$1 = require_objectCreate();
40320
+ var _create$1 = _objectCreate;
40338
40321
  var gOPNExt = _objectGopnExt;
40339
40322
  var $GOPD = _objectGopd;
40340
40323
  var $GOPS = _objectGops;
@@ -40474,7 +40457,7 @@ ${latestSubscriptionCallbackError.current.stack}
40474
40457
  }, "toString"));
40475
40458
  $GOPD.f = $getOwnPropertyDescriptor;
40476
40459
  $DP.f = $defineProperty;
40477
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
40460
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
40478
40461
  require_objectPie().f = $propertyIsEnumerable;
40479
40462
  $GOPS.f = $getOwnPropertySymbols;
40480
40463
  if (DESCRIPTORS && !_library) {
@@ -40641,7 +40624,7 @@ ${latestSubscriptionCallbackError.current.stack}
40641
40624
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
40642
40625
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
40643
40626
  var $export = _export;
40644
- $export($export.S, "Object", { create: require_objectCreate() });
40627
+ $export($export.S, "Object", { create: _objectCreate });
40645
40628
  var $Object = _coreExports.Object;
40646
40629
  var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
40647
40630
  return $Object.create(P2, D2);
@@ -80808,7 +80791,7 @@ ${latestSubscriptionCallbackError.current.stack}
80808
80791
  }),
80809
80792
  branch((props) => !props.noForm, reduxForm({})),
80810
80793
  //the formName is passed via withTableParams and is often user overridden
80811
- tgFormValues$1(
80794
+ tgFormValues(
80812
80795
  "localStorageForceUpdate",
80813
80796
  "reduxFormQueryParams",
80814
80797
  "reduxFormSearchInput",
@@ -153143,7 +153126,7 @@ double click --> edit`}`;
153143
153126
  }
153144
153127
  __name(showFileDialog, "showFileDialog");
153145
153128
  const name = "@teselagen/ove";
153146
- const version = "0.0.2";
153129
+ const version = "0.0.3";
153147
153130
  const main = "./index.js";
153148
153131
  const types$1 = "./index.d.ts";
153149
153132
  const type = "commonjs";
@@ -163360,23 +163343,6 @@ This message will only appear in development mode.`);
163360
163343
  }) : /* @__PURE__ */ React$3.createElement("span", null, "(", base1Range.start, "-", base1Range.end, ")")));
163361
163344
  }
163362
163345
  };
163363
- const tgFormValues = /* @__PURE__ */ __name((...fieldNames) => (Component) => (props) => {
163364
- return /* @__PURE__ */ React$3.createElement(FormName$1, null, (formName) => {
163365
- const name2 = formName.form;
163366
- const Wrapped = React$3.useMemo(() => {
163367
- const selector = formValueSelector(name2 || "");
163368
- const wrapper2 = connect((state2) => {
163369
- const vals = {};
163370
- fieldNames.forEach((name22) => {
163371
- vals[name22] = selector(state2, name22);
163372
- });
163373
- return vals;
163374
- });
163375
- return wrapper2(Component);
163376
- }, [name2]);
163377
- return /* @__PURE__ */ React$3.createElement(Wrapped, __spreadValues({}, props));
163378
- });
163379
- }, "tgFormValues");
163380
163346
  const schema$2 = {
163381
163347
  fields: [
163382
163348
  // ...(noColor
@@ -182557,7 +182523,7 @@ ${seqDataToCopy}\r
182557
182523
  const PCRTool$1 = compose(
182558
182524
  withEditorInteractions,
182559
182525
  reduxForm({ form: "PCRTool" }),
182560
- tgFormValues$1("forwardPrimer", "reversePrimer")
182526
+ tgFormValues("forwardPrimer", "reversePrimer")
182561
182527
  )(PCRTool);
182562
182528
  const _panelMap = {
182563
182529
  circular: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "type": "commonjs",