@selfeesas/shared-components 1.19.0 → 1.19.1

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.
@@ -35289,15 +35289,15 @@ const $f = {
35289
35289
  });
35290
35290
  if (!(!K && ne === u.value)) {
35291
35291
  if (s.value) {
35292
- e.value = {
35292
+ k.loading.value && (e.value = {
35293
35293
  pagination: { ...N.value }
35294
- };
35294
+ });
35295
35295
  return;
35296
35296
  }
35297
35297
  o.value = setTimeout(async () => {
35298
35298
  s.value = !0, u.value = ne, m("loading-change", !0);
35299
35299
  try {
35300
- if (k.filterSelected && (k.filterSelected.value = { ...v.filterSelected }), k.filter && (k.filter.value = v.filter), await k.onRequest({
35300
+ k.filterSelected && (k.filterSelected.value = { ...v.filterSelected }), k.filter && (k.filter.value = v.filter), await k.onRequest({
35301
35301
  pagination: {
35302
35302
  page: N.value.page,
35303
35303
  rowsPerPage: N.value.rowsPerPage,
@@ -35305,14 +35305,14 @@ const $f = {
35305
35305
  descending: N.value.descending
35306
35306
  },
35307
35307
  force: !0
35308
- }), m("data-loaded", k.results.value), m("loading-change", !1), e.value) {
35309
- const se = { ...e.value };
35310
- e.value = null, se.pagination && (N.value = se.pagination);
35311
- }
35308
+ }), m("data-loaded", k.results.value), m("loading-change", !1);
35312
35309
  } catch (se) {
35313
35310
  console.error("Error loading data:", se), m("loading-change", !1);
35314
35311
  } finally {
35315
- s.value = !1, o.value = null;
35312
+ if (s.value = !1, o.value = null, e.value) {
35313
+ const se = { ...e.value };
35314
+ e.value = null, se.pagination && (N.value = se.pagination), A(!0);
35315
+ }
35316
35316
  }
35317
35317
  }, 50);
35318
35318
  }
@@ -35937,7 +35937,7 @@ const $f = {
35937
35937
  }, 8, ["pagination", "columns", "rows", "filter", "row-key", "rows-per-page-options", "loading", "hide-no-data"])
35938
35938
  ], 64));
35939
35939
  }
35940
- }), kp = /* @__PURE__ */ sr(mh, [["__scopeId", "data-v-2406ec21"]]), gh = {
35940
+ }), kp = /* @__PURE__ */ sr(mh, [["__scopeId", "data-v-f06ebf88"]]), gh = {
35941
35941
  sm: "18px",
35942
35942
  md: "22px",
35943
35943
  lg: "28px"