@hpcc-js/other 3.6.3 → 3.6.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/dist/index.js CHANGED
@@ -20,7 +20,7 @@ var x = Object.create, S = Object.defineProperty, __name = (e, t) => S(e, "name"
20
20
  }, __toESM = (e, t, n) => (n = e == null ? {} : x(T(e)), __copyProps(t || !e || !e.__esModule ? S(n, "default", {
21
21
  value: e,
22
22
  enumerable: !0
23
- }) : n, e)), D = "@hpcc-js/other", O = "3.6.3", k = "3.27.1", A = 0, j = 0, M = 0, N = 1e3, P, F, I = 0, L = 0, R = 0, z = typeof performance == "object" && performance.now ? performance : Date, B = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
23
+ }) : n, e)), D = "@hpcc-js/other", O = "3.6.5", k = "3.29.0", A = 0, j = 0, M = 0, N = 1e3, P, F, I = 0, L = 0, R = 0, z = typeof performance == "object" && performance.now ? performance : Date, B = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
24
24
  setTimeout(e, 17);
25
25
  };
26
26
  function now() {
@@ -190,15 +190,11 @@ var ee = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e, t) => {
190
190
  }
191
191
  }, a.sc), a.blurHandler = function() {
192
192
  try {
193
- var e = document.querySelector(".autocomplete-suggestions:hover");
194
- } catch {
195
- var e = 0;
196
- }
197
- e ? a !== document.activeElement && setTimeout(function() {
198
- a.focus();
199
- }, 20) : (a.last_val = a.value, a.sc.style.display = "none", a.sc.classList.add("hide"), setTimeout(function() {
193
+ document.querySelector(".autocomplete-suggestions:hover");
194
+ } catch {}
195
+ a.last_val = a.value, a.sc.style.display = "none", a.sc.classList.add("hide"), setTimeout(function() {
200
196
  a.sc.style.display = "none", a.sc.classList.add("hide");
201
- }, 350));
197
+ }, 350);
202
198
  }, addEvent(a, "blur", a.blurHandler);
203
199
  var suggest = function(e, n) {
204
200
  if (!n) var n = a.value;
@@ -1977,7 +1973,7 @@ var Table = class extends n {
1977
1973
  this.applyStyleToRows(e, !0);
1978
1974
  }
1979
1975
  applyStyleToRows(e, t = !1) {
1980
- t = t === void 0 ? !1 : t;
1976
+ t = t !== void 0 && t;
1981
1977
  let n = this;
1982
1978
  e.each(function() {
1983
1979
  let e = h(this);
@@ -2874,7 +2870,7 @@ var $ = class PropertyEditor extends n {
2874
2870
  renderInputs(e, t) {
2875
2871
  let n = this, r = [], i = !this.show_settings() && this.showFields();
2876
2872
  t && (r = this.filterInputs(t).filter(function(e) {
2877
- return e.id === "fields" ? i : !0;
2873
+ return e.id !== "fields" || i;
2878
2874
  }), !this.show_settings() && this.showData() && t.data && r.push({
2879
2875
  id: "data",
2880
2876
  type: "array"