@teselagen/ove 0.3.49 → 0.3.50

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.umd.js CHANGED
@@ -10336,11 +10336,11 @@ var __async = (__this, __arguments, generator) => {
10336
10336
  }
10337
10337
  bound = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
10338
10338
  if (target.prototype) {
10339
- var Empty = /* @__PURE__ */ __name(function Empty2() {
10339
+ var Empty2 = /* @__PURE__ */ __name(function Empty3() {
10340
10340
  }, "Empty");
10341
- Empty.prototype = target.prototype;
10342
- bound.prototype = new Empty();
10343
- Empty.prototype = null;
10341
+ Empty2.prototype = target.prototype;
10342
+ bound.prototype = new Empty2();
10343
+ Empty2.prototype = null;
10344
10344
  }
10345
10345
  return bound;
10346
10346
  }, "bind");
@@ -27120,10 +27120,10 @@ var __async = (__this, __arguments, generator) => {
27120
27120
  /* istanbul ignore next */
27121
27121
  Object.getOwnPropertyNames
27122
27122
  );
27123
- function toPrimitive$2(value) {
27123
+ function toPrimitive$3(value) {
27124
27124
  return value === null ? null : typeof value === "object" ? "" + value : value;
27125
27125
  }
27126
- __name(toPrimitive$2, "toPrimitive$2");
27126
+ __name(toPrimitive$3, "toPrimitive$3");
27127
27127
  function hasProp(target, prop2) {
27128
27128
  return objectPrototype$2.hasOwnProperty.call(target, prop2);
27129
27129
  }
@@ -28020,7 +28020,7 @@ var __async = (__this, __arguments, generator) => {
28020
28020
  return this.name_ + "[" + this.value_ + "]";
28021
28021
  }, "toString");
28022
28022
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
28023
- return toPrimitive$2(this.get());
28023
+ return toPrimitive$3(this.get());
28024
28024
  }, "valueOf");
28025
28025
  _proto[_Symbol$toPrimitive] = function() {
28026
28026
  return this.valueOf();
@@ -28205,7 +28205,7 @@ var __async = (__this, __arguments, generator) => {
28205
28205
  return this.name_ + "[" + this.derivation.toString() + "]";
28206
28206
  }, "toString");
28207
28207
  _proto.valueOf = /* @__PURE__ */ __name(function valueOf() {
28208
- return toPrimitive$2(this.get());
28208
+ return toPrimitive$3(this.get());
28209
28209
  }, "valueOf");
28210
28210
  _proto[_Symbol$toPrimitive$1] = function() {
28211
28211
  return this.valueOf();
@@ -44864,20 +44864,11 @@ ${latestSubscriptionCallbackError.current.stack}
44864
44864
  return true;
44865
44865
  }
44866
44866
  }, "_fails");
44867
- var _descriptors;
44868
- var hasRequired_descriptors;
44869
- function require_descriptors() {
44870
- if (hasRequired_descriptors)
44871
- return _descriptors;
44872
- hasRequired_descriptors = 1;
44873
- _descriptors = !_fails(function() {
44874
- return Object.defineProperty({}, "a", { get: function() {
44875
- return 7;
44876
- } }).a != 7;
44877
- });
44878
- return _descriptors;
44879
- }
44880
- __name(require_descriptors, "require_descriptors");
44867
+ var _descriptors = !_fails(function() {
44868
+ return Object.defineProperty({}, "a", { get: function() {
44869
+ return 7;
44870
+ } }).a != 7;
44871
+ });
44881
44872
  var _domCreate;
44882
44873
  var hasRequired_domCreate;
44883
44874
  function require_domCreate() {
@@ -44893,20 +44884,11 @@ ${latestSubscriptionCallbackError.current.stack}
44893
44884
  return _domCreate;
44894
44885
  }
44895
44886
  __name(require_domCreate, "require_domCreate");
44896
- var _ie8DomDefine;
44897
- var hasRequired_ie8DomDefine;
44898
- function require_ie8DomDefine() {
44899
- if (hasRequired_ie8DomDefine)
44900
- return _ie8DomDefine;
44901
- hasRequired_ie8DomDefine = 1;
44902
- _ie8DomDefine = !require_descriptors() && !_fails(function() {
44903
- return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
44904
- return 7;
44905
- } }).a != 7;
44906
- });
44907
- return _ie8DomDefine;
44908
- }
44909
- __name(require_ie8DomDefine, "require_ie8DomDefine");
44887
+ var _ie8DomDefine = !_descriptors && !_fails(function() {
44888
+ return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
44889
+ return 7;
44890
+ } }).a != 7;
44891
+ });
44910
44892
  var isObject$6 = _isObject;
44911
44893
  var _toPrimitive$1 = /* @__PURE__ */ __name(function(it, S2) {
44912
44894
  if (!isObject$6(it))
@@ -44920,33 +44902,25 @@ ${latestSubscriptionCallbackError.current.stack}
44920
44902
  return val2;
44921
44903
  throw TypeError("Can't convert object to primitive value");
44922
44904
  }, "_toPrimitive$1");
44923
- var hasRequired_objectDp;
44924
- function require_objectDp() {
44925
- if (hasRequired_objectDp)
44926
- return _objectDp;
44927
- hasRequired_objectDp = 1;
44928
- var anObject2 = _anObject;
44929
- var IE8_DOM_DEFINE2 = require_ie8DomDefine();
44930
- var toPrimitive2 = _toPrimitive$1;
44931
- var dP2 = Object.defineProperty;
44932
- _objectDp.f = require_descriptors() ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
44933
- anObject2(O2);
44934
- P2 = toPrimitive2(P2, true);
44935
- anObject2(Attributes);
44936
- if (IE8_DOM_DEFINE2)
44937
- try {
44938
- return dP2(O2, P2, Attributes);
44939
- } catch (e2) {
44940
- }
44941
- if ("get" in Attributes || "set" in Attributes)
44942
- throw TypeError("Accessors not supported!");
44943
- if ("value" in Attributes)
44944
- O2[P2] = Attributes.value;
44945
- return O2;
44946
- }, "defineProperty");
44947
- return _objectDp;
44948
- }
44949
- __name(require_objectDp, "require_objectDp");
44905
+ var anObject$5 = _anObject;
44906
+ var IE8_DOM_DEFINE$1 = _ie8DomDefine;
44907
+ var toPrimitive$2 = _toPrimitive$1;
44908
+ var dP$3 = Object.defineProperty;
44909
+ _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
44910
+ anObject$5(O2);
44911
+ P2 = toPrimitive$2(P2, true);
44912
+ anObject$5(Attributes);
44913
+ if (IE8_DOM_DEFINE$1)
44914
+ try {
44915
+ return dP$3(O2, P2, Attributes);
44916
+ } catch (e2) {
44917
+ }
44918
+ if ("get" in Attributes || "set" in Attributes)
44919
+ throw TypeError("Accessors not supported!");
44920
+ if ("value" in Attributes)
44921
+ O2[P2] = Attributes.value;
44922
+ return O2;
44923
+ }, "defineProperty");
44950
44924
  var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
44951
44925
  return {
44952
44926
  enumerable: !(bitmap & 1),
@@ -44955,10 +44929,10 @@ ${latestSubscriptionCallbackError.current.stack}
44955
44929
  value
44956
44930
  };
44957
44931
  }, "_propertyDesc");
44958
- var dP$1 = require_objectDp();
44932
+ var dP$2 = _objectDp;
44959
44933
  var createDesc$3 = _propertyDesc;
44960
- var _hide = require_descriptors() ? function(object2, key2, value) {
44961
- return dP$1.f(object2, key2, createDesc$3(1, value));
44934
+ var _hide = _descriptors ? function(object2, key2, value) {
44935
+ return dP$2.f(object2, key2, createDesc$3(1, value));
44962
44936
  } : function(object2, key2, value) {
44963
44937
  object2[key2] = value;
44964
44938
  return object2;
@@ -44972,7 +44946,7 @@ ${latestSubscriptionCallbackError.current.stack}
44972
44946
  var ctx$1 = _ctx;
44973
44947
  var hide$2 = _hide;
44974
44948
  var has$d = _has;
44975
- var PROTOTYPE$1 = "prototype";
44949
+ var PROTOTYPE$2 = "prototype";
44976
44950
  var $export$8 = /* @__PURE__ */ __name(function(type, name2, source) {
44977
44951
  var IS_FORCED = type & $export$8.F;
44978
44952
  var IS_GLOBAL = type & $export$8.G;
@@ -44981,8 +44955,8 @@ ${latestSubscriptionCallbackError.current.stack}
44981
44955
  var IS_BIND = type & $export$8.B;
44982
44956
  var IS_WRAP = type & $export$8.W;
44983
44957
  var exports3 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
44984
- var expProto = exports3[PROTOTYPE$1];
44985
- var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$1];
44958
+ var expProto = exports3[PROTOTYPE$2];
44959
+ var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$2];
44986
44960
  var key2, own2, out;
44987
44961
  if (IS_GLOBAL)
44988
44962
  source = name2;
@@ -45006,7 +44980,7 @@ ${latestSubscriptionCallbackError.current.stack}
45006
44980
  }
45007
44981
  return C2.apply(this, arguments);
45008
44982
  }, "F");
45009
- F2[PROTOTYPE$1] = C2[PROTOTYPE$1];
44983
+ F2[PROTOTYPE$2] = C2[PROTOTYPE$2];
45010
44984
  return F2;
45011
44985
  }(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
45012
44986
  if (IS_PROTO) {
@@ -45120,14 +45094,14 @@ ${latestSubscriptionCallbackError.current.stack}
45120
45094
  var has$c = _has;
45121
45095
  var toIObject$4 = _toIobject;
45122
45096
  var arrayIndexOf = _arrayIncludes$1(false);
45123
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
45097
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
45124
45098
  var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
45125
45099
  var O2 = toIObject$4(object2);
45126
45100
  var i2 = 0;
45127
45101
  var result = [];
45128
45102
  var key2;
45129
45103
  for (key2 in O2)
45130
- if (key2 != IE_PROTO$1)
45104
+ if (key2 != IE_PROTO$2)
45131
45105
  has$c(O2, key2) && result.push(key2);
45132
45106
  while (names2.length > i2)
45133
45107
  if (has$c(O2, key2 = names2[i2++])) {
@@ -45137,22 +45111,14 @@ ${latestSubscriptionCallbackError.current.stack}
45137
45111
  }, "_objectKeysInternal");
45138
45112
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
45139
45113
  var $keys$3 = _objectKeysInternal;
45140
- var enumBugKeys = _enumBugKeys;
45114
+ var enumBugKeys$1 = _enumBugKeys;
45141
45115
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys2(O2) {
45142
- return $keys$3(O2, enumBugKeys);
45116
+ return $keys$3(O2, enumBugKeys$1);
45143
45117
  }, "keys");
45144
45118
  var _objectGops = {};
45145
45119
  _objectGops.f = Object.getOwnPropertySymbols;
45146
45120
  var _objectPie = {};
45147
- var hasRequired_objectPie;
45148
- function require_objectPie() {
45149
- if (hasRequired_objectPie)
45150
- return _objectPie;
45151
- hasRequired_objectPie = 1;
45152
- _objectPie.f = {}.propertyIsEnumerable;
45153
- return _objectPie;
45154
- }
45155
- __name(require_objectPie, "require_objectPie");
45121
+ _objectPie.f = {}.propertyIsEnumerable;
45156
45122
  var defined$1 = _defined;
45157
45123
  var _toObject = /* @__PURE__ */ __name(function(it) {
45158
45124
  return Object(defined$1(it));
@@ -45163,10 +45129,10 @@ ${latestSubscriptionCallbackError.current.stack}
45163
45129
  if (hasRequired_objectAssign)
45164
45130
  return _objectAssign;
45165
45131
  hasRequired_objectAssign = 1;
45166
- var DESCRIPTORS2 = require_descriptors();
45132
+ var DESCRIPTORS2 = _descriptors;
45167
45133
  var getKeys2 = _objectKeys;
45168
45134
  var gOPS2 = _objectGops;
45169
- var pIE2 = require_objectPie();
45135
+ var pIE2 = _objectPie;
45170
45136
  var toObject2 = _toObject;
45171
45137
  var IObject2 = require_iobject();
45172
45138
  var $assign = Object.assign;
@@ -45229,28 +45195,19 @@ ${latestSubscriptionCallbackError.current.stack}
45229
45195
  }, "_iterStep");
45230
45196
  var _iterators = {};
45231
45197
  var _redefine = _hide;
45232
- var _objectDps;
45233
- var hasRequired_objectDps;
45234
- function require_objectDps() {
45235
- if (hasRequired_objectDps)
45236
- return _objectDps;
45237
- hasRequired_objectDps = 1;
45238
- var dP2 = require_objectDp();
45239
- var anObject2 = _anObject;
45240
- var getKeys2 = _objectKeys;
45241
- _objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
45242
- anObject2(O2);
45243
- var keys2 = getKeys2(Properties2);
45244
- var length = keys2.length;
45245
- var i2 = 0;
45246
- var P2;
45247
- while (length > i2)
45248
- dP2.f(O2, P2 = keys2[i2++], Properties2[P2]);
45249
- return O2;
45250
- }, "defineProperties");
45251
- return _objectDps;
45252
- }
45253
- __name(require_objectDps, "require_objectDps");
45198
+ var dP$1 = _objectDp;
45199
+ var anObject$4 = _anObject;
45200
+ var getKeys$1 = _objectKeys;
45201
+ var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
45202
+ anObject$4(O2);
45203
+ var keys2 = getKeys$1(Properties2);
45204
+ var length = keys2.length;
45205
+ var i2 = 0;
45206
+ var P2;
45207
+ while (length > i2)
45208
+ dP$1.f(O2, P2 = keys2[i2++], Properties2[P2]);
45209
+ return O2;
45210
+ }, "defineProperties");
45254
45211
  var _html;
45255
45212
  var hasRequired_html;
45256
45213
  function require_html() {
@@ -45262,51 +45219,42 @@ ${latestSubscriptionCallbackError.current.stack}
45262
45219
  return _html;
45263
45220
  }
45264
45221
  __name(require_html, "require_html");
45265
- var _objectCreate;
45266
- var hasRequired_objectCreate;
45267
- function require_objectCreate() {
45268
- if (hasRequired_objectCreate)
45269
- return _objectCreate;
45270
- hasRequired_objectCreate = 1;
45271
- var anObject2 = _anObject;
45272
- var dPs = require_objectDps();
45273
- var enumBugKeys2 = _enumBugKeys;
45274
- var IE_PROTO2 = _sharedKey("IE_PROTO");
45275
- var Empty = /* @__PURE__ */ __name(function() {
45276
- }, "Empty");
45277
- var PROTOTYPE2 = "prototype";
45278
- var createDict = /* @__PURE__ */ __name(function() {
45279
- var iframe = require_domCreate()("iframe");
45280
- var i2 = enumBugKeys2.length;
45281
- var lt = "<";
45282
- var gt = ">";
45283
- var iframeDocument;
45284
- iframe.style.display = "none";
45285
- require_html().appendChild(iframe);
45286
- iframe.src = "javascript:";
45287
- iframeDocument = iframe.contentWindow.document;
45288
- iframeDocument.open();
45289
- iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
45290
- iframeDocument.close();
45291
- createDict = iframeDocument.F;
45292
- while (i2--)
45293
- delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
45294
- return createDict();
45295
- }, "createDict");
45296
- _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
45297
- var result;
45298
- if (O2 !== null) {
45299
- Empty[PROTOTYPE2] = anObject2(O2);
45300
- result = new Empty();
45301
- Empty[PROTOTYPE2] = null;
45302
- result[IE_PROTO2] = O2;
45303
- } else
45304
- result = createDict();
45305
- return Properties2 === void 0 ? result : dPs(result, Properties2);
45306
- }, "create");
45307
- return _objectCreate;
45308
- }
45309
- __name(require_objectCreate, "require_objectCreate");
45222
+ var anObject$3 = _anObject;
45223
+ var dPs = _objectDps;
45224
+ var enumBugKeys = _enumBugKeys;
45225
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
45226
+ var Empty = /* @__PURE__ */ __name(function() {
45227
+ }, "Empty");
45228
+ var PROTOTYPE$1 = "prototype";
45229
+ var createDict = /* @__PURE__ */ __name(function() {
45230
+ var iframe = require_domCreate()("iframe");
45231
+ var i2 = enumBugKeys.length;
45232
+ var lt = "<";
45233
+ var gt = ">";
45234
+ var iframeDocument;
45235
+ iframe.style.display = "none";
45236
+ require_html().appendChild(iframe);
45237
+ iframe.src = "javascript:";
45238
+ iframeDocument = iframe.contentWindow.document;
45239
+ iframeDocument.open();
45240
+ iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
45241
+ iframeDocument.close();
45242
+ createDict = iframeDocument.F;
45243
+ while (i2--)
45244
+ delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
45245
+ return createDict();
45246
+ }, "createDict");
45247
+ var _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
45248
+ var result;
45249
+ if (O2 !== null) {
45250
+ Empty[PROTOTYPE$1] = anObject$3(O2);
45251
+ result = new Empty();
45252
+ Empty[PROTOTYPE$1] = null;
45253
+ result[IE_PROTO$1] = O2;
45254
+ } else
45255
+ result = createDict();
45256
+ return Properties2 === void 0 ? result : dPs(result, Properties2);
45257
+ }, "create");
45310
45258
  var _wks = { exports: {} };
45311
45259
  var store$2 = _sharedExports("wks");
45312
45260
  var uid$1 = _uid;
@@ -45317,14 +45265,14 @@ ${latestSubscriptionCallbackError.current.stack}
45317
45265
  };
45318
45266
  $exports.store = store$2;
45319
45267
  var _wksExports = _wks.exports;
45320
- var def = require_objectDp().f;
45268
+ var def = _objectDp.f;
45321
45269
  var has$b = _has;
45322
45270
  var TAG$1 = _wksExports("toStringTag");
45323
45271
  var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
45324
45272
  if (it && !has$b(it = stat ? it : it.prototype, TAG$1))
45325
45273
  def(it, TAG$1, { configurable: true, value: tag });
45326
45274
  }, "_setToStringTag");
45327
- var create$4 = require_objectCreate();
45275
+ var create$4 = _objectCreate;
45328
45276
  var descriptor = _propertyDesc;
45329
45277
  var setToStringTag$2 = _setToStringTag;
45330
45278
  var IteratorPrototype = {};
@@ -45590,7 +45538,7 @@ ${latestSubscriptionCallbackError.current.stack}
45590
45538
  var _isArrayIter = /* @__PURE__ */ __name(function(it) {
45591
45539
  return it !== void 0 && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
45592
45540
  }, "_isArrayIter");
45593
- var $defineProperty$1 = require_objectDp();
45541
+ var $defineProperty$1 = _objectDp;
45594
45542
  var createDesc$2 = _propertyDesc;
45595
45543
  var _createProperty = /* @__PURE__ */ __name(function(object2, index2, value) {
45596
45544
  if (index2 in object2)
@@ -45719,7 +45667,7 @@ ${latestSubscriptionCallbackError.current.stack}
45719
45667
  }
45720
45668
  }, "_default$8");
45721
45669
  var $export$3 = _export;
45722
- $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
45670
+ $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
45723
45671
  var $Object$1 = _coreExports.Object;
45724
45672
  var defineProperty$6 = /* @__PURE__ */ __name(function defineProperty2(it, key2, desc) {
45725
45673
  return $Object$1.defineProperty(it, key2, desc);
@@ -45760,7 +45708,7 @@ ${latestSubscriptionCallbackError.current.stack}
45760
45708
  var META$1 = _uid("meta");
45761
45709
  var isObject$5 = _isObject;
45762
45710
  var has$9 = _has;
45763
- var setDesc = require_objectDp().f;
45711
+ var setDesc = _objectDp.f;
45764
45712
  var id$1 = 0;
45765
45713
  var isExtensible = Object.isExtensible || function() {
45766
45714
  return true;
@@ -45813,7 +45761,7 @@ ${latestSubscriptionCallbackError.current.stack}
45813
45761
  var _metaExports = _meta.exports;
45814
45762
  var core = _coreExports;
45815
45763
  var wksExt$1 = _wksExt;
45816
- var defineProperty$4 = require_objectDp().f;
45764
+ var defineProperty$4 = _objectDp.f;
45817
45765
  var _wksDefine = /* @__PURE__ */ __name(function(name2) {
45818
45766
  var $Symbol2 = core.Symbol || (core.Symbol = {});
45819
45767
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -45821,7 +45769,7 @@ ${latestSubscriptionCallbackError.current.stack}
45821
45769
  }, "_wksDefine");
45822
45770
  var getKeys = _objectKeys;
45823
45771
  var gOPS$1 = _objectGops;
45824
- var pIE$1 = require_objectPie();
45772
+ var pIE$1 = _objectPie;
45825
45773
  var _enumKeys = /* @__PURE__ */ __name(function(it) {
45826
45774
  var result = getKeys(it);
45827
45775
  var getSymbols2 = gOPS$1.f;
@@ -45862,14 +45810,14 @@ ${latestSubscriptionCallbackError.current.stack}
45862
45810
  return windowNames && toString$3.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
45863
45811
  }, "getOwnPropertyNames");
45864
45812
  var _objectGopd = {};
45865
- var pIE = require_objectPie();
45813
+ var pIE = _objectPie;
45866
45814
  var createDesc$1 = _propertyDesc;
45867
45815
  var toIObject$1 = _toIobject;
45868
45816
  var toPrimitive$1 = _toPrimitive$1;
45869
45817
  var has$8 = _has;
45870
- var IE8_DOM_DEFINE = require_ie8DomDefine();
45818
+ var IE8_DOM_DEFINE = _ie8DomDefine;
45871
45819
  var gOPD$2 = Object.getOwnPropertyDescriptor;
45872
- _objectGopd.f = require_descriptors() ? gOPD$2 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor2(O2, P2) {
45820
+ _objectGopd.f = _descriptors ? gOPD$2 : /* @__PURE__ */ __name(function getOwnPropertyDescriptor2(O2, P2) {
45873
45821
  O2 = toIObject$1(O2);
45874
45822
  P2 = toPrimitive$1(P2, true);
45875
45823
  if (IE8_DOM_DEFINE)
@@ -45882,7 +45830,7 @@ ${latestSubscriptionCallbackError.current.stack}
45882
45830
  }, "getOwnPropertyDescriptor");
45883
45831
  var global$1 = _globalExports;
45884
45832
  var has$7 = _has;
45885
- var DESCRIPTORS = require_descriptors();
45833
+ var DESCRIPTORS = _descriptors;
45886
45834
  var $export$2 = _export;
45887
45835
  var redefine = _redefine;
45888
45836
  var META = _metaExports.KEY;
@@ -45901,11 +45849,11 @@ ${latestSubscriptionCallbackError.current.stack}
45901
45849
  var toIObject = _toIobject;
45902
45850
  var toPrimitive = _toPrimitive$1;
45903
45851
  var createDesc = _propertyDesc;
45904
- var _create$1 = require_objectCreate();
45852
+ var _create$1 = _objectCreate;
45905
45853
  var gOPNExt = _objectGopnExt;
45906
45854
  var $GOPD = _objectGopd;
45907
45855
  var $GOPS = _objectGops;
45908
- var $DP = require_objectDp();
45856
+ var $DP = _objectDp;
45909
45857
  var $keys$1 = _objectKeys;
45910
45858
  var gOPD$1 = $GOPD.f;
45911
45859
  var dP = $DP.f;
@@ -46042,7 +45990,7 @@ ${latestSubscriptionCallbackError.current.stack}
46042
45990
  $GOPD.f = $getOwnPropertyDescriptor;
46043
45991
  $DP.f = $defineProperty;
46044
45992
  _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
46045
- require_objectPie().f = $propertyIsEnumerable;
45993
+ _objectPie.f = $propertyIsEnumerable;
46046
45994
  $GOPS.f = $getOwnPropertySymbols;
46047
45995
  if (DESCRIPTORS && !_library) {
46048
45996
  redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
@@ -46208,7 +46156,7 @@ ${latestSubscriptionCallbackError.current.stack}
46208
46156
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
46209
46157
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
46210
46158
  var $export = _export;
46211
- $export($export.S, "Object", { create: require_objectCreate() });
46159
+ $export($export.S, "Object", { create: _objectCreate });
46212
46160
  var $Object = _coreExports.Object;
46213
46161
  var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
46214
46162
  return $Object.create(P2, D2);
@@ -66028,6 +65976,13 @@ ${latestSubscriptionCallbackError.current.stack}
66028
65976
  const _TgSelect = class _TgSelect extends React$2.Component {
66029
65977
  constructor(props) {
66030
65978
  super(props);
65979
+ __publicField(this, "setOpenState", /* @__PURE__ */ __name((isOpen2) => {
65980
+ const { handleOpenChange } = this.props;
65981
+ if (handleOpenChange) {
65982
+ handleOpenChange(isOpen2);
65983
+ }
65984
+ this.setState({ isOpen: isOpen2 });
65985
+ }, "setOpenState"));
66031
65986
  __publicField(this, "itemRenderer", /* @__PURE__ */ __name((i2, { index: index2, handleClick, modifiers: modifiers2 }) => {
66032
65987
  const optionRenderer = this.getOptionRenderer();
66033
65988
  const onClick = i2.onClick || handleClick;
@@ -66060,7 +66015,7 @@ ${latestSubscriptionCallbackError.current.stack}
66060
66015
  if (multi) {
66061
66016
  let valArray = getValueArray(value);
66062
66017
  if (closeOnSelect || item.closeOnSelect) {
66063
- this.setState({ isOpen: false });
66018
+ this.setOpenState(false);
66064
66019
  this.input && this.input.blur();
66065
66020
  }
66066
66021
  if (isTagSelect && item.value && item.value.includes && item.value.includes(":")) {
@@ -66077,7 +66032,7 @@ ${latestSubscriptionCallbackError.current.stack}
66077
66032
  }
66078
66033
  return onChange([...valArray, item]);
66079
66034
  } else {
66080
- this.setState({ isOpen: false });
66035
+ this.setOpenState(false);
66081
66036
  this.input && this.input.blur();
66082
66037
  return onChange(item);
66083
66038
  }
@@ -66090,7 +66045,7 @@ ${latestSubscriptionCallbackError.current.stack}
66090
66045
  );
66091
66046
  e2.stopPropagation();
66092
66047
  onChange(filteredVals);
66093
- this.setState({ isOpen: false });
66048
+ this.setOpenState(false);
66094
66049
  this.input.focus();
66095
66050
  }, "handleTagRemove"));
66096
66051
  __publicField(this, "handleTagInputRemove", /* @__PURE__ */ __name((val2, index2) => {
@@ -66111,7 +66066,7 @@ ${latestSubscriptionCallbackError.current.stack}
66111
66066
  const { onChange } = this.props;
66112
66067
  this.setState({ query: "" });
66113
66068
  onChange(newValue);
66114
- this.setState({ isOpen: false });
66069
+ this.setOpenState(false);
66115
66070
  this.input.focus();
66116
66071
  }, "handleClear"));
66117
66072
  __publicField(this, "itemListPredicate", /* @__PURE__ */ __name((queryString2, item) => {
@@ -66134,9 +66089,12 @@ ${latestSubscriptionCallbackError.current.stack}
66134
66089
  }, "handleActiveItemChange"));
66135
66090
  __publicField(this, "onInteraction", /* @__PURE__ */ __name(() => {
66136
66091
  if (this.input != null && this.input !== document.activeElement) {
66137
- this.setState({ isOpen: false, query: "" });
66092
+ this.setOpenState(false);
66093
+ this.setState({
66094
+ query: ""
66095
+ });
66138
66096
  } else if (!this.props.openOnKeyDown) {
66139
- this.setState({ isOpen: true });
66097
+ this.setOpenState(true);
66140
66098
  }
66141
66099
  }, "onInteraction"));
66142
66100
  __publicField(this, "queryHasExactOptionMatch", /* @__PURE__ */ __name(() => {
@@ -66245,7 +66203,7 @@ ${latestSubscriptionCallbackError.current.stack}
66245
66203
  onClick: (e2) => {
66246
66204
  if (this.state.isOpen) {
66247
66205
  e2.stopPropagation();
66248
- this.setState({ isOpen: false });
66206
+ this.setOpenState(false);
66249
66207
  }
66250
66208
  },
66251
66209
  disabled,
@@ -66318,11 +66276,11 @@ ${latestSubscriptionCallbackError.current.stack}
66318
66276
  if (this.input != null) {
66319
66277
  this.input.blur();
66320
66278
  }
66321
- this.setState({ isOpen: false });
66279
+ this.setOpenState(false);
66322
66280
  e2.preventDefault();
66323
66281
  e2.stopPropagation();
66324
66282
  } else if (!(which === BACKSPACE$1 || which === ARROW_LEFT || which === ARROW_RIGHT)) {
66325
- this.setState({ isOpen: true });
66283
+ this.setOpenState(true);
66326
66284
  }
66327
66285
  },
66328
66286
  inputProps: __spreadValues({
@@ -86351,13 +86309,24 @@ ${latestSubscriptionCallbackError.current.stack}
86351
86309
  }, 0);
86352
86310
  }
86353
86311
  }, "updateFromProps"));
86354
- __publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities) => {
86312
+ __publicField(this, "formatAndValidateEntities", /* @__PURE__ */ __name((entities, { useDefaultValues, indexToStartAt } = {}) => {
86355
86313
  const { schema: schema2 } = this.props;
86356
86314
  const editableFields = schema2.fields.filter((f2) => !f2.isNotEditable);
86357
86315
  const validationErrors = {};
86358
86316
  const newEnts = immer(entities, (entities2) => {
86359
86317
  entities2.forEach((e2, index2) => {
86360
86318
  editableFields.forEach((columnSchema) => {
86319
+ if (useDefaultValues) {
86320
+ if (e2[columnSchema.path] === void 0) {
86321
+ if (lodashExports.isFunction(columnSchema.defaultValue)) {
86322
+ e2[columnSchema.path] = columnSchema.defaultValue(
86323
+ index2 + indexToStartAt,
86324
+ e2
86325
+ );
86326
+ } else
86327
+ e2[columnSchema.path] = columnSchema.defaultValue;
86328
+ }
86329
+ }
86361
86330
  const { error } = editCellHelper({
86362
86331
  entity: e2,
86363
86332
  columnSchema,
@@ -86681,8 +86650,9 @@ ${latestSubscriptionCallbackError.current.stack}
86681
86650
  }, "handleCut"));
86682
86651
  __publicField(this, "getCellCopyText", /* @__PURE__ */ __name((cellWrapper) => {
86683
86652
  const text2 = cellWrapper && cellWrapper.getAttribute("data-copy-text");
86653
+ const jsonText = cellWrapper && cellWrapper.getAttribute("data-copy-json");
86684
86654
  const toRet = text2 || cellWrapper.textContent || "";
86685
- return toRet;
86655
+ return [toRet, jsonText];
86686
86656
  }, "getCellCopyText"));
86687
86657
  __publicField(this, "handleCopyRow", /* @__PURE__ */ __name((rowEl) => {
86688
86658
  const text2 = this.getRowCopyText(rowEl);
@@ -86690,13 +86660,26 @@ ${latestSubscriptionCallbackError.current.stack}
86690
86660
  return window.toastr.warning("No text to copy");
86691
86661
  this.handleCopyHelper(text2, "Row Copied");
86692
86662
  }, "handleCopyRow"));
86693
- __publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper) => {
86663
+ __publicField(this, "handleCopyColumn", /* @__PURE__ */ __name((e2, cellWrapper, selectedRecords) => {
86694
86664
  const cellType = cellWrapper.getAttribute("data-test");
86695
- const allRowEls = getAllRows(e2);
86696
- if (!allRowEls)
86665
+ let rowElsToCopy = getAllRows(e2);
86666
+ if (!rowElsToCopy)
86667
+ return;
86668
+ if (selectedRecords) {
86669
+ const ids = selectedRecords.map((e22) => {
86670
+ var _a2;
86671
+ return (_a2 = getIdOrCodeOrIndex(e22)) == null ? void 0 : _a2.toString();
86672
+ });
86673
+ rowElsToCopy = Array.from(rowElsToCopy).filter((rowEl) => {
86674
+ var _a2;
86675
+ const id2 = (_a2 = rowEl.closest(".rt-tr-group")) == null ? void 0 : _a2.getAttribute("data-test-id");
86676
+ return id2 !== void 0 && ids.includes(id2);
86677
+ });
86678
+ }
86679
+ if (!rowElsToCopy)
86697
86680
  return;
86698
86681
  const textToCopy = lodashExports.map(
86699
- allRowEls,
86682
+ rowElsToCopy,
86700
86683
  (rowEl) => this.getRowCopyText(rowEl, { cellType })
86701
86684
  ).filter((text2) => text2).join("\n");
86702
86685
  if (!textToCopy)
@@ -86737,9 +86720,10 @@ ${latestSubscriptionCallbackError.current.stack}
86737
86720
  return this.getCellCopyText(cellChild);
86738
86721
  }).join(" ");
86739
86722
  }, "getRowCopyText"));
86740
- __publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, message) => {
86723
+ __publicField(this, "handleCopyHelper", /* @__PURE__ */ __name((stringToCopy, objToCopy, message) => {
86741
86724
  const copyHandler = /* @__PURE__ */ __name((e2) => {
86742
86725
  e2.preventDefault();
86726
+ e2.clipboardData.setData("application/json", JSON.stringify(objToCopy));
86743
86727
  e2.clipboardData.setData("text/plain", stringToCopy);
86744
86728
  }, "copyHandler");
86745
86729
  document.addEventListener("copy", copyHandler);
@@ -87601,6 +87585,22 @@ ${latestSubscriptionCallbackError.current.stack}
87601
87585
  noEllipsis = true;
87602
87586
  } else {
87603
87587
  if (reduxFormEditingCell === cellId) {
87588
+ if (column.type === "genericSelect") {
87589
+ const GenericSelectComp = column.GenericSelectComp;
87590
+ return /* @__PURE__ */ React$2.createElement(
87591
+ GenericSelectComp,
87592
+ __spreadProps(__spreadValues({
87593
+ rowId,
87594
+ initialValue: text2
87595
+ }, dataTest), {
87596
+ finishEdit: (newVal2, doNotStopEditing) => {
87597
+ this.finishCellEdit(cellId, newVal2, doNotStopEditing);
87598
+ },
87599
+ dataTest,
87600
+ cancelEdit: this.cancelCellEdit
87601
+ })
87602
+ );
87603
+ }
87604
87604
  if (column.type === "dropdown" || column.type === "dropdownMulti") {
87605
87605
  return /* @__PURE__ */ React$2.createElement(
87606
87606
  DropdownCell,
@@ -87661,7 +87661,7 @@ ${latestSubscriptionCallbackError.current.stack}
87661
87661
  title: title || void 0
87662
87662
  }),
87663
87663
  val2
87664
- ), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti") && /* @__PURE__ */ React$2.createElement(
87664
+ ), isCellEditable && (column.type === "dropdown" || column.type === "dropdownMulti" || column.type === "genericSelect") && /* @__PURE__ */ React$2.createElement(
87665
87665
  Icon,
87666
87666
  {
87667
87667
  icon: "caret-down",
@@ -87804,7 +87804,7 @@ ${latestSubscriptionCallbackError.current.stack}
87804
87804
  const cellNumStr2 = getNumberStrAtEnd(cellVal);
87805
87805
  const cellNum2 = Number(cellNumStr2);
87806
87806
  const cellTextNoNum = stripNumberAtEnd(cellVal);
87807
- if (cellNumStr2.startsWith("0")) {
87807
+ if (cellNumStr2 == null ? void 0 : cellNumStr2.startsWith("0")) {
87808
87808
  maybePad = cellNumStr2.length;
87809
87809
  }
87810
87810
  if (cellTextNoNum && !prefix2) {
@@ -87951,16 +87951,19 @@ ${latestSubscriptionCallbackError.current.stack}
87951
87951
  return getIdOrCodeOrIndex(e2, i2) === rowId;
87952
87952
  });
87953
87953
  const insertIndex = above ? indexToInsert : indexToInsert + 1;
87954
- let { newEnts, validationErrors } = this.formatAndValidateEntities(newEntities);
87954
+ const insertIndexToUse = appendToBottom ? entities2.length : insertIndex;
87955
+ let { newEnts, validationErrors } = this.formatAndValidateEntities(
87956
+ newEntities,
87957
+ {
87958
+ useDefaultValues: true,
87959
+ indexToStartAt: insertIndexToUse
87960
+ }
87961
+ );
87955
87962
  newEnts = newEnts.map((e2) => __spreadProps(__spreadValues({}, e2), {
87956
87963
  _isClean: true
87957
87964
  }));
87958
87965
  this.updateValidation(entities2, __spreadValues(__spreadValues({}, reduxFormCellValidation), validationErrors));
87959
- entities2.splice(
87960
- appendToBottom ? entities2.length : insertIndex,
87961
- 0,
87962
- ...newEnts
87963
- );
87966
+ entities2.splice(insertIndexToUse, 0, ...newEnts);
87964
87967
  });
87965
87968
  this.refocusTable();
87966
87969
  }, "insertRows"));
@@ -88001,8 +88004,8 @@ ${latestSubscriptionCallbackError.current.stack}
88001
88004
  {
88002
88005
  key: "copyCell",
88003
88006
  onClick: () => {
88004
- const text2 = this.getCellCopyText(cellWrapper);
88005
- this.handleCopyHelper(text2, "Cell copied");
88007
+ const [text2, jsonText] = this.getCellCopyText(cellWrapper);
88008
+ this.handleCopyHelper(text2, jsonText, "Cell copied");
88006
88009
  },
88007
88010
  text: "Cell"
88008
88011
  }
@@ -88020,6 +88023,20 @@ ${latestSubscriptionCallbackError.current.stack}
88020
88023
  }
88021
88024
  )
88022
88025
  );
88026
+ if (selectedRecords.length > 1) {
88027
+ copyMenuItems.push(
88028
+ /* @__PURE__ */ React$2.createElement(
88029
+ MenuItem,
88030
+ {
88031
+ key: "copyColumnSelected",
88032
+ onClick: () => {
88033
+ this.handleCopyColumn(e2, cellWrapper, selectedRecords);
88034
+ },
88035
+ text: "Column (Selected)"
88036
+ }
88037
+ )
88038
+ );
88039
+ }
88023
88040
  }
88024
88041
  if (selectedRecords.length === 0 || selectedRecords.length === 1) {
88025
88042
  const cell = e2.target.querySelector(".tg-cell-wrapper") || e2.target.closest(".tg-cell-wrapper") || e2.target.closest(".rt-td");
@@ -89273,7 +89290,8 @@ ${latestSubscriptionCallbackError.current.stack}
89273
89290
  }
89274
89291
  __name(getNumberStrAtEnd, "getNumberStrAtEnd");
89275
89292
  function stripNumberAtEnd(str) {
89276
- return str.replace(getNumberStrAtEnd(str), "");
89293
+ var _a2;
89294
+ return (_a2 = str == null ? void 0 : str.replace) == null ? void 0 : _a2.call(str, getNumberStrAtEnd(str), "");
89277
89295
  }
89278
89296
  __name(stripNumberAtEnd, "stripNumberAtEnd");
89279
89297
  function isEntityClean(e2) {
@@ -91649,7 +91667,7 @@ ${latestSubscriptionCallbackError.current.stack}
91649
91667
  } = props;
91650
91668
  const rerenderKey = reactExports.useRef(0);
91651
91669
  rerenderKey.current = rerenderKey.current + 1;
91652
- const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row) => {
91670
+ const data = userSchema.userData && userSchema.userData.length && userSchema.userData.map((row, i2) => {
91653
91671
  const toRet = {
91654
91672
  _isClean: row._isClean
91655
91673
  };
@@ -91662,7 +91680,10 @@ ${latestSubscriptionCallbackError.current.stack}
91662
91680
  }
91663
91681
  if (toRet[path2] === void 0 || toRet[path2] === "") {
91664
91682
  if (defaultValue2) {
91665
- toRet[path2] = defaultValue2;
91683
+ if (lodashExports.isFunction(defaultValue2)) {
91684
+ toRet[path2] = defaultValue2(i2, row);
91685
+ } else
91686
+ toRet[path2] = defaultValue2;
91666
91687
  } else {
91667
91688
  toRet[path2] = "";
91668
91689
  }
@@ -101418,6 +101439,7 @@ ${latestSubscriptionCallbackError.current.stack}
101418
101439
  overflowList,
101419
101440
  autoUnzip,
101420
101441
  disabled,
101442
+ noBuildCsvOption,
101421
101443
  initializeForm,
101422
101444
  showFilesCount,
101423
101445
  threeDotMenuItems,
@@ -101596,12 +101618,14 @@ ${latestSubscriptionCallbackError.current.stack}
101596
101618
  subtext: "Includes Upload Instructions and Column Info",
101597
101619
  exampleFile: handleDownloadXlsxFile
101598
101620
  },
101599
- {
101600
- description: manualEnterMessage,
101601
- subtext: manualEnterSubMessage,
101602
- icon: "manually-entered-data",
101603
- exampleFile: handleManuallyEnterData
101604
- }
101621
+ ...noBuildCsvOption ? [] : [
101622
+ {
101623
+ description: manualEnterMessage,
101624
+ subtext: manualEnterSubMessage,
101625
+ icon: "manually-entered-data",
101626
+ exampleFile: handleManuallyEnterData
101627
+ }
101628
+ ]
101605
101629
  ];
101606
101630
  delete a2.exampleFile;
101607
101631
  }
@@ -102050,7 +102074,7 @@ ${latestSubscriptionCallbackError.current.stack}
102050
102074
  },
102051
102075
  innerIcon || /* @__PURE__ */ React$2.createElement(Icon, { icon: "upload", iconSize: minimal ? 15 : 30 }),
102052
102076
  innerText || (minimal ? "Upload" : "Click or drag to upload"),
102053
- validateAgainstSchema && /* @__PURE__ */ React$2.createElement(
102077
+ validateAgainstSchema && !noBuildCsvOption && /* @__PURE__ */ React$2.createElement(
102054
102078
  "div",
102055
102079
  {
102056
102080
  style: {
@@ -107816,7 +107840,7 @@ ${latestSubscriptionCallbackError.current.stack}
107816
107840
  }, Symbol.toStringTag, { value: "Module" }));
107817
107841
  const protein_letters = "ACDEFGHIKLMNPQRSTVWY";
107818
107842
  const protein_letters_withUandX = "ACDEFGHIKLMNPQRSTVWYUX";
107819
- const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO*";
107843
+ const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO";
107820
107844
  const ambiguous_dna_letters = "GATCRYWSMKHBVDN";
107821
107845
  const unambiguous_dna_letters = "GATC";
107822
107846
  const ambiguous_rna_letters = "GAUCRYWSMKHBVDN";
@@ -107872,7 +107896,7 @@ ${latestSubscriptionCallbackError.current.stack}
107872
107896
  Y: "Y",
107873
107897
  Z: "QE",
107874
107898
  "*": "\\*\\.",
107875
- ".": "\\.\\.",
107899
+ ".": "\\.",
107876
107900
  "-": "\\-"
107877
107901
  };
107878
107902
  const bioData = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -113979,9 +114003,12 @@ ${latestSubscriptionCallbackError.current.stack}
113979
114003
  isRna: isRna2,
113980
114004
  isMixedRnaAndDna
113981
114005
  } = {}) {
113982
- return isProtein2 ? {} : isOligo2 ? {} : isRna2 ? { t: "u" } : isMixedRnaAndDna ? {} : (
113983
- //just plain old dna
113984
- {}
114006
+ return isProtein2 ? {} : (
114007
+ // {".": "*"}
114008
+ isOligo2 ? {} : isRna2 ? { t: "u" } : isMixedRnaAndDna ? {} : (
114009
+ //just plain old dna
114010
+ {}
114011
+ )
113985
114012
  );
113986
114013
  }
113987
114014
  __name(getReplaceChars, "getReplaceChars");
@@ -155074,7 +155101,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
155074
155101
  }
155075
155102
  __name(showFileDialog, "showFileDialog");
155076
155103
  const name = "@teselagen/ove";
155077
- const version = "0.3.48";
155104
+ const version = "0.3.49";
155078
155105
  const main = "./src/index.js";
155079
155106
  const exports$1 = {
155080
155107
  ".": {