@teselagen/ove 0.0.3 → 0.0.5

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 +741 -690
  2. package/index.mjs +741 -690
  3. package/index.umd.js +626 -575
  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");
@@ -29325,20 +29325,19 @@ ${latestSubscriptionCallbackError.current.stack}
29325
29325
  _proto.shouldComponentUpdate = /* @__PURE__ */ __name(function shouldComponentUpdate(nextProps, nextState) {
29326
29326
  return shallowCompare$1(this, nextProps, nextState);
29327
29327
  }, "shouldComponentUpdate");
29328
- _proto.componentDidUpdate = /* @__PURE__ */ __name(function componentDidUpdate(prevProps) {
29329
- var _this3 = this;
29330
- var oldName = prefixName(prevProps, prevProps.name);
29331
- var newName = prefixName(this.props, this.props.name);
29328
+ _proto.UNSAFE_componentWillReceiveProps = /* @__PURE__ */ __name(function UNSAFE_componentWillReceiveProps(nextProps) {
29329
+ var oldName = prefixName(this.props, this.props.name);
29330
+ var newName = prefixName(nextProps, nextProps.name);
29332
29331
  if (oldName !== newName || // use deepEqual here because they could be a function or an array of functions
29333
- !plain.deepEqual(prevProps.validate, this.props.validate) || !plain.deepEqual(prevProps.warn, this.props.warn)) {
29332
+ !plain.deepEqual(this.props.validate, nextProps.validate) || !plain.deepEqual(this.props.warn, nextProps.warn)) {
29334
29333
  this.props._reduxForm.unregister(oldName);
29335
29334
  this.props._reduxForm.register(newName, "Field", function() {
29336
- return _this3.props.validate;
29335
+ return nextProps.validate;
29337
29336
  }, function() {
29338
- return _this3.props.warn;
29337
+ return nextProps.warn;
29339
29338
  });
29340
29339
  }
29341
- }, "componentDidUpdate");
29340
+ }, "UNSAFE_componentWillReceiveProps");
29342
29341
  _proto.componentWillUnmount = /* @__PURE__ */ __name(function componentWillUnmount() {
29343
29342
  this.props._reduxForm.unregister(this.name);
29344
29343
  }, "componentWillUnmount");
@@ -30311,14 +30310,14 @@ ${latestSubscriptionCallbackError.current.stack}
30311
30310
  return wrapError(_this2.props.warn, "_warning");
30312
30311
  });
30313
30312
  }, "componentDidMount");
30314
- _proto.componentDidUpdate = /* @__PURE__ */ __name(function componentDidUpdate(prevProps) {
30315
- var oldName = prefixName(prevProps, prevProps.name);
30316
- var newName = prefixName(this.props, this.props.name);
30313
+ _proto.UNSAFE_componentWillReceiveProps = /* @__PURE__ */ __name(function UNSAFE_componentWillReceiveProps(nextProps) {
30314
+ var oldName = prefixName(this.props, this.props.name);
30315
+ var newName = prefixName(nextProps, nextProps.name);
30317
30316
  if (oldName !== newName) {
30318
30317
  this.props._reduxForm.unregister(oldName);
30319
30318
  this.props._reduxForm.register(newName, "FieldArray");
30320
30319
  }
30321
- }, "componentDidUpdate");
30320
+ }, "UNSAFE_componentWillReceiveProps");
30322
30321
  _proto.componentWillUnmount = /* @__PURE__ */ __name(function componentWillUnmount() {
30323
30322
  this.props._reduxForm.unregister(this.name);
30324
30323
  }, "componentWillUnmount");
@@ -31013,8 +31012,8 @@ ${latestSubscriptionCallbackError.current.stack}
31013
31012
  }, "getDisplayName");
31014
31013
  const getDisplayName$3 = getDisplayName$2;
31015
31014
  var isHotReloading = /* @__PURE__ */ __name(function isHotReloading2() {
31016
- var castModule = typeof module !== "undefined" && module;
31017
- return !!(castModule && castModule.hot && typeof castModule.hot.status === "function" && castModule.hot.status() === "apply");
31015
+ var castModule = module;
31016
+ return !!(typeof castModule !== "undefined" && castModule.hot && typeof castModule.hot.status === "function" && castModule.hot.status() === "apply");
31018
31017
  }, "isHotReloading");
31019
31018
  const isHotReloading$1 = isHotReloading;
31020
31019
  var isClassComponent = /* @__PURE__ */ __name(function isClassComponent2(Component) {
@@ -31081,7 +31080,6 @@ ${latestSubscriptionCallbackError.current.stack}
31081
31080
  _this.lastFieldWarnerKeys = [];
31082
31081
  _this.innerOnSubmit = void 0;
31083
31082
  _this.submitPromise = void 0;
31084
- _this.initializedOnLoad = false;
31085
31083
  _this.initIfNeeded = function(nextProps) {
31086
31084
  var enableReinitialize = _this.props.enableReinitialize;
31087
31085
  if (nextProps) {
@@ -31092,16 +31090,13 @@ ${latestSubscriptionCallbackError.current.stack}
31092
31090
  lastInitialValues: _this.props.initialValues,
31093
31091
  updateUnregisteredFields: nextProps.updateUnregisteredFields
31094
31092
  });
31095
- return true;
31096
31093
  }
31097
31094
  } else if (_this.props.initialValues && (!_this.props.initialized || enableReinitialize)) {
31098
31095
  _this.props.initialize(_this.props.initialValues, _this.props.keepDirtyOnReinitialize, {
31099
31096
  keepValues: _this.props.keepValues,
31100
31097
  updateUnregisteredFields: _this.props.updateUnregisteredFields
31101
31098
  });
31102
- return true;
31103
31099
  }
31104
- return false;
31105
31100
  };
31106
31101
  _this.updateSyncErrorsIfNeeded = function(nextSyncErrors, nextError, lastSyncErrors) {
31107
31102
  var _this$props = _this.props, error2 = _this$props.error, updateSyncErrors2 = _this$props.updateSyncErrors;
@@ -31371,18 +31366,20 @@ ${latestSubscriptionCallbackError.current.stack}
31371
31366
  _this.reset = function() {
31372
31367
  return _this.props.reset();
31373
31368
  };
31374
- if (!isHotReloading$1()) {
31375
- _this.initializedOnLoad = _this.initIfNeeded();
31376
- }
31377
- invariant$4(_this.props.shouldValidate, "shouldValidate() is deprecated and will be removed in v9.0.0. Use shouldWarn() or shouldError() instead.");
31378
31369
  return _this;
31379
31370
  }
31380
31371
  __name(Form2, "Form");
31381
31372
  var _proto = Form2.prototype;
31373
+ _proto.UNSAFE_componentWillMount = /* @__PURE__ */ __name(function UNSAFE_componentWillMount() {
31374
+ if (!isHotReloading$1()) {
31375
+ this.initIfNeeded();
31376
+ this.validateIfNeeded();
31377
+ this.warnIfNeeded();
31378
+ }
31379
+ invariant$4(this.props.shouldValidate, "shouldValidate() is deprecated and will be removed in v9.0.0. Use shouldWarn() or shouldError() instead.");
31380
+ }, "UNSAFE_componentWillMount");
31382
31381
  _proto.UNSAFE_componentWillReceiveProps = /* @__PURE__ */ __name(function UNSAFE_componentWillReceiveProps(nextProps) {
31383
- var isValueReset = this.initIfNeeded(nextProps);
31384
- if (isValueReset)
31385
- return;
31382
+ this.initIfNeeded(nextProps);
31386
31383
  this.validateIfNeeded(nextProps);
31387
31384
  this.warnIfNeeded(nextProps);
31388
31385
  this.clearSubmitPromiseIfNeeded(nextProps);
@@ -31406,8 +31403,7 @@ ${latestSubscriptionCallbackError.current.stack}
31406
31403
  }, "shouldComponentUpdate");
31407
31404
  _proto.componentDidMount = /* @__PURE__ */ __name(function componentDidMount() {
31408
31405
  if (!isHotReloading$1()) {
31409
- if (this.initializedOnLoad)
31410
- return;
31406
+ this.initIfNeeded(this.props);
31411
31407
  this.validateIfNeeded();
31412
31408
  this.warnIfNeeded();
31413
31409
  }
@@ -39183,7 +39179,7 @@ ${latestSubscriptionCallbackError.current.stack}
39183
39179
  })));
39184
39180
  }
39185
39181
  __name(SimpleStepViz, "SimpleStepViz");
39186
- const tgFormValues$1 = /* @__PURE__ */ __name((...fieldNames) => (Component) => (props) => {
39182
+ const tgFormValues = /* @__PURE__ */ __name((...fieldNames) => (Component) => (props) => {
39187
39183
  return /* @__PURE__ */ React$3.createElement(FormName$1, null, (formName) => {
39188
39184
  const name2 = formName.form;
39189
39185
  const Wrapped = React$3.useMemo(() => {
@@ -39199,7 +39195,7 @@ ${latestSubscriptionCallbackError.current.stack}
39199
39195
  }, [name2]);
39200
39196
  return /* @__PURE__ */ React$3.createElement(Wrapped, __spreadValues({}, props));
39201
39197
  });
39202
- }, "tgFormValues$1");
39198
+ }, "tgFormValues");
39203
39199
  const tgFormValueSelector = /* @__PURE__ */ __name((formName, ...fields) => {
39204
39200
  return connect((state2) => {
39205
39201
  return formValueSelector(formName)(state2, ...fields);
@@ -39362,17 +39358,17 @@ ${latestSubscriptionCallbackError.current.stack}
39362
39358
  return val2;
39363
39359
  throw TypeError("Can't convert object to primitive value");
39364
39360
  }, "_toPrimitive$1");
39365
- var anObject$3 = _anObject;
39361
+ var anObject$5 = _anObject;
39366
39362
  var IE8_DOM_DEFINE$1 = _ie8DomDefine;
39367
39363
  var toPrimitive$2 = _toPrimitive$1;
39368
- var dP$2 = Object.defineProperty;
39364
+ var dP$3 = Object.defineProperty;
39369
39365
  _objectDp.f = _descriptors ? Object.defineProperty : /* @__PURE__ */ __name(function defineProperty2(O2, P2, Attributes) {
39370
- anObject$3(O2);
39366
+ anObject$5(O2);
39371
39367
  P2 = toPrimitive$2(P2, true);
39372
- anObject$3(Attributes);
39368
+ anObject$5(Attributes);
39373
39369
  if (IE8_DOM_DEFINE$1)
39374
39370
  try {
39375
- return dP$2(O2, P2, Attributes);
39371
+ return dP$3(O2, P2, Attributes);
39376
39372
  } catch (e2) {
39377
39373
  }
39378
39374
  if ("get" in Attributes || "set" in Attributes)
@@ -39389,10 +39385,10 @@ ${latestSubscriptionCallbackError.current.stack}
39389
39385
  value
39390
39386
  };
39391
39387
  }, "_propertyDesc");
39392
- var dP$1 = _objectDp;
39388
+ var dP$2 = _objectDp;
39393
39389
  var createDesc$3 = _propertyDesc;
39394
39390
  var _hide = _descriptors ? function(object2, key2, value) {
39395
- return dP$1.f(object2, key2, createDesc$3(1, value));
39391
+ return dP$2.f(object2, key2, createDesc$3(1, value));
39396
39392
  } : function(object2, key2, value) {
39397
39393
  object2[key2] = value;
39398
39394
  return object2;
@@ -39406,7 +39402,7 @@ ${latestSubscriptionCallbackError.current.stack}
39406
39402
  var ctx$1 = _ctx;
39407
39403
  var hide$2 = _hide;
39408
39404
  var has$d = _has;
39409
- var PROTOTYPE$1 = "prototype";
39405
+ var PROTOTYPE$2 = "prototype";
39410
39406
  var $export$8 = /* @__PURE__ */ __name(function(type2, name2, source2) {
39411
39407
  var IS_FORCED = type2 & $export$8.F;
39412
39408
  var IS_GLOBAL = type2 & $export$8.G;
@@ -39415,8 +39411,8 @@ ${latestSubscriptionCallbackError.current.stack}
39415
39411
  var IS_BIND = type2 & $export$8.B;
39416
39412
  var IS_WRAP = type2 & $export$8.W;
39417
39413
  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];
39414
+ var expProto = exports3[PROTOTYPE$2];
39415
+ var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name2] : (global$4[name2] || {})[PROTOTYPE$2];
39420
39416
  var key2, own2, out;
39421
39417
  if (IS_GLOBAL)
39422
39418
  source2 = name2;
@@ -39440,7 +39436,7 @@ ${latestSubscriptionCallbackError.current.stack}
39440
39436
  }
39441
39437
  return C.apply(this, arguments);
39442
39438
  }, "F");
39443
- F2[PROTOTYPE$1] = C[PROTOTYPE$1];
39439
+ F2[PROTOTYPE$2] = C[PROTOTYPE$2];
39444
39440
  return F2;
39445
39441
  }(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
39446
39442
  if (IS_PROTO) {
@@ -39545,14 +39541,14 @@ ${latestSubscriptionCallbackError.current.stack}
39545
39541
  var has$c = _has;
39546
39542
  var toIObject$4 = _toIobject;
39547
39543
  var arrayIndexOf$1 = _arrayIncludes$1(false);
39548
- var IE_PROTO$1 = _sharedKey("IE_PROTO");
39544
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
39549
39545
  var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
39550
39546
  var O2 = toIObject$4(object2);
39551
39547
  var i2 = 0;
39552
39548
  var result = [];
39553
39549
  var key2;
39554
39550
  for (key2 in O2)
39555
- if (key2 != IE_PROTO$1)
39551
+ if (key2 != IE_PROTO$2)
39556
39552
  has$c(O2, key2) && result.push(key2);
39557
39553
  while (names2.length > i2)
39558
39554
  if (has$c(O2, key2 = names2[i2++])) {
@@ -39561,23 +39557,15 @@ ${latestSubscriptionCallbackError.current.stack}
39561
39557
  return result;
39562
39558
  }, "_objectKeysInternal");
39563
39559
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
39564
- var $keys$2 = _objectKeysInternal;
39565
- var enumBugKeys = _enumBugKeys;
39560
+ var $keys$3 = _objectKeysInternal;
39561
+ var enumBugKeys$1 = _enumBugKeys;
39566
39562
  var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys2(O2) {
39567
- return $keys$2(O2, enumBugKeys);
39563
+ return $keys$3(O2, enumBugKeys$1);
39568
39564
  }, "keys");
39569
39565
  var _objectGops = {};
39570
39566
  _objectGops.f = Object.getOwnPropertySymbols;
39571
39567
  var _objectPie = {};
39572
- var hasRequired_objectPie;
39573
- function require_objectPie() {
39574
- if (hasRequired_objectPie)
39575
- return _objectPie;
39576
- hasRequired_objectPie = 1;
39577
- _objectPie.f = {}.propertyIsEnumerable;
39578
- return _objectPie;
39579
- }
39580
- __name(require_objectPie, "require_objectPie");
39568
+ _objectPie.f = {}.propertyIsEnumerable;
39581
39569
  var defined$1 = _defined;
39582
39570
  var _toObject = /* @__PURE__ */ __name(function(it) {
39583
39571
  return Object(defined$1(it));
@@ -39591,7 +39579,7 @@ ${latestSubscriptionCallbackError.current.stack}
39591
39579
  var DESCRIPTORS2 = _descriptors;
39592
39580
  var getKeys2 = _objectKeys;
39593
39581
  var gOPS2 = _objectGops;
39594
- var pIE2 = require_objectPie();
39582
+ var pIE2 = _objectPie;
39595
39583
  var toObject2 = _toObject;
39596
39584
  var IObject2 = _iobject;
39597
39585
  var $assign = Object.assign;
@@ -39654,28 +39642,19 @@ ${latestSubscriptionCallbackError.current.stack}
39654
39642
  }, "_iterStep");
39655
39643
  var _iterators = {};
39656
39644
  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");
39645
+ var dP$1 = _objectDp;
39646
+ var anObject$4 = _anObject;
39647
+ var getKeys$1 = _objectKeys;
39648
+ var _objectDps = _descriptors ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties2) {
39649
+ anObject$4(O2);
39650
+ var keys2 = getKeys$1(Properties2);
39651
+ var length = keys2.length;
39652
+ var i2 = 0;
39653
+ var P2;
39654
+ while (length > i2)
39655
+ dP$1.f(O2, P2 = keys2[i2++], Properties2[P2]);
39656
+ return O2;
39657
+ }, "defineProperties");
39679
39658
  var _html;
39680
39659
  var hasRequired_html;
39681
39660
  function require_html() {
@@ -39687,51 +39666,42 @@ ${latestSubscriptionCallbackError.current.stack}
39687
39666
  return _html;
39688
39667
  }
39689
39668
  __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");
39669
+ var anObject$3 = _anObject;
39670
+ var dPs = _objectDps;
39671
+ var enumBugKeys = _enumBugKeys;
39672
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
39673
+ var Empty = /* @__PURE__ */ __name(function() {
39674
+ }, "Empty");
39675
+ var PROTOTYPE$1 = "prototype";
39676
+ var createDict = /* @__PURE__ */ __name(function() {
39677
+ var iframe = require_domCreate()("iframe");
39678
+ var i2 = enumBugKeys.length;
39679
+ var lt = "<";
39680
+ var gt = ">";
39681
+ var iframeDocument;
39682
+ iframe.style.display = "none";
39683
+ require_html().appendChild(iframe);
39684
+ iframe.src = "javascript:";
39685
+ iframeDocument = iframe.contentWindow.document;
39686
+ iframeDocument.open();
39687
+ iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
39688
+ iframeDocument.close();
39689
+ createDict = iframeDocument.F;
39690
+ while (i2--)
39691
+ delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
39692
+ return createDict();
39693
+ }, "createDict");
39694
+ var _objectCreate = Object.create || /* @__PURE__ */ __name(function create2(O2, Properties2) {
39695
+ var result;
39696
+ if (O2 !== null) {
39697
+ Empty[PROTOTYPE$1] = anObject$3(O2);
39698
+ result = new Empty();
39699
+ Empty[PROTOTYPE$1] = null;
39700
+ result[IE_PROTO$1] = O2;
39701
+ } else
39702
+ result = createDict();
39703
+ return Properties2 === void 0 ? result : dPs(result, Properties2);
39704
+ }, "create");
39735
39705
  var _wks = { exports: {} };
39736
39706
  var store$2 = _sharedExports("wks");
39737
39707
  var uid$1 = _uid;
@@ -39749,7 +39719,7 @@ ${latestSubscriptionCallbackError.current.stack}
39749
39719
  if (it && !has$b(it = stat ? it : it.prototype, TAG$1))
39750
39720
  def(it, TAG$1, { configurable: true, value: tag });
39751
39721
  }, "_setToStringTag");
39752
- var create$4 = require_objectCreate();
39722
+ var create$4 = _objectCreate;
39753
39723
  var descriptor = _propertyDesc;
39754
39724
  var setToStringTag$2 = _setToStringTag;
39755
39725
  var IteratorPrototype = {};
@@ -40246,7 +40216,7 @@ ${latestSubscriptionCallbackError.current.stack}
40246
40216
  }, "_wksDefine");
40247
40217
  var getKeys = _objectKeys;
40248
40218
  var gOPS$1 = _objectGops;
40249
- var pIE$1 = require_objectPie();
40219
+ var pIE$1 = _objectPie;
40250
40220
  var _enumKeys = /* @__PURE__ */ __name(function(it) {
40251
40221
  var result = getKeys(it);
40252
40222
  var getSymbols2 = gOPS$1.f;
@@ -40267,21 +40237,13 @@ ${latestSubscriptionCallbackError.current.stack}
40267
40237
  }, "isArray");
40268
40238
  var _objectGopnExt = {};
40269
40239
  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");
40240
+ var $keys$2 = _objectKeysInternal;
40241
+ var hiddenKeys = _enumBugKeys.concat("length", "prototype");
40242
+ _objectGopn.f = Object.getOwnPropertyNames || /* @__PURE__ */ __name(function getOwnPropertyNames2(O2) {
40243
+ return $keys$2(O2, hiddenKeys);
40244
+ }, "getOwnPropertyNames");
40283
40245
  var toIObject$2 = _toIobject;
40284
- var gOPN$1 = require_objectGopn().f;
40246
+ var gOPN$1 = _objectGopn.f;
40285
40247
  var toString$3 = {}.toString;
40286
40248
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
40287
40249
  var getWindowNames = /* @__PURE__ */ __name(function(it) {
@@ -40295,7 +40257,7 @@ ${latestSubscriptionCallbackError.current.stack}
40295
40257
  return windowNames && toString$3.call(it) == "[object Window]" ? getWindowNames(it) : gOPN$1(toIObject$2(it));
40296
40258
  }, "getOwnPropertyNames");
40297
40259
  var _objectGopd = {};
40298
- var pIE = require_objectPie();
40260
+ var pIE = _objectPie;
40299
40261
  var createDesc$1 = _propertyDesc;
40300
40262
  var toIObject$1 = _toIobject;
40301
40263
  var toPrimitive$1 = _toPrimitive$1;
@@ -40334,7 +40296,7 @@ ${latestSubscriptionCallbackError.current.stack}
40334
40296
  var toIObject = _toIobject;
40335
40297
  var toPrimitive = _toPrimitive$1;
40336
40298
  var createDesc = _propertyDesc;
40337
- var _create$1 = require_objectCreate();
40299
+ var _create$1 = _objectCreate;
40338
40300
  var gOPNExt = _objectGopnExt;
40339
40301
  var $GOPD = _objectGopd;
40340
40302
  var $GOPS = _objectGops;
@@ -40474,8 +40436,8 @@ ${latestSubscriptionCallbackError.current.stack}
40474
40436
  }, "toString"));
40475
40437
  $GOPD.f = $getOwnPropertyDescriptor;
40476
40438
  $DP.f = $defineProperty;
40477
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
40478
- require_objectPie().f = $propertyIsEnumerable;
40439
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
40440
+ _objectPie.f = $propertyIsEnumerable;
40479
40441
  $GOPS.f = $getOwnPropertySymbols;
40480
40442
  if (DESCRIPTORS && !_library) {
40481
40443
  redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable);
@@ -40641,7 +40603,7 @@ ${latestSubscriptionCallbackError.current.stack}
40641
40603
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
40642
40604
  var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
40643
40605
  var $export = _export;
40644
- $export($export.S, "Object", { create: require_objectCreate() });
40606
+ $export($export.S, "Object", { create: _objectCreate });
40645
40607
  var $Object = _coreExports.Object;
40646
40608
  var create$3 = /* @__PURE__ */ __name(function create2(P2, D2) {
40647
40609
  return $Object.create(P2, D2);
@@ -80808,7 +80770,7 @@ ${latestSubscriptionCallbackError.current.stack}
80808
80770
  }),
80809
80771
  branch((props) => !props.noForm, reduxForm({})),
80810
80772
  //the formName is passed via withTableParams and is often user overridden
80811
- tgFormValues$1(
80773
+ tgFormValues(
80812
80774
  "localStorageForceUpdate",
80813
80775
  "reduxFormQueryParams",
80814
80776
  "reduxFormSearchInput",
@@ -120206,6 +120168,9 @@ ${latestSubscriptionCallbackError.current.stack}
120206
120168
  options.isProtein = false;
120207
120169
  }
120208
120170
  options.sequenceTypeFromLocus = item;
120171
+ if (item.match(/ss-dna/i)) {
120172
+ options.isSingleStrandedDNA = true;
120173
+ }
120209
120174
  }
120210
120175
  if (typeof lineArr[j2] === "string" && gbDivisions[lineArr[j2].toUpperCase()]) {
120211
120176
  gbDivision = lineArr[j2].toUpperCase();
@@ -120216,6 +120181,7 @@ ${latestSubscriptionCallbackError.current.stack}
120216
120181
  }
120217
120182
  result.parsedSequence.gbDivision = gbDivision;
120218
120183
  result.parsedSequence.sequenceTypeFromLocus = options.sequenceTypeFromLocus;
120184
+ result.parsedSequence.isSingleStrandedDNA = options.isSingleStrandedDNA;
120219
120185
  result.parsedSequence.date = date;
120220
120186
  result.parsedSequence.circular = circular2;
120221
120187
  }
@@ -132236,6 +132202,7 @@ ${seq.sequence}
132236
132202
  }
132237
132203
  __name(jsonToGenbank, "jsonToGenbank");
132238
132204
  function createGenbankLocus(serSeq, options) {
132205
+ var _a2;
132239
132206
  if (serSeq.sequence.symbols) {
132240
132207
  serSeq.sequence = serSeq.sequence.symbols.split("");
132241
132208
  }
@@ -132246,7 +132213,7 @@ ${seq.sequence}
132246
132213
  } else if (serSeq.type === "RNA") {
132247
132214
  dnaType = "RNA";
132248
132215
  } else {
132249
- dnaType = "DNA";
132216
+ dnaType = (_a2 = serSeq == null ? void 0 : serSeq.sequenceTypeFromLocus) != null ? _a2 : "DNA";
132250
132217
  }
132251
132218
  const date = getCurrentDateString();
132252
132219
  let line = StringUtil.rpad("LOCUS", " ", 12);
@@ -135786,6 +135753,7 @@ ${seq.sequence}
135786
135753
  }
135787
135754
  __name(showAddOrEditAnnotationDialog, "showAddOrEditAnnotationDialog");
135788
135755
  function updateEditor(store2, editorName, initialValues2 = {}, extraMeta = {}, { convertAnnotationsFromAAIndices } = {}) {
135756
+ var _a2;
135789
135757
  const {
135790
135758
  sequenceData: sequenceData2,
135791
135759
  annotationVisibility: annotationVisibility2,
@@ -135797,7 +135765,9 @@ ${seq.sequence}
135797
135765
  const isAlreadyProteinEditor = currentEditor.sequenceData && currentEditor.sequenceData.isProtein;
135798
135766
  const isAlreadyRnaEditor = currentEditor.sequenceData && currentEditor.sequenceData.isRna;
135799
135767
  const isAlreadyOligoEditor = currentEditor.sequenceData && currentEditor.sequenceData.isOligo;
135800
- const isAlreadySpecialEditor = isAlreadyProteinEditor || isAlreadyRnaEditor || isAlreadyOligoEditor;
135768
+ const reverseSequenceShouldBeUpdate = ((_a2 = currentEditor.sequenceData) == null ? void 0 : _a2.isSingleStrandedDNA) !== (sequenceData2 == null ? void 0 : sequenceData2.isSingleStrandedDNA);
135769
+ const annotationVisibilityUpdated = !lodashExports.isEqual(annotationVisibility2, currentEditor.annotationVisibility) || !lodashExports.isEqual(annotationsToSupport2, currentEditor.annotationsToSupport);
135770
+ const isAlreadySpecialEditor = isAlreadyProteinEditor || isAlreadyRnaEditor || isAlreadyOligoEditor || reverseSequenceShouldBeUpdate || annotationVisibilityUpdated;
135801
135771
  let toSpread = {};
135802
135772
  let payload;
135803
135773
  if (justPassingPartialSeqData) {
@@ -135903,7 +135873,7 @@ ${seq.sequence}
135903
135873
  }, annotationVisibility2), {
135904
135874
  //we spread this here to allow the user to override this .. if they must!
135905
135875
  sequence: true,
135906
- reverseSequence: true,
135876
+ reverseSequence: !(sequenceData2 == null ? void 0 : sequenceData2.isSingleStrandedDNA),
135907
135877
  translations: false,
135908
135878
  aminoAcidNumbers: false,
135909
135879
  primaryProteinSequence: false
@@ -137237,7 +137207,12 @@ ${seq.sequence}
137237
137207
 
137238
137208
  %c👷‍ This is a development only message. It will be removed in production builds.
137239
137209
  `), "getDevMessage");
137240
- const getFormattedMessage = /* @__PURE__ */ __name((message) => [getDevMessage(message), "color: #00C584; font-size: 1.2em; font-weight: bold;", "line-height: 1.5", "color: #723874;"], "getFormattedMessage");
137210
+ const getFormattedMessage = /* @__PURE__ */ __name((message) => [
137211
+ getDevMessage(message),
137212
+ "color: #00C584; font-size: 1.2em; font-weight: bold;",
137213
+ "line-height: 1.5",
137214
+ "color: #723874;"
137215
+ ], "getFormattedMessage");
137241
137216
  const isDisabledFlag = "__@hello-pangea/dnd-disable-dev-warnings";
137242
137217
  function log$2(type2, message) {
137243
137218
  if (isProduction$1) {
@@ -138063,7 +138038,11 @@ ${seq.sequence}
138063
138038
  moveRelativeTo,
138064
138039
  isMoving
138065
138040
  } = _ref;
138066
- return patch(axis.line, moveRelativeTo.marginBox[axis.end] + distanceFromStartToBorderBoxCenter(axis, isMoving), getCrossAxisBorderBoxCenter(axis, moveRelativeTo.marginBox, isMoving));
138041
+ return patch(
138042
+ axis.line,
138043
+ moveRelativeTo.marginBox[axis.end] + distanceFromStartToBorderBoxCenter(axis, isMoving),
138044
+ getCrossAxisBorderBoxCenter(axis, moveRelativeTo.marginBox, isMoving)
138045
+ );
138067
138046
  }, "goAfter");
138068
138047
  const goBefore = /* @__PURE__ */ __name((_ref2) => {
138069
138048
  let {
@@ -138071,7 +138050,11 @@ ${seq.sequence}
138071
138050
  moveRelativeTo,
138072
138051
  isMoving
138073
138052
  } = _ref2;
138074
- return patch(axis.line, moveRelativeTo.marginBox[axis.start] - distanceFromEndToBorderBoxCenter(axis, isMoving), getCrossAxisBorderBoxCenter(axis, moveRelativeTo.marginBox, isMoving));
138053
+ return patch(
138054
+ axis.line,
138055
+ moveRelativeTo.marginBox[axis.start] - distanceFromEndToBorderBoxCenter(axis, isMoving),
138056
+ getCrossAxisBorderBoxCenter(axis, moveRelativeTo.marginBox, isMoving)
138057
+ );
138075
138058
  }, "goBefore");
138076
138059
  const goIntoStart = /* @__PURE__ */ __name((_ref3) => {
138077
138060
  let {
@@ -138248,7 +138231,11 @@ ${seq.sequence}
138248
138231
  });
138249
138232
  const invisible = {};
138250
138233
  const visible = {};
138251
- const groups = [last2, withViewportScroll, withDroppableScroll2];
138234
+ const groups = [
138235
+ last2,
138236
+ withViewportScroll,
138237
+ withDroppableScroll2
138238
+ ];
138252
138239
  last2.all.forEach((id2) => {
138253
138240
  const displacement = tryGetVisible(id2, groups);
138254
138241
  if (displacement) {
@@ -138605,7 +138592,9 @@ ${seq.sequence}
138605
138592
  });
138606
138593
  return isVisibleInNewLocation ? proposed : null;
138607
138594
  }
138608
- const isGoingBeforeTarget = Boolean(previousPageBorderBoxCenter[destination.axis.line] <= moveRelativeTo.page.borderBox.center[destination.axis.line]);
138595
+ const isGoingBeforeTarget = Boolean(
138596
+ previousPageBorderBoxCenter[destination.axis.line] <= moveRelativeTo.page.borderBox.center[destination.axis.line]
138597
+ );
138609
138598
  const proposedIndex = (() => {
138610
138599
  const relativeTo = moveRelativeTo.descriptor.index;
138611
138600
  if (moveRelativeTo.descriptor.id === draggable2.descriptor.id) {
@@ -138768,7 +138757,11 @@ ${seq.sequence}
138768
138757
  const startCenter = draggable2.page.borderBox.center;
138769
138758
  const sorted = candidates.map((candidate) => {
138770
138759
  const axis = candidate.axis;
138771
- const target = patch(candidate.axis.line, pageBorderBox.center[axis.line], candidate.page.borderBox.center[axis.crossAxisLine]);
138760
+ const target = patch(
138761
+ candidate.axis.line,
138762
+ pageBorderBox.center[axis.line],
138763
+ candidate.page.borderBox.center[axis.crossAxisLine]
138764
+ );
138772
138765
  return {
138773
138766
  id: candidate.descriptor.id,
138774
138767
  distance: distance$1(startCenter, target)
@@ -140503,7 +140496,19 @@ ${seq.sequence}
140503
140496
  announce,
140504
140497
  autoScroller
140505
140498
  } = _ref;
140506
- return createStore$2(reducer, composeEnhancers(applyMiddleware(style$n(styleMarshal), dimensionMarshalStopper(dimensionMarshal), lift(dimensionMarshal), drop, dropAnimationFinish, dropAnimationFlushOnScroll, pendingDrop$1, autoScroll(autoScroller), scrollListener$1, focus(focusMarshal), responders(getResponders, announce))));
140499
+ return createStore$2(reducer, composeEnhancers(applyMiddleware(
140500
+ style$n(styleMarshal),
140501
+ dimensionMarshalStopper(dimensionMarshal),
140502
+ lift(dimensionMarshal),
140503
+ drop,
140504
+ dropAnimationFinish,
140505
+ dropAnimationFlushOnScroll,
140506
+ pendingDrop$1,
140507
+ autoScroll(autoScroller),
140508
+ scrollListener$1,
140509
+ focus(focusMarshal),
140510
+ responders(getResponders, announce)
140511
+ )));
140507
140512
  }, "createStore$1");
140508
140513
  const clean$1 = /* @__PURE__ */ __name(() => ({
140509
140514
  additions: {},
@@ -140530,7 +140535,9 @@ ${seq.sequence}
140530
140535
  removals,
140531
140536
  modified
140532
140537
  } = staging;
140533
- const added = Object.keys(additions).map((id2) => registry.draggable.getById(id2).getDimension(origin)).sort((a2, b3) => a2.descriptor.index - b3.descriptor.index);
140538
+ const added = Object.keys(additions).map(
140539
+ (id2) => registry.draggable.getById(id2).getDimension(origin)
140540
+ ).sort((a2, b3) => a2.descriptor.index - b3.descriptor.index);
140534
140541
  const updated = Object.keys(modified).map((id2) => {
140535
140542
  const entry = registry.droppable.getById(id2);
140536
140543
  const scroll2 = entry.callbacks.getScrollWhileDragging();
@@ -140589,13 +140596,16 @@ ${seq.sequence}
140589
140596
  height: height2,
140590
140597
  width
140591
140598
  } = _ref;
140592
- const maxScroll = subtract({
140593
- x: scrollWidth,
140594
- y: scrollHeight
140595
- }, {
140596
- x: width,
140597
- y: height2
140598
- });
140599
+ const maxScroll = subtract(
140600
+ {
140601
+ x: scrollWidth,
140602
+ y: scrollHeight
140603
+ },
140604
+ {
140605
+ x: width,
140606
+ y: height2
140607
+ }
140608
+ );
140599
140609
  const adjustedMaxScroll = {
140600
140610
  x: Math.max(0, maxScroll.x),
140601
140611
  y: Math.max(0, maxScroll.y)
@@ -141512,11 +141522,14 @@ ${seq.sequence}
141512
141522
  const styles2 = useMemo(() => getStyles$1(contextId), [contextId]);
141513
141523
  const alwaysRef = React$3.useRef(null);
141514
141524
  const dynamicRef = React$3.useRef(null);
141515
- const setDynamicStyle = useCallback(memoizeOne((proposed) => {
141516
- const el = dynamicRef.current;
141517
- !el ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
141518
- el.textContent = proposed;
141519
- }), []);
141525
+ const setDynamicStyle = useCallback(
141526
+ memoizeOne((proposed) => {
141527
+ const el = dynamicRef.current;
141528
+ !el ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
141529
+ el.textContent = proposed;
141530
+ }),
141531
+ []
141532
+ );
141520
141533
  const setAlwaysStyle = useCallback((proposed) => {
141521
141534
  const el = alwaysRef.current;
141522
141535
  !el ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot set dynamic style element if it is not set") : invariant$1(false) : void 0;
@@ -141572,8 +141585,8 @@ ${seq.sequence}
141572
141585
  }
141573
141586
  __name(querySelectorAll, "querySelectorAll");
141574
141587
  var getWindowFromEl = /* @__PURE__ */ __name((el) => {
141575
- var _a2;
141576
- return ((_a2 = el == null ? void 0 : el.ownerDocument) == null ? void 0 : _a2.defaultView) || window;
141588
+ var _el$ownerDocument;
141589
+ return (el == null ? void 0 : (_el$ownerDocument = el.ownerDocument) == null ? void 0 : _el$ownerDocument.defaultView) || window;
141577
141590
  }, "getWindowFromEl");
141578
141591
  function isHtmlElement(el) {
141579
141592
  return el instanceof getWindowFromEl(el).HTMLElement;
@@ -142134,141 +142147,157 @@ ${seq.sequence}
142134
142147
  getPhase,
142135
142148
  setPhase
142136
142149
  } = _ref;
142137
- return [{
142138
- eventName: "mousemove",
142139
- fn: (event) => {
142140
- const {
142141
- button,
142142
- clientX,
142143
- clientY
142144
- } = event;
142145
- if (button !== primaryButton) {
142146
- return;
142147
- }
142148
- const point2 = {
142149
- x: clientX,
142150
- y: clientY
142151
- };
142152
- const phase = getPhase();
142153
- if (phase.type === "DRAGGING") {
142150
+ return [
142151
+ {
142152
+ eventName: "mousemove",
142153
+ fn: (event) => {
142154
+ const {
142155
+ button,
142156
+ clientX,
142157
+ clientY
142158
+ } = event;
142159
+ if (button !== primaryButton) {
142160
+ return;
142161
+ }
142162
+ const point2 = {
142163
+ x: clientX,
142164
+ y: clientY
142165
+ };
142166
+ const phase = getPhase();
142167
+ if (phase.type === "DRAGGING") {
142168
+ event.preventDefault();
142169
+ phase.actions.move(point2);
142170
+ return;
142171
+ }
142172
+ !(phase.type === "PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot be IDLE") : invariant$1(false) : void 0;
142173
+ const pending = phase.point;
142174
+ if (!isSloppyClickThresholdExceeded(pending, point2)) {
142175
+ return;
142176
+ }
142154
142177
  event.preventDefault();
142155
- phase.actions.move(point2);
142156
- return;
142157
- }
142158
- !(phase.type === "PENDING") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot be IDLE") : invariant$1(false) : void 0;
142159
- const pending = phase.point;
142160
- if (!isSloppyClickThresholdExceeded(pending, point2)) {
142161
- return;
142162
- }
142163
- event.preventDefault();
142164
- const actions2 = phase.actions.fluidLift(point2);
142165
- setPhase({
142166
- type: "DRAGGING",
142167
- actions: actions2
142168
- });
142169
- }
142170
- }, {
142171
- eventName: "mouseup",
142172
- fn: (event) => {
142173
- const phase = getPhase();
142174
- if (phase.type !== "DRAGGING") {
142175
- cancel();
142176
- return;
142178
+ const actions2 = phase.actions.fluidLift(point2);
142179
+ setPhase({
142180
+ type: "DRAGGING",
142181
+ actions: actions2
142182
+ });
142177
142183
  }
142178
- event.preventDefault();
142179
- phase.actions.drop({
142180
- shouldBlockNextClick: true
142181
- });
142182
- completed();
142183
- }
142184
- }, {
142185
- eventName: "mousedown",
142186
- fn: (event) => {
142187
- if (getPhase().type === "DRAGGING") {
142184
+ },
142185
+ {
142186
+ eventName: "mouseup",
142187
+ fn: (event) => {
142188
+ const phase = getPhase();
142189
+ if (phase.type !== "DRAGGING") {
142190
+ cancel();
142191
+ return;
142192
+ }
142188
142193
  event.preventDefault();
142194
+ phase.actions.drop({
142195
+ shouldBlockNextClick: true
142196
+ });
142197
+ completed();
142189
142198
  }
142190
- cancel();
142191
- }
142192
- }, {
142193
- eventName: "keydown",
142194
- fn: (event) => {
142195
- const phase = getPhase();
142196
- if (phase.type === "PENDING") {
142199
+ },
142200
+ {
142201
+ eventName: "mousedown",
142202
+ fn: (event) => {
142203
+ if (getPhase().type === "DRAGGING") {
142204
+ event.preventDefault();
142205
+ }
142197
142206
  cancel();
142198
- return;
142199
142207
  }
142200
- if (event.keyCode === escape$1) {
142201
- event.preventDefault();
142202
- cancel();
142203
- return;
142208
+ },
142209
+ {
142210
+ eventName: "keydown",
142211
+ fn: (event) => {
142212
+ const phase = getPhase();
142213
+ if (phase.type === "PENDING") {
142214
+ cancel();
142215
+ return;
142216
+ }
142217
+ if (event.keyCode === escape$1) {
142218
+ event.preventDefault();
142219
+ cancel();
142220
+ return;
142221
+ }
142222
+ preventStandardKeyEvents(event);
142204
142223
  }
142205
- preventStandardKeyEvents(event);
142206
- }
142207
- }, {
142208
- eventName: "resize",
142209
- fn: cancel
142210
- }, {
142211
- eventName: "scroll",
142212
- options: {
142213
- passive: true,
142214
- capture: false
142215
142224
  },
142216
- fn: () => {
142217
- if (getPhase().type === "PENDING") {
142218
- cancel();
142225
+ {
142226
+ eventName: "resize",
142227
+ fn: cancel
142228
+ },
142229
+ {
142230
+ eventName: "scroll",
142231
+ options: {
142232
+ passive: true,
142233
+ capture: false
142234
+ },
142235
+ fn: () => {
142236
+ if (getPhase().type === "PENDING") {
142237
+ cancel();
142238
+ }
142219
142239
  }
142220
- }
142221
- }, {
142222
- eventName: "webkitmouseforcedown",
142223
- fn: (event) => {
142224
- const phase = getPhase();
142225
- !(phase.type !== "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Unexpected phase") : invariant$1(false) : void 0;
142226
- if (phase.actions.shouldRespectForcePress()) {
142227
- cancel();
142228
- return;
142240
+ },
142241
+ {
142242
+ eventName: "webkitmouseforcedown",
142243
+ fn: (event) => {
142244
+ const phase = getPhase();
142245
+ !(phase.type !== "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Unexpected phase") : invariant$1(false) : void 0;
142246
+ if (phase.actions.shouldRespectForcePress()) {
142247
+ cancel();
142248
+ return;
142249
+ }
142250
+ event.preventDefault();
142229
142251
  }
142230
- event.preventDefault();
142252
+ },
142253
+ {
142254
+ eventName: supportedPageVisibilityEventName,
142255
+ fn: cancel
142231
142256
  }
142232
- }, {
142233
- eventName: supportedPageVisibilityEventName,
142234
- fn: cancel
142235
- }];
142257
+ ];
142236
142258
  }
142237
142259
  __name(getCaptureBindings, "getCaptureBindings");
142238
142260
  function useMouseSensor(api) {
142239
142261
  const phaseRef = React$3.useRef(idle$1);
142240
142262
  const unbindEventsRef = React$3.useRef(noop$2);
142241
- const startCaptureBinding = useMemo(() => ({
142242
- eventName: "mousedown",
142243
- fn: /* @__PURE__ */ __name(function onMouseDown(event) {
142244
- if (event.defaultPrevented) {
142245
- return;
142246
- }
142247
- if (event.button !== primaryButton) {
142248
- return;
142249
- }
142250
- if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) {
142251
- return;
142252
- }
142253
- const draggableId = api.findClosestDraggableId(event);
142254
- if (!draggableId) {
142255
- return;
142256
- }
142257
- const actions2 = api.tryGetLock(draggableId, stop, {
142258
- sourceEvent: event
142259
- });
142260
- if (!actions2) {
142261
- return;
142262
- }
142263
- event.preventDefault();
142264
- const point2 = {
142265
- x: event.clientX,
142266
- y: event.clientY
142267
- };
142268
- unbindEventsRef.current();
142269
- startPendingDrag(actions2, point2);
142270
- }, "onMouseDown")
142271
- }), [api]);
142263
+ const startCaptureBinding = useMemo(
142264
+ () => ({
142265
+ eventName: "mousedown",
142266
+ fn: /* @__PURE__ */ __name(function onMouseDown(event) {
142267
+ if (event.defaultPrevented) {
142268
+ return;
142269
+ }
142270
+ if (event.button !== primaryButton) {
142271
+ return;
142272
+ }
142273
+ if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) {
142274
+ return;
142275
+ }
142276
+ const draggableId = api.findClosestDraggableId(event);
142277
+ if (!draggableId) {
142278
+ return;
142279
+ }
142280
+ const actions2 = api.tryGetLock(
142281
+ draggableId,
142282
+ stop,
142283
+ {
142284
+ sourceEvent: event
142285
+ }
142286
+ );
142287
+ if (!actions2) {
142288
+ return;
142289
+ }
142290
+ event.preventDefault();
142291
+ const point2 = {
142292
+ x: event.clientX,
142293
+ y: event.clientY
142294
+ };
142295
+ unbindEventsRef.current();
142296
+ startPendingDrag(actions2, point2);
142297
+ }, "onMouseDown")
142298
+ }),
142299
+ [api]
142300
+ );
142272
142301
  const preventForcePressBinding = useMemo(() => ({
142273
142302
  eventName: "webkitmouseforcewillbegin",
142274
142303
  fn: (event) => {
@@ -142372,110 +142401,126 @@ ${seq.sequence}
142372
142401
  actions2.drop();
142373
142402
  }
142374
142403
  __name(drop2, "drop");
142375
- return [{
142376
- eventName: "keydown",
142377
- fn: (event) => {
142378
- if (event.keyCode === escape$1) {
142379
- event.preventDefault();
142380
- cancel();
142381
- return;
142382
- }
142383
- if (event.keyCode === space) {
142384
- event.preventDefault();
142385
- drop2();
142386
- return;
142387
- }
142388
- if (event.keyCode === arrowDown) {
142389
- event.preventDefault();
142390
- actions2.moveDown();
142391
- return;
142392
- }
142393
- if (event.keyCode === arrowUp) {
142394
- event.preventDefault();
142395
- actions2.moveUp();
142396
- return;
142397
- }
142398
- if (event.keyCode === arrowRight) {
142399
- event.preventDefault();
142400
- actions2.moveRight();
142401
- return;
142402
- }
142403
- if (event.keyCode === arrowLeft) {
142404
- event.preventDefault();
142405
- actions2.moveLeft();
142406
- return;
142404
+ return [
142405
+ {
142406
+ eventName: "keydown",
142407
+ fn: (event) => {
142408
+ if (event.keyCode === escape$1) {
142409
+ event.preventDefault();
142410
+ cancel();
142411
+ return;
142412
+ }
142413
+ if (event.keyCode === space) {
142414
+ event.preventDefault();
142415
+ drop2();
142416
+ return;
142417
+ }
142418
+ if (event.keyCode === arrowDown) {
142419
+ event.preventDefault();
142420
+ actions2.moveDown();
142421
+ return;
142422
+ }
142423
+ if (event.keyCode === arrowUp) {
142424
+ event.preventDefault();
142425
+ actions2.moveUp();
142426
+ return;
142427
+ }
142428
+ if (event.keyCode === arrowRight) {
142429
+ event.preventDefault();
142430
+ actions2.moveRight();
142431
+ return;
142432
+ }
142433
+ if (event.keyCode === arrowLeft) {
142434
+ event.preventDefault();
142435
+ actions2.moveLeft();
142436
+ return;
142437
+ }
142438
+ if (scrollJumpKeys[event.keyCode]) {
142439
+ event.preventDefault();
142440
+ return;
142441
+ }
142442
+ preventStandardKeyEvents(event);
142407
142443
  }
142408
- if (scrollJumpKeys[event.keyCode]) {
142409
- event.preventDefault();
142410
- return;
142444
+ },
142445
+ {
142446
+ eventName: "mousedown",
142447
+ fn: cancel
142448
+ },
142449
+ {
142450
+ eventName: "mouseup",
142451
+ fn: cancel
142452
+ },
142453
+ {
142454
+ eventName: "click",
142455
+ fn: cancel
142456
+ },
142457
+ {
142458
+ eventName: "touchstart",
142459
+ fn: cancel
142460
+ },
142461
+ {
142462
+ eventName: "resize",
142463
+ fn: cancel
142464
+ },
142465
+ {
142466
+ eventName: "wheel",
142467
+ fn: cancel,
142468
+ options: {
142469
+ passive: true
142411
142470
  }
142412
- preventStandardKeyEvents(event);
142413
- }
142414
- }, {
142415
- eventName: "mousedown",
142416
- fn: cancel
142417
- }, {
142418
- eventName: "mouseup",
142419
- fn: cancel
142420
- }, {
142421
- eventName: "click",
142422
- fn: cancel
142423
- }, {
142424
- eventName: "touchstart",
142425
- fn: cancel
142426
- }, {
142427
- eventName: "resize",
142428
- fn: cancel
142429
- }, {
142430
- eventName: "wheel",
142431
- fn: cancel,
142432
- options: {
142433
- passive: true
142471
+ },
142472
+ {
142473
+ eventName: supportedPageVisibilityEventName,
142474
+ fn: cancel
142434
142475
  }
142435
- }, {
142436
- eventName: supportedPageVisibilityEventName,
142437
- fn: cancel
142438
- }];
142476
+ ];
142439
142477
  }
142440
142478
  __name(getDraggingBindings, "getDraggingBindings");
142441
142479
  function useKeyboardSensor(api) {
142442
142480
  const unbindEventsRef = React$3.useRef(noop$1$1);
142443
- const startCaptureBinding = useMemo(() => ({
142444
- eventName: "keydown",
142445
- fn: /* @__PURE__ */ __name(function onKeyDown(event) {
142446
- if (event.defaultPrevented) {
142447
- return;
142448
- }
142449
- if (event.keyCode !== space) {
142450
- return;
142451
- }
142452
- const draggableId = api.findClosestDraggableId(event);
142453
- if (!draggableId) {
142454
- return;
142455
- }
142456
- const preDrag = api.tryGetLock(draggableId, stop, {
142457
- sourceEvent: event
142458
- });
142459
- if (!preDrag) {
142460
- return;
142461
- }
142462
- event.preventDefault();
142463
- let isCapturing = true;
142464
- const actions2 = preDrag.snapLift();
142465
- unbindEventsRef.current();
142466
- function stop() {
142467
- !isCapturing ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot stop capturing a keyboard drag when not capturing") : invariant$1(false) : void 0;
142468
- isCapturing = false;
142481
+ const startCaptureBinding = useMemo(
142482
+ () => ({
142483
+ eventName: "keydown",
142484
+ fn: /* @__PURE__ */ __name(function onKeyDown(event) {
142485
+ if (event.defaultPrevented) {
142486
+ return;
142487
+ }
142488
+ if (event.keyCode !== space) {
142489
+ return;
142490
+ }
142491
+ const draggableId = api.findClosestDraggableId(event);
142492
+ if (!draggableId) {
142493
+ return;
142494
+ }
142495
+ const preDrag = api.tryGetLock(
142496
+ draggableId,
142497
+ stop,
142498
+ {
142499
+ sourceEvent: event
142500
+ }
142501
+ );
142502
+ if (!preDrag) {
142503
+ return;
142504
+ }
142505
+ event.preventDefault();
142506
+ let isCapturing = true;
142507
+ const actions2 = preDrag.snapLift();
142469
142508
  unbindEventsRef.current();
142470
- listenForCapture();
142471
- }
142472
- __name(stop, "stop");
142473
- unbindEventsRef.current = bindEvents(window, getDraggingBindings(actions2, stop), {
142474
- capture: true,
142475
- passive: false
142476
- });
142477
- }, "onKeyDown")
142478
- }), [api]);
142509
+ function stop() {
142510
+ !isCapturing ? process.env.NODE_ENV !== "production" ? invariant$1(false, "Cannot stop capturing a keyboard drag when not capturing") : invariant$1(false) : void 0;
142511
+ isCapturing = false;
142512
+ unbindEventsRef.current();
142513
+ listenForCapture();
142514
+ }
142515
+ __name(stop, "stop");
142516
+ unbindEventsRef.current = bindEvents(window, getDraggingBindings(actions2, stop), {
142517
+ capture: true,
142518
+ passive: false
142519
+ });
142520
+ }, "onKeyDown")
142521
+ }),
142522
+ [api]
142523
+ );
142479
142524
  const listenForCapture = useCallback(/* @__PURE__ */ __name(function tryStartCapture() {
142480
142525
  const options = {
142481
142526
  passive: false,
@@ -142501,33 +142546,39 @@ ${seq.sequence}
142501
142546
  cancel,
142502
142547
  getPhase
142503
142548
  } = _ref;
142504
- return [{
142505
- eventName: "orientationchange",
142506
- fn: cancel
142507
- }, {
142508
- eventName: "resize",
142509
- fn: cancel
142510
- }, {
142511
- eventName: "contextmenu",
142512
- fn: (event) => {
142513
- event.preventDefault();
142514
- }
142515
- }, {
142516
- eventName: "keydown",
142517
- fn: (event) => {
142518
- if (getPhase().type !== "DRAGGING") {
142519
- cancel();
142520
- return;
142521
- }
142522
- if (event.keyCode === escape$1) {
142549
+ return [
142550
+ {
142551
+ eventName: "orientationchange",
142552
+ fn: cancel
142553
+ },
142554
+ {
142555
+ eventName: "resize",
142556
+ fn: cancel
142557
+ },
142558
+ {
142559
+ eventName: "contextmenu",
142560
+ fn: (event) => {
142523
142561
  event.preventDefault();
142524
142562
  }
142525
- cancel();
142563
+ },
142564
+ {
142565
+ eventName: "keydown",
142566
+ fn: (event) => {
142567
+ if (getPhase().type !== "DRAGGING") {
142568
+ cancel();
142569
+ return;
142570
+ }
142571
+ if (event.keyCode === escape$1) {
142572
+ event.preventDefault();
142573
+ }
142574
+ cancel();
142575
+ }
142576
+ },
142577
+ {
142578
+ eventName: supportedPageVisibilityEventName,
142579
+ fn: cancel
142526
142580
  }
142527
- }, {
142528
- eventName: supportedPageVisibilityEventName,
142529
- fn: cancel
142530
- }];
142581
+ ];
142531
142582
  }
142532
142583
  __name(getWindowBindings, "getWindowBindings");
142533
142584
  function getHandleBindings(_ref2) {
@@ -142536,87 +142587,93 @@ ${seq.sequence}
142536
142587
  completed,
142537
142588
  getPhase
142538
142589
  } = _ref2;
142539
- return [{
142540
- eventName: "touchmove",
142541
- options: {
142542
- capture: false
142543
- },
142544
- fn: (event) => {
142545
- const phase = getPhase();
142546
- if (phase.type !== "DRAGGING") {
142547
- cancel();
142548
- return;
142590
+ return [
142591
+ {
142592
+ eventName: "touchmove",
142593
+ options: {
142594
+ capture: false
142595
+ },
142596
+ fn: (event) => {
142597
+ const phase = getPhase();
142598
+ if (phase.type !== "DRAGGING") {
142599
+ cancel();
142600
+ return;
142601
+ }
142602
+ phase.hasMoved = true;
142603
+ const {
142604
+ clientX,
142605
+ clientY
142606
+ } = event.touches[0];
142607
+ const point2 = {
142608
+ x: clientX,
142609
+ y: clientY
142610
+ };
142611
+ event.preventDefault();
142612
+ phase.actions.move(point2);
142549
142613
  }
142550
- phase.hasMoved = true;
142551
- const {
142552
- clientX,
142553
- clientY
142554
- } = event.touches[0];
142555
- const point2 = {
142556
- x: clientX,
142557
- y: clientY
142558
- };
142559
- event.preventDefault();
142560
- phase.actions.move(point2);
142561
- }
142562
- }, {
142563
- eventName: "touchend",
142564
- fn: (event) => {
142565
- const phase = getPhase();
142566
- if (phase.type !== "DRAGGING") {
142567
- cancel();
142568
- return;
142614
+ },
142615
+ {
142616
+ eventName: "touchend",
142617
+ fn: (event) => {
142618
+ const phase = getPhase();
142619
+ if (phase.type !== "DRAGGING") {
142620
+ cancel();
142621
+ return;
142622
+ }
142623
+ event.preventDefault();
142624
+ phase.actions.drop({
142625
+ shouldBlockNextClick: true
142626
+ });
142627
+ completed();
142569
142628
  }
142570
- event.preventDefault();
142571
- phase.actions.drop({
142572
- shouldBlockNextClick: true
142573
- });
142574
- completed();
142575
- }
142576
- }, {
142577
- eventName: "touchcancel",
142578
- fn: (event) => {
142579
- if (getPhase().type !== "DRAGGING") {
142629
+ },
142630
+ {
142631
+ eventName: "touchcancel",
142632
+ fn: (event) => {
142633
+ if (getPhase().type !== "DRAGGING") {
142634
+ cancel();
142635
+ return;
142636
+ }
142637
+ event.preventDefault();
142580
142638
  cancel();
142581
- return;
142582
142639
  }
142583
- event.preventDefault();
142584
- cancel();
142585
- }
142586
- }, {
142587
- eventName: "touchforcechange",
142588
- fn: (event) => {
142589
- const phase = getPhase();
142590
- !(phase.type !== "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
142591
- const touch2 = event.touches[0];
142592
- if (!touch2) {
142593
- return;
142594
- }
142595
- const isForcePress = touch2.force >= forcePressThreshold;
142596
- if (!isForcePress) {
142597
- return;
142598
- }
142599
- const shouldRespect = phase.actions.shouldRespectForcePress();
142600
- if (phase.type === "PENDING") {
142640
+ },
142641
+ {
142642
+ eventName: "touchforcechange",
142643
+ fn: (event) => {
142644
+ const phase = getPhase();
142645
+ !(phase.type !== "IDLE") ? process.env.NODE_ENV !== "production" ? invariant$1(false) : invariant$1(false) : void 0;
142646
+ const touch2 = event.touches[0];
142647
+ if (!touch2) {
142648
+ return;
142649
+ }
142650
+ const isForcePress = touch2.force >= forcePressThreshold;
142651
+ if (!isForcePress) {
142652
+ return;
142653
+ }
142654
+ const shouldRespect = phase.actions.shouldRespectForcePress();
142655
+ if (phase.type === "PENDING") {
142656
+ if (shouldRespect) {
142657
+ cancel();
142658
+ }
142659
+ return;
142660
+ }
142601
142661
  if (shouldRespect) {
142662
+ if (phase.hasMoved) {
142663
+ event.preventDefault();
142664
+ return;
142665
+ }
142602
142666
  cancel();
142603
- }
142604
- return;
142605
- }
142606
- if (shouldRespect) {
142607
- if (phase.hasMoved) {
142608
- event.preventDefault();
142609
142667
  return;
142610
142668
  }
142611
- cancel();
142612
- return;
142669
+ event.preventDefault();
142613
142670
  }
142614
- event.preventDefault();
142671
+ },
142672
+ {
142673
+ eventName: supportedPageVisibilityEventName,
142674
+ fn: cancel
142615
142675
  }
142616
- }, {
142617
- eventName: supportedPageVisibilityEventName,
142618
- fn: cancel
142619
- }];
142676
+ ];
142620
142677
  }
142621
142678
  __name(getHandleBindings, "getHandleBindings");
142622
142679
  function useTouchSensor(api) {
@@ -142628,35 +142685,42 @@ ${seq.sequence}
142628
142685
  const setPhase = useCallback(/* @__PURE__ */ __name(function setPhase2(phase) {
142629
142686
  phaseRef.current = phase;
142630
142687
  }, "setPhase"), []);
142631
- const startCaptureBinding = useMemo(() => ({
142632
- eventName: "touchstart",
142633
- fn: /* @__PURE__ */ __name(function onTouchStart(event) {
142634
- if (event.defaultPrevented) {
142635
- return;
142636
- }
142637
- const draggableId = api.findClosestDraggableId(event);
142638
- if (!draggableId) {
142639
- return;
142640
- }
142641
- const actions2 = api.tryGetLock(draggableId, stop, {
142642
- sourceEvent: event
142643
- });
142644
- if (!actions2) {
142645
- return;
142646
- }
142647
- const touch2 = event.touches[0];
142648
- const {
142649
- clientX,
142650
- clientY
142651
- } = touch2;
142652
- const point2 = {
142653
- x: clientX,
142654
- y: clientY
142655
- };
142656
- unbindEventsRef.current();
142657
- startPendingDrag(actions2, point2);
142658
- }, "onTouchStart")
142659
- }), [api]);
142688
+ const startCaptureBinding = useMemo(
142689
+ () => ({
142690
+ eventName: "touchstart",
142691
+ fn: /* @__PURE__ */ __name(function onTouchStart(event) {
142692
+ if (event.defaultPrevented) {
142693
+ return;
142694
+ }
142695
+ const draggableId = api.findClosestDraggableId(event);
142696
+ if (!draggableId) {
142697
+ return;
142698
+ }
142699
+ const actions2 = api.tryGetLock(
142700
+ draggableId,
142701
+ stop,
142702
+ {
142703
+ sourceEvent: event
142704
+ }
142705
+ );
142706
+ if (!actions2) {
142707
+ return;
142708
+ }
142709
+ const touch2 = event.touches[0];
142710
+ const {
142711
+ clientX,
142712
+ clientY
142713
+ } = touch2;
142714
+ const point2 = {
142715
+ x: clientX,
142716
+ y: clientY
142717
+ };
142718
+ unbindEventsRef.current();
142719
+ startPendingDrag(actions2, point2);
142720
+ }, "onTouchStart")
142721
+ }),
142722
+ [api]
142723
+ );
142660
142724
  const listenForCapture = useCallback(/* @__PURE__ */ __name(function listenForCapture2() {
142661
142725
  const options = {
142662
142726
  capture: true,
@@ -143839,10 +143903,15 @@ ${seq.sequence}
143839
143903
  const mapDispatchToProps$1 = {
143840
143904
  dropAnimationFinished
143841
143905
  };
143842
- const ConnectedDraggable = connect(makeMapStateToProps$1, mapDispatchToProps$1, null, {
143843
- context: StoreContext,
143844
- areStatePropsEqual: isStrictEqual
143845
- })(Draggable$1$1);
143906
+ const ConnectedDraggable = connect(
143907
+ makeMapStateToProps$1,
143908
+ mapDispatchToProps$1,
143909
+ null,
143910
+ {
143911
+ context: StoreContext,
143912
+ areStatePropsEqual: isStrictEqual
143913
+ }
143914
+ )(Draggable$1$1);
143846
143915
  var ConnectedDraggable$1 = ConnectedDraggable;
143847
143916
  function PrivateDraggable(props) {
143848
143917
  const droppableContext = useRequiredContext(DroppableContext);
@@ -144197,7 +144266,11 @@ ${seq.sequence}
144197
144266
  }
144198
144267
  scheduleScrollUpdate.cancel();
144199
144268
  closest2.removeAttribute(scrollContainer.contextId);
144200
- closest2.removeEventListener("scroll", onClosestScroll, getListenerOptions(dragging.scrollOptions));
144269
+ closest2.removeEventListener(
144270
+ "scroll",
144271
+ onClosestScroll,
144272
+ getListenerOptions(dragging.scrollOptions)
144273
+ );
144201
144274
  }, [onClosestScroll, scheduleScrollUpdate]);
144202
144275
  const scroll2 = useCallback((change2) => {
144203
144276
  const dragging = whileDraggingRef.current;
@@ -144596,33 +144669,6 @@ ${seq.sequence}
144596
144669
  }, children(provided, snapshot), getClone());
144597
144670
  }, "Droppable");
144598
144671
  var Droppable$1 = Droppable;
144599
- function getBody() {
144600
- !document.body ? process.env.NODE_ENV !== "production" ? invariant$1(false, "document.body is not ready") : invariant$1(false) : void 0;
144601
- return document.body;
144602
- }
144603
- __name(getBody, "getBody");
144604
- const defaultProps = {
144605
- mode: "standard",
144606
- type: "DEFAULT",
144607
- direction: "vertical",
144608
- isDropDisabled: false,
144609
- isCombineEnabled: false,
144610
- ignoreContainerClipping: false,
144611
- renderClone: null,
144612
- getContainerForClone: getBody
144613
- };
144614
- const attachDefaultPropsToOwnProps = /* @__PURE__ */ __name((ownProps) => {
144615
- let mergedProps = __spreadValues({}, ownProps);
144616
- let defaultPropKey;
144617
- for (defaultPropKey in defaultProps) {
144618
- if (ownProps[defaultPropKey] === void 0) {
144619
- mergedProps = __spreadProps(__spreadValues({}, mergedProps), {
144620
- [defaultPropKey]: defaultProps[defaultPropKey]
144621
- });
144622
- }
144623
- }
144624
- return mergedProps;
144625
- }, "attachDefaultPropsToOwnProps");
144626
144672
  const isMatchingType = /* @__PURE__ */ __name((type2, critical) => type2 === critical.droppable.type, "isMatchingType");
144627
144673
  const getDraggable = /* @__PURE__ */ __name((critical, dimensions) => dimensions.draggables[critical.draggable.id], "getDraggable");
144628
144674
  const makeMapStateToProps = /* @__PURE__ */ __name(() => {
@@ -144689,11 +144735,10 @@ ${seq.sequence}
144689
144735
  };
144690
144736
  });
144691
144737
  const selector = /* @__PURE__ */ __name((state2, ownProps) => {
144692
- const ownPropsWithDefaultProps = attachDefaultPropsToOwnProps(ownProps);
144693
- const id2 = ownPropsWithDefaultProps.droppableId;
144694
- const type2 = ownPropsWithDefaultProps.type;
144695
- const isEnabled = !ownPropsWithDefaultProps.isDropDisabled;
144696
- const renderClone = ownPropsWithDefaultProps.renderClone;
144738
+ const id2 = ownProps.droppableId;
144739
+ const type2 = ownProps.type;
144740
+ const isEnabled = !ownProps.isDropDisabled;
144741
+ const renderClone = ownProps.renderClone;
144697
144742
  if (isDragging(state2)) {
144698
144743
  const critical = state2.critical;
144699
144744
  if (!isMatchingType(type2, critical)) {
@@ -144734,12 +144779,31 @@ ${seq.sequence}
144734
144779
  const mapDispatchToProps = {
144735
144780
  updateViewportMaxScroll
144736
144781
  };
144737
- const ConnectedDroppable = connect(makeMapStateToProps, mapDispatchToProps, (stateProps, dispatchProps, ownProps) => {
144738
- return __spreadValues(__spreadValues(__spreadValues({}, attachDefaultPropsToOwnProps(ownProps)), stateProps), dispatchProps);
144739
- }, {
144740
- context: StoreContext,
144741
- areStatePropsEqual: isStrictEqual
144742
- })(Droppable$1);
144782
+ function getBody() {
144783
+ !document.body ? process.env.NODE_ENV !== "production" ? invariant$1(false, "document.body is not ready") : invariant$1(false) : void 0;
144784
+ return document.body;
144785
+ }
144786
+ __name(getBody, "getBody");
144787
+ const defaultProps = {
144788
+ mode: "standard",
144789
+ type: "DEFAULT",
144790
+ direction: "vertical",
144791
+ isDropDisabled: false,
144792
+ isCombineEnabled: false,
144793
+ ignoreContainerClipping: false,
144794
+ renderClone: null,
144795
+ getContainerForClone: getBody
144796
+ };
144797
+ const ConnectedDroppable = connect(
144798
+ makeMapStateToProps,
144799
+ mapDispatchToProps,
144800
+ null,
144801
+ {
144802
+ context: StoreContext,
144803
+ areStatePropsEqual: isStrictEqual
144804
+ }
144805
+ )(Droppable$1);
144806
+ ConnectedDroppable.defaultProps = defaultProps;
144743
144807
  var ConnectedDroppable$1 = ConnectedDroppable;
144744
144808
  var clipboard = { exports: {} };
144745
144809
  /*!
@@ -153143,7 +153207,7 @@ double click --> edit`}`;
153143
153207
  }
153144
153208
  __name(showFileDialog, "showFileDialog");
153145
153209
  const name = "@teselagen/ove";
153146
- const version = "0.0.2";
153210
+ const version = "0.0.4";
153147
153211
  const main = "./index.js";
153148
153212
  const types$1 = "./index.d.ts";
153149
153213
  const type = "commonjs";
@@ -163360,23 +163424,6 @@ This message will only appear in development mode.`);
163360
163424
  }) : /* @__PURE__ */ React$3.createElement("span", null, "(", base1Range.start, "-", base1Range.end, ")")));
163361
163425
  }
163362
163426
  };
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
163427
  const schema$2 = {
163381
163428
  fields: [
163382
163429
  // ...(noColor
@@ -173454,6 +173501,10 @@ ${seqDataToCopy}\r
173454
173501
  __publicField(this, "state", {
173455
173502
  fileTypeToView: "genbank"
173456
173503
  });
173504
+ __publicField(this, "select", /* @__PURE__ */ __name(() => {
173505
+ var _a2;
173506
+ return (_a2 = this._input) == null ? void 0 : _a2.select();
173507
+ }, "select"));
173457
173508
  }
173458
173509
  render() {
173459
173510
  const { sequenceData: sequenceData2 = {} } = this.props;
@@ -173491,7 +173542,7 @@ ${seqDataToCopy}\r
173491
173542
  {
173492
173543
  "data-test": "ve-genbank-text",
173493
173544
  readOnly: true,
173494
- onclick: "this.select()",
173545
+ onClick: this.select,
173495
173546
  style: {
173496
173547
  whiteSpace: "pre",
173497
173548
  overflowWrap: "normal",
@@ -182557,7 +182608,7 @@ ${seqDataToCopy}\r
182557
182608
  const PCRTool$1 = compose(
182558
182609
  withEditorInteractions,
182559
182610
  reduxForm({ form: "PCRTool" }),
182560
- tgFormValues$1("forwardPrimer", "reversePrimer")
182611
+ tgFormValues("forwardPrimer", "reversePrimer")
182561
182612
  )(PCRTool);
182562
182613
  const _panelMap = {
182563
182614
  circular: {