@addsign/moje-agenda-shared-lib 2.0.29 → 2.0.31
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/assets/style.css +10 -0
- package/dist/components/datatable/DataTableServer.js +4 -5
- package/dist/components/datatable/DataTableServer.js.map +1 -1
- package/dist/utils/handleErrors.js +5 -3
- package/dist/utils/handleErrors.js.map +1 -1
- package/lib/components/datatable/DataTableServer.tsx +6 -6
- package/lib/utils/handleErrors.ts +4 -3
- package/package.json +1 -1
package/dist/assets/style.css
CHANGED
|
@@ -796,6 +796,9 @@ video {
|
|
|
796
796
|
.mt-2\.5 {
|
|
797
797
|
margin-top: 0.625rem;
|
|
798
798
|
}
|
|
799
|
+
.mt-5 {
|
|
800
|
+
margin-top: 1.25rem;
|
|
801
|
+
}
|
|
799
802
|
.mt-\[1px\] {
|
|
800
803
|
margin-top: 1px;
|
|
801
804
|
}
|
|
@@ -1799,6 +1802,9 @@ video {
|
|
|
1799
1802
|
--tw-bg-opacity: 1;
|
|
1800
1803
|
background-color: rgb(139 92 246 / var(--tw-bg-opacity));
|
|
1801
1804
|
}
|
|
1805
|
+
.bg-warning {
|
|
1806
|
+
background-color: var(--color-warning);
|
|
1807
|
+
}
|
|
1802
1808
|
.bg-white {
|
|
1803
1809
|
--tw-bg-opacity: 1;
|
|
1804
1810
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -4262,6 +4268,10 @@ video {
|
|
|
4262
4268
|
|
|
4263
4269
|
@media (min-width: 768px) {
|
|
4264
4270
|
|
|
4271
|
+
.md\:mt-0 {
|
|
4272
|
+
margin-top: 0px;
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4265
4275
|
.md\:block {
|
|
4266
4276
|
display: block;
|
|
4267
4277
|
}
|
|
@@ -22344,7 +22344,7 @@ function DataTableServer({
|
|
|
22344
22344
|
isLoading && /* @__PURE__ */ jsx("tbody", { className: "relative", children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 100, children: /* @__PURE__ */ jsx("div", { className: "w-full flex items-center justify-center h-[500px] py-2", children: /* @__PURE__ */ jsx(Spinner, {}) }) }) }) }),
|
|
22345
22345
|
!isLoading && (!data || ((_b = data == null ? void 0 : data.content) == null ? void 0 : _b.length) === 0) && /* @__PURE__ */ jsx("tbody", { className: "relative h-[440px]", children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 100, children: /* @__PURE__ */ jsx("div", { className: "w-full flex items-center justify-center h-full py-2 text-gray-600 font-medium text-xs ", children: "Žádná data" }) }) }) })
|
|
22346
22346
|
] }, tableKey) }),
|
|
22347
|
-
/* @__PURE__ */ jsxs("div", { className: "w-full p-5 flex gap-5 justify-between", children: [
|
|
22347
|
+
/* @__PURE__ */ jsxs("div", { className: "w-full p-5 flex gap-5 justify-between md:flex-row flex-col", children: [
|
|
22348
22348
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-5 text-sm ", children: [
|
|
22349
22349
|
data && /* @__PURE__ */ jsxs(
|
|
22350
22350
|
Button,
|
|
@@ -22371,11 +22371,10 @@ function DataTableServer({
|
|
|
22371
22371
|
/* @__PURE__ */ jsx(MdArrowForward, { className: "ml-2", size: 20 })
|
|
22372
22372
|
]
|
|
22373
22373
|
}
|
|
22374
|
-
)
|
|
22375
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-end text-gray-800", children: paginationDisplay })
|
|
22374
|
+
)
|
|
22376
22375
|
] }),
|
|
22377
|
-
" ",
|
|
22378
|
-
/* @__PURE__ */ jsxs("div", { className: "content-center w-auto items-center justify-end flex-row gap-5 flex", children: [
|
|
22376
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center text-gray-800", children: paginationDisplay }),
|
|
22377
|
+
/* @__PURE__ */ jsxs("div", { className: "content-center w-auto items-center justify-end flex-row gap-5 flex md:mt-0 mt-5", children: [
|
|
22379
22378
|
/* @__PURE__ */ jsx("span", { className: " whitespace-nowrap flex-grow", children: "Počet řádků na stránku:" }),
|
|
22380
22379
|
/* @__PURE__ */ jsx(
|
|
22381
22380
|
SelectField,
|