g-ui-web 1.4.70 → 1.4.72

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.
Binary file
package/lib/g-ui-web.js CHANGED
@@ -44863,9 +44863,13 @@ const e3e = {
44863
44863
  done: function(e, t = 0) {
44864
44864
  De(() => {
44865
44865
  setTimeout(() => {
44866
- globalThis.gui.loading = zb, document.body.style.overflow = "";
44867
- const n = e ? document.querySelector(`${e} .loading-next`) : document.querySelector(".loading-next");
44868
- n && n.parentNode && n.parentNode.removeChild(n);
44866
+ if (globalThis.gui.loading = zb, !e || e == "body") {
44867
+ const r = Array.from(document.body.children).filter((o) => o.classList.contains("loading-next")), a = r[r.length - 1];
44868
+ a && a.parentNode && a.parentNode.removeChild(a), document.body.querySelector(":scope > .loading-next") === null && (document.body.style.overflow = "");
44869
+ return;
44870
+ }
44871
+ const n = document.querySelector(`${e} .loading-next`);
44872
+ n && n.parentNode && (n.parentNode.removeChild(n), document.body.style.overflow = "");
44869
44873
  }, t);
44870
44874
  });
44871
44875
  }
@@ -44988,7 +44992,7 @@ function $Tt({
44988
44992
  const l = new Blob([i.data], { type: "application/vnd.ms-excel" }), s = window.URL.createObjectURL(l), u = document.createElement("a");
44989
44993
  u.href = s, u.download = `${o}.xlsx`, u.click(), window.URL.revokeObjectURL(s);
44990
44994
  }).finally(() => {
44991
- zb.done("");
44995
+ zb.done("body");
44992
44996
  });
44993
44997
  }
44994
44998
  const mf = (e) => {
@@ -92176,7 +92180,7 @@ const ntt = (e, t) => {
92176
92180
  formatter: function(t) {
92177
92181
  var o;
92178
92182
  for (var n = t[0].name, r = 0, a = t.length; r < a; r++)
92179
- n += `<br/><span style="display:inline-block;margin-right:4px;border-radius:2px;width:10px;height:10px;background-color:${t[r].color};"></span>` + t[r].seriesName + " : " + vtt(t[r].value) + " " + gtt((o = e[r]) == null ? void 0 : o.unit);
92183
+ n += `<br/><span style="display:inline-block;margin-right:4px;border-radius:50%;width:10px;height:10px;border:2px solid ${t[r].color};"></span>` + t[r].seriesName + " : " + vtt(t[r].value) + " " + gtt((o = e[r]) == null ? void 0 : o.unit);
92180
92184
  return n;
92181
92185
  }
92182
92186
  },
Binary file