@teselagen/ove 0.7.9 → 0.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -17963,16 +17963,25 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
17963
17963
  return value;
17964
17964
  }, "GetIntrinsic");
17965
17965
  var callBind$3 = { exports: {} };
17966
- var GetIntrinsic$4 = getIntrinsic;
17967
- var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
17968
- if ($defineProperty$2) {
17969
- try {
17970
- $defineProperty$2({}, "a", { value: 1 });
17971
- } catch (e) {
17972
- $defineProperty$2 = false;
17966
+ var esDefineProperty;
17967
+ var hasRequiredEsDefineProperty;
17968
+ function requireEsDefineProperty() {
17969
+ if (hasRequiredEsDefineProperty)
17970
+ return esDefineProperty;
17971
+ hasRequiredEsDefineProperty = 1;
17972
+ var GetIntrinsic3 = getIntrinsic;
17973
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
17974
+ if ($defineProperty2) {
17975
+ try {
17976
+ $defineProperty2({}, "a", { value: 1 });
17977
+ } catch (e) {
17978
+ $defineProperty2 = false;
17979
+ }
17973
17980
  }
17981
+ esDefineProperty = $defineProperty2;
17982
+ return esDefineProperty;
17974
17983
  }
17975
- var esDefineProperty = $defineProperty$2;
17984
+ __name(requireEsDefineProperty, "requireEsDefineProperty");
17976
17985
  var GetIntrinsic$3 = getIntrinsic;
17977
17986
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
17978
17987
  if ($gOPD$1) {
@@ -17983,7 +17992,7 @@ if ($gOPD$1) {
17983
17992
  }
17984
17993
  }
17985
17994
  var gopd$1 = $gOPD$1;
17986
- var $defineProperty$1 = esDefineProperty;
17995
+ var $defineProperty$1 = requireEsDefineProperty();
17987
17996
  var $SyntaxError = syntax;
17988
17997
  var $TypeError$4 = type$1;
17989
17998
  var gopd = gopd$1;
@@ -18024,7 +18033,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
18024
18033
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
18025
18034
  }
18026
18035
  }, "defineDataProperty");
18027
- var $defineProperty = esDefineProperty;
18036
+ var $defineProperty = requireEsDefineProperty();
18028
18037
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
18029
18038
  return !!$defineProperty;
18030
18039
  }, "hasPropertyDescriptors");
@@ -18093,7 +18102,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
18093
18102
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
18094
18103
  var $call = GetIntrinsic3("%Function.prototype.call%");
18095
18104
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
18096
- var $defineProperty2 = esDefineProperty;
18105
+ var $defineProperty2 = requireEsDefineProperty();
18097
18106
  var $max = GetIntrinsic3("%Math.max%");
18098
18107
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
18099
18108
  if (typeof originalFunction !== "function") {
@@ -31926,9 +31935,6 @@ const AbstractInput = /* @__PURE__ */ __name(({
31926
31935
  const initalValuePassed = React$2.useRef(value);
31927
31936
  const onDefaultValChanged = useStableReference(_onDefaultValChanged);
31928
31937
  const onFieldSubmit = useStableReference(_onFieldSubmit);
31929
- console.log(`name:`, name2);
31930
- console.log(`value:`, value);
31931
- console.log(`initalValuePassed.current:`, initalValuePassed.current);
31932
31938
  const doesNotHaveInitialValue = !isLoadingDefaultValue && !initalValuePassed.current;
31933
31939
  React$2.useEffect(() => {
31934
31940
  if (defaultValue2 !== void 0 && doesNotHaveInitialValue) {
@@ -31936,7 +31942,15 @@ const AbstractInput = /* @__PURE__ */ __name(({
31936
31942
  onDefaultValChanged.current && onDefaultValChanged.current(defaultValue2, name2, form);
31937
31943
  onFieldSubmit.current && onFieldSubmit.current(defaultValue2);
31938
31944
  }
31939
- }, [defaultValue2, dispatch, form, name2, onDefaultValChanged, onFieldSubmit, doesNotHaveInitialValue]);
31945
+ }, [
31946
+ defaultValue2,
31947
+ dispatch,
31948
+ form,
31949
+ name2,
31950
+ onDefaultValChanged,
31951
+ onFieldSubmit,
31952
+ doesNotHaveInitialValue
31953
+ ]);
31940
31954
  const showError = (touched || showErrorIfUntouched) && error && !asyncValidating;
31941
31955
  const showWarning = (touched || showErrorIfUntouched) && warning2;
31942
31956
  let componentToWrap = isLabelTooltip || tooltipError ? /* @__PURE__ */ React$2.createElement(
@@ -122418,7 +122432,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122418
122432
  }
122419
122433
  __name(showFileDialog, "showFileDialog");
122420
122434
  const name = "@teselagen/ove";
122421
- const version = "0.7.8";
122435
+ const version = "0.7.9";
122422
122436
  const main = "./src/index.js";
122423
122437
  const type = "module";
122424
122438
  const exports$1 = {
package/index.es.js CHANGED
@@ -17945,16 +17945,25 @@ var getIntrinsic = /* @__PURE__ */ __name(function GetIntrinsic(name2, allowMiss
17945
17945
  return value;
17946
17946
  }, "GetIntrinsic");
17947
17947
  var callBind$3 = { exports: {} };
17948
- var GetIntrinsic$4 = getIntrinsic;
17949
- var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
17950
- if ($defineProperty$2) {
17951
- try {
17952
- $defineProperty$2({}, "a", { value: 1 });
17953
- } catch (e) {
17954
- $defineProperty$2 = false;
17948
+ var esDefineProperty;
17949
+ var hasRequiredEsDefineProperty;
17950
+ function requireEsDefineProperty() {
17951
+ if (hasRequiredEsDefineProperty)
17952
+ return esDefineProperty;
17953
+ hasRequiredEsDefineProperty = 1;
17954
+ var GetIntrinsic3 = getIntrinsic;
17955
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
17956
+ if ($defineProperty2) {
17957
+ try {
17958
+ $defineProperty2({}, "a", { value: 1 });
17959
+ } catch (e) {
17960
+ $defineProperty2 = false;
17961
+ }
17955
17962
  }
17963
+ esDefineProperty = $defineProperty2;
17964
+ return esDefineProperty;
17956
17965
  }
17957
- var esDefineProperty = $defineProperty$2;
17966
+ __name(requireEsDefineProperty, "requireEsDefineProperty");
17958
17967
  var GetIntrinsic$3 = getIntrinsic;
17959
17968
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
17960
17969
  if ($gOPD$1) {
@@ -17965,7 +17974,7 @@ if ($gOPD$1) {
17965
17974
  }
17966
17975
  }
17967
17976
  var gopd$1 = $gOPD$1;
17968
- var $defineProperty$1 = esDefineProperty;
17977
+ var $defineProperty$1 = requireEsDefineProperty();
17969
17978
  var $SyntaxError = syntax;
17970
17979
  var $TypeError$4 = type$1;
17971
17980
  var gopd = gopd$1;
@@ -18006,7 +18015,7 @@ var defineDataProperty$1 = /* @__PURE__ */ __name(function defineDataProperty(ob
18006
18015
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
18007
18016
  }
18008
18017
  }, "defineDataProperty");
18009
- var $defineProperty = esDefineProperty;
18018
+ var $defineProperty = requireEsDefineProperty();
18010
18019
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
18011
18020
  return !!$defineProperty;
18012
18021
  }, "hasPropertyDescriptors");
@@ -18075,7 +18084,7 @@ var setFunctionLength = /* @__PURE__ */ __name(function setFunctionLength2(fn4,
18075
18084
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
18076
18085
  var $call = GetIntrinsic3("%Function.prototype.call%");
18077
18086
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind3.call($call, $apply);
18078
- var $defineProperty2 = esDefineProperty;
18087
+ var $defineProperty2 = requireEsDefineProperty();
18079
18088
  var $max = GetIntrinsic3("%Math.max%");
18080
18089
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
18081
18090
  if (typeof originalFunction !== "function") {
@@ -31908,9 +31917,6 @@ const AbstractInput = /* @__PURE__ */ __name(({
31908
31917
  const initalValuePassed = useRef(value);
31909
31918
  const onDefaultValChanged = useStableReference(_onDefaultValChanged);
31910
31919
  const onFieldSubmit = useStableReference(_onFieldSubmit);
31911
- console.log(`name:`, name2);
31912
- console.log(`value:`, value);
31913
- console.log(`initalValuePassed.current:`, initalValuePassed.current);
31914
31920
  const doesNotHaveInitialValue = !isLoadingDefaultValue && !initalValuePassed.current;
31915
31921
  useEffect(() => {
31916
31922
  if (defaultValue2 !== void 0 && doesNotHaveInitialValue) {
@@ -31918,7 +31924,15 @@ const AbstractInput = /* @__PURE__ */ __name(({
31918
31924
  onDefaultValChanged.current && onDefaultValChanged.current(defaultValue2, name2, form);
31919
31925
  onFieldSubmit.current && onFieldSubmit.current(defaultValue2);
31920
31926
  }
31921
- }, [defaultValue2, dispatch, form, name2, onDefaultValChanged, onFieldSubmit, doesNotHaveInitialValue]);
31927
+ }, [
31928
+ defaultValue2,
31929
+ dispatch,
31930
+ form,
31931
+ name2,
31932
+ onDefaultValChanged,
31933
+ onFieldSubmit,
31934
+ doesNotHaveInitialValue
31935
+ ]);
31922
31936
  const showError = (touched || showErrorIfUntouched) && error && !asyncValidating;
31923
31937
  const showWarning = (touched || showErrorIfUntouched) && warning2;
31924
31938
  let componentToWrap = isLabelTooltip || tooltipError ? /* @__PURE__ */ React__default$1.createElement(
@@ -122400,7 +122414,7 @@ function showFileDialog({ multiple = false, onSelect }) {
122400
122414
  }
122401
122415
  __name(showFileDialog, "showFileDialog");
122402
122416
  const name = "@teselagen/ove";
122403
- const version = "0.7.8";
122417
+ const version = "0.7.9";
122404
122418
  const main = "./src/index.js";
122405
122419
  const type = "module";
122406
122420
  const exports$1 = {
package/index.umd.js CHANGED
@@ -61210,9 +61210,6 @@ ${latestSubscriptionCallbackError.current.stack}
61210
61210
  const initalValuePassed = reactExports.useRef(value);
61211
61211
  const onDefaultValChanged = useStableReference(_onDefaultValChanged);
61212
61212
  const onFieldSubmit = useStableReference(_onFieldSubmit);
61213
- console.log(`name:`, name2);
61214
- console.log(`value:`, value);
61215
- console.log(`initalValuePassed.current:`, initalValuePassed.current);
61216
61213
  const doesNotHaveInitialValue = !isLoadingDefaultValue && !initalValuePassed.current;
61217
61214
  reactExports.useEffect(() => {
61218
61215
  if (defaultValue2 !== void 0 && doesNotHaveInitialValue) {
@@ -61220,7 +61217,15 @@ ${latestSubscriptionCallbackError.current.stack}
61220
61217
  onDefaultValChanged.current && onDefaultValChanged.current(defaultValue2, name2, form2);
61221
61218
  onFieldSubmit.current && onFieldSubmit.current(defaultValue2);
61222
61219
  }
61223
- }, [defaultValue2, dispatch, form2, name2, onDefaultValChanged, onFieldSubmit, doesNotHaveInitialValue]);
61220
+ }, [
61221
+ defaultValue2,
61222
+ dispatch,
61223
+ form2,
61224
+ name2,
61225
+ onDefaultValChanged,
61226
+ onFieldSubmit,
61227
+ doesNotHaveInitialValue
61228
+ ]);
61224
61229
  const showError = (touched || showErrorIfUntouched) && error && !asyncValidating;
61225
61230
  const showWarning = (touched || showErrorIfUntouched) && warning2;
61226
61231
  let componentToWrap = isLabelTooltip || tooltipError ? /* @__PURE__ */ React$2.createElement(
@@ -150998,7 +151003,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150998
151003
  }
150999
151004
  __name(showFileDialog, "showFileDialog");
151000
151005
  const name = "@teselagen/ove";
151001
- const version = "0.7.8";
151006
+ const version = "0.7.9";
151002
151007
  const main = "./src/index.js";
151003
151008
  const type = "module";
151004
151009
  const exports$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@teselagen/sequence-utils": "0.3.27",
14
14
  "@teselagen/range-utils": "0.3.7",
15
- "@teselagen/ui": "0.7.12",
15
+ "@teselagen/ui": "0.7.14",
16
16
  "@teselagen/file-utils": "0.3.17",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.22",