@addsign/moje-agenda-shared-lib 0.0.92 → 0.0.93

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.
@@ -21685,7 +21685,7 @@ function DataTableServer({
21685
21685
  id,
21686
21686
  url,
21687
21687
  columns,
21688
- itemsPerPage = 20,
21688
+ itemsPerPage = 10,
21689
21689
  title,
21690
21690
  subtitle,
21691
21691
  allowSearch = true,
@@ -21894,7 +21894,7 @@ function DataTableServer({
21894
21894
  setFulltextSearch((_a2 = e.target) == null ? void 0 : _a2.value);
21895
21895
  setCurrentPage(0);
21896
21896
  };
21897
- const paginationDisplay = `Strana ${(currentPage || 0) + 1} z ${data == null ? void 0 : data.totalPages}`;
21897
+ const paginationDisplay = `Strana ${(currentPage || 0) + 1} z ${data == null ? void 0 : data.totalPages} (${itemsPerPage} řádků na stranu)`;
21898
21898
  const filterHandler = (filterParam, value) => {
21899
21899
  setColumnFilters((prev) => ({ ...prev, [filterParam]: value }));
21900
21900
  setCurrentPage(0);
@@ -21973,7 +21973,7 @@ function DataTableServer({
21973
21973
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
21974
21974
  "div",
21975
21975
  {
21976
- className: "shadow-lg border border-gray-200 rounded-xl overflow-x-auto",
21976
+ className: "shadow-lg border border-gray-200 rounded-xl",
21977
21977
  style: { overflowY: "visible" },
21978
21978
  children: [
21979
21979
  (title || subtitle || allowSearch) && /* @__PURE__ */ jsxs("div", { className: "p-5 leading-9 flex", children: [
@@ -22045,7 +22045,7 @@ function DataTableServer({
22045
22045
  "th",
22046
22046
  {
22047
22047
  id: String(key) + "_filter",
22048
- className: `font-medium leading-9 text-xs text-left p-0 pb-5 text-gray-600 overflow-ellipsis whitespace-nowrap ${!title && !subtitle ? "border-t-0" : ""}`,
22048
+ className: `font-medium leading-9 text-xs text-left p-0 pb-1 text-gray-600 overflow-ellipsis whitespace-nowrap ${!title && !subtitle ? "border-t-0" : ""}`,
22049
22049
  style: { width },
22050
22050
  children: [
22051
22051
  filterType && filterType === "select" && /* @__PURE__ */ jsx(