hcui-package 1.8.6 → 1.8.8

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.
@@ -33239,9 +33239,9 @@ const zU = {
33239
33239
  }), u();
33240
33240
  }
33241
33241
  async function k() {
33242
- l.value = !0, await o.resetApi().finally(() => {
33242
+ o.resetApi ? (l.value = !0, await o.resetApi().finally(() => {
33243
33243
  l.value = !1;
33244
- }), o.getColumnsApi && P();
33244
+ }), o.getColumnsApi && P()) : u();
33245
33245
  }
33246
33246
  const P = async () => {
33247
33247
  l.value = !0;
@@ -77607,14 +77607,16 @@ const hJ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77607
77607
  w === "column-resizable-change" ? v(D[0]) : r(w, ...D);
77608
77608
  };
77609
77609
  }), S;
77610
- }), l = re(!0), s = hi(o.columns), c = re(x()), f = re(null), d = re(null), u = re(null), p = F(() => o.pagination && d.value ? `calc(100% - ${d.value.offsetHeight + 10}px)` : "100%"), g = F(() => {
77610
+ }), l = re(!0);
77611
+ let s = hi(o.columns);
77612
+ const c = re(x()), f = re(null), d = re(null), u = re(null), p = F(() => o.pagination && d.value ? `calc(100% - ${d.value.offsetHeight + 10}px)` : "100%"), g = F(() => {
77611
77613
  let S = o.loading;
77612
77614
  return u.value && (S = o.loading || u.value.remoteLoading), S;
77613
77615
  }), m = () => {
77614
77616
  u.value.open(s);
77615
77617
  };
77616
77618
  async function b(S) {
77617
- c.value = x(S), l.value = !1, await Re(), l.value = !0;
77619
+ s = S, c.value = x(S), l.value = !1, await Re(), l.value = !0;
77618
77620
  }
77619
77621
  function x(S) {
77620
77622
  let w = S ? hi(S) : hi(o.columns) || [];