@teselagen/ove 0.7.3-beta.4 → 0.7.3-beta.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.
package/index.cjs.js CHANGED
@@ -69315,19 +69315,11 @@ const Loading = /* @__PURE__ */ __name(({
69315
69315
  inDialog,
69316
69316
  centeredInPage
69317
69317
  }) => {
69318
- const [longerThan200MS, setLongerThan200MS] = React$2.useState(false);
69319
- React$2.useEffect(() => {
69320
- const timeoutId = setTimeout(() => {
69321
- setLongerThan200MS(true);
69322
- }, 200);
69323
- return () => {
69324
- clearTimeout(timeoutId);
69325
- };
69326
- }, []);
69327
69318
  const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
69328
69319
  const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
69329
69320
  if (loading || !children) {
69330
- if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
69321
+ if (!displayInstantly && // !longerThan200MS &&
69322
+ (!bounce && !inDialog || withTimeout)) {
69331
69323
  return /* @__PURE__ */ React$2.createElement("div", null);
69332
69324
  }
69333
69325
  return /* @__PURE__ */ React$2.createElement(
@@ -123158,7 +123150,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123158
123150
  }
123159
123151
  __name(showFileDialog, "showFileDialog");
123160
123152
  const name = "@teselagen/ove";
123161
- const version = "0.7.3-beta.3";
123153
+ const version = "0.7.3-beta.4";
123162
123154
  const main = "./src/index.js";
123163
123155
  const type = "module";
123164
123156
  const exports$1 = {
package/index.es.js CHANGED
@@ -69297,19 +69297,11 @@ const Loading = /* @__PURE__ */ __name(({
69297
69297
  inDialog,
69298
69298
  centeredInPage
69299
69299
  }) => {
69300
- const [longerThan200MS, setLongerThan200MS] = useState(false);
69301
- useEffect(() => {
69302
- const timeoutId = setTimeout(() => {
69303
- setLongerThan200MS(true);
69304
- }, 200);
69305
- return () => {
69306
- clearTimeout(timeoutId);
69307
- };
69308
- }, []);
69309
69300
  const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
69310
69301
  const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
69311
69302
  if (loading || !children) {
69312
- if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
69303
+ if (!displayInstantly && // !longerThan200MS &&
69304
+ (!bounce && !inDialog || withTimeout)) {
69313
69305
  return /* @__PURE__ */ React__default$1.createElement("div", null);
69314
69306
  }
69315
69307
  return /* @__PURE__ */ React__default$1.createElement(
@@ -123140,7 +123132,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123140
123132
  }
123141
123133
  __name(showFileDialog, "showFileDialog");
123142
123134
  const name = "@teselagen/ove";
123143
- const version = "0.7.3-beta.3";
123135
+ const version = "0.7.3-beta.4";
123144
123136
  const main = "./src/index.js";
123145
123137
  const type = "module";
123146
123138
  const exports$1 = {
package/index.umd.js CHANGED
@@ -9860,16 +9860,25 @@ var __async = (__this, __arguments, generator) => {
9860
9860
  return value;
9861
9861
  }, "GetIntrinsic");
9862
9862
  var callBind$3 = { exports: {} };
9863
- var GetIntrinsic$4 = getIntrinsic;
9864
- var $defineProperty$2 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
9865
- if ($defineProperty$2) {
9866
- try {
9867
- $defineProperty$2({}, "a", { value: 1 });
9868
- } catch (e2) {
9869
- $defineProperty$2 = false;
9863
+ var esDefineProperty;
9864
+ var hasRequiredEsDefineProperty;
9865
+ function requireEsDefineProperty() {
9866
+ if (hasRequiredEsDefineProperty)
9867
+ return esDefineProperty;
9868
+ hasRequiredEsDefineProperty = 1;
9869
+ var GetIntrinsic2 = getIntrinsic;
9870
+ var $defineProperty2 = GetIntrinsic2("%Object.defineProperty%", true) || false;
9871
+ if ($defineProperty2) {
9872
+ try {
9873
+ $defineProperty2({}, "a", { value: 1 });
9874
+ } catch (e2) {
9875
+ $defineProperty2 = false;
9876
+ }
9870
9877
  }
9878
+ esDefineProperty = $defineProperty2;
9879
+ return esDefineProperty;
9871
9880
  }
9872
- var esDefineProperty = $defineProperty$2;
9881
+ __name(requireEsDefineProperty, "requireEsDefineProperty");
9873
9882
  var GetIntrinsic$3 = getIntrinsic;
9874
9883
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
9875
9884
  if ($gOPD$1) {
@@ -9880,7 +9889,7 @@ var __async = (__this, __arguments, generator) => {
9880
9889
  }
9881
9890
  }
9882
9891
  var gopd$1 = $gOPD$1;
9883
- var $defineProperty$1 = esDefineProperty;
9892
+ var $defineProperty$1 = requireEsDefineProperty();
9884
9893
  var $SyntaxError = syntax;
9885
9894
  var $TypeError$4 = type$1;
9886
9895
  var gopd = gopd$1;
@@ -9921,7 +9930,7 @@ var __async = (__this, __arguments, generator) => {
9921
9930
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
9922
9931
  }
9923
9932
  }, "defineDataProperty");
9924
- var $defineProperty = esDefineProperty;
9933
+ var $defineProperty = requireEsDefineProperty();
9925
9934
  var hasPropertyDescriptors = /* @__PURE__ */ __name(function hasPropertyDescriptors2() {
9926
9935
  return !!$defineProperty;
9927
9936
  }, "hasPropertyDescriptors");
@@ -9990,7 +9999,7 @@ var __async = (__this, __arguments, generator) => {
9990
9999
  var $apply = GetIntrinsic2("%Function.prototype.apply%");
9991
10000
  var $call = GetIntrinsic2("%Function.prototype.call%");
9992
10001
  var $reflectApply = GetIntrinsic2("%Reflect.apply%", true) || bind2.call($call, $apply);
9993
- var $defineProperty2 = esDefineProperty;
10002
+ var $defineProperty2 = requireEsDefineProperty();
9994
10003
  var $max = GetIntrinsic2("%Math.max%");
9995
10004
  module2.exports = /* @__PURE__ */ __name(function callBind2(originalFunction) {
9996
10005
  if (typeof originalFunction !== "function") {
@@ -98595,19 +98604,11 @@ ${latestSubscriptionCallbackError.current.stack}
98595
98604
  inDialog,
98596
98605
  centeredInPage
98597
98606
  }) => {
98598
- const [longerThan200MS, setLongerThan200MS] = reactExports.useState(false);
98599
- reactExports.useEffect(() => {
98600
- const timeoutId = setTimeout(() => {
98601
- setLongerThan200MS(true);
98602
- }, 200);
98603
- return () => {
98604
- clearTimeout(timeoutId);
98605
- };
98606
- }, []);
98607
98607
  const style2 = __spreadValues(__spreadValues({}, userStyle), inDialog && { minHeight: 120 });
98608
98608
  const LoaderComp = bounce || inDialog ? BounceLoader : DNALoader;
98609
98609
  if (loading || !children) {
98610
- if (!displayInstantly && !longerThan200MS && (!bounce && !inDialog || withTimeout)) {
98610
+ if (!displayInstantly && // !longerThan200MS &&
98611
+ (!bounce && !inDialog || withTimeout)) {
98611
98612
  return /* @__PURE__ */ React$2.createElement("div", null);
98612
98613
  }
98613
98614
  return /* @__PURE__ */ React$2.createElement(
@@ -151729,7 +151730,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
151729
151730
  }
151730
151731
  __name(showFileDialog, "showFileDialog");
151731
151732
  const name = "@teselagen/ove";
151732
- const version = "0.7.3-beta.3";
151733
+ const version = "0.7.3-beta.4";
151733
151734
  const main = "./src/index.js";
151734
151735
  const type = "module";
151735
151736
  const exports$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.3-beta.4",
3
+ "version": "0.7.3-beta.5",
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.3-beta.4",
15
+ "@teselagen/ui": "0.7.3-beta.5",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.22",