@starasia/admin 14.36.2 → 14.37.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.
package/dist/index.es.js CHANGED
@@ -4535,7 +4535,7 @@ const Nl = ({
4535
4535
  [r]: "1"
4536
4536
  // reset to first page when page size changes
4537
4537
  });
4538
- }, C = (t == null ? void 0 : t.rangeStart) ?? (((t == null ? void 0 : t.currentPage) || 0) > 1 ? (((t == null ? void 0 : t.currentPage) || 0) - 1) * ((t == null ? void 0 : t.perPage) || 0) + 1 : 0), I = (t == null ? void 0 : t.rangeEnd) ?? ((t == null ? void 0 : t.totalCurrentPage) !== (t == null ? void 0 : t.perPage) ? t == null ? void 0 : t.totalData : ((t == null ? void 0 : t.currentPage) || 1) * ((t == null ? void 0 : t.totalCurrentPage) || 0));
4538
+ }, C = (t == null ? void 0 : t.rangeStart) ?? (((t == null ? void 0 : t.currentPage) || 0) > 1 ? (((t == null ? void 0 : t.currentPage) || 0) - 1) * ((t == null ? void 0 : t.perPage) || 0) + 1 : 1), I = (t == null ? void 0 : t.rangeEnd) ?? ((t == null ? void 0 : t.totalCurrentPage) !== (t == null ? void 0 : t.perPage) ? t == null ? void 0 : t.totalData : ((t == null ? void 0 : t.currentPage) || 1) * ((t == null ? void 0 : t.totalCurrentPage) || 0));
4539
4539
  return /* @__PURE__ */ u(ne, { children: [
4540
4540
  l && /* @__PURE__ */ e(w, { fontSize: "sm", fontWeight: "medium", color: "primary", truncate: !0, children: `${C}-${I} of ${((A = t == null ? void 0 : t.totalData) == null ? void 0 : A.toLocaleString()) || 0}` }),
4541
4541
  c && /* @__PURE__ */ u(Ze, { position: "bottom-left", children: [
@@ -9807,7 +9807,7 @@ const ai = {
9807
9807
  Custom: gs
9808
9808
  }, ps = ({ customBottom: t }) => {
9809
9809
  const [r, n] = B(!1), o = () => {
9810
- window.scrollY > window.screenY ? n(!0) : n(!1);
9810
+ window.scrollY > window.innerHeight ? n(!0) : n(!1);
9811
9811
  }, i = () => {
9812
9812
  window.scrollTo({ top: 0, behavior: "smooth" });
9813
9813
  };